Imported Upstream version 3.8.0
[platform/upstream/python-gobject.git] / configure
1 #! /bin/sh
2 # Guess values for system-dependent variables and create Makefiles.
3 # Generated by GNU Autoconf 2.69 for pygobject 3.8.0.
4 #
5 # Report bugs to <http://bugzilla.gnome.org/enter_bug.cgi?product=pygobject>.
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=pygobject
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='pygobject'
593 PACKAGE_TARNAME='pygobject'
594 PACKAGE_VERSION='3.8.0'
595 PACKAGE_STRING='pygobject 3.8.0'
596 PACKAGE_BUGREPORT='http://bugzilla.gnome.org/enter_bug.cgi?product=pygobject'
597 PACKAGE_URL='https://live.gnome.org/PyGObject/'
598
599 ac_unique_file="gi/gimodule.c"
600 # Factoring default headers for most tests.
601 ac_includes_default="\
602 #include <stdio.h>
603 #ifdef HAVE_SYS_TYPES_H
604 # include <sys/types.h>
605 #endif
606 #ifdef HAVE_SYS_STAT_H
607 # include <sys/stat.h>
608 #endif
609 #ifdef STDC_HEADERS
610 # include <stdlib.h>
611 # include <stddef.h>
612 #else
613 # ifdef HAVE_STDLIB_H
614 #  include <stdlib.h>
615 # endif
616 #endif
617 #ifdef HAVE_STRING_H
618 # if !defined STDC_HEADERS && defined HAVE_MEMORY_H
619 #  include <memory.h>
620 # endif
621 # include <string.h>
622 #endif
623 #ifdef HAVE_STRINGS_H
624 # include <strings.h>
625 #endif
626 #ifdef HAVE_INTTYPES_H
627 # include <inttypes.h>
628 #endif
629 #ifdef HAVE_STDINT_H
630 # include <stdint.h>
631 #endif
632 #ifdef HAVE_UNISTD_H
633 # include <unistd.h>
634 #endif"
635
636 ac_subst_vars='am__EXEEXT_FALSE
637 am__EXEEXT_TRUE
638 LTLIBOBJS
639 LIBOBJS
640 GNOME_CODE_COVERAGE_RULES
641 CODE_COVERAGE_LDFLAGS
642 CODE_COVERAGE_CFLAGS
643 GENHTML
644 LCOV
645 CODE_COVERAGE_ENABLED
646 CODE_COVERAGE_ENABLED_FALSE
647 CODE_COVERAGE_ENABLED_TRUE
648 WARN_CFLAGS
649 INTROSPECTION_COMPILER
650 INTROSPECTION_SCANNER
651 ENABLE_CAIRO_FALSE
652 ENABLE_CAIRO_TRUE
653 PYCAIRO_LIBS
654 PYCAIRO_CFLAGS
655 CAIRO_LIBS
656 CAIRO_CFLAGS
657 GI_DATADIR
658 GI_LIBS
659 GI_CFLAGS
660 GIO_LIBS
661 GIO_CFLAGS
662 LIBFFI_PC
663 HAVE_LIBFFI_FALSE
664 HAVE_LIBFFI_TRUE
665 FFI_LIBS
666 FFI_CFLAGS
667 DATADIR
668 PYTHON_BASENAME
669 GLIB_COMPILE_RESOURCES
670 GLIB_MKENUMS
671 GOBJECT_QUERY
672 GLIB_GENMARSHAL
673 GLIB_LIBS
674 GLIB_CFLAGS
675 PKG_CONFIG_LIBDIR
676 PKG_CONFIG_PATH
677 PKG_CONFIG
678 THREADING_CFLAGS
679 PLATFORM
680 PYTHON_LIB_LOC
681 PYTHON_LIBS
682 PYTHON_INCLUDES
683 pkgpyexecdir
684 pyexecdir
685 pkgpythondir
686 pythondir
687 PYTHON_PLATFORM
688 PYTHON_EXEC_PREFIX
689 PYTHON_PREFIX
690 PYTHON_VERSION
691 PYTHON
692 CPP
693 OTOOL64
694 OTOOL
695 LIPO
696 NMEDIT
697 DSYMUTIL
698 MANIFEST_TOOL
699 RANLIB
700 ac_ct_AR
701 AR
702 LN_S
703 NM
704 ac_ct_DUMPBIN
705 DUMPBIN
706 LD
707 FGREP
708 EGREP
709 GREP
710 SED
711 am__fastdepCC_FALSE
712 am__fastdepCC_TRUE
713 CCDEPMODE
714 am__nodep
715 AMDEPBACKSLASH
716 AMDEP_FALSE
717 AMDEP_TRUE
718 am__quote
719 am__include
720 DEPDIR
721 OBJEXT
722 EXEEXT
723 ac_ct_CC
724 CPPFLAGS
725 LDFLAGS
726 CFLAGS
727 CC
728 LIBTOOL
729 OBJDUMP
730 DLLTOOL
731 AS
732 OS_WIN32_FALSE
733 OS_WIN32_TRUE
734 PLATFORM_WIN32_FALSE
735 PLATFORM_WIN32_TRUE
736 host_os
737 host_vendor
738 host_cpu
739 host
740 build_os
741 build_vendor
742 build_cpu
743 build
744 am__untar
745 am__tar
746 AMTAR
747 am__leading_dot
748 SET_MAKE
749 AWK
750 mkdir_p
751 MKDIR_P
752 INSTALL_STRIP_PROGRAM
753 STRIP
754 install_sh
755 MAKEINFO
756 AUTOHEADER
757 AUTOMAKE
758 AUTOCONF
759 ACLOCAL
760 VERSION
761 PACKAGE
762 CYGPATH_W
763 am__isrc
764 INSTALL_DATA
765 INSTALL_SCRIPT
766 INSTALL_PROGRAM
767 AM_BACKSLASH
768 AM_DEFAULT_VERBOSITY
769 AM_DEFAULT_V
770 AM_V
771 PYGOBJECT_MICRO_VERSION
772 PYGOBJECT_MINOR_VERSION
773 PYGOBJECT_MAJOR_VERSION
774 ACLOCAL_AMFLAGS
775 target_alias
776 host_alias
777 build_alias
778 LIBS
779 ECHO_T
780 ECHO_N
781 ECHO_C
782 DEFS
783 mandir
784 localedir
785 libdir
786 psdir
787 pdfdir
788 dvidir
789 htmldir
790 infodir
791 docdir
792 oldincludedir
793 includedir
794 localstatedir
795 sharedstatedir
796 sysconfdir
797 datadir
798 datarootdir
799 libexecdir
800 sbindir
801 bindir
802 program_transform_name
803 prefix
804 exec_prefix
805 PACKAGE_URL
806 PACKAGE_BUGREPORT
807 PACKAGE_STRING
808 PACKAGE_VERSION
809 PACKAGE_TARNAME
810 PACKAGE_NAME
811 PATH_SEPARATOR
812 SHELL'
813 ac_subst_files=''
814 ac_user_opts='
815 enable_option_checking
816 enable_silent_rules
817 enable_static
818 enable_shared
819 with_pic
820 enable_fast_install
821 enable_dependency_tracking
822 with_gnu_ld
823 with_sysroot
824 enable_libtool_lock
825 with_python
826 enable_thread
827 enable_glibtest
828 with_ffi
829 enable_cairo
830 enable_compile_warnings
831 enable_iso_c
832 enable_code_coverage
833 '
834       ac_precious_vars='build_alias
835 host_alias
836 target_alias
837 CC
838 CFLAGS
839 LDFLAGS
840 LIBS
841 CPPFLAGS
842 CPP
843 PYTHON
844 PKG_CONFIG
845 PKG_CONFIG_PATH
846 PKG_CONFIG_LIBDIR
847 FFI_CFLAGS
848 FFI_LIBS
849 GIO_CFLAGS
850 GIO_LIBS
851 GI_CFLAGS
852 GI_LIBS
853 CAIRO_CFLAGS
854 CAIRO_LIBS
855 PYCAIRO_CFLAGS
856 PYCAIRO_LIBS'
857
858
859 # Initialize some variables set by options.
860 ac_init_help=
861 ac_init_version=false
862 ac_unrecognized_opts=
863 ac_unrecognized_sep=
864 # The variables have the same names as the options, with
865 # dashes changed to underlines.
866 cache_file=/dev/null
867 exec_prefix=NONE
868 no_create=
869 no_recursion=
870 prefix=NONE
871 program_prefix=NONE
872 program_suffix=NONE
873 program_transform_name=s,x,x,
874 silent=
875 site=
876 srcdir=
877 verbose=
878 x_includes=NONE
879 x_libraries=NONE
880
881 # Installation directory options.
882 # These are left unexpanded so users can "make install exec_prefix=/foo"
883 # and all the variables that are supposed to be based on exec_prefix
884 # by default will actually change.
885 # Use braces instead of parens because sh, perl, etc. also accept them.
886 # (The list follows the same order as the GNU Coding Standards.)
887 bindir='${exec_prefix}/bin'
888 sbindir='${exec_prefix}/sbin'
889 libexecdir='${exec_prefix}/libexec'
890 datarootdir='${prefix}/share'
891 datadir='${datarootdir}'
892 sysconfdir='${prefix}/etc'
893 sharedstatedir='${prefix}/com'
894 localstatedir='${prefix}/var'
895 includedir='${prefix}/include'
896 oldincludedir='/usr/include'
897 docdir='${datarootdir}/doc/${PACKAGE_TARNAME}'
898 infodir='${datarootdir}/info'
899 htmldir='${docdir}'
900 dvidir='${docdir}'
901 pdfdir='${docdir}'
902 psdir='${docdir}'
903 libdir='${exec_prefix}/lib'
904 localedir='${datarootdir}/locale'
905 mandir='${datarootdir}/man'
906
907 ac_prev=
908 ac_dashdash=
909 for ac_option
910 do
911   # If the previous option needs an argument, assign it.
912   if test -n "$ac_prev"; then
913     eval $ac_prev=\$ac_option
914     ac_prev=
915     continue
916   fi
917
918   case $ac_option in
919   *=?*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
920   *=)   ac_optarg= ;;
921   *)    ac_optarg=yes ;;
922   esac
923
924   # Accept the important Cygnus configure options, so we can diagnose typos.
925
926   case $ac_dashdash$ac_option in
927   --)
928     ac_dashdash=yes ;;
929
930   -bindir | --bindir | --bindi | --bind | --bin | --bi)
931     ac_prev=bindir ;;
932   -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
933     bindir=$ac_optarg ;;
934
935   -build | --build | --buil | --bui | --bu)
936     ac_prev=build_alias ;;
937   -build=* | --build=* | --buil=* | --bui=* | --bu=*)
938     build_alias=$ac_optarg ;;
939
940   -cache-file | --cache-file | --cache-fil | --cache-fi \
941   | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
942     ac_prev=cache_file ;;
943   -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
944   | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
945     cache_file=$ac_optarg ;;
946
947   --config-cache | -C)
948     cache_file=config.cache ;;
949
950   -datadir | --datadir | --datadi | --datad)
951     ac_prev=datadir ;;
952   -datadir=* | --datadir=* | --datadi=* | --datad=*)
953     datadir=$ac_optarg ;;
954
955   -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \
956   | --dataroo | --dataro | --datar)
957     ac_prev=datarootdir ;;
958   -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \
959   | --dataroot=* | --dataroo=* | --dataro=* | --datar=*)
960     datarootdir=$ac_optarg ;;
961
962   -disable-* | --disable-*)
963     ac_useropt=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
964     # Reject names that are not valid shell variable names.
965     expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
966       as_fn_error $? "invalid feature name: $ac_useropt"
967     ac_useropt_orig=$ac_useropt
968     ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
969     case $ac_user_opts in
970       *"
971 "enable_$ac_useropt"
972 "*) ;;
973       *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig"
974          ac_unrecognized_sep=', ';;
975     esac
976     eval enable_$ac_useropt=no ;;
977
978   -docdir | --docdir | --docdi | --doc | --do)
979     ac_prev=docdir ;;
980   -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*)
981     docdir=$ac_optarg ;;
982
983   -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv)
984     ac_prev=dvidir ;;
985   -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*)
986     dvidir=$ac_optarg ;;
987
988   -enable-* | --enable-*)
989     ac_useropt=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
990     # Reject names that are not valid shell variable names.
991     expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
992       as_fn_error $? "invalid feature name: $ac_useropt"
993     ac_useropt_orig=$ac_useropt
994     ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
995     case $ac_user_opts in
996       *"
997 "enable_$ac_useropt"
998 "*) ;;
999       *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig"
1000          ac_unrecognized_sep=', ';;
1001     esac
1002     eval enable_$ac_useropt=\$ac_optarg ;;
1003
1004   -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
1005   | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
1006   | --exec | --exe | --ex)
1007     ac_prev=exec_prefix ;;
1008   -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
1009   | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
1010   | --exec=* | --exe=* | --ex=*)
1011     exec_prefix=$ac_optarg ;;
1012
1013   -gas | --gas | --ga | --g)
1014     # Obsolete; use --with-gas.
1015     with_gas=yes ;;
1016
1017   -help | --help | --hel | --he | -h)
1018     ac_init_help=long ;;
1019   -help=r* | --help=r* | --hel=r* | --he=r* | -hr*)
1020     ac_init_help=recursive ;;
1021   -help=s* | --help=s* | --hel=s* | --he=s* | -hs*)
1022     ac_init_help=short ;;
1023
1024   -host | --host | --hos | --ho)
1025     ac_prev=host_alias ;;
1026   -host=* | --host=* | --hos=* | --ho=*)
1027     host_alias=$ac_optarg ;;
1028
1029   -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht)
1030     ac_prev=htmldir ;;
1031   -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \
1032   | --ht=*)
1033     htmldir=$ac_optarg ;;
1034
1035   -includedir | --includedir | --includedi | --included | --include \
1036   | --includ | --inclu | --incl | --inc)
1037     ac_prev=includedir ;;
1038   -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
1039   | --includ=* | --inclu=* | --incl=* | --inc=*)
1040     includedir=$ac_optarg ;;
1041
1042   -infodir | --infodir | --infodi | --infod | --info | --inf)
1043     ac_prev=infodir ;;
1044   -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
1045     infodir=$ac_optarg ;;
1046
1047   -libdir | --libdir | --libdi | --libd)
1048     ac_prev=libdir ;;
1049   -libdir=* | --libdir=* | --libdi=* | --libd=*)
1050     libdir=$ac_optarg ;;
1051
1052   -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
1053   | --libexe | --libex | --libe)
1054     ac_prev=libexecdir ;;
1055   -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
1056   | --libexe=* | --libex=* | --libe=*)
1057     libexecdir=$ac_optarg ;;
1058
1059   -localedir | --localedir | --localedi | --localed | --locale)
1060     ac_prev=localedir ;;
1061   -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*)
1062     localedir=$ac_optarg ;;
1063
1064   -localstatedir | --localstatedir | --localstatedi | --localstated \
1065   | --localstate | --localstat | --localsta | --localst | --locals)
1066     ac_prev=localstatedir ;;
1067   -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
1068   | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*)
1069     localstatedir=$ac_optarg ;;
1070
1071   -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
1072     ac_prev=mandir ;;
1073   -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
1074     mandir=$ac_optarg ;;
1075
1076   -nfp | --nfp | --nf)
1077     # Obsolete; use --without-fp.
1078     with_fp=no ;;
1079
1080   -no-create | --no-create | --no-creat | --no-crea | --no-cre \
1081   | --no-cr | --no-c | -n)
1082     no_create=yes ;;
1083
1084   -no-recursion | --no-recursion | --no-recursio | --no-recursi \
1085   | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
1086     no_recursion=yes ;;
1087
1088   -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
1089   | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
1090   | --oldin | --oldi | --old | --ol | --o)
1091     ac_prev=oldincludedir ;;
1092   -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
1093   | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
1094   | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
1095     oldincludedir=$ac_optarg ;;
1096
1097   -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
1098     ac_prev=prefix ;;
1099   -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
1100     prefix=$ac_optarg ;;
1101
1102   -program-prefix | --program-prefix | --program-prefi | --program-pref \
1103   | --program-pre | --program-pr | --program-p)
1104     ac_prev=program_prefix ;;
1105   -program-prefix=* | --program-prefix=* | --program-prefi=* \
1106   | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
1107     program_prefix=$ac_optarg ;;
1108
1109   -program-suffix | --program-suffix | --program-suffi | --program-suff \
1110   | --program-suf | --program-su | --program-s)
1111     ac_prev=program_suffix ;;
1112   -program-suffix=* | --program-suffix=* | --program-suffi=* \
1113   | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
1114     program_suffix=$ac_optarg ;;
1115
1116   -program-transform-name | --program-transform-name \
1117   | --program-transform-nam | --program-transform-na \
1118   | --program-transform-n | --program-transform- \
1119   | --program-transform | --program-transfor \
1120   | --program-transfo | --program-transf \
1121   | --program-trans | --program-tran \
1122   | --progr-tra | --program-tr | --program-t)
1123     ac_prev=program_transform_name ;;
1124   -program-transform-name=* | --program-transform-name=* \
1125   | --program-transform-nam=* | --program-transform-na=* \
1126   | --program-transform-n=* | --program-transform-=* \
1127   | --program-transform=* | --program-transfor=* \
1128   | --program-transfo=* | --program-transf=* \
1129   | --program-trans=* | --program-tran=* \
1130   | --progr-tra=* | --program-tr=* | --program-t=*)
1131     program_transform_name=$ac_optarg ;;
1132
1133   -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd)
1134     ac_prev=pdfdir ;;
1135   -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*)
1136     pdfdir=$ac_optarg ;;
1137
1138   -psdir | --psdir | --psdi | --psd | --ps)
1139     ac_prev=psdir ;;
1140   -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*)
1141     psdir=$ac_optarg ;;
1142
1143   -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1144   | -silent | --silent | --silen | --sile | --sil)
1145     silent=yes ;;
1146
1147   -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
1148     ac_prev=sbindir ;;
1149   -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
1150   | --sbi=* | --sb=*)
1151     sbindir=$ac_optarg ;;
1152
1153   -sharedstatedir | --sharedstatedir | --sharedstatedi \
1154   | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
1155   | --sharedst | --shareds | --shared | --share | --shar \
1156   | --sha | --sh)
1157     ac_prev=sharedstatedir ;;
1158   -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
1159   | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
1160   | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
1161   | --sha=* | --sh=*)
1162     sharedstatedir=$ac_optarg ;;
1163
1164   -site | --site | --sit)
1165     ac_prev=site ;;
1166   -site=* | --site=* | --sit=*)
1167     site=$ac_optarg ;;
1168
1169   -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
1170     ac_prev=srcdir ;;
1171   -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
1172     srcdir=$ac_optarg ;;
1173
1174   -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
1175   | --syscon | --sysco | --sysc | --sys | --sy)
1176     ac_prev=sysconfdir ;;
1177   -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
1178   | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
1179     sysconfdir=$ac_optarg ;;
1180
1181   -target | --target | --targe | --targ | --tar | --ta | --t)
1182     ac_prev=target_alias ;;
1183   -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
1184     target_alias=$ac_optarg ;;
1185
1186   -v | -verbose | --verbose | --verbos | --verbo | --verb)
1187     verbose=yes ;;
1188
1189   -version | --version | --versio | --versi | --vers | -V)
1190     ac_init_version=: ;;
1191
1192   -with-* | --with-*)
1193     ac_useropt=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
1194     # Reject names that are not valid shell variable names.
1195     expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1196       as_fn_error $? "invalid package name: $ac_useropt"
1197     ac_useropt_orig=$ac_useropt
1198     ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1199     case $ac_user_opts in
1200       *"
1201 "with_$ac_useropt"
1202 "*) ;;
1203       *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig"
1204          ac_unrecognized_sep=', ';;
1205     esac
1206     eval with_$ac_useropt=\$ac_optarg ;;
1207
1208   -without-* | --without-*)
1209     ac_useropt=`expr "x$ac_option" : 'x-*without-\(.*\)'`
1210     # Reject names that are not valid shell variable names.
1211     expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1212       as_fn_error $? "invalid package name: $ac_useropt"
1213     ac_useropt_orig=$ac_useropt
1214     ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1215     case $ac_user_opts in
1216       *"
1217 "with_$ac_useropt"
1218 "*) ;;
1219       *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig"
1220          ac_unrecognized_sep=', ';;
1221     esac
1222     eval with_$ac_useropt=no ;;
1223
1224   --x)
1225     # Obsolete; use --with-x.
1226     with_x=yes ;;
1227
1228   -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
1229   | --x-incl | --x-inc | --x-in | --x-i)
1230     ac_prev=x_includes ;;
1231   -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
1232   | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
1233     x_includes=$ac_optarg ;;
1234
1235   -x-libraries | --x-libraries | --x-librarie | --x-librari \
1236   | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
1237     ac_prev=x_libraries ;;
1238   -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
1239   | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
1240     x_libraries=$ac_optarg ;;
1241
1242   -*) as_fn_error $? "unrecognized option: \`$ac_option'
1243 Try \`$0 --help' for more information"
1244     ;;
1245
1246   *=*)
1247     ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
1248     # Reject names that are not valid shell variable names.
1249     case $ac_envvar in #(
1250       '' | [0-9]* | *[!_$as_cr_alnum]* )
1251       as_fn_error $? "invalid variable name: \`$ac_envvar'" ;;
1252     esac
1253     eval $ac_envvar=\$ac_optarg
1254     export $ac_envvar ;;
1255
1256   *)
1257     # FIXME: should be removed in autoconf 3.0.
1258     $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2
1259     expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
1260       $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2
1261     : "${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}"
1262     ;;
1263
1264   esac
1265 done
1266
1267 if test -n "$ac_prev"; then
1268   ac_option=--`echo $ac_prev | sed 's/_/-/g'`
1269   as_fn_error $? "missing argument to $ac_option"
1270 fi
1271
1272 if test -n "$ac_unrecognized_opts"; then
1273   case $enable_option_checking in
1274     no) ;;
1275     fatal) as_fn_error $? "unrecognized options: $ac_unrecognized_opts" ;;
1276     *)     $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;;
1277   esac
1278 fi
1279
1280 # Check all directory arguments for consistency.
1281 for ac_var in   exec_prefix prefix bindir sbindir libexecdir datarootdir \
1282                 datadir sysconfdir sharedstatedir localstatedir includedir \
1283                 oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
1284                 libdir localedir mandir
1285 do
1286   eval ac_val=\$$ac_var
1287   # Remove trailing slashes.
1288   case $ac_val in
1289     */ )
1290       ac_val=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'`
1291       eval $ac_var=\$ac_val;;
1292   esac
1293   # Be sure to have absolute directory names.
1294   case $ac_val in
1295     [\\/$]* | ?:[\\/]* )  continue;;
1296     NONE | '' ) case $ac_var in *prefix ) continue;; esac;;
1297   esac
1298   as_fn_error $? "expected an absolute directory name for --$ac_var: $ac_val"
1299 done
1300
1301 # There might be people who depend on the old broken behavior: `$host'
1302 # used to hold the argument of --host etc.
1303 # FIXME: To remove some day.
1304 build=$build_alias
1305 host=$host_alias
1306 target=$target_alias
1307
1308 # FIXME: To remove some day.
1309 if test "x$host_alias" != x; then
1310   if test "x$build_alias" = x; then
1311     cross_compiling=maybe
1312   elif test "x$build_alias" != "x$host_alias"; then
1313     cross_compiling=yes
1314   fi
1315 fi
1316
1317 ac_tool_prefix=
1318 test -n "$host_alias" && ac_tool_prefix=$host_alias-
1319
1320 test "$silent" = yes && exec 6>/dev/null
1321
1322
1323 ac_pwd=`pwd` && test -n "$ac_pwd" &&
1324 ac_ls_di=`ls -di .` &&
1325 ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` ||
1326   as_fn_error $? "working directory cannot be determined"
1327 test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
1328   as_fn_error $? "pwd does not report name of working directory"
1329
1330
1331 # Find the source files, if location was not specified.
1332 if test -z "$srcdir"; then
1333   ac_srcdir_defaulted=yes
1334   # Try the directory containing this script, then the parent directory.
1335   ac_confdir=`$as_dirname -- "$as_myself" ||
1336 $as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
1337          X"$as_myself" : 'X\(//\)[^/]' \| \
1338          X"$as_myself" : 'X\(//\)$' \| \
1339          X"$as_myself" : 'X\(/\)' \| . 2>/dev/null ||
1340 $as_echo X"$as_myself" |
1341     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
1342             s//\1/
1343             q
1344           }
1345           /^X\(\/\/\)[^/].*/{
1346             s//\1/
1347             q
1348           }
1349           /^X\(\/\/\)$/{
1350             s//\1/
1351             q
1352           }
1353           /^X\(\/\).*/{
1354             s//\1/
1355             q
1356           }
1357           s/.*/./; q'`
1358   srcdir=$ac_confdir
1359   if test ! -r "$srcdir/$ac_unique_file"; then
1360     srcdir=..
1361   fi
1362 else
1363   ac_srcdir_defaulted=no
1364 fi
1365 if test ! -r "$srcdir/$ac_unique_file"; then
1366   test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .."
1367   as_fn_error $? "cannot find sources ($ac_unique_file) in $srcdir"
1368 fi
1369 ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work"
1370 ac_abs_confdir=`(
1371         cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error $? "$ac_msg"
1372         pwd)`
1373 # When building in place, set srcdir=.
1374 if test "$ac_abs_confdir" = "$ac_pwd"; then
1375   srcdir=.
1376 fi
1377 # Remove unnecessary trailing slashes from srcdir.
1378 # Double slashes in file names in object file debugging info
1379 # mess up M-x gdb in Emacs.
1380 case $srcdir in
1381 */) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
1382 esac
1383 for ac_var in $ac_precious_vars; do
1384   eval ac_env_${ac_var}_set=\${${ac_var}+set}
1385   eval ac_env_${ac_var}_value=\$${ac_var}
1386   eval ac_cv_env_${ac_var}_set=\${${ac_var}+set}
1387   eval ac_cv_env_${ac_var}_value=\$${ac_var}
1388 done
1389
1390 #
1391 # Report the --help message.
1392 #
1393 if test "$ac_init_help" = "long"; then
1394   # Omit some internal or obsolete options to make the list less imposing.
1395   # This message is too long to be a string in the A/UX 3.1 sh.
1396   cat <<_ACEOF
1397 \`configure' configures pygobject 3.8.0 to adapt to many kinds of systems.
1398
1399 Usage: $0 [OPTION]... [VAR=VALUE]...
1400
1401 To assign environment variables (e.g., CC, CFLAGS...), specify them as
1402 VAR=VALUE.  See below for descriptions of some of the useful variables.
1403
1404 Defaults for the options are specified in brackets.
1405
1406 Configuration:
1407   -h, --help              display this help and exit
1408       --help=short        display options specific to this package
1409       --help=recursive    display the short help of all the included packages
1410   -V, --version           display version information and exit
1411   -q, --quiet, --silent   do not print \`checking ...' messages
1412       --cache-file=FILE   cache test results in FILE [disabled]
1413   -C, --config-cache      alias for \`--cache-file=config.cache'
1414   -n, --no-create         do not create output files
1415       --srcdir=DIR        find the sources in DIR [configure dir or \`..']
1416
1417 Installation directories:
1418   --prefix=PREFIX         install architecture-independent files in PREFIX
1419                           [$ac_default_prefix]
1420   --exec-prefix=EPREFIX   install architecture-dependent files in EPREFIX
1421                           [PREFIX]
1422
1423 By default, \`make install' will install all the files in
1424 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc.  You can specify
1425 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
1426 for instance \`--prefix=\$HOME'.
1427
1428 For better control, use the options below.
1429
1430 Fine tuning of the installation directories:
1431   --bindir=DIR            user executables [EPREFIX/bin]
1432   --sbindir=DIR           system admin executables [EPREFIX/sbin]
1433   --libexecdir=DIR        program executables [EPREFIX/libexec]
1434   --sysconfdir=DIR        read-only single-machine data [PREFIX/etc]
1435   --sharedstatedir=DIR    modifiable architecture-independent data [PREFIX/com]
1436   --localstatedir=DIR     modifiable single-machine data [PREFIX/var]
1437   --libdir=DIR            object code libraries [EPREFIX/lib]
1438   --includedir=DIR        C header files [PREFIX/include]
1439   --oldincludedir=DIR     C header files for non-gcc [/usr/include]
1440   --datarootdir=DIR       read-only arch.-independent data root [PREFIX/share]
1441   --datadir=DIR           read-only architecture-independent data [DATAROOTDIR]
1442   --infodir=DIR           info documentation [DATAROOTDIR/info]
1443   --localedir=DIR         locale-dependent data [DATAROOTDIR/locale]
1444   --mandir=DIR            man documentation [DATAROOTDIR/man]
1445   --docdir=DIR            documentation root [DATAROOTDIR/doc/pygobject]
1446   --htmldir=DIR           html documentation [DOCDIR]
1447   --dvidir=DIR            dvi documentation [DOCDIR]
1448   --pdfdir=DIR            pdf documentation [DOCDIR]
1449   --psdir=DIR             ps documentation [DOCDIR]
1450 _ACEOF
1451
1452   cat <<\_ACEOF
1453
1454 Program names:
1455   --program-prefix=PREFIX            prepend PREFIX to installed program names
1456   --program-suffix=SUFFIX            append SUFFIX to installed program names
1457   --program-transform-name=PROGRAM   run sed PROGRAM on installed program names
1458
1459 System types:
1460   --build=BUILD     configure for building on BUILD [guessed]
1461   --host=HOST       cross-compile to build programs to run on HOST [BUILD]
1462 _ACEOF
1463 fi
1464
1465 if test -n "$ac_init_help"; then
1466   case $ac_init_help in
1467      short | recursive ) echo "Configuration of pygobject 3.8.0:";;
1468    esac
1469   cat <<\_ACEOF
1470
1471 Optional Features:
1472   --disable-option-checking  ignore unrecognized --enable/--with options
1473   --disable-FEATURE       do not include FEATURE (same as --enable-FEATURE=no)
1474   --enable-FEATURE[=ARG]  include FEATURE [ARG=yes]
1475   --enable-silent-rules          less verbose build output (undo: `make V=1')
1476   --disable-silent-rules         verbose build output (undo: `make V=0')
1477   --enable-static[=PKGS]  build static libraries [default=no]
1478   --enable-shared[=PKGS]  build shared libraries [default=yes]
1479   --enable-fast-install[=PKGS]
1480                           optimize for fast installation [default=yes]
1481   --disable-dependency-tracking  speeds up one-time build
1482   --enable-dependency-tracking   do not reject slow dependency extractors
1483   --disable-libtool-lock  avoid locking (might break parallel builds)
1484   --disable-thread        Disable pygobject threading support
1485   --disable-glibtest      do not try to compile and run a test GLIB program
1486   --enable-cairo          Enable Cairo bindings using introspection
1487                           information
1488   --enable-compile-warnings=[no/minimum/yes/maximum/error]
1489                           Turn on compiler warnings
1490   --enable-iso-c          Try to warn if code is not ISO C
1491   --enable-code-coverage  Whether to enable code coverage support
1492
1493 Optional Packages:
1494   --with-PACKAGE[=ARG]    use PACKAGE [ARG=yes]
1495   --without-PACKAGE       do not use PACKAGE (same as --with-PACKAGE=no)
1496   --with-pic[=PKGS]       try to use only PIC/non-PIC objects [default=use
1497                           both]
1498   --with-gnu-ld           assume the C compiler uses GNU ld [default=no]
1499   --with-sysroot=DIR Search for dependent libraries within DIR
1500                         (or the compiler's sysroot if not specified).
1501   --with-python=PATH      Path to Python interpreter; searches $PATH if only a
1502                           program name is given; if not given, searches for a
1503                           few standard names such as "python3" or "python2"
1504   --without-ffi           Disable libffi support
1505
1506 Some influential environment variables:
1507   CC          C compiler command
1508   CFLAGS      C compiler flags
1509   LDFLAGS     linker flags, e.g. -L<lib dir> if you have libraries in a
1510               nonstandard directory <lib dir>
1511   LIBS        libraries to pass to the linker, e.g. -l<library>
1512   CPPFLAGS    (Objective) C/C++ preprocessor flags, e.g. -I<include dir> if
1513               you have headers in a nonstandard directory <include dir>
1514   CPP         C preprocessor
1515   PYTHON      the Python interpreter
1516   PKG_CONFIG  path to pkg-config utility
1517   PKG_CONFIG_PATH
1518               directories to add to pkg-config's search path
1519   PKG_CONFIG_LIBDIR
1520               path overriding pkg-config's built-in search path
1521   FFI_CFLAGS  C compiler flags for FFI, overriding pkg-config
1522   FFI_LIBS    linker flags for FFI, overriding pkg-config
1523   GIO_CFLAGS  C compiler flags for GIO, overriding pkg-config
1524   GIO_LIBS    linker flags for GIO, overriding pkg-config
1525   GI_CFLAGS   C compiler flags for GI, overriding pkg-config
1526   GI_LIBS     linker flags for GI, overriding pkg-config
1527   CAIRO_CFLAGS
1528               C compiler flags for CAIRO, overriding pkg-config
1529   CAIRO_LIBS  linker flags for CAIRO, overriding pkg-config
1530   PYCAIRO_CFLAGS
1531               C compiler flags for PYCAIRO, overriding pkg-config
1532   PYCAIRO_LIBS
1533               linker flags for PYCAIRO, overriding pkg-config
1534
1535 Use these variables to override the choices made by `configure' or to help
1536 it to find libraries and programs with nonstandard names/locations.
1537
1538 Report bugs to <http://bugzilla.gnome.org/enter_bug.cgi?product=pygobject>.
1539 pygobject home page: <https://live.gnome.org/PyGObject/>.
1540 _ACEOF
1541 ac_status=$?
1542 fi
1543
1544 if test "$ac_init_help" = "recursive"; then
1545   # If there are subdirs, report their specific --help.
1546   for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
1547     test -d "$ac_dir" ||
1548       { cd "$srcdir" && ac_pwd=`pwd` && srcdir=. && test -d "$ac_dir"; } ||
1549       continue
1550     ac_builddir=.
1551
1552 case "$ac_dir" in
1553 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
1554 *)
1555   ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
1556   # A ".." for each directory in $ac_dir_suffix.
1557   ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
1558   case $ac_top_builddir_sub in
1559   "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
1560   *)  ac_top_build_prefix=$ac_top_builddir_sub/ ;;
1561   esac ;;
1562 esac
1563 ac_abs_top_builddir=$ac_pwd
1564 ac_abs_builddir=$ac_pwd$ac_dir_suffix
1565 # for backward compatibility:
1566 ac_top_builddir=$ac_top_build_prefix
1567
1568 case $srcdir in
1569   .)  # We are building in place.
1570     ac_srcdir=.
1571     ac_top_srcdir=$ac_top_builddir_sub
1572     ac_abs_top_srcdir=$ac_pwd ;;
1573   [\\/]* | ?:[\\/]* )  # Absolute name.
1574     ac_srcdir=$srcdir$ac_dir_suffix;
1575     ac_top_srcdir=$srcdir
1576     ac_abs_top_srcdir=$srcdir ;;
1577   *) # Relative name.
1578     ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
1579     ac_top_srcdir=$ac_top_build_prefix$srcdir
1580     ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
1581 esac
1582 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
1583
1584     cd "$ac_dir" || { ac_status=$?; continue; }
1585     # Check for guested configure.
1586     if test -f "$ac_srcdir/configure.gnu"; then
1587       echo &&
1588       $SHELL "$ac_srcdir/configure.gnu" --help=recursive
1589     elif test -f "$ac_srcdir/configure"; then
1590       echo &&
1591       $SHELL "$ac_srcdir/configure" --help=recursive
1592     else
1593       $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
1594     fi || ac_status=$?
1595     cd "$ac_pwd" || { ac_status=$?; break; }
1596   done
1597 fi
1598
1599 test -n "$ac_init_help" && exit $ac_status
1600 if $ac_init_version; then
1601   cat <<\_ACEOF
1602 pygobject configure 3.8.0
1603 generated by GNU Autoconf 2.69
1604
1605 Copyright (C) 2012 Free Software Foundation, Inc.
1606 This configure script is free software; the Free Software Foundation
1607 gives unlimited permission to copy, distribute and modify it.
1608 _ACEOF
1609   exit
1610 fi
1611
1612 ## ------------------------ ##
1613 ## Autoconf initialization. ##
1614 ## ------------------------ ##
1615
1616 # ac_fn_c_try_compile LINENO
1617 # --------------------------
1618 # Try to compile conftest.$ac_ext, and return whether this succeeded.
1619 ac_fn_c_try_compile ()
1620 {
1621   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1622   rm -f conftest.$ac_objext
1623   if { { ac_try="$ac_compile"
1624 case "(($ac_try" in
1625   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1626   *) ac_try_echo=$ac_try;;
1627 esac
1628 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1629 $as_echo "$ac_try_echo"; } >&5
1630   (eval "$ac_compile") 2>conftest.err
1631   ac_status=$?
1632   if test -s conftest.err; then
1633     grep -v '^ *+' conftest.err >conftest.er1
1634     cat conftest.er1 >&5
1635     mv -f conftest.er1 conftest.err
1636   fi
1637   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1638   test $ac_status = 0; } && {
1639          test -z "$ac_c_werror_flag" ||
1640          test ! -s conftest.err
1641        } && test -s conftest.$ac_objext; then :
1642   ac_retval=0
1643 else
1644   $as_echo "$as_me: failed program was:" >&5
1645 sed 's/^/| /' conftest.$ac_ext >&5
1646
1647         ac_retval=1
1648 fi
1649   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1650   as_fn_set_status $ac_retval
1651
1652 } # ac_fn_c_try_compile
1653
1654 # ac_fn_c_try_link LINENO
1655 # -----------------------
1656 # Try to link conftest.$ac_ext, and return whether this succeeded.
1657 ac_fn_c_try_link ()
1658 {
1659   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1660   rm -f conftest.$ac_objext conftest$ac_exeext
1661   if { { ac_try="$ac_link"
1662 case "(($ac_try" in
1663   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1664   *) ac_try_echo=$ac_try;;
1665 esac
1666 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1667 $as_echo "$ac_try_echo"; } >&5
1668   (eval "$ac_link") 2>conftest.err
1669   ac_status=$?
1670   if test -s conftest.err; then
1671     grep -v '^ *+' conftest.err >conftest.er1
1672     cat conftest.er1 >&5
1673     mv -f conftest.er1 conftest.err
1674   fi
1675   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1676   test $ac_status = 0; } && {
1677          test -z "$ac_c_werror_flag" ||
1678          test ! -s conftest.err
1679        } && test -s conftest$ac_exeext && {
1680          test "$cross_compiling" = yes ||
1681          test -x conftest$ac_exeext
1682        }; then :
1683   ac_retval=0
1684 else
1685   $as_echo "$as_me: failed program was:" >&5
1686 sed 's/^/| /' conftest.$ac_ext >&5
1687
1688         ac_retval=1
1689 fi
1690   # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
1691   # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
1692   # interfere with the next link command; also delete a directory that is
1693   # left behind by Apple's compiler.  We do this before executing the actions.
1694   rm -rf conftest.dSYM conftest_ipa8_conftest.oo
1695   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1696   as_fn_set_status $ac_retval
1697
1698 } # ac_fn_c_try_link
1699
1700 # ac_fn_c_check_header_compile LINENO HEADER VAR INCLUDES
1701 # -------------------------------------------------------
1702 # Tests whether HEADER exists and can be compiled using the include files in
1703 # INCLUDES, setting the cache variable VAR accordingly.
1704 ac_fn_c_check_header_compile ()
1705 {
1706   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1707   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1708 $as_echo_n "checking for $2... " >&6; }
1709 if eval \${$3+:} false; then :
1710   $as_echo_n "(cached) " >&6
1711 else
1712   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1713 /* end confdefs.h.  */
1714 $4
1715 #include <$2>
1716 _ACEOF
1717 if ac_fn_c_try_compile "$LINENO"; then :
1718   eval "$3=yes"
1719 else
1720   eval "$3=no"
1721 fi
1722 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1723 fi
1724 eval ac_res=\$$3
1725                { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1726 $as_echo "$ac_res" >&6; }
1727   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1728
1729 } # ac_fn_c_check_header_compile
1730
1731 # ac_fn_c_try_cpp LINENO
1732 # ----------------------
1733 # Try to preprocess conftest.$ac_ext, and return whether this succeeded.
1734 ac_fn_c_try_cpp ()
1735 {
1736   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1737   if { { ac_try="$ac_cpp conftest.$ac_ext"
1738 case "(($ac_try" in
1739   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1740   *) ac_try_echo=$ac_try;;
1741 esac
1742 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1743 $as_echo "$ac_try_echo"; } >&5
1744   (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err
1745   ac_status=$?
1746   if test -s conftest.err; then
1747     grep -v '^ *+' conftest.err >conftest.er1
1748     cat conftest.er1 >&5
1749     mv -f conftest.er1 conftest.err
1750   fi
1751   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1752   test $ac_status = 0; } > conftest.i && {
1753          test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
1754          test ! -s conftest.err
1755        }; then :
1756   ac_retval=0
1757 else
1758   $as_echo "$as_me: failed program was:" >&5
1759 sed 's/^/| /' conftest.$ac_ext >&5
1760
1761     ac_retval=1
1762 fi
1763   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1764   as_fn_set_status $ac_retval
1765
1766 } # ac_fn_c_try_cpp
1767
1768 # ac_fn_c_try_run LINENO
1769 # ----------------------
1770 # Try to link conftest.$ac_ext, and return whether this succeeded. Assumes
1771 # that executables *can* be run.
1772 ac_fn_c_try_run ()
1773 {
1774   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1775   if { { ac_try="$ac_link"
1776 case "(($ac_try" in
1777   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1778   *) ac_try_echo=$ac_try;;
1779 esac
1780 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1781 $as_echo "$ac_try_echo"; } >&5
1782   (eval "$ac_link") 2>&5
1783   ac_status=$?
1784   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1785   test $ac_status = 0; } && { ac_try='./conftest$ac_exeext'
1786   { { case "(($ac_try" in
1787   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1788   *) ac_try_echo=$ac_try;;
1789 esac
1790 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1791 $as_echo "$ac_try_echo"; } >&5
1792   (eval "$ac_try") 2>&5
1793   ac_status=$?
1794   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1795   test $ac_status = 0; }; }; then :
1796   ac_retval=0
1797 else
1798   $as_echo "$as_me: program exited with status $ac_status" >&5
1799        $as_echo "$as_me: failed program was:" >&5
1800 sed 's/^/| /' conftest.$ac_ext >&5
1801
1802        ac_retval=$ac_status
1803 fi
1804   rm -rf conftest.dSYM conftest_ipa8_conftest.oo
1805   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1806   as_fn_set_status $ac_retval
1807
1808 } # ac_fn_c_try_run
1809
1810 # ac_fn_c_check_func LINENO FUNC VAR
1811 # ----------------------------------
1812 # Tests whether FUNC exists, setting the cache variable VAR accordingly
1813 ac_fn_c_check_func ()
1814 {
1815   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1816   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1817 $as_echo_n "checking for $2... " >&6; }
1818 if eval \${$3+:} false; then :
1819   $as_echo_n "(cached) " >&6
1820 else
1821   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1822 /* end confdefs.h.  */
1823 /* Define $2 to an innocuous variant, in case <limits.h> declares $2.
1824    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
1825 #define $2 innocuous_$2
1826
1827 /* System header to define __stub macros and hopefully few prototypes,
1828     which can conflict with char $2 (); below.
1829     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
1830     <limits.h> exists even on freestanding compilers.  */
1831
1832 #ifdef __STDC__
1833 # include <limits.h>
1834 #else
1835 # include <assert.h>
1836 #endif
1837
1838 #undef $2
1839
1840 /* Override any GCC internal prototype to avoid an error.
1841    Use char because int might match the return type of a GCC
1842    builtin and then its argument prototype would still apply.  */
1843 #ifdef __cplusplus
1844 extern "C"
1845 #endif
1846 char $2 ();
1847 /* The GNU C library defines this for functions which it implements
1848     to always fail with ENOSYS.  Some functions are actually named
1849     something starting with __ and the normal name is an alias.  */
1850 #if defined __stub_$2 || defined __stub___$2
1851 choke me
1852 #endif
1853
1854 int
1855 main ()
1856 {
1857 return $2 ();
1858   ;
1859   return 0;
1860 }
1861 _ACEOF
1862 if ac_fn_c_try_link "$LINENO"; then :
1863   eval "$3=yes"
1864 else
1865   eval "$3=no"
1866 fi
1867 rm -f core conftest.err conftest.$ac_objext \
1868     conftest$ac_exeext conftest.$ac_ext
1869 fi
1870 eval ac_res=\$$3
1871                { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1872 $as_echo "$ac_res" >&6; }
1873   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1874
1875 } # ac_fn_c_check_func
1876 cat >config.log <<_ACEOF
1877 This file contains any messages produced by compilers while
1878 running configure, to aid debugging if configure makes a mistake.
1879
1880 It was created by pygobject $as_me 3.8.0, which was
1881 generated by GNU Autoconf 2.69.  Invocation command line was
1882
1883   $ $0 $@
1884
1885 _ACEOF
1886 exec 5>>config.log
1887 {
1888 cat <<_ASUNAME
1889 ## --------- ##
1890 ## Platform. ##
1891 ## --------- ##
1892
1893 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
1894 uname -m = `(uname -m) 2>/dev/null || echo unknown`
1895 uname -r = `(uname -r) 2>/dev/null || echo unknown`
1896 uname -s = `(uname -s) 2>/dev/null || echo unknown`
1897 uname -v = `(uname -v) 2>/dev/null || echo unknown`
1898
1899 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
1900 /bin/uname -X     = `(/bin/uname -X) 2>/dev/null     || echo unknown`
1901
1902 /bin/arch              = `(/bin/arch) 2>/dev/null              || echo unknown`
1903 /usr/bin/arch -k       = `(/usr/bin/arch -k) 2>/dev/null       || echo unknown`
1904 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
1905 /usr/bin/hostinfo      = `(/usr/bin/hostinfo) 2>/dev/null      || echo unknown`
1906 /bin/machine           = `(/bin/machine) 2>/dev/null           || echo unknown`
1907 /usr/bin/oslevel       = `(/usr/bin/oslevel) 2>/dev/null       || echo unknown`
1908 /bin/universe          = `(/bin/universe) 2>/dev/null          || echo unknown`
1909
1910 _ASUNAME
1911
1912 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1913 for as_dir in $PATH
1914 do
1915   IFS=$as_save_IFS
1916   test -z "$as_dir" && as_dir=.
1917     $as_echo "PATH: $as_dir"
1918   done
1919 IFS=$as_save_IFS
1920
1921 } >&5
1922
1923 cat >&5 <<_ACEOF
1924
1925
1926 ## ----------- ##
1927 ## Core tests. ##
1928 ## ----------- ##
1929
1930 _ACEOF
1931
1932
1933 # Keep a trace of the command line.
1934 # Strip out --no-create and --no-recursion so they do not pile up.
1935 # Strip out --silent because we don't want to record it for future runs.
1936 # Also quote any args containing shell meta-characters.
1937 # Make two passes to allow for proper duplicate-argument suppression.
1938 ac_configure_args=
1939 ac_configure_args0=
1940 ac_configure_args1=
1941 ac_must_keep_next=false
1942 for ac_pass in 1 2
1943 do
1944   for ac_arg
1945   do
1946     case $ac_arg in
1947     -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
1948     -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1949     | -silent | --silent | --silen | --sile | --sil)
1950       continue ;;
1951     *\'*)
1952       ac_arg=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
1953     esac
1954     case $ac_pass in
1955     1) as_fn_append ac_configure_args0 " '$ac_arg'" ;;
1956     2)
1957       as_fn_append ac_configure_args1 " '$ac_arg'"
1958       if test $ac_must_keep_next = true; then
1959         ac_must_keep_next=false # Got value, back to normal.
1960       else
1961         case $ac_arg in
1962           *=* | --config-cache | -C | -disable-* | --disable-* \
1963           | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
1964           | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
1965           | -with-* | --with-* | -without-* | --without-* | --x)
1966             case "$ac_configure_args0 " in
1967               "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
1968             esac
1969             ;;
1970           -* ) ac_must_keep_next=true ;;
1971         esac
1972       fi
1973       as_fn_append ac_configure_args " '$ac_arg'"
1974       ;;
1975     esac
1976   done
1977 done
1978 { ac_configure_args0=; unset ac_configure_args0;}
1979 { ac_configure_args1=; unset ac_configure_args1;}
1980
1981 # When interrupted or exit'd, cleanup temporary files, and complete
1982 # config.log.  We remove comments because anyway the quotes in there
1983 # would cause problems or look ugly.
1984 # WARNING: Use '\'' to represent an apostrophe within the trap.
1985 # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
1986 trap 'exit_status=$?
1987   # Save into config.log some information that might help in debugging.
1988   {
1989     echo
1990
1991     $as_echo "## ---------------- ##
1992 ## Cache variables. ##
1993 ## ---------------- ##"
1994     echo
1995     # The following way of writing the cache mishandles newlines in values,
1996 (
1997   for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
1998     eval ac_val=\$$ac_var
1999     case $ac_val in #(
2000     *${as_nl}*)
2001       case $ac_var in #(
2002       *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
2003 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
2004       esac
2005       case $ac_var in #(
2006       _ | IFS | as_nl) ;; #(
2007       BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
2008       *) { eval $ac_var=; unset $ac_var;} ;;
2009       esac ;;
2010     esac
2011   done
2012   (set) 2>&1 |
2013     case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
2014     *${as_nl}ac_space=\ *)
2015       sed -n \
2016         "s/'\''/'\''\\\\'\'''\''/g;
2017           s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
2018       ;; #(
2019     *)
2020       sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
2021       ;;
2022     esac |
2023     sort
2024 )
2025     echo
2026
2027     $as_echo "## ----------------- ##
2028 ## Output variables. ##
2029 ## ----------------- ##"
2030     echo
2031     for ac_var in $ac_subst_vars
2032     do
2033       eval ac_val=\$$ac_var
2034       case $ac_val in
2035       *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
2036       esac
2037       $as_echo "$ac_var='\''$ac_val'\''"
2038     done | sort
2039     echo
2040
2041     if test -n "$ac_subst_files"; then
2042       $as_echo "## ------------------- ##
2043 ## File substitutions. ##
2044 ## ------------------- ##"
2045       echo
2046       for ac_var in $ac_subst_files
2047       do
2048         eval ac_val=\$$ac_var
2049         case $ac_val in
2050         *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
2051         esac
2052         $as_echo "$ac_var='\''$ac_val'\''"
2053       done | sort
2054       echo
2055     fi
2056
2057     if test -s confdefs.h; then
2058       $as_echo "## ----------- ##
2059 ## confdefs.h. ##
2060 ## ----------- ##"
2061       echo
2062       cat confdefs.h
2063       echo
2064     fi
2065     test "$ac_signal" != 0 &&
2066       $as_echo "$as_me: caught signal $ac_signal"
2067     $as_echo "$as_me: exit $exit_status"
2068   } >&5
2069   rm -f core *.core core.conftest.* &&
2070     rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
2071     exit $exit_status
2072 ' 0
2073 for ac_signal in 1 2 13 15; do
2074   trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal
2075 done
2076 ac_signal=0
2077
2078 # confdefs.h avoids OS command line length limits that DEFS can exceed.
2079 rm -f -r conftest* confdefs.h
2080
2081 $as_echo "/* confdefs.h */" > confdefs.h
2082
2083 # Predefined preprocessor variables.
2084
2085 cat >>confdefs.h <<_ACEOF
2086 #define PACKAGE_NAME "$PACKAGE_NAME"
2087 _ACEOF
2088
2089 cat >>confdefs.h <<_ACEOF
2090 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
2091 _ACEOF
2092
2093 cat >>confdefs.h <<_ACEOF
2094 #define PACKAGE_VERSION "$PACKAGE_VERSION"
2095 _ACEOF
2096
2097 cat >>confdefs.h <<_ACEOF
2098 #define PACKAGE_STRING "$PACKAGE_STRING"
2099 _ACEOF
2100
2101 cat >>confdefs.h <<_ACEOF
2102 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
2103 _ACEOF
2104
2105 cat >>confdefs.h <<_ACEOF
2106 #define PACKAGE_URL "$PACKAGE_URL"
2107 _ACEOF
2108
2109
2110 # Let the site file select an alternate cache file if it wants to.
2111 # Prefer an explicitly selected file to automatically selected ones.
2112 ac_site_file1=NONE
2113 ac_site_file2=NONE
2114 if test -n "$CONFIG_SITE"; then
2115   # We do not want a PATH search for config.site.
2116   case $CONFIG_SITE in #((
2117     -*)  ac_site_file1=./$CONFIG_SITE;;
2118     */*) ac_site_file1=$CONFIG_SITE;;
2119     *)   ac_site_file1=./$CONFIG_SITE;;
2120   esac
2121 elif test "x$prefix" != xNONE; then
2122   ac_site_file1=$prefix/share/config.site
2123   ac_site_file2=$prefix/etc/config.site
2124 else
2125   ac_site_file1=$ac_default_prefix/share/config.site
2126   ac_site_file2=$ac_default_prefix/etc/config.site
2127 fi
2128 for ac_site_file in "$ac_site_file1" "$ac_site_file2"
2129 do
2130   test "x$ac_site_file" = xNONE && continue
2131   if test /dev/null != "$ac_site_file" && test -r "$ac_site_file"; then
2132     { $as_echo "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5
2133 $as_echo "$as_me: loading site script $ac_site_file" >&6;}
2134     sed 's/^/| /' "$ac_site_file" >&5
2135     . "$ac_site_file" \
2136       || { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2137 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2138 as_fn_error $? "failed to load site script $ac_site_file
2139 See \`config.log' for more details" "$LINENO" 5; }
2140   fi
2141 done
2142
2143 if test -r "$cache_file"; then
2144   # Some versions of bash will fail to source /dev/null (special files
2145   # actually), so we avoid doing that.  DJGPP emulates it as a regular file.
2146   if test /dev/null != "$cache_file" && test -f "$cache_file"; then
2147     { $as_echo "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5
2148 $as_echo "$as_me: loading cache $cache_file" >&6;}
2149     case $cache_file in
2150       [\\/]* | ?:[\\/]* ) . "$cache_file";;
2151       *)                      . "./$cache_file";;
2152     esac
2153   fi
2154 else
2155   { $as_echo "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5
2156 $as_echo "$as_me: creating cache $cache_file" >&6;}
2157   >$cache_file
2158 fi
2159
2160 # Check that the precious variables saved in the cache have kept the same
2161 # value.
2162 ac_cache_corrupted=false
2163 for ac_var in $ac_precious_vars; do
2164   eval ac_old_set=\$ac_cv_env_${ac_var}_set
2165   eval ac_new_set=\$ac_env_${ac_var}_set
2166   eval ac_old_val=\$ac_cv_env_${ac_var}_value
2167   eval ac_new_val=\$ac_env_${ac_var}_value
2168   case $ac_old_set,$ac_new_set in
2169     set,)
2170       { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
2171 $as_echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
2172       ac_cache_corrupted=: ;;
2173     ,set)
2174       { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not set in the previous run" >&5
2175 $as_echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
2176       ac_cache_corrupted=: ;;
2177     ,);;
2178     *)
2179       if test "x$ac_old_val" != "x$ac_new_val"; then
2180         # differences in whitespace do not lead to failure.
2181         ac_old_val_w=`echo x $ac_old_val`
2182         ac_new_val_w=`echo x $ac_new_val`
2183         if test "$ac_old_val_w" != "$ac_new_val_w"; then
2184           { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&5
2185 $as_echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
2186           ac_cache_corrupted=:
2187         else
2188           { $as_echo "$as_me:${as_lineno-$LINENO}: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5
2189 $as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;}
2190           eval $ac_var=\$ac_old_val
2191         fi
2192         { $as_echo "$as_me:${as_lineno-$LINENO}:   former value:  \`$ac_old_val'" >&5
2193 $as_echo "$as_me:   former value:  \`$ac_old_val'" >&2;}
2194         { $as_echo "$as_me:${as_lineno-$LINENO}:   current value: \`$ac_new_val'" >&5
2195 $as_echo "$as_me:   current value: \`$ac_new_val'" >&2;}
2196       fi;;
2197   esac
2198   # Pass precious variables to config.status.
2199   if test "$ac_new_set" = set; then
2200     case $ac_new_val in
2201     *\'*) ac_arg=$ac_var=`$as_echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
2202     *) ac_arg=$ac_var=$ac_new_val ;;
2203     esac
2204     case " $ac_configure_args " in
2205       *" '$ac_arg' "*) ;; # Avoid dups.  Use of quotes ensures accuracy.
2206       *) as_fn_append ac_configure_args " '$ac_arg'" ;;
2207     esac
2208   fi
2209 done
2210 if $ac_cache_corrupted; then
2211   { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2212 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2213   { $as_echo "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5
2214 $as_echo "$as_me: error: changes in the environment can compromise the build" >&2;}
2215   as_fn_error $? "run \`make distclean' and/or \`rm $cache_file' and start over" "$LINENO" 5
2216 fi
2217 ## -------------------- ##
2218 ## Main body of script. ##
2219 ## -------------------- ##
2220
2221 ac_ext=c
2222 ac_cpp='$CPP $CPPFLAGS'
2223 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2224 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2225 ac_compiler_gnu=$ac_cv_c_compiler_gnu
2226
2227
2228 ACLOCAL_AMFLAGS="-I m4 -I ."
2229
2230
2231
2232
2233
2234 $as_echo "#define PYGOBJECT_MAJOR_VERSION 3" >>confdefs.h
2235
2236 PYGOBJECT_MAJOR_VERSION=3
2237
2238
2239 $as_echo "#define PYGOBJECT_MINOR_VERSION 8" >>confdefs.h
2240
2241 PYGOBJECT_MINOR_VERSION=8
2242
2243
2244 $as_echo "#define PYGOBJECT_MICRO_VERSION 0" >>confdefs.h
2245
2246 PYGOBJECT_MICRO_VERSION=0
2247
2248
2249 ac_config_headers="$ac_config_headers config.h"
2250
2251 # Check whether --enable-silent-rules was given.
2252 if test "${enable_silent_rules+set}" = set; then :
2253   enableval=$enable_silent_rules;
2254 fi
2255
2256 case $enable_silent_rules in
2257 yes) AM_DEFAULT_VERBOSITY=0;;
2258 no)  AM_DEFAULT_VERBOSITY=1;;
2259 *)   AM_DEFAULT_VERBOSITY=0;;
2260 esac
2261 am_make=${MAKE-make}
2262 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $am_make supports nested variables" >&5
2263 $as_echo_n "checking whether $am_make supports nested variables... " >&6; }
2264 if ${am_cv_make_support_nested_variables+:} false; then :
2265   $as_echo_n "(cached) " >&6
2266 else
2267   if $as_echo 'TRUE=$(BAR$(V))
2268 BAR0=false
2269 BAR1=true
2270 V=1
2271 am__doit:
2272         @$(TRUE)
2273 .PHONY: am__doit' | $am_make -f - >/dev/null 2>&1; then
2274   am_cv_make_support_nested_variables=yes
2275 else
2276   am_cv_make_support_nested_variables=no
2277 fi
2278 fi
2279 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_make_support_nested_variables" >&5
2280 $as_echo "$am_cv_make_support_nested_variables" >&6; }
2281 if test $am_cv_make_support_nested_variables = yes; then
2282     AM_V='$(V)'
2283   AM_DEFAULT_V='$(AM_DEFAULT_VERBOSITY)'
2284 else
2285   AM_V=$AM_DEFAULT_VERBOSITY
2286   AM_DEFAULT_V=$AM_DEFAULT_VERBOSITY
2287 fi
2288 AM_BACKSLASH='\'
2289
2290 am__api_version='1.11'
2291
2292 ac_aux_dir=
2293 for ac_dir in "$srcdir" "$srcdir/.." "$srcdir/../.."; do
2294   if test -f "$ac_dir/install-sh"; then
2295     ac_aux_dir=$ac_dir
2296     ac_install_sh="$ac_aux_dir/install-sh -c"
2297     break
2298   elif test -f "$ac_dir/install.sh"; then
2299     ac_aux_dir=$ac_dir
2300     ac_install_sh="$ac_aux_dir/install.sh -c"
2301     break
2302   elif test -f "$ac_dir/shtool"; then
2303     ac_aux_dir=$ac_dir
2304     ac_install_sh="$ac_aux_dir/shtool install -c"
2305     break
2306   fi
2307 done
2308 if test -z "$ac_aux_dir"; then
2309   as_fn_error $? "cannot find install-sh, install.sh, or shtool in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" "$LINENO" 5
2310 fi
2311
2312 # These three variables are undocumented and unsupported,
2313 # and are intended to be withdrawn in a future Autoconf release.
2314 # They can cause serious problems if a builder's source tree is in a directory
2315 # whose full name contains unusual characters.
2316 ac_config_guess="$SHELL $ac_aux_dir/config.guess"  # Please don't use this var.
2317 ac_config_sub="$SHELL $ac_aux_dir/config.sub"  # Please don't use this var.
2318 ac_configure="$SHELL $ac_aux_dir/configure"  # Please don't use this var.
2319
2320
2321 # Find a good install program.  We prefer a C program (faster),
2322 # so one script is as good as another.  But avoid the broken or
2323 # incompatible versions:
2324 # SysV /etc/install, /usr/sbin/install
2325 # SunOS /usr/etc/install
2326 # IRIX /sbin/install
2327 # AIX /bin/install
2328 # AmigaOS /C/install, which installs bootblocks on floppy discs
2329 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
2330 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
2331 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
2332 # OS/2's system install, which has a completely different semantic
2333 # ./install, which can be erroneously created by make from ./install.sh.
2334 # Reject install programs that cannot install multiple files.
2335 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a BSD-compatible install" >&5
2336 $as_echo_n "checking for a BSD-compatible install... " >&6; }
2337 if test -z "$INSTALL"; then
2338 if ${ac_cv_path_install+:} false; then :
2339   $as_echo_n "(cached) " >&6
2340 else
2341   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2342 for as_dir in $PATH
2343 do
2344   IFS=$as_save_IFS
2345   test -z "$as_dir" && as_dir=.
2346     # Account for people who put trailing slashes in PATH elements.
2347 case $as_dir/ in #((
2348   ./ | .// | /[cC]/* | \
2349   /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
2350   ?:[\\/]os2[\\/]install[\\/]* | ?:[\\/]OS2[\\/]INSTALL[\\/]* | \
2351   /usr/ucb/* ) ;;
2352   *)
2353     # OSF1 and SCO ODT 3.0 have their own names for install.
2354     # Don't use installbsd from OSF since it installs stuff as root
2355     # by default.
2356     for ac_prog in ginstall scoinst install; do
2357       for ac_exec_ext in '' $ac_executable_extensions; do
2358         if as_fn_executable_p "$as_dir/$ac_prog$ac_exec_ext"; then
2359           if test $ac_prog = install &&
2360             grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
2361             # AIX install.  It has an incompatible calling convention.
2362             :
2363           elif test $ac_prog = install &&
2364             grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
2365             # program-specific install script used by HP pwplus--don't use.
2366             :
2367           else
2368             rm -rf conftest.one conftest.two conftest.dir
2369             echo one > conftest.one
2370             echo two > conftest.two
2371             mkdir conftest.dir
2372             if "$as_dir/$ac_prog$ac_exec_ext" -c conftest.one conftest.two "`pwd`/conftest.dir" &&
2373               test -s conftest.one && test -s conftest.two &&
2374               test -s conftest.dir/conftest.one &&
2375               test -s conftest.dir/conftest.two
2376             then
2377               ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
2378               break 3
2379             fi
2380           fi
2381         fi
2382       done
2383     done
2384     ;;
2385 esac
2386
2387   done
2388 IFS=$as_save_IFS
2389
2390 rm -rf conftest.one conftest.two conftest.dir
2391
2392 fi
2393   if test "${ac_cv_path_install+set}" = set; then
2394     INSTALL=$ac_cv_path_install
2395   else
2396     # As a last resort, use the slow shell script.  Don't cache a
2397     # value for INSTALL within a source directory, because that will
2398     # break other packages using the cache if that directory is
2399     # removed, or if the value is a relative name.
2400     INSTALL=$ac_install_sh
2401   fi
2402 fi
2403 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $INSTALL" >&5
2404 $as_echo "$INSTALL" >&6; }
2405
2406 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
2407 # It thinks the first close brace ends the variable substitution.
2408 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
2409
2410 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
2411
2412 test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
2413
2414 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether build environment is sane" >&5
2415 $as_echo_n "checking whether build environment is sane... " >&6; }
2416 # Just in case
2417 sleep 1
2418 echo timestamp > conftest.file
2419 # Reject unsafe characters in $srcdir or the absolute working directory
2420 # name.  Accept space and tab only in the latter.
2421 am_lf='
2422 '
2423 case `pwd` in
2424   *[\\\"\#\$\&\'\`$am_lf]*)
2425     as_fn_error $? "unsafe absolute working directory name" "$LINENO" 5;;
2426 esac
2427 case $srcdir in
2428   *[\\\"\#\$\&\'\`$am_lf\ \     ]*)
2429     as_fn_error $? "unsafe srcdir value: \`$srcdir'" "$LINENO" 5;;
2430 esac
2431
2432 # Do `set' in a subshell so we don't clobber the current shell's
2433 # arguments.  Must try -L first in case configure is actually a
2434 # symlink; some systems play weird games with the mod time of symlinks
2435 # (eg FreeBSD returns the mod time of the symlink's containing
2436 # directory).
2437 if (
2438    set X `ls -Lt "$srcdir/configure" conftest.file 2> /dev/null`
2439    if test "$*" = "X"; then
2440       # -L didn't work.
2441       set X `ls -t "$srcdir/configure" conftest.file`
2442    fi
2443    rm -f conftest.file
2444    if test "$*" != "X $srcdir/configure conftest.file" \
2445       && test "$*" != "X conftest.file $srcdir/configure"; then
2446
2447       # If neither matched, then we have a broken ls.  This can happen
2448       # if, for instance, CONFIG_SHELL is bash and it inherits a
2449       # broken ls alias from the environment.  This has actually
2450       # happened.  Such a system could not be considered "sane".
2451       as_fn_error $? "ls -t appears to fail.  Make sure there is not a broken
2452 alias in your environment" "$LINENO" 5
2453    fi
2454
2455    test "$2" = conftest.file
2456    )
2457 then
2458    # Ok.
2459    :
2460 else
2461    as_fn_error $? "newly created file is older than distributed files!
2462 Check your system clock" "$LINENO" 5
2463 fi
2464 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
2465 $as_echo "yes" >&6; }
2466 test "$program_prefix" != NONE &&
2467   program_transform_name="s&^&$program_prefix&;$program_transform_name"
2468 # Use a double $ so make ignores it.
2469 test "$program_suffix" != NONE &&
2470   program_transform_name="s&\$&$program_suffix&;$program_transform_name"
2471 # Double any \ or $.
2472 # By default was `s,x,x', remove it if useless.
2473 ac_script='s/[\\$]/&&/g;s/;s,x,x,$//'
2474 program_transform_name=`$as_echo "$program_transform_name" | sed "$ac_script"`
2475
2476 # expand $ac_aux_dir to an absolute path
2477 am_aux_dir=`cd $ac_aux_dir && pwd`
2478
2479 if test x"${MISSING+set}" != xset; then
2480   case $am_aux_dir in
2481   *\ * | *\     *)
2482     MISSING="\${SHELL} \"$am_aux_dir/missing\"" ;;
2483   *)
2484     MISSING="\${SHELL} $am_aux_dir/missing" ;;
2485   esac
2486 fi
2487 # Use eval to expand $SHELL
2488 if eval "$MISSING --run true"; then
2489   am_missing_run="$MISSING --run "
2490 else
2491   am_missing_run=
2492   { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \`missing' script is too old or missing" >&5
2493 $as_echo "$as_me: WARNING: \`missing' script is too old or missing" >&2;}
2494 fi
2495
2496 if test x"${install_sh}" != xset; then
2497   case $am_aux_dir in
2498   *\ * | *\     *)
2499     install_sh="\${SHELL} '$am_aux_dir/install-sh'" ;;
2500   *)
2501     install_sh="\${SHELL} $am_aux_dir/install-sh"
2502   esac
2503 fi
2504
2505 # Installed binaries are usually stripped using `strip' when the user
2506 # run `make install-strip'.  However `strip' might not be the right
2507 # tool to use in cross-compilation environments, therefore Automake
2508 # will honor the `STRIP' environment variable to overrule this program.
2509 if test "$cross_compiling" != no; then
2510   if test -n "$ac_tool_prefix"; then
2511   # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
2512 set dummy ${ac_tool_prefix}strip; ac_word=$2
2513 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2514 $as_echo_n "checking for $ac_word... " >&6; }
2515 if ${ac_cv_prog_STRIP+:} false; then :
2516   $as_echo_n "(cached) " >&6
2517 else
2518   if test -n "$STRIP"; then
2519   ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
2520 else
2521 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2522 for as_dir in $PATH
2523 do
2524   IFS=$as_save_IFS
2525   test -z "$as_dir" && as_dir=.
2526     for ac_exec_ext in '' $ac_executable_extensions; do
2527   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2528     ac_cv_prog_STRIP="${ac_tool_prefix}strip"
2529     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2530     break 2
2531   fi
2532 done
2533   done
2534 IFS=$as_save_IFS
2535
2536 fi
2537 fi
2538 STRIP=$ac_cv_prog_STRIP
2539 if test -n "$STRIP"; then
2540   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
2541 $as_echo "$STRIP" >&6; }
2542 else
2543   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2544 $as_echo "no" >&6; }
2545 fi
2546
2547
2548 fi
2549 if test -z "$ac_cv_prog_STRIP"; then
2550   ac_ct_STRIP=$STRIP
2551   # Extract the first word of "strip", so it can be a program name with args.
2552 set dummy strip; ac_word=$2
2553 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2554 $as_echo_n "checking for $ac_word... " >&6; }
2555 if ${ac_cv_prog_ac_ct_STRIP+:} false; then :
2556   $as_echo_n "(cached) " >&6
2557 else
2558   if test -n "$ac_ct_STRIP"; then
2559   ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
2560 else
2561 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2562 for as_dir in $PATH
2563 do
2564   IFS=$as_save_IFS
2565   test -z "$as_dir" && as_dir=.
2566     for ac_exec_ext in '' $ac_executable_extensions; do
2567   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2568     ac_cv_prog_ac_ct_STRIP="strip"
2569     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2570     break 2
2571   fi
2572 done
2573   done
2574 IFS=$as_save_IFS
2575
2576 fi
2577 fi
2578 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
2579 if test -n "$ac_ct_STRIP"; then
2580   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
2581 $as_echo "$ac_ct_STRIP" >&6; }
2582 else
2583   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2584 $as_echo "no" >&6; }
2585 fi
2586
2587   if test "x$ac_ct_STRIP" = x; then
2588     STRIP=":"
2589   else
2590     case $cross_compiling:$ac_tool_warned in
2591 yes:)
2592 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
2593 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
2594 ac_tool_warned=yes ;;
2595 esac
2596     STRIP=$ac_ct_STRIP
2597   fi
2598 else
2599   STRIP="$ac_cv_prog_STRIP"
2600 fi
2601
2602 fi
2603 INSTALL_STRIP_PROGRAM="\$(install_sh) -c -s"
2604
2605 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a thread-safe mkdir -p" >&5
2606 $as_echo_n "checking for a thread-safe mkdir -p... " >&6; }
2607 if test -z "$MKDIR_P"; then
2608   if ${ac_cv_path_mkdir+:} false; then :
2609   $as_echo_n "(cached) " >&6
2610 else
2611   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2612 for as_dir in $PATH$PATH_SEPARATOR/opt/sfw/bin
2613 do
2614   IFS=$as_save_IFS
2615   test -z "$as_dir" && as_dir=.
2616     for ac_prog in mkdir gmkdir; do
2617          for ac_exec_ext in '' $ac_executable_extensions; do
2618            as_fn_executable_p "$as_dir/$ac_prog$ac_exec_ext" || continue
2619            case `"$as_dir/$ac_prog$ac_exec_ext" --version 2>&1` in #(
2620              'mkdir (GNU coreutils) '* | \
2621              'mkdir (coreutils) '* | \
2622              'mkdir (fileutils) '4.1*)
2623                ac_cv_path_mkdir=$as_dir/$ac_prog$ac_exec_ext
2624                break 3;;
2625            esac
2626          done
2627        done
2628   done
2629 IFS=$as_save_IFS
2630
2631 fi
2632
2633   test -d ./--version && rmdir ./--version
2634   if test "${ac_cv_path_mkdir+set}" = set; then
2635     MKDIR_P="$ac_cv_path_mkdir -p"
2636   else
2637     # As a last resort, use the slow shell script.  Don't cache a
2638     # value for MKDIR_P within a source directory, because that will
2639     # break other packages using the cache if that directory is
2640     # removed, or if the value is a relative name.
2641     MKDIR_P="$ac_install_sh -d"
2642   fi
2643 fi
2644 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MKDIR_P" >&5
2645 $as_echo "$MKDIR_P" >&6; }
2646
2647 mkdir_p="$MKDIR_P"
2648 case $mkdir_p in
2649   [\\/$]* | ?:[\\/]*) ;;
2650   */*) mkdir_p="\$(top_builddir)/$mkdir_p" ;;
2651 esac
2652
2653 for ac_prog in gawk mawk nawk awk
2654 do
2655   # Extract the first word of "$ac_prog", so it can be a program name with args.
2656 set dummy $ac_prog; ac_word=$2
2657 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2658 $as_echo_n "checking for $ac_word... " >&6; }
2659 if ${ac_cv_prog_AWK+:} false; then :
2660   $as_echo_n "(cached) " >&6
2661 else
2662   if test -n "$AWK"; then
2663   ac_cv_prog_AWK="$AWK" # Let the user override the test.
2664 else
2665 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2666 for as_dir in $PATH
2667 do
2668   IFS=$as_save_IFS
2669   test -z "$as_dir" && as_dir=.
2670     for ac_exec_ext in '' $ac_executable_extensions; do
2671   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2672     ac_cv_prog_AWK="$ac_prog"
2673     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2674     break 2
2675   fi
2676 done
2677   done
2678 IFS=$as_save_IFS
2679
2680 fi
2681 fi
2682 AWK=$ac_cv_prog_AWK
2683 if test -n "$AWK"; then
2684   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AWK" >&5
2685 $as_echo "$AWK" >&6; }
2686 else
2687   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2688 $as_echo "no" >&6; }
2689 fi
2690
2691
2692   test -n "$AWK" && break
2693 done
2694
2695 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5
2696 $as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; }
2697 set x ${MAKE-make}
2698 ac_make=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
2699 if eval \${ac_cv_prog_make_${ac_make}_set+:} false; then :
2700   $as_echo_n "(cached) " >&6
2701 else
2702   cat >conftest.make <<\_ACEOF
2703 SHELL = /bin/sh
2704 all:
2705         @echo '@@@%%%=$(MAKE)=@@@%%%'
2706 _ACEOF
2707 # GNU make sometimes prints "make[1]: Entering ...", which would confuse us.
2708 case `${MAKE-make} -f conftest.make 2>/dev/null` in
2709   *@@@%%%=?*=@@@%%%*)
2710     eval ac_cv_prog_make_${ac_make}_set=yes;;
2711   *)
2712     eval ac_cv_prog_make_${ac_make}_set=no;;
2713 esac
2714 rm -f conftest.make
2715 fi
2716 if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then
2717   { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
2718 $as_echo "yes" >&6; }
2719   SET_MAKE=
2720 else
2721   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2722 $as_echo "no" >&6; }
2723   SET_MAKE="MAKE=${MAKE-make}"
2724 fi
2725
2726 rm -rf .tst 2>/dev/null
2727 mkdir .tst 2>/dev/null
2728 if test -d .tst; then
2729   am__leading_dot=.
2730 else
2731   am__leading_dot=_
2732 fi
2733 rmdir .tst 2>/dev/null
2734
2735 if test "`cd $srcdir && pwd`" != "`pwd`"; then
2736   # Use -I$(srcdir) only when $(srcdir) != ., so that make's output
2737   # is not polluted with repeated "-I."
2738   am__isrc=' -I$(srcdir)'
2739   # test to see if srcdir already configured
2740   if test -f $srcdir/config.status; then
2741     as_fn_error $? "source directory already configured; run \"make distclean\" there first" "$LINENO" 5
2742   fi
2743 fi
2744
2745 # test whether we have cygpath
2746 if test -z "$CYGPATH_W"; then
2747   if (cygpath --version) >/dev/null 2>/dev/null; then
2748     CYGPATH_W='cygpath -w'
2749   else
2750     CYGPATH_W=echo
2751   fi
2752 fi
2753
2754
2755 # Define the identity of the package.
2756  PACKAGE='pygobject'
2757  VERSION='3.8.0'
2758
2759
2760 cat >>confdefs.h <<_ACEOF
2761 #define PACKAGE "$PACKAGE"
2762 _ACEOF
2763
2764
2765 cat >>confdefs.h <<_ACEOF
2766 #define VERSION "$VERSION"
2767 _ACEOF
2768
2769 # Some tools Automake needs.
2770
2771 ACLOCAL=${ACLOCAL-"${am_missing_run}aclocal-${am__api_version}"}
2772
2773
2774 AUTOCONF=${AUTOCONF-"${am_missing_run}autoconf"}
2775
2776
2777 AUTOMAKE=${AUTOMAKE-"${am_missing_run}automake-${am__api_version}"}
2778
2779
2780 AUTOHEADER=${AUTOHEADER-"${am_missing_run}autoheader"}
2781
2782
2783 MAKEINFO=${MAKEINFO-"${am_missing_run}makeinfo"}
2784
2785 # We need awk for the "check" target.  The system "awk" is bad on
2786 # some platforms.
2787 # Always define AMTAR for backward compatibility.  Yes, it's still used
2788 # in the wild :-(  We should find a proper way to deprecate it ...
2789 AMTAR='$${TAR-tar}'
2790
2791 am__tar='$${TAR-tar} chof - "$$tardir"' am__untar='$${TAR-tar} xf -'
2792
2793
2794
2795
2796
2797
2798 ACLOCAL="$ACLOCAL $ACLOCAL_FLAGS"
2799
2800 # Make sure we can run config.sub.
2801 $SHELL "$ac_aux_dir/config.sub" sun4 >/dev/null 2>&1 ||
2802   as_fn_error $? "cannot run $SHELL $ac_aux_dir/config.sub" "$LINENO" 5
2803
2804 { $as_echo "$as_me:${as_lineno-$LINENO}: checking build system type" >&5
2805 $as_echo_n "checking build system type... " >&6; }
2806 if ${ac_cv_build+:} false; then :
2807   $as_echo_n "(cached) " >&6
2808 else
2809   ac_build_alias=$build_alias
2810 test "x$ac_build_alias" = x &&
2811   ac_build_alias=`$SHELL "$ac_aux_dir/config.guess"`
2812 test "x$ac_build_alias" = x &&
2813   as_fn_error $? "cannot guess build type; you must specify one" "$LINENO" 5
2814 ac_cv_build=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
2815   as_fn_error $? "$SHELL $ac_aux_dir/config.sub $ac_build_alias failed" "$LINENO" 5
2816
2817 fi
2818 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_build" >&5
2819 $as_echo "$ac_cv_build" >&6; }
2820 case $ac_cv_build in
2821 *-*-*) ;;
2822 *) as_fn_error $? "invalid value of canonical build" "$LINENO" 5;;
2823 esac
2824 build=$ac_cv_build
2825 ac_save_IFS=$IFS; IFS='-'
2826 set x $ac_cv_build
2827 shift
2828 build_cpu=$1
2829 build_vendor=$2
2830 shift; shift
2831 # Remember, the first character of IFS is used to create $*,
2832 # except with old shells:
2833 build_os=$*
2834 IFS=$ac_save_IFS
2835 case $build_os in *\ *) build_os=`echo "$build_os" | sed 's/ /-/g'`;; esac
2836
2837
2838 { $as_echo "$as_me:${as_lineno-$LINENO}: checking host system type" >&5
2839 $as_echo_n "checking host system type... " >&6; }
2840 if ${ac_cv_host+:} false; then :
2841   $as_echo_n "(cached) " >&6
2842 else
2843   if test "x$host_alias" = x; then
2844   ac_cv_host=$ac_cv_build
2845 else
2846   ac_cv_host=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
2847     as_fn_error $? "$SHELL $ac_aux_dir/config.sub $host_alias failed" "$LINENO" 5
2848 fi
2849
2850 fi
2851 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_host" >&5
2852 $as_echo "$ac_cv_host" >&6; }
2853 case $ac_cv_host in
2854 *-*-*) ;;
2855 *) as_fn_error $? "invalid value of canonical host" "$LINENO" 5;;
2856 esac
2857 host=$ac_cv_host
2858 ac_save_IFS=$IFS; IFS='-'
2859 set x $ac_cv_host
2860 shift
2861 host_cpu=$1
2862 host_vendor=$2
2863 shift; shift
2864 # Remember, the first character of IFS is used to create $*,
2865 # except with old shells:
2866 host_os=$*
2867 IFS=$ac_save_IFS
2868 case $host_os in *\ *) host_os=`echo "$host_os" | sed 's/ /-/g'`;; esac
2869
2870
2871 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for some Win32 platform" >&5
2872 $as_echo_n "checking for some Win32 platform... " >&6; }
2873 case "$host" in
2874   *-*-mingw*|*-*-cygwin*)
2875     platform_win32=yes
2876     ;;
2877   *)
2878     platform_win32=no
2879     ;;
2880 esac
2881 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $platform_win32" >&5
2882 $as_echo "$platform_win32" >&6; }
2883  if test "$platform_win32" = "yes"; then
2884   PLATFORM_WIN32_TRUE=
2885   PLATFORM_WIN32_FALSE='#'
2886 else
2887   PLATFORM_WIN32_TRUE='#'
2888   PLATFORM_WIN32_FALSE=
2889 fi
2890
2891
2892 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for native Win32" >&5
2893 $as_echo_n "checking for native Win32... " >&6; }
2894 case "$host" in
2895   *-*-mingw*)
2896     os_win32=yes
2897     ;;
2898   *)
2899     os_win32=no
2900     ;;
2901 esac
2902 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $os_win32" >&5
2903 $as_echo "$os_win32" >&6; }
2904  if test "$os_win32" = "yes"; then
2905   OS_WIN32_TRUE=
2906   OS_WIN32_FALSE='#'
2907 else
2908   OS_WIN32_TRUE='#'
2909   OS_WIN32_FALSE=
2910 fi
2911
2912
2913
2914 case `pwd` in
2915   *\ * | *\     *)
2916     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Libtool does not cope well with whitespace in \`pwd\`" >&5
2917 $as_echo "$as_me: WARNING: Libtool does not cope well with whitespace in \`pwd\`" >&2;} ;;
2918 esac
2919
2920
2921
2922 macro_version='2.4.2'
2923 macro_revision='1.3337'
2924
2925
2926
2927
2928
2929
2930
2931
2932
2933
2934
2935
2936
2937 ltmain="$ac_aux_dir/ltmain.sh"
2938
2939 # Backslashify metacharacters that are still active within
2940 # double-quoted strings.
2941 sed_quote_subst='s/\(["`$\\]\)/\\\1/g'
2942
2943 # Same as above, but do not quote variable references.
2944 double_quote_subst='s/\(["`\\]\)/\\\1/g'
2945
2946 # Sed substitution to delay expansion of an escaped shell variable in a
2947 # double_quote_subst'ed string.
2948 delay_variable_subst='s/\\\\\\\\\\\$/\\\\\\$/g'
2949
2950 # Sed substitution to delay expansion of an escaped single quote.
2951 delay_single_quote_subst='s/'\''/'\'\\\\\\\'\''/g'
2952
2953 # Sed substitution to avoid accidental globbing in evaled expressions
2954 no_glob_subst='s/\*/\\\*/g'
2955
2956 ECHO='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
2957 ECHO=$ECHO$ECHO$ECHO$ECHO$ECHO
2958 ECHO=$ECHO$ECHO$ECHO$ECHO$ECHO$ECHO
2959
2960 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to print strings" >&5
2961 $as_echo_n "checking how to print strings... " >&6; }
2962 # Test print first, because it will be a builtin if present.
2963 if test "X`( print -r -- -n ) 2>/dev/null`" = X-n && \
2964    test "X`print -r -- $ECHO 2>/dev/null`" = "X$ECHO"; then
2965   ECHO='print -r --'
2966 elif test "X`printf %s $ECHO 2>/dev/null`" = "X$ECHO"; then
2967   ECHO='printf %s\n'
2968 else
2969   # Use this function as a fallback that always works.
2970   func_fallback_echo ()
2971   {
2972     eval 'cat <<_LTECHO_EOF
2973 $1
2974 _LTECHO_EOF'
2975   }
2976   ECHO='func_fallback_echo'
2977 fi
2978
2979 # func_echo_all arg...
2980 # Invoke $ECHO with all args, space-separated.
2981 func_echo_all ()
2982 {
2983     $ECHO ""
2984 }
2985
2986 case "$ECHO" in
2987   printf*) { $as_echo "$as_me:${as_lineno-$LINENO}: result: printf" >&5
2988 $as_echo "printf" >&6; } ;;
2989   print*) { $as_echo "$as_me:${as_lineno-$LINENO}: result: print -r" >&5
2990 $as_echo "print -r" >&6; } ;;
2991   *) { $as_echo "$as_me:${as_lineno-$LINENO}: result: cat" >&5
2992 $as_echo "cat" >&6; } ;;
2993 esac
2994
2995
2996
2997
2998
2999
3000
3001
3002
3003
3004
3005
3006
3007
3008 DEPDIR="${am__leading_dot}deps"
3009
3010 ac_config_commands="$ac_config_commands depfiles"
3011
3012
3013 am_make=${MAKE-make}
3014 cat > confinc << 'END'
3015 am__doit:
3016         @echo this is the am__doit target
3017 .PHONY: am__doit
3018 END
3019 # If we don't find an include directive, just comment out the code.
3020 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for style of include used by $am_make" >&5
3021 $as_echo_n "checking for style of include used by $am_make... " >&6; }
3022 am__include="#"
3023 am__quote=
3024 _am_result=none
3025 # First try GNU make style include.
3026 echo "include confinc" > confmf
3027 # Ignore all kinds of additional output from `make'.
3028 case `$am_make -s -f confmf 2> /dev/null` in #(
3029 *the\ am__doit\ target*)
3030   am__include=include
3031   am__quote=
3032   _am_result=GNU
3033   ;;
3034 esac
3035 # Now try BSD make style include.
3036 if test "$am__include" = "#"; then
3037    echo '.include "confinc"' > confmf
3038    case `$am_make -s -f confmf 2> /dev/null` in #(
3039    *the\ am__doit\ target*)
3040      am__include=.include
3041      am__quote="\""
3042      _am_result=BSD
3043      ;;
3044    esac
3045 fi
3046
3047
3048 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $_am_result" >&5
3049 $as_echo "$_am_result" >&6; }
3050 rm -f confinc confmf
3051
3052 # Check whether --enable-dependency-tracking was given.
3053 if test "${enable_dependency_tracking+set}" = set; then :
3054   enableval=$enable_dependency_tracking;
3055 fi
3056
3057 if test "x$enable_dependency_tracking" != xno; then
3058   am_depcomp="$ac_aux_dir/depcomp"
3059   AMDEPBACKSLASH='\'
3060   am__nodep='_no'
3061 fi
3062  if test "x$enable_dependency_tracking" != xno; then
3063   AMDEP_TRUE=
3064   AMDEP_FALSE='#'
3065 else
3066   AMDEP_TRUE='#'
3067   AMDEP_FALSE=
3068 fi
3069
3070
3071 ac_ext=c
3072 ac_cpp='$CPP $CPPFLAGS'
3073 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3074 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3075 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3076 if test -n "$ac_tool_prefix"; then
3077   # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
3078 set dummy ${ac_tool_prefix}gcc; ac_word=$2
3079 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3080 $as_echo_n "checking for $ac_word... " >&6; }
3081 if ${ac_cv_prog_CC+:} false; then :
3082   $as_echo_n "(cached) " >&6
3083 else
3084   if test -n "$CC"; then
3085   ac_cv_prog_CC="$CC" # Let the user override the test.
3086 else
3087 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3088 for as_dir in $PATH
3089 do
3090   IFS=$as_save_IFS
3091   test -z "$as_dir" && as_dir=.
3092     for ac_exec_ext in '' $ac_executable_extensions; do
3093   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3094     ac_cv_prog_CC="${ac_tool_prefix}gcc"
3095     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3096     break 2
3097   fi
3098 done
3099   done
3100 IFS=$as_save_IFS
3101
3102 fi
3103 fi
3104 CC=$ac_cv_prog_CC
3105 if test -n "$CC"; then
3106   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3107 $as_echo "$CC" >&6; }
3108 else
3109   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3110 $as_echo "no" >&6; }
3111 fi
3112
3113
3114 fi
3115 if test -z "$ac_cv_prog_CC"; then
3116   ac_ct_CC=$CC
3117   # Extract the first word of "gcc", so it can be a program name with args.
3118 set dummy gcc; ac_word=$2
3119 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3120 $as_echo_n "checking for $ac_word... " >&6; }
3121 if ${ac_cv_prog_ac_ct_CC+:} false; then :
3122   $as_echo_n "(cached) " >&6
3123 else
3124   if test -n "$ac_ct_CC"; then
3125   ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
3126 else
3127 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3128 for as_dir in $PATH
3129 do
3130   IFS=$as_save_IFS
3131   test -z "$as_dir" && as_dir=.
3132     for ac_exec_ext in '' $ac_executable_extensions; do
3133   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3134     ac_cv_prog_ac_ct_CC="gcc"
3135     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3136     break 2
3137   fi
3138 done
3139   done
3140 IFS=$as_save_IFS
3141
3142 fi
3143 fi
3144 ac_ct_CC=$ac_cv_prog_ac_ct_CC
3145 if test -n "$ac_ct_CC"; then
3146   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
3147 $as_echo "$ac_ct_CC" >&6; }
3148 else
3149   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3150 $as_echo "no" >&6; }
3151 fi
3152
3153   if test "x$ac_ct_CC" = x; then
3154     CC=""
3155   else
3156     case $cross_compiling:$ac_tool_warned in
3157 yes:)
3158 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3159 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3160 ac_tool_warned=yes ;;
3161 esac
3162     CC=$ac_ct_CC
3163   fi
3164 else
3165   CC="$ac_cv_prog_CC"
3166 fi
3167
3168 if test -z "$CC"; then
3169           if test -n "$ac_tool_prefix"; then
3170     # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
3171 set dummy ${ac_tool_prefix}cc; ac_word=$2
3172 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3173 $as_echo_n "checking for $ac_word... " >&6; }
3174 if ${ac_cv_prog_CC+:} false; then :
3175   $as_echo_n "(cached) " >&6
3176 else
3177   if test -n "$CC"; then
3178   ac_cv_prog_CC="$CC" # Let the user override the test.
3179 else
3180 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3181 for as_dir in $PATH
3182 do
3183   IFS=$as_save_IFS
3184   test -z "$as_dir" && as_dir=.
3185     for ac_exec_ext in '' $ac_executable_extensions; do
3186   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3187     ac_cv_prog_CC="${ac_tool_prefix}cc"
3188     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3189     break 2
3190   fi
3191 done
3192   done
3193 IFS=$as_save_IFS
3194
3195 fi
3196 fi
3197 CC=$ac_cv_prog_CC
3198 if test -n "$CC"; then
3199   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3200 $as_echo "$CC" >&6; }
3201 else
3202   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3203 $as_echo "no" >&6; }
3204 fi
3205
3206
3207   fi
3208 fi
3209 if test -z "$CC"; then
3210   # Extract the first word of "cc", so it can be a program name with args.
3211 set dummy cc; ac_word=$2
3212 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3213 $as_echo_n "checking for $ac_word... " >&6; }
3214 if ${ac_cv_prog_CC+:} false; then :
3215   $as_echo_n "(cached) " >&6
3216 else
3217   if test -n "$CC"; then
3218   ac_cv_prog_CC="$CC" # Let the user override the test.
3219 else
3220   ac_prog_rejected=no
3221 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3222 for as_dir in $PATH
3223 do
3224   IFS=$as_save_IFS
3225   test -z "$as_dir" && as_dir=.
3226     for ac_exec_ext in '' $ac_executable_extensions; do
3227   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3228     if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
3229        ac_prog_rejected=yes
3230        continue
3231      fi
3232     ac_cv_prog_CC="cc"
3233     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3234     break 2
3235   fi
3236 done
3237   done
3238 IFS=$as_save_IFS
3239
3240 if test $ac_prog_rejected = yes; then
3241   # We found a bogon in the path, so make sure we never use it.
3242   set dummy $ac_cv_prog_CC
3243   shift
3244   if test $# != 0; then
3245     # We chose a different compiler from the bogus one.
3246     # However, it has the same basename, so the bogon will be chosen
3247     # first if we set CC to just the basename; use the full file name.
3248     shift
3249     ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
3250   fi
3251 fi
3252 fi
3253 fi
3254 CC=$ac_cv_prog_CC
3255 if test -n "$CC"; then
3256   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3257 $as_echo "$CC" >&6; }
3258 else
3259   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3260 $as_echo "no" >&6; }
3261 fi
3262
3263
3264 fi
3265 if test -z "$CC"; then
3266   if test -n "$ac_tool_prefix"; then
3267   for ac_prog in cl.exe
3268   do
3269     # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
3270 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
3271 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3272 $as_echo_n "checking for $ac_word... " >&6; }
3273 if ${ac_cv_prog_CC+:} false; then :
3274   $as_echo_n "(cached) " >&6
3275 else
3276   if test -n "$CC"; then
3277   ac_cv_prog_CC="$CC" # Let the user override the test.
3278 else
3279 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3280 for as_dir in $PATH
3281 do
3282   IFS=$as_save_IFS
3283   test -z "$as_dir" && as_dir=.
3284     for ac_exec_ext in '' $ac_executable_extensions; do
3285   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3286     ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
3287     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3288     break 2
3289   fi
3290 done
3291   done
3292 IFS=$as_save_IFS
3293
3294 fi
3295 fi
3296 CC=$ac_cv_prog_CC
3297 if test -n "$CC"; then
3298   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3299 $as_echo "$CC" >&6; }
3300 else
3301   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3302 $as_echo "no" >&6; }
3303 fi
3304
3305
3306     test -n "$CC" && break
3307   done
3308 fi
3309 if test -z "$CC"; then
3310   ac_ct_CC=$CC
3311   for ac_prog in cl.exe
3312 do
3313   # Extract the first word of "$ac_prog", so it can be a program name with args.
3314 set dummy $ac_prog; ac_word=$2
3315 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3316 $as_echo_n "checking for $ac_word... " >&6; }
3317 if ${ac_cv_prog_ac_ct_CC+:} false; then :
3318   $as_echo_n "(cached) " >&6
3319 else
3320   if test -n "$ac_ct_CC"; then
3321   ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
3322 else
3323 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3324 for as_dir in $PATH
3325 do
3326   IFS=$as_save_IFS
3327   test -z "$as_dir" && as_dir=.
3328     for ac_exec_ext in '' $ac_executable_extensions; do
3329   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3330     ac_cv_prog_ac_ct_CC="$ac_prog"
3331     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3332     break 2
3333   fi
3334 done
3335   done
3336 IFS=$as_save_IFS
3337
3338 fi
3339 fi
3340 ac_ct_CC=$ac_cv_prog_ac_ct_CC
3341 if test -n "$ac_ct_CC"; then
3342   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
3343 $as_echo "$ac_ct_CC" >&6; }
3344 else
3345   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3346 $as_echo "no" >&6; }
3347 fi
3348
3349
3350   test -n "$ac_ct_CC" && break
3351 done
3352
3353   if test "x$ac_ct_CC" = x; then
3354     CC=""
3355   else
3356     case $cross_compiling:$ac_tool_warned in
3357 yes:)
3358 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3359 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3360 ac_tool_warned=yes ;;
3361 esac
3362     CC=$ac_ct_CC
3363   fi
3364 fi
3365
3366 fi
3367
3368
3369 test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3370 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3371 as_fn_error $? "no acceptable C compiler found in \$PATH
3372 See \`config.log' for more details" "$LINENO" 5; }
3373
3374 # Provide some information about the compiler.
3375 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
3376 set X $ac_compile
3377 ac_compiler=$2
3378 for ac_option in --version -v -V -qversion; do
3379   { { ac_try="$ac_compiler $ac_option >&5"
3380 case "(($ac_try" in
3381   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3382   *) ac_try_echo=$ac_try;;
3383 esac
3384 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3385 $as_echo "$ac_try_echo"; } >&5
3386   (eval "$ac_compiler $ac_option >&5") 2>conftest.err
3387   ac_status=$?
3388   if test -s conftest.err; then
3389     sed '10a\
3390 ... rest of stderr output deleted ...
3391          10q' conftest.err >conftest.er1
3392     cat conftest.er1 >&5
3393   fi
3394   rm -f conftest.er1 conftest.err
3395   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3396   test $ac_status = 0; }
3397 done
3398
3399 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3400 /* end confdefs.h.  */
3401
3402 int
3403 main ()
3404 {
3405
3406   ;
3407   return 0;
3408 }
3409 _ACEOF
3410 ac_clean_files_save=$ac_clean_files
3411 ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out"
3412 # Try to create an executable without -o first, disregard a.out.
3413 # It will help us diagnose broken compilers, and finding out an intuition
3414 # of exeext.
3415 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler works" >&5
3416 $as_echo_n "checking whether the C compiler works... " >&6; }
3417 ac_link_default=`$as_echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
3418
3419 # The possible output files:
3420 ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*"
3421
3422 ac_rmfiles=
3423 for ac_file in $ac_files
3424 do
3425   case $ac_file in
3426     *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
3427     * ) ac_rmfiles="$ac_rmfiles $ac_file";;
3428   esac
3429 done
3430 rm -f $ac_rmfiles
3431
3432 if { { ac_try="$ac_link_default"
3433 case "(($ac_try" in
3434   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3435   *) ac_try_echo=$ac_try;;
3436 esac
3437 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3438 $as_echo "$ac_try_echo"; } >&5
3439   (eval "$ac_link_default") 2>&5
3440   ac_status=$?
3441   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3442   test $ac_status = 0; }; then :
3443   # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
3444 # So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
3445 # in a Makefile.  We should not override ac_cv_exeext if it was cached,
3446 # so that the user can short-circuit this test for compilers unknown to
3447 # Autoconf.
3448 for ac_file in $ac_files ''
3449 do
3450   test -f "$ac_file" || continue
3451   case $ac_file in
3452     *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj )
3453         ;;
3454     [ab].out )
3455         # We found the default executable, but exeext='' is most
3456         # certainly right.
3457         break;;
3458     *.* )
3459         if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no;
3460         then :; else
3461            ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
3462         fi
3463         # We set ac_cv_exeext here because the later test for it is not
3464         # safe: cross compilers may not add the suffix if given an `-o'
3465         # argument, so we may need to know it at that point already.
3466         # Even if this section looks crufty: it has the advantage of
3467         # actually working.
3468         break;;
3469     * )
3470         break;;
3471   esac
3472 done
3473 test "$ac_cv_exeext" = no && ac_cv_exeext=
3474
3475 else
3476   ac_file=''
3477 fi
3478 if test -z "$ac_file"; then :
3479   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3480 $as_echo "no" >&6; }
3481 $as_echo "$as_me: failed program was:" >&5
3482 sed 's/^/| /' conftest.$ac_ext >&5
3483
3484 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3485 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3486 as_fn_error 77 "C compiler cannot create executables
3487 See \`config.log' for more details" "$LINENO" 5; }
3488 else
3489   { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
3490 $as_echo "yes" >&6; }
3491 fi
3492 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler default output file name" >&5
3493 $as_echo_n "checking for C compiler default output file name... " >&6; }
3494 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5
3495 $as_echo "$ac_file" >&6; }
3496 ac_exeext=$ac_cv_exeext
3497
3498 rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out
3499 ac_clean_files=$ac_clean_files_save
3500 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5
3501 $as_echo_n "checking for suffix of executables... " >&6; }
3502 if { { ac_try="$ac_link"
3503 case "(($ac_try" in
3504   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3505   *) ac_try_echo=$ac_try;;
3506 esac
3507 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3508 $as_echo "$ac_try_echo"; } >&5
3509   (eval "$ac_link") 2>&5
3510   ac_status=$?
3511   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3512   test $ac_status = 0; }; then :
3513   # If both `conftest.exe' and `conftest' are `present' (well, observable)
3514 # catch `conftest.exe'.  For instance with Cygwin, `ls conftest' will
3515 # work properly (i.e., refer to `conftest.exe'), while it won't with
3516 # `rm'.
3517 for ac_file in conftest.exe conftest conftest.*; do
3518   test -f "$ac_file" || continue
3519   case $ac_file in
3520     *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
3521     *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
3522           break;;
3523     * ) break;;
3524   esac
3525 done
3526 else
3527   { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3528 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3529 as_fn_error $? "cannot compute suffix of executables: cannot compile and link
3530 See \`config.log' for more details" "$LINENO" 5; }
3531 fi
3532 rm -f conftest conftest$ac_cv_exeext
3533 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5
3534 $as_echo "$ac_cv_exeext" >&6; }
3535
3536 rm -f conftest.$ac_ext
3537 EXEEXT=$ac_cv_exeext
3538 ac_exeext=$EXEEXT
3539 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3540 /* end confdefs.h.  */
3541 #include <stdio.h>
3542 int
3543 main ()
3544 {
3545 FILE *f = fopen ("conftest.out", "w");
3546  return ferror (f) || fclose (f) != 0;
3547
3548   ;
3549   return 0;
3550 }
3551 _ACEOF
3552 ac_clean_files="$ac_clean_files conftest.out"
3553 # Check that the compiler produces executables we can run.  If not, either
3554 # the compiler is broken, or we cross compile.
3555 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5
3556 $as_echo_n "checking whether we are cross compiling... " >&6; }
3557 if test "$cross_compiling" != yes; then
3558   { { ac_try="$ac_link"
3559 case "(($ac_try" in
3560   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3561   *) ac_try_echo=$ac_try;;
3562 esac
3563 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3564 $as_echo "$ac_try_echo"; } >&5
3565   (eval "$ac_link") 2>&5
3566   ac_status=$?
3567   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3568   test $ac_status = 0; }
3569   if { ac_try='./conftest$ac_cv_exeext'
3570   { { case "(($ac_try" in
3571   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3572   *) ac_try_echo=$ac_try;;
3573 esac
3574 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3575 $as_echo "$ac_try_echo"; } >&5
3576   (eval "$ac_try") 2>&5
3577   ac_status=$?
3578   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3579   test $ac_status = 0; }; }; then
3580     cross_compiling=no
3581   else
3582     if test "$cross_compiling" = maybe; then
3583         cross_compiling=yes
3584     else
3585         { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3586 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3587 as_fn_error $? "cannot run C compiled programs.
3588 If you meant to cross compile, use \`--host'.
3589 See \`config.log' for more details" "$LINENO" 5; }
3590     fi
3591   fi
3592 fi
3593 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5
3594 $as_echo "$cross_compiling" >&6; }
3595
3596 rm -f conftest.$ac_ext conftest$ac_cv_exeext conftest.out
3597 ac_clean_files=$ac_clean_files_save
3598 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5
3599 $as_echo_n "checking for suffix of object files... " >&6; }
3600 if ${ac_cv_objext+:} false; then :
3601   $as_echo_n "(cached) " >&6
3602 else
3603   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3604 /* end confdefs.h.  */
3605
3606 int
3607 main ()
3608 {
3609
3610   ;
3611   return 0;
3612 }
3613 _ACEOF
3614 rm -f conftest.o conftest.obj
3615 if { { ac_try="$ac_compile"
3616 case "(($ac_try" in
3617   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3618   *) ac_try_echo=$ac_try;;
3619 esac
3620 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3621 $as_echo "$ac_try_echo"; } >&5
3622   (eval "$ac_compile") 2>&5
3623   ac_status=$?
3624   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3625   test $ac_status = 0; }; then :
3626   for ac_file in conftest.o conftest.obj conftest.*; do
3627   test -f "$ac_file" || continue;
3628   case $ac_file in
3629     *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;;
3630     *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
3631        break;;
3632   esac
3633 done
3634 else
3635   $as_echo "$as_me: failed program was:" >&5
3636 sed 's/^/| /' conftest.$ac_ext >&5
3637
3638 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3639 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3640 as_fn_error $? "cannot compute suffix of object files: cannot compile
3641 See \`config.log' for more details" "$LINENO" 5; }
3642 fi
3643 rm -f conftest.$ac_cv_objext conftest.$ac_ext
3644 fi
3645 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5
3646 $as_echo "$ac_cv_objext" >&6; }
3647 OBJEXT=$ac_cv_objext
3648 ac_objext=$OBJEXT
3649 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
3650 $as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
3651 if ${ac_cv_c_compiler_gnu+:} false; then :
3652   $as_echo_n "(cached) " >&6
3653 else
3654   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3655 /* end confdefs.h.  */
3656
3657 int
3658 main ()
3659 {
3660 #ifndef __GNUC__
3661        choke me
3662 #endif
3663
3664   ;
3665   return 0;
3666 }
3667 _ACEOF
3668 if ac_fn_c_try_compile "$LINENO"; then :
3669   ac_compiler_gnu=yes
3670 else
3671   ac_compiler_gnu=no
3672 fi
3673 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3674 ac_cv_c_compiler_gnu=$ac_compiler_gnu
3675
3676 fi
3677 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
3678 $as_echo "$ac_cv_c_compiler_gnu" >&6; }
3679 if test $ac_compiler_gnu = yes; then
3680   GCC=yes
3681 else
3682   GCC=
3683 fi
3684 ac_test_CFLAGS=${CFLAGS+set}
3685 ac_save_CFLAGS=$CFLAGS
3686 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
3687 $as_echo_n "checking whether $CC accepts -g... " >&6; }
3688 if ${ac_cv_prog_cc_g+:} false; then :
3689   $as_echo_n "(cached) " >&6
3690 else
3691   ac_save_c_werror_flag=$ac_c_werror_flag
3692    ac_c_werror_flag=yes
3693    ac_cv_prog_cc_g=no
3694    CFLAGS="-g"
3695    cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3696 /* end confdefs.h.  */
3697
3698 int
3699 main ()
3700 {
3701
3702   ;
3703   return 0;
3704 }
3705 _ACEOF
3706 if ac_fn_c_try_compile "$LINENO"; then :
3707   ac_cv_prog_cc_g=yes
3708 else
3709   CFLAGS=""
3710       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3711 /* end confdefs.h.  */
3712
3713 int
3714 main ()
3715 {
3716
3717   ;
3718   return 0;
3719 }
3720 _ACEOF
3721 if ac_fn_c_try_compile "$LINENO"; then :
3722
3723 else
3724   ac_c_werror_flag=$ac_save_c_werror_flag
3725          CFLAGS="-g"
3726          cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3727 /* end confdefs.h.  */
3728
3729 int
3730 main ()
3731 {
3732
3733   ;
3734   return 0;
3735 }
3736 _ACEOF
3737 if ac_fn_c_try_compile "$LINENO"; then :
3738   ac_cv_prog_cc_g=yes
3739 fi
3740 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3741 fi
3742 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3743 fi
3744 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3745    ac_c_werror_flag=$ac_save_c_werror_flag
3746 fi
3747 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
3748 $as_echo "$ac_cv_prog_cc_g" >&6; }
3749 if test "$ac_test_CFLAGS" = set; then
3750   CFLAGS=$ac_save_CFLAGS
3751 elif test $ac_cv_prog_cc_g = yes; then
3752   if test "$GCC" = yes; then
3753     CFLAGS="-g -O2"
3754   else
3755     CFLAGS="-g"
3756   fi
3757 else
3758   if test "$GCC" = yes; then
3759     CFLAGS="-O2"
3760   else
3761     CFLAGS=
3762   fi
3763 fi
3764 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
3765 $as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
3766 if ${ac_cv_prog_cc_c89+:} false; then :
3767   $as_echo_n "(cached) " >&6
3768 else
3769   ac_cv_prog_cc_c89=no
3770 ac_save_CC=$CC
3771 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3772 /* end confdefs.h.  */
3773 #include <stdarg.h>
3774 #include <stdio.h>
3775 struct stat;
3776 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh.  */
3777 struct buf { int x; };
3778 FILE * (*rcsopen) (struct buf *, struct stat *, int);
3779 static char *e (p, i)
3780      char **p;
3781      int i;
3782 {
3783   return p[i];
3784 }
3785 static char *f (char * (*g) (char **, int), char **p, ...)
3786 {
3787   char *s;
3788   va_list v;
3789   va_start (v,p);
3790   s = g (p, va_arg (v,int));
3791   va_end (v);
3792   return s;
3793 }
3794
3795 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default.  It has
3796    function prototypes and stuff, but not '\xHH' hex character constants.
3797    These don't provoke an error unfortunately, instead are silently treated
3798    as 'x'.  The following induces an error, until -std is added to get
3799    proper ANSI mode.  Curiously '\x00'!='x' always comes out true, for an
3800    array size at least.  It's necessary to write '\x00'==0 to get something
3801    that's true only with -std.  */
3802 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
3803
3804 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
3805    inside strings and character constants.  */
3806 #define FOO(x) 'x'
3807 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
3808
3809 int test (int i, double x);
3810 struct s1 {int (*f) (int a);};
3811 struct s2 {int (*f) (double a);};
3812 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
3813 int argc;
3814 char **argv;
3815 int
3816 main ()
3817 {
3818 return f (e, argv, 0) != argv[0]  ||  f (e, argv, 1) != argv[1];
3819   ;
3820   return 0;
3821 }
3822 _ACEOF
3823 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
3824         -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
3825 do
3826   CC="$ac_save_CC $ac_arg"
3827   if ac_fn_c_try_compile "$LINENO"; then :
3828   ac_cv_prog_cc_c89=$ac_arg
3829 fi
3830 rm -f core conftest.err conftest.$ac_objext
3831   test "x$ac_cv_prog_cc_c89" != "xno" && break
3832 done
3833 rm -f conftest.$ac_ext
3834 CC=$ac_save_CC
3835
3836 fi
3837 # AC_CACHE_VAL
3838 case "x$ac_cv_prog_cc_c89" in
3839   x)
3840     { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
3841 $as_echo "none needed" >&6; } ;;
3842   xno)
3843     { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
3844 $as_echo "unsupported" >&6; } ;;
3845   *)
3846     CC="$CC $ac_cv_prog_cc_c89"
3847     { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
3848 $as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
3849 esac
3850 if test "x$ac_cv_prog_cc_c89" != xno; then :
3851
3852 fi
3853
3854 ac_ext=c
3855 ac_cpp='$CPP $CPPFLAGS'
3856 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3857 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3858 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3859
3860 depcc="$CC"   am_compiler_list=
3861
3862 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5
3863 $as_echo_n "checking dependency style of $depcc... " >&6; }
3864 if ${am_cv_CC_dependencies_compiler_type+:} false; then :
3865   $as_echo_n "(cached) " >&6
3866 else
3867   if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
3868   # We make a subdir and do the tests there.  Otherwise we can end up
3869   # making bogus files that we don't know about and never remove.  For
3870   # instance it was reported that on HP-UX the gcc test will end up
3871   # making a dummy file named `D' -- because `-MD' means `put the output
3872   # in D'.
3873   rm -rf conftest.dir
3874   mkdir conftest.dir
3875   # Copy depcomp to subdir because otherwise we won't find it if we're
3876   # using a relative directory.
3877   cp "$am_depcomp" conftest.dir
3878   cd conftest.dir
3879   # We will build objects and dependencies in a subdirectory because
3880   # it helps to detect inapplicable dependency modes.  For instance
3881   # both Tru64's cc and ICC support -MD to output dependencies as a
3882   # side effect of compilation, but ICC will put the dependencies in
3883   # the current directory while Tru64 will put them in the object
3884   # directory.
3885   mkdir sub
3886
3887   am_cv_CC_dependencies_compiler_type=none
3888   if test "$am_compiler_list" = ""; then
3889      am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
3890   fi
3891   am__universal=false
3892   case " $depcc " in #(
3893      *\ -arch\ *\ -arch\ *) am__universal=true ;;
3894      esac
3895
3896   for depmode in $am_compiler_list; do
3897     # Setup a source with many dependencies, because some compilers
3898     # like to wrap large dependency lists on column 80 (with \), and
3899     # we should not choose a depcomp mode which is confused by this.
3900     #
3901     # We need to recreate these files for each test, as the compiler may
3902     # overwrite some of them when testing with obscure command lines.
3903     # This happens at least with the AIX C compiler.
3904     : > sub/conftest.c
3905     for i in 1 2 3 4 5 6; do
3906       echo '#include "conftst'$i'.h"' >> sub/conftest.c
3907       # Using `: > sub/conftst$i.h' creates only sub/conftst1.h with
3908       # Solaris 8's {/usr,}/bin/sh.
3909       touch sub/conftst$i.h
3910     done
3911     echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
3912
3913     # We check with `-c' and `-o' for the sake of the "dashmstdout"
3914     # mode.  It turns out that the SunPro C++ compiler does not properly
3915     # handle `-M -o', and we need to detect this.  Also, some Intel
3916     # versions had trouble with output in subdirs
3917     am__obj=sub/conftest.${OBJEXT-o}
3918     am__minus_obj="-o $am__obj"
3919     case $depmode in
3920     gcc)
3921       # This depmode causes a compiler race in universal mode.
3922       test "$am__universal" = false || continue
3923       ;;
3924     nosideeffect)
3925       # after this tag, mechanisms are not by side-effect, so they'll
3926       # only be used when explicitly requested
3927       if test "x$enable_dependency_tracking" = xyes; then
3928         continue
3929       else
3930         break
3931       fi
3932       ;;
3933     msvc7 | msvc7msys | msvisualcpp | msvcmsys)
3934       # This compiler won't grok `-c -o', but also, the minuso test has
3935       # not run yet.  These depmodes are late enough in the game, and
3936       # so weak that their functioning should not be impacted.
3937       am__obj=conftest.${OBJEXT-o}
3938       am__minus_obj=
3939       ;;
3940     none) break ;;
3941     esac
3942     if depmode=$depmode \
3943        source=sub/conftest.c object=$am__obj \
3944        depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
3945        $SHELL ./depcomp $depcc -c $am__minus_obj sub/conftest.c \
3946          >/dev/null 2>conftest.err &&
3947        grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 &&
3948        grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
3949        grep $am__obj sub/conftest.Po > /dev/null 2>&1 &&
3950        ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
3951       # icc doesn't choke on unknown options, it will just issue warnings
3952       # or remarks (even with -Werror).  So we grep stderr for any message
3953       # that says an option was ignored or not supported.
3954       # When given -MP, icc 7.0 and 7.1 complain thusly:
3955       #   icc: Command line warning: ignoring option '-M'; no argument required
3956       # The diagnosis changed in icc 8.0:
3957       #   icc: Command line remark: option '-MP' not supported
3958       if (grep 'ignoring option' conftest.err ||
3959           grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
3960         am_cv_CC_dependencies_compiler_type=$depmode
3961         break
3962       fi
3963     fi
3964   done
3965
3966   cd ..
3967   rm -rf conftest.dir
3968 else
3969   am_cv_CC_dependencies_compiler_type=none
3970 fi
3971
3972 fi
3973 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_CC_dependencies_compiler_type" >&5
3974 $as_echo "$am_cv_CC_dependencies_compiler_type" >&6; }
3975 CCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type
3976
3977  if
3978   test "x$enable_dependency_tracking" != xno \
3979   && test "$am_cv_CC_dependencies_compiler_type" = gcc3; then
3980   am__fastdepCC_TRUE=
3981   am__fastdepCC_FALSE='#'
3982 else
3983   am__fastdepCC_TRUE='#'
3984   am__fastdepCC_FALSE=
3985 fi
3986
3987
3988 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a sed that does not truncate output" >&5
3989 $as_echo_n "checking for a sed that does not truncate output... " >&6; }
3990 if ${ac_cv_path_SED+:} false; then :
3991   $as_echo_n "(cached) " >&6
3992 else
3993             ac_script=s/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa/bbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbb/
3994      for ac_i in 1 2 3 4 5 6 7; do
3995        ac_script="$ac_script$as_nl$ac_script"
3996      done
3997      echo "$ac_script" 2>/dev/null | sed 99q >conftest.sed
3998      { ac_script=; unset ac_script;}
3999      if test -z "$SED"; then
4000   ac_path_SED_found=false
4001   # Loop through the user's path and test for each of PROGNAME-LIST
4002   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4003 for as_dir in $PATH
4004 do
4005   IFS=$as_save_IFS
4006   test -z "$as_dir" && as_dir=.
4007     for ac_prog in sed gsed; do
4008     for ac_exec_ext in '' $ac_executable_extensions; do
4009       ac_path_SED="$as_dir/$ac_prog$ac_exec_ext"
4010       as_fn_executable_p "$ac_path_SED" || continue
4011 # Check for GNU ac_path_SED and select it if it is found.
4012   # Check for GNU $ac_path_SED
4013 case `"$ac_path_SED" --version 2>&1` in
4014 *GNU*)
4015   ac_cv_path_SED="$ac_path_SED" ac_path_SED_found=:;;
4016 *)
4017   ac_count=0
4018   $as_echo_n 0123456789 >"conftest.in"
4019   while :
4020   do
4021     cat "conftest.in" "conftest.in" >"conftest.tmp"
4022     mv "conftest.tmp" "conftest.in"
4023     cp "conftest.in" "conftest.nl"
4024     $as_echo '' >> "conftest.nl"
4025     "$ac_path_SED" -f conftest.sed < "conftest.nl" >"conftest.out" 2>/dev/null || break
4026     diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
4027     as_fn_arith $ac_count + 1 && ac_count=$as_val
4028     if test $ac_count -gt ${ac_path_SED_max-0}; then
4029       # Best one so far, save it but keep looking for a better one
4030       ac_cv_path_SED="$ac_path_SED"
4031       ac_path_SED_max=$ac_count
4032     fi
4033     # 10*(2^10) chars as input seems more than enough
4034     test $ac_count -gt 10 && break
4035   done
4036   rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
4037 esac
4038
4039       $ac_path_SED_found && break 3
4040     done
4041   done
4042   done
4043 IFS=$as_save_IFS
4044   if test -z "$ac_cv_path_SED"; then
4045     as_fn_error $? "no acceptable sed could be found in \$PATH" "$LINENO" 5
4046   fi
4047 else
4048   ac_cv_path_SED=$SED
4049 fi
4050
4051 fi
4052 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_SED" >&5
4053 $as_echo "$ac_cv_path_SED" >&6; }
4054  SED="$ac_cv_path_SED"
4055   rm -f conftest.sed
4056
4057 test -z "$SED" && SED=sed
4058 Xsed="$SED -e 1s/^X//"
4059
4060
4061
4062
4063
4064
4065
4066
4067
4068
4069
4070 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for grep that handles long lines and -e" >&5
4071 $as_echo_n "checking for grep that handles long lines and -e... " >&6; }
4072 if ${ac_cv_path_GREP+:} false; then :
4073   $as_echo_n "(cached) " >&6
4074 else
4075   if test -z "$GREP"; then
4076   ac_path_GREP_found=false
4077   # Loop through the user's path and test for each of PROGNAME-LIST
4078   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4079 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
4080 do
4081   IFS=$as_save_IFS
4082   test -z "$as_dir" && as_dir=.
4083     for ac_prog in grep ggrep; do
4084     for ac_exec_ext in '' $ac_executable_extensions; do
4085       ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext"
4086       as_fn_executable_p "$ac_path_GREP" || continue
4087 # Check for GNU ac_path_GREP and select it if it is found.
4088   # Check for GNU $ac_path_GREP
4089 case `"$ac_path_GREP" --version 2>&1` in
4090 *GNU*)
4091   ac_cv_path_GREP="$ac_path_GREP" ac_path_GREP_found=:;;
4092 *)
4093   ac_count=0
4094   $as_echo_n 0123456789 >"conftest.in"
4095   while :
4096   do
4097     cat "conftest.in" "conftest.in" >"conftest.tmp"
4098     mv "conftest.tmp" "conftest.in"
4099     cp "conftest.in" "conftest.nl"
4100     $as_echo 'GREP' >> "conftest.nl"
4101     "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev/null || break
4102     diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
4103     as_fn_arith $ac_count + 1 && ac_count=$as_val
4104     if test $ac_count -gt ${ac_path_GREP_max-0}; then
4105       # Best one so far, save it but keep looking for a better one
4106       ac_cv_path_GREP="$ac_path_GREP"
4107       ac_path_GREP_max=$ac_count
4108     fi
4109     # 10*(2^10) chars as input seems more than enough
4110     test $ac_count -gt 10 && break
4111   done
4112   rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
4113 esac
4114
4115       $ac_path_GREP_found && break 3
4116     done
4117   done
4118   done
4119 IFS=$as_save_IFS
4120   if test -z "$ac_cv_path_GREP"; then
4121     as_fn_error $? "no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
4122   fi
4123 else
4124   ac_cv_path_GREP=$GREP
4125 fi
4126
4127 fi
4128 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_GREP" >&5
4129 $as_echo "$ac_cv_path_GREP" >&6; }
4130  GREP="$ac_cv_path_GREP"
4131
4132
4133 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for egrep" >&5
4134 $as_echo_n "checking for egrep... " >&6; }
4135 if ${ac_cv_path_EGREP+:} false; then :
4136   $as_echo_n "(cached) " >&6
4137 else
4138   if echo a | $GREP -E '(a|b)' >/dev/null 2>&1
4139    then ac_cv_path_EGREP="$GREP -E"
4140    else
4141      if test -z "$EGREP"; then
4142   ac_path_EGREP_found=false
4143   # Loop through the user's path and test for each of PROGNAME-LIST
4144   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4145 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
4146 do
4147   IFS=$as_save_IFS
4148   test -z "$as_dir" && as_dir=.
4149     for ac_prog in egrep; do
4150     for ac_exec_ext in '' $ac_executable_extensions; do
4151       ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext"
4152       as_fn_executable_p "$ac_path_EGREP" || continue
4153 # Check for GNU ac_path_EGREP and select it if it is found.
4154   # Check for GNU $ac_path_EGREP
4155 case `"$ac_path_EGREP" --version 2>&1` in
4156 *GNU*)
4157   ac_cv_path_EGREP="$ac_path_EGREP" ac_path_EGREP_found=:;;
4158 *)
4159   ac_count=0
4160   $as_echo_n 0123456789 >"conftest.in"
4161   while :
4162   do
4163     cat "conftest.in" "conftest.in" >"conftest.tmp"
4164     mv "conftest.tmp" "conftest.in"
4165     cp "conftest.in" "conftest.nl"
4166     $as_echo 'EGREP' >> "conftest.nl"
4167     "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev/null || break
4168     diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
4169     as_fn_arith $ac_count + 1 && ac_count=$as_val
4170     if test $ac_count -gt ${ac_path_EGREP_max-0}; then
4171       # Best one so far, save it but keep looking for a better one
4172       ac_cv_path_EGREP="$ac_path_EGREP"
4173       ac_path_EGREP_max=$ac_count
4174     fi
4175     # 10*(2^10) chars as input seems more than enough
4176     test $ac_count -gt 10 && break
4177   done
4178   rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
4179 esac
4180
4181       $ac_path_EGREP_found && break 3
4182     done
4183   done
4184   done
4185 IFS=$as_save_IFS
4186   if test -z "$ac_cv_path_EGREP"; then
4187     as_fn_error $? "no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
4188   fi
4189 else
4190   ac_cv_path_EGREP=$EGREP
4191 fi
4192
4193    fi
4194 fi
4195 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_EGREP" >&5
4196 $as_echo "$ac_cv_path_EGREP" >&6; }
4197  EGREP="$ac_cv_path_EGREP"
4198
4199
4200 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fgrep" >&5
4201 $as_echo_n "checking for fgrep... " >&6; }
4202 if ${ac_cv_path_FGREP+:} false; then :
4203   $as_echo_n "(cached) " >&6
4204 else
4205   if echo 'ab*c' | $GREP -F 'ab*c' >/dev/null 2>&1
4206    then ac_cv_path_FGREP="$GREP -F"
4207    else
4208      if test -z "$FGREP"; then
4209   ac_path_FGREP_found=false
4210   # Loop through the user's path and test for each of PROGNAME-LIST
4211   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4212 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
4213 do
4214   IFS=$as_save_IFS
4215   test -z "$as_dir" && as_dir=.
4216     for ac_prog in fgrep; do
4217     for ac_exec_ext in '' $ac_executable_extensions; do
4218       ac_path_FGREP="$as_dir/$ac_prog$ac_exec_ext"
4219       as_fn_executable_p "$ac_path_FGREP" || continue
4220 # Check for GNU ac_path_FGREP and select it if it is found.
4221   # Check for GNU $ac_path_FGREP
4222 case `"$ac_path_FGREP" --version 2>&1` in
4223 *GNU*)
4224   ac_cv_path_FGREP="$ac_path_FGREP" ac_path_FGREP_found=:;;
4225 *)
4226   ac_count=0
4227   $as_echo_n 0123456789 >"conftest.in"
4228   while :
4229   do
4230     cat "conftest.in" "conftest.in" >"conftest.tmp"
4231     mv "conftest.tmp" "conftest.in"
4232     cp "conftest.in" "conftest.nl"
4233     $as_echo 'FGREP' >> "conftest.nl"
4234     "$ac_path_FGREP" FGREP < "conftest.nl" >"conftest.out" 2>/dev/null || break
4235     diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
4236     as_fn_arith $ac_count + 1 && ac_count=$as_val
4237     if test $ac_count -gt ${ac_path_FGREP_max-0}; then
4238       # Best one so far, save it but keep looking for a better one
4239       ac_cv_path_FGREP="$ac_path_FGREP"
4240       ac_path_FGREP_max=$ac_count
4241     fi
4242     # 10*(2^10) chars as input seems more than enough
4243     test $ac_count -gt 10 && break
4244   done
4245   rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
4246 esac
4247
4248       $ac_path_FGREP_found && break 3
4249     done
4250   done
4251   done
4252 IFS=$as_save_IFS
4253   if test -z "$ac_cv_path_FGREP"; then
4254     as_fn_error $? "no acceptable fgrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
4255   fi
4256 else
4257   ac_cv_path_FGREP=$FGREP
4258 fi
4259
4260    fi
4261 fi
4262 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_FGREP" >&5
4263 $as_echo "$ac_cv_path_FGREP" >&6; }
4264  FGREP="$ac_cv_path_FGREP"
4265
4266
4267 test -z "$GREP" && GREP=grep
4268
4269
4270
4271
4272
4273
4274
4275
4276
4277
4278
4279
4280
4281
4282
4283
4284
4285
4286
4287 # Check whether --with-gnu-ld was given.
4288 if test "${with_gnu_ld+set}" = set; then :
4289   withval=$with_gnu_ld; test "$withval" = no || with_gnu_ld=yes
4290 else
4291   with_gnu_ld=no
4292 fi
4293
4294 ac_prog=ld
4295 if test "$GCC" = yes; then
4296   # Check if gcc -print-prog-name=ld gives a path.
4297   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld used by $CC" >&5
4298 $as_echo_n "checking for ld used by $CC... " >&6; }
4299   case $host in
4300   *-*-mingw*)
4301     # gcc leaves a trailing carriage return which upsets mingw
4302     ac_prog=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
4303   *)
4304     ac_prog=`($CC -print-prog-name=ld) 2>&5` ;;
4305   esac
4306   case $ac_prog in
4307     # Accept absolute paths.
4308     [\\/]* | ?:[\\/]*)
4309       re_direlt='/[^/][^/]*/\.\./'
4310       # Canonicalize the pathname of ld
4311       ac_prog=`$ECHO "$ac_prog"| $SED 's%\\\\%/%g'`
4312       while $ECHO "$ac_prog" | $GREP "$re_direlt" > /dev/null 2>&1; do
4313         ac_prog=`$ECHO $ac_prog| $SED "s%$re_direlt%/%"`
4314       done
4315       test -z "$LD" && LD="$ac_prog"
4316       ;;
4317   "")
4318     # If it fails, then pretend we aren't using GCC.
4319     ac_prog=ld
4320     ;;
4321   *)
4322     # If it is relative, then search for the first ld in PATH.
4323     with_gnu_ld=unknown
4324     ;;
4325   esac
4326 elif test "$with_gnu_ld" = yes; then
4327   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU ld" >&5
4328 $as_echo_n "checking for GNU ld... " >&6; }
4329 else
4330   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for non-GNU ld" >&5
4331 $as_echo_n "checking for non-GNU ld... " >&6; }
4332 fi
4333 if ${lt_cv_path_LD+:} false; then :
4334   $as_echo_n "(cached) " >&6
4335 else
4336   if test -z "$LD"; then
4337   lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
4338   for ac_dir in $PATH; do
4339     IFS="$lt_save_ifs"
4340     test -z "$ac_dir" && ac_dir=.
4341     if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then
4342       lt_cv_path_LD="$ac_dir/$ac_prog"
4343       # Check to see if the program is GNU ld.  I'd rather use --version,
4344       # but apparently some variants of GNU ld only accept -v.
4345       # Break only if it was the GNU/non-GNU ld that we prefer.
4346       case `"$lt_cv_path_LD" -v 2>&1 </dev/null` in
4347       *GNU* | *'with BFD'*)
4348         test "$with_gnu_ld" != no && break
4349         ;;
4350       *)
4351         test "$with_gnu_ld" != yes && break
4352         ;;
4353       esac
4354     fi
4355   done
4356   IFS="$lt_save_ifs"
4357 else
4358   lt_cv_path_LD="$LD" # Let the user override the test with a path.
4359 fi
4360 fi
4361
4362 LD="$lt_cv_path_LD"
4363 if test -n "$LD"; then
4364   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LD" >&5
4365 $as_echo "$LD" >&6; }
4366 else
4367   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4368 $as_echo "no" >&6; }
4369 fi
4370 test -z "$LD" && as_fn_error $? "no acceptable ld found in \$PATH" "$LINENO" 5
4371 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if the linker ($LD) is GNU ld" >&5
4372 $as_echo_n "checking if the linker ($LD) is GNU ld... " >&6; }
4373 if ${lt_cv_prog_gnu_ld+:} false; then :
4374   $as_echo_n "(cached) " >&6
4375 else
4376   # I'd rather use --version here, but apparently some GNU lds only accept -v.
4377 case `$LD -v 2>&1 </dev/null` in
4378 *GNU* | *'with BFD'*)
4379   lt_cv_prog_gnu_ld=yes
4380   ;;
4381 *)
4382   lt_cv_prog_gnu_ld=no
4383   ;;
4384 esac
4385 fi
4386 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_gnu_ld" >&5
4387 $as_echo "$lt_cv_prog_gnu_ld" >&6; }
4388 with_gnu_ld=$lt_cv_prog_gnu_ld
4389
4390
4391
4392
4393
4394
4395
4396
4397
4398 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for BSD- or MS-compatible name lister (nm)" >&5
4399 $as_echo_n "checking for BSD- or MS-compatible name lister (nm)... " >&6; }
4400 if ${lt_cv_path_NM+:} false; then :
4401   $as_echo_n "(cached) " >&6
4402 else
4403   if test -n "$NM"; then
4404   # Let the user override the test.
4405   lt_cv_path_NM="$NM"
4406 else
4407   lt_nm_to_check="${ac_tool_prefix}nm"
4408   if test -n "$ac_tool_prefix" && test "$build" = "$host"; then
4409     lt_nm_to_check="$lt_nm_to_check nm"
4410   fi
4411   for lt_tmp_nm in $lt_nm_to_check; do
4412     lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
4413     for ac_dir in $PATH /usr/ccs/bin/elf /usr/ccs/bin /usr/ucb /bin; do
4414       IFS="$lt_save_ifs"
4415       test -z "$ac_dir" && ac_dir=.
4416       tmp_nm="$ac_dir/$lt_tmp_nm"
4417       if test -f "$tmp_nm" || test -f "$tmp_nm$ac_exeext" ; then
4418         # Check to see if the nm accepts a BSD-compat flag.
4419         # Adding the `sed 1q' prevents false positives on HP-UX, which says:
4420         #   nm: unknown option "B" ignored
4421         # Tru64's nm complains that /dev/null is an invalid object file
4422         case `"$tmp_nm" -B /dev/null 2>&1 | sed '1q'` in
4423         */dev/null* | *'Invalid file or object type'*)
4424           lt_cv_path_NM="$tmp_nm -B"
4425           break
4426           ;;
4427         *)
4428           case `"$tmp_nm" -p /dev/null 2>&1 | sed '1q'` in
4429           */dev/null*)
4430             lt_cv_path_NM="$tmp_nm -p"
4431             break
4432             ;;
4433           *)
4434             lt_cv_path_NM=${lt_cv_path_NM="$tmp_nm"} # keep the first match, but
4435             continue # so that we can try to find one that supports BSD flags
4436             ;;
4437           esac
4438           ;;
4439         esac
4440       fi
4441     done
4442     IFS="$lt_save_ifs"
4443   done
4444   : ${lt_cv_path_NM=no}
4445 fi
4446 fi
4447 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_path_NM" >&5
4448 $as_echo "$lt_cv_path_NM" >&6; }
4449 if test "$lt_cv_path_NM" != "no"; then
4450   NM="$lt_cv_path_NM"
4451 else
4452   # Didn't find any BSD compatible name lister, look for dumpbin.
4453   if test -n "$DUMPBIN"; then :
4454     # Let the user override the test.
4455   else
4456     if test -n "$ac_tool_prefix"; then
4457   for ac_prog in dumpbin "link -dump"
4458   do
4459     # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
4460 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
4461 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4462 $as_echo_n "checking for $ac_word... " >&6; }
4463 if ${ac_cv_prog_DUMPBIN+:} false; then :
4464   $as_echo_n "(cached) " >&6
4465 else
4466   if test -n "$DUMPBIN"; then
4467   ac_cv_prog_DUMPBIN="$DUMPBIN" # Let the user override the test.
4468 else
4469 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4470 for as_dir in $PATH
4471 do
4472   IFS=$as_save_IFS
4473   test -z "$as_dir" && as_dir=.
4474     for ac_exec_ext in '' $ac_executable_extensions; do
4475   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4476     ac_cv_prog_DUMPBIN="$ac_tool_prefix$ac_prog"
4477     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4478     break 2
4479   fi
4480 done
4481   done
4482 IFS=$as_save_IFS
4483
4484 fi
4485 fi
4486 DUMPBIN=$ac_cv_prog_DUMPBIN
4487 if test -n "$DUMPBIN"; then
4488   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DUMPBIN" >&5
4489 $as_echo "$DUMPBIN" >&6; }
4490 else
4491   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4492 $as_echo "no" >&6; }
4493 fi
4494
4495
4496     test -n "$DUMPBIN" && break
4497   done
4498 fi
4499 if test -z "$DUMPBIN"; then
4500   ac_ct_DUMPBIN=$DUMPBIN
4501   for ac_prog in dumpbin "link -dump"
4502 do
4503   # Extract the first word of "$ac_prog", so it can be a program name with args.
4504 set dummy $ac_prog; ac_word=$2
4505 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4506 $as_echo_n "checking for $ac_word... " >&6; }
4507 if ${ac_cv_prog_ac_ct_DUMPBIN+:} false; then :
4508   $as_echo_n "(cached) " >&6
4509 else
4510   if test -n "$ac_ct_DUMPBIN"; then
4511   ac_cv_prog_ac_ct_DUMPBIN="$ac_ct_DUMPBIN" # Let the user override the test.
4512 else
4513 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4514 for as_dir in $PATH
4515 do
4516   IFS=$as_save_IFS
4517   test -z "$as_dir" && as_dir=.
4518     for ac_exec_ext in '' $ac_executable_extensions; do
4519   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4520     ac_cv_prog_ac_ct_DUMPBIN="$ac_prog"
4521     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4522     break 2
4523   fi
4524 done
4525   done
4526 IFS=$as_save_IFS
4527
4528 fi
4529 fi
4530 ac_ct_DUMPBIN=$ac_cv_prog_ac_ct_DUMPBIN
4531 if test -n "$ac_ct_DUMPBIN"; then
4532   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DUMPBIN" >&5
4533 $as_echo "$ac_ct_DUMPBIN" >&6; }
4534 else
4535   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4536 $as_echo "no" >&6; }
4537 fi
4538
4539
4540   test -n "$ac_ct_DUMPBIN" && break
4541 done
4542
4543   if test "x$ac_ct_DUMPBIN" = x; then
4544     DUMPBIN=":"
4545   else
4546     case $cross_compiling:$ac_tool_warned in
4547 yes:)
4548 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4549 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4550 ac_tool_warned=yes ;;
4551 esac
4552     DUMPBIN=$ac_ct_DUMPBIN
4553   fi
4554 fi
4555
4556     case `$DUMPBIN -symbols /dev/null 2>&1 | sed '1q'` in
4557     *COFF*)
4558       DUMPBIN="$DUMPBIN -symbols"
4559       ;;
4560     *)
4561       DUMPBIN=:
4562       ;;
4563     esac
4564   fi
4565
4566   if test "$DUMPBIN" != ":"; then
4567     NM="$DUMPBIN"
4568   fi
4569 fi
4570 test -z "$NM" && NM=nm
4571
4572
4573
4574
4575
4576
4577 { $as_echo "$as_me:${as_lineno-$LINENO}: checking the name lister ($NM) interface" >&5
4578 $as_echo_n "checking the name lister ($NM) interface... " >&6; }
4579 if ${lt_cv_nm_interface+:} false; then :
4580   $as_echo_n "(cached) " >&6
4581 else
4582   lt_cv_nm_interface="BSD nm"
4583   echo "int some_variable = 0;" > conftest.$ac_ext
4584   (eval echo "\"\$as_me:$LINENO: $ac_compile\"" >&5)
4585   (eval "$ac_compile" 2>conftest.err)
4586   cat conftest.err >&5
4587   (eval echo "\"\$as_me:$LINENO: $NM \\\"conftest.$ac_objext\\\"\"" >&5)
4588   (eval "$NM \"conftest.$ac_objext\"" 2>conftest.err > conftest.out)
4589   cat conftest.err >&5
4590   (eval echo "\"\$as_me:$LINENO: output\"" >&5)
4591   cat conftest.out >&5
4592   if $GREP 'External.*some_variable' conftest.out > /dev/null; then
4593     lt_cv_nm_interface="MS dumpbin"
4594   fi
4595   rm -f conftest*
4596 fi
4597 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_nm_interface" >&5
4598 $as_echo "$lt_cv_nm_interface" >&6; }
4599
4600 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ln -s works" >&5
4601 $as_echo_n "checking whether ln -s works... " >&6; }
4602 LN_S=$as_ln_s
4603 if test "$LN_S" = "ln -s"; then
4604   { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
4605 $as_echo "yes" >&6; }
4606 else
4607   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no, using $LN_S" >&5
4608 $as_echo "no, using $LN_S" >&6; }
4609 fi
4610
4611 # find the maximum length of command line arguments
4612 { $as_echo "$as_me:${as_lineno-$LINENO}: checking the maximum length of command line arguments" >&5
4613 $as_echo_n "checking the maximum length of command line arguments... " >&6; }
4614 if ${lt_cv_sys_max_cmd_len+:} false; then :
4615   $as_echo_n "(cached) " >&6
4616 else
4617     i=0
4618   teststring="ABCD"
4619
4620   case $build_os in
4621   msdosdjgpp*)
4622     # On DJGPP, this test can blow up pretty badly due to problems in libc
4623     # (any single argument exceeding 2000 bytes causes a buffer overrun
4624     # during glob expansion).  Even if it were fixed, the result of this
4625     # check would be larger than it should be.
4626     lt_cv_sys_max_cmd_len=12288;    # 12K is about right
4627     ;;
4628
4629   gnu*)
4630     # Under GNU Hurd, this test is not required because there is
4631     # no limit to the length of command line arguments.
4632     # Libtool will interpret -1 as no limit whatsoever
4633     lt_cv_sys_max_cmd_len=-1;
4634     ;;
4635
4636   cygwin* | mingw* | cegcc*)
4637     # On Win9x/ME, this test blows up -- it succeeds, but takes
4638     # about 5 minutes as the teststring grows exponentially.
4639     # Worse, since 9x/ME are not pre-emptively multitasking,
4640     # you end up with a "frozen" computer, even though with patience
4641     # the test eventually succeeds (with a max line length of 256k).
4642     # Instead, let's just punt: use the minimum linelength reported by
4643     # all of the supported platforms: 8192 (on NT/2K/XP).
4644     lt_cv_sys_max_cmd_len=8192;
4645     ;;
4646
4647   mint*)
4648     # On MiNT this can take a long time and run out of memory.
4649     lt_cv_sys_max_cmd_len=8192;
4650     ;;
4651
4652   amigaos*)
4653     # On AmigaOS with pdksh, this test takes hours, literally.
4654     # So we just punt and use a minimum line length of 8192.
4655     lt_cv_sys_max_cmd_len=8192;
4656     ;;
4657
4658   netbsd* | freebsd* | openbsd* | darwin* | dragonfly*)
4659     # This has been around since 386BSD, at least.  Likely further.
4660     if test -x /sbin/sysctl; then
4661       lt_cv_sys_max_cmd_len=`/sbin/sysctl -n kern.argmax`
4662     elif test -x /usr/sbin/sysctl; then
4663       lt_cv_sys_max_cmd_len=`/usr/sbin/sysctl -n kern.argmax`
4664     else
4665       lt_cv_sys_max_cmd_len=65536       # usable default for all BSDs
4666     fi
4667     # And add a safety zone
4668     lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4`
4669     lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3`
4670     ;;
4671
4672   interix*)
4673     # We know the value 262144 and hardcode it with a safety zone (like BSD)
4674     lt_cv_sys_max_cmd_len=196608
4675     ;;
4676
4677   os2*)
4678     # The test takes a long time on OS/2.
4679     lt_cv_sys_max_cmd_len=8192
4680     ;;
4681
4682   osf*)
4683     # Dr. Hans Ekkehard Plesser reports seeing a kernel panic running configure
4684     # due to this test when exec_disable_arg_limit is 1 on Tru64. It is not
4685     # nice to cause kernel panics so lets avoid the loop below.
4686     # First set a reasonable default.
4687     lt_cv_sys_max_cmd_len=16384
4688     #
4689     if test -x /sbin/sysconfig; then
4690       case `/sbin/sysconfig -q proc exec_disable_arg_limit` in
4691         *1*) lt_cv_sys_max_cmd_len=-1 ;;
4692       esac
4693     fi
4694     ;;
4695   sco3.2v5*)
4696     lt_cv_sys_max_cmd_len=102400
4697     ;;
4698   sysv5* | sco5v6* | sysv4.2uw2*)
4699     kargmax=`grep ARG_MAX /etc/conf/cf.d/stune 2>/dev/null`
4700     if test -n "$kargmax"; then
4701       lt_cv_sys_max_cmd_len=`echo $kargmax | sed 's/.*[  ]//'`
4702     else
4703       lt_cv_sys_max_cmd_len=32768
4704     fi
4705     ;;
4706   *)
4707     lt_cv_sys_max_cmd_len=`(getconf ARG_MAX) 2> /dev/null`
4708     if test -n "$lt_cv_sys_max_cmd_len" && \
4709         test undefined != "$lt_cv_sys_max_cmd_len"; then
4710       lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4`
4711       lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3`
4712     else
4713       # Make teststring a little bigger before we do anything with it.
4714       # a 1K string should be a reasonable start.
4715       for i in 1 2 3 4 5 6 7 8 ; do
4716         teststring=$teststring$teststring
4717       done
4718       SHELL=${SHELL-${CONFIG_SHELL-/bin/sh}}
4719       # If test is not a shell built-in, we'll probably end up computing a
4720       # maximum length that is only half of the actual maximum length, but
4721       # we can't tell.
4722       while { test "X"`env echo "$teststring$teststring" 2>/dev/null` \
4723                  = "X$teststring$teststring"; } >/dev/null 2>&1 &&
4724               test $i != 17 # 1/2 MB should be enough
4725       do
4726         i=`expr $i + 1`
4727         teststring=$teststring$teststring
4728       done
4729       # Only check the string length outside the loop.
4730       lt_cv_sys_max_cmd_len=`expr "X$teststring" : ".*" 2>&1`
4731       teststring=
4732       # Add a significant safety factor because C++ compilers can tack on
4733       # massive amounts of additional arguments before passing them to the
4734       # linker.  It appears as though 1/2 is a usable value.
4735       lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 2`
4736     fi
4737     ;;
4738   esac
4739
4740 fi
4741
4742 if test -n $lt_cv_sys_max_cmd_len ; then
4743   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_sys_max_cmd_len" >&5
4744 $as_echo "$lt_cv_sys_max_cmd_len" >&6; }
4745 else
4746   { $as_echo "$as_me:${as_lineno-$LINENO}: result: none" >&5
4747 $as_echo "none" >&6; }
4748 fi
4749 max_cmd_len=$lt_cv_sys_max_cmd_len
4750
4751
4752
4753
4754
4755
4756 : ${CP="cp -f"}
4757 : ${MV="mv -f"}
4758 : ${RM="rm -f"}
4759
4760 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the shell understands some XSI constructs" >&5
4761 $as_echo_n "checking whether the shell understands some XSI constructs... " >&6; }
4762 # Try some XSI features
4763 xsi_shell=no
4764 ( _lt_dummy="a/b/c"
4765   test "${_lt_dummy##*/},${_lt_dummy%/*},${_lt_dummy#??}"${_lt_dummy%"$_lt_dummy"}, \
4766       = c,a/b,b/c, \
4767     && eval 'test $(( 1 + 1 )) -eq 2 \
4768     && test "${#_lt_dummy}" -eq 5' ) >/dev/null 2>&1 \
4769   && xsi_shell=yes
4770 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xsi_shell" >&5
4771 $as_echo "$xsi_shell" >&6; }
4772
4773
4774 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the shell understands \"+=\"" >&5
4775 $as_echo_n "checking whether the shell understands \"+=\"... " >&6; }
4776 lt_shell_append=no
4777 ( foo=bar; set foo baz; eval "$1+=\$2" && test "$foo" = barbaz ) \
4778     >/dev/null 2>&1 \
4779   && lt_shell_append=yes
4780 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_shell_append" >&5
4781 $as_echo "$lt_shell_append" >&6; }
4782
4783
4784 if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
4785   lt_unset=unset
4786 else
4787   lt_unset=false
4788 fi
4789
4790
4791
4792
4793
4794 # test EBCDIC or ASCII
4795 case `echo X|tr X '\101'` in
4796  A) # ASCII based system
4797     # \n is not interpreted correctly by Solaris 8 /usr/ucb/tr
4798   lt_SP2NL='tr \040 \012'
4799   lt_NL2SP='tr \015\012 \040\040'
4800   ;;
4801  *) # EBCDIC based system
4802   lt_SP2NL='tr \100 \n'
4803   lt_NL2SP='tr \r\n \100\100'
4804   ;;
4805 esac
4806
4807
4808
4809
4810
4811
4812
4813
4814
4815 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to convert $build file names to $host format" >&5
4816 $as_echo_n "checking how to convert $build file names to $host format... " >&6; }
4817 if ${lt_cv_to_host_file_cmd+:} false; then :
4818   $as_echo_n "(cached) " >&6
4819 else
4820   case $host in
4821   *-*-mingw* )
4822     case $build in
4823       *-*-mingw* ) # actually msys
4824         lt_cv_to_host_file_cmd=func_convert_file_msys_to_w32
4825         ;;
4826       *-*-cygwin* )
4827         lt_cv_to_host_file_cmd=func_convert_file_cygwin_to_w32
4828         ;;
4829       * ) # otherwise, assume *nix
4830         lt_cv_to_host_file_cmd=func_convert_file_nix_to_w32
4831         ;;
4832     esac
4833     ;;
4834   *-*-cygwin* )
4835     case $build in
4836       *-*-mingw* ) # actually msys
4837         lt_cv_to_host_file_cmd=func_convert_file_msys_to_cygwin
4838         ;;
4839       *-*-cygwin* )
4840         lt_cv_to_host_file_cmd=func_convert_file_noop
4841         ;;
4842       * ) # otherwise, assume *nix
4843         lt_cv_to_host_file_cmd=func_convert_file_nix_to_cygwin
4844         ;;
4845     esac
4846     ;;
4847   * ) # unhandled hosts (and "normal" native builds)
4848     lt_cv_to_host_file_cmd=func_convert_file_noop
4849     ;;
4850 esac
4851
4852 fi
4853
4854 to_host_file_cmd=$lt_cv_to_host_file_cmd
4855 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_to_host_file_cmd" >&5
4856 $as_echo "$lt_cv_to_host_file_cmd" >&6; }
4857
4858
4859
4860
4861
4862 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to convert $build file names to toolchain format" >&5
4863 $as_echo_n "checking how to convert $build file names to toolchain format... " >&6; }
4864 if ${lt_cv_to_tool_file_cmd+:} false; then :
4865   $as_echo_n "(cached) " >&6
4866 else
4867   #assume ordinary cross tools, or native build.
4868 lt_cv_to_tool_file_cmd=func_convert_file_noop
4869 case $host in
4870   *-*-mingw* )
4871     case $build in
4872       *-*-mingw* ) # actually msys
4873         lt_cv_to_tool_file_cmd=func_convert_file_msys_to_w32
4874         ;;
4875     esac
4876     ;;
4877 esac
4878
4879 fi
4880
4881 to_tool_file_cmd=$lt_cv_to_tool_file_cmd
4882 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_to_tool_file_cmd" >&5
4883 $as_echo "$lt_cv_to_tool_file_cmd" >&6; }
4884
4885
4886
4887
4888
4889 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $LD option to reload object files" >&5
4890 $as_echo_n "checking for $LD option to reload object files... " >&6; }
4891 if ${lt_cv_ld_reload_flag+:} false; then :
4892   $as_echo_n "(cached) " >&6
4893 else
4894   lt_cv_ld_reload_flag='-r'
4895 fi
4896 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_reload_flag" >&5
4897 $as_echo "$lt_cv_ld_reload_flag" >&6; }
4898 reload_flag=$lt_cv_ld_reload_flag
4899 case $reload_flag in
4900 "" | " "*) ;;
4901 *) reload_flag=" $reload_flag" ;;
4902 esac
4903 reload_cmds='$LD$reload_flag -o $output$reload_objs'
4904 case $host_os in
4905   cygwin* | mingw* | pw32* | cegcc*)
4906     if test "$GCC" != yes; then
4907       reload_cmds=false
4908     fi
4909     ;;
4910   darwin*)
4911     if test "$GCC" = yes; then
4912       reload_cmds='$LTCC $LTCFLAGS -nostdlib ${wl}-r -o $output$reload_objs'
4913     else
4914       reload_cmds='$LD$reload_flag -o $output$reload_objs'
4915     fi
4916     ;;
4917 esac
4918
4919
4920
4921
4922
4923
4924
4925
4926
4927 if test -n "$ac_tool_prefix"; then
4928   # Extract the first word of "${ac_tool_prefix}objdump", so it can be a program name with args.
4929 set dummy ${ac_tool_prefix}objdump; ac_word=$2
4930 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4931 $as_echo_n "checking for $ac_word... " >&6; }
4932 if ${ac_cv_prog_OBJDUMP+:} false; then :
4933   $as_echo_n "(cached) " >&6
4934 else
4935   if test -n "$OBJDUMP"; then
4936   ac_cv_prog_OBJDUMP="$OBJDUMP" # Let the user override the test.
4937 else
4938 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4939 for as_dir in $PATH
4940 do
4941   IFS=$as_save_IFS
4942   test -z "$as_dir" && as_dir=.
4943     for ac_exec_ext in '' $ac_executable_extensions; do
4944   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4945     ac_cv_prog_OBJDUMP="${ac_tool_prefix}objdump"
4946     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4947     break 2
4948   fi
4949 done
4950   done
4951 IFS=$as_save_IFS
4952
4953 fi
4954 fi
4955 OBJDUMP=$ac_cv_prog_OBJDUMP
4956 if test -n "$OBJDUMP"; then
4957   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OBJDUMP" >&5
4958 $as_echo "$OBJDUMP" >&6; }
4959 else
4960   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4961 $as_echo "no" >&6; }
4962 fi
4963
4964
4965 fi
4966 if test -z "$ac_cv_prog_OBJDUMP"; then
4967   ac_ct_OBJDUMP=$OBJDUMP
4968   # Extract the first word of "objdump", so it can be a program name with args.
4969 set dummy objdump; ac_word=$2
4970 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4971 $as_echo_n "checking for $ac_word... " >&6; }
4972 if ${ac_cv_prog_ac_ct_OBJDUMP+:} false; then :
4973   $as_echo_n "(cached) " >&6
4974 else
4975   if test -n "$ac_ct_OBJDUMP"; then
4976   ac_cv_prog_ac_ct_OBJDUMP="$ac_ct_OBJDUMP" # Let the user override the test.
4977 else
4978 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4979 for as_dir in $PATH
4980 do
4981   IFS=$as_save_IFS
4982   test -z "$as_dir" && as_dir=.
4983     for ac_exec_ext in '' $ac_executable_extensions; do
4984   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4985     ac_cv_prog_ac_ct_OBJDUMP="objdump"
4986     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4987     break 2
4988   fi
4989 done
4990   done
4991 IFS=$as_save_IFS
4992
4993 fi
4994 fi
4995 ac_ct_OBJDUMP=$ac_cv_prog_ac_ct_OBJDUMP
4996 if test -n "$ac_ct_OBJDUMP"; then
4997   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OBJDUMP" >&5
4998 $as_echo "$ac_ct_OBJDUMP" >&6; }
4999 else
5000   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5001 $as_echo "no" >&6; }
5002 fi
5003
5004   if test "x$ac_ct_OBJDUMP" = x; then
5005     OBJDUMP="false"
5006   else
5007     case $cross_compiling:$ac_tool_warned in
5008 yes:)
5009 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5010 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5011 ac_tool_warned=yes ;;
5012 esac
5013     OBJDUMP=$ac_ct_OBJDUMP
5014   fi
5015 else
5016   OBJDUMP="$ac_cv_prog_OBJDUMP"
5017 fi
5018
5019 test -z "$OBJDUMP" && OBJDUMP=objdump
5020
5021
5022
5023
5024
5025
5026 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to recognize dependent libraries" >&5
5027 $as_echo_n "checking how to recognize dependent libraries... " >&6; }
5028 if ${lt_cv_deplibs_check_method+:} false; then :
5029   $as_echo_n "(cached) " >&6
5030 else
5031   lt_cv_file_magic_cmd='$MAGIC_CMD'
5032 lt_cv_file_magic_test_file=
5033 lt_cv_deplibs_check_method='unknown'
5034 # Need to set the preceding variable on all platforms that support
5035 # interlibrary dependencies.
5036 # 'none' -- dependencies not supported.
5037 # `unknown' -- same as none, but documents that we really don't know.
5038 # 'pass_all' -- all dependencies passed with no checks.
5039 # 'test_compile' -- check by making test program.
5040 # 'file_magic [[regex]]' -- check by looking for files in library path
5041 # which responds to the $file_magic_cmd with a given extended regex.
5042 # If you have `file' or equivalent on your system and you're not sure
5043 # whether `pass_all' will *always* work, you probably want this one.
5044
5045 case $host_os in
5046 aix[4-9]*)
5047   lt_cv_deplibs_check_method=pass_all
5048   ;;
5049
5050 beos*)
5051   lt_cv_deplibs_check_method=pass_all
5052   ;;
5053
5054 bsdi[45]*)
5055   lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (shared object|dynamic lib)'
5056   lt_cv_file_magic_cmd='/usr/bin/file -L'
5057   lt_cv_file_magic_test_file=/shlib/libc.so
5058   ;;
5059
5060 cygwin*)
5061   # func_win32_libid is a shell function defined in ltmain.sh
5062   lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL'
5063   lt_cv_file_magic_cmd='func_win32_libid'
5064   ;;
5065
5066 mingw* | pw32*)
5067   # Base MSYS/MinGW do not provide the 'file' command needed by
5068   # func_win32_libid shell function, so use a weaker test based on 'objdump',
5069   # unless we find 'file', for example because we are cross-compiling.
5070   # func_win32_libid assumes BSD nm, so disallow it if using MS dumpbin.
5071   if ( test "$lt_cv_nm_interface" = "BSD nm" && file / ) >/dev/null 2>&1; then
5072     lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL'
5073     lt_cv_file_magic_cmd='func_win32_libid'
5074   else
5075     # Keep this pattern in sync with the one in func_win32_libid.
5076     lt_cv_deplibs_check_method='file_magic file format (pei*-i386(.*architecture: i386)?|pe-arm-wince|pe-x86-64)'
5077     lt_cv_file_magic_cmd='$OBJDUMP -f'
5078   fi
5079   ;;
5080
5081 cegcc*)
5082   # use the weaker test based on 'objdump'. See mingw*.
5083   lt_cv_deplibs_check_method='file_magic file format pe-arm-.*little(.*architecture: arm)?'
5084   lt_cv_file_magic_cmd='$OBJDUMP -f'
5085   ;;
5086
5087 darwin* | rhapsody*)
5088   lt_cv_deplibs_check_method=pass_all
5089   ;;
5090
5091 freebsd* | dragonfly*)
5092   if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then
5093     case $host_cpu in
5094     i*86 )
5095       # Not sure whether the presence of OpenBSD here was a mistake.
5096       # Let's accept both of them until this is cleared up.
5097       lt_cv_deplibs_check_method='file_magic (FreeBSD|OpenBSD|DragonFly)/i[3-9]86 (compact )?demand paged shared library'
5098       lt_cv_file_magic_cmd=/usr/bin/file
5099       lt_cv_file_magic_test_file=`echo /usr/lib/libc.so.*`
5100       ;;
5101     esac
5102   else
5103     lt_cv_deplibs_check_method=pass_all
5104   fi
5105   ;;
5106
5107 haiku*)
5108   lt_cv_deplibs_check_method=pass_all
5109   ;;
5110
5111 hpux10.20* | hpux11*)
5112   lt_cv_file_magic_cmd=/usr/bin/file
5113   case $host_cpu in
5114   ia64*)
5115     lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|ELF-[0-9][0-9]) shared object file - IA64'
5116     lt_cv_file_magic_test_file=/usr/lib/hpux32/libc.so
5117     ;;
5118   hppa*64*)
5119     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]'
5120     lt_cv_file_magic_test_file=/usr/lib/pa20_64/libc.sl
5121     ;;
5122   *)
5123     lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|PA-RISC[0-9]\.[0-9]) shared library'
5124     lt_cv_file_magic_test_file=/usr/lib/libc.sl
5125     ;;
5126   esac
5127   ;;
5128
5129 interix[3-9]*)
5130   # PIC code is broken on Interix 3.x, that's why |\.a not |_pic\.a here
5131   lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|\.a)$'
5132   ;;
5133
5134 irix5* | irix6* | nonstopux*)
5135   case $LD in
5136   *-32|*"-32 ") libmagic=32-bit;;
5137   *-n32|*"-n32 ") libmagic=N32;;
5138   *-64|*"-64 ") libmagic=64-bit;;
5139   *) libmagic=never-match;;
5140   esac
5141   lt_cv_deplibs_check_method=pass_all
5142   ;;
5143
5144 # This must be glibc/ELF.
5145 linux* | k*bsd*-gnu | kopensolaris*-gnu | gnu*)
5146   lt_cv_deplibs_check_method=pass_all
5147   ;;
5148
5149 netbsd* | netbsdelf*-gnu)
5150   if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then
5151     lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
5152   else
5153     lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|_pic\.a)$'
5154   fi
5155   ;;
5156
5157 newos6*)
5158   lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (executable|dynamic lib)'
5159   lt_cv_file_magic_cmd=/usr/bin/file
5160   lt_cv_file_magic_test_file=/usr/lib/libnls.so
5161   ;;
5162
5163 *nto* | *qnx*)
5164   lt_cv_deplibs_check_method=pass_all
5165   ;;
5166
5167 openbsd*)
5168   if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
5169     lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|\.so|_pic\.a)$'
5170   else
5171     lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
5172   fi
5173   ;;
5174
5175 osf3* | osf4* | osf5*)
5176   lt_cv_deplibs_check_method=pass_all
5177   ;;
5178
5179 rdos*)
5180   lt_cv_deplibs_check_method=pass_all
5181   ;;
5182
5183 solaris*)
5184   lt_cv_deplibs_check_method=pass_all
5185   ;;
5186
5187 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
5188   lt_cv_deplibs_check_method=pass_all
5189   ;;
5190
5191 sysv4 | sysv4.3*)
5192   case $host_vendor in
5193   motorola)
5194     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]'
5195     lt_cv_file_magic_test_file=`echo /usr/lib/libc.so*`
5196     ;;
5197   ncr)
5198     lt_cv_deplibs_check_method=pass_all
5199     ;;
5200   sequent)
5201     lt_cv_file_magic_cmd='/bin/file'
5202     lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [LM]SB (shared object|dynamic lib )'
5203     ;;
5204   sni)
5205     lt_cv_file_magic_cmd='/bin/file'
5206     lt_cv_deplibs_check_method="file_magic ELF [0-9][0-9]*-bit [LM]SB dynamic lib"
5207     lt_cv_file_magic_test_file=/lib/libc.so
5208     ;;
5209   siemens)
5210     lt_cv_deplibs_check_method=pass_all
5211     ;;
5212   pc)
5213     lt_cv_deplibs_check_method=pass_all
5214     ;;
5215   esac
5216   ;;
5217
5218 tpf*)
5219   lt_cv_deplibs_check_method=pass_all
5220   ;;
5221 esac
5222
5223 fi
5224 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_deplibs_check_method" >&5
5225 $as_echo "$lt_cv_deplibs_check_method" >&6; }
5226
5227 file_magic_glob=
5228 want_nocaseglob=no
5229 if test "$build" = "$host"; then
5230   case $host_os in
5231   mingw* | pw32*)
5232     if ( shopt | grep nocaseglob ) >/dev/null 2>&1; then
5233       want_nocaseglob=yes
5234     else
5235       file_magic_glob=`echo aAbBcCdDeEfFgGhHiIjJkKlLmMnNoOpPqQrRsStTuUvVwWxXyYzZ | $SED -e "s/\(..\)/s\/[\1]\/[\1]\/g;/g"`
5236     fi
5237     ;;
5238   esac
5239 fi
5240
5241 file_magic_cmd=$lt_cv_file_magic_cmd
5242 deplibs_check_method=$lt_cv_deplibs_check_method
5243 test -z "$deplibs_check_method" && deplibs_check_method=unknown
5244
5245
5246
5247
5248
5249
5250
5251
5252
5253
5254
5255
5256
5257
5258
5259
5260
5261
5262
5263
5264
5265
5266 if test -n "$ac_tool_prefix"; then
5267   # Extract the first word of "${ac_tool_prefix}dlltool", so it can be a program name with args.
5268 set dummy ${ac_tool_prefix}dlltool; ac_word=$2
5269 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5270 $as_echo_n "checking for $ac_word... " >&6; }
5271 if ${ac_cv_prog_DLLTOOL+:} false; then :
5272   $as_echo_n "(cached) " >&6
5273 else
5274   if test -n "$DLLTOOL"; then
5275   ac_cv_prog_DLLTOOL="$DLLTOOL" # Let the user override the test.
5276 else
5277 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5278 for as_dir in $PATH
5279 do
5280   IFS=$as_save_IFS
5281   test -z "$as_dir" && as_dir=.
5282     for ac_exec_ext in '' $ac_executable_extensions; do
5283   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5284     ac_cv_prog_DLLTOOL="${ac_tool_prefix}dlltool"
5285     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5286     break 2
5287   fi
5288 done
5289   done
5290 IFS=$as_save_IFS
5291
5292 fi
5293 fi
5294 DLLTOOL=$ac_cv_prog_DLLTOOL
5295 if test -n "$DLLTOOL"; then
5296   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DLLTOOL" >&5
5297 $as_echo "$DLLTOOL" >&6; }
5298 else
5299   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5300 $as_echo "no" >&6; }
5301 fi
5302
5303
5304 fi
5305 if test -z "$ac_cv_prog_DLLTOOL"; then
5306   ac_ct_DLLTOOL=$DLLTOOL
5307   # Extract the first word of "dlltool", so it can be a program name with args.
5308 set dummy dlltool; ac_word=$2
5309 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5310 $as_echo_n "checking for $ac_word... " >&6; }
5311 if ${ac_cv_prog_ac_ct_DLLTOOL+:} false; then :
5312   $as_echo_n "(cached) " >&6
5313 else
5314   if test -n "$ac_ct_DLLTOOL"; then
5315   ac_cv_prog_ac_ct_DLLTOOL="$ac_ct_DLLTOOL" # Let the user override the test.
5316 else
5317 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5318 for as_dir in $PATH
5319 do
5320   IFS=$as_save_IFS
5321   test -z "$as_dir" && as_dir=.
5322     for ac_exec_ext in '' $ac_executable_extensions; do
5323   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5324     ac_cv_prog_ac_ct_DLLTOOL="dlltool"
5325     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5326     break 2
5327   fi
5328 done
5329   done
5330 IFS=$as_save_IFS
5331
5332 fi
5333 fi
5334 ac_ct_DLLTOOL=$ac_cv_prog_ac_ct_DLLTOOL
5335 if test -n "$ac_ct_DLLTOOL"; then
5336   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DLLTOOL" >&5
5337 $as_echo "$ac_ct_DLLTOOL" >&6; }
5338 else
5339   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5340 $as_echo "no" >&6; }
5341 fi
5342
5343   if test "x$ac_ct_DLLTOOL" = x; then
5344     DLLTOOL="false"
5345   else
5346     case $cross_compiling:$ac_tool_warned in
5347 yes:)
5348 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5349 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5350 ac_tool_warned=yes ;;
5351 esac
5352     DLLTOOL=$ac_ct_DLLTOOL
5353   fi
5354 else
5355   DLLTOOL="$ac_cv_prog_DLLTOOL"
5356 fi
5357
5358 test -z "$DLLTOOL" && DLLTOOL=dlltool
5359
5360
5361
5362
5363
5364
5365
5366 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to associate runtime and link libraries" >&5
5367 $as_echo_n "checking how to associate runtime and link libraries... " >&6; }
5368 if ${lt_cv_sharedlib_from_linklib_cmd+:} false; then :
5369   $as_echo_n "(cached) " >&6
5370 else
5371   lt_cv_sharedlib_from_linklib_cmd='unknown'
5372
5373 case $host_os in
5374 cygwin* | mingw* | pw32* | cegcc*)
5375   # two different shell functions defined in ltmain.sh
5376   # decide which to use based on capabilities of $DLLTOOL
5377   case `$DLLTOOL --help 2>&1` in
5378   *--identify-strict*)
5379     lt_cv_sharedlib_from_linklib_cmd=func_cygming_dll_for_implib
5380     ;;
5381   *)
5382     lt_cv_sharedlib_from_linklib_cmd=func_cygming_dll_for_implib_fallback
5383     ;;
5384   esac
5385   ;;
5386 *)
5387   # fallback: assume linklib IS sharedlib
5388   lt_cv_sharedlib_from_linklib_cmd="$ECHO"
5389   ;;
5390 esac
5391
5392 fi
5393 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_sharedlib_from_linklib_cmd" >&5
5394 $as_echo "$lt_cv_sharedlib_from_linklib_cmd" >&6; }
5395 sharedlib_from_linklib_cmd=$lt_cv_sharedlib_from_linklib_cmd
5396 test -z "$sharedlib_from_linklib_cmd" && sharedlib_from_linklib_cmd=$ECHO
5397
5398
5399
5400
5401
5402
5403
5404
5405 if test -n "$ac_tool_prefix"; then
5406   for ac_prog in ar
5407   do
5408     # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
5409 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
5410 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5411 $as_echo_n "checking for $ac_word... " >&6; }
5412 if ${ac_cv_prog_AR+:} false; then :
5413   $as_echo_n "(cached) " >&6
5414 else
5415   if test -n "$AR"; then
5416   ac_cv_prog_AR="$AR" # Let the user override the test.
5417 else
5418 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5419 for as_dir in $PATH
5420 do
5421   IFS=$as_save_IFS
5422   test -z "$as_dir" && as_dir=.
5423     for ac_exec_ext in '' $ac_executable_extensions; do
5424   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5425     ac_cv_prog_AR="$ac_tool_prefix$ac_prog"
5426     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5427     break 2
5428   fi
5429 done
5430   done
5431 IFS=$as_save_IFS
5432
5433 fi
5434 fi
5435 AR=$ac_cv_prog_AR
5436 if test -n "$AR"; then
5437   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AR" >&5
5438 $as_echo "$AR" >&6; }
5439 else
5440   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5441 $as_echo "no" >&6; }
5442 fi
5443
5444
5445     test -n "$AR" && break
5446   done
5447 fi
5448 if test -z "$AR"; then
5449   ac_ct_AR=$AR
5450   for ac_prog in ar
5451 do
5452   # Extract the first word of "$ac_prog", so it can be a program name with args.
5453 set dummy $ac_prog; ac_word=$2
5454 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5455 $as_echo_n "checking for $ac_word... " >&6; }
5456 if ${ac_cv_prog_ac_ct_AR+:} false; then :
5457   $as_echo_n "(cached) " >&6
5458 else
5459   if test -n "$ac_ct_AR"; then
5460   ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test.
5461 else
5462 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5463 for as_dir in $PATH
5464 do
5465   IFS=$as_save_IFS
5466   test -z "$as_dir" && as_dir=.
5467     for ac_exec_ext in '' $ac_executable_extensions; do
5468   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5469     ac_cv_prog_ac_ct_AR="$ac_prog"
5470     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5471     break 2
5472   fi
5473 done
5474   done
5475 IFS=$as_save_IFS
5476
5477 fi
5478 fi
5479 ac_ct_AR=$ac_cv_prog_ac_ct_AR
5480 if test -n "$ac_ct_AR"; then
5481   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_AR" >&5
5482 $as_echo "$ac_ct_AR" >&6; }
5483 else
5484   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5485 $as_echo "no" >&6; }
5486 fi
5487
5488
5489   test -n "$ac_ct_AR" && break
5490 done
5491
5492   if test "x$ac_ct_AR" = x; then
5493     AR="false"
5494   else
5495     case $cross_compiling:$ac_tool_warned in
5496 yes:)
5497 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5498 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5499 ac_tool_warned=yes ;;
5500 esac
5501     AR=$ac_ct_AR
5502   fi
5503 fi
5504
5505 : ${AR=ar}
5506 : ${AR_FLAGS=cru}
5507
5508
5509
5510
5511
5512
5513
5514
5515
5516
5517
5518 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for archiver @FILE support" >&5
5519 $as_echo_n "checking for archiver @FILE support... " >&6; }
5520 if ${lt_cv_ar_at_file+:} false; then :
5521   $as_echo_n "(cached) " >&6
5522 else
5523   lt_cv_ar_at_file=no
5524    cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5525 /* end confdefs.h.  */
5526
5527 int
5528 main ()
5529 {
5530
5531   ;
5532   return 0;
5533 }
5534 _ACEOF
5535 if ac_fn_c_try_compile "$LINENO"; then :
5536   echo conftest.$ac_objext > conftest.lst
5537       lt_ar_try='$AR $AR_FLAGS libconftest.a @conftest.lst >&5'
5538       { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$lt_ar_try\""; } >&5
5539   (eval $lt_ar_try) 2>&5
5540   ac_status=$?
5541   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
5542   test $ac_status = 0; }
5543       if test "$ac_status" -eq 0; then
5544         # Ensure the archiver fails upon bogus file names.
5545         rm -f conftest.$ac_objext libconftest.a
5546         { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$lt_ar_try\""; } >&5
5547   (eval $lt_ar_try) 2>&5
5548   ac_status=$?
5549   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
5550   test $ac_status = 0; }
5551         if test "$ac_status" -ne 0; then
5552           lt_cv_ar_at_file=@
5553         fi
5554       fi
5555       rm -f conftest.* libconftest.a
5556
5557 fi
5558 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5559
5560 fi
5561 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ar_at_file" >&5
5562 $as_echo "$lt_cv_ar_at_file" >&6; }
5563
5564 if test "x$lt_cv_ar_at_file" = xno; then
5565   archiver_list_spec=
5566 else
5567   archiver_list_spec=$lt_cv_ar_at_file
5568 fi
5569
5570
5571
5572
5573
5574
5575
5576 if test -n "$ac_tool_prefix"; then
5577   # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
5578 set dummy ${ac_tool_prefix}strip; ac_word=$2
5579 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5580 $as_echo_n "checking for $ac_word... " >&6; }
5581 if ${ac_cv_prog_STRIP+:} false; then :
5582   $as_echo_n "(cached) " >&6
5583 else
5584   if test -n "$STRIP"; then
5585   ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
5586 else
5587 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5588 for as_dir in $PATH
5589 do
5590   IFS=$as_save_IFS
5591   test -z "$as_dir" && as_dir=.
5592     for ac_exec_ext in '' $ac_executable_extensions; do
5593   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5594     ac_cv_prog_STRIP="${ac_tool_prefix}strip"
5595     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5596     break 2
5597   fi
5598 done
5599   done
5600 IFS=$as_save_IFS
5601
5602 fi
5603 fi
5604 STRIP=$ac_cv_prog_STRIP
5605 if test -n "$STRIP"; then
5606   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
5607 $as_echo "$STRIP" >&6; }
5608 else
5609   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5610 $as_echo "no" >&6; }
5611 fi
5612
5613
5614 fi
5615 if test -z "$ac_cv_prog_STRIP"; then
5616   ac_ct_STRIP=$STRIP
5617   # Extract the first word of "strip", so it can be a program name with args.
5618 set dummy strip; ac_word=$2
5619 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5620 $as_echo_n "checking for $ac_word... " >&6; }
5621 if ${ac_cv_prog_ac_ct_STRIP+:} false; then :
5622   $as_echo_n "(cached) " >&6
5623 else
5624   if test -n "$ac_ct_STRIP"; then
5625   ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
5626 else
5627 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5628 for as_dir in $PATH
5629 do
5630   IFS=$as_save_IFS
5631   test -z "$as_dir" && as_dir=.
5632     for ac_exec_ext in '' $ac_executable_extensions; do
5633   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5634     ac_cv_prog_ac_ct_STRIP="strip"
5635     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5636     break 2
5637   fi
5638 done
5639   done
5640 IFS=$as_save_IFS
5641
5642 fi
5643 fi
5644 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
5645 if test -n "$ac_ct_STRIP"; then
5646   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
5647 $as_echo "$ac_ct_STRIP" >&6; }
5648 else
5649   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5650 $as_echo "no" >&6; }
5651 fi
5652
5653   if test "x$ac_ct_STRIP" = x; then
5654     STRIP=":"
5655   else
5656     case $cross_compiling:$ac_tool_warned in
5657 yes:)
5658 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5659 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5660 ac_tool_warned=yes ;;
5661 esac
5662     STRIP=$ac_ct_STRIP
5663   fi
5664 else
5665   STRIP="$ac_cv_prog_STRIP"
5666 fi
5667
5668 test -z "$STRIP" && STRIP=:
5669
5670
5671
5672
5673
5674
5675 if test -n "$ac_tool_prefix"; then
5676   # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
5677 set dummy ${ac_tool_prefix}ranlib; ac_word=$2
5678 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5679 $as_echo_n "checking for $ac_word... " >&6; }
5680 if ${ac_cv_prog_RANLIB+:} false; then :
5681   $as_echo_n "(cached) " >&6
5682 else
5683   if test -n "$RANLIB"; then
5684   ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
5685 else
5686 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5687 for as_dir in $PATH
5688 do
5689   IFS=$as_save_IFS
5690   test -z "$as_dir" && as_dir=.
5691     for ac_exec_ext in '' $ac_executable_extensions; do
5692   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5693     ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
5694     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5695     break 2
5696   fi
5697 done
5698   done
5699 IFS=$as_save_IFS
5700
5701 fi
5702 fi
5703 RANLIB=$ac_cv_prog_RANLIB
5704 if test -n "$RANLIB"; then
5705   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $RANLIB" >&5
5706 $as_echo "$RANLIB" >&6; }
5707 else
5708   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5709 $as_echo "no" >&6; }
5710 fi
5711
5712
5713 fi
5714 if test -z "$ac_cv_prog_RANLIB"; then
5715   ac_ct_RANLIB=$RANLIB
5716   # Extract the first word of "ranlib", so it can be a program name with args.
5717 set dummy ranlib; ac_word=$2
5718 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5719 $as_echo_n "checking for $ac_word... " >&6; }
5720 if ${ac_cv_prog_ac_ct_RANLIB+:} false; then :
5721   $as_echo_n "(cached) " >&6
5722 else
5723   if test -n "$ac_ct_RANLIB"; then
5724   ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
5725 else
5726 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5727 for as_dir in $PATH
5728 do
5729   IFS=$as_save_IFS
5730   test -z "$as_dir" && as_dir=.
5731     for ac_exec_ext in '' $ac_executable_extensions; do
5732   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5733     ac_cv_prog_ac_ct_RANLIB="ranlib"
5734     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5735     break 2
5736   fi
5737 done
5738   done
5739 IFS=$as_save_IFS
5740
5741 fi
5742 fi
5743 ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
5744 if test -n "$ac_ct_RANLIB"; then
5745   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_RANLIB" >&5
5746 $as_echo "$ac_ct_RANLIB" >&6; }
5747 else
5748   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5749 $as_echo "no" >&6; }
5750 fi
5751
5752   if test "x$ac_ct_RANLIB" = x; then
5753     RANLIB=":"
5754   else
5755     case $cross_compiling:$ac_tool_warned in
5756 yes:)
5757 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5758 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5759 ac_tool_warned=yes ;;
5760 esac
5761     RANLIB=$ac_ct_RANLIB
5762   fi
5763 else
5764   RANLIB="$ac_cv_prog_RANLIB"
5765 fi
5766
5767 test -z "$RANLIB" && RANLIB=:
5768
5769
5770
5771
5772
5773
5774 # Determine commands to create old-style static archives.
5775 old_archive_cmds='$AR $AR_FLAGS $oldlib$oldobjs'
5776 old_postinstall_cmds='chmod 644 $oldlib'
5777 old_postuninstall_cmds=
5778
5779 if test -n "$RANLIB"; then
5780   case $host_os in
5781   openbsd*)
5782     old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB -t \$tool_oldlib"
5783     ;;
5784   *)
5785     old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB \$tool_oldlib"
5786     ;;
5787   esac
5788   old_archive_cmds="$old_archive_cmds~\$RANLIB \$tool_oldlib"
5789 fi
5790
5791 case $host_os in
5792   darwin*)
5793     lock_old_archive_extraction=yes ;;
5794   *)
5795     lock_old_archive_extraction=no ;;
5796 esac
5797
5798
5799
5800
5801
5802
5803
5804
5805
5806
5807
5808
5809
5810
5811
5812
5813
5814
5815
5816
5817
5818
5819
5820
5821
5822
5823
5824
5825
5826
5827
5828
5829
5830
5831
5832
5833
5834
5835
5836 # If no C compiler was specified, use CC.
5837 LTCC=${LTCC-"$CC"}
5838
5839 # If no C compiler flags were specified, use CFLAGS.
5840 LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
5841
5842 # Allow CC to be a program name with arguments.
5843 compiler=$CC
5844
5845
5846 # Check for command to grab the raw symbol name followed by C symbol from nm.
5847 { $as_echo "$as_me:${as_lineno-$LINENO}: checking command to parse $NM output from $compiler object" >&5
5848 $as_echo_n "checking command to parse $NM output from $compiler object... " >&6; }
5849 if ${lt_cv_sys_global_symbol_pipe+:} false; then :
5850   $as_echo_n "(cached) " >&6
5851 else
5852
5853 # These are sane defaults that work on at least a few old systems.
5854 # [They come from Ultrix.  What could be older than Ultrix?!! ;)]
5855
5856 # Character class describing NM global symbol codes.
5857 symcode='[BCDEGRST]'
5858
5859 # Regexp to match symbols that can be accessed directly from C.
5860 sympat='\([_A-Za-z][_A-Za-z0-9]*\)'
5861
5862 # Define system-specific variables.
5863 case $host_os in
5864 aix*)
5865   symcode='[BCDT]'
5866   ;;
5867 cygwin* | mingw* | pw32* | cegcc*)
5868   symcode='[ABCDGISTW]'
5869   ;;
5870 hpux*)
5871   if test "$host_cpu" = ia64; then
5872     symcode='[ABCDEGRST]'
5873   fi
5874   ;;
5875 irix* | nonstopux*)
5876   symcode='[BCDEGRST]'
5877   ;;
5878 osf*)
5879   symcode='[BCDEGQRST]'
5880   ;;
5881 solaris*)
5882   symcode='[BDRT]'
5883   ;;
5884 sco3.2v5*)
5885   symcode='[DT]'
5886   ;;
5887 sysv4.2uw2*)
5888   symcode='[DT]'
5889   ;;
5890 sysv5* | sco5v6* | unixware* | OpenUNIX*)
5891   symcode='[ABDT]'
5892   ;;
5893 sysv4)
5894   symcode='[DFNSTU]'
5895   ;;
5896 esac
5897
5898 # If we're using GNU nm, then use its standard symbol codes.
5899 case `$NM -V 2>&1` in
5900 *GNU* | *'with BFD'*)
5901   symcode='[ABCDGIRSTW]' ;;
5902 esac
5903
5904 # Transform an extracted symbol line into a proper C declaration.
5905 # Some systems (esp. on ia64) link data and code symbols differently,
5906 # so use this general approach.
5907 lt_cv_sys_global_symbol_to_cdecl="sed -n -e 's/^T .* \(.*\)$/extern int \1();/p' -e 's/^$symcode* .* \(.*\)$/extern char \1;/p'"
5908
5909 # Transform an extracted symbol line into symbol name and symbol address
5910 lt_cv_sys_global_symbol_to_c_name_address="sed -n -e 's/^: \([^ ]*\)[ ]*$/  {\\\"\1\\\", (void *) 0},/p' -e 's/^$symcode* \([^ ]*\) \([^ ]*\)$/  {\"\2\", (void *) \&\2},/p'"
5911 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'"
5912
5913 # Handle CRLF in mingw tool chain
5914 opt_cr=
5915 case $build_os in
5916 mingw*)
5917   opt_cr=`$ECHO 'x\{0,1\}' | tr x '\015'` # option cr in regexp
5918   ;;
5919 esac
5920
5921 # Try without a prefix underscore, then with it.
5922 for ac_symprfx in "" "_"; do
5923
5924   # Transform symcode, sympat, and symprfx into a raw symbol and a C symbol.
5925   symxfrm="\\1 $ac_symprfx\\2 \\2"
5926
5927   # Write the raw and C identifiers.
5928   if test "$lt_cv_nm_interface" = "MS dumpbin"; then
5929     # Fake it for dumpbin and say T for any non-static function
5930     # and D for any global variable.
5931     # Also find C++ and __fastcall symbols from MSVC++,
5932     # which start with @ or ?.
5933     lt_cv_sys_global_symbol_pipe="$AWK '"\
5934 "     {last_section=section; section=\$ 3};"\
5935 "     /^COFF SYMBOL TABLE/{for(i in hide) delete hide[i]};"\
5936 "     /Section length .*#relocs.*(pick any)/{hide[last_section]=1};"\
5937 "     \$ 0!~/External *\|/{next};"\
5938 "     / 0+ UNDEF /{next}; / UNDEF \([^|]\)*()/{next};"\
5939 "     {if(hide[section]) next};"\
5940 "     {f=0}; \$ 0~/\(\).*\|/{f=1}; {printf f ? \"T \" : \"D \"};"\
5941 "     {split(\$ 0, a, /\||\r/); split(a[2], s)};"\
5942 "     s[1]~/^[@?]/{print s[1], s[1]; next};"\
5943 "     s[1]~prfx {split(s[1],t,\"@\"); print t[1], substr(t[1],length(prfx))}"\
5944 "     ' prfx=^$ac_symprfx"
5945   else
5946     lt_cv_sys_global_symbol_pipe="sed -n -e 's/^.*[      ]\($symcode$symcode*\)[         ][      ]*$ac_symprfx$sympat$opt_cr$/$symxfrm/p'"
5947   fi
5948   lt_cv_sys_global_symbol_pipe="$lt_cv_sys_global_symbol_pipe | sed '/ __gnu_lto/d'"
5949
5950   # Check to see that the pipe works correctly.
5951   pipe_works=no
5952
5953   rm -f conftest*
5954   cat > conftest.$ac_ext <<_LT_EOF
5955 #ifdef __cplusplus
5956 extern "C" {
5957 #endif
5958 char nm_test_var;
5959 void nm_test_func(void);
5960 void nm_test_func(void){}
5961 #ifdef __cplusplus
5962 }
5963 #endif
5964 int main(){nm_test_var='a';nm_test_func();return(0);}
5965 _LT_EOF
5966
5967   if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
5968   (eval $ac_compile) 2>&5
5969   ac_status=$?
5970   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
5971   test $ac_status = 0; }; then
5972     # Now try to grab the symbols.
5973     nlist=conftest.nm
5974     if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$NM conftest.$ac_objext \| "$lt_cv_sys_global_symbol_pipe" \> $nlist\""; } >&5
5975   (eval $NM conftest.$ac_objext \| "$lt_cv_sys_global_symbol_pipe" \> $nlist) 2>&5
5976   ac_status=$?
5977   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
5978   test $ac_status = 0; } && test -s "$nlist"; then
5979       # Try sorting and uniquifying the output.
5980       if sort "$nlist" | uniq > "$nlist"T; then
5981         mv -f "$nlist"T "$nlist"
5982       else
5983         rm -f "$nlist"T
5984       fi
5985
5986       # Make sure that we snagged all the symbols we need.
5987       if $GREP ' nm_test_var$' "$nlist" >/dev/null; then
5988         if $GREP ' nm_test_func$' "$nlist" >/dev/null; then
5989           cat <<_LT_EOF > conftest.$ac_ext
5990 /* Keep this code in sync between libtool.m4, ltmain, lt_system.h, and tests.  */
5991 #if defined(_WIN32) || defined(__CYGWIN__) || defined(_WIN32_WCE)
5992 /* DATA imports from DLLs on WIN32 con't be const, because runtime
5993    relocations are performed -- see ld's documentation on pseudo-relocs.  */
5994 # define LT_DLSYM_CONST
5995 #elif defined(__osf__)
5996 /* This system does not cope well with relocations in const data.  */
5997 # define LT_DLSYM_CONST
5998 #else
5999 # define LT_DLSYM_CONST const
6000 #endif
6001
6002 #ifdef __cplusplus
6003 extern "C" {
6004 #endif
6005
6006 _LT_EOF
6007           # Now generate the symbol file.
6008           eval "$lt_cv_sys_global_symbol_to_cdecl"' < "$nlist" | $GREP -v main >> conftest.$ac_ext'
6009
6010           cat <<_LT_EOF >> conftest.$ac_ext
6011
6012 /* The mapping between symbol names and symbols.  */
6013 LT_DLSYM_CONST struct {
6014   const char *name;
6015   void       *address;
6016 }
6017 lt__PROGRAM__LTX_preloaded_symbols[] =
6018 {
6019   { "@PROGRAM@", (void *) 0 },
6020 _LT_EOF
6021           $SED "s/^$symcode$symcode* \(.*\) \(.*\)$/  {\"\2\", (void *) \&\2},/" < "$nlist" | $GREP -v main >> conftest.$ac_ext
6022           cat <<\_LT_EOF >> conftest.$ac_ext
6023   {0, (void *) 0}
6024 };
6025
6026 /* This works around a problem in FreeBSD linker */
6027 #ifdef FREEBSD_WORKAROUND
6028 static const void *lt_preloaded_setup() {
6029   return lt__PROGRAM__LTX_preloaded_symbols;
6030 }
6031 #endif
6032
6033 #ifdef __cplusplus
6034 }
6035 #endif
6036 _LT_EOF
6037           # Now try linking the two files.
6038           mv conftest.$ac_objext conftstm.$ac_objext
6039           lt_globsym_save_LIBS=$LIBS
6040           lt_globsym_save_CFLAGS=$CFLAGS
6041           LIBS="conftstm.$ac_objext"
6042           CFLAGS="$CFLAGS$lt_prog_compiler_no_builtin_flag"
6043           if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
6044   (eval $ac_link) 2>&5
6045   ac_status=$?
6046   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6047   test $ac_status = 0; } && test -s conftest${ac_exeext}; then
6048             pipe_works=yes
6049           fi
6050           LIBS=$lt_globsym_save_LIBS
6051           CFLAGS=$lt_globsym_save_CFLAGS
6052         else
6053           echo "cannot find nm_test_func in $nlist" >&5
6054         fi
6055       else
6056         echo "cannot find nm_test_var in $nlist" >&5
6057       fi
6058     else
6059       echo "cannot run $lt_cv_sys_global_symbol_pipe" >&5
6060     fi
6061   else
6062     echo "$progname: failed program was:" >&5
6063     cat conftest.$ac_ext >&5
6064   fi
6065   rm -rf conftest* conftst*
6066
6067   # Do not use the global_symbol_pipe unless it works.
6068   if test "$pipe_works" = yes; then
6069     break
6070   else
6071     lt_cv_sys_global_symbol_pipe=
6072   fi
6073 done
6074
6075 fi
6076
6077 if test -z "$lt_cv_sys_global_symbol_pipe"; then
6078   lt_cv_sys_global_symbol_to_cdecl=
6079 fi
6080 if test -z "$lt_cv_sys_global_symbol_pipe$lt_cv_sys_global_symbol_to_cdecl"; then
6081   { $as_echo "$as_me:${as_lineno-$LINENO}: result: failed" >&5
6082 $as_echo "failed" >&6; }
6083 else
6084   { $as_echo "$as_me:${as_lineno-$LINENO}: result: ok" >&5
6085 $as_echo "ok" >&6; }
6086 fi
6087
6088 # Response file support.
6089 if test "$lt_cv_nm_interface" = "MS dumpbin"; then
6090   nm_file_list_spec='@'
6091 elif $NM --help 2>/dev/null | grep '[@]FILE' >/dev/null; then
6092   nm_file_list_spec='@'
6093 fi
6094
6095
6096
6097
6098
6099
6100
6101
6102
6103
6104
6105
6106
6107
6108
6109
6110
6111
6112
6113
6114
6115
6116
6117
6118
6119
6120
6121 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sysroot" >&5
6122 $as_echo_n "checking for sysroot... " >&6; }
6123
6124 # Check whether --with-sysroot was given.
6125 if test "${with_sysroot+set}" = set; then :
6126   withval=$with_sysroot;
6127 else
6128   with_sysroot=no
6129 fi
6130
6131
6132 lt_sysroot=
6133 case ${with_sysroot} in #(
6134  yes)
6135    if test "$GCC" = yes; then
6136      lt_sysroot=`$CC --print-sysroot 2>/dev/null`
6137    fi
6138    ;; #(
6139  /*)
6140    lt_sysroot=`echo "$with_sysroot" | sed -e "$sed_quote_subst"`
6141    ;; #(
6142  no|'')
6143    ;; #(
6144  *)
6145    { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${with_sysroot}" >&5
6146 $as_echo "${with_sysroot}" >&6; }
6147    as_fn_error $? "The sysroot must be an absolute path." "$LINENO" 5
6148    ;;
6149 esac
6150
6151  { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${lt_sysroot:-no}" >&5
6152 $as_echo "${lt_sysroot:-no}" >&6; }
6153
6154
6155
6156
6157
6158 # Check whether --enable-libtool-lock was given.
6159 if test "${enable_libtool_lock+set}" = set; then :
6160   enableval=$enable_libtool_lock;
6161 fi
6162
6163 test "x$enable_libtool_lock" != xno && enable_libtool_lock=yes
6164
6165 # Some flags need to be propagated to the compiler or linker for good
6166 # libtool support.
6167 case $host in
6168 ia64-*-hpux*)
6169   # Find out which ABI we are using.
6170   echo 'int i;' > conftest.$ac_ext
6171   if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
6172   (eval $ac_compile) 2>&5
6173   ac_status=$?
6174   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6175   test $ac_status = 0; }; then
6176     case `/usr/bin/file conftest.$ac_objext` in
6177       *ELF-32*)
6178         HPUX_IA64_MODE="32"
6179         ;;
6180       *ELF-64*)
6181         HPUX_IA64_MODE="64"
6182         ;;
6183     esac
6184   fi
6185   rm -rf conftest*
6186   ;;
6187 *-*-irix6*)
6188   # Find out which ABI we are using.
6189   echo '#line '$LINENO' "configure"' > conftest.$ac_ext
6190   if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
6191   (eval $ac_compile) 2>&5
6192   ac_status=$?
6193   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6194   test $ac_status = 0; }; then
6195     if test "$lt_cv_prog_gnu_ld" = yes; then
6196       case `/usr/bin/file conftest.$ac_objext` in
6197         *32-bit*)
6198           LD="${LD-ld} -melf32bsmip"
6199           ;;
6200         *N32*)
6201           LD="${LD-ld} -melf32bmipn32"
6202           ;;
6203         *64-bit*)
6204           LD="${LD-ld} -melf64bmip"
6205         ;;
6206       esac
6207     else
6208       case `/usr/bin/file conftest.$ac_objext` in
6209         *32-bit*)
6210           LD="${LD-ld} -32"
6211           ;;
6212         *N32*)
6213           LD="${LD-ld} -n32"
6214           ;;
6215         *64-bit*)
6216           LD="${LD-ld} -64"
6217           ;;
6218       esac
6219     fi
6220   fi
6221   rm -rf conftest*
6222   ;;
6223
6224 x86_64-*kfreebsd*-gnu|x86_64-*linux*|ppc*-*linux*|powerpc*-*linux*| \
6225 s390*-*linux*|s390*-*tpf*|sparc*-*linux*)
6226   # Find out which ABI we are using.
6227   echo 'int i;' > conftest.$ac_ext
6228   if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
6229   (eval $ac_compile) 2>&5
6230   ac_status=$?
6231   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6232   test $ac_status = 0; }; then
6233     case `/usr/bin/file conftest.o` in
6234       *32-bit*)
6235         case $host in
6236           x86_64-*kfreebsd*-gnu)
6237             LD="${LD-ld} -m elf_i386_fbsd"
6238             ;;
6239           x86_64-*linux*)
6240             case `/usr/bin/file conftest.o` in
6241               *x86-64*)
6242                 LD="${LD-ld} -m elf32_x86_64"
6243                 ;;
6244               *)
6245                 LD="${LD-ld} -m elf_i386"
6246                 ;;
6247             esac
6248             ;;
6249           ppc64-*linux*|powerpc64-*linux*)
6250             LD="${LD-ld} -m elf32ppclinux"
6251             ;;
6252           s390x-*linux*)
6253             LD="${LD-ld} -m elf_s390"
6254             ;;
6255           sparc64-*linux*)
6256             LD="${LD-ld} -m elf32_sparc"
6257             ;;
6258         esac
6259         ;;
6260       *64-bit*)
6261         case $host in
6262           x86_64-*kfreebsd*-gnu)
6263             LD="${LD-ld} -m elf_x86_64_fbsd"
6264             ;;
6265           x86_64-*linux*)
6266             LD="${LD-ld} -m elf_x86_64"
6267             ;;
6268           ppc*-*linux*|powerpc*-*linux*)
6269             LD="${LD-ld} -m elf64ppc"
6270             ;;
6271           s390*-*linux*|s390*-*tpf*)
6272             LD="${LD-ld} -m elf64_s390"
6273             ;;
6274           sparc*-*linux*)
6275             LD="${LD-ld} -m elf64_sparc"
6276             ;;
6277         esac
6278         ;;
6279     esac
6280   fi
6281   rm -rf conftest*
6282   ;;
6283
6284 *-*-sco3.2v5*)
6285   # On SCO OpenServer 5, we need -belf to get full-featured binaries.
6286   SAVE_CFLAGS="$CFLAGS"
6287   CFLAGS="$CFLAGS -belf"
6288   { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler needs -belf" >&5
6289 $as_echo_n "checking whether the C compiler needs -belf... " >&6; }
6290 if ${lt_cv_cc_needs_belf+:} false; then :
6291   $as_echo_n "(cached) " >&6
6292 else
6293   ac_ext=c
6294 ac_cpp='$CPP $CPPFLAGS'
6295 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
6296 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
6297 ac_compiler_gnu=$ac_cv_c_compiler_gnu
6298
6299      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6300 /* end confdefs.h.  */
6301
6302 int
6303 main ()
6304 {
6305
6306   ;
6307   return 0;
6308 }
6309 _ACEOF
6310 if ac_fn_c_try_link "$LINENO"; then :
6311   lt_cv_cc_needs_belf=yes
6312 else
6313   lt_cv_cc_needs_belf=no
6314 fi
6315 rm -f core conftest.err conftest.$ac_objext \
6316     conftest$ac_exeext conftest.$ac_ext
6317      ac_ext=c
6318 ac_cpp='$CPP $CPPFLAGS'
6319 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
6320 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
6321 ac_compiler_gnu=$ac_cv_c_compiler_gnu
6322
6323 fi
6324 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_cc_needs_belf" >&5
6325 $as_echo "$lt_cv_cc_needs_belf" >&6; }
6326   if test x"$lt_cv_cc_needs_belf" != x"yes"; then
6327     # this is probably gcc 2.8.0, egcs 1.0 or newer; no need for -belf
6328     CFLAGS="$SAVE_CFLAGS"
6329   fi
6330   ;;
6331 *-*solaris*)
6332   # Find out which ABI we are using.
6333   echo 'int i;' > conftest.$ac_ext
6334   if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
6335   (eval $ac_compile) 2>&5
6336   ac_status=$?
6337   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6338   test $ac_status = 0; }; then
6339     case `/usr/bin/file conftest.o` in
6340     *64-bit*)
6341       case $lt_cv_prog_gnu_ld in
6342       yes*)
6343         case $host in
6344         i?86-*-solaris*)
6345           LD="${LD-ld} -m elf_x86_64"
6346           ;;
6347         sparc*-*-solaris*)
6348           LD="${LD-ld} -m elf64_sparc"
6349           ;;
6350         esac
6351         # GNU ld 2.21 introduced _sol2 emulations.  Use them if available.
6352         if ${LD-ld} -V | grep _sol2 >/dev/null 2>&1; then
6353           LD="${LD-ld}_sol2"
6354         fi
6355         ;;
6356       *)
6357         if ${LD-ld} -64 -r -o conftest2.o conftest.o >/dev/null 2>&1; then
6358           LD="${LD-ld} -64"
6359         fi
6360         ;;
6361       esac
6362       ;;
6363     esac
6364   fi
6365   rm -rf conftest*
6366   ;;
6367 esac
6368
6369 need_locks="$enable_libtool_lock"
6370
6371 if test -n "$ac_tool_prefix"; then
6372   # Extract the first word of "${ac_tool_prefix}mt", so it can be a program name with args.
6373 set dummy ${ac_tool_prefix}mt; ac_word=$2
6374 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6375 $as_echo_n "checking for $ac_word... " >&6; }
6376 if ${ac_cv_prog_MANIFEST_TOOL+:} false; then :
6377   $as_echo_n "(cached) " >&6
6378 else
6379   if test -n "$MANIFEST_TOOL"; then
6380   ac_cv_prog_MANIFEST_TOOL="$MANIFEST_TOOL" # Let the user override the test.
6381 else
6382 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6383 for as_dir in $PATH
6384 do
6385   IFS=$as_save_IFS
6386   test -z "$as_dir" && as_dir=.
6387     for ac_exec_ext in '' $ac_executable_extensions; do
6388   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6389     ac_cv_prog_MANIFEST_TOOL="${ac_tool_prefix}mt"
6390     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6391     break 2
6392   fi
6393 done
6394   done
6395 IFS=$as_save_IFS
6396
6397 fi
6398 fi
6399 MANIFEST_TOOL=$ac_cv_prog_MANIFEST_TOOL
6400 if test -n "$MANIFEST_TOOL"; then
6401   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MANIFEST_TOOL" >&5
6402 $as_echo "$MANIFEST_TOOL" >&6; }
6403 else
6404   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6405 $as_echo "no" >&6; }
6406 fi
6407
6408
6409 fi
6410 if test -z "$ac_cv_prog_MANIFEST_TOOL"; then
6411   ac_ct_MANIFEST_TOOL=$MANIFEST_TOOL
6412   # Extract the first word of "mt", so it can be a program name with args.
6413 set dummy mt; ac_word=$2
6414 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6415 $as_echo_n "checking for $ac_word... " >&6; }
6416 if ${ac_cv_prog_ac_ct_MANIFEST_TOOL+:} false; then :
6417   $as_echo_n "(cached) " >&6
6418 else
6419   if test -n "$ac_ct_MANIFEST_TOOL"; then
6420   ac_cv_prog_ac_ct_MANIFEST_TOOL="$ac_ct_MANIFEST_TOOL" # Let the user override the test.
6421 else
6422 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6423 for as_dir in $PATH
6424 do
6425   IFS=$as_save_IFS
6426   test -z "$as_dir" && as_dir=.
6427     for ac_exec_ext in '' $ac_executable_extensions; do
6428   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6429     ac_cv_prog_ac_ct_MANIFEST_TOOL="mt"
6430     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6431     break 2
6432   fi
6433 done
6434   done
6435 IFS=$as_save_IFS
6436
6437 fi
6438 fi
6439 ac_ct_MANIFEST_TOOL=$ac_cv_prog_ac_ct_MANIFEST_TOOL
6440 if test -n "$ac_ct_MANIFEST_TOOL"; then
6441   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_MANIFEST_TOOL" >&5
6442 $as_echo "$ac_ct_MANIFEST_TOOL" >&6; }
6443 else
6444   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6445 $as_echo "no" >&6; }
6446 fi
6447
6448   if test "x$ac_ct_MANIFEST_TOOL" = x; then
6449     MANIFEST_TOOL=":"
6450   else
6451     case $cross_compiling:$ac_tool_warned in
6452 yes:)
6453 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6454 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6455 ac_tool_warned=yes ;;
6456 esac
6457     MANIFEST_TOOL=$ac_ct_MANIFEST_TOOL
6458   fi
6459 else
6460   MANIFEST_TOOL="$ac_cv_prog_MANIFEST_TOOL"
6461 fi
6462
6463 test -z "$MANIFEST_TOOL" && MANIFEST_TOOL=mt
6464 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $MANIFEST_TOOL is a manifest tool" >&5
6465 $as_echo_n "checking if $MANIFEST_TOOL is a manifest tool... " >&6; }
6466 if ${lt_cv_path_mainfest_tool+:} false; then :
6467   $as_echo_n "(cached) " >&6
6468 else
6469   lt_cv_path_mainfest_tool=no
6470   echo "$as_me:$LINENO: $MANIFEST_TOOL '-?'" >&5
6471   $MANIFEST_TOOL '-?' 2>conftest.err > conftest.out
6472   cat conftest.err >&5
6473   if $GREP 'Manifest Tool' conftest.out > /dev/null; then
6474     lt_cv_path_mainfest_tool=yes
6475   fi
6476   rm -f conftest*
6477 fi
6478 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_path_mainfest_tool" >&5
6479 $as_echo "$lt_cv_path_mainfest_tool" >&6; }
6480 if test "x$lt_cv_path_mainfest_tool" != xyes; then
6481   MANIFEST_TOOL=:
6482 fi
6483
6484
6485
6486
6487
6488
6489   case $host_os in
6490     rhapsody* | darwin*)
6491     if test -n "$ac_tool_prefix"; then
6492   # Extract the first word of "${ac_tool_prefix}dsymutil", so it can be a program name with args.
6493 set dummy ${ac_tool_prefix}dsymutil; ac_word=$2
6494 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6495 $as_echo_n "checking for $ac_word... " >&6; }
6496 if ${ac_cv_prog_DSYMUTIL+:} false; then :
6497   $as_echo_n "(cached) " >&6
6498 else
6499   if test -n "$DSYMUTIL"; then
6500   ac_cv_prog_DSYMUTIL="$DSYMUTIL" # Let the user override the test.
6501 else
6502 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6503 for as_dir in $PATH
6504 do
6505   IFS=$as_save_IFS
6506   test -z "$as_dir" && as_dir=.
6507     for ac_exec_ext in '' $ac_executable_extensions; do
6508   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6509     ac_cv_prog_DSYMUTIL="${ac_tool_prefix}dsymutil"
6510     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6511     break 2
6512   fi
6513 done
6514   done
6515 IFS=$as_save_IFS
6516
6517 fi
6518 fi
6519 DSYMUTIL=$ac_cv_prog_DSYMUTIL
6520 if test -n "$DSYMUTIL"; then
6521   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DSYMUTIL" >&5
6522 $as_echo "$DSYMUTIL" >&6; }
6523 else
6524   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6525 $as_echo "no" >&6; }
6526 fi
6527
6528
6529 fi
6530 if test -z "$ac_cv_prog_DSYMUTIL"; then
6531   ac_ct_DSYMUTIL=$DSYMUTIL
6532   # Extract the first word of "dsymutil", so it can be a program name with args.
6533 set dummy dsymutil; ac_word=$2
6534 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6535 $as_echo_n "checking for $ac_word... " >&6; }
6536 if ${ac_cv_prog_ac_ct_DSYMUTIL+:} false; then :
6537   $as_echo_n "(cached) " >&6
6538 else
6539   if test -n "$ac_ct_DSYMUTIL"; then
6540   ac_cv_prog_ac_ct_DSYMUTIL="$ac_ct_DSYMUTIL" # Let the user override the test.
6541 else
6542 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6543 for as_dir in $PATH
6544 do
6545   IFS=$as_save_IFS
6546   test -z "$as_dir" && as_dir=.
6547     for ac_exec_ext in '' $ac_executable_extensions; do
6548   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6549     ac_cv_prog_ac_ct_DSYMUTIL="dsymutil"
6550     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6551     break 2
6552   fi
6553 done
6554   done
6555 IFS=$as_save_IFS
6556
6557 fi
6558 fi
6559 ac_ct_DSYMUTIL=$ac_cv_prog_ac_ct_DSYMUTIL
6560 if test -n "$ac_ct_DSYMUTIL"; then
6561   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DSYMUTIL" >&5
6562 $as_echo "$ac_ct_DSYMUTIL" >&6; }
6563 else
6564   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6565 $as_echo "no" >&6; }
6566 fi
6567
6568   if test "x$ac_ct_DSYMUTIL" = x; then
6569     DSYMUTIL=":"
6570   else
6571     case $cross_compiling:$ac_tool_warned in
6572 yes:)
6573 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6574 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6575 ac_tool_warned=yes ;;
6576 esac
6577     DSYMUTIL=$ac_ct_DSYMUTIL
6578   fi
6579 else
6580   DSYMUTIL="$ac_cv_prog_DSYMUTIL"
6581 fi
6582
6583     if test -n "$ac_tool_prefix"; then
6584   # Extract the first word of "${ac_tool_prefix}nmedit", so it can be a program name with args.
6585 set dummy ${ac_tool_prefix}nmedit; ac_word=$2
6586 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6587 $as_echo_n "checking for $ac_word... " >&6; }
6588 if ${ac_cv_prog_NMEDIT+:} false; then :
6589   $as_echo_n "(cached) " >&6
6590 else
6591   if test -n "$NMEDIT"; then
6592   ac_cv_prog_NMEDIT="$NMEDIT" # Let the user override the test.
6593 else
6594 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6595 for as_dir in $PATH
6596 do
6597   IFS=$as_save_IFS
6598   test -z "$as_dir" && as_dir=.
6599     for ac_exec_ext in '' $ac_executable_extensions; do
6600   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6601     ac_cv_prog_NMEDIT="${ac_tool_prefix}nmedit"
6602     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6603     break 2
6604   fi
6605 done
6606   done
6607 IFS=$as_save_IFS
6608
6609 fi
6610 fi
6611 NMEDIT=$ac_cv_prog_NMEDIT
6612 if test -n "$NMEDIT"; then
6613   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $NMEDIT" >&5
6614 $as_echo "$NMEDIT" >&6; }
6615 else
6616   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6617 $as_echo "no" >&6; }
6618 fi
6619
6620
6621 fi
6622 if test -z "$ac_cv_prog_NMEDIT"; then
6623   ac_ct_NMEDIT=$NMEDIT
6624   # Extract the first word of "nmedit", so it can be a program name with args.
6625 set dummy nmedit; ac_word=$2
6626 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6627 $as_echo_n "checking for $ac_word... " >&6; }
6628 if ${ac_cv_prog_ac_ct_NMEDIT+:} false; then :
6629   $as_echo_n "(cached) " >&6
6630 else
6631   if test -n "$ac_ct_NMEDIT"; then
6632   ac_cv_prog_ac_ct_NMEDIT="$ac_ct_NMEDIT" # Let the user override the test.
6633 else
6634 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6635 for as_dir in $PATH
6636 do
6637   IFS=$as_save_IFS
6638   test -z "$as_dir" && as_dir=.
6639     for ac_exec_ext in '' $ac_executable_extensions; do
6640   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6641     ac_cv_prog_ac_ct_NMEDIT="nmedit"
6642     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6643     break 2
6644   fi
6645 done
6646   done
6647 IFS=$as_save_IFS
6648
6649 fi
6650 fi
6651 ac_ct_NMEDIT=$ac_cv_prog_ac_ct_NMEDIT
6652 if test -n "$ac_ct_NMEDIT"; then
6653   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_NMEDIT" >&5
6654 $as_echo "$ac_ct_NMEDIT" >&6; }
6655 else
6656   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6657 $as_echo "no" >&6; }
6658 fi
6659
6660   if test "x$ac_ct_NMEDIT" = x; then
6661     NMEDIT=":"
6662   else
6663     case $cross_compiling:$ac_tool_warned in
6664 yes:)
6665 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6666 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6667 ac_tool_warned=yes ;;
6668 esac
6669     NMEDIT=$ac_ct_NMEDIT
6670   fi
6671 else
6672   NMEDIT="$ac_cv_prog_NMEDIT"
6673 fi
6674
6675     if test -n "$ac_tool_prefix"; then
6676   # Extract the first word of "${ac_tool_prefix}lipo", so it can be a program name with args.
6677 set dummy ${ac_tool_prefix}lipo; ac_word=$2
6678 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6679 $as_echo_n "checking for $ac_word... " >&6; }
6680 if ${ac_cv_prog_LIPO+:} false; then :
6681   $as_echo_n "(cached) " >&6
6682 else
6683   if test -n "$LIPO"; then
6684   ac_cv_prog_LIPO="$LIPO" # Let the user override the test.
6685 else
6686 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6687 for as_dir in $PATH
6688 do
6689   IFS=$as_save_IFS
6690   test -z "$as_dir" && as_dir=.
6691     for ac_exec_ext in '' $ac_executable_extensions; do
6692   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6693     ac_cv_prog_LIPO="${ac_tool_prefix}lipo"
6694     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6695     break 2
6696   fi
6697 done
6698   done
6699 IFS=$as_save_IFS
6700
6701 fi
6702 fi
6703 LIPO=$ac_cv_prog_LIPO
6704 if test -n "$LIPO"; then
6705   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LIPO" >&5
6706 $as_echo "$LIPO" >&6; }
6707 else
6708   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6709 $as_echo "no" >&6; }
6710 fi
6711
6712
6713 fi
6714 if test -z "$ac_cv_prog_LIPO"; then
6715   ac_ct_LIPO=$LIPO
6716   # Extract the first word of "lipo", so it can be a program name with args.
6717 set dummy lipo; ac_word=$2
6718 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6719 $as_echo_n "checking for $ac_word... " >&6; }
6720 if ${ac_cv_prog_ac_ct_LIPO+:} false; then :
6721   $as_echo_n "(cached) " >&6
6722 else
6723   if test -n "$ac_ct_LIPO"; then
6724   ac_cv_prog_ac_ct_LIPO="$ac_ct_LIPO" # Let the user override the test.
6725 else
6726 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6727 for as_dir in $PATH
6728 do
6729   IFS=$as_save_IFS
6730   test -z "$as_dir" && as_dir=.
6731     for ac_exec_ext in '' $ac_executable_extensions; do
6732   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6733     ac_cv_prog_ac_ct_LIPO="lipo"
6734     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6735     break 2
6736   fi
6737 done
6738   done
6739 IFS=$as_save_IFS
6740
6741 fi
6742 fi
6743 ac_ct_LIPO=$ac_cv_prog_ac_ct_LIPO
6744 if test -n "$ac_ct_LIPO"; then
6745   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_LIPO" >&5
6746 $as_echo "$ac_ct_LIPO" >&6; }
6747 else
6748   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6749 $as_echo "no" >&6; }
6750 fi
6751
6752   if test "x$ac_ct_LIPO" = x; then
6753     LIPO=":"
6754   else
6755     case $cross_compiling:$ac_tool_warned in
6756 yes:)
6757 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6758 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6759 ac_tool_warned=yes ;;
6760 esac
6761     LIPO=$ac_ct_LIPO
6762   fi
6763 else
6764   LIPO="$ac_cv_prog_LIPO"
6765 fi
6766
6767     if test -n "$ac_tool_prefix"; then
6768   # Extract the first word of "${ac_tool_prefix}otool", so it can be a program name with args.
6769 set dummy ${ac_tool_prefix}otool; ac_word=$2
6770 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6771 $as_echo_n "checking for $ac_word... " >&6; }
6772 if ${ac_cv_prog_OTOOL+:} false; then :
6773   $as_echo_n "(cached) " >&6
6774 else
6775   if test -n "$OTOOL"; then
6776   ac_cv_prog_OTOOL="$OTOOL" # Let the user override the test.
6777 else
6778 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6779 for as_dir in $PATH
6780 do
6781   IFS=$as_save_IFS
6782   test -z "$as_dir" && as_dir=.
6783     for ac_exec_ext in '' $ac_executable_extensions; do
6784   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6785     ac_cv_prog_OTOOL="${ac_tool_prefix}otool"
6786     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6787     break 2
6788   fi
6789 done
6790   done
6791 IFS=$as_save_IFS
6792
6793 fi
6794 fi
6795 OTOOL=$ac_cv_prog_OTOOL
6796 if test -n "$OTOOL"; then
6797   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OTOOL" >&5
6798 $as_echo "$OTOOL" >&6; }
6799 else
6800   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6801 $as_echo "no" >&6; }
6802 fi
6803
6804
6805 fi
6806 if test -z "$ac_cv_prog_OTOOL"; then
6807   ac_ct_OTOOL=$OTOOL
6808   # Extract the first word of "otool", so it can be a program name with args.
6809 set dummy otool; ac_word=$2
6810 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6811 $as_echo_n "checking for $ac_word... " >&6; }
6812 if ${ac_cv_prog_ac_ct_OTOOL+:} false; then :
6813   $as_echo_n "(cached) " >&6
6814 else
6815   if test -n "$ac_ct_OTOOL"; then
6816   ac_cv_prog_ac_ct_OTOOL="$ac_ct_OTOOL" # Let the user override the test.
6817 else
6818 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6819 for as_dir in $PATH
6820 do
6821   IFS=$as_save_IFS
6822   test -z "$as_dir" && as_dir=.
6823     for ac_exec_ext in '' $ac_executable_extensions; do
6824   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6825     ac_cv_prog_ac_ct_OTOOL="otool"
6826     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6827     break 2
6828   fi
6829 done
6830   done
6831 IFS=$as_save_IFS
6832
6833 fi
6834 fi
6835 ac_ct_OTOOL=$ac_cv_prog_ac_ct_OTOOL
6836 if test -n "$ac_ct_OTOOL"; then
6837   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OTOOL" >&5
6838 $as_echo "$ac_ct_OTOOL" >&6; }
6839 else
6840   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6841 $as_echo "no" >&6; }
6842 fi
6843
6844   if test "x$ac_ct_OTOOL" = x; then
6845     OTOOL=":"
6846   else
6847     case $cross_compiling:$ac_tool_warned in
6848 yes:)
6849 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6850 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6851 ac_tool_warned=yes ;;
6852 esac
6853     OTOOL=$ac_ct_OTOOL
6854   fi
6855 else
6856   OTOOL="$ac_cv_prog_OTOOL"
6857 fi
6858
6859     if test -n "$ac_tool_prefix"; then
6860   # Extract the first word of "${ac_tool_prefix}otool64", so it can be a program name with args.
6861 set dummy ${ac_tool_prefix}otool64; ac_word=$2
6862 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6863 $as_echo_n "checking for $ac_word... " >&6; }
6864 if ${ac_cv_prog_OTOOL64+:} false; then :
6865   $as_echo_n "(cached) " >&6
6866 else
6867   if test -n "$OTOOL64"; then
6868   ac_cv_prog_OTOOL64="$OTOOL64" # Let the user override the test.
6869 else
6870 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6871 for as_dir in $PATH
6872 do
6873   IFS=$as_save_IFS
6874   test -z "$as_dir" && as_dir=.
6875     for ac_exec_ext in '' $ac_executable_extensions; do
6876   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6877     ac_cv_prog_OTOOL64="${ac_tool_prefix}otool64"
6878     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6879     break 2
6880   fi
6881 done
6882   done
6883 IFS=$as_save_IFS
6884
6885 fi
6886 fi
6887 OTOOL64=$ac_cv_prog_OTOOL64
6888 if test -n "$OTOOL64"; then
6889   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OTOOL64" >&5
6890 $as_echo "$OTOOL64" >&6; }
6891 else
6892   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6893 $as_echo "no" >&6; }
6894 fi
6895
6896
6897 fi
6898 if test -z "$ac_cv_prog_OTOOL64"; then
6899   ac_ct_OTOOL64=$OTOOL64
6900   # Extract the first word of "otool64", so it can be a program name with args.
6901 set dummy otool64; ac_word=$2
6902 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6903 $as_echo_n "checking for $ac_word... " >&6; }
6904 if ${ac_cv_prog_ac_ct_OTOOL64+:} false; then :
6905   $as_echo_n "(cached) " >&6
6906 else
6907   if test -n "$ac_ct_OTOOL64"; then
6908   ac_cv_prog_ac_ct_OTOOL64="$ac_ct_OTOOL64" # Let the user override the test.
6909 else
6910 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6911 for as_dir in $PATH
6912 do
6913   IFS=$as_save_IFS
6914   test -z "$as_dir" && as_dir=.
6915     for ac_exec_ext in '' $ac_executable_extensions; do
6916   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6917     ac_cv_prog_ac_ct_OTOOL64="otool64"
6918     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6919     break 2
6920   fi
6921 done
6922   done
6923 IFS=$as_save_IFS
6924
6925 fi
6926 fi
6927 ac_ct_OTOOL64=$ac_cv_prog_ac_ct_OTOOL64
6928 if test -n "$ac_ct_OTOOL64"; then
6929   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OTOOL64" >&5
6930 $as_echo "$ac_ct_OTOOL64" >&6; }
6931 else
6932   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6933 $as_echo "no" >&6; }
6934 fi
6935
6936   if test "x$ac_ct_OTOOL64" = x; then
6937     OTOOL64=":"
6938   else
6939     case $cross_compiling:$ac_tool_warned in
6940 yes:)
6941 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6942 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6943 ac_tool_warned=yes ;;
6944 esac
6945     OTOOL64=$ac_ct_OTOOL64
6946   fi
6947 else
6948   OTOOL64="$ac_cv_prog_OTOOL64"
6949 fi
6950
6951
6952
6953
6954
6955
6956
6957
6958
6959
6960
6961
6962
6963
6964
6965
6966
6967
6968
6969
6970
6971
6972
6973
6974
6975
6976
6977     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -single_module linker flag" >&5
6978 $as_echo_n "checking for -single_module linker flag... " >&6; }
6979 if ${lt_cv_apple_cc_single_mod+:} false; then :
6980   $as_echo_n "(cached) " >&6
6981 else
6982   lt_cv_apple_cc_single_mod=no
6983       if test -z "${LT_MULTI_MODULE}"; then
6984         # By default we will add the -single_module flag. You can override
6985         # by either setting the environment variable LT_MULTI_MODULE
6986         # non-empty at configure time, or by adding -multi_module to the
6987         # link flags.
6988         rm -rf libconftest.dylib*
6989         echo "int foo(void){return 1;}" > conftest.c
6990         echo "$LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \
6991 -dynamiclib -Wl,-single_module conftest.c" >&5
6992         $LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \
6993           -dynamiclib -Wl,-single_module conftest.c 2>conftest.err
6994         _lt_result=$?
6995         # If there is a non-empty error log, and "single_module"
6996         # appears in it, assume the flag caused a linker warning
6997         if test -s conftest.err && $GREP single_module conftest.err; then
6998           cat conftest.err >&5
6999         # Otherwise, if the output was created with a 0 exit code from
7000         # the compiler, it worked.
7001         elif test -f libconftest.dylib && test $_lt_result -eq 0; then
7002           lt_cv_apple_cc_single_mod=yes
7003         else
7004           cat conftest.err >&5
7005         fi
7006         rm -rf libconftest.dylib*
7007         rm -f conftest.*
7008       fi
7009 fi
7010 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_apple_cc_single_mod" >&5
7011 $as_echo "$lt_cv_apple_cc_single_mod" >&6; }
7012
7013     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -exported_symbols_list linker flag" >&5
7014 $as_echo_n "checking for -exported_symbols_list linker flag... " >&6; }
7015 if ${lt_cv_ld_exported_symbols_list+:} false; then :
7016   $as_echo_n "(cached) " >&6
7017 else
7018   lt_cv_ld_exported_symbols_list=no
7019       save_LDFLAGS=$LDFLAGS
7020       echo "_main" > conftest.sym
7021       LDFLAGS="$LDFLAGS -Wl,-exported_symbols_list,conftest.sym"
7022       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7023 /* end confdefs.h.  */
7024
7025 int
7026 main ()
7027 {
7028
7029   ;
7030   return 0;
7031 }
7032 _ACEOF
7033 if ac_fn_c_try_link "$LINENO"; then :
7034   lt_cv_ld_exported_symbols_list=yes
7035 else
7036   lt_cv_ld_exported_symbols_list=no
7037 fi
7038 rm -f core conftest.err conftest.$ac_objext \
7039     conftest$ac_exeext conftest.$ac_ext
7040         LDFLAGS="$save_LDFLAGS"
7041
7042 fi
7043 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_exported_symbols_list" >&5
7044 $as_echo "$lt_cv_ld_exported_symbols_list" >&6; }
7045
7046     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -force_load linker flag" >&5
7047 $as_echo_n "checking for -force_load linker flag... " >&6; }
7048 if ${lt_cv_ld_force_load+:} false; then :
7049   $as_echo_n "(cached) " >&6
7050 else
7051   lt_cv_ld_force_load=no
7052       cat > conftest.c << _LT_EOF
7053 int forced_loaded() { return 2;}
7054 _LT_EOF
7055       echo "$LTCC $LTCFLAGS -c -o conftest.o conftest.c" >&5
7056       $LTCC $LTCFLAGS -c -o conftest.o conftest.c 2>&5
7057       echo "$AR cru libconftest.a conftest.o" >&5
7058       $AR cru libconftest.a conftest.o 2>&5
7059       echo "$RANLIB libconftest.a" >&5
7060       $RANLIB libconftest.a 2>&5
7061       cat > conftest.c << _LT_EOF
7062 int main() { return 0;}
7063 _LT_EOF
7064       echo "$LTCC $LTCFLAGS $LDFLAGS -o conftest conftest.c -Wl,-force_load,./libconftest.a" >&5
7065       $LTCC $LTCFLAGS $LDFLAGS -o conftest conftest.c -Wl,-force_load,./libconftest.a 2>conftest.err
7066       _lt_result=$?
7067       if test -s conftest.err && $GREP force_load conftest.err; then
7068         cat conftest.err >&5
7069       elif test -f conftest && test $_lt_result -eq 0 && $GREP forced_load conftest >/dev/null 2>&1 ; then
7070         lt_cv_ld_force_load=yes
7071       else
7072         cat conftest.err >&5
7073       fi
7074         rm -f conftest.err libconftest.a conftest conftest.c
7075         rm -rf conftest.dSYM
7076
7077 fi
7078 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_force_load" >&5
7079 $as_echo "$lt_cv_ld_force_load" >&6; }
7080     case $host_os in
7081     rhapsody* | darwin1.[012])
7082       _lt_dar_allow_undefined='${wl}-undefined ${wl}suppress' ;;
7083     darwin1.*)
7084       _lt_dar_allow_undefined='${wl}-flat_namespace ${wl}-undefined ${wl}suppress' ;;
7085     darwin*) # darwin 5.x on
7086       # if running on 10.5 or later, the deployment target defaults
7087       # to the OS version, if on x86, and 10.4, the deployment
7088       # target defaults to 10.4. Don't you love it?
7089       case ${MACOSX_DEPLOYMENT_TARGET-10.0},$host in
7090         10.0,*86*-darwin8*|10.0,*-darwin[91]*)
7091           _lt_dar_allow_undefined='${wl}-undefined ${wl}dynamic_lookup' ;;
7092         10.[012]*)
7093           _lt_dar_allow_undefined='${wl}-flat_namespace ${wl}-undefined ${wl}suppress' ;;
7094         10.*)
7095           _lt_dar_allow_undefined='${wl}-undefined ${wl}dynamic_lookup' ;;
7096       esac
7097     ;;
7098   esac
7099     if test "$lt_cv_apple_cc_single_mod" = "yes"; then
7100       _lt_dar_single_mod='$single_module'
7101     fi
7102     if test "$lt_cv_ld_exported_symbols_list" = "yes"; then
7103       _lt_dar_export_syms=' ${wl}-exported_symbols_list,$output_objdir/${libname}-symbols.expsym'
7104     else
7105       _lt_dar_export_syms='~$NMEDIT -s $output_objdir/${libname}-symbols.expsym ${lib}'
7106     fi
7107     if test "$DSYMUTIL" != ":" && test "$lt_cv_ld_force_load" = "no"; then
7108       _lt_dsymutil='~$DSYMUTIL $lib || :'
7109     else
7110       _lt_dsymutil=
7111     fi
7112     ;;
7113   esac
7114
7115 ac_ext=c
7116 ac_cpp='$CPP $CPPFLAGS'
7117 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
7118 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
7119 ac_compiler_gnu=$ac_cv_c_compiler_gnu
7120 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C preprocessor" >&5
7121 $as_echo_n "checking how to run the C preprocessor... " >&6; }
7122 # On Suns, sometimes $CPP names a directory.
7123 if test -n "$CPP" && test -d "$CPP"; then
7124   CPP=
7125 fi
7126 if test -z "$CPP"; then
7127   if ${ac_cv_prog_CPP+:} false; then :
7128   $as_echo_n "(cached) " >&6
7129 else
7130       # Double quotes because CPP needs to be expanded
7131     for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
7132     do
7133       ac_preproc_ok=false
7134 for ac_c_preproc_warn_flag in '' yes
7135 do
7136   # Use a header file that comes with gcc, so configuring glibc
7137   # with a fresh cross-compiler works.
7138   # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
7139   # <limits.h> exists even on freestanding compilers.
7140   # On the NeXT, cc -E runs the code through the compiler's parser,
7141   # not just through cpp. "Syntax error" is here to catch this case.
7142   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7143 /* end confdefs.h.  */
7144 #ifdef __STDC__
7145 # include <limits.h>
7146 #else
7147 # include <assert.h>
7148 #endif
7149                      Syntax error
7150 _ACEOF
7151 if ac_fn_c_try_cpp "$LINENO"; then :
7152
7153 else
7154   # Broken: fails on valid input.
7155 continue
7156 fi
7157 rm -f conftest.err conftest.i conftest.$ac_ext
7158
7159   # OK, works on sane cases.  Now check whether nonexistent headers
7160   # can be detected and how.
7161   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7162 /* end confdefs.h.  */
7163 #include <ac_nonexistent.h>
7164 _ACEOF
7165 if ac_fn_c_try_cpp "$LINENO"; then :
7166   # Broken: success on invalid input.
7167 continue
7168 else
7169   # Passes both tests.
7170 ac_preproc_ok=:
7171 break
7172 fi
7173 rm -f conftest.err conftest.i conftest.$ac_ext
7174
7175 done
7176 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
7177 rm -f conftest.i conftest.err conftest.$ac_ext
7178 if $ac_preproc_ok; then :
7179   break
7180 fi
7181
7182     done
7183     ac_cv_prog_CPP=$CPP
7184
7185 fi
7186   CPP=$ac_cv_prog_CPP
7187 else
7188   ac_cv_prog_CPP=$CPP
7189 fi
7190 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CPP" >&5
7191 $as_echo "$CPP" >&6; }
7192 ac_preproc_ok=false
7193 for ac_c_preproc_warn_flag in '' yes
7194 do
7195   # Use a header file that comes with gcc, so configuring glibc
7196   # with a fresh cross-compiler works.
7197   # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
7198   # <limits.h> exists even on freestanding compilers.
7199   # On the NeXT, cc -E runs the code through the compiler's parser,
7200   # not just through cpp. "Syntax error" is here to catch this case.
7201   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7202 /* end confdefs.h.  */
7203 #ifdef __STDC__
7204 # include <limits.h>
7205 #else
7206 # include <assert.h>
7207 #endif
7208                      Syntax error
7209 _ACEOF
7210 if ac_fn_c_try_cpp "$LINENO"; then :
7211
7212 else
7213   # Broken: fails on valid input.
7214 continue
7215 fi
7216 rm -f conftest.err conftest.i conftest.$ac_ext
7217
7218   # OK, works on sane cases.  Now check whether nonexistent headers
7219   # can be detected and how.
7220   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7221 /* end confdefs.h.  */
7222 #include <ac_nonexistent.h>
7223 _ACEOF
7224 if ac_fn_c_try_cpp "$LINENO"; then :
7225   # Broken: success on invalid input.
7226 continue
7227 else
7228   # Passes both tests.
7229 ac_preproc_ok=:
7230 break
7231 fi
7232 rm -f conftest.err conftest.i conftest.$ac_ext
7233
7234 done
7235 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
7236 rm -f conftest.i conftest.err conftest.$ac_ext
7237 if $ac_preproc_ok; then :
7238
7239 else
7240   { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
7241 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
7242 as_fn_error $? "C preprocessor \"$CPP\" fails sanity check
7243 See \`config.log' for more details" "$LINENO" 5; }
7244 fi
7245
7246 ac_ext=c
7247 ac_cpp='$CPP $CPPFLAGS'
7248 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
7249 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
7250 ac_compiler_gnu=$ac_cv_c_compiler_gnu
7251
7252
7253 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5
7254 $as_echo_n "checking for ANSI C header files... " >&6; }
7255 if ${ac_cv_header_stdc+:} false; then :
7256   $as_echo_n "(cached) " >&6
7257 else
7258   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7259 /* end confdefs.h.  */
7260 #include <stdlib.h>
7261 #include <stdarg.h>
7262 #include <string.h>
7263 #include <float.h>
7264
7265 int
7266 main ()
7267 {
7268
7269   ;
7270   return 0;
7271 }
7272 _ACEOF
7273 if ac_fn_c_try_compile "$LINENO"; then :
7274   ac_cv_header_stdc=yes
7275 else
7276   ac_cv_header_stdc=no
7277 fi
7278 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
7279
7280 if test $ac_cv_header_stdc = yes; then
7281   # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
7282   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7283 /* end confdefs.h.  */
7284 #include <string.h>
7285
7286 _ACEOF
7287 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
7288   $EGREP "memchr" >/dev/null 2>&1; then :
7289
7290 else
7291   ac_cv_header_stdc=no
7292 fi
7293 rm -f conftest*
7294
7295 fi
7296
7297 if test $ac_cv_header_stdc = yes; then
7298   # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
7299   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7300 /* end confdefs.h.  */
7301 #include <stdlib.h>
7302
7303 _ACEOF
7304 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
7305   $EGREP "free" >/dev/null 2>&1; then :
7306
7307 else
7308   ac_cv_header_stdc=no
7309 fi
7310 rm -f conftest*
7311
7312 fi
7313
7314 if test $ac_cv_header_stdc = yes; then
7315   # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
7316   if test "$cross_compiling" = yes; then :
7317   :
7318 else
7319   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7320 /* end confdefs.h.  */
7321 #include <ctype.h>
7322 #include <stdlib.h>
7323 #if ((' ' & 0x0FF) == 0x020)
7324 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
7325 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
7326 #else
7327 # define ISLOWER(c) \
7328                    (('a' <= (c) && (c) <= 'i') \
7329                      || ('j' <= (c) && (c) <= 'r') \
7330                      || ('s' <= (c) && (c) <= 'z'))
7331 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
7332 #endif
7333
7334 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
7335 int
7336 main ()
7337 {
7338   int i;
7339   for (i = 0; i < 256; i++)
7340     if (XOR (islower (i), ISLOWER (i))
7341         || toupper (i) != TOUPPER (i))
7342       return 2;
7343   return 0;
7344 }
7345 _ACEOF
7346 if ac_fn_c_try_run "$LINENO"; then :
7347
7348 else
7349   ac_cv_header_stdc=no
7350 fi
7351 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
7352   conftest.$ac_objext conftest.beam conftest.$ac_ext
7353 fi
7354
7355 fi
7356 fi
7357 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdc" >&5
7358 $as_echo "$ac_cv_header_stdc" >&6; }
7359 if test $ac_cv_header_stdc = yes; then
7360
7361 $as_echo "#define STDC_HEADERS 1" >>confdefs.h
7362
7363 fi
7364
7365 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
7366 for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
7367                   inttypes.h stdint.h unistd.h
7368 do :
7369   as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
7370 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default
7371 "
7372 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
7373   cat >>confdefs.h <<_ACEOF
7374 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
7375 _ACEOF
7376
7377 fi
7378
7379 done
7380
7381
7382 for ac_header in dlfcn.h
7383 do :
7384   ac_fn_c_check_header_compile "$LINENO" "dlfcn.h" "ac_cv_header_dlfcn_h" "$ac_includes_default
7385 "
7386 if test "x$ac_cv_header_dlfcn_h" = xyes; then :
7387   cat >>confdefs.h <<_ACEOF
7388 #define HAVE_DLFCN_H 1
7389 _ACEOF
7390
7391 fi
7392
7393 done
7394
7395
7396
7397
7398
7399 # Set options
7400 enable_dlopen=yes
7401 enable_win32_dll=yes
7402
7403 case $host in
7404 *-*-cygwin* | *-*-mingw* | *-*-pw32* | *-*-cegcc*)
7405   if test -n "$ac_tool_prefix"; then
7406   # Extract the first word of "${ac_tool_prefix}as", so it can be a program name with args.
7407 set dummy ${ac_tool_prefix}as; ac_word=$2
7408 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7409 $as_echo_n "checking for $ac_word... " >&6; }
7410 if ${ac_cv_prog_AS+:} false; then :
7411   $as_echo_n "(cached) " >&6
7412 else
7413   if test -n "$AS"; then
7414   ac_cv_prog_AS="$AS" # Let the user override the test.
7415 else
7416 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7417 for as_dir in $PATH
7418 do
7419   IFS=$as_save_IFS
7420   test -z "$as_dir" && as_dir=.
7421     for ac_exec_ext in '' $ac_executable_extensions; do
7422   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7423     ac_cv_prog_AS="${ac_tool_prefix}as"
7424     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7425     break 2
7426   fi
7427 done
7428   done
7429 IFS=$as_save_IFS
7430
7431 fi
7432 fi
7433 AS=$ac_cv_prog_AS
7434 if test -n "$AS"; then
7435   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AS" >&5
7436 $as_echo "$AS" >&6; }
7437 else
7438   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7439 $as_echo "no" >&6; }
7440 fi
7441
7442
7443 fi
7444 if test -z "$ac_cv_prog_AS"; then
7445   ac_ct_AS=$AS
7446   # Extract the first word of "as", so it can be a program name with args.
7447 set dummy as; ac_word=$2
7448 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7449 $as_echo_n "checking for $ac_word... " >&6; }
7450 if ${ac_cv_prog_ac_ct_AS+:} false; then :
7451   $as_echo_n "(cached) " >&6
7452 else
7453   if test -n "$ac_ct_AS"; then
7454   ac_cv_prog_ac_ct_AS="$ac_ct_AS" # Let the user override the test.
7455 else
7456 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7457 for as_dir in $PATH
7458 do
7459   IFS=$as_save_IFS
7460   test -z "$as_dir" && as_dir=.
7461     for ac_exec_ext in '' $ac_executable_extensions; do
7462   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7463     ac_cv_prog_ac_ct_AS="as"
7464     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7465     break 2
7466   fi
7467 done
7468   done
7469 IFS=$as_save_IFS
7470
7471 fi
7472 fi
7473 ac_ct_AS=$ac_cv_prog_ac_ct_AS
7474 if test -n "$ac_ct_AS"; then
7475   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_AS" >&5
7476 $as_echo "$ac_ct_AS" >&6; }
7477 else
7478   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7479 $as_echo "no" >&6; }
7480 fi
7481
7482   if test "x$ac_ct_AS" = x; then
7483     AS="false"
7484   else
7485     case $cross_compiling:$ac_tool_warned in
7486 yes:)
7487 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7488 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7489 ac_tool_warned=yes ;;
7490 esac
7491     AS=$ac_ct_AS
7492   fi
7493 else
7494   AS="$ac_cv_prog_AS"
7495 fi
7496
7497   if test -n "$ac_tool_prefix"; then
7498   # Extract the first word of "${ac_tool_prefix}dlltool", so it can be a program name with args.
7499 set dummy ${ac_tool_prefix}dlltool; ac_word=$2
7500 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7501 $as_echo_n "checking for $ac_word... " >&6; }
7502 if ${ac_cv_prog_DLLTOOL+:} false; then :
7503   $as_echo_n "(cached) " >&6
7504 else
7505   if test -n "$DLLTOOL"; then
7506   ac_cv_prog_DLLTOOL="$DLLTOOL" # Let the user override the test.
7507 else
7508 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7509 for as_dir in $PATH
7510 do
7511   IFS=$as_save_IFS
7512   test -z "$as_dir" && as_dir=.
7513     for ac_exec_ext in '' $ac_executable_extensions; do
7514   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7515     ac_cv_prog_DLLTOOL="${ac_tool_prefix}dlltool"
7516     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7517     break 2
7518   fi
7519 done
7520   done
7521 IFS=$as_save_IFS
7522
7523 fi
7524 fi
7525 DLLTOOL=$ac_cv_prog_DLLTOOL
7526 if test -n "$DLLTOOL"; then
7527   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DLLTOOL" >&5
7528 $as_echo "$DLLTOOL" >&6; }
7529 else
7530   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7531 $as_echo "no" >&6; }
7532 fi
7533
7534
7535 fi
7536 if test -z "$ac_cv_prog_DLLTOOL"; then
7537   ac_ct_DLLTOOL=$DLLTOOL
7538   # Extract the first word of "dlltool", so it can be a program name with args.
7539 set dummy dlltool; ac_word=$2
7540 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7541 $as_echo_n "checking for $ac_word... " >&6; }
7542 if ${ac_cv_prog_ac_ct_DLLTOOL+:} false; then :
7543   $as_echo_n "(cached) " >&6
7544 else
7545   if test -n "$ac_ct_DLLTOOL"; then
7546   ac_cv_prog_ac_ct_DLLTOOL="$ac_ct_DLLTOOL" # Let the user override the test.
7547 else
7548 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7549 for as_dir in $PATH
7550 do
7551   IFS=$as_save_IFS
7552   test -z "$as_dir" && as_dir=.
7553     for ac_exec_ext in '' $ac_executable_extensions; do
7554   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7555     ac_cv_prog_ac_ct_DLLTOOL="dlltool"
7556     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7557     break 2
7558   fi
7559 done
7560   done
7561 IFS=$as_save_IFS
7562
7563 fi
7564 fi
7565 ac_ct_DLLTOOL=$ac_cv_prog_ac_ct_DLLTOOL
7566 if test -n "$ac_ct_DLLTOOL"; then
7567   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DLLTOOL" >&5
7568 $as_echo "$ac_ct_DLLTOOL" >&6; }
7569 else
7570   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7571 $as_echo "no" >&6; }
7572 fi
7573
7574   if test "x$ac_ct_DLLTOOL" = x; then
7575     DLLTOOL="false"
7576   else
7577     case $cross_compiling:$ac_tool_warned in
7578 yes:)
7579 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7580 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7581 ac_tool_warned=yes ;;
7582 esac
7583     DLLTOOL=$ac_ct_DLLTOOL
7584   fi
7585 else
7586   DLLTOOL="$ac_cv_prog_DLLTOOL"
7587 fi
7588
7589   if test -n "$ac_tool_prefix"; then
7590   # Extract the first word of "${ac_tool_prefix}objdump", so it can be a program name with args.
7591 set dummy ${ac_tool_prefix}objdump; ac_word=$2
7592 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7593 $as_echo_n "checking for $ac_word... " >&6; }
7594 if ${ac_cv_prog_OBJDUMP+:} false; then :
7595   $as_echo_n "(cached) " >&6
7596 else
7597   if test -n "$OBJDUMP"; then
7598   ac_cv_prog_OBJDUMP="$OBJDUMP" # Let the user override the test.
7599 else
7600 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7601 for as_dir in $PATH
7602 do
7603   IFS=$as_save_IFS
7604   test -z "$as_dir" && as_dir=.
7605     for ac_exec_ext in '' $ac_executable_extensions; do
7606   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7607     ac_cv_prog_OBJDUMP="${ac_tool_prefix}objdump"
7608     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7609     break 2
7610   fi
7611 done
7612   done
7613 IFS=$as_save_IFS
7614
7615 fi
7616 fi
7617 OBJDUMP=$ac_cv_prog_OBJDUMP
7618 if test -n "$OBJDUMP"; then
7619   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OBJDUMP" >&5
7620 $as_echo "$OBJDUMP" >&6; }
7621 else
7622   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7623 $as_echo "no" >&6; }
7624 fi
7625
7626
7627 fi
7628 if test -z "$ac_cv_prog_OBJDUMP"; then
7629   ac_ct_OBJDUMP=$OBJDUMP
7630   # Extract the first word of "objdump", so it can be a program name with args.
7631 set dummy objdump; ac_word=$2
7632 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7633 $as_echo_n "checking for $ac_word... " >&6; }
7634 if ${ac_cv_prog_ac_ct_OBJDUMP+:} false; then :
7635   $as_echo_n "(cached) " >&6
7636 else
7637   if test -n "$ac_ct_OBJDUMP"; then
7638   ac_cv_prog_ac_ct_OBJDUMP="$ac_ct_OBJDUMP" # Let the user override the test.
7639 else
7640 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7641 for as_dir in $PATH
7642 do
7643   IFS=$as_save_IFS
7644   test -z "$as_dir" && as_dir=.
7645     for ac_exec_ext in '' $ac_executable_extensions; do
7646   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7647     ac_cv_prog_ac_ct_OBJDUMP="objdump"
7648     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7649     break 2
7650   fi
7651 done
7652   done
7653 IFS=$as_save_IFS
7654
7655 fi
7656 fi
7657 ac_ct_OBJDUMP=$ac_cv_prog_ac_ct_OBJDUMP
7658 if test -n "$ac_ct_OBJDUMP"; then
7659   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OBJDUMP" >&5
7660 $as_echo "$ac_ct_OBJDUMP" >&6; }
7661 else
7662   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7663 $as_echo "no" >&6; }
7664 fi
7665
7666   if test "x$ac_ct_OBJDUMP" = x; then
7667     OBJDUMP="false"
7668   else
7669     case $cross_compiling:$ac_tool_warned in
7670 yes:)
7671 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7672 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7673 ac_tool_warned=yes ;;
7674 esac
7675     OBJDUMP=$ac_ct_OBJDUMP
7676   fi
7677 else
7678   OBJDUMP="$ac_cv_prog_OBJDUMP"
7679 fi
7680
7681   ;;
7682 esac
7683
7684 test -z "$AS" && AS=as
7685
7686
7687
7688
7689
7690 test -z "$DLLTOOL" && DLLTOOL=dlltool
7691
7692
7693
7694
7695
7696 test -z "$OBJDUMP" && OBJDUMP=objdump
7697
7698
7699
7700
7701 # Check whether --enable-static was given.
7702 if test "${enable_static+set}" = set; then :
7703   enableval=$enable_static; p=${PACKAGE-default}
7704     case $enableval in
7705     yes) enable_static=yes ;;
7706     no) enable_static=no ;;
7707     *)
7708      enable_static=no
7709       # Look at the argument we got.  We use all the common list separators.
7710       lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
7711       for pkg in $enableval; do
7712         IFS="$lt_save_ifs"
7713         if test "X$pkg" = "X$p"; then
7714           enable_static=yes
7715         fi
7716       done
7717       IFS="$lt_save_ifs"
7718       ;;
7719     esac
7720 else
7721   enable_static=no
7722 fi
7723
7724
7725
7726
7727
7728
7729
7730
7731
7732
7733
7734
7735             # Check whether --enable-shared was given.
7736 if test "${enable_shared+set}" = set; then :
7737   enableval=$enable_shared; p=${PACKAGE-default}
7738     case $enableval in
7739     yes) enable_shared=yes ;;
7740     no) enable_shared=no ;;
7741     *)
7742       enable_shared=no
7743       # Look at the argument we got.  We use all the common list separators.
7744       lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
7745       for pkg in $enableval; do
7746         IFS="$lt_save_ifs"
7747         if test "X$pkg" = "X$p"; then
7748           enable_shared=yes
7749         fi
7750       done
7751       IFS="$lt_save_ifs"
7752       ;;
7753     esac
7754 else
7755   enable_shared=yes
7756 fi
7757
7758
7759
7760
7761
7762
7763
7764
7765
7766
7767
7768 # Check whether --with-pic was given.
7769 if test "${with_pic+set}" = set; then :
7770   withval=$with_pic; lt_p=${PACKAGE-default}
7771     case $withval in
7772     yes|no) pic_mode=$withval ;;
7773     *)
7774       pic_mode=default
7775       # Look at the argument we got.  We use all the common list separators.
7776       lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
7777       for lt_pkg in $withval; do
7778         IFS="$lt_save_ifs"
7779         if test "X$lt_pkg" = "X$lt_p"; then
7780           pic_mode=yes
7781         fi
7782       done
7783       IFS="$lt_save_ifs"
7784       ;;
7785     esac
7786 else
7787   pic_mode=default
7788 fi
7789
7790
7791 test -z "$pic_mode" && pic_mode=default
7792
7793
7794
7795
7796
7797
7798
7799   # Check whether --enable-fast-install was given.
7800 if test "${enable_fast_install+set}" = set; then :
7801   enableval=$enable_fast_install; p=${PACKAGE-default}
7802     case $enableval in
7803     yes) enable_fast_install=yes ;;
7804     no) enable_fast_install=no ;;
7805     *)
7806       enable_fast_install=no
7807       # Look at the argument we got.  We use all the common list separators.
7808       lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
7809       for pkg in $enableval; do
7810         IFS="$lt_save_ifs"
7811         if test "X$pkg" = "X$p"; then
7812           enable_fast_install=yes
7813         fi
7814       done
7815       IFS="$lt_save_ifs"
7816       ;;
7817     esac
7818 else
7819   enable_fast_install=yes
7820 fi
7821
7822
7823
7824
7825
7826
7827
7828
7829
7830
7831
7832 # This can be used to rebuild libtool when needed
7833 LIBTOOL_DEPS="$ltmain"
7834
7835 # Always use our own libtool.
7836 LIBTOOL='$(SHELL) $(top_builddir)/libtool'
7837
7838
7839
7840
7841
7842
7843
7844
7845
7846
7847
7848
7849
7850
7851
7852
7853
7854
7855
7856
7857
7858
7859
7860
7861
7862
7863
7864
7865
7866
7867 test -z "$LN_S" && LN_S="ln -s"
7868
7869
7870
7871
7872
7873
7874
7875
7876
7877
7878
7879
7880
7881
7882 if test -n "${ZSH_VERSION+set}" ; then
7883    setopt NO_GLOB_SUBST
7884 fi
7885
7886 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for objdir" >&5
7887 $as_echo_n "checking for objdir... " >&6; }
7888 if ${lt_cv_objdir+:} false; then :
7889   $as_echo_n "(cached) " >&6
7890 else
7891   rm -f .libs 2>/dev/null
7892 mkdir .libs 2>/dev/null
7893 if test -d .libs; then
7894   lt_cv_objdir=.libs
7895 else
7896   # MS-DOS does not allow filenames that begin with a dot.
7897   lt_cv_objdir=_libs
7898 fi
7899 rmdir .libs 2>/dev/null
7900 fi
7901 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_objdir" >&5
7902 $as_echo "$lt_cv_objdir" >&6; }
7903 objdir=$lt_cv_objdir
7904
7905
7906
7907
7908
7909 cat >>confdefs.h <<_ACEOF
7910 #define LT_OBJDIR "$lt_cv_objdir/"
7911 _ACEOF
7912
7913
7914
7915
7916 case $host_os in
7917 aix3*)
7918   # AIX sometimes has problems with the GCC collect2 program.  For some
7919   # reason, if we set the COLLECT_NAMES environment variable, the problems
7920   # vanish in a puff of smoke.
7921   if test "X${COLLECT_NAMES+set}" != Xset; then
7922     COLLECT_NAMES=
7923     export COLLECT_NAMES
7924   fi
7925   ;;
7926 esac
7927
7928 # Global variables:
7929 ofile=libtool
7930 can_build_shared=yes
7931
7932 # All known linkers require a `.a' archive for static linking (except MSVC,
7933 # which needs '.lib').
7934 libext=a
7935
7936 with_gnu_ld="$lt_cv_prog_gnu_ld"
7937
7938 old_CC="$CC"
7939 old_CFLAGS="$CFLAGS"
7940
7941 # Set sane defaults for various variables
7942 test -z "$CC" && CC=cc
7943 test -z "$LTCC" && LTCC=$CC
7944 test -z "$LTCFLAGS" && LTCFLAGS=$CFLAGS
7945 test -z "$LD" && LD=ld
7946 test -z "$ac_objext" && ac_objext=o
7947
7948 for cc_temp in $compiler""; do
7949   case $cc_temp in
7950     compile | *[\\/]compile | ccache | *[\\/]ccache ) ;;
7951     distcc | *[\\/]distcc | purify | *[\\/]purify ) ;;
7952     \-*) ;;
7953     *) break;;
7954   esac
7955 done
7956 cc_basename=`$ECHO "$cc_temp" | $SED "s%.*/%%; s%^$host_alias-%%"`
7957
7958
7959 # Only perform the check for file, if the check method requires it
7960 test -z "$MAGIC_CMD" && MAGIC_CMD=file
7961 case $deplibs_check_method in
7962 file_magic*)
7963   if test "$file_magic_cmd" = '$MAGIC_CMD'; then
7964     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ${ac_tool_prefix}file" >&5
7965 $as_echo_n "checking for ${ac_tool_prefix}file... " >&6; }
7966 if ${lt_cv_path_MAGIC_CMD+:} false; then :
7967   $as_echo_n "(cached) " >&6
7968 else
7969   case $MAGIC_CMD in
7970 [\\/*] |  ?:[\\/]*)
7971   lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a path.
7972   ;;
7973 *)
7974   lt_save_MAGIC_CMD="$MAGIC_CMD"
7975   lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
7976   ac_dummy="/usr/bin$PATH_SEPARATOR$PATH"
7977   for ac_dir in $ac_dummy; do
7978     IFS="$lt_save_ifs"
7979     test -z "$ac_dir" && ac_dir=.
7980     if test -f $ac_dir/${ac_tool_prefix}file; then
7981       lt_cv_path_MAGIC_CMD="$ac_dir/${ac_tool_prefix}file"
7982       if test -n "$file_magic_test_file"; then
7983         case $deplibs_check_method in
7984         "file_magic "*)
7985           file_magic_regex=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
7986           MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
7987           if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
7988             $EGREP "$file_magic_regex" > /dev/null; then
7989             :
7990           else
7991             cat <<_LT_EOF 1>&2
7992
7993 *** Warning: the command libtool uses to detect shared libraries,
7994 *** $file_magic_cmd, produces output that libtool cannot recognize.
7995 *** The result is that libtool may fail to recognize shared libraries
7996 *** as such.  This will affect the creation of libtool libraries that
7997 *** depend on shared libraries, but programs linked with such libtool
7998 *** libraries will work regardless of this problem.  Nevertheless, you
7999 *** may want to report the problem to your system manager and/or to
8000 *** bug-libtool@gnu.org
8001
8002 _LT_EOF
8003           fi ;;
8004         esac
8005       fi
8006       break
8007     fi
8008   done
8009   IFS="$lt_save_ifs"
8010   MAGIC_CMD="$lt_save_MAGIC_CMD"
8011   ;;
8012 esac
8013 fi
8014
8015 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
8016 if test -n "$MAGIC_CMD"; then
8017   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MAGIC_CMD" >&5
8018 $as_echo "$MAGIC_CMD" >&6; }
8019 else
8020   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8021 $as_echo "no" >&6; }
8022 fi
8023
8024
8025
8026
8027
8028 if test -z "$lt_cv_path_MAGIC_CMD"; then
8029   if test -n "$ac_tool_prefix"; then
8030     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for file" >&5
8031 $as_echo_n "checking for file... " >&6; }
8032 if ${lt_cv_path_MAGIC_CMD+:} false; then :
8033   $as_echo_n "(cached) " >&6
8034 else
8035   case $MAGIC_CMD in
8036 [\\/*] |  ?:[\\/]*)
8037   lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a path.
8038   ;;
8039 *)
8040   lt_save_MAGIC_CMD="$MAGIC_CMD"
8041   lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
8042   ac_dummy="/usr/bin$PATH_SEPARATOR$PATH"
8043   for ac_dir in $ac_dummy; do
8044     IFS="$lt_save_ifs"
8045     test -z "$ac_dir" && ac_dir=.
8046     if test -f $ac_dir/file; then
8047       lt_cv_path_MAGIC_CMD="$ac_dir/file"
8048       if test -n "$file_magic_test_file"; then
8049         case $deplibs_check_method in
8050         "file_magic "*)
8051           file_magic_regex=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
8052           MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
8053           if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
8054             $EGREP "$file_magic_regex" > /dev/null; then
8055             :
8056           else
8057             cat <<_LT_EOF 1>&2
8058
8059 *** Warning: the command libtool uses to detect shared libraries,
8060 *** $file_magic_cmd, produces output that libtool cannot recognize.
8061 *** The result is that libtool may fail to recognize shared libraries
8062 *** as such.  This will affect the creation of libtool libraries that
8063 *** depend on shared libraries, but programs linked with such libtool
8064 *** libraries will work regardless of this problem.  Nevertheless, you
8065 *** may want to report the problem to your system manager and/or to
8066 *** bug-libtool@gnu.org
8067
8068 _LT_EOF
8069           fi ;;
8070         esac
8071       fi
8072       break
8073     fi
8074   done
8075   IFS="$lt_save_ifs"
8076   MAGIC_CMD="$lt_save_MAGIC_CMD"
8077   ;;
8078 esac
8079 fi
8080
8081 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
8082 if test -n "$MAGIC_CMD"; then
8083   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MAGIC_CMD" >&5
8084 $as_echo "$MAGIC_CMD" >&6; }
8085 else
8086   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8087 $as_echo "no" >&6; }
8088 fi
8089
8090
8091   else
8092     MAGIC_CMD=:
8093   fi
8094 fi
8095
8096   fi
8097   ;;
8098 esac
8099
8100 # Use C for the default configuration in the libtool script
8101
8102 lt_save_CC="$CC"
8103 ac_ext=c
8104 ac_cpp='$CPP $CPPFLAGS'
8105 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
8106 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
8107 ac_compiler_gnu=$ac_cv_c_compiler_gnu
8108
8109
8110 # Source file extension for C test sources.
8111 ac_ext=c
8112
8113 # Object file extension for compiled C test sources.
8114 objext=o
8115 objext=$objext
8116
8117 # Code to be used in simple compile tests
8118 lt_simple_compile_test_code="int some_variable = 0;"
8119
8120 # Code to be used in simple link tests
8121 lt_simple_link_test_code='int main(){return(0);}'
8122
8123
8124
8125
8126
8127
8128
8129 # If no C compiler was specified, use CC.
8130 LTCC=${LTCC-"$CC"}
8131
8132 # If no C compiler flags were specified, use CFLAGS.
8133 LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
8134
8135 # Allow CC to be a program name with arguments.
8136 compiler=$CC
8137
8138 # Save the default compiler, since it gets overwritten when the other
8139 # tags are being tested, and _LT_TAGVAR(compiler, []) is a NOP.
8140 compiler_DEFAULT=$CC
8141
8142 # save warnings/boilerplate of simple test code
8143 ac_outfile=conftest.$ac_objext
8144 echo "$lt_simple_compile_test_code" >conftest.$ac_ext
8145 eval "$ac_compile" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
8146 _lt_compiler_boilerplate=`cat conftest.err`
8147 $RM conftest*
8148
8149 ac_outfile=conftest.$ac_objext
8150 echo "$lt_simple_link_test_code" >conftest.$ac_ext
8151 eval "$ac_link" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
8152 _lt_linker_boilerplate=`cat conftest.err`
8153 $RM -r conftest*
8154
8155
8156 ## CAVEAT EMPTOR:
8157 ## There is no encapsulation within the following macros, do not change
8158 ## the running order or otherwise move them around unless you know exactly
8159 ## what you are doing...
8160 if test -n "$compiler"; then
8161
8162 lt_prog_compiler_no_builtin_flag=
8163
8164 if test "$GCC" = yes; then
8165   case $cc_basename in
8166   nvcc*)
8167     lt_prog_compiler_no_builtin_flag=' -Xcompiler -fno-builtin' ;;
8168   *)
8169     lt_prog_compiler_no_builtin_flag=' -fno-builtin' ;;
8170   esac
8171
8172   { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -fno-rtti -fno-exceptions" >&5
8173 $as_echo_n "checking if $compiler supports -fno-rtti -fno-exceptions... " >&6; }
8174 if ${lt_cv_prog_compiler_rtti_exceptions+:} false; then :
8175   $as_echo_n "(cached) " >&6
8176 else
8177   lt_cv_prog_compiler_rtti_exceptions=no
8178    ac_outfile=conftest.$ac_objext
8179    echo "$lt_simple_compile_test_code" > conftest.$ac_ext
8180    lt_compiler_flag="-fno-rtti -fno-exceptions"
8181    # Insert the option either (1) after the last *FLAGS variable, or
8182    # (2) before a word containing "conftest.", or (3) at the end.
8183    # Note that $ac_compile itself does not contain backslashes and begins
8184    # with a dollar sign (not a hyphen), so the echo should work correctly.
8185    # The option is referenced via a variable to avoid confusing sed.
8186    lt_compile=`echo "$ac_compile" | $SED \
8187    -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
8188    -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
8189    -e 's:$: $lt_compiler_flag:'`
8190    (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
8191    (eval "$lt_compile" 2>conftest.err)
8192    ac_status=$?
8193    cat conftest.err >&5
8194    echo "$as_me:$LINENO: \$? = $ac_status" >&5
8195    if (exit $ac_status) && test -s "$ac_outfile"; then
8196      # The compiler can only warn and ignore the option if not recognized
8197      # So say no if there are warnings other than the usual output.
8198      $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' >conftest.exp
8199      $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
8200      if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
8201        lt_cv_prog_compiler_rtti_exceptions=yes
8202      fi
8203    fi
8204    $RM conftest*
8205
8206 fi
8207 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_rtti_exceptions" >&5
8208 $as_echo "$lt_cv_prog_compiler_rtti_exceptions" >&6; }
8209
8210 if test x"$lt_cv_prog_compiler_rtti_exceptions" = xyes; then
8211     lt_prog_compiler_no_builtin_flag="$lt_prog_compiler_no_builtin_flag -fno-rtti -fno-exceptions"
8212 else
8213     :
8214 fi
8215
8216 fi
8217
8218
8219
8220
8221
8222
8223   lt_prog_compiler_wl=
8224 lt_prog_compiler_pic=
8225 lt_prog_compiler_static=
8226
8227
8228   if test "$GCC" = yes; then
8229     lt_prog_compiler_wl='-Wl,'
8230     lt_prog_compiler_static='-static'
8231
8232     case $host_os in
8233       aix*)
8234       # All AIX code is PIC.
8235       if test "$host_cpu" = ia64; then
8236         # AIX 5 now supports IA64 processor
8237         lt_prog_compiler_static='-Bstatic'
8238       fi
8239       ;;
8240
8241     amigaos*)
8242       case $host_cpu in
8243       powerpc)
8244             # see comment about AmigaOS4 .so support
8245             lt_prog_compiler_pic='-fPIC'
8246         ;;
8247       m68k)
8248             # FIXME: we need at least 68020 code to build shared libraries, but
8249             # adding the `-m68020' flag to GCC prevents building anything better,
8250             # like `-m68040'.
8251             lt_prog_compiler_pic='-m68020 -resident32 -malways-restore-a4'
8252         ;;
8253       esac
8254       ;;
8255
8256     beos* | irix5* | irix6* | nonstopux* | osf3* | osf4* | osf5*)
8257       # PIC is the default for these OSes.
8258       ;;
8259
8260     mingw* | cygwin* | pw32* | os2* | cegcc*)
8261       # This hack is so that the source file can tell whether it is being
8262       # built for inclusion in a dll (and should export symbols for example).
8263       # Although the cygwin gcc ignores -fPIC, still need this for old-style
8264       # (--disable-auto-import) libraries
8265       lt_prog_compiler_pic='-DDLL_EXPORT'
8266       ;;
8267
8268     darwin* | rhapsody*)
8269       # PIC is the default on this platform
8270       # Common symbols not allowed in MH_DYLIB files
8271       lt_prog_compiler_pic='-fno-common'
8272       ;;
8273
8274     haiku*)
8275       # PIC is the default for Haiku.
8276       # The "-static" flag exists, but is broken.
8277       lt_prog_compiler_static=
8278       ;;
8279
8280     hpux*)
8281       # PIC is the default for 64-bit PA HP-UX, but not for 32-bit
8282       # PA HP-UX.  On IA64 HP-UX, PIC is the default but the pic flag
8283       # sets the default TLS model and affects inlining.
8284       case $host_cpu in
8285       hppa*64*)
8286         # +Z the default
8287         ;;
8288       *)
8289         lt_prog_compiler_pic='-fPIC'
8290         ;;
8291       esac
8292       ;;
8293
8294     interix[3-9]*)
8295       # Interix 3.x gcc -fpic/-fPIC options generate broken code.
8296       # Instead, we relocate shared libraries at runtime.
8297       ;;
8298
8299     msdosdjgpp*)
8300       # Just because we use GCC doesn't mean we suddenly get shared libraries
8301       # on systems that don't support them.
8302       lt_prog_compiler_can_build_shared=no
8303       enable_shared=no
8304       ;;
8305
8306     *nto* | *qnx*)
8307       # QNX uses GNU C++, but need to define -shared option too, otherwise
8308       # it will coredump.
8309       lt_prog_compiler_pic='-fPIC -shared'
8310       ;;
8311
8312     sysv4*MP*)
8313       if test -d /usr/nec; then
8314         lt_prog_compiler_pic=-Kconform_pic
8315       fi
8316       ;;
8317
8318     *)
8319       lt_prog_compiler_pic='-fPIC'
8320       ;;
8321     esac
8322
8323     case $cc_basename in
8324     nvcc*) # Cuda Compiler Driver 2.2
8325       lt_prog_compiler_wl='-Xlinker '
8326       if test -n "$lt_prog_compiler_pic"; then
8327         lt_prog_compiler_pic="-Xcompiler $lt_prog_compiler_pic"
8328       fi
8329       ;;
8330     esac
8331   else
8332     # PORTME Check for flag to pass linker flags through the system compiler.
8333     case $host_os in
8334     aix*)
8335       lt_prog_compiler_wl='-Wl,'
8336       if test "$host_cpu" = ia64; then
8337         # AIX 5 now supports IA64 processor
8338         lt_prog_compiler_static='-Bstatic'
8339       else
8340         lt_prog_compiler_static='-bnso -bI:/lib/syscalls.exp'
8341       fi
8342       ;;
8343
8344     mingw* | cygwin* | pw32* | os2* | cegcc*)
8345       # This hack is so that the source file can tell whether it is being
8346       # built for inclusion in a dll (and should export symbols for example).
8347       lt_prog_compiler_pic='-DDLL_EXPORT'
8348       ;;
8349
8350     hpux9* | hpux10* | hpux11*)
8351       lt_prog_compiler_wl='-Wl,'
8352       # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
8353       # not for PA HP-UX.
8354       case $host_cpu in
8355       hppa*64*|ia64*)
8356         # +Z the default
8357         ;;
8358       *)
8359         lt_prog_compiler_pic='+Z'
8360         ;;
8361       esac
8362       # Is there a better lt_prog_compiler_static that works with the bundled CC?
8363       lt_prog_compiler_static='${wl}-a ${wl}archive'
8364       ;;
8365
8366     irix5* | irix6* | nonstopux*)
8367       lt_prog_compiler_wl='-Wl,'
8368       # PIC (with -KPIC) is the default.
8369       lt_prog_compiler_static='-non_shared'
8370       ;;
8371
8372     linux* | k*bsd*-gnu | kopensolaris*-gnu | gnu*)
8373       case $cc_basename in
8374       # old Intel for x86_64 which still supported -KPIC.
8375       ecc*)
8376         lt_prog_compiler_wl='-Wl,'
8377         lt_prog_compiler_pic='-KPIC'
8378         lt_prog_compiler_static='-static'
8379         ;;
8380       # icc used to be incompatible with GCC.
8381       # ICC 10 doesn't accept -KPIC any more.
8382       icc* | ifort*)
8383         lt_prog_compiler_wl='-Wl,'
8384         lt_prog_compiler_pic='-fPIC'
8385         lt_prog_compiler_static='-static'
8386         ;;
8387       # Lahey Fortran 8.1.
8388       lf95*)
8389         lt_prog_compiler_wl='-Wl,'
8390         lt_prog_compiler_pic='--shared'
8391         lt_prog_compiler_static='--static'
8392         ;;
8393       nagfor*)
8394         # NAG Fortran compiler
8395         lt_prog_compiler_wl='-Wl,-Wl,,'
8396         lt_prog_compiler_pic='-PIC'
8397         lt_prog_compiler_static='-Bstatic'
8398         ;;
8399       pgcc* | pgf77* | pgf90* | pgf95* | pgfortran*)
8400         # Portland Group compilers (*not* the Pentium gcc compiler,
8401         # which looks to be a dead project)
8402         lt_prog_compiler_wl='-Wl,'
8403         lt_prog_compiler_pic='-fpic'
8404         lt_prog_compiler_static='-Bstatic'
8405         ;;
8406       ccc*)
8407         lt_prog_compiler_wl='-Wl,'
8408         # All Alpha code is PIC.
8409         lt_prog_compiler_static='-non_shared'
8410         ;;
8411       xl* | bgxl* | bgf* | mpixl*)
8412         # IBM XL C 8.0/Fortran 10.1, 11.1 on PPC and BlueGene
8413         lt_prog_compiler_wl='-Wl,'
8414         lt_prog_compiler_pic='-qpic'
8415         lt_prog_compiler_static='-qstaticlink'
8416         ;;
8417       *)
8418         case `$CC -V 2>&1 | sed 5q` in
8419         *Sun\ Ceres\ Fortran* | *Sun*Fortran*\ [1-7].* | *Sun*Fortran*\ 8.[0-3]*)
8420           # Sun Fortran 8.3 passes all unrecognized flags to the linker
8421           lt_prog_compiler_pic='-KPIC'
8422           lt_prog_compiler_static='-Bstatic'
8423           lt_prog_compiler_wl=''
8424           ;;
8425         *Sun\ F* | *Sun*Fortran*)
8426           lt_prog_compiler_pic='-KPIC'
8427           lt_prog_compiler_static='-Bstatic'
8428           lt_prog_compiler_wl='-Qoption ld '
8429           ;;
8430         *Sun\ C*)
8431           # Sun C 5.9
8432           lt_prog_compiler_pic='-KPIC'
8433           lt_prog_compiler_static='-Bstatic'
8434           lt_prog_compiler_wl='-Wl,'
8435           ;;
8436         *Intel*\ [CF]*Compiler*)
8437           lt_prog_compiler_wl='-Wl,'
8438           lt_prog_compiler_pic='-fPIC'
8439           lt_prog_compiler_static='-static'
8440           ;;
8441         *Portland\ Group*)
8442           lt_prog_compiler_wl='-Wl,'
8443           lt_prog_compiler_pic='-fpic'
8444           lt_prog_compiler_static='-Bstatic'
8445           ;;
8446         esac
8447         ;;
8448       esac
8449       ;;
8450
8451     newsos6)
8452       lt_prog_compiler_pic='-KPIC'
8453       lt_prog_compiler_static='-Bstatic'
8454       ;;
8455
8456     *nto* | *qnx*)
8457       # QNX uses GNU C++, but need to define -shared option too, otherwise
8458       # it will coredump.
8459       lt_prog_compiler_pic='-fPIC -shared'
8460       ;;
8461
8462     osf3* | osf4* | osf5*)
8463       lt_prog_compiler_wl='-Wl,'
8464       # All OSF/1 code is PIC.
8465       lt_prog_compiler_static='-non_shared'
8466       ;;
8467
8468     rdos*)
8469       lt_prog_compiler_static='-non_shared'
8470       ;;
8471
8472     solaris*)
8473       lt_prog_compiler_pic='-KPIC'
8474       lt_prog_compiler_static='-Bstatic'
8475       case $cc_basename in
8476       f77* | f90* | f95* | sunf77* | sunf90* | sunf95*)
8477         lt_prog_compiler_wl='-Qoption ld ';;
8478       *)
8479         lt_prog_compiler_wl='-Wl,';;
8480       esac
8481       ;;
8482
8483     sunos4*)
8484       lt_prog_compiler_wl='-Qoption ld '
8485       lt_prog_compiler_pic='-PIC'
8486       lt_prog_compiler_static='-Bstatic'
8487       ;;
8488
8489     sysv4 | sysv4.2uw2* | sysv4.3*)
8490       lt_prog_compiler_wl='-Wl,'
8491       lt_prog_compiler_pic='-KPIC'
8492       lt_prog_compiler_static='-Bstatic'
8493       ;;
8494
8495     sysv4*MP*)
8496       if test -d /usr/nec ;then
8497         lt_prog_compiler_pic='-Kconform_pic'
8498         lt_prog_compiler_static='-Bstatic'
8499       fi
8500       ;;
8501
8502     sysv5* | unixware* | sco3.2v5* | sco5v6* | OpenUNIX*)
8503       lt_prog_compiler_wl='-Wl,'
8504       lt_prog_compiler_pic='-KPIC'
8505       lt_prog_compiler_static='-Bstatic'
8506       ;;
8507
8508     unicos*)
8509       lt_prog_compiler_wl='-Wl,'
8510       lt_prog_compiler_can_build_shared=no
8511       ;;
8512
8513     uts4*)
8514       lt_prog_compiler_pic='-pic'
8515       lt_prog_compiler_static='-Bstatic'
8516       ;;
8517
8518     *)
8519       lt_prog_compiler_can_build_shared=no
8520       ;;
8521     esac
8522   fi
8523
8524 case $host_os in
8525   # For platforms which do not support PIC, -DPIC is meaningless:
8526   *djgpp*)
8527     lt_prog_compiler_pic=
8528     ;;
8529   *)
8530     lt_prog_compiler_pic="$lt_prog_compiler_pic -DPIC"
8531     ;;
8532 esac
8533
8534 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $compiler option to produce PIC" >&5
8535 $as_echo_n "checking for $compiler option to produce PIC... " >&6; }
8536 if ${lt_cv_prog_compiler_pic+:} false; then :
8537   $as_echo_n "(cached) " >&6
8538 else
8539   lt_cv_prog_compiler_pic=$lt_prog_compiler_pic
8540 fi
8541 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic" >&5
8542 $as_echo "$lt_cv_prog_compiler_pic" >&6; }
8543 lt_prog_compiler_pic=$lt_cv_prog_compiler_pic
8544
8545 #
8546 # Check to make sure the PIC flag actually works.
8547 #
8548 if test -n "$lt_prog_compiler_pic"; then
8549   { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler PIC flag $lt_prog_compiler_pic works" >&5
8550 $as_echo_n "checking if $compiler PIC flag $lt_prog_compiler_pic works... " >&6; }
8551 if ${lt_cv_prog_compiler_pic_works+:} false; then :
8552   $as_echo_n "(cached) " >&6
8553 else
8554   lt_cv_prog_compiler_pic_works=no
8555    ac_outfile=conftest.$ac_objext
8556    echo "$lt_simple_compile_test_code" > conftest.$ac_ext
8557    lt_compiler_flag="$lt_prog_compiler_pic -DPIC"
8558    # Insert the option either (1) after the last *FLAGS variable, or
8559    # (2) before a word containing "conftest.", or (3) at the end.
8560    # Note that $ac_compile itself does not contain backslashes and begins
8561    # with a dollar sign (not a hyphen), so the echo should work correctly.
8562    # The option is referenced via a variable to avoid confusing sed.
8563    lt_compile=`echo "$ac_compile" | $SED \
8564    -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
8565    -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
8566    -e 's:$: $lt_compiler_flag:'`
8567    (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
8568    (eval "$lt_compile" 2>conftest.err)
8569    ac_status=$?
8570    cat conftest.err >&5
8571    echo "$as_me:$LINENO: \$? = $ac_status" >&5
8572    if (exit $ac_status) && test -s "$ac_outfile"; then
8573      # The compiler can only warn and ignore the option if not recognized
8574      # So say no if there are warnings other than the usual output.
8575      $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' >conftest.exp
8576      $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
8577      if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
8578        lt_cv_prog_compiler_pic_works=yes
8579      fi
8580    fi
8581    $RM conftest*
8582
8583 fi
8584 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic_works" >&5
8585 $as_echo "$lt_cv_prog_compiler_pic_works" >&6; }
8586
8587 if test x"$lt_cv_prog_compiler_pic_works" = xyes; then
8588     case $lt_prog_compiler_pic in
8589      "" | " "*) ;;
8590      *) lt_prog_compiler_pic=" $lt_prog_compiler_pic" ;;
8591      esac
8592 else
8593     lt_prog_compiler_pic=
8594      lt_prog_compiler_can_build_shared=no
8595 fi
8596
8597 fi
8598
8599
8600
8601
8602
8603
8604
8605
8606
8607
8608
8609 #
8610 # Check to make sure the static flag actually works.
8611 #
8612 wl=$lt_prog_compiler_wl eval lt_tmp_static_flag=\"$lt_prog_compiler_static\"
8613 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler static flag $lt_tmp_static_flag works" >&5
8614 $as_echo_n "checking if $compiler static flag $lt_tmp_static_flag works... " >&6; }
8615 if ${lt_cv_prog_compiler_static_works+:} false; then :
8616   $as_echo_n "(cached) " >&6
8617 else
8618   lt_cv_prog_compiler_static_works=no
8619    save_LDFLAGS="$LDFLAGS"
8620    LDFLAGS="$LDFLAGS $lt_tmp_static_flag"
8621    echo "$lt_simple_link_test_code" > conftest.$ac_ext
8622    if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
8623      # The linker can only warn and ignore the option if not recognized
8624      # So say no if there are warnings
8625      if test -s conftest.err; then
8626        # Append any errors to the config.log.
8627        cat conftest.err 1>&5
8628        $ECHO "$_lt_linker_boilerplate" | $SED '/^$/d' > conftest.exp
8629        $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
8630        if diff conftest.exp conftest.er2 >/dev/null; then
8631          lt_cv_prog_compiler_static_works=yes
8632        fi
8633      else
8634        lt_cv_prog_compiler_static_works=yes
8635      fi
8636    fi
8637    $RM -r conftest*
8638    LDFLAGS="$save_LDFLAGS"
8639
8640 fi
8641 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_static_works" >&5
8642 $as_echo "$lt_cv_prog_compiler_static_works" >&6; }
8643
8644 if test x"$lt_cv_prog_compiler_static_works" = xyes; then
8645     :
8646 else
8647     lt_prog_compiler_static=
8648 fi
8649
8650
8651
8652
8653
8654
8655
8656   { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
8657 $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
8658 if ${lt_cv_prog_compiler_c_o+:} false; then :
8659   $as_echo_n "(cached) " >&6
8660 else
8661   lt_cv_prog_compiler_c_o=no
8662    $RM -r conftest 2>/dev/null
8663    mkdir conftest
8664    cd conftest
8665    mkdir out
8666    echo "$lt_simple_compile_test_code" > conftest.$ac_ext
8667
8668    lt_compiler_flag="-o out/conftest2.$ac_objext"
8669    # Insert the option either (1) after the last *FLAGS variable, or
8670    # (2) before a word containing "conftest.", or (3) at the end.
8671    # Note that $ac_compile itself does not contain backslashes and begins
8672    # with a dollar sign (not a hyphen), so the echo should work correctly.
8673    lt_compile=`echo "$ac_compile" | $SED \
8674    -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
8675    -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
8676    -e 's:$: $lt_compiler_flag:'`
8677    (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
8678    (eval "$lt_compile" 2>out/conftest.err)
8679    ac_status=$?
8680    cat out/conftest.err >&5
8681    echo "$as_me:$LINENO: \$? = $ac_status" >&5
8682    if (exit $ac_status) && test -s out/conftest2.$ac_objext
8683    then
8684      # The compiler can only warn and ignore the option if not recognized
8685      # So say no if there are warnings
8686      $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' > out/conftest.exp
8687      $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
8688      if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
8689        lt_cv_prog_compiler_c_o=yes
8690      fi
8691    fi
8692    chmod u+w . 2>&5
8693    $RM conftest*
8694    # SGI C++ compiler will create directory out/ii_files/ for
8695    # template instantiation
8696    test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
8697    $RM out/* && rmdir out
8698    cd ..
8699    $RM -r conftest
8700    $RM conftest*
8701
8702 fi
8703 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o" >&5
8704 $as_echo "$lt_cv_prog_compiler_c_o" >&6; }
8705
8706
8707
8708
8709
8710
8711   { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
8712 $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
8713 if ${lt_cv_prog_compiler_c_o+:} false; then :
8714   $as_echo_n "(cached) " >&6
8715 else
8716   lt_cv_prog_compiler_c_o=no
8717    $RM -r conftest 2>/dev/null
8718    mkdir conftest
8719    cd conftest
8720    mkdir out
8721    echo "$lt_simple_compile_test_code" > conftest.$ac_ext
8722
8723    lt_compiler_flag="-o out/conftest2.$ac_objext"
8724    # Insert the option either (1) after the last *FLAGS variable, or
8725    # (2) before a word containing "conftest.", or (3) at the end.
8726    # Note that $ac_compile itself does not contain backslashes and begins
8727    # with a dollar sign (not a hyphen), so the echo should work correctly.
8728    lt_compile=`echo "$ac_compile" | $SED \
8729    -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
8730    -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
8731    -e 's:$: $lt_compiler_flag:'`
8732    (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
8733    (eval "$lt_compile" 2>out/conftest.err)
8734    ac_status=$?
8735    cat out/conftest.err >&5
8736    echo "$as_me:$LINENO: \$? = $ac_status" >&5
8737    if (exit $ac_status) && test -s out/conftest2.$ac_objext
8738    then
8739      # The compiler can only warn and ignore the option if not recognized
8740      # So say no if there are warnings
8741      $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' > out/conftest.exp
8742      $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
8743      if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
8744        lt_cv_prog_compiler_c_o=yes
8745      fi
8746    fi
8747    chmod u+w . 2>&5
8748    $RM conftest*
8749    # SGI C++ compiler will create directory out/ii_files/ for
8750    # template instantiation
8751    test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
8752    $RM out/* && rmdir out
8753    cd ..
8754    $RM -r conftest
8755    $RM conftest*
8756
8757 fi
8758 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o" >&5
8759 $as_echo "$lt_cv_prog_compiler_c_o" >&6; }
8760
8761
8762
8763
8764 hard_links="nottested"
8765 if test "$lt_cv_prog_compiler_c_o" = no && test "$need_locks" != no; then
8766   # do not overwrite the value of need_locks provided by the user
8767   { $as_echo "$as_me:${as_lineno-$LINENO}: checking if we can lock with hard links" >&5
8768 $as_echo_n "checking if we can lock with hard links... " >&6; }
8769   hard_links=yes
8770   $RM conftest*
8771   ln conftest.a conftest.b 2>/dev/null && hard_links=no
8772   touch conftest.a
8773   ln conftest.a conftest.b 2>&5 || hard_links=no
8774   ln conftest.a conftest.b 2>/dev/null && hard_links=no
8775   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hard_links" >&5
8776 $as_echo "$hard_links" >&6; }
8777   if test "$hard_links" = no; then
8778     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5
8779 $as_echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;}
8780     need_locks=warn
8781   fi
8782 else
8783   need_locks=no
8784 fi
8785
8786
8787
8788
8789
8790
8791   { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $compiler linker ($LD) supports shared libraries" >&5
8792 $as_echo_n "checking whether the $compiler linker ($LD) supports shared libraries... " >&6; }
8793
8794   runpath_var=
8795   allow_undefined_flag=
8796   always_export_symbols=no
8797   archive_cmds=
8798   archive_expsym_cmds=
8799   compiler_needs_object=no
8800   enable_shared_with_static_runtimes=no
8801   export_dynamic_flag_spec=
8802   export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
8803   hardcode_automatic=no
8804   hardcode_direct=no
8805   hardcode_direct_absolute=no
8806   hardcode_libdir_flag_spec=
8807   hardcode_libdir_separator=
8808   hardcode_minus_L=no
8809   hardcode_shlibpath_var=unsupported
8810   inherit_rpath=no
8811   link_all_deplibs=unknown
8812   module_cmds=
8813   module_expsym_cmds=
8814   old_archive_from_new_cmds=
8815   old_archive_from_expsyms_cmds=
8816   thread_safe_flag_spec=
8817   whole_archive_flag_spec=
8818   # include_expsyms should be a list of space-separated symbols to be *always*
8819   # included in the symbol list
8820   include_expsyms=
8821   # exclude_expsyms can be an extended regexp of symbols to exclude
8822   # it will be wrapped by ` (' and `)$', so one must not match beginning or
8823   # end of line.  Example: `a|bc|.*d.*' will exclude the symbols `a' and `bc',
8824   # as well as any symbol that contains `d'.
8825   exclude_expsyms='_GLOBAL_OFFSET_TABLE_|_GLOBAL__F[ID]_.*'
8826   # Although _GLOBAL_OFFSET_TABLE_ is a valid symbol C name, most a.out
8827   # platforms (ab)use it in PIC code, but their linkers get confused if
8828   # the symbol is explicitly referenced.  Since portable code cannot
8829   # rely on this symbol name, it's probably fine to never include it in
8830   # preloaded symbol tables.
8831   # Exclude shared library initialization/finalization symbols.
8832   extract_expsyms_cmds=
8833
8834   case $host_os in
8835   cygwin* | mingw* | pw32* | cegcc*)
8836     # FIXME: the MSVC++ port hasn't been tested in a loooong time
8837     # When not using gcc, we currently assume that we are using
8838     # Microsoft Visual C++.
8839     if test "$GCC" != yes; then
8840       with_gnu_ld=no
8841     fi
8842     ;;
8843   interix*)
8844     # we just hope/assume this is gcc and not c89 (= MSVC++)
8845     with_gnu_ld=yes
8846     ;;
8847   openbsd*)
8848     with_gnu_ld=no
8849     ;;
8850   linux* | k*bsd*-gnu | gnu*)
8851     link_all_deplibs=no
8852     ;;
8853   esac
8854
8855   ld_shlibs=yes
8856
8857   # On some targets, GNU ld is compatible enough with the native linker
8858   # that we're better off using the native interface for both.
8859   lt_use_gnu_ld_interface=no
8860   if test "$with_gnu_ld" = yes; then
8861     case $host_os in
8862       aix*)
8863         # The AIX port of GNU ld has always aspired to compatibility
8864         # with the native linker.  However, as the warning in the GNU ld
8865         # block says, versions before 2.19.5* couldn't really create working
8866         # shared libraries, regardless of the interface used.
8867         case `$LD -v 2>&1` in
8868           *\ \(GNU\ Binutils\)\ 2.19.5*) ;;
8869           *\ \(GNU\ Binutils\)\ 2.[2-9]*) ;;
8870           *\ \(GNU\ Binutils\)\ [3-9]*) ;;
8871           *)
8872             lt_use_gnu_ld_interface=yes
8873             ;;
8874         esac
8875         ;;
8876       *)
8877         lt_use_gnu_ld_interface=yes
8878         ;;
8879     esac
8880   fi
8881
8882   if test "$lt_use_gnu_ld_interface" = yes; then
8883     # If archive_cmds runs LD, not CC, wlarc should be empty
8884     wlarc='${wl}'
8885
8886     # Set some defaults for GNU ld with shared library support. These
8887     # are reset later if shared libraries are not supported. Putting them
8888     # here allows them to be overridden if necessary.
8889     runpath_var=LD_RUN_PATH
8890     hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
8891     export_dynamic_flag_spec='${wl}--export-dynamic'
8892     # ancient GNU ld didn't support --whole-archive et. al.
8893     if $LD --help 2>&1 | $GREP 'no-whole-archive' > /dev/null; then
8894       whole_archive_flag_spec="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
8895     else
8896       whole_archive_flag_spec=
8897     fi
8898     supports_anon_versioning=no
8899     case `$LD -v 2>&1` in
8900       *GNU\ gold*) supports_anon_versioning=yes ;;
8901       *\ [01].* | *\ 2.[0-9].* | *\ 2.10.*) ;; # catch versions < 2.11
8902       *\ 2.11.93.0.2\ *) supports_anon_versioning=yes ;; # RH7.3 ...
8903       *\ 2.11.92.0.12\ *) supports_anon_versioning=yes ;; # Mandrake 8.2 ...
8904       *\ 2.11.*) ;; # other 2.11 versions
8905       *) supports_anon_versioning=yes ;;
8906     esac
8907
8908     # See if GNU ld supports shared libraries.
8909     case $host_os in
8910     aix[3-9]*)
8911       # On AIX/PPC, the GNU linker is very broken
8912       if test "$host_cpu" != ia64; then
8913         ld_shlibs=no
8914         cat <<_LT_EOF 1>&2
8915
8916 *** Warning: the GNU linker, at least up to release 2.19, is reported
8917 *** to be unable to reliably create shared libraries on AIX.
8918 *** Therefore, libtool is disabling shared libraries support.  If you
8919 *** really care for shared libraries, you may want to install binutils
8920 *** 2.20 or above, or modify your PATH so that a non-GNU linker is found.
8921 *** You will then need to restart the configuration process.
8922
8923 _LT_EOF
8924       fi
8925       ;;
8926
8927     amigaos*)
8928       case $host_cpu in
8929       powerpc)
8930             # see comment about AmigaOS4 .so support
8931             archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
8932             archive_expsym_cmds=''
8933         ;;
8934       m68k)
8935             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)'
8936             hardcode_libdir_flag_spec='-L$libdir'
8937             hardcode_minus_L=yes
8938         ;;
8939       esac
8940       ;;
8941
8942     beos*)
8943       if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
8944         allow_undefined_flag=unsupported
8945         # Joseph Beckenbach <jrb3@best.com> says some releases of gcc
8946         # support --undefined.  This deserves some investigation.  FIXME
8947         archive_cmds='$CC -nostart $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
8948       else
8949         ld_shlibs=no
8950       fi
8951       ;;
8952
8953     cygwin* | mingw* | pw32* | cegcc*)
8954       # _LT_TAGVAR(hardcode_libdir_flag_spec, ) is actually meaningless,
8955       # as there is no search path for DLLs.
8956       hardcode_libdir_flag_spec='-L$libdir'
8957       export_dynamic_flag_spec='${wl}--export-all-symbols'
8958       allow_undefined_flag=unsupported
8959       always_export_symbols=no
8960       enable_shared_with_static_runtimes=yes
8961       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'
8962       exclude_expsyms='[_]+GLOBAL_OFFSET_TABLE_|[_]+GLOBAL__[FID]_.*|[_]+head_[A-Za-z0-9_]+_dll|[A-Za-z0-9_]+_dll_iname'
8963
8964       if $LD --help 2>&1 | $GREP 'auto-import' > /dev/null; then
8965         archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
8966         # If the export-symbols file already is a .def file (1st line
8967         # is EXPORTS), use it as is; otherwise, prepend...
8968         archive_expsym_cmds='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
8969           cp $export_symbols $output_objdir/$soname.def;
8970         else
8971           echo EXPORTS > $output_objdir/$soname.def;
8972           cat $export_symbols >> $output_objdir/$soname.def;
8973         fi~
8974         $CC -shared $output_objdir/$soname.def $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
8975       else
8976         ld_shlibs=no
8977       fi
8978       ;;
8979
8980     haiku*)
8981       archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
8982       link_all_deplibs=yes
8983       ;;
8984
8985     interix[3-9]*)
8986       hardcode_direct=no
8987       hardcode_shlibpath_var=no
8988       hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
8989       export_dynamic_flag_spec='${wl}-E'
8990       # Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc.
8991       # Instead, shared libraries are loaded at an image base (0x10000000 by
8992       # default) and relocated if they conflict, which is a slow very memory
8993       # consuming and fragmenting process.  To avoid this, we pick a random,
8994       # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link
8995       # time.  Moving up from 0x10000000 also allows more sbrk(2) space.
8996       archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-h,$soname ${wl}--image-base,`expr ${RANDOM-$$} % 4096 / 2 \* 262144 + 1342177280` -o $lib'
8997       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'
8998       ;;
8999
9000     gnu* | linux* | tpf* | k*bsd*-gnu | kopensolaris*-gnu)
9001       tmp_diet=no
9002       if test "$host_os" = linux-dietlibc; then
9003         case $cc_basename in
9004           diet\ *) tmp_diet=yes;;       # linux-dietlibc with static linking (!diet-dyn)
9005         esac
9006       fi
9007       if $LD --help 2>&1 | $EGREP ': supported targets:.* elf' > /dev/null \
9008          && test "$tmp_diet" = no
9009       then
9010         tmp_addflag=' $pic_flag'
9011         tmp_sharedflag='-shared'
9012         case $cc_basename,$host_cpu in
9013         pgcc*)                          # Portland Group C compiler
9014           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'
9015           tmp_addflag=' $pic_flag'
9016           ;;
9017         pgf77* | pgf90* | pgf95* | pgfortran*)
9018                                         # Portland Group f77 and f90 compilers
9019           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'
9020           tmp_addflag=' $pic_flag -Mnomain' ;;
9021         ecc*,ia64* | icc*,ia64*)        # Intel C compiler on ia64
9022           tmp_addflag=' -i_dynamic' ;;
9023         efc*,ia64* | ifort*,ia64*)      # Intel Fortran compiler on ia64
9024           tmp_addflag=' -i_dynamic -nofor_main' ;;
9025         ifc* | ifort*)                  # Intel Fortran compiler
9026           tmp_addflag=' -nofor_main' ;;
9027         lf95*)                          # Lahey Fortran 8.1
9028           whole_archive_flag_spec=
9029           tmp_sharedflag='--shared' ;;
9030         xl[cC]* | bgxl[cC]* | mpixl[cC]*) # IBM XL C 8.0 on PPC (deal with xlf below)
9031           tmp_sharedflag='-qmkshrobj'
9032           tmp_addflag= ;;
9033         nvcc*)  # Cuda Compiler Driver 2.2
9034           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'
9035           compiler_needs_object=yes
9036           ;;
9037         esac
9038         case `$CC -V 2>&1 | sed 5q` in
9039         *Sun\ C*)                       # Sun C 5.9
9040           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'
9041           compiler_needs_object=yes
9042           tmp_sharedflag='-G' ;;
9043         *Sun\ F*)                       # Sun Fortran 8.3
9044           tmp_sharedflag='-G' ;;
9045         esac
9046         archive_cmds='$CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9047
9048         if test "x$supports_anon_versioning" = xyes; then
9049           archive_expsym_cmds='echo "{ global:" > $output_objdir/$libname.ver~
9050             cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
9051             echo "local: *; };" >> $output_objdir/$libname.ver~
9052             $CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-version-script ${wl}$output_objdir/$libname.ver -o $lib'
9053         fi
9054
9055         case $cc_basename in
9056         xlf* | bgf* | bgxlf* | mpixlf*)
9057           # IBM XL Fortran 10.1 on PPC cannot create shared libs itself
9058           whole_archive_flag_spec='--whole-archive$convenience --no-whole-archive'
9059           hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
9060           archive_cmds='$LD -shared $libobjs $deplibs $linker_flags -soname $soname -o $lib'
9061           if test "x$supports_anon_versioning" = xyes; then
9062             archive_expsym_cmds='echo "{ global:" > $output_objdir/$libname.ver~
9063               cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
9064               echo "local: *; };" >> $output_objdir/$libname.ver~
9065               $LD -shared $libobjs $deplibs $linker_flags -soname $soname -version-script $output_objdir/$libname.ver -o $lib'
9066           fi
9067           ;;
9068         esac
9069       else
9070         ld_shlibs=no
9071       fi
9072       ;;
9073
9074     netbsd* | netbsdelf*-gnu)
9075       if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
9076         archive_cmds='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib'
9077         wlarc=
9078       else
9079         archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9080         archive_expsym_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
9081       fi
9082       ;;
9083
9084     solaris*)
9085       if $LD -v 2>&1 | $GREP 'BFD 2\.8' > /dev/null; then
9086         ld_shlibs=no
9087         cat <<_LT_EOF 1>&2
9088
9089 *** Warning: The releases 2.8.* of the GNU linker cannot reliably
9090 *** create shared libraries on Solaris systems.  Therefore, libtool
9091 *** is disabling shared libraries support.  We urge you to upgrade GNU
9092 *** binutils to release 2.9.1 or newer.  Another option is to modify
9093 *** your PATH or compiler configuration so that the native linker is
9094 *** used, and then restart.
9095
9096 _LT_EOF
9097       elif $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
9098         archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9099         archive_expsym_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
9100       else
9101         ld_shlibs=no
9102       fi
9103       ;;
9104
9105     sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX*)
9106       case `$LD -v 2>&1` in
9107         *\ [01].* | *\ 2.[0-9].* | *\ 2.1[0-5].*)
9108         ld_shlibs=no
9109         cat <<_LT_EOF 1>&2
9110
9111 *** Warning: Releases of the GNU linker prior to 2.16.91.0.3 can not
9112 *** reliably create shared libraries on SCO systems.  Therefore, libtool
9113 *** is disabling shared libraries support.  We urge you to upgrade GNU
9114 *** binutils to release 2.16.91.0.3 or newer.  Another option is to modify
9115 *** your PATH or compiler configuration so that the native linker is
9116 *** used, and then restart.
9117
9118 _LT_EOF
9119         ;;
9120         *)
9121           # For security reasons, it is highly recommended that you always
9122           # use absolute paths for naming shared libraries, and exclude the
9123           # DT_RUNPATH tag from executables and libraries.  But doing so
9124           # requires that you compile everything twice, which is a pain.
9125           if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
9126             hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
9127             archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9128             archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
9129           else
9130             ld_shlibs=no
9131           fi
9132         ;;
9133       esac
9134       ;;
9135
9136     sunos4*)
9137       archive_cmds='$LD -assert pure-text -Bshareable -o $lib $libobjs $deplibs $linker_flags'
9138       wlarc=
9139       hardcode_direct=yes
9140       hardcode_shlibpath_var=no
9141       ;;
9142
9143     *)
9144       if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
9145         archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9146         archive_expsym_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
9147       else
9148         ld_shlibs=no
9149       fi
9150       ;;
9151     esac
9152
9153     if test "$ld_shlibs" = no; then
9154       runpath_var=
9155       hardcode_libdir_flag_spec=
9156       export_dynamic_flag_spec=
9157       whole_archive_flag_spec=
9158     fi
9159   else
9160     # PORTME fill in a description of your system's linker (not GNU ld)
9161     case $host_os in
9162     aix3*)
9163       allow_undefined_flag=unsupported
9164       always_export_symbols=yes
9165       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'
9166       # Note: this linker hardcodes the directories in LIBPATH if there
9167       # are no directories specified by -L.
9168       hardcode_minus_L=yes
9169       if test "$GCC" = yes && test -z "$lt_prog_compiler_static"; then
9170         # Neither direct hardcoding nor static linking is supported with a
9171         # broken collect2.
9172         hardcode_direct=unsupported
9173       fi
9174       ;;
9175
9176     aix[4-9]*)
9177       if test "$host_cpu" = ia64; then
9178         # On IA64, the linker does run time linking by default, so we don't
9179         # have to do anything special.
9180         aix_use_runtimelinking=no
9181         exp_sym_flag='-Bexport'
9182         no_entry_flag=""
9183       else
9184         # If we're using GNU nm, then we don't want the "-C" option.
9185         # -C means demangle to AIX nm, but means don't demangle with GNU nm
9186         # Also, AIX nm treats weak defined symbols like other global
9187         # defined symbols, whereas GNU nm marks them as "W".
9188         if $NM -V 2>&1 | $GREP 'GNU' > /dev/null; then
9189           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'
9190         else
9191           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'
9192         fi
9193         aix_use_runtimelinking=no
9194
9195         # Test if we are trying to use run time linking or normal
9196         # AIX style linking. If -brtl is somewhere in LDFLAGS, we
9197         # need to do runtime linking.
9198         case $host_os in aix4.[23]|aix4.[23].*|aix[5-9]*)
9199           for ld_flag in $LDFLAGS; do
9200           if (test $ld_flag = "-brtl" || test $ld_flag = "-Wl,-brtl"); then
9201             aix_use_runtimelinking=yes
9202             break
9203           fi
9204           done
9205           ;;
9206         esac
9207
9208         exp_sym_flag='-bexport'
9209         no_entry_flag='-bnoentry'
9210       fi
9211
9212       # When large executables or shared objects are built, AIX ld can
9213       # have problems creating the table of contents.  If linking a library
9214       # or program results in "error TOC overflow" add -mminimal-toc to
9215       # CXXFLAGS/CFLAGS for g++/gcc.  In the cases where that is not
9216       # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
9217
9218       archive_cmds=''
9219       hardcode_direct=yes
9220       hardcode_direct_absolute=yes
9221       hardcode_libdir_separator=':'
9222       link_all_deplibs=yes
9223       file_list_spec='${wl}-f,'
9224
9225       if test "$GCC" = yes; then
9226         case $host_os in aix4.[012]|aix4.[012].*)
9227         # We only want to do this on AIX 4.2 and lower, the check
9228         # below for broken collect2 doesn't work under 4.3+
9229           collect2name=`${CC} -print-prog-name=collect2`
9230           if test -f "$collect2name" &&
9231            strings "$collect2name" | $GREP resolve_lib_name >/dev/null
9232           then
9233           # We have reworked collect2
9234           :
9235           else
9236           # We have old collect2
9237           hardcode_direct=unsupported
9238           # It fails to find uninstalled libraries when the uninstalled
9239           # path is not listed in the libpath.  Setting hardcode_minus_L
9240           # to unsupported forces relinking
9241           hardcode_minus_L=yes
9242           hardcode_libdir_flag_spec='-L$libdir'
9243           hardcode_libdir_separator=
9244           fi
9245           ;;
9246         esac
9247         shared_flag='-shared'
9248         if test "$aix_use_runtimelinking" = yes; then
9249           shared_flag="$shared_flag "'${wl}-G'
9250         fi
9251         link_all_deplibs=no
9252       else
9253         # not using gcc
9254         if test "$host_cpu" = ia64; then
9255         # VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
9256         # chokes on -Wl,-G. The following line is correct:
9257           shared_flag='-G'
9258         else
9259           if test "$aix_use_runtimelinking" = yes; then
9260             shared_flag='${wl}-G'
9261           else
9262             shared_flag='${wl}-bM:SRE'
9263           fi
9264         fi
9265       fi
9266
9267       export_dynamic_flag_spec='${wl}-bexpall'
9268       # It seems that -bexpall does not export symbols beginning with
9269       # underscore (_), so it is better to generate a list of symbols to export.
9270       always_export_symbols=yes
9271       if test "$aix_use_runtimelinking" = yes; then
9272         # Warning - without using the other runtime loading flags (-brtl),
9273         # -berok will link without error, but may produce a broken library.
9274         allow_undefined_flag='-berok'
9275         # Determine the default libpath from the value encoded in an
9276         # empty executable.
9277         if test "${lt_cv_aix_libpath+set}" = set; then
9278   aix_libpath=$lt_cv_aix_libpath
9279 else
9280   if ${lt_cv_aix_libpath_+:} false; then :
9281   $as_echo_n "(cached) " >&6
9282 else
9283   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9284 /* end confdefs.h.  */
9285
9286 int
9287 main ()
9288 {
9289
9290   ;
9291   return 0;
9292 }
9293 _ACEOF
9294 if ac_fn_c_try_link "$LINENO"; then :
9295
9296   lt_aix_libpath_sed='
9297       /Import File Strings/,/^$/ {
9298           /^0/ {
9299               s/^0  *\([^ ]*\) *$/\1/
9300               p
9301           }
9302       }'
9303   lt_cv_aix_libpath_=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
9304   # Check for a 64-bit object if we didn't find anything.
9305   if test -z "$lt_cv_aix_libpath_"; then
9306     lt_cv_aix_libpath_=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
9307   fi
9308 fi
9309 rm -f core conftest.err conftest.$ac_objext \
9310     conftest$ac_exeext conftest.$ac_ext
9311   if test -z "$lt_cv_aix_libpath_"; then
9312     lt_cv_aix_libpath_="/usr/lib:/lib"
9313   fi
9314
9315 fi
9316
9317   aix_libpath=$lt_cv_aix_libpath_
9318 fi
9319
9320         hardcode_libdir_flag_spec='${wl}-blibpath:$libdir:'"$aix_libpath"
9321         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"
9322       else
9323         if test "$host_cpu" = ia64; then
9324           hardcode_libdir_flag_spec='${wl}-R $libdir:/usr/lib:/lib'
9325           allow_undefined_flag="-z nodefs"
9326           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"
9327         else
9328          # Determine the default libpath from the value encoded in an
9329          # empty executable.
9330          if test "${lt_cv_aix_libpath+set}" = set; then
9331   aix_libpath=$lt_cv_aix_libpath
9332 else
9333   if ${lt_cv_aix_libpath_+:} false; then :
9334   $as_echo_n "(cached) " >&6
9335 else
9336   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9337 /* end confdefs.h.  */
9338
9339 int
9340 main ()
9341 {
9342
9343   ;
9344   return 0;
9345 }
9346 _ACEOF
9347 if ac_fn_c_try_link "$LINENO"; then :
9348
9349   lt_aix_libpath_sed='
9350       /Import File Strings/,/^$/ {
9351           /^0/ {
9352               s/^0  *\([^ ]*\) *$/\1/
9353               p
9354           }
9355       }'
9356   lt_cv_aix_libpath_=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
9357   # Check for a 64-bit object if we didn't find anything.
9358   if test -z "$lt_cv_aix_libpath_"; then
9359     lt_cv_aix_libpath_=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
9360   fi
9361 fi
9362 rm -f core conftest.err conftest.$ac_objext \
9363     conftest$ac_exeext conftest.$ac_ext
9364   if test -z "$lt_cv_aix_libpath_"; then
9365     lt_cv_aix_libpath_="/usr/lib:/lib"
9366   fi
9367
9368 fi
9369
9370   aix_libpath=$lt_cv_aix_libpath_
9371 fi
9372
9373          hardcode_libdir_flag_spec='${wl}-blibpath:$libdir:'"$aix_libpath"
9374           # Warning - without using the other run time loading flags,
9375           # -berok will link without error, but may produce a broken library.
9376           no_undefined_flag=' ${wl}-bernotok'
9377           allow_undefined_flag=' ${wl}-berok'
9378           if test "$with_gnu_ld" = yes; then
9379             # We only use this code for GNU lds that support --whole-archive.
9380             whole_archive_flag_spec='${wl}--whole-archive$convenience ${wl}--no-whole-archive'
9381           else
9382             # Exported symbols can be pulled into shared objects from archives
9383             whole_archive_flag_spec='$convenience'
9384           fi
9385           archive_cmds_need_lc=yes
9386           # This is similar to how AIX traditionally builds its shared libraries.
9387           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'
9388         fi
9389       fi
9390       ;;
9391
9392     amigaos*)
9393       case $host_cpu in
9394       powerpc)
9395             # see comment about AmigaOS4 .so support
9396             archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9397             archive_expsym_cmds=''
9398         ;;
9399       m68k)
9400             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)'
9401             hardcode_libdir_flag_spec='-L$libdir'
9402             hardcode_minus_L=yes
9403         ;;
9404       esac
9405       ;;
9406
9407     bsdi[45]*)
9408       export_dynamic_flag_spec=-rdynamic
9409       ;;
9410
9411     cygwin* | mingw* | pw32* | cegcc*)
9412       # When not using gcc, we currently assume that we are using
9413       # Microsoft Visual C++.
9414       # hardcode_libdir_flag_spec is actually meaningless, as there is
9415       # no search path for DLLs.
9416       case $cc_basename in
9417       cl*)
9418         # Native MSVC
9419         hardcode_libdir_flag_spec=' '
9420         allow_undefined_flag=unsupported
9421         always_export_symbols=yes
9422         file_list_spec='@'
9423         # Tell ltmain to make .lib files, not .a files.
9424         libext=lib
9425         # Tell ltmain to make .dll files, not .so files.
9426         shrext_cmds=".dll"
9427         # FIXME: Setting linknames here is a bad hack.
9428         archive_cmds='$CC -o $output_objdir/$soname $libobjs $compiler_flags $deplibs -Wl,-dll~linknames='
9429         archive_expsym_cmds='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
9430             sed -n -e 's/\\\\\\\(.*\\\\\\\)/-link\\\ -EXPORT:\\\\\\\1/' -e '1\\\!p' < $export_symbols > $output_objdir/$soname.exp;
9431           else
9432             sed -e 's/\\\\\\\(.*\\\\\\\)/-link\\\ -EXPORT:\\\\\\\1/' < $export_symbols > $output_objdir/$soname.exp;
9433           fi~
9434           $CC -o $tool_output_objdir$soname $libobjs $compiler_flags $deplibs "@$tool_output_objdir$soname.exp" -Wl,-DLL,-IMPLIB:"$tool_output_objdir$libname.dll.lib"~
9435           linknames='
9436         # The linker will not automatically build a static lib if we build a DLL.
9437         # _LT_TAGVAR(old_archive_from_new_cmds, )='true'
9438         enable_shared_with_static_runtimes=yes
9439         exclude_expsyms='_NULL_IMPORT_DESCRIPTOR|_IMPORT_DESCRIPTOR_.*'
9440         export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS][ ]/s/.*[ ]\([^ ]*\)/\1,DATA/'\'' | $SED -e '\''/^[AITW][ ]/s/.*[ ]//'\'' | sort | uniq > $export_symbols'
9441         # Don't use ranlib
9442         old_postinstall_cmds='chmod 644 $oldlib'
9443         postlink_cmds='lt_outputfile="@OUTPUT@"~
9444           lt_tool_outputfile="@TOOL_OUTPUT@"~
9445           case $lt_outputfile in
9446             *.exe|*.EXE) ;;
9447             *)
9448               lt_outputfile="$lt_outputfile.exe"
9449               lt_tool_outputfile="$lt_tool_outputfile.exe"
9450               ;;
9451           esac~
9452           if test "$MANIFEST_TOOL" != ":" && test -f "$lt_outputfile.manifest"; then
9453             $MANIFEST_TOOL -manifest "$lt_tool_outputfile.manifest" -outputresource:"$lt_tool_outputfile" || exit 1;
9454             $RM "$lt_outputfile.manifest";
9455           fi'
9456         ;;
9457       *)
9458         # Assume MSVC wrapper
9459         hardcode_libdir_flag_spec=' '
9460         allow_undefined_flag=unsupported
9461         # Tell ltmain to make .lib files, not .a files.
9462         libext=lib
9463         # Tell ltmain to make .dll files, not .so files.
9464         shrext_cmds=".dll"
9465         # FIXME: Setting linknames here is a bad hack.
9466         archive_cmds='$CC -o $lib $libobjs $compiler_flags `func_echo_all "$deplibs" | $SED '\''s/ -lc$//'\''` -link -dll~linknames='
9467         # The linker will automatically build a .lib file if we build a DLL.
9468         old_archive_from_new_cmds='true'
9469         # FIXME: Should let the user specify the lib program.
9470         old_archive_cmds='lib -OUT:$oldlib$oldobjs$old_deplibs'
9471         enable_shared_with_static_runtimes=yes
9472         ;;
9473       esac
9474       ;;
9475
9476     darwin* | rhapsody*)
9477
9478
9479   archive_cmds_need_lc=no
9480   hardcode_direct=no
9481   hardcode_automatic=yes
9482   hardcode_shlibpath_var=unsupported
9483   if test "$lt_cv_ld_force_load" = "yes"; then
9484     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\"`'
9485
9486   else
9487     whole_archive_flag_spec=''
9488   fi
9489   link_all_deplibs=yes
9490   allow_undefined_flag="$_lt_dar_allow_undefined"
9491   case $cc_basename in
9492      ifort*) _lt_dar_can_shared=yes ;;
9493      *) _lt_dar_can_shared=$GCC ;;
9494   esac
9495   if test "$_lt_dar_can_shared" = "yes"; then
9496     output_verbose_link_cmd=func_echo_all
9497     archive_cmds="\$CC -dynamiclib \$allow_undefined_flag -o \$lib \$libobjs \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring $_lt_dar_single_mod${_lt_dsymutil}"
9498     module_cmds="\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags${_lt_dsymutil}"
9499     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}"
9500     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}"
9501
9502   else
9503   ld_shlibs=no
9504   fi
9505
9506       ;;
9507
9508     dgux*)
9509       archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
9510       hardcode_libdir_flag_spec='-L$libdir'
9511       hardcode_shlibpath_var=no
9512       ;;
9513
9514     # FreeBSD 2.2.[012] allows us to include c++rt0.o to get C++ constructor
9515     # support.  Future versions do this automatically, but an explicit c++rt0.o
9516     # does not break anything, and helps significantly (at the cost of a little
9517     # extra space).
9518     freebsd2.2*)
9519       archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags /usr/lib/c++rt0.o'
9520       hardcode_libdir_flag_spec='-R$libdir'
9521       hardcode_direct=yes
9522       hardcode_shlibpath_var=no
9523       ;;
9524
9525     # Unfortunately, older versions of FreeBSD 2 do not have this feature.
9526     freebsd2.*)
9527       archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
9528       hardcode_direct=yes
9529       hardcode_minus_L=yes
9530       hardcode_shlibpath_var=no
9531       ;;
9532
9533     # FreeBSD 3 and greater uses gcc -shared to do shared libraries.
9534     freebsd* | dragonfly*)
9535       archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
9536       hardcode_libdir_flag_spec='-R$libdir'
9537       hardcode_direct=yes
9538       hardcode_shlibpath_var=no
9539       ;;
9540
9541     hpux9*)
9542       if test "$GCC" = yes; then
9543         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'
9544       else
9545         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'
9546       fi
9547       hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
9548       hardcode_libdir_separator=:
9549       hardcode_direct=yes
9550
9551       # hardcode_minus_L: Not really in the search PATH,
9552       # but as the default location of the library.
9553       hardcode_minus_L=yes
9554       export_dynamic_flag_spec='${wl}-E'
9555       ;;
9556
9557     hpux10*)
9558       if test "$GCC" = yes && test "$with_gnu_ld" = no; then
9559         archive_cmds='$CC -shared $pic_flag ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
9560       else
9561         archive_cmds='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
9562       fi
9563       if test "$with_gnu_ld" = no; then
9564         hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
9565         hardcode_libdir_separator=:
9566         hardcode_direct=yes
9567         hardcode_direct_absolute=yes
9568         export_dynamic_flag_spec='${wl}-E'
9569         # hardcode_minus_L: Not really in the search PATH,
9570         # but as the default location of the library.
9571         hardcode_minus_L=yes
9572       fi
9573       ;;
9574
9575     hpux11*)
9576       if test "$GCC" = yes && test "$with_gnu_ld" = no; then
9577         case $host_cpu in
9578         hppa*64*)
9579           archive_cmds='$CC -shared ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
9580           ;;
9581         ia64*)
9582           archive_cmds='$CC -shared $pic_flag ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
9583           ;;
9584         *)
9585           archive_cmds='$CC -shared $pic_flag ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
9586           ;;
9587         esac
9588       else
9589         case $host_cpu in
9590         hppa*64*)
9591           archive_cmds='$CC -b ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
9592           ;;
9593         ia64*)
9594           archive_cmds='$CC -b ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
9595           ;;
9596         *)
9597
9598           # Older versions of the 11.00 compiler do not understand -b yet
9599           # (HP92453-01 A.11.01.20 doesn't, HP92453-01 B.11.X.35175-35176.GP does)
9600           { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC understands -b" >&5
9601 $as_echo_n "checking if $CC understands -b... " >&6; }
9602 if ${lt_cv_prog_compiler__b+:} false; then :
9603   $as_echo_n "(cached) " >&6
9604 else
9605   lt_cv_prog_compiler__b=no
9606    save_LDFLAGS="$LDFLAGS"
9607    LDFLAGS="$LDFLAGS -b"
9608    echo "$lt_simple_link_test_code" > conftest.$ac_ext
9609    if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
9610      # The linker can only warn and ignore the option if not recognized
9611      # So say no if there are warnings
9612      if test -s conftest.err; then
9613        # Append any errors to the config.log.
9614        cat conftest.err 1>&5
9615        $ECHO "$_lt_linker_boilerplate" | $SED '/^$/d' > conftest.exp
9616        $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
9617        if diff conftest.exp conftest.er2 >/dev/null; then
9618          lt_cv_prog_compiler__b=yes
9619        fi
9620      else
9621        lt_cv_prog_compiler__b=yes
9622      fi
9623    fi
9624    $RM -r conftest*
9625    LDFLAGS="$save_LDFLAGS"
9626
9627 fi
9628 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler__b" >&5
9629 $as_echo "$lt_cv_prog_compiler__b" >&6; }
9630
9631 if test x"$lt_cv_prog_compiler__b" = xyes; then
9632     archive_cmds='$CC -b ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
9633 else
9634     archive_cmds='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
9635 fi
9636
9637           ;;
9638         esac
9639       fi
9640       if test "$with_gnu_ld" = no; then
9641         hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
9642         hardcode_libdir_separator=:
9643
9644         case $host_cpu in
9645         hppa*64*|ia64*)
9646           hardcode_direct=no
9647           hardcode_shlibpath_var=no
9648           ;;
9649         *)
9650           hardcode_direct=yes
9651           hardcode_direct_absolute=yes
9652           export_dynamic_flag_spec='${wl}-E'
9653
9654           # hardcode_minus_L: Not really in the search PATH,
9655           # but as the default location of the library.
9656           hardcode_minus_L=yes
9657           ;;
9658         esac
9659       fi
9660       ;;
9661
9662     irix5* | irix6* | nonstopux*)
9663       if test "$GCC" = yes; then
9664         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'
9665         # Try to use the -exported_symbol ld option, if it does not
9666         # work, assume that -exports_file does not work either and
9667         # implicitly export all symbols.
9668         # This should be the same for all languages, so no per-tag cache variable.
9669         { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $host_os linker accepts -exported_symbol" >&5
9670 $as_echo_n "checking whether the $host_os linker accepts -exported_symbol... " >&6; }
9671 if ${lt_cv_irix_exported_symbol+:} false; then :
9672   $as_echo_n "(cached) " >&6
9673 else
9674   save_LDFLAGS="$LDFLAGS"
9675            LDFLAGS="$LDFLAGS -shared ${wl}-exported_symbol ${wl}foo ${wl}-update_registry ${wl}/dev/null"
9676            cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9677 /* end confdefs.h.  */
9678 int foo (void) { return 0; }
9679 _ACEOF
9680 if ac_fn_c_try_link "$LINENO"; then :
9681   lt_cv_irix_exported_symbol=yes
9682 else
9683   lt_cv_irix_exported_symbol=no
9684 fi
9685 rm -f core conftest.err conftest.$ac_objext \
9686     conftest$ac_exeext conftest.$ac_ext
9687            LDFLAGS="$save_LDFLAGS"
9688 fi
9689 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_irix_exported_symbol" >&5
9690 $as_echo "$lt_cv_irix_exported_symbol" >&6; }
9691         if test "$lt_cv_irix_exported_symbol" = yes; then
9692           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'
9693         fi
9694       else
9695         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'
9696         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'
9697       fi
9698       archive_cmds_need_lc='no'
9699       hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
9700       hardcode_libdir_separator=:
9701       inherit_rpath=yes
9702       link_all_deplibs=yes
9703       ;;
9704
9705     netbsd* | netbsdelf*-gnu)
9706       if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
9707         archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'  # a.out
9708       else
9709         archive_cmds='$LD -shared -o $lib $libobjs $deplibs $linker_flags'      # ELF
9710       fi
9711       hardcode_libdir_flag_spec='-R$libdir'
9712       hardcode_direct=yes
9713       hardcode_shlibpath_var=no
9714       ;;
9715
9716     newsos6)
9717       archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
9718       hardcode_direct=yes
9719       hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
9720       hardcode_libdir_separator=:
9721       hardcode_shlibpath_var=no
9722       ;;
9723
9724     *nto* | *qnx*)
9725       ;;
9726
9727     openbsd*)
9728       if test -f /usr/libexec/ld.so; then
9729         hardcode_direct=yes
9730         hardcode_shlibpath_var=no
9731         hardcode_direct_absolute=yes
9732         if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
9733           archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
9734           archive_expsym_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-retain-symbols-file,$export_symbols'
9735           hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
9736           export_dynamic_flag_spec='${wl}-E'
9737         else
9738           case $host_os in
9739            openbsd[01].* | openbsd2.[0-7] | openbsd2.[0-7].*)
9740              archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
9741              hardcode_libdir_flag_spec='-R$libdir'
9742              ;;
9743            *)
9744              archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
9745              hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
9746              ;;
9747           esac
9748         fi
9749       else
9750         ld_shlibs=no
9751       fi
9752       ;;
9753
9754     os2*)
9755       hardcode_libdir_flag_spec='-L$libdir'
9756       hardcode_minus_L=yes
9757       allow_undefined_flag=unsupported
9758       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'
9759       old_archive_from_new_cmds='emximp -o $output_objdir/$libname.a $output_objdir/$libname.def'
9760       ;;
9761
9762     osf3*)
9763       if test "$GCC" = yes; then
9764         allow_undefined_flag=' ${wl}-expect_unresolved ${wl}\*'
9765         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'
9766       else
9767         allow_undefined_flag=' -expect_unresolved \*'
9768         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'
9769       fi
9770       archive_cmds_need_lc='no'
9771       hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
9772       hardcode_libdir_separator=:
9773       ;;
9774
9775     osf4* | osf5*)      # as osf3* with the addition of -msym flag
9776       if test "$GCC" = yes; then
9777         allow_undefined_flag=' ${wl}-expect_unresolved ${wl}\*'
9778         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'
9779         hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
9780       else
9781         allow_undefined_flag=' -expect_unresolved \*'
9782         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'
9783         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~
9784         $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'
9785
9786         # Both c and cxx compiler support -rpath directly
9787         hardcode_libdir_flag_spec='-rpath $libdir'
9788       fi
9789       archive_cmds_need_lc='no'
9790       hardcode_libdir_separator=:
9791       ;;
9792
9793     solaris*)
9794       no_undefined_flag=' -z defs'
9795       if test "$GCC" = yes; then
9796         wlarc='${wl}'
9797         archive_cmds='$CC -shared $pic_flag ${wl}-z ${wl}text ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
9798         archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
9799           $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'
9800       else
9801         case `$CC -V 2>&1` in
9802         *"Compilers 5.0"*)
9803           wlarc=''
9804           archive_cmds='$LD -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $linker_flags'
9805           archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
9806           $LD -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$RM $lib.exp'
9807           ;;
9808         *)
9809           wlarc='${wl}'
9810           archive_cmds='$CC -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $compiler_flags'
9811           archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
9812           $CC -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $compiler_flags~$RM $lib.exp'
9813           ;;
9814         esac
9815       fi
9816       hardcode_libdir_flag_spec='-R$libdir'
9817       hardcode_shlibpath_var=no
9818       case $host_os in
9819       solaris2.[0-5] | solaris2.[0-5].*) ;;
9820       *)
9821         # The compiler driver will combine and reorder linker options,
9822         # but understands `-z linker_flag'.  GCC discards it without `$wl',
9823         # but is careful enough not to reorder.
9824         # Supported since Solaris 2.6 (maybe 2.5.1?)
9825         if test "$GCC" = yes; then
9826           whole_archive_flag_spec='${wl}-z ${wl}allextract$convenience ${wl}-z ${wl}defaultextract'
9827         else
9828           whole_archive_flag_spec='-z allextract$convenience -z defaultextract'
9829         fi
9830         ;;
9831       esac
9832       link_all_deplibs=yes
9833       ;;
9834
9835     sunos4*)
9836       if test "x$host_vendor" = xsequent; then
9837         # Use $CC to link under sequent, because it throws in some extra .o
9838         # files that make .init and .fini sections work.
9839         archive_cmds='$CC -G ${wl}-h $soname -o $lib $libobjs $deplibs $compiler_flags'
9840       else
9841         archive_cmds='$LD -assert pure-text -Bstatic -o $lib $libobjs $deplibs $linker_flags'
9842       fi
9843       hardcode_libdir_flag_spec='-L$libdir'
9844       hardcode_direct=yes
9845       hardcode_minus_L=yes
9846       hardcode_shlibpath_var=no
9847       ;;
9848
9849     sysv4)
9850       case $host_vendor in
9851         sni)
9852           archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
9853           hardcode_direct=yes # is this really true???
9854         ;;
9855         siemens)
9856           ## LD is ld it makes a PLAMLIB
9857           ## CC just makes a GrossModule.
9858           archive_cmds='$LD -G -o $lib $libobjs $deplibs $linker_flags'
9859           reload_cmds='$CC -r -o $output$reload_objs'
9860           hardcode_direct=no
9861         ;;
9862         motorola)
9863           archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
9864           hardcode_direct=no #Motorola manual says yes, but my tests say they lie
9865         ;;
9866       esac
9867       runpath_var='LD_RUN_PATH'
9868       hardcode_shlibpath_var=no
9869       ;;
9870
9871     sysv4.3*)
9872       archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
9873       hardcode_shlibpath_var=no
9874       export_dynamic_flag_spec='-Bexport'
9875       ;;
9876
9877     sysv4*MP*)
9878       if test -d /usr/nec; then
9879         archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
9880         hardcode_shlibpath_var=no
9881         runpath_var=LD_RUN_PATH
9882         hardcode_runpath_var=yes
9883         ld_shlibs=yes
9884       fi
9885       ;;
9886
9887     sysv4*uw2* | sysv5OpenUNIX* | sysv5UnixWare7.[01].[10]* | unixware7* | sco3.2v5.0.[024]*)
9888       no_undefined_flag='${wl}-z,text'
9889       archive_cmds_need_lc=no
9890       hardcode_shlibpath_var=no
9891       runpath_var='LD_RUN_PATH'
9892
9893       if test "$GCC" = yes; then
9894         archive_cmds='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
9895         archive_expsym_cmds='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
9896       else
9897         archive_cmds='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
9898         archive_expsym_cmds='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
9899       fi
9900       ;;
9901
9902     sysv5* | sco3.2v5* | sco5v6*)
9903       # Note: We can NOT use -z defs as we might desire, because we do not
9904       # link with -lc, and that would cause any symbols used from libc to
9905       # always be unresolved, which means just about no library would
9906       # ever link correctly.  If we're not using GNU ld we use -z text
9907       # though, which does catch some bad symbols but isn't as heavy-handed
9908       # as -z defs.
9909       no_undefined_flag='${wl}-z,text'
9910       allow_undefined_flag='${wl}-z,nodefs'
9911       archive_cmds_need_lc=no
9912       hardcode_shlibpath_var=no
9913       hardcode_libdir_flag_spec='${wl}-R,$libdir'
9914       hardcode_libdir_separator=':'
9915       link_all_deplibs=yes
9916       export_dynamic_flag_spec='${wl}-Bexport'
9917       runpath_var='LD_RUN_PATH'
9918
9919       if test "$GCC" = yes; then
9920         archive_cmds='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
9921         archive_expsym_cmds='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
9922       else
9923         archive_cmds='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
9924         archive_expsym_cmds='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
9925       fi
9926       ;;
9927
9928     uts4*)
9929       archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
9930       hardcode_libdir_flag_spec='-L$libdir'
9931       hardcode_shlibpath_var=no
9932       ;;
9933
9934     *)
9935       ld_shlibs=no
9936       ;;
9937     esac
9938
9939     if test x$host_vendor = xsni; then
9940       case $host in
9941       sysv4 | sysv4.2uw2* | sysv4.3* | sysv5*)
9942         export_dynamic_flag_spec='${wl}-Blargedynsym'
9943         ;;
9944       esac
9945     fi
9946   fi
9947
9948 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ld_shlibs" >&5
9949 $as_echo "$ld_shlibs" >&6; }
9950 test "$ld_shlibs" = no && can_build_shared=no
9951
9952 with_gnu_ld=$with_gnu_ld
9953
9954
9955
9956
9957
9958
9959
9960
9961
9962
9963
9964
9965
9966
9967
9968 #
9969 # Do we need to explicitly link libc?
9970 #
9971 case "x$archive_cmds_need_lc" in
9972 x|xyes)
9973   # Assume -lc should be added
9974   archive_cmds_need_lc=yes
9975
9976   if test "$enable_shared" = yes && test "$GCC" = yes; then
9977     case $archive_cmds in
9978     *'~'*)
9979       # FIXME: we may have to deal with multi-command sequences.
9980       ;;
9981     '$CC '*)
9982       # Test whether the compiler implicitly links with -lc since on some
9983       # systems, -lgcc has to come before -lc. If gcc already passes -lc
9984       # to ld, don't add -lc before -lgcc.
9985       { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether -lc should be explicitly linked in" >&5
9986 $as_echo_n "checking whether -lc should be explicitly linked in... " >&6; }
9987 if ${lt_cv_archive_cmds_need_lc+:} false; then :
9988   $as_echo_n "(cached) " >&6
9989 else
9990   $RM conftest*
9991         echo "$lt_simple_compile_test_code" > conftest.$ac_ext
9992
9993         if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
9994   (eval $ac_compile) 2>&5
9995   ac_status=$?
9996   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
9997   test $ac_status = 0; } 2>conftest.err; then
9998           soname=conftest
9999           lib=conftest
10000           libobjs=conftest.$ac_objext
10001           deplibs=
10002           wl=$lt_prog_compiler_wl
10003           pic_flag=$lt_prog_compiler_pic
10004           compiler_flags=-v
10005           linker_flags=-v
10006           verstring=
10007           output_objdir=.
10008           libname=conftest
10009           lt_save_allow_undefined_flag=$allow_undefined_flag
10010           allow_undefined_flag=
10011           if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$archive_cmds 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1\""; } >&5
10012   (eval $archive_cmds 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1) 2>&5
10013   ac_status=$?
10014   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
10015   test $ac_status = 0; }
10016           then
10017             lt_cv_archive_cmds_need_lc=no
10018           else
10019             lt_cv_archive_cmds_need_lc=yes
10020           fi
10021           allow_undefined_flag=$lt_save_allow_undefined_flag
10022         else
10023           cat conftest.err 1>&5
10024         fi
10025         $RM conftest*
10026
10027 fi
10028 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_archive_cmds_need_lc" >&5
10029 $as_echo "$lt_cv_archive_cmds_need_lc" >&6; }
10030       archive_cmds_need_lc=$lt_cv_archive_cmds_need_lc
10031       ;;
10032     esac
10033   fi
10034   ;;
10035 esac
10036
10037
10038
10039
10040
10041
10042
10043
10044
10045
10046
10047
10048
10049
10050
10051
10052
10053
10054
10055
10056
10057
10058
10059
10060
10061
10062
10063
10064
10065
10066
10067
10068
10069
10070
10071
10072
10073
10074
10075
10076
10077
10078
10079
10080
10081
10082
10083
10084
10085
10086
10087
10088
10089
10090
10091
10092
10093
10094
10095
10096
10097
10098
10099
10100
10101
10102
10103
10104
10105
10106
10107
10108
10109
10110
10111
10112
10113
10114
10115
10116
10117
10118
10119
10120
10121
10122
10123
10124
10125
10126
10127
10128
10129
10130
10131
10132
10133
10134
10135
10136
10137
10138
10139
10140
10141
10142
10143
10144
10145
10146
10147
10148
10149
10150
10151
10152
10153
10154
10155
10156
10157
10158
10159
10160
10161
10162
10163
10164
10165
10166
10167
10168
10169
10170
10171
10172
10173
10174
10175
10176
10177
10178
10179
10180
10181
10182
10183
10184
10185
10186
10187
10188   { $as_echo "$as_me:${as_lineno-$LINENO}: checking dynamic linker characteristics" >&5
10189 $as_echo_n "checking dynamic linker characteristics... " >&6; }
10190
10191 if test "$GCC" = yes; then
10192   case $host_os in
10193     darwin*) lt_awk_arg="/^libraries:/,/LR/" ;;
10194     *) lt_awk_arg="/^libraries:/" ;;
10195   esac
10196   case $host_os in
10197     mingw* | cegcc*) lt_sed_strip_eq="s,=\([A-Za-z]:\),\1,g" ;;
10198     *) lt_sed_strip_eq="s,=/,/,g" ;;
10199   esac
10200   lt_search_path_spec=`$CC -print-search-dirs | awk $lt_awk_arg | $SED -e "s/^libraries://" -e $lt_sed_strip_eq`
10201   case $lt_search_path_spec in
10202   *\;*)
10203     # if the path contains ";" then we assume it to be the separator
10204     # otherwise default to the standard path separator (i.e. ":") - it is
10205     # assumed that no part of a normal pathname contains ";" but that should
10206     # okay in the real world where ";" in dirpaths is itself problematic.
10207     lt_search_path_spec=`$ECHO "$lt_search_path_spec" | $SED 's/;/ /g'`
10208     ;;
10209   *)
10210     lt_search_path_spec=`$ECHO "$lt_search_path_spec" | $SED "s/$PATH_SEPARATOR/ /g"`
10211     ;;
10212   esac
10213   # Ok, now we have the path, separated by spaces, we can step through it
10214   # and add multilib dir if necessary.
10215   lt_tmp_lt_search_path_spec=
10216   lt_multi_os_dir=`$CC $CPPFLAGS $CFLAGS $LDFLAGS -print-multi-os-directory 2>/dev/null`
10217   for lt_sys_path in $lt_search_path_spec; do
10218     if test -d "$lt_sys_path/$lt_multi_os_dir"; then
10219       lt_tmp_lt_search_path_spec="$lt_tmp_lt_search_path_spec $lt_sys_path/$lt_multi_os_dir"
10220     else
10221       test -d "$lt_sys_path" && \
10222         lt_tmp_lt_search_path_spec="$lt_tmp_lt_search_path_spec $lt_sys_path"
10223     fi
10224   done
10225   lt_search_path_spec=`$ECHO "$lt_tmp_lt_search_path_spec" | awk '
10226 BEGIN {RS=" "; FS="/|\n";} {
10227   lt_foo="";
10228   lt_count=0;
10229   for (lt_i = NF; lt_i > 0; lt_i--) {
10230     if ($lt_i != "" && $lt_i != ".") {
10231       if ($lt_i == "..") {
10232         lt_count++;
10233       } else {
10234         if (lt_count == 0) {
10235           lt_foo="/" $lt_i lt_foo;
10236         } else {
10237           lt_count--;
10238         }
10239       }
10240     }
10241   }
10242   if (lt_foo != "") { lt_freq[lt_foo]++; }
10243   if (lt_freq[lt_foo] == 1) { print lt_foo; }
10244 }'`
10245   # AWK program above erroneously prepends '/' to C:/dos/paths
10246   # for these hosts.
10247   case $host_os in
10248     mingw* | cegcc*) lt_search_path_spec=`$ECHO "$lt_search_path_spec" |\
10249       $SED 's,/\([A-Za-z]:\),\1,g'` ;;
10250   esac
10251   sys_lib_search_path_spec=`$ECHO "$lt_search_path_spec" | $lt_NL2SP`
10252 else
10253   sys_lib_search_path_spec="/lib /usr/lib /usr/local/lib"
10254 fi
10255 library_names_spec=
10256 libname_spec='lib$name'
10257 soname_spec=
10258 shrext_cmds=".so"
10259 postinstall_cmds=
10260 postuninstall_cmds=
10261 finish_cmds=
10262 finish_eval=
10263 shlibpath_var=
10264 shlibpath_overrides_runpath=unknown
10265 version_type=none
10266 dynamic_linker="$host_os ld.so"
10267 sys_lib_dlsearch_path_spec="/lib /usr/lib"
10268 need_lib_prefix=unknown
10269 hardcode_into_libs=no
10270
10271 # when you set need_version to no, make sure it does not cause -set_version
10272 # flags to be left without arguments
10273 need_version=unknown
10274
10275 case $host_os in
10276 aix3*)
10277   version_type=linux # correct to gnu/linux during the next big refactor
10278   library_names_spec='${libname}${release}${shared_ext}$versuffix $libname.a'
10279   shlibpath_var=LIBPATH
10280
10281   # AIX 3 has no versioning support, so we append a major version to the name.
10282   soname_spec='${libname}${release}${shared_ext}$major'
10283   ;;
10284
10285 aix[4-9]*)
10286   version_type=linux # correct to gnu/linux during the next big refactor
10287   need_lib_prefix=no
10288   need_version=no
10289   hardcode_into_libs=yes
10290   if test "$host_cpu" = ia64; then
10291     # AIX 5 supports IA64
10292     library_names_spec='${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext}$versuffix $libname${shared_ext}'
10293     shlibpath_var=LD_LIBRARY_PATH
10294   else
10295     # With GCC up to 2.95.x, collect2 would create an import file
10296     # for dependence libraries.  The import file would start with
10297     # the line `#! .'.  This would cause the generated library to
10298     # depend on `.', always an invalid library.  This was fixed in
10299     # development snapshots of GCC prior to 3.0.
10300     case $host_os in
10301       aix4 | aix4.[01] | aix4.[01].*)
10302       if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
10303            echo ' yes '
10304            echo '#endif'; } | ${CC} -E - | $GREP yes > /dev/null; then
10305         :
10306       else
10307         can_build_shared=no
10308       fi
10309       ;;
10310     esac
10311     # AIX (on Power*) has no versioning support, so currently we can not hardcode correct
10312     # soname into executable. Probably we can add versioning support to
10313     # collect2, so additional links can be useful in future.
10314     if test "$aix_use_runtimelinking" = yes; then
10315       # If using run time linking (on AIX 4.2 or later) use lib<name>.so
10316       # instead of lib<name>.a to let people know that these are not
10317       # typical AIX shared libraries.
10318       library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10319     else
10320       # We preserve .a as extension for shared libraries through AIX4.2
10321       # and later when we are not doing run time linking.
10322       library_names_spec='${libname}${release}.a $libname.a'
10323       soname_spec='${libname}${release}${shared_ext}$major'
10324     fi
10325     shlibpath_var=LIBPATH
10326   fi
10327   ;;
10328
10329 amigaos*)
10330   case $host_cpu in
10331   powerpc)
10332     # Since July 2007 AmigaOS4 officially supports .so libraries.
10333     # When compiling the executable, add -use-dynld -Lsobjs: to the compileline.
10334     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10335     ;;
10336   m68k)
10337     library_names_spec='$libname.ixlibrary $libname.a'
10338     # Create ${libname}_ixlibrary.a entries in /sys/libs.
10339     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'
10340     ;;
10341   esac
10342   ;;
10343
10344 beos*)
10345   library_names_spec='${libname}${shared_ext}'
10346   dynamic_linker="$host_os ld.so"
10347   shlibpath_var=LIBRARY_PATH
10348   ;;
10349
10350 bsdi[45]*)
10351   version_type=linux # correct to gnu/linux during the next big refactor
10352   need_version=no
10353   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10354   soname_spec='${libname}${release}${shared_ext}$major'
10355   finish_cmds='PATH="\$PATH:/sbin" ldconfig $libdir'
10356   shlibpath_var=LD_LIBRARY_PATH
10357   sys_lib_search_path_spec="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
10358   sys_lib_dlsearch_path_spec="/shlib /usr/lib /usr/local/lib"
10359   # the default ld.so.conf also contains /usr/contrib/lib and
10360   # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
10361   # libtool to hard-code these into programs
10362   ;;
10363
10364 cygwin* | mingw* | pw32* | cegcc*)
10365   version_type=windows
10366   shrext_cmds=".dll"
10367   need_version=no
10368   need_lib_prefix=no
10369
10370   case $GCC,$cc_basename in
10371   yes,*)
10372     # gcc
10373     library_names_spec='$libname.dll.a'
10374     # DLL is installed to $(libdir)/../bin by postinstall_cmds
10375     postinstall_cmds='base_file=`basename \${file}`~
10376       dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i; echo \$dlname'\''`~
10377       dldir=$destdir/`dirname \$dlpath`~
10378       test -d \$dldir || mkdir -p \$dldir~
10379       $install_prog $dir/$dlname \$dldir/$dlname~
10380       chmod a+x \$dldir/$dlname~
10381       if test -n '\''$stripme'\'' && test -n '\''$striplib'\''; then
10382         eval '\''$striplib \$dldir/$dlname'\'' || exit \$?;
10383       fi'
10384     postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
10385       dlpath=$dir/\$dldll~
10386        $RM \$dlpath'
10387     shlibpath_overrides_runpath=yes
10388
10389     case $host_os in
10390     cygwin*)
10391       # Cygwin DLLs use 'cyg' prefix rather than 'lib'
10392       soname_spec='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
10393
10394       sys_lib_search_path_spec="$sys_lib_search_path_spec /usr/lib/w32api"
10395       ;;
10396     mingw* | cegcc*)
10397       # MinGW DLLs use traditional 'lib' prefix
10398       soname_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
10399       ;;
10400     pw32*)
10401       # pw32 DLLs use 'pw' prefix rather than 'lib'
10402       library_names_spec='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
10403       ;;
10404     esac
10405     dynamic_linker='Win32 ld.exe'
10406     ;;
10407
10408   *,cl*)
10409     # Native MSVC
10410     libname_spec='$name'
10411     soname_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
10412     library_names_spec='${libname}.dll.lib'
10413
10414     case $build_os in
10415     mingw*)
10416       sys_lib_search_path_spec=
10417       lt_save_ifs=$IFS
10418       IFS=';'
10419       for lt_path in $LIB
10420       do
10421         IFS=$lt_save_ifs
10422         # Let DOS variable expansion print the short 8.3 style file name.
10423         lt_path=`cd "$lt_path" 2>/dev/null && cmd //C "for %i in (".") do @echo %~si"`
10424         sys_lib_search_path_spec="$sys_lib_search_path_spec $lt_path"
10425       done
10426       IFS=$lt_save_ifs
10427       # Convert to MSYS style.
10428       sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | sed -e 's|\\\\|/|g' -e 's| \\([a-zA-Z]\\):| /\\1|g' -e 's|^ ||'`
10429       ;;
10430     cygwin*)
10431       # Convert to unix form, then to dos form, then back to unix form
10432       # but this time dos style (no spaces!) so that the unix form looks
10433       # like /cygdrive/c/PROGRA~1:/cygdr...
10434       sys_lib_search_path_spec=`cygpath --path --unix "$LIB"`
10435       sys_lib_search_path_spec=`cygpath --path --dos "$sys_lib_search_path_spec" 2>/dev/null`
10436       sys_lib_search_path_spec=`cygpath --path --unix "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
10437       ;;
10438     *)
10439       sys_lib_search_path_spec="$LIB"
10440       if $ECHO "$sys_lib_search_path_spec" | $GREP ';[c-zC-Z]:/' >/dev/null; then
10441         # It is most probably a Windows format PATH.
10442         sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
10443       else
10444         sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
10445       fi
10446       # FIXME: find the short name or the path components, as spaces are
10447       # common. (e.g. "Program Files" -> "PROGRA~1")
10448       ;;
10449     esac
10450
10451     # DLL is installed to $(libdir)/../bin by postinstall_cmds
10452     postinstall_cmds='base_file=`basename \${file}`~
10453       dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i; echo \$dlname'\''`~
10454       dldir=$destdir/`dirname \$dlpath`~
10455       test -d \$dldir || mkdir -p \$dldir~
10456       $install_prog $dir/$dlname \$dldir/$dlname'
10457     postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
10458       dlpath=$dir/\$dldll~
10459        $RM \$dlpath'
10460     shlibpath_overrides_runpath=yes
10461     dynamic_linker='Win32 link.exe'
10462     ;;
10463
10464   *)
10465     # Assume MSVC wrapper
10466     library_names_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext} $libname.lib'
10467     dynamic_linker='Win32 ld.exe'
10468     ;;
10469   esac
10470   # FIXME: first we should search . and the directory the executable is in
10471   shlibpath_var=PATH
10472   ;;
10473
10474 darwin* | rhapsody*)
10475   dynamic_linker="$host_os dyld"
10476   version_type=darwin
10477   need_lib_prefix=no
10478   need_version=no
10479   library_names_spec='${libname}${release}${major}$shared_ext ${libname}$shared_ext'
10480   soname_spec='${libname}${release}${major}$shared_ext'
10481   shlibpath_overrides_runpath=yes
10482   shlibpath_var=DYLD_LIBRARY_PATH
10483   shrext_cmds='`test .$module = .yes && echo .so || echo .dylib`'
10484
10485   sys_lib_search_path_spec="$sys_lib_search_path_spec /usr/local/lib"
10486   sys_lib_dlsearch_path_spec='/usr/local/lib /lib /usr/lib'
10487   ;;
10488
10489 dgux*)
10490   version_type=linux # correct to gnu/linux during the next big refactor
10491   need_lib_prefix=no
10492   need_version=no
10493   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname$shared_ext'
10494   soname_spec='${libname}${release}${shared_ext}$major'
10495   shlibpath_var=LD_LIBRARY_PATH
10496   ;;
10497
10498 freebsd* | dragonfly*)
10499   # DragonFly does not have aout.  When/if they implement a new
10500   # versioning mechanism, adjust this.
10501   if test -x /usr/bin/objformat; then
10502     objformat=`/usr/bin/objformat`
10503   else
10504     case $host_os in
10505     freebsd[23].*) objformat=aout ;;
10506     *) objformat=elf ;;
10507     esac
10508   fi
10509   version_type=freebsd-$objformat
10510   case $version_type in
10511     freebsd-elf*)
10512       library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
10513       need_version=no
10514       need_lib_prefix=no
10515       ;;
10516     freebsd-*)
10517       library_names_spec='${libname}${release}${shared_ext}$versuffix $libname${shared_ext}$versuffix'
10518       need_version=yes
10519       ;;
10520   esac
10521   shlibpath_var=LD_LIBRARY_PATH
10522   case $host_os in
10523   freebsd2.*)
10524     shlibpath_overrides_runpath=yes
10525     ;;
10526   freebsd3.[01]* | freebsdelf3.[01]*)
10527     shlibpath_overrides_runpath=yes
10528     hardcode_into_libs=yes
10529     ;;
10530   freebsd3.[2-9]* | freebsdelf3.[2-9]* | \
10531   freebsd4.[0-5] | freebsdelf4.[0-5] | freebsd4.1.1 | freebsdelf4.1.1)
10532     shlibpath_overrides_runpath=no
10533     hardcode_into_libs=yes
10534     ;;
10535   *) # from 4.6 on, and DragonFly
10536     shlibpath_overrides_runpath=yes
10537     hardcode_into_libs=yes
10538     ;;
10539   esac
10540   ;;
10541
10542 haiku*)
10543   version_type=linux # correct to gnu/linux during the next big refactor
10544   need_lib_prefix=no
10545   need_version=no
10546   dynamic_linker="$host_os runtime_loader"
10547   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
10548   soname_spec='${libname}${release}${shared_ext}$major'
10549   shlibpath_var=LIBRARY_PATH
10550   shlibpath_overrides_runpath=yes
10551   sys_lib_dlsearch_path_spec='/boot/home/config/lib /boot/common/lib /boot/system/lib'
10552   hardcode_into_libs=yes
10553   ;;
10554
10555 hpux9* | hpux10* | hpux11*)
10556   # Give a soname corresponding to the major version so that dld.sl refuses to
10557   # link against other versions.
10558   version_type=sunos
10559   need_lib_prefix=no
10560   need_version=no
10561   case $host_cpu in
10562   ia64*)
10563     shrext_cmds='.so'
10564     hardcode_into_libs=yes
10565     dynamic_linker="$host_os dld.so"
10566     shlibpath_var=LD_LIBRARY_PATH
10567     shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
10568     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10569     soname_spec='${libname}${release}${shared_ext}$major'
10570     if test "X$HPUX_IA64_MODE" = X32; then
10571       sys_lib_search_path_spec="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
10572     else
10573       sys_lib_search_path_spec="/usr/lib/hpux64 /usr/local/lib/hpux64"
10574     fi
10575     sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
10576     ;;
10577   hppa*64*)
10578     shrext_cmds='.sl'
10579     hardcode_into_libs=yes
10580     dynamic_linker="$host_os dld.sl"
10581     shlibpath_var=LD_LIBRARY_PATH # How should we handle SHLIB_PATH
10582     shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
10583     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10584     soname_spec='${libname}${release}${shared_ext}$major'
10585     sys_lib_search_path_spec="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
10586     sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
10587     ;;
10588   *)
10589     shrext_cmds='.sl'
10590     dynamic_linker="$host_os dld.sl"
10591     shlibpath_var=SHLIB_PATH
10592     shlibpath_overrides_runpath=no # +s is required to enable SHLIB_PATH
10593     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10594     soname_spec='${libname}${release}${shared_ext}$major'
10595     ;;
10596   esac
10597   # HP-UX runs *really* slowly unless shared libraries are mode 555, ...
10598   postinstall_cmds='chmod 555 $lib'
10599   # or fails outright, so override atomically:
10600   install_override_mode=555
10601   ;;
10602
10603 interix[3-9]*)
10604   version_type=linux # correct to gnu/linux during the next big refactor
10605   need_lib_prefix=no
10606   need_version=no
10607   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
10608   soname_spec='${libname}${release}${shared_ext}$major'
10609   dynamic_linker='Interix 3.x ld.so.1 (PE, like ELF)'
10610   shlibpath_var=LD_LIBRARY_PATH
10611   shlibpath_overrides_runpath=no
10612   hardcode_into_libs=yes
10613   ;;
10614
10615 irix5* | irix6* | nonstopux*)
10616   case $host_os in
10617     nonstopux*) version_type=nonstopux ;;
10618     *)
10619         if test "$lt_cv_prog_gnu_ld" = yes; then
10620                 version_type=linux # correct to gnu/linux during the next big refactor
10621         else
10622                 version_type=irix
10623         fi ;;
10624   esac
10625   need_lib_prefix=no
10626   need_version=no
10627   soname_spec='${libname}${release}${shared_ext}$major'
10628   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} $libname${shared_ext}'
10629   case $host_os in
10630   irix5* | nonstopux*)
10631     libsuff= shlibsuff=
10632     ;;
10633   *)
10634     case $LD in # libtool.m4 will add one of these switches to LD
10635     *-32|*"-32 "|*-melf32bsmip|*"-melf32bsmip ")
10636       libsuff= shlibsuff= libmagic=32-bit;;
10637     *-n32|*"-n32 "|*-melf32bmipn32|*"-melf32bmipn32 ")
10638       libsuff=32 shlibsuff=N32 libmagic=N32;;
10639     *-64|*"-64 "|*-melf64bmip|*"-melf64bmip ")
10640       libsuff=64 shlibsuff=64 libmagic=64-bit;;
10641     *) libsuff= shlibsuff= libmagic=never-match;;
10642     esac
10643     ;;
10644   esac
10645   shlibpath_var=LD_LIBRARY${shlibsuff}_PATH
10646   shlibpath_overrides_runpath=no
10647   sys_lib_search_path_spec="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}"
10648   sys_lib_dlsearch_path_spec="/usr/lib${libsuff} /lib${libsuff}"
10649   hardcode_into_libs=yes
10650   ;;
10651
10652 # No shared lib support for Linux oldld, aout, or coff.
10653 linux*oldld* | linux*aout* | linux*coff*)
10654   dynamic_linker=no
10655   ;;
10656
10657 # This must be glibc/ELF.
10658 linux* | k*bsd*-gnu | kopensolaris*-gnu | gnu*)
10659   version_type=linux # correct to gnu/linux during the next big refactor
10660   need_lib_prefix=no
10661   need_version=no
10662   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10663   soname_spec='${libname}${release}${shared_ext}$major'
10664   finish_cmds='PATH="\$PATH:/sbin" ldconfig -n $libdir'
10665   shlibpath_var=LD_LIBRARY_PATH
10666   shlibpath_overrides_runpath=no
10667
10668   # Some binutils ld are patched to set DT_RUNPATH
10669   if ${lt_cv_shlibpath_overrides_runpath+:} false; then :
10670   $as_echo_n "(cached) " >&6
10671 else
10672   lt_cv_shlibpath_overrides_runpath=no
10673     save_LDFLAGS=$LDFLAGS
10674     save_libdir=$libdir
10675     eval "libdir=/foo; wl=\"$lt_prog_compiler_wl\"; \
10676          LDFLAGS=\"\$LDFLAGS $hardcode_libdir_flag_spec\""
10677     cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10678 /* end confdefs.h.  */
10679
10680 int
10681 main ()
10682 {
10683
10684   ;
10685   return 0;
10686 }
10687 _ACEOF
10688 if ac_fn_c_try_link "$LINENO"; then :
10689   if  ($OBJDUMP -p conftest$ac_exeext) 2>/dev/null | grep "RUNPATH.*$libdir" >/dev/null; then :
10690   lt_cv_shlibpath_overrides_runpath=yes
10691 fi
10692 fi
10693 rm -f core conftest.err conftest.$ac_objext \
10694     conftest$ac_exeext conftest.$ac_ext
10695     LDFLAGS=$save_LDFLAGS
10696     libdir=$save_libdir
10697
10698 fi
10699
10700   shlibpath_overrides_runpath=$lt_cv_shlibpath_overrides_runpath
10701
10702   # This implies no fast_install, which is unacceptable.
10703   # Some rework will be needed to allow for fast_install
10704   # before this can be enabled.
10705   hardcode_into_libs=yes
10706
10707   # Append ld.so.conf contents to the search path
10708   if test -f /etc/ld.so.conf; then
10709     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' ' '`
10710     sys_lib_dlsearch_path_spec="/lib /usr/lib $lt_ld_extra"
10711   fi
10712
10713   # We used to test for /lib/ld.so.1 and disable shared libraries on
10714   # powerpc, because MkLinux only supported shared libraries with the
10715   # GNU dynamic linker.  Since this was broken with cross compilers,
10716   # most powerpc-linux boxes support dynamic linking these days and
10717   # people can always --disable-shared, the test was removed, and we
10718   # assume the GNU/Linux dynamic linker is in use.
10719   dynamic_linker='GNU/Linux ld.so'
10720   ;;
10721
10722 netbsdelf*-gnu)
10723   version_type=linux
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   shlibpath_overrides_runpath=no
10730   hardcode_into_libs=yes
10731   dynamic_linker='NetBSD ld.elf_so'
10732   ;;
10733
10734 netbsd*)
10735   version_type=sunos
10736   need_lib_prefix=no
10737   need_version=no
10738   if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
10739     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
10740     finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
10741     dynamic_linker='NetBSD (a.out) ld.so'
10742   else
10743     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
10744     soname_spec='${libname}${release}${shared_ext}$major'
10745     dynamic_linker='NetBSD ld.elf_so'
10746   fi
10747   shlibpath_var=LD_LIBRARY_PATH
10748   shlibpath_overrides_runpath=yes
10749   hardcode_into_libs=yes
10750   ;;
10751
10752 newsos6)
10753   version_type=linux # correct to gnu/linux during the next big refactor
10754   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10755   shlibpath_var=LD_LIBRARY_PATH
10756   shlibpath_overrides_runpath=yes
10757   ;;
10758
10759 *nto* | *qnx*)
10760   version_type=qnx
10761   need_lib_prefix=no
10762   need_version=no
10763   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10764   soname_spec='${libname}${release}${shared_ext}$major'
10765   shlibpath_var=LD_LIBRARY_PATH
10766   shlibpath_overrides_runpath=no
10767   hardcode_into_libs=yes
10768   dynamic_linker='ldqnx.so'
10769   ;;
10770
10771 openbsd*)
10772   version_type=sunos
10773   sys_lib_dlsearch_path_spec="/usr/lib"
10774   need_lib_prefix=no
10775   # Some older versions of OpenBSD (3.3 at least) *do* need versioned libs.
10776   case $host_os in
10777     openbsd3.3 | openbsd3.3.*)  need_version=yes ;;
10778     *)                          need_version=no  ;;
10779   esac
10780   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
10781   finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
10782   shlibpath_var=LD_LIBRARY_PATH
10783   if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
10784     case $host_os in
10785       openbsd2.[89] | openbsd2.[89].*)
10786         shlibpath_overrides_runpath=no
10787         ;;
10788       *)
10789         shlibpath_overrides_runpath=yes
10790         ;;
10791       esac
10792   else
10793     shlibpath_overrides_runpath=yes
10794   fi
10795   ;;
10796
10797 os2*)
10798   libname_spec='$name'
10799   shrext_cmds=".dll"
10800   need_lib_prefix=no
10801   library_names_spec='$libname${shared_ext} $libname.a'
10802   dynamic_linker='OS/2 ld.exe'
10803   shlibpath_var=LIBPATH
10804   ;;
10805
10806 osf3* | osf4* | osf5*)
10807   version_type=osf
10808   need_lib_prefix=no
10809   need_version=no
10810   soname_spec='${libname}${release}${shared_ext}$major'
10811   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10812   shlibpath_var=LD_LIBRARY_PATH
10813   sys_lib_search_path_spec="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
10814   sys_lib_dlsearch_path_spec="$sys_lib_search_path_spec"
10815   ;;
10816
10817 rdos*)
10818   dynamic_linker=no
10819   ;;
10820
10821 solaris*)
10822   version_type=linux # correct to gnu/linux during the next big refactor
10823   need_lib_prefix=no
10824   need_version=no
10825   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10826   soname_spec='${libname}${release}${shared_ext}$major'
10827   shlibpath_var=LD_LIBRARY_PATH
10828   shlibpath_overrides_runpath=yes
10829   hardcode_into_libs=yes
10830   # ldd complains unless libraries are executable
10831   postinstall_cmds='chmod +x $lib'
10832   ;;
10833
10834 sunos4*)
10835   version_type=sunos
10836   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
10837   finish_cmds='PATH="\$PATH:/usr/etc" ldconfig $libdir'
10838   shlibpath_var=LD_LIBRARY_PATH
10839   shlibpath_overrides_runpath=yes
10840   if test "$with_gnu_ld" = yes; then
10841     need_lib_prefix=no
10842   fi
10843   need_version=yes
10844   ;;
10845
10846 sysv4 | sysv4.3*)
10847   version_type=linux # correct to gnu/linux during the next big refactor
10848   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10849   soname_spec='${libname}${release}${shared_ext}$major'
10850   shlibpath_var=LD_LIBRARY_PATH
10851   case $host_vendor in
10852     sni)
10853       shlibpath_overrides_runpath=no
10854       need_lib_prefix=no
10855       runpath_var=LD_RUN_PATH
10856       ;;
10857     siemens)
10858       need_lib_prefix=no
10859       ;;
10860     motorola)
10861       need_lib_prefix=no
10862       need_version=no
10863       shlibpath_overrides_runpath=no
10864       sys_lib_search_path_spec='/lib /usr/lib /usr/ccs/lib'
10865       ;;
10866   esac
10867   ;;
10868
10869 sysv4*MP*)
10870   if test -d /usr/nec ;then
10871     version_type=linux # correct to gnu/linux during the next big refactor
10872     library_names_spec='$libname${shared_ext}.$versuffix $libname${shared_ext}.$major $libname${shared_ext}'
10873     soname_spec='$libname${shared_ext}.$major'
10874     shlibpath_var=LD_LIBRARY_PATH
10875   fi
10876   ;;
10877
10878 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
10879   version_type=freebsd-elf
10880   need_lib_prefix=no
10881   need_version=no
10882   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
10883   soname_spec='${libname}${release}${shared_ext}$major'
10884   shlibpath_var=LD_LIBRARY_PATH
10885   shlibpath_overrides_runpath=yes
10886   hardcode_into_libs=yes
10887   if test "$with_gnu_ld" = yes; then
10888     sys_lib_search_path_spec='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib'
10889   else
10890     sys_lib_search_path_spec='/usr/ccs/lib /usr/lib'
10891     case $host_os in
10892       sco3.2v5*)
10893         sys_lib_search_path_spec="$sys_lib_search_path_spec /lib"
10894         ;;
10895     esac
10896   fi
10897   sys_lib_dlsearch_path_spec='/usr/lib'
10898   ;;
10899
10900 tpf*)
10901   # TPF is a cross-target only.  Preferred cross-host = GNU/Linux.
10902   version_type=linux # correct to gnu/linux during the next big refactor
10903   need_lib_prefix=no
10904   need_version=no
10905   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10906   shlibpath_var=LD_LIBRARY_PATH
10907   shlibpath_overrides_runpath=no
10908   hardcode_into_libs=yes
10909   ;;
10910
10911 uts4*)
10912   version_type=linux # correct to gnu/linux during the next big refactor
10913   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10914   soname_spec='${libname}${release}${shared_ext}$major'
10915   shlibpath_var=LD_LIBRARY_PATH
10916   ;;
10917
10918 *)
10919   dynamic_linker=no
10920   ;;
10921 esac
10922 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $dynamic_linker" >&5
10923 $as_echo "$dynamic_linker" >&6; }
10924 test "$dynamic_linker" = no && can_build_shared=no
10925
10926 variables_saved_for_relink="PATH $shlibpath_var $runpath_var"
10927 if test "$GCC" = yes; then
10928   variables_saved_for_relink="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
10929 fi
10930
10931 if test "${lt_cv_sys_lib_search_path_spec+set}" = set; then
10932   sys_lib_search_path_spec="$lt_cv_sys_lib_search_path_spec"
10933 fi
10934 if test "${lt_cv_sys_lib_dlsearch_path_spec+set}" = set; then
10935   sys_lib_dlsearch_path_spec="$lt_cv_sys_lib_dlsearch_path_spec"
10936 fi
10937
10938
10939
10940
10941
10942
10943
10944
10945
10946
10947
10948
10949
10950
10951
10952
10953
10954
10955
10956
10957
10958
10959
10960
10961
10962
10963
10964
10965
10966
10967
10968
10969
10970
10971
10972
10973
10974
10975
10976
10977
10978
10979
10980
10981
10982
10983
10984
10985
10986
10987
10988
10989
10990
10991
10992
10993
10994
10995
10996
10997
10998
10999
11000
11001
11002
11003
11004
11005
11006
11007
11008
11009
11010
11011
11012
11013
11014
11015
11016
11017
11018
11019
11020
11021
11022
11023
11024
11025
11026
11027
11028
11029   { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to hardcode library paths into programs" >&5
11030 $as_echo_n "checking how to hardcode library paths into programs... " >&6; }
11031 hardcode_action=
11032 if test -n "$hardcode_libdir_flag_spec" ||
11033    test -n "$runpath_var" ||
11034    test "X$hardcode_automatic" = "Xyes" ; then
11035
11036   # We can hardcode non-existent directories.
11037   if test "$hardcode_direct" != no &&
11038      # If the only mechanism to avoid hardcoding is shlibpath_var, we
11039      # have to relink, otherwise we might link with an installed library
11040      # when we should be linking with a yet-to-be-installed one
11041      ## test "$_LT_TAGVAR(hardcode_shlibpath_var, )" != no &&
11042      test "$hardcode_minus_L" != no; then
11043     # Linking always hardcodes the temporary library directory.
11044     hardcode_action=relink
11045   else
11046     # We can link without hardcoding, and we can hardcode nonexisting dirs.
11047     hardcode_action=immediate
11048   fi
11049 else
11050   # We cannot hardcode anything, or else we can only hardcode existing
11051   # directories.
11052   hardcode_action=unsupported
11053 fi
11054 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hardcode_action" >&5
11055 $as_echo "$hardcode_action" >&6; }
11056
11057 if test "$hardcode_action" = relink ||
11058    test "$inherit_rpath" = yes; then
11059   # Fast installation is not supported
11060   enable_fast_install=no
11061 elif test "$shlibpath_overrides_runpath" = yes ||
11062      test "$enable_shared" = no; then
11063   # Fast installation is not necessary
11064   enable_fast_install=needless
11065 fi
11066
11067
11068
11069
11070
11071
11072   if test "x$enable_dlopen" != xyes; then
11073   enable_dlopen=unknown
11074   enable_dlopen_self=unknown
11075   enable_dlopen_self_static=unknown
11076 else
11077   lt_cv_dlopen=no
11078   lt_cv_dlopen_libs=
11079
11080   case $host_os in
11081   beos*)
11082     lt_cv_dlopen="load_add_on"
11083     lt_cv_dlopen_libs=
11084     lt_cv_dlopen_self=yes
11085     ;;
11086
11087   mingw* | pw32* | cegcc*)
11088     lt_cv_dlopen="LoadLibrary"
11089     lt_cv_dlopen_libs=
11090     ;;
11091
11092   cygwin*)
11093     lt_cv_dlopen="dlopen"
11094     lt_cv_dlopen_libs=
11095     ;;
11096
11097   darwin*)
11098   # if libdl is installed we need to link against it
11099     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
11100 $as_echo_n "checking for dlopen in -ldl... " >&6; }
11101 if ${ac_cv_lib_dl_dlopen+:} false; then :
11102   $as_echo_n "(cached) " >&6
11103 else
11104   ac_check_lib_save_LIBS=$LIBS
11105 LIBS="-ldl  $LIBS"
11106 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11107 /* end confdefs.h.  */
11108
11109 /* Override any GCC internal prototype to avoid an error.
11110    Use char because int might match the return type of a GCC
11111    builtin and then its argument prototype would still apply.  */
11112 #ifdef __cplusplus
11113 extern "C"
11114 #endif
11115 char dlopen ();
11116 int
11117 main ()
11118 {
11119 return dlopen ();
11120   ;
11121   return 0;
11122 }
11123 _ACEOF
11124 if ac_fn_c_try_link "$LINENO"; then :
11125   ac_cv_lib_dl_dlopen=yes
11126 else
11127   ac_cv_lib_dl_dlopen=no
11128 fi
11129 rm -f core conftest.err conftest.$ac_objext \
11130     conftest$ac_exeext conftest.$ac_ext
11131 LIBS=$ac_check_lib_save_LIBS
11132 fi
11133 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
11134 $as_echo "$ac_cv_lib_dl_dlopen" >&6; }
11135 if test "x$ac_cv_lib_dl_dlopen" = xyes; then :
11136   lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl"
11137 else
11138
11139     lt_cv_dlopen="dyld"
11140     lt_cv_dlopen_libs=
11141     lt_cv_dlopen_self=yes
11142
11143 fi
11144
11145     ;;
11146
11147   *)
11148     ac_fn_c_check_func "$LINENO" "shl_load" "ac_cv_func_shl_load"
11149 if test "x$ac_cv_func_shl_load" = xyes; then :
11150   lt_cv_dlopen="shl_load"
11151 else
11152   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for shl_load in -ldld" >&5
11153 $as_echo_n "checking for shl_load in -ldld... " >&6; }
11154 if ${ac_cv_lib_dld_shl_load+:} false; then :
11155   $as_echo_n "(cached) " >&6
11156 else
11157   ac_check_lib_save_LIBS=$LIBS
11158 LIBS="-ldld  $LIBS"
11159 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11160 /* end confdefs.h.  */
11161
11162 /* Override any GCC internal prototype to avoid an error.
11163    Use char because int might match the return type of a GCC
11164    builtin and then its argument prototype would still apply.  */
11165 #ifdef __cplusplus
11166 extern "C"
11167 #endif
11168 char shl_load ();
11169 int
11170 main ()
11171 {
11172 return shl_load ();
11173   ;
11174   return 0;
11175 }
11176 _ACEOF
11177 if ac_fn_c_try_link "$LINENO"; then :
11178   ac_cv_lib_dld_shl_load=yes
11179 else
11180   ac_cv_lib_dld_shl_load=no
11181 fi
11182 rm -f core conftest.err conftest.$ac_objext \
11183     conftest$ac_exeext conftest.$ac_ext
11184 LIBS=$ac_check_lib_save_LIBS
11185 fi
11186 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_shl_load" >&5
11187 $as_echo "$ac_cv_lib_dld_shl_load" >&6; }
11188 if test "x$ac_cv_lib_dld_shl_load" = xyes; then :
11189   lt_cv_dlopen="shl_load" lt_cv_dlopen_libs="-ldld"
11190 else
11191   ac_fn_c_check_func "$LINENO" "dlopen" "ac_cv_func_dlopen"
11192 if test "x$ac_cv_func_dlopen" = xyes; then :
11193   lt_cv_dlopen="dlopen"
11194 else
11195   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
11196 $as_echo_n "checking for dlopen in -ldl... " >&6; }
11197 if ${ac_cv_lib_dl_dlopen+:} false; then :
11198   $as_echo_n "(cached) " >&6
11199 else
11200   ac_check_lib_save_LIBS=$LIBS
11201 LIBS="-ldl  $LIBS"
11202 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11203 /* end confdefs.h.  */
11204
11205 /* Override any GCC internal prototype to avoid an error.
11206    Use char because int might match the return type of a GCC
11207    builtin and then its argument prototype would still apply.  */
11208 #ifdef __cplusplus
11209 extern "C"
11210 #endif
11211 char dlopen ();
11212 int
11213 main ()
11214 {
11215 return dlopen ();
11216   ;
11217   return 0;
11218 }
11219 _ACEOF
11220 if ac_fn_c_try_link "$LINENO"; then :
11221   ac_cv_lib_dl_dlopen=yes
11222 else
11223   ac_cv_lib_dl_dlopen=no
11224 fi
11225 rm -f core conftest.err conftest.$ac_objext \
11226     conftest$ac_exeext conftest.$ac_ext
11227 LIBS=$ac_check_lib_save_LIBS
11228 fi
11229 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
11230 $as_echo "$ac_cv_lib_dl_dlopen" >&6; }
11231 if test "x$ac_cv_lib_dl_dlopen" = xyes; then :
11232   lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl"
11233 else
11234   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -lsvld" >&5
11235 $as_echo_n "checking for dlopen in -lsvld... " >&6; }
11236 if ${ac_cv_lib_svld_dlopen+:} false; then :
11237   $as_echo_n "(cached) " >&6
11238 else
11239   ac_check_lib_save_LIBS=$LIBS
11240 LIBS="-lsvld  $LIBS"
11241 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11242 /* end confdefs.h.  */
11243
11244 /* Override any GCC internal prototype to avoid an error.
11245    Use char because int might match the return type of a GCC
11246    builtin and then its argument prototype would still apply.  */
11247 #ifdef __cplusplus
11248 extern "C"
11249 #endif
11250 char dlopen ();
11251 int
11252 main ()
11253 {
11254 return dlopen ();
11255   ;
11256   return 0;
11257 }
11258 _ACEOF
11259 if ac_fn_c_try_link "$LINENO"; then :
11260   ac_cv_lib_svld_dlopen=yes
11261 else
11262   ac_cv_lib_svld_dlopen=no
11263 fi
11264 rm -f core conftest.err conftest.$ac_objext \
11265     conftest$ac_exeext conftest.$ac_ext
11266 LIBS=$ac_check_lib_save_LIBS
11267 fi
11268 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_svld_dlopen" >&5
11269 $as_echo "$ac_cv_lib_svld_dlopen" >&6; }
11270 if test "x$ac_cv_lib_svld_dlopen" = xyes; then :
11271   lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-lsvld"
11272 else
11273   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dld_link in -ldld" >&5
11274 $as_echo_n "checking for dld_link in -ldld... " >&6; }
11275 if ${ac_cv_lib_dld_dld_link+:} false; then :
11276   $as_echo_n "(cached) " >&6
11277 else
11278   ac_check_lib_save_LIBS=$LIBS
11279 LIBS="-ldld  $LIBS"
11280 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11281 /* end confdefs.h.  */
11282
11283 /* Override any GCC internal prototype to avoid an error.
11284    Use char because int might match the return type of a GCC
11285    builtin and then its argument prototype would still apply.  */
11286 #ifdef __cplusplus
11287 extern "C"
11288 #endif
11289 char dld_link ();
11290 int
11291 main ()
11292 {
11293 return dld_link ();
11294   ;
11295   return 0;
11296 }
11297 _ACEOF
11298 if ac_fn_c_try_link "$LINENO"; then :
11299   ac_cv_lib_dld_dld_link=yes
11300 else
11301   ac_cv_lib_dld_dld_link=no
11302 fi
11303 rm -f core conftest.err conftest.$ac_objext \
11304     conftest$ac_exeext conftest.$ac_ext
11305 LIBS=$ac_check_lib_save_LIBS
11306 fi
11307 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_dld_link" >&5
11308 $as_echo "$ac_cv_lib_dld_dld_link" >&6; }
11309 if test "x$ac_cv_lib_dld_dld_link" = xyes; then :
11310   lt_cv_dlopen="dld_link" lt_cv_dlopen_libs="-ldld"
11311 fi
11312
11313
11314 fi
11315
11316
11317 fi
11318
11319
11320 fi
11321
11322
11323 fi
11324
11325
11326 fi
11327
11328     ;;
11329   esac
11330
11331   if test "x$lt_cv_dlopen" != xno; then
11332     enable_dlopen=yes
11333   else
11334     enable_dlopen=no
11335   fi
11336
11337   case $lt_cv_dlopen in
11338   dlopen)
11339     save_CPPFLAGS="$CPPFLAGS"
11340     test "x$ac_cv_header_dlfcn_h" = xyes && CPPFLAGS="$CPPFLAGS -DHAVE_DLFCN_H"
11341
11342     save_LDFLAGS="$LDFLAGS"
11343     wl=$lt_prog_compiler_wl eval LDFLAGS=\"\$LDFLAGS $export_dynamic_flag_spec\"
11344
11345     save_LIBS="$LIBS"
11346     LIBS="$lt_cv_dlopen_libs $LIBS"
11347
11348     { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether a program can dlopen itself" >&5
11349 $as_echo_n "checking whether a program can dlopen itself... " >&6; }
11350 if ${lt_cv_dlopen_self+:} false; then :
11351   $as_echo_n "(cached) " >&6
11352 else
11353           if test "$cross_compiling" = yes; then :
11354   lt_cv_dlopen_self=cross
11355 else
11356   lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
11357   lt_status=$lt_dlunknown
11358   cat > conftest.$ac_ext <<_LT_EOF
11359 #line $LINENO "configure"
11360 #include "confdefs.h"
11361
11362 #if HAVE_DLFCN_H
11363 #include <dlfcn.h>
11364 #endif
11365
11366 #include <stdio.h>
11367
11368 #ifdef RTLD_GLOBAL
11369 #  define LT_DLGLOBAL           RTLD_GLOBAL
11370 #else
11371 #  ifdef DL_GLOBAL
11372 #    define LT_DLGLOBAL         DL_GLOBAL
11373 #  else
11374 #    define LT_DLGLOBAL         0
11375 #  endif
11376 #endif
11377
11378 /* We may have to define LT_DLLAZY_OR_NOW in the command line if we
11379    find out it does not work in some platform. */
11380 #ifndef LT_DLLAZY_OR_NOW
11381 #  ifdef RTLD_LAZY
11382 #    define LT_DLLAZY_OR_NOW            RTLD_LAZY
11383 #  else
11384 #    ifdef DL_LAZY
11385 #      define LT_DLLAZY_OR_NOW          DL_LAZY
11386 #    else
11387 #      ifdef RTLD_NOW
11388 #        define LT_DLLAZY_OR_NOW        RTLD_NOW
11389 #      else
11390 #        ifdef DL_NOW
11391 #          define LT_DLLAZY_OR_NOW      DL_NOW
11392 #        else
11393 #          define LT_DLLAZY_OR_NOW      0
11394 #        endif
11395 #      endif
11396 #    endif
11397 #  endif
11398 #endif
11399
11400 /* When -fvisbility=hidden is used, assume the code has been annotated
11401    correspondingly for the symbols needed.  */
11402 #if defined(__GNUC__) && (((__GNUC__ == 3) && (__GNUC_MINOR__ >= 3)) || (__GNUC__ > 3))
11403 int fnord () __attribute__((visibility("default")));
11404 #endif
11405
11406 int fnord () { return 42; }
11407 int main ()
11408 {
11409   void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
11410   int status = $lt_dlunknown;
11411
11412   if (self)
11413     {
11414       if (dlsym (self,"fnord"))       status = $lt_dlno_uscore;
11415       else
11416         {
11417           if (dlsym( self,"_fnord"))  status = $lt_dlneed_uscore;
11418           else puts (dlerror ());
11419         }
11420       /* dlclose (self); */
11421     }
11422   else
11423     puts (dlerror ());
11424
11425   return status;
11426 }
11427 _LT_EOF
11428   if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
11429   (eval $ac_link) 2>&5
11430   ac_status=$?
11431   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
11432   test $ac_status = 0; } && test -s conftest${ac_exeext} 2>/dev/null; then
11433     (./conftest; exit; ) >&5 2>/dev/null
11434     lt_status=$?
11435     case x$lt_status in
11436       x$lt_dlno_uscore) lt_cv_dlopen_self=yes ;;
11437       x$lt_dlneed_uscore) lt_cv_dlopen_self=yes ;;
11438       x$lt_dlunknown|x*) lt_cv_dlopen_self=no ;;
11439     esac
11440   else :
11441     # compilation failed
11442     lt_cv_dlopen_self=no
11443   fi
11444 fi
11445 rm -fr conftest*
11446
11447
11448 fi
11449 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_dlopen_self" >&5
11450 $as_echo "$lt_cv_dlopen_self" >&6; }
11451
11452     if test "x$lt_cv_dlopen_self" = xyes; then
11453       wl=$lt_prog_compiler_wl eval LDFLAGS=\"\$LDFLAGS $lt_prog_compiler_static\"
11454       { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether a statically linked program can dlopen itself" >&5
11455 $as_echo_n "checking whether a statically linked program can dlopen itself... " >&6; }
11456 if ${lt_cv_dlopen_self_static+:} false; then :
11457   $as_echo_n "(cached) " >&6
11458 else
11459           if test "$cross_compiling" = yes; then :
11460   lt_cv_dlopen_self_static=cross
11461 else
11462   lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
11463   lt_status=$lt_dlunknown
11464   cat > conftest.$ac_ext <<_LT_EOF
11465 #line $LINENO "configure"
11466 #include "confdefs.h"
11467
11468 #if HAVE_DLFCN_H
11469 #include <dlfcn.h>
11470 #endif
11471
11472 #include <stdio.h>
11473
11474 #ifdef RTLD_GLOBAL
11475 #  define LT_DLGLOBAL           RTLD_GLOBAL
11476 #else
11477 #  ifdef DL_GLOBAL
11478 #    define LT_DLGLOBAL         DL_GLOBAL
11479 #  else
11480 #    define LT_DLGLOBAL         0
11481 #  endif
11482 #endif
11483
11484 /* We may have to define LT_DLLAZY_OR_NOW in the command line if we
11485    find out it does not work in some platform. */
11486 #ifndef LT_DLLAZY_OR_NOW
11487 #  ifdef RTLD_LAZY
11488 #    define LT_DLLAZY_OR_NOW            RTLD_LAZY
11489 #  else
11490 #    ifdef DL_LAZY
11491 #      define LT_DLLAZY_OR_NOW          DL_LAZY
11492 #    else
11493 #      ifdef RTLD_NOW
11494 #        define LT_DLLAZY_OR_NOW        RTLD_NOW
11495 #      else
11496 #        ifdef DL_NOW
11497 #          define LT_DLLAZY_OR_NOW      DL_NOW
11498 #        else
11499 #          define LT_DLLAZY_OR_NOW      0
11500 #        endif
11501 #      endif
11502 #    endif
11503 #  endif
11504 #endif
11505
11506 /* When -fvisbility=hidden is used, assume the code has been annotated
11507    correspondingly for the symbols needed.  */
11508 #if defined(__GNUC__) && (((__GNUC__ == 3) && (__GNUC_MINOR__ >= 3)) || (__GNUC__ > 3))
11509 int fnord () __attribute__((visibility("default")));
11510 #endif
11511
11512 int fnord () { return 42; }
11513 int main ()
11514 {
11515   void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
11516   int status = $lt_dlunknown;
11517
11518   if (self)
11519     {
11520       if (dlsym (self,"fnord"))       status = $lt_dlno_uscore;
11521       else
11522         {
11523           if (dlsym( self,"_fnord"))  status = $lt_dlneed_uscore;
11524           else puts (dlerror ());
11525         }
11526       /* dlclose (self); */
11527     }
11528   else
11529     puts (dlerror ());
11530
11531   return status;
11532 }
11533 _LT_EOF
11534   if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
11535   (eval $ac_link) 2>&5
11536   ac_status=$?
11537   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
11538   test $ac_status = 0; } && test -s conftest${ac_exeext} 2>/dev/null; then
11539     (./conftest; exit; ) >&5 2>/dev/null
11540     lt_status=$?
11541     case x$lt_status in
11542       x$lt_dlno_uscore) lt_cv_dlopen_self_static=yes ;;
11543       x$lt_dlneed_uscore) lt_cv_dlopen_self_static=yes ;;
11544       x$lt_dlunknown|x*) lt_cv_dlopen_self_static=no ;;
11545     esac
11546   else :
11547     # compilation failed
11548     lt_cv_dlopen_self_static=no
11549   fi
11550 fi
11551 rm -fr conftest*
11552
11553
11554 fi
11555 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_dlopen_self_static" >&5
11556 $as_echo "$lt_cv_dlopen_self_static" >&6; }
11557     fi
11558
11559     CPPFLAGS="$save_CPPFLAGS"
11560     LDFLAGS="$save_LDFLAGS"
11561     LIBS="$save_LIBS"
11562     ;;
11563   esac
11564
11565   case $lt_cv_dlopen_self in
11566   yes|no) enable_dlopen_self=$lt_cv_dlopen_self ;;
11567   *) enable_dlopen_self=unknown ;;
11568   esac
11569
11570   case $lt_cv_dlopen_self_static in
11571   yes|no) enable_dlopen_self_static=$lt_cv_dlopen_self_static ;;
11572   *) enable_dlopen_self_static=unknown ;;
11573   esac
11574 fi
11575
11576
11577
11578
11579
11580
11581
11582
11583
11584
11585
11586
11587
11588
11589
11590
11591
11592 striplib=
11593 old_striplib=
11594 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether stripping libraries is possible" >&5
11595 $as_echo_n "checking whether stripping libraries is possible... " >&6; }
11596 if test -n "$STRIP" && $STRIP -V 2>&1 | $GREP "GNU strip" >/dev/null; then
11597   test -z "$old_striplib" && old_striplib="$STRIP --strip-debug"
11598   test -z "$striplib" && striplib="$STRIP --strip-unneeded"
11599   { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
11600 $as_echo "yes" >&6; }
11601 else
11602 # FIXME - insert some real tests, host_os isn't really good enough
11603   case $host_os in
11604   darwin*)
11605     if test -n "$STRIP" ; then
11606       striplib="$STRIP -x"
11607       old_striplib="$STRIP -S"
11608       { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
11609 $as_echo "yes" >&6; }
11610     else
11611       { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11612 $as_echo "no" >&6; }
11613     fi
11614     ;;
11615   *)
11616     { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11617 $as_echo "no" >&6; }
11618     ;;
11619   esac
11620 fi
11621
11622
11623
11624
11625
11626
11627
11628
11629
11630
11631
11632
11633   # Report which library types will actually be built
11634   { $as_echo "$as_me:${as_lineno-$LINENO}: checking if libtool supports shared libraries" >&5
11635 $as_echo_n "checking if libtool supports shared libraries... " >&6; }
11636   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $can_build_shared" >&5
11637 $as_echo "$can_build_shared" >&6; }
11638
11639   { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build shared libraries" >&5
11640 $as_echo_n "checking whether to build shared libraries... " >&6; }
11641   test "$can_build_shared" = "no" && enable_shared=no
11642
11643   # On AIX, shared libraries and static libraries use the same namespace, and
11644   # are all built from PIC.
11645   case $host_os in
11646   aix3*)
11647     test "$enable_shared" = yes && enable_static=no
11648     if test -n "$RANLIB"; then
11649       archive_cmds="$archive_cmds~\$RANLIB \$lib"
11650       postinstall_cmds='$RANLIB $lib'
11651     fi
11652     ;;
11653
11654   aix[4-9]*)
11655     if test "$host_cpu" != ia64 && test "$aix_use_runtimelinking" = no ; then
11656       test "$enable_shared" = yes && enable_static=no
11657     fi
11658     ;;
11659   esac
11660   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_shared" >&5
11661 $as_echo "$enable_shared" >&6; }
11662
11663   { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build static libraries" >&5
11664 $as_echo_n "checking whether to build static libraries... " >&6; }
11665   # Make sure either enable_shared or enable_static is yes.
11666   test "$enable_shared" = yes || enable_static=yes
11667   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_static" >&5
11668 $as_echo "$enable_static" >&6; }
11669
11670
11671
11672
11673 fi
11674 ac_ext=c
11675 ac_cpp='$CPP $CPPFLAGS'
11676 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
11677 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
11678 ac_compiler_gnu=$ac_cv_c_compiler_gnu
11679
11680 CC="$lt_save_CC"
11681
11682
11683
11684
11685
11686
11687
11688
11689
11690
11691
11692
11693
11694
11695
11696         ac_config_commands="$ac_config_commands libtool"
11697
11698
11699
11700
11701 # Only expand once:
11702
11703
11704
11705 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing strerror" >&5
11706 $as_echo_n "checking for library containing strerror... " >&6; }
11707 if ${ac_cv_search_strerror+:} false; then :
11708   $as_echo_n "(cached) " >&6
11709 else
11710   ac_func_search_save_LIBS=$LIBS
11711 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11712 /* end confdefs.h.  */
11713
11714 /* Override any GCC internal prototype to avoid an error.
11715    Use char because int might match the return type of a GCC
11716    builtin and then its argument prototype would still apply.  */
11717 #ifdef __cplusplus
11718 extern "C"
11719 #endif
11720 char strerror ();
11721 int
11722 main ()
11723 {
11724 return strerror ();
11725   ;
11726   return 0;
11727 }
11728 _ACEOF
11729 for ac_lib in '' cposix; do
11730   if test -z "$ac_lib"; then
11731     ac_res="none required"
11732   else
11733     ac_res=-l$ac_lib
11734     LIBS="-l$ac_lib  $ac_func_search_save_LIBS"
11735   fi
11736   if ac_fn_c_try_link "$LINENO"; then :
11737   ac_cv_search_strerror=$ac_res
11738 fi
11739 rm -f core conftest.err conftest.$ac_objext \
11740     conftest$ac_exeext
11741   if ${ac_cv_search_strerror+:} false; then :
11742   break
11743 fi
11744 done
11745 if ${ac_cv_search_strerror+:} false; then :
11746
11747 else
11748   ac_cv_search_strerror=no
11749 fi
11750 rm conftest.$ac_ext
11751 LIBS=$ac_func_search_save_LIBS
11752 fi
11753 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_strerror" >&5
11754 $as_echo "$ac_cv_search_strerror" >&6; }
11755 ac_res=$ac_cv_search_strerror
11756 if test "$ac_res" != no; then :
11757   test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
11758
11759 fi
11760
11761 ac_ext=c
11762 ac_cpp='$CPP $CPPFLAGS'
11763 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
11764 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
11765 ac_compiler_gnu=$ac_cv_c_compiler_gnu
11766 if test -n "$ac_tool_prefix"; then
11767   # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
11768 set dummy ${ac_tool_prefix}gcc; ac_word=$2
11769 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
11770 $as_echo_n "checking for $ac_word... " >&6; }
11771 if ${ac_cv_prog_CC+:} false; then :
11772   $as_echo_n "(cached) " >&6
11773 else
11774   if test -n "$CC"; then
11775   ac_cv_prog_CC="$CC" # Let the user override the test.
11776 else
11777 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11778 for as_dir in $PATH
11779 do
11780   IFS=$as_save_IFS
11781   test -z "$as_dir" && as_dir=.
11782     for ac_exec_ext in '' $ac_executable_extensions; do
11783   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
11784     ac_cv_prog_CC="${ac_tool_prefix}gcc"
11785     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
11786     break 2
11787   fi
11788 done
11789   done
11790 IFS=$as_save_IFS
11791
11792 fi
11793 fi
11794 CC=$ac_cv_prog_CC
11795 if test -n "$CC"; then
11796   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
11797 $as_echo "$CC" >&6; }
11798 else
11799   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11800 $as_echo "no" >&6; }
11801 fi
11802
11803
11804 fi
11805 if test -z "$ac_cv_prog_CC"; then
11806   ac_ct_CC=$CC
11807   # Extract the first word of "gcc", so it can be a program name with args.
11808 set dummy gcc; ac_word=$2
11809 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
11810 $as_echo_n "checking for $ac_word... " >&6; }
11811 if ${ac_cv_prog_ac_ct_CC+:} false; then :
11812   $as_echo_n "(cached) " >&6
11813 else
11814   if test -n "$ac_ct_CC"; then
11815   ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
11816 else
11817 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11818 for as_dir in $PATH
11819 do
11820   IFS=$as_save_IFS
11821   test -z "$as_dir" && as_dir=.
11822     for ac_exec_ext in '' $ac_executable_extensions; do
11823   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
11824     ac_cv_prog_ac_ct_CC="gcc"
11825     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
11826     break 2
11827   fi
11828 done
11829   done
11830 IFS=$as_save_IFS
11831
11832 fi
11833 fi
11834 ac_ct_CC=$ac_cv_prog_ac_ct_CC
11835 if test -n "$ac_ct_CC"; then
11836   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
11837 $as_echo "$ac_ct_CC" >&6; }
11838 else
11839   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11840 $as_echo "no" >&6; }
11841 fi
11842
11843   if test "x$ac_ct_CC" = x; then
11844     CC=""
11845   else
11846     case $cross_compiling:$ac_tool_warned in
11847 yes:)
11848 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
11849 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
11850 ac_tool_warned=yes ;;
11851 esac
11852     CC=$ac_ct_CC
11853   fi
11854 else
11855   CC="$ac_cv_prog_CC"
11856 fi
11857
11858 if test -z "$CC"; then
11859           if test -n "$ac_tool_prefix"; then
11860     # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
11861 set dummy ${ac_tool_prefix}cc; ac_word=$2
11862 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
11863 $as_echo_n "checking for $ac_word... " >&6; }
11864 if ${ac_cv_prog_CC+:} false; then :
11865   $as_echo_n "(cached) " >&6
11866 else
11867   if test -n "$CC"; then
11868   ac_cv_prog_CC="$CC" # Let the user override the test.
11869 else
11870 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11871 for as_dir in $PATH
11872 do
11873   IFS=$as_save_IFS
11874   test -z "$as_dir" && as_dir=.
11875     for ac_exec_ext in '' $ac_executable_extensions; do
11876   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
11877     ac_cv_prog_CC="${ac_tool_prefix}cc"
11878     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
11879     break 2
11880   fi
11881 done
11882   done
11883 IFS=$as_save_IFS
11884
11885 fi
11886 fi
11887 CC=$ac_cv_prog_CC
11888 if test -n "$CC"; then
11889   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
11890 $as_echo "$CC" >&6; }
11891 else
11892   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11893 $as_echo "no" >&6; }
11894 fi
11895
11896
11897   fi
11898 fi
11899 if test -z "$CC"; then
11900   # Extract the first word of "cc", so it can be a program name with args.
11901 set dummy cc; ac_word=$2
11902 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
11903 $as_echo_n "checking for $ac_word... " >&6; }
11904 if ${ac_cv_prog_CC+:} false; then :
11905   $as_echo_n "(cached) " >&6
11906 else
11907   if test -n "$CC"; then
11908   ac_cv_prog_CC="$CC" # Let the user override the test.
11909 else
11910   ac_prog_rejected=no
11911 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11912 for as_dir in $PATH
11913 do
11914   IFS=$as_save_IFS
11915   test -z "$as_dir" && as_dir=.
11916     for ac_exec_ext in '' $ac_executable_extensions; do
11917   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
11918     if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
11919        ac_prog_rejected=yes
11920        continue
11921      fi
11922     ac_cv_prog_CC="cc"
11923     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
11924     break 2
11925   fi
11926 done
11927   done
11928 IFS=$as_save_IFS
11929
11930 if test $ac_prog_rejected = yes; then
11931   # We found a bogon in the path, so make sure we never use it.
11932   set dummy $ac_cv_prog_CC
11933   shift
11934   if test $# != 0; then
11935     # We chose a different compiler from the bogus one.
11936     # However, it has the same basename, so the bogon will be chosen
11937     # first if we set CC to just the basename; use the full file name.
11938     shift
11939     ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
11940   fi
11941 fi
11942 fi
11943 fi
11944 CC=$ac_cv_prog_CC
11945 if test -n "$CC"; then
11946   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
11947 $as_echo "$CC" >&6; }
11948 else
11949   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11950 $as_echo "no" >&6; }
11951 fi
11952
11953
11954 fi
11955 if test -z "$CC"; then
11956   if test -n "$ac_tool_prefix"; then
11957   for ac_prog in cl.exe
11958   do
11959     # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
11960 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
11961 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
11962 $as_echo_n "checking for $ac_word... " >&6; }
11963 if ${ac_cv_prog_CC+:} false; then :
11964   $as_echo_n "(cached) " >&6
11965 else
11966   if test -n "$CC"; then
11967   ac_cv_prog_CC="$CC" # Let the user override the test.
11968 else
11969 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11970 for as_dir in $PATH
11971 do
11972   IFS=$as_save_IFS
11973   test -z "$as_dir" && as_dir=.
11974     for ac_exec_ext in '' $ac_executable_extensions; do
11975   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
11976     ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
11977     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
11978     break 2
11979   fi
11980 done
11981   done
11982 IFS=$as_save_IFS
11983
11984 fi
11985 fi
11986 CC=$ac_cv_prog_CC
11987 if test -n "$CC"; then
11988   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
11989 $as_echo "$CC" >&6; }
11990 else
11991   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11992 $as_echo "no" >&6; }
11993 fi
11994
11995
11996     test -n "$CC" && break
11997   done
11998 fi
11999 if test -z "$CC"; then
12000   ac_ct_CC=$CC
12001   for ac_prog in cl.exe
12002 do
12003   # Extract the first word of "$ac_prog", so it can be a program name with args.
12004 set dummy $ac_prog; ac_word=$2
12005 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
12006 $as_echo_n "checking for $ac_word... " >&6; }
12007 if ${ac_cv_prog_ac_ct_CC+:} false; then :
12008   $as_echo_n "(cached) " >&6
12009 else
12010   if test -n "$ac_ct_CC"; then
12011   ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
12012 else
12013 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12014 for as_dir in $PATH
12015 do
12016   IFS=$as_save_IFS
12017   test -z "$as_dir" && as_dir=.
12018     for ac_exec_ext in '' $ac_executable_extensions; do
12019   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
12020     ac_cv_prog_ac_ct_CC="$ac_prog"
12021     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
12022     break 2
12023   fi
12024 done
12025   done
12026 IFS=$as_save_IFS
12027
12028 fi
12029 fi
12030 ac_ct_CC=$ac_cv_prog_ac_ct_CC
12031 if test -n "$ac_ct_CC"; then
12032   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
12033 $as_echo "$ac_ct_CC" >&6; }
12034 else
12035   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12036 $as_echo "no" >&6; }
12037 fi
12038
12039
12040   test -n "$ac_ct_CC" && break
12041 done
12042
12043   if test "x$ac_ct_CC" = x; then
12044     CC=""
12045   else
12046     case $cross_compiling:$ac_tool_warned in
12047 yes:)
12048 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
12049 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
12050 ac_tool_warned=yes ;;
12051 esac
12052     CC=$ac_ct_CC
12053   fi
12054 fi
12055
12056 fi
12057
12058
12059 test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
12060 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
12061 as_fn_error $? "no acceptable C compiler found in \$PATH
12062 See \`config.log' for more details" "$LINENO" 5; }
12063
12064 # Provide some information about the compiler.
12065 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
12066 set X $ac_compile
12067 ac_compiler=$2
12068 for ac_option in --version -v -V -qversion; do
12069   { { ac_try="$ac_compiler $ac_option >&5"
12070 case "(($ac_try" in
12071   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
12072   *) ac_try_echo=$ac_try;;
12073 esac
12074 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
12075 $as_echo "$ac_try_echo"; } >&5
12076   (eval "$ac_compiler $ac_option >&5") 2>conftest.err
12077   ac_status=$?
12078   if test -s conftest.err; then
12079     sed '10a\
12080 ... rest of stderr output deleted ...
12081          10q' conftest.err >conftest.er1
12082     cat conftest.er1 >&5
12083   fi
12084   rm -f conftest.er1 conftest.err
12085   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
12086   test $ac_status = 0; }
12087 done
12088
12089 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
12090 $as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
12091 if ${ac_cv_c_compiler_gnu+:} false; then :
12092   $as_echo_n "(cached) " >&6
12093 else
12094   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12095 /* end confdefs.h.  */
12096
12097 int
12098 main ()
12099 {
12100 #ifndef __GNUC__
12101        choke me
12102 #endif
12103
12104   ;
12105   return 0;
12106 }
12107 _ACEOF
12108 if ac_fn_c_try_compile "$LINENO"; then :
12109   ac_compiler_gnu=yes
12110 else
12111   ac_compiler_gnu=no
12112 fi
12113 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
12114 ac_cv_c_compiler_gnu=$ac_compiler_gnu
12115
12116 fi
12117 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
12118 $as_echo "$ac_cv_c_compiler_gnu" >&6; }
12119 if test $ac_compiler_gnu = yes; then
12120   GCC=yes
12121 else
12122   GCC=
12123 fi
12124 ac_test_CFLAGS=${CFLAGS+set}
12125 ac_save_CFLAGS=$CFLAGS
12126 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
12127 $as_echo_n "checking whether $CC accepts -g... " >&6; }
12128 if ${ac_cv_prog_cc_g+:} false; then :
12129   $as_echo_n "(cached) " >&6
12130 else
12131   ac_save_c_werror_flag=$ac_c_werror_flag
12132    ac_c_werror_flag=yes
12133    ac_cv_prog_cc_g=no
12134    CFLAGS="-g"
12135    cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12136 /* end confdefs.h.  */
12137
12138 int
12139 main ()
12140 {
12141
12142   ;
12143   return 0;
12144 }
12145 _ACEOF
12146 if ac_fn_c_try_compile "$LINENO"; then :
12147   ac_cv_prog_cc_g=yes
12148 else
12149   CFLAGS=""
12150       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12151 /* end confdefs.h.  */
12152
12153 int
12154 main ()
12155 {
12156
12157   ;
12158   return 0;
12159 }
12160 _ACEOF
12161 if ac_fn_c_try_compile "$LINENO"; then :
12162
12163 else
12164   ac_c_werror_flag=$ac_save_c_werror_flag
12165          CFLAGS="-g"
12166          cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12167 /* end confdefs.h.  */
12168
12169 int
12170 main ()
12171 {
12172
12173   ;
12174   return 0;
12175 }
12176 _ACEOF
12177 if ac_fn_c_try_compile "$LINENO"; then :
12178   ac_cv_prog_cc_g=yes
12179 fi
12180 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
12181 fi
12182 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
12183 fi
12184 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
12185    ac_c_werror_flag=$ac_save_c_werror_flag
12186 fi
12187 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
12188 $as_echo "$ac_cv_prog_cc_g" >&6; }
12189 if test "$ac_test_CFLAGS" = set; then
12190   CFLAGS=$ac_save_CFLAGS
12191 elif test $ac_cv_prog_cc_g = yes; then
12192   if test "$GCC" = yes; then
12193     CFLAGS="-g -O2"
12194   else
12195     CFLAGS="-g"
12196   fi
12197 else
12198   if test "$GCC" = yes; then
12199     CFLAGS="-O2"
12200   else
12201     CFLAGS=
12202   fi
12203 fi
12204 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
12205 $as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
12206 if ${ac_cv_prog_cc_c89+:} false; then :
12207   $as_echo_n "(cached) " >&6
12208 else
12209   ac_cv_prog_cc_c89=no
12210 ac_save_CC=$CC
12211 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12212 /* end confdefs.h.  */
12213 #include <stdarg.h>
12214 #include <stdio.h>
12215 struct stat;
12216 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh.  */
12217 struct buf { int x; };
12218 FILE * (*rcsopen) (struct buf *, struct stat *, int);
12219 static char *e (p, i)
12220      char **p;
12221      int i;
12222 {
12223   return p[i];
12224 }
12225 static char *f (char * (*g) (char **, int), char **p, ...)
12226 {
12227   char *s;
12228   va_list v;
12229   va_start (v,p);
12230   s = g (p, va_arg (v,int));
12231   va_end (v);
12232   return s;
12233 }
12234
12235 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default.  It has
12236    function prototypes and stuff, but not '\xHH' hex character constants.
12237    These don't provoke an error unfortunately, instead are silently treated
12238    as 'x'.  The following induces an error, until -std is added to get
12239    proper ANSI mode.  Curiously '\x00'!='x' always comes out true, for an
12240    array size at least.  It's necessary to write '\x00'==0 to get something
12241    that's true only with -std.  */
12242 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
12243
12244 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
12245    inside strings and character constants.  */
12246 #define FOO(x) 'x'
12247 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
12248
12249 int test (int i, double x);
12250 struct s1 {int (*f) (int a);};
12251 struct s2 {int (*f) (double a);};
12252 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
12253 int argc;
12254 char **argv;
12255 int
12256 main ()
12257 {
12258 return f (e, argv, 0) != argv[0]  ||  f (e, argv, 1) != argv[1];
12259   ;
12260   return 0;
12261 }
12262 _ACEOF
12263 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
12264         -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
12265 do
12266   CC="$ac_save_CC $ac_arg"
12267   if ac_fn_c_try_compile "$LINENO"; then :
12268   ac_cv_prog_cc_c89=$ac_arg
12269 fi
12270 rm -f core conftest.err conftest.$ac_objext
12271   test "x$ac_cv_prog_cc_c89" != "xno" && break
12272 done
12273 rm -f conftest.$ac_ext
12274 CC=$ac_save_CC
12275
12276 fi
12277 # AC_CACHE_VAL
12278 case "x$ac_cv_prog_cc_c89" in
12279   x)
12280     { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
12281 $as_echo "none needed" >&6; } ;;
12282   xno)
12283     { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
12284 $as_echo "unsupported" >&6; } ;;
12285   *)
12286     CC="$CC $ac_cv_prog_cc_c89"
12287     { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
12288 $as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
12289 esac
12290 if test "x$ac_cv_prog_cc_c89" != xno; then :
12291
12292 fi
12293
12294 ac_ext=c
12295 ac_cpp='$CPP $CPPFLAGS'
12296 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
12297 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
12298 ac_compiler_gnu=$ac_cv_c_compiler_gnu
12299
12300 depcc="$CC"   am_compiler_list=
12301
12302 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5
12303 $as_echo_n "checking dependency style of $depcc... " >&6; }
12304 if ${am_cv_CC_dependencies_compiler_type+:} false; then :
12305   $as_echo_n "(cached) " >&6
12306 else
12307   if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
12308   # We make a subdir and do the tests there.  Otherwise we can end up
12309   # making bogus files that we don't know about and never remove.  For
12310   # instance it was reported that on HP-UX the gcc test will end up
12311   # making a dummy file named `D' -- because `-MD' means `put the output
12312   # in D'.
12313   rm -rf conftest.dir
12314   mkdir conftest.dir
12315   # Copy depcomp to subdir because otherwise we won't find it if we're
12316   # using a relative directory.
12317   cp "$am_depcomp" conftest.dir
12318   cd conftest.dir
12319   # We will build objects and dependencies in a subdirectory because
12320   # it helps to detect inapplicable dependency modes.  For instance
12321   # both Tru64's cc and ICC support -MD to output dependencies as a
12322   # side effect of compilation, but ICC will put the dependencies in
12323   # the current directory while Tru64 will put them in the object
12324   # directory.
12325   mkdir sub
12326
12327   am_cv_CC_dependencies_compiler_type=none
12328   if test "$am_compiler_list" = ""; then
12329      am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
12330   fi
12331   am__universal=false
12332   case " $depcc " in #(
12333      *\ -arch\ *\ -arch\ *) am__universal=true ;;
12334      esac
12335
12336   for depmode in $am_compiler_list; do
12337     # Setup a source with many dependencies, because some compilers
12338     # like to wrap large dependency lists on column 80 (with \), and
12339     # we should not choose a depcomp mode which is confused by this.
12340     #
12341     # We need to recreate these files for each test, as the compiler may
12342     # overwrite some of them when testing with obscure command lines.
12343     # This happens at least with the AIX C compiler.
12344     : > sub/conftest.c
12345     for i in 1 2 3 4 5 6; do
12346       echo '#include "conftst'$i'.h"' >> sub/conftest.c
12347       # Using `: > sub/conftst$i.h' creates only sub/conftst1.h with
12348       # Solaris 8's {/usr,}/bin/sh.
12349       touch sub/conftst$i.h
12350     done
12351     echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
12352
12353     # We check with `-c' and `-o' for the sake of the "dashmstdout"
12354     # mode.  It turns out that the SunPro C++ compiler does not properly
12355     # handle `-M -o', and we need to detect this.  Also, some Intel
12356     # versions had trouble with output in subdirs
12357     am__obj=sub/conftest.${OBJEXT-o}
12358     am__minus_obj="-o $am__obj"
12359     case $depmode in
12360     gcc)
12361       # This depmode causes a compiler race in universal mode.
12362       test "$am__universal" = false || continue
12363       ;;
12364     nosideeffect)
12365       # after this tag, mechanisms are not by side-effect, so they'll
12366       # only be used when explicitly requested
12367       if test "x$enable_dependency_tracking" = xyes; then
12368         continue
12369       else
12370         break
12371       fi
12372       ;;
12373     msvc7 | msvc7msys | msvisualcpp | msvcmsys)
12374       # This compiler won't grok `-c -o', but also, the minuso test has
12375       # not run yet.  These depmodes are late enough in the game, and
12376       # so weak that their functioning should not be impacted.
12377       am__obj=conftest.${OBJEXT-o}
12378       am__minus_obj=
12379       ;;
12380     none) break ;;
12381     esac
12382     if depmode=$depmode \
12383        source=sub/conftest.c object=$am__obj \
12384        depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
12385        $SHELL ./depcomp $depcc -c $am__minus_obj sub/conftest.c \
12386          >/dev/null 2>conftest.err &&
12387        grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 &&
12388        grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
12389        grep $am__obj sub/conftest.Po > /dev/null 2>&1 &&
12390        ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
12391       # icc doesn't choke on unknown options, it will just issue warnings
12392       # or remarks (even with -Werror).  So we grep stderr for any message
12393       # that says an option was ignored or not supported.
12394       # When given -MP, icc 7.0 and 7.1 complain thusly:
12395       #   icc: Command line warning: ignoring option '-M'; no argument required
12396       # The diagnosis changed in icc 8.0:
12397       #   icc: Command line remark: option '-MP' not supported
12398       if (grep 'ignoring option' conftest.err ||
12399           grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
12400         am_cv_CC_dependencies_compiler_type=$depmode
12401         break
12402       fi
12403     fi
12404   done
12405
12406   cd ..
12407   rm -rf conftest.dir
12408 else
12409   am_cv_CC_dependencies_compiler_type=none
12410 fi
12411
12412 fi
12413 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_CC_dependencies_compiler_type" >&5
12414 $as_echo "$am_cv_CC_dependencies_compiler_type" >&6; }
12415 CCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type
12416
12417  if
12418   test "x$enable_dependency_tracking" != xno \
12419   && test "$am_cv_CC_dependencies_compiler_type" = gcc3; then
12420   am__fastdepCC_TRUE=
12421   am__fastdepCC_FALSE='#'
12422 else
12423   am__fastdepCC_TRUE='#'
12424   am__fastdepCC_FALSE=
12425 fi
12426
12427
12428 if test "x$CC" != xcc; then
12429   { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC and cc understand -c and -o together" >&5
12430 $as_echo_n "checking whether $CC and cc understand -c and -o together... " >&6; }
12431 else
12432   { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether cc understands -c and -o together" >&5
12433 $as_echo_n "checking whether cc understands -c and -o together... " >&6; }
12434 fi
12435 set dummy $CC; ac_cc=`$as_echo "$2" |
12436                       sed 's/[^a-zA-Z0-9_]/_/g;s/^[0-9]/_/'`
12437 if eval \${ac_cv_prog_cc_${ac_cc}_c_o+:} false; then :
12438   $as_echo_n "(cached) " >&6
12439 else
12440   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12441 /* end confdefs.h.  */
12442
12443 int
12444 main ()
12445 {
12446
12447   ;
12448   return 0;
12449 }
12450 _ACEOF
12451 # Make sure it works both with $CC and with simple cc.
12452 # We do the test twice because some compilers refuse to overwrite an
12453 # existing .o file with -o, though they will create one.
12454 ac_try='$CC -c conftest.$ac_ext -o conftest2.$ac_objext >&5'
12455 rm -f conftest2.*
12456 if { { case "(($ac_try" in
12457   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
12458   *) ac_try_echo=$ac_try;;
12459 esac
12460 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
12461 $as_echo "$ac_try_echo"; } >&5
12462   (eval "$ac_try") 2>&5
12463   ac_status=$?
12464   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
12465   test $ac_status = 0; } &&
12466    test -f conftest2.$ac_objext && { { case "(($ac_try" in
12467   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
12468   *) ac_try_echo=$ac_try;;
12469 esac
12470 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
12471 $as_echo "$ac_try_echo"; } >&5
12472   (eval "$ac_try") 2>&5
12473   ac_status=$?
12474   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
12475   test $ac_status = 0; };
12476 then
12477   eval ac_cv_prog_cc_${ac_cc}_c_o=yes
12478   if test "x$CC" != xcc; then
12479     # Test first that cc exists at all.
12480     if { ac_try='cc -c conftest.$ac_ext >&5'
12481   { { case "(($ac_try" in
12482   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
12483   *) ac_try_echo=$ac_try;;
12484 esac
12485 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
12486 $as_echo "$ac_try_echo"; } >&5
12487   (eval "$ac_try") 2>&5
12488   ac_status=$?
12489   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
12490   test $ac_status = 0; }; }; then
12491       ac_try='cc -c conftest.$ac_ext -o conftest2.$ac_objext >&5'
12492       rm -f conftest2.*
12493       if { { case "(($ac_try" in
12494   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
12495   *) ac_try_echo=$ac_try;;
12496 esac
12497 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
12498 $as_echo "$ac_try_echo"; } >&5
12499   (eval "$ac_try") 2>&5
12500   ac_status=$?
12501   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
12502   test $ac_status = 0; } &&
12503          test -f conftest2.$ac_objext && { { case "(($ac_try" in
12504   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
12505   *) ac_try_echo=$ac_try;;
12506 esac
12507 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
12508 $as_echo "$ac_try_echo"; } >&5
12509   (eval "$ac_try") 2>&5
12510   ac_status=$?
12511   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
12512   test $ac_status = 0; };
12513       then
12514         # cc works too.
12515         :
12516       else
12517         # cc exists but doesn't like -o.
12518         eval ac_cv_prog_cc_${ac_cc}_c_o=no
12519       fi
12520     fi
12521   fi
12522 else
12523   eval ac_cv_prog_cc_${ac_cc}_c_o=no
12524 fi
12525 rm -f core conftest*
12526
12527 fi
12528 if eval test \$ac_cv_prog_cc_${ac_cc}_c_o = yes; then
12529   { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
12530 $as_echo "yes" >&6; }
12531 else
12532   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12533 $as_echo "no" >&6; }
12534
12535 $as_echo "#define NO_MINUS_C_MINUS_O 1" >>confdefs.h
12536
12537 fi
12538
12539 # FIXME: we rely on the cache variable name because
12540 # there is no other way.
12541 set dummy $CC
12542 am_cc=`echo $2 | sed 's/[^a-zA-Z0-9_]/_/g;s/^[0-9]/_/'`
12543 eval am_t=\$ac_cv_prog_cc_${am_cc}_c_o
12544 if test "$am_t" != yes; then
12545    # Losing compiler, so override with the script.
12546    # FIXME: It is wrong to rewrite CC.
12547    # But if we don't then we get into trouble of one sort or another.
12548    # A longer-term fix would be to have automake use am__CC in this case,
12549    # and then we could set am__CC="\$(top_srcdir)/compile \$(CC)"
12550    CC="$am_aux_dir/compile $CC"
12551 fi
12552
12553
12554
12555 # option to specify python interpreter to use; this just sets $PYTHON, so that
12556 # we will fallback to reading $PYTHON if --with-python is not given, and
12557 # python.m4 will get the expected input
12558
12559 # Check whether --with-python was given.
12560 if test "${with_python+set}" = set; then :
12561   withval=$with_python; PYTHON="$withval"
12562 fi
12563
12564 if test x"$PYTHON" = xyes; then
12565         as_fn_error $? "--with-python option requires a path or program argument" "$LINENO" 5
12566 fi
12567 if test -n "$PYTHON" && ! which "$PYTHON"; then
12568         as_fn_error $? "Python interpreter $PYTHON does not exist" "$LINENO" 5
12569 fi
12570
12571 # check that we have the minimum version of python necessary to build
12572
12573
12574
12575
12576         if test -n "$PYTHON"; then
12577       # If the user set $PYTHON, use it and don't search something else.
12578       { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $PYTHON version >= 2.6" >&5
12579 $as_echo_n "checking whether $PYTHON version >= 2.6... " >&6; }
12580       prog="import sys
12581 # split strings by '.' and convert to numeric.  Append some zeros
12582 # because we need at least 4 digits for the hex conversion.
12583 # map returns an iterator in Python 3.0 and a list in 2.x
12584 minver = list(map(int, '2.6'.split('.'))) + [0, 0, 0]
12585 minverhex = 0
12586 # xrange is not present in Python 3.0 and range returns an iterator
12587 for i in list(range(0, 4)): minverhex = (minverhex << 8) + minver[i]
12588 sys.exit(sys.hexversion < minverhex)"
12589   if { echo "$as_me:$LINENO: $PYTHON -c "$prog"" >&5
12590    ($PYTHON -c "$prog") >&5 2>&5
12591    ac_status=$?
12592    echo "$as_me:$LINENO: \$? = $ac_status" >&5
12593    (exit $ac_status); }; then :
12594   { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
12595 $as_echo "yes" >&6; }
12596 else
12597   as_fn_error $? "too old" "$LINENO" 5
12598 fi
12599       am_display_PYTHON=$PYTHON
12600     else
12601       # Otherwise, try each interpreter until we find one that satisfies
12602       # VERSION.
12603       { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a Python interpreter with version >= 2.6" >&5
12604 $as_echo_n "checking for a Python interpreter with version >= 2.6... " >&6; }
12605 if ${am_cv_pathless_PYTHON+:} false; then :
12606   $as_echo_n "(cached) " >&6
12607 else
12608
12609         for am_cv_pathless_PYTHON in python3 python3.3 python3.2 python3.1 python2 python2.7 python2.6 python none; do
12610           test "$am_cv_pathless_PYTHON" = none && break
12611           prog="import sys
12612 # split strings by '.' and convert to numeric.  Append some zeros
12613 # because we need at least 4 digits for the hex conversion.
12614 # map returns an iterator in Python 3.0 and a list in 2.x
12615 minver = list(map(int, '2.6'.split('.'))) + [0, 0, 0]
12616 minverhex = 0
12617 # xrange is not present in Python 3.0 and range returns an iterator
12618 for i in list(range(0, 4)): minverhex = (minverhex << 8) + minver[i]
12619 sys.exit(sys.hexversion < minverhex)"
12620   if { echo "$as_me:$LINENO: $am_cv_pathless_PYTHON -c "$prog"" >&5
12621    ($am_cv_pathless_PYTHON -c "$prog") >&5 2>&5
12622    ac_status=$?
12623    echo "$as_me:$LINENO: \$? = $ac_status" >&5
12624    (exit $ac_status); }; then :
12625   break
12626 fi
12627         done
12628 fi
12629 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_pathless_PYTHON" >&5
12630 $as_echo "$am_cv_pathless_PYTHON" >&6; }
12631       # Set $PYTHON to the absolute path of $am_cv_pathless_PYTHON.
12632       if test "$am_cv_pathless_PYTHON" = none; then
12633         PYTHON=:
12634       else
12635         # Extract the first word of "$am_cv_pathless_PYTHON", so it can be a program name with args.
12636 set dummy $am_cv_pathless_PYTHON; ac_word=$2
12637 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
12638 $as_echo_n "checking for $ac_word... " >&6; }
12639 if ${ac_cv_path_PYTHON+:} false; then :
12640   $as_echo_n "(cached) " >&6
12641 else
12642   case $PYTHON in
12643   [\\/]* | ?:[\\/]*)
12644   ac_cv_path_PYTHON="$PYTHON" # Let the user override the test with a path.
12645   ;;
12646   *)
12647   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12648 for as_dir in $PATH
12649 do
12650   IFS=$as_save_IFS
12651   test -z "$as_dir" && as_dir=.
12652     for ac_exec_ext in '' $ac_executable_extensions; do
12653   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
12654     ac_cv_path_PYTHON="$as_dir/$ac_word$ac_exec_ext"
12655     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
12656     break 2
12657   fi
12658 done
12659   done
12660 IFS=$as_save_IFS
12661
12662   ;;
12663 esac
12664 fi
12665 PYTHON=$ac_cv_path_PYTHON
12666 if test -n "$PYTHON"; then
12667   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PYTHON" >&5
12668 $as_echo "$PYTHON" >&6; }
12669 else
12670   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12671 $as_echo "no" >&6; }
12672 fi
12673
12674
12675       fi
12676       am_display_PYTHON=$am_cv_pathless_PYTHON
12677     fi
12678
12679
12680   if test "$PYTHON" = :; then
12681       as_fn_error $? "no suitable Python interpreter found" "$LINENO" 5
12682   else
12683
12684
12685   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $am_display_PYTHON version" >&5
12686 $as_echo_n "checking for $am_display_PYTHON version... " >&6; }
12687 if ${am_cv_python_version+:} false; then :
12688   $as_echo_n "(cached) " >&6
12689 else
12690   am_cv_python_version=`$PYTHON -c "import sys; sys.stdout.write(sys.version[:3])"`
12691 fi
12692 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_python_version" >&5
12693 $as_echo "$am_cv_python_version" >&6; }
12694   PYTHON_VERSION=$am_cv_python_version
12695
12696
12697
12698   PYTHON_PREFIX='${prefix}'
12699
12700   PYTHON_EXEC_PREFIX='${exec_prefix}'
12701
12702
12703
12704   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $am_display_PYTHON platform" >&5
12705 $as_echo_n "checking for $am_display_PYTHON platform... " >&6; }
12706 if ${am_cv_python_platform+:} false; then :
12707   $as_echo_n "(cached) " >&6
12708 else
12709   am_cv_python_platform=`$PYTHON -c "import sys; sys.stdout.write(sys.platform)"`
12710 fi
12711 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_python_platform" >&5
12712 $as_echo "$am_cv_python_platform" >&6; }
12713   PYTHON_PLATFORM=$am_cv_python_platform
12714
12715
12716
12717
12718                 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $am_display_PYTHON script directory" >&5
12719 $as_echo_n "checking for $am_display_PYTHON script directory... " >&6; }
12720 if ${am_cv_python_pythondir+:} false; then :
12721   $as_echo_n "(cached) " >&6
12722 else
12723   am_cv_python_pythondir=`$PYTHON -c "from distutils import sysconfig; print(sysconfig.get_python_lib(0,0,prefix='$PYTHON_PREFIX'))" 2>/dev/null ||
12724      echo "$PYTHON_PREFIX/lib/python$PYTHON_VERSION/site-packages"`
12725 fi
12726 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_python_pythondir" >&5
12727 $as_echo "$am_cv_python_pythondir" >&6; }
12728   pythondir=$am_cv_python_pythondir
12729
12730
12731
12732   pkgpythondir=\${pythondir}/$PACKAGE
12733
12734
12735             { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $am_display_PYTHON extension module directory" >&5
12736 $as_echo_n "checking for $am_display_PYTHON extension module directory... " >&6; }
12737 if ${am_cv_python_pyexecdir+:} false; then :
12738   $as_echo_n "(cached) " >&6
12739 else
12740   am_cv_python_pyexecdir=`$PYTHON -c "from distutils import sysconfig; print(sysconfig.get_python_lib(1,0,prefix='$PYTHON_EXEC_PREFIX'))" 2>/dev/null ||
12741      echo "${PYTHON_EXEC_PREFIX}/lib/python${PYTHON_VERSION}/site-packages"`
12742 fi
12743 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_python_pyexecdir" >&5
12744 $as_echo "$am_cv_python_pyexecdir" >&6; }
12745   pyexecdir=$am_cv_python_pyexecdir
12746
12747
12748
12749   pkgpyexecdir=\${pyexecdir}/$PACKAGE
12750
12751
12752
12753   fi
12754
12755
12756
12757 # check if we are building for python 3
12758 prog="import sys
12759 # split strings by '.' and convert to numeric.  Append some zeros
12760 # because we need at least 4 digits for the hex conversion.
12761 # map returns an iterator in Python 3.0 and a list in 2.x
12762 minver = list(map(int, '3.0'.split('.'))) + [0, 0, 0]
12763 minverhex = 0
12764 # xrange is not present in Python 3.0 and range returns an iterator
12765 for i in list(range(0, 4)): minverhex = (minverhex << 8) + minver[i]
12766 sys.exit(sys.hexversion < minverhex)"
12767   if { echo "$as_me:$LINENO: $PYTHON -c "$prog"" >&5
12768    ($PYTHON -c "$prog") >&5 2>&5
12769    ac_status=$?
12770    echo "$as_me:$LINENO: \$? = $ac_status" >&5
12771    (exit $ac_status); }; then :
12772   build_py3k=true
12773 else
12774   build_py3k=false
12775 fi
12776
12777 # if building for python 3 make sure we have the minimum version supported
12778 if test $build_py3k = true ; then
12779   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $PYTHON >= 3.1" >&5
12780 $as_echo_n "checking for $PYTHON >= 3.1... " >&6; }
12781   prog="import sys
12782 # split strings by '.' and convert to numeric.  Append some zeros
12783 # because we need at least 4 digits for the hex conversion.
12784 # map returns an iterator in Python 3.0 and a list in 2.x
12785 minver = list(map(int, '3.1'.split('.'))) + [0, 0, 0]
12786 minverhex = 0
12787 # xrange is not present in Python 3.0 and range returns an iterator
12788 for i in list(range(0, 4)): minverhex = (minverhex << 8) + minver[i]
12789 sys.exit(sys.hexversion < minverhex)"
12790   if { echo "$as_me:$LINENO: $PYTHON -c "$prog"" >&5
12791    ($PYTHON -c "$prog") >&5 2>&5
12792    ac_status=$?
12793    echo "$as_me:$LINENO: \$? = $ac_status" >&5
12794    (exit $ac_status); }; then :
12795   { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
12796 $as_echo "yes" >&6; }
12797 else
12798   as_fn_error $? "too old" "$LINENO" 5
12799 fi
12800 fi
12801
12802
12803
12804
12805
12806
12807
12808         # Find any Python interpreter.
12809     if test -z "$PYTHON"; then
12810       for ac_prog in python3 python3.3 python3.2 python3.1 python2 python2.7 python2.6 python
12811 do
12812   # Extract the first word of "$ac_prog", so it can be a program name with args.
12813 set dummy $ac_prog; ac_word=$2
12814 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
12815 $as_echo_n "checking for $ac_word... " >&6; }
12816 if ${ac_cv_path_PYTHON+:} false; then :
12817   $as_echo_n "(cached) " >&6
12818 else
12819   case $PYTHON in
12820   [\\/]* | ?:[\\/]*)
12821   ac_cv_path_PYTHON="$PYTHON" # Let the user override the test with a path.
12822   ;;
12823   *)
12824   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12825 for as_dir in $PATH
12826 do
12827   IFS=$as_save_IFS
12828   test -z "$as_dir" && as_dir=.
12829     for ac_exec_ext in '' $ac_executable_extensions; do
12830   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
12831     ac_cv_path_PYTHON="$as_dir/$ac_word$ac_exec_ext"
12832     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
12833     break 2
12834   fi
12835 done
12836   done
12837 IFS=$as_save_IFS
12838
12839   ;;
12840 esac
12841 fi
12842 PYTHON=$ac_cv_path_PYTHON
12843 if test -n "$PYTHON"; then
12844   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PYTHON" >&5
12845 $as_echo "$PYTHON" >&6; }
12846 else
12847   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12848 $as_echo "no" >&6; }
12849 fi
12850
12851
12852   test -n "$PYTHON" && break
12853 done
12854 test -n "$PYTHON" || PYTHON=":"
12855
12856     fi
12857     am_display_PYTHON=python
12858
12859
12860   if test "$PYTHON" = :; then
12861       as_fn_error $? "no suitable Python interpreter found" "$LINENO" 5
12862   else
12863
12864
12865   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $am_display_PYTHON version" >&5
12866 $as_echo_n "checking for $am_display_PYTHON version... " >&6; }
12867 if ${am_cv_python_version+:} false; then :
12868   $as_echo_n "(cached) " >&6
12869 else
12870   am_cv_python_version=`$PYTHON -c "import sys; sys.stdout.write(sys.version[:3])"`
12871 fi
12872 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_python_version" >&5
12873 $as_echo "$am_cv_python_version" >&6; }
12874   PYTHON_VERSION=$am_cv_python_version
12875
12876
12877
12878   PYTHON_PREFIX='${prefix}'
12879
12880   PYTHON_EXEC_PREFIX='${exec_prefix}'
12881
12882
12883
12884   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $am_display_PYTHON platform" >&5
12885 $as_echo_n "checking for $am_display_PYTHON platform... " >&6; }
12886 if ${am_cv_python_platform+:} false; then :
12887   $as_echo_n "(cached) " >&6
12888 else
12889   am_cv_python_platform=`$PYTHON -c "import sys; sys.stdout.write(sys.platform)"`
12890 fi
12891 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_python_platform" >&5
12892 $as_echo "$am_cv_python_platform" >&6; }
12893   PYTHON_PLATFORM=$am_cv_python_platform
12894
12895
12896
12897
12898             { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $am_display_PYTHON script directory" >&5
12899 $as_echo_n "checking for $am_display_PYTHON script directory... " >&6; }
12900 if ${am_cv_python_pythondir+:} false; then :
12901   $as_echo_n "(cached) " >&6
12902 else
12903   if test "x$prefix" = xNONE
12904      then
12905        am_py_prefix=$ac_default_prefix
12906      else
12907        am_py_prefix=$prefix
12908      fi
12909      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`
12910      case $am_cv_python_pythondir in
12911      $am_py_prefix*)
12912        am__strip_prefix=`echo "$am_py_prefix" | sed 's|.|.|g'`
12913        am_cv_python_pythondir=`echo "$am_cv_python_pythondir" | sed "s,^$am__strip_prefix,$PYTHON_PREFIX,"`
12914        ;;
12915      *)
12916        case $am_py_prefix in
12917          /usr|/System*) ;;
12918          *)
12919           am_cv_python_pythondir=$PYTHON_PREFIX/lib/python$PYTHON_VERSION/site-packages
12920           ;;
12921        esac
12922        ;;
12923      esac
12924
12925 fi
12926 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_python_pythondir" >&5
12927 $as_echo "$am_cv_python_pythondir" >&6; }
12928   pythondir=$am_cv_python_pythondir
12929
12930
12931
12932   pkgpythondir=\${pythondir}/$PACKAGE
12933
12934
12935         { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $am_display_PYTHON extension module directory" >&5
12936 $as_echo_n "checking for $am_display_PYTHON extension module directory... " >&6; }
12937 if ${am_cv_python_pyexecdir+:} false; then :
12938   $as_echo_n "(cached) " >&6
12939 else
12940   if test "x$exec_prefix" = xNONE
12941      then
12942        am_py_exec_prefix=$am_py_prefix
12943      else
12944        am_py_exec_prefix=$exec_prefix
12945      fi
12946      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`
12947      case $am_cv_python_pyexecdir in
12948      $am_py_exec_prefix*)
12949        am__strip_prefix=`echo "$am_py_exec_prefix" | sed 's|.|.|g'`
12950        am_cv_python_pyexecdir=`echo "$am_cv_python_pyexecdir" | sed "s,^$am__strip_prefix,$PYTHON_EXEC_PREFIX,"`
12951        ;;
12952      *)
12953        case $am_py_exec_prefix in
12954          /usr|/System*) ;;
12955          *)
12956            am_cv_python_pyexecdir=$PYTHON_EXEC_PREFIX/lib/python$PYTHON_VERSION/site-packages
12957            ;;
12958        esac
12959        ;;
12960      esac
12961
12962 fi
12963 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_python_pyexecdir" >&5
12964 $as_echo "$am_cv_python_pyexecdir" >&6; }
12965   pyexecdir=$am_cv_python_pyexecdir
12966
12967
12968
12969   pkgpyexecdir=\${pyexecdir}/$PACKAGE
12970
12971
12972
12973   fi
12974
12975
12976
12977 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for headers required to compile python extensions" >&5
12978 $as_echo_n "checking for headers required to compile python extensions... " >&6; }
12979 if test "x$PYTHON_INCLUDES" = x; then
12980   PYTHON_CONFIG=`which $PYTHON`-config
12981   if test -x "$PYTHON_CONFIG"; then
12982     PYTHON_INCLUDES=`$PYTHON_CONFIG --includes 2>/dev/null`
12983   else
12984     py_prefix=`$PYTHON -c "import sys; sys.stdout.write(sys.prefix)"`
12985     py_exec_prefix=`$PYTHON -c "import sys; sys.stdout.write(sys.exec_prefix)"`
12986     PYTHON_INCLUDES="-I${py_prefix}/include/python${PYTHON_VERSION}"
12987     if test "$py_prefix" != "$py_exec_prefix"; then
12988       PYTHON_INCLUDES="$PYTHON_INCLUDES -I${py_exec_prefix}/include/python${PYTHON_VERSION}"
12989     fi
12990   fi
12991 fi
12992
12993 save_CPPFLAGS="$CPPFLAGS"
12994 CPPFLAGS="$CPPFLAGS $PYTHON_INCLUDES"
12995 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12996 /* end confdefs.h.  */
12997 #include <Python.h>
12998 _ACEOF
12999 if ac_fn_c_try_cpp "$LINENO"; then :
13000   { $as_echo "$as_me:${as_lineno-$LINENO}: result: found" >&5
13001 $as_echo "found" >&6; }
13002
13003 else
13004   { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
13005 $as_echo "not found" >&6; }
13006 as_fn_error $? "Python headers not found" "$LINENO" 5
13007 fi
13008 rm -f conftest.err conftest.i conftest.$ac_ext
13009 CPPFLAGS="$save_CPPFLAGS"
13010
13011 if test "x$os_win32" = "xyes"; then
13012
13013 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libraries required to embed python" >&5
13014 $as_echo_n "checking for libraries required to embed python... " >&6; }
13015 py_exec_prefix=`$PYTHON -c "import sys; print(sys.exec_prefix)"`
13016 if test "x$PYTHON_LIBS" = x; then
13017         PYTHON_LIBS="-L${py_prefix}/lib -lpython${PYTHON_VERSION}"
13018 fi
13019 if test "x$PYTHON_LIB_LOC" = x; then
13020         PYTHON_LIB_LOC="${py_prefix}/lib"
13021 fi
13022
13023
13024 save_LIBS="$LIBS"
13025 LIBS="$LIBS $PYTHON_LIBS"
13026 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13027 /* end confdefs.h.  */
13028
13029 /* Override any GCC internal prototype to avoid an error.
13030    Use char because int might match the return type of a GCC
13031    builtin and then its argument prototype would still apply.  */
13032 #ifdef __cplusplus
13033 extern "C"
13034 #endif
13035 char Py_Initialize ();
13036 int
13037 main ()
13038 {
13039 return Py_Initialize ();
13040   ;
13041   return 0;
13042 }
13043 _ACEOF
13044 if ac_fn_c_try_link "$LINENO"; then :
13045            LIBS="$save_LIBS"; { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
13046 $as_echo "yes" >&6; };
13047 else
13048            LIBS="$save_LIBS"; { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
13049 $as_echo "no" >&6; }; as_fn_error $? "Python libs not found. Windows requires Python modules to be explicitly linked to libpython." "$LINENO" 5
13050 fi
13051 rm -f core conftest.err conftest.$ac_objext \
13052     conftest$ac_exeext conftest.$ac_ext
13053
13054
13055 fi
13056
13057 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for PySignal_SetWakeupFd in Python.h" >&5
13058 $as_echo_n "checking for PySignal_SetWakeupFd in Python.h... " >&6; }
13059 old_CPPFLAGS=$CPPFLAGS
13060 CPPFLAGS="-Wall -Werror $PYTHON_INCLUDES"
13061 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13062 /* end confdefs.h.  */
13063 #include <Python.h>
13064 int
13065 main ()
13066 {
13067 PySignal_SetWakeupFd(0);
13068   ;
13069   return 0;
13070 }
13071 _ACEOF
13072 if ac_fn_c_try_compile "$LINENO"; then :
13073   setwakeupfd_ok=yes
13074 else
13075   setwakeupfd_ok=no
13076 fi
13077 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
13078 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $setwakeupfd_ok" >&5
13079 $as_echo "$setwakeupfd_ok" >&6; }
13080 if test "x$setwakeupfd_ok" != xno; then
13081
13082 $as_echo "#define HAVE_PYSIGNAL_SETWAKEUPFD 1" >>confdefs.h
13083
13084 fi
13085 CPPFLAGS=$old_CPPFLAGS
13086
13087 PLATFORM=`$PYTHON -c "import sys; from distutils import util; sys.stdout.write(util.get_platform())"`
13088
13089
13090 # Check whether --enable-thread was given.
13091 if test "${enable_thread+set}" = set; then :
13092   enableval=$enable_thread;
13093 else
13094   enable_thread=yes
13095 fi
13096
13097
13098
13099 py_mod_var=`echo thread'_' | sed 'y%./+-%__p_%'`
13100 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for python module thread" >&5
13101 $as_echo_n "checking for python module thread... " >&6; }
13102 if eval \${py_cv_mod_$py_mod_var+:} false; then :
13103   $as_echo_n "(cached) " >&6
13104 else
13105
13106 prog="
13107 import sys
13108 try:
13109         import thread
13110 except ImportError:
13111         sys.exit(1)
13112 except:
13113         sys.exit(0)
13114 sys.exit(0)"
13115 if $PYTHON -c "$prog" 1>&5 2>&5
13116   then
13117     eval "py_cv_mod_$py_mod_var=yes"
13118   else
13119     eval "py_cv_mod_$py_mod_var=no"
13120   fi
13121
13122 fi
13123
13124 py_val=`eval "echo \`echo '$py_cv_mod_'$py_mod_var\`"`
13125 if test "x$py_val" != xno; then
13126   { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
13127 $as_echo "yes" >&6; }
13128   else
13129   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
13130 $as_echo "no" >&6; }
13131   enable_thread=check_for_py3_module
13132 fi
13133
13134 if test "x$enable_thread" = xcheck_for_py3_module; then
13135
13136 py_mod_var=`echo _thread'_' | sed 'y%./+-%__p_%'`
13137 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for python module _thread" >&5
13138 $as_echo_n "checking for python module _thread... " >&6; }
13139 if eval \${py_cv_mod_$py_mod_var+:} false; then :
13140   $as_echo_n "(cached) " >&6
13141 else
13142
13143 prog="
13144 import sys
13145 try:
13146         import _thread
13147 except ImportError:
13148         sys.exit(1)
13149 except:
13150         sys.exit(0)
13151 sys.exit(0)"
13152 if $PYTHON -c "$prog" 1>&5 2>&5
13153   then
13154     eval "py_cv_mod_$py_mod_var=yes"
13155   else
13156     eval "py_cv_mod_$py_mod_var=no"
13157   fi
13158
13159 fi
13160
13161 py_val=`eval "echo \`echo '$py_cv_mod_'$py_mod_var\`"`
13162 if test "x$py_val" != xno; then
13163   { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
13164 $as_echo "yes" >&6; }
13165   enable_thread=yes
13166 else
13167   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
13168 $as_echo "no" >&6; }
13169   enable_thread=no
13170 fi
13171
13172 fi
13173
13174 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to enable threading in pygobject" >&5
13175 $as_echo_n "checking whether to enable threading in pygobject... " >&6; }
13176 if test "x$enable_thread" != xno; then
13177   extra_mods=gthread
13178   THREADING_CFLAGS=
13179   { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
13180 $as_echo "yes" >&6; }
13181 else
13182   extra_mods=
13183   THREADING_CFLAGS="-DDISABLE_THREADING"
13184   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
13185 $as_echo "no" >&6; }
13186 fi
13187
13188 CPPFLAGS="${CPPFLAGS} $THREADING_CFLAGS"
13189
13190 export_dynamic=`(./libtool --config; echo eval echo \\$export_dynamic_flag_spec) | sh`
13191
13192 # Check whether --enable-glibtest was given.
13193 if test "${enable_glibtest+set}" = set; then :
13194   enableval=$enable_glibtest;
13195 else
13196   enable_glibtest=yes
13197 fi
13198
13199
13200   pkg_config_args=glib-2.0
13201   for module in . gobject $extra_mods
13202   do
13203       case "$module" in
13204          gmodule)
13205              pkg_config_args="$pkg_config_args gmodule-2.0"
13206          ;;
13207          gmodule-no-export)
13208              pkg_config_args="$pkg_config_args gmodule-no-export-2.0"
13209          ;;
13210          gobject)
13211              pkg_config_args="$pkg_config_args gobject-2.0"
13212          ;;
13213          gthread)
13214              pkg_config_args="$pkg_config_args gthread-2.0"
13215          ;;
13216          gio*)
13217              pkg_config_args="$pkg_config_args $module-2.0"
13218          ;;
13219       esac
13220   done
13221
13222
13223
13224
13225
13226
13227
13228
13229 if test "x$ac_cv_env_PKG_CONFIG_set" != "xset"; then
13230         if test -n "$ac_tool_prefix"; then
13231   # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
13232 set dummy ${ac_tool_prefix}pkg-config; ac_word=$2
13233 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
13234 $as_echo_n "checking for $ac_word... " >&6; }
13235 if ${ac_cv_path_PKG_CONFIG+:} false; then :
13236   $as_echo_n "(cached) " >&6
13237 else
13238   case $PKG_CONFIG in
13239   [\\/]* | ?:[\\/]*)
13240   ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path.
13241   ;;
13242   *)
13243   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
13244 for as_dir in $PATH
13245 do
13246   IFS=$as_save_IFS
13247   test -z "$as_dir" && as_dir=.
13248     for ac_exec_ext in '' $ac_executable_extensions; do
13249   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
13250     ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
13251     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
13252     break 2
13253   fi
13254 done
13255   done
13256 IFS=$as_save_IFS
13257
13258   ;;
13259 esac
13260 fi
13261 PKG_CONFIG=$ac_cv_path_PKG_CONFIG
13262 if test -n "$PKG_CONFIG"; then
13263   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PKG_CONFIG" >&5
13264 $as_echo "$PKG_CONFIG" >&6; }
13265 else
13266   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
13267 $as_echo "no" >&6; }
13268 fi
13269
13270
13271 fi
13272 if test -z "$ac_cv_path_PKG_CONFIG"; then
13273   ac_pt_PKG_CONFIG=$PKG_CONFIG
13274   # Extract the first word of "pkg-config", so it can be a program name with args.
13275 set dummy pkg-config; ac_word=$2
13276 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
13277 $as_echo_n "checking for $ac_word... " >&6; }
13278 if ${ac_cv_path_ac_pt_PKG_CONFIG+:} false; then :
13279   $as_echo_n "(cached) " >&6
13280 else
13281   case $ac_pt_PKG_CONFIG in
13282   [\\/]* | ?:[\\/]*)
13283   ac_cv_path_ac_pt_PKG_CONFIG="$ac_pt_PKG_CONFIG" # Let the user override the test with a path.
13284   ;;
13285   *)
13286   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
13287 for as_dir in $PATH
13288 do
13289   IFS=$as_save_IFS
13290   test -z "$as_dir" && as_dir=.
13291     for ac_exec_ext in '' $ac_executable_extensions; do
13292   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
13293     ac_cv_path_ac_pt_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
13294     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
13295     break 2
13296   fi
13297 done
13298   done
13299 IFS=$as_save_IFS
13300
13301   ;;
13302 esac
13303 fi
13304 ac_pt_PKG_CONFIG=$ac_cv_path_ac_pt_PKG_CONFIG
13305 if test -n "$ac_pt_PKG_CONFIG"; then
13306   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_pt_PKG_CONFIG" >&5
13307 $as_echo "$ac_pt_PKG_CONFIG" >&6; }
13308 else
13309   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
13310 $as_echo "no" >&6; }
13311 fi
13312
13313   if test "x$ac_pt_PKG_CONFIG" = x; then
13314     PKG_CONFIG=""
13315   else
13316     case $cross_compiling:$ac_tool_warned in
13317 yes:)
13318 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
13319 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
13320 ac_tool_warned=yes ;;
13321 esac
13322     PKG_CONFIG=$ac_pt_PKG_CONFIG
13323   fi
13324 else
13325   PKG_CONFIG="$ac_cv_path_PKG_CONFIG"
13326 fi
13327
13328 fi
13329 if test -n "$PKG_CONFIG"; then
13330         _pkg_min_version=0.16
13331         { $as_echo "$as_me:${as_lineno-$LINENO}: checking pkg-config is at least version $_pkg_min_version" >&5
13332 $as_echo_n "checking pkg-config is at least version $_pkg_min_version... " >&6; }
13333         if $PKG_CONFIG --atleast-pkgconfig-version $_pkg_min_version; then
13334                 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
13335 $as_echo "yes" >&6; }
13336         else
13337                 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
13338 $as_echo "no" >&6; }
13339                 PKG_CONFIG=""
13340         fi
13341 fi
13342
13343   no_glib=""
13344
13345   if test "x$PKG_CONFIG" = x ; then
13346     no_glib=yes
13347     PKG_CONFIG=no
13348   fi
13349
13350   min_glib_version=2.34.2
13351   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GLIB - version >= $min_glib_version" >&5
13352 $as_echo_n "checking for GLIB - version >= $min_glib_version... " >&6; }
13353
13354   if test x$PKG_CONFIG != xno ; then
13355     ## don't try to run the test against uninstalled libtool libs
13356     if $PKG_CONFIG --uninstalled $pkg_config_args; then
13357           echo "Will use uninstalled version of GLib found in PKG_CONFIG_PATH"
13358           enable_glibtest=no
13359     fi
13360
13361     if $PKG_CONFIG --atleast-version $min_glib_version $pkg_config_args; then
13362           :
13363     else
13364           no_glib=yes
13365     fi
13366   fi
13367
13368   if test x"$no_glib" = x ; then
13369     GLIB_GENMARSHAL=`$PKG_CONFIG --variable=glib_genmarshal glib-2.0`
13370     GOBJECT_QUERY=`$PKG_CONFIG --variable=gobject_query glib-2.0`
13371     GLIB_MKENUMS=`$PKG_CONFIG --variable=glib_mkenums glib-2.0`
13372     GLIB_COMPILE_RESOURCES=`$PKG_CONFIG --variable=glib_compile_resources gio-2.0`
13373
13374     GLIB_CFLAGS=`$PKG_CONFIG --cflags $pkg_config_args`
13375     GLIB_LIBS=`$PKG_CONFIG --libs $pkg_config_args`
13376     glib_config_major_version=`$PKG_CONFIG --modversion glib-2.0 | \
13377            sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\1/'`
13378     glib_config_minor_version=`$PKG_CONFIG --modversion glib-2.0 | \
13379            sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\2/'`
13380     glib_config_micro_version=`$PKG_CONFIG --modversion glib-2.0 | \
13381            sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\3/'`
13382     if test "x$enable_glibtest" = "xyes" ; then
13383       ac_save_CFLAGS="$CFLAGS"
13384       ac_save_LIBS="$LIBS"
13385       CFLAGS="$CFLAGS $GLIB_CFLAGS"
13386       LIBS="$GLIB_LIBS $LIBS"
13387       rm -f conf.glibtest
13388       if test "$cross_compiling" = yes; then :
13389   echo $ac_n "cross compiling; assumed OK... $ac_c"
13390 else
13391   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13392 /* end confdefs.h.  */
13393
13394 #include <glib.h>
13395 #include <stdio.h>
13396 #include <stdlib.h>
13397
13398 int
13399 main ()
13400 {
13401   unsigned int major, minor, micro;
13402   char *tmp_version;
13403
13404   fclose (fopen ("conf.glibtest", "w"));
13405
13406   /* HP/UX 9 (%@#!) writes to sscanf strings */
13407   tmp_version = g_strdup("$min_glib_version");
13408   if (sscanf(tmp_version, "%u.%u.%u", &major, &minor, &micro) != 3) {
13409      printf("%s, bad version string\n", "$min_glib_version");
13410      exit(1);
13411    }
13412
13413   if ((glib_major_version != $glib_config_major_version) ||
13414       (glib_minor_version != $glib_config_minor_version) ||
13415       (glib_micro_version != $glib_config_micro_version))
13416     {
13417       printf("\n*** 'pkg-config --modversion glib-2.0' returned %d.%d.%d, but GLIB (%d.%d.%d)\n",
13418              $glib_config_major_version, $glib_config_minor_version, $glib_config_micro_version,
13419              glib_major_version, glib_minor_version, glib_micro_version);
13420       printf ("*** was found! If pkg-config was correct, then it is best\n");
13421       printf ("*** to remove the old version of GLib. You may also be able to fix the error\n");
13422       printf("*** by modifying your LD_LIBRARY_PATH enviroment variable, or by editing\n");
13423       printf("*** /etc/ld.so.conf. Make sure you have run ldconfig if that is\n");
13424       printf("*** required on your system.\n");
13425       printf("*** If pkg-config was wrong, set the environment variable PKG_CONFIG_PATH\n");
13426       printf("*** to point to the correct configuration files\n");
13427     }
13428   else if ((glib_major_version != GLIB_MAJOR_VERSION) ||
13429            (glib_minor_version != GLIB_MINOR_VERSION) ||
13430            (glib_micro_version != GLIB_MICRO_VERSION))
13431     {
13432       printf("*** GLIB header files (version %d.%d.%d) do not match\n",
13433              GLIB_MAJOR_VERSION, GLIB_MINOR_VERSION, GLIB_MICRO_VERSION);
13434       printf("*** library (version %d.%d.%d)\n",
13435              glib_major_version, glib_minor_version, glib_micro_version);
13436     }
13437   else
13438     {
13439       if ((glib_major_version > major) ||
13440         ((glib_major_version == major) && (glib_minor_version > minor)) ||
13441         ((glib_major_version == major) && (glib_minor_version == minor) && (glib_micro_version >= micro)))
13442       {
13443         return 0;
13444        }
13445      else
13446       {
13447         printf("\n*** An old version of GLIB (%u.%u.%u) was found.\n",
13448                glib_major_version, glib_minor_version, glib_micro_version);
13449         printf("*** You need a version of GLIB newer than %u.%u.%u. The latest version of\n",
13450                major, minor, micro);
13451         printf("*** GLIB is always available from ftp://ftp.gtk.org.\n");
13452         printf("***\n");
13453         printf("*** If you have already installed a sufficiently new version, this error\n");
13454         printf("*** probably means that the wrong copy of the pkg-config shell script is\n");
13455         printf("*** being found. The easiest way to fix this is to remove the old version\n");
13456         printf("*** of GLIB, but you can also set the PKG_CONFIG environment to point to the\n");
13457         printf("*** correct copy of pkg-config. (In this case, you will have to\n");
13458         printf("*** modify your LD_LIBRARY_PATH enviroment variable, or edit /etc/ld.so.conf\n");
13459         printf("*** so that the correct libraries are found at run-time))\n");
13460       }
13461     }
13462   return 1;
13463 }
13464
13465 _ACEOF
13466 if ac_fn_c_try_run "$LINENO"; then :
13467
13468 else
13469   no_glib=yes
13470 fi
13471 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
13472   conftest.$ac_objext conftest.beam conftest.$ac_ext
13473 fi
13474
13475        CFLAGS="$ac_save_CFLAGS"
13476        LIBS="$ac_save_LIBS"
13477      fi
13478   fi
13479   if test "x$no_glib" = x ; then
13480      { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes (version $glib_config_major_version.$glib_config_minor_version.$glib_config_micro_version)" >&5
13481 $as_echo "yes (version $glib_config_major_version.$glib_config_minor_version.$glib_config_micro_version)" >&6; }
13482      :
13483   else
13484      { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
13485 $as_echo "no" >&6; }
13486      if test "$PKG_CONFIG" = "no" ; then
13487        echo "*** A new enough version of pkg-config was not found."
13488        echo "*** See http://www.freedesktop.org/software/pkgconfig/"
13489      else
13490        if test -f conf.glibtest ; then
13491         :
13492        else
13493           echo "*** Could not run GLIB test program, checking why..."
13494           ac_save_CFLAGS="$CFLAGS"
13495           ac_save_LIBS="$LIBS"
13496           CFLAGS="$CFLAGS $GLIB_CFLAGS"
13497           LIBS="$LIBS $GLIB_LIBS"
13498           cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13499 /* end confdefs.h.  */
13500
13501 #include <glib.h>
13502 #include <stdio.h>
13503
13504 int
13505 main ()
13506 {
13507  return ((glib_major_version) || (glib_minor_version) || (glib_micro_version));
13508   ;
13509   return 0;
13510 }
13511 _ACEOF
13512 if ac_fn_c_try_link "$LINENO"; then :
13513    echo "*** The test program compiled, but did not run. This usually means"
13514           echo "*** that the run-time linker is not finding GLIB or finding the wrong"
13515           echo "*** version of GLIB. If it is not finding GLIB, you'll need to set your"
13516           echo "*** LD_LIBRARY_PATH environment variable, or edit /etc/ld.so.conf to point"
13517           echo "*** to the installed location  Also, make sure you have run ldconfig if that"
13518           echo "*** is required on your system"
13519           echo "***"
13520           echo "*** If you have an old version installed, it is best to remove it, although"
13521           echo "*** you may also be able to get things to work by modifying LD_LIBRARY_PATH"
13522 else
13523    echo "*** The test program failed to compile or link. See the file config.log for the"
13524           echo "*** exact error that occured. This usually means GLIB is incorrectly installed."
13525 fi
13526 rm -f core conftest.err conftest.$ac_objext \
13527     conftest$ac_exeext conftest.$ac_ext
13528           CFLAGS="$ac_save_CFLAGS"
13529           LIBS="$ac_save_LIBS"
13530        fi
13531      fi
13532      GLIB_CFLAGS=""
13533      GLIB_LIBS=""
13534      GLIB_GENMARSHAL=""
13535      GOBJECT_QUERY=""
13536      GLIB_MKENUMS=""
13537      GLIB_COMPILE_RESOURCES=""
13538      as_fn_error $? "maybe you want the pygobject-2-4 branch?" "$LINENO" 5
13539   fi
13540
13541
13542
13543
13544
13545
13546   rm -f conf.glibtest
13547
13548 if test -n "$export_dynamic"; then
13549   GLIB_LIBS=`echo $GLIB_LIBS | sed -e "s/$export_dynamic//"`
13550 fi
13551 PYTHON_BASENAME=`basename $PYTHON`
13552
13553
13554
13555   EXP_VAR=DATADIR
13556   FROM_VAR=$datadir
13557
13558     prefix_save=$prefix
13559   exec_prefix_save=$exec_prefix
13560
13561     if test "x$prefix" = "xNONE"; then
13562     prefix=$ac_default_prefix
13563   fi
13564     if test "x$exec_prefix" = "xNONE"; then
13565     exec_prefix=$prefix
13566   fi
13567
13568   full_var="$FROM_VAR"
13569     while true; do
13570     new_full_var="`eval echo $full_var`"
13571     if test "x$new_full_var"="x$full_var"; then break; fi
13572     full_var=$new_full_var
13573   done
13574
13575     full_var=$new_full_var
13576   DATADIR="$full_var"
13577
13578
13579     prefix=$prefix_save
13580   exec_prefix=$exec_prefix_save
13581
13582
13583 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ffi" >&5
13584 $as_echo_n "checking for ffi... " >&6; }
13585
13586 # Check whether --with-ffi was given.
13587 if test "${with_ffi+set}" = set; then :
13588   withval=$with_ffi; with_libffi=$withval
13589 else
13590   with_libffi=auto
13591 fi
13592
13593 if test x"$with_libffi" = xno ; then
13594   have_libffi=false
13595 else
13596
13597 pkg_failed=no
13598 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for FFI" >&5
13599 $as_echo_n "checking for FFI... " >&6; }
13600
13601 if test -n "$FFI_CFLAGS"; then
13602     pkg_cv_FFI_CFLAGS="$FFI_CFLAGS"
13603  elif test -n "$PKG_CONFIG"; then
13604     if test -n "$PKG_CONFIG" && \
13605     { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"libffi >= 3.0\""; } >&5
13606   ($PKG_CONFIG --exists --print-errors "libffi >= 3.0") 2>&5
13607   ac_status=$?
13608   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
13609   test $ac_status = 0; }; then
13610   pkg_cv_FFI_CFLAGS=`$PKG_CONFIG --cflags "libffi >= 3.0" 2>/dev/null`
13611                       test "x$?" != "x0" && pkg_failed=yes
13612 else
13613   pkg_failed=yes
13614 fi
13615  else
13616     pkg_failed=untried
13617 fi
13618 if test -n "$FFI_LIBS"; then
13619     pkg_cv_FFI_LIBS="$FFI_LIBS"
13620  elif test -n "$PKG_CONFIG"; then
13621     if test -n "$PKG_CONFIG" && \
13622     { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"libffi >= 3.0\""; } >&5
13623   ($PKG_CONFIG --exists --print-errors "libffi >= 3.0") 2>&5
13624   ac_status=$?
13625   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
13626   test $ac_status = 0; }; then
13627   pkg_cv_FFI_LIBS=`$PKG_CONFIG --libs "libffi >= 3.0" 2>/dev/null`
13628                       test "x$?" != "x0" && pkg_failed=yes
13629 else
13630   pkg_failed=yes
13631 fi
13632  else
13633     pkg_failed=untried
13634 fi
13635
13636
13637
13638 if test $pkg_failed = yes; then
13639         { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
13640 $as_echo "no" >&6; }
13641
13642 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
13643         _pkg_short_errors_supported=yes
13644 else
13645         _pkg_short_errors_supported=no
13646 fi
13647         if test $_pkg_short_errors_supported = yes; then
13648                 FFI_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "libffi >= 3.0" 2>&1`
13649         else
13650                 FFI_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "libffi >= 3.0" 2>&1`
13651         fi
13652         # Put the nasty error message in config.log where it belongs
13653         echo "$FFI_PKG_ERRORS" >&5
13654
13655         have_libffi=no
13656 elif test $pkg_failed = untried; then
13657         { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
13658 $as_echo "no" >&6; }
13659         have_libffi=no
13660 else
13661         FFI_CFLAGS=$pkg_cv_FFI_CFLAGS
13662         FFI_LIBS=$pkg_cv_FFI_LIBS
13663         { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
13664 $as_echo "yes" >&6; }
13665         have_libffi=yes
13666 fi
13667 fi
13668 if test x"$with_libffi" = xyes && test x"$have_libffi" = xno ; then
13669   as_fn_error $? "ffi requested, but not found" "$LINENO" 5
13670 fi
13671 if test x"$have_libffi" = xyes; then
13672   LIBFFI_PC=libffi
13673 fi
13674  if test "$have_libffi" = "yes"; then
13675   HAVE_LIBFFI_TRUE=
13676   HAVE_LIBFFI_FALSE='#'
13677 else
13678   HAVE_LIBFFI_TRUE='#'
13679   HAVE_LIBFFI_FALSE=
13680 fi
13681
13682
13683
13684
13685
13686
13687 pkg_failed=no
13688 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GIO" >&5
13689 $as_echo_n "checking for GIO... " >&6; }
13690
13691 if test -n "$GIO_CFLAGS"; then
13692     pkg_cv_GIO_CFLAGS="$GIO_CFLAGS"
13693  elif test -n "$PKG_CONFIG"; then
13694     if test -n "$PKG_CONFIG" && \
13695     { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"gio-2.0 >= 2.34.2\""; } >&5
13696   ($PKG_CONFIG --exists --print-errors "gio-2.0 >= 2.34.2") 2>&5
13697   ac_status=$?
13698   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
13699   test $ac_status = 0; }; then
13700   pkg_cv_GIO_CFLAGS=`$PKG_CONFIG --cflags "gio-2.0 >= 2.34.2" 2>/dev/null`
13701                       test "x$?" != "x0" && pkg_failed=yes
13702 else
13703   pkg_failed=yes
13704 fi
13705  else
13706     pkg_failed=untried
13707 fi
13708 if test -n "$GIO_LIBS"; then
13709     pkg_cv_GIO_LIBS="$GIO_LIBS"
13710  elif test -n "$PKG_CONFIG"; then
13711     if test -n "$PKG_CONFIG" && \
13712     { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"gio-2.0 >= 2.34.2\""; } >&5
13713   ($PKG_CONFIG --exists --print-errors "gio-2.0 >= 2.34.2") 2>&5
13714   ac_status=$?
13715   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
13716   test $ac_status = 0; }; then
13717   pkg_cv_GIO_LIBS=`$PKG_CONFIG --libs "gio-2.0 >= 2.34.2" 2>/dev/null`
13718                       test "x$?" != "x0" && pkg_failed=yes
13719 else
13720   pkg_failed=yes
13721 fi
13722  else
13723     pkg_failed=untried
13724 fi
13725
13726
13727
13728 if test $pkg_failed = yes; then
13729         { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
13730 $as_echo "no" >&6; }
13731
13732 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
13733         _pkg_short_errors_supported=yes
13734 else
13735         _pkg_short_errors_supported=no
13736 fi
13737         if test $_pkg_short_errors_supported = yes; then
13738                 GIO_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "gio-2.0 >= 2.34.2" 2>&1`
13739         else
13740                 GIO_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "gio-2.0 >= 2.34.2" 2>&1`
13741         fi
13742         # Put the nasty error message in config.log where it belongs
13743         echo "$GIO_PKG_ERRORS" >&5
13744
13745         as_fn_error $? "Package requirements (gio-2.0 >= 2.34.2) were not met:
13746
13747 $GIO_PKG_ERRORS
13748
13749 Consider adjusting the PKG_CONFIG_PATH environment variable if you
13750 installed software in a non-standard prefix.
13751
13752 Alternatively, you may set the environment variables GIO_CFLAGS
13753 and GIO_LIBS to avoid the need to call pkg-config.
13754 See the pkg-config man page for more details." "$LINENO" 5
13755 elif test $pkg_failed = untried; then
13756         { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
13757 $as_echo "no" >&6; }
13758         { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
13759 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
13760 as_fn_error $? "The pkg-config script could not be found or is too old.  Make sure it
13761 is in your PATH or set the PKG_CONFIG environment variable to the full
13762 path to pkg-config.
13763
13764 Alternatively, you may set the environment variables GIO_CFLAGS
13765 and GIO_LIBS to avoid the need to call pkg-config.
13766 See the pkg-config man page for more details.
13767
13768 To get pkg-config, see <http://pkg-config.freedesktop.org/>.
13769 See \`config.log' for more details" "$LINENO" 5; }
13770 else
13771         GIO_CFLAGS=$pkg_cv_GIO_CFLAGS
13772         GIO_LIBS=$pkg_cv_GIO_LIBS
13773         { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
13774 $as_echo "yes" >&6; }
13775
13776 fi
13777
13778 # Check whether --enable-cairo was given.
13779 if test "${enable_cairo+set}" = set; then :
13780   enableval=$enable_cairo; enable_cairo=$enableval
13781 else
13782   enable_cairo=yes
13783 fi
13784
13785
13786
13787 pkg_failed=no
13788 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GI" >&5
13789 $as_echo_n "checking for GI... " >&6; }
13790
13791 if test -n "$GI_CFLAGS"; then
13792     pkg_cv_GI_CFLAGS="$GI_CFLAGS"
13793  elif test -n "$PKG_CONFIG"; then
13794     if test -n "$PKG_CONFIG" && \
13795     { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"glib-2.0 >= 2.34.2
13796     gobject-introspection-1.0 >= 1.34.2
13797 \""; } >&5
13798   ($PKG_CONFIG --exists --print-errors "glib-2.0 >= 2.34.2
13799     gobject-introspection-1.0 >= 1.34.2
13800 ") 2>&5
13801   ac_status=$?
13802   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
13803   test $ac_status = 0; }; then
13804   pkg_cv_GI_CFLAGS=`$PKG_CONFIG --cflags "glib-2.0 >= 2.34.2
13805     gobject-introspection-1.0 >= 1.34.2
13806 " 2>/dev/null`
13807                       test "x$?" != "x0" && pkg_failed=yes
13808 else
13809   pkg_failed=yes
13810 fi
13811  else
13812     pkg_failed=untried
13813 fi
13814 if test -n "$GI_LIBS"; then
13815     pkg_cv_GI_LIBS="$GI_LIBS"
13816  elif test -n "$PKG_CONFIG"; then
13817     if test -n "$PKG_CONFIG" && \
13818     { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"glib-2.0 >= 2.34.2
13819     gobject-introspection-1.0 >= 1.34.2
13820 \""; } >&5
13821   ($PKG_CONFIG --exists --print-errors "glib-2.0 >= 2.34.2
13822     gobject-introspection-1.0 >= 1.34.2
13823 ") 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_GI_LIBS=`$PKG_CONFIG --libs "glib-2.0 >= 2.34.2
13828     gobject-introspection-1.0 >= 1.34.2
13829 " 2>/dev/null`
13830                       test "x$?" != "x0" && pkg_failed=yes
13831 else
13832   pkg_failed=yes
13833 fi
13834  else
13835     pkg_failed=untried
13836 fi
13837
13838
13839
13840 if test $pkg_failed = yes; then
13841         { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
13842 $as_echo "no" >&6; }
13843
13844 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
13845         _pkg_short_errors_supported=yes
13846 else
13847         _pkg_short_errors_supported=no
13848 fi
13849         if test $_pkg_short_errors_supported = yes; then
13850                 GI_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "glib-2.0 >= 2.34.2
13851     gobject-introspection-1.0 >= 1.34.2
13852 " 2>&1`
13853         else
13854                 GI_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "glib-2.0 >= 2.34.2
13855     gobject-introspection-1.0 >= 1.34.2
13856 " 2>&1`
13857         fi
13858         # Put the nasty error message in config.log where it belongs
13859         echo "$GI_PKG_ERRORS" >&5
13860
13861         as_fn_error $? "Package requirements (glib-2.0 >= 2.34.2
13862     gobject-introspection-1.0 >= 1.34.2
13863 ) were not met:
13864
13865 $GI_PKG_ERRORS
13866
13867 Consider adjusting the PKG_CONFIG_PATH environment variable if you
13868 installed software in a non-standard prefix.
13869
13870 Alternatively, you may set the environment variables GI_CFLAGS
13871 and GI_LIBS to avoid the need to call pkg-config.
13872 See the pkg-config man page for more details." "$LINENO" 5
13873 elif test $pkg_failed = untried; then
13874         { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
13875 $as_echo "no" >&6; }
13876         { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
13877 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
13878 as_fn_error $? "The pkg-config script could not be found or is too old.  Make sure it
13879 is in your PATH or set the PKG_CONFIG environment variable to the full
13880 path to pkg-config.
13881
13882 Alternatively, you may set the environment variables GI_CFLAGS
13883 and GI_LIBS to avoid the need to call pkg-config.
13884 See the pkg-config man page for more details.
13885
13886 To get pkg-config, see <http://pkg-config.freedesktop.org/>.
13887 See \`config.log' for more details" "$LINENO" 5; }
13888 else
13889         GI_CFLAGS=$pkg_cv_GI_CFLAGS
13890         GI_LIBS=$pkg_cv_GI_LIBS
13891         { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
13892 $as_echo "yes" >&6; }
13893
13894 fi
13895
13896 GI_DATADIR=$($PKG_CONFIG --variable=gidatadir gobject-introspection-1.0)
13897
13898
13899 if test "$enable_cairo" != no; then
13900
13901 pkg_failed=no
13902 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for CAIRO" >&5
13903 $as_echo_n "checking for CAIRO... " >&6; }
13904
13905 if test -n "$CAIRO_CFLAGS"; then
13906     pkg_cv_CAIRO_CFLAGS="$CAIRO_CFLAGS"
13907  elif test -n "$PKG_CONFIG"; then
13908     if test -n "$PKG_CONFIG" && \
13909     { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"cairo cairo-gobject\""; } >&5
13910   ($PKG_CONFIG --exists --print-errors "cairo cairo-gobject") 2>&5
13911   ac_status=$?
13912   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
13913   test $ac_status = 0; }; then
13914   pkg_cv_CAIRO_CFLAGS=`$PKG_CONFIG --cflags "cairo cairo-gobject" 2>/dev/null`
13915                       test "x$?" != "x0" && pkg_failed=yes
13916 else
13917   pkg_failed=yes
13918 fi
13919  else
13920     pkg_failed=untried
13921 fi
13922 if test -n "$CAIRO_LIBS"; then
13923     pkg_cv_CAIRO_LIBS="$CAIRO_LIBS"
13924  elif test -n "$PKG_CONFIG"; then
13925     if test -n "$PKG_CONFIG" && \
13926     { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"cairo cairo-gobject\""; } >&5
13927   ($PKG_CONFIG --exists --print-errors "cairo cairo-gobject") 2>&5
13928   ac_status=$?
13929   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
13930   test $ac_status = 0; }; then
13931   pkg_cv_CAIRO_LIBS=`$PKG_CONFIG --libs "cairo cairo-gobject" 2>/dev/null`
13932                       test "x$?" != "x0" && pkg_failed=yes
13933 else
13934   pkg_failed=yes
13935 fi
13936  else
13937     pkg_failed=untried
13938 fi
13939
13940
13941
13942 if test $pkg_failed = yes; then
13943         { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
13944 $as_echo "no" >&6; }
13945
13946 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
13947         _pkg_short_errors_supported=yes
13948 else
13949         _pkg_short_errors_supported=no
13950 fi
13951         if test $_pkg_short_errors_supported = yes; then
13952                 CAIRO_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "cairo cairo-gobject" 2>&1`
13953         else
13954                 CAIRO_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "cairo cairo-gobject" 2>&1`
13955         fi
13956         # Put the nasty error message in config.log where it belongs
13957         echo "$CAIRO_PKG_ERRORS" >&5
13958
13959         as_fn_error $? "Package requirements (cairo cairo-gobject) were not met:
13960
13961 $CAIRO_PKG_ERRORS
13962
13963 Consider adjusting the PKG_CONFIG_PATH environment variable if you
13964 installed software in a non-standard prefix.
13965
13966 Alternatively, you may set the environment variables CAIRO_CFLAGS
13967 and CAIRO_LIBS to avoid the need to call pkg-config.
13968 See the pkg-config man page for more details." "$LINENO" 5
13969 elif test $pkg_failed = untried; then
13970         { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
13971 $as_echo "no" >&6; }
13972         { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
13973 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
13974 as_fn_error $? "The pkg-config script could not be found or is too old.  Make sure it
13975 is in your PATH or set the PKG_CONFIG environment variable to the full
13976 path to pkg-config.
13977
13978 Alternatively, you may set the environment variables CAIRO_CFLAGS
13979 and CAIRO_LIBS to avoid the need to call pkg-config.
13980 See the pkg-config man page for more details.
13981
13982 To get pkg-config, see <http://pkg-config.freedesktop.org/>.
13983 See \`config.log' for more details" "$LINENO" 5; }
13984 else
13985         CAIRO_CFLAGS=$pkg_cv_CAIRO_CFLAGS
13986         CAIRO_LIBS=$pkg_cv_CAIRO_LIBS
13987         { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
13988 $as_echo "yes" >&6; }
13989
13990 fi
13991
13992     if test $build_py3k = true; then
13993
13994 pkg_failed=no
13995 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for PYCAIRO" >&5
13996 $as_echo_n "checking for PYCAIRO... " >&6; }
13997
13998 if test -n "$PYCAIRO_CFLAGS"; then
13999     pkg_cv_PYCAIRO_CFLAGS="$PYCAIRO_CFLAGS"
14000  elif test -n "$PKG_CONFIG"; then
14001     if test -n "$PKG_CONFIG" && \
14002     { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"py3cairo >= 1.10.0
14003         \""; } >&5
14004   ($PKG_CONFIG --exists --print-errors "py3cairo >= 1.10.0
14005         ") 2>&5
14006   ac_status=$?
14007   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
14008   test $ac_status = 0; }; then
14009   pkg_cv_PYCAIRO_CFLAGS=`$PKG_CONFIG --cflags "py3cairo >= 1.10.0
14010         " 2>/dev/null`
14011                       test "x$?" != "x0" && pkg_failed=yes
14012 else
14013   pkg_failed=yes
14014 fi
14015  else
14016     pkg_failed=untried
14017 fi
14018 if test -n "$PYCAIRO_LIBS"; then
14019     pkg_cv_PYCAIRO_LIBS="$PYCAIRO_LIBS"
14020  elif test -n "$PKG_CONFIG"; then
14021     if test -n "$PKG_CONFIG" && \
14022     { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"py3cairo >= 1.10.0
14023         \""; } >&5
14024   ($PKG_CONFIG --exists --print-errors "py3cairo >= 1.10.0
14025         ") 2>&5
14026   ac_status=$?
14027   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
14028   test $ac_status = 0; }; then
14029   pkg_cv_PYCAIRO_LIBS=`$PKG_CONFIG --libs "py3cairo >= 1.10.0
14030         " 2>/dev/null`
14031                       test "x$?" != "x0" && pkg_failed=yes
14032 else
14033   pkg_failed=yes
14034 fi
14035  else
14036     pkg_failed=untried
14037 fi
14038
14039
14040
14041 if test $pkg_failed = yes; then
14042         { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
14043 $as_echo "no" >&6; }
14044
14045 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
14046         _pkg_short_errors_supported=yes
14047 else
14048         _pkg_short_errors_supported=no
14049 fi
14050         if test $_pkg_short_errors_supported = yes; then
14051                 PYCAIRO_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "py3cairo >= 1.10.0
14052         " 2>&1`
14053         else
14054                 PYCAIRO_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "py3cairo >= 1.10.0
14055         " 2>&1`
14056         fi
14057         # Put the nasty error message in config.log where it belongs
14058         echo "$PYCAIRO_PKG_ERRORS" >&5
14059
14060         as_fn_error $? "Package requirements (py3cairo >= 1.10.0
14061         ) were not met:
14062
14063 $PYCAIRO_PKG_ERRORS
14064
14065 Consider adjusting the PKG_CONFIG_PATH environment variable if you
14066 installed software in a non-standard prefix.
14067
14068 Alternatively, you may set the environment variables PYCAIRO_CFLAGS
14069 and PYCAIRO_LIBS to avoid the need to call pkg-config.
14070 See the pkg-config man page for more details." "$LINENO" 5
14071 elif test $pkg_failed = untried; then
14072         { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
14073 $as_echo "no" >&6; }
14074         { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
14075 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
14076 as_fn_error $? "The pkg-config script could not be found or is too old.  Make sure it
14077 is in your PATH or set the PKG_CONFIG environment variable to the full
14078 path to pkg-config.
14079
14080 Alternatively, you may set the environment variables PYCAIRO_CFLAGS
14081 and PYCAIRO_LIBS to avoid the need to call pkg-config.
14082 See the pkg-config man page for more details.
14083
14084 To get pkg-config, see <http://pkg-config.freedesktop.org/>.
14085 See \`config.log' for more details" "$LINENO" 5; }
14086 else
14087         PYCAIRO_CFLAGS=$pkg_cv_PYCAIRO_CFLAGS
14088         PYCAIRO_LIBS=$pkg_cv_PYCAIRO_LIBS
14089         { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
14090 $as_echo "yes" >&6; }
14091
14092 fi
14093     else
14094
14095 pkg_failed=no
14096 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for PYCAIRO" >&5
14097 $as_echo_n "checking for PYCAIRO... " >&6; }
14098
14099 if test -n "$PYCAIRO_CFLAGS"; then
14100     pkg_cv_PYCAIRO_CFLAGS="$PYCAIRO_CFLAGS"
14101  elif test -n "$PKG_CONFIG"; then
14102     if test -n "$PKG_CONFIG" && \
14103     { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"pycairo >= 1.2.0
14104         \""; } >&5
14105   ($PKG_CONFIG --exists --print-errors "pycairo >= 1.2.0
14106         ") 2>&5
14107   ac_status=$?
14108   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
14109   test $ac_status = 0; }; then
14110   pkg_cv_PYCAIRO_CFLAGS=`$PKG_CONFIG --cflags "pycairo >= 1.2.0
14111         " 2>/dev/null`
14112                       test "x$?" != "x0" && pkg_failed=yes
14113 else
14114   pkg_failed=yes
14115 fi
14116  else
14117     pkg_failed=untried
14118 fi
14119 if test -n "$PYCAIRO_LIBS"; then
14120     pkg_cv_PYCAIRO_LIBS="$PYCAIRO_LIBS"
14121  elif test -n "$PKG_CONFIG"; then
14122     if test -n "$PKG_CONFIG" && \
14123     { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"pycairo >= 1.2.0
14124         \""; } >&5
14125   ($PKG_CONFIG --exists --print-errors "pycairo >= 1.2.0
14126         ") 2>&5
14127   ac_status=$?
14128   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
14129   test $ac_status = 0; }; then
14130   pkg_cv_PYCAIRO_LIBS=`$PKG_CONFIG --libs "pycairo >= 1.2.0
14131         " 2>/dev/null`
14132                       test "x$?" != "x0" && pkg_failed=yes
14133 else
14134   pkg_failed=yes
14135 fi
14136  else
14137     pkg_failed=untried
14138 fi
14139
14140
14141
14142 if test $pkg_failed = yes; then
14143         { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
14144 $as_echo "no" >&6; }
14145
14146 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
14147         _pkg_short_errors_supported=yes
14148 else
14149         _pkg_short_errors_supported=no
14150 fi
14151         if test $_pkg_short_errors_supported = yes; then
14152                 PYCAIRO_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "pycairo >= 1.2.0
14153         " 2>&1`
14154         else
14155                 PYCAIRO_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "pycairo >= 1.2.0
14156         " 2>&1`
14157         fi
14158         # Put the nasty error message in config.log where it belongs
14159         echo "$PYCAIRO_PKG_ERRORS" >&5
14160
14161         as_fn_error $? "Package requirements (pycairo >= 1.2.0
14162         ) were not met:
14163
14164 $PYCAIRO_PKG_ERRORS
14165
14166 Consider adjusting the PKG_CONFIG_PATH environment variable if you
14167 installed software in a non-standard prefix.
14168
14169 Alternatively, you may set the environment variables PYCAIRO_CFLAGS
14170 and PYCAIRO_LIBS to avoid the need to call pkg-config.
14171 See the pkg-config man page for more details." "$LINENO" 5
14172 elif test $pkg_failed = untried; then
14173         { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
14174 $as_echo "no" >&6; }
14175         { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
14176 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
14177 as_fn_error $? "The pkg-config script could not be found or is too old.  Make sure it
14178 is in your PATH or set the PKG_CONFIG environment variable to the full
14179 path to pkg-config.
14180
14181 Alternatively, you may set the environment variables PYCAIRO_CFLAGS
14182 and PYCAIRO_LIBS to avoid the need to call pkg-config.
14183 See the pkg-config man page for more details.
14184
14185 To get pkg-config, see <http://pkg-config.freedesktop.org/>.
14186 See \`config.log' for more details" "$LINENO" 5; }
14187 else
14188         PYCAIRO_CFLAGS=$pkg_cv_PYCAIRO_CFLAGS
14189         PYCAIRO_LIBS=$pkg_cv_PYCAIRO_LIBS
14190         { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
14191 $as_echo "yes" >&6; }
14192
14193 fi
14194     fi
14195 fi
14196  if test "$enable_cairo" = "yes"; then
14197   ENABLE_CAIRO_TRUE=
14198   ENABLE_CAIRO_FALSE='#'
14199 else
14200   ENABLE_CAIRO_TRUE='#'
14201   ENABLE_CAIRO_FALSE=
14202 fi
14203
14204
14205 INTROSPECTION_SCANNER=`$PKG_CONFIG --variable=g_ir_scanner gobject-introspection-1.0`
14206 INTROSPECTION_COMPILER=`$PKG_CONFIG --variable=g_ir_compiler gobject-introspection-1.0`
14207
14208
14209
14210
14211 # compiler warnings, errors, required cflags, and code coverage support
14212
14213
14214     # Check whether --enable-compile-warnings was given.
14215 if test "${enable_compile_warnings+set}" = set; then :
14216   enableval=$enable_compile_warnings;
14217 else
14218   enable_compile_warnings="maximum"
14219 fi
14220
14221
14222     if test "x$GCC" != xyes; then
14223         enable_compile_warnings=no
14224     fi
14225
14226     warning_flags=
14227     realsave_CFLAGS="$CFLAGS"
14228
14229             base_warn_flags=" \
14230         -Wall \
14231         -Wstrict-prototypes \
14232         -Wnested-externs \
14233     "
14234
14235                     base_error_flags=" \
14236         -Werror=missing-prototypes \
14237         -Werror=implicit-function-declaration \
14238         -Werror=pointer-arith \
14239         -Werror=init-self \
14240         -Werror=format-security \
14241         -Werror=format=2 \
14242         -Werror=missing-include-dirs \
14243     "
14244
14245     case "$enable_compile_warnings" in
14246     no)
14247         warning_flags=
14248         ;;
14249     minimum)
14250         warning_flags="-Wall"
14251         ;;
14252     yes)
14253         warning_flags="$base_warn_flags $base_error_flags"
14254         ;;
14255     maximum|error)
14256         warning_flags="$base_warn_flags $base_error_flags"
14257         ;;
14258     *)
14259         as_fn_error $? "Unknown argument '$enable_compile_warnings' to --enable-compile-warnings" "$LINENO" 5
14260         ;;
14261     esac
14262
14263     if test "$enable_compile_warnings" = "error" ; then
14264         warning_flags="$warning_flags -Werror"
14265     fi
14266
14267         for option in $warning_flags; do
14268         save_CFLAGS="$CFLAGS"
14269         CFLAGS="$CFLAGS $option"
14270         { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether gcc understands $option" >&5
14271 $as_echo_n "checking whether gcc understands $option... " >&6; }
14272         cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14273 /* end confdefs.h.  */
14274
14275 int
14276 main ()
14277 {
14278
14279   ;
14280   return 0;
14281 }
14282 _ACEOF
14283 if ac_fn_c_try_compile "$LINENO"; then :
14284   has_option=yes
14285 else
14286   has_option=no
14287 fi
14288 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
14289         CFLAGS="$save_CFLAGS"
14290         { $as_echo "$as_me:${as_lineno-$LINENO}: result: $has_option" >&5
14291 $as_echo "$has_option" >&6; }
14292         if test $has_option = yes; then
14293             tested_warning_flags="$tested_warning_flags $option"
14294         fi
14295         unset has_option
14296         unset save_CFLAGS
14297     done
14298     unset option
14299     CFLAGS="$realsave_CFLAGS"
14300     { $as_echo "$as_me:${as_lineno-$LINENO}: checking what warning flags to pass to the C compiler" >&5
14301 $as_echo_n "checking what warning flags to pass to the C compiler... " >&6; }
14302     { $as_echo "$as_me:${as_lineno-$LINENO}: result: $tested_warning_flags" >&5
14303 $as_echo "$tested_warning_flags" >&6; }
14304
14305     # Check whether --enable-iso-c was given.
14306 if test "${enable_iso_c+set}" = set; then :
14307   enableval=$enable_iso_c;
14308 else
14309   enable_iso_c=no
14310 fi
14311
14312
14313     { $as_echo "$as_me:${as_lineno-$LINENO}: checking what language compliance flags to pass to the C compiler" >&5
14314 $as_echo_n "checking what language compliance flags to pass to the C compiler... " >&6; }
14315     complCFLAGS=
14316     if test "x$enable_iso_c" != "xno"; then
14317         if test "x$GCC" = "xyes"; then
14318         case " $CFLAGS " in
14319             *\ \        -ansi\ \        *) ;;
14320             *) complCFLAGS="$complCFLAGS -ansi" ;;
14321         esac
14322         case " $CFLAGS " in
14323             *\ \        -pedantic\ \    *) ;;
14324             *) complCFLAGS="$complCFLAGS -pedantic" ;;
14325         esac
14326         fi
14327     fi
14328     { $as_echo "$as_me:${as_lineno-$LINENO}: result: $complCFLAGS" >&5
14329 $as_echo "$complCFLAGS" >&6; }
14330
14331     WARN_CFLAGS="$tested_warning_flags $complCFLAGS"
14332
14333
14334 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for Gnome code coverage support" >&5
14335 $as_echo_n "checking for Gnome code coverage support... " >&6; }
14336 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
14337 $as_echo "yes" >&6; }
14338
14339                 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build with code coverage support" >&5
14340 $as_echo_n "checking whether to build with code coverage support... " >&6; }
14341         # Check whether --enable-code-coverage was given.
14342 if test "${enable_code_coverage+set}" = set; then :
14343   enableval=$enable_code_coverage;
14344 else
14345   enable_code_coverage=no
14346 fi
14347
14348          if test x$enable_code_coverage = xyes; then
14349   CODE_COVERAGE_ENABLED_TRUE=
14350   CODE_COVERAGE_ENABLED_FALSE='#'
14351 else
14352   CODE_COVERAGE_ENABLED_TRUE='#'
14353   CODE_COVERAGE_ENABLED_FALSE=
14354 fi
14355
14356         CODE_COVERAGE_ENABLED=$enable_code_coverage
14357
14358         { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_code_coverage" >&5
14359 $as_echo "$enable_code_coverage" >&6; }
14360
14361         if  test "$enable_code_coverage" = "yes" ; then :
14362
14363                                 if  test "$GCC" = "no" ; then :
14364
14365                         as_fn_error $? "not compiling with gcc, which is required for gcov code coverage" "$LINENO" 5
14366
14367 fi
14368
14369                 # List of supported lcov versions.
14370                 lcov_version_list="1.6 1.7 1.8 1.9"
14371
14372                 # Extract the first word of "lcov", so it can be a program name with args.
14373 set dummy lcov; ac_word=$2
14374 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
14375 $as_echo_n "checking for $ac_word... " >&6; }
14376 if ${ac_cv_prog_LCOV+:} false; then :
14377   $as_echo_n "(cached) " >&6
14378 else
14379   if test -n "$LCOV"; then
14380   ac_cv_prog_LCOV="$LCOV" # Let the user override the test.
14381 else
14382 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
14383 for as_dir in $PATH
14384 do
14385   IFS=$as_save_IFS
14386   test -z "$as_dir" && as_dir=.
14387     for ac_exec_ext in '' $ac_executable_extensions; do
14388   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
14389     ac_cv_prog_LCOV="lcov"
14390     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
14391     break 2
14392   fi
14393 done
14394   done
14395 IFS=$as_save_IFS
14396
14397 fi
14398 fi
14399 LCOV=$ac_cv_prog_LCOV
14400 if test -n "$LCOV"; then
14401   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LCOV" >&5
14402 $as_echo "$LCOV" >&6; }
14403 else
14404   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
14405 $as_echo "no" >&6; }
14406 fi
14407
14408
14409                 # Extract the first word of "genhtml", so it can be a program name with args.
14410 set dummy genhtml; ac_word=$2
14411 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
14412 $as_echo_n "checking for $ac_word... " >&6; }
14413 if ${ac_cv_prog_GENHTML+:} false; then :
14414   $as_echo_n "(cached) " >&6
14415 else
14416   if test -n "$GENHTML"; then
14417   ac_cv_prog_GENHTML="$GENHTML" # Let the user override the test.
14418 else
14419 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
14420 for as_dir in $PATH
14421 do
14422   IFS=$as_save_IFS
14423   test -z "$as_dir" && as_dir=.
14424     for ac_exec_ext in '' $ac_executable_extensions; do
14425   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
14426     ac_cv_prog_GENHTML="genhtml"
14427     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
14428     break 2
14429   fi
14430 done
14431   done
14432 IFS=$as_save_IFS
14433
14434 fi
14435 fi
14436 GENHTML=$ac_cv_prog_GENHTML
14437 if test -n "$GENHTML"; then
14438   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $GENHTML" >&5
14439 $as_echo "$GENHTML" >&6; }
14440 else
14441   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
14442 $as_echo "no" >&6; }
14443 fi
14444
14445
14446
14447                 if  test "$LCOV" ; then :
14448
14449                         { $as_echo "$as_me:${as_lineno-$LINENO}: checking for lcov version" >&5
14450 $as_echo_n "checking for lcov version... " >&6; }
14451 if ${gnome_cv_lcov_version+:} false; then :
14452   $as_echo_n "(cached) " >&6
14453 else
14454
14455                                 gnome_cv_lcov_version=invalid
14456                                 lcov_version=`$LCOV -v 2>/dev/null | $SED -e 's/^.* //'`
14457                                 for lcov_check_version in $lcov_version_list; do
14458                                         if test "$lcov_version" = "$lcov_check_version"; then
14459                                                 gnome_cv_lcov_version="$lcov_check_version (ok)"
14460                                         fi
14461                                 done
14462
14463 fi
14464 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gnome_cv_lcov_version" >&5
14465 $as_echo "$gnome_cv_lcov_version" >&6; }
14466
14467 else
14468
14469                         lcov_msg="To enable code coverage reporting you must have one of the following lcov versions installed: $lcov_version_list"
14470                         as_fn_error $? "$lcov_msg" "$LINENO" 5
14471
14472 fi
14473
14474                 case $gnome_cv_lcov_version in
14475                         ""|invalid)
14476                                 lcov_msg="You must have one of the following versions of lcov: $lcov_version_list (found: $lcov_version)."
14477                                 as_fn_error $? "$lcov_msg" "$LINENO" 5
14478                                 LCOV="exit 0;"
14479                         ;;
14480                 esac
14481
14482                 if  test -z "$GENHTML" ; then :
14483
14484                         as_fn_error $? "Could not find genhtml from the lcov package" "$LINENO" 5
14485
14486 fi
14487
14488                                 CODE_COVERAGE_CFLAGS="-O0 -g -fprofile-arcs -ftest-coverage"
14489                 CODE_COVERAGE_LDFLAGS="-lgcov"
14490
14491
14492
14493
14494 fi
14495
14496 GNOME_CODE_COVERAGE_RULES='
14497 # Code coverage
14498 #
14499 # Optional:
14500 #  - CODE_COVERAGE_DIRECTORY: Top-level directory for code coverage reporting.
14501 #    (Default: $(top_builddir))
14502 #  - CODE_COVERAGE_OUTPUT_FILE: Filename and path for the .info file generated
14503 #    by lcov for code coverage. (Default:
14504 #    $(PACKAGE_NAME)-$(PACKAGE_VERSION)-coverage.info)
14505 #  - CODE_COVERAGE_OUTPUT_DIRECTORY: Directory for generated code coverage
14506 #    reports to be created. (Default:
14507 #    $(PACKAGE_NAME)-$(PACKAGE_VERSION)-coverage)
14508 #  - CODE_COVERAGE_LCOV_OPTIONS: Extra options to pass to the lcov instance.
14509 #    (Default: empty)
14510 #  - CODE_COVERAGE_GENHTML_OPTIONS: Extra options to pass to the genhtml
14511 #    instance. (Default: empty)
14512 #  - CODE_COVERAGE_IGNORE_PATTERN: Extra glob pattern of files to ignore
14513 #
14514 # The generated report will be titled using the $(PACKAGE_NAME) and
14515 # $(PACKAGE_VERSION). In order to add the current git hash to the title,
14516 # use the git-version-gen script, available online.
14517
14518 # Optional variables
14519 CODE_COVERAGE_DIRECTORY ?= $(top_builddir)
14520 CODE_COVERAGE_OUTPUT_FILE ?= $(PACKAGE_NAME)-$(PACKAGE_VERSION)-coverage.info
14521 CODE_COVERAGE_OUTPUT_DIRECTORY ?= $(PACKAGE_NAME)-$(PACKAGE_VERSION)-coverage
14522 CODE_COVERAGE_LCOV_OPTIONS ?=
14523 CODE_COVERAGE_GENHTML_OPTIONS ?=
14524 CODE_COVERAGE_IGNORE_PATTERN ?=
14525
14526 code_coverage_quiet = $(code_coverage_quiet_$(V))
14527 code_coverage_quiet_ = $(code_coverage_quiet_$(AM_DEFAULT_VERBOSITY))
14528 code_coverage_quiet_0 = --quiet
14529
14530 # Use recursive makes in order to ignore errors during check
14531 check-code-coverage:
14532 ifdef CODE_COVERAGE_ENABLED
14533         -$(MAKE) $(AM_MAKEFLAGS) -k check
14534         $(MAKE) $(AM_MAKEFLAGS) code-coverage-capture
14535 else
14536         @echo "Need to reconfigure with --enable-code-coverage"
14537 endif
14538
14539 # Capture code coverage data
14540 code-coverage-capture: code-coverage-capture-hook
14541 ifdef CODE_COVERAGE_ENABLED
14542         $(LCOV) $(code_coverage_quiet) --directory $(CODE_COVERAGE_DIRECTORY) --capture --output-file "$(CODE_COVERAGE_OUTPUT_FILE).tmp" --test-name "$(PACKAGE_NAME)-$(PACKAGE_VERSION)" --no-checksum --compat-libtool $(CODE_COVERAGE_LCOV_OPTIONS)
14543         $(LCOV) $(code_coverage_quiet) --directory $(CODE_COVERAGE_DIRECTORY) --remove "$(CODE_COVERAGE_OUTPUT_FILE).tmp" "/tmp/*" $(CODE_COVERAGE_IGNORE_PATTERN) --output-file "$(CODE_COVERAGE_OUTPUT_FILE)"
14544         -@rm -f $(CODE_COVERAGE_OUTPUT_FILE).tmp
14545         LANG=C $(GENHTML) $(code_coverage_quiet) --prefix $(CODE_COVERAGE_DIRECTORY) --output-directory "$(CODE_COVERAGE_OUTPUT_DIRECTORY)" --title "$(PACKAGE_NAME)-$(PACKAGE_VERSION) Code Coverage" --legend --show-details "$(CODE_COVERAGE_OUTPUT_FILE)" $(CODE_COVERAGE_GENHTML_OPTIONS)
14546         @echo "file://$(abs_builddir)/$(CODE_COVERAGE_OUTPUT_DIRECTORY)/index.html"
14547 else
14548         @echo "Need to reconfigure with --enable-code-coverage"
14549 endif
14550
14551 # Hook rule executed before code-coverage-capture, overridable by the user
14552 code-coverage-capture-hook:
14553
14554 clean: code-coverage-clean
14555 code-coverage-clean:
14556         -$(LCOV) --directory $(top_builddir) -z
14557         -rm -rf $(CODE_COVERAGE_OUTPUT_FILE) $(CODE_COVERAGE_OUTPUT_FILE).tmp $(CODE_COVERAGE_OUTPUT_DIRECTORY)
14558         -find . -name "*.gcda" -o -name "*.gcov" -delete
14559
14560 GITIGNOREFILES ?=
14561 GITIGNOREFILES += $(CODE_COVERAGE_OUTPUT_FILE) $(CODE_COVERAGE_OUTPUT_DIRECTORY)
14562
14563 DISTCHECK_CONFIGURE_FLAGS ?=
14564 DISTCHECK_CONFIGURE_FLAGS += --disable-code-coverage
14565
14566 .PHONY: check-code-coverage code-coverage-capture code-coverage-capture-hook code-coverage-clean
14567 '
14568
14569
14570
14571
14572
14573 if test "x$GCC" = "xyes"; then
14574
14575 case " $CFLAGS " in
14576 *[\     \ ]-Wall[\      \ ]*)
14577   ;;
14578 *)
14579   save_CFLAGS="$CFLAGS"
14580   CFLAGS="$CFLAGS -Wall"
14581   { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC understands -Wall" >&5
14582 $as_echo_n "checking whether $CC understands -Wall... " >&6; }
14583   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14584 /* end confdefs.h.  */
14585
14586 int
14587 main ()
14588 {
14589
14590   ;
14591   return 0;
14592 }
14593 _ACEOF
14594 if ac_fn_c_try_compile "$LINENO"; then :
14595   jh_has_option=yes
14596 else
14597   jh_has_option=no
14598 fi
14599 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
14600   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $jh_has_option" >&5
14601 $as_echo "$jh_has_option" >&6; }
14602   if test $jh_has_option = no; then
14603     CFLAGS="$save_CFLAGS"
14604   fi
14605   ;;
14606 esac
14607
14608 case " $CFLAGS " in
14609 *[\     \ ]-Werror=unused-variable[\    \ ]*)
14610   ;;
14611 *)
14612   save_CFLAGS="$CFLAGS"
14613   CFLAGS="$CFLAGS -Werror=unused-variable"
14614   { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC understands -Werror=unused-variable" >&5
14615 $as_echo_n "checking whether $CC understands -Werror=unused-variable... " >&6; }
14616   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14617 /* end confdefs.h.  */
14618
14619 int
14620 main ()
14621 {
14622
14623   ;
14624   return 0;
14625 }
14626 _ACEOF
14627 if ac_fn_c_try_compile "$LINENO"; then :
14628   jh_has_option=yes
14629 else
14630   jh_has_option=no
14631 fi
14632 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
14633   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $jh_has_option" >&5
14634 $as_echo "$jh_has_option" >&6; }
14635   if test $jh_has_option = no; then
14636     CFLAGS="$save_CFLAGS"
14637   fi
14638   ;;
14639 esac
14640
14641 case " $CFLAGS " in
14642 *[\     \ ]-fno-strict-aliasing[\       \ ]*)
14643   ;;
14644 *)
14645   save_CFLAGS="$CFLAGS"
14646   CFLAGS="$CFLAGS -fno-strict-aliasing"
14647   { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC understands -fno-strict-aliasing" >&5
14648 $as_echo_n "checking whether $CC understands -fno-strict-aliasing... " >&6; }
14649   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14650 /* end confdefs.h.  */
14651
14652 int
14653 main ()
14654 {
14655
14656   ;
14657   return 0;
14658 }
14659 _ACEOF
14660 if ac_fn_c_try_compile "$LINENO"; then :
14661   jh_has_option=yes
14662 else
14663   jh_has_option=no
14664 fi
14665 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
14666   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $jh_has_option" >&5
14667 $as_echo "$jh_has_option" >&6; }
14668   if test $jh_has_option = no; then
14669     CFLAGS="$save_CFLAGS"
14670   fi
14671   ;;
14672 esac
14673
14674   case $host_os in
14675   solaris*)
14676     ;;
14677   *)
14678
14679 case " $CFLAGS " in
14680 *[\     \ ]-std=c9x[\   \ ]*)
14681   ;;
14682 *)
14683   save_CFLAGS="$CFLAGS"
14684   CFLAGS="$CFLAGS -std=c9x"
14685   { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC understands -std=c9x" >&5
14686 $as_echo_n "checking whether $CC understands -std=c9x... " >&6; }
14687   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14688 /* end confdefs.h.  */
14689
14690 int
14691 main ()
14692 {
14693
14694   ;
14695   return 0;
14696 }
14697 _ACEOF
14698 if ac_fn_c_try_compile "$LINENO"; then :
14699   jh_has_option=yes
14700 else
14701   jh_has_option=no
14702 fi
14703 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
14704   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $jh_has_option" >&5
14705 $as_echo "$jh_has_option" >&6; }
14706   if test $jh_has_option = no; then
14707     CFLAGS="$save_CFLAGS"
14708   fi
14709   ;;
14710 esac
14711     ;;
14712   esac
14713
14714 fi
14715
14716 CFLAGS="$CFLAGS $WARN_CFLAGS $CODE_COVERAGE_CFLAGS"
14717 LDFLAGS="$LDFLAGS $CODE_COVERAGE_CFLAGS"
14718
14719 ac_config_files="$ac_config_files Makefile pygobject-3.0.pc pygobject-3.0-uninstalled.pc gi/Makefile gi/repository/Makefile gi/overrides/Makefile gi/_glib/Makefile gi/_gobject/Makefile examples/Makefile tests/Makefile pygtkcompat/Makefile PKG-INFO"
14720
14721 cat >confcache <<\_ACEOF
14722 # This file is a shell script that caches the results of configure
14723 # tests run on this system so they can be shared between configure
14724 # scripts and configure runs, see configure's option --config-cache.
14725 # It is not useful on other systems.  If it contains results you don't
14726 # want to keep, you may remove or edit it.
14727 #
14728 # config.status only pays attention to the cache file if you give it
14729 # the --recheck option to rerun configure.
14730 #
14731 # `ac_cv_env_foo' variables (set or unset) will be overridden when
14732 # loading this file, other *unset* `ac_cv_foo' will be assigned the
14733 # following values.
14734
14735 _ACEOF
14736
14737 # The following way of writing the cache mishandles newlines in values,
14738 # but we know of no workaround that is simple, portable, and efficient.
14739 # So, we kill variables containing newlines.
14740 # Ultrix sh set writes to stderr and can't be redirected directly,
14741 # and sets the high bit in the cache file unless we assign to the vars.
14742 (
14743   for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
14744     eval ac_val=\$$ac_var
14745     case $ac_val in #(
14746     *${as_nl}*)
14747       case $ac_var in #(
14748       *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
14749 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
14750       esac
14751       case $ac_var in #(
14752       _ | IFS | as_nl) ;; #(
14753       BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
14754       *) { eval $ac_var=; unset $ac_var;} ;;
14755       esac ;;
14756     esac
14757   done
14758
14759   (set) 2>&1 |
14760     case $as_nl`(ac_space=' '; set) 2>&1` in #(
14761     *${as_nl}ac_space=\ *)
14762       # `set' does not quote correctly, so add quotes: double-quote
14763       # substitution turns \\\\ into \\, and sed turns \\ into \.
14764       sed -n \
14765         "s/'/'\\\\''/g;
14766           s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
14767       ;; #(
14768     *)
14769       # `set' quotes correctly as required by POSIX, so do not add quotes.
14770       sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
14771       ;;
14772     esac |
14773     sort
14774 ) |
14775   sed '
14776      /^ac_cv_env_/b end
14777      t clear
14778      :clear
14779      s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
14780      t end
14781      s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
14782      :end' >>confcache
14783 if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
14784   if test -w "$cache_file"; then
14785     if test "x$cache_file" != "x/dev/null"; then
14786       { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
14787 $as_echo "$as_me: updating cache $cache_file" >&6;}
14788       if test ! -f "$cache_file" || test -h "$cache_file"; then
14789         cat confcache >"$cache_file"
14790       else
14791         case $cache_file in #(
14792         */* | ?:*)
14793           mv -f confcache "$cache_file"$$ &&
14794           mv -f "$cache_file"$$ "$cache_file" ;; #(
14795         *)
14796           mv -f confcache "$cache_file" ;;
14797         esac
14798       fi
14799     fi
14800   else
14801     { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
14802 $as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
14803   fi
14804 fi
14805 rm -f confcache
14806
14807 test "x$prefix" = xNONE && prefix=$ac_default_prefix
14808 # Let make expand exec_prefix.
14809 test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
14810
14811 DEFS=-DHAVE_CONFIG_H
14812
14813 ac_libobjs=
14814 ac_ltlibobjs=
14815 U=
14816 for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
14817   # 1. Remove the extension, and $U if already installed.
14818   ac_script='s/\$U\././;s/\.o$//;s/\.obj$//'
14819   ac_i=`$as_echo "$ac_i" | sed "$ac_script"`
14820   # 2. Prepend LIBOBJDIR.  When used with automake>=1.10 LIBOBJDIR
14821   #    will be set to the directory where LIBOBJS objects are built.
14822   as_fn_append ac_libobjs " \${LIBOBJDIR}$ac_i\$U.$ac_objext"
14823   as_fn_append ac_ltlibobjs " \${LIBOBJDIR}$ac_i"'$U.lo'
14824 done
14825 LIBOBJS=$ac_libobjs
14826
14827 LTLIBOBJS=$ac_ltlibobjs
14828
14829
14830  if test -n "$EXEEXT"; then
14831   am__EXEEXT_TRUE=
14832   am__EXEEXT_FALSE='#'
14833 else
14834   am__EXEEXT_TRUE='#'
14835   am__EXEEXT_FALSE=
14836 fi
14837
14838 if test -z "${PLATFORM_WIN32_TRUE}" && test -z "${PLATFORM_WIN32_FALSE}"; then
14839   as_fn_error $? "conditional \"PLATFORM_WIN32\" was never defined.
14840 Usually this means the macro was only invoked conditionally." "$LINENO" 5
14841 fi
14842 if test -z "${OS_WIN32_TRUE}" && test -z "${OS_WIN32_FALSE}"; then
14843   as_fn_error $? "conditional \"OS_WIN32\" was never defined.
14844 Usually this means the macro was only invoked conditionally." "$LINENO" 5
14845 fi
14846 if test -z "${AMDEP_TRUE}" && test -z "${AMDEP_FALSE}"; then
14847   as_fn_error $? "conditional \"AMDEP\" was never defined.
14848 Usually this means the macro was only invoked conditionally." "$LINENO" 5
14849 fi
14850 if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
14851   as_fn_error $? "conditional \"am__fastdepCC\" was never defined.
14852 Usually this means the macro was only invoked conditionally." "$LINENO" 5
14853 fi
14854 if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
14855   as_fn_error $? "conditional \"am__fastdepCC\" was never defined.
14856 Usually this means the macro was only invoked conditionally." "$LINENO" 5
14857 fi
14858 if test -z "${HAVE_LIBFFI_TRUE}" && test -z "${HAVE_LIBFFI_FALSE}"; then
14859   as_fn_error $? "conditional \"HAVE_LIBFFI\" was never defined.
14860 Usually this means the macro was only invoked conditionally." "$LINENO" 5
14861 fi
14862 if test -z "${ENABLE_CAIRO_TRUE}" && test -z "${ENABLE_CAIRO_FALSE}"; then
14863   as_fn_error $? "conditional \"ENABLE_CAIRO\" was never defined.
14864 Usually this means the macro was only invoked conditionally." "$LINENO" 5
14865 fi
14866 if test -z "${CODE_COVERAGE_ENABLED_TRUE}" && test -z "${CODE_COVERAGE_ENABLED_FALSE}"; then
14867   as_fn_error $? "conditional \"CODE_COVERAGE_ENABLED\" was never defined.
14868 Usually this means the macro was only invoked conditionally." "$LINENO" 5
14869 fi
14870
14871 : "${CONFIG_STATUS=./config.status}"
14872 ac_write_fail=0
14873 ac_clean_files_save=$ac_clean_files
14874 ac_clean_files="$ac_clean_files $CONFIG_STATUS"
14875 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5
14876 $as_echo "$as_me: creating $CONFIG_STATUS" >&6;}
14877 as_write_fail=0
14878 cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1
14879 #! $SHELL
14880 # Generated by $as_me.
14881 # Run this file to recreate the current configuration.
14882 # Compiler output produced by configure, useful for debugging
14883 # configure, is in config.log if it exists.
14884
14885 debug=false
14886 ac_cs_recheck=false
14887 ac_cs_silent=false
14888
14889 SHELL=\${CONFIG_SHELL-$SHELL}
14890 export SHELL
14891 _ASEOF
14892 cat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail=1
14893 ## -------------------- ##
14894 ## M4sh Initialization. ##
14895 ## -------------------- ##
14896
14897 # Be more Bourne compatible
14898 DUALCASE=1; export DUALCASE # for MKS sh
14899 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :
14900   emulate sh
14901   NULLCMD=:
14902   # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
14903   # is contrary to our usage.  Disable this feature.
14904   alias -g '${1+"$@"}'='"$@"'
14905   setopt NO_GLOB_SUBST
14906 else
14907   case `(set -o) 2>/dev/null` in #(
14908   *posix*) :
14909     set -o posix ;; #(
14910   *) :
14911      ;;
14912 esac
14913 fi
14914
14915
14916 as_nl='
14917 '
14918 export as_nl
14919 # Printing a long string crashes Solaris 7 /usr/bin/printf.
14920 as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
14921 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
14922 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
14923 # Prefer a ksh shell builtin over an external printf program on Solaris,
14924 # but without wasting forks for bash or zsh.
14925 if test -z "$BASH_VERSION$ZSH_VERSION" \
14926     && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
14927   as_echo='print -r --'
14928   as_echo_n='print -rn --'
14929 elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
14930   as_echo='printf %s\n'
14931   as_echo_n='printf %s'
14932 else
14933   if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
14934     as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
14935     as_echo_n='/usr/ucb/echo -n'
14936   else
14937     as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
14938     as_echo_n_body='eval
14939       arg=$1;
14940       case $arg in #(
14941       *"$as_nl"*)
14942         expr "X$arg" : "X\\(.*\\)$as_nl";
14943         arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
14944       esac;
14945       expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
14946     '
14947     export as_echo_n_body
14948     as_echo_n='sh -c $as_echo_n_body as_echo'
14949   fi
14950   export as_echo_body
14951   as_echo='sh -c $as_echo_body as_echo'
14952 fi
14953
14954 # The user is always right.
14955 if test "${PATH_SEPARATOR+set}" != set; then
14956   PATH_SEPARATOR=:
14957   (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
14958     (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
14959       PATH_SEPARATOR=';'
14960   }
14961 fi
14962
14963
14964 # IFS
14965 # We need space, tab and new line, in precisely that order.  Quoting is
14966 # there to prevent editors from complaining about space-tab.
14967 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
14968 # splitting by setting IFS to empty value.)
14969 IFS=" ""        $as_nl"
14970
14971 # Find who we are.  Look in the path if we contain no directory separator.
14972 as_myself=
14973 case $0 in #((
14974   *[\\/]* ) as_myself=$0 ;;
14975   *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
14976 for as_dir in $PATH
14977 do
14978   IFS=$as_save_IFS
14979   test -z "$as_dir" && as_dir=.
14980     test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
14981   done
14982 IFS=$as_save_IFS
14983
14984      ;;
14985 esac
14986 # We did not find ourselves, most probably we were run as `sh COMMAND'
14987 # in which case we are not to be found in the path.
14988 if test "x$as_myself" = x; then
14989   as_myself=$0
14990 fi
14991 if test ! -f "$as_myself"; then
14992   $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
14993   exit 1
14994 fi
14995
14996 # Unset variables that we do not need and which cause bugs (e.g. in
14997 # pre-3.0 UWIN ksh).  But do not cause bugs in bash 2.01; the "|| exit 1"
14998 # suppresses any "Segmentation fault" message there.  '((' could
14999 # trigger a bug in pdksh 5.2.14.
15000 for as_var in BASH_ENV ENV MAIL MAILPATH
15001 do eval test x\${$as_var+set} = xset \
15002   && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
15003 done
15004 PS1='$ '
15005 PS2='> '
15006 PS4='+ '
15007
15008 # NLS nuisances.
15009 LC_ALL=C
15010 export LC_ALL
15011 LANGUAGE=C
15012 export LANGUAGE
15013
15014 # CDPATH.
15015 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
15016
15017
15018 # as_fn_error STATUS ERROR [LINENO LOG_FD]
15019 # ----------------------------------------
15020 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
15021 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
15022 # script with STATUS, using 1 if that was 0.
15023 as_fn_error ()
15024 {
15025   as_status=$1; test $as_status -eq 0 && as_status=1
15026   if test "$4"; then
15027     as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
15028     $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
15029   fi
15030   $as_echo "$as_me: error: $2" >&2
15031   as_fn_exit $as_status
15032 } # as_fn_error
15033
15034
15035 # as_fn_set_status STATUS
15036 # -----------------------
15037 # Set $? to STATUS, without forking.
15038 as_fn_set_status ()
15039 {
15040   return $1
15041 } # as_fn_set_status
15042
15043 # as_fn_exit STATUS
15044 # -----------------
15045 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
15046 as_fn_exit ()
15047 {
15048   set +e
15049   as_fn_set_status $1
15050   exit $1
15051 } # as_fn_exit
15052
15053 # as_fn_unset VAR
15054 # ---------------
15055 # Portably unset VAR.
15056 as_fn_unset ()
15057 {
15058   { eval $1=; unset $1;}
15059 }
15060 as_unset=as_fn_unset
15061 # as_fn_append VAR VALUE
15062 # ----------------------
15063 # Append the text in VALUE to the end of the definition contained in VAR. Take
15064 # advantage of any shell optimizations that allow amortized linear growth over
15065 # repeated appends, instead of the typical quadratic growth present in naive
15066 # implementations.
15067 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
15068   eval 'as_fn_append ()
15069   {
15070     eval $1+=\$2
15071   }'
15072 else
15073   as_fn_append ()
15074   {
15075     eval $1=\$$1\$2
15076   }
15077 fi # as_fn_append
15078
15079 # as_fn_arith ARG...
15080 # ------------------
15081 # Perform arithmetic evaluation on the ARGs, and store the result in the
15082 # global $as_val. Take advantage of shells that can avoid forks. The arguments
15083 # must be portable across $(()) and expr.
15084 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
15085   eval 'as_fn_arith ()
15086   {
15087     as_val=$(( $* ))
15088   }'
15089 else
15090   as_fn_arith ()
15091   {
15092     as_val=`expr "$@" || test $? -eq 1`
15093   }
15094 fi # as_fn_arith
15095
15096
15097 if expr a : '\(a\)' >/dev/null 2>&1 &&
15098    test "X`expr 00001 : '.*\(...\)'`" = X001; then
15099   as_expr=expr
15100 else
15101   as_expr=false
15102 fi
15103
15104 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
15105   as_basename=basename
15106 else
15107   as_basename=false
15108 fi
15109
15110 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
15111   as_dirname=dirname
15112 else
15113   as_dirname=false
15114 fi
15115
15116 as_me=`$as_basename -- "$0" ||
15117 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
15118          X"$0" : 'X\(//\)$' \| \
15119          X"$0" : 'X\(/\)' \| . 2>/dev/null ||
15120 $as_echo X/"$0" |
15121     sed '/^.*\/\([^/][^/]*\)\/*$/{
15122             s//\1/
15123             q
15124           }
15125           /^X\/\(\/\/\)$/{
15126             s//\1/
15127             q
15128           }
15129           /^X\/\(\/\).*/{
15130             s//\1/
15131             q
15132           }
15133           s/.*/./; q'`
15134
15135 # Avoid depending upon Character Ranges.
15136 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
15137 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
15138 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
15139 as_cr_digits='0123456789'
15140 as_cr_alnum=$as_cr_Letters$as_cr_digits
15141
15142 ECHO_C= ECHO_N= ECHO_T=
15143 case `echo -n x` in #(((((
15144 -n*)
15145   case `echo 'xy\c'` in
15146   *c*) ECHO_T=' ';;     # ECHO_T is single tab character.
15147   xy)  ECHO_C='\c';;
15148   *)   echo `echo ksh88 bug on AIX 6.1` > /dev/null
15149        ECHO_T=' ';;
15150   esac;;
15151 *)
15152   ECHO_N='-n';;
15153 esac
15154
15155 rm -f conf$$ conf$$.exe conf$$.file
15156 if test -d conf$$.dir; then
15157   rm -f conf$$.dir/conf$$.file
15158 else
15159   rm -f conf$$.dir
15160   mkdir conf$$.dir 2>/dev/null
15161 fi
15162 if (echo >conf$$.file) 2>/dev/null; then
15163   if ln -s conf$$.file conf$$ 2>/dev/null; then
15164     as_ln_s='ln -s'
15165     # ... but there are two gotchas:
15166     # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
15167     # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
15168     # In both cases, we have to default to `cp -pR'.
15169     ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
15170       as_ln_s='cp -pR'
15171   elif ln conf$$.file conf$$ 2>/dev/null; then
15172     as_ln_s=ln
15173   else
15174     as_ln_s='cp -pR'
15175   fi
15176 else
15177   as_ln_s='cp -pR'
15178 fi
15179 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
15180 rmdir conf$$.dir 2>/dev/null
15181
15182
15183 # as_fn_mkdir_p
15184 # -------------
15185 # Create "$as_dir" as a directory, including parents if necessary.
15186 as_fn_mkdir_p ()
15187 {
15188
15189   case $as_dir in #(
15190   -*) as_dir=./$as_dir;;
15191   esac
15192   test -d "$as_dir" || eval $as_mkdir_p || {
15193     as_dirs=
15194     while :; do
15195       case $as_dir in #(
15196       *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
15197       *) as_qdir=$as_dir;;
15198       esac
15199       as_dirs="'$as_qdir' $as_dirs"
15200       as_dir=`$as_dirname -- "$as_dir" ||
15201 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
15202          X"$as_dir" : 'X\(//\)[^/]' \| \
15203          X"$as_dir" : 'X\(//\)$' \| \
15204          X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
15205 $as_echo X"$as_dir" |
15206     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
15207             s//\1/
15208             q
15209           }
15210           /^X\(\/\/\)[^/].*/{
15211             s//\1/
15212             q
15213           }
15214           /^X\(\/\/\)$/{
15215             s//\1/
15216             q
15217           }
15218           /^X\(\/\).*/{
15219             s//\1/
15220             q
15221           }
15222           s/.*/./; q'`
15223       test -d "$as_dir" && break
15224     done
15225     test -z "$as_dirs" || eval "mkdir $as_dirs"
15226   } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir"
15227
15228
15229 } # as_fn_mkdir_p
15230 if mkdir -p . 2>/dev/null; then
15231   as_mkdir_p='mkdir -p "$as_dir"'
15232 else
15233   test -d ./-p && rmdir ./-p
15234   as_mkdir_p=false
15235 fi
15236
15237
15238 # as_fn_executable_p FILE
15239 # -----------------------
15240 # Test if FILE is an executable regular file.
15241 as_fn_executable_p ()
15242 {
15243   test -f "$1" && test -x "$1"
15244 } # as_fn_executable_p
15245 as_test_x='test -x'
15246 as_executable_p=as_fn_executable_p
15247
15248 # Sed expression to map a string onto a valid CPP name.
15249 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
15250
15251 # Sed expression to map a string onto a valid variable name.
15252 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
15253
15254
15255 exec 6>&1
15256 ## ----------------------------------- ##
15257 ## Main body of $CONFIG_STATUS script. ##
15258 ## ----------------------------------- ##
15259 _ASEOF
15260 test $as_write_fail = 0 && chmod +x $CONFIG_STATUS || ac_write_fail=1
15261
15262 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
15263 # Save the log message, to keep $0 and so on meaningful, and to
15264 # report actual input values of CONFIG_FILES etc. instead of their
15265 # values after options handling.
15266 ac_log="
15267 This file was extended by pygobject $as_me 3.8.0, which was
15268 generated by GNU Autoconf 2.69.  Invocation command line was
15269
15270   CONFIG_FILES    = $CONFIG_FILES
15271   CONFIG_HEADERS  = $CONFIG_HEADERS
15272   CONFIG_LINKS    = $CONFIG_LINKS
15273   CONFIG_COMMANDS = $CONFIG_COMMANDS
15274   $ $0 $@
15275
15276 on `(hostname || uname -n) 2>/dev/null | sed 1q`
15277 "
15278
15279 _ACEOF
15280
15281 case $ac_config_files in *"
15282 "*) set x $ac_config_files; shift; ac_config_files=$*;;
15283 esac
15284
15285 case $ac_config_headers in *"
15286 "*) set x $ac_config_headers; shift; ac_config_headers=$*;;
15287 esac
15288
15289
15290 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
15291 # Files that config.status was made for.
15292 config_files="$ac_config_files"
15293 config_headers="$ac_config_headers"
15294 config_commands="$ac_config_commands"
15295
15296 _ACEOF
15297
15298 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
15299 ac_cs_usage="\
15300 \`$as_me' instantiates files and other configuration actions
15301 from templates according to the current configuration.  Unless the files
15302 and actions are specified as TAGs, all are instantiated by default.
15303
15304 Usage: $0 [OPTION]... [TAG]...
15305
15306   -h, --help       print this help, then exit
15307   -V, --version    print version number and configuration settings, then exit
15308       --config     print configuration, then exit
15309   -q, --quiet, --silent
15310                    do not print progress messages
15311   -d, --debug      don't remove temporary files
15312       --recheck    update $as_me by reconfiguring in the same conditions
15313       --file=FILE[:TEMPLATE]
15314                    instantiate the configuration file FILE
15315       --header=FILE[:TEMPLATE]
15316                    instantiate the configuration header FILE
15317
15318 Configuration files:
15319 $config_files
15320
15321 Configuration headers:
15322 $config_headers
15323
15324 Configuration commands:
15325 $config_commands
15326
15327 Report bugs to <http://bugzilla.gnome.org/enter_bug.cgi?product=pygobject>.
15328 pygobject home page: <https://live.gnome.org/PyGObject/>."
15329
15330 _ACEOF
15331 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
15332 ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`"
15333 ac_cs_version="\\
15334 pygobject config.status 3.8.0
15335 configured by $0, generated by GNU Autoconf 2.69,
15336   with options \\"\$ac_cs_config\\"
15337
15338 Copyright (C) 2012 Free Software Foundation, Inc.
15339 This config.status script is free software; the Free Software Foundation
15340 gives unlimited permission to copy, distribute and modify it."
15341
15342 ac_pwd='$ac_pwd'
15343 srcdir='$srcdir'
15344 INSTALL='$INSTALL'
15345 MKDIR_P='$MKDIR_P'
15346 AWK='$AWK'
15347 test -n "\$AWK" || AWK=awk
15348 _ACEOF
15349
15350 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
15351 # The default lists apply if the user does not specify any file.
15352 ac_need_defaults=:
15353 while test $# != 0
15354 do
15355   case $1 in
15356   --*=?*)
15357     ac_option=`expr "X$1" : 'X\([^=]*\)='`
15358     ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'`
15359     ac_shift=:
15360     ;;
15361   --*=)
15362     ac_option=`expr "X$1" : 'X\([^=]*\)='`
15363     ac_optarg=
15364     ac_shift=:
15365     ;;
15366   *)
15367     ac_option=$1
15368     ac_optarg=$2
15369     ac_shift=shift
15370     ;;
15371   esac
15372
15373   case $ac_option in
15374   # Handling of the options.
15375   -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
15376     ac_cs_recheck=: ;;
15377   --version | --versio | --versi | --vers | --ver | --ve | --v | -V )
15378     $as_echo "$ac_cs_version"; exit ;;
15379   --config | --confi | --conf | --con | --co | --c )
15380     $as_echo "$ac_cs_config"; exit ;;
15381   --debug | --debu | --deb | --de | --d | -d )
15382     debug=: ;;
15383   --file | --fil | --fi | --f )
15384     $ac_shift
15385     case $ac_optarg in
15386     *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
15387     '') as_fn_error $? "missing file argument" ;;
15388     esac
15389     as_fn_append CONFIG_FILES " '$ac_optarg'"
15390     ac_need_defaults=false;;
15391   --header | --heade | --head | --hea )
15392     $ac_shift
15393     case $ac_optarg in
15394     *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
15395     esac
15396     as_fn_append CONFIG_HEADERS " '$ac_optarg'"
15397     ac_need_defaults=false;;
15398   --he | --h)
15399     # Conflict between --help and --header
15400     as_fn_error $? "ambiguous option: \`$1'
15401 Try \`$0 --help' for more information.";;
15402   --help | --hel | -h )
15403     $as_echo "$ac_cs_usage"; exit ;;
15404   -q | -quiet | --quiet | --quie | --qui | --qu | --q \
15405   | -silent | --silent | --silen | --sile | --sil | --si | --s)
15406     ac_cs_silent=: ;;
15407
15408   # This is an error.
15409   -*) as_fn_error $? "unrecognized option: \`$1'
15410 Try \`$0 --help' for more information." ;;
15411
15412   *) as_fn_append ac_config_targets " $1"
15413      ac_need_defaults=false ;;
15414
15415   esac
15416   shift
15417 done
15418
15419 ac_configure_extra_args=
15420
15421 if $ac_cs_silent; then
15422   exec 6>/dev/null
15423   ac_configure_extra_args="$ac_configure_extra_args --silent"
15424 fi
15425
15426 _ACEOF
15427 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
15428 if \$ac_cs_recheck; then
15429   set X $SHELL '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
15430   shift
15431   \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6
15432   CONFIG_SHELL='$SHELL'
15433   export CONFIG_SHELL
15434   exec "\$@"
15435 fi
15436
15437 _ACEOF
15438 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
15439 exec 5>>config.log
15440 {
15441   echo
15442   sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
15443 ## Running $as_me. ##
15444 _ASBOX
15445   $as_echo "$ac_log"
15446 } >&5
15447
15448 _ACEOF
15449 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
15450 #
15451 # INIT-COMMANDS
15452 #
15453 AMDEP_TRUE="$AMDEP_TRUE" ac_aux_dir="$ac_aux_dir"
15454
15455
15456 # The HP-UX ksh and POSIX shell print the target directory to stdout
15457 # if CDPATH is set.
15458 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
15459
15460 sed_quote_subst='$sed_quote_subst'
15461 double_quote_subst='$double_quote_subst'
15462 delay_variable_subst='$delay_variable_subst'
15463 macro_version='`$ECHO "$macro_version" | $SED "$delay_single_quote_subst"`'
15464 macro_revision='`$ECHO "$macro_revision" | $SED "$delay_single_quote_subst"`'
15465 AS='`$ECHO "$AS" | $SED "$delay_single_quote_subst"`'
15466 DLLTOOL='`$ECHO "$DLLTOOL" | $SED "$delay_single_quote_subst"`'
15467 OBJDUMP='`$ECHO "$OBJDUMP" | $SED "$delay_single_quote_subst"`'
15468 enable_static='`$ECHO "$enable_static" | $SED "$delay_single_quote_subst"`'
15469 enable_shared='`$ECHO "$enable_shared" | $SED "$delay_single_quote_subst"`'
15470 pic_mode='`$ECHO "$pic_mode" | $SED "$delay_single_quote_subst"`'
15471 enable_fast_install='`$ECHO "$enable_fast_install" | $SED "$delay_single_quote_subst"`'
15472 SHELL='`$ECHO "$SHELL" | $SED "$delay_single_quote_subst"`'
15473 ECHO='`$ECHO "$ECHO" | $SED "$delay_single_quote_subst"`'
15474 PATH_SEPARATOR='`$ECHO "$PATH_SEPARATOR" | $SED "$delay_single_quote_subst"`'
15475 host_alias='`$ECHO "$host_alias" | $SED "$delay_single_quote_subst"`'
15476 host='`$ECHO "$host" | $SED "$delay_single_quote_subst"`'
15477 host_os='`$ECHO "$host_os" | $SED "$delay_single_quote_subst"`'
15478 build_alias='`$ECHO "$build_alias" | $SED "$delay_single_quote_subst"`'
15479 build='`$ECHO "$build" | $SED "$delay_single_quote_subst"`'
15480 build_os='`$ECHO "$build_os" | $SED "$delay_single_quote_subst"`'
15481 SED='`$ECHO "$SED" | $SED "$delay_single_quote_subst"`'
15482 Xsed='`$ECHO "$Xsed" | $SED "$delay_single_quote_subst"`'
15483 GREP='`$ECHO "$GREP" | $SED "$delay_single_quote_subst"`'
15484 EGREP='`$ECHO "$EGREP" | $SED "$delay_single_quote_subst"`'
15485 FGREP='`$ECHO "$FGREP" | $SED "$delay_single_quote_subst"`'
15486 LD='`$ECHO "$LD" | $SED "$delay_single_quote_subst"`'
15487 NM='`$ECHO "$NM" | $SED "$delay_single_quote_subst"`'
15488 LN_S='`$ECHO "$LN_S" | $SED "$delay_single_quote_subst"`'
15489 max_cmd_len='`$ECHO "$max_cmd_len" | $SED "$delay_single_quote_subst"`'
15490 ac_objext='`$ECHO "$ac_objext" | $SED "$delay_single_quote_subst"`'
15491 exeext='`$ECHO "$exeext" | $SED "$delay_single_quote_subst"`'
15492 lt_unset='`$ECHO "$lt_unset" | $SED "$delay_single_quote_subst"`'
15493 lt_SP2NL='`$ECHO "$lt_SP2NL" | $SED "$delay_single_quote_subst"`'
15494 lt_NL2SP='`$ECHO "$lt_NL2SP" | $SED "$delay_single_quote_subst"`'
15495 lt_cv_to_host_file_cmd='`$ECHO "$lt_cv_to_host_file_cmd" | $SED "$delay_single_quote_subst"`'
15496 lt_cv_to_tool_file_cmd='`$ECHO "$lt_cv_to_tool_file_cmd" | $SED "$delay_single_quote_subst"`'
15497 reload_flag='`$ECHO "$reload_flag" | $SED "$delay_single_quote_subst"`'
15498 reload_cmds='`$ECHO "$reload_cmds" | $SED "$delay_single_quote_subst"`'
15499 deplibs_check_method='`$ECHO "$deplibs_check_method" | $SED "$delay_single_quote_subst"`'
15500 file_magic_cmd='`$ECHO "$file_magic_cmd" | $SED "$delay_single_quote_subst"`'
15501 file_magic_glob='`$ECHO "$file_magic_glob" | $SED "$delay_single_quote_subst"`'
15502 want_nocaseglob='`$ECHO "$want_nocaseglob" | $SED "$delay_single_quote_subst"`'
15503 sharedlib_from_linklib_cmd='`$ECHO "$sharedlib_from_linklib_cmd" | $SED "$delay_single_quote_subst"`'
15504 AR='`$ECHO "$AR" | $SED "$delay_single_quote_subst"`'
15505 AR_FLAGS='`$ECHO "$AR_FLAGS" | $SED "$delay_single_quote_subst"`'
15506 archiver_list_spec='`$ECHO "$archiver_list_spec" | $SED "$delay_single_quote_subst"`'
15507 STRIP='`$ECHO "$STRIP" | $SED "$delay_single_quote_subst"`'
15508 RANLIB='`$ECHO "$RANLIB" | $SED "$delay_single_quote_subst"`'
15509 old_postinstall_cmds='`$ECHO "$old_postinstall_cmds" | $SED "$delay_single_quote_subst"`'
15510 old_postuninstall_cmds='`$ECHO "$old_postuninstall_cmds" | $SED "$delay_single_quote_subst"`'
15511 old_archive_cmds='`$ECHO "$old_archive_cmds" | $SED "$delay_single_quote_subst"`'
15512 lock_old_archive_extraction='`$ECHO "$lock_old_archive_extraction" | $SED "$delay_single_quote_subst"`'
15513 CC='`$ECHO "$CC" | $SED "$delay_single_quote_subst"`'
15514 CFLAGS='`$ECHO "$CFLAGS" | $SED "$delay_single_quote_subst"`'
15515 compiler='`$ECHO "$compiler" | $SED "$delay_single_quote_subst"`'
15516 GCC='`$ECHO "$GCC" | $SED "$delay_single_quote_subst"`'
15517 lt_cv_sys_global_symbol_pipe='`$ECHO "$lt_cv_sys_global_symbol_pipe" | $SED "$delay_single_quote_subst"`'
15518 lt_cv_sys_global_symbol_to_cdecl='`$ECHO "$lt_cv_sys_global_symbol_to_cdecl" | $SED "$delay_single_quote_subst"`'
15519 lt_cv_sys_global_symbol_to_c_name_address='`$ECHO "$lt_cv_sys_global_symbol_to_c_name_address" | $SED "$delay_single_quote_subst"`'
15520 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"`'
15521 nm_file_list_spec='`$ECHO "$nm_file_list_spec" | $SED "$delay_single_quote_subst"`'
15522 lt_sysroot='`$ECHO "$lt_sysroot" | $SED "$delay_single_quote_subst"`'
15523 objdir='`$ECHO "$objdir" | $SED "$delay_single_quote_subst"`'
15524 MAGIC_CMD='`$ECHO "$MAGIC_CMD" | $SED "$delay_single_quote_subst"`'
15525 lt_prog_compiler_no_builtin_flag='`$ECHO "$lt_prog_compiler_no_builtin_flag" | $SED "$delay_single_quote_subst"`'
15526 lt_prog_compiler_pic='`$ECHO "$lt_prog_compiler_pic" | $SED "$delay_single_quote_subst"`'
15527 lt_prog_compiler_wl='`$ECHO "$lt_prog_compiler_wl" | $SED "$delay_single_quote_subst"`'
15528 lt_prog_compiler_static='`$ECHO "$lt_prog_compiler_static" | $SED "$delay_single_quote_subst"`'
15529 lt_cv_prog_compiler_c_o='`$ECHO "$lt_cv_prog_compiler_c_o" | $SED "$delay_single_quote_subst"`'
15530 need_locks='`$ECHO "$need_locks" | $SED "$delay_single_quote_subst"`'
15531 MANIFEST_TOOL='`$ECHO "$MANIFEST_TOOL" | $SED "$delay_single_quote_subst"`'
15532 DSYMUTIL='`$ECHO "$DSYMUTIL" | $SED "$delay_single_quote_subst"`'
15533 NMEDIT='`$ECHO "$NMEDIT" | $SED "$delay_single_quote_subst"`'
15534 LIPO='`$ECHO "$LIPO" | $SED "$delay_single_quote_subst"`'
15535 OTOOL='`$ECHO "$OTOOL" | $SED "$delay_single_quote_subst"`'
15536 OTOOL64='`$ECHO "$OTOOL64" | $SED "$delay_single_quote_subst"`'
15537 libext='`$ECHO "$libext" | $SED "$delay_single_quote_subst"`'
15538 shrext_cmds='`$ECHO "$shrext_cmds" | $SED "$delay_single_quote_subst"`'
15539 extract_expsyms_cmds='`$ECHO "$extract_expsyms_cmds" | $SED "$delay_single_quote_subst"`'
15540 archive_cmds_need_lc='`$ECHO "$archive_cmds_need_lc" | $SED "$delay_single_quote_subst"`'
15541 enable_shared_with_static_runtimes='`$ECHO "$enable_shared_with_static_runtimes" | $SED "$delay_single_quote_subst"`'
15542 export_dynamic_flag_spec='`$ECHO "$export_dynamic_flag_spec" | $SED "$delay_single_quote_subst"`'
15543 whole_archive_flag_spec='`$ECHO "$whole_archive_flag_spec" | $SED "$delay_single_quote_subst"`'
15544 compiler_needs_object='`$ECHO "$compiler_needs_object" | $SED "$delay_single_quote_subst"`'
15545 old_archive_from_new_cmds='`$ECHO "$old_archive_from_new_cmds" | $SED "$delay_single_quote_subst"`'
15546 old_archive_from_expsyms_cmds='`$ECHO "$old_archive_from_expsyms_cmds" | $SED "$delay_single_quote_subst"`'
15547 archive_cmds='`$ECHO "$archive_cmds" | $SED "$delay_single_quote_subst"`'
15548 archive_expsym_cmds='`$ECHO "$archive_expsym_cmds" | $SED "$delay_single_quote_subst"`'
15549 module_cmds='`$ECHO "$module_cmds" | $SED "$delay_single_quote_subst"`'
15550 module_expsym_cmds='`$ECHO "$module_expsym_cmds" | $SED "$delay_single_quote_subst"`'
15551 with_gnu_ld='`$ECHO "$with_gnu_ld" | $SED "$delay_single_quote_subst"`'
15552 allow_undefined_flag='`$ECHO "$allow_undefined_flag" | $SED "$delay_single_quote_subst"`'
15553 no_undefined_flag='`$ECHO "$no_undefined_flag" | $SED "$delay_single_quote_subst"`'
15554 hardcode_libdir_flag_spec='`$ECHO "$hardcode_libdir_flag_spec" | $SED "$delay_single_quote_subst"`'
15555 hardcode_libdir_separator='`$ECHO "$hardcode_libdir_separator" | $SED "$delay_single_quote_subst"`'
15556 hardcode_direct='`$ECHO "$hardcode_direct" | $SED "$delay_single_quote_subst"`'
15557 hardcode_direct_absolute='`$ECHO "$hardcode_direct_absolute" | $SED "$delay_single_quote_subst"`'
15558 hardcode_minus_L='`$ECHO "$hardcode_minus_L" | $SED "$delay_single_quote_subst"`'
15559 hardcode_shlibpath_var='`$ECHO "$hardcode_shlibpath_var" | $SED "$delay_single_quote_subst"`'
15560 hardcode_automatic='`$ECHO "$hardcode_automatic" | $SED "$delay_single_quote_subst"`'
15561 inherit_rpath='`$ECHO "$inherit_rpath" | $SED "$delay_single_quote_subst"`'
15562 link_all_deplibs='`$ECHO "$link_all_deplibs" | $SED "$delay_single_quote_subst"`'
15563 always_export_symbols='`$ECHO "$always_export_symbols" | $SED "$delay_single_quote_subst"`'
15564 export_symbols_cmds='`$ECHO "$export_symbols_cmds" | $SED "$delay_single_quote_subst"`'
15565 exclude_expsyms='`$ECHO "$exclude_expsyms" | $SED "$delay_single_quote_subst"`'
15566 include_expsyms='`$ECHO "$include_expsyms" | $SED "$delay_single_quote_subst"`'
15567 prelink_cmds='`$ECHO "$prelink_cmds" | $SED "$delay_single_quote_subst"`'
15568 postlink_cmds='`$ECHO "$postlink_cmds" | $SED "$delay_single_quote_subst"`'
15569 file_list_spec='`$ECHO "$file_list_spec" | $SED "$delay_single_quote_subst"`'
15570 variables_saved_for_relink='`$ECHO "$variables_saved_for_relink" | $SED "$delay_single_quote_subst"`'
15571 need_lib_prefix='`$ECHO "$need_lib_prefix" | $SED "$delay_single_quote_subst"`'
15572 need_version='`$ECHO "$need_version" | $SED "$delay_single_quote_subst"`'
15573 version_type='`$ECHO "$version_type" | $SED "$delay_single_quote_subst"`'
15574 runpath_var='`$ECHO "$runpath_var" | $SED "$delay_single_quote_subst"`'
15575 shlibpath_var='`$ECHO "$shlibpath_var" | $SED "$delay_single_quote_subst"`'
15576 shlibpath_overrides_runpath='`$ECHO "$shlibpath_overrides_runpath" | $SED "$delay_single_quote_subst"`'
15577 libname_spec='`$ECHO "$libname_spec" | $SED "$delay_single_quote_subst"`'
15578 library_names_spec='`$ECHO "$library_names_spec" | $SED "$delay_single_quote_subst"`'
15579 soname_spec='`$ECHO "$soname_spec" | $SED "$delay_single_quote_subst"`'
15580 install_override_mode='`$ECHO "$install_override_mode" | $SED "$delay_single_quote_subst"`'
15581 postinstall_cmds='`$ECHO "$postinstall_cmds" | $SED "$delay_single_quote_subst"`'
15582 postuninstall_cmds='`$ECHO "$postuninstall_cmds" | $SED "$delay_single_quote_subst"`'
15583 finish_cmds='`$ECHO "$finish_cmds" | $SED "$delay_single_quote_subst"`'
15584 finish_eval='`$ECHO "$finish_eval" | $SED "$delay_single_quote_subst"`'
15585 hardcode_into_libs='`$ECHO "$hardcode_into_libs" | $SED "$delay_single_quote_subst"`'
15586 sys_lib_search_path_spec='`$ECHO "$sys_lib_search_path_spec" | $SED "$delay_single_quote_subst"`'
15587 sys_lib_dlsearch_path_spec='`$ECHO "$sys_lib_dlsearch_path_spec" | $SED "$delay_single_quote_subst"`'
15588 hardcode_action='`$ECHO "$hardcode_action" | $SED "$delay_single_quote_subst"`'
15589 enable_dlopen='`$ECHO "$enable_dlopen" | $SED "$delay_single_quote_subst"`'
15590 enable_dlopen_self='`$ECHO "$enable_dlopen_self" | $SED "$delay_single_quote_subst"`'
15591 enable_dlopen_self_static='`$ECHO "$enable_dlopen_self_static" | $SED "$delay_single_quote_subst"`'
15592 old_striplib='`$ECHO "$old_striplib" | $SED "$delay_single_quote_subst"`'
15593 striplib='`$ECHO "$striplib" | $SED "$delay_single_quote_subst"`'
15594
15595 LTCC='$LTCC'
15596 LTCFLAGS='$LTCFLAGS'
15597 compiler='$compiler_DEFAULT'
15598
15599 # A function that is used when there is no print builtin or printf.
15600 func_fallback_echo ()
15601 {
15602   eval 'cat <<_LTECHO_EOF
15603 \$1
15604 _LTECHO_EOF'
15605 }
15606
15607 # Quote evaled strings.
15608 for var in AS \
15609 DLLTOOL \
15610 OBJDUMP \
15611 SHELL \
15612 ECHO \
15613 PATH_SEPARATOR \
15614 SED \
15615 GREP \
15616 EGREP \
15617 FGREP \
15618 LD \
15619 NM \
15620 LN_S \
15621 lt_SP2NL \
15622 lt_NL2SP \
15623 reload_flag \
15624 deplibs_check_method \
15625 file_magic_cmd \
15626 file_magic_glob \
15627 want_nocaseglob \
15628 sharedlib_from_linklib_cmd \
15629 AR \
15630 AR_FLAGS \
15631 archiver_list_spec \
15632 STRIP \
15633 RANLIB \
15634 CC \
15635 CFLAGS \
15636 compiler \
15637 lt_cv_sys_global_symbol_pipe \
15638 lt_cv_sys_global_symbol_to_cdecl \
15639 lt_cv_sys_global_symbol_to_c_name_address \
15640 lt_cv_sys_global_symbol_to_c_name_address_lib_prefix \
15641 nm_file_list_spec \
15642 lt_prog_compiler_no_builtin_flag \
15643 lt_prog_compiler_pic \
15644 lt_prog_compiler_wl \
15645 lt_prog_compiler_static \
15646 lt_cv_prog_compiler_c_o \
15647 need_locks \
15648 MANIFEST_TOOL \
15649 DSYMUTIL \
15650 NMEDIT \
15651 LIPO \
15652 OTOOL \
15653 OTOOL64 \
15654 shrext_cmds \
15655 export_dynamic_flag_spec \
15656 whole_archive_flag_spec \
15657 compiler_needs_object \
15658 with_gnu_ld \
15659 allow_undefined_flag \
15660 no_undefined_flag \
15661 hardcode_libdir_flag_spec \
15662 hardcode_libdir_separator \
15663 exclude_expsyms \
15664 include_expsyms \
15665 file_list_spec \
15666 variables_saved_for_relink \
15667 libname_spec \
15668 library_names_spec \
15669 soname_spec \
15670 install_override_mode \
15671 finish_eval \
15672 old_striplib \
15673 striplib; do
15674     case \`eval \\\\\$ECHO \\\\""\\\\\$\$var"\\\\"\` in
15675     *[\\\\\\\`\\"\\\$]*)
15676       eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"\\\$\$var\\" | \\\$SED \\"\\\$sed_quote_subst\\"\\\`\\\\\\""
15677       ;;
15678     *)
15679       eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
15680       ;;
15681     esac
15682 done
15683
15684 # Double-quote double-evaled strings.
15685 for var in reload_cmds \
15686 old_postinstall_cmds \
15687 old_postuninstall_cmds \
15688 old_archive_cmds \
15689 extract_expsyms_cmds \
15690 old_archive_from_new_cmds \
15691 old_archive_from_expsyms_cmds \
15692 archive_cmds \
15693 archive_expsym_cmds \
15694 module_cmds \
15695 module_expsym_cmds \
15696 export_symbols_cmds \
15697 prelink_cmds \
15698 postlink_cmds \
15699 postinstall_cmds \
15700 postuninstall_cmds \
15701 finish_cmds \
15702 sys_lib_search_path_spec \
15703 sys_lib_dlsearch_path_spec; do
15704     case \`eval \\\\\$ECHO \\\\""\\\\\$\$var"\\\\"\` in
15705     *[\\\\\\\`\\"\\\$]*)
15706       eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"\\\$\$var\\" | \\\$SED -e \\"\\\$double_quote_subst\\" -e \\"\\\$sed_quote_subst\\" -e \\"\\\$delay_variable_subst\\"\\\`\\\\\\""
15707       ;;
15708     *)
15709       eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
15710       ;;
15711     esac
15712 done
15713
15714 ac_aux_dir='$ac_aux_dir'
15715 xsi_shell='$xsi_shell'
15716 lt_shell_append='$lt_shell_append'
15717
15718 # See if we are running on zsh, and set the options which allow our
15719 # commands through without removal of \ escapes INIT.
15720 if test -n "\${ZSH_VERSION+set}" ; then
15721    setopt NO_GLOB_SUBST
15722 fi
15723
15724
15725     PACKAGE='$PACKAGE'
15726     VERSION='$VERSION'
15727     TIMESTAMP='$TIMESTAMP'
15728     RM='$RM'
15729     ofile='$ofile'
15730
15731
15732
15733
15734 _ACEOF
15735
15736 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
15737
15738 # Handling of arguments.
15739 for ac_config_target in $ac_config_targets
15740 do
15741   case $ac_config_target in
15742     "config.h") CONFIG_HEADERS="$CONFIG_HEADERS config.h" ;;
15743     "depfiles") CONFIG_COMMANDS="$CONFIG_COMMANDS depfiles" ;;
15744     "libtool") CONFIG_COMMANDS="$CONFIG_COMMANDS libtool" ;;
15745     "Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;;
15746     "pygobject-3.0.pc") CONFIG_FILES="$CONFIG_FILES pygobject-3.0.pc" ;;
15747     "pygobject-3.0-uninstalled.pc") CONFIG_FILES="$CONFIG_FILES pygobject-3.0-uninstalled.pc" ;;
15748     "gi/Makefile") CONFIG_FILES="$CONFIG_FILES gi/Makefile" ;;
15749     "gi/repository/Makefile") CONFIG_FILES="$CONFIG_FILES gi/repository/Makefile" ;;
15750     "gi/overrides/Makefile") CONFIG_FILES="$CONFIG_FILES gi/overrides/Makefile" ;;
15751     "gi/_glib/Makefile") CONFIG_FILES="$CONFIG_FILES gi/_glib/Makefile" ;;
15752     "gi/_gobject/Makefile") CONFIG_FILES="$CONFIG_FILES gi/_gobject/Makefile" ;;
15753     "examples/Makefile") CONFIG_FILES="$CONFIG_FILES examples/Makefile" ;;
15754     "tests/Makefile") CONFIG_FILES="$CONFIG_FILES tests/Makefile" ;;
15755     "pygtkcompat/Makefile") CONFIG_FILES="$CONFIG_FILES pygtkcompat/Makefile" ;;
15756     "PKG-INFO") CONFIG_FILES="$CONFIG_FILES PKG-INFO" ;;
15757
15758   *) as_fn_error $? "invalid argument: \`$ac_config_target'" "$LINENO" 5;;
15759   esac
15760 done
15761
15762
15763 # If the user did not use the arguments to specify the items to instantiate,
15764 # then the envvar interface is used.  Set only those that are not.
15765 # We use the long form for the default assignment because of an extremely
15766 # bizarre bug on SunOS 4.1.3.
15767 if $ac_need_defaults; then
15768   test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
15769   test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS=$config_headers
15770   test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS=$config_commands
15771 fi
15772
15773 # Have a temporary directory for convenience.  Make it in the build tree
15774 # simply because there is no reason against having it here, and in addition,
15775 # creating and moving files from /tmp can sometimes cause problems.
15776 # Hook for its removal unless debugging.
15777 # Note that there is a small window in which the directory will not be cleaned:
15778 # after its creation but before its name has been assigned to `$tmp'.
15779 $debug ||
15780 {
15781   tmp= ac_tmp=
15782   trap 'exit_status=$?
15783   : "${ac_tmp:=$tmp}"
15784   { test ! -d "$ac_tmp" || rm -fr "$ac_tmp"; } && exit $exit_status
15785 ' 0
15786   trap 'as_fn_exit 1' 1 2 13 15
15787 }
15788 # Create a (secure) tmp directory for tmp files.
15789
15790 {
15791   tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
15792   test -d "$tmp"
15793 }  ||
15794 {
15795   tmp=./conf$$-$RANDOM
15796   (umask 077 && mkdir "$tmp")
15797 } || as_fn_error $? "cannot create a temporary directory in ." "$LINENO" 5
15798 ac_tmp=$tmp
15799
15800 # Set up the scripts for CONFIG_FILES section.
15801 # No need to generate them if there are no CONFIG_FILES.
15802 # This happens for instance with `./config.status config.h'.
15803 if test -n "$CONFIG_FILES"; then
15804
15805
15806 ac_cr=`echo X | tr X '\015'`
15807 # On cygwin, bash can eat \r inside `` if the user requested igncr.
15808 # But we know of no other shell where ac_cr would be empty at this
15809 # point, so we can use a bashism as a fallback.
15810 if test "x$ac_cr" = x; then
15811   eval ac_cr=\$\'\\r\'
15812 fi
15813 ac_cs_awk_cr=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
15814 if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
15815   ac_cs_awk_cr='\\r'
15816 else
15817   ac_cs_awk_cr=$ac_cr
15818 fi
15819
15820 echo 'BEGIN {' >"$ac_tmp/subs1.awk" &&
15821 _ACEOF
15822
15823
15824 {
15825   echo "cat >conf$$subs.awk <<_ACEOF" &&
15826   echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
15827   echo "_ACEOF"
15828 } >conf$$subs.sh ||
15829   as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
15830 ac_delim_num=`echo "$ac_subst_vars" | grep -c '^'`
15831 ac_delim='%!_!# '
15832 for ac_last_try in false false false false false :; do
15833   . ./conf$$subs.sh ||
15834     as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
15835
15836   ac_delim_n=`sed -n "s/.*$ac_delim\$/X/p" conf$$subs.awk | grep -c X`
15837   if test $ac_delim_n = $ac_delim_num; then
15838     break
15839   elif $ac_last_try; then
15840     as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
15841   else
15842     ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
15843   fi
15844 done
15845 rm -f conf$$subs.sh
15846
15847 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
15848 cat >>"\$ac_tmp/subs1.awk" <<\\_ACAWK &&
15849 _ACEOF
15850 sed -n '
15851 h
15852 s/^/S["/; s/!.*/"]=/
15853 p
15854 g
15855 s/^[^!]*!//
15856 :repl
15857 t repl
15858 s/'"$ac_delim"'$//
15859 t delim
15860 :nl
15861 h
15862 s/\(.\{148\}\)..*/\1/
15863 t more1
15864 s/["\\]/\\&/g; s/^/"/; s/$/\\n"\\/
15865 p
15866 n
15867 b repl
15868 :more1
15869 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
15870 p
15871 g
15872 s/.\{148\}//
15873 t nl
15874 :delim
15875 h
15876 s/\(.\{148\}\)..*/\1/
15877 t more2
15878 s/["\\]/\\&/g; s/^/"/; s/$/"/
15879 p
15880 b
15881 :more2
15882 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
15883 p
15884 g
15885 s/.\{148\}//
15886 t delim
15887 ' <conf$$subs.awk | sed '
15888 /^[^""]/{
15889   N
15890   s/\n//
15891 }
15892 ' >>$CONFIG_STATUS || ac_write_fail=1
15893 rm -f conf$$subs.awk
15894 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
15895 _ACAWK
15896 cat >>"\$ac_tmp/subs1.awk" <<_ACAWK &&
15897   for (key in S) S_is_set[key] = 1
15898   FS = "\a"
15899
15900 }
15901 {
15902   line = $ 0
15903   nfields = split(line, field, "@")
15904   substed = 0
15905   len = length(field[1])
15906   for (i = 2; i < nfields; i++) {
15907     key = field[i]
15908     keylen = length(key)
15909     if (S_is_set[key]) {
15910       value = S[key]
15911       line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3)
15912       len += length(value) + length(field[++i])
15913       substed = 1
15914     } else
15915       len += 1 + keylen
15916   }
15917
15918   print line
15919 }
15920
15921 _ACAWK
15922 _ACEOF
15923 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
15924 if sed "s/$ac_cr//" < /dev/null > /dev/null 2>&1; then
15925   sed "s/$ac_cr\$//; s/$ac_cr/$ac_cs_awk_cr/g"
15926 else
15927   cat
15928 fi < "$ac_tmp/subs1.awk" > "$ac_tmp/subs.awk" \
15929   || as_fn_error $? "could not setup config files machinery" "$LINENO" 5
15930 _ACEOF
15931
15932 # VPATH may cause trouble with some makes, so we remove sole $(srcdir),
15933 # ${srcdir} and @srcdir@ entries from VPATH if srcdir is ".", strip leading and
15934 # trailing colons and then remove the whole line if VPATH becomes empty
15935 # (actually we leave an empty line to preserve line numbers).
15936 if test "x$srcdir" = x.; then
15937   ac_vpsub='/^[  ]*VPATH[        ]*=[    ]*/{
15938 h
15939 s///
15940 s/^/:/
15941 s/[      ]*$/:/
15942 s/:\$(srcdir):/:/g
15943 s/:\${srcdir}:/:/g
15944 s/:@srcdir@:/:/g
15945 s/^:*//
15946 s/:*$//
15947 x
15948 s/\(=[   ]*\).*/\1/
15949 G
15950 s/\n//
15951 s/^[^=]*=[       ]*$//
15952 }'
15953 fi
15954
15955 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
15956 fi # test -n "$CONFIG_FILES"
15957
15958 # Set up the scripts for CONFIG_HEADERS section.
15959 # No need to generate them if there are no CONFIG_HEADERS.
15960 # This happens for instance with `./config.status Makefile'.
15961 if test -n "$CONFIG_HEADERS"; then
15962 cat >"$ac_tmp/defines.awk" <<\_ACAWK ||
15963 BEGIN {
15964 _ACEOF
15965
15966 # Transform confdefs.h into an awk script `defines.awk', embedded as
15967 # here-document in config.status, that substitutes the proper values into
15968 # config.h.in to produce config.h.
15969
15970 # Create a delimiter string that does not exist in confdefs.h, to ease
15971 # handling of long lines.
15972 ac_delim='%!_!# '
15973 for ac_last_try in false false :; do
15974   ac_tt=`sed -n "/$ac_delim/p" confdefs.h`
15975   if test -z "$ac_tt"; then
15976     break
15977   elif $ac_last_try; then
15978     as_fn_error $? "could not make $CONFIG_HEADERS" "$LINENO" 5
15979   else
15980     ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
15981   fi
15982 done
15983
15984 # For the awk script, D is an array of macro values keyed by name,
15985 # likewise P contains macro parameters if any.  Preserve backslash
15986 # newline sequences.
15987
15988 ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]*
15989 sed -n '
15990 s/.\{148\}/&'"$ac_delim"'/g
15991 t rset
15992 :rset
15993 s/^[     ]*#[    ]*define[       ][      ]*/ /
15994 t def
15995 d
15996 :def
15997 s/\\$//
15998 t bsnl
15999 s/["\\]/\\&/g
16000 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[     ]*\(.*\)/P["\1"]="\2"\
16001 D["\1"]=" \3"/p
16002 s/^ \('"$ac_word_re"'\)[         ]*\(.*\)/D["\1"]=" \2"/p
16003 d
16004 :bsnl
16005 s/["\\]/\\&/g
16006 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[     ]*\(.*\)/P["\1"]="\2"\
16007 D["\1"]=" \3\\\\\\n"\\/p
16008 t cont
16009 s/^ \('"$ac_word_re"'\)[         ]*\(.*\)/D["\1"]=" \2\\\\\\n"\\/p
16010 t cont
16011 d
16012 :cont
16013 n
16014 s/.\{148\}/&'"$ac_delim"'/g
16015 t clear
16016 :clear
16017 s/\\$//
16018 t bsnlc
16019 s/["\\]/\\&/g; s/^/"/; s/$/"/p
16020 d
16021 :bsnlc
16022 s/["\\]/\\&/g; s/^/"/; s/$/\\\\\\n"\\/p
16023 b cont
16024 ' <confdefs.h | sed '
16025 s/'"$ac_delim"'/"\\\
16026 "/g' >>$CONFIG_STATUS || ac_write_fail=1
16027
16028 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
16029   for (key in D) D_is_set[key] = 1
16030   FS = "\a"
16031 }
16032 /^[\t ]*#[\t ]*(define|undef)[\t ]+$ac_word_re([\t (]|\$)/ {
16033   line = \$ 0
16034   split(line, arg, " ")
16035   if (arg[1] == "#") {
16036     defundef = arg[2]
16037     mac1 = arg[3]
16038   } else {
16039     defundef = substr(arg[1], 2)
16040     mac1 = arg[2]
16041   }
16042   split(mac1, mac2, "(") #)
16043   macro = mac2[1]
16044   prefix = substr(line, 1, index(line, defundef) - 1)
16045   if (D_is_set[macro]) {
16046     # Preserve the white space surrounding the "#".
16047     print prefix "define", macro P[macro] D[macro]
16048     next
16049   } else {
16050     # Replace #undef with comments.  This is necessary, for example,
16051     # in the case of _POSIX_SOURCE, which is predefined and required
16052     # on some systems where configure will not decide to define it.
16053     if (defundef == "undef") {
16054       print "/*", prefix defundef, macro, "*/"
16055       next
16056     }
16057   }
16058 }
16059 { print }
16060 _ACAWK
16061 _ACEOF
16062 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
16063   as_fn_error $? "could not setup config headers machinery" "$LINENO" 5
16064 fi # test -n "$CONFIG_HEADERS"
16065
16066
16067 eval set X "  :F $CONFIG_FILES  :H $CONFIG_HEADERS    :C $CONFIG_COMMANDS"
16068 shift
16069 for ac_tag
16070 do
16071   case $ac_tag in
16072   :[FHLC]) ac_mode=$ac_tag; continue;;
16073   esac
16074   case $ac_mode$ac_tag in
16075   :[FHL]*:*);;
16076   :L* | :C*:*) as_fn_error $? "invalid tag \`$ac_tag'" "$LINENO" 5;;
16077   :[FH]-) ac_tag=-:-;;
16078   :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
16079   esac
16080   ac_save_IFS=$IFS
16081   IFS=:
16082   set x $ac_tag
16083   IFS=$ac_save_IFS
16084   shift
16085   ac_file=$1
16086   shift
16087
16088   case $ac_mode in
16089   :L) ac_source=$1;;
16090   :[FH])
16091     ac_file_inputs=
16092     for ac_f
16093     do
16094       case $ac_f in
16095       -) ac_f="$ac_tmp/stdin";;
16096       *) # Look for the file first in the build tree, then in the source tree
16097          # (if the path is not absolute).  The absolute path cannot be DOS-style,
16098          # because $ac_f cannot contain `:'.
16099          test -f "$ac_f" ||
16100            case $ac_f in
16101            [\\/$]*) false;;
16102            *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
16103            esac ||
16104            as_fn_error 1 "cannot find input file: \`$ac_f'" "$LINENO" 5;;
16105       esac
16106       case $ac_f in *\'*) ac_f=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
16107       as_fn_append ac_file_inputs " '$ac_f'"
16108     done
16109
16110     # Let's still pretend it is `configure' which instantiates (i.e., don't
16111     # use $as_me), people would be surprised to read:
16112     #    /* config.h.  Generated by config.status.  */
16113     configure_input='Generated from '`
16114           $as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
16115         `' by configure.'
16116     if test x"$ac_file" != x-; then
16117       configure_input="$ac_file.  $configure_input"
16118       { $as_echo "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5
16119 $as_echo "$as_me: creating $ac_file" >&6;}
16120     fi
16121     # Neutralize special characters interpreted by sed in replacement strings.
16122     case $configure_input in #(
16123     *\&* | *\|* | *\\* )
16124        ac_sed_conf_input=`$as_echo "$configure_input" |
16125        sed 's/[\\\\&|]/\\\\&/g'`;; #(
16126     *) ac_sed_conf_input=$configure_input;;
16127     esac
16128
16129     case $ac_tag in
16130     *:-:* | *:-) cat >"$ac_tmp/stdin" \
16131       || as_fn_error $? "could not create $ac_file" "$LINENO" 5 ;;
16132     esac
16133     ;;
16134   esac
16135
16136   ac_dir=`$as_dirname -- "$ac_file" ||
16137 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
16138          X"$ac_file" : 'X\(//\)[^/]' \| \
16139          X"$ac_file" : 'X\(//\)$' \| \
16140          X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
16141 $as_echo X"$ac_file" |
16142     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
16143             s//\1/
16144             q
16145           }
16146           /^X\(\/\/\)[^/].*/{
16147             s//\1/
16148             q
16149           }
16150           /^X\(\/\/\)$/{
16151             s//\1/
16152             q
16153           }
16154           /^X\(\/\).*/{
16155             s//\1/
16156             q
16157           }
16158           s/.*/./; q'`
16159   as_dir="$ac_dir"; as_fn_mkdir_p
16160   ac_builddir=.
16161
16162 case "$ac_dir" in
16163 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
16164 *)
16165   ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
16166   # A ".." for each directory in $ac_dir_suffix.
16167   ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
16168   case $ac_top_builddir_sub in
16169   "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
16170   *)  ac_top_build_prefix=$ac_top_builddir_sub/ ;;
16171   esac ;;
16172 esac
16173 ac_abs_top_builddir=$ac_pwd
16174 ac_abs_builddir=$ac_pwd$ac_dir_suffix
16175 # for backward compatibility:
16176 ac_top_builddir=$ac_top_build_prefix
16177
16178 case $srcdir in
16179   .)  # We are building in place.
16180     ac_srcdir=.
16181     ac_top_srcdir=$ac_top_builddir_sub
16182     ac_abs_top_srcdir=$ac_pwd ;;
16183   [\\/]* | ?:[\\/]* )  # Absolute name.
16184     ac_srcdir=$srcdir$ac_dir_suffix;
16185     ac_top_srcdir=$srcdir
16186     ac_abs_top_srcdir=$srcdir ;;
16187   *) # Relative name.
16188     ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
16189     ac_top_srcdir=$ac_top_build_prefix$srcdir
16190     ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
16191 esac
16192 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
16193
16194
16195   case $ac_mode in
16196   :F)
16197   #
16198   # CONFIG_FILE
16199   #
16200
16201   case $INSTALL in
16202   [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
16203   *) ac_INSTALL=$ac_top_build_prefix$INSTALL ;;
16204   esac
16205   ac_MKDIR_P=$MKDIR_P
16206   case $MKDIR_P in
16207   [\\/$]* | ?:[\\/]* ) ;;
16208   */*) ac_MKDIR_P=$ac_top_build_prefix$MKDIR_P ;;
16209   esac
16210 _ACEOF
16211
16212 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
16213 # If the template does not know about datarootdir, expand it.
16214 # FIXME: This hack should be removed a few years after 2.60.
16215 ac_datarootdir_hack=; ac_datarootdir_seen=
16216 ac_sed_dataroot='
16217 /datarootdir/ {
16218   p
16219   q
16220 }
16221 /@datadir@/p
16222 /@docdir@/p
16223 /@infodir@/p
16224 /@localedir@/p
16225 /@mandir@/p'
16226 case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in
16227 *datarootdir*) ac_datarootdir_seen=yes;;
16228 *@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*)
16229   { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
16230 $as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
16231 _ACEOF
16232 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
16233   ac_datarootdir_hack='
16234   s&@datadir@&$datadir&g
16235   s&@docdir@&$docdir&g
16236   s&@infodir@&$infodir&g
16237   s&@localedir@&$localedir&g
16238   s&@mandir@&$mandir&g
16239   s&\\\${datarootdir}&$datarootdir&g' ;;
16240 esac
16241 _ACEOF
16242
16243 # Neutralize VPATH when `$srcdir' = `.'.
16244 # Shell code in configure.ac might set extrasub.
16245 # FIXME: do we really want to maintain this feature?
16246 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
16247 ac_sed_extra="$ac_vpsub
16248 $extrasub
16249 _ACEOF
16250 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
16251 :t
16252 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
16253 s|@configure_input@|$ac_sed_conf_input|;t t
16254 s&@top_builddir@&$ac_top_builddir_sub&;t t
16255 s&@top_build_prefix@&$ac_top_build_prefix&;t t
16256 s&@srcdir@&$ac_srcdir&;t t
16257 s&@abs_srcdir@&$ac_abs_srcdir&;t t
16258 s&@top_srcdir@&$ac_top_srcdir&;t t
16259 s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t
16260 s&@builddir@&$ac_builddir&;t t
16261 s&@abs_builddir@&$ac_abs_builddir&;t t
16262 s&@abs_top_builddir@&$ac_abs_top_builddir&;t t
16263 s&@INSTALL@&$ac_INSTALL&;t t
16264 s&@MKDIR_P@&$ac_MKDIR_P&;t t
16265 $ac_datarootdir_hack
16266 "
16267 eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$ac_tmp/subs.awk" \
16268   >$ac_tmp/out || as_fn_error $? "could not create $ac_file" "$LINENO" 5
16269
16270 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
16271   { ac_out=`sed -n '/\${datarootdir}/p' "$ac_tmp/out"`; test -n "$ac_out"; } &&
16272   { ac_out=`sed -n '/^[  ]*datarootdir[  ]*:*=/p' \
16273       "$ac_tmp/out"`; test -z "$ac_out"; } &&
16274   { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file contains a reference to the variable \`datarootdir'
16275 which seems to be undefined.  Please make sure it is defined" >&5
16276 $as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir'
16277 which seems to be undefined.  Please make sure it is defined" >&2;}
16278
16279   rm -f "$ac_tmp/stdin"
16280   case $ac_file in
16281   -) cat "$ac_tmp/out" && rm -f "$ac_tmp/out";;
16282   *) rm -f "$ac_file" && mv "$ac_tmp/out" "$ac_file";;
16283   esac \
16284   || as_fn_error $? "could not create $ac_file" "$LINENO" 5
16285  ;;
16286   :H)
16287   #
16288   # CONFIG_HEADER
16289   #
16290   if test x"$ac_file" != x-; then
16291     {
16292       $as_echo "/* $configure_input  */" \
16293       && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs"
16294     } >"$ac_tmp/config.h" \
16295       || as_fn_error $? "could not create $ac_file" "$LINENO" 5
16296     if diff "$ac_file" "$ac_tmp/config.h" >/dev/null 2>&1; then
16297       { $as_echo "$as_me:${as_lineno-$LINENO}: $ac_file is unchanged" >&5
16298 $as_echo "$as_me: $ac_file is unchanged" >&6;}
16299     else
16300       rm -f "$ac_file"
16301       mv "$ac_tmp/config.h" "$ac_file" \
16302         || as_fn_error $? "could not create $ac_file" "$LINENO" 5
16303     fi
16304   else
16305     $as_echo "/* $configure_input  */" \
16306       && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs" \
16307       || as_fn_error $? "could not create -" "$LINENO" 5
16308   fi
16309 # Compute "$ac_file"'s index in $config_headers.
16310 _am_arg="$ac_file"
16311 _am_stamp_count=1
16312 for _am_header in $config_headers :; do
16313   case $_am_header in
16314     $_am_arg | $_am_arg:* )
16315       break ;;
16316     * )
16317       _am_stamp_count=`expr $_am_stamp_count + 1` ;;
16318   esac
16319 done
16320 echo "timestamp for $_am_arg" >`$as_dirname -- "$_am_arg" ||
16321 $as_expr X"$_am_arg" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
16322          X"$_am_arg" : 'X\(//\)[^/]' \| \
16323          X"$_am_arg" : 'X\(//\)$' \| \
16324          X"$_am_arg" : 'X\(/\)' \| . 2>/dev/null ||
16325 $as_echo X"$_am_arg" |
16326     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
16327             s//\1/
16328             q
16329           }
16330           /^X\(\/\/\)[^/].*/{
16331             s//\1/
16332             q
16333           }
16334           /^X\(\/\/\)$/{
16335             s//\1/
16336             q
16337           }
16338           /^X\(\/\).*/{
16339             s//\1/
16340             q
16341           }
16342           s/.*/./; q'`/stamp-h$_am_stamp_count
16343  ;;
16344
16345   :C)  { $as_echo "$as_me:${as_lineno-$LINENO}: executing $ac_file commands" >&5
16346 $as_echo "$as_me: executing $ac_file commands" >&6;}
16347  ;;
16348   esac
16349
16350
16351   case $ac_file$ac_mode in
16352     "depfiles":C) test x"$AMDEP_TRUE" != x"" || {
16353   # Autoconf 2.62 quotes --file arguments for eval, but not when files
16354   # are listed without --file.  Let's play safe and only enable the eval
16355   # if we detect the quoting.
16356   case $CONFIG_FILES in
16357   *\'*) eval set x "$CONFIG_FILES" ;;
16358   *)   set x $CONFIG_FILES ;;
16359   esac
16360   shift
16361   for mf
16362   do
16363     # Strip MF so we end up with the name of the file.
16364     mf=`echo "$mf" | sed -e 's/:.*$//'`
16365     # Check whether this is an Automake generated Makefile or not.
16366     # We used to match only the files named `Makefile.in', but
16367     # some people rename them; so instead we look at the file content.
16368     # Grep'ing the first line is not enough: some people post-process
16369     # each Makefile.in and add a new line on top of each file to say so.
16370     # Grep'ing the whole file is not good either: AIX grep has a line
16371     # limit of 2048, but all sed's we know have understand at least 4000.
16372     if sed -n 's,^#.*generated by automake.*,X,p' "$mf" | grep X >/dev/null 2>&1; then
16373       dirpart=`$as_dirname -- "$mf" ||
16374 $as_expr X"$mf" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
16375          X"$mf" : 'X\(//\)[^/]' \| \
16376          X"$mf" : 'X\(//\)$' \| \
16377          X"$mf" : 'X\(/\)' \| . 2>/dev/null ||
16378 $as_echo X"$mf" |
16379     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
16380             s//\1/
16381             q
16382           }
16383           /^X\(\/\/\)[^/].*/{
16384             s//\1/
16385             q
16386           }
16387           /^X\(\/\/\)$/{
16388             s//\1/
16389             q
16390           }
16391           /^X\(\/\).*/{
16392             s//\1/
16393             q
16394           }
16395           s/.*/./; q'`
16396     else
16397       continue
16398     fi
16399     # Extract the definition of DEPDIR, am__include, and am__quote
16400     # from the Makefile without running `make'.
16401     DEPDIR=`sed -n 's/^DEPDIR = //p' < "$mf"`
16402     test -z "$DEPDIR" && continue
16403     am__include=`sed -n 's/^am__include = //p' < "$mf"`
16404     test -z "am__include" && continue
16405     am__quote=`sed -n 's/^am__quote = //p' < "$mf"`
16406     # When using ansi2knr, U may be empty or an underscore; expand it
16407     U=`sed -n 's/^U = //p' < "$mf"`
16408     # Find all dependency output files, they are included files with
16409     # $(DEPDIR) in their names.  We invoke sed twice because it is the
16410     # simplest approach to changing $(DEPDIR) to its actual value in the
16411     # expansion.
16412     for file in `sed -n "
16413       s/^$am__include $am__quote\(.*(DEPDIR).*\)$am__quote"'$/\1/p' <"$mf" | \
16414          sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g' -e 's/\$U/'"$U"'/g'`; do
16415       # Make sure the directory exists.
16416       test -f "$dirpart/$file" && continue
16417       fdir=`$as_dirname -- "$file" ||
16418 $as_expr X"$file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
16419          X"$file" : 'X\(//\)[^/]' \| \
16420          X"$file" : 'X\(//\)$' \| \
16421          X"$file" : 'X\(/\)' \| . 2>/dev/null ||
16422 $as_echo X"$file" |
16423     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
16424             s//\1/
16425             q
16426           }
16427           /^X\(\/\/\)[^/].*/{
16428             s//\1/
16429             q
16430           }
16431           /^X\(\/\/\)$/{
16432             s//\1/
16433             q
16434           }
16435           /^X\(\/\).*/{
16436             s//\1/
16437             q
16438           }
16439           s/.*/./; q'`
16440       as_dir=$dirpart/$fdir; as_fn_mkdir_p
16441       # echo "creating $dirpart/$file"
16442       echo '# dummy' > "$dirpart/$file"
16443     done
16444   done
16445 }
16446  ;;
16447     "libtool":C)
16448
16449     # See if we are running on zsh, and set the options which allow our
16450     # commands through without removal of \ escapes.
16451     if test -n "${ZSH_VERSION+set}" ; then
16452       setopt NO_GLOB_SUBST
16453     fi
16454
16455     cfgfile="${ofile}T"
16456     trap "$RM \"$cfgfile\"; exit 1" 1 2 15
16457     $RM "$cfgfile"
16458
16459     cat <<_LT_EOF >> "$cfgfile"
16460 #! $SHELL
16461
16462 # `$ECHO "$ofile" | sed 's%^.*/%%'` - Provide generalized library-building support services.
16463 # Generated automatically by $as_me ($PACKAGE$TIMESTAMP) $VERSION
16464 # Libtool was configured on host `(hostname || uname -n) 2>/dev/null | sed 1q`:
16465 # NOTE: Changes made to this file will be lost: look at ltmain.sh.
16466 #
16467 #   Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2003, 2004, 2005,
16468 #                 2006, 2007, 2008, 2009, 2010, 2011 Free Software
16469 #                 Foundation, Inc.
16470 #   Written by Gordon Matzigkeit, 1996
16471 #
16472 #   This file is part of GNU Libtool.
16473 #
16474 # GNU Libtool is free software; you can redistribute it and/or
16475 # modify it under the terms of the GNU General Public License as
16476 # published by the Free Software Foundation; either version 2 of
16477 # the License, or (at your option) any later version.
16478 #
16479 # As a special exception to the GNU General Public License,
16480 # if you distribute this file as part of a program or library that
16481 # is built using GNU Libtool, you may include this file under the
16482 # same distribution terms that you use for the rest of that program.
16483 #
16484 # GNU Libtool is distributed in the hope that it will be useful,
16485 # but WITHOUT ANY WARRANTY; without even the implied warranty of
16486 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
16487 # GNU General Public License for more details.
16488 #
16489 # You should have received a copy of the GNU General Public License
16490 # along with GNU Libtool; see the file COPYING.  If not, a copy
16491 # can be downloaded from http://www.gnu.org/licenses/gpl.html, or
16492 # obtained by writing to the Free Software Foundation, Inc.,
16493 # 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
16494
16495
16496 # The names of the tagged configurations supported by this script.
16497 available_tags=""
16498
16499 # ### BEGIN LIBTOOL CONFIG
16500
16501 # Which release of libtool.m4 was used?
16502 macro_version=$macro_version
16503 macro_revision=$macro_revision
16504
16505 # Assembler program.
16506 AS=$lt_AS
16507
16508 # DLL creation program.
16509 DLLTOOL=$lt_DLLTOOL
16510
16511 # Object dumper program.
16512 OBJDUMP=$lt_OBJDUMP
16513
16514 # Whether or not to build static libraries.
16515 build_old_libs=$enable_static
16516
16517 # Whether or not to build shared libraries.
16518 build_libtool_libs=$enable_shared
16519
16520 # What type of objects to build.
16521 pic_mode=$pic_mode
16522
16523 # Whether or not to optimize for fast installation.
16524 fast_install=$enable_fast_install
16525
16526 # Shell to use when invoking shell scripts.
16527 SHELL=$lt_SHELL
16528
16529 # An echo program that protects backslashes.
16530 ECHO=$lt_ECHO
16531
16532 # The PATH separator for the build system.
16533 PATH_SEPARATOR=$lt_PATH_SEPARATOR
16534
16535 # The host system.
16536 host_alias=$host_alias
16537 host=$host
16538 host_os=$host_os
16539
16540 # The build system.
16541 build_alias=$build_alias
16542 build=$build
16543 build_os=$build_os
16544
16545 # A sed program that does not truncate output.
16546 SED=$lt_SED
16547
16548 # Sed that helps us avoid accidentally triggering echo(1) options like -n.
16549 Xsed="\$SED -e 1s/^X//"
16550
16551 # A grep program that handles long lines.
16552 GREP=$lt_GREP
16553
16554 # An ERE matcher.
16555 EGREP=$lt_EGREP
16556
16557 # A literal string matcher.
16558 FGREP=$lt_FGREP
16559
16560 # A BSD- or MS-compatible name lister.
16561 NM=$lt_NM
16562
16563 # Whether we need soft or hard links.
16564 LN_S=$lt_LN_S
16565
16566 # What is the maximum length of a command?
16567 max_cmd_len=$max_cmd_len
16568
16569 # Object file suffix (normally "o").
16570 objext=$ac_objext
16571
16572 # Executable file suffix (normally "").
16573 exeext=$exeext
16574
16575 # whether the shell understands "unset".
16576 lt_unset=$lt_unset
16577
16578 # turn spaces into newlines.
16579 SP2NL=$lt_lt_SP2NL
16580
16581 # turn newlines into spaces.
16582 NL2SP=$lt_lt_NL2SP
16583
16584 # convert \$build file names to \$host format.
16585 to_host_file_cmd=$lt_cv_to_host_file_cmd
16586
16587 # convert \$build files to toolchain format.
16588 to_tool_file_cmd=$lt_cv_to_tool_file_cmd
16589
16590 # Method to check whether dependent libraries are shared objects.
16591 deplibs_check_method=$lt_deplibs_check_method
16592
16593 # Command to use when deplibs_check_method = "file_magic".
16594 file_magic_cmd=$lt_file_magic_cmd
16595
16596 # How to find potential files when deplibs_check_method = "file_magic".
16597 file_magic_glob=$lt_file_magic_glob
16598
16599 # Find potential files using nocaseglob when deplibs_check_method = "file_magic".
16600 want_nocaseglob=$lt_want_nocaseglob
16601
16602 # Command to associate shared and link libraries.
16603 sharedlib_from_linklib_cmd=$lt_sharedlib_from_linklib_cmd
16604
16605 # The archiver.
16606 AR=$lt_AR
16607
16608 # Flags to create an archive.
16609 AR_FLAGS=$lt_AR_FLAGS
16610
16611 # How to feed a file listing to the archiver.
16612 archiver_list_spec=$lt_archiver_list_spec
16613
16614 # A symbol stripping program.
16615 STRIP=$lt_STRIP
16616
16617 # Commands used to install an old-style archive.
16618 RANLIB=$lt_RANLIB
16619 old_postinstall_cmds=$lt_old_postinstall_cmds
16620 old_postuninstall_cmds=$lt_old_postuninstall_cmds
16621
16622 # Whether to use a lock for old archive extraction.
16623 lock_old_archive_extraction=$lock_old_archive_extraction
16624
16625 # A C compiler.
16626 LTCC=$lt_CC
16627
16628 # LTCC compiler flags.
16629 LTCFLAGS=$lt_CFLAGS
16630
16631 # Take the output of nm and produce a listing of raw symbols and C names.
16632 global_symbol_pipe=$lt_lt_cv_sys_global_symbol_pipe
16633
16634 # Transform the output of nm in a proper C declaration.
16635 global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl
16636
16637 # Transform the output of nm in a C name address pair.
16638 global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address
16639
16640 # Transform the output of nm in a C name address pair when lib prefix is needed.
16641 global_symbol_to_c_name_address_lib_prefix=$lt_lt_cv_sys_global_symbol_to_c_name_address_lib_prefix
16642
16643 # Specify filename containing input files for \$NM.
16644 nm_file_list_spec=$lt_nm_file_list_spec
16645
16646 # The root where to search for dependent libraries,and in which our libraries should be installed.
16647 lt_sysroot=$lt_sysroot
16648
16649 # The name of the directory that contains temporary libtool files.
16650 objdir=$objdir
16651
16652 # Used to examine libraries when file_magic_cmd begins with "file".
16653 MAGIC_CMD=$MAGIC_CMD
16654
16655 # Must we lock files when doing compilation?
16656 need_locks=$lt_need_locks
16657
16658 # Manifest tool.
16659 MANIFEST_TOOL=$lt_MANIFEST_TOOL
16660
16661 # Tool to manipulate archived DWARF debug symbol files on Mac OS X.
16662 DSYMUTIL=$lt_DSYMUTIL
16663
16664 # Tool to change global to local symbols on Mac OS X.
16665 NMEDIT=$lt_NMEDIT
16666
16667 # Tool to manipulate fat objects and archives on Mac OS X.
16668 LIPO=$lt_LIPO
16669
16670 # ldd/readelf like tool for Mach-O binaries on Mac OS X.
16671 OTOOL=$lt_OTOOL
16672
16673 # ldd/readelf like tool for 64 bit Mach-O binaries on Mac OS X 10.4.
16674 OTOOL64=$lt_OTOOL64
16675
16676 # Old archive suffix (normally "a").
16677 libext=$libext
16678
16679 # Shared library suffix (normally ".so").
16680 shrext_cmds=$lt_shrext_cmds
16681
16682 # The commands to extract the exported symbol list from a shared archive.
16683 extract_expsyms_cmds=$lt_extract_expsyms_cmds
16684
16685 # Variables whose values should be saved in libtool wrapper scripts and
16686 # restored at link time.
16687 variables_saved_for_relink=$lt_variables_saved_for_relink
16688
16689 # Do we need the "lib" prefix for modules?
16690 need_lib_prefix=$need_lib_prefix
16691
16692 # Do we need a version for libraries?
16693 need_version=$need_version
16694
16695 # Library versioning type.
16696 version_type=$version_type
16697
16698 # Shared library runtime path variable.
16699 runpath_var=$runpath_var
16700
16701 # Shared library path variable.
16702 shlibpath_var=$shlibpath_var
16703
16704 # Is shlibpath searched before the hard-coded library search path?
16705 shlibpath_overrides_runpath=$shlibpath_overrides_runpath
16706
16707 # Format of library name prefix.
16708 libname_spec=$lt_libname_spec
16709
16710 # List of archive names.  First name is the real one, the rest are links.
16711 # The last name is the one that the linker finds with -lNAME
16712 library_names_spec=$lt_library_names_spec
16713
16714 # The coded name of the library, if different from the real name.
16715 soname_spec=$lt_soname_spec
16716
16717 # Permission mode override for installation of shared libraries.
16718 install_override_mode=$lt_install_override_mode
16719
16720 # Command to use after installation of a shared archive.
16721 postinstall_cmds=$lt_postinstall_cmds
16722
16723 # Command to use after uninstallation of a shared archive.
16724 postuninstall_cmds=$lt_postuninstall_cmds
16725
16726 # Commands used to finish a libtool library installation in a directory.
16727 finish_cmds=$lt_finish_cmds
16728
16729 # As "finish_cmds", except a single script fragment to be evaled but
16730 # not shown.
16731 finish_eval=$lt_finish_eval
16732
16733 # Whether we should hardcode library paths into libraries.
16734 hardcode_into_libs=$hardcode_into_libs
16735
16736 # Compile-time system search path for libraries.
16737 sys_lib_search_path_spec=$lt_sys_lib_search_path_spec
16738
16739 # Run-time system search path for libraries.
16740 sys_lib_dlsearch_path_spec=$lt_sys_lib_dlsearch_path_spec
16741
16742 # Whether dlopen is supported.
16743 dlopen_support=$enable_dlopen
16744
16745 # Whether dlopen of programs is supported.
16746 dlopen_self=$enable_dlopen_self
16747
16748 # Whether dlopen of statically linked programs is supported.
16749 dlopen_self_static=$enable_dlopen_self_static
16750
16751 # Commands to strip libraries.
16752 old_striplib=$lt_old_striplib
16753 striplib=$lt_striplib
16754
16755
16756 # The linker used to build libraries.
16757 LD=$lt_LD
16758
16759 # How to create reloadable object files.
16760 reload_flag=$lt_reload_flag
16761 reload_cmds=$lt_reload_cmds
16762
16763 # Commands used to build an old-style archive.
16764 old_archive_cmds=$lt_old_archive_cmds
16765
16766 # A language specific compiler.
16767 CC=$lt_compiler
16768
16769 # Is the compiler the GNU compiler?
16770 with_gcc=$GCC
16771
16772 # Compiler flag to turn off builtin functions.
16773 no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag
16774
16775 # Additional compiler flags for building library objects.
16776 pic_flag=$lt_lt_prog_compiler_pic
16777
16778 # How to pass a linker flag through the compiler.
16779 wl=$lt_lt_prog_compiler_wl
16780
16781 # Compiler flag to prevent dynamic linking.
16782 link_static_flag=$lt_lt_prog_compiler_static
16783
16784 # Does compiler simultaneously support -c and -o options?
16785 compiler_c_o=$lt_lt_cv_prog_compiler_c_o
16786
16787 # Whether or not to add -lc for building shared libraries.
16788 build_libtool_need_lc=$archive_cmds_need_lc
16789
16790 # Whether or not to disallow shared libs when runtime libs are static.
16791 allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes
16792
16793 # Compiler flag to allow reflexive dlopens.
16794 export_dynamic_flag_spec=$lt_export_dynamic_flag_spec
16795
16796 # Compiler flag to generate shared objects directly from archives.
16797 whole_archive_flag_spec=$lt_whole_archive_flag_spec
16798
16799 # Whether the compiler copes with passing no objects directly.
16800 compiler_needs_object=$lt_compiler_needs_object
16801
16802 # Create an old-style archive from a shared archive.
16803 old_archive_from_new_cmds=$lt_old_archive_from_new_cmds
16804
16805 # Create a temporary old-style archive to link instead of a shared archive.
16806 old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds
16807
16808 # Commands used to build a shared archive.
16809 archive_cmds=$lt_archive_cmds
16810 archive_expsym_cmds=$lt_archive_expsym_cmds
16811
16812 # Commands used to build a loadable module if different from building
16813 # a shared archive.
16814 module_cmds=$lt_module_cmds
16815 module_expsym_cmds=$lt_module_expsym_cmds
16816
16817 # Whether we are building with GNU ld or not.
16818 with_gnu_ld=$lt_with_gnu_ld
16819
16820 # Flag that allows shared libraries with undefined symbols to be built.
16821 allow_undefined_flag=$lt_allow_undefined_flag
16822
16823 # Flag that enforces no undefined symbols.
16824 no_undefined_flag=$lt_no_undefined_flag
16825
16826 # Flag to hardcode \$libdir into a binary during linking.
16827 # This must work even if \$libdir does not exist
16828 hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec
16829
16830 # Whether we need a single "-rpath" flag with a separated argument.
16831 hardcode_libdir_separator=$lt_hardcode_libdir_separator
16832
16833 # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
16834 # DIR into the resulting binary.
16835 hardcode_direct=$hardcode_direct
16836
16837 # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
16838 # DIR into the resulting binary and the resulting library dependency is
16839 # "absolute",i.e impossible to change by setting \${shlibpath_var} if the
16840 # library is relocated.
16841 hardcode_direct_absolute=$hardcode_direct_absolute
16842
16843 # Set to "yes" if using the -LDIR flag during linking hardcodes DIR
16844 # into the resulting binary.
16845 hardcode_minus_L=$hardcode_minus_L
16846
16847 # Set to "yes" if using SHLIBPATH_VAR=DIR during linking hardcodes DIR
16848 # into the resulting binary.
16849 hardcode_shlibpath_var=$hardcode_shlibpath_var
16850
16851 # Set to "yes" if building a shared library automatically hardcodes DIR
16852 # into the library and all subsequent libraries and executables linked
16853 # against it.
16854 hardcode_automatic=$hardcode_automatic
16855
16856 # Set to yes if linker adds runtime paths of dependent libraries
16857 # to runtime path list.
16858 inherit_rpath=$inherit_rpath
16859
16860 # Whether libtool must link a program against all its dependency libraries.
16861 link_all_deplibs=$link_all_deplibs
16862
16863 # Set to "yes" if exported symbols are required.
16864 always_export_symbols=$always_export_symbols
16865
16866 # The commands to list exported symbols.
16867 export_symbols_cmds=$lt_export_symbols_cmds
16868
16869 # Symbols that should not be listed in the preloaded symbols.
16870 exclude_expsyms=$lt_exclude_expsyms
16871
16872 # Symbols that must always be exported.
16873 include_expsyms=$lt_include_expsyms
16874
16875 # Commands necessary for linking programs (against libraries) with templates.
16876 prelink_cmds=$lt_prelink_cmds
16877
16878 # Commands necessary for finishing linking programs.
16879 postlink_cmds=$lt_postlink_cmds
16880
16881 # Specify filename containing input files.
16882 file_list_spec=$lt_file_list_spec
16883
16884 # How to hardcode a shared library path into an executable.
16885 hardcode_action=$hardcode_action
16886
16887 # ### END LIBTOOL CONFIG
16888
16889 _LT_EOF
16890
16891   case $host_os in
16892   aix3*)
16893     cat <<\_LT_EOF >> "$cfgfile"
16894 # AIX sometimes has problems with the GCC collect2 program.  For some
16895 # reason, if we set the COLLECT_NAMES environment variable, the problems
16896 # vanish in a puff of smoke.
16897 if test "X${COLLECT_NAMES+set}" != Xset; then
16898   COLLECT_NAMES=
16899   export COLLECT_NAMES
16900 fi
16901 _LT_EOF
16902     ;;
16903   esac
16904
16905
16906 ltmain="$ac_aux_dir/ltmain.sh"
16907
16908
16909   # We use sed instead of cat because bash on DJGPP gets confused if
16910   # if finds mixed CR/LF and LF-only lines.  Since sed operates in
16911   # text mode, it properly converts lines to CR/LF.  This bash problem
16912   # is reportedly fixed, but why not run on old versions too?
16913   sed '$q' "$ltmain" >> "$cfgfile" \
16914      || (rm -f "$cfgfile"; exit 1)
16915
16916   if test x"$xsi_shell" = xyes; then
16917   sed -e '/^func_dirname ()$/,/^} # func_dirname /c\
16918 func_dirname ()\
16919 {\
16920 \    case ${1} in\
16921 \      */*) func_dirname_result="${1%/*}${2}" ;;\
16922 \      *  ) func_dirname_result="${3}" ;;\
16923 \    esac\
16924 } # Extended-shell func_dirname implementation' "$cfgfile" > $cfgfile.tmp \
16925   && mv -f "$cfgfile.tmp" "$cfgfile" \
16926     || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
16927 test 0 -eq $? || _lt_function_replace_fail=:
16928
16929
16930   sed -e '/^func_basename ()$/,/^} # func_basename /c\
16931 func_basename ()\
16932 {\
16933 \    func_basename_result="${1##*/}"\
16934 } # Extended-shell func_basename implementation' "$cfgfile" > $cfgfile.tmp \
16935   && mv -f "$cfgfile.tmp" "$cfgfile" \
16936     || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
16937 test 0 -eq $? || _lt_function_replace_fail=:
16938
16939
16940   sed -e '/^func_dirname_and_basename ()$/,/^} # func_dirname_and_basename /c\
16941 func_dirname_and_basename ()\
16942 {\
16943 \    case ${1} in\
16944 \      */*) func_dirname_result="${1%/*}${2}" ;;\
16945 \      *  ) func_dirname_result="${3}" ;;\
16946 \    esac\
16947 \    func_basename_result="${1##*/}"\
16948 } # Extended-shell func_dirname_and_basename implementation' "$cfgfile" > $cfgfile.tmp \
16949   && mv -f "$cfgfile.tmp" "$cfgfile" \
16950     || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
16951 test 0 -eq $? || _lt_function_replace_fail=:
16952
16953
16954   sed -e '/^func_stripname ()$/,/^} # func_stripname /c\
16955 func_stripname ()\
16956 {\
16957 \    # pdksh 5.2.14 does not do ${X%$Y} correctly if both X and Y are\
16958 \    # positional parameters, so assign one to ordinary parameter first.\
16959 \    func_stripname_result=${3}\
16960 \    func_stripname_result=${func_stripname_result#"${1}"}\
16961 \    func_stripname_result=${func_stripname_result%"${2}"}\
16962 } # Extended-shell func_stripname implementation' "$cfgfile" > $cfgfile.tmp \
16963   && mv -f "$cfgfile.tmp" "$cfgfile" \
16964     || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
16965 test 0 -eq $? || _lt_function_replace_fail=:
16966
16967
16968   sed -e '/^func_split_long_opt ()$/,/^} # func_split_long_opt /c\
16969 func_split_long_opt ()\
16970 {\
16971 \    func_split_long_opt_name=${1%%=*}\
16972 \    func_split_long_opt_arg=${1#*=}\
16973 } # Extended-shell func_split_long_opt 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_split_short_opt ()$/,/^} # func_split_short_opt /c\
16980 func_split_short_opt ()\
16981 {\
16982 \    func_split_short_opt_arg=${1#??}\
16983 \    func_split_short_opt_name=${1%"$func_split_short_opt_arg"}\
16984 } # Extended-shell func_split_short_opt implementation' "$cfgfile" > $cfgfile.tmp \
16985   && mv -f "$cfgfile.tmp" "$cfgfile" \
16986     || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
16987 test 0 -eq $? || _lt_function_replace_fail=:
16988
16989
16990   sed -e '/^func_lo2o ()$/,/^} # func_lo2o /c\
16991 func_lo2o ()\
16992 {\
16993 \    case ${1} in\
16994 \      *.lo) func_lo2o_result=${1%.lo}.${objext} ;;\
16995 \      *)    func_lo2o_result=${1} ;;\
16996 \    esac\
16997 } # Extended-shell func_lo2o implementation' "$cfgfile" > $cfgfile.tmp \
16998   && mv -f "$cfgfile.tmp" "$cfgfile" \
16999     || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
17000 test 0 -eq $? || _lt_function_replace_fail=:
17001
17002
17003   sed -e '/^func_xform ()$/,/^} # func_xform /c\
17004 func_xform ()\
17005 {\
17006     func_xform_result=${1%.*}.lo\
17007 } # Extended-shell func_xform implementation' "$cfgfile" > $cfgfile.tmp \
17008   && mv -f "$cfgfile.tmp" "$cfgfile" \
17009     || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
17010 test 0 -eq $? || _lt_function_replace_fail=:
17011
17012
17013   sed -e '/^func_arith ()$/,/^} # func_arith /c\
17014 func_arith ()\
17015 {\
17016     func_arith_result=$(( $* ))\
17017 } # Extended-shell func_arith implementation' "$cfgfile" > $cfgfile.tmp \
17018   && mv -f "$cfgfile.tmp" "$cfgfile" \
17019     || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
17020 test 0 -eq $? || _lt_function_replace_fail=:
17021
17022
17023   sed -e '/^func_len ()$/,/^} # func_len /c\
17024 func_len ()\
17025 {\
17026     func_len_result=${#1}\
17027 } # Extended-shell func_len implementation' "$cfgfile" > $cfgfile.tmp \
17028   && mv -f "$cfgfile.tmp" "$cfgfile" \
17029     || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
17030 test 0 -eq $? || _lt_function_replace_fail=:
17031
17032 fi
17033
17034 if test x"$lt_shell_append" = xyes; then
17035   sed -e '/^func_append ()$/,/^} # func_append /c\
17036 func_append ()\
17037 {\
17038     eval "${1}+=\\${2}"\
17039 } # Extended-shell func_append implementation' "$cfgfile" > $cfgfile.tmp \
17040   && mv -f "$cfgfile.tmp" "$cfgfile" \
17041     || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
17042 test 0 -eq $? || _lt_function_replace_fail=:
17043
17044
17045   sed -e '/^func_append_quoted ()$/,/^} # func_append_quoted /c\
17046 func_append_quoted ()\
17047 {\
17048 \    func_quote_for_eval "${2}"\
17049 \    eval "${1}+=\\\\ \\$func_quote_for_eval_result"\
17050 } # Extended-shell func_append_quoted implementation' "$cfgfile" > $cfgfile.tmp \
17051   && mv -f "$cfgfile.tmp" "$cfgfile" \
17052     || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
17053 test 0 -eq $? || _lt_function_replace_fail=:
17054
17055
17056   # Save a `func_append' function call where possible by direct use of '+='
17057   sed -e 's%func_append \([a-zA-Z_]\{1,\}\) "%\1+="%g' $cfgfile > $cfgfile.tmp \
17058     && mv -f "$cfgfile.tmp" "$cfgfile" \
17059       || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
17060   test 0 -eq $? || _lt_function_replace_fail=:
17061 else
17062   # Save a `func_append' function call even when '+=' is not available
17063   sed -e 's%func_append \([a-zA-Z_]\{1,\}\) "%\1="$\1%g' $cfgfile > $cfgfile.tmp \
17064     && mv -f "$cfgfile.tmp" "$cfgfile" \
17065       || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
17066   test 0 -eq $? || _lt_function_replace_fail=:
17067 fi
17068
17069 if test x"$_lt_function_replace_fail" = x":"; then
17070   { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Unable to substitute extended shell functions in $ofile" >&5
17071 $as_echo "$as_me: WARNING: Unable to substitute extended shell functions in $ofile" >&2;}
17072 fi
17073
17074
17075    mv -f "$cfgfile" "$ofile" ||
17076     (rm -f "$ofile" && cp "$cfgfile" "$ofile" && rm -f "$cfgfile")
17077   chmod +x "$ofile"
17078
17079  ;;
17080
17081   esac
17082 done # for ac_tag
17083
17084
17085 as_fn_exit 0
17086 _ACEOF
17087 ac_clean_files=$ac_clean_files_save
17088
17089 test $ac_write_fail = 0 ||
17090   as_fn_error $? "write failure creating $CONFIG_STATUS" "$LINENO" 5
17091
17092
17093 # configure is writing to config.log, and then calls config.status.
17094 # config.status does its own redirection, appending to config.log.
17095 # Unfortunately, on DOS this fails, as config.log is still kept open
17096 # by configure, so config.status won't be able to write to it; its
17097 # output is simply discarded.  So we exec the FD to /dev/null,
17098 # effectively closing config.log, so it can be properly (re)opened and
17099 # appended to by config.status.  When coming back to configure, we
17100 # need to make the FD available again.
17101 if test "$no_create" != yes; then
17102   ac_cs_success=:
17103   ac_config_status_args=
17104   test "$silent" = yes &&
17105     ac_config_status_args="$ac_config_status_args --quiet"
17106   exec 5>/dev/null
17107   $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
17108   exec 5>>config.log
17109   # Use ||, not &&, to avoid exiting from the if with $? = 1, which
17110   # would make configure fail if this is the last instruction.
17111   $ac_cs_success || as_fn_exit 1
17112 fi
17113 if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no; then
17114   { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
17115 $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}
17116 fi
17117
17118
17119 { $as_echo "$as_me:${as_lineno-$LINENO}: result:
17120         pygobject $VERSION
17121
17122         Using python interpreter:       $PYTHON
17123         libffi support:                 $have_libffi
17124         cairo support:                  $enable_cairo
17125         thread support:                 $enable_thread
17126         code coverage support:          $enable_code_coverage
17127 " >&5
17128 $as_echo "
17129         pygobject $VERSION
17130
17131         Using python interpreter:       $PYTHON
17132         libffi support:                 $have_libffi
17133         cairo support:                  $enable_cairo
17134         thread support:                 $enable_thread
17135         code coverage support:          $enable_code_coverage
17136 " >&6; }
17137