Imported Upstream version 1.35.8
[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.8.
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.8'
595 PACKAGE_STRING='gobject-introspection 1.35.8'
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 AM_BACKSLASH
766 AM_DEFAULT_VERBOSITY
767 AM_DEFAULT_V
768 AM_V
769 MAINT
770 MAINTAINER_MODE_FALSE
771 MAINTAINER_MODE_TRUE
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_maintainer_mode
837 enable_silent_rules
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.8 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.8:";;
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   --disable-maintainer-mode
1508                           disable make rules and dependencies not useful (and
1509                           sometimes confusing) to the casual installer
1510   --enable-silent-rules   less verbose build output (undo: "make V=1")
1511   --disable-silent-rules  verbose build output (undo: "make V=0")
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.8
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.8, 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.12'
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 --run true"; then
2772   am_missing_run="$MISSING --run "
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 if test "`cd $srcdir && pwd`" != "`pwd`"; then
3013   # Use -I$(srcdir) only when $(srcdir) != ., so that make's output
3014   # is not polluted with repeated "-I."
3015   am__isrc=' -I$(srcdir)'
3016   # test to see if srcdir already configured
3017   if test -f $srcdir/config.status; then
3018     as_fn_error $? "source directory already configured; run \"make distclean\" there first" "$LINENO" 5
3019   fi
3020 fi
3021
3022 # test whether we have cygpath
3023 if test -z "$CYGPATH_W"; then
3024   if (cygpath --version) >/dev/null 2>/dev/null; then
3025     CYGPATH_W='cygpath -w'
3026   else
3027     CYGPATH_W=echo
3028   fi
3029 fi
3030
3031
3032 # Define the identity of the package.
3033  PACKAGE='gobject-introspection'
3034  VERSION='1.35.8'
3035
3036
3037 cat >>confdefs.h <<_ACEOF
3038 #define PACKAGE "$PACKAGE"
3039 _ACEOF
3040
3041
3042 cat >>confdefs.h <<_ACEOF
3043 #define VERSION "$VERSION"
3044 _ACEOF
3045
3046 # Some tools Automake needs.
3047
3048 ACLOCAL=${ACLOCAL-"${am_missing_run}aclocal-${am__api_version}"}
3049
3050
3051 AUTOCONF=${AUTOCONF-"${am_missing_run}autoconf"}
3052
3053
3054 AUTOMAKE=${AUTOMAKE-"${am_missing_run}automake-${am__api_version}"}
3055
3056
3057 AUTOHEADER=${AUTOHEADER-"${am_missing_run}autoheader"}
3058
3059
3060 MAKEINFO=${MAKEINFO-"${am_missing_run}makeinfo"}
3061
3062 # For better backward compatibility.  To be removed once Automake 1.9.x
3063 # dies out for good.  For more background, see:
3064 # <http://lists.gnu.org/archive/html/automake/2012-07/msg00001.html>
3065 # <http://lists.gnu.org/archive/html/automake/2012-07/msg00014.html>
3066 mkdir_p='$(MKDIR_P)'
3067
3068 # We need awk for the "check" target.  The system "awk" is bad on
3069 # some platforms.
3070 # Always define AMTAR for backward compatibility.  Yes, it's still used
3071 # in the wild :-(  We should find a proper way to deprecate it ...
3072 AMTAR='$${TAR-tar}'
3073
3074
3075 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to create a ustar tar archive" >&5
3076 $as_echo_n "checking how to create a ustar tar archive... " >&6; }
3077 # Loop over all known methods to create a tar archive until one works.
3078 _am_tools='gnutar plaintar pax cpio none'
3079 _am_tools=${am_cv_prog_tar_ustar-$_am_tools}
3080 # Do not fold the above two line into one, because Tru64 sh and
3081 # Solaris sh will not grok spaces in the rhs of '-'.
3082 for _am_tool in $_am_tools
3083 do
3084   case $_am_tool in
3085   gnutar)
3086     for _am_tar in tar gnutar gtar;
3087     do
3088       { echo "$as_me:$LINENO: $_am_tar --version" >&5
3089    ($_am_tar --version) >&5 2>&5
3090    ac_status=$?
3091    echo "$as_me:$LINENO: \$? = $ac_status" >&5
3092    (exit $ac_status); } && break
3093     done
3094     am__tar="$_am_tar --format=ustar -chf - "'"$$tardir"'
3095     am__tar_="$_am_tar --format=ustar -chf - "'"$tardir"'
3096     am__untar="$_am_tar -xf -"
3097     ;;
3098   plaintar)
3099     # Must skip GNU tar: if it does not support --format= it doesn't create
3100     # ustar tarball either.
3101     (tar --version) >/dev/null 2>&1 && continue
3102     am__tar='tar chf - "$$tardir"'
3103     am__tar_='tar chf - "$tardir"'
3104     am__untar='tar xf -'
3105     ;;
3106   pax)
3107     am__tar='pax -L -x ustar -w "$$tardir"'
3108     am__tar_='pax -L -x ustar -w "$tardir"'
3109     am__untar='pax -r'
3110     ;;
3111   cpio)
3112     am__tar='find "$$tardir" -print | cpio -o -H ustar -L'
3113     am__tar_='find "$tardir" -print | cpio -o -H ustar -L'
3114     am__untar='cpio -i -H ustar -d'
3115     ;;
3116   none)
3117     am__tar=false
3118     am__tar_=false
3119     am__untar=false
3120     ;;
3121   esac
3122
3123   # If the value was cached, stop now.  We just wanted to have am__tar
3124   # and am__untar set.
3125   test -n "${am_cv_prog_tar_ustar}" && break
3126
3127   # tar/untar a dummy directory, and stop if the command works
3128   rm -rf conftest.dir
3129   mkdir conftest.dir
3130   echo GrepMe > conftest.dir/file
3131   { echo "$as_me:$LINENO: tardir=conftest.dir && eval $am__tar_ >conftest.tar" >&5
3132    (tardir=conftest.dir && eval $am__tar_ >conftest.tar) >&5 2>&5
3133    ac_status=$?
3134    echo "$as_me:$LINENO: \$? = $ac_status" >&5
3135    (exit $ac_status); }
3136   rm -rf conftest.dir
3137   if test -s conftest.tar; then
3138     { echo "$as_me:$LINENO: $am__untar <conftest.tar" >&5
3139    ($am__untar <conftest.tar) >&5 2>&5
3140    ac_status=$?
3141    echo "$as_me:$LINENO: \$? = $ac_status" >&5
3142    (exit $ac_status); }
3143     grep GrepMe conftest.dir/file >/dev/null 2>&1 && break
3144   fi
3145 done
3146 rm -rf conftest.dir
3147
3148 if ${am_cv_prog_tar_ustar+:} false; then :
3149   $as_echo_n "(cached) " >&6
3150 else
3151   am_cv_prog_tar_ustar=$_am_tool
3152 fi
3153
3154 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_prog_tar_ustar" >&5
3155 $as_echo "$am_cv_prog_tar_ustar" >&6; }
3156
3157
3158
3159
3160
3161
3162 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to enable maintainer-specific portions of Makefiles" >&5
3163 $as_echo_n "checking whether to enable maintainer-specific portions of Makefiles... " >&6; }
3164     # Check whether --enable-maintainer-mode was given.
3165 if test "${enable_maintainer_mode+set}" = set; then :
3166   enableval=$enable_maintainer_mode; USE_MAINTAINER_MODE=$enableval
3167 else
3168   USE_MAINTAINER_MODE=yes
3169 fi
3170
3171   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $USE_MAINTAINER_MODE" >&5
3172 $as_echo "$USE_MAINTAINER_MODE" >&6; }
3173    if test $USE_MAINTAINER_MODE = yes; then
3174   MAINTAINER_MODE_TRUE=
3175   MAINTAINER_MODE_FALSE='#'
3176 else
3177   MAINTAINER_MODE_TRUE='#'
3178   MAINTAINER_MODE_FALSE=
3179 fi
3180
3181   MAINT=$MAINTAINER_MODE_TRUE
3182
3183
3184
3185 # Check whether --enable-silent-rules was given.
3186 if test "${enable_silent_rules+set}" = set; then :
3187   enableval=$enable_silent_rules;
3188 fi
3189
3190 case $enable_silent_rules in # (((
3191   yes) AM_DEFAULT_VERBOSITY=0;;
3192    no) AM_DEFAULT_VERBOSITY=1;;
3193     *) AM_DEFAULT_VERBOSITY=0;;
3194 esac
3195 am_make=${MAKE-make}
3196 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $am_make supports nested variables" >&5
3197 $as_echo_n "checking whether $am_make supports nested variables... " >&6; }
3198 if ${am_cv_make_support_nested_variables+:} false; then :
3199   $as_echo_n "(cached) " >&6
3200 else
3201   if $as_echo 'TRUE=$(BAR$(V))
3202 BAR0=false
3203 BAR1=true
3204 V=1
3205 am__doit:
3206         @$(TRUE)
3207 .PHONY: am__doit' | $am_make -f - >/dev/null 2>&1; then
3208   am_cv_make_support_nested_variables=yes
3209 else
3210   am_cv_make_support_nested_variables=no
3211 fi
3212 fi
3213 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_make_support_nested_variables" >&5
3214 $as_echo "$am_cv_make_support_nested_variables" >&6; }
3215 if test $am_cv_make_support_nested_variables = yes; then
3216     AM_V='$(V)'
3217   AM_DEFAULT_V='$(AM_DEFAULT_VERBOSITY)'
3218 else
3219   AM_V=$AM_DEFAULT_VERBOSITY
3220   AM_DEFAULT_V=$AM_DEFAULT_VERBOSITY
3221 fi
3222 AM_BACKSLASH='\'
3223
3224
3225 # Check for Win32
3226 # Make sure we can run config.sub.
3227 $SHELL "$ac_aux_dir/config.sub" sun4 >/dev/null 2>&1 ||
3228   as_fn_error $? "cannot run $SHELL $ac_aux_dir/config.sub" "$LINENO" 5
3229
3230 { $as_echo "$as_me:${as_lineno-$LINENO}: checking build system type" >&5
3231 $as_echo_n "checking build system type... " >&6; }
3232 if ${ac_cv_build+:} false; then :
3233   $as_echo_n "(cached) " >&6
3234 else
3235   ac_build_alias=$build_alias
3236 test "x$ac_build_alias" = x &&
3237   ac_build_alias=`$SHELL "$ac_aux_dir/config.guess"`
3238 test "x$ac_build_alias" = x &&
3239   as_fn_error $? "cannot guess build type; you must specify one" "$LINENO" 5
3240 ac_cv_build=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
3241   as_fn_error $? "$SHELL $ac_aux_dir/config.sub $ac_build_alias failed" "$LINENO" 5
3242
3243 fi
3244 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_build" >&5
3245 $as_echo "$ac_cv_build" >&6; }
3246 case $ac_cv_build in
3247 *-*-*) ;;
3248 *) as_fn_error $? "invalid value of canonical build" "$LINENO" 5;;
3249 esac
3250 build=$ac_cv_build
3251 ac_save_IFS=$IFS; IFS='-'
3252 set x $ac_cv_build
3253 shift
3254 build_cpu=$1
3255 build_vendor=$2
3256 shift; shift
3257 # Remember, the first character of IFS is used to create $*,
3258 # except with old shells:
3259 build_os=$*
3260 IFS=$ac_save_IFS
3261 case $build_os in *\ *) build_os=`echo "$build_os" | sed 's/ /-/g'`;; esac
3262
3263
3264 { $as_echo "$as_me:${as_lineno-$LINENO}: checking host system type" >&5
3265 $as_echo_n "checking host system type... " >&6; }
3266 if ${ac_cv_host+:} false; then :
3267   $as_echo_n "(cached) " >&6
3268 else
3269   if test "x$host_alias" = x; then
3270   ac_cv_host=$ac_cv_build
3271 else
3272   ac_cv_host=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
3273     as_fn_error $? "$SHELL $ac_aux_dir/config.sub $host_alias failed" "$LINENO" 5
3274 fi
3275
3276 fi
3277 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_host" >&5
3278 $as_echo "$ac_cv_host" >&6; }
3279 case $ac_cv_host in
3280 *-*-*) ;;
3281 *) as_fn_error $? "invalid value of canonical host" "$LINENO" 5;;
3282 esac
3283 host=$ac_cv_host
3284 ac_save_IFS=$IFS; IFS='-'
3285 set x $ac_cv_host
3286 shift
3287 host_cpu=$1
3288 host_vendor=$2
3289 shift; shift
3290 # Remember, the first character of IFS is used to create $*,
3291 # except with old shells:
3292 host_os=$*
3293 IFS=$ac_save_IFS
3294 case $host_os in *\ *) host_os=`echo "$host_os" | sed 's/ /-/g'`;; esac
3295
3296
3297 case "$host" in
3298 *-*-mingw*)
3299         os_win32=yes
3300         ;;
3301 *)
3302         os_win32=no
3303         ;;
3304 esac
3305  if test "x$os_win32" = "xyes"; then
3306   OS_WIN32_TRUE=
3307   OS_WIN32_FALSE='#'
3308 else
3309   OS_WIN32_TRUE='#'
3310   OS_WIN32_FALSE=
3311 fi
3312
3313
3314 # Checks for programs.
3315 ac_ext=c
3316 ac_cpp='$CPP $CPPFLAGS'
3317 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3318 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3319 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3320 if test -n "$ac_tool_prefix"; then
3321   # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
3322 set dummy ${ac_tool_prefix}gcc; ac_word=$2
3323 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3324 $as_echo_n "checking for $ac_word... " >&6; }
3325 if ${ac_cv_prog_CC+:} false; then :
3326   $as_echo_n "(cached) " >&6
3327 else
3328   if test -n "$CC"; then
3329   ac_cv_prog_CC="$CC" # Let the user override the test.
3330 else
3331 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3332 for as_dir in $PATH
3333 do
3334   IFS=$as_save_IFS
3335   test -z "$as_dir" && as_dir=.
3336     for ac_exec_ext in '' $ac_executable_extensions; do
3337   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3338     ac_cv_prog_CC="${ac_tool_prefix}gcc"
3339     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3340     break 2
3341   fi
3342 done
3343   done
3344 IFS=$as_save_IFS
3345
3346 fi
3347 fi
3348 CC=$ac_cv_prog_CC
3349 if test -n "$CC"; then
3350   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3351 $as_echo "$CC" >&6; }
3352 else
3353   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3354 $as_echo "no" >&6; }
3355 fi
3356
3357
3358 fi
3359 if test -z "$ac_cv_prog_CC"; then
3360   ac_ct_CC=$CC
3361   # Extract the first word of "gcc", so it can be a program name with args.
3362 set dummy gcc; ac_word=$2
3363 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3364 $as_echo_n "checking for $ac_word... " >&6; }
3365 if ${ac_cv_prog_ac_ct_CC+:} false; then :
3366   $as_echo_n "(cached) " >&6
3367 else
3368   if test -n "$ac_ct_CC"; then
3369   ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
3370 else
3371 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3372 for as_dir in $PATH
3373 do
3374   IFS=$as_save_IFS
3375   test -z "$as_dir" && as_dir=.
3376     for ac_exec_ext in '' $ac_executable_extensions; do
3377   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3378     ac_cv_prog_ac_ct_CC="gcc"
3379     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3380     break 2
3381   fi
3382 done
3383   done
3384 IFS=$as_save_IFS
3385
3386 fi
3387 fi
3388 ac_ct_CC=$ac_cv_prog_ac_ct_CC
3389 if test -n "$ac_ct_CC"; then
3390   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
3391 $as_echo "$ac_ct_CC" >&6; }
3392 else
3393   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3394 $as_echo "no" >&6; }
3395 fi
3396
3397   if test "x$ac_ct_CC" = x; then
3398     CC=""
3399   else
3400     case $cross_compiling:$ac_tool_warned in
3401 yes:)
3402 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3403 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3404 ac_tool_warned=yes ;;
3405 esac
3406     CC=$ac_ct_CC
3407   fi
3408 else
3409   CC="$ac_cv_prog_CC"
3410 fi
3411
3412 if test -z "$CC"; then
3413           if test -n "$ac_tool_prefix"; then
3414     # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
3415 set dummy ${ac_tool_prefix}cc; ac_word=$2
3416 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3417 $as_echo_n "checking for $ac_word... " >&6; }
3418 if ${ac_cv_prog_CC+:} false; then :
3419   $as_echo_n "(cached) " >&6
3420 else
3421   if test -n "$CC"; then
3422   ac_cv_prog_CC="$CC" # Let the user override the test.
3423 else
3424 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3425 for as_dir in $PATH
3426 do
3427   IFS=$as_save_IFS
3428   test -z "$as_dir" && as_dir=.
3429     for ac_exec_ext in '' $ac_executable_extensions; do
3430   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3431     ac_cv_prog_CC="${ac_tool_prefix}cc"
3432     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3433     break 2
3434   fi
3435 done
3436   done
3437 IFS=$as_save_IFS
3438
3439 fi
3440 fi
3441 CC=$ac_cv_prog_CC
3442 if test -n "$CC"; then
3443   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3444 $as_echo "$CC" >&6; }
3445 else
3446   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3447 $as_echo "no" >&6; }
3448 fi
3449
3450
3451   fi
3452 fi
3453 if test -z "$CC"; then
3454   # Extract the first word of "cc", so it can be a program name with args.
3455 set dummy cc; ac_word=$2
3456 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3457 $as_echo_n "checking for $ac_word... " >&6; }
3458 if ${ac_cv_prog_CC+:} false; then :
3459   $as_echo_n "(cached) " >&6
3460 else
3461   if test -n "$CC"; then
3462   ac_cv_prog_CC="$CC" # Let the user override the test.
3463 else
3464   ac_prog_rejected=no
3465 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3466 for as_dir in $PATH
3467 do
3468   IFS=$as_save_IFS
3469   test -z "$as_dir" && as_dir=.
3470     for ac_exec_ext in '' $ac_executable_extensions; do
3471   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3472     if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
3473        ac_prog_rejected=yes
3474        continue
3475      fi
3476     ac_cv_prog_CC="cc"
3477     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3478     break 2
3479   fi
3480 done
3481   done
3482 IFS=$as_save_IFS
3483
3484 if test $ac_prog_rejected = yes; then
3485   # We found a bogon in the path, so make sure we never use it.
3486   set dummy $ac_cv_prog_CC
3487   shift
3488   if test $# != 0; then
3489     # We chose a different compiler from the bogus one.
3490     # However, it has the same basename, so the bogon will be chosen
3491     # first if we set CC to just the basename; use the full file name.
3492     shift
3493     ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
3494   fi
3495 fi
3496 fi
3497 fi
3498 CC=$ac_cv_prog_CC
3499 if test -n "$CC"; then
3500   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3501 $as_echo "$CC" >&6; }
3502 else
3503   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3504 $as_echo "no" >&6; }
3505 fi
3506
3507
3508 fi
3509 if test -z "$CC"; then
3510   if test -n "$ac_tool_prefix"; then
3511   for ac_prog in cl.exe
3512   do
3513     # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
3514 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
3515 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3516 $as_echo_n "checking for $ac_word... " >&6; }
3517 if ${ac_cv_prog_CC+:} false; then :
3518   $as_echo_n "(cached) " >&6
3519 else
3520   if test -n "$CC"; then
3521   ac_cv_prog_CC="$CC" # Let the user override the test.
3522 else
3523 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3524 for as_dir in $PATH
3525 do
3526   IFS=$as_save_IFS
3527   test -z "$as_dir" && as_dir=.
3528     for ac_exec_ext in '' $ac_executable_extensions; do
3529   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3530     ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
3531     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3532     break 2
3533   fi
3534 done
3535   done
3536 IFS=$as_save_IFS
3537
3538 fi
3539 fi
3540 CC=$ac_cv_prog_CC
3541 if test -n "$CC"; then
3542   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3543 $as_echo "$CC" >&6; }
3544 else
3545   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3546 $as_echo "no" >&6; }
3547 fi
3548
3549
3550     test -n "$CC" && break
3551   done
3552 fi
3553 if test -z "$CC"; then
3554   ac_ct_CC=$CC
3555   for ac_prog in cl.exe
3556 do
3557   # Extract the first word of "$ac_prog", so it can be a program name with args.
3558 set dummy $ac_prog; ac_word=$2
3559 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3560 $as_echo_n "checking for $ac_word... " >&6; }
3561 if ${ac_cv_prog_ac_ct_CC+:} false; then :
3562   $as_echo_n "(cached) " >&6
3563 else
3564   if test -n "$ac_ct_CC"; then
3565   ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
3566 else
3567 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3568 for as_dir in $PATH
3569 do
3570   IFS=$as_save_IFS
3571   test -z "$as_dir" && as_dir=.
3572     for ac_exec_ext in '' $ac_executable_extensions; do
3573   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3574     ac_cv_prog_ac_ct_CC="$ac_prog"
3575     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3576     break 2
3577   fi
3578 done
3579   done
3580 IFS=$as_save_IFS
3581
3582 fi
3583 fi
3584 ac_ct_CC=$ac_cv_prog_ac_ct_CC
3585 if test -n "$ac_ct_CC"; then
3586   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
3587 $as_echo "$ac_ct_CC" >&6; }
3588 else
3589   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3590 $as_echo "no" >&6; }
3591 fi
3592
3593
3594   test -n "$ac_ct_CC" && break
3595 done
3596
3597   if test "x$ac_ct_CC" = x; then
3598     CC=""
3599   else
3600     case $cross_compiling:$ac_tool_warned in
3601 yes:)
3602 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3603 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3604 ac_tool_warned=yes ;;
3605 esac
3606     CC=$ac_ct_CC
3607   fi
3608 fi
3609
3610 fi
3611
3612
3613 test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3614 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3615 as_fn_error $? "no acceptable C compiler found in \$PATH
3616 See \`config.log' for more details" "$LINENO" 5; }
3617
3618 # Provide some information about the compiler.
3619 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
3620 set X $ac_compile
3621 ac_compiler=$2
3622 for ac_option in --version -v -V -qversion; do
3623   { { ac_try="$ac_compiler $ac_option >&5"
3624 case "(($ac_try" in
3625   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3626   *) ac_try_echo=$ac_try;;
3627 esac
3628 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3629 $as_echo "$ac_try_echo"; } >&5
3630   (eval "$ac_compiler $ac_option >&5") 2>conftest.err
3631   ac_status=$?
3632   if test -s conftest.err; then
3633     sed '10a\
3634 ... rest of stderr output deleted ...
3635          10q' conftest.err >conftest.er1
3636     cat conftest.er1 >&5
3637   fi
3638   rm -f conftest.er1 conftest.err
3639   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3640   test $ac_status = 0; }
3641 done
3642
3643 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3644 /* end confdefs.h.  */
3645
3646 int
3647 main ()
3648 {
3649
3650   ;
3651   return 0;
3652 }
3653 _ACEOF
3654 ac_clean_files_save=$ac_clean_files
3655 ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out"
3656 # Try to create an executable without -o first, disregard a.out.
3657 # It will help us diagnose broken compilers, and finding out an intuition
3658 # of exeext.
3659 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler works" >&5
3660 $as_echo_n "checking whether the C compiler works... " >&6; }
3661 ac_link_default=`$as_echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
3662
3663 # The possible output files:
3664 ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*"
3665
3666 ac_rmfiles=
3667 for ac_file in $ac_files
3668 do
3669   case $ac_file in
3670     *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
3671     * ) ac_rmfiles="$ac_rmfiles $ac_file";;
3672   esac
3673 done
3674 rm -f $ac_rmfiles
3675
3676 if { { ac_try="$ac_link_default"
3677 case "(($ac_try" in
3678   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3679   *) ac_try_echo=$ac_try;;
3680 esac
3681 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3682 $as_echo "$ac_try_echo"; } >&5
3683   (eval "$ac_link_default") 2>&5
3684   ac_status=$?
3685   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3686   test $ac_status = 0; }; then :
3687   # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
3688 # So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
3689 # in a Makefile.  We should not override ac_cv_exeext if it was cached,
3690 # so that the user can short-circuit this test for compilers unknown to
3691 # Autoconf.
3692 for ac_file in $ac_files ''
3693 do
3694   test -f "$ac_file" || continue
3695   case $ac_file in
3696     *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj )
3697         ;;
3698     [ab].out )
3699         # We found the default executable, but exeext='' is most
3700         # certainly right.
3701         break;;
3702     *.* )
3703         if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no;
3704         then :; else
3705            ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
3706         fi
3707         # We set ac_cv_exeext here because the later test for it is not
3708         # safe: cross compilers may not add the suffix if given an `-o'
3709         # argument, so we may need to know it at that point already.
3710         # Even if this section looks crufty: it has the advantage of
3711         # actually working.
3712         break;;
3713     * )
3714         break;;
3715   esac
3716 done
3717 test "$ac_cv_exeext" = no && ac_cv_exeext=
3718
3719 else
3720   ac_file=''
3721 fi
3722 if test -z "$ac_file"; then :
3723   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3724 $as_echo "no" >&6; }
3725 $as_echo "$as_me: failed program was:" >&5
3726 sed 's/^/| /' conftest.$ac_ext >&5
3727
3728 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3729 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3730 as_fn_error 77 "C compiler cannot create executables
3731 See \`config.log' for more details" "$LINENO" 5; }
3732 else
3733   { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
3734 $as_echo "yes" >&6; }
3735 fi
3736 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler default output file name" >&5
3737 $as_echo_n "checking for C compiler default output file name... " >&6; }
3738 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5
3739 $as_echo "$ac_file" >&6; }
3740 ac_exeext=$ac_cv_exeext
3741
3742 rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out
3743 ac_clean_files=$ac_clean_files_save
3744 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5
3745 $as_echo_n "checking for suffix of executables... " >&6; }
3746 if { { ac_try="$ac_link"
3747 case "(($ac_try" in
3748   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3749   *) ac_try_echo=$ac_try;;
3750 esac
3751 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3752 $as_echo "$ac_try_echo"; } >&5
3753   (eval "$ac_link") 2>&5
3754   ac_status=$?
3755   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3756   test $ac_status = 0; }; then :
3757   # If both `conftest.exe' and `conftest' are `present' (well, observable)
3758 # catch `conftest.exe'.  For instance with Cygwin, `ls conftest' will
3759 # work properly (i.e., refer to `conftest.exe'), while it won't with
3760 # `rm'.
3761 for ac_file in conftest.exe conftest conftest.*; do
3762   test -f "$ac_file" || continue
3763   case $ac_file in
3764     *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
3765     *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
3766           break;;
3767     * ) break;;
3768   esac
3769 done
3770 else
3771   { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3772 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3773 as_fn_error $? "cannot compute suffix of executables: cannot compile and link
3774 See \`config.log' for more details" "$LINENO" 5; }
3775 fi
3776 rm -f conftest conftest$ac_cv_exeext
3777 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5
3778 $as_echo "$ac_cv_exeext" >&6; }
3779
3780 rm -f conftest.$ac_ext
3781 EXEEXT=$ac_cv_exeext
3782 ac_exeext=$EXEEXT
3783 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3784 /* end confdefs.h.  */
3785 #include <stdio.h>
3786 int
3787 main ()
3788 {
3789 FILE *f = fopen ("conftest.out", "w");
3790  return ferror (f) || fclose (f) != 0;
3791
3792   ;
3793   return 0;
3794 }
3795 _ACEOF
3796 ac_clean_files="$ac_clean_files conftest.out"
3797 # Check that the compiler produces executables we can run.  If not, either
3798 # the compiler is broken, or we cross compile.
3799 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5
3800 $as_echo_n "checking whether we are cross compiling... " >&6; }
3801 if test "$cross_compiling" != yes; then
3802   { { ac_try="$ac_link"
3803 case "(($ac_try" in
3804   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3805   *) ac_try_echo=$ac_try;;
3806 esac
3807 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3808 $as_echo "$ac_try_echo"; } >&5
3809   (eval "$ac_link") 2>&5
3810   ac_status=$?
3811   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3812   test $ac_status = 0; }
3813   if { ac_try='./conftest$ac_cv_exeext'
3814   { { case "(($ac_try" in
3815   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3816   *) ac_try_echo=$ac_try;;
3817 esac
3818 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3819 $as_echo "$ac_try_echo"; } >&5
3820   (eval "$ac_try") 2>&5
3821   ac_status=$?
3822   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3823   test $ac_status = 0; }; }; then
3824     cross_compiling=no
3825   else
3826     if test "$cross_compiling" = maybe; then
3827         cross_compiling=yes
3828     else
3829         { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3830 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3831 as_fn_error $? "cannot run C compiled programs.
3832 If you meant to cross compile, use \`--host'.
3833 See \`config.log' for more details" "$LINENO" 5; }
3834     fi
3835   fi
3836 fi
3837 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5
3838 $as_echo "$cross_compiling" >&6; }
3839
3840 rm -f conftest.$ac_ext conftest$ac_cv_exeext conftest.out
3841 ac_clean_files=$ac_clean_files_save
3842 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5
3843 $as_echo_n "checking for suffix of object files... " >&6; }
3844 if ${ac_cv_objext+:} false; then :
3845   $as_echo_n "(cached) " >&6
3846 else
3847   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3848 /* end confdefs.h.  */
3849
3850 int
3851 main ()
3852 {
3853
3854   ;
3855   return 0;
3856 }
3857 _ACEOF
3858 rm -f conftest.o conftest.obj
3859 if { { ac_try="$ac_compile"
3860 case "(($ac_try" in
3861   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3862   *) ac_try_echo=$ac_try;;
3863 esac
3864 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3865 $as_echo "$ac_try_echo"; } >&5
3866   (eval "$ac_compile") 2>&5
3867   ac_status=$?
3868   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3869   test $ac_status = 0; }; then :
3870   for ac_file in conftest.o conftest.obj conftest.*; do
3871   test -f "$ac_file" || continue;
3872   case $ac_file in
3873     *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;;
3874     *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
3875        break;;
3876   esac
3877 done
3878 else
3879   $as_echo "$as_me: failed program was:" >&5
3880 sed 's/^/| /' conftest.$ac_ext >&5
3881
3882 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3883 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3884 as_fn_error $? "cannot compute suffix of object files: cannot compile
3885 See \`config.log' for more details" "$LINENO" 5; }
3886 fi
3887 rm -f conftest.$ac_cv_objext conftest.$ac_ext
3888 fi
3889 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5
3890 $as_echo "$ac_cv_objext" >&6; }
3891 OBJEXT=$ac_cv_objext
3892 ac_objext=$OBJEXT
3893 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
3894 $as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
3895 if ${ac_cv_c_compiler_gnu+:} false; then :
3896   $as_echo_n "(cached) " >&6
3897 else
3898   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3899 /* end confdefs.h.  */
3900
3901 int
3902 main ()
3903 {
3904 #ifndef __GNUC__
3905        choke me
3906 #endif
3907
3908   ;
3909   return 0;
3910 }
3911 _ACEOF
3912 if ac_fn_c_try_compile "$LINENO"; then :
3913   ac_compiler_gnu=yes
3914 else
3915   ac_compiler_gnu=no
3916 fi
3917 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3918 ac_cv_c_compiler_gnu=$ac_compiler_gnu
3919
3920 fi
3921 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
3922 $as_echo "$ac_cv_c_compiler_gnu" >&6; }
3923 if test $ac_compiler_gnu = yes; then
3924   GCC=yes
3925 else
3926   GCC=
3927 fi
3928 ac_test_CFLAGS=${CFLAGS+set}
3929 ac_save_CFLAGS=$CFLAGS
3930 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
3931 $as_echo_n "checking whether $CC accepts -g... " >&6; }
3932 if ${ac_cv_prog_cc_g+:} false; then :
3933   $as_echo_n "(cached) " >&6
3934 else
3935   ac_save_c_werror_flag=$ac_c_werror_flag
3936    ac_c_werror_flag=yes
3937    ac_cv_prog_cc_g=no
3938    CFLAGS="-g"
3939    cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3940 /* end confdefs.h.  */
3941
3942 int
3943 main ()
3944 {
3945
3946   ;
3947   return 0;
3948 }
3949 _ACEOF
3950 if ac_fn_c_try_compile "$LINENO"; then :
3951   ac_cv_prog_cc_g=yes
3952 else
3953   CFLAGS=""
3954       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3955 /* end confdefs.h.  */
3956
3957 int
3958 main ()
3959 {
3960
3961   ;
3962   return 0;
3963 }
3964 _ACEOF
3965 if ac_fn_c_try_compile "$LINENO"; then :
3966
3967 else
3968   ac_c_werror_flag=$ac_save_c_werror_flag
3969          CFLAGS="-g"
3970          cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3971 /* end confdefs.h.  */
3972
3973 int
3974 main ()
3975 {
3976
3977   ;
3978   return 0;
3979 }
3980 _ACEOF
3981 if ac_fn_c_try_compile "$LINENO"; then :
3982   ac_cv_prog_cc_g=yes
3983 fi
3984 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3985 fi
3986 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3987 fi
3988 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3989    ac_c_werror_flag=$ac_save_c_werror_flag
3990 fi
3991 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
3992 $as_echo "$ac_cv_prog_cc_g" >&6; }
3993 if test "$ac_test_CFLAGS" = set; then
3994   CFLAGS=$ac_save_CFLAGS
3995 elif test $ac_cv_prog_cc_g = yes; then
3996   if test "$GCC" = yes; then
3997     CFLAGS="-g -O2"
3998   else
3999     CFLAGS="-g"
4000   fi
4001 else
4002   if test "$GCC" = yes; then
4003     CFLAGS="-O2"
4004   else
4005     CFLAGS=
4006   fi
4007 fi
4008 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
4009 $as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
4010 if ${ac_cv_prog_cc_c89+:} false; then :
4011   $as_echo_n "(cached) " >&6
4012 else
4013   ac_cv_prog_cc_c89=no
4014 ac_save_CC=$CC
4015 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4016 /* end confdefs.h.  */
4017 #include <stdarg.h>
4018 #include <stdio.h>
4019 struct stat;
4020 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh.  */
4021 struct buf { int x; };
4022 FILE * (*rcsopen) (struct buf *, struct stat *, int);
4023 static char *e (p, i)
4024      char **p;
4025      int i;
4026 {
4027   return p[i];
4028 }
4029 static char *f (char * (*g) (char **, int), char **p, ...)
4030 {
4031   char *s;
4032   va_list v;
4033   va_start (v,p);
4034   s = g (p, va_arg (v,int));
4035   va_end (v);
4036   return s;
4037 }
4038
4039 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default.  It has
4040    function prototypes and stuff, but not '\xHH' hex character constants.
4041    These don't provoke an error unfortunately, instead are silently treated
4042    as 'x'.  The following induces an error, until -std is added to get
4043    proper ANSI mode.  Curiously '\x00'!='x' always comes out true, for an
4044    array size at least.  It's necessary to write '\x00'==0 to get something
4045    that's true only with -std.  */
4046 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
4047
4048 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
4049    inside strings and character constants.  */
4050 #define FOO(x) 'x'
4051 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
4052
4053 int test (int i, double x);
4054 struct s1 {int (*f) (int a);};
4055 struct s2 {int (*f) (double a);};
4056 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
4057 int argc;
4058 char **argv;
4059 int
4060 main ()
4061 {
4062 return f (e, argv, 0) != argv[0]  ||  f (e, argv, 1) != argv[1];
4063   ;
4064   return 0;
4065 }
4066 _ACEOF
4067 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
4068         -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
4069 do
4070   CC="$ac_save_CC $ac_arg"
4071   if ac_fn_c_try_compile "$LINENO"; then :
4072   ac_cv_prog_cc_c89=$ac_arg
4073 fi
4074 rm -f core conftest.err conftest.$ac_objext
4075   test "x$ac_cv_prog_cc_c89" != "xno" && break
4076 done
4077 rm -f conftest.$ac_ext
4078 CC=$ac_save_CC
4079
4080 fi
4081 # AC_CACHE_VAL
4082 case "x$ac_cv_prog_cc_c89" in
4083   x)
4084     { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
4085 $as_echo "none needed" >&6; } ;;
4086   xno)
4087     { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
4088 $as_echo "unsupported" >&6; } ;;
4089   *)
4090     CC="$CC $ac_cv_prog_cc_c89"
4091     { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
4092 $as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
4093 esac
4094 if test "x$ac_cv_prog_cc_c89" != xno; then :
4095
4096 fi
4097
4098 ac_ext=c
4099 ac_cpp='$CPP $CPPFLAGS'
4100 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4101 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4102 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4103 DEPDIR="${am__leading_dot}deps"
4104
4105 ac_config_commands="$ac_config_commands depfiles"
4106
4107
4108 am_make=${MAKE-make}
4109 cat > confinc << 'END'
4110 am__doit:
4111         @echo this is the am__doit target
4112 .PHONY: am__doit
4113 END
4114 # If we don't find an include directive, just comment out the code.
4115 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for style of include used by $am_make" >&5
4116 $as_echo_n "checking for style of include used by $am_make... " >&6; }
4117 am__include="#"
4118 am__quote=
4119 _am_result=none
4120 # First try GNU make style include.
4121 echo "include confinc" > confmf
4122 # Ignore all kinds of additional output from 'make'.
4123 case `$am_make -s -f confmf 2> /dev/null` in #(
4124 *the\ am__doit\ target*)
4125   am__include=include
4126   am__quote=
4127   _am_result=GNU
4128   ;;
4129 esac
4130 # Now try BSD make style include.
4131 if test "$am__include" = "#"; then
4132    echo '.include "confinc"' > confmf
4133    case `$am_make -s -f confmf 2> /dev/null` in #(
4134    *the\ am__doit\ target*)
4135      am__include=.include
4136      am__quote="\""
4137      _am_result=BSD
4138      ;;
4139    esac
4140 fi
4141
4142
4143 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $_am_result" >&5
4144 $as_echo "$_am_result" >&6; }
4145 rm -f confinc confmf
4146
4147 # Check whether --enable-dependency-tracking was given.
4148 if test "${enable_dependency_tracking+set}" = set; then :
4149   enableval=$enable_dependency_tracking;
4150 fi
4151
4152 if test "x$enable_dependency_tracking" != xno; then
4153   am_depcomp="$ac_aux_dir/depcomp"
4154   AMDEPBACKSLASH='\'
4155   am__nodep='_no'
4156 fi
4157  if test "x$enable_dependency_tracking" != xno; then
4158   AMDEP_TRUE=
4159   AMDEP_FALSE='#'
4160 else
4161   AMDEP_TRUE='#'
4162   AMDEP_FALSE=
4163 fi
4164
4165
4166
4167 depcc="$CC"   am_compiler_list=
4168
4169 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5
4170 $as_echo_n "checking dependency style of $depcc... " >&6; }
4171 if ${am_cv_CC_dependencies_compiler_type+:} false; then :
4172   $as_echo_n "(cached) " >&6
4173 else
4174   if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
4175   # We make a subdir and do the tests there.  Otherwise we can end up
4176   # making bogus files that we don't know about and never remove.  For
4177   # instance it was reported that on HP-UX the gcc test will end up
4178   # making a dummy file named 'D' -- because '-MD' means "put the output
4179   # in D".
4180   rm -rf conftest.dir
4181   mkdir conftest.dir
4182   # Copy depcomp to subdir because otherwise we won't find it if we're
4183   # using a relative directory.
4184   cp "$am_depcomp" conftest.dir
4185   cd conftest.dir
4186   # We will build objects and dependencies in a subdirectory because
4187   # it helps to detect inapplicable dependency modes.  For instance
4188   # both Tru64's cc and ICC support -MD to output dependencies as a
4189   # side effect of compilation, but ICC will put the dependencies in
4190   # the current directory while Tru64 will put them in the object
4191   # directory.
4192   mkdir sub
4193
4194   am_cv_CC_dependencies_compiler_type=none
4195   if test "$am_compiler_list" = ""; then
4196      am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
4197   fi
4198   am__universal=false
4199   case " $depcc " in #(
4200      *\ -arch\ *\ -arch\ *) am__universal=true ;;
4201      esac
4202
4203   for depmode in $am_compiler_list; do
4204     # Setup a source with many dependencies, because some compilers
4205     # like to wrap large dependency lists on column 80 (with \), and
4206     # we should not choose a depcomp mode which is confused by this.
4207     #
4208     # We need to recreate these files for each test, as the compiler may
4209     # overwrite some of them when testing with obscure command lines.
4210     # This happens at least with the AIX C compiler.
4211     : > sub/conftest.c
4212     for i in 1 2 3 4 5 6; do
4213       echo '#include "conftst'$i'.h"' >> sub/conftest.c
4214       # Using ": > sub/conftst$i.h" creates only sub/conftst1.h with
4215       # Solaris 10 /bin/sh.
4216       echo '/* dummy */' > sub/conftst$i.h
4217     done
4218     echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
4219
4220     # We check with '-c' and '-o' for the sake of the "dashmstdout"
4221     # mode.  It turns out that the SunPro C++ compiler does not properly
4222     # handle '-M -o', and we need to detect this.  Also, some Intel
4223     # versions had trouble with output in subdirs.
4224     am__obj=sub/conftest.${OBJEXT-o}
4225     am__minus_obj="-o $am__obj"
4226     case $depmode in
4227     gcc)
4228       # This depmode causes a compiler race in universal mode.
4229       test "$am__universal" = false || continue
4230       ;;
4231     nosideeffect)
4232       # After this tag, mechanisms are not by side-effect, so they'll
4233       # only be used when explicitly requested.
4234       if test "x$enable_dependency_tracking" = xyes; then
4235         continue
4236       else
4237         break
4238       fi
4239       ;;
4240     msvc7 | msvc7msys | msvisualcpp | msvcmsys)
4241       # This compiler won't grok '-c -o', but also, the minuso test has
4242       # not run yet.  These depmodes are late enough in the game, and
4243       # so weak that their functioning should not be impacted.
4244       am__obj=conftest.${OBJEXT-o}
4245       am__minus_obj=
4246       ;;
4247     none) break ;;
4248     esac
4249     if depmode=$depmode \
4250        source=sub/conftest.c object=$am__obj \
4251        depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
4252        $SHELL ./depcomp $depcc -c $am__minus_obj sub/conftest.c \
4253          >/dev/null 2>conftest.err &&
4254        grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 &&
4255        grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
4256        grep $am__obj sub/conftest.Po > /dev/null 2>&1 &&
4257        ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
4258       # icc doesn't choke on unknown options, it will just issue warnings
4259       # or remarks (even with -Werror).  So we grep stderr for any message
4260       # that says an option was ignored or not supported.
4261       # When given -MP, icc 7.0 and 7.1 complain thusly:
4262       #   icc: Command line warning: ignoring option '-M'; no argument required
4263       # The diagnosis changed in icc 8.0:
4264       #   icc: Command line remark: option '-MP' not supported
4265       if (grep 'ignoring option' conftest.err ||
4266           grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
4267         am_cv_CC_dependencies_compiler_type=$depmode
4268         break
4269       fi
4270     fi
4271   done
4272
4273   cd ..
4274   rm -rf conftest.dir
4275 else
4276   am_cv_CC_dependencies_compiler_type=none
4277 fi
4278
4279 fi
4280 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_CC_dependencies_compiler_type" >&5
4281 $as_echo "$am_cv_CC_dependencies_compiler_type" >&6; }
4282 CCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type
4283
4284  if
4285   test "x$enable_dependency_tracking" != xno \
4286   && test "$am_cv_CC_dependencies_compiler_type" = gcc3; then
4287   am__fastdepCC_TRUE=
4288   am__fastdepCC_FALSE='#'
4289 else
4290   am__fastdepCC_TRUE='#'
4291   am__fastdepCC_FALSE=
4292 fi
4293
4294
4295 if test "x$CC" != xcc; then
4296   { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC and cc understand -c and -o together" >&5
4297 $as_echo_n "checking whether $CC and cc understand -c and -o together... " >&6; }
4298 else
4299   { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether cc understands -c and -o together" >&5
4300 $as_echo_n "checking whether cc understands -c and -o together... " >&6; }
4301 fi
4302 set dummy $CC; ac_cc=`$as_echo "$2" |
4303                       sed 's/[^a-zA-Z0-9_]/_/g;s/^[0-9]/_/'`
4304 if eval \${ac_cv_prog_cc_${ac_cc}_c_o+:} false; then :
4305   $as_echo_n "(cached) " >&6
4306 else
4307   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4308 /* end confdefs.h.  */
4309
4310 int
4311 main ()
4312 {
4313
4314   ;
4315   return 0;
4316 }
4317 _ACEOF
4318 # Make sure it works both with $CC and with simple cc.
4319 # We do the test twice because some compilers refuse to overwrite an
4320 # existing .o file with -o, though they will create one.
4321 ac_try='$CC -c conftest.$ac_ext -o conftest2.$ac_objext >&5'
4322 rm -f conftest2.*
4323 if { { case "(($ac_try" in
4324   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4325   *) ac_try_echo=$ac_try;;
4326 esac
4327 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4328 $as_echo "$ac_try_echo"; } >&5
4329   (eval "$ac_try") 2>&5
4330   ac_status=$?
4331   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4332   test $ac_status = 0; } &&
4333    test -f conftest2.$ac_objext && { { case "(($ac_try" in
4334   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4335   *) ac_try_echo=$ac_try;;
4336 esac
4337 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4338 $as_echo "$ac_try_echo"; } >&5
4339   (eval "$ac_try") 2>&5
4340   ac_status=$?
4341   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4342   test $ac_status = 0; };
4343 then
4344   eval ac_cv_prog_cc_${ac_cc}_c_o=yes
4345   if test "x$CC" != xcc; then
4346     # Test first that cc exists at all.
4347     if { ac_try='cc -c conftest.$ac_ext >&5'
4348   { { case "(($ac_try" in
4349   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4350   *) ac_try_echo=$ac_try;;
4351 esac
4352 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4353 $as_echo "$ac_try_echo"; } >&5
4354   (eval "$ac_try") 2>&5
4355   ac_status=$?
4356   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4357   test $ac_status = 0; }; }; then
4358       ac_try='cc -c conftest.$ac_ext -o conftest2.$ac_objext >&5'
4359       rm -f conftest2.*
4360       if { { case "(($ac_try" in
4361   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4362   *) ac_try_echo=$ac_try;;
4363 esac
4364 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4365 $as_echo "$ac_try_echo"; } >&5
4366   (eval "$ac_try") 2>&5
4367   ac_status=$?
4368   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4369   test $ac_status = 0; } &&
4370          test -f conftest2.$ac_objext && { { case "(($ac_try" in
4371   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4372   *) ac_try_echo=$ac_try;;
4373 esac
4374 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4375 $as_echo "$ac_try_echo"; } >&5
4376   (eval "$ac_try") 2>&5
4377   ac_status=$?
4378   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4379   test $ac_status = 0; };
4380       then
4381         # cc works too.
4382         :
4383       else
4384         # cc exists but doesn't like -o.
4385         eval ac_cv_prog_cc_${ac_cc}_c_o=no
4386       fi
4387     fi
4388   fi
4389 else
4390   eval ac_cv_prog_cc_${ac_cc}_c_o=no
4391 fi
4392 rm -f core conftest*
4393
4394 fi
4395 if eval test \$ac_cv_prog_cc_${ac_cc}_c_o = yes; then
4396   { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
4397 $as_echo "yes" >&6; }
4398 else
4399   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4400 $as_echo "no" >&6; }
4401
4402 $as_echo "#define NO_MINUS_C_MINUS_O 1" >>confdefs.h
4403
4404 fi
4405
4406 # FIXME: we rely on the cache variable name because
4407 # there is no other way.
4408 set dummy $CC
4409 am_cc=`echo $2 | sed 's/[^a-zA-Z0-9_]/_/g;s/^[0-9]/_/'`
4410 eval am_t=\$ac_cv_prog_cc_${am_cc}_c_o
4411 if test "$am_t" != yes; then
4412    # Losing compiler, so override with the script.
4413    # FIXME: It is wrong to rewrite CC.
4414    # But if we don't then we get into trouble of one sort or another.
4415    # A longer-term fix would be to have automake use am__CC in this case,
4416    # and then we could set am__CC="\$(top_srcdir)/compile \$(CC)"
4417    CC="$am_aux_dir/compile $CC"
4418 fi
4419
4420
4421
4422
4423 # Initialize libtool
4424
4425 case `pwd` in
4426   *\ * | *\     *)
4427     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Libtool does not cope well with whitespace in \`pwd\`" >&5
4428 $as_echo "$as_me: WARNING: Libtool does not cope well with whitespace in \`pwd\`" >&2;} ;;
4429 esac
4430
4431
4432
4433 macro_version='2.4.2'
4434 macro_revision='1.3337'
4435
4436
4437
4438
4439
4440
4441
4442
4443
4444
4445
4446
4447
4448 ltmain="$ac_aux_dir/ltmain.sh"
4449
4450 # Backslashify metacharacters that are still active within
4451 # double-quoted strings.
4452 sed_quote_subst='s/\(["`$\\]\)/\\\1/g'
4453
4454 # Same as above, but do not quote variable references.
4455 double_quote_subst='s/\(["`\\]\)/\\\1/g'
4456
4457 # Sed substitution to delay expansion of an escaped shell variable in a
4458 # double_quote_subst'ed string.
4459 delay_variable_subst='s/\\\\\\\\\\\$/\\\\\\$/g'
4460
4461 # Sed substitution to delay expansion of an escaped single quote.
4462 delay_single_quote_subst='s/'\''/'\'\\\\\\\'\''/g'
4463
4464 # Sed substitution to avoid accidental globbing in evaled expressions
4465 no_glob_subst='s/\*/\\\*/g'
4466
4467 ECHO='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
4468 ECHO=$ECHO$ECHO$ECHO$ECHO$ECHO
4469 ECHO=$ECHO$ECHO$ECHO$ECHO$ECHO$ECHO
4470
4471 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to print strings" >&5
4472 $as_echo_n "checking how to print strings... " >&6; }
4473 # Test print first, because it will be a builtin if present.
4474 if test "X`( print -r -- -n ) 2>/dev/null`" = X-n && \
4475    test "X`print -r -- $ECHO 2>/dev/null`" = "X$ECHO"; then
4476   ECHO='print -r --'
4477 elif test "X`printf %s $ECHO 2>/dev/null`" = "X$ECHO"; then
4478   ECHO='printf %s\n'
4479 else
4480   # Use this function as a fallback that always works.
4481   func_fallback_echo ()
4482   {
4483     eval 'cat <<_LTECHO_EOF
4484 $1
4485 _LTECHO_EOF'
4486   }
4487   ECHO='func_fallback_echo'
4488 fi
4489
4490 # func_echo_all arg...
4491 # Invoke $ECHO with all args, space-separated.
4492 func_echo_all ()
4493 {
4494     $ECHO ""
4495 }
4496
4497 case "$ECHO" in
4498   printf*) { $as_echo "$as_me:${as_lineno-$LINENO}: result: printf" >&5
4499 $as_echo "printf" >&6; } ;;
4500   print*) { $as_echo "$as_me:${as_lineno-$LINENO}: result: print -r" >&5
4501 $as_echo "print -r" >&6; } ;;
4502   *) { $as_echo "$as_me:${as_lineno-$LINENO}: result: cat" >&5
4503 $as_echo "cat" >&6; } ;;
4504 esac
4505
4506
4507
4508
4509
4510
4511
4512
4513
4514
4515
4516
4517
4518
4519 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a sed that does not truncate output" >&5
4520 $as_echo_n "checking for a sed that does not truncate output... " >&6; }
4521 if ${ac_cv_path_SED+:} false; then :
4522   $as_echo_n "(cached) " >&6
4523 else
4524             ac_script=s/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa/bbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbb/
4525      for ac_i in 1 2 3 4 5 6 7; do
4526        ac_script="$ac_script$as_nl$ac_script"
4527      done
4528      echo "$ac_script" 2>/dev/null | sed 99q >conftest.sed
4529      { ac_script=; unset ac_script;}
4530      if test -z "$SED"; then
4531   ac_path_SED_found=false
4532   # Loop through the user's path and test for each of PROGNAME-LIST
4533   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4534 for as_dir in $PATH
4535 do
4536   IFS=$as_save_IFS
4537   test -z "$as_dir" && as_dir=.
4538     for ac_prog in sed gsed; do
4539     for ac_exec_ext in '' $ac_executable_extensions; do
4540       ac_path_SED="$as_dir/$ac_prog$ac_exec_ext"
4541       as_fn_executable_p "$ac_path_SED" || continue
4542 # Check for GNU ac_path_SED and select it if it is found.
4543   # Check for GNU $ac_path_SED
4544 case `"$ac_path_SED" --version 2>&1` in
4545 *GNU*)
4546   ac_cv_path_SED="$ac_path_SED" ac_path_SED_found=:;;
4547 *)
4548   ac_count=0
4549   $as_echo_n 0123456789 >"conftest.in"
4550   while :
4551   do
4552     cat "conftest.in" "conftest.in" >"conftest.tmp"
4553     mv "conftest.tmp" "conftest.in"
4554     cp "conftest.in" "conftest.nl"
4555     $as_echo '' >> "conftest.nl"
4556     "$ac_path_SED" -f conftest.sed < "conftest.nl" >"conftest.out" 2>/dev/null || break
4557     diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
4558     as_fn_arith $ac_count + 1 && ac_count=$as_val
4559     if test $ac_count -gt ${ac_path_SED_max-0}; then
4560       # Best one so far, save it but keep looking for a better one
4561       ac_cv_path_SED="$ac_path_SED"
4562       ac_path_SED_max=$ac_count
4563     fi
4564     # 10*(2^10) chars as input seems more than enough
4565     test $ac_count -gt 10 && break
4566   done
4567   rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
4568 esac
4569
4570       $ac_path_SED_found && break 3
4571     done
4572   done
4573   done
4574 IFS=$as_save_IFS
4575   if test -z "$ac_cv_path_SED"; then
4576     as_fn_error $? "no acceptable sed could be found in \$PATH" "$LINENO" 5
4577   fi
4578 else
4579   ac_cv_path_SED=$SED
4580 fi
4581
4582 fi
4583 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_SED" >&5
4584 $as_echo "$ac_cv_path_SED" >&6; }
4585  SED="$ac_cv_path_SED"
4586   rm -f conftest.sed
4587
4588 test -z "$SED" && SED=sed
4589 Xsed="$SED -e 1s/^X//"
4590
4591
4592
4593
4594
4595
4596
4597
4598
4599
4600
4601 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for grep that handles long lines and -e" >&5
4602 $as_echo_n "checking for grep that handles long lines and -e... " >&6; }
4603 if ${ac_cv_path_GREP+:} false; then :
4604   $as_echo_n "(cached) " >&6
4605 else
4606   if test -z "$GREP"; then
4607   ac_path_GREP_found=false
4608   # Loop through the user's path and test for each of PROGNAME-LIST
4609   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4610 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
4611 do
4612   IFS=$as_save_IFS
4613   test -z "$as_dir" && as_dir=.
4614     for ac_prog in grep ggrep; do
4615     for ac_exec_ext in '' $ac_executable_extensions; do
4616       ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext"
4617       as_fn_executable_p "$ac_path_GREP" || continue
4618 # Check for GNU ac_path_GREP and select it if it is found.
4619   # Check for GNU $ac_path_GREP
4620 case `"$ac_path_GREP" --version 2>&1` in
4621 *GNU*)
4622   ac_cv_path_GREP="$ac_path_GREP" ac_path_GREP_found=:;;
4623 *)
4624   ac_count=0
4625   $as_echo_n 0123456789 >"conftest.in"
4626   while :
4627   do
4628     cat "conftest.in" "conftest.in" >"conftest.tmp"
4629     mv "conftest.tmp" "conftest.in"
4630     cp "conftest.in" "conftest.nl"
4631     $as_echo 'GREP' >> "conftest.nl"
4632     "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev/null || break
4633     diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
4634     as_fn_arith $ac_count + 1 && ac_count=$as_val
4635     if test $ac_count -gt ${ac_path_GREP_max-0}; then
4636       # Best one so far, save it but keep looking for a better one
4637       ac_cv_path_GREP="$ac_path_GREP"
4638       ac_path_GREP_max=$ac_count
4639     fi
4640     # 10*(2^10) chars as input seems more than enough
4641     test $ac_count -gt 10 && break
4642   done
4643   rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
4644 esac
4645
4646       $ac_path_GREP_found && break 3
4647     done
4648   done
4649   done
4650 IFS=$as_save_IFS
4651   if test -z "$ac_cv_path_GREP"; then
4652     as_fn_error $? "no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
4653   fi
4654 else
4655   ac_cv_path_GREP=$GREP
4656 fi
4657
4658 fi
4659 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_GREP" >&5
4660 $as_echo "$ac_cv_path_GREP" >&6; }
4661  GREP="$ac_cv_path_GREP"
4662
4663
4664 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for egrep" >&5
4665 $as_echo_n "checking for egrep... " >&6; }
4666 if ${ac_cv_path_EGREP+:} false; then :
4667   $as_echo_n "(cached) " >&6
4668 else
4669   if echo a | $GREP -E '(a|b)' >/dev/null 2>&1
4670    then ac_cv_path_EGREP="$GREP -E"
4671    else
4672      if test -z "$EGREP"; then
4673   ac_path_EGREP_found=false
4674   # Loop through the user's path and test for each of PROGNAME-LIST
4675   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4676 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
4677 do
4678   IFS=$as_save_IFS
4679   test -z "$as_dir" && as_dir=.
4680     for ac_prog in egrep; do
4681     for ac_exec_ext in '' $ac_executable_extensions; do
4682       ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext"
4683       as_fn_executable_p "$ac_path_EGREP" || continue
4684 # Check for GNU ac_path_EGREP and select it if it is found.
4685   # Check for GNU $ac_path_EGREP
4686 case `"$ac_path_EGREP" --version 2>&1` in
4687 *GNU*)
4688   ac_cv_path_EGREP="$ac_path_EGREP" ac_path_EGREP_found=:;;
4689 *)
4690   ac_count=0
4691   $as_echo_n 0123456789 >"conftest.in"
4692   while :
4693   do
4694     cat "conftest.in" "conftest.in" >"conftest.tmp"
4695     mv "conftest.tmp" "conftest.in"
4696     cp "conftest.in" "conftest.nl"
4697     $as_echo 'EGREP' >> "conftest.nl"
4698     "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev/null || break
4699     diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
4700     as_fn_arith $ac_count + 1 && ac_count=$as_val
4701     if test $ac_count -gt ${ac_path_EGREP_max-0}; then
4702       # Best one so far, save it but keep looking for a better one
4703       ac_cv_path_EGREP="$ac_path_EGREP"
4704       ac_path_EGREP_max=$ac_count
4705     fi
4706     # 10*(2^10) chars as input seems more than enough
4707     test $ac_count -gt 10 && break
4708   done
4709   rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
4710 esac
4711
4712       $ac_path_EGREP_found && break 3
4713     done
4714   done
4715   done
4716 IFS=$as_save_IFS
4717   if test -z "$ac_cv_path_EGREP"; then
4718     as_fn_error $? "no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
4719   fi
4720 else
4721   ac_cv_path_EGREP=$EGREP
4722 fi
4723
4724    fi
4725 fi
4726 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_EGREP" >&5
4727 $as_echo "$ac_cv_path_EGREP" >&6; }
4728  EGREP="$ac_cv_path_EGREP"
4729
4730
4731 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fgrep" >&5
4732 $as_echo_n "checking for fgrep... " >&6; }
4733 if ${ac_cv_path_FGREP+:} false; then :
4734   $as_echo_n "(cached) " >&6
4735 else
4736   if echo 'ab*c' | $GREP -F 'ab*c' >/dev/null 2>&1
4737    then ac_cv_path_FGREP="$GREP -F"
4738    else
4739      if test -z "$FGREP"; then
4740   ac_path_FGREP_found=false
4741   # Loop through the user's path and test for each of PROGNAME-LIST
4742   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4743 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
4744 do
4745   IFS=$as_save_IFS
4746   test -z "$as_dir" && as_dir=.
4747     for ac_prog in fgrep; do
4748     for ac_exec_ext in '' $ac_executable_extensions; do
4749       ac_path_FGREP="$as_dir/$ac_prog$ac_exec_ext"
4750       as_fn_executable_p "$ac_path_FGREP" || continue
4751 # Check for GNU ac_path_FGREP and select it if it is found.
4752   # Check for GNU $ac_path_FGREP
4753 case `"$ac_path_FGREP" --version 2>&1` in
4754 *GNU*)
4755   ac_cv_path_FGREP="$ac_path_FGREP" ac_path_FGREP_found=:;;
4756 *)
4757   ac_count=0
4758   $as_echo_n 0123456789 >"conftest.in"
4759   while :
4760   do
4761     cat "conftest.in" "conftest.in" >"conftest.tmp"
4762     mv "conftest.tmp" "conftest.in"
4763     cp "conftest.in" "conftest.nl"
4764     $as_echo 'FGREP' >> "conftest.nl"
4765     "$ac_path_FGREP" FGREP < "conftest.nl" >"conftest.out" 2>/dev/null || break
4766     diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
4767     as_fn_arith $ac_count + 1 && ac_count=$as_val
4768     if test $ac_count -gt ${ac_path_FGREP_max-0}; then
4769       # Best one so far, save it but keep looking for a better one
4770       ac_cv_path_FGREP="$ac_path_FGREP"
4771       ac_path_FGREP_max=$ac_count
4772     fi
4773     # 10*(2^10) chars as input seems more than enough
4774     test $ac_count -gt 10 && break
4775   done
4776   rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
4777 esac
4778
4779       $ac_path_FGREP_found && break 3
4780     done
4781   done
4782   done
4783 IFS=$as_save_IFS
4784   if test -z "$ac_cv_path_FGREP"; then
4785     as_fn_error $? "no acceptable fgrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
4786   fi
4787 else
4788   ac_cv_path_FGREP=$FGREP
4789 fi
4790
4791    fi
4792 fi
4793 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_FGREP" >&5
4794 $as_echo "$ac_cv_path_FGREP" >&6; }
4795  FGREP="$ac_cv_path_FGREP"
4796
4797
4798 test -z "$GREP" && GREP=grep
4799
4800
4801
4802
4803
4804
4805
4806
4807
4808
4809
4810
4811
4812
4813
4814
4815
4816
4817
4818 # Check whether --with-gnu-ld was given.
4819 if test "${with_gnu_ld+set}" = set; then :
4820   withval=$with_gnu_ld; test "$withval" = no || with_gnu_ld=yes
4821 else
4822   with_gnu_ld=no
4823 fi
4824
4825 ac_prog=ld
4826 if test "$GCC" = yes; then
4827   # Check if gcc -print-prog-name=ld gives a path.
4828   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld used by $CC" >&5
4829 $as_echo_n "checking for ld used by $CC... " >&6; }
4830   case $host in
4831   *-*-mingw*)
4832     # gcc leaves a trailing carriage return which upsets mingw
4833     ac_prog=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
4834   *)
4835     ac_prog=`($CC -print-prog-name=ld) 2>&5` ;;
4836   esac
4837   case $ac_prog in
4838     # Accept absolute paths.
4839     [\\/]* | ?:[\\/]*)
4840       re_direlt='/[^/][^/]*/\.\./'
4841       # Canonicalize the pathname of ld
4842       ac_prog=`$ECHO "$ac_prog"| $SED 's%\\\\%/%g'`
4843       while $ECHO "$ac_prog" | $GREP "$re_direlt" > /dev/null 2>&1; do
4844         ac_prog=`$ECHO $ac_prog| $SED "s%$re_direlt%/%"`
4845       done
4846       test -z "$LD" && LD="$ac_prog"
4847       ;;
4848   "")
4849     # If it fails, then pretend we aren't using GCC.
4850     ac_prog=ld
4851     ;;
4852   *)
4853     # If it is relative, then search for the first ld in PATH.
4854     with_gnu_ld=unknown
4855     ;;
4856   esac
4857 elif test "$with_gnu_ld" = yes; then
4858   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU ld" >&5
4859 $as_echo_n "checking for GNU ld... " >&6; }
4860 else
4861   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for non-GNU ld" >&5
4862 $as_echo_n "checking for non-GNU ld... " >&6; }
4863 fi
4864 if ${lt_cv_path_LD+:} false; then :
4865   $as_echo_n "(cached) " >&6
4866 else
4867   if test -z "$LD"; then
4868   lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
4869   for ac_dir in $PATH; do
4870     IFS="$lt_save_ifs"
4871     test -z "$ac_dir" && ac_dir=.
4872     if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then
4873       lt_cv_path_LD="$ac_dir/$ac_prog"
4874       # Check to see if the program is GNU ld.  I'd rather use --version,
4875       # but apparently some variants of GNU ld only accept -v.
4876       # Break only if it was the GNU/non-GNU ld that we prefer.
4877       case `"$lt_cv_path_LD" -v 2>&1 </dev/null` in
4878       *GNU* | *'with BFD'*)
4879         test "$with_gnu_ld" != no && break
4880         ;;
4881       *)
4882         test "$with_gnu_ld" != yes && break
4883         ;;
4884       esac
4885     fi
4886   done
4887   IFS="$lt_save_ifs"
4888 else
4889   lt_cv_path_LD="$LD" # Let the user override the test with a path.
4890 fi
4891 fi
4892
4893 LD="$lt_cv_path_LD"
4894 if test -n "$LD"; then
4895   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LD" >&5
4896 $as_echo "$LD" >&6; }
4897 else
4898   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4899 $as_echo "no" >&6; }
4900 fi
4901 test -z "$LD" && as_fn_error $? "no acceptable ld found in \$PATH" "$LINENO" 5
4902 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if the linker ($LD) is GNU ld" >&5
4903 $as_echo_n "checking if the linker ($LD) is GNU ld... " >&6; }
4904 if ${lt_cv_prog_gnu_ld+:} false; then :
4905   $as_echo_n "(cached) " >&6
4906 else
4907   # I'd rather use --version here, but apparently some GNU lds only accept -v.
4908 case `$LD -v 2>&1 </dev/null` in
4909 *GNU* | *'with BFD'*)
4910   lt_cv_prog_gnu_ld=yes
4911   ;;
4912 *)
4913   lt_cv_prog_gnu_ld=no
4914   ;;
4915 esac
4916 fi
4917 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_gnu_ld" >&5
4918 $as_echo "$lt_cv_prog_gnu_ld" >&6; }
4919 with_gnu_ld=$lt_cv_prog_gnu_ld
4920
4921
4922
4923
4924
4925
4926
4927
4928
4929 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for BSD- or MS-compatible name lister (nm)" >&5
4930 $as_echo_n "checking for BSD- or MS-compatible name lister (nm)... " >&6; }
4931 if ${lt_cv_path_NM+:} false; then :
4932   $as_echo_n "(cached) " >&6
4933 else
4934   if test -n "$NM"; then
4935   # Let the user override the test.
4936   lt_cv_path_NM="$NM"
4937 else
4938   lt_nm_to_check="${ac_tool_prefix}nm"
4939   if test -n "$ac_tool_prefix" && test "$build" = "$host"; then
4940     lt_nm_to_check="$lt_nm_to_check nm"
4941   fi
4942   for lt_tmp_nm in $lt_nm_to_check; do
4943     lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
4944     for ac_dir in $PATH /usr/ccs/bin/elf /usr/ccs/bin /usr/ucb /bin; do
4945       IFS="$lt_save_ifs"
4946       test -z "$ac_dir" && ac_dir=.
4947       tmp_nm="$ac_dir/$lt_tmp_nm"
4948       if test -f "$tmp_nm" || test -f "$tmp_nm$ac_exeext" ; then
4949         # Check to see if the nm accepts a BSD-compat flag.
4950         # Adding the `sed 1q' prevents false positives on HP-UX, which says:
4951         #   nm: unknown option "B" ignored
4952         # Tru64's nm complains that /dev/null is an invalid object file
4953         case `"$tmp_nm" -B /dev/null 2>&1 | sed '1q'` in
4954         */dev/null* | *'Invalid file or object type'*)
4955           lt_cv_path_NM="$tmp_nm -B"
4956           break
4957           ;;
4958         *)
4959           case `"$tmp_nm" -p /dev/null 2>&1 | sed '1q'` in
4960           */dev/null*)
4961             lt_cv_path_NM="$tmp_nm -p"
4962             break
4963             ;;
4964           *)
4965             lt_cv_path_NM=${lt_cv_path_NM="$tmp_nm"} # keep the first match, but
4966             continue # so that we can try to find one that supports BSD flags
4967             ;;
4968           esac
4969           ;;
4970         esac
4971       fi
4972     done
4973     IFS="$lt_save_ifs"
4974   done
4975   : ${lt_cv_path_NM=no}
4976 fi
4977 fi
4978 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_path_NM" >&5
4979 $as_echo "$lt_cv_path_NM" >&6; }
4980 if test "$lt_cv_path_NM" != "no"; then
4981   NM="$lt_cv_path_NM"
4982 else
4983   # Didn't find any BSD compatible name lister, look for dumpbin.
4984   if test -n "$DUMPBIN"; then :
4985     # Let the user override the test.
4986   else
4987     if test -n "$ac_tool_prefix"; then
4988   for ac_prog in dumpbin "link -dump"
4989   do
4990     # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
4991 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
4992 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4993 $as_echo_n "checking for $ac_word... " >&6; }
4994 if ${ac_cv_prog_DUMPBIN+:} false; then :
4995   $as_echo_n "(cached) " >&6
4996 else
4997   if test -n "$DUMPBIN"; then
4998   ac_cv_prog_DUMPBIN="$DUMPBIN" # Let the user override the test.
4999 else
5000 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5001 for as_dir in $PATH
5002 do
5003   IFS=$as_save_IFS
5004   test -z "$as_dir" && as_dir=.
5005     for ac_exec_ext in '' $ac_executable_extensions; do
5006   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5007     ac_cv_prog_DUMPBIN="$ac_tool_prefix$ac_prog"
5008     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5009     break 2
5010   fi
5011 done
5012   done
5013 IFS=$as_save_IFS
5014
5015 fi
5016 fi
5017 DUMPBIN=$ac_cv_prog_DUMPBIN
5018 if test -n "$DUMPBIN"; then
5019   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DUMPBIN" >&5
5020 $as_echo "$DUMPBIN" >&6; }
5021 else
5022   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5023 $as_echo "no" >&6; }
5024 fi
5025
5026
5027     test -n "$DUMPBIN" && break
5028   done
5029 fi
5030 if test -z "$DUMPBIN"; then
5031   ac_ct_DUMPBIN=$DUMPBIN
5032   for ac_prog in dumpbin "link -dump"
5033 do
5034   # Extract the first word of "$ac_prog", so it can be a program name with args.
5035 set dummy $ac_prog; ac_word=$2
5036 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5037 $as_echo_n "checking for $ac_word... " >&6; }
5038 if ${ac_cv_prog_ac_ct_DUMPBIN+:} false; then :
5039   $as_echo_n "(cached) " >&6
5040 else
5041   if test -n "$ac_ct_DUMPBIN"; then
5042   ac_cv_prog_ac_ct_DUMPBIN="$ac_ct_DUMPBIN" # Let the user override the test.
5043 else
5044 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5045 for as_dir in $PATH
5046 do
5047   IFS=$as_save_IFS
5048   test -z "$as_dir" && as_dir=.
5049     for ac_exec_ext in '' $ac_executable_extensions; do
5050   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5051     ac_cv_prog_ac_ct_DUMPBIN="$ac_prog"
5052     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5053     break 2
5054   fi
5055 done
5056   done
5057 IFS=$as_save_IFS
5058
5059 fi
5060 fi
5061 ac_ct_DUMPBIN=$ac_cv_prog_ac_ct_DUMPBIN
5062 if test -n "$ac_ct_DUMPBIN"; then
5063   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DUMPBIN" >&5
5064 $as_echo "$ac_ct_DUMPBIN" >&6; }
5065 else
5066   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5067 $as_echo "no" >&6; }
5068 fi
5069
5070
5071   test -n "$ac_ct_DUMPBIN" && break
5072 done
5073
5074   if test "x$ac_ct_DUMPBIN" = x; then
5075     DUMPBIN=":"
5076   else
5077     case $cross_compiling:$ac_tool_warned in
5078 yes:)
5079 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5080 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5081 ac_tool_warned=yes ;;
5082 esac
5083     DUMPBIN=$ac_ct_DUMPBIN
5084   fi
5085 fi
5086
5087     case `$DUMPBIN -symbols /dev/null 2>&1 | sed '1q'` in
5088     *COFF*)
5089       DUMPBIN="$DUMPBIN -symbols"
5090       ;;
5091     *)
5092       DUMPBIN=:
5093       ;;
5094     esac
5095   fi
5096
5097   if test "$DUMPBIN" != ":"; then
5098     NM="$DUMPBIN"
5099   fi
5100 fi
5101 test -z "$NM" && NM=nm
5102
5103
5104
5105
5106
5107
5108 { $as_echo "$as_me:${as_lineno-$LINENO}: checking the name lister ($NM) interface" >&5
5109 $as_echo_n "checking the name lister ($NM) interface... " >&6; }
5110 if ${lt_cv_nm_interface+:} false; then :
5111   $as_echo_n "(cached) " >&6
5112 else
5113   lt_cv_nm_interface="BSD nm"
5114   echo "int some_variable = 0;" > conftest.$ac_ext
5115   (eval echo "\"\$as_me:$LINENO: $ac_compile\"" >&5)
5116   (eval "$ac_compile" 2>conftest.err)
5117   cat conftest.err >&5
5118   (eval echo "\"\$as_me:$LINENO: $NM \\\"conftest.$ac_objext\\\"\"" >&5)
5119   (eval "$NM \"conftest.$ac_objext\"" 2>conftest.err > conftest.out)
5120   cat conftest.err >&5
5121   (eval echo "\"\$as_me:$LINENO: output\"" >&5)
5122   cat conftest.out >&5
5123   if $GREP 'External.*some_variable' conftest.out > /dev/null; then
5124     lt_cv_nm_interface="MS dumpbin"
5125   fi
5126   rm -f conftest*
5127 fi
5128 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_nm_interface" >&5
5129 $as_echo "$lt_cv_nm_interface" >&6; }
5130
5131 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ln -s works" >&5
5132 $as_echo_n "checking whether ln -s works... " >&6; }
5133 LN_S=$as_ln_s
5134 if test "$LN_S" = "ln -s"; then
5135   { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
5136 $as_echo "yes" >&6; }
5137 else
5138   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no, using $LN_S" >&5
5139 $as_echo "no, using $LN_S" >&6; }
5140 fi
5141
5142 # find the maximum length of command line arguments
5143 { $as_echo "$as_me:${as_lineno-$LINENO}: checking the maximum length of command line arguments" >&5
5144 $as_echo_n "checking the maximum length of command line arguments... " >&6; }
5145 if ${lt_cv_sys_max_cmd_len+:} false; then :
5146   $as_echo_n "(cached) " >&6
5147 else
5148     i=0
5149   teststring="ABCD"
5150
5151   case $build_os in
5152   msdosdjgpp*)
5153     # On DJGPP, this test can blow up pretty badly due to problems in libc
5154     # (any single argument exceeding 2000 bytes causes a buffer overrun
5155     # during glob expansion).  Even if it were fixed, the result of this
5156     # check would be larger than it should be.
5157     lt_cv_sys_max_cmd_len=12288;    # 12K is about right
5158     ;;
5159
5160   gnu*)
5161     # Under GNU Hurd, this test is not required because there is
5162     # no limit to the length of command line arguments.
5163     # Libtool will interpret -1 as no limit whatsoever
5164     lt_cv_sys_max_cmd_len=-1;
5165     ;;
5166
5167   cygwin* | mingw* | cegcc*)
5168     # On Win9x/ME, this test blows up -- it succeeds, but takes
5169     # about 5 minutes as the teststring grows exponentially.
5170     # Worse, since 9x/ME are not pre-emptively multitasking,
5171     # you end up with a "frozen" computer, even though with patience
5172     # the test eventually succeeds (with a max line length of 256k).
5173     # Instead, let's just punt: use the minimum linelength reported by
5174     # all of the supported platforms: 8192 (on NT/2K/XP).
5175     lt_cv_sys_max_cmd_len=8192;
5176     ;;
5177
5178   mint*)
5179     # On MiNT this can take a long time and run out of memory.
5180     lt_cv_sys_max_cmd_len=8192;
5181     ;;
5182
5183   amigaos*)
5184     # On AmigaOS with pdksh, this test takes hours, literally.
5185     # So we just punt and use a minimum line length of 8192.
5186     lt_cv_sys_max_cmd_len=8192;
5187     ;;
5188
5189   netbsd* | freebsd* | openbsd* | darwin* | dragonfly*)
5190     # This has been around since 386BSD, at least.  Likely further.
5191     if test -x /sbin/sysctl; then
5192       lt_cv_sys_max_cmd_len=`/sbin/sysctl -n kern.argmax`
5193     elif test -x /usr/sbin/sysctl; then
5194       lt_cv_sys_max_cmd_len=`/usr/sbin/sysctl -n kern.argmax`
5195     else
5196       lt_cv_sys_max_cmd_len=65536       # usable default for all BSDs
5197     fi
5198     # And add a safety zone
5199     lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4`
5200     lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3`
5201     ;;
5202
5203   interix*)
5204     # We know the value 262144 and hardcode it with a safety zone (like BSD)
5205     lt_cv_sys_max_cmd_len=196608
5206     ;;
5207
5208   os2*)
5209     # The test takes a long time on OS/2.
5210     lt_cv_sys_max_cmd_len=8192
5211     ;;
5212
5213   osf*)
5214     # Dr. Hans Ekkehard Plesser reports seeing a kernel panic running configure
5215     # due to this test when exec_disable_arg_limit is 1 on Tru64. It is not
5216     # nice to cause kernel panics so lets avoid the loop below.
5217     # First set a reasonable default.
5218     lt_cv_sys_max_cmd_len=16384
5219     #
5220     if test -x /sbin/sysconfig; then
5221       case `/sbin/sysconfig -q proc exec_disable_arg_limit` in
5222         *1*) lt_cv_sys_max_cmd_len=-1 ;;
5223       esac
5224     fi
5225     ;;
5226   sco3.2v5*)
5227     lt_cv_sys_max_cmd_len=102400
5228     ;;
5229   sysv5* | sco5v6* | sysv4.2uw2*)
5230     kargmax=`grep ARG_MAX /etc/conf/cf.d/stune 2>/dev/null`
5231     if test -n "$kargmax"; then
5232       lt_cv_sys_max_cmd_len=`echo $kargmax | sed 's/.*[  ]//'`
5233     else
5234       lt_cv_sys_max_cmd_len=32768
5235     fi
5236     ;;
5237   *)
5238     lt_cv_sys_max_cmd_len=`(getconf ARG_MAX) 2> /dev/null`
5239     if test -n "$lt_cv_sys_max_cmd_len"; then
5240       lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4`
5241       lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3`
5242     else
5243       # Make teststring a little bigger before we do anything with it.
5244       # a 1K string should be a reasonable start.
5245       for i in 1 2 3 4 5 6 7 8 ; do
5246         teststring=$teststring$teststring
5247       done
5248       SHELL=${SHELL-${CONFIG_SHELL-/bin/sh}}
5249       # If test is not a shell built-in, we'll probably end up computing a
5250       # maximum length that is only half of the actual maximum length, but
5251       # we can't tell.
5252       while { test "X"`env echo "$teststring$teststring" 2>/dev/null` \
5253                  = "X$teststring$teststring"; } >/dev/null 2>&1 &&
5254               test $i != 17 # 1/2 MB should be enough
5255       do
5256         i=`expr $i + 1`
5257         teststring=$teststring$teststring
5258       done
5259       # Only check the string length outside the loop.
5260       lt_cv_sys_max_cmd_len=`expr "X$teststring" : ".*" 2>&1`
5261       teststring=
5262       # Add a significant safety factor because C++ compilers can tack on
5263       # massive amounts of additional arguments before passing them to the
5264       # linker.  It appears as though 1/2 is a usable value.
5265       lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 2`
5266     fi
5267     ;;
5268   esac
5269
5270 fi
5271
5272 if test -n $lt_cv_sys_max_cmd_len ; then
5273   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_sys_max_cmd_len" >&5
5274 $as_echo "$lt_cv_sys_max_cmd_len" >&6; }
5275 else
5276   { $as_echo "$as_me:${as_lineno-$LINENO}: result: none" >&5
5277 $as_echo "none" >&6; }
5278 fi
5279 max_cmd_len=$lt_cv_sys_max_cmd_len
5280
5281
5282
5283
5284
5285
5286 : ${CP="cp -f"}
5287 : ${MV="mv -f"}
5288 : ${RM="rm -f"}
5289
5290 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the shell understands some XSI constructs" >&5
5291 $as_echo_n "checking whether the shell understands some XSI constructs... " >&6; }
5292 # Try some XSI features
5293 xsi_shell=no
5294 ( _lt_dummy="a/b/c"
5295   test "${_lt_dummy##*/},${_lt_dummy%/*},${_lt_dummy#??}"${_lt_dummy%"$_lt_dummy"}, \
5296       = c,a/b,b/c, \
5297     && eval 'test $(( 1 + 1 )) -eq 2 \
5298     && test "${#_lt_dummy}" -eq 5' ) >/dev/null 2>&1 \
5299   && xsi_shell=yes
5300 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xsi_shell" >&5
5301 $as_echo "$xsi_shell" >&6; }
5302
5303
5304 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the shell understands \"+=\"" >&5
5305 $as_echo_n "checking whether the shell understands \"+=\"... " >&6; }
5306 lt_shell_append=no
5307 ( foo=bar; set foo baz; eval "$1+=\$2" && test "$foo" = barbaz ) \
5308     >/dev/null 2>&1 \
5309   && lt_shell_append=yes
5310 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_shell_append" >&5
5311 $as_echo "$lt_shell_append" >&6; }
5312
5313
5314 if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
5315   lt_unset=unset
5316 else
5317   lt_unset=false
5318 fi
5319
5320
5321
5322
5323
5324 # test EBCDIC or ASCII
5325 case `echo X|tr X '\101'` in
5326  A) # ASCII based system
5327     # \n is not interpreted correctly by Solaris 8 /usr/ucb/tr
5328   lt_SP2NL='tr \040 \012'
5329   lt_NL2SP='tr \015\012 \040\040'
5330   ;;
5331  *) # EBCDIC based system
5332   lt_SP2NL='tr \100 \n'
5333   lt_NL2SP='tr \r\n \100\100'
5334   ;;
5335 esac
5336
5337
5338
5339
5340
5341
5342
5343
5344
5345 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to convert $build file names to $host format" >&5
5346 $as_echo_n "checking how to convert $build file names to $host format... " >&6; }
5347 if ${lt_cv_to_host_file_cmd+:} false; then :
5348   $as_echo_n "(cached) " >&6
5349 else
5350   case $host in
5351   *-*-mingw* )
5352     case $build in
5353       *-*-mingw* ) # actually msys
5354         lt_cv_to_host_file_cmd=func_convert_file_msys_to_w32
5355         ;;
5356       *-*-cygwin* )
5357         lt_cv_to_host_file_cmd=func_convert_file_cygwin_to_w32
5358         ;;
5359       * ) # otherwise, assume *nix
5360         lt_cv_to_host_file_cmd=func_convert_file_nix_to_w32
5361         ;;
5362     esac
5363     ;;
5364   *-*-cygwin* )
5365     case $build in
5366       *-*-mingw* ) # actually msys
5367         lt_cv_to_host_file_cmd=func_convert_file_msys_to_cygwin
5368         ;;
5369       *-*-cygwin* )
5370         lt_cv_to_host_file_cmd=func_convert_file_noop
5371         ;;
5372       * ) # otherwise, assume *nix
5373         lt_cv_to_host_file_cmd=func_convert_file_nix_to_cygwin
5374         ;;
5375     esac
5376     ;;
5377   * ) # unhandled hosts (and "normal" native builds)
5378     lt_cv_to_host_file_cmd=func_convert_file_noop
5379     ;;
5380 esac
5381
5382 fi
5383
5384 to_host_file_cmd=$lt_cv_to_host_file_cmd
5385 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_to_host_file_cmd" >&5
5386 $as_echo "$lt_cv_to_host_file_cmd" >&6; }
5387
5388
5389
5390
5391
5392 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to convert $build file names to toolchain format" >&5
5393 $as_echo_n "checking how to convert $build file names to toolchain format... " >&6; }
5394 if ${lt_cv_to_tool_file_cmd+:} false; then :
5395   $as_echo_n "(cached) " >&6
5396 else
5397   #assume ordinary cross tools, or native build.
5398 lt_cv_to_tool_file_cmd=func_convert_file_noop
5399 case $host in
5400   *-*-mingw* )
5401     case $build in
5402       *-*-mingw* ) # actually msys
5403         lt_cv_to_tool_file_cmd=func_convert_file_msys_to_w32
5404         ;;
5405     esac
5406     ;;
5407 esac
5408
5409 fi
5410
5411 to_tool_file_cmd=$lt_cv_to_tool_file_cmd
5412 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_to_tool_file_cmd" >&5
5413 $as_echo "$lt_cv_to_tool_file_cmd" >&6; }
5414
5415
5416
5417
5418
5419 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $LD option to reload object files" >&5
5420 $as_echo_n "checking for $LD option to reload object files... " >&6; }
5421 if ${lt_cv_ld_reload_flag+:} false; then :
5422   $as_echo_n "(cached) " >&6
5423 else
5424   lt_cv_ld_reload_flag='-r'
5425 fi
5426 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_reload_flag" >&5
5427 $as_echo "$lt_cv_ld_reload_flag" >&6; }
5428 reload_flag=$lt_cv_ld_reload_flag
5429 case $reload_flag in
5430 "" | " "*) ;;
5431 *) reload_flag=" $reload_flag" ;;
5432 esac
5433 reload_cmds='$LD$reload_flag -o $output$reload_objs'
5434 case $host_os in
5435   cygwin* | mingw* | pw32* | cegcc*)
5436     if test "$GCC" != yes; then
5437       reload_cmds=false
5438     fi
5439     ;;
5440   darwin*)
5441     if test "$GCC" = yes; then
5442       reload_cmds='$LTCC $LTCFLAGS -nostdlib ${wl}-r -o $output$reload_objs'
5443     else
5444       reload_cmds='$LD$reload_flag -o $output$reload_objs'
5445     fi
5446     ;;
5447 esac
5448
5449
5450
5451
5452
5453
5454
5455
5456
5457 if test -n "$ac_tool_prefix"; then
5458   # Extract the first word of "${ac_tool_prefix}objdump", so it can be a program name with args.
5459 set dummy ${ac_tool_prefix}objdump; ac_word=$2
5460 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5461 $as_echo_n "checking for $ac_word... " >&6; }
5462 if ${ac_cv_prog_OBJDUMP+:} false; then :
5463   $as_echo_n "(cached) " >&6
5464 else
5465   if test -n "$OBJDUMP"; then
5466   ac_cv_prog_OBJDUMP="$OBJDUMP" # Let the user override the test.
5467 else
5468 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5469 for as_dir in $PATH
5470 do
5471   IFS=$as_save_IFS
5472   test -z "$as_dir" && as_dir=.
5473     for ac_exec_ext in '' $ac_executable_extensions; do
5474   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5475     ac_cv_prog_OBJDUMP="${ac_tool_prefix}objdump"
5476     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5477     break 2
5478   fi
5479 done
5480   done
5481 IFS=$as_save_IFS
5482
5483 fi
5484 fi
5485 OBJDUMP=$ac_cv_prog_OBJDUMP
5486 if test -n "$OBJDUMP"; then
5487   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OBJDUMP" >&5
5488 $as_echo "$OBJDUMP" >&6; }
5489 else
5490   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5491 $as_echo "no" >&6; }
5492 fi
5493
5494
5495 fi
5496 if test -z "$ac_cv_prog_OBJDUMP"; then
5497   ac_ct_OBJDUMP=$OBJDUMP
5498   # Extract the first word of "objdump", so it can be a program name with args.
5499 set dummy objdump; ac_word=$2
5500 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5501 $as_echo_n "checking for $ac_word... " >&6; }
5502 if ${ac_cv_prog_ac_ct_OBJDUMP+:} false; then :
5503   $as_echo_n "(cached) " >&6
5504 else
5505   if test -n "$ac_ct_OBJDUMP"; then
5506   ac_cv_prog_ac_ct_OBJDUMP="$ac_ct_OBJDUMP" # Let the user override the test.
5507 else
5508 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5509 for as_dir in $PATH
5510 do
5511   IFS=$as_save_IFS
5512   test -z "$as_dir" && as_dir=.
5513     for ac_exec_ext in '' $ac_executable_extensions; do
5514   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5515     ac_cv_prog_ac_ct_OBJDUMP="objdump"
5516     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5517     break 2
5518   fi
5519 done
5520   done
5521 IFS=$as_save_IFS
5522
5523 fi
5524 fi
5525 ac_ct_OBJDUMP=$ac_cv_prog_ac_ct_OBJDUMP
5526 if test -n "$ac_ct_OBJDUMP"; then
5527   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OBJDUMP" >&5
5528 $as_echo "$ac_ct_OBJDUMP" >&6; }
5529 else
5530   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5531 $as_echo "no" >&6; }
5532 fi
5533
5534   if test "x$ac_ct_OBJDUMP" = x; then
5535     OBJDUMP="false"
5536   else
5537     case $cross_compiling:$ac_tool_warned in
5538 yes:)
5539 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5540 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5541 ac_tool_warned=yes ;;
5542 esac
5543     OBJDUMP=$ac_ct_OBJDUMP
5544   fi
5545 else
5546   OBJDUMP="$ac_cv_prog_OBJDUMP"
5547 fi
5548
5549 test -z "$OBJDUMP" && OBJDUMP=objdump
5550
5551
5552
5553
5554
5555
5556
5557
5558
5559 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to recognize dependent libraries" >&5
5560 $as_echo_n "checking how to recognize dependent libraries... " >&6; }
5561 if ${lt_cv_deplibs_check_method+:} false; then :
5562   $as_echo_n "(cached) " >&6
5563 else
5564   lt_cv_file_magic_cmd='$MAGIC_CMD'
5565 lt_cv_file_magic_test_file=
5566 lt_cv_deplibs_check_method='unknown'
5567 # Need to set the preceding variable on all platforms that support
5568 # interlibrary dependencies.
5569 # 'none' -- dependencies not supported.
5570 # `unknown' -- same as none, but documents that we really don't know.
5571 # 'pass_all' -- all dependencies passed with no checks.
5572 # 'test_compile' -- check by making test program.
5573 # 'file_magic [[regex]]' -- check by looking for files in library path
5574 # which responds to the $file_magic_cmd with a given extended regex.
5575 # If you have `file' or equivalent on your system and you're not sure
5576 # whether `pass_all' will *always* work, you probably want this one.
5577
5578 case $host_os in
5579 aix[4-9]*)
5580   lt_cv_deplibs_check_method=pass_all
5581   ;;
5582
5583 beos*)
5584   lt_cv_deplibs_check_method=pass_all
5585   ;;
5586
5587 bsdi[45]*)
5588   lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (shared object|dynamic lib)'
5589   lt_cv_file_magic_cmd='/usr/bin/file -L'
5590   lt_cv_file_magic_test_file=/shlib/libc.so
5591   ;;
5592
5593 cygwin*)
5594   # func_win32_libid is a shell function defined in ltmain.sh
5595   lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL'
5596   lt_cv_file_magic_cmd='func_win32_libid'
5597   ;;
5598
5599 mingw* | pw32*)
5600   # Base MSYS/MinGW do not provide the 'file' command needed by
5601   # func_win32_libid shell function, so use a weaker test based on 'objdump',
5602   # unless we find 'file', for example because we are cross-compiling.
5603   # func_win32_libid assumes BSD nm, so disallow it if using MS dumpbin.
5604   if ( test "$lt_cv_nm_interface" = "BSD nm" && file / ) >/dev/null 2>&1; then
5605     lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL'
5606     lt_cv_file_magic_cmd='func_win32_libid'
5607   else
5608     # Keep this pattern in sync with the one in func_win32_libid.
5609     lt_cv_deplibs_check_method='file_magic file format (pei*-i386(.*architecture: i386)?|pe-arm-wince|pe-x86-64)'
5610     lt_cv_file_magic_cmd='$OBJDUMP -f'
5611   fi
5612   ;;
5613
5614 cegcc*)
5615   # use the weaker test based on 'objdump'. See mingw*.
5616   lt_cv_deplibs_check_method='file_magic file format pe-arm-.*little(.*architecture: arm)?'
5617   lt_cv_file_magic_cmd='$OBJDUMP -f'
5618   ;;
5619
5620 darwin* | rhapsody*)
5621   lt_cv_deplibs_check_method=pass_all
5622   ;;
5623
5624 freebsd* | dragonfly*)
5625   if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then
5626     case $host_cpu in
5627     i*86 )
5628       # Not sure whether the presence of OpenBSD here was a mistake.
5629       # Let's accept both of them until this is cleared up.
5630       lt_cv_deplibs_check_method='file_magic (FreeBSD|OpenBSD|DragonFly)/i[3-9]86 (compact )?demand paged shared library'
5631       lt_cv_file_magic_cmd=/usr/bin/file
5632       lt_cv_file_magic_test_file=`echo /usr/lib/libc.so.*`
5633       ;;
5634     esac
5635   else
5636     lt_cv_deplibs_check_method=pass_all
5637   fi
5638   ;;
5639
5640 gnu*)
5641   lt_cv_deplibs_check_method=pass_all
5642   ;;
5643
5644 haiku*)
5645   lt_cv_deplibs_check_method=pass_all
5646   ;;
5647
5648 hpux10.20* | hpux11*)
5649   lt_cv_file_magic_cmd=/usr/bin/file
5650   case $host_cpu in
5651   ia64*)
5652     lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|ELF-[0-9][0-9]) shared object file - IA64'
5653     lt_cv_file_magic_test_file=/usr/lib/hpux32/libc.so
5654     ;;
5655   hppa*64*)
5656     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]'
5657     lt_cv_file_magic_test_file=/usr/lib/pa20_64/libc.sl
5658     ;;
5659   *)
5660     lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|PA-RISC[0-9]\.[0-9]) shared library'
5661     lt_cv_file_magic_test_file=/usr/lib/libc.sl
5662     ;;
5663   esac
5664   ;;
5665
5666 interix[3-9]*)
5667   # PIC code is broken on Interix 3.x, that's why |\.a not |_pic\.a here
5668   lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|\.a)$'
5669   ;;
5670
5671 irix5* | irix6* | nonstopux*)
5672   case $LD in
5673   *-32|*"-32 ") libmagic=32-bit;;
5674   *-n32|*"-n32 ") libmagic=N32;;
5675   *-64|*"-64 ") libmagic=64-bit;;
5676   *) libmagic=never-match;;
5677   esac
5678   lt_cv_deplibs_check_method=pass_all
5679   ;;
5680
5681 # This must be glibc/ELF.
5682 linux* | k*bsd*-gnu | kopensolaris*-gnu)
5683   lt_cv_deplibs_check_method=pass_all
5684   ;;
5685
5686 netbsd*)
5687   if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then
5688     lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
5689   else
5690     lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|_pic\.a)$'
5691   fi
5692   ;;
5693
5694 newos6*)
5695   lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (executable|dynamic lib)'
5696   lt_cv_file_magic_cmd=/usr/bin/file
5697   lt_cv_file_magic_test_file=/usr/lib/libnls.so
5698   ;;
5699
5700 *nto* | *qnx*)
5701   lt_cv_deplibs_check_method=pass_all
5702   ;;
5703
5704 openbsd*)
5705   if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
5706     lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|\.so|_pic\.a)$'
5707   else
5708     lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
5709   fi
5710   ;;
5711
5712 osf3* | osf4* | osf5*)
5713   lt_cv_deplibs_check_method=pass_all
5714   ;;
5715
5716 rdos*)
5717   lt_cv_deplibs_check_method=pass_all
5718   ;;
5719
5720 solaris*)
5721   lt_cv_deplibs_check_method=pass_all
5722   ;;
5723
5724 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
5725   lt_cv_deplibs_check_method=pass_all
5726   ;;
5727
5728 sysv4 | sysv4.3*)
5729   case $host_vendor in
5730   motorola)
5731     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]'
5732     lt_cv_file_magic_test_file=`echo /usr/lib/libc.so*`
5733     ;;
5734   ncr)
5735     lt_cv_deplibs_check_method=pass_all
5736     ;;
5737   sequent)
5738     lt_cv_file_magic_cmd='/bin/file'
5739     lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [LM]SB (shared object|dynamic lib )'
5740     ;;
5741   sni)
5742     lt_cv_file_magic_cmd='/bin/file'
5743     lt_cv_deplibs_check_method="file_magic ELF [0-9][0-9]*-bit [LM]SB dynamic lib"
5744     lt_cv_file_magic_test_file=/lib/libc.so
5745     ;;
5746   siemens)
5747     lt_cv_deplibs_check_method=pass_all
5748     ;;
5749   pc)
5750     lt_cv_deplibs_check_method=pass_all
5751     ;;
5752   esac
5753   ;;
5754
5755 tpf*)
5756   lt_cv_deplibs_check_method=pass_all
5757   ;;
5758 esac
5759
5760 fi
5761 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_deplibs_check_method" >&5
5762 $as_echo "$lt_cv_deplibs_check_method" >&6; }
5763
5764 file_magic_glob=
5765 want_nocaseglob=no
5766 if test "$build" = "$host"; then
5767   case $host_os in
5768   mingw* | pw32*)
5769     if ( shopt | grep nocaseglob ) >/dev/null 2>&1; then
5770       want_nocaseglob=yes
5771     else
5772       file_magic_glob=`echo aAbBcCdDeEfFgGhHiIjJkKlLmMnNoOpPqQrRsStTuUvVwWxXyYzZ | $SED -e "s/\(..\)/s\/[\1]\/[\1]\/g;/g"`
5773     fi
5774     ;;
5775   esac
5776 fi
5777
5778 file_magic_cmd=$lt_cv_file_magic_cmd
5779 deplibs_check_method=$lt_cv_deplibs_check_method
5780 test -z "$deplibs_check_method" && deplibs_check_method=unknown
5781
5782
5783
5784
5785
5786
5787
5788
5789
5790
5791
5792
5793
5794
5795
5796
5797
5798
5799
5800
5801
5802
5803 if test -n "$ac_tool_prefix"; then
5804   # Extract the first word of "${ac_tool_prefix}dlltool", so it can be a program name with args.
5805 set dummy ${ac_tool_prefix}dlltool; ac_word=$2
5806 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5807 $as_echo_n "checking for $ac_word... " >&6; }
5808 if ${ac_cv_prog_DLLTOOL+:} false; then :
5809   $as_echo_n "(cached) " >&6
5810 else
5811   if test -n "$DLLTOOL"; then
5812   ac_cv_prog_DLLTOOL="$DLLTOOL" # Let the user override the test.
5813 else
5814 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5815 for as_dir in $PATH
5816 do
5817   IFS=$as_save_IFS
5818   test -z "$as_dir" && as_dir=.
5819     for ac_exec_ext in '' $ac_executable_extensions; do
5820   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5821     ac_cv_prog_DLLTOOL="${ac_tool_prefix}dlltool"
5822     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5823     break 2
5824   fi
5825 done
5826   done
5827 IFS=$as_save_IFS
5828
5829 fi
5830 fi
5831 DLLTOOL=$ac_cv_prog_DLLTOOL
5832 if test -n "$DLLTOOL"; then
5833   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DLLTOOL" >&5
5834 $as_echo "$DLLTOOL" >&6; }
5835 else
5836   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5837 $as_echo "no" >&6; }
5838 fi
5839
5840
5841 fi
5842 if test -z "$ac_cv_prog_DLLTOOL"; then
5843   ac_ct_DLLTOOL=$DLLTOOL
5844   # Extract the first word of "dlltool", so it can be a program name with args.
5845 set dummy dlltool; ac_word=$2
5846 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5847 $as_echo_n "checking for $ac_word... " >&6; }
5848 if ${ac_cv_prog_ac_ct_DLLTOOL+:} false; then :
5849   $as_echo_n "(cached) " >&6
5850 else
5851   if test -n "$ac_ct_DLLTOOL"; then
5852   ac_cv_prog_ac_ct_DLLTOOL="$ac_ct_DLLTOOL" # Let the user override the test.
5853 else
5854 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5855 for as_dir in $PATH
5856 do
5857   IFS=$as_save_IFS
5858   test -z "$as_dir" && as_dir=.
5859     for ac_exec_ext in '' $ac_executable_extensions; do
5860   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5861     ac_cv_prog_ac_ct_DLLTOOL="dlltool"
5862     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5863     break 2
5864   fi
5865 done
5866   done
5867 IFS=$as_save_IFS
5868
5869 fi
5870 fi
5871 ac_ct_DLLTOOL=$ac_cv_prog_ac_ct_DLLTOOL
5872 if test -n "$ac_ct_DLLTOOL"; then
5873   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DLLTOOL" >&5
5874 $as_echo "$ac_ct_DLLTOOL" >&6; }
5875 else
5876   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5877 $as_echo "no" >&6; }
5878 fi
5879
5880   if test "x$ac_ct_DLLTOOL" = x; then
5881     DLLTOOL="false"
5882   else
5883     case $cross_compiling:$ac_tool_warned in
5884 yes:)
5885 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5886 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5887 ac_tool_warned=yes ;;
5888 esac
5889     DLLTOOL=$ac_ct_DLLTOOL
5890   fi
5891 else
5892   DLLTOOL="$ac_cv_prog_DLLTOOL"
5893 fi
5894
5895 test -z "$DLLTOOL" && DLLTOOL=dlltool
5896
5897
5898
5899
5900
5901
5902
5903
5904
5905
5906 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to associate runtime and link libraries" >&5
5907 $as_echo_n "checking how to associate runtime and link libraries... " >&6; }
5908 if ${lt_cv_sharedlib_from_linklib_cmd+:} false; then :
5909   $as_echo_n "(cached) " >&6
5910 else
5911   lt_cv_sharedlib_from_linklib_cmd='unknown'
5912
5913 case $host_os in
5914 cygwin* | mingw* | pw32* | cegcc*)
5915   # two different shell functions defined in ltmain.sh
5916   # decide which to use based on capabilities of $DLLTOOL
5917   case `$DLLTOOL --help 2>&1` in
5918   *--identify-strict*)
5919     lt_cv_sharedlib_from_linklib_cmd=func_cygming_dll_for_implib
5920     ;;
5921   *)
5922     lt_cv_sharedlib_from_linklib_cmd=func_cygming_dll_for_implib_fallback
5923     ;;
5924   esac
5925   ;;
5926 *)
5927   # fallback: assume linklib IS sharedlib
5928   lt_cv_sharedlib_from_linklib_cmd="$ECHO"
5929   ;;
5930 esac
5931
5932 fi
5933 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_sharedlib_from_linklib_cmd" >&5
5934 $as_echo "$lt_cv_sharedlib_from_linklib_cmd" >&6; }
5935 sharedlib_from_linklib_cmd=$lt_cv_sharedlib_from_linklib_cmd
5936 test -z "$sharedlib_from_linklib_cmd" && sharedlib_from_linklib_cmd=$ECHO
5937
5938
5939
5940
5941
5942
5943
5944
5945 if test -n "$ac_tool_prefix"; then
5946   for ac_prog in ar
5947   do
5948     # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
5949 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
5950 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5951 $as_echo_n "checking for $ac_word... " >&6; }
5952 if ${ac_cv_prog_AR+:} false; then :
5953   $as_echo_n "(cached) " >&6
5954 else
5955   if test -n "$AR"; then
5956   ac_cv_prog_AR="$AR" # Let the user override the test.
5957 else
5958 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5959 for as_dir in $PATH
5960 do
5961   IFS=$as_save_IFS
5962   test -z "$as_dir" && as_dir=.
5963     for ac_exec_ext in '' $ac_executable_extensions; do
5964   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5965     ac_cv_prog_AR="$ac_tool_prefix$ac_prog"
5966     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5967     break 2
5968   fi
5969 done
5970   done
5971 IFS=$as_save_IFS
5972
5973 fi
5974 fi
5975 AR=$ac_cv_prog_AR
5976 if test -n "$AR"; then
5977   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AR" >&5
5978 $as_echo "$AR" >&6; }
5979 else
5980   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5981 $as_echo "no" >&6; }
5982 fi
5983
5984
5985     test -n "$AR" && break
5986   done
5987 fi
5988 if test -z "$AR"; then
5989   ac_ct_AR=$AR
5990   for ac_prog in ar
5991 do
5992   # Extract the first word of "$ac_prog", so it can be a program name with args.
5993 set dummy $ac_prog; ac_word=$2
5994 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5995 $as_echo_n "checking for $ac_word... " >&6; }
5996 if ${ac_cv_prog_ac_ct_AR+:} false; then :
5997   $as_echo_n "(cached) " >&6
5998 else
5999   if test -n "$ac_ct_AR"; then
6000   ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test.
6001 else
6002 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6003 for as_dir in $PATH
6004 do
6005   IFS=$as_save_IFS
6006   test -z "$as_dir" && as_dir=.
6007     for ac_exec_ext in '' $ac_executable_extensions; do
6008   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6009     ac_cv_prog_ac_ct_AR="$ac_prog"
6010     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6011     break 2
6012   fi
6013 done
6014   done
6015 IFS=$as_save_IFS
6016
6017 fi
6018 fi
6019 ac_ct_AR=$ac_cv_prog_ac_ct_AR
6020 if test -n "$ac_ct_AR"; then
6021   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_AR" >&5
6022 $as_echo "$ac_ct_AR" >&6; }
6023 else
6024   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6025 $as_echo "no" >&6; }
6026 fi
6027
6028
6029   test -n "$ac_ct_AR" && break
6030 done
6031
6032   if test "x$ac_ct_AR" = x; then
6033     AR="false"
6034   else
6035     case $cross_compiling:$ac_tool_warned in
6036 yes:)
6037 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6038 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6039 ac_tool_warned=yes ;;
6040 esac
6041     AR=$ac_ct_AR
6042   fi
6043 fi
6044
6045 : ${AR=ar}
6046 : ${AR_FLAGS=cru}
6047
6048
6049
6050
6051
6052
6053
6054
6055
6056
6057
6058 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for archiver @FILE support" >&5
6059 $as_echo_n "checking for archiver @FILE support... " >&6; }
6060 if ${lt_cv_ar_at_file+:} false; then :
6061   $as_echo_n "(cached) " >&6
6062 else
6063   lt_cv_ar_at_file=no
6064    cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6065 /* end confdefs.h.  */
6066
6067 int
6068 main ()
6069 {
6070
6071   ;
6072   return 0;
6073 }
6074 _ACEOF
6075 if ac_fn_c_try_compile "$LINENO"; then :
6076   echo conftest.$ac_objext > conftest.lst
6077       lt_ar_try='$AR $AR_FLAGS libconftest.a @conftest.lst >&5'
6078       { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$lt_ar_try\""; } >&5
6079   (eval $lt_ar_try) 2>&5
6080   ac_status=$?
6081   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6082   test $ac_status = 0; }
6083       if test "$ac_status" -eq 0; then
6084         # Ensure the archiver fails upon bogus file names.
6085         rm -f conftest.$ac_objext libconftest.a
6086         { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$lt_ar_try\""; } >&5
6087   (eval $lt_ar_try) 2>&5
6088   ac_status=$?
6089   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6090   test $ac_status = 0; }
6091         if test "$ac_status" -ne 0; then
6092           lt_cv_ar_at_file=@
6093         fi
6094       fi
6095       rm -f conftest.* libconftest.a
6096
6097 fi
6098 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6099
6100 fi
6101 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ar_at_file" >&5
6102 $as_echo "$lt_cv_ar_at_file" >&6; }
6103
6104 if test "x$lt_cv_ar_at_file" = xno; then
6105   archiver_list_spec=
6106 else
6107   archiver_list_spec=$lt_cv_ar_at_file
6108 fi
6109
6110
6111
6112
6113
6114
6115
6116 if test -n "$ac_tool_prefix"; then
6117   # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
6118 set dummy ${ac_tool_prefix}strip; ac_word=$2
6119 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6120 $as_echo_n "checking for $ac_word... " >&6; }
6121 if ${ac_cv_prog_STRIP+:} false; then :
6122   $as_echo_n "(cached) " >&6
6123 else
6124   if test -n "$STRIP"; then
6125   ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
6126 else
6127 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6128 for as_dir in $PATH
6129 do
6130   IFS=$as_save_IFS
6131   test -z "$as_dir" && as_dir=.
6132     for ac_exec_ext in '' $ac_executable_extensions; do
6133   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6134     ac_cv_prog_STRIP="${ac_tool_prefix}strip"
6135     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6136     break 2
6137   fi
6138 done
6139   done
6140 IFS=$as_save_IFS
6141
6142 fi
6143 fi
6144 STRIP=$ac_cv_prog_STRIP
6145 if test -n "$STRIP"; then
6146   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
6147 $as_echo "$STRIP" >&6; }
6148 else
6149   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6150 $as_echo "no" >&6; }
6151 fi
6152
6153
6154 fi
6155 if test -z "$ac_cv_prog_STRIP"; then
6156   ac_ct_STRIP=$STRIP
6157   # Extract the first word of "strip", so it can be a program name with args.
6158 set dummy strip; ac_word=$2
6159 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6160 $as_echo_n "checking for $ac_word... " >&6; }
6161 if ${ac_cv_prog_ac_ct_STRIP+:} false; then :
6162   $as_echo_n "(cached) " >&6
6163 else
6164   if test -n "$ac_ct_STRIP"; then
6165   ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
6166 else
6167 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6168 for as_dir in $PATH
6169 do
6170   IFS=$as_save_IFS
6171   test -z "$as_dir" && as_dir=.
6172     for ac_exec_ext in '' $ac_executable_extensions; do
6173   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6174     ac_cv_prog_ac_ct_STRIP="strip"
6175     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6176     break 2
6177   fi
6178 done
6179   done
6180 IFS=$as_save_IFS
6181
6182 fi
6183 fi
6184 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
6185 if test -n "$ac_ct_STRIP"; then
6186   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
6187 $as_echo "$ac_ct_STRIP" >&6; }
6188 else
6189   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6190 $as_echo "no" >&6; }
6191 fi
6192
6193   if test "x$ac_ct_STRIP" = x; then
6194     STRIP=":"
6195   else
6196     case $cross_compiling:$ac_tool_warned in
6197 yes:)
6198 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6199 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6200 ac_tool_warned=yes ;;
6201 esac
6202     STRIP=$ac_ct_STRIP
6203   fi
6204 else
6205   STRIP="$ac_cv_prog_STRIP"
6206 fi
6207
6208 test -z "$STRIP" && STRIP=:
6209
6210
6211
6212
6213
6214
6215 if test -n "$ac_tool_prefix"; then
6216   # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
6217 set dummy ${ac_tool_prefix}ranlib; ac_word=$2
6218 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6219 $as_echo_n "checking for $ac_word... " >&6; }
6220 if ${ac_cv_prog_RANLIB+:} false; then :
6221   $as_echo_n "(cached) " >&6
6222 else
6223   if test -n "$RANLIB"; then
6224   ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
6225 else
6226 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6227 for as_dir in $PATH
6228 do
6229   IFS=$as_save_IFS
6230   test -z "$as_dir" && as_dir=.
6231     for ac_exec_ext in '' $ac_executable_extensions; do
6232   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6233     ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
6234     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6235     break 2
6236   fi
6237 done
6238   done
6239 IFS=$as_save_IFS
6240
6241 fi
6242 fi
6243 RANLIB=$ac_cv_prog_RANLIB
6244 if test -n "$RANLIB"; then
6245   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $RANLIB" >&5
6246 $as_echo "$RANLIB" >&6; }
6247 else
6248   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6249 $as_echo "no" >&6; }
6250 fi
6251
6252
6253 fi
6254 if test -z "$ac_cv_prog_RANLIB"; then
6255   ac_ct_RANLIB=$RANLIB
6256   # Extract the first word of "ranlib", so it can be a program name with args.
6257 set dummy ranlib; ac_word=$2
6258 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6259 $as_echo_n "checking for $ac_word... " >&6; }
6260 if ${ac_cv_prog_ac_ct_RANLIB+:} false; then :
6261   $as_echo_n "(cached) " >&6
6262 else
6263   if test -n "$ac_ct_RANLIB"; then
6264   ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
6265 else
6266 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6267 for as_dir in $PATH
6268 do
6269   IFS=$as_save_IFS
6270   test -z "$as_dir" && as_dir=.
6271     for ac_exec_ext in '' $ac_executable_extensions; do
6272   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6273     ac_cv_prog_ac_ct_RANLIB="ranlib"
6274     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6275     break 2
6276   fi
6277 done
6278   done
6279 IFS=$as_save_IFS
6280
6281 fi
6282 fi
6283 ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
6284 if test -n "$ac_ct_RANLIB"; then
6285   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_RANLIB" >&5
6286 $as_echo "$ac_ct_RANLIB" >&6; }
6287 else
6288   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6289 $as_echo "no" >&6; }
6290 fi
6291
6292   if test "x$ac_ct_RANLIB" = x; then
6293     RANLIB=":"
6294   else
6295     case $cross_compiling:$ac_tool_warned in
6296 yes:)
6297 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6298 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6299 ac_tool_warned=yes ;;
6300 esac
6301     RANLIB=$ac_ct_RANLIB
6302   fi
6303 else
6304   RANLIB="$ac_cv_prog_RANLIB"
6305 fi
6306
6307 test -z "$RANLIB" && RANLIB=:
6308
6309
6310
6311
6312
6313
6314 # Determine commands to create old-style static archives.
6315 old_archive_cmds='$AR $AR_FLAGS $oldlib$oldobjs'
6316 old_postinstall_cmds='chmod 644 $oldlib'
6317 old_postuninstall_cmds=
6318
6319 if test -n "$RANLIB"; then
6320   case $host_os in
6321   openbsd*)
6322     old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB -t \$tool_oldlib"
6323     ;;
6324   *)
6325     old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB \$tool_oldlib"
6326     ;;
6327   esac
6328   old_archive_cmds="$old_archive_cmds~\$RANLIB \$tool_oldlib"
6329 fi
6330
6331 case $host_os in
6332   darwin*)
6333     lock_old_archive_extraction=yes ;;
6334   *)
6335     lock_old_archive_extraction=no ;;
6336 esac
6337
6338
6339
6340
6341
6342
6343
6344
6345
6346
6347
6348
6349
6350
6351
6352
6353
6354
6355
6356
6357
6358
6359
6360
6361
6362
6363
6364
6365
6366
6367
6368
6369
6370
6371
6372
6373
6374
6375
6376 # If no C compiler was specified, use CC.
6377 LTCC=${LTCC-"$CC"}
6378
6379 # If no C compiler flags were specified, use CFLAGS.
6380 LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
6381
6382 # Allow CC to be a program name with arguments.
6383 compiler=$CC
6384
6385
6386 # Check for command to grab the raw symbol name followed by C symbol from nm.
6387 { $as_echo "$as_me:${as_lineno-$LINENO}: checking command to parse $NM output from $compiler object" >&5
6388 $as_echo_n "checking command to parse $NM output from $compiler object... " >&6; }
6389 if ${lt_cv_sys_global_symbol_pipe+:} false; then :
6390   $as_echo_n "(cached) " >&6
6391 else
6392
6393 # These are sane defaults that work on at least a few old systems.
6394 # [They come from Ultrix.  What could be older than Ultrix?!! ;)]
6395
6396 # Character class describing NM global symbol codes.
6397 symcode='[BCDEGRST]'
6398
6399 # Regexp to match symbols that can be accessed directly from C.
6400 sympat='\([_A-Za-z][_A-Za-z0-9]*\)'
6401
6402 # Define system-specific variables.
6403 case $host_os in
6404 aix*)
6405   symcode='[BCDT]'
6406   ;;
6407 cygwin* | mingw* | pw32* | cegcc*)
6408   symcode='[ABCDGISTW]'
6409   ;;
6410 hpux*)
6411   if test "$host_cpu" = ia64; then
6412     symcode='[ABCDEGRST]'
6413   fi
6414   ;;
6415 irix* | nonstopux*)
6416   symcode='[BCDEGRST]'
6417   ;;
6418 osf*)
6419   symcode='[BCDEGQRST]'
6420   ;;
6421 solaris*)
6422   symcode='[BDRT]'
6423   ;;
6424 sco3.2v5*)
6425   symcode='[DT]'
6426   ;;
6427 sysv4.2uw2*)
6428   symcode='[DT]'
6429   ;;
6430 sysv5* | sco5v6* | unixware* | OpenUNIX*)
6431   symcode='[ABDT]'
6432   ;;
6433 sysv4)
6434   symcode='[DFNSTU]'
6435   ;;
6436 esac
6437
6438 # If we're using GNU nm, then use its standard symbol codes.
6439 case `$NM -V 2>&1` in
6440 *GNU* | *'with BFD'*)
6441   symcode='[ABCDGIRSTW]' ;;
6442 esac
6443
6444 # Transform an extracted symbol line into a proper C declaration.
6445 # Some systems (esp. on ia64) link data and code symbols differently,
6446 # so use this general approach.
6447 lt_cv_sys_global_symbol_to_cdecl="sed -n -e 's/^T .* \(.*\)$/extern int \1();/p' -e 's/^$symcode* .* \(.*\)$/extern char \1;/p'"
6448
6449 # Transform an extracted symbol line into symbol name and symbol address
6450 lt_cv_sys_global_symbol_to_c_name_address="sed -n -e 's/^: \([^ ]*\)[ ]*$/  {\\\"\1\\\", (void *) 0},/p' -e 's/^$symcode* \([^ ]*\) \([^ ]*\)$/  {\"\2\", (void *) \&\2},/p'"
6451 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'"
6452
6453 # Handle CRLF in mingw tool chain
6454 opt_cr=
6455 case $build_os in
6456 mingw*)
6457   opt_cr=`$ECHO 'x\{0,1\}' | tr x '\015'` # option cr in regexp
6458   ;;
6459 esac
6460
6461 # Try without a prefix underscore, then with it.
6462 for ac_symprfx in "" "_"; do
6463
6464   # Transform symcode, sympat, and symprfx into a raw symbol and a C symbol.
6465   symxfrm="\\1 $ac_symprfx\\2 \\2"
6466
6467   # Write the raw and C identifiers.
6468   if test "$lt_cv_nm_interface" = "MS dumpbin"; then
6469     # Fake it for dumpbin and say T for any non-static function
6470     # and D for any global variable.
6471     # Also find C++ and __fastcall symbols from MSVC++,
6472     # which start with @ or ?.
6473     lt_cv_sys_global_symbol_pipe="$AWK '"\
6474 "     {last_section=section; section=\$ 3};"\
6475 "     /^COFF SYMBOL TABLE/{for(i in hide) delete hide[i]};"\
6476 "     /Section length .*#relocs.*(pick any)/{hide[last_section]=1};"\
6477 "     \$ 0!~/External *\|/{next};"\
6478 "     / 0+ UNDEF /{next}; / UNDEF \([^|]\)*()/{next};"\
6479 "     {if(hide[section]) next};"\
6480 "     {f=0}; \$ 0~/\(\).*\|/{f=1}; {printf f ? \"T \" : \"D \"};"\
6481 "     {split(\$ 0, a, /\||\r/); split(a[2], s)};"\
6482 "     s[1]~/^[@?]/{print s[1], s[1]; next};"\
6483 "     s[1]~prfx {split(s[1],t,\"@\"); print t[1], substr(t[1],length(prfx))}"\
6484 "     ' prfx=^$ac_symprfx"
6485   else
6486     lt_cv_sys_global_symbol_pipe="sed -n -e 's/^.*[      ]\($symcode$symcode*\)[         ][      ]*$ac_symprfx$sympat$opt_cr$/$symxfrm/p'"
6487   fi
6488   lt_cv_sys_global_symbol_pipe="$lt_cv_sys_global_symbol_pipe | sed '/ __gnu_lto/d'"
6489
6490   # Check to see that the pipe works correctly.
6491   pipe_works=no
6492
6493   rm -f conftest*
6494   cat > conftest.$ac_ext <<_LT_EOF
6495 #ifdef __cplusplus
6496 extern "C" {
6497 #endif
6498 char nm_test_var;
6499 void nm_test_func(void);
6500 void nm_test_func(void){}
6501 #ifdef __cplusplus
6502 }
6503 #endif
6504 int main(){nm_test_var='a';nm_test_func();return(0);}
6505 _LT_EOF
6506
6507   if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
6508   (eval $ac_compile) 2>&5
6509   ac_status=$?
6510   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6511   test $ac_status = 0; }; then
6512     # Now try to grab the symbols.
6513     nlist=conftest.nm
6514     if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$NM conftest.$ac_objext \| "$lt_cv_sys_global_symbol_pipe" \> $nlist\""; } >&5
6515   (eval $NM conftest.$ac_objext \| "$lt_cv_sys_global_symbol_pipe" \> $nlist) 2>&5
6516   ac_status=$?
6517   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6518   test $ac_status = 0; } && test -s "$nlist"; then
6519       # Try sorting and uniquifying the output.
6520       if sort "$nlist" | uniq > "$nlist"T; then
6521         mv -f "$nlist"T "$nlist"
6522       else
6523         rm -f "$nlist"T
6524       fi
6525
6526       # Make sure that we snagged all the symbols we need.
6527       if $GREP ' nm_test_var$' "$nlist" >/dev/null; then
6528         if $GREP ' nm_test_func$' "$nlist" >/dev/null; then
6529           cat <<_LT_EOF > conftest.$ac_ext
6530 /* Keep this code in sync between libtool.m4, ltmain, lt_system.h, and tests.  */
6531 #if defined(_WIN32) || defined(__CYGWIN__) || defined(_WIN32_WCE)
6532 /* DATA imports from DLLs on WIN32 con't be const, because runtime
6533    relocations are performed -- see ld's documentation on pseudo-relocs.  */
6534 # define LT_DLSYM_CONST
6535 #elif defined(__osf__)
6536 /* This system does not cope well with relocations in const data.  */
6537 # define LT_DLSYM_CONST
6538 #else
6539 # define LT_DLSYM_CONST const
6540 #endif
6541
6542 #ifdef __cplusplus
6543 extern "C" {
6544 #endif
6545
6546 _LT_EOF
6547           # Now generate the symbol file.
6548           eval "$lt_cv_sys_global_symbol_to_cdecl"' < "$nlist" | $GREP -v main >> conftest.$ac_ext'
6549
6550           cat <<_LT_EOF >> conftest.$ac_ext
6551
6552 /* The mapping between symbol names and symbols.  */
6553 LT_DLSYM_CONST struct {
6554   const char *name;
6555   void       *address;
6556 }
6557 lt__PROGRAM__LTX_preloaded_symbols[] =
6558 {
6559   { "@PROGRAM@", (void *) 0 },
6560 _LT_EOF
6561           $SED "s/^$symcode$symcode* \(.*\) \(.*\)$/  {\"\2\", (void *) \&\2},/" < "$nlist" | $GREP -v main >> conftest.$ac_ext
6562           cat <<\_LT_EOF >> conftest.$ac_ext
6563   {0, (void *) 0}
6564 };
6565
6566 /* This works around a problem in FreeBSD linker */
6567 #ifdef FREEBSD_WORKAROUND
6568 static const void *lt_preloaded_setup() {
6569   return lt__PROGRAM__LTX_preloaded_symbols;
6570 }
6571 #endif
6572
6573 #ifdef __cplusplus
6574 }
6575 #endif
6576 _LT_EOF
6577           # Now try linking the two files.
6578           mv conftest.$ac_objext conftstm.$ac_objext
6579           lt_globsym_save_LIBS=$LIBS
6580           lt_globsym_save_CFLAGS=$CFLAGS
6581           LIBS="conftstm.$ac_objext"
6582           CFLAGS="$CFLAGS$lt_prog_compiler_no_builtin_flag"
6583           if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
6584   (eval $ac_link) 2>&5
6585   ac_status=$?
6586   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6587   test $ac_status = 0; } && test -s conftest${ac_exeext}; then
6588             pipe_works=yes
6589           fi
6590           LIBS=$lt_globsym_save_LIBS
6591           CFLAGS=$lt_globsym_save_CFLAGS
6592         else
6593           echo "cannot find nm_test_func in $nlist" >&5
6594         fi
6595       else
6596         echo "cannot find nm_test_var in $nlist" >&5
6597       fi
6598     else
6599       echo "cannot run $lt_cv_sys_global_symbol_pipe" >&5
6600     fi
6601   else
6602     echo "$progname: failed program was:" >&5
6603     cat conftest.$ac_ext >&5
6604   fi
6605   rm -rf conftest* conftst*
6606
6607   # Do not use the global_symbol_pipe unless it works.
6608   if test "$pipe_works" = yes; then
6609     break
6610   else
6611     lt_cv_sys_global_symbol_pipe=
6612   fi
6613 done
6614
6615 fi
6616
6617 if test -z "$lt_cv_sys_global_symbol_pipe"; then
6618   lt_cv_sys_global_symbol_to_cdecl=
6619 fi
6620 if test -z "$lt_cv_sys_global_symbol_pipe$lt_cv_sys_global_symbol_to_cdecl"; then
6621   { $as_echo "$as_me:${as_lineno-$LINENO}: result: failed" >&5
6622 $as_echo "failed" >&6; }
6623 else
6624   { $as_echo "$as_me:${as_lineno-$LINENO}: result: ok" >&5
6625 $as_echo "ok" >&6; }
6626 fi
6627
6628 # Response file support.
6629 if test "$lt_cv_nm_interface" = "MS dumpbin"; then
6630   nm_file_list_spec='@'
6631 elif $NM --help 2>/dev/null | grep '[@]FILE' >/dev/null; then
6632   nm_file_list_spec='@'
6633 fi
6634
6635
6636
6637
6638
6639
6640
6641
6642
6643
6644
6645
6646
6647
6648
6649
6650
6651
6652
6653
6654
6655
6656
6657
6658
6659
6660
6661 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sysroot" >&5
6662 $as_echo_n "checking for sysroot... " >&6; }
6663
6664 # Check whether --with-sysroot was given.
6665 if test "${with_sysroot+set}" = set; then :
6666   withval=$with_sysroot;
6667 else
6668   with_sysroot=no
6669 fi
6670
6671
6672 lt_sysroot=
6673 case ${with_sysroot} in #(
6674  yes)
6675    if test "$GCC" = yes; then
6676      lt_sysroot=`$CC --print-sysroot 2>/dev/null`
6677    fi
6678    ;; #(
6679  /*)
6680    lt_sysroot=`echo "$with_sysroot" | sed -e "$sed_quote_subst"`
6681    ;; #(
6682  no|'')
6683    ;; #(
6684  *)
6685    { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${with_sysroot}" >&5
6686 $as_echo "${with_sysroot}" >&6; }
6687    as_fn_error $? "The sysroot must be an absolute path." "$LINENO" 5
6688    ;;
6689 esac
6690
6691  { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${lt_sysroot:-no}" >&5
6692 $as_echo "${lt_sysroot:-no}" >&6; }
6693
6694
6695
6696
6697
6698 # Check whether --enable-libtool-lock was given.
6699 if test "${enable_libtool_lock+set}" = set; then :
6700   enableval=$enable_libtool_lock;
6701 fi
6702
6703 test "x$enable_libtool_lock" != xno && enable_libtool_lock=yes
6704
6705 # Some flags need to be propagated to the compiler or linker for good
6706 # libtool support.
6707 case $host in
6708 ia64-*-hpux*)
6709   # Find out which ABI we are using.
6710   echo 'int i;' > conftest.$ac_ext
6711   if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
6712   (eval $ac_compile) 2>&5
6713   ac_status=$?
6714   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6715   test $ac_status = 0; }; then
6716     case `/usr/bin/file conftest.$ac_objext` in
6717       *ELF-32*)
6718         HPUX_IA64_MODE="32"
6719         ;;
6720       *ELF-64*)
6721         HPUX_IA64_MODE="64"
6722         ;;
6723     esac
6724   fi
6725   rm -rf conftest*
6726   ;;
6727 *-*-irix6*)
6728   # Find out which ABI we are using.
6729   echo '#line '$LINENO' "configure"' > conftest.$ac_ext
6730   if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
6731   (eval $ac_compile) 2>&5
6732   ac_status=$?
6733   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6734   test $ac_status = 0; }; then
6735     if test "$lt_cv_prog_gnu_ld" = yes; then
6736       case `/usr/bin/file conftest.$ac_objext` in
6737         *32-bit*)
6738           LD="${LD-ld} -melf32bsmip"
6739           ;;
6740         *N32*)
6741           LD="${LD-ld} -melf32bmipn32"
6742           ;;
6743         *64-bit*)
6744           LD="${LD-ld} -melf64bmip"
6745         ;;
6746       esac
6747     else
6748       case `/usr/bin/file conftest.$ac_objext` in
6749         *32-bit*)
6750           LD="${LD-ld} -32"
6751           ;;
6752         *N32*)
6753           LD="${LD-ld} -n32"
6754           ;;
6755         *64-bit*)
6756           LD="${LD-ld} -64"
6757           ;;
6758       esac
6759     fi
6760   fi
6761   rm -rf conftest*
6762   ;;
6763
6764 x86_64-*kfreebsd*-gnu|x86_64-*linux*|ppc*-*linux*|powerpc*-*linux*| \
6765 s390*-*linux*|s390*-*tpf*|sparc*-*linux*)
6766   # Find out which ABI we are using.
6767   echo 'int i;' > conftest.$ac_ext
6768   if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
6769   (eval $ac_compile) 2>&5
6770   ac_status=$?
6771   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6772   test $ac_status = 0; }; then
6773     case `/usr/bin/file conftest.o` in
6774       *32-bit*)
6775         case $host in
6776           x86_64-*kfreebsd*-gnu)
6777             LD="${LD-ld} -m elf_i386_fbsd"
6778             ;;
6779           x86_64-*linux*)
6780             LD="${LD-ld} -m elf_i386"
6781             ;;
6782           ppc64-*linux*|powerpc64-*linux*)
6783             LD="${LD-ld} -m elf32ppclinux"
6784             ;;
6785           s390x-*linux*)
6786             LD="${LD-ld} -m elf_s390"
6787             ;;
6788           sparc64-*linux*)
6789             LD="${LD-ld} -m elf32_sparc"
6790             ;;
6791         esac
6792         ;;
6793       *64-bit*)
6794         case $host in
6795           x86_64-*kfreebsd*-gnu)
6796             LD="${LD-ld} -m elf_x86_64_fbsd"
6797             ;;
6798           x86_64-*linux*)
6799             LD="${LD-ld} -m elf_x86_64"
6800             ;;
6801           ppc*-*linux*|powerpc*-*linux*)
6802             LD="${LD-ld} -m elf64ppc"
6803             ;;
6804           s390*-*linux*|s390*-*tpf*)
6805             LD="${LD-ld} -m elf64_s390"
6806             ;;
6807           sparc*-*linux*)
6808             LD="${LD-ld} -m elf64_sparc"
6809             ;;
6810         esac
6811         ;;
6812     esac
6813   fi
6814   rm -rf conftest*
6815   ;;
6816
6817 *-*-sco3.2v5*)
6818   # On SCO OpenServer 5, we need -belf to get full-featured binaries.
6819   SAVE_CFLAGS="$CFLAGS"
6820   CFLAGS="$CFLAGS -belf"
6821   { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler needs -belf" >&5
6822 $as_echo_n "checking whether the C compiler needs -belf... " >&6; }
6823 if ${lt_cv_cc_needs_belf+:} false; then :
6824   $as_echo_n "(cached) " >&6
6825 else
6826   ac_ext=c
6827 ac_cpp='$CPP $CPPFLAGS'
6828 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
6829 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
6830 ac_compiler_gnu=$ac_cv_c_compiler_gnu
6831
6832      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6833 /* end confdefs.h.  */
6834
6835 int
6836 main ()
6837 {
6838
6839   ;
6840   return 0;
6841 }
6842 _ACEOF
6843 if ac_fn_c_try_link "$LINENO"; then :
6844   lt_cv_cc_needs_belf=yes
6845 else
6846   lt_cv_cc_needs_belf=no
6847 fi
6848 rm -f core conftest.err conftest.$ac_objext \
6849     conftest$ac_exeext conftest.$ac_ext
6850      ac_ext=c
6851 ac_cpp='$CPP $CPPFLAGS'
6852 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
6853 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
6854 ac_compiler_gnu=$ac_cv_c_compiler_gnu
6855
6856 fi
6857 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_cc_needs_belf" >&5
6858 $as_echo "$lt_cv_cc_needs_belf" >&6; }
6859   if test x"$lt_cv_cc_needs_belf" != x"yes"; then
6860     # this is probably gcc 2.8.0, egcs 1.0 or newer; no need for -belf
6861     CFLAGS="$SAVE_CFLAGS"
6862   fi
6863   ;;
6864 *-*solaris*)
6865   # Find out which ABI we are using.
6866   echo 'int i;' > conftest.$ac_ext
6867   if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
6868   (eval $ac_compile) 2>&5
6869   ac_status=$?
6870   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6871   test $ac_status = 0; }; then
6872     case `/usr/bin/file conftest.o` in
6873     *64-bit*)
6874       case $lt_cv_prog_gnu_ld in
6875       yes*)
6876         case $host in
6877         i?86-*-solaris*)
6878           LD="${LD-ld} -m elf_x86_64"
6879           ;;
6880         sparc*-*-solaris*)
6881           LD="${LD-ld} -m elf64_sparc"
6882           ;;
6883         esac
6884         # GNU ld 2.21 introduced _sol2 emulations.  Use them if available.
6885         if ${LD-ld} -V | grep _sol2 >/dev/null 2>&1; then
6886           LD="${LD-ld}_sol2"
6887         fi
6888         ;;
6889       *)
6890         if ${LD-ld} -64 -r -o conftest2.o conftest.o >/dev/null 2>&1; then
6891           LD="${LD-ld} -64"
6892         fi
6893         ;;
6894       esac
6895       ;;
6896     esac
6897   fi
6898   rm -rf conftest*
6899   ;;
6900 esac
6901
6902 need_locks="$enable_libtool_lock"
6903
6904 if test -n "$ac_tool_prefix"; then
6905   # Extract the first word of "${ac_tool_prefix}mt", so it can be a program name with args.
6906 set dummy ${ac_tool_prefix}mt; ac_word=$2
6907 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6908 $as_echo_n "checking for $ac_word... " >&6; }
6909 if ${ac_cv_prog_MANIFEST_TOOL+:} false; then :
6910   $as_echo_n "(cached) " >&6
6911 else
6912   if test -n "$MANIFEST_TOOL"; then
6913   ac_cv_prog_MANIFEST_TOOL="$MANIFEST_TOOL" # Let the user override the test.
6914 else
6915 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6916 for as_dir in $PATH
6917 do
6918   IFS=$as_save_IFS
6919   test -z "$as_dir" && as_dir=.
6920     for ac_exec_ext in '' $ac_executable_extensions; do
6921   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6922     ac_cv_prog_MANIFEST_TOOL="${ac_tool_prefix}mt"
6923     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6924     break 2
6925   fi
6926 done
6927   done
6928 IFS=$as_save_IFS
6929
6930 fi
6931 fi
6932 MANIFEST_TOOL=$ac_cv_prog_MANIFEST_TOOL
6933 if test -n "$MANIFEST_TOOL"; then
6934   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MANIFEST_TOOL" >&5
6935 $as_echo "$MANIFEST_TOOL" >&6; }
6936 else
6937   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6938 $as_echo "no" >&6; }
6939 fi
6940
6941
6942 fi
6943 if test -z "$ac_cv_prog_MANIFEST_TOOL"; then
6944   ac_ct_MANIFEST_TOOL=$MANIFEST_TOOL
6945   # Extract the first word of "mt", so it can be a program name with args.
6946 set dummy mt; ac_word=$2
6947 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6948 $as_echo_n "checking for $ac_word... " >&6; }
6949 if ${ac_cv_prog_ac_ct_MANIFEST_TOOL+:} false; then :
6950   $as_echo_n "(cached) " >&6
6951 else
6952   if test -n "$ac_ct_MANIFEST_TOOL"; then
6953   ac_cv_prog_ac_ct_MANIFEST_TOOL="$ac_ct_MANIFEST_TOOL" # Let the user override the test.
6954 else
6955 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6956 for as_dir in $PATH
6957 do
6958   IFS=$as_save_IFS
6959   test -z "$as_dir" && as_dir=.
6960     for ac_exec_ext in '' $ac_executable_extensions; do
6961   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6962     ac_cv_prog_ac_ct_MANIFEST_TOOL="mt"
6963     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6964     break 2
6965   fi
6966 done
6967   done
6968 IFS=$as_save_IFS
6969
6970 fi
6971 fi
6972 ac_ct_MANIFEST_TOOL=$ac_cv_prog_ac_ct_MANIFEST_TOOL
6973 if test -n "$ac_ct_MANIFEST_TOOL"; then
6974   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_MANIFEST_TOOL" >&5
6975 $as_echo "$ac_ct_MANIFEST_TOOL" >&6; }
6976 else
6977   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6978 $as_echo "no" >&6; }
6979 fi
6980
6981   if test "x$ac_ct_MANIFEST_TOOL" = x; then
6982     MANIFEST_TOOL=":"
6983   else
6984     case $cross_compiling:$ac_tool_warned in
6985 yes:)
6986 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6987 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6988 ac_tool_warned=yes ;;
6989 esac
6990     MANIFEST_TOOL=$ac_ct_MANIFEST_TOOL
6991   fi
6992 else
6993   MANIFEST_TOOL="$ac_cv_prog_MANIFEST_TOOL"
6994 fi
6995
6996 test -z "$MANIFEST_TOOL" && MANIFEST_TOOL=mt
6997 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $MANIFEST_TOOL is a manifest tool" >&5
6998 $as_echo_n "checking if $MANIFEST_TOOL is a manifest tool... " >&6; }
6999 if ${lt_cv_path_mainfest_tool+:} false; then :
7000   $as_echo_n "(cached) " >&6
7001 else
7002   lt_cv_path_mainfest_tool=no
7003   echo "$as_me:$LINENO: $MANIFEST_TOOL '-?'" >&5
7004   $MANIFEST_TOOL '-?' 2>conftest.err > conftest.out
7005   cat conftest.err >&5
7006   if $GREP 'Manifest Tool' conftest.out > /dev/null; then
7007     lt_cv_path_mainfest_tool=yes
7008   fi
7009   rm -f conftest*
7010 fi
7011 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_path_mainfest_tool" >&5
7012 $as_echo "$lt_cv_path_mainfest_tool" >&6; }
7013 if test "x$lt_cv_path_mainfest_tool" != xyes; then
7014   MANIFEST_TOOL=:
7015 fi
7016
7017
7018
7019
7020
7021
7022   case $host_os in
7023     rhapsody* | darwin*)
7024     if test -n "$ac_tool_prefix"; then
7025   # Extract the first word of "${ac_tool_prefix}dsymutil", so it can be a program name with args.
7026 set dummy ${ac_tool_prefix}dsymutil; ac_word=$2
7027 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7028 $as_echo_n "checking for $ac_word... " >&6; }
7029 if ${ac_cv_prog_DSYMUTIL+:} false; then :
7030   $as_echo_n "(cached) " >&6
7031 else
7032   if test -n "$DSYMUTIL"; then
7033   ac_cv_prog_DSYMUTIL="$DSYMUTIL" # Let the user override the test.
7034 else
7035 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7036 for as_dir in $PATH
7037 do
7038   IFS=$as_save_IFS
7039   test -z "$as_dir" && as_dir=.
7040     for ac_exec_ext in '' $ac_executable_extensions; do
7041   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7042     ac_cv_prog_DSYMUTIL="${ac_tool_prefix}dsymutil"
7043     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7044     break 2
7045   fi
7046 done
7047   done
7048 IFS=$as_save_IFS
7049
7050 fi
7051 fi
7052 DSYMUTIL=$ac_cv_prog_DSYMUTIL
7053 if test -n "$DSYMUTIL"; then
7054   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DSYMUTIL" >&5
7055 $as_echo "$DSYMUTIL" >&6; }
7056 else
7057   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7058 $as_echo "no" >&6; }
7059 fi
7060
7061
7062 fi
7063 if test -z "$ac_cv_prog_DSYMUTIL"; then
7064   ac_ct_DSYMUTIL=$DSYMUTIL
7065   # Extract the first word of "dsymutil", so it can be a program name with args.
7066 set dummy dsymutil; ac_word=$2
7067 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7068 $as_echo_n "checking for $ac_word... " >&6; }
7069 if ${ac_cv_prog_ac_ct_DSYMUTIL+:} false; then :
7070   $as_echo_n "(cached) " >&6
7071 else
7072   if test -n "$ac_ct_DSYMUTIL"; then
7073   ac_cv_prog_ac_ct_DSYMUTIL="$ac_ct_DSYMUTIL" # Let the user override the test.
7074 else
7075 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7076 for as_dir in $PATH
7077 do
7078   IFS=$as_save_IFS
7079   test -z "$as_dir" && as_dir=.
7080     for ac_exec_ext in '' $ac_executable_extensions; do
7081   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7082     ac_cv_prog_ac_ct_DSYMUTIL="dsymutil"
7083     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7084     break 2
7085   fi
7086 done
7087   done
7088 IFS=$as_save_IFS
7089
7090 fi
7091 fi
7092 ac_ct_DSYMUTIL=$ac_cv_prog_ac_ct_DSYMUTIL
7093 if test -n "$ac_ct_DSYMUTIL"; then
7094   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DSYMUTIL" >&5
7095 $as_echo "$ac_ct_DSYMUTIL" >&6; }
7096 else
7097   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7098 $as_echo "no" >&6; }
7099 fi
7100
7101   if test "x$ac_ct_DSYMUTIL" = x; then
7102     DSYMUTIL=":"
7103   else
7104     case $cross_compiling:$ac_tool_warned in
7105 yes:)
7106 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7107 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7108 ac_tool_warned=yes ;;
7109 esac
7110     DSYMUTIL=$ac_ct_DSYMUTIL
7111   fi
7112 else
7113   DSYMUTIL="$ac_cv_prog_DSYMUTIL"
7114 fi
7115
7116     if test -n "$ac_tool_prefix"; then
7117   # Extract the first word of "${ac_tool_prefix}nmedit", so it can be a program name with args.
7118 set dummy ${ac_tool_prefix}nmedit; ac_word=$2
7119 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7120 $as_echo_n "checking for $ac_word... " >&6; }
7121 if ${ac_cv_prog_NMEDIT+:} false; then :
7122   $as_echo_n "(cached) " >&6
7123 else
7124   if test -n "$NMEDIT"; then
7125   ac_cv_prog_NMEDIT="$NMEDIT" # Let the user override the test.
7126 else
7127 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7128 for as_dir in $PATH
7129 do
7130   IFS=$as_save_IFS
7131   test -z "$as_dir" && as_dir=.
7132     for ac_exec_ext in '' $ac_executable_extensions; do
7133   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7134     ac_cv_prog_NMEDIT="${ac_tool_prefix}nmedit"
7135     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7136     break 2
7137   fi
7138 done
7139   done
7140 IFS=$as_save_IFS
7141
7142 fi
7143 fi
7144 NMEDIT=$ac_cv_prog_NMEDIT
7145 if test -n "$NMEDIT"; then
7146   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $NMEDIT" >&5
7147 $as_echo "$NMEDIT" >&6; }
7148 else
7149   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7150 $as_echo "no" >&6; }
7151 fi
7152
7153
7154 fi
7155 if test -z "$ac_cv_prog_NMEDIT"; then
7156   ac_ct_NMEDIT=$NMEDIT
7157   # Extract the first word of "nmedit", so it can be a program name with args.
7158 set dummy nmedit; ac_word=$2
7159 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7160 $as_echo_n "checking for $ac_word... " >&6; }
7161 if ${ac_cv_prog_ac_ct_NMEDIT+:} false; then :
7162   $as_echo_n "(cached) " >&6
7163 else
7164   if test -n "$ac_ct_NMEDIT"; then
7165   ac_cv_prog_ac_ct_NMEDIT="$ac_ct_NMEDIT" # Let the user override the test.
7166 else
7167 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7168 for as_dir in $PATH
7169 do
7170   IFS=$as_save_IFS
7171   test -z "$as_dir" && as_dir=.
7172     for ac_exec_ext in '' $ac_executable_extensions; do
7173   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7174     ac_cv_prog_ac_ct_NMEDIT="nmedit"
7175     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7176     break 2
7177   fi
7178 done
7179   done
7180 IFS=$as_save_IFS
7181
7182 fi
7183 fi
7184 ac_ct_NMEDIT=$ac_cv_prog_ac_ct_NMEDIT
7185 if test -n "$ac_ct_NMEDIT"; then
7186   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_NMEDIT" >&5
7187 $as_echo "$ac_ct_NMEDIT" >&6; }
7188 else
7189   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7190 $as_echo "no" >&6; }
7191 fi
7192
7193   if test "x$ac_ct_NMEDIT" = x; then
7194     NMEDIT=":"
7195   else
7196     case $cross_compiling:$ac_tool_warned in
7197 yes:)
7198 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7199 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7200 ac_tool_warned=yes ;;
7201 esac
7202     NMEDIT=$ac_ct_NMEDIT
7203   fi
7204 else
7205   NMEDIT="$ac_cv_prog_NMEDIT"
7206 fi
7207
7208     if test -n "$ac_tool_prefix"; then
7209   # Extract the first word of "${ac_tool_prefix}lipo", so it can be a program name with args.
7210 set dummy ${ac_tool_prefix}lipo; ac_word=$2
7211 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7212 $as_echo_n "checking for $ac_word... " >&6; }
7213 if ${ac_cv_prog_LIPO+:} false; then :
7214   $as_echo_n "(cached) " >&6
7215 else
7216   if test -n "$LIPO"; then
7217   ac_cv_prog_LIPO="$LIPO" # Let the user override the test.
7218 else
7219 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7220 for as_dir in $PATH
7221 do
7222   IFS=$as_save_IFS
7223   test -z "$as_dir" && as_dir=.
7224     for ac_exec_ext in '' $ac_executable_extensions; do
7225   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7226     ac_cv_prog_LIPO="${ac_tool_prefix}lipo"
7227     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7228     break 2
7229   fi
7230 done
7231   done
7232 IFS=$as_save_IFS
7233
7234 fi
7235 fi
7236 LIPO=$ac_cv_prog_LIPO
7237 if test -n "$LIPO"; then
7238   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LIPO" >&5
7239 $as_echo "$LIPO" >&6; }
7240 else
7241   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7242 $as_echo "no" >&6; }
7243 fi
7244
7245
7246 fi
7247 if test -z "$ac_cv_prog_LIPO"; then
7248   ac_ct_LIPO=$LIPO
7249   # Extract the first word of "lipo", so it can be a program name with args.
7250 set dummy lipo; ac_word=$2
7251 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7252 $as_echo_n "checking for $ac_word... " >&6; }
7253 if ${ac_cv_prog_ac_ct_LIPO+:} false; then :
7254   $as_echo_n "(cached) " >&6
7255 else
7256   if test -n "$ac_ct_LIPO"; then
7257   ac_cv_prog_ac_ct_LIPO="$ac_ct_LIPO" # Let the user override the test.
7258 else
7259 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7260 for as_dir in $PATH
7261 do
7262   IFS=$as_save_IFS
7263   test -z "$as_dir" && as_dir=.
7264     for ac_exec_ext in '' $ac_executable_extensions; do
7265   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7266     ac_cv_prog_ac_ct_LIPO="lipo"
7267     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7268     break 2
7269   fi
7270 done
7271   done
7272 IFS=$as_save_IFS
7273
7274 fi
7275 fi
7276 ac_ct_LIPO=$ac_cv_prog_ac_ct_LIPO
7277 if test -n "$ac_ct_LIPO"; then
7278   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_LIPO" >&5
7279 $as_echo "$ac_ct_LIPO" >&6; }
7280 else
7281   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7282 $as_echo "no" >&6; }
7283 fi
7284
7285   if test "x$ac_ct_LIPO" = x; then
7286     LIPO=":"
7287   else
7288     case $cross_compiling:$ac_tool_warned in
7289 yes:)
7290 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7291 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7292 ac_tool_warned=yes ;;
7293 esac
7294     LIPO=$ac_ct_LIPO
7295   fi
7296 else
7297   LIPO="$ac_cv_prog_LIPO"
7298 fi
7299
7300     if test -n "$ac_tool_prefix"; then
7301   # Extract the first word of "${ac_tool_prefix}otool", so it can be a program name with args.
7302 set dummy ${ac_tool_prefix}otool; ac_word=$2
7303 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7304 $as_echo_n "checking for $ac_word... " >&6; }
7305 if ${ac_cv_prog_OTOOL+:} false; then :
7306   $as_echo_n "(cached) " >&6
7307 else
7308   if test -n "$OTOOL"; then
7309   ac_cv_prog_OTOOL="$OTOOL" # Let the user override the test.
7310 else
7311 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7312 for as_dir in $PATH
7313 do
7314   IFS=$as_save_IFS
7315   test -z "$as_dir" && as_dir=.
7316     for ac_exec_ext in '' $ac_executable_extensions; do
7317   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7318     ac_cv_prog_OTOOL="${ac_tool_prefix}otool"
7319     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7320     break 2
7321   fi
7322 done
7323   done
7324 IFS=$as_save_IFS
7325
7326 fi
7327 fi
7328 OTOOL=$ac_cv_prog_OTOOL
7329 if test -n "$OTOOL"; then
7330   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OTOOL" >&5
7331 $as_echo "$OTOOL" >&6; }
7332 else
7333   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7334 $as_echo "no" >&6; }
7335 fi
7336
7337
7338 fi
7339 if test -z "$ac_cv_prog_OTOOL"; then
7340   ac_ct_OTOOL=$OTOOL
7341   # Extract the first word of "otool", so it can be a program name with args.
7342 set dummy otool; ac_word=$2
7343 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7344 $as_echo_n "checking for $ac_word... " >&6; }
7345 if ${ac_cv_prog_ac_ct_OTOOL+:} false; then :
7346   $as_echo_n "(cached) " >&6
7347 else
7348   if test -n "$ac_ct_OTOOL"; then
7349   ac_cv_prog_ac_ct_OTOOL="$ac_ct_OTOOL" # Let the user override the test.
7350 else
7351 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7352 for as_dir in $PATH
7353 do
7354   IFS=$as_save_IFS
7355   test -z "$as_dir" && as_dir=.
7356     for ac_exec_ext in '' $ac_executable_extensions; do
7357   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7358     ac_cv_prog_ac_ct_OTOOL="otool"
7359     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7360     break 2
7361   fi
7362 done
7363   done
7364 IFS=$as_save_IFS
7365
7366 fi
7367 fi
7368 ac_ct_OTOOL=$ac_cv_prog_ac_ct_OTOOL
7369 if test -n "$ac_ct_OTOOL"; then
7370   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OTOOL" >&5
7371 $as_echo "$ac_ct_OTOOL" >&6; }
7372 else
7373   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7374 $as_echo "no" >&6; }
7375 fi
7376
7377   if test "x$ac_ct_OTOOL" = x; then
7378     OTOOL=":"
7379   else
7380     case $cross_compiling:$ac_tool_warned in
7381 yes:)
7382 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7383 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7384 ac_tool_warned=yes ;;
7385 esac
7386     OTOOL=$ac_ct_OTOOL
7387   fi
7388 else
7389   OTOOL="$ac_cv_prog_OTOOL"
7390 fi
7391
7392     if test -n "$ac_tool_prefix"; then
7393   # Extract the first word of "${ac_tool_prefix}otool64", so it can be a program name with args.
7394 set dummy ${ac_tool_prefix}otool64; ac_word=$2
7395 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7396 $as_echo_n "checking for $ac_word... " >&6; }
7397 if ${ac_cv_prog_OTOOL64+:} false; then :
7398   $as_echo_n "(cached) " >&6
7399 else
7400   if test -n "$OTOOL64"; then
7401   ac_cv_prog_OTOOL64="$OTOOL64" # Let the user override the test.
7402 else
7403 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7404 for as_dir in $PATH
7405 do
7406   IFS=$as_save_IFS
7407   test -z "$as_dir" && as_dir=.
7408     for ac_exec_ext in '' $ac_executable_extensions; do
7409   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7410     ac_cv_prog_OTOOL64="${ac_tool_prefix}otool64"
7411     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7412     break 2
7413   fi
7414 done
7415   done
7416 IFS=$as_save_IFS
7417
7418 fi
7419 fi
7420 OTOOL64=$ac_cv_prog_OTOOL64
7421 if test -n "$OTOOL64"; then
7422   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OTOOL64" >&5
7423 $as_echo "$OTOOL64" >&6; }
7424 else
7425   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7426 $as_echo "no" >&6; }
7427 fi
7428
7429
7430 fi
7431 if test -z "$ac_cv_prog_OTOOL64"; then
7432   ac_ct_OTOOL64=$OTOOL64
7433   # Extract the first word of "otool64", so it can be a program name with args.
7434 set dummy otool64; ac_word=$2
7435 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7436 $as_echo_n "checking for $ac_word... " >&6; }
7437 if ${ac_cv_prog_ac_ct_OTOOL64+:} false; then :
7438   $as_echo_n "(cached) " >&6
7439 else
7440   if test -n "$ac_ct_OTOOL64"; then
7441   ac_cv_prog_ac_ct_OTOOL64="$ac_ct_OTOOL64" # Let the user override the test.
7442 else
7443 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7444 for as_dir in $PATH
7445 do
7446   IFS=$as_save_IFS
7447   test -z "$as_dir" && as_dir=.
7448     for ac_exec_ext in '' $ac_executable_extensions; do
7449   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7450     ac_cv_prog_ac_ct_OTOOL64="otool64"
7451     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7452     break 2
7453   fi
7454 done
7455   done
7456 IFS=$as_save_IFS
7457
7458 fi
7459 fi
7460 ac_ct_OTOOL64=$ac_cv_prog_ac_ct_OTOOL64
7461 if test -n "$ac_ct_OTOOL64"; then
7462   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OTOOL64" >&5
7463 $as_echo "$ac_ct_OTOOL64" >&6; }
7464 else
7465   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7466 $as_echo "no" >&6; }
7467 fi
7468
7469   if test "x$ac_ct_OTOOL64" = x; then
7470     OTOOL64=":"
7471   else
7472     case $cross_compiling:$ac_tool_warned in
7473 yes:)
7474 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7475 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7476 ac_tool_warned=yes ;;
7477 esac
7478     OTOOL64=$ac_ct_OTOOL64
7479   fi
7480 else
7481   OTOOL64="$ac_cv_prog_OTOOL64"
7482 fi
7483
7484
7485
7486
7487
7488
7489
7490
7491
7492
7493
7494
7495
7496
7497
7498
7499
7500
7501
7502
7503
7504
7505
7506
7507
7508
7509
7510     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -single_module linker flag" >&5
7511 $as_echo_n "checking for -single_module linker flag... " >&6; }
7512 if ${lt_cv_apple_cc_single_mod+:} false; then :
7513   $as_echo_n "(cached) " >&6
7514 else
7515   lt_cv_apple_cc_single_mod=no
7516       if test -z "${LT_MULTI_MODULE}"; then
7517         # By default we will add the -single_module flag. You can override
7518         # by either setting the environment variable LT_MULTI_MODULE
7519         # non-empty at configure time, or by adding -multi_module to the
7520         # link flags.
7521         rm -rf libconftest.dylib*
7522         echo "int foo(void){return 1;}" > conftest.c
7523         echo "$LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \
7524 -dynamiclib -Wl,-single_module conftest.c" >&5
7525         $LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \
7526           -dynamiclib -Wl,-single_module conftest.c 2>conftest.err
7527         _lt_result=$?
7528         # If there is a non-empty error log, and "single_module"
7529         # appears in it, assume the flag caused a linker warning
7530         if test -s conftest.err && $GREP single_module conftest.err; then
7531           cat conftest.err >&5
7532         # Otherwise, if the output was created with a 0 exit code from
7533         # the compiler, it worked.
7534         elif test -f libconftest.dylib && test $_lt_result -eq 0; then
7535           lt_cv_apple_cc_single_mod=yes
7536         else
7537           cat conftest.err >&5
7538         fi
7539         rm -rf libconftest.dylib*
7540         rm -f conftest.*
7541       fi
7542 fi
7543 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_apple_cc_single_mod" >&5
7544 $as_echo "$lt_cv_apple_cc_single_mod" >&6; }
7545
7546     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -exported_symbols_list linker flag" >&5
7547 $as_echo_n "checking for -exported_symbols_list linker flag... " >&6; }
7548 if ${lt_cv_ld_exported_symbols_list+:} false; then :
7549   $as_echo_n "(cached) " >&6
7550 else
7551   lt_cv_ld_exported_symbols_list=no
7552       save_LDFLAGS=$LDFLAGS
7553       echo "_main" > conftest.sym
7554       LDFLAGS="$LDFLAGS -Wl,-exported_symbols_list,conftest.sym"
7555       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7556 /* end confdefs.h.  */
7557
7558 int
7559 main ()
7560 {
7561
7562   ;
7563   return 0;
7564 }
7565 _ACEOF
7566 if ac_fn_c_try_link "$LINENO"; then :
7567   lt_cv_ld_exported_symbols_list=yes
7568 else
7569   lt_cv_ld_exported_symbols_list=no
7570 fi
7571 rm -f core conftest.err conftest.$ac_objext \
7572     conftest$ac_exeext conftest.$ac_ext
7573         LDFLAGS="$save_LDFLAGS"
7574
7575 fi
7576 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_exported_symbols_list" >&5
7577 $as_echo "$lt_cv_ld_exported_symbols_list" >&6; }
7578
7579     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -force_load linker flag" >&5
7580 $as_echo_n "checking for -force_load linker flag... " >&6; }
7581 if ${lt_cv_ld_force_load+:} false; then :
7582   $as_echo_n "(cached) " >&6
7583 else
7584   lt_cv_ld_force_load=no
7585       cat > conftest.c << _LT_EOF
7586 int forced_loaded() { return 2;}
7587 _LT_EOF
7588       echo "$LTCC $LTCFLAGS -c -o conftest.o conftest.c" >&5
7589       $LTCC $LTCFLAGS -c -o conftest.o conftest.c 2>&5
7590       echo "$AR cru libconftest.a conftest.o" >&5
7591       $AR cru libconftest.a conftest.o 2>&5
7592       echo "$RANLIB libconftest.a" >&5
7593       $RANLIB libconftest.a 2>&5
7594       cat > conftest.c << _LT_EOF
7595 int main() { return 0;}
7596 _LT_EOF
7597       echo "$LTCC $LTCFLAGS $LDFLAGS -o conftest conftest.c -Wl,-force_load,./libconftest.a" >&5
7598       $LTCC $LTCFLAGS $LDFLAGS -o conftest conftest.c -Wl,-force_load,./libconftest.a 2>conftest.err
7599       _lt_result=$?
7600       if test -s conftest.err && $GREP force_load conftest.err; then
7601         cat conftest.err >&5
7602       elif test -f conftest && test $_lt_result -eq 0 && $GREP forced_load conftest >/dev/null 2>&1 ; then
7603         lt_cv_ld_force_load=yes
7604       else
7605         cat conftest.err >&5
7606       fi
7607         rm -f conftest.err libconftest.a conftest conftest.c
7608         rm -rf conftest.dSYM
7609
7610 fi
7611 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_force_load" >&5
7612 $as_echo "$lt_cv_ld_force_load" >&6; }
7613     case $host_os in
7614     rhapsody* | darwin1.[012])
7615       _lt_dar_allow_undefined='${wl}-undefined ${wl}suppress' ;;
7616     darwin1.*)
7617       _lt_dar_allow_undefined='${wl}-flat_namespace ${wl}-undefined ${wl}suppress' ;;
7618     darwin*) # darwin 5.x on
7619       # if running on 10.5 or later, the deployment target defaults
7620       # to the OS version, if on x86, and 10.4, the deployment
7621       # target defaults to 10.4. Don't you love it?
7622       case ${MACOSX_DEPLOYMENT_TARGET-10.0},$host in
7623         10.0,*86*-darwin8*|10.0,*-darwin[91]*)
7624           _lt_dar_allow_undefined='${wl}-undefined ${wl}dynamic_lookup' ;;
7625         10.[012]*)
7626           _lt_dar_allow_undefined='${wl}-flat_namespace ${wl}-undefined ${wl}suppress' ;;
7627         10.*)
7628           _lt_dar_allow_undefined='${wl}-undefined ${wl}dynamic_lookup' ;;
7629       esac
7630     ;;
7631   esac
7632     if test "$lt_cv_apple_cc_single_mod" = "yes"; then
7633       _lt_dar_single_mod='$single_module'
7634     fi
7635     if test "$lt_cv_ld_exported_symbols_list" = "yes"; then
7636       _lt_dar_export_syms=' ${wl}-exported_symbols_list,$output_objdir/${libname}-symbols.expsym'
7637     else
7638       _lt_dar_export_syms='~$NMEDIT -s $output_objdir/${libname}-symbols.expsym ${lib}'
7639     fi
7640     if test "$DSYMUTIL" != ":" && test "$lt_cv_ld_force_load" = "no"; then
7641       _lt_dsymutil='~$DSYMUTIL $lib || :'
7642     else
7643       _lt_dsymutil=
7644     fi
7645     ;;
7646   esac
7647
7648 ac_ext=c
7649 ac_cpp='$CPP $CPPFLAGS'
7650 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
7651 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
7652 ac_compiler_gnu=$ac_cv_c_compiler_gnu
7653 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C preprocessor" >&5
7654 $as_echo_n "checking how to run the C preprocessor... " >&6; }
7655 # On Suns, sometimes $CPP names a directory.
7656 if test -n "$CPP" && test -d "$CPP"; then
7657   CPP=
7658 fi
7659 if test -z "$CPP"; then
7660   if ${ac_cv_prog_CPP+:} false; then :
7661   $as_echo_n "(cached) " >&6
7662 else
7663       # Double quotes because CPP needs to be expanded
7664     for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
7665     do
7666       ac_preproc_ok=false
7667 for ac_c_preproc_warn_flag in '' yes
7668 do
7669   # Use a header file that comes with gcc, so configuring glibc
7670   # with a fresh cross-compiler works.
7671   # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
7672   # <limits.h> exists even on freestanding compilers.
7673   # On the NeXT, cc -E runs the code through the compiler's parser,
7674   # not just through cpp. "Syntax error" is here to catch this case.
7675   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7676 /* end confdefs.h.  */
7677 #ifdef __STDC__
7678 # include <limits.h>
7679 #else
7680 # include <assert.h>
7681 #endif
7682                      Syntax error
7683 _ACEOF
7684 if ac_fn_c_try_cpp "$LINENO"; then :
7685
7686 else
7687   # Broken: fails on valid input.
7688 continue
7689 fi
7690 rm -f conftest.err conftest.i conftest.$ac_ext
7691
7692   # OK, works on sane cases.  Now check whether nonexistent headers
7693   # can be detected and how.
7694   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7695 /* end confdefs.h.  */
7696 #include <ac_nonexistent.h>
7697 _ACEOF
7698 if ac_fn_c_try_cpp "$LINENO"; then :
7699   # Broken: success on invalid input.
7700 continue
7701 else
7702   # Passes both tests.
7703 ac_preproc_ok=:
7704 break
7705 fi
7706 rm -f conftest.err conftest.i conftest.$ac_ext
7707
7708 done
7709 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
7710 rm -f conftest.i conftest.err conftest.$ac_ext
7711 if $ac_preproc_ok; then :
7712   break
7713 fi
7714
7715     done
7716     ac_cv_prog_CPP=$CPP
7717
7718 fi
7719   CPP=$ac_cv_prog_CPP
7720 else
7721   ac_cv_prog_CPP=$CPP
7722 fi
7723 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CPP" >&5
7724 $as_echo "$CPP" >&6; }
7725 ac_preproc_ok=false
7726 for ac_c_preproc_warn_flag in '' yes
7727 do
7728   # Use a header file that comes with gcc, so configuring glibc
7729   # with a fresh cross-compiler works.
7730   # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
7731   # <limits.h> exists even on freestanding compilers.
7732   # On the NeXT, cc -E runs the code through the compiler's parser,
7733   # not just through cpp. "Syntax error" is here to catch this case.
7734   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7735 /* end confdefs.h.  */
7736 #ifdef __STDC__
7737 # include <limits.h>
7738 #else
7739 # include <assert.h>
7740 #endif
7741                      Syntax error
7742 _ACEOF
7743 if ac_fn_c_try_cpp "$LINENO"; then :
7744
7745 else
7746   # Broken: fails on valid input.
7747 continue
7748 fi
7749 rm -f conftest.err conftest.i conftest.$ac_ext
7750
7751   # OK, works on sane cases.  Now check whether nonexistent headers
7752   # can be detected and how.
7753   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7754 /* end confdefs.h.  */
7755 #include <ac_nonexistent.h>
7756 _ACEOF
7757 if ac_fn_c_try_cpp "$LINENO"; then :
7758   # Broken: success on invalid input.
7759 continue
7760 else
7761   # Passes both tests.
7762 ac_preproc_ok=:
7763 break
7764 fi
7765 rm -f conftest.err conftest.i conftest.$ac_ext
7766
7767 done
7768 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
7769 rm -f conftest.i conftest.err conftest.$ac_ext
7770 if $ac_preproc_ok; then :
7771
7772 else
7773   { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
7774 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
7775 as_fn_error $? "C preprocessor \"$CPP\" fails sanity check
7776 See \`config.log' for more details" "$LINENO" 5; }
7777 fi
7778
7779 ac_ext=c
7780 ac_cpp='$CPP $CPPFLAGS'
7781 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
7782 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
7783 ac_compiler_gnu=$ac_cv_c_compiler_gnu
7784
7785
7786 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5
7787 $as_echo_n "checking for ANSI C header files... " >&6; }
7788 if ${ac_cv_header_stdc+:} false; then :
7789   $as_echo_n "(cached) " >&6
7790 else
7791   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7792 /* end confdefs.h.  */
7793 #include <stdlib.h>
7794 #include <stdarg.h>
7795 #include <string.h>
7796 #include <float.h>
7797
7798 int
7799 main ()
7800 {
7801
7802   ;
7803   return 0;
7804 }
7805 _ACEOF
7806 if ac_fn_c_try_compile "$LINENO"; then :
7807   ac_cv_header_stdc=yes
7808 else
7809   ac_cv_header_stdc=no
7810 fi
7811 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
7812
7813 if test $ac_cv_header_stdc = yes; then
7814   # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
7815   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7816 /* end confdefs.h.  */
7817 #include <string.h>
7818
7819 _ACEOF
7820 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
7821   $EGREP "memchr" >/dev/null 2>&1; then :
7822
7823 else
7824   ac_cv_header_stdc=no
7825 fi
7826 rm -f conftest*
7827
7828 fi
7829
7830 if test $ac_cv_header_stdc = yes; then
7831   # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
7832   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7833 /* end confdefs.h.  */
7834 #include <stdlib.h>
7835
7836 _ACEOF
7837 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
7838   $EGREP "free" >/dev/null 2>&1; then :
7839
7840 else
7841   ac_cv_header_stdc=no
7842 fi
7843 rm -f conftest*
7844
7845 fi
7846
7847 if test $ac_cv_header_stdc = yes; then
7848   # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
7849   if test "$cross_compiling" = yes; then :
7850   :
7851 else
7852   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7853 /* end confdefs.h.  */
7854 #include <ctype.h>
7855 #include <stdlib.h>
7856 #if ((' ' & 0x0FF) == 0x020)
7857 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
7858 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
7859 #else
7860 # define ISLOWER(c) \
7861                    (('a' <= (c) && (c) <= 'i') \
7862                      || ('j' <= (c) && (c) <= 'r') \
7863                      || ('s' <= (c) && (c) <= 'z'))
7864 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
7865 #endif
7866
7867 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
7868 int
7869 main ()
7870 {
7871   int i;
7872   for (i = 0; i < 256; i++)
7873     if (XOR (islower (i), ISLOWER (i))
7874         || toupper (i) != TOUPPER (i))
7875       return 2;
7876   return 0;
7877 }
7878 _ACEOF
7879 if ac_fn_c_try_run "$LINENO"; then :
7880
7881 else
7882   ac_cv_header_stdc=no
7883 fi
7884 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
7885   conftest.$ac_objext conftest.beam conftest.$ac_ext
7886 fi
7887
7888 fi
7889 fi
7890 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdc" >&5
7891 $as_echo "$ac_cv_header_stdc" >&6; }
7892 if test $ac_cv_header_stdc = yes; then
7893
7894 $as_echo "#define STDC_HEADERS 1" >>confdefs.h
7895
7896 fi
7897
7898 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
7899 for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
7900                   inttypes.h stdint.h unistd.h
7901 do :
7902   as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
7903 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default
7904 "
7905 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
7906   cat >>confdefs.h <<_ACEOF
7907 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
7908 _ACEOF
7909
7910 fi
7911
7912 done
7913
7914
7915 for ac_header in dlfcn.h
7916 do :
7917   ac_fn_c_check_header_compile "$LINENO" "dlfcn.h" "ac_cv_header_dlfcn_h" "$ac_includes_default
7918 "
7919 if test "x$ac_cv_header_dlfcn_h" = xyes; then :
7920   cat >>confdefs.h <<_ACEOF
7921 #define HAVE_DLFCN_H 1
7922 _ACEOF
7923
7924 fi
7925
7926 done
7927
7928
7929
7930
7931
7932 # Set options
7933
7934
7935
7936         enable_dlopen=no
7937
7938
7939   enable_win32_dll=no
7940
7941
7942             # Check whether --enable-shared was given.
7943 if test "${enable_shared+set}" = set; then :
7944   enableval=$enable_shared; p=${PACKAGE-default}
7945     case $enableval in
7946     yes) enable_shared=yes ;;
7947     no) enable_shared=no ;;
7948     *)
7949       enable_shared=no
7950       # Look at the argument we got.  We use all the common list separators.
7951       lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
7952       for pkg in $enableval; do
7953         IFS="$lt_save_ifs"
7954         if test "X$pkg" = "X$p"; then
7955           enable_shared=yes
7956         fi
7957       done
7958       IFS="$lt_save_ifs"
7959       ;;
7960     esac
7961 else
7962   enable_shared=yes
7963 fi
7964
7965
7966
7967
7968
7969
7970
7971
7972
7973   # Check whether --enable-static was given.
7974 if test "${enable_static+set}" = set; then :
7975   enableval=$enable_static; p=${PACKAGE-default}
7976     case $enableval in
7977     yes) enable_static=yes ;;
7978     no) enable_static=no ;;
7979     *)
7980      enable_static=no
7981       # Look at the argument we got.  We use all the common list separators.
7982       lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
7983       for pkg in $enableval; do
7984         IFS="$lt_save_ifs"
7985         if test "X$pkg" = "X$p"; then
7986           enable_static=yes
7987         fi
7988       done
7989       IFS="$lt_save_ifs"
7990       ;;
7991     esac
7992 else
7993   enable_static=yes
7994 fi
7995
7996
7997
7998
7999
8000
8001
8002
8003
8004
8005 # Check whether --with-pic was given.
8006 if test "${with_pic+set}" = set; then :
8007   withval=$with_pic; lt_p=${PACKAGE-default}
8008     case $withval in
8009     yes|no) pic_mode=$withval ;;
8010     *)
8011       pic_mode=default
8012       # Look at the argument we got.  We use all the common list separators.
8013       lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
8014       for lt_pkg in $withval; do
8015         IFS="$lt_save_ifs"
8016         if test "X$lt_pkg" = "X$lt_p"; then
8017           pic_mode=yes
8018         fi
8019       done
8020       IFS="$lt_save_ifs"
8021       ;;
8022     esac
8023 else
8024   pic_mode=default
8025 fi
8026
8027
8028 test -z "$pic_mode" && pic_mode=default
8029
8030
8031
8032
8033
8034
8035
8036   # Check whether --enable-fast-install was given.
8037 if test "${enable_fast_install+set}" = set; then :
8038   enableval=$enable_fast_install; p=${PACKAGE-default}
8039     case $enableval in
8040     yes) enable_fast_install=yes ;;
8041     no) enable_fast_install=no ;;
8042     *)
8043       enable_fast_install=no
8044       # Look at the argument we got.  We use all the common list separators.
8045       lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
8046       for pkg in $enableval; do
8047         IFS="$lt_save_ifs"
8048         if test "X$pkg" = "X$p"; then
8049           enable_fast_install=yes
8050         fi
8051       done
8052       IFS="$lt_save_ifs"
8053       ;;
8054     esac
8055 else
8056   enable_fast_install=yes
8057 fi
8058
8059
8060
8061
8062
8063
8064
8065
8066
8067
8068
8069 # This can be used to rebuild libtool when needed
8070 LIBTOOL_DEPS="$ltmain"
8071
8072 # Always use our own libtool.
8073 LIBTOOL='$(SHELL) $(top_builddir)/libtool'
8074
8075
8076
8077
8078
8079
8080
8081
8082
8083
8084
8085
8086
8087
8088
8089
8090
8091
8092
8093
8094
8095
8096
8097
8098
8099
8100
8101
8102
8103
8104 test -z "$LN_S" && LN_S="ln -s"
8105
8106
8107
8108
8109
8110
8111
8112
8113
8114
8115
8116
8117
8118
8119 if test -n "${ZSH_VERSION+set}" ; then
8120    setopt NO_GLOB_SUBST
8121 fi
8122
8123 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for objdir" >&5
8124 $as_echo_n "checking for objdir... " >&6; }
8125 if ${lt_cv_objdir+:} false; then :
8126   $as_echo_n "(cached) " >&6
8127 else
8128   rm -f .libs 2>/dev/null
8129 mkdir .libs 2>/dev/null
8130 if test -d .libs; then
8131   lt_cv_objdir=.libs
8132 else
8133   # MS-DOS does not allow filenames that begin with a dot.
8134   lt_cv_objdir=_libs
8135 fi
8136 rmdir .libs 2>/dev/null
8137 fi
8138 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_objdir" >&5
8139 $as_echo "$lt_cv_objdir" >&6; }
8140 objdir=$lt_cv_objdir
8141
8142
8143
8144
8145
8146 cat >>confdefs.h <<_ACEOF
8147 #define LT_OBJDIR "$lt_cv_objdir/"
8148 _ACEOF
8149
8150
8151
8152
8153 case $host_os in
8154 aix3*)
8155   # AIX sometimes has problems with the GCC collect2 program.  For some
8156   # reason, if we set the COLLECT_NAMES environment variable, the problems
8157   # vanish in a puff of smoke.
8158   if test "X${COLLECT_NAMES+set}" != Xset; then
8159     COLLECT_NAMES=
8160     export COLLECT_NAMES
8161   fi
8162   ;;
8163 esac
8164
8165 # Global variables:
8166 ofile=libtool
8167 can_build_shared=yes
8168
8169 # All known linkers require a `.a' archive for static linking (except MSVC,
8170 # which needs '.lib').
8171 libext=a
8172
8173 with_gnu_ld="$lt_cv_prog_gnu_ld"
8174
8175 old_CC="$CC"
8176 old_CFLAGS="$CFLAGS"
8177
8178 # Set sane defaults for various variables
8179 test -z "$CC" && CC=cc
8180 test -z "$LTCC" && LTCC=$CC
8181 test -z "$LTCFLAGS" && LTCFLAGS=$CFLAGS
8182 test -z "$LD" && LD=ld
8183 test -z "$ac_objext" && ac_objext=o
8184
8185 for cc_temp in $compiler""; do
8186   case $cc_temp in
8187     compile | *[\\/]compile | ccache | *[\\/]ccache ) ;;
8188     distcc | *[\\/]distcc | purify | *[\\/]purify ) ;;
8189     \-*) ;;
8190     *) break;;
8191   esac
8192 done
8193 cc_basename=`$ECHO "$cc_temp" | $SED "s%.*/%%; s%^$host_alias-%%"`
8194
8195
8196 # Only perform the check for file, if the check method requires it
8197 test -z "$MAGIC_CMD" && MAGIC_CMD=file
8198 case $deplibs_check_method in
8199 file_magic*)
8200   if test "$file_magic_cmd" = '$MAGIC_CMD'; then
8201     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ${ac_tool_prefix}file" >&5
8202 $as_echo_n "checking for ${ac_tool_prefix}file... " >&6; }
8203 if ${lt_cv_path_MAGIC_CMD+:} false; then :
8204   $as_echo_n "(cached) " >&6
8205 else
8206   case $MAGIC_CMD in
8207 [\\/*] |  ?:[\\/]*)
8208   lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a path.
8209   ;;
8210 *)
8211   lt_save_MAGIC_CMD="$MAGIC_CMD"
8212   lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
8213   ac_dummy="/usr/bin$PATH_SEPARATOR$PATH"
8214   for ac_dir in $ac_dummy; do
8215     IFS="$lt_save_ifs"
8216     test -z "$ac_dir" && ac_dir=.
8217     if test -f $ac_dir/${ac_tool_prefix}file; then
8218       lt_cv_path_MAGIC_CMD="$ac_dir/${ac_tool_prefix}file"
8219       if test -n "$file_magic_test_file"; then
8220         case $deplibs_check_method in
8221         "file_magic "*)
8222           file_magic_regex=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
8223           MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
8224           if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
8225             $EGREP "$file_magic_regex" > /dev/null; then
8226             :
8227           else
8228             cat <<_LT_EOF 1>&2
8229
8230 *** Warning: the command libtool uses to detect shared libraries,
8231 *** $file_magic_cmd, produces output that libtool cannot recognize.
8232 *** The result is that libtool may fail to recognize shared libraries
8233 *** as such.  This will affect the creation of libtool libraries that
8234 *** depend on shared libraries, but programs linked with such libtool
8235 *** libraries will work regardless of this problem.  Nevertheless, you
8236 *** may want to report the problem to your system manager and/or to
8237 *** bug-libtool@gnu.org
8238
8239 _LT_EOF
8240           fi ;;
8241         esac
8242       fi
8243       break
8244     fi
8245   done
8246   IFS="$lt_save_ifs"
8247   MAGIC_CMD="$lt_save_MAGIC_CMD"
8248   ;;
8249 esac
8250 fi
8251
8252 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
8253 if test -n "$MAGIC_CMD"; then
8254   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MAGIC_CMD" >&5
8255 $as_echo "$MAGIC_CMD" >&6; }
8256 else
8257   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8258 $as_echo "no" >&6; }
8259 fi
8260
8261
8262
8263
8264
8265 if test -z "$lt_cv_path_MAGIC_CMD"; then
8266   if test -n "$ac_tool_prefix"; then
8267     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for file" >&5
8268 $as_echo_n "checking for file... " >&6; }
8269 if ${lt_cv_path_MAGIC_CMD+:} false; then :
8270   $as_echo_n "(cached) " >&6
8271 else
8272   case $MAGIC_CMD in
8273 [\\/*] |  ?:[\\/]*)
8274   lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a path.
8275   ;;
8276 *)
8277   lt_save_MAGIC_CMD="$MAGIC_CMD"
8278   lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
8279   ac_dummy="/usr/bin$PATH_SEPARATOR$PATH"
8280   for ac_dir in $ac_dummy; do
8281     IFS="$lt_save_ifs"
8282     test -z "$ac_dir" && ac_dir=.
8283     if test -f $ac_dir/file; then
8284       lt_cv_path_MAGIC_CMD="$ac_dir/file"
8285       if test -n "$file_magic_test_file"; then
8286         case $deplibs_check_method in
8287         "file_magic "*)
8288           file_magic_regex=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
8289           MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
8290           if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
8291             $EGREP "$file_magic_regex" > /dev/null; then
8292             :
8293           else
8294             cat <<_LT_EOF 1>&2
8295
8296 *** Warning: the command libtool uses to detect shared libraries,
8297 *** $file_magic_cmd, produces output that libtool cannot recognize.
8298 *** The result is that libtool may fail to recognize shared libraries
8299 *** as such.  This will affect the creation of libtool libraries that
8300 *** depend on shared libraries, but programs linked with such libtool
8301 *** libraries will work regardless of this problem.  Nevertheless, you
8302 *** may want to report the problem to your system manager and/or to
8303 *** bug-libtool@gnu.org
8304
8305 _LT_EOF
8306           fi ;;
8307         esac
8308       fi
8309       break
8310     fi
8311   done
8312   IFS="$lt_save_ifs"
8313   MAGIC_CMD="$lt_save_MAGIC_CMD"
8314   ;;
8315 esac
8316 fi
8317
8318 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
8319 if test -n "$MAGIC_CMD"; then
8320   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MAGIC_CMD" >&5
8321 $as_echo "$MAGIC_CMD" >&6; }
8322 else
8323   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8324 $as_echo "no" >&6; }
8325 fi
8326
8327
8328   else
8329     MAGIC_CMD=:
8330   fi
8331 fi
8332
8333   fi
8334   ;;
8335 esac
8336
8337 # Use C for the default configuration in the libtool script
8338
8339 lt_save_CC="$CC"
8340 ac_ext=c
8341 ac_cpp='$CPP $CPPFLAGS'
8342 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
8343 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
8344 ac_compiler_gnu=$ac_cv_c_compiler_gnu
8345
8346
8347 # Source file extension for C test sources.
8348 ac_ext=c
8349
8350 # Object file extension for compiled C test sources.
8351 objext=o
8352 objext=$objext
8353
8354 # Code to be used in simple compile tests
8355 lt_simple_compile_test_code="int some_variable = 0;"
8356
8357 # Code to be used in simple link tests
8358 lt_simple_link_test_code='int main(){return(0);}'
8359
8360
8361
8362
8363
8364
8365
8366 # If no C compiler was specified, use CC.
8367 LTCC=${LTCC-"$CC"}
8368
8369 # If no C compiler flags were specified, use CFLAGS.
8370 LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
8371
8372 # Allow CC to be a program name with arguments.
8373 compiler=$CC
8374
8375 # Save the default compiler, since it gets overwritten when the other
8376 # tags are being tested, and _LT_TAGVAR(compiler, []) is a NOP.
8377 compiler_DEFAULT=$CC
8378
8379 # save warnings/boilerplate of simple test code
8380 ac_outfile=conftest.$ac_objext
8381 echo "$lt_simple_compile_test_code" >conftest.$ac_ext
8382 eval "$ac_compile" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
8383 _lt_compiler_boilerplate=`cat conftest.err`
8384 $RM conftest*
8385
8386 ac_outfile=conftest.$ac_objext
8387 echo "$lt_simple_link_test_code" >conftest.$ac_ext
8388 eval "$ac_link" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
8389 _lt_linker_boilerplate=`cat conftest.err`
8390 $RM -r conftest*
8391
8392
8393 ## CAVEAT EMPTOR:
8394 ## There is no encapsulation within the following macros, do not change
8395 ## the running order or otherwise move them around unless you know exactly
8396 ## what you are doing...
8397 if test -n "$compiler"; then
8398
8399 lt_prog_compiler_no_builtin_flag=
8400
8401 if test "$GCC" = yes; then
8402   case $cc_basename in
8403   nvcc*)
8404     lt_prog_compiler_no_builtin_flag=' -Xcompiler -fno-builtin' ;;
8405   *)
8406     lt_prog_compiler_no_builtin_flag=' -fno-builtin' ;;
8407   esac
8408
8409   { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -fno-rtti -fno-exceptions" >&5
8410 $as_echo_n "checking if $compiler supports -fno-rtti -fno-exceptions... " >&6; }
8411 if ${lt_cv_prog_compiler_rtti_exceptions+:} false; then :
8412   $as_echo_n "(cached) " >&6
8413 else
8414   lt_cv_prog_compiler_rtti_exceptions=no
8415    ac_outfile=conftest.$ac_objext
8416    echo "$lt_simple_compile_test_code" > conftest.$ac_ext
8417    lt_compiler_flag="-fno-rtti -fno-exceptions"
8418    # Insert the option either (1) after the last *FLAGS variable, or
8419    # (2) before a word containing "conftest.", or (3) at the end.
8420    # Note that $ac_compile itself does not contain backslashes and begins
8421    # with a dollar sign (not a hyphen), so the echo should work correctly.
8422    # The option is referenced via a variable to avoid confusing sed.
8423    lt_compile=`echo "$ac_compile" | $SED \
8424    -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
8425    -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
8426    -e 's:$: $lt_compiler_flag:'`
8427    (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
8428    (eval "$lt_compile" 2>conftest.err)
8429    ac_status=$?
8430    cat conftest.err >&5
8431    echo "$as_me:$LINENO: \$? = $ac_status" >&5
8432    if (exit $ac_status) && test -s "$ac_outfile"; then
8433      # The compiler can only warn and ignore the option if not recognized
8434      # So say no if there are warnings other than the usual output.
8435      $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' >conftest.exp
8436      $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
8437      if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
8438        lt_cv_prog_compiler_rtti_exceptions=yes
8439      fi
8440    fi
8441    $RM conftest*
8442
8443 fi
8444 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_rtti_exceptions" >&5
8445 $as_echo "$lt_cv_prog_compiler_rtti_exceptions" >&6; }
8446
8447 if test x"$lt_cv_prog_compiler_rtti_exceptions" = xyes; then
8448     lt_prog_compiler_no_builtin_flag="$lt_prog_compiler_no_builtin_flag -fno-rtti -fno-exceptions"
8449 else
8450     :
8451 fi
8452
8453 fi
8454
8455
8456
8457
8458
8459
8460   lt_prog_compiler_wl=
8461 lt_prog_compiler_pic=
8462 lt_prog_compiler_static=
8463
8464
8465   if test "$GCC" = yes; then
8466     lt_prog_compiler_wl='-Wl,'
8467     lt_prog_compiler_static='-static'
8468
8469     case $host_os in
8470       aix*)
8471       # All AIX code is PIC.
8472       if test "$host_cpu" = ia64; then
8473         # AIX 5 now supports IA64 processor
8474         lt_prog_compiler_static='-Bstatic'
8475       fi
8476       ;;
8477
8478     amigaos*)
8479       case $host_cpu in
8480       powerpc)
8481             # see comment about AmigaOS4 .so support
8482             lt_prog_compiler_pic='-fPIC'
8483         ;;
8484       m68k)
8485             # FIXME: we need at least 68020 code to build shared libraries, but
8486             # adding the `-m68020' flag to GCC prevents building anything better,
8487             # like `-m68040'.
8488             lt_prog_compiler_pic='-m68020 -resident32 -malways-restore-a4'
8489         ;;
8490       esac
8491       ;;
8492
8493     beos* | irix5* | irix6* | nonstopux* | osf3* | osf4* | osf5*)
8494       # PIC is the default for these OSes.
8495       ;;
8496
8497     mingw* | cygwin* | pw32* | os2* | cegcc*)
8498       # This hack is so that the source file can tell whether it is being
8499       # built for inclusion in a dll (and should export symbols for example).
8500       # Although the cygwin gcc ignores -fPIC, still need this for old-style
8501       # (--disable-auto-import) libraries
8502       lt_prog_compiler_pic='-DDLL_EXPORT'
8503       ;;
8504
8505     darwin* | rhapsody*)
8506       # PIC is the default on this platform
8507       # Common symbols not allowed in MH_DYLIB files
8508       lt_prog_compiler_pic='-fno-common'
8509       ;;
8510
8511     haiku*)
8512       # PIC is the default for Haiku.
8513       # The "-static" flag exists, but is broken.
8514       lt_prog_compiler_static=
8515       ;;
8516
8517     hpux*)
8518       # PIC is the default for 64-bit PA HP-UX, but not for 32-bit
8519       # PA HP-UX.  On IA64 HP-UX, PIC is the default but the pic flag
8520       # sets the default TLS model and affects inlining.
8521       case $host_cpu in
8522       hppa*64*)
8523         # +Z the default
8524         ;;
8525       *)
8526         lt_prog_compiler_pic='-fPIC'
8527         ;;
8528       esac
8529       ;;
8530
8531     interix[3-9]*)
8532       # Interix 3.x gcc -fpic/-fPIC options generate broken code.
8533       # Instead, we relocate shared libraries at runtime.
8534       ;;
8535
8536     msdosdjgpp*)
8537       # Just because we use GCC doesn't mean we suddenly get shared libraries
8538       # on systems that don't support them.
8539       lt_prog_compiler_can_build_shared=no
8540       enable_shared=no
8541       ;;
8542
8543     *nto* | *qnx*)
8544       # QNX uses GNU C++, but need to define -shared option too, otherwise
8545       # it will coredump.
8546       lt_prog_compiler_pic='-fPIC -shared'
8547       ;;
8548
8549     sysv4*MP*)
8550       if test -d /usr/nec; then
8551         lt_prog_compiler_pic=-Kconform_pic
8552       fi
8553       ;;
8554
8555     *)
8556       lt_prog_compiler_pic='-fPIC'
8557       ;;
8558     esac
8559
8560     case $cc_basename in
8561     nvcc*) # Cuda Compiler Driver 2.2
8562       lt_prog_compiler_wl='-Xlinker '
8563       if test -n "$lt_prog_compiler_pic"; then
8564         lt_prog_compiler_pic="-Xcompiler $lt_prog_compiler_pic"
8565       fi
8566       ;;
8567     esac
8568   else
8569     # PORTME Check for flag to pass linker flags through the system compiler.
8570     case $host_os in
8571     aix*)
8572       lt_prog_compiler_wl='-Wl,'
8573       if test "$host_cpu" = ia64; then
8574         # AIX 5 now supports IA64 processor
8575         lt_prog_compiler_static='-Bstatic'
8576       else
8577         lt_prog_compiler_static='-bnso -bI:/lib/syscalls.exp'
8578       fi
8579       ;;
8580
8581     mingw* | cygwin* | pw32* | os2* | cegcc*)
8582       # This hack is so that the source file can tell whether it is being
8583       # built for inclusion in a dll (and should export symbols for example).
8584       lt_prog_compiler_pic='-DDLL_EXPORT'
8585       ;;
8586
8587     hpux9* | hpux10* | hpux11*)
8588       lt_prog_compiler_wl='-Wl,'
8589       # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
8590       # not for PA HP-UX.
8591       case $host_cpu in
8592       hppa*64*|ia64*)
8593         # +Z the default
8594         ;;
8595       *)
8596         lt_prog_compiler_pic='+Z'
8597         ;;
8598       esac
8599       # Is there a better lt_prog_compiler_static that works with the bundled CC?
8600       lt_prog_compiler_static='${wl}-a ${wl}archive'
8601       ;;
8602
8603     irix5* | irix6* | nonstopux*)
8604       lt_prog_compiler_wl='-Wl,'
8605       # PIC (with -KPIC) is the default.
8606       lt_prog_compiler_static='-non_shared'
8607       ;;
8608
8609     linux* | k*bsd*-gnu | kopensolaris*-gnu)
8610       case $cc_basename in
8611       # old Intel for x86_64 which still supported -KPIC.
8612       ecc*)
8613         lt_prog_compiler_wl='-Wl,'
8614         lt_prog_compiler_pic='-KPIC'
8615         lt_prog_compiler_static='-static'
8616         ;;
8617       # icc used to be incompatible with GCC.
8618       # ICC 10 doesn't accept -KPIC any more.
8619       icc* | ifort*)
8620         lt_prog_compiler_wl='-Wl,'
8621         lt_prog_compiler_pic='-fPIC'
8622         lt_prog_compiler_static='-static'
8623         ;;
8624       # Lahey Fortran 8.1.
8625       lf95*)
8626         lt_prog_compiler_wl='-Wl,'
8627         lt_prog_compiler_pic='--shared'
8628         lt_prog_compiler_static='--static'
8629         ;;
8630       nagfor*)
8631         # NAG Fortran compiler
8632         lt_prog_compiler_wl='-Wl,-Wl,,'
8633         lt_prog_compiler_pic='-PIC'
8634         lt_prog_compiler_static='-Bstatic'
8635         ;;
8636       pgcc* | pgf77* | pgf90* | pgf95* | pgfortran*)
8637         # Portland Group compilers (*not* the Pentium gcc compiler,
8638         # which looks to be a dead project)
8639         lt_prog_compiler_wl='-Wl,'
8640         lt_prog_compiler_pic='-fpic'
8641         lt_prog_compiler_static='-Bstatic'
8642         ;;
8643       ccc*)
8644         lt_prog_compiler_wl='-Wl,'
8645         # All Alpha code is PIC.
8646         lt_prog_compiler_static='-non_shared'
8647         ;;
8648       xl* | bgxl* | bgf* | mpixl*)
8649         # IBM XL C 8.0/Fortran 10.1, 11.1 on PPC and BlueGene
8650         lt_prog_compiler_wl='-Wl,'
8651         lt_prog_compiler_pic='-qpic'
8652         lt_prog_compiler_static='-qstaticlink'
8653         ;;
8654       *)
8655         case `$CC -V 2>&1 | sed 5q` in
8656         *Sun\ Ceres\ Fortran* | *Sun*Fortran*\ [1-7].* | *Sun*Fortran*\ 8.[0-3]*)
8657           # Sun Fortran 8.3 passes all unrecognized flags to the linker
8658           lt_prog_compiler_pic='-KPIC'
8659           lt_prog_compiler_static='-Bstatic'
8660           lt_prog_compiler_wl=''
8661           ;;
8662         *Sun\ F* | *Sun*Fortran*)
8663           lt_prog_compiler_pic='-KPIC'
8664           lt_prog_compiler_static='-Bstatic'
8665           lt_prog_compiler_wl='-Qoption ld '
8666           ;;
8667         *Sun\ C*)
8668           # Sun C 5.9
8669           lt_prog_compiler_pic='-KPIC'
8670           lt_prog_compiler_static='-Bstatic'
8671           lt_prog_compiler_wl='-Wl,'
8672           ;;
8673         *Intel*\ [CF]*Compiler*)
8674           lt_prog_compiler_wl='-Wl,'
8675           lt_prog_compiler_pic='-fPIC'
8676           lt_prog_compiler_static='-static'
8677           ;;
8678         *Portland\ Group*)
8679           lt_prog_compiler_wl='-Wl,'
8680           lt_prog_compiler_pic='-fpic'
8681           lt_prog_compiler_static='-Bstatic'
8682           ;;
8683         esac
8684         ;;
8685       esac
8686       ;;
8687
8688     newsos6)
8689       lt_prog_compiler_pic='-KPIC'
8690       lt_prog_compiler_static='-Bstatic'
8691       ;;
8692
8693     *nto* | *qnx*)
8694       # QNX uses GNU C++, but need to define -shared option too, otherwise
8695       # it will coredump.
8696       lt_prog_compiler_pic='-fPIC -shared'
8697       ;;
8698
8699     osf3* | osf4* | osf5*)
8700       lt_prog_compiler_wl='-Wl,'
8701       # All OSF/1 code is PIC.
8702       lt_prog_compiler_static='-non_shared'
8703       ;;
8704
8705     rdos*)
8706       lt_prog_compiler_static='-non_shared'
8707       ;;
8708
8709     solaris*)
8710       lt_prog_compiler_pic='-KPIC'
8711       lt_prog_compiler_static='-Bstatic'
8712       case $cc_basename in
8713       f77* | f90* | f95* | sunf77* | sunf90* | sunf95*)
8714         lt_prog_compiler_wl='-Qoption ld ';;
8715       *)
8716         lt_prog_compiler_wl='-Wl,';;
8717       esac
8718       ;;
8719
8720     sunos4*)
8721       lt_prog_compiler_wl='-Qoption ld '
8722       lt_prog_compiler_pic='-PIC'
8723       lt_prog_compiler_static='-Bstatic'
8724       ;;
8725
8726     sysv4 | sysv4.2uw2* | sysv4.3*)
8727       lt_prog_compiler_wl='-Wl,'
8728       lt_prog_compiler_pic='-KPIC'
8729       lt_prog_compiler_static='-Bstatic'
8730       ;;
8731
8732     sysv4*MP*)
8733       if test -d /usr/nec ;then
8734         lt_prog_compiler_pic='-Kconform_pic'
8735         lt_prog_compiler_static='-Bstatic'
8736       fi
8737       ;;
8738
8739     sysv5* | unixware* | sco3.2v5* | sco5v6* | OpenUNIX*)
8740       lt_prog_compiler_wl='-Wl,'
8741       lt_prog_compiler_pic='-KPIC'
8742       lt_prog_compiler_static='-Bstatic'
8743       ;;
8744
8745     unicos*)
8746       lt_prog_compiler_wl='-Wl,'
8747       lt_prog_compiler_can_build_shared=no
8748       ;;
8749
8750     uts4*)
8751       lt_prog_compiler_pic='-pic'
8752       lt_prog_compiler_static='-Bstatic'
8753       ;;
8754
8755     *)
8756       lt_prog_compiler_can_build_shared=no
8757       ;;
8758     esac
8759   fi
8760
8761 case $host_os in
8762   # For platforms which do not support PIC, -DPIC is meaningless:
8763   *djgpp*)
8764     lt_prog_compiler_pic=
8765     ;;
8766   *)
8767     lt_prog_compiler_pic="$lt_prog_compiler_pic -DPIC"
8768     ;;
8769 esac
8770
8771 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $compiler option to produce PIC" >&5
8772 $as_echo_n "checking for $compiler option to produce PIC... " >&6; }
8773 if ${lt_cv_prog_compiler_pic+:} false; then :
8774   $as_echo_n "(cached) " >&6
8775 else
8776   lt_cv_prog_compiler_pic=$lt_prog_compiler_pic
8777 fi
8778 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic" >&5
8779 $as_echo "$lt_cv_prog_compiler_pic" >&6; }
8780 lt_prog_compiler_pic=$lt_cv_prog_compiler_pic
8781
8782 #
8783 # Check to make sure the PIC flag actually works.
8784 #
8785 if test -n "$lt_prog_compiler_pic"; then
8786   { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler PIC flag $lt_prog_compiler_pic works" >&5
8787 $as_echo_n "checking if $compiler PIC flag $lt_prog_compiler_pic works... " >&6; }
8788 if ${lt_cv_prog_compiler_pic_works+:} false; then :
8789   $as_echo_n "(cached) " >&6
8790 else
8791   lt_cv_prog_compiler_pic_works=no
8792    ac_outfile=conftest.$ac_objext
8793    echo "$lt_simple_compile_test_code" > conftest.$ac_ext
8794    lt_compiler_flag="$lt_prog_compiler_pic -DPIC"
8795    # Insert the option either (1) after the last *FLAGS variable, or
8796    # (2) before a word containing "conftest.", or (3) at the end.
8797    # Note that $ac_compile itself does not contain backslashes and begins
8798    # with a dollar sign (not a hyphen), so the echo should work correctly.
8799    # The option is referenced via a variable to avoid confusing sed.
8800    lt_compile=`echo "$ac_compile" | $SED \
8801    -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
8802    -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
8803    -e 's:$: $lt_compiler_flag:'`
8804    (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
8805    (eval "$lt_compile" 2>conftest.err)
8806    ac_status=$?
8807    cat conftest.err >&5
8808    echo "$as_me:$LINENO: \$? = $ac_status" >&5
8809    if (exit $ac_status) && test -s "$ac_outfile"; then
8810      # The compiler can only warn and ignore the option if not recognized
8811      # So say no if there are warnings other than the usual output.
8812      $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' >conftest.exp
8813      $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
8814      if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
8815        lt_cv_prog_compiler_pic_works=yes
8816      fi
8817    fi
8818    $RM conftest*
8819
8820 fi
8821 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic_works" >&5
8822 $as_echo "$lt_cv_prog_compiler_pic_works" >&6; }
8823
8824 if test x"$lt_cv_prog_compiler_pic_works" = xyes; then
8825     case $lt_prog_compiler_pic in
8826      "" | " "*) ;;
8827      *) lt_prog_compiler_pic=" $lt_prog_compiler_pic" ;;
8828      esac
8829 else
8830     lt_prog_compiler_pic=
8831      lt_prog_compiler_can_build_shared=no
8832 fi
8833
8834 fi
8835
8836
8837
8838
8839
8840
8841
8842
8843
8844
8845
8846 #
8847 # Check to make sure the static flag actually works.
8848 #
8849 wl=$lt_prog_compiler_wl eval lt_tmp_static_flag=\"$lt_prog_compiler_static\"
8850 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler static flag $lt_tmp_static_flag works" >&5
8851 $as_echo_n "checking if $compiler static flag $lt_tmp_static_flag works... " >&6; }
8852 if ${lt_cv_prog_compiler_static_works+:} false; then :
8853   $as_echo_n "(cached) " >&6
8854 else
8855   lt_cv_prog_compiler_static_works=no
8856    save_LDFLAGS="$LDFLAGS"
8857    LDFLAGS="$LDFLAGS $lt_tmp_static_flag"
8858    echo "$lt_simple_link_test_code" > conftest.$ac_ext
8859    if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
8860      # The linker can only warn and ignore the option if not recognized
8861      # So say no if there are warnings
8862      if test -s conftest.err; then
8863        # Append any errors to the config.log.
8864        cat conftest.err 1>&5
8865        $ECHO "$_lt_linker_boilerplate" | $SED '/^$/d' > conftest.exp
8866        $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
8867        if diff conftest.exp conftest.er2 >/dev/null; then
8868          lt_cv_prog_compiler_static_works=yes
8869        fi
8870      else
8871        lt_cv_prog_compiler_static_works=yes
8872      fi
8873    fi
8874    $RM -r conftest*
8875    LDFLAGS="$save_LDFLAGS"
8876
8877 fi
8878 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_static_works" >&5
8879 $as_echo "$lt_cv_prog_compiler_static_works" >&6; }
8880
8881 if test x"$lt_cv_prog_compiler_static_works" = xyes; then
8882     :
8883 else
8884     lt_prog_compiler_static=
8885 fi
8886
8887
8888
8889
8890
8891
8892
8893   { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
8894 $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
8895 if ${lt_cv_prog_compiler_c_o+:} false; then :
8896   $as_echo_n "(cached) " >&6
8897 else
8898   lt_cv_prog_compiler_c_o=no
8899    $RM -r conftest 2>/dev/null
8900    mkdir conftest
8901    cd conftest
8902    mkdir out
8903    echo "$lt_simple_compile_test_code" > conftest.$ac_ext
8904
8905    lt_compiler_flag="-o out/conftest2.$ac_objext"
8906    # Insert the option either (1) after the last *FLAGS variable, or
8907    # (2) before a word containing "conftest.", or (3) at the end.
8908    # Note that $ac_compile itself does not contain backslashes and begins
8909    # with a dollar sign (not a hyphen), so the echo should work correctly.
8910    lt_compile=`echo "$ac_compile" | $SED \
8911    -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
8912    -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
8913    -e 's:$: $lt_compiler_flag:'`
8914    (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
8915    (eval "$lt_compile" 2>out/conftest.err)
8916    ac_status=$?
8917    cat out/conftest.err >&5
8918    echo "$as_me:$LINENO: \$? = $ac_status" >&5
8919    if (exit $ac_status) && test -s out/conftest2.$ac_objext
8920    then
8921      # The compiler can only warn and ignore the option if not recognized
8922      # So say no if there are warnings
8923      $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' > out/conftest.exp
8924      $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
8925      if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
8926        lt_cv_prog_compiler_c_o=yes
8927      fi
8928    fi
8929    chmod u+w . 2>&5
8930    $RM conftest*
8931    # SGI C++ compiler will create directory out/ii_files/ for
8932    # template instantiation
8933    test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
8934    $RM out/* && rmdir out
8935    cd ..
8936    $RM -r conftest
8937    $RM conftest*
8938
8939 fi
8940 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o" >&5
8941 $as_echo "$lt_cv_prog_compiler_c_o" >&6; }
8942
8943
8944
8945
8946
8947
8948   { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
8949 $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
8950 if ${lt_cv_prog_compiler_c_o+:} false; then :
8951   $as_echo_n "(cached) " >&6
8952 else
8953   lt_cv_prog_compiler_c_o=no
8954    $RM -r conftest 2>/dev/null
8955    mkdir conftest
8956    cd conftest
8957    mkdir out
8958    echo "$lt_simple_compile_test_code" > conftest.$ac_ext
8959
8960    lt_compiler_flag="-o out/conftest2.$ac_objext"
8961    # Insert the option either (1) after the last *FLAGS variable, or
8962    # (2) before a word containing "conftest.", or (3) at the end.
8963    # Note that $ac_compile itself does not contain backslashes and begins
8964    # with a dollar sign (not a hyphen), so the echo should work correctly.
8965    lt_compile=`echo "$ac_compile" | $SED \
8966    -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
8967    -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
8968    -e 's:$: $lt_compiler_flag:'`
8969    (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
8970    (eval "$lt_compile" 2>out/conftest.err)
8971    ac_status=$?
8972    cat out/conftest.err >&5
8973    echo "$as_me:$LINENO: \$? = $ac_status" >&5
8974    if (exit $ac_status) && test -s out/conftest2.$ac_objext
8975    then
8976      # The compiler can only warn and ignore the option if not recognized
8977      # So say no if there are warnings
8978      $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' > out/conftest.exp
8979      $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
8980      if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
8981        lt_cv_prog_compiler_c_o=yes
8982      fi
8983    fi
8984    chmod u+w . 2>&5
8985    $RM conftest*
8986    # SGI C++ compiler will create directory out/ii_files/ for
8987    # template instantiation
8988    test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
8989    $RM out/* && rmdir out
8990    cd ..
8991    $RM -r conftest
8992    $RM conftest*
8993
8994 fi
8995 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o" >&5
8996 $as_echo "$lt_cv_prog_compiler_c_o" >&6; }
8997
8998
8999
9000
9001 hard_links="nottested"
9002 if test "$lt_cv_prog_compiler_c_o" = no && test "$need_locks" != no; then
9003   # do not overwrite the value of need_locks provided by the user
9004   { $as_echo "$as_me:${as_lineno-$LINENO}: checking if we can lock with hard links" >&5
9005 $as_echo_n "checking if we can lock with hard links... " >&6; }
9006   hard_links=yes
9007   $RM conftest*
9008   ln conftest.a conftest.b 2>/dev/null && hard_links=no
9009   touch conftest.a
9010   ln conftest.a conftest.b 2>&5 || hard_links=no
9011   ln conftest.a conftest.b 2>/dev/null && hard_links=no
9012   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hard_links" >&5
9013 $as_echo "$hard_links" >&6; }
9014   if test "$hard_links" = no; then
9015     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5
9016 $as_echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;}
9017     need_locks=warn
9018   fi
9019 else
9020   need_locks=no
9021 fi
9022
9023
9024
9025
9026
9027
9028   { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $compiler linker ($LD) supports shared libraries" >&5
9029 $as_echo_n "checking whether the $compiler linker ($LD) supports shared libraries... " >&6; }
9030
9031   runpath_var=
9032   allow_undefined_flag=
9033   always_export_symbols=no
9034   archive_cmds=
9035   archive_expsym_cmds=
9036   compiler_needs_object=no
9037   enable_shared_with_static_runtimes=no
9038   export_dynamic_flag_spec=
9039   export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
9040   hardcode_automatic=no
9041   hardcode_direct=no
9042   hardcode_direct_absolute=no
9043   hardcode_libdir_flag_spec=
9044   hardcode_libdir_separator=
9045   hardcode_minus_L=no
9046   hardcode_shlibpath_var=unsupported
9047   inherit_rpath=no
9048   link_all_deplibs=unknown
9049   module_cmds=
9050   module_expsym_cmds=
9051   old_archive_from_new_cmds=
9052   old_archive_from_expsyms_cmds=
9053   thread_safe_flag_spec=
9054   whole_archive_flag_spec=
9055   # include_expsyms should be a list of space-separated symbols to be *always*
9056   # included in the symbol list
9057   include_expsyms=
9058   # exclude_expsyms can be an extended regexp of symbols to exclude
9059   # it will be wrapped by ` (' and `)$', so one must not match beginning or
9060   # end of line.  Example: `a|bc|.*d.*' will exclude the symbols `a' and `bc',
9061   # as well as any symbol that contains `d'.
9062   exclude_expsyms='_GLOBAL_OFFSET_TABLE_|_GLOBAL__F[ID]_.*'
9063   # Although _GLOBAL_OFFSET_TABLE_ is a valid symbol C name, most a.out
9064   # platforms (ab)use it in PIC code, but their linkers get confused if
9065   # the symbol is explicitly referenced.  Since portable code cannot
9066   # rely on this symbol name, it's probably fine to never include it in
9067   # preloaded symbol tables.
9068   # Exclude shared library initialization/finalization symbols.
9069   extract_expsyms_cmds=
9070
9071   case $host_os in
9072   cygwin* | mingw* | pw32* | cegcc*)
9073     # FIXME: the MSVC++ port hasn't been tested in a loooong time
9074     # When not using gcc, we currently assume that we are using
9075     # Microsoft Visual C++.
9076     if test "$GCC" != yes; then
9077       with_gnu_ld=no
9078     fi
9079     ;;
9080   interix*)
9081     # we just hope/assume this is gcc and not c89 (= MSVC++)
9082     with_gnu_ld=yes
9083     ;;
9084   openbsd*)
9085     with_gnu_ld=no
9086     ;;
9087   esac
9088
9089   ld_shlibs=yes
9090
9091   # On some targets, GNU ld is compatible enough with the native linker
9092   # that we're better off using the native interface for both.
9093   lt_use_gnu_ld_interface=no
9094   if test "$with_gnu_ld" = yes; then
9095     case $host_os in
9096       aix*)
9097         # The AIX port of GNU ld has always aspired to compatibility
9098         # with the native linker.  However, as the warning in the GNU ld
9099         # block says, versions before 2.19.5* couldn't really create working
9100         # shared libraries, regardless of the interface used.
9101         case `$LD -v 2>&1` in
9102           *\ \(GNU\ Binutils\)\ 2.19.5*) ;;
9103           *\ \(GNU\ Binutils\)\ 2.[2-9]*) ;;
9104           *\ \(GNU\ Binutils\)\ [3-9]*) ;;
9105           *)
9106             lt_use_gnu_ld_interface=yes
9107             ;;
9108         esac
9109         ;;
9110       *)
9111         lt_use_gnu_ld_interface=yes
9112         ;;
9113     esac
9114   fi
9115
9116   if test "$lt_use_gnu_ld_interface" = yes; then
9117     # If archive_cmds runs LD, not CC, wlarc should be empty
9118     wlarc='${wl}'
9119
9120     # Set some defaults for GNU ld with shared library support. These
9121     # are reset later if shared libraries are not supported. Putting them
9122     # here allows them to be overridden if necessary.
9123     runpath_var=LD_RUN_PATH
9124     hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
9125     export_dynamic_flag_spec='${wl}--export-dynamic'
9126     # ancient GNU ld didn't support --whole-archive et. al.
9127     if $LD --help 2>&1 | $GREP 'no-whole-archive' > /dev/null; then
9128       whole_archive_flag_spec="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
9129     else
9130       whole_archive_flag_spec=
9131     fi
9132     supports_anon_versioning=no
9133     case `$LD -v 2>&1` in
9134       *GNU\ gold*) supports_anon_versioning=yes ;;
9135       *\ [01].* | *\ 2.[0-9].* | *\ 2.10.*) ;; # catch versions < 2.11
9136       *\ 2.11.93.0.2\ *) supports_anon_versioning=yes ;; # RH7.3 ...
9137       *\ 2.11.92.0.12\ *) supports_anon_versioning=yes ;; # Mandrake 8.2 ...
9138       *\ 2.11.*) ;; # other 2.11 versions
9139       *) supports_anon_versioning=yes ;;
9140     esac
9141
9142     # See if GNU ld supports shared libraries.
9143     case $host_os in
9144     aix[3-9]*)
9145       # On AIX/PPC, the GNU linker is very broken
9146       if test "$host_cpu" != ia64; then
9147         ld_shlibs=no
9148         cat <<_LT_EOF 1>&2
9149
9150 *** Warning: the GNU linker, at least up to release 2.19, is reported
9151 *** to be unable to reliably create shared libraries on AIX.
9152 *** Therefore, libtool is disabling shared libraries support.  If you
9153 *** really care for shared libraries, you may want to install binutils
9154 *** 2.20 or above, or modify your PATH so that a non-GNU linker is found.
9155 *** You will then need to restart the configuration process.
9156
9157 _LT_EOF
9158       fi
9159       ;;
9160
9161     amigaos*)
9162       case $host_cpu in
9163       powerpc)
9164             # see comment about AmigaOS4 .so support
9165             archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9166             archive_expsym_cmds=''
9167         ;;
9168       m68k)
9169             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)'
9170             hardcode_libdir_flag_spec='-L$libdir'
9171             hardcode_minus_L=yes
9172         ;;
9173       esac
9174       ;;
9175
9176     beos*)
9177       if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
9178         allow_undefined_flag=unsupported
9179         # Joseph Beckenbach <jrb3@best.com> says some releases of gcc
9180         # support --undefined.  This deserves some investigation.  FIXME
9181         archive_cmds='$CC -nostart $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9182       else
9183         ld_shlibs=no
9184       fi
9185       ;;
9186
9187     cygwin* | mingw* | pw32* | cegcc*)
9188       # _LT_TAGVAR(hardcode_libdir_flag_spec, ) is actually meaningless,
9189       # as there is no search path for DLLs.
9190       hardcode_libdir_flag_spec='-L$libdir'
9191       export_dynamic_flag_spec='${wl}--export-all-symbols'
9192       allow_undefined_flag=unsupported
9193       always_export_symbols=no
9194       enable_shared_with_static_runtimes=yes
9195       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'
9196       exclude_expsyms='[_]+GLOBAL_OFFSET_TABLE_|[_]+GLOBAL__[FID]_.*|[_]+head_[A-Za-z0-9_]+_dll|[A-Za-z0-9_]+_dll_iname'
9197
9198       if $LD --help 2>&1 | $GREP 'auto-import' > /dev/null; then
9199         archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
9200         # If the export-symbols file already is a .def file (1st line
9201         # is EXPORTS), use it as is; otherwise, prepend...
9202         archive_expsym_cmds='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
9203           cp $export_symbols $output_objdir/$soname.def;
9204         else
9205           echo EXPORTS > $output_objdir/$soname.def;
9206           cat $export_symbols >> $output_objdir/$soname.def;
9207         fi~
9208         $CC -shared $output_objdir/$soname.def $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
9209       else
9210         ld_shlibs=no
9211       fi
9212       ;;
9213
9214     haiku*)
9215       archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9216       link_all_deplibs=yes
9217       ;;
9218
9219     interix[3-9]*)
9220       hardcode_direct=no
9221       hardcode_shlibpath_var=no
9222       hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
9223       export_dynamic_flag_spec='${wl}-E'
9224       # Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc.
9225       # Instead, shared libraries are loaded at an image base (0x10000000 by
9226       # default) and relocated if they conflict, which is a slow very memory
9227       # consuming and fragmenting process.  To avoid this, we pick a random,
9228       # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link
9229       # time.  Moving up from 0x10000000 also allows more sbrk(2) space.
9230       archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-h,$soname ${wl}--image-base,`expr ${RANDOM-$$} % 4096 / 2 \* 262144 + 1342177280` -o $lib'
9231       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'
9232       ;;
9233
9234     gnu* | linux* | tpf* | k*bsd*-gnu | kopensolaris*-gnu)
9235       tmp_diet=no
9236       if test "$host_os" = linux-dietlibc; then
9237         case $cc_basename in
9238           diet\ *) tmp_diet=yes;;       # linux-dietlibc with static linking (!diet-dyn)
9239         esac
9240       fi
9241       if $LD --help 2>&1 | $EGREP ': supported targets:.* elf' > /dev/null \
9242          && test "$tmp_diet" = no
9243       then
9244         tmp_addflag=' $pic_flag'
9245         tmp_sharedflag='-shared'
9246         case $cc_basename,$host_cpu in
9247         pgcc*)                          # Portland Group C compiler
9248           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'
9249           tmp_addflag=' $pic_flag'
9250           ;;
9251         pgf77* | pgf90* | pgf95* | pgfortran*)
9252                                         # Portland Group f77 and f90 compilers
9253           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'
9254           tmp_addflag=' $pic_flag -Mnomain' ;;
9255         ecc*,ia64* | icc*,ia64*)        # Intel C compiler on ia64
9256           tmp_addflag=' -i_dynamic' ;;
9257         efc*,ia64* | ifort*,ia64*)      # Intel Fortran compiler on ia64
9258           tmp_addflag=' -i_dynamic -nofor_main' ;;
9259         ifc* | ifort*)                  # Intel Fortran compiler
9260           tmp_addflag=' -nofor_main' ;;
9261         lf95*)                          # Lahey Fortran 8.1
9262           whole_archive_flag_spec=
9263           tmp_sharedflag='--shared' ;;
9264         xl[cC]* | bgxl[cC]* | mpixl[cC]*) # IBM XL C 8.0 on PPC (deal with xlf below)
9265           tmp_sharedflag='-qmkshrobj'
9266           tmp_addflag= ;;
9267         nvcc*)  # Cuda Compiler Driver 2.2
9268           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'
9269           compiler_needs_object=yes
9270           ;;
9271         esac
9272         case `$CC -V 2>&1 | sed 5q` in
9273         *Sun\ C*)                       # Sun C 5.9
9274           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'
9275           compiler_needs_object=yes
9276           tmp_sharedflag='-G' ;;
9277         *Sun\ F*)                       # Sun Fortran 8.3
9278           tmp_sharedflag='-G' ;;
9279         esac
9280         archive_cmds='$CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9281
9282         if test "x$supports_anon_versioning" = xyes; then
9283           archive_expsym_cmds='echo "{ global:" > $output_objdir/$libname.ver~
9284             cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
9285             echo "local: *; };" >> $output_objdir/$libname.ver~
9286             $CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-version-script ${wl}$output_objdir/$libname.ver -o $lib'
9287         fi
9288
9289         case $cc_basename in
9290         xlf* | bgf* | bgxlf* | mpixlf*)
9291           # IBM XL Fortran 10.1 on PPC cannot create shared libs itself
9292           whole_archive_flag_spec='--whole-archive$convenience --no-whole-archive'
9293           hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
9294           archive_cmds='$LD -shared $libobjs $deplibs $linker_flags -soname $soname -o $lib'
9295           if test "x$supports_anon_versioning" = xyes; then
9296             archive_expsym_cmds='echo "{ global:" > $output_objdir/$libname.ver~
9297               cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
9298               echo "local: *; };" >> $output_objdir/$libname.ver~
9299               $LD -shared $libobjs $deplibs $linker_flags -soname $soname -version-script $output_objdir/$libname.ver -o $lib'
9300           fi
9301           ;;
9302         esac
9303       else
9304         ld_shlibs=no
9305       fi
9306       ;;
9307
9308     netbsd*)
9309       if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
9310         archive_cmds='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib'
9311         wlarc=
9312       else
9313         archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9314         archive_expsym_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
9315       fi
9316       ;;
9317
9318     solaris*)
9319       if $LD -v 2>&1 | $GREP 'BFD 2\.8' > /dev/null; then
9320         ld_shlibs=no
9321         cat <<_LT_EOF 1>&2
9322
9323 *** Warning: The releases 2.8.* of the GNU linker cannot reliably
9324 *** create shared libraries on Solaris systems.  Therefore, libtool
9325 *** is disabling shared libraries support.  We urge you to upgrade GNU
9326 *** binutils to release 2.9.1 or newer.  Another option is to modify
9327 *** your PATH or compiler configuration so that the native linker is
9328 *** used, and then restart.
9329
9330 _LT_EOF
9331       elif $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
9332         archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9333         archive_expsym_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
9334       else
9335         ld_shlibs=no
9336       fi
9337       ;;
9338
9339     sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX*)
9340       case `$LD -v 2>&1` in
9341         *\ [01].* | *\ 2.[0-9].* | *\ 2.1[0-5].*)
9342         ld_shlibs=no
9343         cat <<_LT_EOF 1>&2
9344
9345 *** Warning: Releases of the GNU linker prior to 2.16.91.0.3 can not
9346 *** reliably create shared libraries on SCO systems.  Therefore, libtool
9347 *** is disabling shared libraries support.  We urge you to upgrade GNU
9348 *** binutils to release 2.16.91.0.3 or newer.  Another option is to modify
9349 *** your PATH or compiler configuration so that the native linker is
9350 *** used, and then restart.
9351
9352 _LT_EOF
9353         ;;
9354         *)
9355           # For security reasons, it is highly recommended that you always
9356           # use absolute paths for naming shared libraries, and exclude the
9357           # DT_RUNPATH tag from executables and libraries.  But doing so
9358           # requires that you compile everything twice, which is a pain.
9359           if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
9360             hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
9361             archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9362             archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
9363           else
9364             ld_shlibs=no
9365           fi
9366         ;;
9367       esac
9368       ;;
9369
9370     sunos4*)
9371       archive_cmds='$LD -assert pure-text -Bshareable -o $lib $libobjs $deplibs $linker_flags'
9372       wlarc=
9373       hardcode_direct=yes
9374       hardcode_shlibpath_var=no
9375       ;;
9376
9377     *)
9378       if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
9379         archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9380         archive_expsym_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
9381       else
9382         ld_shlibs=no
9383       fi
9384       ;;
9385     esac
9386
9387     if test "$ld_shlibs" = no; then
9388       runpath_var=
9389       hardcode_libdir_flag_spec=
9390       export_dynamic_flag_spec=
9391       whole_archive_flag_spec=
9392     fi
9393   else
9394     # PORTME fill in a description of your system's linker (not GNU ld)
9395     case $host_os in
9396     aix3*)
9397       allow_undefined_flag=unsupported
9398       always_export_symbols=yes
9399       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'
9400       # Note: this linker hardcodes the directories in LIBPATH if there
9401       # are no directories specified by -L.
9402       hardcode_minus_L=yes
9403       if test "$GCC" = yes && test -z "$lt_prog_compiler_static"; then
9404         # Neither direct hardcoding nor static linking is supported with a
9405         # broken collect2.
9406         hardcode_direct=unsupported
9407       fi
9408       ;;
9409
9410     aix[4-9]*)
9411       if test "$host_cpu" = ia64; then
9412         # On IA64, the linker does run time linking by default, so we don't
9413         # have to do anything special.
9414         aix_use_runtimelinking=no
9415         exp_sym_flag='-Bexport'
9416         no_entry_flag=""
9417       else
9418         # If we're using GNU nm, then we don't want the "-C" option.
9419         # -C means demangle to AIX nm, but means don't demangle with GNU nm
9420         # Also, AIX nm treats weak defined symbols like other global
9421         # defined symbols, whereas GNU nm marks them as "W".
9422         if $NM -V 2>&1 | $GREP 'GNU' > /dev/null; then
9423           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'
9424         else
9425           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'
9426         fi
9427         aix_use_runtimelinking=no
9428
9429         # Test if we are trying to use run time linking or normal
9430         # AIX style linking. If -brtl is somewhere in LDFLAGS, we
9431         # need to do runtime linking.
9432         case $host_os in aix4.[23]|aix4.[23].*|aix[5-9]*)
9433           for ld_flag in $LDFLAGS; do
9434           if (test $ld_flag = "-brtl" || test $ld_flag = "-Wl,-brtl"); then
9435             aix_use_runtimelinking=yes
9436             break
9437           fi
9438           done
9439           ;;
9440         esac
9441
9442         exp_sym_flag='-bexport'
9443         no_entry_flag='-bnoentry'
9444       fi
9445
9446       # When large executables or shared objects are built, AIX ld can
9447       # have problems creating the table of contents.  If linking a library
9448       # or program results in "error TOC overflow" add -mminimal-toc to
9449       # CXXFLAGS/CFLAGS for g++/gcc.  In the cases where that is not
9450       # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
9451
9452       archive_cmds=''
9453       hardcode_direct=yes
9454       hardcode_direct_absolute=yes
9455       hardcode_libdir_separator=':'
9456       link_all_deplibs=yes
9457       file_list_spec='${wl}-f,'
9458
9459       if test "$GCC" = yes; then
9460         case $host_os in aix4.[012]|aix4.[012].*)
9461         # We only want to do this on AIX 4.2 and lower, the check
9462         # below for broken collect2 doesn't work under 4.3+
9463           collect2name=`${CC} -print-prog-name=collect2`
9464           if test -f "$collect2name" &&
9465            strings "$collect2name" | $GREP resolve_lib_name >/dev/null
9466           then
9467           # We have reworked collect2
9468           :
9469           else
9470           # We have old collect2
9471           hardcode_direct=unsupported
9472           # It fails to find uninstalled libraries when the uninstalled
9473           # path is not listed in the libpath.  Setting hardcode_minus_L
9474           # to unsupported forces relinking
9475           hardcode_minus_L=yes
9476           hardcode_libdir_flag_spec='-L$libdir'
9477           hardcode_libdir_separator=
9478           fi
9479           ;;
9480         esac
9481         shared_flag='-shared'
9482         if test "$aix_use_runtimelinking" = yes; then
9483           shared_flag="$shared_flag "'${wl}-G'
9484         fi
9485       else
9486         # not using gcc
9487         if test "$host_cpu" = ia64; then
9488         # VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
9489         # chokes on -Wl,-G. The following line is correct:
9490           shared_flag='-G'
9491         else
9492           if test "$aix_use_runtimelinking" = yes; then
9493             shared_flag='${wl}-G'
9494           else
9495             shared_flag='${wl}-bM:SRE'
9496           fi
9497         fi
9498       fi
9499
9500       export_dynamic_flag_spec='${wl}-bexpall'
9501       # It seems that -bexpall does not export symbols beginning with
9502       # underscore (_), so it is better to generate a list of symbols to export.
9503       always_export_symbols=yes
9504       if test "$aix_use_runtimelinking" = yes; then
9505         # Warning - without using the other runtime loading flags (-brtl),
9506         # -berok will link without error, but may produce a broken library.
9507         allow_undefined_flag='-berok'
9508         # Determine the default libpath from the value encoded in an
9509         # empty executable.
9510         if test "${lt_cv_aix_libpath+set}" = set; then
9511   aix_libpath=$lt_cv_aix_libpath
9512 else
9513   if ${lt_cv_aix_libpath_+:} false; then :
9514   $as_echo_n "(cached) " >&6
9515 else
9516   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9517 /* end confdefs.h.  */
9518
9519 int
9520 main ()
9521 {
9522
9523   ;
9524   return 0;
9525 }
9526 _ACEOF
9527 if ac_fn_c_try_link "$LINENO"; then :
9528
9529   lt_aix_libpath_sed='
9530       /Import File Strings/,/^$/ {
9531           /^0/ {
9532               s/^0  *\([^ ]*\) *$/\1/
9533               p
9534           }
9535       }'
9536   lt_cv_aix_libpath_=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
9537   # Check for a 64-bit object if we didn't find anything.
9538   if test -z "$lt_cv_aix_libpath_"; then
9539     lt_cv_aix_libpath_=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
9540   fi
9541 fi
9542 rm -f core conftest.err conftest.$ac_objext \
9543     conftest$ac_exeext conftest.$ac_ext
9544   if test -z "$lt_cv_aix_libpath_"; then
9545     lt_cv_aix_libpath_="/usr/lib:/lib"
9546   fi
9547
9548 fi
9549
9550   aix_libpath=$lt_cv_aix_libpath_
9551 fi
9552
9553         hardcode_libdir_flag_spec='${wl}-blibpath:$libdir:'"$aix_libpath"
9554         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"
9555       else
9556         if test "$host_cpu" = ia64; then
9557           hardcode_libdir_flag_spec='${wl}-R $libdir:/usr/lib:/lib'
9558           allow_undefined_flag="-z nodefs"
9559           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"
9560         else
9561          # Determine the default libpath from the value encoded in an
9562          # empty executable.
9563          if test "${lt_cv_aix_libpath+set}" = set; then
9564   aix_libpath=$lt_cv_aix_libpath
9565 else
9566   if ${lt_cv_aix_libpath_+:} false; then :
9567   $as_echo_n "(cached) " >&6
9568 else
9569   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9570 /* end confdefs.h.  */
9571
9572 int
9573 main ()
9574 {
9575
9576   ;
9577   return 0;
9578 }
9579 _ACEOF
9580 if ac_fn_c_try_link "$LINENO"; then :
9581
9582   lt_aix_libpath_sed='
9583       /Import File Strings/,/^$/ {
9584           /^0/ {
9585               s/^0  *\([^ ]*\) *$/\1/
9586               p
9587           }
9588       }'
9589   lt_cv_aix_libpath_=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
9590   # Check for a 64-bit object if we didn't find anything.
9591   if test -z "$lt_cv_aix_libpath_"; then
9592     lt_cv_aix_libpath_=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
9593   fi
9594 fi
9595 rm -f core conftest.err conftest.$ac_objext \
9596     conftest$ac_exeext conftest.$ac_ext
9597   if test -z "$lt_cv_aix_libpath_"; then
9598     lt_cv_aix_libpath_="/usr/lib:/lib"
9599   fi
9600
9601 fi
9602
9603   aix_libpath=$lt_cv_aix_libpath_
9604 fi
9605
9606          hardcode_libdir_flag_spec='${wl}-blibpath:$libdir:'"$aix_libpath"
9607           # Warning - without using the other run time loading flags,
9608           # -berok will link without error, but may produce a broken library.
9609           no_undefined_flag=' ${wl}-bernotok'
9610           allow_undefined_flag=' ${wl}-berok'
9611           if test "$with_gnu_ld" = yes; then
9612             # We only use this code for GNU lds that support --whole-archive.
9613             whole_archive_flag_spec='${wl}--whole-archive$convenience ${wl}--no-whole-archive'
9614           else
9615             # Exported symbols can be pulled into shared objects from archives
9616             whole_archive_flag_spec='$convenience'
9617           fi
9618           archive_cmds_need_lc=yes
9619           # This is similar to how AIX traditionally builds its shared libraries.
9620           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'
9621         fi
9622       fi
9623       ;;
9624
9625     amigaos*)
9626       case $host_cpu in
9627       powerpc)
9628             # see comment about AmigaOS4 .so support
9629             archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9630             archive_expsym_cmds=''
9631         ;;
9632       m68k)
9633             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)'
9634             hardcode_libdir_flag_spec='-L$libdir'
9635             hardcode_minus_L=yes
9636         ;;
9637       esac
9638       ;;
9639
9640     bsdi[45]*)
9641       export_dynamic_flag_spec=-rdynamic
9642       ;;
9643
9644     cygwin* | mingw* | pw32* | cegcc*)
9645       # When not using gcc, we currently assume that we are using
9646       # Microsoft Visual C++.
9647       # hardcode_libdir_flag_spec is actually meaningless, as there is
9648       # no search path for DLLs.
9649       case $cc_basename in
9650       cl*)
9651         # Native MSVC
9652         hardcode_libdir_flag_spec=' '
9653         allow_undefined_flag=unsupported
9654         always_export_symbols=yes
9655         file_list_spec='@'
9656         # Tell ltmain to make .lib files, not .a files.
9657         libext=lib
9658         # Tell ltmain to make .dll files, not .so files.
9659         shrext_cmds=".dll"
9660         # FIXME: Setting linknames here is a bad hack.
9661         archive_cmds='$CC -o $output_objdir/$soname $libobjs $compiler_flags $deplibs -Wl,-dll~linknames='
9662         archive_expsym_cmds='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
9663             sed -n -e 's/\\\\\\\(.*\\\\\\\)/-link\\\ -EXPORT:\\\\\\\1/' -e '1\\\!p' < $export_symbols > $output_objdir/$soname.exp;
9664           else
9665             sed -e 's/\\\\\\\(.*\\\\\\\)/-link\\\ -EXPORT:\\\\\\\1/' < $export_symbols > $output_objdir/$soname.exp;
9666           fi~
9667           $CC -o $tool_output_objdir$soname $libobjs $compiler_flags $deplibs "@$tool_output_objdir$soname.exp" -Wl,-DLL,-IMPLIB:"$tool_output_objdir$libname.dll.lib"~
9668           linknames='
9669         # The linker will not automatically build a static lib if we build a DLL.
9670         # _LT_TAGVAR(old_archive_from_new_cmds, )='true'
9671         enable_shared_with_static_runtimes=yes
9672         exclude_expsyms='_NULL_IMPORT_DESCRIPTOR|_IMPORT_DESCRIPTOR_.*'
9673         export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS][ ]/s/.*[ ]\([^ ]*\)/\1,DATA/'\'' | $SED -e '\''/^[AITW][ ]/s/.*[ ]//'\'' | sort | uniq > $export_symbols'
9674         # Don't use ranlib
9675         old_postinstall_cmds='chmod 644 $oldlib'
9676         postlink_cmds='lt_outputfile="@OUTPUT@"~
9677           lt_tool_outputfile="@TOOL_OUTPUT@"~
9678           case $lt_outputfile in
9679             *.exe|*.EXE) ;;
9680             *)
9681               lt_outputfile="$lt_outputfile.exe"
9682               lt_tool_outputfile="$lt_tool_outputfile.exe"
9683               ;;
9684           esac~
9685           if test "$MANIFEST_TOOL" != ":" && test -f "$lt_outputfile.manifest"; then
9686             $MANIFEST_TOOL -manifest "$lt_tool_outputfile.manifest" -outputresource:"$lt_tool_outputfile" || exit 1;
9687             $RM "$lt_outputfile.manifest";
9688           fi'
9689         ;;
9690       *)
9691         # Assume MSVC wrapper
9692         hardcode_libdir_flag_spec=' '
9693         allow_undefined_flag=unsupported
9694         # Tell ltmain to make .lib files, not .a files.
9695         libext=lib
9696         # Tell ltmain to make .dll files, not .so files.
9697         shrext_cmds=".dll"
9698         # FIXME: Setting linknames here is a bad hack.
9699         archive_cmds='$CC -o $lib $libobjs $compiler_flags `func_echo_all "$deplibs" | $SED '\''s/ -lc$//'\''` -link -dll~linknames='
9700         # The linker will automatically build a .lib file if we build a DLL.
9701         old_archive_from_new_cmds='true'
9702         # FIXME: Should let the user specify the lib program.
9703         old_archive_cmds='lib -OUT:$oldlib$oldobjs$old_deplibs'
9704         enable_shared_with_static_runtimes=yes
9705         ;;
9706       esac
9707       ;;
9708
9709     darwin* | rhapsody*)
9710
9711
9712   archive_cmds_need_lc=no
9713   hardcode_direct=no
9714   hardcode_automatic=yes
9715   hardcode_shlibpath_var=unsupported
9716   if test "$lt_cv_ld_force_load" = "yes"; then
9717     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\"`'
9718
9719   else
9720     whole_archive_flag_spec=''
9721   fi
9722   link_all_deplibs=yes
9723   allow_undefined_flag="$_lt_dar_allow_undefined"
9724   case $cc_basename in
9725      ifort*) _lt_dar_can_shared=yes ;;
9726      *) _lt_dar_can_shared=$GCC ;;
9727   esac
9728   if test "$_lt_dar_can_shared" = "yes"; then
9729     output_verbose_link_cmd=func_echo_all
9730     archive_cmds="\$CC -dynamiclib \$allow_undefined_flag -o \$lib \$libobjs \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring $_lt_dar_single_mod${_lt_dsymutil}"
9731     module_cmds="\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags${_lt_dsymutil}"
9732     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}"
9733     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}"
9734
9735   else
9736   ld_shlibs=no
9737   fi
9738
9739       ;;
9740
9741     dgux*)
9742       archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
9743       hardcode_libdir_flag_spec='-L$libdir'
9744       hardcode_shlibpath_var=no
9745       ;;
9746
9747     # FreeBSD 2.2.[012] allows us to include c++rt0.o to get C++ constructor
9748     # support.  Future versions do this automatically, but an explicit c++rt0.o
9749     # does not break anything, and helps significantly (at the cost of a little
9750     # extra space).
9751     freebsd2.2*)
9752       archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags /usr/lib/c++rt0.o'
9753       hardcode_libdir_flag_spec='-R$libdir'
9754       hardcode_direct=yes
9755       hardcode_shlibpath_var=no
9756       ;;
9757
9758     # Unfortunately, older versions of FreeBSD 2 do not have this feature.
9759     freebsd2.*)
9760       archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
9761       hardcode_direct=yes
9762       hardcode_minus_L=yes
9763       hardcode_shlibpath_var=no
9764       ;;
9765
9766     # FreeBSD 3 and greater uses gcc -shared to do shared libraries.
9767     freebsd* | dragonfly*)
9768       archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
9769       hardcode_libdir_flag_spec='-R$libdir'
9770       hardcode_direct=yes
9771       hardcode_shlibpath_var=no
9772       ;;
9773
9774     hpux9*)
9775       if test "$GCC" = yes; then
9776         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'
9777       else
9778         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'
9779       fi
9780       hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
9781       hardcode_libdir_separator=:
9782       hardcode_direct=yes
9783
9784       # hardcode_minus_L: Not really in the search PATH,
9785       # but as the default location of the library.
9786       hardcode_minus_L=yes
9787       export_dynamic_flag_spec='${wl}-E'
9788       ;;
9789
9790     hpux10*)
9791       if test "$GCC" = yes && test "$with_gnu_ld" = no; then
9792         archive_cmds='$CC -shared $pic_flag ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
9793       else
9794         archive_cmds='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
9795       fi
9796       if test "$with_gnu_ld" = no; then
9797         hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
9798         hardcode_libdir_separator=:
9799         hardcode_direct=yes
9800         hardcode_direct_absolute=yes
9801         export_dynamic_flag_spec='${wl}-E'
9802         # hardcode_minus_L: Not really in the search PATH,
9803         # but as the default location of the library.
9804         hardcode_minus_L=yes
9805       fi
9806       ;;
9807
9808     hpux11*)
9809       if test "$GCC" = yes && test "$with_gnu_ld" = no; then
9810         case $host_cpu in
9811         hppa*64*)
9812           archive_cmds='$CC -shared ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
9813           ;;
9814         ia64*)
9815           archive_cmds='$CC -shared $pic_flag ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
9816           ;;
9817         *)
9818           archive_cmds='$CC -shared $pic_flag ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
9819           ;;
9820         esac
9821       else
9822         case $host_cpu in
9823         hppa*64*)
9824           archive_cmds='$CC -b ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
9825           ;;
9826         ia64*)
9827           archive_cmds='$CC -b ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
9828           ;;
9829         *)
9830
9831           # Older versions of the 11.00 compiler do not understand -b yet
9832           # (HP92453-01 A.11.01.20 doesn't, HP92453-01 B.11.X.35175-35176.GP does)
9833           { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC understands -b" >&5
9834 $as_echo_n "checking if $CC understands -b... " >&6; }
9835 if ${lt_cv_prog_compiler__b+:} false; then :
9836   $as_echo_n "(cached) " >&6
9837 else
9838   lt_cv_prog_compiler__b=no
9839    save_LDFLAGS="$LDFLAGS"
9840    LDFLAGS="$LDFLAGS -b"
9841    echo "$lt_simple_link_test_code" > conftest.$ac_ext
9842    if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
9843      # The linker can only warn and ignore the option if not recognized
9844      # So say no if there are warnings
9845      if test -s conftest.err; then
9846        # Append any errors to the config.log.
9847        cat conftest.err 1>&5
9848        $ECHO "$_lt_linker_boilerplate" | $SED '/^$/d' > conftest.exp
9849        $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
9850        if diff conftest.exp conftest.er2 >/dev/null; then
9851          lt_cv_prog_compiler__b=yes
9852        fi
9853      else
9854        lt_cv_prog_compiler__b=yes
9855      fi
9856    fi
9857    $RM -r conftest*
9858    LDFLAGS="$save_LDFLAGS"
9859
9860 fi
9861 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler__b" >&5
9862 $as_echo "$lt_cv_prog_compiler__b" >&6; }
9863
9864 if test x"$lt_cv_prog_compiler__b" = xyes; then
9865     archive_cmds='$CC -b ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
9866 else
9867     archive_cmds='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
9868 fi
9869
9870           ;;
9871         esac
9872       fi
9873       if test "$with_gnu_ld" = no; then
9874         hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
9875         hardcode_libdir_separator=:
9876
9877         case $host_cpu in
9878         hppa*64*|ia64*)
9879           hardcode_direct=no
9880           hardcode_shlibpath_var=no
9881           ;;
9882         *)
9883           hardcode_direct=yes
9884           hardcode_direct_absolute=yes
9885           export_dynamic_flag_spec='${wl}-E'
9886
9887           # hardcode_minus_L: Not really in the search PATH,
9888           # but as the default location of the library.
9889           hardcode_minus_L=yes
9890           ;;
9891         esac
9892       fi
9893       ;;
9894
9895     irix5* | irix6* | nonstopux*)
9896       if test "$GCC" = yes; then
9897         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'
9898         # Try to use the -exported_symbol ld option, if it does not
9899         # work, assume that -exports_file does not work either and
9900         # implicitly export all symbols.
9901         # This should be the same for all languages, so no per-tag cache variable.
9902         { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $host_os linker accepts -exported_symbol" >&5
9903 $as_echo_n "checking whether the $host_os linker accepts -exported_symbol... " >&6; }
9904 if ${lt_cv_irix_exported_symbol+:} false; then :
9905   $as_echo_n "(cached) " >&6
9906 else
9907   save_LDFLAGS="$LDFLAGS"
9908            LDFLAGS="$LDFLAGS -shared ${wl}-exported_symbol ${wl}foo ${wl}-update_registry ${wl}/dev/null"
9909            cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9910 /* end confdefs.h.  */
9911 int foo (void) { return 0; }
9912 _ACEOF
9913 if ac_fn_c_try_link "$LINENO"; then :
9914   lt_cv_irix_exported_symbol=yes
9915 else
9916   lt_cv_irix_exported_symbol=no
9917 fi
9918 rm -f core conftest.err conftest.$ac_objext \
9919     conftest$ac_exeext conftest.$ac_ext
9920            LDFLAGS="$save_LDFLAGS"
9921 fi
9922 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_irix_exported_symbol" >&5
9923 $as_echo "$lt_cv_irix_exported_symbol" >&6; }
9924         if test "$lt_cv_irix_exported_symbol" = yes; then
9925           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'
9926         fi
9927       else
9928         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'
9929         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'
9930       fi
9931       archive_cmds_need_lc='no'
9932       hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
9933       hardcode_libdir_separator=:
9934       inherit_rpath=yes
9935       link_all_deplibs=yes
9936       ;;
9937
9938     netbsd*)
9939       if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
9940         archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'  # a.out
9941       else
9942         archive_cmds='$LD -shared -o $lib $libobjs $deplibs $linker_flags'      # ELF
9943       fi
9944       hardcode_libdir_flag_spec='-R$libdir'
9945       hardcode_direct=yes
9946       hardcode_shlibpath_var=no
9947       ;;
9948
9949     newsos6)
9950       archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
9951       hardcode_direct=yes
9952       hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
9953       hardcode_libdir_separator=:
9954       hardcode_shlibpath_var=no
9955       ;;
9956
9957     *nto* | *qnx*)
9958       ;;
9959
9960     openbsd*)
9961       if test -f /usr/libexec/ld.so; then
9962         hardcode_direct=yes
9963         hardcode_shlibpath_var=no
9964         hardcode_direct_absolute=yes
9965         if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
9966           archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
9967           archive_expsym_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-retain-symbols-file,$export_symbols'
9968           hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
9969           export_dynamic_flag_spec='${wl}-E'
9970         else
9971           case $host_os in
9972            openbsd[01].* | openbsd2.[0-7] | openbsd2.[0-7].*)
9973              archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
9974              hardcode_libdir_flag_spec='-R$libdir'
9975              ;;
9976            *)
9977              archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
9978              hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
9979              ;;
9980           esac
9981         fi
9982       else
9983         ld_shlibs=no
9984       fi
9985       ;;
9986
9987     os2*)
9988       hardcode_libdir_flag_spec='-L$libdir'
9989       hardcode_minus_L=yes
9990       allow_undefined_flag=unsupported
9991       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'
9992       old_archive_from_new_cmds='emximp -o $output_objdir/$libname.a $output_objdir/$libname.def'
9993       ;;
9994
9995     osf3*)
9996       if test "$GCC" = yes; then
9997         allow_undefined_flag=' ${wl}-expect_unresolved ${wl}\*'
9998         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'
9999       else
10000         allow_undefined_flag=' -expect_unresolved \*'
10001         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'
10002       fi
10003       archive_cmds_need_lc='no'
10004       hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
10005       hardcode_libdir_separator=:
10006       ;;
10007
10008     osf4* | osf5*)      # as osf3* with the addition of -msym flag
10009       if test "$GCC" = yes; then
10010         allow_undefined_flag=' ${wl}-expect_unresolved ${wl}\*'
10011         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'
10012         hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
10013       else
10014         allow_undefined_flag=' -expect_unresolved \*'
10015         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'
10016         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~
10017         $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'
10018
10019         # Both c and cxx compiler support -rpath directly
10020         hardcode_libdir_flag_spec='-rpath $libdir'
10021       fi
10022       archive_cmds_need_lc='no'
10023       hardcode_libdir_separator=:
10024       ;;
10025
10026     solaris*)
10027       no_undefined_flag=' -z defs'
10028       if test "$GCC" = yes; then
10029         wlarc='${wl}'
10030         archive_cmds='$CC -shared $pic_flag ${wl}-z ${wl}text ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
10031         archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
10032           $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'
10033       else
10034         case `$CC -V 2>&1` in
10035         *"Compilers 5.0"*)
10036           wlarc=''
10037           archive_cmds='$LD -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $linker_flags'
10038           archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
10039           $LD -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$RM $lib.exp'
10040           ;;
10041         *)
10042           wlarc='${wl}'
10043           archive_cmds='$CC -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $compiler_flags'
10044           archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
10045           $CC -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $compiler_flags~$RM $lib.exp'
10046           ;;
10047         esac
10048       fi
10049       hardcode_libdir_flag_spec='-R$libdir'
10050       hardcode_shlibpath_var=no
10051       case $host_os in
10052       solaris2.[0-5] | solaris2.[0-5].*) ;;
10053       *)
10054         # The compiler driver will combine and reorder linker options,
10055         # but understands `-z linker_flag'.  GCC discards it without `$wl',
10056         # but is careful enough not to reorder.
10057         # Supported since Solaris 2.6 (maybe 2.5.1?)
10058         if test "$GCC" = yes; then
10059           whole_archive_flag_spec='${wl}-z ${wl}allextract$convenience ${wl}-z ${wl}defaultextract'
10060         else
10061           whole_archive_flag_spec='-z allextract$convenience -z defaultextract'
10062         fi
10063         ;;
10064       esac
10065       link_all_deplibs=yes
10066       ;;
10067
10068     sunos4*)
10069       if test "x$host_vendor" = xsequent; then
10070         # Use $CC to link under sequent, because it throws in some extra .o
10071         # files that make .init and .fini sections work.
10072         archive_cmds='$CC -G ${wl}-h $soname -o $lib $libobjs $deplibs $compiler_flags'
10073       else
10074         archive_cmds='$LD -assert pure-text -Bstatic -o $lib $libobjs $deplibs $linker_flags'
10075       fi
10076       hardcode_libdir_flag_spec='-L$libdir'
10077       hardcode_direct=yes
10078       hardcode_minus_L=yes
10079       hardcode_shlibpath_var=no
10080       ;;
10081
10082     sysv4)
10083       case $host_vendor in
10084         sni)
10085           archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
10086           hardcode_direct=yes # is this really true???
10087         ;;
10088         siemens)
10089           ## LD is ld it makes a PLAMLIB
10090           ## CC just makes a GrossModule.
10091           archive_cmds='$LD -G -o $lib $libobjs $deplibs $linker_flags'
10092           reload_cmds='$CC -r -o $output$reload_objs'
10093           hardcode_direct=no
10094         ;;
10095         motorola)
10096           archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
10097           hardcode_direct=no #Motorola manual says yes, but my tests say they lie
10098         ;;
10099       esac
10100       runpath_var='LD_RUN_PATH'
10101       hardcode_shlibpath_var=no
10102       ;;
10103
10104     sysv4.3*)
10105       archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
10106       hardcode_shlibpath_var=no
10107       export_dynamic_flag_spec='-Bexport'
10108       ;;
10109
10110     sysv4*MP*)
10111       if test -d /usr/nec; then
10112         archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
10113         hardcode_shlibpath_var=no
10114         runpath_var=LD_RUN_PATH
10115         hardcode_runpath_var=yes
10116         ld_shlibs=yes
10117       fi
10118       ;;
10119
10120     sysv4*uw2* | sysv5OpenUNIX* | sysv5UnixWare7.[01].[10]* | unixware7* | sco3.2v5.0.[024]*)
10121       no_undefined_flag='${wl}-z,text'
10122       archive_cmds_need_lc=no
10123       hardcode_shlibpath_var=no
10124       runpath_var='LD_RUN_PATH'
10125
10126       if test "$GCC" = yes; then
10127         archive_cmds='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10128         archive_expsym_cmds='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10129       else
10130         archive_cmds='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10131         archive_expsym_cmds='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10132       fi
10133       ;;
10134
10135     sysv5* | sco3.2v5* | sco5v6*)
10136       # Note: We can NOT use -z defs as we might desire, because we do not
10137       # link with -lc, and that would cause any symbols used from libc to
10138       # always be unresolved, which means just about no library would
10139       # ever link correctly.  If we're not using GNU ld we use -z text
10140       # though, which does catch some bad symbols but isn't as heavy-handed
10141       # as -z defs.
10142       no_undefined_flag='${wl}-z,text'
10143       allow_undefined_flag='${wl}-z,nodefs'
10144       archive_cmds_need_lc=no
10145       hardcode_shlibpath_var=no
10146       hardcode_libdir_flag_spec='${wl}-R,$libdir'
10147       hardcode_libdir_separator=':'
10148       link_all_deplibs=yes
10149       export_dynamic_flag_spec='${wl}-Bexport'
10150       runpath_var='LD_RUN_PATH'
10151
10152       if test "$GCC" = yes; then
10153         archive_cmds='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10154         archive_expsym_cmds='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10155       else
10156         archive_cmds='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10157         archive_expsym_cmds='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10158       fi
10159       ;;
10160
10161     uts4*)
10162       archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
10163       hardcode_libdir_flag_spec='-L$libdir'
10164       hardcode_shlibpath_var=no
10165       ;;
10166
10167     *)
10168       ld_shlibs=no
10169       ;;
10170     esac
10171
10172     if test x$host_vendor = xsni; then
10173       case $host in
10174       sysv4 | sysv4.2uw2* | sysv4.3* | sysv5*)
10175         export_dynamic_flag_spec='${wl}-Blargedynsym'
10176         ;;
10177       esac
10178     fi
10179   fi
10180
10181 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ld_shlibs" >&5
10182 $as_echo "$ld_shlibs" >&6; }
10183 test "$ld_shlibs" = no && can_build_shared=no
10184
10185 with_gnu_ld=$with_gnu_ld
10186
10187
10188
10189
10190
10191
10192
10193
10194
10195
10196
10197
10198
10199
10200
10201 #
10202 # Do we need to explicitly link libc?
10203 #
10204 case "x$archive_cmds_need_lc" in
10205 x|xyes)
10206   # Assume -lc should be added
10207   archive_cmds_need_lc=yes
10208
10209   if test "$enable_shared" = yes && test "$GCC" = yes; then
10210     case $archive_cmds in
10211     *'~'*)
10212       # FIXME: we may have to deal with multi-command sequences.
10213       ;;
10214     '$CC '*)
10215       # Test whether the compiler implicitly links with -lc since on some
10216       # systems, -lgcc has to come before -lc. If gcc already passes -lc
10217       # to ld, don't add -lc before -lgcc.
10218       { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether -lc should be explicitly linked in" >&5
10219 $as_echo_n "checking whether -lc should be explicitly linked in... " >&6; }
10220 if ${lt_cv_archive_cmds_need_lc+:} false; then :
10221   $as_echo_n "(cached) " >&6
10222 else
10223   $RM conftest*
10224         echo "$lt_simple_compile_test_code" > conftest.$ac_ext
10225
10226         if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
10227   (eval $ac_compile) 2>&5
10228   ac_status=$?
10229   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
10230   test $ac_status = 0; } 2>conftest.err; then
10231           soname=conftest
10232           lib=conftest
10233           libobjs=conftest.$ac_objext
10234           deplibs=
10235           wl=$lt_prog_compiler_wl
10236           pic_flag=$lt_prog_compiler_pic
10237           compiler_flags=-v
10238           linker_flags=-v
10239           verstring=
10240           output_objdir=.
10241           libname=conftest
10242           lt_save_allow_undefined_flag=$allow_undefined_flag
10243           allow_undefined_flag=
10244           if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$archive_cmds 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1\""; } >&5
10245   (eval $archive_cmds 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1) 2>&5
10246   ac_status=$?
10247   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
10248   test $ac_status = 0; }
10249           then
10250             lt_cv_archive_cmds_need_lc=no
10251           else
10252             lt_cv_archive_cmds_need_lc=yes
10253           fi
10254           allow_undefined_flag=$lt_save_allow_undefined_flag
10255         else
10256           cat conftest.err 1>&5
10257         fi
10258         $RM conftest*
10259
10260 fi
10261 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_archive_cmds_need_lc" >&5
10262 $as_echo "$lt_cv_archive_cmds_need_lc" >&6; }
10263       archive_cmds_need_lc=$lt_cv_archive_cmds_need_lc
10264       ;;
10265     esac
10266   fi
10267   ;;
10268 esac
10269
10270
10271
10272
10273
10274
10275
10276
10277
10278
10279
10280
10281
10282
10283
10284
10285
10286
10287
10288
10289
10290
10291
10292
10293
10294
10295
10296
10297
10298
10299
10300
10301
10302
10303
10304
10305
10306
10307
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   { $as_echo "$as_me:${as_lineno-$LINENO}: checking dynamic linker characteristics" >&5
10422 $as_echo_n "checking dynamic linker characteristics... " >&6; }
10423
10424 if test "$GCC" = yes; then
10425   case $host_os in
10426     darwin*) lt_awk_arg="/^libraries:/,/LR/" ;;
10427     *) lt_awk_arg="/^libraries:/" ;;
10428   esac
10429   case $host_os in
10430     mingw* | cegcc*) lt_sed_strip_eq="s,=\([A-Za-z]:\),\1,g" ;;
10431     *) lt_sed_strip_eq="s,=/,/,g" ;;
10432   esac
10433   lt_search_path_spec=`$CC -print-search-dirs | awk $lt_awk_arg | $SED -e "s/^libraries://" -e $lt_sed_strip_eq`
10434   case $lt_search_path_spec in
10435   *\;*)
10436     # if the path contains ";" then we assume it to be the separator
10437     # otherwise default to the standard path separator (i.e. ":") - it is
10438     # assumed that no part of a normal pathname contains ";" but that should
10439     # okay in the real world where ";" in dirpaths is itself problematic.
10440     lt_search_path_spec=`$ECHO "$lt_search_path_spec" | $SED 's/;/ /g'`
10441     ;;
10442   *)
10443     lt_search_path_spec=`$ECHO "$lt_search_path_spec" | $SED "s/$PATH_SEPARATOR/ /g"`
10444     ;;
10445   esac
10446   # Ok, now we have the path, separated by spaces, we can step through it
10447   # and add multilib dir if necessary.
10448   lt_tmp_lt_search_path_spec=
10449   lt_multi_os_dir=`$CC $CPPFLAGS $CFLAGS $LDFLAGS -print-multi-os-directory 2>/dev/null`
10450   for lt_sys_path in $lt_search_path_spec; do
10451     if test -d "$lt_sys_path/$lt_multi_os_dir"; then
10452       lt_tmp_lt_search_path_spec="$lt_tmp_lt_search_path_spec $lt_sys_path/$lt_multi_os_dir"
10453     else
10454       test -d "$lt_sys_path" && \
10455         lt_tmp_lt_search_path_spec="$lt_tmp_lt_search_path_spec $lt_sys_path"
10456     fi
10457   done
10458   lt_search_path_spec=`$ECHO "$lt_tmp_lt_search_path_spec" | awk '
10459 BEGIN {RS=" "; FS="/|\n";} {
10460   lt_foo="";
10461   lt_count=0;
10462   for (lt_i = NF; lt_i > 0; lt_i--) {
10463     if ($lt_i != "" && $lt_i != ".") {
10464       if ($lt_i == "..") {
10465         lt_count++;
10466       } else {
10467         if (lt_count == 0) {
10468           lt_foo="/" $lt_i lt_foo;
10469         } else {
10470           lt_count--;
10471         }
10472       }
10473     }
10474   }
10475   if (lt_foo != "") { lt_freq[lt_foo]++; }
10476   if (lt_freq[lt_foo] == 1) { print lt_foo; }
10477 }'`
10478   # AWK program above erroneously prepends '/' to C:/dos/paths
10479   # for these hosts.
10480   case $host_os in
10481     mingw* | cegcc*) lt_search_path_spec=`$ECHO "$lt_search_path_spec" |\
10482       $SED 's,/\([A-Za-z]:\),\1,g'` ;;
10483   esac
10484   sys_lib_search_path_spec=`$ECHO "$lt_search_path_spec" | $lt_NL2SP`
10485 else
10486   sys_lib_search_path_spec="/lib /usr/lib /usr/local/lib"
10487 fi
10488 library_names_spec=
10489 libname_spec='lib$name'
10490 soname_spec=
10491 shrext_cmds=".so"
10492 postinstall_cmds=
10493 postuninstall_cmds=
10494 finish_cmds=
10495 finish_eval=
10496 shlibpath_var=
10497 shlibpath_overrides_runpath=unknown
10498 version_type=none
10499 dynamic_linker="$host_os ld.so"
10500 sys_lib_dlsearch_path_spec="/lib /usr/lib"
10501 need_lib_prefix=unknown
10502 hardcode_into_libs=no
10503
10504 # when you set need_version to no, make sure it does not cause -set_version
10505 # flags to be left without arguments
10506 need_version=unknown
10507
10508 case $host_os in
10509 aix3*)
10510   version_type=linux # correct to gnu/linux during the next big refactor
10511   library_names_spec='${libname}${release}${shared_ext}$versuffix $libname.a'
10512   shlibpath_var=LIBPATH
10513
10514   # AIX 3 has no versioning support, so we append a major version to the name.
10515   soname_spec='${libname}${release}${shared_ext}$major'
10516   ;;
10517
10518 aix[4-9]*)
10519   version_type=linux # correct to gnu/linux during the next big refactor
10520   need_lib_prefix=no
10521   need_version=no
10522   hardcode_into_libs=yes
10523   if test "$host_cpu" = ia64; then
10524     # AIX 5 supports IA64
10525     library_names_spec='${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext}$versuffix $libname${shared_ext}'
10526     shlibpath_var=LD_LIBRARY_PATH
10527   else
10528     # With GCC up to 2.95.x, collect2 would create an import file
10529     # for dependence libraries.  The import file would start with
10530     # the line `#! .'.  This would cause the generated library to
10531     # depend on `.', always an invalid library.  This was fixed in
10532     # development snapshots of GCC prior to 3.0.
10533     case $host_os in
10534       aix4 | aix4.[01] | aix4.[01].*)
10535       if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
10536            echo ' yes '
10537            echo '#endif'; } | ${CC} -E - | $GREP yes > /dev/null; then
10538         :
10539       else
10540         can_build_shared=no
10541       fi
10542       ;;
10543     esac
10544     # AIX (on Power*) has no versioning support, so currently we can not hardcode correct
10545     # soname into executable. Probably we can add versioning support to
10546     # collect2, so additional links can be useful in future.
10547     if test "$aix_use_runtimelinking" = yes; then
10548       # If using run time linking (on AIX 4.2 or later) use lib<name>.so
10549       # instead of lib<name>.a to let people know that these are not
10550       # typical AIX shared libraries.
10551       library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10552     else
10553       # We preserve .a as extension for shared libraries through AIX4.2
10554       # and later when we are not doing run time linking.
10555       library_names_spec='${libname}${release}.a $libname.a'
10556       soname_spec='${libname}${release}${shared_ext}$major'
10557     fi
10558     shlibpath_var=LIBPATH
10559   fi
10560   ;;
10561
10562 amigaos*)
10563   case $host_cpu in
10564   powerpc)
10565     # Since July 2007 AmigaOS4 officially supports .so libraries.
10566     # When compiling the executable, add -use-dynld -Lsobjs: to the compileline.
10567     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10568     ;;
10569   m68k)
10570     library_names_spec='$libname.ixlibrary $libname.a'
10571     # Create ${libname}_ixlibrary.a entries in /sys/libs.
10572     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'
10573     ;;
10574   esac
10575   ;;
10576
10577 beos*)
10578   library_names_spec='${libname}${shared_ext}'
10579   dynamic_linker="$host_os ld.so"
10580   shlibpath_var=LIBRARY_PATH
10581   ;;
10582
10583 bsdi[45]*)
10584   version_type=linux # correct to gnu/linux during the next big refactor
10585   need_version=no
10586   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10587   soname_spec='${libname}${release}${shared_ext}$major'
10588   finish_cmds='PATH="\$PATH:/sbin" ldconfig $libdir'
10589   shlibpath_var=LD_LIBRARY_PATH
10590   sys_lib_search_path_spec="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
10591   sys_lib_dlsearch_path_spec="/shlib /usr/lib /usr/local/lib"
10592   # the default ld.so.conf also contains /usr/contrib/lib and
10593   # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
10594   # libtool to hard-code these into programs
10595   ;;
10596
10597 cygwin* | mingw* | pw32* | cegcc*)
10598   version_type=windows
10599   shrext_cmds=".dll"
10600   need_version=no
10601   need_lib_prefix=no
10602
10603   case $GCC,$cc_basename in
10604   yes,*)
10605     # gcc
10606     library_names_spec='$libname.dll.a'
10607     # DLL is installed to $(libdir)/../bin by postinstall_cmds
10608     postinstall_cmds='base_file=`basename \${file}`~
10609       dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i; echo \$dlname'\''`~
10610       dldir=$destdir/`dirname \$dlpath`~
10611       test -d \$dldir || mkdir -p \$dldir~
10612       $install_prog $dir/$dlname \$dldir/$dlname~
10613       chmod a+x \$dldir/$dlname~
10614       if test -n '\''$stripme'\'' && test -n '\''$striplib'\''; then
10615         eval '\''$striplib \$dldir/$dlname'\'' || exit \$?;
10616       fi'
10617     postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
10618       dlpath=$dir/\$dldll~
10619        $RM \$dlpath'
10620     shlibpath_overrides_runpath=yes
10621
10622     case $host_os in
10623     cygwin*)
10624       # Cygwin DLLs use 'cyg' prefix rather than 'lib'
10625       soname_spec='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
10626
10627       sys_lib_search_path_spec="$sys_lib_search_path_spec /usr/lib/w32api"
10628       ;;
10629     mingw* | cegcc*)
10630       # MinGW DLLs use traditional 'lib' prefix
10631       soname_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
10632       ;;
10633     pw32*)
10634       # pw32 DLLs use 'pw' prefix rather than 'lib'
10635       library_names_spec='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
10636       ;;
10637     esac
10638     dynamic_linker='Win32 ld.exe'
10639     ;;
10640
10641   *,cl*)
10642     # Native MSVC
10643     libname_spec='$name'
10644     soname_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
10645     library_names_spec='${libname}.dll.lib'
10646
10647     case $build_os in
10648     mingw*)
10649       sys_lib_search_path_spec=
10650       lt_save_ifs=$IFS
10651       IFS=';'
10652       for lt_path in $LIB
10653       do
10654         IFS=$lt_save_ifs
10655         # Let DOS variable expansion print the short 8.3 style file name.
10656         lt_path=`cd "$lt_path" 2>/dev/null && cmd //C "for %i in (".") do @echo %~si"`
10657         sys_lib_search_path_spec="$sys_lib_search_path_spec $lt_path"
10658       done
10659       IFS=$lt_save_ifs
10660       # Convert to MSYS style.
10661       sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | sed -e 's|\\\\|/|g' -e 's| \\([a-zA-Z]\\):| /\\1|g' -e 's|^ ||'`
10662       ;;
10663     cygwin*)
10664       # Convert to unix form, then to dos form, then back to unix form
10665       # but this time dos style (no spaces!) so that the unix form looks
10666       # like /cygdrive/c/PROGRA~1:/cygdr...
10667       sys_lib_search_path_spec=`cygpath --path --unix "$LIB"`
10668       sys_lib_search_path_spec=`cygpath --path --dos "$sys_lib_search_path_spec" 2>/dev/null`
10669       sys_lib_search_path_spec=`cygpath --path --unix "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
10670       ;;
10671     *)
10672       sys_lib_search_path_spec="$LIB"
10673       if $ECHO "$sys_lib_search_path_spec" | $GREP ';[c-zC-Z]:/' >/dev/null; then
10674         # It is most probably a Windows format PATH.
10675         sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
10676       else
10677         sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
10678       fi
10679       # FIXME: find the short name or the path components, as spaces are
10680       # common. (e.g. "Program Files" -> "PROGRA~1")
10681       ;;
10682     esac
10683
10684     # DLL is installed to $(libdir)/../bin by postinstall_cmds
10685     postinstall_cmds='base_file=`basename \${file}`~
10686       dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i; echo \$dlname'\''`~
10687       dldir=$destdir/`dirname \$dlpath`~
10688       test -d \$dldir || mkdir -p \$dldir~
10689       $install_prog $dir/$dlname \$dldir/$dlname'
10690     postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
10691       dlpath=$dir/\$dldll~
10692        $RM \$dlpath'
10693     shlibpath_overrides_runpath=yes
10694     dynamic_linker='Win32 link.exe'
10695     ;;
10696
10697   *)
10698     # Assume MSVC wrapper
10699     library_names_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext} $libname.lib'
10700     dynamic_linker='Win32 ld.exe'
10701     ;;
10702   esac
10703   # FIXME: first we should search . and the directory the executable is in
10704   shlibpath_var=PATH
10705   ;;
10706
10707 darwin* | rhapsody*)
10708   dynamic_linker="$host_os dyld"
10709   version_type=darwin
10710   need_lib_prefix=no
10711   need_version=no
10712   library_names_spec='${libname}${release}${major}$shared_ext ${libname}$shared_ext'
10713   soname_spec='${libname}${release}${major}$shared_ext'
10714   shlibpath_overrides_runpath=yes
10715   shlibpath_var=DYLD_LIBRARY_PATH
10716   shrext_cmds='`test .$module = .yes && echo .so || echo .dylib`'
10717
10718   sys_lib_search_path_spec="$sys_lib_search_path_spec /usr/local/lib"
10719   sys_lib_dlsearch_path_spec='/usr/local/lib /lib /usr/lib'
10720   ;;
10721
10722 dgux*)
10723   version_type=linux # correct to gnu/linux during the next big refactor
10724   need_lib_prefix=no
10725   need_version=no
10726   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname$shared_ext'
10727   soname_spec='${libname}${release}${shared_ext}$major'
10728   shlibpath_var=LD_LIBRARY_PATH
10729   ;;
10730
10731 freebsd* | dragonfly*)
10732   # DragonFly does not have aout.  When/if they implement a new
10733   # versioning mechanism, adjust this.
10734   if test -x /usr/bin/objformat; then
10735     objformat=`/usr/bin/objformat`
10736   else
10737     case $host_os in
10738     freebsd[23].*) objformat=aout ;;
10739     *) objformat=elf ;;
10740     esac
10741   fi
10742   version_type=freebsd-$objformat
10743   case $version_type in
10744     freebsd-elf*)
10745       library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
10746       need_version=no
10747       need_lib_prefix=no
10748       ;;
10749     freebsd-*)
10750       library_names_spec='${libname}${release}${shared_ext}$versuffix $libname${shared_ext}$versuffix'
10751       need_version=yes
10752       ;;
10753   esac
10754   shlibpath_var=LD_LIBRARY_PATH
10755   case $host_os in
10756   freebsd2.*)
10757     shlibpath_overrides_runpath=yes
10758     ;;
10759   freebsd3.[01]* | freebsdelf3.[01]*)
10760     shlibpath_overrides_runpath=yes
10761     hardcode_into_libs=yes
10762     ;;
10763   freebsd3.[2-9]* | freebsdelf3.[2-9]* | \
10764   freebsd4.[0-5] | freebsdelf4.[0-5] | freebsd4.1.1 | freebsdelf4.1.1)
10765     shlibpath_overrides_runpath=no
10766     hardcode_into_libs=yes
10767     ;;
10768   *) # from 4.6 on, and DragonFly
10769     shlibpath_overrides_runpath=yes
10770     hardcode_into_libs=yes
10771     ;;
10772   esac
10773   ;;
10774
10775 gnu*)
10776   version_type=linux # correct to gnu/linux during the next big refactor
10777   need_lib_prefix=no
10778   need_version=no
10779   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
10780   soname_spec='${libname}${release}${shared_ext}$major'
10781   shlibpath_var=LD_LIBRARY_PATH
10782   shlibpath_overrides_runpath=no
10783   hardcode_into_libs=yes
10784   ;;
10785
10786 haiku*)
10787   version_type=linux # correct to gnu/linux during the next big refactor
10788   need_lib_prefix=no
10789   need_version=no
10790   dynamic_linker="$host_os runtime_loader"
10791   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
10792   soname_spec='${libname}${release}${shared_ext}$major'
10793   shlibpath_var=LIBRARY_PATH
10794   shlibpath_overrides_runpath=yes
10795   sys_lib_dlsearch_path_spec='/boot/home/config/lib /boot/common/lib /boot/system/lib'
10796   hardcode_into_libs=yes
10797   ;;
10798
10799 hpux9* | hpux10* | hpux11*)
10800   # Give a soname corresponding to the major version so that dld.sl refuses to
10801   # link against other versions.
10802   version_type=sunos
10803   need_lib_prefix=no
10804   need_version=no
10805   case $host_cpu in
10806   ia64*)
10807     shrext_cmds='.so'
10808     hardcode_into_libs=yes
10809     dynamic_linker="$host_os dld.so"
10810     shlibpath_var=LD_LIBRARY_PATH
10811     shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
10812     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10813     soname_spec='${libname}${release}${shared_ext}$major'
10814     if test "X$HPUX_IA64_MODE" = X32; then
10815       sys_lib_search_path_spec="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
10816     else
10817       sys_lib_search_path_spec="/usr/lib/hpux64 /usr/local/lib/hpux64"
10818     fi
10819     sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
10820     ;;
10821   hppa*64*)
10822     shrext_cmds='.sl'
10823     hardcode_into_libs=yes
10824     dynamic_linker="$host_os dld.sl"
10825     shlibpath_var=LD_LIBRARY_PATH # How should we handle SHLIB_PATH
10826     shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
10827     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10828     soname_spec='${libname}${release}${shared_ext}$major'
10829     sys_lib_search_path_spec="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
10830     sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
10831     ;;
10832   *)
10833     shrext_cmds='.sl'
10834     dynamic_linker="$host_os dld.sl"
10835     shlibpath_var=SHLIB_PATH
10836     shlibpath_overrides_runpath=no # +s is required to enable SHLIB_PATH
10837     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10838     soname_spec='${libname}${release}${shared_ext}$major'
10839     ;;
10840   esac
10841   # HP-UX runs *really* slowly unless shared libraries are mode 555, ...
10842   postinstall_cmds='chmod 555 $lib'
10843   # or fails outright, so override atomically:
10844   install_override_mode=555
10845   ;;
10846
10847 interix[3-9]*)
10848   version_type=linux # correct to gnu/linux during the next big refactor
10849   need_lib_prefix=no
10850   need_version=no
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   dynamic_linker='Interix 3.x ld.so.1 (PE, like ELF)'
10854   shlibpath_var=LD_LIBRARY_PATH
10855   shlibpath_overrides_runpath=no
10856   hardcode_into_libs=yes
10857   ;;
10858
10859 irix5* | irix6* | nonstopux*)
10860   case $host_os in
10861     nonstopux*) version_type=nonstopux ;;
10862     *)
10863         if test "$lt_cv_prog_gnu_ld" = yes; then
10864                 version_type=linux # correct to gnu/linux during the next big refactor
10865         else
10866                 version_type=irix
10867         fi ;;
10868   esac
10869   need_lib_prefix=no
10870   need_version=no
10871   soname_spec='${libname}${release}${shared_ext}$major'
10872   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} $libname${shared_ext}'
10873   case $host_os in
10874   irix5* | nonstopux*)
10875     libsuff= shlibsuff=
10876     ;;
10877   *)
10878     case $LD in # libtool.m4 will add one of these switches to LD
10879     *-32|*"-32 "|*-melf32bsmip|*"-melf32bsmip ")
10880       libsuff= shlibsuff= libmagic=32-bit;;
10881     *-n32|*"-n32 "|*-melf32bmipn32|*"-melf32bmipn32 ")
10882       libsuff=32 shlibsuff=N32 libmagic=N32;;
10883     *-64|*"-64 "|*-melf64bmip|*"-melf64bmip ")
10884       libsuff=64 shlibsuff=64 libmagic=64-bit;;
10885     *) libsuff= shlibsuff= libmagic=never-match;;
10886     esac
10887     ;;
10888   esac
10889   shlibpath_var=LD_LIBRARY${shlibsuff}_PATH
10890   shlibpath_overrides_runpath=no
10891   sys_lib_search_path_spec="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}"
10892   sys_lib_dlsearch_path_spec="/usr/lib${libsuff} /lib${libsuff}"
10893   hardcode_into_libs=yes
10894   ;;
10895
10896 # No shared lib support for Linux oldld, aout, or coff.
10897 linux*oldld* | linux*aout* | linux*coff*)
10898   dynamic_linker=no
10899   ;;
10900
10901 # This must be glibc/ELF.
10902 linux* | k*bsd*-gnu | kopensolaris*-gnu)
10903   version_type=linux # correct to gnu/linux during the next big refactor
10904   need_lib_prefix=no
10905   need_version=no
10906   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10907   soname_spec='${libname}${release}${shared_ext}$major'
10908   finish_cmds='PATH="\$PATH:/sbin" ldconfig -n $libdir'
10909   shlibpath_var=LD_LIBRARY_PATH
10910   shlibpath_overrides_runpath=no
10911
10912   # Some binutils ld are patched to set DT_RUNPATH
10913   if ${lt_cv_shlibpath_overrides_runpath+:} false; then :
10914   $as_echo_n "(cached) " >&6
10915 else
10916   lt_cv_shlibpath_overrides_runpath=no
10917     save_LDFLAGS=$LDFLAGS
10918     save_libdir=$libdir
10919     eval "libdir=/foo; wl=\"$lt_prog_compiler_wl\"; \
10920          LDFLAGS=\"\$LDFLAGS $hardcode_libdir_flag_spec\""
10921     cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10922 /* end confdefs.h.  */
10923
10924 int
10925 main ()
10926 {
10927
10928   ;
10929   return 0;
10930 }
10931 _ACEOF
10932 if ac_fn_c_try_link "$LINENO"; then :
10933   if  ($OBJDUMP -p conftest$ac_exeext) 2>/dev/null | grep "RUNPATH.*$libdir" >/dev/null; then :
10934   lt_cv_shlibpath_overrides_runpath=yes
10935 fi
10936 fi
10937 rm -f core conftest.err conftest.$ac_objext \
10938     conftest$ac_exeext conftest.$ac_ext
10939     LDFLAGS=$save_LDFLAGS
10940     libdir=$save_libdir
10941
10942 fi
10943
10944   shlibpath_overrides_runpath=$lt_cv_shlibpath_overrides_runpath
10945
10946   # This implies no fast_install, which is unacceptable.
10947   # Some rework will be needed to allow for fast_install
10948   # before this can be enabled.
10949   hardcode_into_libs=yes
10950
10951   # Add ABI-specific directories to the system library path.
10952   sys_lib_dlsearch_path_spec="/lib64 /usr/lib64 /lib /usr/lib"
10953
10954   # Append ld.so.conf contents to the search path
10955   if test -f /etc/ld.so.conf; then
10956     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' ' '`
10957     sys_lib_dlsearch_path_spec="$sys_lib_dlsearch_path_spec $lt_ld_extra"
10958
10959   fi
10960
10961   # We used to test for /lib/ld.so.1 and disable shared libraries on
10962   # powerpc, because MkLinux only supported shared libraries with the
10963   # GNU dynamic linker.  Since this was broken with cross compilers,
10964   # most powerpc-linux boxes support dynamic linking these days and
10965   # people can always --disable-shared, the test was removed, and we
10966   # assume the GNU/Linux dynamic linker is in use.
10967   dynamic_linker='GNU/Linux ld.so'
10968   ;;
10969
10970 netbsd*)
10971   version_type=sunos
10972   need_lib_prefix=no
10973   need_version=no
10974   if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
10975     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
10976     finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
10977     dynamic_linker='NetBSD (a.out) ld.so'
10978   else
10979     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
10980     soname_spec='${libname}${release}${shared_ext}$major'
10981     dynamic_linker='NetBSD ld.elf_so'
10982   fi
10983   shlibpath_var=LD_LIBRARY_PATH
10984   shlibpath_overrides_runpath=yes
10985   hardcode_into_libs=yes
10986   ;;
10987
10988 newsos6)
10989   version_type=linux # correct to gnu/linux during the next big refactor
10990   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10991   shlibpath_var=LD_LIBRARY_PATH
10992   shlibpath_overrides_runpath=yes
10993   ;;
10994
10995 *nto* | *qnx*)
10996   version_type=qnx
10997   need_lib_prefix=no
10998   need_version=no
10999   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11000   soname_spec='${libname}${release}${shared_ext}$major'
11001   shlibpath_var=LD_LIBRARY_PATH
11002   shlibpath_overrides_runpath=no
11003   hardcode_into_libs=yes
11004   dynamic_linker='ldqnx.so'
11005   ;;
11006
11007 openbsd*)
11008   version_type=sunos
11009   sys_lib_dlsearch_path_spec="/usr/lib"
11010   need_lib_prefix=no
11011   # Some older versions of OpenBSD (3.3 at least) *do* need versioned libs.
11012   case $host_os in
11013     openbsd3.3 | openbsd3.3.*)  need_version=yes ;;
11014     *)                          need_version=no  ;;
11015   esac
11016   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
11017   finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
11018   shlibpath_var=LD_LIBRARY_PATH
11019   if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
11020     case $host_os in
11021       openbsd2.[89] | openbsd2.[89].*)
11022         shlibpath_overrides_runpath=no
11023         ;;
11024       *)
11025         shlibpath_overrides_runpath=yes
11026         ;;
11027       esac
11028   else
11029     shlibpath_overrides_runpath=yes
11030   fi
11031   ;;
11032
11033 os2*)
11034   libname_spec='$name'
11035   shrext_cmds=".dll"
11036   need_lib_prefix=no
11037   library_names_spec='$libname${shared_ext} $libname.a'
11038   dynamic_linker='OS/2 ld.exe'
11039   shlibpath_var=LIBPATH
11040   ;;
11041
11042 osf3* | osf4* | osf5*)
11043   version_type=osf
11044   need_lib_prefix=no
11045   need_version=no
11046   soname_spec='${libname}${release}${shared_ext}$major'
11047   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11048   shlibpath_var=LD_LIBRARY_PATH
11049   sys_lib_search_path_spec="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
11050   sys_lib_dlsearch_path_spec="$sys_lib_search_path_spec"
11051   ;;
11052
11053 rdos*)
11054   dynamic_linker=no
11055   ;;
11056
11057 solaris*)
11058   version_type=linux # correct to gnu/linux during the next big refactor
11059   need_lib_prefix=no
11060   need_version=no
11061   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11062   soname_spec='${libname}${release}${shared_ext}$major'
11063   shlibpath_var=LD_LIBRARY_PATH
11064   shlibpath_overrides_runpath=yes
11065   hardcode_into_libs=yes
11066   # ldd complains unless libraries are executable
11067   postinstall_cmds='chmod +x $lib'
11068   ;;
11069
11070 sunos4*)
11071   version_type=sunos
11072   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
11073   finish_cmds='PATH="\$PATH:/usr/etc" ldconfig $libdir'
11074   shlibpath_var=LD_LIBRARY_PATH
11075   shlibpath_overrides_runpath=yes
11076   if test "$with_gnu_ld" = yes; then
11077     need_lib_prefix=no
11078   fi
11079   need_version=yes
11080   ;;
11081
11082 sysv4 | sysv4.3*)
11083   version_type=linux # correct to gnu/linux during the next big refactor
11084   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11085   soname_spec='${libname}${release}${shared_ext}$major'
11086   shlibpath_var=LD_LIBRARY_PATH
11087   case $host_vendor in
11088     sni)
11089       shlibpath_overrides_runpath=no
11090       need_lib_prefix=no
11091       runpath_var=LD_RUN_PATH
11092       ;;
11093     siemens)
11094       need_lib_prefix=no
11095       ;;
11096     motorola)
11097       need_lib_prefix=no
11098       need_version=no
11099       shlibpath_overrides_runpath=no
11100       sys_lib_search_path_spec='/lib /usr/lib /usr/ccs/lib'
11101       ;;
11102   esac
11103   ;;
11104
11105 sysv4*MP*)
11106   if test -d /usr/nec ;then
11107     version_type=linux # correct to gnu/linux during the next big refactor
11108     library_names_spec='$libname${shared_ext}.$versuffix $libname${shared_ext}.$major $libname${shared_ext}'
11109     soname_spec='$libname${shared_ext}.$major'
11110     shlibpath_var=LD_LIBRARY_PATH
11111   fi
11112   ;;
11113
11114 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
11115   version_type=freebsd-elf
11116   need_lib_prefix=no
11117   need_version=no
11118   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
11119   soname_spec='${libname}${release}${shared_ext}$major'
11120   shlibpath_var=LD_LIBRARY_PATH
11121   shlibpath_overrides_runpath=yes
11122   hardcode_into_libs=yes
11123   if test "$with_gnu_ld" = yes; then
11124     sys_lib_search_path_spec='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib'
11125   else
11126     sys_lib_search_path_spec='/usr/ccs/lib /usr/lib'
11127     case $host_os in
11128       sco3.2v5*)
11129         sys_lib_search_path_spec="$sys_lib_search_path_spec /lib"
11130         ;;
11131     esac
11132   fi
11133   sys_lib_dlsearch_path_spec='/usr/lib'
11134   ;;
11135
11136 tpf*)
11137   # TPF is a cross-target only.  Preferred cross-host = GNU/Linux.
11138   version_type=linux # correct to gnu/linux during the next big refactor
11139   need_lib_prefix=no
11140   need_version=no
11141   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11142   shlibpath_var=LD_LIBRARY_PATH
11143   shlibpath_overrides_runpath=no
11144   hardcode_into_libs=yes
11145   ;;
11146
11147 uts4*)
11148   version_type=linux # correct to gnu/linux during the next big refactor
11149   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11150   soname_spec='${libname}${release}${shared_ext}$major'
11151   shlibpath_var=LD_LIBRARY_PATH
11152   ;;
11153
11154 *)
11155   dynamic_linker=no
11156   ;;
11157 esac
11158 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $dynamic_linker" >&5
11159 $as_echo "$dynamic_linker" >&6; }
11160 test "$dynamic_linker" = no && can_build_shared=no
11161
11162 variables_saved_for_relink="PATH $shlibpath_var $runpath_var"
11163 if test "$GCC" = yes; then
11164   variables_saved_for_relink="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
11165 fi
11166
11167 if test "${lt_cv_sys_lib_search_path_spec+set}" = set; then
11168   sys_lib_search_path_spec="$lt_cv_sys_lib_search_path_spec"
11169 fi
11170 if test "${lt_cv_sys_lib_dlsearch_path_spec+set}" = set; then
11171   sys_lib_dlsearch_path_spec="$lt_cv_sys_lib_dlsearch_path_spec"
11172 fi
11173
11174
11175
11176
11177
11178
11179
11180
11181
11182
11183
11184
11185
11186
11187
11188
11189
11190
11191
11192
11193
11194
11195
11196
11197
11198
11199
11200
11201
11202
11203
11204
11205
11206
11207
11208
11209
11210
11211
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   { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to hardcode library paths into programs" >&5
11266 $as_echo_n "checking how to hardcode library paths into programs... " >&6; }
11267 hardcode_action=
11268 if test -n "$hardcode_libdir_flag_spec" ||
11269    test -n "$runpath_var" ||
11270    test "X$hardcode_automatic" = "Xyes" ; then
11271
11272   # We can hardcode non-existent directories.
11273   if test "$hardcode_direct" != no &&
11274      # If the only mechanism to avoid hardcoding is shlibpath_var, we
11275      # have to relink, otherwise we might link with an installed library
11276      # when we should be linking with a yet-to-be-installed one
11277      ## test "$_LT_TAGVAR(hardcode_shlibpath_var, )" != no &&
11278      test "$hardcode_minus_L" != no; then
11279     # Linking always hardcodes the temporary library directory.
11280     hardcode_action=relink
11281   else
11282     # We can link without hardcoding, and we can hardcode nonexisting dirs.
11283     hardcode_action=immediate
11284   fi
11285 else
11286   # We cannot hardcode anything, or else we can only hardcode existing
11287   # directories.
11288   hardcode_action=unsupported
11289 fi
11290 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hardcode_action" >&5
11291 $as_echo "$hardcode_action" >&6; }
11292
11293 if test "$hardcode_action" = relink ||
11294    test "$inherit_rpath" = yes; then
11295   # Fast installation is not supported
11296   enable_fast_install=no
11297 elif test "$shlibpath_overrides_runpath" = yes ||
11298      test "$enable_shared" = no; then
11299   # Fast installation is not necessary
11300   enable_fast_install=needless
11301 fi
11302
11303
11304
11305
11306
11307
11308   if test "x$enable_dlopen" != xyes; then
11309   enable_dlopen=unknown
11310   enable_dlopen_self=unknown
11311   enable_dlopen_self_static=unknown
11312 else
11313   lt_cv_dlopen=no
11314   lt_cv_dlopen_libs=
11315
11316   case $host_os in
11317   beos*)
11318     lt_cv_dlopen="load_add_on"
11319     lt_cv_dlopen_libs=
11320     lt_cv_dlopen_self=yes
11321     ;;
11322
11323   mingw* | pw32* | cegcc*)
11324     lt_cv_dlopen="LoadLibrary"
11325     lt_cv_dlopen_libs=
11326     ;;
11327
11328   cygwin*)
11329     lt_cv_dlopen="dlopen"
11330     lt_cv_dlopen_libs=
11331     ;;
11332
11333   darwin*)
11334   # if libdl is installed we need to link against it
11335     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
11336 $as_echo_n "checking for dlopen in -ldl... " >&6; }
11337 if ${ac_cv_lib_dl_dlopen+:} false; then :
11338   $as_echo_n "(cached) " >&6
11339 else
11340   ac_check_lib_save_LIBS=$LIBS
11341 LIBS="-ldl  $LIBS"
11342 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11343 /* end confdefs.h.  */
11344
11345 /* Override any GCC internal prototype to avoid an error.
11346    Use char because int might match the return type of a GCC
11347    builtin and then its argument prototype would still apply.  */
11348 #ifdef __cplusplus
11349 extern "C"
11350 #endif
11351 char dlopen ();
11352 int
11353 main ()
11354 {
11355 return dlopen ();
11356   ;
11357   return 0;
11358 }
11359 _ACEOF
11360 if ac_fn_c_try_link "$LINENO"; then :
11361   ac_cv_lib_dl_dlopen=yes
11362 else
11363   ac_cv_lib_dl_dlopen=no
11364 fi
11365 rm -f core conftest.err conftest.$ac_objext \
11366     conftest$ac_exeext conftest.$ac_ext
11367 LIBS=$ac_check_lib_save_LIBS
11368 fi
11369 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
11370 $as_echo "$ac_cv_lib_dl_dlopen" >&6; }
11371 if test "x$ac_cv_lib_dl_dlopen" = xyes; then :
11372   lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl"
11373 else
11374
11375     lt_cv_dlopen="dyld"
11376     lt_cv_dlopen_libs=
11377     lt_cv_dlopen_self=yes
11378
11379 fi
11380
11381     ;;
11382
11383   *)
11384     ac_fn_c_check_func "$LINENO" "shl_load" "ac_cv_func_shl_load"
11385 if test "x$ac_cv_func_shl_load" = xyes; then :
11386   lt_cv_dlopen="shl_load"
11387 else
11388   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for shl_load in -ldld" >&5
11389 $as_echo_n "checking for shl_load in -ldld... " >&6; }
11390 if ${ac_cv_lib_dld_shl_load+:} false; then :
11391   $as_echo_n "(cached) " >&6
11392 else
11393   ac_check_lib_save_LIBS=$LIBS
11394 LIBS="-ldld  $LIBS"
11395 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11396 /* end confdefs.h.  */
11397
11398 /* Override any GCC internal prototype to avoid an error.
11399    Use char because int might match the return type of a GCC
11400    builtin and then its argument prototype would still apply.  */
11401 #ifdef __cplusplus
11402 extern "C"
11403 #endif
11404 char shl_load ();
11405 int
11406 main ()
11407 {
11408 return shl_load ();
11409   ;
11410   return 0;
11411 }
11412 _ACEOF
11413 if ac_fn_c_try_link "$LINENO"; then :
11414   ac_cv_lib_dld_shl_load=yes
11415 else
11416   ac_cv_lib_dld_shl_load=no
11417 fi
11418 rm -f core conftest.err conftest.$ac_objext \
11419     conftest$ac_exeext conftest.$ac_ext
11420 LIBS=$ac_check_lib_save_LIBS
11421 fi
11422 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_shl_load" >&5
11423 $as_echo "$ac_cv_lib_dld_shl_load" >&6; }
11424 if test "x$ac_cv_lib_dld_shl_load" = xyes; then :
11425   lt_cv_dlopen="shl_load" lt_cv_dlopen_libs="-ldld"
11426 else
11427   ac_fn_c_check_func "$LINENO" "dlopen" "ac_cv_func_dlopen"
11428 if test "x$ac_cv_func_dlopen" = xyes; then :
11429   lt_cv_dlopen="dlopen"
11430 else
11431   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
11432 $as_echo_n "checking for dlopen in -ldl... " >&6; }
11433 if ${ac_cv_lib_dl_dlopen+:} false; then :
11434   $as_echo_n "(cached) " >&6
11435 else
11436   ac_check_lib_save_LIBS=$LIBS
11437 LIBS="-ldl  $LIBS"
11438 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11439 /* end confdefs.h.  */
11440
11441 /* Override any GCC internal prototype to avoid an error.
11442    Use char because int might match the return type of a GCC
11443    builtin and then its argument prototype would still apply.  */
11444 #ifdef __cplusplus
11445 extern "C"
11446 #endif
11447 char dlopen ();
11448 int
11449 main ()
11450 {
11451 return dlopen ();
11452   ;
11453   return 0;
11454 }
11455 _ACEOF
11456 if ac_fn_c_try_link "$LINENO"; then :
11457   ac_cv_lib_dl_dlopen=yes
11458 else
11459   ac_cv_lib_dl_dlopen=no
11460 fi
11461 rm -f core conftest.err conftest.$ac_objext \
11462     conftest$ac_exeext conftest.$ac_ext
11463 LIBS=$ac_check_lib_save_LIBS
11464 fi
11465 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
11466 $as_echo "$ac_cv_lib_dl_dlopen" >&6; }
11467 if test "x$ac_cv_lib_dl_dlopen" = xyes; then :
11468   lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl"
11469 else
11470   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -lsvld" >&5
11471 $as_echo_n "checking for dlopen in -lsvld... " >&6; }
11472 if ${ac_cv_lib_svld_dlopen+:} false; then :
11473   $as_echo_n "(cached) " >&6
11474 else
11475   ac_check_lib_save_LIBS=$LIBS
11476 LIBS="-lsvld  $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_svld_dlopen=yes
11497 else
11498   ac_cv_lib_svld_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_svld_dlopen" >&5
11505 $as_echo "$ac_cv_lib_svld_dlopen" >&6; }
11506 if test "x$ac_cv_lib_svld_dlopen" = xyes; then :
11507   lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-lsvld"
11508 else
11509   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dld_link in -ldld" >&5
11510 $as_echo_n "checking for dld_link in -ldld... " >&6; }
11511 if ${ac_cv_lib_dld_dld_link+:} false; then :
11512   $as_echo_n "(cached) " >&6
11513 else
11514   ac_check_lib_save_LIBS=$LIBS
11515 LIBS="-ldld  $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 dld_link ();
11526 int
11527 main ()
11528 {
11529 return dld_link ();
11530   ;
11531   return 0;
11532 }
11533 _ACEOF
11534 if ac_fn_c_try_link "$LINENO"; then :
11535   ac_cv_lib_dld_dld_link=yes
11536 else
11537   ac_cv_lib_dld_dld_link=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_dld_dld_link" >&5
11544 $as_echo "$ac_cv_lib_dld_dld_link" >&6; }
11545 if test "x$ac_cv_lib_dld_dld_link" = xyes; then :
11546   lt_cv_dlopen="dld_link" lt_cv_dlopen_libs="-ldld"
11547 fi
11548
11549
11550 fi
11551
11552
11553 fi
11554
11555
11556 fi
11557
11558
11559 fi
11560
11561
11562 fi
11563
11564     ;;
11565   esac
11566
11567   if test "x$lt_cv_dlopen" != xno; then
11568     enable_dlopen=yes
11569   else
11570     enable_dlopen=no
11571   fi
11572
11573   case $lt_cv_dlopen in
11574   dlopen)
11575     save_CPPFLAGS="$CPPFLAGS"
11576     test "x$ac_cv_header_dlfcn_h" = xyes && CPPFLAGS="$CPPFLAGS -DHAVE_DLFCN_H"
11577
11578     save_LDFLAGS="$LDFLAGS"
11579     wl=$lt_prog_compiler_wl eval LDFLAGS=\"\$LDFLAGS $export_dynamic_flag_spec\"
11580
11581     save_LIBS="$LIBS"
11582     LIBS="$lt_cv_dlopen_libs $LIBS"
11583
11584     { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether a program can dlopen itself" >&5
11585 $as_echo_n "checking whether a program can dlopen itself... " >&6; }
11586 if ${lt_cv_dlopen_self+:} false; then :
11587   $as_echo_n "(cached) " >&6
11588 else
11589           if test "$cross_compiling" = yes; then :
11590   lt_cv_dlopen_self=cross
11591 else
11592   lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
11593   lt_status=$lt_dlunknown
11594   cat > conftest.$ac_ext <<_LT_EOF
11595 #line $LINENO "configure"
11596 #include "confdefs.h"
11597
11598 #if HAVE_DLFCN_H
11599 #include <dlfcn.h>
11600 #endif
11601
11602 #include <stdio.h>
11603
11604 #ifdef RTLD_GLOBAL
11605 #  define LT_DLGLOBAL           RTLD_GLOBAL
11606 #else
11607 #  ifdef DL_GLOBAL
11608 #    define LT_DLGLOBAL         DL_GLOBAL
11609 #  else
11610 #    define LT_DLGLOBAL         0
11611 #  endif
11612 #endif
11613
11614 /* We may have to define LT_DLLAZY_OR_NOW in the command line if we
11615    find out it does not work in some platform. */
11616 #ifndef LT_DLLAZY_OR_NOW
11617 #  ifdef RTLD_LAZY
11618 #    define LT_DLLAZY_OR_NOW            RTLD_LAZY
11619 #  else
11620 #    ifdef DL_LAZY
11621 #      define LT_DLLAZY_OR_NOW          DL_LAZY
11622 #    else
11623 #      ifdef RTLD_NOW
11624 #        define LT_DLLAZY_OR_NOW        RTLD_NOW
11625 #      else
11626 #        ifdef DL_NOW
11627 #          define LT_DLLAZY_OR_NOW      DL_NOW
11628 #        else
11629 #          define LT_DLLAZY_OR_NOW      0
11630 #        endif
11631 #      endif
11632 #    endif
11633 #  endif
11634 #endif
11635
11636 /* When -fvisbility=hidden is used, assume the code has been annotated
11637    correspondingly for the symbols needed.  */
11638 #if defined(__GNUC__) && (((__GNUC__ == 3) && (__GNUC_MINOR__ >= 3)) || (__GNUC__ > 3))
11639 int fnord () __attribute__((visibility("default")));
11640 #endif
11641
11642 int fnord () { return 42; }
11643 int main ()
11644 {
11645   void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
11646   int status = $lt_dlunknown;
11647
11648   if (self)
11649     {
11650       if (dlsym (self,"fnord"))       status = $lt_dlno_uscore;
11651       else
11652         {
11653           if (dlsym( self,"_fnord"))  status = $lt_dlneed_uscore;
11654           else puts (dlerror ());
11655         }
11656       /* dlclose (self); */
11657     }
11658   else
11659     puts (dlerror ());
11660
11661   return status;
11662 }
11663 _LT_EOF
11664   if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
11665   (eval $ac_link) 2>&5
11666   ac_status=$?
11667   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
11668   test $ac_status = 0; } && test -s conftest${ac_exeext} 2>/dev/null; then
11669     (./conftest; exit; ) >&5 2>/dev/null
11670     lt_status=$?
11671     case x$lt_status in
11672       x$lt_dlno_uscore) lt_cv_dlopen_self=yes ;;
11673       x$lt_dlneed_uscore) lt_cv_dlopen_self=yes ;;
11674       x$lt_dlunknown|x*) lt_cv_dlopen_self=no ;;
11675     esac
11676   else :
11677     # compilation failed
11678     lt_cv_dlopen_self=no
11679   fi
11680 fi
11681 rm -fr conftest*
11682
11683
11684 fi
11685 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_dlopen_self" >&5
11686 $as_echo "$lt_cv_dlopen_self" >&6; }
11687
11688     if test "x$lt_cv_dlopen_self" = xyes; then
11689       wl=$lt_prog_compiler_wl eval LDFLAGS=\"\$LDFLAGS $lt_prog_compiler_static\"
11690       { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether a statically linked program can dlopen itself" >&5
11691 $as_echo_n "checking whether a statically linked program can dlopen itself... " >&6; }
11692 if ${lt_cv_dlopen_self_static+:} false; then :
11693   $as_echo_n "(cached) " >&6
11694 else
11695           if test "$cross_compiling" = yes; then :
11696   lt_cv_dlopen_self_static=cross
11697 else
11698   lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
11699   lt_status=$lt_dlunknown
11700   cat > conftest.$ac_ext <<_LT_EOF
11701 #line $LINENO "configure"
11702 #include "confdefs.h"
11703
11704 #if HAVE_DLFCN_H
11705 #include <dlfcn.h>
11706 #endif
11707
11708 #include <stdio.h>
11709
11710 #ifdef RTLD_GLOBAL
11711 #  define LT_DLGLOBAL           RTLD_GLOBAL
11712 #else
11713 #  ifdef DL_GLOBAL
11714 #    define LT_DLGLOBAL         DL_GLOBAL
11715 #  else
11716 #    define LT_DLGLOBAL         0
11717 #  endif
11718 #endif
11719
11720 /* We may have to define LT_DLLAZY_OR_NOW in the command line if we
11721    find out it does not work in some platform. */
11722 #ifndef LT_DLLAZY_OR_NOW
11723 #  ifdef RTLD_LAZY
11724 #    define LT_DLLAZY_OR_NOW            RTLD_LAZY
11725 #  else
11726 #    ifdef DL_LAZY
11727 #      define LT_DLLAZY_OR_NOW          DL_LAZY
11728 #    else
11729 #      ifdef RTLD_NOW
11730 #        define LT_DLLAZY_OR_NOW        RTLD_NOW
11731 #      else
11732 #        ifdef DL_NOW
11733 #          define LT_DLLAZY_OR_NOW      DL_NOW
11734 #        else
11735 #          define LT_DLLAZY_OR_NOW      0
11736 #        endif
11737 #      endif
11738 #    endif
11739 #  endif
11740 #endif
11741
11742 /* When -fvisbility=hidden is used, assume the code has been annotated
11743    correspondingly for the symbols needed.  */
11744 #if defined(__GNUC__) && (((__GNUC__ == 3) && (__GNUC_MINOR__ >= 3)) || (__GNUC__ > 3))
11745 int fnord () __attribute__((visibility("default")));
11746 #endif
11747
11748 int fnord () { return 42; }
11749 int main ()
11750 {
11751   void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
11752   int status = $lt_dlunknown;
11753
11754   if (self)
11755     {
11756       if (dlsym (self,"fnord"))       status = $lt_dlno_uscore;
11757       else
11758         {
11759           if (dlsym( self,"_fnord"))  status = $lt_dlneed_uscore;
11760           else puts (dlerror ());
11761         }
11762       /* dlclose (self); */
11763     }
11764   else
11765     puts (dlerror ());
11766
11767   return status;
11768 }
11769 _LT_EOF
11770   if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
11771   (eval $ac_link) 2>&5
11772   ac_status=$?
11773   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
11774   test $ac_status = 0; } && test -s conftest${ac_exeext} 2>/dev/null; then
11775     (./conftest; exit; ) >&5 2>/dev/null
11776     lt_status=$?
11777     case x$lt_status in
11778       x$lt_dlno_uscore) lt_cv_dlopen_self_static=yes ;;
11779       x$lt_dlneed_uscore) lt_cv_dlopen_self_static=yes ;;
11780       x$lt_dlunknown|x*) lt_cv_dlopen_self_static=no ;;
11781     esac
11782   else :
11783     # compilation failed
11784     lt_cv_dlopen_self_static=no
11785   fi
11786 fi
11787 rm -fr conftest*
11788
11789
11790 fi
11791 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_dlopen_self_static" >&5
11792 $as_echo "$lt_cv_dlopen_self_static" >&6; }
11793     fi
11794
11795     CPPFLAGS="$save_CPPFLAGS"
11796     LDFLAGS="$save_LDFLAGS"
11797     LIBS="$save_LIBS"
11798     ;;
11799   esac
11800
11801   case $lt_cv_dlopen_self in
11802   yes|no) enable_dlopen_self=$lt_cv_dlopen_self ;;
11803   *) enable_dlopen_self=unknown ;;
11804   esac
11805
11806   case $lt_cv_dlopen_self_static in
11807   yes|no) enable_dlopen_self_static=$lt_cv_dlopen_self_static ;;
11808   *) enable_dlopen_self_static=unknown ;;
11809   esac
11810 fi
11811
11812
11813
11814
11815
11816
11817
11818
11819
11820
11821
11822
11823
11824
11825
11826
11827
11828 striplib=
11829 old_striplib=
11830 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether stripping libraries is possible" >&5
11831 $as_echo_n "checking whether stripping libraries is possible... " >&6; }
11832 if test -n "$STRIP" && $STRIP -V 2>&1 | $GREP "GNU strip" >/dev/null; then
11833   test -z "$old_striplib" && old_striplib="$STRIP --strip-debug"
11834   test -z "$striplib" && striplib="$STRIP --strip-unneeded"
11835   { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
11836 $as_echo "yes" >&6; }
11837 else
11838 # FIXME - insert some real tests, host_os isn't really good enough
11839   case $host_os in
11840   darwin*)
11841     if test -n "$STRIP" ; then
11842       striplib="$STRIP -x"
11843       old_striplib="$STRIP -S"
11844       { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
11845 $as_echo "yes" >&6; }
11846     else
11847       { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11848 $as_echo "no" >&6; }
11849     fi
11850     ;;
11851   *)
11852     { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11853 $as_echo "no" >&6; }
11854     ;;
11855   esac
11856 fi
11857
11858
11859
11860
11861
11862
11863
11864
11865
11866
11867
11868
11869   # Report which library types will actually be built
11870   { $as_echo "$as_me:${as_lineno-$LINENO}: checking if libtool supports shared libraries" >&5
11871 $as_echo_n "checking if libtool supports shared libraries... " >&6; }
11872   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $can_build_shared" >&5
11873 $as_echo "$can_build_shared" >&6; }
11874
11875   { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build shared libraries" >&5
11876 $as_echo_n "checking whether to build shared libraries... " >&6; }
11877   test "$can_build_shared" = "no" && enable_shared=no
11878
11879   # On AIX, shared libraries and static libraries use the same namespace, and
11880   # are all built from PIC.
11881   case $host_os in
11882   aix3*)
11883     test "$enable_shared" = yes && enable_static=no
11884     if test -n "$RANLIB"; then
11885       archive_cmds="$archive_cmds~\$RANLIB \$lib"
11886       postinstall_cmds='$RANLIB $lib'
11887     fi
11888     ;;
11889
11890   aix[4-9]*)
11891     if test "$host_cpu" != ia64 && test "$aix_use_runtimelinking" = no ; then
11892       test "$enable_shared" = yes && enable_static=no
11893     fi
11894     ;;
11895   esac
11896   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_shared" >&5
11897 $as_echo "$enable_shared" >&6; }
11898
11899   { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build static libraries" >&5
11900 $as_echo_n "checking whether to build static libraries... " >&6; }
11901   # Make sure either enable_shared or enable_static is yes.
11902   test "$enable_shared" = yes || enable_static=yes
11903   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_static" >&5
11904 $as_echo "$enable_static" >&6; }
11905
11906
11907
11908
11909 fi
11910 ac_ext=c
11911 ac_cpp='$CPP $CPPFLAGS'
11912 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
11913 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
11914 ac_compiler_gnu=$ac_cv_c_compiler_gnu
11915
11916 CC="$lt_save_CC"
11917
11918
11919
11920
11921
11922
11923
11924
11925
11926
11927
11928
11929
11930
11931
11932         ac_config_commands="$ac_config_commands libtool"
11933
11934
11935
11936
11937 # Only expand once:
11938
11939
11940
11941
11942
11943
11944
11945
11946
11947
11948 if test "x$ac_cv_env_PKG_CONFIG_set" != "xset"; then
11949         if test -n "$ac_tool_prefix"; then
11950   # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
11951 set dummy ${ac_tool_prefix}pkg-config; ac_word=$2
11952 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
11953 $as_echo_n "checking for $ac_word... " >&6; }
11954 if ${ac_cv_path_PKG_CONFIG+:} false; then :
11955   $as_echo_n "(cached) " >&6
11956 else
11957   case $PKG_CONFIG in
11958   [\\/]* | ?:[\\/]*)
11959   ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path.
11960   ;;
11961   *)
11962   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11963 for as_dir in $PATH
11964 do
11965   IFS=$as_save_IFS
11966   test -z "$as_dir" && as_dir=.
11967     for ac_exec_ext in '' $ac_executable_extensions; do
11968   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
11969     ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
11970     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
11971     break 2
11972   fi
11973 done
11974   done
11975 IFS=$as_save_IFS
11976
11977   ;;
11978 esac
11979 fi
11980 PKG_CONFIG=$ac_cv_path_PKG_CONFIG
11981 if test -n "$PKG_CONFIG"; then
11982   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PKG_CONFIG" >&5
11983 $as_echo "$PKG_CONFIG" >&6; }
11984 else
11985   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11986 $as_echo "no" >&6; }
11987 fi
11988
11989
11990 fi
11991 if test -z "$ac_cv_path_PKG_CONFIG"; then
11992   ac_pt_PKG_CONFIG=$PKG_CONFIG
11993   # Extract the first word of "pkg-config", so it can be a program name with args.
11994 set dummy pkg-config; ac_word=$2
11995 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
11996 $as_echo_n "checking for $ac_word... " >&6; }
11997 if ${ac_cv_path_ac_pt_PKG_CONFIG+:} false; then :
11998   $as_echo_n "(cached) " >&6
11999 else
12000   case $ac_pt_PKG_CONFIG in
12001   [\\/]* | ?:[\\/]*)
12002   ac_cv_path_ac_pt_PKG_CONFIG="$ac_pt_PKG_CONFIG" # Let the user override the test with a path.
12003   ;;
12004   *)
12005   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12006 for as_dir in $PATH
12007 do
12008   IFS=$as_save_IFS
12009   test -z "$as_dir" && as_dir=.
12010     for ac_exec_ext in '' $ac_executable_extensions; do
12011   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
12012     ac_cv_path_ac_pt_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
12013     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
12014     break 2
12015   fi
12016 done
12017   done
12018 IFS=$as_save_IFS
12019
12020   ;;
12021 esac
12022 fi
12023 ac_pt_PKG_CONFIG=$ac_cv_path_ac_pt_PKG_CONFIG
12024 if test -n "$ac_pt_PKG_CONFIG"; then
12025   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_pt_PKG_CONFIG" >&5
12026 $as_echo "$ac_pt_PKG_CONFIG" >&6; }
12027 else
12028   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12029 $as_echo "no" >&6; }
12030 fi
12031
12032   if test "x$ac_pt_PKG_CONFIG" = x; then
12033     PKG_CONFIG=""
12034   else
12035     case $cross_compiling:$ac_tool_warned in
12036 yes:)
12037 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
12038 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
12039 ac_tool_warned=yes ;;
12040 esac
12041     PKG_CONFIG=$ac_pt_PKG_CONFIG
12042   fi
12043 else
12044   PKG_CONFIG="$ac_cv_path_PKG_CONFIG"
12045 fi
12046
12047 fi
12048 if test -n "$PKG_CONFIG"; then
12049         _pkg_min_version=0.9.0
12050         { $as_echo "$as_me:${as_lineno-$LINENO}: checking pkg-config is at least version $_pkg_min_version" >&5
12051 $as_echo_n "checking pkg-config is at least version $_pkg_min_version... " >&6; }
12052         if $PKG_CONFIG --atleast-pkgconfig-version $_pkg_min_version; then
12053                 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
12054 $as_echo "yes" >&6; }
12055         else
12056                 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12057 $as_echo "no" >&6; }
12058                 PKG_CONFIG=""
12059         fi
12060 fi
12061
12062 for ac_prog in flex lex
12063 do
12064   # Extract the first word of "$ac_prog", so it can be a program name with args.
12065 set dummy $ac_prog; ac_word=$2
12066 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
12067 $as_echo_n "checking for $ac_word... " >&6; }
12068 if ${ac_cv_prog_LEX+:} false; then :
12069   $as_echo_n "(cached) " >&6
12070 else
12071   if test -n "$LEX"; then
12072   ac_cv_prog_LEX="$LEX" # Let the user override the test.
12073 else
12074 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12075 for as_dir in $PATH
12076 do
12077   IFS=$as_save_IFS
12078   test -z "$as_dir" && as_dir=.
12079     for ac_exec_ext in '' $ac_executable_extensions; do
12080   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
12081     ac_cv_prog_LEX="$ac_prog"
12082     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
12083     break 2
12084   fi
12085 done
12086   done
12087 IFS=$as_save_IFS
12088
12089 fi
12090 fi
12091 LEX=$ac_cv_prog_LEX
12092 if test -n "$LEX"; then
12093   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LEX" >&5
12094 $as_echo "$LEX" >&6; }
12095 else
12096   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12097 $as_echo "no" >&6; }
12098 fi
12099
12100
12101   test -n "$LEX" && break
12102 done
12103 test -n "$LEX" || LEX=":"
12104
12105 if test "x$LEX" != "x:"; then
12106   cat >conftest.l <<_ACEOF
12107 %%
12108 a { ECHO; }
12109 b { REJECT; }
12110 c { yymore (); }
12111 d { yyless (1); }
12112 e { /* IRIX 6.5 flex 2.5.4 underquotes its yyless argument.  */
12113     yyless ((input () != 0)); }
12114 f { unput (yytext[0]); }
12115 . { BEGIN INITIAL; }
12116 %%
12117 #ifdef YYTEXT_POINTER
12118 extern char *yytext;
12119 #endif
12120 int
12121 main (void)
12122 {
12123   return ! yylex () + ! yywrap ();
12124 }
12125 _ACEOF
12126 { { ac_try="$LEX conftest.l"
12127 case "(($ac_try" in
12128   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
12129   *) ac_try_echo=$ac_try;;
12130 esac
12131 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
12132 $as_echo "$ac_try_echo"; } >&5
12133   (eval "$LEX conftest.l") 2>&5
12134   ac_status=$?
12135   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
12136   test $ac_status = 0; }
12137 { $as_echo "$as_me:${as_lineno-$LINENO}: checking lex output file root" >&5
12138 $as_echo_n "checking lex output file root... " >&6; }
12139 if ${ac_cv_prog_lex_root+:} false; then :
12140   $as_echo_n "(cached) " >&6
12141 else
12142
12143 if test -f lex.yy.c; then
12144   ac_cv_prog_lex_root=lex.yy
12145 elif test -f lexyy.c; then
12146   ac_cv_prog_lex_root=lexyy
12147 else
12148   as_fn_error $? "cannot find output from $LEX; giving up" "$LINENO" 5
12149 fi
12150 fi
12151 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_lex_root" >&5
12152 $as_echo "$ac_cv_prog_lex_root" >&6; }
12153 LEX_OUTPUT_ROOT=$ac_cv_prog_lex_root
12154
12155 if test -z "${LEXLIB+set}"; then
12156   { $as_echo "$as_me:${as_lineno-$LINENO}: checking lex library" >&5
12157 $as_echo_n "checking lex library... " >&6; }
12158 if ${ac_cv_lib_lex+:} false; then :
12159   $as_echo_n "(cached) " >&6
12160 else
12161
12162     ac_save_LIBS=$LIBS
12163     ac_cv_lib_lex='none needed'
12164     for ac_lib in '' -lfl -ll; do
12165       LIBS="$ac_lib $ac_save_LIBS"
12166       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12167 /* end confdefs.h.  */
12168 `cat $LEX_OUTPUT_ROOT.c`
12169 _ACEOF
12170 if ac_fn_c_try_link "$LINENO"; then :
12171   ac_cv_lib_lex=$ac_lib
12172 fi
12173 rm -f core conftest.err conftest.$ac_objext \
12174     conftest$ac_exeext conftest.$ac_ext
12175       test "$ac_cv_lib_lex" != 'none needed' && break
12176     done
12177     LIBS=$ac_save_LIBS
12178
12179 fi
12180 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_lex" >&5
12181 $as_echo "$ac_cv_lib_lex" >&6; }
12182   test "$ac_cv_lib_lex" != 'none needed' && LEXLIB=$ac_cv_lib_lex
12183 fi
12184
12185
12186 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether yytext is a pointer" >&5
12187 $as_echo_n "checking whether yytext is a pointer... " >&6; }
12188 if ${ac_cv_prog_lex_yytext_pointer+:} false; then :
12189   $as_echo_n "(cached) " >&6
12190 else
12191   # POSIX says lex can declare yytext either as a pointer or an array; the
12192 # default is implementation-dependent.  Figure out which it is, since
12193 # not all implementations provide the %pointer and %array declarations.
12194 ac_cv_prog_lex_yytext_pointer=no
12195 ac_save_LIBS=$LIBS
12196 LIBS="$LEXLIB $ac_save_LIBS"
12197 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12198 /* end confdefs.h.  */
12199
12200   #define YYTEXT_POINTER 1
12201 `cat $LEX_OUTPUT_ROOT.c`
12202 _ACEOF
12203 if ac_fn_c_try_link "$LINENO"; then :
12204   ac_cv_prog_lex_yytext_pointer=yes
12205 fi
12206 rm -f core conftest.err conftest.$ac_objext \
12207     conftest$ac_exeext conftest.$ac_ext
12208 LIBS=$ac_save_LIBS
12209
12210 fi
12211 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_lex_yytext_pointer" >&5
12212 $as_echo "$ac_cv_prog_lex_yytext_pointer" >&6; }
12213 if test $ac_cv_prog_lex_yytext_pointer = yes; then
12214
12215 $as_echo "#define YYTEXT_POINTER 1" >>confdefs.h
12216
12217 fi
12218 rm -f conftest.l $LEX_OUTPUT_ROOT.c
12219
12220 fi
12221 if test "$LEX" = :; then
12222         as_fn_error $? "flex not found but required" "$LINENO" 5
12223 fi
12224
12225 for ac_prog in 'bison -y'
12226 do
12227   # Extract the first word of "$ac_prog", so it can be a program name with args.
12228 set dummy $ac_prog; ac_word=$2
12229 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
12230 $as_echo_n "checking for $ac_word... " >&6; }
12231 if ${ac_cv_prog_YACC+:} false; then :
12232   $as_echo_n "(cached) " >&6
12233 else
12234   if test -n "$YACC"; then
12235   ac_cv_prog_YACC="$YACC" # Let the user override the test.
12236 else
12237 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12238 for as_dir in $PATH
12239 do
12240   IFS=$as_save_IFS
12241   test -z "$as_dir" && as_dir=.
12242     for ac_exec_ext in '' $ac_executable_extensions; do
12243   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
12244     ac_cv_prog_YACC="$ac_prog"
12245     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
12246     break 2
12247   fi
12248 done
12249   done
12250 IFS=$as_save_IFS
12251
12252 fi
12253 fi
12254 YACC=$ac_cv_prog_YACC
12255 if test -n "$YACC"; then
12256   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $YACC" >&5
12257 $as_echo "$YACC" >&6; }
12258 else
12259   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12260 $as_echo "no" >&6; }
12261 fi
12262
12263
12264   test -n "$YACC" && break
12265 done
12266 test -n "$YACC" || YACC=":"
12267
12268 if test "$YACC" = :; then
12269         as_fn_error $? "bison not found but required" "$LINENO" 5
12270 fi
12271
12272
12273 ensureflag() {
12274   flag="$1"; shift
12275   result="$@"
12276
12277   case " ${result} " in
12278   *[\ \ ]${flag}[\ \    ]*) ;;
12279   *) result="${flag} ${result}" ;;
12280   esac
12281
12282   echo ${result}
12283 }
12284
12285 if test "$GCC" = "yes"; then
12286     for flag in -Wall -Wchar-subscripts -Wmissing-declarations \
12287         -Wmissing-prototypes -Wnested-externs -Wpointer-arith -Wcast-align \
12288         -Wsign-compare -fno-strict-aliasing;
12289     do
12290         CFLAGS="$(ensureflag $flag $CFLAGS)"
12291     done
12292 fi
12293
12294 # Checks for libraries.
12295 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
12296 $as_echo_n "checking for dlopen in -ldl... " >&6; }
12297 if ${ac_cv_lib_dl_dlopen+:} false; then :
12298   $as_echo_n "(cached) " >&6
12299 else
12300   ac_check_lib_save_LIBS=$LIBS
12301 LIBS="-ldl  $LIBS"
12302 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12303 /* end confdefs.h.  */
12304
12305 /* Override any GCC internal prototype to avoid an error.
12306    Use char because int might match the return type of a GCC
12307    builtin and then its argument prototype would still apply.  */
12308 #ifdef __cplusplus
12309 extern "C"
12310 #endif
12311 char dlopen ();
12312 int
12313 main ()
12314 {
12315 return dlopen ();
12316   ;
12317   return 0;
12318 }
12319 _ACEOF
12320 if ac_fn_c_try_link "$LINENO"; then :
12321   ac_cv_lib_dl_dlopen=yes
12322 else
12323   ac_cv_lib_dl_dlopen=no
12324 fi
12325 rm -f core conftest.err conftest.$ac_objext \
12326     conftest$ac_exeext conftest.$ac_ext
12327 LIBS=$ac_check_lib_save_LIBS
12328 fi
12329 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
12330 $as_echo "$ac_cv_lib_dl_dlopen" >&6; }
12331 if test "x$ac_cv_lib_dl_dlopen" = xyes; then :
12332   cat >>confdefs.h <<_ACEOF
12333 #define HAVE_LIBDL 1
12334 _ACEOF
12335
12336   LIBS="-ldl $LIBS"
12337
12338 fi
12339
12340
12341 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for the suffix of shared libraries" >&5
12342 $as_echo_n "checking for the suffix of shared libraries... " >&6; }
12343 # libtool variables are immediately available since 2.0, prior to that we need
12344 # to call libtool --config explicitly
12345 if test "x$shrext_cmds" = x; then
12346     shrext_cmds=`SED=$SED ./libtool --config | grep '^shrext_cmds='`
12347     eval $shrext_cmds
12348 fi
12349 eval std_shrext=$shrext_cmds
12350 # chop the initial dot
12351 SHLIB_SUFFIX=${std_shrext#.}
12352 { $as_echo "$as_me:${as_lineno-$LINENO}: result: .$SHLIB_SUFFIX" >&5
12353 $as_echo ".$SHLIB_SUFFIX" >&6; }
12354 # any reason it may fail?
12355 if test "x$SHLIB_SUFFIX" = x; then
12356         as_fn_error $? "Cannot determine shared library suffix from libtool" "$LINENO" 5
12357 fi
12358
12359 cat >>confdefs.h <<_ACEOF
12360 #define SHLIB_SUFFIX "$SHLIB_SUFFIX"
12361 _ACEOF
12362
12363
12364 # Copied from dbus configure.in
12365 #### find the actual value for $prefix that we'll end up with
12366 ##   (I know this is broken and should be done in the Makefile, but
12367 ##    that's a major pain and almost nobody actually seems to care)
12368
12369   EXP_VAR=EXPANDED_LOCALSTATEDIR
12370   FROM_VAR="$localstatedir"
12371
12372     prefix_save=$prefix
12373   exec_prefix_save=$exec_prefix
12374
12375     if test "x$prefix" = "xNONE"; then
12376     prefix="$ac_default_prefix"
12377   fi
12378     if test "x$exec_prefix" = "xNONE"; then
12379     exec_prefix=$prefix
12380   fi
12381
12382   full_var="$FROM_VAR"
12383     while true; do
12384     new_full_var="`eval echo $full_var`"
12385     if test "x$new_full_var" = "x$full_var"; then break; fi
12386     full_var=$new_full_var
12387   done
12388
12389     full_var=$new_full_var
12390   EXPANDED_LOCALSTATEDIR="$full_var"
12391
12392
12393     prefix=$prefix_save
12394   exec_prefix=$exec_prefix_save
12395
12396
12397   EXP_VAR=EXPANDED_SYSCONFDIR
12398   FROM_VAR="$sysconfdir"
12399
12400     prefix_save=$prefix
12401   exec_prefix_save=$exec_prefix
12402
12403     if test "x$prefix" = "xNONE"; then
12404     prefix="$ac_default_prefix"
12405   fi
12406     if test "x$exec_prefix" = "xNONE"; then
12407     exec_prefix=$prefix
12408   fi
12409
12410   full_var="$FROM_VAR"
12411     while true; do
12412     new_full_var="`eval echo $full_var`"
12413     if test "x$new_full_var" = "x$full_var"; then break; fi
12414     full_var=$new_full_var
12415   done
12416
12417     full_var=$new_full_var
12418   EXPANDED_SYSCONFDIR="$full_var"
12419
12420
12421     prefix=$prefix_save
12422   exec_prefix=$exec_prefix_save
12423
12424
12425   EXP_VAR=EXPANDED_BINDIR
12426   FROM_VAR="$bindir"
12427
12428     prefix_save=$prefix
12429   exec_prefix_save=$exec_prefix
12430
12431     if test "x$prefix" = "xNONE"; then
12432     prefix="$ac_default_prefix"
12433   fi
12434     if test "x$exec_prefix" = "xNONE"; then
12435     exec_prefix=$prefix
12436   fi
12437
12438   full_var="$FROM_VAR"
12439     while true; do
12440     new_full_var="`eval echo $full_var`"
12441     if test "x$new_full_var" = "x$full_var"; then break; fi
12442     full_var=$new_full_var
12443   done
12444
12445     full_var=$new_full_var
12446   EXPANDED_BINDIR="$full_var"
12447
12448
12449     prefix=$prefix_save
12450   exec_prefix=$exec_prefix_save
12451
12452
12453   EXP_VAR=EXPANDED_LIBDIR
12454   FROM_VAR="$libdir"
12455
12456     prefix_save=$prefix
12457   exec_prefix_save=$exec_prefix
12458
12459     if test "x$prefix" = "xNONE"; then
12460     prefix="$ac_default_prefix"
12461   fi
12462     if test "x$exec_prefix" = "xNONE"; then
12463     exec_prefix=$prefix
12464   fi
12465
12466   full_var="$FROM_VAR"
12467     while true; do
12468     new_full_var="`eval echo $full_var`"
12469     if test "x$new_full_var" = "x$full_var"; then break; fi
12470     full_var=$new_full_var
12471   done
12472
12473     full_var=$new_full_var
12474   EXPANDED_LIBDIR="$full_var"
12475
12476
12477     prefix=$prefix_save
12478   exec_prefix=$exec_prefix_save
12479
12480
12481   EXP_VAR=EXPANDED_LIBEXECDIR
12482   FROM_VAR="$libexecdir"
12483
12484     prefix_save=$prefix
12485   exec_prefix_save=$exec_prefix
12486
12487     if test "x$prefix" = "xNONE"; then
12488     prefix="$ac_default_prefix"
12489   fi
12490     if test "x$exec_prefix" = "xNONE"; then
12491     exec_prefix=$prefix
12492   fi
12493
12494   full_var="$FROM_VAR"
12495     while true; do
12496     new_full_var="`eval echo $full_var`"
12497     if test "x$new_full_var" = "x$full_var"; then break; fi
12498     full_var=$new_full_var
12499   done
12500
12501     full_var=$new_full_var
12502   EXPANDED_LIBEXECDIR="$full_var"
12503
12504
12505     prefix=$prefix_save
12506   exec_prefix=$exec_prefix_save
12507
12508
12509   EXP_VAR=EXPANDED_DATADIR
12510   FROM_VAR="$datadir"
12511
12512     prefix_save=$prefix
12513   exec_prefix_save=$exec_prefix
12514
12515     if test "x$prefix" = "xNONE"; then
12516     prefix="$ac_default_prefix"
12517   fi
12518     if test "x$exec_prefix" = "xNONE"; then
12519     exec_prefix=$prefix
12520   fi
12521
12522   full_var="$FROM_VAR"
12523     while true; do
12524     new_full_var="`eval echo $full_var`"
12525     if test "x$new_full_var" = "x$full_var"; then break; fi
12526     full_var=$new_full_var
12527   done
12528
12529     full_var=$new_full_var
12530   EXPANDED_DATADIR="$full_var"
12531
12532
12533     prefix=$prefix_save
12534   exec_prefix=$exec_prefix_save
12535
12536
12537 #### Directory to install the libexec binaries
12538 GOBJECT_INTROSPECTION_LIBDIR="$EXPANDED_LIBDIR"
12539
12540
12541 cat >>confdefs.h <<_ACEOF
12542 #define GOBJECT_INTROSPECTION_LIBDIR "$GOBJECT_INTROSPECTION_LIBDIR"
12543 _ACEOF
12544
12545
12546 #### Directory to install the gir files
12547 GIR_SUFFIX="gir-1.0"
12548
12549
12550 cat >>confdefs.h <<_ACEOF
12551 #define GIR_SUFFIX "$GIR_SUFFIX"
12552 _ACEOF
12553
12554
12555 GIR_DIR="$EXPANDED_DATADIR/$GIR_SUFFIX"
12556
12557
12558 cat >>confdefs.h <<_ACEOF
12559 #define GIR_DIR "$GIR_DIR"
12560 _ACEOF
12561
12562
12563
12564 pkg_failed=no
12565 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GLIB" >&5
12566 $as_echo_n "checking for GLIB... " >&6; }
12567
12568 if test -n "$GLIB_CFLAGS"; then
12569     pkg_cv_GLIB_CFLAGS="$GLIB_CFLAGS"
12570  elif test -n "$PKG_CONFIG"; then
12571     if test -n "$PKG_CONFIG" && \
12572     { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"glib-2.0 >= 2.35.0\""; } >&5
12573   ($PKG_CONFIG --exists --print-errors "glib-2.0 >= 2.35.0") 2>&5
12574   ac_status=$?
12575   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
12576   test $ac_status = 0; }; then
12577   pkg_cv_GLIB_CFLAGS=`$PKG_CONFIG --cflags "glib-2.0 >= 2.35.0" 2>/dev/null`
12578                       test "x$?" != "x0" && pkg_failed=yes
12579 else
12580   pkg_failed=yes
12581 fi
12582  else
12583     pkg_failed=untried
12584 fi
12585 if test -n "$GLIB_LIBS"; then
12586     pkg_cv_GLIB_LIBS="$GLIB_LIBS"
12587  elif test -n "$PKG_CONFIG"; then
12588     if test -n "$PKG_CONFIG" && \
12589     { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"glib-2.0 >= 2.35.0\""; } >&5
12590   ($PKG_CONFIG --exists --print-errors "glib-2.0 >= 2.35.0") 2>&5
12591   ac_status=$?
12592   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
12593   test $ac_status = 0; }; then
12594   pkg_cv_GLIB_LIBS=`$PKG_CONFIG --libs "glib-2.0 >= 2.35.0" 2>/dev/null`
12595                       test "x$?" != "x0" && pkg_failed=yes
12596 else
12597   pkg_failed=yes
12598 fi
12599  else
12600     pkg_failed=untried
12601 fi
12602
12603
12604
12605 if test $pkg_failed = yes; then
12606         { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12607 $as_echo "no" >&6; }
12608
12609 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
12610         _pkg_short_errors_supported=yes
12611 else
12612         _pkg_short_errors_supported=no
12613 fi
12614         if test $_pkg_short_errors_supported = yes; then
12615                 GLIB_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "glib-2.0 >= 2.35.0" 2>&1`
12616         else
12617                 GLIB_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "glib-2.0 >= 2.35.0" 2>&1`
12618         fi
12619         # Put the nasty error message in config.log where it belongs
12620         echo "$GLIB_PKG_ERRORS" >&5
12621
12622         as_fn_error $? "Package requirements (glib-2.0 >= 2.35.0) were not met:
12623
12624 $GLIB_PKG_ERRORS
12625
12626 Consider adjusting the PKG_CONFIG_PATH environment variable if you
12627 installed software in a non-standard prefix.
12628
12629 Alternatively, you may set the environment variables GLIB_CFLAGS
12630 and GLIB_LIBS to avoid the need to call pkg-config.
12631 See the pkg-config man page for more details." "$LINENO" 5
12632 elif test $pkg_failed = untried; then
12633         { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12634 $as_echo "no" >&6; }
12635         { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
12636 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
12637 as_fn_error $? "The pkg-config script could not be found or is too old.  Make sure it
12638 is in your PATH or set the PKG_CONFIG environment variable to the full
12639 path to pkg-config.
12640
12641 Alternatively, you may set the environment variables GLIB_CFLAGS
12642 and GLIB_LIBS to avoid the need to call pkg-config.
12643 See the pkg-config man page for more details.
12644
12645 To get pkg-config, see <http://pkg-config.freedesktop.org/>.
12646 See \`config.log' for more details" "$LINENO" 5; }
12647 else
12648         GLIB_CFLAGS=$pkg_cv_GLIB_CFLAGS
12649         GLIB_LIBS=$pkg_cv_GLIB_LIBS
12650         { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
12651 $as_echo "yes" >&6; }
12652
12653 fi
12654
12655 pkg_failed=no
12656 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GOBJECT" >&5
12657 $as_echo_n "checking for GOBJECT... " >&6; }
12658
12659 if test -n "$GOBJECT_CFLAGS"; then
12660     pkg_cv_GOBJECT_CFLAGS="$GOBJECT_CFLAGS"
12661  elif test -n "$PKG_CONFIG"; then
12662     if test -n "$PKG_CONFIG" && \
12663     { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"gobject-2.0\""; } >&5
12664   ($PKG_CONFIG --exists --print-errors "gobject-2.0") 2>&5
12665   ac_status=$?
12666   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
12667   test $ac_status = 0; }; then
12668   pkg_cv_GOBJECT_CFLAGS=`$PKG_CONFIG --cflags "gobject-2.0" 2>/dev/null`
12669                       test "x$?" != "x0" && pkg_failed=yes
12670 else
12671   pkg_failed=yes
12672 fi
12673  else
12674     pkg_failed=untried
12675 fi
12676 if test -n "$GOBJECT_LIBS"; then
12677     pkg_cv_GOBJECT_LIBS="$GOBJECT_LIBS"
12678  elif test -n "$PKG_CONFIG"; then
12679     if test -n "$PKG_CONFIG" && \
12680     { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"gobject-2.0\""; } >&5
12681   ($PKG_CONFIG --exists --print-errors "gobject-2.0") 2>&5
12682   ac_status=$?
12683   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
12684   test $ac_status = 0; }; then
12685   pkg_cv_GOBJECT_LIBS=`$PKG_CONFIG --libs "gobject-2.0" 2>/dev/null`
12686                       test "x$?" != "x0" && pkg_failed=yes
12687 else
12688   pkg_failed=yes
12689 fi
12690  else
12691     pkg_failed=untried
12692 fi
12693
12694
12695
12696 if test $pkg_failed = yes; then
12697         { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12698 $as_echo "no" >&6; }
12699
12700 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
12701         _pkg_short_errors_supported=yes
12702 else
12703         _pkg_short_errors_supported=no
12704 fi
12705         if test $_pkg_short_errors_supported = yes; then
12706                 GOBJECT_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "gobject-2.0" 2>&1`
12707         else
12708                 GOBJECT_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "gobject-2.0" 2>&1`
12709         fi
12710         # Put the nasty error message in config.log where it belongs
12711         echo "$GOBJECT_PKG_ERRORS" >&5
12712
12713         as_fn_error $? "Package requirements (gobject-2.0) were not met:
12714
12715 $GOBJECT_PKG_ERRORS
12716
12717 Consider adjusting the PKG_CONFIG_PATH environment variable if you
12718 installed software in a non-standard prefix.
12719
12720 Alternatively, you may set the environment variables GOBJECT_CFLAGS
12721 and GOBJECT_LIBS to avoid the need to call pkg-config.
12722 See the pkg-config man page for more details." "$LINENO" 5
12723 elif test $pkg_failed = untried; then
12724         { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12725 $as_echo "no" >&6; }
12726         { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
12727 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
12728 as_fn_error $? "The pkg-config script could not be found or is too old.  Make sure it
12729 is in your PATH or set the PKG_CONFIG environment variable to the full
12730 path to pkg-config.
12731
12732 Alternatively, you may set the environment variables GOBJECT_CFLAGS
12733 and GOBJECT_LIBS to avoid the need to call pkg-config.
12734 See the pkg-config man page for more details.
12735
12736 To get pkg-config, see <http://pkg-config.freedesktop.org/>.
12737 See \`config.log' for more details" "$LINENO" 5; }
12738 else
12739         GOBJECT_CFLAGS=$pkg_cv_GOBJECT_CFLAGS
12740         GOBJECT_LIBS=$pkg_cv_GOBJECT_LIBS
12741         { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
12742 $as_echo "yes" >&6; }
12743
12744 fi
12745
12746 pkg_failed=no
12747 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GMODULE" >&5
12748 $as_echo_n "checking for GMODULE... " >&6; }
12749
12750 if test -n "$GMODULE_CFLAGS"; then
12751     pkg_cv_GMODULE_CFLAGS="$GMODULE_CFLAGS"
12752  elif test -n "$PKG_CONFIG"; then
12753     if test -n "$PKG_CONFIG" && \
12754     { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"gmodule-2.0\""; } >&5
12755   ($PKG_CONFIG --exists --print-errors "gmodule-2.0") 2>&5
12756   ac_status=$?
12757   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
12758   test $ac_status = 0; }; then
12759   pkg_cv_GMODULE_CFLAGS=`$PKG_CONFIG --cflags "gmodule-2.0" 2>/dev/null`
12760                       test "x$?" != "x0" && pkg_failed=yes
12761 else
12762   pkg_failed=yes
12763 fi
12764  else
12765     pkg_failed=untried
12766 fi
12767 if test -n "$GMODULE_LIBS"; then
12768     pkg_cv_GMODULE_LIBS="$GMODULE_LIBS"
12769  elif test -n "$PKG_CONFIG"; then
12770     if test -n "$PKG_CONFIG" && \
12771     { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"gmodule-2.0\""; } >&5
12772   ($PKG_CONFIG --exists --print-errors "gmodule-2.0") 2>&5
12773   ac_status=$?
12774   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
12775   test $ac_status = 0; }; then
12776   pkg_cv_GMODULE_LIBS=`$PKG_CONFIG --libs "gmodule-2.0" 2>/dev/null`
12777                       test "x$?" != "x0" && pkg_failed=yes
12778 else
12779   pkg_failed=yes
12780 fi
12781  else
12782     pkg_failed=untried
12783 fi
12784
12785
12786
12787 if test $pkg_failed = yes; then
12788         { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12789 $as_echo "no" >&6; }
12790
12791 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
12792         _pkg_short_errors_supported=yes
12793 else
12794         _pkg_short_errors_supported=no
12795 fi
12796         if test $_pkg_short_errors_supported = yes; then
12797                 GMODULE_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "gmodule-2.0" 2>&1`
12798         else
12799                 GMODULE_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "gmodule-2.0" 2>&1`
12800         fi
12801         # Put the nasty error message in config.log where it belongs
12802         echo "$GMODULE_PKG_ERRORS" >&5
12803
12804         as_fn_error $? "Package requirements (gmodule-2.0) were not met:
12805
12806 $GMODULE_PKG_ERRORS
12807
12808 Consider adjusting the PKG_CONFIG_PATH environment variable if you
12809 installed software in a non-standard prefix.
12810
12811 Alternatively, you may set the environment variables GMODULE_CFLAGS
12812 and GMODULE_LIBS to avoid the need to call pkg-config.
12813 See the pkg-config man page for more details." "$LINENO" 5
12814 elif test $pkg_failed = untried; then
12815         { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12816 $as_echo "no" >&6; }
12817         { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
12818 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
12819 as_fn_error $? "The pkg-config script could not be found or is too old.  Make sure it
12820 is in your PATH or set the PKG_CONFIG environment variable to the full
12821 path to pkg-config.
12822
12823 Alternatively, you may set the environment variables GMODULE_CFLAGS
12824 and GMODULE_LIBS to avoid the need to call pkg-config.
12825 See the pkg-config man page for more details.
12826
12827 To get pkg-config, see <http://pkg-config.freedesktop.org/>.
12828 See \`config.log' for more details" "$LINENO" 5; }
12829 else
12830         GMODULE_CFLAGS=$pkg_cv_GMODULE_CFLAGS
12831         GMODULE_LIBS=$pkg_cv_GMODULE_LIBS
12832         { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
12833 $as_echo "yes" >&6; }
12834
12835 fi
12836
12837 pkg_failed=no
12838 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GIO" >&5
12839 $as_echo_n "checking for GIO... " >&6; }
12840
12841 if test -n "$GIO_CFLAGS"; then
12842     pkg_cv_GIO_CFLAGS="$GIO_CFLAGS"
12843  elif test -n "$PKG_CONFIG"; then
12844     if test -n "$PKG_CONFIG" && \
12845     { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"gio-2.0\""; } >&5
12846   ($PKG_CONFIG --exists --print-errors "gio-2.0") 2>&5
12847   ac_status=$?
12848   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
12849   test $ac_status = 0; }; then
12850   pkg_cv_GIO_CFLAGS=`$PKG_CONFIG --cflags "gio-2.0" 2>/dev/null`
12851                       test "x$?" != "x0" && pkg_failed=yes
12852 else
12853   pkg_failed=yes
12854 fi
12855  else
12856     pkg_failed=untried
12857 fi
12858 if test -n "$GIO_LIBS"; then
12859     pkg_cv_GIO_LIBS="$GIO_LIBS"
12860  elif test -n "$PKG_CONFIG"; then
12861     if test -n "$PKG_CONFIG" && \
12862     { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"gio-2.0\""; } >&5
12863   ($PKG_CONFIG --exists --print-errors "gio-2.0") 2>&5
12864   ac_status=$?
12865   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
12866   test $ac_status = 0; }; then
12867   pkg_cv_GIO_LIBS=`$PKG_CONFIG --libs "gio-2.0" 2>/dev/null`
12868                       test "x$?" != "x0" && pkg_failed=yes
12869 else
12870   pkg_failed=yes
12871 fi
12872  else
12873     pkg_failed=untried
12874 fi
12875
12876
12877
12878 if test $pkg_failed = yes; then
12879         { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12880 $as_echo "no" >&6; }
12881
12882 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
12883         _pkg_short_errors_supported=yes
12884 else
12885         _pkg_short_errors_supported=no
12886 fi
12887         if test $_pkg_short_errors_supported = yes; then
12888                 GIO_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "gio-2.0" 2>&1`
12889         else
12890                 GIO_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "gio-2.0" 2>&1`
12891         fi
12892         # Put the nasty error message in config.log where it belongs
12893         echo "$GIO_PKG_ERRORS" >&5
12894
12895         as_fn_error $? "Package requirements (gio-2.0) were not met:
12896
12897 $GIO_PKG_ERRORS
12898
12899 Consider adjusting the PKG_CONFIG_PATH environment variable if you
12900 installed software in a non-standard prefix.
12901
12902 Alternatively, you may set the environment variables GIO_CFLAGS
12903 and GIO_LIBS to avoid the need to call pkg-config.
12904 See the pkg-config man page for more details." "$LINENO" 5
12905 elif test $pkg_failed = untried; then
12906         { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12907 $as_echo "no" >&6; }
12908         { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
12909 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
12910 as_fn_error $? "The pkg-config script could not be found or is too old.  Make sure it
12911 is in your PATH or set the PKG_CONFIG environment variable to the full
12912 path to pkg-config.
12913
12914 Alternatively, you may set the environment variables GIO_CFLAGS
12915 and GIO_LIBS to avoid the need to call pkg-config.
12916 See the pkg-config man page for more details.
12917
12918 To get pkg-config, see <http://pkg-config.freedesktop.org/>.
12919 See \`config.log' for more details" "$LINENO" 5; }
12920 else
12921         GIO_CFLAGS=$pkg_cv_GIO_CFLAGS
12922         GIO_LIBS=$pkg_cv_GIO_LIBS
12923         { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
12924 $as_echo "yes" >&6; }
12925
12926 fi
12927
12928 pkg_failed=no
12929 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GIO_UNIX" >&5
12930 $as_echo_n "checking for GIO_UNIX... " >&6; }
12931
12932 if test -n "$GIO_UNIX_CFLAGS"; then
12933     pkg_cv_GIO_UNIX_CFLAGS="$GIO_UNIX_CFLAGS"
12934  elif test -n "$PKG_CONFIG"; then
12935     if test -n "$PKG_CONFIG" && \
12936     { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"gio-unix-2.0\""; } >&5
12937   ($PKG_CONFIG --exists --print-errors "gio-unix-2.0") 2>&5
12938   ac_status=$?
12939   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
12940   test $ac_status = 0; }; then
12941   pkg_cv_GIO_UNIX_CFLAGS=`$PKG_CONFIG --cflags "gio-unix-2.0" 2>/dev/null`
12942                       test "x$?" != "x0" && pkg_failed=yes
12943 else
12944   pkg_failed=yes
12945 fi
12946  else
12947     pkg_failed=untried
12948 fi
12949 if test -n "$GIO_UNIX_LIBS"; then
12950     pkg_cv_GIO_UNIX_LIBS="$GIO_UNIX_LIBS"
12951  elif test -n "$PKG_CONFIG"; then
12952     if test -n "$PKG_CONFIG" && \
12953     { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"gio-unix-2.0\""; } >&5
12954   ($PKG_CONFIG --exists --print-errors "gio-unix-2.0") 2>&5
12955   ac_status=$?
12956   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
12957   test $ac_status = 0; }; then
12958   pkg_cv_GIO_UNIX_LIBS=`$PKG_CONFIG --libs "gio-unix-2.0" 2>/dev/null`
12959                       test "x$?" != "x0" && pkg_failed=yes
12960 else
12961   pkg_failed=yes
12962 fi
12963  else
12964     pkg_failed=untried
12965 fi
12966
12967
12968
12969 if test $pkg_failed = yes; then
12970         { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12971 $as_echo "no" >&6; }
12972
12973 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
12974         _pkg_short_errors_supported=yes
12975 else
12976         _pkg_short_errors_supported=no
12977 fi
12978         if test $_pkg_short_errors_supported = yes; then
12979                 GIO_UNIX_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "gio-unix-2.0" 2>&1`
12980         else
12981                 GIO_UNIX_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "gio-unix-2.0" 2>&1`
12982         fi
12983         # Put the nasty error message in config.log where it belongs
12984         echo "$GIO_UNIX_PKG_ERRORS" >&5
12985
12986         have_gio_unix=false
12987 elif test $pkg_failed = untried; then
12988         { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12989 $as_echo "no" >&6; }
12990         have_gio_unix=false
12991 else
12992         GIO_UNIX_CFLAGS=$pkg_cv_GIO_UNIX_CFLAGS
12993         GIO_UNIX_LIBS=$pkg_cv_GIO_UNIX_LIBS
12994         { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
12995 $as_echo "yes" >&6; }
12996         have_gio_unix=true
12997 fi
12998  if test x$have_gio_unix = xtrue; then
12999   HAVE_GIO_UNIX_TRUE=
13000   HAVE_GIO_UNIX_FALSE='#'
13001 else
13002   HAVE_GIO_UNIX_TRUE='#'
13003   HAVE_GIO_UNIX_FALSE=
13004 fi
13005
13006
13007 # Prefer cairo-gobject if we have it
13008
13009 # Check whether --with-cairo was given.
13010 if test "${with_cairo+set}" = set; then :
13011   withval=$with_cairo;
13012 else
13013   with_cairo=maybe
13014 fi
13015
13016
13017 if test x${with_cairo} != xno; then :
13018
13019
13020 pkg_failed=no
13021 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for CAIRO" >&5
13022 $as_echo_n "checking for CAIRO... " >&6; }
13023
13024 if test -n "$CAIRO_CFLAGS"; then
13025     pkg_cv_CAIRO_CFLAGS="$CAIRO_CFLAGS"
13026  elif test -n "$PKG_CONFIG"; then
13027     if test -n "$PKG_CONFIG" && \
13028     { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"cairo cairo-gobject\""; } >&5
13029   ($PKG_CONFIG --exists --print-errors "cairo cairo-gobject") 2>&5
13030   ac_status=$?
13031   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
13032   test $ac_status = 0; }; then
13033   pkg_cv_CAIRO_CFLAGS=`$PKG_CONFIG --cflags "cairo cairo-gobject" 2>/dev/null`
13034                       test "x$?" != "x0" && pkg_failed=yes
13035 else
13036   pkg_failed=yes
13037 fi
13038  else
13039     pkg_failed=untried
13040 fi
13041 if test -n "$CAIRO_LIBS"; then
13042     pkg_cv_CAIRO_LIBS="$CAIRO_LIBS"
13043  elif test -n "$PKG_CONFIG"; then
13044     if test -n "$PKG_CONFIG" && \
13045     { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"cairo cairo-gobject\""; } >&5
13046   ($PKG_CONFIG --exists --print-errors "cairo cairo-gobject") 2>&5
13047   ac_status=$?
13048   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
13049   test $ac_status = 0; }; then
13050   pkg_cv_CAIRO_LIBS=`$PKG_CONFIG --libs "cairo cairo-gobject" 2>/dev/null`
13051                       test "x$?" != "x0" && pkg_failed=yes
13052 else
13053   pkg_failed=yes
13054 fi
13055  else
13056     pkg_failed=untried
13057 fi
13058
13059
13060
13061 if test $pkg_failed = yes; then
13062         { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
13063 $as_echo "no" >&6; }
13064
13065 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
13066         _pkg_short_errors_supported=yes
13067 else
13068         _pkg_short_errors_supported=no
13069 fi
13070         if test $_pkg_short_errors_supported = yes; then
13071                 CAIRO_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "cairo cairo-gobject" 2>&1`
13072         else
13073                 CAIRO_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "cairo cairo-gobject" 2>&1`
13074         fi
13075         # Put the nasty error message in config.log where it belongs
13076         echo "$CAIRO_PKG_ERRORS" >&5
13077
13078         have_cairo=no
13079 elif test $pkg_failed = untried; then
13080         { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
13081 $as_echo "no" >&6; }
13082         have_cairo=no
13083 else
13084         CAIRO_CFLAGS=$pkg_cv_CAIRO_CFLAGS
13085         CAIRO_LIBS=$pkg_cv_CAIRO_LIBS
13086         { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
13087 $as_echo "yes" >&6; }
13088         have_cairo=yes
13089 fi
13090   if  test x$have_cairo = xno && test x$with_cairo = xyes ; then :
13091
13092     as_fn_error $? "cairo enabled but not found" "$LINENO" 5
13093
13094 fi
13095
13096 fi
13097  if test x$have_cairo = xyes; then
13098   HAVE_CAIRO_TRUE=
13099   HAVE_CAIRO_FALSE='#'
13100 else
13101   HAVE_CAIRO_TRUE='#'
13102   HAVE_CAIRO_FALSE=
13103 fi
13104
13105
13106 case "$host" in
13107   *-*-darwin*)
13108     CAIRO_SHARED_LIBRARY="libcairo-gobject.2.dylib"
13109     ;;
13110   *-*-mingw*)
13111     CAIRO_SHARED_LIBRARY="libcairo-gobject-2.dll"
13112     ;;
13113   *-*-openbsd*)
13114     CAIRO_SHARED_LIBRARY="libcairo-gobject.so"
13115     ;;
13116   *)
13117     CAIRO_SHARED_LIBRARY="libcairo-gobject.so.2"
13118     ;;
13119 esac
13120 CAIRO_GIR_PACKAGE="cairo-gobject"
13121
13122
13123
13124
13125
13126
13127 pkg_failed=no
13128 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for SCANNER" >&5
13129 $as_echo_n "checking for SCANNER... " >&6; }
13130
13131 if test -n "$SCANNER_CFLAGS"; then
13132     pkg_cv_SCANNER_CFLAGS="$SCANNER_CFLAGS"
13133  elif test -n "$PKG_CONFIG"; then
13134     if test -n "$PKG_CONFIG" && \
13135     { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"gobject-2.0 gio-2.0\""; } >&5
13136   ($PKG_CONFIG --exists --print-errors "gobject-2.0 gio-2.0") 2>&5
13137   ac_status=$?
13138   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
13139   test $ac_status = 0; }; then
13140   pkg_cv_SCANNER_CFLAGS=`$PKG_CONFIG --cflags "gobject-2.0 gio-2.0" 2>/dev/null`
13141                       test "x$?" != "x0" && pkg_failed=yes
13142 else
13143   pkg_failed=yes
13144 fi
13145  else
13146     pkg_failed=untried
13147 fi
13148 if test -n "$SCANNER_LIBS"; then
13149     pkg_cv_SCANNER_LIBS="$SCANNER_LIBS"
13150  elif test -n "$PKG_CONFIG"; then
13151     if test -n "$PKG_CONFIG" && \
13152     { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"gobject-2.0 gio-2.0\""; } >&5
13153   ($PKG_CONFIG --exists --print-errors "gobject-2.0 gio-2.0") 2>&5
13154   ac_status=$?
13155   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
13156   test $ac_status = 0; }; then
13157   pkg_cv_SCANNER_LIBS=`$PKG_CONFIG --libs "gobject-2.0 gio-2.0" 2>/dev/null`
13158                       test "x$?" != "x0" && pkg_failed=yes
13159 else
13160   pkg_failed=yes
13161 fi
13162  else
13163     pkg_failed=untried
13164 fi
13165
13166
13167
13168 if test $pkg_failed = yes; then
13169         { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
13170 $as_echo "no" >&6; }
13171
13172 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
13173         _pkg_short_errors_supported=yes
13174 else
13175         _pkg_short_errors_supported=no
13176 fi
13177         if test $_pkg_short_errors_supported = yes; then
13178                 SCANNER_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "gobject-2.0 gio-2.0" 2>&1`
13179         else
13180                 SCANNER_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "gobject-2.0 gio-2.0" 2>&1`
13181         fi
13182         # Put the nasty error message in config.log where it belongs
13183         echo "$SCANNER_PKG_ERRORS" >&5
13184
13185         as_fn_error $? "Package requirements (gobject-2.0 gio-2.0) were not met:
13186
13187 $SCANNER_PKG_ERRORS
13188
13189 Consider adjusting the PKG_CONFIG_PATH environment variable if you
13190 installed software in a non-standard prefix.
13191
13192 Alternatively, you may set the environment variables SCANNER_CFLAGS
13193 and SCANNER_LIBS to avoid the need to call pkg-config.
13194 See the pkg-config man page for more details." "$LINENO" 5
13195 elif test $pkg_failed = untried; then
13196         { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
13197 $as_echo "no" >&6; }
13198         { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
13199 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
13200 as_fn_error $? "The pkg-config script could not be found or is too old.  Make sure it
13201 is in your PATH or set the PKG_CONFIG environment variable to the full
13202 path to pkg-config.
13203
13204 Alternatively, you may set the environment variables SCANNER_CFLAGS
13205 and SCANNER_LIBS to avoid the need to call pkg-config.
13206 See the pkg-config man page for more details.
13207
13208 To get pkg-config, see <http://pkg-config.freedesktop.org/>.
13209 See \`config.log' for more details" "$LINENO" 5; }
13210 else
13211         SCANNER_CFLAGS=$pkg_cv_SCANNER_CFLAGS
13212         SCANNER_LIBS=$pkg_cv_SCANNER_LIBS
13213         { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
13214 $as_echo "yes" >&6; }
13215
13216 fi
13217
13218
13219 pkg_failed=no
13220 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for FFI" >&5
13221 $as_echo_n "checking for FFI... " >&6; }
13222
13223 if test -n "$FFI_CFLAGS"; then
13224     pkg_cv_FFI_CFLAGS="$FFI_CFLAGS"
13225  elif test -n "$PKG_CONFIG"; then
13226     if test -n "$PKG_CONFIG" && \
13227     { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"libffi\""; } >&5
13228   ($PKG_CONFIG --exists --print-errors "libffi") 2>&5
13229   ac_status=$?
13230   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
13231   test $ac_status = 0; }; then
13232   pkg_cv_FFI_CFLAGS=`$PKG_CONFIG --cflags "libffi" 2>/dev/null`
13233                       test "x$?" != "x0" && pkg_failed=yes
13234 else
13235   pkg_failed=yes
13236 fi
13237  else
13238     pkg_failed=untried
13239 fi
13240 if test -n "$FFI_LIBS"; then
13241     pkg_cv_FFI_LIBS="$FFI_LIBS"
13242  elif test -n "$PKG_CONFIG"; then
13243     if test -n "$PKG_CONFIG" && \
13244     { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"libffi\""; } >&5
13245   ($PKG_CONFIG --exists --print-errors "libffi") 2>&5
13246   ac_status=$?
13247   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
13248   test $ac_status = 0; }; then
13249   pkg_cv_FFI_LIBS=`$PKG_CONFIG --libs "libffi" 2>/dev/null`
13250                       test "x$?" != "x0" && pkg_failed=yes
13251 else
13252   pkg_failed=yes
13253 fi
13254  else
13255     pkg_failed=untried
13256 fi
13257
13258
13259
13260 if test $pkg_failed = yes; then
13261         { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
13262 $as_echo "no" >&6; }
13263
13264 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
13265         _pkg_short_errors_supported=yes
13266 else
13267         _pkg_short_errors_supported=no
13268 fi
13269         if test $_pkg_short_errors_supported = yes; then
13270                 FFI_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "libffi" 2>&1`
13271         else
13272                 FFI_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "libffi" 2>&1`
13273         fi
13274         # Put the nasty error message in config.log where it belongs
13275         echo "$FFI_PKG_ERRORS" >&5
13276
13277         have_ffi_pkgconfig=no
13278 elif test $pkg_failed = untried; then
13279         { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
13280 $as_echo "no" >&6; }
13281         have_ffi_pkgconfig=no
13282 else
13283         FFI_CFLAGS=$pkg_cv_FFI_CFLAGS
13284         FFI_LIBS=$pkg_cv_FFI_LIBS
13285         { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
13286 $as_echo "yes" >&6; }
13287         have_ffi_pkgconfig=yes
13288 fi
13289 FFI_PC_CFLAGS=""
13290 FFI_PC_LIBS=""
13291 FFI_PC_PACKAGES=""
13292 if test x"$have_ffi_pkgconfig" = xyes ; then
13293     FFI_PC_PACKAGES="libffi"
13294 else
13295   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ffi.h" >&5
13296 $as_echo_n "checking for ffi.h... " >&6; }
13297
13298   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13299 /* end confdefs.h.  */
13300 #include <ffi.h>
13301 _ACEOF
13302 if ac_fn_c_try_cpp "$LINENO"; then :
13303   have_ffi_h=yes
13304 else
13305   have_ffi_h=no
13306 fi
13307 rm -f conftest.err conftest.i conftest.$ac_ext
13308   if test x"$have_ffi_h" = x"yes"; then
13309
13310     save_LIBS=$LIBS
13311     if test x"$with_ffi" = x"yes" || test x"$with_ffi" = x"auto"; then
13312       other_LIBS=
13313     else
13314       other_LIBS=$with_ffi
13315     fi
13316
13317     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing ffi_call" >&5
13318 $as_echo_n "checking for library containing ffi_call... " >&6; }
13319 if ${ac_cv_search_ffi_call+:} false; then :
13320   $as_echo_n "(cached) " >&6
13321 else
13322   ac_func_search_save_LIBS=$LIBS
13323 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13324 /* end confdefs.h.  */
13325
13326 /* Override any GCC internal prototype to avoid an error.
13327    Use char because int might match the return type of a GCC
13328    builtin and then its argument prototype would still apply.  */
13329 #ifdef __cplusplus
13330 extern "C"
13331 #endif
13332 char ffi_call ();
13333 int
13334 main ()
13335 {
13336 return ffi_call ();
13337   ;
13338   return 0;
13339 }
13340 _ACEOF
13341 for ac_lib in '' ffi; do
13342   if test -z "$ac_lib"; then
13343     ac_res="none required"
13344   else
13345     ac_res=-l$ac_lib
13346     LIBS="-l$ac_lib $other_LIBS $ac_func_search_save_LIBS"
13347   fi
13348   if ac_fn_c_try_link "$LINENO"; then :
13349   ac_cv_search_ffi_call=$ac_res
13350 fi
13351 rm -f core conftest.err conftest.$ac_objext \
13352     conftest$ac_exeext
13353   if ${ac_cv_search_ffi_call+:} false; then :
13354   break
13355 fi
13356 done
13357 if ${ac_cv_search_ffi_call+:} false; then :
13358
13359 else
13360   ac_cv_search_ffi_call=no
13361 fi
13362 rm conftest.$ac_ext
13363 LIBS=$ac_func_search_save_LIBS
13364 fi
13365 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_ffi_call" >&5
13366 $as_echo "$ac_cv_search_ffi_call" >&6; }
13367 ac_res=$ac_cv_search_ffi_call
13368 if test "$ac_res" != no; then :
13369   test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
13370
13371 else
13372   as_fn_error $? "libffi not found" "$LINENO" 5
13373 fi
13374
13375     if test x"$ac_cv_search_ffi_call" = x"none required" ; then
13376       FFI_LIBS=$other_LIBS
13377     else
13378       FFI_LIBS="$ac_cv_search_ffi_call $other_LIBS"
13379     fi
13380
13381     LIBS=$save_LIBS
13382   fi
13383   if test x"$have_ffi_h" != x"yes" ; then
13384     as_fn_error $? "ffi.h not found" "$LINENO" 5
13385   fi
13386
13387   FFI_PC_LIBS=$FFI_LIBS
13388   FFI_PC_CFLAGS=$FFI_CFLAGS
13389   FFI_CFLAGS=
13390   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $have_ffi_h" >&5
13391 $as_echo "$have_ffi_h" >&6; }
13392
13393
13394 fi
13395
13396
13397
13398
13399 # The cast to long int works around a bug in the HP C Compiler
13400 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
13401 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
13402 # This bug is HP SR number 8606223364.
13403 { $as_echo "$as_me:${as_lineno-$LINENO}: checking size of char" >&5
13404 $as_echo_n "checking size of char... " >&6; }
13405 if ${ac_cv_sizeof_char+:} false; then :
13406   $as_echo_n "(cached) " >&6
13407 else
13408   if ac_fn_c_compute_int "$LINENO" "(long int) (sizeof (char))" "ac_cv_sizeof_char"        "$ac_includes_default"; then :
13409
13410 else
13411   if test "$ac_cv_type_char" = yes; then
13412      { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
13413 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
13414 as_fn_error 77 "cannot compute sizeof (char)
13415 See \`config.log' for more details" "$LINENO" 5; }
13416    else
13417      ac_cv_sizeof_char=0
13418    fi
13419 fi
13420
13421 fi
13422 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_char" >&5
13423 $as_echo "$ac_cv_sizeof_char" >&6; }
13424
13425
13426
13427 cat >>confdefs.h <<_ACEOF
13428 #define SIZEOF_CHAR $ac_cv_sizeof_char
13429 _ACEOF
13430
13431
13432 # The cast to long int works around a bug in the HP C Compiler
13433 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
13434 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
13435 # This bug is HP SR number 8606223364.
13436 { $as_echo "$as_me:${as_lineno-$LINENO}: checking size of short" >&5
13437 $as_echo_n "checking size of short... " >&6; }
13438 if ${ac_cv_sizeof_short+:} false; then :
13439   $as_echo_n "(cached) " >&6
13440 else
13441   if ac_fn_c_compute_int "$LINENO" "(long int) (sizeof (short))" "ac_cv_sizeof_short"        "$ac_includes_default"; then :
13442
13443 else
13444   if test "$ac_cv_type_short" = yes; then
13445      { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
13446 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
13447 as_fn_error 77 "cannot compute sizeof (short)
13448 See \`config.log' for more details" "$LINENO" 5; }
13449    else
13450      ac_cv_sizeof_short=0
13451    fi
13452 fi
13453
13454 fi
13455 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_short" >&5
13456 $as_echo "$ac_cv_sizeof_short" >&6; }
13457
13458
13459
13460 cat >>confdefs.h <<_ACEOF
13461 #define SIZEOF_SHORT $ac_cv_sizeof_short
13462 _ACEOF
13463
13464
13465 # The cast to long int works around a bug in the HP C Compiler
13466 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
13467 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
13468 # This bug is HP SR number 8606223364.
13469 { $as_echo "$as_me:${as_lineno-$LINENO}: checking size of int" >&5
13470 $as_echo_n "checking size of int... " >&6; }
13471 if ${ac_cv_sizeof_int+:} false; then :
13472   $as_echo_n "(cached) " >&6
13473 else
13474   if ac_fn_c_compute_int "$LINENO" "(long int) (sizeof (int))" "ac_cv_sizeof_int"        "$ac_includes_default"; then :
13475
13476 else
13477   if test "$ac_cv_type_int" = yes; then
13478      { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
13479 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
13480 as_fn_error 77 "cannot compute sizeof (int)
13481 See \`config.log' for more details" "$LINENO" 5; }
13482    else
13483      ac_cv_sizeof_int=0
13484    fi
13485 fi
13486
13487 fi
13488 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_int" >&5
13489 $as_echo "$ac_cv_sizeof_int" >&6; }
13490
13491
13492
13493 cat >>confdefs.h <<_ACEOF
13494 #define SIZEOF_INT $ac_cv_sizeof_int
13495 _ACEOF
13496
13497
13498 # The cast to long int works around a bug in the HP C Compiler
13499 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
13500 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
13501 # This bug is HP SR number 8606223364.
13502 { $as_echo "$as_me:${as_lineno-$LINENO}: checking size of long" >&5
13503 $as_echo_n "checking size of long... " >&6; }
13504 if ${ac_cv_sizeof_long+:} false; then :
13505   $as_echo_n "(cached) " >&6
13506 else
13507   if ac_fn_c_compute_int "$LINENO" "(long int) (sizeof (long))" "ac_cv_sizeof_long"        "$ac_includes_default"; then :
13508
13509 else
13510   if test "$ac_cv_type_long" = yes; then
13511      { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
13512 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
13513 as_fn_error 77 "cannot compute sizeof (long)
13514 See \`config.log' for more details" "$LINENO" 5; }
13515    else
13516      ac_cv_sizeof_long=0
13517    fi
13518 fi
13519
13520 fi
13521 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_long" >&5
13522 $as_echo "$ac_cv_sizeof_long" >&6; }
13523
13524
13525
13526 cat >>confdefs.h <<_ACEOF
13527 #define SIZEOF_LONG $ac_cv_sizeof_long
13528 _ACEOF
13529
13530
13531
13532
13533 pkg_failed=no
13534 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GIREPO" >&5
13535 $as_echo_n "checking for GIREPO... " >&6; }
13536
13537 if test -n "$GIREPO_CFLAGS"; then
13538     pkg_cv_GIREPO_CFLAGS="$GIREPO_CFLAGS"
13539  elif test -n "$PKG_CONFIG"; then
13540     if test -n "$PKG_CONFIG" && \
13541     { { $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
13542   ($PKG_CONFIG --exists --print-errors "glib-2.0 >= 2.24.0 gobject-2.0 gmodule-2.0 gio-2.0") 2>&5
13543   ac_status=$?
13544   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
13545   test $ac_status = 0; }; then
13546   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`
13547                       test "x$?" != "x0" && pkg_failed=yes
13548 else
13549   pkg_failed=yes
13550 fi
13551  else
13552     pkg_failed=untried
13553 fi
13554 if test -n "$GIREPO_LIBS"; then
13555     pkg_cv_GIREPO_LIBS="$GIREPO_LIBS"
13556  elif test -n "$PKG_CONFIG"; then
13557     if test -n "$PKG_CONFIG" && \
13558     { { $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
13559   ($PKG_CONFIG --exists --print-errors "glib-2.0 >= 2.24.0 gobject-2.0 gmodule-2.0 gio-2.0") 2>&5
13560   ac_status=$?
13561   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
13562   test $ac_status = 0; }; then
13563   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`
13564                       test "x$?" != "x0" && pkg_failed=yes
13565 else
13566   pkg_failed=yes
13567 fi
13568  else
13569     pkg_failed=untried
13570 fi
13571
13572
13573
13574 if test $pkg_failed = yes; then
13575         { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
13576 $as_echo "no" >&6; }
13577
13578 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
13579         _pkg_short_errors_supported=yes
13580 else
13581         _pkg_short_errors_supported=no
13582 fi
13583         if test $_pkg_short_errors_supported = yes; then
13584                 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`
13585         else
13586                 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`
13587         fi
13588         # Put the nasty error message in config.log where it belongs
13589         echo "$GIREPO_PKG_ERRORS" >&5
13590
13591         as_fn_error $? "Package requirements (glib-2.0 >= 2.24.0 gobject-2.0 gmodule-2.0 gio-2.0) were not met:
13592
13593 $GIREPO_PKG_ERRORS
13594
13595 Consider adjusting the PKG_CONFIG_PATH environment variable if you
13596 installed software in a non-standard prefix.
13597
13598 Alternatively, you may set the environment variables GIREPO_CFLAGS
13599 and GIREPO_LIBS to avoid the need to call pkg-config.
13600 See the pkg-config man page for more details." "$LINENO" 5
13601 elif test $pkg_failed = untried; then
13602         { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
13603 $as_echo "no" >&6; }
13604         { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
13605 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
13606 as_fn_error $? "The pkg-config script could not be found or is too old.  Make sure it
13607 is in your PATH or set the PKG_CONFIG environment variable to the full
13608 path to pkg-config.
13609
13610 Alternatively, you may set the environment variables GIREPO_CFLAGS
13611 and GIREPO_LIBS to avoid the need to call pkg-config.
13612 See the pkg-config man page for more details.
13613
13614 To get pkg-config, see <http://pkg-config.freedesktop.org/>.
13615 See \`config.log' for more details" "$LINENO" 5; }
13616 else
13617         GIREPO_CFLAGS=$pkg_cv_GIREPO_CFLAGS
13618         GIREPO_LIBS=$pkg_cv_GIREPO_LIBS
13619         { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
13620 $as_echo "yes" >&6; }
13621
13622 fi
13623
13624 # if we ever remove manual check for ffi and require .pc file, then
13625 # just put libffi in the PKG_CHECK_MODULES(GIREPO) deps
13626 GIREPO_LIBS="$GIREPO_LIBS $GCOV_LIBS $FFI_LIBS"
13627 GIREPO_CFLAGS="$GIREPO_CFLAGS $FFI_CFLAGS"
13628
13629 GIREPO_CFLAGS="$GIREPO_CFLAGS $GCOV_CFLAGS"
13630
13631 # gtk-doc
13632 # gtkdocize greps for ^GTK_DOC_CHECK and parses it, so you need to have
13633 # it on it's own line.
13634
13635
13636
13637
13638     # Extract the first word of "gtkdoc-check", so it can be a program name with args.
13639 set dummy gtkdoc-check; ac_word=$2
13640 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
13641 $as_echo_n "checking for $ac_word... " >&6; }
13642 if ${ac_cv_path_GTKDOC_CHECK+:} false; then :
13643   $as_echo_n "(cached) " >&6
13644 else
13645   case $GTKDOC_CHECK in
13646   [\\/]* | ?:[\\/]*)
13647   ac_cv_path_GTKDOC_CHECK="$GTKDOC_CHECK" # Let the user override the test with a path.
13648   ;;
13649   *)
13650   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
13651 for as_dir in $PATH
13652 do
13653   IFS=$as_save_IFS
13654   test -z "$as_dir" && as_dir=.
13655     for ac_exec_ext in '' $ac_executable_extensions; do
13656   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
13657     ac_cv_path_GTKDOC_CHECK="$as_dir/$ac_word$ac_exec_ext"
13658     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
13659     break 2
13660   fi
13661 done
13662   done
13663 IFS=$as_save_IFS
13664
13665   ;;
13666 esac
13667 fi
13668 GTKDOC_CHECK=$ac_cv_path_GTKDOC_CHECK
13669 if test -n "$GTKDOC_CHECK"; then
13670   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $GTKDOC_CHECK" >&5
13671 $as_echo "$GTKDOC_CHECK" >&6; }
13672 else
13673   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
13674 $as_echo "no" >&6; }
13675 fi
13676
13677
13678   for ac_prog in gtkdoc-rebase
13679 do
13680   # Extract the first word of "$ac_prog", so it can be a program name with args.
13681 set dummy $ac_prog; ac_word=$2
13682 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
13683 $as_echo_n "checking for $ac_word... " >&6; }
13684 if ${ac_cv_path_GTKDOC_REBASE+:} false; then :
13685   $as_echo_n "(cached) " >&6
13686 else
13687   case $GTKDOC_REBASE in
13688   [\\/]* | ?:[\\/]*)
13689   ac_cv_path_GTKDOC_REBASE="$GTKDOC_REBASE" # Let the user override the test with a path.
13690   ;;
13691   *)
13692   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
13693 for as_dir in $PATH
13694 do
13695   IFS=$as_save_IFS
13696   test -z "$as_dir" && as_dir=.
13697     for ac_exec_ext in '' $ac_executable_extensions; do
13698   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
13699     ac_cv_path_GTKDOC_REBASE="$as_dir/$ac_word$ac_exec_ext"
13700     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
13701     break 2
13702   fi
13703 done
13704   done
13705 IFS=$as_save_IFS
13706
13707   ;;
13708 esac
13709 fi
13710 GTKDOC_REBASE=$ac_cv_path_GTKDOC_REBASE
13711 if test -n "$GTKDOC_REBASE"; then
13712   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $GTKDOC_REBASE" >&5
13713 $as_echo "$GTKDOC_REBASE" >&6; }
13714 else
13715   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
13716 $as_echo "no" >&6; }
13717 fi
13718
13719
13720   test -n "$GTKDOC_REBASE" && break
13721 done
13722 test -n "$GTKDOC_REBASE" || GTKDOC_REBASE="true"
13723
13724   # Extract the first word of "gtkdoc-mkpdf", so it can be a program name with args.
13725 set dummy gtkdoc-mkpdf; ac_word=$2
13726 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
13727 $as_echo_n "checking for $ac_word... " >&6; }
13728 if ${ac_cv_path_GTKDOC_MKPDF+:} false; then :
13729   $as_echo_n "(cached) " >&6
13730 else
13731   case $GTKDOC_MKPDF in
13732   [\\/]* | ?:[\\/]*)
13733   ac_cv_path_GTKDOC_MKPDF="$GTKDOC_MKPDF" # Let the user override the test with a path.
13734   ;;
13735   *)
13736   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
13737 for as_dir in $PATH
13738 do
13739   IFS=$as_save_IFS
13740   test -z "$as_dir" && as_dir=.
13741     for ac_exec_ext in '' $ac_executable_extensions; do
13742   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
13743     ac_cv_path_GTKDOC_MKPDF="$as_dir/$ac_word$ac_exec_ext"
13744     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
13745     break 2
13746   fi
13747 done
13748   done
13749 IFS=$as_save_IFS
13750
13751   ;;
13752 esac
13753 fi
13754 GTKDOC_MKPDF=$ac_cv_path_GTKDOC_MKPDF
13755 if test -n "$GTKDOC_MKPDF"; then
13756   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $GTKDOC_MKPDF" >&5
13757 $as_echo "$GTKDOC_MKPDF" >&6; }
13758 else
13759   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
13760 $as_echo "no" >&6; }
13761 fi
13762
13763
13764
13765
13766 # Check whether --with-html-dir was given.
13767 if test "${with_html_dir+set}" = set; then :
13768   withval=$with_html_dir;
13769 else
13770   with_html_dir='${datadir}/gtk-doc/html'
13771 fi
13772
13773   HTML_DIR="$with_html_dir"
13774
13775
13776     # Check whether --enable-gtk-doc was given.
13777 if test "${enable_gtk_doc+set}" = set; then :
13778   enableval=$enable_gtk_doc;
13779 else
13780   enable_gtk_doc=no
13781 fi
13782
13783
13784   if test x$enable_gtk_doc = xyes; then
13785     if test -n "$PKG_CONFIG" && \
13786     { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"gtk-doc >= 1.15\""; } >&5
13787   ($PKG_CONFIG --exists --print-errors "gtk-doc >= 1.15") 2>&5
13788   ac_status=$?
13789   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
13790   test $ac_status = 0; }; then
13791   :
13792 else
13793   as_fn_error $? "You need to have gtk-doc >= 1.15 installed to build $PACKAGE_NAME" "$LINENO" 5
13794 fi
13795         if test "x$PACKAGE_NAME" != "xglib"; then
13796
13797 pkg_failed=no
13798 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GTKDOC_DEPS" >&5
13799 $as_echo_n "checking for GTKDOC_DEPS... " >&6; }
13800
13801 if test -n "$GTKDOC_DEPS_CFLAGS"; then
13802     pkg_cv_GTKDOC_DEPS_CFLAGS="$GTKDOC_DEPS_CFLAGS"
13803  elif test -n "$PKG_CONFIG"; then
13804     if test -n "$PKG_CONFIG" && \
13805     { { $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
13806   ($PKG_CONFIG --exists --print-errors "glib-2.0 >= 2.10.0 gobject-2.0  >= 2.10.0") 2>&5
13807   ac_status=$?
13808   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
13809   test $ac_status = 0; }; then
13810   pkg_cv_GTKDOC_DEPS_CFLAGS=`$PKG_CONFIG --cflags "glib-2.0 >= 2.10.0 gobject-2.0  >= 2.10.0" 2>/dev/null`
13811                       test "x$?" != "x0" && pkg_failed=yes
13812 else
13813   pkg_failed=yes
13814 fi
13815  else
13816     pkg_failed=untried
13817 fi
13818 if test -n "$GTKDOC_DEPS_LIBS"; then
13819     pkg_cv_GTKDOC_DEPS_LIBS="$GTKDOC_DEPS_LIBS"
13820  elif test -n "$PKG_CONFIG"; then
13821     if test -n "$PKG_CONFIG" && \
13822     { { $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
13823   ($PKG_CONFIG --exists --print-errors "glib-2.0 >= 2.10.0 gobject-2.0  >= 2.10.0") 2>&5
13824   ac_status=$?
13825   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
13826   test $ac_status = 0; }; then
13827   pkg_cv_GTKDOC_DEPS_LIBS=`$PKG_CONFIG --libs "glib-2.0 >= 2.10.0 gobject-2.0  >= 2.10.0" 2>/dev/null`
13828                       test "x$?" != "x0" && pkg_failed=yes
13829 else
13830   pkg_failed=yes
13831 fi
13832  else
13833     pkg_failed=untried
13834 fi
13835
13836
13837
13838 if test $pkg_failed = yes; then
13839         { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
13840 $as_echo "no" >&6; }
13841
13842 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
13843         _pkg_short_errors_supported=yes
13844 else
13845         _pkg_short_errors_supported=no
13846 fi
13847         if test $_pkg_short_errors_supported = yes; then
13848                 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`
13849         else
13850                 GTKDOC_DEPS_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "glib-2.0 >= 2.10.0 gobject-2.0  >= 2.10.0" 2>&1`
13851         fi
13852         # Put the nasty error message in config.log where it belongs
13853         echo "$GTKDOC_DEPS_PKG_ERRORS" >&5
13854
13855         :
13856 elif test $pkg_failed = untried; then
13857         { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
13858 $as_echo "no" >&6; }
13859         :
13860 else
13861         GTKDOC_DEPS_CFLAGS=$pkg_cv_GTKDOC_DEPS_CFLAGS
13862         GTKDOC_DEPS_LIBS=$pkg_cv_GTKDOC_DEPS_LIBS
13863         { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
13864 $as_echo "yes" >&6; }
13865
13866 fi
13867     fi
13868   fi
13869
13870   { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build gtk-doc documentation" >&5
13871 $as_echo_n "checking whether to build gtk-doc documentation... " >&6; }
13872   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_gtk_doc" >&5
13873 $as_echo "$enable_gtk_doc" >&6; }
13874
13875     # Check whether --enable-gtk-doc-html was given.
13876 if test "${enable_gtk_doc_html+set}" = set; then :
13877   enableval=$enable_gtk_doc_html;
13878 else
13879   enable_gtk_doc_html=yes
13880 fi
13881
13882     # Check whether --enable-gtk-doc-pdf was given.
13883 if test "${enable_gtk_doc_pdf+set}" = set; then :
13884   enableval=$enable_gtk_doc_pdf;
13885 else
13886   enable_gtk_doc_pdf=no
13887 fi
13888
13889
13890   if test -z "$GTKDOC_MKPDF"; then
13891     enable_gtk_doc_pdf=no
13892   fi
13893
13894   if test -z "$AM_DEFAULT_VERBOSITY"; then
13895     AM_DEFAULT_VERBOSITY=1
13896   fi
13897
13898
13899    if test x$enable_gtk_doc = xyes; then
13900   ENABLE_GTK_DOC_TRUE=
13901   ENABLE_GTK_DOC_FALSE='#'
13902 else
13903   ENABLE_GTK_DOC_TRUE='#'
13904   ENABLE_GTK_DOC_FALSE=
13905 fi
13906
13907    if test x$enable_gtk_doc_html = xyes; then
13908   GTK_DOC_BUILD_HTML_TRUE=
13909   GTK_DOC_BUILD_HTML_FALSE='#'
13910 else
13911   GTK_DOC_BUILD_HTML_TRUE='#'
13912   GTK_DOC_BUILD_HTML_FALSE=
13913 fi
13914
13915    if test x$enable_gtk_doc_pdf = xyes; then
13916   GTK_DOC_BUILD_PDF_TRUE=
13917   GTK_DOC_BUILD_PDF_FALSE='#'
13918 else
13919   GTK_DOC_BUILD_PDF_TRUE='#'
13920   GTK_DOC_BUILD_PDF_FALSE=
13921 fi
13922
13923    if test -n "$LIBTOOL"; then
13924   GTK_DOC_USE_LIBTOOL_TRUE=
13925   GTK_DOC_USE_LIBTOOL_FALSE='#'
13926 else
13927   GTK_DOC_USE_LIBTOOL_TRUE='#'
13928   GTK_DOC_USE_LIBTOOL_FALSE=
13929 fi
13930
13931    if test -n "$GTKDOC_REBASE"; then
13932   GTK_DOC_USE_REBASE_TRUE=
13933   GTK_DOC_USE_REBASE_FALSE='#'
13934 else
13935   GTK_DOC_USE_REBASE_TRUE='#'
13936   GTK_DOC_USE_REBASE_FALSE=
13937 fi
13938
13939
13940
13941
13942 # Checks for header files.
13943 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5
13944 $as_echo_n "checking for ANSI C header files... " >&6; }
13945 if ${ac_cv_header_stdc+:} false; then :
13946   $as_echo_n "(cached) " >&6
13947 else
13948   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13949 /* end confdefs.h.  */
13950 #include <stdlib.h>
13951 #include <stdarg.h>
13952 #include <string.h>
13953 #include <float.h>
13954
13955 int
13956 main ()
13957 {
13958
13959   ;
13960   return 0;
13961 }
13962 _ACEOF
13963 if ac_fn_c_try_compile "$LINENO"; then :
13964   ac_cv_header_stdc=yes
13965 else
13966   ac_cv_header_stdc=no
13967 fi
13968 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
13969
13970 if test $ac_cv_header_stdc = yes; then
13971   # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
13972   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13973 /* end confdefs.h.  */
13974 #include <string.h>
13975
13976 _ACEOF
13977 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
13978   $EGREP "memchr" >/dev/null 2>&1; then :
13979
13980 else
13981   ac_cv_header_stdc=no
13982 fi
13983 rm -f conftest*
13984
13985 fi
13986
13987 if test $ac_cv_header_stdc = yes; then
13988   # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
13989   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13990 /* end confdefs.h.  */
13991 #include <stdlib.h>
13992
13993 _ACEOF
13994 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
13995   $EGREP "free" >/dev/null 2>&1; then :
13996
13997 else
13998   ac_cv_header_stdc=no
13999 fi
14000 rm -f conftest*
14001
14002 fi
14003
14004 if test $ac_cv_header_stdc = yes; then
14005   # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
14006   if test "$cross_compiling" = yes; then :
14007   :
14008 else
14009   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14010 /* end confdefs.h.  */
14011 #include <ctype.h>
14012 #include <stdlib.h>
14013 #if ((' ' & 0x0FF) == 0x020)
14014 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
14015 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
14016 #else
14017 # define ISLOWER(c) \
14018                    (('a' <= (c) && (c) <= 'i') \
14019                      || ('j' <= (c) && (c) <= 'r') \
14020                      || ('s' <= (c) && (c) <= 'z'))
14021 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
14022 #endif
14023
14024 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
14025 int
14026 main ()
14027 {
14028   int i;
14029   for (i = 0; i < 256; i++)
14030     if (XOR (islower (i), ISLOWER (i))
14031         || toupper (i) != TOUPPER (i))
14032       return 2;
14033   return 0;
14034 }
14035 _ACEOF
14036 if ac_fn_c_try_run "$LINENO"; then :
14037
14038 else
14039   ac_cv_header_stdc=no
14040 fi
14041 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
14042   conftest.$ac_objext conftest.beam conftest.$ac_ext
14043 fi
14044
14045 fi
14046 fi
14047 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdc" >&5
14048 $as_echo "$ac_cv_header_stdc" >&6; }
14049 if test $ac_cv_header_stdc = yes; then
14050
14051 $as_echo "#define STDC_HEADERS 1" >>confdefs.h
14052
14053 fi
14054
14055 for ac_header in fcntl.h stdlib.h string.h
14056 do :
14057   as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
14058 ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
14059 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
14060   cat >>confdefs.h <<_ACEOF
14061 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
14062 _ACEOF
14063
14064 fi
14065
14066 done
14067
14068
14069 # Checks for typedefs, structures, and compiler characteristics.
14070 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for an ANSI C-conforming const" >&5
14071 $as_echo_n "checking for an ANSI C-conforming const... " >&6; }
14072 if ${ac_cv_c_const+:} false; then :
14073   $as_echo_n "(cached) " >&6
14074 else
14075   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14076 /* end confdefs.h.  */
14077
14078 int
14079 main ()
14080 {
14081
14082 #ifndef __cplusplus
14083   /* Ultrix mips cc rejects this sort of thing.  */
14084   typedef int charset[2];
14085   const charset cs = { 0, 0 };
14086   /* SunOS 4.1.1 cc rejects this.  */
14087   char const *const *pcpcc;
14088   char **ppc;
14089   /* NEC SVR4.0.2 mips cc rejects this.  */
14090   struct point {int x, y;};
14091   static struct point const zero = {0,0};
14092   /* AIX XL C 1.02.0.0 rejects this.
14093      It does not let you subtract one const X* pointer from another in
14094      an arm of an if-expression whose if-part is not a constant
14095      expression */
14096   const char *g = "string";
14097   pcpcc = &g + (g ? g-g : 0);
14098   /* HPUX 7.0 cc rejects these. */
14099   ++pcpcc;
14100   ppc = (char**) pcpcc;
14101   pcpcc = (char const *const *) ppc;
14102   { /* SCO 3.2v4 cc rejects this sort of thing.  */
14103     char tx;
14104     char *t = &tx;
14105     char const *s = 0 ? (char *) 0 : (char const *) 0;
14106
14107     *t++ = 0;
14108     if (s) return 0;
14109   }
14110   { /* Someone thinks the Sun supposedly-ANSI compiler will reject this.  */
14111     int x[] = {25, 17};
14112     const int *foo = &x[0];
14113     ++foo;
14114   }
14115   { /* Sun SC1.0 ANSI compiler rejects this -- but not the above. */
14116     typedef const int *iptr;
14117     iptr p = 0;
14118     ++p;
14119   }
14120   { /* AIX XL C 1.02.0.0 rejects this sort of thing, saying
14121        "k.c", line 2.27: 1506-025 (S) Operand must be a modifiable lvalue. */
14122     struct s { int j; const int *ap[3]; } bx;
14123     struct s *b = &bx; b->j = 5;
14124   }
14125   { /* ULTRIX-32 V3.1 (Rev 9) vcc rejects this */
14126     const int foo = 10;
14127     if (!foo) return 0;
14128   }
14129   return !cs[0] && !zero.x;
14130 #endif
14131
14132   ;
14133   return 0;
14134 }
14135 _ACEOF
14136 if ac_fn_c_try_compile "$LINENO"; then :
14137   ac_cv_c_const=yes
14138 else
14139   ac_cv_c_const=no
14140 fi
14141 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
14142 fi
14143 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_const" >&5
14144 $as_echo "$ac_cv_c_const" >&6; }
14145 if test $ac_cv_c_const = no; then
14146
14147 $as_echo "#define const /**/" >>confdefs.h
14148
14149 fi
14150
14151
14152 # Checks for library functions.
14153 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for working strtod" >&5
14154 $as_echo_n "checking for working strtod... " >&6; }
14155 if ${ac_cv_func_strtod+:} false; then :
14156   $as_echo_n "(cached) " >&6
14157 else
14158   if test "$cross_compiling" = yes; then :
14159   ac_cv_func_strtod=no
14160 else
14161   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14162 /* end confdefs.h.  */
14163
14164 $ac_includes_default
14165 #ifndef strtod
14166 double strtod ();
14167 #endif
14168 int
14169 main()
14170 {
14171   {
14172     /* Some versions of Linux strtod mis-parse strings with leading '+'.  */
14173     char *string = " +69";
14174     char *term;
14175     double value;
14176     value = strtod (string, &term);
14177     if (value != 69 || term != (string + 4))
14178       return 1;
14179   }
14180
14181   {
14182     /* Under Solaris 2.4, strtod returns the wrong value for the
14183        terminating character under some conditions.  */
14184     char *string = "NaN";
14185     char *term;
14186     strtod (string, &term);
14187     if (term != string && *(term - 1) == 0)
14188       return 1;
14189   }
14190   return 0;
14191 }
14192
14193 _ACEOF
14194 if ac_fn_c_try_run "$LINENO"; then :
14195   ac_cv_func_strtod=yes
14196 else
14197   ac_cv_func_strtod=no
14198 fi
14199 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
14200   conftest.$ac_objext conftest.beam conftest.$ac_ext
14201 fi
14202
14203 fi
14204 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_func_strtod" >&5
14205 $as_echo "$ac_cv_func_strtod" >&6; }
14206 if test $ac_cv_func_strtod = no; then
14207   case " $LIBOBJS " in
14208   *" strtod.$ac_objext "* ) ;;
14209   *) LIBOBJS="$LIBOBJS strtod.$ac_objext"
14210  ;;
14211 esac
14212
14213 ac_fn_c_check_func "$LINENO" "pow" "ac_cv_func_pow"
14214 if test "x$ac_cv_func_pow" = xyes; then :
14215
14216 fi
14217
14218 if test $ac_cv_func_pow = no; then
14219   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for pow in -lm" >&5
14220 $as_echo_n "checking for pow in -lm... " >&6; }
14221 if ${ac_cv_lib_m_pow+:} false; then :
14222   $as_echo_n "(cached) " >&6
14223 else
14224   ac_check_lib_save_LIBS=$LIBS
14225 LIBS="-lm  $LIBS"
14226 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14227 /* end confdefs.h.  */
14228
14229 /* Override any GCC internal prototype to avoid an error.
14230    Use char because int might match the return type of a GCC
14231    builtin and then its argument prototype would still apply.  */
14232 #ifdef __cplusplus
14233 extern "C"
14234 #endif
14235 char pow ();
14236 int
14237 main ()
14238 {
14239 return pow ();
14240   ;
14241   return 0;
14242 }
14243 _ACEOF
14244 if ac_fn_c_try_link "$LINENO"; then :
14245   ac_cv_lib_m_pow=yes
14246 else
14247   ac_cv_lib_m_pow=no
14248 fi
14249 rm -f core conftest.err conftest.$ac_objext \
14250     conftest$ac_exeext conftest.$ac_ext
14251 LIBS=$ac_check_lib_save_LIBS
14252 fi
14253 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_pow" >&5
14254 $as_echo "$ac_cv_lib_m_pow" >&6; }
14255 if test "x$ac_cv_lib_m_pow" = xyes; then :
14256   POW_LIB=-lm
14257 else
14258   { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cannot find library containing definition of pow" >&5
14259 $as_echo "$as_me: WARNING: cannot find library containing definition of pow" >&2;}
14260 fi
14261
14262 fi
14263
14264 fi
14265
14266 for ac_func in memchr strchr strspn strstr strtol strtoull
14267 do :
14268   as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
14269 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
14270 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
14271   cat >>confdefs.h <<_ACEOF
14272 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
14273 _ACEOF
14274
14275 fi
14276 done
14277
14278 for ac_func in backtrace backtrace_symbols
14279 do :
14280   as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
14281 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
14282 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
14283   cat >>confdefs.h <<_ACEOF
14284 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
14285 _ACEOF
14286
14287 fi
14288 done
14289
14290
14291 # Python
14292
14293
14294
14295
14296
14297
14298         if test -n "$PYTHON"; then
14299       # If the user set $PYTHON, use it and don't search something else.
14300       { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $PYTHON version is >= 2.5" >&5
14301 $as_echo_n "checking whether $PYTHON version is >= 2.5... " >&6; }
14302       prog="import sys
14303 # split strings by '.' and convert to numeric.  Append some zeros
14304 # because we need at least 4 digits for the hex conversion.
14305 # map returns an iterator in Python 3.0 and a list in 2.x
14306 minver = list(map(int, '2.5'.split('.'))) + [0, 0, 0]
14307 minverhex = 0
14308 # xrange is not present in Python 3.0 and range returns an iterator
14309 for i in list(range(0, 4)): minverhex = (minverhex << 8) + minver[i]
14310 sys.exit(sys.hexversion < minverhex)"
14311   if { echo "$as_me:$LINENO: $PYTHON -c "$prog"" >&5
14312    ($PYTHON -c "$prog") >&5 2>&5
14313    ac_status=$?
14314    echo "$as_me:$LINENO: \$? = $ac_status" >&5
14315    (exit $ac_status); }; then :
14316   { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
14317 $as_echo "yes" >&6; }
14318 else
14319   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
14320 $as_echo "no" >&6; }
14321                                as_fn_error $? "Python interpreter is too old" "$LINENO" 5
14322 fi
14323       am_display_PYTHON=$PYTHON
14324     else
14325       # Otherwise, try each interpreter until we find one that satisfies
14326       # VERSION.
14327       { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a Python interpreter with version >= 2.5" >&5
14328 $as_echo_n "checking for a Python interpreter with version >= 2.5... " >&6; }
14329 if ${am_cv_pathless_PYTHON+:} false; then :
14330   $as_echo_n "(cached) " >&6
14331 else
14332
14333         for am_cv_pathless_PYTHON in python python2 python3 python3.2 python3.1 python3.0 python2.7  python2.6 python2.5 python2.4 python2.3 python2.2 python2.1 python2.0 none; do
14334           test "$am_cv_pathless_PYTHON" = none && break
14335           prog="import sys
14336 # split strings by '.' and convert to numeric.  Append some zeros
14337 # because we need at least 4 digits for the hex conversion.
14338 # map returns an iterator in Python 3.0 and a list in 2.x
14339 minver = list(map(int, '2.5'.split('.'))) + [0, 0, 0]
14340 minverhex = 0
14341 # xrange is not present in Python 3.0 and range returns an iterator
14342 for i in list(range(0, 4)): minverhex = (minverhex << 8) + minver[i]
14343 sys.exit(sys.hexversion < minverhex)"
14344   if { echo "$as_me:$LINENO: $am_cv_pathless_PYTHON -c "$prog"" >&5
14345    ($am_cv_pathless_PYTHON -c "$prog") >&5 2>&5
14346    ac_status=$?
14347    echo "$as_me:$LINENO: \$? = $ac_status" >&5
14348    (exit $ac_status); }; then :
14349   break
14350 fi
14351         done
14352 fi
14353 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_pathless_PYTHON" >&5
14354 $as_echo "$am_cv_pathless_PYTHON" >&6; }
14355       # Set $PYTHON to the absolute path of $am_cv_pathless_PYTHON.
14356       if test "$am_cv_pathless_PYTHON" = none; then
14357         PYTHON=:
14358       else
14359         # Extract the first word of "$am_cv_pathless_PYTHON", so it can be a program name with args.
14360 set dummy $am_cv_pathless_PYTHON; ac_word=$2
14361 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
14362 $as_echo_n "checking for $ac_word... " >&6; }
14363 if ${ac_cv_path_PYTHON+:} false; then :
14364   $as_echo_n "(cached) " >&6
14365 else
14366   case $PYTHON in
14367   [\\/]* | ?:[\\/]*)
14368   ac_cv_path_PYTHON="$PYTHON" # Let the user override the test with a path.
14369   ;;
14370   *)
14371   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
14372 for as_dir in $PATH
14373 do
14374   IFS=$as_save_IFS
14375   test -z "$as_dir" && as_dir=.
14376     for ac_exec_ext in '' $ac_executable_extensions; do
14377   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
14378     ac_cv_path_PYTHON="$as_dir/$ac_word$ac_exec_ext"
14379     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
14380     break 2
14381   fi
14382 done
14383   done
14384 IFS=$as_save_IFS
14385
14386   ;;
14387 esac
14388 fi
14389 PYTHON=$ac_cv_path_PYTHON
14390 if test -n "$PYTHON"; then
14391   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PYTHON" >&5
14392 $as_echo "$PYTHON" >&6; }
14393 else
14394   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
14395 $as_echo "no" >&6; }
14396 fi
14397
14398
14399       fi
14400       am_display_PYTHON=$am_cv_pathless_PYTHON
14401     fi
14402
14403
14404   if test "$PYTHON" = :; then
14405       as_fn_error $? "no suitable Python interpreter found" "$LINENO" 5
14406   else
14407
14408
14409   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $am_display_PYTHON version" >&5
14410 $as_echo_n "checking for $am_display_PYTHON version... " >&6; }
14411 if ${am_cv_python_version+:} false; then :
14412   $as_echo_n "(cached) " >&6
14413 else
14414   am_cv_python_version=`$PYTHON -c "import sys; sys.stdout.write(sys.version[:3])"`
14415 fi
14416 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_python_version" >&5
14417 $as_echo "$am_cv_python_version" >&6; }
14418   PYTHON_VERSION=$am_cv_python_version
14419
14420
14421
14422   PYTHON_PREFIX='${prefix}'
14423
14424   PYTHON_EXEC_PREFIX='${exec_prefix}'
14425
14426
14427
14428   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $am_display_PYTHON platform" >&5
14429 $as_echo_n "checking for $am_display_PYTHON platform... " >&6; }
14430 if ${am_cv_python_platform+:} false; then :
14431   $as_echo_n "(cached) " >&6
14432 else
14433   am_cv_python_platform=`$PYTHON -c "import sys; sys.stdout.write(sys.platform)"`
14434 fi
14435 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_python_platform" >&5
14436 $as_echo "$am_cv_python_platform" >&6; }
14437   PYTHON_PLATFORM=$am_cv_python_platform
14438
14439
14440
14441
14442             { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $am_display_PYTHON script directory" >&5
14443 $as_echo_n "checking for $am_display_PYTHON script directory... " >&6; }
14444 if ${am_cv_python_pythondir+:} false; then :
14445   $as_echo_n "(cached) " >&6
14446 else
14447   if test "x$prefix" = xNONE
14448      then
14449        am_py_prefix=$ac_default_prefix
14450      else
14451        am_py_prefix=$prefix
14452      fi
14453      am_cv_python_pythondir=`$PYTHON -c "import sys; from distutils import sysconfig; sys.stdout.write(sysconfig.get_python_lib(0,0,prefix='$am_py_prefix'))" 2>/dev/null`
14454      case $am_cv_python_pythondir in
14455      $am_py_prefix*)
14456        am__strip_prefix=`echo "$am_py_prefix" | sed 's|.|.|g'`
14457        am_cv_python_pythondir=`echo "$am_cv_python_pythondir" | sed "s,^$am__strip_prefix,$PYTHON_PREFIX,"`
14458        ;;
14459      *)
14460        case $am_py_prefix in
14461          /usr|/System*) ;;
14462          *)
14463           am_cv_python_pythondir=$PYTHON_PREFIX/lib/python$PYTHON_VERSION/site-packages
14464           ;;
14465        esac
14466        ;;
14467      esac
14468
14469 fi
14470 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_python_pythondir" >&5
14471 $as_echo "$am_cv_python_pythondir" >&6; }
14472   pythondir=$am_cv_python_pythondir
14473
14474
14475
14476   pkgpythondir=\${pythondir}/$PACKAGE
14477
14478
14479         { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $am_display_PYTHON extension module directory" >&5
14480 $as_echo_n "checking for $am_display_PYTHON extension module directory... " >&6; }
14481 if ${am_cv_python_pyexecdir+:} false; then :
14482   $as_echo_n "(cached) " >&6
14483 else
14484   if test "x$exec_prefix" = xNONE
14485      then
14486        am_py_exec_prefix=$am_py_prefix
14487      else
14488        am_py_exec_prefix=$exec_prefix
14489      fi
14490      am_cv_python_pyexecdir=`$PYTHON -c "import sys; from distutils import sysconfig; sys.stdout.write(sysconfig.get_python_lib(1,0,prefix='$am_py_exec_prefix'))" 2>/dev/null`
14491      case $am_cv_python_pyexecdir in
14492      $am_py_exec_prefix*)
14493        am__strip_prefix=`echo "$am_py_exec_prefix" | sed 's|.|.|g'`
14494        am_cv_python_pyexecdir=`echo "$am_cv_python_pyexecdir" | sed "s,^$am__strip_prefix,$PYTHON_EXEC_PREFIX,"`
14495        ;;
14496      *)
14497        case $am_py_exec_prefix in
14498          /usr|/System*) ;;
14499          *)
14500            am_cv_python_pyexecdir=$PYTHON_EXEC_PREFIX/lib/python$PYTHON_VERSION/site-packages
14501            ;;
14502        esac
14503        ;;
14504      esac
14505
14506 fi
14507 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_python_pyexecdir" >&5
14508 $as_echo "$am_cv_python_pyexecdir" >&6; }
14509   pyexecdir=$am_cv_python_pyexecdir
14510
14511
14512
14513   pkgpyexecdir=\${pyexecdir}/$PACKAGE
14514
14515
14516
14517   fi
14518
14519
14520 case "$host" in
14521 *-*-mingw*)
14522         # Change backslashes to forward slashes in pyexecdir to avoid
14523         # quoting issues
14524         pyexecdir=`echo $pyexecdir | tr '\\\\' '/'`
14525         ;;
14526 esac
14527
14528 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for headers required to compile python extensions" >&5
14529 $as_echo_n "checking for headers required to compile python extensions... " >&6; }
14530 PYTHON_INCLUDES=`$PYTHON-config --includes`
14531
14532 save_CPPFLAGS="$CPPFLAGS"
14533 CPPFLAGS="$CPPFLAGS $PYTHON_INCLUDES"
14534 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14535 /* end confdefs.h.  */
14536 #include <Python.h>
14537 _ACEOF
14538 if ac_fn_c_try_cpp "$LINENO"; then :
14539   { $as_echo "$as_me:${as_lineno-$LINENO}: result: found" >&5
14540 $as_echo "found" >&6; }
14541
14542 else
14543   { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
14544 $as_echo "not found" >&6; }
14545 as_fn_error $? "Python headers not found" "$LINENO" 5
14546 fi
14547 rm -f conftest.err conftest.i conftest.$ac_ext
14548 CPPFLAGS="$save_CPPFLAGS"
14549
14550 if test "x$os_win32" = "xyes"; then
14551
14552 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libraries required to link against libpython" >&5
14553 $as_echo_n "checking for libraries required to link against libpython... " >&6; }
14554 if test "x$PYTHON_LIBS" == x; then
14555         PYTHON_LIBS=`$PYTHON-config --ldflags --libs`
14556 fi
14557
14558 save_LIBS="$LIBS"
14559 LIBS="$LIBS $PYTHON_LIBS"
14560 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14561 /* end confdefs.h.  */
14562
14563 /* Override any GCC internal prototype to avoid an error.
14564    Use char because int might match the return type of a GCC
14565    builtin and then its argument prototype would still apply.  */
14566 #ifdef __cplusplus
14567 extern "C"
14568 #endif
14569 char Py_Initialize ();
14570 int
14571 main ()
14572 {
14573 return Py_Initialize ();
14574   ;
14575   return 0;
14576 }
14577 _ACEOF
14578 if ac_fn_c_try_link "$LINENO"; then :
14579            LIBS="$save_LIBS"; { $as_echo "$as_me:${as_lineno-$LINENO}: result: found" >&5
14580 $as_echo "found" >&6; };
14581 else
14582            LIBS="$save_LIBS"; { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
14583 $as_echo "not found" >&6; }; as_fn_error $? "Python libs not found. Windows requires Python modules to be explicitly linked to libpython." "$LINENO" 5
14584 fi
14585 rm -f core conftest.err conftest.$ac_objext \
14586     conftest$ac_exeext conftest.$ac_ext
14587
14588
14589 fi
14590
14591 # Check whether --enable-doctool was given.
14592 if test "${enable_doctool+set}" = set; then :
14593   enableval=$enable_doctool;
14594 else
14595   enable_doctool=auto
14596 fi
14597
14598 if  test x$enable_doctool != xno; then :
14599
14600
14601 py_mod_var=`echo mako'_' | sed 'y%./+-%__p_%'`
14602 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for python module mako" >&5
14603 $as_echo_n "checking for python module mako... " >&6; }
14604 if eval \${py_cv_mod_$py_mod_var+:} false; then :
14605   $as_echo_n "(cached) " >&6
14606 else
14607
14608 prog="
14609 import sys
14610 try:
14611         import mako
14612 except ImportError:
14613         sys.exit(1)
14614 except:
14615         sys.exit(0)
14616 sys.exit(0)"
14617 if $PYTHON -c "$prog" 1>&5 2>&5
14618   then
14619     eval "py_cv_mod_$py_mod_var=yes"
14620   else
14621     eval "py_cv_mod_$py_mod_var=no"
14622   fi
14623
14624 fi
14625
14626 py_val=`eval "echo \`echo '$py_cv_mod_'$py_mod_var\`"`
14627 if test "x$py_val" != xno; then
14628   { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
14629 $as_echo "yes" >&6; }
14630   have_python_mako=yes
14631 else
14632   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
14633 $as_echo "no" >&6; }
14634   have_python_mako=no
14635 fi
14636
14637
14638 fi
14639 if  test x$enable_doctool = xauto && test x$have_python_mako = xyes ; then :
14640    enable_doctool=yes
14641 elif  test x$enable_doctool = xauto && test x$have_python_mako = xno ; then :
14642    enable_doctool=no
14643 elif  test x$enable_doctool = xyes && test x$have_python_mako = xno ; then :
14644    as_fn_error $? "Python mako module not found" "$LINENO" 5
14645 fi
14646  if test x$enable_doctool != xno; then
14647   BUILD_DOCTOOL_TRUE=
14648   BUILD_DOCTOOL_FALSE='#'
14649 else
14650   BUILD_DOCTOOL_TRUE='#'
14651   BUILD_DOCTOOL_FALSE=
14652 fi
14653
14654
14655 # Glib documentation
14656
14657 GLIBSRC=
14658 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for glib source directory to use for documentation" >&5
14659 $as_echo_n "checking for glib source directory to use for documentation... " >&6; }
14660
14661
14662 # Check whether --with-glib-src was given.
14663 if test "${with_glib_src+set}" = set; then :
14664   withval=$with_glib_src; GLIBSRC=$withval
14665
14666 fi
14667
14668  if test x"$GLIBSRC" != x; then
14669   WITH_GLIBSRC_TRUE=
14670   WITH_GLIBSRC_FALSE='#'
14671 else
14672   WITH_GLIBSRC_TRUE='#'
14673   WITH_GLIBSRC_FALSE=
14674 fi
14675
14676
14677 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $GLIBSRC" >&5
14678 $as_echo "$GLIBSRC" >&6; }
14679
14680 # Check whether --enable-Bsymbolic was given.
14681 if test "${enable_Bsymbolic+set}" = set; then :
14682   enableval=$enable_Bsymbolic;
14683 else
14684   SAVED_LDFLAGS="${LDFLAGS}"
14685                { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -Bsymbolic-functions linker flag" >&5
14686 $as_echo_n "checking for -Bsymbolic-functions linker flag... " >&6; }
14687                LDFLAGS=-Wl,-Bsymbolic-functions
14688                cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14689 /* end confdefs.h.  */
14690
14691 int
14692 main ()
14693 {
14694 int main (void) { return 0; }
14695   ;
14696   return 0;
14697 }
14698 _ACEOF
14699 if ac_fn_c_try_link "$LINENO"; then :
14700   { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
14701 $as_echo "yes" >&6; }
14702                            enable_Bsymbolic=yes
14703 else
14704   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
14705 $as_echo "no" >&6; }
14706                            enable_Bsymbolic=no
14707 fi
14708 rm -f core conftest.err conftest.$ac_objext \
14709     conftest$ac_exeext conftest.$ac_ext
14710                LDFLAGS="${SAVED_LDFLAGS}"
14711 fi
14712
14713
14714 if test "x${enable_Bsymbolic}" = "xyes"; then
14715   EXTRA_LINK_FLAGS=-Wl,-Bsymbolic-functions
14716 fi
14717
14718
14719
14720 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"
14721
14722 cat >confcache <<\_ACEOF
14723 # This file is a shell script that caches the results of configure
14724 # tests run on this system so they can be shared between configure
14725 # scripts and configure runs, see configure's option --config-cache.
14726 # It is not useful on other systems.  If it contains results you don't
14727 # want to keep, you may remove or edit it.
14728 #
14729 # config.status only pays attention to the cache file if you give it
14730 # the --recheck option to rerun configure.
14731 #
14732 # `ac_cv_env_foo' variables (set or unset) will be overridden when
14733 # loading this file, other *unset* `ac_cv_foo' will be assigned the
14734 # following values.
14735
14736 _ACEOF
14737
14738 # The following way of writing the cache mishandles newlines in values,
14739 # but we know of no workaround that is simple, portable, and efficient.
14740 # So, we kill variables containing newlines.
14741 # Ultrix sh set writes to stderr and can't be redirected directly,
14742 # and sets the high bit in the cache file unless we assign to the vars.
14743 (
14744   for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
14745     eval ac_val=\$$ac_var
14746     case $ac_val in #(
14747     *${as_nl}*)
14748       case $ac_var in #(
14749       *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
14750 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
14751       esac
14752       case $ac_var in #(
14753       _ | IFS | as_nl) ;; #(
14754       BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
14755       *) { eval $ac_var=; unset $ac_var;} ;;
14756       esac ;;
14757     esac
14758   done
14759
14760   (set) 2>&1 |
14761     case $as_nl`(ac_space=' '; set) 2>&1` in #(
14762     *${as_nl}ac_space=\ *)
14763       # `set' does not quote correctly, so add quotes: double-quote
14764       # substitution turns \\\\ into \\, and sed turns \\ into \.
14765       sed -n \
14766         "s/'/'\\\\''/g;
14767           s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
14768       ;; #(
14769     *)
14770       # `set' quotes correctly as required by POSIX, so do not add quotes.
14771       sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
14772       ;;
14773     esac |
14774     sort
14775 ) |
14776   sed '
14777      /^ac_cv_env_/b end
14778      t clear
14779      :clear
14780      s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
14781      t end
14782      s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
14783      :end' >>confcache
14784 if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
14785   if test -w "$cache_file"; then
14786     if test "x$cache_file" != "x/dev/null"; then
14787       { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
14788 $as_echo "$as_me: updating cache $cache_file" >&6;}
14789       if test ! -f "$cache_file" || test -h "$cache_file"; then
14790         cat confcache >"$cache_file"
14791       else
14792         case $cache_file in #(
14793         */* | ?:*)
14794           mv -f confcache "$cache_file"$$ &&
14795           mv -f "$cache_file"$$ "$cache_file" ;; #(
14796         *)
14797           mv -f confcache "$cache_file" ;;
14798         esac
14799       fi
14800     fi
14801   else
14802     { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
14803 $as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
14804   fi
14805 fi
14806 rm -f confcache
14807
14808 test "x$prefix" = xNONE && prefix=$ac_default_prefix
14809 # Let make expand exec_prefix.
14810 test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
14811
14812 DEFS=-DHAVE_CONFIG_H
14813
14814 ac_libobjs=
14815 ac_ltlibobjs=
14816 U=
14817 for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
14818   # 1. Remove the extension, and $U if already installed.
14819   ac_script='s/\$U\././;s/\.o$//;s/\.obj$//'
14820   ac_i=`$as_echo "$ac_i" | sed "$ac_script"`
14821   # 2. Prepend LIBOBJDIR.  When used with automake>=1.10 LIBOBJDIR
14822   #    will be set to the directory where LIBOBJS objects are built.
14823   as_fn_append ac_libobjs " \${LIBOBJDIR}$ac_i\$U.$ac_objext"
14824   as_fn_append ac_ltlibobjs " \${LIBOBJDIR}$ac_i"'$U.lo'
14825 done
14826 LIBOBJS=$ac_libobjs
14827
14828 LTLIBOBJS=$ac_ltlibobjs
14829
14830
14831 { $as_echo "$as_me:${as_lineno-$LINENO}: checking that generated files are newer than configure" >&5
14832 $as_echo_n "checking that generated files are newer than configure... " >&6; }
14833    if test -n "$am_sleep_pid"; then
14834      # Hide warnings about reused PIDs.
14835      wait $am_sleep_pid 2>/dev/null
14836    fi
14837    { $as_echo "$as_me:${as_lineno-$LINENO}: result: done" >&5
14838 $as_echo "done" >&6; }
14839  if test -n "$EXEEXT"; then
14840   am__EXEEXT_TRUE=
14841   am__EXEEXT_FALSE='#'
14842 else
14843   am__EXEEXT_TRUE='#'
14844   am__EXEEXT_FALSE=
14845 fi
14846
14847 if test -z "${MAINTAINER_MODE_TRUE}" && test -z "${MAINTAINER_MODE_FALSE}"; then
14848   as_fn_error $? "conditional \"MAINTAINER_MODE\" was never defined.
14849 Usually this means the macro was only invoked conditionally." "$LINENO" 5
14850 fi
14851 if test -z "${OS_WIN32_TRUE}" && test -z "${OS_WIN32_FALSE}"; then
14852   as_fn_error $? "conditional \"OS_WIN32\" was never defined.
14853 Usually this means the macro was only invoked conditionally." "$LINENO" 5
14854 fi
14855 if test -z "${AMDEP_TRUE}" && test -z "${AMDEP_FALSE}"; then
14856   as_fn_error $? "conditional \"AMDEP\" was never defined.
14857 Usually this means the macro was only invoked conditionally." "$LINENO" 5
14858 fi
14859 if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
14860   as_fn_error $? "conditional \"am__fastdepCC\" was never defined.
14861 Usually this means the macro was only invoked conditionally." "$LINENO" 5
14862 fi
14863 if test -z "${HAVE_GIO_UNIX_TRUE}" && test -z "${HAVE_GIO_UNIX_FALSE}"; then
14864   as_fn_error $? "conditional \"HAVE_GIO_UNIX\" was never defined.
14865 Usually this means the macro was only invoked conditionally." "$LINENO" 5
14866 fi
14867 if test -z "${HAVE_CAIRO_TRUE}" && test -z "${HAVE_CAIRO_FALSE}"; then
14868   as_fn_error $? "conditional \"HAVE_CAIRO\" was never defined.
14869 Usually this means the macro was only invoked conditionally." "$LINENO" 5
14870 fi
14871 if test -z "${ENABLE_GTK_DOC_TRUE}" && test -z "${ENABLE_GTK_DOC_FALSE}"; then
14872   as_fn_error $? "conditional \"ENABLE_GTK_DOC\" was never defined.
14873 Usually this means the macro was only invoked conditionally." "$LINENO" 5
14874 fi
14875 if test -z "${GTK_DOC_BUILD_HTML_TRUE}" && test -z "${GTK_DOC_BUILD_HTML_FALSE}"; then
14876   as_fn_error $? "conditional \"GTK_DOC_BUILD_HTML\" was never defined.
14877 Usually this means the macro was only invoked conditionally." "$LINENO" 5
14878 fi
14879 if test -z "${GTK_DOC_BUILD_PDF_TRUE}" && test -z "${GTK_DOC_BUILD_PDF_FALSE}"; then
14880   as_fn_error $? "conditional \"GTK_DOC_BUILD_PDF\" was never defined.
14881 Usually this means the macro was only invoked conditionally." "$LINENO" 5
14882 fi
14883 if test -z "${GTK_DOC_USE_LIBTOOL_TRUE}" && test -z "${GTK_DOC_USE_LIBTOOL_FALSE}"; then
14884   as_fn_error $? "conditional \"GTK_DOC_USE_LIBTOOL\" was never defined.
14885 Usually this means the macro was only invoked conditionally." "$LINENO" 5
14886 fi
14887 if test -z "${GTK_DOC_USE_REBASE_TRUE}" && test -z "${GTK_DOC_USE_REBASE_FALSE}"; then
14888   as_fn_error $? "conditional \"GTK_DOC_USE_REBASE\" was never defined.
14889 Usually this means the macro was only invoked conditionally." "$LINENO" 5
14890 fi
14891 if test -z "${BUILD_DOCTOOL_TRUE}" && test -z "${BUILD_DOCTOOL_FALSE}"; then
14892   as_fn_error $? "conditional \"BUILD_DOCTOOL\" was never defined.
14893 Usually this means the macro was only invoked conditionally." "$LINENO" 5
14894 fi
14895 if test -z "${WITH_GLIBSRC_TRUE}" && test -z "${WITH_GLIBSRC_FALSE}"; then
14896   as_fn_error $? "conditional \"WITH_GLIBSRC\" was never defined.
14897 Usually this means the macro was only invoked conditionally." "$LINENO" 5
14898 fi
14899
14900 : "${CONFIG_STATUS=./config.status}"
14901 ac_write_fail=0
14902 ac_clean_files_save=$ac_clean_files
14903 ac_clean_files="$ac_clean_files $CONFIG_STATUS"
14904 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5
14905 $as_echo "$as_me: creating $CONFIG_STATUS" >&6;}
14906 as_write_fail=0
14907 cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1
14908 #! $SHELL
14909 # Generated by $as_me.
14910 # Run this file to recreate the current configuration.
14911 # Compiler output produced by configure, useful for debugging
14912 # configure, is in config.log if it exists.
14913
14914 debug=false
14915 ac_cs_recheck=false
14916 ac_cs_silent=false
14917
14918 SHELL=\${CONFIG_SHELL-$SHELL}
14919 export SHELL
14920 _ASEOF
14921 cat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail=1
14922 ## -------------------- ##
14923 ## M4sh Initialization. ##
14924 ## -------------------- ##
14925
14926 # Be more Bourne compatible
14927 DUALCASE=1; export DUALCASE # for MKS sh
14928 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :
14929   emulate sh
14930   NULLCMD=:
14931   # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
14932   # is contrary to our usage.  Disable this feature.
14933   alias -g '${1+"$@"}'='"$@"'
14934   setopt NO_GLOB_SUBST
14935 else
14936   case `(set -o) 2>/dev/null` in #(
14937   *posix*) :
14938     set -o posix ;; #(
14939   *) :
14940      ;;
14941 esac
14942 fi
14943
14944
14945 as_nl='
14946 '
14947 export as_nl
14948 # Printing a long string crashes Solaris 7 /usr/bin/printf.
14949 as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
14950 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
14951 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
14952 # Prefer a ksh shell builtin over an external printf program on Solaris,
14953 # but without wasting forks for bash or zsh.
14954 if test -z "$BASH_VERSION$ZSH_VERSION" \
14955     && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
14956   as_echo='print -r --'
14957   as_echo_n='print -rn --'
14958 elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
14959   as_echo='printf %s\n'
14960   as_echo_n='printf %s'
14961 else
14962   if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
14963     as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
14964     as_echo_n='/usr/ucb/echo -n'
14965   else
14966     as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
14967     as_echo_n_body='eval
14968       arg=$1;
14969       case $arg in #(
14970       *"$as_nl"*)
14971         expr "X$arg" : "X\\(.*\\)$as_nl";
14972         arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
14973       esac;
14974       expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
14975     '
14976     export as_echo_n_body
14977     as_echo_n='sh -c $as_echo_n_body as_echo'
14978   fi
14979   export as_echo_body
14980   as_echo='sh -c $as_echo_body as_echo'
14981 fi
14982
14983 # The user is always right.
14984 if test "${PATH_SEPARATOR+set}" != set; then
14985   PATH_SEPARATOR=:
14986   (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
14987     (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
14988       PATH_SEPARATOR=';'
14989   }
14990 fi
14991
14992
14993 # IFS
14994 # We need space, tab and new line, in precisely that order.  Quoting is
14995 # there to prevent editors from complaining about space-tab.
14996 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
14997 # splitting by setting IFS to empty value.)
14998 IFS=" ""        $as_nl"
14999
15000 # Find who we are.  Look in the path if we contain no directory separator.
15001 as_myself=
15002 case $0 in #((
15003   *[\\/]* ) as_myself=$0 ;;
15004   *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
15005 for as_dir in $PATH
15006 do
15007   IFS=$as_save_IFS
15008   test -z "$as_dir" && as_dir=.
15009     test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
15010   done
15011 IFS=$as_save_IFS
15012
15013      ;;
15014 esac
15015 # We did not find ourselves, most probably we were run as `sh COMMAND'
15016 # in which case we are not to be found in the path.
15017 if test "x$as_myself" = x; then
15018   as_myself=$0
15019 fi
15020 if test ! -f "$as_myself"; then
15021   $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
15022   exit 1
15023 fi
15024
15025 # Unset variables that we do not need and which cause bugs (e.g. in
15026 # pre-3.0 UWIN ksh).  But do not cause bugs in bash 2.01; the "|| exit 1"
15027 # suppresses any "Segmentation fault" message there.  '((' could
15028 # trigger a bug in pdksh 5.2.14.
15029 for as_var in BASH_ENV ENV MAIL MAILPATH
15030 do eval test x\${$as_var+set} = xset \
15031   && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
15032 done
15033 PS1='$ '
15034 PS2='> '
15035 PS4='+ '
15036
15037 # NLS nuisances.
15038 LC_ALL=C
15039 export LC_ALL
15040 LANGUAGE=C
15041 export LANGUAGE
15042
15043 # CDPATH.
15044 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
15045
15046
15047 # as_fn_error STATUS ERROR [LINENO LOG_FD]
15048 # ----------------------------------------
15049 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
15050 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
15051 # script with STATUS, using 1 if that was 0.
15052 as_fn_error ()
15053 {
15054   as_status=$1; test $as_status -eq 0 && as_status=1
15055   if test "$4"; then
15056     as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
15057     $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
15058   fi
15059   $as_echo "$as_me: error: $2" >&2
15060   as_fn_exit $as_status
15061 } # as_fn_error
15062
15063
15064 # as_fn_set_status STATUS
15065 # -----------------------
15066 # Set $? to STATUS, without forking.
15067 as_fn_set_status ()
15068 {
15069   return $1
15070 } # as_fn_set_status
15071
15072 # as_fn_exit STATUS
15073 # -----------------
15074 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
15075 as_fn_exit ()
15076 {
15077   set +e
15078   as_fn_set_status $1
15079   exit $1
15080 } # as_fn_exit
15081
15082 # as_fn_unset VAR
15083 # ---------------
15084 # Portably unset VAR.
15085 as_fn_unset ()
15086 {
15087   { eval $1=; unset $1;}
15088 }
15089 as_unset=as_fn_unset
15090 # as_fn_append VAR VALUE
15091 # ----------------------
15092 # Append the text in VALUE to the end of the definition contained in VAR. Take
15093 # advantage of any shell optimizations that allow amortized linear growth over
15094 # repeated appends, instead of the typical quadratic growth present in naive
15095 # implementations.
15096 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
15097   eval 'as_fn_append ()
15098   {
15099     eval $1+=\$2
15100   }'
15101 else
15102   as_fn_append ()
15103   {
15104     eval $1=\$$1\$2
15105   }
15106 fi # as_fn_append
15107
15108 # as_fn_arith ARG...
15109 # ------------------
15110 # Perform arithmetic evaluation on the ARGs, and store the result in the
15111 # global $as_val. Take advantage of shells that can avoid forks. The arguments
15112 # must be portable across $(()) and expr.
15113 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
15114   eval 'as_fn_arith ()
15115   {
15116     as_val=$(( $* ))
15117   }'
15118 else
15119   as_fn_arith ()
15120   {
15121     as_val=`expr "$@" || test $? -eq 1`
15122   }
15123 fi # as_fn_arith
15124
15125
15126 if expr a : '\(a\)' >/dev/null 2>&1 &&
15127    test "X`expr 00001 : '.*\(...\)'`" = X001; then
15128   as_expr=expr
15129 else
15130   as_expr=false
15131 fi
15132
15133 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
15134   as_basename=basename
15135 else
15136   as_basename=false
15137 fi
15138
15139 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
15140   as_dirname=dirname
15141 else
15142   as_dirname=false
15143 fi
15144
15145 as_me=`$as_basename -- "$0" ||
15146 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
15147          X"$0" : 'X\(//\)$' \| \
15148          X"$0" : 'X\(/\)' \| . 2>/dev/null ||
15149 $as_echo X/"$0" |
15150     sed '/^.*\/\([^/][^/]*\)\/*$/{
15151             s//\1/
15152             q
15153           }
15154           /^X\/\(\/\/\)$/{
15155             s//\1/
15156             q
15157           }
15158           /^X\/\(\/\).*/{
15159             s//\1/
15160             q
15161           }
15162           s/.*/./; q'`
15163
15164 # Avoid depending upon Character Ranges.
15165 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
15166 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
15167 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
15168 as_cr_digits='0123456789'
15169 as_cr_alnum=$as_cr_Letters$as_cr_digits
15170
15171 ECHO_C= ECHO_N= ECHO_T=
15172 case `echo -n x` in #(((((
15173 -n*)
15174   case `echo 'xy\c'` in
15175   *c*) ECHO_T=' ';;     # ECHO_T is single tab character.
15176   xy)  ECHO_C='\c';;
15177   *)   echo `echo ksh88 bug on AIX 6.1` > /dev/null
15178        ECHO_T=' ';;
15179   esac;;
15180 *)
15181   ECHO_N='-n';;
15182 esac
15183
15184 rm -f conf$$ conf$$.exe conf$$.file
15185 if test -d conf$$.dir; then
15186   rm -f conf$$.dir/conf$$.file
15187 else
15188   rm -f conf$$.dir
15189   mkdir conf$$.dir 2>/dev/null
15190 fi
15191 if (echo >conf$$.file) 2>/dev/null; then
15192   if ln -s conf$$.file conf$$ 2>/dev/null; then
15193     as_ln_s='ln -s'
15194     # ... but there are two gotchas:
15195     # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
15196     # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
15197     # In both cases, we have to default to `cp -pR'.
15198     ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
15199       as_ln_s='cp -pR'
15200   elif ln conf$$.file conf$$ 2>/dev/null; then
15201     as_ln_s=ln
15202   else
15203     as_ln_s='cp -pR'
15204   fi
15205 else
15206   as_ln_s='cp -pR'
15207 fi
15208 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
15209 rmdir conf$$.dir 2>/dev/null
15210
15211
15212 # as_fn_mkdir_p
15213 # -------------
15214 # Create "$as_dir" as a directory, including parents if necessary.
15215 as_fn_mkdir_p ()
15216 {
15217
15218   case $as_dir in #(
15219   -*) as_dir=./$as_dir;;
15220   esac
15221   test -d "$as_dir" || eval $as_mkdir_p || {
15222     as_dirs=
15223     while :; do
15224       case $as_dir in #(
15225       *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
15226       *) as_qdir=$as_dir;;
15227       esac
15228       as_dirs="'$as_qdir' $as_dirs"
15229       as_dir=`$as_dirname -- "$as_dir" ||
15230 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
15231          X"$as_dir" : 'X\(//\)[^/]' \| \
15232          X"$as_dir" : 'X\(//\)$' \| \
15233          X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
15234 $as_echo X"$as_dir" |
15235     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
15236             s//\1/
15237             q
15238           }
15239           /^X\(\/\/\)[^/].*/{
15240             s//\1/
15241             q
15242           }
15243           /^X\(\/\/\)$/{
15244             s//\1/
15245             q
15246           }
15247           /^X\(\/\).*/{
15248             s//\1/
15249             q
15250           }
15251           s/.*/./; q'`
15252       test -d "$as_dir" && break
15253     done
15254     test -z "$as_dirs" || eval "mkdir $as_dirs"
15255   } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir"
15256
15257
15258 } # as_fn_mkdir_p
15259 if mkdir -p . 2>/dev/null; then
15260   as_mkdir_p='mkdir -p "$as_dir"'
15261 else
15262   test -d ./-p && rmdir ./-p
15263   as_mkdir_p=false
15264 fi
15265
15266
15267 # as_fn_executable_p FILE
15268 # -----------------------
15269 # Test if FILE is an executable regular file.
15270 as_fn_executable_p ()
15271 {
15272   test -f "$1" && test -x "$1"
15273 } # as_fn_executable_p
15274 as_test_x='test -x'
15275 as_executable_p=as_fn_executable_p
15276
15277 # Sed expression to map a string onto a valid CPP name.
15278 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
15279
15280 # Sed expression to map a string onto a valid variable name.
15281 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
15282
15283
15284 exec 6>&1
15285 ## ----------------------------------- ##
15286 ## Main body of $CONFIG_STATUS script. ##
15287 ## ----------------------------------- ##
15288 _ASEOF
15289 test $as_write_fail = 0 && chmod +x $CONFIG_STATUS || ac_write_fail=1
15290
15291 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
15292 # Save the log message, to keep $0 and so on meaningful, and to
15293 # report actual input values of CONFIG_FILES etc. instead of their
15294 # values after options handling.
15295 ac_log="
15296 This file was extended by gobject-introspection $as_me 1.35.8, which was
15297 generated by GNU Autoconf 2.69.  Invocation command line was
15298
15299   CONFIG_FILES    = $CONFIG_FILES
15300   CONFIG_HEADERS  = $CONFIG_HEADERS
15301   CONFIG_LINKS    = $CONFIG_LINKS
15302   CONFIG_COMMANDS = $CONFIG_COMMANDS
15303   $ $0 $@
15304
15305 on `(hostname || uname -n) 2>/dev/null | sed 1q`
15306 "
15307
15308 _ACEOF
15309
15310 case $ac_config_files in *"
15311 "*) set x $ac_config_files; shift; ac_config_files=$*;;
15312 esac
15313
15314 case $ac_config_headers in *"
15315 "*) set x $ac_config_headers; shift; ac_config_headers=$*;;
15316 esac
15317
15318
15319 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
15320 # Files that config.status was made for.
15321 config_files="$ac_config_files"
15322 config_headers="$ac_config_headers"
15323 config_commands="$ac_config_commands"
15324
15325 _ACEOF
15326
15327 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
15328 ac_cs_usage="\
15329 \`$as_me' instantiates files and other configuration actions
15330 from templates according to the current configuration.  Unless the files
15331 and actions are specified as TAGs, all are instantiated by default.
15332
15333 Usage: $0 [OPTION]... [TAG]...
15334
15335   -h, --help       print this help, then exit
15336   -V, --version    print version number and configuration settings, then exit
15337       --config     print configuration, then exit
15338   -q, --quiet, --silent
15339                    do not print progress messages
15340   -d, --debug      don't remove temporary files
15341       --recheck    update $as_me by reconfiguring in the same conditions
15342       --file=FILE[:TEMPLATE]
15343                    instantiate the configuration file FILE
15344       --header=FILE[:TEMPLATE]
15345                    instantiate the configuration header FILE
15346
15347 Configuration files:
15348 $config_files
15349
15350 Configuration headers:
15351 $config_headers
15352
15353 Configuration commands:
15354 $config_commands
15355
15356 Report bugs to <http://bugzilla.gnome.org/enter_bug.cgi?product=glib&component=introspection>."
15357
15358 _ACEOF
15359 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
15360 ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`"
15361 ac_cs_version="\\
15362 gobject-introspection config.status 1.35.8
15363 configured by $0, generated by GNU Autoconf 2.69,
15364   with options \\"\$ac_cs_config\\"
15365
15366 Copyright (C) 2012 Free Software Foundation, Inc.
15367 This config.status script is free software; the Free Software Foundation
15368 gives unlimited permission to copy, distribute and modify it."
15369
15370 ac_pwd='$ac_pwd'
15371 srcdir='$srcdir'
15372 INSTALL='$INSTALL'
15373 MKDIR_P='$MKDIR_P'
15374 AWK='$AWK'
15375 test -n "\$AWK" || AWK=awk
15376 _ACEOF
15377
15378 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
15379 # The default lists apply if the user does not specify any file.
15380 ac_need_defaults=:
15381 while test $# != 0
15382 do
15383   case $1 in
15384   --*=?*)
15385     ac_option=`expr "X$1" : 'X\([^=]*\)='`
15386     ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'`
15387     ac_shift=:
15388     ;;
15389   --*=)
15390     ac_option=`expr "X$1" : 'X\([^=]*\)='`
15391     ac_optarg=
15392     ac_shift=:
15393     ;;
15394   *)
15395     ac_option=$1
15396     ac_optarg=$2
15397     ac_shift=shift
15398     ;;
15399   esac
15400
15401   case $ac_option in
15402   # Handling of the options.
15403   -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
15404     ac_cs_recheck=: ;;
15405   --version | --versio | --versi | --vers | --ver | --ve | --v | -V )
15406     $as_echo "$ac_cs_version"; exit ;;
15407   --config | --confi | --conf | --con | --co | --c )
15408     $as_echo "$ac_cs_config"; exit ;;
15409   --debug | --debu | --deb | --de | --d | -d )
15410     debug=: ;;
15411   --file | --fil | --fi | --f )
15412     $ac_shift
15413     case $ac_optarg in
15414     *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
15415     '') as_fn_error $? "missing file argument" ;;
15416     esac
15417     as_fn_append CONFIG_FILES " '$ac_optarg'"
15418     ac_need_defaults=false;;
15419   --header | --heade | --head | --hea )
15420     $ac_shift
15421     case $ac_optarg in
15422     *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
15423     esac
15424     as_fn_append CONFIG_HEADERS " '$ac_optarg'"
15425     ac_need_defaults=false;;
15426   --he | --h)
15427     # Conflict between --help and --header
15428     as_fn_error $? "ambiguous option: \`$1'
15429 Try \`$0 --help' for more information.";;
15430   --help | --hel | -h )
15431     $as_echo "$ac_cs_usage"; exit ;;
15432   -q | -quiet | --quiet | --quie | --qui | --qu | --q \
15433   | -silent | --silent | --silen | --sile | --sil | --si | --s)
15434     ac_cs_silent=: ;;
15435
15436   # This is an error.
15437   -*) as_fn_error $? "unrecognized option: \`$1'
15438 Try \`$0 --help' for more information." ;;
15439
15440   *) as_fn_append ac_config_targets " $1"
15441      ac_need_defaults=false ;;
15442
15443   esac
15444   shift
15445 done
15446
15447 ac_configure_extra_args=
15448
15449 if $ac_cs_silent; then
15450   exec 6>/dev/null
15451   ac_configure_extra_args="$ac_configure_extra_args --silent"
15452 fi
15453
15454 _ACEOF
15455 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
15456 if \$ac_cs_recheck; then
15457   set X $SHELL '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
15458   shift
15459   \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6
15460   CONFIG_SHELL='$SHELL'
15461   export CONFIG_SHELL
15462   exec "\$@"
15463 fi
15464
15465 _ACEOF
15466 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
15467 exec 5>>config.log
15468 {
15469   echo
15470   sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
15471 ## Running $as_me. ##
15472 _ASBOX
15473   $as_echo "$ac_log"
15474 } >&5
15475
15476 _ACEOF
15477 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
15478 #
15479 # INIT-COMMANDS
15480 #
15481 AMDEP_TRUE="$AMDEP_TRUE" ac_aux_dir="$ac_aux_dir"
15482
15483
15484 # The HP-UX ksh and POSIX shell print the target directory to stdout
15485 # if CDPATH is set.
15486 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
15487
15488 sed_quote_subst='$sed_quote_subst'
15489 double_quote_subst='$double_quote_subst'
15490 delay_variable_subst='$delay_variable_subst'
15491 macro_version='`$ECHO "$macro_version" | $SED "$delay_single_quote_subst"`'
15492 macro_revision='`$ECHO "$macro_revision" | $SED "$delay_single_quote_subst"`'
15493 enable_shared='`$ECHO "$enable_shared" | $SED "$delay_single_quote_subst"`'
15494 enable_static='`$ECHO "$enable_static" | $SED "$delay_single_quote_subst"`'
15495 pic_mode='`$ECHO "$pic_mode" | $SED "$delay_single_quote_subst"`'
15496 enable_fast_install='`$ECHO "$enable_fast_install" | $SED "$delay_single_quote_subst"`'
15497 SHELL='`$ECHO "$SHELL" | $SED "$delay_single_quote_subst"`'
15498 ECHO='`$ECHO "$ECHO" | $SED "$delay_single_quote_subst"`'
15499 PATH_SEPARATOR='`$ECHO "$PATH_SEPARATOR" | $SED "$delay_single_quote_subst"`'
15500 host_alias='`$ECHO "$host_alias" | $SED "$delay_single_quote_subst"`'
15501 host='`$ECHO "$host" | $SED "$delay_single_quote_subst"`'
15502 host_os='`$ECHO "$host_os" | $SED "$delay_single_quote_subst"`'
15503 build_alias='`$ECHO "$build_alias" | $SED "$delay_single_quote_subst"`'
15504 build='`$ECHO "$build" | $SED "$delay_single_quote_subst"`'
15505 build_os='`$ECHO "$build_os" | $SED "$delay_single_quote_subst"`'
15506 SED='`$ECHO "$SED" | $SED "$delay_single_quote_subst"`'
15507 Xsed='`$ECHO "$Xsed" | $SED "$delay_single_quote_subst"`'
15508 GREP='`$ECHO "$GREP" | $SED "$delay_single_quote_subst"`'
15509 EGREP='`$ECHO "$EGREP" | $SED "$delay_single_quote_subst"`'
15510 FGREP='`$ECHO "$FGREP" | $SED "$delay_single_quote_subst"`'
15511 LD='`$ECHO "$LD" | $SED "$delay_single_quote_subst"`'
15512 NM='`$ECHO "$NM" | $SED "$delay_single_quote_subst"`'
15513 LN_S='`$ECHO "$LN_S" | $SED "$delay_single_quote_subst"`'
15514 max_cmd_len='`$ECHO "$max_cmd_len" | $SED "$delay_single_quote_subst"`'
15515 ac_objext='`$ECHO "$ac_objext" | $SED "$delay_single_quote_subst"`'
15516 exeext='`$ECHO "$exeext" | $SED "$delay_single_quote_subst"`'
15517 lt_unset='`$ECHO "$lt_unset" | $SED "$delay_single_quote_subst"`'
15518 lt_SP2NL='`$ECHO "$lt_SP2NL" | $SED "$delay_single_quote_subst"`'
15519 lt_NL2SP='`$ECHO "$lt_NL2SP" | $SED "$delay_single_quote_subst"`'
15520 lt_cv_to_host_file_cmd='`$ECHO "$lt_cv_to_host_file_cmd" | $SED "$delay_single_quote_subst"`'
15521 lt_cv_to_tool_file_cmd='`$ECHO "$lt_cv_to_tool_file_cmd" | $SED "$delay_single_quote_subst"`'
15522 reload_flag='`$ECHO "$reload_flag" | $SED "$delay_single_quote_subst"`'
15523 reload_cmds='`$ECHO "$reload_cmds" | $SED "$delay_single_quote_subst"`'
15524 OBJDUMP='`$ECHO "$OBJDUMP" | $SED "$delay_single_quote_subst"`'
15525 deplibs_check_method='`$ECHO "$deplibs_check_method" | $SED "$delay_single_quote_subst"`'
15526 file_magic_cmd='`$ECHO "$file_magic_cmd" | $SED "$delay_single_quote_subst"`'
15527 file_magic_glob='`$ECHO "$file_magic_glob" | $SED "$delay_single_quote_subst"`'
15528 want_nocaseglob='`$ECHO "$want_nocaseglob" | $SED "$delay_single_quote_subst"`'
15529 DLLTOOL='`$ECHO "$DLLTOOL" | $SED "$delay_single_quote_subst"`'
15530 sharedlib_from_linklib_cmd='`$ECHO "$sharedlib_from_linklib_cmd" | $SED "$delay_single_quote_subst"`'
15531 AR='`$ECHO "$AR" | $SED "$delay_single_quote_subst"`'
15532 AR_FLAGS='`$ECHO "$AR_FLAGS" | $SED "$delay_single_quote_subst"`'
15533 archiver_list_spec='`$ECHO "$archiver_list_spec" | $SED "$delay_single_quote_subst"`'
15534 STRIP='`$ECHO "$STRIP" | $SED "$delay_single_quote_subst"`'
15535 RANLIB='`$ECHO "$RANLIB" | $SED "$delay_single_quote_subst"`'
15536 old_postinstall_cmds='`$ECHO "$old_postinstall_cmds" | $SED "$delay_single_quote_subst"`'
15537 old_postuninstall_cmds='`$ECHO "$old_postuninstall_cmds" | $SED "$delay_single_quote_subst"`'
15538 old_archive_cmds='`$ECHO "$old_archive_cmds" | $SED "$delay_single_quote_subst"`'
15539 lock_old_archive_extraction='`$ECHO "$lock_old_archive_extraction" | $SED "$delay_single_quote_subst"`'
15540 CC='`$ECHO "$CC" | $SED "$delay_single_quote_subst"`'
15541 CFLAGS='`$ECHO "$CFLAGS" | $SED "$delay_single_quote_subst"`'
15542 compiler='`$ECHO "$compiler" | $SED "$delay_single_quote_subst"`'
15543 GCC='`$ECHO "$GCC" | $SED "$delay_single_quote_subst"`'
15544 lt_cv_sys_global_symbol_pipe='`$ECHO "$lt_cv_sys_global_symbol_pipe" | $SED "$delay_single_quote_subst"`'
15545 lt_cv_sys_global_symbol_to_cdecl='`$ECHO "$lt_cv_sys_global_symbol_to_cdecl" | $SED "$delay_single_quote_subst"`'
15546 lt_cv_sys_global_symbol_to_c_name_address='`$ECHO "$lt_cv_sys_global_symbol_to_c_name_address" | $SED "$delay_single_quote_subst"`'
15547 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"`'
15548 nm_file_list_spec='`$ECHO "$nm_file_list_spec" | $SED "$delay_single_quote_subst"`'
15549 lt_sysroot='`$ECHO "$lt_sysroot" | $SED "$delay_single_quote_subst"`'
15550 objdir='`$ECHO "$objdir" | $SED "$delay_single_quote_subst"`'
15551 MAGIC_CMD='`$ECHO "$MAGIC_CMD" | $SED "$delay_single_quote_subst"`'
15552 lt_prog_compiler_no_builtin_flag='`$ECHO "$lt_prog_compiler_no_builtin_flag" | $SED "$delay_single_quote_subst"`'
15553 lt_prog_compiler_pic='`$ECHO "$lt_prog_compiler_pic" | $SED "$delay_single_quote_subst"`'
15554 lt_prog_compiler_wl='`$ECHO "$lt_prog_compiler_wl" | $SED "$delay_single_quote_subst"`'
15555 lt_prog_compiler_static='`$ECHO "$lt_prog_compiler_static" | $SED "$delay_single_quote_subst"`'
15556 lt_cv_prog_compiler_c_o='`$ECHO "$lt_cv_prog_compiler_c_o" | $SED "$delay_single_quote_subst"`'
15557 need_locks='`$ECHO "$need_locks" | $SED "$delay_single_quote_subst"`'
15558 MANIFEST_TOOL='`$ECHO "$MANIFEST_TOOL" | $SED "$delay_single_quote_subst"`'
15559 DSYMUTIL='`$ECHO "$DSYMUTIL" | $SED "$delay_single_quote_subst"`'
15560 NMEDIT='`$ECHO "$NMEDIT" | $SED "$delay_single_quote_subst"`'
15561 LIPO='`$ECHO "$LIPO" | $SED "$delay_single_quote_subst"`'
15562 OTOOL='`$ECHO "$OTOOL" | $SED "$delay_single_quote_subst"`'
15563 OTOOL64='`$ECHO "$OTOOL64" | $SED "$delay_single_quote_subst"`'
15564 libext='`$ECHO "$libext" | $SED "$delay_single_quote_subst"`'
15565 shrext_cmds='`$ECHO "$shrext_cmds" | $SED "$delay_single_quote_subst"`'
15566 extract_expsyms_cmds='`$ECHO "$extract_expsyms_cmds" | $SED "$delay_single_quote_subst"`'
15567 archive_cmds_need_lc='`$ECHO "$archive_cmds_need_lc" | $SED "$delay_single_quote_subst"`'
15568 enable_shared_with_static_runtimes='`$ECHO "$enable_shared_with_static_runtimes" | $SED "$delay_single_quote_subst"`'
15569 export_dynamic_flag_spec='`$ECHO "$export_dynamic_flag_spec" | $SED "$delay_single_quote_subst"`'
15570 whole_archive_flag_spec='`$ECHO "$whole_archive_flag_spec" | $SED "$delay_single_quote_subst"`'
15571 compiler_needs_object='`$ECHO "$compiler_needs_object" | $SED "$delay_single_quote_subst"`'
15572 old_archive_from_new_cmds='`$ECHO "$old_archive_from_new_cmds" | $SED "$delay_single_quote_subst"`'
15573 old_archive_from_expsyms_cmds='`$ECHO "$old_archive_from_expsyms_cmds" | $SED "$delay_single_quote_subst"`'
15574 archive_cmds='`$ECHO "$archive_cmds" | $SED "$delay_single_quote_subst"`'
15575 archive_expsym_cmds='`$ECHO "$archive_expsym_cmds" | $SED "$delay_single_quote_subst"`'
15576 module_cmds='`$ECHO "$module_cmds" | $SED "$delay_single_quote_subst"`'
15577 module_expsym_cmds='`$ECHO "$module_expsym_cmds" | $SED "$delay_single_quote_subst"`'
15578 with_gnu_ld='`$ECHO "$with_gnu_ld" | $SED "$delay_single_quote_subst"`'
15579 allow_undefined_flag='`$ECHO "$allow_undefined_flag" | $SED "$delay_single_quote_subst"`'
15580 no_undefined_flag='`$ECHO "$no_undefined_flag" | $SED "$delay_single_quote_subst"`'
15581 hardcode_libdir_flag_spec='`$ECHO "$hardcode_libdir_flag_spec" | $SED "$delay_single_quote_subst"`'
15582 hardcode_libdir_separator='`$ECHO "$hardcode_libdir_separator" | $SED "$delay_single_quote_subst"`'
15583 hardcode_direct='`$ECHO "$hardcode_direct" | $SED "$delay_single_quote_subst"`'
15584 hardcode_direct_absolute='`$ECHO "$hardcode_direct_absolute" | $SED "$delay_single_quote_subst"`'
15585 hardcode_minus_L='`$ECHO "$hardcode_minus_L" | $SED "$delay_single_quote_subst"`'
15586 hardcode_shlibpath_var='`$ECHO "$hardcode_shlibpath_var" | $SED "$delay_single_quote_subst"`'
15587 hardcode_automatic='`$ECHO "$hardcode_automatic" | $SED "$delay_single_quote_subst"`'
15588 inherit_rpath='`$ECHO "$inherit_rpath" | $SED "$delay_single_quote_subst"`'
15589 link_all_deplibs='`$ECHO "$link_all_deplibs" | $SED "$delay_single_quote_subst"`'
15590 always_export_symbols='`$ECHO "$always_export_symbols" | $SED "$delay_single_quote_subst"`'
15591 export_symbols_cmds='`$ECHO "$export_symbols_cmds" | $SED "$delay_single_quote_subst"`'
15592 exclude_expsyms='`$ECHO "$exclude_expsyms" | $SED "$delay_single_quote_subst"`'
15593 include_expsyms='`$ECHO "$include_expsyms" | $SED "$delay_single_quote_subst"`'
15594 prelink_cmds='`$ECHO "$prelink_cmds" | $SED "$delay_single_quote_subst"`'
15595 postlink_cmds='`$ECHO "$postlink_cmds" | $SED "$delay_single_quote_subst"`'
15596 file_list_spec='`$ECHO "$file_list_spec" | $SED "$delay_single_quote_subst"`'
15597 variables_saved_for_relink='`$ECHO "$variables_saved_for_relink" | $SED "$delay_single_quote_subst"`'
15598 need_lib_prefix='`$ECHO "$need_lib_prefix" | $SED "$delay_single_quote_subst"`'
15599 need_version='`$ECHO "$need_version" | $SED "$delay_single_quote_subst"`'
15600 version_type='`$ECHO "$version_type" | $SED "$delay_single_quote_subst"`'
15601 runpath_var='`$ECHO "$runpath_var" | $SED "$delay_single_quote_subst"`'
15602 shlibpath_var='`$ECHO "$shlibpath_var" | $SED "$delay_single_quote_subst"`'
15603 shlibpath_overrides_runpath='`$ECHO "$shlibpath_overrides_runpath" | $SED "$delay_single_quote_subst"`'
15604 libname_spec='`$ECHO "$libname_spec" | $SED "$delay_single_quote_subst"`'
15605 library_names_spec='`$ECHO "$library_names_spec" | $SED "$delay_single_quote_subst"`'
15606 soname_spec='`$ECHO "$soname_spec" | $SED "$delay_single_quote_subst"`'
15607 install_override_mode='`$ECHO "$install_override_mode" | $SED "$delay_single_quote_subst"`'
15608 postinstall_cmds='`$ECHO "$postinstall_cmds" | $SED "$delay_single_quote_subst"`'
15609 postuninstall_cmds='`$ECHO "$postuninstall_cmds" | $SED "$delay_single_quote_subst"`'
15610 finish_cmds='`$ECHO "$finish_cmds" | $SED "$delay_single_quote_subst"`'
15611 finish_eval='`$ECHO "$finish_eval" | $SED "$delay_single_quote_subst"`'
15612 hardcode_into_libs='`$ECHO "$hardcode_into_libs" | $SED "$delay_single_quote_subst"`'
15613 sys_lib_search_path_spec='`$ECHO "$sys_lib_search_path_spec" | $SED "$delay_single_quote_subst"`'
15614 sys_lib_dlsearch_path_spec='`$ECHO "$sys_lib_dlsearch_path_spec" | $SED "$delay_single_quote_subst"`'
15615 hardcode_action='`$ECHO "$hardcode_action" | $SED "$delay_single_quote_subst"`'
15616 enable_dlopen='`$ECHO "$enable_dlopen" | $SED "$delay_single_quote_subst"`'
15617 enable_dlopen_self='`$ECHO "$enable_dlopen_self" | $SED "$delay_single_quote_subst"`'
15618 enable_dlopen_self_static='`$ECHO "$enable_dlopen_self_static" | $SED "$delay_single_quote_subst"`'
15619 old_striplib='`$ECHO "$old_striplib" | $SED "$delay_single_quote_subst"`'
15620 striplib='`$ECHO "$striplib" | $SED "$delay_single_quote_subst"`'
15621
15622 LTCC='$LTCC'
15623 LTCFLAGS='$LTCFLAGS'
15624 compiler='$compiler_DEFAULT'
15625
15626 # A function that is used when there is no print builtin or printf.
15627 func_fallback_echo ()
15628 {
15629   eval 'cat <<_LTECHO_EOF
15630 \$1
15631 _LTECHO_EOF'
15632 }
15633
15634 # Quote evaled strings.
15635 for var in SHELL \
15636 ECHO \
15637 PATH_SEPARATOR \
15638 SED \
15639 GREP \
15640 EGREP \
15641 FGREP \
15642 LD \
15643 NM \
15644 LN_S \
15645 lt_SP2NL \
15646 lt_NL2SP \
15647 reload_flag \
15648 OBJDUMP \
15649 deplibs_check_method \
15650 file_magic_cmd \
15651 file_magic_glob \
15652 want_nocaseglob \
15653 DLLTOOL \
15654 sharedlib_from_linklib_cmd \
15655 AR \
15656 AR_FLAGS \
15657 archiver_list_spec \
15658 STRIP \
15659 RANLIB \
15660 CC \
15661 CFLAGS \
15662 compiler \
15663 lt_cv_sys_global_symbol_pipe \
15664 lt_cv_sys_global_symbol_to_cdecl \
15665 lt_cv_sys_global_symbol_to_c_name_address \
15666 lt_cv_sys_global_symbol_to_c_name_address_lib_prefix \
15667 nm_file_list_spec \
15668 lt_prog_compiler_no_builtin_flag \
15669 lt_prog_compiler_pic \
15670 lt_prog_compiler_wl \
15671 lt_prog_compiler_static \
15672 lt_cv_prog_compiler_c_o \
15673 need_locks \
15674 MANIFEST_TOOL \
15675 DSYMUTIL \
15676 NMEDIT \
15677 LIPO \
15678 OTOOL \
15679 OTOOL64 \
15680 shrext_cmds \
15681 export_dynamic_flag_spec \
15682 whole_archive_flag_spec \
15683 compiler_needs_object \
15684 with_gnu_ld \
15685 allow_undefined_flag \
15686 no_undefined_flag \
15687 hardcode_libdir_flag_spec \
15688 hardcode_libdir_separator \
15689 exclude_expsyms \
15690 include_expsyms \
15691 file_list_spec \
15692 variables_saved_for_relink \
15693 libname_spec \
15694 library_names_spec \
15695 soname_spec \
15696 install_override_mode \
15697 finish_eval \
15698 old_striplib \
15699 striplib; do
15700     case \`eval \\\\\$ECHO \\\\""\\\\\$\$var"\\\\"\` in
15701     *[\\\\\\\`\\"\\\$]*)
15702       eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"\\\$\$var\\" | \\\$SED \\"\\\$sed_quote_subst\\"\\\`\\\\\\""
15703       ;;
15704     *)
15705       eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
15706       ;;
15707     esac
15708 done
15709
15710 # Double-quote double-evaled strings.
15711 for var in reload_cmds \
15712 old_postinstall_cmds \
15713 old_postuninstall_cmds \
15714 old_archive_cmds \
15715 extract_expsyms_cmds \
15716 old_archive_from_new_cmds \
15717 old_archive_from_expsyms_cmds \
15718 archive_cmds \
15719 archive_expsym_cmds \
15720 module_cmds \
15721 module_expsym_cmds \
15722 export_symbols_cmds \
15723 prelink_cmds \
15724 postlink_cmds \
15725 postinstall_cmds \
15726 postuninstall_cmds \
15727 finish_cmds \
15728 sys_lib_search_path_spec \
15729 sys_lib_dlsearch_path_spec; do
15730     case \`eval \\\\\$ECHO \\\\""\\\\\$\$var"\\\\"\` in
15731     *[\\\\\\\`\\"\\\$]*)
15732       eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"\\\$\$var\\" | \\\$SED -e \\"\\\$double_quote_subst\\" -e \\"\\\$sed_quote_subst\\" -e \\"\\\$delay_variable_subst\\"\\\`\\\\\\""
15733       ;;
15734     *)
15735       eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
15736       ;;
15737     esac
15738 done
15739
15740 ac_aux_dir='$ac_aux_dir'
15741 xsi_shell='$xsi_shell'
15742 lt_shell_append='$lt_shell_append'
15743
15744 # See if we are running on zsh, and set the options which allow our
15745 # commands through without removal of \ escapes INIT.
15746 if test -n "\${ZSH_VERSION+set}" ; then
15747    setopt NO_GLOB_SUBST
15748 fi
15749
15750
15751     PACKAGE='$PACKAGE'
15752     VERSION='$VERSION'
15753     TIMESTAMP='$TIMESTAMP'
15754     RM='$RM'
15755     ofile='$ofile'
15756
15757
15758
15759
15760 _ACEOF
15761
15762 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
15763
15764 # Handling of arguments.
15765 for ac_config_target in $ac_config_targets
15766 do
15767   case $ac_config_target in
15768     "config.h") CONFIG_HEADERS="$CONFIG_HEADERS config.h" ;;
15769     "depfiles") CONFIG_COMMANDS="$CONFIG_COMMANDS depfiles" ;;
15770     "libtool") CONFIG_COMMANDS="$CONFIG_COMMANDS libtool" ;;
15771     "Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;;
15772     "m4/Makefile") CONFIG_FILES="$CONFIG_FILES m4/Makefile" ;;
15773     "tests/Makefile") CONFIG_FILES="$CONFIG_FILES tests/Makefile" ;;
15774     "tests/offsets/Makefile") CONFIG_FILES="$CONFIG_FILES tests/offsets/Makefile" ;;
15775     "tests/scanner/Makefile") CONFIG_FILES="$CONFIG_FILES tests/scanner/Makefile" ;;
15776     "tests/repository/Makefile") CONFIG_FILES="$CONFIG_FILES tests/repository/Makefile" ;;
15777     "tests/warn/Makefile") CONFIG_FILES="$CONFIG_FILES tests/warn/Makefile" ;;
15778     "docs/Makefile") CONFIG_FILES="$CONFIG_FILES docs/Makefile" ;;
15779     "docs/reference/Makefile") CONFIG_FILES="$CONFIG_FILES docs/reference/Makefile" ;;
15780     "gobject-introspection-1.0.pc") CONFIG_FILES="$CONFIG_FILES gobject-introspection-1.0.pc" ;;
15781     "gobject-introspection-no-export-1.0.pc") CONFIG_FILES="$CONFIG_FILES gobject-introspection-no-export-1.0.pc" ;;
15782     "config.h.win32") CONFIG_FILES="$CONFIG_FILES config.h.win32" ;;
15783     "build/Makefile") CONFIG_FILES="$CONFIG_FILES build/Makefile" ;;
15784     "build/win32/Makefile") CONFIG_FILES="$CONFIG_FILES build/win32/Makefile" ;;
15785     "build/win32/vs9/Makefile") CONFIG_FILES="$CONFIG_FILES build/win32/vs9/Makefile" ;;
15786     "build/win32/vs10/Makefile") CONFIG_FILES="$CONFIG_FILES build/win32/vs10/Makefile" ;;
15787
15788   *) as_fn_error $? "invalid argument: \`$ac_config_target'" "$LINENO" 5;;
15789   esac
15790 done
15791
15792
15793 # If the user did not use the arguments to specify the items to instantiate,
15794 # then the envvar interface is used.  Set only those that are not.
15795 # We use the long form for the default assignment because of an extremely
15796 # bizarre bug on SunOS 4.1.3.
15797 if $ac_need_defaults; then
15798   test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
15799   test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS=$config_headers
15800   test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS=$config_commands
15801 fi
15802
15803 # Have a temporary directory for convenience.  Make it in the build tree
15804 # simply because there is no reason against having it here, and in addition,
15805 # creating and moving files from /tmp can sometimes cause problems.
15806 # Hook for its removal unless debugging.
15807 # Note that there is a small window in which the directory will not be cleaned:
15808 # after its creation but before its name has been assigned to `$tmp'.
15809 $debug ||
15810 {
15811   tmp= ac_tmp=
15812   trap 'exit_status=$?
15813   : "${ac_tmp:=$tmp}"
15814   { test ! -d "$ac_tmp" || rm -fr "$ac_tmp"; } && exit $exit_status
15815 ' 0
15816   trap 'as_fn_exit 1' 1 2 13 15
15817 }
15818 # Create a (secure) tmp directory for tmp files.
15819
15820 {
15821   tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
15822   test -d "$tmp"
15823 }  ||
15824 {
15825   tmp=./conf$$-$RANDOM
15826   (umask 077 && mkdir "$tmp")
15827 } || as_fn_error $? "cannot create a temporary directory in ." "$LINENO" 5
15828 ac_tmp=$tmp
15829
15830 # Set up the scripts for CONFIG_FILES section.
15831 # No need to generate them if there are no CONFIG_FILES.
15832 # This happens for instance with `./config.status config.h'.
15833 if test -n "$CONFIG_FILES"; then
15834
15835
15836 ac_cr=`echo X | tr X '\015'`
15837 # On cygwin, bash can eat \r inside `` if the user requested igncr.
15838 # But we know of no other shell where ac_cr would be empty at this
15839 # point, so we can use a bashism as a fallback.
15840 if test "x$ac_cr" = x; then
15841   eval ac_cr=\$\'\\r\'
15842 fi
15843 ac_cs_awk_cr=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
15844 if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
15845   ac_cs_awk_cr='\\r'
15846 else
15847   ac_cs_awk_cr=$ac_cr
15848 fi
15849
15850 echo 'BEGIN {' >"$ac_tmp/subs1.awk" &&
15851 _ACEOF
15852
15853
15854 {
15855   echo "cat >conf$$subs.awk <<_ACEOF" &&
15856   echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
15857   echo "_ACEOF"
15858 } >conf$$subs.sh ||
15859   as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
15860 ac_delim_num=`echo "$ac_subst_vars" | grep -c '^'`
15861 ac_delim='%!_!# '
15862 for ac_last_try in false false false false false :; do
15863   . ./conf$$subs.sh ||
15864     as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
15865
15866   ac_delim_n=`sed -n "s/.*$ac_delim\$/X/p" conf$$subs.awk | grep -c X`
15867   if test $ac_delim_n = $ac_delim_num; then
15868     break
15869   elif $ac_last_try; then
15870     as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
15871   else
15872     ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
15873   fi
15874 done
15875 rm -f conf$$subs.sh
15876
15877 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
15878 cat >>"\$ac_tmp/subs1.awk" <<\\_ACAWK &&
15879 _ACEOF
15880 sed -n '
15881 h
15882 s/^/S["/; s/!.*/"]=/
15883 p
15884 g
15885 s/^[^!]*!//
15886 :repl
15887 t repl
15888 s/'"$ac_delim"'$//
15889 t delim
15890 :nl
15891 h
15892 s/\(.\{148\}\)..*/\1/
15893 t more1
15894 s/["\\]/\\&/g; s/^/"/; s/$/\\n"\\/
15895 p
15896 n
15897 b repl
15898 :more1
15899 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
15900 p
15901 g
15902 s/.\{148\}//
15903 t nl
15904 :delim
15905 h
15906 s/\(.\{148\}\)..*/\1/
15907 t more2
15908 s/["\\]/\\&/g; s/^/"/; s/$/"/
15909 p
15910 b
15911 :more2
15912 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
15913 p
15914 g
15915 s/.\{148\}//
15916 t delim
15917 ' <conf$$subs.awk | sed '
15918 /^[^""]/{
15919   N
15920   s/\n//
15921 }
15922 ' >>$CONFIG_STATUS || ac_write_fail=1
15923 rm -f conf$$subs.awk
15924 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
15925 _ACAWK
15926 cat >>"\$ac_tmp/subs1.awk" <<_ACAWK &&
15927   for (key in S) S_is_set[key] = 1
15928   FS = "\a"
15929
15930 }
15931 {
15932   line = $ 0
15933   nfields = split(line, field, "@")
15934   substed = 0
15935   len = length(field[1])
15936   for (i = 2; i < nfields; i++) {
15937     key = field[i]
15938     keylen = length(key)
15939     if (S_is_set[key]) {
15940       value = S[key]
15941       line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3)
15942       len += length(value) + length(field[++i])
15943       substed = 1
15944     } else
15945       len += 1 + keylen
15946   }
15947
15948   print line
15949 }
15950
15951 _ACAWK
15952 _ACEOF
15953 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
15954 if sed "s/$ac_cr//" < /dev/null > /dev/null 2>&1; then
15955   sed "s/$ac_cr\$//; s/$ac_cr/$ac_cs_awk_cr/g"
15956 else
15957   cat
15958 fi < "$ac_tmp/subs1.awk" > "$ac_tmp/subs.awk" \
15959   || as_fn_error $? "could not setup config files machinery" "$LINENO" 5
15960 _ACEOF
15961
15962 # VPATH may cause trouble with some makes, so we remove sole $(srcdir),
15963 # ${srcdir} and @srcdir@ entries from VPATH if srcdir is ".", strip leading and
15964 # trailing colons and then remove the whole line if VPATH becomes empty
15965 # (actually we leave an empty line to preserve line numbers).
15966 if test "x$srcdir" = x.; then
15967   ac_vpsub='/^[  ]*VPATH[        ]*=[    ]*/{
15968 h
15969 s///
15970 s/^/:/
15971 s/[      ]*$/:/
15972 s/:\$(srcdir):/:/g
15973 s/:\${srcdir}:/:/g
15974 s/:@srcdir@:/:/g
15975 s/^:*//
15976 s/:*$//
15977 x
15978 s/\(=[   ]*\).*/\1/
15979 G
15980 s/\n//
15981 s/^[^=]*=[       ]*$//
15982 }'
15983 fi
15984
15985 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
15986 fi # test -n "$CONFIG_FILES"
15987
15988 # Set up the scripts for CONFIG_HEADERS section.
15989 # No need to generate them if there are no CONFIG_HEADERS.
15990 # This happens for instance with `./config.status Makefile'.
15991 if test -n "$CONFIG_HEADERS"; then
15992 cat >"$ac_tmp/defines.awk" <<\_ACAWK ||
15993 BEGIN {
15994 _ACEOF
15995
15996 # Transform confdefs.h into an awk script `defines.awk', embedded as
15997 # here-document in config.status, that substitutes the proper values into
15998 # config.h.in to produce config.h.
15999
16000 # Create a delimiter string that does not exist in confdefs.h, to ease
16001 # handling of long lines.
16002 ac_delim='%!_!# '
16003 for ac_last_try in false false :; do
16004   ac_tt=`sed -n "/$ac_delim/p" confdefs.h`
16005   if test -z "$ac_tt"; then
16006     break
16007   elif $ac_last_try; then
16008     as_fn_error $? "could not make $CONFIG_HEADERS" "$LINENO" 5
16009   else
16010     ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
16011   fi
16012 done
16013
16014 # For the awk script, D is an array of macro values keyed by name,
16015 # likewise P contains macro parameters if any.  Preserve backslash
16016 # newline sequences.
16017
16018 ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]*
16019 sed -n '
16020 s/.\{148\}/&'"$ac_delim"'/g
16021 t rset
16022 :rset
16023 s/^[     ]*#[    ]*define[       ][      ]*/ /
16024 t def
16025 d
16026 :def
16027 s/\\$//
16028 t bsnl
16029 s/["\\]/\\&/g
16030 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[     ]*\(.*\)/P["\1"]="\2"\
16031 D["\1"]=" \3"/p
16032 s/^ \('"$ac_word_re"'\)[         ]*\(.*\)/D["\1"]=" \2"/p
16033 d
16034 :bsnl
16035 s/["\\]/\\&/g
16036 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[     ]*\(.*\)/P["\1"]="\2"\
16037 D["\1"]=" \3\\\\\\n"\\/p
16038 t cont
16039 s/^ \('"$ac_word_re"'\)[         ]*\(.*\)/D["\1"]=" \2\\\\\\n"\\/p
16040 t cont
16041 d
16042 :cont
16043 n
16044 s/.\{148\}/&'"$ac_delim"'/g
16045 t clear
16046 :clear
16047 s/\\$//
16048 t bsnlc
16049 s/["\\]/\\&/g; s/^/"/; s/$/"/p
16050 d
16051 :bsnlc
16052 s/["\\]/\\&/g; s/^/"/; s/$/\\\\\\n"\\/p
16053 b cont
16054 ' <confdefs.h | sed '
16055 s/'"$ac_delim"'/"\\\
16056 "/g' >>$CONFIG_STATUS || ac_write_fail=1
16057
16058 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
16059   for (key in D) D_is_set[key] = 1
16060   FS = "\a"
16061 }
16062 /^[\t ]*#[\t ]*(define|undef)[\t ]+$ac_word_re([\t (]|\$)/ {
16063   line = \$ 0
16064   split(line, arg, " ")
16065   if (arg[1] == "#") {
16066     defundef = arg[2]
16067     mac1 = arg[3]
16068   } else {
16069     defundef = substr(arg[1], 2)
16070     mac1 = arg[2]
16071   }
16072   split(mac1, mac2, "(") #)
16073   macro = mac2[1]
16074   prefix = substr(line, 1, index(line, defundef) - 1)
16075   if (D_is_set[macro]) {
16076     # Preserve the white space surrounding the "#".
16077     print prefix "define", macro P[macro] D[macro]
16078     next
16079   } else {
16080     # Replace #undef with comments.  This is necessary, for example,
16081     # in the case of _POSIX_SOURCE, which is predefined and required
16082     # on some systems where configure will not decide to define it.
16083     if (defundef == "undef") {
16084       print "/*", prefix defundef, macro, "*/"
16085       next
16086     }
16087   }
16088 }
16089 { print }
16090 _ACAWK
16091 _ACEOF
16092 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
16093   as_fn_error $? "could not setup config headers machinery" "$LINENO" 5
16094 fi # test -n "$CONFIG_HEADERS"
16095
16096
16097 eval set X "  :F $CONFIG_FILES  :H $CONFIG_HEADERS    :C $CONFIG_COMMANDS"
16098 shift
16099 for ac_tag
16100 do
16101   case $ac_tag in
16102   :[FHLC]) ac_mode=$ac_tag; continue;;
16103   esac
16104   case $ac_mode$ac_tag in
16105   :[FHL]*:*);;
16106   :L* | :C*:*) as_fn_error $? "invalid tag \`$ac_tag'" "$LINENO" 5;;
16107   :[FH]-) ac_tag=-:-;;
16108   :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
16109   esac
16110   ac_save_IFS=$IFS
16111   IFS=:
16112   set x $ac_tag
16113   IFS=$ac_save_IFS
16114   shift
16115   ac_file=$1
16116   shift
16117
16118   case $ac_mode in
16119   :L) ac_source=$1;;
16120   :[FH])
16121     ac_file_inputs=
16122     for ac_f
16123     do
16124       case $ac_f in
16125       -) ac_f="$ac_tmp/stdin";;
16126       *) # Look for the file first in the build tree, then in the source tree
16127          # (if the path is not absolute).  The absolute path cannot be DOS-style,
16128          # because $ac_f cannot contain `:'.
16129          test -f "$ac_f" ||
16130            case $ac_f in
16131            [\\/$]*) false;;
16132            *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
16133            esac ||
16134            as_fn_error 1 "cannot find input file: \`$ac_f'" "$LINENO" 5;;
16135       esac
16136       case $ac_f in *\'*) ac_f=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
16137       as_fn_append ac_file_inputs " '$ac_f'"
16138     done
16139
16140     # Let's still pretend it is `configure' which instantiates (i.e., don't
16141     # use $as_me), people would be surprised to read:
16142     #    /* config.h.  Generated by config.status.  */
16143     configure_input='Generated from '`
16144           $as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
16145         `' by configure.'
16146     if test x"$ac_file" != x-; then
16147       configure_input="$ac_file.  $configure_input"
16148       { $as_echo "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5
16149 $as_echo "$as_me: creating $ac_file" >&6;}
16150     fi
16151     # Neutralize special characters interpreted by sed in replacement strings.
16152     case $configure_input in #(
16153     *\&* | *\|* | *\\* )
16154        ac_sed_conf_input=`$as_echo "$configure_input" |
16155        sed 's/[\\\\&|]/\\\\&/g'`;; #(
16156     *) ac_sed_conf_input=$configure_input;;
16157     esac
16158
16159     case $ac_tag in
16160     *:-:* | *:-) cat >"$ac_tmp/stdin" \
16161       || as_fn_error $? "could not create $ac_file" "$LINENO" 5 ;;
16162     esac
16163     ;;
16164   esac
16165
16166   ac_dir=`$as_dirname -- "$ac_file" ||
16167 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
16168          X"$ac_file" : 'X\(//\)[^/]' \| \
16169          X"$ac_file" : 'X\(//\)$' \| \
16170          X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
16171 $as_echo X"$ac_file" |
16172     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
16173             s//\1/
16174             q
16175           }
16176           /^X\(\/\/\)[^/].*/{
16177             s//\1/
16178             q
16179           }
16180           /^X\(\/\/\)$/{
16181             s//\1/
16182             q
16183           }
16184           /^X\(\/\).*/{
16185             s//\1/
16186             q
16187           }
16188           s/.*/./; q'`
16189   as_dir="$ac_dir"; as_fn_mkdir_p
16190   ac_builddir=.
16191
16192 case "$ac_dir" in
16193 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
16194 *)
16195   ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
16196   # A ".." for each directory in $ac_dir_suffix.
16197   ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
16198   case $ac_top_builddir_sub in
16199   "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
16200   *)  ac_top_build_prefix=$ac_top_builddir_sub/ ;;
16201   esac ;;
16202 esac
16203 ac_abs_top_builddir=$ac_pwd
16204 ac_abs_builddir=$ac_pwd$ac_dir_suffix
16205 # for backward compatibility:
16206 ac_top_builddir=$ac_top_build_prefix
16207
16208 case $srcdir in
16209   .)  # We are building in place.
16210     ac_srcdir=.
16211     ac_top_srcdir=$ac_top_builddir_sub
16212     ac_abs_top_srcdir=$ac_pwd ;;
16213   [\\/]* | ?:[\\/]* )  # Absolute name.
16214     ac_srcdir=$srcdir$ac_dir_suffix;
16215     ac_top_srcdir=$srcdir
16216     ac_abs_top_srcdir=$srcdir ;;
16217   *) # Relative name.
16218     ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
16219     ac_top_srcdir=$ac_top_build_prefix$srcdir
16220     ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
16221 esac
16222 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
16223
16224
16225   case $ac_mode in
16226   :F)
16227   #
16228   # CONFIG_FILE
16229   #
16230
16231   case $INSTALL in
16232   [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
16233   *) ac_INSTALL=$ac_top_build_prefix$INSTALL ;;
16234   esac
16235   ac_MKDIR_P=$MKDIR_P
16236   case $MKDIR_P in
16237   [\\/$]* | ?:[\\/]* ) ;;
16238   */*) ac_MKDIR_P=$ac_top_build_prefix$MKDIR_P ;;
16239   esac
16240 _ACEOF
16241
16242 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
16243 # If the template does not know about datarootdir, expand it.
16244 # FIXME: This hack should be removed a few years after 2.60.
16245 ac_datarootdir_hack=; ac_datarootdir_seen=
16246 ac_sed_dataroot='
16247 /datarootdir/ {
16248   p
16249   q
16250 }
16251 /@datadir@/p
16252 /@docdir@/p
16253 /@infodir@/p
16254 /@localedir@/p
16255 /@mandir@/p'
16256 case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in
16257 *datarootdir*) ac_datarootdir_seen=yes;;
16258 *@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*)
16259   { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
16260 $as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
16261 _ACEOF
16262 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
16263   ac_datarootdir_hack='
16264   s&@datadir@&$datadir&g
16265   s&@docdir@&$docdir&g
16266   s&@infodir@&$infodir&g
16267   s&@localedir@&$localedir&g
16268   s&@mandir@&$mandir&g
16269   s&\\\${datarootdir}&$datarootdir&g' ;;
16270 esac
16271 _ACEOF
16272
16273 # Neutralize VPATH when `$srcdir' = `.'.
16274 # Shell code in configure.ac might set extrasub.
16275 # FIXME: do we really want to maintain this feature?
16276 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
16277 ac_sed_extra="$ac_vpsub
16278 $extrasub
16279 _ACEOF
16280 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
16281 :t
16282 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
16283 s|@configure_input@|$ac_sed_conf_input|;t t
16284 s&@top_builddir@&$ac_top_builddir_sub&;t t
16285 s&@top_build_prefix@&$ac_top_build_prefix&;t t
16286 s&@srcdir@&$ac_srcdir&;t t
16287 s&@abs_srcdir@&$ac_abs_srcdir&;t t
16288 s&@top_srcdir@&$ac_top_srcdir&;t t
16289 s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t
16290 s&@builddir@&$ac_builddir&;t t
16291 s&@abs_builddir@&$ac_abs_builddir&;t t
16292 s&@abs_top_builddir@&$ac_abs_top_builddir&;t t
16293 s&@INSTALL@&$ac_INSTALL&;t t
16294 s&@MKDIR_P@&$ac_MKDIR_P&;t t
16295 $ac_datarootdir_hack
16296 "
16297 eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$ac_tmp/subs.awk" \
16298   >$ac_tmp/out || as_fn_error $? "could not create $ac_file" "$LINENO" 5
16299
16300 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
16301   { ac_out=`sed -n '/\${datarootdir}/p' "$ac_tmp/out"`; test -n "$ac_out"; } &&
16302   { ac_out=`sed -n '/^[  ]*datarootdir[  ]*:*=/p' \
16303       "$ac_tmp/out"`; test -z "$ac_out"; } &&
16304   { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file contains a reference to the variable \`datarootdir'
16305 which seems to be undefined.  Please make sure it is defined" >&5
16306 $as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir'
16307 which seems to be undefined.  Please make sure it is defined" >&2;}
16308
16309   rm -f "$ac_tmp/stdin"
16310   case $ac_file in
16311   -) cat "$ac_tmp/out" && rm -f "$ac_tmp/out";;
16312   *) rm -f "$ac_file" && mv "$ac_tmp/out" "$ac_file";;
16313   esac \
16314   || as_fn_error $? "could not create $ac_file" "$LINENO" 5
16315  ;;
16316   :H)
16317   #
16318   # CONFIG_HEADER
16319   #
16320   if test x"$ac_file" != x-; then
16321     {
16322       $as_echo "/* $configure_input  */" \
16323       && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs"
16324     } >"$ac_tmp/config.h" \
16325       || as_fn_error $? "could not create $ac_file" "$LINENO" 5
16326     if diff "$ac_file" "$ac_tmp/config.h" >/dev/null 2>&1; then
16327       { $as_echo "$as_me:${as_lineno-$LINENO}: $ac_file is unchanged" >&5
16328 $as_echo "$as_me: $ac_file is unchanged" >&6;}
16329     else
16330       rm -f "$ac_file"
16331       mv "$ac_tmp/config.h" "$ac_file" \
16332         || as_fn_error $? "could not create $ac_file" "$LINENO" 5
16333     fi
16334   else
16335     $as_echo "/* $configure_input  */" \
16336       && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs" \
16337       || as_fn_error $? "could not create -" "$LINENO" 5
16338   fi
16339 # Compute "$ac_file"'s index in $config_headers.
16340 _am_arg="$ac_file"
16341 _am_stamp_count=1
16342 for _am_header in $config_headers :; do
16343   case $_am_header in
16344     $_am_arg | $_am_arg:* )
16345       break ;;
16346     * )
16347       _am_stamp_count=`expr $_am_stamp_count + 1` ;;
16348   esac
16349 done
16350 echo "timestamp for $_am_arg" >`$as_dirname -- "$_am_arg" ||
16351 $as_expr X"$_am_arg" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
16352          X"$_am_arg" : 'X\(//\)[^/]' \| \
16353          X"$_am_arg" : 'X\(//\)$' \| \
16354          X"$_am_arg" : 'X\(/\)' \| . 2>/dev/null ||
16355 $as_echo X"$_am_arg" |
16356     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
16357             s//\1/
16358             q
16359           }
16360           /^X\(\/\/\)[^/].*/{
16361             s//\1/
16362             q
16363           }
16364           /^X\(\/\/\)$/{
16365             s//\1/
16366             q
16367           }
16368           /^X\(\/\).*/{
16369             s//\1/
16370             q
16371           }
16372           s/.*/./; q'`/stamp-h$_am_stamp_count
16373  ;;
16374
16375   :C)  { $as_echo "$as_me:${as_lineno-$LINENO}: executing $ac_file commands" >&5
16376 $as_echo "$as_me: executing $ac_file commands" >&6;}
16377  ;;
16378   esac
16379
16380
16381   case $ac_file$ac_mode in
16382     "depfiles":C) test x"$AMDEP_TRUE" != x"" || {
16383   # Autoconf 2.62 quotes --file arguments for eval, but not when files
16384   # are listed without --file.  Let's play safe and only enable the eval
16385   # if we detect the quoting.
16386   case $CONFIG_FILES in
16387   *\'*) eval set x "$CONFIG_FILES" ;;
16388   *)   set x $CONFIG_FILES ;;
16389   esac
16390   shift
16391   for mf
16392   do
16393     # Strip MF so we end up with the name of the file.
16394     mf=`echo "$mf" | sed -e 's/:.*$//'`
16395     # Check whether this is an Automake generated Makefile or not.
16396     # We used to match only the files named 'Makefile.in', but
16397     # some people rename them; so instead we look at the file content.
16398     # Grep'ing the first line is not enough: some people post-process
16399     # each Makefile.in and add a new line on top of each file to say so.
16400     # Grep'ing the whole file is not good either: AIX grep has a line
16401     # limit of 2048, but all sed's we know have understand at least 4000.
16402     if sed -n 's,^#.*generated by automake.*,X,p' "$mf" | grep X >/dev/null 2>&1; then
16403       dirpart=`$as_dirname -- "$mf" ||
16404 $as_expr X"$mf" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
16405          X"$mf" : 'X\(//\)[^/]' \| \
16406          X"$mf" : 'X\(//\)$' \| \
16407          X"$mf" : 'X\(/\)' \| . 2>/dev/null ||
16408 $as_echo X"$mf" |
16409     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
16410             s//\1/
16411             q
16412           }
16413           /^X\(\/\/\)[^/].*/{
16414             s//\1/
16415             q
16416           }
16417           /^X\(\/\/\)$/{
16418             s//\1/
16419             q
16420           }
16421           /^X\(\/\).*/{
16422             s//\1/
16423             q
16424           }
16425           s/.*/./; q'`
16426     else
16427       continue
16428     fi
16429     # Extract the definition of DEPDIR, am__include, and am__quote
16430     # from the Makefile without running 'make'.
16431     DEPDIR=`sed -n 's/^DEPDIR = //p' < "$mf"`
16432     test -z "$DEPDIR" && continue
16433     am__include=`sed -n 's/^am__include = //p' < "$mf"`
16434     test -z "am__include" && continue
16435     am__quote=`sed -n 's/^am__quote = //p' < "$mf"`
16436     # Find all dependency output files, they are included files with
16437     # $(DEPDIR) in their names.  We invoke sed twice because it is the
16438     # simplest approach to changing $(DEPDIR) to its actual value in the
16439     # expansion.
16440     for file in `sed -n "
16441       s/^$am__include $am__quote\(.*(DEPDIR).*\)$am__quote"'$/\1/p' <"$mf" | \
16442          sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g'`; do
16443       # Make sure the directory exists.
16444       test -f "$dirpart/$file" && continue
16445       fdir=`$as_dirname -- "$file" ||
16446 $as_expr X"$file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
16447          X"$file" : 'X\(//\)[^/]' \| \
16448          X"$file" : 'X\(//\)$' \| \
16449          X"$file" : 'X\(/\)' \| . 2>/dev/null ||
16450 $as_echo X"$file" |
16451     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
16452             s//\1/
16453             q
16454           }
16455           /^X\(\/\/\)[^/].*/{
16456             s//\1/
16457             q
16458           }
16459           /^X\(\/\/\)$/{
16460             s//\1/
16461             q
16462           }
16463           /^X\(\/\).*/{
16464             s//\1/
16465             q
16466           }
16467           s/.*/./; q'`
16468       as_dir=$dirpart/$fdir; as_fn_mkdir_p
16469       # echo "creating $dirpart/$file"
16470       echo '# dummy' > "$dirpart/$file"
16471     done
16472   done
16473 }
16474  ;;
16475     "libtool":C)
16476
16477     # See if we are running on zsh, and set the options which allow our
16478     # commands through without removal of \ escapes.
16479     if test -n "${ZSH_VERSION+set}" ; then
16480       setopt NO_GLOB_SUBST
16481     fi
16482
16483     cfgfile="${ofile}T"
16484     trap "$RM \"$cfgfile\"; exit 1" 1 2 15
16485     $RM "$cfgfile"
16486
16487     cat <<_LT_EOF >> "$cfgfile"
16488 #! $SHELL
16489
16490 # `$ECHO "$ofile" | sed 's%^.*/%%'` - Provide generalized library-building support services.
16491 # Generated automatically by $as_me ($PACKAGE$TIMESTAMP) $VERSION
16492 # Libtool was configured on host `(hostname || uname -n) 2>/dev/null | sed 1q`:
16493 # NOTE: Changes made to this file will be lost: look at ltmain.sh.
16494 #
16495 #   Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2003, 2004, 2005,
16496 #                 2006, 2007, 2008, 2009, 2010, 2011 Free Software
16497 #                 Foundation, Inc.
16498 #   Written by Gordon Matzigkeit, 1996
16499 #
16500 #   This file is part of GNU Libtool.
16501 #
16502 # GNU Libtool is free software; you can redistribute it and/or
16503 # modify it under the terms of the GNU General Public License as
16504 # published by the Free Software Foundation; either version 2 of
16505 # the License, or (at your option) any later version.
16506 #
16507 # As a special exception to the GNU General Public License,
16508 # if you distribute this file as part of a program or library that
16509 # is built using GNU Libtool, you may include this file under the
16510 # same distribution terms that you use for the rest of that program.
16511 #
16512 # GNU Libtool is distributed in the hope that it will be useful,
16513 # but WITHOUT ANY WARRANTY; without even the implied warranty of
16514 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
16515 # GNU General Public License for more details.
16516 #
16517 # You should have received a copy of the GNU General Public License
16518 # along with GNU Libtool; see the file COPYING.  If not, a copy
16519 # can be downloaded from http://www.gnu.org/licenses/gpl.html, or
16520 # obtained by writing to the Free Software Foundation, Inc.,
16521 # 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
16522
16523
16524 # The names of the tagged configurations supported by this script.
16525 available_tags=""
16526
16527 # ### BEGIN LIBTOOL CONFIG
16528
16529 # Which release of libtool.m4 was used?
16530 macro_version=$macro_version
16531 macro_revision=$macro_revision
16532
16533 # Whether or not to build shared libraries.
16534 build_libtool_libs=$enable_shared
16535
16536 # Whether or not to build static libraries.
16537 build_old_libs=$enable_static
16538
16539 # What type of objects to build.
16540 pic_mode=$pic_mode
16541
16542 # Whether or not to optimize for fast installation.
16543 fast_install=$enable_fast_install
16544
16545 # Shell to use when invoking shell scripts.
16546 SHELL=$lt_SHELL
16547
16548 # An echo program that protects backslashes.
16549 ECHO=$lt_ECHO
16550
16551 # The PATH separator for the build system.
16552 PATH_SEPARATOR=$lt_PATH_SEPARATOR
16553
16554 # The host system.
16555 host_alias=$host_alias
16556 host=$host
16557 host_os=$host_os
16558
16559 # The build system.
16560 build_alias=$build_alias
16561 build=$build
16562 build_os=$build_os
16563
16564 # A sed program that does not truncate output.
16565 SED=$lt_SED
16566
16567 # Sed that helps us avoid accidentally triggering echo(1) options like -n.
16568 Xsed="\$SED -e 1s/^X//"
16569
16570 # A grep program that handles long lines.
16571 GREP=$lt_GREP
16572
16573 # An ERE matcher.
16574 EGREP=$lt_EGREP
16575
16576 # A literal string matcher.
16577 FGREP=$lt_FGREP
16578
16579 # A BSD- or MS-compatible name lister.
16580 NM=$lt_NM
16581
16582 # Whether we need soft or hard links.
16583 LN_S=$lt_LN_S
16584
16585 # What is the maximum length of a command?
16586 max_cmd_len=$max_cmd_len
16587
16588 # Object file suffix (normally "o").
16589 objext=$ac_objext
16590
16591 # Executable file suffix (normally "").
16592 exeext=$exeext
16593
16594 # whether the shell understands "unset".
16595 lt_unset=$lt_unset
16596
16597 # turn spaces into newlines.
16598 SP2NL=$lt_lt_SP2NL
16599
16600 # turn newlines into spaces.
16601 NL2SP=$lt_lt_NL2SP
16602
16603 # convert \$build file names to \$host format.
16604 to_host_file_cmd=$lt_cv_to_host_file_cmd
16605
16606 # convert \$build files to toolchain format.
16607 to_tool_file_cmd=$lt_cv_to_tool_file_cmd
16608
16609 # An object symbol dumper.
16610 OBJDUMP=$lt_OBJDUMP
16611
16612 # Method to check whether dependent libraries are shared objects.
16613 deplibs_check_method=$lt_deplibs_check_method
16614
16615 # Command to use when deplibs_check_method = "file_magic".
16616 file_magic_cmd=$lt_file_magic_cmd
16617
16618 # How to find potential files when deplibs_check_method = "file_magic".
16619 file_magic_glob=$lt_file_magic_glob
16620
16621 # Find potential files using nocaseglob when deplibs_check_method = "file_magic".
16622 want_nocaseglob=$lt_want_nocaseglob
16623
16624 # DLL creation program.
16625 DLLTOOL=$lt_DLLTOOL
16626
16627 # Command to associate shared and link libraries.
16628 sharedlib_from_linklib_cmd=$lt_sharedlib_from_linklib_cmd
16629
16630 # The archiver.
16631 AR=$lt_AR
16632
16633 # Flags to create an archive.
16634 AR_FLAGS=$lt_AR_FLAGS
16635
16636 # How to feed a file listing to the archiver.
16637 archiver_list_spec=$lt_archiver_list_spec
16638
16639 # A symbol stripping program.
16640 STRIP=$lt_STRIP
16641
16642 # Commands used to install an old-style archive.
16643 RANLIB=$lt_RANLIB
16644 old_postinstall_cmds=$lt_old_postinstall_cmds
16645 old_postuninstall_cmds=$lt_old_postuninstall_cmds
16646
16647 # Whether to use a lock for old archive extraction.
16648 lock_old_archive_extraction=$lock_old_archive_extraction
16649
16650 # A C compiler.
16651 LTCC=$lt_CC
16652
16653 # LTCC compiler flags.
16654 LTCFLAGS=$lt_CFLAGS
16655
16656 # Take the output of nm and produce a listing of raw symbols and C names.
16657 global_symbol_pipe=$lt_lt_cv_sys_global_symbol_pipe
16658
16659 # Transform the output of nm in a proper C declaration.
16660 global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl
16661
16662 # Transform the output of nm in a C name address pair.
16663 global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address
16664
16665 # Transform the output of nm in a C name address pair when lib prefix is needed.
16666 global_symbol_to_c_name_address_lib_prefix=$lt_lt_cv_sys_global_symbol_to_c_name_address_lib_prefix
16667
16668 # Specify filename containing input files for \$NM.
16669 nm_file_list_spec=$lt_nm_file_list_spec
16670
16671 # The root where to search for dependent libraries,and in which our libraries should be installed.
16672 lt_sysroot=$lt_sysroot
16673
16674 # The name of the directory that contains temporary libtool files.
16675 objdir=$objdir
16676
16677 # Used to examine libraries when file_magic_cmd begins with "file".
16678 MAGIC_CMD=$MAGIC_CMD
16679
16680 # Must we lock files when doing compilation?
16681 need_locks=$lt_need_locks
16682
16683 # Manifest tool.
16684 MANIFEST_TOOL=$lt_MANIFEST_TOOL
16685
16686 # Tool to manipulate archived DWARF debug symbol files on Mac OS X.
16687 DSYMUTIL=$lt_DSYMUTIL
16688
16689 # Tool to change global to local symbols on Mac OS X.
16690 NMEDIT=$lt_NMEDIT
16691
16692 # Tool to manipulate fat objects and archives on Mac OS X.
16693 LIPO=$lt_LIPO
16694
16695 # ldd/readelf like tool for Mach-O binaries on Mac OS X.
16696 OTOOL=$lt_OTOOL
16697
16698 # ldd/readelf like tool for 64 bit Mach-O binaries on Mac OS X 10.4.
16699 OTOOL64=$lt_OTOOL64
16700
16701 # Old archive suffix (normally "a").
16702 libext=$libext
16703
16704 # Shared library suffix (normally ".so").
16705 shrext_cmds=$lt_shrext_cmds
16706
16707 # The commands to extract the exported symbol list from a shared archive.
16708 extract_expsyms_cmds=$lt_extract_expsyms_cmds
16709
16710 # Variables whose values should be saved in libtool wrapper scripts and
16711 # restored at link time.
16712 variables_saved_for_relink=$lt_variables_saved_for_relink
16713
16714 # Do we need the "lib" prefix for modules?
16715 need_lib_prefix=$need_lib_prefix
16716
16717 # Do we need a version for libraries?
16718 need_version=$need_version
16719
16720 # Library versioning type.
16721 version_type=$version_type
16722
16723 # Shared library runtime path variable.
16724 runpath_var=$runpath_var
16725
16726 # Shared library path variable.
16727 shlibpath_var=$shlibpath_var
16728
16729 # Is shlibpath searched before the hard-coded library search path?
16730 shlibpath_overrides_runpath=$shlibpath_overrides_runpath
16731
16732 # Format of library name prefix.
16733 libname_spec=$lt_libname_spec
16734
16735 # List of archive names.  First name is the real one, the rest are links.
16736 # The last name is the one that the linker finds with -lNAME
16737 library_names_spec=$lt_library_names_spec
16738
16739 # The coded name of the library, if different from the real name.
16740 soname_spec=$lt_soname_spec
16741
16742 # Permission mode override for installation of shared libraries.
16743 install_override_mode=$lt_install_override_mode
16744
16745 # Command to use after installation of a shared archive.
16746 postinstall_cmds=$lt_postinstall_cmds
16747
16748 # Command to use after uninstallation of a shared archive.
16749 postuninstall_cmds=$lt_postuninstall_cmds
16750
16751 # Commands used to finish a libtool library installation in a directory.
16752 finish_cmds=$lt_finish_cmds
16753
16754 # As "finish_cmds", except a single script fragment to be evaled but
16755 # not shown.
16756 finish_eval=$lt_finish_eval
16757
16758 # Whether we should hardcode library paths into libraries.
16759 hardcode_into_libs=$hardcode_into_libs
16760
16761 # Compile-time system search path for libraries.
16762 sys_lib_search_path_spec=$lt_sys_lib_search_path_spec
16763
16764 # Run-time system search path for libraries.
16765 sys_lib_dlsearch_path_spec=$lt_sys_lib_dlsearch_path_spec
16766
16767 # Whether dlopen is supported.
16768 dlopen_support=$enable_dlopen
16769
16770 # Whether dlopen of programs is supported.
16771 dlopen_self=$enable_dlopen_self
16772
16773 # Whether dlopen of statically linked programs is supported.
16774 dlopen_self_static=$enable_dlopen_self_static
16775
16776 # Commands to strip libraries.
16777 old_striplib=$lt_old_striplib
16778 striplib=$lt_striplib
16779
16780
16781 # The linker used to build libraries.
16782 LD=$lt_LD
16783
16784 # How to create reloadable object files.
16785 reload_flag=$lt_reload_flag
16786 reload_cmds=$lt_reload_cmds
16787
16788 # Commands used to build an old-style archive.
16789 old_archive_cmds=$lt_old_archive_cmds
16790
16791 # A language specific compiler.
16792 CC=$lt_compiler
16793
16794 # Is the compiler the GNU compiler?
16795 with_gcc=$GCC
16796
16797 # Compiler flag to turn off builtin functions.
16798 no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag
16799
16800 # Additional compiler flags for building library objects.
16801 pic_flag=$lt_lt_prog_compiler_pic
16802
16803 # How to pass a linker flag through the compiler.
16804 wl=$lt_lt_prog_compiler_wl
16805
16806 # Compiler flag to prevent dynamic linking.
16807 link_static_flag=$lt_lt_prog_compiler_static
16808
16809 # Does compiler simultaneously support -c and -o options?
16810 compiler_c_o=$lt_lt_cv_prog_compiler_c_o
16811
16812 # Whether or not to add -lc for building shared libraries.
16813 build_libtool_need_lc=$archive_cmds_need_lc
16814
16815 # Whether or not to disallow shared libs when runtime libs are static.
16816 allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes
16817
16818 # Compiler flag to allow reflexive dlopens.
16819 export_dynamic_flag_spec=$lt_export_dynamic_flag_spec
16820
16821 # Compiler flag to generate shared objects directly from archives.
16822 whole_archive_flag_spec=$lt_whole_archive_flag_spec
16823
16824 # Whether the compiler copes with passing no objects directly.
16825 compiler_needs_object=$lt_compiler_needs_object
16826
16827 # Create an old-style archive from a shared archive.
16828 old_archive_from_new_cmds=$lt_old_archive_from_new_cmds
16829
16830 # Create a temporary old-style archive to link instead of a shared archive.
16831 old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds
16832
16833 # Commands used to build a shared archive.
16834 archive_cmds=$lt_archive_cmds
16835 archive_expsym_cmds=$lt_archive_expsym_cmds
16836
16837 # Commands used to build a loadable module if different from building
16838 # a shared archive.
16839 module_cmds=$lt_module_cmds
16840 module_expsym_cmds=$lt_module_expsym_cmds
16841
16842 # Whether we are building with GNU ld or not.
16843 with_gnu_ld=$lt_with_gnu_ld
16844
16845 # Flag that allows shared libraries with undefined symbols to be built.
16846 allow_undefined_flag=$lt_allow_undefined_flag
16847
16848 # Flag that enforces no undefined symbols.
16849 no_undefined_flag=$lt_no_undefined_flag
16850
16851 # Flag to hardcode \$libdir into a binary during linking.
16852 # This must work even if \$libdir does not exist
16853 hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec
16854
16855 # Whether we need a single "-rpath" flag with a separated argument.
16856 hardcode_libdir_separator=$lt_hardcode_libdir_separator
16857
16858 # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
16859 # DIR into the resulting binary.
16860 hardcode_direct=$hardcode_direct
16861
16862 # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
16863 # DIR into the resulting binary and the resulting library dependency is
16864 # "absolute",i.e impossible to change by setting \${shlibpath_var} if the
16865 # library is relocated.
16866 hardcode_direct_absolute=$hardcode_direct_absolute
16867
16868 # Set to "yes" if using the -LDIR flag during linking hardcodes DIR
16869 # into the resulting binary.
16870 hardcode_minus_L=$hardcode_minus_L
16871
16872 # Set to "yes" if using SHLIBPATH_VAR=DIR during linking hardcodes DIR
16873 # into the resulting binary.
16874 hardcode_shlibpath_var=$hardcode_shlibpath_var
16875
16876 # Set to "yes" if building a shared library automatically hardcodes DIR
16877 # into the library and all subsequent libraries and executables linked
16878 # against it.
16879 hardcode_automatic=$hardcode_automatic
16880
16881 # Set to yes if linker adds runtime paths of dependent libraries
16882 # to runtime path list.
16883 inherit_rpath=$inherit_rpath
16884
16885 # Whether libtool must link a program against all its dependency libraries.
16886 link_all_deplibs=$link_all_deplibs
16887
16888 # Set to "yes" if exported symbols are required.
16889 always_export_symbols=$always_export_symbols
16890
16891 # The commands to list exported symbols.
16892 export_symbols_cmds=$lt_export_symbols_cmds
16893
16894 # Symbols that should not be listed in the preloaded symbols.
16895 exclude_expsyms=$lt_exclude_expsyms
16896
16897 # Symbols that must always be exported.
16898 include_expsyms=$lt_include_expsyms
16899
16900 # Commands necessary for linking programs (against libraries) with templates.
16901 prelink_cmds=$lt_prelink_cmds
16902
16903 # Commands necessary for finishing linking programs.
16904 postlink_cmds=$lt_postlink_cmds
16905
16906 # Specify filename containing input files.
16907 file_list_spec=$lt_file_list_spec
16908
16909 # How to hardcode a shared library path into an executable.
16910 hardcode_action=$hardcode_action
16911
16912 # ### END LIBTOOL CONFIG
16913
16914 _LT_EOF
16915
16916   case $host_os in
16917   aix3*)
16918     cat <<\_LT_EOF >> "$cfgfile"
16919 # AIX sometimes has problems with the GCC collect2 program.  For some
16920 # reason, if we set the COLLECT_NAMES environment variable, the problems
16921 # vanish in a puff of smoke.
16922 if test "X${COLLECT_NAMES+set}" != Xset; then
16923   COLLECT_NAMES=
16924   export COLLECT_NAMES
16925 fi
16926 _LT_EOF
16927     ;;
16928   esac
16929
16930
16931 ltmain="$ac_aux_dir/ltmain.sh"
16932
16933
16934   # We use sed instead of cat because bash on DJGPP gets confused if
16935   # if finds mixed CR/LF and LF-only lines.  Since sed operates in
16936   # text mode, it properly converts lines to CR/LF.  This bash problem
16937   # is reportedly fixed, but why not run on old versions too?
16938   sed '$q' "$ltmain" >> "$cfgfile" \
16939      || (rm -f "$cfgfile"; exit 1)
16940
16941   if test x"$xsi_shell" = xyes; then
16942   sed -e '/^func_dirname ()$/,/^} # func_dirname /c\
16943 func_dirname ()\
16944 {\
16945 \    case ${1} in\
16946 \      */*) func_dirname_result="${1%/*}${2}" ;;\
16947 \      *  ) func_dirname_result="${3}" ;;\
16948 \    esac\
16949 } # Extended-shell func_dirname implementation' "$cfgfile" > $cfgfile.tmp \
16950   && mv -f "$cfgfile.tmp" "$cfgfile" \
16951     || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
16952 test 0 -eq $? || _lt_function_replace_fail=:
16953
16954
16955   sed -e '/^func_basename ()$/,/^} # func_basename /c\
16956 func_basename ()\
16957 {\
16958 \    func_basename_result="${1##*/}"\
16959 } # Extended-shell func_basename implementation' "$cfgfile" > $cfgfile.tmp \
16960   && mv -f "$cfgfile.tmp" "$cfgfile" \
16961     || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
16962 test 0 -eq $? || _lt_function_replace_fail=:
16963
16964
16965   sed -e '/^func_dirname_and_basename ()$/,/^} # func_dirname_and_basename /c\
16966 func_dirname_and_basename ()\
16967 {\
16968 \    case ${1} in\
16969 \      */*) func_dirname_result="${1%/*}${2}" ;;\
16970 \      *  ) func_dirname_result="${3}" ;;\
16971 \    esac\
16972 \    func_basename_result="${1##*/}"\
16973 } # Extended-shell func_dirname_and_basename implementation' "$cfgfile" > $cfgfile.tmp \
16974   && mv -f "$cfgfile.tmp" "$cfgfile" \
16975     || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
16976 test 0 -eq $? || _lt_function_replace_fail=:
16977
16978
16979   sed -e '/^func_stripname ()$/,/^} # func_stripname /c\
16980 func_stripname ()\
16981 {\
16982 \    # pdksh 5.2.14 does not do ${X%$Y} correctly if both X and Y are\
16983 \    # positional parameters, so assign one to ordinary parameter first.\
16984 \    func_stripname_result=${3}\
16985 \    func_stripname_result=${func_stripname_result#"${1}"}\
16986 \    func_stripname_result=${func_stripname_result%"${2}"}\
16987 } # Extended-shell func_stripname implementation' "$cfgfile" > $cfgfile.tmp \
16988   && mv -f "$cfgfile.tmp" "$cfgfile" \
16989     || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
16990 test 0 -eq $? || _lt_function_replace_fail=:
16991
16992
16993   sed -e '/^func_split_long_opt ()$/,/^} # func_split_long_opt /c\
16994 func_split_long_opt ()\
16995 {\
16996 \    func_split_long_opt_name=${1%%=*}\
16997 \    func_split_long_opt_arg=${1#*=}\
16998 } # Extended-shell func_split_long_opt implementation' "$cfgfile" > $cfgfile.tmp \
16999   && mv -f "$cfgfile.tmp" "$cfgfile" \
17000     || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
17001 test 0 -eq $? || _lt_function_replace_fail=:
17002
17003
17004   sed -e '/^func_split_short_opt ()$/,/^} # func_split_short_opt /c\
17005 func_split_short_opt ()\
17006 {\
17007 \    func_split_short_opt_arg=${1#??}\
17008 \    func_split_short_opt_name=${1%"$func_split_short_opt_arg"}\
17009 } # Extended-shell func_split_short_opt implementation' "$cfgfile" > $cfgfile.tmp \
17010   && mv -f "$cfgfile.tmp" "$cfgfile" \
17011     || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
17012 test 0 -eq $? || _lt_function_replace_fail=:
17013
17014
17015   sed -e '/^func_lo2o ()$/,/^} # func_lo2o /c\
17016 func_lo2o ()\
17017 {\
17018 \    case ${1} in\
17019 \      *.lo) func_lo2o_result=${1%.lo}.${objext} ;;\
17020 \      *)    func_lo2o_result=${1} ;;\
17021 \    esac\
17022 } # Extended-shell func_lo2o implementation' "$cfgfile" > $cfgfile.tmp \
17023   && mv -f "$cfgfile.tmp" "$cfgfile" \
17024     || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
17025 test 0 -eq $? || _lt_function_replace_fail=:
17026
17027
17028   sed -e '/^func_xform ()$/,/^} # func_xform /c\
17029 func_xform ()\
17030 {\
17031     func_xform_result=${1%.*}.lo\
17032 } # Extended-shell func_xform implementation' "$cfgfile" > $cfgfile.tmp \
17033   && mv -f "$cfgfile.tmp" "$cfgfile" \
17034     || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
17035 test 0 -eq $? || _lt_function_replace_fail=:
17036
17037
17038   sed -e '/^func_arith ()$/,/^} # func_arith /c\
17039 func_arith ()\
17040 {\
17041     func_arith_result=$(( $* ))\
17042 } # Extended-shell func_arith implementation' "$cfgfile" > $cfgfile.tmp \
17043   && mv -f "$cfgfile.tmp" "$cfgfile" \
17044     || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
17045 test 0 -eq $? || _lt_function_replace_fail=:
17046
17047
17048   sed -e '/^func_len ()$/,/^} # func_len /c\
17049 func_len ()\
17050 {\
17051     func_len_result=${#1}\
17052 } # Extended-shell func_len implementation' "$cfgfile" > $cfgfile.tmp \
17053   && mv -f "$cfgfile.tmp" "$cfgfile" \
17054     || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
17055 test 0 -eq $? || _lt_function_replace_fail=:
17056
17057 fi
17058
17059 if test x"$lt_shell_append" = xyes; then
17060   sed -e '/^func_append ()$/,/^} # func_append /c\
17061 func_append ()\
17062 {\
17063     eval "${1}+=\\${2}"\
17064 } # Extended-shell func_append implementation' "$cfgfile" > $cfgfile.tmp \
17065   && mv -f "$cfgfile.tmp" "$cfgfile" \
17066     || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
17067 test 0 -eq $? || _lt_function_replace_fail=:
17068
17069
17070   sed -e '/^func_append_quoted ()$/,/^} # func_append_quoted /c\
17071 func_append_quoted ()\
17072 {\
17073 \    func_quote_for_eval "${2}"\
17074 \    eval "${1}+=\\\\ \\$func_quote_for_eval_result"\
17075 } # Extended-shell func_append_quoted implementation' "$cfgfile" > $cfgfile.tmp \
17076   && mv -f "$cfgfile.tmp" "$cfgfile" \
17077     || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
17078 test 0 -eq $? || _lt_function_replace_fail=:
17079
17080
17081   # Save a `func_append' function call where possible by direct use of '+='
17082   sed -e 's%func_append \([a-zA-Z_]\{1,\}\) "%\1+="%g' $cfgfile > $cfgfile.tmp \
17083     && mv -f "$cfgfile.tmp" "$cfgfile" \
17084       || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
17085   test 0 -eq $? || _lt_function_replace_fail=:
17086 else
17087   # Save a `func_append' function call even when '+=' is not available
17088   sed -e 's%func_append \([a-zA-Z_]\{1,\}\) "%\1="$\1%g' $cfgfile > $cfgfile.tmp \
17089     && mv -f "$cfgfile.tmp" "$cfgfile" \
17090       || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
17091   test 0 -eq $? || _lt_function_replace_fail=:
17092 fi
17093
17094 if test x"$_lt_function_replace_fail" = x":"; then
17095   { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Unable to substitute extended shell functions in $ofile" >&5
17096 $as_echo "$as_me: WARNING: Unable to substitute extended shell functions in $ofile" >&2;}
17097 fi
17098
17099
17100    mv -f "$cfgfile" "$ofile" ||
17101     (rm -f "$ofile" && cp "$cfgfile" "$ofile" && rm -f "$cfgfile")
17102   chmod +x "$ofile"
17103
17104  ;;
17105
17106   esac
17107 done # for ac_tag
17108
17109
17110 as_fn_exit 0
17111 _ACEOF
17112 ac_clean_files=$ac_clean_files_save
17113
17114 test $ac_write_fail = 0 ||
17115   as_fn_error $? "write failure creating $CONFIG_STATUS" "$LINENO" 5
17116
17117
17118 # configure is writing to config.log, and then calls config.status.
17119 # config.status does its own redirection, appending to config.log.
17120 # Unfortunately, on DOS this fails, as config.log is still kept open
17121 # by configure, so config.status won't be able to write to it; its
17122 # output is simply discarded.  So we exec the FD to /dev/null,
17123 # effectively closing config.log, so it can be properly (re)opened and
17124 # appended to by config.status.  When coming back to configure, we
17125 # need to make the FD available again.
17126 if test "$no_create" != yes; then
17127   ac_cs_success=:
17128   ac_config_status_args=
17129   test "$silent" = yes &&
17130     ac_config_status_args="$ac_config_status_args --quiet"
17131   exec 5>/dev/null
17132   $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
17133   exec 5>>config.log
17134   # Use ||, not &&, to avoid exiting from the if with $? = 1, which
17135   # would make configure fail if this is the last instruction.
17136   $ac_cs_success || as_fn_exit 1
17137 fi
17138 if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no; then
17139   { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
17140 $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}
17141 fi
17142
17143
17144 echo "
17145     gobject-introspection $VERSION
17146     ===============
17147
17148     tests: ${enable_tests}
17149 "