Imported Upstream version 1.35.9
[platform/upstream/gobject-introspection.git] / configure
1 #! /bin/sh
2 # Guess values for system-dependent variables and create Makefiles.
3 # Generated by GNU Autoconf 2.69 for gobject-introspection 1.35.9.
4 #
5 # Report bugs to <http://bugzilla.gnome.org/enter_bug.cgi?product=glib&component=introspection>.
6 #
7 #
8 # Copyright (C) 1992-1996, 1998-2012 Free Software Foundation, Inc.
9 #
10 #
11 # This configure script is free software; the Free Software Foundation
12 # gives unlimited permission to copy, distribute and modify it.
13 ## -------------------- ##
14 ## M4sh Initialization. ##
15 ## -------------------- ##
16
17 # Be more Bourne compatible
18 DUALCASE=1; export DUALCASE # for MKS sh
19 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :
20   emulate sh
21   NULLCMD=:
22   # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
23   # is contrary to our usage.  Disable this feature.
24   alias -g '${1+"$@"}'='"$@"'
25   setopt NO_GLOB_SUBST
26 else
27   case `(set -o) 2>/dev/null` in #(
28   *posix*) :
29     set -o posix ;; #(
30   *) :
31      ;;
32 esac
33 fi
34
35
36 as_nl='
37 '
38 export as_nl
39 # Printing a long string crashes Solaris 7 /usr/bin/printf.
40 as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
41 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
42 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
43 # Prefer a ksh shell builtin over an external printf program on Solaris,
44 # but without wasting forks for bash or zsh.
45 if test -z "$BASH_VERSION$ZSH_VERSION" \
46     && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
47   as_echo='print -r --'
48   as_echo_n='print -rn --'
49 elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
50   as_echo='printf %s\n'
51   as_echo_n='printf %s'
52 else
53   if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
54     as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
55     as_echo_n='/usr/ucb/echo -n'
56   else
57     as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
58     as_echo_n_body='eval
59       arg=$1;
60       case $arg in #(
61       *"$as_nl"*)
62         expr "X$arg" : "X\\(.*\\)$as_nl";
63         arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
64       esac;
65       expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
66     '
67     export as_echo_n_body
68     as_echo_n='sh -c $as_echo_n_body as_echo'
69   fi
70   export as_echo_body
71   as_echo='sh -c $as_echo_body as_echo'
72 fi
73
74 # The user is always right.
75 if test "${PATH_SEPARATOR+set}" != set; then
76   PATH_SEPARATOR=:
77   (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
78     (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
79       PATH_SEPARATOR=';'
80   }
81 fi
82
83
84 # IFS
85 # We need space, tab and new line, in precisely that order.  Quoting is
86 # there to prevent editors from complaining about space-tab.
87 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
88 # splitting by setting IFS to empty value.)
89 IFS=" ""        $as_nl"
90
91 # Find who we are.  Look in the path if we contain no directory separator.
92 as_myself=
93 case $0 in #((
94   *[\\/]* ) as_myself=$0 ;;
95   *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
96 for as_dir in $PATH
97 do
98   IFS=$as_save_IFS
99   test -z "$as_dir" && as_dir=.
100     test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
101   done
102 IFS=$as_save_IFS
103
104      ;;
105 esac
106 # We did not find ourselves, most probably we were run as `sh COMMAND'
107 # in which case we are not to be found in the path.
108 if test "x$as_myself" = x; then
109   as_myself=$0
110 fi
111 if test ! -f "$as_myself"; then
112   $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
113   exit 1
114 fi
115
116 # Unset variables that we do not need and which cause bugs (e.g. in
117 # pre-3.0 UWIN ksh).  But do not cause bugs in bash 2.01; the "|| exit 1"
118 # suppresses any "Segmentation fault" message there.  '((' could
119 # trigger a bug in pdksh 5.2.14.
120 for as_var in BASH_ENV ENV MAIL MAILPATH
121 do eval test x\${$as_var+set} = xset \
122   && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
123 done
124 PS1='$ '
125 PS2='> '
126 PS4='+ '
127
128 # NLS nuisances.
129 LC_ALL=C
130 export LC_ALL
131 LANGUAGE=C
132 export LANGUAGE
133
134 # CDPATH.
135 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
136
137 # Use a proper internal environment variable to ensure we don't fall
138   # into an infinite loop, continuously re-executing ourselves.
139   if test x"${_as_can_reexec}" != xno && test "x$CONFIG_SHELL" != x; then
140     _as_can_reexec=no; export _as_can_reexec;
141     # We cannot yet assume a decent shell, so we have to provide a
142 # neutralization value for shells without unset; and this also
143 # works around shells that cannot unset nonexistent variables.
144 # Preserve -v and -x to the replacement shell.
145 BASH_ENV=/dev/null
146 ENV=/dev/null
147 (unset BASH_ENV) >/dev/null 2>&1 && unset BASH_ENV ENV
148 case $- in # ((((
149   *v*x* | *x*v* ) as_opts=-vx ;;
150   *v* ) as_opts=-v ;;
151   *x* ) as_opts=-x ;;
152   * ) as_opts= ;;
153 esac
154 exec $CONFIG_SHELL $as_opts "$as_myself" ${1+"$@"}
155 # Admittedly, this is quite paranoid, since all the known shells bail
156 # out after a failed `exec'.
157 $as_echo "$0: could not re-execute with $CONFIG_SHELL" >&2
158 as_fn_exit 255
159   fi
160   # We don't want this to propagate to other subprocesses.
161           { _as_can_reexec=; unset _as_can_reexec;}
162 if test "x$CONFIG_SHELL" = x; then
163   as_bourne_compatible="if test -n \"\${ZSH_VERSION+set}\" && (emulate sh) >/dev/null 2>&1; then :
164   emulate sh
165   NULLCMD=:
166   # Pre-4.2 versions of Zsh do word splitting on \${1+\"\$@\"}, which
167   # is contrary to our usage.  Disable this feature.
168   alias -g '\${1+\"\$@\"}'='\"\$@\"'
169   setopt NO_GLOB_SUBST
170 else
171   case \`(set -o) 2>/dev/null\` in #(
172   *posix*) :
173     set -o posix ;; #(
174   *) :
175      ;;
176 esac
177 fi
178 "
179   as_required="as_fn_return () { (exit \$1); }
180 as_fn_success () { as_fn_return 0; }
181 as_fn_failure () { as_fn_return 1; }
182 as_fn_ret_success () { return 0; }
183 as_fn_ret_failure () { return 1; }
184
185 exitcode=0
186 as_fn_success || { exitcode=1; echo as_fn_success failed.; }
187 as_fn_failure && { exitcode=1; echo as_fn_failure succeeded.; }
188 as_fn_ret_success || { exitcode=1; echo as_fn_ret_success failed.; }
189 as_fn_ret_failure && { exitcode=1; echo as_fn_ret_failure succeeded.; }
190 if ( set x; as_fn_ret_success y && test x = \"\$1\" ); then :
191
192 else
193   exitcode=1; echo positional parameters were not saved.
194 fi
195 test x\$exitcode = x0 || exit 1
196 test -x / || exit 1"
197   as_suggested="  as_lineno_1=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_1a=\$LINENO
198   as_lineno_2=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_2a=\$LINENO
199   eval 'test \"x\$as_lineno_1'\$as_run'\" != \"x\$as_lineno_2'\$as_run'\" &&
200   test \"x\`expr \$as_lineno_1'\$as_run' + 1\`\" = \"x\$as_lineno_2'\$as_run'\"' || exit 1
201
202   test -n \"\${ZSH_VERSION+set}\${BASH_VERSION+set}\" || (
203     ECHO='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
204     ECHO=\$ECHO\$ECHO\$ECHO\$ECHO\$ECHO
205     ECHO=\$ECHO\$ECHO\$ECHO\$ECHO\$ECHO\$ECHO
206     PATH=/empty FPATH=/empty; export PATH FPATH
207     test \"X\`printf %s \$ECHO\`\" = \"X\$ECHO\" \\
208       || test \"X\`print -r -- \$ECHO\`\" = \"X\$ECHO\" ) || exit 1
209 test \$(( 1 + 1 )) = 2 || exit 1"
210   if (eval "$as_required") 2>/dev/null; then :
211   as_have_required=yes
212 else
213   as_have_required=no
214 fi
215   if test x$as_have_required = xyes && (eval "$as_suggested") 2>/dev/null; then :
216
217 else
218   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
219 as_found=false
220 for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
221 do
222   IFS=$as_save_IFS
223   test -z "$as_dir" && as_dir=.
224   as_found=:
225   case $as_dir in #(
226          /*)
227            for as_base in sh bash ksh sh5; do
228              # Try only shells that exist, to save several forks.
229              as_shell=$as_dir/$as_base
230              if { test -f "$as_shell" || test -f "$as_shell.exe"; } &&
231                     { $as_echo "$as_bourne_compatible""$as_required" | as_run=a "$as_shell"; } 2>/dev/null; then :
232   CONFIG_SHELL=$as_shell as_have_required=yes
233                    if { $as_echo "$as_bourne_compatible""$as_suggested" | as_run=a "$as_shell"; } 2>/dev/null; then :
234   break 2
235 fi
236 fi
237            done;;
238        esac
239   as_found=false
240 done
241 $as_found || { if { test -f "$SHELL" || test -f "$SHELL.exe"; } &&
242               { $as_echo "$as_bourne_compatible""$as_required" | as_run=a "$SHELL"; } 2>/dev/null; then :
243   CONFIG_SHELL=$SHELL as_have_required=yes
244 fi; }
245 IFS=$as_save_IFS
246
247
248       if test "x$CONFIG_SHELL" != x; then :
249   export CONFIG_SHELL
250              # We cannot yet assume a decent shell, so we have to provide a
251 # neutralization value for shells without unset; and this also
252 # works around shells that cannot unset nonexistent variables.
253 # Preserve -v and -x to the replacement shell.
254 BASH_ENV=/dev/null
255 ENV=/dev/null
256 (unset BASH_ENV) >/dev/null 2>&1 && unset BASH_ENV ENV
257 case $- in # ((((
258   *v*x* | *x*v* ) as_opts=-vx ;;
259   *v* ) as_opts=-v ;;
260   *x* ) as_opts=-x ;;
261   * ) as_opts= ;;
262 esac
263 exec $CONFIG_SHELL $as_opts "$as_myself" ${1+"$@"}
264 # Admittedly, this is quite paranoid, since all the known shells bail
265 # out after a failed `exec'.
266 $as_echo "$0: could not re-execute with $CONFIG_SHELL" >&2
267 exit 255
268 fi
269
270     if test x$as_have_required = xno; then :
271   $as_echo "$0: This script requires a shell more modern than all"
272   $as_echo "$0: the shells that I found on your system."
273   if test x${ZSH_VERSION+set} = xset ; then
274     $as_echo "$0: In particular, zsh $ZSH_VERSION has bugs and should"
275     $as_echo "$0: be upgraded to zsh 4.3.4 or later."
276   else
277     $as_echo "$0: Please tell bug-autoconf@gnu.org and
278 $0: http://bugzilla.gnome.org/enter_bug.cgi?product=glib&component=introspection
279 $0: about your system, including any error possibly output
280 $0: before this message. Then install a modern shell, or
281 $0: manually run the script under such a shell if you do
282 $0: have one."
283   fi
284   exit 1
285 fi
286 fi
287 fi
288 SHELL=${CONFIG_SHELL-/bin/sh}
289 export SHELL
290 # Unset more variables known to interfere with behavior of common tools.
291 CLICOLOR_FORCE= GREP_OPTIONS=
292 unset CLICOLOR_FORCE GREP_OPTIONS
293
294 ## --------------------- ##
295 ## M4sh Shell Functions. ##
296 ## --------------------- ##
297 # as_fn_unset VAR
298 # ---------------
299 # Portably unset VAR.
300 as_fn_unset ()
301 {
302   { eval $1=; unset $1;}
303 }
304 as_unset=as_fn_unset
305
306 # as_fn_set_status STATUS
307 # -----------------------
308 # Set $? to STATUS, without forking.
309 as_fn_set_status ()
310 {
311   return $1
312 } # as_fn_set_status
313
314 # as_fn_exit STATUS
315 # -----------------
316 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
317 as_fn_exit ()
318 {
319   set +e
320   as_fn_set_status $1
321   exit $1
322 } # as_fn_exit
323
324 # as_fn_mkdir_p
325 # -------------
326 # Create "$as_dir" as a directory, including parents if necessary.
327 as_fn_mkdir_p ()
328 {
329
330   case $as_dir in #(
331   -*) as_dir=./$as_dir;;
332   esac
333   test -d "$as_dir" || eval $as_mkdir_p || {
334     as_dirs=
335     while :; do
336       case $as_dir in #(
337       *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
338       *) as_qdir=$as_dir;;
339       esac
340       as_dirs="'$as_qdir' $as_dirs"
341       as_dir=`$as_dirname -- "$as_dir" ||
342 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
343          X"$as_dir" : 'X\(//\)[^/]' \| \
344          X"$as_dir" : 'X\(//\)$' \| \
345          X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
346 $as_echo X"$as_dir" |
347     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
348             s//\1/
349             q
350           }
351           /^X\(\/\/\)[^/].*/{
352             s//\1/
353             q
354           }
355           /^X\(\/\/\)$/{
356             s//\1/
357             q
358           }
359           /^X\(\/\).*/{
360             s//\1/
361             q
362           }
363           s/.*/./; q'`
364       test -d "$as_dir" && break
365     done
366     test -z "$as_dirs" || eval "mkdir $as_dirs"
367   } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir"
368
369
370 } # as_fn_mkdir_p
371
372 # as_fn_executable_p FILE
373 # -----------------------
374 # Test if FILE is an executable regular file.
375 as_fn_executable_p ()
376 {
377   test -f "$1" && test -x "$1"
378 } # as_fn_executable_p
379 # as_fn_append VAR VALUE
380 # ----------------------
381 # Append the text in VALUE to the end of the definition contained in VAR. Take
382 # advantage of any shell optimizations that allow amortized linear growth over
383 # repeated appends, instead of the typical quadratic growth present in naive
384 # implementations.
385 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
386   eval 'as_fn_append ()
387   {
388     eval $1+=\$2
389   }'
390 else
391   as_fn_append ()
392   {
393     eval $1=\$$1\$2
394   }
395 fi # as_fn_append
396
397 # as_fn_arith ARG...
398 # ------------------
399 # Perform arithmetic evaluation on the ARGs, and store the result in the
400 # global $as_val. Take advantage of shells that can avoid forks. The arguments
401 # must be portable across $(()) and expr.
402 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
403   eval 'as_fn_arith ()
404   {
405     as_val=$(( $* ))
406   }'
407 else
408   as_fn_arith ()
409   {
410     as_val=`expr "$@" || test $? -eq 1`
411   }
412 fi # as_fn_arith
413
414
415 # as_fn_error STATUS ERROR [LINENO LOG_FD]
416 # ----------------------------------------
417 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
418 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
419 # script with STATUS, using 1 if that was 0.
420 as_fn_error ()
421 {
422   as_status=$1; test $as_status -eq 0 && as_status=1
423   if test "$4"; then
424     as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
425     $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
426   fi
427   $as_echo "$as_me: error: $2" >&2
428   as_fn_exit $as_status
429 } # as_fn_error
430
431 if expr a : '\(a\)' >/dev/null 2>&1 &&
432    test "X`expr 00001 : '.*\(...\)'`" = X001; then
433   as_expr=expr
434 else
435   as_expr=false
436 fi
437
438 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
439   as_basename=basename
440 else
441   as_basename=false
442 fi
443
444 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
445   as_dirname=dirname
446 else
447   as_dirname=false
448 fi
449
450 as_me=`$as_basename -- "$0" ||
451 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
452          X"$0" : 'X\(//\)$' \| \
453          X"$0" : 'X\(/\)' \| . 2>/dev/null ||
454 $as_echo X/"$0" |
455     sed '/^.*\/\([^/][^/]*\)\/*$/{
456             s//\1/
457             q
458           }
459           /^X\/\(\/\/\)$/{
460             s//\1/
461             q
462           }
463           /^X\/\(\/\).*/{
464             s//\1/
465             q
466           }
467           s/.*/./; q'`
468
469 # Avoid depending upon Character Ranges.
470 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
471 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
472 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
473 as_cr_digits='0123456789'
474 as_cr_alnum=$as_cr_Letters$as_cr_digits
475
476
477   as_lineno_1=$LINENO as_lineno_1a=$LINENO
478   as_lineno_2=$LINENO as_lineno_2a=$LINENO
479   eval 'test "x$as_lineno_1'$as_run'" != "x$as_lineno_2'$as_run'" &&
480   test "x`expr $as_lineno_1'$as_run' + 1`" = "x$as_lineno_2'$as_run'"' || {
481   # Blame Lee E. McMahon (1931-1989) for sed's syntax.  :-)
482   sed -n '
483     p
484     /[$]LINENO/=
485   ' <$as_myself |
486     sed '
487       s/[$]LINENO.*/&-/
488       t lineno
489       b
490       :lineno
491       N
492       :loop
493       s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
494       t loop
495       s/-\n.*//
496     ' >$as_me.lineno &&
497   chmod +x "$as_me.lineno" ||
498     { $as_echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2; as_fn_exit 1; }
499
500   # If we had to re-execute with $CONFIG_SHELL, we're ensured to have
501   # already done that, so ensure we don't try to do so again and fall
502   # in an infinite loop.  This has already happened in practice.
503   _as_can_reexec=no; export _as_can_reexec
504   # Don't try to exec as it changes $[0], causing all sort of problems
505   # (the dirname of $[0] is not the place where we might find the
506   # original and so on.  Autoconf is especially sensitive to this).
507   . "./$as_me.lineno"
508   # Exit status is that of the last command.
509   exit
510 }
511
512 ECHO_C= ECHO_N= ECHO_T=
513 case `echo -n x` in #(((((
514 -n*)
515   case `echo 'xy\c'` in
516   *c*) ECHO_T=' ';;     # ECHO_T is single tab character.
517   xy)  ECHO_C='\c';;
518   *)   echo `echo ksh88 bug on AIX 6.1` > /dev/null
519        ECHO_T=' ';;
520   esac;;
521 *)
522   ECHO_N='-n';;
523 esac
524
525 rm -f conf$$ conf$$.exe conf$$.file
526 if test -d conf$$.dir; then
527   rm -f conf$$.dir/conf$$.file
528 else
529   rm -f conf$$.dir
530   mkdir conf$$.dir 2>/dev/null
531 fi
532 if (echo >conf$$.file) 2>/dev/null; then
533   if ln -s conf$$.file conf$$ 2>/dev/null; then
534     as_ln_s='ln -s'
535     # ... but there are two gotchas:
536     # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
537     # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
538     # In both cases, we have to default to `cp -pR'.
539     ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
540       as_ln_s='cp -pR'
541   elif ln conf$$.file conf$$ 2>/dev/null; then
542     as_ln_s=ln
543   else
544     as_ln_s='cp -pR'
545   fi
546 else
547   as_ln_s='cp -pR'
548 fi
549 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
550 rmdir conf$$.dir 2>/dev/null
551
552 if mkdir -p . 2>/dev/null; then
553   as_mkdir_p='mkdir -p "$as_dir"'
554 else
555   test -d ./-p && rmdir ./-p
556   as_mkdir_p=false
557 fi
558
559 as_test_x='test -x'
560 as_executable_p=as_fn_executable_p
561
562 # Sed expression to map a string onto a valid CPP name.
563 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
564
565 # Sed expression to map a string onto a valid variable name.
566 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
567
568 SHELL=${CONFIG_SHELL-/bin/sh}
569
570
571 test -n "$DJDIR" || exec 7<&0 </dev/null
572 exec 6>&1
573
574 # Name of the host.
575 # hostname on some systems (SVR3.2, old GNU/Linux) returns a bogus exit status,
576 # so uname gets run too.
577 ac_hostname=`(hostname || uname -n) 2>/dev/null | sed 1q`
578
579 #
580 # Initializations.
581 #
582 ac_default_prefix=/usr/local
583 ac_clean_files=
584 ac_config_libobj_dir=.
585 LIBOBJS=
586 cross_compiling=no
587 subdirs=
588 MFLAGS=
589 MAKEFLAGS=
590
591 # Identity of this package.
592 PACKAGE_NAME='gobject-introspection'
593 PACKAGE_TARNAME='gobject-introspection'
594 PACKAGE_VERSION='1.35.9'
595 PACKAGE_STRING='gobject-introspection 1.35.9'
596 PACKAGE_BUGREPORT='http://bugzilla.gnome.org/enter_bug.cgi?product=glib&component=introspection'
597 PACKAGE_URL=''
598
599 # Factoring default headers for most tests.
600 ac_includes_default="\
601 #include <stdio.h>
602 #ifdef HAVE_SYS_TYPES_H
603 # include <sys/types.h>
604 #endif
605 #ifdef HAVE_SYS_STAT_H
606 # include <sys/stat.h>
607 #endif
608 #ifdef STDC_HEADERS
609 # include <stdlib.h>
610 # include <stddef.h>
611 #else
612 # ifdef HAVE_STDLIB_H
613 #  include <stdlib.h>
614 # endif
615 #endif
616 #ifdef HAVE_STRING_H
617 # if !defined STDC_HEADERS && defined HAVE_MEMORY_H
618 #  include <memory.h>
619 # endif
620 # include <string.h>
621 #endif
622 #ifdef HAVE_STRINGS_H
623 # include <strings.h>
624 #endif
625 #ifdef HAVE_INTTYPES_H
626 # include <inttypes.h>
627 #endif
628 #ifdef HAVE_STDINT_H
629 # include <stdint.h>
630 #endif
631 #ifdef HAVE_UNISTD_H
632 # include <unistd.h>
633 #endif"
634
635 ac_subst_vars='am__EXEEXT_FALSE
636 am__EXEEXT_TRUE
637 LTLIBOBJS
638 EXTRA_LINK_FLAGS
639 GLIBSRC
640 WITH_GLIBSRC_FALSE
641 WITH_GLIBSRC_TRUE
642 BUILD_DOCTOOL_FALSE
643 BUILD_DOCTOOL_TRUE
644 PYTHON_LIBS
645 PYTHON_INCLUDES
646 pkgpyexecdir
647 pyexecdir
648 pkgpythondir
649 pythondir
650 PYTHON_PLATFORM
651 PYTHON_EXEC_PREFIX
652 PYTHON_PREFIX
653 PYTHON_VERSION
654 PYTHON
655 LIBOBJS
656 POW_LIB
657 GTK_DOC_USE_REBASE_FALSE
658 GTK_DOC_USE_REBASE_TRUE
659 GTK_DOC_USE_LIBTOOL_FALSE
660 GTK_DOC_USE_LIBTOOL_TRUE
661 GTK_DOC_BUILD_PDF_FALSE
662 GTK_DOC_BUILD_PDF_TRUE
663 GTK_DOC_BUILD_HTML_FALSE
664 GTK_DOC_BUILD_HTML_TRUE
665 ENABLE_GTK_DOC_FALSE
666 ENABLE_GTK_DOC_TRUE
667 GTKDOC_DEPS_LIBS
668 GTKDOC_DEPS_CFLAGS
669 HTML_DIR
670 GTKDOC_MKPDF
671 GTKDOC_REBASE
672 GTKDOC_CHECK
673 GIREPO_LIBS
674 GIREPO_CFLAGS
675 FFI_PC_PACKAGES
676 FFI_PC_LIBS
677 FFI_PC_CFLAGS
678 FFI_LIBS
679 FFI_CFLAGS
680 SCANNER_LIBS
681 SCANNER_CFLAGS
682 CAIRO_GIR_PACKAGE
683 CAIRO_SHARED_LIBRARY
684 HAVE_CAIRO_FALSE
685 HAVE_CAIRO_TRUE
686 CAIRO_LIBS
687 CAIRO_CFLAGS
688 HAVE_GIO_UNIX_FALSE
689 HAVE_GIO_UNIX_TRUE
690 GIO_UNIX_LIBS
691 GIO_UNIX_CFLAGS
692 GIO_LIBS
693 GIO_CFLAGS
694 GMODULE_LIBS
695 GMODULE_CFLAGS
696 GOBJECT_LIBS
697 GOBJECT_CFLAGS
698 GLIB_LIBS
699 GLIB_CFLAGS
700 GIR_DIR
701 GIR_SUFFIX
702 GOBJECT_INTROSPECTION_LIBDIR
703 EXPANDED_DATADIR
704 EXPANDED_LIBEXECDIR
705 EXPANDED_LIBDIR
706 EXPANDED_BINDIR
707 EXPANDED_SYSCONFDIR
708 EXPANDED_LOCALSTATEDIR
709 YACC
710 LEXLIB
711 LEX_OUTPUT_ROOT
712 LEX
713 PKG_CONFIG_LIBDIR
714 PKG_CONFIG_PATH
715 PKG_CONFIG
716 CPP
717 OTOOL64
718 OTOOL
719 LIPO
720 NMEDIT
721 DSYMUTIL
722 MANIFEST_TOOL
723 RANLIB
724 ac_ct_AR
725 AR
726 DLLTOOL
727 OBJDUMP
728 LN_S
729 NM
730 ac_ct_DUMPBIN
731 DUMPBIN
732 LD
733 FGREP
734 EGREP
735 GREP
736 SED
737 LIBTOOL
738 am__fastdepCC_FALSE
739 am__fastdepCC_TRUE
740 CCDEPMODE
741 am__nodep
742 AMDEPBACKSLASH
743 AMDEP_FALSE
744 AMDEP_TRUE
745 am__quote
746 am__include
747 DEPDIR
748 OBJEXT
749 EXEEXT
750 ac_ct_CC
751 CPPFLAGS
752 LDFLAGS
753 CFLAGS
754 CC
755 OS_WIN32_FALSE
756 OS_WIN32_TRUE
757 host_os
758 host_vendor
759 host_cpu
760 host
761 build_os
762 build_vendor
763 build_cpu
764 build
765 MAINT
766 MAINTAINER_MODE_FALSE
767 MAINTAINER_MODE_TRUE
768 AM_BACKSLASH
769 AM_DEFAULT_VERBOSITY
770 AM_DEFAULT_V
771 AM_V
772 am__untar
773 am__tar
774 AMTAR
775 am__leading_dot
776 SET_MAKE
777 AWK
778 mkdir_p
779 MKDIR_P
780 INSTALL_STRIP_PROGRAM
781 STRIP
782 install_sh
783 MAKEINFO
784 AUTOHEADER
785 AUTOMAKE
786 AUTOCONF
787 ACLOCAL
788 VERSION
789 PACKAGE
790 CYGPATH_W
791 am__isrc
792 INSTALL_DATA
793 INSTALL_SCRIPT
794 INSTALL_PROGRAM
795 target_alias
796 host_alias
797 build_alias
798 LIBS
799 ECHO_T
800 ECHO_N
801 ECHO_C
802 DEFS
803 mandir
804 localedir
805 libdir
806 psdir
807 pdfdir
808 dvidir
809 htmldir
810 infodir
811 docdir
812 oldincludedir
813 includedir
814 localstatedir
815 sharedstatedir
816 sysconfdir
817 datadir
818 datarootdir
819 libexecdir
820 sbindir
821 bindir
822 program_transform_name
823 prefix
824 exec_prefix
825 PACKAGE_URL
826 PACKAGE_BUGREPORT
827 PACKAGE_STRING
828 PACKAGE_VERSION
829 PACKAGE_TARNAME
830 PACKAGE_NAME
831 PATH_SEPARATOR
832 SHELL'
833 ac_subst_files=''
834 ac_user_opts='
835 enable_option_checking
836 enable_silent_rules
837 enable_maintainer_mode
838 enable_dependency_tracking
839 enable_shared
840 enable_static
841 with_pic
842 enable_fast_install
843 with_gnu_ld
844 with_sysroot
845 enable_libtool_lock
846 with_cairo
847 with_html_dir
848 enable_gtk_doc
849 enable_gtk_doc_html
850 enable_gtk_doc_pdf
851 enable_doctool
852 with_glib_src
853 enable_Bsymbolic
854 '
855       ac_precious_vars='build_alias
856 host_alias
857 target_alias
858 CC
859 CFLAGS
860 LDFLAGS
861 LIBS
862 CPPFLAGS
863 CPP
864 PKG_CONFIG
865 PKG_CONFIG_PATH
866 PKG_CONFIG_LIBDIR
867 GLIB_CFLAGS
868 GLIB_LIBS
869 GOBJECT_CFLAGS
870 GOBJECT_LIBS
871 GMODULE_CFLAGS
872 GMODULE_LIBS
873 GIO_CFLAGS
874 GIO_LIBS
875 GIO_UNIX_CFLAGS
876 GIO_UNIX_LIBS
877 CAIRO_CFLAGS
878 CAIRO_LIBS
879 SCANNER_CFLAGS
880 SCANNER_LIBS
881 FFI_CFLAGS
882 FFI_LIBS
883 GIREPO_CFLAGS
884 GIREPO_LIBS
885 GTKDOC_DEPS_CFLAGS
886 GTKDOC_DEPS_LIBS
887 PYTHON'
888
889
890 # Initialize some variables set by options.
891 ac_init_help=
892 ac_init_version=false
893 ac_unrecognized_opts=
894 ac_unrecognized_sep=
895 # The variables have the same names as the options, with
896 # dashes changed to underlines.
897 cache_file=/dev/null
898 exec_prefix=NONE
899 no_create=
900 no_recursion=
901 prefix=NONE
902 program_prefix=NONE
903 program_suffix=NONE
904 program_transform_name=s,x,x,
905 silent=
906 site=
907 srcdir=
908 verbose=
909 x_includes=NONE
910 x_libraries=NONE
911
912 # Installation directory options.
913 # These are left unexpanded so users can "make install exec_prefix=/foo"
914 # and all the variables that are supposed to be based on exec_prefix
915 # by default will actually change.
916 # Use braces instead of parens because sh, perl, etc. also accept them.
917 # (The list follows the same order as the GNU Coding Standards.)
918 bindir='${exec_prefix}/bin'
919 sbindir='${exec_prefix}/sbin'
920 libexecdir='${exec_prefix}/libexec'
921 datarootdir='${prefix}/share'
922 datadir='${datarootdir}'
923 sysconfdir='${prefix}/etc'
924 sharedstatedir='${prefix}/com'
925 localstatedir='${prefix}/var'
926 includedir='${prefix}/include'
927 oldincludedir='/usr/include'
928 docdir='${datarootdir}/doc/${PACKAGE_TARNAME}'
929 infodir='${datarootdir}/info'
930 htmldir='${docdir}'
931 dvidir='${docdir}'
932 pdfdir='${docdir}'
933 psdir='${docdir}'
934 libdir='${exec_prefix}/lib'
935 localedir='${datarootdir}/locale'
936 mandir='${datarootdir}/man'
937
938 ac_prev=
939 ac_dashdash=
940 for ac_option
941 do
942   # If the previous option needs an argument, assign it.
943   if test -n "$ac_prev"; then
944     eval $ac_prev=\$ac_option
945     ac_prev=
946     continue
947   fi
948
949   case $ac_option in
950   *=?*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
951   *=)   ac_optarg= ;;
952   *)    ac_optarg=yes ;;
953   esac
954
955   # Accept the important Cygnus configure options, so we can diagnose typos.
956
957   case $ac_dashdash$ac_option in
958   --)
959     ac_dashdash=yes ;;
960
961   -bindir | --bindir | --bindi | --bind | --bin | --bi)
962     ac_prev=bindir ;;
963   -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
964     bindir=$ac_optarg ;;
965
966   -build | --build | --buil | --bui | --bu)
967     ac_prev=build_alias ;;
968   -build=* | --build=* | --buil=* | --bui=* | --bu=*)
969     build_alias=$ac_optarg ;;
970
971   -cache-file | --cache-file | --cache-fil | --cache-fi \
972   | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
973     ac_prev=cache_file ;;
974   -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
975   | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
976     cache_file=$ac_optarg ;;
977
978   --config-cache | -C)
979     cache_file=config.cache ;;
980
981   -datadir | --datadir | --datadi | --datad)
982     ac_prev=datadir ;;
983   -datadir=* | --datadir=* | --datadi=* | --datad=*)
984     datadir=$ac_optarg ;;
985
986   -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \
987   | --dataroo | --dataro | --datar)
988     ac_prev=datarootdir ;;
989   -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \
990   | --dataroot=* | --dataroo=* | --dataro=* | --datar=*)
991     datarootdir=$ac_optarg ;;
992
993   -disable-* | --disable-*)
994     ac_useropt=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
995     # Reject names that are not valid shell variable names.
996     expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
997       as_fn_error $? "invalid feature name: $ac_useropt"
998     ac_useropt_orig=$ac_useropt
999     ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1000     case $ac_user_opts in
1001       *"
1002 "enable_$ac_useropt"
1003 "*) ;;
1004       *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig"
1005          ac_unrecognized_sep=', ';;
1006     esac
1007     eval enable_$ac_useropt=no ;;
1008
1009   -docdir | --docdir | --docdi | --doc | --do)
1010     ac_prev=docdir ;;
1011   -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*)
1012     docdir=$ac_optarg ;;
1013
1014   -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv)
1015     ac_prev=dvidir ;;
1016   -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*)
1017     dvidir=$ac_optarg ;;
1018
1019   -enable-* | --enable-*)
1020     ac_useropt=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
1021     # Reject names that are not valid shell variable names.
1022     expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1023       as_fn_error $? "invalid feature name: $ac_useropt"
1024     ac_useropt_orig=$ac_useropt
1025     ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1026     case $ac_user_opts in
1027       *"
1028 "enable_$ac_useropt"
1029 "*) ;;
1030       *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig"
1031          ac_unrecognized_sep=', ';;
1032     esac
1033     eval enable_$ac_useropt=\$ac_optarg ;;
1034
1035   -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
1036   | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
1037   | --exec | --exe | --ex)
1038     ac_prev=exec_prefix ;;
1039   -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
1040   | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
1041   | --exec=* | --exe=* | --ex=*)
1042     exec_prefix=$ac_optarg ;;
1043
1044   -gas | --gas | --ga | --g)
1045     # Obsolete; use --with-gas.
1046     with_gas=yes ;;
1047
1048   -help | --help | --hel | --he | -h)
1049     ac_init_help=long ;;
1050   -help=r* | --help=r* | --hel=r* | --he=r* | -hr*)
1051     ac_init_help=recursive ;;
1052   -help=s* | --help=s* | --hel=s* | --he=s* | -hs*)
1053     ac_init_help=short ;;
1054
1055   -host | --host | --hos | --ho)
1056     ac_prev=host_alias ;;
1057   -host=* | --host=* | --hos=* | --ho=*)
1058     host_alias=$ac_optarg ;;
1059
1060   -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht)
1061     ac_prev=htmldir ;;
1062   -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \
1063   | --ht=*)
1064     htmldir=$ac_optarg ;;
1065
1066   -includedir | --includedir | --includedi | --included | --include \
1067   | --includ | --inclu | --incl | --inc)
1068     ac_prev=includedir ;;
1069   -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
1070   | --includ=* | --inclu=* | --incl=* | --inc=*)
1071     includedir=$ac_optarg ;;
1072
1073   -infodir | --infodir | --infodi | --infod | --info | --inf)
1074     ac_prev=infodir ;;
1075   -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
1076     infodir=$ac_optarg ;;
1077
1078   -libdir | --libdir | --libdi | --libd)
1079     ac_prev=libdir ;;
1080   -libdir=* | --libdir=* | --libdi=* | --libd=*)
1081     libdir=$ac_optarg ;;
1082
1083   -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
1084   | --libexe | --libex | --libe)
1085     ac_prev=libexecdir ;;
1086   -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
1087   | --libexe=* | --libex=* | --libe=*)
1088     libexecdir=$ac_optarg ;;
1089
1090   -localedir | --localedir | --localedi | --localed | --locale)
1091     ac_prev=localedir ;;
1092   -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*)
1093     localedir=$ac_optarg ;;
1094
1095   -localstatedir | --localstatedir | --localstatedi | --localstated \
1096   | --localstate | --localstat | --localsta | --localst | --locals)
1097     ac_prev=localstatedir ;;
1098   -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
1099   | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*)
1100     localstatedir=$ac_optarg ;;
1101
1102   -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
1103     ac_prev=mandir ;;
1104   -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
1105     mandir=$ac_optarg ;;
1106
1107   -nfp | --nfp | --nf)
1108     # Obsolete; use --without-fp.
1109     with_fp=no ;;
1110
1111   -no-create | --no-create | --no-creat | --no-crea | --no-cre \
1112   | --no-cr | --no-c | -n)
1113     no_create=yes ;;
1114
1115   -no-recursion | --no-recursion | --no-recursio | --no-recursi \
1116   | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
1117     no_recursion=yes ;;
1118
1119   -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
1120   | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
1121   | --oldin | --oldi | --old | --ol | --o)
1122     ac_prev=oldincludedir ;;
1123   -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
1124   | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
1125   | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
1126     oldincludedir=$ac_optarg ;;
1127
1128   -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
1129     ac_prev=prefix ;;
1130   -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
1131     prefix=$ac_optarg ;;
1132
1133   -program-prefix | --program-prefix | --program-prefi | --program-pref \
1134   | --program-pre | --program-pr | --program-p)
1135     ac_prev=program_prefix ;;
1136   -program-prefix=* | --program-prefix=* | --program-prefi=* \
1137   | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
1138     program_prefix=$ac_optarg ;;
1139
1140   -program-suffix | --program-suffix | --program-suffi | --program-suff \
1141   | --program-suf | --program-su | --program-s)
1142     ac_prev=program_suffix ;;
1143   -program-suffix=* | --program-suffix=* | --program-suffi=* \
1144   | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
1145     program_suffix=$ac_optarg ;;
1146
1147   -program-transform-name | --program-transform-name \
1148   | --program-transform-nam | --program-transform-na \
1149   | --program-transform-n | --program-transform- \
1150   | --program-transform | --program-transfor \
1151   | --program-transfo | --program-transf \
1152   | --program-trans | --program-tran \
1153   | --progr-tra | --program-tr | --program-t)
1154     ac_prev=program_transform_name ;;
1155   -program-transform-name=* | --program-transform-name=* \
1156   | --program-transform-nam=* | --program-transform-na=* \
1157   | --program-transform-n=* | --program-transform-=* \
1158   | --program-transform=* | --program-transfor=* \
1159   | --program-transfo=* | --program-transf=* \
1160   | --program-trans=* | --program-tran=* \
1161   | --progr-tra=* | --program-tr=* | --program-t=*)
1162     program_transform_name=$ac_optarg ;;
1163
1164   -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd)
1165     ac_prev=pdfdir ;;
1166   -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*)
1167     pdfdir=$ac_optarg ;;
1168
1169   -psdir | --psdir | --psdi | --psd | --ps)
1170     ac_prev=psdir ;;
1171   -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*)
1172     psdir=$ac_optarg ;;
1173
1174   -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1175   | -silent | --silent | --silen | --sile | --sil)
1176     silent=yes ;;
1177
1178   -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
1179     ac_prev=sbindir ;;
1180   -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
1181   | --sbi=* | --sb=*)
1182     sbindir=$ac_optarg ;;
1183
1184   -sharedstatedir | --sharedstatedir | --sharedstatedi \
1185   | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
1186   | --sharedst | --shareds | --shared | --share | --shar \
1187   | --sha | --sh)
1188     ac_prev=sharedstatedir ;;
1189   -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
1190   | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
1191   | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
1192   | --sha=* | --sh=*)
1193     sharedstatedir=$ac_optarg ;;
1194
1195   -site | --site | --sit)
1196     ac_prev=site ;;
1197   -site=* | --site=* | --sit=*)
1198     site=$ac_optarg ;;
1199
1200   -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
1201     ac_prev=srcdir ;;
1202   -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
1203     srcdir=$ac_optarg ;;
1204
1205   -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
1206   | --syscon | --sysco | --sysc | --sys | --sy)
1207     ac_prev=sysconfdir ;;
1208   -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
1209   | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
1210     sysconfdir=$ac_optarg ;;
1211
1212   -target | --target | --targe | --targ | --tar | --ta | --t)
1213     ac_prev=target_alias ;;
1214   -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
1215     target_alias=$ac_optarg ;;
1216
1217   -v | -verbose | --verbose | --verbos | --verbo | --verb)
1218     verbose=yes ;;
1219
1220   -version | --version | --versio | --versi | --vers | -V)
1221     ac_init_version=: ;;
1222
1223   -with-* | --with-*)
1224     ac_useropt=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
1225     # Reject names that are not valid shell variable names.
1226     expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1227       as_fn_error $? "invalid package name: $ac_useropt"
1228     ac_useropt_orig=$ac_useropt
1229     ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1230     case $ac_user_opts in
1231       *"
1232 "with_$ac_useropt"
1233 "*) ;;
1234       *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig"
1235          ac_unrecognized_sep=', ';;
1236     esac
1237     eval with_$ac_useropt=\$ac_optarg ;;
1238
1239   -without-* | --without-*)
1240     ac_useropt=`expr "x$ac_option" : 'x-*without-\(.*\)'`
1241     # Reject names that are not valid shell variable names.
1242     expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1243       as_fn_error $? "invalid package name: $ac_useropt"
1244     ac_useropt_orig=$ac_useropt
1245     ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1246     case $ac_user_opts in
1247       *"
1248 "with_$ac_useropt"
1249 "*) ;;
1250       *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig"
1251          ac_unrecognized_sep=', ';;
1252     esac
1253     eval with_$ac_useropt=no ;;
1254
1255   --x)
1256     # Obsolete; use --with-x.
1257     with_x=yes ;;
1258
1259   -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
1260   | --x-incl | --x-inc | --x-in | --x-i)
1261     ac_prev=x_includes ;;
1262   -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
1263   | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
1264     x_includes=$ac_optarg ;;
1265
1266   -x-libraries | --x-libraries | --x-librarie | --x-librari \
1267   | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
1268     ac_prev=x_libraries ;;
1269   -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
1270   | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
1271     x_libraries=$ac_optarg ;;
1272
1273   -*) as_fn_error $? "unrecognized option: \`$ac_option'
1274 Try \`$0 --help' for more information"
1275     ;;
1276
1277   *=*)
1278     ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
1279     # Reject names that are not valid shell variable names.
1280     case $ac_envvar in #(
1281       '' | [0-9]* | *[!_$as_cr_alnum]* )
1282       as_fn_error $? "invalid variable name: \`$ac_envvar'" ;;
1283     esac
1284     eval $ac_envvar=\$ac_optarg
1285     export $ac_envvar ;;
1286
1287   *)
1288     # FIXME: should be removed in autoconf 3.0.
1289     $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2
1290     expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
1291       $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2
1292     : "${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}"
1293     ;;
1294
1295   esac
1296 done
1297
1298 if test -n "$ac_prev"; then
1299   ac_option=--`echo $ac_prev | sed 's/_/-/g'`
1300   as_fn_error $? "missing argument to $ac_option"
1301 fi
1302
1303 if test -n "$ac_unrecognized_opts"; then
1304   case $enable_option_checking in
1305     no) ;;
1306     fatal) as_fn_error $? "unrecognized options: $ac_unrecognized_opts" ;;
1307     *)     $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;;
1308   esac
1309 fi
1310
1311 # Check all directory arguments for consistency.
1312 for ac_var in   exec_prefix prefix bindir sbindir libexecdir datarootdir \
1313                 datadir sysconfdir sharedstatedir localstatedir includedir \
1314                 oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
1315                 libdir localedir mandir
1316 do
1317   eval ac_val=\$$ac_var
1318   # Remove trailing slashes.
1319   case $ac_val in
1320     */ )
1321       ac_val=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'`
1322       eval $ac_var=\$ac_val;;
1323   esac
1324   # Be sure to have absolute directory names.
1325   case $ac_val in
1326     [\\/$]* | ?:[\\/]* )  continue;;
1327     NONE | '' ) case $ac_var in *prefix ) continue;; esac;;
1328   esac
1329   as_fn_error $? "expected an absolute directory name for --$ac_var: $ac_val"
1330 done
1331
1332 # There might be people who depend on the old broken behavior: `$host'
1333 # used to hold the argument of --host etc.
1334 # FIXME: To remove some day.
1335 build=$build_alias
1336 host=$host_alias
1337 target=$target_alias
1338
1339 # FIXME: To remove some day.
1340 if test "x$host_alias" != x; then
1341   if test "x$build_alias" = x; then
1342     cross_compiling=maybe
1343   elif test "x$build_alias" != "x$host_alias"; then
1344     cross_compiling=yes
1345   fi
1346 fi
1347
1348 ac_tool_prefix=
1349 test -n "$host_alias" && ac_tool_prefix=$host_alias-
1350
1351 test "$silent" = yes && exec 6>/dev/null
1352
1353
1354 ac_pwd=`pwd` && test -n "$ac_pwd" &&
1355 ac_ls_di=`ls -di .` &&
1356 ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` ||
1357   as_fn_error $? "working directory cannot be determined"
1358 test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
1359   as_fn_error $? "pwd does not report name of working directory"
1360
1361
1362 # Find the source files, if location was not specified.
1363 if test -z "$srcdir"; then
1364   ac_srcdir_defaulted=yes
1365   # Try the directory containing this script, then the parent directory.
1366   ac_confdir=`$as_dirname -- "$as_myself" ||
1367 $as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
1368          X"$as_myself" : 'X\(//\)[^/]' \| \
1369          X"$as_myself" : 'X\(//\)$' \| \
1370          X"$as_myself" : 'X\(/\)' \| . 2>/dev/null ||
1371 $as_echo X"$as_myself" |
1372     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
1373             s//\1/
1374             q
1375           }
1376           /^X\(\/\/\)[^/].*/{
1377             s//\1/
1378             q
1379           }
1380           /^X\(\/\/\)$/{
1381             s//\1/
1382             q
1383           }
1384           /^X\(\/\).*/{
1385             s//\1/
1386             q
1387           }
1388           s/.*/./; q'`
1389   srcdir=$ac_confdir
1390   if test ! -r "$srcdir/$ac_unique_file"; then
1391     srcdir=..
1392   fi
1393 else
1394   ac_srcdir_defaulted=no
1395 fi
1396 if test ! -r "$srcdir/$ac_unique_file"; then
1397   test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .."
1398   as_fn_error $? "cannot find sources ($ac_unique_file) in $srcdir"
1399 fi
1400 ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work"
1401 ac_abs_confdir=`(
1402         cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error $? "$ac_msg"
1403         pwd)`
1404 # When building in place, set srcdir=.
1405 if test "$ac_abs_confdir" = "$ac_pwd"; then
1406   srcdir=.
1407 fi
1408 # Remove unnecessary trailing slashes from srcdir.
1409 # Double slashes in file names in object file debugging info
1410 # mess up M-x gdb in Emacs.
1411 case $srcdir in
1412 */) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
1413 esac
1414 for ac_var in $ac_precious_vars; do
1415   eval ac_env_${ac_var}_set=\${${ac_var}+set}
1416   eval ac_env_${ac_var}_value=\$${ac_var}
1417   eval ac_cv_env_${ac_var}_set=\${${ac_var}+set}
1418   eval ac_cv_env_${ac_var}_value=\$${ac_var}
1419 done
1420
1421 #
1422 # Report the --help message.
1423 #
1424 if test "$ac_init_help" = "long"; then
1425   # Omit some internal or obsolete options to make the list less imposing.
1426   # This message is too long to be a string in the A/UX 3.1 sh.
1427   cat <<_ACEOF
1428 \`configure' configures gobject-introspection 1.35.9 to adapt to many kinds of systems.
1429
1430 Usage: $0 [OPTION]... [VAR=VALUE]...
1431
1432 To assign environment variables (e.g., CC, CFLAGS...), specify them as
1433 VAR=VALUE.  See below for descriptions of some of the useful variables.
1434
1435 Defaults for the options are specified in brackets.
1436
1437 Configuration:
1438   -h, --help              display this help and exit
1439       --help=short        display options specific to this package
1440       --help=recursive    display the short help of all the included packages
1441   -V, --version           display version information and exit
1442   -q, --quiet, --silent   do not print \`checking ...' messages
1443       --cache-file=FILE   cache test results in FILE [disabled]
1444   -C, --config-cache      alias for \`--cache-file=config.cache'
1445   -n, --no-create         do not create output files
1446       --srcdir=DIR        find the sources in DIR [configure dir or \`..']
1447
1448 Installation directories:
1449   --prefix=PREFIX         install architecture-independent files in PREFIX
1450                           [$ac_default_prefix]
1451   --exec-prefix=EPREFIX   install architecture-dependent files in EPREFIX
1452                           [PREFIX]
1453
1454 By default, \`make install' will install all the files in
1455 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc.  You can specify
1456 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
1457 for instance \`--prefix=\$HOME'.
1458
1459 For better control, use the options below.
1460
1461 Fine tuning of the installation directories:
1462   --bindir=DIR            user executables [EPREFIX/bin]
1463   --sbindir=DIR           system admin executables [EPREFIX/sbin]
1464   --libexecdir=DIR        program executables [EPREFIX/libexec]
1465   --sysconfdir=DIR        read-only single-machine data [PREFIX/etc]
1466   --sharedstatedir=DIR    modifiable architecture-independent data [PREFIX/com]
1467   --localstatedir=DIR     modifiable single-machine data [PREFIX/var]
1468   --libdir=DIR            object code libraries [EPREFIX/lib]
1469   --includedir=DIR        C header files [PREFIX/include]
1470   --oldincludedir=DIR     C header files for non-gcc [/usr/include]
1471   --datarootdir=DIR       read-only arch.-independent data root [PREFIX/share]
1472   --datadir=DIR           read-only architecture-independent data [DATAROOTDIR]
1473   --infodir=DIR           info documentation [DATAROOTDIR/info]
1474   --localedir=DIR         locale-dependent data [DATAROOTDIR/locale]
1475   --mandir=DIR            man documentation [DATAROOTDIR/man]
1476   --docdir=DIR            documentation root
1477                           [DATAROOTDIR/doc/gobject-introspection]
1478   --htmldir=DIR           html documentation [DOCDIR]
1479   --dvidir=DIR            dvi documentation [DOCDIR]
1480   --pdfdir=DIR            pdf documentation [DOCDIR]
1481   --psdir=DIR             ps documentation [DOCDIR]
1482 _ACEOF
1483
1484   cat <<\_ACEOF
1485
1486 Program names:
1487   --program-prefix=PREFIX            prepend PREFIX to installed program names
1488   --program-suffix=SUFFIX            append SUFFIX to installed program names
1489   --program-transform-name=PROGRAM   run sed PROGRAM on installed program names
1490
1491 System types:
1492   --build=BUILD     configure for building on BUILD [guessed]
1493   --host=HOST       cross-compile to build programs to run on HOST [BUILD]
1494 _ACEOF
1495 fi
1496
1497 if test -n "$ac_init_help"; then
1498   case $ac_init_help in
1499      short | recursive ) echo "Configuration of gobject-introspection 1.35.9:";;
1500    esac
1501   cat <<\_ACEOF
1502
1503 Optional Features:
1504   --disable-option-checking  ignore unrecognized --enable/--with options
1505   --disable-FEATURE       do not include FEATURE (same as --enable-FEATURE=no)
1506   --enable-FEATURE[=ARG]  include FEATURE [ARG=yes]
1507   --enable-silent-rules   less verbose build output (undo: "make V=1")
1508   --disable-silent-rules  verbose build output (undo: "make V=0")
1509   --disable-maintainer-mode
1510                           disable make rules and dependencies not useful (and
1511                           sometimes confusing) to the casual installer
1512   --enable-dependency-tracking
1513                           do not reject slow dependency extractors
1514   --disable-dependency-tracking
1515                           speeds up one-time build
1516   --enable-shared[=PKGS]  build shared libraries [default=yes]
1517   --enable-static[=PKGS]  build static libraries [default=yes]
1518   --enable-fast-install[=PKGS]
1519                           optimize for fast installation [default=yes]
1520   --disable-libtool-lock  avoid locking (might break parallel builds)
1521   --enable-gtk-doc        use gtk-doc to build documentation [[default=no]]
1522   --enable-gtk-doc-html   build documentation in html format [[default=yes]]
1523   --enable-gtk-doc-pdf    build documentation in pdf format [[default=no]]
1524   --disable-doctool           disable g-ir-doctool
1525   --disable-Bsymbolic     avoid linking with -Bsymbolic
1526
1527 Optional Packages:
1528   --with-PACKAGE[=ARG]    use PACKAGE [ARG=yes]
1529   --without-PACKAGE       do not use PACKAGE (same as --with-PACKAGE=no)
1530   --with-pic[=PKGS]       try to use only PIC/non-PIC objects [default=use
1531                           both]
1532   --with-gnu-ld           assume the C compiler uses GNU ld [default=no]
1533   --with-sysroot=DIR Search for dependent libraries within DIR
1534                         (or the compiler's sysroot if not specified).
1535   --with-cairo            Use cairo [default=maybe]
1536   --with-html-dir=PATH    path to installed docs
1537   --with-glib-src=PATH    Source directory for glib - needed to add docs to gir
1538
1539 Some influential environment variables:
1540   CC          C compiler command
1541   CFLAGS      C compiler flags
1542   LDFLAGS     linker flags, e.g. -L<lib dir> if you have libraries in a
1543               nonstandard directory <lib dir>
1544   LIBS        libraries to pass to the linker, e.g. -l<library>
1545   CPPFLAGS    (Objective) C/C++ preprocessor flags, e.g. -I<include dir> if
1546               you have headers in a nonstandard directory <include dir>
1547   CPP         C preprocessor
1548   PKG_CONFIG  path to pkg-config utility
1549   PKG_CONFIG_PATH
1550               directories to add to pkg-config's search path
1551   PKG_CONFIG_LIBDIR
1552               path overriding pkg-config's built-in search path
1553   GLIB_CFLAGS C compiler flags for GLIB, overriding pkg-config
1554   GLIB_LIBS   linker flags for GLIB, overriding pkg-config
1555   GOBJECT_CFLAGS
1556               C compiler flags for GOBJECT, overriding pkg-config
1557   GOBJECT_LIBS
1558               linker flags for GOBJECT, overriding pkg-config
1559   GMODULE_CFLAGS
1560               C compiler flags for GMODULE, overriding pkg-config
1561   GMODULE_LIBS
1562               linker flags for GMODULE, overriding pkg-config
1563   GIO_CFLAGS  C compiler flags for GIO, overriding pkg-config
1564   GIO_LIBS    linker flags for GIO, overriding pkg-config
1565   GIO_UNIX_CFLAGS
1566               C compiler flags for GIO_UNIX, overriding pkg-config
1567   GIO_UNIX_LIBS
1568               linker flags for GIO_UNIX, overriding pkg-config
1569   CAIRO_CFLAGS
1570               C compiler flags for CAIRO, overriding pkg-config
1571   CAIRO_LIBS  linker flags for CAIRO, overriding pkg-config
1572   SCANNER_CFLAGS
1573               C compiler flags for SCANNER, overriding pkg-config
1574   SCANNER_LIBS
1575               linker flags for SCANNER, overriding pkg-config
1576   FFI_CFLAGS  C compiler flags for FFI, overriding pkg-config
1577   FFI_LIBS    linker flags for FFI, overriding pkg-config
1578   GIREPO_CFLAGS
1579               C compiler flags for GIREPO, overriding pkg-config
1580   GIREPO_LIBS linker flags for GIREPO, overriding pkg-config
1581   GTKDOC_DEPS_CFLAGS
1582               C compiler flags for GTKDOC_DEPS, overriding pkg-config
1583   GTKDOC_DEPS_LIBS
1584               linker flags for GTKDOC_DEPS, overriding pkg-config
1585   PYTHON      the Python interpreter
1586
1587 Use these variables to override the choices made by `configure' or to help
1588 it to find libraries and programs with nonstandard names/locations.
1589
1590 Report bugs to <http://bugzilla.gnome.org/enter_bug.cgi?product=glib&component=introspection>.
1591 _ACEOF
1592 ac_status=$?
1593 fi
1594
1595 if test "$ac_init_help" = "recursive"; then
1596   # If there are subdirs, report their specific --help.
1597   for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
1598     test -d "$ac_dir" ||
1599       { cd "$srcdir" && ac_pwd=`pwd` && srcdir=. && test -d "$ac_dir"; } ||
1600       continue
1601     ac_builddir=.
1602
1603 case "$ac_dir" in
1604 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
1605 *)
1606   ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
1607   # A ".." for each directory in $ac_dir_suffix.
1608   ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
1609   case $ac_top_builddir_sub in
1610   "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
1611   *)  ac_top_build_prefix=$ac_top_builddir_sub/ ;;
1612   esac ;;
1613 esac
1614 ac_abs_top_builddir=$ac_pwd
1615 ac_abs_builddir=$ac_pwd$ac_dir_suffix
1616 # for backward compatibility:
1617 ac_top_builddir=$ac_top_build_prefix
1618
1619 case $srcdir in
1620   .)  # We are building in place.
1621     ac_srcdir=.
1622     ac_top_srcdir=$ac_top_builddir_sub
1623     ac_abs_top_srcdir=$ac_pwd ;;
1624   [\\/]* | ?:[\\/]* )  # Absolute name.
1625     ac_srcdir=$srcdir$ac_dir_suffix;
1626     ac_top_srcdir=$srcdir
1627     ac_abs_top_srcdir=$srcdir ;;
1628   *) # Relative name.
1629     ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
1630     ac_top_srcdir=$ac_top_build_prefix$srcdir
1631     ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
1632 esac
1633 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
1634
1635     cd "$ac_dir" || { ac_status=$?; continue; }
1636     # Check for guested configure.
1637     if test -f "$ac_srcdir/configure.gnu"; then
1638       echo &&
1639       $SHELL "$ac_srcdir/configure.gnu" --help=recursive
1640     elif test -f "$ac_srcdir/configure"; then
1641       echo &&
1642       $SHELL "$ac_srcdir/configure" --help=recursive
1643     else
1644       $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
1645     fi || ac_status=$?
1646     cd "$ac_pwd" || { ac_status=$?; break; }
1647   done
1648 fi
1649
1650 test -n "$ac_init_help" && exit $ac_status
1651 if $ac_init_version; then
1652   cat <<\_ACEOF
1653 gobject-introspection configure 1.35.9
1654 generated by GNU Autoconf 2.69
1655
1656 Copyright (C) 2012 Free Software Foundation, Inc.
1657 This configure script is free software; the Free Software Foundation
1658 gives unlimited permission to copy, distribute and modify it.
1659 _ACEOF
1660   exit
1661 fi
1662
1663 ## ------------------------ ##
1664 ## Autoconf initialization. ##
1665 ## ------------------------ ##
1666
1667 # ac_fn_c_try_compile LINENO
1668 # --------------------------
1669 # Try to compile conftest.$ac_ext, and return whether this succeeded.
1670 ac_fn_c_try_compile ()
1671 {
1672   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1673   rm -f conftest.$ac_objext
1674   if { { ac_try="$ac_compile"
1675 case "(($ac_try" in
1676   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1677   *) ac_try_echo=$ac_try;;
1678 esac
1679 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1680 $as_echo "$ac_try_echo"; } >&5
1681   (eval "$ac_compile") 2>conftest.err
1682   ac_status=$?
1683   if test -s conftest.err; then
1684     grep -v '^ *+' conftest.err >conftest.er1
1685     cat conftest.er1 >&5
1686     mv -f conftest.er1 conftest.err
1687   fi
1688   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1689   test $ac_status = 0; } && {
1690          test -z "$ac_c_werror_flag" ||
1691          test ! -s conftest.err
1692        } && test -s conftest.$ac_objext; then :
1693   ac_retval=0
1694 else
1695   $as_echo "$as_me: failed program was:" >&5
1696 sed 's/^/| /' conftest.$ac_ext >&5
1697
1698         ac_retval=1
1699 fi
1700   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1701   as_fn_set_status $ac_retval
1702
1703 } # ac_fn_c_try_compile
1704
1705 # ac_fn_c_try_link LINENO
1706 # -----------------------
1707 # Try to link conftest.$ac_ext, and return whether this succeeded.
1708 ac_fn_c_try_link ()
1709 {
1710   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1711   rm -f conftest.$ac_objext conftest$ac_exeext
1712   if { { ac_try="$ac_link"
1713 case "(($ac_try" in
1714   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1715   *) ac_try_echo=$ac_try;;
1716 esac
1717 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1718 $as_echo "$ac_try_echo"; } >&5
1719   (eval "$ac_link") 2>conftest.err
1720   ac_status=$?
1721   if test -s conftest.err; then
1722     grep -v '^ *+' conftest.err >conftest.er1
1723     cat conftest.er1 >&5
1724     mv -f conftest.er1 conftest.err
1725   fi
1726   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1727   test $ac_status = 0; } && {
1728          test -z "$ac_c_werror_flag" ||
1729          test ! -s conftest.err
1730        } && test -s conftest$ac_exeext && {
1731          test "$cross_compiling" = yes ||
1732          test -x conftest$ac_exeext
1733        }; then :
1734   ac_retval=0
1735 else
1736   $as_echo "$as_me: failed program was:" >&5
1737 sed 's/^/| /' conftest.$ac_ext >&5
1738
1739         ac_retval=1
1740 fi
1741   # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
1742   # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
1743   # interfere with the next link command; also delete a directory that is
1744   # left behind by Apple's compiler.  We do this before executing the actions.
1745   rm -rf conftest.dSYM conftest_ipa8_conftest.oo
1746   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1747   as_fn_set_status $ac_retval
1748
1749 } # ac_fn_c_try_link
1750
1751 # ac_fn_c_check_header_compile LINENO HEADER VAR INCLUDES
1752 # -------------------------------------------------------
1753 # Tests whether HEADER exists and can be compiled using the include files in
1754 # INCLUDES, setting the cache variable VAR accordingly.
1755 ac_fn_c_check_header_compile ()
1756 {
1757   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1758   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1759 $as_echo_n "checking for $2... " >&6; }
1760 if eval \${$3+:} false; then :
1761   $as_echo_n "(cached) " >&6
1762 else
1763   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1764 /* end confdefs.h.  */
1765 $4
1766 #include <$2>
1767 _ACEOF
1768 if ac_fn_c_try_compile "$LINENO"; then :
1769   eval "$3=yes"
1770 else
1771   eval "$3=no"
1772 fi
1773 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1774 fi
1775 eval ac_res=\$$3
1776                { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1777 $as_echo "$ac_res" >&6; }
1778   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1779
1780 } # ac_fn_c_check_header_compile
1781
1782 # ac_fn_c_try_cpp LINENO
1783 # ----------------------
1784 # Try to preprocess conftest.$ac_ext, and return whether this succeeded.
1785 ac_fn_c_try_cpp ()
1786 {
1787   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1788   if { { ac_try="$ac_cpp conftest.$ac_ext"
1789 case "(($ac_try" in
1790   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1791   *) ac_try_echo=$ac_try;;
1792 esac
1793 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1794 $as_echo "$ac_try_echo"; } >&5
1795   (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err
1796   ac_status=$?
1797   if test -s conftest.err; then
1798     grep -v '^ *+' conftest.err >conftest.er1
1799     cat conftest.er1 >&5
1800     mv -f conftest.er1 conftest.err
1801   fi
1802   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1803   test $ac_status = 0; } > conftest.i && {
1804          test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
1805          test ! -s conftest.err
1806        }; then :
1807   ac_retval=0
1808 else
1809   $as_echo "$as_me: failed program was:" >&5
1810 sed 's/^/| /' conftest.$ac_ext >&5
1811
1812     ac_retval=1
1813 fi
1814   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1815   as_fn_set_status $ac_retval
1816
1817 } # ac_fn_c_try_cpp
1818
1819 # ac_fn_c_try_run LINENO
1820 # ----------------------
1821 # Try to link conftest.$ac_ext, and return whether this succeeded. Assumes
1822 # that executables *can* be run.
1823 ac_fn_c_try_run ()
1824 {
1825   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1826   if { { ac_try="$ac_link"
1827 case "(($ac_try" in
1828   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1829   *) ac_try_echo=$ac_try;;
1830 esac
1831 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1832 $as_echo "$ac_try_echo"; } >&5
1833   (eval "$ac_link") 2>&5
1834   ac_status=$?
1835   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1836   test $ac_status = 0; } && { ac_try='./conftest$ac_exeext'
1837   { { case "(($ac_try" in
1838   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1839   *) ac_try_echo=$ac_try;;
1840 esac
1841 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1842 $as_echo "$ac_try_echo"; } >&5
1843   (eval "$ac_try") 2>&5
1844   ac_status=$?
1845   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1846   test $ac_status = 0; }; }; then :
1847   ac_retval=0
1848 else
1849   $as_echo "$as_me: program exited with status $ac_status" >&5
1850        $as_echo "$as_me: failed program was:" >&5
1851 sed 's/^/| /' conftest.$ac_ext >&5
1852
1853        ac_retval=$ac_status
1854 fi
1855   rm -rf conftest.dSYM conftest_ipa8_conftest.oo
1856   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1857   as_fn_set_status $ac_retval
1858
1859 } # ac_fn_c_try_run
1860
1861 # ac_fn_c_check_func LINENO FUNC VAR
1862 # ----------------------------------
1863 # Tests whether FUNC exists, setting the cache variable VAR accordingly
1864 ac_fn_c_check_func ()
1865 {
1866   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1867   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1868 $as_echo_n "checking for $2... " >&6; }
1869 if eval \${$3+:} false; then :
1870   $as_echo_n "(cached) " >&6
1871 else
1872   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1873 /* end confdefs.h.  */
1874 /* Define $2 to an innocuous variant, in case <limits.h> declares $2.
1875    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
1876 #define $2 innocuous_$2
1877
1878 /* System header to define __stub macros and hopefully few prototypes,
1879     which can conflict with char $2 (); below.
1880     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
1881     <limits.h> exists even on freestanding compilers.  */
1882
1883 #ifdef __STDC__
1884 # include <limits.h>
1885 #else
1886 # include <assert.h>
1887 #endif
1888
1889 #undef $2
1890
1891 /* Override any GCC internal prototype to avoid an error.
1892    Use char because int might match the return type of a GCC
1893    builtin and then its argument prototype would still apply.  */
1894 #ifdef __cplusplus
1895 extern "C"
1896 #endif
1897 char $2 ();
1898 /* The GNU C library defines this for functions which it implements
1899     to always fail with ENOSYS.  Some functions are actually named
1900     something starting with __ and the normal name is an alias.  */
1901 #if defined __stub_$2 || defined __stub___$2
1902 choke me
1903 #endif
1904
1905 int
1906 main ()
1907 {
1908 return $2 ();
1909   ;
1910   return 0;
1911 }
1912 _ACEOF
1913 if ac_fn_c_try_link "$LINENO"; then :
1914   eval "$3=yes"
1915 else
1916   eval "$3=no"
1917 fi
1918 rm -f core conftest.err conftest.$ac_objext \
1919     conftest$ac_exeext conftest.$ac_ext
1920 fi
1921 eval ac_res=\$$3
1922                { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1923 $as_echo "$ac_res" >&6; }
1924   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1925
1926 } # ac_fn_c_check_func
1927
1928 # ac_fn_c_compute_int LINENO EXPR VAR INCLUDES
1929 # --------------------------------------------
1930 # Tries to find the compile-time value of EXPR in a program that includes
1931 # INCLUDES, setting VAR accordingly. Returns whether the value could be
1932 # computed
1933 ac_fn_c_compute_int ()
1934 {
1935   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1936   if test "$cross_compiling" = yes; then
1937     # Depending upon the size, compute the lo and hi bounds.
1938 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1939 /* end confdefs.h.  */
1940 $4
1941 int
1942 main ()
1943 {
1944 static int test_array [1 - 2 * !(($2) >= 0)];
1945 test_array [0] = 0;
1946 return test_array [0];
1947
1948   ;
1949   return 0;
1950 }
1951 _ACEOF
1952 if ac_fn_c_try_compile "$LINENO"; then :
1953   ac_lo=0 ac_mid=0
1954   while :; do
1955     cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1956 /* end confdefs.h.  */
1957 $4
1958 int
1959 main ()
1960 {
1961 static int test_array [1 - 2 * !(($2) <= $ac_mid)];
1962 test_array [0] = 0;
1963 return test_array [0];
1964
1965   ;
1966   return 0;
1967 }
1968 _ACEOF
1969 if ac_fn_c_try_compile "$LINENO"; then :
1970   ac_hi=$ac_mid; break
1971 else
1972   as_fn_arith $ac_mid + 1 && ac_lo=$as_val
1973                         if test $ac_lo -le $ac_mid; then
1974                           ac_lo= ac_hi=
1975                           break
1976                         fi
1977                         as_fn_arith 2 '*' $ac_mid + 1 && ac_mid=$as_val
1978 fi
1979 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1980   done
1981 else
1982   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1983 /* end confdefs.h.  */
1984 $4
1985 int
1986 main ()
1987 {
1988 static int test_array [1 - 2 * !(($2) < 0)];
1989 test_array [0] = 0;
1990 return test_array [0];
1991
1992   ;
1993   return 0;
1994 }
1995 _ACEOF
1996 if ac_fn_c_try_compile "$LINENO"; then :
1997   ac_hi=-1 ac_mid=-1
1998   while :; do
1999     cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2000 /* end confdefs.h.  */
2001 $4
2002 int
2003 main ()
2004 {
2005 static int test_array [1 - 2 * !(($2) >= $ac_mid)];
2006 test_array [0] = 0;
2007 return test_array [0];
2008
2009   ;
2010   return 0;
2011 }
2012 _ACEOF
2013 if ac_fn_c_try_compile "$LINENO"; then :
2014   ac_lo=$ac_mid; break
2015 else
2016   as_fn_arith '(' $ac_mid ')' - 1 && ac_hi=$as_val
2017                         if test $ac_mid -le $ac_hi; then
2018                           ac_lo= ac_hi=
2019                           break
2020                         fi
2021                         as_fn_arith 2 '*' $ac_mid && ac_mid=$as_val
2022 fi
2023 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2024   done
2025 else
2026   ac_lo= ac_hi=
2027 fi
2028 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2029 fi
2030 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2031 # Binary search between lo and hi bounds.
2032 while test "x$ac_lo" != "x$ac_hi"; do
2033   as_fn_arith '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo && ac_mid=$as_val
2034   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2035 /* end confdefs.h.  */
2036 $4
2037 int
2038 main ()
2039 {
2040 static int test_array [1 - 2 * !(($2) <= $ac_mid)];
2041 test_array [0] = 0;
2042 return test_array [0];
2043
2044   ;
2045   return 0;
2046 }
2047 _ACEOF
2048 if ac_fn_c_try_compile "$LINENO"; then :
2049   ac_hi=$ac_mid
2050 else
2051   as_fn_arith '(' $ac_mid ')' + 1 && ac_lo=$as_val
2052 fi
2053 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2054 done
2055 case $ac_lo in #((
2056 ?*) eval "$3=\$ac_lo"; ac_retval=0 ;;
2057 '') ac_retval=1 ;;
2058 esac
2059   else
2060     cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2061 /* end confdefs.h.  */
2062 $4
2063 static long int longval () { return $2; }
2064 static unsigned long int ulongval () { return $2; }
2065 #include <stdio.h>
2066 #include <stdlib.h>
2067 int
2068 main ()
2069 {
2070
2071   FILE *f = fopen ("conftest.val", "w");
2072   if (! f)
2073     return 1;
2074   if (($2) < 0)
2075     {
2076       long int i = longval ();
2077       if (i != ($2))
2078         return 1;
2079       fprintf (f, "%ld", i);
2080     }
2081   else
2082     {
2083       unsigned long int i = ulongval ();
2084       if (i != ($2))
2085         return 1;
2086       fprintf (f, "%lu", i);
2087     }
2088   /* Do not output a trailing newline, as this causes \r\n confusion
2089      on some platforms.  */
2090   return ferror (f) || fclose (f) != 0;
2091
2092   ;
2093   return 0;
2094 }
2095 _ACEOF
2096 if ac_fn_c_try_run "$LINENO"; then :
2097   echo >>conftest.val; read $3 <conftest.val; ac_retval=0
2098 else
2099   ac_retval=1
2100 fi
2101 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
2102   conftest.$ac_objext conftest.beam conftest.$ac_ext
2103 rm -f conftest.val
2104
2105   fi
2106   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2107   as_fn_set_status $ac_retval
2108
2109 } # ac_fn_c_compute_int
2110
2111 # ac_fn_c_check_header_mongrel LINENO HEADER VAR INCLUDES
2112 # -------------------------------------------------------
2113 # Tests whether HEADER exists, giving a warning if it cannot be compiled using
2114 # the include files in INCLUDES and setting the cache variable VAR
2115 # accordingly.
2116 ac_fn_c_check_header_mongrel ()
2117 {
2118   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2119   if eval \${$3+:} false; then :
2120   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2121 $as_echo_n "checking for $2... " >&6; }
2122 if eval \${$3+:} false; then :
2123   $as_echo_n "(cached) " >&6
2124 fi
2125 eval ac_res=\$$3
2126                { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2127 $as_echo "$ac_res" >&6; }
2128 else
2129   # Is the header compilable?
2130 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 usability" >&5
2131 $as_echo_n "checking $2 usability... " >&6; }
2132 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2133 /* end confdefs.h.  */
2134 $4
2135 #include <$2>
2136 _ACEOF
2137 if ac_fn_c_try_compile "$LINENO"; then :
2138   ac_header_compiler=yes
2139 else
2140   ac_header_compiler=no
2141 fi
2142 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2143 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_compiler" >&5
2144 $as_echo "$ac_header_compiler" >&6; }
2145
2146 # Is the header present?
2147 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 presence" >&5
2148 $as_echo_n "checking $2 presence... " >&6; }
2149 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2150 /* end confdefs.h.  */
2151 #include <$2>
2152 _ACEOF
2153 if ac_fn_c_try_cpp "$LINENO"; then :
2154   ac_header_preproc=yes
2155 else
2156   ac_header_preproc=no
2157 fi
2158 rm -f conftest.err conftest.i conftest.$ac_ext
2159 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_preproc" >&5
2160 $as_echo "$ac_header_preproc" >&6; }
2161
2162 # So?  What about this header?
2163 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in #((
2164   yes:no: )
2165     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&5
2166 $as_echo "$as_me: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&2;}
2167     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
2168 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
2169     ;;
2170   no:yes:* )
2171     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: present but cannot be compiled" >&5
2172 $as_echo "$as_me: WARNING: $2: present but cannot be compiled" >&2;}
2173     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2:     check for missing prerequisite headers?" >&5
2174 $as_echo "$as_me: WARNING: $2:     check for missing prerequisite headers?" >&2;}
2175     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: see the Autoconf documentation" >&5
2176 $as_echo "$as_me: WARNING: $2: see the Autoconf documentation" >&2;}
2177     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2:     section \"Present But Cannot Be Compiled\"" >&5
2178 $as_echo "$as_me: WARNING: $2:     section \"Present But Cannot Be Compiled\"" >&2;}
2179     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
2180 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
2181 ( $as_echo "## ------------------------------------------------------------------------------------------- ##
2182 ## Report this to http://bugzilla.gnome.org/enter_bug.cgi?product=glib&component=introspection ##
2183 ## ------------------------------------------------------------------------------------------- ##"
2184      ) | sed "s/^/$as_me: WARNING:     /" >&2
2185     ;;
2186 esac
2187   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2188 $as_echo_n "checking for $2... " >&6; }
2189 if eval \${$3+:} false; then :
2190   $as_echo_n "(cached) " >&6
2191 else
2192   eval "$3=\$ac_header_compiler"
2193 fi
2194 eval ac_res=\$$3
2195                { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2196 $as_echo "$ac_res" >&6; }
2197 fi
2198   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2199
2200 } # ac_fn_c_check_header_mongrel
2201 cat >config.log <<_ACEOF
2202 This file contains any messages produced by compilers while
2203 running configure, to aid debugging if configure makes a mistake.
2204
2205 It was created by gobject-introspection $as_me 1.35.9, which was
2206 generated by GNU Autoconf 2.69.  Invocation command line was
2207
2208   $ $0 $@
2209
2210 _ACEOF
2211 exec 5>>config.log
2212 {
2213 cat <<_ASUNAME
2214 ## --------- ##
2215 ## Platform. ##
2216 ## --------- ##
2217
2218 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
2219 uname -m = `(uname -m) 2>/dev/null || echo unknown`
2220 uname -r = `(uname -r) 2>/dev/null || echo unknown`
2221 uname -s = `(uname -s) 2>/dev/null || echo unknown`
2222 uname -v = `(uname -v) 2>/dev/null || echo unknown`
2223
2224 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
2225 /bin/uname -X     = `(/bin/uname -X) 2>/dev/null     || echo unknown`
2226
2227 /bin/arch              = `(/bin/arch) 2>/dev/null              || echo unknown`
2228 /usr/bin/arch -k       = `(/usr/bin/arch -k) 2>/dev/null       || echo unknown`
2229 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
2230 /usr/bin/hostinfo      = `(/usr/bin/hostinfo) 2>/dev/null      || echo unknown`
2231 /bin/machine           = `(/bin/machine) 2>/dev/null           || echo unknown`
2232 /usr/bin/oslevel       = `(/usr/bin/oslevel) 2>/dev/null       || echo unknown`
2233 /bin/universe          = `(/bin/universe) 2>/dev/null          || echo unknown`
2234
2235 _ASUNAME
2236
2237 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2238 for as_dir in $PATH
2239 do
2240   IFS=$as_save_IFS
2241   test -z "$as_dir" && as_dir=.
2242     $as_echo "PATH: $as_dir"
2243   done
2244 IFS=$as_save_IFS
2245
2246 } >&5
2247
2248 cat >&5 <<_ACEOF
2249
2250
2251 ## ----------- ##
2252 ## Core tests. ##
2253 ## ----------- ##
2254
2255 _ACEOF
2256
2257
2258 # Keep a trace of the command line.
2259 # Strip out --no-create and --no-recursion so they do not pile up.
2260 # Strip out --silent because we don't want to record it for future runs.
2261 # Also quote any args containing shell meta-characters.
2262 # Make two passes to allow for proper duplicate-argument suppression.
2263 ac_configure_args=
2264 ac_configure_args0=
2265 ac_configure_args1=
2266 ac_must_keep_next=false
2267 for ac_pass in 1 2
2268 do
2269   for ac_arg
2270   do
2271     case $ac_arg in
2272     -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
2273     -q | -quiet | --quiet | --quie | --qui | --qu | --q \
2274     | -silent | --silent | --silen | --sile | --sil)
2275       continue ;;
2276     *\'*)
2277       ac_arg=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
2278     esac
2279     case $ac_pass in
2280     1) as_fn_append ac_configure_args0 " '$ac_arg'" ;;
2281     2)
2282       as_fn_append ac_configure_args1 " '$ac_arg'"
2283       if test $ac_must_keep_next = true; then
2284         ac_must_keep_next=false # Got value, back to normal.
2285       else
2286         case $ac_arg in
2287           *=* | --config-cache | -C | -disable-* | --disable-* \
2288           | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
2289           | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
2290           | -with-* | --with-* | -without-* | --without-* | --x)
2291             case "$ac_configure_args0 " in
2292               "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
2293             esac
2294             ;;
2295           -* ) ac_must_keep_next=true ;;
2296         esac
2297       fi
2298       as_fn_append ac_configure_args " '$ac_arg'"
2299       ;;
2300     esac
2301   done
2302 done
2303 { ac_configure_args0=; unset ac_configure_args0;}
2304 { ac_configure_args1=; unset ac_configure_args1;}
2305
2306 # When interrupted or exit'd, cleanup temporary files, and complete
2307 # config.log.  We remove comments because anyway the quotes in there
2308 # would cause problems or look ugly.
2309 # WARNING: Use '\'' to represent an apostrophe within the trap.
2310 # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
2311 trap 'exit_status=$?
2312   # Save into config.log some information that might help in debugging.
2313   {
2314     echo
2315
2316     $as_echo "## ---------------- ##
2317 ## Cache variables. ##
2318 ## ---------------- ##"
2319     echo
2320     # The following way of writing the cache mishandles newlines in values,
2321 (
2322   for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
2323     eval ac_val=\$$ac_var
2324     case $ac_val in #(
2325     *${as_nl}*)
2326       case $ac_var in #(
2327       *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
2328 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
2329       esac
2330       case $ac_var in #(
2331       _ | IFS | as_nl) ;; #(
2332       BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
2333       *) { eval $ac_var=; unset $ac_var;} ;;
2334       esac ;;
2335     esac
2336   done
2337   (set) 2>&1 |
2338     case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
2339     *${as_nl}ac_space=\ *)
2340       sed -n \
2341         "s/'\''/'\''\\\\'\'''\''/g;
2342           s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
2343       ;; #(
2344     *)
2345       sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
2346       ;;
2347     esac |
2348     sort
2349 )
2350     echo
2351
2352     $as_echo "## ----------------- ##
2353 ## Output variables. ##
2354 ## ----------------- ##"
2355     echo
2356     for ac_var in $ac_subst_vars
2357     do
2358       eval ac_val=\$$ac_var
2359       case $ac_val in
2360       *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
2361       esac
2362       $as_echo "$ac_var='\''$ac_val'\''"
2363     done | sort
2364     echo
2365
2366     if test -n "$ac_subst_files"; then
2367       $as_echo "## ------------------- ##
2368 ## File substitutions. ##
2369 ## ------------------- ##"
2370       echo
2371       for ac_var in $ac_subst_files
2372       do
2373         eval ac_val=\$$ac_var
2374         case $ac_val in
2375         *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
2376         esac
2377         $as_echo "$ac_var='\''$ac_val'\''"
2378       done | sort
2379       echo
2380     fi
2381
2382     if test -s confdefs.h; then
2383       $as_echo "## ----------- ##
2384 ## confdefs.h. ##
2385 ## ----------- ##"
2386       echo
2387       cat confdefs.h
2388       echo
2389     fi
2390     test "$ac_signal" != 0 &&
2391       $as_echo "$as_me: caught signal $ac_signal"
2392     $as_echo "$as_me: exit $exit_status"
2393   } >&5
2394   rm -f core *.core core.conftest.* &&
2395     rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
2396     exit $exit_status
2397 ' 0
2398 for ac_signal in 1 2 13 15; do
2399   trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal
2400 done
2401 ac_signal=0
2402
2403 # confdefs.h avoids OS command line length limits that DEFS can exceed.
2404 rm -f -r conftest* confdefs.h
2405
2406 $as_echo "/* confdefs.h */" > confdefs.h
2407
2408 # Predefined preprocessor variables.
2409
2410 cat >>confdefs.h <<_ACEOF
2411 #define PACKAGE_NAME "$PACKAGE_NAME"
2412 _ACEOF
2413
2414 cat >>confdefs.h <<_ACEOF
2415 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
2416 _ACEOF
2417
2418 cat >>confdefs.h <<_ACEOF
2419 #define PACKAGE_VERSION "$PACKAGE_VERSION"
2420 _ACEOF
2421
2422 cat >>confdefs.h <<_ACEOF
2423 #define PACKAGE_STRING "$PACKAGE_STRING"
2424 _ACEOF
2425
2426 cat >>confdefs.h <<_ACEOF
2427 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
2428 _ACEOF
2429
2430 cat >>confdefs.h <<_ACEOF
2431 #define PACKAGE_URL "$PACKAGE_URL"
2432 _ACEOF
2433
2434
2435 # Let the site file select an alternate cache file if it wants to.
2436 # Prefer an explicitly selected file to automatically selected ones.
2437 ac_site_file1=NONE
2438 ac_site_file2=NONE
2439 if test -n "$CONFIG_SITE"; then
2440   # We do not want a PATH search for config.site.
2441   case $CONFIG_SITE in #((
2442     -*)  ac_site_file1=./$CONFIG_SITE;;
2443     */*) ac_site_file1=$CONFIG_SITE;;
2444     *)   ac_site_file1=./$CONFIG_SITE;;
2445   esac
2446 elif test "x$prefix" != xNONE; then
2447   ac_site_file1=$prefix/share/config.site
2448   ac_site_file2=$prefix/etc/config.site
2449 else
2450   ac_site_file1=$ac_default_prefix/share/config.site
2451   ac_site_file2=$ac_default_prefix/etc/config.site
2452 fi
2453 for ac_site_file in "$ac_site_file1" "$ac_site_file2"
2454 do
2455   test "x$ac_site_file" = xNONE && continue
2456   if test /dev/null != "$ac_site_file" && test -r "$ac_site_file"; then
2457     { $as_echo "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5
2458 $as_echo "$as_me: loading site script $ac_site_file" >&6;}
2459     sed 's/^/| /' "$ac_site_file" >&5
2460     . "$ac_site_file" \
2461       || { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2462 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2463 as_fn_error $? "failed to load site script $ac_site_file
2464 See \`config.log' for more details" "$LINENO" 5; }
2465   fi
2466 done
2467
2468 if test -r "$cache_file"; then
2469   # Some versions of bash will fail to source /dev/null (special files
2470   # actually), so we avoid doing that.  DJGPP emulates it as a regular file.
2471   if test /dev/null != "$cache_file" && test -f "$cache_file"; then
2472     { $as_echo "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5
2473 $as_echo "$as_me: loading cache $cache_file" >&6;}
2474     case $cache_file in
2475       [\\/]* | ?:[\\/]* ) . "$cache_file";;
2476       *)                      . "./$cache_file";;
2477     esac
2478   fi
2479 else
2480   { $as_echo "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5
2481 $as_echo "$as_me: creating cache $cache_file" >&6;}
2482   >$cache_file
2483 fi
2484
2485 # Check that the precious variables saved in the cache have kept the same
2486 # value.
2487 ac_cache_corrupted=false
2488 for ac_var in $ac_precious_vars; do
2489   eval ac_old_set=\$ac_cv_env_${ac_var}_set
2490   eval ac_new_set=\$ac_env_${ac_var}_set
2491   eval ac_old_val=\$ac_cv_env_${ac_var}_value
2492   eval ac_new_val=\$ac_env_${ac_var}_value
2493   case $ac_old_set,$ac_new_set in
2494     set,)
2495       { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
2496 $as_echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
2497       ac_cache_corrupted=: ;;
2498     ,set)
2499       { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not set in the previous run" >&5
2500 $as_echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
2501       ac_cache_corrupted=: ;;
2502     ,);;
2503     *)
2504       if test "x$ac_old_val" != "x$ac_new_val"; then
2505         # differences in whitespace do not lead to failure.
2506         ac_old_val_w=`echo x $ac_old_val`
2507         ac_new_val_w=`echo x $ac_new_val`
2508         if test "$ac_old_val_w" != "$ac_new_val_w"; then
2509           { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&5
2510 $as_echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
2511           ac_cache_corrupted=:
2512         else
2513           { $as_echo "$as_me:${as_lineno-$LINENO}: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5
2514 $as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;}
2515           eval $ac_var=\$ac_old_val
2516         fi
2517         { $as_echo "$as_me:${as_lineno-$LINENO}:   former value:  \`$ac_old_val'" >&5
2518 $as_echo "$as_me:   former value:  \`$ac_old_val'" >&2;}
2519         { $as_echo "$as_me:${as_lineno-$LINENO}:   current value: \`$ac_new_val'" >&5
2520 $as_echo "$as_me:   current value: \`$ac_new_val'" >&2;}
2521       fi;;
2522   esac
2523   # Pass precious variables to config.status.
2524   if test "$ac_new_set" = set; then
2525     case $ac_new_val in
2526     *\'*) ac_arg=$ac_var=`$as_echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
2527     *) ac_arg=$ac_var=$ac_new_val ;;
2528     esac
2529     case " $ac_configure_args " in
2530       *" '$ac_arg' "*) ;; # Avoid dups.  Use of quotes ensures accuracy.
2531       *) as_fn_append ac_configure_args " '$ac_arg'" ;;
2532     esac
2533   fi
2534 done
2535 if $ac_cache_corrupted; then
2536   { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2537 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2538   { $as_echo "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5
2539 $as_echo "$as_me: error: changes in the environment can compromise the build" >&2;}
2540   as_fn_error $? "run \`make distclean' and/or \`rm $cache_file' and start over" "$LINENO" 5
2541 fi
2542 ## -------------------- ##
2543 ## Main body of script. ##
2544 ## -------------------- ##
2545
2546 ac_ext=c
2547 ac_cpp='$CPP $CPPFLAGS'
2548 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2549 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2550 ac_compiler_gnu=$ac_cv_c_compiler_gnu
2551
2552
2553
2554 ac_config_headers="$ac_config_headers config.h"
2555
2556
2557 ac_aux_dir=
2558 for ac_dir in build-aux "$srcdir"/build-aux; do
2559   if test -f "$ac_dir/install-sh"; then
2560     ac_aux_dir=$ac_dir
2561     ac_install_sh="$ac_aux_dir/install-sh -c"
2562     break
2563   elif test -f "$ac_dir/install.sh"; then
2564     ac_aux_dir=$ac_dir
2565     ac_install_sh="$ac_aux_dir/install.sh -c"
2566     break
2567   elif test -f "$ac_dir/shtool"; then
2568     ac_aux_dir=$ac_dir
2569     ac_install_sh="$ac_aux_dir/shtool install -c"
2570     break
2571   fi
2572 done
2573 if test -z "$ac_aux_dir"; then
2574   as_fn_error $? "cannot find install-sh, install.sh, or shtool in build-aux \"$srcdir\"/build-aux" "$LINENO" 5
2575 fi
2576
2577 # These three variables are undocumented and unsupported,
2578 # and are intended to be withdrawn in a future Autoconf release.
2579 # They can cause serious problems if a builder's source tree is in a directory
2580 # whose full name contains unusual characters.
2581 ac_config_guess="$SHELL $ac_aux_dir/config.guess"  # Please don't use this var.
2582 ac_config_sub="$SHELL $ac_aux_dir/config.sub"  # Please don't use this var.
2583 ac_configure="$SHELL $ac_aux_dir/configure"  # Please don't use this var.
2584
2585
2586
2587 am__api_version='1.13'
2588
2589 # Find a good install program.  We prefer a C program (faster),
2590 # so one script is as good as another.  But avoid the broken or
2591 # incompatible versions:
2592 # SysV /etc/install, /usr/sbin/install
2593 # SunOS /usr/etc/install
2594 # IRIX /sbin/install
2595 # AIX /bin/install
2596 # AmigaOS /C/install, which installs bootblocks on floppy discs
2597 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
2598 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
2599 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
2600 # OS/2's system install, which has a completely different semantic
2601 # ./install, which can be erroneously created by make from ./install.sh.
2602 # Reject install programs that cannot install multiple files.
2603 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a BSD-compatible install" >&5
2604 $as_echo_n "checking for a BSD-compatible install... " >&6; }
2605 if test -z "$INSTALL"; then
2606 if ${ac_cv_path_install+:} false; then :
2607   $as_echo_n "(cached) " >&6
2608 else
2609   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2610 for as_dir in $PATH
2611 do
2612   IFS=$as_save_IFS
2613   test -z "$as_dir" && as_dir=.
2614     # Account for people who put trailing slashes in PATH elements.
2615 case $as_dir/ in #((
2616   ./ | .// | /[cC]/* | \
2617   /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
2618   ?:[\\/]os2[\\/]install[\\/]* | ?:[\\/]OS2[\\/]INSTALL[\\/]* | \
2619   /usr/ucb/* ) ;;
2620   *)
2621     # OSF1 and SCO ODT 3.0 have their own names for install.
2622     # Don't use installbsd from OSF since it installs stuff as root
2623     # by default.
2624     for ac_prog in ginstall scoinst install; do
2625       for ac_exec_ext in '' $ac_executable_extensions; do
2626         if as_fn_executable_p "$as_dir/$ac_prog$ac_exec_ext"; then
2627           if test $ac_prog = install &&
2628             grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
2629             # AIX install.  It has an incompatible calling convention.
2630             :
2631           elif test $ac_prog = install &&
2632             grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
2633             # program-specific install script used by HP pwplus--don't use.
2634             :
2635           else
2636             rm -rf conftest.one conftest.two conftest.dir
2637             echo one > conftest.one
2638             echo two > conftest.two
2639             mkdir conftest.dir
2640             if "$as_dir/$ac_prog$ac_exec_ext" -c conftest.one conftest.two "`pwd`/conftest.dir" &&
2641               test -s conftest.one && test -s conftest.two &&
2642               test -s conftest.dir/conftest.one &&
2643               test -s conftest.dir/conftest.two
2644             then
2645               ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
2646               break 3
2647             fi
2648           fi
2649         fi
2650       done
2651     done
2652     ;;
2653 esac
2654
2655   done
2656 IFS=$as_save_IFS
2657
2658 rm -rf conftest.one conftest.two conftest.dir
2659
2660 fi
2661   if test "${ac_cv_path_install+set}" = set; then
2662     INSTALL=$ac_cv_path_install
2663   else
2664     # As a last resort, use the slow shell script.  Don't cache a
2665     # value for INSTALL within a source directory, because that will
2666     # break other packages using the cache if that directory is
2667     # removed, or if the value is a relative name.
2668     INSTALL=$ac_install_sh
2669   fi
2670 fi
2671 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $INSTALL" >&5
2672 $as_echo "$INSTALL" >&6; }
2673
2674 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
2675 # It thinks the first close brace ends the variable substitution.
2676 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
2677
2678 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
2679
2680 test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
2681
2682 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether build environment is sane" >&5
2683 $as_echo_n "checking whether build environment is sane... " >&6; }
2684 # Reject unsafe characters in $srcdir or the absolute working directory
2685 # name.  Accept space and tab only in the latter.
2686 am_lf='
2687 '
2688 case `pwd` in
2689   *[\\\"\#\$\&\'\`$am_lf]*)
2690     as_fn_error $? "unsafe absolute working directory name" "$LINENO" 5;;
2691 esac
2692 case $srcdir in
2693   *[\\\"\#\$\&\'\`$am_lf\ \     ]*)
2694     as_fn_error $? "unsafe srcdir value: '$srcdir'" "$LINENO" 5;;
2695 esac
2696
2697 # Do 'set' in a subshell so we don't clobber the current shell's
2698 # arguments.  Must try -L first in case configure is actually a
2699 # symlink; some systems play weird games with the mod time of symlinks
2700 # (eg FreeBSD returns the mod time of the symlink's containing
2701 # directory).
2702 if (
2703    am_has_slept=no
2704    for am_try in 1 2; do
2705      echo "timestamp, slept: $am_has_slept" > conftest.file
2706      set X `ls -Lt "$srcdir/configure" conftest.file 2> /dev/null`
2707      if test "$*" = "X"; then
2708         # -L didn't work.
2709         set X `ls -t "$srcdir/configure" conftest.file`
2710      fi
2711      if test "$*" != "X $srcdir/configure conftest.file" \
2712         && test "$*" != "X conftest.file $srcdir/configure"; then
2713
2714         # If neither matched, then we have a broken ls.  This can happen
2715         # if, for instance, CONFIG_SHELL is bash and it inherits a
2716         # broken ls alias from the environment.  This has actually
2717         # happened.  Such a system could not be considered "sane".
2718         as_fn_error $? "ls -t appears to fail.  Make sure there is not a broken
2719   alias in your environment" "$LINENO" 5
2720      fi
2721      if test "$2" = conftest.file || test $am_try -eq 2; then
2722        break
2723      fi
2724      # Just in case.
2725      sleep 1
2726      am_has_slept=yes
2727    done
2728    test "$2" = conftest.file
2729    )
2730 then
2731    # Ok.
2732    :
2733 else
2734    as_fn_error $? "newly created file is older than distributed files!
2735 Check your system clock" "$LINENO" 5
2736 fi
2737 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
2738 $as_echo "yes" >&6; }
2739 # If we didn't sleep, we still need to ensure time stamps of config.status and
2740 # generated files are strictly newer.
2741 am_sleep_pid=
2742 if grep 'slept: no' conftest.file >/dev/null 2>&1; then
2743   ( sleep 1 ) &
2744   am_sleep_pid=$!
2745 fi
2746
2747 rm -f conftest.file
2748
2749 test "$program_prefix" != NONE &&
2750   program_transform_name="s&^&$program_prefix&;$program_transform_name"
2751 # Use a double $ so make ignores it.
2752 test "$program_suffix" != NONE &&
2753   program_transform_name="s&\$&$program_suffix&;$program_transform_name"
2754 # Double any \ or $.
2755 # By default was `s,x,x', remove it if useless.
2756 ac_script='s/[\\$]/&&/g;s/;s,x,x,$//'
2757 program_transform_name=`$as_echo "$program_transform_name" | sed "$ac_script"`
2758
2759 # expand $ac_aux_dir to an absolute path
2760 am_aux_dir=`cd $ac_aux_dir && pwd`
2761
2762 if test x"${MISSING+set}" != xset; then
2763   case $am_aux_dir in
2764   *\ * | *\     *)
2765     MISSING="\${SHELL} \"$am_aux_dir/missing\"" ;;
2766   *)
2767     MISSING="\${SHELL} $am_aux_dir/missing" ;;
2768   esac
2769 fi
2770 # Use eval to expand $SHELL
2771 if eval "$MISSING --is-lightweight"; then
2772   am_missing_run="$MISSING "
2773 else
2774   am_missing_run=
2775   { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: 'missing' script is too old or missing" >&5
2776 $as_echo "$as_me: WARNING: 'missing' script is too old or missing" >&2;}
2777 fi
2778
2779 if test x"${install_sh}" != xset; then
2780   case $am_aux_dir in
2781   *\ * | *\     *)
2782     install_sh="\${SHELL} '$am_aux_dir/install-sh'" ;;
2783   *)
2784     install_sh="\${SHELL} $am_aux_dir/install-sh"
2785   esac
2786 fi
2787
2788 # Installed binaries are usually stripped using 'strip' when the user
2789 # run "make install-strip".  However 'strip' might not be the right
2790 # tool to use in cross-compilation environments, therefore Automake
2791 # will honor the 'STRIP' environment variable to overrule this program.
2792 if test "$cross_compiling" != no; then
2793   if test -n "$ac_tool_prefix"; then
2794   # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
2795 set dummy ${ac_tool_prefix}strip; ac_word=$2
2796 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2797 $as_echo_n "checking for $ac_word... " >&6; }
2798 if ${ac_cv_prog_STRIP+:} false; then :
2799   $as_echo_n "(cached) " >&6
2800 else
2801   if test -n "$STRIP"; then
2802   ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
2803 else
2804 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2805 for as_dir in $PATH
2806 do
2807   IFS=$as_save_IFS
2808   test -z "$as_dir" && as_dir=.
2809     for ac_exec_ext in '' $ac_executable_extensions; do
2810   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2811     ac_cv_prog_STRIP="${ac_tool_prefix}strip"
2812     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2813     break 2
2814   fi
2815 done
2816   done
2817 IFS=$as_save_IFS
2818
2819 fi
2820 fi
2821 STRIP=$ac_cv_prog_STRIP
2822 if test -n "$STRIP"; then
2823   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
2824 $as_echo "$STRIP" >&6; }
2825 else
2826   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2827 $as_echo "no" >&6; }
2828 fi
2829
2830
2831 fi
2832 if test -z "$ac_cv_prog_STRIP"; then
2833   ac_ct_STRIP=$STRIP
2834   # Extract the first word of "strip", so it can be a program name with args.
2835 set dummy strip; ac_word=$2
2836 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2837 $as_echo_n "checking for $ac_word... " >&6; }
2838 if ${ac_cv_prog_ac_ct_STRIP+:} false; then :
2839   $as_echo_n "(cached) " >&6
2840 else
2841   if test -n "$ac_ct_STRIP"; then
2842   ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
2843 else
2844 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2845 for as_dir in $PATH
2846 do
2847   IFS=$as_save_IFS
2848   test -z "$as_dir" && as_dir=.
2849     for ac_exec_ext in '' $ac_executable_extensions; do
2850   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2851     ac_cv_prog_ac_ct_STRIP="strip"
2852     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2853     break 2
2854   fi
2855 done
2856   done
2857 IFS=$as_save_IFS
2858
2859 fi
2860 fi
2861 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
2862 if test -n "$ac_ct_STRIP"; then
2863   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
2864 $as_echo "$ac_ct_STRIP" >&6; }
2865 else
2866   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2867 $as_echo "no" >&6; }
2868 fi
2869
2870   if test "x$ac_ct_STRIP" = x; then
2871     STRIP=":"
2872   else
2873     case $cross_compiling:$ac_tool_warned in
2874 yes:)
2875 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
2876 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
2877 ac_tool_warned=yes ;;
2878 esac
2879     STRIP=$ac_ct_STRIP
2880   fi
2881 else
2882   STRIP="$ac_cv_prog_STRIP"
2883 fi
2884
2885 fi
2886 INSTALL_STRIP_PROGRAM="\$(install_sh) -c -s"
2887
2888 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a thread-safe mkdir -p" >&5
2889 $as_echo_n "checking for a thread-safe mkdir -p... " >&6; }
2890 if test -z "$MKDIR_P"; then
2891   if ${ac_cv_path_mkdir+:} false; then :
2892   $as_echo_n "(cached) " >&6
2893 else
2894   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2895 for as_dir in $PATH$PATH_SEPARATOR/opt/sfw/bin
2896 do
2897   IFS=$as_save_IFS
2898   test -z "$as_dir" && as_dir=.
2899     for ac_prog in mkdir gmkdir; do
2900          for ac_exec_ext in '' $ac_executable_extensions; do
2901            as_fn_executable_p "$as_dir/$ac_prog$ac_exec_ext" || continue
2902            case `"$as_dir/$ac_prog$ac_exec_ext" --version 2>&1` in #(
2903              'mkdir (GNU coreutils) '* | \
2904              'mkdir (coreutils) '* | \
2905              'mkdir (fileutils) '4.1*)
2906                ac_cv_path_mkdir=$as_dir/$ac_prog$ac_exec_ext
2907                break 3;;
2908            esac
2909          done
2910        done
2911   done
2912 IFS=$as_save_IFS
2913
2914 fi
2915
2916   test -d ./--version && rmdir ./--version
2917   if test "${ac_cv_path_mkdir+set}" = set; then
2918     MKDIR_P="$ac_cv_path_mkdir -p"
2919   else
2920     # As a last resort, use the slow shell script.  Don't cache a
2921     # value for MKDIR_P within a source directory, because that will
2922     # break other packages using the cache if that directory is
2923     # removed, or if the value is a relative name.
2924     MKDIR_P="$ac_install_sh -d"
2925   fi
2926 fi
2927 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MKDIR_P" >&5
2928 $as_echo "$MKDIR_P" >&6; }
2929
2930 for ac_prog in gawk mawk nawk awk
2931 do
2932   # Extract the first word of "$ac_prog", so it can be a program name with args.
2933 set dummy $ac_prog; ac_word=$2
2934 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2935 $as_echo_n "checking for $ac_word... " >&6; }
2936 if ${ac_cv_prog_AWK+:} false; then :
2937   $as_echo_n "(cached) " >&6
2938 else
2939   if test -n "$AWK"; then
2940   ac_cv_prog_AWK="$AWK" # Let the user override the test.
2941 else
2942 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2943 for as_dir in $PATH
2944 do
2945   IFS=$as_save_IFS
2946   test -z "$as_dir" && as_dir=.
2947     for ac_exec_ext in '' $ac_executable_extensions; do
2948   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2949     ac_cv_prog_AWK="$ac_prog"
2950     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2951     break 2
2952   fi
2953 done
2954   done
2955 IFS=$as_save_IFS
2956
2957 fi
2958 fi
2959 AWK=$ac_cv_prog_AWK
2960 if test -n "$AWK"; then
2961   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AWK" >&5
2962 $as_echo "$AWK" >&6; }
2963 else
2964   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2965 $as_echo "no" >&6; }
2966 fi
2967
2968
2969   test -n "$AWK" && break
2970 done
2971
2972 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5
2973 $as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; }
2974 set x ${MAKE-make}
2975 ac_make=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
2976 if eval \${ac_cv_prog_make_${ac_make}_set+:} false; then :
2977   $as_echo_n "(cached) " >&6
2978 else
2979   cat >conftest.make <<\_ACEOF
2980 SHELL = /bin/sh
2981 all:
2982         @echo '@@@%%%=$(MAKE)=@@@%%%'
2983 _ACEOF
2984 # GNU make sometimes prints "make[1]: Entering ...", which would confuse us.
2985 case `${MAKE-make} -f conftest.make 2>/dev/null` in
2986   *@@@%%%=?*=@@@%%%*)
2987     eval ac_cv_prog_make_${ac_make}_set=yes;;
2988   *)
2989     eval ac_cv_prog_make_${ac_make}_set=no;;
2990 esac
2991 rm -f conftest.make
2992 fi
2993 if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then
2994   { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
2995 $as_echo "yes" >&6; }
2996   SET_MAKE=
2997 else
2998   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2999 $as_echo "no" >&6; }
3000   SET_MAKE="MAKE=${MAKE-make}"
3001 fi
3002
3003 rm -rf .tst 2>/dev/null
3004 mkdir .tst 2>/dev/null
3005 if test -d .tst; then
3006   am__leading_dot=.
3007 else
3008   am__leading_dot=_
3009 fi
3010 rmdir .tst 2>/dev/null
3011
3012 # Check whether --enable-silent-rules was given.
3013 if test "${enable_silent_rules+set}" = set; then :
3014   enableval=$enable_silent_rules;
3015 fi
3016
3017 case $enable_silent_rules in # (((
3018   yes) AM_DEFAULT_VERBOSITY=0;;
3019    no) AM_DEFAULT_VERBOSITY=1;;
3020     *) AM_DEFAULT_VERBOSITY=1;;
3021 esac
3022 am_make=${MAKE-make}
3023 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $am_make supports nested variables" >&5
3024 $as_echo_n "checking whether $am_make supports nested variables... " >&6; }
3025 if ${am_cv_make_support_nested_variables+:} false; then :
3026   $as_echo_n "(cached) " >&6
3027 else
3028   if $as_echo 'TRUE=$(BAR$(V))
3029 BAR0=false
3030 BAR1=true
3031 V=1
3032 am__doit:
3033         @$(TRUE)
3034 .PHONY: am__doit' | $am_make -f - >/dev/null 2>&1; then
3035   am_cv_make_support_nested_variables=yes
3036 else
3037   am_cv_make_support_nested_variables=no
3038 fi
3039 fi
3040 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_make_support_nested_variables" >&5
3041 $as_echo "$am_cv_make_support_nested_variables" >&6; }
3042 if test $am_cv_make_support_nested_variables = yes; then
3043     AM_V='$(V)'
3044   AM_DEFAULT_V='$(AM_DEFAULT_VERBOSITY)'
3045 else
3046   AM_V=$AM_DEFAULT_VERBOSITY
3047   AM_DEFAULT_V=$AM_DEFAULT_VERBOSITY
3048 fi
3049 AM_BACKSLASH='\'
3050
3051 if test "`cd $srcdir && pwd`" != "`pwd`"; then
3052   # Use -I$(srcdir) only when $(srcdir) != ., so that make's output
3053   # is not polluted with repeated "-I."
3054   am__isrc=' -I$(srcdir)'
3055   # test to see if srcdir already configured
3056   if test -f $srcdir/config.status; then
3057     as_fn_error $? "source directory already configured; run \"make distclean\" there first" "$LINENO" 5
3058   fi
3059 fi
3060
3061 # test whether we have cygpath
3062 if test -z "$CYGPATH_W"; then
3063   if (cygpath --version) >/dev/null 2>/dev/null; then
3064     CYGPATH_W='cygpath -w'
3065   else
3066     CYGPATH_W=echo
3067   fi
3068 fi
3069
3070
3071 # Define the identity of the package.
3072  PACKAGE='gobject-introspection'
3073  VERSION='1.35.9'
3074
3075
3076 cat >>confdefs.h <<_ACEOF
3077 #define PACKAGE "$PACKAGE"
3078 _ACEOF
3079
3080
3081 cat >>confdefs.h <<_ACEOF
3082 #define VERSION "$VERSION"
3083 _ACEOF
3084
3085 # Some tools Automake needs.
3086
3087 ACLOCAL=${ACLOCAL-"${am_missing_run}aclocal-${am__api_version}"}
3088
3089
3090 AUTOCONF=${AUTOCONF-"${am_missing_run}autoconf"}
3091
3092
3093 AUTOMAKE=${AUTOMAKE-"${am_missing_run}automake-${am__api_version}"}
3094
3095
3096 AUTOHEADER=${AUTOHEADER-"${am_missing_run}autoheader"}
3097
3098
3099 MAKEINFO=${MAKEINFO-"${am_missing_run}makeinfo"}
3100
3101 # For better backward compatibility.  To be removed once Automake 1.9.x
3102 # dies out for good.  For more background, see:
3103 # <http://lists.gnu.org/archive/html/automake/2012-07/msg00001.html>
3104 # <http://lists.gnu.org/archive/html/automake/2012-07/msg00014.html>
3105 mkdir_p='$(MKDIR_P)'
3106
3107 # We need awk for the "check" target.  The system "awk" is bad on
3108 # some platforms.
3109 # Always define AMTAR for backward compatibility.  Yes, it's still used
3110 # in the wild :-(  We should find a proper way to deprecate it ...
3111 AMTAR='$${TAR-tar}'
3112
3113
3114 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to create a ustar tar archive" >&5
3115 $as_echo_n "checking how to create a ustar tar archive... " >&6; }
3116 # Loop over all known methods to create a tar archive until one works.
3117 _am_tools='gnutar plaintar pax cpio none'
3118 _am_tools=${am_cv_prog_tar_ustar-$_am_tools}
3119 # Do not fold the above two line into one, because Tru64 sh and
3120 # Solaris sh will not grok spaces in the rhs of '-'.
3121 for _am_tool in $_am_tools
3122 do
3123   case $_am_tool in
3124   gnutar)
3125     for _am_tar in tar gnutar gtar;
3126     do
3127       { echo "$as_me:$LINENO: $_am_tar --version" >&5
3128    ($_am_tar --version) >&5 2>&5
3129    ac_status=$?
3130    echo "$as_me:$LINENO: \$? = $ac_status" >&5
3131    (exit $ac_status); } && break
3132     done
3133     am__tar="$_am_tar --format=ustar -chf - "'"$$tardir"'
3134     am__tar_="$_am_tar --format=ustar -chf - "'"$tardir"'
3135     am__untar="$_am_tar -xf -"
3136     ;;
3137   plaintar)
3138     # Must skip GNU tar: if it does not support --format= it doesn't create
3139     # ustar tarball either.
3140     (tar --version) >/dev/null 2>&1 && continue
3141     am__tar='tar chf - "$$tardir"'
3142     am__tar_='tar chf - "$tardir"'
3143     am__untar='tar xf -'
3144     ;;
3145   pax)
3146     am__tar='pax -L -x ustar -w "$$tardir"'
3147     am__tar_='pax -L -x ustar -w "$tardir"'
3148     am__untar='pax -r'
3149     ;;
3150   cpio)
3151     am__tar='find "$$tardir" -print | cpio -o -H ustar -L'
3152     am__tar_='find "$tardir" -print | cpio -o -H ustar -L'
3153     am__untar='cpio -i -H ustar -d'
3154     ;;
3155   none)
3156     am__tar=false
3157     am__tar_=false
3158     am__untar=false
3159     ;;
3160   esac
3161
3162   # If the value was cached, stop now.  We just wanted to have am__tar
3163   # and am__untar set.
3164   test -n "${am_cv_prog_tar_ustar}" && break
3165
3166   # tar/untar a dummy directory, and stop if the command works
3167   rm -rf conftest.dir
3168   mkdir conftest.dir
3169   echo GrepMe > conftest.dir/file
3170   { echo "$as_me:$LINENO: tardir=conftest.dir && eval $am__tar_ >conftest.tar" >&5
3171    (tardir=conftest.dir && eval $am__tar_ >conftest.tar) >&5 2>&5
3172    ac_status=$?
3173    echo "$as_me:$LINENO: \$? = $ac_status" >&5
3174    (exit $ac_status); }
3175   rm -rf conftest.dir
3176   if test -s conftest.tar; then
3177     { echo "$as_me:$LINENO: $am__untar <conftest.tar" >&5
3178    ($am__untar <conftest.tar) >&5 2>&5
3179    ac_status=$?
3180    echo "$as_me:$LINENO: \$? = $ac_status" >&5
3181    (exit $ac_status); }
3182     grep GrepMe conftest.dir/file >/dev/null 2>&1 && break
3183   fi
3184 done
3185 rm -rf conftest.dir
3186
3187 if ${am_cv_prog_tar_ustar+:} false; then :
3188   $as_echo_n "(cached) " >&6
3189 else
3190   am_cv_prog_tar_ustar=$_am_tool
3191 fi
3192
3193 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_prog_tar_ustar" >&5
3194 $as_echo "$am_cv_prog_tar_ustar" >&6; }
3195
3196
3197
3198
3199
3200
3201 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to enable maintainer-specific portions of Makefiles" >&5
3202 $as_echo_n "checking whether to enable maintainer-specific portions of Makefiles... " >&6; }
3203     # Check whether --enable-maintainer-mode was given.
3204 if test "${enable_maintainer_mode+set}" = set; then :
3205   enableval=$enable_maintainer_mode; USE_MAINTAINER_MODE=$enableval
3206 else
3207   USE_MAINTAINER_MODE=yes
3208 fi
3209
3210   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $USE_MAINTAINER_MODE" >&5
3211 $as_echo "$USE_MAINTAINER_MODE" >&6; }
3212    if test $USE_MAINTAINER_MODE = yes; then
3213   MAINTAINER_MODE_TRUE=
3214   MAINTAINER_MODE_FALSE='#'
3215 else
3216   MAINTAINER_MODE_TRUE='#'
3217   MAINTAINER_MODE_FALSE=
3218 fi
3219
3220   MAINT=$MAINTAINER_MODE_TRUE
3221
3222
3223
3224 # Check whether --enable-silent-rules was given.
3225 if test "${enable_silent_rules+set}" = set; then :
3226   enableval=$enable_silent_rules;
3227 fi
3228
3229 case $enable_silent_rules in # (((
3230   yes) AM_DEFAULT_VERBOSITY=0;;
3231    no) AM_DEFAULT_VERBOSITY=1;;
3232     *) AM_DEFAULT_VERBOSITY=0;;
3233 esac
3234 am_make=${MAKE-make}
3235 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $am_make supports nested variables" >&5
3236 $as_echo_n "checking whether $am_make supports nested variables... " >&6; }
3237 if ${am_cv_make_support_nested_variables+:} false; then :
3238   $as_echo_n "(cached) " >&6
3239 else
3240   if $as_echo 'TRUE=$(BAR$(V))
3241 BAR0=false
3242 BAR1=true
3243 V=1
3244 am__doit:
3245         @$(TRUE)
3246 .PHONY: am__doit' | $am_make -f - >/dev/null 2>&1; then
3247   am_cv_make_support_nested_variables=yes
3248 else
3249   am_cv_make_support_nested_variables=no
3250 fi
3251 fi
3252 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_make_support_nested_variables" >&5
3253 $as_echo "$am_cv_make_support_nested_variables" >&6; }
3254 if test $am_cv_make_support_nested_variables = yes; then
3255     AM_V='$(V)'
3256   AM_DEFAULT_V='$(AM_DEFAULT_VERBOSITY)'
3257 else
3258   AM_V=$AM_DEFAULT_VERBOSITY
3259   AM_DEFAULT_V=$AM_DEFAULT_VERBOSITY
3260 fi
3261 AM_BACKSLASH='\'
3262
3263
3264 # Check for Win32
3265 # Make sure we can run config.sub.
3266 $SHELL "$ac_aux_dir/config.sub" sun4 >/dev/null 2>&1 ||
3267   as_fn_error $? "cannot run $SHELL $ac_aux_dir/config.sub" "$LINENO" 5
3268
3269 { $as_echo "$as_me:${as_lineno-$LINENO}: checking build system type" >&5
3270 $as_echo_n "checking build system type... " >&6; }
3271 if ${ac_cv_build+:} false; then :
3272   $as_echo_n "(cached) " >&6
3273 else
3274   ac_build_alias=$build_alias
3275 test "x$ac_build_alias" = x &&
3276   ac_build_alias=`$SHELL "$ac_aux_dir/config.guess"`
3277 test "x$ac_build_alias" = x &&
3278   as_fn_error $? "cannot guess build type; you must specify one" "$LINENO" 5
3279 ac_cv_build=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
3280   as_fn_error $? "$SHELL $ac_aux_dir/config.sub $ac_build_alias failed" "$LINENO" 5
3281
3282 fi
3283 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_build" >&5
3284 $as_echo "$ac_cv_build" >&6; }
3285 case $ac_cv_build in
3286 *-*-*) ;;
3287 *) as_fn_error $? "invalid value of canonical build" "$LINENO" 5;;
3288 esac
3289 build=$ac_cv_build
3290 ac_save_IFS=$IFS; IFS='-'
3291 set x $ac_cv_build
3292 shift
3293 build_cpu=$1
3294 build_vendor=$2
3295 shift; shift
3296 # Remember, the first character of IFS is used to create $*,
3297 # except with old shells:
3298 build_os=$*
3299 IFS=$ac_save_IFS
3300 case $build_os in *\ *) build_os=`echo "$build_os" | sed 's/ /-/g'`;; esac
3301
3302
3303 { $as_echo "$as_me:${as_lineno-$LINENO}: checking host system type" >&5
3304 $as_echo_n "checking host system type... " >&6; }
3305 if ${ac_cv_host+:} false; then :
3306   $as_echo_n "(cached) " >&6
3307 else
3308   if test "x$host_alias" = x; then
3309   ac_cv_host=$ac_cv_build
3310 else
3311   ac_cv_host=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
3312     as_fn_error $? "$SHELL $ac_aux_dir/config.sub $host_alias failed" "$LINENO" 5
3313 fi
3314
3315 fi
3316 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_host" >&5
3317 $as_echo "$ac_cv_host" >&6; }
3318 case $ac_cv_host in
3319 *-*-*) ;;
3320 *) as_fn_error $? "invalid value of canonical host" "$LINENO" 5;;
3321 esac
3322 host=$ac_cv_host
3323 ac_save_IFS=$IFS; IFS='-'
3324 set x $ac_cv_host
3325 shift
3326 host_cpu=$1
3327 host_vendor=$2
3328 shift; shift
3329 # Remember, the first character of IFS is used to create $*,
3330 # except with old shells:
3331 host_os=$*
3332 IFS=$ac_save_IFS
3333 case $host_os in *\ *) host_os=`echo "$host_os" | sed 's/ /-/g'`;; esac
3334
3335
3336 case "$host" in
3337 *-*-mingw*)
3338         os_win32=yes
3339         ;;
3340 *)
3341         os_win32=no
3342         ;;
3343 esac
3344  if test "x$os_win32" = "xyes"; then
3345   OS_WIN32_TRUE=
3346   OS_WIN32_FALSE='#'
3347 else
3348   OS_WIN32_TRUE='#'
3349   OS_WIN32_FALSE=
3350 fi
3351
3352
3353 # Checks for programs.
3354 ac_ext=c
3355 ac_cpp='$CPP $CPPFLAGS'
3356 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3357 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3358 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3359 if test -n "$ac_tool_prefix"; then
3360   # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
3361 set dummy ${ac_tool_prefix}gcc; ac_word=$2
3362 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3363 $as_echo_n "checking for $ac_word... " >&6; }
3364 if ${ac_cv_prog_CC+:} false; then :
3365   $as_echo_n "(cached) " >&6
3366 else
3367   if test -n "$CC"; then
3368   ac_cv_prog_CC="$CC" # Let the user override the test.
3369 else
3370 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3371 for as_dir in $PATH
3372 do
3373   IFS=$as_save_IFS
3374   test -z "$as_dir" && as_dir=.
3375     for ac_exec_ext in '' $ac_executable_extensions; do
3376   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3377     ac_cv_prog_CC="${ac_tool_prefix}gcc"
3378     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3379     break 2
3380   fi
3381 done
3382   done
3383 IFS=$as_save_IFS
3384
3385 fi
3386 fi
3387 CC=$ac_cv_prog_CC
3388 if test -n "$CC"; then
3389   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3390 $as_echo "$CC" >&6; }
3391 else
3392   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3393 $as_echo "no" >&6; }
3394 fi
3395
3396
3397 fi
3398 if test -z "$ac_cv_prog_CC"; then
3399   ac_ct_CC=$CC
3400   # Extract the first word of "gcc", so it can be a program name with args.
3401 set dummy gcc; ac_word=$2
3402 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3403 $as_echo_n "checking for $ac_word... " >&6; }
3404 if ${ac_cv_prog_ac_ct_CC+:} false; then :
3405   $as_echo_n "(cached) " >&6
3406 else
3407   if test -n "$ac_ct_CC"; then
3408   ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
3409 else
3410 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3411 for as_dir in $PATH
3412 do
3413   IFS=$as_save_IFS
3414   test -z "$as_dir" && as_dir=.
3415     for ac_exec_ext in '' $ac_executable_extensions; do
3416   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3417     ac_cv_prog_ac_ct_CC="gcc"
3418     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3419     break 2
3420   fi
3421 done
3422   done
3423 IFS=$as_save_IFS
3424
3425 fi
3426 fi
3427 ac_ct_CC=$ac_cv_prog_ac_ct_CC
3428 if test -n "$ac_ct_CC"; then
3429   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
3430 $as_echo "$ac_ct_CC" >&6; }
3431 else
3432   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3433 $as_echo "no" >&6; }
3434 fi
3435
3436   if test "x$ac_ct_CC" = x; then
3437     CC=""
3438   else
3439     case $cross_compiling:$ac_tool_warned in
3440 yes:)
3441 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3442 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3443 ac_tool_warned=yes ;;
3444 esac
3445     CC=$ac_ct_CC
3446   fi
3447 else
3448   CC="$ac_cv_prog_CC"
3449 fi
3450
3451 if test -z "$CC"; then
3452           if test -n "$ac_tool_prefix"; then
3453     # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
3454 set dummy ${ac_tool_prefix}cc; ac_word=$2
3455 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3456 $as_echo_n "checking for $ac_word... " >&6; }
3457 if ${ac_cv_prog_CC+:} false; then :
3458   $as_echo_n "(cached) " >&6
3459 else
3460   if test -n "$CC"; then
3461   ac_cv_prog_CC="$CC" # Let the user override the test.
3462 else
3463 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3464 for as_dir in $PATH
3465 do
3466   IFS=$as_save_IFS
3467   test -z "$as_dir" && as_dir=.
3468     for ac_exec_ext in '' $ac_executable_extensions; do
3469   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3470     ac_cv_prog_CC="${ac_tool_prefix}cc"
3471     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3472     break 2
3473   fi
3474 done
3475   done
3476 IFS=$as_save_IFS
3477
3478 fi
3479 fi
3480 CC=$ac_cv_prog_CC
3481 if test -n "$CC"; then
3482   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3483 $as_echo "$CC" >&6; }
3484 else
3485   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3486 $as_echo "no" >&6; }
3487 fi
3488
3489
3490   fi
3491 fi
3492 if test -z "$CC"; then
3493   # Extract the first word of "cc", so it can be a program name with args.
3494 set dummy cc; ac_word=$2
3495 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3496 $as_echo_n "checking for $ac_word... " >&6; }
3497 if ${ac_cv_prog_CC+:} false; then :
3498   $as_echo_n "(cached) " >&6
3499 else
3500   if test -n "$CC"; then
3501   ac_cv_prog_CC="$CC" # Let the user override the test.
3502 else
3503   ac_prog_rejected=no
3504 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3505 for as_dir in $PATH
3506 do
3507   IFS=$as_save_IFS
3508   test -z "$as_dir" && as_dir=.
3509     for ac_exec_ext in '' $ac_executable_extensions; do
3510   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3511     if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
3512        ac_prog_rejected=yes
3513        continue
3514      fi
3515     ac_cv_prog_CC="cc"
3516     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3517     break 2
3518   fi
3519 done
3520   done
3521 IFS=$as_save_IFS
3522
3523 if test $ac_prog_rejected = yes; then
3524   # We found a bogon in the path, so make sure we never use it.
3525   set dummy $ac_cv_prog_CC
3526   shift
3527   if test $# != 0; then
3528     # We chose a different compiler from the bogus one.
3529     # However, it has the same basename, so the bogon will be chosen
3530     # first if we set CC to just the basename; use the full file name.
3531     shift
3532     ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
3533   fi
3534 fi
3535 fi
3536 fi
3537 CC=$ac_cv_prog_CC
3538 if test -n "$CC"; then
3539   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3540 $as_echo "$CC" >&6; }
3541 else
3542   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3543 $as_echo "no" >&6; }
3544 fi
3545
3546
3547 fi
3548 if test -z "$CC"; then
3549   if test -n "$ac_tool_prefix"; then
3550   for ac_prog in cl.exe
3551   do
3552     # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
3553 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
3554 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3555 $as_echo_n "checking for $ac_word... " >&6; }
3556 if ${ac_cv_prog_CC+:} false; then :
3557   $as_echo_n "(cached) " >&6
3558 else
3559   if test -n "$CC"; then
3560   ac_cv_prog_CC="$CC" # Let the user override the test.
3561 else
3562 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3563 for as_dir in $PATH
3564 do
3565   IFS=$as_save_IFS
3566   test -z "$as_dir" && as_dir=.
3567     for ac_exec_ext in '' $ac_executable_extensions; do
3568   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3569     ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
3570     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3571     break 2
3572   fi
3573 done
3574   done
3575 IFS=$as_save_IFS
3576
3577 fi
3578 fi
3579 CC=$ac_cv_prog_CC
3580 if test -n "$CC"; then
3581   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3582 $as_echo "$CC" >&6; }
3583 else
3584   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3585 $as_echo "no" >&6; }
3586 fi
3587
3588
3589     test -n "$CC" && break
3590   done
3591 fi
3592 if test -z "$CC"; then
3593   ac_ct_CC=$CC
3594   for ac_prog in cl.exe
3595 do
3596   # Extract the first word of "$ac_prog", so it can be a program name with args.
3597 set dummy $ac_prog; ac_word=$2
3598 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3599 $as_echo_n "checking for $ac_word... " >&6; }
3600 if ${ac_cv_prog_ac_ct_CC+:} false; then :
3601   $as_echo_n "(cached) " >&6
3602 else
3603   if test -n "$ac_ct_CC"; then
3604   ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
3605 else
3606 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3607 for as_dir in $PATH
3608 do
3609   IFS=$as_save_IFS
3610   test -z "$as_dir" && as_dir=.
3611     for ac_exec_ext in '' $ac_executable_extensions; do
3612   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3613     ac_cv_prog_ac_ct_CC="$ac_prog"
3614     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3615     break 2
3616   fi
3617 done
3618   done
3619 IFS=$as_save_IFS
3620
3621 fi
3622 fi
3623 ac_ct_CC=$ac_cv_prog_ac_ct_CC
3624 if test -n "$ac_ct_CC"; then
3625   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
3626 $as_echo "$ac_ct_CC" >&6; }
3627 else
3628   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3629 $as_echo "no" >&6; }
3630 fi
3631
3632
3633   test -n "$ac_ct_CC" && break
3634 done
3635
3636   if test "x$ac_ct_CC" = x; then
3637     CC=""
3638   else
3639     case $cross_compiling:$ac_tool_warned in
3640 yes:)
3641 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3642 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3643 ac_tool_warned=yes ;;
3644 esac
3645     CC=$ac_ct_CC
3646   fi
3647 fi
3648
3649 fi
3650
3651
3652 test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3653 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3654 as_fn_error $? "no acceptable C compiler found in \$PATH
3655 See \`config.log' for more details" "$LINENO" 5; }
3656
3657 # Provide some information about the compiler.
3658 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
3659 set X $ac_compile
3660 ac_compiler=$2
3661 for ac_option in --version -v -V -qversion; do
3662   { { ac_try="$ac_compiler $ac_option >&5"
3663 case "(($ac_try" in
3664   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3665   *) ac_try_echo=$ac_try;;
3666 esac
3667 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3668 $as_echo "$ac_try_echo"; } >&5
3669   (eval "$ac_compiler $ac_option >&5") 2>conftest.err
3670   ac_status=$?
3671   if test -s conftest.err; then
3672     sed '10a\
3673 ... rest of stderr output deleted ...
3674          10q' conftest.err >conftest.er1
3675     cat conftest.er1 >&5
3676   fi
3677   rm -f conftest.er1 conftest.err
3678   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3679   test $ac_status = 0; }
3680 done
3681
3682 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3683 /* end confdefs.h.  */
3684
3685 int
3686 main ()
3687 {
3688
3689   ;
3690   return 0;
3691 }
3692 _ACEOF
3693 ac_clean_files_save=$ac_clean_files
3694 ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out"
3695 # Try to create an executable without -o first, disregard a.out.
3696 # It will help us diagnose broken compilers, and finding out an intuition
3697 # of exeext.
3698 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler works" >&5
3699 $as_echo_n "checking whether the C compiler works... " >&6; }
3700 ac_link_default=`$as_echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
3701
3702 # The possible output files:
3703 ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*"
3704
3705 ac_rmfiles=
3706 for ac_file in $ac_files
3707 do
3708   case $ac_file in
3709     *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
3710     * ) ac_rmfiles="$ac_rmfiles $ac_file";;
3711   esac
3712 done
3713 rm -f $ac_rmfiles
3714
3715 if { { ac_try="$ac_link_default"
3716 case "(($ac_try" in
3717   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3718   *) ac_try_echo=$ac_try;;
3719 esac
3720 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3721 $as_echo "$ac_try_echo"; } >&5
3722   (eval "$ac_link_default") 2>&5
3723   ac_status=$?
3724   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3725   test $ac_status = 0; }; then :
3726   # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
3727 # So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
3728 # in a Makefile.  We should not override ac_cv_exeext if it was cached,
3729 # so that the user can short-circuit this test for compilers unknown to
3730 # Autoconf.
3731 for ac_file in $ac_files ''
3732 do
3733   test -f "$ac_file" || continue
3734   case $ac_file in
3735     *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj )
3736         ;;
3737     [ab].out )
3738         # We found the default executable, but exeext='' is most
3739         # certainly right.
3740         break;;
3741     *.* )
3742         if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no;
3743         then :; else
3744            ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
3745         fi
3746         # We set ac_cv_exeext here because the later test for it is not
3747         # safe: cross compilers may not add the suffix if given an `-o'
3748         # argument, so we may need to know it at that point already.
3749         # Even if this section looks crufty: it has the advantage of
3750         # actually working.
3751         break;;
3752     * )
3753         break;;
3754   esac
3755 done
3756 test "$ac_cv_exeext" = no && ac_cv_exeext=
3757
3758 else
3759   ac_file=''
3760 fi
3761 if test -z "$ac_file"; then :
3762   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3763 $as_echo "no" >&6; }
3764 $as_echo "$as_me: failed program was:" >&5
3765 sed 's/^/| /' conftest.$ac_ext >&5
3766
3767 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3768 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3769 as_fn_error 77 "C compiler cannot create executables
3770 See \`config.log' for more details" "$LINENO" 5; }
3771 else
3772   { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
3773 $as_echo "yes" >&6; }
3774 fi
3775 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler default output file name" >&5
3776 $as_echo_n "checking for C compiler default output file name... " >&6; }
3777 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5
3778 $as_echo "$ac_file" >&6; }
3779 ac_exeext=$ac_cv_exeext
3780
3781 rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out
3782 ac_clean_files=$ac_clean_files_save
3783 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5
3784 $as_echo_n "checking for suffix of executables... " >&6; }
3785 if { { ac_try="$ac_link"
3786 case "(($ac_try" in
3787   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3788   *) ac_try_echo=$ac_try;;
3789 esac
3790 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3791 $as_echo "$ac_try_echo"; } >&5
3792   (eval "$ac_link") 2>&5
3793   ac_status=$?
3794   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3795   test $ac_status = 0; }; then :
3796   # If both `conftest.exe' and `conftest' are `present' (well, observable)
3797 # catch `conftest.exe'.  For instance with Cygwin, `ls conftest' will
3798 # work properly (i.e., refer to `conftest.exe'), while it won't with
3799 # `rm'.
3800 for ac_file in conftest.exe conftest conftest.*; do
3801   test -f "$ac_file" || continue
3802   case $ac_file in
3803     *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
3804     *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
3805           break;;
3806     * ) break;;
3807   esac
3808 done
3809 else
3810   { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3811 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3812 as_fn_error $? "cannot compute suffix of executables: cannot compile and link
3813 See \`config.log' for more details" "$LINENO" 5; }
3814 fi
3815 rm -f conftest conftest$ac_cv_exeext
3816 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5
3817 $as_echo "$ac_cv_exeext" >&6; }
3818
3819 rm -f conftest.$ac_ext
3820 EXEEXT=$ac_cv_exeext
3821 ac_exeext=$EXEEXT
3822 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3823 /* end confdefs.h.  */
3824 #include <stdio.h>
3825 int
3826 main ()
3827 {
3828 FILE *f = fopen ("conftest.out", "w");
3829  return ferror (f) || fclose (f) != 0;
3830
3831   ;
3832   return 0;
3833 }
3834 _ACEOF
3835 ac_clean_files="$ac_clean_files conftest.out"
3836 # Check that the compiler produces executables we can run.  If not, either
3837 # the compiler is broken, or we cross compile.
3838 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5
3839 $as_echo_n "checking whether we are cross compiling... " >&6; }
3840 if test "$cross_compiling" != yes; then
3841   { { ac_try="$ac_link"
3842 case "(($ac_try" in
3843   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3844   *) ac_try_echo=$ac_try;;
3845 esac
3846 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3847 $as_echo "$ac_try_echo"; } >&5
3848   (eval "$ac_link") 2>&5
3849   ac_status=$?
3850   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3851   test $ac_status = 0; }
3852   if { ac_try='./conftest$ac_cv_exeext'
3853   { { case "(($ac_try" in
3854   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3855   *) ac_try_echo=$ac_try;;
3856 esac
3857 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3858 $as_echo "$ac_try_echo"; } >&5
3859   (eval "$ac_try") 2>&5
3860   ac_status=$?
3861   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3862   test $ac_status = 0; }; }; then
3863     cross_compiling=no
3864   else
3865     if test "$cross_compiling" = maybe; then
3866         cross_compiling=yes
3867     else
3868         { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3869 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3870 as_fn_error $? "cannot run C compiled programs.
3871 If you meant to cross compile, use \`--host'.
3872 See \`config.log' for more details" "$LINENO" 5; }
3873     fi
3874   fi
3875 fi
3876 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5
3877 $as_echo "$cross_compiling" >&6; }
3878
3879 rm -f conftest.$ac_ext conftest$ac_cv_exeext conftest.out
3880 ac_clean_files=$ac_clean_files_save
3881 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5
3882 $as_echo_n "checking for suffix of object files... " >&6; }
3883 if ${ac_cv_objext+:} false; then :
3884   $as_echo_n "(cached) " >&6
3885 else
3886   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3887 /* end confdefs.h.  */
3888
3889 int
3890 main ()
3891 {
3892
3893   ;
3894   return 0;
3895 }
3896 _ACEOF
3897 rm -f conftest.o conftest.obj
3898 if { { ac_try="$ac_compile"
3899 case "(($ac_try" in
3900   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3901   *) ac_try_echo=$ac_try;;
3902 esac
3903 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3904 $as_echo "$ac_try_echo"; } >&5
3905   (eval "$ac_compile") 2>&5
3906   ac_status=$?
3907   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3908   test $ac_status = 0; }; then :
3909   for ac_file in conftest.o conftest.obj conftest.*; do
3910   test -f "$ac_file" || continue;
3911   case $ac_file in
3912     *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;;
3913     *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
3914        break;;
3915   esac
3916 done
3917 else
3918   $as_echo "$as_me: failed program was:" >&5
3919 sed 's/^/| /' conftest.$ac_ext >&5
3920
3921 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3922 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3923 as_fn_error $? "cannot compute suffix of object files: cannot compile
3924 See \`config.log' for more details" "$LINENO" 5; }
3925 fi
3926 rm -f conftest.$ac_cv_objext conftest.$ac_ext
3927 fi
3928 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5
3929 $as_echo "$ac_cv_objext" >&6; }
3930 OBJEXT=$ac_cv_objext
3931 ac_objext=$OBJEXT
3932 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
3933 $as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
3934 if ${ac_cv_c_compiler_gnu+:} false; then :
3935   $as_echo_n "(cached) " >&6
3936 else
3937   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3938 /* end confdefs.h.  */
3939
3940 int
3941 main ()
3942 {
3943 #ifndef __GNUC__
3944        choke me
3945 #endif
3946
3947   ;
3948   return 0;
3949 }
3950 _ACEOF
3951 if ac_fn_c_try_compile "$LINENO"; then :
3952   ac_compiler_gnu=yes
3953 else
3954   ac_compiler_gnu=no
3955 fi
3956 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3957 ac_cv_c_compiler_gnu=$ac_compiler_gnu
3958
3959 fi
3960 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
3961 $as_echo "$ac_cv_c_compiler_gnu" >&6; }
3962 if test $ac_compiler_gnu = yes; then
3963   GCC=yes
3964 else
3965   GCC=
3966 fi
3967 ac_test_CFLAGS=${CFLAGS+set}
3968 ac_save_CFLAGS=$CFLAGS
3969 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
3970 $as_echo_n "checking whether $CC accepts -g... " >&6; }
3971 if ${ac_cv_prog_cc_g+:} false; then :
3972   $as_echo_n "(cached) " >&6
3973 else
3974   ac_save_c_werror_flag=$ac_c_werror_flag
3975    ac_c_werror_flag=yes
3976    ac_cv_prog_cc_g=no
3977    CFLAGS="-g"
3978    cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3979 /* end confdefs.h.  */
3980
3981 int
3982 main ()
3983 {
3984
3985   ;
3986   return 0;
3987 }
3988 _ACEOF
3989 if ac_fn_c_try_compile "$LINENO"; then :
3990   ac_cv_prog_cc_g=yes
3991 else
3992   CFLAGS=""
3993       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3994 /* end confdefs.h.  */
3995
3996 int
3997 main ()
3998 {
3999
4000   ;
4001   return 0;
4002 }
4003 _ACEOF
4004 if ac_fn_c_try_compile "$LINENO"; then :
4005
4006 else
4007   ac_c_werror_flag=$ac_save_c_werror_flag
4008          CFLAGS="-g"
4009          cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4010 /* end confdefs.h.  */
4011
4012 int
4013 main ()
4014 {
4015
4016   ;
4017   return 0;
4018 }
4019 _ACEOF
4020 if ac_fn_c_try_compile "$LINENO"; then :
4021   ac_cv_prog_cc_g=yes
4022 fi
4023 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4024 fi
4025 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4026 fi
4027 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4028    ac_c_werror_flag=$ac_save_c_werror_flag
4029 fi
4030 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
4031 $as_echo "$ac_cv_prog_cc_g" >&6; }
4032 if test "$ac_test_CFLAGS" = set; then
4033   CFLAGS=$ac_save_CFLAGS
4034 elif test $ac_cv_prog_cc_g = yes; then
4035   if test "$GCC" = yes; then
4036     CFLAGS="-g -O2"
4037   else
4038     CFLAGS="-g"
4039   fi
4040 else
4041   if test "$GCC" = yes; then
4042     CFLAGS="-O2"
4043   else
4044     CFLAGS=
4045   fi
4046 fi
4047 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
4048 $as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
4049 if ${ac_cv_prog_cc_c89+:} false; then :
4050   $as_echo_n "(cached) " >&6
4051 else
4052   ac_cv_prog_cc_c89=no
4053 ac_save_CC=$CC
4054 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4055 /* end confdefs.h.  */
4056 #include <stdarg.h>
4057 #include <stdio.h>
4058 struct stat;
4059 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh.  */
4060 struct buf { int x; };
4061 FILE * (*rcsopen) (struct buf *, struct stat *, int);
4062 static char *e (p, i)
4063      char **p;
4064      int i;
4065 {
4066   return p[i];
4067 }
4068 static char *f (char * (*g) (char **, int), char **p, ...)
4069 {
4070   char *s;
4071   va_list v;
4072   va_start (v,p);
4073   s = g (p, va_arg (v,int));
4074   va_end (v);
4075   return s;
4076 }
4077
4078 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default.  It has
4079    function prototypes and stuff, but not '\xHH' hex character constants.
4080    These don't provoke an error unfortunately, instead are silently treated
4081    as 'x'.  The following induces an error, until -std is added to get
4082    proper ANSI mode.  Curiously '\x00'!='x' always comes out true, for an
4083    array size at least.  It's necessary to write '\x00'==0 to get something
4084    that's true only with -std.  */
4085 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
4086
4087 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
4088    inside strings and character constants.  */
4089 #define FOO(x) 'x'
4090 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
4091
4092 int test (int i, double x);
4093 struct s1 {int (*f) (int a);};
4094 struct s2 {int (*f) (double a);};
4095 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
4096 int argc;
4097 char **argv;
4098 int
4099 main ()
4100 {
4101 return f (e, argv, 0) != argv[0]  ||  f (e, argv, 1) != argv[1];
4102   ;
4103   return 0;
4104 }
4105 _ACEOF
4106 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
4107         -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
4108 do
4109   CC="$ac_save_CC $ac_arg"
4110   if ac_fn_c_try_compile "$LINENO"; then :
4111   ac_cv_prog_cc_c89=$ac_arg
4112 fi
4113 rm -f core conftest.err conftest.$ac_objext
4114   test "x$ac_cv_prog_cc_c89" != "xno" && break
4115 done
4116 rm -f conftest.$ac_ext
4117 CC=$ac_save_CC
4118
4119 fi
4120 # AC_CACHE_VAL
4121 case "x$ac_cv_prog_cc_c89" in
4122   x)
4123     { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
4124 $as_echo "none needed" >&6; } ;;
4125   xno)
4126     { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
4127 $as_echo "unsupported" >&6; } ;;
4128   *)
4129     CC="$CC $ac_cv_prog_cc_c89"
4130     { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
4131 $as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
4132 esac
4133 if test "x$ac_cv_prog_cc_c89" != xno; then :
4134
4135 fi
4136
4137 ac_ext=c
4138 ac_cpp='$CPP $CPPFLAGS'
4139 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4140 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4141 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4142 DEPDIR="${am__leading_dot}deps"
4143
4144 ac_config_commands="$ac_config_commands depfiles"
4145
4146
4147 am_make=${MAKE-make}
4148 cat > confinc << 'END'
4149 am__doit:
4150         @echo this is the am__doit target
4151 .PHONY: am__doit
4152 END
4153 # If we don't find an include directive, just comment out the code.
4154 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for style of include used by $am_make" >&5
4155 $as_echo_n "checking for style of include used by $am_make... " >&6; }
4156 am__include="#"
4157 am__quote=
4158 _am_result=none
4159 # First try GNU make style include.
4160 echo "include confinc" > confmf
4161 # Ignore all kinds of additional output from 'make'.
4162 case `$am_make -s -f confmf 2> /dev/null` in #(
4163 *the\ am__doit\ target*)
4164   am__include=include
4165   am__quote=
4166   _am_result=GNU
4167   ;;
4168 esac
4169 # Now try BSD make style include.
4170 if test "$am__include" = "#"; then
4171    echo '.include "confinc"' > confmf
4172    case `$am_make -s -f confmf 2> /dev/null` in #(
4173    *the\ am__doit\ target*)
4174      am__include=.include
4175      am__quote="\""
4176      _am_result=BSD
4177      ;;
4178    esac
4179 fi
4180
4181
4182 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $_am_result" >&5
4183 $as_echo "$_am_result" >&6; }
4184 rm -f confinc confmf
4185
4186 # Check whether --enable-dependency-tracking was given.
4187 if test "${enable_dependency_tracking+set}" = set; then :
4188   enableval=$enable_dependency_tracking;
4189 fi
4190
4191 if test "x$enable_dependency_tracking" != xno; then
4192   am_depcomp="$ac_aux_dir/depcomp"
4193   AMDEPBACKSLASH='\'
4194   am__nodep='_no'
4195 fi
4196  if test "x$enable_dependency_tracking" != xno; then
4197   AMDEP_TRUE=
4198   AMDEP_FALSE='#'
4199 else
4200   AMDEP_TRUE='#'
4201   AMDEP_FALSE=
4202 fi
4203
4204
4205
4206 depcc="$CC"   am_compiler_list=
4207
4208 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5
4209 $as_echo_n "checking dependency style of $depcc... " >&6; }
4210 if ${am_cv_CC_dependencies_compiler_type+:} false; then :
4211   $as_echo_n "(cached) " >&6
4212 else
4213   if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
4214   # We make a subdir and do the tests there.  Otherwise we can end up
4215   # making bogus files that we don't know about and never remove.  For
4216   # instance it was reported that on HP-UX the gcc test will end up
4217   # making a dummy file named 'D' -- because '-MD' means "put the output
4218   # in D".
4219   rm -rf conftest.dir
4220   mkdir conftest.dir
4221   # Copy depcomp to subdir because otherwise we won't find it if we're
4222   # using a relative directory.
4223   cp "$am_depcomp" conftest.dir
4224   cd conftest.dir
4225   # We will build objects and dependencies in a subdirectory because
4226   # it helps to detect inapplicable dependency modes.  For instance
4227   # both Tru64's cc and ICC support -MD to output dependencies as a
4228   # side effect of compilation, but ICC will put the dependencies in
4229   # the current directory while Tru64 will put them in the object
4230   # directory.
4231   mkdir sub
4232
4233   am_cv_CC_dependencies_compiler_type=none
4234   if test "$am_compiler_list" = ""; then
4235      am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
4236   fi
4237   am__universal=false
4238   case " $depcc " in #(
4239      *\ -arch\ *\ -arch\ *) am__universal=true ;;
4240      esac
4241
4242   for depmode in $am_compiler_list; do
4243     # Setup a source with many dependencies, because some compilers
4244     # like to wrap large dependency lists on column 80 (with \), and
4245     # we should not choose a depcomp mode which is confused by this.
4246     #
4247     # We need to recreate these files for each test, as the compiler may
4248     # overwrite some of them when testing with obscure command lines.
4249     # This happens at least with the AIX C compiler.
4250     : > sub/conftest.c
4251     for i in 1 2 3 4 5 6; do
4252       echo '#include "conftst'$i'.h"' >> sub/conftest.c
4253       # Using ": > sub/conftst$i.h" creates only sub/conftst1.h with
4254       # Solaris 10 /bin/sh.
4255       echo '/* dummy */' > sub/conftst$i.h
4256     done
4257     echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
4258
4259     # We check with '-c' and '-o' for the sake of the "dashmstdout"
4260     # mode.  It turns out that the SunPro C++ compiler does not properly
4261     # handle '-M -o', and we need to detect this.  Also, some Intel
4262     # versions had trouble with output in subdirs.
4263     am__obj=sub/conftest.${OBJEXT-o}
4264     am__minus_obj="-o $am__obj"
4265     case $depmode in
4266     gcc)
4267       # This depmode causes a compiler race in universal mode.
4268       test "$am__universal" = false || continue
4269       ;;
4270     nosideeffect)
4271       # After this tag, mechanisms are not by side-effect, so they'll
4272       # only be used when explicitly requested.
4273       if test "x$enable_dependency_tracking" = xyes; then
4274         continue
4275       else
4276         break
4277       fi
4278       ;;
4279     msvc7 | msvc7msys | msvisualcpp | msvcmsys)
4280       # This compiler won't grok '-c -o', but also, the minuso test has
4281       # not run yet.  These depmodes are late enough in the game, and
4282       # so weak that their functioning should not be impacted.
4283       am__obj=conftest.${OBJEXT-o}
4284       am__minus_obj=
4285       ;;
4286     none) break ;;
4287     esac
4288     if depmode=$depmode \
4289        source=sub/conftest.c object=$am__obj \
4290        depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
4291        $SHELL ./depcomp $depcc -c $am__minus_obj sub/conftest.c \
4292          >/dev/null 2>conftest.err &&
4293        grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 &&
4294        grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
4295        grep $am__obj sub/conftest.Po > /dev/null 2>&1 &&
4296        ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
4297       # icc doesn't choke on unknown options, it will just issue warnings
4298       # or remarks (even with -Werror).  So we grep stderr for any message
4299       # that says an option was ignored or not supported.
4300       # When given -MP, icc 7.0 and 7.1 complain thusly:
4301       #   icc: Command line warning: ignoring option '-M'; no argument required
4302       # The diagnosis changed in icc 8.0:
4303       #   icc: Command line remark: option '-MP' not supported
4304       if (grep 'ignoring option' conftest.err ||
4305           grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
4306         am_cv_CC_dependencies_compiler_type=$depmode
4307         break
4308       fi
4309     fi
4310   done
4311
4312   cd ..
4313   rm -rf conftest.dir
4314 else
4315   am_cv_CC_dependencies_compiler_type=none
4316 fi
4317
4318 fi
4319 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_CC_dependencies_compiler_type" >&5
4320 $as_echo "$am_cv_CC_dependencies_compiler_type" >&6; }
4321 CCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type
4322
4323  if
4324   test "x$enable_dependency_tracking" != xno \
4325   && test "$am_cv_CC_dependencies_compiler_type" = gcc3; then
4326   am__fastdepCC_TRUE=
4327   am__fastdepCC_FALSE='#'
4328 else
4329   am__fastdepCC_TRUE='#'
4330   am__fastdepCC_FALSE=
4331 fi
4332
4333
4334 if test "x$CC" != xcc; then
4335   { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC and cc understand -c and -o together" >&5
4336 $as_echo_n "checking whether $CC and cc understand -c and -o together... " >&6; }
4337 else
4338   { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether cc understands -c and -o together" >&5
4339 $as_echo_n "checking whether cc understands -c and -o together... " >&6; }
4340 fi
4341 set dummy $CC; ac_cc=`$as_echo "$2" |
4342                       sed 's/[^a-zA-Z0-9_]/_/g;s/^[0-9]/_/'`
4343 if eval \${ac_cv_prog_cc_${ac_cc}_c_o+:} false; then :
4344   $as_echo_n "(cached) " >&6
4345 else
4346   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4347 /* end confdefs.h.  */
4348
4349 int
4350 main ()
4351 {
4352
4353   ;
4354   return 0;
4355 }
4356 _ACEOF
4357 # Make sure it works both with $CC and with simple cc.
4358 # We do the test twice because some compilers refuse to overwrite an
4359 # existing .o file with -o, though they will create one.
4360 ac_try='$CC -c conftest.$ac_ext -o conftest2.$ac_objext >&5'
4361 rm -f conftest2.*
4362 if { { case "(($ac_try" in
4363   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4364   *) ac_try_echo=$ac_try;;
4365 esac
4366 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4367 $as_echo "$ac_try_echo"; } >&5
4368   (eval "$ac_try") 2>&5
4369   ac_status=$?
4370   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4371   test $ac_status = 0; } &&
4372    test -f conftest2.$ac_objext && { { case "(($ac_try" in
4373   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4374   *) ac_try_echo=$ac_try;;
4375 esac
4376 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4377 $as_echo "$ac_try_echo"; } >&5
4378   (eval "$ac_try") 2>&5
4379   ac_status=$?
4380   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4381   test $ac_status = 0; };
4382 then
4383   eval ac_cv_prog_cc_${ac_cc}_c_o=yes
4384   if test "x$CC" != xcc; then
4385     # Test first that cc exists at all.
4386     if { ac_try='cc -c conftest.$ac_ext >&5'
4387   { { case "(($ac_try" in
4388   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4389   *) ac_try_echo=$ac_try;;
4390 esac
4391 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4392 $as_echo "$ac_try_echo"; } >&5
4393   (eval "$ac_try") 2>&5
4394   ac_status=$?
4395   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4396   test $ac_status = 0; }; }; then
4397       ac_try='cc -c conftest.$ac_ext -o conftest2.$ac_objext >&5'
4398       rm -f conftest2.*
4399       if { { case "(($ac_try" in
4400   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4401   *) ac_try_echo=$ac_try;;
4402 esac
4403 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4404 $as_echo "$ac_try_echo"; } >&5
4405   (eval "$ac_try") 2>&5
4406   ac_status=$?
4407   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4408   test $ac_status = 0; } &&
4409          test -f conftest2.$ac_objext && { { case "(($ac_try" in
4410   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4411   *) ac_try_echo=$ac_try;;
4412 esac
4413 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4414 $as_echo "$ac_try_echo"; } >&5
4415   (eval "$ac_try") 2>&5
4416   ac_status=$?
4417   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4418   test $ac_status = 0; };
4419       then
4420         # cc works too.
4421         :
4422       else
4423         # cc exists but doesn't like -o.
4424         eval ac_cv_prog_cc_${ac_cc}_c_o=no
4425       fi
4426     fi
4427   fi
4428 else
4429   eval ac_cv_prog_cc_${ac_cc}_c_o=no
4430 fi
4431 rm -f core conftest*
4432
4433 fi
4434 if eval test \$ac_cv_prog_cc_${ac_cc}_c_o = yes; then
4435   { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
4436 $as_echo "yes" >&6; }
4437 else
4438   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4439 $as_echo "no" >&6; }
4440
4441 $as_echo "#define NO_MINUS_C_MINUS_O 1" >>confdefs.h
4442
4443 fi
4444
4445 # FIXME: we rely on the cache variable name because
4446 # there is no other way.
4447 set dummy $CC
4448 am_cc=`echo $2 | sed 's/[^a-zA-Z0-9_]/_/g;s/^[0-9]/_/'`
4449 eval am_t=\$ac_cv_prog_cc_${am_cc}_c_o
4450 if test "$am_t" != yes; then
4451    # Losing compiler, so override with the script.
4452    # FIXME: It is wrong to rewrite CC.
4453    # But if we don't then we get into trouble of one sort or another.
4454    # A longer-term fix would be to have automake use am__CC in this case,
4455    # and then we could set am__CC="\$(top_srcdir)/compile \$(CC)"
4456    CC="$am_aux_dir/compile $CC"
4457 fi
4458
4459
4460
4461
4462 # Initialize libtool
4463
4464 case `pwd` in
4465   *\ * | *\     *)
4466     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Libtool does not cope well with whitespace in \`pwd\`" >&5
4467 $as_echo "$as_me: WARNING: Libtool does not cope well with whitespace in \`pwd\`" >&2;} ;;
4468 esac
4469
4470
4471
4472 macro_version='2.4.2'
4473 macro_revision='1.3337'
4474
4475
4476
4477
4478
4479
4480
4481
4482
4483
4484
4485
4486
4487 ltmain="$ac_aux_dir/ltmain.sh"
4488
4489 # Backslashify metacharacters that are still active within
4490 # double-quoted strings.
4491 sed_quote_subst='s/\(["`$\\]\)/\\\1/g'
4492
4493 # Same as above, but do not quote variable references.
4494 double_quote_subst='s/\(["`\\]\)/\\\1/g'
4495
4496 # Sed substitution to delay expansion of an escaped shell variable in a
4497 # double_quote_subst'ed string.
4498 delay_variable_subst='s/\\\\\\\\\\\$/\\\\\\$/g'
4499
4500 # Sed substitution to delay expansion of an escaped single quote.
4501 delay_single_quote_subst='s/'\''/'\'\\\\\\\'\''/g'
4502
4503 # Sed substitution to avoid accidental globbing in evaled expressions
4504 no_glob_subst='s/\*/\\\*/g'
4505
4506 ECHO='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
4507 ECHO=$ECHO$ECHO$ECHO$ECHO$ECHO
4508 ECHO=$ECHO$ECHO$ECHO$ECHO$ECHO$ECHO
4509
4510 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to print strings" >&5
4511 $as_echo_n "checking how to print strings... " >&6; }
4512 # Test print first, because it will be a builtin if present.
4513 if test "X`( print -r -- -n ) 2>/dev/null`" = X-n && \
4514    test "X`print -r -- $ECHO 2>/dev/null`" = "X$ECHO"; then
4515   ECHO='print -r --'
4516 elif test "X`printf %s $ECHO 2>/dev/null`" = "X$ECHO"; then
4517   ECHO='printf %s\n'
4518 else
4519   # Use this function as a fallback that always works.
4520   func_fallback_echo ()
4521   {
4522     eval 'cat <<_LTECHO_EOF
4523 $1
4524 _LTECHO_EOF'
4525   }
4526   ECHO='func_fallback_echo'
4527 fi
4528
4529 # func_echo_all arg...
4530 # Invoke $ECHO with all args, space-separated.
4531 func_echo_all ()
4532 {
4533     $ECHO ""
4534 }
4535
4536 case "$ECHO" in
4537   printf*) { $as_echo "$as_me:${as_lineno-$LINENO}: result: printf" >&5
4538 $as_echo "printf" >&6; } ;;
4539   print*) { $as_echo "$as_me:${as_lineno-$LINENO}: result: print -r" >&5
4540 $as_echo "print -r" >&6; } ;;
4541   *) { $as_echo "$as_me:${as_lineno-$LINENO}: result: cat" >&5
4542 $as_echo "cat" >&6; } ;;
4543 esac
4544
4545
4546
4547
4548
4549
4550
4551
4552
4553
4554
4555
4556
4557
4558 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a sed that does not truncate output" >&5
4559 $as_echo_n "checking for a sed that does not truncate output... " >&6; }
4560 if ${ac_cv_path_SED+:} false; then :
4561   $as_echo_n "(cached) " >&6
4562 else
4563             ac_script=s/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa/bbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbb/
4564      for ac_i in 1 2 3 4 5 6 7; do
4565        ac_script="$ac_script$as_nl$ac_script"
4566      done
4567      echo "$ac_script" 2>/dev/null | sed 99q >conftest.sed
4568      { ac_script=; unset ac_script;}
4569      if test -z "$SED"; then
4570   ac_path_SED_found=false
4571   # Loop through the user's path and test for each of PROGNAME-LIST
4572   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4573 for as_dir in $PATH
4574 do
4575   IFS=$as_save_IFS
4576   test -z "$as_dir" && as_dir=.
4577     for ac_prog in sed gsed; do
4578     for ac_exec_ext in '' $ac_executable_extensions; do
4579       ac_path_SED="$as_dir/$ac_prog$ac_exec_ext"
4580       as_fn_executable_p "$ac_path_SED" || continue
4581 # Check for GNU ac_path_SED and select it if it is found.
4582   # Check for GNU $ac_path_SED
4583 case `"$ac_path_SED" --version 2>&1` in
4584 *GNU*)
4585   ac_cv_path_SED="$ac_path_SED" ac_path_SED_found=:;;
4586 *)
4587   ac_count=0
4588   $as_echo_n 0123456789 >"conftest.in"
4589   while :
4590   do
4591     cat "conftest.in" "conftest.in" >"conftest.tmp"
4592     mv "conftest.tmp" "conftest.in"
4593     cp "conftest.in" "conftest.nl"
4594     $as_echo '' >> "conftest.nl"
4595     "$ac_path_SED" -f conftest.sed < "conftest.nl" >"conftest.out" 2>/dev/null || break
4596     diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
4597     as_fn_arith $ac_count + 1 && ac_count=$as_val
4598     if test $ac_count -gt ${ac_path_SED_max-0}; then
4599       # Best one so far, save it but keep looking for a better one
4600       ac_cv_path_SED="$ac_path_SED"
4601       ac_path_SED_max=$ac_count
4602     fi
4603     # 10*(2^10) chars as input seems more than enough
4604     test $ac_count -gt 10 && break
4605   done
4606   rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
4607 esac
4608
4609       $ac_path_SED_found && break 3
4610     done
4611   done
4612   done
4613 IFS=$as_save_IFS
4614   if test -z "$ac_cv_path_SED"; then
4615     as_fn_error $? "no acceptable sed could be found in \$PATH" "$LINENO" 5
4616   fi
4617 else
4618   ac_cv_path_SED=$SED
4619 fi
4620
4621 fi
4622 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_SED" >&5
4623 $as_echo "$ac_cv_path_SED" >&6; }
4624  SED="$ac_cv_path_SED"
4625   rm -f conftest.sed
4626
4627 test -z "$SED" && SED=sed
4628 Xsed="$SED -e 1s/^X//"
4629
4630
4631
4632
4633
4634
4635
4636
4637
4638
4639
4640 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for grep that handles long lines and -e" >&5
4641 $as_echo_n "checking for grep that handles long lines and -e... " >&6; }
4642 if ${ac_cv_path_GREP+:} false; then :
4643   $as_echo_n "(cached) " >&6
4644 else
4645   if test -z "$GREP"; then
4646   ac_path_GREP_found=false
4647   # Loop through the user's path and test for each of PROGNAME-LIST
4648   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4649 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
4650 do
4651   IFS=$as_save_IFS
4652   test -z "$as_dir" && as_dir=.
4653     for ac_prog in grep ggrep; do
4654     for ac_exec_ext in '' $ac_executable_extensions; do
4655       ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext"
4656       as_fn_executable_p "$ac_path_GREP" || continue
4657 # Check for GNU ac_path_GREP and select it if it is found.
4658   # Check for GNU $ac_path_GREP
4659 case `"$ac_path_GREP" --version 2>&1` in
4660 *GNU*)
4661   ac_cv_path_GREP="$ac_path_GREP" ac_path_GREP_found=:;;
4662 *)
4663   ac_count=0
4664   $as_echo_n 0123456789 >"conftest.in"
4665   while :
4666   do
4667     cat "conftest.in" "conftest.in" >"conftest.tmp"
4668     mv "conftest.tmp" "conftest.in"
4669     cp "conftest.in" "conftest.nl"
4670     $as_echo 'GREP' >> "conftest.nl"
4671     "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev/null || break
4672     diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
4673     as_fn_arith $ac_count + 1 && ac_count=$as_val
4674     if test $ac_count -gt ${ac_path_GREP_max-0}; then
4675       # Best one so far, save it but keep looking for a better one
4676       ac_cv_path_GREP="$ac_path_GREP"
4677       ac_path_GREP_max=$ac_count
4678     fi
4679     # 10*(2^10) chars as input seems more than enough
4680     test $ac_count -gt 10 && break
4681   done
4682   rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
4683 esac
4684
4685       $ac_path_GREP_found && break 3
4686     done
4687   done
4688   done
4689 IFS=$as_save_IFS
4690   if test -z "$ac_cv_path_GREP"; then
4691     as_fn_error $? "no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
4692   fi
4693 else
4694   ac_cv_path_GREP=$GREP
4695 fi
4696
4697 fi
4698 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_GREP" >&5
4699 $as_echo "$ac_cv_path_GREP" >&6; }
4700  GREP="$ac_cv_path_GREP"
4701
4702
4703 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for egrep" >&5
4704 $as_echo_n "checking for egrep... " >&6; }
4705 if ${ac_cv_path_EGREP+:} false; then :
4706   $as_echo_n "(cached) " >&6
4707 else
4708   if echo a | $GREP -E '(a|b)' >/dev/null 2>&1
4709    then ac_cv_path_EGREP="$GREP -E"
4710    else
4711      if test -z "$EGREP"; then
4712   ac_path_EGREP_found=false
4713   # Loop through the user's path and test for each of PROGNAME-LIST
4714   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4715 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
4716 do
4717   IFS=$as_save_IFS
4718   test -z "$as_dir" && as_dir=.
4719     for ac_prog in egrep; do
4720     for ac_exec_ext in '' $ac_executable_extensions; do
4721       ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext"
4722       as_fn_executable_p "$ac_path_EGREP" || continue
4723 # Check for GNU ac_path_EGREP and select it if it is found.
4724   # Check for GNU $ac_path_EGREP
4725 case `"$ac_path_EGREP" --version 2>&1` in
4726 *GNU*)
4727   ac_cv_path_EGREP="$ac_path_EGREP" ac_path_EGREP_found=:;;
4728 *)
4729   ac_count=0
4730   $as_echo_n 0123456789 >"conftest.in"
4731   while :
4732   do
4733     cat "conftest.in" "conftest.in" >"conftest.tmp"
4734     mv "conftest.tmp" "conftest.in"
4735     cp "conftest.in" "conftest.nl"
4736     $as_echo 'EGREP' >> "conftest.nl"
4737     "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev/null || break
4738     diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
4739     as_fn_arith $ac_count + 1 && ac_count=$as_val
4740     if test $ac_count -gt ${ac_path_EGREP_max-0}; then
4741       # Best one so far, save it but keep looking for a better one
4742       ac_cv_path_EGREP="$ac_path_EGREP"
4743       ac_path_EGREP_max=$ac_count
4744     fi
4745     # 10*(2^10) chars as input seems more than enough
4746     test $ac_count -gt 10 && break
4747   done
4748   rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
4749 esac
4750
4751       $ac_path_EGREP_found && break 3
4752     done
4753   done
4754   done
4755 IFS=$as_save_IFS
4756   if test -z "$ac_cv_path_EGREP"; then
4757     as_fn_error $? "no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
4758   fi
4759 else
4760   ac_cv_path_EGREP=$EGREP
4761 fi
4762
4763    fi
4764 fi
4765 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_EGREP" >&5
4766 $as_echo "$ac_cv_path_EGREP" >&6; }
4767  EGREP="$ac_cv_path_EGREP"
4768
4769
4770 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fgrep" >&5
4771 $as_echo_n "checking for fgrep... " >&6; }
4772 if ${ac_cv_path_FGREP+:} false; then :
4773   $as_echo_n "(cached) " >&6
4774 else
4775   if echo 'ab*c' | $GREP -F 'ab*c' >/dev/null 2>&1
4776    then ac_cv_path_FGREP="$GREP -F"
4777    else
4778      if test -z "$FGREP"; then
4779   ac_path_FGREP_found=false
4780   # Loop through the user's path and test for each of PROGNAME-LIST
4781   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4782 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
4783 do
4784   IFS=$as_save_IFS
4785   test -z "$as_dir" && as_dir=.
4786     for ac_prog in fgrep; do
4787     for ac_exec_ext in '' $ac_executable_extensions; do
4788       ac_path_FGREP="$as_dir/$ac_prog$ac_exec_ext"
4789       as_fn_executable_p "$ac_path_FGREP" || continue
4790 # Check for GNU ac_path_FGREP and select it if it is found.
4791   # Check for GNU $ac_path_FGREP
4792 case `"$ac_path_FGREP" --version 2>&1` in
4793 *GNU*)
4794   ac_cv_path_FGREP="$ac_path_FGREP" ac_path_FGREP_found=:;;
4795 *)
4796   ac_count=0
4797   $as_echo_n 0123456789 >"conftest.in"
4798   while :
4799   do
4800     cat "conftest.in" "conftest.in" >"conftest.tmp"
4801     mv "conftest.tmp" "conftest.in"
4802     cp "conftest.in" "conftest.nl"
4803     $as_echo 'FGREP' >> "conftest.nl"
4804     "$ac_path_FGREP" FGREP < "conftest.nl" >"conftest.out" 2>/dev/null || break
4805     diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
4806     as_fn_arith $ac_count + 1 && ac_count=$as_val
4807     if test $ac_count -gt ${ac_path_FGREP_max-0}; then
4808       # Best one so far, save it but keep looking for a better one
4809       ac_cv_path_FGREP="$ac_path_FGREP"
4810       ac_path_FGREP_max=$ac_count
4811     fi
4812     # 10*(2^10) chars as input seems more than enough
4813     test $ac_count -gt 10 && break
4814   done
4815   rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
4816 esac
4817
4818       $ac_path_FGREP_found && break 3
4819     done
4820   done
4821   done
4822 IFS=$as_save_IFS
4823   if test -z "$ac_cv_path_FGREP"; then
4824     as_fn_error $? "no acceptable fgrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
4825   fi
4826 else
4827   ac_cv_path_FGREP=$FGREP
4828 fi
4829
4830    fi
4831 fi
4832 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_FGREP" >&5
4833 $as_echo "$ac_cv_path_FGREP" >&6; }
4834  FGREP="$ac_cv_path_FGREP"
4835
4836
4837 test -z "$GREP" && GREP=grep
4838
4839
4840
4841
4842
4843
4844
4845
4846
4847
4848
4849
4850
4851
4852
4853
4854
4855
4856
4857 # Check whether --with-gnu-ld was given.
4858 if test "${with_gnu_ld+set}" = set; then :
4859   withval=$with_gnu_ld; test "$withval" = no || with_gnu_ld=yes
4860 else
4861   with_gnu_ld=no
4862 fi
4863
4864 ac_prog=ld
4865 if test "$GCC" = yes; then
4866   # Check if gcc -print-prog-name=ld gives a path.
4867   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld used by $CC" >&5
4868 $as_echo_n "checking for ld used by $CC... " >&6; }
4869   case $host in
4870   *-*-mingw*)
4871     # gcc leaves a trailing carriage return which upsets mingw
4872     ac_prog=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
4873   *)
4874     ac_prog=`($CC -print-prog-name=ld) 2>&5` ;;
4875   esac
4876   case $ac_prog in
4877     # Accept absolute paths.
4878     [\\/]* | ?:[\\/]*)
4879       re_direlt='/[^/][^/]*/\.\./'
4880       # Canonicalize the pathname of ld
4881       ac_prog=`$ECHO "$ac_prog"| $SED 's%\\\\%/%g'`
4882       while $ECHO "$ac_prog" | $GREP "$re_direlt" > /dev/null 2>&1; do
4883         ac_prog=`$ECHO $ac_prog| $SED "s%$re_direlt%/%"`
4884       done
4885       test -z "$LD" && LD="$ac_prog"
4886       ;;
4887   "")
4888     # If it fails, then pretend we aren't using GCC.
4889     ac_prog=ld
4890     ;;
4891   *)
4892     # If it is relative, then search for the first ld in PATH.
4893     with_gnu_ld=unknown
4894     ;;
4895   esac
4896 elif test "$with_gnu_ld" = yes; then
4897   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU ld" >&5
4898 $as_echo_n "checking for GNU ld... " >&6; }
4899 else
4900   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for non-GNU ld" >&5
4901 $as_echo_n "checking for non-GNU ld... " >&6; }
4902 fi
4903 if ${lt_cv_path_LD+:} false; then :
4904   $as_echo_n "(cached) " >&6
4905 else
4906   if test -z "$LD"; then
4907   lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
4908   for ac_dir in $PATH; do
4909     IFS="$lt_save_ifs"
4910     test -z "$ac_dir" && ac_dir=.
4911     if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then
4912       lt_cv_path_LD="$ac_dir/$ac_prog"
4913       # Check to see if the program is GNU ld.  I'd rather use --version,
4914       # but apparently some variants of GNU ld only accept -v.
4915       # Break only if it was the GNU/non-GNU ld that we prefer.
4916       case `"$lt_cv_path_LD" -v 2>&1 </dev/null` in
4917       *GNU* | *'with BFD'*)
4918         test "$with_gnu_ld" != no && break
4919         ;;
4920       *)
4921         test "$with_gnu_ld" != yes && break
4922         ;;
4923       esac
4924     fi
4925   done
4926   IFS="$lt_save_ifs"
4927 else
4928   lt_cv_path_LD="$LD" # Let the user override the test with a path.
4929 fi
4930 fi
4931
4932 LD="$lt_cv_path_LD"
4933 if test -n "$LD"; then
4934   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LD" >&5
4935 $as_echo "$LD" >&6; }
4936 else
4937   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4938 $as_echo "no" >&6; }
4939 fi
4940 test -z "$LD" && as_fn_error $? "no acceptable ld found in \$PATH" "$LINENO" 5
4941 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if the linker ($LD) is GNU ld" >&5
4942 $as_echo_n "checking if the linker ($LD) is GNU ld... " >&6; }
4943 if ${lt_cv_prog_gnu_ld+:} false; then :
4944   $as_echo_n "(cached) " >&6
4945 else
4946   # I'd rather use --version here, but apparently some GNU lds only accept -v.
4947 case `$LD -v 2>&1 </dev/null` in
4948 *GNU* | *'with BFD'*)
4949   lt_cv_prog_gnu_ld=yes
4950   ;;
4951 *)
4952   lt_cv_prog_gnu_ld=no
4953   ;;
4954 esac
4955 fi
4956 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_gnu_ld" >&5
4957 $as_echo "$lt_cv_prog_gnu_ld" >&6; }
4958 with_gnu_ld=$lt_cv_prog_gnu_ld
4959
4960
4961
4962
4963
4964
4965
4966
4967
4968 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for BSD- or MS-compatible name lister (nm)" >&5
4969 $as_echo_n "checking for BSD- or MS-compatible name lister (nm)... " >&6; }
4970 if ${lt_cv_path_NM+:} false; then :
4971   $as_echo_n "(cached) " >&6
4972 else
4973   if test -n "$NM"; then
4974   # Let the user override the test.
4975   lt_cv_path_NM="$NM"
4976 else
4977   lt_nm_to_check="${ac_tool_prefix}nm"
4978   if test -n "$ac_tool_prefix" && test "$build" = "$host"; then
4979     lt_nm_to_check="$lt_nm_to_check nm"
4980   fi
4981   for lt_tmp_nm in $lt_nm_to_check; do
4982     lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
4983     for ac_dir in $PATH /usr/ccs/bin/elf /usr/ccs/bin /usr/ucb /bin; do
4984       IFS="$lt_save_ifs"
4985       test -z "$ac_dir" && ac_dir=.
4986       tmp_nm="$ac_dir/$lt_tmp_nm"
4987       if test -f "$tmp_nm" || test -f "$tmp_nm$ac_exeext" ; then
4988         # Check to see if the nm accepts a BSD-compat flag.
4989         # Adding the `sed 1q' prevents false positives on HP-UX, which says:
4990         #   nm: unknown option "B" ignored
4991         # Tru64's nm complains that /dev/null is an invalid object file
4992         case `"$tmp_nm" -B /dev/null 2>&1 | sed '1q'` in
4993         */dev/null* | *'Invalid file or object type'*)
4994           lt_cv_path_NM="$tmp_nm -B"
4995           break
4996           ;;
4997         *)
4998           case `"$tmp_nm" -p /dev/null 2>&1 | sed '1q'` in
4999           */dev/null*)
5000             lt_cv_path_NM="$tmp_nm -p"
5001             break
5002             ;;
5003           *)
5004             lt_cv_path_NM=${lt_cv_path_NM="$tmp_nm"} # keep the first match, but
5005             continue # so that we can try to find one that supports BSD flags
5006             ;;
5007           esac
5008           ;;
5009         esac
5010       fi
5011     done
5012     IFS="$lt_save_ifs"
5013   done
5014   : ${lt_cv_path_NM=no}
5015 fi
5016 fi
5017 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_path_NM" >&5
5018 $as_echo "$lt_cv_path_NM" >&6; }
5019 if test "$lt_cv_path_NM" != "no"; then
5020   NM="$lt_cv_path_NM"
5021 else
5022   # Didn't find any BSD compatible name lister, look for dumpbin.
5023   if test -n "$DUMPBIN"; then :
5024     # Let the user override the test.
5025   else
5026     if test -n "$ac_tool_prefix"; then
5027   for ac_prog in dumpbin "link -dump"
5028   do
5029     # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
5030 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
5031 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5032 $as_echo_n "checking for $ac_word... " >&6; }
5033 if ${ac_cv_prog_DUMPBIN+:} false; then :
5034   $as_echo_n "(cached) " >&6
5035 else
5036   if test -n "$DUMPBIN"; then
5037   ac_cv_prog_DUMPBIN="$DUMPBIN" # Let the user override the test.
5038 else
5039 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5040 for as_dir in $PATH
5041 do
5042   IFS=$as_save_IFS
5043   test -z "$as_dir" && as_dir=.
5044     for ac_exec_ext in '' $ac_executable_extensions; do
5045   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5046     ac_cv_prog_DUMPBIN="$ac_tool_prefix$ac_prog"
5047     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5048     break 2
5049   fi
5050 done
5051   done
5052 IFS=$as_save_IFS
5053
5054 fi
5055 fi
5056 DUMPBIN=$ac_cv_prog_DUMPBIN
5057 if test -n "$DUMPBIN"; then
5058   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DUMPBIN" >&5
5059 $as_echo "$DUMPBIN" >&6; }
5060 else
5061   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5062 $as_echo "no" >&6; }
5063 fi
5064
5065
5066     test -n "$DUMPBIN" && break
5067   done
5068 fi
5069 if test -z "$DUMPBIN"; then
5070   ac_ct_DUMPBIN=$DUMPBIN
5071   for ac_prog in dumpbin "link -dump"
5072 do
5073   # Extract the first word of "$ac_prog", so it can be a program name with args.
5074 set dummy $ac_prog; ac_word=$2
5075 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5076 $as_echo_n "checking for $ac_word... " >&6; }
5077 if ${ac_cv_prog_ac_ct_DUMPBIN+:} false; then :
5078   $as_echo_n "(cached) " >&6
5079 else
5080   if test -n "$ac_ct_DUMPBIN"; then
5081   ac_cv_prog_ac_ct_DUMPBIN="$ac_ct_DUMPBIN" # Let the user override the test.
5082 else
5083 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5084 for as_dir in $PATH
5085 do
5086   IFS=$as_save_IFS
5087   test -z "$as_dir" && as_dir=.
5088     for ac_exec_ext in '' $ac_executable_extensions; do
5089   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5090     ac_cv_prog_ac_ct_DUMPBIN="$ac_prog"
5091     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5092     break 2
5093   fi
5094 done
5095   done
5096 IFS=$as_save_IFS
5097
5098 fi
5099 fi
5100 ac_ct_DUMPBIN=$ac_cv_prog_ac_ct_DUMPBIN
5101 if test -n "$ac_ct_DUMPBIN"; then
5102   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DUMPBIN" >&5
5103 $as_echo "$ac_ct_DUMPBIN" >&6; }
5104 else
5105   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5106 $as_echo "no" >&6; }
5107 fi
5108
5109
5110   test -n "$ac_ct_DUMPBIN" && break
5111 done
5112
5113   if test "x$ac_ct_DUMPBIN" = x; then
5114     DUMPBIN=":"
5115   else
5116     case $cross_compiling:$ac_tool_warned in
5117 yes:)
5118 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5119 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5120 ac_tool_warned=yes ;;
5121 esac
5122     DUMPBIN=$ac_ct_DUMPBIN
5123   fi
5124 fi
5125
5126     case `$DUMPBIN -symbols /dev/null 2>&1 | sed '1q'` in
5127     *COFF*)
5128       DUMPBIN="$DUMPBIN -symbols"
5129       ;;
5130     *)
5131       DUMPBIN=:
5132       ;;
5133     esac
5134   fi
5135
5136   if test "$DUMPBIN" != ":"; then
5137     NM="$DUMPBIN"
5138   fi
5139 fi
5140 test -z "$NM" && NM=nm
5141
5142
5143
5144
5145
5146
5147 { $as_echo "$as_me:${as_lineno-$LINENO}: checking the name lister ($NM) interface" >&5
5148 $as_echo_n "checking the name lister ($NM) interface... " >&6; }
5149 if ${lt_cv_nm_interface+:} false; then :
5150   $as_echo_n "(cached) " >&6
5151 else
5152   lt_cv_nm_interface="BSD nm"
5153   echo "int some_variable = 0;" > conftest.$ac_ext
5154   (eval echo "\"\$as_me:$LINENO: $ac_compile\"" >&5)
5155   (eval "$ac_compile" 2>conftest.err)
5156   cat conftest.err >&5
5157   (eval echo "\"\$as_me:$LINENO: $NM \\\"conftest.$ac_objext\\\"\"" >&5)
5158   (eval "$NM \"conftest.$ac_objext\"" 2>conftest.err > conftest.out)
5159   cat conftest.err >&5
5160   (eval echo "\"\$as_me:$LINENO: output\"" >&5)
5161   cat conftest.out >&5
5162   if $GREP 'External.*some_variable' conftest.out > /dev/null; then
5163     lt_cv_nm_interface="MS dumpbin"
5164   fi
5165   rm -f conftest*
5166 fi
5167 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_nm_interface" >&5
5168 $as_echo "$lt_cv_nm_interface" >&6; }
5169
5170 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ln -s works" >&5
5171 $as_echo_n "checking whether ln -s works... " >&6; }
5172 LN_S=$as_ln_s
5173 if test "$LN_S" = "ln -s"; then
5174   { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
5175 $as_echo "yes" >&6; }
5176 else
5177   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no, using $LN_S" >&5
5178 $as_echo "no, using $LN_S" >&6; }
5179 fi
5180
5181 # find the maximum length of command line arguments
5182 { $as_echo "$as_me:${as_lineno-$LINENO}: checking the maximum length of command line arguments" >&5
5183 $as_echo_n "checking the maximum length of command line arguments... " >&6; }
5184 if ${lt_cv_sys_max_cmd_len+:} false; then :
5185   $as_echo_n "(cached) " >&6
5186 else
5187     i=0
5188   teststring="ABCD"
5189
5190   case $build_os in
5191   msdosdjgpp*)
5192     # On DJGPP, this test can blow up pretty badly due to problems in libc
5193     # (any single argument exceeding 2000 bytes causes a buffer overrun
5194     # during glob expansion).  Even if it were fixed, the result of this
5195     # check would be larger than it should be.
5196     lt_cv_sys_max_cmd_len=12288;    # 12K is about right
5197     ;;
5198
5199   gnu*)
5200     # Under GNU Hurd, this test is not required because there is
5201     # no limit to the length of command line arguments.
5202     # Libtool will interpret -1 as no limit whatsoever
5203     lt_cv_sys_max_cmd_len=-1;
5204     ;;
5205
5206   cygwin* | mingw* | cegcc*)
5207     # On Win9x/ME, this test blows up -- it succeeds, but takes
5208     # about 5 minutes as the teststring grows exponentially.
5209     # Worse, since 9x/ME are not pre-emptively multitasking,
5210     # you end up with a "frozen" computer, even though with patience
5211     # the test eventually succeeds (with a max line length of 256k).
5212     # Instead, let's just punt: use the minimum linelength reported by
5213     # all of the supported platforms: 8192 (on NT/2K/XP).
5214     lt_cv_sys_max_cmd_len=8192;
5215     ;;
5216
5217   mint*)
5218     # On MiNT this can take a long time and run out of memory.
5219     lt_cv_sys_max_cmd_len=8192;
5220     ;;
5221
5222   amigaos*)
5223     # On AmigaOS with pdksh, this test takes hours, literally.
5224     # So we just punt and use a minimum line length of 8192.
5225     lt_cv_sys_max_cmd_len=8192;
5226     ;;
5227
5228   netbsd* | freebsd* | openbsd* | darwin* | dragonfly*)
5229     # This has been around since 386BSD, at least.  Likely further.
5230     if test -x /sbin/sysctl; then
5231       lt_cv_sys_max_cmd_len=`/sbin/sysctl -n kern.argmax`
5232     elif test -x /usr/sbin/sysctl; then
5233       lt_cv_sys_max_cmd_len=`/usr/sbin/sysctl -n kern.argmax`
5234     else
5235       lt_cv_sys_max_cmd_len=65536       # usable default for all BSDs
5236     fi
5237     # And add a safety zone
5238     lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4`
5239     lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3`
5240     ;;
5241
5242   interix*)
5243     # We know the value 262144 and hardcode it with a safety zone (like BSD)
5244     lt_cv_sys_max_cmd_len=196608
5245     ;;
5246
5247   os2*)
5248     # The test takes a long time on OS/2.
5249     lt_cv_sys_max_cmd_len=8192
5250     ;;
5251
5252   osf*)
5253     # Dr. Hans Ekkehard Plesser reports seeing a kernel panic running configure
5254     # due to this test when exec_disable_arg_limit is 1 on Tru64. It is not
5255     # nice to cause kernel panics so lets avoid the loop below.
5256     # First set a reasonable default.
5257     lt_cv_sys_max_cmd_len=16384
5258     #
5259     if test -x /sbin/sysconfig; then
5260       case `/sbin/sysconfig -q proc exec_disable_arg_limit` in
5261         *1*) lt_cv_sys_max_cmd_len=-1 ;;
5262       esac
5263     fi
5264     ;;
5265   sco3.2v5*)
5266     lt_cv_sys_max_cmd_len=102400
5267     ;;
5268   sysv5* | sco5v6* | sysv4.2uw2*)
5269     kargmax=`grep ARG_MAX /etc/conf/cf.d/stune 2>/dev/null`
5270     if test -n "$kargmax"; then
5271       lt_cv_sys_max_cmd_len=`echo $kargmax | sed 's/.*[  ]//'`
5272     else
5273       lt_cv_sys_max_cmd_len=32768
5274     fi
5275     ;;
5276   *)
5277     lt_cv_sys_max_cmd_len=`(getconf ARG_MAX) 2> /dev/null`
5278     if test -n "$lt_cv_sys_max_cmd_len"; then
5279       lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4`
5280       lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3`
5281     else
5282       # Make teststring a little bigger before we do anything with it.
5283       # a 1K string should be a reasonable start.
5284       for i in 1 2 3 4 5 6 7 8 ; do
5285         teststring=$teststring$teststring
5286       done
5287       SHELL=${SHELL-${CONFIG_SHELL-/bin/sh}}
5288       # If test is not a shell built-in, we'll probably end up computing a
5289       # maximum length that is only half of the actual maximum length, but
5290       # we can't tell.
5291       while { test "X"`env echo "$teststring$teststring" 2>/dev/null` \
5292                  = "X$teststring$teststring"; } >/dev/null 2>&1 &&
5293               test $i != 17 # 1/2 MB should be enough
5294       do
5295         i=`expr $i + 1`
5296         teststring=$teststring$teststring
5297       done
5298       # Only check the string length outside the loop.
5299       lt_cv_sys_max_cmd_len=`expr "X$teststring" : ".*" 2>&1`
5300       teststring=
5301       # Add a significant safety factor because C++ compilers can tack on
5302       # massive amounts of additional arguments before passing them to the
5303       # linker.  It appears as though 1/2 is a usable value.
5304       lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 2`
5305     fi
5306     ;;
5307   esac
5308
5309 fi
5310
5311 if test -n $lt_cv_sys_max_cmd_len ; then
5312   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_sys_max_cmd_len" >&5
5313 $as_echo "$lt_cv_sys_max_cmd_len" >&6; }
5314 else
5315   { $as_echo "$as_me:${as_lineno-$LINENO}: result: none" >&5
5316 $as_echo "none" >&6; }
5317 fi
5318 max_cmd_len=$lt_cv_sys_max_cmd_len
5319
5320
5321
5322
5323
5324
5325 : ${CP="cp -f"}
5326 : ${MV="mv -f"}
5327 : ${RM="rm -f"}
5328
5329 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the shell understands some XSI constructs" >&5
5330 $as_echo_n "checking whether the shell understands some XSI constructs... " >&6; }
5331 # Try some XSI features
5332 xsi_shell=no
5333 ( _lt_dummy="a/b/c"
5334   test "${_lt_dummy##*/},${_lt_dummy%/*},${_lt_dummy#??}"${_lt_dummy%"$_lt_dummy"}, \
5335       = c,a/b,b/c, \
5336     && eval 'test $(( 1 + 1 )) -eq 2 \
5337     && test "${#_lt_dummy}" -eq 5' ) >/dev/null 2>&1 \
5338   && xsi_shell=yes
5339 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xsi_shell" >&5
5340 $as_echo "$xsi_shell" >&6; }
5341
5342
5343 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the shell understands \"+=\"" >&5
5344 $as_echo_n "checking whether the shell understands \"+=\"... " >&6; }
5345 lt_shell_append=no
5346 ( foo=bar; set foo baz; eval "$1+=\$2" && test "$foo" = barbaz ) \
5347     >/dev/null 2>&1 \
5348   && lt_shell_append=yes
5349 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_shell_append" >&5
5350 $as_echo "$lt_shell_append" >&6; }
5351
5352
5353 if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
5354   lt_unset=unset
5355 else
5356   lt_unset=false
5357 fi
5358
5359
5360
5361
5362
5363 # test EBCDIC or ASCII
5364 case `echo X|tr X '\101'` in
5365  A) # ASCII based system
5366     # \n is not interpreted correctly by Solaris 8 /usr/ucb/tr
5367   lt_SP2NL='tr \040 \012'
5368   lt_NL2SP='tr \015\012 \040\040'
5369   ;;
5370  *) # EBCDIC based system
5371   lt_SP2NL='tr \100 \n'
5372   lt_NL2SP='tr \r\n \100\100'
5373   ;;
5374 esac
5375
5376
5377
5378
5379
5380
5381
5382
5383
5384 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to convert $build file names to $host format" >&5
5385 $as_echo_n "checking how to convert $build file names to $host format... " >&6; }
5386 if ${lt_cv_to_host_file_cmd+:} false; then :
5387   $as_echo_n "(cached) " >&6
5388 else
5389   case $host in
5390   *-*-mingw* )
5391     case $build in
5392       *-*-mingw* ) # actually msys
5393         lt_cv_to_host_file_cmd=func_convert_file_msys_to_w32
5394         ;;
5395       *-*-cygwin* )
5396         lt_cv_to_host_file_cmd=func_convert_file_cygwin_to_w32
5397         ;;
5398       * ) # otherwise, assume *nix
5399         lt_cv_to_host_file_cmd=func_convert_file_nix_to_w32
5400         ;;
5401     esac
5402     ;;
5403   *-*-cygwin* )
5404     case $build in
5405       *-*-mingw* ) # actually msys
5406         lt_cv_to_host_file_cmd=func_convert_file_msys_to_cygwin
5407         ;;
5408       *-*-cygwin* )
5409         lt_cv_to_host_file_cmd=func_convert_file_noop
5410         ;;
5411       * ) # otherwise, assume *nix
5412         lt_cv_to_host_file_cmd=func_convert_file_nix_to_cygwin
5413         ;;
5414     esac
5415     ;;
5416   * ) # unhandled hosts (and "normal" native builds)
5417     lt_cv_to_host_file_cmd=func_convert_file_noop
5418     ;;
5419 esac
5420
5421 fi
5422
5423 to_host_file_cmd=$lt_cv_to_host_file_cmd
5424 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_to_host_file_cmd" >&5
5425 $as_echo "$lt_cv_to_host_file_cmd" >&6; }
5426
5427
5428
5429
5430
5431 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to convert $build file names to toolchain format" >&5
5432 $as_echo_n "checking how to convert $build file names to toolchain format... " >&6; }
5433 if ${lt_cv_to_tool_file_cmd+:} false; then :
5434   $as_echo_n "(cached) " >&6
5435 else
5436   #assume ordinary cross tools, or native build.
5437 lt_cv_to_tool_file_cmd=func_convert_file_noop
5438 case $host in
5439   *-*-mingw* )
5440     case $build in
5441       *-*-mingw* ) # actually msys
5442         lt_cv_to_tool_file_cmd=func_convert_file_msys_to_w32
5443         ;;
5444     esac
5445     ;;
5446 esac
5447
5448 fi
5449
5450 to_tool_file_cmd=$lt_cv_to_tool_file_cmd
5451 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_to_tool_file_cmd" >&5
5452 $as_echo "$lt_cv_to_tool_file_cmd" >&6; }
5453
5454
5455
5456
5457
5458 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $LD option to reload object files" >&5
5459 $as_echo_n "checking for $LD option to reload object files... " >&6; }
5460 if ${lt_cv_ld_reload_flag+:} false; then :
5461   $as_echo_n "(cached) " >&6
5462 else
5463   lt_cv_ld_reload_flag='-r'
5464 fi
5465 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_reload_flag" >&5
5466 $as_echo "$lt_cv_ld_reload_flag" >&6; }
5467 reload_flag=$lt_cv_ld_reload_flag
5468 case $reload_flag in
5469 "" | " "*) ;;
5470 *) reload_flag=" $reload_flag" ;;
5471 esac
5472 reload_cmds='$LD$reload_flag -o $output$reload_objs'
5473 case $host_os in
5474   cygwin* | mingw* | pw32* | cegcc*)
5475     if test "$GCC" != yes; then
5476       reload_cmds=false
5477     fi
5478     ;;
5479   darwin*)
5480     if test "$GCC" = yes; then
5481       reload_cmds='$LTCC $LTCFLAGS -nostdlib ${wl}-r -o $output$reload_objs'
5482     else
5483       reload_cmds='$LD$reload_flag -o $output$reload_objs'
5484     fi
5485     ;;
5486 esac
5487
5488
5489
5490
5491
5492
5493
5494
5495
5496 if test -n "$ac_tool_prefix"; then
5497   # Extract the first word of "${ac_tool_prefix}objdump", so it can be a program name with args.
5498 set dummy ${ac_tool_prefix}objdump; ac_word=$2
5499 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5500 $as_echo_n "checking for $ac_word... " >&6; }
5501 if ${ac_cv_prog_OBJDUMP+:} false; then :
5502   $as_echo_n "(cached) " >&6
5503 else
5504   if test -n "$OBJDUMP"; then
5505   ac_cv_prog_OBJDUMP="$OBJDUMP" # Let the user override the test.
5506 else
5507 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5508 for as_dir in $PATH
5509 do
5510   IFS=$as_save_IFS
5511   test -z "$as_dir" && as_dir=.
5512     for ac_exec_ext in '' $ac_executable_extensions; do
5513   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5514     ac_cv_prog_OBJDUMP="${ac_tool_prefix}objdump"
5515     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5516     break 2
5517   fi
5518 done
5519   done
5520 IFS=$as_save_IFS
5521
5522 fi
5523 fi
5524 OBJDUMP=$ac_cv_prog_OBJDUMP
5525 if test -n "$OBJDUMP"; then
5526   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OBJDUMP" >&5
5527 $as_echo "$OBJDUMP" >&6; }
5528 else
5529   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5530 $as_echo "no" >&6; }
5531 fi
5532
5533
5534 fi
5535 if test -z "$ac_cv_prog_OBJDUMP"; then
5536   ac_ct_OBJDUMP=$OBJDUMP
5537   # Extract the first word of "objdump", so it can be a program name with args.
5538 set dummy objdump; ac_word=$2
5539 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5540 $as_echo_n "checking for $ac_word... " >&6; }
5541 if ${ac_cv_prog_ac_ct_OBJDUMP+:} false; then :
5542   $as_echo_n "(cached) " >&6
5543 else
5544   if test -n "$ac_ct_OBJDUMP"; then
5545   ac_cv_prog_ac_ct_OBJDUMP="$ac_ct_OBJDUMP" # Let the user override the test.
5546 else
5547 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5548 for as_dir in $PATH
5549 do
5550   IFS=$as_save_IFS
5551   test -z "$as_dir" && as_dir=.
5552     for ac_exec_ext in '' $ac_executable_extensions; do
5553   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5554     ac_cv_prog_ac_ct_OBJDUMP="objdump"
5555     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5556     break 2
5557   fi
5558 done
5559   done
5560 IFS=$as_save_IFS
5561
5562 fi
5563 fi
5564 ac_ct_OBJDUMP=$ac_cv_prog_ac_ct_OBJDUMP
5565 if test -n "$ac_ct_OBJDUMP"; then
5566   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OBJDUMP" >&5
5567 $as_echo "$ac_ct_OBJDUMP" >&6; }
5568 else
5569   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5570 $as_echo "no" >&6; }
5571 fi
5572
5573   if test "x$ac_ct_OBJDUMP" = x; then
5574     OBJDUMP="false"
5575   else
5576     case $cross_compiling:$ac_tool_warned in
5577 yes:)
5578 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5579 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5580 ac_tool_warned=yes ;;
5581 esac
5582     OBJDUMP=$ac_ct_OBJDUMP
5583   fi
5584 else
5585   OBJDUMP="$ac_cv_prog_OBJDUMP"
5586 fi
5587
5588 test -z "$OBJDUMP" && OBJDUMP=objdump
5589
5590
5591
5592
5593
5594
5595
5596
5597
5598 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to recognize dependent libraries" >&5
5599 $as_echo_n "checking how to recognize dependent libraries... " >&6; }
5600 if ${lt_cv_deplibs_check_method+:} false; then :
5601   $as_echo_n "(cached) " >&6
5602 else
5603   lt_cv_file_magic_cmd='$MAGIC_CMD'
5604 lt_cv_file_magic_test_file=
5605 lt_cv_deplibs_check_method='unknown'
5606 # Need to set the preceding variable on all platforms that support
5607 # interlibrary dependencies.
5608 # 'none' -- dependencies not supported.
5609 # `unknown' -- same as none, but documents that we really don't know.
5610 # 'pass_all' -- all dependencies passed with no checks.
5611 # 'test_compile' -- check by making test program.
5612 # 'file_magic [[regex]]' -- check by looking for files in library path
5613 # which responds to the $file_magic_cmd with a given extended regex.
5614 # If you have `file' or equivalent on your system and you're not sure
5615 # whether `pass_all' will *always* work, you probably want this one.
5616
5617 case $host_os in
5618 aix[4-9]*)
5619   lt_cv_deplibs_check_method=pass_all
5620   ;;
5621
5622 beos*)
5623   lt_cv_deplibs_check_method=pass_all
5624   ;;
5625
5626 bsdi[45]*)
5627   lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (shared object|dynamic lib)'
5628   lt_cv_file_magic_cmd='/usr/bin/file -L'
5629   lt_cv_file_magic_test_file=/shlib/libc.so
5630   ;;
5631
5632 cygwin*)
5633   # func_win32_libid is a shell function defined in ltmain.sh
5634   lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL'
5635   lt_cv_file_magic_cmd='func_win32_libid'
5636   ;;
5637
5638 mingw* | pw32*)
5639   # Base MSYS/MinGW do not provide the 'file' command needed by
5640   # func_win32_libid shell function, so use a weaker test based on 'objdump',
5641   # unless we find 'file', for example because we are cross-compiling.
5642   # func_win32_libid assumes BSD nm, so disallow it if using MS dumpbin.
5643   if ( test "$lt_cv_nm_interface" = "BSD nm" && file / ) >/dev/null 2>&1; then
5644     lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL'
5645     lt_cv_file_magic_cmd='func_win32_libid'
5646   else
5647     # Keep this pattern in sync with the one in func_win32_libid.
5648     lt_cv_deplibs_check_method='file_magic file format (pei*-i386(.*architecture: i386)?|pe-arm-wince|pe-x86-64)'
5649     lt_cv_file_magic_cmd='$OBJDUMP -f'
5650   fi
5651   ;;
5652
5653 cegcc*)
5654   # use the weaker test based on 'objdump'. See mingw*.
5655   lt_cv_deplibs_check_method='file_magic file format pe-arm-.*little(.*architecture: arm)?'
5656   lt_cv_file_magic_cmd='$OBJDUMP -f'
5657   ;;
5658
5659 darwin* | rhapsody*)
5660   lt_cv_deplibs_check_method=pass_all
5661   ;;
5662
5663 freebsd* | dragonfly*)
5664   if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then
5665     case $host_cpu in
5666     i*86 )
5667       # Not sure whether the presence of OpenBSD here was a mistake.
5668       # Let's accept both of them until this is cleared up.
5669       lt_cv_deplibs_check_method='file_magic (FreeBSD|OpenBSD|DragonFly)/i[3-9]86 (compact )?demand paged shared library'
5670       lt_cv_file_magic_cmd=/usr/bin/file
5671       lt_cv_file_magic_test_file=`echo /usr/lib/libc.so.*`
5672       ;;
5673     esac
5674   else
5675     lt_cv_deplibs_check_method=pass_all
5676   fi
5677   ;;
5678
5679 gnu*)
5680   lt_cv_deplibs_check_method=pass_all
5681   ;;
5682
5683 haiku*)
5684   lt_cv_deplibs_check_method=pass_all
5685   ;;
5686
5687 hpux10.20* | hpux11*)
5688   lt_cv_file_magic_cmd=/usr/bin/file
5689   case $host_cpu in
5690   ia64*)
5691     lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|ELF-[0-9][0-9]) shared object file - IA64'
5692     lt_cv_file_magic_test_file=/usr/lib/hpux32/libc.so
5693     ;;
5694   hppa*64*)
5695     lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|ELF[ -][0-9][0-9])(-bit)?( [LM]SB)? shared object( file)?[, -]* PA-RISC [0-9]\.[0-9]'
5696     lt_cv_file_magic_test_file=/usr/lib/pa20_64/libc.sl
5697     ;;
5698   *)
5699     lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|PA-RISC[0-9]\.[0-9]) shared library'
5700     lt_cv_file_magic_test_file=/usr/lib/libc.sl
5701     ;;
5702   esac
5703   ;;
5704
5705 interix[3-9]*)
5706   # PIC code is broken on Interix 3.x, that's why |\.a not |_pic\.a here
5707   lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|\.a)$'
5708   ;;
5709
5710 irix5* | irix6* | nonstopux*)
5711   case $LD in
5712   *-32|*"-32 ") libmagic=32-bit;;
5713   *-n32|*"-n32 ") libmagic=N32;;
5714   *-64|*"-64 ") libmagic=64-bit;;
5715   *) libmagic=never-match;;
5716   esac
5717   lt_cv_deplibs_check_method=pass_all
5718   ;;
5719
5720 # This must be glibc/ELF.
5721 linux* | k*bsd*-gnu | kopensolaris*-gnu)
5722   lt_cv_deplibs_check_method=pass_all
5723   ;;
5724
5725 netbsd*)
5726   if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then
5727     lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
5728   else
5729     lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|_pic\.a)$'
5730   fi
5731   ;;
5732
5733 newos6*)
5734   lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (executable|dynamic lib)'
5735   lt_cv_file_magic_cmd=/usr/bin/file
5736   lt_cv_file_magic_test_file=/usr/lib/libnls.so
5737   ;;
5738
5739 *nto* | *qnx*)
5740   lt_cv_deplibs_check_method=pass_all
5741   ;;
5742
5743 openbsd*)
5744   if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
5745     lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|\.so|_pic\.a)$'
5746   else
5747     lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
5748   fi
5749   ;;
5750
5751 osf3* | osf4* | osf5*)
5752   lt_cv_deplibs_check_method=pass_all
5753   ;;
5754
5755 rdos*)
5756   lt_cv_deplibs_check_method=pass_all
5757   ;;
5758
5759 solaris*)
5760   lt_cv_deplibs_check_method=pass_all
5761   ;;
5762
5763 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
5764   lt_cv_deplibs_check_method=pass_all
5765   ;;
5766
5767 sysv4 | sysv4.3*)
5768   case $host_vendor in
5769   motorola)
5770     lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (shared object|dynamic lib) M[0-9][0-9]* Version [0-9]'
5771     lt_cv_file_magic_test_file=`echo /usr/lib/libc.so*`
5772     ;;
5773   ncr)
5774     lt_cv_deplibs_check_method=pass_all
5775     ;;
5776   sequent)
5777     lt_cv_file_magic_cmd='/bin/file'
5778     lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [LM]SB (shared object|dynamic lib )'
5779     ;;
5780   sni)
5781     lt_cv_file_magic_cmd='/bin/file'
5782     lt_cv_deplibs_check_method="file_magic ELF [0-9][0-9]*-bit [LM]SB dynamic lib"
5783     lt_cv_file_magic_test_file=/lib/libc.so
5784     ;;
5785   siemens)
5786     lt_cv_deplibs_check_method=pass_all
5787     ;;
5788   pc)
5789     lt_cv_deplibs_check_method=pass_all
5790     ;;
5791   esac
5792   ;;
5793
5794 tpf*)
5795   lt_cv_deplibs_check_method=pass_all
5796   ;;
5797 esac
5798
5799 fi
5800 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_deplibs_check_method" >&5
5801 $as_echo "$lt_cv_deplibs_check_method" >&6; }
5802
5803 file_magic_glob=
5804 want_nocaseglob=no
5805 if test "$build" = "$host"; then
5806   case $host_os in
5807   mingw* | pw32*)
5808     if ( shopt | grep nocaseglob ) >/dev/null 2>&1; then
5809       want_nocaseglob=yes
5810     else
5811       file_magic_glob=`echo aAbBcCdDeEfFgGhHiIjJkKlLmMnNoOpPqQrRsStTuUvVwWxXyYzZ | $SED -e "s/\(..\)/s\/[\1]\/[\1]\/g;/g"`
5812     fi
5813     ;;
5814   esac
5815 fi
5816
5817 file_magic_cmd=$lt_cv_file_magic_cmd
5818 deplibs_check_method=$lt_cv_deplibs_check_method
5819 test -z "$deplibs_check_method" && deplibs_check_method=unknown
5820
5821
5822
5823
5824
5825
5826
5827
5828
5829
5830
5831
5832
5833
5834
5835
5836
5837
5838
5839
5840
5841
5842 if test -n "$ac_tool_prefix"; then
5843   # Extract the first word of "${ac_tool_prefix}dlltool", so it can be a program name with args.
5844 set dummy ${ac_tool_prefix}dlltool; ac_word=$2
5845 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5846 $as_echo_n "checking for $ac_word... " >&6; }
5847 if ${ac_cv_prog_DLLTOOL+:} false; then :
5848   $as_echo_n "(cached) " >&6
5849 else
5850   if test -n "$DLLTOOL"; then
5851   ac_cv_prog_DLLTOOL="$DLLTOOL" # Let the user override the test.
5852 else
5853 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5854 for as_dir in $PATH
5855 do
5856   IFS=$as_save_IFS
5857   test -z "$as_dir" && as_dir=.
5858     for ac_exec_ext in '' $ac_executable_extensions; do
5859   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5860     ac_cv_prog_DLLTOOL="${ac_tool_prefix}dlltool"
5861     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5862     break 2
5863   fi
5864 done
5865   done
5866 IFS=$as_save_IFS
5867
5868 fi
5869 fi
5870 DLLTOOL=$ac_cv_prog_DLLTOOL
5871 if test -n "$DLLTOOL"; then
5872   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DLLTOOL" >&5
5873 $as_echo "$DLLTOOL" >&6; }
5874 else
5875   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5876 $as_echo "no" >&6; }
5877 fi
5878
5879
5880 fi
5881 if test -z "$ac_cv_prog_DLLTOOL"; then
5882   ac_ct_DLLTOOL=$DLLTOOL
5883   # Extract the first word of "dlltool", so it can be a program name with args.
5884 set dummy dlltool; ac_word=$2
5885 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5886 $as_echo_n "checking for $ac_word... " >&6; }
5887 if ${ac_cv_prog_ac_ct_DLLTOOL+:} false; then :
5888   $as_echo_n "(cached) " >&6
5889 else
5890   if test -n "$ac_ct_DLLTOOL"; then
5891   ac_cv_prog_ac_ct_DLLTOOL="$ac_ct_DLLTOOL" # Let the user override the test.
5892 else
5893 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5894 for as_dir in $PATH
5895 do
5896   IFS=$as_save_IFS
5897   test -z "$as_dir" && as_dir=.
5898     for ac_exec_ext in '' $ac_executable_extensions; do
5899   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5900     ac_cv_prog_ac_ct_DLLTOOL="dlltool"
5901     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5902     break 2
5903   fi
5904 done
5905   done
5906 IFS=$as_save_IFS
5907
5908 fi
5909 fi
5910 ac_ct_DLLTOOL=$ac_cv_prog_ac_ct_DLLTOOL
5911 if test -n "$ac_ct_DLLTOOL"; then
5912   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DLLTOOL" >&5
5913 $as_echo "$ac_ct_DLLTOOL" >&6; }
5914 else
5915   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5916 $as_echo "no" >&6; }
5917 fi
5918
5919   if test "x$ac_ct_DLLTOOL" = x; then
5920     DLLTOOL="false"
5921   else
5922     case $cross_compiling:$ac_tool_warned in
5923 yes:)
5924 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5925 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5926 ac_tool_warned=yes ;;
5927 esac
5928     DLLTOOL=$ac_ct_DLLTOOL
5929   fi
5930 else
5931   DLLTOOL="$ac_cv_prog_DLLTOOL"
5932 fi
5933
5934 test -z "$DLLTOOL" && DLLTOOL=dlltool
5935
5936
5937
5938
5939
5940
5941
5942
5943
5944
5945 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to associate runtime and link libraries" >&5
5946 $as_echo_n "checking how to associate runtime and link libraries... " >&6; }
5947 if ${lt_cv_sharedlib_from_linklib_cmd+:} false; then :
5948   $as_echo_n "(cached) " >&6
5949 else
5950   lt_cv_sharedlib_from_linklib_cmd='unknown'
5951
5952 case $host_os in
5953 cygwin* | mingw* | pw32* | cegcc*)
5954   # two different shell functions defined in ltmain.sh
5955   # decide which to use based on capabilities of $DLLTOOL
5956   case `$DLLTOOL --help 2>&1` in
5957   *--identify-strict*)
5958     lt_cv_sharedlib_from_linklib_cmd=func_cygming_dll_for_implib
5959     ;;
5960   *)
5961     lt_cv_sharedlib_from_linklib_cmd=func_cygming_dll_for_implib_fallback
5962     ;;
5963   esac
5964   ;;
5965 *)
5966   # fallback: assume linklib IS sharedlib
5967   lt_cv_sharedlib_from_linklib_cmd="$ECHO"
5968   ;;
5969 esac
5970
5971 fi
5972 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_sharedlib_from_linklib_cmd" >&5
5973 $as_echo "$lt_cv_sharedlib_from_linklib_cmd" >&6; }
5974 sharedlib_from_linklib_cmd=$lt_cv_sharedlib_from_linklib_cmd
5975 test -z "$sharedlib_from_linklib_cmd" && sharedlib_from_linklib_cmd=$ECHO
5976
5977
5978
5979
5980
5981
5982
5983
5984 if test -n "$ac_tool_prefix"; then
5985   for ac_prog in ar
5986   do
5987     # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
5988 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
5989 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5990 $as_echo_n "checking for $ac_word... " >&6; }
5991 if ${ac_cv_prog_AR+:} false; then :
5992   $as_echo_n "(cached) " >&6
5993 else
5994   if test -n "$AR"; then
5995   ac_cv_prog_AR="$AR" # Let the user override the test.
5996 else
5997 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5998 for as_dir in $PATH
5999 do
6000   IFS=$as_save_IFS
6001   test -z "$as_dir" && as_dir=.
6002     for ac_exec_ext in '' $ac_executable_extensions; do
6003   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6004     ac_cv_prog_AR="$ac_tool_prefix$ac_prog"
6005     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6006     break 2
6007   fi
6008 done
6009   done
6010 IFS=$as_save_IFS
6011
6012 fi
6013 fi
6014 AR=$ac_cv_prog_AR
6015 if test -n "$AR"; then
6016   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AR" >&5
6017 $as_echo "$AR" >&6; }
6018 else
6019   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6020 $as_echo "no" >&6; }
6021 fi
6022
6023
6024     test -n "$AR" && break
6025   done
6026 fi
6027 if test -z "$AR"; then
6028   ac_ct_AR=$AR
6029   for ac_prog in ar
6030 do
6031   # Extract the first word of "$ac_prog", so it can be a program name with args.
6032 set dummy $ac_prog; ac_word=$2
6033 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6034 $as_echo_n "checking for $ac_word... " >&6; }
6035 if ${ac_cv_prog_ac_ct_AR+:} false; then :
6036   $as_echo_n "(cached) " >&6
6037 else
6038   if test -n "$ac_ct_AR"; then
6039   ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test.
6040 else
6041 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6042 for as_dir in $PATH
6043 do
6044   IFS=$as_save_IFS
6045   test -z "$as_dir" && as_dir=.
6046     for ac_exec_ext in '' $ac_executable_extensions; do
6047   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6048     ac_cv_prog_ac_ct_AR="$ac_prog"
6049     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6050     break 2
6051   fi
6052 done
6053   done
6054 IFS=$as_save_IFS
6055
6056 fi
6057 fi
6058 ac_ct_AR=$ac_cv_prog_ac_ct_AR
6059 if test -n "$ac_ct_AR"; then
6060   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_AR" >&5
6061 $as_echo "$ac_ct_AR" >&6; }
6062 else
6063   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6064 $as_echo "no" >&6; }
6065 fi
6066
6067
6068   test -n "$ac_ct_AR" && break
6069 done
6070
6071   if test "x$ac_ct_AR" = x; then
6072     AR="false"
6073   else
6074     case $cross_compiling:$ac_tool_warned in
6075 yes:)
6076 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6077 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6078 ac_tool_warned=yes ;;
6079 esac
6080     AR=$ac_ct_AR
6081   fi
6082 fi
6083
6084 : ${AR=ar}
6085 : ${AR_FLAGS=cru}
6086
6087
6088
6089
6090
6091
6092
6093
6094
6095
6096
6097 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for archiver @FILE support" >&5
6098 $as_echo_n "checking for archiver @FILE support... " >&6; }
6099 if ${lt_cv_ar_at_file+:} false; then :
6100   $as_echo_n "(cached) " >&6
6101 else
6102   lt_cv_ar_at_file=no
6103    cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6104 /* end confdefs.h.  */
6105
6106 int
6107 main ()
6108 {
6109
6110   ;
6111   return 0;
6112 }
6113 _ACEOF
6114 if ac_fn_c_try_compile "$LINENO"; then :
6115   echo conftest.$ac_objext > conftest.lst
6116       lt_ar_try='$AR $AR_FLAGS libconftest.a @conftest.lst >&5'
6117       { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$lt_ar_try\""; } >&5
6118   (eval $lt_ar_try) 2>&5
6119   ac_status=$?
6120   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6121   test $ac_status = 0; }
6122       if test "$ac_status" -eq 0; then
6123         # Ensure the archiver fails upon bogus file names.
6124         rm -f conftest.$ac_objext libconftest.a
6125         { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$lt_ar_try\""; } >&5
6126   (eval $lt_ar_try) 2>&5
6127   ac_status=$?
6128   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6129   test $ac_status = 0; }
6130         if test "$ac_status" -ne 0; then
6131           lt_cv_ar_at_file=@
6132         fi
6133       fi
6134       rm -f conftest.* libconftest.a
6135
6136 fi
6137 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6138
6139 fi
6140 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ar_at_file" >&5
6141 $as_echo "$lt_cv_ar_at_file" >&6; }
6142
6143 if test "x$lt_cv_ar_at_file" = xno; then
6144   archiver_list_spec=
6145 else
6146   archiver_list_spec=$lt_cv_ar_at_file
6147 fi
6148
6149
6150
6151
6152
6153
6154
6155 if test -n "$ac_tool_prefix"; then
6156   # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
6157 set dummy ${ac_tool_prefix}strip; ac_word=$2
6158 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6159 $as_echo_n "checking for $ac_word... " >&6; }
6160 if ${ac_cv_prog_STRIP+:} false; then :
6161   $as_echo_n "(cached) " >&6
6162 else
6163   if test -n "$STRIP"; then
6164   ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
6165 else
6166 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6167 for as_dir in $PATH
6168 do
6169   IFS=$as_save_IFS
6170   test -z "$as_dir" && as_dir=.
6171     for ac_exec_ext in '' $ac_executable_extensions; do
6172   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6173     ac_cv_prog_STRIP="${ac_tool_prefix}strip"
6174     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6175     break 2
6176   fi
6177 done
6178   done
6179 IFS=$as_save_IFS
6180
6181 fi
6182 fi
6183 STRIP=$ac_cv_prog_STRIP
6184 if test -n "$STRIP"; then
6185   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
6186 $as_echo "$STRIP" >&6; }
6187 else
6188   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6189 $as_echo "no" >&6; }
6190 fi
6191
6192
6193 fi
6194 if test -z "$ac_cv_prog_STRIP"; then
6195   ac_ct_STRIP=$STRIP
6196   # Extract the first word of "strip", so it can be a program name with args.
6197 set dummy strip; ac_word=$2
6198 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6199 $as_echo_n "checking for $ac_word... " >&6; }
6200 if ${ac_cv_prog_ac_ct_STRIP+:} false; then :
6201   $as_echo_n "(cached) " >&6
6202 else
6203   if test -n "$ac_ct_STRIP"; then
6204   ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
6205 else
6206 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6207 for as_dir in $PATH
6208 do
6209   IFS=$as_save_IFS
6210   test -z "$as_dir" && as_dir=.
6211     for ac_exec_ext in '' $ac_executable_extensions; do
6212   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6213     ac_cv_prog_ac_ct_STRIP="strip"
6214     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6215     break 2
6216   fi
6217 done
6218   done
6219 IFS=$as_save_IFS
6220
6221 fi
6222 fi
6223 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
6224 if test -n "$ac_ct_STRIP"; then
6225   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
6226 $as_echo "$ac_ct_STRIP" >&6; }
6227 else
6228   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6229 $as_echo "no" >&6; }
6230 fi
6231
6232   if test "x$ac_ct_STRIP" = x; then
6233     STRIP=":"
6234   else
6235     case $cross_compiling:$ac_tool_warned in
6236 yes:)
6237 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6238 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6239 ac_tool_warned=yes ;;
6240 esac
6241     STRIP=$ac_ct_STRIP
6242   fi
6243 else
6244   STRIP="$ac_cv_prog_STRIP"
6245 fi
6246
6247 test -z "$STRIP" && STRIP=:
6248
6249
6250
6251
6252
6253
6254 if test -n "$ac_tool_prefix"; then
6255   # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
6256 set dummy ${ac_tool_prefix}ranlib; ac_word=$2
6257 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6258 $as_echo_n "checking for $ac_word... " >&6; }
6259 if ${ac_cv_prog_RANLIB+:} false; then :
6260   $as_echo_n "(cached) " >&6
6261 else
6262   if test -n "$RANLIB"; then
6263   ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
6264 else
6265 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6266 for as_dir in $PATH
6267 do
6268   IFS=$as_save_IFS
6269   test -z "$as_dir" && as_dir=.
6270     for ac_exec_ext in '' $ac_executable_extensions; do
6271   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6272     ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
6273     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6274     break 2
6275   fi
6276 done
6277   done
6278 IFS=$as_save_IFS
6279
6280 fi
6281 fi
6282 RANLIB=$ac_cv_prog_RANLIB
6283 if test -n "$RANLIB"; then
6284   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $RANLIB" >&5
6285 $as_echo "$RANLIB" >&6; }
6286 else
6287   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6288 $as_echo "no" >&6; }
6289 fi
6290
6291
6292 fi
6293 if test -z "$ac_cv_prog_RANLIB"; then
6294   ac_ct_RANLIB=$RANLIB
6295   # Extract the first word of "ranlib", so it can be a program name with args.
6296 set dummy ranlib; ac_word=$2
6297 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6298 $as_echo_n "checking for $ac_word... " >&6; }
6299 if ${ac_cv_prog_ac_ct_RANLIB+:} false; then :
6300   $as_echo_n "(cached) " >&6
6301 else
6302   if test -n "$ac_ct_RANLIB"; then
6303   ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
6304 else
6305 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6306 for as_dir in $PATH
6307 do
6308   IFS=$as_save_IFS
6309   test -z "$as_dir" && as_dir=.
6310     for ac_exec_ext in '' $ac_executable_extensions; do
6311   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6312     ac_cv_prog_ac_ct_RANLIB="ranlib"
6313     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6314     break 2
6315   fi
6316 done
6317   done
6318 IFS=$as_save_IFS
6319
6320 fi
6321 fi
6322 ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
6323 if test -n "$ac_ct_RANLIB"; then
6324   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_RANLIB" >&5
6325 $as_echo "$ac_ct_RANLIB" >&6; }
6326 else
6327   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6328 $as_echo "no" >&6; }
6329 fi
6330
6331   if test "x$ac_ct_RANLIB" = x; then
6332     RANLIB=":"
6333   else
6334     case $cross_compiling:$ac_tool_warned in
6335 yes:)
6336 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6337 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6338 ac_tool_warned=yes ;;
6339 esac
6340     RANLIB=$ac_ct_RANLIB
6341   fi
6342 else
6343   RANLIB="$ac_cv_prog_RANLIB"
6344 fi
6345
6346 test -z "$RANLIB" && RANLIB=:
6347
6348
6349
6350
6351
6352
6353 # Determine commands to create old-style static archives.
6354 old_archive_cmds='$AR $AR_FLAGS $oldlib$oldobjs'
6355 old_postinstall_cmds='chmod 644 $oldlib'
6356 old_postuninstall_cmds=
6357
6358 if test -n "$RANLIB"; then
6359   case $host_os in
6360   openbsd*)
6361     old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB -t \$tool_oldlib"
6362     ;;
6363   *)
6364     old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB \$tool_oldlib"
6365     ;;
6366   esac
6367   old_archive_cmds="$old_archive_cmds~\$RANLIB \$tool_oldlib"
6368 fi
6369
6370 case $host_os in
6371   darwin*)
6372     lock_old_archive_extraction=yes ;;
6373   *)
6374     lock_old_archive_extraction=no ;;
6375 esac
6376
6377
6378
6379
6380
6381
6382
6383
6384
6385
6386
6387
6388
6389
6390
6391
6392
6393
6394
6395
6396
6397
6398
6399
6400
6401
6402
6403
6404
6405
6406
6407
6408
6409
6410
6411
6412
6413
6414
6415 # If no C compiler was specified, use CC.
6416 LTCC=${LTCC-"$CC"}
6417
6418 # If no C compiler flags were specified, use CFLAGS.
6419 LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
6420
6421 # Allow CC to be a program name with arguments.
6422 compiler=$CC
6423
6424
6425 # Check for command to grab the raw symbol name followed by C symbol from nm.
6426 { $as_echo "$as_me:${as_lineno-$LINENO}: checking command to parse $NM output from $compiler object" >&5
6427 $as_echo_n "checking command to parse $NM output from $compiler object... " >&6; }
6428 if ${lt_cv_sys_global_symbol_pipe+:} false; then :
6429   $as_echo_n "(cached) " >&6
6430 else
6431
6432 # These are sane defaults that work on at least a few old systems.
6433 # [They come from Ultrix.  What could be older than Ultrix?!! ;)]
6434
6435 # Character class describing NM global symbol codes.
6436 symcode='[BCDEGRST]'
6437
6438 # Regexp to match symbols that can be accessed directly from C.
6439 sympat='\([_A-Za-z][_A-Za-z0-9]*\)'
6440
6441 # Define system-specific variables.
6442 case $host_os in
6443 aix*)
6444   symcode='[BCDT]'
6445   ;;
6446 cygwin* | mingw* | pw32* | cegcc*)
6447   symcode='[ABCDGISTW]'
6448   ;;
6449 hpux*)
6450   if test "$host_cpu" = ia64; then
6451     symcode='[ABCDEGRST]'
6452   fi
6453   ;;
6454 irix* | nonstopux*)
6455   symcode='[BCDEGRST]'
6456   ;;
6457 osf*)
6458   symcode='[BCDEGQRST]'
6459   ;;
6460 solaris*)
6461   symcode='[BDRT]'
6462   ;;
6463 sco3.2v5*)
6464   symcode='[DT]'
6465   ;;
6466 sysv4.2uw2*)
6467   symcode='[DT]'
6468   ;;
6469 sysv5* | sco5v6* | unixware* | OpenUNIX*)
6470   symcode='[ABDT]'
6471   ;;
6472 sysv4)
6473   symcode='[DFNSTU]'
6474   ;;
6475 esac
6476
6477 # If we're using GNU nm, then use its standard symbol codes.
6478 case `$NM -V 2>&1` in
6479 *GNU* | *'with BFD'*)
6480   symcode='[ABCDGIRSTW]' ;;
6481 esac
6482
6483 # Transform an extracted symbol line into a proper C declaration.
6484 # Some systems (esp. on ia64) link data and code symbols differently,
6485 # so use this general approach.
6486 lt_cv_sys_global_symbol_to_cdecl="sed -n -e 's/^T .* \(.*\)$/extern int \1();/p' -e 's/^$symcode* .* \(.*\)$/extern char \1;/p'"
6487
6488 # Transform an extracted symbol line into symbol name and symbol address
6489 lt_cv_sys_global_symbol_to_c_name_address="sed -n -e 's/^: \([^ ]*\)[ ]*$/  {\\\"\1\\\", (void *) 0},/p' -e 's/^$symcode* \([^ ]*\) \([^ ]*\)$/  {\"\2\", (void *) \&\2},/p'"
6490 lt_cv_sys_global_symbol_to_c_name_address_lib_prefix="sed -n -e 's/^: \([^ ]*\)[ ]*$/  {\\\"\1\\\", (void *) 0},/p' -e 's/^$symcode* \([^ ]*\) \(lib[^ ]*\)$/  {\"\2\", (void *) \&\2},/p' -e 's/^$symcode* \([^ ]*\) \([^ ]*\)$/  {\"lib\2\", (void *) \&\2},/p'"
6491
6492 # Handle CRLF in mingw tool chain
6493 opt_cr=
6494 case $build_os in
6495 mingw*)
6496   opt_cr=`$ECHO 'x\{0,1\}' | tr x '\015'` # option cr in regexp
6497   ;;
6498 esac
6499
6500 # Try without a prefix underscore, then with it.
6501 for ac_symprfx in "" "_"; do
6502
6503   # Transform symcode, sympat, and symprfx into a raw symbol and a C symbol.
6504   symxfrm="\\1 $ac_symprfx\\2 \\2"
6505
6506   # Write the raw and C identifiers.
6507   if test "$lt_cv_nm_interface" = "MS dumpbin"; then
6508     # Fake it for dumpbin and say T for any non-static function
6509     # and D for any global variable.
6510     # Also find C++ and __fastcall symbols from MSVC++,
6511     # which start with @ or ?.
6512     lt_cv_sys_global_symbol_pipe="$AWK '"\
6513 "     {last_section=section; section=\$ 3};"\
6514 "     /^COFF SYMBOL TABLE/{for(i in hide) delete hide[i]};"\
6515 "     /Section length .*#relocs.*(pick any)/{hide[last_section]=1};"\
6516 "     \$ 0!~/External *\|/{next};"\
6517 "     / 0+ UNDEF /{next}; / UNDEF \([^|]\)*()/{next};"\
6518 "     {if(hide[section]) next};"\
6519 "     {f=0}; \$ 0~/\(\).*\|/{f=1}; {printf f ? \"T \" : \"D \"};"\
6520 "     {split(\$ 0, a, /\||\r/); split(a[2], s)};"\
6521 "     s[1]~/^[@?]/{print s[1], s[1]; next};"\
6522 "     s[1]~prfx {split(s[1],t,\"@\"); print t[1], substr(t[1],length(prfx))}"\
6523 "     ' prfx=^$ac_symprfx"
6524   else
6525     lt_cv_sys_global_symbol_pipe="sed -n -e 's/^.*[      ]\($symcode$symcode*\)[         ][      ]*$ac_symprfx$sympat$opt_cr$/$symxfrm/p'"
6526   fi
6527   lt_cv_sys_global_symbol_pipe="$lt_cv_sys_global_symbol_pipe | sed '/ __gnu_lto/d'"
6528
6529   # Check to see that the pipe works correctly.
6530   pipe_works=no
6531
6532   rm -f conftest*
6533   cat > conftest.$ac_ext <<_LT_EOF
6534 #ifdef __cplusplus
6535 extern "C" {
6536 #endif
6537 char nm_test_var;
6538 void nm_test_func(void);
6539 void nm_test_func(void){}
6540 #ifdef __cplusplus
6541 }
6542 #endif
6543 int main(){nm_test_var='a';nm_test_func();return(0);}
6544 _LT_EOF
6545
6546   if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
6547   (eval $ac_compile) 2>&5
6548   ac_status=$?
6549   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6550   test $ac_status = 0; }; then
6551     # Now try to grab the symbols.
6552     nlist=conftest.nm
6553     if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$NM conftest.$ac_objext \| "$lt_cv_sys_global_symbol_pipe" \> $nlist\""; } >&5
6554   (eval $NM conftest.$ac_objext \| "$lt_cv_sys_global_symbol_pipe" \> $nlist) 2>&5
6555   ac_status=$?
6556   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6557   test $ac_status = 0; } && test -s "$nlist"; then
6558       # Try sorting and uniquifying the output.
6559       if sort "$nlist" | uniq > "$nlist"T; then
6560         mv -f "$nlist"T "$nlist"
6561       else
6562         rm -f "$nlist"T
6563       fi
6564
6565       # Make sure that we snagged all the symbols we need.
6566       if $GREP ' nm_test_var$' "$nlist" >/dev/null; then
6567         if $GREP ' nm_test_func$' "$nlist" >/dev/null; then
6568           cat <<_LT_EOF > conftest.$ac_ext
6569 /* Keep this code in sync between libtool.m4, ltmain, lt_system.h, and tests.  */
6570 #if defined(_WIN32) || defined(__CYGWIN__) || defined(_WIN32_WCE)
6571 /* DATA imports from DLLs on WIN32 con't be const, because runtime
6572    relocations are performed -- see ld's documentation on pseudo-relocs.  */
6573 # define LT_DLSYM_CONST
6574 #elif defined(__osf__)
6575 /* This system does not cope well with relocations in const data.  */
6576 # define LT_DLSYM_CONST
6577 #else
6578 # define LT_DLSYM_CONST const
6579 #endif
6580
6581 #ifdef __cplusplus
6582 extern "C" {
6583 #endif
6584
6585 _LT_EOF
6586           # Now generate the symbol file.
6587           eval "$lt_cv_sys_global_symbol_to_cdecl"' < "$nlist" | $GREP -v main >> conftest.$ac_ext'
6588
6589           cat <<_LT_EOF >> conftest.$ac_ext
6590
6591 /* The mapping between symbol names and symbols.  */
6592 LT_DLSYM_CONST struct {
6593   const char *name;
6594   void       *address;
6595 }
6596 lt__PROGRAM__LTX_preloaded_symbols[] =
6597 {
6598   { "@PROGRAM@", (void *) 0 },
6599 _LT_EOF
6600           $SED "s/^$symcode$symcode* \(.*\) \(.*\)$/  {\"\2\", (void *) \&\2},/" < "$nlist" | $GREP -v main >> conftest.$ac_ext
6601           cat <<\_LT_EOF >> conftest.$ac_ext
6602   {0, (void *) 0}
6603 };
6604
6605 /* This works around a problem in FreeBSD linker */
6606 #ifdef FREEBSD_WORKAROUND
6607 static const void *lt_preloaded_setup() {
6608   return lt__PROGRAM__LTX_preloaded_symbols;
6609 }
6610 #endif
6611
6612 #ifdef __cplusplus
6613 }
6614 #endif
6615 _LT_EOF
6616           # Now try linking the two files.
6617           mv conftest.$ac_objext conftstm.$ac_objext
6618           lt_globsym_save_LIBS=$LIBS
6619           lt_globsym_save_CFLAGS=$CFLAGS
6620           LIBS="conftstm.$ac_objext"
6621           CFLAGS="$CFLAGS$lt_prog_compiler_no_builtin_flag"
6622           if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
6623   (eval $ac_link) 2>&5
6624   ac_status=$?
6625   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6626   test $ac_status = 0; } && test -s conftest${ac_exeext}; then
6627             pipe_works=yes
6628           fi
6629           LIBS=$lt_globsym_save_LIBS
6630           CFLAGS=$lt_globsym_save_CFLAGS
6631         else
6632           echo "cannot find nm_test_func in $nlist" >&5
6633         fi
6634       else
6635         echo "cannot find nm_test_var in $nlist" >&5
6636       fi
6637     else
6638       echo "cannot run $lt_cv_sys_global_symbol_pipe" >&5
6639     fi
6640   else
6641     echo "$progname: failed program was:" >&5
6642     cat conftest.$ac_ext >&5
6643   fi
6644   rm -rf conftest* conftst*
6645
6646   # Do not use the global_symbol_pipe unless it works.
6647   if test "$pipe_works" = yes; then
6648     break
6649   else
6650     lt_cv_sys_global_symbol_pipe=
6651   fi
6652 done
6653
6654 fi
6655
6656 if test -z "$lt_cv_sys_global_symbol_pipe"; then
6657   lt_cv_sys_global_symbol_to_cdecl=
6658 fi
6659 if test -z "$lt_cv_sys_global_symbol_pipe$lt_cv_sys_global_symbol_to_cdecl"; then
6660   { $as_echo "$as_me:${as_lineno-$LINENO}: result: failed" >&5
6661 $as_echo "failed" >&6; }
6662 else
6663   { $as_echo "$as_me:${as_lineno-$LINENO}: result: ok" >&5
6664 $as_echo "ok" >&6; }
6665 fi
6666
6667 # Response file support.
6668 if test "$lt_cv_nm_interface" = "MS dumpbin"; then
6669   nm_file_list_spec='@'
6670 elif $NM --help 2>/dev/null | grep '[@]FILE' >/dev/null; then
6671   nm_file_list_spec='@'
6672 fi
6673
6674
6675
6676
6677
6678
6679
6680
6681
6682
6683
6684
6685
6686
6687
6688
6689
6690
6691
6692
6693
6694
6695
6696
6697
6698
6699
6700 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sysroot" >&5
6701 $as_echo_n "checking for sysroot... " >&6; }
6702
6703 # Check whether --with-sysroot was given.
6704 if test "${with_sysroot+set}" = set; then :
6705   withval=$with_sysroot;
6706 else
6707   with_sysroot=no
6708 fi
6709
6710
6711 lt_sysroot=
6712 case ${with_sysroot} in #(
6713  yes)
6714    if test "$GCC" = yes; then
6715      lt_sysroot=`$CC --print-sysroot 2>/dev/null`
6716    fi
6717    ;; #(
6718  /*)
6719    lt_sysroot=`echo "$with_sysroot" | sed -e "$sed_quote_subst"`
6720    ;; #(
6721  no|'')
6722    ;; #(
6723  *)
6724    { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${with_sysroot}" >&5
6725 $as_echo "${with_sysroot}" >&6; }
6726    as_fn_error $? "The sysroot must be an absolute path." "$LINENO" 5
6727    ;;
6728 esac
6729
6730  { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${lt_sysroot:-no}" >&5
6731 $as_echo "${lt_sysroot:-no}" >&6; }
6732
6733
6734
6735
6736
6737 # Check whether --enable-libtool-lock was given.
6738 if test "${enable_libtool_lock+set}" = set; then :
6739   enableval=$enable_libtool_lock;
6740 fi
6741
6742 test "x$enable_libtool_lock" != xno && enable_libtool_lock=yes
6743
6744 # Some flags need to be propagated to the compiler or linker for good
6745 # libtool support.
6746 case $host in
6747 ia64-*-hpux*)
6748   # Find out which ABI we are using.
6749   echo 'int i;' > conftest.$ac_ext
6750   if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
6751   (eval $ac_compile) 2>&5
6752   ac_status=$?
6753   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6754   test $ac_status = 0; }; then
6755     case `/usr/bin/file conftest.$ac_objext` in
6756       *ELF-32*)
6757         HPUX_IA64_MODE="32"
6758         ;;
6759       *ELF-64*)
6760         HPUX_IA64_MODE="64"
6761         ;;
6762     esac
6763   fi
6764   rm -rf conftest*
6765   ;;
6766 *-*-irix6*)
6767   # Find out which ABI we are using.
6768   echo '#line '$LINENO' "configure"' > conftest.$ac_ext
6769   if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
6770   (eval $ac_compile) 2>&5
6771   ac_status=$?
6772   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6773   test $ac_status = 0; }; then
6774     if test "$lt_cv_prog_gnu_ld" = yes; then
6775       case `/usr/bin/file conftest.$ac_objext` in
6776         *32-bit*)
6777           LD="${LD-ld} -melf32bsmip"
6778           ;;
6779         *N32*)
6780           LD="${LD-ld} -melf32bmipn32"
6781           ;;
6782         *64-bit*)
6783           LD="${LD-ld} -melf64bmip"
6784         ;;
6785       esac
6786     else
6787       case `/usr/bin/file conftest.$ac_objext` in
6788         *32-bit*)
6789           LD="${LD-ld} -32"
6790           ;;
6791         *N32*)
6792           LD="${LD-ld} -n32"
6793           ;;
6794         *64-bit*)
6795           LD="${LD-ld} -64"
6796           ;;
6797       esac
6798     fi
6799   fi
6800   rm -rf conftest*
6801   ;;
6802
6803 x86_64-*kfreebsd*-gnu|x86_64-*linux*|ppc*-*linux*|powerpc*-*linux*| \
6804 s390*-*linux*|s390*-*tpf*|sparc*-*linux*)
6805   # Find out which ABI we are using.
6806   echo 'int i;' > conftest.$ac_ext
6807   if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
6808   (eval $ac_compile) 2>&5
6809   ac_status=$?
6810   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6811   test $ac_status = 0; }; then
6812     case `/usr/bin/file conftest.o` in
6813       *32-bit*)
6814         case $host in
6815           x86_64-*kfreebsd*-gnu)
6816             LD="${LD-ld} -m elf_i386_fbsd"
6817             ;;
6818           x86_64-*linux*)
6819             LD="${LD-ld} -m elf_i386"
6820             ;;
6821           ppc64-*linux*|powerpc64-*linux*)
6822             LD="${LD-ld} -m elf32ppclinux"
6823             ;;
6824           s390x-*linux*)
6825             LD="${LD-ld} -m elf_s390"
6826             ;;
6827           sparc64-*linux*)
6828             LD="${LD-ld} -m elf32_sparc"
6829             ;;
6830         esac
6831         ;;
6832       *64-bit*)
6833         case $host in
6834           x86_64-*kfreebsd*-gnu)
6835             LD="${LD-ld} -m elf_x86_64_fbsd"
6836             ;;
6837           x86_64-*linux*)
6838             LD="${LD-ld} -m elf_x86_64"
6839             ;;
6840           ppc*-*linux*|powerpc*-*linux*)
6841             LD="${LD-ld} -m elf64ppc"
6842             ;;
6843           s390*-*linux*|s390*-*tpf*)
6844             LD="${LD-ld} -m elf64_s390"
6845             ;;
6846           sparc*-*linux*)
6847             LD="${LD-ld} -m elf64_sparc"
6848             ;;
6849         esac
6850         ;;
6851     esac
6852   fi
6853   rm -rf conftest*
6854   ;;
6855
6856 *-*-sco3.2v5*)
6857   # On SCO OpenServer 5, we need -belf to get full-featured binaries.
6858   SAVE_CFLAGS="$CFLAGS"
6859   CFLAGS="$CFLAGS -belf"
6860   { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler needs -belf" >&5
6861 $as_echo_n "checking whether the C compiler needs -belf... " >&6; }
6862 if ${lt_cv_cc_needs_belf+:} false; then :
6863   $as_echo_n "(cached) " >&6
6864 else
6865   ac_ext=c
6866 ac_cpp='$CPP $CPPFLAGS'
6867 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
6868 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
6869 ac_compiler_gnu=$ac_cv_c_compiler_gnu
6870
6871      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6872 /* end confdefs.h.  */
6873
6874 int
6875 main ()
6876 {
6877
6878   ;
6879   return 0;
6880 }
6881 _ACEOF
6882 if ac_fn_c_try_link "$LINENO"; then :
6883   lt_cv_cc_needs_belf=yes
6884 else
6885   lt_cv_cc_needs_belf=no
6886 fi
6887 rm -f core conftest.err conftest.$ac_objext \
6888     conftest$ac_exeext conftest.$ac_ext
6889      ac_ext=c
6890 ac_cpp='$CPP $CPPFLAGS'
6891 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
6892 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
6893 ac_compiler_gnu=$ac_cv_c_compiler_gnu
6894
6895 fi
6896 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_cc_needs_belf" >&5
6897 $as_echo "$lt_cv_cc_needs_belf" >&6; }
6898   if test x"$lt_cv_cc_needs_belf" != x"yes"; then
6899     # this is probably gcc 2.8.0, egcs 1.0 or newer; no need for -belf
6900     CFLAGS="$SAVE_CFLAGS"
6901   fi
6902   ;;
6903 *-*solaris*)
6904   # Find out which ABI we are using.
6905   echo 'int i;' > conftest.$ac_ext
6906   if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
6907   (eval $ac_compile) 2>&5
6908   ac_status=$?
6909   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6910   test $ac_status = 0; }; then
6911     case `/usr/bin/file conftest.o` in
6912     *64-bit*)
6913       case $lt_cv_prog_gnu_ld in
6914       yes*)
6915         case $host in
6916         i?86-*-solaris*)
6917           LD="${LD-ld} -m elf_x86_64"
6918           ;;
6919         sparc*-*-solaris*)
6920           LD="${LD-ld} -m elf64_sparc"
6921           ;;
6922         esac
6923         # GNU ld 2.21 introduced _sol2 emulations.  Use them if available.
6924         if ${LD-ld} -V | grep _sol2 >/dev/null 2>&1; then
6925           LD="${LD-ld}_sol2"
6926         fi
6927         ;;
6928       *)
6929         if ${LD-ld} -64 -r -o conftest2.o conftest.o >/dev/null 2>&1; then
6930           LD="${LD-ld} -64"
6931         fi
6932         ;;
6933       esac
6934       ;;
6935     esac
6936   fi
6937   rm -rf conftest*
6938   ;;
6939 esac
6940
6941 need_locks="$enable_libtool_lock"
6942
6943 if test -n "$ac_tool_prefix"; then
6944   # Extract the first word of "${ac_tool_prefix}mt", so it can be a program name with args.
6945 set dummy ${ac_tool_prefix}mt; ac_word=$2
6946 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6947 $as_echo_n "checking for $ac_word... " >&6; }
6948 if ${ac_cv_prog_MANIFEST_TOOL+:} false; then :
6949   $as_echo_n "(cached) " >&6
6950 else
6951   if test -n "$MANIFEST_TOOL"; then
6952   ac_cv_prog_MANIFEST_TOOL="$MANIFEST_TOOL" # Let the user override the test.
6953 else
6954 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6955 for as_dir in $PATH
6956 do
6957   IFS=$as_save_IFS
6958   test -z "$as_dir" && as_dir=.
6959     for ac_exec_ext in '' $ac_executable_extensions; do
6960   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6961     ac_cv_prog_MANIFEST_TOOL="${ac_tool_prefix}mt"
6962     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6963     break 2
6964   fi
6965 done
6966   done
6967 IFS=$as_save_IFS
6968
6969 fi
6970 fi
6971 MANIFEST_TOOL=$ac_cv_prog_MANIFEST_TOOL
6972 if test -n "$MANIFEST_TOOL"; then
6973   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MANIFEST_TOOL" >&5
6974 $as_echo "$MANIFEST_TOOL" >&6; }
6975 else
6976   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6977 $as_echo "no" >&6; }
6978 fi
6979
6980
6981 fi
6982 if test -z "$ac_cv_prog_MANIFEST_TOOL"; then
6983   ac_ct_MANIFEST_TOOL=$MANIFEST_TOOL
6984   # Extract the first word of "mt", so it can be a program name with args.
6985 set dummy mt; ac_word=$2
6986 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6987 $as_echo_n "checking for $ac_word... " >&6; }
6988 if ${ac_cv_prog_ac_ct_MANIFEST_TOOL+:} false; then :
6989   $as_echo_n "(cached) " >&6
6990 else
6991   if test -n "$ac_ct_MANIFEST_TOOL"; then
6992   ac_cv_prog_ac_ct_MANIFEST_TOOL="$ac_ct_MANIFEST_TOOL" # Let the user override the test.
6993 else
6994 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6995 for as_dir in $PATH
6996 do
6997   IFS=$as_save_IFS
6998   test -z "$as_dir" && as_dir=.
6999     for ac_exec_ext in '' $ac_executable_extensions; do
7000   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7001     ac_cv_prog_ac_ct_MANIFEST_TOOL="mt"
7002     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7003     break 2
7004   fi
7005 done
7006   done
7007 IFS=$as_save_IFS
7008
7009 fi
7010 fi
7011 ac_ct_MANIFEST_TOOL=$ac_cv_prog_ac_ct_MANIFEST_TOOL
7012 if test -n "$ac_ct_MANIFEST_TOOL"; then
7013   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_MANIFEST_TOOL" >&5
7014 $as_echo "$ac_ct_MANIFEST_TOOL" >&6; }
7015 else
7016   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7017 $as_echo "no" >&6; }
7018 fi
7019
7020   if test "x$ac_ct_MANIFEST_TOOL" = x; then
7021     MANIFEST_TOOL=":"
7022   else
7023     case $cross_compiling:$ac_tool_warned in
7024 yes:)
7025 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7026 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7027 ac_tool_warned=yes ;;
7028 esac
7029     MANIFEST_TOOL=$ac_ct_MANIFEST_TOOL
7030   fi
7031 else
7032   MANIFEST_TOOL="$ac_cv_prog_MANIFEST_TOOL"
7033 fi
7034
7035 test -z "$MANIFEST_TOOL" && MANIFEST_TOOL=mt
7036 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $MANIFEST_TOOL is a manifest tool" >&5
7037 $as_echo_n "checking if $MANIFEST_TOOL is a manifest tool... " >&6; }
7038 if ${lt_cv_path_mainfest_tool+:} false; then :
7039   $as_echo_n "(cached) " >&6
7040 else
7041   lt_cv_path_mainfest_tool=no
7042   echo "$as_me:$LINENO: $MANIFEST_TOOL '-?'" >&5
7043   $MANIFEST_TOOL '-?' 2>conftest.err > conftest.out
7044   cat conftest.err >&5
7045   if $GREP 'Manifest Tool' conftest.out > /dev/null; then
7046     lt_cv_path_mainfest_tool=yes
7047   fi
7048   rm -f conftest*
7049 fi
7050 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_path_mainfest_tool" >&5
7051 $as_echo "$lt_cv_path_mainfest_tool" >&6; }
7052 if test "x$lt_cv_path_mainfest_tool" != xyes; then
7053   MANIFEST_TOOL=:
7054 fi
7055
7056
7057
7058
7059
7060
7061   case $host_os in
7062     rhapsody* | darwin*)
7063     if test -n "$ac_tool_prefix"; then
7064   # Extract the first word of "${ac_tool_prefix}dsymutil", so it can be a program name with args.
7065 set dummy ${ac_tool_prefix}dsymutil; ac_word=$2
7066 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7067 $as_echo_n "checking for $ac_word... " >&6; }
7068 if ${ac_cv_prog_DSYMUTIL+:} false; then :
7069   $as_echo_n "(cached) " >&6
7070 else
7071   if test -n "$DSYMUTIL"; then
7072   ac_cv_prog_DSYMUTIL="$DSYMUTIL" # Let the user override the test.
7073 else
7074 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7075 for as_dir in $PATH
7076 do
7077   IFS=$as_save_IFS
7078   test -z "$as_dir" && as_dir=.
7079     for ac_exec_ext in '' $ac_executable_extensions; do
7080   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7081     ac_cv_prog_DSYMUTIL="${ac_tool_prefix}dsymutil"
7082     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7083     break 2
7084   fi
7085 done
7086   done
7087 IFS=$as_save_IFS
7088
7089 fi
7090 fi
7091 DSYMUTIL=$ac_cv_prog_DSYMUTIL
7092 if test -n "$DSYMUTIL"; then
7093   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DSYMUTIL" >&5
7094 $as_echo "$DSYMUTIL" >&6; }
7095 else
7096   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7097 $as_echo "no" >&6; }
7098 fi
7099
7100
7101 fi
7102 if test -z "$ac_cv_prog_DSYMUTIL"; then
7103   ac_ct_DSYMUTIL=$DSYMUTIL
7104   # Extract the first word of "dsymutil", so it can be a program name with args.
7105 set dummy dsymutil; ac_word=$2
7106 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7107 $as_echo_n "checking for $ac_word... " >&6; }
7108 if ${ac_cv_prog_ac_ct_DSYMUTIL+:} false; then :
7109   $as_echo_n "(cached) " >&6
7110 else
7111   if test -n "$ac_ct_DSYMUTIL"; then
7112   ac_cv_prog_ac_ct_DSYMUTIL="$ac_ct_DSYMUTIL" # Let the user override the test.
7113 else
7114 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7115 for as_dir in $PATH
7116 do
7117   IFS=$as_save_IFS
7118   test -z "$as_dir" && as_dir=.
7119     for ac_exec_ext in '' $ac_executable_extensions; do
7120   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7121     ac_cv_prog_ac_ct_DSYMUTIL="dsymutil"
7122     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7123     break 2
7124   fi
7125 done
7126   done
7127 IFS=$as_save_IFS
7128
7129 fi
7130 fi
7131 ac_ct_DSYMUTIL=$ac_cv_prog_ac_ct_DSYMUTIL
7132 if test -n "$ac_ct_DSYMUTIL"; then
7133   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DSYMUTIL" >&5
7134 $as_echo "$ac_ct_DSYMUTIL" >&6; }
7135 else
7136   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7137 $as_echo "no" >&6; }
7138 fi
7139
7140   if test "x$ac_ct_DSYMUTIL" = x; then
7141     DSYMUTIL=":"
7142   else
7143     case $cross_compiling:$ac_tool_warned in
7144 yes:)
7145 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7146 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7147 ac_tool_warned=yes ;;
7148 esac
7149     DSYMUTIL=$ac_ct_DSYMUTIL
7150   fi
7151 else
7152   DSYMUTIL="$ac_cv_prog_DSYMUTIL"
7153 fi
7154
7155     if test -n "$ac_tool_prefix"; then
7156   # Extract the first word of "${ac_tool_prefix}nmedit", so it can be a program name with args.
7157 set dummy ${ac_tool_prefix}nmedit; ac_word=$2
7158 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7159 $as_echo_n "checking for $ac_word... " >&6; }
7160 if ${ac_cv_prog_NMEDIT+:} false; then :
7161   $as_echo_n "(cached) " >&6
7162 else
7163   if test -n "$NMEDIT"; then
7164   ac_cv_prog_NMEDIT="$NMEDIT" # Let the user override the test.
7165 else
7166 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7167 for as_dir in $PATH
7168 do
7169   IFS=$as_save_IFS
7170   test -z "$as_dir" && as_dir=.
7171     for ac_exec_ext in '' $ac_executable_extensions; do
7172   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7173     ac_cv_prog_NMEDIT="${ac_tool_prefix}nmedit"
7174     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7175     break 2
7176   fi
7177 done
7178   done
7179 IFS=$as_save_IFS
7180
7181 fi
7182 fi
7183 NMEDIT=$ac_cv_prog_NMEDIT
7184 if test -n "$NMEDIT"; then
7185   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $NMEDIT" >&5
7186 $as_echo "$NMEDIT" >&6; }
7187 else
7188   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7189 $as_echo "no" >&6; }
7190 fi
7191
7192
7193 fi
7194 if test -z "$ac_cv_prog_NMEDIT"; then
7195   ac_ct_NMEDIT=$NMEDIT
7196   # Extract the first word of "nmedit", so it can be a program name with args.
7197 set dummy nmedit; ac_word=$2
7198 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7199 $as_echo_n "checking for $ac_word... " >&6; }
7200 if ${ac_cv_prog_ac_ct_NMEDIT+:} false; then :
7201   $as_echo_n "(cached) " >&6
7202 else
7203   if test -n "$ac_ct_NMEDIT"; then
7204   ac_cv_prog_ac_ct_NMEDIT="$ac_ct_NMEDIT" # Let the user override the test.
7205 else
7206 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7207 for as_dir in $PATH
7208 do
7209   IFS=$as_save_IFS
7210   test -z "$as_dir" && as_dir=.
7211     for ac_exec_ext in '' $ac_executable_extensions; do
7212   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7213     ac_cv_prog_ac_ct_NMEDIT="nmedit"
7214     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7215     break 2
7216   fi
7217 done
7218   done
7219 IFS=$as_save_IFS
7220
7221 fi
7222 fi
7223 ac_ct_NMEDIT=$ac_cv_prog_ac_ct_NMEDIT
7224 if test -n "$ac_ct_NMEDIT"; then
7225   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_NMEDIT" >&5
7226 $as_echo "$ac_ct_NMEDIT" >&6; }
7227 else
7228   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7229 $as_echo "no" >&6; }
7230 fi
7231
7232   if test "x$ac_ct_NMEDIT" = x; then
7233     NMEDIT=":"
7234   else
7235     case $cross_compiling:$ac_tool_warned in
7236 yes:)
7237 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7238 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7239 ac_tool_warned=yes ;;
7240 esac
7241     NMEDIT=$ac_ct_NMEDIT
7242   fi
7243 else
7244   NMEDIT="$ac_cv_prog_NMEDIT"
7245 fi
7246
7247     if test -n "$ac_tool_prefix"; then
7248   # Extract the first word of "${ac_tool_prefix}lipo", so it can be a program name with args.
7249 set dummy ${ac_tool_prefix}lipo; ac_word=$2
7250 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7251 $as_echo_n "checking for $ac_word... " >&6; }
7252 if ${ac_cv_prog_LIPO+:} false; then :
7253   $as_echo_n "(cached) " >&6
7254 else
7255   if test -n "$LIPO"; then
7256   ac_cv_prog_LIPO="$LIPO" # Let the user override the test.
7257 else
7258 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7259 for as_dir in $PATH
7260 do
7261   IFS=$as_save_IFS
7262   test -z "$as_dir" && as_dir=.
7263     for ac_exec_ext in '' $ac_executable_extensions; do
7264   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7265     ac_cv_prog_LIPO="${ac_tool_prefix}lipo"
7266     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7267     break 2
7268   fi
7269 done
7270   done
7271 IFS=$as_save_IFS
7272
7273 fi
7274 fi
7275 LIPO=$ac_cv_prog_LIPO
7276 if test -n "$LIPO"; then
7277   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LIPO" >&5
7278 $as_echo "$LIPO" >&6; }
7279 else
7280   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7281 $as_echo "no" >&6; }
7282 fi
7283
7284
7285 fi
7286 if test -z "$ac_cv_prog_LIPO"; then
7287   ac_ct_LIPO=$LIPO
7288   # Extract the first word of "lipo", so it can be a program name with args.
7289 set dummy lipo; ac_word=$2
7290 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7291 $as_echo_n "checking for $ac_word... " >&6; }
7292 if ${ac_cv_prog_ac_ct_LIPO+:} false; then :
7293   $as_echo_n "(cached) " >&6
7294 else
7295   if test -n "$ac_ct_LIPO"; then
7296   ac_cv_prog_ac_ct_LIPO="$ac_ct_LIPO" # Let the user override the test.
7297 else
7298 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7299 for as_dir in $PATH
7300 do
7301   IFS=$as_save_IFS
7302   test -z "$as_dir" && as_dir=.
7303     for ac_exec_ext in '' $ac_executable_extensions; do
7304   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7305     ac_cv_prog_ac_ct_LIPO="lipo"
7306     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7307     break 2
7308   fi
7309 done
7310   done
7311 IFS=$as_save_IFS
7312
7313 fi
7314 fi
7315 ac_ct_LIPO=$ac_cv_prog_ac_ct_LIPO
7316 if test -n "$ac_ct_LIPO"; then
7317   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_LIPO" >&5
7318 $as_echo "$ac_ct_LIPO" >&6; }
7319 else
7320   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7321 $as_echo "no" >&6; }
7322 fi
7323
7324   if test "x$ac_ct_LIPO" = x; then
7325     LIPO=":"
7326   else
7327     case $cross_compiling:$ac_tool_warned in
7328 yes:)
7329 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7330 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7331 ac_tool_warned=yes ;;
7332 esac
7333     LIPO=$ac_ct_LIPO
7334   fi
7335 else
7336   LIPO="$ac_cv_prog_LIPO"
7337 fi
7338
7339     if test -n "$ac_tool_prefix"; then
7340   # Extract the first word of "${ac_tool_prefix}otool", so it can be a program name with args.
7341 set dummy ${ac_tool_prefix}otool; ac_word=$2
7342 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7343 $as_echo_n "checking for $ac_word... " >&6; }
7344 if ${ac_cv_prog_OTOOL+:} false; then :
7345   $as_echo_n "(cached) " >&6
7346 else
7347   if test -n "$OTOOL"; then
7348   ac_cv_prog_OTOOL="$OTOOL" # Let the user override the test.
7349 else
7350 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7351 for as_dir in $PATH
7352 do
7353   IFS=$as_save_IFS
7354   test -z "$as_dir" && as_dir=.
7355     for ac_exec_ext in '' $ac_executable_extensions; do
7356   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7357     ac_cv_prog_OTOOL="${ac_tool_prefix}otool"
7358     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7359     break 2
7360   fi
7361 done
7362   done
7363 IFS=$as_save_IFS
7364
7365 fi
7366 fi
7367 OTOOL=$ac_cv_prog_OTOOL
7368 if test -n "$OTOOL"; then
7369   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OTOOL" >&5
7370 $as_echo "$OTOOL" >&6; }
7371 else
7372   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7373 $as_echo "no" >&6; }
7374 fi
7375
7376
7377 fi
7378 if test -z "$ac_cv_prog_OTOOL"; then
7379   ac_ct_OTOOL=$OTOOL
7380   # Extract the first word of "otool", so it can be a program name with args.
7381 set dummy otool; ac_word=$2
7382 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7383 $as_echo_n "checking for $ac_word... " >&6; }
7384 if ${ac_cv_prog_ac_ct_OTOOL+:} false; then :
7385   $as_echo_n "(cached) " >&6
7386 else
7387   if test -n "$ac_ct_OTOOL"; then
7388   ac_cv_prog_ac_ct_OTOOL="$ac_ct_OTOOL" # Let the user override the test.
7389 else
7390 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7391 for as_dir in $PATH
7392 do
7393   IFS=$as_save_IFS
7394   test -z "$as_dir" && as_dir=.
7395     for ac_exec_ext in '' $ac_executable_extensions; do
7396   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7397     ac_cv_prog_ac_ct_OTOOL="otool"
7398     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7399     break 2
7400   fi
7401 done
7402   done
7403 IFS=$as_save_IFS
7404
7405 fi
7406 fi
7407 ac_ct_OTOOL=$ac_cv_prog_ac_ct_OTOOL
7408 if test -n "$ac_ct_OTOOL"; then
7409   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OTOOL" >&5
7410 $as_echo "$ac_ct_OTOOL" >&6; }
7411 else
7412   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7413 $as_echo "no" >&6; }
7414 fi
7415
7416   if test "x$ac_ct_OTOOL" = x; then
7417     OTOOL=":"
7418   else
7419     case $cross_compiling:$ac_tool_warned in
7420 yes:)
7421 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7422 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7423 ac_tool_warned=yes ;;
7424 esac
7425     OTOOL=$ac_ct_OTOOL
7426   fi
7427 else
7428   OTOOL="$ac_cv_prog_OTOOL"
7429 fi
7430
7431     if test -n "$ac_tool_prefix"; then
7432   # Extract the first word of "${ac_tool_prefix}otool64", so it can be a program name with args.
7433 set dummy ${ac_tool_prefix}otool64; ac_word=$2
7434 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7435 $as_echo_n "checking for $ac_word... " >&6; }
7436 if ${ac_cv_prog_OTOOL64+:} false; then :
7437   $as_echo_n "(cached) " >&6
7438 else
7439   if test -n "$OTOOL64"; then
7440   ac_cv_prog_OTOOL64="$OTOOL64" # Let the user override the test.
7441 else
7442 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7443 for as_dir in $PATH
7444 do
7445   IFS=$as_save_IFS
7446   test -z "$as_dir" && as_dir=.
7447     for ac_exec_ext in '' $ac_executable_extensions; do
7448   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7449     ac_cv_prog_OTOOL64="${ac_tool_prefix}otool64"
7450     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7451     break 2
7452   fi
7453 done
7454   done
7455 IFS=$as_save_IFS
7456
7457 fi
7458 fi
7459 OTOOL64=$ac_cv_prog_OTOOL64
7460 if test -n "$OTOOL64"; then
7461   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OTOOL64" >&5
7462 $as_echo "$OTOOL64" >&6; }
7463 else
7464   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7465 $as_echo "no" >&6; }
7466 fi
7467
7468
7469 fi
7470 if test -z "$ac_cv_prog_OTOOL64"; then
7471   ac_ct_OTOOL64=$OTOOL64
7472   # Extract the first word of "otool64", so it can be a program name with args.
7473 set dummy otool64; ac_word=$2
7474 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7475 $as_echo_n "checking for $ac_word... " >&6; }
7476 if ${ac_cv_prog_ac_ct_OTOOL64+:} false; then :
7477   $as_echo_n "(cached) " >&6
7478 else
7479   if test -n "$ac_ct_OTOOL64"; then
7480   ac_cv_prog_ac_ct_OTOOL64="$ac_ct_OTOOL64" # Let the user override the test.
7481 else
7482 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7483 for as_dir in $PATH
7484 do
7485   IFS=$as_save_IFS
7486   test -z "$as_dir" && as_dir=.
7487     for ac_exec_ext in '' $ac_executable_extensions; do
7488   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7489     ac_cv_prog_ac_ct_OTOOL64="otool64"
7490     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7491     break 2
7492   fi
7493 done
7494   done
7495 IFS=$as_save_IFS
7496
7497 fi
7498 fi
7499 ac_ct_OTOOL64=$ac_cv_prog_ac_ct_OTOOL64
7500 if test -n "$ac_ct_OTOOL64"; then
7501   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OTOOL64" >&5
7502 $as_echo "$ac_ct_OTOOL64" >&6; }
7503 else
7504   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7505 $as_echo "no" >&6; }
7506 fi
7507
7508   if test "x$ac_ct_OTOOL64" = x; then
7509     OTOOL64=":"
7510   else
7511     case $cross_compiling:$ac_tool_warned in
7512 yes:)
7513 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7514 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7515 ac_tool_warned=yes ;;
7516 esac
7517     OTOOL64=$ac_ct_OTOOL64
7518   fi
7519 else
7520   OTOOL64="$ac_cv_prog_OTOOL64"
7521 fi
7522
7523
7524
7525
7526
7527
7528
7529
7530
7531
7532
7533
7534
7535
7536
7537
7538
7539
7540
7541
7542
7543
7544
7545
7546
7547
7548
7549     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -single_module linker flag" >&5
7550 $as_echo_n "checking for -single_module linker flag... " >&6; }
7551 if ${lt_cv_apple_cc_single_mod+:} false; then :
7552   $as_echo_n "(cached) " >&6
7553 else
7554   lt_cv_apple_cc_single_mod=no
7555       if test -z "${LT_MULTI_MODULE}"; then
7556         # By default we will add the -single_module flag. You can override
7557         # by either setting the environment variable LT_MULTI_MODULE
7558         # non-empty at configure time, or by adding -multi_module to the
7559         # link flags.
7560         rm -rf libconftest.dylib*
7561         echo "int foo(void){return 1;}" > conftest.c
7562         echo "$LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \
7563 -dynamiclib -Wl,-single_module conftest.c" >&5
7564         $LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \
7565           -dynamiclib -Wl,-single_module conftest.c 2>conftest.err
7566         _lt_result=$?
7567         # If there is a non-empty error log, and "single_module"
7568         # appears in it, assume the flag caused a linker warning
7569         if test -s conftest.err && $GREP single_module conftest.err; then
7570           cat conftest.err >&5
7571         # Otherwise, if the output was created with a 0 exit code from
7572         # the compiler, it worked.
7573         elif test -f libconftest.dylib && test $_lt_result -eq 0; then
7574           lt_cv_apple_cc_single_mod=yes
7575         else
7576           cat conftest.err >&5
7577         fi
7578         rm -rf libconftest.dylib*
7579         rm -f conftest.*
7580       fi
7581 fi
7582 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_apple_cc_single_mod" >&5
7583 $as_echo "$lt_cv_apple_cc_single_mod" >&6; }
7584
7585     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -exported_symbols_list linker flag" >&5
7586 $as_echo_n "checking for -exported_symbols_list linker flag... " >&6; }
7587 if ${lt_cv_ld_exported_symbols_list+:} false; then :
7588   $as_echo_n "(cached) " >&6
7589 else
7590   lt_cv_ld_exported_symbols_list=no
7591       save_LDFLAGS=$LDFLAGS
7592       echo "_main" > conftest.sym
7593       LDFLAGS="$LDFLAGS -Wl,-exported_symbols_list,conftest.sym"
7594       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7595 /* end confdefs.h.  */
7596
7597 int
7598 main ()
7599 {
7600
7601   ;
7602   return 0;
7603 }
7604 _ACEOF
7605 if ac_fn_c_try_link "$LINENO"; then :
7606   lt_cv_ld_exported_symbols_list=yes
7607 else
7608   lt_cv_ld_exported_symbols_list=no
7609 fi
7610 rm -f core conftest.err conftest.$ac_objext \
7611     conftest$ac_exeext conftest.$ac_ext
7612         LDFLAGS="$save_LDFLAGS"
7613
7614 fi
7615 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_exported_symbols_list" >&5
7616 $as_echo "$lt_cv_ld_exported_symbols_list" >&6; }
7617
7618     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -force_load linker flag" >&5
7619 $as_echo_n "checking for -force_load linker flag... " >&6; }
7620 if ${lt_cv_ld_force_load+:} false; then :
7621   $as_echo_n "(cached) " >&6
7622 else
7623   lt_cv_ld_force_load=no
7624       cat > conftest.c << _LT_EOF
7625 int forced_loaded() { return 2;}
7626 _LT_EOF
7627       echo "$LTCC $LTCFLAGS -c -o conftest.o conftest.c" >&5
7628       $LTCC $LTCFLAGS -c -o conftest.o conftest.c 2>&5
7629       echo "$AR cru libconftest.a conftest.o" >&5
7630       $AR cru libconftest.a conftest.o 2>&5
7631       echo "$RANLIB libconftest.a" >&5
7632       $RANLIB libconftest.a 2>&5
7633       cat > conftest.c << _LT_EOF
7634 int main() { return 0;}
7635 _LT_EOF
7636       echo "$LTCC $LTCFLAGS $LDFLAGS -o conftest conftest.c -Wl,-force_load,./libconftest.a" >&5
7637       $LTCC $LTCFLAGS $LDFLAGS -o conftest conftest.c -Wl,-force_load,./libconftest.a 2>conftest.err
7638       _lt_result=$?
7639       if test -s conftest.err && $GREP force_load conftest.err; then
7640         cat conftest.err >&5
7641       elif test -f conftest && test $_lt_result -eq 0 && $GREP forced_load conftest >/dev/null 2>&1 ; then
7642         lt_cv_ld_force_load=yes
7643       else
7644         cat conftest.err >&5
7645       fi
7646         rm -f conftest.err libconftest.a conftest conftest.c
7647         rm -rf conftest.dSYM
7648
7649 fi
7650 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_force_load" >&5
7651 $as_echo "$lt_cv_ld_force_load" >&6; }
7652     case $host_os in
7653     rhapsody* | darwin1.[012])
7654       _lt_dar_allow_undefined='${wl}-undefined ${wl}suppress' ;;
7655     darwin1.*)
7656       _lt_dar_allow_undefined='${wl}-flat_namespace ${wl}-undefined ${wl}suppress' ;;
7657     darwin*) # darwin 5.x on
7658       # if running on 10.5 or later, the deployment target defaults
7659       # to the OS version, if on x86, and 10.4, the deployment
7660       # target defaults to 10.4. Don't you love it?
7661       case ${MACOSX_DEPLOYMENT_TARGET-10.0},$host in
7662         10.0,*86*-darwin8*|10.0,*-darwin[91]*)
7663           _lt_dar_allow_undefined='${wl}-undefined ${wl}dynamic_lookup' ;;
7664         10.[012]*)
7665           _lt_dar_allow_undefined='${wl}-flat_namespace ${wl}-undefined ${wl}suppress' ;;
7666         10.*)
7667           _lt_dar_allow_undefined='${wl}-undefined ${wl}dynamic_lookup' ;;
7668       esac
7669     ;;
7670   esac
7671     if test "$lt_cv_apple_cc_single_mod" = "yes"; then
7672       _lt_dar_single_mod='$single_module'
7673     fi
7674     if test "$lt_cv_ld_exported_symbols_list" = "yes"; then
7675       _lt_dar_export_syms=' ${wl}-exported_symbols_list,$output_objdir/${libname}-symbols.expsym'
7676     else
7677       _lt_dar_export_syms='~$NMEDIT -s $output_objdir/${libname}-symbols.expsym ${lib}'
7678     fi
7679     if test "$DSYMUTIL" != ":" && test "$lt_cv_ld_force_load" = "no"; then
7680       _lt_dsymutil='~$DSYMUTIL $lib || :'
7681     else
7682       _lt_dsymutil=
7683     fi
7684     ;;
7685   esac
7686
7687 ac_ext=c
7688 ac_cpp='$CPP $CPPFLAGS'
7689 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
7690 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
7691 ac_compiler_gnu=$ac_cv_c_compiler_gnu
7692 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C preprocessor" >&5
7693 $as_echo_n "checking how to run the C preprocessor... " >&6; }
7694 # On Suns, sometimes $CPP names a directory.
7695 if test -n "$CPP" && test -d "$CPP"; then
7696   CPP=
7697 fi
7698 if test -z "$CPP"; then
7699   if ${ac_cv_prog_CPP+:} false; then :
7700   $as_echo_n "(cached) " >&6
7701 else
7702       # Double quotes because CPP needs to be expanded
7703     for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
7704     do
7705       ac_preproc_ok=false
7706 for ac_c_preproc_warn_flag in '' yes
7707 do
7708   # Use a header file that comes with gcc, so configuring glibc
7709   # with a fresh cross-compiler works.
7710   # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
7711   # <limits.h> exists even on freestanding compilers.
7712   # On the NeXT, cc -E runs the code through the compiler's parser,
7713   # not just through cpp. "Syntax error" is here to catch this case.
7714   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7715 /* end confdefs.h.  */
7716 #ifdef __STDC__
7717 # include <limits.h>
7718 #else
7719 # include <assert.h>
7720 #endif
7721                      Syntax error
7722 _ACEOF
7723 if ac_fn_c_try_cpp "$LINENO"; then :
7724
7725 else
7726   # Broken: fails on valid input.
7727 continue
7728 fi
7729 rm -f conftest.err conftest.i conftest.$ac_ext
7730
7731   # OK, works on sane cases.  Now check whether nonexistent headers
7732   # can be detected and how.
7733   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7734 /* end confdefs.h.  */
7735 #include <ac_nonexistent.h>
7736 _ACEOF
7737 if ac_fn_c_try_cpp "$LINENO"; then :
7738   # Broken: success on invalid input.
7739 continue
7740 else
7741   # Passes both tests.
7742 ac_preproc_ok=:
7743 break
7744 fi
7745 rm -f conftest.err conftest.i conftest.$ac_ext
7746
7747 done
7748 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
7749 rm -f conftest.i conftest.err conftest.$ac_ext
7750 if $ac_preproc_ok; then :
7751   break
7752 fi
7753
7754     done
7755     ac_cv_prog_CPP=$CPP
7756
7757 fi
7758   CPP=$ac_cv_prog_CPP
7759 else
7760   ac_cv_prog_CPP=$CPP
7761 fi
7762 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CPP" >&5
7763 $as_echo "$CPP" >&6; }
7764 ac_preproc_ok=false
7765 for ac_c_preproc_warn_flag in '' yes
7766 do
7767   # Use a header file that comes with gcc, so configuring glibc
7768   # with a fresh cross-compiler works.
7769   # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
7770   # <limits.h> exists even on freestanding compilers.
7771   # On the NeXT, cc -E runs the code through the compiler's parser,
7772   # not just through cpp. "Syntax error" is here to catch this case.
7773   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7774 /* end confdefs.h.  */
7775 #ifdef __STDC__
7776 # include <limits.h>
7777 #else
7778 # include <assert.h>
7779 #endif
7780                      Syntax error
7781 _ACEOF
7782 if ac_fn_c_try_cpp "$LINENO"; then :
7783
7784 else
7785   # Broken: fails on valid input.
7786 continue
7787 fi
7788 rm -f conftest.err conftest.i conftest.$ac_ext
7789
7790   # OK, works on sane cases.  Now check whether nonexistent headers
7791   # can be detected and how.
7792   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7793 /* end confdefs.h.  */
7794 #include <ac_nonexistent.h>
7795 _ACEOF
7796 if ac_fn_c_try_cpp "$LINENO"; then :
7797   # Broken: success on invalid input.
7798 continue
7799 else
7800   # Passes both tests.
7801 ac_preproc_ok=:
7802 break
7803 fi
7804 rm -f conftest.err conftest.i conftest.$ac_ext
7805
7806 done
7807 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
7808 rm -f conftest.i conftest.err conftest.$ac_ext
7809 if $ac_preproc_ok; then :
7810
7811 else
7812   { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
7813 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
7814 as_fn_error $? "C preprocessor \"$CPP\" fails sanity check
7815 See \`config.log' for more details" "$LINENO" 5; }
7816 fi
7817
7818 ac_ext=c
7819 ac_cpp='$CPP $CPPFLAGS'
7820 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
7821 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
7822 ac_compiler_gnu=$ac_cv_c_compiler_gnu
7823
7824
7825 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5
7826 $as_echo_n "checking for ANSI C header files... " >&6; }
7827 if ${ac_cv_header_stdc+:} false; then :
7828   $as_echo_n "(cached) " >&6
7829 else
7830   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7831 /* end confdefs.h.  */
7832 #include <stdlib.h>
7833 #include <stdarg.h>
7834 #include <string.h>
7835 #include <float.h>
7836
7837 int
7838 main ()
7839 {
7840
7841   ;
7842   return 0;
7843 }
7844 _ACEOF
7845 if ac_fn_c_try_compile "$LINENO"; then :
7846   ac_cv_header_stdc=yes
7847 else
7848   ac_cv_header_stdc=no
7849 fi
7850 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
7851
7852 if test $ac_cv_header_stdc = yes; then
7853   # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
7854   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7855 /* end confdefs.h.  */
7856 #include <string.h>
7857
7858 _ACEOF
7859 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
7860   $EGREP "memchr" >/dev/null 2>&1; then :
7861
7862 else
7863   ac_cv_header_stdc=no
7864 fi
7865 rm -f conftest*
7866
7867 fi
7868
7869 if test $ac_cv_header_stdc = yes; then
7870   # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
7871   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7872 /* end confdefs.h.  */
7873 #include <stdlib.h>
7874
7875 _ACEOF
7876 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
7877   $EGREP "free" >/dev/null 2>&1; then :
7878
7879 else
7880   ac_cv_header_stdc=no
7881 fi
7882 rm -f conftest*
7883
7884 fi
7885
7886 if test $ac_cv_header_stdc = yes; then
7887   # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
7888   if test "$cross_compiling" = yes; then :
7889   :
7890 else
7891   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7892 /* end confdefs.h.  */
7893 #include <ctype.h>
7894 #include <stdlib.h>
7895 #if ((' ' & 0x0FF) == 0x020)
7896 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
7897 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
7898 #else
7899 # define ISLOWER(c) \
7900                    (('a' <= (c) && (c) <= 'i') \
7901                      || ('j' <= (c) && (c) <= 'r') \
7902                      || ('s' <= (c) && (c) <= 'z'))
7903 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
7904 #endif
7905
7906 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
7907 int
7908 main ()
7909 {
7910   int i;
7911   for (i = 0; i < 256; i++)
7912     if (XOR (islower (i), ISLOWER (i))
7913         || toupper (i) != TOUPPER (i))
7914       return 2;
7915   return 0;
7916 }
7917 _ACEOF
7918 if ac_fn_c_try_run "$LINENO"; then :
7919
7920 else
7921   ac_cv_header_stdc=no
7922 fi
7923 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
7924   conftest.$ac_objext conftest.beam conftest.$ac_ext
7925 fi
7926
7927 fi
7928 fi
7929 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdc" >&5
7930 $as_echo "$ac_cv_header_stdc" >&6; }
7931 if test $ac_cv_header_stdc = yes; then
7932
7933 $as_echo "#define STDC_HEADERS 1" >>confdefs.h
7934
7935 fi
7936
7937 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
7938 for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
7939                   inttypes.h stdint.h unistd.h
7940 do :
7941   as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
7942 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default
7943 "
7944 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
7945   cat >>confdefs.h <<_ACEOF
7946 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
7947 _ACEOF
7948
7949 fi
7950
7951 done
7952
7953
7954 for ac_header in dlfcn.h
7955 do :
7956   ac_fn_c_check_header_compile "$LINENO" "dlfcn.h" "ac_cv_header_dlfcn_h" "$ac_includes_default
7957 "
7958 if test "x$ac_cv_header_dlfcn_h" = xyes; then :
7959   cat >>confdefs.h <<_ACEOF
7960 #define HAVE_DLFCN_H 1
7961 _ACEOF
7962
7963 fi
7964
7965 done
7966
7967
7968
7969
7970
7971 # Set options
7972
7973
7974
7975         enable_dlopen=no
7976
7977
7978   enable_win32_dll=no
7979
7980
7981             # Check whether --enable-shared was given.
7982 if test "${enable_shared+set}" = set; then :
7983   enableval=$enable_shared; p=${PACKAGE-default}
7984     case $enableval in
7985     yes) enable_shared=yes ;;
7986     no) enable_shared=no ;;
7987     *)
7988       enable_shared=no
7989       # Look at the argument we got.  We use all the common list separators.
7990       lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
7991       for pkg in $enableval; do
7992         IFS="$lt_save_ifs"
7993         if test "X$pkg" = "X$p"; then
7994           enable_shared=yes
7995         fi
7996       done
7997       IFS="$lt_save_ifs"
7998       ;;
7999     esac
8000 else
8001   enable_shared=yes
8002 fi
8003
8004
8005
8006
8007
8008
8009
8010
8011
8012   # Check whether --enable-static was given.
8013 if test "${enable_static+set}" = set; then :
8014   enableval=$enable_static; p=${PACKAGE-default}
8015     case $enableval in
8016     yes) enable_static=yes ;;
8017     no) enable_static=no ;;
8018     *)
8019      enable_static=no
8020       # Look at the argument we got.  We use all the common list separators.
8021       lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
8022       for pkg in $enableval; do
8023         IFS="$lt_save_ifs"
8024         if test "X$pkg" = "X$p"; then
8025           enable_static=yes
8026         fi
8027       done
8028       IFS="$lt_save_ifs"
8029       ;;
8030     esac
8031 else
8032   enable_static=yes
8033 fi
8034
8035
8036
8037
8038
8039
8040
8041
8042
8043
8044 # Check whether --with-pic was given.
8045 if test "${with_pic+set}" = set; then :
8046   withval=$with_pic; lt_p=${PACKAGE-default}
8047     case $withval in
8048     yes|no) pic_mode=$withval ;;
8049     *)
8050       pic_mode=default
8051       # Look at the argument we got.  We use all the common list separators.
8052       lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
8053       for lt_pkg in $withval; do
8054         IFS="$lt_save_ifs"
8055         if test "X$lt_pkg" = "X$lt_p"; then
8056           pic_mode=yes
8057         fi
8058       done
8059       IFS="$lt_save_ifs"
8060       ;;
8061     esac
8062 else
8063   pic_mode=default
8064 fi
8065
8066
8067 test -z "$pic_mode" && pic_mode=default
8068
8069
8070
8071
8072
8073
8074
8075   # Check whether --enable-fast-install was given.
8076 if test "${enable_fast_install+set}" = set; then :
8077   enableval=$enable_fast_install; p=${PACKAGE-default}
8078     case $enableval in
8079     yes) enable_fast_install=yes ;;
8080     no) enable_fast_install=no ;;
8081     *)
8082       enable_fast_install=no
8083       # Look at the argument we got.  We use all the common list separators.
8084       lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
8085       for pkg in $enableval; do
8086         IFS="$lt_save_ifs"
8087         if test "X$pkg" = "X$p"; then
8088           enable_fast_install=yes
8089         fi
8090       done
8091       IFS="$lt_save_ifs"
8092       ;;
8093     esac
8094 else
8095   enable_fast_install=yes
8096 fi
8097
8098
8099
8100
8101
8102
8103
8104
8105
8106
8107
8108 # This can be used to rebuild libtool when needed
8109 LIBTOOL_DEPS="$ltmain"
8110
8111 # Always use our own libtool.
8112 LIBTOOL='$(SHELL) $(top_builddir)/libtool'
8113
8114
8115
8116
8117
8118
8119
8120
8121
8122
8123
8124
8125
8126
8127
8128
8129
8130
8131
8132
8133
8134
8135
8136
8137
8138
8139
8140
8141
8142
8143 test -z "$LN_S" && LN_S="ln -s"
8144
8145
8146
8147
8148
8149
8150
8151
8152
8153
8154
8155
8156
8157
8158 if test -n "${ZSH_VERSION+set}" ; then
8159    setopt NO_GLOB_SUBST
8160 fi
8161
8162 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for objdir" >&5
8163 $as_echo_n "checking for objdir... " >&6; }
8164 if ${lt_cv_objdir+:} false; then :
8165   $as_echo_n "(cached) " >&6
8166 else
8167   rm -f .libs 2>/dev/null
8168 mkdir .libs 2>/dev/null
8169 if test -d .libs; then
8170   lt_cv_objdir=.libs
8171 else
8172   # MS-DOS does not allow filenames that begin with a dot.
8173   lt_cv_objdir=_libs
8174 fi
8175 rmdir .libs 2>/dev/null
8176 fi
8177 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_objdir" >&5
8178 $as_echo "$lt_cv_objdir" >&6; }
8179 objdir=$lt_cv_objdir
8180
8181
8182
8183
8184
8185 cat >>confdefs.h <<_ACEOF
8186 #define LT_OBJDIR "$lt_cv_objdir/"
8187 _ACEOF
8188
8189
8190
8191
8192 case $host_os in
8193 aix3*)
8194   # AIX sometimes has problems with the GCC collect2 program.  For some
8195   # reason, if we set the COLLECT_NAMES environment variable, the problems
8196   # vanish in a puff of smoke.
8197   if test "X${COLLECT_NAMES+set}" != Xset; then
8198     COLLECT_NAMES=
8199     export COLLECT_NAMES
8200   fi
8201   ;;
8202 esac
8203
8204 # Global variables:
8205 ofile=libtool
8206 can_build_shared=yes
8207
8208 # All known linkers require a `.a' archive for static linking (except MSVC,
8209 # which needs '.lib').
8210 libext=a
8211
8212 with_gnu_ld="$lt_cv_prog_gnu_ld"
8213
8214 old_CC="$CC"
8215 old_CFLAGS="$CFLAGS"
8216
8217 # Set sane defaults for various variables
8218 test -z "$CC" && CC=cc
8219 test -z "$LTCC" && LTCC=$CC
8220 test -z "$LTCFLAGS" && LTCFLAGS=$CFLAGS
8221 test -z "$LD" && LD=ld
8222 test -z "$ac_objext" && ac_objext=o
8223
8224 for cc_temp in $compiler""; do
8225   case $cc_temp in
8226     compile | *[\\/]compile | ccache | *[\\/]ccache ) ;;
8227     distcc | *[\\/]distcc | purify | *[\\/]purify ) ;;
8228     \-*) ;;
8229     *) break;;
8230   esac
8231 done
8232 cc_basename=`$ECHO "$cc_temp" | $SED "s%.*/%%; s%^$host_alias-%%"`
8233
8234
8235 # Only perform the check for file, if the check method requires it
8236 test -z "$MAGIC_CMD" && MAGIC_CMD=file
8237 case $deplibs_check_method in
8238 file_magic*)
8239   if test "$file_magic_cmd" = '$MAGIC_CMD'; then
8240     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ${ac_tool_prefix}file" >&5
8241 $as_echo_n "checking for ${ac_tool_prefix}file... " >&6; }
8242 if ${lt_cv_path_MAGIC_CMD+:} false; then :
8243   $as_echo_n "(cached) " >&6
8244 else
8245   case $MAGIC_CMD in
8246 [\\/*] |  ?:[\\/]*)
8247   lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a path.
8248   ;;
8249 *)
8250   lt_save_MAGIC_CMD="$MAGIC_CMD"
8251   lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
8252   ac_dummy="/usr/bin$PATH_SEPARATOR$PATH"
8253   for ac_dir in $ac_dummy; do
8254     IFS="$lt_save_ifs"
8255     test -z "$ac_dir" && ac_dir=.
8256     if test -f $ac_dir/${ac_tool_prefix}file; then
8257       lt_cv_path_MAGIC_CMD="$ac_dir/${ac_tool_prefix}file"
8258       if test -n "$file_magic_test_file"; then
8259         case $deplibs_check_method in
8260         "file_magic "*)
8261           file_magic_regex=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
8262           MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
8263           if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
8264             $EGREP "$file_magic_regex" > /dev/null; then
8265             :
8266           else
8267             cat <<_LT_EOF 1>&2
8268
8269 *** Warning: the command libtool uses to detect shared libraries,
8270 *** $file_magic_cmd, produces output that libtool cannot recognize.
8271 *** The result is that libtool may fail to recognize shared libraries
8272 *** as such.  This will affect the creation of libtool libraries that
8273 *** depend on shared libraries, but programs linked with such libtool
8274 *** libraries will work regardless of this problem.  Nevertheless, you
8275 *** may want to report the problem to your system manager and/or to
8276 *** bug-libtool@gnu.org
8277
8278 _LT_EOF
8279           fi ;;
8280         esac
8281       fi
8282       break
8283     fi
8284   done
8285   IFS="$lt_save_ifs"
8286   MAGIC_CMD="$lt_save_MAGIC_CMD"
8287   ;;
8288 esac
8289 fi
8290
8291 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
8292 if test -n "$MAGIC_CMD"; then
8293   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MAGIC_CMD" >&5
8294 $as_echo "$MAGIC_CMD" >&6; }
8295 else
8296   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8297 $as_echo "no" >&6; }
8298 fi
8299
8300
8301
8302
8303
8304 if test -z "$lt_cv_path_MAGIC_CMD"; then
8305   if test -n "$ac_tool_prefix"; then
8306     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for file" >&5
8307 $as_echo_n "checking for file... " >&6; }
8308 if ${lt_cv_path_MAGIC_CMD+:} false; then :
8309   $as_echo_n "(cached) " >&6
8310 else
8311   case $MAGIC_CMD in
8312 [\\/*] |  ?:[\\/]*)
8313   lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a path.
8314   ;;
8315 *)
8316   lt_save_MAGIC_CMD="$MAGIC_CMD"
8317   lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
8318   ac_dummy="/usr/bin$PATH_SEPARATOR$PATH"
8319   for ac_dir in $ac_dummy; do
8320     IFS="$lt_save_ifs"
8321     test -z "$ac_dir" && ac_dir=.
8322     if test -f $ac_dir/file; then
8323       lt_cv_path_MAGIC_CMD="$ac_dir/file"
8324       if test -n "$file_magic_test_file"; then
8325         case $deplibs_check_method in
8326         "file_magic "*)
8327           file_magic_regex=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
8328           MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
8329           if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
8330             $EGREP "$file_magic_regex" > /dev/null; then
8331             :
8332           else
8333             cat <<_LT_EOF 1>&2
8334
8335 *** Warning: the command libtool uses to detect shared libraries,
8336 *** $file_magic_cmd, produces output that libtool cannot recognize.
8337 *** The result is that libtool may fail to recognize shared libraries
8338 *** as such.  This will affect the creation of libtool libraries that
8339 *** depend on shared libraries, but programs linked with such libtool
8340 *** libraries will work regardless of this problem.  Nevertheless, you
8341 *** may want to report the problem to your system manager and/or to
8342 *** bug-libtool@gnu.org
8343
8344 _LT_EOF
8345           fi ;;
8346         esac
8347       fi
8348       break
8349     fi
8350   done
8351   IFS="$lt_save_ifs"
8352   MAGIC_CMD="$lt_save_MAGIC_CMD"
8353   ;;
8354 esac
8355 fi
8356
8357 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
8358 if test -n "$MAGIC_CMD"; then
8359   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MAGIC_CMD" >&5
8360 $as_echo "$MAGIC_CMD" >&6; }
8361 else
8362   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8363 $as_echo "no" >&6; }
8364 fi
8365
8366
8367   else
8368     MAGIC_CMD=:
8369   fi
8370 fi
8371
8372   fi
8373   ;;
8374 esac
8375
8376 # Use C for the default configuration in the libtool script
8377
8378 lt_save_CC="$CC"
8379 ac_ext=c
8380 ac_cpp='$CPP $CPPFLAGS'
8381 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
8382 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
8383 ac_compiler_gnu=$ac_cv_c_compiler_gnu
8384
8385
8386 # Source file extension for C test sources.
8387 ac_ext=c
8388
8389 # Object file extension for compiled C test sources.
8390 objext=o
8391 objext=$objext
8392
8393 # Code to be used in simple compile tests
8394 lt_simple_compile_test_code="int some_variable = 0;"
8395
8396 # Code to be used in simple link tests
8397 lt_simple_link_test_code='int main(){return(0);}'
8398
8399
8400
8401
8402
8403
8404
8405 # If no C compiler was specified, use CC.
8406 LTCC=${LTCC-"$CC"}
8407
8408 # If no C compiler flags were specified, use CFLAGS.
8409 LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
8410
8411 # Allow CC to be a program name with arguments.
8412 compiler=$CC
8413
8414 # Save the default compiler, since it gets overwritten when the other
8415 # tags are being tested, and _LT_TAGVAR(compiler, []) is a NOP.
8416 compiler_DEFAULT=$CC
8417
8418 # save warnings/boilerplate of simple test code
8419 ac_outfile=conftest.$ac_objext
8420 echo "$lt_simple_compile_test_code" >conftest.$ac_ext
8421 eval "$ac_compile" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
8422 _lt_compiler_boilerplate=`cat conftest.err`
8423 $RM conftest*
8424
8425 ac_outfile=conftest.$ac_objext
8426 echo "$lt_simple_link_test_code" >conftest.$ac_ext
8427 eval "$ac_link" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
8428 _lt_linker_boilerplate=`cat conftest.err`
8429 $RM -r conftest*
8430
8431
8432 ## CAVEAT EMPTOR:
8433 ## There is no encapsulation within the following macros, do not change
8434 ## the running order or otherwise move them around unless you know exactly
8435 ## what you are doing...
8436 if test -n "$compiler"; then
8437
8438 lt_prog_compiler_no_builtin_flag=
8439
8440 if test "$GCC" = yes; then
8441   case $cc_basename in
8442   nvcc*)
8443     lt_prog_compiler_no_builtin_flag=' -Xcompiler -fno-builtin' ;;
8444   *)
8445     lt_prog_compiler_no_builtin_flag=' -fno-builtin' ;;
8446   esac
8447
8448   { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -fno-rtti -fno-exceptions" >&5
8449 $as_echo_n "checking if $compiler supports -fno-rtti -fno-exceptions... " >&6; }
8450 if ${lt_cv_prog_compiler_rtti_exceptions+:} false; then :
8451   $as_echo_n "(cached) " >&6
8452 else
8453   lt_cv_prog_compiler_rtti_exceptions=no
8454    ac_outfile=conftest.$ac_objext
8455    echo "$lt_simple_compile_test_code" > conftest.$ac_ext
8456    lt_compiler_flag="-fno-rtti -fno-exceptions"
8457    # Insert the option either (1) after the last *FLAGS variable, or
8458    # (2) before a word containing "conftest.", or (3) at the end.
8459    # Note that $ac_compile itself does not contain backslashes and begins
8460    # with a dollar sign (not a hyphen), so the echo should work correctly.
8461    # The option is referenced via a variable to avoid confusing sed.
8462    lt_compile=`echo "$ac_compile" | $SED \
8463    -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
8464    -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
8465    -e 's:$: $lt_compiler_flag:'`
8466    (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
8467    (eval "$lt_compile" 2>conftest.err)
8468    ac_status=$?
8469    cat conftest.err >&5
8470    echo "$as_me:$LINENO: \$? = $ac_status" >&5
8471    if (exit $ac_status) && test -s "$ac_outfile"; then
8472      # The compiler can only warn and ignore the option if not recognized
8473      # So say no if there are warnings other than the usual output.
8474      $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' >conftest.exp
8475      $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
8476      if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
8477        lt_cv_prog_compiler_rtti_exceptions=yes
8478      fi
8479    fi
8480    $RM conftest*
8481
8482 fi
8483 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_rtti_exceptions" >&5
8484 $as_echo "$lt_cv_prog_compiler_rtti_exceptions" >&6; }
8485
8486 if test x"$lt_cv_prog_compiler_rtti_exceptions" = xyes; then
8487     lt_prog_compiler_no_builtin_flag="$lt_prog_compiler_no_builtin_flag -fno-rtti -fno-exceptions"
8488 else
8489     :
8490 fi
8491
8492 fi
8493
8494
8495
8496
8497
8498
8499   lt_prog_compiler_wl=
8500 lt_prog_compiler_pic=
8501 lt_prog_compiler_static=
8502
8503
8504   if test "$GCC" = yes; then
8505     lt_prog_compiler_wl='-Wl,'
8506     lt_prog_compiler_static='-static'
8507
8508     case $host_os in
8509       aix*)
8510       # All AIX code is PIC.
8511       if test "$host_cpu" = ia64; then
8512         # AIX 5 now supports IA64 processor
8513         lt_prog_compiler_static='-Bstatic'
8514       fi
8515       ;;
8516
8517     amigaos*)
8518       case $host_cpu in
8519       powerpc)
8520             # see comment about AmigaOS4 .so support
8521             lt_prog_compiler_pic='-fPIC'
8522         ;;
8523       m68k)
8524             # FIXME: we need at least 68020 code to build shared libraries, but
8525             # adding the `-m68020' flag to GCC prevents building anything better,
8526             # like `-m68040'.
8527             lt_prog_compiler_pic='-m68020 -resident32 -malways-restore-a4'
8528         ;;
8529       esac
8530       ;;
8531
8532     beos* | irix5* | irix6* | nonstopux* | osf3* | osf4* | osf5*)
8533       # PIC is the default for these OSes.
8534       ;;
8535
8536     mingw* | cygwin* | pw32* | os2* | cegcc*)
8537       # This hack is so that the source file can tell whether it is being
8538       # built for inclusion in a dll (and should export symbols for example).
8539       # Although the cygwin gcc ignores -fPIC, still need this for old-style
8540       # (--disable-auto-import) libraries
8541       lt_prog_compiler_pic='-DDLL_EXPORT'
8542       ;;
8543
8544     darwin* | rhapsody*)
8545       # PIC is the default on this platform
8546       # Common symbols not allowed in MH_DYLIB files
8547       lt_prog_compiler_pic='-fno-common'
8548       ;;
8549
8550     haiku*)
8551       # PIC is the default for Haiku.
8552       # The "-static" flag exists, but is broken.
8553       lt_prog_compiler_static=
8554       ;;
8555
8556     hpux*)
8557       # PIC is the default for 64-bit PA HP-UX, but not for 32-bit
8558       # PA HP-UX.  On IA64 HP-UX, PIC is the default but the pic flag
8559       # sets the default TLS model and affects inlining.
8560       case $host_cpu in
8561       hppa*64*)
8562         # +Z the default
8563         ;;
8564       *)
8565         lt_prog_compiler_pic='-fPIC'
8566         ;;
8567       esac
8568       ;;
8569
8570     interix[3-9]*)
8571       # Interix 3.x gcc -fpic/-fPIC options generate broken code.
8572       # Instead, we relocate shared libraries at runtime.
8573       ;;
8574
8575     msdosdjgpp*)
8576       # Just because we use GCC doesn't mean we suddenly get shared libraries
8577       # on systems that don't support them.
8578       lt_prog_compiler_can_build_shared=no
8579       enable_shared=no
8580       ;;
8581
8582     *nto* | *qnx*)
8583       # QNX uses GNU C++, but need to define -shared option too, otherwise
8584       # it will coredump.
8585       lt_prog_compiler_pic='-fPIC -shared'
8586       ;;
8587
8588     sysv4*MP*)
8589       if test -d /usr/nec; then
8590         lt_prog_compiler_pic=-Kconform_pic
8591       fi
8592       ;;
8593
8594     *)
8595       lt_prog_compiler_pic='-fPIC'
8596       ;;
8597     esac
8598
8599     case $cc_basename in
8600     nvcc*) # Cuda Compiler Driver 2.2
8601       lt_prog_compiler_wl='-Xlinker '
8602       if test -n "$lt_prog_compiler_pic"; then
8603         lt_prog_compiler_pic="-Xcompiler $lt_prog_compiler_pic"
8604       fi
8605       ;;
8606     esac
8607   else
8608     # PORTME Check for flag to pass linker flags through the system compiler.
8609     case $host_os in
8610     aix*)
8611       lt_prog_compiler_wl='-Wl,'
8612       if test "$host_cpu" = ia64; then
8613         # AIX 5 now supports IA64 processor
8614         lt_prog_compiler_static='-Bstatic'
8615       else
8616         lt_prog_compiler_static='-bnso -bI:/lib/syscalls.exp'
8617       fi
8618       ;;
8619
8620     mingw* | cygwin* | pw32* | os2* | cegcc*)
8621       # This hack is so that the source file can tell whether it is being
8622       # built for inclusion in a dll (and should export symbols for example).
8623       lt_prog_compiler_pic='-DDLL_EXPORT'
8624       ;;
8625
8626     hpux9* | hpux10* | hpux11*)
8627       lt_prog_compiler_wl='-Wl,'
8628       # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
8629       # not for PA HP-UX.
8630       case $host_cpu in
8631       hppa*64*|ia64*)
8632         # +Z the default
8633         ;;
8634       *)
8635         lt_prog_compiler_pic='+Z'
8636         ;;
8637       esac
8638       # Is there a better lt_prog_compiler_static that works with the bundled CC?
8639       lt_prog_compiler_static='${wl}-a ${wl}archive'
8640       ;;
8641
8642     irix5* | irix6* | nonstopux*)
8643       lt_prog_compiler_wl='-Wl,'
8644       # PIC (with -KPIC) is the default.
8645       lt_prog_compiler_static='-non_shared'
8646       ;;
8647
8648     linux* | k*bsd*-gnu | kopensolaris*-gnu)
8649       case $cc_basename in
8650       # old Intel for x86_64 which still supported -KPIC.
8651       ecc*)
8652         lt_prog_compiler_wl='-Wl,'
8653         lt_prog_compiler_pic='-KPIC'
8654         lt_prog_compiler_static='-static'
8655         ;;
8656       # icc used to be incompatible with GCC.
8657       # ICC 10 doesn't accept -KPIC any more.
8658       icc* | ifort*)
8659         lt_prog_compiler_wl='-Wl,'
8660         lt_prog_compiler_pic='-fPIC'
8661         lt_prog_compiler_static='-static'
8662         ;;
8663       # Lahey Fortran 8.1.
8664       lf95*)
8665         lt_prog_compiler_wl='-Wl,'
8666         lt_prog_compiler_pic='--shared'
8667         lt_prog_compiler_static='--static'
8668         ;;
8669       nagfor*)
8670         # NAG Fortran compiler
8671         lt_prog_compiler_wl='-Wl,-Wl,,'
8672         lt_prog_compiler_pic='-PIC'
8673         lt_prog_compiler_static='-Bstatic'
8674         ;;
8675       pgcc* | pgf77* | pgf90* | pgf95* | pgfortran*)
8676         # Portland Group compilers (*not* the Pentium gcc compiler,
8677         # which looks to be a dead project)
8678         lt_prog_compiler_wl='-Wl,'
8679         lt_prog_compiler_pic='-fpic'
8680         lt_prog_compiler_static='-Bstatic'
8681         ;;
8682       ccc*)
8683         lt_prog_compiler_wl='-Wl,'
8684         # All Alpha code is PIC.
8685         lt_prog_compiler_static='-non_shared'
8686         ;;
8687       xl* | bgxl* | bgf* | mpixl*)
8688         # IBM XL C 8.0/Fortran 10.1, 11.1 on PPC and BlueGene
8689         lt_prog_compiler_wl='-Wl,'
8690         lt_prog_compiler_pic='-qpic'
8691         lt_prog_compiler_static='-qstaticlink'
8692         ;;
8693       *)
8694         case `$CC -V 2>&1 | sed 5q` in
8695         *Sun\ Ceres\ Fortran* | *Sun*Fortran*\ [1-7].* | *Sun*Fortran*\ 8.[0-3]*)
8696           # Sun Fortran 8.3 passes all unrecognized flags to the linker
8697           lt_prog_compiler_pic='-KPIC'
8698           lt_prog_compiler_static='-Bstatic'
8699           lt_prog_compiler_wl=''
8700           ;;
8701         *Sun\ F* | *Sun*Fortran*)
8702           lt_prog_compiler_pic='-KPIC'
8703           lt_prog_compiler_static='-Bstatic'
8704           lt_prog_compiler_wl='-Qoption ld '
8705           ;;
8706         *Sun\ C*)
8707           # Sun C 5.9
8708           lt_prog_compiler_pic='-KPIC'
8709           lt_prog_compiler_static='-Bstatic'
8710           lt_prog_compiler_wl='-Wl,'
8711           ;;
8712         *Intel*\ [CF]*Compiler*)
8713           lt_prog_compiler_wl='-Wl,'
8714           lt_prog_compiler_pic='-fPIC'
8715           lt_prog_compiler_static='-static'
8716           ;;
8717         *Portland\ Group*)
8718           lt_prog_compiler_wl='-Wl,'
8719           lt_prog_compiler_pic='-fpic'
8720           lt_prog_compiler_static='-Bstatic'
8721           ;;
8722         esac
8723         ;;
8724       esac
8725       ;;
8726
8727     newsos6)
8728       lt_prog_compiler_pic='-KPIC'
8729       lt_prog_compiler_static='-Bstatic'
8730       ;;
8731
8732     *nto* | *qnx*)
8733       # QNX uses GNU C++, but need to define -shared option too, otherwise
8734       # it will coredump.
8735       lt_prog_compiler_pic='-fPIC -shared'
8736       ;;
8737
8738     osf3* | osf4* | osf5*)
8739       lt_prog_compiler_wl='-Wl,'
8740       # All OSF/1 code is PIC.
8741       lt_prog_compiler_static='-non_shared'
8742       ;;
8743
8744     rdos*)
8745       lt_prog_compiler_static='-non_shared'
8746       ;;
8747
8748     solaris*)
8749       lt_prog_compiler_pic='-KPIC'
8750       lt_prog_compiler_static='-Bstatic'
8751       case $cc_basename in
8752       f77* | f90* | f95* | sunf77* | sunf90* | sunf95*)
8753         lt_prog_compiler_wl='-Qoption ld ';;
8754       *)
8755         lt_prog_compiler_wl='-Wl,';;
8756       esac
8757       ;;
8758
8759     sunos4*)
8760       lt_prog_compiler_wl='-Qoption ld '
8761       lt_prog_compiler_pic='-PIC'
8762       lt_prog_compiler_static='-Bstatic'
8763       ;;
8764
8765     sysv4 | sysv4.2uw2* | sysv4.3*)
8766       lt_prog_compiler_wl='-Wl,'
8767       lt_prog_compiler_pic='-KPIC'
8768       lt_prog_compiler_static='-Bstatic'
8769       ;;
8770
8771     sysv4*MP*)
8772       if test -d /usr/nec ;then
8773         lt_prog_compiler_pic='-Kconform_pic'
8774         lt_prog_compiler_static='-Bstatic'
8775       fi
8776       ;;
8777
8778     sysv5* | unixware* | sco3.2v5* | sco5v6* | OpenUNIX*)
8779       lt_prog_compiler_wl='-Wl,'
8780       lt_prog_compiler_pic='-KPIC'
8781       lt_prog_compiler_static='-Bstatic'
8782       ;;
8783
8784     unicos*)
8785       lt_prog_compiler_wl='-Wl,'
8786       lt_prog_compiler_can_build_shared=no
8787       ;;
8788
8789     uts4*)
8790       lt_prog_compiler_pic='-pic'
8791       lt_prog_compiler_static='-Bstatic'
8792       ;;
8793
8794     *)
8795       lt_prog_compiler_can_build_shared=no
8796       ;;
8797     esac
8798   fi
8799
8800 case $host_os in
8801   # For platforms which do not support PIC, -DPIC is meaningless:
8802   *djgpp*)
8803     lt_prog_compiler_pic=
8804     ;;
8805   *)
8806     lt_prog_compiler_pic="$lt_prog_compiler_pic -DPIC"
8807     ;;
8808 esac
8809
8810 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $compiler option to produce PIC" >&5
8811 $as_echo_n "checking for $compiler option to produce PIC... " >&6; }
8812 if ${lt_cv_prog_compiler_pic+:} false; then :
8813   $as_echo_n "(cached) " >&6
8814 else
8815   lt_cv_prog_compiler_pic=$lt_prog_compiler_pic
8816 fi
8817 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic" >&5
8818 $as_echo "$lt_cv_prog_compiler_pic" >&6; }
8819 lt_prog_compiler_pic=$lt_cv_prog_compiler_pic
8820
8821 #
8822 # Check to make sure the PIC flag actually works.
8823 #
8824 if test -n "$lt_prog_compiler_pic"; then
8825   { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler PIC flag $lt_prog_compiler_pic works" >&5
8826 $as_echo_n "checking if $compiler PIC flag $lt_prog_compiler_pic works... " >&6; }
8827 if ${lt_cv_prog_compiler_pic_works+:} false; then :
8828   $as_echo_n "(cached) " >&6
8829 else
8830   lt_cv_prog_compiler_pic_works=no
8831    ac_outfile=conftest.$ac_objext
8832    echo "$lt_simple_compile_test_code" > conftest.$ac_ext
8833    lt_compiler_flag="$lt_prog_compiler_pic -DPIC"
8834    # Insert the option either (1) after the last *FLAGS variable, or
8835    # (2) before a word containing "conftest.", or (3) at the end.
8836    # Note that $ac_compile itself does not contain backslashes and begins
8837    # with a dollar sign (not a hyphen), so the echo should work correctly.
8838    # The option is referenced via a variable to avoid confusing sed.
8839    lt_compile=`echo "$ac_compile" | $SED \
8840    -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
8841    -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
8842    -e 's:$: $lt_compiler_flag:'`
8843    (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
8844    (eval "$lt_compile" 2>conftest.err)
8845    ac_status=$?
8846    cat conftest.err >&5
8847    echo "$as_me:$LINENO: \$? = $ac_status" >&5
8848    if (exit $ac_status) && test -s "$ac_outfile"; then
8849      # The compiler can only warn and ignore the option if not recognized
8850      # So say no if there are warnings other than the usual output.
8851      $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' >conftest.exp
8852      $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
8853      if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
8854        lt_cv_prog_compiler_pic_works=yes
8855      fi
8856    fi
8857    $RM conftest*
8858
8859 fi
8860 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic_works" >&5
8861 $as_echo "$lt_cv_prog_compiler_pic_works" >&6; }
8862
8863 if test x"$lt_cv_prog_compiler_pic_works" = xyes; then
8864     case $lt_prog_compiler_pic in
8865      "" | " "*) ;;
8866      *) lt_prog_compiler_pic=" $lt_prog_compiler_pic" ;;
8867      esac
8868 else
8869     lt_prog_compiler_pic=
8870      lt_prog_compiler_can_build_shared=no
8871 fi
8872
8873 fi
8874
8875
8876
8877
8878
8879
8880
8881
8882
8883
8884
8885 #
8886 # Check to make sure the static flag actually works.
8887 #
8888 wl=$lt_prog_compiler_wl eval lt_tmp_static_flag=\"$lt_prog_compiler_static\"
8889 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler static flag $lt_tmp_static_flag works" >&5
8890 $as_echo_n "checking if $compiler static flag $lt_tmp_static_flag works... " >&6; }
8891 if ${lt_cv_prog_compiler_static_works+:} false; then :
8892   $as_echo_n "(cached) " >&6
8893 else
8894   lt_cv_prog_compiler_static_works=no
8895    save_LDFLAGS="$LDFLAGS"
8896    LDFLAGS="$LDFLAGS $lt_tmp_static_flag"
8897    echo "$lt_simple_link_test_code" > conftest.$ac_ext
8898    if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
8899      # The linker can only warn and ignore the option if not recognized
8900      # So say no if there are warnings
8901      if test -s conftest.err; then
8902        # Append any errors to the config.log.
8903        cat conftest.err 1>&5
8904        $ECHO "$_lt_linker_boilerplate" | $SED '/^$/d' > conftest.exp
8905        $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
8906        if diff conftest.exp conftest.er2 >/dev/null; then
8907          lt_cv_prog_compiler_static_works=yes
8908        fi
8909      else
8910        lt_cv_prog_compiler_static_works=yes
8911      fi
8912    fi
8913    $RM -r conftest*
8914    LDFLAGS="$save_LDFLAGS"
8915
8916 fi
8917 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_static_works" >&5
8918 $as_echo "$lt_cv_prog_compiler_static_works" >&6; }
8919
8920 if test x"$lt_cv_prog_compiler_static_works" = xyes; then
8921     :
8922 else
8923     lt_prog_compiler_static=
8924 fi
8925
8926
8927
8928
8929
8930
8931
8932   { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
8933 $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
8934 if ${lt_cv_prog_compiler_c_o+:} false; then :
8935   $as_echo_n "(cached) " >&6
8936 else
8937   lt_cv_prog_compiler_c_o=no
8938    $RM -r conftest 2>/dev/null
8939    mkdir conftest
8940    cd conftest
8941    mkdir out
8942    echo "$lt_simple_compile_test_code" > conftest.$ac_ext
8943
8944    lt_compiler_flag="-o out/conftest2.$ac_objext"
8945    # Insert the option either (1) after the last *FLAGS variable, or
8946    # (2) before a word containing "conftest.", or (3) at the end.
8947    # Note that $ac_compile itself does not contain backslashes and begins
8948    # with a dollar sign (not a hyphen), so the echo should work correctly.
8949    lt_compile=`echo "$ac_compile" | $SED \
8950    -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
8951    -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
8952    -e 's:$: $lt_compiler_flag:'`
8953    (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
8954    (eval "$lt_compile" 2>out/conftest.err)
8955    ac_status=$?
8956    cat out/conftest.err >&5
8957    echo "$as_me:$LINENO: \$? = $ac_status" >&5
8958    if (exit $ac_status) && test -s out/conftest2.$ac_objext
8959    then
8960      # The compiler can only warn and ignore the option if not recognized
8961      # So say no if there are warnings
8962      $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' > out/conftest.exp
8963      $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
8964      if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
8965        lt_cv_prog_compiler_c_o=yes
8966      fi
8967    fi
8968    chmod u+w . 2>&5
8969    $RM conftest*
8970    # SGI C++ compiler will create directory out/ii_files/ for
8971    # template instantiation
8972    test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
8973    $RM out/* && rmdir out
8974    cd ..
8975    $RM -r conftest
8976    $RM conftest*
8977
8978 fi
8979 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o" >&5
8980 $as_echo "$lt_cv_prog_compiler_c_o" >&6; }
8981
8982
8983
8984
8985
8986
8987   { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
8988 $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
8989 if ${lt_cv_prog_compiler_c_o+:} false; then :
8990   $as_echo_n "(cached) " >&6
8991 else
8992   lt_cv_prog_compiler_c_o=no
8993    $RM -r conftest 2>/dev/null
8994    mkdir conftest
8995    cd conftest
8996    mkdir out
8997    echo "$lt_simple_compile_test_code" > conftest.$ac_ext
8998
8999    lt_compiler_flag="-o out/conftest2.$ac_objext"
9000    # Insert the option either (1) after the last *FLAGS variable, or
9001    # (2) before a word containing "conftest.", or (3) at the end.
9002    # Note that $ac_compile itself does not contain backslashes and begins
9003    # with a dollar sign (not a hyphen), so the echo should work correctly.
9004    lt_compile=`echo "$ac_compile" | $SED \
9005    -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
9006    -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
9007    -e 's:$: $lt_compiler_flag:'`
9008    (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
9009    (eval "$lt_compile" 2>out/conftest.err)
9010    ac_status=$?
9011    cat out/conftest.err >&5
9012    echo "$as_me:$LINENO: \$? = $ac_status" >&5
9013    if (exit $ac_status) && test -s out/conftest2.$ac_objext
9014    then
9015      # The compiler can only warn and ignore the option if not recognized
9016      # So say no if there are warnings
9017      $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' > out/conftest.exp
9018      $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
9019      if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
9020        lt_cv_prog_compiler_c_o=yes
9021      fi
9022    fi
9023    chmod u+w . 2>&5
9024    $RM conftest*
9025    # SGI C++ compiler will create directory out/ii_files/ for
9026    # template instantiation
9027    test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
9028    $RM out/* && rmdir out
9029    cd ..
9030    $RM -r conftest
9031    $RM conftest*
9032
9033 fi
9034 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o" >&5
9035 $as_echo "$lt_cv_prog_compiler_c_o" >&6; }
9036
9037
9038
9039
9040 hard_links="nottested"
9041 if test "$lt_cv_prog_compiler_c_o" = no && test "$need_locks" != no; then
9042   # do not overwrite the value of need_locks provided by the user
9043   { $as_echo "$as_me:${as_lineno-$LINENO}: checking if we can lock with hard links" >&5
9044 $as_echo_n "checking if we can lock with hard links... " >&6; }
9045   hard_links=yes
9046   $RM conftest*
9047   ln conftest.a conftest.b 2>/dev/null && hard_links=no
9048   touch conftest.a
9049   ln conftest.a conftest.b 2>&5 || hard_links=no
9050   ln conftest.a conftest.b 2>/dev/null && hard_links=no
9051   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hard_links" >&5
9052 $as_echo "$hard_links" >&6; }
9053   if test "$hard_links" = no; then
9054     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5
9055 $as_echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;}
9056     need_locks=warn
9057   fi
9058 else
9059   need_locks=no
9060 fi
9061
9062
9063
9064
9065
9066
9067   { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $compiler linker ($LD) supports shared libraries" >&5
9068 $as_echo_n "checking whether the $compiler linker ($LD) supports shared libraries... " >&6; }
9069
9070   runpath_var=
9071   allow_undefined_flag=
9072   always_export_symbols=no
9073   archive_cmds=
9074   archive_expsym_cmds=
9075   compiler_needs_object=no
9076   enable_shared_with_static_runtimes=no
9077   export_dynamic_flag_spec=
9078   export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
9079   hardcode_automatic=no
9080   hardcode_direct=no
9081   hardcode_direct_absolute=no
9082   hardcode_libdir_flag_spec=
9083   hardcode_libdir_separator=
9084   hardcode_minus_L=no
9085   hardcode_shlibpath_var=unsupported
9086   inherit_rpath=no
9087   link_all_deplibs=unknown
9088   module_cmds=
9089   module_expsym_cmds=
9090   old_archive_from_new_cmds=
9091   old_archive_from_expsyms_cmds=
9092   thread_safe_flag_spec=
9093   whole_archive_flag_spec=
9094   # include_expsyms should be a list of space-separated symbols to be *always*
9095   # included in the symbol list
9096   include_expsyms=
9097   # exclude_expsyms can be an extended regexp of symbols to exclude
9098   # it will be wrapped by ` (' and `)$', so one must not match beginning or
9099   # end of line.  Example: `a|bc|.*d.*' will exclude the symbols `a' and `bc',
9100   # as well as any symbol that contains `d'.
9101   exclude_expsyms='_GLOBAL_OFFSET_TABLE_|_GLOBAL__F[ID]_.*'
9102   # Although _GLOBAL_OFFSET_TABLE_ is a valid symbol C name, most a.out
9103   # platforms (ab)use it in PIC code, but their linkers get confused if
9104   # the symbol is explicitly referenced.  Since portable code cannot
9105   # rely on this symbol name, it's probably fine to never include it in
9106   # preloaded symbol tables.
9107   # Exclude shared library initialization/finalization symbols.
9108   extract_expsyms_cmds=
9109
9110   case $host_os in
9111   cygwin* | mingw* | pw32* | cegcc*)
9112     # FIXME: the MSVC++ port hasn't been tested in a loooong time
9113     # When not using gcc, we currently assume that we are using
9114     # Microsoft Visual C++.
9115     if test "$GCC" != yes; then
9116       with_gnu_ld=no
9117     fi
9118     ;;
9119   interix*)
9120     # we just hope/assume this is gcc and not c89 (= MSVC++)
9121     with_gnu_ld=yes
9122     ;;
9123   openbsd*)
9124     with_gnu_ld=no
9125     ;;
9126   esac
9127
9128   ld_shlibs=yes
9129
9130   # On some targets, GNU ld is compatible enough with the native linker
9131   # that we're better off using the native interface for both.
9132   lt_use_gnu_ld_interface=no
9133   if test "$with_gnu_ld" = yes; then
9134     case $host_os in
9135       aix*)
9136         # The AIX port of GNU ld has always aspired to compatibility
9137         # with the native linker.  However, as the warning in the GNU ld
9138         # block says, versions before 2.19.5* couldn't really create working
9139         # shared libraries, regardless of the interface used.
9140         case `$LD -v 2>&1` in
9141           *\ \(GNU\ Binutils\)\ 2.19.5*) ;;
9142           *\ \(GNU\ Binutils\)\ 2.[2-9]*) ;;
9143           *\ \(GNU\ Binutils\)\ [3-9]*) ;;
9144           *)
9145             lt_use_gnu_ld_interface=yes
9146             ;;
9147         esac
9148         ;;
9149       *)
9150         lt_use_gnu_ld_interface=yes
9151         ;;
9152     esac
9153   fi
9154
9155   if test "$lt_use_gnu_ld_interface" = yes; then
9156     # If archive_cmds runs LD, not CC, wlarc should be empty
9157     wlarc='${wl}'
9158
9159     # Set some defaults for GNU ld with shared library support. These
9160     # are reset later if shared libraries are not supported. Putting them
9161     # here allows them to be overridden if necessary.
9162     runpath_var=LD_RUN_PATH
9163     hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
9164     export_dynamic_flag_spec='${wl}--export-dynamic'
9165     # ancient GNU ld didn't support --whole-archive et. al.
9166     if $LD --help 2>&1 | $GREP 'no-whole-archive' > /dev/null; then
9167       whole_archive_flag_spec="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
9168     else
9169       whole_archive_flag_spec=
9170     fi
9171     supports_anon_versioning=no
9172     case `$LD -v 2>&1` in
9173       *GNU\ gold*) supports_anon_versioning=yes ;;
9174       *\ [01].* | *\ 2.[0-9].* | *\ 2.10.*) ;; # catch versions < 2.11
9175       *\ 2.11.93.0.2\ *) supports_anon_versioning=yes ;; # RH7.3 ...
9176       *\ 2.11.92.0.12\ *) supports_anon_versioning=yes ;; # Mandrake 8.2 ...
9177       *\ 2.11.*) ;; # other 2.11 versions
9178       *) supports_anon_versioning=yes ;;
9179     esac
9180
9181     # See if GNU ld supports shared libraries.
9182     case $host_os in
9183     aix[3-9]*)
9184       # On AIX/PPC, the GNU linker is very broken
9185       if test "$host_cpu" != ia64; then
9186         ld_shlibs=no
9187         cat <<_LT_EOF 1>&2
9188
9189 *** Warning: the GNU linker, at least up to release 2.19, is reported
9190 *** to be unable to reliably create shared libraries on AIX.
9191 *** Therefore, libtool is disabling shared libraries support.  If you
9192 *** really care for shared libraries, you may want to install binutils
9193 *** 2.20 or above, or modify your PATH so that a non-GNU linker is found.
9194 *** You will then need to restart the configuration process.
9195
9196 _LT_EOF
9197       fi
9198       ;;
9199
9200     amigaos*)
9201       case $host_cpu in
9202       powerpc)
9203             # see comment about AmigaOS4 .so support
9204             archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9205             archive_expsym_cmds=''
9206         ;;
9207       m68k)
9208             archive_cmds='$RM $output_objdir/a2ixlibrary.data~$ECHO "#define NAME $libname" > $output_objdir/a2ixlibrary.data~$ECHO "#define LIBRARY_ID 1" >> $output_objdir/a2ixlibrary.data~$ECHO "#define VERSION $major" >> $output_objdir/a2ixlibrary.data~$ECHO "#define REVISION $revision" >> $output_objdir/a2ixlibrary.data~$AR $AR_FLAGS $lib $libobjs~$RANLIB $lib~(cd $output_objdir && a2ixlibrary -32)'
9209             hardcode_libdir_flag_spec='-L$libdir'
9210             hardcode_minus_L=yes
9211         ;;
9212       esac
9213       ;;
9214
9215     beos*)
9216       if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
9217         allow_undefined_flag=unsupported
9218         # Joseph Beckenbach <jrb3@best.com> says some releases of gcc
9219         # support --undefined.  This deserves some investigation.  FIXME
9220         archive_cmds='$CC -nostart $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9221       else
9222         ld_shlibs=no
9223       fi
9224       ;;
9225
9226     cygwin* | mingw* | pw32* | cegcc*)
9227       # _LT_TAGVAR(hardcode_libdir_flag_spec, ) is actually meaningless,
9228       # as there is no search path for DLLs.
9229       hardcode_libdir_flag_spec='-L$libdir'
9230       export_dynamic_flag_spec='${wl}--export-all-symbols'
9231       allow_undefined_flag=unsupported
9232       always_export_symbols=no
9233       enable_shared_with_static_runtimes=yes
9234       export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS][ ]/s/.*[ ]\([^ ]*\)/\1 DATA/;s/^.*[ ]__nm__\([^ ]*\)[ ][^ ]*/\1 DATA/;/^I[ ]/d;/^[AITW][ ]/s/.* //'\'' | sort | uniq > $export_symbols'
9235       exclude_expsyms='[_]+GLOBAL_OFFSET_TABLE_|[_]+GLOBAL__[FID]_.*|[_]+head_[A-Za-z0-9_]+_dll|[A-Za-z0-9_]+_dll_iname'
9236
9237       if $LD --help 2>&1 | $GREP 'auto-import' > /dev/null; then
9238         archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
9239         # If the export-symbols file already is a .def file (1st line
9240         # is EXPORTS), use it as is; otherwise, prepend...
9241         archive_expsym_cmds='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
9242           cp $export_symbols $output_objdir/$soname.def;
9243         else
9244           echo EXPORTS > $output_objdir/$soname.def;
9245           cat $export_symbols >> $output_objdir/$soname.def;
9246         fi~
9247         $CC -shared $output_objdir/$soname.def $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
9248       else
9249         ld_shlibs=no
9250       fi
9251       ;;
9252
9253     haiku*)
9254       archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9255       link_all_deplibs=yes
9256       ;;
9257
9258     interix[3-9]*)
9259       hardcode_direct=no
9260       hardcode_shlibpath_var=no
9261       hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
9262       export_dynamic_flag_spec='${wl}-E'
9263       # Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc.
9264       # Instead, shared libraries are loaded at an image base (0x10000000 by
9265       # default) and relocated if they conflict, which is a slow very memory
9266       # consuming and fragmenting process.  To avoid this, we pick a random,
9267       # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link
9268       # time.  Moving up from 0x10000000 also allows more sbrk(2) space.
9269       archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-h,$soname ${wl}--image-base,`expr ${RANDOM-$$} % 4096 / 2 \* 262144 + 1342177280` -o $lib'
9270       archive_expsym_cmds='sed "s,^,_," $export_symbols >$output_objdir/$soname.expsym~$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-h,$soname ${wl}--retain-symbols-file,$output_objdir/$soname.expsym ${wl}--image-base,`expr ${RANDOM-$$} % 4096 / 2 \* 262144 + 1342177280` -o $lib'
9271       ;;
9272
9273     gnu* | linux* | tpf* | k*bsd*-gnu | kopensolaris*-gnu)
9274       tmp_diet=no
9275       if test "$host_os" = linux-dietlibc; then
9276         case $cc_basename in
9277           diet\ *) tmp_diet=yes;;       # linux-dietlibc with static linking (!diet-dyn)
9278         esac
9279       fi
9280       if $LD --help 2>&1 | $EGREP ': supported targets:.* elf' > /dev/null \
9281          && test "$tmp_diet" = no
9282       then
9283         tmp_addflag=' $pic_flag'
9284         tmp_sharedflag='-shared'
9285         case $cc_basename,$host_cpu in
9286         pgcc*)                          # Portland Group C compiler
9287           whole_archive_flag_spec='${wl}--whole-archive`for conv in $convenience\"\"; do test  -n \"$conv\" && new_convenience=\"$new_convenience,$conv\"; done; func_echo_all \"$new_convenience\"` ${wl}--no-whole-archive'
9288           tmp_addflag=' $pic_flag'
9289           ;;
9290         pgf77* | pgf90* | pgf95* | pgfortran*)
9291                                         # Portland Group f77 and f90 compilers
9292           whole_archive_flag_spec='${wl}--whole-archive`for conv in $convenience\"\"; do test  -n \"$conv\" && new_convenience=\"$new_convenience,$conv\"; done; func_echo_all \"$new_convenience\"` ${wl}--no-whole-archive'
9293           tmp_addflag=' $pic_flag -Mnomain' ;;
9294         ecc*,ia64* | icc*,ia64*)        # Intel C compiler on ia64
9295           tmp_addflag=' -i_dynamic' ;;
9296         efc*,ia64* | ifort*,ia64*)      # Intel Fortran compiler on ia64
9297           tmp_addflag=' -i_dynamic -nofor_main' ;;
9298         ifc* | ifort*)                  # Intel Fortran compiler
9299           tmp_addflag=' -nofor_main' ;;
9300         lf95*)                          # Lahey Fortran 8.1
9301           whole_archive_flag_spec=
9302           tmp_sharedflag='--shared' ;;
9303         xl[cC]* | bgxl[cC]* | mpixl[cC]*) # IBM XL C 8.0 on PPC (deal with xlf below)
9304           tmp_sharedflag='-qmkshrobj'
9305           tmp_addflag= ;;
9306         nvcc*)  # Cuda Compiler Driver 2.2
9307           whole_archive_flag_spec='${wl}--whole-archive`for conv in $convenience\"\"; do test  -n \"$conv\" && new_convenience=\"$new_convenience,$conv\"; done; func_echo_all \"$new_convenience\"` ${wl}--no-whole-archive'
9308           compiler_needs_object=yes
9309           ;;
9310         esac
9311         case `$CC -V 2>&1 | sed 5q` in
9312         *Sun\ C*)                       # Sun C 5.9
9313           whole_archive_flag_spec='${wl}--whole-archive`new_convenience=; for conv in $convenience\"\"; do test -z \"$conv\" || new_convenience=\"$new_convenience,$conv\"; done; func_echo_all \"$new_convenience\"` ${wl}--no-whole-archive'
9314           compiler_needs_object=yes
9315           tmp_sharedflag='-G' ;;
9316         *Sun\ F*)                       # Sun Fortran 8.3
9317           tmp_sharedflag='-G' ;;
9318         esac
9319         archive_cmds='$CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9320
9321         if test "x$supports_anon_versioning" = xyes; then
9322           archive_expsym_cmds='echo "{ global:" > $output_objdir/$libname.ver~
9323             cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
9324             echo "local: *; };" >> $output_objdir/$libname.ver~
9325             $CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-version-script ${wl}$output_objdir/$libname.ver -o $lib'
9326         fi
9327
9328         case $cc_basename in
9329         xlf* | bgf* | bgxlf* | mpixlf*)
9330           # IBM XL Fortran 10.1 on PPC cannot create shared libs itself
9331           whole_archive_flag_spec='--whole-archive$convenience --no-whole-archive'
9332           hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
9333           archive_cmds='$LD -shared $libobjs $deplibs $linker_flags -soname $soname -o $lib'
9334           if test "x$supports_anon_versioning" = xyes; then
9335             archive_expsym_cmds='echo "{ global:" > $output_objdir/$libname.ver~
9336               cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
9337               echo "local: *; };" >> $output_objdir/$libname.ver~
9338               $LD -shared $libobjs $deplibs $linker_flags -soname $soname -version-script $output_objdir/$libname.ver -o $lib'
9339           fi
9340           ;;
9341         esac
9342       else
9343         ld_shlibs=no
9344       fi
9345       ;;
9346
9347     netbsd*)
9348       if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
9349         archive_cmds='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib'
9350         wlarc=
9351       else
9352         archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9353         archive_expsym_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
9354       fi
9355       ;;
9356
9357     solaris*)
9358       if $LD -v 2>&1 | $GREP 'BFD 2\.8' > /dev/null; then
9359         ld_shlibs=no
9360         cat <<_LT_EOF 1>&2
9361
9362 *** Warning: The releases 2.8.* of the GNU linker cannot reliably
9363 *** create shared libraries on Solaris systems.  Therefore, libtool
9364 *** is disabling shared libraries support.  We urge you to upgrade GNU
9365 *** binutils to release 2.9.1 or newer.  Another option is to modify
9366 *** your PATH or compiler configuration so that the native linker is
9367 *** used, and then restart.
9368
9369 _LT_EOF
9370       elif $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
9371         archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9372         archive_expsym_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
9373       else
9374         ld_shlibs=no
9375       fi
9376       ;;
9377
9378     sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX*)
9379       case `$LD -v 2>&1` in
9380         *\ [01].* | *\ 2.[0-9].* | *\ 2.1[0-5].*)
9381         ld_shlibs=no
9382         cat <<_LT_EOF 1>&2
9383
9384 *** Warning: Releases of the GNU linker prior to 2.16.91.0.3 can not
9385 *** reliably create shared libraries on SCO systems.  Therefore, libtool
9386 *** is disabling shared libraries support.  We urge you to upgrade GNU
9387 *** binutils to release 2.16.91.0.3 or newer.  Another option is to modify
9388 *** your PATH or compiler configuration so that the native linker is
9389 *** used, and then restart.
9390
9391 _LT_EOF
9392         ;;
9393         *)
9394           # For security reasons, it is highly recommended that you always
9395           # use absolute paths for naming shared libraries, and exclude the
9396           # DT_RUNPATH tag from executables and libraries.  But doing so
9397           # requires that you compile everything twice, which is a pain.
9398           if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
9399             hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
9400             archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9401             archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
9402           else
9403             ld_shlibs=no
9404           fi
9405         ;;
9406       esac
9407       ;;
9408
9409     sunos4*)
9410       archive_cmds='$LD -assert pure-text -Bshareable -o $lib $libobjs $deplibs $linker_flags'
9411       wlarc=
9412       hardcode_direct=yes
9413       hardcode_shlibpath_var=no
9414       ;;
9415
9416     *)
9417       if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
9418         archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9419         archive_expsym_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
9420       else
9421         ld_shlibs=no
9422       fi
9423       ;;
9424     esac
9425
9426     if test "$ld_shlibs" = no; then
9427       runpath_var=
9428       hardcode_libdir_flag_spec=
9429       export_dynamic_flag_spec=
9430       whole_archive_flag_spec=
9431     fi
9432   else
9433     # PORTME fill in a description of your system's linker (not GNU ld)
9434     case $host_os in
9435     aix3*)
9436       allow_undefined_flag=unsupported
9437       always_export_symbols=yes
9438       archive_expsym_cmds='$LD -o $output_objdir/$soname $libobjs $deplibs $linker_flags -bE:$export_symbols -T512 -H512 -bM:SRE~$AR $AR_FLAGS $lib $output_objdir/$soname'
9439       # Note: this linker hardcodes the directories in LIBPATH if there
9440       # are no directories specified by -L.
9441       hardcode_minus_L=yes
9442       if test "$GCC" = yes && test -z "$lt_prog_compiler_static"; then
9443         # Neither direct hardcoding nor static linking is supported with a
9444         # broken collect2.
9445         hardcode_direct=unsupported
9446       fi
9447       ;;
9448
9449     aix[4-9]*)
9450       if test "$host_cpu" = ia64; then
9451         # On IA64, the linker does run time linking by default, so we don't
9452         # have to do anything special.
9453         aix_use_runtimelinking=no
9454         exp_sym_flag='-Bexport'
9455         no_entry_flag=""
9456       else
9457         # If we're using GNU nm, then we don't want the "-C" option.
9458         # -C means demangle to AIX nm, but means don't demangle with GNU nm
9459         # Also, AIX nm treats weak defined symbols like other global
9460         # defined symbols, whereas GNU nm marks them as "W".
9461         if $NM -V 2>&1 | $GREP 'GNU' > /dev/null; then
9462           export_symbols_cmds='$NM -Bpg $libobjs $convenience | awk '\''{ if (((\$ 2 == "T") || (\$ 2 == "D") || (\$ 2 == "B") || (\$ 2 == "W")) && (substr(\$ 3,1,1) != ".")) { print \$ 3 } }'\'' | sort -u > $export_symbols'
9463         else
9464           export_symbols_cmds='$NM -BCpg $libobjs $convenience | awk '\''{ if (((\$ 2 == "T") || (\$ 2 == "D") || (\$ 2 == "B")) && (substr(\$ 3,1,1) != ".")) { print \$ 3 } }'\'' | sort -u > $export_symbols'
9465         fi
9466         aix_use_runtimelinking=no
9467
9468         # Test if we are trying to use run time linking or normal
9469         # AIX style linking. If -brtl is somewhere in LDFLAGS, we
9470         # need to do runtime linking.
9471         case $host_os in aix4.[23]|aix4.[23].*|aix[5-9]*)
9472           for ld_flag in $LDFLAGS; do
9473           if (test $ld_flag = "-brtl" || test $ld_flag = "-Wl,-brtl"); then
9474             aix_use_runtimelinking=yes
9475             break
9476           fi
9477           done
9478           ;;
9479         esac
9480
9481         exp_sym_flag='-bexport'
9482         no_entry_flag='-bnoentry'
9483       fi
9484
9485       # When large executables or shared objects are built, AIX ld can
9486       # have problems creating the table of contents.  If linking a library
9487       # or program results in "error TOC overflow" add -mminimal-toc to
9488       # CXXFLAGS/CFLAGS for g++/gcc.  In the cases where that is not
9489       # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
9490
9491       archive_cmds=''
9492       hardcode_direct=yes
9493       hardcode_direct_absolute=yes
9494       hardcode_libdir_separator=':'
9495       link_all_deplibs=yes
9496       file_list_spec='${wl}-f,'
9497
9498       if test "$GCC" = yes; then
9499         case $host_os in aix4.[012]|aix4.[012].*)
9500         # We only want to do this on AIX 4.2 and lower, the check
9501         # below for broken collect2 doesn't work under 4.3+
9502           collect2name=`${CC} -print-prog-name=collect2`
9503           if test -f "$collect2name" &&
9504            strings "$collect2name" | $GREP resolve_lib_name >/dev/null
9505           then
9506           # We have reworked collect2
9507           :
9508           else
9509           # We have old collect2
9510           hardcode_direct=unsupported
9511           # It fails to find uninstalled libraries when the uninstalled
9512           # path is not listed in the libpath.  Setting hardcode_minus_L
9513           # to unsupported forces relinking
9514           hardcode_minus_L=yes
9515           hardcode_libdir_flag_spec='-L$libdir'
9516           hardcode_libdir_separator=
9517           fi
9518           ;;
9519         esac
9520         shared_flag='-shared'
9521         if test "$aix_use_runtimelinking" = yes; then
9522           shared_flag="$shared_flag "'${wl}-G'
9523         fi
9524       else
9525         # not using gcc
9526         if test "$host_cpu" = ia64; then
9527         # VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
9528         # chokes on -Wl,-G. The following line is correct:
9529           shared_flag='-G'
9530         else
9531           if test "$aix_use_runtimelinking" = yes; then
9532             shared_flag='${wl}-G'
9533           else
9534             shared_flag='${wl}-bM:SRE'
9535           fi
9536         fi
9537       fi
9538
9539       export_dynamic_flag_spec='${wl}-bexpall'
9540       # It seems that -bexpall does not export symbols beginning with
9541       # underscore (_), so it is better to generate a list of symbols to export.
9542       always_export_symbols=yes
9543       if test "$aix_use_runtimelinking" = yes; then
9544         # Warning - without using the other runtime loading flags (-brtl),
9545         # -berok will link without error, but may produce a broken library.
9546         allow_undefined_flag='-berok'
9547         # Determine the default libpath from the value encoded in an
9548         # empty executable.
9549         if test "${lt_cv_aix_libpath+set}" = set; then
9550   aix_libpath=$lt_cv_aix_libpath
9551 else
9552   if ${lt_cv_aix_libpath_+:} false; then :
9553   $as_echo_n "(cached) " >&6
9554 else
9555   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9556 /* end confdefs.h.  */
9557
9558 int
9559 main ()
9560 {
9561
9562   ;
9563   return 0;
9564 }
9565 _ACEOF
9566 if ac_fn_c_try_link "$LINENO"; then :
9567
9568   lt_aix_libpath_sed='
9569       /Import File Strings/,/^$/ {
9570           /^0/ {
9571               s/^0  *\([^ ]*\) *$/\1/
9572               p
9573           }
9574       }'
9575   lt_cv_aix_libpath_=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
9576   # Check for a 64-bit object if we didn't find anything.
9577   if test -z "$lt_cv_aix_libpath_"; then
9578     lt_cv_aix_libpath_=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
9579   fi
9580 fi
9581 rm -f core conftest.err conftest.$ac_objext \
9582     conftest$ac_exeext conftest.$ac_ext
9583   if test -z "$lt_cv_aix_libpath_"; then
9584     lt_cv_aix_libpath_="/usr/lib:/lib"
9585   fi
9586
9587 fi
9588
9589   aix_libpath=$lt_cv_aix_libpath_
9590 fi
9591
9592         hardcode_libdir_flag_spec='${wl}-blibpath:$libdir:'"$aix_libpath"
9593         archive_expsym_cmds='$CC -o $output_objdir/$soname $libobjs $deplibs '"\${wl}$no_entry_flag"' $compiler_flags `if test "x${allow_undefined_flag}" != "x"; then func_echo_all "${wl}${allow_undefined_flag}"; else :; fi` '"\${wl}$exp_sym_flag:\$export_symbols $shared_flag"
9594       else
9595         if test "$host_cpu" = ia64; then
9596           hardcode_libdir_flag_spec='${wl}-R $libdir:/usr/lib:/lib'
9597           allow_undefined_flag="-z nodefs"
9598           archive_expsym_cmds="\$CC $shared_flag"' -o $output_objdir/$soname $libobjs $deplibs '"\${wl}$no_entry_flag"' $compiler_flags ${wl}${allow_undefined_flag} '"\${wl}$exp_sym_flag:\$export_symbols"
9599         else
9600          # Determine the default libpath from the value encoded in an
9601          # empty executable.
9602          if test "${lt_cv_aix_libpath+set}" = set; then
9603   aix_libpath=$lt_cv_aix_libpath
9604 else
9605   if ${lt_cv_aix_libpath_+:} false; then :
9606   $as_echo_n "(cached) " >&6
9607 else
9608   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9609 /* end confdefs.h.  */
9610
9611 int
9612 main ()
9613 {
9614
9615   ;
9616   return 0;
9617 }
9618 _ACEOF
9619 if ac_fn_c_try_link "$LINENO"; then :
9620
9621   lt_aix_libpath_sed='
9622       /Import File Strings/,/^$/ {
9623           /^0/ {
9624               s/^0  *\([^ ]*\) *$/\1/
9625               p
9626           }
9627       }'
9628   lt_cv_aix_libpath_=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
9629   # Check for a 64-bit object if we didn't find anything.
9630   if test -z "$lt_cv_aix_libpath_"; then
9631     lt_cv_aix_libpath_=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
9632   fi
9633 fi
9634 rm -f core conftest.err conftest.$ac_objext \
9635     conftest$ac_exeext conftest.$ac_ext
9636   if test -z "$lt_cv_aix_libpath_"; then
9637     lt_cv_aix_libpath_="/usr/lib:/lib"
9638   fi
9639
9640 fi
9641
9642   aix_libpath=$lt_cv_aix_libpath_
9643 fi
9644
9645          hardcode_libdir_flag_spec='${wl}-blibpath:$libdir:'"$aix_libpath"
9646           # Warning - without using the other run time loading flags,
9647           # -berok will link without error, but may produce a broken library.
9648           no_undefined_flag=' ${wl}-bernotok'
9649           allow_undefined_flag=' ${wl}-berok'
9650           if test "$with_gnu_ld" = yes; then
9651             # We only use this code for GNU lds that support --whole-archive.
9652             whole_archive_flag_spec='${wl}--whole-archive$convenience ${wl}--no-whole-archive'
9653           else
9654             # Exported symbols can be pulled into shared objects from archives
9655             whole_archive_flag_spec='$convenience'
9656           fi
9657           archive_cmds_need_lc=yes
9658           # This is similar to how AIX traditionally builds its shared libraries.
9659           archive_expsym_cmds="\$CC $shared_flag"' -o $output_objdir/$soname $libobjs $deplibs ${wl}-bnoentry $compiler_flags ${wl}-bE:$export_symbols${allow_undefined_flag}~$AR $AR_FLAGS $output_objdir/$libname$release.a $output_objdir/$soname'
9660         fi
9661       fi
9662       ;;
9663
9664     amigaos*)
9665       case $host_cpu in
9666       powerpc)
9667             # see comment about AmigaOS4 .so support
9668             archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9669             archive_expsym_cmds=''
9670         ;;
9671       m68k)
9672             archive_cmds='$RM $output_objdir/a2ixlibrary.data~$ECHO "#define NAME $libname" > $output_objdir/a2ixlibrary.data~$ECHO "#define LIBRARY_ID 1" >> $output_objdir/a2ixlibrary.data~$ECHO "#define VERSION $major" >> $output_objdir/a2ixlibrary.data~$ECHO "#define REVISION $revision" >> $output_objdir/a2ixlibrary.data~$AR $AR_FLAGS $lib $libobjs~$RANLIB $lib~(cd $output_objdir && a2ixlibrary -32)'
9673             hardcode_libdir_flag_spec='-L$libdir'
9674             hardcode_minus_L=yes
9675         ;;
9676       esac
9677       ;;
9678
9679     bsdi[45]*)
9680       export_dynamic_flag_spec=-rdynamic
9681       ;;
9682
9683     cygwin* | mingw* | pw32* | cegcc*)
9684       # When not using gcc, we currently assume that we are using
9685       # Microsoft Visual C++.
9686       # hardcode_libdir_flag_spec is actually meaningless, as there is
9687       # no search path for DLLs.
9688       case $cc_basename in
9689       cl*)
9690         # Native MSVC
9691         hardcode_libdir_flag_spec=' '
9692         allow_undefined_flag=unsupported
9693         always_export_symbols=yes
9694         file_list_spec='@'
9695         # Tell ltmain to make .lib files, not .a files.
9696         libext=lib
9697         # Tell ltmain to make .dll files, not .so files.
9698         shrext_cmds=".dll"
9699         # FIXME: Setting linknames here is a bad hack.
9700         archive_cmds='$CC -o $output_objdir/$soname $libobjs $compiler_flags $deplibs -Wl,-dll~linknames='
9701         archive_expsym_cmds='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
9702             sed -n -e 's/\\\\\\\(.*\\\\\\\)/-link\\\ -EXPORT:\\\\\\\1/' -e '1\\\!p' < $export_symbols > $output_objdir/$soname.exp;
9703           else
9704             sed -e 's/\\\\\\\(.*\\\\\\\)/-link\\\ -EXPORT:\\\\\\\1/' < $export_symbols > $output_objdir/$soname.exp;
9705           fi~
9706           $CC -o $tool_output_objdir$soname $libobjs $compiler_flags $deplibs "@$tool_output_objdir$soname.exp" -Wl,-DLL,-IMPLIB:"$tool_output_objdir$libname.dll.lib"~
9707           linknames='
9708         # The linker will not automatically build a static lib if we build a DLL.
9709         # _LT_TAGVAR(old_archive_from_new_cmds, )='true'
9710         enable_shared_with_static_runtimes=yes
9711         exclude_expsyms='_NULL_IMPORT_DESCRIPTOR|_IMPORT_DESCRIPTOR_.*'
9712         export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS][ ]/s/.*[ ]\([^ ]*\)/\1,DATA/'\'' | $SED -e '\''/^[AITW][ ]/s/.*[ ]//'\'' | sort | uniq > $export_symbols'
9713         # Don't use ranlib
9714         old_postinstall_cmds='chmod 644 $oldlib'
9715         postlink_cmds='lt_outputfile="@OUTPUT@"~
9716           lt_tool_outputfile="@TOOL_OUTPUT@"~
9717           case $lt_outputfile in
9718             *.exe|*.EXE) ;;
9719             *)
9720               lt_outputfile="$lt_outputfile.exe"
9721               lt_tool_outputfile="$lt_tool_outputfile.exe"
9722               ;;
9723           esac~
9724           if test "$MANIFEST_TOOL" != ":" && test -f "$lt_outputfile.manifest"; then
9725             $MANIFEST_TOOL -manifest "$lt_tool_outputfile.manifest" -outputresource:"$lt_tool_outputfile" || exit 1;
9726             $RM "$lt_outputfile.manifest";
9727           fi'
9728         ;;
9729       *)
9730         # Assume MSVC wrapper
9731         hardcode_libdir_flag_spec=' '
9732         allow_undefined_flag=unsupported
9733         # Tell ltmain to make .lib files, not .a files.
9734         libext=lib
9735         # Tell ltmain to make .dll files, not .so files.
9736         shrext_cmds=".dll"
9737         # FIXME: Setting linknames here is a bad hack.
9738         archive_cmds='$CC -o $lib $libobjs $compiler_flags `func_echo_all "$deplibs" | $SED '\''s/ -lc$//'\''` -link -dll~linknames='
9739         # The linker will automatically build a .lib file if we build a DLL.
9740         old_archive_from_new_cmds='true'
9741         # FIXME: Should let the user specify the lib program.
9742         old_archive_cmds='lib -OUT:$oldlib$oldobjs$old_deplibs'
9743         enable_shared_with_static_runtimes=yes
9744         ;;
9745       esac
9746       ;;
9747
9748     darwin* | rhapsody*)
9749
9750
9751   archive_cmds_need_lc=no
9752   hardcode_direct=no
9753   hardcode_automatic=yes
9754   hardcode_shlibpath_var=unsupported
9755   if test "$lt_cv_ld_force_load" = "yes"; then
9756     whole_archive_flag_spec='`for conv in $convenience\"\"; do test  -n \"$conv\" && new_convenience=\"$new_convenience ${wl}-force_load,$conv\"; done; func_echo_all \"$new_convenience\"`'
9757
9758   else
9759     whole_archive_flag_spec=''
9760   fi
9761   link_all_deplibs=yes
9762   allow_undefined_flag="$_lt_dar_allow_undefined"
9763   case $cc_basename in
9764      ifort*) _lt_dar_can_shared=yes ;;
9765      *) _lt_dar_can_shared=$GCC ;;
9766   esac
9767   if test "$_lt_dar_can_shared" = "yes"; then
9768     output_verbose_link_cmd=func_echo_all
9769     archive_cmds="\$CC -dynamiclib \$allow_undefined_flag -o \$lib \$libobjs \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring $_lt_dar_single_mod${_lt_dsymutil}"
9770     module_cmds="\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags${_lt_dsymutil}"
9771     archive_expsym_cmds="sed 's,^,_,' < \$export_symbols > \$output_objdir/\${libname}-symbols.expsym~\$CC -dynamiclib \$allow_undefined_flag -o \$lib \$libobjs \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring ${_lt_dar_single_mod}${_lt_dar_export_syms}${_lt_dsymutil}"
9772     module_expsym_cmds="sed -e 's,^,_,' < \$export_symbols > \$output_objdir/\${libname}-symbols.expsym~\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags${_lt_dar_export_syms}${_lt_dsymutil}"
9773
9774   else
9775   ld_shlibs=no
9776   fi
9777
9778       ;;
9779
9780     dgux*)
9781       archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
9782       hardcode_libdir_flag_spec='-L$libdir'
9783       hardcode_shlibpath_var=no
9784       ;;
9785
9786     # FreeBSD 2.2.[012] allows us to include c++rt0.o to get C++ constructor
9787     # support.  Future versions do this automatically, but an explicit c++rt0.o
9788     # does not break anything, and helps significantly (at the cost of a little
9789     # extra space).
9790     freebsd2.2*)
9791       archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags /usr/lib/c++rt0.o'
9792       hardcode_libdir_flag_spec='-R$libdir'
9793       hardcode_direct=yes
9794       hardcode_shlibpath_var=no
9795       ;;
9796
9797     # Unfortunately, older versions of FreeBSD 2 do not have this feature.
9798     freebsd2.*)
9799       archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
9800       hardcode_direct=yes
9801       hardcode_minus_L=yes
9802       hardcode_shlibpath_var=no
9803       ;;
9804
9805     # FreeBSD 3 and greater uses gcc -shared to do shared libraries.
9806     freebsd* | dragonfly*)
9807       archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
9808       hardcode_libdir_flag_spec='-R$libdir'
9809       hardcode_direct=yes
9810       hardcode_shlibpath_var=no
9811       ;;
9812
9813     hpux9*)
9814       if test "$GCC" = yes; then
9815         archive_cmds='$RM $output_objdir/$soname~$CC -shared $pic_flag ${wl}+b ${wl}$install_libdir -o $output_objdir/$soname $libobjs $deplibs $compiler_flags~test $output_objdir/$soname = $lib || mv $output_objdir/$soname $lib'
9816       else
9817         archive_cmds='$RM $output_objdir/$soname~$LD -b +b $install_libdir -o $output_objdir/$soname $libobjs $deplibs $linker_flags~test $output_objdir/$soname = $lib || mv $output_objdir/$soname $lib'
9818       fi
9819       hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
9820       hardcode_libdir_separator=:
9821       hardcode_direct=yes
9822
9823       # hardcode_minus_L: Not really in the search PATH,
9824       # but as the default location of the library.
9825       hardcode_minus_L=yes
9826       export_dynamic_flag_spec='${wl}-E'
9827       ;;
9828
9829     hpux10*)
9830       if test "$GCC" = yes && test "$with_gnu_ld" = no; then
9831         archive_cmds='$CC -shared $pic_flag ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
9832       else
9833         archive_cmds='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
9834       fi
9835       if test "$with_gnu_ld" = no; then
9836         hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
9837         hardcode_libdir_separator=:
9838         hardcode_direct=yes
9839         hardcode_direct_absolute=yes
9840         export_dynamic_flag_spec='${wl}-E'
9841         # hardcode_minus_L: Not really in the search PATH,
9842         # but as the default location of the library.
9843         hardcode_minus_L=yes
9844       fi
9845       ;;
9846
9847     hpux11*)
9848       if test "$GCC" = yes && test "$with_gnu_ld" = no; then
9849         case $host_cpu in
9850         hppa*64*)
9851           archive_cmds='$CC -shared ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
9852           ;;
9853         ia64*)
9854           archive_cmds='$CC -shared $pic_flag ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
9855           ;;
9856         *)
9857           archive_cmds='$CC -shared $pic_flag ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
9858           ;;
9859         esac
9860       else
9861         case $host_cpu in
9862         hppa*64*)
9863           archive_cmds='$CC -b ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
9864           ;;
9865         ia64*)
9866           archive_cmds='$CC -b ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
9867           ;;
9868         *)
9869
9870           # Older versions of the 11.00 compiler do not understand -b yet
9871           # (HP92453-01 A.11.01.20 doesn't, HP92453-01 B.11.X.35175-35176.GP does)
9872           { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC understands -b" >&5
9873 $as_echo_n "checking if $CC understands -b... " >&6; }
9874 if ${lt_cv_prog_compiler__b+:} false; then :
9875   $as_echo_n "(cached) " >&6
9876 else
9877   lt_cv_prog_compiler__b=no
9878    save_LDFLAGS="$LDFLAGS"
9879    LDFLAGS="$LDFLAGS -b"
9880    echo "$lt_simple_link_test_code" > conftest.$ac_ext
9881    if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
9882      # The linker can only warn and ignore the option if not recognized
9883      # So say no if there are warnings
9884      if test -s conftest.err; then
9885        # Append any errors to the config.log.
9886        cat conftest.err 1>&5
9887        $ECHO "$_lt_linker_boilerplate" | $SED '/^$/d' > conftest.exp
9888        $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
9889        if diff conftest.exp conftest.er2 >/dev/null; then
9890          lt_cv_prog_compiler__b=yes
9891        fi
9892      else
9893        lt_cv_prog_compiler__b=yes
9894      fi
9895    fi
9896    $RM -r conftest*
9897    LDFLAGS="$save_LDFLAGS"
9898
9899 fi
9900 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler__b" >&5
9901 $as_echo "$lt_cv_prog_compiler__b" >&6; }
9902
9903 if test x"$lt_cv_prog_compiler__b" = xyes; then
9904     archive_cmds='$CC -b ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
9905 else
9906     archive_cmds='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
9907 fi
9908
9909           ;;
9910         esac
9911       fi
9912       if test "$with_gnu_ld" = no; then
9913         hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
9914         hardcode_libdir_separator=:
9915
9916         case $host_cpu in
9917         hppa*64*|ia64*)
9918           hardcode_direct=no
9919           hardcode_shlibpath_var=no
9920           ;;
9921         *)
9922           hardcode_direct=yes
9923           hardcode_direct_absolute=yes
9924           export_dynamic_flag_spec='${wl}-E'
9925
9926           # hardcode_minus_L: Not really in the search PATH,
9927           # but as the default location of the library.
9928           hardcode_minus_L=yes
9929           ;;
9930         esac
9931       fi
9932       ;;
9933
9934     irix5* | irix6* | nonstopux*)
9935       if test "$GCC" = yes; then
9936         archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname ${wl}$soname `test -n "$verstring" && func_echo_all "${wl}-set_version ${wl}$verstring"` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib'
9937         # Try to use the -exported_symbol ld option, if it does not
9938         # work, assume that -exports_file does not work either and
9939         # implicitly export all symbols.
9940         # This should be the same for all languages, so no per-tag cache variable.
9941         { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $host_os linker accepts -exported_symbol" >&5
9942 $as_echo_n "checking whether the $host_os linker accepts -exported_symbol... " >&6; }
9943 if ${lt_cv_irix_exported_symbol+:} false; then :
9944   $as_echo_n "(cached) " >&6
9945 else
9946   save_LDFLAGS="$LDFLAGS"
9947            LDFLAGS="$LDFLAGS -shared ${wl}-exported_symbol ${wl}foo ${wl}-update_registry ${wl}/dev/null"
9948            cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9949 /* end confdefs.h.  */
9950 int foo (void) { return 0; }
9951 _ACEOF
9952 if ac_fn_c_try_link "$LINENO"; then :
9953   lt_cv_irix_exported_symbol=yes
9954 else
9955   lt_cv_irix_exported_symbol=no
9956 fi
9957 rm -f core conftest.err conftest.$ac_objext \
9958     conftest$ac_exeext conftest.$ac_ext
9959            LDFLAGS="$save_LDFLAGS"
9960 fi
9961 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_irix_exported_symbol" >&5
9962 $as_echo "$lt_cv_irix_exported_symbol" >&6; }
9963         if test "$lt_cv_irix_exported_symbol" = yes; then
9964           archive_expsym_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname ${wl}$soname `test -n "$verstring" && func_echo_all "${wl}-set_version ${wl}$verstring"` ${wl}-update_registry ${wl}${output_objdir}/so_locations ${wl}-exports_file ${wl}$export_symbols -o $lib'
9965         fi
9966       else
9967         archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags -soname $soname `test -n "$verstring" && func_echo_all "-set_version $verstring"` -update_registry ${output_objdir}/so_locations -o $lib'
9968         archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags -soname $soname `test -n "$verstring" && func_echo_all "-set_version $verstring"` -update_registry ${output_objdir}/so_locations -exports_file $export_symbols -o $lib'
9969       fi
9970       archive_cmds_need_lc='no'
9971       hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
9972       hardcode_libdir_separator=:
9973       inherit_rpath=yes
9974       link_all_deplibs=yes
9975       ;;
9976
9977     netbsd*)
9978       if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
9979         archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'  # a.out
9980       else
9981         archive_cmds='$LD -shared -o $lib $libobjs $deplibs $linker_flags'      # ELF
9982       fi
9983       hardcode_libdir_flag_spec='-R$libdir'
9984       hardcode_direct=yes
9985       hardcode_shlibpath_var=no
9986       ;;
9987
9988     newsos6)
9989       archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
9990       hardcode_direct=yes
9991       hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
9992       hardcode_libdir_separator=:
9993       hardcode_shlibpath_var=no
9994       ;;
9995
9996     *nto* | *qnx*)
9997       ;;
9998
9999     openbsd*)
10000       if test -f /usr/libexec/ld.so; then
10001         hardcode_direct=yes
10002         hardcode_shlibpath_var=no
10003         hardcode_direct_absolute=yes
10004         if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
10005           archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
10006           archive_expsym_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-retain-symbols-file,$export_symbols'
10007           hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
10008           export_dynamic_flag_spec='${wl}-E'
10009         else
10010           case $host_os in
10011            openbsd[01].* | openbsd2.[0-7] | openbsd2.[0-7].*)
10012              archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
10013              hardcode_libdir_flag_spec='-R$libdir'
10014              ;;
10015            *)
10016              archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
10017              hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
10018              ;;
10019           esac
10020         fi
10021       else
10022         ld_shlibs=no
10023       fi
10024       ;;
10025
10026     os2*)
10027       hardcode_libdir_flag_spec='-L$libdir'
10028       hardcode_minus_L=yes
10029       allow_undefined_flag=unsupported
10030       archive_cmds='$ECHO "LIBRARY $libname INITINSTANCE" > $output_objdir/$libname.def~$ECHO "DESCRIPTION \"$libname\"" >> $output_objdir/$libname.def~echo DATA >> $output_objdir/$libname.def~echo " SINGLE NONSHARED" >> $output_objdir/$libname.def~echo EXPORTS >> $output_objdir/$libname.def~emxexp $libobjs >> $output_objdir/$libname.def~$CC -Zdll -Zcrtdll -o $lib $libobjs $deplibs $compiler_flags $output_objdir/$libname.def'
10031       old_archive_from_new_cmds='emximp -o $output_objdir/$libname.a $output_objdir/$libname.def'
10032       ;;
10033
10034     osf3*)
10035       if test "$GCC" = yes; then
10036         allow_undefined_flag=' ${wl}-expect_unresolved ${wl}\*'
10037         archive_cmds='$CC -shared${allow_undefined_flag} $libobjs $deplibs $compiler_flags ${wl}-soname ${wl}$soname `test -n "$verstring" && func_echo_all "${wl}-set_version ${wl}$verstring"` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib'
10038       else
10039         allow_undefined_flag=' -expect_unresolved \*'
10040         archive_cmds='$CC -shared${allow_undefined_flag} $libobjs $deplibs $compiler_flags -soname $soname `test -n "$verstring" && func_echo_all "-set_version $verstring"` -update_registry ${output_objdir}/so_locations -o $lib'
10041       fi
10042       archive_cmds_need_lc='no'
10043       hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
10044       hardcode_libdir_separator=:
10045       ;;
10046
10047     osf4* | osf5*)      # as osf3* with the addition of -msym flag
10048       if test "$GCC" = yes; then
10049         allow_undefined_flag=' ${wl}-expect_unresolved ${wl}\*'
10050         archive_cmds='$CC -shared${allow_undefined_flag} $pic_flag $libobjs $deplibs $compiler_flags ${wl}-msym ${wl}-soname ${wl}$soname `test -n "$verstring" && func_echo_all "${wl}-set_version ${wl}$verstring"` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib'
10051         hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
10052       else
10053         allow_undefined_flag=' -expect_unresolved \*'
10054         archive_cmds='$CC -shared${allow_undefined_flag} $libobjs $deplibs $compiler_flags -msym -soname $soname `test -n "$verstring" && func_echo_all "-set_version $verstring"` -update_registry ${output_objdir}/so_locations -o $lib'
10055         archive_expsym_cmds='for i in `cat $export_symbols`; do printf "%s %s\\n" -exported_symbol "\$i" >> $lib.exp; done; printf "%s\\n" "-hidden">> $lib.exp~
10056         $CC -shared${allow_undefined_flag} ${wl}-input ${wl}$lib.exp $compiler_flags $libobjs $deplibs -soname $soname `test -n "$verstring" && $ECHO "-set_version $verstring"` -update_registry ${output_objdir}/so_locations -o $lib~$RM $lib.exp'
10057
10058         # Both c and cxx compiler support -rpath directly
10059         hardcode_libdir_flag_spec='-rpath $libdir'
10060       fi
10061       archive_cmds_need_lc='no'
10062       hardcode_libdir_separator=:
10063       ;;
10064
10065     solaris*)
10066       no_undefined_flag=' -z defs'
10067       if test "$GCC" = yes; then
10068         wlarc='${wl}'
10069         archive_cmds='$CC -shared $pic_flag ${wl}-z ${wl}text ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
10070         archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
10071           $CC -shared $pic_flag ${wl}-z ${wl}text ${wl}-M ${wl}$lib.exp ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags~$RM $lib.exp'
10072       else
10073         case `$CC -V 2>&1` in
10074         *"Compilers 5.0"*)
10075           wlarc=''
10076           archive_cmds='$LD -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $linker_flags'
10077           archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
10078           $LD -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$RM $lib.exp'
10079           ;;
10080         *)
10081           wlarc='${wl}'
10082           archive_cmds='$CC -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $compiler_flags'
10083           archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
10084           $CC -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $compiler_flags~$RM $lib.exp'
10085           ;;
10086         esac
10087       fi
10088       hardcode_libdir_flag_spec='-R$libdir'
10089       hardcode_shlibpath_var=no
10090       case $host_os in
10091       solaris2.[0-5] | solaris2.[0-5].*) ;;
10092       *)
10093         # The compiler driver will combine and reorder linker options,
10094         # but understands `-z linker_flag'.  GCC discards it without `$wl',
10095         # but is careful enough not to reorder.
10096         # Supported since Solaris 2.6 (maybe 2.5.1?)
10097         if test "$GCC" = yes; then
10098           whole_archive_flag_spec='${wl}-z ${wl}allextract$convenience ${wl}-z ${wl}defaultextract'
10099         else
10100           whole_archive_flag_spec='-z allextract$convenience -z defaultextract'
10101         fi
10102         ;;
10103       esac
10104       link_all_deplibs=yes
10105       ;;
10106
10107     sunos4*)
10108       if test "x$host_vendor" = xsequent; then
10109         # Use $CC to link under sequent, because it throws in some extra .o
10110         # files that make .init and .fini sections work.
10111         archive_cmds='$CC -G ${wl}-h $soname -o $lib $libobjs $deplibs $compiler_flags'
10112       else
10113         archive_cmds='$LD -assert pure-text -Bstatic -o $lib $libobjs $deplibs $linker_flags'
10114       fi
10115       hardcode_libdir_flag_spec='-L$libdir'
10116       hardcode_direct=yes
10117       hardcode_minus_L=yes
10118       hardcode_shlibpath_var=no
10119       ;;
10120
10121     sysv4)
10122       case $host_vendor in
10123         sni)
10124           archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
10125           hardcode_direct=yes # is this really true???
10126         ;;
10127         siemens)
10128           ## LD is ld it makes a PLAMLIB
10129           ## CC just makes a GrossModule.
10130           archive_cmds='$LD -G -o $lib $libobjs $deplibs $linker_flags'
10131           reload_cmds='$CC -r -o $output$reload_objs'
10132           hardcode_direct=no
10133         ;;
10134         motorola)
10135           archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
10136           hardcode_direct=no #Motorola manual says yes, but my tests say they lie
10137         ;;
10138       esac
10139       runpath_var='LD_RUN_PATH'
10140       hardcode_shlibpath_var=no
10141       ;;
10142
10143     sysv4.3*)
10144       archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
10145       hardcode_shlibpath_var=no
10146       export_dynamic_flag_spec='-Bexport'
10147       ;;
10148
10149     sysv4*MP*)
10150       if test -d /usr/nec; then
10151         archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
10152         hardcode_shlibpath_var=no
10153         runpath_var=LD_RUN_PATH
10154         hardcode_runpath_var=yes
10155         ld_shlibs=yes
10156       fi
10157       ;;
10158
10159     sysv4*uw2* | sysv5OpenUNIX* | sysv5UnixWare7.[01].[10]* | unixware7* | sco3.2v5.0.[024]*)
10160       no_undefined_flag='${wl}-z,text'
10161       archive_cmds_need_lc=no
10162       hardcode_shlibpath_var=no
10163       runpath_var='LD_RUN_PATH'
10164
10165       if test "$GCC" = yes; then
10166         archive_cmds='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10167         archive_expsym_cmds='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10168       else
10169         archive_cmds='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10170         archive_expsym_cmds='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10171       fi
10172       ;;
10173
10174     sysv5* | sco3.2v5* | sco5v6*)
10175       # Note: We can NOT use -z defs as we might desire, because we do not
10176       # link with -lc, and that would cause any symbols used from libc to
10177       # always be unresolved, which means just about no library would
10178       # ever link correctly.  If we're not using GNU ld we use -z text
10179       # though, which does catch some bad symbols but isn't as heavy-handed
10180       # as -z defs.
10181       no_undefined_flag='${wl}-z,text'
10182       allow_undefined_flag='${wl}-z,nodefs'
10183       archive_cmds_need_lc=no
10184       hardcode_shlibpath_var=no
10185       hardcode_libdir_flag_spec='${wl}-R,$libdir'
10186       hardcode_libdir_separator=':'
10187       link_all_deplibs=yes
10188       export_dynamic_flag_spec='${wl}-Bexport'
10189       runpath_var='LD_RUN_PATH'
10190
10191       if test "$GCC" = yes; then
10192         archive_cmds='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10193         archive_expsym_cmds='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10194       else
10195         archive_cmds='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10196         archive_expsym_cmds='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10197       fi
10198       ;;
10199
10200     uts4*)
10201       archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
10202       hardcode_libdir_flag_spec='-L$libdir'
10203       hardcode_shlibpath_var=no
10204       ;;
10205
10206     *)
10207       ld_shlibs=no
10208       ;;
10209     esac
10210
10211     if test x$host_vendor = xsni; then
10212       case $host in
10213       sysv4 | sysv4.2uw2* | sysv4.3* | sysv5*)
10214         export_dynamic_flag_spec='${wl}-Blargedynsym'
10215         ;;
10216       esac
10217     fi
10218   fi
10219
10220 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ld_shlibs" >&5
10221 $as_echo "$ld_shlibs" >&6; }
10222 test "$ld_shlibs" = no && can_build_shared=no
10223
10224 with_gnu_ld=$with_gnu_ld
10225
10226
10227
10228
10229
10230
10231
10232
10233
10234
10235
10236
10237
10238
10239
10240 #
10241 # Do we need to explicitly link libc?
10242 #
10243 case "x$archive_cmds_need_lc" in
10244 x|xyes)
10245   # Assume -lc should be added
10246   archive_cmds_need_lc=yes
10247
10248   if test "$enable_shared" = yes && test "$GCC" = yes; then
10249     case $archive_cmds in
10250     *'~'*)
10251       # FIXME: we may have to deal with multi-command sequences.
10252       ;;
10253     '$CC '*)
10254       # Test whether the compiler implicitly links with -lc since on some
10255       # systems, -lgcc has to come before -lc. If gcc already passes -lc
10256       # to ld, don't add -lc before -lgcc.
10257       { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether -lc should be explicitly linked in" >&5
10258 $as_echo_n "checking whether -lc should be explicitly linked in... " >&6; }
10259 if ${lt_cv_archive_cmds_need_lc+:} false; then :
10260   $as_echo_n "(cached) " >&6
10261 else
10262   $RM conftest*
10263         echo "$lt_simple_compile_test_code" > conftest.$ac_ext
10264
10265         if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
10266   (eval $ac_compile) 2>&5
10267   ac_status=$?
10268   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
10269   test $ac_status = 0; } 2>conftest.err; then
10270           soname=conftest
10271           lib=conftest
10272           libobjs=conftest.$ac_objext
10273           deplibs=
10274           wl=$lt_prog_compiler_wl
10275           pic_flag=$lt_prog_compiler_pic
10276           compiler_flags=-v
10277           linker_flags=-v
10278           verstring=
10279           output_objdir=.
10280           libname=conftest
10281           lt_save_allow_undefined_flag=$allow_undefined_flag
10282           allow_undefined_flag=
10283           if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$archive_cmds 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1\""; } >&5
10284   (eval $archive_cmds 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1) 2>&5
10285   ac_status=$?
10286   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
10287   test $ac_status = 0; }
10288           then
10289             lt_cv_archive_cmds_need_lc=no
10290           else
10291             lt_cv_archive_cmds_need_lc=yes
10292           fi
10293           allow_undefined_flag=$lt_save_allow_undefined_flag
10294         else
10295           cat conftest.err 1>&5
10296         fi
10297         $RM conftest*
10298
10299 fi
10300 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_archive_cmds_need_lc" >&5
10301 $as_echo "$lt_cv_archive_cmds_need_lc" >&6; }
10302       archive_cmds_need_lc=$lt_cv_archive_cmds_need_lc
10303       ;;
10304     esac
10305   fi
10306   ;;
10307 esac
10308
10309
10310
10311
10312
10313
10314
10315
10316
10317
10318
10319
10320
10321
10322
10323
10324
10325
10326
10327
10328
10329
10330
10331
10332
10333
10334
10335
10336
10337
10338
10339
10340
10341
10342
10343
10344
10345
10346
10347
10348
10349
10350
10351
10352
10353
10354
10355
10356
10357
10358
10359
10360
10361
10362
10363
10364
10365
10366
10367
10368
10369
10370
10371
10372
10373
10374
10375
10376
10377
10378
10379
10380
10381
10382
10383
10384
10385
10386
10387
10388
10389
10390
10391
10392
10393
10394
10395
10396
10397
10398
10399
10400
10401
10402
10403
10404
10405
10406
10407
10408
10409
10410
10411
10412
10413
10414
10415
10416
10417
10418
10419
10420
10421
10422
10423
10424
10425
10426
10427
10428
10429
10430
10431
10432
10433
10434
10435
10436
10437
10438
10439
10440
10441
10442
10443
10444
10445
10446
10447
10448
10449
10450
10451
10452
10453
10454
10455
10456
10457
10458
10459
10460   { $as_echo "$as_me:${as_lineno-$LINENO}: checking dynamic linker characteristics" >&5
10461 $as_echo_n "checking dynamic linker characteristics... " >&6; }
10462
10463 if test "$GCC" = yes; then
10464   case $host_os in
10465     darwin*) lt_awk_arg="/^libraries:/,/LR/" ;;
10466     *) lt_awk_arg="/^libraries:/" ;;
10467   esac
10468   case $host_os in
10469     mingw* | cegcc*) lt_sed_strip_eq="s,=\([A-Za-z]:\),\1,g" ;;
10470     *) lt_sed_strip_eq="s,=/,/,g" ;;
10471   esac
10472   lt_search_path_spec=`$CC -print-search-dirs | awk $lt_awk_arg | $SED -e "s/^libraries://" -e $lt_sed_strip_eq`
10473   case $lt_search_path_spec in
10474   *\;*)
10475     # if the path contains ";" then we assume it to be the separator
10476     # otherwise default to the standard path separator (i.e. ":") - it is
10477     # assumed that no part of a normal pathname contains ";" but that should
10478     # okay in the real world where ";" in dirpaths is itself problematic.
10479     lt_search_path_spec=`$ECHO "$lt_search_path_spec" | $SED 's/;/ /g'`
10480     ;;
10481   *)
10482     lt_search_path_spec=`$ECHO "$lt_search_path_spec" | $SED "s/$PATH_SEPARATOR/ /g"`
10483     ;;
10484   esac
10485   # Ok, now we have the path, separated by spaces, we can step through it
10486   # and add multilib dir if necessary.
10487   lt_tmp_lt_search_path_spec=
10488   lt_multi_os_dir=`$CC $CPPFLAGS $CFLAGS $LDFLAGS -print-multi-os-directory 2>/dev/null`
10489   for lt_sys_path in $lt_search_path_spec; do
10490     if test -d "$lt_sys_path/$lt_multi_os_dir"; then
10491       lt_tmp_lt_search_path_spec="$lt_tmp_lt_search_path_spec $lt_sys_path/$lt_multi_os_dir"
10492     else
10493       test -d "$lt_sys_path" && \
10494         lt_tmp_lt_search_path_spec="$lt_tmp_lt_search_path_spec $lt_sys_path"
10495     fi
10496   done
10497   lt_search_path_spec=`$ECHO "$lt_tmp_lt_search_path_spec" | awk '
10498 BEGIN {RS=" "; FS="/|\n";} {
10499   lt_foo="";
10500   lt_count=0;
10501   for (lt_i = NF; lt_i > 0; lt_i--) {
10502     if ($lt_i != "" && $lt_i != ".") {
10503       if ($lt_i == "..") {
10504         lt_count++;
10505       } else {
10506         if (lt_count == 0) {
10507           lt_foo="/" $lt_i lt_foo;
10508         } else {
10509           lt_count--;
10510         }
10511       }
10512     }
10513   }
10514   if (lt_foo != "") { lt_freq[lt_foo]++; }
10515   if (lt_freq[lt_foo] == 1) { print lt_foo; }
10516 }'`
10517   # AWK program above erroneously prepends '/' to C:/dos/paths
10518   # for these hosts.
10519   case $host_os in
10520     mingw* | cegcc*) lt_search_path_spec=`$ECHO "$lt_search_path_spec" |\
10521       $SED 's,/\([A-Za-z]:\),\1,g'` ;;
10522   esac
10523   sys_lib_search_path_spec=`$ECHO "$lt_search_path_spec" | $lt_NL2SP`
10524 else
10525   sys_lib_search_path_spec="/lib /usr/lib /usr/local/lib"
10526 fi
10527 library_names_spec=
10528 libname_spec='lib$name'
10529 soname_spec=
10530 shrext_cmds=".so"
10531 postinstall_cmds=
10532 postuninstall_cmds=
10533 finish_cmds=
10534 finish_eval=
10535 shlibpath_var=
10536 shlibpath_overrides_runpath=unknown
10537 version_type=none
10538 dynamic_linker="$host_os ld.so"
10539 sys_lib_dlsearch_path_spec="/lib /usr/lib"
10540 need_lib_prefix=unknown
10541 hardcode_into_libs=no
10542
10543 # when you set need_version to no, make sure it does not cause -set_version
10544 # flags to be left without arguments
10545 need_version=unknown
10546
10547 case $host_os in
10548 aix3*)
10549   version_type=linux # correct to gnu/linux during the next big refactor
10550   library_names_spec='${libname}${release}${shared_ext}$versuffix $libname.a'
10551   shlibpath_var=LIBPATH
10552
10553   # AIX 3 has no versioning support, so we append a major version to the name.
10554   soname_spec='${libname}${release}${shared_ext}$major'
10555   ;;
10556
10557 aix[4-9]*)
10558   version_type=linux # correct to gnu/linux during the next big refactor
10559   need_lib_prefix=no
10560   need_version=no
10561   hardcode_into_libs=yes
10562   if test "$host_cpu" = ia64; then
10563     # AIX 5 supports IA64
10564     library_names_spec='${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext}$versuffix $libname${shared_ext}'
10565     shlibpath_var=LD_LIBRARY_PATH
10566   else
10567     # With GCC up to 2.95.x, collect2 would create an import file
10568     # for dependence libraries.  The import file would start with
10569     # the line `#! .'.  This would cause the generated library to
10570     # depend on `.', always an invalid library.  This was fixed in
10571     # development snapshots of GCC prior to 3.0.
10572     case $host_os in
10573       aix4 | aix4.[01] | aix4.[01].*)
10574       if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
10575            echo ' yes '
10576            echo '#endif'; } | ${CC} -E - | $GREP yes > /dev/null; then
10577         :
10578       else
10579         can_build_shared=no
10580       fi
10581       ;;
10582     esac
10583     # AIX (on Power*) has no versioning support, so currently we can not hardcode correct
10584     # soname into executable. Probably we can add versioning support to
10585     # collect2, so additional links can be useful in future.
10586     if test "$aix_use_runtimelinking" = yes; then
10587       # If using run time linking (on AIX 4.2 or later) use lib<name>.so
10588       # instead of lib<name>.a to let people know that these are not
10589       # typical AIX shared libraries.
10590       library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10591     else
10592       # We preserve .a as extension for shared libraries through AIX4.2
10593       # and later when we are not doing run time linking.
10594       library_names_spec='${libname}${release}.a $libname.a'
10595       soname_spec='${libname}${release}${shared_ext}$major'
10596     fi
10597     shlibpath_var=LIBPATH
10598   fi
10599   ;;
10600
10601 amigaos*)
10602   case $host_cpu in
10603   powerpc)
10604     # Since July 2007 AmigaOS4 officially supports .so libraries.
10605     # When compiling the executable, add -use-dynld -Lsobjs: to the compileline.
10606     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10607     ;;
10608   m68k)
10609     library_names_spec='$libname.ixlibrary $libname.a'
10610     # Create ${libname}_ixlibrary.a entries in /sys/libs.
10611     finish_eval='for lib in `ls $libdir/*.ixlibrary 2>/dev/null`; do libname=`func_echo_all "$lib" | $SED '\''s%^.*/\([^/]*\)\.ixlibrary$%\1%'\''`; test $RM /sys/libs/${libname}_ixlibrary.a; $show "cd /sys/libs && $LN_S $lib ${libname}_ixlibrary.a"; cd /sys/libs && $LN_S $lib ${libname}_ixlibrary.a || exit 1; done'
10612     ;;
10613   esac
10614   ;;
10615
10616 beos*)
10617   library_names_spec='${libname}${shared_ext}'
10618   dynamic_linker="$host_os ld.so"
10619   shlibpath_var=LIBRARY_PATH
10620   ;;
10621
10622 bsdi[45]*)
10623   version_type=linux # correct to gnu/linux during the next big refactor
10624   need_version=no
10625   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10626   soname_spec='${libname}${release}${shared_ext}$major'
10627   finish_cmds='PATH="\$PATH:/sbin" ldconfig $libdir'
10628   shlibpath_var=LD_LIBRARY_PATH
10629   sys_lib_search_path_spec="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
10630   sys_lib_dlsearch_path_spec="/shlib /usr/lib /usr/local/lib"
10631   # the default ld.so.conf also contains /usr/contrib/lib and
10632   # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
10633   # libtool to hard-code these into programs
10634   ;;
10635
10636 cygwin* | mingw* | pw32* | cegcc*)
10637   version_type=windows
10638   shrext_cmds=".dll"
10639   need_version=no
10640   need_lib_prefix=no
10641
10642   case $GCC,$cc_basename in
10643   yes,*)
10644     # gcc
10645     library_names_spec='$libname.dll.a'
10646     # DLL is installed to $(libdir)/../bin by postinstall_cmds
10647     postinstall_cmds='base_file=`basename \${file}`~
10648       dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i; echo \$dlname'\''`~
10649       dldir=$destdir/`dirname \$dlpath`~
10650       test -d \$dldir || mkdir -p \$dldir~
10651       $install_prog $dir/$dlname \$dldir/$dlname~
10652       chmod a+x \$dldir/$dlname~
10653       if test -n '\''$stripme'\'' && test -n '\''$striplib'\''; then
10654         eval '\''$striplib \$dldir/$dlname'\'' || exit \$?;
10655       fi'
10656     postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
10657       dlpath=$dir/\$dldll~
10658        $RM \$dlpath'
10659     shlibpath_overrides_runpath=yes
10660
10661     case $host_os in
10662     cygwin*)
10663       # Cygwin DLLs use 'cyg' prefix rather than 'lib'
10664       soname_spec='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
10665
10666       sys_lib_search_path_spec="$sys_lib_search_path_spec /usr/lib/w32api"
10667       ;;
10668     mingw* | cegcc*)
10669       # MinGW DLLs use traditional 'lib' prefix
10670       soname_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
10671       ;;
10672     pw32*)
10673       # pw32 DLLs use 'pw' prefix rather than 'lib'
10674       library_names_spec='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
10675       ;;
10676     esac
10677     dynamic_linker='Win32 ld.exe'
10678     ;;
10679
10680   *,cl*)
10681     # Native MSVC
10682     libname_spec='$name'
10683     soname_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
10684     library_names_spec='${libname}.dll.lib'
10685
10686     case $build_os in
10687     mingw*)
10688       sys_lib_search_path_spec=
10689       lt_save_ifs=$IFS
10690       IFS=';'
10691       for lt_path in $LIB
10692       do
10693         IFS=$lt_save_ifs
10694         # Let DOS variable expansion print the short 8.3 style file name.
10695         lt_path=`cd "$lt_path" 2>/dev/null && cmd //C "for %i in (".") do @echo %~si"`
10696         sys_lib_search_path_spec="$sys_lib_search_path_spec $lt_path"
10697       done
10698       IFS=$lt_save_ifs
10699       # Convert to MSYS style.
10700       sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | sed -e 's|\\\\|/|g' -e 's| \\([a-zA-Z]\\):| /\\1|g' -e 's|^ ||'`
10701       ;;
10702     cygwin*)
10703       # Convert to unix form, then to dos form, then back to unix form
10704       # but this time dos style (no spaces!) so that the unix form looks
10705       # like /cygdrive/c/PROGRA~1:/cygdr...
10706       sys_lib_search_path_spec=`cygpath --path --unix "$LIB"`
10707       sys_lib_search_path_spec=`cygpath --path --dos "$sys_lib_search_path_spec" 2>/dev/null`
10708       sys_lib_search_path_spec=`cygpath --path --unix "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
10709       ;;
10710     *)
10711       sys_lib_search_path_spec="$LIB"
10712       if $ECHO "$sys_lib_search_path_spec" | $GREP ';[c-zC-Z]:/' >/dev/null; then
10713         # It is most probably a Windows format PATH.
10714         sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
10715       else
10716         sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
10717       fi
10718       # FIXME: find the short name or the path components, as spaces are
10719       # common. (e.g. "Program Files" -> "PROGRA~1")
10720       ;;
10721     esac
10722
10723     # DLL is installed to $(libdir)/../bin by postinstall_cmds
10724     postinstall_cmds='base_file=`basename \${file}`~
10725       dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i; echo \$dlname'\''`~
10726       dldir=$destdir/`dirname \$dlpath`~
10727       test -d \$dldir || mkdir -p \$dldir~
10728       $install_prog $dir/$dlname \$dldir/$dlname'
10729     postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
10730       dlpath=$dir/\$dldll~
10731        $RM \$dlpath'
10732     shlibpath_overrides_runpath=yes
10733     dynamic_linker='Win32 link.exe'
10734     ;;
10735
10736   *)
10737     # Assume MSVC wrapper
10738     library_names_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext} $libname.lib'
10739     dynamic_linker='Win32 ld.exe'
10740     ;;
10741   esac
10742   # FIXME: first we should search . and the directory the executable is in
10743   shlibpath_var=PATH
10744   ;;
10745
10746 darwin* | rhapsody*)
10747   dynamic_linker="$host_os dyld"
10748   version_type=darwin
10749   need_lib_prefix=no
10750   need_version=no
10751   library_names_spec='${libname}${release}${major}$shared_ext ${libname}$shared_ext'
10752   soname_spec='${libname}${release}${major}$shared_ext'
10753   shlibpath_overrides_runpath=yes
10754   shlibpath_var=DYLD_LIBRARY_PATH
10755   shrext_cmds='`test .$module = .yes && echo .so || echo .dylib`'
10756
10757   sys_lib_search_path_spec="$sys_lib_search_path_spec /usr/local/lib"
10758   sys_lib_dlsearch_path_spec='/usr/local/lib /lib /usr/lib'
10759   ;;
10760
10761 dgux*)
10762   version_type=linux # correct to gnu/linux during the next big refactor
10763   need_lib_prefix=no
10764   need_version=no
10765   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname$shared_ext'
10766   soname_spec='${libname}${release}${shared_ext}$major'
10767   shlibpath_var=LD_LIBRARY_PATH
10768   ;;
10769
10770 freebsd* | dragonfly*)
10771   # DragonFly does not have aout.  When/if they implement a new
10772   # versioning mechanism, adjust this.
10773   if test -x /usr/bin/objformat; then
10774     objformat=`/usr/bin/objformat`
10775   else
10776     case $host_os in
10777     freebsd[23].*) objformat=aout ;;
10778     *) objformat=elf ;;
10779     esac
10780   fi
10781   version_type=freebsd-$objformat
10782   case $version_type in
10783     freebsd-elf*)
10784       library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
10785       need_version=no
10786       need_lib_prefix=no
10787       ;;
10788     freebsd-*)
10789       library_names_spec='${libname}${release}${shared_ext}$versuffix $libname${shared_ext}$versuffix'
10790       need_version=yes
10791       ;;
10792   esac
10793   shlibpath_var=LD_LIBRARY_PATH
10794   case $host_os in
10795   freebsd2.*)
10796     shlibpath_overrides_runpath=yes
10797     ;;
10798   freebsd3.[01]* | freebsdelf3.[01]*)
10799     shlibpath_overrides_runpath=yes
10800     hardcode_into_libs=yes
10801     ;;
10802   freebsd3.[2-9]* | freebsdelf3.[2-9]* | \
10803   freebsd4.[0-5] | freebsdelf4.[0-5] | freebsd4.1.1 | freebsdelf4.1.1)
10804     shlibpath_overrides_runpath=no
10805     hardcode_into_libs=yes
10806     ;;
10807   *) # from 4.6 on, and DragonFly
10808     shlibpath_overrides_runpath=yes
10809     hardcode_into_libs=yes
10810     ;;
10811   esac
10812   ;;
10813
10814 gnu*)
10815   version_type=linux # correct to gnu/linux during the next big refactor
10816   need_lib_prefix=no
10817   need_version=no
10818   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
10819   soname_spec='${libname}${release}${shared_ext}$major'
10820   shlibpath_var=LD_LIBRARY_PATH
10821   shlibpath_overrides_runpath=no
10822   hardcode_into_libs=yes
10823   ;;
10824
10825 haiku*)
10826   version_type=linux # correct to gnu/linux during the next big refactor
10827   need_lib_prefix=no
10828   need_version=no
10829   dynamic_linker="$host_os runtime_loader"
10830   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
10831   soname_spec='${libname}${release}${shared_ext}$major'
10832   shlibpath_var=LIBRARY_PATH
10833   shlibpath_overrides_runpath=yes
10834   sys_lib_dlsearch_path_spec='/boot/home/config/lib /boot/common/lib /boot/system/lib'
10835   hardcode_into_libs=yes
10836   ;;
10837
10838 hpux9* | hpux10* | hpux11*)
10839   # Give a soname corresponding to the major version so that dld.sl refuses to
10840   # link against other versions.
10841   version_type=sunos
10842   need_lib_prefix=no
10843   need_version=no
10844   case $host_cpu in
10845   ia64*)
10846     shrext_cmds='.so'
10847     hardcode_into_libs=yes
10848     dynamic_linker="$host_os dld.so"
10849     shlibpath_var=LD_LIBRARY_PATH
10850     shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
10851     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10852     soname_spec='${libname}${release}${shared_ext}$major'
10853     if test "X$HPUX_IA64_MODE" = X32; then
10854       sys_lib_search_path_spec="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
10855     else
10856       sys_lib_search_path_spec="/usr/lib/hpux64 /usr/local/lib/hpux64"
10857     fi
10858     sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
10859     ;;
10860   hppa*64*)
10861     shrext_cmds='.sl'
10862     hardcode_into_libs=yes
10863     dynamic_linker="$host_os dld.sl"
10864     shlibpath_var=LD_LIBRARY_PATH # How should we handle SHLIB_PATH
10865     shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
10866     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10867     soname_spec='${libname}${release}${shared_ext}$major'
10868     sys_lib_search_path_spec="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
10869     sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
10870     ;;
10871   *)
10872     shrext_cmds='.sl'
10873     dynamic_linker="$host_os dld.sl"
10874     shlibpath_var=SHLIB_PATH
10875     shlibpath_overrides_runpath=no # +s is required to enable SHLIB_PATH
10876     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10877     soname_spec='${libname}${release}${shared_ext}$major'
10878     ;;
10879   esac
10880   # HP-UX runs *really* slowly unless shared libraries are mode 555, ...
10881   postinstall_cmds='chmod 555 $lib'
10882   # or fails outright, so override atomically:
10883   install_override_mode=555
10884   ;;
10885
10886 interix[3-9]*)
10887   version_type=linux # correct to gnu/linux during the next big refactor
10888   need_lib_prefix=no
10889   need_version=no
10890   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
10891   soname_spec='${libname}${release}${shared_ext}$major'
10892   dynamic_linker='Interix 3.x ld.so.1 (PE, like ELF)'
10893   shlibpath_var=LD_LIBRARY_PATH
10894   shlibpath_overrides_runpath=no
10895   hardcode_into_libs=yes
10896   ;;
10897
10898 irix5* | irix6* | nonstopux*)
10899   case $host_os in
10900     nonstopux*) version_type=nonstopux ;;
10901     *)
10902         if test "$lt_cv_prog_gnu_ld" = yes; then
10903                 version_type=linux # correct to gnu/linux during the next big refactor
10904         else
10905                 version_type=irix
10906         fi ;;
10907   esac
10908   need_lib_prefix=no
10909   need_version=no
10910   soname_spec='${libname}${release}${shared_ext}$major'
10911   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} $libname${shared_ext}'
10912   case $host_os in
10913   irix5* | nonstopux*)
10914     libsuff= shlibsuff=
10915     ;;
10916   *)
10917     case $LD in # libtool.m4 will add one of these switches to LD
10918     *-32|*"-32 "|*-melf32bsmip|*"-melf32bsmip ")
10919       libsuff= shlibsuff= libmagic=32-bit;;
10920     *-n32|*"-n32 "|*-melf32bmipn32|*"-melf32bmipn32 ")
10921       libsuff=32 shlibsuff=N32 libmagic=N32;;
10922     *-64|*"-64 "|*-melf64bmip|*"-melf64bmip ")
10923       libsuff=64 shlibsuff=64 libmagic=64-bit;;
10924     *) libsuff= shlibsuff= libmagic=never-match;;
10925     esac
10926     ;;
10927   esac
10928   shlibpath_var=LD_LIBRARY${shlibsuff}_PATH
10929   shlibpath_overrides_runpath=no
10930   sys_lib_search_path_spec="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}"
10931   sys_lib_dlsearch_path_spec="/usr/lib${libsuff} /lib${libsuff}"
10932   hardcode_into_libs=yes
10933   ;;
10934
10935 # No shared lib support for Linux oldld, aout, or coff.
10936 linux*oldld* | linux*aout* | linux*coff*)
10937   dynamic_linker=no
10938   ;;
10939
10940 # This must be glibc/ELF.
10941 linux* | k*bsd*-gnu | kopensolaris*-gnu)
10942   version_type=linux # correct to gnu/linux during the next big refactor
10943   need_lib_prefix=no
10944   need_version=no
10945   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10946   soname_spec='${libname}${release}${shared_ext}$major'
10947   finish_cmds='PATH="\$PATH:/sbin" ldconfig -n $libdir'
10948   shlibpath_var=LD_LIBRARY_PATH
10949   shlibpath_overrides_runpath=no
10950
10951   # Some binutils ld are patched to set DT_RUNPATH
10952   if ${lt_cv_shlibpath_overrides_runpath+:} false; then :
10953   $as_echo_n "(cached) " >&6
10954 else
10955   lt_cv_shlibpath_overrides_runpath=no
10956     save_LDFLAGS=$LDFLAGS
10957     save_libdir=$libdir
10958     eval "libdir=/foo; wl=\"$lt_prog_compiler_wl\"; \
10959          LDFLAGS=\"\$LDFLAGS $hardcode_libdir_flag_spec\""
10960     cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10961 /* end confdefs.h.  */
10962
10963 int
10964 main ()
10965 {
10966
10967   ;
10968   return 0;
10969 }
10970 _ACEOF
10971 if ac_fn_c_try_link "$LINENO"; then :
10972   if  ($OBJDUMP -p conftest$ac_exeext) 2>/dev/null | grep "RUNPATH.*$libdir" >/dev/null; then :
10973   lt_cv_shlibpath_overrides_runpath=yes
10974 fi
10975 fi
10976 rm -f core conftest.err conftest.$ac_objext \
10977     conftest$ac_exeext conftest.$ac_ext
10978     LDFLAGS=$save_LDFLAGS
10979     libdir=$save_libdir
10980
10981 fi
10982
10983   shlibpath_overrides_runpath=$lt_cv_shlibpath_overrides_runpath
10984
10985   # This implies no fast_install, which is unacceptable.
10986   # Some rework will be needed to allow for fast_install
10987   # before this can be enabled.
10988   hardcode_into_libs=yes
10989
10990   # Add ABI-specific directories to the system library path.
10991   sys_lib_dlsearch_path_spec="/lib64 /usr/lib64 /lib /usr/lib"
10992
10993   # Append ld.so.conf contents to the search path
10994   if test -f /etc/ld.so.conf; then
10995     lt_ld_extra=`awk '/^include / { system(sprintf("cd /etc; cat %s 2>/dev/null", \$2)); skip = 1; } { if (!skip) print \$0; skip = 0; }' < /etc/ld.so.conf | $SED -e 's/#.*//;/^[       ]*hwcap[        ]/d;s/[:,      ]/ /g;s/=[^=]*$//;s/=[^= ]* / /g;s/"//g;/^$/d' | tr '\n' ' '`
10996     sys_lib_dlsearch_path_spec="$sys_lib_dlsearch_path_spec $lt_ld_extra"
10997
10998   fi
10999
11000   # We used to test for /lib/ld.so.1 and disable shared libraries on
11001   # powerpc, because MkLinux only supported shared libraries with the
11002   # GNU dynamic linker.  Since this was broken with cross compilers,
11003   # most powerpc-linux boxes support dynamic linking these days and
11004   # people can always --disable-shared, the test was removed, and we
11005   # assume the GNU/Linux dynamic linker is in use.
11006   dynamic_linker='GNU/Linux ld.so'
11007   ;;
11008
11009 netbsd*)
11010   version_type=sunos
11011   need_lib_prefix=no
11012   need_version=no
11013   if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
11014     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
11015     finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
11016     dynamic_linker='NetBSD (a.out) ld.so'
11017   else
11018     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
11019     soname_spec='${libname}${release}${shared_ext}$major'
11020     dynamic_linker='NetBSD ld.elf_so'
11021   fi
11022   shlibpath_var=LD_LIBRARY_PATH
11023   shlibpath_overrides_runpath=yes
11024   hardcode_into_libs=yes
11025   ;;
11026
11027 newsos6)
11028   version_type=linux # correct to gnu/linux during the next big refactor
11029   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11030   shlibpath_var=LD_LIBRARY_PATH
11031   shlibpath_overrides_runpath=yes
11032   ;;
11033
11034 *nto* | *qnx*)
11035   version_type=qnx
11036   need_lib_prefix=no
11037   need_version=no
11038   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11039   soname_spec='${libname}${release}${shared_ext}$major'
11040   shlibpath_var=LD_LIBRARY_PATH
11041   shlibpath_overrides_runpath=no
11042   hardcode_into_libs=yes
11043   dynamic_linker='ldqnx.so'
11044   ;;
11045
11046 openbsd*)
11047   version_type=sunos
11048   sys_lib_dlsearch_path_spec="/usr/lib"
11049   need_lib_prefix=no
11050   # Some older versions of OpenBSD (3.3 at least) *do* need versioned libs.
11051   case $host_os in
11052     openbsd3.3 | openbsd3.3.*)  need_version=yes ;;
11053     *)                          need_version=no  ;;
11054   esac
11055   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
11056   finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
11057   shlibpath_var=LD_LIBRARY_PATH
11058   if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
11059     case $host_os in
11060       openbsd2.[89] | openbsd2.[89].*)
11061         shlibpath_overrides_runpath=no
11062         ;;
11063       *)
11064         shlibpath_overrides_runpath=yes
11065         ;;
11066       esac
11067   else
11068     shlibpath_overrides_runpath=yes
11069   fi
11070   ;;
11071
11072 os2*)
11073   libname_spec='$name'
11074   shrext_cmds=".dll"
11075   need_lib_prefix=no
11076   library_names_spec='$libname${shared_ext} $libname.a'
11077   dynamic_linker='OS/2 ld.exe'
11078   shlibpath_var=LIBPATH
11079   ;;
11080
11081 osf3* | osf4* | osf5*)
11082   version_type=osf
11083   need_lib_prefix=no
11084   need_version=no
11085   soname_spec='${libname}${release}${shared_ext}$major'
11086   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11087   shlibpath_var=LD_LIBRARY_PATH
11088   sys_lib_search_path_spec="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
11089   sys_lib_dlsearch_path_spec="$sys_lib_search_path_spec"
11090   ;;
11091
11092 rdos*)
11093   dynamic_linker=no
11094   ;;
11095
11096 solaris*)
11097   version_type=linux # correct to gnu/linux during the next big refactor
11098   need_lib_prefix=no
11099   need_version=no
11100   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11101   soname_spec='${libname}${release}${shared_ext}$major'
11102   shlibpath_var=LD_LIBRARY_PATH
11103   shlibpath_overrides_runpath=yes
11104   hardcode_into_libs=yes
11105   # ldd complains unless libraries are executable
11106   postinstall_cmds='chmod +x $lib'
11107   ;;
11108
11109 sunos4*)
11110   version_type=sunos
11111   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
11112   finish_cmds='PATH="\$PATH:/usr/etc" ldconfig $libdir'
11113   shlibpath_var=LD_LIBRARY_PATH
11114   shlibpath_overrides_runpath=yes
11115   if test "$with_gnu_ld" = yes; then
11116     need_lib_prefix=no
11117   fi
11118   need_version=yes
11119   ;;
11120
11121 sysv4 | sysv4.3*)
11122   version_type=linux # correct to gnu/linux during the next big refactor
11123   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11124   soname_spec='${libname}${release}${shared_ext}$major'
11125   shlibpath_var=LD_LIBRARY_PATH
11126   case $host_vendor in
11127     sni)
11128       shlibpath_overrides_runpath=no
11129       need_lib_prefix=no
11130       runpath_var=LD_RUN_PATH
11131       ;;
11132     siemens)
11133       need_lib_prefix=no
11134       ;;
11135     motorola)
11136       need_lib_prefix=no
11137       need_version=no
11138       shlibpath_overrides_runpath=no
11139       sys_lib_search_path_spec='/lib /usr/lib /usr/ccs/lib'
11140       ;;
11141   esac
11142   ;;
11143
11144 sysv4*MP*)
11145   if test -d /usr/nec ;then
11146     version_type=linux # correct to gnu/linux during the next big refactor
11147     library_names_spec='$libname${shared_ext}.$versuffix $libname${shared_ext}.$major $libname${shared_ext}'
11148     soname_spec='$libname${shared_ext}.$major'
11149     shlibpath_var=LD_LIBRARY_PATH
11150   fi
11151   ;;
11152
11153 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
11154   version_type=freebsd-elf
11155   need_lib_prefix=no
11156   need_version=no
11157   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
11158   soname_spec='${libname}${release}${shared_ext}$major'
11159   shlibpath_var=LD_LIBRARY_PATH
11160   shlibpath_overrides_runpath=yes
11161   hardcode_into_libs=yes
11162   if test "$with_gnu_ld" = yes; then
11163     sys_lib_search_path_spec='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib'
11164   else
11165     sys_lib_search_path_spec='/usr/ccs/lib /usr/lib'
11166     case $host_os in
11167       sco3.2v5*)
11168         sys_lib_search_path_spec="$sys_lib_search_path_spec /lib"
11169         ;;
11170     esac
11171   fi
11172   sys_lib_dlsearch_path_spec='/usr/lib'
11173   ;;
11174
11175 tpf*)
11176   # TPF is a cross-target only.  Preferred cross-host = GNU/Linux.
11177   version_type=linux # correct to gnu/linux during the next big refactor
11178   need_lib_prefix=no
11179   need_version=no
11180   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11181   shlibpath_var=LD_LIBRARY_PATH
11182   shlibpath_overrides_runpath=no
11183   hardcode_into_libs=yes
11184   ;;
11185
11186 uts4*)
11187   version_type=linux # correct to gnu/linux during the next big refactor
11188   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11189   soname_spec='${libname}${release}${shared_ext}$major'
11190   shlibpath_var=LD_LIBRARY_PATH
11191   ;;
11192
11193 *)
11194   dynamic_linker=no
11195   ;;
11196 esac
11197 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $dynamic_linker" >&5
11198 $as_echo "$dynamic_linker" >&6; }
11199 test "$dynamic_linker" = no && can_build_shared=no
11200
11201 variables_saved_for_relink="PATH $shlibpath_var $runpath_var"
11202 if test "$GCC" = yes; then
11203   variables_saved_for_relink="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
11204 fi
11205
11206 if test "${lt_cv_sys_lib_search_path_spec+set}" = set; then
11207   sys_lib_search_path_spec="$lt_cv_sys_lib_search_path_spec"
11208 fi
11209 if test "${lt_cv_sys_lib_dlsearch_path_spec+set}" = set; then
11210   sys_lib_dlsearch_path_spec="$lt_cv_sys_lib_dlsearch_path_spec"
11211 fi
11212
11213
11214
11215
11216
11217
11218
11219
11220
11221
11222
11223
11224
11225
11226
11227
11228
11229
11230
11231
11232
11233
11234
11235
11236
11237
11238
11239
11240
11241
11242
11243
11244
11245
11246
11247
11248
11249
11250
11251
11252
11253
11254
11255
11256
11257
11258
11259
11260
11261
11262
11263
11264
11265
11266
11267
11268
11269
11270
11271
11272
11273
11274
11275
11276
11277
11278
11279
11280
11281
11282
11283
11284
11285
11286
11287
11288
11289
11290
11291
11292
11293
11294
11295
11296
11297
11298
11299
11300
11301
11302
11303
11304   { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to hardcode library paths into programs" >&5
11305 $as_echo_n "checking how to hardcode library paths into programs... " >&6; }
11306 hardcode_action=
11307 if test -n "$hardcode_libdir_flag_spec" ||
11308    test -n "$runpath_var" ||
11309    test "X$hardcode_automatic" = "Xyes" ; then
11310
11311   # We can hardcode non-existent directories.
11312   if test "$hardcode_direct" != no &&
11313      # If the only mechanism to avoid hardcoding is shlibpath_var, we
11314      # have to relink, otherwise we might link with an installed library
11315      # when we should be linking with a yet-to-be-installed one
11316      ## test "$_LT_TAGVAR(hardcode_shlibpath_var, )" != no &&
11317      test "$hardcode_minus_L" != no; then
11318     # Linking always hardcodes the temporary library directory.
11319     hardcode_action=relink
11320   else
11321     # We can link without hardcoding, and we can hardcode nonexisting dirs.
11322     hardcode_action=immediate
11323   fi
11324 else
11325   # We cannot hardcode anything, or else we can only hardcode existing
11326   # directories.
11327   hardcode_action=unsupported
11328 fi
11329 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hardcode_action" >&5
11330 $as_echo "$hardcode_action" >&6; }
11331
11332 if test "$hardcode_action" = relink ||
11333    test "$inherit_rpath" = yes; then
11334   # Fast installation is not supported
11335   enable_fast_install=no
11336 elif test "$shlibpath_overrides_runpath" = yes ||
11337      test "$enable_shared" = no; then
11338   # Fast installation is not necessary
11339   enable_fast_install=needless
11340 fi
11341
11342
11343
11344
11345
11346
11347   if test "x$enable_dlopen" != xyes; then
11348   enable_dlopen=unknown
11349   enable_dlopen_self=unknown
11350   enable_dlopen_self_static=unknown
11351 else
11352   lt_cv_dlopen=no
11353   lt_cv_dlopen_libs=
11354
11355   case $host_os in
11356   beos*)
11357     lt_cv_dlopen="load_add_on"
11358     lt_cv_dlopen_libs=
11359     lt_cv_dlopen_self=yes
11360     ;;
11361
11362   mingw* | pw32* | cegcc*)
11363     lt_cv_dlopen="LoadLibrary"
11364     lt_cv_dlopen_libs=
11365     ;;
11366
11367   cygwin*)
11368     lt_cv_dlopen="dlopen"
11369     lt_cv_dlopen_libs=
11370     ;;
11371
11372   darwin*)
11373   # if libdl is installed we need to link against it
11374     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
11375 $as_echo_n "checking for dlopen in -ldl... " >&6; }
11376 if ${ac_cv_lib_dl_dlopen+:} false; then :
11377   $as_echo_n "(cached) " >&6
11378 else
11379   ac_check_lib_save_LIBS=$LIBS
11380 LIBS="-ldl  $LIBS"
11381 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11382 /* end confdefs.h.  */
11383
11384 /* Override any GCC internal prototype to avoid an error.
11385    Use char because int might match the return type of a GCC
11386    builtin and then its argument prototype would still apply.  */
11387 #ifdef __cplusplus
11388 extern "C"
11389 #endif
11390 char dlopen ();
11391 int
11392 main ()
11393 {
11394 return dlopen ();
11395   ;
11396   return 0;
11397 }
11398 _ACEOF
11399 if ac_fn_c_try_link "$LINENO"; then :
11400   ac_cv_lib_dl_dlopen=yes
11401 else
11402   ac_cv_lib_dl_dlopen=no
11403 fi
11404 rm -f core conftest.err conftest.$ac_objext \
11405     conftest$ac_exeext conftest.$ac_ext
11406 LIBS=$ac_check_lib_save_LIBS
11407 fi
11408 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
11409 $as_echo "$ac_cv_lib_dl_dlopen" >&6; }
11410 if test "x$ac_cv_lib_dl_dlopen" = xyes; then :
11411   lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl"
11412 else
11413
11414     lt_cv_dlopen="dyld"
11415     lt_cv_dlopen_libs=
11416     lt_cv_dlopen_self=yes
11417
11418 fi
11419
11420     ;;
11421
11422   *)
11423     ac_fn_c_check_func "$LINENO" "shl_load" "ac_cv_func_shl_load"
11424 if test "x$ac_cv_func_shl_load" = xyes; then :
11425   lt_cv_dlopen="shl_load"
11426 else
11427   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for shl_load in -ldld" >&5
11428 $as_echo_n "checking for shl_load in -ldld... " >&6; }
11429 if ${ac_cv_lib_dld_shl_load+:} false; then :
11430   $as_echo_n "(cached) " >&6
11431 else
11432   ac_check_lib_save_LIBS=$LIBS
11433 LIBS="-ldld  $LIBS"
11434 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11435 /* end confdefs.h.  */
11436
11437 /* Override any GCC internal prototype to avoid an error.
11438    Use char because int might match the return type of a GCC
11439    builtin and then its argument prototype would still apply.  */
11440 #ifdef __cplusplus
11441 extern "C"
11442 #endif
11443 char shl_load ();
11444 int
11445 main ()
11446 {
11447 return shl_load ();
11448   ;
11449   return 0;
11450 }
11451 _ACEOF
11452 if ac_fn_c_try_link "$LINENO"; then :
11453   ac_cv_lib_dld_shl_load=yes
11454 else
11455   ac_cv_lib_dld_shl_load=no
11456 fi
11457 rm -f core conftest.err conftest.$ac_objext \
11458     conftest$ac_exeext conftest.$ac_ext
11459 LIBS=$ac_check_lib_save_LIBS
11460 fi
11461 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_shl_load" >&5
11462 $as_echo "$ac_cv_lib_dld_shl_load" >&6; }
11463 if test "x$ac_cv_lib_dld_shl_load" = xyes; then :
11464   lt_cv_dlopen="shl_load" lt_cv_dlopen_libs="-ldld"
11465 else
11466   ac_fn_c_check_func "$LINENO" "dlopen" "ac_cv_func_dlopen"
11467 if test "x$ac_cv_func_dlopen" = xyes; then :
11468   lt_cv_dlopen="dlopen"
11469 else
11470   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
11471 $as_echo_n "checking for dlopen in -ldl... " >&6; }
11472 if ${ac_cv_lib_dl_dlopen+:} false; then :
11473   $as_echo_n "(cached) " >&6
11474 else
11475   ac_check_lib_save_LIBS=$LIBS
11476 LIBS="-ldl  $LIBS"
11477 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11478 /* end confdefs.h.  */
11479
11480 /* Override any GCC internal prototype to avoid an error.
11481    Use char because int might match the return type of a GCC
11482    builtin and then its argument prototype would still apply.  */
11483 #ifdef __cplusplus
11484 extern "C"
11485 #endif
11486 char dlopen ();
11487 int
11488 main ()
11489 {
11490 return dlopen ();
11491   ;
11492   return 0;
11493 }
11494 _ACEOF
11495 if ac_fn_c_try_link "$LINENO"; then :
11496   ac_cv_lib_dl_dlopen=yes
11497 else
11498   ac_cv_lib_dl_dlopen=no
11499 fi
11500 rm -f core conftest.err conftest.$ac_objext \
11501     conftest$ac_exeext conftest.$ac_ext
11502 LIBS=$ac_check_lib_save_LIBS
11503 fi
11504 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
11505 $as_echo "$ac_cv_lib_dl_dlopen" >&6; }
11506 if test "x$ac_cv_lib_dl_dlopen" = xyes; then :
11507   lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl"
11508 else
11509   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -lsvld" >&5
11510 $as_echo_n "checking for dlopen in -lsvld... " >&6; }
11511 if ${ac_cv_lib_svld_dlopen+:} false; then :
11512   $as_echo_n "(cached) " >&6
11513 else
11514   ac_check_lib_save_LIBS=$LIBS
11515 LIBS="-lsvld  $LIBS"
11516 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11517 /* end confdefs.h.  */
11518
11519 /* Override any GCC internal prototype to avoid an error.
11520    Use char because int might match the return type of a GCC
11521    builtin and then its argument prototype would still apply.  */
11522 #ifdef __cplusplus
11523 extern "C"
11524 #endif
11525 char dlopen ();
11526 int
11527 main ()
11528 {
11529 return dlopen ();
11530   ;
11531   return 0;
11532 }
11533 _ACEOF
11534 if ac_fn_c_try_link "$LINENO"; then :
11535   ac_cv_lib_svld_dlopen=yes
11536 else
11537   ac_cv_lib_svld_dlopen=no
11538 fi
11539 rm -f core conftest.err conftest.$ac_objext \
11540     conftest$ac_exeext conftest.$ac_ext
11541 LIBS=$ac_check_lib_save_LIBS
11542 fi
11543 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_svld_dlopen" >&5
11544 $as_echo "$ac_cv_lib_svld_dlopen" >&6; }
11545 if test "x$ac_cv_lib_svld_dlopen" = xyes; then :
11546   lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-lsvld"
11547 else
11548   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dld_link in -ldld" >&5
11549 $as_echo_n "checking for dld_link in -ldld... " >&6; }
11550 if ${ac_cv_lib_dld_dld_link+:} false; then :
11551   $as_echo_n "(cached) " >&6
11552 else
11553   ac_check_lib_save_LIBS=$LIBS
11554 LIBS="-ldld  $LIBS"
11555 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11556 /* end confdefs.h.  */
11557
11558 /* Override any GCC internal prototype to avoid an error.
11559    Use char because int might match the return type of a GCC
11560    builtin and then its argument prototype would still apply.  */
11561 #ifdef __cplusplus
11562 extern "C"
11563 #endif
11564 char dld_link ();
11565 int
11566 main ()
11567 {
11568 return dld_link ();
11569   ;
11570   return 0;
11571 }
11572 _ACEOF
11573 if ac_fn_c_try_link "$LINENO"; then :
11574   ac_cv_lib_dld_dld_link=yes
11575 else
11576   ac_cv_lib_dld_dld_link=no
11577 fi
11578 rm -f core conftest.err conftest.$ac_objext \
11579     conftest$ac_exeext conftest.$ac_ext
11580 LIBS=$ac_check_lib_save_LIBS
11581 fi
11582 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_dld_link" >&5
11583 $as_echo "$ac_cv_lib_dld_dld_link" >&6; }
11584 if test "x$ac_cv_lib_dld_dld_link" = xyes; then :
11585   lt_cv_dlopen="dld_link" lt_cv_dlopen_libs="-ldld"
11586 fi
11587
11588
11589 fi
11590
11591
11592 fi
11593
11594
11595 fi
11596
11597
11598 fi
11599
11600
11601 fi
11602
11603     ;;
11604   esac
11605
11606   if test "x$lt_cv_dlopen" != xno; then
11607     enable_dlopen=yes
11608   else
11609     enable_dlopen=no
11610   fi
11611
11612   case $lt_cv_dlopen in
11613   dlopen)
11614     save_CPPFLAGS="$CPPFLAGS"
11615     test "x$ac_cv_header_dlfcn_h" = xyes && CPPFLAGS="$CPPFLAGS -DHAVE_DLFCN_H"
11616
11617     save_LDFLAGS="$LDFLAGS"
11618     wl=$lt_prog_compiler_wl eval LDFLAGS=\"\$LDFLAGS $export_dynamic_flag_spec\"
11619
11620     save_LIBS="$LIBS"
11621     LIBS="$lt_cv_dlopen_libs $LIBS"
11622
11623     { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether a program can dlopen itself" >&5
11624 $as_echo_n "checking whether a program can dlopen itself... " >&6; }
11625 if ${lt_cv_dlopen_self+:} false; then :
11626   $as_echo_n "(cached) " >&6
11627 else
11628           if test "$cross_compiling" = yes; then :
11629   lt_cv_dlopen_self=cross
11630 else
11631   lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
11632   lt_status=$lt_dlunknown
11633   cat > conftest.$ac_ext <<_LT_EOF
11634 #line $LINENO "configure"
11635 #include "confdefs.h"
11636
11637 #if HAVE_DLFCN_H
11638 #include <dlfcn.h>
11639 #endif
11640
11641 #include <stdio.h>
11642
11643 #ifdef RTLD_GLOBAL
11644 #  define LT_DLGLOBAL           RTLD_GLOBAL
11645 #else
11646 #  ifdef DL_GLOBAL
11647 #    define LT_DLGLOBAL         DL_GLOBAL
11648 #  else
11649 #    define LT_DLGLOBAL         0
11650 #  endif
11651 #endif
11652
11653 /* We may have to define LT_DLLAZY_OR_NOW in the command line if we
11654    find out it does not work in some platform. */
11655 #ifndef LT_DLLAZY_OR_NOW
11656 #  ifdef RTLD_LAZY
11657 #    define LT_DLLAZY_OR_NOW            RTLD_LAZY
11658 #  else
11659 #    ifdef DL_LAZY
11660 #      define LT_DLLAZY_OR_NOW          DL_LAZY
11661 #    else
11662 #      ifdef RTLD_NOW
11663 #        define LT_DLLAZY_OR_NOW        RTLD_NOW
11664 #      else
11665 #        ifdef DL_NOW
11666 #          define LT_DLLAZY_OR_NOW      DL_NOW
11667 #        else
11668 #          define LT_DLLAZY_OR_NOW      0
11669 #        endif
11670 #      endif
11671 #    endif
11672 #  endif
11673 #endif
11674
11675 /* When -fvisbility=hidden is used, assume the code has been annotated
11676    correspondingly for the symbols needed.  */
11677 #if defined(__GNUC__) && (((__GNUC__ == 3) && (__GNUC_MINOR__ >= 3)) || (__GNUC__ > 3))
11678 int fnord () __attribute__((visibility("default")));
11679 #endif
11680
11681 int fnord () { return 42; }
11682 int main ()
11683 {
11684   void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
11685   int status = $lt_dlunknown;
11686
11687   if (self)
11688     {
11689       if (dlsym (self,"fnord"))       status = $lt_dlno_uscore;
11690       else
11691         {
11692           if (dlsym( self,"_fnord"))  status = $lt_dlneed_uscore;
11693           else puts (dlerror ());
11694         }
11695       /* dlclose (self); */
11696     }
11697   else
11698     puts (dlerror ());
11699
11700   return status;
11701 }
11702 _LT_EOF
11703   if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
11704   (eval $ac_link) 2>&5
11705   ac_status=$?
11706   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
11707   test $ac_status = 0; } && test -s conftest${ac_exeext} 2>/dev/null; then
11708     (./conftest; exit; ) >&5 2>/dev/null
11709     lt_status=$?
11710     case x$lt_status in
11711       x$lt_dlno_uscore) lt_cv_dlopen_self=yes ;;
11712       x$lt_dlneed_uscore) lt_cv_dlopen_self=yes ;;
11713       x$lt_dlunknown|x*) lt_cv_dlopen_self=no ;;
11714     esac
11715   else :
11716     # compilation failed
11717     lt_cv_dlopen_self=no
11718   fi
11719 fi
11720 rm -fr conftest*
11721
11722
11723 fi
11724 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_dlopen_self" >&5
11725 $as_echo "$lt_cv_dlopen_self" >&6; }
11726
11727     if test "x$lt_cv_dlopen_self" = xyes; then
11728       wl=$lt_prog_compiler_wl eval LDFLAGS=\"\$LDFLAGS $lt_prog_compiler_static\"
11729       { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether a statically linked program can dlopen itself" >&5
11730 $as_echo_n "checking whether a statically linked program can dlopen itself... " >&6; }
11731 if ${lt_cv_dlopen_self_static+:} false; then :
11732   $as_echo_n "(cached) " >&6
11733 else
11734           if test "$cross_compiling" = yes; then :
11735   lt_cv_dlopen_self_static=cross
11736 else
11737   lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
11738   lt_status=$lt_dlunknown
11739   cat > conftest.$ac_ext <<_LT_EOF
11740 #line $LINENO "configure"
11741 #include "confdefs.h"
11742
11743 #if HAVE_DLFCN_H
11744 #include <dlfcn.h>
11745 #endif
11746
11747 #include <stdio.h>
11748
11749 #ifdef RTLD_GLOBAL
11750 #  define LT_DLGLOBAL           RTLD_GLOBAL
11751 #else
11752 #  ifdef DL_GLOBAL
11753 #    define LT_DLGLOBAL         DL_GLOBAL
11754 #  else
11755 #    define LT_DLGLOBAL         0
11756 #  endif
11757 #endif
11758
11759 /* We may have to define LT_DLLAZY_OR_NOW in the command line if we
11760    find out it does not work in some platform. */
11761 #ifndef LT_DLLAZY_OR_NOW
11762 #  ifdef RTLD_LAZY
11763 #    define LT_DLLAZY_OR_NOW            RTLD_LAZY
11764 #  else
11765 #    ifdef DL_LAZY
11766 #      define LT_DLLAZY_OR_NOW          DL_LAZY
11767 #    else
11768 #      ifdef RTLD_NOW
11769 #        define LT_DLLAZY_OR_NOW        RTLD_NOW
11770 #      else
11771 #        ifdef DL_NOW
11772 #          define LT_DLLAZY_OR_NOW      DL_NOW
11773 #        else
11774 #          define LT_DLLAZY_OR_NOW      0
11775 #        endif
11776 #      endif
11777 #    endif
11778 #  endif
11779 #endif
11780
11781 /* When -fvisbility=hidden is used, assume the code has been annotated
11782    correspondingly for the symbols needed.  */
11783 #if defined(__GNUC__) && (((__GNUC__ == 3) && (__GNUC_MINOR__ >= 3)) || (__GNUC__ > 3))
11784 int fnord () __attribute__((visibility("default")));
11785 #endif
11786
11787 int fnord () { return 42; }
11788 int main ()
11789 {
11790   void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
11791   int status = $lt_dlunknown;
11792
11793   if (self)
11794     {
11795       if (dlsym (self,"fnord"))       status = $lt_dlno_uscore;
11796       else
11797         {
11798           if (dlsym( self,"_fnord"))  status = $lt_dlneed_uscore;
11799           else puts (dlerror ());
11800         }
11801       /* dlclose (self); */
11802     }
11803   else
11804     puts (dlerror ());
11805
11806   return status;
11807 }
11808 _LT_EOF
11809   if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
11810   (eval $ac_link) 2>&5
11811   ac_status=$?
11812   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
11813   test $ac_status = 0; } && test -s conftest${ac_exeext} 2>/dev/null; then
11814     (./conftest; exit; ) >&5 2>/dev/null
11815     lt_status=$?
11816     case x$lt_status in
11817       x$lt_dlno_uscore) lt_cv_dlopen_self_static=yes ;;
11818       x$lt_dlneed_uscore) lt_cv_dlopen_self_static=yes ;;
11819       x$lt_dlunknown|x*) lt_cv_dlopen_self_static=no ;;
11820     esac
11821   else :
11822     # compilation failed
11823     lt_cv_dlopen_self_static=no
11824   fi
11825 fi
11826 rm -fr conftest*
11827
11828
11829 fi
11830 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_dlopen_self_static" >&5
11831 $as_echo "$lt_cv_dlopen_self_static" >&6; }
11832     fi
11833
11834     CPPFLAGS="$save_CPPFLAGS"
11835     LDFLAGS="$save_LDFLAGS"
11836     LIBS="$save_LIBS"
11837     ;;
11838   esac
11839
11840   case $lt_cv_dlopen_self in
11841   yes|no) enable_dlopen_self=$lt_cv_dlopen_self ;;
11842   *) enable_dlopen_self=unknown ;;
11843   esac
11844
11845   case $lt_cv_dlopen_self_static in
11846   yes|no) enable_dlopen_self_static=$lt_cv_dlopen_self_static ;;
11847   *) enable_dlopen_self_static=unknown ;;
11848   esac
11849 fi
11850
11851
11852
11853
11854
11855
11856
11857
11858
11859
11860
11861
11862
11863
11864
11865
11866
11867 striplib=
11868 old_striplib=
11869 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether stripping libraries is possible" >&5
11870 $as_echo_n "checking whether stripping libraries is possible... " >&6; }
11871 if test -n "$STRIP" && $STRIP -V 2>&1 | $GREP "GNU strip" >/dev/null; then
11872   test -z "$old_striplib" && old_striplib="$STRIP --strip-debug"
11873   test -z "$striplib" && striplib="$STRIP --strip-unneeded"
11874   { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
11875 $as_echo "yes" >&6; }
11876 else
11877 # FIXME - insert some real tests, host_os isn't really good enough
11878   case $host_os in
11879   darwin*)
11880     if test -n "$STRIP" ; then
11881       striplib="$STRIP -x"
11882       old_striplib="$STRIP -S"
11883       { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
11884 $as_echo "yes" >&6; }
11885     else
11886       { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11887 $as_echo "no" >&6; }
11888     fi
11889     ;;
11890   *)
11891     { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11892 $as_echo "no" >&6; }
11893     ;;
11894   esac
11895 fi
11896
11897
11898
11899
11900
11901
11902
11903
11904
11905
11906
11907
11908   # Report which library types will actually be built
11909   { $as_echo "$as_me:${as_lineno-$LINENO}: checking if libtool supports shared libraries" >&5
11910 $as_echo_n "checking if libtool supports shared libraries... " >&6; }
11911   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $can_build_shared" >&5
11912 $as_echo "$can_build_shared" >&6; }
11913
11914   { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build shared libraries" >&5
11915 $as_echo_n "checking whether to build shared libraries... " >&6; }
11916   test "$can_build_shared" = "no" && enable_shared=no
11917
11918   # On AIX, shared libraries and static libraries use the same namespace, and
11919   # are all built from PIC.
11920   case $host_os in
11921   aix3*)
11922     test "$enable_shared" = yes && enable_static=no
11923     if test -n "$RANLIB"; then
11924       archive_cmds="$archive_cmds~\$RANLIB \$lib"
11925       postinstall_cmds='$RANLIB $lib'
11926     fi
11927     ;;
11928
11929   aix[4-9]*)
11930     if test "$host_cpu" != ia64 && test "$aix_use_runtimelinking" = no ; then
11931       test "$enable_shared" = yes && enable_static=no
11932     fi
11933     ;;
11934   esac
11935   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_shared" >&5
11936 $as_echo "$enable_shared" >&6; }
11937
11938   { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build static libraries" >&5
11939 $as_echo_n "checking whether to build static libraries... " >&6; }
11940   # Make sure either enable_shared or enable_static is yes.
11941   test "$enable_shared" = yes || enable_static=yes
11942   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_static" >&5
11943 $as_echo "$enable_static" >&6; }
11944
11945
11946
11947
11948 fi
11949 ac_ext=c
11950 ac_cpp='$CPP $CPPFLAGS'
11951 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
11952 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
11953 ac_compiler_gnu=$ac_cv_c_compiler_gnu
11954
11955 CC="$lt_save_CC"
11956
11957
11958
11959
11960
11961
11962
11963
11964
11965
11966
11967
11968
11969
11970
11971         ac_config_commands="$ac_config_commands libtool"
11972
11973
11974
11975
11976 # Only expand once:
11977
11978
11979
11980
11981
11982
11983
11984
11985
11986
11987 if test "x$ac_cv_env_PKG_CONFIG_set" != "xset"; then
11988         if test -n "$ac_tool_prefix"; then
11989   # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
11990 set dummy ${ac_tool_prefix}pkg-config; ac_word=$2
11991 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
11992 $as_echo_n "checking for $ac_word... " >&6; }
11993 if ${ac_cv_path_PKG_CONFIG+:} false; then :
11994   $as_echo_n "(cached) " >&6
11995 else
11996   case $PKG_CONFIG in
11997   [\\/]* | ?:[\\/]*)
11998   ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path.
11999   ;;
12000   *)
12001   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12002 for as_dir in $PATH
12003 do
12004   IFS=$as_save_IFS
12005   test -z "$as_dir" && as_dir=.
12006     for ac_exec_ext in '' $ac_executable_extensions; do
12007   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
12008     ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
12009     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
12010     break 2
12011   fi
12012 done
12013   done
12014 IFS=$as_save_IFS
12015
12016   ;;
12017 esac
12018 fi
12019 PKG_CONFIG=$ac_cv_path_PKG_CONFIG
12020 if test -n "$PKG_CONFIG"; then
12021   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PKG_CONFIG" >&5
12022 $as_echo "$PKG_CONFIG" >&6; }
12023 else
12024   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12025 $as_echo "no" >&6; }
12026 fi
12027
12028
12029 fi
12030 if test -z "$ac_cv_path_PKG_CONFIG"; then
12031   ac_pt_PKG_CONFIG=$PKG_CONFIG
12032   # Extract the first word of "pkg-config", so it can be a program name with args.
12033 set dummy pkg-config; ac_word=$2
12034 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
12035 $as_echo_n "checking for $ac_word... " >&6; }
12036 if ${ac_cv_path_ac_pt_PKG_CONFIG+:} false; then :
12037   $as_echo_n "(cached) " >&6
12038 else
12039   case $ac_pt_PKG_CONFIG in
12040   [\\/]* | ?:[\\/]*)
12041   ac_cv_path_ac_pt_PKG_CONFIG="$ac_pt_PKG_CONFIG" # Let the user override the test with a path.
12042   ;;
12043   *)
12044   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12045 for as_dir in $PATH
12046 do
12047   IFS=$as_save_IFS
12048   test -z "$as_dir" && as_dir=.
12049     for ac_exec_ext in '' $ac_executable_extensions; do
12050   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
12051     ac_cv_path_ac_pt_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
12052     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
12053     break 2
12054   fi
12055 done
12056   done
12057 IFS=$as_save_IFS
12058
12059   ;;
12060 esac
12061 fi
12062 ac_pt_PKG_CONFIG=$ac_cv_path_ac_pt_PKG_CONFIG
12063 if test -n "$ac_pt_PKG_CONFIG"; then
12064   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_pt_PKG_CONFIG" >&5
12065 $as_echo "$ac_pt_PKG_CONFIG" >&6; }
12066 else
12067   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12068 $as_echo "no" >&6; }
12069 fi
12070
12071   if test "x$ac_pt_PKG_CONFIG" = x; then
12072     PKG_CONFIG=""
12073   else
12074     case $cross_compiling:$ac_tool_warned in
12075 yes:)
12076 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
12077 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
12078 ac_tool_warned=yes ;;
12079 esac
12080     PKG_CONFIG=$ac_pt_PKG_CONFIG
12081   fi
12082 else
12083   PKG_CONFIG="$ac_cv_path_PKG_CONFIG"
12084 fi
12085
12086 fi
12087 if test -n "$PKG_CONFIG"; then
12088         _pkg_min_version=0.9.0
12089         { $as_echo "$as_me:${as_lineno-$LINENO}: checking pkg-config is at least version $_pkg_min_version" >&5
12090 $as_echo_n "checking pkg-config is at least version $_pkg_min_version... " >&6; }
12091         if $PKG_CONFIG --atleast-pkgconfig-version $_pkg_min_version; then
12092                 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
12093 $as_echo "yes" >&6; }
12094         else
12095                 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12096 $as_echo "no" >&6; }
12097                 PKG_CONFIG=""
12098         fi
12099 fi
12100
12101 for ac_prog in flex lex
12102 do
12103   # Extract the first word of "$ac_prog", so it can be a program name with args.
12104 set dummy $ac_prog; ac_word=$2
12105 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
12106 $as_echo_n "checking for $ac_word... " >&6; }
12107 if ${ac_cv_prog_LEX+:} false; then :
12108   $as_echo_n "(cached) " >&6
12109 else
12110   if test -n "$LEX"; then
12111   ac_cv_prog_LEX="$LEX" # Let the user override the test.
12112 else
12113 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12114 for as_dir in $PATH
12115 do
12116   IFS=$as_save_IFS
12117   test -z "$as_dir" && as_dir=.
12118     for ac_exec_ext in '' $ac_executable_extensions; do
12119   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
12120     ac_cv_prog_LEX="$ac_prog"
12121     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
12122     break 2
12123   fi
12124 done
12125   done
12126 IFS=$as_save_IFS
12127
12128 fi
12129 fi
12130 LEX=$ac_cv_prog_LEX
12131 if test -n "$LEX"; then
12132   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LEX" >&5
12133 $as_echo "$LEX" >&6; }
12134 else
12135   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12136 $as_echo "no" >&6; }
12137 fi
12138
12139
12140   test -n "$LEX" && break
12141 done
12142 test -n "$LEX" || LEX=":"
12143
12144 if test "x$LEX" != "x:"; then
12145   cat >conftest.l <<_ACEOF
12146 %%
12147 a { ECHO; }
12148 b { REJECT; }
12149 c { yymore (); }
12150 d { yyless (1); }
12151 e { /* IRIX 6.5 flex 2.5.4 underquotes its yyless argument.  */
12152     yyless ((input () != 0)); }
12153 f { unput (yytext[0]); }
12154 . { BEGIN INITIAL; }
12155 %%
12156 #ifdef YYTEXT_POINTER
12157 extern char *yytext;
12158 #endif
12159 int
12160 main (void)
12161 {
12162   return ! yylex () + ! yywrap ();
12163 }
12164 _ACEOF
12165 { { ac_try="$LEX conftest.l"
12166 case "(($ac_try" in
12167   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
12168   *) ac_try_echo=$ac_try;;
12169 esac
12170 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
12171 $as_echo "$ac_try_echo"; } >&5
12172   (eval "$LEX conftest.l") 2>&5
12173   ac_status=$?
12174   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
12175   test $ac_status = 0; }
12176 { $as_echo "$as_me:${as_lineno-$LINENO}: checking lex output file root" >&5
12177 $as_echo_n "checking lex output file root... " >&6; }
12178 if ${ac_cv_prog_lex_root+:} false; then :
12179   $as_echo_n "(cached) " >&6
12180 else
12181
12182 if test -f lex.yy.c; then
12183   ac_cv_prog_lex_root=lex.yy
12184 elif test -f lexyy.c; then
12185   ac_cv_prog_lex_root=lexyy
12186 else
12187   as_fn_error $? "cannot find output from $LEX; giving up" "$LINENO" 5
12188 fi
12189 fi
12190 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_lex_root" >&5
12191 $as_echo "$ac_cv_prog_lex_root" >&6; }
12192 LEX_OUTPUT_ROOT=$ac_cv_prog_lex_root
12193
12194 if test -z "${LEXLIB+set}"; then
12195   { $as_echo "$as_me:${as_lineno-$LINENO}: checking lex library" >&5
12196 $as_echo_n "checking lex library... " >&6; }
12197 if ${ac_cv_lib_lex+:} false; then :
12198   $as_echo_n "(cached) " >&6
12199 else
12200
12201     ac_save_LIBS=$LIBS
12202     ac_cv_lib_lex='none needed'
12203     for ac_lib in '' -lfl -ll; do
12204       LIBS="$ac_lib $ac_save_LIBS"
12205       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12206 /* end confdefs.h.  */
12207 `cat $LEX_OUTPUT_ROOT.c`
12208 _ACEOF
12209 if ac_fn_c_try_link "$LINENO"; then :
12210   ac_cv_lib_lex=$ac_lib
12211 fi
12212 rm -f core conftest.err conftest.$ac_objext \
12213     conftest$ac_exeext conftest.$ac_ext
12214       test "$ac_cv_lib_lex" != 'none needed' && break
12215     done
12216     LIBS=$ac_save_LIBS
12217
12218 fi
12219 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_lex" >&5
12220 $as_echo "$ac_cv_lib_lex" >&6; }
12221   test "$ac_cv_lib_lex" != 'none needed' && LEXLIB=$ac_cv_lib_lex
12222 fi
12223
12224
12225 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether yytext is a pointer" >&5
12226 $as_echo_n "checking whether yytext is a pointer... " >&6; }
12227 if ${ac_cv_prog_lex_yytext_pointer+:} false; then :
12228   $as_echo_n "(cached) " >&6
12229 else
12230   # POSIX says lex can declare yytext either as a pointer or an array; the
12231 # default is implementation-dependent.  Figure out which it is, since
12232 # not all implementations provide the %pointer and %array declarations.
12233 ac_cv_prog_lex_yytext_pointer=no
12234 ac_save_LIBS=$LIBS
12235 LIBS="$LEXLIB $ac_save_LIBS"
12236 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12237 /* end confdefs.h.  */
12238
12239   #define YYTEXT_POINTER 1
12240 `cat $LEX_OUTPUT_ROOT.c`
12241 _ACEOF
12242 if ac_fn_c_try_link "$LINENO"; then :
12243   ac_cv_prog_lex_yytext_pointer=yes
12244 fi
12245 rm -f core conftest.err conftest.$ac_objext \
12246     conftest$ac_exeext conftest.$ac_ext
12247 LIBS=$ac_save_LIBS
12248
12249 fi
12250 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_lex_yytext_pointer" >&5
12251 $as_echo "$ac_cv_prog_lex_yytext_pointer" >&6; }
12252 if test $ac_cv_prog_lex_yytext_pointer = yes; then
12253
12254 $as_echo "#define YYTEXT_POINTER 1" >>confdefs.h
12255
12256 fi
12257 rm -f conftest.l $LEX_OUTPUT_ROOT.c
12258
12259 fi
12260 if test "$LEX" = :; then
12261         as_fn_error $? "flex not found but required" "$LINENO" 5
12262 fi
12263
12264 for ac_prog in 'bison -y'
12265 do
12266   # Extract the first word of "$ac_prog", so it can be a program name with args.
12267 set dummy $ac_prog; ac_word=$2
12268 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
12269 $as_echo_n "checking for $ac_word... " >&6; }
12270 if ${ac_cv_prog_YACC+:} false; then :
12271   $as_echo_n "(cached) " >&6
12272 else
12273   if test -n "$YACC"; then
12274   ac_cv_prog_YACC="$YACC" # Let the user override the test.
12275 else
12276 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12277 for as_dir in $PATH
12278 do
12279   IFS=$as_save_IFS
12280   test -z "$as_dir" && as_dir=.
12281     for ac_exec_ext in '' $ac_executable_extensions; do
12282   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
12283     ac_cv_prog_YACC="$ac_prog"
12284     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
12285     break 2
12286   fi
12287 done
12288   done
12289 IFS=$as_save_IFS
12290
12291 fi
12292 fi
12293 YACC=$ac_cv_prog_YACC
12294 if test -n "$YACC"; then
12295   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $YACC" >&5
12296 $as_echo "$YACC" >&6; }
12297 else
12298   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12299 $as_echo "no" >&6; }
12300 fi
12301
12302
12303   test -n "$YACC" && break
12304 done
12305 test -n "$YACC" || YACC=":"
12306
12307 if test "$YACC" = :; then
12308         as_fn_error $? "bison not found but required" "$LINENO" 5
12309 fi
12310
12311
12312 ensureflag() {
12313   flag="$1"; shift
12314   result="$@"
12315
12316   case " ${result} " in
12317   *[\ \ ]${flag}[\ \    ]*) ;;
12318   *) result="${flag} ${result}" ;;
12319   esac
12320
12321   echo ${result}
12322 }
12323
12324 if test "$GCC" = "yes"; then
12325     for flag in -Wall -Wchar-subscripts -Wmissing-declarations \
12326         -Wmissing-prototypes -Wnested-externs -Wpointer-arith -Wcast-align \
12327         -Wsign-compare -fno-strict-aliasing;
12328     do
12329         CFLAGS="$(ensureflag $flag $CFLAGS)"
12330     done
12331 fi
12332
12333 # Checks for libraries.
12334 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
12335 $as_echo_n "checking for dlopen in -ldl... " >&6; }
12336 if ${ac_cv_lib_dl_dlopen+:} false; then :
12337   $as_echo_n "(cached) " >&6
12338 else
12339   ac_check_lib_save_LIBS=$LIBS
12340 LIBS="-ldl  $LIBS"
12341 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12342 /* end confdefs.h.  */
12343
12344 /* Override any GCC internal prototype to avoid an error.
12345    Use char because int might match the return type of a GCC
12346    builtin and then its argument prototype would still apply.  */
12347 #ifdef __cplusplus
12348 extern "C"
12349 #endif
12350 char dlopen ();
12351 int
12352 main ()
12353 {
12354 return dlopen ();
12355   ;
12356   return 0;
12357 }
12358 _ACEOF
12359 if ac_fn_c_try_link "$LINENO"; then :
12360   ac_cv_lib_dl_dlopen=yes
12361 else
12362   ac_cv_lib_dl_dlopen=no
12363 fi
12364 rm -f core conftest.err conftest.$ac_objext \
12365     conftest$ac_exeext conftest.$ac_ext
12366 LIBS=$ac_check_lib_save_LIBS
12367 fi
12368 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
12369 $as_echo "$ac_cv_lib_dl_dlopen" >&6; }
12370 if test "x$ac_cv_lib_dl_dlopen" = xyes; then :
12371   cat >>confdefs.h <<_ACEOF
12372 #define HAVE_LIBDL 1
12373 _ACEOF
12374
12375   LIBS="-ldl $LIBS"
12376
12377 fi
12378
12379
12380 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for the suffix of shared libraries" >&5
12381 $as_echo_n "checking for the suffix of shared libraries... " >&6; }
12382 # libtool variables are immediately available since 2.0, prior to that we need
12383 # to call libtool --config explicitly
12384 if test "x$shrext_cmds" = x; then
12385     shrext_cmds=`SED=$SED ./libtool --config | grep '^shrext_cmds='`
12386     eval $shrext_cmds
12387 fi
12388 eval std_shrext=$shrext_cmds
12389 # chop the initial dot
12390 SHLIB_SUFFIX=${std_shrext#.}
12391 { $as_echo "$as_me:${as_lineno-$LINENO}: result: .$SHLIB_SUFFIX" >&5
12392 $as_echo ".$SHLIB_SUFFIX" >&6; }
12393 # any reason it may fail?
12394 if test "x$SHLIB_SUFFIX" = x; then
12395         as_fn_error $? "Cannot determine shared library suffix from libtool" "$LINENO" 5
12396 fi
12397
12398 cat >>confdefs.h <<_ACEOF
12399 #define SHLIB_SUFFIX "$SHLIB_SUFFIX"
12400 _ACEOF
12401
12402
12403 # Copied from dbus configure.in
12404 #### find the actual value for $prefix that we'll end up with
12405 ##   (I know this is broken and should be done in the Makefile, but
12406 ##    that's a major pain and almost nobody actually seems to care)
12407
12408   EXP_VAR=EXPANDED_LOCALSTATEDIR
12409   FROM_VAR="$localstatedir"
12410
12411     prefix_save=$prefix
12412   exec_prefix_save=$exec_prefix
12413
12414     if test "x$prefix" = "xNONE"; then
12415     prefix="$ac_default_prefix"
12416   fi
12417     if test "x$exec_prefix" = "xNONE"; then
12418     exec_prefix=$prefix
12419   fi
12420
12421   full_var="$FROM_VAR"
12422     while true; do
12423     new_full_var="`eval echo $full_var`"
12424     if test "x$new_full_var" = "x$full_var"; then break; fi
12425     full_var=$new_full_var
12426   done
12427
12428     full_var=$new_full_var
12429   EXPANDED_LOCALSTATEDIR="$full_var"
12430
12431
12432     prefix=$prefix_save
12433   exec_prefix=$exec_prefix_save
12434
12435
12436   EXP_VAR=EXPANDED_SYSCONFDIR
12437   FROM_VAR="$sysconfdir"
12438
12439     prefix_save=$prefix
12440   exec_prefix_save=$exec_prefix
12441
12442     if test "x$prefix" = "xNONE"; then
12443     prefix="$ac_default_prefix"
12444   fi
12445     if test "x$exec_prefix" = "xNONE"; then
12446     exec_prefix=$prefix
12447   fi
12448
12449   full_var="$FROM_VAR"
12450     while true; do
12451     new_full_var="`eval echo $full_var`"
12452     if test "x$new_full_var" = "x$full_var"; then break; fi
12453     full_var=$new_full_var
12454   done
12455
12456     full_var=$new_full_var
12457   EXPANDED_SYSCONFDIR="$full_var"
12458
12459
12460     prefix=$prefix_save
12461   exec_prefix=$exec_prefix_save
12462
12463
12464   EXP_VAR=EXPANDED_BINDIR
12465   FROM_VAR="$bindir"
12466
12467     prefix_save=$prefix
12468   exec_prefix_save=$exec_prefix
12469
12470     if test "x$prefix" = "xNONE"; then
12471     prefix="$ac_default_prefix"
12472   fi
12473     if test "x$exec_prefix" = "xNONE"; then
12474     exec_prefix=$prefix
12475   fi
12476
12477   full_var="$FROM_VAR"
12478     while true; do
12479     new_full_var="`eval echo $full_var`"
12480     if test "x$new_full_var" = "x$full_var"; then break; fi
12481     full_var=$new_full_var
12482   done
12483
12484     full_var=$new_full_var
12485   EXPANDED_BINDIR="$full_var"
12486
12487
12488     prefix=$prefix_save
12489   exec_prefix=$exec_prefix_save
12490
12491
12492   EXP_VAR=EXPANDED_LIBDIR
12493   FROM_VAR="$libdir"
12494
12495     prefix_save=$prefix
12496   exec_prefix_save=$exec_prefix
12497
12498     if test "x$prefix" = "xNONE"; then
12499     prefix="$ac_default_prefix"
12500   fi
12501     if test "x$exec_prefix" = "xNONE"; then
12502     exec_prefix=$prefix
12503   fi
12504
12505   full_var="$FROM_VAR"
12506     while true; do
12507     new_full_var="`eval echo $full_var`"
12508     if test "x$new_full_var" = "x$full_var"; then break; fi
12509     full_var=$new_full_var
12510   done
12511
12512     full_var=$new_full_var
12513   EXPANDED_LIBDIR="$full_var"
12514
12515
12516     prefix=$prefix_save
12517   exec_prefix=$exec_prefix_save
12518
12519
12520   EXP_VAR=EXPANDED_LIBEXECDIR
12521   FROM_VAR="$libexecdir"
12522
12523     prefix_save=$prefix
12524   exec_prefix_save=$exec_prefix
12525
12526     if test "x$prefix" = "xNONE"; then
12527     prefix="$ac_default_prefix"
12528   fi
12529     if test "x$exec_prefix" = "xNONE"; then
12530     exec_prefix=$prefix
12531   fi
12532
12533   full_var="$FROM_VAR"
12534     while true; do
12535     new_full_var="`eval echo $full_var`"
12536     if test "x$new_full_var" = "x$full_var"; then break; fi
12537     full_var=$new_full_var
12538   done
12539
12540     full_var=$new_full_var
12541   EXPANDED_LIBEXECDIR="$full_var"
12542
12543
12544     prefix=$prefix_save
12545   exec_prefix=$exec_prefix_save
12546
12547
12548   EXP_VAR=EXPANDED_DATADIR
12549   FROM_VAR="$datadir"
12550
12551     prefix_save=$prefix
12552   exec_prefix_save=$exec_prefix
12553
12554     if test "x$prefix" = "xNONE"; then
12555     prefix="$ac_default_prefix"
12556   fi
12557     if test "x$exec_prefix" = "xNONE"; then
12558     exec_prefix=$prefix
12559   fi
12560
12561   full_var="$FROM_VAR"
12562     while true; do
12563     new_full_var="`eval echo $full_var`"
12564     if test "x$new_full_var" = "x$full_var"; then break; fi
12565     full_var=$new_full_var
12566   done
12567
12568     full_var=$new_full_var
12569   EXPANDED_DATADIR="$full_var"
12570
12571
12572     prefix=$prefix_save
12573   exec_prefix=$exec_prefix_save
12574
12575
12576 #### Directory to install the libexec binaries
12577 GOBJECT_INTROSPECTION_LIBDIR="$EXPANDED_LIBDIR"
12578
12579
12580 cat >>confdefs.h <<_ACEOF
12581 #define GOBJECT_INTROSPECTION_LIBDIR "$GOBJECT_INTROSPECTION_LIBDIR"
12582 _ACEOF
12583
12584
12585 #### Directory to install the gir files
12586 GIR_SUFFIX="gir-1.0"
12587
12588
12589 cat >>confdefs.h <<_ACEOF
12590 #define GIR_SUFFIX "$GIR_SUFFIX"
12591 _ACEOF
12592
12593
12594 GIR_DIR="$EXPANDED_DATADIR/$GIR_SUFFIX"
12595
12596
12597 cat >>confdefs.h <<_ACEOF
12598 #define GIR_DIR "$GIR_DIR"
12599 _ACEOF
12600
12601
12602
12603 pkg_failed=no
12604 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GLIB" >&5
12605 $as_echo_n "checking for GLIB... " >&6; }
12606
12607 if test -n "$GLIB_CFLAGS"; then
12608     pkg_cv_GLIB_CFLAGS="$GLIB_CFLAGS"
12609  elif test -n "$PKG_CONFIG"; then
12610     if test -n "$PKG_CONFIG" && \
12611     { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"glib-2.0 >= 2.35.9\""; } >&5
12612   ($PKG_CONFIG --exists --print-errors "glib-2.0 >= 2.35.9") 2>&5
12613   ac_status=$?
12614   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
12615   test $ac_status = 0; }; then
12616   pkg_cv_GLIB_CFLAGS=`$PKG_CONFIG --cflags "glib-2.0 >= 2.35.9" 2>/dev/null`
12617                       test "x$?" != "x0" && pkg_failed=yes
12618 else
12619   pkg_failed=yes
12620 fi
12621  else
12622     pkg_failed=untried
12623 fi
12624 if test -n "$GLIB_LIBS"; then
12625     pkg_cv_GLIB_LIBS="$GLIB_LIBS"
12626  elif test -n "$PKG_CONFIG"; then
12627     if test -n "$PKG_CONFIG" && \
12628     { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"glib-2.0 >= 2.35.9\""; } >&5
12629   ($PKG_CONFIG --exists --print-errors "glib-2.0 >= 2.35.9") 2>&5
12630   ac_status=$?
12631   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
12632   test $ac_status = 0; }; then
12633   pkg_cv_GLIB_LIBS=`$PKG_CONFIG --libs "glib-2.0 >= 2.35.9" 2>/dev/null`
12634                       test "x$?" != "x0" && pkg_failed=yes
12635 else
12636   pkg_failed=yes
12637 fi
12638  else
12639     pkg_failed=untried
12640 fi
12641
12642
12643
12644 if test $pkg_failed = yes; then
12645         { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12646 $as_echo "no" >&6; }
12647
12648 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
12649         _pkg_short_errors_supported=yes
12650 else
12651         _pkg_short_errors_supported=no
12652 fi
12653         if test $_pkg_short_errors_supported = yes; then
12654                 GLIB_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "glib-2.0 >= 2.35.9" 2>&1`
12655         else
12656                 GLIB_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "glib-2.0 >= 2.35.9" 2>&1`
12657         fi
12658         # Put the nasty error message in config.log where it belongs
12659         echo "$GLIB_PKG_ERRORS" >&5
12660
12661         as_fn_error $? "Package requirements (glib-2.0 >= 2.35.9) were not met:
12662
12663 $GLIB_PKG_ERRORS
12664
12665 Consider adjusting the PKG_CONFIG_PATH environment variable if you
12666 installed software in a non-standard prefix.
12667
12668 Alternatively, you may set the environment variables GLIB_CFLAGS
12669 and GLIB_LIBS to avoid the need to call pkg-config.
12670 See the pkg-config man page for more details." "$LINENO" 5
12671 elif test $pkg_failed = untried; then
12672         { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12673 $as_echo "no" >&6; }
12674         { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
12675 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
12676 as_fn_error $? "The pkg-config script could not be found or is too old.  Make sure it
12677 is in your PATH or set the PKG_CONFIG environment variable to the full
12678 path to pkg-config.
12679
12680 Alternatively, you may set the environment variables GLIB_CFLAGS
12681 and GLIB_LIBS to avoid the need to call pkg-config.
12682 See the pkg-config man page for more details.
12683
12684 To get pkg-config, see <http://pkg-config.freedesktop.org/>.
12685 See \`config.log' for more details" "$LINENO" 5; }
12686 else
12687         GLIB_CFLAGS=$pkg_cv_GLIB_CFLAGS
12688         GLIB_LIBS=$pkg_cv_GLIB_LIBS
12689         { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
12690 $as_echo "yes" >&6; }
12691
12692 fi
12693
12694 pkg_failed=no
12695 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GOBJECT" >&5
12696 $as_echo_n "checking for GOBJECT... " >&6; }
12697
12698 if test -n "$GOBJECT_CFLAGS"; then
12699     pkg_cv_GOBJECT_CFLAGS="$GOBJECT_CFLAGS"
12700  elif test -n "$PKG_CONFIG"; then
12701     if test -n "$PKG_CONFIG" && \
12702     { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"gobject-2.0\""; } >&5
12703   ($PKG_CONFIG --exists --print-errors "gobject-2.0") 2>&5
12704   ac_status=$?
12705   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
12706   test $ac_status = 0; }; then
12707   pkg_cv_GOBJECT_CFLAGS=`$PKG_CONFIG --cflags "gobject-2.0" 2>/dev/null`
12708                       test "x$?" != "x0" && pkg_failed=yes
12709 else
12710   pkg_failed=yes
12711 fi
12712  else
12713     pkg_failed=untried
12714 fi
12715 if test -n "$GOBJECT_LIBS"; then
12716     pkg_cv_GOBJECT_LIBS="$GOBJECT_LIBS"
12717  elif test -n "$PKG_CONFIG"; then
12718     if test -n "$PKG_CONFIG" && \
12719     { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"gobject-2.0\""; } >&5
12720   ($PKG_CONFIG --exists --print-errors "gobject-2.0") 2>&5
12721   ac_status=$?
12722   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
12723   test $ac_status = 0; }; then
12724   pkg_cv_GOBJECT_LIBS=`$PKG_CONFIG --libs "gobject-2.0" 2>/dev/null`
12725                       test "x$?" != "x0" && pkg_failed=yes
12726 else
12727   pkg_failed=yes
12728 fi
12729  else
12730     pkg_failed=untried
12731 fi
12732
12733
12734
12735 if test $pkg_failed = yes; then
12736         { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12737 $as_echo "no" >&6; }
12738
12739 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
12740         _pkg_short_errors_supported=yes
12741 else
12742         _pkg_short_errors_supported=no
12743 fi
12744         if test $_pkg_short_errors_supported = yes; then
12745                 GOBJECT_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "gobject-2.0" 2>&1`
12746         else
12747                 GOBJECT_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "gobject-2.0" 2>&1`
12748         fi
12749         # Put the nasty error message in config.log where it belongs
12750         echo "$GOBJECT_PKG_ERRORS" >&5
12751
12752         as_fn_error $? "Package requirements (gobject-2.0) were not met:
12753
12754 $GOBJECT_PKG_ERRORS
12755
12756 Consider adjusting the PKG_CONFIG_PATH environment variable if you
12757 installed software in a non-standard prefix.
12758
12759 Alternatively, you may set the environment variables GOBJECT_CFLAGS
12760 and GOBJECT_LIBS to avoid the need to call pkg-config.
12761 See the pkg-config man page for more details." "$LINENO" 5
12762 elif test $pkg_failed = untried; then
12763         { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12764 $as_echo "no" >&6; }
12765         { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
12766 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
12767 as_fn_error $? "The pkg-config script could not be found or is too old.  Make sure it
12768 is in your PATH or set the PKG_CONFIG environment variable to the full
12769 path to pkg-config.
12770
12771 Alternatively, you may set the environment variables GOBJECT_CFLAGS
12772 and GOBJECT_LIBS to avoid the need to call pkg-config.
12773 See the pkg-config man page for more details.
12774
12775 To get pkg-config, see <http://pkg-config.freedesktop.org/>.
12776 See \`config.log' for more details" "$LINENO" 5; }
12777 else
12778         GOBJECT_CFLAGS=$pkg_cv_GOBJECT_CFLAGS
12779         GOBJECT_LIBS=$pkg_cv_GOBJECT_LIBS
12780         { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
12781 $as_echo "yes" >&6; }
12782
12783 fi
12784
12785 pkg_failed=no
12786 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GMODULE" >&5
12787 $as_echo_n "checking for GMODULE... " >&6; }
12788
12789 if test -n "$GMODULE_CFLAGS"; then
12790     pkg_cv_GMODULE_CFLAGS="$GMODULE_CFLAGS"
12791  elif test -n "$PKG_CONFIG"; then
12792     if test -n "$PKG_CONFIG" && \
12793     { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"gmodule-2.0\""; } >&5
12794   ($PKG_CONFIG --exists --print-errors "gmodule-2.0") 2>&5
12795   ac_status=$?
12796   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
12797   test $ac_status = 0; }; then
12798   pkg_cv_GMODULE_CFLAGS=`$PKG_CONFIG --cflags "gmodule-2.0" 2>/dev/null`
12799                       test "x$?" != "x0" && pkg_failed=yes
12800 else
12801   pkg_failed=yes
12802 fi
12803  else
12804     pkg_failed=untried
12805 fi
12806 if test -n "$GMODULE_LIBS"; then
12807     pkg_cv_GMODULE_LIBS="$GMODULE_LIBS"
12808  elif test -n "$PKG_CONFIG"; then
12809     if test -n "$PKG_CONFIG" && \
12810     { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"gmodule-2.0\""; } >&5
12811   ($PKG_CONFIG --exists --print-errors "gmodule-2.0") 2>&5
12812   ac_status=$?
12813   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
12814   test $ac_status = 0; }; then
12815   pkg_cv_GMODULE_LIBS=`$PKG_CONFIG --libs "gmodule-2.0" 2>/dev/null`
12816                       test "x$?" != "x0" && pkg_failed=yes
12817 else
12818   pkg_failed=yes
12819 fi
12820  else
12821     pkg_failed=untried
12822 fi
12823
12824
12825
12826 if test $pkg_failed = yes; then
12827         { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12828 $as_echo "no" >&6; }
12829
12830 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
12831         _pkg_short_errors_supported=yes
12832 else
12833         _pkg_short_errors_supported=no
12834 fi
12835         if test $_pkg_short_errors_supported = yes; then
12836                 GMODULE_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "gmodule-2.0" 2>&1`
12837         else
12838                 GMODULE_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "gmodule-2.0" 2>&1`
12839         fi
12840         # Put the nasty error message in config.log where it belongs
12841         echo "$GMODULE_PKG_ERRORS" >&5
12842
12843         as_fn_error $? "Package requirements (gmodule-2.0) were not met:
12844
12845 $GMODULE_PKG_ERRORS
12846
12847 Consider adjusting the PKG_CONFIG_PATH environment variable if you
12848 installed software in a non-standard prefix.
12849
12850 Alternatively, you may set the environment variables GMODULE_CFLAGS
12851 and GMODULE_LIBS to avoid the need to call pkg-config.
12852 See the pkg-config man page for more details." "$LINENO" 5
12853 elif test $pkg_failed = untried; then
12854         { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12855 $as_echo "no" >&6; }
12856         { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
12857 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
12858 as_fn_error $? "The pkg-config script could not be found or is too old.  Make sure it
12859 is in your PATH or set the PKG_CONFIG environment variable to the full
12860 path to pkg-config.
12861
12862 Alternatively, you may set the environment variables GMODULE_CFLAGS
12863 and GMODULE_LIBS to avoid the need to call pkg-config.
12864 See the pkg-config man page for more details.
12865
12866 To get pkg-config, see <http://pkg-config.freedesktop.org/>.
12867 See \`config.log' for more details" "$LINENO" 5; }
12868 else
12869         GMODULE_CFLAGS=$pkg_cv_GMODULE_CFLAGS
12870         GMODULE_LIBS=$pkg_cv_GMODULE_LIBS
12871         { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
12872 $as_echo "yes" >&6; }
12873
12874 fi
12875
12876 pkg_failed=no
12877 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GIO" >&5
12878 $as_echo_n "checking for GIO... " >&6; }
12879
12880 if test -n "$GIO_CFLAGS"; then
12881     pkg_cv_GIO_CFLAGS="$GIO_CFLAGS"
12882  elif test -n "$PKG_CONFIG"; then
12883     if test -n "$PKG_CONFIG" && \
12884     { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"gio-2.0\""; } >&5
12885   ($PKG_CONFIG --exists --print-errors "gio-2.0") 2>&5
12886   ac_status=$?
12887   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
12888   test $ac_status = 0; }; then
12889   pkg_cv_GIO_CFLAGS=`$PKG_CONFIG --cflags "gio-2.0" 2>/dev/null`
12890                       test "x$?" != "x0" && pkg_failed=yes
12891 else
12892   pkg_failed=yes
12893 fi
12894  else
12895     pkg_failed=untried
12896 fi
12897 if test -n "$GIO_LIBS"; then
12898     pkg_cv_GIO_LIBS="$GIO_LIBS"
12899  elif test -n "$PKG_CONFIG"; then
12900     if test -n "$PKG_CONFIG" && \
12901     { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"gio-2.0\""; } >&5
12902   ($PKG_CONFIG --exists --print-errors "gio-2.0") 2>&5
12903   ac_status=$?
12904   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
12905   test $ac_status = 0; }; then
12906   pkg_cv_GIO_LIBS=`$PKG_CONFIG --libs "gio-2.0" 2>/dev/null`
12907                       test "x$?" != "x0" && pkg_failed=yes
12908 else
12909   pkg_failed=yes
12910 fi
12911  else
12912     pkg_failed=untried
12913 fi
12914
12915
12916
12917 if test $pkg_failed = yes; then
12918         { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12919 $as_echo "no" >&6; }
12920
12921 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
12922         _pkg_short_errors_supported=yes
12923 else
12924         _pkg_short_errors_supported=no
12925 fi
12926         if test $_pkg_short_errors_supported = yes; then
12927                 GIO_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "gio-2.0" 2>&1`
12928         else
12929                 GIO_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "gio-2.0" 2>&1`
12930         fi
12931         # Put the nasty error message in config.log where it belongs
12932         echo "$GIO_PKG_ERRORS" >&5
12933
12934         as_fn_error $? "Package requirements (gio-2.0) were not met:
12935
12936 $GIO_PKG_ERRORS
12937
12938 Consider adjusting the PKG_CONFIG_PATH environment variable if you
12939 installed software in a non-standard prefix.
12940
12941 Alternatively, you may set the environment variables GIO_CFLAGS
12942 and GIO_LIBS to avoid the need to call pkg-config.
12943 See the pkg-config man page for more details." "$LINENO" 5
12944 elif test $pkg_failed = untried; then
12945         { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12946 $as_echo "no" >&6; }
12947         { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
12948 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
12949 as_fn_error $? "The pkg-config script could not be found or is too old.  Make sure it
12950 is in your PATH or set the PKG_CONFIG environment variable to the full
12951 path to pkg-config.
12952
12953 Alternatively, you may set the environment variables GIO_CFLAGS
12954 and GIO_LIBS to avoid the need to call pkg-config.
12955 See the pkg-config man page for more details.
12956
12957 To get pkg-config, see <http://pkg-config.freedesktop.org/>.
12958 See \`config.log' for more details" "$LINENO" 5; }
12959 else
12960         GIO_CFLAGS=$pkg_cv_GIO_CFLAGS
12961         GIO_LIBS=$pkg_cv_GIO_LIBS
12962         { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
12963 $as_echo "yes" >&6; }
12964
12965 fi
12966
12967 pkg_failed=no
12968 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GIO_UNIX" >&5
12969 $as_echo_n "checking for GIO_UNIX... " >&6; }
12970
12971 if test -n "$GIO_UNIX_CFLAGS"; then
12972     pkg_cv_GIO_UNIX_CFLAGS="$GIO_UNIX_CFLAGS"
12973  elif test -n "$PKG_CONFIG"; then
12974     if test -n "$PKG_CONFIG" && \
12975     { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"gio-unix-2.0\""; } >&5
12976   ($PKG_CONFIG --exists --print-errors "gio-unix-2.0") 2>&5
12977   ac_status=$?
12978   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
12979   test $ac_status = 0; }; then
12980   pkg_cv_GIO_UNIX_CFLAGS=`$PKG_CONFIG --cflags "gio-unix-2.0" 2>/dev/null`
12981                       test "x$?" != "x0" && pkg_failed=yes
12982 else
12983   pkg_failed=yes
12984 fi
12985  else
12986     pkg_failed=untried
12987 fi
12988 if test -n "$GIO_UNIX_LIBS"; then
12989     pkg_cv_GIO_UNIX_LIBS="$GIO_UNIX_LIBS"
12990  elif test -n "$PKG_CONFIG"; then
12991     if test -n "$PKG_CONFIG" && \
12992     { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"gio-unix-2.0\""; } >&5
12993   ($PKG_CONFIG --exists --print-errors "gio-unix-2.0") 2>&5
12994   ac_status=$?
12995   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
12996   test $ac_status = 0; }; then
12997   pkg_cv_GIO_UNIX_LIBS=`$PKG_CONFIG --libs "gio-unix-2.0" 2>/dev/null`
12998                       test "x$?" != "x0" && pkg_failed=yes
12999 else
13000   pkg_failed=yes
13001 fi
13002  else
13003     pkg_failed=untried
13004 fi
13005
13006
13007
13008 if test $pkg_failed = yes; then
13009         { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
13010 $as_echo "no" >&6; }
13011
13012 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
13013         _pkg_short_errors_supported=yes
13014 else
13015         _pkg_short_errors_supported=no
13016 fi
13017         if test $_pkg_short_errors_supported = yes; then
13018                 GIO_UNIX_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "gio-unix-2.0" 2>&1`
13019         else
13020                 GIO_UNIX_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "gio-unix-2.0" 2>&1`
13021         fi
13022         # Put the nasty error message in config.log where it belongs
13023         echo "$GIO_UNIX_PKG_ERRORS" >&5
13024
13025         have_gio_unix=false
13026 elif test $pkg_failed = untried; then
13027         { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
13028 $as_echo "no" >&6; }
13029         have_gio_unix=false
13030 else
13031         GIO_UNIX_CFLAGS=$pkg_cv_GIO_UNIX_CFLAGS
13032         GIO_UNIX_LIBS=$pkg_cv_GIO_UNIX_LIBS
13033         { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
13034 $as_echo "yes" >&6; }
13035         have_gio_unix=true
13036 fi
13037  if test x$have_gio_unix = xtrue; then
13038   HAVE_GIO_UNIX_TRUE=
13039   HAVE_GIO_UNIX_FALSE='#'
13040 else
13041   HAVE_GIO_UNIX_TRUE='#'
13042   HAVE_GIO_UNIX_FALSE=
13043 fi
13044
13045
13046 # Prefer cairo-gobject if we have it
13047
13048 # Check whether --with-cairo was given.
13049 if test "${with_cairo+set}" = set; then :
13050   withval=$with_cairo;
13051 else
13052   with_cairo=maybe
13053 fi
13054
13055
13056 if test x${with_cairo} != xno; then :
13057
13058
13059 pkg_failed=no
13060 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for CAIRO" >&5
13061 $as_echo_n "checking for CAIRO... " >&6; }
13062
13063 if test -n "$CAIRO_CFLAGS"; then
13064     pkg_cv_CAIRO_CFLAGS="$CAIRO_CFLAGS"
13065  elif test -n "$PKG_CONFIG"; then
13066     if test -n "$PKG_CONFIG" && \
13067     { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"cairo cairo-gobject\""; } >&5
13068   ($PKG_CONFIG --exists --print-errors "cairo cairo-gobject") 2>&5
13069   ac_status=$?
13070   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
13071   test $ac_status = 0; }; then
13072   pkg_cv_CAIRO_CFLAGS=`$PKG_CONFIG --cflags "cairo cairo-gobject" 2>/dev/null`
13073                       test "x$?" != "x0" && pkg_failed=yes
13074 else
13075   pkg_failed=yes
13076 fi
13077  else
13078     pkg_failed=untried
13079 fi
13080 if test -n "$CAIRO_LIBS"; then
13081     pkg_cv_CAIRO_LIBS="$CAIRO_LIBS"
13082  elif test -n "$PKG_CONFIG"; then
13083     if test -n "$PKG_CONFIG" && \
13084     { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"cairo cairo-gobject\""; } >&5
13085   ($PKG_CONFIG --exists --print-errors "cairo cairo-gobject") 2>&5
13086   ac_status=$?
13087   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
13088   test $ac_status = 0; }; then
13089   pkg_cv_CAIRO_LIBS=`$PKG_CONFIG --libs "cairo cairo-gobject" 2>/dev/null`
13090                       test "x$?" != "x0" && pkg_failed=yes
13091 else
13092   pkg_failed=yes
13093 fi
13094  else
13095     pkg_failed=untried
13096 fi
13097
13098
13099
13100 if test $pkg_failed = yes; then
13101         { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
13102 $as_echo "no" >&6; }
13103
13104 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
13105         _pkg_short_errors_supported=yes
13106 else
13107         _pkg_short_errors_supported=no
13108 fi
13109         if test $_pkg_short_errors_supported = yes; then
13110                 CAIRO_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "cairo cairo-gobject" 2>&1`
13111         else
13112                 CAIRO_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "cairo cairo-gobject" 2>&1`
13113         fi
13114         # Put the nasty error message in config.log where it belongs
13115         echo "$CAIRO_PKG_ERRORS" >&5
13116
13117         have_cairo=no
13118 elif test $pkg_failed = untried; then
13119         { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
13120 $as_echo "no" >&6; }
13121         have_cairo=no
13122 else
13123         CAIRO_CFLAGS=$pkg_cv_CAIRO_CFLAGS
13124         CAIRO_LIBS=$pkg_cv_CAIRO_LIBS
13125         { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
13126 $as_echo "yes" >&6; }
13127         have_cairo=yes
13128 fi
13129   if  test x$have_cairo = xno && test x$with_cairo = xyes ; then :
13130
13131     as_fn_error $? "cairo enabled but not found" "$LINENO" 5
13132
13133 fi
13134
13135 fi
13136  if test x$have_cairo = xyes; then
13137   HAVE_CAIRO_TRUE=
13138   HAVE_CAIRO_FALSE='#'
13139 else
13140   HAVE_CAIRO_TRUE='#'
13141   HAVE_CAIRO_FALSE=
13142 fi
13143
13144
13145 case "$host" in
13146   *-*-darwin*)
13147     CAIRO_SHARED_LIBRARY="libcairo-gobject.2.dylib"
13148     ;;
13149   *-*-mingw*)
13150     CAIRO_SHARED_LIBRARY="libcairo-gobject-2.dll"
13151     ;;
13152   *-*-openbsd*)
13153     CAIRO_SHARED_LIBRARY="libcairo-gobject.so"
13154     ;;
13155   *)
13156     CAIRO_SHARED_LIBRARY="libcairo-gobject.so.2"
13157     ;;
13158 esac
13159 CAIRO_GIR_PACKAGE="cairo-gobject"
13160
13161
13162
13163
13164
13165
13166 pkg_failed=no
13167 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for SCANNER" >&5
13168 $as_echo_n "checking for SCANNER... " >&6; }
13169
13170 if test -n "$SCANNER_CFLAGS"; then
13171     pkg_cv_SCANNER_CFLAGS="$SCANNER_CFLAGS"
13172  elif test -n "$PKG_CONFIG"; then
13173     if test -n "$PKG_CONFIG" && \
13174     { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"gobject-2.0 gio-2.0\""; } >&5
13175   ($PKG_CONFIG --exists --print-errors "gobject-2.0 gio-2.0") 2>&5
13176   ac_status=$?
13177   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
13178   test $ac_status = 0; }; then
13179   pkg_cv_SCANNER_CFLAGS=`$PKG_CONFIG --cflags "gobject-2.0 gio-2.0" 2>/dev/null`
13180                       test "x$?" != "x0" && pkg_failed=yes
13181 else
13182   pkg_failed=yes
13183 fi
13184  else
13185     pkg_failed=untried
13186 fi
13187 if test -n "$SCANNER_LIBS"; then
13188     pkg_cv_SCANNER_LIBS="$SCANNER_LIBS"
13189  elif test -n "$PKG_CONFIG"; then
13190     if test -n "$PKG_CONFIG" && \
13191     { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"gobject-2.0 gio-2.0\""; } >&5
13192   ($PKG_CONFIG --exists --print-errors "gobject-2.0 gio-2.0") 2>&5
13193   ac_status=$?
13194   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
13195   test $ac_status = 0; }; then
13196   pkg_cv_SCANNER_LIBS=`$PKG_CONFIG --libs "gobject-2.0 gio-2.0" 2>/dev/null`
13197                       test "x$?" != "x0" && pkg_failed=yes
13198 else
13199   pkg_failed=yes
13200 fi
13201  else
13202     pkg_failed=untried
13203 fi
13204
13205
13206
13207 if test $pkg_failed = yes; then
13208         { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
13209 $as_echo "no" >&6; }
13210
13211 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
13212         _pkg_short_errors_supported=yes
13213 else
13214         _pkg_short_errors_supported=no
13215 fi
13216         if test $_pkg_short_errors_supported = yes; then
13217                 SCANNER_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "gobject-2.0 gio-2.0" 2>&1`
13218         else
13219                 SCANNER_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "gobject-2.0 gio-2.0" 2>&1`
13220         fi
13221         # Put the nasty error message in config.log where it belongs
13222         echo "$SCANNER_PKG_ERRORS" >&5
13223
13224         as_fn_error $? "Package requirements (gobject-2.0 gio-2.0) were not met:
13225
13226 $SCANNER_PKG_ERRORS
13227
13228 Consider adjusting the PKG_CONFIG_PATH environment variable if you
13229 installed software in a non-standard prefix.
13230
13231 Alternatively, you may set the environment variables SCANNER_CFLAGS
13232 and SCANNER_LIBS to avoid the need to call pkg-config.
13233 See the pkg-config man page for more details." "$LINENO" 5
13234 elif test $pkg_failed = untried; then
13235         { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
13236 $as_echo "no" >&6; }
13237         { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
13238 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
13239 as_fn_error $? "The pkg-config script could not be found or is too old.  Make sure it
13240 is in your PATH or set the PKG_CONFIG environment variable to the full
13241 path to pkg-config.
13242
13243 Alternatively, you may set the environment variables SCANNER_CFLAGS
13244 and SCANNER_LIBS to avoid the need to call pkg-config.
13245 See the pkg-config man page for more details.
13246
13247 To get pkg-config, see <http://pkg-config.freedesktop.org/>.
13248 See \`config.log' for more details" "$LINENO" 5; }
13249 else
13250         SCANNER_CFLAGS=$pkg_cv_SCANNER_CFLAGS
13251         SCANNER_LIBS=$pkg_cv_SCANNER_LIBS
13252         { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
13253 $as_echo "yes" >&6; }
13254
13255 fi
13256
13257
13258 pkg_failed=no
13259 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for FFI" >&5
13260 $as_echo_n "checking for FFI... " >&6; }
13261
13262 if test -n "$FFI_CFLAGS"; then
13263     pkg_cv_FFI_CFLAGS="$FFI_CFLAGS"
13264  elif test -n "$PKG_CONFIG"; then
13265     if test -n "$PKG_CONFIG" && \
13266     { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"libffi\""; } >&5
13267   ($PKG_CONFIG --exists --print-errors "libffi") 2>&5
13268   ac_status=$?
13269   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
13270   test $ac_status = 0; }; then
13271   pkg_cv_FFI_CFLAGS=`$PKG_CONFIG --cflags "libffi" 2>/dev/null`
13272                       test "x$?" != "x0" && pkg_failed=yes
13273 else
13274   pkg_failed=yes
13275 fi
13276  else
13277     pkg_failed=untried
13278 fi
13279 if test -n "$FFI_LIBS"; then
13280     pkg_cv_FFI_LIBS="$FFI_LIBS"
13281  elif test -n "$PKG_CONFIG"; then
13282     if test -n "$PKG_CONFIG" && \
13283     { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"libffi\""; } >&5
13284   ($PKG_CONFIG --exists --print-errors "libffi") 2>&5
13285   ac_status=$?
13286   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
13287   test $ac_status = 0; }; then
13288   pkg_cv_FFI_LIBS=`$PKG_CONFIG --libs "libffi" 2>/dev/null`
13289                       test "x$?" != "x0" && pkg_failed=yes
13290 else
13291   pkg_failed=yes
13292 fi
13293  else
13294     pkg_failed=untried
13295 fi
13296
13297
13298
13299 if test $pkg_failed = yes; then
13300         { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
13301 $as_echo "no" >&6; }
13302
13303 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
13304         _pkg_short_errors_supported=yes
13305 else
13306         _pkg_short_errors_supported=no
13307 fi
13308         if test $_pkg_short_errors_supported = yes; then
13309                 FFI_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "libffi" 2>&1`
13310         else
13311                 FFI_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "libffi" 2>&1`
13312         fi
13313         # Put the nasty error message in config.log where it belongs
13314         echo "$FFI_PKG_ERRORS" >&5
13315
13316         have_ffi_pkgconfig=no
13317 elif test $pkg_failed = untried; then
13318         { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
13319 $as_echo "no" >&6; }
13320         have_ffi_pkgconfig=no
13321 else
13322         FFI_CFLAGS=$pkg_cv_FFI_CFLAGS
13323         FFI_LIBS=$pkg_cv_FFI_LIBS
13324         { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
13325 $as_echo "yes" >&6; }
13326         have_ffi_pkgconfig=yes
13327 fi
13328 FFI_PC_CFLAGS=""
13329 FFI_PC_LIBS=""
13330 FFI_PC_PACKAGES=""
13331 if test x"$have_ffi_pkgconfig" = xyes ; then
13332     FFI_PC_PACKAGES="libffi"
13333 else
13334   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ffi.h" >&5
13335 $as_echo_n "checking for ffi.h... " >&6; }
13336
13337   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13338 /* end confdefs.h.  */
13339 #include <ffi.h>
13340 _ACEOF
13341 if ac_fn_c_try_cpp "$LINENO"; then :
13342   have_ffi_h=yes
13343 else
13344   have_ffi_h=no
13345 fi
13346 rm -f conftest.err conftest.i conftest.$ac_ext
13347   if test x"$have_ffi_h" = x"yes"; then
13348
13349     save_LIBS=$LIBS
13350     if test x"$with_ffi" = x"yes" || test x"$with_ffi" = x"auto"; then
13351       other_LIBS=
13352     else
13353       other_LIBS=$with_ffi
13354     fi
13355
13356     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing ffi_call" >&5
13357 $as_echo_n "checking for library containing ffi_call... " >&6; }
13358 if ${ac_cv_search_ffi_call+:} false; then :
13359   $as_echo_n "(cached) " >&6
13360 else
13361   ac_func_search_save_LIBS=$LIBS
13362 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13363 /* end confdefs.h.  */
13364
13365 /* Override any GCC internal prototype to avoid an error.
13366    Use char because int might match the return type of a GCC
13367    builtin and then its argument prototype would still apply.  */
13368 #ifdef __cplusplus
13369 extern "C"
13370 #endif
13371 char ffi_call ();
13372 int
13373 main ()
13374 {
13375 return ffi_call ();
13376   ;
13377   return 0;
13378 }
13379 _ACEOF
13380 for ac_lib in '' ffi; do
13381   if test -z "$ac_lib"; then
13382     ac_res="none required"
13383   else
13384     ac_res=-l$ac_lib
13385     LIBS="-l$ac_lib $other_LIBS $ac_func_search_save_LIBS"
13386   fi
13387   if ac_fn_c_try_link "$LINENO"; then :
13388   ac_cv_search_ffi_call=$ac_res
13389 fi
13390 rm -f core conftest.err conftest.$ac_objext \
13391     conftest$ac_exeext
13392   if ${ac_cv_search_ffi_call+:} false; then :
13393   break
13394 fi
13395 done
13396 if ${ac_cv_search_ffi_call+:} false; then :
13397
13398 else
13399   ac_cv_search_ffi_call=no
13400 fi
13401 rm conftest.$ac_ext
13402 LIBS=$ac_func_search_save_LIBS
13403 fi
13404 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_ffi_call" >&5
13405 $as_echo "$ac_cv_search_ffi_call" >&6; }
13406 ac_res=$ac_cv_search_ffi_call
13407 if test "$ac_res" != no; then :
13408   test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
13409
13410 else
13411   as_fn_error $? "libffi not found" "$LINENO" 5
13412 fi
13413
13414     if test x"$ac_cv_search_ffi_call" = x"none required" ; then
13415       FFI_LIBS=$other_LIBS
13416     else
13417       FFI_LIBS="$ac_cv_search_ffi_call $other_LIBS"
13418     fi
13419
13420     LIBS=$save_LIBS
13421   fi
13422   if test x"$have_ffi_h" != x"yes" ; then
13423     as_fn_error $? "ffi.h not found" "$LINENO" 5
13424   fi
13425
13426   FFI_PC_LIBS=$FFI_LIBS
13427   FFI_PC_CFLAGS=$FFI_CFLAGS
13428   FFI_CFLAGS=
13429   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $have_ffi_h" >&5
13430 $as_echo "$have_ffi_h" >&6; }
13431
13432
13433 fi
13434
13435
13436
13437
13438 # The cast to long int works around a bug in the HP C Compiler
13439 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
13440 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
13441 # This bug is HP SR number 8606223364.
13442 { $as_echo "$as_me:${as_lineno-$LINENO}: checking size of char" >&5
13443 $as_echo_n "checking size of char... " >&6; }
13444 if ${ac_cv_sizeof_char+:} false; then :
13445   $as_echo_n "(cached) " >&6
13446 else
13447   if ac_fn_c_compute_int "$LINENO" "(long int) (sizeof (char))" "ac_cv_sizeof_char"        "$ac_includes_default"; then :
13448
13449 else
13450   if test "$ac_cv_type_char" = yes; then
13451      { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
13452 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
13453 as_fn_error 77 "cannot compute sizeof (char)
13454 See \`config.log' for more details" "$LINENO" 5; }
13455    else
13456      ac_cv_sizeof_char=0
13457    fi
13458 fi
13459
13460 fi
13461 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_char" >&5
13462 $as_echo "$ac_cv_sizeof_char" >&6; }
13463
13464
13465
13466 cat >>confdefs.h <<_ACEOF
13467 #define SIZEOF_CHAR $ac_cv_sizeof_char
13468 _ACEOF
13469
13470
13471 # The cast to long int works around a bug in the HP C Compiler
13472 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
13473 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
13474 # This bug is HP SR number 8606223364.
13475 { $as_echo "$as_me:${as_lineno-$LINENO}: checking size of short" >&5
13476 $as_echo_n "checking size of short... " >&6; }
13477 if ${ac_cv_sizeof_short+:} false; then :
13478   $as_echo_n "(cached) " >&6
13479 else
13480   if ac_fn_c_compute_int "$LINENO" "(long int) (sizeof (short))" "ac_cv_sizeof_short"        "$ac_includes_default"; then :
13481
13482 else
13483   if test "$ac_cv_type_short" = yes; then
13484      { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
13485 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
13486 as_fn_error 77 "cannot compute sizeof (short)
13487 See \`config.log' for more details" "$LINENO" 5; }
13488    else
13489      ac_cv_sizeof_short=0
13490    fi
13491 fi
13492
13493 fi
13494 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_short" >&5
13495 $as_echo "$ac_cv_sizeof_short" >&6; }
13496
13497
13498
13499 cat >>confdefs.h <<_ACEOF
13500 #define SIZEOF_SHORT $ac_cv_sizeof_short
13501 _ACEOF
13502
13503
13504 # The cast to long int works around a bug in the HP C Compiler
13505 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
13506 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
13507 # This bug is HP SR number 8606223364.
13508 { $as_echo "$as_me:${as_lineno-$LINENO}: checking size of int" >&5
13509 $as_echo_n "checking size of int... " >&6; }
13510 if ${ac_cv_sizeof_int+:} false; then :
13511   $as_echo_n "(cached) " >&6
13512 else
13513   if ac_fn_c_compute_int "$LINENO" "(long int) (sizeof (int))" "ac_cv_sizeof_int"        "$ac_includes_default"; then :
13514
13515 else
13516   if test "$ac_cv_type_int" = yes; then
13517      { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
13518 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
13519 as_fn_error 77 "cannot compute sizeof (int)
13520 See \`config.log' for more details" "$LINENO" 5; }
13521    else
13522      ac_cv_sizeof_int=0
13523    fi
13524 fi
13525
13526 fi
13527 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_int" >&5
13528 $as_echo "$ac_cv_sizeof_int" >&6; }
13529
13530
13531
13532 cat >>confdefs.h <<_ACEOF
13533 #define SIZEOF_INT $ac_cv_sizeof_int
13534 _ACEOF
13535
13536
13537 # The cast to long int works around a bug in the HP C Compiler
13538 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
13539 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
13540 # This bug is HP SR number 8606223364.
13541 { $as_echo "$as_me:${as_lineno-$LINENO}: checking size of long" >&5
13542 $as_echo_n "checking size of long... " >&6; }
13543 if ${ac_cv_sizeof_long+:} false; then :
13544   $as_echo_n "(cached) " >&6
13545 else
13546   if ac_fn_c_compute_int "$LINENO" "(long int) (sizeof (long))" "ac_cv_sizeof_long"        "$ac_includes_default"; then :
13547
13548 else
13549   if test "$ac_cv_type_long" = yes; then
13550      { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
13551 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
13552 as_fn_error 77 "cannot compute sizeof (long)
13553 See \`config.log' for more details" "$LINENO" 5; }
13554    else
13555      ac_cv_sizeof_long=0
13556    fi
13557 fi
13558
13559 fi
13560 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_long" >&5
13561 $as_echo "$ac_cv_sizeof_long" >&6; }
13562
13563
13564
13565 cat >>confdefs.h <<_ACEOF
13566 #define SIZEOF_LONG $ac_cv_sizeof_long
13567 _ACEOF
13568
13569
13570
13571
13572 pkg_failed=no
13573 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GIREPO" >&5
13574 $as_echo_n "checking for GIREPO... " >&6; }
13575
13576 if test -n "$GIREPO_CFLAGS"; then
13577     pkg_cv_GIREPO_CFLAGS="$GIREPO_CFLAGS"
13578  elif test -n "$PKG_CONFIG"; then
13579     if test -n "$PKG_CONFIG" && \
13580     { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"glib-2.0 >= 2.24.0 gobject-2.0 gmodule-2.0 gio-2.0\""; } >&5
13581   ($PKG_CONFIG --exists --print-errors "glib-2.0 >= 2.24.0 gobject-2.0 gmodule-2.0 gio-2.0") 2>&5
13582   ac_status=$?
13583   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
13584   test $ac_status = 0; }; then
13585   pkg_cv_GIREPO_CFLAGS=`$PKG_CONFIG --cflags "glib-2.0 >= 2.24.0 gobject-2.0 gmodule-2.0 gio-2.0" 2>/dev/null`
13586                       test "x$?" != "x0" && pkg_failed=yes
13587 else
13588   pkg_failed=yes
13589 fi
13590  else
13591     pkg_failed=untried
13592 fi
13593 if test -n "$GIREPO_LIBS"; then
13594     pkg_cv_GIREPO_LIBS="$GIREPO_LIBS"
13595  elif test -n "$PKG_CONFIG"; then
13596     if test -n "$PKG_CONFIG" && \
13597     { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"glib-2.0 >= 2.24.0 gobject-2.0 gmodule-2.0 gio-2.0\""; } >&5
13598   ($PKG_CONFIG --exists --print-errors "glib-2.0 >= 2.24.0 gobject-2.0 gmodule-2.0 gio-2.0") 2>&5
13599   ac_status=$?
13600   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
13601   test $ac_status = 0; }; then
13602   pkg_cv_GIREPO_LIBS=`$PKG_CONFIG --libs "glib-2.0 >= 2.24.0 gobject-2.0 gmodule-2.0 gio-2.0" 2>/dev/null`
13603                       test "x$?" != "x0" && pkg_failed=yes
13604 else
13605   pkg_failed=yes
13606 fi
13607  else
13608     pkg_failed=untried
13609 fi
13610
13611
13612
13613 if test $pkg_failed = yes; then
13614         { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
13615 $as_echo "no" >&6; }
13616
13617 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
13618         _pkg_short_errors_supported=yes
13619 else
13620         _pkg_short_errors_supported=no
13621 fi
13622         if test $_pkg_short_errors_supported = yes; then
13623                 GIREPO_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "glib-2.0 >= 2.24.0 gobject-2.0 gmodule-2.0 gio-2.0" 2>&1`
13624         else
13625                 GIREPO_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "glib-2.0 >= 2.24.0 gobject-2.0 gmodule-2.0 gio-2.0" 2>&1`
13626         fi
13627         # Put the nasty error message in config.log where it belongs
13628         echo "$GIREPO_PKG_ERRORS" >&5
13629
13630         as_fn_error $? "Package requirements (glib-2.0 >= 2.24.0 gobject-2.0 gmodule-2.0 gio-2.0) were not met:
13631
13632 $GIREPO_PKG_ERRORS
13633
13634 Consider adjusting the PKG_CONFIG_PATH environment variable if you
13635 installed software in a non-standard prefix.
13636
13637 Alternatively, you may set the environment variables GIREPO_CFLAGS
13638 and GIREPO_LIBS to avoid the need to call pkg-config.
13639 See the pkg-config man page for more details." "$LINENO" 5
13640 elif test $pkg_failed = untried; then
13641         { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
13642 $as_echo "no" >&6; }
13643         { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
13644 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
13645 as_fn_error $? "The pkg-config script could not be found or is too old.  Make sure it
13646 is in your PATH or set the PKG_CONFIG environment variable to the full
13647 path to pkg-config.
13648
13649 Alternatively, you may set the environment variables GIREPO_CFLAGS
13650 and GIREPO_LIBS to avoid the need to call pkg-config.
13651 See the pkg-config man page for more details.
13652
13653 To get pkg-config, see <http://pkg-config.freedesktop.org/>.
13654 See \`config.log' for more details" "$LINENO" 5; }
13655 else
13656         GIREPO_CFLAGS=$pkg_cv_GIREPO_CFLAGS
13657         GIREPO_LIBS=$pkg_cv_GIREPO_LIBS
13658         { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
13659 $as_echo "yes" >&6; }
13660
13661 fi
13662
13663 # if we ever remove manual check for ffi and require .pc file, then
13664 # just put libffi in the PKG_CHECK_MODULES(GIREPO) deps
13665 GIREPO_LIBS="$GIREPO_LIBS $GCOV_LIBS $FFI_LIBS"
13666 GIREPO_CFLAGS="$GIREPO_CFLAGS $FFI_CFLAGS"
13667
13668 GIREPO_CFLAGS="$GIREPO_CFLAGS $GCOV_CFLAGS"
13669
13670 # gtk-doc
13671 # gtkdocize greps for ^GTK_DOC_CHECK and parses it, so you need to have
13672 # it on it's own line.
13673
13674
13675
13676
13677     # Extract the first word of "gtkdoc-check", so it can be a program name with args.
13678 set dummy gtkdoc-check; ac_word=$2
13679 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
13680 $as_echo_n "checking for $ac_word... " >&6; }
13681 if ${ac_cv_path_GTKDOC_CHECK+:} false; then :
13682   $as_echo_n "(cached) " >&6
13683 else
13684   case $GTKDOC_CHECK in
13685   [\\/]* | ?:[\\/]*)
13686   ac_cv_path_GTKDOC_CHECK="$GTKDOC_CHECK" # Let the user override the test with a path.
13687   ;;
13688   *)
13689   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
13690 for as_dir in $PATH
13691 do
13692   IFS=$as_save_IFS
13693   test -z "$as_dir" && as_dir=.
13694     for ac_exec_ext in '' $ac_executable_extensions; do
13695   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
13696     ac_cv_path_GTKDOC_CHECK="$as_dir/$ac_word$ac_exec_ext"
13697     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
13698     break 2
13699   fi
13700 done
13701   done
13702 IFS=$as_save_IFS
13703
13704   ;;
13705 esac
13706 fi
13707 GTKDOC_CHECK=$ac_cv_path_GTKDOC_CHECK
13708 if test -n "$GTKDOC_CHECK"; then
13709   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $GTKDOC_CHECK" >&5
13710 $as_echo "$GTKDOC_CHECK" >&6; }
13711 else
13712   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
13713 $as_echo "no" >&6; }
13714 fi
13715
13716
13717   for ac_prog in gtkdoc-rebase
13718 do
13719   # Extract the first word of "$ac_prog", so it can be a program name with args.
13720 set dummy $ac_prog; ac_word=$2
13721 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
13722 $as_echo_n "checking for $ac_word... " >&6; }
13723 if ${ac_cv_path_GTKDOC_REBASE+:} false; then :
13724   $as_echo_n "(cached) " >&6
13725 else
13726   case $GTKDOC_REBASE in
13727   [\\/]* | ?:[\\/]*)
13728   ac_cv_path_GTKDOC_REBASE="$GTKDOC_REBASE" # Let the user override the test with a path.
13729   ;;
13730   *)
13731   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
13732 for as_dir in $PATH
13733 do
13734   IFS=$as_save_IFS
13735   test -z "$as_dir" && as_dir=.
13736     for ac_exec_ext in '' $ac_executable_extensions; do
13737   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
13738     ac_cv_path_GTKDOC_REBASE="$as_dir/$ac_word$ac_exec_ext"
13739     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
13740     break 2
13741   fi
13742 done
13743   done
13744 IFS=$as_save_IFS
13745
13746   ;;
13747 esac
13748 fi
13749 GTKDOC_REBASE=$ac_cv_path_GTKDOC_REBASE
13750 if test -n "$GTKDOC_REBASE"; then
13751   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $GTKDOC_REBASE" >&5
13752 $as_echo "$GTKDOC_REBASE" >&6; }
13753 else
13754   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
13755 $as_echo "no" >&6; }
13756 fi
13757
13758
13759   test -n "$GTKDOC_REBASE" && break
13760 done
13761 test -n "$GTKDOC_REBASE" || GTKDOC_REBASE="true"
13762
13763   # Extract the first word of "gtkdoc-mkpdf", so it can be a program name with args.
13764 set dummy gtkdoc-mkpdf; ac_word=$2
13765 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
13766 $as_echo_n "checking for $ac_word... " >&6; }
13767 if ${ac_cv_path_GTKDOC_MKPDF+:} false; then :
13768   $as_echo_n "(cached) " >&6
13769 else
13770   case $GTKDOC_MKPDF in
13771   [\\/]* | ?:[\\/]*)
13772   ac_cv_path_GTKDOC_MKPDF="$GTKDOC_MKPDF" # Let the user override the test with a path.
13773   ;;
13774   *)
13775   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
13776 for as_dir in $PATH
13777 do
13778   IFS=$as_save_IFS
13779   test -z "$as_dir" && as_dir=.
13780     for ac_exec_ext in '' $ac_executable_extensions; do
13781   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
13782     ac_cv_path_GTKDOC_MKPDF="$as_dir/$ac_word$ac_exec_ext"
13783     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
13784     break 2
13785   fi
13786 done
13787   done
13788 IFS=$as_save_IFS
13789
13790   ;;
13791 esac
13792 fi
13793 GTKDOC_MKPDF=$ac_cv_path_GTKDOC_MKPDF
13794 if test -n "$GTKDOC_MKPDF"; then
13795   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $GTKDOC_MKPDF" >&5
13796 $as_echo "$GTKDOC_MKPDF" >&6; }
13797 else
13798   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
13799 $as_echo "no" >&6; }
13800 fi
13801
13802
13803
13804
13805 # Check whether --with-html-dir was given.
13806 if test "${with_html_dir+set}" = set; then :
13807   withval=$with_html_dir;
13808 else
13809   with_html_dir='${datadir}/gtk-doc/html'
13810 fi
13811
13812   HTML_DIR="$with_html_dir"
13813
13814
13815     # Check whether --enable-gtk-doc was given.
13816 if test "${enable_gtk_doc+set}" = set; then :
13817   enableval=$enable_gtk_doc;
13818 else
13819   enable_gtk_doc=no
13820 fi
13821
13822
13823   if test x$enable_gtk_doc = xyes; then
13824     if test -n "$PKG_CONFIG" && \
13825     { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"gtk-doc >= 1.15\""; } >&5
13826   ($PKG_CONFIG --exists --print-errors "gtk-doc >= 1.15") 2>&5
13827   ac_status=$?
13828   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
13829   test $ac_status = 0; }; then
13830   :
13831 else
13832   as_fn_error $? "You need to have gtk-doc >= 1.15 installed to build $PACKAGE_NAME" "$LINENO" 5
13833 fi
13834         if test "x$PACKAGE_NAME" != "xglib"; then
13835
13836 pkg_failed=no
13837 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GTKDOC_DEPS" >&5
13838 $as_echo_n "checking for GTKDOC_DEPS... " >&6; }
13839
13840 if test -n "$GTKDOC_DEPS_CFLAGS"; then
13841     pkg_cv_GTKDOC_DEPS_CFLAGS="$GTKDOC_DEPS_CFLAGS"
13842  elif test -n "$PKG_CONFIG"; then
13843     if test -n "$PKG_CONFIG" && \
13844     { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"glib-2.0 >= 2.10.0 gobject-2.0  >= 2.10.0\""; } >&5
13845   ($PKG_CONFIG --exists --print-errors "glib-2.0 >= 2.10.0 gobject-2.0  >= 2.10.0") 2>&5
13846   ac_status=$?
13847   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
13848   test $ac_status = 0; }; then
13849   pkg_cv_GTKDOC_DEPS_CFLAGS=`$PKG_CONFIG --cflags "glib-2.0 >= 2.10.0 gobject-2.0  >= 2.10.0" 2>/dev/null`
13850                       test "x$?" != "x0" && pkg_failed=yes
13851 else
13852   pkg_failed=yes
13853 fi
13854  else
13855     pkg_failed=untried
13856 fi
13857 if test -n "$GTKDOC_DEPS_LIBS"; then
13858     pkg_cv_GTKDOC_DEPS_LIBS="$GTKDOC_DEPS_LIBS"
13859  elif test -n "$PKG_CONFIG"; then
13860     if test -n "$PKG_CONFIG" && \
13861     { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"glib-2.0 >= 2.10.0 gobject-2.0  >= 2.10.0\""; } >&5
13862   ($PKG_CONFIG --exists --print-errors "glib-2.0 >= 2.10.0 gobject-2.0  >= 2.10.0") 2>&5
13863   ac_status=$?
13864   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
13865   test $ac_status = 0; }; then
13866   pkg_cv_GTKDOC_DEPS_LIBS=`$PKG_CONFIG --libs "glib-2.0 >= 2.10.0 gobject-2.0  >= 2.10.0" 2>/dev/null`
13867                       test "x$?" != "x0" && pkg_failed=yes
13868 else
13869   pkg_failed=yes
13870 fi
13871  else
13872     pkg_failed=untried
13873 fi
13874
13875
13876
13877 if test $pkg_failed = yes; then
13878         { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
13879 $as_echo "no" >&6; }
13880
13881 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
13882         _pkg_short_errors_supported=yes
13883 else
13884         _pkg_short_errors_supported=no
13885 fi
13886         if test $_pkg_short_errors_supported = yes; then
13887                 GTKDOC_DEPS_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "glib-2.0 >= 2.10.0 gobject-2.0  >= 2.10.0" 2>&1`
13888         else
13889                 GTKDOC_DEPS_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "glib-2.0 >= 2.10.0 gobject-2.0  >= 2.10.0" 2>&1`
13890         fi
13891         # Put the nasty error message in config.log where it belongs
13892         echo "$GTKDOC_DEPS_PKG_ERRORS" >&5
13893
13894         :
13895 elif test $pkg_failed = untried; then
13896         { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
13897 $as_echo "no" >&6; }
13898         :
13899 else
13900         GTKDOC_DEPS_CFLAGS=$pkg_cv_GTKDOC_DEPS_CFLAGS
13901         GTKDOC_DEPS_LIBS=$pkg_cv_GTKDOC_DEPS_LIBS
13902         { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
13903 $as_echo "yes" >&6; }
13904
13905 fi
13906     fi
13907   fi
13908
13909   { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build gtk-doc documentation" >&5
13910 $as_echo_n "checking whether to build gtk-doc documentation... " >&6; }
13911   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_gtk_doc" >&5
13912 $as_echo "$enable_gtk_doc" >&6; }
13913
13914     # Check whether --enable-gtk-doc-html was given.
13915 if test "${enable_gtk_doc_html+set}" = set; then :
13916   enableval=$enable_gtk_doc_html;
13917 else
13918   enable_gtk_doc_html=yes
13919 fi
13920
13921     # Check whether --enable-gtk-doc-pdf was given.
13922 if test "${enable_gtk_doc_pdf+set}" = set; then :
13923   enableval=$enable_gtk_doc_pdf;
13924 else
13925   enable_gtk_doc_pdf=no
13926 fi
13927
13928
13929   if test -z "$GTKDOC_MKPDF"; then
13930     enable_gtk_doc_pdf=no
13931   fi
13932
13933   if test -z "$AM_DEFAULT_VERBOSITY"; then
13934     AM_DEFAULT_VERBOSITY=1
13935   fi
13936
13937
13938    if test x$enable_gtk_doc = xyes; then
13939   ENABLE_GTK_DOC_TRUE=
13940   ENABLE_GTK_DOC_FALSE='#'
13941 else
13942   ENABLE_GTK_DOC_TRUE='#'
13943   ENABLE_GTK_DOC_FALSE=
13944 fi
13945
13946    if test x$enable_gtk_doc_html = xyes; then
13947   GTK_DOC_BUILD_HTML_TRUE=
13948   GTK_DOC_BUILD_HTML_FALSE='#'
13949 else
13950   GTK_DOC_BUILD_HTML_TRUE='#'
13951   GTK_DOC_BUILD_HTML_FALSE=
13952 fi
13953
13954    if test x$enable_gtk_doc_pdf = xyes; then
13955   GTK_DOC_BUILD_PDF_TRUE=
13956   GTK_DOC_BUILD_PDF_FALSE='#'
13957 else
13958   GTK_DOC_BUILD_PDF_TRUE='#'
13959   GTK_DOC_BUILD_PDF_FALSE=
13960 fi
13961
13962    if test -n "$LIBTOOL"; then
13963   GTK_DOC_USE_LIBTOOL_TRUE=
13964   GTK_DOC_USE_LIBTOOL_FALSE='#'
13965 else
13966   GTK_DOC_USE_LIBTOOL_TRUE='#'
13967   GTK_DOC_USE_LIBTOOL_FALSE=
13968 fi
13969
13970    if test -n "$GTKDOC_REBASE"; then
13971   GTK_DOC_USE_REBASE_TRUE=
13972   GTK_DOC_USE_REBASE_FALSE='#'
13973 else
13974   GTK_DOC_USE_REBASE_TRUE='#'
13975   GTK_DOC_USE_REBASE_FALSE=
13976 fi
13977
13978
13979
13980
13981 # Checks for header files.
13982 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5
13983 $as_echo_n "checking for ANSI C header files... " >&6; }
13984 if ${ac_cv_header_stdc+:} false; then :
13985   $as_echo_n "(cached) " >&6
13986 else
13987   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13988 /* end confdefs.h.  */
13989 #include <stdlib.h>
13990 #include <stdarg.h>
13991 #include <string.h>
13992 #include <float.h>
13993
13994 int
13995 main ()
13996 {
13997
13998   ;
13999   return 0;
14000 }
14001 _ACEOF
14002 if ac_fn_c_try_compile "$LINENO"; then :
14003   ac_cv_header_stdc=yes
14004 else
14005   ac_cv_header_stdc=no
14006 fi
14007 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
14008
14009 if test $ac_cv_header_stdc = yes; then
14010   # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
14011   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14012 /* end confdefs.h.  */
14013 #include <string.h>
14014
14015 _ACEOF
14016 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
14017   $EGREP "memchr" >/dev/null 2>&1; then :
14018
14019 else
14020   ac_cv_header_stdc=no
14021 fi
14022 rm -f conftest*
14023
14024 fi
14025
14026 if test $ac_cv_header_stdc = yes; then
14027   # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
14028   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14029 /* end confdefs.h.  */
14030 #include <stdlib.h>
14031
14032 _ACEOF
14033 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
14034   $EGREP "free" >/dev/null 2>&1; then :
14035
14036 else
14037   ac_cv_header_stdc=no
14038 fi
14039 rm -f conftest*
14040
14041 fi
14042
14043 if test $ac_cv_header_stdc = yes; then
14044   # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
14045   if test "$cross_compiling" = yes; then :
14046   :
14047 else
14048   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14049 /* end confdefs.h.  */
14050 #include <ctype.h>
14051 #include <stdlib.h>
14052 #if ((' ' & 0x0FF) == 0x020)
14053 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
14054 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
14055 #else
14056 # define ISLOWER(c) \
14057                    (('a' <= (c) && (c) <= 'i') \
14058                      || ('j' <= (c) && (c) <= 'r') \
14059                      || ('s' <= (c) && (c) <= 'z'))
14060 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
14061 #endif
14062
14063 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
14064 int
14065 main ()
14066 {
14067   int i;
14068   for (i = 0; i < 256; i++)
14069     if (XOR (islower (i), ISLOWER (i))
14070         || toupper (i) != TOUPPER (i))
14071       return 2;
14072   return 0;
14073 }
14074 _ACEOF
14075 if ac_fn_c_try_run "$LINENO"; then :
14076
14077 else
14078   ac_cv_header_stdc=no
14079 fi
14080 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
14081   conftest.$ac_objext conftest.beam conftest.$ac_ext
14082 fi
14083
14084 fi
14085 fi
14086 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdc" >&5
14087 $as_echo "$ac_cv_header_stdc" >&6; }
14088 if test $ac_cv_header_stdc = yes; then
14089
14090 $as_echo "#define STDC_HEADERS 1" >>confdefs.h
14091
14092 fi
14093
14094 for ac_header in fcntl.h stdlib.h string.h
14095 do :
14096   as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
14097 ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
14098 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
14099   cat >>confdefs.h <<_ACEOF
14100 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
14101 _ACEOF
14102
14103 fi
14104
14105 done
14106
14107
14108 # Checks for typedefs, structures, and compiler characteristics.
14109 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for an ANSI C-conforming const" >&5
14110 $as_echo_n "checking for an ANSI C-conforming const... " >&6; }
14111 if ${ac_cv_c_const+:} false; then :
14112   $as_echo_n "(cached) " >&6
14113 else
14114   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14115 /* end confdefs.h.  */
14116
14117 int
14118 main ()
14119 {
14120
14121 #ifndef __cplusplus
14122   /* Ultrix mips cc rejects this sort of thing.  */
14123   typedef int charset[2];
14124   const charset cs = { 0, 0 };
14125   /* SunOS 4.1.1 cc rejects this.  */
14126   char const *const *pcpcc;
14127   char **ppc;
14128   /* NEC SVR4.0.2 mips cc rejects this.  */
14129   struct point {int x, y;};
14130   static struct point const zero = {0,0};
14131   /* AIX XL C 1.02.0.0 rejects this.
14132      It does not let you subtract one const X* pointer from another in
14133      an arm of an if-expression whose if-part is not a constant
14134      expression */
14135   const char *g = "string";
14136   pcpcc = &g + (g ? g-g : 0);
14137   /* HPUX 7.0 cc rejects these. */
14138   ++pcpcc;
14139   ppc = (char**) pcpcc;
14140   pcpcc = (char const *const *) ppc;
14141   { /* SCO 3.2v4 cc rejects this sort of thing.  */
14142     char tx;
14143     char *t = &tx;
14144     char const *s = 0 ? (char *) 0 : (char const *) 0;
14145
14146     *t++ = 0;
14147     if (s) return 0;
14148   }
14149   { /* Someone thinks the Sun supposedly-ANSI compiler will reject this.  */
14150     int x[] = {25, 17};
14151     const int *foo = &x[0];
14152     ++foo;
14153   }
14154   { /* Sun SC1.0 ANSI compiler rejects this -- but not the above. */
14155     typedef const int *iptr;
14156     iptr p = 0;
14157     ++p;
14158   }
14159   { /* AIX XL C 1.02.0.0 rejects this sort of thing, saying
14160        "k.c", line 2.27: 1506-025 (S) Operand must be a modifiable lvalue. */
14161     struct s { int j; const int *ap[3]; } bx;
14162     struct s *b = &bx; b->j = 5;
14163   }
14164   { /* ULTRIX-32 V3.1 (Rev 9) vcc rejects this */
14165     const int foo = 10;
14166     if (!foo) return 0;
14167   }
14168   return !cs[0] && !zero.x;
14169 #endif
14170
14171   ;
14172   return 0;
14173 }
14174 _ACEOF
14175 if ac_fn_c_try_compile "$LINENO"; then :
14176   ac_cv_c_const=yes
14177 else
14178   ac_cv_c_const=no
14179 fi
14180 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
14181 fi
14182 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_const" >&5
14183 $as_echo "$ac_cv_c_const" >&6; }
14184 if test $ac_cv_c_const = no; then
14185
14186 $as_echo "#define const /**/" >>confdefs.h
14187
14188 fi
14189
14190
14191 # Checks for library functions.
14192 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for working strtod" >&5
14193 $as_echo_n "checking for working strtod... " >&6; }
14194 if ${ac_cv_func_strtod+:} false; then :
14195   $as_echo_n "(cached) " >&6
14196 else
14197   if test "$cross_compiling" = yes; then :
14198   ac_cv_func_strtod=no
14199 else
14200   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14201 /* end confdefs.h.  */
14202
14203 $ac_includes_default
14204 #ifndef strtod
14205 double strtod ();
14206 #endif
14207 int
14208 main()
14209 {
14210   {
14211     /* Some versions of Linux strtod mis-parse strings with leading '+'.  */
14212     char *string = " +69";
14213     char *term;
14214     double value;
14215     value = strtod (string, &term);
14216     if (value != 69 || term != (string + 4))
14217       return 1;
14218   }
14219
14220   {
14221     /* Under Solaris 2.4, strtod returns the wrong value for the
14222        terminating character under some conditions.  */
14223     char *string = "NaN";
14224     char *term;
14225     strtod (string, &term);
14226     if (term != string && *(term - 1) == 0)
14227       return 1;
14228   }
14229   return 0;
14230 }
14231
14232 _ACEOF
14233 if ac_fn_c_try_run "$LINENO"; then :
14234   ac_cv_func_strtod=yes
14235 else
14236   ac_cv_func_strtod=no
14237 fi
14238 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
14239   conftest.$ac_objext conftest.beam conftest.$ac_ext
14240 fi
14241
14242 fi
14243 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_func_strtod" >&5
14244 $as_echo "$ac_cv_func_strtod" >&6; }
14245 if test $ac_cv_func_strtod = no; then
14246   case " $LIBOBJS " in
14247   *" strtod.$ac_objext "* ) ;;
14248   *) LIBOBJS="$LIBOBJS strtod.$ac_objext"
14249  ;;
14250 esac
14251
14252 ac_fn_c_check_func "$LINENO" "pow" "ac_cv_func_pow"
14253 if test "x$ac_cv_func_pow" = xyes; then :
14254
14255 fi
14256
14257 if test $ac_cv_func_pow = no; then
14258   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for pow in -lm" >&5
14259 $as_echo_n "checking for pow in -lm... " >&6; }
14260 if ${ac_cv_lib_m_pow+:} false; then :
14261   $as_echo_n "(cached) " >&6
14262 else
14263   ac_check_lib_save_LIBS=$LIBS
14264 LIBS="-lm  $LIBS"
14265 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14266 /* end confdefs.h.  */
14267
14268 /* Override any GCC internal prototype to avoid an error.
14269    Use char because int might match the return type of a GCC
14270    builtin and then its argument prototype would still apply.  */
14271 #ifdef __cplusplus
14272 extern "C"
14273 #endif
14274 char pow ();
14275 int
14276 main ()
14277 {
14278 return pow ();
14279   ;
14280   return 0;
14281 }
14282 _ACEOF
14283 if ac_fn_c_try_link "$LINENO"; then :
14284   ac_cv_lib_m_pow=yes
14285 else
14286   ac_cv_lib_m_pow=no
14287 fi
14288 rm -f core conftest.err conftest.$ac_objext \
14289     conftest$ac_exeext conftest.$ac_ext
14290 LIBS=$ac_check_lib_save_LIBS
14291 fi
14292 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_pow" >&5
14293 $as_echo "$ac_cv_lib_m_pow" >&6; }
14294 if test "x$ac_cv_lib_m_pow" = xyes; then :
14295   POW_LIB=-lm
14296 else
14297   { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cannot find library containing definition of pow" >&5
14298 $as_echo "$as_me: WARNING: cannot find library containing definition of pow" >&2;}
14299 fi
14300
14301 fi
14302
14303 fi
14304
14305 for ac_func in memchr strchr strspn strstr strtol strtoull
14306 do :
14307   as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
14308 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
14309 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
14310   cat >>confdefs.h <<_ACEOF
14311 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
14312 _ACEOF
14313
14314 fi
14315 done
14316
14317 for ac_func in backtrace backtrace_symbols
14318 do :
14319   as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
14320 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
14321 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
14322   cat >>confdefs.h <<_ACEOF
14323 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
14324 _ACEOF
14325
14326 fi
14327 done
14328
14329
14330 # Python
14331
14332
14333
14334
14335
14336
14337         if test -n "$PYTHON"; then
14338       # If the user set $PYTHON, use it and don't search something else.
14339       { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $PYTHON version is >= 2.5" >&5
14340 $as_echo_n "checking whether $PYTHON version is >= 2.5... " >&6; }
14341       prog="import sys
14342 # split strings by '.' and convert to numeric.  Append some zeros
14343 # because we need at least 4 digits for the hex conversion.
14344 # map returns an iterator in Python 3.0 and a list in 2.x
14345 minver = list(map(int, '2.5'.split('.'))) + [0, 0, 0]
14346 minverhex = 0
14347 # xrange is not present in Python 3.0 and range returns an iterator
14348 for i in list(range(0, 4)): minverhex = (minverhex << 8) + minver[i]
14349 sys.exit(sys.hexversion < minverhex)"
14350   if { echo "$as_me:$LINENO: $PYTHON -c "$prog"" >&5
14351    ($PYTHON -c "$prog") >&5 2>&5
14352    ac_status=$?
14353    echo "$as_me:$LINENO: \$? = $ac_status" >&5
14354    (exit $ac_status); }; then :
14355   { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
14356 $as_echo "yes" >&6; }
14357 else
14358   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
14359 $as_echo "no" >&6; }
14360                                as_fn_error $? "Python interpreter is too old" "$LINENO" 5
14361 fi
14362       am_display_PYTHON=$PYTHON
14363     else
14364       # Otherwise, try each interpreter until we find one that satisfies
14365       # VERSION.
14366       { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a Python interpreter with version >= 2.5" >&5
14367 $as_echo_n "checking for a Python interpreter with version >= 2.5... " >&6; }
14368 if ${am_cv_pathless_PYTHON+:} false; then :
14369   $as_echo_n "(cached) " >&6
14370 else
14371
14372         for am_cv_pathless_PYTHON in python python2 python3 python3.3 python3.2 python3.1 python3.0 python2.7  python2.6 python2.5 python2.4 python2.3 python2.2 python2.1 python2.0 none; do
14373           test "$am_cv_pathless_PYTHON" = none && break
14374           prog="import sys
14375 # split strings by '.' and convert to numeric.  Append some zeros
14376 # because we need at least 4 digits for the hex conversion.
14377 # map returns an iterator in Python 3.0 and a list in 2.x
14378 minver = list(map(int, '2.5'.split('.'))) + [0, 0, 0]
14379 minverhex = 0
14380 # xrange is not present in Python 3.0 and range returns an iterator
14381 for i in list(range(0, 4)): minverhex = (minverhex << 8) + minver[i]
14382 sys.exit(sys.hexversion < minverhex)"
14383   if { echo "$as_me:$LINENO: $am_cv_pathless_PYTHON -c "$prog"" >&5
14384    ($am_cv_pathless_PYTHON -c "$prog") >&5 2>&5
14385    ac_status=$?
14386    echo "$as_me:$LINENO: \$? = $ac_status" >&5
14387    (exit $ac_status); }; then :
14388   break
14389 fi
14390         done
14391 fi
14392 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_pathless_PYTHON" >&5
14393 $as_echo "$am_cv_pathless_PYTHON" >&6; }
14394       # Set $PYTHON to the absolute path of $am_cv_pathless_PYTHON.
14395       if test "$am_cv_pathless_PYTHON" = none; then
14396         PYTHON=:
14397       else
14398         # Extract the first word of "$am_cv_pathless_PYTHON", so it can be a program name with args.
14399 set dummy $am_cv_pathless_PYTHON; ac_word=$2
14400 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
14401 $as_echo_n "checking for $ac_word... " >&6; }
14402 if ${ac_cv_path_PYTHON+:} false; then :
14403   $as_echo_n "(cached) " >&6
14404 else
14405   case $PYTHON in
14406   [\\/]* | ?:[\\/]*)
14407   ac_cv_path_PYTHON="$PYTHON" # Let the user override the test with a path.
14408   ;;
14409   *)
14410   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
14411 for as_dir in $PATH
14412 do
14413   IFS=$as_save_IFS
14414   test -z "$as_dir" && as_dir=.
14415     for ac_exec_ext in '' $ac_executable_extensions; do
14416   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
14417     ac_cv_path_PYTHON="$as_dir/$ac_word$ac_exec_ext"
14418     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
14419     break 2
14420   fi
14421 done
14422   done
14423 IFS=$as_save_IFS
14424
14425   ;;
14426 esac
14427 fi
14428 PYTHON=$ac_cv_path_PYTHON
14429 if test -n "$PYTHON"; then
14430   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PYTHON" >&5
14431 $as_echo "$PYTHON" >&6; }
14432 else
14433   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
14434 $as_echo "no" >&6; }
14435 fi
14436
14437
14438       fi
14439       am_display_PYTHON=$am_cv_pathless_PYTHON
14440     fi
14441
14442
14443   if test "$PYTHON" = :; then
14444       as_fn_error $? "no suitable Python interpreter found" "$LINENO" 5
14445   else
14446
14447
14448   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $am_display_PYTHON version" >&5
14449 $as_echo_n "checking for $am_display_PYTHON version... " >&6; }
14450 if ${am_cv_python_version+:} false; then :
14451   $as_echo_n "(cached) " >&6
14452 else
14453   am_cv_python_version=`$PYTHON -c "import sys; sys.stdout.write(sys.version[:3])"`
14454 fi
14455 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_python_version" >&5
14456 $as_echo "$am_cv_python_version" >&6; }
14457   PYTHON_VERSION=$am_cv_python_version
14458
14459
14460
14461   PYTHON_PREFIX='${prefix}'
14462
14463   PYTHON_EXEC_PREFIX='${exec_prefix}'
14464
14465
14466
14467   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $am_display_PYTHON platform" >&5
14468 $as_echo_n "checking for $am_display_PYTHON platform... " >&6; }
14469 if ${am_cv_python_platform+:} false; then :
14470   $as_echo_n "(cached) " >&6
14471 else
14472   am_cv_python_platform=`$PYTHON -c "import sys; sys.stdout.write(sys.platform)"`
14473 fi
14474 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_python_platform" >&5
14475 $as_echo "$am_cv_python_platform" >&6; }
14476   PYTHON_PLATFORM=$am_cv_python_platform
14477
14478
14479   # Just factor out some code duplication.
14480   am_python_setup_sysconfig="\
14481 import sys
14482 # Prefer sysconfig over distutils.sysconfig, for better compatibility
14483 # with python 3.x.  See automake bug#10227.
14484 try:
14485     import sysconfig
14486 except ImportError:
14487     can_use_sysconfig = 0
14488 else:
14489     can_use_sysconfig = 1
14490 # Can't use sysconfig in CPython 2.7, since it's broken in virtualenvs:
14491 # <https://github.com/pypa/virtualenv/issues/118>
14492 try:
14493     from platform import python_implementation
14494     if python_implementation() == 'CPython' and sys.version[:3] == '2.7':
14495         can_use_sysconfig = 0
14496 except ImportError:
14497     pass"
14498
14499
14500             { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $am_display_PYTHON script directory" >&5
14501 $as_echo_n "checking for $am_display_PYTHON script directory... " >&6; }
14502 if ${am_cv_python_pythondir+:} false; then :
14503   $as_echo_n "(cached) " >&6
14504 else
14505   if test "x$prefix" = xNONE
14506      then
14507        am_py_prefix=$ac_default_prefix
14508      else
14509        am_py_prefix=$prefix
14510      fi
14511      am_cv_python_pythondir=`$PYTHON -c "
14512 $am_python_setup_sysconfig
14513 if can_use_sysconfig:
14514     sitedir = sysconfig.get_path('purelib', vars={'base':'$am_py_prefix'})
14515 else:
14516     from distutils import sysconfig
14517     sitedir = sysconfig.get_python_lib(0, 0, prefix='$am_py_prefix')
14518 sys.stdout.write(sitedir)"`
14519      case $am_cv_python_pythondir in
14520      $am_py_prefix*)
14521        am__strip_prefix=`echo "$am_py_prefix" | sed 's|.|.|g'`
14522        am_cv_python_pythondir=`echo "$am_cv_python_pythondir" | sed "s,^$am__strip_prefix,$PYTHON_PREFIX,"`
14523        ;;
14524      *)
14525        case $am_py_prefix in
14526          /usr|/System*) ;;
14527          *)
14528           am_cv_python_pythondir=$PYTHON_PREFIX/lib/python$PYTHON_VERSION/site-packages
14529           ;;
14530        esac
14531        ;;
14532      esac
14533
14534 fi
14535 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_python_pythondir" >&5
14536 $as_echo "$am_cv_python_pythondir" >&6; }
14537   pythondir=$am_cv_python_pythondir
14538
14539
14540
14541   pkgpythondir=\${pythondir}/$PACKAGE
14542
14543
14544         { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $am_display_PYTHON extension module directory" >&5
14545 $as_echo_n "checking for $am_display_PYTHON extension module directory... " >&6; }
14546 if ${am_cv_python_pyexecdir+:} false; then :
14547   $as_echo_n "(cached) " >&6
14548 else
14549   if test "x$exec_prefix" = xNONE
14550      then
14551        am_py_exec_prefix=$am_py_prefix
14552      else
14553        am_py_exec_prefix=$exec_prefix
14554      fi
14555      am_cv_python_pyexecdir=`$PYTHON -c "
14556 $am_python_setup_sysconfig
14557 if can_use_sysconfig:
14558     sitedir = sysconfig.get_path('platlib', vars={'platbase':'$am_py_prefix'})
14559 else:
14560     from distutils import sysconfig
14561     sitedir = sysconfig.get_python_lib(1, 0, prefix='$am_py_prefix')
14562 sys.stdout.write(sitedir)"`
14563      case $am_cv_python_pyexecdir in
14564      $am_py_exec_prefix*)
14565        am__strip_prefix=`echo "$am_py_exec_prefix" | sed 's|.|.|g'`
14566        am_cv_python_pyexecdir=`echo "$am_cv_python_pyexecdir" | sed "s,^$am__strip_prefix,$PYTHON_EXEC_PREFIX,"`
14567        ;;
14568      *)
14569        case $am_py_exec_prefix in
14570          /usr|/System*) ;;
14571          *)
14572            am_cv_python_pyexecdir=$PYTHON_EXEC_PREFIX/lib/python$PYTHON_VERSION/site-packages
14573            ;;
14574        esac
14575        ;;
14576      esac
14577
14578 fi
14579 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_python_pyexecdir" >&5
14580 $as_echo "$am_cv_python_pyexecdir" >&6; }
14581   pyexecdir=$am_cv_python_pyexecdir
14582
14583
14584
14585   pkgpyexecdir=\${pyexecdir}/$PACKAGE
14586
14587
14588
14589   fi
14590
14591
14592 case "$host" in
14593 *-*-mingw*)
14594         # Change backslashes to forward slashes in pyexecdir to avoid
14595         # quoting issues
14596         pyexecdir=`echo $pyexecdir | tr '\\\\' '/'`
14597         ;;
14598 esac
14599
14600 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for headers required to compile python extensions" >&5
14601 $as_echo_n "checking for headers required to compile python extensions... " >&6; }
14602 PYTHON_INCLUDES=`$PYTHON-config --includes`
14603
14604 save_CPPFLAGS="$CPPFLAGS"
14605 CPPFLAGS="$CPPFLAGS $PYTHON_INCLUDES"
14606 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14607 /* end confdefs.h.  */
14608 #include <Python.h>
14609 _ACEOF
14610 if ac_fn_c_try_cpp "$LINENO"; then :
14611   { $as_echo "$as_me:${as_lineno-$LINENO}: result: found" >&5
14612 $as_echo "found" >&6; }
14613
14614 else
14615   { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
14616 $as_echo "not found" >&6; }
14617 as_fn_error $? "Python headers not found" "$LINENO" 5
14618 fi
14619 rm -f conftest.err conftest.i conftest.$ac_ext
14620 CPPFLAGS="$save_CPPFLAGS"
14621
14622 if test "x$os_win32" = "xyes"; then
14623
14624 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libraries required to link against libpython" >&5
14625 $as_echo_n "checking for libraries required to link against libpython... " >&6; }
14626 if test "x$PYTHON_LIBS" == x; then
14627         PYTHON_LIBS=`$PYTHON-config --ldflags --libs`
14628 fi
14629
14630 save_LIBS="$LIBS"
14631 LIBS="$LIBS $PYTHON_LIBS"
14632 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14633 /* end confdefs.h.  */
14634
14635 /* Override any GCC internal prototype to avoid an error.
14636    Use char because int might match the return type of a GCC
14637    builtin and then its argument prototype would still apply.  */
14638 #ifdef __cplusplus
14639 extern "C"
14640 #endif
14641 char Py_Initialize ();
14642 int
14643 main ()
14644 {
14645 return Py_Initialize ();
14646   ;
14647   return 0;
14648 }
14649 _ACEOF
14650 if ac_fn_c_try_link "$LINENO"; then :
14651            LIBS="$save_LIBS"; { $as_echo "$as_me:${as_lineno-$LINENO}: result: found" >&5
14652 $as_echo "found" >&6; };
14653 else
14654            LIBS="$save_LIBS"; { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
14655 $as_echo "not found" >&6; }; as_fn_error $? "Python libs not found. Windows requires Python modules to be explicitly linked to libpython." "$LINENO" 5
14656 fi
14657 rm -f core conftest.err conftest.$ac_objext \
14658     conftest$ac_exeext conftest.$ac_ext
14659
14660
14661 fi
14662
14663 # Check whether --enable-doctool was given.
14664 if test "${enable_doctool+set}" = set; then :
14665   enableval=$enable_doctool;
14666 else
14667   enable_doctool=auto
14668 fi
14669
14670 if  test x$enable_doctool != xno; then :
14671
14672
14673 py_mod_var=`echo mako'_' | sed 'y%./+-%__p_%'`
14674 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for python module mako" >&5
14675 $as_echo_n "checking for python module mako... " >&6; }
14676 if eval \${py_cv_mod_$py_mod_var+:} false; then :
14677   $as_echo_n "(cached) " >&6
14678 else
14679
14680 prog="
14681 import sys
14682 try:
14683         import mako
14684 except ImportError:
14685         sys.exit(1)
14686 except:
14687         sys.exit(0)
14688 sys.exit(0)"
14689 if $PYTHON -c "$prog" 1>&5 2>&5
14690   then
14691     eval "py_cv_mod_$py_mod_var=yes"
14692   else
14693     eval "py_cv_mod_$py_mod_var=no"
14694   fi
14695
14696 fi
14697
14698 py_val=`eval "echo \`echo '$py_cv_mod_'$py_mod_var\`"`
14699 if test "x$py_val" != xno; then
14700   { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
14701 $as_echo "yes" >&6; }
14702   have_python_mako=yes
14703 else
14704   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
14705 $as_echo "no" >&6; }
14706   have_python_mako=no
14707 fi
14708
14709
14710 fi
14711 if  test x$enable_doctool = xauto && test x$have_python_mako = xyes ; then :
14712    enable_doctool=yes
14713 elif  test x$enable_doctool = xauto && test x$have_python_mako = xno ; then :
14714    enable_doctool=no
14715 elif  test x$enable_doctool = xyes && test x$have_python_mako = xno ; then :
14716    as_fn_error $? "Python mako module not found" "$LINENO" 5
14717 fi
14718  if test x$enable_doctool != xno; then
14719   BUILD_DOCTOOL_TRUE=
14720   BUILD_DOCTOOL_FALSE='#'
14721 else
14722   BUILD_DOCTOOL_TRUE='#'
14723   BUILD_DOCTOOL_FALSE=
14724 fi
14725
14726
14727 # Glib documentation
14728
14729 GLIBSRC=
14730 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for glib source directory to use for documentation" >&5
14731 $as_echo_n "checking for glib source directory to use for documentation... " >&6; }
14732
14733
14734 # Check whether --with-glib-src was given.
14735 if test "${with_glib_src+set}" = set; then :
14736   withval=$with_glib_src; GLIBSRC=$withval
14737
14738 fi
14739
14740  if test x"$GLIBSRC" != x; then
14741   WITH_GLIBSRC_TRUE=
14742   WITH_GLIBSRC_FALSE='#'
14743 else
14744   WITH_GLIBSRC_TRUE='#'
14745   WITH_GLIBSRC_FALSE=
14746 fi
14747
14748
14749 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $GLIBSRC" >&5
14750 $as_echo "$GLIBSRC" >&6; }
14751
14752 # Check whether --enable-Bsymbolic was given.
14753 if test "${enable_Bsymbolic+set}" = set; then :
14754   enableval=$enable_Bsymbolic;
14755 else
14756   SAVED_LDFLAGS="${LDFLAGS}"
14757                { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -Bsymbolic-functions linker flag" >&5
14758 $as_echo_n "checking for -Bsymbolic-functions linker flag... " >&6; }
14759                LDFLAGS=-Wl,-Bsymbolic-functions
14760                cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14761 /* end confdefs.h.  */
14762
14763 int
14764 main ()
14765 {
14766 int main (void) { return 0; }
14767   ;
14768   return 0;
14769 }
14770 _ACEOF
14771 if ac_fn_c_try_link "$LINENO"; then :
14772   { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
14773 $as_echo "yes" >&6; }
14774                            enable_Bsymbolic=yes
14775 else
14776   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
14777 $as_echo "no" >&6; }
14778                            enable_Bsymbolic=no
14779 fi
14780 rm -f core conftest.err conftest.$ac_objext \
14781     conftest$ac_exeext conftest.$ac_ext
14782                LDFLAGS="${SAVED_LDFLAGS}"
14783 fi
14784
14785
14786 if test "x${enable_Bsymbolic}" = "xyes"; then
14787   EXTRA_LINK_FLAGS=-Wl,-Bsymbolic-functions
14788 fi
14789
14790
14791
14792 ac_config_files="$ac_config_files Makefile m4/Makefile tests/Makefile tests/offsets/Makefile tests/scanner/Makefile tests/repository/Makefile tests/warn/Makefile docs/Makefile docs/reference/Makefile gobject-introspection-1.0.pc gobject-introspection-no-export-1.0.pc config.h.win32 build/Makefile build/win32/Makefile build/win32/vs9/Makefile build/win32/vs10/Makefile"
14793
14794 cat >confcache <<\_ACEOF
14795 # This file is a shell script that caches the results of configure
14796 # tests run on this system so they can be shared between configure
14797 # scripts and configure runs, see configure's option --config-cache.
14798 # It is not useful on other systems.  If it contains results you don't
14799 # want to keep, you may remove or edit it.
14800 #
14801 # config.status only pays attention to the cache file if you give it
14802 # the --recheck option to rerun configure.
14803 #
14804 # `ac_cv_env_foo' variables (set or unset) will be overridden when
14805 # loading this file, other *unset* `ac_cv_foo' will be assigned the
14806 # following values.
14807
14808 _ACEOF
14809
14810 # The following way of writing the cache mishandles newlines in values,
14811 # but we know of no workaround that is simple, portable, and efficient.
14812 # So, we kill variables containing newlines.
14813 # Ultrix sh set writes to stderr and can't be redirected directly,
14814 # and sets the high bit in the cache file unless we assign to the vars.
14815 (
14816   for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
14817     eval ac_val=\$$ac_var
14818     case $ac_val in #(
14819     *${as_nl}*)
14820       case $ac_var in #(
14821       *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
14822 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
14823       esac
14824       case $ac_var in #(
14825       _ | IFS | as_nl) ;; #(
14826       BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
14827       *) { eval $ac_var=; unset $ac_var;} ;;
14828       esac ;;
14829     esac
14830   done
14831
14832   (set) 2>&1 |
14833     case $as_nl`(ac_space=' '; set) 2>&1` in #(
14834     *${as_nl}ac_space=\ *)
14835       # `set' does not quote correctly, so add quotes: double-quote
14836       # substitution turns \\\\ into \\, and sed turns \\ into \.
14837       sed -n \
14838         "s/'/'\\\\''/g;
14839           s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
14840       ;; #(
14841     *)
14842       # `set' quotes correctly as required by POSIX, so do not add quotes.
14843       sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
14844       ;;
14845     esac |
14846     sort
14847 ) |
14848   sed '
14849      /^ac_cv_env_/b end
14850      t clear
14851      :clear
14852      s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
14853      t end
14854      s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
14855      :end' >>confcache
14856 if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
14857   if test -w "$cache_file"; then
14858     if test "x$cache_file" != "x/dev/null"; then
14859       { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
14860 $as_echo "$as_me: updating cache $cache_file" >&6;}
14861       if test ! -f "$cache_file" || test -h "$cache_file"; then
14862         cat confcache >"$cache_file"
14863       else
14864         case $cache_file in #(
14865         */* | ?:*)
14866           mv -f confcache "$cache_file"$$ &&
14867           mv -f "$cache_file"$$ "$cache_file" ;; #(
14868         *)
14869           mv -f confcache "$cache_file" ;;
14870         esac
14871       fi
14872     fi
14873   else
14874     { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
14875 $as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
14876   fi
14877 fi
14878 rm -f confcache
14879
14880 test "x$prefix" = xNONE && prefix=$ac_default_prefix
14881 # Let make expand exec_prefix.
14882 test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
14883
14884 DEFS=-DHAVE_CONFIG_H
14885
14886 ac_libobjs=
14887 ac_ltlibobjs=
14888 U=
14889 for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
14890   # 1. Remove the extension, and $U if already installed.
14891   ac_script='s/\$U\././;s/\.o$//;s/\.obj$//'
14892   ac_i=`$as_echo "$ac_i" | sed "$ac_script"`
14893   # 2. Prepend LIBOBJDIR.  When used with automake>=1.10 LIBOBJDIR
14894   #    will be set to the directory where LIBOBJS objects are built.
14895   as_fn_append ac_libobjs " \${LIBOBJDIR}$ac_i\$U.$ac_objext"
14896   as_fn_append ac_ltlibobjs " \${LIBOBJDIR}$ac_i"'$U.lo'
14897 done
14898 LIBOBJS=$ac_libobjs
14899
14900 LTLIBOBJS=$ac_ltlibobjs
14901
14902
14903 { $as_echo "$as_me:${as_lineno-$LINENO}: checking that generated files are newer than configure" >&5
14904 $as_echo_n "checking that generated files are newer than configure... " >&6; }
14905    if test -n "$am_sleep_pid"; then
14906      # Hide warnings about reused PIDs.
14907      wait $am_sleep_pid 2>/dev/null
14908    fi
14909    { $as_echo "$as_me:${as_lineno-$LINENO}: result: done" >&5
14910 $as_echo "done" >&6; }
14911  if test -n "$EXEEXT"; then
14912   am__EXEEXT_TRUE=
14913   am__EXEEXT_FALSE='#'
14914 else
14915   am__EXEEXT_TRUE='#'
14916   am__EXEEXT_FALSE=
14917 fi
14918
14919 if test -z "${MAINTAINER_MODE_TRUE}" && test -z "${MAINTAINER_MODE_FALSE}"; then
14920   as_fn_error $? "conditional \"MAINTAINER_MODE\" was never defined.
14921 Usually this means the macro was only invoked conditionally." "$LINENO" 5
14922 fi
14923 if test -z "${OS_WIN32_TRUE}" && test -z "${OS_WIN32_FALSE}"; then
14924   as_fn_error $? "conditional \"OS_WIN32\" was never defined.
14925 Usually this means the macro was only invoked conditionally." "$LINENO" 5
14926 fi
14927 if test -z "${AMDEP_TRUE}" && test -z "${AMDEP_FALSE}"; then
14928   as_fn_error $? "conditional \"AMDEP\" was never defined.
14929 Usually this means the macro was only invoked conditionally." "$LINENO" 5
14930 fi
14931 if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
14932   as_fn_error $? "conditional \"am__fastdepCC\" was never defined.
14933 Usually this means the macro was only invoked conditionally." "$LINENO" 5
14934 fi
14935 if test -z "${HAVE_GIO_UNIX_TRUE}" && test -z "${HAVE_GIO_UNIX_FALSE}"; then
14936   as_fn_error $? "conditional \"HAVE_GIO_UNIX\" was never defined.
14937 Usually this means the macro was only invoked conditionally." "$LINENO" 5
14938 fi
14939 if test -z "${HAVE_CAIRO_TRUE}" && test -z "${HAVE_CAIRO_FALSE}"; then
14940   as_fn_error $? "conditional \"HAVE_CAIRO\" was never defined.
14941 Usually this means the macro was only invoked conditionally." "$LINENO" 5
14942 fi
14943 if test -z "${ENABLE_GTK_DOC_TRUE}" && test -z "${ENABLE_GTK_DOC_FALSE}"; then
14944   as_fn_error $? "conditional \"ENABLE_GTK_DOC\" was never defined.
14945 Usually this means the macro was only invoked conditionally." "$LINENO" 5
14946 fi
14947 if test -z "${GTK_DOC_BUILD_HTML_TRUE}" && test -z "${GTK_DOC_BUILD_HTML_FALSE}"; then
14948   as_fn_error $? "conditional \"GTK_DOC_BUILD_HTML\" was never defined.
14949 Usually this means the macro was only invoked conditionally." "$LINENO" 5
14950 fi
14951 if test -z "${GTK_DOC_BUILD_PDF_TRUE}" && test -z "${GTK_DOC_BUILD_PDF_FALSE}"; then
14952   as_fn_error $? "conditional \"GTK_DOC_BUILD_PDF\" was never defined.
14953 Usually this means the macro was only invoked conditionally." "$LINENO" 5
14954 fi
14955 if test -z "${GTK_DOC_USE_LIBTOOL_TRUE}" && test -z "${GTK_DOC_USE_LIBTOOL_FALSE}"; then
14956   as_fn_error $? "conditional \"GTK_DOC_USE_LIBTOOL\" was never defined.
14957 Usually this means the macro was only invoked conditionally." "$LINENO" 5
14958 fi
14959 if test -z "${GTK_DOC_USE_REBASE_TRUE}" && test -z "${GTK_DOC_USE_REBASE_FALSE}"; then
14960   as_fn_error $? "conditional \"GTK_DOC_USE_REBASE\" was never defined.
14961 Usually this means the macro was only invoked conditionally." "$LINENO" 5
14962 fi
14963 if test -z "${BUILD_DOCTOOL_TRUE}" && test -z "${BUILD_DOCTOOL_FALSE}"; then
14964   as_fn_error $? "conditional \"BUILD_DOCTOOL\" was never defined.
14965 Usually this means the macro was only invoked conditionally." "$LINENO" 5
14966 fi
14967 if test -z "${WITH_GLIBSRC_TRUE}" && test -z "${WITH_GLIBSRC_FALSE}"; then
14968   as_fn_error $? "conditional \"WITH_GLIBSRC\" was never defined.
14969 Usually this means the macro was only invoked conditionally." "$LINENO" 5
14970 fi
14971
14972 : "${CONFIG_STATUS=./config.status}"
14973 ac_write_fail=0
14974 ac_clean_files_save=$ac_clean_files
14975 ac_clean_files="$ac_clean_files $CONFIG_STATUS"
14976 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5
14977 $as_echo "$as_me: creating $CONFIG_STATUS" >&6;}
14978 as_write_fail=0
14979 cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1
14980 #! $SHELL
14981 # Generated by $as_me.
14982 # Run this file to recreate the current configuration.
14983 # Compiler output produced by configure, useful for debugging
14984 # configure, is in config.log if it exists.
14985
14986 debug=false
14987 ac_cs_recheck=false
14988 ac_cs_silent=false
14989
14990 SHELL=\${CONFIG_SHELL-$SHELL}
14991 export SHELL
14992 _ASEOF
14993 cat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail=1
14994 ## -------------------- ##
14995 ## M4sh Initialization. ##
14996 ## -------------------- ##
14997
14998 # Be more Bourne compatible
14999 DUALCASE=1; export DUALCASE # for MKS sh
15000 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :
15001   emulate sh
15002   NULLCMD=:
15003   # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
15004   # is contrary to our usage.  Disable this feature.
15005   alias -g '${1+"$@"}'='"$@"'
15006   setopt NO_GLOB_SUBST
15007 else
15008   case `(set -o) 2>/dev/null` in #(
15009   *posix*) :
15010     set -o posix ;; #(
15011   *) :
15012      ;;
15013 esac
15014 fi
15015
15016
15017 as_nl='
15018 '
15019 export as_nl
15020 # Printing a long string crashes Solaris 7 /usr/bin/printf.
15021 as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
15022 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
15023 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
15024 # Prefer a ksh shell builtin over an external printf program on Solaris,
15025 # but without wasting forks for bash or zsh.
15026 if test -z "$BASH_VERSION$ZSH_VERSION" \
15027     && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
15028   as_echo='print -r --'
15029   as_echo_n='print -rn --'
15030 elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
15031   as_echo='printf %s\n'
15032   as_echo_n='printf %s'
15033 else
15034   if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
15035     as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
15036     as_echo_n='/usr/ucb/echo -n'
15037   else
15038     as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
15039     as_echo_n_body='eval
15040       arg=$1;
15041       case $arg in #(
15042       *"$as_nl"*)
15043         expr "X$arg" : "X\\(.*\\)$as_nl";
15044         arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
15045       esac;
15046       expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
15047     '
15048     export as_echo_n_body
15049     as_echo_n='sh -c $as_echo_n_body as_echo'
15050   fi
15051   export as_echo_body
15052   as_echo='sh -c $as_echo_body as_echo'
15053 fi
15054
15055 # The user is always right.
15056 if test "${PATH_SEPARATOR+set}" != set; then
15057   PATH_SEPARATOR=:
15058   (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
15059     (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
15060       PATH_SEPARATOR=';'
15061   }
15062 fi
15063
15064
15065 # IFS
15066 # We need space, tab and new line, in precisely that order.  Quoting is
15067 # there to prevent editors from complaining about space-tab.
15068 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
15069 # splitting by setting IFS to empty value.)
15070 IFS=" ""        $as_nl"
15071
15072 # Find who we are.  Look in the path if we contain no directory separator.
15073 as_myself=
15074 case $0 in #((
15075   *[\\/]* ) as_myself=$0 ;;
15076   *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
15077 for as_dir in $PATH
15078 do
15079   IFS=$as_save_IFS
15080   test -z "$as_dir" && as_dir=.
15081     test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
15082   done
15083 IFS=$as_save_IFS
15084
15085      ;;
15086 esac
15087 # We did not find ourselves, most probably we were run as `sh COMMAND'
15088 # in which case we are not to be found in the path.
15089 if test "x$as_myself" = x; then
15090   as_myself=$0
15091 fi
15092 if test ! -f "$as_myself"; then
15093   $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
15094   exit 1
15095 fi
15096
15097 # Unset variables that we do not need and which cause bugs (e.g. in
15098 # pre-3.0 UWIN ksh).  But do not cause bugs in bash 2.01; the "|| exit 1"
15099 # suppresses any "Segmentation fault" message there.  '((' could
15100 # trigger a bug in pdksh 5.2.14.
15101 for as_var in BASH_ENV ENV MAIL MAILPATH
15102 do eval test x\${$as_var+set} = xset \
15103   && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
15104 done
15105 PS1='$ '
15106 PS2='> '
15107 PS4='+ '
15108
15109 # NLS nuisances.
15110 LC_ALL=C
15111 export LC_ALL
15112 LANGUAGE=C
15113 export LANGUAGE
15114
15115 # CDPATH.
15116 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
15117
15118
15119 # as_fn_error STATUS ERROR [LINENO LOG_FD]
15120 # ----------------------------------------
15121 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
15122 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
15123 # script with STATUS, using 1 if that was 0.
15124 as_fn_error ()
15125 {
15126   as_status=$1; test $as_status -eq 0 && as_status=1
15127   if test "$4"; then
15128     as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
15129     $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
15130   fi
15131   $as_echo "$as_me: error: $2" >&2
15132   as_fn_exit $as_status
15133 } # as_fn_error
15134
15135
15136 # as_fn_set_status STATUS
15137 # -----------------------
15138 # Set $? to STATUS, without forking.
15139 as_fn_set_status ()
15140 {
15141   return $1
15142 } # as_fn_set_status
15143
15144 # as_fn_exit STATUS
15145 # -----------------
15146 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
15147 as_fn_exit ()
15148 {
15149   set +e
15150   as_fn_set_status $1
15151   exit $1
15152 } # as_fn_exit
15153
15154 # as_fn_unset VAR
15155 # ---------------
15156 # Portably unset VAR.
15157 as_fn_unset ()
15158 {
15159   { eval $1=; unset $1;}
15160 }
15161 as_unset=as_fn_unset
15162 # as_fn_append VAR VALUE
15163 # ----------------------
15164 # Append the text in VALUE to the end of the definition contained in VAR. Take
15165 # advantage of any shell optimizations that allow amortized linear growth over
15166 # repeated appends, instead of the typical quadratic growth present in naive
15167 # implementations.
15168 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
15169   eval 'as_fn_append ()
15170   {
15171     eval $1+=\$2
15172   }'
15173 else
15174   as_fn_append ()
15175   {
15176     eval $1=\$$1\$2
15177   }
15178 fi # as_fn_append
15179
15180 # as_fn_arith ARG...
15181 # ------------------
15182 # Perform arithmetic evaluation on the ARGs, and store the result in the
15183 # global $as_val. Take advantage of shells that can avoid forks. The arguments
15184 # must be portable across $(()) and expr.
15185 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
15186   eval 'as_fn_arith ()
15187   {
15188     as_val=$(( $* ))
15189   }'
15190 else
15191   as_fn_arith ()
15192   {
15193     as_val=`expr "$@" || test $? -eq 1`
15194   }
15195 fi # as_fn_arith
15196
15197
15198 if expr a : '\(a\)' >/dev/null 2>&1 &&
15199    test "X`expr 00001 : '.*\(...\)'`" = X001; then
15200   as_expr=expr
15201 else
15202   as_expr=false
15203 fi
15204
15205 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
15206   as_basename=basename
15207 else
15208   as_basename=false
15209 fi
15210
15211 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
15212   as_dirname=dirname
15213 else
15214   as_dirname=false
15215 fi
15216
15217 as_me=`$as_basename -- "$0" ||
15218 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
15219          X"$0" : 'X\(//\)$' \| \
15220          X"$0" : 'X\(/\)' \| . 2>/dev/null ||
15221 $as_echo X/"$0" |
15222     sed '/^.*\/\([^/][^/]*\)\/*$/{
15223             s//\1/
15224             q
15225           }
15226           /^X\/\(\/\/\)$/{
15227             s//\1/
15228             q
15229           }
15230           /^X\/\(\/\).*/{
15231             s//\1/
15232             q
15233           }
15234           s/.*/./; q'`
15235
15236 # Avoid depending upon Character Ranges.
15237 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
15238 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
15239 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
15240 as_cr_digits='0123456789'
15241 as_cr_alnum=$as_cr_Letters$as_cr_digits
15242
15243 ECHO_C= ECHO_N= ECHO_T=
15244 case `echo -n x` in #(((((
15245 -n*)
15246   case `echo 'xy\c'` in
15247   *c*) ECHO_T=' ';;     # ECHO_T is single tab character.
15248   xy)  ECHO_C='\c';;
15249   *)   echo `echo ksh88 bug on AIX 6.1` > /dev/null
15250        ECHO_T=' ';;
15251   esac;;
15252 *)
15253   ECHO_N='-n';;
15254 esac
15255
15256 rm -f conf$$ conf$$.exe conf$$.file
15257 if test -d conf$$.dir; then
15258   rm -f conf$$.dir/conf$$.file
15259 else
15260   rm -f conf$$.dir
15261   mkdir conf$$.dir 2>/dev/null
15262 fi
15263 if (echo >conf$$.file) 2>/dev/null; then
15264   if ln -s conf$$.file conf$$ 2>/dev/null; then
15265     as_ln_s='ln -s'
15266     # ... but there are two gotchas:
15267     # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
15268     # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
15269     # In both cases, we have to default to `cp -pR'.
15270     ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
15271       as_ln_s='cp -pR'
15272   elif ln conf$$.file conf$$ 2>/dev/null; then
15273     as_ln_s=ln
15274   else
15275     as_ln_s='cp -pR'
15276   fi
15277 else
15278   as_ln_s='cp -pR'
15279 fi
15280 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
15281 rmdir conf$$.dir 2>/dev/null
15282
15283
15284 # as_fn_mkdir_p
15285 # -------------
15286 # Create "$as_dir" as a directory, including parents if necessary.
15287 as_fn_mkdir_p ()
15288 {
15289
15290   case $as_dir in #(
15291   -*) as_dir=./$as_dir;;
15292   esac
15293   test -d "$as_dir" || eval $as_mkdir_p || {
15294     as_dirs=
15295     while :; do
15296       case $as_dir in #(
15297       *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
15298       *) as_qdir=$as_dir;;
15299       esac
15300       as_dirs="'$as_qdir' $as_dirs"
15301       as_dir=`$as_dirname -- "$as_dir" ||
15302 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
15303          X"$as_dir" : 'X\(//\)[^/]' \| \
15304          X"$as_dir" : 'X\(//\)$' \| \
15305          X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
15306 $as_echo X"$as_dir" |
15307     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
15308             s//\1/
15309             q
15310           }
15311           /^X\(\/\/\)[^/].*/{
15312             s//\1/
15313             q
15314           }
15315           /^X\(\/\/\)$/{
15316             s//\1/
15317             q
15318           }
15319           /^X\(\/\).*/{
15320             s//\1/
15321             q
15322           }
15323           s/.*/./; q'`
15324       test -d "$as_dir" && break
15325     done
15326     test -z "$as_dirs" || eval "mkdir $as_dirs"
15327   } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir"
15328
15329
15330 } # as_fn_mkdir_p
15331 if mkdir -p . 2>/dev/null; then
15332   as_mkdir_p='mkdir -p "$as_dir"'
15333 else
15334   test -d ./-p && rmdir ./-p
15335   as_mkdir_p=false
15336 fi
15337
15338
15339 # as_fn_executable_p FILE
15340 # -----------------------
15341 # Test if FILE is an executable regular file.
15342 as_fn_executable_p ()
15343 {
15344   test -f "$1" && test -x "$1"
15345 } # as_fn_executable_p
15346 as_test_x='test -x'
15347 as_executable_p=as_fn_executable_p
15348
15349 # Sed expression to map a string onto a valid CPP name.
15350 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
15351
15352 # Sed expression to map a string onto a valid variable name.
15353 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
15354
15355
15356 exec 6>&1
15357 ## ----------------------------------- ##
15358 ## Main body of $CONFIG_STATUS script. ##
15359 ## ----------------------------------- ##
15360 _ASEOF
15361 test $as_write_fail = 0 && chmod +x $CONFIG_STATUS || ac_write_fail=1
15362
15363 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
15364 # Save the log message, to keep $0 and so on meaningful, and to
15365 # report actual input values of CONFIG_FILES etc. instead of their
15366 # values after options handling.
15367 ac_log="
15368 This file was extended by gobject-introspection $as_me 1.35.9, which was
15369 generated by GNU Autoconf 2.69.  Invocation command line was
15370
15371   CONFIG_FILES    = $CONFIG_FILES
15372   CONFIG_HEADERS  = $CONFIG_HEADERS
15373   CONFIG_LINKS    = $CONFIG_LINKS
15374   CONFIG_COMMANDS = $CONFIG_COMMANDS
15375   $ $0 $@
15376
15377 on `(hostname || uname -n) 2>/dev/null | sed 1q`
15378 "
15379
15380 _ACEOF
15381
15382 case $ac_config_files in *"
15383 "*) set x $ac_config_files; shift; ac_config_files=$*;;
15384 esac
15385
15386 case $ac_config_headers in *"
15387 "*) set x $ac_config_headers; shift; ac_config_headers=$*;;
15388 esac
15389
15390
15391 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
15392 # Files that config.status was made for.
15393 config_files="$ac_config_files"
15394 config_headers="$ac_config_headers"
15395 config_commands="$ac_config_commands"
15396
15397 _ACEOF
15398
15399 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
15400 ac_cs_usage="\
15401 \`$as_me' instantiates files and other configuration actions
15402 from templates according to the current configuration.  Unless the files
15403 and actions are specified as TAGs, all are instantiated by default.
15404
15405 Usage: $0 [OPTION]... [TAG]...
15406
15407   -h, --help       print this help, then exit
15408   -V, --version    print version number and configuration settings, then exit
15409       --config     print configuration, then exit
15410   -q, --quiet, --silent
15411                    do not print progress messages
15412   -d, --debug      don't remove temporary files
15413       --recheck    update $as_me by reconfiguring in the same conditions
15414       --file=FILE[:TEMPLATE]
15415                    instantiate the configuration file FILE
15416       --header=FILE[:TEMPLATE]
15417                    instantiate the configuration header FILE
15418
15419 Configuration files:
15420 $config_files
15421
15422 Configuration headers:
15423 $config_headers
15424
15425 Configuration commands:
15426 $config_commands
15427
15428 Report bugs to <http://bugzilla.gnome.org/enter_bug.cgi?product=glib&component=introspection>."
15429
15430 _ACEOF
15431 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
15432 ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`"
15433 ac_cs_version="\\
15434 gobject-introspection config.status 1.35.9
15435 configured by $0, generated by GNU Autoconf 2.69,
15436   with options \\"\$ac_cs_config\\"
15437
15438 Copyright (C) 2012 Free Software Foundation, Inc.
15439 This config.status script is free software; the Free Software Foundation
15440 gives unlimited permission to copy, distribute and modify it."
15441
15442 ac_pwd='$ac_pwd'
15443 srcdir='$srcdir'
15444 INSTALL='$INSTALL'
15445 MKDIR_P='$MKDIR_P'
15446 AWK='$AWK'
15447 test -n "\$AWK" || AWK=awk
15448 _ACEOF
15449
15450 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
15451 # The default lists apply if the user does not specify any file.
15452 ac_need_defaults=:
15453 while test $# != 0
15454 do
15455   case $1 in
15456   --*=?*)
15457     ac_option=`expr "X$1" : 'X\([^=]*\)='`
15458     ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'`
15459     ac_shift=:
15460     ;;
15461   --*=)
15462     ac_option=`expr "X$1" : 'X\([^=]*\)='`
15463     ac_optarg=
15464     ac_shift=:
15465     ;;
15466   *)
15467     ac_option=$1
15468     ac_optarg=$2
15469     ac_shift=shift
15470     ;;
15471   esac
15472
15473   case $ac_option in
15474   # Handling of the options.
15475   -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
15476     ac_cs_recheck=: ;;
15477   --version | --versio | --versi | --vers | --ver | --ve | --v | -V )
15478     $as_echo "$ac_cs_version"; exit ;;
15479   --config | --confi | --conf | --con | --co | --c )
15480     $as_echo "$ac_cs_config"; exit ;;
15481   --debug | --debu | --deb | --de | --d | -d )
15482     debug=: ;;
15483   --file | --fil | --fi | --f )
15484     $ac_shift
15485     case $ac_optarg in
15486     *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
15487     '') as_fn_error $? "missing file argument" ;;
15488     esac
15489     as_fn_append CONFIG_FILES " '$ac_optarg'"
15490     ac_need_defaults=false;;
15491   --header | --heade | --head | --hea )
15492     $ac_shift
15493     case $ac_optarg in
15494     *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
15495     esac
15496     as_fn_append CONFIG_HEADERS " '$ac_optarg'"
15497     ac_need_defaults=false;;
15498   --he | --h)
15499     # Conflict between --help and --header
15500     as_fn_error $? "ambiguous option: \`$1'
15501 Try \`$0 --help' for more information.";;
15502   --help | --hel | -h )
15503     $as_echo "$ac_cs_usage"; exit ;;
15504   -q | -quiet | --quiet | --quie | --qui | --qu | --q \
15505   | -silent | --silent | --silen | --sile | --sil | --si | --s)
15506     ac_cs_silent=: ;;
15507
15508   # This is an error.
15509   -*) as_fn_error $? "unrecognized option: \`$1'
15510 Try \`$0 --help' for more information." ;;
15511
15512   *) as_fn_append ac_config_targets " $1"
15513      ac_need_defaults=false ;;
15514
15515   esac
15516   shift
15517 done
15518
15519 ac_configure_extra_args=
15520
15521 if $ac_cs_silent; then
15522   exec 6>/dev/null
15523   ac_configure_extra_args="$ac_configure_extra_args --silent"
15524 fi
15525
15526 _ACEOF
15527 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
15528 if \$ac_cs_recheck; then
15529   set X $SHELL '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
15530   shift
15531   \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6
15532   CONFIG_SHELL='$SHELL'
15533   export CONFIG_SHELL
15534   exec "\$@"
15535 fi
15536
15537 _ACEOF
15538 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
15539 exec 5>>config.log
15540 {
15541   echo
15542   sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
15543 ## Running $as_me. ##
15544 _ASBOX
15545   $as_echo "$ac_log"
15546 } >&5
15547
15548 _ACEOF
15549 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
15550 #
15551 # INIT-COMMANDS
15552 #
15553 AMDEP_TRUE="$AMDEP_TRUE" ac_aux_dir="$ac_aux_dir"
15554
15555
15556 # The HP-UX ksh and POSIX shell print the target directory to stdout
15557 # if CDPATH is set.
15558 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
15559
15560 sed_quote_subst='$sed_quote_subst'
15561 double_quote_subst='$double_quote_subst'
15562 delay_variable_subst='$delay_variable_subst'
15563 macro_version='`$ECHO "$macro_version" | $SED "$delay_single_quote_subst"`'
15564 macro_revision='`$ECHO "$macro_revision" | $SED "$delay_single_quote_subst"`'
15565 enable_shared='`$ECHO "$enable_shared" | $SED "$delay_single_quote_subst"`'
15566 enable_static='`$ECHO "$enable_static" | $SED "$delay_single_quote_subst"`'
15567 pic_mode='`$ECHO "$pic_mode" | $SED "$delay_single_quote_subst"`'
15568 enable_fast_install='`$ECHO "$enable_fast_install" | $SED "$delay_single_quote_subst"`'
15569 SHELL='`$ECHO "$SHELL" | $SED "$delay_single_quote_subst"`'
15570 ECHO='`$ECHO "$ECHO" | $SED "$delay_single_quote_subst"`'
15571 PATH_SEPARATOR='`$ECHO "$PATH_SEPARATOR" | $SED "$delay_single_quote_subst"`'
15572 host_alias='`$ECHO "$host_alias" | $SED "$delay_single_quote_subst"`'
15573 host='`$ECHO "$host" | $SED "$delay_single_quote_subst"`'
15574 host_os='`$ECHO "$host_os" | $SED "$delay_single_quote_subst"`'
15575 build_alias='`$ECHO "$build_alias" | $SED "$delay_single_quote_subst"`'
15576 build='`$ECHO "$build" | $SED "$delay_single_quote_subst"`'
15577 build_os='`$ECHO "$build_os" | $SED "$delay_single_quote_subst"`'
15578 SED='`$ECHO "$SED" | $SED "$delay_single_quote_subst"`'
15579 Xsed='`$ECHO "$Xsed" | $SED "$delay_single_quote_subst"`'
15580 GREP='`$ECHO "$GREP" | $SED "$delay_single_quote_subst"`'
15581 EGREP='`$ECHO "$EGREP" | $SED "$delay_single_quote_subst"`'
15582 FGREP='`$ECHO "$FGREP" | $SED "$delay_single_quote_subst"`'
15583 LD='`$ECHO "$LD" | $SED "$delay_single_quote_subst"`'
15584 NM='`$ECHO "$NM" | $SED "$delay_single_quote_subst"`'
15585 LN_S='`$ECHO "$LN_S" | $SED "$delay_single_quote_subst"`'
15586 max_cmd_len='`$ECHO "$max_cmd_len" | $SED "$delay_single_quote_subst"`'
15587 ac_objext='`$ECHO "$ac_objext" | $SED "$delay_single_quote_subst"`'
15588 exeext='`$ECHO "$exeext" | $SED "$delay_single_quote_subst"`'
15589 lt_unset='`$ECHO "$lt_unset" | $SED "$delay_single_quote_subst"`'
15590 lt_SP2NL='`$ECHO "$lt_SP2NL" | $SED "$delay_single_quote_subst"`'
15591 lt_NL2SP='`$ECHO "$lt_NL2SP" | $SED "$delay_single_quote_subst"`'
15592 lt_cv_to_host_file_cmd='`$ECHO "$lt_cv_to_host_file_cmd" | $SED "$delay_single_quote_subst"`'
15593 lt_cv_to_tool_file_cmd='`$ECHO "$lt_cv_to_tool_file_cmd" | $SED "$delay_single_quote_subst"`'
15594 reload_flag='`$ECHO "$reload_flag" | $SED "$delay_single_quote_subst"`'
15595 reload_cmds='`$ECHO "$reload_cmds" | $SED "$delay_single_quote_subst"`'
15596 OBJDUMP='`$ECHO "$OBJDUMP" | $SED "$delay_single_quote_subst"`'
15597 deplibs_check_method='`$ECHO "$deplibs_check_method" | $SED "$delay_single_quote_subst"`'
15598 file_magic_cmd='`$ECHO "$file_magic_cmd" | $SED "$delay_single_quote_subst"`'
15599 file_magic_glob='`$ECHO "$file_magic_glob" | $SED "$delay_single_quote_subst"`'
15600 want_nocaseglob='`$ECHO "$want_nocaseglob" | $SED "$delay_single_quote_subst"`'
15601 DLLTOOL='`$ECHO "$DLLTOOL" | $SED "$delay_single_quote_subst"`'
15602 sharedlib_from_linklib_cmd='`$ECHO "$sharedlib_from_linklib_cmd" | $SED "$delay_single_quote_subst"`'
15603 AR='`$ECHO "$AR" | $SED "$delay_single_quote_subst"`'
15604 AR_FLAGS='`$ECHO "$AR_FLAGS" | $SED "$delay_single_quote_subst"`'
15605 archiver_list_spec='`$ECHO "$archiver_list_spec" | $SED "$delay_single_quote_subst"`'
15606 STRIP='`$ECHO "$STRIP" | $SED "$delay_single_quote_subst"`'
15607 RANLIB='`$ECHO "$RANLIB" | $SED "$delay_single_quote_subst"`'
15608 old_postinstall_cmds='`$ECHO "$old_postinstall_cmds" | $SED "$delay_single_quote_subst"`'
15609 old_postuninstall_cmds='`$ECHO "$old_postuninstall_cmds" | $SED "$delay_single_quote_subst"`'
15610 old_archive_cmds='`$ECHO "$old_archive_cmds" | $SED "$delay_single_quote_subst"`'
15611 lock_old_archive_extraction='`$ECHO "$lock_old_archive_extraction" | $SED "$delay_single_quote_subst"`'
15612 CC='`$ECHO "$CC" | $SED "$delay_single_quote_subst"`'
15613 CFLAGS='`$ECHO "$CFLAGS" | $SED "$delay_single_quote_subst"`'
15614 compiler='`$ECHO "$compiler" | $SED "$delay_single_quote_subst"`'
15615 GCC='`$ECHO "$GCC" | $SED "$delay_single_quote_subst"`'
15616 lt_cv_sys_global_symbol_pipe='`$ECHO "$lt_cv_sys_global_symbol_pipe" | $SED "$delay_single_quote_subst"`'
15617 lt_cv_sys_global_symbol_to_cdecl='`$ECHO "$lt_cv_sys_global_symbol_to_cdecl" | $SED "$delay_single_quote_subst"`'
15618 lt_cv_sys_global_symbol_to_c_name_address='`$ECHO "$lt_cv_sys_global_symbol_to_c_name_address" | $SED "$delay_single_quote_subst"`'
15619 lt_cv_sys_global_symbol_to_c_name_address_lib_prefix='`$ECHO "$lt_cv_sys_global_symbol_to_c_name_address_lib_prefix" | $SED "$delay_single_quote_subst"`'
15620 nm_file_list_spec='`$ECHO "$nm_file_list_spec" | $SED "$delay_single_quote_subst"`'
15621 lt_sysroot='`$ECHO "$lt_sysroot" | $SED "$delay_single_quote_subst"`'
15622 objdir='`$ECHO "$objdir" | $SED "$delay_single_quote_subst"`'
15623 MAGIC_CMD='`$ECHO "$MAGIC_CMD" | $SED "$delay_single_quote_subst"`'
15624 lt_prog_compiler_no_builtin_flag='`$ECHO "$lt_prog_compiler_no_builtin_flag" | $SED "$delay_single_quote_subst"`'
15625 lt_prog_compiler_pic='`$ECHO "$lt_prog_compiler_pic" | $SED "$delay_single_quote_subst"`'
15626 lt_prog_compiler_wl='`$ECHO "$lt_prog_compiler_wl" | $SED "$delay_single_quote_subst"`'
15627 lt_prog_compiler_static='`$ECHO "$lt_prog_compiler_static" | $SED "$delay_single_quote_subst"`'
15628 lt_cv_prog_compiler_c_o='`$ECHO "$lt_cv_prog_compiler_c_o" | $SED "$delay_single_quote_subst"`'
15629 need_locks='`$ECHO "$need_locks" | $SED "$delay_single_quote_subst"`'
15630 MANIFEST_TOOL='`$ECHO "$MANIFEST_TOOL" | $SED "$delay_single_quote_subst"`'
15631 DSYMUTIL='`$ECHO "$DSYMUTIL" | $SED "$delay_single_quote_subst"`'
15632 NMEDIT='`$ECHO "$NMEDIT" | $SED "$delay_single_quote_subst"`'
15633 LIPO='`$ECHO "$LIPO" | $SED "$delay_single_quote_subst"`'
15634 OTOOL='`$ECHO "$OTOOL" | $SED "$delay_single_quote_subst"`'
15635 OTOOL64='`$ECHO "$OTOOL64" | $SED "$delay_single_quote_subst"`'
15636 libext='`$ECHO "$libext" | $SED "$delay_single_quote_subst"`'
15637 shrext_cmds='`$ECHO "$shrext_cmds" | $SED "$delay_single_quote_subst"`'
15638 extract_expsyms_cmds='`$ECHO "$extract_expsyms_cmds" | $SED "$delay_single_quote_subst"`'
15639 archive_cmds_need_lc='`$ECHO "$archive_cmds_need_lc" | $SED "$delay_single_quote_subst"`'
15640 enable_shared_with_static_runtimes='`$ECHO "$enable_shared_with_static_runtimes" | $SED "$delay_single_quote_subst"`'
15641 export_dynamic_flag_spec='`$ECHO "$export_dynamic_flag_spec" | $SED "$delay_single_quote_subst"`'
15642 whole_archive_flag_spec='`$ECHO "$whole_archive_flag_spec" | $SED "$delay_single_quote_subst"`'
15643 compiler_needs_object='`$ECHO "$compiler_needs_object" | $SED "$delay_single_quote_subst"`'
15644 old_archive_from_new_cmds='`$ECHO "$old_archive_from_new_cmds" | $SED "$delay_single_quote_subst"`'
15645 old_archive_from_expsyms_cmds='`$ECHO "$old_archive_from_expsyms_cmds" | $SED "$delay_single_quote_subst"`'
15646 archive_cmds='`$ECHO "$archive_cmds" | $SED "$delay_single_quote_subst"`'
15647 archive_expsym_cmds='`$ECHO "$archive_expsym_cmds" | $SED "$delay_single_quote_subst"`'
15648 module_cmds='`$ECHO "$module_cmds" | $SED "$delay_single_quote_subst"`'
15649 module_expsym_cmds='`$ECHO "$module_expsym_cmds" | $SED "$delay_single_quote_subst"`'
15650 with_gnu_ld='`$ECHO "$with_gnu_ld" | $SED "$delay_single_quote_subst"`'
15651 allow_undefined_flag='`$ECHO "$allow_undefined_flag" | $SED "$delay_single_quote_subst"`'
15652 no_undefined_flag='`$ECHO "$no_undefined_flag" | $SED "$delay_single_quote_subst"`'
15653 hardcode_libdir_flag_spec='`$ECHO "$hardcode_libdir_flag_spec" | $SED "$delay_single_quote_subst"`'
15654 hardcode_libdir_separator='`$ECHO "$hardcode_libdir_separator" | $SED "$delay_single_quote_subst"`'
15655 hardcode_direct='`$ECHO "$hardcode_direct" | $SED "$delay_single_quote_subst"`'
15656 hardcode_direct_absolute='`$ECHO "$hardcode_direct_absolute" | $SED "$delay_single_quote_subst"`'
15657 hardcode_minus_L='`$ECHO "$hardcode_minus_L" | $SED "$delay_single_quote_subst"`'
15658 hardcode_shlibpath_var='`$ECHO "$hardcode_shlibpath_var" | $SED "$delay_single_quote_subst"`'
15659 hardcode_automatic='`$ECHO "$hardcode_automatic" | $SED "$delay_single_quote_subst"`'
15660 inherit_rpath='`$ECHO "$inherit_rpath" | $SED "$delay_single_quote_subst"`'
15661 link_all_deplibs='`$ECHO "$link_all_deplibs" | $SED "$delay_single_quote_subst"`'
15662 always_export_symbols='`$ECHO "$always_export_symbols" | $SED "$delay_single_quote_subst"`'
15663 export_symbols_cmds='`$ECHO "$export_symbols_cmds" | $SED "$delay_single_quote_subst"`'
15664 exclude_expsyms='`$ECHO "$exclude_expsyms" | $SED "$delay_single_quote_subst"`'
15665 include_expsyms='`$ECHO "$include_expsyms" | $SED "$delay_single_quote_subst"`'
15666 prelink_cmds='`$ECHO "$prelink_cmds" | $SED "$delay_single_quote_subst"`'
15667 postlink_cmds='`$ECHO "$postlink_cmds" | $SED "$delay_single_quote_subst"`'
15668 file_list_spec='`$ECHO "$file_list_spec" | $SED "$delay_single_quote_subst"`'
15669 variables_saved_for_relink='`$ECHO "$variables_saved_for_relink" | $SED "$delay_single_quote_subst"`'
15670 need_lib_prefix='`$ECHO "$need_lib_prefix" | $SED "$delay_single_quote_subst"`'
15671 need_version='`$ECHO "$need_version" | $SED "$delay_single_quote_subst"`'
15672 version_type='`$ECHO "$version_type" | $SED "$delay_single_quote_subst"`'
15673 runpath_var='`$ECHO "$runpath_var" | $SED "$delay_single_quote_subst"`'
15674 shlibpath_var='`$ECHO "$shlibpath_var" | $SED "$delay_single_quote_subst"`'
15675 shlibpath_overrides_runpath='`$ECHO "$shlibpath_overrides_runpath" | $SED "$delay_single_quote_subst"`'
15676 libname_spec='`$ECHO "$libname_spec" | $SED "$delay_single_quote_subst"`'
15677 library_names_spec='`$ECHO "$library_names_spec" | $SED "$delay_single_quote_subst"`'
15678 soname_spec='`$ECHO "$soname_spec" | $SED "$delay_single_quote_subst"`'
15679 install_override_mode='`$ECHO "$install_override_mode" | $SED "$delay_single_quote_subst"`'
15680 postinstall_cmds='`$ECHO "$postinstall_cmds" | $SED "$delay_single_quote_subst"`'
15681 postuninstall_cmds='`$ECHO "$postuninstall_cmds" | $SED "$delay_single_quote_subst"`'
15682 finish_cmds='`$ECHO "$finish_cmds" | $SED "$delay_single_quote_subst"`'
15683 finish_eval='`$ECHO "$finish_eval" | $SED "$delay_single_quote_subst"`'
15684 hardcode_into_libs='`$ECHO "$hardcode_into_libs" | $SED "$delay_single_quote_subst"`'
15685 sys_lib_search_path_spec='`$ECHO "$sys_lib_search_path_spec" | $SED "$delay_single_quote_subst"`'
15686 sys_lib_dlsearch_path_spec='`$ECHO "$sys_lib_dlsearch_path_spec" | $SED "$delay_single_quote_subst"`'
15687 hardcode_action='`$ECHO "$hardcode_action" | $SED "$delay_single_quote_subst"`'
15688 enable_dlopen='`$ECHO "$enable_dlopen" | $SED "$delay_single_quote_subst"`'
15689 enable_dlopen_self='`$ECHO "$enable_dlopen_self" | $SED "$delay_single_quote_subst"`'
15690 enable_dlopen_self_static='`$ECHO "$enable_dlopen_self_static" | $SED "$delay_single_quote_subst"`'
15691 old_striplib='`$ECHO "$old_striplib" | $SED "$delay_single_quote_subst"`'
15692 striplib='`$ECHO "$striplib" | $SED "$delay_single_quote_subst"`'
15693
15694 LTCC='$LTCC'
15695 LTCFLAGS='$LTCFLAGS'
15696 compiler='$compiler_DEFAULT'
15697
15698 # A function that is used when there is no print builtin or printf.
15699 func_fallback_echo ()
15700 {
15701   eval 'cat <<_LTECHO_EOF
15702 \$1
15703 _LTECHO_EOF'
15704 }
15705
15706 # Quote evaled strings.
15707 for var in SHELL \
15708 ECHO \
15709 PATH_SEPARATOR \
15710 SED \
15711 GREP \
15712 EGREP \
15713 FGREP \
15714 LD \
15715 NM \
15716 LN_S \
15717 lt_SP2NL \
15718 lt_NL2SP \
15719 reload_flag \
15720 OBJDUMP \
15721 deplibs_check_method \
15722 file_magic_cmd \
15723 file_magic_glob \
15724 want_nocaseglob \
15725 DLLTOOL \
15726 sharedlib_from_linklib_cmd \
15727 AR \
15728 AR_FLAGS \
15729 archiver_list_spec \
15730 STRIP \
15731 RANLIB \
15732 CC \
15733 CFLAGS \
15734 compiler \
15735 lt_cv_sys_global_symbol_pipe \
15736 lt_cv_sys_global_symbol_to_cdecl \
15737 lt_cv_sys_global_symbol_to_c_name_address \
15738 lt_cv_sys_global_symbol_to_c_name_address_lib_prefix \
15739 nm_file_list_spec \
15740 lt_prog_compiler_no_builtin_flag \
15741 lt_prog_compiler_pic \
15742 lt_prog_compiler_wl \
15743 lt_prog_compiler_static \
15744 lt_cv_prog_compiler_c_o \
15745 need_locks \
15746 MANIFEST_TOOL \
15747 DSYMUTIL \
15748 NMEDIT \
15749 LIPO \
15750 OTOOL \
15751 OTOOL64 \
15752 shrext_cmds \
15753 export_dynamic_flag_spec \
15754 whole_archive_flag_spec \
15755 compiler_needs_object \
15756 with_gnu_ld \
15757 allow_undefined_flag \
15758 no_undefined_flag \
15759 hardcode_libdir_flag_spec \
15760 hardcode_libdir_separator \
15761 exclude_expsyms \
15762 include_expsyms \
15763 file_list_spec \
15764 variables_saved_for_relink \
15765 libname_spec \
15766 library_names_spec \
15767 soname_spec \
15768 install_override_mode \
15769 finish_eval \
15770 old_striplib \
15771 striplib; do
15772     case \`eval \\\\\$ECHO \\\\""\\\\\$\$var"\\\\"\` in
15773     *[\\\\\\\`\\"\\\$]*)
15774       eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"\\\$\$var\\" | \\\$SED \\"\\\$sed_quote_subst\\"\\\`\\\\\\""
15775       ;;
15776     *)
15777       eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
15778       ;;
15779     esac
15780 done
15781
15782 # Double-quote double-evaled strings.
15783 for var in reload_cmds \
15784 old_postinstall_cmds \
15785 old_postuninstall_cmds \
15786 old_archive_cmds \
15787 extract_expsyms_cmds \
15788 old_archive_from_new_cmds \
15789 old_archive_from_expsyms_cmds \
15790 archive_cmds \
15791 archive_expsym_cmds \
15792 module_cmds \
15793 module_expsym_cmds \
15794 export_symbols_cmds \
15795 prelink_cmds \
15796 postlink_cmds \
15797 postinstall_cmds \
15798 postuninstall_cmds \
15799 finish_cmds \
15800 sys_lib_search_path_spec \
15801 sys_lib_dlsearch_path_spec; do
15802     case \`eval \\\\\$ECHO \\\\""\\\\\$\$var"\\\\"\` in
15803     *[\\\\\\\`\\"\\\$]*)
15804       eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"\\\$\$var\\" | \\\$SED -e \\"\\\$double_quote_subst\\" -e \\"\\\$sed_quote_subst\\" -e \\"\\\$delay_variable_subst\\"\\\`\\\\\\""
15805       ;;
15806     *)
15807       eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
15808       ;;
15809     esac
15810 done
15811
15812 ac_aux_dir='$ac_aux_dir'
15813 xsi_shell='$xsi_shell'
15814 lt_shell_append='$lt_shell_append'
15815
15816 # See if we are running on zsh, and set the options which allow our
15817 # commands through without removal of \ escapes INIT.
15818 if test -n "\${ZSH_VERSION+set}" ; then
15819    setopt NO_GLOB_SUBST
15820 fi
15821
15822
15823     PACKAGE='$PACKAGE'
15824     VERSION='$VERSION'
15825     TIMESTAMP='$TIMESTAMP'
15826     RM='$RM'
15827     ofile='$ofile'
15828
15829
15830
15831
15832 _ACEOF
15833
15834 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
15835
15836 # Handling of arguments.
15837 for ac_config_target in $ac_config_targets
15838 do
15839   case $ac_config_target in
15840     "config.h") CONFIG_HEADERS="$CONFIG_HEADERS config.h" ;;
15841     "depfiles") CONFIG_COMMANDS="$CONFIG_COMMANDS depfiles" ;;
15842     "libtool") CONFIG_COMMANDS="$CONFIG_COMMANDS libtool" ;;
15843     "Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;;
15844     "m4/Makefile") CONFIG_FILES="$CONFIG_FILES m4/Makefile" ;;
15845     "tests/Makefile") CONFIG_FILES="$CONFIG_FILES tests/Makefile" ;;
15846     "tests/offsets/Makefile") CONFIG_FILES="$CONFIG_FILES tests/offsets/Makefile" ;;
15847     "tests/scanner/Makefile") CONFIG_FILES="$CONFIG_FILES tests/scanner/Makefile" ;;
15848     "tests/repository/Makefile") CONFIG_FILES="$CONFIG_FILES tests/repository/Makefile" ;;
15849     "tests/warn/Makefile") CONFIG_FILES="$CONFIG_FILES tests/warn/Makefile" ;;
15850     "docs/Makefile") CONFIG_FILES="$CONFIG_FILES docs/Makefile" ;;
15851     "docs/reference/Makefile") CONFIG_FILES="$CONFIG_FILES docs/reference/Makefile" ;;
15852     "gobject-introspection-1.0.pc") CONFIG_FILES="$CONFIG_FILES gobject-introspection-1.0.pc" ;;
15853     "gobject-introspection-no-export-1.0.pc") CONFIG_FILES="$CONFIG_FILES gobject-introspection-no-export-1.0.pc" ;;
15854     "config.h.win32") CONFIG_FILES="$CONFIG_FILES config.h.win32" ;;
15855     "build/Makefile") CONFIG_FILES="$CONFIG_FILES build/Makefile" ;;
15856     "build/win32/Makefile") CONFIG_FILES="$CONFIG_FILES build/win32/Makefile" ;;
15857     "build/win32/vs9/Makefile") CONFIG_FILES="$CONFIG_FILES build/win32/vs9/Makefile" ;;
15858     "build/win32/vs10/Makefile") CONFIG_FILES="$CONFIG_FILES build/win32/vs10/Makefile" ;;
15859
15860   *) as_fn_error $? "invalid argument: \`$ac_config_target'" "$LINENO" 5;;
15861   esac
15862 done
15863
15864
15865 # If the user did not use the arguments to specify the items to instantiate,
15866 # then the envvar interface is used.  Set only those that are not.
15867 # We use the long form for the default assignment because of an extremely
15868 # bizarre bug on SunOS 4.1.3.
15869 if $ac_need_defaults; then
15870   test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
15871   test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS=$config_headers
15872   test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS=$config_commands
15873 fi
15874
15875 # Have a temporary directory for convenience.  Make it in the build tree
15876 # simply because there is no reason against having it here, and in addition,
15877 # creating and moving files from /tmp can sometimes cause problems.
15878 # Hook for its removal unless debugging.
15879 # Note that there is a small window in which the directory will not be cleaned:
15880 # after its creation but before its name has been assigned to `$tmp'.
15881 $debug ||
15882 {
15883   tmp= ac_tmp=
15884   trap 'exit_status=$?
15885   : "${ac_tmp:=$tmp}"
15886   { test ! -d "$ac_tmp" || rm -fr "$ac_tmp"; } && exit $exit_status
15887 ' 0
15888   trap 'as_fn_exit 1' 1 2 13 15
15889 }
15890 # Create a (secure) tmp directory for tmp files.
15891
15892 {
15893   tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
15894   test -d "$tmp"
15895 }  ||
15896 {
15897   tmp=./conf$$-$RANDOM
15898   (umask 077 && mkdir "$tmp")
15899 } || as_fn_error $? "cannot create a temporary directory in ." "$LINENO" 5
15900 ac_tmp=$tmp
15901
15902 # Set up the scripts for CONFIG_FILES section.
15903 # No need to generate them if there are no CONFIG_FILES.
15904 # This happens for instance with `./config.status config.h'.
15905 if test -n "$CONFIG_FILES"; then
15906
15907
15908 ac_cr=`echo X | tr X '\015'`
15909 # On cygwin, bash can eat \r inside `` if the user requested igncr.
15910 # But we know of no other shell where ac_cr would be empty at this
15911 # point, so we can use a bashism as a fallback.
15912 if test "x$ac_cr" = x; then
15913   eval ac_cr=\$\'\\r\'
15914 fi
15915 ac_cs_awk_cr=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
15916 if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
15917   ac_cs_awk_cr='\\r'
15918 else
15919   ac_cs_awk_cr=$ac_cr
15920 fi
15921
15922 echo 'BEGIN {' >"$ac_tmp/subs1.awk" &&
15923 _ACEOF
15924
15925
15926 {
15927   echo "cat >conf$$subs.awk <<_ACEOF" &&
15928   echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
15929   echo "_ACEOF"
15930 } >conf$$subs.sh ||
15931   as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
15932 ac_delim_num=`echo "$ac_subst_vars" | grep -c '^'`
15933 ac_delim='%!_!# '
15934 for ac_last_try in false false false false false :; do
15935   . ./conf$$subs.sh ||
15936     as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
15937
15938   ac_delim_n=`sed -n "s/.*$ac_delim\$/X/p" conf$$subs.awk | grep -c X`
15939   if test $ac_delim_n = $ac_delim_num; then
15940     break
15941   elif $ac_last_try; then
15942     as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
15943   else
15944     ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
15945   fi
15946 done
15947 rm -f conf$$subs.sh
15948
15949 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
15950 cat >>"\$ac_tmp/subs1.awk" <<\\_ACAWK &&
15951 _ACEOF
15952 sed -n '
15953 h
15954 s/^/S["/; s/!.*/"]=/
15955 p
15956 g
15957 s/^[^!]*!//
15958 :repl
15959 t repl
15960 s/'"$ac_delim"'$//
15961 t delim
15962 :nl
15963 h
15964 s/\(.\{148\}\)..*/\1/
15965 t more1
15966 s/["\\]/\\&/g; s/^/"/; s/$/\\n"\\/
15967 p
15968 n
15969 b repl
15970 :more1
15971 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
15972 p
15973 g
15974 s/.\{148\}//
15975 t nl
15976 :delim
15977 h
15978 s/\(.\{148\}\)..*/\1/
15979 t more2
15980 s/["\\]/\\&/g; s/^/"/; s/$/"/
15981 p
15982 b
15983 :more2
15984 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
15985 p
15986 g
15987 s/.\{148\}//
15988 t delim
15989 ' <conf$$subs.awk | sed '
15990 /^[^""]/{
15991   N
15992   s/\n//
15993 }
15994 ' >>$CONFIG_STATUS || ac_write_fail=1
15995 rm -f conf$$subs.awk
15996 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
15997 _ACAWK
15998 cat >>"\$ac_tmp/subs1.awk" <<_ACAWK &&
15999   for (key in S) S_is_set[key] = 1
16000   FS = "\a"
16001
16002 }
16003 {
16004   line = $ 0
16005   nfields = split(line, field, "@")
16006   substed = 0
16007   len = length(field[1])
16008   for (i = 2; i < nfields; i++) {
16009     key = field[i]
16010     keylen = length(key)
16011     if (S_is_set[key]) {
16012       value = S[key]
16013       line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3)
16014       len += length(value) + length(field[++i])
16015       substed = 1
16016     } else
16017       len += 1 + keylen
16018   }
16019
16020   print line
16021 }
16022
16023 _ACAWK
16024 _ACEOF
16025 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
16026 if sed "s/$ac_cr//" < /dev/null > /dev/null 2>&1; then
16027   sed "s/$ac_cr\$//; s/$ac_cr/$ac_cs_awk_cr/g"
16028 else
16029   cat
16030 fi < "$ac_tmp/subs1.awk" > "$ac_tmp/subs.awk" \
16031   || as_fn_error $? "could not setup config files machinery" "$LINENO" 5
16032 _ACEOF
16033
16034 # VPATH may cause trouble with some makes, so we remove sole $(srcdir),
16035 # ${srcdir} and @srcdir@ entries from VPATH if srcdir is ".", strip leading and
16036 # trailing colons and then remove the whole line if VPATH becomes empty
16037 # (actually we leave an empty line to preserve line numbers).
16038 if test "x$srcdir" = x.; then
16039   ac_vpsub='/^[  ]*VPATH[        ]*=[    ]*/{
16040 h
16041 s///
16042 s/^/:/
16043 s/[      ]*$/:/
16044 s/:\$(srcdir):/:/g
16045 s/:\${srcdir}:/:/g
16046 s/:@srcdir@:/:/g
16047 s/^:*//
16048 s/:*$//
16049 x
16050 s/\(=[   ]*\).*/\1/
16051 G
16052 s/\n//
16053 s/^[^=]*=[       ]*$//
16054 }'
16055 fi
16056
16057 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
16058 fi # test -n "$CONFIG_FILES"
16059
16060 # Set up the scripts for CONFIG_HEADERS section.
16061 # No need to generate them if there are no CONFIG_HEADERS.
16062 # This happens for instance with `./config.status Makefile'.
16063 if test -n "$CONFIG_HEADERS"; then
16064 cat >"$ac_tmp/defines.awk" <<\_ACAWK ||
16065 BEGIN {
16066 _ACEOF
16067
16068 # Transform confdefs.h into an awk script `defines.awk', embedded as
16069 # here-document in config.status, that substitutes the proper values into
16070 # config.h.in to produce config.h.
16071
16072 # Create a delimiter string that does not exist in confdefs.h, to ease
16073 # handling of long lines.
16074 ac_delim='%!_!# '
16075 for ac_last_try in false false :; do
16076   ac_tt=`sed -n "/$ac_delim/p" confdefs.h`
16077   if test -z "$ac_tt"; then
16078     break
16079   elif $ac_last_try; then
16080     as_fn_error $? "could not make $CONFIG_HEADERS" "$LINENO" 5
16081   else
16082     ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
16083   fi
16084 done
16085
16086 # For the awk script, D is an array of macro values keyed by name,
16087 # likewise P contains macro parameters if any.  Preserve backslash
16088 # newline sequences.
16089
16090 ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]*
16091 sed -n '
16092 s/.\{148\}/&'"$ac_delim"'/g
16093 t rset
16094 :rset
16095 s/^[     ]*#[    ]*define[       ][      ]*/ /
16096 t def
16097 d
16098 :def
16099 s/\\$//
16100 t bsnl
16101 s/["\\]/\\&/g
16102 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[     ]*\(.*\)/P["\1"]="\2"\
16103 D["\1"]=" \3"/p
16104 s/^ \('"$ac_word_re"'\)[         ]*\(.*\)/D["\1"]=" \2"/p
16105 d
16106 :bsnl
16107 s/["\\]/\\&/g
16108 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[     ]*\(.*\)/P["\1"]="\2"\
16109 D["\1"]=" \3\\\\\\n"\\/p
16110 t cont
16111 s/^ \('"$ac_word_re"'\)[         ]*\(.*\)/D["\1"]=" \2\\\\\\n"\\/p
16112 t cont
16113 d
16114 :cont
16115 n
16116 s/.\{148\}/&'"$ac_delim"'/g
16117 t clear
16118 :clear
16119 s/\\$//
16120 t bsnlc
16121 s/["\\]/\\&/g; s/^/"/; s/$/"/p
16122 d
16123 :bsnlc
16124 s/["\\]/\\&/g; s/^/"/; s/$/\\\\\\n"\\/p
16125 b cont
16126 ' <confdefs.h | sed '
16127 s/'"$ac_delim"'/"\\\
16128 "/g' >>$CONFIG_STATUS || ac_write_fail=1
16129
16130 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
16131   for (key in D) D_is_set[key] = 1
16132   FS = "\a"
16133 }
16134 /^[\t ]*#[\t ]*(define|undef)[\t ]+$ac_word_re([\t (]|\$)/ {
16135   line = \$ 0
16136   split(line, arg, " ")
16137   if (arg[1] == "#") {
16138     defundef = arg[2]
16139     mac1 = arg[3]
16140   } else {
16141     defundef = substr(arg[1], 2)
16142     mac1 = arg[2]
16143   }
16144   split(mac1, mac2, "(") #)
16145   macro = mac2[1]
16146   prefix = substr(line, 1, index(line, defundef) - 1)
16147   if (D_is_set[macro]) {
16148     # Preserve the white space surrounding the "#".
16149     print prefix "define", macro P[macro] D[macro]
16150     next
16151   } else {
16152     # Replace #undef with comments.  This is necessary, for example,
16153     # in the case of _POSIX_SOURCE, which is predefined and required
16154     # on some systems where configure will not decide to define it.
16155     if (defundef == "undef") {
16156       print "/*", prefix defundef, macro, "*/"
16157       next
16158     }
16159   }
16160 }
16161 { print }
16162 _ACAWK
16163 _ACEOF
16164 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
16165   as_fn_error $? "could not setup config headers machinery" "$LINENO" 5
16166 fi # test -n "$CONFIG_HEADERS"
16167
16168
16169 eval set X "  :F $CONFIG_FILES  :H $CONFIG_HEADERS    :C $CONFIG_COMMANDS"
16170 shift
16171 for ac_tag
16172 do
16173   case $ac_tag in
16174   :[FHLC]) ac_mode=$ac_tag; continue;;
16175   esac
16176   case $ac_mode$ac_tag in
16177   :[FHL]*:*);;
16178   :L* | :C*:*) as_fn_error $? "invalid tag \`$ac_tag'" "$LINENO" 5;;
16179   :[FH]-) ac_tag=-:-;;
16180   :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
16181   esac
16182   ac_save_IFS=$IFS
16183   IFS=:
16184   set x $ac_tag
16185   IFS=$ac_save_IFS
16186   shift
16187   ac_file=$1
16188   shift
16189
16190   case $ac_mode in
16191   :L) ac_source=$1;;
16192   :[FH])
16193     ac_file_inputs=
16194     for ac_f
16195     do
16196       case $ac_f in
16197       -) ac_f="$ac_tmp/stdin";;
16198       *) # Look for the file first in the build tree, then in the source tree
16199          # (if the path is not absolute).  The absolute path cannot be DOS-style,
16200          # because $ac_f cannot contain `:'.
16201          test -f "$ac_f" ||
16202            case $ac_f in
16203            [\\/$]*) false;;
16204            *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
16205            esac ||
16206            as_fn_error 1 "cannot find input file: \`$ac_f'" "$LINENO" 5;;
16207       esac
16208       case $ac_f in *\'*) ac_f=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
16209       as_fn_append ac_file_inputs " '$ac_f'"
16210     done
16211
16212     # Let's still pretend it is `configure' which instantiates (i.e., don't
16213     # use $as_me), people would be surprised to read:
16214     #    /* config.h.  Generated by config.status.  */
16215     configure_input='Generated from '`
16216           $as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
16217         `' by configure.'
16218     if test x"$ac_file" != x-; then
16219       configure_input="$ac_file.  $configure_input"
16220       { $as_echo "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5
16221 $as_echo "$as_me: creating $ac_file" >&6;}
16222     fi
16223     # Neutralize special characters interpreted by sed in replacement strings.
16224     case $configure_input in #(
16225     *\&* | *\|* | *\\* )
16226        ac_sed_conf_input=`$as_echo "$configure_input" |
16227        sed 's/[\\\\&|]/\\\\&/g'`;; #(
16228     *) ac_sed_conf_input=$configure_input;;
16229     esac
16230
16231     case $ac_tag in
16232     *:-:* | *:-) cat >"$ac_tmp/stdin" \
16233       || as_fn_error $? "could not create $ac_file" "$LINENO" 5 ;;
16234     esac
16235     ;;
16236   esac
16237
16238   ac_dir=`$as_dirname -- "$ac_file" ||
16239 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
16240          X"$ac_file" : 'X\(//\)[^/]' \| \
16241          X"$ac_file" : 'X\(//\)$' \| \
16242          X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
16243 $as_echo X"$ac_file" |
16244     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
16245             s//\1/
16246             q
16247           }
16248           /^X\(\/\/\)[^/].*/{
16249             s//\1/
16250             q
16251           }
16252           /^X\(\/\/\)$/{
16253             s//\1/
16254             q
16255           }
16256           /^X\(\/\).*/{
16257             s//\1/
16258             q
16259           }
16260           s/.*/./; q'`
16261   as_dir="$ac_dir"; as_fn_mkdir_p
16262   ac_builddir=.
16263
16264 case "$ac_dir" in
16265 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
16266 *)
16267   ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
16268   # A ".." for each directory in $ac_dir_suffix.
16269   ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
16270   case $ac_top_builddir_sub in
16271   "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
16272   *)  ac_top_build_prefix=$ac_top_builddir_sub/ ;;
16273   esac ;;
16274 esac
16275 ac_abs_top_builddir=$ac_pwd
16276 ac_abs_builddir=$ac_pwd$ac_dir_suffix
16277 # for backward compatibility:
16278 ac_top_builddir=$ac_top_build_prefix
16279
16280 case $srcdir in
16281   .)  # We are building in place.
16282     ac_srcdir=.
16283     ac_top_srcdir=$ac_top_builddir_sub
16284     ac_abs_top_srcdir=$ac_pwd ;;
16285   [\\/]* | ?:[\\/]* )  # Absolute name.
16286     ac_srcdir=$srcdir$ac_dir_suffix;
16287     ac_top_srcdir=$srcdir
16288     ac_abs_top_srcdir=$srcdir ;;
16289   *) # Relative name.
16290     ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
16291     ac_top_srcdir=$ac_top_build_prefix$srcdir
16292     ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
16293 esac
16294 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
16295
16296
16297   case $ac_mode in
16298   :F)
16299   #
16300   # CONFIG_FILE
16301   #
16302
16303   case $INSTALL in
16304   [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
16305   *) ac_INSTALL=$ac_top_build_prefix$INSTALL ;;
16306   esac
16307   ac_MKDIR_P=$MKDIR_P
16308   case $MKDIR_P in
16309   [\\/$]* | ?:[\\/]* ) ;;
16310   */*) ac_MKDIR_P=$ac_top_build_prefix$MKDIR_P ;;
16311   esac
16312 _ACEOF
16313
16314 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
16315 # If the template does not know about datarootdir, expand it.
16316 # FIXME: This hack should be removed a few years after 2.60.
16317 ac_datarootdir_hack=; ac_datarootdir_seen=
16318 ac_sed_dataroot='
16319 /datarootdir/ {
16320   p
16321   q
16322 }
16323 /@datadir@/p
16324 /@docdir@/p
16325 /@infodir@/p
16326 /@localedir@/p
16327 /@mandir@/p'
16328 case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in
16329 *datarootdir*) ac_datarootdir_seen=yes;;
16330 *@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*)
16331   { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
16332 $as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
16333 _ACEOF
16334 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
16335   ac_datarootdir_hack='
16336   s&@datadir@&$datadir&g
16337   s&@docdir@&$docdir&g
16338   s&@infodir@&$infodir&g
16339   s&@localedir@&$localedir&g
16340   s&@mandir@&$mandir&g
16341   s&\\\${datarootdir}&$datarootdir&g' ;;
16342 esac
16343 _ACEOF
16344
16345 # Neutralize VPATH when `$srcdir' = `.'.
16346 # Shell code in configure.ac might set extrasub.
16347 # FIXME: do we really want to maintain this feature?
16348 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
16349 ac_sed_extra="$ac_vpsub
16350 $extrasub
16351 _ACEOF
16352 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
16353 :t
16354 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
16355 s|@configure_input@|$ac_sed_conf_input|;t t
16356 s&@top_builddir@&$ac_top_builddir_sub&;t t
16357 s&@top_build_prefix@&$ac_top_build_prefix&;t t
16358 s&@srcdir@&$ac_srcdir&;t t
16359 s&@abs_srcdir@&$ac_abs_srcdir&;t t
16360 s&@top_srcdir@&$ac_top_srcdir&;t t
16361 s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t
16362 s&@builddir@&$ac_builddir&;t t
16363 s&@abs_builddir@&$ac_abs_builddir&;t t
16364 s&@abs_top_builddir@&$ac_abs_top_builddir&;t t
16365 s&@INSTALL@&$ac_INSTALL&;t t
16366 s&@MKDIR_P@&$ac_MKDIR_P&;t t
16367 $ac_datarootdir_hack
16368 "
16369 eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$ac_tmp/subs.awk" \
16370   >$ac_tmp/out || as_fn_error $? "could not create $ac_file" "$LINENO" 5
16371
16372 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
16373   { ac_out=`sed -n '/\${datarootdir}/p' "$ac_tmp/out"`; test -n "$ac_out"; } &&
16374   { ac_out=`sed -n '/^[  ]*datarootdir[  ]*:*=/p' \
16375       "$ac_tmp/out"`; test -z "$ac_out"; } &&
16376   { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file contains a reference to the variable \`datarootdir'
16377 which seems to be undefined.  Please make sure it is defined" >&5
16378 $as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir'
16379 which seems to be undefined.  Please make sure it is defined" >&2;}
16380
16381   rm -f "$ac_tmp/stdin"
16382   case $ac_file in
16383   -) cat "$ac_tmp/out" && rm -f "$ac_tmp/out";;
16384   *) rm -f "$ac_file" && mv "$ac_tmp/out" "$ac_file";;
16385   esac \
16386   || as_fn_error $? "could not create $ac_file" "$LINENO" 5
16387  ;;
16388   :H)
16389   #
16390   # CONFIG_HEADER
16391   #
16392   if test x"$ac_file" != x-; then
16393     {
16394       $as_echo "/* $configure_input  */" \
16395       && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs"
16396     } >"$ac_tmp/config.h" \
16397       || as_fn_error $? "could not create $ac_file" "$LINENO" 5
16398     if diff "$ac_file" "$ac_tmp/config.h" >/dev/null 2>&1; then
16399       { $as_echo "$as_me:${as_lineno-$LINENO}: $ac_file is unchanged" >&5
16400 $as_echo "$as_me: $ac_file is unchanged" >&6;}
16401     else
16402       rm -f "$ac_file"
16403       mv "$ac_tmp/config.h" "$ac_file" \
16404         || as_fn_error $? "could not create $ac_file" "$LINENO" 5
16405     fi
16406   else
16407     $as_echo "/* $configure_input  */" \
16408       && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs" \
16409       || as_fn_error $? "could not create -" "$LINENO" 5
16410   fi
16411 # Compute "$ac_file"'s index in $config_headers.
16412 _am_arg="$ac_file"
16413 _am_stamp_count=1
16414 for _am_header in $config_headers :; do
16415   case $_am_header in
16416     $_am_arg | $_am_arg:* )
16417       break ;;
16418     * )
16419       _am_stamp_count=`expr $_am_stamp_count + 1` ;;
16420   esac
16421 done
16422 echo "timestamp for $_am_arg" >`$as_dirname -- "$_am_arg" ||
16423 $as_expr X"$_am_arg" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
16424          X"$_am_arg" : 'X\(//\)[^/]' \| \
16425          X"$_am_arg" : 'X\(//\)$' \| \
16426          X"$_am_arg" : 'X\(/\)' \| . 2>/dev/null ||
16427 $as_echo X"$_am_arg" |
16428     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
16429             s//\1/
16430             q
16431           }
16432           /^X\(\/\/\)[^/].*/{
16433             s//\1/
16434             q
16435           }
16436           /^X\(\/\/\)$/{
16437             s//\1/
16438             q
16439           }
16440           /^X\(\/\).*/{
16441             s//\1/
16442             q
16443           }
16444           s/.*/./; q'`/stamp-h$_am_stamp_count
16445  ;;
16446
16447   :C)  { $as_echo "$as_me:${as_lineno-$LINENO}: executing $ac_file commands" >&5
16448 $as_echo "$as_me: executing $ac_file commands" >&6;}
16449  ;;
16450   esac
16451
16452
16453   case $ac_file$ac_mode in
16454     "depfiles":C) test x"$AMDEP_TRUE" != x"" || {
16455   # Older Autoconf quotes --file arguments for eval, but not when files
16456   # are listed without --file.  Let's play safe and only enable the eval
16457   # if we detect the quoting.
16458   case $CONFIG_FILES in
16459   *\'*) eval set x "$CONFIG_FILES" ;;
16460   *)   set x $CONFIG_FILES ;;
16461   esac
16462   shift
16463   for mf
16464   do
16465     # Strip MF so we end up with the name of the file.
16466     mf=`echo "$mf" | sed -e 's/:.*$//'`
16467     # Check whether this is an Automake generated Makefile or not.
16468     # We used to match only the files named 'Makefile.in', but
16469     # some people rename them; so instead we look at the file content.
16470     # Grep'ing the first line is not enough: some people post-process
16471     # each Makefile.in and add a new line on top of each file to say so.
16472     # Grep'ing the whole file is not good either: AIX grep has a line
16473     # limit of 2048, but all sed's we know have understand at least 4000.
16474     if sed -n 's,^#.*generated by automake.*,X,p' "$mf" | grep X >/dev/null 2>&1; then
16475       dirpart=`$as_dirname -- "$mf" ||
16476 $as_expr X"$mf" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
16477          X"$mf" : 'X\(//\)[^/]' \| \
16478          X"$mf" : 'X\(//\)$' \| \
16479          X"$mf" : 'X\(/\)' \| . 2>/dev/null ||
16480 $as_echo X"$mf" |
16481     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
16482             s//\1/
16483             q
16484           }
16485           /^X\(\/\/\)[^/].*/{
16486             s//\1/
16487             q
16488           }
16489           /^X\(\/\/\)$/{
16490             s//\1/
16491             q
16492           }
16493           /^X\(\/\).*/{
16494             s//\1/
16495             q
16496           }
16497           s/.*/./; q'`
16498     else
16499       continue
16500     fi
16501     # Extract the definition of DEPDIR, am__include, and am__quote
16502     # from the Makefile without running 'make'.
16503     DEPDIR=`sed -n 's/^DEPDIR = //p' < "$mf"`
16504     test -z "$DEPDIR" && continue
16505     am__include=`sed -n 's/^am__include = //p' < "$mf"`
16506     test -z "am__include" && continue
16507     am__quote=`sed -n 's/^am__quote = //p' < "$mf"`
16508     # Find all dependency output files, they are included files with
16509     # $(DEPDIR) in their names.  We invoke sed twice because it is the
16510     # simplest approach to changing $(DEPDIR) to its actual value in the
16511     # expansion.
16512     for file in `sed -n "
16513       s/^$am__include $am__quote\(.*(DEPDIR).*\)$am__quote"'$/\1/p' <"$mf" | \
16514          sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g'`; do
16515       # Make sure the directory exists.
16516       test -f "$dirpart/$file" && continue
16517       fdir=`$as_dirname -- "$file" ||
16518 $as_expr X"$file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
16519          X"$file" : 'X\(//\)[^/]' \| \
16520          X"$file" : 'X\(//\)$' \| \
16521          X"$file" : 'X\(/\)' \| . 2>/dev/null ||
16522 $as_echo X"$file" |
16523     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
16524             s//\1/
16525             q
16526           }
16527           /^X\(\/\/\)[^/].*/{
16528             s//\1/
16529             q
16530           }
16531           /^X\(\/\/\)$/{
16532             s//\1/
16533             q
16534           }
16535           /^X\(\/\).*/{
16536             s//\1/
16537             q
16538           }
16539           s/.*/./; q'`
16540       as_dir=$dirpart/$fdir; as_fn_mkdir_p
16541       # echo "creating $dirpart/$file"
16542       echo '# dummy' > "$dirpart/$file"
16543     done
16544   done
16545 }
16546  ;;
16547     "libtool":C)
16548
16549     # See if we are running on zsh, and set the options which allow our
16550     # commands through without removal of \ escapes.
16551     if test -n "${ZSH_VERSION+set}" ; then
16552       setopt NO_GLOB_SUBST
16553     fi
16554
16555     cfgfile="${ofile}T"
16556     trap "$RM \"$cfgfile\"; exit 1" 1 2 15
16557     $RM "$cfgfile"
16558
16559     cat <<_LT_EOF >> "$cfgfile"
16560 #! $SHELL
16561
16562 # `$ECHO "$ofile" | sed 's%^.*/%%'` - Provide generalized library-building support services.
16563 # Generated automatically by $as_me ($PACKAGE$TIMESTAMP) $VERSION
16564 # Libtool was configured on host `(hostname || uname -n) 2>/dev/null | sed 1q`:
16565 # NOTE: Changes made to this file will be lost: look at ltmain.sh.
16566 #
16567 #   Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2003, 2004, 2005,
16568 #                 2006, 2007, 2008, 2009, 2010, 2011 Free Software
16569 #                 Foundation, Inc.
16570 #   Written by Gordon Matzigkeit, 1996
16571 #
16572 #   This file is part of GNU Libtool.
16573 #
16574 # GNU Libtool is free software; you can redistribute it and/or
16575 # modify it under the terms of the GNU General Public License as
16576 # published by the Free Software Foundation; either version 2 of
16577 # the License, or (at your option) any later version.
16578 #
16579 # As a special exception to the GNU General Public License,
16580 # if you distribute this file as part of a program or library that
16581 # is built using GNU Libtool, you may include this file under the
16582 # same distribution terms that you use for the rest of that program.
16583 #
16584 # GNU Libtool is distributed in the hope that it will be useful,
16585 # but WITHOUT ANY WARRANTY; without even the implied warranty of
16586 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
16587 # GNU General Public License for more details.
16588 #
16589 # You should have received a copy of the GNU General Public License
16590 # along with GNU Libtool; see the file COPYING.  If not, a copy
16591 # can be downloaded from http://www.gnu.org/licenses/gpl.html, or
16592 # obtained by writing to the Free Software Foundation, Inc.,
16593 # 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
16594
16595
16596 # The names of the tagged configurations supported by this script.
16597 available_tags=""
16598
16599 # ### BEGIN LIBTOOL CONFIG
16600
16601 # Which release of libtool.m4 was used?
16602 macro_version=$macro_version
16603 macro_revision=$macro_revision
16604
16605 # Whether or not to build shared libraries.
16606 build_libtool_libs=$enable_shared
16607
16608 # Whether or not to build static libraries.
16609 build_old_libs=$enable_static
16610
16611 # What type of objects to build.
16612 pic_mode=$pic_mode
16613
16614 # Whether or not to optimize for fast installation.
16615 fast_install=$enable_fast_install
16616
16617 # Shell to use when invoking shell scripts.
16618 SHELL=$lt_SHELL
16619
16620 # An echo program that protects backslashes.
16621 ECHO=$lt_ECHO
16622
16623 # The PATH separator for the build system.
16624 PATH_SEPARATOR=$lt_PATH_SEPARATOR
16625
16626 # The host system.
16627 host_alias=$host_alias
16628 host=$host
16629 host_os=$host_os
16630
16631 # The build system.
16632 build_alias=$build_alias
16633 build=$build
16634 build_os=$build_os
16635
16636 # A sed program that does not truncate output.
16637 SED=$lt_SED
16638
16639 # Sed that helps us avoid accidentally triggering echo(1) options like -n.
16640 Xsed="\$SED -e 1s/^X//"
16641
16642 # A grep program that handles long lines.
16643 GREP=$lt_GREP
16644
16645 # An ERE matcher.
16646 EGREP=$lt_EGREP
16647
16648 # A literal string matcher.
16649 FGREP=$lt_FGREP
16650
16651 # A BSD- or MS-compatible name lister.
16652 NM=$lt_NM
16653
16654 # Whether we need soft or hard links.
16655 LN_S=$lt_LN_S
16656
16657 # What is the maximum length of a command?
16658 max_cmd_len=$max_cmd_len
16659
16660 # Object file suffix (normally "o").
16661 objext=$ac_objext
16662
16663 # Executable file suffix (normally "").
16664 exeext=$exeext
16665
16666 # whether the shell understands "unset".
16667 lt_unset=$lt_unset
16668
16669 # turn spaces into newlines.
16670 SP2NL=$lt_lt_SP2NL
16671
16672 # turn newlines into spaces.
16673 NL2SP=$lt_lt_NL2SP
16674
16675 # convert \$build file names to \$host format.
16676 to_host_file_cmd=$lt_cv_to_host_file_cmd
16677
16678 # convert \$build files to toolchain format.
16679 to_tool_file_cmd=$lt_cv_to_tool_file_cmd
16680
16681 # An object symbol dumper.
16682 OBJDUMP=$lt_OBJDUMP
16683
16684 # Method to check whether dependent libraries are shared objects.
16685 deplibs_check_method=$lt_deplibs_check_method
16686
16687 # Command to use when deplibs_check_method = "file_magic".
16688 file_magic_cmd=$lt_file_magic_cmd
16689
16690 # How to find potential files when deplibs_check_method = "file_magic".
16691 file_magic_glob=$lt_file_magic_glob
16692
16693 # Find potential files using nocaseglob when deplibs_check_method = "file_magic".
16694 want_nocaseglob=$lt_want_nocaseglob
16695
16696 # DLL creation program.
16697 DLLTOOL=$lt_DLLTOOL
16698
16699 # Command to associate shared and link libraries.
16700 sharedlib_from_linklib_cmd=$lt_sharedlib_from_linklib_cmd
16701
16702 # The archiver.
16703 AR=$lt_AR
16704
16705 # Flags to create an archive.
16706 AR_FLAGS=$lt_AR_FLAGS
16707
16708 # How to feed a file listing to the archiver.
16709 archiver_list_spec=$lt_archiver_list_spec
16710
16711 # A symbol stripping program.
16712 STRIP=$lt_STRIP
16713
16714 # Commands used to install an old-style archive.
16715 RANLIB=$lt_RANLIB
16716 old_postinstall_cmds=$lt_old_postinstall_cmds
16717 old_postuninstall_cmds=$lt_old_postuninstall_cmds
16718
16719 # Whether to use a lock for old archive extraction.
16720 lock_old_archive_extraction=$lock_old_archive_extraction
16721
16722 # A C compiler.
16723 LTCC=$lt_CC
16724
16725 # LTCC compiler flags.
16726 LTCFLAGS=$lt_CFLAGS
16727
16728 # Take the output of nm and produce a listing of raw symbols and C names.
16729 global_symbol_pipe=$lt_lt_cv_sys_global_symbol_pipe
16730
16731 # Transform the output of nm in a proper C declaration.
16732 global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl
16733
16734 # Transform the output of nm in a C name address pair.
16735 global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address
16736
16737 # Transform the output of nm in a C name address pair when lib prefix is needed.
16738 global_symbol_to_c_name_address_lib_prefix=$lt_lt_cv_sys_global_symbol_to_c_name_address_lib_prefix
16739
16740 # Specify filename containing input files for \$NM.
16741 nm_file_list_spec=$lt_nm_file_list_spec
16742
16743 # The root where to search for dependent libraries,and in which our libraries should be installed.
16744 lt_sysroot=$lt_sysroot
16745
16746 # The name of the directory that contains temporary libtool files.
16747 objdir=$objdir
16748
16749 # Used to examine libraries when file_magic_cmd begins with "file".
16750 MAGIC_CMD=$MAGIC_CMD
16751
16752 # Must we lock files when doing compilation?
16753 need_locks=$lt_need_locks
16754
16755 # Manifest tool.
16756 MANIFEST_TOOL=$lt_MANIFEST_TOOL
16757
16758 # Tool to manipulate archived DWARF debug symbol files on Mac OS X.
16759 DSYMUTIL=$lt_DSYMUTIL
16760
16761 # Tool to change global to local symbols on Mac OS X.
16762 NMEDIT=$lt_NMEDIT
16763
16764 # Tool to manipulate fat objects and archives on Mac OS X.
16765 LIPO=$lt_LIPO
16766
16767 # ldd/readelf like tool for Mach-O binaries on Mac OS X.
16768 OTOOL=$lt_OTOOL
16769
16770 # ldd/readelf like tool for 64 bit Mach-O binaries on Mac OS X 10.4.
16771 OTOOL64=$lt_OTOOL64
16772
16773 # Old archive suffix (normally "a").
16774 libext=$libext
16775
16776 # Shared library suffix (normally ".so").
16777 shrext_cmds=$lt_shrext_cmds
16778
16779 # The commands to extract the exported symbol list from a shared archive.
16780 extract_expsyms_cmds=$lt_extract_expsyms_cmds
16781
16782 # Variables whose values should be saved in libtool wrapper scripts and
16783 # restored at link time.
16784 variables_saved_for_relink=$lt_variables_saved_for_relink
16785
16786 # Do we need the "lib" prefix for modules?
16787 need_lib_prefix=$need_lib_prefix
16788
16789 # Do we need a version for libraries?
16790 need_version=$need_version
16791
16792 # Library versioning type.
16793 version_type=$version_type
16794
16795 # Shared library runtime path variable.
16796 runpath_var=$runpath_var
16797
16798 # Shared library path variable.
16799 shlibpath_var=$shlibpath_var
16800
16801 # Is shlibpath searched before the hard-coded library search path?
16802 shlibpath_overrides_runpath=$shlibpath_overrides_runpath
16803
16804 # Format of library name prefix.
16805 libname_spec=$lt_libname_spec
16806
16807 # List of archive names.  First name is the real one, the rest are links.
16808 # The last name is the one that the linker finds with -lNAME
16809 library_names_spec=$lt_library_names_spec
16810
16811 # The coded name of the library, if different from the real name.
16812 soname_spec=$lt_soname_spec
16813
16814 # Permission mode override for installation of shared libraries.
16815 install_override_mode=$lt_install_override_mode
16816
16817 # Command to use after installation of a shared archive.
16818 postinstall_cmds=$lt_postinstall_cmds
16819
16820 # Command to use after uninstallation of a shared archive.
16821 postuninstall_cmds=$lt_postuninstall_cmds
16822
16823 # Commands used to finish a libtool library installation in a directory.
16824 finish_cmds=$lt_finish_cmds
16825
16826 # As "finish_cmds", except a single script fragment to be evaled but
16827 # not shown.
16828 finish_eval=$lt_finish_eval
16829
16830 # Whether we should hardcode library paths into libraries.
16831 hardcode_into_libs=$hardcode_into_libs
16832
16833 # Compile-time system search path for libraries.
16834 sys_lib_search_path_spec=$lt_sys_lib_search_path_spec
16835
16836 # Run-time system search path for libraries.
16837 sys_lib_dlsearch_path_spec=$lt_sys_lib_dlsearch_path_spec
16838
16839 # Whether dlopen is supported.
16840 dlopen_support=$enable_dlopen
16841
16842 # Whether dlopen of programs is supported.
16843 dlopen_self=$enable_dlopen_self
16844
16845 # Whether dlopen of statically linked programs is supported.
16846 dlopen_self_static=$enable_dlopen_self_static
16847
16848 # Commands to strip libraries.
16849 old_striplib=$lt_old_striplib
16850 striplib=$lt_striplib
16851
16852
16853 # The linker used to build libraries.
16854 LD=$lt_LD
16855
16856 # How to create reloadable object files.
16857 reload_flag=$lt_reload_flag
16858 reload_cmds=$lt_reload_cmds
16859
16860 # Commands used to build an old-style archive.
16861 old_archive_cmds=$lt_old_archive_cmds
16862
16863 # A language specific compiler.
16864 CC=$lt_compiler
16865
16866 # Is the compiler the GNU compiler?
16867 with_gcc=$GCC
16868
16869 # Compiler flag to turn off builtin functions.
16870 no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag
16871
16872 # Additional compiler flags for building library objects.
16873 pic_flag=$lt_lt_prog_compiler_pic
16874
16875 # How to pass a linker flag through the compiler.
16876 wl=$lt_lt_prog_compiler_wl
16877
16878 # Compiler flag to prevent dynamic linking.
16879 link_static_flag=$lt_lt_prog_compiler_static
16880
16881 # Does compiler simultaneously support -c and -o options?
16882 compiler_c_o=$lt_lt_cv_prog_compiler_c_o
16883
16884 # Whether or not to add -lc for building shared libraries.
16885 build_libtool_need_lc=$archive_cmds_need_lc
16886
16887 # Whether or not to disallow shared libs when runtime libs are static.
16888 allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes
16889
16890 # Compiler flag to allow reflexive dlopens.
16891 export_dynamic_flag_spec=$lt_export_dynamic_flag_spec
16892
16893 # Compiler flag to generate shared objects directly from archives.
16894 whole_archive_flag_spec=$lt_whole_archive_flag_spec
16895
16896 # Whether the compiler copes with passing no objects directly.
16897 compiler_needs_object=$lt_compiler_needs_object
16898
16899 # Create an old-style archive from a shared archive.
16900 old_archive_from_new_cmds=$lt_old_archive_from_new_cmds
16901
16902 # Create a temporary old-style archive to link instead of a shared archive.
16903 old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds
16904
16905 # Commands used to build a shared archive.
16906 archive_cmds=$lt_archive_cmds
16907 archive_expsym_cmds=$lt_archive_expsym_cmds
16908
16909 # Commands used to build a loadable module if different from building
16910 # a shared archive.
16911 module_cmds=$lt_module_cmds
16912 module_expsym_cmds=$lt_module_expsym_cmds
16913
16914 # Whether we are building with GNU ld or not.
16915 with_gnu_ld=$lt_with_gnu_ld
16916
16917 # Flag that allows shared libraries with undefined symbols to be built.
16918 allow_undefined_flag=$lt_allow_undefined_flag
16919
16920 # Flag that enforces no undefined symbols.
16921 no_undefined_flag=$lt_no_undefined_flag
16922
16923 # Flag to hardcode \$libdir into a binary during linking.
16924 # This must work even if \$libdir does not exist
16925 hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec
16926
16927 # Whether we need a single "-rpath" flag with a separated argument.
16928 hardcode_libdir_separator=$lt_hardcode_libdir_separator
16929
16930 # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
16931 # DIR into the resulting binary.
16932 hardcode_direct=$hardcode_direct
16933
16934 # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
16935 # DIR into the resulting binary and the resulting library dependency is
16936 # "absolute",i.e impossible to change by setting \${shlibpath_var} if the
16937 # library is relocated.
16938 hardcode_direct_absolute=$hardcode_direct_absolute
16939
16940 # Set to "yes" if using the -LDIR flag during linking hardcodes DIR
16941 # into the resulting binary.
16942 hardcode_minus_L=$hardcode_minus_L
16943
16944 # Set to "yes" if using SHLIBPATH_VAR=DIR during linking hardcodes DIR
16945 # into the resulting binary.
16946 hardcode_shlibpath_var=$hardcode_shlibpath_var
16947
16948 # Set to "yes" if building a shared library automatically hardcodes DIR
16949 # into the library and all subsequent libraries and executables linked
16950 # against it.
16951 hardcode_automatic=$hardcode_automatic
16952
16953 # Set to yes if linker adds runtime paths of dependent libraries
16954 # to runtime path list.
16955 inherit_rpath=$inherit_rpath
16956
16957 # Whether libtool must link a program against all its dependency libraries.
16958 link_all_deplibs=$link_all_deplibs
16959
16960 # Set to "yes" if exported symbols are required.
16961 always_export_symbols=$always_export_symbols
16962
16963 # The commands to list exported symbols.
16964 export_symbols_cmds=$lt_export_symbols_cmds
16965
16966 # Symbols that should not be listed in the preloaded symbols.
16967 exclude_expsyms=$lt_exclude_expsyms
16968
16969 # Symbols that must always be exported.
16970 include_expsyms=$lt_include_expsyms
16971
16972 # Commands necessary for linking programs (against libraries) with templates.
16973 prelink_cmds=$lt_prelink_cmds
16974
16975 # Commands necessary for finishing linking programs.
16976 postlink_cmds=$lt_postlink_cmds
16977
16978 # Specify filename containing input files.
16979 file_list_spec=$lt_file_list_spec
16980
16981 # How to hardcode a shared library path into an executable.
16982 hardcode_action=$hardcode_action
16983
16984 # ### END LIBTOOL CONFIG
16985
16986 _LT_EOF
16987
16988   case $host_os in
16989   aix3*)
16990     cat <<\_LT_EOF >> "$cfgfile"
16991 # AIX sometimes has problems with the GCC collect2 program.  For some
16992 # reason, if we set the COLLECT_NAMES environment variable, the problems
16993 # vanish in a puff of smoke.
16994 if test "X${COLLECT_NAMES+set}" != Xset; then
16995   COLLECT_NAMES=
16996   export COLLECT_NAMES
16997 fi
16998 _LT_EOF
16999     ;;
17000   esac
17001
17002
17003 ltmain="$ac_aux_dir/ltmain.sh"
17004
17005
17006   # We use sed instead of cat because bash on DJGPP gets confused if
17007   # if finds mixed CR/LF and LF-only lines.  Since sed operates in
17008   # text mode, it properly converts lines to CR/LF.  This bash problem
17009   # is reportedly fixed, but why not run on old versions too?
17010   sed '$q' "$ltmain" >> "$cfgfile" \
17011      || (rm -f "$cfgfile"; exit 1)
17012
17013   if test x"$xsi_shell" = xyes; then
17014   sed -e '/^func_dirname ()$/,/^} # func_dirname /c\
17015 func_dirname ()\
17016 {\
17017 \    case ${1} in\
17018 \      */*) func_dirname_result="${1%/*}${2}" ;;\
17019 \      *  ) func_dirname_result="${3}" ;;\
17020 \    esac\
17021 } # Extended-shell func_dirname implementation' "$cfgfile" > $cfgfile.tmp \
17022   && mv -f "$cfgfile.tmp" "$cfgfile" \
17023     || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
17024 test 0 -eq $? || _lt_function_replace_fail=:
17025
17026
17027   sed -e '/^func_basename ()$/,/^} # func_basename /c\
17028 func_basename ()\
17029 {\
17030 \    func_basename_result="${1##*/}"\
17031 } # Extended-shell func_basename implementation' "$cfgfile" > $cfgfile.tmp \
17032   && mv -f "$cfgfile.tmp" "$cfgfile" \
17033     || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
17034 test 0 -eq $? || _lt_function_replace_fail=:
17035
17036
17037   sed -e '/^func_dirname_and_basename ()$/,/^} # func_dirname_and_basename /c\
17038 func_dirname_and_basename ()\
17039 {\
17040 \    case ${1} in\
17041 \      */*) func_dirname_result="${1%/*}${2}" ;;\
17042 \      *  ) func_dirname_result="${3}" ;;\
17043 \    esac\
17044 \    func_basename_result="${1##*/}"\
17045 } # Extended-shell func_dirname_and_basename implementation' "$cfgfile" > $cfgfile.tmp \
17046   && mv -f "$cfgfile.tmp" "$cfgfile" \
17047     || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
17048 test 0 -eq $? || _lt_function_replace_fail=:
17049
17050
17051   sed -e '/^func_stripname ()$/,/^} # func_stripname /c\
17052 func_stripname ()\
17053 {\
17054 \    # pdksh 5.2.14 does not do ${X%$Y} correctly if both X and Y are\
17055 \    # positional parameters, so assign one to ordinary parameter first.\
17056 \    func_stripname_result=${3}\
17057 \    func_stripname_result=${func_stripname_result#"${1}"}\
17058 \    func_stripname_result=${func_stripname_result%"${2}"}\
17059 } # Extended-shell func_stripname implementation' "$cfgfile" > $cfgfile.tmp \
17060   && mv -f "$cfgfile.tmp" "$cfgfile" \
17061     || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
17062 test 0 -eq $? || _lt_function_replace_fail=:
17063
17064
17065   sed -e '/^func_split_long_opt ()$/,/^} # func_split_long_opt /c\
17066 func_split_long_opt ()\
17067 {\
17068 \    func_split_long_opt_name=${1%%=*}\
17069 \    func_split_long_opt_arg=${1#*=}\
17070 } # Extended-shell func_split_long_opt implementation' "$cfgfile" > $cfgfile.tmp \
17071   && mv -f "$cfgfile.tmp" "$cfgfile" \
17072     || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
17073 test 0 -eq $? || _lt_function_replace_fail=:
17074
17075
17076   sed -e '/^func_split_short_opt ()$/,/^} # func_split_short_opt /c\
17077 func_split_short_opt ()\
17078 {\
17079 \    func_split_short_opt_arg=${1#??}\
17080 \    func_split_short_opt_name=${1%"$func_split_short_opt_arg"}\
17081 } # Extended-shell func_split_short_opt implementation' "$cfgfile" > $cfgfile.tmp \
17082   && mv -f "$cfgfile.tmp" "$cfgfile" \
17083     || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
17084 test 0 -eq $? || _lt_function_replace_fail=:
17085
17086
17087   sed -e '/^func_lo2o ()$/,/^} # func_lo2o /c\
17088 func_lo2o ()\
17089 {\
17090 \    case ${1} in\
17091 \      *.lo) func_lo2o_result=${1%.lo}.${objext} ;;\
17092 \      *)    func_lo2o_result=${1} ;;\
17093 \    esac\
17094 } # Extended-shell func_lo2o implementation' "$cfgfile" > $cfgfile.tmp \
17095   && mv -f "$cfgfile.tmp" "$cfgfile" \
17096     || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
17097 test 0 -eq $? || _lt_function_replace_fail=:
17098
17099
17100   sed -e '/^func_xform ()$/,/^} # func_xform /c\
17101 func_xform ()\
17102 {\
17103     func_xform_result=${1%.*}.lo\
17104 } # Extended-shell func_xform implementation' "$cfgfile" > $cfgfile.tmp \
17105   && mv -f "$cfgfile.tmp" "$cfgfile" \
17106     || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
17107 test 0 -eq $? || _lt_function_replace_fail=:
17108
17109
17110   sed -e '/^func_arith ()$/,/^} # func_arith /c\
17111 func_arith ()\
17112 {\
17113     func_arith_result=$(( $* ))\
17114 } # Extended-shell func_arith implementation' "$cfgfile" > $cfgfile.tmp \
17115   && mv -f "$cfgfile.tmp" "$cfgfile" \
17116     || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
17117 test 0 -eq $? || _lt_function_replace_fail=:
17118
17119
17120   sed -e '/^func_len ()$/,/^} # func_len /c\
17121 func_len ()\
17122 {\
17123     func_len_result=${#1}\
17124 } # Extended-shell func_len implementation' "$cfgfile" > $cfgfile.tmp \
17125   && mv -f "$cfgfile.tmp" "$cfgfile" \
17126     || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
17127 test 0 -eq $? || _lt_function_replace_fail=:
17128
17129 fi
17130
17131 if test x"$lt_shell_append" = xyes; then
17132   sed -e '/^func_append ()$/,/^} # func_append /c\
17133 func_append ()\
17134 {\
17135     eval "${1}+=\\${2}"\
17136 } # Extended-shell func_append implementation' "$cfgfile" > $cfgfile.tmp \
17137   && mv -f "$cfgfile.tmp" "$cfgfile" \
17138     || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
17139 test 0 -eq $? || _lt_function_replace_fail=:
17140
17141
17142   sed -e '/^func_append_quoted ()$/,/^} # func_append_quoted /c\
17143 func_append_quoted ()\
17144 {\
17145 \    func_quote_for_eval "${2}"\
17146 \    eval "${1}+=\\\\ \\$func_quote_for_eval_result"\
17147 } # Extended-shell func_append_quoted implementation' "$cfgfile" > $cfgfile.tmp \
17148   && mv -f "$cfgfile.tmp" "$cfgfile" \
17149     || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
17150 test 0 -eq $? || _lt_function_replace_fail=:
17151
17152
17153   # Save a `func_append' function call where possible by direct use of '+='
17154   sed -e 's%func_append \([a-zA-Z_]\{1,\}\) "%\1+="%g' $cfgfile > $cfgfile.tmp \
17155     && mv -f "$cfgfile.tmp" "$cfgfile" \
17156       || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
17157   test 0 -eq $? || _lt_function_replace_fail=:
17158 else
17159   # Save a `func_append' function call even when '+=' is not available
17160   sed -e 's%func_append \([a-zA-Z_]\{1,\}\) "%\1="$\1%g' $cfgfile > $cfgfile.tmp \
17161     && mv -f "$cfgfile.tmp" "$cfgfile" \
17162       || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
17163   test 0 -eq $? || _lt_function_replace_fail=:
17164 fi
17165
17166 if test x"$_lt_function_replace_fail" = x":"; then
17167   { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Unable to substitute extended shell functions in $ofile" >&5
17168 $as_echo "$as_me: WARNING: Unable to substitute extended shell functions in $ofile" >&2;}
17169 fi
17170
17171
17172    mv -f "$cfgfile" "$ofile" ||
17173     (rm -f "$ofile" && cp "$cfgfile" "$ofile" && rm -f "$cfgfile")
17174   chmod +x "$ofile"
17175
17176  ;;
17177
17178   esac
17179 done # for ac_tag
17180
17181
17182 as_fn_exit 0
17183 _ACEOF
17184 ac_clean_files=$ac_clean_files_save
17185
17186 test $ac_write_fail = 0 ||
17187   as_fn_error $? "write failure creating $CONFIG_STATUS" "$LINENO" 5
17188
17189
17190 # configure is writing to config.log, and then calls config.status.
17191 # config.status does its own redirection, appending to config.log.
17192 # Unfortunately, on DOS this fails, as config.log is still kept open
17193 # by configure, so config.status won't be able to write to it; its
17194 # output is simply discarded.  So we exec the FD to /dev/null,
17195 # effectively closing config.log, so it can be properly (re)opened and
17196 # appended to by config.status.  When coming back to configure, we
17197 # need to make the FD available again.
17198 if test "$no_create" != yes; then
17199   ac_cs_success=:
17200   ac_config_status_args=
17201   test "$silent" = yes &&
17202     ac_config_status_args="$ac_config_status_args --quiet"
17203   exec 5>/dev/null
17204   $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
17205   exec 5>>config.log
17206   # Use ||, not &&, to avoid exiting from the if with $? = 1, which
17207   # would make configure fail if this is the last instruction.
17208   $ac_cs_success || as_fn_exit 1
17209 fi
17210 if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no; then
17211   { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
17212 $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}
17213 fi
17214
17215
17216 echo "
17217     gobject-introspection $VERSION
17218     ===============
17219
17220     tests: ${enable_tests}
17221 "