Imported Upstream version 3.16.1
[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.16.1.
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.16.1'
595 PACKAGE_STRING='pygobject 3.16.1'
596 PACKAGE_BUGREPORT='http://bugzilla.gnome.org/enter_bug.cgi?product=pygobject'
597 PACKAGE_URL='https://wiki.gnome.org/Projects/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_RULES
642 CODE_COVERAGE_LDFLAGS
643 CODE_COVERAGE_CFLAGS
644 GENHTML
645 LCOV
646 CODE_COVERAGE_ENABLED
647 CODE_COVERAGE_ENABLED_FALSE
648 CODE_COVERAGE_ENABLED_TRUE
649 WARN_CFLAGS
650 INTROSPECTION_COMPILER
651 INTROSPECTION_SCANNER
652 WITH_COMMON_FALSE
653 WITH_COMMON_TRUE
654 ENABLE_CAIRO_FALSE
655 ENABLE_CAIRO_TRUE
656 PYCAIRO_LIBS
657 PYCAIRO_CFLAGS
658 CAIRO_LIBS
659 CAIRO_CFLAGS
660 GI_DATADIR
661 GI_LIBS
662 GI_CFLAGS
663 GIO_LIBS
664 GIO_CFLAGS
665 LIBFFI_PC
666 FFI_LIBS
667 FFI_CFLAGS
668 DATADIR
669 PYTHON_BASENAME
670 GLIB_COMPILE_RESOURCES
671 GLIB_MKENUMS
672 GOBJECT_QUERY
673 GLIB_GENMARSHAL
674 GLIB_LIBS
675 GLIB_CFLAGS
676 PKG_CONFIG_LIBDIR
677 PKG_CONFIG_PATH
678 PKG_CONFIG
679 THREADING_CFLAGS
680 PLATFORM
681 PYTHON_LIB_LOC
682 PYTHON_LIBS
683 PYTHON_INCLUDES
684 PYTHON_SO
685 pkgpyexecdir
686 pyexecdir
687 pkgpythondir
688 pythondir
689 PYTHON_PLATFORM
690 PYTHON_EXEC_PREFIX
691 PYTHON_PREFIX
692 PYTHON_VERSION
693 PYTHON
694 CPP
695 OTOOL64
696 OTOOL
697 LIPO
698 NMEDIT
699 DSYMUTIL
700 MANIFEST_TOOL
701 RANLIB
702 ac_ct_AR
703 AR
704 LN_S
705 NM
706 ac_ct_DUMPBIN
707 DUMPBIN
708 LD
709 FGREP
710 EGREP
711 GREP
712 SED
713 am__fastdepCC_FALSE
714 am__fastdepCC_TRUE
715 CCDEPMODE
716 am__nodep
717 AMDEPBACKSLASH
718 AMDEP_FALSE
719 AMDEP_TRUE
720 am__quote
721 am__include
722 DEPDIR
723 OBJEXT
724 EXEEXT
725 ac_ct_CC
726 CPPFLAGS
727 LDFLAGS
728 CFLAGS
729 CC
730 LIBTOOL
731 OBJDUMP
732 DLLTOOL
733 AS
734 OS_EXT
735 OS_WIN32_FALSE
736 OS_WIN32_TRUE
737 host_os
738 host_vendor
739 host_cpu
740 host
741 build_os
742 build_vendor
743 build_cpu
744 build
745 am__untar
746 am__tar
747 AMTAR
748 am__leading_dot
749 SET_MAKE
750 AWK
751 mkdir_p
752 MKDIR_P
753 INSTALL_STRIP_PROGRAM
754 STRIP
755 install_sh
756 MAKEINFO
757 AUTOHEADER
758 AUTOMAKE
759 AUTOCONF
760 ACLOCAL
761 VERSION
762 PACKAGE
763 CYGPATH_W
764 am__isrc
765 INSTALL_DATA
766 INSTALL_SCRIPT
767 INSTALL_PROGRAM
768 AM_BACKSLASH
769 AM_DEFAULT_VERBOSITY
770 AM_DEFAULT_V
771 AM_V
772 PYGOBJECT_MICRO_VERSION
773 PYGOBJECT_MINOR_VERSION
774 PYGOBJECT_MAJOR_VERSION
775 ACLOCAL_AMFLAGS
776 target_alias
777 host_alias
778 build_alias
779 LIBS
780 ECHO_T
781 ECHO_N
782 ECHO_C
783 DEFS
784 mandir
785 localedir
786 libdir
787 psdir
788 pdfdir
789 dvidir
790 htmldir
791 infodir
792 docdir
793 oldincludedir
794 includedir
795 localstatedir
796 sharedstatedir
797 sysconfdir
798 datadir
799 datarootdir
800 libexecdir
801 sbindir
802 bindir
803 program_transform_name
804 prefix
805 exec_prefix
806 PACKAGE_URL
807 PACKAGE_BUGREPORT
808 PACKAGE_STRING
809 PACKAGE_VERSION
810 PACKAGE_TARNAME
811 PACKAGE_NAME
812 PATH_SEPARATOR
813 SHELL'
814 ac_subst_files=''
815 ac_user_opts='
816 enable_option_checking
817 enable_silent_rules
818 enable_static
819 enable_shared
820 with_pic
821 enable_fast_install
822 enable_dependency_tracking
823 with_gnu_ld
824 with_sysroot
825 enable_libtool_lock
826 with_python
827 enable_thread
828 enable_glibtest
829 enable_cairo
830 with_common
831 enable_compile_warnings
832 enable_iso_c
833 enable_code_coverage
834 '
835       ac_precious_vars='build_alias
836 host_alias
837 target_alias
838 CC
839 CFLAGS
840 LDFLAGS
841 LIBS
842 CPPFLAGS
843 CPP
844 PYTHON
845 PKG_CONFIG
846 PKG_CONFIG_PATH
847 PKG_CONFIG_LIBDIR
848 FFI_CFLAGS
849 FFI_LIBS
850 GIO_CFLAGS
851 GIO_LIBS
852 GI_CFLAGS
853 GI_LIBS
854 CAIRO_CFLAGS
855 CAIRO_LIBS
856 PYCAIRO_CFLAGS
857 PYCAIRO_LIBS'
858
859
860 # Initialize some variables set by options.
861 ac_init_help=
862 ac_init_version=false
863 ac_unrecognized_opts=
864 ac_unrecognized_sep=
865 # The variables have the same names as the options, with
866 # dashes changed to underlines.
867 cache_file=/dev/null
868 exec_prefix=NONE
869 no_create=
870 no_recursion=
871 prefix=NONE
872 program_prefix=NONE
873 program_suffix=NONE
874 program_transform_name=s,x,x,
875 silent=
876 site=
877 srcdir=
878 verbose=
879 x_includes=NONE
880 x_libraries=NONE
881
882 # Installation directory options.
883 # These are left unexpanded so users can "make install exec_prefix=/foo"
884 # and all the variables that are supposed to be based on exec_prefix
885 # by default will actually change.
886 # Use braces instead of parens because sh, perl, etc. also accept them.
887 # (The list follows the same order as the GNU Coding Standards.)
888 bindir='${exec_prefix}/bin'
889 sbindir='${exec_prefix}/sbin'
890 libexecdir='${exec_prefix}/libexec'
891 datarootdir='${prefix}/share'
892 datadir='${datarootdir}'
893 sysconfdir='${prefix}/etc'
894 sharedstatedir='${prefix}/com'
895 localstatedir='${prefix}/var'
896 includedir='${prefix}/include'
897 oldincludedir='/usr/include'
898 docdir='${datarootdir}/doc/${PACKAGE_TARNAME}'
899 infodir='${datarootdir}/info'
900 htmldir='${docdir}'
901 dvidir='${docdir}'
902 pdfdir='${docdir}'
903 psdir='${docdir}'
904 libdir='${exec_prefix}/lib'
905 localedir='${datarootdir}/locale'
906 mandir='${datarootdir}/man'
907
908 ac_prev=
909 ac_dashdash=
910 for ac_option
911 do
912   # If the previous option needs an argument, assign it.
913   if test -n "$ac_prev"; then
914     eval $ac_prev=\$ac_option
915     ac_prev=
916     continue
917   fi
918
919   case $ac_option in
920   *=?*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
921   *=)   ac_optarg= ;;
922   *)    ac_optarg=yes ;;
923   esac
924
925   # Accept the important Cygnus configure options, so we can diagnose typos.
926
927   case $ac_dashdash$ac_option in
928   --)
929     ac_dashdash=yes ;;
930
931   -bindir | --bindir | --bindi | --bind | --bin | --bi)
932     ac_prev=bindir ;;
933   -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
934     bindir=$ac_optarg ;;
935
936   -build | --build | --buil | --bui | --bu)
937     ac_prev=build_alias ;;
938   -build=* | --build=* | --buil=* | --bui=* | --bu=*)
939     build_alias=$ac_optarg ;;
940
941   -cache-file | --cache-file | --cache-fil | --cache-fi \
942   | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
943     ac_prev=cache_file ;;
944   -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
945   | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
946     cache_file=$ac_optarg ;;
947
948   --config-cache | -C)
949     cache_file=config.cache ;;
950
951   -datadir | --datadir | --datadi | --datad)
952     ac_prev=datadir ;;
953   -datadir=* | --datadir=* | --datadi=* | --datad=*)
954     datadir=$ac_optarg ;;
955
956   -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \
957   | --dataroo | --dataro | --datar)
958     ac_prev=datarootdir ;;
959   -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \
960   | --dataroot=* | --dataroo=* | --dataro=* | --datar=*)
961     datarootdir=$ac_optarg ;;
962
963   -disable-* | --disable-*)
964     ac_useropt=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
965     # Reject names that are not valid shell variable names.
966     expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
967       as_fn_error $? "invalid feature name: $ac_useropt"
968     ac_useropt_orig=$ac_useropt
969     ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
970     case $ac_user_opts in
971       *"
972 "enable_$ac_useropt"
973 "*) ;;
974       *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig"
975          ac_unrecognized_sep=', ';;
976     esac
977     eval enable_$ac_useropt=no ;;
978
979   -docdir | --docdir | --docdi | --doc | --do)
980     ac_prev=docdir ;;
981   -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*)
982     docdir=$ac_optarg ;;
983
984   -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv)
985     ac_prev=dvidir ;;
986   -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*)
987     dvidir=$ac_optarg ;;
988
989   -enable-* | --enable-*)
990     ac_useropt=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
991     # Reject names that are not valid shell variable names.
992     expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
993       as_fn_error $? "invalid feature name: $ac_useropt"
994     ac_useropt_orig=$ac_useropt
995     ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
996     case $ac_user_opts in
997       *"
998 "enable_$ac_useropt"
999 "*) ;;
1000       *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig"
1001          ac_unrecognized_sep=', ';;
1002     esac
1003     eval enable_$ac_useropt=\$ac_optarg ;;
1004
1005   -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
1006   | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
1007   | --exec | --exe | --ex)
1008     ac_prev=exec_prefix ;;
1009   -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
1010   | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
1011   | --exec=* | --exe=* | --ex=*)
1012     exec_prefix=$ac_optarg ;;
1013
1014   -gas | --gas | --ga | --g)
1015     # Obsolete; use --with-gas.
1016     with_gas=yes ;;
1017
1018   -help | --help | --hel | --he | -h)
1019     ac_init_help=long ;;
1020   -help=r* | --help=r* | --hel=r* | --he=r* | -hr*)
1021     ac_init_help=recursive ;;
1022   -help=s* | --help=s* | --hel=s* | --he=s* | -hs*)
1023     ac_init_help=short ;;
1024
1025   -host | --host | --hos | --ho)
1026     ac_prev=host_alias ;;
1027   -host=* | --host=* | --hos=* | --ho=*)
1028     host_alias=$ac_optarg ;;
1029
1030   -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht)
1031     ac_prev=htmldir ;;
1032   -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \
1033   | --ht=*)
1034     htmldir=$ac_optarg ;;
1035
1036   -includedir | --includedir | --includedi | --included | --include \
1037   | --includ | --inclu | --incl | --inc)
1038     ac_prev=includedir ;;
1039   -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
1040   | --includ=* | --inclu=* | --incl=* | --inc=*)
1041     includedir=$ac_optarg ;;
1042
1043   -infodir | --infodir | --infodi | --infod | --info | --inf)
1044     ac_prev=infodir ;;
1045   -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
1046     infodir=$ac_optarg ;;
1047
1048   -libdir | --libdir | --libdi | --libd)
1049     ac_prev=libdir ;;
1050   -libdir=* | --libdir=* | --libdi=* | --libd=*)
1051     libdir=$ac_optarg ;;
1052
1053   -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
1054   | --libexe | --libex | --libe)
1055     ac_prev=libexecdir ;;
1056   -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
1057   | --libexe=* | --libex=* | --libe=*)
1058     libexecdir=$ac_optarg ;;
1059
1060   -localedir | --localedir | --localedi | --localed | --locale)
1061     ac_prev=localedir ;;
1062   -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*)
1063     localedir=$ac_optarg ;;
1064
1065   -localstatedir | --localstatedir | --localstatedi | --localstated \
1066   | --localstate | --localstat | --localsta | --localst | --locals)
1067     ac_prev=localstatedir ;;
1068   -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
1069   | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*)
1070     localstatedir=$ac_optarg ;;
1071
1072   -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
1073     ac_prev=mandir ;;
1074   -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
1075     mandir=$ac_optarg ;;
1076
1077   -nfp | --nfp | --nf)
1078     # Obsolete; use --without-fp.
1079     with_fp=no ;;
1080
1081   -no-create | --no-create | --no-creat | --no-crea | --no-cre \
1082   | --no-cr | --no-c | -n)
1083     no_create=yes ;;
1084
1085   -no-recursion | --no-recursion | --no-recursio | --no-recursi \
1086   | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
1087     no_recursion=yes ;;
1088
1089   -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
1090   | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
1091   | --oldin | --oldi | --old | --ol | --o)
1092     ac_prev=oldincludedir ;;
1093   -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
1094   | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
1095   | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
1096     oldincludedir=$ac_optarg ;;
1097
1098   -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
1099     ac_prev=prefix ;;
1100   -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
1101     prefix=$ac_optarg ;;
1102
1103   -program-prefix | --program-prefix | --program-prefi | --program-pref \
1104   | --program-pre | --program-pr | --program-p)
1105     ac_prev=program_prefix ;;
1106   -program-prefix=* | --program-prefix=* | --program-prefi=* \
1107   | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
1108     program_prefix=$ac_optarg ;;
1109
1110   -program-suffix | --program-suffix | --program-suffi | --program-suff \
1111   | --program-suf | --program-su | --program-s)
1112     ac_prev=program_suffix ;;
1113   -program-suffix=* | --program-suffix=* | --program-suffi=* \
1114   | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
1115     program_suffix=$ac_optarg ;;
1116
1117   -program-transform-name | --program-transform-name \
1118   | --program-transform-nam | --program-transform-na \
1119   | --program-transform-n | --program-transform- \
1120   | --program-transform | --program-transfor \
1121   | --program-transfo | --program-transf \
1122   | --program-trans | --program-tran \
1123   | --progr-tra | --program-tr | --program-t)
1124     ac_prev=program_transform_name ;;
1125   -program-transform-name=* | --program-transform-name=* \
1126   | --program-transform-nam=* | --program-transform-na=* \
1127   | --program-transform-n=* | --program-transform-=* \
1128   | --program-transform=* | --program-transfor=* \
1129   | --program-transfo=* | --program-transf=* \
1130   | --program-trans=* | --program-tran=* \
1131   | --progr-tra=* | --program-tr=* | --program-t=*)
1132     program_transform_name=$ac_optarg ;;
1133
1134   -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd)
1135     ac_prev=pdfdir ;;
1136   -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*)
1137     pdfdir=$ac_optarg ;;
1138
1139   -psdir | --psdir | --psdi | --psd | --ps)
1140     ac_prev=psdir ;;
1141   -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*)
1142     psdir=$ac_optarg ;;
1143
1144   -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1145   | -silent | --silent | --silen | --sile | --sil)
1146     silent=yes ;;
1147
1148   -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
1149     ac_prev=sbindir ;;
1150   -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
1151   | --sbi=* | --sb=*)
1152     sbindir=$ac_optarg ;;
1153
1154   -sharedstatedir | --sharedstatedir | --sharedstatedi \
1155   | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
1156   | --sharedst | --shareds | --shared | --share | --shar \
1157   | --sha | --sh)
1158     ac_prev=sharedstatedir ;;
1159   -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
1160   | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
1161   | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
1162   | --sha=* | --sh=*)
1163     sharedstatedir=$ac_optarg ;;
1164
1165   -site | --site | --sit)
1166     ac_prev=site ;;
1167   -site=* | --site=* | --sit=*)
1168     site=$ac_optarg ;;
1169
1170   -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
1171     ac_prev=srcdir ;;
1172   -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
1173     srcdir=$ac_optarg ;;
1174
1175   -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
1176   | --syscon | --sysco | --sysc | --sys | --sy)
1177     ac_prev=sysconfdir ;;
1178   -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
1179   | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
1180     sysconfdir=$ac_optarg ;;
1181
1182   -target | --target | --targe | --targ | --tar | --ta | --t)
1183     ac_prev=target_alias ;;
1184   -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
1185     target_alias=$ac_optarg ;;
1186
1187   -v | -verbose | --verbose | --verbos | --verbo | --verb)
1188     verbose=yes ;;
1189
1190   -version | --version | --versio | --versi | --vers | -V)
1191     ac_init_version=: ;;
1192
1193   -with-* | --with-*)
1194     ac_useropt=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
1195     # Reject names that are not valid shell variable names.
1196     expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1197       as_fn_error $? "invalid package name: $ac_useropt"
1198     ac_useropt_orig=$ac_useropt
1199     ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1200     case $ac_user_opts in
1201       *"
1202 "with_$ac_useropt"
1203 "*) ;;
1204       *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig"
1205          ac_unrecognized_sep=', ';;
1206     esac
1207     eval with_$ac_useropt=\$ac_optarg ;;
1208
1209   -without-* | --without-*)
1210     ac_useropt=`expr "x$ac_option" : 'x-*without-\(.*\)'`
1211     # Reject names that are not valid shell variable names.
1212     expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1213       as_fn_error $? "invalid package name: $ac_useropt"
1214     ac_useropt_orig=$ac_useropt
1215     ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1216     case $ac_user_opts in
1217       *"
1218 "with_$ac_useropt"
1219 "*) ;;
1220       *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig"
1221          ac_unrecognized_sep=', ';;
1222     esac
1223     eval with_$ac_useropt=no ;;
1224
1225   --x)
1226     # Obsolete; use --with-x.
1227     with_x=yes ;;
1228
1229   -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
1230   | --x-incl | --x-inc | --x-in | --x-i)
1231     ac_prev=x_includes ;;
1232   -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
1233   | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
1234     x_includes=$ac_optarg ;;
1235
1236   -x-libraries | --x-libraries | --x-librarie | --x-librari \
1237   | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
1238     ac_prev=x_libraries ;;
1239   -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
1240   | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
1241     x_libraries=$ac_optarg ;;
1242
1243   -*) as_fn_error $? "unrecognized option: \`$ac_option'
1244 Try \`$0 --help' for more information"
1245     ;;
1246
1247   *=*)
1248     ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
1249     # Reject names that are not valid shell variable names.
1250     case $ac_envvar in #(
1251       '' | [0-9]* | *[!_$as_cr_alnum]* )
1252       as_fn_error $? "invalid variable name: \`$ac_envvar'" ;;
1253     esac
1254     eval $ac_envvar=\$ac_optarg
1255     export $ac_envvar ;;
1256
1257   *)
1258     # FIXME: should be removed in autoconf 3.0.
1259     $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2
1260     expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
1261       $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2
1262     : "${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}"
1263     ;;
1264
1265   esac
1266 done
1267
1268 if test -n "$ac_prev"; then
1269   ac_option=--`echo $ac_prev | sed 's/_/-/g'`
1270   as_fn_error $? "missing argument to $ac_option"
1271 fi
1272
1273 if test -n "$ac_unrecognized_opts"; then
1274   case $enable_option_checking in
1275     no) ;;
1276     fatal) as_fn_error $? "unrecognized options: $ac_unrecognized_opts" ;;
1277     *)     $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;;
1278   esac
1279 fi
1280
1281 # Check all directory arguments for consistency.
1282 for ac_var in   exec_prefix prefix bindir sbindir libexecdir datarootdir \
1283                 datadir sysconfdir sharedstatedir localstatedir includedir \
1284                 oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
1285                 libdir localedir mandir
1286 do
1287   eval ac_val=\$$ac_var
1288   # Remove trailing slashes.
1289   case $ac_val in
1290     */ )
1291       ac_val=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'`
1292       eval $ac_var=\$ac_val;;
1293   esac
1294   # Be sure to have absolute directory names.
1295   case $ac_val in
1296     [\\/$]* | ?:[\\/]* )  continue;;
1297     NONE | '' ) case $ac_var in *prefix ) continue;; esac;;
1298   esac
1299   as_fn_error $? "expected an absolute directory name for --$ac_var: $ac_val"
1300 done
1301
1302 # There might be people who depend on the old broken behavior: `$host'
1303 # used to hold the argument of --host etc.
1304 # FIXME: To remove some day.
1305 build=$build_alias
1306 host=$host_alias
1307 target=$target_alias
1308
1309 # FIXME: To remove some day.
1310 if test "x$host_alias" != x; then
1311   if test "x$build_alias" = x; then
1312     cross_compiling=maybe
1313   elif test "x$build_alias" != "x$host_alias"; then
1314     cross_compiling=yes
1315   fi
1316 fi
1317
1318 ac_tool_prefix=
1319 test -n "$host_alias" && ac_tool_prefix=$host_alias-
1320
1321 test "$silent" = yes && exec 6>/dev/null
1322
1323
1324 ac_pwd=`pwd` && test -n "$ac_pwd" &&
1325 ac_ls_di=`ls -di .` &&
1326 ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` ||
1327   as_fn_error $? "working directory cannot be determined"
1328 test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
1329   as_fn_error $? "pwd does not report name of working directory"
1330
1331
1332 # Find the source files, if location was not specified.
1333 if test -z "$srcdir"; then
1334   ac_srcdir_defaulted=yes
1335   # Try the directory containing this script, then the parent directory.
1336   ac_confdir=`$as_dirname -- "$as_myself" ||
1337 $as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
1338          X"$as_myself" : 'X\(//\)[^/]' \| \
1339          X"$as_myself" : 'X\(//\)$' \| \
1340          X"$as_myself" : 'X\(/\)' \| . 2>/dev/null ||
1341 $as_echo X"$as_myself" |
1342     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
1343             s//\1/
1344             q
1345           }
1346           /^X\(\/\/\)[^/].*/{
1347             s//\1/
1348             q
1349           }
1350           /^X\(\/\/\)$/{
1351             s//\1/
1352             q
1353           }
1354           /^X\(\/\).*/{
1355             s//\1/
1356             q
1357           }
1358           s/.*/./; q'`
1359   srcdir=$ac_confdir
1360   if test ! -r "$srcdir/$ac_unique_file"; then
1361     srcdir=..
1362   fi
1363 else
1364   ac_srcdir_defaulted=no
1365 fi
1366 if test ! -r "$srcdir/$ac_unique_file"; then
1367   test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .."
1368   as_fn_error $? "cannot find sources ($ac_unique_file) in $srcdir"
1369 fi
1370 ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work"
1371 ac_abs_confdir=`(
1372         cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error $? "$ac_msg"
1373         pwd)`
1374 # When building in place, set srcdir=.
1375 if test "$ac_abs_confdir" = "$ac_pwd"; then
1376   srcdir=.
1377 fi
1378 # Remove unnecessary trailing slashes from srcdir.
1379 # Double slashes in file names in object file debugging info
1380 # mess up M-x gdb in Emacs.
1381 case $srcdir in
1382 */) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
1383 esac
1384 for ac_var in $ac_precious_vars; do
1385   eval ac_env_${ac_var}_set=\${${ac_var}+set}
1386   eval ac_env_${ac_var}_value=\$${ac_var}
1387   eval ac_cv_env_${ac_var}_set=\${${ac_var}+set}
1388   eval ac_cv_env_${ac_var}_value=\$${ac_var}
1389 done
1390
1391 #
1392 # Report the --help message.
1393 #
1394 if test "$ac_init_help" = "long"; then
1395   # Omit some internal or obsolete options to make the list less imposing.
1396   # This message is too long to be a string in the A/UX 3.1 sh.
1397   cat <<_ACEOF
1398 \`configure' configures pygobject 3.16.1 to adapt to many kinds of systems.
1399
1400 Usage: $0 [OPTION]... [VAR=VALUE]...
1401
1402 To assign environment variables (e.g., CC, CFLAGS...), specify them as
1403 VAR=VALUE.  See below for descriptions of some of the useful variables.
1404
1405 Defaults for the options are specified in brackets.
1406
1407 Configuration:
1408   -h, --help              display this help and exit
1409       --help=short        display options specific to this package
1410       --help=recursive    display the short help of all the included packages
1411   -V, --version           display version information and exit
1412   -q, --quiet, --silent   do not print \`checking ...' messages
1413       --cache-file=FILE   cache test results in FILE [disabled]
1414   -C, --config-cache      alias for \`--cache-file=config.cache'
1415   -n, --no-create         do not create output files
1416       --srcdir=DIR        find the sources in DIR [configure dir or \`..']
1417
1418 Installation directories:
1419   --prefix=PREFIX         install architecture-independent files in PREFIX
1420                           [$ac_default_prefix]
1421   --exec-prefix=EPREFIX   install architecture-dependent files in EPREFIX
1422                           [PREFIX]
1423
1424 By default, \`make install' will install all the files in
1425 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc.  You can specify
1426 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
1427 for instance \`--prefix=\$HOME'.
1428
1429 For better control, use the options below.
1430
1431 Fine tuning of the installation directories:
1432   --bindir=DIR            user executables [EPREFIX/bin]
1433   --sbindir=DIR           system admin executables [EPREFIX/sbin]
1434   --libexecdir=DIR        program executables [EPREFIX/libexec]
1435   --sysconfdir=DIR        read-only single-machine data [PREFIX/etc]
1436   --sharedstatedir=DIR    modifiable architecture-independent data [PREFIX/com]
1437   --localstatedir=DIR     modifiable single-machine data [PREFIX/var]
1438   --libdir=DIR            object code libraries [EPREFIX/lib]
1439   --includedir=DIR        C header files [PREFIX/include]
1440   --oldincludedir=DIR     C header files for non-gcc [/usr/include]
1441   --datarootdir=DIR       read-only arch.-independent data root [PREFIX/share]
1442   --datadir=DIR           read-only architecture-independent data [DATAROOTDIR]
1443   --infodir=DIR           info documentation [DATAROOTDIR/info]
1444   --localedir=DIR         locale-dependent data [DATAROOTDIR/locale]
1445   --mandir=DIR            man documentation [DATAROOTDIR/man]
1446   --docdir=DIR            documentation root [DATAROOTDIR/doc/pygobject]
1447   --htmldir=DIR           html documentation [DOCDIR]
1448   --dvidir=DIR            dvi documentation [DOCDIR]
1449   --pdfdir=DIR            pdf documentation [DOCDIR]
1450   --psdir=DIR             ps documentation [DOCDIR]
1451 _ACEOF
1452
1453   cat <<\_ACEOF
1454
1455 Program names:
1456   --program-prefix=PREFIX            prepend PREFIX to installed program names
1457   --program-suffix=SUFFIX            append SUFFIX to installed program names
1458   --program-transform-name=PROGRAM   run sed PROGRAM on installed program names
1459
1460 System types:
1461   --build=BUILD     configure for building on BUILD [guessed]
1462   --host=HOST       cross-compile to build programs to run on HOST [BUILD]
1463 _ACEOF
1464 fi
1465
1466 if test -n "$ac_init_help"; then
1467   case $ac_init_help in
1468      short | recursive ) echo "Configuration of pygobject 3.16.1:";;
1469    esac
1470   cat <<\_ACEOF
1471
1472 Optional Features:
1473   --disable-option-checking  ignore unrecognized --enable/--with options
1474   --disable-FEATURE       do not include FEATURE (same as --enable-FEATURE=no)
1475   --enable-FEATURE[=ARG]  include FEATURE [ARG=yes]
1476   --enable-silent-rules   less verbose build output (undo: "make V=1")
1477   --disable-silent-rules  verbose build output (undo: "make V=0")
1478   --enable-static[=PKGS]  build static libraries [default=no]
1479   --enable-shared[=PKGS]  build shared libraries [default=yes]
1480   --enable-fast-install[=PKGS]
1481                           optimize for fast installation [default=yes]
1482   --enable-dependency-tracking
1483                           do not reject slow dependency extractors
1484   --disable-dependency-tracking
1485                           speeds up one-time build
1486   --disable-libtool-lock  avoid locking (might break parallel builds)
1487   --disable-thread        Disable pygobject threading support
1488   --disable-glibtest      do not try to compile and run a test GLIB program
1489   --enable-cairo          Enable Cairo bindings using introspection
1490                           information
1491   --enable-compile-warnings=[no/minimum/yes/maximum/error]
1492                           Turn on compiler warnings
1493   --enable-iso-c          Try to warn if code is not ISO C
1494   --enable-code-coverage  Whether to enable code coverage support
1495
1496 Optional Packages:
1497   --with-PACKAGE[=ARG]    use PACKAGE [ARG=yes]
1498   --without-PACKAGE       do not use PACKAGE (same as --with-PACKAGE=no)
1499   --with-pic[=PKGS]       try to use only PIC/non-PIC objects [default=use
1500                           both]
1501   --with-gnu-ld           assume the C compiler uses GNU ld [default=no]
1502   --with-sysroot=DIR Search for dependent libraries within DIR
1503                         (or the compiler's sysroot if not specified).
1504   --with-python=PATH      Path to Python interpreter; searches $PATH if only a
1505                           program name is given; if not given, searches for a
1506                           few standard names such as "python3" or "python2"
1507   --without-common        For package maintainers: do not install Python
1508                           version independent files
1509
1510 Some influential environment variables:
1511   CC          C compiler command
1512   CFLAGS      C compiler flags
1513   LDFLAGS     linker flags, e.g. -L<lib dir> if you have libraries in a
1514               nonstandard directory <lib dir>
1515   LIBS        libraries to pass to the linker, e.g. -l<library>
1516   CPPFLAGS    (Objective) C/C++ preprocessor flags, e.g. -I<include dir> if
1517               you have headers in a nonstandard directory <include dir>
1518   CPP         C preprocessor
1519   PYTHON      the Python interpreter
1520   PKG_CONFIG  path to pkg-config utility
1521   PKG_CONFIG_PATH
1522               directories to add to pkg-config's search path
1523   PKG_CONFIG_LIBDIR
1524               path overriding pkg-config's built-in search path
1525   FFI_CFLAGS  C compiler flags for FFI, overriding pkg-config
1526   FFI_LIBS    linker flags for FFI, overriding pkg-config
1527   GIO_CFLAGS  C compiler flags for GIO, overriding pkg-config
1528   GIO_LIBS    linker flags for GIO, overriding pkg-config
1529   GI_CFLAGS   C compiler flags for GI, overriding pkg-config
1530   GI_LIBS     linker flags for GI, overriding pkg-config
1531   CAIRO_CFLAGS
1532               C compiler flags for CAIRO, overriding pkg-config
1533   CAIRO_LIBS  linker flags for CAIRO, overriding pkg-config
1534   PYCAIRO_CFLAGS
1535               C compiler flags for PYCAIRO, overriding pkg-config
1536   PYCAIRO_LIBS
1537               linker flags for PYCAIRO, overriding pkg-config
1538
1539 Use these variables to override the choices made by `configure' or to help
1540 it to find libraries and programs with nonstandard names/locations.
1541
1542 Report bugs to <http://bugzilla.gnome.org/enter_bug.cgi?product=pygobject>.
1543 pygobject home page: <https://wiki.gnome.org/Projects/PyGObject/>.
1544 _ACEOF
1545 ac_status=$?
1546 fi
1547
1548 if test "$ac_init_help" = "recursive"; then
1549   # If there are subdirs, report their specific --help.
1550   for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
1551     test -d "$ac_dir" ||
1552       { cd "$srcdir" && ac_pwd=`pwd` && srcdir=. && test -d "$ac_dir"; } ||
1553       continue
1554     ac_builddir=.
1555
1556 case "$ac_dir" in
1557 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
1558 *)
1559   ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
1560   # A ".." for each directory in $ac_dir_suffix.
1561   ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
1562   case $ac_top_builddir_sub in
1563   "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
1564   *)  ac_top_build_prefix=$ac_top_builddir_sub/ ;;
1565   esac ;;
1566 esac
1567 ac_abs_top_builddir=$ac_pwd
1568 ac_abs_builddir=$ac_pwd$ac_dir_suffix
1569 # for backward compatibility:
1570 ac_top_builddir=$ac_top_build_prefix
1571
1572 case $srcdir in
1573   .)  # We are building in place.
1574     ac_srcdir=.
1575     ac_top_srcdir=$ac_top_builddir_sub
1576     ac_abs_top_srcdir=$ac_pwd ;;
1577   [\\/]* | ?:[\\/]* )  # Absolute name.
1578     ac_srcdir=$srcdir$ac_dir_suffix;
1579     ac_top_srcdir=$srcdir
1580     ac_abs_top_srcdir=$srcdir ;;
1581   *) # Relative name.
1582     ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
1583     ac_top_srcdir=$ac_top_build_prefix$srcdir
1584     ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
1585 esac
1586 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
1587
1588     cd "$ac_dir" || { ac_status=$?; continue; }
1589     # Check for guested configure.
1590     if test -f "$ac_srcdir/configure.gnu"; then
1591       echo &&
1592       $SHELL "$ac_srcdir/configure.gnu" --help=recursive
1593     elif test -f "$ac_srcdir/configure"; then
1594       echo &&
1595       $SHELL "$ac_srcdir/configure" --help=recursive
1596     else
1597       $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
1598     fi || ac_status=$?
1599     cd "$ac_pwd" || { ac_status=$?; break; }
1600   done
1601 fi
1602
1603 test -n "$ac_init_help" && exit $ac_status
1604 if $ac_init_version; then
1605   cat <<\_ACEOF
1606 pygobject configure 3.16.1
1607 generated by GNU Autoconf 2.69
1608
1609 Copyright (C) 2012 Free Software Foundation, Inc.
1610 This configure script is free software; the Free Software Foundation
1611 gives unlimited permission to copy, distribute and modify it.
1612 _ACEOF
1613   exit
1614 fi
1615
1616 ## ------------------------ ##
1617 ## Autoconf initialization. ##
1618 ## ------------------------ ##
1619
1620 # ac_fn_c_try_compile LINENO
1621 # --------------------------
1622 # Try to compile conftest.$ac_ext, and return whether this succeeded.
1623 ac_fn_c_try_compile ()
1624 {
1625   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1626   rm -f conftest.$ac_objext
1627   if { { ac_try="$ac_compile"
1628 case "(($ac_try" in
1629   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1630   *) ac_try_echo=$ac_try;;
1631 esac
1632 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1633 $as_echo "$ac_try_echo"; } >&5
1634   (eval "$ac_compile") 2>conftest.err
1635   ac_status=$?
1636   if test -s conftest.err; then
1637     grep -v '^ *+' conftest.err >conftest.er1
1638     cat conftest.er1 >&5
1639     mv -f conftest.er1 conftest.err
1640   fi
1641   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1642   test $ac_status = 0; } && {
1643          test -z "$ac_c_werror_flag" ||
1644          test ! -s conftest.err
1645        } && test -s conftest.$ac_objext; then :
1646   ac_retval=0
1647 else
1648   $as_echo "$as_me: failed program was:" >&5
1649 sed 's/^/| /' conftest.$ac_ext >&5
1650
1651         ac_retval=1
1652 fi
1653   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1654   as_fn_set_status $ac_retval
1655
1656 } # ac_fn_c_try_compile
1657
1658 # ac_fn_c_try_link LINENO
1659 # -----------------------
1660 # Try to link conftest.$ac_ext, and return whether this succeeded.
1661 ac_fn_c_try_link ()
1662 {
1663   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1664   rm -f conftest.$ac_objext conftest$ac_exeext
1665   if { { ac_try="$ac_link"
1666 case "(($ac_try" in
1667   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1668   *) ac_try_echo=$ac_try;;
1669 esac
1670 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1671 $as_echo "$ac_try_echo"; } >&5
1672   (eval "$ac_link") 2>conftest.err
1673   ac_status=$?
1674   if test -s conftest.err; then
1675     grep -v '^ *+' conftest.err >conftest.er1
1676     cat conftest.er1 >&5
1677     mv -f conftest.er1 conftest.err
1678   fi
1679   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1680   test $ac_status = 0; } && {
1681          test -z "$ac_c_werror_flag" ||
1682          test ! -s conftest.err
1683        } && test -s conftest$ac_exeext && {
1684          test "$cross_compiling" = yes ||
1685          test -x conftest$ac_exeext
1686        }; then :
1687   ac_retval=0
1688 else
1689   $as_echo "$as_me: failed program was:" >&5
1690 sed 's/^/| /' conftest.$ac_ext >&5
1691
1692         ac_retval=1
1693 fi
1694   # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
1695   # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
1696   # interfere with the next link command; also delete a directory that is
1697   # left behind by Apple's compiler.  We do this before executing the actions.
1698   rm -rf conftest.dSYM conftest_ipa8_conftest.oo
1699   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1700   as_fn_set_status $ac_retval
1701
1702 } # ac_fn_c_try_link
1703
1704 # ac_fn_c_check_header_compile LINENO HEADER VAR INCLUDES
1705 # -------------------------------------------------------
1706 # Tests whether HEADER exists and can be compiled using the include files in
1707 # INCLUDES, setting the cache variable VAR accordingly.
1708 ac_fn_c_check_header_compile ()
1709 {
1710   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1711   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1712 $as_echo_n "checking for $2... " >&6; }
1713 if eval \${$3+:} false; then :
1714   $as_echo_n "(cached) " >&6
1715 else
1716   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1717 /* end confdefs.h.  */
1718 $4
1719 #include <$2>
1720 _ACEOF
1721 if ac_fn_c_try_compile "$LINENO"; then :
1722   eval "$3=yes"
1723 else
1724   eval "$3=no"
1725 fi
1726 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1727 fi
1728 eval ac_res=\$$3
1729                { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1730 $as_echo "$ac_res" >&6; }
1731   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1732
1733 } # ac_fn_c_check_header_compile
1734
1735 # ac_fn_c_try_cpp LINENO
1736 # ----------------------
1737 # Try to preprocess conftest.$ac_ext, and return whether this succeeded.
1738 ac_fn_c_try_cpp ()
1739 {
1740   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1741   if { { ac_try="$ac_cpp conftest.$ac_ext"
1742 case "(($ac_try" in
1743   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1744   *) ac_try_echo=$ac_try;;
1745 esac
1746 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1747 $as_echo "$ac_try_echo"; } >&5
1748   (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err
1749   ac_status=$?
1750   if test -s conftest.err; then
1751     grep -v '^ *+' conftest.err >conftest.er1
1752     cat conftest.er1 >&5
1753     mv -f conftest.er1 conftest.err
1754   fi
1755   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1756   test $ac_status = 0; } > conftest.i && {
1757          test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
1758          test ! -s conftest.err
1759        }; then :
1760   ac_retval=0
1761 else
1762   $as_echo "$as_me: failed program was:" >&5
1763 sed 's/^/| /' conftest.$ac_ext >&5
1764
1765     ac_retval=1
1766 fi
1767   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1768   as_fn_set_status $ac_retval
1769
1770 } # ac_fn_c_try_cpp
1771
1772 # ac_fn_c_try_run LINENO
1773 # ----------------------
1774 # Try to link conftest.$ac_ext, and return whether this succeeded. Assumes
1775 # that executables *can* be run.
1776 ac_fn_c_try_run ()
1777 {
1778   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1779   if { { ac_try="$ac_link"
1780 case "(($ac_try" in
1781   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1782   *) ac_try_echo=$ac_try;;
1783 esac
1784 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1785 $as_echo "$ac_try_echo"; } >&5
1786   (eval "$ac_link") 2>&5
1787   ac_status=$?
1788   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1789   test $ac_status = 0; } && { ac_try='./conftest$ac_exeext'
1790   { { case "(($ac_try" in
1791   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1792   *) ac_try_echo=$ac_try;;
1793 esac
1794 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1795 $as_echo "$ac_try_echo"; } >&5
1796   (eval "$ac_try") 2>&5
1797   ac_status=$?
1798   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1799   test $ac_status = 0; }; }; then :
1800   ac_retval=0
1801 else
1802   $as_echo "$as_me: program exited with status $ac_status" >&5
1803        $as_echo "$as_me: failed program was:" >&5
1804 sed 's/^/| /' conftest.$ac_ext >&5
1805
1806        ac_retval=$ac_status
1807 fi
1808   rm -rf conftest.dSYM conftest_ipa8_conftest.oo
1809   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1810   as_fn_set_status $ac_retval
1811
1812 } # ac_fn_c_try_run
1813
1814 # ac_fn_c_check_func LINENO FUNC VAR
1815 # ----------------------------------
1816 # Tests whether FUNC exists, setting the cache variable VAR accordingly
1817 ac_fn_c_check_func ()
1818 {
1819   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1820   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1821 $as_echo_n "checking for $2... " >&6; }
1822 if eval \${$3+:} false; then :
1823   $as_echo_n "(cached) " >&6
1824 else
1825   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1826 /* end confdefs.h.  */
1827 /* Define $2 to an innocuous variant, in case <limits.h> declares $2.
1828    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
1829 #define $2 innocuous_$2
1830
1831 /* System header to define __stub macros and hopefully few prototypes,
1832     which can conflict with char $2 (); below.
1833     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
1834     <limits.h> exists even on freestanding compilers.  */
1835
1836 #ifdef __STDC__
1837 # include <limits.h>
1838 #else
1839 # include <assert.h>
1840 #endif
1841
1842 #undef $2
1843
1844 /* Override any GCC internal prototype to avoid an error.
1845    Use char because int might match the return type of a GCC
1846    builtin and then its argument prototype would still apply.  */
1847 #ifdef __cplusplus
1848 extern "C"
1849 #endif
1850 char $2 ();
1851 /* The GNU C library defines this for functions which it implements
1852     to always fail with ENOSYS.  Some functions are actually named
1853     something starting with __ and the normal name is an alias.  */
1854 #if defined __stub_$2 || defined __stub___$2
1855 choke me
1856 #endif
1857
1858 int
1859 main ()
1860 {
1861 return $2 ();
1862   ;
1863   return 0;
1864 }
1865 _ACEOF
1866 if ac_fn_c_try_link "$LINENO"; then :
1867   eval "$3=yes"
1868 else
1869   eval "$3=no"
1870 fi
1871 rm -f core conftest.err conftest.$ac_objext \
1872     conftest$ac_exeext conftest.$ac_ext
1873 fi
1874 eval ac_res=\$$3
1875                { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1876 $as_echo "$ac_res" >&6; }
1877   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1878
1879 } # ac_fn_c_check_func
1880 cat >config.log <<_ACEOF
1881 This file contains any messages produced by compilers while
1882 running configure, to aid debugging if configure makes a mistake.
1883
1884 It was created by pygobject $as_me 3.16.1, which was
1885 generated by GNU Autoconf 2.69.  Invocation command line was
1886
1887   $ $0 $@
1888
1889 _ACEOF
1890 exec 5>>config.log
1891 {
1892 cat <<_ASUNAME
1893 ## --------- ##
1894 ## Platform. ##
1895 ## --------- ##
1896
1897 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
1898 uname -m = `(uname -m) 2>/dev/null || echo unknown`
1899 uname -r = `(uname -r) 2>/dev/null || echo unknown`
1900 uname -s = `(uname -s) 2>/dev/null || echo unknown`
1901 uname -v = `(uname -v) 2>/dev/null || echo unknown`
1902
1903 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
1904 /bin/uname -X     = `(/bin/uname -X) 2>/dev/null     || echo unknown`
1905
1906 /bin/arch              = `(/bin/arch) 2>/dev/null              || echo unknown`
1907 /usr/bin/arch -k       = `(/usr/bin/arch -k) 2>/dev/null       || echo unknown`
1908 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
1909 /usr/bin/hostinfo      = `(/usr/bin/hostinfo) 2>/dev/null      || echo unknown`
1910 /bin/machine           = `(/bin/machine) 2>/dev/null           || echo unknown`
1911 /usr/bin/oslevel       = `(/usr/bin/oslevel) 2>/dev/null       || echo unknown`
1912 /bin/universe          = `(/bin/universe) 2>/dev/null          || echo unknown`
1913
1914 _ASUNAME
1915
1916 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1917 for as_dir in $PATH
1918 do
1919   IFS=$as_save_IFS
1920   test -z "$as_dir" && as_dir=.
1921     $as_echo "PATH: $as_dir"
1922   done
1923 IFS=$as_save_IFS
1924
1925 } >&5
1926
1927 cat >&5 <<_ACEOF
1928
1929
1930 ## ----------- ##
1931 ## Core tests. ##
1932 ## ----------- ##
1933
1934 _ACEOF
1935
1936
1937 # Keep a trace of the command line.
1938 # Strip out --no-create and --no-recursion so they do not pile up.
1939 # Strip out --silent because we don't want to record it for future runs.
1940 # Also quote any args containing shell meta-characters.
1941 # Make two passes to allow for proper duplicate-argument suppression.
1942 ac_configure_args=
1943 ac_configure_args0=
1944 ac_configure_args1=
1945 ac_must_keep_next=false
1946 for ac_pass in 1 2
1947 do
1948   for ac_arg
1949   do
1950     case $ac_arg in
1951     -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
1952     -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1953     | -silent | --silent | --silen | --sile | --sil)
1954       continue ;;
1955     *\'*)
1956       ac_arg=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
1957     esac
1958     case $ac_pass in
1959     1) as_fn_append ac_configure_args0 " '$ac_arg'" ;;
1960     2)
1961       as_fn_append ac_configure_args1 " '$ac_arg'"
1962       if test $ac_must_keep_next = true; then
1963         ac_must_keep_next=false # Got value, back to normal.
1964       else
1965         case $ac_arg in
1966           *=* | --config-cache | -C | -disable-* | --disable-* \
1967           | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
1968           | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
1969           | -with-* | --with-* | -without-* | --without-* | --x)
1970             case "$ac_configure_args0 " in
1971               "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
1972             esac
1973             ;;
1974           -* ) ac_must_keep_next=true ;;
1975         esac
1976       fi
1977       as_fn_append ac_configure_args " '$ac_arg'"
1978       ;;
1979     esac
1980   done
1981 done
1982 { ac_configure_args0=; unset ac_configure_args0;}
1983 { ac_configure_args1=; unset ac_configure_args1;}
1984
1985 # When interrupted or exit'd, cleanup temporary files, and complete
1986 # config.log.  We remove comments because anyway the quotes in there
1987 # would cause problems or look ugly.
1988 # WARNING: Use '\'' to represent an apostrophe within the trap.
1989 # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
1990 trap 'exit_status=$?
1991   # Save into config.log some information that might help in debugging.
1992   {
1993     echo
1994
1995     $as_echo "## ---------------- ##
1996 ## Cache variables. ##
1997 ## ---------------- ##"
1998     echo
1999     # The following way of writing the cache mishandles newlines in values,
2000 (
2001   for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
2002     eval ac_val=\$$ac_var
2003     case $ac_val in #(
2004     *${as_nl}*)
2005       case $ac_var in #(
2006       *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
2007 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
2008       esac
2009       case $ac_var in #(
2010       _ | IFS | as_nl) ;; #(
2011       BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
2012       *) { eval $ac_var=; unset $ac_var;} ;;
2013       esac ;;
2014     esac
2015   done
2016   (set) 2>&1 |
2017     case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
2018     *${as_nl}ac_space=\ *)
2019       sed -n \
2020         "s/'\''/'\''\\\\'\'''\''/g;
2021           s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
2022       ;; #(
2023     *)
2024       sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
2025       ;;
2026     esac |
2027     sort
2028 )
2029     echo
2030
2031     $as_echo "## ----------------- ##
2032 ## Output variables. ##
2033 ## ----------------- ##"
2034     echo
2035     for ac_var in $ac_subst_vars
2036     do
2037       eval ac_val=\$$ac_var
2038       case $ac_val in
2039       *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
2040       esac
2041       $as_echo "$ac_var='\''$ac_val'\''"
2042     done | sort
2043     echo
2044
2045     if test -n "$ac_subst_files"; then
2046       $as_echo "## ------------------- ##
2047 ## File substitutions. ##
2048 ## ------------------- ##"
2049       echo
2050       for ac_var in $ac_subst_files
2051       do
2052         eval ac_val=\$$ac_var
2053         case $ac_val in
2054         *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
2055         esac
2056         $as_echo "$ac_var='\''$ac_val'\''"
2057       done | sort
2058       echo
2059     fi
2060
2061     if test -s confdefs.h; then
2062       $as_echo "## ----------- ##
2063 ## confdefs.h. ##
2064 ## ----------- ##"
2065       echo
2066       cat confdefs.h
2067       echo
2068     fi
2069     test "$ac_signal" != 0 &&
2070       $as_echo "$as_me: caught signal $ac_signal"
2071     $as_echo "$as_me: exit $exit_status"
2072   } >&5
2073   rm -f core *.core core.conftest.* &&
2074     rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
2075     exit $exit_status
2076 ' 0
2077 for ac_signal in 1 2 13 15; do
2078   trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal
2079 done
2080 ac_signal=0
2081
2082 # confdefs.h avoids OS command line length limits that DEFS can exceed.
2083 rm -f -r conftest* confdefs.h
2084
2085 $as_echo "/* confdefs.h */" > confdefs.h
2086
2087 # Predefined preprocessor variables.
2088
2089 cat >>confdefs.h <<_ACEOF
2090 #define PACKAGE_NAME "$PACKAGE_NAME"
2091 _ACEOF
2092
2093 cat >>confdefs.h <<_ACEOF
2094 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
2095 _ACEOF
2096
2097 cat >>confdefs.h <<_ACEOF
2098 #define PACKAGE_VERSION "$PACKAGE_VERSION"
2099 _ACEOF
2100
2101 cat >>confdefs.h <<_ACEOF
2102 #define PACKAGE_STRING "$PACKAGE_STRING"
2103 _ACEOF
2104
2105 cat >>confdefs.h <<_ACEOF
2106 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
2107 _ACEOF
2108
2109 cat >>confdefs.h <<_ACEOF
2110 #define PACKAGE_URL "$PACKAGE_URL"
2111 _ACEOF
2112
2113
2114 # Let the site file select an alternate cache file if it wants to.
2115 # Prefer an explicitly selected file to automatically selected ones.
2116 ac_site_file1=NONE
2117 ac_site_file2=NONE
2118 if test -n "$CONFIG_SITE"; then
2119   # We do not want a PATH search for config.site.
2120   case $CONFIG_SITE in #((
2121     -*)  ac_site_file1=./$CONFIG_SITE;;
2122     */*) ac_site_file1=$CONFIG_SITE;;
2123     *)   ac_site_file1=./$CONFIG_SITE;;
2124   esac
2125 elif test "x$prefix" != xNONE; then
2126   ac_site_file1=$prefix/share/config.site
2127   ac_site_file2=$prefix/etc/config.site
2128 else
2129   ac_site_file1=$ac_default_prefix/share/config.site
2130   ac_site_file2=$ac_default_prefix/etc/config.site
2131 fi
2132 for ac_site_file in "$ac_site_file1" "$ac_site_file2"
2133 do
2134   test "x$ac_site_file" = xNONE && continue
2135   if test /dev/null != "$ac_site_file" && test -r "$ac_site_file"; then
2136     { $as_echo "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5
2137 $as_echo "$as_me: loading site script $ac_site_file" >&6;}
2138     sed 's/^/| /' "$ac_site_file" >&5
2139     . "$ac_site_file" \
2140       || { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2141 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2142 as_fn_error $? "failed to load site script $ac_site_file
2143 See \`config.log' for more details" "$LINENO" 5; }
2144   fi
2145 done
2146
2147 if test -r "$cache_file"; then
2148   # Some versions of bash will fail to source /dev/null (special files
2149   # actually), so we avoid doing that.  DJGPP emulates it as a regular file.
2150   if test /dev/null != "$cache_file" && test -f "$cache_file"; then
2151     { $as_echo "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5
2152 $as_echo "$as_me: loading cache $cache_file" >&6;}
2153     case $cache_file in
2154       [\\/]* | ?:[\\/]* ) . "$cache_file";;
2155       *)                      . "./$cache_file";;
2156     esac
2157   fi
2158 else
2159   { $as_echo "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5
2160 $as_echo "$as_me: creating cache $cache_file" >&6;}
2161   >$cache_file
2162 fi
2163
2164 # Check that the precious variables saved in the cache have kept the same
2165 # value.
2166 ac_cache_corrupted=false
2167 for ac_var in $ac_precious_vars; do
2168   eval ac_old_set=\$ac_cv_env_${ac_var}_set
2169   eval ac_new_set=\$ac_env_${ac_var}_set
2170   eval ac_old_val=\$ac_cv_env_${ac_var}_value
2171   eval ac_new_val=\$ac_env_${ac_var}_value
2172   case $ac_old_set,$ac_new_set in
2173     set,)
2174       { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
2175 $as_echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
2176       ac_cache_corrupted=: ;;
2177     ,set)
2178       { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not set in the previous run" >&5
2179 $as_echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
2180       ac_cache_corrupted=: ;;
2181     ,);;
2182     *)
2183       if test "x$ac_old_val" != "x$ac_new_val"; then
2184         # differences in whitespace do not lead to failure.
2185         ac_old_val_w=`echo x $ac_old_val`
2186         ac_new_val_w=`echo x $ac_new_val`
2187         if test "$ac_old_val_w" != "$ac_new_val_w"; then
2188           { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&5
2189 $as_echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
2190           ac_cache_corrupted=:
2191         else
2192           { $as_echo "$as_me:${as_lineno-$LINENO}: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5
2193 $as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;}
2194           eval $ac_var=\$ac_old_val
2195         fi
2196         { $as_echo "$as_me:${as_lineno-$LINENO}:   former value:  \`$ac_old_val'" >&5
2197 $as_echo "$as_me:   former value:  \`$ac_old_val'" >&2;}
2198         { $as_echo "$as_me:${as_lineno-$LINENO}:   current value: \`$ac_new_val'" >&5
2199 $as_echo "$as_me:   current value: \`$ac_new_val'" >&2;}
2200       fi;;
2201   esac
2202   # Pass precious variables to config.status.
2203   if test "$ac_new_set" = set; then
2204     case $ac_new_val in
2205     *\'*) ac_arg=$ac_var=`$as_echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
2206     *) ac_arg=$ac_var=$ac_new_val ;;
2207     esac
2208     case " $ac_configure_args " in
2209       *" '$ac_arg' "*) ;; # Avoid dups.  Use of quotes ensures accuracy.
2210       *) as_fn_append ac_configure_args " '$ac_arg'" ;;
2211     esac
2212   fi
2213 done
2214 if $ac_cache_corrupted; then
2215   { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2216 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2217   { $as_echo "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5
2218 $as_echo "$as_me: error: changes in the environment can compromise the build" >&2;}
2219   as_fn_error $? "run \`make distclean' and/or \`rm $cache_file' and start over" "$LINENO" 5
2220 fi
2221 ## -------------------- ##
2222 ## Main body of script. ##
2223 ## -------------------- ##
2224
2225 ac_ext=c
2226 ac_cpp='$CPP $CPPFLAGS'
2227 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2228 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2229 ac_compiler_gnu=$ac_cv_c_compiler_gnu
2230
2231
2232 ACLOCAL_AMFLAGS="-I m4 -I ."
2233
2234
2235
2236
2237
2238 $as_echo "#define PYGOBJECT_MAJOR_VERSION 3" >>confdefs.h
2239
2240 PYGOBJECT_MAJOR_VERSION=3
2241
2242
2243 $as_echo "#define PYGOBJECT_MINOR_VERSION 16" >>confdefs.h
2244
2245 PYGOBJECT_MINOR_VERSION=16
2246
2247
2248 $as_echo "#define PYGOBJECT_MICRO_VERSION 1" >>confdefs.h
2249
2250 PYGOBJECT_MICRO_VERSION=1
2251
2252
2253 ac_config_headers="$ac_config_headers config.h"
2254
2255 # Check whether --enable-silent-rules was given.
2256 if test "${enable_silent_rules+set}" = set; then :
2257   enableval=$enable_silent_rules;
2258 fi
2259
2260 case $enable_silent_rules in # (((
2261   yes) AM_DEFAULT_VERBOSITY=0;;
2262    no) AM_DEFAULT_VERBOSITY=1;;
2263     *) AM_DEFAULT_VERBOSITY=0;;
2264 esac
2265 am_make=${MAKE-make}
2266 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $am_make supports nested variables" >&5
2267 $as_echo_n "checking whether $am_make supports nested variables... " >&6; }
2268 if ${am_cv_make_support_nested_variables+:} false; then :
2269   $as_echo_n "(cached) " >&6
2270 else
2271   if $as_echo 'TRUE=$(BAR$(V))
2272 BAR0=false
2273 BAR1=true
2274 V=1
2275 am__doit:
2276         @$(TRUE)
2277 .PHONY: am__doit' | $am_make -f - >/dev/null 2>&1; then
2278   am_cv_make_support_nested_variables=yes
2279 else
2280   am_cv_make_support_nested_variables=no
2281 fi
2282 fi
2283 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_make_support_nested_variables" >&5
2284 $as_echo "$am_cv_make_support_nested_variables" >&6; }
2285 if test $am_cv_make_support_nested_variables = yes; then
2286     AM_V='$(V)'
2287   AM_DEFAULT_V='$(AM_DEFAULT_VERBOSITY)'
2288 else
2289   AM_V=$AM_DEFAULT_VERBOSITY
2290   AM_DEFAULT_V=$AM_DEFAULT_VERBOSITY
2291 fi
2292 AM_BACKSLASH='\'
2293
2294 am__api_version='1.13'
2295
2296 ac_aux_dir=
2297 for ac_dir in "$srcdir" "$srcdir/.." "$srcdir/../.."; do
2298   if 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/install.sh"; then
2303     ac_aux_dir=$ac_dir
2304     ac_install_sh="$ac_aux_dir/install.sh -c"
2305     break
2306   elif test -f "$ac_dir/shtool"; then
2307     ac_aux_dir=$ac_dir
2308     ac_install_sh="$ac_aux_dir/shtool install -c"
2309     break
2310   fi
2311 done
2312 if test -z "$ac_aux_dir"; then
2313   as_fn_error $? "cannot find install-sh, install.sh, or shtool in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" "$LINENO" 5
2314 fi
2315
2316 # These three variables are undocumented and unsupported,
2317 # and are intended to be withdrawn in a future Autoconf release.
2318 # They can cause serious problems if a builder's source tree is in a directory
2319 # whose full name contains unusual characters.
2320 ac_config_guess="$SHELL $ac_aux_dir/config.guess"  # Please don't use this var.
2321 ac_config_sub="$SHELL $ac_aux_dir/config.sub"  # Please don't use this var.
2322 ac_configure="$SHELL $ac_aux_dir/configure"  # Please don't use this var.
2323
2324
2325 # Find a good install program.  We prefer a C program (faster),
2326 # so one script is as good as another.  But avoid the broken or
2327 # incompatible versions:
2328 # SysV /etc/install, /usr/sbin/install
2329 # SunOS /usr/etc/install
2330 # IRIX /sbin/install
2331 # AIX /bin/install
2332 # AmigaOS /C/install, which installs bootblocks on floppy discs
2333 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
2334 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
2335 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
2336 # OS/2's system install, which has a completely different semantic
2337 # ./install, which can be erroneously created by make from ./install.sh.
2338 # Reject install programs that cannot install multiple files.
2339 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a BSD-compatible install" >&5
2340 $as_echo_n "checking for a BSD-compatible install... " >&6; }
2341 if test -z "$INSTALL"; then
2342 if ${ac_cv_path_install+:} false; then :
2343   $as_echo_n "(cached) " >&6
2344 else
2345   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2346 for as_dir in $PATH
2347 do
2348   IFS=$as_save_IFS
2349   test -z "$as_dir" && as_dir=.
2350     # Account for people who put trailing slashes in PATH elements.
2351 case $as_dir/ in #((
2352   ./ | .// | /[cC]/* | \
2353   /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
2354   ?:[\\/]os2[\\/]install[\\/]* | ?:[\\/]OS2[\\/]INSTALL[\\/]* | \
2355   /usr/ucb/* ) ;;
2356   *)
2357     # OSF1 and SCO ODT 3.0 have their own names for install.
2358     # Don't use installbsd from OSF since it installs stuff as root
2359     # by default.
2360     for ac_prog in ginstall scoinst install; do
2361       for ac_exec_ext in '' $ac_executable_extensions; do
2362         if as_fn_executable_p "$as_dir/$ac_prog$ac_exec_ext"; then
2363           if test $ac_prog = install &&
2364             grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
2365             # AIX install.  It has an incompatible calling convention.
2366             :
2367           elif test $ac_prog = install &&
2368             grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
2369             # program-specific install script used by HP pwplus--don't use.
2370             :
2371           else
2372             rm -rf conftest.one conftest.two conftest.dir
2373             echo one > conftest.one
2374             echo two > conftest.two
2375             mkdir conftest.dir
2376             if "$as_dir/$ac_prog$ac_exec_ext" -c conftest.one conftest.two "`pwd`/conftest.dir" &&
2377               test -s conftest.one && test -s conftest.two &&
2378               test -s conftest.dir/conftest.one &&
2379               test -s conftest.dir/conftest.two
2380             then
2381               ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
2382               break 3
2383             fi
2384           fi
2385         fi
2386       done
2387     done
2388     ;;
2389 esac
2390
2391   done
2392 IFS=$as_save_IFS
2393
2394 rm -rf conftest.one conftest.two conftest.dir
2395
2396 fi
2397   if test "${ac_cv_path_install+set}" = set; then
2398     INSTALL=$ac_cv_path_install
2399   else
2400     # As a last resort, use the slow shell script.  Don't cache a
2401     # value for INSTALL within a source directory, because that will
2402     # break other packages using the cache if that directory is
2403     # removed, or if the value is a relative name.
2404     INSTALL=$ac_install_sh
2405   fi
2406 fi
2407 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $INSTALL" >&5
2408 $as_echo "$INSTALL" >&6; }
2409
2410 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
2411 # It thinks the first close brace ends the variable substitution.
2412 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
2413
2414 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
2415
2416 test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
2417
2418 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether build environment is sane" >&5
2419 $as_echo_n "checking whether build environment is sane... " >&6; }
2420 # Reject unsafe characters in $srcdir or the absolute working directory
2421 # name.  Accept space and tab only in the latter.
2422 am_lf='
2423 '
2424 case `pwd` in
2425   *[\\\"\#\$\&\'\`$am_lf]*)
2426     as_fn_error $? "unsafe absolute working directory name" "$LINENO" 5;;
2427 esac
2428 case $srcdir in
2429   *[\\\"\#\$\&\'\`$am_lf\ \     ]*)
2430     as_fn_error $? "unsafe srcdir value: '$srcdir'" "$LINENO" 5;;
2431 esac
2432
2433 # Do 'set' in a subshell so we don't clobber the current shell's
2434 # arguments.  Must try -L first in case configure is actually a
2435 # symlink; some systems play weird games with the mod time of symlinks
2436 # (eg FreeBSD returns the mod time of the symlink's containing
2437 # directory).
2438 if (
2439    am_has_slept=no
2440    for am_try in 1 2; do
2441      echo "timestamp, slept: $am_has_slept" > conftest.file
2442      set X `ls -Lt "$srcdir/configure" conftest.file 2> /dev/null`
2443      if test "$*" = "X"; then
2444         # -L didn't work.
2445         set X `ls -t "$srcdir/configure" conftest.file`
2446      fi
2447      if test "$*" != "X $srcdir/configure conftest.file" \
2448         && test "$*" != "X conftest.file $srcdir/configure"; then
2449
2450         # If neither matched, then we have a broken ls.  This can happen
2451         # if, for instance, CONFIG_SHELL is bash and it inherits a
2452         # broken ls alias from the environment.  This has actually
2453         # happened.  Such a system could not be considered "sane".
2454         as_fn_error $? "ls -t appears to fail.  Make sure there is not a broken
2455   alias in your environment" "$LINENO" 5
2456      fi
2457      if test "$2" = conftest.file || test $am_try -eq 2; then
2458        break
2459      fi
2460      # Just in case.
2461      sleep 1
2462      am_has_slept=yes
2463    done
2464    test "$2" = conftest.file
2465    )
2466 then
2467    # Ok.
2468    :
2469 else
2470    as_fn_error $? "newly created file is older than distributed files!
2471 Check your system clock" "$LINENO" 5
2472 fi
2473 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
2474 $as_echo "yes" >&6; }
2475 # If we didn't sleep, we still need to ensure time stamps of config.status and
2476 # generated files are strictly newer.
2477 am_sleep_pid=
2478 if grep 'slept: no' conftest.file >/dev/null 2>&1; then
2479   ( sleep 1 ) &
2480   am_sleep_pid=$!
2481 fi
2482
2483 rm -f conftest.file
2484
2485 test "$program_prefix" != NONE &&
2486   program_transform_name="s&^&$program_prefix&;$program_transform_name"
2487 # Use a double $ so make ignores it.
2488 test "$program_suffix" != NONE &&
2489   program_transform_name="s&\$&$program_suffix&;$program_transform_name"
2490 # Double any \ or $.
2491 # By default was `s,x,x', remove it if useless.
2492 ac_script='s/[\\$]/&&/g;s/;s,x,x,$//'
2493 program_transform_name=`$as_echo "$program_transform_name" | sed "$ac_script"`
2494
2495 # expand $ac_aux_dir to an absolute path
2496 am_aux_dir=`cd $ac_aux_dir && pwd`
2497
2498 if test x"${MISSING+set}" != xset; then
2499   case $am_aux_dir in
2500   *\ * | *\     *)
2501     MISSING="\${SHELL} \"$am_aux_dir/missing\"" ;;
2502   *)
2503     MISSING="\${SHELL} $am_aux_dir/missing" ;;
2504   esac
2505 fi
2506 # Use eval to expand $SHELL
2507 if eval "$MISSING --is-lightweight"; then
2508   am_missing_run="$MISSING "
2509 else
2510   am_missing_run=
2511   { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: 'missing' script is too old or missing" >&5
2512 $as_echo "$as_me: WARNING: 'missing' script is too old or missing" >&2;}
2513 fi
2514
2515 if test x"${install_sh}" != xset; then
2516   case $am_aux_dir in
2517   *\ * | *\     *)
2518     install_sh="\${SHELL} '$am_aux_dir/install-sh'" ;;
2519   *)
2520     install_sh="\${SHELL} $am_aux_dir/install-sh"
2521   esac
2522 fi
2523
2524 # Installed binaries are usually stripped using 'strip' when the user
2525 # run "make install-strip".  However 'strip' might not be the right
2526 # tool to use in cross-compilation environments, therefore Automake
2527 # will honor the 'STRIP' environment variable to overrule this program.
2528 if test "$cross_compiling" != no; then
2529   if test -n "$ac_tool_prefix"; then
2530   # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
2531 set dummy ${ac_tool_prefix}strip; ac_word=$2
2532 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2533 $as_echo_n "checking for $ac_word... " >&6; }
2534 if ${ac_cv_prog_STRIP+:} false; then :
2535   $as_echo_n "(cached) " >&6
2536 else
2537   if test -n "$STRIP"; then
2538   ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
2539 else
2540 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2541 for as_dir in $PATH
2542 do
2543   IFS=$as_save_IFS
2544   test -z "$as_dir" && as_dir=.
2545     for ac_exec_ext in '' $ac_executable_extensions; do
2546   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2547     ac_cv_prog_STRIP="${ac_tool_prefix}strip"
2548     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2549     break 2
2550   fi
2551 done
2552   done
2553 IFS=$as_save_IFS
2554
2555 fi
2556 fi
2557 STRIP=$ac_cv_prog_STRIP
2558 if test -n "$STRIP"; then
2559   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
2560 $as_echo "$STRIP" >&6; }
2561 else
2562   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2563 $as_echo "no" >&6; }
2564 fi
2565
2566
2567 fi
2568 if test -z "$ac_cv_prog_STRIP"; then
2569   ac_ct_STRIP=$STRIP
2570   # Extract the first word of "strip", so it can be a program name with args.
2571 set dummy strip; ac_word=$2
2572 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2573 $as_echo_n "checking for $ac_word... " >&6; }
2574 if ${ac_cv_prog_ac_ct_STRIP+:} false; then :
2575   $as_echo_n "(cached) " >&6
2576 else
2577   if test -n "$ac_ct_STRIP"; then
2578   ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
2579 else
2580 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2581 for as_dir in $PATH
2582 do
2583   IFS=$as_save_IFS
2584   test -z "$as_dir" && as_dir=.
2585     for ac_exec_ext in '' $ac_executable_extensions; do
2586   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2587     ac_cv_prog_ac_ct_STRIP="strip"
2588     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2589     break 2
2590   fi
2591 done
2592   done
2593 IFS=$as_save_IFS
2594
2595 fi
2596 fi
2597 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
2598 if test -n "$ac_ct_STRIP"; then
2599   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
2600 $as_echo "$ac_ct_STRIP" >&6; }
2601 else
2602   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2603 $as_echo "no" >&6; }
2604 fi
2605
2606   if test "x$ac_ct_STRIP" = x; then
2607     STRIP=":"
2608   else
2609     case $cross_compiling:$ac_tool_warned in
2610 yes:)
2611 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
2612 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
2613 ac_tool_warned=yes ;;
2614 esac
2615     STRIP=$ac_ct_STRIP
2616   fi
2617 else
2618   STRIP="$ac_cv_prog_STRIP"
2619 fi
2620
2621 fi
2622 INSTALL_STRIP_PROGRAM="\$(install_sh) -c -s"
2623
2624 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a thread-safe mkdir -p" >&5
2625 $as_echo_n "checking for a thread-safe mkdir -p... " >&6; }
2626 if test -z "$MKDIR_P"; then
2627   if ${ac_cv_path_mkdir+:} false; then :
2628   $as_echo_n "(cached) " >&6
2629 else
2630   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2631 for as_dir in $PATH$PATH_SEPARATOR/opt/sfw/bin
2632 do
2633   IFS=$as_save_IFS
2634   test -z "$as_dir" && as_dir=.
2635     for ac_prog in mkdir gmkdir; do
2636          for ac_exec_ext in '' $ac_executable_extensions; do
2637            as_fn_executable_p "$as_dir/$ac_prog$ac_exec_ext" || continue
2638            case `"$as_dir/$ac_prog$ac_exec_ext" --version 2>&1` in #(
2639              'mkdir (GNU coreutils) '* | \
2640              'mkdir (coreutils) '* | \
2641              'mkdir (fileutils) '4.1*)
2642                ac_cv_path_mkdir=$as_dir/$ac_prog$ac_exec_ext
2643                break 3;;
2644            esac
2645          done
2646        done
2647   done
2648 IFS=$as_save_IFS
2649
2650 fi
2651
2652   test -d ./--version && rmdir ./--version
2653   if test "${ac_cv_path_mkdir+set}" = set; then
2654     MKDIR_P="$ac_cv_path_mkdir -p"
2655   else
2656     # As a last resort, use the slow shell script.  Don't cache a
2657     # value for MKDIR_P within a source directory, because that will
2658     # break other packages using the cache if that directory is
2659     # removed, or if the value is a relative name.
2660     MKDIR_P="$ac_install_sh -d"
2661   fi
2662 fi
2663 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MKDIR_P" >&5
2664 $as_echo "$MKDIR_P" >&6; }
2665
2666 for ac_prog in gawk mawk nawk awk
2667 do
2668   # Extract the first word of "$ac_prog", so it can be a program name with args.
2669 set dummy $ac_prog; ac_word=$2
2670 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2671 $as_echo_n "checking for $ac_word... " >&6; }
2672 if ${ac_cv_prog_AWK+:} false; then :
2673   $as_echo_n "(cached) " >&6
2674 else
2675   if test -n "$AWK"; then
2676   ac_cv_prog_AWK="$AWK" # Let the user override the test.
2677 else
2678 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2679 for as_dir in $PATH
2680 do
2681   IFS=$as_save_IFS
2682   test -z "$as_dir" && as_dir=.
2683     for ac_exec_ext in '' $ac_executable_extensions; do
2684   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2685     ac_cv_prog_AWK="$ac_prog"
2686     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2687     break 2
2688   fi
2689 done
2690   done
2691 IFS=$as_save_IFS
2692
2693 fi
2694 fi
2695 AWK=$ac_cv_prog_AWK
2696 if test -n "$AWK"; then
2697   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AWK" >&5
2698 $as_echo "$AWK" >&6; }
2699 else
2700   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2701 $as_echo "no" >&6; }
2702 fi
2703
2704
2705   test -n "$AWK" && break
2706 done
2707
2708 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5
2709 $as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; }
2710 set x ${MAKE-make}
2711 ac_make=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
2712 if eval \${ac_cv_prog_make_${ac_make}_set+:} false; then :
2713   $as_echo_n "(cached) " >&6
2714 else
2715   cat >conftest.make <<\_ACEOF
2716 SHELL = /bin/sh
2717 all:
2718         @echo '@@@%%%=$(MAKE)=@@@%%%'
2719 _ACEOF
2720 # GNU make sometimes prints "make[1]: Entering ...", which would confuse us.
2721 case `${MAKE-make} -f conftest.make 2>/dev/null` in
2722   *@@@%%%=?*=@@@%%%*)
2723     eval ac_cv_prog_make_${ac_make}_set=yes;;
2724   *)
2725     eval ac_cv_prog_make_${ac_make}_set=no;;
2726 esac
2727 rm -f conftest.make
2728 fi
2729 if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then
2730   { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
2731 $as_echo "yes" >&6; }
2732   SET_MAKE=
2733 else
2734   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2735 $as_echo "no" >&6; }
2736   SET_MAKE="MAKE=${MAKE-make}"
2737 fi
2738
2739 rm -rf .tst 2>/dev/null
2740 mkdir .tst 2>/dev/null
2741 if test -d .tst; then
2742   am__leading_dot=.
2743 else
2744   am__leading_dot=_
2745 fi
2746 rmdir .tst 2>/dev/null
2747
2748 if test "`cd $srcdir && pwd`" != "`pwd`"; then
2749   # Use -I$(srcdir) only when $(srcdir) != ., so that make's output
2750   # is not polluted with repeated "-I."
2751   am__isrc=' -I$(srcdir)'
2752   # test to see if srcdir already configured
2753   if test -f $srcdir/config.status; then
2754     as_fn_error $? "source directory already configured; run \"make distclean\" there first" "$LINENO" 5
2755   fi
2756 fi
2757
2758 # test whether we have cygpath
2759 if test -z "$CYGPATH_W"; then
2760   if (cygpath --version) >/dev/null 2>/dev/null; then
2761     CYGPATH_W='cygpath -w'
2762   else
2763     CYGPATH_W=echo
2764   fi
2765 fi
2766
2767
2768 # Define the identity of the package.
2769  PACKAGE='pygobject'
2770  VERSION='3.16.1'
2771
2772
2773 cat >>confdefs.h <<_ACEOF
2774 #define PACKAGE "$PACKAGE"
2775 _ACEOF
2776
2777
2778 cat >>confdefs.h <<_ACEOF
2779 #define VERSION "$VERSION"
2780 _ACEOF
2781
2782 # Some tools Automake needs.
2783
2784 ACLOCAL=${ACLOCAL-"${am_missing_run}aclocal-${am__api_version}"}
2785
2786
2787 AUTOCONF=${AUTOCONF-"${am_missing_run}autoconf"}
2788
2789
2790 AUTOMAKE=${AUTOMAKE-"${am_missing_run}automake-${am__api_version}"}
2791
2792
2793 AUTOHEADER=${AUTOHEADER-"${am_missing_run}autoheader"}
2794
2795
2796 MAKEINFO=${MAKEINFO-"${am_missing_run}makeinfo"}
2797
2798 # For better backward compatibility.  To be removed once Automake 1.9.x
2799 # dies out for good.  For more background, see:
2800 # <http://lists.gnu.org/archive/html/automake/2012-07/msg00001.html>
2801 # <http://lists.gnu.org/archive/html/automake/2012-07/msg00014.html>
2802 mkdir_p='$(MKDIR_P)'
2803
2804 # We need awk for the "check" target.  The system "awk" is bad on
2805 # some platforms.
2806 # Always define AMTAR for backward compatibility.  Yes, it's still used
2807 # in the wild :-(  We should find a proper way to deprecate it ...
2808 AMTAR='$${TAR-tar}'
2809
2810
2811 # We'll loop over all known methods to create a tar archive until one works.
2812 _am_tools='gnutar  pax cpio none'
2813
2814 am__tar='$${TAR-tar} chof - "$$tardir"' am__untar='$${TAR-tar} xf -'
2815
2816
2817
2818
2819
2820
2821
2822 ACLOCAL="$ACLOCAL $ACLOCAL_FLAGS"
2823
2824 # Make sure we can run config.sub.
2825 $SHELL "$ac_aux_dir/config.sub" sun4 >/dev/null 2>&1 ||
2826   as_fn_error $? "cannot run $SHELL $ac_aux_dir/config.sub" "$LINENO" 5
2827
2828 { $as_echo "$as_me:${as_lineno-$LINENO}: checking build system type" >&5
2829 $as_echo_n "checking build system type... " >&6; }
2830 if ${ac_cv_build+:} false; then :
2831   $as_echo_n "(cached) " >&6
2832 else
2833   ac_build_alias=$build_alias
2834 test "x$ac_build_alias" = x &&
2835   ac_build_alias=`$SHELL "$ac_aux_dir/config.guess"`
2836 test "x$ac_build_alias" = x &&
2837   as_fn_error $? "cannot guess build type; you must specify one" "$LINENO" 5
2838 ac_cv_build=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
2839   as_fn_error $? "$SHELL $ac_aux_dir/config.sub $ac_build_alias failed" "$LINENO" 5
2840
2841 fi
2842 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_build" >&5
2843 $as_echo "$ac_cv_build" >&6; }
2844 case $ac_cv_build in
2845 *-*-*) ;;
2846 *) as_fn_error $? "invalid value of canonical build" "$LINENO" 5;;
2847 esac
2848 build=$ac_cv_build
2849 ac_save_IFS=$IFS; IFS='-'
2850 set x $ac_cv_build
2851 shift
2852 build_cpu=$1
2853 build_vendor=$2
2854 shift; shift
2855 # Remember, the first character of IFS is used to create $*,
2856 # except with old shells:
2857 build_os=$*
2858 IFS=$ac_save_IFS
2859 case $build_os in *\ *) build_os=`echo "$build_os" | sed 's/ /-/g'`;; esac
2860
2861
2862 { $as_echo "$as_me:${as_lineno-$LINENO}: checking host system type" >&5
2863 $as_echo_n "checking host system type... " >&6; }
2864 if ${ac_cv_host+:} false; then :
2865   $as_echo_n "(cached) " >&6
2866 else
2867   if test "x$host_alias" = x; then
2868   ac_cv_host=$ac_cv_build
2869 else
2870   ac_cv_host=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
2871     as_fn_error $? "$SHELL $ac_aux_dir/config.sub $host_alias failed" "$LINENO" 5
2872 fi
2873
2874 fi
2875 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_host" >&5
2876 $as_echo "$ac_cv_host" >&6; }
2877 case $ac_cv_host in
2878 *-*-*) ;;
2879 *) as_fn_error $? "invalid value of canonical host" "$LINENO" 5;;
2880 esac
2881 host=$ac_cv_host
2882 ac_save_IFS=$IFS; IFS='-'
2883 set x $ac_cv_host
2884 shift
2885 host_cpu=$1
2886 host_vendor=$2
2887 shift; shift
2888 # Remember, the first character of IFS is used to create $*,
2889 # except with old shells:
2890 host_os=$*
2891 IFS=$ac_save_IFS
2892 case $host_os in *\ *) host_os=`echo "$host_os" | sed 's/ /-/g'`;; esac
2893
2894
2895 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for build time linking with Python (Darwin and Win32)" >&5
2896 $as_echo_n "checking for build time linking with Python (Darwin and Win32)... " >&6; }
2897 case "$host" in
2898   *-*-mingw*|*-*-cygwin*)
2899     os_win32=yes
2900     link_python_libs=yes
2901     OS_EXT=dll
2902     ;;
2903   *-*-darwin*)
2904     os_win32=no
2905     link_python_libs=yes
2906     OS_EXT=dylib
2907     ;;
2908   *)
2909     os_win32=no
2910     link_python_libs=no
2911     OS_EXT=so
2912     ;;
2913 esac
2914 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $link_python_libs" >&5
2915 $as_echo "$link_python_libs" >&6; }
2916  if test "$os_win32" = "yes"; then
2917   OS_WIN32_TRUE=
2918   OS_WIN32_FALSE='#'
2919 else
2920   OS_WIN32_TRUE='#'
2921   OS_WIN32_FALSE=
2922 fi
2923
2924
2925
2926
2927 cat >>confdefs.h <<_ACEOF
2928 #define OS_EXT "$OS_EXT"
2929 _ACEOF
2930
2931
2932
2933 case `pwd` in
2934   *\ * | *\     *)
2935     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Libtool does not cope well with whitespace in \`pwd\`" >&5
2936 $as_echo "$as_me: WARNING: Libtool does not cope well with whitespace in \`pwd\`" >&2;} ;;
2937 esac
2938
2939
2940
2941 macro_version='2.4.2'
2942 macro_revision='1.3337'
2943
2944
2945
2946
2947
2948
2949
2950
2951
2952
2953
2954
2955
2956 ltmain="$ac_aux_dir/ltmain.sh"
2957
2958 # Backslashify metacharacters that are still active within
2959 # double-quoted strings.
2960 sed_quote_subst='s/\(["`$\\]\)/\\\1/g'
2961
2962 # Same as above, but do not quote variable references.
2963 double_quote_subst='s/\(["`\\]\)/\\\1/g'
2964
2965 # Sed substitution to delay expansion of an escaped shell variable in a
2966 # double_quote_subst'ed string.
2967 delay_variable_subst='s/\\\\\\\\\\\$/\\\\\\$/g'
2968
2969 # Sed substitution to delay expansion of an escaped single quote.
2970 delay_single_quote_subst='s/'\''/'\'\\\\\\\'\''/g'
2971
2972 # Sed substitution to avoid accidental globbing in evaled expressions
2973 no_glob_subst='s/\*/\\\*/g'
2974
2975 ECHO='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
2976 ECHO=$ECHO$ECHO$ECHO$ECHO$ECHO
2977 ECHO=$ECHO$ECHO$ECHO$ECHO$ECHO$ECHO
2978
2979 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to print strings" >&5
2980 $as_echo_n "checking how to print strings... " >&6; }
2981 # Test print first, because it will be a builtin if present.
2982 if test "X`( print -r -- -n ) 2>/dev/null`" = X-n && \
2983    test "X`print -r -- $ECHO 2>/dev/null`" = "X$ECHO"; then
2984   ECHO='print -r --'
2985 elif test "X`printf %s $ECHO 2>/dev/null`" = "X$ECHO"; then
2986   ECHO='printf %s\n'
2987 else
2988   # Use this function as a fallback that always works.
2989   func_fallback_echo ()
2990   {
2991     eval 'cat <<_LTECHO_EOF
2992 $1
2993 _LTECHO_EOF'
2994   }
2995   ECHO='func_fallback_echo'
2996 fi
2997
2998 # func_echo_all arg...
2999 # Invoke $ECHO with all args, space-separated.
3000 func_echo_all ()
3001 {
3002     $ECHO ""
3003 }
3004
3005 case "$ECHO" in
3006   printf*) { $as_echo "$as_me:${as_lineno-$LINENO}: result: printf" >&5
3007 $as_echo "printf" >&6; } ;;
3008   print*) { $as_echo "$as_me:${as_lineno-$LINENO}: result: print -r" >&5
3009 $as_echo "print -r" >&6; } ;;
3010   *) { $as_echo "$as_me:${as_lineno-$LINENO}: result: cat" >&5
3011 $as_echo "cat" >&6; } ;;
3012 esac
3013
3014
3015
3016
3017
3018
3019
3020
3021
3022
3023
3024
3025
3026
3027 DEPDIR="${am__leading_dot}deps"
3028
3029 ac_config_commands="$ac_config_commands depfiles"
3030
3031
3032 am_make=${MAKE-make}
3033 cat > confinc << 'END'
3034 am__doit:
3035         @echo this is the am__doit target
3036 .PHONY: am__doit
3037 END
3038 # If we don't find an include directive, just comment out the code.
3039 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for style of include used by $am_make" >&5
3040 $as_echo_n "checking for style of include used by $am_make... " >&6; }
3041 am__include="#"
3042 am__quote=
3043 _am_result=none
3044 # First try GNU make style include.
3045 echo "include confinc" > confmf
3046 # Ignore all kinds of additional output from 'make'.
3047 case `$am_make -s -f confmf 2> /dev/null` in #(
3048 *the\ am__doit\ target*)
3049   am__include=include
3050   am__quote=
3051   _am_result=GNU
3052   ;;
3053 esac
3054 # Now try BSD make style include.
3055 if test "$am__include" = "#"; then
3056    echo '.include "confinc"' > confmf
3057    case `$am_make -s -f confmf 2> /dev/null` in #(
3058    *the\ am__doit\ target*)
3059      am__include=.include
3060      am__quote="\""
3061      _am_result=BSD
3062      ;;
3063    esac
3064 fi
3065
3066
3067 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $_am_result" >&5
3068 $as_echo "$_am_result" >&6; }
3069 rm -f confinc confmf
3070
3071 # Check whether --enable-dependency-tracking was given.
3072 if test "${enable_dependency_tracking+set}" = set; then :
3073   enableval=$enable_dependency_tracking;
3074 fi
3075
3076 if test "x$enable_dependency_tracking" != xno; then
3077   am_depcomp="$ac_aux_dir/depcomp"
3078   AMDEPBACKSLASH='\'
3079   am__nodep='_no'
3080 fi
3081  if test "x$enable_dependency_tracking" != xno; then
3082   AMDEP_TRUE=
3083   AMDEP_FALSE='#'
3084 else
3085   AMDEP_TRUE='#'
3086   AMDEP_FALSE=
3087 fi
3088
3089
3090 ac_ext=c
3091 ac_cpp='$CPP $CPPFLAGS'
3092 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3093 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3094 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3095 if test -n "$ac_tool_prefix"; then
3096   # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
3097 set dummy ${ac_tool_prefix}gcc; ac_word=$2
3098 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3099 $as_echo_n "checking for $ac_word... " >&6; }
3100 if ${ac_cv_prog_CC+:} false; then :
3101   $as_echo_n "(cached) " >&6
3102 else
3103   if test -n "$CC"; then
3104   ac_cv_prog_CC="$CC" # Let the user override the test.
3105 else
3106 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3107 for as_dir in $PATH
3108 do
3109   IFS=$as_save_IFS
3110   test -z "$as_dir" && as_dir=.
3111     for ac_exec_ext in '' $ac_executable_extensions; do
3112   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3113     ac_cv_prog_CC="${ac_tool_prefix}gcc"
3114     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3115     break 2
3116   fi
3117 done
3118   done
3119 IFS=$as_save_IFS
3120
3121 fi
3122 fi
3123 CC=$ac_cv_prog_CC
3124 if test -n "$CC"; then
3125   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3126 $as_echo "$CC" >&6; }
3127 else
3128   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3129 $as_echo "no" >&6; }
3130 fi
3131
3132
3133 fi
3134 if test -z "$ac_cv_prog_CC"; then
3135   ac_ct_CC=$CC
3136   # Extract the first word of "gcc", so it can be a program name with args.
3137 set dummy gcc; ac_word=$2
3138 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3139 $as_echo_n "checking for $ac_word... " >&6; }
3140 if ${ac_cv_prog_ac_ct_CC+:} false; then :
3141   $as_echo_n "(cached) " >&6
3142 else
3143   if test -n "$ac_ct_CC"; then
3144   ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
3145 else
3146 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3147 for as_dir in $PATH
3148 do
3149   IFS=$as_save_IFS
3150   test -z "$as_dir" && as_dir=.
3151     for ac_exec_ext in '' $ac_executable_extensions; do
3152   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3153     ac_cv_prog_ac_ct_CC="gcc"
3154     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3155     break 2
3156   fi
3157 done
3158   done
3159 IFS=$as_save_IFS
3160
3161 fi
3162 fi
3163 ac_ct_CC=$ac_cv_prog_ac_ct_CC
3164 if test -n "$ac_ct_CC"; then
3165   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
3166 $as_echo "$ac_ct_CC" >&6; }
3167 else
3168   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3169 $as_echo "no" >&6; }
3170 fi
3171
3172   if test "x$ac_ct_CC" = x; then
3173     CC=""
3174   else
3175     case $cross_compiling:$ac_tool_warned in
3176 yes:)
3177 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3178 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3179 ac_tool_warned=yes ;;
3180 esac
3181     CC=$ac_ct_CC
3182   fi
3183 else
3184   CC="$ac_cv_prog_CC"
3185 fi
3186
3187 if test -z "$CC"; then
3188           if test -n "$ac_tool_prefix"; then
3189     # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
3190 set dummy ${ac_tool_prefix}cc; ac_word=$2
3191 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3192 $as_echo_n "checking for $ac_word... " >&6; }
3193 if ${ac_cv_prog_CC+:} false; then :
3194   $as_echo_n "(cached) " >&6
3195 else
3196   if test -n "$CC"; then
3197   ac_cv_prog_CC="$CC" # Let the user override the test.
3198 else
3199 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3200 for as_dir in $PATH
3201 do
3202   IFS=$as_save_IFS
3203   test -z "$as_dir" && as_dir=.
3204     for ac_exec_ext in '' $ac_executable_extensions; do
3205   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3206     ac_cv_prog_CC="${ac_tool_prefix}cc"
3207     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3208     break 2
3209   fi
3210 done
3211   done
3212 IFS=$as_save_IFS
3213
3214 fi
3215 fi
3216 CC=$ac_cv_prog_CC
3217 if test -n "$CC"; then
3218   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3219 $as_echo "$CC" >&6; }
3220 else
3221   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3222 $as_echo "no" >&6; }
3223 fi
3224
3225
3226   fi
3227 fi
3228 if test -z "$CC"; then
3229   # Extract the first word of "cc", so it can be a program name with args.
3230 set dummy cc; ac_word=$2
3231 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3232 $as_echo_n "checking for $ac_word... " >&6; }
3233 if ${ac_cv_prog_CC+:} false; then :
3234   $as_echo_n "(cached) " >&6
3235 else
3236   if test -n "$CC"; then
3237   ac_cv_prog_CC="$CC" # Let the user override the test.
3238 else
3239   ac_prog_rejected=no
3240 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3241 for as_dir in $PATH
3242 do
3243   IFS=$as_save_IFS
3244   test -z "$as_dir" && as_dir=.
3245     for ac_exec_ext in '' $ac_executable_extensions; do
3246   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3247     if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
3248        ac_prog_rejected=yes
3249        continue
3250      fi
3251     ac_cv_prog_CC="cc"
3252     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3253     break 2
3254   fi
3255 done
3256   done
3257 IFS=$as_save_IFS
3258
3259 if test $ac_prog_rejected = yes; then
3260   # We found a bogon in the path, so make sure we never use it.
3261   set dummy $ac_cv_prog_CC
3262   shift
3263   if test $# != 0; then
3264     # We chose a different compiler from the bogus one.
3265     # However, it has the same basename, so the bogon will be chosen
3266     # first if we set CC to just the basename; use the full file name.
3267     shift
3268     ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
3269   fi
3270 fi
3271 fi
3272 fi
3273 CC=$ac_cv_prog_CC
3274 if test -n "$CC"; then
3275   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3276 $as_echo "$CC" >&6; }
3277 else
3278   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3279 $as_echo "no" >&6; }
3280 fi
3281
3282
3283 fi
3284 if test -z "$CC"; then
3285   if test -n "$ac_tool_prefix"; then
3286   for ac_prog in cl.exe
3287   do
3288     # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
3289 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
3290 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3291 $as_echo_n "checking for $ac_word... " >&6; }
3292 if ${ac_cv_prog_CC+:} false; then :
3293   $as_echo_n "(cached) " >&6
3294 else
3295   if test -n "$CC"; then
3296   ac_cv_prog_CC="$CC" # Let the user override the test.
3297 else
3298 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3299 for as_dir in $PATH
3300 do
3301   IFS=$as_save_IFS
3302   test -z "$as_dir" && as_dir=.
3303     for ac_exec_ext in '' $ac_executable_extensions; do
3304   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3305     ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
3306     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3307     break 2
3308   fi
3309 done
3310   done
3311 IFS=$as_save_IFS
3312
3313 fi
3314 fi
3315 CC=$ac_cv_prog_CC
3316 if test -n "$CC"; then
3317   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3318 $as_echo "$CC" >&6; }
3319 else
3320   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3321 $as_echo "no" >&6; }
3322 fi
3323
3324
3325     test -n "$CC" && break
3326   done
3327 fi
3328 if test -z "$CC"; then
3329   ac_ct_CC=$CC
3330   for ac_prog in cl.exe
3331 do
3332   # Extract the first word of "$ac_prog", so it can be a program name with args.
3333 set dummy $ac_prog; ac_word=$2
3334 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3335 $as_echo_n "checking for $ac_word... " >&6; }
3336 if ${ac_cv_prog_ac_ct_CC+:} false; then :
3337   $as_echo_n "(cached) " >&6
3338 else
3339   if test -n "$ac_ct_CC"; then
3340   ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
3341 else
3342 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3343 for as_dir in $PATH
3344 do
3345   IFS=$as_save_IFS
3346   test -z "$as_dir" && as_dir=.
3347     for ac_exec_ext in '' $ac_executable_extensions; do
3348   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3349     ac_cv_prog_ac_ct_CC="$ac_prog"
3350     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3351     break 2
3352   fi
3353 done
3354   done
3355 IFS=$as_save_IFS
3356
3357 fi
3358 fi
3359 ac_ct_CC=$ac_cv_prog_ac_ct_CC
3360 if test -n "$ac_ct_CC"; then
3361   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
3362 $as_echo "$ac_ct_CC" >&6; }
3363 else
3364   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3365 $as_echo "no" >&6; }
3366 fi
3367
3368
3369   test -n "$ac_ct_CC" && break
3370 done
3371
3372   if test "x$ac_ct_CC" = x; then
3373     CC=""
3374   else
3375     case $cross_compiling:$ac_tool_warned in
3376 yes:)
3377 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3378 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3379 ac_tool_warned=yes ;;
3380 esac
3381     CC=$ac_ct_CC
3382   fi
3383 fi
3384
3385 fi
3386
3387
3388 test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3389 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3390 as_fn_error $? "no acceptable C compiler found in \$PATH
3391 See \`config.log' for more details" "$LINENO" 5; }
3392
3393 # Provide some information about the compiler.
3394 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
3395 set X $ac_compile
3396 ac_compiler=$2
3397 for ac_option in --version -v -V -qversion; do
3398   { { ac_try="$ac_compiler $ac_option >&5"
3399 case "(($ac_try" in
3400   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3401   *) ac_try_echo=$ac_try;;
3402 esac
3403 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3404 $as_echo "$ac_try_echo"; } >&5
3405   (eval "$ac_compiler $ac_option >&5") 2>conftest.err
3406   ac_status=$?
3407   if test -s conftest.err; then
3408     sed '10a\
3409 ... rest of stderr output deleted ...
3410          10q' conftest.err >conftest.er1
3411     cat conftest.er1 >&5
3412   fi
3413   rm -f conftest.er1 conftest.err
3414   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3415   test $ac_status = 0; }
3416 done
3417
3418 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3419 /* end confdefs.h.  */
3420
3421 int
3422 main ()
3423 {
3424
3425   ;
3426   return 0;
3427 }
3428 _ACEOF
3429 ac_clean_files_save=$ac_clean_files
3430 ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out"
3431 # Try to create an executable without -o first, disregard a.out.
3432 # It will help us diagnose broken compilers, and finding out an intuition
3433 # of exeext.
3434 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler works" >&5
3435 $as_echo_n "checking whether the C compiler works... " >&6; }
3436 ac_link_default=`$as_echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
3437
3438 # The possible output files:
3439 ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*"
3440
3441 ac_rmfiles=
3442 for ac_file in $ac_files
3443 do
3444   case $ac_file in
3445     *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
3446     * ) ac_rmfiles="$ac_rmfiles $ac_file";;
3447   esac
3448 done
3449 rm -f $ac_rmfiles
3450
3451 if { { ac_try="$ac_link_default"
3452 case "(($ac_try" in
3453   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3454   *) ac_try_echo=$ac_try;;
3455 esac
3456 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3457 $as_echo "$ac_try_echo"; } >&5
3458   (eval "$ac_link_default") 2>&5
3459   ac_status=$?
3460   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3461   test $ac_status = 0; }; then :
3462   # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
3463 # So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
3464 # in a Makefile.  We should not override ac_cv_exeext if it was cached,
3465 # so that the user can short-circuit this test for compilers unknown to
3466 # Autoconf.
3467 for ac_file in $ac_files ''
3468 do
3469   test -f "$ac_file" || continue
3470   case $ac_file in
3471     *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj )
3472         ;;
3473     [ab].out )
3474         # We found the default executable, but exeext='' is most
3475         # certainly right.
3476         break;;
3477     *.* )
3478         if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no;
3479         then :; else
3480            ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
3481         fi
3482         # We set ac_cv_exeext here because the later test for it is not
3483         # safe: cross compilers may not add the suffix if given an `-o'
3484         # argument, so we may need to know it at that point already.
3485         # Even if this section looks crufty: it has the advantage of
3486         # actually working.
3487         break;;
3488     * )
3489         break;;
3490   esac
3491 done
3492 test "$ac_cv_exeext" = no && ac_cv_exeext=
3493
3494 else
3495   ac_file=''
3496 fi
3497 if test -z "$ac_file"; then :
3498   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3499 $as_echo "no" >&6; }
3500 $as_echo "$as_me: failed program was:" >&5
3501 sed 's/^/| /' conftest.$ac_ext >&5
3502
3503 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3504 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3505 as_fn_error 77 "C compiler cannot create executables
3506 See \`config.log' for more details" "$LINENO" 5; }
3507 else
3508   { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
3509 $as_echo "yes" >&6; }
3510 fi
3511 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler default output file name" >&5
3512 $as_echo_n "checking for C compiler default output file name... " >&6; }
3513 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5
3514 $as_echo "$ac_file" >&6; }
3515 ac_exeext=$ac_cv_exeext
3516
3517 rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out
3518 ac_clean_files=$ac_clean_files_save
3519 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5
3520 $as_echo_n "checking for suffix of executables... " >&6; }
3521 if { { ac_try="$ac_link"
3522 case "(($ac_try" in
3523   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3524   *) ac_try_echo=$ac_try;;
3525 esac
3526 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3527 $as_echo "$ac_try_echo"; } >&5
3528   (eval "$ac_link") 2>&5
3529   ac_status=$?
3530   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3531   test $ac_status = 0; }; then :
3532   # If both `conftest.exe' and `conftest' are `present' (well, observable)
3533 # catch `conftest.exe'.  For instance with Cygwin, `ls conftest' will
3534 # work properly (i.e., refer to `conftest.exe'), while it won't with
3535 # `rm'.
3536 for ac_file in conftest.exe conftest conftest.*; do
3537   test -f "$ac_file" || continue
3538   case $ac_file in
3539     *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
3540     *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
3541           break;;
3542     * ) break;;
3543   esac
3544 done
3545 else
3546   { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3547 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3548 as_fn_error $? "cannot compute suffix of executables: cannot compile and link
3549 See \`config.log' for more details" "$LINENO" 5; }
3550 fi
3551 rm -f conftest conftest$ac_cv_exeext
3552 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5
3553 $as_echo "$ac_cv_exeext" >&6; }
3554
3555 rm -f conftest.$ac_ext
3556 EXEEXT=$ac_cv_exeext
3557 ac_exeext=$EXEEXT
3558 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3559 /* end confdefs.h.  */
3560 #include <stdio.h>
3561 int
3562 main ()
3563 {
3564 FILE *f = fopen ("conftest.out", "w");
3565  return ferror (f) || fclose (f) != 0;
3566
3567   ;
3568   return 0;
3569 }
3570 _ACEOF
3571 ac_clean_files="$ac_clean_files conftest.out"
3572 # Check that the compiler produces executables we can run.  If not, either
3573 # the compiler is broken, or we cross compile.
3574 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5
3575 $as_echo_n "checking whether we are cross compiling... " >&6; }
3576 if test "$cross_compiling" != yes; then
3577   { { ac_try="$ac_link"
3578 case "(($ac_try" in
3579   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3580   *) ac_try_echo=$ac_try;;
3581 esac
3582 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3583 $as_echo "$ac_try_echo"; } >&5
3584   (eval "$ac_link") 2>&5
3585   ac_status=$?
3586   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3587   test $ac_status = 0; }
3588   if { ac_try='./conftest$ac_cv_exeext'
3589   { { case "(($ac_try" in
3590   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3591   *) ac_try_echo=$ac_try;;
3592 esac
3593 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3594 $as_echo "$ac_try_echo"; } >&5
3595   (eval "$ac_try") 2>&5
3596   ac_status=$?
3597   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3598   test $ac_status = 0; }; }; then
3599     cross_compiling=no
3600   else
3601     if test "$cross_compiling" = maybe; then
3602         cross_compiling=yes
3603     else
3604         { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3605 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3606 as_fn_error $? "cannot run C compiled programs.
3607 If you meant to cross compile, use \`--host'.
3608 See \`config.log' for more details" "$LINENO" 5; }
3609     fi
3610   fi
3611 fi
3612 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5
3613 $as_echo "$cross_compiling" >&6; }
3614
3615 rm -f conftest.$ac_ext conftest$ac_cv_exeext conftest.out
3616 ac_clean_files=$ac_clean_files_save
3617 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5
3618 $as_echo_n "checking for suffix of object files... " >&6; }
3619 if ${ac_cv_objext+:} false; then :
3620   $as_echo_n "(cached) " >&6
3621 else
3622   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3623 /* end confdefs.h.  */
3624
3625 int
3626 main ()
3627 {
3628
3629   ;
3630   return 0;
3631 }
3632 _ACEOF
3633 rm -f conftest.o conftest.obj
3634 if { { ac_try="$ac_compile"
3635 case "(($ac_try" in
3636   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3637   *) ac_try_echo=$ac_try;;
3638 esac
3639 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3640 $as_echo "$ac_try_echo"; } >&5
3641   (eval "$ac_compile") 2>&5
3642   ac_status=$?
3643   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3644   test $ac_status = 0; }; then :
3645   for ac_file in conftest.o conftest.obj conftest.*; do
3646   test -f "$ac_file" || continue;
3647   case $ac_file in
3648     *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;;
3649     *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
3650        break;;
3651   esac
3652 done
3653 else
3654   $as_echo "$as_me: failed program was:" >&5
3655 sed 's/^/| /' conftest.$ac_ext >&5
3656
3657 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3658 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3659 as_fn_error $? "cannot compute suffix of object files: cannot compile
3660 See \`config.log' for more details" "$LINENO" 5; }
3661 fi
3662 rm -f conftest.$ac_cv_objext conftest.$ac_ext
3663 fi
3664 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5
3665 $as_echo "$ac_cv_objext" >&6; }
3666 OBJEXT=$ac_cv_objext
3667 ac_objext=$OBJEXT
3668 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
3669 $as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
3670 if ${ac_cv_c_compiler_gnu+:} false; then :
3671   $as_echo_n "(cached) " >&6
3672 else
3673   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3674 /* end confdefs.h.  */
3675
3676 int
3677 main ()
3678 {
3679 #ifndef __GNUC__
3680        choke me
3681 #endif
3682
3683   ;
3684   return 0;
3685 }
3686 _ACEOF
3687 if ac_fn_c_try_compile "$LINENO"; then :
3688   ac_compiler_gnu=yes
3689 else
3690   ac_compiler_gnu=no
3691 fi
3692 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3693 ac_cv_c_compiler_gnu=$ac_compiler_gnu
3694
3695 fi
3696 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
3697 $as_echo "$ac_cv_c_compiler_gnu" >&6; }
3698 if test $ac_compiler_gnu = yes; then
3699   GCC=yes
3700 else
3701   GCC=
3702 fi
3703 ac_test_CFLAGS=${CFLAGS+set}
3704 ac_save_CFLAGS=$CFLAGS
3705 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
3706 $as_echo_n "checking whether $CC accepts -g... " >&6; }
3707 if ${ac_cv_prog_cc_g+:} false; then :
3708   $as_echo_n "(cached) " >&6
3709 else
3710   ac_save_c_werror_flag=$ac_c_werror_flag
3711    ac_c_werror_flag=yes
3712    ac_cv_prog_cc_g=no
3713    CFLAGS="-g"
3714    cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3715 /* end confdefs.h.  */
3716
3717 int
3718 main ()
3719 {
3720
3721   ;
3722   return 0;
3723 }
3724 _ACEOF
3725 if ac_fn_c_try_compile "$LINENO"; then :
3726   ac_cv_prog_cc_g=yes
3727 else
3728   CFLAGS=""
3729       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3730 /* end confdefs.h.  */
3731
3732 int
3733 main ()
3734 {
3735
3736   ;
3737   return 0;
3738 }
3739 _ACEOF
3740 if ac_fn_c_try_compile "$LINENO"; then :
3741
3742 else
3743   ac_c_werror_flag=$ac_save_c_werror_flag
3744          CFLAGS="-g"
3745          cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3746 /* end confdefs.h.  */
3747
3748 int
3749 main ()
3750 {
3751
3752   ;
3753   return 0;
3754 }
3755 _ACEOF
3756 if ac_fn_c_try_compile "$LINENO"; then :
3757   ac_cv_prog_cc_g=yes
3758 fi
3759 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3760 fi
3761 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3762 fi
3763 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3764    ac_c_werror_flag=$ac_save_c_werror_flag
3765 fi
3766 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
3767 $as_echo "$ac_cv_prog_cc_g" >&6; }
3768 if test "$ac_test_CFLAGS" = set; then
3769   CFLAGS=$ac_save_CFLAGS
3770 elif test $ac_cv_prog_cc_g = yes; then
3771   if test "$GCC" = yes; then
3772     CFLAGS="-g -O2"
3773   else
3774     CFLAGS="-g"
3775   fi
3776 else
3777   if test "$GCC" = yes; then
3778     CFLAGS="-O2"
3779   else
3780     CFLAGS=
3781   fi
3782 fi
3783 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
3784 $as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
3785 if ${ac_cv_prog_cc_c89+:} false; then :
3786   $as_echo_n "(cached) " >&6
3787 else
3788   ac_cv_prog_cc_c89=no
3789 ac_save_CC=$CC
3790 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3791 /* end confdefs.h.  */
3792 #include <stdarg.h>
3793 #include <stdio.h>
3794 struct stat;
3795 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh.  */
3796 struct buf { int x; };
3797 FILE * (*rcsopen) (struct buf *, struct stat *, int);
3798 static char *e (p, i)
3799      char **p;
3800      int i;
3801 {
3802   return p[i];
3803 }
3804 static char *f (char * (*g) (char **, int), char **p, ...)
3805 {
3806   char *s;
3807   va_list v;
3808   va_start (v,p);
3809   s = g (p, va_arg (v,int));
3810   va_end (v);
3811   return s;
3812 }
3813
3814 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default.  It has
3815    function prototypes and stuff, but not '\xHH' hex character constants.
3816    These don't provoke an error unfortunately, instead are silently treated
3817    as 'x'.  The following induces an error, until -std is added to get
3818    proper ANSI mode.  Curiously '\x00'!='x' always comes out true, for an
3819    array size at least.  It's necessary to write '\x00'==0 to get something
3820    that's true only with -std.  */
3821 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
3822
3823 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
3824    inside strings and character constants.  */
3825 #define FOO(x) 'x'
3826 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
3827
3828 int test (int i, double x);
3829 struct s1 {int (*f) (int a);};
3830 struct s2 {int (*f) (double a);};
3831 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
3832 int argc;
3833 char **argv;
3834 int
3835 main ()
3836 {
3837 return f (e, argv, 0) != argv[0]  ||  f (e, argv, 1) != argv[1];
3838   ;
3839   return 0;
3840 }
3841 _ACEOF
3842 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
3843         -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
3844 do
3845   CC="$ac_save_CC $ac_arg"
3846   if ac_fn_c_try_compile "$LINENO"; then :
3847   ac_cv_prog_cc_c89=$ac_arg
3848 fi
3849 rm -f core conftest.err conftest.$ac_objext
3850   test "x$ac_cv_prog_cc_c89" != "xno" && break
3851 done
3852 rm -f conftest.$ac_ext
3853 CC=$ac_save_CC
3854
3855 fi
3856 # AC_CACHE_VAL
3857 case "x$ac_cv_prog_cc_c89" in
3858   x)
3859     { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
3860 $as_echo "none needed" >&6; } ;;
3861   xno)
3862     { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
3863 $as_echo "unsupported" >&6; } ;;
3864   *)
3865     CC="$CC $ac_cv_prog_cc_c89"
3866     { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
3867 $as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
3868 esac
3869 if test "x$ac_cv_prog_cc_c89" != xno; then :
3870
3871 fi
3872
3873 ac_ext=c
3874 ac_cpp='$CPP $CPPFLAGS'
3875 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3876 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3877 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3878
3879 depcc="$CC"   am_compiler_list=
3880
3881 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5
3882 $as_echo_n "checking dependency style of $depcc... " >&6; }
3883 if ${am_cv_CC_dependencies_compiler_type+:} false; then :
3884   $as_echo_n "(cached) " >&6
3885 else
3886   if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
3887   # We make a subdir and do the tests there.  Otherwise we can end up
3888   # making bogus files that we don't know about and never remove.  For
3889   # instance it was reported that on HP-UX the gcc test will end up
3890   # making a dummy file named 'D' -- because '-MD' means "put the output
3891   # in D".
3892   rm -rf conftest.dir
3893   mkdir conftest.dir
3894   # Copy depcomp to subdir because otherwise we won't find it if we're
3895   # using a relative directory.
3896   cp "$am_depcomp" conftest.dir
3897   cd conftest.dir
3898   # We will build objects and dependencies in a subdirectory because
3899   # it helps to detect inapplicable dependency modes.  For instance
3900   # both Tru64's cc and ICC support -MD to output dependencies as a
3901   # side effect of compilation, but ICC will put the dependencies in
3902   # the current directory while Tru64 will put them in the object
3903   # directory.
3904   mkdir sub
3905
3906   am_cv_CC_dependencies_compiler_type=none
3907   if test "$am_compiler_list" = ""; then
3908      am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
3909   fi
3910   am__universal=false
3911   case " $depcc " in #(
3912      *\ -arch\ *\ -arch\ *) am__universal=true ;;
3913      esac
3914
3915   for depmode in $am_compiler_list; do
3916     # Setup a source with many dependencies, because some compilers
3917     # like to wrap large dependency lists on column 80 (with \), and
3918     # we should not choose a depcomp mode which is confused by this.
3919     #
3920     # We need to recreate these files for each test, as the compiler may
3921     # overwrite some of them when testing with obscure command lines.
3922     # This happens at least with the AIX C compiler.
3923     : > sub/conftest.c
3924     for i in 1 2 3 4 5 6; do
3925       echo '#include "conftst'$i'.h"' >> sub/conftest.c
3926       # Using ": > sub/conftst$i.h" creates only sub/conftst1.h with
3927       # Solaris 10 /bin/sh.
3928       echo '/* dummy */' > sub/conftst$i.h
3929     done
3930     echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
3931
3932     # We check with '-c' and '-o' for the sake of the "dashmstdout"
3933     # mode.  It turns out that the SunPro C++ compiler does not properly
3934     # handle '-M -o', and we need to detect this.  Also, some Intel
3935     # versions had trouble with output in subdirs.
3936     am__obj=sub/conftest.${OBJEXT-o}
3937     am__minus_obj="-o $am__obj"
3938     case $depmode in
3939     gcc)
3940       # This depmode causes a compiler race in universal mode.
3941       test "$am__universal" = false || continue
3942       ;;
3943     nosideeffect)
3944       # After this tag, mechanisms are not by side-effect, so they'll
3945       # only be used when explicitly requested.
3946       if test "x$enable_dependency_tracking" = xyes; then
3947         continue
3948       else
3949         break
3950       fi
3951       ;;
3952     msvc7 | msvc7msys | msvisualcpp | msvcmsys)
3953       # This compiler won't grok '-c -o', but also, the minuso test has
3954       # not run yet.  These depmodes are late enough in the game, and
3955       # so weak that their functioning should not be impacted.
3956       am__obj=conftest.${OBJEXT-o}
3957       am__minus_obj=
3958       ;;
3959     none) break ;;
3960     esac
3961     if depmode=$depmode \
3962        source=sub/conftest.c object=$am__obj \
3963        depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
3964        $SHELL ./depcomp $depcc -c $am__minus_obj sub/conftest.c \
3965          >/dev/null 2>conftest.err &&
3966        grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 &&
3967        grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
3968        grep $am__obj sub/conftest.Po > /dev/null 2>&1 &&
3969        ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
3970       # icc doesn't choke on unknown options, it will just issue warnings
3971       # or remarks (even with -Werror).  So we grep stderr for any message
3972       # that says an option was ignored or not supported.
3973       # When given -MP, icc 7.0 and 7.1 complain thusly:
3974       #   icc: Command line warning: ignoring option '-M'; no argument required
3975       # The diagnosis changed in icc 8.0:
3976       #   icc: Command line remark: option '-MP' not supported
3977       if (grep 'ignoring option' conftest.err ||
3978           grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
3979         am_cv_CC_dependencies_compiler_type=$depmode
3980         break
3981       fi
3982     fi
3983   done
3984
3985   cd ..
3986   rm -rf conftest.dir
3987 else
3988   am_cv_CC_dependencies_compiler_type=none
3989 fi
3990
3991 fi
3992 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_CC_dependencies_compiler_type" >&5
3993 $as_echo "$am_cv_CC_dependencies_compiler_type" >&6; }
3994 CCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type
3995
3996  if
3997   test "x$enable_dependency_tracking" != xno \
3998   && test "$am_cv_CC_dependencies_compiler_type" = gcc3; then
3999   am__fastdepCC_TRUE=
4000   am__fastdepCC_FALSE='#'
4001 else
4002   am__fastdepCC_TRUE='#'
4003   am__fastdepCC_FALSE=
4004 fi
4005
4006
4007 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a sed that does not truncate output" >&5
4008 $as_echo_n "checking for a sed that does not truncate output... " >&6; }
4009 if ${ac_cv_path_SED+:} false; then :
4010   $as_echo_n "(cached) " >&6
4011 else
4012             ac_script=s/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa/bbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbb/
4013      for ac_i in 1 2 3 4 5 6 7; do
4014        ac_script="$ac_script$as_nl$ac_script"
4015      done
4016      echo "$ac_script" 2>/dev/null | sed 99q >conftest.sed
4017      { ac_script=; unset ac_script;}
4018      if test -z "$SED"; then
4019   ac_path_SED_found=false
4020   # Loop through the user's path and test for each of PROGNAME-LIST
4021   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4022 for as_dir in $PATH
4023 do
4024   IFS=$as_save_IFS
4025   test -z "$as_dir" && as_dir=.
4026     for ac_prog in sed gsed; do
4027     for ac_exec_ext in '' $ac_executable_extensions; do
4028       ac_path_SED="$as_dir/$ac_prog$ac_exec_ext"
4029       as_fn_executable_p "$ac_path_SED" || continue
4030 # Check for GNU ac_path_SED and select it if it is found.
4031   # Check for GNU $ac_path_SED
4032 case `"$ac_path_SED" --version 2>&1` in
4033 *GNU*)
4034   ac_cv_path_SED="$ac_path_SED" ac_path_SED_found=:;;
4035 *)
4036   ac_count=0
4037   $as_echo_n 0123456789 >"conftest.in"
4038   while :
4039   do
4040     cat "conftest.in" "conftest.in" >"conftest.tmp"
4041     mv "conftest.tmp" "conftest.in"
4042     cp "conftest.in" "conftest.nl"
4043     $as_echo '' >> "conftest.nl"
4044     "$ac_path_SED" -f conftest.sed < "conftest.nl" >"conftest.out" 2>/dev/null || break
4045     diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
4046     as_fn_arith $ac_count + 1 && ac_count=$as_val
4047     if test $ac_count -gt ${ac_path_SED_max-0}; then
4048       # Best one so far, save it but keep looking for a better one
4049       ac_cv_path_SED="$ac_path_SED"
4050       ac_path_SED_max=$ac_count
4051     fi
4052     # 10*(2^10) chars as input seems more than enough
4053     test $ac_count -gt 10 && break
4054   done
4055   rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
4056 esac
4057
4058       $ac_path_SED_found && break 3
4059     done
4060   done
4061   done
4062 IFS=$as_save_IFS
4063   if test -z "$ac_cv_path_SED"; then
4064     as_fn_error $? "no acceptable sed could be found in \$PATH" "$LINENO" 5
4065   fi
4066 else
4067   ac_cv_path_SED=$SED
4068 fi
4069
4070 fi
4071 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_SED" >&5
4072 $as_echo "$ac_cv_path_SED" >&6; }
4073  SED="$ac_cv_path_SED"
4074   rm -f conftest.sed
4075
4076 test -z "$SED" && SED=sed
4077 Xsed="$SED -e 1s/^X//"
4078
4079
4080
4081
4082
4083
4084
4085
4086
4087
4088
4089 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for grep that handles long lines and -e" >&5
4090 $as_echo_n "checking for grep that handles long lines and -e... " >&6; }
4091 if ${ac_cv_path_GREP+:} false; then :
4092   $as_echo_n "(cached) " >&6
4093 else
4094   if test -z "$GREP"; then
4095   ac_path_GREP_found=false
4096   # Loop through the user's path and test for each of PROGNAME-LIST
4097   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4098 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
4099 do
4100   IFS=$as_save_IFS
4101   test -z "$as_dir" && as_dir=.
4102     for ac_prog in grep ggrep; do
4103     for ac_exec_ext in '' $ac_executable_extensions; do
4104       ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext"
4105       as_fn_executable_p "$ac_path_GREP" || continue
4106 # Check for GNU ac_path_GREP and select it if it is found.
4107   # Check for GNU $ac_path_GREP
4108 case `"$ac_path_GREP" --version 2>&1` in
4109 *GNU*)
4110   ac_cv_path_GREP="$ac_path_GREP" ac_path_GREP_found=:;;
4111 *)
4112   ac_count=0
4113   $as_echo_n 0123456789 >"conftest.in"
4114   while :
4115   do
4116     cat "conftest.in" "conftest.in" >"conftest.tmp"
4117     mv "conftest.tmp" "conftest.in"
4118     cp "conftest.in" "conftest.nl"
4119     $as_echo 'GREP' >> "conftest.nl"
4120     "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev/null || break
4121     diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
4122     as_fn_arith $ac_count + 1 && ac_count=$as_val
4123     if test $ac_count -gt ${ac_path_GREP_max-0}; then
4124       # Best one so far, save it but keep looking for a better one
4125       ac_cv_path_GREP="$ac_path_GREP"
4126       ac_path_GREP_max=$ac_count
4127     fi
4128     # 10*(2^10) chars as input seems more than enough
4129     test $ac_count -gt 10 && break
4130   done
4131   rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
4132 esac
4133
4134       $ac_path_GREP_found && break 3
4135     done
4136   done
4137   done
4138 IFS=$as_save_IFS
4139   if test -z "$ac_cv_path_GREP"; then
4140     as_fn_error $? "no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
4141   fi
4142 else
4143   ac_cv_path_GREP=$GREP
4144 fi
4145
4146 fi
4147 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_GREP" >&5
4148 $as_echo "$ac_cv_path_GREP" >&6; }
4149  GREP="$ac_cv_path_GREP"
4150
4151
4152 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for egrep" >&5
4153 $as_echo_n "checking for egrep... " >&6; }
4154 if ${ac_cv_path_EGREP+:} false; then :
4155   $as_echo_n "(cached) " >&6
4156 else
4157   if echo a | $GREP -E '(a|b)' >/dev/null 2>&1
4158    then ac_cv_path_EGREP="$GREP -E"
4159    else
4160      if test -z "$EGREP"; then
4161   ac_path_EGREP_found=false
4162   # Loop through the user's path and test for each of PROGNAME-LIST
4163   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4164 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
4165 do
4166   IFS=$as_save_IFS
4167   test -z "$as_dir" && as_dir=.
4168     for ac_prog in egrep; do
4169     for ac_exec_ext in '' $ac_executable_extensions; do
4170       ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext"
4171       as_fn_executable_p "$ac_path_EGREP" || continue
4172 # Check for GNU ac_path_EGREP and select it if it is found.
4173   # Check for GNU $ac_path_EGREP
4174 case `"$ac_path_EGREP" --version 2>&1` in
4175 *GNU*)
4176   ac_cv_path_EGREP="$ac_path_EGREP" ac_path_EGREP_found=:;;
4177 *)
4178   ac_count=0
4179   $as_echo_n 0123456789 >"conftest.in"
4180   while :
4181   do
4182     cat "conftest.in" "conftest.in" >"conftest.tmp"
4183     mv "conftest.tmp" "conftest.in"
4184     cp "conftest.in" "conftest.nl"
4185     $as_echo 'EGREP' >> "conftest.nl"
4186     "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev/null || break
4187     diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
4188     as_fn_arith $ac_count + 1 && ac_count=$as_val
4189     if test $ac_count -gt ${ac_path_EGREP_max-0}; then
4190       # Best one so far, save it but keep looking for a better one
4191       ac_cv_path_EGREP="$ac_path_EGREP"
4192       ac_path_EGREP_max=$ac_count
4193     fi
4194     # 10*(2^10) chars as input seems more than enough
4195     test $ac_count -gt 10 && break
4196   done
4197   rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
4198 esac
4199
4200       $ac_path_EGREP_found && break 3
4201     done
4202   done
4203   done
4204 IFS=$as_save_IFS
4205   if test -z "$ac_cv_path_EGREP"; then
4206     as_fn_error $? "no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
4207   fi
4208 else
4209   ac_cv_path_EGREP=$EGREP
4210 fi
4211
4212    fi
4213 fi
4214 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_EGREP" >&5
4215 $as_echo "$ac_cv_path_EGREP" >&6; }
4216  EGREP="$ac_cv_path_EGREP"
4217
4218
4219 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fgrep" >&5
4220 $as_echo_n "checking for fgrep... " >&6; }
4221 if ${ac_cv_path_FGREP+:} false; then :
4222   $as_echo_n "(cached) " >&6
4223 else
4224   if echo 'ab*c' | $GREP -F 'ab*c' >/dev/null 2>&1
4225    then ac_cv_path_FGREP="$GREP -F"
4226    else
4227      if test -z "$FGREP"; then
4228   ac_path_FGREP_found=false
4229   # Loop through the user's path and test for each of PROGNAME-LIST
4230   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4231 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
4232 do
4233   IFS=$as_save_IFS
4234   test -z "$as_dir" && as_dir=.
4235     for ac_prog in fgrep; do
4236     for ac_exec_ext in '' $ac_executable_extensions; do
4237       ac_path_FGREP="$as_dir/$ac_prog$ac_exec_ext"
4238       as_fn_executable_p "$ac_path_FGREP" || continue
4239 # Check for GNU ac_path_FGREP and select it if it is found.
4240   # Check for GNU $ac_path_FGREP
4241 case `"$ac_path_FGREP" --version 2>&1` in
4242 *GNU*)
4243   ac_cv_path_FGREP="$ac_path_FGREP" ac_path_FGREP_found=:;;
4244 *)
4245   ac_count=0
4246   $as_echo_n 0123456789 >"conftest.in"
4247   while :
4248   do
4249     cat "conftest.in" "conftest.in" >"conftest.tmp"
4250     mv "conftest.tmp" "conftest.in"
4251     cp "conftest.in" "conftest.nl"
4252     $as_echo 'FGREP' >> "conftest.nl"
4253     "$ac_path_FGREP" FGREP < "conftest.nl" >"conftest.out" 2>/dev/null || break
4254     diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
4255     as_fn_arith $ac_count + 1 && ac_count=$as_val
4256     if test $ac_count -gt ${ac_path_FGREP_max-0}; then
4257       # Best one so far, save it but keep looking for a better one
4258       ac_cv_path_FGREP="$ac_path_FGREP"
4259       ac_path_FGREP_max=$ac_count
4260     fi
4261     # 10*(2^10) chars as input seems more than enough
4262     test $ac_count -gt 10 && break
4263   done
4264   rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
4265 esac
4266
4267       $ac_path_FGREP_found && break 3
4268     done
4269   done
4270   done
4271 IFS=$as_save_IFS
4272   if test -z "$ac_cv_path_FGREP"; then
4273     as_fn_error $? "no acceptable fgrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
4274   fi
4275 else
4276   ac_cv_path_FGREP=$FGREP
4277 fi
4278
4279    fi
4280 fi
4281 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_FGREP" >&5
4282 $as_echo "$ac_cv_path_FGREP" >&6; }
4283  FGREP="$ac_cv_path_FGREP"
4284
4285
4286 test -z "$GREP" && GREP=grep
4287
4288
4289
4290
4291
4292
4293
4294
4295
4296
4297
4298
4299
4300
4301
4302
4303
4304
4305
4306 # Check whether --with-gnu-ld was given.
4307 if test "${with_gnu_ld+set}" = set; then :
4308   withval=$with_gnu_ld; test "$withval" = no || with_gnu_ld=yes
4309 else
4310   with_gnu_ld=no
4311 fi
4312
4313 ac_prog=ld
4314 if test "$GCC" = yes; then
4315   # Check if gcc -print-prog-name=ld gives a path.
4316   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld used by $CC" >&5
4317 $as_echo_n "checking for ld used by $CC... " >&6; }
4318   case $host in
4319   *-*-mingw*)
4320     # gcc leaves a trailing carriage return which upsets mingw
4321     ac_prog=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
4322   *)
4323     ac_prog=`($CC -print-prog-name=ld) 2>&5` ;;
4324   esac
4325   case $ac_prog in
4326     # Accept absolute paths.
4327     [\\/]* | ?:[\\/]*)
4328       re_direlt='/[^/][^/]*/\.\./'
4329       # Canonicalize the pathname of ld
4330       ac_prog=`$ECHO "$ac_prog"| $SED 's%\\\\%/%g'`
4331       while $ECHO "$ac_prog" | $GREP "$re_direlt" > /dev/null 2>&1; do
4332         ac_prog=`$ECHO $ac_prog| $SED "s%$re_direlt%/%"`
4333       done
4334       test -z "$LD" && LD="$ac_prog"
4335       ;;
4336   "")
4337     # If it fails, then pretend we aren't using GCC.
4338     ac_prog=ld
4339     ;;
4340   *)
4341     # If it is relative, then search for the first ld in PATH.
4342     with_gnu_ld=unknown
4343     ;;
4344   esac
4345 elif test "$with_gnu_ld" = yes; then
4346   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU ld" >&5
4347 $as_echo_n "checking for GNU ld... " >&6; }
4348 else
4349   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for non-GNU ld" >&5
4350 $as_echo_n "checking for non-GNU ld... " >&6; }
4351 fi
4352 if ${lt_cv_path_LD+:} false; then :
4353   $as_echo_n "(cached) " >&6
4354 else
4355   if test -z "$LD"; then
4356   lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
4357   for ac_dir in $PATH; do
4358     IFS="$lt_save_ifs"
4359     test -z "$ac_dir" && ac_dir=.
4360     if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then
4361       lt_cv_path_LD="$ac_dir/$ac_prog"
4362       # Check to see if the program is GNU ld.  I'd rather use --version,
4363       # but apparently some variants of GNU ld only accept -v.
4364       # Break only if it was the GNU/non-GNU ld that we prefer.
4365       case `"$lt_cv_path_LD" -v 2>&1 </dev/null` in
4366       *GNU* | *'with BFD'*)
4367         test "$with_gnu_ld" != no && break
4368         ;;
4369       *)
4370         test "$with_gnu_ld" != yes && break
4371         ;;
4372       esac
4373     fi
4374   done
4375   IFS="$lt_save_ifs"
4376 else
4377   lt_cv_path_LD="$LD" # Let the user override the test with a path.
4378 fi
4379 fi
4380
4381 LD="$lt_cv_path_LD"
4382 if test -n "$LD"; then
4383   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LD" >&5
4384 $as_echo "$LD" >&6; }
4385 else
4386   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4387 $as_echo "no" >&6; }
4388 fi
4389 test -z "$LD" && as_fn_error $? "no acceptable ld found in \$PATH" "$LINENO" 5
4390 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if the linker ($LD) is GNU ld" >&5
4391 $as_echo_n "checking if the linker ($LD) is GNU ld... " >&6; }
4392 if ${lt_cv_prog_gnu_ld+:} false; then :
4393   $as_echo_n "(cached) " >&6
4394 else
4395   # I'd rather use --version here, but apparently some GNU lds only accept -v.
4396 case `$LD -v 2>&1 </dev/null` in
4397 *GNU* | *'with BFD'*)
4398   lt_cv_prog_gnu_ld=yes
4399   ;;
4400 *)
4401   lt_cv_prog_gnu_ld=no
4402   ;;
4403 esac
4404 fi
4405 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_gnu_ld" >&5
4406 $as_echo "$lt_cv_prog_gnu_ld" >&6; }
4407 with_gnu_ld=$lt_cv_prog_gnu_ld
4408
4409
4410
4411
4412
4413
4414
4415
4416
4417 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for BSD- or MS-compatible name lister (nm)" >&5
4418 $as_echo_n "checking for BSD- or MS-compatible name lister (nm)... " >&6; }
4419 if ${lt_cv_path_NM+:} false; then :
4420   $as_echo_n "(cached) " >&6
4421 else
4422   if test -n "$NM"; then
4423   # Let the user override the test.
4424   lt_cv_path_NM="$NM"
4425 else
4426   lt_nm_to_check="${ac_tool_prefix}nm"
4427   if test -n "$ac_tool_prefix" && test "$build" = "$host"; then
4428     lt_nm_to_check="$lt_nm_to_check nm"
4429   fi
4430   for lt_tmp_nm in $lt_nm_to_check; do
4431     lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
4432     for ac_dir in $PATH /usr/ccs/bin/elf /usr/ccs/bin /usr/ucb /bin; do
4433       IFS="$lt_save_ifs"
4434       test -z "$ac_dir" && ac_dir=.
4435       tmp_nm="$ac_dir/$lt_tmp_nm"
4436       if test -f "$tmp_nm" || test -f "$tmp_nm$ac_exeext" ; then
4437         # Check to see if the nm accepts a BSD-compat flag.
4438         # Adding the `sed 1q' prevents false positives on HP-UX, which says:
4439         #   nm: unknown option "B" ignored
4440         # Tru64's nm complains that /dev/null is an invalid object file
4441         case `"$tmp_nm" -B /dev/null 2>&1 | sed '1q'` in
4442         */dev/null* | *'Invalid file or object type'*)
4443           lt_cv_path_NM="$tmp_nm -B"
4444           break
4445           ;;
4446         *)
4447           case `"$tmp_nm" -p /dev/null 2>&1 | sed '1q'` in
4448           */dev/null*)
4449             lt_cv_path_NM="$tmp_nm -p"
4450             break
4451             ;;
4452           *)
4453             lt_cv_path_NM=${lt_cv_path_NM="$tmp_nm"} # keep the first match, but
4454             continue # so that we can try to find one that supports BSD flags
4455             ;;
4456           esac
4457           ;;
4458         esac
4459       fi
4460     done
4461     IFS="$lt_save_ifs"
4462   done
4463   : ${lt_cv_path_NM=no}
4464 fi
4465 fi
4466 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_path_NM" >&5
4467 $as_echo "$lt_cv_path_NM" >&6; }
4468 if test "$lt_cv_path_NM" != "no"; then
4469   NM="$lt_cv_path_NM"
4470 else
4471   # Didn't find any BSD compatible name lister, look for dumpbin.
4472   if test -n "$DUMPBIN"; then :
4473     # Let the user override the test.
4474   else
4475     if test -n "$ac_tool_prefix"; then
4476   for ac_prog in dumpbin "link -dump"
4477   do
4478     # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
4479 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
4480 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4481 $as_echo_n "checking for $ac_word... " >&6; }
4482 if ${ac_cv_prog_DUMPBIN+:} false; then :
4483   $as_echo_n "(cached) " >&6
4484 else
4485   if test -n "$DUMPBIN"; then
4486   ac_cv_prog_DUMPBIN="$DUMPBIN" # Let the user override the test.
4487 else
4488 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4489 for as_dir in $PATH
4490 do
4491   IFS=$as_save_IFS
4492   test -z "$as_dir" && as_dir=.
4493     for ac_exec_ext in '' $ac_executable_extensions; do
4494   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4495     ac_cv_prog_DUMPBIN="$ac_tool_prefix$ac_prog"
4496     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4497     break 2
4498   fi
4499 done
4500   done
4501 IFS=$as_save_IFS
4502
4503 fi
4504 fi
4505 DUMPBIN=$ac_cv_prog_DUMPBIN
4506 if test -n "$DUMPBIN"; then
4507   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DUMPBIN" >&5
4508 $as_echo "$DUMPBIN" >&6; }
4509 else
4510   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4511 $as_echo "no" >&6; }
4512 fi
4513
4514
4515     test -n "$DUMPBIN" && break
4516   done
4517 fi
4518 if test -z "$DUMPBIN"; then
4519   ac_ct_DUMPBIN=$DUMPBIN
4520   for ac_prog in dumpbin "link -dump"
4521 do
4522   # Extract the first word of "$ac_prog", so it can be a program name with args.
4523 set dummy $ac_prog; ac_word=$2
4524 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4525 $as_echo_n "checking for $ac_word... " >&6; }
4526 if ${ac_cv_prog_ac_ct_DUMPBIN+:} false; then :
4527   $as_echo_n "(cached) " >&6
4528 else
4529   if test -n "$ac_ct_DUMPBIN"; then
4530   ac_cv_prog_ac_ct_DUMPBIN="$ac_ct_DUMPBIN" # Let the user override the test.
4531 else
4532 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4533 for as_dir in $PATH
4534 do
4535   IFS=$as_save_IFS
4536   test -z "$as_dir" && as_dir=.
4537     for ac_exec_ext in '' $ac_executable_extensions; do
4538   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4539     ac_cv_prog_ac_ct_DUMPBIN="$ac_prog"
4540     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4541     break 2
4542   fi
4543 done
4544   done
4545 IFS=$as_save_IFS
4546
4547 fi
4548 fi
4549 ac_ct_DUMPBIN=$ac_cv_prog_ac_ct_DUMPBIN
4550 if test -n "$ac_ct_DUMPBIN"; then
4551   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DUMPBIN" >&5
4552 $as_echo "$ac_ct_DUMPBIN" >&6; }
4553 else
4554   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4555 $as_echo "no" >&6; }
4556 fi
4557
4558
4559   test -n "$ac_ct_DUMPBIN" && break
4560 done
4561
4562   if test "x$ac_ct_DUMPBIN" = x; then
4563     DUMPBIN=":"
4564   else
4565     case $cross_compiling:$ac_tool_warned in
4566 yes:)
4567 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4568 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4569 ac_tool_warned=yes ;;
4570 esac
4571     DUMPBIN=$ac_ct_DUMPBIN
4572   fi
4573 fi
4574
4575     case `$DUMPBIN -symbols /dev/null 2>&1 | sed '1q'` in
4576     *COFF*)
4577       DUMPBIN="$DUMPBIN -symbols"
4578       ;;
4579     *)
4580       DUMPBIN=:
4581       ;;
4582     esac
4583   fi
4584
4585   if test "$DUMPBIN" != ":"; then
4586     NM="$DUMPBIN"
4587   fi
4588 fi
4589 test -z "$NM" && NM=nm
4590
4591
4592
4593
4594
4595
4596 { $as_echo "$as_me:${as_lineno-$LINENO}: checking the name lister ($NM) interface" >&5
4597 $as_echo_n "checking the name lister ($NM) interface... " >&6; }
4598 if ${lt_cv_nm_interface+:} false; then :
4599   $as_echo_n "(cached) " >&6
4600 else
4601   lt_cv_nm_interface="BSD nm"
4602   echo "int some_variable = 0;" > conftest.$ac_ext
4603   (eval echo "\"\$as_me:$LINENO: $ac_compile\"" >&5)
4604   (eval "$ac_compile" 2>conftest.err)
4605   cat conftest.err >&5
4606   (eval echo "\"\$as_me:$LINENO: $NM \\\"conftest.$ac_objext\\\"\"" >&5)
4607   (eval "$NM \"conftest.$ac_objext\"" 2>conftest.err > conftest.out)
4608   cat conftest.err >&5
4609   (eval echo "\"\$as_me:$LINENO: output\"" >&5)
4610   cat conftest.out >&5
4611   if $GREP 'External.*some_variable' conftest.out > /dev/null; then
4612     lt_cv_nm_interface="MS dumpbin"
4613   fi
4614   rm -f conftest*
4615 fi
4616 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_nm_interface" >&5
4617 $as_echo "$lt_cv_nm_interface" >&6; }
4618
4619 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ln -s works" >&5
4620 $as_echo_n "checking whether ln -s works... " >&6; }
4621 LN_S=$as_ln_s
4622 if test "$LN_S" = "ln -s"; then
4623   { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
4624 $as_echo "yes" >&6; }
4625 else
4626   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no, using $LN_S" >&5
4627 $as_echo "no, using $LN_S" >&6; }
4628 fi
4629
4630 # find the maximum length of command line arguments
4631 { $as_echo "$as_me:${as_lineno-$LINENO}: checking the maximum length of command line arguments" >&5
4632 $as_echo_n "checking the maximum length of command line arguments... " >&6; }
4633 if ${lt_cv_sys_max_cmd_len+:} false; then :
4634   $as_echo_n "(cached) " >&6
4635 else
4636     i=0
4637   teststring="ABCD"
4638
4639   case $build_os in
4640   msdosdjgpp*)
4641     # On DJGPP, this test can blow up pretty badly due to problems in libc
4642     # (any single argument exceeding 2000 bytes causes a buffer overrun
4643     # during glob expansion).  Even if it were fixed, the result of this
4644     # check would be larger than it should be.
4645     lt_cv_sys_max_cmd_len=12288;    # 12K is about right
4646     ;;
4647
4648   gnu*)
4649     # Under GNU Hurd, this test is not required because there is
4650     # no limit to the length of command line arguments.
4651     # Libtool will interpret -1 as no limit whatsoever
4652     lt_cv_sys_max_cmd_len=-1;
4653     ;;
4654
4655   cygwin* | mingw* | cegcc*)
4656     # On Win9x/ME, this test blows up -- it succeeds, but takes
4657     # about 5 minutes as the teststring grows exponentially.
4658     # Worse, since 9x/ME are not pre-emptively multitasking,
4659     # you end up with a "frozen" computer, even though with patience
4660     # the test eventually succeeds (with a max line length of 256k).
4661     # Instead, let's just punt: use the minimum linelength reported by
4662     # all of the supported platforms: 8192 (on NT/2K/XP).
4663     lt_cv_sys_max_cmd_len=8192;
4664     ;;
4665
4666   mint*)
4667     # On MiNT this can take a long time and run out of memory.
4668     lt_cv_sys_max_cmd_len=8192;
4669     ;;
4670
4671   amigaos*)
4672     # On AmigaOS with pdksh, this test takes hours, literally.
4673     # So we just punt and use a minimum line length of 8192.
4674     lt_cv_sys_max_cmd_len=8192;
4675     ;;
4676
4677   netbsd* | freebsd* | openbsd* | darwin* | dragonfly*)
4678     # This has been around since 386BSD, at least.  Likely further.
4679     if test -x /sbin/sysctl; then
4680       lt_cv_sys_max_cmd_len=`/sbin/sysctl -n kern.argmax`
4681     elif test -x /usr/sbin/sysctl; then
4682       lt_cv_sys_max_cmd_len=`/usr/sbin/sysctl -n kern.argmax`
4683     else
4684       lt_cv_sys_max_cmd_len=65536       # usable default for all BSDs
4685     fi
4686     # And add a safety zone
4687     lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4`
4688     lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3`
4689     ;;
4690
4691   interix*)
4692     # We know the value 262144 and hardcode it with a safety zone (like BSD)
4693     lt_cv_sys_max_cmd_len=196608
4694     ;;
4695
4696   os2*)
4697     # The test takes a long time on OS/2.
4698     lt_cv_sys_max_cmd_len=8192
4699     ;;
4700
4701   osf*)
4702     # Dr. Hans Ekkehard Plesser reports seeing a kernel panic running configure
4703     # due to this test when exec_disable_arg_limit is 1 on Tru64. It is not
4704     # nice to cause kernel panics so lets avoid the loop below.
4705     # First set a reasonable default.
4706     lt_cv_sys_max_cmd_len=16384
4707     #
4708     if test -x /sbin/sysconfig; then
4709       case `/sbin/sysconfig -q proc exec_disable_arg_limit` in
4710         *1*) lt_cv_sys_max_cmd_len=-1 ;;
4711       esac
4712     fi
4713     ;;
4714   sco3.2v5*)
4715     lt_cv_sys_max_cmd_len=102400
4716     ;;
4717   sysv5* | sco5v6* | sysv4.2uw2*)
4718     kargmax=`grep ARG_MAX /etc/conf/cf.d/stune 2>/dev/null`
4719     if test -n "$kargmax"; then
4720       lt_cv_sys_max_cmd_len=`echo $kargmax | sed 's/.*[  ]//'`
4721     else
4722       lt_cv_sys_max_cmd_len=32768
4723     fi
4724     ;;
4725   *)
4726     lt_cv_sys_max_cmd_len=`(getconf ARG_MAX) 2> /dev/null`
4727     if test -n "$lt_cv_sys_max_cmd_len"; then
4728       lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4`
4729       lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3`
4730     else
4731       # Make teststring a little bigger before we do anything with it.
4732       # a 1K string should be a reasonable start.
4733       for i in 1 2 3 4 5 6 7 8 ; do
4734         teststring=$teststring$teststring
4735       done
4736       SHELL=${SHELL-${CONFIG_SHELL-/bin/sh}}
4737       # If test is not a shell built-in, we'll probably end up computing a
4738       # maximum length that is only half of the actual maximum length, but
4739       # we can't tell.
4740       while { test "X"`env echo "$teststring$teststring" 2>/dev/null` \
4741                  = "X$teststring$teststring"; } >/dev/null 2>&1 &&
4742               test $i != 17 # 1/2 MB should be enough
4743       do
4744         i=`expr $i + 1`
4745         teststring=$teststring$teststring
4746       done
4747       # Only check the string length outside the loop.
4748       lt_cv_sys_max_cmd_len=`expr "X$teststring" : ".*" 2>&1`
4749       teststring=
4750       # Add a significant safety factor because C++ compilers can tack on
4751       # massive amounts of additional arguments before passing them to the
4752       # linker.  It appears as though 1/2 is a usable value.
4753       lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 2`
4754     fi
4755     ;;
4756   esac
4757
4758 fi
4759
4760 if test -n $lt_cv_sys_max_cmd_len ; then
4761   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_sys_max_cmd_len" >&5
4762 $as_echo "$lt_cv_sys_max_cmd_len" >&6; }
4763 else
4764   { $as_echo "$as_me:${as_lineno-$LINENO}: result: none" >&5
4765 $as_echo "none" >&6; }
4766 fi
4767 max_cmd_len=$lt_cv_sys_max_cmd_len
4768
4769
4770
4771
4772
4773
4774 : ${CP="cp -f"}
4775 : ${MV="mv -f"}
4776 : ${RM="rm -f"}
4777
4778 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the shell understands some XSI constructs" >&5
4779 $as_echo_n "checking whether the shell understands some XSI constructs... " >&6; }
4780 # Try some XSI features
4781 xsi_shell=no
4782 ( _lt_dummy="a/b/c"
4783   test "${_lt_dummy##*/},${_lt_dummy%/*},${_lt_dummy#??}"${_lt_dummy%"$_lt_dummy"}, \
4784       = c,a/b,b/c, \
4785     && eval 'test $(( 1 + 1 )) -eq 2 \
4786     && test "${#_lt_dummy}" -eq 5' ) >/dev/null 2>&1 \
4787   && xsi_shell=yes
4788 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xsi_shell" >&5
4789 $as_echo "$xsi_shell" >&6; }
4790
4791
4792 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the shell understands \"+=\"" >&5
4793 $as_echo_n "checking whether the shell understands \"+=\"... " >&6; }
4794 lt_shell_append=no
4795 ( foo=bar; set foo baz; eval "$1+=\$2" && test "$foo" = barbaz ) \
4796     >/dev/null 2>&1 \
4797   && lt_shell_append=yes
4798 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_shell_append" >&5
4799 $as_echo "$lt_shell_append" >&6; }
4800
4801
4802 if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
4803   lt_unset=unset
4804 else
4805   lt_unset=false
4806 fi
4807
4808
4809
4810
4811
4812 # test EBCDIC or ASCII
4813 case `echo X|tr X '\101'` in
4814  A) # ASCII based system
4815     # \n is not interpreted correctly by Solaris 8 /usr/ucb/tr
4816   lt_SP2NL='tr \040 \012'
4817   lt_NL2SP='tr \015\012 \040\040'
4818   ;;
4819  *) # EBCDIC based system
4820   lt_SP2NL='tr \100 \n'
4821   lt_NL2SP='tr \r\n \100\100'
4822   ;;
4823 esac
4824
4825
4826
4827
4828
4829
4830
4831
4832
4833 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to convert $build file names to $host format" >&5
4834 $as_echo_n "checking how to convert $build file names to $host format... " >&6; }
4835 if ${lt_cv_to_host_file_cmd+:} false; then :
4836   $as_echo_n "(cached) " >&6
4837 else
4838   case $host in
4839   *-*-mingw* )
4840     case $build in
4841       *-*-mingw* ) # actually msys
4842         lt_cv_to_host_file_cmd=func_convert_file_msys_to_w32
4843         ;;
4844       *-*-cygwin* )
4845         lt_cv_to_host_file_cmd=func_convert_file_cygwin_to_w32
4846         ;;
4847       * ) # otherwise, assume *nix
4848         lt_cv_to_host_file_cmd=func_convert_file_nix_to_w32
4849         ;;
4850     esac
4851     ;;
4852   *-*-cygwin* )
4853     case $build in
4854       *-*-mingw* ) # actually msys
4855         lt_cv_to_host_file_cmd=func_convert_file_msys_to_cygwin
4856         ;;
4857       *-*-cygwin* )
4858         lt_cv_to_host_file_cmd=func_convert_file_noop
4859         ;;
4860       * ) # otherwise, assume *nix
4861         lt_cv_to_host_file_cmd=func_convert_file_nix_to_cygwin
4862         ;;
4863     esac
4864     ;;
4865   * ) # unhandled hosts (and "normal" native builds)
4866     lt_cv_to_host_file_cmd=func_convert_file_noop
4867     ;;
4868 esac
4869
4870 fi
4871
4872 to_host_file_cmd=$lt_cv_to_host_file_cmd
4873 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_to_host_file_cmd" >&5
4874 $as_echo "$lt_cv_to_host_file_cmd" >&6; }
4875
4876
4877
4878
4879
4880 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to convert $build file names to toolchain format" >&5
4881 $as_echo_n "checking how to convert $build file names to toolchain format... " >&6; }
4882 if ${lt_cv_to_tool_file_cmd+:} false; then :
4883   $as_echo_n "(cached) " >&6
4884 else
4885   #assume ordinary cross tools, or native build.
4886 lt_cv_to_tool_file_cmd=func_convert_file_noop
4887 case $host in
4888   *-*-mingw* )
4889     case $build in
4890       *-*-mingw* ) # actually msys
4891         lt_cv_to_tool_file_cmd=func_convert_file_msys_to_w32
4892         ;;
4893     esac
4894     ;;
4895 esac
4896
4897 fi
4898
4899 to_tool_file_cmd=$lt_cv_to_tool_file_cmd
4900 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_to_tool_file_cmd" >&5
4901 $as_echo "$lt_cv_to_tool_file_cmd" >&6; }
4902
4903
4904
4905
4906
4907 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $LD option to reload object files" >&5
4908 $as_echo_n "checking for $LD option to reload object files... " >&6; }
4909 if ${lt_cv_ld_reload_flag+:} false; then :
4910   $as_echo_n "(cached) " >&6
4911 else
4912   lt_cv_ld_reload_flag='-r'
4913 fi
4914 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_reload_flag" >&5
4915 $as_echo "$lt_cv_ld_reload_flag" >&6; }
4916 reload_flag=$lt_cv_ld_reload_flag
4917 case $reload_flag in
4918 "" | " "*) ;;
4919 *) reload_flag=" $reload_flag" ;;
4920 esac
4921 reload_cmds='$LD$reload_flag -o $output$reload_objs'
4922 case $host_os in
4923   cygwin* | mingw* | pw32* | cegcc*)
4924     if test "$GCC" != yes; then
4925       reload_cmds=false
4926     fi
4927     ;;
4928   darwin*)
4929     if test "$GCC" = yes; then
4930       reload_cmds='$LTCC $LTCFLAGS -nostdlib ${wl}-r -o $output$reload_objs'
4931     else
4932       reload_cmds='$LD$reload_flag -o $output$reload_objs'
4933     fi
4934     ;;
4935 esac
4936
4937
4938
4939
4940
4941
4942
4943
4944
4945 if test -n "$ac_tool_prefix"; then
4946   # Extract the first word of "${ac_tool_prefix}objdump", so it can be a program name with args.
4947 set dummy ${ac_tool_prefix}objdump; ac_word=$2
4948 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4949 $as_echo_n "checking for $ac_word... " >&6; }
4950 if ${ac_cv_prog_OBJDUMP+:} false; then :
4951   $as_echo_n "(cached) " >&6
4952 else
4953   if test -n "$OBJDUMP"; then
4954   ac_cv_prog_OBJDUMP="$OBJDUMP" # Let the user override the test.
4955 else
4956 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4957 for as_dir in $PATH
4958 do
4959   IFS=$as_save_IFS
4960   test -z "$as_dir" && as_dir=.
4961     for ac_exec_ext in '' $ac_executable_extensions; do
4962   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4963     ac_cv_prog_OBJDUMP="${ac_tool_prefix}objdump"
4964     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4965     break 2
4966   fi
4967 done
4968   done
4969 IFS=$as_save_IFS
4970
4971 fi
4972 fi
4973 OBJDUMP=$ac_cv_prog_OBJDUMP
4974 if test -n "$OBJDUMP"; then
4975   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OBJDUMP" >&5
4976 $as_echo "$OBJDUMP" >&6; }
4977 else
4978   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4979 $as_echo "no" >&6; }
4980 fi
4981
4982
4983 fi
4984 if test -z "$ac_cv_prog_OBJDUMP"; then
4985   ac_ct_OBJDUMP=$OBJDUMP
4986   # Extract the first word of "objdump", so it can be a program name with args.
4987 set dummy objdump; ac_word=$2
4988 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4989 $as_echo_n "checking for $ac_word... " >&6; }
4990 if ${ac_cv_prog_ac_ct_OBJDUMP+:} false; then :
4991   $as_echo_n "(cached) " >&6
4992 else
4993   if test -n "$ac_ct_OBJDUMP"; then
4994   ac_cv_prog_ac_ct_OBJDUMP="$ac_ct_OBJDUMP" # Let the user override the test.
4995 else
4996 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4997 for as_dir in $PATH
4998 do
4999   IFS=$as_save_IFS
5000   test -z "$as_dir" && as_dir=.
5001     for ac_exec_ext in '' $ac_executable_extensions; do
5002   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5003     ac_cv_prog_ac_ct_OBJDUMP="objdump"
5004     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5005     break 2
5006   fi
5007 done
5008   done
5009 IFS=$as_save_IFS
5010
5011 fi
5012 fi
5013 ac_ct_OBJDUMP=$ac_cv_prog_ac_ct_OBJDUMP
5014 if test -n "$ac_ct_OBJDUMP"; then
5015   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OBJDUMP" >&5
5016 $as_echo "$ac_ct_OBJDUMP" >&6; }
5017 else
5018   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5019 $as_echo "no" >&6; }
5020 fi
5021
5022   if test "x$ac_ct_OBJDUMP" = x; then
5023     OBJDUMP="false"
5024   else
5025     case $cross_compiling:$ac_tool_warned in
5026 yes:)
5027 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5028 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5029 ac_tool_warned=yes ;;
5030 esac
5031     OBJDUMP=$ac_ct_OBJDUMP
5032   fi
5033 else
5034   OBJDUMP="$ac_cv_prog_OBJDUMP"
5035 fi
5036
5037 test -z "$OBJDUMP" && OBJDUMP=objdump
5038
5039
5040
5041
5042
5043
5044 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to recognize dependent libraries" >&5
5045 $as_echo_n "checking how to recognize dependent libraries... " >&6; }
5046 if ${lt_cv_deplibs_check_method+:} false; then :
5047   $as_echo_n "(cached) " >&6
5048 else
5049   lt_cv_file_magic_cmd='$MAGIC_CMD'
5050 lt_cv_file_magic_test_file=
5051 lt_cv_deplibs_check_method='unknown'
5052 # Need to set the preceding variable on all platforms that support
5053 # interlibrary dependencies.
5054 # 'none' -- dependencies not supported.
5055 # `unknown' -- same as none, but documents that we really don't know.
5056 # 'pass_all' -- all dependencies passed with no checks.
5057 # 'test_compile' -- check by making test program.
5058 # 'file_magic [[regex]]' -- check by looking for files in library path
5059 # which responds to the $file_magic_cmd with a given extended regex.
5060 # If you have `file' or equivalent on your system and you're not sure
5061 # whether `pass_all' will *always* work, you probably want this one.
5062
5063 case $host_os in
5064 aix[4-9]*)
5065   lt_cv_deplibs_check_method=pass_all
5066   ;;
5067
5068 beos*)
5069   lt_cv_deplibs_check_method=pass_all
5070   ;;
5071
5072 bsdi[45]*)
5073   lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (shared object|dynamic lib)'
5074   lt_cv_file_magic_cmd='/usr/bin/file -L'
5075   lt_cv_file_magic_test_file=/shlib/libc.so
5076   ;;
5077
5078 cygwin*)
5079   # func_win32_libid is a shell function defined in ltmain.sh
5080   lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL'
5081   lt_cv_file_magic_cmd='func_win32_libid'
5082   ;;
5083
5084 mingw* | pw32*)
5085   # Base MSYS/MinGW do not provide the 'file' command needed by
5086   # func_win32_libid shell function, so use a weaker test based on 'objdump',
5087   # unless we find 'file', for example because we are cross-compiling.
5088   # func_win32_libid assumes BSD nm, so disallow it if using MS dumpbin.
5089   if ( test "$lt_cv_nm_interface" = "BSD nm" && file / ) >/dev/null 2>&1; then
5090     lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL'
5091     lt_cv_file_magic_cmd='func_win32_libid'
5092   else
5093     # Keep this pattern in sync with the one in func_win32_libid.
5094     lt_cv_deplibs_check_method='file_magic file format (pei*-i386(.*architecture: i386)?|pe-arm-wince|pe-x86-64)'
5095     lt_cv_file_magic_cmd='$OBJDUMP -f'
5096   fi
5097   ;;
5098
5099 cegcc*)
5100   # use the weaker test based on 'objdump'. See mingw*.
5101   lt_cv_deplibs_check_method='file_magic file format pe-arm-.*little(.*architecture: arm)?'
5102   lt_cv_file_magic_cmd='$OBJDUMP -f'
5103   ;;
5104
5105 darwin* | rhapsody*)
5106   lt_cv_deplibs_check_method=pass_all
5107   ;;
5108
5109 freebsd* | dragonfly*)
5110   if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then
5111     case $host_cpu in
5112     i*86 )
5113       # Not sure whether the presence of OpenBSD here was a mistake.
5114       # Let's accept both of them until this is cleared up.
5115       lt_cv_deplibs_check_method='file_magic (FreeBSD|OpenBSD|DragonFly)/i[3-9]86 (compact )?demand paged shared library'
5116       lt_cv_file_magic_cmd=/usr/bin/file
5117       lt_cv_file_magic_test_file=`echo /usr/lib/libc.so.*`
5118       ;;
5119     esac
5120   else
5121     lt_cv_deplibs_check_method=pass_all
5122   fi
5123   ;;
5124
5125 gnu*)
5126   lt_cv_deplibs_check_method=pass_all
5127   ;;
5128
5129 haiku*)
5130   lt_cv_deplibs_check_method=pass_all
5131   ;;
5132
5133 hpux10.20* | hpux11*)
5134   lt_cv_file_magic_cmd=/usr/bin/file
5135   case $host_cpu in
5136   ia64*)
5137     lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|ELF-[0-9][0-9]) shared object file - IA64'
5138     lt_cv_file_magic_test_file=/usr/lib/hpux32/libc.so
5139     ;;
5140   hppa*64*)
5141     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]'
5142     lt_cv_file_magic_test_file=/usr/lib/pa20_64/libc.sl
5143     ;;
5144   *)
5145     lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|PA-RISC[0-9]\.[0-9]) shared library'
5146     lt_cv_file_magic_test_file=/usr/lib/libc.sl
5147     ;;
5148   esac
5149   ;;
5150
5151 interix[3-9]*)
5152   # PIC code is broken on Interix 3.x, that's why |\.a not |_pic\.a here
5153   lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|\.a)$'
5154   ;;
5155
5156 irix5* | irix6* | nonstopux*)
5157   case $LD in
5158   *-32|*"-32 ") libmagic=32-bit;;
5159   *-n32|*"-n32 ") libmagic=N32;;
5160   *-64|*"-64 ") libmagic=64-bit;;
5161   *) libmagic=never-match;;
5162   esac
5163   lt_cv_deplibs_check_method=pass_all
5164   ;;
5165
5166 # This must be glibc/ELF.
5167 linux* | k*bsd*-gnu | kopensolaris*-gnu)
5168   lt_cv_deplibs_check_method=pass_all
5169   ;;
5170
5171 netbsd*)
5172   if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then
5173     lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
5174   else
5175     lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|_pic\.a)$'
5176   fi
5177   ;;
5178
5179 newos6*)
5180   lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (executable|dynamic lib)'
5181   lt_cv_file_magic_cmd=/usr/bin/file
5182   lt_cv_file_magic_test_file=/usr/lib/libnls.so
5183   ;;
5184
5185 *nto* | *qnx*)
5186   lt_cv_deplibs_check_method=pass_all
5187   ;;
5188
5189 openbsd*)
5190   if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
5191     lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|\.so|_pic\.a)$'
5192   else
5193     lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
5194   fi
5195   ;;
5196
5197 osf3* | osf4* | osf5*)
5198   lt_cv_deplibs_check_method=pass_all
5199   ;;
5200
5201 rdos*)
5202   lt_cv_deplibs_check_method=pass_all
5203   ;;
5204
5205 solaris*)
5206   lt_cv_deplibs_check_method=pass_all
5207   ;;
5208
5209 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
5210   lt_cv_deplibs_check_method=pass_all
5211   ;;
5212
5213 sysv4 | sysv4.3*)
5214   case $host_vendor in
5215   motorola)
5216     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]'
5217     lt_cv_file_magic_test_file=`echo /usr/lib/libc.so*`
5218     ;;
5219   ncr)
5220     lt_cv_deplibs_check_method=pass_all
5221     ;;
5222   sequent)
5223     lt_cv_file_magic_cmd='/bin/file'
5224     lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [LM]SB (shared object|dynamic lib )'
5225     ;;
5226   sni)
5227     lt_cv_file_magic_cmd='/bin/file'
5228     lt_cv_deplibs_check_method="file_magic ELF [0-9][0-9]*-bit [LM]SB dynamic lib"
5229     lt_cv_file_magic_test_file=/lib/libc.so
5230     ;;
5231   siemens)
5232     lt_cv_deplibs_check_method=pass_all
5233     ;;
5234   pc)
5235     lt_cv_deplibs_check_method=pass_all
5236     ;;
5237   esac
5238   ;;
5239
5240 tpf*)
5241   lt_cv_deplibs_check_method=pass_all
5242   ;;
5243 esac
5244
5245 fi
5246 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_deplibs_check_method" >&5
5247 $as_echo "$lt_cv_deplibs_check_method" >&6; }
5248
5249 file_magic_glob=
5250 want_nocaseglob=no
5251 if test "$build" = "$host"; then
5252   case $host_os in
5253   mingw* | pw32*)
5254     if ( shopt | grep nocaseglob ) >/dev/null 2>&1; then
5255       want_nocaseglob=yes
5256     else
5257       file_magic_glob=`echo aAbBcCdDeEfFgGhHiIjJkKlLmMnNoOpPqQrRsStTuUvVwWxXyYzZ | $SED -e "s/\(..\)/s\/[\1]\/[\1]\/g;/g"`
5258     fi
5259     ;;
5260   esac
5261 fi
5262
5263 file_magic_cmd=$lt_cv_file_magic_cmd
5264 deplibs_check_method=$lt_cv_deplibs_check_method
5265 test -z "$deplibs_check_method" && deplibs_check_method=unknown
5266
5267
5268
5269
5270
5271
5272
5273
5274
5275
5276
5277
5278
5279
5280
5281
5282
5283
5284
5285
5286
5287
5288 if test -n "$ac_tool_prefix"; then
5289   # Extract the first word of "${ac_tool_prefix}dlltool", so it can be a program name with args.
5290 set dummy ${ac_tool_prefix}dlltool; ac_word=$2
5291 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5292 $as_echo_n "checking for $ac_word... " >&6; }
5293 if ${ac_cv_prog_DLLTOOL+:} false; then :
5294   $as_echo_n "(cached) " >&6
5295 else
5296   if test -n "$DLLTOOL"; then
5297   ac_cv_prog_DLLTOOL="$DLLTOOL" # Let the user override the test.
5298 else
5299 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5300 for as_dir in $PATH
5301 do
5302   IFS=$as_save_IFS
5303   test -z "$as_dir" && as_dir=.
5304     for ac_exec_ext in '' $ac_executable_extensions; do
5305   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5306     ac_cv_prog_DLLTOOL="${ac_tool_prefix}dlltool"
5307     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5308     break 2
5309   fi
5310 done
5311   done
5312 IFS=$as_save_IFS
5313
5314 fi
5315 fi
5316 DLLTOOL=$ac_cv_prog_DLLTOOL
5317 if test -n "$DLLTOOL"; then
5318   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DLLTOOL" >&5
5319 $as_echo "$DLLTOOL" >&6; }
5320 else
5321   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5322 $as_echo "no" >&6; }
5323 fi
5324
5325
5326 fi
5327 if test -z "$ac_cv_prog_DLLTOOL"; then
5328   ac_ct_DLLTOOL=$DLLTOOL
5329   # Extract the first word of "dlltool", so it can be a program name with args.
5330 set dummy dlltool; ac_word=$2
5331 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5332 $as_echo_n "checking for $ac_word... " >&6; }
5333 if ${ac_cv_prog_ac_ct_DLLTOOL+:} false; then :
5334   $as_echo_n "(cached) " >&6
5335 else
5336   if test -n "$ac_ct_DLLTOOL"; then
5337   ac_cv_prog_ac_ct_DLLTOOL="$ac_ct_DLLTOOL" # Let the user override the test.
5338 else
5339 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5340 for as_dir in $PATH
5341 do
5342   IFS=$as_save_IFS
5343   test -z "$as_dir" && as_dir=.
5344     for ac_exec_ext in '' $ac_executable_extensions; do
5345   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5346     ac_cv_prog_ac_ct_DLLTOOL="dlltool"
5347     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5348     break 2
5349   fi
5350 done
5351   done
5352 IFS=$as_save_IFS
5353
5354 fi
5355 fi
5356 ac_ct_DLLTOOL=$ac_cv_prog_ac_ct_DLLTOOL
5357 if test -n "$ac_ct_DLLTOOL"; then
5358   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DLLTOOL" >&5
5359 $as_echo "$ac_ct_DLLTOOL" >&6; }
5360 else
5361   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5362 $as_echo "no" >&6; }
5363 fi
5364
5365   if test "x$ac_ct_DLLTOOL" = x; then
5366     DLLTOOL="false"
5367   else
5368     case $cross_compiling:$ac_tool_warned in
5369 yes:)
5370 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5371 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5372 ac_tool_warned=yes ;;
5373 esac
5374     DLLTOOL=$ac_ct_DLLTOOL
5375   fi
5376 else
5377   DLLTOOL="$ac_cv_prog_DLLTOOL"
5378 fi
5379
5380 test -z "$DLLTOOL" && DLLTOOL=dlltool
5381
5382
5383
5384
5385
5386
5387
5388 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to associate runtime and link libraries" >&5
5389 $as_echo_n "checking how to associate runtime and link libraries... " >&6; }
5390 if ${lt_cv_sharedlib_from_linklib_cmd+:} false; then :
5391   $as_echo_n "(cached) " >&6
5392 else
5393   lt_cv_sharedlib_from_linklib_cmd='unknown'
5394
5395 case $host_os in
5396 cygwin* | mingw* | pw32* | cegcc*)
5397   # two different shell functions defined in ltmain.sh
5398   # decide which to use based on capabilities of $DLLTOOL
5399   case `$DLLTOOL --help 2>&1` in
5400   *--identify-strict*)
5401     lt_cv_sharedlib_from_linklib_cmd=func_cygming_dll_for_implib
5402     ;;
5403   *)
5404     lt_cv_sharedlib_from_linklib_cmd=func_cygming_dll_for_implib_fallback
5405     ;;
5406   esac
5407   ;;
5408 *)
5409   # fallback: assume linklib IS sharedlib
5410   lt_cv_sharedlib_from_linklib_cmd="$ECHO"
5411   ;;
5412 esac
5413
5414 fi
5415 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_sharedlib_from_linklib_cmd" >&5
5416 $as_echo "$lt_cv_sharedlib_from_linklib_cmd" >&6; }
5417 sharedlib_from_linklib_cmd=$lt_cv_sharedlib_from_linklib_cmd
5418 test -z "$sharedlib_from_linklib_cmd" && sharedlib_from_linklib_cmd=$ECHO
5419
5420
5421
5422
5423
5424
5425
5426
5427 if test -n "$ac_tool_prefix"; then
5428   for ac_prog in ar
5429   do
5430     # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
5431 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
5432 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5433 $as_echo_n "checking for $ac_word... " >&6; }
5434 if ${ac_cv_prog_AR+:} false; then :
5435   $as_echo_n "(cached) " >&6
5436 else
5437   if test -n "$AR"; then
5438   ac_cv_prog_AR="$AR" # Let the user override the test.
5439 else
5440 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5441 for as_dir in $PATH
5442 do
5443   IFS=$as_save_IFS
5444   test -z "$as_dir" && as_dir=.
5445     for ac_exec_ext in '' $ac_executable_extensions; do
5446   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5447     ac_cv_prog_AR="$ac_tool_prefix$ac_prog"
5448     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5449     break 2
5450   fi
5451 done
5452   done
5453 IFS=$as_save_IFS
5454
5455 fi
5456 fi
5457 AR=$ac_cv_prog_AR
5458 if test -n "$AR"; then
5459   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AR" >&5
5460 $as_echo "$AR" >&6; }
5461 else
5462   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5463 $as_echo "no" >&6; }
5464 fi
5465
5466
5467     test -n "$AR" && break
5468   done
5469 fi
5470 if test -z "$AR"; then
5471   ac_ct_AR=$AR
5472   for ac_prog in ar
5473 do
5474   # Extract the first word of "$ac_prog", so it can be a program name with args.
5475 set dummy $ac_prog; ac_word=$2
5476 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5477 $as_echo_n "checking for $ac_word... " >&6; }
5478 if ${ac_cv_prog_ac_ct_AR+:} false; then :
5479   $as_echo_n "(cached) " >&6
5480 else
5481   if test -n "$ac_ct_AR"; then
5482   ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test.
5483 else
5484 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5485 for as_dir in $PATH
5486 do
5487   IFS=$as_save_IFS
5488   test -z "$as_dir" && as_dir=.
5489     for ac_exec_ext in '' $ac_executable_extensions; do
5490   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5491     ac_cv_prog_ac_ct_AR="$ac_prog"
5492     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5493     break 2
5494   fi
5495 done
5496   done
5497 IFS=$as_save_IFS
5498
5499 fi
5500 fi
5501 ac_ct_AR=$ac_cv_prog_ac_ct_AR
5502 if test -n "$ac_ct_AR"; then
5503   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_AR" >&5
5504 $as_echo "$ac_ct_AR" >&6; }
5505 else
5506   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5507 $as_echo "no" >&6; }
5508 fi
5509
5510
5511   test -n "$ac_ct_AR" && break
5512 done
5513
5514   if test "x$ac_ct_AR" = x; then
5515     AR="false"
5516   else
5517     case $cross_compiling:$ac_tool_warned in
5518 yes:)
5519 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5520 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5521 ac_tool_warned=yes ;;
5522 esac
5523     AR=$ac_ct_AR
5524   fi
5525 fi
5526
5527 : ${AR=ar}
5528 : ${AR_FLAGS=cru}
5529
5530
5531
5532
5533
5534
5535
5536
5537
5538
5539
5540 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for archiver @FILE support" >&5
5541 $as_echo_n "checking for archiver @FILE support... " >&6; }
5542 if ${lt_cv_ar_at_file+:} false; then :
5543   $as_echo_n "(cached) " >&6
5544 else
5545   lt_cv_ar_at_file=no
5546    cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5547 /* end confdefs.h.  */
5548
5549 int
5550 main ()
5551 {
5552
5553   ;
5554   return 0;
5555 }
5556 _ACEOF
5557 if ac_fn_c_try_compile "$LINENO"; then :
5558   echo conftest.$ac_objext > conftest.lst
5559       lt_ar_try='$AR $AR_FLAGS libconftest.a @conftest.lst >&5'
5560       { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$lt_ar_try\""; } >&5
5561   (eval $lt_ar_try) 2>&5
5562   ac_status=$?
5563   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
5564   test $ac_status = 0; }
5565       if test "$ac_status" -eq 0; then
5566         # Ensure the archiver fails upon bogus file names.
5567         rm -f conftest.$ac_objext libconftest.a
5568         { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$lt_ar_try\""; } >&5
5569   (eval $lt_ar_try) 2>&5
5570   ac_status=$?
5571   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
5572   test $ac_status = 0; }
5573         if test "$ac_status" -ne 0; then
5574           lt_cv_ar_at_file=@
5575         fi
5576       fi
5577       rm -f conftest.* libconftest.a
5578
5579 fi
5580 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5581
5582 fi
5583 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ar_at_file" >&5
5584 $as_echo "$lt_cv_ar_at_file" >&6; }
5585
5586 if test "x$lt_cv_ar_at_file" = xno; then
5587   archiver_list_spec=
5588 else
5589   archiver_list_spec=$lt_cv_ar_at_file
5590 fi
5591
5592
5593
5594
5595
5596
5597
5598 if test -n "$ac_tool_prefix"; then
5599   # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
5600 set dummy ${ac_tool_prefix}strip; ac_word=$2
5601 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5602 $as_echo_n "checking for $ac_word... " >&6; }
5603 if ${ac_cv_prog_STRIP+:} false; then :
5604   $as_echo_n "(cached) " >&6
5605 else
5606   if test -n "$STRIP"; then
5607   ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
5608 else
5609 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5610 for as_dir in $PATH
5611 do
5612   IFS=$as_save_IFS
5613   test -z "$as_dir" && as_dir=.
5614     for ac_exec_ext in '' $ac_executable_extensions; do
5615   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5616     ac_cv_prog_STRIP="${ac_tool_prefix}strip"
5617     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5618     break 2
5619   fi
5620 done
5621   done
5622 IFS=$as_save_IFS
5623
5624 fi
5625 fi
5626 STRIP=$ac_cv_prog_STRIP
5627 if test -n "$STRIP"; then
5628   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
5629 $as_echo "$STRIP" >&6; }
5630 else
5631   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5632 $as_echo "no" >&6; }
5633 fi
5634
5635
5636 fi
5637 if test -z "$ac_cv_prog_STRIP"; then
5638   ac_ct_STRIP=$STRIP
5639   # Extract the first word of "strip", so it can be a program name with args.
5640 set dummy strip; ac_word=$2
5641 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5642 $as_echo_n "checking for $ac_word... " >&6; }
5643 if ${ac_cv_prog_ac_ct_STRIP+:} false; then :
5644   $as_echo_n "(cached) " >&6
5645 else
5646   if test -n "$ac_ct_STRIP"; then
5647   ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
5648 else
5649 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5650 for as_dir in $PATH
5651 do
5652   IFS=$as_save_IFS
5653   test -z "$as_dir" && as_dir=.
5654     for ac_exec_ext in '' $ac_executable_extensions; do
5655   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5656     ac_cv_prog_ac_ct_STRIP="strip"
5657     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5658     break 2
5659   fi
5660 done
5661   done
5662 IFS=$as_save_IFS
5663
5664 fi
5665 fi
5666 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
5667 if test -n "$ac_ct_STRIP"; then
5668   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
5669 $as_echo "$ac_ct_STRIP" >&6; }
5670 else
5671   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5672 $as_echo "no" >&6; }
5673 fi
5674
5675   if test "x$ac_ct_STRIP" = x; then
5676     STRIP=":"
5677   else
5678     case $cross_compiling:$ac_tool_warned in
5679 yes:)
5680 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5681 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5682 ac_tool_warned=yes ;;
5683 esac
5684     STRIP=$ac_ct_STRIP
5685   fi
5686 else
5687   STRIP="$ac_cv_prog_STRIP"
5688 fi
5689
5690 test -z "$STRIP" && STRIP=:
5691
5692
5693
5694
5695
5696
5697 if test -n "$ac_tool_prefix"; then
5698   # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
5699 set dummy ${ac_tool_prefix}ranlib; ac_word=$2
5700 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5701 $as_echo_n "checking for $ac_word... " >&6; }
5702 if ${ac_cv_prog_RANLIB+:} false; then :
5703   $as_echo_n "(cached) " >&6
5704 else
5705   if test -n "$RANLIB"; then
5706   ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
5707 else
5708 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5709 for as_dir in $PATH
5710 do
5711   IFS=$as_save_IFS
5712   test -z "$as_dir" && as_dir=.
5713     for ac_exec_ext in '' $ac_executable_extensions; do
5714   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5715     ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
5716     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5717     break 2
5718   fi
5719 done
5720   done
5721 IFS=$as_save_IFS
5722
5723 fi
5724 fi
5725 RANLIB=$ac_cv_prog_RANLIB
5726 if test -n "$RANLIB"; then
5727   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $RANLIB" >&5
5728 $as_echo "$RANLIB" >&6; }
5729 else
5730   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5731 $as_echo "no" >&6; }
5732 fi
5733
5734
5735 fi
5736 if test -z "$ac_cv_prog_RANLIB"; then
5737   ac_ct_RANLIB=$RANLIB
5738   # Extract the first word of "ranlib", so it can be a program name with args.
5739 set dummy ranlib; ac_word=$2
5740 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5741 $as_echo_n "checking for $ac_word... " >&6; }
5742 if ${ac_cv_prog_ac_ct_RANLIB+:} false; then :
5743   $as_echo_n "(cached) " >&6
5744 else
5745   if test -n "$ac_ct_RANLIB"; then
5746   ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
5747 else
5748 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5749 for as_dir in $PATH
5750 do
5751   IFS=$as_save_IFS
5752   test -z "$as_dir" && as_dir=.
5753     for ac_exec_ext in '' $ac_executable_extensions; do
5754   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5755     ac_cv_prog_ac_ct_RANLIB="ranlib"
5756     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5757     break 2
5758   fi
5759 done
5760   done
5761 IFS=$as_save_IFS
5762
5763 fi
5764 fi
5765 ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
5766 if test -n "$ac_ct_RANLIB"; then
5767   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_RANLIB" >&5
5768 $as_echo "$ac_ct_RANLIB" >&6; }
5769 else
5770   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5771 $as_echo "no" >&6; }
5772 fi
5773
5774   if test "x$ac_ct_RANLIB" = x; then
5775     RANLIB=":"
5776   else
5777     case $cross_compiling:$ac_tool_warned in
5778 yes:)
5779 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5780 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5781 ac_tool_warned=yes ;;
5782 esac
5783     RANLIB=$ac_ct_RANLIB
5784   fi
5785 else
5786   RANLIB="$ac_cv_prog_RANLIB"
5787 fi
5788
5789 test -z "$RANLIB" && RANLIB=:
5790
5791
5792
5793
5794
5795
5796 # Determine commands to create old-style static archives.
5797 old_archive_cmds='$AR $AR_FLAGS $oldlib$oldobjs'
5798 old_postinstall_cmds='chmod 644 $oldlib'
5799 old_postuninstall_cmds=
5800
5801 if test -n "$RANLIB"; then
5802   case $host_os in
5803   openbsd*)
5804     old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB -t \$tool_oldlib"
5805     ;;
5806   *)
5807     old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB \$tool_oldlib"
5808     ;;
5809   esac
5810   old_archive_cmds="$old_archive_cmds~\$RANLIB \$tool_oldlib"
5811 fi
5812
5813 case $host_os in
5814   darwin*)
5815     lock_old_archive_extraction=yes ;;
5816   *)
5817     lock_old_archive_extraction=no ;;
5818 esac
5819
5820
5821
5822
5823
5824
5825
5826
5827
5828
5829
5830
5831
5832
5833
5834
5835
5836
5837
5838
5839
5840
5841
5842
5843
5844
5845
5846
5847
5848
5849
5850
5851
5852
5853
5854
5855
5856
5857
5858 # If no C compiler was specified, use CC.
5859 LTCC=${LTCC-"$CC"}
5860
5861 # If no C compiler flags were specified, use CFLAGS.
5862 LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
5863
5864 # Allow CC to be a program name with arguments.
5865 compiler=$CC
5866
5867
5868 # Check for command to grab the raw symbol name followed by C symbol from nm.
5869 { $as_echo "$as_me:${as_lineno-$LINENO}: checking command to parse $NM output from $compiler object" >&5
5870 $as_echo_n "checking command to parse $NM output from $compiler object... " >&6; }
5871 if ${lt_cv_sys_global_symbol_pipe+:} false; then :
5872   $as_echo_n "(cached) " >&6
5873 else
5874
5875 # These are sane defaults that work on at least a few old systems.
5876 # [They come from Ultrix.  What could be older than Ultrix?!! ;)]
5877
5878 # Character class describing NM global symbol codes.
5879 symcode='[BCDEGRST]'
5880
5881 # Regexp to match symbols that can be accessed directly from C.
5882 sympat='\([_A-Za-z][_A-Za-z0-9]*\)'
5883
5884 # Define system-specific variables.
5885 case $host_os in
5886 aix*)
5887   symcode='[BCDT]'
5888   ;;
5889 cygwin* | mingw* | pw32* | cegcc*)
5890   symcode='[ABCDGISTW]'
5891   ;;
5892 hpux*)
5893   if test "$host_cpu" = ia64; then
5894     symcode='[ABCDEGRST]'
5895   fi
5896   ;;
5897 irix* | nonstopux*)
5898   symcode='[BCDEGRST]'
5899   ;;
5900 osf*)
5901   symcode='[BCDEGQRST]'
5902   ;;
5903 solaris*)
5904   symcode='[BDRT]'
5905   ;;
5906 sco3.2v5*)
5907   symcode='[DT]'
5908   ;;
5909 sysv4.2uw2*)
5910   symcode='[DT]'
5911   ;;
5912 sysv5* | sco5v6* | unixware* | OpenUNIX*)
5913   symcode='[ABDT]'
5914   ;;
5915 sysv4)
5916   symcode='[DFNSTU]'
5917   ;;
5918 esac
5919
5920 # If we're using GNU nm, then use its standard symbol codes.
5921 case `$NM -V 2>&1` in
5922 *GNU* | *'with BFD'*)
5923   symcode='[ABCDGIRSTW]' ;;
5924 esac
5925
5926 # Transform an extracted symbol line into a proper C declaration.
5927 # Some systems (esp. on ia64) link data and code symbols differently,
5928 # so use this general approach.
5929 lt_cv_sys_global_symbol_to_cdecl="sed -n -e 's/^T .* \(.*\)$/extern int \1();/p' -e 's/^$symcode* .* \(.*\)$/extern char \1;/p'"
5930
5931 # Transform an extracted symbol line into symbol name and symbol address
5932 lt_cv_sys_global_symbol_to_c_name_address="sed -n -e 's/^: \([^ ]*\)[ ]*$/  {\\\"\1\\\", (void *) 0},/p' -e 's/^$symcode* \([^ ]*\) \([^ ]*\)$/  {\"\2\", (void *) \&\2},/p'"
5933 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'"
5934
5935 # Handle CRLF in mingw tool chain
5936 opt_cr=
5937 case $build_os in
5938 mingw*)
5939   opt_cr=`$ECHO 'x\{0,1\}' | tr x '\015'` # option cr in regexp
5940   ;;
5941 esac
5942
5943 # Try without a prefix underscore, then with it.
5944 for ac_symprfx in "" "_"; do
5945
5946   # Transform symcode, sympat, and symprfx into a raw symbol and a C symbol.
5947   symxfrm="\\1 $ac_symprfx\\2 \\2"
5948
5949   # Write the raw and C identifiers.
5950   if test "$lt_cv_nm_interface" = "MS dumpbin"; then
5951     # Fake it for dumpbin and say T for any non-static function
5952     # and D for any global variable.
5953     # Also find C++ and __fastcall symbols from MSVC++,
5954     # which start with @ or ?.
5955     lt_cv_sys_global_symbol_pipe="$AWK '"\
5956 "     {last_section=section; section=\$ 3};"\
5957 "     /^COFF SYMBOL TABLE/{for(i in hide) delete hide[i]};"\
5958 "     /Section length .*#relocs.*(pick any)/{hide[last_section]=1};"\
5959 "     \$ 0!~/External *\|/{next};"\
5960 "     / 0+ UNDEF /{next}; / UNDEF \([^|]\)*()/{next};"\
5961 "     {if(hide[section]) next};"\
5962 "     {f=0}; \$ 0~/\(\).*\|/{f=1}; {printf f ? \"T \" : \"D \"};"\
5963 "     {split(\$ 0, a, /\||\r/); split(a[2], s)};"\
5964 "     s[1]~/^[@?]/{print s[1], s[1]; next};"\
5965 "     s[1]~prfx {split(s[1],t,\"@\"); print t[1], substr(t[1],length(prfx))}"\
5966 "     ' prfx=^$ac_symprfx"
5967   else
5968     lt_cv_sys_global_symbol_pipe="sed -n -e 's/^.*[      ]\($symcode$symcode*\)[         ][      ]*$ac_symprfx$sympat$opt_cr$/$symxfrm/p'"
5969   fi
5970   lt_cv_sys_global_symbol_pipe="$lt_cv_sys_global_symbol_pipe | sed '/ __gnu_lto/d'"
5971
5972   # Check to see that the pipe works correctly.
5973   pipe_works=no
5974
5975   rm -f conftest*
5976   cat > conftest.$ac_ext <<_LT_EOF
5977 #ifdef __cplusplus
5978 extern "C" {
5979 #endif
5980 char nm_test_var;
5981 void nm_test_func(void);
5982 void nm_test_func(void){}
5983 #ifdef __cplusplus
5984 }
5985 #endif
5986 int main(){nm_test_var='a';nm_test_func();return(0);}
5987 _LT_EOF
5988
5989   if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
5990   (eval $ac_compile) 2>&5
5991   ac_status=$?
5992   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
5993   test $ac_status = 0; }; then
5994     # Now try to grab the symbols.
5995     nlist=conftest.nm
5996     if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$NM conftest.$ac_objext \| "$lt_cv_sys_global_symbol_pipe" \> $nlist\""; } >&5
5997   (eval $NM conftest.$ac_objext \| "$lt_cv_sys_global_symbol_pipe" \> $nlist) 2>&5
5998   ac_status=$?
5999   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6000   test $ac_status = 0; } && test -s "$nlist"; then
6001       # Try sorting and uniquifying the output.
6002       if sort "$nlist" | uniq > "$nlist"T; then
6003         mv -f "$nlist"T "$nlist"
6004       else
6005         rm -f "$nlist"T
6006       fi
6007
6008       # Make sure that we snagged all the symbols we need.
6009       if $GREP ' nm_test_var$' "$nlist" >/dev/null; then
6010         if $GREP ' nm_test_func$' "$nlist" >/dev/null; then
6011           cat <<_LT_EOF > conftest.$ac_ext
6012 /* Keep this code in sync between libtool.m4, ltmain, lt_system.h, and tests.  */
6013 #if defined(_WIN32) || defined(__CYGWIN__) || defined(_WIN32_WCE)
6014 /* DATA imports from DLLs on WIN32 con't be const, because runtime
6015    relocations are performed -- see ld's documentation on pseudo-relocs.  */
6016 # define LT_DLSYM_CONST
6017 #elif defined(__osf__)
6018 /* This system does not cope well with relocations in const data.  */
6019 # define LT_DLSYM_CONST
6020 #else
6021 # define LT_DLSYM_CONST const
6022 #endif
6023
6024 #ifdef __cplusplus
6025 extern "C" {
6026 #endif
6027
6028 _LT_EOF
6029           # Now generate the symbol file.
6030           eval "$lt_cv_sys_global_symbol_to_cdecl"' < "$nlist" | $GREP -v main >> conftest.$ac_ext'
6031
6032           cat <<_LT_EOF >> conftest.$ac_ext
6033
6034 /* The mapping between symbol names and symbols.  */
6035 LT_DLSYM_CONST struct {
6036   const char *name;
6037   void       *address;
6038 }
6039 lt__PROGRAM__LTX_preloaded_symbols[] =
6040 {
6041   { "@PROGRAM@", (void *) 0 },
6042 _LT_EOF
6043           $SED "s/^$symcode$symcode* \(.*\) \(.*\)$/  {\"\2\", (void *) \&\2},/" < "$nlist" | $GREP -v main >> conftest.$ac_ext
6044           cat <<\_LT_EOF >> conftest.$ac_ext
6045   {0, (void *) 0}
6046 };
6047
6048 /* This works around a problem in FreeBSD linker */
6049 #ifdef FREEBSD_WORKAROUND
6050 static const void *lt_preloaded_setup() {
6051   return lt__PROGRAM__LTX_preloaded_symbols;
6052 }
6053 #endif
6054
6055 #ifdef __cplusplus
6056 }
6057 #endif
6058 _LT_EOF
6059           # Now try linking the two files.
6060           mv conftest.$ac_objext conftstm.$ac_objext
6061           lt_globsym_save_LIBS=$LIBS
6062           lt_globsym_save_CFLAGS=$CFLAGS
6063           LIBS="conftstm.$ac_objext"
6064           CFLAGS="$CFLAGS$lt_prog_compiler_no_builtin_flag"
6065           if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
6066   (eval $ac_link) 2>&5
6067   ac_status=$?
6068   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6069   test $ac_status = 0; } && test -s conftest${ac_exeext}; then
6070             pipe_works=yes
6071           fi
6072           LIBS=$lt_globsym_save_LIBS
6073           CFLAGS=$lt_globsym_save_CFLAGS
6074         else
6075           echo "cannot find nm_test_func in $nlist" >&5
6076         fi
6077       else
6078         echo "cannot find nm_test_var in $nlist" >&5
6079       fi
6080     else
6081       echo "cannot run $lt_cv_sys_global_symbol_pipe" >&5
6082     fi
6083   else
6084     echo "$progname: failed program was:" >&5
6085     cat conftest.$ac_ext >&5
6086   fi
6087   rm -rf conftest* conftst*
6088
6089   # Do not use the global_symbol_pipe unless it works.
6090   if test "$pipe_works" = yes; then
6091     break
6092   else
6093     lt_cv_sys_global_symbol_pipe=
6094   fi
6095 done
6096
6097 fi
6098
6099 if test -z "$lt_cv_sys_global_symbol_pipe"; then
6100   lt_cv_sys_global_symbol_to_cdecl=
6101 fi
6102 if test -z "$lt_cv_sys_global_symbol_pipe$lt_cv_sys_global_symbol_to_cdecl"; then
6103   { $as_echo "$as_me:${as_lineno-$LINENO}: result: failed" >&5
6104 $as_echo "failed" >&6; }
6105 else
6106   { $as_echo "$as_me:${as_lineno-$LINENO}: result: ok" >&5
6107 $as_echo "ok" >&6; }
6108 fi
6109
6110 # Response file support.
6111 if test "$lt_cv_nm_interface" = "MS dumpbin"; then
6112   nm_file_list_spec='@'
6113 elif $NM --help 2>/dev/null | grep '[@]FILE' >/dev/null; then
6114   nm_file_list_spec='@'
6115 fi
6116
6117
6118
6119
6120
6121
6122
6123
6124
6125
6126
6127
6128
6129
6130
6131
6132
6133
6134
6135
6136
6137
6138
6139
6140
6141
6142
6143 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sysroot" >&5
6144 $as_echo_n "checking for sysroot... " >&6; }
6145
6146 # Check whether --with-sysroot was given.
6147 if test "${with_sysroot+set}" = set; then :
6148   withval=$with_sysroot;
6149 else
6150   with_sysroot=no
6151 fi
6152
6153
6154 lt_sysroot=
6155 case ${with_sysroot} in #(
6156  yes)
6157    if test "$GCC" = yes; then
6158      lt_sysroot=`$CC --print-sysroot 2>/dev/null`
6159    fi
6160    ;; #(
6161  /*)
6162    lt_sysroot=`echo "$with_sysroot" | sed -e "$sed_quote_subst"`
6163    ;; #(
6164  no|'')
6165    ;; #(
6166  *)
6167    { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${with_sysroot}" >&5
6168 $as_echo "${with_sysroot}" >&6; }
6169    as_fn_error $? "The sysroot must be an absolute path." "$LINENO" 5
6170    ;;
6171 esac
6172
6173  { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${lt_sysroot:-no}" >&5
6174 $as_echo "${lt_sysroot:-no}" >&6; }
6175
6176
6177
6178
6179
6180 # Check whether --enable-libtool-lock was given.
6181 if test "${enable_libtool_lock+set}" = set; then :
6182   enableval=$enable_libtool_lock;
6183 fi
6184
6185 test "x$enable_libtool_lock" != xno && enable_libtool_lock=yes
6186
6187 # Some flags need to be propagated to the compiler or linker for good
6188 # libtool support.
6189 case $host in
6190 ia64-*-hpux*)
6191   # Find out which ABI we are using.
6192   echo 'int i;' > conftest.$ac_ext
6193   if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
6194   (eval $ac_compile) 2>&5
6195   ac_status=$?
6196   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6197   test $ac_status = 0; }; then
6198     case `/usr/bin/file conftest.$ac_objext` in
6199       *ELF-32*)
6200         HPUX_IA64_MODE="32"
6201         ;;
6202       *ELF-64*)
6203         HPUX_IA64_MODE="64"
6204         ;;
6205     esac
6206   fi
6207   rm -rf conftest*
6208   ;;
6209 *-*-irix6*)
6210   # Find out which ABI we are using.
6211   echo '#line '$LINENO' "configure"' > conftest.$ac_ext
6212   if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
6213   (eval $ac_compile) 2>&5
6214   ac_status=$?
6215   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6216   test $ac_status = 0; }; then
6217     if test "$lt_cv_prog_gnu_ld" = yes; then
6218       case `/usr/bin/file conftest.$ac_objext` in
6219         *32-bit*)
6220           LD="${LD-ld} -melf32bsmip"
6221           ;;
6222         *N32*)
6223           LD="${LD-ld} -melf32bmipn32"
6224           ;;
6225         *64-bit*)
6226           LD="${LD-ld} -melf64bmip"
6227         ;;
6228       esac
6229     else
6230       case `/usr/bin/file conftest.$ac_objext` in
6231         *32-bit*)
6232           LD="${LD-ld} -32"
6233           ;;
6234         *N32*)
6235           LD="${LD-ld} -n32"
6236           ;;
6237         *64-bit*)
6238           LD="${LD-ld} -64"
6239           ;;
6240       esac
6241     fi
6242   fi
6243   rm -rf conftest*
6244   ;;
6245
6246 x86_64-*kfreebsd*-gnu|x86_64-*linux*|powerpc*-*linux*| \
6247 s390*-*linux*|s390*-*tpf*|sparc*-*linux*)
6248   # Find out which ABI we are using.
6249   echo 'int i;' > conftest.$ac_ext
6250   if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
6251   (eval $ac_compile) 2>&5
6252   ac_status=$?
6253   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6254   test $ac_status = 0; }; then
6255     case `/usr/bin/file conftest.o` in
6256       *32-bit*)
6257         case $host in
6258           x86_64-*kfreebsd*-gnu)
6259             LD="${LD-ld} -m elf_i386_fbsd"
6260             ;;
6261           x86_64-*linux*)
6262             LD="${LD-ld} -m elf_i386"
6263             ;;
6264           powerpc64le-*linux*)
6265             LD="${LD-ld} -m elf32lppclinux"
6266             ;;
6267           powerpc64-*linux*)
6268             LD="${LD-ld} -m elf32ppclinux"
6269             ;;
6270           s390x-*linux*)
6271             LD="${LD-ld} -m elf_s390"
6272             ;;
6273           sparc64-*linux*)
6274             LD="${LD-ld} -m elf32_sparc"
6275             ;;
6276         esac
6277         ;;
6278       *64-bit*)
6279         case $host in
6280           x86_64-*kfreebsd*-gnu)
6281             LD="${LD-ld} -m elf_x86_64_fbsd"
6282             ;;
6283           x86_64-*linux*)
6284             LD="${LD-ld} -m elf_x86_64"
6285             ;;
6286           powerpcle-*linux*)
6287             LD="${LD-ld} -m elf64lppc"
6288             ;;
6289           powerpc-*linux*)
6290             LD="${LD-ld} -m elf64ppc"
6291             ;;
6292           s390*-*linux*|s390*-*tpf*)
6293             LD="${LD-ld} -m elf64_s390"
6294             ;;
6295           sparc*-*linux*)
6296             LD="${LD-ld} -m elf64_sparc"
6297             ;;
6298         esac
6299         ;;
6300     esac
6301   fi
6302   rm -rf conftest*
6303   ;;
6304
6305 *-*-sco3.2v5*)
6306   # On SCO OpenServer 5, we need -belf to get full-featured binaries.
6307   SAVE_CFLAGS="$CFLAGS"
6308   CFLAGS="$CFLAGS -belf"
6309   { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler needs -belf" >&5
6310 $as_echo_n "checking whether the C compiler needs -belf... " >&6; }
6311 if ${lt_cv_cc_needs_belf+:} false; then :
6312   $as_echo_n "(cached) " >&6
6313 else
6314   ac_ext=c
6315 ac_cpp='$CPP $CPPFLAGS'
6316 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
6317 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
6318 ac_compiler_gnu=$ac_cv_c_compiler_gnu
6319
6320      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6321 /* end confdefs.h.  */
6322
6323 int
6324 main ()
6325 {
6326
6327   ;
6328   return 0;
6329 }
6330 _ACEOF
6331 if ac_fn_c_try_link "$LINENO"; then :
6332   lt_cv_cc_needs_belf=yes
6333 else
6334   lt_cv_cc_needs_belf=no
6335 fi
6336 rm -f core conftest.err conftest.$ac_objext \
6337     conftest$ac_exeext conftest.$ac_ext
6338      ac_ext=c
6339 ac_cpp='$CPP $CPPFLAGS'
6340 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
6341 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
6342 ac_compiler_gnu=$ac_cv_c_compiler_gnu
6343
6344 fi
6345 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_cc_needs_belf" >&5
6346 $as_echo "$lt_cv_cc_needs_belf" >&6; }
6347   if test x"$lt_cv_cc_needs_belf" != x"yes"; then
6348     # this is probably gcc 2.8.0, egcs 1.0 or newer; no need for -belf
6349     CFLAGS="$SAVE_CFLAGS"
6350   fi
6351   ;;
6352 *-*solaris*)
6353   # Find out which ABI we are using.
6354   echo 'int i;' > conftest.$ac_ext
6355   if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
6356   (eval $ac_compile) 2>&5
6357   ac_status=$?
6358   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6359   test $ac_status = 0; }; then
6360     case `/usr/bin/file conftest.o` in
6361     *64-bit*)
6362       case $lt_cv_prog_gnu_ld in
6363       yes*)
6364         case $host in
6365         i?86-*-solaris*)
6366           LD="${LD-ld} -m elf_x86_64"
6367           ;;
6368         sparc*-*-solaris*)
6369           LD="${LD-ld} -m elf64_sparc"
6370           ;;
6371         esac
6372         # GNU ld 2.21 introduced _sol2 emulations.  Use them if available.
6373         if ${LD-ld} -V | grep _sol2 >/dev/null 2>&1; then
6374           LD="${LD-ld}_sol2"
6375         fi
6376         ;;
6377       *)
6378         if ${LD-ld} -64 -r -o conftest2.o conftest.o >/dev/null 2>&1; then
6379           LD="${LD-ld} -64"
6380         fi
6381         ;;
6382       esac
6383       ;;
6384     esac
6385   fi
6386   rm -rf conftest*
6387   ;;
6388 esac
6389
6390 need_locks="$enable_libtool_lock"
6391
6392 if test -n "$ac_tool_prefix"; then
6393   # Extract the first word of "${ac_tool_prefix}mt", so it can be a program name with args.
6394 set dummy ${ac_tool_prefix}mt; ac_word=$2
6395 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6396 $as_echo_n "checking for $ac_word... " >&6; }
6397 if ${ac_cv_prog_MANIFEST_TOOL+:} false; then :
6398   $as_echo_n "(cached) " >&6
6399 else
6400   if test -n "$MANIFEST_TOOL"; then
6401   ac_cv_prog_MANIFEST_TOOL="$MANIFEST_TOOL" # Let the user override the test.
6402 else
6403 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6404 for as_dir in $PATH
6405 do
6406   IFS=$as_save_IFS
6407   test -z "$as_dir" && as_dir=.
6408     for ac_exec_ext in '' $ac_executable_extensions; do
6409   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6410     ac_cv_prog_MANIFEST_TOOL="${ac_tool_prefix}mt"
6411     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6412     break 2
6413   fi
6414 done
6415   done
6416 IFS=$as_save_IFS
6417
6418 fi
6419 fi
6420 MANIFEST_TOOL=$ac_cv_prog_MANIFEST_TOOL
6421 if test -n "$MANIFEST_TOOL"; then
6422   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MANIFEST_TOOL" >&5
6423 $as_echo "$MANIFEST_TOOL" >&6; }
6424 else
6425   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6426 $as_echo "no" >&6; }
6427 fi
6428
6429
6430 fi
6431 if test -z "$ac_cv_prog_MANIFEST_TOOL"; then
6432   ac_ct_MANIFEST_TOOL=$MANIFEST_TOOL
6433   # Extract the first word of "mt", so it can be a program name with args.
6434 set dummy mt; ac_word=$2
6435 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6436 $as_echo_n "checking for $ac_word... " >&6; }
6437 if ${ac_cv_prog_ac_ct_MANIFEST_TOOL+:} false; then :
6438   $as_echo_n "(cached) " >&6
6439 else
6440   if test -n "$ac_ct_MANIFEST_TOOL"; then
6441   ac_cv_prog_ac_ct_MANIFEST_TOOL="$ac_ct_MANIFEST_TOOL" # Let the user override the test.
6442 else
6443 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6444 for as_dir in $PATH
6445 do
6446   IFS=$as_save_IFS
6447   test -z "$as_dir" && as_dir=.
6448     for ac_exec_ext in '' $ac_executable_extensions; do
6449   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6450     ac_cv_prog_ac_ct_MANIFEST_TOOL="mt"
6451     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6452     break 2
6453   fi
6454 done
6455   done
6456 IFS=$as_save_IFS
6457
6458 fi
6459 fi
6460 ac_ct_MANIFEST_TOOL=$ac_cv_prog_ac_ct_MANIFEST_TOOL
6461 if test -n "$ac_ct_MANIFEST_TOOL"; then
6462   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_MANIFEST_TOOL" >&5
6463 $as_echo "$ac_ct_MANIFEST_TOOL" >&6; }
6464 else
6465   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6466 $as_echo "no" >&6; }
6467 fi
6468
6469   if test "x$ac_ct_MANIFEST_TOOL" = x; then
6470     MANIFEST_TOOL=":"
6471   else
6472     case $cross_compiling:$ac_tool_warned in
6473 yes:)
6474 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6475 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6476 ac_tool_warned=yes ;;
6477 esac
6478     MANIFEST_TOOL=$ac_ct_MANIFEST_TOOL
6479   fi
6480 else
6481   MANIFEST_TOOL="$ac_cv_prog_MANIFEST_TOOL"
6482 fi
6483
6484 test -z "$MANIFEST_TOOL" && MANIFEST_TOOL=mt
6485 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $MANIFEST_TOOL is a manifest tool" >&5
6486 $as_echo_n "checking if $MANIFEST_TOOL is a manifest tool... " >&6; }
6487 if ${lt_cv_path_mainfest_tool+:} false; then :
6488   $as_echo_n "(cached) " >&6
6489 else
6490   lt_cv_path_mainfest_tool=no
6491   echo "$as_me:$LINENO: $MANIFEST_TOOL '-?'" >&5
6492   $MANIFEST_TOOL '-?' 2>conftest.err > conftest.out
6493   cat conftest.err >&5
6494   if $GREP 'Manifest Tool' conftest.out > /dev/null; then
6495     lt_cv_path_mainfest_tool=yes
6496   fi
6497   rm -f conftest*
6498 fi
6499 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_path_mainfest_tool" >&5
6500 $as_echo "$lt_cv_path_mainfest_tool" >&6; }
6501 if test "x$lt_cv_path_mainfest_tool" != xyes; then
6502   MANIFEST_TOOL=:
6503 fi
6504
6505
6506
6507
6508
6509
6510   case $host_os in
6511     rhapsody* | darwin*)
6512     if test -n "$ac_tool_prefix"; then
6513   # Extract the first word of "${ac_tool_prefix}dsymutil", so it can be a program name with args.
6514 set dummy ${ac_tool_prefix}dsymutil; ac_word=$2
6515 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6516 $as_echo_n "checking for $ac_word... " >&6; }
6517 if ${ac_cv_prog_DSYMUTIL+:} false; then :
6518   $as_echo_n "(cached) " >&6
6519 else
6520   if test -n "$DSYMUTIL"; then
6521   ac_cv_prog_DSYMUTIL="$DSYMUTIL" # Let the user override the test.
6522 else
6523 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6524 for as_dir in $PATH
6525 do
6526   IFS=$as_save_IFS
6527   test -z "$as_dir" && as_dir=.
6528     for ac_exec_ext in '' $ac_executable_extensions; do
6529   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6530     ac_cv_prog_DSYMUTIL="${ac_tool_prefix}dsymutil"
6531     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6532     break 2
6533   fi
6534 done
6535   done
6536 IFS=$as_save_IFS
6537
6538 fi
6539 fi
6540 DSYMUTIL=$ac_cv_prog_DSYMUTIL
6541 if test -n "$DSYMUTIL"; then
6542   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DSYMUTIL" >&5
6543 $as_echo "$DSYMUTIL" >&6; }
6544 else
6545   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6546 $as_echo "no" >&6; }
6547 fi
6548
6549
6550 fi
6551 if test -z "$ac_cv_prog_DSYMUTIL"; then
6552   ac_ct_DSYMUTIL=$DSYMUTIL
6553   # Extract the first word of "dsymutil", so it can be a program name with args.
6554 set dummy dsymutil; ac_word=$2
6555 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6556 $as_echo_n "checking for $ac_word... " >&6; }
6557 if ${ac_cv_prog_ac_ct_DSYMUTIL+:} false; then :
6558   $as_echo_n "(cached) " >&6
6559 else
6560   if test -n "$ac_ct_DSYMUTIL"; then
6561   ac_cv_prog_ac_ct_DSYMUTIL="$ac_ct_DSYMUTIL" # Let the user override the test.
6562 else
6563 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6564 for as_dir in $PATH
6565 do
6566   IFS=$as_save_IFS
6567   test -z "$as_dir" && as_dir=.
6568     for ac_exec_ext in '' $ac_executable_extensions; do
6569   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6570     ac_cv_prog_ac_ct_DSYMUTIL="dsymutil"
6571     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6572     break 2
6573   fi
6574 done
6575   done
6576 IFS=$as_save_IFS
6577
6578 fi
6579 fi
6580 ac_ct_DSYMUTIL=$ac_cv_prog_ac_ct_DSYMUTIL
6581 if test -n "$ac_ct_DSYMUTIL"; then
6582   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DSYMUTIL" >&5
6583 $as_echo "$ac_ct_DSYMUTIL" >&6; }
6584 else
6585   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6586 $as_echo "no" >&6; }
6587 fi
6588
6589   if test "x$ac_ct_DSYMUTIL" = x; then
6590     DSYMUTIL=":"
6591   else
6592     case $cross_compiling:$ac_tool_warned in
6593 yes:)
6594 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6595 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6596 ac_tool_warned=yes ;;
6597 esac
6598     DSYMUTIL=$ac_ct_DSYMUTIL
6599   fi
6600 else
6601   DSYMUTIL="$ac_cv_prog_DSYMUTIL"
6602 fi
6603
6604     if test -n "$ac_tool_prefix"; then
6605   # Extract the first word of "${ac_tool_prefix}nmedit", so it can be a program name with args.
6606 set dummy ${ac_tool_prefix}nmedit; ac_word=$2
6607 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6608 $as_echo_n "checking for $ac_word... " >&6; }
6609 if ${ac_cv_prog_NMEDIT+:} false; then :
6610   $as_echo_n "(cached) " >&6
6611 else
6612   if test -n "$NMEDIT"; then
6613   ac_cv_prog_NMEDIT="$NMEDIT" # Let the user override the test.
6614 else
6615 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6616 for as_dir in $PATH
6617 do
6618   IFS=$as_save_IFS
6619   test -z "$as_dir" && as_dir=.
6620     for ac_exec_ext in '' $ac_executable_extensions; do
6621   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6622     ac_cv_prog_NMEDIT="${ac_tool_prefix}nmedit"
6623     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6624     break 2
6625   fi
6626 done
6627   done
6628 IFS=$as_save_IFS
6629
6630 fi
6631 fi
6632 NMEDIT=$ac_cv_prog_NMEDIT
6633 if test -n "$NMEDIT"; then
6634   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $NMEDIT" >&5
6635 $as_echo "$NMEDIT" >&6; }
6636 else
6637   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6638 $as_echo "no" >&6; }
6639 fi
6640
6641
6642 fi
6643 if test -z "$ac_cv_prog_NMEDIT"; then
6644   ac_ct_NMEDIT=$NMEDIT
6645   # Extract the first word of "nmedit", so it can be a program name with args.
6646 set dummy nmedit; ac_word=$2
6647 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6648 $as_echo_n "checking for $ac_word... " >&6; }
6649 if ${ac_cv_prog_ac_ct_NMEDIT+:} false; then :
6650   $as_echo_n "(cached) " >&6
6651 else
6652   if test -n "$ac_ct_NMEDIT"; then
6653   ac_cv_prog_ac_ct_NMEDIT="$ac_ct_NMEDIT" # Let the user override the test.
6654 else
6655 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6656 for as_dir in $PATH
6657 do
6658   IFS=$as_save_IFS
6659   test -z "$as_dir" && as_dir=.
6660     for ac_exec_ext in '' $ac_executable_extensions; do
6661   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6662     ac_cv_prog_ac_ct_NMEDIT="nmedit"
6663     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6664     break 2
6665   fi
6666 done
6667   done
6668 IFS=$as_save_IFS
6669
6670 fi
6671 fi
6672 ac_ct_NMEDIT=$ac_cv_prog_ac_ct_NMEDIT
6673 if test -n "$ac_ct_NMEDIT"; then
6674   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_NMEDIT" >&5
6675 $as_echo "$ac_ct_NMEDIT" >&6; }
6676 else
6677   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6678 $as_echo "no" >&6; }
6679 fi
6680
6681   if test "x$ac_ct_NMEDIT" = x; then
6682     NMEDIT=":"
6683   else
6684     case $cross_compiling:$ac_tool_warned in
6685 yes:)
6686 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6687 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6688 ac_tool_warned=yes ;;
6689 esac
6690     NMEDIT=$ac_ct_NMEDIT
6691   fi
6692 else
6693   NMEDIT="$ac_cv_prog_NMEDIT"
6694 fi
6695
6696     if test -n "$ac_tool_prefix"; then
6697   # Extract the first word of "${ac_tool_prefix}lipo", so it can be a program name with args.
6698 set dummy ${ac_tool_prefix}lipo; ac_word=$2
6699 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6700 $as_echo_n "checking for $ac_word... " >&6; }
6701 if ${ac_cv_prog_LIPO+:} false; then :
6702   $as_echo_n "(cached) " >&6
6703 else
6704   if test -n "$LIPO"; then
6705   ac_cv_prog_LIPO="$LIPO" # Let the user override the test.
6706 else
6707 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6708 for as_dir in $PATH
6709 do
6710   IFS=$as_save_IFS
6711   test -z "$as_dir" && as_dir=.
6712     for ac_exec_ext in '' $ac_executable_extensions; do
6713   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6714     ac_cv_prog_LIPO="${ac_tool_prefix}lipo"
6715     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6716     break 2
6717   fi
6718 done
6719   done
6720 IFS=$as_save_IFS
6721
6722 fi
6723 fi
6724 LIPO=$ac_cv_prog_LIPO
6725 if test -n "$LIPO"; then
6726   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LIPO" >&5
6727 $as_echo "$LIPO" >&6; }
6728 else
6729   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6730 $as_echo "no" >&6; }
6731 fi
6732
6733
6734 fi
6735 if test -z "$ac_cv_prog_LIPO"; then
6736   ac_ct_LIPO=$LIPO
6737   # Extract the first word of "lipo", so it can be a program name with args.
6738 set dummy lipo; ac_word=$2
6739 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6740 $as_echo_n "checking for $ac_word... " >&6; }
6741 if ${ac_cv_prog_ac_ct_LIPO+:} false; then :
6742   $as_echo_n "(cached) " >&6
6743 else
6744   if test -n "$ac_ct_LIPO"; then
6745   ac_cv_prog_ac_ct_LIPO="$ac_ct_LIPO" # Let the user override the test.
6746 else
6747 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6748 for as_dir in $PATH
6749 do
6750   IFS=$as_save_IFS
6751   test -z "$as_dir" && as_dir=.
6752     for ac_exec_ext in '' $ac_executable_extensions; do
6753   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6754     ac_cv_prog_ac_ct_LIPO="lipo"
6755     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6756     break 2
6757   fi
6758 done
6759   done
6760 IFS=$as_save_IFS
6761
6762 fi
6763 fi
6764 ac_ct_LIPO=$ac_cv_prog_ac_ct_LIPO
6765 if test -n "$ac_ct_LIPO"; then
6766   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_LIPO" >&5
6767 $as_echo "$ac_ct_LIPO" >&6; }
6768 else
6769   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6770 $as_echo "no" >&6; }
6771 fi
6772
6773   if test "x$ac_ct_LIPO" = x; then
6774     LIPO=":"
6775   else
6776     case $cross_compiling:$ac_tool_warned in
6777 yes:)
6778 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6779 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6780 ac_tool_warned=yes ;;
6781 esac
6782     LIPO=$ac_ct_LIPO
6783   fi
6784 else
6785   LIPO="$ac_cv_prog_LIPO"
6786 fi
6787
6788     if test -n "$ac_tool_prefix"; then
6789   # Extract the first word of "${ac_tool_prefix}otool", so it can be a program name with args.
6790 set dummy ${ac_tool_prefix}otool; ac_word=$2
6791 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6792 $as_echo_n "checking for $ac_word... " >&6; }
6793 if ${ac_cv_prog_OTOOL+:} false; then :
6794   $as_echo_n "(cached) " >&6
6795 else
6796   if test -n "$OTOOL"; then
6797   ac_cv_prog_OTOOL="$OTOOL" # Let the user override the test.
6798 else
6799 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6800 for as_dir in $PATH
6801 do
6802   IFS=$as_save_IFS
6803   test -z "$as_dir" && as_dir=.
6804     for ac_exec_ext in '' $ac_executable_extensions; do
6805   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6806     ac_cv_prog_OTOOL="${ac_tool_prefix}otool"
6807     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6808     break 2
6809   fi
6810 done
6811   done
6812 IFS=$as_save_IFS
6813
6814 fi
6815 fi
6816 OTOOL=$ac_cv_prog_OTOOL
6817 if test -n "$OTOOL"; then
6818   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OTOOL" >&5
6819 $as_echo "$OTOOL" >&6; }
6820 else
6821   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6822 $as_echo "no" >&6; }
6823 fi
6824
6825
6826 fi
6827 if test -z "$ac_cv_prog_OTOOL"; then
6828   ac_ct_OTOOL=$OTOOL
6829   # Extract the first word of "otool", so it can be a program name with args.
6830 set dummy otool; ac_word=$2
6831 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6832 $as_echo_n "checking for $ac_word... " >&6; }
6833 if ${ac_cv_prog_ac_ct_OTOOL+:} false; then :
6834   $as_echo_n "(cached) " >&6
6835 else
6836   if test -n "$ac_ct_OTOOL"; then
6837   ac_cv_prog_ac_ct_OTOOL="$ac_ct_OTOOL" # Let the user override the test.
6838 else
6839 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6840 for as_dir in $PATH
6841 do
6842   IFS=$as_save_IFS
6843   test -z "$as_dir" && as_dir=.
6844     for ac_exec_ext in '' $ac_executable_extensions; do
6845   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6846     ac_cv_prog_ac_ct_OTOOL="otool"
6847     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6848     break 2
6849   fi
6850 done
6851   done
6852 IFS=$as_save_IFS
6853
6854 fi
6855 fi
6856 ac_ct_OTOOL=$ac_cv_prog_ac_ct_OTOOL
6857 if test -n "$ac_ct_OTOOL"; then
6858   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OTOOL" >&5
6859 $as_echo "$ac_ct_OTOOL" >&6; }
6860 else
6861   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6862 $as_echo "no" >&6; }
6863 fi
6864
6865   if test "x$ac_ct_OTOOL" = x; then
6866     OTOOL=":"
6867   else
6868     case $cross_compiling:$ac_tool_warned in
6869 yes:)
6870 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6871 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6872 ac_tool_warned=yes ;;
6873 esac
6874     OTOOL=$ac_ct_OTOOL
6875   fi
6876 else
6877   OTOOL="$ac_cv_prog_OTOOL"
6878 fi
6879
6880     if test -n "$ac_tool_prefix"; then
6881   # Extract the first word of "${ac_tool_prefix}otool64", so it can be a program name with args.
6882 set dummy ${ac_tool_prefix}otool64; ac_word=$2
6883 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6884 $as_echo_n "checking for $ac_word... " >&6; }
6885 if ${ac_cv_prog_OTOOL64+:} false; then :
6886   $as_echo_n "(cached) " >&6
6887 else
6888   if test -n "$OTOOL64"; then
6889   ac_cv_prog_OTOOL64="$OTOOL64" # Let the user override the test.
6890 else
6891 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6892 for as_dir in $PATH
6893 do
6894   IFS=$as_save_IFS
6895   test -z "$as_dir" && as_dir=.
6896     for ac_exec_ext in '' $ac_executable_extensions; do
6897   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6898     ac_cv_prog_OTOOL64="${ac_tool_prefix}otool64"
6899     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6900     break 2
6901   fi
6902 done
6903   done
6904 IFS=$as_save_IFS
6905
6906 fi
6907 fi
6908 OTOOL64=$ac_cv_prog_OTOOL64
6909 if test -n "$OTOOL64"; then
6910   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OTOOL64" >&5
6911 $as_echo "$OTOOL64" >&6; }
6912 else
6913   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6914 $as_echo "no" >&6; }
6915 fi
6916
6917
6918 fi
6919 if test -z "$ac_cv_prog_OTOOL64"; then
6920   ac_ct_OTOOL64=$OTOOL64
6921   # Extract the first word of "otool64", so it can be a program name with args.
6922 set dummy otool64; ac_word=$2
6923 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6924 $as_echo_n "checking for $ac_word... " >&6; }
6925 if ${ac_cv_prog_ac_ct_OTOOL64+:} false; then :
6926   $as_echo_n "(cached) " >&6
6927 else
6928   if test -n "$ac_ct_OTOOL64"; then
6929   ac_cv_prog_ac_ct_OTOOL64="$ac_ct_OTOOL64" # Let the user override the test.
6930 else
6931 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6932 for as_dir in $PATH
6933 do
6934   IFS=$as_save_IFS
6935   test -z "$as_dir" && as_dir=.
6936     for ac_exec_ext in '' $ac_executable_extensions; do
6937   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6938     ac_cv_prog_ac_ct_OTOOL64="otool64"
6939     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6940     break 2
6941   fi
6942 done
6943   done
6944 IFS=$as_save_IFS
6945
6946 fi
6947 fi
6948 ac_ct_OTOOL64=$ac_cv_prog_ac_ct_OTOOL64
6949 if test -n "$ac_ct_OTOOL64"; then
6950   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OTOOL64" >&5
6951 $as_echo "$ac_ct_OTOOL64" >&6; }
6952 else
6953   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6954 $as_echo "no" >&6; }
6955 fi
6956
6957   if test "x$ac_ct_OTOOL64" = x; then
6958     OTOOL64=":"
6959   else
6960     case $cross_compiling:$ac_tool_warned in
6961 yes:)
6962 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6963 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6964 ac_tool_warned=yes ;;
6965 esac
6966     OTOOL64=$ac_ct_OTOOL64
6967   fi
6968 else
6969   OTOOL64="$ac_cv_prog_OTOOL64"
6970 fi
6971
6972
6973
6974
6975
6976
6977
6978
6979
6980
6981
6982
6983
6984
6985
6986
6987
6988
6989
6990
6991
6992
6993
6994
6995
6996
6997
6998     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -single_module linker flag" >&5
6999 $as_echo_n "checking for -single_module linker flag... " >&6; }
7000 if ${lt_cv_apple_cc_single_mod+:} false; then :
7001   $as_echo_n "(cached) " >&6
7002 else
7003   lt_cv_apple_cc_single_mod=no
7004       if test -z "${LT_MULTI_MODULE}"; then
7005         # By default we will add the -single_module flag. You can override
7006         # by either setting the environment variable LT_MULTI_MODULE
7007         # non-empty at configure time, or by adding -multi_module to the
7008         # link flags.
7009         rm -rf libconftest.dylib*
7010         echo "int foo(void){return 1;}" > conftest.c
7011         echo "$LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \
7012 -dynamiclib -Wl,-single_module conftest.c" >&5
7013         $LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \
7014           -dynamiclib -Wl,-single_module conftest.c 2>conftest.err
7015         _lt_result=$?
7016         # If there is a non-empty error log, and "single_module"
7017         # appears in it, assume the flag caused a linker warning
7018         if test -s conftest.err && $GREP single_module conftest.err; then
7019           cat conftest.err >&5
7020         # Otherwise, if the output was created with a 0 exit code from
7021         # the compiler, it worked.
7022         elif test -f libconftest.dylib && test $_lt_result -eq 0; then
7023           lt_cv_apple_cc_single_mod=yes
7024         else
7025           cat conftest.err >&5
7026         fi
7027         rm -rf libconftest.dylib*
7028         rm -f conftest.*
7029       fi
7030 fi
7031 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_apple_cc_single_mod" >&5
7032 $as_echo "$lt_cv_apple_cc_single_mod" >&6; }
7033
7034     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -exported_symbols_list linker flag" >&5
7035 $as_echo_n "checking for -exported_symbols_list linker flag... " >&6; }
7036 if ${lt_cv_ld_exported_symbols_list+:} false; then :
7037   $as_echo_n "(cached) " >&6
7038 else
7039   lt_cv_ld_exported_symbols_list=no
7040       save_LDFLAGS=$LDFLAGS
7041       echo "_main" > conftest.sym
7042       LDFLAGS="$LDFLAGS -Wl,-exported_symbols_list,conftest.sym"
7043       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7044 /* end confdefs.h.  */
7045
7046 int
7047 main ()
7048 {
7049
7050   ;
7051   return 0;
7052 }
7053 _ACEOF
7054 if ac_fn_c_try_link "$LINENO"; then :
7055   lt_cv_ld_exported_symbols_list=yes
7056 else
7057   lt_cv_ld_exported_symbols_list=no
7058 fi
7059 rm -f core conftest.err conftest.$ac_objext \
7060     conftest$ac_exeext conftest.$ac_ext
7061         LDFLAGS="$save_LDFLAGS"
7062
7063 fi
7064 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_exported_symbols_list" >&5
7065 $as_echo "$lt_cv_ld_exported_symbols_list" >&6; }
7066
7067     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -force_load linker flag" >&5
7068 $as_echo_n "checking for -force_load linker flag... " >&6; }
7069 if ${lt_cv_ld_force_load+:} false; then :
7070   $as_echo_n "(cached) " >&6
7071 else
7072   lt_cv_ld_force_load=no
7073       cat > conftest.c << _LT_EOF
7074 int forced_loaded() { return 2;}
7075 _LT_EOF
7076       echo "$LTCC $LTCFLAGS -c -o conftest.o conftest.c" >&5
7077       $LTCC $LTCFLAGS -c -o conftest.o conftest.c 2>&5
7078       echo "$AR cru libconftest.a conftest.o" >&5
7079       $AR cru libconftest.a conftest.o 2>&5
7080       echo "$RANLIB libconftest.a" >&5
7081       $RANLIB libconftest.a 2>&5
7082       cat > conftest.c << _LT_EOF
7083 int main() { return 0;}
7084 _LT_EOF
7085       echo "$LTCC $LTCFLAGS $LDFLAGS -o conftest conftest.c -Wl,-force_load,./libconftest.a" >&5
7086       $LTCC $LTCFLAGS $LDFLAGS -o conftest conftest.c -Wl,-force_load,./libconftest.a 2>conftest.err
7087       _lt_result=$?
7088       if test -s conftest.err && $GREP force_load conftest.err; then
7089         cat conftest.err >&5
7090       elif test -f conftest && test $_lt_result -eq 0 && $GREP forced_load conftest >/dev/null 2>&1 ; then
7091         lt_cv_ld_force_load=yes
7092       else
7093         cat conftest.err >&5
7094       fi
7095         rm -f conftest.err libconftest.a conftest conftest.c
7096         rm -rf conftest.dSYM
7097
7098 fi
7099 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_force_load" >&5
7100 $as_echo "$lt_cv_ld_force_load" >&6; }
7101     case $host_os in
7102     rhapsody* | darwin1.[012])
7103       _lt_dar_allow_undefined='${wl}-undefined ${wl}suppress' ;;
7104     darwin1.*)
7105       _lt_dar_allow_undefined='${wl}-flat_namespace ${wl}-undefined ${wl}suppress' ;;
7106     darwin*) # darwin 5.x on
7107       # if running on 10.5 or later, the deployment target defaults
7108       # to the OS version, if on x86, and 10.4, the deployment
7109       # target defaults to 10.4. Don't you love it?
7110       case ${MACOSX_DEPLOYMENT_TARGET-10.0},$host in
7111         10.0,*86*-darwin8*|10.0,*-darwin[91]*)
7112           _lt_dar_allow_undefined='${wl}-undefined ${wl}dynamic_lookup' ;;
7113         10.[012]*)
7114           _lt_dar_allow_undefined='${wl}-flat_namespace ${wl}-undefined ${wl}suppress' ;;
7115         10.*)
7116           _lt_dar_allow_undefined='${wl}-undefined ${wl}dynamic_lookup' ;;
7117       esac
7118     ;;
7119   esac
7120     if test "$lt_cv_apple_cc_single_mod" = "yes"; then
7121       _lt_dar_single_mod='$single_module'
7122     fi
7123     if test "$lt_cv_ld_exported_symbols_list" = "yes"; then
7124       _lt_dar_export_syms=' ${wl}-exported_symbols_list,$output_objdir/${libname}-symbols.expsym'
7125     else
7126       _lt_dar_export_syms='~$NMEDIT -s $output_objdir/${libname}-symbols.expsym ${lib}'
7127     fi
7128     if test "$DSYMUTIL" != ":" && test "$lt_cv_ld_force_load" = "no"; then
7129       _lt_dsymutil='~$DSYMUTIL $lib || :'
7130     else
7131       _lt_dsymutil=
7132     fi
7133     ;;
7134   esac
7135
7136 ac_ext=c
7137 ac_cpp='$CPP $CPPFLAGS'
7138 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
7139 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
7140 ac_compiler_gnu=$ac_cv_c_compiler_gnu
7141 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C preprocessor" >&5
7142 $as_echo_n "checking how to run the C preprocessor... " >&6; }
7143 # On Suns, sometimes $CPP names a directory.
7144 if test -n "$CPP" && test -d "$CPP"; then
7145   CPP=
7146 fi
7147 if test -z "$CPP"; then
7148   if ${ac_cv_prog_CPP+:} false; then :
7149   $as_echo_n "(cached) " >&6
7150 else
7151       # Double quotes because CPP needs to be expanded
7152     for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
7153     do
7154       ac_preproc_ok=false
7155 for ac_c_preproc_warn_flag in '' yes
7156 do
7157   # Use a header file that comes with gcc, so configuring glibc
7158   # with a fresh cross-compiler works.
7159   # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
7160   # <limits.h> exists even on freestanding compilers.
7161   # On the NeXT, cc -E runs the code through the compiler's parser,
7162   # not just through cpp. "Syntax error" is here to catch this case.
7163   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7164 /* end confdefs.h.  */
7165 #ifdef __STDC__
7166 # include <limits.h>
7167 #else
7168 # include <assert.h>
7169 #endif
7170                      Syntax error
7171 _ACEOF
7172 if ac_fn_c_try_cpp "$LINENO"; then :
7173
7174 else
7175   # Broken: fails on valid input.
7176 continue
7177 fi
7178 rm -f conftest.err conftest.i conftest.$ac_ext
7179
7180   # OK, works on sane cases.  Now check whether nonexistent headers
7181   # can be detected and how.
7182   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7183 /* end confdefs.h.  */
7184 #include <ac_nonexistent.h>
7185 _ACEOF
7186 if ac_fn_c_try_cpp "$LINENO"; then :
7187   # Broken: success on invalid input.
7188 continue
7189 else
7190   # Passes both tests.
7191 ac_preproc_ok=:
7192 break
7193 fi
7194 rm -f conftest.err conftest.i conftest.$ac_ext
7195
7196 done
7197 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
7198 rm -f conftest.i conftest.err conftest.$ac_ext
7199 if $ac_preproc_ok; then :
7200   break
7201 fi
7202
7203     done
7204     ac_cv_prog_CPP=$CPP
7205
7206 fi
7207   CPP=$ac_cv_prog_CPP
7208 else
7209   ac_cv_prog_CPP=$CPP
7210 fi
7211 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CPP" >&5
7212 $as_echo "$CPP" >&6; }
7213 ac_preproc_ok=false
7214 for ac_c_preproc_warn_flag in '' yes
7215 do
7216   # Use a header file that comes with gcc, so configuring glibc
7217   # with a fresh cross-compiler works.
7218   # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
7219   # <limits.h> exists even on freestanding compilers.
7220   # On the NeXT, cc -E runs the code through the compiler's parser,
7221   # not just through cpp. "Syntax error" is here to catch this case.
7222   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7223 /* end confdefs.h.  */
7224 #ifdef __STDC__
7225 # include <limits.h>
7226 #else
7227 # include <assert.h>
7228 #endif
7229                      Syntax error
7230 _ACEOF
7231 if ac_fn_c_try_cpp "$LINENO"; then :
7232
7233 else
7234   # Broken: fails on valid input.
7235 continue
7236 fi
7237 rm -f conftest.err conftest.i conftest.$ac_ext
7238
7239   # OK, works on sane cases.  Now check whether nonexistent headers
7240   # can be detected and how.
7241   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7242 /* end confdefs.h.  */
7243 #include <ac_nonexistent.h>
7244 _ACEOF
7245 if ac_fn_c_try_cpp "$LINENO"; then :
7246   # Broken: success on invalid input.
7247 continue
7248 else
7249   # Passes both tests.
7250 ac_preproc_ok=:
7251 break
7252 fi
7253 rm -f conftest.err conftest.i conftest.$ac_ext
7254
7255 done
7256 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
7257 rm -f conftest.i conftest.err conftest.$ac_ext
7258 if $ac_preproc_ok; then :
7259
7260 else
7261   { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
7262 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
7263 as_fn_error $? "C preprocessor \"$CPP\" fails sanity check
7264 See \`config.log' for more details" "$LINENO" 5; }
7265 fi
7266
7267 ac_ext=c
7268 ac_cpp='$CPP $CPPFLAGS'
7269 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
7270 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
7271 ac_compiler_gnu=$ac_cv_c_compiler_gnu
7272
7273
7274 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5
7275 $as_echo_n "checking for ANSI C header files... " >&6; }
7276 if ${ac_cv_header_stdc+:} false; then :
7277   $as_echo_n "(cached) " >&6
7278 else
7279   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7280 /* end confdefs.h.  */
7281 #include <stdlib.h>
7282 #include <stdarg.h>
7283 #include <string.h>
7284 #include <float.h>
7285
7286 int
7287 main ()
7288 {
7289
7290   ;
7291   return 0;
7292 }
7293 _ACEOF
7294 if ac_fn_c_try_compile "$LINENO"; then :
7295   ac_cv_header_stdc=yes
7296 else
7297   ac_cv_header_stdc=no
7298 fi
7299 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
7300
7301 if test $ac_cv_header_stdc = yes; then
7302   # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
7303   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7304 /* end confdefs.h.  */
7305 #include <string.h>
7306
7307 _ACEOF
7308 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
7309   $EGREP "memchr" >/dev/null 2>&1; then :
7310
7311 else
7312   ac_cv_header_stdc=no
7313 fi
7314 rm -f conftest*
7315
7316 fi
7317
7318 if test $ac_cv_header_stdc = yes; then
7319   # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
7320   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7321 /* end confdefs.h.  */
7322 #include <stdlib.h>
7323
7324 _ACEOF
7325 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
7326   $EGREP "free" >/dev/null 2>&1; then :
7327
7328 else
7329   ac_cv_header_stdc=no
7330 fi
7331 rm -f conftest*
7332
7333 fi
7334
7335 if test $ac_cv_header_stdc = yes; then
7336   # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
7337   if test "$cross_compiling" = yes; then :
7338   :
7339 else
7340   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7341 /* end confdefs.h.  */
7342 #include <ctype.h>
7343 #include <stdlib.h>
7344 #if ((' ' & 0x0FF) == 0x020)
7345 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
7346 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
7347 #else
7348 # define ISLOWER(c) \
7349                    (('a' <= (c) && (c) <= 'i') \
7350                      || ('j' <= (c) && (c) <= 'r') \
7351                      || ('s' <= (c) && (c) <= 'z'))
7352 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
7353 #endif
7354
7355 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
7356 int
7357 main ()
7358 {
7359   int i;
7360   for (i = 0; i < 256; i++)
7361     if (XOR (islower (i), ISLOWER (i))
7362         || toupper (i) != TOUPPER (i))
7363       return 2;
7364   return 0;
7365 }
7366 _ACEOF
7367 if ac_fn_c_try_run "$LINENO"; then :
7368
7369 else
7370   ac_cv_header_stdc=no
7371 fi
7372 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
7373   conftest.$ac_objext conftest.beam conftest.$ac_ext
7374 fi
7375
7376 fi
7377 fi
7378 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdc" >&5
7379 $as_echo "$ac_cv_header_stdc" >&6; }
7380 if test $ac_cv_header_stdc = yes; then
7381
7382 $as_echo "#define STDC_HEADERS 1" >>confdefs.h
7383
7384 fi
7385
7386 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
7387 for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
7388                   inttypes.h stdint.h unistd.h
7389 do :
7390   as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
7391 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default
7392 "
7393 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
7394   cat >>confdefs.h <<_ACEOF
7395 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
7396 _ACEOF
7397
7398 fi
7399
7400 done
7401
7402
7403 for ac_header in dlfcn.h
7404 do :
7405   ac_fn_c_check_header_compile "$LINENO" "dlfcn.h" "ac_cv_header_dlfcn_h" "$ac_includes_default
7406 "
7407 if test "x$ac_cv_header_dlfcn_h" = xyes; then :
7408   cat >>confdefs.h <<_ACEOF
7409 #define HAVE_DLFCN_H 1
7410 _ACEOF
7411
7412 fi
7413
7414 done
7415
7416
7417
7418
7419
7420 # Set options
7421 enable_dlopen=yes
7422 enable_win32_dll=yes
7423
7424 case $host in
7425 *-*-cygwin* | *-*-mingw* | *-*-pw32* | *-*-cegcc*)
7426   if test -n "$ac_tool_prefix"; then
7427   # Extract the first word of "${ac_tool_prefix}as", so it can be a program name with args.
7428 set dummy ${ac_tool_prefix}as; ac_word=$2
7429 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7430 $as_echo_n "checking for $ac_word... " >&6; }
7431 if ${ac_cv_prog_AS+:} false; then :
7432   $as_echo_n "(cached) " >&6
7433 else
7434   if test -n "$AS"; then
7435   ac_cv_prog_AS="$AS" # Let the user override the test.
7436 else
7437 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7438 for as_dir in $PATH
7439 do
7440   IFS=$as_save_IFS
7441   test -z "$as_dir" && as_dir=.
7442     for ac_exec_ext in '' $ac_executable_extensions; do
7443   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7444     ac_cv_prog_AS="${ac_tool_prefix}as"
7445     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7446     break 2
7447   fi
7448 done
7449   done
7450 IFS=$as_save_IFS
7451
7452 fi
7453 fi
7454 AS=$ac_cv_prog_AS
7455 if test -n "$AS"; then
7456   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AS" >&5
7457 $as_echo "$AS" >&6; }
7458 else
7459   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7460 $as_echo "no" >&6; }
7461 fi
7462
7463
7464 fi
7465 if test -z "$ac_cv_prog_AS"; then
7466   ac_ct_AS=$AS
7467   # Extract the first word of "as", so it can be a program name with args.
7468 set dummy as; ac_word=$2
7469 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7470 $as_echo_n "checking for $ac_word... " >&6; }
7471 if ${ac_cv_prog_ac_ct_AS+:} false; then :
7472   $as_echo_n "(cached) " >&6
7473 else
7474   if test -n "$ac_ct_AS"; then
7475   ac_cv_prog_ac_ct_AS="$ac_ct_AS" # Let the user override the test.
7476 else
7477 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7478 for as_dir in $PATH
7479 do
7480   IFS=$as_save_IFS
7481   test -z "$as_dir" && as_dir=.
7482     for ac_exec_ext in '' $ac_executable_extensions; do
7483   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7484     ac_cv_prog_ac_ct_AS="as"
7485     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7486     break 2
7487   fi
7488 done
7489   done
7490 IFS=$as_save_IFS
7491
7492 fi
7493 fi
7494 ac_ct_AS=$ac_cv_prog_ac_ct_AS
7495 if test -n "$ac_ct_AS"; then
7496   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_AS" >&5
7497 $as_echo "$ac_ct_AS" >&6; }
7498 else
7499   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7500 $as_echo "no" >&6; }
7501 fi
7502
7503   if test "x$ac_ct_AS" = x; then
7504     AS="false"
7505   else
7506     case $cross_compiling:$ac_tool_warned in
7507 yes:)
7508 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7509 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7510 ac_tool_warned=yes ;;
7511 esac
7512     AS=$ac_ct_AS
7513   fi
7514 else
7515   AS="$ac_cv_prog_AS"
7516 fi
7517
7518   if test -n "$ac_tool_prefix"; then
7519   # Extract the first word of "${ac_tool_prefix}dlltool", so it can be a program name with args.
7520 set dummy ${ac_tool_prefix}dlltool; ac_word=$2
7521 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7522 $as_echo_n "checking for $ac_word... " >&6; }
7523 if ${ac_cv_prog_DLLTOOL+:} false; then :
7524   $as_echo_n "(cached) " >&6
7525 else
7526   if test -n "$DLLTOOL"; then
7527   ac_cv_prog_DLLTOOL="$DLLTOOL" # Let the user override the test.
7528 else
7529 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7530 for as_dir in $PATH
7531 do
7532   IFS=$as_save_IFS
7533   test -z "$as_dir" && as_dir=.
7534     for ac_exec_ext in '' $ac_executable_extensions; do
7535   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7536     ac_cv_prog_DLLTOOL="${ac_tool_prefix}dlltool"
7537     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7538     break 2
7539   fi
7540 done
7541   done
7542 IFS=$as_save_IFS
7543
7544 fi
7545 fi
7546 DLLTOOL=$ac_cv_prog_DLLTOOL
7547 if test -n "$DLLTOOL"; then
7548   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DLLTOOL" >&5
7549 $as_echo "$DLLTOOL" >&6; }
7550 else
7551   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7552 $as_echo "no" >&6; }
7553 fi
7554
7555
7556 fi
7557 if test -z "$ac_cv_prog_DLLTOOL"; then
7558   ac_ct_DLLTOOL=$DLLTOOL
7559   # Extract the first word of "dlltool", so it can be a program name with args.
7560 set dummy dlltool; ac_word=$2
7561 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7562 $as_echo_n "checking for $ac_word... " >&6; }
7563 if ${ac_cv_prog_ac_ct_DLLTOOL+:} false; then :
7564   $as_echo_n "(cached) " >&6
7565 else
7566   if test -n "$ac_ct_DLLTOOL"; then
7567   ac_cv_prog_ac_ct_DLLTOOL="$ac_ct_DLLTOOL" # Let the user override the test.
7568 else
7569 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7570 for as_dir in $PATH
7571 do
7572   IFS=$as_save_IFS
7573   test -z "$as_dir" && as_dir=.
7574     for ac_exec_ext in '' $ac_executable_extensions; do
7575   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7576     ac_cv_prog_ac_ct_DLLTOOL="dlltool"
7577     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7578     break 2
7579   fi
7580 done
7581   done
7582 IFS=$as_save_IFS
7583
7584 fi
7585 fi
7586 ac_ct_DLLTOOL=$ac_cv_prog_ac_ct_DLLTOOL
7587 if test -n "$ac_ct_DLLTOOL"; then
7588   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DLLTOOL" >&5
7589 $as_echo "$ac_ct_DLLTOOL" >&6; }
7590 else
7591   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7592 $as_echo "no" >&6; }
7593 fi
7594
7595   if test "x$ac_ct_DLLTOOL" = x; then
7596     DLLTOOL="false"
7597   else
7598     case $cross_compiling:$ac_tool_warned in
7599 yes:)
7600 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7601 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7602 ac_tool_warned=yes ;;
7603 esac
7604     DLLTOOL=$ac_ct_DLLTOOL
7605   fi
7606 else
7607   DLLTOOL="$ac_cv_prog_DLLTOOL"
7608 fi
7609
7610   if test -n "$ac_tool_prefix"; then
7611   # Extract the first word of "${ac_tool_prefix}objdump", so it can be a program name with args.
7612 set dummy ${ac_tool_prefix}objdump; ac_word=$2
7613 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7614 $as_echo_n "checking for $ac_word... " >&6; }
7615 if ${ac_cv_prog_OBJDUMP+:} false; then :
7616   $as_echo_n "(cached) " >&6
7617 else
7618   if test -n "$OBJDUMP"; then
7619   ac_cv_prog_OBJDUMP="$OBJDUMP" # Let the user override the test.
7620 else
7621 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7622 for as_dir in $PATH
7623 do
7624   IFS=$as_save_IFS
7625   test -z "$as_dir" && as_dir=.
7626     for ac_exec_ext in '' $ac_executable_extensions; do
7627   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7628     ac_cv_prog_OBJDUMP="${ac_tool_prefix}objdump"
7629     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7630     break 2
7631   fi
7632 done
7633   done
7634 IFS=$as_save_IFS
7635
7636 fi
7637 fi
7638 OBJDUMP=$ac_cv_prog_OBJDUMP
7639 if test -n "$OBJDUMP"; then
7640   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OBJDUMP" >&5
7641 $as_echo "$OBJDUMP" >&6; }
7642 else
7643   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7644 $as_echo "no" >&6; }
7645 fi
7646
7647
7648 fi
7649 if test -z "$ac_cv_prog_OBJDUMP"; then
7650   ac_ct_OBJDUMP=$OBJDUMP
7651   # Extract the first word of "objdump", so it can be a program name with args.
7652 set dummy objdump; ac_word=$2
7653 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7654 $as_echo_n "checking for $ac_word... " >&6; }
7655 if ${ac_cv_prog_ac_ct_OBJDUMP+:} false; then :
7656   $as_echo_n "(cached) " >&6
7657 else
7658   if test -n "$ac_ct_OBJDUMP"; then
7659   ac_cv_prog_ac_ct_OBJDUMP="$ac_ct_OBJDUMP" # Let the user override the test.
7660 else
7661 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7662 for as_dir in $PATH
7663 do
7664   IFS=$as_save_IFS
7665   test -z "$as_dir" && as_dir=.
7666     for ac_exec_ext in '' $ac_executable_extensions; do
7667   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7668     ac_cv_prog_ac_ct_OBJDUMP="objdump"
7669     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7670     break 2
7671   fi
7672 done
7673   done
7674 IFS=$as_save_IFS
7675
7676 fi
7677 fi
7678 ac_ct_OBJDUMP=$ac_cv_prog_ac_ct_OBJDUMP
7679 if test -n "$ac_ct_OBJDUMP"; then
7680   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OBJDUMP" >&5
7681 $as_echo "$ac_ct_OBJDUMP" >&6; }
7682 else
7683   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7684 $as_echo "no" >&6; }
7685 fi
7686
7687   if test "x$ac_ct_OBJDUMP" = x; then
7688     OBJDUMP="false"
7689   else
7690     case $cross_compiling:$ac_tool_warned in
7691 yes:)
7692 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7693 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7694 ac_tool_warned=yes ;;
7695 esac
7696     OBJDUMP=$ac_ct_OBJDUMP
7697   fi
7698 else
7699   OBJDUMP="$ac_cv_prog_OBJDUMP"
7700 fi
7701
7702   ;;
7703 esac
7704
7705 test -z "$AS" && AS=as
7706
7707
7708
7709
7710
7711 test -z "$DLLTOOL" && DLLTOOL=dlltool
7712
7713
7714
7715
7716
7717 test -z "$OBJDUMP" && OBJDUMP=objdump
7718
7719
7720
7721
7722 # Check whether --enable-static was given.
7723 if test "${enable_static+set}" = set; then :
7724   enableval=$enable_static; p=${PACKAGE-default}
7725     case $enableval in
7726     yes) enable_static=yes ;;
7727     no) enable_static=no ;;
7728     *)
7729      enable_static=no
7730       # Look at the argument we got.  We use all the common list separators.
7731       lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
7732       for pkg in $enableval; do
7733         IFS="$lt_save_ifs"
7734         if test "X$pkg" = "X$p"; then
7735           enable_static=yes
7736         fi
7737       done
7738       IFS="$lt_save_ifs"
7739       ;;
7740     esac
7741 else
7742   enable_static=no
7743 fi
7744
7745
7746
7747
7748
7749
7750
7751
7752
7753
7754
7755
7756             # Check whether --enable-shared was given.
7757 if test "${enable_shared+set}" = set; then :
7758   enableval=$enable_shared; p=${PACKAGE-default}
7759     case $enableval in
7760     yes) enable_shared=yes ;;
7761     no) enable_shared=no ;;
7762     *)
7763       enable_shared=no
7764       # Look at the argument we got.  We use all the common list separators.
7765       lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
7766       for pkg in $enableval; do
7767         IFS="$lt_save_ifs"
7768         if test "X$pkg" = "X$p"; then
7769           enable_shared=yes
7770         fi
7771       done
7772       IFS="$lt_save_ifs"
7773       ;;
7774     esac
7775 else
7776   enable_shared=yes
7777 fi
7778
7779
7780
7781
7782
7783
7784
7785
7786
7787
7788
7789 # Check whether --with-pic was given.
7790 if test "${with_pic+set}" = set; then :
7791   withval=$with_pic; lt_p=${PACKAGE-default}
7792     case $withval in
7793     yes|no) pic_mode=$withval ;;
7794     *)
7795       pic_mode=default
7796       # Look at the argument we got.  We use all the common list separators.
7797       lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
7798       for lt_pkg in $withval; do
7799         IFS="$lt_save_ifs"
7800         if test "X$lt_pkg" = "X$lt_p"; then
7801           pic_mode=yes
7802         fi
7803       done
7804       IFS="$lt_save_ifs"
7805       ;;
7806     esac
7807 else
7808   pic_mode=default
7809 fi
7810
7811
7812 test -z "$pic_mode" && pic_mode=default
7813
7814
7815
7816
7817
7818
7819
7820   # Check whether --enable-fast-install was given.
7821 if test "${enable_fast_install+set}" = set; then :
7822   enableval=$enable_fast_install; p=${PACKAGE-default}
7823     case $enableval in
7824     yes) enable_fast_install=yes ;;
7825     no) enable_fast_install=no ;;
7826     *)
7827       enable_fast_install=no
7828       # Look at the argument we got.  We use all the common list separators.
7829       lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
7830       for pkg in $enableval; do
7831         IFS="$lt_save_ifs"
7832         if test "X$pkg" = "X$p"; then
7833           enable_fast_install=yes
7834         fi
7835       done
7836       IFS="$lt_save_ifs"
7837       ;;
7838     esac
7839 else
7840   enable_fast_install=yes
7841 fi
7842
7843
7844
7845
7846
7847
7848
7849
7850
7851
7852
7853 # This can be used to rebuild libtool when needed
7854 LIBTOOL_DEPS="$ltmain"
7855
7856 # Always use our own libtool.
7857 LIBTOOL='$(SHELL) $(top_builddir)/libtool'
7858
7859
7860
7861
7862
7863
7864
7865
7866
7867
7868
7869
7870
7871
7872
7873
7874
7875
7876
7877
7878
7879
7880
7881
7882
7883
7884
7885
7886
7887
7888 test -z "$LN_S" && LN_S="ln -s"
7889
7890
7891
7892
7893
7894
7895
7896
7897
7898
7899
7900
7901
7902
7903 if test -n "${ZSH_VERSION+set}" ; then
7904    setopt NO_GLOB_SUBST
7905 fi
7906
7907 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for objdir" >&5
7908 $as_echo_n "checking for objdir... " >&6; }
7909 if ${lt_cv_objdir+:} false; then :
7910   $as_echo_n "(cached) " >&6
7911 else
7912   rm -f .libs 2>/dev/null
7913 mkdir .libs 2>/dev/null
7914 if test -d .libs; then
7915   lt_cv_objdir=.libs
7916 else
7917   # MS-DOS does not allow filenames that begin with a dot.
7918   lt_cv_objdir=_libs
7919 fi
7920 rmdir .libs 2>/dev/null
7921 fi
7922 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_objdir" >&5
7923 $as_echo "$lt_cv_objdir" >&6; }
7924 objdir=$lt_cv_objdir
7925
7926
7927
7928
7929
7930 cat >>confdefs.h <<_ACEOF
7931 #define LT_OBJDIR "$lt_cv_objdir/"
7932 _ACEOF
7933
7934
7935
7936
7937 case $host_os in
7938 aix3*)
7939   # AIX sometimes has problems with the GCC collect2 program.  For some
7940   # reason, if we set the COLLECT_NAMES environment variable, the problems
7941   # vanish in a puff of smoke.
7942   if test "X${COLLECT_NAMES+set}" != Xset; then
7943     COLLECT_NAMES=
7944     export COLLECT_NAMES
7945   fi
7946   ;;
7947 esac
7948
7949 # Global variables:
7950 ofile=libtool
7951 can_build_shared=yes
7952
7953 # All known linkers require a `.a' archive for static linking (except MSVC,
7954 # which needs '.lib').
7955 libext=a
7956
7957 with_gnu_ld="$lt_cv_prog_gnu_ld"
7958
7959 old_CC="$CC"
7960 old_CFLAGS="$CFLAGS"
7961
7962 # Set sane defaults for various variables
7963 test -z "$CC" && CC=cc
7964 test -z "$LTCC" && LTCC=$CC
7965 test -z "$LTCFLAGS" && LTCFLAGS=$CFLAGS
7966 test -z "$LD" && LD=ld
7967 test -z "$ac_objext" && ac_objext=o
7968
7969 for cc_temp in $compiler""; do
7970   case $cc_temp in
7971     compile | *[\\/]compile | ccache | *[\\/]ccache ) ;;
7972     distcc | *[\\/]distcc | purify | *[\\/]purify ) ;;
7973     \-*) ;;
7974     *) break;;
7975   esac
7976 done
7977 cc_basename=`$ECHO "$cc_temp" | $SED "s%.*/%%; s%^$host_alias-%%"`
7978
7979
7980 # Only perform the check for file, if the check method requires it
7981 test -z "$MAGIC_CMD" && MAGIC_CMD=file
7982 case $deplibs_check_method in
7983 file_magic*)
7984   if test "$file_magic_cmd" = '$MAGIC_CMD'; then
7985     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ${ac_tool_prefix}file" >&5
7986 $as_echo_n "checking for ${ac_tool_prefix}file... " >&6; }
7987 if ${lt_cv_path_MAGIC_CMD+:} false; then :
7988   $as_echo_n "(cached) " >&6
7989 else
7990   case $MAGIC_CMD in
7991 [\\/*] |  ?:[\\/]*)
7992   lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a path.
7993   ;;
7994 *)
7995   lt_save_MAGIC_CMD="$MAGIC_CMD"
7996   lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
7997   ac_dummy="/usr/bin$PATH_SEPARATOR$PATH"
7998   for ac_dir in $ac_dummy; do
7999     IFS="$lt_save_ifs"
8000     test -z "$ac_dir" && ac_dir=.
8001     if test -f $ac_dir/${ac_tool_prefix}file; then
8002       lt_cv_path_MAGIC_CMD="$ac_dir/${ac_tool_prefix}file"
8003       if test -n "$file_magic_test_file"; then
8004         case $deplibs_check_method in
8005         "file_magic "*)
8006           file_magic_regex=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
8007           MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
8008           if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
8009             $EGREP "$file_magic_regex" > /dev/null; then
8010             :
8011           else
8012             cat <<_LT_EOF 1>&2
8013
8014 *** Warning: the command libtool uses to detect shared libraries,
8015 *** $file_magic_cmd, produces output that libtool cannot recognize.
8016 *** The result is that libtool may fail to recognize shared libraries
8017 *** as such.  This will affect the creation of libtool libraries that
8018 *** depend on shared libraries, but programs linked with such libtool
8019 *** libraries will work regardless of this problem.  Nevertheless, you
8020 *** may want to report the problem to your system manager and/or to
8021 *** bug-libtool@gnu.org
8022
8023 _LT_EOF
8024           fi ;;
8025         esac
8026       fi
8027       break
8028     fi
8029   done
8030   IFS="$lt_save_ifs"
8031   MAGIC_CMD="$lt_save_MAGIC_CMD"
8032   ;;
8033 esac
8034 fi
8035
8036 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
8037 if test -n "$MAGIC_CMD"; then
8038   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MAGIC_CMD" >&5
8039 $as_echo "$MAGIC_CMD" >&6; }
8040 else
8041   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8042 $as_echo "no" >&6; }
8043 fi
8044
8045
8046
8047
8048
8049 if test -z "$lt_cv_path_MAGIC_CMD"; then
8050   if test -n "$ac_tool_prefix"; then
8051     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for file" >&5
8052 $as_echo_n "checking for file... " >&6; }
8053 if ${lt_cv_path_MAGIC_CMD+:} false; then :
8054   $as_echo_n "(cached) " >&6
8055 else
8056   case $MAGIC_CMD in
8057 [\\/*] |  ?:[\\/]*)
8058   lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a path.
8059   ;;
8060 *)
8061   lt_save_MAGIC_CMD="$MAGIC_CMD"
8062   lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
8063   ac_dummy="/usr/bin$PATH_SEPARATOR$PATH"
8064   for ac_dir in $ac_dummy; do
8065     IFS="$lt_save_ifs"
8066     test -z "$ac_dir" && ac_dir=.
8067     if test -f $ac_dir/file; then
8068       lt_cv_path_MAGIC_CMD="$ac_dir/file"
8069       if test -n "$file_magic_test_file"; then
8070         case $deplibs_check_method in
8071         "file_magic "*)
8072           file_magic_regex=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
8073           MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
8074           if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
8075             $EGREP "$file_magic_regex" > /dev/null; then
8076             :
8077           else
8078             cat <<_LT_EOF 1>&2
8079
8080 *** Warning: the command libtool uses to detect shared libraries,
8081 *** $file_magic_cmd, produces output that libtool cannot recognize.
8082 *** The result is that libtool may fail to recognize shared libraries
8083 *** as such.  This will affect the creation of libtool libraries that
8084 *** depend on shared libraries, but programs linked with such libtool
8085 *** libraries will work regardless of this problem.  Nevertheless, you
8086 *** may want to report the problem to your system manager and/or to
8087 *** bug-libtool@gnu.org
8088
8089 _LT_EOF
8090           fi ;;
8091         esac
8092       fi
8093       break
8094     fi
8095   done
8096   IFS="$lt_save_ifs"
8097   MAGIC_CMD="$lt_save_MAGIC_CMD"
8098   ;;
8099 esac
8100 fi
8101
8102 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
8103 if test -n "$MAGIC_CMD"; then
8104   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MAGIC_CMD" >&5
8105 $as_echo "$MAGIC_CMD" >&6; }
8106 else
8107   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8108 $as_echo "no" >&6; }
8109 fi
8110
8111
8112   else
8113     MAGIC_CMD=:
8114   fi
8115 fi
8116
8117   fi
8118   ;;
8119 esac
8120
8121 # Use C for the default configuration in the libtool script
8122
8123 lt_save_CC="$CC"
8124 ac_ext=c
8125 ac_cpp='$CPP $CPPFLAGS'
8126 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
8127 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
8128 ac_compiler_gnu=$ac_cv_c_compiler_gnu
8129
8130
8131 # Source file extension for C test sources.
8132 ac_ext=c
8133
8134 # Object file extension for compiled C test sources.
8135 objext=o
8136 objext=$objext
8137
8138 # Code to be used in simple compile tests
8139 lt_simple_compile_test_code="int some_variable = 0;"
8140
8141 # Code to be used in simple link tests
8142 lt_simple_link_test_code='int main(){return(0);}'
8143
8144
8145
8146
8147
8148
8149
8150 # If no C compiler was specified, use CC.
8151 LTCC=${LTCC-"$CC"}
8152
8153 # If no C compiler flags were specified, use CFLAGS.
8154 LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
8155
8156 # Allow CC to be a program name with arguments.
8157 compiler=$CC
8158
8159 # Save the default compiler, since it gets overwritten when the other
8160 # tags are being tested, and _LT_TAGVAR(compiler, []) is a NOP.
8161 compiler_DEFAULT=$CC
8162
8163 # save warnings/boilerplate of simple test code
8164 ac_outfile=conftest.$ac_objext
8165 echo "$lt_simple_compile_test_code" >conftest.$ac_ext
8166 eval "$ac_compile" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
8167 _lt_compiler_boilerplate=`cat conftest.err`
8168 $RM conftest*
8169
8170 ac_outfile=conftest.$ac_objext
8171 echo "$lt_simple_link_test_code" >conftest.$ac_ext
8172 eval "$ac_link" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
8173 _lt_linker_boilerplate=`cat conftest.err`
8174 $RM -r conftest*
8175
8176
8177 ## CAVEAT EMPTOR:
8178 ## There is no encapsulation within the following macros, do not change
8179 ## the running order or otherwise move them around unless you know exactly
8180 ## what you are doing...
8181 if test -n "$compiler"; then
8182
8183 lt_prog_compiler_no_builtin_flag=
8184
8185 if test "$GCC" = yes; then
8186   case $cc_basename in
8187   nvcc*)
8188     lt_prog_compiler_no_builtin_flag=' -Xcompiler -fno-builtin' ;;
8189   *)
8190     lt_prog_compiler_no_builtin_flag=' -fno-builtin' ;;
8191   esac
8192
8193   { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -fno-rtti -fno-exceptions" >&5
8194 $as_echo_n "checking if $compiler supports -fno-rtti -fno-exceptions... " >&6; }
8195 if ${lt_cv_prog_compiler_rtti_exceptions+:} false; then :
8196   $as_echo_n "(cached) " >&6
8197 else
8198   lt_cv_prog_compiler_rtti_exceptions=no
8199    ac_outfile=conftest.$ac_objext
8200    echo "$lt_simple_compile_test_code" > conftest.$ac_ext
8201    lt_compiler_flag="-fno-rtti -fno-exceptions"
8202    # Insert the option either (1) after the last *FLAGS variable, or
8203    # (2) before a word containing "conftest.", or (3) at the end.
8204    # Note that $ac_compile itself does not contain backslashes and begins
8205    # with a dollar sign (not a hyphen), so the echo should work correctly.
8206    # The option is referenced via a variable to avoid confusing sed.
8207    lt_compile=`echo "$ac_compile" | $SED \
8208    -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
8209    -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
8210    -e 's:$: $lt_compiler_flag:'`
8211    (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
8212    (eval "$lt_compile" 2>conftest.err)
8213    ac_status=$?
8214    cat conftest.err >&5
8215    echo "$as_me:$LINENO: \$? = $ac_status" >&5
8216    if (exit $ac_status) && test -s "$ac_outfile"; then
8217      # The compiler can only warn and ignore the option if not recognized
8218      # So say no if there are warnings other than the usual output.
8219      $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' >conftest.exp
8220      $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
8221      if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
8222        lt_cv_prog_compiler_rtti_exceptions=yes
8223      fi
8224    fi
8225    $RM conftest*
8226
8227 fi
8228 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_rtti_exceptions" >&5
8229 $as_echo "$lt_cv_prog_compiler_rtti_exceptions" >&6; }
8230
8231 if test x"$lt_cv_prog_compiler_rtti_exceptions" = xyes; then
8232     lt_prog_compiler_no_builtin_flag="$lt_prog_compiler_no_builtin_flag -fno-rtti -fno-exceptions"
8233 else
8234     :
8235 fi
8236
8237 fi
8238
8239
8240
8241
8242
8243
8244   lt_prog_compiler_wl=
8245 lt_prog_compiler_pic=
8246 lt_prog_compiler_static=
8247
8248
8249   if test "$GCC" = yes; then
8250     lt_prog_compiler_wl='-Wl,'
8251     lt_prog_compiler_static='-static'
8252
8253     case $host_os in
8254       aix*)
8255       # All AIX code is PIC.
8256       if test "$host_cpu" = ia64; then
8257         # AIX 5 now supports IA64 processor
8258         lt_prog_compiler_static='-Bstatic'
8259       fi
8260       ;;
8261
8262     amigaos*)
8263       case $host_cpu in
8264       powerpc)
8265             # see comment about AmigaOS4 .so support
8266             lt_prog_compiler_pic='-fPIC'
8267         ;;
8268       m68k)
8269             # FIXME: we need at least 68020 code to build shared libraries, but
8270             # adding the `-m68020' flag to GCC prevents building anything better,
8271             # like `-m68040'.
8272             lt_prog_compiler_pic='-m68020 -resident32 -malways-restore-a4'
8273         ;;
8274       esac
8275       ;;
8276
8277     beos* | irix5* | irix6* | nonstopux* | osf3* | osf4* | osf5*)
8278       # PIC is the default for these OSes.
8279       ;;
8280
8281     mingw* | cygwin* | pw32* | os2* | cegcc*)
8282       # This hack is so that the source file can tell whether it is being
8283       # built for inclusion in a dll (and should export symbols for example).
8284       # Although the cygwin gcc ignores -fPIC, still need this for old-style
8285       # (--disable-auto-import) libraries
8286       lt_prog_compiler_pic='-DDLL_EXPORT'
8287       ;;
8288
8289     darwin* | rhapsody*)
8290       # PIC is the default on this platform
8291       # Common symbols not allowed in MH_DYLIB files
8292       lt_prog_compiler_pic='-fno-common'
8293       ;;
8294
8295     haiku*)
8296       # PIC is the default for Haiku.
8297       # The "-static" flag exists, but is broken.
8298       lt_prog_compiler_static=
8299       ;;
8300
8301     hpux*)
8302       # PIC is the default for 64-bit PA HP-UX, but not for 32-bit
8303       # PA HP-UX.  On IA64 HP-UX, PIC is the default but the pic flag
8304       # sets the default TLS model and affects inlining.
8305       case $host_cpu in
8306       hppa*64*)
8307         # +Z the default
8308         ;;
8309       *)
8310         lt_prog_compiler_pic='-fPIC'
8311         ;;
8312       esac
8313       ;;
8314
8315     interix[3-9]*)
8316       # Interix 3.x gcc -fpic/-fPIC options generate broken code.
8317       # Instead, we relocate shared libraries at runtime.
8318       ;;
8319
8320     msdosdjgpp*)
8321       # Just because we use GCC doesn't mean we suddenly get shared libraries
8322       # on systems that don't support them.
8323       lt_prog_compiler_can_build_shared=no
8324       enable_shared=no
8325       ;;
8326
8327     *nto* | *qnx*)
8328       # QNX uses GNU C++, but need to define -shared option too, otherwise
8329       # it will coredump.
8330       lt_prog_compiler_pic='-fPIC -shared'
8331       ;;
8332
8333     sysv4*MP*)
8334       if test -d /usr/nec; then
8335         lt_prog_compiler_pic=-Kconform_pic
8336       fi
8337       ;;
8338
8339     *)
8340       lt_prog_compiler_pic='-fPIC'
8341       ;;
8342     esac
8343
8344     case $cc_basename in
8345     nvcc*) # Cuda Compiler Driver 2.2
8346       lt_prog_compiler_wl='-Xlinker '
8347       if test -n "$lt_prog_compiler_pic"; then
8348         lt_prog_compiler_pic="-Xcompiler $lt_prog_compiler_pic"
8349       fi
8350       ;;
8351     esac
8352   else
8353     # PORTME Check for flag to pass linker flags through the system compiler.
8354     case $host_os in
8355     aix*)
8356       lt_prog_compiler_wl='-Wl,'
8357       if test "$host_cpu" = ia64; then
8358         # AIX 5 now supports IA64 processor
8359         lt_prog_compiler_static='-Bstatic'
8360       else
8361         lt_prog_compiler_static='-bnso -bI:/lib/syscalls.exp'
8362       fi
8363       ;;
8364
8365     mingw* | cygwin* | pw32* | os2* | cegcc*)
8366       # This hack is so that the source file can tell whether it is being
8367       # built for inclusion in a dll (and should export symbols for example).
8368       lt_prog_compiler_pic='-DDLL_EXPORT'
8369       ;;
8370
8371     hpux9* | hpux10* | hpux11*)
8372       lt_prog_compiler_wl='-Wl,'
8373       # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
8374       # not for PA HP-UX.
8375       case $host_cpu in
8376       hppa*64*|ia64*)
8377         # +Z the default
8378         ;;
8379       *)
8380         lt_prog_compiler_pic='+Z'
8381         ;;
8382       esac
8383       # Is there a better lt_prog_compiler_static that works with the bundled CC?
8384       lt_prog_compiler_static='${wl}-a ${wl}archive'
8385       ;;
8386
8387     irix5* | irix6* | nonstopux*)
8388       lt_prog_compiler_wl='-Wl,'
8389       # PIC (with -KPIC) is the default.
8390       lt_prog_compiler_static='-non_shared'
8391       ;;
8392
8393     linux* | k*bsd*-gnu | kopensolaris*-gnu)
8394       case $cc_basename in
8395       # old Intel for x86_64 which still supported -KPIC.
8396       ecc*)
8397         lt_prog_compiler_wl='-Wl,'
8398         lt_prog_compiler_pic='-KPIC'
8399         lt_prog_compiler_static='-static'
8400         ;;
8401       # icc used to be incompatible with GCC.
8402       # ICC 10 doesn't accept -KPIC any more.
8403       icc* | ifort*)
8404         lt_prog_compiler_wl='-Wl,'
8405         lt_prog_compiler_pic='-fPIC'
8406         lt_prog_compiler_static='-static'
8407         ;;
8408       # Lahey Fortran 8.1.
8409       lf95*)
8410         lt_prog_compiler_wl='-Wl,'
8411         lt_prog_compiler_pic='--shared'
8412         lt_prog_compiler_static='--static'
8413         ;;
8414       nagfor*)
8415         # NAG Fortran compiler
8416         lt_prog_compiler_wl='-Wl,-Wl,,'
8417         lt_prog_compiler_pic='-PIC'
8418         lt_prog_compiler_static='-Bstatic'
8419         ;;
8420       pgcc* | pgf77* | pgf90* | pgf95* | pgfortran*)
8421         # Portland Group compilers (*not* the Pentium gcc compiler,
8422         # which looks to be a dead project)
8423         lt_prog_compiler_wl='-Wl,'
8424         lt_prog_compiler_pic='-fpic'
8425         lt_prog_compiler_static='-Bstatic'
8426         ;;
8427       ccc*)
8428         lt_prog_compiler_wl='-Wl,'
8429         # All Alpha code is PIC.
8430         lt_prog_compiler_static='-non_shared'
8431         ;;
8432       xl* | bgxl* | bgf* | mpixl*)
8433         # IBM XL C 8.0/Fortran 10.1, 11.1 on PPC and BlueGene
8434         lt_prog_compiler_wl='-Wl,'
8435         lt_prog_compiler_pic='-qpic'
8436         lt_prog_compiler_static='-qstaticlink'
8437         ;;
8438       *)
8439         case `$CC -V 2>&1 | sed 5q` in
8440         *Sun\ Ceres\ Fortran* | *Sun*Fortran*\ [1-7].* | *Sun*Fortran*\ 8.[0-3]*)
8441           # Sun Fortran 8.3 passes all unrecognized flags to the linker
8442           lt_prog_compiler_pic='-KPIC'
8443           lt_prog_compiler_static='-Bstatic'
8444           lt_prog_compiler_wl=''
8445           ;;
8446         *Sun\ F* | *Sun*Fortran*)
8447           lt_prog_compiler_pic='-KPIC'
8448           lt_prog_compiler_static='-Bstatic'
8449           lt_prog_compiler_wl='-Qoption ld '
8450           ;;
8451         *Sun\ C*)
8452           # Sun C 5.9
8453           lt_prog_compiler_pic='-KPIC'
8454           lt_prog_compiler_static='-Bstatic'
8455           lt_prog_compiler_wl='-Wl,'
8456           ;;
8457         *Intel*\ [CF]*Compiler*)
8458           lt_prog_compiler_wl='-Wl,'
8459           lt_prog_compiler_pic='-fPIC'
8460           lt_prog_compiler_static='-static'
8461           ;;
8462         *Portland\ Group*)
8463           lt_prog_compiler_wl='-Wl,'
8464           lt_prog_compiler_pic='-fpic'
8465           lt_prog_compiler_static='-Bstatic'
8466           ;;
8467         esac
8468         ;;
8469       esac
8470       ;;
8471
8472     newsos6)
8473       lt_prog_compiler_pic='-KPIC'
8474       lt_prog_compiler_static='-Bstatic'
8475       ;;
8476
8477     *nto* | *qnx*)
8478       # QNX uses GNU C++, but need to define -shared option too, otherwise
8479       # it will coredump.
8480       lt_prog_compiler_pic='-fPIC -shared'
8481       ;;
8482
8483     osf3* | osf4* | osf5*)
8484       lt_prog_compiler_wl='-Wl,'
8485       # All OSF/1 code is PIC.
8486       lt_prog_compiler_static='-non_shared'
8487       ;;
8488
8489     rdos*)
8490       lt_prog_compiler_static='-non_shared'
8491       ;;
8492
8493     solaris*)
8494       lt_prog_compiler_pic='-KPIC'
8495       lt_prog_compiler_static='-Bstatic'
8496       case $cc_basename in
8497       f77* | f90* | f95* | sunf77* | sunf90* | sunf95*)
8498         lt_prog_compiler_wl='-Qoption ld ';;
8499       *)
8500         lt_prog_compiler_wl='-Wl,';;
8501       esac
8502       ;;
8503
8504     sunos4*)
8505       lt_prog_compiler_wl='-Qoption ld '
8506       lt_prog_compiler_pic='-PIC'
8507       lt_prog_compiler_static='-Bstatic'
8508       ;;
8509
8510     sysv4 | sysv4.2uw2* | sysv4.3*)
8511       lt_prog_compiler_wl='-Wl,'
8512       lt_prog_compiler_pic='-KPIC'
8513       lt_prog_compiler_static='-Bstatic'
8514       ;;
8515
8516     sysv4*MP*)
8517       if test -d /usr/nec ;then
8518         lt_prog_compiler_pic='-Kconform_pic'
8519         lt_prog_compiler_static='-Bstatic'
8520       fi
8521       ;;
8522
8523     sysv5* | unixware* | sco3.2v5* | sco5v6* | OpenUNIX*)
8524       lt_prog_compiler_wl='-Wl,'
8525       lt_prog_compiler_pic='-KPIC'
8526       lt_prog_compiler_static='-Bstatic'
8527       ;;
8528
8529     unicos*)
8530       lt_prog_compiler_wl='-Wl,'
8531       lt_prog_compiler_can_build_shared=no
8532       ;;
8533
8534     uts4*)
8535       lt_prog_compiler_pic='-pic'
8536       lt_prog_compiler_static='-Bstatic'
8537       ;;
8538
8539     *)
8540       lt_prog_compiler_can_build_shared=no
8541       ;;
8542     esac
8543   fi
8544
8545 case $host_os in
8546   # For platforms which do not support PIC, -DPIC is meaningless:
8547   *djgpp*)
8548     lt_prog_compiler_pic=
8549     ;;
8550   *)
8551     lt_prog_compiler_pic="$lt_prog_compiler_pic -DPIC"
8552     ;;
8553 esac
8554
8555 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $compiler option to produce PIC" >&5
8556 $as_echo_n "checking for $compiler option to produce PIC... " >&6; }
8557 if ${lt_cv_prog_compiler_pic+:} false; then :
8558   $as_echo_n "(cached) " >&6
8559 else
8560   lt_cv_prog_compiler_pic=$lt_prog_compiler_pic
8561 fi
8562 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic" >&5
8563 $as_echo "$lt_cv_prog_compiler_pic" >&6; }
8564 lt_prog_compiler_pic=$lt_cv_prog_compiler_pic
8565
8566 #
8567 # Check to make sure the PIC flag actually works.
8568 #
8569 if test -n "$lt_prog_compiler_pic"; then
8570   { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler PIC flag $lt_prog_compiler_pic works" >&5
8571 $as_echo_n "checking if $compiler PIC flag $lt_prog_compiler_pic works... " >&6; }
8572 if ${lt_cv_prog_compiler_pic_works+:} false; then :
8573   $as_echo_n "(cached) " >&6
8574 else
8575   lt_cv_prog_compiler_pic_works=no
8576    ac_outfile=conftest.$ac_objext
8577    echo "$lt_simple_compile_test_code" > conftest.$ac_ext
8578    lt_compiler_flag="$lt_prog_compiler_pic -DPIC"
8579    # Insert the option either (1) after the last *FLAGS variable, or
8580    # (2) before a word containing "conftest.", or (3) at the end.
8581    # Note that $ac_compile itself does not contain backslashes and begins
8582    # with a dollar sign (not a hyphen), so the echo should work correctly.
8583    # The option is referenced via a variable to avoid confusing sed.
8584    lt_compile=`echo "$ac_compile" | $SED \
8585    -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
8586    -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
8587    -e 's:$: $lt_compiler_flag:'`
8588    (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
8589    (eval "$lt_compile" 2>conftest.err)
8590    ac_status=$?
8591    cat conftest.err >&5
8592    echo "$as_me:$LINENO: \$? = $ac_status" >&5
8593    if (exit $ac_status) && test -s "$ac_outfile"; then
8594      # The compiler can only warn and ignore the option if not recognized
8595      # So say no if there are warnings other than the usual output.
8596      $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' >conftest.exp
8597      $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
8598      if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
8599        lt_cv_prog_compiler_pic_works=yes
8600      fi
8601    fi
8602    $RM conftest*
8603
8604 fi
8605 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic_works" >&5
8606 $as_echo "$lt_cv_prog_compiler_pic_works" >&6; }
8607
8608 if test x"$lt_cv_prog_compiler_pic_works" = xyes; then
8609     case $lt_prog_compiler_pic in
8610      "" | " "*) ;;
8611      *) lt_prog_compiler_pic=" $lt_prog_compiler_pic" ;;
8612      esac
8613 else
8614     lt_prog_compiler_pic=
8615      lt_prog_compiler_can_build_shared=no
8616 fi
8617
8618 fi
8619
8620
8621
8622
8623
8624
8625
8626
8627
8628
8629
8630 #
8631 # Check to make sure the static flag actually works.
8632 #
8633 wl=$lt_prog_compiler_wl eval lt_tmp_static_flag=\"$lt_prog_compiler_static\"
8634 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler static flag $lt_tmp_static_flag works" >&5
8635 $as_echo_n "checking if $compiler static flag $lt_tmp_static_flag works... " >&6; }
8636 if ${lt_cv_prog_compiler_static_works+:} false; then :
8637   $as_echo_n "(cached) " >&6
8638 else
8639   lt_cv_prog_compiler_static_works=no
8640    save_LDFLAGS="$LDFLAGS"
8641    LDFLAGS="$LDFLAGS $lt_tmp_static_flag"
8642    echo "$lt_simple_link_test_code" > conftest.$ac_ext
8643    if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
8644      # The linker can only warn and ignore the option if not recognized
8645      # So say no if there are warnings
8646      if test -s conftest.err; then
8647        # Append any errors to the config.log.
8648        cat conftest.err 1>&5
8649        $ECHO "$_lt_linker_boilerplate" | $SED '/^$/d' > conftest.exp
8650        $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
8651        if diff conftest.exp conftest.er2 >/dev/null; then
8652          lt_cv_prog_compiler_static_works=yes
8653        fi
8654      else
8655        lt_cv_prog_compiler_static_works=yes
8656      fi
8657    fi
8658    $RM -r conftest*
8659    LDFLAGS="$save_LDFLAGS"
8660
8661 fi
8662 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_static_works" >&5
8663 $as_echo "$lt_cv_prog_compiler_static_works" >&6; }
8664
8665 if test x"$lt_cv_prog_compiler_static_works" = xyes; then
8666     :
8667 else
8668     lt_prog_compiler_static=
8669 fi
8670
8671
8672
8673
8674
8675
8676
8677   { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
8678 $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
8679 if ${lt_cv_prog_compiler_c_o+:} false; then :
8680   $as_echo_n "(cached) " >&6
8681 else
8682   lt_cv_prog_compiler_c_o=no
8683    $RM -r conftest 2>/dev/null
8684    mkdir conftest
8685    cd conftest
8686    mkdir out
8687    echo "$lt_simple_compile_test_code" > conftest.$ac_ext
8688
8689    lt_compiler_flag="-o out/conftest2.$ac_objext"
8690    # Insert the option either (1) after the last *FLAGS variable, or
8691    # (2) before a word containing "conftest.", or (3) at the end.
8692    # Note that $ac_compile itself does not contain backslashes and begins
8693    # with a dollar sign (not a hyphen), so the echo should work correctly.
8694    lt_compile=`echo "$ac_compile" | $SED \
8695    -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
8696    -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
8697    -e 's:$: $lt_compiler_flag:'`
8698    (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
8699    (eval "$lt_compile" 2>out/conftest.err)
8700    ac_status=$?
8701    cat out/conftest.err >&5
8702    echo "$as_me:$LINENO: \$? = $ac_status" >&5
8703    if (exit $ac_status) && test -s out/conftest2.$ac_objext
8704    then
8705      # The compiler can only warn and ignore the option if not recognized
8706      # So say no if there are warnings
8707      $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' > out/conftest.exp
8708      $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
8709      if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
8710        lt_cv_prog_compiler_c_o=yes
8711      fi
8712    fi
8713    chmod u+w . 2>&5
8714    $RM conftest*
8715    # SGI C++ compiler will create directory out/ii_files/ for
8716    # template instantiation
8717    test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
8718    $RM out/* && rmdir out
8719    cd ..
8720    $RM -r conftest
8721    $RM conftest*
8722
8723 fi
8724 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o" >&5
8725 $as_echo "$lt_cv_prog_compiler_c_o" >&6; }
8726
8727
8728
8729
8730
8731
8732   { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
8733 $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
8734 if ${lt_cv_prog_compiler_c_o+:} false; then :
8735   $as_echo_n "(cached) " >&6
8736 else
8737   lt_cv_prog_compiler_c_o=no
8738    $RM -r conftest 2>/dev/null
8739    mkdir conftest
8740    cd conftest
8741    mkdir out
8742    echo "$lt_simple_compile_test_code" > conftest.$ac_ext
8743
8744    lt_compiler_flag="-o out/conftest2.$ac_objext"
8745    # Insert the option either (1) after the last *FLAGS variable, or
8746    # (2) before a word containing "conftest.", or (3) at the end.
8747    # Note that $ac_compile itself does not contain backslashes and begins
8748    # with a dollar sign (not a hyphen), so the echo should work correctly.
8749    lt_compile=`echo "$ac_compile" | $SED \
8750    -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
8751    -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
8752    -e 's:$: $lt_compiler_flag:'`
8753    (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
8754    (eval "$lt_compile" 2>out/conftest.err)
8755    ac_status=$?
8756    cat out/conftest.err >&5
8757    echo "$as_me:$LINENO: \$? = $ac_status" >&5
8758    if (exit $ac_status) && test -s out/conftest2.$ac_objext
8759    then
8760      # The compiler can only warn and ignore the option if not recognized
8761      # So say no if there are warnings
8762      $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' > out/conftest.exp
8763      $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
8764      if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
8765        lt_cv_prog_compiler_c_o=yes
8766      fi
8767    fi
8768    chmod u+w . 2>&5
8769    $RM conftest*
8770    # SGI C++ compiler will create directory out/ii_files/ for
8771    # template instantiation
8772    test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
8773    $RM out/* && rmdir out
8774    cd ..
8775    $RM -r conftest
8776    $RM conftest*
8777
8778 fi
8779 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o" >&5
8780 $as_echo "$lt_cv_prog_compiler_c_o" >&6; }
8781
8782
8783
8784
8785 hard_links="nottested"
8786 if test "$lt_cv_prog_compiler_c_o" = no && test "$need_locks" != no; then
8787   # do not overwrite the value of need_locks provided by the user
8788   { $as_echo "$as_me:${as_lineno-$LINENO}: checking if we can lock with hard links" >&5
8789 $as_echo_n "checking if we can lock with hard links... " >&6; }
8790   hard_links=yes
8791   $RM conftest*
8792   ln conftest.a conftest.b 2>/dev/null && hard_links=no
8793   touch conftest.a
8794   ln conftest.a conftest.b 2>&5 || hard_links=no
8795   ln conftest.a conftest.b 2>/dev/null && hard_links=no
8796   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hard_links" >&5
8797 $as_echo "$hard_links" >&6; }
8798   if test "$hard_links" = no; then
8799     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5
8800 $as_echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;}
8801     need_locks=warn
8802   fi
8803 else
8804   need_locks=no
8805 fi
8806
8807
8808
8809
8810
8811
8812   { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $compiler linker ($LD) supports shared libraries" >&5
8813 $as_echo_n "checking whether the $compiler linker ($LD) supports shared libraries... " >&6; }
8814
8815   runpath_var=
8816   allow_undefined_flag=
8817   always_export_symbols=no
8818   archive_cmds=
8819   archive_expsym_cmds=
8820   compiler_needs_object=no
8821   enable_shared_with_static_runtimes=no
8822   export_dynamic_flag_spec=
8823   export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
8824   hardcode_automatic=no
8825   hardcode_direct=no
8826   hardcode_direct_absolute=no
8827   hardcode_libdir_flag_spec=
8828   hardcode_libdir_separator=
8829   hardcode_minus_L=no
8830   hardcode_shlibpath_var=unsupported
8831   inherit_rpath=no
8832   link_all_deplibs=unknown
8833   module_cmds=
8834   module_expsym_cmds=
8835   old_archive_from_new_cmds=
8836   old_archive_from_expsyms_cmds=
8837   thread_safe_flag_spec=
8838   whole_archive_flag_spec=
8839   # include_expsyms should be a list of space-separated symbols to be *always*
8840   # included in the symbol list
8841   include_expsyms=
8842   # exclude_expsyms can be an extended regexp of symbols to exclude
8843   # it will be wrapped by ` (' and `)$', so one must not match beginning or
8844   # end of line.  Example: `a|bc|.*d.*' will exclude the symbols `a' and `bc',
8845   # as well as any symbol that contains `d'.
8846   exclude_expsyms='_GLOBAL_OFFSET_TABLE_|_GLOBAL__F[ID]_.*'
8847   # Although _GLOBAL_OFFSET_TABLE_ is a valid symbol C name, most a.out
8848   # platforms (ab)use it in PIC code, but their linkers get confused if
8849   # the symbol is explicitly referenced.  Since portable code cannot
8850   # rely on this symbol name, it's probably fine to never include it in
8851   # preloaded symbol tables.
8852   # Exclude shared library initialization/finalization symbols.
8853   extract_expsyms_cmds=
8854
8855   case $host_os in
8856   cygwin* | mingw* | pw32* | cegcc*)
8857     # FIXME: the MSVC++ port hasn't been tested in a loooong time
8858     # When not using gcc, we currently assume that we are using
8859     # Microsoft Visual C++.
8860     if test "$GCC" != yes; then
8861       with_gnu_ld=no
8862     fi
8863     ;;
8864   interix*)
8865     # we just hope/assume this is gcc and not c89 (= MSVC++)
8866     with_gnu_ld=yes
8867     ;;
8868   openbsd*)
8869     with_gnu_ld=no
8870     ;;
8871   esac
8872
8873   ld_shlibs=yes
8874
8875   # On some targets, GNU ld is compatible enough with the native linker
8876   # that we're better off using the native interface for both.
8877   lt_use_gnu_ld_interface=no
8878   if test "$with_gnu_ld" = yes; then
8879     case $host_os in
8880       aix*)
8881         # The AIX port of GNU ld has always aspired to compatibility
8882         # with the native linker.  However, as the warning in the GNU ld
8883         # block says, versions before 2.19.5* couldn't really create working
8884         # shared libraries, regardless of the interface used.
8885         case `$LD -v 2>&1` in
8886           *\ \(GNU\ Binutils\)\ 2.19.5*) ;;
8887           *\ \(GNU\ Binutils\)\ 2.[2-9]*) ;;
8888           *\ \(GNU\ Binutils\)\ [3-9]*) ;;
8889           *)
8890             lt_use_gnu_ld_interface=yes
8891             ;;
8892         esac
8893         ;;
8894       *)
8895         lt_use_gnu_ld_interface=yes
8896         ;;
8897     esac
8898   fi
8899
8900   if test "$lt_use_gnu_ld_interface" = yes; then
8901     # If archive_cmds runs LD, not CC, wlarc should be empty
8902     wlarc='${wl}'
8903
8904     # Set some defaults for GNU ld with shared library support. These
8905     # are reset later if shared libraries are not supported. Putting them
8906     # here allows them to be overridden if necessary.
8907     runpath_var=LD_RUN_PATH
8908     hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
8909     export_dynamic_flag_spec='${wl}--export-dynamic'
8910     # ancient GNU ld didn't support --whole-archive et. al.
8911     if $LD --help 2>&1 | $GREP 'no-whole-archive' > /dev/null; then
8912       whole_archive_flag_spec="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
8913     else
8914       whole_archive_flag_spec=
8915     fi
8916     supports_anon_versioning=no
8917     case `$LD -v 2>&1` in
8918       *GNU\ gold*) supports_anon_versioning=yes ;;
8919       *\ [01].* | *\ 2.[0-9].* | *\ 2.10.*) ;; # catch versions < 2.11
8920       *\ 2.11.93.0.2\ *) supports_anon_versioning=yes ;; # RH7.3 ...
8921       *\ 2.11.92.0.12\ *) supports_anon_versioning=yes ;; # Mandrake 8.2 ...
8922       *\ 2.11.*) ;; # other 2.11 versions
8923       *) supports_anon_versioning=yes ;;
8924     esac
8925
8926     # See if GNU ld supports shared libraries.
8927     case $host_os in
8928     aix[3-9]*)
8929       # On AIX/PPC, the GNU linker is very broken
8930       if test "$host_cpu" != ia64; then
8931         ld_shlibs=no
8932         cat <<_LT_EOF 1>&2
8933
8934 *** Warning: the GNU linker, at least up to release 2.19, is reported
8935 *** to be unable to reliably create shared libraries on AIX.
8936 *** Therefore, libtool is disabling shared libraries support.  If you
8937 *** really care for shared libraries, you may want to install binutils
8938 *** 2.20 or above, or modify your PATH so that a non-GNU linker is found.
8939 *** You will then need to restart the configuration process.
8940
8941 _LT_EOF
8942       fi
8943       ;;
8944
8945     amigaos*)
8946       case $host_cpu in
8947       powerpc)
8948             # see comment about AmigaOS4 .so support
8949             archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
8950             archive_expsym_cmds=''
8951         ;;
8952       m68k)
8953             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)'
8954             hardcode_libdir_flag_spec='-L$libdir'
8955             hardcode_minus_L=yes
8956         ;;
8957       esac
8958       ;;
8959
8960     beos*)
8961       if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
8962         allow_undefined_flag=unsupported
8963         # Joseph Beckenbach <jrb3@best.com> says some releases of gcc
8964         # support --undefined.  This deserves some investigation.  FIXME
8965         archive_cmds='$CC -nostart $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
8966       else
8967         ld_shlibs=no
8968       fi
8969       ;;
8970
8971     cygwin* | mingw* | pw32* | cegcc*)
8972       # _LT_TAGVAR(hardcode_libdir_flag_spec, ) is actually meaningless,
8973       # as there is no search path for DLLs.
8974       hardcode_libdir_flag_spec='-L$libdir'
8975       export_dynamic_flag_spec='${wl}--export-all-symbols'
8976       allow_undefined_flag=unsupported
8977       always_export_symbols=no
8978       enable_shared_with_static_runtimes=yes
8979       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'
8980       exclude_expsyms='[_]+GLOBAL_OFFSET_TABLE_|[_]+GLOBAL__[FID]_.*|[_]+head_[A-Za-z0-9_]+_dll|[A-Za-z0-9_]+_dll_iname'
8981
8982       if $LD --help 2>&1 | $GREP 'auto-import' > /dev/null; then
8983         archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
8984         # If the export-symbols file already is a .def file (1st line
8985         # is EXPORTS), use it as is; otherwise, prepend...
8986         archive_expsym_cmds='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
8987           cp $export_symbols $output_objdir/$soname.def;
8988         else
8989           echo EXPORTS > $output_objdir/$soname.def;
8990           cat $export_symbols >> $output_objdir/$soname.def;
8991         fi~
8992         $CC -shared $output_objdir/$soname.def $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
8993       else
8994         ld_shlibs=no
8995       fi
8996       ;;
8997
8998     haiku*)
8999       archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9000       link_all_deplibs=yes
9001       ;;
9002
9003     interix[3-9]*)
9004       hardcode_direct=no
9005       hardcode_shlibpath_var=no
9006       hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
9007       export_dynamic_flag_spec='${wl}-E'
9008       # Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc.
9009       # Instead, shared libraries are loaded at an image base (0x10000000 by
9010       # default) and relocated if they conflict, which is a slow very memory
9011       # consuming and fragmenting process.  To avoid this, we pick a random,
9012       # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link
9013       # time.  Moving up from 0x10000000 also allows more sbrk(2) space.
9014       archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-h,$soname ${wl}--image-base,`expr ${RANDOM-$$} % 4096 / 2 \* 262144 + 1342177280` -o $lib'
9015       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'
9016       ;;
9017
9018     gnu* | linux* | tpf* | k*bsd*-gnu | kopensolaris*-gnu)
9019       tmp_diet=no
9020       if test "$host_os" = linux-dietlibc; then
9021         case $cc_basename in
9022           diet\ *) tmp_diet=yes;;       # linux-dietlibc with static linking (!diet-dyn)
9023         esac
9024       fi
9025       if $LD --help 2>&1 | $EGREP ': supported targets:.* elf' > /dev/null \
9026          && test "$tmp_diet" = no
9027       then
9028         tmp_addflag=' $pic_flag'
9029         tmp_sharedflag='-shared'
9030         case $cc_basename,$host_cpu in
9031         pgcc*)                          # Portland Group C compiler
9032           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'
9033           tmp_addflag=' $pic_flag'
9034           ;;
9035         pgf77* | pgf90* | pgf95* | pgfortran*)
9036                                         # Portland Group f77 and f90 compilers
9037           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'
9038           tmp_addflag=' $pic_flag -Mnomain' ;;
9039         ecc*,ia64* | icc*,ia64*)        # Intel C compiler on ia64
9040           tmp_addflag=' -i_dynamic' ;;
9041         efc*,ia64* | ifort*,ia64*)      # Intel Fortran compiler on ia64
9042           tmp_addflag=' -i_dynamic -nofor_main' ;;
9043         ifc* | ifort*)                  # Intel Fortran compiler
9044           tmp_addflag=' -nofor_main' ;;
9045         lf95*)                          # Lahey Fortran 8.1
9046           whole_archive_flag_spec=
9047           tmp_sharedflag='--shared' ;;
9048         xl[cC]* | bgxl[cC]* | mpixl[cC]*) # IBM XL C 8.0 on PPC (deal with xlf below)
9049           tmp_sharedflag='-qmkshrobj'
9050           tmp_addflag= ;;
9051         nvcc*)  # Cuda Compiler Driver 2.2
9052           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'
9053           compiler_needs_object=yes
9054           ;;
9055         esac
9056         case `$CC -V 2>&1 | sed 5q` in
9057         *Sun\ C*)                       # Sun C 5.9
9058           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'
9059           compiler_needs_object=yes
9060           tmp_sharedflag='-G' ;;
9061         *Sun\ F*)                       # Sun Fortran 8.3
9062           tmp_sharedflag='-G' ;;
9063         esac
9064         archive_cmds='$CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9065
9066         if test "x$supports_anon_versioning" = xyes; then
9067           archive_expsym_cmds='echo "{ global:" > $output_objdir/$libname.ver~
9068             cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
9069             echo "local: *; };" >> $output_objdir/$libname.ver~
9070             $CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-version-script ${wl}$output_objdir/$libname.ver -o $lib'
9071         fi
9072
9073         case $cc_basename in
9074         xlf* | bgf* | bgxlf* | mpixlf*)
9075           # IBM XL Fortran 10.1 on PPC cannot create shared libs itself
9076           whole_archive_flag_spec='--whole-archive$convenience --no-whole-archive'
9077           hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
9078           archive_cmds='$LD -shared $libobjs $deplibs $linker_flags -soname $soname -o $lib'
9079           if test "x$supports_anon_versioning" = xyes; then
9080             archive_expsym_cmds='echo "{ global:" > $output_objdir/$libname.ver~
9081               cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
9082               echo "local: *; };" >> $output_objdir/$libname.ver~
9083               $LD -shared $libobjs $deplibs $linker_flags -soname $soname -version-script $output_objdir/$libname.ver -o $lib'
9084           fi
9085           ;;
9086         esac
9087       else
9088         ld_shlibs=no
9089       fi
9090       ;;
9091
9092     netbsd*)
9093       if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
9094         archive_cmds='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib'
9095         wlarc=
9096       else
9097         archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9098         archive_expsym_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
9099       fi
9100       ;;
9101
9102     solaris*)
9103       if $LD -v 2>&1 | $GREP 'BFD 2\.8' > /dev/null; then
9104         ld_shlibs=no
9105         cat <<_LT_EOF 1>&2
9106
9107 *** Warning: The releases 2.8.* of the GNU linker cannot reliably
9108 *** create shared libraries on Solaris systems.  Therefore, libtool
9109 *** is disabling shared libraries support.  We urge you to upgrade GNU
9110 *** binutils to release 2.9.1 or newer.  Another option is to modify
9111 *** your PATH or compiler configuration so that the native linker is
9112 *** used, and then restart.
9113
9114 _LT_EOF
9115       elif $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
9116         archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9117         archive_expsym_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
9118       else
9119         ld_shlibs=no
9120       fi
9121       ;;
9122
9123     sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX*)
9124       case `$LD -v 2>&1` in
9125         *\ [01].* | *\ 2.[0-9].* | *\ 2.1[0-5].*)
9126         ld_shlibs=no
9127         cat <<_LT_EOF 1>&2
9128
9129 *** Warning: Releases of the GNU linker prior to 2.16.91.0.3 can not
9130 *** reliably create shared libraries on SCO systems.  Therefore, libtool
9131 *** is disabling shared libraries support.  We urge you to upgrade GNU
9132 *** binutils to release 2.16.91.0.3 or newer.  Another option is to modify
9133 *** your PATH or compiler configuration so that the native linker is
9134 *** used, and then restart.
9135
9136 _LT_EOF
9137         ;;
9138         *)
9139           # For security reasons, it is highly recommended that you always
9140           # use absolute paths for naming shared libraries, and exclude the
9141           # DT_RUNPATH tag from executables and libraries.  But doing so
9142           # requires that you compile everything twice, which is a pain.
9143           if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
9144             hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
9145             archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9146             archive_expsym_cmds='$CC -shared $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
9154     sunos4*)
9155       archive_cmds='$LD -assert pure-text -Bshareable -o $lib $libobjs $deplibs $linker_flags'
9156       wlarc=
9157       hardcode_direct=yes
9158       hardcode_shlibpath_var=no
9159       ;;
9160
9161     *)
9162       if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
9163         archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9164         archive_expsym_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
9165       else
9166         ld_shlibs=no
9167       fi
9168       ;;
9169     esac
9170
9171     if test "$ld_shlibs" = no; then
9172       runpath_var=
9173       hardcode_libdir_flag_spec=
9174       export_dynamic_flag_spec=
9175       whole_archive_flag_spec=
9176     fi
9177   else
9178     # PORTME fill in a description of your system's linker (not GNU ld)
9179     case $host_os in
9180     aix3*)
9181       allow_undefined_flag=unsupported
9182       always_export_symbols=yes
9183       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'
9184       # Note: this linker hardcodes the directories in LIBPATH if there
9185       # are no directories specified by -L.
9186       hardcode_minus_L=yes
9187       if test "$GCC" = yes && test -z "$lt_prog_compiler_static"; then
9188         # Neither direct hardcoding nor static linking is supported with a
9189         # broken collect2.
9190         hardcode_direct=unsupported
9191       fi
9192       ;;
9193
9194     aix[4-9]*)
9195       if test "$host_cpu" = ia64; then
9196         # On IA64, the linker does run time linking by default, so we don't
9197         # have to do anything special.
9198         aix_use_runtimelinking=no
9199         exp_sym_flag='-Bexport'
9200         no_entry_flag=""
9201       else
9202         # If we're using GNU nm, then we don't want the "-C" option.
9203         # -C means demangle to AIX nm, but means don't demangle with GNU nm
9204         # Also, AIX nm treats weak defined symbols like other global
9205         # defined symbols, whereas GNU nm marks them as "W".
9206         if $NM -V 2>&1 | $GREP 'GNU' > /dev/null; then
9207           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'
9208         else
9209           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'
9210         fi
9211         aix_use_runtimelinking=no
9212
9213         # Test if we are trying to use run time linking or normal
9214         # AIX style linking. If -brtl is somewhere in LDFLAGS, we
9215         # need to do runtime linking.
9216         case $host_os in aix4.[23]|aix4.[23].*|aix[5-9]*)
9217           for ld_flag in $LDFLAGS; do
9218           if (test $ld_flag = "-brtl" || test $ld_flag = "-Wl,-brtl"); then
9219             aix_use_runtimelinking=yes
9220             break
9221           fi
9222           done
9223           ;;
9224         esac
9225
9226         exp_sym_flag='-bexport'
9227         no_entry_flag='-bnoentry'
9228       fi
9229
9230       # When large executables or shared objects are built, AIX ld can
9231       # have problems creating the table of contents.  If linking a library
9232       # or program results in "error TOC overflow" add -mminimal-toc to
9233       # CXXFLAGS/CFLAGS for g++/gcc.  In the cases where that is not
9234       # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
9235
9236       archive_cmds=''
9237       hardcode_direct=yes
9238       hardcode_direct_absolute=yes
9239       hardcode_libdir_separator=':'
9240       link_all_deplibs=yes
9241       file_list_spec='${wl}-f,'
9242
9243       if test "$GCC" = yes; then
9244         case $host_os in aix4.[012]|aix4.[012].*)
9245         # We only want to do this on AIX 4.2 and lower, the check
9246         # below for broken collect2 doesn't work under 4.3+
9247           collect2name=`${CC} -print-prog-name=collect2`
9248           if test -f "$collect2name" &&
9249            strings "$collect2name" | $GREP resolve_lib_name >/dev/null
9250           then
9251           # We have reworked collect2
9252           :
9253           else
9254           # We have old collect2
9255           hardcode_direct=unsupported
9256           # It fails to find uninstalled libraries when the uninstalled
9257           # path is not listed in the libpath.  Setting hardcode_minus_L
9258           # to unsupported forces relinking
9259           hardcode_minus_L=yes
9260           hardcode_libdir_flag_spec='-L$libdir'
9261           hardcode_libdir_separator=
9262           fi
9263           ;;
9264         esac
9265         shared_flag='-shared'
9266         if test "$aix_use_runtimelinking" = yes; then
9267           shared_flag="$shared_flag "'${wl}-G'
9268         fi
9269       else
9270         # not using gcc
9271         if test "$host_cpu" = ia64; then
9272         # VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
9273         # chokes on -Wl,-G. The following line is correct:
9274           shared_flag='-G'
9275         else
9276           if test "$aix_use_runtimelinking" = yes; then
9277             shared_flag='${wl}-G'
9278           else
9279             shared_flag='${wl}-bM:SRE'
9280           fi
9281         fi
9282       fi
9283
9284       export_dynamic_flag_spec='${wl}-bexpall'
9285       # It seems that -bexpall does not export symbols beginning with
9286       # underscore (_), so it is better to generate a list of symbols to export.
9287       always_export_symbols=yes
9288       if test "$aix_use_runtimelinking" = yes; then
9289         # Warning - without using the other runtime loading flags (-brtl),
9290         # -berok will link without error, but may produce a broken library.
9291         allow_undefined_flag='-berok'
9292         # Determine the default libpath from the value encoded in an
9293         # empty executable.
9294         if test "${lt_cv_aix_libpath+set}" = set; then
9295   aix_libpath=$lt_cv_aix_libpath
9296 else
9297   if ${lt_cv_aix_libpath_+:} false; then :
9298   $as_echo_n "(cached) " >&6
9299 else
9300   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9301 /* end confdefs.h.  */
9302
9303 int
9304 main ()
9305 {
9306
9307   ;
9308   return 0;
9309 }
9310 _ACEOF
9311 if ac_fn_c_try_link "$LINENO"; then :
9312
9313   lt_aix_libpath_sed='
9314       /Import File Strings/,/^$/ {
9315           /^0/ {
9316               s/^0  *\([^ ]*\) *$/\1/
9317               p
9318           }
9319       }'
9320   lt_cv_aix_libpath_=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
9321   # Check for a 64-bit object if we didn't find anything.
9322   if test -z "$lt_cv_aix_libpath_"; then
9323     lt_cv_aix_libpath_=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
9324   fi
9325 fi
9326 rm -f core conftest.err conftest.$ac_objext \
9327     conftest$ac_exeext conftest.$ac_ext
9328   if test -z "$lt_cv_aix_libpath_"; then
9329     lt_cv_aix_libpath_="/usr/lib:/lib"
9330   fi
9331
9332 fi
9333
9334   aix_libpath=$lt_cv_aix_libpath_
9335 fi
9336
9337         hardcode_libdir_flag_spec='${wl}-blibpath:$libdir:'"$aix_libpath"
9338         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"
9339       else
9340         if test "$host_cpu" = ia64; then
9341           hardcode_libdir_flag_spec='${wl}-R $libdir:/usr/lib:/lib'
9342           allow_undefined_flag="-z nodefs"
9343           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"
9344         else
9345          # Determine the default libpath from the value encoded in an
9346          # empty executable.
9347          if test "${lt_cv_aix_libpath+set}" = set; then
9348   aix_libpath=$lt_cv_aix_libpath
9349 else
9350   if ${lt_cv_aix_libpath_+:} false; then :
9351   $as_echo_n "(cached) " >&6
9352 else
9353   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9354 /* end confdefs.h.  */
9355
9356 int
9357 main ()
9358 {
9359
9360   ;
9361   return 0;
9362 }
9363 _ACEOF
9364 if ac_fn_c_try_link "$LINENO"; then :
9365
9366   lt_aix_libpath_sed='
9367       /Import File Strings/,/^$/ {
9368           /^0/ {
9369               s/^0  *\([^ ]*\) *$/\1/
9370               p
9371           }
9372       }'
9373   lt_cv_aix_libpath_=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
9374   # Check for a 64-bit object if we didn't find anything.
9375   if test -z "$lt_cv_aix_libpath_"; then
9376     lt_cv_aix_libpath_=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
9377   fi
9378 fi
9379 rm -f core conftest.err conftest.$ac_objext \
9380     conftest$ac_exeext conftest.$ac_ext
9381   if test -z "$lt_cv_aix_libpath_"; then
9382     lt_cv_aix_libpath_="/usr/lib:/lib"
9383   fi
9384
9385 fi
9386
9387   aix_libpath=$lt_cv_aix_libpath_
9388 fi
9389
9390          hardcode_libdir_flag_spec='${wl}-blibpath:$libdir:'"$aix_libpath"
9391           # Warning - without using the other run time loading flags,
9392           # -berok will link without error, but may produce a broken library.
9393           no_undefined_flag=' ${wl}-bernotok'
9394           allow_undefined_flag=' ${wl}-berok'
9395           if test "$with_gnu_ld" = yes; then
9396             # We only use this code for GNU lds that support --whole-archive.
9397             whole_archive_flag_spec='${wl}--whole-archive$convenience ${wl}--no-whole-archive'
9398           else
9399             # Exported symbols can be pulled into shared objects from archives
9400             whole_archive_flag_spec='$convenience'
9401           fi
9402           archive_cmds_need_lc=yes
9403           # This is similar to how AIX traditionally builds its shared libraries.
9404           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'
9405         fi
9406       fi
9407       ;;
9408
9409     amigaos*)
9410       case $host_cpu in
9411       powerpc)
9412             # see comment about AmigaOS4 .so support
9413             archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9414             archive_expsym_cmds=''
9415         ;;
9416       m68k)
9417             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)'
9418             hardcode_libdir_flag_spec='-L$libdir'
9419             hardcode_minus_L=yes
9420         ;;
9421       esac
9422       ;;
9423
9424     bsdi[45]*)
9425       export_dynamic_flag_spec=-rdynamic
9426       ;;
9427
9428     cygwin* | mingw* | pw32* | cegcc*)
9429       # When not using gcc, we currently assume that we are using
9430       # Microsoft Visual C++.
9431       # hardcode_libdir_flag_spec is actually meaningless, as there is
9432       # no search path for DLLs.
9433       case $cc_basename in
9434       cl*)
9435         # Native MSVC
9436         hardcode_libdir_flag_spec=' '
9437         allow_undefined_flag=unsupported
9438         always_export_symbols=yes
9439         file_list_spec='@'
9440         # Tell ltmain to make .lib files, not .a files.
9441         libext=lib
9442         # Tell ltmain to make .dll files, not .so files.
9443         shrext_cmds=".dll"
9444         # FIXME: Setting linknames here is a bad hack.
9445         archive_cmds='$CC -o $output_objdir/$soname $libobjs $compiler_flags $deplibs -Wl,-dll~linknames='
9446         archive_expsym_cmds='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
9447             sed -n -e 's/\\\\\\\(.*\\\\\\\)/-link\\\ -EXPORT:\\\\\\\1/' -e '1\\\!p' < $export_symbols > $output_objdir/$soname.exp;
9448           else
9449             sed -e 's/\\\\\\\(.*\\\\\\\)/-link\\\ -EXPORT:\\\\\\\1/' < $export_symbols > $output_objdir/$soname.exp;
9450           fi~
9451           $CC -o $tool_output_objdir$soname $libobjs $compiler_flags $deplibs "@$tool_output_objdir$soname.exp" -Wl,-DLL,-IMPLIB:"$tool_output_objdir$libname.dll.lib"~
9452           linknames='
9453         # The linker will not automatically build a static lib if we build a DLL.
9454         # _LT_TAGVAR(old_archive_from_new_cmds, )='true'
9455         enable_shared_with_static_runtimes=yes
9456         exclude_expsyms='_NULL_IMPORT_DESCRIPTOR|_IMPORT_DESCRIPTOR_.*'
9457         export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS][ ]/s/.*[ ]\([^ ]*\)/\1,DATA/'\'' | $SED -e '\''/^[AITW][ ]/s/.*[ ]//'\'' | sort | uniq > $export_symbols'
9458         # Don't use ranlib
9459         old_postinstall_cmds='chmod 644 $oldlib'
9460         postlink_cmds='lt_outputfile="@OUTPUT@"~
9461           lt_tool_outputfile="@TOOL_OUTPUT@"~
9462           case $lt_outputfile in
9463             *.exe|*.EXE) ;;
9464             *)
9465               lt_outputfile="$lt_outputfile.exe"
9466               lt_tool_outputfile="$lt_tool_outputfile.exe"
9467               ;;
9468           esac~
9469           if test "$MANIFEST_TOOL" != ":" && test -f "$lt_outputfile.manifest"; then
9470             $MANIFEST_TOOL -manifest "$lt_tool_outputfile.manifest" -outputresource:"$lt_tool_outputfile" || exit 1;
9471             $RM "$lt_outputfile.manifest";
9472           fi'
9473         ;;
9474       *)
9475         # Assume MSVC wrapper
9476         hardcode_libdir_flag_spec=' '
9477         allow_undefined_flag=unsupported
9478         # Tell ltmain to make .lib files, not .a files.
9479         libext=lib
9480         # Tell ltmain to make .dll files, not .so files.
9481         shrext_cmds=".dll"
9482         # FIXME: Setting linknames here is a bad hack.
9483         archive_cmds='$CC -o $lib $libobjs $compiler_flags `func_echo_all "$deplibs" | $SED '\''s/ -lc$//'\''` -link -dll~linknames='
9484         # The linker will automatically build a .lib file if we build a DLL.
9485         old_archive_from_new_cmds='true'
9486         # FIXME: Should let the user specify the lib program.
9487         old_archive_cmds='lib -OUT:$oldlib$oldobjs$old_deplibs'
9488         enable_shared_with_static_runtimes=yes
9489         ;;
9490       esac
9491       ;;
9492
9493     darwin* | rhapsody*)
9494
9495
9496   archive_cmds_need_lc=no
9497   hardcode_direct=no
9498   hardcode_automatic=yes
9499   hardcode_shlibpath_var=unsupported
9500   if test "$lt_cv_ld_force_load" = "yes"; then
9501     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\"`'
9502
9503   else
9504     whole_archive_flag_spec=''
9505   fi
9506   link_all_deplibs=yes
9507   allow_undefined_flag="$_lt_dar_allow_undefined"
9508   case $cc_basename in
9509      ifort*) _lt_dar_can_shared=yes ;;
9510      *) _lt_dar_can_shared=$GCC ;;
9511   esac
9512   if test "$_lt_dar_can_shared" = "yes"; then
9513     output_verbose_link_cmd=func_echo_all
9514     archive_cmds="\$CC -dynamiclib \$allow_undefined_flag -o \$lib \$libobjs \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring $_lt_dar_single_mod${_lt_dsymutil}"
9515     module_cmds="\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags${_lt_dsymutil}"
9516     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}"
9517     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}"
9518
9519   else
9520   ld_shlibs=no
9521   fi
9522
9523       ;;
9524
9525     dgux*)
9526       archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
9527       hardcode_libdir_flag_spec='-L$libdir'
9528       hardcode_shlibpath_var=no
9529       ;;
9530
9531     # FreeBSD 2.2.[012] allows us to include c++rt0.o to get C++ constructor
9532     # support.  Future versions do this automatically, but an explicit c++rt0.o
9533     # does not break anything, and helps significantly (at the cost of a little
9534     # extra space).
9535     freebsd2.2*)
9536       archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags /usr/lib/c++rt0.o'
9537       hardcode_libdir_flag_spec='-R$libdir'
9538       hardcode_direct=yes
9539       hardcode_shlibpath_var=no
9540       ;;
9541
9542     # Unfortunately, older versions of FreeBSD 2 do not have this feature.
9543     freebsd2.*)
9544       archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
9545       hardcode_direct=yes
9546       hardcode_minus_L=yes
9547       hardcode_shlibpath_var=no
9548       ;;
9549
9550     # FreeBSD 3 and greater uses gcc -shared to do shared libraries.
9551     freebsd* | dragonfly*)
9552       archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
9553       hardcode_libdir_flag_spec='-R$libdir'
9554       hardcode_direct=yes
9555       hardcode_shlibpath_var=no
9556       ;;
9557
9558     hpux9*)
9559       if test "$GCC" = yes; then
9560         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'
9561       else
9562         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'
9563       fi
9564       hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
9565       hardcode_libdir_separator=:
9566       hardcode_direct=yes
9567
9568       # hardcode_minus_L: Not really in the search PATH,
9569       # but as the default location of the library.
9570       hardcode_minus_L=yes
9571       export_dynamic_flag_spec='${wl}-E'
9572       ;;
9573
9574     hpux10*)
9575       if test "$GCC" = yes && test "$with_gnu_ld" = no; then
9576         archive_cmds='$CC -shared $pic_flag ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
9577       else
9578         archive_cmds='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
9579       fi
9580       if test "$with_gnu_ld" = no; then
9581         hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
9582         hardcode_libdir_separator=:
9583         hardcode_direct=yes
9584         hardcode_direct_absolute=yes
9585         export_dynamic_flag_spec='${wl}-E'
9586         # hardcode_minus_L: Not really in the search PATH,
9587         # but as the default location of the library.
9588         hardcode_minus_L=yes
9589       fi
9590       ;;
9591
9592     hpux11*)
9593       if test "$GCC" = yes && test "$with_gnu_ld" = no; then
9594         case $host_cpu in
9595         hppa*64*)
9596           archive_cmds='$CC -shared ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
9597           ;;
9598         ia64*)
9599           archive_cmds='$CC -shared $pic_flag ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
9600           ;;
9601         *)
9602           archive_cmds='$CC -shared $pic_flag ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
9603           ;;
9604         esac
9605       else
9606         case $host_cpu in
9607         hppa*64*)
9608           archive_cmds='$CC -b ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
9609           ;;
9610         ia64*)
9611           archive_cmds='$CC -b ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
9612           ;;
9613         *)
9614
9615           # Older versions of the 11.00 compiler do not understand -b yet
9616           # (HP92453-01 A.11.01.20 doesn't, HP92453-01 B.11.X.35175-35176.GP does)
9617           { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC understands -b" >&5
9618 $as_echo_n "checking if $CC understands -b... " >&6; }
9619 if ${lt_cv_prog_compiler__b+:} false; then :
9620   $as_echo_n "(cached) " >&6
9621 else
9622   lt_cv_prog_compiler__b=no
9623    save_LDFLAGS="$LDFLAGS"
9624    LDFLAGS="$LDFLAGS -b"
9625    echo "$lt_simple_link_test_code" > conftest.$ac_ext
9626    if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
9627      # The linker can only warn and ignore the option if not recognized
9628      # So say no if there are warnings
9629      if test -s conftest.err; then
9630        # Append any errors to the config.log.
9631        cat conftest.err 1>&5
9632        $ECHO "$_lt_linker_boilerplate" | $SED '/^$/d' > conftest.exp
9633        $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
9634        if diff conftest.exp conftest.er2 >/dev/null; then
9635          lt_cv_prog_compiler__b=yes
9636        fi
9637      else
9638        lt_cv_prog_compiler__b=yes
9639      fi
9640    fi
9641    $RM -r conftest*
9642    LDFLAGS="$save_LDFLAGS"
9643
9644 fi
9645 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler__b" >&5
9646 $as_echo "$lt_cv_prog_compiler__b" >&6; }
9647
9648 if test x"$lt_cv_prog_compiler__b" = xyes; then
9649     archive_cmds='$CC -b ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
9650 else
9651     archive_cmds='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
9652 fi
9653
9654           ;;
9655         esac
9656       fi
9657       if test "$with_gnu_ld" = no; then
9658         hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
9659         hardcode_libdir_separator=:
9660
9661         case $host_cpu in
9662         hppa*64*|ia64*)
9663           hardcode_direct=no
9664           hardcode_shlibpath_var=no
9665           ;;
9666         *)
9667           hardcode_direct=yes
9668           hardcode_direct_absolute=yes
9669           export_dynamic_flag_spec='${wl}-E'
9670
9671           # hardcode_minus_L: Not really in the search PATH,
9672           # but as the default location of the library.
9673           hardcode_minus_L=yes
9674           ;;
9675         esac
9676       fi
9677       ;;
9678
9679     irix5* | irix6* | nonstopux*)
9680       if test "$GCC" = yes; then
9681         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'
9682         # Try to use the -exported_symbol ld option, if it does not
9683         # work, assume that -exports_file does not work either and
9684         # implicitly export all symbols.
9685         # This should be the same for all languages, so no per-tag cache variable.
9686         { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $host_os linker accepts -exported_symbol" >&5
9687 $as_echo_n "checking whether the $host_os linker accepts -exported_symbol... " >&6; }
9688 if ${lt_cv_irix_exported_symbol+:} false; then :
9689   $as_echo_n "(cached) " >&6
9690 else
9691   save_LDFLAGS="$LDFLAGS"
9692            LDFLAGS="$LDFLAGS -shared ${wl}-exported_symbol ${wl}foo ${wl}-update_registry ${wl}/dev/null"
9693            cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9694 /* end confdefs.h.  */
9695 int foo (void) { return 0; }
9696 _ACEOF
9697 if ac_fn_c_try_link "$LINENO"; then :
9698   lt_cv_irix_exported_symbol=yes
9699 else
9700   lt_cv_irix_exported_symbol=no
9701 fi
9702 rm -f core conftest.err conftest.$ac_objext \
9703     conftest$ac_exeext conftest.$ac_ext
9704            LDFLAGS="$save_LDFLAGS"
9705 fi
9706 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_irix_exported_symbol" >&5
9707 $as_echo "$lt_cv_irix_exported_symbol" >&6; }
9708         if test "$lt_cv_irix_exported_symbol" = yes; then
9709           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'
9710         fi
9711       else
9712         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'
9713         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'
9714       fi
9715       archive_cmds_need_lc='no'
9716       hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
9717       hardcode_libdir_separator=:
9718       inherit_rpath=yes
9719       link_all_deplibs=yes
9720       ;;
9721
9722     netbsd*)
9723       if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
9724         archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'  # a.out
9725       else
9726         archive_cmds='$LD -shared -o $lib $libobjs $deplibs $linker_flags'      # ELF
9727       fi
9728       hardcode_libdir_flag_spec='-R$libdir'
9729       hardcode_direct=yes
9730       hardcode_shlibpath_var=no
9731       ;;
9732
9733     newsos6)
9734       archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
9735       hardcode_direct=yes
9736       hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
9737       hardcode_libdir_separator=:
9738       hardcode_shlibpath_var=no
9739       ;;
9740
9741     *nto* | *qnx*)
9742       ;;
9743
9744     openbsd*)
9745       if test -f /usr/libexec/ld.so; then
9746         hardcode_direct=yes
9747         hardcode_shlibpath_var=no
9748         hardcode_direct_absolute=yes
9749         if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
9750           archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
9751           archive_expsym_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-retain-symbols-file,$export_symbols'
9752           hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
9753           export_dynamic_flag_spec='${wl}-E'
9754         else
9755           case $host_os in
9756            openbsd[01].* | openbsd2.[0-7] | openbsd2.[0-7].*)
9757              archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
9758              hardcode_libdir_flag_spec='-R$libdir'
9759              ;;
9760            *)
9761              archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
9762              hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
9763              ;;
9764           esac
9765         fi
9766       else
9767         ld_shlibs=no
9768       fi
9769       ;;
9770
9771     os2*)
9772       hardcode_libdir_flag_spec='-L$libdir'
9773       hardcode_minus_L=yes
9774       allow_undefined_flag=unsupported
9775       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'
9776       old_archive_from_new_cmds='emximp -o $output_objdir/$libname.a $output_objdir/$libname.def'
9777       ;;
9778
9779     osf3*)
9780       if test "$GCC" = yes; then
9781         allow_undefined_flag=' ${wl}-expect_unresolved ${wl}\*'
9782         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'
9783       else
9784         allow_undefined_flag=' -expect_unresolved \*'
9785         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'
9786       fi
9787       archive_cmds_need_lc='no'
9788       hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
9789       hardcode_libdir_separator=:
9790       ;;
9791
9792     osf4* | osf5*)      # as osf3* with the addition of -msym flag
9793       if test "$GCC" = yes; then
9794         allow_undefined_flag=' ${wl}-expect_unresolved ${wl}\*'
9795         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'
9796         hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
9797       else
9798         allow_undefined_flag=' -expect_unresolved \*'
9799         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'
9800         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~
9801         $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'
9802
9803         # Both c and cxx compiler support -rpath directly
9804         hardcode_libdir_flag_spec='-rpath $libdir'
9805       fi
9806       archive_cmds_need_lc='no'
9807       hardcode_libdir_separator=:
9808       ;;
9809
9810     solaris*)
9811       no_undefined_flag=' -z defs'
9812       if test "$GCC" = yes; then
9813         wlarc='${wl}'
9814         archive_cmds='$CC -shared $pic_flag ${wl}-z ${wl}text ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
9815         archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
9816           $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'
9817       else
9818         case `$CC -V 2>&1` in
9819         *"Compilers 5.0"*)
9820           wlarc=''
9821           archive_cmds='$LD -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $linker_flags'
9822           archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
9823           $LD -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$RM $lib.exp'
9824           ;;
9825         *)
9826           wlarc='${wl}'
9827           archive_cmds='$CC -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $compiler_flags'
9828           archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
9829           $CC -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $compiler_flags~$RM $lib.exp'
9830           ;;
9831         esac
9832       fi
9833       hardcode_libdir_flag_spec='-R$libdir'
9834       hardcode_shlibpath_var=no
9835       case $host_os in
9836       solaris2.[0-5] | solaris2.[0-5].*) ;;
9837       *)
9838         # The compiler driver will combine and reorder linker options,
9839         # but understands `-z linker_flag'.  GCC discards it without `$wl',
9840         # but is careful enough not to reorder.
9841         # Supported since Solaris 2.6 (maybe 2.5.1?)
9842         if test "$GCC" = yes; then
9843           whole_archive_flag_spec='${wl}-z ${wl}allextract$convenience ${wl}-z ${wl}defaultextract'
9844         else
9845           whole_archive_flag_spec='-z allextract$convenience -z defaultextract'
9846         fi
9847         ;;
9848       esac
9849       link_all_deplibs=yes
9850       ;;
9851
9852     sunos4*)
9853       if test "x$host_vendor" = xsequent; then
9854         # Use $CC to link under sequent, because it throws in some extra .o
9855         # files that make .init and .fini sections work.
9856         archive_cmds='$CC -G ${wl}-h $soname -o $lib $libobjs $deplibs $compiler_flags'
9857       else
9858         archive_cmds='$LD -assert pure-text -Bstatic -o $lib $libobjs $deplibs $linker_flags'
9859       fi
9860       hardcode_libdir_flag_spec='-L$libdir'
9861       hardcode_direct=yes
9862       hardcode_minus_L=yes
9863       hardcode_shlibpath_var=no
9864       ;;
9865
9866     sysv4)
9867       case $host_vendor in
9868         sni)
9869           archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
9870           hardcode_direct=yes # is this really true???
9871         ;;
9872         siemens)
9873           ## LD is ld it makes a PLAMLIB
9874           ## CC just makes a GrossModule.
9875           archive_cmds='$LD -G -o $lib $libobjs $deplibs $linker_flags'
9876           reload_cmds='$CC -r -o $output$reload_objs'
9877           hardcode_direct=no
9878         ;;
9879         motorola)
9880           archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
9881           hardcode_direct=no #Motorola manual says yes, but my tests say they lie
9882         ;;
9883       esac
9884       runpath_var='LD_RUN_PATH'
9885       hardcode_shlibpath_var=no
9886       ;;
9887
9888     sysv4.3*)
9889       archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
9890       hardcode_shlibpath_var=no
9891       export_dynamic_flag_spec='-Bexport'
9892       ;;
9893
9894     sysv4*MP*)
9895       if test -d /usr/nec; then
9896         archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
9897         hardcode_shlibpath_var=no
9898         runpath_var=LD_RUN_PATH
9899         hardcode_runpath_var=yes
9900         ld_shlibs=yes
9901       fi
9902       ;;
9903
9904     sysv4*uw2* | sysv5OpenUNIX* | sysv5UnixWare7.[01].[10]* | unixware7* | sco3.2v5.0.[024]*)
9905       no_undefined_flag='${wl}-z,text'
9906       archive_cmds_need_lc=no
9907       hardcode_shlibpath_var=no
9908       runpath_var='LD_RUN_PATH'
9909
9910       if test "$GCC" = yes; then
9911         archive_cmds='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
9912         archive_expsym_cmds='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
9913       else
9914         archive_cmds='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
9915         archive_expsym_cmds='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
9916       fi
9917       ;;
9918
9919     sysv5* | sco3.2v5* | sco5v6*)
9920       # Note: We can NOT use -z defs as we might desire, because we do not
9921       # link with -lc, and that would cause any symbols used from libc to
9922       # always be unresolved, which means just about no library would
9923       # ever link correctly.  If we're not using GNU ld we use -z text
9924       # though, which does catch some bad symbols but isn't as heavy-handed
9925       # as -z defs.
9926       no_undefined_flag='${wl}-z,text'
9927       allow_undefined_flag='${wl}-z,nodefs'
9928       archive_cmds_need_lc=no
9929       hardcode_shlibpath_var=no
9930       hardcode_libdir_flag_spec='${wl}-R,$libdir'
9931       hardcode_libdir_separator=':'
9932       link_all_deplibs=yes
9933       export_dynamic_flag_spec='${wl}-Bexport'
9934       runpath_var='LD_RUN_PATH'
9935
9936       if test "$GCC" = yes; then
9937         archive_cmds='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
9938         archive_expsym_cmds='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
9939       else
9940         archive_cmds='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
9941         archive_expsym_cmds='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
9942       fi
9943       ;;
9944
9945     uts4*)
9946       archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
9947       hardcode_libdir_flag_spec='-L$libdir'
9948       hardcode_shlibpath_var=no
9949       ;;
9950
9951     *)
9952       ld_shlibs=no
9953       ;;
9954     esac
9955
9956     if test x$host_vendor = xsni; then
9957       case $host in
9958       sysv4 | sysv4.2uw2* | sysv4.3* | sysv5*)
9959         export_dynamic_flag_spec='${wl}-Blargedynsym'
9960         ;;
9961       esac
9962     fi
9963   fi
9964
9965 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ld_shlibs" >&5
9966 $as_echo "$ld_shlibs" >&6; }
9967 test "$ld_shlibs" = no && can_build_shared=no
9968
9969 with_gnu_ld=$with_gnu_ld
9970
9971
9972
9973
9974
9975
9976
9977
9978
9979
9980
9981
9982
9983
9984
9985 #
9986 # Do we need to explicitly link libc?
9987 #
9988 case "x$archive_cmds_need_lc" in
9989 x|xyes)
9990   # Assume -lc should be added
9991   archive_cmds_need_lc=yes
9992
9993   if test "$enable_shared" = yes && test "$GCC" = yes; then
9994     case $archive_cmds in
9995     *'~'*)
9996       # FIXME: we may have to deal with multi-command sequences.
9997       ;;
9998     '$CC '*)
9999       # Test whether the compiler implicitly links with -lc since on some
10000       # systems, -lgcc has to come before -lc. If gcc already passes -lc
10001       # to ld, don't add -lc before -lgcc.
10002       { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether -lc should be explicitly linked in" >&5
10003 $as_echo_n "checking whether -lc should be explicitly linked in... " >&6; }
10004 if ${lt_cv_archive_cmds_need_lc+:} false; then :
10005   $as_echo_n "(cached) " >&6
10006 else
10007   $RM conftest*
10008         echo "$lt_simple_compile_test_code" > conftest.$ac_ext
10009
10010         if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
10011   (eval $ac_compile) 2>&5
10012   ac_status=$?
10013   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
10014   test $ac_status = 0; } 2>conftest.err; then
10015           soname=conftest
10016           lib=conftest
10017           libobjs=conftest.$ac_objext
10018           deplibs=
10019           wl=$lt_prog_compiler_wl
10020           pic_flag=$lt_prog_compiler_pic
10021           compiler_flags=-v
10022           linker_flags=-v
10023           verstring=
10024           output_objdir=.
10025           libname=conftest
10026           lt_save_allow_undefined_flag=$allow_undefined_flag
10027           allow_undefined_flag=
10028           if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$archive_cmds 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1\""; } >&5
10029   (eval $archive_cmds 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1) 2>&5
10030   ac_status=$?
10031   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
10032   test $ac_status = 0; }
10033           then
10034             lt_cv_archive_cmds_need_lc=no
10035           else
10036             lt_cv_archive_cmds_need_lc=yes
10037           fi
10038           allow_undefined_flag=$lt_save_allow_undefined_flag
10039         else
10040           cat conftest.err 1>&5
10041         fi
10042         $RM conftest*
10043
10044 fi
10045 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_archive_cmds_need_lc" >&5
10046 $as_echo "$lt_cv_archive_cmds_need_lc" >&6; }
10047       archive_cmds_need_lc=$lt_cv_archive_cmds_need_lc
10048       ;;
10049     esac
10050   fi
10051   ;;
10052 esac
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
10189
10190
10191
10192
10193
10194
10195
10196
10197
10198
10199
10200
10201
10202
10203
10204
10205   { $as_echo "$as_me:${as_lineno-$LINENO}: checking dynamic linker characteristics" >&5
10206 $as_echo_n "checking dynamic linker characteristics... " >&6; }
10207
10208 if test "$GCC" = yes; then
10209   case $host_os in
10210     darwin*) lt_awk_arg="/^libraries:/,/LR/" ;;
10211     *) lt_awk_arg="/^libraries:/" ;;
10212   esac
10213   case $host_os in
10214     mingw* | cegcc*) lt_sed_strip_eq="s,=\([A-Za-z]:\),\1,g" ;;
10215     *) lt_sed_strip_eq="s,=/,/,g" ;;
10216   esac
10217   lt_search_path_spec=`$CC -print-search-dirs | awk $lt_awk_arg | $SED -e "s/^libraries://" -e $lt_sed_strip_eq`
10218   case $lt_search_path_spec in
10219   *\;*)
10220     # if the path contains ";" then we assume it to be the separator
10221     # otherwise default to the standard path separator (i.e. ":") - it is
10222     # assumed that no part of a normal pathname contains ";" but that should
10223     # okay in the real world where ";" in dirpaths is itself problematic.
10224     lt_search_path_spec=`$ECHO "$lt_search_path_spec" | $SED 's/;/ /g'`
10225     ;;
10226   *)
10227     lt_search_path_spec=`$ECHO "$lt_search_path_spec" | $SED "s/$PATH_SEPARATOR/ /g"`
10228     ;;
10229   esac
10230   # Ok, now we have the path, separated by spaces, we can step through it
10231   # and add multilib dir if necessary.
10232   lt_tmp_lt_search_path_spec=
10233   lt_multi_os_dir=`$CC $CPPFLAGS $CFLAGS $LDFLAGS -print-multi-os-directory 2>/dev/null`
10234   for lt_sys_path in $lt_search_path_spec; do
10235     if test -d "$lt_sys_path/$lt_multi_os_dir"; then
10236       lt_tmp_lt_search_path_spec="$lt_tmp_lt_search_path_spec $lt_sys_path/$lt_multi_os_dir"
10237     else
10238       test -d "$lt_sys_path" && \
10239         lt_tmp_lt_search_path_spec="$lt_tmp_lt_search_path_spec $lt_sys_path"
10240     fi
10241   done
10242   lt_search_path_spec=`$ECHO "$lt_tmp_lt_search_path_spec" | awk '
10243 BEGIN {RS=" "; FS="/|\n";} {
10244   lt_foo="";
10245   lt_count=0;
10246   for (lt_i = NF; lt_i > 0; lt_i--) {
10247     if ($lt_i != "" && $lt_i != ".") {
10248       if ($lt_i == "..") {
10249         lt_count++;
10250       } else {
10251         if (lt_count == 0) {
10252           lt_foo="/" $lt_i lt_foo;
10253         } else {
10254           lt_count--;
10255         }
10256       }
10257     }
10258   }
10259   if (lt_foo != "") { lt_freq[lt_foo]++; }
10260   if (lt_freq[lt_foo] == 1) { print lt_foo; }
10261 }'`
10262   # AWK program above erroneously prepends '/' to C:/dos/paths
10263   # for these hosts.
10264   case $host_os in
10265     mingw* | cegcc*) lt_search_path_spec=`$ECHO "$lt_search_path_spec" |\
10266       $SED 's,/\([A-Za-z]:\),\1,g'` ;;
10267   esac
10268   sys_lib_search_path_spec=`$ECHO "$lt_search_path_spec" | $lt_NL2SP`
10269 else
10270   sys_lib_search_path_spec="/lib /usr/lib /usr/local/lib"
10271 fi
10272 library_names_spec=
10273 libname_spec='lib$name'
10274 soname_spec=
10275 shrext_cmds=".so"
10276 postinstall_cmds=
10277 postuninstall_cmds=
10278 finish_cmds=
10279 finish_eval=
10280 shlibpath_var=
10281 shlibpath_overrides_runpath=unknown
10282 version_type=none
10283 dynamic_linker="$host_os ld.so"
10284 sys_lib_dlsearch_path_spec="/lib /usr/lib"
10285 need_lib_prefix=unknown
10286 hardcode_into_libs=no
10287
10288 # when you set need_version to no, make sure it does not cause -set_version
10289 # flags to be left without arguments
10290 need_version=unknown
10291
10292 case $host_os in
10293 aix3*)
10294   version_type=linux # correct to gnu/linux during the next big refactor
10295   library_names_spec='${libname}${release}${shared_ext}$versuffix $libname.a'
10296   shlibpath_var=LIBPATH
10297
10298   # AIX 3 has no versioning support, so we append a major version to the name.
10299   soname_spec='${libname}${release}${shared_ext}$major'
10300   ;;
10301
10302 aix[4-9]*)
10303   version_type=linux # correct to gnu/linux during the next big refactor
10304   need_lib_prefix=no
10305   need_version=no
10306   hardcode_into_libs=yes
10307   if test "$host_cpu" = ia64; then
10308     # AIX 5 supports IA64
10309     library_names_spec='${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext}$versuffix $libname${shared_ext}'
10310     shlibpath_var=LD_LIBRARY_PATH
10311   else
10312     # With GCC up to 2.95.x, collect2 would create an import file
10313     # for dependence libraries.  The import file would start with
10314     # the line `#! .'.  This would cause the generated library to
10315     # depend on `.', always an invalid library.  This was fixed in
10316     # development snapshots of GCC prior to 3.0.
10317     case $host_os in
10318       aix4 | aix4.[01] | aix4.[01].*)
10319       if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
10320            echo ' yes '
10321            echo '#endif'; } | ${CC} -E - | $GREP yes > /dev/null; then
10322         :
10323       else
10324         can_build_shared=no
10325       fi
10326       ;;
10327     esac
10328     # AIX (on Power*) has no versioning support, so currently we can not hardcode correct
10329     # soname into executable. Probably we can add versioning support to
10330     # collect2, so additional links can be useful in future.
10331     if test "$aix_use_runtimelinking" = yes; then
10332       # If using run time linking (on AIX 4.2 or later) use lib<name>.so
10333       # instead of lib<name>.a to let people know that these are not
10334       # typical AIX shared libraries.
10335       library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10336     else
10337       # We preserve .a as extension for shared libraries through AIX4.2
10338       # and later when we are not doing run time linking.
10339       library_names_spec='${libname}${release}.a $libname.a'
10340       soname_spec='${libname}${release}${shared_ext}$major'
10341     fi
10342     shlibpath_var=LIBPATH
10343   fi
10344   ;;
10345
10346 amigaos*)
10347   case $host_cpu in
10348   powerpc)
10349     # Since July 2007 AmigaOS4 officially supports .so libraries.
10350     # When compiling the executable, add -use-dynld -Lsobjs: to the compileline.
10351     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10352     ;;
10353   m68k)
10354     library_names_spec='$libname.ixlibrary $libname.a'
10355     # Create ${libname}_ixlibrary.a entries in /sys/libs.
10356     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'
10357     ;;
10358   esac
10359   ;;
10360
10361 beos*)
10362   library_names_spec='${libname}${shared_ext}'
10363   dynamic_linker="$host_os ld.so"
10364   shlibpath_var=LIBRARY_PATH
10365   ;;
10366
10367 bsdi[45]*)
10368   version_type=linux # correct to gnu/linux during the next big refactor
10369   need_version=no
10370   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10371   soname_spec='${libname}${release}${shared_ext}$major'
10372   finish_cmds='PATH="\$PATH:/sbin" ldconfig $libdir'
10373   shlibpath_var=LD_LIBRARY_PATH
10374   sys_lib_search_path_spec="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
10375   sys_lib_dlsearch_path_spec="/shlib /usr/lib /usr/local/lib"
10376   # the default ld.so.conf also contains /usr/contrib/lib and
10377   # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
10378   # libtool to hard-code these into programs
10379   ;;
10380
10381 cygwin* | mingw* | pw32* | cegcc*)
10382   version_type=windows
10383   shrext_cmds=".dll"
10384   need_version=no
10385   need_lib_prefix=no
10386
10387   case $GCC,$cc_basename in
10388   yes,*)
10389     # gcc
10390     library_names_spec='$libname.dll.a'
10391     # DLL is installed to $(libdir)/../bin by postinstall_cmds
10392     postinstall_cmds='base_file=`basename \${file}`~
10393       dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i; echo \$dlname'\''`~
10394       dldir=$destdir/`dirname \$dlpath`~
10395       test -d \$dldir || mkdir -p \$dldir~
10396       $install_prog $dir/$dlname \$dldir/$dlname~
10397       chmod a+x \$dldir/$dlname~
10398       if test -n '\''$stripme'\'' && test -n '\''$striplib'\''; then
10399         eval '\''$striplib \$dldir/$dlname'\'' || exit \$?;
10400       fi'
10401     postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
10402       dlpath=$dir/\$dldll~
10403        $RM \$dlpath'
10404     shlibpath_overrides_runpath=yes
10405
10406     case $host_os in
10407     cygwin*)
10408       # Cygwin DLLs use 'cyg' prefix rather than 'lib'
10409       soname_spec='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
10410
10411       sys_lib_search_path_spec="$sys_lib_search_path_spec /usr/lib/w32api"
10412       ;;
10413     mingw* | cegcc*)
10414       # MinGW DLLs use traditional 'lib' prefix
10415       soname_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
10416       ;;
10417     pw32*)
10418       # pw32 DLLs use 'pw' prefix rather than 'lib'
10419       library_names_spec='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
10420       ;;
10421     esac
10422     dynamic_linker='Win32 ld.exe'
10423     ;;
10424
10425   *,cl*)
10426     # Native MSVC
10427     libname_spec='$name'
10428     soname_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
10429     library_names_spec='${libname}.dll.lib'
10430
10431     case $build_os in
10432     mingw*)
10433       sys_lib_search_path_spec=
10434       lt_save_ifs=$IFS
10435       IFS=';'
10436       for lt_path in $LIB
10437       do
10438         IFS=$lt_save_ifs
10439         # Let DOS variable expansion print the short 8.3 style file name.
10440         lt_path=`cd "$lt_path" 2>/dev/null && cmd //C "for %i in (".") do @echo %~si"`
10441         sys_lib_search_path_spec="$sys_lib_search_path_spec $lt_path"
10442       done
10443       IFS=$lt_save_ifs
10444       # Convert to MSYS style.
10445       sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | sed -e 's|\\\\|/|g' -e 's| \\([a-zA-Z]\\):| /\\1|g' -e 's|^ ||'`
10446       ;;
10447     cygwin*)
10448       # Convert to unix form, then to dos form, then back to unix form
10449       # but this time dos style (no spaces!) so that the unix form looks
10450       # like /cygdrive/c/PROGRA~1:/cygdr...
10451       sys_lib_search_path_spec=`cygpath --path --unix "$LIB"`
10452       sys_lib_search_path_spec=`cygpath --path --dos "$sys_lib_search_path_spec" 2>/dev/null`
10453       sys_lib_search_path_spec=`cygpath --path --unix "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
10454       ;;
10455     *)
10456       sys_lib_search_path_spec="$LIB"
10457       if $ECHO "$sys_lib_search_path_spec" | $GREP ';[c-zC-Z]:/' >/dev/null; then
10458         # It is most probably a Windows format PATH.
10459         sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
10460       else
10461         sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
10462       fi
10463       # FIXME: find the short name or the path components, as spaces are
10464       # common. (e.g. "Program Files" -> "PROGRA~1")
10465       ;;
10466     esac
10467
10468     # DLL is installed to $(libdir)/../bin by postinstall_cmds
10469     postinstall_cmds='base_file=`basename \${file}`~
10470       dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i; echo \$dlname'\''`~
10471       dldir=$destdir/`dirname \$dlpath`~
10472       test -d \$dldir || mkdir -p \$dldir~
10473       $install_prog $dir/$dlname \$dldir/$dlname'
10474     postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
10475       dlpath=$dir/\$dldll~
10476        $RM \$dlpath'
10477     shlibpath_overrides_runpath=yes
10478     dynamic_linker='Win32 link.exe'
10479     ;;
10480
10481   *)
10482     # Assume MSVC wrapper
10483     library_names_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext} $libname.lib'
10484     dynamic_linker='Win32 ld.exe'
10485     ;;
10486   esac
10487   # FIXME: first we should search . and the directory the executable is in
10488   shlibpath_var=PATH
10489   ;;
10490
10491 darwin* | rhapsody*)
10492   dynamic_linker="$host_os dyld"
10493   version_type=darwin
10494   need_lib_prefix=no
10495   need_version=no
10496   library_names_spec='${libname}${release}${major}$shared_ext ${libname}$shared_ext'
10497   soname_spec='${libname}${release}${major}$shared_ext'
10498   shlibpath_overrides_runpath=yes
10499   shlibpath_var=DYLD_LIBRARY_PATH
10500   shrext_cmds='`test .$module = .yes && echo .so || echo .dylib`'
10501
10502   sys_lib_search_path_spec="$sys_lib_search_path_spec /usr/local/lib"
10503   sys_lib_dlsearch_path_spec='/usr/local/lib /lib /usr/lib'
10504   ;;
10505
10506 dgux*)
10507   version_type=linux # correct to gnu/linux during the next big refactor
10508   need_lib_prefix=no
10509   need_version=no
10510   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname$shared_ext'
10511   soname_spec='${libname}${release}${shared_ext}$major'
10512   shlibpath_var=LD_LIBRARY_PATH
10513   ;;
10514
10515 freebsd* | dragonfly*)
10516   # DragonFly does not have aout.  When/if they implement a new
10517   # versioning mechanism, adjust this.
10518   if test -x /usr/bin/objformat; then
10519     objformat=`/usr/bin/objformat`
10520   else
10521     case $host_os in
10522     freebsd[23].*) objformat=aout ;;
10523     *) objformat=elf ;;
10524     esac
10525   fi
10526   version_type=freebsd-$objformat
10527   case $version_type in
10528     freebsd-elf*)
10529       library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
10530       need_version=no
10531       need_lib_prefix=no
10532       ;;
10533     freebsd-*)
10534       library_names_spec='${libname}${release}${shared_ext}$versuffix $libname${shared_ext}$versuffix'
10535       need_version=yes
10536       ;;
10537   esac
10538   shlibpath_var=LD_LIBRARY_PATH
10539   case $host_os in
10540   freebsd2.*)
10541     shlibpath_overrides_runpath=yes
10542     ;;
10543   freebsd3.[01]* | freebsdelf3.[01]*)
10544     shlibpath_overrides_runpath=yes
10545     hardcode_into_libs=yes
10546     ;;
10547   freebsd3.[2-9]* | freebsdelf3.[2-9]* | \
10548   freebsd4.[0-5] | freebsdelf4.[0-5] | freebsd4.1.1 | freebsdelf4.1.1)
10549     shlibpath_overrides_runpath=no
10550     hardcode_into_libs=yes
10551     ;;
10552   *) # from 4.6 on, and DragonFly
10553     shlibpath_overrides_runpath=yes
10554     hardcode_into_libs=yes
10555     ;;
10556   esac
10557   ;;
10558
10559 gnu*)
10560   version_type=linux # correct to gnu/linux during the next big refactor
10561   need_lib_prefix=no
10562   need_version=no
10563   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
10564   soname_spec='${libname}${release}${shared_ext}$major'
10565   shlibpath_var=LD_LIBRARY_PATH
10566   shlibpath_overrides_runpath=no
10567   hardcode_into_libs=yes
10568   ;;
10569
10570 haiku*)
10571   version_type=linux # correct to gnu/linux during the next big refactor
10572   need_lib_prefix=no
10573   need_version=no
10574   dynamic_linker="$host_os runtime_loader"
10575   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
10576   soname_spec='${libname}${release}${shared_ext}$major'
10577   shlibpath_var=LIBRARY_PATH
10578   shlibpath_overrides_runpath=yes
10579   sys_lib_dlsearch_path_spec='/boot/home/config/lib /boot/common/lib /boot/system/lib'
10580   hardcode_into_libs=yes
10581   ;;
10582
10583 hpux9* | hpux10* | hpux11*)
10584   # Give a soname corresponding to the major version so that dld.sl refuses to
10585   # link against other versions.
10586   version_type=sunos
10587   need_lib_prefix=no
10588   need_version=no
10589   case $host_cpu in
10590   ia64*)
10591     shrext_cmds='.so'
10592     hardcode_into_libs=yes
10593     dynamic_linker="$host_os dld.so"
10594     shlibpath_var=LD_LIBRARY_PATH
10595     shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
10596     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10597     soname_spec='${libname}${release}${shared_ext}$major'
10598     if test "X$HPUX_IA64_MODE" = X32; then
10599       sys_lib_search_path_spec="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
10600     else
10601       sys_lib_search_path_spec="/usr/lib/hpux64 /usr/local/lib/hpux64"
10602     fi
10603     sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
10604     ;;
10605   hppa*64*)
10606     shrext_cmds='.sl'
10607     hardcode_into_libs=yes
10608     dynamic_linker="$host_os dld.sl"
10609     shlibpath_var=LD_LIBRARY_PATH # How should we handle SHLIB_PATH
10610     shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
10611     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10612     soname_spec='${libname}${release}${shared_ext}$major'
10613     sys_lib_search_path_spec="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
10614     sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
10615     ;;
10616   *)
10617     shrext_cmds='.sl'
10618     dynamic_linker="$host_os dld.sl"
10619     shlibpath_var=SHLIB_PATH
10620     shlibpath_overrides_runpath=no # +s is required to enable SHLIB_PATH
10621     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10622     soname_spec='${libname}${release}${shared_ext}$major'
10623     ;;
10624   esac
10625   # HP-UX runs *really* slowly unless shared libraries are mode 555, ...
10626   postinstall_cmds='chmod 555 $lib'
10627   # or fails outright, so override atomically:
10628   install_override_mode=555
10629   ;;
10630
10631 interix[3-9]*)
10632   version_type=linux # correct to gnu/linux during the next big refactor
10633   need_lib_prefix=no
10634   need_version=no
10635   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
10636   soname_spec='${libname}${release}${shared_ext}$major'
10637   dynamic_linker='Interix 3.x ld.so.1 (PE, like ELF)'
10638   shlibpath_var=LD_LIBRARY_PATH
10639   shlibpath_overrides_runpath=no
10640   hardcode_into_libs=yes
10641   ;;
10642
10643 irix5* | irix6* | nonstopux*)
10644   case $host_os in
10645     nonstopux*) version_type=nonstopux ;;
10646     *)
10647         if test "$lt_cv_prog_gnu_ld" = yes; then
10648                 version_type=linux # correct to gnu/linux during the next big refactor
10649         else
10650                 version_type=irix
10651         fi ;;
10652   esac
10653   need_lib_prefix=no
10654   need_version=no
10655   soname_spec='${libname}${release}${shared_ext}$major'
10656   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} $libname${shared_ext}'
10657   case $host_os in
10658   irix5* | nonstopux*)
10659     libsuff= shlibsuff=
10660     ;;
10661   *)
10662     case $LD in # libtool.m4 will add one of these switches to LD
10663     *-32|*"-32 "|*-melf32bsmip|*"-melf32bsmip ")
10664       libsuff= shlibsuff= libmagic=32-bit;;
10665     *-n32|*"-n32 "|*-melf32bmipn32|*"-melf32bmipn32 ")
10666       libsuff=32 shlibsuff=N32 libmagic=N32;;
10667     *-64|*"-64 "|*-melf64bmip|*"-melf64bmip ")
10668       libsuff=64 shlibsuff=64 libmagic=64-bit;;
10669     *) libsuff= shlibsuff= libmagic=never-match;;
10670     esac
10671     ;;
10672   esac
10673   shlibpath_var=LD_LIBRARY${shlibsuff}_PATH
10674   shlibpath_overrides_runpath=no
10675   sys_lib_search_path_spec="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}"
10676   sys_lib_dlsearch_path_spec="/usr/lib${libsuff} /lib${libsuff}"
10677   hardcode_into_libs=yes
10678   ;;
10679
10680 # No shared lib support for Linux oldld, aout, or coff.
10681 linux*oldld* | linux*aout* | linux*coff*)
10682   dynamic_linker=no
10683   ;;
10684
10685 # This must be glibc/ELF.
10686 linux* | k*bsd*-gnu | kopensolaris*-gnu)
10687   version_type=linux # correct to gnu/linux during the next big refactor
10688   need_lib_prefix=no
10689   need_version=no
10690   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10691   soname_spec='${libname}${release}${shared_ext}$major'
10692   finish_cmds='PATH="\$PATH:/sbin" ldconfig -n $libdir'
10693   shlibpath_var=LD_LIBRARY_PATH
10694   shlibpath_overrides_runpath=no
10695
10696   # Some binutils ld are patched to set DT_RUNPATH
10697   if ${lt_cv_shlibpath_overrides_runpath+:} false; then :
10698   $as_echo_n "(cached) " >&6
10699 else
10700   lt_cv_shlibpath_overrides_runpath=no
10701     save_LDFLAGS=$LDFLAGS
10702     save_libdir=$libdir
10703     eval "libdir=/foo; wl=\"$lt_prog_compiler_wl\"; \
10704          LDFLAGS=\"\$LDFLAGS $hardcode_libdir_flag_spec\""
10705     cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10706 /* end confdefs.h.  */
10707
10708 int
10709 main ()
10710 {
10711
10712   ;
10713   return 0;
10714 }
10715 _ACEOF
10716 if ac_fn_c_try_link "$LINENO"; then :
10717   if  ($OBJDUMP -p conftest$ac_exeext) 2>/dev/null | grep "RUNPATH.*$libdir" >/dev/null; then :
10718   lt_cv_shlibpath_overrides_runpath=yes
10719 fi
10720 fi
10721 rm -f core conftest.err conftest.$ac_objext \
10722     conftest$ac_exeext conftest.$ac_ext
10723     LDFLAGS=$save_LDFLAGS
10724     libdir=$save_libdir
10725
10726 fi
10727
10728   shlibpath_overrides_runpath=$lt_cv_shlibpath_overrides_runpath
10729
10730   # This implies no fast_install, which is unacceptable.
10731   # Some rework will be needed to allow for fast_install
10732   # before this can be enabled.
10733   hardcode_into_libs=yes
10734
10735   # Add ABI-specific directories to the system library path.
10736   sys_lib_dlsearch_path_spec="/lib64 /usr/lib64 /lib /usr/lib"
10737
10738   # Append ld.so.conf contents to the search path
10739   if test -f /etc/ld.so.conf; then
10740     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' ' '`
10741     sys_lib_dlsearch_path_spec="$sys_lib_dlsearch_path_spec $lt_ld_extra"
10742
10743   fi
10744
10745   # We used to test for /lib/ld.so.1 and disable shared libraries on
10746   # powerpc, because MkLinux only supported shared libraries with the
10747   # GNU dynamic linker.  Since this was broken with cross compilers,
10748   # most powerpc-linux boxes support dynamic linking these days and
10749   # people can always --disable-shared, the test was removed, and we
10750   # assume the GNU/Linux dynamic linker is in use.
10751   dynamic_linker='GNU/Linux ld.so'
10752   ;;
10753
10754 netbsd*)
10755   version_type=sunos
10756   need_lib_prefix=no
10757   need_version=no
10758   if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
10759     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
10760     finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
10761     dynamic_linker='NetBSD (a.out) ld.so'
10762   else
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     dynamic_linker='NetBSD ld.elf_so'
10766   fi
10767   shlibpath_var=LD_LIBRARY_PATH
10768   shlibpath_overrides_runpath=yes
10769   hardcode_into_libs=yes
10770   ;;
10771
10772 newsos6)
10773   version_type=linux # correct to gnu/linux during the next big refactor
10774   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10775   shlibpath_var=LD_LIBRARY_PATH
10776   shlibpath_overrides_runpath=yes
10777   ;;
10778
10779 *nto* | *qnx*)
10780   version_type=qnx
10781   need_lib_prefix=no
10782   need_version=no
10783   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10784   soname_spec='${libname}${release}${shared_ext}$major'
10785   shlibpath_var=LD_LIBRARY_PATH
10786   shlibpath_overrides_runpath=no
10787   hardcode_into_libs=yes
10788   dynamic_linker='ldqnx.so'
10789   ;;
10790
10791 openbsd*)
10792   version_type=sunos
10793   sys_lib_dlsearch_path_spec="/usr/lib"
10794   need_lib_prefix=no
10795   # Some older versions of OpenBSD (3.3 at least) *do* need versioned libs.
10796   case $host_os in
10797     openbsd3.3 | openbsd3.3.*)  need_version=yes ;;
10798     *)                          need_version=no  ;;
10799   esac
10800   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
10801   finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
10802   shlibpath_var=LD_LIBRARY_PATH
10803   if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
10804     case $host_os in
10805       openbsd2.[89] | openbsd2.[89].*)
10806         shlibpath_overrides_runpath=no
10807         ;;
10808       *)
10809         shlibpath_overrides_runpath=yes
10810         ;;
10811       esac
10812   else
10813     shlibpath_overrides_runpath=yes
10814   fi
10815   ;;
10816
10817 os2*)
10818   libname_spec='$name'
10819   shrext_cmds=".dll"
10820   need_lib_prefix=no
10821   library_names_spec='$libname${shared_ext} $libname.a'
10822   dynamic_linker='OS/2 ld.exe'
10823   shlibpath_var=LIBPATH
10824   ;;
10825
10826 osf3* | osf4* | osf5*)
10827   version_type=osf
10828   need_lib_prefix=no
10829   need_version=no
10830   soname_spec='${libname}${release}${shared_ext}$major'
10831   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10832   shlibpath_var=LD_LIBRARY_PATH
10833   sys_lib_search_path_spec="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
10834   sys_lib_dlsearch_path_spec="$sys_lib_search_path_spec"
10835   ;;
10836
10837 rdos*)
10838   dynamic_linker=no
10839   ;;
10840
10841 solaris*)
10842   version_type=linux # correct to gnu/linux during the next big refactor
10843   need_lib_prefix=no
10844   need_version=no
10845   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10846   soname_spec='${libname}${release}${shared_ext}$major'
10847   shlibpath_var=LD_LIBRARY_PATH
10848   shlibpath_overrides_runpath=yes
10849   hardcode_into_libs=yes
10850   # ldd complains unless libraries are executable
10851   postinstall_cmds='chmod +x $lib'
10852   ;;
10853
10854 sunos4*)
10855   version_type=sunos
10856   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
10857   finish_cmds='PATH="\$PATH:/usr/etc" ldconfig $libdir'
10858   shlibpath_var=LD_LIBRARY_PATH
10859   shlibpath_overrides_runpath=yes
10860   if test "$with_gnu_ld" = yes; then
10861     need_lib_prefix=no
10862   fi
10863   need_version=yes
10864   ;;
10865
10866 sysv4 | sysv4.3*)
10867   version_type=linux # correct to gnu/linux during the next big refactor
10868   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10869   soname_spec='${libname}${release}${shared_ext}$major'
10870   shlibpath_var=LD_LIBRARY_PATH
10871   case $host_vendor in
10872     sni)
10873       shlibpath_overrides_runpath=no
10874       need_lib_prefix=no
10875       runpath_var=LD_RUN_PATH
10876       ;;
10877     siemens)
10878       need_lib_prefix=no
10879       ;;
10880     motorola)
10881       need_lib_prefix=no
10882       need_version=no
10883       shlibpath_overrides_runpath=no
10884       sys_lib_search_path_spec='/lib /usr/lib /usr/ccs/lib'
10885       ;;
10886   esac
10887   ;;
10888
10889 sysv4*MP*)
10890   if test -d /usr/nec ;then
10891     version_type=linux # correct to gnu/linux during the next big refactor
10892     library_names_spec='$libname${shared_ext}.$versuffix $libname${shared_ext}.$major $libname${shared_ext}'
10893     soname_spec='$libname${shared_ext}.$major'
10894     shlibpath_var=LD_LIBRARY_PATH
10895   fi
10896   ;;
10897
10898 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
10899   version_type=freebsd-elf
10900   need_lib_prefix=no
10901   need_version=no
10902   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
10903   soname_spec='${libname}${release}${shared_ext}$major'
10904   shlibpath_var=LD_LIBRARY_PATH
10905   shlibpath_overrides_runpath=yes
10906   hardcode_into_libs=yes
10907   if test "$with_gnu_ld" = yes; then
10908     sys_lib_search_path_spec='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib'
10909   else
10910     sys_lib_search_path_spec='/usr/ccs/lib /usr/lib'
10911     case $host_os in
10912       sco3.2v5*)
10913         sys_lib_search_path_spec="$sys_lib_search_path_spec /lib"
10914         ;;
10915     esac
10916   fi
10917   sys_lib_dlsearch_path_spec='/usr/lib'
10918   ;;
10919
10920 tpf*)
10921   # TPF is a cross-target only.  Preferred cross-host = GNU/Linux.
10922   version_type=linux # correct to gnu/linux during the next big refactor
10923   need_lib_prefix=no
10924   need_version=no
10925   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10926   shlibpath_var=LD_LIBRARY_PATH
10927   shlibpath_overrides_runpath=no
10928   hardcode_into_libs=yes
10929   ;;
10930
10931 uts4*)
10932   version_type=linux # correct to gnu/linux during the next big refactor
10933   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10934   soname_spec='${libname}${release}${shared_ext}$major'
10935   shlibpath_var=LD_LIBRARY_PATH
10936   ;;
10937
10938 *)
10939   dynamic_linker=no
10940   ;;
10941 esac
10942 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $dynamic_linker" >&5
10943 $as_echo "$dynamic_linker" >&6; }
10944 test "$dynamic_linker" = no && can_build_shared=no
10945
10946 variables_saved_for_relink="PATH $shlibpath_var $runpath_var"
10947 if test "$GCC" = yes; then
10948   variables_saved_for_relink="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
10949 fi
10950
10951 if test "${lt_cv_sys_lib_search_path_spec+set}" = set; then
10952   sys_lib_search_path_spec="$lt_cv_sys_lib_search_path_spec"
10953 fi
10954 if test "${lt_cv_sys_lib_dlsearch_path_spec+set}" = set; then
10955   sys_lib_dlsearch_path_spec="$lt_cv_sys_lib_dlsearch_path_spec"
10956 fi
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
11030
11031
11032
11033
11034
11035
11036
11037
11038
11039
11040
11041
11042
11043
11044
11045
11046
11047
11048
11049   { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to hardcode library paths into programs" >&5
11050 $as_echo_n "checking how to hardcode library paths into programs... " >&6; }
11051 hardcode_action=
11052 if test -n "$hardcode_libdir_flag_spec" ||
11053    test -n "$runpath_var" ||
11054    test "X$hardcode_automatic" = "Xyes" ; then
11055
11056   # We can hardcode non-existent directories.
11057   if test "$hardcode_direct" != no &&
11058      # If the only mechanism to avoid hardcoding is shlibpath_var, we
11059      # have to relink, otherwise we might link with an installed library
11060      # when we should be linking with a yet-to-be-installed one
11061      ## test "$_LT_TAGVAR(hardcode_shlibpath_var, )" != no &&
11062      test "$hardcode_minus_L" != no; then
11063     # Linking always hardcodes the temporary library directory.
11064     hardcode_action=relink
11065   else
11066     # We can link without hardcoding, and we can hardcode nonexisting dirs.
11067     hardcode_action=immediate
11068   fi
11069 else
11070   # We cannot hardcode anything, or else we can only hardcode existing
11071   # directories.
11072   hardcode_action=unsupported
11073 fi
11074 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hardcode_action" >&5
11075 $as_echo "$hardcode_action" >&6; }
11076
11077 if test "$hardcode_action" = relink ||
11078    test "$inherit_rpath" = yes; then
11079   # Fast installation is not supported
11080   enable_fast_install=no
11081 elif test "$shlibpath_overrides_runpath" = yes ||
11082      test "$enable_shared" = no; then
11083   # Fast installation is not necessary
11084   enable_fast_install=needless
11085 fi
11086
11087
11088
11089
11090
11091
11092   if test "x$enable_dlopen" != xyes; then
11093   enable_dlopen=unknown
11094   enable_dlopen_self=unknown
11095   enable_dlopen_self_static=unknown
11096 else
11097   lt_cv_dlopen=no
11098   lt_cv_dlopen_libs=
11099
11100   case $host_os in
11101   beos*)
11102     lt_cv_dlopen="load_add_on"
11103     lt_cv_dlopen_libs=
11104     lt_cv_dlopen_self=yes
11105     ;;
11106
11107   mingw* | pw32* | cegcc*)
11108     lt_cv_dlopen="LoadLibrary"
11109     lt_cv_dlopen_libs=
11110     ;;
11111
11112   cygwin*)
11113     lt_cv_dlopen="dlopen"
11114     lt_cv_dlopen_libs=
11115     ;;
11116
11117   darwin*)
11118   # if libdl is installed we need to link against it
11119     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
11120 $as_echo_n "checking for dlopen in -ldl... " >&6; }
11121 if ${ac_cv_lib_dl_dlopen+:} false; then :
11122   $as_echo_n "(cached) " >&6
11123 else
11124   ac_check_lib_save_LIBS=$LIBS
11125 LIBS="-ldl  $LIBS"
11126 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11127 /* end confdefs.h.  */
11128
11129 /* Override any GCC internal prototype to avoid an error.
11130    Use char because int might match the return type of a GCC
11131    builtin and then its argument prototype would still apply.  */
11132 #ifdef __cplusplus
11133 extern "C"
11134 #endif
11135 char dlopen ();
11136 int
11137 main ()
11138 {
11139 return dlopen ();
11140   ;
11141   return 0;
11142 }
11143 _ACEOF
11144 if ac_fn_c_try_link "$LINENO"; then :
11145   ac_cv_lib_dl_dlopen=yes
11146 else
11147   ac_cv_lib_dl_dlopen=no
11148 fi
11149 rm -f core conftest.err conftest.$ac_objext \
11150     conftest$ac_exeext conftest.$ac_ext
11151 LIBS=$ac_check_lib_save_LIBS
11152 fi
11153 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
11154 $as_echo "$ac_cv_lib_dl_dlopen" >&6; }
11155 if test "x$ac_cv_lib_dl_dlopen" = xyes; then :
11156   lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl"
11157 else
11158
11159     lt_cv_dlopen="dyld"
11160     lt_cv_dlopen_libs=
11161     lt_cv_dlopen_self=yes
11162
11163 fi
11164
11165     ;;
11166
11167   *)
11168     ac_fn_c_check_func "$LINENO" "shl_load" "ac_cv_func_shl_load"
11169 if test "x$ac_cv_func_shl_load" = xyes; then :
11170   lt_cv_dlopen="shl_load"
11171 else
11172   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for shl_load in -ldld" >&5
11173 $as_echo_n "checking for shl_load in -ldld... " >&6; }
11174 if ${ac_cv_lib_dld_shl_load+:} false; then :
11175   $as_echo_n "(cached) " >&6
11176 else
11177   ac_check_lib_save_LIBS=$LIBS
11178 LIBS="-ldld  $LIBS"
11179 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11180 /* end confdefs.h.  */
11181
11182 /* Override any GCC internal prototype to avoid an error.
11183    Use char because int might match the return type of a GCC
11184    builtin and then its argument prototype would still apply.  */
11185 #ifdef __cplusplus
11186 extern "C"
11187 #endif
11188 char shl_load ();
11189 int
11190 main ()
11191 {
11192 return shl_load ();
11193   ;
11194   return 0;
11195 }
11196 _ACEOF
11197 if ac_fn_c_try_link "$LINENO"; then :
11198   ac_cv_lib_dld_shl_load=yes
11199 else
11200   ac_cv_lib_dld_shl_load=no
11201 fi
11202 rm -f core conftest.err conftest.$ac_objext \
11203     conftest$ac_exeext conftest.$ac_ext
11204 LIBS=$ac_check_lib_save_LIBS
11205 fi
11206 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_shl_load" >&5
11207 $as_echo "$ac_cv_lib_dld_shl_load" >&6; }
11208 if test "x$ac_cv_lib_dld_shl_load" = xyes; then :
11209   lt_cv_dlopen="shl_load" lt_cv_dlopen_libs="-ldld"
11210 else
11211   ac_fn_c_check_func "$LINENO" "dlopen" "ac_cv_func_dlopen"
11212 if test "x$ac_cv_func_dlopen" = xyes; then :
11213   lt_cv_dlopen="dlopen"
11214 else
11215   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
11216 $as_echo_n "checking for dlopen in -ldl... " >&6; }
11217 if ${ac_cv_lib_dl_dlopen+:} false; then :
11218   $as_echo_n "(cached) " >&6
11219 else
11220   ac_check_lib_save_LIBS=$LIBS
11221 LIBS="-ldl  $LIBS"
11222 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11223 /* end confdefs.h.  */
11224
11225 /* Override any GCC internal prototype to avoid an error.
11226    Use char because int might match the return type of a GCC
11227    builtin and then its argument prototype would still apply.  */
11228 #ifdef __cplusplus
11229 extern "C"
11230 #endif
11231 char dlopen ();
11232 int
11233 main ()
11234 {
11235 return dlopen ();
11236   ;
11237   return 0;
11238 }
11239 _ACEOF
11240 if ac_fn_c_try_link "$LINENO"; then :
11241   ac_cv_lib_dl_dlopen=yes
11242 else
11243   ac_cv_lib_dl_dlopen=no
11244 fi
11245 rm -f core conftest.err conftest.$ac_objext \
11246     conftest$ac_exeext conftest.$ac_ext
11247 LIBS=$ac_check_lib_save_LIBS
11248 fi
11249 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
11250 $as_echo "$ac_cv_lib_dl_dlopen" >&6; }
11251 if test "x$ac_cv_lib_dl_dlopen" = xyes; then :
11252   lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl"
11253 else
11254   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -lsvld" >&5
11255 $as_echo_n "checking for dlopen in -lsvld... " >&6; }
11256 if ${ac_cv_lib_svld_dlopen+:} false; then :
11257   $as_echo_n "(cached) " >&6
11258 else
11259   ac_check_lib_save_LIBS=$LIBS
11260 LIBS="-lsvld  $LIBS"
11261 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11262 /* end confdefs.h.  */
11263
11264 /* Override any GCC internal prototype to avoid an error.
11265    Use char because int might match the return type of a GCC
11266    builtin and then its argument prototype would still apply.  */
11267 #ifdef __cplusplus
11268 extern "C"
11269 #endif
11270 char dlopen ();
11271 int
11272 main ()
11273 {
11274 return dlopen ();
11275   ;
11276   return 0;
11277 }
11278 _ACEOF
11279 if ac_fn_c_try_link "$LINENO"; then :
11280   ac_cv_lib_svld_dlopen=yes
11281 else
11282   ac_cv_lib_svld_dlopen=no
11283 fi
11284 rm -f core conftest.err conftest.$ac_objext \
11285     conftest$ac_exeext conftest.$ac_ext
11286 LIBS=$ac_check_lib_save_LIBS
11287 fi
11288 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_svld_dlopen" >&5
11289 $as_echo "$ac_cv_lib_svld_dlopen" >&6; }
11290 if test "x$ac_cv_lib_svld_dlopen" = xyes; then :
11291   lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-lsvld"
11292 else
11293   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dld_link in -ldld" >&5
11294 $as_echo_n "checking for dld_link in -ldld... " >&6; }
11295 if ${ac_cv_lib_dld_dld_link+:} false; then :
11296   $as_echo_n "(cached) " >&6
11297 else
11298   ac_check_lib_save_LIBS=$LIBS
11299 LIBS="-ldld  $LIBS"
11300 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11301 /* end confdefs.h.  */
11302
11303 /* Override any GCC internal prototype to avoid an error.
11304    Use char because int might match the return type of a GCC
11305    builtin and then its argument prototype would still apply.  */
11306 #ifdef __cplusplus
11307 extern "C"
11308 #endif
11309 char dld_link ();
11310 int
11311 main ()
11312 {
11313 return dld_link ();
11314   ;
11315   return 0;
11316 }
11317 _ACEOF
11318 if ac_fn_c_try_link "$LINENO"; then :
11319   ac_cv_lib_dld_dld_link=yes
11320 else
11321   ac_cv_lib_dld_dld_link=no
11322 fi
11323 rm -f core conftest.err conftest.$ac_objext \
11324     conftest$ac_exeext conftest.$ac_ext
11325 LIBS=$ac_check_lib_save_LIBS
11326 fi
11327 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_dld_link" >&5
11328 $as_echo "$ac_cv_lib_dld_dld_link" >&6; }
11329 if test "x$ac_cv_lib_dld_dld_link" = xyes; then :
11330   lt_cv_dlopen="dld_link" lt_cv_dlopen_libs="-ldld"
11331 fi
11332
11333
11334 fi
11335
11336
11337 fi
11338
11339
11340 fi
11341
11342
11343 fi
11344
11345
11346 fi
11347
11348     ;;
11349   esac
11350
11351   if test "x$lt_cv_dlopen" != xno; then
11352     enable_dlopen=yes
11353   else
11354     enable_dlopen=no
11355   fi
11356
11357   case $lt_cv_dlopen in
11358   dlopen)
11359     save_CPPFLAGS="$CPPFLAGS"
11360     test "x$ac_cv_header_dlfcn_h" = xyes && CPPFLAGS="$CPPFLAGS -DHAVE_DLFCN_H"
11361
11362     save_LDFLAGS="$LDFLAGS"
11363     wl=$lt_prog_compiler_wl eval LDFLAGS=\"\$LDFLAGS $export_dynamic_flag_spec\"
11364
11365     save_LIBS="$LIBS"
11366     LIBS="$lt_cv_dlopen_libs $LIBS"
11367
11368     { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether a program can dlopen itself" >&5
11369 $as_echo_n "checking whether a program can dlopen itself... " >&6; }
11370 if ${lt_cv_dlopen_self+:} false; then :
11371   $as_echo_n "(cached) " >&6
11372 else
11373           if test "$cross_compiling" = yes; then :
11374   lt_cv_dlopen_self=cross
11375 else
11376   lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
11377   lt_status=$lt_dlunknown
11378   cat > conftest.$ac_ext <<_LT_EOF
11379 #line $LINENO "configure"
11380 #include "confdefs.h"
11381
11382 #if HAVE_DLFCN_H
11383 #include <dlfcn.h>
11384 #endif
11385
11386 #include <stdio.h>
11387
11388 #ifdef RTLD_GLOBAL
11389 #  define LT_DLGLOBAL           RTLD_GLOBAL
11390 #else
11391 #  ifdef DL_GLOBAL
11392 #    define LT_DLGLOBAL         DL_GLOBAL
11393 #  else
11394 #    define LT_DLGLOBAL         0
11395 #  endif
11396 #endif
11397
11398 /* We may have to define LT_DLLAZY_OR_NOW in the command line if we
11399    find out it does not work in some platform. */
11400 #ifndef LT_DLLAZY_OR_NOW
11401 #  ifdef RTLD_LAZY
11402 #    define LT_DLLAZY_OR_NOW            RTLD_LAZY
11403 #  else
11404 #    ifdef DL_LAZY
11405 #      define LT_DLLAZY_OR_NOW          DL_LAZY
11406 #    else
11407 #      ifdef RTLD_NOW
11408 #        define LT_DLLAZY_OR_NOW        RTLD_NOW
11409 #      else
11410 #        ifdef DL_NOW
11411 #          define LT_DLLAZY_OR_NOW      DL_NOW
11412 #        else
11413 #          define LT_DLLAZY_OR_NOW      0
11414 #        endif
11415 #      endif
11416 #    endif
11417 #  endif
11418 #endif
11419
11420 /* When -fvisbility=hidden is used, assume the code has been annotated
11421    correspondingly for the symbols needed.  */
11422 #if defined(__GNUC__) && (((__GNUC__ == 3) && (__GNUC_MINOR__ >= 3)) || (__GNUC__ > 3))
11423 int fnord () __attribute__((visibility("default")));
11424 #endif
11425
11426 int fnord () { return 42; }
11427 int main ()
11428 {
11429   void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
11430   int status = $lt_dlunknown;
11431
11432   if (self)
11433     {
11434       if (dlsym (self,"fnord"))       status = $lt_dlno_uscore;
11435       else
11436         {
11437           if (dlsym( self,"_fnord"))  status = $lt_dlneed_uscore;
11438           else puts (dlerror ());
11439         }
11440       /* dlclose (self); */
11441     }
11442   else
11443     puts (dlerror ());
11444
11445   return status;
11446 }
11447 _LT_EOF
11448   if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
11449   (eval $ac_link) 2>&5
11450   ac_status=$?
11451   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
11452   test $ac_status = 0; } && test -s conftest${ac_exeext} 2>/dev/null; then
11453     (./conftest; exit; ) >&5 2>/dev/null
11454     lt_status=$?
11455     case x$lt_status in
11456       x$lt_dlno_uscore) lt_cv_dlopen_self=yes ;;
11457       x$lt_dlneed_uscore) lt_cv_dlopen_self=yes ;;
11458       x$lt_dlunknown|x*) lt_cv_dlopen_self=no ;;
11459     esac
11460   else :
11461     # compilation failed
11462     lt_cv_dlopen_self=no
11463   fi
11464 fi
11465 rm -fr conftest*
11466
11467
11468 fi
11469 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_dlopen_self" >&5
11470 $as_echo "$lt_cv_dlopen_self" >&6; }
11471
11472     if test "x$lt_cv_dlopen_self" = xyes; then
11473       wl=$lt_prog_compiler_wl eval LDFLAGS=\"\$LDFLAGS $lt_prog_compiler_static\"
11474       { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether a statically linked program can dlopen itself" >&5
11475 $as_echo_n "checking whether a statically linked program can dlopen itself... " >&6; }
11476 if ${lt_cv_dlopen_self_static+:} false; then :
11477   $as_echo_n "(cached) " >&6
11478 else
11479           if test "$cross_compiling" = yes; then :
11480   lt_cv_dlopen_self_static=cross
11481 else
11482   lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
11483   lt_status=$lt_dlunknown
11484   cat > conftest.$ac_ext <<_LT_EOF
11485 #line $LINENO "configure"
11486 #include "confdefs.h"
11487
11488 #if HAVE_DLFCN_H
11489 #include <dlfcn.h>
11490 #endif
11491
11492 #include <stdio.h>
11493
11494 #ifdef RTLD_GLOBAL
11495 #  define LT_DLGLOBAL           RTLD_GLOBAL
11496 #else
11497 #  ifdef DL_GLOBAL
11498 #    define LT_DLGLOBAL         DL_GLOBAL
11499 #  else
11500 #    define LT_DLGLOBAL         0
11501 #  endif
11502 #endif
11503
11504 /* We may have to define LT_DLLAZY_OR_NOW in the command line if we
11505    find out it does not work in some platform. */
11506 #ifndef LT_DLLAZY_OR_NOW
11507 #  ifdef RTLD_LAZY
11508 #    define LT_DLLAZY_OR_NOW            RTLD_LAZY
11509 #  else
11510 #    ifdef DL_LAZY
11511 #      define LT_DLLAZY_OR_NOW          DL_LAZY
11512 #    else
11513 #      ifdef RTLD_NOW
11514 #        define LT_DLLAZY_OR_NOW        RTLD_NOW
11515 #      else
11516 #        ifdef DL_NOW
11517 #          define LT_DLLAZY_OR_NOW      DL_NOW
11518 #        else
11519 #          define LT_DLLAZY_OR_NOW      0
11520 #        endif
11521 #      endif
11522 #    endif
11523 #  endif
11524 #endif
11525
11526 /* When -fvisbility=hidden is used, assume the code has been annotated
11527    correspondingly for the symbols needed.  */
11528 #if defined(__GNUC__) && (((__GNUC__ == 3) && (__GNUC_MINOR__ >= 3)) || (__GNUC__ > 3))
11529 int fnord () __attribute__((visibility("default")));
11530 #endif
11531
11532 int fnord () { return 42; }
11533 int main ()
11534 {
11535   void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
11536   int status = $lt_dlunknown;
11537
11538   if (self)
11539     {
11540       if (dlsym (self,"fnord"))       status = $lt_dlno_uscore;
11541       else
11542         {
11543           if (dlsym( self,"_fnord"))  status = $lt_dlneed_uscore;
11544           else puts (dlerror ());
11545         }
11546       /* dlclose (self); */
11547     }
11548   else
11549     puts (dlerror ());
11550
11551   return status;
11552 }
11553 _LT_EOF
11554   if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
11555   (eval $ac_link) 2>&5
11556   ac_status=$?
11557   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
11558   test $ac_status = 0; } && test -s conftest${ac_exeext} 2>/dev/null; then
11559     (./conftest; exit; ) >&5 2>/dev/null
11560     lt_status=$?
11561     case x$lt_status in
11562       x$lt_dlno_uscore) lt_cv_dlopen_self_static=yes ;;
11563       x$lt_dlneed_uscore) lt_cv_dlopen_self_static=yes ;;
11564       x$lt_dlunknown|x*) lt_cv_dlopen_self_static=no ;;
11565     esac
11566   else :
11567     # compilation failed
11568     lt_cv_dlopen_self_static=no
11569   fi
11570 fi
11571 rm -fr conftest*
11572
11573
11574 fi
11575 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_dlopen_self_static" >&5
11576 $as_echo "$lt_cv_dlopen_self_static" >&6; }
11577     fi
11578
11579     CPPFLAGS="$save_CPPFLAGS"
11580     LDFLAGS="$save_LDFLAGS"
11581     LIBS="$save_LIBS"
11582     ;;
11583   esac
11584
11585   case $lt_cv_dlopen_self in
11586   yes|no) enable_dlopen_self=$lt_cv_dlopen_self ;;
11587   *) enable_dlopen_self=unknown ;;
11588   esac
11589
11590   case $lt_cv_dlopen_self_static in
11591   yes|no) enable_dlopen_self_static=$lt_cv_dlopen_self_static ;;
11592   *) enable_dlopen_self_static=unknown ;;
11593   esac
11594 fi
11595
11596
11597
11598
11599
11600
11601
11602
11603
11604
11605
11606
11607
11608
11609
11610
11611
11612 striplib=
11613 old_striplib=
11614 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether stripping libraries is possible" >&5
11615 $as_echo_n "checking whether stripping libraries is possible... " >&6; }
11616 if test -n "$STRIP" && $STRIP -V 2>&1 | $GREP "GNU strip" >/dev/null; then
11617   test -z "$old_striplib" && old_striplib="$STRIP --strip-debug"
11618   test -z "$striplib" && striplib="$STRIP --strip-unneeded"
11619   { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
11620 $as_echo "yes" >&6; }
11621 else
11622 # FIXME - insert some real tests, host_os isn't really good enough
11623   case $host_os in
11624   darwin*)
11625     if test -n "$STRIP" ; then
11626       striplib="$STRIP -x"
11627       old_striplib="$STRIP -S"
11628       { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
11629 $as_echo "yes" >&6; }
11630     else
11631       { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11632 $as_echo "no" >&6; }
11633     fi
11634     ;;
11635   *)
11636     { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11637 $as_echo "no" >&6; }
11638     ;;
11639   esac
11640 fi
11641
11642
11643
11644
11645
11646
11647
11648
11649
11650
11651
11652
11653   # Report which library types will actually be built
11654   { $as_echo "$as_me:${as_lineno-$LINENO}: checking if libtool supports shared libraries" >&5
11655 $as_echo_n "checking if libtool supports shared libraries... " >&6; }
11656   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $can_build_shared" >&5
11657 $as_echo "$can_build_shared" >&6; }
11658
11659   { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build shared libraries" >&5
11660 $as_echo_n "checking whether to build shared libraries... " >&6; }
11661   test "$can_build_shared" = "no" && enable_shared=no
11662
11663   # On AIX, shared libraries and static libraries use the same namespace, and
11664   # are all built from PIC.
11665   case $host_os in
11666   aix3*)
11667     test "$enable_shared" = yes && enable_static=no
11668     if test -n "$RANLIB"; then
11669       archive_cmds="$archive_cmds~\$RANLIB \$lib"
11670       postinstall_cmds='$RANLIB $lib'
11671     fi
11672     ;;
11673
11674   aix[4-9]*)
11675     if test "$host_cpu" != ia64 && test "$aix_use_runtimelinking" = no ; then
11676       test "$enable_shared" = yes && enable_static=no
11677     fi
11678     ;;
11679   esac
11680   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_shared" >&5
11681 $as_echo "$enable_shared" >&6; }
11682
11683   { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build static libraries" >&5
11684 $as_echo_n "checking whether to build static libraries... " >&6; }
11685   # Make sure either enable_shared or enable_static is yes.
11686   test "$enable_shared" = yes || enable_static=yes
11687   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_static" >&5
11688 $as_echo "$enable_static" >&6; }
11689
11690
11691
11692
11693 fi
11694 ac_ext=c
11695 ac_cpp='$CPP $CPPFLAGS'
11696 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
11697 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
11698 ac_compiler_gnu=$ac_cv_c_compiler_gnu
11699
11700 CC="$lt_save_CC"
11701
11702
11703
11704
11705
11706
11707
11708
11709
11710
11711
11712
11713
11714
11715
11716         ac_config_commands="$ac_config_commands libtool"
11717
11718
11719
11720
11721 # Only expand once:
11722
11723
11724
11725 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing strerror" >&5
11726 $as_echo_n "checking for library containing strerror... " >&6; }
11727 if ${ac_cv_search_strerror+:} false; then :
11728   $as_echo_n "(cached) " >&6
11729 else
11730   ac_func_search_save_LIBS=$LIBS
11731 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11732 /* end confdefs.h.  */
11733
11734 /* Override any GCC internal prototype to avoid an error.
11735    Use char because int might match the return type of a GCC
11736    builtin and then its argument prototype would still apply.  */
11737 #ifdef __cplusplus
11738 extern "C"
11739 #endif
11740 char strerror ();
11741 int
11742 main ()
11743 {
11744 return strerror ();
11745   ;
11746   return 0;
11747 }
11748 _ACEOF
11749 for ac_lib in '' cposix; do
11750   if test -z "$ac_lib"; then
11751     ac_res="none required"
11752   else
11753     ac_res=-l$ac_lib
11754     LIBS="-l$ac_lib  $ac_func_search_save_LIBS"
11755   fi
11756   if ac_fn_c_try_link "$LINENO"; then :
11757   ac_cv_search_strerror=$ac_res
11758 fi
11759 rm -f core conftest.err conftest.$ac_objext \
11760     conftest$ac_exeext
11761   if ${ac_cv_search_strerror+:} false; then :
11762   break
11763 fi
11764 done
11765 if ${ac_cv_search_strerror+:} false; then :
11766
11767 else
11768   ac_cv_search_strerror=no
11769 fi
11770 rm conftest.$ac_ext
11771 LIBS=$ac_func_search_save_LIBS
11772 fi
11773 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_strerror" >&5
11774 $as_echo "$ac_cv_search_strerror" >&6; }
11775 ac_res=$ac_cv_search_strerror
11776 if test "$ac_res" != no; then :
11777   test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
11778
11779 fi
11780
11781 ac_ext=c
11782 ac_cpp='$CPP $CPPFLAGS'
11783 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
11784 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
11785 ac_compiler_gnu=$ac_cv_c_compiler_gnu
11786 if test -n "$ac_tool_prefix"; then
11787   # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
11788 set dummy ${ac_tool_prefix}gcc; ac_word=$2
11789 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
11790 $as_echo_n "checking for $ac_word... " >&6; }
11791 if ${ac_cv_prog_CC+:} false; then :
11792   $as_echo_n "(cached) " >&6
11793 else
11794   if test -n "$CC"; then
11795   ac_cv_prog_CC="$CC" # Let the user override the test.
11796 else
11797 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11798 for as_dir in $PATH
11799 do
11800   IFS=$as_save_IFS
11801   test -z "$as_dir" && as_dir=.
11802     for ac_exec_ext in '' $ac_executable_extensions; do
11803   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
11804     ac_cv_prog_CC="${ac_tool_prefix}gcc"
11805     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
11806     break 2
11807   fi
11808 done
11809   done
11810 IFS=$as_save_IFS
11811
11812 fi
11813 fi
11814 CC=$ac_cv_prog_CC
11815 if test -n "$CC"; then
11816   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
11817 $as_echo "$CC" >&6; }
11818 else
11819   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11820 $as_echo "no" >&6; }
11821 fi
11822
11823
11824 fi
11825 if test -z "$ac_cv_prog_CC"; then
11826   ac_ct_CC=$CC
11827   # Extract the first word of "gcc", so it can be a program name with args.
11828 set dummy gcc; ac_word=$2
11829 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
11830 $as_echo_n "checking for $ac_word... " >&6; }
11831 if ${ac_cv_prog_ac_ct_CC+:} false; then :
11832   $as_echo_n "(cached) " >&6
11833 else
11834   if test -n "$ac_ct_CC"; then
11835   ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
11836 else
11837 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11838 for as_dir in $PATH
11839 do
11840   IFS=$as_save_IFS
11841   test -z "$as_dir" && as_dir=.
11842     for ac_exec_ext in '' $ac_executable_extensions; do
11843   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
11844     ac_cv_prog_ac_ct_CC="gcc"
11845     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
11846     break 2
11847   fi
11848 done
11849   done
11850 IFS=$as_save_IFS
11851
11852 fi
11853 fi
11854 ac_ct_CC=$ac_cv_prog_ac_ct_CC
11855 if test -n "$ac_ct_CC"; then
11856   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
11857 $as_echo "$ac_ct_CC" >&6; }
11858 else
11859   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11860 $as_echo "no" >&6; }
11861 fi
11862
11863   if test "x$ac_ct_CC" = x; then
11864     CC=""
11865   else
11866     case $cross_compiling:$ac_tool_warned in
11867 yes:)
11868 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
11869 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
11870 ac_tool_warned=yes ;;
11871 esac
11872     CC=$ac_ct_CC
11873   fi
11874 else
11875   CC="$ac_cv_prog_CC"
11876 fi
11877
11878 if test -z "$CC"; then
11879           if test -n "$ac_tool_prefix"; then
11880     # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
11881 set dummy ${ac_tool_prefix}cc; ac_word=$2
11882 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
11883 $as_echo_n "checking for $ac_word... " >&6; }
11884 if ${ac_cv_prog_CC+:} false; then :
11885   $as_echo_n "(cached) " >&6
11886 else
11887   if test -n "$CC"; then
11888   ac_cv_prog_CC="$CC" # Let the user override the test.
11889 else
11890 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11891 for as_dir in $PATH
11892 do
11893   IFS=$as_save_IFS
11894   test -z "$as_dir" && as_dir=.
11895     for ac_exec_ext in '' $ac_executable_extensions; do
11896   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
11897     ac_cv_prog_CC="${ac_tool_prefix}cc"
11898     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
11899     break 2
11900   fi
11901 done
11902   done
11903 IFS=$as_save_IFS
11904
11905 fi
11906 fi
11907 CC=$ac_cv_prog_CC
11908 if test -n "$CC"; then
11909   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
11910 $as_echo "$CC" >&6; }
11911 else
11912   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11913 $as_echo "no" >&6; }
11914 fi
11915
11916
11917   fi
11918 fi
11919 if test -z "$CC"; then
11920   # Extract the first word of "cc", so it can be a program name with args.
11921 set dummy cc; ac_word=$2
11922 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
11923 $as_echo_n "checking for $ac_word... " >&6; }
11924 if ${ac_cv_prog_CC+:} false; then :
11925   $as_echo_n "(cached) " >&6
11926 else
11927   if test -n "$CC"; then
11928   ac_cv_prog_CC="$CC" # Let the user override the test.
11929 else
11930   ac_prog_rejected=no
11931 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11932 for as_dir in $PATH
11933 do
11934   IFS=$as_save_IFS
11935   test -z "$as_dir" && as_dir=.
11936     for ac_exec_ext in '' $ac_executable_extensions; do
11937   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
11938     if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
11939        ac_prog_rejected=yes
11940        continue
11941      fi
11942     ac_cv_prog_CC="cc"
11943     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
11944     break 2
11945   fi
11946 done
11947   done
11948 IFS=$as_save_IFS
11949
11950 if test $ac_prog_rejected = yes; then
11951   # We found a bogon in the path, so make sure we never use it.
11952   set dummy $ac_cv_prog_CC
11953   shift
11954   if test $# != 0; then
11955     # We chose a different compiler from the bogus one.
11956     # However, it has the same basename, so the bogon will be chosen
11957     # first if we set CC to just the basename; use the full file name.
11958     shift
11959     ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
11960   fi
11961 fi
11962 fi
11963 fi
11964 CC=$ac_cv_prog_CC
11965 if test -n "$CC"; then
11966   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
11967 $as_echo "$CC" >&6; }
11968 else
11969   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11970 $as_echo "no" >&6; }
11971 fi
11972
11973
11974 fi
11975 if test -z "$CC"; then
11976   if test -n "$ac_tool_prefix"; then
11977   for ac_prog in cl.exe
11978   do
11979     # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
11980 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
11981 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
11982 $as_echo_n "checking for $ac_word... " >&6; }
11983 if ${ac_cv_prog_CC+:} false; then :
11984   $as_echo_n "(cached) " >&6
11985 else
11986   if test -n "$CC"; then
11987   ac_cv_prog_CC="$CC" # Let the user override the test.
11988 else
11989 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11990 for as_dir in $PATH
11991 do
11992   IFS=$as_save_IFS
11993   test -z "$as_dir" && as_dir=.
11994     for ac_exec_ext in '' $ac_executable_extensions; do
11995   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
11996     ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
11997     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
11998     break 2
11999   fi
12000 done
12001   done
12002 IFS=$as_save_IFS
12003
12004 fi
12005 fi
12006 CC=$ac_cv_prog_CC
12007 if test -n "$CC"; then
12008   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
12009 $as_echo "$CC" >&6; }
12010 else
12011   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12012 $as_echo "no" >&6; }
12013 fi
12014
12015
12016     test -n "$CC" && break
12017   done
12018 fi
12019 if test -z "$CC"; then
12020   ac_ct_CC=$CC
12021   for ac_prog in cl.exe
12022 do
12023   # Extract the first word of "$ac_prog", so it can be a program name with args.
12024 set dummy $ac_prog; ac_word=$2
12025 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
12026 $as_echo_n "checking for $ac_word... " >&6; }
12027 if ${ac_cv_prog_ac_ct_CC+:} false; then :
12028   $as_echo_n "(cached) " >&6
12029 else
12030   if test -n "$ac_ct_CC"; then
12031   ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
12032 else
12033 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12034 for as_dir in $PATH
12035 do
12036   IFS=$as_save_IFS
12037   test -z "$as_dir" && as_dir=.
12038     for ac_exec_ext in '' $ac_executable_extensions; do
12039   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
12040     ac_cv_prog_ac_ct_CC="$ac_prog"
12041     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
12042     break 2
12043   fi
12044 done
12045   done
12046 IFS=$as_save_IFS
12047
12048 fi
12049 fi
12050 ac_ct_CC=$ac_cv_prog_ac_ct_CC
12051 if test -n "$ac_ct_CC"; then
12052   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
12053 $as_echo "$ac_ct_CC" >&6; }
12054 else
12055   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12056 $as_echo "no" >&6; }
12057 fi
12058
12059
12060   test -n "$ac_ct_CC" && break
12061 done
12062
12063   if test "x$ac_ct_CC" = x; then
12064     CC=""
12065   else
12066     case $cross_compiling:$ac_tool_warned in
12067 yes:)
12068 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
12069 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
12070 ac_tool_warned=yes ;;
12071 esac
12072     CC=$ac_ct_CC
12073   fi
12074 fi
12075
12076 fi
12077
12078
12079 test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
12080 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
12081 as_fn_error $? "no acceptable C compiler found in \$PATH
12082 See \`config.log' for more details" "$LINENO" 5; }
12083
12084 # Provide some information about the compiler.
12085 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
12086 set X $ac_compile
12087 ac_compiler=$2
12088 for ac_option in --version -v -V -qversion; do
12089   { { ac_try="$ac_compiler $ac_option >&5"
12090 case "(($ac_try" in
12091   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
12092   *) ac_try_echo=$ac_try;;
12093 esac
12094 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
12095 $as_echo "$ac_try_echo"; } >&5
12096   (eval "$ac_compiler $ac_option >&5") 2>conftest.err
12097   ac_status=$?
12098   if test -s conftest.err; then
12099     sed '10a\
12100 ... rest of stderr output deleted ...
12101          10q' conftest.err >conftest.er1
12102     cat conftest.er1 >&5
12103   fi
12104   rm -f conftest.er1 conftest.err
12105   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
12106   test $ac_status = 0; }
12107 done
12108
12109 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
12110 $as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
12111 if ${ac_cv_c_compiler_gnu+:} false; then :
12112   $as_echo_n "(cached) " >&6
12113 else
12114   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12115 /* end confdefs.h.  */
12116
12117 int
12118 main ()
12119 {
12120 #ifndef __GNUC__
12121        choke me
12122 #endif
12123
12124   ;
12125   return 0;
12126 }
12127 _ACEOF
12128 if ac_fn_c_try_compile "$LINENO"; then :
12129   ac_compiler_gnu=yes
12130 else
12131   ac_compiler_gnu=no
12132 fi
12133 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
12134 ac_cv_c_compiler_gnu=$ac_compiler_gnu
12135
12136 fi
12137 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
12138 $as_echo "$ac_cv_c_compiler_gnu" >&6; }
12139 if test $ac_compiler_gnu = yes; then
12140   GCC=yes
12141 else
12142   GCC=
12143 fi
12144 ac_test_CFLAGS=${CFLAGS+set}
12145 ac_save_CFLAGS=$CFLAGS
12146 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
12147 $as_echo_n "checking whether $CC accepts -g... " >&6; }
12148 if ${ac_cv_prog_cc_g+:} false; then :
12149   $as_echo_n "(cached) " >&6
12150 else
12151   ac_save_c_werror_flag=$ac_c_werror_flag
12152    ac_c_werror_flag=yes
12153    ac_cv_prog_cc_g=no
12154    CFLAGS="-g"
12155    cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12156 /* end confdefs.h.  */
12157
12158 int
12159 main ()
12160 {
12161
12162   ;
12163   return 0;
12164 }
12165 _ACEOF
12166 if ac_fn_c_try_compile "$LINENO"; then :
12167   ac_cv_prog_cc_g=yes
12168 else
12169   CFLAGS=""
12170       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12171 /* end confdefs.h.  */
12172
12173 int
12174 main ()
12175 {
12176
12177   ;
12178   return 0;
12179 }
12180 _ACEOF
12181 if ac_fn_c_try_compile "$LINENO"; then :
12182
12183 else
12184   ac_c_werror_flag=$ac_save_c_werror_flag
12185          CFLAGS="-g"
12186          cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12187 /* end confdefs.h.  */
12188
12189 int
12190 main ()
12191 {
12192
12193   ;
12194   return 0;
12195 }
12196 _ACEOF
12197 if ac_fn_c_try_compile "$LINENO"; then :
12198   ac_cv_prog_cc_g=yes
12199 fi
12200 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
12201 fi
12202 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
12203 fi
12204 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
12205    ac_c_werror_flag=$ac_save_c_werror_flag
12206 fi
12207 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
12208 $as_echo "$ac_cv_prog_cc_g" >&6; }
12209 if test "$ac_test_CFLAGS" = set; then
12210   CFLAGS=$ac_save_CFLAGS
12211 elif test $ac_cv_prog_cc_g = yes; then
12212   if test "$GCC" = yes; then
12213     CFLAGS="-g -O2"
12214   else
12215     CFLAGS="-g"
12216   fi
12217 else
12218   if test "$GCC" = yes; then
12219     CFLAGS="-O2"
12220   else
12221     CFLAGS=
12222   fi
12223 fi
12224 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
12225 $as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
12226 if ${ac_cv_prog_cc_c89+:} false; then :
12227   $as_echo_n "(cached) " >&6
12228 else
12229   ac_cv_prog_cc_c89=no
12230 ac_save_CC=$CC
12231 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12232 /* end confdefs.h.  */
12233 #include <stdarg.h>
12234 #include <stdio.h>
12235 struct stat;
12236 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh.  */
12237 struct buf { int x; };
12238 FILE * (*rcsopen) (struct buf *, struct stat *, int);
12239 static char *e (p, i)
12240      char **p;
12241      int i;
12242 {
12243   return p[i];
12244 }
12245 static char *f (char * (*g) (char **, int), char **p, ...)
12246 {
12247   char *s;
12248   va_list v;
12249   va_start (v,p);
12250   s = g (p, va_arg (v,int));
12251   va_end (v);
12252   return s;
12253 }
12254
12255 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default.  It has
12256    function prototypes and stuff, but not '\xHH' hex character constants.
12257    These don't provoke an error unfortunately, instead are silently treated
12258    as 'x'.  The following induces an error, until -std is added to get
12259    proper ANSI mode.  Curiously '\x00'!='x' always comes out true, for an
12260    array size at least.  It's necessary to write '\x00'==0 to get something
12261    that's true only with -std.  */
12262 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
12263
12264 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
12265    inside strings and character constants.  */
12266 #define FOO(x) 'x'
12267 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
12268
12269 int test (int i, double x);
12270 struct s1 {int (*f) (int a);};
12271 struct s2 {int (*f) (double a);};
12272 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
12273 int argc;
12274 char **argv;
12275 int
12276 main ()
12277 {
12278 return f (e, argv, 0) != argv[0]  ||  f (e, argv, 1) != argv[1];
12279   ;
12280   return 0;
12281 }
12282 _ACEOF
12283 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
12284         -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
12285 do
12286   CC="$ac_save_CC $ac_arg"
12287   if ac_fn_c_try_compile "$LINENO"; then :
12288   ac_cv_prog_cc_c89=$ac_arg
12289 fi
12290 rm -f core conftest.err conftest.$ac_objext
12291   test "x$ac_cv_prog_cc_c89" != "xno" && break
12292 done
12293 rm -f conftest.$ac_ext
12294 CC=$ac_save_CC
12295
12296 fi
12297 # AC_CACHE_VAL
12298 case "x$ac_cv_prog_cc_c89" in
12299   x)
12300     { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
12301 $as_echo "none needed" >&6; } ;;
12302   xno)
12303     { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
12304 $as_echo "unsupported" >&6; } ;;
12305   *)
12306     CC="$CC $ac_cv_prog_cc_c89"
12307     { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
12308 $as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
12309 esac
12310 if test "x$ac_cv_prog_cc_c89" != xno; then :
12311
12312 fi
12313
12314 ac_ext=c
12315 ac_cpp='$CPP $CPPFLAGS'
12316 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
12317 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
12318 ac_compiler_gnu=$ac_cv_c_compiler_gnu
12319
12320 depcc="$CC"   am_compiler_list=
12321
12322 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5
12323 $as_echo_n "checking dependency style of $depcc... " >&6; }
12324 if ${am_cv_CC_dependencies_compiler_type+:} false; then :
12325   $as_echo_n "(cached) " >&6
12326 else
12327   if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
12328   # We make a subdir and do the tests there.  Otherwise we can end up
12329   # making bogus files that we don't know about and never remove.  For
12330   # instance it was reported that on HP-UX the gcc test will end up
12331   # making a dummy file named 'D' -- because '-MD' means "put the output
12332   # in D".
12333   rm -rf conftest.dir
12334   mkdir conftest.dir
12335   # Copy depcomp to subdir because otherwise we won't find it if we're
12336   # using a relative directory.
12337   cp "$am_depcomp" conftest.dir
12338   cd conftest.dir
12339   # We will build objects and dependencies in a subdirectory because
12340   # it helps to detect inapplicable dependency modes.  For instance
12341   # both Tru64's cc and ICC support -MD to output dependencies as a
12342   # side effect of compilation, but ICC will put the dependencies in
12343   # the current directory while Tru64 will put them in the object
12344   # directory.
12345   mkdir sub
12346
12347   am_cv_CC_dependencies_compiler_type=none
12348   if test "$am_compiler_list" = ""; then
12349      am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
12350   fi
12351   am__universal=false
12352   case " $depcc " in #(
12353      *\ -arch\ *\ -arch\ *) am__universal=true ;;
12354      esac
12355
12356   for depmode in $am_compiler_list; do
12357     # Setup a source with many dependencies, because some compilers
12358     # like to wrap large dependency lists on column 80 (with \), and
12359     # we should not choose a depcomp mode which is confused by this.
12360     #
12361     # We need to recreate these files for each test, as the compiler may
12362     # overwrite some of them when testing with obscure command lines.
12363     # This happens at least with the AIX C compiler.
12364     : > sub/conftest.c
12365     for i in 1 2 3 4 5 6; do
12366       echo '#include "conftst'$i'.h"' >> sub/conftest.c
12367       # Using ": > sub/conftst$i.h" creates only sub/conftst1.h with
12368       # Solaris 10 /bin/sh.
12369       echo '/* dummy */' > sub/conftst$i.h
12370     done
12371     echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
12372
12373     # We check with '-c' and '-o' for the sake of the "dashmstdout"
12374     # mode.  It turns out that the SunPro C++ compiler does not properly
12375     # handle '-M -o', and we need to detect this.  Also, some Intel
12376     # versions had trouble with output in subdirs.
12377     am__obj=sub/conftest.${OBJEXT-o}
12378     am__minus_obj="-o $am__obj"
12379     case $depmode in
12380     gcc)
12381       # This depmode causes a compiler race in universal mode.
12382       test "$am__universal" = false || continue
12383       ;;
12384     nosideeffect)
12385       # After this tag, mechanisms are not by side-effect, so they'll
12386       # only be used when explicitly requested.
12387       if test "x$enable_dependency_tracking" = xyes; then
12388         continue
12389       else
12390         break
12391       fi
12392       ;;
12393     msvc7 | msvc7msys | msvisualcpp | msvcmsys)
12394       # This compiler won't grok '-c -o', but also, the minuso test has
12395       # not run yet.  These depmodes are late enough in the game, and
12396       # so weak that their functioning should not be impacted.
12397       am__obj=conftest.${OBJEXT-o}
12398       am__minus_obj=
12399       ;;
12400     none) break ;;
12401     esac
12402     if depmode=$depmode \
12403        source=sub/conftest.c object=$am__obj \
12404        depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
12405        $SHELL ./depcomp $depcc -c $am__minus_obj sub/conftest.c \
12406          >/dev/null 2>conftest.err &&
12407        grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 &&
12408        grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
12409        grep $am__obj sub/conftest.Po > /dev/null 2>&1 &&
12410        ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
12411       # icc doesn't choke on unknown options, it will just issue warnings
12412       # or remarks (even with -Werror).  So we grep stderr for any message
12413       # that says an option was ignored or not supported.
12414       # When given -MP, icc 7.0 and 7.1 complain thusly:
12415       #   icc: Command line warning: ignoring option '-M'; no argument required
12416       # The diagnosis changed in icc 8.0:
12417       #   icc: Command line remark: option '-MP' not supported
12418       if (grep 'ignoring option' conftest.err ||
12419           grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
12420         am_cv_CC_dependencies_compiler_type=$depmode
12421         break
12422       fi
12423     fi
12424   done
12425
12426   cd ..
12427   rm -rf conftest.dir
12428 else
12429   am_cv_CC_dependencies_compiler_type=none
12430 fi
12431
12432 fi
12433 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_CC_dependencies_compiler_type" >&5
12434 $as_echo "$am_cv_CC_dependencies_compiler_type" >&6; }
12435 CCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type
12436
12437  if
12438   test "x$enable_dependency_tracking" != xno \
12439   && test "$am_cv_CC_dependencies_compiler_type" = gcc3; then
12440   am__fastdepCC_TRUE=
12441   am__fastdepCC_FALSE='#'
12442 else
12443   am__fastdepCC_TRUE='#'
12444   am__fastdepCC_FALSE=
12445 fi
12446
12447
12448 if test "x$CC" != xcc; then
12449   { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC and cc understand -c and -o together" >&5
12450 $as_echo_n "checking whether $CC and cc understand -c and -o together... " >&6; }
12451 else
12452   { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether cc understands -c and -o together" >&5
12453 $as_echo_n "checking whether cc understands -c and -o together... " >&6; }
12454 fi
12455 set dummy $CC; ac_cc=`$as_echo "$2" |
12456                       sed 's/[^a-zA-Z0-9_]/_/g;s/^[0-9]/_/'`
12457 if eval \${ac_cv_prog_cc_${ac_cc}_c_o+:} false; then :
12458   $as_echo_n "(cached) " >&6
12459 else
12460   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12461 /* end confdefs.h.  */
12462
12463 int
12464 main ()
12465 {
12466
12467   ;
12468   return 0;
12469 }
12470 _ACEOF
12471 # Make sure it works both with $CC and with simple cc.
12472 # We do the test twice because some compilers refuse to overwrite an
12473 # existing .o file with -o, though they will create one.
12474 ac_try='$CC -c conftest.$ac_ext -o conftest2.$ac_objext >&5'
12475 rm -f conftest2.*
12476 if { { case "(($ac_try" in
12477   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
12478   *) ac_try_echo=$ac_try;;
12479 esac
12480 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
12481 $as_echo "$ac_try_echo"; } >&5
12482   (eval "$ac_try") 2>&5
12483   ac_status=$?
12484   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
12485   test $ac_status = 0; } &&
12486    test -f conftest2.$ac_objext && { { case "(($ac_try" in
12487   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
12488   *) ac_try_echo=$ac_try;;
12489 esac
12490 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
12491 $as_echo "$ac_try_echo"; } >&5
12492   (eval "$ac_try") 2>&5
12493   ac_status=$?
12494   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
12495   test $ac_status = 0; };
12496 then
12497   eval ac_cv_prog_cc_${ac_cc}_c_o=yes
12498   if test "x$CC" != xcc; then
12499     # Test first that cc exists at all.
12500     if { ac_try='cc -c conftest.$ac_ext >&5'
12501   { { case "(($ac_try" in
12502   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
12503   *) ac_try_echo=$ac_try;;
12504 esac
12505 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
12506 $as_echo "$ac_try_echo"; } >&5
12507   (eval "$ac_try") 2>&5
12508   ac_status=$?
12509   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
12510   test $ac_status = 0; }; }; then
12511       ac_try='cc -c conftest.$ac_ext -o conftest2.$ac_objext >&5'
12512       rm -f conftest2.*
12513       if { { case "(($ac_try" in
12514   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
12515   *) ac_try_echo=$ac_try;;
12516 esac
12517 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
12518 $as_echo "$ac_try_echo"; } >&5
12519   (eval "$ac_try") 2>&5
12520   ac_status=$?
12521   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
12522   test $ac_status = 0; } &&
12523          test -f conftest2.$ac_objext && { { case "(($ac_try" in
12524   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
12525   *) ac_try_echo=$ac_try;;
12526 esac
12527 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
12528 $as_echo "$ac_try_echo"; } >&5
12529   (eval "$ac_try") 2>&5
12530   ac_status=$?
12531   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
12532   test $ac_status = 0; };
12533       then
12534         # cc works too.
12535         :
12536       else
12537         # cc exists but doesn't like -o.
12538         eval ac_cv_prog_cc_${ac_cc}_c_o=no
12539       fi
12540     fi
12541   fi
12542 else
12543   eval ac_cv_prog_cc_${ac_cc}_c_o=no
12544 fi
12545 rm -f core conftest*
12546
12547 fi
12548 if eval test \$ac_cv_prog_cc_${ac_cc}_c_o = yes; then
12549   { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
12550 $as_echo "yes" >&6; }
12551 else
12552   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12553 $as_echo "no" >&6; }
12554
12555 $as_echo "#define NO_MINUS_C_MINUS_O 1" >>confdefs.h
12556
12557 fi
12558
12559 # FIXME: we rely on the cache variable name because
12560 # there is no other way.
12561 set dummy $CC
12562 am_cc=`echo $2 | sed 's/[^a-zA-Z0-9_]/_/g;s/^[0-9]/_/'`
12563 eval am_t=\$ac_cv_prog_cc_${am_cc}_c_o
12564 if test "$am_t" != yes; then
12565    # Losing compiler, so override with the script.
12566    # FIXME: It is wrong to rewrite CC.
12567    # But if we don't then we get into trouble of one sort or another.
12568    # A longer-term fix would be to have automake use am__CC in this case,
12569    # and then we could set am__CC="\$(top_srcdir)/compile \$(CC)"
12570    CC="$am_aux_dir/compile $CC"
12571 fi
12572
12573
12574
12575 # option to specify python interpreter to use; this just sets $PYTHON, so that
12576 # we will fallback to reading $PYTHON if --with-python is not given, and
12577 # python.m4 will get the expected input
12578
12579 # Check whether --with-python was given.
12580 if test "${with_python+set}" = set; then :
12581   withval=$with_python; PYTHON="$withval"
12582 fi
12583
12584 if test x"$PYTHON" = xyes; then
12585         as_fn_error $? "--with-python option requires a path or program argument" "$LINENO" 5
12586 fi
12587 if test -n "$PYTHON" && ! which "$PYTHON"; then
12588         as_fn_error $? "Python interpreter $PYTHON does not exist" "$LINENO" 5
12589 fi
12590
12591 # check that we have the minimum version of python necessary to build
12592
12593
12594
12595
12596         if test -n "$PYTHON"; then
12597       # If the user set $PYTHON, use it and don't search something else.
12598       { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $PYTHON version >= 2.7" >&5
12599 $as_echo_n "checking whether $PYTHON version >= 2.7... " >&6; }
12600       prog="import sys
12601 # split strings by '.' and convert to numeric.  Append some zeros
12602 # because we need at least 4 digits for the hex conversion.
12603 # map returns an iterator in Python 3.0 and a list in 2.x
12604 minver = list(map(int, '2.7'.split('.'))) + [0, 0, 0]
12605 minverhex = 0
12606 # xrange is not present in Python 3.0 and range returns an iterator
12607 for i in list(range(0, 4)): minverhex = (minverhex << 8) + minver[i]
12608 sys.exit(sys.hexversion < minverhex)"
12609   if { echo "$as_me:$LINENO: $PYTHON -c "$prog"" >&5
12610    ($PYTHON -c "$prog") >&5 2>&5
12611    ac_status=$?
12612    echo "$as_me:$LINENO: \$? = $ac_status" >&5
12613    (exit $ac_status); }; then :
12614   { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
12615 $as_echo "yes" >&6; }
12616 else
12617   as_fn_error $? "too old" "$LINENO" 5
12618 fi
12619       am_display_PYTHON=$PYTHON
12620     else
12621       # Otherwise, try each interpreter until we find one that satisfies
12622       # VERSION.
12623       { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a Python interpreter with version >= 2.7" >&5
12624 $as_echo_n "checking for a Python interpreter with version >= 2.7... " >&6; }
12625 if ${am_cv_pathless_PYTHON+:} false; then :
12626   $as_echo_n "(cached) " >&6
12627 else
12628
12629         for am_cv_pathless_PYTHON in python3 python3.3 python3.2 python3.1 python2 python2.7 python none; do
12630           test "$am_cv_pathless_PYTHON" = none && break
12631           prog="import sys
12632 # split strings by '.' and convert to numeric.  Append some zeros
12633 # because we need at least 4 digits for the hex conversion.
12634 # map returns an iterator in Python 3.0 and a list in 2.x
12635 minver = list(map(int, '2.7'.split('.'))) + [0, 0, 0]
12636 minverhex = 0
12637 # xrange is not present in Python 3.0 and range returns an iterator
12638 for i in list(range(0, 4)): minverhex = (minverhex << 8) + minver[i]
12639 sys.exit(sys.hexversion < minverhex)"
12640   if { echo "$as_me:$LINENO: $am_cv_pathless_PYTHON -c "$prog"" >&5
12641    ($am_cv_pathless_PYTHON -c "$prog") >&5 2>&5
12642    ac_status=$?
12643    echo "$as_me:$LINENO: \$? = $ac_status" >&5
12644    (exit $ac_status); }; then :
12645   break
12646 fi
12647         done
12648 fi
12649 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_pathless_PYTHON" >&5
12650 $as_echo "$am_cv_pathless_PYTHON" >&6; }
12651       # Set $PYTHON to the absolute path of $am_cv_pathless_PYTHON.
12652       if test "$am_cv_pathless_PYTHON" = none; then
12653         PYTHON=:
12654       else
12655         # Extract the first word of "$am_cv_pathless_PYTHON", so it can be a program name with args.
12656 set dummy $am_cv_pathless_PYTHON; ac_word=$2
12657 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
12658 $as_echo_n "checking for $ac_word... " >&6; }
12659 if ${ac_cv_path_PYTHON+:} false; then :
12660   $as_echo_n "(cached) " >&6
12661 else
12662   case $PYTHON in
12663   [\\/]* | ?:[\\/]*)
12664   ac_cv_path_PYTHON="$PYTHON" # Let the user override the test with a path.
12665   ;;
12666   *)
12667   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12668 for as_dir in $PATH
12669 do
12670   IFS=$as_save_IFS
12671   test -z "$as_dir" && as_dir=.
12672     for ac_exec_ext in '' $ac_executable_extensions; do
12673   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
12674     ac_cv_path_PYTHON="$as_dir/$ac_word$ac_exec_ext"
12675     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
12676     break 2
12677   fi
12678 done
12679   done
12680 IFS=$as_save_IFS
12681
12682   ;;
12683 esac
12684 fi
12685 PYTHON=$ac_cv_path_PYTHON
12686 if test -n "$PYTHON"; then
12687   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PYTHON" >&5
12688 $as_echo "$PYTHON" >&6; }
12689 else
12690   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12691 $as_echo "no" >&6; }
12692 fi
12693
12694
12695       fi
12696       am_display_PYTHON=$am_cv_pathless_PYTHON
12697     fi
12698
12699
12700   if test "$PYTHON" = :; then
12701       as_fn_error $? "no suitable Python interpreter found" "$LINENO" 5
12702   else
12703
12704
12705   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $am_display_PYTHON version" >&5
12706 $as_echo_n "checking for $am_display_PYTHON version... " >&6; }
12707 if ${am_cv_python_version+:} false; then :
12708   $as_echo_n "(cached) " >&6
12709 else
12710   am_cv_python_version=`$PYTHON -c "import sys; sys.stdout.write(sys.version[:3])"`
12711 fi
12712 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_python_version" >&5
12713 $as_echo "$am_cv_python_version" >&6; }
12714   PYTHON_VERSION=$am_cv_python_version
12715
12716
12717
12718   PYTHON_PREFIX='${prefix}'
12719
12720   PYTHON_EXEC_PREFIX='${exec_prefix}'
12721
12722
12723
12724   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $am_display_PYTHON platform" >&5
12725 $as_echo_n "checking for $am_display_PYTHON platform... " >&6; }
12726 if ${am_cv_python_platform+:} false; then :
12727   $as_echo_n "(cached) " >&6
12728 else
12729   am_cv_python_platform=`$PYTHON -c "import sys; sys.stdout.write(sys.platform)"`
12730 fi
12731 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_python_platform" >&5
12732 $as_echo "$am_cv_python_platform" >&6; }
12733   PYTHON_PLATFORM=$am_cv_python_platform
12734
12735
12736
12737
12738                 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $am_display_PYTHON script directory" >&5
12739 $as_echo_n "checking for $am_display_PYTHON script directory... " >&6; }
12740 if ${am_cv_python_pythondir+:} false; then :
12741   $as_echo_n "(cached) " >&6
12742 else
12743   am_cv_python_pythondir=`$PYTHON -c "from distutils import sysconfig; print(sysconfig.get_python_lib(0,0,prefix='$PYTHON_PREFIX'))" 2>/dev/null ||
12744      echo "$PYTHON_PREFIX/lib/python$PYTHON_VERSION/site-packages"`
12745 fi
12746 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_python_pythondir" >&5
12747 $as_echo "$am_cv_python_pythondir" >&6; }
12748   pythondir=$am_cv_python_pythondir
12749
12750
12751
12752   pkgpythondir=\${pythondir}/$PACKAGE
12753
12754
12755             { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $am_display_PYTHON extension module directory" >&5
12756 $as_echo_n "checking for $am_display_PYTHON extension module directory... " >&6; }
12757 if ${am_cv_python_pyexecdir+:} false; then :
12758   $as_echo_n "(cached) " >&6
12759 else
12760   am_cv_python_pyexecdir=`$PYTHON -c "from distutils import sysconfig; print(sysconfig.get_python_lib(1,0,prefix='$PYTHON_EXEC_PREFIX'))" 2>/dev/null ||
12761      echo "${PYTHON_EXEC_PREFIX}/lib/python${PYTHON_VERSION}/site-packages"`
12762 fi
12763 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_python_pyexecdir" >&5
12764 $as_echo "$am_cv_python_pyexecdir" >&6; }
12765   pyexecdir=$am_cv_python_pyexecdir
12766
12767
12768
12769   pkgpyexecdir=\${pyexecdir}/$PACKAGE
12770
12771
12772
12773   fi
12774
12775
12776
12777 # check if we are building for python 3
12778 prog="import sys
12779 # split strings by '.' and convert to numeric.  Append some zeros
12780 # because we need at least 4 digits for the hex conversion.
12781 # map returns an iterator in Python 3.0 and a list in 2.x
12782 minver = list(map(int, '3.0'.split('.'))) + [0, 0, 0]
12783 minverhex = 0
12784 # xrange is not present in Python 3.0 and range returns an iterator
12785 for i in list(range(0, 4)): minverhex = (minverhex << 8) + minver[i]
12786 sys.exit(sys.hexversion < minverhex)"
12787   if { echo "$as_me:$LINENO: $PYTHON -c "$prog"" >&5
12788    ($PYTHON -c "$prog") >&5 2>&5
12789    ac_status=$?
12790    echo "$as_me:$LINENO: \$? = $ac_status" >&5
12791    (exit $ac_status); }; then :
12792   build_py3k=true
12793 else
12794   build_py3k=false
12795 fi
12796
12797 # if building for python 3 make sure we have the minimum version supported
12798 if test $build_py3k = true ; then
12799   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $PYTHON >= 3.1" >&5
12800 $as_echo_n "checking for $PYTHON >= 3.1... " >&6; }
12801   prog="import sys
12802 # split strings by '.' and convert to numeric.  Append some zeros
12803 # because we need at least 4 digits for the hex conversion.
12804 # map returns an iterator in Python 3.0 and a list in 2.x
12805 minver = list(map(int, '3.1'.split('.'))) + [0, 0, 0]
12806 minverhex = 0
12807 # xrange is not present in Python 3.0 and range returns an iterator
12808 for i in list(range(0, 4)): minverhex = (minverhex << 8) + minver[i]
12809 sys.exit(sys.hexversion < minverhex)"
12810   if { echo "$as_me:$LINENO: $PYTHON -c "$prog"" >&5
12811    ($PYTHON -c "$prog") >&5 2>&5
12812    ac_status=$?
12813    echo "$as_me:$LINENO: \$? = $ac_status" >&5
12814    (exit $ac_status); }; then :
12815   { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
12816 $as_echo "yes" >&6; }
12817 else
12818   as_fn_error $? "too old" "$LINENO" 5
12819 fi
12820 fi
12821
12822 # - 'SO' for PyPy, CPython 2.7-3.2
12823 # - 'EXT_SUFFIX' for CPython3.3+ (http://bugs.python.org/issue16754)
12824 # - fallback to '.so'
12825 PYTHON_SO=`$PYTHON -c "import distutils.sysconfig, sys; get = distutils.sysconfig.get_config_var; sys.stdout.write(get('EXT_SUFFIX') or get('SO') or '.so');"`
12826
12827
12828
12829
12830
12831
12832
12833
12834         # Find any Python interpreter.
12835     if test -z "$PYTHON"; then
12836       for ac_prog in python3 python3.3 python3.2 python3.1 python2 python2.7 python
12837 do
12838   # Extract the first word of "$ac_prog", so it can be a program name with args.
12839 set dummy $ac_prog; ac_word=$2
12840 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
12841 $as_echo_n "checking for $ac_word... " >&6; }
12842 if ${ac_cv_path_PYTHON+:} false; then :
12843   $as_echo_n "(cached) " >&6
12844 else
12845   case $PYTHON in
12846   [\\/]* | ?:[\\/]*)
12847   ac_cv_path_PYTHON="$PYTHON" # Let the user override the test with a path.
12848   ;;
12849   *)
12850   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12851 for as_dir in $PATH
12852 do
12853   IFS=$as_save_IFS
12854   test -z "$as_dir" && as_dir=.
12855     for ac_exec_ext in '' $ac_executable_extensions; do
12856   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
12857     ac_cv_path_PYTHON="$as_dir/$ac_word$ac_exec_ext"
12858     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
12859     break 2
12860   fi
12861 done
12862   done
12863 IFS=$as_save_IFS
12864
12865   ;;
12866 esac
12867 fi
12868 PYTHON=$ac_cv_path_PYTHON
12869 if test -n "$PYTHON"; then
12870   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PYTHON" >&5
12871 $as_echo "$PYTHON" >&6; }
12872 else
12873   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12874 $as_echo "no" >&6; }
12875 fi
12876
12877
12878   test -n "$PYTHON" && break
12879 done
12880 test -n "$PYTHON" || PYTHON=":"
12881
12882     fi
12883     am_display_PYTHON=python
12884
12885
12886   if test "$PYTHON" = :; then
12887       as_fn_error $? "no suitable Python interpreter found" "$LINENO" 5
12888   else
12889
12890
12891   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $am_display_PYTHON version" >&5
12892 $as_echo_n "checking for $am_display_PYTHON version... " >&6; }
12893 if ${am_cv_python_version+:} false; then :
12894   $as_echo_n "(cached) " >&6
12895 else
12896   am_cv_python_version=`$PYTHON -c "import sys; sys.stdout.write(sys.version[:3])"`
12897 fi
12898 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_python_version" >&5
12899 $as_echo "$am_cv_python_version" >&6; }
12900   PYTHON_VERSION=$am_cv_python_version
12901
12902
12903
12904   PYTHON_PREFIX='${prefix}'
12905
12906   PYTHON_EXEC_PREFIX='${exec_prefix}'
12907
12908
12909
12910   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $am_display_PYTHON platform" >&5
12911 $as_echo_n "checking for $am_display_PYTHON platform... " >&6; }
12912 if ${am_cv_python_platform+:} false; then :
12913   $as_echo_n "(cached) " >&6
12914 else
12915   am_cv_python_platform=`$PYTHON -c "import sys; sys.stdout.write(sys.platform)"`
12916 fi
12917 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_python_platform" >&5
12918 $as_echo "$am_cv_python_platform" >&6; }
12919   PYTHON_PLATFORM=$am_cv_python_platform
12920
12921
12922   # Just factor out some code duplication.
12923   am_python_setup_sysconfig="\
12924 import sys
12925 # Prefer sysconfig over distutils.sysconfig, for better compatibility
12926 # with python 3.x.  See automake bug#10227.
12927 try:
12928     import sysconfig
12929 except ImportError:
12930     can_use_sysconfig = 0
12931 else:
12932     can_use_sysconfig = 1
12933 # Can't use sysconfig in CPython 2.7, since it's broken in virtualenvs:
12934 # <https://github.com/pypa/virtualenv/issues/118>
12935 try:
12936     from platform import python_implementation
12937     if python_implementation() == 'CPython' and sys.version[:3] == '2.7':
12938         can_use_sysconfig = 0
12939 except ImportError:
12940     pass"
12941
12942
12943             { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $am_display_PYTHON script directory" >&5
12944 $as_echo_n "checking for $am_display_PYTHON script directory... " >&6; }
12945 if ${am_cv_python_pythondir+:} false; then :
12946   $as_echo_n "(cached) " >&6
12947 else
12948   if test "x$prefix" = xNONE
12949      then
12950        am_py_prefix=$ac_default_prefix
12951      else
12952        am_py_prefix=$prefix
12953      fi
12954      am_cv_python_pythondir=`$PYTHON -c "
12955 $am_python_setup_sysconfig
12956 if can_use_sysconfig:
12957     sitedir = sysconfig.get_path('purelib', vars={'base':'$am_py_prefix'})
12958 else:
12959     from distutils import sysconfig
12960     sitedir = sysconfig.get_python_lib(0, 0, prefix='$am_py_prefix')
12961 sys.stdout.write(sitedir)"`
12962      case $am_cv_python_pythondir in
12963      $am_py_prefix*)
12964        am__strip_prefix=`echo "$am_py_prefix" | sed 's|.|.|g'`
12965        am_cv_python_pythondir=`echo "$am_cv_python_pythondir" | sed "s,^$am__strip_prefix,$PYTHON_PREFIX,"`
12966        ;;
12967      *)
12968        case $am_py_prefix in
12969          /usr|/System*) ;;
12970          *)
12971           am_cv_python_pythondir=$PYTHON_PREFIX/lib/python$PYTHON_VERSION/site-packages
12972           ;;
12973        esac
12974        ;;
12975      esac
12976
12977 fi
12978 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_python_pythondir" >&5
12979 $as_echo "$am_cv_python_pythondir" >&6; }
12980   pythondir=$am_cv_python_pythondir
12981
12982
12983
12984   pkgpythondir=\${pythondir}/$PACKAGE
12985
12986
12987         { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $am_display_PYTHON extension module directory" >&5
12988 $as_echo_n "checking for $am_display_PYTHON extension module directory... " >&6; }
12989 if ${am_cv_python_pyexecdir+:} false; then :
12990   $as_echo_n "(cached) " >&6
12991 else
12992   if test "x$exec_prefix" = xNONE
12993      then
12994        am_py_exec_prefix=$am_py_prefix
12995      else
12996        am_py_exec_prefix=$exec_prefix
12997      fi
12998      am_cv_python_pyexecdir=`$PYTHON -c "
12999 $am_python_setup_sysconfig
13000 if can_use_sysconfig:
13001     sitedir = sysconfig.get_path('platlib', vars={'platbase':'$am_py_prefix'})
13002 else:
13003     from distutils import sysconfig
13004     sitedir = sysconfig.get_python_lib(1, 0, prefix='$am_py_prefix')
13005 sys.stdout.write(sitedir)"`
13006      case $am_cv_python_pyexecdir in
13007      $am_py_exec_prefix*)
13008        am__strip_prefix=`echo "$am_py_exec_prefix" | sed 's|.|.|g'`
13009        am_cv_python_pyexecdir=`echo "$am_cv_python_pyexecdir" | sed "s,^$am__strip_prefix,$PYTHON_EXEC_PREFIX,"`
13010        ;;
13011      *)
13012        case $am_py_exec_prefix in
13013          /usr|/System*) ;;
13014          *)
13015            am_cv_python_pyexecdir=$PYTHON_EXEC_PREFIX/lib/python$PYTHON_VERSION/site-packages
13016            ;;
13017        esac
13018        ;;
13019      esac
13020
13021 fi
13022 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_python_pyexecdir" >&5
13023 $as_echo "$am_cv_python_pyexecdir" >&6; }
13024   pyexecdir=$am_cv_python_pyexecdir
13025
13026
13027
13028   pkgpyexecdir=\${pyexecdir}/$PACKAGE
13029
13030
13031
13032   fi
13033
13034
13035
13036 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for headers required to compile python extensions" >&5
13037 $as_echo_n "checking for headers required to compile python extensions... " >&6; }
13038 if test "x$PYTHON_INCLUDES" = x; then
13039   PYTHON_CONFIG=`which $PYTHON`-config
13040   if test -x "$PYTHON_CONFIG"; then
13041     PYTHON_INCLUDES=`$PYTHON_CONFIG --includes 2>/dev/null`
13042   else
13043     PYTHON_INCLUDES=`$PYTHON -c "import distutils.sysconfig, sys; sys.stdout.write(distutils.sysconfig.get_python_inc(True))"`
13044     PYTHON_INCLUDES="-I$PYTHON_INCLUDES"
13045   fi
13046 fi
13047
13048 save_CPPFLAGS="$CPPFLAGS"
13049 CPPFLAGS="$CPPFLAGS $PYTHON_INCLUDES"
13050 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13051 /* end confdefs.h.  */
13052 #include <Python.h>
13053 _ACEOF
13054 if ac_fn_c_try_cpp "$LINENO"; then :
13055   { $as_echo "$as_me:${as_lineno-$LINENO}: result: found" >&5
13056 $as_echo "found" >&6; }
13057
13058 else
13059   { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
13060 $as_echo "not found" >&6; }
13061 as_fn_error $? "Python headers not found" "$LINENO" 5
13062 fi
13063 rm -f conftest.err conftest.i conftest.$ac_ext
13064 CPPFLAGS="$save_CPPFLAGS"
13065
13066 if test "x$link_python_libs" = "xyes"; then
13067
13068 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libraries required to embed python" >&5
13069 $as_echo_n "checking for libraries required to embed python... " >&6; }
13070 py_prefix=`$PYTHON -c "import sys; sys.stdout.write(sys.prefix)"`
13071 if test "x$PYTHON_LIBS" = x; then
13072   PYTHON_CONFIG=`which $PYTHON`-config
13073   if test -x "$PYTHON_CONFIG"; then
13074     PYTHON_LIBS=`$PYTHON_CONFIG --ldflags 2>/dev/null`
13075   else
13076     PYTHON_LIBS="-L${py_prefix}/lib -lpython${PYTHON_VERSION}"
13077   fi
13078 fi
13079 if test "x$PYTHON_LIB_LOC" = x; then
13080         PYTHON_LIB_LOC="${py_prefix}/lib"
13081 fi
13082
13083
13084 save_LIBS="$LIBS"
13085 LIBS="$LIBS $PYTHON_LIBS"
13086 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13087 /* end confdefs.h.  */
13088
13089 /* Override any GCC internal prototype to avoid an error.
13090    Use char because int might match the return type of a GCC
13091    builtin and then its argument prototype would still apply.  */
13092 #ifdef __cplusplus
13093 extern "C"
13094 #endif
13095 char Py_Initialize ();
13096 int
13097 main ()
13098 {
13099 return Py_Initialize ();
13100   ;
13101   return 0;
13102 }
13103 _ACEOF
13104 if ac_fn_c_try_link "$LINENO"; then :
13105            LIBS="$save_LIBS"; { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
13106 $as_echo "yes" >&6; };
13107 else
13108            LIBS="$save_LIBS"; { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
13109 $as_echo "no" >&6; }; as_fn_error $? "Python libs not found. Windows and Darwin require Python modules to be explicitly linked to libpython." "$LINENO" 5
13110 fi
13111 rm -f core conftest.err conftest.$ac_objext \
13112     conftest$ac_exeext conftest.$ac_ext
13113
13114
13115 fi
13116
13117 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for PySignal_SetWakeupFd in Python.h" >&5
13118 $as_echo_n "checking for PySignal_SetWakeupFd in Python.h... " >&6; }
13119 old_CPPFLAGS=$CPPFLAGS
13120 CPPFLAGS="-Wall -Werror $PYTHON_INCLUDES"
13121 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13122 /* end confdefs.h.  */
13123 #include <Python.h>
13124 int
13125 main ()
13126 {
13127 PySignal_SetWakeupFd(0);
13128   ;
13129   return 0;
13130 }
13131 _ACEOF
13132 if ac_fn_c_try_compile "$LINENO"; then :
13133   setwakeupfd_ok=yes
13134 else
13135   setwakeupfd_ok=no
13136 fi
13137 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
13138 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $setwakeupfd_ok" >&5
13139 $as_echo "$setwakeupfd_ok" >&6; }
13140 if test "x$setwakeupfd_ok" != xno; then
13141
13142 $as_echo "#define HAVE_PYSIGNAL_SETWAKEUPFD 1" >>confdefs.h
13143
13144 fi
13145 CPPFLAGS=$old_CPPFLAGS
13146
13147 PLATFORM=`$PYTHON -c "import sys; from distutils import util; sys.stdout.write(util.get_platform())"`
13148
13149
13150 # Check whether --enable-thread was given.
13151 if test "${enable_thread+set}" = set; then :
13152   enableval=$enable_thread;
13153 else
13154   enable_thread=yes
13155 fi
13156
13157
13158
13159 py_mod_var=`echo thread'_' | sed 'y%./+-%__p_%'`
13160 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for python module thread" >&5
13161 $as_echo_n "checking for python module thread... " >&6; }
13162 if eval \${py_cv_mod_$py_mod_var+:} false; then :
13163   $as_echo_n "(cached) " >&6
13164 else
13165
13166 prog="
13167 import sys
13168 try:
13169         import thread
13170 except ImportError:
13171         sys.exit(1)
13172 except:
13173         sys.exit(0)
13174 sys.exit(0)"
13175 if $PYTHON -c "$prog" 1>&5 2>&5
13176   then
13177     eval "py_cv_mod_$py_mod_var=yes"
13178   else
13179     eval "py_cv_mod_$py_mod_var=no"
13180   fi
13181
13182 fi
13183
13184 py_val=`eval "echo \`echo '$py_cv_mod_'$py_mod_var\`"`
13185 if test "x$py_val" != xno; then
13186   { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
13187 $as_echo "yes" >&6; }
13188   else
13189   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
13190 $as_echo "no" >&6; }
13191   enable_thread=check_for_py3_module
13192 fi
13193
13194 if test "x$enable_thread" = xcheck_for_py3_module; then
13195
13196 py_mod_var=`echo _thread'_' | sed 'y%./+-%__p_%'`
13197 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for python module _thread" >&5
13198 $as_echo_n "checking for python module _thread... " >&6; }
13199 if eval \${py_cv_mod_$py_mod_var+:} false; then :
13200   $as_echo_n "(cached) " >&6
13201 else
13202
13203 prog="
13204 import sys
13205 try:
13206         import _thread
13207 except ImportError:
13208         sys.exit(1)
13209 except:
13210         sys.exit(0)
13211 sys.exit(0)"
13212 if $PYTHON -c "$prog" 1>&5 2>&5
13213   then
13214     eval "py_cv_mod_$py_mod_var=yes"
13215   else
13216     eval "py_cv_mod_$py_mod_var=no"
13217   fi
13218
13219 fi
13220
13221 py_val=`eval "echo \`echo '$py_cv_mod_'$py_mod_var\`"`
13222 if test "x$py_val" != xno; then
13223   { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
13224 $as_echo "yes" >&6; }
13225   enable_thread=yes
13226 else
13227   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
13228 $as_echo "no" >&6; }
13229   enable_thread=no
13230 fi
13231
13232 fi
13233
13234 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to enable threading in pygobject" >&5
13235 $as_echo_n "checking whether to enable threading in pygobject... " >&6; }
13236 if test "x$enable_thread" != xno; then
13237   extra_mods=gthread
13238   THREADING_CFLAGS=
13239   { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
13240 $as_echo "yes" >&6; }
13241 else
13242   extra_mods=
13243   THREADING_CFLAGS="-DDISABLE_THREADING"
13244   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
13245 $as_echo "no" >&6; }
13246 fi
13247
13248 CPPFLAGS="${CPPFLAGS} $THREADING_CFLAGS"
13249
13250 export_dynamic=`(./libtool --config; echo eval echo \\$export_dynamic_flag_spec) | sh`
13251
13252 # Check whether --enable-glibtest was given.
13253 if test "${enable_glibtest+set}" = set; then :
13254   enableval=$enable_glibtest;
13255 else
13256   enable_glibtest=yes
13257 fi
13258
13259
13260   pkg_config_args=glib-2.0
13261   for module in . gobject $extra_mods
13262   do
13263       case "$module" in
13264          gmodule)
13265              pkg_config_args="$pkg_config_args gmodule-2.0"
13266          ;;
13267          gmodule-no-export)
13268              pkg_config_args="$pkg_config_args gmodule-no-export-2.0"
13269          ;;
13270          gobject)
13271              pkg_config_args="$pkg_config_args gobject-2.0"
13272          ;;
13273          gthread)
13274              pkg_config_args="$pkg_config_args gthread-2.0"
13275          ;;
13276          gio*)
13277              pkg_config_args="$pkg_config_args $module-2.0"
13278          ;;
13279       esac
13280   done
13281
13282
13283
13284
13285
13286
13287
13288
13289 if test "x$ac_cv_env_PKG_CONFIG_set" != "xset"; then
13290         if test -n "$ac_tool_prefix"; then
13291   # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
13292 set dummy ${ac_tool_prefix}pkg-config; ac_word=$2
13293 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
13294 $as_echo_n "checking for $ac_word... " >&6; }
13295 if ${ac_cv_path_PKG_CONFIG+:} false; then :
13296   $as_echo_n "(cached) " >&6
13297 else
13298   case $PKG_CONFIG in
13299   [\\/]* | ?:[\\/]*)
13300   ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path.
13301   ;;
13302   *)
13303   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
13304 for as_dir in $PATH
13305 do
13306   IFS=$as_save_IFS
13307   test -z "$as_dir" && as_dir=.
13308     for ac_exec_ext in '' $ac_executable_extensions; do
13309   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
13310     ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
13311     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
13312     break 2
13313   fi
13314 done
13315   done
13316 IFS=$as_save_IFS
13317
13318   ;;
13319 esac
13320 fi
13321 PKG_CONFIG=$ac_cv_path_PKG_CONFIG
13322 if test -n "$PKG_CONFIG"; then
13323   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PKG_CONFIG" >&5
13324 $as_echo "$PKG_CONFIG" >&6; }
13325 else
13326   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
13327 $as_echo "no" >&6; }
13328 fi
13329
13330
13331 fi
13332 if test -z "$ac_cv_path_PKG_CONFIG"; then
13333   ac_pt_PKG_CONFIG=$PKG_CONFIG
13334   # Extract the first word of "pkg-config", so it can be a program name with args.
13335 set dummy pkg-config; ac_word=$2
13336 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
13337 $as_echo_n "checking for $ac_word... " >&6; }
13338 if ${ac_cv_path_ac_pt_PKG_CONFIG+:} false; then :
13339   $as_echo_n "(cached) " >&6
13340 else
13341   case $ac_pt_PKG_CONFIG in
13342   [\\/]* | ?:[\\/]*)
13343   ac_cv_path_ac_pt_PKG_CONFIG="$ac_pt_PKG_CONFIG" # Let the user override the test with a path.
13344   ;;
13345   *)
13346   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
13347 for as_dir in $PATH
13348 do
13349   IFS=$as_save_IFS
13350   test -z "$as_dir" && as_dir=.
13351     for ac_exec_ext in '' $ac_executable_extensions; do
13352   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
13353     ac_cv_path_ac_pt_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
13354     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
13355     break 2
13356   fi
13357 done
13358   done
13359 IFS=$as_save_IFS
13360
13361   ;;
13362 esac
13363 fi
13364 ac_pt_PKG_CONFIG=$ac_cv_path_ac_pt_PKG_CONFIG
13365 if test -n "$ac_pt_PKG_CONFIG"; then
13366   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_pt_PKG_CONFIG" >&5
13367 $as_echo "$ac_pt_PKG_CONFIG" >&6; }
13368 else
13369   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
13370 $as_echo "no" >&6; }
13371 fi
13372
13373   if test "x$ac_pt_PKG_CONFIG" = x; then
13374     PKG_CONFIG=""
13375   else
13376     case $cross_compiling:$ac_tool_warned in
13377 yes:)
13378 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
13379 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
13380 ac_tool_warned=yes ;;
13381 esac
13382     PKG_CONFIG=$ac_pt_PKG_CONFIG
13383   fi
13384 else
13385   PKG_CONFIG="$ac_cv_path_PKG_CONFIG"
13386 fi
13387
13388 fi
13389 if test -n "$PKG_CONFIG"; then
13390         _pkg_min_version=0.16
13391         { $as_echo "$as_me:${as_lineno-$LINENO}: checking pkg-config is at least version $_pkg_min_version" >&5
13392 $as_echo_n "checking pkg-config is at least version $_pkg_min_version... " >&6; }
13393         if $PKG_CONFIG --atleast-pkgconfig-version $_pkg_min_version; then
13394                 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
13395 $as_echo "yes" >&6; }
13396         else
13397                 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
13398 $as_echo "no" >&6; }
13399                 PKG_CONFIG=""
13400         fi
13401 fi
13402
13403   no_glib=""
13404
13405   if test "x$PKG_CONFIG" = x ; then
13406     no_glib=yes
13407     PKG_CONFIG=no
13408   fi
13409
13410   min_glib_version=2.38.0
13411   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GLIB - version >= $min_glib_version" >&5
13412 $as_echo_n "checking for GLIB - version >= $min_glib_version... " >&6; }
13413
13414   if test x$PKG_CONFIG != xno ; then
13415     ## don't try to run the test against uninstalled libtool libs
13416     if $PKG_CONFIG --uninstalled $pkg_config_args; then
13417           echo "Will use uninstalled version of GLib found in PKG_CONFIG_PATH"
13418           enable_glibtest=no
13419     fi
13420
13421     if $PKG_CONFIG --atleast-version $min_glib_version $pkg_config_args; then
13422           :
13423     else
13424           no_glib=yes
13425     fi
13426   fi
13427
13428   if test x"$no_glib" = x ; then
13429     GLIB_GENMARSHAL=`$PKG_CONFIG --variable=glib_genmarshal glib-2.0`
13430     GOBJECT_QUERY=`$PKG_CONFIG --variable=gobject_query glib-2.0`
13431     GLIB_MKENUMS=`$PKG_CONFIG --variable=glib_mkenums glib-2.0`
13432     GLIB_COMPILE_RESOURCES=`$PKG_CONFIG --variable=glib_compile_resources gio-2.0`
13433
13434     GLIB_CFLAGS=`$PKG_CONFIG --cflags $pkg_config_args`
13435     GLIB_LIBS=`$PKG_CONFIG --libs $pkg_config_args`
13436     glib_config_major_version=`$PKG_CONFIG --modversion glib-2.0 | \
13437            sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\1/'`
13438     glib_config_minor_version=`$PKG_CONFIG --modversion glib-2.0 | \
13439            sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\2/'`
13440     glib_config_micro_version=`$PKG_CONFIG --modversion glib-2.0 | \
13441            sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\3/'`
13442     if test "x$enable_glibtest" = "xyes" ; then
13443       ac_save_CFLAGS="$CFLAGS"
13444       ac_save_LIBS="$LIBS"
13445       CFLAGS="$CFLAGS $GLIB_CFLAGS"
13446       LIBS="$GLIB_LIBS $LIBS"
13447       rm -f conf.glibtest
13448       if test "$cross_compiling" = yes; then :
13449   echo $ac_n "cross compiling; assumed OK... $ac_c"
13450 else
13451   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13452 /* end confdefs.h.  */
13453
13454 #include <glib.h>
13455 #include <stdio.h>
13456 #include <stdlib.h>
13457
13458 int
13459 main ()
13460 {
13461   unsigned int major, minor, micro;
13462
13463   fclose (fopen ("conf.glibtest", "w"));
13464
13465   if (sscanf("$min_glib_version", "%u.%u.%u", &major, &minor, &micro) != 3) {
13466      printf("%s, bad version string\n", "$min_glib_version");
13467      exit(1);
13468    }
13469
13470   if ((glib_major_version != $glib_config_major_version) ||
13471       (glib_minor_version != $glib_config_minor_version) ||
13472       (glib_micro_version != $glib_config_micro_version))
13473     {
13474       printf("\n*** 'pkg-config --modversion glib-2.0' returned %d.%d.%d, but GLIB (%d.%d.%d)\n",
13475              $glib_config_major_version, $glib_config_minor_version, $glib_config_micro_version,
13476              glib_major_version, glib_minor_version, glib_micro_version);
13477       printf ("*** was found! If pkg-config was correct, then it is best\n");
13478       printf ("*** to remove the old version of GLib. You may also be able to fix the error\n");
13479       printf("*** by modifying your LD_LIBRARY_PATH enviroment variable, or by editing\n");
13480       printf("*** /etc/ld.so.conf. Make sure you have run ldconfig if that is\n");
13481       printf("*** required on your system.\n");
13482       printf("*** If pkg-config was wrong, set the environment variable PKG_CONFIG_PATH\n");
13483       printf("*** to point to the correct configuration files\n");
13484     }
13485   else if ((glib_major_version != GLIB_MAJOR_VERSION) ||
13486            (glib_minor_version != GLIB_MINOR_VERSION) ||
13487            (glib_micro_version != GLIB_MICRO_VERSION))
13488     {
13489       printf("*** GLIB header files (version %d.%d.%d) do not match\n",
13490              GLIB_MAJOR_VERSION, GLIB_MINOR_VERSION, GLIB_MICRO_VERSION);
13491       printf("*** library (version %d.%d.%d)\n",
13492              glib_major_version, glib_minor_version, glib_micro_version);
13493     }
13494   else
13495     {
13496       if ((glib_major_version > major) ||
13497         ((glib_major_version == major) && (glib_minor_version > minor)) ||
13498         ((glib_major_version == major) && (glib_minor_version == minor) && (glib_micro_version >= micro)))
13499       {
13500         return 0;
13501        }
13502      else
13503       {
13504         printf("\n*** An old version of GLIB (%u.%u.%u) was found.\n",
13505                glib_major_version, glib_minor_version, glib_micro_version);
13506         printf("*** You need a version of GLIB newer than %u.%u.%u. The latest version of\n",
13507                major, minor, micro);
13508         printf("*** GLIB is always available from ftp://ftp.gtk.org.\n");
13509         printf("***\n");
13510         printf("*** If you have already installed a sufficiently new version, this error\n");
13511         printf("*** probably means that the wrong copy of the pkg-config shell script is\n");
13512         printf("*** being found. The easiest way to fix this is to remove the old version\n");
13513         printf("*** of GLIB, but you can also set the PKG_CONFIG environment to point to the\n");
13514         printf("*** correct copy of pkg-config. (In this case, you will have to\n");
13515         printf("*** modify your LD_LIBRARY_PATH enviroment variable, or edit /etc/ld.so.conf\n");
13516         printf("*** so that the correct libraries are found at run-time))\n");
13517       }
13518     }
13519   return 1;
13520 }
13521
13522 _ACEOF
13523 if ac_fn_c_try_run "$LINENO"; then :
13524
13525 else
13526   no_glib=yes
13527 fi
13528 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
13529   conftest.$ac_objext conftest.beam conftest.$ac_ext
13530 fi
13531
13532        CFLAGS="$ac_save_CFLAGS"
13533        LIBS="$ac_save_LIBS"
13534      fi
13535   fi
13536   if test "x$no_glib" = x ; then
13537      { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes (version $glib_config_major_version.$glib_config_minor_version.$glib_config_micro_version)" >&5
13538 $as_echo "yes (version $glib_config_major_version.$glib_config_minor_version.$glib_config_micro_version)" >&6; }
13539      :
13540   else
13541      { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
13542 $as_echo "no" >&6; }
13543      if test "$PKG_CONFIG" = "no" ; then
13544        echo "*** A new enough version of pkg-config was not found."
13545        echo "*** See http://www.freedesktop.org/software/pkgconfig/"
13546      else
13547        if test -f conf.glibtest ; then
13548         :
13549        else
13550           echo "*** Could not run GLIB test program, checking why..."
13551           ac_save_CFLAGS="$CFLAGS"
13552           ac_save_LIBS="$LIBS"
13553           CFLAGS="$CFLAGS $GLIB_CFLAGS"
13554           LIBS="$LIBS $GLIB_LIBS"
13555           cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13556 /* end confdefs.h.  */
13557
13558 #include <glib.h>
13559 #include <stdio.h>
13560
13561 int
13562 main ()
13563 {
13564  return ((glib_major_version) || (glib_minor_version) || (glib_micro_version));
13565   ;
13566   return 0;
13567 }
13568 _ACEOF
13569 if ac_fn_c_try_link "$LINENO"; then :
13570    echo "*** The test program compiled, but did not run. This usually means"
13571           echo "*** that the run-time linker is not finding GLIB or finding the wrong"
13572           echo "*** version of GLIB. If it is not finding GLIB, you'll need to set your"
13573           echo "*** LD_LIBRARY_PATH environment variable, or edit /etc/ld.so.conf to point"
13574           echo "*** to the installed location  Also, make sure you have run ldconfig if that"
13575           echo "*** is required on your system"
13576           echo "***"
13577           echo "*** If you have an old version installed, it is best to remove it, although"
13578           echo "*** you may also be able to get things to work by modifying LD_LIBRARY_PATH"
13579 else
13580    echo "*** The test program failed to compile or link. See the file config.log for the"
13581           echo "*** exact error that occured. This usually means GLIB is incorrectly installed."
13582 fi
13583 rm -f core conftest.err conftest.$ac_objext \
13584     conftest$ac_exeext conftest.$ac_ext
13585           CFLAGS="$ac_save_CFLAGS"
13586           LIBS="$ac_save_LIBS"
13587        fi
13588      fi
13589      GLIB_CFLAGS=""
13590      GLIB_LIBS=""
13591      GLIB_GENMARSHAL=""
13592      GOBJECT_QUERY=""
13593      GLIB_MKENUMS=""
13594      GLIB_COMPILE_RESOURCES=""
13595      as_fn_error $? "maybe you want the pygobject-2-4 branch?" "$LINENO" 5
13596   fi
13597
13598
13599
13600
13601
13602
13603   rm -f conf.glibtest
13604
13605 if test -n "$export_dynamic"; then
13606   GLIB_LIBS=`echo $GLIB_LIBS | sed -e "s/$export_dynamic//"`
13607 fi
13608 PYTHON_BASENAME=`basename $PYTHON`
13609
13610
13611
13612   EXP_VAR=DATADIR
13613   FROM_VAR=$datadir
13614
13615     prefix_save=$prefix
13616   exec_prefix_save=$exec_prefix
13617
13618     if test "x$prefix" = "xNONE"; then
13619     prefix=$ac_default_prefix
13620   fi
13621     if test "x$exec_prefix" = "xNONE"; then
13622     exec_prefix=$prefix
13623   fi
13624
13625   full_var="$FROM_VAR"
13626     while true; do
13627     new_full_var="`eval echo $full_var`"
13628     if test "x$new_full_var"="x$full_var"; then break; fi
13629     full_var=$new_full_var
13630   done
13631
13632     full_var=$new_full_var
13633   DATADIR="$full_var"
13634
13635
13636     prefix=$prefix_save
13637   exec_prefix=$exec_prefix_save
13638
13639
13640
13641 pkg_failed=no
13642 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for FFI" >&5
13643 $as_echo_n "checking for FFI... " >&6; }
13644
13645 if test -n "$FFI_CFLAGS"; then
13646     pkg_cv_FFI_CFLAGS="$FFI_CFLAGS"
13647  elif test -n "$PKG_CONFIG"; then
13648     if test -n "$PKG_CONFIG" && \
13649     { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"libffi >= 3.0\""; } >&5
13650   ($PKG_CONFIG --exists --print-errors "libffi >= 3.0") 2>&5
13651   ac_status=$?
13652   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
13653   test $ac_status = 0; }; then
13654   pkg_cv_FFI_CFLAGS=`$PKG_CONFIG --cflags "libffi >= 3.0" 2>/dev/null`
13655                       test "x$?" != "x0" && pkg_failed=yes
13656 else
13657   pkg_failed=yes
13658 fi
13659  else
13660     pkg_failed=untried
13661 fi
13662 if test -n "$FFI_LIBS"; then
13663     pkg_cv_FFI_LIBS="$FFI_LIBS"
13664  elif test -n "$PKG_CONFIG"; then
13665     if test -n "$PKG_CONFIG" && \
13666     { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"libffi >= 3.0\""; } >&5
13667   ($PKG_CONFIG --exists --print-errors "libffi >= 3.0") 2>&5
13668   ac_status=$?
13669   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
13670   test $ac_status = 0; }; then
13671   pkg_cv_FFI_LIBS=`$PKG_CONFIG --libs "libffi >= 3.0" 2>/dev/null`
13672                       test "x$?" != "x0" && pkg_failed=yes
13673 else
13674   pkg_failed=yes
13675 fi
13676  else
13677     pkg_failed=untried
13678 fi
13679
13680
13681
13682 if test $pkg_failed = yes; then
13683         { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
13684 $as_echo "no" >&6; }
13685
13686 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
13687         _pkg_short_errors_supported=yes
13688 else
13689         _pkg_short_errors_supported=no
13690 fi
13691         if test $_pkg_short_errors_supported = yes; then
13692                 FFI_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "libffi >= 3.0" 2>&1`
13693         else
13694                 FFI_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "libffi >= 3.0" 2>&1`
13695         fi
13696         # Put the nasty error message in config.log where it belongs
13697         echo "$FFI_PKG_ERRORS" >&5
13698
13699         as_fn_error $? "Package requirements (libffi >= 3.0) were not met:
13700
13701 $FFI_PKG_ERRORS
13702
13703 Consider adjusting the PKG_CONFIG_PATH environment variable if you
13704 installed software in a non-standard prefix.
13705
13706 Alternatively, you may set the environment variables FFI_CFLAGS
13707 and FFI_LIBS to avoid the need to call pkg-config.
13708 See the pkg-config man page for more details." "$LINENO" 5
13709 elif test $pkg_failed = untried; then
13710         { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
13711 $as_echo "no" >&6; }
13712         { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
13713 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
13714 as_fn_error $? "The pkg-config script could not be found or is too old.  Make sure it
13715 is in your PATH or set the PKG_CONFIG environment variable to the full
13716 path to pkg-config.
13717
13718 Alternatively, you may set the environment variables FFI_CFLAGS
13719 and FFI_LIBS to avoid the need to call pkg-config.
13720 See the pkg-config man page for more details.
13721
13722 To get pkg-config, see <http://pkg-config.freedesktop.org/>.
13723 See \`config.log' for more details" "$LINENO" 5; }
13724 else
13725         FFI_CFLAGS=$pkg_cv_FFI_CFLAGS
13726         FFI_LIBS=$pkg_cv_FFI_LIBS
13727         { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
13728 $as_echo "yes" >&6; }
13729
13730 fi
13731 LIBFFI_PC=libffi
13732
13733
13734
13735
13736
13737
13738 pkg_failed=no
13739 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GIO" >&5
13740 $as_echo_n "checking for GIO... " >&6; }
13741
13742 if test -n "$GIO_CFLAGS"; then
13743     pkg_cv_GIO_CFLAGS="$GIO_CFLAGS"
13744  elif test -n "$PKG_CONFIG"; then
13745     if test -n "$PKG_CONFIG" && \
13746     { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"gio-2.0 >= 2.38.0\""; } >&5
13747   ($PKG_CONFIG --exists --print-errors "gio-2.0 >= 2.38.0") 2>&5
13748   ac_status=$?
13749   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
13750   test $ac_status = 0; }; then
13751   pkg_cv_GIO_CFLAGS=`$PKG_CONFIG --cflags "gio-2.0 >= 2.38.0" 2>/dev/null`
13752                       test "x$?" != "x0" && pkg_failed=yes
13753 else
13754   pkg_failed=yes
13755 fi
13756  else
13757     pkg_failed=untried
13758 fi
13759 if test -n "$GIO_LIBS"; then
13760     pkg_cv_GIO_LIBS="$GIO_LIBS"
13761  elif test -n "$PKG_CONFIG"; then
13762     if test -n "$PKG_CONFIG" && \
13763     { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"gio-2.0 >= 2.38.0\""; } >&5
13764   ($PKG_CONFIG --exists --print-errors "gio-2.0 >= 2.38.0") 2>&5
13765   ac_status=$?
13766   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
13767   test $ac_status = 0; }; then
13768   pkg_cv_GIO_LIBS=`$PKG_CONFIG --libs "gio-2.0 >= 2.38.0" 2>/dev/null`
13769                       test "x$?" != "x0" && pkg_failed=yes
13770 else
13771   pkg_failed=yes
13772 fi
13773  else
13774     pkg_failed=untried
13775 fi
13776
13777
13778
13779 if test $pkg_failed = yes; then
13780         { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
13781 $as_echo "no" >&6; }
13782
13783 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
13784         _pkg_short_errors_supported=yes
13785 else
13786         _pkg_short_errors_supported=no
13787 fi
13788         if test $_pkg_short_errors_supported = yes; then
13789                 GIO_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "gio-2.0 >= 2.38.0" 2>&1`
13790         else
13791                 GIO_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "gio-2.0 >= 2.38.0" 2>&1`
13792         fi
13793         # Put the nasty error message in config.log where it belongs
13794         echo "$GIO_PKG_ERRORS" >&5
13795
13796         as_fn_error $? "Package requirements (gio-2.0 >= 2.38.0) were not met:
13797
13798 $GIO_PKG_ERRORS
13799
13800 Consider adjusting the PKG_CONFIG_PATH environment variable if you
13801 installed software in a non-standard prefix.
13802
13803 Alternatively, you may set the environment variables GIO_CFLAGS
13804 and GIO_LIBS to avoid the need to call pkg-config.
13805 See the pkg-config man page for more details." "$LINENO" 5
13806 elif test $pkg_failed = untried; then
13807         { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
13808 $as_echo "no" >&6; }
13809         { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
13810 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
13811 as_fn_error $? "The pkg-config script could not be found or is too old.  Make sure it
13812 is in your PATH or set the PKG_CONFIG environment variable to the full
13813 path to pkg-config.
13814
13815 Alternatively, you may set the environment variables GIO_CFLAGS
13816 and GIO_LIBS to avoid the need to call pkg-config.
13817 See the pkg-config man page for more details.
13818
13819 To get pkg-config, see <http://pkg-config.freedesktop.org/>.
13820 See \`config.log' for more details" "$LINENO" 5; }
13821 else
13822         GIO_CFLAGS=$pkg_cv_GIO_CFLAGS
13823         GIO_LIBS=$pkg_cv_GIO_LIBS
13824         { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
13825 $as_echo "yes" >&6; }
13826
13827 fi
13828
13829 # Check whether --enable-cairo was given.
13830 if test "${enable_cairo+set}" = set; then :
13831   enableval=$enable_cairo; enable_cairo=$enableval
13832 else
13833   enable_cairo=yes
13834 fi
13835
13836
13837
13838 pkg_failed=no
13839 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GI" >&5
13840 $as_echo_n "checking for GI... " >&6; }
13841
13842 if test -n "$GI_CFLAGS"; then
13843     pkg_cv_GI_CFLAGS="$GI_CFLAGS"
13844  elif test -n "$PKG_CONFIG"; then
13845     if test -n "$PKG_CONFIG" && \
13846     { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"glib-2.0 >= 2.38.0
13847     gobject-introspection-1.0 >= 1.39.0
13848 \""; } >&5
13849   ($PKG_CONFIG --exists --print-errors "glib-2.0 >= 2.38.0
13850     gobject-introspection-1.0 >= 1.39.0
13851 ") 2>&5
13852   ac_status=$?
13853   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
13854   test $ac_status = 0; }; then
13855   pkg_cv_GI_CFLAGS=`$PKG_CONFIG --cflags "glib-2.0 >= 2.38.0
13856     gobject-introspection-1.0 >= 1.39.0
13857 " 2>/dev/null`
13858                       test "x$?" != "x0" && pkg_failed=yes
13859 else
13860   pkg_failed=yes
13861 fi
13862  else
13863     pkg_failed=untried
13864 fi
13865 if test -n "$GI_LIBS"; then
13866     pkg_cv_GI_LIBS="$GI_LIBS"
13867  elif test -n "$PKG_CONFIG"; then
13868     if test -n "$PKG_CONFIG" && \
13869     { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"glib-2.0 >= 2.38.0
13870     gobject-introspection-1.0 >= 1.39.0
13871 \""; } >&5
13872   ($PKG_CONFIG --exists --print-errors "glib-2.0 >= 2.38.0
13873     gobject-introspection-1.0 >= 1.39.0
13874 ") 2>&5
13875   ac_status=$?
13876   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
13877   test $ac_status = 0; }; then
13878   pkg_cv_GI_LIBS=`$PKG_CONFIG --libs "glib-2.0 >= 2.38.0
13879     gobject-introspection-1.0 >= 1.39.0
13880 " 2>/dev/null`
13881                       test "x$?" != "x0" && pkg_failed=yes
13882 else
13883   pkg_failed=yes
13884 fi
13885  else
13886     pkg_failed=untried
13887 fi
13888
13889
13890
13891 if test $pkg_failed = yes; then
13892         { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
13893 $as_echo "no" >&6; }
13894
13895 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
13896         _pkg_short_errors_supported=yes
13897 else
13898         _pkg_short_errors_supported=no
13899 fi
13900         if test $_pkg_short_errors_supported = yes; then
13901                 GI_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "glib-2.0 >= 2.38.0
13902     gobject-introspection-1.0 >= 1.39.0
13903 " 2>&1`
13904         else
13905                 GI_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "glib-2.0 >= 2.38.0
13906     gobject-introspection-1.0 >= 1.39.0
13907 " 2>&1`
13908         fi
13909         # Put the nasty error message in config.log where it belongs
13910         echo "$GI_PKG_ERRORS" >&5
13911
13912         as_fn_error $? "Package requirements (glib-2.0 >= 2.38.0
13913     gobject-introspection-1.0 >= 1.39.0
13914 ) were not met:
13915
13916 $GI_PKG_ERRORS
13917
13918 Consider adjusting the PKG_CONFIG_PATH environment variable if you
13919 installed software in a non-standard prefix.
13920
13921 Alternatively, you may set the environment variables GI_CFLAGS
13922 and GI_LIBS to avoid the need to call pkg-config.
13923 See the pkg-config man page for more details." "$LINENO" 5
13924 elif test $pkg_failed = untried; then
13925         { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
13926 $as_echo "no" >&6; }
13927         { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
13928 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
13929 as_fn_error $? "The pkg-config script could not be found or is too old.  Make sure it
13930 is in your PATH or set the PKG_CONFIG environment variable to the full
13931 path to pkg-config.
13932
13933 Alternatively, you may set the environment variables GI_CFLAGS
13934 and GI_LIBS to avoid the need to call pkg-config.
13935 See the pkg-config man page for more details.
13936
13937 To get pkg-config, see <http://pkg-config.freedesktop.org/>.
13938 See \`config.log' for more details" "$LINENO" 5; }
13939 else
13940         GI_CFLAGS=$pkg_cv_GI_CFLAGS
13941         GI_LIBS=$pkg_cv_GI_LIBS
13942         { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
13943 $as_echo "yes" >&6; }
13944
13945 fi
13946
13947 GI_DATADIR=$($PKG_CONFIG --variable=gidatadir gobject-introspection-1.0)
13948
13949
13950 if test "$enable_cairo" != no; then
13951
13952 pkg_failed=no
13953 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for CAIRO" >&5
13954 $as_echo_n "checking for CAIRO... " >&6; }
13955
13956 if test -n "$CAIRO_CFLAGS"; then
13957     pkg_cv_CAIRO_CFLAGS="$CAIRO_CFLAGS"
13958  elif test -n "$PKG_CONFIG"; then
13959     if test -n "$PKG_CONFIG" && \
13960     { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"cairo cairo-gobject\""; } >&5
13961   ($PKG_CONFIG --exists --print-errors "cairo cairo-gobject") 2>&5
13962   ac_status=$?
13963   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
13964   test $ac_status = 0; }; then
13965   pkg_cv_CAIRO_CFLAGS=`$PKG_CONFIG --cflags "cairo cairo-gobject" 2>/dev/null`
13966                       test "x$?" != "x0" && pkg_failed=yes
13967 else
13968   pkg_failed=yes
13969 fi
13970  else
13971     pkg_failed=untried
13972 fi
13973 if test -n "$CAIRO_LIBS"; then
13974     pkg_cv_CAIRO_LIBS="$CAIRO_LIBS"
13975  elif test -n "$PKG_CONFIG"; then
13976     if test -n "$PKG_CONFIG" && \
13977     { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"cairo cairo-gobject\""; } >&5
13978   ($PKG_CONFIG --exists --print-errors "cairo cairo-gobject") 2>&5
13979   ac_status=$?
13980   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
13981   test $ac_status = 0; }; then
13982   pkg_cv_CAIRO_LIBS=`$PKG_CONFIG --libs "cairo cairo-gobject" 2>/dev/null`
13983                       test "x$?" != "x0" && pkg_failed=yes
13984 else
13985   pkg_failed=yes
13986 fi
13987  else
13988     pkg_failed=untried
13989 fi
13990
13991
13992
13993 if test $pkg_failed = yes; then
13994         { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
13995 $as_echo "no" >&6; }
13996
13997 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
13998         _pkg_short_errors_supported=yes
13999 else
14000         _pkg_short_errors_supported=no
14001 fi
14002         if test $_pkg_short_errors_supported = yes; then
14003                 CAIRO_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "cairo cairo-gobject" 2>&1`
14004         else
14005                 CAIRO_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "cairo cairo-gobject" 2>&1`
14006         fi
14007         # Put the nasty error message in config.log where it belongs
14008         echo "$CAIRO_PKG_ERRORS" >&5
14009
14010         as_fn_error $? "Package requirements (cairo cairo-gobject) were not met:
14011
14012 $CAIRO_PKG_ERRORS
14013
14014 Consider adjusting the PKG_CONFIG_PATH environment variable if you
14015 installed software in a non-standard prefix.
14016
14017 Alternatively, you may set the environment variables CAIRO_CFLAGS
14018 and CAIRO_LIBS to avoid the need to call pkg-config.
14019 See the pkg-config man page for more details." "$LINENO" 5
14020 elif test $pkg_failed = untried; then
14021         { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
14022 $as_echo "no" >&6; }
14023         { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
14024 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
14025 as_fn_error $? "The pkg-config script could not be found or is too old.  Make sure it
14026 is in your PATH or set the PKG_CONFIG environment variable to the full
14027 path to pkg-config.
14028
14029 Alternatively, you may set the environment variables CAIRO_CFLAGS
14030 and CAIRO_LIBS to avoid the need to call pkg-config.
14031 See the pkg-config man page for more details.
14032
14033 To get pkg-config, see <http://pkg-config.freedesktop.org/>.
14034 See \`config.log' for more details" "$LINENO" 5; }
14035 else
14036         CAIRO_CFLAGS=$pkg_cv_CAIRO_CFLAGS
14037         CAIRO_LIBS=$pkg_cv_CAIRO_LIBS
14038         { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
14039 $as_echo "yes" >&6; }
14040
14041 fi
14042
14043     if test $build_py3k = true; then
14044
14045 pkg_failed=no
14046 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for PYCAIRO" >&5
14047 $as_echo_n "checking for PYCAIRO... " >&6; }
14048
14049 if test -n "$PYCAIRO_CFLAGS"; then
14050     pkg_cv_PYCAIRO_CFLAGS="$PYCAIRO_CFLAGS"
14051  elif test -n "$PKG_CONFIG"; then
14052     if test -n "$PKG_CONFIG" && \
14053     { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"py3cairo >= 1.10.0
14054         \""; } >&5
14055   ($PKG_CONFIG --exists --print-errors "py3cairo >= 1.10.0
14056         ") 2>&5
14057   ac_status=$?
14058   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
14059   test $ac_status = 0; }; then
14060   pkg_cv_PYCAIRO_CFLAGS=`$PKG_CONFIG --cflags "py3cairo >= 1.10.0
14061         " 2>/dev/null`
14062                       test "x$?" != "x0" && pkg_failed=yes
14063 else
14064   pkg_failed=yes
14065 fi
14066  else
14067     pkg_failed=untried
14068 fi
14069 if test -n "$PYCAIRO_LIBS"; then
14070     pkg_cv_PYCAIRO_LIBS="$PYCAIRO_LIBS"
14071  elif test -n "$PKG_CONFIG"; then
14072     if test -n "$PKG_CONFIG" && \
14073     { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"py3cairo >= 1.10.0
14074         \""; } >&5
14075   ($PKG_CONFIG --exists --print-errors "py3cairo >= 1.10.0
14076         ") 2>&5
14077   ac_status=$?
14078   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
14079   test $ac_status = 0; }; then
14080   pkg_cv_PYCAIRO_LIBS=`$PKG_CONFIG --libs "py3cairo >= 1.10.0
14081         " 2>/dev/null`
14082                       test "x$?" != "x0" && pkg_failed=yes
14083 else
14084   pkg_failed=yes
14085 fi
14086  else
14087     pkg_failed=untried
14088 fi
14089
14090
14091
14092 if test $pkg_failed = yes; then
14093         { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
14094 $as_echo "no" >&6; }
14095
14096 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
14097         _pkg_short_errors_supported=yes
14098 else
14099         _pkg_short_errors_supported=no
14100 fi
14101         if test $_pkg_short_errors_supported = yes; then
14102                 PYCAIRO_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "py3cairo >= 1.10.0
14103         " 2>&1`
14104         else
14105                 PYCAIRO_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "py3cairo >= 1.10.0
14106         " 2>&1`
14107         fi
14108         # Put the nasty error message in config.log where it belongs
14109         echo "$PYCAIRO_PKG_ERRORS" >&5
14110
14111         as_fn_error $? "Package requirements (py3cairo >= 1.10.0
14112         ) were not met:
14113
14114 $PYCAIRO_PKG_ERRORS
14115
14116 Consider adjusting the PKG_CONFIG_PATH environment variable if you
14117 installed software in a non-standard prefix.
14118
14119 Alternatively, you may set the environment variables PYCAIRO_CFLAGS
14120 and PYCAIRO_LIBS to avoid the need to call pkg-config.
14121 See the pkg-config man page for more details." "$LINENO" 5
14122 elif test $pkg_failed = untried; then
14123         { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
14124 $as_echo "no" >&6; }
14125         { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
14126 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
14127 as_fn_error $? "The pkg-config script could not be found or is too old.  Make sure it
14128 is in your PATH or set the PKG_CONFIG environment variable to the full
14129 path to pkg-config.
14130
14131 Alternatively, you may set the environment variables PYCAIRO_CFLAGS
14132 and PYCAIRO_LIBS to avoid the need to call pkg-config.
14133 See the pkg-config man page for more details.
14134
14135 To get pkg-config, see <http://pkg-config.freedesktop.org/>.
14136 See \`config.log' for more details" "$LINENO" 5; }
14137 else
14138         PYCAIRO_CFLAGS=$pkg_cv_PYCAIRO_CFLAGS
14139         PYCAIRO_LIBS=$pkg_cv_PYCAIRO_LIBS
14140         { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
14141 $as_echo "yes" >&6; }
14142
14143 fi
14144     else
14145
14146 pkg_failed=no
14147 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for PYCAIRO" >&5
14148 $as_echo_n "checking for PYCAIRO... " >&6; }
14149
14150 if test -n "$PYCAIRO_CFLAGS"; then
14151     pkg_cv_PYCAIRO_CFLAGS="$PYCAIRO_CFLAGS"
14152  elif test -n "$PKG_CONFIG"; then
14153     if test -n "$PKG_CONFIG" && \
14154     { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"pycairo >= 1.2.0
14155         \""; } >&5
14156   ($PKG_CONFIG --exists --print-errors "pycairo >= 1.2.0
14157         ") 2>&5
14158   ac_status=$?
14159   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
14160   test $ac_status = 0; }; then
14161   pkg_cv_PYCAIRO_CFLAGS=`$PKG_CONFIG --cflags "pycairo >= 1.2.0
14162         " 2>/dev/null`
14163                       test "x$?" != "x0" && pkg_failed=yes
14164 else
14165   pkg_failed=yes
14166 fi
14167  else
14168     pkg_failed=untried
14169 fi
14170 if test -n "$PYCAIRO_LIBS"; then
14171     pkg_cv_PYCAIRO_LIBS="$PYCAIRO_LIBS"
14172  elif test -n "$PKG_CONFIG"; then
14173     if test -n "$PKG_CONFIG" && \
14174     { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"pycairo >= 1.2.0
14175         \""; } >&5
14176   ($PKG_CONFIG --exists --print-errors "pycairo >= 1.2.0
14177         ") 2>&5
14178   ac_status=$?
14179   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
14180   test $ac_status = 0; }; then
14181   pkg_cv_PYCAIRO_LIBS=`$PKG_CONFIG --libs "pycairo >= 1.2.0
14182         " 2>/dev/null`
14183                       test "x$?" != "x0" && pkg_failed=yes
14184 else
14185   pkg_failed=yes
14186 fi
14187  else
14188     pkg_failed=untried
14189 fi
14190
14191
14192
14193 if test $pkg_failed = yes; then
14194         { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
14195 $as_echo "no" >&6; }
14196
14197 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
14198         _pkg_short_errors_supported=yes
14199 else
14200         _pkg_short_errors_supported=no
14201 fi
14202         if test $_pkg_short_errors_supported = yes; then
14203                 PYCAIRO_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "pycairo >= 1.2.0
14204         " 2>&1`
14205         else
14206                 PYCAIRO_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "pycairo >= 1.2.0
14207         " 2>&1`
14208         fi
14209         # Put the nasty error message in config.log where it belongs
14210         echo "$PYCAIRO_PKG_ERRORS" >&5
14211
14212         as_fn_error $? "Package requirements (pycairo >= 1.2.0
14213         ) were not met:
14214
14215 $PYCAIRO_PKG_ERRORS
14216
14217 Consider adjusting the PKG_CONFIG_PATH environment variable if you
14218 installed software in a non-standard prefix.
14219
14220 Alternatively, you may set the environment variables PYCAIRO_CFLAGS
14221 and PYCAIRO_LIBS to avoid the need to call pkg-config.
14222 See the pkg-config man page for more details." "$LINENO" 5
14223 elif test $pkg_failed = untried; then
14224         { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
14225 $as_echo "no" >&6; }
14226         { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
14227 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
14228 as_fn_error $? "The pkg-config script could not be found or is too old.  Make sure it
14229 is in your PATH or set the PKG_CONFIG environment variable to the full
14230 path to pkg-config.
14231
14232 Alternatively, you may set the environment variables PYCAIRO_CFLAGS
14233 and PYCAIRO_LIBS to avoid the need to call pkg-config.
14234 See the pkg-config man page for more details.
14235
14236 To get pkg-config, see <http://pkg-config.freedesktop.org/>.
14237 See \`config.log' for more details" "$LINENO" 5; }
14238 else
14239         PYCAIRO_CFLAGS=$pkg_cv_PYCAIRO_CFLAGS
14240         PYCAIRO_LIBS=$pkg_cv_PYCAIRO_LIBS
14241         { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
14242 $as_echo "yes" >&6; }
14243
14244 fi
14245     fi
14246 fi
14247  if test "$enable_cairo" = "yes"; then
14248   ENABLE_CAIRO_TRUE=
14249   ENABLE_CAIRO_FALSE='#'
14250 else
14251   ENABLE_CAIRO_TRUE='#'
14252   ENABLE_CAIRO_FALSE=
14253 fi
14254
14255
14256
14257 # Check whether --with-common was given.
14258 if test "${with_common+set}" = set; then :
14259   withval=$with_common; with_common=$enableval
14260 else
14261   with_common=yes
14262 fi
14263
14264  if test "$with_common" = "yes"; then
14265   WITH_COMMON_TRUE=
14266   WITH_COMMON_FALSE='#'
14267 else
14268   WITH_COMMON_TRUE='#'
14269   WITH_COMMON_FALSE=
14270 fi
14271
14272
14273 INTROSPECTION_SCANNER=`$PKG_CONFIG --variable=g_ir_scanner gobject-introspection-1.0`
14274 INTROSPECTION_COMPILER=`$PKG_CONFIG --variable=g_ir_compiler gobject-introspection-1.0`
14275
14276
14277
14278
14279 # compiler warnings, errors, required cflags, and code coverage support
14280
14281
14282     # Check whether --enable-compile-warnings was given.
14283 if test "${enable_compile_warnings+set}" = set; then :
14284   enableval=$enable_compile_warnings;
14285 else
14286   enable_compile_warnings="maximum"
14287 fi
14288
14289
14290     if test "x$GCC" != xyes; then
14291         enable_compile_warnings=no
14292     fi
14293
14294     warning_flags=
14295     realsave_CFLAGS="$CFLAGS"
14296
14297             base_warn_flags=" \
14298         -Wall \
14299         -Wstrict-prototypes \
14300         -Wnested-externs \
14301     "
14302
14303                     base_error_flags=" \
14304         -Werror=missing-prototypes \
14305         -Werror=implicit-function-declaration \
14306         -Werror=pointer-arith \
14307         -Werror=init-self \
14308         -Werror=format-security \
14309         -Werror=format=2 \
14310         -Werror=missing-include-dirs \
14311         -Werror=return-type \
14312     "
14313
14314                 additional_flags=""
14315
14316     case "$enable_compile_warnings" in
14317     no)
14318         warning_flags="-w"
14319         ;;
14320     minimum)
14321         warning_flags="-Wall"
14322         ;;
14323     yes|maximum|error)
14324         warning_flags="$base_warn_flags $base_error_flags $additional_flags"
14325         ;;
14326     *)
14327         as_fn_error $? "Unknown argument '$enable_compile_warnings' to --enable-compile-warnings" "$LINENO" 5
14328         ;;
14329     esac
14330
14331     if test "$enable_compile_warnings" = "error" ; then
14332         warning_flags="$warning_flags -Werror"
14333     fi
14334
14335         for option in $warning_flags; do
14336         save_CFLAGS="$CFLAGS"
14337         CFLAGS="$CFLAGS $option"
14338         { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether gcc understands $option" >&5
14339 $as_echo_n "checking whether gcc understands $option... " >&6; }
14340         cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14341 /* end confdefs.h.  */
14342
14343 int
14344 main ()
14345 {
14346
14347   ;
14348   return 0;
14349 }
14350 _ACEOF
14351 if ac_fn_c_try_compile "$LINENO"; then :
14352   has_option=yes
14353 else
14354   has_option=no
14355 fi
14356 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
14357         CFLAGS="$save_CFLAGS"
14358         { $as_echo "$as_me:${as_lineno-$LINENO}: result: $has_option" >&5
14359 $as_echo "$has_option" >&6; }
14360         if test $has_option = yes; then
14361             tested_warning_flags="$tested_warning_flags $option"
14362         fi
14363         unset has_option
14364         unset save_CFLAGS
14365     done
14366     unset option
14367     CFLAGS="$realsave_CFLAGS"
14368     { $as_echo "$as_me:${as_lineno-$LINENO}: checking what warning flags to pass to the C compiler" >&5
14369 $as_echo_n "checking what warning flags to pass to the C compiler... " >&6; }
14370     { $as_echo "$as_me:${as_lineno-$LINENO}: result: $tested_warning_flags" >&5
14371 $as_echo "$tested_warning_flags" >&6; }
14372
14373     # Check whether --enable-iso-c was given.
14374 if test "${enable_iso_c+set}" = set; then :
14375   enableval=$enable_iso_c;
14376 else
14377   enable_iso_c=no
14378 fi
14379
14380
14381     { $as_echo "$as_me:${as_lineno-$LINENO}: checking what language compliance flags to pass to the C compiler" >&5
14382 $as_echo_n "checking what language compliance flags to pass to the C compiler... " >&6; }
14383     complCFLAGS=
14384     if test "x$enable_iso_c" != "xno"; then
14385         if test "x$GCC" = "xyes"; then
14386         case " $CFLAGS " in
14387             *\ \        -ansi\ \        *) ;;
14388             *) complCFLAGS="$complCFLAGS -ansi" ;;
14389         esac
14390         case " $CFLAGS " in
14391             *\ \        -pedantic\ \    *) ;;
14392             *) complCFLAGS="$complCFLAGS -pedantic" ;;
14393         esac
14394         fi
14395     fi
14396     { $as_echo "$as_me:${as_lineno-$LINENO}: result: $complCFLAGS" >&5
14397 $as_echo "$complCFLAGS" >&6; }
14398
14399     WARN_CFLAGS="$tested_warning_flags $complCFLAGS"
14400
14401
14402 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for Gnome code coverage support" >&5
14403 $as_echo_n "checking for Gnome code coverage support... " >&6; }
14404 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
14405 $as_echo "yes" >&6; }
14406
14407
14408                 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build with code coverage support" >&5
14409 $as_echo_n "checking whether to build with code coverage support... " >&6; }
14410         # Check whether --enable-code-coverage was given.
14411 if test "${enable_code_coverage+set}" = set; then :
14412   enableval=$enable_code_coverage;
14413 else
14414   enable_code_coverage=no
14415 fi
14416
14417          if test x$enable_code_coverage = xyes; then
14418   CODE_COVERAGE_ENABLED_TRUE=
14419   CODE_COVERAGE_ENABLED_FALSE='#'
14420 else
14421   CODE_COVERAGE_ENABLED_TRUE='#'
14422   CODE_COVERAGE_ENABLED_FALSE=
14423 fi
14424
14425         CODE_COVERAGE_ENABLED=$enable_code_coverage
14426
14427         { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_code_coverage" >&5
14428 $as_echo "$enable_code_coverage" >&6; }
14429
14430         if  test "$enable_code_coverage" = "yes" ; then :
14431
14432                                 if  test "$GCC" = "no" ; then :
14433
14434                         as_fn_error $? "not compiling with gcc, which is required for gcov code coverage" "$LINENO" 5
14435
14436 fi
14437
14438                 # List of supported lcov versions.
14439                 lcov_version_list="1.6 1.7 1.8 1.9 1.10 1.11"
14440
14441                 # Extract the first word of "lcov", so it can be a program name with args.
14442 set dummy lcov; ac_word=$2
14443 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
14444 $as_echo_n "checking for $ac_word... " >&6; }
14445 if ${ac_cv_prog_LCOV+:} false; then :
14446   $as_echo_n "(cached) " >&6
14447 else
14448   if test -n "$LCOV"; then
14449   ac_cv_prog_LCOV="$LCOV" # Let the user override the test.
14450 else
14451 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
14452 for as_dir in $PATH
14453 do
14454   IFS=$as_save_IFS
14455   test -z "$as_dir" && as_dir=.
14456     for ac_exec_ext in '' $ac_executable_extensions; do
14457   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
14458     ac_cv_prog_LCOV="lcov"
14459     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
14460     break 2
14461   fi
14462 done
14463   done
14464 IFS=$as_save_IFS
14465
14466 fi
14467 fi
14468 LCOV=$ac_cv_prog_LCOV
14469 if test -n "$LCOV"; then
14470   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LCOV" >&5
14471 $as_echo "$LCOV" >&6; }
14472 else
14473   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
14474 $as_echo "no" >&6; }
14475 fi
14476
14477
14478                 # Extract the first word of "genhtml", so it can be a program name with args.
14479 set dummy genhtml; ac_word=$2
14480 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
14481 $as_echo_n "checking for $ac_word... " >&6; }
14482 if ${ac_cv_prog_GENHTML+:} false; then :
14483   $as_echo_n "(cached) " >&6
14484 else
14485   if test -n "$GENHTML"; then
14486   ac_cv_prog_GENHTML="$GENHTML" # Let the user override the test.
14487 else
14488 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
14489 for as_dir in $PATH
14490 do
14491   IFS=$as_save_IFS
14492   test -z "$as_dir" && as_dir=.
14493     for ac_exec_ext in '' $ac_executable_extensions; do
14494   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
14495     ac_cv_prog_GENHTML="genhtml"
14496     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
14497     break 2
14498   fi
14499 done
14500   done
14501 IFS=$as_save_IFS
14502
14503 fi
14504 fi
14505 GENHTML=$ac_cv_prog_GENHTML
14506 if test -n "$GENHTML"; then
14507   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $GENHTML" >&5
14508 $as_echo "$GENHTML" >&6; }
14509 else
14510   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
14511 $as_echo "no" >&6; }
14512 fi
14513
14514
14515
14516                 if  test "$LCOV" ; then :
14517
14518                         { $as_echo "$as_me:${as_lineno-$LINENO}: checking for lcov version" >&5
14519 $as_echo_n "checking for lcov version... " >&6; }
14520 if ${ax_cv_lcov_version+:} false; then :
14521   $as_echo_n "(cached) " >&6
14522 else
14523
14524                                 ax_cv_lcov_version=invalid
14525                                 lcov_version=`$LCOV -v 2>/dev/null | $SED -e 's/^.* //'`
14526                                 for lcov_check_version in $lcov_version_list; do
14527                                         if test "$lcov_version" = "$lcov_check_version"; then
14528                                                 ax_cv_lcov_version="$lcov_check_version (ok)"
14529                                         fi
14530                                 done
14531
14532 fi
14533 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ax_cv_lcov_version" >&5
14534 $as_echo "$ax_cv_lcov_version" >&6; }
14535
14536 else
14537
14538                         lcov_msg="To enable code coverage reporting you must have one of the following lcov versions installed: $lcov_version_list"
14539                         as_fn_error $? "$lcov_msg" "$LINENO" 5
14540
14541 fi
14542
14543                 case $ax_cv_lcov_version in
14544                         ""|invalid)
14545                                 lcov_msg="You must have one of the following versions of lcov: $lcov_version_list (found: $lcov_version)."
14546                                 as_fn_error $? "$lcov_msg" "$LINENO" 5
14547                                 LCOV="exit 0;"
14548                         ;;
14549                 esac
14550
14551                 if  test -z "$GENHTML" ; then :
14552
14553                         as_fn_error $? "Could not find genhtml from the lcov package" "$LINENO" 5
14554
14555 fi
14556
14557                                 CODE_COVERAGE_CFLAGS="-O0 -g -fprofile-arcs -ftest-coverage"
14558                 CODE_COVERAGE_LDFLAGS="-lgcov"
14559
14560
14561
14562
14563 fi
14564
14565 CODE_COVERAGE_RULES='
14566 # Code coverage
14567 #
14568 # Optional:
14569 #  - CODE_COVERAGE_DIRECTORY: Top-level directory for code coverage reporting.
14570 #    (Default: $(top_builddir))
14571 #  - CODE_COVERAGE_OUTPUT_FILE: Filename and path for the .info file generated
14572 #    by lcov for code coverage. (Default:
14573 #    $(PACKAGE_NAME)-$(PACKAGE_VERSION)-coverage.info)
14574 #  - CODE_COVERAGE_OUTPUT_DIRECTORY: Directory for generated code coverage
14575 #    reports to be created. (Default:
14576 #    $(PACKAGE_NAME)-$(PACKAGE_VERSION)-coverage)
14577 #  - CODE_COVERAGE_LCOV_OPTIONS: Extra options to pass to the lcov instance.
14578 #    (Default: empty)
14579 #  - CODE_COVERAGE_GENHTML_OPTIONS: Extra options to pass to the genhtml
14580 #    instance. (Default: empty)
14581 #  - CODE_COVERAGE_IGNORE_PATTERN: Extra glob pattern of files to ignore
14582 #
14583 # The generated report will be titled using the $(PACKAGE_NAME) and
14584 # $(PACKAGE_VERSION). In order to add the current git hash to the title,
14585 # use the git-version-gen script, available online.
14586
14587 # Optional variables
14588 CODE_COVERAGE_DIRECTORY ?= $(top_builddir)
14589 CODE_COVERAGE_OUTPUT_FILE ?= $(PACKAGE_NAME)-$(PACKAGE_VERSION)-coverage.info
14590 CODE_COVERAGE_OUTPUT_DIRECTORY ?= $(PACKAGE_NAME)-$(PACKAGE_VERSION)-coverage
14591 CODE_COVERAGE_LCOV_OPTIONS ?=
14592 CODE_COVERAGE_GENHTML_OPTIONS ?=
14593 CODE_COVERAGE_IGNORE_PATTERN ?=
14594
14595 code_coverage_quiet = $(code_coverage_quiet_$(V))
14596 code_coverage_quiet_ = $(code_coverage_quiet_$(AM_DEFAULT_VERBOSITY))
14597 code_coverage_quiet_0 = --quiet
14598
14599 # Use recursive makes in order to ignore errors during check
14600 check-code-coverage:
14601 ifeq ($(CODE_COVERAGE_ENABLED),yes)
14602         -$(MAKE) $(AM_MAKEFLAGS) -k check
14603         $(MAKE) $(AM_MAKEFLAGS) code-coverage-capture
14604 else
14605         @echo "Need to reconfigure with --enable-code-coverage"
14606 endif
14607
14608 # Capture code coverage data
14609 code-coverage-capture: code-coverage-capture-hook
14610 ifeq ($(CODE_COVERAGE_ENABLED),yes)
14611         $(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)
14612         $(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)"
14613         -@rm -f $(CODE_COVERAGE_OUTPUT_FILE).tmp
14614         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)
14615         @echo "file://$(abs_builddir)/$(CODE_COVERAGE_OUTPUT_DIRECTORY)/index.html"
14616 else
14617         @echo "Need to reconfigure with --enable-code-coverage"
14618 endif
14619
14620 # Hook rule executed before code-coverage-capture, overridable by the user
14621 code-coverage-capture-hook:
14622
14623 ifeq ($(CODE_COVERAGE_ENABLED),yes)
14624 clean: code-coverage-clean
14625 code-coverage-clean:
14626         -$(LCOV) --directory $(top_builddir) -z
14627         -rm -rf $(CODE_COVERAGE_OUTPUT_FILE) $(CODE_COVERAGE_OUTPUT_FILE).tmp $(CODE_COVERAGE_OUTPUT_DIRECTORY)
14628         -find . -name "*.gcda" -o -name "*.gcov" -delete
14629 endif
14630
14631 GITIGNOREFILES ?=
14632 GITIGNOREFILES += $(CODE_COVERAGE_OUTPUT_FILE) $(CODE_COVERAGE_OUTPUT_DIRECTORY)
14633
14634 DISTCHECK_CONFIGURE_FLAGS ?=
14635 DISTCHECK_CONFIGURE_FLAGS += --disable-code-coverage
14636
14637 .PHONY: check-code-coverage code-coverage-capture code-coverage-capture-hook code-coverage-clean
14638 '
14639
14640
14641
14642
14643         GNOME_CODE_COVERAGE_RULES=$CODE_COVERAGE_RULES
14644
14645
14646
14647
14648
14649 if test "x$GCC" = "xyes"; then
14650
14651 case " $CFLAGS " in
14652 *[\     \ ]-Wall[\      \ ]*)
14653   ;;
14654 *)
14655   save_CFLAGS="$CFLAGS"
14656   CFLAGS="$CFLAGS -Wall"
14657   { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC understands -Wall" >&5
14658 $as_echo_n "checking whether $CC understands -Wall... " >&6; }
14659   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14660 /* end confdefs.h.  */
14661
14662 int
14663 main ()
14664 {
14665
14666   ;
14667   return 0;
14668 }
14669 _ACEOF
14670 if ac_fn_c_try_compile "$LINENO"; then :
14671   jh_has_option=yes
14672 else
14673   jh_has_option=no
14674 fi
14675 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
14676   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $jh_has_option" >&5
14677 $as_echo "$jh_has_option" >&6; }
14678   if test $jh_has_option = no; then
14679     CFLAGS="$save_CFLAGS"
14680   fi
14681   ;;
14682 esac
14683
14684 case " $CFLAGS " in
14685 *[\     \ ]-Werror=unused-variable[\    \ ]*)
14686   ;;
14687 *)
14688   save_CFLAGS="$CFLAGS"
14689   CFLAGS="$CFLAGS -Werror=unused-variable"
14690   { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC understands -Werror=unused-variable" >&5
14691 $as_echo_n "checking whether $CC understands -Werror=unused-variable... " >&6; }
14692   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14693 /* end confdefs.h.  */
14694
14695 int
14696 main ()
14697 {
14698
14699   ;
14700   return 0;
14701 }
14702 _ACEOF
14703 if ac_fn_c_try_compile "$LINENO"; then :
14704   jh_has_option=yes
14705 else
14706   jh_has_option=no
14707 fi
14708 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
14709   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $jh_has_option" >&5
14710 $as_echo "$jh_has_option" >&6; }
14711   if test $jh_has_option = no; then
14712     CFLAGS="$save_CFLAGS"
14713   fi
14714   ;;
14715 esac
14716
14717 case " $CFLAGS " in
14718 *[\     \ ]-fno-strict-aliasing[\       \ ]*)
14719   ;;
14720 *)
14721   save_CFLAGS="$CFLAGS"
14722   CFLAGS="$CFLAGS -fno-strict-aliasing"
14723   { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC understands -fno-strict-aliasing" >&5
14724 $as_echo_n "checking whether $CC understands -fno-strict-aliasing... " >&6; }
14725   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14726 /* end confdefs.h.  */
14727
14728 int
14729 main ()
14730 {
14731
14732   ;
14733   return 0;
14734 }
14735 _ACEOF
14736 if ac_fn_c_try_compile "$LINENO"; then :
14737   jh_has_option=yes
14738 else
14739   jh_has_option=no
14740 fi
14741 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
14742   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $jh_has_option" >&5
14743 $as_echo "$jh_has_option" >&6; }
14744   if test $jh_has_option = no; then
14745     CFLAGS="$save_CFLAGS"
14746   fi
14747   ;;
14748 esac
14749
14750 case " $CFLAGS " in
14751 *[\     \ ]-Werror=declaration-after-statement[\        \ ]*)
14752   ;;
14753 *)
14754   save_CFLAGS="$CFLAGS"
14755   CFLAGS="$CFLAGS -Werror=declaration-after-statement"
14756   { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC understands -Werror=declaration-after-statement" >&5
14757 $as_echo_n "checking whether $CC understands -Werror=declaration-after-statement... " >&6; }
14758   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14759 /* end confdefs.h.  */
14760
14761 int
14762 main ()
14763 {
14764
14765   ;
14766   return 0;
14767 }
14768 _ACEOF
14769 if ac_fn_c_try_compile "$LINENO"; then :
14770   jh_has_option=yes
14771 else
14772   jh_has_option=no
14773 fi
14774 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
14775   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $jh_has_option" >&5
14776 $as_echo "$jh_has_option" >&6; }
14777   if test $jh_has_option = no; then
14778     CFLAGS="$save_CFLAGS"
14779   fi
14780   ;;
14781 esac
14782
14783   case $host_os in
14784   solaris*)
14785     ;;
14786   *)
14787
14788 case " $CFLAGS " in
14789 *[\     \ ]-std=c90[\   \ ]*)
14790   ;;
14791 *)
14792   save_CFLAGS="$CFLAGS"
14793   CFLAGS="$CFLAGS -std=c90"
14794   { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC understands -std=c90" >&5
14795 $as_echo_n "checking whether $CC understands -std=c90... " >&6; }
14796   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14797 /* end confdefs.h.  */
14798
14799 int
14800 main ()
14801 {
14802
14803   ;
14804   return 0;
14805 }
14806 _ACEOF
14807 if ac_fn_c_try_compile "$LINENO"; then :
14808   jh_has_option=yes
14809 else
14810   jh_has_option=no
14811 fi
14812 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
14813   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $jh_has_option" >&5
14814 $as_echo "$jh_has_option" >&6; }
14815   if test $jh_has_option = no; then
14816     CFLAGS="$save_CFLAGS"
14817   fi
14818   ;;
14819 esac
14820     ;;
14821   esac
14822
14823 fi
14824
14825 CFLAGS="$CFLAGS $WARN_CFLAGS $CODE_COVERAGE_CFLAGS"
14826 LDFLAGS="$LDFLAGS $CODE_COVERAGE_CFLAGS"
14827
14828 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/_gobject/Makefile examples/Makefile tests/Makefile pygtkcompat/Makefile PKG-INFO"
14829
14830 cat >confcache <<\_ACEOF
14831 # This file is a shell script that caches the results of configure
14832 # tests run on this system so they can be shared between configure
14833 # scripts and configure runs, see configure's option --config-cache.
14834 # It is not useful on other systems.  If it contains results you don't
14835 # want to keep, you may remove or edit it.
14836 #
14837 # config.status only pays attention to the cache file if you give it
14838 # the --recheck option to rerun configure.
14839 #
14840 # `ac_cv_env_foo' variables (set or unset) will be overridden when
14841 # loading this file, other *unset* `ac_cv_foo' will be assigned the
14842 # following values.
14843
14844 _ACEOF
14845
14846 # The following way of writing the cache mishandles newlines in values,
14847 # but we know of no workaround that is simple, portable, and efficient.
14848 # So, we kill variables containing newlines.
14849 # Ultrix sh set writes to stderr and can't be redirected directly,
14850 # and sets the high bit in the cache file unless we assign to the vars.
14851 (
14852   for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
14853     eval ac_val=\$$ac_var
14854     case $ac_val in #(
14855     *${as_nl}*)
14856       case $ac_var in #(
14857       *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
14858 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
14859       esac
14860       case $ac_var in #(
14861       _ | IFS | as_nl) ;; #(
14862       BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
14863       *) { eval $ac_var=; unset $ac_var;} ;;
14864       esac ;;
14865     esac
14866   done
14867
14868   (set) 2>&1 |
14869     case $as_nl`(ac_space=' '; set) 2>&1` in #(
14870     *${as_nl}ac_space=\ *)
14871       # `set' does not quote correctly, so add quotes: double-quote
14872       # substitution turns \\\\ into \\, and sed turns \\ into \.
14873       sed -n \
14874         "s/'/'\\\\''/g;
14875           s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
14876       ;; #(
14877     *)
14878       # `set' quotes correctly as required by POSIX, so do not add quotes.
14879       sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
14880       ;;
14881     esac |
14882     sort
14883 ) |
14884   sed '
14885      /^ac_cv_env_/b end
14886      t clear
14887      :clear
14888      s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
14889      t end
14890      s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
14891      :end' >>confcache
14892 if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
14893   if test -w "$cache_file"; then
14894     if test "x$cache_file" != "x/dev/null"; then
14895       { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
14896 $as_echo "$as_me: updating cache $cache_file" >&6;}
14897       if test ! -f "$cache_file" || test -h "$cache_file"; then
14898         cat confcache >"$cache_file"
14899       else
14900         case $cache_file in #(
14901         */* | ?:*)
14902           mv -f confcache "$cache_file"$$ &&
14903           mv -f "$cache_file"$$ "$cache_file" ;; #(
14904         *)
14905           mv -f confcache "$cache_file" ;;
14906         esac
14907       fi
14908     fi
14909   else
14910     { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
14911 $as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
14912   fi
14913 fi
14914 rm -f confcache
14915
14916 test "x$prefix" = xNONE && prefix=$ac_default_prefix
14917 # Let make expand exec_prefix.
14918 test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
14919
14920 DEFS=-DHAVE_CONFIG_H
14921
14922 ac_libobjs=
14923 ac_ltlibobjs=
14924 U=
14925 for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
14926   # 1. Remove the extension, and $U if already installed.
14927   ac_script='s/\$U\././;s/\.o$//;s/\.obj$//'
14928   ac_i=`$as_echo "$ac_i" | sed "$ac_script"`
14929   # 2. Prepend LIBOBJDIR.  When used with automake>=1.10 LIBOBJDIR
14930   #    will be set to the directory where LIBOBJS objects are built.
14931   as_fn_append ac_libobjs " \${LIBOBJDIR}$ac_i\$U.$ac_objext"
14932   as_fn_append ac_ltlibobjs " \${LIBOBJDIR}$ac_i"'$U.lo'
14933 done
14934 LIBOBJS=$ac_libobjs
14935
14936 LTLIBOBJS=$ac_ltlibobjs
14937
14938
14939 { $as_echo "$as_me:${as_lineno-$LINENO}: checking that generated files are newer than configure" >&5
14940 $as_echo_n "checking that generated files are newer than configure... " >&6; }
14941    if test -n "$am_sleep_pid"; then
14942      # Hide warnings about reused PIDs.
14943      wait $am_sleep_pid 2>/dev/null
14944    fi
14945    { $as_echo "$as_me:${as_lineno-$LINENO}: result: done" >&5
14946 $as_echo "done" >&6; }
14947  if test -n "$EXEEXT"; then
14948   am__EXEEXT_TRUE=
14949   am__EXEEXT_FALSE='#'
14950 else
14951   am__EXEEXT_TRUE='#'
14952   am__EXEEXT_FALSE=
14953 fi
14954
14955 if test -z "${OS_WIN32_TRUE}" && test -z "${OS_WIN32_FALSE}"; then
14956   as_fn_error $? "conditional \"OS_WIN32\" was never defined.
14957 Usually this means the macro was only invoked conditionally." "$LINENO" 5
14958 fi
14959 if test -z "${AMDEP_TRUE}" && test -z "${AMDEP_FALSE}"; then
14960   as_fn_error $? "conditional \"AMDEP\" was never defined.
14961 Usually this means the macro was only invoked conditionally." "$LINENO" 5
14962 fi
14963 if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
14964   as_fn_error $? "conditional \"am__fastdepCC\" was never defined.
14965 Usually this means the macro was only invoked conditionally." "$LINENO" 5
14966 fi
14967 if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
14968   as_fn_error $? "conditional \"am__fastdepCC\" was never defined.
14969 Usually this means the macro was only invoked conditionally." "$LINENO" 5
14970 fi
14971 if test -z "${ENABLE_CAIRO_TRUE}" && test -z "${ENABLE_CAIRO_FALSE}"; then
14972   as_fn_error $? "conditional \"ENABLE_CAIRO\" was never defined.
14973 Usually this means the macro was only invoked conditionally." "$LINENO" 5
14974 fi
14975 if test -z "${WITH_COMMON_TRUE}" && test -z "${WITH_COMMON_FALSE}"; then
14976   as_fn_error $? "conditional \"WITH_COMMON\" was never defined.
14977 Usually this means the macro was only invoked conditionally." "$LINENO" 5
14978 fi
14979 if test -z "${CODE_COVERAGE_ENABLED_TRUE}" && test -z "${CODE_COVERAGE_ENABLED_FALSE}"; then
14980   as_fn_error $? "conditional \"CODE_COVERAGE_ENABLED\" was never defined.
14981 Usually this means the macro was only invoked conditionally." "$LINENO" 5
14982 fi
14983
14984 : "${CONFIG_STATUS=./config.status}"
14985 ac_write_fail=0
14986 ac_clean_files_save=$ac_clean_files
14987 ac_clean_files="$ac_clean_files $CONFIG_STATUS"
14988 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5
14989 $as_echo "$as_me: creating $CONFIG_STATUS" >&6;}
14990 as_write_fail=0
14991 cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1
14992 #! $SHELL
14993 # Generated by $as_me.
14994 # Run this file to recreate the current configuration.
14995 # Compiler output produced by configure, useful for debugging
14996 # configure, is in config.log if it exists.
14997
14998 debug=false
14999 ac_cs_recheck=false
15000 ac_cs_silent=false
15001
15002 SHELL=\${CONFIG_SHELL-$SHELL}
15003 export SHELL
15004 _ASEOF
15005 cat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail=1
15006 ## -------------------- ##
15007 ## M4sh Initialization. ##
15008 ## -------------------- ##
15009
15010 # Be more Bourne compatible
15011 DUALCASE=1; export DUALCASE # for MKS sh
15012 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :
15013   emulate sh
15014   NULLCMD=:
15015   # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
15016   # is contrary to our usage.  Disable this feature.
15017   alias -g '${1+"$@"}'='"$@"'
15018   setopt NO_GLOB_SUBST
15019 else
15020   case `(set -o) 2>/dev/null` in #(
15021   *posix*) :
15022     set -o posix ;; #(
15023   *) :
15024      ;;
15025 esac
15026 fi
15027
15028
15029 as_nl='
15030 '
15031 export as_nl
15032 # Printing a long string crashes Solaris 7 /usr/bin/printf.
15033 as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
15034 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
15035 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
15036 # Prefer a ksh shell builtin over an external printf program on Solaris,
15037 # but without wasting forks for bash or zsh.
15038 if test -z "$BASH_VERSION$ZSH_VERSION" \
15039     && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
15040   as_echo='print -r --'
15041   as_echo_n='print -rn --'
15042 elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
15043   as_echo='printf %s\n'
15044   as_echo_n='printf %s'
15045 else
15046   if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
15047     as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
15048     as_echo_n='/usr/ucb/echo -n'
15049   else
15050     as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
15051     as_echo_n_body='eval
15052       arg=$1;
15053       case $arg in #(
15054       *"$as_nl"*)
15055         expr "X$arg" : "X\\(.*\\)$as_nl";
15056         arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
15057       esac;
15058       expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
15059     '
15060     export as_echo_n_body
15061     as_echo_n='sh -c $as_echo_n_body as_echo'
15062   fi
15063   export as_echo_body
15064   as_echo='sh -c $as_echo_body as_echo'
15065 fi
15066
15067 # The user is always right.
15068 if test "${PATH_SEPARATOR+set}" != set; then
15069   PATH_SEPARATOR=:
15070   (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
15071     (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
15072       PATH_SEPARATOR=';'
15073   }
15074 fi
15075
15076
15077 # IFS
15078 # We need space, tab and new line, in precisely that order.  Quoting is
15079 # there to prevent editors from complaining about space-tab.
15080 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
15081 # splitting by setting IFS to empty value.)
15082 IFS=" ""        $as_nl"
15083
15084 # Find who we are.  Look in the path if we contain no directory separator.
15085 as_myself=
15086 case $0 in #((
15087   *[\\/]* ) as_myself=$0 ;;
15088   *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
15089 for as_dir in $PATH
15090 do
15091   IFS=$as_save_IFS
15092   test -z "$as_dir" && as_dir=.
15093     test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
15094   done
15095 IFS=$as_save_IFS
15096
15097      ;;
15098 esac
15099 # We did not find ourselves, most probably we were run as `sh COMMAND'
15100 # in which case we are not to be found in the path.
15101 if test "x$as_myself" = x; then
15102   as_myself=$0
15103 fi
15104 if test ! -f "$as_myself"; then
15105   $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
15106   exit 1
15107 fi
15108
15109 # Unset variables that we do not need and which cause bugs (e.g. in
15110 # pre-3.0 UWIN ksh).  But do not cause bugs in bash 2.01; the "|| exit 1"
15111 # suppresses any "Segmentation fault" message there.  '((' could
15112 # trigger a bug in pdksh 5.2.14.
15113 for as_var in BASH_ENV ENV MAIL MAILPATH
15114 do eval test x\${$as_var+set} = xset \
15115   && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
15116 done
15117 PS1='$ '
15118 PS2='> '
15119 PS4='+ '
15120
15121 # NLS nuisances.
15122 LC_ALL=C
15123 export LC_ALL
15124 LANGUAGE=C
15125 export LANGUAGE
15126
15127 # CDPATH.
15128 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
15129
15130
15131 # as_fn_error STATUS ERROR [LINENO LOG_FD]
15132 # ----------------------------------------
15133 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
15134 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
15135 # script with STATUS, using 1 if that was 0.
15136 as_fn_error ()
15137 {
15138   as_status=$1; test $as_status -eq 0 && as_status=1
15139   if test "$4"; then
15140     as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
15141     $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
15142   fi
15143   $as_echo "$as_me: error: $2" >&2
15144   as_fn_exit $as_status
15145 } # as_fn_error
15146
15147
15148 # as_fn_set_status STATUS
15149 # -----------------------
15150 # Set $? to STATUS, without forking.
15151 as_fn_set_status ()
15152 {
15153   return $1
15154 } # as_fn_set_status
15155
15156 # as_fn_exit STATUS
15157 # -----------------
15158 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
15159 as_fn_exit ()
15160 {
15161   set +e
15162   as_fn_set_status $1
15163   exit $1
15164 } # as_fn_exit
15165
15166 # as_fn_unset VAR
15167 # ---------------
15168 # Portably unset VAR.
15169 as_fn_unset ()
15170 {
15171   { eval $1=; unset $1;}
15172 }
15173 as_unset=as_fn_unset
15174 # as_fn_append VAR VALUE
15175 # ----------------------
15176 # Append the text in VALUE to the end of the definition contained in VAR. Take
15177 # advantage of any shell optimizations that allow amortized linear growth over
15178 # repeated appends, instead of the typical quadratic growth present in naive
15179 # implementations.
15180 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
15181   eval 'as_fn_append ()
15182   {
15183     eval $1+=\$2
15184   }'
15185 else
15186   as_fn_append ()
15187   {
15188     eval $1=\$$1\$2
15189   }
15190 fi # as_fn_append
15191
15192 # as_fn_arith ARG...
15193 # ------------------
15194 # Perform arithmetic evaluation on the ARGs, and store the result in the
15195 # global $as_val. Take advantage of shells that can avoid forks. The arguments
15196 # must be portable across $(()) and expr.
15197 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
15198   eval 'as_fn_arith ()
15199   {
15200     as_val=$(( $* ))
15201   }'
15202 else
15203   as_fn_arith ()
15204   {
15205     as_val=`expr "$@" || test $? -eq 1`
15206   }
15207 fi # as_fn_arith
15208
15209
15210 if expr a : '\(a\)' >/dev/null 2>&1 &&
15211    test "X`expr 00001 : '.*\(...\)'`" = X001; then
15212   as_expr=expr
15213 else
15214   as_expr=false
15215 fi
15216
15217 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
15218   as_basename=basename
15219 else
15220   as_basename=false
15221 fi
15222
15223 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
15224   as_dirname=dirname
15225 else
15226   as_dirname=false
15227 fi
15228
15229 as_me=`$as_basename -- "$0" ||
15230 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
15231          X"$0" : 'X\(//\)$' \| \
15232          X"$0" : 'X\(/\)' \| . 2>/dev/null ||
15233 $as_echo X/"$0" |
15234     sed '/^.*\/\([^/][^/]*\)\/*$/{
15235             s//\1/
15236             q
15237           }
15238           /^X\/\(\/\/\)$/{
15239             s//\1/
15240             q
15241           }
15242           /^X\/\(\/\).*/{
15243             s//\1/
15244             q
15245           }
15246           s/.*/./; q'`
15247
15248 # Avoid depending upon Character Ranges.
15249 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
15250 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
15251 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
15252 as_cr_digits='0123456789'
15253 as_cr_alnum=$as_cr_Letters$as_cr_digits
15254
15255 ECHO_C= ECHO_N= ECHO_T=
15256 case `echo -n x` in #(((((
15257 -n*)
15258   case `echo 'xy\c'` in
15259   *c*) ECHO_T=' ';;     # ECHO_T is single tab character.
15260   xy)  ECHO_C='\c';;
15261   *)   echo `echo ksh88 bug on AIX 6.1` > /dev/null
15262        ECHO_T=' ';;
15263   esac;;
15264 *)
15265   ECHO_N='-n';;
15266 esac
15267
15268 rm -f conf$$ conf$$.exe conf$$.file
15269 if test -d conf$$.dir; then
15270   rm -f conf$$.dir/conf$$.file
15271 else
15272   rm -f conf$$.dir
15273   mkdir conf$$.dir 2>/dev/null
15274 fi
15275 if (echo >conf$$.file) 2>/dev/null; then
15276   if ln -s conf$$.file conf$$ 2>/dev/null; then
15277     as_ln_s='ln -s'
15278     # ... but there are two gotchas:
15279     # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
15280     # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
15281     # In both cases, we have to default to `cp -pR'.
15282     ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
15283       as_ln_s='cp -pR'
15284   elif ln conf$$.file conf$$ 2>/dev/null; then
15285     as_ln_s=ln
15286   else
15287     as_ln_s='cp -pR'
15288   fi
15289 else
15290   as_ln_s='cp -pR'
15291 fi
15292 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
15293 rmdir conf$$.dir 2>/dev/null
15294
15295
15296 # as_fn_mkdir_p
15297 # -------------
15298 # Create "$as_dir" as a directory, including parents if necessary.
15299 as_fn_mkdir_p ()
15300 {
15301
15302   case $as_dir in #(
15303   -*) as_dir=./$as_dir;;
15304   esac
15305   test -d "$as_dir" || eval $as_mkdir_p || {
15306     as_dirs=
15307     while :; do
15308       case $as_dir in #(
15309       *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
15310       *) as_qdir=$as_dir;;
15311       esac
15312       as_dirs="'$as_qdir' $as_dirs"
15313       as_dir=`$as_dirname -- "$as_dir" ||
15314 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
15315          X"$as_dir" : 'X\(//\)[^/]' \| \
15316          X"$as_dir" : 'X\(//\)$' \| \
15317          X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
15318 $as_echo X"$as_dir" |
15319     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
15320             s//\1/
15321             q
15322           }
15323           /^X\(\/\/\)[^/].*/{
15324             s//\1/
15325             q
15326           }
15327           /^X\(\/\/\)$/{
15328             s//\1/
15329             q
15330           }
15331           /^X\(\/\).*/{
15332             s//\1/
15333             q
15334           }
15335           s/.*/./; q'`
15336       test -d "$as_dir" && break
15337     done
15338     test -z "$as_dirs" || eval "mkdir $as_dirs"
15339   } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir"
15340
15341
15342 } # as_fn_mkdir_p
15343 if mkdir -p . 2>/dev/null; then
15344   as_mkdir_p='mkdir -p "$as_dir"'
15345 else
15346   test -d ./-p && rmdir ./-p
15347   as_mkdir_p=false
15348 fi
15349
15350
15351 # as_fn_executable_p FILE
15352 # -----------------------
15353 # Test if FILE is an executable regular file.
15354 as_fn_executable_p ()
15355 {
15356   test -f "$1" && test -x "$1"
15357 } # as_fn_executable_p
15358 as_test_x='test -x'
15359 as_executable_p=as_fn_executable_p
15360
15361 # Sed expression to map a string onto a valid CPP name.
15362 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
15363
15364 # Sed expression to map a string onto a valid variable name.
15365 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
15366
15367
15368 exec 6>&1
15369 ## ----------------------------------- ##
15370 ## Main body of $CONFIG_STATUS script. ##
15371 ## ----------------------------------- ##
15372 _ASEOF
15373 test $as_write_fail = 0 && chmod +x $CONFIG_STATUS || ac_write_fail=1
15374
15375 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
15376 # Save the log message, to keep $0 and so on meaningful, and to
15377 # report actual input values of CONFIG_FILES etc. instead of their
15378 # values after options handling.
15379 ac_log="
15380 This file was extended by pygobject $as_me 3.16.1, which was
15381 generated by GNU Autoconf 2.69.  Invocation command line was
15382
15383   CONFIG_FILES    = $CONFIG_FILES
15384   CONFIG_HEADERS  = $CONFIG_HEADERS
15385   CONFIG_LINKS    = $CONFIG_LINKS
15386   CONFIG_COMMANDS = $CONFIG_COMMANDS
15387   $ $0 $@
15388
15389 on `(hostname || uname -n) 2>/dev/null | sed 1q`
15390 "
15391
15392 _ACEOF
15393
15394 case $ac_config_files in *"
15395 "*) set x $ac_config_files; shift; ac_config_files=$*;;
15396 esac
15397
15398 case $ac_config_headers in *"
15399 "*) set x $ac_config_headers; shift; ac_config_headers=$*;;
15400 esac
15401
15402
15403 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
15404 # Files that config.status was made for.
15405 config_files="$ac_config_files"
15406 config_headers="$ac_config_headers"
15407 config_commands="$ac_config_commands"
15408
15409 _ACEOF
15410
15411 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
15412 ac_cs_usage="\
15413 \`$as_me' instantiates files and other configuration actions
15414 from templates according to the current configuration.  Unless the files
15415 and actions are specified as TAGs, all are instantiated by default.
15416
15417 Usage: $0 [OPTION]... [TAG]...
15418
15419   -h, --help       print this help, then exit
15420   -V, --version    print version number and configuration settings, then exit
15421       --config     print configuration, then exit
15422   -q, --quiet, --silent
15423                    do not print progress messages
15424   -d, --debug      don't remove temporary files
15425       --recheck    update $as_me by reconfiguring in the same conditions
15426       --file=FILE[:TEMPLATE]
15427                    instantiate the configuration file FILE
15428       --header=FILE[:TEMPLATE]
15429                    instantiate the configuration header FILE
15430
15431 Configuration files:
15432 $config_files
15433
15434 Configuration headers:
15435 $config_headers
15436
15437 Configuration commands:
15438 $config_commands
15439
15440 Report bugs to <http://bugzilla.gnome.org/enter_bug.cgi?product=pygobject>.
15441 pygobject home page: <https://wiki.gnome.org/Projects/PyGObject/>."
15442
15443 _ACEOF
15444 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
15445 ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`"
15446 ac_cs_version="\\
15447 pygobject config.status 3.16.1
15448 configured by $0, generated by GNU Autoconf 2.69,
15449   with options \\"\$ac_cs_config\\"
15450
15451 Copyright (C) 2012 Free Software Foundation, Inc.
15452 This config.status script is free software; the Free Software Foundation
15453 gives unlimited permission to copy, distribute and modify it."
15454
15455 ac_pwd='$ac_pwd'
15456 srcdir='$srcdir'
15457 INSTALL='$INSTALL'
15458 MKDIR_P='$MKDIR_P'
15459 AWK='$AWK'
15460 test -n "\$AWK" || AWK=awk
15461 _ACEOF
15462
15463 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
15464 # The default lists apply if the user does not specify any file.
15465 ac_need_defaults=:
15466 while test $# != 0
15467 do
15468   case $1 in
15469   --*=?*)
15470     ac_option=`expr "X$1" : 'X\([^=]*\)='`
15471     ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'`
15472     ac_shift=:
15473     ;;
15474   --*=)
15475     ac_option=`expr "X$1" : 'X\([^=]*\)='`
15476     ac_optarg=
15477     ac_shift=:
15478     ;;
15479   *)
15480     ac_option=$1
15481     ac_optarg=$2
15482     ac_shift=shift
15483     ;;
15484   esac
15485
15486   case $ac_option in
15487   # Handling of the options.
15488   -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
15489     ac_cs_recheck=: ;;
15490   --version | --versio | --versi | --vers | --ver | --ve | --v | -V )
15491     $as_echo "$ac_cs_version"; exit ;;
15492   --config | --confi | --conf | --con | --co | --c )
15493     $as_echo "$ac_cs_config"; exit ;;
15494   --debug | --debu | --deb | --de | --d | -d )
15495     debug=: ;;
15496   --file | --fil | --fi | --f )
15497     $ac_shift
15498     case $ac_optarg in
15499     *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
15500     '') as_fn_error $? "missing file argument" ;;
15501     esac
15502     as_fn_append CONFIG_FILES " '$ac_optarg'"
15503     ac_need_defaults=false;;
15504   --header | --heade | --head | --hea )
15505     $ac_shift
15506     case $ac_optarg in
15507     *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
15508     esac
15509     as_fn_append CONFIG_HEADERS " '$ac_optarg'"
15510     ac_need_defaults=false;;
15511   --he | --h)
15512     # Conflict between --help and --header
15513     as_fn_error $? "ambiguous option: \`$1'
15514 Try \`$0 --help' for more information.";;
15515   --help | --hel | -h )
15516     $as_echo "$ac_cs_usage"; exit ;;
15517   -q | -quiet | --quiet | --quie | --qui | --qu | --q \
15518   | -silent | --silent | --silen | --sile | --sil | --si | --s)
15519     ac_cs_silent=: ;;
15520
15521   # This is an error.
15522   -*) as_fn_error $? "unrecognized option: \`$1'
15523 Try \`$0 --help' for more information." ;;
15524
15525   *) as_fn_append ac_config_targets " $1"
15526      ac_need_defaults=false ;;
15527
15528   esac
15529   shift
15530 done
15531
15532 ac_configure_extra_args=
15533
15534 if $ac_cs_silent; then
15535   exec 6>/dev/null
15536   ac_configure_extra_args="$ac_configure_extra_args --silent"
15537 fi
15538
15539 _ACEOF
15540 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
15541 if \$ac_cs_recheck; then
15542   set X $SHELL '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
15543   shift
15544   \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6
15545   CONFIG_SHELL='$SHELL'
15546   export CONFIG_SHELL
15547   exec "\$@"
15548 fi
15549
15550 _ACEOF
15551 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
15552 exec 5>>config.log
15553 {
15554   echo
15555   sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
15556 ## Running $as_me. ##
15557 _ASBOX
15558   $as_echo "$ac_log"
15559 } >&5
15560
15561 _ACEOF
15562 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
15563 #
15564 # INIT-COMMANDS
15565 #
15566 AMDEP_TRUE="$AMDEP_TRUE" ac_aux_dir="$ac_aux_dir"
15567
15568
15569 # The HP-UX ksh and POSIX shell print the target directory to stdout
15570 # if CDPATH is set.
15571 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
15572
15573 sed_quote_subst='$sed_quote_subst'
15574 double_quote_subst='$double_quote_subst'
15575 delay_variable_subst='$delay_variable_subst'
15576 macro_version='`$ECHO "$macro_version" | $SED "$delay_single_quote_subst"`'
15577 macro_revision='`$ECHO "$macro_revision" | $SED "$delay_single_quote_subst"`'
15578 AS='`$ECHO "$AS" | $SED "$delay_single_quote_subst"`'
15579 DLLTOOL='`$ECHO "$DLLTOOL" | $SED "$delay_single_quote_subst"`'
15580 OBJDUMP='`$ECHO "$OBJDUMP" | $SED "$delay_single_quote_subst"`'
15581 enable_static='`$ECHO "$enable_static" | $SED "$delay_single_quote_subst"`'
15582 enable_shared='`$ECHO "$enable_shared" | $SED "$delay_single_quote_subst"`'
15583 pic_mode='`$ECHO "$pic_mode" | $SED "$delay_single_quote_subst"`'
15584 enable_fast_install='`$ECHO "$enable_fast_install" | $SED "$delay_single_quote_subst"`'
15585 SHELL='`$ECHO "$SHELL" | $SED "$delay_single_quote_subst"`'
15586 ECHO='`$ECHO "$ECHO" | $SED "$delay_single_quote_subst"`'
15587 PATH_SEPARATOR='`$ECHO "$PATH_SEPARATOR" | $SED "$delay_single_quote_subst"`'
15588 host_alias='`$ECHO "$host_alias" | $SED "$delay_single_quote_subst"`'
15589 host='`$ECHO "$host" | $SED "$delay_single_quote_subst"`'
15590 host_os='`$ECHO "$host_os" | $SED "$delay_single_quote_subst"`'
15591 build_alias='`$ECHO "$build_alias" | $SED "$delay_single_quote_subst"`'
15592 build='`$ECHO "$build" | $SED "$delay_single_quote_subst"`'
15593 build_os='`$ECHO "$build_os" | $SED "$delay_single_quote_subst"`'
15594 SED='`$ECHO "$SED" | $SED "$delay_single_quote_subst"`'
15595 Xsed='`$ECHO "$Xsed" | $SED "$delay_single_quote_subst"`'
15596 GREP='`$ECHO "$GREP" | $SED "$delay_single_quote_subst"`'
15597 EGREP='`$ECHO "$EGREP" | $SED "$delay_single_quote_subst"`'
15598 FGREP='`$ECHO "$FGREP" | $SED "$delay_single_quote_subst"`'
15599 LD='`$ECHO "$LD" | $SED "$delay_single_quote_subst"`'
15600 NM='`$ECHO "$NM" | $SED "$delay_single_quote_subst"`'
15601 LN_S='`$ECHO "$LN_S" | $SED "$delay_single_quote_subst"`'
15602 max_cmd_len='`$ECHO "$max_cmd_len" | $SED "$delay_single_quote_subst"`'
15603 ac_objext='`$ECHO "$ac_objext" | $SED "$delay_single_quote_subst"`'
15604 exeext='`$ECHO "$exeext" | $SED "$delay_single_quote_subst"`'
15605 lt_unset='`$ECHO "$lt_unset" | $SED "$delay_single_quote_subst"`'
15606 lt_SP2NL='`$ECHO "$lt_SP2NL" | $SED "$delay_single_quote_subst"`'
15607 lt_NL2SP='`$ECHO "$lt_NL2SP" | $SED "$delay_single_quote_subst"`'
15608 lt_cv_to_host_file_cmd='`$ECHO "$lt_cv_to_host_file_cmd" | $SED "$delay_single_quote_subst"`'
15609 lt_cv_to_tool_file_cmd='`$ECHO "$lt_cv_to_tool_file_cmd" | $SED "$delay_single_quote_subst"`'
15610 reload_flag='`$ECHO "$reload_flag" | $SED "$delay_single_quote_subst"`'
15611 reload_cmds='`$ECHO "$reload_cmds" | $SED "$delay_single_quote_subst"`'
15612 deplibs_check_method='`$ECHO "$deplibs_check_method" | $SED "$delay_single_quote_subst"`'
15613 file_magic_cmd='`$ECHO "$file_magic_cmd" | $SED "$delay_single_quote_subst"`'
15614 file_magic_glob='`$ECHO "$file_magic_glob" | $SED "$delay_single_quote_subst"`'
15615 want_nocaseglob='`$ECHO "$want_nocaseglob" | $SED "$delay_single_quote_subst"`'
15616 sharedlib_from_linklib_cmd='`$ECHO "$sharedlib_from_linklib_cmd" | $SED "$delay_single_quote_subst"`'
15617 AR='`$ECHO "$AR" | $SED "$delay_single_quote_subst"`'
15618 AR_FLAGS='`$ECHO "$AR_FLAGS" | $SED "$delay_single_quote_subst"`'
15619 archiver_list_spec='`$ECHO "$archiver_list_spec" | $SED "$delay_single_quote_subst"`'
15620 STRIP='`$ECHO "$STRIP" | $SED "$delay_single_quote_subst"`'
15621 RANLIB='`$ECHO "$RANLIB" | $SED "$delay_single_quote_subst"`'
15622 old_postinstall_cmds='`$ECHO "$old_postinstall_cmds" | $SED "$delay_single_quote_subst"`'
15623 old_postuninstall_cmds='`$ECHO "$old_postuninstall_cmds" | $SED "$delay_single_quote_subst"`'
15624 old_archive_cmds='`$ECHO "$old_archive_cmds" | $SED "$delay_single_quote_subst"`'
15625 lock_old_archive_extraction='`$ECHO "$lock_old_archive_extraction" | $SED "$delay_single_quote_subst"`'
15626 CC='`$ECHO "$CC" | $SED "$delay_single_quote_subst"`'
15627 CFLAGS='`$ECHO "$CFLAGS" | $SED "$delay_single_quote_subst"`'
15628 compiler='`$ECHO "$compiler" | $SED "$delay_single_quote_subst"`'
15629 GCC='`$ECHO "$GCC" | $SED "$delay_single_quote_subst"`'
15630 lt_cv_sys_global_symbol_pipe='`$ECHO "$lt_cv_sys_global_symbol_pipe" | $SED "$delay_single_quote_subst"`'
15631 lt_cv_sys_global_symbol_to_cdecl='`$ECHO "$lt_cv_sys_global_symbol_to_cdecl" | $SED "$delay_single_quote_subst"`'
15632 lt_cv_sys_global_symbol_to_c_name_address='`$ECHO "$lt_cv_sys_global_symbol_to_c_name_address" | $SED "$delay_single_quote_subst"`'
15633 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"`'
15634 nm_file_list_spec='`$ECHO "$nm_file_list_spec" | $SED "$delay_single_quote_subst"`'
15635 lt_sysroot='`$ECHO "$lt_sysroot" | $SED "$delay_single_quote_subst"`'
15636 objdir='`$ECHO "$objdir" | $SED "$delay_single_quote_subst"`'
15637 MAGIC_CMD='`$ECHO "$MAGIC_CMD" | $SED "$delay_single_quote_subst"`'
15638 lt_prog_compiler_no_builtin_flag='`$ECHO "$lt_prog_compiler_no_builtin_flag" | $SED "$delay_single_quote_subst"`'
15639 lt_prog_compiler_pic='`$ECHO "$lt_prog_compiler_pic" | $SED "$delay_single_quote_subst"`'
15640 lt_prog_compiler_wl='`$ECHO "$lt_prog_compiler_wl" | $SED "$delay_single_quote_subst"`'
15641 lt_prog_compiler_static='`$ECHO "$lt_prog_compiler_static" | $SED "$delay_single_quote_subst"`'
15642 lt_cv_prog_compiler_c_o='`$ECHO "$lt_cv_prog_compiler_c_o" | $SED "$delay_single_quote_subst"`'
15643 need_locks='`$ECHO "$need_locks" | $SED "$delay_single_quote_subst"`'
15644 MANIFEST_TOOL='`$ECHO "$MANIFEST_TOOL" | $SED "$delay_single_quote_subst"`'
15645 DSYMUTIL='`$ECHO "$DSYMUTIL" | $SED "$delay_single_quote_subst"`'
15646 NMEDIT='`$ECHO "$NMEDIT" | $SED "$delay_single_quote_subst"`'
15647 LIPO='`$ECHO "$LIPO" | $SED "$delay_single_quote_subst"`'
15648 OTOOL='`$ECHO "$OTOOL" | $SED "$delay_single_quote_subst"`'
15649 OTOOL64='`$ECHO "$OTOOL64" | $SED "$delay_single_quote_subst"`'
15650 libext='`$ECHO "$libext" | $SED "$delay_single_quote_subst"`'
15651 shrext_cmds='`$ECHO "$shrext_cmds" | $SED "$delay_single_quote_subst"`'
15652 extract_expsyms_cmds='`$ECHO "$extract_expsyms_cmds" | $SED "$delay_single_quote_subst"`'
15653 archive_cmds_need_lc='`$ECHO "$archive_cmds_need_lc" | $SED "$delay_single_quote_subst"`'
15654 enable_shared_with_static_runtimes='`$ECHO "$enable_shared_with_static_runtimes" | $SED "$delay_single_quote_subst"`'
15655 export_dynamic_flag_spec='`$ECHO "$export_dynamic_flag_spec" | $SED "$delay_single_quote_subst"`'
15656 whole_archive_flag_spec='`$ECHO "$whole_archive_flag_spec" | $SED "$delay_single_quote_subst"`'
15657 compiler_needs_object='`$ECHO "$compiler_needs_object" | $SED "$delay_single_quote_subst"`'
15658 old_archive_from_new_cmds='`$ECHO "$old_archive_from_new_cmds" | $SED "$delay_single_quote_subst"`'
15659 old_archive_from_expsyms_cmds='`$ECHO "$old_archive_from_expsyms_cmds" | $SED "$delay_single_quote_subst"`'
15660 archive_cmds='`$ECHO "$archive_cmds" | $SED "$delay_single_quote_subst"`'
15661 archive_expsym_cmds='`$ECHO "$archive_expsym_cmds" | $SED "$delay_single_quote_subst"`'
15662 module_cmds='`$ECHO "$module_cmds" | $SED "$delay_single_quote_subst"`'
15663 module_expsym_cmds='`$ECHO "$module_expsym_cmds" | $SED "$delay_single_quote_subst"`'
15664 with_gnu_ld='`$ECHO "$with_gnu_ld" | $SED "$delay_single_quote_subst"`'
15665 allow_undefined_flag='`$ECHO "$allow_undefined_flag" | $SED "$delay_single_quote_subst"`'
15666 no_undefined_flag='`$ECHO "$no_undefined_flag" | $SED "$delay_single_quote_subst"`'
15667 hardcode_libdir_flag_spec='`$ECHO "$hardcode_libdir_flag_spec" | $SED "$delay_single_quote_subst"`'
15668 hardcode_libdir_separator='`$ECHO "$hardcode_libdir_separator" | $SED "$delay_single_quote_subst"`'
15669 hardcode_direct='`$ECHO "$hardcode_direct" | $SED "$delay_single_quote_subst"`'
15670 hardcode_direct_absolute='`$ECHO "$hardcode_direct_absolute" | $SED "$delay_single_quote_subst"`'
15671 hardcode_minus_L='`$ECHO "$hardcode_minus_L" | $SED "$delay_single_quote_subst"`'
15672 hardcode_shlibpath_var='`$ECHO "$hardcode_shlibpath_var" | $SED "$delay_single_quote_subst"`'
15673 hardcode_automatic='`$ECHO "$hardcode_automatic" | $SED "$delay_single_quote_subst"`'
15674 inherit_rpath='`$ECHO "$inherit_rpath" | $SED "$delay_single_quote_subst"`'
15675 link_all_deplibs='`$ECHO "$link_all_deplibs" | $SED "$delay_single_quote_subst"`'
15676 always_export_symbols='`$ECHO "$always_export_symbols" | $SED "$delay_single_quote_subst"`'
15677 export_symbols_cmds='`$ECHO "$export_symbols_cmds" | $SED "$delay_single_quote_subst"`'
15678 exclude_expsyms='`$ECHO "$exclude_expsyms" | $SED "$delay_single_quote_subst"`'
15679 include_expsyms='`$ECHO "$include_expsyms" | $SED "$delay_single_quote_subst"`'
15680 prelink_cmds='`$ECHO "$prelink_cmds" | $SED "$delay_single_quote_subst"`'
15681 postlink_cmds='`$ECHO "$postlink_cmds" | $SED "$delay_single_quote_subst"`'
15682 file_list_spec='`$ECHO "$file_list_spec" | $SED "$delay_single_quote_subst"`'
15683 variables_saved_for_relink='`$ECHO "$variables_saved_for_relink" | $SED "$delay_single_quote_subst"`'
15684 need_lib_prefix='`$ECHO "$need_lib_prefix" | $SED "$delay_single_quote_subst"`'
15685 need_version='`$ECHO "$need_version" | $SED "$delay_single_quote_subst"`'
15686 version_type='`$ECHO "$version_type" | $SED "$delay_single_quote_subst"`'
15687 runpath_var='`$ECHO "$runpath_var" | $SED "$delay_single_quote_subst"`'
15688 shlibpath_var='`$ECHO "$shlibpath_var" | $SED "$delay_single_quote_subst"`'
15689 shlibpath_overrides_runpath='`$ECHO "$shlibpath_overrides_runpath" | $SED "$delay_single_quote_subst"`'
15690 libname_spec='`$ECHO "$libname_spec" | $SED "$delay_single_quote_subst"`'
15691 library_names_spec='`$ECHO "$library_names_spec" | $SED "$delay_single_quote_subst"`'
15692 soname_spec='`$ECHO "$soname_spec" | $SED "$delay_single_quote_subst"`'
15693 install_override_mode='`$ECHO "$install_override_mode" | $SED "$delay_single_quote_subst"`'
15694 postinstall_cmds='`$ECHO "$postinstall_cmds" | $SED "$delay_single_quote_subst"`'
15695 postuninstall_cmds='`$ECHO "$postuninstall_cmds" | $SED "$delay_single_quote_subst"`'
15696 finish_cmds='`$ECHO "$finish_cmds" | $SED "$delay_single_quote_subst"`'
15697 finish_eval='`$ECHO "$finish_eval" | $SED "$delay_single_quote_subst"`'
15698 hardcode_into_libs='`$ECHO "$hardcode_into_libs" | $SED "$delay_single_quote_subst"`'
15699 sys_lib_search_path_spec='`$ECHO "$sys_lib_search_path_spec" | $SED "$delay_single_quote_subst"`'
15700 sys_lib_dlsearch_path_spec='`$ECHO "$sys_lib_dlsearch_path_spec" | $SED "$delay_single_quote_subst"`'
15701 hardcode_action='`$ECHO "$hardcode_action" | $SED "$delay_single_quote_subst"`'
15702 enable_dlopen='`$ECHO "$enable_dlopen" | $SED "$delay_single_quote_subst"`'
15703 enable_dlopen_self='`$ECHO "$enable_dlopen_self" | $SED "$delay_single_quote_subst"`'
15704 enable_dlopen_self_static='`$ECHO "$enable_dlopen_self_static" | $SED "$delay_single_quote_subst"`'
15705 old_striplib='`$ECHO "$old_striplib" | $SED "$delay_single_quote_subst"`'
15706 striplib='`$ECHO "$striplib" | $SED "$delay_single_quote_subst"`'
15707
15708 LTCC='$LTCC'
15709 LTCFLAGS='$LTCFLAGS'
15710 compiler='$compiler_DEFAULT'
15711
15712 # A function that is used when there is no print builtin or printf.
15713 func_fallback_echo ()
15714 {
15715   eval 'cat <<_LTECHO_EOF
15716 \$1
15717 _LTECHO_EOF'
15718 }
15719
15720 # Quote evaled strings.
15721 for var in AS \
15722 DLLTOOL \
15723 OBJDUMP \
15724 SHELL \
15725 ECHO \
15726 PATH_SEPARATOR \
15727 SED \
15728 GREP \
15729 EGREP \
15730 FGREP \
15731 LD \
15732 NM \
15733 LN_S \
15734 lt_SP2NL \
15735 lt_NL2SP \
15736 reload_flag \
15737 deplibs_check_method \
15738 file_magic_cmd \
15739 file_magic_glob \
15740 want_nocaseglob \
15741 sharedlib_from_linklib_cmd \
15742 AR \
15743 AR_FLAGS \
15744 archiver_list_spec \
15745 STRIP \
15746 RANLIB \
15747 CC \
15748 CFLAGS \
15749 compiler \
15750 lt_cv_sys_global_symbol_pipe \
15751 lt_cv_sys_global_symbol_to_cdecl \
15752 lt_cv_sys_global_symbol_to_c_name_address \
15753 lt_cv_sys_global_symbol_to_c_name_address_lib_prefix \
15754 nm_file_list_spec \
15755 lt_prog_compiler_no_builtin_flag \
15756 lt_prog_compiler_pic \
15757 lt_prog_compiler_wl \
15758 lt_prog_compiler_static \
15759 lt_cv_prog_compiler_c_o \
15760 need_locks \
15761 MANIFEST_TOOL \
15762 DSYMUTIL \
15763 NMEDIT \
15764 LIPO \
15765 OTOOL \
15766 OTOOL64 \
15767 shrext_cmds \
15768 export_dynamic_flag_spec \
15769 whole_archive_flag_spec \
15770 compiler_needs_object \
15771 with_gnu_ld \
15772 allow_undefined_flag \
15773 no_undefined_flag \
15774 hardcode_libdir_flag_spec \
15775 hardcode_libdir_separator \
15776 exclude_expsyms \
15777 include_expsyms \
15778 file_list_spec \
15779 variables_saved_for_relink \
15780 libname_spec \
15781 library_names_spec \
15782 soname_spec \
15783 install_override_mode \
15784 finish_eval \
15785 old_striplib \
15786 striplib; do
15787     case \`eval \\\\\$ECHO \\\\""\\\\\$\$var"\\\\"\` in
15788     *[\\\\\\\`\\"\\\$]*)
15789       eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"\\\$\$var\\" | \\\$SED \\"\\\$sed_quote_subst\\"\\\`\\\\\\""
15790       ;;
15791     *)
15792       eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
15793       ;;
15794     esac
15795 done
15796
15797 # Double-quote double-evaled strings.
15798 for var in reload_cmds \
15799 old_postinstall_cmds \
15800 old_postuninstall_cmds \
15801 old_archive_cmds \
15802 extract_expsyms_cmds \
15803 old_archive_from_new_cmds \
15804 old_archive_from_expsyms_cmds \
15805 archive_cmds \
15806 archive_expsym_cmds \
15807 module_cmds \
15808 module_expsym_cmds \
15809 export_symbols_cmds \
15810 prelink_cmds \
15811 postlink_cmds \
15812 postinstall_cmds \
15813 postuninstall_cmds \
15814 finish_cmds \
15815 sys_lib_search_path_spec \
15816 sys_lib_dlsearch_path_spec; do
15817     case \`eval \\\\\$ECHO \\\\""\\\\\$\$var"\\\\"\` in
15818     *[\\\\\\\`\\"\\\$]*)
15819       eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"\\\$\$var\\" | \\\$SED -e \\"\\\$double_quote_subst\\" -e \\"\\\$sed_quote_subst\\" -e \\"\\\$delay_variable_subst\\"\\\`\\\\\\""
15820       ;;
15821     *)
15822       eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
15823       ;;
15824     esac
15825 done
15826
15827 ac_aux_dir='$ac_aux_dir'
15828 xsi_shell='$xsi_shell'
15829 lt_shell_append='$lt_shell_append'
15830
15831 # See if we are running on zsh, and set the options which allow our
15832 # commands through without removal of \ escapes INIT.
15833 if test -n "\${ZSH_VERSION+set}" ; then
15834    setopt NO_GLOB_SUBST
15835 fi
15836
15837
15838     PACKAGE='$PACKAGE'
15839     VERSION='$VERSION'
15840     TIMESTAMP='$TIMESTAMP'
15841     RM='$RM'
15842     ofile='$ofile'
15843
15844
15845
15846
15847 _ACEOF
15848
15849 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
15850
15851 # Handling of arguments.
15852 for ac_config_target in $ac_config_targets
15853 do
15854   case $ac_config_target in
15855     "config.h") CONFIG_HEADERS="$CONFIG_HEADERS config.h" ;;
15856     "depfiles") CONFIG_COMMANDS="$CONFIG_COMMANDS depfiles" ;;
15857     "libtool") CONFIG_COMMANDS="$CONFIG_COMMANDS libtool" ;;
15858     "Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;;
15859     "pygobject-3.0.pc") CONFIG_FILES="$CONFIG_FILES pygobject-3.0.pc" ;;
15860     "pygobject-3.0-uninstalled.pc") CONFIG_FILES="$CONFIG_FILES pygobject-3.0-uninstalled.pc" ;;
15861     "gi/Makefile") CONFIG_FILES="$CONFIG_FILES gi/Makefile" ;;
15862     "gi/repository/Makefile") CONFIG_FILES="$CONFIG_FILES gi/repository/Makefile" ;;
15863     "gi/overrides/Makefile") CONFIG_FILES="$CONFIG_FILES gi/overrides/Makefile" ;;
15864     "gi/_gobject/Makefile") CONFIG_FILES="$CONFIG_FILES gi/_gobject/Makefile" ;;
15865     "examples/Makefile") CONFIG_FILES="$CONFIG_FILES examples/Makefile" ;;
15866     "tests/Makefile") CONFIG_FILES="$CONFIG_FILES tests/Makefile" ;;
15867     "pygtkcompat/Makefile") CONFIG_FILES="$CONFIG_FILES pygtkcompat/Makefile" ;;
15868     "PKG-INFO") CONFIG_FILES="$CONFIG_FILES PKG-INFO" ;;
15869
15870   *) as_fn_error $? "invalid argument: \`$ac_config_target'" "$LINENO" 5;;
15871   esac
15872 done
15873
15874
15875 # If the user did not use the arguments to specify the items to instantiate,
15876 # then the envvar interface is used.  Set only those that are not.
15877 # We use the long form for the default assignment because of an extremely
15878 # bizarre bug on SunOS 4.1.3.
15879 if $ac_need_defaults; then
15880   test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
15881   test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS=$config_headers
15882   test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS=$config_commands
15883 fi
15884
15885 # Have a temporary directory for convenience.  Make it in the build tree
15886 # simply because there is no reason against having it here, and in addition,
15887 # creating and moving files from /tmp can sometimes cause problems.
15888 # Hook for its removal unless debugging.
15889 # Note that there is a small window in which the directory will not be cleaned:
15890 # after its creation but before its name has been assigned to `$tmp'.
15891 $debug ||
15892 {
15893   tmp= ac_tmp=
15894   trap 'exit_status=$?
15895   : "${ac_tmp:=$tmp}"
15896   { test ! -d "$ac_tmp" || rm -fr "$ac_tmp"; } && exit $exit_status
15897 ' 0
15898   trap 'as_fn_exit 1' 1 2 13 15
15899 }
15900 # Create a (secure) tmp directory for tmp files.
15901
15902 {
15903   tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
15904   test -d "$tmp"
15905 }  ||
15906 {
15907   tmp=./conf$$-$RANDOM
15908   (umask 077 && mkdir "$tmp")
15909 } || as_fn_error $? "cannot create a temporary directory in ." "$LINENO" 5
15910 ac_tmp=$tmp
15911
15912 # Set up the scripts for CONFIG_FILES section.
15913 # No need to generate them if there are no CONFIG_FILES.
15914 # This happens for instance with `./config.status config.h'.
15915 if test -n "$CONFIG_FILES"; then
15916
15917
15918 ac_cr=`echo X | tr X '\015'`
15919 # On cygwin, bash can eat \r inside `` if the user requested igncr.
15920 # But we know of no other shell where ac_cr would be empty at this
15921 # point, so we can use a bashism as a fallback.
15922 if test "x$ac_cr" = x; then
15923   eval ac_cr=\$\'\\r\'
15924 fi
15925 ac_cs_awk_cr=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
15926 if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
15927   ac_cs_awk_cr='\\r'
15928 else
15929   ac_cs_awk_cr=$ac_cr
15930 fi
15931
15932 echo 'BEGIN {' >"$ac_tmp/subs1.awk" &&
15933 _ACEOF
15934
15935
15936 {
15937   echo "cat >conf$$subs.awk <<_ACEOF" &&
15938   echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
15939   echo "_ACEOF"
15940 } >conf$$subs.sh ||
15941   as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
15942 ac_delim_num=`echo "$ac_subst_vars" | grep -c '^'`
15943 ac_delim='%!_!# '
15944 for ac_last_try in false false false false false :; do
15945   . ./conf$$subs.sh ||
15946     as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
15947
15948   ac_delim_n=`sed -n "s/.*$ac_delim\$/X/p" conf$$subs.awk | grep -c X`
15949   if test $ac_delim_n = $ac_delim_num; then
15950     break
15951   elif $ac_last_try; then
15952     as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
15953   else
15954     ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
15955   fi
15956 done
15957 rm -f conf$$subs.sh
15958
15959 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
15960 cat >>"\$ac_tmp/subs1.awk" <<\\_ACAWK &&
15961 _ACEOF
15962 sed -n '
15963 h
15964 s/^/S["/; s/!.*/"]=/
15965 p
15966 g
15967 s/^[^!]*!//
15968 :repl
15969 t repl
15970 s/'"$ac_delim"'$//
15971 t delim
15972 :nl
15973 h
15974 s/\(.\{148\}\)..*/\1/
15975 t more1
15976 s/["\\]/\\&/g; s/^/"/; s/$/\\n"\\/
15977 p
15978 n
15979 b repl
15980 :more1
15981 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
15982 p
15983 g
15984 s/.\{148\}//
15985 t nl
15986 :delim
15987 h
15988 s/\(.\{148\}\)..*/\1/
15989 t more2
15990 s/["\\]/\\&/g; s/^/"/; s/$/"/
15991 p
15992 b
15993 :more2
15994 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
15995 p
15996 g
15997 s/.\{148\}//
15998 t delim
15999 ' <conf$$subs.awk | sed '
16000 /^[^""]/{
16001   N
16002   s/\n//
16003 }
16004 ' >>$CONFIG_STATUS || ac_write_fail=1
16005 rm -f conf$$subs.awk
16006 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
16007 _ACAWK
16008 cat >>"\$ac_tmp/subs1.awk" <<_ACAWK &&
16009   for (key in S) S_is_set[key] = 1
16010   FS = "\a"
16011
16012 }
16013 {
16014   line = $ 0
16015   nfields = split(line, field, "@")
16016   substed = 0
16017   len = length(field[1])
16018   for (i = 2; i < nfields; i++) {
16019     key = field[i]
16020     keylen = length(key)
16021     if (S_is_set[key]) {
16022       value = S[key]
16023       line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3)
16024       len += length(value) + length(field[++i])
16025       substed = 1
16026     } else
16027       len += 1 + keylen
16028   }
16029
16030   print line
16031 }
16032
16033 _ACAWK
16034 _ACEOF
16035 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
16036 if sed "s/$ac_cr//" < /dev/null > /dev/null 2>&1; then
16037   sed "s/$ac_cr\$//; s/$ac_cr/$ac_cs_awk_cr/g"
16038 else
16039   cat
16040 fi < "$ac_tmp/subs1.awk" > "$ac_tmp/subs.awk" \
16041   || as_fn_error $? "could not setup config files machinery" "$LINENO" 5
16042 _ACEOF
16043
16044 # VPATH may cause trouble with some makes, so we remove sole $(srcdir),
16045 # ${srcdir} and @srcdir@ entries from VPATH if srcdir is ".", strip leading and
16046 # trailing colons and then remove the whole line if VPATH becomes empty
16047 # (actually we leave an empty line to preserve line numbers).
16048 if test "x$srcdir" = x.; then
16049   ac_vpsub='/^[  ]*VPATH[        ]*=[    ]*/{
16050 h
16051 s///
16052 s/^/:/
16053 s/[      ]*$/:/
16054 s/:\$(srcdir):/:/g
16055 s/:\${srcdir}:/:/g
16056 s/:@srcdir@:/:/g
16057 s/^:*//
16058 s/:*$//
16059 x
16060 s/\(=[   ]*\).*/\1/
16061 G
16062 s/\n//
16063 s/^[^=]*=[       ]*$//
16064 }'
16065 fi
16066
16067 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
16068 fi # test -n "$CONFIG_FILES"
16069
16070 # Set up the scripts for CONFIG_HEADERS section.
16071 # No need to generate them if there are no CONFIG_HEADERS.
16072 # This happens for instance with `./config.status Makefile'.
16073 if test -n "$CONFIG_HEADERS"; then
16074 cat >"$ac_tmp/defines.awk" <<\_ACAWK ||
16075 BEGIN {
16076 _ACEOF
16077
16078 # Transform confdefs.h into an awk script `defines.awk', embedded as
16079 # here-document in config.status, that substitutes the proper values into
16080 # config.h.in to produce config.h.
16081
16082 # Create a delimiter string that does not exist in confdefs.h, to ease
16083 # handling of long lines.
16084 ac_delim='%!_!# '
16085 for ac_last_try in false false :; do
16086   ac_tt=`sed -n "/$ac_delim/p" confdefs.h`
16087   if test -z "$ac_tt"; then
16088     break
16089   elif $ac_last_try; then
16090     as_fn_error $? "could not make $CONFIG_HEADERS" "$LINENO" 5
16091   else
16092     ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
16093   fi
16094 done
16095
16096 # For the awk script, D is an array of macro values keyed by name,
16097 # likewise P contains macro parameters if any.  Preserve backslash
16098 # newline sequences.
16099
16100 ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]*
16101 sed -n '
16102 s/.\{148\}/&'"$ac_delim"'/g
16103 t rset
16104 :rset
16105 s/^[     ]*#[    ]*define[       ][      ]*/ /
16106 t def
16107 d
16108 :def
16109 s/\\$//
16110 t bsnl
16111 s/["\\]/\\&/g
16112 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[     ]*\(.*\)/P["\1"]="\2"\
16113 D["\1"]=" \3"/p
16114 s/^ \('"$ac_word_re"'\)[         ]*\(.*\)/D["\1"]=" \2"/p
16115 d
16116 :bsnl
16117 s/["\\]/\\&/g
16118 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[     ]*\(.*\)/P["\1"]="\2"\
16119 D["\1"]=" \3\\\\\\n"\\/p
16120 t cont
16121 s/^ \('"$ac_word_re"'\)[         ]*\(.*\)/D["\1"]=" \2\\\\\\n"\\/p
16122 t cont
16123 d
16124 :cont
16125 n
16126 s/.\{148\}/&'"$ac_delim"'/g
16127 t clear
16128 :clear
16129 s/\\$//
16130 t bsnlc
16131 s/["\\]/\\&/g; s/^/"/; s/$/"/p
16132 d
16133 :bsnlc
16134 s/["\\]/\\&/g; s/^/"/; s/$/\\\\\\n"\\/p
16135 b cont
16136 ' <confdefs.h | sed '
16137 s/'"$ac_delim"'/"\\\
16138 "/g' >>$CONFIG_STATUS || ac_write_fail=1
16139
16140 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
16141   for (key in D) D_is_set[key] = 1
16142   FS = "\a"
16143 }
16144 /^[\t ]*#[\t ]*(define|undef)[\t ]+$ac_word_re([\t (]|\$)/ {
16145   line = \$ 0
16146   split(line, arg, " ")
16147   if (arg[1] == "#") {
16148     defundef = arg[2]
16149     mac1 = arg[3]
16150   } else {
16151     defundef = substr(arg[1], 2)
16152     mac1 = arg[2]
16153   }
16154   split(mac1, mac2, "(") #)
16155   macro = mac2[1]
16156   prefix = substr(line, 1, index(line, defundef) - 1)
16157   if (D_is_set[macro]) {
16158     # Preserve the white space surrounding the "#".
16159     print prefix "define", macro P[macro] D[macro]
16160     next
16161   } else {
16162     # Replace #undef with comments.  This is necessary, for example,
16163     # in the case of _POSIX_SOURCE, which is predefined and required
16164     # on some systems where configure will not decide to define it.
16165     if (defundef == "undef") {
16166       print "/*", prefix defundef, macro, "*/"
16167       next
16168     }
16169   }
16170 }
16171 { print }
16172 _ACAWK
16173 _ACEOF
16174 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
16175   as_fn_error $? "could not setup config headers machinery" "$LINENO" 5
16176 fi # test -n "$CONFIG_HEADERS"
16177
16178
16179 eval set X "  :F $CONFIG_FILES  :H $CONFIG_HEADERS    :C $CONFIG_COMMANDS"
16180 shift
16181 for ac_tag
16182 do
16183   case $ac_tag in
16184   :[FHLC]) ac_mode=$ac_tag; continue;;
16185   esac
16186   case $ac_mode$ac_tag in
16187   :[FHL]*:*);;
16188   :L* | :C*:*) as_fn_error $? "invalid tag \`$ac_tag'" "$LINENO" 5;;
16189   :[FH]-) ac_tag=-:-;;
16190   :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
16191   esac
16192   ac_save_IFS=$IFS
16193   IFS=:
16194   set x $ac_tag
16195   IFS=$ac_save_IFS
16196   shift
16197   ac_file=$1
16198   shift
16199
16200   case $ac_mode in
16201   :L) ac_source=$1;;
16202   :[FH])
16203     ac_file_inputs=
16204     for ac_f
16205     do
16206       case $ac_f in
16207       -) ac_f="$ac_tmp/stdin";;
16208       *) # Look for the file first in the build tree, then in the source tree
16209          # (if the path is not absolute).  The absolute path cannot be DOS-style,
16210          # because $ac_f cannot contain `:'.
16211          test -f "$ac_f" ||
16212            case $ac_f in
16213            [\\/$]*) false;;
16214            *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
16215            esac ||
16216            as_fn_error 1 "cannot find input file: \`$ac_f'" "$LINENO" 5;;
16217       esac
16218       case $ac_f in *\'*) ac_f=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
16219       as_fn_append ac_file_inputs " '$ac_f'"
16220     done
16221
16222     # Let's still pretend it is `configure' which instantiates (i.e., don't
16223     # use $as_me), people would be surprised to read:
16224     #    /* config.h.  Generated by config.status.  */
16225     configure_input='Generated from '`
16226           $as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
16227         `' by configure.'
16228     if test x"$ac_file" != x-; then
16229       configure_input="$ac_file.  $configure_input"
16230       { $as_echo "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5
16231 $as_echo "$as_me: creating $ac_file" >&6;}
16232     fi
16233     # Neutralize special characters interpreted by sed in replacement strings.
16234     case $configure_input in #(
16235     *\&* | *\|* | *\\* )
16236        ac_sed_conf_input=`$as_echo "$configure_input" |
16237        sed 's/[\\\\&|]/\\\\&/g'`;; #(
16238     *) ac_sed_conf_input=$configure_input;;
16239     esac
16240
16241     case $ac_tag in
16242     *:-:* | *:-) cat >"$ac_tmp/stdin" \
16243       || as_fn_error $? "could not create $ac_file" "$LINENO" 5 ;;
16244     esac
16245     ;;
16246   esac
16247
16248   ac_dir=`$as_dirname -- "$ac_file" ||
16249 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
16250          X"$ac_file" : 'X\(//\)[^/]' \| \
16251          X"$ac_file" : 'X\(//\)$' \| \
16252          X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
16253 $as_echo X"$ac_file" |
16254     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
16255             s//\1/
16256             q
16257           }
16258           /^X\(\/\/\)[^/].*/{
16259             s//\1/
16260             q
16261           }
16262           /^X\(\/\/\)$/{
16263             s//\1/
16264             q
16265           }
16266           /^X\(\/\).*/{
16267             s//\1/
16268             q
16269           }
16270           s/.*/./; q'`
16271   as_dir="$ac_dir"; as_fn_mkdir_p
16272   ac_builddir=.
16273
16274 case "$ac_dir" in
16275 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
16276 *)
16277   ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
16278   # A ".." for each directory in $ac_dir_suffix.
16279   ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
16280   case $ac_top_builddir_sub in
16281   "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
16282   *)  ac_top_build_prefix=$ac_top_builddir_sub/ ;;
16283   esac ;;
16284 esac
16285 ac_abs_top_builddir=$ac_pwd
16286 ac_abs_builddir=$ac_pwd$ac_dir_suffix
16287 # for backward compatibility:
16288 ac_top_builddir=$ac_top_build_prefix
16289
16290 case $srcdir in
16291   .)  # We are building in place.
16292     ac_srcdir=.
16293     ac_top_srcdir=$ac_top_builddir_sub
16294     ac_abs_top_srcdir=$ac_pwd ;;
16295   [\\/]* | ?:[\\/]* )  # Absolute name.
16296     ac_srcdir=$srcdir$ac_dir_suffix;
16297     ac_top_srcdir=$srcdir
16298     ac_abs_top_srcdir=$srcdir ;;
16299   *) # Relative name.
16300     ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
16301     ac_top_srcdir=$ac_top_build_prefix$srcdir
16302     ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
16303 esac
16304 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
16305
16306
16307   case $ac_mode in
16308   :F)
16309   #
16310   # CONFIG_FILE
16311   #
16312
16313   case $INSTALL in
16314   [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
16315   *) ac_INSTALL=$ac_top_build_prefix$INSTALL ;;
16316   esac
16317   ac_MKDIR_P=$MKDIR_P
16318   case $MKDIR_P in
16319   [\\/$]* | ?:[\\/]* ) ;;
16320   */*) ac_MKDIR_P=$ac_top_build_prefix$MKDIR_P ;;
16321   esac
16322 _ACEOF
16323
16324 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
16325 # If the template does not know about datarootdir, expand it.
16326 # FIXME: This hack should be removed a few years after 2.60.
16327 ac_datarootdir_hack=; ac_datarootdir_seen=
16328 ac_sed_dataroot='
16329 /datarootdir/ {
16330   p
16331   q
16332 }
16333 /@datadir@/p
16334 /@docdir@/p
16335 /@infodir@/p
16336 /@localedir@/p
16337 /@mandir@/p'
16338 case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in
16339 *datarootdir*) ac_datarootdir_seen=yes;;
16340 *@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*)
16341   { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
16342 $as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
16343 _ACEOF
16344 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
16345   ac_datarootdir_hack='
16346   s&@datadir@&$datadir&g
16347   s&@docdir@&$docdir&g
16348   s&@infodir@&$infodir&g
16349   s&@localedir@&$localedir&g
16350   s&@mandir@&$mandir&g
16351   s&\\\${datarootdir}&$datarootdir&g' ;;
16352 esac
16353 _ACEOF
16354
16355 # Neutralize VPATH when `$srcdir' = `.'.
16356 # Shell code in configure.ac might set extrasub.
16357 # FIXME: do we really want to maintain this feature?
16358 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
16359 ac_sed_extra="$ac_vpsub
16360 $extrasub
16361 _ACEOF
16362 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
16363 :t
16364 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
16365 s|@configure_input@|$ac_sed_conf_input|;t t
16366 s&@top_builddir@&$ac_top_builddir_sub&;t t
16367 s&@top_build_prefix@&$ac_top_build_prefix&;t t
16368 s&@srcdir@&$ac_srcdir&;t t
16369 s&@abs_srcdir@&$ac_abs_srcdir&;t t
16370 s&@top_srcdir@&$ac_top_srcdir&;t t
16371 s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t
16372 s&@builddir@&$ac_builddir&;t t
16373 s&@abs_builddir@&$ac_abs_builddir&;t t
16374 s&@abs_top_builddir@&$ac_abs_top_builddir&;t t
16375 s&@INSTALL@&$ac_INSTALL&;t t
16376 s&@MKDIR_P@&$ac_MKDIR_P&;t t
16377 $ac_datarootdir_hack
16378 "
16379 eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$ac_tmp/subs.awk" \
16380   >$ac_tmp/out || as_fn_error $? "could not create $ac_file" "$LINENO" 5
16381
16382 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
16383   { ac_out=`sed -n '/\${datarootdir}/p' "$ac_tmp/out"`; test -n "$ac_out"; } &&
16384   { ac_out=`sed -n '/^[  ]*datarootdir[  ]*:*=/p' \
16385       "$ac_tmp/out"`; test -z "$ac_out"; } &&
16386   { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file contains a reference to the variable \`datarootdir'
16387 which seems to be undefined.  Please make sure it is defined" >&5
16388 $as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir'
16389 which seems to be undefined.  Please make sure it is defined" >&2;}
16390
16391   rm -f "$ac_tmp/stdin"
16392   case $ac_file in
16393   -) cat "$ac_tmp/out" && rm -f "$ac_tmp/out";;
16394   *) rm -f "$ac_file" && mv "$ac_tmp/out" "$ac_file";;
16395   esac \
16396   || as_fn_error $? "could not create $ac_file" "$LINENO" 5
16397  ;;
16398   :H)
16399   #
16400   # CONFIG_HEADER
16401   #
16402   if test x"$ac_file" != x-; then
16403     {
16404       $as_echo "/* $configure_input  */" \
16405       && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs"
16406     } >"$ac_tmp/config.h" \
16407       || as_fn_error $? "could not create $ac_file" "$LINENO" 5
16408     if diff "$ac_file" "$ac_tmp/config.h" >/dev/null 2>&1; then
16409       { $as_echo "$as_me:${as_lineno-$LINENO}: $ac_file is unchanged" >&5
16410 $as_echo "$as_me: $ac_file is unchanged" >&6;}
16411     else
16412       rm -f "$ac_file"
16413       mv "$ac_tmp/config.h" "$ac_file" \
16414         || as_fn_error $? "could not create $ac_file" "$LINENO" 5
16415     fi
16416   else
16417     $as_echo "/* $configure_input  */" \
16418       && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs" \
16419       || as_fn_error $? "could not create -" "$LINENO" 5
16420   fi
16421 # Compute "$ac_file"'s index in $config_headers.
16422 _am_arg="$ac_file"
16423 _am_stamp_count=1
16424 for _am_header in $config_headers :; do
16425   case $_am_header in
16426     $_am_arg | $_am_arg:* )
16427       break ;;
16428     * )
16429       _am_stamp_count=`expr $_am_stamp_count + 1` ;;
16430   esac
16431 done
16432 echo "timestamp for $_am_arg" >`$as_dirname -- "$_am_arg" ||
16433 $as_expr X"$_am_arg" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
16434          X"$_am_arg" : 'X\(//\)[^/]' \| \
16435          X"$_am_arg" : 'X\(//\)$' \| \
16436          X"$_am_arg" : 'X\(/\)' \| . 2>/dev/null ||
16437 $as_echo X"$_am_arg" |
16438     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
16439             s//\1/
16440             q
16441           }
16442           /^X\(\/\/\)[^/].*/{
16443             s//\1/
16444             q
16445           }
16446           /^X\(\/\/\)$/{
16447             s//\1/
16448             q
16449           }
16450           /^X\(\/\).*/{
16451             s//\1/
16452             q
16453           }
16454           s/.*/./; q'`/stamp-h$_am_stamp_count
16455  ;;
16456
16457   :C)  { $as_echo "$as_me:${as_lineno-$LINENO}: executing $ac_file commands" >&5
16458 $as_echo "$as_me: executing $ac_file commands" >&6;}
16459  ;;
16460   esac
16461
16462
16463   case $ac_file$ac_mode in
16464     "depfiles":C) test x"$AMDEP_TRUE" != x"" || {
16465   # Older Autoconf quotes --file arguments for eval, but not when files
16466   # are listed without --file.  Let's play safe and only enable the eval
16467   # if we detect the quoting.
16468   case $CONFIG_FILES in
16469   *\'*) eval set x "$CONFIG_FILES" ;;
16470   *)   set x $CONFIG_FILES ;;
16471   esac
16472   shift
16473   for mf
16474   do
16475     # Strip MF so we end up with the name of the file.
16476     mf=`echo "$mf" | sed -e 's/:.*$//'`
16477     # Check whether this is an Automake generated Makefile or not.
16478     # We used to match only the files named 'Makefile.in', but
16479     # some people rename them; so instead we look at the file content.
16480     # Grep'ing the first line is not enough: some people post-process
16481     # each Makefile.in and add a new line on top of each file to say so.
16482     # Grep'ing the whole file is not good either: AIX grep has a line
16483     # limit of 2048, but all sed's we know have understand at least 4000.
16484     if sed -n 's,^#.*generated by automake.*,X,p' "$mf" | grep X >/dev/null 2>&1; then
16485       dirpart=`$as_dirname -- "$mf" ||
16486 $as_expr X"$mf" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
16487          X"$mf" : 'X\(//\)[^/]' \| \
16488          X"$mf" : 'X\(//\)$' \| \
16489          X"$mf" : 'X\(/\)' \| . 2>/dev/null ||
16490 $as_echo X"$mf" |
16491     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
16492             s//\1/
16493             q
16494           }
16495           /^X\(\/\/\)[^/].*/{
16496             s//\1/
16497             q
16498           }
16499           /^X\(\/\/\)$/{
16500             s//\1/
16501             q
16502           }
16503           /^X\(\/\).*/{
16504             s//\1/
16505             q
16506           }
16507           s/.*/./; q'`
16508     else
16509       continue
16510     fi
16511     # Extract the definition of DEPDIR, am__include, and am__quote
16512     # from the Makefile without running 'make'.
16513     DEPDIR=`sed -n 's/^DEPDIR = //p' < "$mf"`
16514     test -z "$DEPDIR" && continue
16515     am__include=`sed -n 's/^am__include = //p' < "$mf"`
16516     test -z "$am__include" && continue
16517     am__quote=`sed -n 's/^am__quote = //p' < "$mf"`
16518     # Find all dependency output files, they are included files with
16519     # $(DEPDIR) in their names.  We invoke sed twice because it is the
16520     # simplest approach to changing $(DEPDIR) to its actual value in the
16521     # expansion.
16522     for file in `sed -n "
16523       s/^$am__include $am__quote\(.*(DEPDIR).*\)$am__quote"'$/\1/p' <"$mf" | \
16524          sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g'`; do
16525       # Make sure the directory exists.
16526       test -f "$dirpart/$file" && continue
16527       fdir=`$as_dirname -- "$file" ||
16528 $as_expr X"$file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
16529          X"$file" : 'X\(//\)[^/]' \| \
16530          X"$file" : 'X\(//\)$' \| \
16531          X"$file" : 'X\(/\)' \| . 2>/dev/null ||
16532 $as_echo X"$file" |
16533     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
16534             s//\1/
16535             q
16536           }
16537           /^X\(\/\/\)[^/].*/{
16538             s//\1/
16539             q
16540           }
16541           /^X\(\/\/\)$/{
16542             s//\1/
16543             q
16544           }
16545           /^X\(\/\).*/{
16546             s//\1/
16547             q
16548           }
16549           s/.*/./; q'`
16550       as_dir=$dirpart/$fdir; as_fn_mkdir_p
16551       # echo "creating $dirpart/$file"
16552       echo '# dummy' > "$dirpart/$file"
16553     done
16554   done
16555 }
16556  ;;
16557     "libtool":C)
16558
16559     # See if we are running on zsh, and set the options which allow our
16560     # commands through without removal of \ escapes.
16561     if test -n "${ZSH_VERSION+set}" ; then
16562       setopt NO_GLOB_SUBST
16563     fi
16564
16565     cfgfile="${ofile}T"
16566     trap "$RM \"$cfgfile\"; exit 1" 1 2 15
16567     $RM "$cfgfile"
16568
16569     cat <<_LT_EOF >> "$cfgfile"
16570 #! $SHELL
16571
16572 # `$ECHO "$ofile" | sed 's%^.*/%%'` - Provide generalized library-building support services.
16573 # Generated automatically by $as_me ($PACKAGE$TIMESTAMP) $VERSION
16574 # Libtool was configured on host `(hostname || uname -n) 2>/dev/null | sed 1q`:
16575 # NOTE: Changes made to this file will be lost: look at ltmain.sh.
16576 #
16577 #   Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2003, 2004, 2005,
16578 #                 2006, 2007, 2008, 2009, 2010, 2011 Free Software
16579 #                 Foundation, Inc.
16580 #   Written by Gordon Matzigkeit, 1996
16581 #
16582 #   This file is part of GNU Libtool.
16583 #
16584 # GNU Libtool is free software; you can redistribute it and/or
16585 # modify it under the terms of the GNU General Public License as
16586 # published by the Free Software Foundation; either version 2 of
16587 # the License, or (at your option) any later version.
16588 #
16589 # As a special exception to the GNU General Public License,
16590 # if you distribute this file as part of a program or library that
16591 # is built using GNU Libtool, you may include this file under the
16592 # same distribution terms that you use for the rest of that program.
16593 #
16594 # GNU Libtool is distributed in the hope that it will be useful,
16595 # but WITHOUT ANY WARRANTY; without even the implied warranty of
16596 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
16597 # GNU General Public License for more details.
16598 #
16599 # You should have received a copy of the GNU General Public License
16600 # along with GNU Libtool; see the file COPYING.  If not, a copy
16601 # can be downloaded from http://www.gnu.org/licenses/gpl.html, or
16602 # obtained by writing to the Free Software Foundation, Inc.,
16603 # 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
16604
16605
16606 # The names of the tagged configurations supported by this script.
16607 available_tags=""
16608
16609 # ### BEGIN LIBTOOL CONFIG
16610
16611 # Which release of libtool.m4 was used?
16612 macro_version=$macro_version
16613 macro_revision=$macro_revision
16614
16615 # Assembler program.
16616 AS=$lt_AS
16617
16618 # DLL creation program.
16619 DLLTOOL=$lt_DLLTOOL
16620
16621 # Object dumper program.
16622 OBJDUMP=$lt_OBJDUMP
16623
16624 # Whether or not to build static libraries.
16625 build_old_libs=$enable_static
16626
16627 # Whether or not to build shared libraries.
16628 build_libtool_libs=$enable_shared
16629
16630 # What type of objects to build.
16631 pic_mode=$pic_mode
16632
16633 # Whether or not to optimize for fast installation.
16634 fast_install=$enable_fast_install
16635
16636 # Shell to use when invoking shell scripts.
16637 SHELL=$lt_SHELL
16638
16639 # An echo program that protects backslashes.
16640 ECHO=$lt_ECHO
16641
16642 # The PATH separator for the build system.
16643 PATH_SEPARATOR=$lt_PATH_SEPARATOR
16644
16645 # The host system.
16646 host_alias=$host_alias
16647 host=$host
16648 host_os=$host_os
16649
16650 # The build system.
16651 build_alias=$build_alias
16652 build=$build
16653 build_os=$build_os
16654
16655 # A sed program that does not truncate output.
16656 SED=$lt_SED
16657
16658 # Sed that helps us avoid accidentally triggering echo(1) options like -n.
16659 Xsed="\$SED -e 1s/^X//"
16660
16661 # A grep program that handles long lines.
16662 GREP=$lt_GREP
16663
16664 # An ERE matcher.
16665 EGREP=$lt_EGREP
16666
16667 # A literal string matcher.
16668 FGREP=$lt_FGREP
16669
16670 # A BSD- or MS-compatible name lister.
16671 NM=$lt_NM
16672
16673 # Whether we need soft or hard links.
16674 LN_S=$lt_LN_S
16675
16676 # What is the maximum length of a command?
16677 max_cmd_len=$max_cmd_len
16678
16679 # Object file suffix (normally "o").
16680 objext=$ac_objext
16681
16682 # Executable file suffix (normally "").
16683 exeext=$exeext
16684
16685 # whether the shell understands "unset".
16686 lt_unset=$lt_unset
16687
16688 # turn spaces into newlines.
16689 SP2NL=$lt_lt_SP2NL
16690
16691 # turn newlines into spaces.
16692 NL2SP=$lt_lt_NL2SP
16693
16694 # convert \$build file names to \$host format.
16695 to_host_file_cmd=$lt_cv_to_host_file_cmd
16696
16697 # convert \$build files to toolchain format.
16698 to_tool_file_cmd=$lt_cv_to_tool_file_cmd
16699
16700 # Method to check whether dependent libraries are shared objects.
16701 deplibs_check_method=$lt_deplibs_check_method
16702
16703 # Command to use when deplibs_check_method = "file_magic".
16704 file_magic_cmd=$lt_file_magic_cmd
16705
16706 # How to find potential files when deplibs_check_method = "file_magic".
16707 file_magic_glob=$lt_file_magic_glob
16708
16709 # Find potential files using nocaseglob when deplibs_check_method = "file_magic".
16710 want_nocaseglob=$lt_want_nocaseglob
16711
16712 # Command to associate shared and link libraries.
16713 sharedlib_from_linklib_cmd=$lt_sharedlib_from_linklib_cmd
16714
16715 # The archiver.
16716 AR=$lt_AR
16717
16718 # Flags to create an archive.
16719 AR_FLAGS=$lt_AR_FLAGS
16720
16721 # How to feed a file listing to the archiver.
16722 archiver_list_spec=$lt_archiver_list_spec
16723
16724 # A symbol stripping program.
16725 STRIP=$lt_STRIP
16726
16727 # Commands used to install an old-style archive.
16728 RANLIB=$lt_RANLIB
16729 old_postinstall_cmds=$lt_old_postinstall_cmds
16730 old_postuninstall_cmds=$lt_old_postuninstall_cmds
16731
16732 # Whether to use a lock for old archive extraction.
16733 lock_old_archive_extraction=$lock_old_archive_extraction
16734
16735 # A C compiler.
16736 LTCC=$lt_CC
16737
16738 # LTCC compiler flags.
16739 LTCFLAGS=$lt_CFLAGS
16740
16741 # Take the output of nm and produce a listing of raw symbols and C names.
16742 global_symbol_pipe=$lt_lt_cv_sys_global_symbol_pipe
16743
16744 # Transform the output of nm in a proper C declaration.
16745 global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl
16746
16747 # Transform the output of nm in a C name address pair.
16748 global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address
16749
16750 # Transform the output of nm in a C name address pair when lib prefix is needed.
16751 global_symbol_to_c_name_address_lib_prefix=$lt_lt_cv_sys_global_symbol_to_c_name_address_lib_prefix
16752
16753 # Specify filename containing input files for \$NM.
16754 nm_file_list_spec=$lt_nm_file_list_spec
16755
16756 # The root where to search for dependent libraries,and in which our libraries should be installed.
16757 lt_sysroot=$lt_sysroot
16758
16759 # The name of the directory that contains temporary libtool files.
16760 objdir=$objdir
16761
16762 # Used to examine libraries when file_magic_cmd begins with "file".
16763 MAGIC_CMD=$MAGIC_CMD
16764
16765 # Must we lock files when doing compilation?
16766 need_locks=$lt_need_locks
16767
16768 # Manifest tool.
16769 MANIFEST_TOOL=$lt_MANIFEST_TOOL
16770
16771 # Tool to manipulate archived DWARF debug symbol files on Mac OS X.
16772 DSYMUTIL=$lt_DSYMUTIL
16773
16774 # Tool to change global to local symbols on Mac OS X.
16775 NMEDIT=$lt_NMEDIT
16776
16777 # Tool to manipulate fat objects and archives on Mac OS X.
16778 LIPO=$lt_LIPO
16779
16780 # ldd/readelf like tool for Mach-O binaries on Mac OS X.
16781 OTOOL=$lt_OTOOL
16782
16783 # ldd/readelf like tool for 64 bit Mach-O binaries on Mac OS X 10.4.
16784 OTOOL64=$lt_OTOOL64
16785
16786 # Old archive suffix (normally "a").
16787 libext=$libext
16788
16789 # Shared library suffix (normally ".so").
16790 shrext_cmds=$lt_shrext_cmds
16791
16792 # The commands to extract the exported symbol list from a shared archive.
16793 extract_expsyms_cmds=$lt_extract_expsyms_cmds
16794
16795 # Variables whose values should be saved in libtool wrapper scripts and
16796 # restored at link time.
16797 variables_saved_for_relink=$lt_variables_saved_for_relink
16798
16799 # Do we need the "lib" prefix for modules?
16800 need_lib_prefix=$need_lib_prefix
16801
16802 # Do we need a version for libraries?
16803 need_version=$need_version
16804
16805 # Library versioning type.
16806 version_type=$version_type
16807
16808 # Shared library runtime path variable.
16809 runpath_var=$runpath_var
16810
16811 # Shared library path variable.
16812 shlibpath_var=$shlibpath_var
16813
16814 # Is shlibpath searched before the hard-coded library search path?
16815 shlibpath_overrides_runpath=$shlibpath_overrides_runpath
16816
16817 # Format of library name prefix.
16818 libname_spec=$lt_libname_spec
16819
16820 # List of archive names.  First name is the real one, the rest are links.
16821 # The last name is the one that the linker finds with -lNAME
16822 library_names_spec=$lt_library_names_spec
16823
16824 # The coded name of the library, if different from the real name.
16825 soname_spec=$lt_soname_spec
16826
16827 # Permission mode override for installation of shared libraries.
16828 install_override_mode=$lt_install_override_mode
16829
16830 # Command to use after installation of a shared archive.
16831 postinstall_cmds=$lt_postinstall_cmds
16832
16833 # Command to use after uninstallation of a shared archive.
16834 postuninstall_cmds=$lt_postuninstall_cmds
16835
16836 # Commands used to finish a libtool library installation in a directory.
16837 finish_cmds=$lt_finish_cmds
16838
16839 # As "finish_cmds", except a single script fragment to be evaled but
16840 # not shown.
16841 finish_eval=$lt_finish_eval
16842
16843 # Whether we should hardcode library paths into libraries.
16844 hardcode_into_libs=$hardcode_into_libs
16845
16846 # Compile-time system search path for libraries.
16847 sys_lib_search_path_spec=$lt_sys_lib_search_path_spec
16848
16849 # Run-time system search path for libraries.
16850 sys_lib_dlsearch_path_spec=$lt_sys_lib_dlsearch_path_spec
16851
16852 # Whether dlopen is supported.
16853 dlopen_support=$enable_dlopen
16854
16855 # Whether dlopen of programs is supported.
16856 dlopen_self=$enable_dlopen_self
16857
16858 # Whether dlopen of statically linked programs is supported.
16859 dlopen_self_static=$enable_dlopen_self_static
16860
16861 # Commands to strip libraries.
16862 old_striplib=$lt_old_striplib
16863 striplib=$lt_striplib
16864
16865
16866 # The linker used to build libraries.
16867 LD=$lt_LD
16868
16869 # How to create reloadable object files.
16870 reload_flag=$lt_reload_flag
16871 reload_cmds=$lt_reload_cmds
16872
16873 # Commands used to build an old-style archive.
16874 old_archive_cmds=$lt_old_archive_cmds
16875
16876 # A language specific compiler.
16877 CC=$lt_compiler
16878
16879 # Is the compiler the GNU compiler?
16880 with_gcc=$GCC
16881
16882 # Compiler flag to turn off builtin functions.
16883 no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag
16884
16885 # Additional compiler flags for building library objects.
16886 pic_flag=$lt_lt_prog_compiler_pic
16887
16888 # How to pass a linker flag through the compiler.
16889 wl=$lt_lt_prog_compiler_wl
16890
16891 # Compiler flag to prevent dynamic linking.
16892 link_static_flag=$lt_lt_prog_compiler_static
16893
16894 # Does compiler simultaneously support -c and -o options?
16895 compiler_c_o=$lt_lt_cv_prog_compiler_c_o
16896
16897 # Whether or not to add -lc for building shared libraries.
16898 build_libtool_need_lc=$archive_cmds_need_lc
16899
16900 # Whether or not to disallow shared libs when runtime libs are static.
16901 allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes
16902
16903 # Compiler flag to allow reflexive dlopens.
16904 export_dynamic_flag_spec=$lt_export_dynamic_flag_spec
16905
16906 # Compiler flag to generate shared objects directly from archives.
16907 whole_archive_flag_spec=$lt_whole_archive_flag_spec
16908
16909 # Whether the compiler copes with passing no objects directly.
16910 compiler_needs_object=$lt_compiler_needs_object
16911
16912 # Create an old-style archive from a shared archive.
16913 old_archive_from_new_cmds=$lt_old_archive_from_new_cmds
16914
16915 # Create a temporary old-style archive to link instead of a shared archive.
16916 old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds
16917
16918 # Commands used to build a shared archive.
16919 archive_cmds=$lt_archive_cmds
16920 archive_expsym_cmds=$lt_archive_expsym_cmds
16921
16922 # Commands used to build a loadable module if different from building
16923 # a shared archive.
16924 module_cmds=$lt_module_cmds
16925 module_expsym_cmds=$lt_module_expsym_cmds
16926
16927 # Whether we are building with GNU ld or not.
16928 with_gnu_ld=$lt_with_gnu_ld
16929
16930 # Flag that allows shared libraries with undefined symbols to be built.
16931 allow_undefined_flag=$lt_allow_undefined_flag
16932
16933 # Flag that enforces no undefined symbols.
16934 no_undefined_flag=$lt_no_undefined_flag
16935
16936 # Flag to hardcode \$libdir into a binary during linking.
16937 # This must work even if \$libdir does not exist
16938 hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec
16939
16940 # Whether we need a single "-rpath" flag with a separated argument.
16941 hardcode_libdir_separator=$lt_hardcode_libdir_separator
16942
16943 # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
16944 # DIR into the resulting binary.
16945 hardcode_direct=$hardcode_direct
16946
16947 # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
16948 # DIR into the resulting binary and the resulting library dependency is
16949 # "absolute",i.e impossible to change by setting \${shlibpath_var} if the
16950 # library is relocated.
16951 hardcode_direct_absolute=$hardcode_direct_absolute
16952
16953 # Set to "yes" if using the -LDIR flag during linking hardcodes DIR
16954 # into the resulting binary.
16955 hardcode_minus_L=$hardcode_minus_L
16956
16957 # Set to "yes" if using SHLIBPATH_VAR=DIR during linking hardcodes DIR
16958 # into the resulting binary.
16959 hardcode_shlibpath_var=$hardcode_shlibpath_var
16960
16961 # Set to "yes" if building a shared library automatically hardcodes DIR
16962 # into the library and all subsequent libraries and executables linked
16963 # against it.
16964 hardcode_automatic=$hardcode_automatic
16965
16966 # Set to yes if linker adds runtime paths of dependent libraries
16967 # to runtime path list.
16968 inherit_rpath=$inherit_rpath
16969
16970 # Whether libtool must link a program against all its dependency libraries.
16971 link_all_deplibs=$link_all_deplibs
16972
16973 # Set to "yes" if exported symbols are required.
16974 always_export_symbols=$always_export_symbols
16975
16976 # The commands to list exported symbols.
16977 export_symbols_cmds=$lt_export_symbols_cmds
16978
16979 # Symbols that should not be listed in the preloaded symbols.
16980 exclude_expsyms=$lt_exclude_expsyms
16981
16982 # Symbols that must always be exported.
16983 include_expsyms=$lt_include_expsyms
16984
16985 # Commands necessary for linking programs (against libraries) with templates.
16986 prelink_cmds=$lt_prelink_cmds
16987
16988 # Commands necessary for finishing linking programs.
16989 postlink_cmds=$lt_postlink_cmds
16990
16991 # Specify filename containing input files.
16992 file_list_spec=$lt_file_list_spec
16993
16994 # How to hardcode a shared library path into an executable.
16995 hardcode_action=$hardcode_action
16996
16997 # ### END LIBTOOL CONFIG
16998
16999 _LT_EOF
17000
17001   case $host_os in
17002   aix3*)
17003     cat <<\_LT_EOF >> "$cfgfile"
17004 # AIX sometimes has problems with the GCC collect2 program.  For some
17005 # reason, if we set the COLLECT_NAMES environment variable, the problems
17006 # vanish in a puff of smoke.
17007 if test "X${COLLECT_NAMES+set}" != Xset; then
17008   COLLECT_NAMES=
17009   export COLLECT_NAMES
17010 fi
17011 _LT_EOF
17012     ;;
17013   esac
17014
17015
17016 ltmain="$ac_aux_dir/ltmain.sh"
17017
17018
17019   # We use sed instead of cat because bash on DJGPP gets confused if
17020   # if finds mixed CR/LF and LF-only lines.  Since sed operates in
17021   # text mode, it properly converts lines to CR/LF.  This bash problem
17022   # is reportedly fixed, but why not run on old versions too?
17023   sed '$q' "$ltmain" >> "$cfgfile" \
17024      || (rm -f "$cfgfile"; exit 1)
17025
17026   if test x"$xsi_shell" = xyes; then
17027   sed -e '/^func_dirname ()$/,/^} # func_dirname /c\
17028 func_dirname ()\
17029 {\
17030 \    case ${1} in\
17031 \      */*) func_dirname_result="${1%/*}${2}" ;;\
17032 \      *  ) func_dirname_result="${3}" ;;\
17033 \    esac\
17034 } # Extended-shell func_dirname implementation' "$cfgfile" > $cfgfile.tmp \
17035   && mv -f "$cfgfile.tmp" "$cfgfile" \
17036     || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
17037 test 0 -eq $? || _lt_function_replace_fail=:
17038
17039
17040   sed -e '/^func_basename ()$/,/^} # func_basename /c\
17041 func_basename ()\
17042 {\
17043 \    func_basename_result="${1##*/}"\
17044 } # Extended-shell func_basename implementation' "$cfgfile" > $cfgfile.tmp \
17045   && mv -f "$cfgfile.tmp" "$cfgfile" \
17046     || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
17047 test 0 -eq $? || _lt_function_replace_fail=:
17048
17049
17050   sed -e '/^func_dirname_and_basename ()$/,/^} # func_dirname_and_basename /c\
17051 func_dirname_and_basename ()\
17052 {\
17053 \    case ${1} in\
17054 \      */*) func_dirname_result="${1%/*}${2}" ;;\
17055 \      *  ) func_dirname_result="${3}" ;;\
17056 \    esac\
17057 \    func_basename_result="${1##*/}"\
17058 } # Extended-shell func_dirname_and_basename implementation' "$cfgfile" > $cfgfile.tmp \
17059   && mv -f "$cfgfile.tmp" "$cfgfile" \
17060     || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
17061 test 0 -eq $? || _lt_function_replace_fail=:
17062
17063
17064   sed -e '/^func_stripname ()$/,/^} # func_stripname /c\
17065 func_stripname ()\
17066 {\
17067 \    # pdksh 5.2.14 does not do ${X%$Y} correctly if both X and Y are\
17068 \    # positional parameters, so assign one to ordinary parameter first.\
17069 \    func_stripname_result=${3}\
17070 \    func_stripname_result=${func_stripname_result#"${1}"}\
17071 \    func_stripname_result=${func_stripname_result%"${2}"}\
17072 } # Extended-shell func_stripname implementation' "$cfgfile" > $cfgfile.tmp \
17073   && mv -f "$cfgfile.tmp" "$cfgfile" \
17074     || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
17075 test 0 -eq $? || _lt_function_replace_fail=:
17076
17077
17078   sed -e '/^func_split_long_opt ()$/,/^} # func_split_long_opt /c\
17079 func_split_long_opt ()\
17080 {\
17081 \    func_split_long_opt_name=${1%%=*}\
17082 \    func_split_long_opt_arg=${1#*=}\
17083 } # Extended-shell func_split_long_opt implementation' "$cfgfile" > $cfgfile.tmp \
17084   && mv -f "$cfgfile.tmp" "$cfgfile" \
17085     || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
17086 test 0 -eq $? || _lt_function_replace_fail=:
17087
17088
17089   sed -e '/^func_split_short_opt ()$/,/^} # func_split_short_opt /c\
17090 func_split_short_opt ()\
17091 {\
17092 \    func_split_short_opt_arg=${1#??}\
17093 \    func_split_short_opt_name=${1%"$func_split_short_opt_arg"}\
17094 } # Extended-shell func_split_short_opt implementation' "$cfgfile" > $cfgfile.tmp \
17095   && mv -f "$cfgfile.tmp" "$cfgfile" \
17096     || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
17097 test 0 -eq $? || _lt_function_replace_fail=:
17098
17099
17100   sed -e '/^func_lo2o ()$/,/^} # func_lo2o /c\
17101 func_lo2o ()\
17102 {\
17103 \    case ${1} in\
17104 \      *.lo) func_lo2o_result=${1%.lo}.${objext} ;;\
17105 \      *)    func_lo2o_result=${1} ;;\
17106 \    esac\
17107 } # Extended-shell func_lo2o implementation' "$cfgfile" > $cfgfile.tmp \
17108   && mv -f "$cfgfile.tmp" "$cfgfile" \
17109     || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
17110 test 0 -eq $? || _lt_function_replace_fail=:
17111
17112
17113   sed -e '/^func_xform ()$/,/^} # func_xform /c\
17114 func_xform ()\
17115 {\
17116     func_xform_result=${1%.*}.lo\
17117 } # Extended-shell func_xform implementation' "$cfgfile" > $cfgfile.tmp \
17118   && mv -f "$cfgfile.tmp" "$cfgfile" \
17119     || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
17120 test 0 -eq $? || _lt_function_replace_fail=:
17121
17122
17123   sed -e '/^func_arith ()$/,/^} # func_arith /c\
17124 func_arith ()\
17125 {\
17126     func_arith_result=$(( $* ))\
17127 } # Extended-shell func_arith implementation' "$cfgfile" > $cfgfile.tmp \
17128   && mv -f "$cfgfile.tmp" "$cfgfile" \
17129     || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
17130 test 0 -eq $? || _lt_function_replace_fail=:
17131
17132
17133   sed -e '/^func_len ()$/,/^} # func_len /c\
17134 func_len ()\
17135 {\
17136     func_len_result=${#1}\
17137 } # Extended-shell func_len implementation' "$cfgfile" > $cfgfile.tmp \
17138   && mv -f "$cfgfile.tmp" "$cfgfile" \
17139     || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
17140 test 0 -eq $? || _lt_function_replace_fail=:
17141
17142 fi
17143
17144 if test x"$lt_shell_append" = xyes; then
17145   sed -e '/^func_append ()$/,/^} # func_append /c\
17146 func_append ()\
17147 {\
17148     eval "${1}+=\\${2}"\
17149 } # Extended-shell func_append implementation' "$cfgfile" > $cfgfile.tmp \
17150   && mv -f "$cfgfile.tmp" "$cfgfile" \
17151     || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
17152 test 0 -eq $? || _lt_function_replace_fail=:
17153
17154
17155   sed -e '/^func_append_quoted ()$/,/^} # func_append_quoted /c\
17156 func_append_quoted ()\
17157 {\
17158 \    func_quote_for_eval "${2}"\
17159 \    eval "${1}+=\\\\ \\$func_quote_for_eval_result"\
17160 } # Extended-shell func_append_quoted implementation' "$cfgfile" > $cfgfile.tmp \
17161   && mv -f "$cfgfile.tmp" "$cfgfile" \
17162     || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
17163 test 0 -eq $? || _lt_function_replace_fail=:
17164
17165
17166   # Save a `func_append' function call where possible by direct use of '+='
17167   sed -e 's%func_append \([a-zA-Z_]\{1,\}\) "%\1+="%g' $cfgfile > $cfgfile.tmp \
17168     && mv -f "$cfgfile.tmp" "$cfgfile" \
17169       || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
17170   test 0 -eq $? || _lt_function_replace_fail=:
17171 else
17172   # Save a `func_append' function call even when '+=' is not available
17173   sed -e 's%func_append \([a-zA-Z_]\{1,\}\) "%\1="$\1%g' $cfgfile > $cfgfile.tmp \
17174     && mv -f "$cfgfile.tmp" "$cfgfile" \
17175       || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
17176   test 0 -eq $? || _lt_function_replace_fail=:
17177 fi
17178
17179 if test x"$_lt_function_replace_fail" = x":"; then
17180   { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Unable to substitute extended shell functions in $ofile" >&5
17181 $as_echo "$as_me: WARNING: Unable to substitute extended shell functions in $ofile" >&2;}
17182 fi
17183
17184
17185    mv -f "$cfgfile" "$ofile" ||
17186     (rm -f "$ofile" && cp "$cfgfile" "$ofile" && rm -f "$cfgfile")
17187   chmod +x "$ofile"
17188
17189  ;;
17190
17191   esac
17192 done # for ac_tag
17193
17194
17195 as_fn_exit 0
17196 _ACEOF
17197 ac_clean_files=$ac_clean_files_save
17198
17199 test $ac_write_fail = 0 ||
17200   as_fn_error $? "write failure creating $CONFIG_STATUS" "$LINENO" 5
17201
17202
17203 # configure is writing to config.log, and then calls config.status.
17204 # config.status does its own redirection, appending to config.log.
17205 # Unfortunately, on DOS this fails, as config.log is still kept open
17206 # by configure, so config.status won't be able to write to it; its
17207 # output is simply discarded.  So we exec the FD to /dev/null,
17208 # effectively closing config.log, so it can be properly (re)opened and
17209 # appended to by config.status.  When coming back to configure, we
17210 # need to make the FD available again.
17211 if test "$no_create" != yes; then
17212   ac_cs_success=:
17213   ac_config_status_args=
17214   test "$silent" = yes &&
17215     ac_config_status_args="$ac_config_status_args --quiet"
17216   exec 5>/dev/null
17217   $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
17218   exec 5>>config.log
17219   # Use ||, not &&, to avoid exiting from the if with $? = 1, which
17220   # would make configure fail if this is the last instruction.
17221   $ac_cs_success || as_fn_exit 1
17222 fi
17223 if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no; then
17224   { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
17225 $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}
17226 fi
17227
17228
17229 { $as_echo "$as_me:${as_lineno-$LINENO}: result:
17230         pygobject $VERSION
17231
17232         Using python interpreter:       $PYTHON
17233         cairo support:                  $enable_cairo
17234         thread support:                 $enable_thread
17235         code coverage support:          $enable_code_coverage
17236 " >&5
17237 $as_echo "
17238         pygobject $VERSION
17239
17240         Using python interpreter:       $PYTHON
17241         cairo support:                  $enable_cairo
17242         thread support:                 $enable_thread
17243         code coverage support:          $enable_code_coverage
17244 " >&6; }
17245