Imported Upstream version 3.7.3
[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.7.3.
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.7.3'
595 PACKAGE_STRING='pygobject 3.7.3'
596 PACKAGE_BUGREPORT='http://bugzilla.gnome.org/enter_bug.cgi?product=pygobject'
597 PACKAGE_URL='https://live.gnome.org/PyGObject/'
598
599 ac_unique_file="gi/gimodule.c"
600 # Factoring default headers for most tests.
601 ac_includes_default="\
602 #include <stdio.h>
603 #ifdef HAVE_SYS_TYPES_H
604 # include <sys/types.h>
605 #endif
606 #ifdef HAVE_SYS_STAT_H
607 # include <sys/stat.h>
608 #endif
609 #ifdef STDC_HEADERS
610 # include <stdlib.h>
611 # include <stddef.h>
612 #else
613 # ifdef HAVE_STDLIB_H
614 #  include <stdlib.h>
615 # endif
616 #endif
617 #ifdef HAVE_STRING_H
618 # if !defined STDC_HEADERS && defined HAVE_MEMORY_H
619 #  include <memory.h>
620 # endif
621 # include <string.h>
622 #endif
623 #ifdef HAVE_STRINGS_H
624 # include <strings.h>
625 #endif
626 #ifdef HAVE_INTTYPES_H
627 # include <inttypes.h>
628 #endif
629 #ifdef HAVE_STDINT_H
630 # include <stdint.h>
631 #endif
632 #ifdef HAVE_UNISTD_H
633 # include <unistd.h>
634 #endif"
635
636 ac_subst_vars='am__EXEEXT_FALSE
637 am__EXEEXT_TRUE
638 LTLIBOBJS
639 LIBOBJS
640 GNOME_CODE_COVERAGE_RULES
641 CODE_COVERAGE_LDFLAGS
642 CODE_COVERAGE_CFLAGS
643 GENHTML
644 LCOV
645 CODE_COVERAGE_ENABLED
646 CODE_COVERAGE_ENABLED_FALSE
647 CODE_COVERAGE_ENABLED_TRUE
648 INTROSPECTION_COMPILER
649 INTROSPECTION_SCANNER
650 ENABLE_CAIRO_FALSE
651 ENABLE_CAIRO_TRUE
652 PYCAIRO_LIBS
653 PYCAIRO_CFLAGS
654 CAIRO_LIBS
655 CAIRO_CFLAGS
656 GI_DATADIR
657 GI_LIBS
658 GI_CFLAGS
659 GIO_LIBS
660 GIO_CFLAGS
661 LIBFFI_PC
662 HAVE_LIBFFI_FALSE
663 HAVE_LIBFFI_TRUE
664 FFI_LIBS
665 FFI_CFLAGS
666 DATADIR
667 PYTHON_BASENAME
668 GLIB_COMPILE_RESOURCES
669 GLIB_MKENUMS
670 GOBJECT_QUERY
671 GLIB_GENMARSHAL
672 GLIB_LIBS
673 GLIB_CFLAGS
674 PKG_CONFIG_LIBDIR
675 PKG_CONFIG_PATH
676 PKG_CONFIG
677 THREADING_CFLAGS
678 PLATFORM
679 PYTHON_LIB_LOC
680 PYTHON_LIBS
681 PYTHON_INCLUDES
682 pkgpyexecdir
683 pyexecdir
684 pkgpythondir
685 pythondir
686 PYTHON_PLATFORM
687 PYTHON_EXEC_PREFIX
688 PYTHON_PREFIX
689 PYTHON_VERSION
690 PYTHON
691 CPP
692 OTOOL64
693 OTOOL
694 LIPO
695 NMEDIT
696 DSYMUTIL
697 MANIFEST_TOOL
698 RANLIB
699 ac_ct_AR
700 AR
701 LN_S
702 NM
703 ac_ct_DUMPBIN
704 DUMPBIN
705 LD
706 FGREP
707 EGREP
708 GREP
709 SED
710 am__fastdepCC_FALSE
711 am__fastdepCC_TRUE
712 CCDEPMODE
713 am__nodep
714 AMDEPBACKSLASH
715 AMDEP_FALSE
716 AMDEP_TRUE
717 am__quote
718 am__include
719 DEPDIR
720 OBJEXT
721 EXEEXT
722 ac_ct_CC
723 CPPFLAGS
724 LDFLAGS
725 CFLAGS
726 CC
727 LIBTOOL
728 OBJDUMP
729 DLLTOOL
730 AS
731 OS_WIN32_FALSE
732 OS_WIN32_TRUE
733 PLATFORM_WIN32_FALSE
734 PLATFORM_WIN32_TRUE
735 host_os
736 host_vendor
737 host_cpu
738 host
739 build_os
740 build_vendor
741 build_cpu
742 build
743 am__untar
744 am__tar
745 AMTAR
746 am__leading_dot
747 SET_MAKE
748 AWK
749 mkdir_p
750 MKDIR_P
751 INSTALL_STRIP_PROGRAM
752 STRIP
753 install_sh
754 MAKEINFO
755 AUTOHEADER
756 AUTOMAKE
757 AUTOCONF
758 ACLOCAL
759 VERSION
760 PACKAGE
761 CYGPATH_W
762 am__isrc
763 INSTALL_DATA
764 INSTALL_SCRIPT
765 INSTALL_PROGRAM
766 AM_BACKSLASH
767 AM_DEFAULT_VERBOSITY
768 AM_DEFAULT_V
769 AM_V
770 PYGOBJECT_MICRO_VERSION
771 PYGOBJECT_MINOR_VERSION
772 PYGOBJECT_MAJOR_VERSION
773 ACLOCAL_AMFLAGS
774 target_alias
775 host_alias
776 build_alias
777 LIBS
778 ECHO_T
779 ECHO_N
780 ECHO_C
781 DEFS
782 mandir
783 localedir
784 libdir
785 psdir
786 pdfdir
787 dvidir
788 htmldir
789 infodir
790 docdir
791 oldincludedir
792 includedir
793 localstatedir
794 sharedstatedir
795 sysconfdir
796 datadir
797 datarootdir
798 libexecdir
799 sbindir
800 bindir
801 program_transform_name
802 prefix
803 exec_prefix
804 PACKAGE_URL
805 PACKAGE_BUGREPORT
806 PACKAGE_STRING
807 PACKAGE_VERSION
808 PACKAGE_TARNAME
809 PACKAGE_NAME
810 PATH_SEPARATOR
811 SHELL'
812 ac_subst_files=''
813 ac_user_opts='
814 enable_option_checking
815 enable_silent_rules
816 enable_static
817 enable_shared
818 with_pic
819 enable_fast_install
820 enable_dependency_tracking
821 with_gnu_ld
822 with_sysroot
823 enable_libtool_lock
824 with_python
825 enable_thread
826 enable_glibtest
827 with_ffi
828 enable_cairo
829 enable_code_coverage
830 '
831       ac_precious_vars='build_alias
832 host_alias
833 target_alias
834 CC
835 CFLAGS
836 LDFLAGS
837 LIBS
838 CPPFLAGS
839 CPP
840 PYTHON
841 PKG_CONFIG
842 PKG_CONFIG_PATH
843 PKG_CONFIG_LIBDIR
844 FFI_CFLAGS
845 FFI_LIBS
846 GIO_CFLAGS
847 GIO_LIBS
848 GI_CFLAGS
849 GI_LIBS
850 CAIRO_CFLAGS
851 CAIRO_LIBS
852 PYCAIRO_CFLAGS
853 PYCAIRO_LIBS'
854
855
856 # Initialize some variables set by options.
857 ac_init_help=
858 ac_init_version=false
859 ac_unrecognized_opts=
860 ac_unrecognized_sep=
861 # The variables have the same names as the options, with
862 # dashes changed to underlines.
863 cache_file=/dev/null
864 exec_prefix=NONE
865 no_create=
866 no_recursion=
867 prefix=NONE
868 program_prefix=NONE
869 program_suffix=NONE
870 program_transform_name=s,x,x,
871 silent=
872 site=
873 srcdir=
874 verbose=
875 x_includes=NONE
876 x_libraries=NONE
877
878 # Installation directory options.
879 # These are left unexpanded so users can "make install exec_prefix=/foo"
880 # and all the variables that are supposed to be based on exec_prefix
881 # by default will actually change.
882 # Use braces instead of parens because sh, perl, etc. also accept them.
883 # (The list follows the same order as the GNU Coding Standards.)
884 bindir='${exec_prefix}/bin'
885 sbindir='${exec_prefix}/sbin'
886 libexecdir='${exec_prefix}/libexec'
887 datarootdir='${prefix}/share'
888 datadir='${datarootdir}'
889 sysconfdir='${prefix}/etc'
890 sharedstatedir='${prefix}/com'
891 localstatedir='${prefix}/var'
892 includedir='${prefix}/include'
893 oldincludedir='/usr/include'
894 docdir='${datarootdir}/doc/${PACKAGE_TARNAME}'
895 infodir='${datarootdir}/info'
896 htmldir='${docdir}'
897 dvidir='${docdir}'
898 pdfdir='${docdir}'
899 psdir='${docdir}'
900 libdir='${exec_prefix}/lib'
901 localedir='${datarootdir}/locale'
902 mandir='${datarootdir}/man'
903
904 ac_prev=
905 ac_dashdash=
906 for ac_option
907 do
908   # If the previous option needs an argument, assign it.
909   if test -n "$ac_prev"; then
910     eval $ac_prev=\$ac_option
911     ac_prev=
912     continue
913   fi
914
915   case $ac_option in
916   *=?*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
917   *=)   ac_optarg= ;;
918   *)    ac_optarg=yes ;;
919   esac
920
921   # Accept the important Cygnus configure options, so we can diagnose typos.
922
923   case $ac_dashdash$ac_option in
924   --)
925     ac_dashdash=yes ;;
926
927   -bindir | --bindir | --bindi | --bind | --bin | --bi)
928     ac_prev=bindir ;;
929   -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
930     bindir=$ac_optarg ;;
931
932   -build | --build | --buil | --bui | --bu)
933     ac_prev=build_alias ;;
934   -build=* | --build=* | --buil=* | --bui=* | --bu=*)
935     build_alias=$ac_optarg ;;
936
937   -cache-file | --cache-file | --cache-fil | --cache-fi \
938   | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
939     ac_prev=cache_file ;;
940   -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
941   | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
942     cache_file=$ac_optarg ;;
943
944   --config-cache | -C)
945     cache_file=config.cache ;;
946
947   -datadir | --datadir | --datadi | --datad)
948     ac_prev=datadir ;;
949   -datadir=* | --datadir=* | --datadi=* | --datad=*)
950     datadir=$ac_optarg ;;
951
952   -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \
953   | --dataroo | --dataro | --datar)
954     ac_prev=datarootdir ;;
955   -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \
956   | --dataroot=* | --dataroo=* | --dataro=* | --datar=*)
957     datarootdir=$ac_optarg ;;
958
959   -disable-* | --disable-*)
960     ac_useropt=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
961     # Reject names that are not valid shell variable names.
962     expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
963       as_fn_error $? "invalid feature name: $ac_useropt"
964     ac_useropt_orig=$ac_useropt
965     ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
966     case $ac_user_opts in
967       *"
968 "enable_$ac_useropt"
969 "*) ;;
970       *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig"
971          ac_unrecognized_sep=', ';;
972     esac
973     eval enable_$ac_useropt=no ;;
974
975   -docdir | --docdir | --docdi | --doc | --do)
976     ac_prev=docdir ;;
977   -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*)
978     docdir=$ac_optarg ;;
979
980   -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv)
981     ac_prev=dvidir ;;
982   -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*)
983     dvidir=$ac_optarg ;;
984
985   -enable-* | --enable-*)
986     ac_useropt=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
987     # Reject names that are not valid shell variable names.
988     expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
989       as_fn_error $? "invalid feature name: $ac_useropt"
990     ac_useropt_orig=$ac_useropt
991     ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
992     case $ac_user_opts in
993       *"
994 "enable_$ac_useropt"
995 "*) ;;
996       *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig"
997          ac_unrecognized_sep=', ';;
998     esac
999     eval enable_$ac_useropt=\$ac_optarg ;;
1000
1001   -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
1002   | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
1003   | --exec | --exe | --ex)
1004     ac_prev=exec_prefix ;;
1005   -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
1006   | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
1007   | --exec=* | --exe=* | --ex=*)
1008     exec_prefix=$ac_optarg ;;
1009
1010   -gas | --gas | --ga | --g)
1011     # Obsolete; use --with-gas.
1012     with_gas=yes ;;
1013
1014   -help | --help | --hel | --he | -h)
1015     ac_init_help=long ;;
1016   -help=r* | --help=r* | --hel=r* | --he=r* | -hr*)
1017     ac_init_help=recursive ;;
1018   -help=s* | --help=s* | --hel=s* | --he=s* | -hs*)
1019     ac_init_help=short ;;
1020
1021   -host | --host | --hos | --ho)
1022     ac_prev=host_alias ;;
1023   -host=* | --host=* | --hos=* | --ho=*)
1024     host_alias=$ac_optarg ;;
1025
1026   -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht)
1027     ac_prev=htmldir ;;
1028   -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \
1029   | --ht=*)
1030     htmldir=$ac_optarg ;;
1031
1032   -includedir | --includedir | --includedi | --included | --include \
1033   | --includ | --inclu | --incl | --inc)
1034     ac_prev=includedir ;;
1035   -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
1036   | --includ=* | --inclu=* | --incl=* | --inc=*)
1037     includedir=$ac_optarg ;;
1038
1039   -infodir | --infodir | --infodi | --infod | --info | --inf)
1040     ac_prev=infodir ;;
1041   -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
1042     infodir=$ac_optarg ;;
1043
1044   -libdir | --libdir | --libdi | --libd)
1045     ac_prev=libdir ;;
1046   -libdir=* | --libdir=* | --libdi=* | --libd=*)
1047     libdir=$ac_optarg ;;
1048
1049   -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
1050   | --libexe | --libex | --libe)
1051     ac_prev=libexecdir ;;
1052   -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
1053   | --libexe=* | --libex=* | --libe=*)
1054     libexecdir=$ac_optarg ;;
1055
1056   -localedir | --localedir | --localedi | --localed | --locale)
1057     ac_prev=localedir ;;
1058   -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*)
1059     localedir=$ac_optarg ;;
1060
1061   -localstatedir | --localstatedir | --localstatedi | --localstated \
1062   | --localstate | --localstat | --localsta | --localst | --locals)
1063     ac_prev=localstatedir ;;
1064   -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
1065   | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*)
1066     localstatedir=$ac_optarg ;;
1067
1068   -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
1069     ac_prev=mandir ;;
1070   -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
1071     mandir=$ac_optarg ;;
1072
1073   -nfp | --nfp | --nf)
1074     # Obsolete; use --without-fp.
1075     with_fp=no ;;
1076
1077   -no-create | --no-create | --no-creat | --no-crea | --no-cre \
1078   | --no-cr | --no-c | -n)
1079     no_create=yes ;;
1080
1081   -no-recursion | --no-recursion | --no-recursio | --no-recursi \
1082   | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
1083     no_recursion=yes ;;
1084
1085   -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
1086   | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
1087   | --oldin | --oldi | --old | --ol | --o)
1088     ac_prev=oldincludedir ;;
1089   -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
1090   | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
1091   | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
1092     oldincludedir=$ac_optarg ;;
1093
1094   -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
1095     ac_prev=prefix ;;
1096   -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
1097     prefix=$ac_optarg ;;
1098
1099   -program-prefix | --program-prefix | --program-prefi | --program-pref \
1100   | --program-pre | --program-pr | --program-p)
1101     ac_prev=program_prefix ;;
1102   -program-prefix=* | --program-prefix=* | --program-prefi=* \
1103   | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
1104     program_prefix=$ac_optarg ;;
1105
1106   -program-suffix | --program-suffix | --program-suffi | --program-suff \
1107   | --program-suf | --program-su | --program-s)
1108     ac_prev=program_suffix ;;
1109   -program-suffix=* | --program-suffix=* | --program-suffi=* \
1110   | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
1111     program_suffix=$ac_optarg ;;
1112
1113   -program-transform-name | --program-transform-name \
1114   | --program-transform-nam | --program-transform-na \
1115   | --program-transform-n | --program-transform- \
1116   | --program-transform | --program-transfor \
1117   | --program-transfo | --program-transf \
1118   | --program-trans | --program-tran \
1119   | --progr-tra | --program-tr | --program-t)
1120     ac_prev=program_transform_name ;;
1121   -program-transform-name=* | --program-transform-name=* \
1122   | --program-transform-nam=* | --program-transform-na=* \
1123   | --program-transform-n=* | --program-transform-=* \
1124   | --program-transform=* | --program-transfor=* \
1125   | --program-transfo=* | --program-transf=* \
1126   | --program-trans=* | --program-tran=* \
1127   | --progr-tra=* | --program-tr=* | --program-t=*)
1128     program_transform_name=$ac_optarg ;;
1129
1130   -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd)
1131     ac_prev=pdfdir ;;
1132   -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*)
1133     pdfdir=$ac_optarg ;;
1134
1135   -psdir | --psdir | --psdi | --psd | --ps)
1136     ac_prev=psdir ;;
1137   -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*)
1138     psdir=$ac_optarg ;;
1139
1140   -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1141   | -silent | --silent | --silen | --sile | --sil)
1142     silent=yes ;;
1143
1144   -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
1145     ac_prev=sbindir ;;
1146   -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
1147   | --sbi=* | --sb=*)
1148     sbindir=$ac_optarg ;;
1149
1150   -sharedstatedir | --sharedstatedir | --sharedstatedi \
1151   | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
1152   | --sharedst | --shareds | --shared | --share | --shar \
1153   | --sha | --sh)
1154     ac_prev=sharedstatedir ;;
1155   -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
1156   | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
1157   | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
1158   | --sha=* | --sh=*)
1159     sharedstatedir=$ac_optarg ;;
1160
1161   -site | --site | --sit)
1162     ac_prev=site ;;
1163   -site=* | --site=* | --sit=*)
1164     site=$ac_optarg ;;
1165
1166   -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
1167     ac_prev=srcdir ;;
1168   -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
1169     srcdir=$ac_optarg ;;
1170
1171   -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
1172   | --syscon | --sysco | --sysc | --sys | --sy)
1173     ac_prev=sysconfdir ;;
1174   -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
1175   | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
1176     sysconfdir=$ac_optarg ;;
1177
1178   -target | --target | --targe | --targ | --tar | --ta | --t)
1179     ac_prev=target_alias ;;
1180   -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
1181     target_alias=$ac_optarg ;;
1182
1183   -v | -verbose | --verbose | --verbos | --verbo | --verb)
1184     verbose=yes ;;
1185
1186   -version | --version | --versio | --versi | --vers | -V)
1187     ac_init_version=: ;;
1188
1189   -with-* | --with-*)
1190     ac_useropt=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
1191     # Reject names that are not valid shell variable names.
1192     expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1193       as_fn_error $? "invalid package name: $ac_useropt"
1194     ac_useropt_orig=$ac_useropt
1195     ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1196     case $ac_user_opts in
1197       *"
1198 "with_$ac_useropt"
1199 "*) ;;
1200       *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig"
1201          ac_unrecognized_sep=', ';;
1202     esac
1203     eval with_$ac_useropt=\$ac_optarg ;;
1204
1205   -without-* | --without-*)
1206     ac_useropt=`expr "x$ac_option" : 'x-*without-\(.*\)'`
1207     # Reject names that are not valid shell variable names.
1208     expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1209       as_fn_error $? "invalid package name: $ac_useropt"
1210     ac_useropt_orig=$ac_useropt
1211     ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1212     case $ac_user_opts in
1213       *"
1214 "with_$ac_useropt"
1215 "*) ;;
1216       *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig"
1217          ac_unrecognized_sep=', ';;
1218     esac
1219     eval with_$ac_useropt=no ;;
1220
1221   --x)
1222     # Obsolete; use --with-x.
1223     with_x=yes ;;
1224
1225   -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
1226   | --x-incl | --x-inc | --x-in | --x-i)
1227     ac_prev=x_includes ;;
1228   -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
1229   | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
1230     x_includes=$ac_optarg ;;
1231
1232   -x-libraries | --x-libraries | --x-librarie | --x-librari \
1233   | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
1234     ac_prev=x_libraries ;;
1235   -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
1236   | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
1237     x_libraries=$ac_optarg ;;
1238
1239   -*) as_fn_error $? "unrecognized option: \`$ac_option'
1240 Try \`$0 --help' for more information"
1241     ;;
1242
1243   *=*)
1244     ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
1245     # Reject names that are not valid shell variable names.
1246     case $ac_envvar in #(
1247       '' | [0-9]* | *[!_$as_cr_alnum]* )
1248       as_fn_error $? "invalid variable name: \`$ac_envvar'" ;;
1249     esac
1250     eval $ac_envvar=\$ac_optarg
1251     export $ac_envvar ;;
1252
1253   *)
1254     # FIXME: should be removed in autoconf 3.0.
1255     $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2
1256     expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
1257       $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2
1258     : "${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}"
1259     ;;
1260
1261   esac
1262 done
1263
1264 if test -n "$ac_prev"; then
1265   ac_option=--`echo $ac_prev | sed 's/_/-/g'`
1266   as_fn_error $? "missing argument to $ac_option"
1267 fi
1268
1269 if test -n "$ac_unrecognized_opts"; then
1270   case $enable_option_checking in
1271     no) ;;
1272     fatal) as_fn_error $? "unrecognized options: $ac_unrecognized_opts" ;;
1273     *)     $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;;
1274   esac
1275 fi
1276
1277 # Check all directory arguments for consistency.
1278 for ac_var in   exec_prefix prefix bindir sbindir libexecdir datarootdir \
1279                 datadir sysconfdir sharedstatedir localstatedir includedir \
1280                 oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
1281                 libdir localedir mandir
1282 do
1283   eval ac_val=\$$ac_var
1284   # Remove trailing slashes.
1285   case $ac_val in
1286     */ )
1287       ac_val=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'`
1288       eval $ac_var=\$ac_val;;
1289   esac
1290   # Be sure to have absolute directory names.
1291   case $ac_val in
1292     [\\/$]* | ?:[\\/]* )  continue;;
1293     NONE | '' ) case $ac_var in *prefix ) continue;; esac;;
1294   esac
1295   as_fn_error $? "expected an absolute directory name for --$ac_var: $ac_val"
1296 done
1297
1298 # There might be people who depend on the old broken behavior: `$host'
1299 # used to hold the argument of --host etc.
1300 # FIXME: To remove some day.
1301 build=$build_alias
1302 host=$host_alias
1303 target=$target_alias
1304
1305 # FIXME: To remove some day.
1306 if test "x$host_alias" != x; then
1307   if test "x$build_alias" = x; then
1308     cross_compiling=maybe
1309   elif test "x$build_alias" != "x$host_alias"; then
1310     cross_compiling=yes
1311   fi
1312 fi
1313
1314 ac_tool_prefix=
1315 test -n "$host_alias" && ac_tool_prefix=$host_alias-
1316
1317 test "$silent" = yes && exec 6>/dev/null
1318
1319
1320 ac_pwd=`pwd` && test -n "$ac_pwd" &&
1321 ac_ls_di=`ls -di .` &&
1322 ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` ||
1323   as_fn_error $? "working directory cannot be determined"
1324 test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
1325   as_fn_error $? "pwd does not report name of working directory"
1326
1327
1328 # Find the source files, if location was not specified.
1329 if test -z "$srcdir"; then
1330   ac_srcdir_defaulted=yes
1331   # Try the directory containing this script, then the parent directory.
1332   ac_confdir=`$as_dirname -- "$as_myself" ||
1333 $as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
1334          X"$as_myself" : 'X\(//\)[^/]' \| \
1335          X"$as_myself" : 'X\(//\)$' \| \
1336          X"$as_myself" : 'X\(/\)' \| . 2>/dev/null ||
1337 $as_echo X"$as_myself" |
1338     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
1339             s//\1/
1340             q
1341           }
1342           /^X\(\/\/\)[^/].*/{
1343             s//\1/
1344             q
1345           }
1346           /^X\(\/\/\)$/{
1347             s//\1/
1348             q
1349           }
1350           /^X\(\/\).*/{
1351             s//\1/
1352             q
1353           }
1354           s/.*/./; q'`
1355   srcdir=$ac_confdir
1356   if test ! -r "$srcdir/$ac_unique_file"; then
1357     srcdir=..
1358   fi
1359 else
1360   ac_srcdir_defaulted=no
1361 fi
1362 if test ! -r "$srcdir/$ac_unique_file"; then
1363   test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .."
1364   as_fn_error $? "cannot find sources ($ac_unique_file) in $srcdir"
1365 fi
1366 ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work"
1367 ac_abs_confdir=`(
1368         cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error $? "$ac_msg"
1369         pwd)`
1370 # When building in place, set srcdir=.
1371 if test "$ac_abs_confdir" = "$ac_pwd"; then
1372   srcdir=.
1373 fi
1374 # Remove unnecessary trailing slashes from srcdir.
1375 # Double slashes in file names in object file debugging info
1376 # mess up M-x gdb in Emacs.
1377 case $srcdir in
1378 */) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
1379 esac
1380 for ac_var in $ac_precious_vars; do
1381   eval ac_env_${ac_var}_set=\${${ac_var}+set}
1382   eval ac_env_${ac_var}_value=\$${ac_var}
1383   eval ac_cv_env_${ac_var}_set=\${${ac_var}+set}
1384   eval ac_cv_env_${ac_var}_value=\$${ac_var}
1385 done
1386
1387 #
1388 # Report the --help message.
1389 #
1390 if test "$ac_init_help" = "long"; then
1391   # Omit some internal or obsolete options to make the list less imposing.
1392   # This message is too long to be a string in the A/UX 3.1 sh.
1393   cat <<_ACEOF
1394 \`configure' configures pygobject 3.7.3 to adapt to many kinds of systems.
1395
1396 Usage: $0 [OPTION]... [VAR=VALUE]...
1397
1398 To assign environment variables (e.g., CC, CFLAGS...), specify them as
1399 VAR=VALUE.  See below for descriptions of some of the useful variables.
1400
1401 Defaults for the options are specified in brackets.
1402
1403 Configuration:
1404   -h, --help              display this help and exit
1405       --help=short        display options specific to this package
1406       --help=recursive    display the short help of all the included packages
1407   -V, --version           display version information and exit
1408   -q, --quiet, --silent   do not print \`checking ...' messages
1409       --cache-file=FILE   cache test results in FILE [disabled]
1410   -C, --config-cache      alias for \`--cache-file=config.cache'
1411   -n, --no-create         do not create output files
1412       --srcdir=DIR        find the sources in DIR [configure dir or \`..']
1413
1414 Installation directories:
1415   --prefix=PREFIX         install architecture-independent files in PREFIX
1416                           [$ac_default_prefix]
1417   --exec-prefix=EPREFIX   install architecture-dependent files in EPREFIX
1418                           [PREFIX]
1419
1420 By default, \`make install' will install all the files in
1421 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc.  You can specify
1422 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
1423 for instance \`--prefix=\$HOME'.
1424
1425 For better control, use the options below.
1426
1427 Fine tuning of the installation directories:
1428   --bindir=DIR            user executables [EPREFIX/bin]
1429   --sbindir=DIR           system admin executables [EPREFIX/sbin]
1430   --libexecdir=DIR        program executables [EPREFIX/libexec]
1431   --sysconfdir=DIR        read-only single-machine data [PREFIX/etc]
1432   --sharedstatedir=DIR    modifiable architecture-independent data [PREFIX/com]
1433   --localstatedir=DIR     modifiable single-machine data [PREFIX/var]
1434   --libdir=DIR            object code libraries [EPREFIX/lib]
1435   --includedir=DIR        C header files [PREFIX/include]
1436   --oldincludedir=DIR     C header files for non-gcc [/usr/include]
1437   --datarootdir=DIR       read-only arch.-independent data root [PREFIX/share]
1438   --datadir=DIR           read-only architecture-independent data [DATAROOTDIR]
1439   --infodir=DIR           info documentation [DATAROOTDIR/info]
1440   --localedir=DIR         locale-dependent data [DATAROOTDIR/locale]
1441   --mandir=DIR            man documentation [DATAROOTDIR/man]
1442   --docdir=DIR            documentation root [DATAROOTDIR/doc/pygobject]
1443   --htmldir=DIR           html documentation [DOCDIR]
1444   --dvidir=DIR            dvi documentation [DOCDIR]
1445   --pdfdir=DIR            pdf documentation [DOCDIR]
1446   --psdir=DIR             ps documentation [DOCDIR]
1447 _ACEOF
1448
1449   cat <<\_ACEOF
1450
1451 Program names:
1452   --program-prefix=PREFIX            prepend PREFIX to installed program names
1453   --program-suffix=SUFFIX            append SUFFIX to installed program names
1454   --program-transform-name=PROGRAM   run sed PROGRAM on installed program names
1455
1456 System types:
1457   --build=BUILD     configure for building on BUILD [guessed]
1458   --host=HOST       cross-compile to build programs to run on HOST [BUILD]
1459 _ACEOF
1460 fi
1461
1462 if test -n "$ac_init_help"; then
1463   case $ac_init_help in
1464      short | recursive ) echo "Configuration of pygobject 3.7.3:";;
1465    esac
1466   cat <<\_ACEOF
1467
1468 Optional Features:
1469   --disable-option-checking  ignore unrecognized --enable/--with options
1470   --disable-FEATURE       do not include FEATURE (same as --enable-FEATURE=no)
1471   --enable-FEATURE[=ARG]  include FEATURE [ARG=yes]
1472   --enable-silent-rules          less verbose build output (undo: `make V=1')
1473   --disable-silent-rules         verbose build output (undo: `make V=0')
1474   --enable-static[=PKGS]  build static libraries [default=no]
1475   --enable-shared[=PKGS]  build shared libraries [default=yes]
1476   --enable-fast-install[=PKGS]
1477                           optimize for fast installation [default=yes]
1478   --disable-dependency-tracking  speeds up one-time build
1479   --enable-dependency-tracking   do not reject slow dependency extractors
1480   --disable-libtool-lock  avoid locking (might break parallel builds)
1481   --disable-thread        Disable pygobject threading support
1482   --disable-glibtest      do not try to compile and run a test GLIB program
1483   --enable-cairo          Enable Cairo bindings using introspection
1484                           information
1485   --enable-code-coverage  Whether to enable code coverage support
1486
1487 Optional Packages:
1488   --with-PACKAGE[=ARG]    use PACKAGE [ARG=yes]
1489   --without-PACKAGE       do not use PACKAGE (same as --with-PACKAGE=no)
1490   --with-pic[=PKGS]       try to use only PIC/non-PIC objects [default=use
1491                           both]
1492   --with-gnu-ld           assume the C compiler uses GNU ld [default=no]
1493   --with-sysroot=DIR Search for dependent libraries within DIR
1494                         (or the compiler's sysroot if not specified).
1495   --with-python=PATH      Path to Python interpreter; searches $PATH if only a
1496                           program name is given; if not given, searches for a
1497                           few standard names such as "python3" or "python2"
1498   --without-ffi           Disable libffi support
1499
1500 Some influential environment variables:
1501   CC          C compiler command
1502   CFLAGS      C compiler flags
1503   LDFLAGS     linker flags, e.g. -L<lib dir> if you have libraries in a
1504               nonstandard directory <lib dir>
1505   LIBS        libraries to pass to the linker, e.g. -l<library>
1506   CPPFLAGS    (Objective) C/C++ preprocessor flags, e.g. -I<include dir> if
1507               you have headers in a nonstandard directory <include dir>
1508   CPP         C preprocessor
1509   PYTHON      the Python interpreter
1510   PKG_CONFIG  path to pkg-config utility
1511   PKG_CONFIG_PATH
1512               directories to add to pkg-config's search path
1513   PKG_CONFIG_LIBDIR
1514               path overriding pkg-config's built-in search path
1515   FFI_CFLAGS  C compiler flags for FFI, overriding pkg-config
1516   FFI_LIBS    linker flags for FFI, overriding pkg-config
1517   GIO_CFLAGS  C compiler flags for GIO, overriding pkg-config
1518   GIO_LIBS    linker flags for GIO, overriding pkg-config
1519   GI_CFLAGS   C compiler flags for GI, overriding pkg-config
1520   GI_LIBS     linker flags for GI, overriding pkg-config
1521   CAIRO_CFLAGS
1522               C compiler flags for CAIRO, overriding pkg-config
1523   CAIRO_LIBS  linker flags for CAIRO, overriding pkg-config
1524   PYCAIRO_CFLAGS
1525               C compiler flags for PYCAIRO, overriding pkg-config
1526   PYCAIRO_LIBS
1527               linker flags for PYCAIRO, overriding pkg-config
1528
1529 Use these variables to override the choices made by `configure' or to help
1530 it to find libraries and programs with nonstandard names/locations.
1531
1532 Report bugs to <http://bugzilla.gnome.org/enter_bug.cgi?product=pygobject>.
1533 pygobject home page: <https://live.gnome.org/PyGObject/>.
1534 _ACEOF
1535 ac_status=$?
1536 fi
1537
1538 if test "$ac_init_help" = "recursive"; then
1539   # If there are subdirs, report their specific --help.
1540   for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
1541     test -d "$ac_dir" ||
1542       { cd "$srcdir" && ac_pwd=`pwd` && srcdir=. && test -d "$ac_dir"; } ||
1543       continue
1544     ac_builddir=.
1545
1546 case "$ac_dir" in
1547 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
1548 *)
1549   ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
1550   # A ".." for each directory in $ac_dir_suffix.
1551   ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
1552   case $ac_top_builddir_sub in
1553   "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
1554   *)  ac_top_build_prefix=$ac_top_builddir_sub/ ;;
1555   esac ;;
1556 esac
1557 ac_abs_top_builddir=$ac_pwd
1558 ac_abs_builddir=$ac_pwd$ac_dir_suffix
1559 # for backward compatibility:
1560 ac_top_builddir=$ac_top_build_prefix
1561
1562 case $srcdir in
1563   .)  # We are building in place.
1564     ac_srcdir=.
1565     ac_top_srcdir=$ac_top_builddir_sub
1566     ac_abs_top_srcdir=$ac_pwd ;;
1567   [\\/]* | ?:[\\/]* )  # Absolute name.
1568     ac_srcdir=$srcdir$ac_dir_suffix;
1569     ac_top_srcdir=$srcdir
1570     ac_abs_top_srcdir=$srcdir ;;
1571   *) # Relative name.
1572     ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
1573     ac_top_srcdir=$ac_top_build_prefix$srcdir
1574     ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
1575 esac
1576 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
1577
1578     cd "$ac_dir" || { ac_status=$?; continue; }
1579     # Check for guested configure.
1580     if test -f "$ac_srcdir/configure.gnu"; then
1581       echo &&
1582       $SHELL "$ac_srcdir/configure.gnu" --help=recursive
1583     elif test -f "$ac_srcdir/configure"; then
1584       echo &&
1585       $SHELL "$ac_srcdir/configure" --help=recursive
1586     else
1587       $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
1588     fi || ac_status=$?
1589     cd "$ac_pwd" || { ac_status=$?; break; }
1590   done
1591 fi
1592
1593 test -n "$ac_init_help" && exit $ac_status
1594 if $ac_init_version; then
1595   cat <<\_ACEOF
1596 pygobject configure 3.7.3
1597 generated by GNU Autoconf 2.69
1598
1599 Copyright (C) 2012 Free Software Foundation, Inc.
1600 This configure script is free software; the Free Software Foundation
1601 gives unlimited permission to copy, distribute and modify it.
1602 _ACEOF
1603   exit
1604 fi
1605
1606 ## ------------------------ ##
1607 ## Autoconf initialization. ##
1608 ## ------------------------ ##
1609
1610 # ac_fn_c_try_compile LINENO
1611 # --------------------------
1612 # Try to compile conftest.$ac_ext, and return whether this succeeded.
1613 ac_fn_c_try_compile ()
1614 {
1615   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1616   rm -f conftest.$ac_objext
1617   if { { ac_try="$ac_compile"
1618 case "(($ac_try" in
1619   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1620   *) ac_try_echo=$ac_try;;
1621 esac
1622 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1623 $as_echo "$ac_try_echo"; } >&5
1624   (eval "$ac_compile") 2>conftest.err
1625   ac_status=$?
1626   if test -s conftest.err; then
1627     grep -v '^ *+' conftest.err >conftest.er1
1628     cat conftest.er1 >&5
1629     mv -f conftest.er1 conftest.err
1630   fi
1631   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1632   test $ac_status = 0; } && {
1633          test -z "$ac_c_werror_flag" ||
1634          test ! -s conftest.err
1635        } && test -s conftest.$ac_objext; then :
1636   ac_retval=0
1637 else
1638   $as_echo "$as_me: failed program was:" >&5
1639 sed 's/^/| /' conftest.$ac_ext >&5
1640
1641         ac_retval=1
1642 fi
1643   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1644   as_fn_set_status $ac_retval
1645
1646 } # ac_fn_c_try_compile
1647
1648 # ac_fn_c_try_link LINENO
1649 # -----------------------
1650 # Try to link conftest.$ac_ext, and return whether this succeeded.
1651 ac_fn_c_try_link ()
1652 {
1653   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1654   rm -f conftest.$ac_objext conftest$ac_exeext
1655   if { { ac_try="$ac_link"
1656 case "(($ac_try" in
1657   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1658   *) ac_try_echo=$ac_try;;
1659 esac
1660 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1661 $as_echo "$ac_try_echo"; } >&5
1662   (eval "$ac_link") 2>conftest.err
1663   ac_status=$?
1664   if test -s conftest.err; then
1665     grep -v '^ *+' conftest.err >conftest.er1
1666     cat conftest.er1 >&5
1667     mv -f conftest.er1 conftest.err
1668   fi
1669   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1670   test $ac_status = 0; } && {
1671          test -z "$ac_c_werror_flag" ||
1672          test ! -s conftest.err
1673        } && test -s conftest$ac_exeext && {
1674          test "$cross_compiling" = yes ||
1675          test -x conftest$ac_exeext
1676        }; then :
1677   ac_retval=0
1678 else
1679   $as_echo "$as_me: failed program was:" >&5
1680 sed 's/^/| /' conftest.$ac_ext >&5
1681
1682         ac_retval=1
1683 fi
1684   # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
1685   # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
1686   # interfere with the next link command; also delete a directory that is
1687   # left behind by Apple's compiler.  We do this before executing the actions.
1688   rm -rf conftest.dSYM conftest_ipa8_conftest.oo
1689   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1690   as_fn_set_status $ac_retval
1691
1692 } # ac_fn_c_try_link
1693
1694 # ac_fn_c_check_header_compile LINENO HEADER VAR INCLUDES
1695 # -------------------------------------------------------
1696 # Tests whether HEADER exists and can be compiled using the include files in
1697 # INCLUDES, setting the cache variable VAR accordingly.
1698 ac_fn_c_check_header_compile ()
1699 {
1700   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1701   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1702 $as_echo_n "checking for $2... " >&6; }
1703 if eval \${$3+:} false; then :
1704   $as_echo_n "(cached) " >&6
1705 else
1706   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1707 /* end confdefs.h.  */
1708 $4
1709 #include <$2>
1710 _ACEOF
1711 if ac_fn_c_try_compile "$LINENO"; then :
1712   eval "$3=yes"
1713 else
1714   eval "$3=no"
1715 fi
1716 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1717 fi
1718 eval ac_res=\$$3
1719                { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1720 $as_echo "$ac_res" >&6; }
1721   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1722
1723 } # ac_fn_c_check_header_compile
1724
1725 # ac_fn_c_try_cpp LINENO
1726 # ----------------------
1727 # Try to preprocess conftest.$ac_ext, and return whether this succeeded.
1728 ac_fn_c_try_cpp ()
1729 {
1730   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1731   if { { ac_try="$ac_cpp conftest.$ac_ext"
1732 case "(($ac_try" in
1733   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1734   *) ac_try_echo=$ac_try;;
1735 esac
1736 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1737 $as_echo "$ac_try_echo"; } >&5
1738   (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err
1739   ac_status=$?
1740   if test -s conftest.err; then
1741     grep -v '^ *+' conftest.err >conftest.er1
1742     cat conftest.er1 >&5
1743     mv -f conftest.er1 conftest.err
1744   fi
1745   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1746   test $ac_status = 0; } > conftest.i && {
1747          test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
1748          test ! -s conftest.err
1749        }; then :
1750   ac_retval=0
1751 else
1752   $as_echo "$as_me: failed program was:" >&5
1753 sed 's/^/| /' conftest.$ac_ext >&5
1754
1755     ac_retval=1
1756 fi
1757   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1758   as_fn_set_status $ac_retval
1759
1760 } # ac_fn_c_try_cpp
1761
1762 # ac_fn_c_try_run LINENO
1763 # ----------------------
1764 # Try to link conftest.$ac_ext, and return whether this succeeded. Assumes
1765 # that executables *can* be run.
1766 ac_fn_c_try_run ()
1767 {
1768   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1769   if { { ac_try="$ac_link"
1770 case "(($ac_try" in
1771   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1772   *) ac_try_echo=$ac_try;;
1773 esac
1774 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1775 $as_echo "$ac_try_echo"; } >&5
1776   (eval "$ac_link") 2>&5
1777   ac_status=$?
1778   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1779   test $ac_status = 0; } && { ac_try='./conftest$ac_exeext'
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_try") 2>&5
1787   ac_status=$?
1788   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1789   test $ac_status = 0; }; }; then :
1790   ac_retval=0
1791 else
1792   $as_echo "$as_me: program exited with status $ac_status" >&5
1793        $as_echo "$as_me: failed program was:" >&5
1794 sed 's/^/| /' conftest.$ac_ext >&5
1795
1796        ac_retval=$ac_status
1797 fi
1798   rm -rf conftest.dSYM conftest_ipa8_conftest.oo
1799   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1800   as_fn_set_status $ac_retval
1801
1802 } # ac_fn_c_try_run
1803
1804 # ac_fn_c_check_func LINENO FUNC VAR
1805 # ----------------------------------
1806 # Tests whether FUNC exists, setting the cache variable VAR accordingly
1807 ac_fn_c_check_func ()
1808 {
1809   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1810   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1811 $as_echo_n "checking for $2... " >&6; }
1812 if eval \${$3+:} false; then :
1813   $as_echo_n "(cached) " >&6
1814 else
1815   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1816 /* end confdefs.h.  */
1817 /* Define $2 to an innocuous variant, in case <limits.h> declares $2.
1818    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
1819 #define $2 innocuous_$2
1820
1821 /* System header to define __stub macros and hopefully few prototypes,
1822     which can conflict with char $2 (); below.
1823     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
1824     <limits.h> exists even on freestanding compilers.  */
1825
1826 #ifdef __STDC__
1827 # include <limits.h>
1828 #else
1829 # include <assert.h>
1830 #endif
1831
1832 #undef $2
1833
1834 /* Override any GCC internal prototype to avoid an error.
1835    Use char because int might match the return type of a GCC
1836    builtin and then its argument prototype would still apply.  */
1837 #ifdef __cplusplus
1838 extern "C"
1839 #endif
1840 char $2 ();
1841 /* The GNU C library defines this for functions which it implements
1842     to always fail with ENOSYS.  Some functions are actually named
1843     something starting with __ and the normal name is an alias.  */
1844 #if defined __stub_$2 || defined __stub___$2
1845 choke me
1846 #endif
1847
1848 int
1849 main ()
1850 {
1851 return $2 ();
1852   ;
1853   return 0;
1854 }
1855 _ACEOF
1856 if ac_fn_c_try_link "$LINENO"; then :
1857   eval "$3=yes"
1858 else
1859   eval "$3=no"
1860 fi
1861 rm -f core conftest.err conftest.$ac_objext \
1862     conftest$ac_exeext conftest.$ac_ext
1863 fi
1864 eval ac_res=\$$3
1865                { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1866 $as_echo "$ac_res" >&6; }
1867   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1868
1869 } # ac_fn_c_check_func
1870 cat >config.log <<_ACEOF
1871 This file contains any messages produced by compilers while
1872 running configure, to aid debugging if configure makes a mistake.
1873
1874 It was created by pygobject $as_me 3.7.3, which was
1875 generated by GNU Autoconf 2.69.  Invocation command line was
1876
1877   $ $0 $@
1878
1879 _ACEOF
1880 exec 5>>config.log
1881 {
1882 cat <<_ASUNAME
1883 ## --------- ##
1884 ## Platform. ##
1885 ## --------- ##
1886
1887 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
1888 uname -m = `(uname -m) 2>/dev/null || echo unknown`
1889 uname -r = `(uname -r) 2>/dev/null || echo unknown`
1890 uname -s = `(uname -s) 2>/dev/null || echo unknown`
1891 uname -v = `(uname -v) 2>/dev/null || echo unknown`
1892
1893 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
1894 /bin/uname -X     = `(/bin/uname -X) 2>/dev/null     || echo unknown`
1895
1896 /bin/arch              = `(/bin/arch) 2>/dev/null              || echo unknown`
1897 /usr/bin/arch -k       = `(/usr/bin/arch -k) 2>/dev/null       || echo unknown`
1898 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
1899 /usr/bin/hostinfo      = `(/usr/bin/hostinfo) 2>/dev/null      || echo unknown`
1900 /bin/machine           = `(/bin/machine) 2>/dev/null           || echo unknown`
1901 /usr/bin/oslevel       = `(/usr/bin/oslevel) 2>/dev/null       || echo unknown`
1902 /bin/universe          = `(/bin/universe) 2>/dev/null          || echo unknown`
1903
1904 _ASUNAME
1905
1906 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1907 for as_dir in $PATH
1908 do
1909   IFS=$as_save_IFS
1910   test -z "$as_dir" && as_dir=.
1911     $as_echo "PATH: $as_dir"
1912   done
1913 IFS=$as_save_IFS
1914
1915 } >&5
1916
1917 cat >&5 <<_ACEOF
1918
1919
1920 ## ----------- ##
1921 ## Core tests. ##
1922 ## ----------- ##
1923
1924 _ACEOF
1925
1926
1927 # Keep a trace of the command line.
1928 # Strip out --no-create and --no-recursion so they do not pile up.
1929 # Strip out --silent because we don't want to record it for future runs.
1930 # Also quote any args containing shell meta-characters.
1931 # Make two passes to allow for proper duplicate-argument suppression.
1932 ac_configure_args=
1933 ac_configure_args0=
1934 ac_configure_args1=
1935 ac_must_keep_next=false
1936 for ac_pass in 1 2
1937 do
1938   for ac_arg
1939   do
1940     case $ac_arg in
1941     -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
1942     -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1943     | -silent | --silent | --silen | --sile | --sil)
1944       continue ;;
1945     *\'*)
1946       ac_arg=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
1947     esac
1948     case $ac_pass in
1949     1) as_fn_append ac_configure_args0 " '$ac_arg'" ;;
1950     2)
1951       as_fn_append ac_configure_args1 " '$ac_arg'"
1952       if test $ac_must_keep_next = true; then
1953         ac_must_keep_next=false # Got value, back to normal.
1954       else
1955         case $ac_arg in
1956           *=* | --config-cache | -C | -disable-* | --disable-* \
1957           | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
1958           | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
1959           | -with-* | --with-* | -without-* | --without-* | --x)
1960             case "$ac_configure_args0 " in
1961               "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
1962             esac
1963             ;;
1964           -* ) ac_must_keep_next=true ;;
1965         esac
1966       fi
1967       as_fn_append ac_configure_args " '$ac_arg'"
1968       ;;
1969     esac
1970   done
1971 done
1972 { ac_configure_args0=; unset ac_configure_args0;}
1973 { ac_configure_args1=; unset ac_configure_args1;}
1974
1975 # When interrupted or exit'd, cleanup temporary files, and complete
1976 # config.log.  We remove comments because anyway the quotes in there
1977 # would cause problems or look ugly.
1978 # WARNING: Use '\'' to represent an apostrophe within the trap.
1979 # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
1980 trap 'exit_status=$?
1981   # Save into config.log some information that might help in debugging.
1982   {
1983     echo
1984
1985     $as_echo "## ---------------- ##
1986 ## Cache variables. ##
1987 ## ---------------- ##"
1988     echo
1989     # The following way of writing the cache mishandles newlines in values,
1990 (
1991   for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
1992     eval ac_val=\$$ac_var
1993     case $ac_val in #(
1994     *${as_nl}*)
1995       case $ac_var in #(
1996       *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
1997 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
1998       esac
1999       case $ac_var in #(
2000       _ | IFS | as_nl) ;; #(
2001       BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
2002       *) { eval $ac_var=; unset $ac_var;} ;;
2003       esac ;;
2004     esac
2005   done
2006   (set) 2>&1 |
2007     case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
2008     *${as_nl}ac_space=\ *)
2009       sed -n \
2010         "s/'\''/'\''\\\\'\'''\''/g;
2011           s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
2012       ;; #(
2013     *)
2014       sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
2015       ;;
2016     esac |
2017     sort
2018 )
2019     echo
2020
2021     $as_echo "## ----------------- ##
2022 ## Output variables. ##
2023 ## ----------------- ##"
2024     echo
2025     for ac_var in $ac_subst_vars
2026     do
2027       eval ac_val=\$$ac_var
2028       case $ac_val in
2029       *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
2030       esac
2031       $as_echo "$ac_var='\''$ac_val'\''"
2032     done | sort
2033     echo
2034
2035     if test -n "$ac_subst_files"; then
2036       $as_echo "## ------------------- ##
2037 ## File substitutions. ##
2038 ## ------------------- ##"
2039       echo
2040       for ac_var in $ac_subst_files
2041       do
2042         eval ac_val=\$$ac_var
2043         case $ac_val in
2044         *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
2045         esac
2046         $as_echo "$ac_var='\''$ac_val'\''"
2047       done | sort
2048       echo
2049     fi
2050
2051     if test -s confdefs.h; then
2052       $as_echo "## ----------- ##
2053 ## confdefs.h. ##
2054 ## ----------- ##"
2055       echo
2056       cat confdefs.h
2057       echo
2058     fi
2059     test "$ac_signal" != 0 &&
2060       $as_echo "$as_me: caught signal $ac_signal"
2061     $as_echo "$as_me: exit $exit_status"
2062   } >&5
2063   rm -f core *.core core.conftest.* &&
2064     rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
2065     exit $exit_status
2066 ' 0
2067 for ac_signal in 1 2 13 15; do
2068   trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal
2069 done
2070 ac_signal=0
2071
2072 # confdefs.h avoids OS command line length limits that DEFS can exceed.
2073 rm -f -r conftest* confdefs.h
2074
2075 $as_echo "/* confdefs.h */" > confdefs.h
2076
2077 # Predefined preprocessor variables.
2078
2079 cat >>confdefs.h <<_ACEOF
2080 #define PACKAGE_NAME "$PACKAGE_NAME"
2081 _ACEOF
2082
2083 cat >>confdefs.h <<_ACEOF
2084 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
2085 _ACEOF
2086
2087 cat >>confdefs.h <<_ACEOF
2088 #define PACKAGE_VERSION "$PACKAGE_VERSION"
2089 _ACEOF
2090
2091 cat >>confdefs.h <<_ACEOF
2092 #define PACKAGE_STRING "$PACKAGE_STRING"
2093 _ACEOF
2094
2095 cat >>confdefs.h <<_ACEOF
2096 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
2097 _ACEOF
2098
2099 cat >>confdefs.h <<_ACEOF
2100 #define PACKAGE_URL "$PACKAGE_URL"
2101 _ACEOF
2102
2103
2104 # Let the site file select an alternate cache file if it wants to.
2105 # Prefer an explicitly selected file to automatically selected ones.
2106 ac_site_file1=NONE
2107 ac_site_file2=NONE
2108 if test -n "$CONFIG_SITE"; then
2109   # We do not want a PATH search for config.site.
2110   case $CONFIG_SITE in #((
2111     -*)  ac_site_file1=./$CONFIG_SITE;;
2112     */*) ac_site_file1=$CONFIG_SITE;;
2113     *)   ac_site_file1=./$CONFIG_SITE;;
2114   esac
2115 elif test "x$prefix" != xNONE; then
2116   ac_site_file1=$prefix/share/config.site
2117   ac_site_file2=$prefix/etc/config.site
2118 else
2119   ac_site_file1=$ac_default_prefix/share/config.site
2120   ac_site_file2=$ac_default_prefix/etc/config.site
2121 fi
2122 for ac_site_file in "$ac_site_file1" "$ac_site_file2"
2123 do
2124   test "x$ac_site_file" = xNONE && continue
2125   if test /dev/null != "$ac_site_file" && test -r "$ac_site_file"; then
2126     { $as_echo "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5
2127 $as_echo "$as_me: loading site script $ac_site_file" >&6;}
2128     sed 's/^/| /' "$ac_site_file" >&5
2129     . "$ac_site_file" \
2130       || { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2131 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2132 as_fn_error $? "failed to load site script $ac_site_file
2133 See \`config.log' for more details" "$LINENO" 5; }
2134   fi
2135 done
2136
2137 if test -r "$cache_file"; then
2138   # Some versions of bash will fail to source /dev/null (special files
2139   # actually), so we avoid doing that.  DJGPP emulates it as a regular file.
2140   if test /dev/null != "$cache_file" && test -f "$cache_file"; then
2141     { $as_echo "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5
2142 $as_echo "$as_me: loading cache $cache_file" >&6;}
2143     case $cache_file in
2144       [\\/]* | ?:[\\/]* ) . "$cache_file";;
2145       *)                      . "./$cache_file";;
2146     esac
2147   fi
2148 else
2149   { $as_echo "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5
2150 $as_echo "$as_me: creating cache $cache_file" >&6;}
2151   >$cache_file
2152 fi
2153
2154 # Check that the precious variables saved in the cache have kept the same
2155 # value.
2156 ac_cache_corrupted=false
2157 for ac_var in $ac_precious_vars; do
2158   eval ac_old_set=\$ac_cv_env_${ac_var}_set
2159   eval ac_new_set=\$ac_env_${ac_var}_set
2160   eval ac_old_val=\$ac_cv_env_${ac_var}_value
2161   eval ac_new_val=\$ac_env_${ac_var}_value
2162   case $ac_old_set,$ac_new_set in
2163     set,)
2164       { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
2165 $as_echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
2166       ac_cache_corrupted=: ;;
2167     ,set)
2168       { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not set in the previous run" >&5
2169 $as_echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
2170       ac_cache_corrupted=: ;;
2171     ,);;
2172     *)
2173       if test "x$ac_old_val" != "x$ac_new_val"; then
2174         # differences in whitespace do not lead to failure.
2175         ac_old_val_w=`echo x $ac_old_val`
2176         ac_new_val_w=`echo x $ac_new_val`
2177         if test "$ac_old_val_w" != "$ac_new_val_w"; then
2178           { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&5
2179 $as_echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
2180           ac_cache_corrupted=:
2181         else
2182           { $as_echo "$as_me:${as_lineno-$LINENO}: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5
2183 $as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;}
2184           eval $ac_var=\$ac_old_val
2185         fi
2186         { $as_echo "$as_me:${as_lineno-$LINENO}:   former value:  \`$ac_old_val'" >&5
2187 $as_echo "$as_me:   former value:  \`$ac_old_val'" >&2;}
2188         { $as_echo "$as_me:${as_lineno-$LINENO}:   current value: \`$ac_new_val'" >&5
2189 $as_echo "$as_me:   current value: \`$ac_new_val'" >&2;}
2190       fi;;
2191   esac
2192   # Pass precious variables to config.status.
2193   if test "$ac_new_set" = set; then
2194     case $ac_new_val in
2195     *\'*) ac_arg=$ac_var=`$as_echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
2196     *) ac_arg=$ac_var=$ac_new_val ;;
2197     esac
2198     case " $ac_configure_args " in
2199       *" '$ac_arg' "*) ;; # Avoid dups.  Use of quotes ensures accuracy.
2200       *) as_fn_append ac_configure_args " '$ac_arg'" ;;
2201     esac
2202   fi
2203 done
2204 if $ac_cache_corrupted; then
2205   { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2206 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2207   { $as_echo "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5
2208 $as_echo "$as_me: error: changes in the environment can compromise the build" >&2;}
2209   as_fn_error $? "run \`make distclean' and/or \`rm $cache_file' and start over" "$LINENO" 5
2210 fi
2211 ## -------------------- ##
2212 ## Main body of script. ##
2213 ## -------------------- ##
2214
2215 ac_ext=c
2216 ac_cpp='$CPP $CPPFLAGS'
2217 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2218 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2219 ac_compiler_gnu=$ac_cv_c_compiler_gnu
2220
2221
2222 ACLOCAL_AMFLAGS="-I m4 -I ."
2223
2224
2225
2226
2227
2228 $as_echo "#define PYGOBJECT_MAJOR_VERSION 3" >>confdefs.h
2229
2230 PYGOBJECT_MAJOR_VERSION=3
2231
2232
2233 $as_echo "#define PYGOBJECT_MINOR_VERSION 7" >>confdefs.h
2234
2235 PYGOBJECT_MINOR_VERSION=7
2236
2237
2238 $as_echo "#define PYGOBJECT_MICRO_VERSION 3" >>confdefs.h
2239
2240 PYGOBJECT_MICRO_VERSION=3
2241
2242
2243 ac_config_headers="$ac_config_headers config.h"
2244
2245 # Check whether --enable-silent-rules was given.
2246 if test "${enable_silent_rules+set}" = set; then :
2247   enableval=$enable_silent_rules;
2248 fi
2249
2250 case $enable_silent_rules in
2251 yes) AM_DEFAULT_VERBOSITY=0;;
2252 no)  AM_DEFAULT_VERBOSITY=1;;
2253 *)   AM_DEFAULT_VERBOSITY=0;;
2254 esac
2255 am_make=${MAKE-make}
2256 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $am_make supports nested variables" >&5
2257 $as_echo_n "checking whether $am_make supports nested variables... " >&6; }
2258 if ${am_cv_make_support_nested_variables+:} false; then :
2259   $as_echo_n "(cached) " >&6
2260 else
2261   if $as_echo 'TRUE=$(BAR$(V))
2262 BAR0=false
2263 BAR1=true
2264 V=1
2265 am__doit:
2266         @$(TRUE)
2267 .PHONY: am__doit' | $am_make -f - >/dev/null 2>&1; then
2268   am_cv_make_support_nested_variables=yes
2269 else
2270   am_cv_make_support_nested_variables=no
2271 fi
2272 fi
2273 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_make_support_nested_variables" >&5
2274 $as_echo "$am_cv_make_support_nested_variables" >&6; }
2275 if test $am_cv_make_support_nested_variables = yes; then
2276     AM_V='$(V)'
2277   AM_DEFAULT_V='$(AM_DEFAULT_VERBOSITY)'
2278 else
2279   AM_V=$AM_DEFAULT_VERBOSITY
2280   AM_DEFAULT_V=$AM_DEFAULT_VERBOSITY
2281 fi
2282 AM_BACKSLASH='\'
2283
2284 am__api_version='1.11'
2285
2286 ac_aux_dir=
2287 for ac_dir in "$srcdir" "$srcdir/.." "$srcdir/../.."; do
2288   if test -f "$ac_dir/install-sh"; then
2289     ac_aux_dir=$ac_dir
2290     ac_install_sh="$ac_aux_dir/install-sh -c"
2291     break
2292   elif test -f "$ac_dir/install.sh"; then
2293     ac_aux_dir=$ac_dir
2294     ac_install_sh="$ac_aux_dir/install.sh -c"
2295     break
2296   elif test -f "$ac_dir/shtool"; then
2297     ac_aux_dir=$ac_dir
2298     ac_install_sh="$ac_aux_dir/shtool install -c"
2299     break
2300   fi
2301 done
2302 if test -z "$ac_aux_dir"; then
2303   as_fn_error $? "cannot find install-sh, install.sh, or shtool in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" "$LINENO" 5
2304 fi
2305
2306 # These three variables are undocumented and unsupported,
2307 # and are intended to be withdrawn in a future Autoconf release.
2308 # They can cause serious problems if a builder's source tree is in a directory
2309 # whose full name contains unusual characters.
2310 ac_config_guess="$SHELL $ac_aux_dir/config.guess"  # Please don't use this var.
2311 ac_config_sub="$SHELL $ac_aux_dir/config.sub"  # Please don't use this var.
2312 ac_configure="$SHELL $ac_aux_dir/configure"  # Please don't use this var.
2313
2314
2315 # Find a good install program.  We prefer a C program (faster),
2316 # so one script is as good as another.  But avoid the broken or
2317 # incompatible versions:
2318 # SysV /etc/install, /usr/sbin/install
2319 # SunOS /usr/etc/install
2320 # IRIX /sbin/install
2321 # AIX /bin/install
2322 # AmigaOS /C/install, which installs bootblocks on floppy discs
2323 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
2324 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
2325 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
2326 # OS/2's system install, which has a completely different semantic
2327 # ./install, which can be erroneously created by make from ./install.sh.
2328 # Reject install programs that cannot install multiple files.
2329 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a BSD-compatible install" >&5
2330 $as_echo_n "checking for a BSD-compatible install... " >&6; }
2331 if test -z "$INSTALL"; then
2332 if ${ac_cv_path_install+:} false; then :
2333   $as_echo_n "(cached) " >&6
2334 else
2335   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2336 for as_dir in $PATH
2337 do
2338   IFS=$as_save_IFS
2339   test -z "$as_dir" && as_dir=.
2340     # Account for people who put trailing slashes in PATH elements.
2341 case $as_dir/ in #((
2342   ./ | .// | /[cC]/* | \
2343   /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
2344   ?:[\\/]os2[\\/]install[\\/]* | ?:[\\/]OS2[\\/]INSTALL[\\/]* | \
2345   /usr/ucb/* ) ;;
2346   *)
2347     # OSF1 and SCO ODT 3.0 have their own names for install.
2348     # Don't use installbsd from OSF since it installs stuff as root
2349     # by default.
2350     for ac_prog in ginstall scoinst install; do
2351       for ac_exec_ext in '' $ac_executable_extensions; do
2352         if as_fn_executable_p "$as_dir/$ac_prog$ac_exec_ext"; then
2353           if test $ac_prog = install &&
2354             grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
2355             # AIX install.  It has an incompatible calling convention.
2356             :
2357           elif test $ac_prog = install &&
2358             grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
2359             # program-specific install script used by HP pwplus--don't use.
2360             :
2361           else
2362             rm -rf conftest.one conftest.two conftest.dir
2363             echo one > conftest.one
2364             echo two > conftest.two
2365             mkdir conftest.dir
2366             if "$as_dir/$ac_prog$ac_exec_ext" -c conftest.one conftest.two "`pwd`/conftest.dir" &&
2367               test -s conftest.one && test -s conftest.two &&
2368               test -s conftest.dir/conftest.one &&
2369               test -s conftest.dir/conftest.two
2370             then
2371               ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
2372               break 3
2373             fi
2374           fi
2375         fi
2376       done
2377     done
2378     ;;
2379 esac
2380
2381   done
2382 IFS=$as_save_IFS
2383
2384 rm -rf conftest.one conftest.two conftest.dir
2385
2386 fi
2387   if test "${ac_cv_path_install+set}" = set; then
2388     INSTALL=$ac_cv_path_install
2389   else
2390     # As a last resort, use the slow shell script.  Don't cache a
2391     # value for INSTALL within a source directory, because that will
2392     # break other packages using the cache if that directory is
2393     # removed, or if the value is a relative name.
2394     INSTALL=$ac_install_sh
2395   fi
2396 fi
2397 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $INSTALL" >&5
2398 $as_echo "$INSTALL" >&6; }
2399
2400 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
2401 # It thinks the first close brace ends the variable substitution.
2402 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
2403
2404 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
2405
2406 test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
2407
2408 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether build environment is sane" >&5
2409 $as_echo_n "checking whether build environment is sane... " >&6; }
2410 # Just in case
2411 sleep 1
2412 echo timestamp > conftest.file
2413 # Reject unsafe characters in $srcdir or the absolute working directory
2414 # name.  Accept space and tab only in the latter.
2415 am_lf='
2416 '
2417 case `pwd` in
2418   *[\\\"\#\$\&\'\`$am_lf]*)
2419     as_fn_error $? "unsafe absolute working directory name" "$LINENO" 5;;
2420 esac
2421 case $srcdir in
2422   *[\\\"\#\$\&\'\`$am_lf\ \     ]*)
2423     as_fn_error $? "unsafe srcdir value: \`$srcdir'" "$LINENO" 5;;
2424 esac
2425
2426 # Do `set' in a subshell so we don't clobber the current shell's
2427 # arguments.  Must try -L first in case configure is actually a
2428 # symlink; some systems play weird games with the mod time of symlinks
2429 # (eg FreeBSD returns the mod time of the symlink's containing
2430 # directory).
2431 if (
2432    set X `ls -Lt "$srcdir/configure" conftest.file 2> /dev/null`
2433    if test "$*" = "X"; then
2434       # -L didn't work.
2435       set X `ls -t "$srcdir/configure" conftest.file`
2436    fi
2437    rm -f conftest.file
2438    if test "$*" != "X $srcdir/configure conftest.file" \
2439       && test "$*" != "X conftest.file $srcdir/configure"; then
2440
2441       # If neither matched, then we have a broken ls.  This can happen
2442       # if, for instance, CONFIG_SHELL is bash and it inherits a
2443       # broken ls alias from the environment.  This has actually
2444       # happened.  Such a system could not be considered "sane".
2445       as_fn_error $? "ls -t appears to fail.  Make sure there is not a broken
2446 alias in your environment" "$LINENO" 5
2447    fi
2448
2449    test "$2" = conftest.file
2450    )
2451 then
2452    # Ok.
2453    :
2454 else
2455    as_fn_error $? "newly created file is older than distributed files!
2456 Check your system clock" "$LINENO" 5
2457 fi
2458 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
2459 $as_echo "yes" >&6; }
2460 test "$program_prefix" != NONE &&
2461   program_transform_name="s&^&$program_prefix&;$program_transform_name"
2462 # Use a double $ so make ignores it.
2463 test "$program_suffix" != NONE &&
2464   program_transform_name="s&\$&$program_suffix&;$program_transform_name"
2465 # Double any \ or $.
2466 # By default was `s,x,x', remove it if useless.
2467 ac_script='s/[\\$]/&&/g;s/;s,x,x,$//'
2468 program_transform_name=`$as_echo "$program_transform_name" | sed "$ac_script"`
2469
2470 # expand $ac_aux_dir to an absolute path
2471 am_aux_dir=`cd $ac_aux_dir && pwd`
2472
2473 if test x"${MISSING+set}" != xset; then
2474   case $am_aux_dir in
2475   *\ * | *\     *)
2476     MISSING="\${SHELL} \"$am_aux_dir/missing\"" ;;
2477   *)
2478     MISSING="\${SHELL} $am_aux_dir/missing" ;;
2479   esac
2480 fi
2481 # Use eval to expand $SHELL
2482 if eval "$MISSING --run true"; then
2483   am_missing_run="$MISSING --run "
2484 else
2485   am_missing_run=
2486   { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \`missing' script is too old or missing" >&5
2487 $as_echo "$as_me: WARNING: \`missing' script is too old or missing" >&2;}
2488 fi
2489
2490 if test x"${install_sh}" != xset; then
2491   case $am_aux_dir in
2492   *\ * | *\     *)
2493     install_sh="\${SHELL} '$am_aux_dir/install-sh'" ;;
2494   *)
2495     install_sh="\${SHELL} $am_aux_dir/install-sh"
2496   esac
2497 fi
2498
2499 # Installed binaries are usually stripped using `strip' when the user
2500 # run `make install-strip'.  However `strip' might not be the right
2501 # tool to use in cross-compilation environments, therefore Automake
2502 # will honor the `STRIP' environment variable to overrule this program.
2503 if test "$cross_compiling" != no; then
2504   if test -n "$ac_tool_prefix"; then
2505   # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
2506 set dummy ${ac_tool_prefix}strip; ac_word=$2
2507 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2508 $as_echo_n "checking for $ac_word... " >&6; }
2509 if ${ac_cv_prog_STRIP+:} false; then :
2510   $as_echo_n "(cached) " >&6
2511 else
2512   if test -n "$STRIP"; then
2513   ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
2514 else
2515 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2516 for as_dir in $PATH
2517 do
2518   IFS=$as_save_IFS
2519   test -z "$as_dir" && as_dir=.
2520     for ac_exec_ext in '' $ac_executable_extensions; do
2521   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2522     ac_cv_prog_STRIP="${ac_tool_prefix}strip"
2523     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2524     break 2
2525   fi
2526 done
2527   done
2528 IFS=$as_save_IFS
2529
2530 fi
2531 fi
2532 STRIP=$ac_cv_prog_STRIP
2533 if test -n "$STRIP"; then
2534   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
2535 $as_echo "$STRIP" >&6; }
2536 else
2537   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2538 $as_echo "no" >&6; }
2539 fi
2540
2541
2542 fi
2543 if test -z "$ac_cv_prog_STRIP"; then
2544   ac_ct_STRIP=$STRIP
2545   # Extract the first word of "strip", so it can be a program name with args.
2546 set dummy strip; ac_word=$2
2547 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2548 $as_echo_n "checking for $ac_word... " >&6; }
2549 if ${ac_cv_prog_ac_ct_STRIP+:} false; then :
2550   $as_echo_n "(cached) " >&6
2551 else
2552   if test -n "$ac_ct_STRIP"; then
2553   ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
2554 else
2555 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2556 for as_dir in $PATH
2557 do
2558   IFS=$as_save_IFS
2559   test -z "$as_dir" && as_dir=.
2560     for ac_exec_ext in '' $ac_executable_extensions; do
2561   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2562     ac_cv_prog_ac_ct_STRIP="strip"
2563     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2564     break 2
2565   fi
2566 done
2567   done
2568 IFS=$as_save_IFS
2569
2570 fi
2571 fi
2572 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
2573 if test -n "$ac_ct_STRIP"; then
2574   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
2575 $as_echo "$ac_ct_STRIP" >&6; }
2576 else
2577   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2578 $as_echo "no" >&6; }
2579 fi
2580
2581   if test "x$ac_ct_STRIP" = x; then
2582     STRIP=":"
2583   else
2584     case $cross_compiling:$ac_tool_warned in
2585 yes:)
2586 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
2587 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
2588 ac_tool_warned=yes ;;
2589 esac
2590     STRIP=$ac_ct_STRIP
2591   fi
2592 else
2593   STRIP="$ac_cv_prog_STRIP"
2594 fi
2595
2596 fi
2597 INSTALL_STRIP_PROGRAM="\$(install_sh) -c -s"
2598
2599 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a thread-safe mkdir -p" >&5
2600 $as_echo_n "checking for a thread-safe mkdir -p... " >&6; }
2601 if test -z "$MKDIR_P"; then
2602   if ${ac_cv_path_mkdir+:} false; then :
2603   $as_echo_n "(cached) " >&6
2604 else
2605   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2606 for as_dir in $PATH$PATH_SEPARATOR/opt/sfw/bin
2607 do
2608   IFS=$as_save_IFS
2609   test -z "$as_dir" && as_dir=.
2610     for ac_prog in mkdir gmkdir; do
2611          for ac_exec_ext in '' $ac_executable_extensions; do
2612            as_fn_executable_p "$as_dir/$ac_prog$ac_exec_ext" || continue
2613            case `"$as_dir/$ac_prog$ac_exec_ext" --version 2>&1` in #(
2614              'mkdir (GNU coreutils) '* | \
2615              'mkdir (coreutils) '* | \
2616              'mkdir (fileutils) '4.1*)
2617                ac_cv_path_mkdir=$as_dir/$ac_prog$ac_exec_ext
2618                break 3;;
2619            esac
2620          done
2621        done
2622   done
2623 IFS=$as_save_IFS
2624
2625 fi
2626
2627   test -d ./--version && rmdir ./--version
2628   if test "${ac_cv_path_mkdir+set}" = set; then
2629     MKDIR_P="$ac_cv_path_mkdir -p"
2630   else
2631     # As a last resort, use the slow shell script.  Don't cache a
2632     # value for MKDIR_P within a source directory, because that will
2633     # break other packages using the cache if that directory is
2634     # removed, or if the value is a relative name.
2635     MKDIR_P="$ac_install_sh -d"
2636   fi
2637 fi
2638 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MKDIR_P" >&5
2639 $as_echo "$MKDIR_P" >&6; }
2640
2641 mkdir_p="$MKDIR_P"
2642 case $mkdir_p in
2643   [\\/$]* | ?:[\\/]*) ;;
2644   */*) mkdir_p="\$(top_builddir)/$mkdir_p" ;;
2645 esac
2646
2647 for ac_prog in gawk mawk nawk awk
2648 do
2649   # Extract the first word of "$ac_prog", so it can be a program name with args.
2650 set dummy $ac_prog; ac_word=$2
2651 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2652 $as_echo_n "checking for $ac_word... " >&6; }
2653 if ${ac_cv_prog_AWK+:} false; then :
2654   $as_echo_n "(cached) " >&6
2655 else
2656   if test -n "$AWK"; then
2657   ac_cv_prog_AWK="$AWK" # Let the user override the test.
2658 else
2659 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2660 for as_dir in $PATH
2661 do
2662   IFS=$as_save_IFS
2663   test -z "$as_dir" && as_dir=.
2664     for ac_exec_ext in '' $ac_executable_extensions; do
2665   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2666     ac_cv_prog_AWK="$ac_prog"
2667     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2668     break 2
2669   fi
2670 done
2671   done
2672 IFS=$as_save_IFS
2673
2674 fi
2675 fi
2676 AWK=$ac_cv_prog_AWK
2677 if test -n "$AWK"; then
2678   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AWK" >&5
2679 $as_echo "$AWK" >&6; }
2680 else
2681   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2682 $as_echo "no" >&6; }
2683 fi
2684
2685
2686   test -n "$AWK" && break
2687 done
2688
2689 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5
2690 $as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; }
2691 set x ${MAKE-make}
2692 ac_make=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
2693 if eval \${ac_cv_prog_make_${ac_make}_set+:} false; then :
2694   $as_echo_n "(cached) " >&6
2695 else
2696   cat >conftest.make <<\_ACEOF
2697 SHELL = /bin/sh
2698 all:
2699         @echo '@@@%%%=$(MAKE)=@@@%%%'
2700 _ACEOF
2701 # GNU make sometimes prints "make[1]: Entering ...", which would confuse us.
2702 case `${MAKE-make} -f conftest.make 2>/dev/null` in
2703   *@@@%%%=?*=@@@%%%*)
2704     eval ac_cv_prog_make_${ac_make}_set=yes;;
2705   *)
2706     eval ac_cv_prog_make_${ac_make}_set=no;;
2707 esac
2708 rm -f conftest.make
2709 fi
2710 if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then
2711   { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
2712 $as_echo "yes" >&6; }
2713   SET_MAKE=
2714 else
2715   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2716 $as_echo "no" >&6; }
2717   SET_MAKE="MAKE=${MAKE-make}"
2718 fi
2719
2720 rm -rf .tst 2>/dev/null
2721 mkdir .tst 2>/dev/null
2722 if test -d .tst; then
2723   am__leading_dot=.
2724 else
2725   am__leading_dot=_
2726 fi
2727 rmdir .tst 2>/dev/null
2728
2729 if test "`cd $srcdir && pwd`" != "`pwd`"; then
2730   # Use -I$(srcdir) only when $(srcdir) != ., so that make's output
2731   # is not polluted with repeated "-I."
2732   am__isrc=' -I$(srcdir)'
2733   # test to see if srcdir already configured
2734   if test -f $srcdir/config.status; then
2735     as_fn_error $? "source directory already configured; run \"make distclean\" there first" "$LINENO" 5
2736   fi
2737 fi
2738
2739 # test whether we have cygpath
2740 if test -z "$CYGPATH_W"; then
2741   if (cygpath --version) >/dev/null 2>/dev/null; then
2742     CYGPATH_W='cygpath -w'
2743   else
2744     CYGPATH_W=echo
2745   fi
2746 fi
2747
2748
2749 # Define the identity of the package.
2750  PACKAGE='pygobject'
2751  VERSION='3.7.3'
2752
2753
2754 cat >>confdefs.h <<_ACEOF
2755 #define PACKAGE "$PACKAGE"
2756 _ACEOF
2757
2758
2759 cat >>confdefs.h <<_ACEOF
2760 #define VERSION "$VERSION"
2761 _ACEOF
2762
2763 # Some tools Automake needs.
2764
2765 ACLOCAL=${ACLOCAL-"${am_missing_run}aclocal-${am__api_version}"}
2766
2767
2768 AUTOCONF=${AUTOCONF-"${am_missing_run}autoconf"}
2769
2770
2771 AUTOMAKE=${AUTOMAKE-"${am_missing_run}automake-${am__api_version}"}
2772
2773
2774 AUTOHEADER=${AUTOHEADER-"${am_missing_run}autoheader"}
2775
2776
2777 MAKEINFO=${MAKEINFO-"${am_missing_run}makeinfo"}
2778
2779 # We need awk for the "check" target.  The system "awk" is bad on
2780 # some platforms.
2781 # Always define AMTAR for backward compatibility.  Yes, it's still used
2782 # in the wild :-(  We should find a proper way to deprecate it ...
2783 AMTAR='$${TAR-tar}'
2784
2785 am__tar='$${TAR-tar} chof - "$$tardir"' am__untar='$${TAR-tar} xf -'
2786
2787
2788
2789
2790
2791
2792 ACLOCAL="$ACLOCAL $ACLOCAL_FLAGS"
2793
2794 # Make sure we can run config.sub.
2795 $SHELL "$ac_aux_dir/config.sub" sun4 >/dev/null 2>&1 ||
2796   as_fn_error $? "cannot run $SHELL $ac_aux_dir/config.sub" "$LINENO" 5
2797
2798 { $as_echo "$as_me:${as_lineno-$LINENO}: checking build system type" >&5
2799 $as_echo_n "checking build system type... " >&6; }
2800 if ${ac_cv_build+:} false; then :
2801   $as_echo_n "(cached) " >&6
2802 else
2803   ac_build_alias=$build_alias
2804 test "x$ac_build_alias" = x &&
2805   ac_build_alias=`$SHELL "$ac_aux_dir/config.guess"`
2806 test "x$ac_build_alias" = x &&
2807   as_fn_error $? "cannot guess build type; you must specify one" "$LINENO" 5
2808 ac_cv_build=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
2809   as_fn_error $? "$SHELL $ac_aux_dir/config.sub $ac_build_alias failed" "$LINENO" 5
2810
2811 fi
2812 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_build" >&5
2813 $as_echo "$ac_cv_build" >&6; }
2814 case $ac_cv_build in
2815 *-*-*) ;;
2816 *) as_fn_error $? "invalid value of canonical build" "$LINENO" 5;;
2817 esac
2818 build=$ac_cv_build
2819 ac_save_IFS=$IFS; IFS='-'
2820 set x $ac_cv_build
2821 shift
2822 build_cpu=$1
2823 build_vendor=$2
2824 shift; shift
2825 # Remember, the first character of IFS is used to create $*,
2826 # except with old shells:
2827 build_os=$*
2828 IFS=$ac_save_IFS
2829 case $build_os in *\ *) build_os=`echo "$build_os" | sed 's/ /-/g'`;; esac
2830
2831
2832 { $as_echo "$as_me:${as_lineno-$LINENO}: checking host system type" >&5
2833 $as_echo_n "checking host system type... " >&6; }
2834 if ${ac_cv_host+:} false; then :
2835   $as_echo_n "(cached) " >&6
2836 else
2837   if test "x$host_alias" = x; then
2838   ac_cv_host=$ac_cv_build
2839 else
2840   ac_cv_host=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
2841     as_fn_error $? "$SHELL $ac_aux_dir/config.sub $host_alias failed" "$LINENO" 5
2842 fi
2843
2844 fi
2845 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_host" >&5
2846 $as_echo "$ac_cv_host" >&6; }
2847 case $ac_cv_host in
2848 *-*-*) ;;
2849 *) as_fn_error $? "invalid value of canonical host" "$LINENO" 5;;
2850 esac
2851 host=$ac_cv_host
2852 ac_save_IFS=$IFS; IFS='-'
2853 set x $ac_cv_host
2854 shift
2855 host_cpu=$1
2856 host_vendor=$2
2857 shift; shift
2858 # Remember, the first character of IFS is used to create $*,
2859 # except with old shells:
2860 host_os=$*
2861 IFS=$ac_save_IFS
2862 case $host_os in *\ *) host_os=`echo "$host_os" | sed 's/ /-/g'`;; esac
2863
2864
2865 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for some Win32 platform" >&5
2866 $as_echo_n "checking for some Win32 platform... " >&6; }
2867 case "$host" in
2868   *-*-mingw*|*-*-cygwin*)
2869     platform_win32=yes
2870     ;;
2871   *)
2872     platform_win32=no
2873     ;;
2874 esac
2875 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $platform_win32" >&5
2876 $as_echo "$platform_win32" >&6; }
2877  if test "$platform_win32" = "yes"; then
2878   PLATFORM_WIN32_TRUE=
2879   PLATFORM_WIN32_FALSE='#'
2880 else
2881   PLATFORM_WIN32_TRUE='#'
2882   PLATFORM_WIN32_FALSE=
2883 fi
2884
2885
2886 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for native Win32" >&5
2887 $as_echo_n "checking for native Win32... " >&6; }
2888 case "$host" in
2889   *-*-mingw*)
2890     os_win32=yes
2891     ;;
2892   *)
2893     os_win32=no
2894     ;;
2895 esac
2896 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $os_win32" >&5
2897 $as_echo "$os_win32" >&6; }
2898  if test "$os_win32" = "yes"; then
2899   OS_WIN32_TRUE=
2900   OS_WIN32_FALSE='#'
2901 else
2902   OS_WIN32_TRUE='#'
2903   OS_WIN32_FALSE=
2904 fi
2905
2906
2907
2908 case `pwd` in
2909   *\ * | *\     *)
2910     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Libtool does not cope well with whitespace in \`pwd\`" >&5
2911 $as_echo "$as_me: WARNING: Libtool does not cope well with whitespace in \`pwd\`" >&2;} ;;
2912 esac
2913
2914
2915
2916 macro_version='2.4.2'
2917 macro_revision='1.3337'
2918
2919
2920
2921
2922
2923
2924
2925
2926
2927
2928
2929
2930
2931 ltmain="$ac_aux_dir/ltmain.sh"
2932
2933 # Backslashify metacharacters that are still active within
2934 # double-quoted strings.
2935 sed_quote_subst='s/\(["`$\\]\)/\\\1/g'
2936
2937 # Same as above, but do not quote variable references.
2938 double_quote_subst='s/\(["`\\]\)/\\\1/g'
2939
2940 # Sed substitution to delay expansion of an escaped shell variable in a
2941 # double_quote_subst'ed string.
2942 delay_variable_subst='s/\\\\\\\\\\\$/\\\\\\$/g'
2943
2944 # Sed substitution to delay expansion of an escaped single quote.
2945 delay_single_quote_subst='s/'\''/'\'\\\\\\\'\''/g'
2946
2947 # Sed substitution to avoid accidental globbing in evaled expressions
2948 no_glob_subst='s/\*/\\\*/g'
2949
2950 ECHO='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
2951 ECHO=$ECHO$ECHO$ECHO$ECHO$ECHO
2952 ECHO=$ECHO$ECHO$ECHO$ECHO$ECHO$ECHO
2953
2954 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to print strings" >&5
2955 $as_echo_n "checking how to print strings... " >&6; }
2956 # Test print first, because it will be a builtin if present.
2957 if test "X`( print -r -- -n ) 2>/dev/null`" = X-n && \
2958    test "X`print -r -- $ECHO 2>/dev/null`" = "X$ECHO"; then
2959   ECHO='print -r --'
2960 elif test "X`printf %s $ECHO 2>/dev/null`" = "X$ECHO"; then
2961   ECHO='printf %s\n'
2962 else
2963   # Use this function as a fallback that always works.
2964   func_fallback_echo ()
2965   {
2966     eval 'cat <<_LTECHO_EOF
2967 $1
2968 _LTECHO_EOF'
2969   }
2970   ECHO='func_fallback_echo'
2971 fi
2972
2973 # func_echo_all arg...
2974 # Invoke $ECHO with all args, space-separated.
2975 func_echo_all ()
2976 {
2977     $ECHO ""
2978 }
2979
2980 case "$ECHO" in
2981   printf*) { $as_echo "$as_me:${as_lineno-$LINENO}: result: printf" >&5
2982 $as_echo "printf" >&6; } ;;
2983   print*) { $as_echo "$as_me:${as_lineno-$LINENO}: result: print -r" >&5
2984 $as_echo "print -r" >&6; } ;;
2985   *) { $as_echo "$as_me:${as_lineno-$LINENO}: result: cat" >&5
2986 $as_echo "cat" >&6; } ;;
2987 esac
2988
2989
2990
2991
2992
2993
2994
2995
2996
2997
2998
2999
3000
3001
3002 DEPDIR="${am__leading_dot}deps"
3003
3004 ac_config_commands="$ac_config_commands depfiles"
3005
3006
3007 am_make=${MAKE-make}
3008 cat > confinc << 'END'
3009 am__doit:
3010         @echo this is the am__doit target
3011 .PHONY: am__doit
3012 END
3013 # If we don't find an include directive, just comment out the code.
3014 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for style of include used by $am_make" >&5
3015 $as_echo_n "checking for style of include used by $am_make... " >&6; }
3016 am__include="#"
3017 am__quote=
3018 _am_result=none
3019 # First try GNU make style include.
3020 echo "include confinc" > confmf
3021 # Ignore all kinds of additional output from `make'.
3022 case `$am_make -s -f confmf 2> /dev/null` in #(
3023 *the\ am__doit\ target*)
3024   am__include=include
3025   am__quote=
3026   _am_result=GNU
3027   ;;
3028 esac
3029 # Now try BSD make style include.
3030 if test "$am__include" = "#"; then
3031    echo '.include "confinc"' > confmf
3032    case `$am_make -s -f confmf 2> /dev/null` in #(
3033    *the\ am__doit\ target*)
3034      am__include=.include
3035      am__quote="\""
3036      _am_result=BSD
3037      ;;
3038    esac
3039 fi
3040
3041
3042 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $_am_result" >&5
3043 $as_echo "$_am_result" >&6; }
3044 rm -f confinc confmf
3045
3046 # Check whether --enable-dependency-tracking was given.
3047 if test "${enable_dependency_tracking+set}" = set; then :
3048   enableval=$enable_dependency_tracking;
3049 fi
3050
3051 if test "x$enable_dependency_tracking" != xno; then
3052   am_depcomp="$ac_aux_dir/depcomp"
3053   AMDEPBACKSLASH='\'
3054   am__nodep='_no'
3055 fi
3056  if test "x$enable_dependency_tracking" != xno; then
3057   AMDEP_TRUE=
3058   AMDEP_FALSE='#'
3059 else
3060   AMDEP_TRUE='#'
3061   AMDEP_FALSE=
3062 fi
3063
3064
3065 ac_ext=c
3066 ac_cpp='$CPP $CPPFLAGS'
3067 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3068 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3069 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3070 if test -n "$ac_tool_prefix"; then
3071   # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
3072 set dummy ${ac_tool_prefix}gcc; ac_word=$2
3073 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3074 $as_echo_n "checking for $ac_word... " >&6; }
3075 if ${ac_cv_prog_CC+:} false; then :
3076   $as_echo_n "(cached) " >&6
3077 else
3078   if test -n "$CC"; then
3079   ac_cv_prog_CC="$CC" # Let the user override the test.
3080 else
3081 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3082 for as_dir in $PATH
3083 do
3084   IFS=$as_save_IFS
3085   test -z "$as_dir" && as_dir=.
3086     for ac_exec_ext in '' $ac_executable_extensions; do
3087   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3088     ac_cv_prog_CC="${ac_tool_prefix}gcc"
3089     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3090     break 2
3091   fi
3092 done
3093   done
3094 IFS=$as_save_IFS
3095
3096 fi
3097 fi
3098 CC=$ac_cv_prog_CC
3099 if test -n "$CC"; then
3100   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3101 $as_echo "$CC" >&6; }
3102 else
3103   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3104 $as_echo "no" >&6; }
3105 fi
3106
3107
3108 fi
3109 if test -z "$ac_cv_prog_CC"; then
3110   ac_ct_CC=$CC
3111   # Extract the first word of "gcc", so it can be a program name with args.
3112 set dummy gcc; ac_word=$2
3113 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3114 $as_echo_n "checking for $ac_word... " >&6; }
3115 if ${ac_cv_prog_ac_ct_CC+:} false; then :
3116   $as_echo_n "(cached) " >&6
3117 else
3118   if test -n "$ac_ct_CC"; then
3119   ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
3120 else
3121 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3122 for as_dir in $PATH
3123 do
3124   IFS=$as_save_IFS
3125   test -z "$as_dir" && as_dir=.
3126     for ac_exec_ext in '' $ac_executable_extensions; do
3127   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3128     ac_cv_prog_ac_ct_CC="gcc"
3129     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3130     break 2
3131   fi
3132 done
3133   done
3134 IFS=$as_save_IFS
3135
3136 fi
3137 fi
3138 ac_ct_CC=$ac_cv_prog_ac_ct_CC
3139 if test -n "$ac_ct_CC"; then
3140   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
3141 $as_echo "$ac_ct_CC" >&6; }
3142 else
3143   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3144 $as_echo "no" >&6; }
3145 fi
3146
3147   if test "x$ac_ct_CC" = x; then
3148     CC=""
3149   else
3150     case $cross_compiling:$ac_tool_warned in
3151 yes:)
3152 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3153 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3154 ac_tool_warned=yes ;;
3155 esac
3156     CC=$ac_ct_CC
3157   fi
3158 else
3159   CC="$ac_cv_prog_CC"
3160 fi
3161
3162 if test -z "$CC"; then
3163           if test -n "$ac_tool_prefix"; then
3164     # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
3165 set dummy ${ac_tool_prefix}cc; ac_word=$2
3166 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3167 $as_echo_n "checking for $ac_word... " >&6; }
3168 if ${ac_cv_prog_CC+:} false; then :
3169   $as_echo_n "(cached) " >&6
3170 else
3171   if test -n "$CC"; then
3172   ac_cv_prog_CC="$CC" # Let the user override the test.
3173 else
3174 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3175 for as_dir in $PATH
3176 do
3177   IFS=$as_save_IFS
3178   test -z "$as_dir" && as_dir=.
3179     for ac_exec_ext in '' $ac_executable_extensions; do
3180   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3181     ac_cv_prog_CC="${ac_tool_prefix}cc"
3182     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3183     break 2
3184   fi
3185 done
3186   done
3187 IFS=$as_save_IFS
3188
3189 fi
3190 fi
3191 CC=$ac_cv_prog_CC
3192 if test -n "$CC"; then
3193   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3194 $as_echo "$CC" >&6; }
3195 else
3196   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3197 $as_echo "no" >&6; }
3198 fi
3199
3200
3201   fi
3202 fi
3203 if test -z "$CC"; then
3204   # Extract the first word of "cc", so it can be a program name with args.
3205 set dummy cc; ac_word=$2
3206 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3207 $as_echo_n "checking for $ac_word... " >&6; }
3208 if ${ac_cv_prog_CC+:} false; then :
3209   $as_echo_n "(cached) " >&6
3210 else
3211   if test -n "$CC"; then
3212   ac_cv_prog_CC="$CC" # Let the user override the test.
3213 else
3214   ac_prog_rejected=no
3215 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3216 for as_dir in $PATH
3217 do
3218   IFS=$as_save_IFS
3219   test -z "$as_dir" && as_dir=.
3220     for ac_exec_ext in '' $ac_executable_extensions; do
3221   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3222     if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
3223        ac_prog_rejected=yes
3224        continue
3225      fi
3226     ac_cv_prog_CC="cc"
3227     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3228     break 2
3229   fi
3230 done
3231   done
3232 IFS=$as_save_IFS
3233
3234 if test $ac_prog_rejected = yes; then
3235   # We found a bogon in the path, so make sure we never use it.
3236   set dummy $ac_cv_prog_CC
3237   shift
3238   if test $# != 0; then
3239     # We chose a different compiler from the bogus one.
3240     # However, it has the same basename, so the bogon will be chosen
3241     # first if we set CC to just the basename; use the full file name.
3242     shift
3243     ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
3244   fi
3245 fi
3246 fi
3247 fi
3248 CC=$ac_cv_prog_CC
3249 if test -n "$CC"; then
3250   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3251 $as_echo "$CC" >&6; }
3252 else
3253   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3254 $as_echo "no" >&6; }
3255 fi
3256
3257
3258 fi
3259 if test -z "$CC"; then
3260   if test -n "$ac_tool_prefix"; then
3261   for ac_prog in cl.exe
3262   do
3263     # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
3264 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
3265 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3266 $as_echo_n "checking for $ac_word... " >&6; }
3267 if ${ac_cv_prog_CC+:} false; then :
3268   $as_echo_n "(cached) " >&6
3269 else
3270   if test -n "$CC"; then
3271   ac_cv_prog_CC="$CC" # Let the user override the test.
3272 else
3273 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3274 for as_dir in $PATH
3275 do
3276   IFS=$as_save_IFS
3277   test -z "$as_dir" && as_dir=.
3278     for ac_exec_ext in '' $ac_executable_extensions; do
3279   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3280     ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
3281     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3282     break 2
3283   fi
3284 done
3285   done
3286 IFS=$as_save_IFS
3287
3288 fi
3289 fi
3290 CC=$ac_cv_prog_CC
3291 if test -n "$CC"; then
3292   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3293 $as_echo "$CC" >&6; }
3294 else
3295   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3296 $as_echo "no" >&6; }
3297 fi
3298
3299
3300     test -n "$CC" && break
3301   done
3302 fi
3303 if test -z "$CC"; then
3304   ac_ct_CC=$CC
3305   for ac_prog in cl.exe
3306 do
3307   # Extract the first word of "$ac_prog", so it can be a program name with args.
3308 set dummy $ac_prog; ac_word=$2
3309 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3310 $as_echo_n "checking for $ac_word... " >&6; }
3311 if ${ac_cv_prog_ac_ct_CC+:} false; then :
3312   $as_echo_n "(cached) " >&6
3313 else
3314   if test -n "$ac_ct_CC"; then
3315   ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
3316 else
3317 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3318 for as_dir in $PATH
3319 do
3320   IFS=$as_save_IFS
3321   test -z "$as_dir" && as_dir=.
3322     for ac_exec_ext in '' $ac_executable_extensions; do
3323   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3324     ac_cv_prog_ac_ct_CC="$ac_prog"
3325     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3326     break 2
3327   fi
3328 done
3329   done
3330 IFS=$as_save_IFS
3331
3332 fi
3333 fi
3334 ac_ct_CC=$ac_cv_prog_ac_ct_CC
3335 if test -n "$ac_ct_CC"; then
3336   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
3337 $as_echo "$ac_ct_CC" >&6; }
3338 else
3339   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3340 $as_echo "no" >&6; }
3341 fi
3342
3343
3344   test -n "$ac_ct_CC" && break
3345 done
3346
3347   if test "x$ac_ct_CC" = x; then
3348     CC=""
3349   else
3350     case $cross_compiling:$ac_tool_warned in
3351 yes:)
3352 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3353 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3354 ac_tool_warned=yes ;;
3355 esac
3356     CC=$ac_ct_CC
3357   fi
3358 fi
3359
3360 fi
3361
3362
3363 test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3364 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3365 as_fn_error $? "no acceptable C compiler found in \$PATH
3366 See \`config.log' for more details" "$LINENO" 5; }
3367
3368 # Provide some information about the compiler.
3369 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
3370 set X $ac_compile
3371 ac_compiler=$2
3372 for ac_option in --version -v -V -qversion; do
3373   { { ac_try="$ac_compiler $ac_option >&5"
3374 case "(($ac_try" in
3375   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3376   *) ac_try_echo=$ac_try;;
3377 esac
3378 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3379 $as_echo "$ac_try_echo"; } >&5
3380   (eval "$ac_compiler $ac_option >&5") 2>conftest.err
3381   ac_status=$?
3382   if test -s conftest.err; then
3383     sed '10a\
3384 ... rest of stderr output deleted ...
3385          10q' conftest.err >conftest.er1
3386     cat conftest.er1 >&5
3387   fi
3388   rm -f conftest.er1 conftest.err
3389   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3390   test $ac_status = 0; }
3391 done
3392
3393 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3394 /* end confdefs.h.  */
3395
3396 int
3397 main ()
3398 {
3399
3400   ;
3401   return 0;
3402 }
3403 _ACEOF
3404 ac_clean_files_save=$ac_clean_files
3405 ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out"
3406 # Try to create an executable without -o first, disregard a.out.
3407 # It will help us diagnose broken compilers, and finding out an intuition
3408 # of exeext.
3409 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler works" >&5
3410 $as_echo_n "checking whether the C compiler works... " >&6; }
3411 ac_link_default=`$as_echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
3412
3413 # The possible output files:
3414 ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*"
3415
3416 ac_rmfiles=
3417 for ac_file in $ac_files
3418 do
3419   case $ac_file in
3420     *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
3421     * ) ac_rmfiles="$ac_rmfiles $ac_file";;
3422   esac
3423 done
3424 rm -f $ac_rmfiles
3425
3426 if { { ac_try="$ac_link_default"
3427 case "(($ac_try" in
3428   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3429   *) ac_try_echo=$ac_try;;
3430 esac
3431 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3432 $as_echo "$ac_try_echo"; } >&5
3433   (eval "$ac_link_default") 2>&5
3434   ac_status=$?
3435   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3436   test $ac_status = 0; }; then :
3437   # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
3438 # So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
3439 # in a Makefile.  We should not override ac_cv_exeext if it was cached,
3440 # so that the user can short-circuit this test for compilers unknown to
3441 # Autoconf.
3442 for ac_file in $ac_files ''
3443 do
3444   test -f "$ac_file" || continue
3445   case $ac_file in
3446     *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj )
3447         ;;
3448     [ab].out )
3449         # We found the default executable, but exeext='' is most
3450         # certainly right.
3451         break;;
3452     *.* )
3453         if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no;
3454         then :; else
3455            ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
3456         fi
3457         # We set ac_cv_exeext here because the later test for it is not
3458         # safe: cross compilers may not add the suffix if given an `-o'
3459         # argument, so we may need to know it at that point already.
3460         # Even if this section looks crufty: it has the advantage of
3461         # actually working.
3462         break;;
3463     * )
3464         break;;
3465   esac
3466 done
3467 test "$ac_cv_exeext" = no && ac_cv_exeext=
3468
3469 else
3470   ac_file=''
3471 fi
3472 if test -z "$ac_file"; then :
3473   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3474 $as_echo "no" >&6; }
3475 $as_echo "$as_me: failed program was:" >&5
3476 sed 's/^/| /' conftest.$ac_ext >&5
3477
3478 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3479 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3480 as_fn_error 77 "C compiler cannot create executables
3481 See \`config.log' for more details" "$LINENO" 5; }
3482 else
3483   { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
3484 $as_echo "yes" >&6; }
3485 fi
3486 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler default output file name" >&5
3487 $as_echo_n "checking for C compiler default output file name... " >&6; }
3488 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5
3489 $as_echo "$ac_file" >&6; }
3490 ac_exeext=$ac_cv_exeext
3491
3492 rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out
3493 ac_clean_files=$ac_clean_files_save
3494 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5
3495 $as_echo_n "checking for suffix of executables... " >&6; }
3496 if { { ac_try="$ac_link"
3497 case "(($ac_try" in
3498   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3499   *) ac_try_echo=$ac_try;;
3500 esac
3501 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3502 $as_echo "$ac_try_echo"; } >&5
3503   (eval "$ac_link") 2>&5
3504   ac_status=$?
3505   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3506   test $ac_status = 0; }; then :
3507   # If both `conftest.exe' and `conftest' are `present' (well, observable)
3508 # catch `conftest.exe'.  For instance with Cygwin, `ls conftest' will
3509 # work properly (i.e., refer to `conftest.exe'), while it won't with
3510 # `rm'.
3511 for ac_file in conftest.exe conftest conftest.*; do
3512   test -f "$ac_file" || continue
3513   case $ac_file in
3514     *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
3515     *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
3516           break;;
3517     * ) break;;
3518   esac
3519 done
3520 else
3521   { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3522 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3523 as_fn_error $? "cannot compute suffix of executables: cannot compile and link
3524 See \`config.log' for more details" "$LINENO" 5; }
3525 fi
3526 rm -f conftest conftest$ac_cv_exeext
3527 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5
3528 $as_echo "$ac_cv_exeext" >&6; }
3529
3530 rm -f conftest.$ac_ext
3531 EXEEXT=$ac_cv_exeext
3532 ac_exeext=$EXEEXT
3533 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3534 /* end confdefs.h.  */
3535 #include <stdio.h>
3536 int
3537 main ()
3538 {
3539 FILE *f = fopen ("conftest.out", "w");
3540  return ferror (f) || fclose (f) != 0;
3541
3542   ;
3543   return 0;
3544 }
3545 _ACEOF
3546 ac_clean_files="$ac_clean_files conftest.out"
3547 # Check that the compiler produces executables we can run.  If not, either
3548 # the compiler is broken, or we cross compile.
3549 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5
3550 $as_echo_n "checking whether we are cross compiling... " >&6; }
3551 if test "$cross_compiling" != yes; then
3552   { { ac_try="$ac_link"
3553 case "(($ac_try" in
3554   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3555   *) ac_try_echo=$ac_try;;
3556 esac
3557 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3558 $as_echo "$ac_try_echo"; } >&5
3559   (eval "$ac_link") 2>&5
3560   ac_status=$?
3561   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3562   test $ac_status = 0; }
3563   if { ac_try='./conftest$ac_cv_exeext'
3564   { { case "(($ac_try" in
3565   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3566   *) ac_try_echo=$ac_try;;
3567 esac
3568 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3569 $as_echo "$ac_try_echo"; } >&5
3570   (eval "$ac_try") 2>&5
3571   ac_status=$?
3572   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3573   test $ac_status = 0; }; }; then
3574     cross_compiling=no
3575   else
3576     if test "$cross_compiling" = maybe; then
3577         cross_compiling=yes
3578     else
3579         { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3580 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3581 as_fn_error $? "cannot run C compiled programs.
3582 If you meant to cross compile, use \`--host'.
3583 See \`config.log' for more details" "$LINENO" 5; }
3584     fi
3585   fi
3586 fi
3587 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5
3588 $as_echo "$cross_compiling" >&6; }
3589
3590 rm -f conftest.$ac_ext conftest$ac_cv_exeext conftest.out
3591 ac_clean_files=$ac_clean_files_save
3592 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5
3593 $as_echo_n "checking for suffix of object files... " >&6; }
3594 if ${ac_cv_objext+:} false; then :
3595   $as_echo_n "(cached) " >&6
3596 else
3597   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3598 /* end confdefs.h.  */
3599
3600 int
3601 main ()
3602 {
3603
3604   ;
3605   return 0;
3606 }
3607 _ACEOF
3608 rm -f conftest.o conftest.obj
3609 if { { ac_try="$ac_compile"
3610 case "(($ac_try" in
3611   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3612   *) ac_try_echo=$ac_try;;
3613 esac
3614 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3615 $as_echo "$ac_try_echo"; } >&5
3616   (eval "$ac_compile") 2>&5
3617   ac_status=$?
3618   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3619   test $ac_status = 0; }; then :
3620   for ac_file in conftest.o conftest.obj conftest.*; do
3621   test -f "$ac_file" || continue;
3622   case $ac_file in
3623     *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;;
3624     *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
3625        break;;
3626   esac
3627 done
3628 else
3629   $as_echo "$as_me: failed program was:" >&5
3630 sed 's/^/| /' conftest.$ac_ext >&5
3631
3632 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3633 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3634 as_fn_error $? "cannot compute suffix of object files: cannot compile
3635 See \`config.log' for more details" "$LINENO" 5; }
3636 fi
3637 rm -f conftest.$ac_cv_objext conftest.$ac_ext
3638 fi
3639 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5
3640 $as_echo "$ac_cv_objext" >&6; }
3641 OBJEXT=$ac_cv_objext
3642 ac_objext=$OBJEXT
3643 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
3644 $as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
3645 if ${ac_cv_c_compiler_gnu+:} false; then :
3646   $as_echo_n "(cached) " >&6
3647 else
3648   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3649 /* end confdefs.h.  */
3650
3651 int
3652 main ()
3653 {
3654 #ifndef __GNUC__
3655        choke me
3656 #endif
3657
3658   ;
3659   return 0;
3660 }
3661 _ACEOF
3662 if ac_fn_c_try_compile "$LINENO"; then :
3663   ac_compiler_gnu=yes
3664 else
3665   ac_compiler_gnu=no
3666 fi
3667 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3668 ac_cv_c_compiler_gnu=$ac_compiler_gnu
3669
3670 fi
3671 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
3672 $as_echo "$ac_cv_c_compiler_gnu" >&6; }
3673 if test $ac_compiler_gnu = yes; then
3674   GCC=yes
3675 else
3676   GCC=
3677 fi
3678 ac_test_CFLAGS=${CFLAGS+set}
3679 ac_save_CFLAGS=$CFLAGS
3680 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
3681 $as_echo_n "checking whether $CC accepts -g... " >&6; }
3682 if ${ac_cv_prog_cc_g+:} false; then :
3683   $as_echo_n "(cached) " >&6
3684 else
3685   ac_save_c_werror_flag=$ac_c_werror_flag
3686    ac_c_werror_flag=yes
3687    ac_cv_prog_cc_g=no
3688    CFLAGS="-g"
3689    cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3690 /* end confdefs.h.  */
3691
3692 int
3693 main ()
3694 {
3695
3696   ;
3697   return 0;
3698 }
3699 _ACEOF
3700 if ac_fn_c_try_compile "$LINENO"; then :
3701   ac_cv_prog_cc_g=yes
3702 else
3703   CFLAGS=""
3704       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3705 /* end confdefs.h.  */
3706
3707 int
3708 main ()
3709 {
3710
3711   ;
3712   return 0;
3713 }
3714 _ACEOF
3715 if ac_fn_c_try_compile "$LINENO"; then :
3716
3717 else
3718   ac_c_werror_flag=$ac_save_c_werror_flag
3719          CFLAGS="-g"
3720          cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3721 /* end confdefs.h.  */
3722
3723 int
3724 main ()
3725 {
3726
3727   ;
3728   return 0;
3729 }
3730 _ACEOF
3731 if ac_fn_c_try_compile "$LINENO"; then :
3732   ac_cv_prog_cc_g=yes
3733 fi
3734 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3735 fi
3736 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3737 fi
3738 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3739    ac_c_werror_flag=$ac_save_c_werror_flag
3740 fi
3741 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
3742 $as_echo "$ac_cv_prog_cc_g" >&6; }
3743 if test "$ac_test_CFLAGS" = set; then
3744   CFLAGS=$ac_save_CFLAGS
3745 elif test $ac_cv_prog_cc_g = yes; then
3746   if test "$GCC" = yes; then
3747     CFLAGS="-g -O2"
3748   else
3749     CFLAGS="-g"
3750   fi
3751 else
3752   if test "$GCC" = yes; then
3753     CFLAGS="-O2"
3754   else
3755     CFLAGS=
3756   fi
3757 fi
3758 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
3759 $as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
3760 if ${ac_cv_prog_cc_c89+:} false; then :
3761   $as_echo_n "(cached) " >&6
3762 else
3763   ac_cv_prog_cc_c89=no
3764 ac_save_CC=$CC
3765 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3766 /* end confdefs.h.  */
3767 #include <stdarg.h>
3768 #include <stdio.h>
3769 struct stat;
3770 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh.  */
3771 struct buf { int x; };
3772 FILE * (*rcsopen) (struct buf *, struct stat *, int);
3773 static char *e (p, i)
3774      char **p;
3775      int i;
3776 {
3777   return p[i];
3778 }
3779 static char *f (char * (*g) (char **, int), char **p, ...)
3780 {
3781   char *s;
3782   va_list v;
3783   va_start (v,p);
3784   s = g (p, va_arg (v,int));
3785   va_end (v);
3786   return s;
3787 }
3788
3789 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default.  It has
3790    function prototypes and stuff, but not '\xHH' hex character constants.
3791    These don't provoke an error unfortunately, instead are silently treated
3792    as 'x'.  The following induces an error, until -std is added to get
3793    proper ANSI mode.  Curiously '\x00'!='x' always comes out true, for an
3794    array size at least.  It's necessary to write '\x00'==0 to get something
3795    that's true only with -std.  */
3796 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
3797
3798 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
3799    inside strings and character constants.  */
3800 #define FOO(x) 'x'
3801 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
3802
3803 int test (int i, double x);
3804 struct s1 {int (*f) (int a);};
3805 struct s2 {int (*f) (double a);};
3806 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
3807 int argc;
3808 char **argv;
3809 int
3810 main ()
3811 {
3812 return f (e, argv, 0) != argv[0]  ||  f (e, argv, 1) != argv[1];
3813   ;
3814   return 0;
3815 }
3816 _ACEOF
3817 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
3818         -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
3819 do
3820   CC="$ac_save_CC $ac_arg"
3821   if ac_fn_c_try_compile "$LINENO"; then :
3822   ac_cv_prog_cc_c89=$ac_arg
3823 fi
3824 rm -f core conftest.err conftest.$ac_objext
3825   test "x$ac_cv_prog_cc_c89" != "xno" && break
3826 done
3827 rm -f conftest.$ac_ext
3828 CC=$ac_save_CC
3829
3830 fi
3831 # AC_CACHE_VAL
3832 case "x$ac_cv_prog_cc_c89" in
3833   x)
3834     { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
3835 $as_echo "none needed" >&6; } ;;
3836   xno)
3837     { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
3838 $as_echo "unsupported" >&6; } ;;
3839   *)
3840     CC="$CC $ac_cv_prog_cc_c89"
3841     { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
3842 $as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
3843 esac
3844 if test "x$ac_cv_prog_cc_c89" != xno; then :
3845
3846 fi
3847
3848 ac_ext=c
3849 ac_cpp='$CPP $CPPFLAGS'
3850 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3851 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3852 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3853
3854 depcc="$CC"   am_compiler_list=
3855
3856 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5
3857 $as_echo_n "checking dependency style of $depcc... " >&6; }
3858 if ${am_cv_CC_dependencies_compiler_type+:} false; then :
3859   $as_echo_n "(cached) " >&6
3860 else
3861   if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
3862   # We make a subdir and do the tests there.  Otherwise we can end up
3863   # making bogus files that we don't know about and never remove.  For
3864   # instance it was reported that on HP-UX the gcc test will end up
3865   # making a dummy file named `D' -- because `-MD' means `put the output
3866   # in D'.
3867   rm -rf conftest.dir
3868   mkdir conftest.dir
3869   # Copy depcomp to subdir because otherwise we won't find it if we're
3870   # using a relative directory.
3871   cp "$am_depcomp" conftest.dir
3872   cd conftest.dir
3873   # We will build objects and dependencies in a subdirectory because
3874   # it helps to detect inapplicable dependency modes.  For instance
3875   # both Tru64's cc and ICC support -MD to output dependencies as a
3876   # side effect of compilation, but ICC will put the dependencies in
3877   # the current directory while Tru64 will put them in the object
3878   # directory.
3879   mkdir sub
3880
3881   am_cv_CC_dependencies_compiler_type=none
3882   if test "$am_compiler_list" = ""; then
3883      am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
3884   fi
3885   am__universal=false
3886   case " $depcc " in #(
3887      *\ -arch\ *\ -arch\ *) am__universal=true ;;
3888      esac
3889
3890   for depmode in $am_compiler_list; do
3891     # Setup a source with many dependencies, because some compilers
3892     # like to wrap large dependency lists on column 80 (with \), and
3893     # we should not choose a depcomp mode which is confused by this.
3894     #
3895     # We need to recreate these files for each test, as the compiler may
3896     # overwrite some of them when testing with obscure command lines.
3897     # This happens at least with the AIX C compiler.
3898     : > sub/conftest.c
3899     for i in 1 2 3 4 5 6; do
3900       echo '#include "conftst'$i'.h"' >> sub/conftest.c
3901       # Using `: > sub/conftst$i.h' creates only sub/conftst1.h with
3902       # Solaris 8's {/usr,}/bin/sh.
3903       touch sub/conftst$i.h
3904     done
3905     echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
3906
3907     # We check with `-c' and `-o' for the sake of the "dashmstdout"
3908     # mode.  It turns out that the SunPro C++ compiler does not properly
3909     # handle `-M -o', and we need to detect this.  Also, some Intel
3910     # versions had trouble with output in subdirs
3911     am__obj=sub/conftest.${OBJEXT-o}
3912     am__minus_obj="-o $am__obj"
3913     case $depmode in
3914     gcc)
3915       # This depmode causes a compiler race in universal mode.
3916       test "$am__universal" = false || continue
3917       ;;
3918     nosideeffect)
3919       # after this tag, mechanisms are not by side-effect, so they'll
3920       # only be used when explicitly requested
3921       if test "x$enable_dependency_tracking" = xyes; then
3922         continue
3923       else
3924         break
3925       fi
3926       ;;
3927     msvc7 | msvc7msys | msvisualcpp | msvcmsys)
3928       # This compiler won't grok `-c -o', but also, the minuso test has
3929       # not run yet.  These depmodes are late enough in the game, and
3930       # so weak that their functioning should not be impacted.
3931       am__obj=conftest.${OBJEXT-o}
3932       am__minus_obj=
3933       ;;
3934     none) break ;;
3935     esac
3936     if depmode=$depmode \
3937        source=sub/conftest.c object=$am__obj \
3938        depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
3939        $SHELL ./depcomp $depcc -c $am__minus_obj sub/conftest.c \
3940          >/dev/null 2>conftest.err &&
3941        grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 &&
3942        grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
3943        grep $am__obj sub/conftest.Po > /dev/null 2>&1 &&
3944        ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
3945       # icc doesn't choke on unknown options, it will just issue warnings
3946       # or remarks (even with -Werror).  So we grep stderr for any message
3947       # that says an option was ignored or not supported.
3948       # When given -MP, icc 7.0 and 7.1 complain thusly:
3949       #   icc: Command line warning: ignoring option '-M'; no argument required
3950       # The diagnosis changed in icc 8.0:
3951       #   icc: Command line remark: option '-MP' not supported
3952       if (grep 'ignoring option' conftest.err ||
3953           grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
3954         am_cv_CC_dependencies_compiler_type=$depmode
3955         break
3956       fi
3957     fi
3958   done
3959
3960   cd ..
3961   rm -rf conftest.dir
3962 else
3963   am_cv_CC_dependencies_compiler_type=none
3964 fi
3965
3966 fi
3967 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_CC_dependencies_compiler_type" >&5
3968 $as_echo "$am_cv_CC_dependencies_compiler_type" >&6; }
3969 CCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type
3970
3971  if
3972   test "x$enable_dependency_tracking" != xno \
3973   && test "$am_cv_CC_dependencies_compiler_type" = gcc3; then
3974   am__fastdepCC_TRUE=
3975   am__fastdepCC_FALSE='#'
3976 else
3977   am__fastdepCC_TRUE='#'
3978   am__fastdepCC_FALSE=
3979 fi
3980
3981
3982 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a sed that does not truncate output" >&5
3983 $as_echo_n "checking for a sed that does not truncate output... " >&6; }
3984 if ${ac_cv_path_SED+:} false; then :
3985   $as_echo_n "(cached) " >&6
3986 else
3987             ac_script=s/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa/bbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbb/
3988      for ac_i in 1 2 3 4 5 6 7; do
3989        ac_script="$ac_script$as_nl$ac_script"
3990      done
3991      echo "$ac_script" 2>/dev/null | sed 99q >conftest.sed
3992      { ac_script=; unset ac_script;}
3993      if test -z "$SED"; then
3994   ac_path_SED_found=false
3995   # Loop through the user's path and test for each of PROGNAME-LIST
3996   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3997 for as_dir in $PATH
3998 do
3999   IFS=$as_save_IFS
4000   test -z "$as_dir" && as_dir=.
4001     for ac_prog in sed gsed; do
4002     for ac_exec_ext in '' $ac_executable_extensions; do
4003       ac_path_SED="$as_dir/$ac_prog$ac_exec_ext"
4004       as_fn_executable_p "$ac_path_SED" || continue
4005 # Check for GNU ac_path_SED and select it if it is found.
4006   # Check for GNU $ac_path_SED
4007 case `"$ac_path_SED" --version 2>&1` in
4008 *GNU*)
4009   ac_cv_path_SED="$ac_path_SED" ac_path_SED_found=:;;
4010 *)
4011   ac_count=0
4012   $as_echo_n 0123456789 >"conftest.in"
4013   while :
4014   do
4015     cat "conftest.in" "conftest.in" >"conftest.tmp"
4016     mv "conftest.tmp" "conftest.in"
4017     cp "conftest.in" "conftest.nl"
4018     $as_echo '' >> "conftest.nl"
4019     "$ac_path_SED" -f conftest.sed < "conftest.nl" >"conftest.out" 2>/dev/null || break
4020     diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
4021     as_fn_arith $ac_count + 1 && ac_count=$as_val
4022     if test $ac_count -gt ${ac_path_SED_max-0}; then
4023       # Best one so far, save it but keep looking for a better one
4024       ac_cv_path_SED="$ac_path_SED"
4025       ac_path_SED_max=$ac_count
4026     fi
4027     # 10*(2^10) chars as input seems more than enough
4028     test $ac_count -gt 10 && break
4029   done
4030   rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
4031 esac
4032
4033       $ac_path_SED_found && break 3
4034     done
4035   done
4036   done
4037 IFS=$as_save_IFS
4038   if test -z "$ac_cv_path_SED"; then
4039     as_fn_error $? "no acceptable sed could be found in \$PATH" "$LINENO" 5
4040   fi
4041 else
4042   ac_cv_path_SED=$SED
4043 fi
4044
4045 fi
4046 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_SED" >&5
4047 $as_echo "$ac_cv_path_SED" >&6; }
4048  SED="$ac_cv_path_SED"
4049   rm -f conftest.sed
4050
4051 test -z "$SED" && SED=sed
4052 Xsed="$SED -e 1s/^X//"
4053
4054
4055
4056
4057
4058
4059
4060
4061
4062
4063
4064 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for grep that handles long lines and -e" >&5
4065 $as_echo_n "checking for grep that handles long lines and -e... " >&6; }
4066 if ${ac_cv_path_GREP+:} false; then :
4067   $as_echo_n "(cached) " >&6
4068 else
4069   if test -z "$GREP"; then
4070   ac_path_GREP_found=false
4071   # Loop through the user's path and test for each of PROGNAME-LIST
4072   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4073 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
4074 do
4075   IFS=$as_save_IFS
4076   test -z "$as_dir" && as_dir=.
4077     for ac_prog in grep ggrep; do
4078     for ac_exec_ext in '' $ac_executable_extensions; do
4079       ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext"
4080       as_fn_executable_p "$ac_path_GREP" || continue
4081 # Check for GNU ac_path_GREP and select it if it is found.
4082   # Check for GNU $ac_path_GREP
4083 case `"$ac_path_GREP" --version 2>&1` in
4084 *GNU*)
4085   ac_cv_path_GREP="$ac_path_GREP" ac_path_GREP_found=:;;
4086 *)
4087   ac_count=0
4088   $as_echo_n 0123456789 >"conftest.in"
4089   while :
4090   do
4091     cat "conftest.in" "conftest.in" >"conftest.tmp"
4092     mv "conftest.tmp" "conftest.in"
4093     cp "conftest.in" "conftest.nl"
4094     $as_echo 'GREP' >> "conftest.nl"
4095     "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev/null || break
4096     diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
4097     as_fn_arith $ac_count + 1 && ac_count=$as_val
4098     if test $ac_count -gt ${ac_path_GREP_max-0}; then
4099       # Best one so far, save it but keep looking for a better one
4100       ac_cv_path_GREP="$ac_path_GREP"
4101       ac_path_GREP_max=$ac_count
4102     fi
4103     # 10*(2^10) chars as input seems more than enough
4104     test $ac_count -gt 10 && break
4105   done
4106   rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
4107 esac
4108
4109       $ac_path_GREP_found && break 3
4110     done
4111   done
4112   done
4113 IFS=$as_save_IFS
4114   if test -z "$ac_cv_path_GREP"; then
4115     as_fn_error $? "no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
4116   fi
4117 else
4118   ac_cv_path_GREP=$GREP
4119 fi
4120
4121 fi
4122 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_GREP" >&5
4123 $as_echo "$ac_cv_path_GREP" >&6; }
4124  GREP="$ac_cv_path_GREP"
4125
4126
4127 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for egrep" >&5
4128 $as_echo_n "checking for egrep... " >&6; }
4129 if ${ac_cv_path_EGREP+:} false; then :
4130   $as_echo_n "(cached) " >&6
4131 else
4132   if echo a | $GREP -E '(a|b)' >/dev/null 2>&1
4133    then ac_cv_path_EGREP="$GREP -E"
4134    else
4135      if test -z "$EGREP"; then
4136   ac_path_EGREP_found=false
4137   # Loop through the user's path and test for each of PROGNAME-LIST
4138   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4139 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
4140 do
4141   IFS=$as_save_IFS
4142   test -z "$as_dir" && as_dir=.
4143     for ac_prog in egrep; do
4144     for ac_exec_ext in '' $ac_executable_extensions; do
4145       ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext"
4146       as_fn_executable_p "$ac_path_EGREP" || continue
4147 # Check for GNU ac_path_EGREP and select it if it is found.
4148   # Check for GNU $ac_path_EGREP
4149 case `"$ac_path_EGREP" --version 2>&1` in
4150 *GNU*)
4151   ac_cv_path_EGREP="$ac_path_EGREP" ac_path_EGREP_found=:;;
4152 *)
4153   ac_count=0
4154   $as_echo_n 0123456789 >"conftest.in"
4155   while :
4156   do
4157     cat "conftest.in" "conftest.in" >"conftest.tmp"
4158     mv "conftest.tmp" "conftest.in"
4159     cp "conftest.in" "conftest.nl"
4160     $as_echo 'EGREP' >> "conftest.nl"
4161     "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev/null || break
4162     diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
4163     as_fn_arith $ac_count + 1 && ac_count=$as_val
4164     if test $ac_count -gt ${ac_path_EGREP_max-0}; then
4165       # Best one so far, save it but keep looking for a better one
4166       ac_cv_path_EGREP="$ac_path_EGREP"
4167       ac_path_EGREP_max=$ac_count
4168     fi
4169     # 10*(2^10) chars as input seems more than enough
4170     test $ac_count -gt 10 && break
4171   done
4172   rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
4173 esac
4174
4175       $ac_path_EGREP_found && break 3
4176     done
4177   done
4178   done
4179 IFS=$as_save_IFS
4180   if test -z "$ac_cv_path_EGREP"; then
4181     as_fn_error $? "no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
4182   fi
4183 else
4184   ac_cv_path_EGREP=$EGREP
4185 fi
4186
4187    fi
4188 fi
4189 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_EGREP" >&5
4190 $as_echo "$ac_cv_path_EGREP" >&6; }
4191  EGREP="$ac_cv_path_EGREP"
4192
4193
4194 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fgrep" >&5
4195 $as_echo_n "checking for fgrep... " >&6; }
4196 if ${ac_cv_path_FGREP+:} false; then :
4197   $as_echo_n "(cached) " >&6
4198 else
4199   if echo 'ab*c' | $GREP -F 'ab*c' >/dev/null 2>&1
4200    then ac_cv_path_FGREP="$GREP -F"
4201    else
4202      if test -z "$FGREP"; then
4203   ac_path_FGREP_found=false
4204   # Loop through the user's path and test for each of PROGNAME-LIST
4205   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4206 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
4207 do
4208   IFS=$as_save_IFS
4209   test -z "$as_dir" && as_dir=.
4210     for ac_prog in fgrep; do
4211     for ac_exec_ext in '' $ac_executable_extensions; do
4212       ac_path_FGREP="$as_dir/$ac_prog$ac_exec_ext"
4213       as_fn_executable_p "$ac_path_FGREP" || continue
4214 # Check for GNU ac_path_FGREP and select it if it is found.
4215   # Check for GNU $ac_path_FGREP
4216 case `"$ac_path_FGREP" --version 2>&1` in
4217 *GNU*)
4218   ac_cv_path_FGREP="$ac_path_FGREP" ac_path_FGREP_found=:;;
4219 *)
4220   ac_count=0
4221   $as_echo_n 0123456789 >"conftest.in"
4222   while :
4223   do
4224     cat "conftest.in" "conftest.in" >"conftest.tmp"
4225     mv "conftest.tmp" "conftest.in"
4226     cp "conftest.in" "conftest.nl"
4227     $as_echo 'FGREP' >> "conftest.nl"
4228     "$ac_path_FGREP" FGREP < "conftest.nl" >"conftest.out" 2>/dev/null || break
4229     diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
4230     as_fn_arith $ac_count + 1 && ac_count=$as_val
4231     if test $ac_count -gt ${ac_path_FGREP_max-0}; then
4232       # Best one so far, save it but keep looking for a better one
4233       ac_cv_path_FGREP="$ac_path_FGREP"
4234       ac_path_FGREP_max=$ac_count
4235     fi
4236     # 10*(2^10) chars as input seems more than enough
4237     test $ac_count -gt 10 && break
4238   done
4239   rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
4240 esac
4241
4242       $ac_path_FGREP_found && break 3
4243     done
4244   done
4245   done
4246 IFS=$as_save_IFS
4247   if test -z "$ac_cv_path_FGREP"; then
4248     as_fn_error $? "no acceptable fgrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
4249   fi
4250 else
4251   ac_cv_path_FGREP=$FGREP
4252 fi
4253
4254    fi
4255 fi
4256 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_FGREP" >&5
4257 $as_echo "$ac_cv_path_FGREP" >&6; }
4258  FGREP="$ac_cv_path_FGREP"
4259
4260
4261 test -z "$GREP" && GREP=grep
4262
4263
4264
4265
4266
4267
4268
4269
4270
4271
4272
4273
4274
4275
4276
4277
4278
4279
4280
4281 # Check whether --with-gnu-ld was given.
4282 if test "${with_gnu_ld+set}" = set; then :
4283   withval=$with_gnu_ld; test "$withval" = no || with_gnu_ld=yes
4284 else
4285   with_gnu_ld=no
4286 fi
4287
4288 ac_prog=ld
4289 if test "$GCC" = yes; then
4290   # Check if gcc -print-prog-name=ld gives a path.
4291   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld used by $CC" >&5
4292 $as_echo_n "checking for ld used by $CC... " >&6; }
4293   case $host in
4294   *-*-mingw*)
4295     # gcc leaves a trailing carriage return which upsets mingw
4296     ac_prog=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
4297   *)
4298     ac_prog=`($CC -print-prog-name=ld) 2>&5` ;;
4299   esac
4300   case $ac_prog in
4301     # Accept absolute paths.
4302     [\\/]* | ?:[\\/]*)
4303       re_direlt='/[^/][^/]*/\.\./'
4304       # Canonicalize the pathname of ld
4305       ac_prog=`$ECHO "$ac_prog"| $SED 's%\\\\%/%g'`
4306       while $ECHO "$ac_prog" | $GREP "$re_direlt" > /dev/null 2>&1; do
4307         ac_prog=`$ECHO $ac_prog| $SED "s%$re_direlt%/%"`
4308       done
4309       test -z "$LD" && LD="$ac_prog"
4310       ;;
4311   "")
4312     # If it fails, then pretend we aren't using GCC.
4313     ac_prog=ld
4314     ;;
4315   *)
4316     # If it is relative, then search for the first ld in PATH.
4317     with_gnu_ld=unknown
4318     ;;
4319   esac
4320 elif test "$with_gnu_ld" = yes; then
4321   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU ld" >&5
4322 $as_echo_n "checking for GNU ld... " >&6; }
4323 else
4324   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for non-GNU ld" >&5
4325 $as_echo_n "checking for non-GNU ld... " >&6; }
4326 fi
4327 if ${lt_cv_path_LD+:} false; then :
4328   $as_echo_n "(cached) " >&6
4329 else
4330   if test -z "$LD"; then
4331   lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
4332   for ac_dir in $PATH; do
4333     IFS="$lt_save_ifs"
4334     test -z "$ac_dir" && ac_dir=.
4335     if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then
4336       lt_cv_path_LD="$ac_dir/$ac_prog"
4337       # Check to see if the program is GNU ld.  I'd rather use --version,
4338       # but apparently some variants of GNU ld only accept -v.
4339       # Break only if it was the GNU/non-GNU ld that we prefer.
4340       case `"$lt_cv_path_LD" -v 2>&1 </dev/null` in
4341       *GNU* | *'with BFD'*)
4342         test "$with_gnu_ld" != no && break
4343         ;;
4344       *)
4345         test "$with_gnu_ld" != yes && break
4346         ;;
4347       esac
4348     fi
4349   done
4350   IFS="$lt_save_ifs"
4351 else
4352   lt_cv_path_LD="$LD" # Let the user override the test with a path.
4353 fi
4354 fi
4355
4356 LD="$lt_cv_path_LD"
4357 if test -n "$LD"; then
4358   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LD" >&5
4359 $as_echo "$LD" >&6; }
4360 else
4361   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4362 $as_echo "no" >&6; }
4363 fi
4364 test -z "$LD" && as_fn_error $? "no acceptable ld found in \$PATH" "$LINENO" 5
4365 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if the linker ($LD) is GNU ld" >&5
4366 $as_echo_n "checking if the linker ($LD) is GNU ld... " >&6; }
4367 if ${lt_cv_prog_gnu_ld+:} false; then :
4368   $as_echo_n "(cached) " >&6
4369 else
4370   # I'd rather use --version here, but apparently some GNU lds only accept -v.
4371 case `$LD -v 2>&1 </dev/null` in
4372 *GNU* | *'with BFD'*)
4373   lt_cv_prog_gnu_ld=yes
4374   ;;
4375 *)
4376   lt_cv_prog_gnu_ld=no
4377   ;;
4378 esac
4379 fi
4380 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_gnu_ld" >&5
4381 $as_echo "$lt_cv_prog_gnu_ld" >&6; }
4382 with_gnu_ld=$lt_cv_prog_gnu_ld
4383
4384
4385
4386
4387
4388
4389
4390
4391
4392 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for BSD- or MS-compatible name lister (nm)" >&5
4393 $as_echo_n "checking for BSD- or MS-compatible name lister (nm)... " >&6; }
4394 if ${lt_cv_path_NM+:} false; then :
4395   $as_echo_n "(cached) " >&6
4396 else
4397   if test -n "$NM"; then
4398   # Let the user override the test.
4399   lt_cv_path_NM="$NM"
4400 else
4401   lt_nm_to_check="${ac_tool_prefix}nm"
4402   if test -n "$ac_tool_prefix" && test "$build" = "$host"; then
4403     lt_nm_to_check="$lt_nm_to_check nm"
4404   fi
4405   for lt_tmp_nm in $lt_nm_to_check; do
4406     lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
4407     for ac_dir in $PATH /usr/ccs/bin/elf /usr/ccs/bin /usr/ucb /bin; do
4408       IFS="$lt_save_ifs"
4409       test -z "$ac_dir" && ac_dir=.
4410       tmp_nm="$ac_dir/$lt_tmp_nm"
4411       if test -f "$tmp_nm" || test -f "$tmp_nm$ac_exeext" ; then
4412         # Check to see if the nm accepts a BSD-compat flag.
4413         # Adding the `sed 1q' prevents false positives on HP-UX, which says:
4414         #   nm: unknown option "B" ignored
4415         # Tru64's nm complains that /dev/null is an invalid object file
4416         case `"$tmp_nm" -B /dev/null 2>&1 | sed '1q'` in
4417         */dev/null* | *'Invalid file or object type'*)
4418           lt_cv_path_NM="$tmp_nm -B"
4419           break
4420           ;;
4421         *)
4422           case `"$tmp_nm" -p /dev/null 2>&1 | sed '1q'` in
4423           */dev/null*)
4424             lt_cv_path_NM="$tmp_nm -p"
4425             break
4426             ;;
4427           *)
4428             lt_cv_path_NM=${lt_cv_path_NM="$tmp_nm"} # keep the first match, but
4429             continue # so that we can try to find one that supports BSD flags
4430             ;;
4431           esac
4432           ;;
4433         esac
4434       fi
4435     done
4436     IFS="$lt_save_ifs"
4437   done
4438   : ${lt_cv_path_NM=no}
4439 fi
4440 fi
4441 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_path_NM" >&5
4442 $as_echo "$lt_cv_path_NM" >&6; }
4443 if test "$lt_cv_path_NM" != "no"; then
4444   NM="$lt_cv_path_NM"
4445 else
4446   # Didn't find any BSD compatible name lister, look for dumpbin.
4447   if test -n "$DUMPBIN"; then :
4448     # Let the user override the test.
4449   else
4450     if test -n "$ac_tool_prefix"; then
4451   for ac_prog in dumpbin "link -dump"
4452   do
4453     # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
4454 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
4455 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4456 $as_echo_n "checking for $ac_word... " >&6; }
4457 if ${ac_cv_prog_DUMPBIN+:} false; then :
4458   $as_echo_n "(cached) " >&6
4459 else
4460   if test -n "$DUMPBIN"; then
4461   ac_cv_prog_DUMPBIN="$DUMPBIN" # Let the user override the test.
4462 else
4463 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4464 for as_dir in $PATH
4465 do
4466   IFS=$as_save_IFS
4467   test -z "$as_dir" && as_dir=.
4468     for ac_exec_ext in '' $ac_executable_extensions; do
4469   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4470     ac_cv_prog_DUMPBIN="$ac_tool_prefix$ac_prog"
4471     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4472     break 2
4473   fi
4474 done
4475   done
4476 IFS=$as_save_IFS
4477
4478 fi
4479 fi
4480 DUMPBIN=$ac_cv_prog_DUMPBIN
4481 if test -n "$DUMPBIN"; then
4482   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DUMPBIN" >&5
4483 $as_echo "$DUMPBIN" >&6; }
4484 else
4485   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4486 $as_echo "no" >&6; }
4487 fi
4488
4489
4490     test -n "$DUMPBIN" && break
4491   done
4492 fi
4493 if test -z "$DUMPBIN"; then
4494   ac_ct_DUMPBIN=$DUMPBIN
4495   for ac_prog in dumpbin "link -dump"
4496 do
4497   # Extract the first word of "$ac_prog", so it can be a program name with args.
4498 set dummy $ac_prog; ac_word=$2
4499 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4500 $as_echo_n "checking for $ac_word... " >&6; }
4501 if ${ac_cv_prog_ac_ct_DUMPBIN+:} false; then :
4502   $as_echo_n "(cached) " >&6
4503 else
4504   if test -n "$ac_ct_DUMPBIN"; then
4505   ac_cv_prog_ac_ct_DUMPBIN="$ac_ct_DUMPBIN" # Let the user override the test.
4506 else
4507 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4508 for as_dir in $PATH
4509 do
4510   IFS=$as_save_IFS
4511   test -z "$as_dir" && as_dir=.
4512     for ac_exec_ext in '' $ac_executable_extensions; do
4513   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4514     ac_cv_prog_ac_ct_DUMPBIN="$ac_prog"
4515     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4516     break 2
4517   fi
4518 done
4519   done
4520 IFS=$as_save_IFS
4521
4522 fi
4523 fi
4524 ac_ct_DUMPBIN=$ac_cv_prog_ac_ct_DUMPBIN
4525 if test -n "$ac_ct_DUMPBIN"; then
4526   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DUMPBIN" >&5
4527 $as_echo "$ac_ct_DUMPBIN" >&6; }
4528 else
4529   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4530 $as_echo "no" >&6; }
4531 fi
4532
4533
4534   test -n "$ac_ct_DUMPBIN" && break
4535 done
4536
4537   if test "x$ac_ct_DUMPBIN" = x; then
4538     DUMPBIN=":"
4539   else
4540     case $cross_compiling:$ac_tool_warned in
4541 yes:)
4542 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4543 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4544 ac_tool_warned=yes ;;
4545 esac
4546     DUMPBIN=$ac_ct_DUMPBIN
4547   fi
4548 fi
4549
4550     case `$DUMPBIN -symbols /dev/null 2>&1 | sed '1q'` in
4551     *COFF*)
4552       DUMPBIN="$DUMPBIN -symbols"
4553       ;;
4554     *)
4555       DUMPBIN=:
4556       ;;
4557     esac
4558   fi
4559
4560   if test "$DUMPBIN" != ":"; then
4561     NM="$DUMPBIN"
4562   fi
4563 fi
4564 test -z "$NM" && NM=nm
4565
4566
4567
4568
4569
4570
4571 { $as_echo "$as_me:${as_lineno-$LINENO}: checking the name lister ($NM) interface" >&5
4572 $as_echo_n "checking the name lister ($NM) interface... " >&6; }
4573 if ${lt_cv_nm_interface+:} false; then :
4574   $as_echo_n "(cached) " >&6
4575 else
4576   lt_cv_nm_interface="BSD nm"
4577   echo "int some_variable = 0;" > conftest.$ac_ext
4578   (eval echo "\"\$as_me:$LINENO: $ac_compile\"" >&5)
4579   (eval "$ac_compile" 2>conftest.err)
4580   cat conftest.err >&5
4581   (eval echo "\"\$as_me:$LINENO: $NM \\\"conftest.$ac_objext\\\"\"" >&5)
4582   (eval "$NM \"conftest.$ac_objext\"" 2>conftest.err > conftest.out)
4583   cat conftest.err >&5
4584   (eval echo "\"\$as_me:$LINENO: output\"" >&5)
4585   cat conftest.out >&5
4586   if $GREP 'External.*some_variable' conftest.out > /dev/null; then
4587     lt_cv_nm_interface="MS dumpbin"
4588   fi
4589   rm -f conftest*
4590 fi
4591 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_nm_interface" >&5
4592 $as_echo "$lt_cv_nm_interface" >&6; }
4593
4594 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ln -s works" >&5
4595 $as_echo_n "checking whether ln -s works... " >&6; }
4596 LN_S=$as_ln_s
4597 if test "$LN_S" = "ln -s"; then
4598   { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
4599 $as_echo "yes" >&6; }
4600 else
4601   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no, using $LN_S" >&5
4602 $as_echo "no, using $LN_S" >&6; }
4603 fi
4604
4605 # find the maximum length of command line arguments
4606 { $as_echo "$as_me:${as_lineno-$LINENO}: checking the maximum length of command line arguments" >&5
4607 $as_echo_n "checking the maximum length of command line arguments... " >&6; }
4608 if ${lt_cv_sys_max_cmd_len+:} false; then :
4609   $as_echo_n "(cached) " >&6
4610 else
4611     i=0
4612   teststring="ABCD"
4613
4614   case $build_os in
4615   msdosdjgpp*)
4616     # On DJGPP, this test can blow up pretty badly due to problems in libc
4617     # (any single argument exceeding 2000 bytes causes a buffer overrun
4618     # during glob expansion).  Even if it were fixed, the result of this
4619     # check would be larger than it should be.
4620     lt_cv_sys_max_cmd_len=12288;    # 12K is about right
4621     ;;
4622
4623   gnu*)
4624     # Under GNU Hurd, this test is not required because there is
4625     # no limit to the length of command line arguments.
4626     # Libtool will interpret -1 as no limit whatsoever
4627     lt_cv_sys_max_cmd_len=-1;
4628     ;;
4629
4630   cygwin* | mingw* | cegcc*)
4631     # On Win9x/ME, this test blows up -- it succeeds, but takes
4632     # about 5 minutes as the teststring grows exponentially.
4633     # Worse, since 9x/ME are not pre-emptively multitasking,
4634     # you end up with a "frozen" computer, even though with patience
4635     # the test eventually succeeds (with a max line length of 256k).
4636     # Instead, let's just punt: use the minimum linelength reported by
4637     # all of the supported platforms: 8192 (on NT/2K/XP).
4638     lt_cv_sys_max_cmd_len=8192;
4639     ;;
4640
4641   mint*)
4642     # On MiNT this can take a long time and run out of memory.
4643     lt_cv_sys_max_cmd_len=8192;
4644     ;;
4645
4646   amigaos*)
4647     # On AmigaOS with pdksh, this test takes hours, literally.
4648     # So we just punt and use a minimum line length of 8192.
4649     lt_cv_sys_max_cmd_len=8192;
4650     ;;
4651
4652   netbsd* | freebsd* | openbsd* | darwin* | dragonfly*)
4653     # This has been around since 386BSD, at least.  Likely further.
4654     if test -x /sbin/sysctl; then
4655       lt_cv_sys_max_cmd_len=`/sbin/sysctl -n kern.argmax`
4656     elif test -x /usr/sbin/sysctl; then
4657       lt_cv_sys_max_cmd_len=`/usr/sbin/sysctl -n kern.argmax`
4658     else
4659       lt_cv_sys_max_cmd_len=65536       # usable default for all BSDs
4660     fi
4661     # And add a safety zone
4662     lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4`
4663     lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3`
4664     ;;
4665
4666   interix*)
4667     # We know the value 262144 and hardcode it with a safety zone (like BSD)
4668     lt_cv_sys_max_cmd_len=196608
4669     ;;
4670
4671   os2*)
4672     # The test takes a long time on OS/2.
4673     lt_cv_sys_max_cmd_len=8192
4674     ;;
4675
4676   osf*)
4677     # Dr. Hans Ekkehard Plesser reports seeing a kernel panic running configure
4678     # due to this test when exec_disable_arg_limit is 1 on Tru64. It is not
4679     # nice to cause kernel panics so lets avoid the loop below.
4680     # First set a reasonable default.
4681     lt_cv_sys_max_cmd_len=16384
4682     #
4683     if test -x /sbin/sysconfig; then
4684       case `/sbin/sysconfig -q proc exec_disable_arg_limit` in
4685         *1*) lt_cv_sys_max_cmd_len=-1 ;;
4686       esac
4687     fi
4688     ;;
4689   sco3.2v5*)
4690     lt_cv_sys_max_cmd_len=102400
4691     ;;
4692   sysv5* | sco5v6* | sysv4.2uw2*)
4693     kargmax=`grep ARG_MAX /etc/conf/cf.d/stune 2>/dev/null`
4694     if test -n "$kargmax"; then
4695       lt_cv_sys_max_cmd_len=`echo $kargmax | sed 's/.*[  ]//'`
4696     else
4697       lt_cv_sys_max_cmd_len=32768
4698     fi
4699     ;;
4700   *)
4701     lt_cv_sys_max_cmd_len=`(getconf ARG_MAX) 2> /dev/null`
4702     if test -n "$lt_cv_sys_max_cmd_len" && \
4703         test undefined != "$lt_cv_sys_max_cmd_len"; then
4704       lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4`
4705       lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3`
4706     else
4707       # Make teststring a little bigger before we do anything with it.
4708       # a 1K string should be a reasonable start.
4709       for i in 1 2 3 4 5 6 7 8 ; do
4710         teststring=$teststring$teststring
4711       done
4712       SHELL=${SHELL-${CONFIG_SHELL-/bin/sh}}
4713       # If test is not a shell built-in, we'll probably end up computing a
4714       # maximum length that is only half of the actual maximum length, but
4715       # we can't tell.
4716       while { test "X"`env echo "$teststring$teststring" 2>/dev/null` \
4717                  = "X$teststring$teststring"; } >/dev/null 2>&1 &&
4718               test $i != 17 # 1/2 MB should be enough
4719       do
4720         i=`expr $i + 1`
4721         teststring=$teststring$teststring
4722       done
4723       # Only check the string length outside the loop.
4724       lt_cv_sys_max_cmd_len=`expr "X$teststring" : ".*" 2>&1`
4725       teststring=
4726       # Add a significant safety factor because C++ compilers can tack on
4727       # massive amounts of additional arguments before passing them to the
4728       # linker.  It appears as though 1/2 is a usable value.
4729       lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 2`
4730     fi
4731     ;;
4732   esac
4733
4734 fi
4735
4736 if test -n $lt_cv_sys_max_cmd_len ; then
4737   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_sys_max_cmd_len" >&5
4738 $as_echo "$lt_cv_sys_max_cmd_len" >&6; }
4739 else
4740   { $as_echo "$as_me:${as_lineno-$LINENO}: result: none" >&5
4741 $as_echo "none" >&6; }
4742 fi
4743 max_cmd_len=$lt_cv_sys_max_cmd_len
4744
4745
4746
4747
4748
4749
4750 : ${CP="cp -f"}
4751 : ${MV="mv -f"}
4752 : ${RM="rm -f"}
4753
4754 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the shell understands some XSI constructs" >&5
4755 $as_echo_n "checking whether the shell understands some XSI constructs... " >&6; }
4756 # Try some XSI features
4757 xsi_shell=no
4758 ( _lt_dummy="a/b/c"
4759   test "${_lt_dummy##*/},${_lt_dummy%/*},${_lt_dummy#??}"${_lt_dummy%"$_lt_dummy"}, \
4760       = c,a/b,b/c, \
4761     && eval 'test $(( 1 + 1 )) -eq 2 \
4762     && test "${#_lt_dummy}" -eq 5' ) >/dev/null 2>&1 \
4763   && xsi_shell=yes
4764 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xsi_shell" >&5
4765 $as_echo "$xsi_shell" >&6; }
4766
4767
4768 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the shell understands \"+=\"" >&5
4769 $as_echo_n "checking whether the shell understands \"+=\"... " >&6; }
4770 lt_shell_append=no
4771 ( foo=bar; set foo baz; eval "$1+=\$2" && test "$foo" = barbaz ) \
4772     >/dev/null 2>&1 \
4773   && lt_shell_append=yes
4774 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_shell_append" >&5
4775 $as_echo "$lt_shell_append" >&6; }
4776
4777
4778 if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
4779   lt_unset=unset
4780 else
4781   lt_unset=false
4782 fi
4783
4784
4785
4786
4787
4788 # test EBCDIC or ASCII
4789 case `echo X|tr X '\101'` in
4790  A) # ASCII based system
4791     # \n is not interpreted correctly by Solaris 8 /usr/ucb/tr
4792   lt_SP2NL='tr \040 \012'
4793   lt_NL2SP='tr \015\012 \040\040'
4794   ;;
4795  *) # EBCDIC based system
4796   lt_SP2NL='tr \100 \n'
4797   lt_NL2SP='tr \r\n \100\100'
4798   ;;
4799 esac
4800
4801
4802
4803
4804
4805
4806
4807
4808
4809 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to convert $build file names to $host format" >&5
4810 $as_echo_n "checking how to convert $build file names to $host format... " >&6; }
4811 if ${lt_cv_to_host_file_cmd+:} false; then :
4812   $as_echo_n "(cached) " >&6
4813 else
4814   case $host in
4815   *-*-mingw* )
4816     case $build in
4817       *-*-mingw* ) # actually msys
4818         lt_cv_to_host_file_cmd=func_convert_file_msys_to_w32
4819         ;;
4820       *-*-cygwin* )
4821         lt_cv_to_host_file_cmd=func_convert_file_cygwin_to_w32
4822         ;;
4823       * ) # otherwise, assume *nix
4824         lt_cv_to_host_file_cmd=func_convert_file_nix_to_w32
4825         ;;
4826     esac
4827     ;;
4828   *-*-cygwin* )
4829     case $build in
4830       *-*-mingw* ) # actually msys
4831         lt_cv_to_host_file_cmd=func_convert_file_msys_to_cygwin
4832         ;;
4833       *-*-cygwin* )
4834         lt_cv_to_host_file_cmd=func_convert_file_noop
4835         ;;
4836       * ) # otherwise, assume *nix
4837         lt_cv_to_host_file_cmd=func_convert_file_nix_to_cygwin
4838         ;;
4839     esac
4840     ;;
4841   * ) # unhandled hosts (and "normal" native builds)
4842     lt_cv_to_host_file_cmd=func_convert_file_noop
4843     ;;
4844 esac
4845
4846 fi
4847
4848 to_host_file_cmd=$lt_cv_to_host_file_cmd
4849 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_to_host_file_cmd" >&5
4850 $as_echo "$lt_cv_to_host_file_cmd" >&6; }
4851
4852
4853
4854
4855
4856 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to convert $build file names to toolchain format" >&5
4857 $as_echo_n "checking how to convert $build file names to toolchain format... " >&6; }
4858 if ${lt_cv_to_tool_file_cmd+:} false; then :
4859   $as_echo_n "(cached) " >&6
4860 else
4861   #assume ordinary cross tools, or native build.
4862 lt_cv_to_tool_file_cmd=func_convert_file_noop
4863 case $host in
4864   *-*-mingw* )
4865     case $build in
4866       *-*-mingw* ) # actually msys
4867         lt_cv_to_tool_file_cmd=func_convert_file_msys_to_w32
4868         ;;
4869     esac
4870     ;;
4871 esac
4872
4873 fi
4874
4875 to_tool_file_cmd=$lt_cv_to_tool_file_cmd
4876 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_to_tool_file_cmd" >&5
4877 $as_echo "$lt_cv_to_tool_file_cmd" >&6; }
4878
4879
4880
4881
4882
4883 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $LD option to reload object files" >&5
4884 $as_echo_n "checking for $LD option to reload object files... " >&6; }
4885 if ${lt_cv_ld_reload_flag+:} false; then :
4886   $as_echo_n "(cached) " >&6
4887 else
4888   lt_cv_ld_reload_flag='-r'
4889 fi
4890 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_reload_flag" >&5
4891 $as_echo "$lt_cv_ld_reload_flag" >&6; }
4892 reload_flag=$lt_cv_ld_reload_flag
4893 case $reload_flag in
4894 "" | " "*) ;;
4895 *) reload_flag=" $reload_flag" ;;
4896 esac
4897 reload_cmds='$LD$reload_flag -o $output$reload_objs'
4898 case $host_os in
4899   cygwin* | mingw* | pw32* | cegcc*)
4900     if test "$GCC" != yes; then
4901       reload_cmds=false
4902     fi
4903     ;;
4904   darwin*)
4905     if test "$GCC" = yes; then
4906       reload_cmds='$LTCC $LTCFLAGS -nostdlib ${wl}-r -o $output$reload_objs'
4907     else
4908       reload_cmds='$LD$reload_flag -o $output$reload_objs'
4909     fi
4910     ;;
4911 esac
4912
4913
4914
4915
4916
4917
4918
4919
4920
4921 if test -n "$ac_tool_prefix"; then
4922   # Extract the first word of "${ac_tool_prefix}objdump", so it can be a program name with args.
4923 set dummy ${ac_tool_prefix}objdump; ac_word=$2
4924 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4925 $as_echo_n "checking for $ac_word... " >&6; }
4926 if ${ac_cv_prog_OBJDUMP+:} false; then :
4927   $as_echo_n "(cached) " >&6
4928 else
4929   if test -n "$OBJDUMP"; then
4930   ac_cv_prog_OBJDUMP="$OBJDUMP" # Let the user override the test.
4931 else
4932 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4933 for as_dir in $PATH
4934 do
4935   IFS=$as_save_IFS
4936   test -z "$as_dir" && as_dir=.
4937     for ac_exec_ext in '' $ac_executable_extensions; do
4938   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4939     ac_cv_prog_OBJDUMP="${ac_tool_prefix}objdump"
4940     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4941     break 2
4942   fi
4943 done
4944   done
4945 IFS=$as_save_IFS
4946
4947 fi
4948 fi
4949 OBJDUMP=$ac_cv_prog_OBJDUMP
4950 if test -n "$OBJDUMP"; then
4951   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OBJDUMP" >&5
4952 $as_echo "$OBJDUMP" >&6; }
4953 else
4954   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4955 $as_echo "no" >&6; }
4956 fi
4957
4958
4959 fi
4960 if test -z "$ac_cv_prog_OBJDUMP"; then
4961   ac_ct_OBJDUMP=$OBJDUMP
4962   # Extract the first word of "objdump", so it can be a program name with args.
4963 set dummy objdump; ac_word=$2
4964 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4965 $as_echo_n "checking for $ac_word... " >&6; }
4966 if ${ac_cv_prog_ac_ct_OBJDUMP+:} false; then :
4967   $as_echo_n "(cached) " >&6
4968 else
4969   if test -n "$ac_ct_OBJDUMP"; then
4970   ac_cv_prog_ac_ct_OBJDUMP="$ac_ct_OBJDUMP" # Let the user override the test.
4971 else
4972 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4973 for as_dir in $PATH
4974 do
4975   IFS=$as_save_IFS
4976   test -z "$as_dir" && as_dir=.
4977     for ac_exec_ext in '' $ac_executable_extensions; do
4978   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4979     ac_cv_prog_ac_ct_OBJDUMP="objdump"
4980     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4981     break 2
4982   fi
4983 done
4984   done
4985 IFS=$as_save_IFS
4986
4987 fi
4988 fi
4989 ac_ct_OBJDUMP=$ac_cv_prog_ac_ct_OBJDUMP
4990 if test -n "$ac_ct_OBJDUMP"; then
4991   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OBJDUMP" >&5
4992 $as_echo "$ac_ct_OBJDUMP" >&6; }
4993 else
4994   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4995 $as_echo "no" >&6; }
4996 fi
4997
4998   if test "x$ac_ct_OBJDUMP" = x; then
4999     OBJDUMP="false"
5000   else
5001     case $cross_compiling:$ac_tool_warned in
5002 yes:)
5003 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5004 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5005 ac_tool_warned=yes ;;
5006 esac
5007     OBJDUMP=$ac_ct_OBJDUMP
5008   fi
5009 else
5010   OBJDUMP="$ac_cv_prog_OBJDUMP"
5011 fi
5012
5013 test -z "$OBJDUMP" && OBJDUMP=objdump
5014
5015
5016
5017
5018
5019
5020 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to recognize dependent libraries" >&5
5021 $as_echo_n "checking how to recognize dependent libraries... " >&6; }
5022 if ${lt_cv_deplibs_check_method+:} false; then :
5023   $as_echo_n "(cached) " >&6
5024 else
5025   lt_cv_file_magic_cmd='$MAGIC_CMD'
5026 lt_cv_file_magic_test_file=
5027 lt_cv_deplibs_check_method='unknown'
5028 # Need to set the preceding variable on all platforms that support
5029 # interlibrary dependencies.
5030 # 'none' -- dependencies not supported.
5031 # `unknown' -- same as none, but documents that we really don't know.
5032 # 'pass_all' -- all dependencies passed with no checks.
5033 # 'test_compile' -- check by making test program.
5034 # 'file_magic [[regex]]' -- check by looking for files in library path
5035 # which responds to the $file_magic_cmd with a given extended regex.
5036 # If you have `file' or equivalent on your system and you're not sure
5037 # whether `pass_all' will *always* work, you probably want this one.
5038
5039 case $host_os in
5040 aix[4-9]*)
5041   lt_cv_deplibs_check_method=pass_all
5042   ;;
5043
5044 beos*)
5045   lt_cv_deplibs_check_method=pass_all
5046   ;;
5047
5048 bsdi[45]*)
5049   lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (shared object|dynamic lib)'
5050   lt_cv_file_magic_cmd='/usr/bin/file -L'
5051   lt_cv_file_magic_test_file=/shlib/libc.so
5052   ;;
5053
5054 cygwin*)
5055   # func_win32_libid is a shell function defined in ltmain.sh
5056   lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL'
5057   lt_cv_file_magic_cmd='func_win32_libid'
5058   ;;
5059
5060 mingw* | pw32*)
5061   # Base MSYS/MinGW do not provide the 'file' command needed by
5062   # func_win32_libid shell function, so use a weaker test based on 'objdump',
5063   # unless we find 'file', for example because we are cross-compiling.
5064   # func_win32_libid assumes BSD nm, so disallow it if using MS dumpbin.
5065   if ( test "$lt_cv_nm_interface" = "BSD nm" && file / ) >/dev/null 2>&1; then
5066     lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL'
5067     lt_cv_file_magic_cmd='func_win32_libid'
5068   else
5069     # Keep this pattern in sync with the one in func_win32_libid.
5070     lt_cv_deplibs_check_method='file_magic file format (pei*-i386(.*architecture: i386)?|pe-arm-wince|pe-x86-64)'
5071     lt_cv_file_magic_cmd='$OBJDUMP -f'
5072   fi
5073   ;;
5074
5075 cegcc*)
5076   # use the weaker test based on 'objdump'. See mingw*.
5077   lt_cv_deplibs_check_method='file_magic file format pe-arm-.*little(.*architecture: arm)?'
5078   lt_cv_file_magic_cmd='$OBJDUMP -f'
5079   ;;
5080
5081 darwin* | rhapsody*)
5082   lt_cv_deplibs_check_method=pass_all
5083   ;;
5084
5085 freebsd* | dragonfly*)
5086   if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then
5087     case $host_cpu in
5088     i*86 )
5089       # Not sure whether the presence of OpenBSD here was a mistake.
5090       # Let's accept both of them until this is cleared up.
5091       lt_cv_deplibs_check_method='file_magic (FreeBSD|OpenBSD|DragonFly)/i[3-9]86 (compact )?demand paged shared library'
5092       lt_cv_file_magic_cmd=/usr/bin/file
5093       lt_cv_file_magic_test_file=`echo /usr/lib/libc.so.*`
5094       ;;
5095     esac
5096   else
5097     lt_cv_deplibs_check_method=pass_all
5098   fi
5099   ;;
5100
5101 haiku*)
5102   lt_cv_deplibs_check_method=pass_all
5103   ;;
5104
5105 hpux10.20* | hpux11*)
5106   lt_cv_file_magic_cmd=/usr/bin/file
5107   case $host_cpu in
5108   ia64*)
5109     lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|ELF-[0-9][0-9]) shared object file - IA64'
5110     lt_cv_file_magic_test_file=/usr/lib/hpux32/libc.so
5111     ;;
5112   hppa*64*)
5113     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]'
5114     lt_cv_file_magic_test_file=/usr/lib/pa20_64/libc.sl
5115     ;;
5116   *)
5117     lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|PA-RISC[0-9]\.[0-9]) shared library'
5118     lt_cv_file_magic_test_file=/usr/lib/libc.sl
5119     ;;
5120   esac
5121   ;;
5122
5123 interix[3-9]*)
5124   # PIC code is broken on Interix 3.x, that's why |\.a not |_pic\.a here
5125   lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|\.a)$'
5126   ;;
5127
5128 irix5* | irix6* | nonstopux*)
5129   case $LD in
5130   *-32|*"-32 ") libmagic=32-bit;;
5131   *-n32|*"-n32 ") libmagic=N32;;
5132   *-64|*"-64 ") libmagic=64-bit;;
5133   *) libmagic=never-match;;
5134   esac
5135   lt_cv_deplibs_check_method=pass_all
5136   ;;
5137
5138 # This must be glibc/ELF.
5139 linux* | k*bsd*-gnu | kopensolaris*-gnu | gnu*)
5140   lt_cv_deplibs_check_method=pass_all
5141   ;;
5142
5143 netbsd* | netbsdelf*-gnu)
5144   if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then
5145     lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
5146   else
5147     lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|_pic\.a)$'
5148   fi
5149   ;;
5150
5151 newos6*)
5152   lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (executable|dynamic lib)'
5153   lt_cv_file_magic_cmd=/usr/bin/file
5154   lt_cv_file_magic_test_file=/usr/lib/libnls.so
5155   ;;
5156
5157 *nto* | *qnx*)
5158   lt_cv_deplibs_check_method=pass_all
5159   ;;
5160
5161 openbsd*)
5162   if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
5163     lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|\.so|_pic\.a)$'
5164   else
5165     lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
5166   fi
5167   ;;
5168
5169 osf3* | osf4* | osf5*)
5170   lt_cv_deplibs_check_method=pass_all
5171   ;;
5172
5173 rdos*)
5174   lt_cv_deplibs_check_method=pass_all
5175   ;;
5176
5177 solaris*)
5178   lt_cv_deplibs_check_method=pass_all
5179   ;;
5180
5181 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
5182   lt_cv_deplibs_check_method=pass_all
5183   ;;
5184
5185 sysv4 | sysv4.3*)
5186   case $host_vendor in
5187   motorola)
5188     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]'
5189     lt_cv_file_magic_test_file=`echo /usr/lib/libc.so*`
5190     ;;
5191   ncr)
5192     lt_cv_deplibs_check_method=pass_all
5193     ;;
5194   sequent)
5195     lt_cv_file_magic_cmd='/bin/file'
5196     lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [LM]SB (shared object|dynamic lib )'
5197     ;;
5198   sni)
5199     lt_cv_file_magic_cmd='/bin/file'
5200     lt_cv_deplibs_check_method="file_magic ELF [0-9][0-9]*-bit [LM]SB dynamic lib"
5201     lt_cv_file_magic_test_file=/lib/libc.so
5202     ;;
5203   siemens)
5204     lt_cv_deplibs_check_method=pass_all
5205     ;;
5206   pc)
5207     lt_cv_deplibs_check_method=pass_all
5208     ;;
5209   esac
5210   ;;
5211
5212 tpf*)
5213   lt_cv_deplibs_check_method=pass_all
5214   ;;
5215 esac
5216
5217 fi
5218 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_deplibs_check_method" >&5
5219 $as_echo "$lt_cv_deplibs_check_method" >&6; }
5220
5221 file_magic_glob=
5222 want_nocaseglob=no
5223 if test "$build" = "$host"; then
5224   case $host_os in
5225   mingw* | pw32*)
5226     if ( shopt | grep nocaseglob ) >/dev/null 2>&1; then
5227       want_nocaseglob=yes
5228     else
5229       file_magic_glob=`echo aAbBcCdDeEfFgGhHiIjJkKlLmMnNoOpPqQrRsStTuUvVwWxXyYzZ | $SED -e "s/\(..\)/s\/[\1]\/[\1]\/g;/g"`
5230     fi
5231     ;;
5232   esac
5233 fi
5234
5235 file_magic_cmd=$lt_cv_file_magic_cmd
5236 deplibs_check_method=$lt_cv_deplibs_check_method
5237 test -z "$deplibs_check_method" && deplibs_check_method=unknown
5238
5239
5240
5241
5242
5243
5244
5245
5246
5247
5248
5249
5250
5251
5252
5253
5254
5255
5256
5257
5258
5259
5260 if test -n "$ac_tool_prefix"; then
5261   # Extract the first word of "${ac_tool_prefix}dlltool", so it can be a program name with args.
5262 set dummy ${ac_tool_prefix}dlltool; ac_word=$2
5263 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5264 $as_echo_n "checking for $ac_word... " >&6; }
5265 if ${ac_cv_prog_DLLTOOL+:} false; then :
5266   $as_echo_n "(cached) " >&6
5267 else
5268   if test -n "$DLLTOOL"; then
5269   ac_cv_prog_DLLTOOL="$DLLTOOL" # Let the user override the test.
5270 else
5271 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5272 for as_dir in $PATH
5273 do
5274   IFS=$as_save_IFS
5275   test -z "$as_dir" && as_dir=.
5276     for ac_exec_ext in '' $ac_executable_extensions; do
5277   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5278     ac_cv_prog_DLLTOOL="${ac_tool_prefix}dlltool"
5279     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5280     break 2
5281   fi
5282 done
5283   done
5284 IFS=$as_save_IFS
5285
5286 fi
5287 fi
5288 DLLTOOL=$ac_cv_prog_DLLTOOL
5289 if test -n "$DLLTOOL"; then
5290   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DLLTOOL" >&5
5291 $as_echo "$DLLTOOL" >&6; }
5292 else
5293   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5294 $as_echo "no" >&6; }
5295 fi
5296
5297
5298 fi
5299 if test -z "$ac_cv_prog_DLLTOOL"; then
5300   ac_ct_DLLTOOL=$DLLTOOL
5301   # Extract the first word of "dlltool", so it can be a program name with args.
5302 set dummy dlltool; ac_word=$2
5303 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5304 $as_echo_n "checking for $ac_word... " >&6; }
5305 if ${ac_cv_prog_ac_ct_DLLTOOL+:} false; then :
5306   $as_echo_n "(cached) " >&6
5307 else
5308   if test -n "$ac_ct_DLLTOOL"; then
5309   ac_cv_prog_ac_ct_DLLTOOL="$ac_ct_DLLTOOL" # Let the user override the test.
5310 else
5311 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5312 for as_dir in $PATH
5313 do
5314   IFS=$as_save_IFS
5315   test -z "$as_dir" && as_dir=.
5316     for ac_exec_ext in '' $ac_executable_extensions; do
5317   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5318     ac_cv_prog_ac_ct_DLLTOOL="dlltool"
5319     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5320     break 2
5321   fi
5322 done
5323   done
5324 IFS=$as_save_IFS
5325
5326 fi
5327 fi
5328 ac_ct_DLLTOOL=$ac_cv_prog_ac_ct_DLLTOOL
5329 if test -n "$ac_ct_DLLTOOL"; then
5330   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DLLTOOL" >&5
5331 $as_echo "$ac_ct_DLLTOOL" >&6; }
5332 else
5333   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5334 $as_echo "no" >&6; }
5335 fi
5336
5337   if test "x$ac_ct_DLLTOOL" = x; then
5338     DLLTOOL="false"
5339   else
5340     case $cross_compiling:$ac_tool_warned in
5341 yes:)
5342 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5343 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5344 ac_tool_warned=yes ;;
5345 esac
5346     DLLTOOL=$ac_ct_DLLTOOL
5347   fi
5348 else
5349   DLLTOOL="$ac_cv_prog_DLLTOOL"
5350 fi
5351
5352 test -z "$DLLTOOL" && DLLTOOL=dlltool
5353
5354
5355
5356
5357
5358
5359
5360 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to associate runtime and link libraries" >&5
5361 $as_echo_n "checking how to associate runtime and link libraries... " >&6; }
5362 if ${lt_cv_sharedlib_from_linklib_cmd+:} false; then :
5363   $as_echo_n "(cached) " >&6
5364 else
5365   lt_cv_sharedlib_from_linklib_cmd='unknown'
5366
5367 case $host_os in
5368 cygwin* | mingw* | pw32* | cegcc*)
5369   # two different shell functions defined in ltmain.sh
5370   # decide which to use based on capabilities of $DLLTOOL
5371   case `$DLLTOOL --help 2>&1` in
5372   *--identify-strict*)
5373     lt_cv_sharedlib_from_linklib_cmd=func_cygming_dll_for_implib
5374     ;;
5375   *)
5376     lt_cv_sharedlib_from_linklib_cmd=func_cygming_dll_for_implib_fallback
5377     ;;
5378   esac
5379   ;;
5380 *)
5381   # fallback: assume linklib IS sharedlib
5382   lt_cv_sharedlib_from_linklib_cmd="$ECHO"
5383   ;;
5384 esac
5385
5386 fi
5387 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_sharedlib_from_linklib_cmd" >&5
5388 $as_echo "$lt_cv_sharedlib_from_linklib_cmd" >&6; }
5389 sharedlib_from_linklib_cmd=$lt_cv_sharedlib_from_linklib_cmd
5390 test -z "$sharedlib_from_linklib_cmd" && sharedlib_from_linklib_cmd=$ECHO
5391
5392
5393
5394
5395
5396
5397
5398
5399 if test -n "$ac_tool_prefix"; then
5400   for ac_prog in ar
5401   do
5402     # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
5403 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
5404 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5405 $as_echo_n "checking for $ac_word... " >&6; }
5406 if ${ac_cv_prog_AR+:} false; then :
5407   $as_echo_n "(cached) " >&6
5408 else
5409   if test -n "$AR"; then
5410   ac_cv_prog_AR="$AR" # Let the user override the test.
5411 else
5412 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5413 for as_dir in $PATH
5414 do
5415   IFS=$as_save_IFS
5416   test -z "$as_dir" && as_dir=.
5417     for ac_exec_ext in '' $ac_executable_extensions; do
5418   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5419     ac_cv_prog_AR="$ac_tool_prefix$ac_prog"
5420     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5421     break 2
5422   fi
5423 done
5424   done
5425 IFS=$as_save_IFS
5426
5427 fi
5428 fi
5429 AR=$ac_cv_prog_AR
5430 if test -n "$AR"; then
5431   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AR" >&5
5432 $as_echo "$AR" >&6; }
5433 else
5434   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5435 $as_echo "no" >&6; }
5436 fi
5437
5438
5439     test -n "$AR" && break
5440   done
5441 fi
5442 if test -z "$AR"; then
5443   ac_ct_AR=$AR
5444   for ac_prog in ar
5445 do
5446   # Extract the first word of "$ac_prog", so it can be a program name with args.
5447 set dummy $ac_prog; ac_word=$2
5448 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5449 $as_echo_n "checking for $ac_word... " >&6; }
5450 if ${ac_cv_prog_ac_ct_AR+:} false; then :
5451   $as_echo_n "(cached) " >&6
5452 else
5453   if test -n "$ac_ct_AR"; then
5454   ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test.
5455 else
5456 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5457 for as_dir in $PATH
5458 do
5459   IFS=$as_save_IFS
5460   test -z "$as_dir" && as_dir=.
5461     for ac_exec_ext in '' $ac_executable_extensions; do
5462   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5463     ac_cv_prog_ac_ct_AR="$ac_prog"
5464     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5465     break 2
5466   fi
5467 done
5468   done
5469 IFS=$as_save_IFS
5470
5471 fi
5472 fi
5473 ac_ct_AR=$ac_cv_prog_ac_ct_AR
5474 if test -n "$ac_ct_AR"; then
5475   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_AR" >&5
5476 $as_echo "$ac_ct_AR" >&6; }
5477 else
5478   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5479 $as_echo "no" >&6; }
5480 fi
5481
5482
5483   test -n "$ac_ct_AR" && break
5484 done
5485
5486   if test "x$ac_ct_AR" = x; then
5487     AR="false"
5488   else
5489     case $cross_compiling:$ac_tool_warned in
5490 yes:)
5491 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5492 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5493 ac_tool_warned=yes ;;
5494 esac
5495     AR=$ac_ct_AR
5496   fi
5497 fi
5498
5499 : ${AR=ar}
5500 : ${AR_FLAGS=cru}
5501
5502
5503
5504
5505
5506
5507
5508
5509
5510
5511
5512 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for archiver @FILE support" >&5
5513 $as_echo_n "checking for archiver @FILE support... " >&6; }
5514 if ${lt_cv_ar_at_file+:} false; then :
5515   $as_echo_n "(cached) " >&6
5516 else
5517   lt_cv_ar_at_file=no
5518    cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5519 /* end confdefs.h.  */
5520
5521 int
5522 main ()
5523 {
5524
5525   ;
5526   return 0;
5527 }
5528 _ACEOF
5529 if ac_fn_c_try_compile "$LINENO"; then :
5530   echo conftest.$ac_objext > conftest.lst
5531       lt_ar_try='$AR $AR_FLAGS libconftest.a @conftest.lst >&5'
5532       { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$lt_ar_try\""; } >&5
5533   (eval $lt_ar_try) 2>&5
5534   ac_status=$?
5535   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
5536   test $ac_status = 0; }
5537       if test "$ac_status" -eq 0; then
5538         # Ensure the archiver fails upon bogus file names.
5539         rm -f conftest.$ac_objext libconftest.a
5540         { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$lt_ar_try\""; } >&5
5541   (eval $lt_ar_try) 2>&5
5542   ac_status=$?
5543   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
5544   test $ac_status = 0; }
5545         if test "$ac_status" -ne 0; then
5546           lt_cv_ar_at_file=@
5547         fi
5548       fi
5549       rm -f conftest.* libconftest.a
5550
5551 fi
5552 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5553
5554 fi
5555 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ar_at_file" >&5
5556 $as_echo "$lt_cv_ar_at_file" >&6; }
5557
5558 if test "x$lt_cv_ar_at_file" = xno; then
5559   archiver_list_spec=
5560 else
5561   archiver_list_spec=$lt_cv_ar_at_file
5562 fi
5563
5564
5565
5566
5567
5568
5569
5570 if test -n "$ac_tool_prefix"; then
5571   # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
5572 set dummy ${ac_tool_prefix}strip; ac_word=$2
5573 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5574 $as_echo_n "checking for $ac_word... " >&6; }
5575 if ${ac_cv_prog_STRIP+:} false; then :
5576   $as_echo_n "(cached) " >&6
5577 else
5578   if test -n "$STRIP"; then
5579   ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
5580 else
5581 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5582 for as_dir in $PATH
5583 do
5584   IFS=$as_save_IFS
5585   test -z "$as_dir" && as_dir=.
5586     for ac_exec_ext in '' $ac_executable_extensions; do
5587   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5588     ac_cv_prog_STRIP="${ac_tool_prefix}strip"
5589     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5590     break 2
5591   fi
5592 done
5593   done
5594 IFS=$as_save_IFS
5595
5596 fi
5597 fi
5598 STRIP=$ac_cv_prog_STRIP
5599 if test -n "$STRIP"; then
5600   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
5601 $as_echo "$STRIP" >&6; }
5602 else
5603   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5604 $as_echo "no" >&6; }
5605 fi
5606
5607
5608 fi
5609 if test -z "$ac_cv_prog_STRIP"; then
5610   ac_ct_STRIP=$STRIP
5611   # Extract the first word of "strip", so it can be a program name with args.
5612 set dummy strip; ac_word=$2
5613 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5614 $as_echo_n "checking for $ac_word... " >&6; }
5615 if ${ac_cv_prog_ac_ct_STRIP+:} false; then :
5616   $as_echo_n "(cached) " >&6
5617 else
5618   if test -n "$ac_ct_STRIP"; then
5619   ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
5620 else
5621 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5622 for as_dir in $PATH
5623 do
5624   IFS=$as_save_IFS
5625   test -z "$as_dir" && as_dir=.
5626     for ac_exec_ext in '' $ac_executable_extensions; do
5627   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5628     ac_cv_prog_ac_ct_STRIP="strip"
5629     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5630     break 2
5631   fi
5632 done
5633   done
5634 IFS=$as_save_IFS
5635
5636 fi
5637 fi
5638 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
5639 if test -n "$ac_ct_STRIP"; then
5640   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
5641 $as_echo "$ac_ct_STRIP" >&6; }
5642 else
5643   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5644 $as_echo "no" >&6; }
5645 fi
5646
5647   if test "x$ac_ct_STRIP" = x; then
5648     STRIP=":"
5649   else
5650     case $cross_compiling:$ac_tool_warned in
5651 yes:)
5652 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5653 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5654 ac_tool_warned=yes ;;
5655 esac
5656     STRIP=$ac_ct_STRIP
5657   fi
5658 else
5659   STRIP="$ac_cv_prog_STRIP"
5660 fi
5661
5662 test -z "$STRIP" && STRIP=:
5663
5664
5665
5666
5667
5668
5669 if test -n "$ac_tool_prefix"; then
5670   # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
5671 set dummy ${ac_tool_prefix}ranlib; ac_word=$2
5672 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5673 $as_echo_n "checking for $ac_word... " >&6; }
5674 if ${ac_cv_prog_RANLIB+:} false; then :
5675   $as_echo_n "(cached) " >&6
5676 else
5677   if test -n "$RANLIB"; then
5678   ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
5679 else
5680 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5681 for as_dir in $PATH
5682 do
5683   IFS=$as_save_IFS
5684   test -z "$as_dir" && as_dir=.
5685     for ac_exec_ext in '' $ac_executable_extensions; do
5686   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5687     ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
5688     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5689     break 2
5690   fi
5691 done
5692   done
5693 IFS=$as_save_IFS
5694
5695 fi
5696 fi
5697 RANLIB=$ac_cv_prog_RANLIB
5698 if test -n "$RANLIB"; then
5699   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $RANLIB" >&5
5700 $as_echo "$RANLIB" >&6; }
5701 else
5702   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5703 $as_echo "no" >&6; }
5704 fi
5705
5706
5707 fi
5708 if test -z "$ac_cv_prog_RANLIB"; then
5709   ac_ct_RANLIB=$RANLIB
5710   # Extract the first word of "ranlib", so it can be a program name with args.
5711 set dummy ranlib; ac_word=$2
5712 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5713 $as_echo_n "checking for $ac_word... " >&6; }
5714 if ${ac_cv_prog_ac_ct_RANLIB+:} false; then :
5715   $as_echo_n "(cached) " >&6
5716 else
5717   if test -n "$ac_ct_RANLIB"; then
5718   ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
5719 else
5720 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5721 for as_dir in $PATH
5722 do
5723   IFS=$as_save_IFS
5724   test -z "$as_dir" && as_dir=.
5725     for ac_exec_ext in '' $ac_executable_extensions; do
5726   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5727     ac_cv_prog_ac_ct_RANLIB="ranlib"
5728     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5729     break 2
5730   fi
5731 done
5732   done
5733 IFS=$as_save_IFS
5734
5735 fi
5736 fi
5737 ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
5738 if test -n "$ac_ct_RANLIB"; then
5739   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_RANLIB" >&5
5740 $as_echo "$ac_ct_RANLIB" >&6; }
5741 else
5742   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5743 $as_echo "no" >&6; }
5744 fi
5745
5746   if test "x$ac_ct_RANLIB" = x; then
5747     RANLIB=":"
5748   else
5749     case $cross_compiling:$ac_tool_warned in
5750 yes:)
5751 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5752 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5753 ac_tool_warned=yes ;;
5754 esac
5755     RANLIB=$ac_ct_RANLIB
5756   fi
5757 else
5758   RANLIB="$ac_cv_prog_RANLIB"
5759 fi
5760
5761 test -z "$RANLIB" && RANLIB=:
5762
5763
5764
5765
5766
5767
5768 # Determine commands to create old-style static archives.
5769 old_archive_cmds='$AR $AR_FLAGS $oldlib$oldobjs'
5770 old_postinstall_cmds='chmod 644 $oldlib'
5771 old_postuninstall_cmds=
5772
5773 if test -n "$RANLIB"; then
5774   case $host_os in
5775   openbsd*)
5776     old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB -t \$tool_oldlib"
5777     ;;
5778   *)
5779     old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB \$tool_oldlib"
5780     ;;
5781   esac
5782   old_archive_cmds="$old_archive_cmds~\$RANLIB \$tool_oldlib"
5783 fi
5784
5785 case $host_os in
5786   darwin*)
5787     lock_old_archive_extraction=yes ;;
5788   *)
5789     lock_old_archive_extraction=no ;;
5790 esac
5791
5792
5793
5794
5795
5796
5797
5798
5799
5800
5801
5802
5803
5804
5805
5806
5807
5808
5809
5810
5811
5812
5813
5814
5815
5816
5817
5818
5819
5820
5821
5822
5823
5824
5825
5826
5827
5828
5829
5830 # If no C compiler was specified, use CC.
5831 LTCC=${LTCC-"$CC"}
5832
5833 # If no C compiler flags were specified, use CFLAGS.
5834 LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
5835
5836 # Allow CC to be a program name with arguments.
5837 compiler=$CC
5838
5839
5840 # Check for command to grab the raw symbol name followed by C symbol from nm.
5841 { $as_echo "$as_me:${as_lineno-$LINENO}: checking command to parse $NM output from $compiler object" >&5
5842 $as_echo_n "checking command to parse $NM output from $compiler object... " >&6; }
5843 if ${lt_cv_sys_global_symbol_pipe+:} false; then :
5844   $as_echo_n "(cached) " >&6
5845 else
5846
5847 # These are sane defaults that work on at least a few old systems.
5848 # [They come from Ultrix.  What could be older than Ultrix?!! ;)]
5849
5850 # Character class describing NM global symbol codes.
5851 symcode='[BCDEGRST]'
5852
5853 # Regexp to match symbols that can be accessed directly from C.
5854 sympat='\([_A-Za-z][_A-Za-z0-9]*\)'
5855
5856 # Define system-specific variables.
5857 case $host_os in
5858 aix*)
5859   symcode='[BCDT]'
5860   ;;
5861 cygwin* | mingw* | pw32* | cegcc*)
5862   symcode='[ABCDGISTW]'
5863   ;;
5864 hpux*)
5865   if test "$host_cpu" = ia64; then
5866     symcode='[ABCDEGRST]'
5867   fi
5868   ;;
5869 irix* | nonstopux*)
5870   symcode='[BCDEGRST]'
5871   ;;
5872 osf*)
5873   symcode='[BCDEGQRST]'
5874   ;;
5875 solaris*)
5876   symcode='[BDRT]'
5877   ;;
5878 sco3.2v5*)
5879   symcode='[DT]'
5880   ;;
5881 sysv4.2uw2*)
5882   symcode='[DT]'
5883   ;;
5884 sysv5* | sco5v6* | unixware* | OpenUNIX*)
5885   symcode='[ABDT]'
5886   ;;
5887 sysv4)
5888   symcode='[DFNSTU]'
5889   ;;
5890 esac
5891
5892 # If we're using GNU nm, then use its standard symbol codes.
5893 case `$NM -V 2>&1` in
5894 *GNU* | *'with BFD'*)
5895   symcode='[ABCDGIRSTW]' ;;
5896 esac
5897
5898 # Transform an extracted symbol line into a proper C declaration.
5899 # Some systems (esp. on ia64) link data and code symbols differently,
5900 # so use this general approach.
5901 lt_cv_sys_global_symbol_to_cdecl="sed -n -e 's/^T .* \(.*\)$/extern int \1();/p' -e 's/^$symcode* .* \(.*\)$/extern char \1;/p'"
5902
5903 # Transform an extracted symbol line into symbol name and symbol address
5904 lt_cv_sys_global_symbol_to_c_name_address="sed -n -e 's/^: \([^ ]*\)[ ]*$/  {\\\"\1\\\", (void *) 0},/p' -e 's/^$symcode* \([^ ]*\) \([^ ]*\)$/  {\"\2\", (void *) \&\2},/p'"
5905 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'"
5906
5907 # Handle CRLF in mingw tool chain
5908 opt_cr=
5909 case $build_os in
5910 mingw*)
5911   opt_cr=`$ECHO 'x\{0,1\}' | tr x '\015'` # option cr in regexp
5912   ;;
5913 esac
5914
5915 # Try without a prefix underscore, then with it.
5916 for ac_symprfx in "" "_"; do
5917
5918   # Transform symcode, sympat, and symprfx into a raw symbol and a C symbol.
5919   symxfrm="\\1 $ac_symprfx\\2 \\2"
5920
5921   # Write the raw and C identifiers.
5922   if test "$lt_cv_nm_interface" = "MS dumpbin"; then
5923     # Fake it for dumpbin and say T for any non-static function
5924     # and D for any global variable.
5925     # Also find C++ and __fastcall symbols from MSVC++,
5926     # which start with @ or ?.
5927     lt_cv_sys_global_symbol_pipe="$AWK '"\
5928 "     {last_section=section; section=\$ 3};"\
5929 "     /^COFF SYMBOL TABLE/{for(i in hide) delete hide[i]};"\
5930 "     /Section length .*#relocs.*(pick any)/{hide[last_section]=1};"\
5931 "     \$ 0!~/External *\|/{next};"\
5932 "     / 0+ UNDEF /{next}; / UNDEF \([^|]\)*()/{next};"\
5933 "     {if(hide[section]) next};"\
5934 "     {f=0}; \$ 0~/\(\).*\|/{f=1}; {printf f ? \"T \" : \"D \"};"\
5935 "     {split(\$ 0, a, /\||\r/); split(a[2], s)};"\
5936 "     s[1]~/^[@?]/{print s[1], s[1]; next};"\
5937 "     s[1]~prfx {split(s[1],t,\"@\"); print t[1], substr(t[1],length(prfx))}"\
5938 "     ' prfx=^$ac_symprfx"
5939   else
5940     lt_cv_sys_global_symbol_pipe="sed -n -e 's/^.*[      ]\($symcode$symcode*\)[         ][      ]*$ac_symprfx$sympat$opt_cr$/$symxfrm/p'"
5941   fi
5942   lt_cv_sys_global_symbol_pipe="$lt_cv_sys_global_symbol_pipe | sed '/ __gnu_lto/d'"
5943
5944   # Check to see that the pipe works correctly.
5945   pipe_works=no
5946
5947   rm -f conftest*
5948   cat > conftest.$ac_ext <<_LT_EOF
5949 #ifdef __cplusplus
5950 extern "C" {
5951 #endif
5952 char nm_test_var;
5953 void nm_test_func(void);
5954 void nm_test_func(void){}
5955 #ifdef __cplusplus
5956 }
5957 #endif
5958 int main(){nm_test_var='a';nm_test_func();return(0);}
5959 _LT_EOF
5960
5961   if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
5962   (eval $ac_compile) 2>&5
5963   ac_status=$?
5964   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
5965   test $ac_status = 0; }; then
5966     # Now try to grab the symbols.
5967     nlist=conftest.nm
5968     if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$NM conftest.$ac_objext \| "$lt_cv_sys_global_symbol_pipe" \> $nlist\""; } >&5
5969   (eval $NM conftest.$ac_objext \| "$lt_cv_sys_global_symbol_pipe" \> $nlist) 2>&5
5970   ac_status=$?
5971   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
5972   test $ac_status = 0; } && test -s "$nlist"; then
5973       # Try sorting and uniquifying the output.
5974       if sort "$nlist" | uniq > "$nlist"T; then
5975         mv -f "$nlist"T "$nlist"
5976       else
5977         rm -f "$nlist"T
5978       fi
5979
5980       # Make sure that we snagged all the symbols we need.
5981       if $GREP ' nm_test_var$' "$nlist" >/dev/null; then
5982         if $GREP ' nm_test_func$' "$nlist" >/dev/null; then
5983           cat <<_LT_EOF > conftest.$ac_ext
5984 /* Keep this code in sync between libtool.m4, ltmain, lt_system.h, and tests.  */
5985 #if defined(_WIN32) || defined(__CYGWIN__) || defined(_WIN32_WCE)
5986 /* DATA imports from DLLs on WIN32 con't be const, because runtime
5987    relocations are performed -- see ld's documentation on pseudo-relocs.  */
5988 # define LT_DLSYM_CONST
5989 #elif defined(__osf__)
5990 /* This system does not cope well with relocations in const data.  */
5991 # define LT_DLSYM_CONST
5992 #else
5993 # define LT_DLSYM_CONST const
5994 #endif
5995
5996 #ifdef __cplusplus
5997 extern "C" {
5998 #endif
5999
6000 _LT_EOF
6001           # Now generate the symbol file.
6002           eval "$lt_cv_sys_global_symbol_to_cdecl"' < "$nlist" | $GREP -v main >> conftest.$ac_ext'
6003
6004           cat <<_LT_EOF >> conftest.$ac_ext
6005
6006 /* The mapping between symbol names and symbols.  */
6007 LT_DLSYM_CONST struct {
6008   const char *name;
6009   void       *address;
6010 }
6011 lt__PROGRAM__LTX_preloaded_symbols[] =
6012 {
6013   { "@PROGRAM@", (void *) 0 },
6014 _LT_EOF
6015           $SED "s/^$symcode$symcode* \(.*\) \(.*\)$/  {\"\2\", (void *) \&\2},/" < "$nlist" | $GREP -v main >> conftest.$ac_ext
6016           cat <<\_LT_EOF >> conftest.$ac_ext
6017   {0, (void *) 0}
6018 };
6019
6020 /* This works around a problem in FreeBSD linker */
6021 #ifdef FREEBSD_WORKAROUND
6022 static const void *lt_preloaded_setup() {
6023   return lt__PROGRAM__LTX_preloaded_symbols;
6024 }
6025 #endif
6026
6027 #ifdef __cplusplus
6028 }
6029 #endif
6030 _LT_EOF
6031           # Now try linking the two files.
6032           mv conftest.$ac_objext conftstm.$ac_objext
6033           lt_globsym_save_LIBS=$LIBS
6034           lt_globsym_save_CFLAGS=$CFLAGS
6035           LIBS="conftstm.$ac_objext"
6036           CFLAGS="$CFLAGS$lt_prog_compiler_no_builtin_flag"
6037           if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
6038   (eval $ac_link) 2>&5
6039   ac_status=$?
6040   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6041   test $ac_status = 0; } && test -s conftest${ac_exeext}; then
6042             pipe_works=yes
6043           fi
6044           LIBS=$lt_globsym_save_LIBS
6045           CFLAGS=$lt_globsym_save_CFLAGS
6046         else
6047           echo "cannot find nm_test_func in $nlist" >&5
6048         fi
6049       else
6050         echo "cannot find nm_test_var in $nlist" >&5
6051       fi
6052     else
6053       echo "cannot run $lt_cv_sys_global_symbol_pipe" >&5
6054     fi
6055   else
6056     echo "$progname: failed program was:" >&5
6057     cat conftest.$ac_ext >&5
6058   fi
6059   rm -rf conftest* conftst*
6060
6061   # Do not use the global_symbol_pipe unless it works.
6062   if test "$pipe_works" = yes; then
6063     break
6064   else
6065     lt_cv_sys_global_symbol_pipe=
6066   fi
6067 done
6068
6069 fi
6070
6071 if test -z "$lt_cv_sys_global_symbol_pipe"; then
6072   lt_cv_sys_global_symbol_to_cdecl=
6073 fi
6074 if test -z "$lt_cv_sys_global_symbol_pipe$lt_cv_sys_global_symbol_to_cdecl"; then
6075   { $as_echo "$as_me:${as_lineno-$LINENO}: result: failed" >&5
6076 $as_echo "failed" >&6; }
6077 else
6078   { $as_echo "$as_me:${as_lineno-$LINENO}: result: ok" >&5
6079 $as_echo "ok" >&6; }
6080 fi
6081
6082 # Response file support.
6083 if test "$lt_cv_nm_interface" = "MS dumpbin"; then
6084   nm_file_list_spec='@'
6085 elif $NM --help 2>/dev/null | grep '[@]FILE' >/dev/null; then
6086   nm_file_list_spec='@'
6087 fi
6088
6089
6090
6091
6092
6093
6094
6095
6096
6097
6098
6099
6100
6101
6102
6103
6104
6105
6106
6107
6108
6109
6110
6111
6112
6113
6114
6115 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sysroot" >&5
6116 $as_echo_n "checking for sysroot... " >&6; }
6117
6118 # Check whether --with-sysroot was given.
6119 if test "${with_sysroot+set}" = set; then :
6120   withval=$with_sysroot;
6121 else
6122   with_sysroot=no
6123 fi
6124
6125
6126 lt_sysroot=
6127 case ${with_sysroot} in #(
6128  yes)
6129    if test "$GCC" = yes; then
6130      lt_sysroot=`$CC --print-sysroot 2>/dev/null`
6131    fi
6132    ;; #(
6133  /*)
6134    lt_sysroot=`echo "$with_sysroot" | sed -e "$sed_quote_subst"`
6135    ;; #(
6136  no|'')
6137    ;; #(
6138  *)
6139    { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${with_sysroot}" >&5
6140 $as_echo "${with_sysroot}" >&6; }
6141    as_fn_error $? "The sysroot must be an absolute path." "$LINENO" 5
6142    ;;
6143 esac
6144
6145  { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${lt_sysroot:-no}" >&5
6146 $as_echo "${lt_sysroot:-no}" >&6; }
6147
6148
6149
6150
6151
6152 # Check whether --enable-libtool-lock was given.
6153 if test "${enable_libtool_lock+set}" = set; then :
6154   enableval=$enable_libtool_lock;
6155 fi
6156
6157 test "x$enable_libtool_lock" != xno && enable_libtool_lock=yes
6158
6159 # Some flags need to be propagated to the compiler or linker for good
6160 # libtool support.
6161 case $host in
6162 ia64-*-hpux*)
6163   # Find out which ABI we are using.
6164   echo 'int i;' > conftest.$ac_ext
6165   if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
6166   (eval $ac_compile) 2>&5
6167   ac_status=$?
6168   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6169   test $ac_status = 0; }; then
6170     case `/usr/bin/file conftest.$ac_objext` in
6171       *ELF-32*)
6172         HPUX_IA64_MODE="32"
6173         ;;
6174       *ELF-64*)
6175         HPUX_IA64_MODE="64"
6176         ;;
6177     esac
6178   fi
6179   rm -rf conftest*
6180   ;;
6181 *-*-irix6*)
6182   # Find out which ABI we are using.
6183   echo '#line '$LINENO' "configure"' > conftest.$ac_ext
6184   if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
6185   (eval $ac_compile) 2>&5
6186   ac_status=$?
6187   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6188   test $ac_status = 0; }; then
6189     if test "$lt_cv_prog_gnu_ld" = yes; then
6190       case `/usr/bin/file conftest.$ac_objext` in
6191         *32-bit*)
6192           LD="${LD-ld} -melf32bsmip"
6193           ;;
6194         *N32*)
6195           LD="${LD-ld} -melf32bmipn32"
6196           ;;
6197         *64-bit*)
6198           LD="${LD-ld} -melf64bmip"
6199         ;;
6200       esac
6201     else
6202       case `/usr/bin/file conftest.$ac_objext` in
6203         *32-bit*)
6204           LD="${LD-ld} -32"
6205           ;;
6206         *N32*)
6207           LD="${LD-ld} -n32"
6208           ;;
6209         *64-bit*)
6210           LD="${LD-ld} -64"
6211           ;;
6212       esac
6213     fi
6214   fi
6215   rm -rf conftest*
6216   ;;
6217
6218 x86_64-*kfreebsd*-gnu|x86_64-*linux*|ppc*-*linux*|powerpc*-*linux*| \
6219 s390*-*linux*|s390*-*tpf*|sparc*-*linux*)
6220   # Find out which ABI we are using.
6221   echo 'int i;' > conftest.$ac_ext
6222   if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
6223   (eval $ac_compile) 2>&5
6224   ac_status=$?
6225   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6226   test $ac_status = 0; }; then
6227     case `/usr/bin/file conftest.o` in
6228       *32-bit*)
6229         case $host in
6230           x86_64-*kfreebsd*-gnu)
6231             LD="${LD-ld} -m elf_i386_fbsd"
6232             ;;
6233           x86_64-*linux*)
6234             case `/usr/bin/file conftest.o` in
6235               *x86-64*)
6236                 LD="${LD-ld} -m elf32_x86_64"
6237                 ;;
6238               *)
6239                 LD="${LD-ld} -m elf_i386"
6240                 ;;
6241             esac
6242             ;;
6243           ppc64-*linux*|powerpc64-*linux*)
6244             LD="${LD-ld} -m elf32ppclinux"
6245             ;;
6246           s390x-*linux*)
6247             LD="${LD-ld} -m elf_s390"
6248             ;;
6249           sparc64-*linux*)
6250             LD="${LD-ld} -m elf32_sparc"
6251             ;;
6252         esac
6253         ;;
6254       *64-bit*)
6255         case $host in
6256           x86_64-*kfreebsd*-gnu)
6257             LD="${LD-ld} -m elf_x86_64_fbsd"
6258             ;;
6259           x86_64-*linux*)
6260             LD="${LD-ld} -m elf_x86_64"
6261             ;;
6262           ppc*-*linux*|powerpc*-*linux*)
6263             LD="${LD-ld} -m elf64ppc"
6264             ;;
6265           s390*-*linux*|s390*-*tpf*)
6266             LD="${LD-ld} -m elf64_s390"
6267             ;;
6268           sparc*-*linux*)
6269             LD="${LD-ld} -m elf64_sparc"
6270             ;;
6271         esac
6272         ;;
6273     esac
6274   fi
6275   rm -rf conftest*
6276   ;;
6277
6278 *-*-sco3.2v5*)
6279   # On SCO OpenServer 5, we need -belf to get full-featured binaries.
6280   SAVE_CFLAGS="$CFLAGS"
6281   CFLAGS="$CFLAGS -belf"
6282   { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler needs -belf" >&5
6283 $as_echo_n "checking whether the C compiler needs -belf... " >&6; }
6284 if ${lt_cv_cc_needs_belf+:} false; then :
6285   $as_echo_n "(cached) " >&6
6286 else
6287   ac_ext=c
6288 ac_cpp='$CPP $CPPFLAGS'
6289 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
6290 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
6291 ac_compiler_gnu=$ac_cv_c_compiler_gnu
6292
6293      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6294 /* end confdefs.h.  */
6295
6296 int
6297 main ()
6298 {
6299
6300   ;
6301   return 0;
6302 }
6303 _ACEOF
6304 if ac_fn_c_try_link "$LINENO"; then :
6305   lt_cv_cc_needs_belf=yes
6306 else
6307   lt_cv_cc_needs_belf=no
6308 fi
6309 rm -f core conftest.err conftest.$ac_objext \
6310     conftest$ac_exeext conftest.$ac_ext
6311      ac_ext=c
6312 ac_cpp='$CPP $CPPFLAGS'
6313 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
6314 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
6315 ac_compiler_gnu=$ac_cv_c_compiler_gnu
6316
6317 fi
6318 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_cc_needs_belf" >&5
6319 $as_echo "$lt_cv_cc_needs_belf" >&6; }
6320   if test x"$lt_cv_cc_needs_belf" != x"yes"; then
6321     # this is probably gcc 2.8.0, egcs 1.0 or newer; no need for -belf
6322     CFLAGS="$SAVE_CFLAGS"
6323   fi
6324   ;;
6325 *-*solaris*)
6326   # Find out which ABI we are using.
6327   echo 'int i;' > conftest.$ac_ext
6328   if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
6329   (eval $ac_compile) 2>&5
6330   ac_status=$?
6331   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6332   test $ac_status = 0; }; then
6333     case `/usr/bin/file conftest.o` in
6334     *64-bit*)
6335       case $lt_cv_prog_gnu_ld in
6336       yes*)
6337         case $host in
6338         i?86-*-solaris*)
6339           LD="${LD-ld} -m elf_x86_64"
6340           ;;
6341         sparc*-*-solaris*)
6342           LD="${LD-ld} -m elf64_sparc"
6343           ;;
6344         esac
6345         # GNU ld 2.21 introduced _sol2 emulations.  Use them if available.
6346         if ${LD-ld} -V | grep _sol2 >/dev/null 2>&1; then
6347           LD="${LD-ld}_sol2"
6348         fi
6349         ;;
6350       *)
6351         if ${LD-ld} -64 -r -o conftest2.o conftest.o >/dev/null 2>&1; then
6352           LD="${LD-ld} -64"
6353         fi
6354         ;;
6355       esac
6356       ;;
6357     esac
6358   fi
6359   rm -rf conftest*
6360   ;;
6361 esac
6362
6363 need_locks="$enable_libtool_lock"
6364
6365 if test -n "$ac_tool_prefix"; then
6366   # Extract the first word of "${ac_tool_prefix}mt", so it can be a program name with args.
6367 set dummy ${ac_tool_prefix}mt; ac_word=$2
6368 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6369 $as_echo_n "checking for $ac_word... " >&6; }
6370 if ${ac_cv_prog_MANIFEST_TOOL+:} false; then :
6371   $as_echo_n "(cached) " >&6
6372 else
6373   if test -n "$MANIFEST_TOOL"; then
6374   ac_cv_prog_MANIFEST_TOOL="$MANIFEST_TOOL" # Let the user override the test.
6375 else
6376 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6377 for as_dir in $PATH
6378 do
6379   IFS=$as_save_IFS
6380   test -z "$as_dir" && as_dir=.
6381     for ac_exec_ext in '' $ac_executable_extensions; do
6382   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6383     ac_cv_prog_MANIFEST_TOOL="${ac_tool_prefix}mt"
6384     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6385     break 2
6386   fi
6387 done
6388   done
6389 IFS=$as_save_IFS
6390
6391 fi
6392 fi
6393 MANIFEST_TOOL=$ac_cv_prog_MANIFEST_TOOL
6394 if test -n "$MANIFEST_TOOL"; then
6395   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MANIFEST_TOOL" >&5
6396 $as_echo "$MANIFEST_TOOL" >&6; }
6397 else
6398   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6399 $as_echo "no" >&6; }
6400 fi
6401
6402
6403 fi
6404 if test -z "$ac_cv_prog_MANIFEST_TOOL"; then
6405   ac_ct_MANIFEST_TOOL=$MANIFEST_TOOL
6406   # Extract the first word of "mt", so it can be a program name with args.
6407 set dummy mt; ac_word=$2
6408 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6409 $as_echo_n "checking for $ac_word... " >&6; }
6410 if ${ac_cv_prog_ac_ct_MANIFEST_TOOL+:} false; then :
6411   $as_echo_n "(cached) " >&6
6412 else
6413   if test -n "$ac_ct_MANIFEST_TOOL"; then
6414   ac_cv_prog_ac_ct_MANIFEST_TOOL="$ac_ct_MANIFEST_TOOL" # Let the user override the test.
6415 else
6416 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6417 for as_dir in $PATH
6418 do
6419   IFS=$as_save_IFS
6420   test -z "$as_dir" && as_dir=.
6421     for ac_exec_ext in '' $ac_executable_extensions; do
6422   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6423     ac_cv_prog_ac_ct_MANIFEST_TOOL="mt"
6424     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6425     break 2
6426   fi
6427 done
6428   done
6429 IFS=$as_save_IFS
6430
6431 fi
6432 fi
6433 ac_ct_MANIFEST_TOOL=$ac_cv_prog_ac_ct_MANIFEST_TOOL
6434 if test -n "$ac_ct_MANIFEST_TOOL"; then
6435   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_MANIFEST_TOOL" >&5
6436 $as_echo "$ac_ct_MANIFEST_TOOL" >&6; }
6437 else
6438   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6439 $as_echo "no" >&6; }
6440 fi
6441
6442   if test "x$ac_ct_MANIFEST_TOOL" = x; then
6443     MANIFEST_TOOL=":"
6444   else
6445     case $cross_compiling:$ac_tool_warned in
6446 yes:)
6447 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6448 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6449 ac_tool_warned=yes ;;
6450 esac
6451     MANIFEST_TOOL=$ac_ct_MANIFEST_TOOL
6452   fi
6453 else
6454   MANIFEST_TOOL="$ac_cv_prog_MANIFEST_TOOL"
6455 fi
6456
6457 test -z "$MANIFEST_TOOL" && MANIFEST_TOOL=mt
6458 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $MANIFEST_TOOL is a manifest tool" >&5
6459 $as_echo_n "checking if $MANIFEST_TOOL is a manifest tool... " >&6; }
6460 if ${lt_cv_path_mainfest_tool+:} false; then :
6461   $as_echo_n "(cached) " >&6
6462 else
6463   lt_cv_path_mainfest_tool=no
6464   echo "$as_me:$LINENO: $MANIFEST_TOOL '-?'" >&5
6465   $MANIFEST_TOOL '-?' 2>conftest.err > conftest.out
6466   cat conftest.err >&5
6467   if $GREP 'Manifest Tool' conftest.out > /dev/null; then
6468     lt_cv_path_mainfest_tool=yes
6469   fi
6470   rm -f conftest*
6471 fi
6472 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_path_mainfest_tool" >&5
6473 $as_echo "$lt_cv_path_mainfest_tool" >&6; }
6474 if test "x$lt_cv_path_mainfest_tool" != xyes; then
6475   MANIFEST_TOOL=:
6476 fi
6477
6478
6479
6480
6481
6482
6483   case $host_os in
6484     rhapsody* | darwin*)
6485     if test -n "$ac_tool_prefix"; then
6486   # Extract the first word of "${ac_tool_prefix}dsymutil", so it can be a program name with args.
6487 set dummy ${ac_tool_prefix}dsymutil; ac_word=$2
6488 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6489 $as_echo_n "checking for $ac_word... " >&6; }
6490 if ${ac_cv_prog_DSYMUTIL+:} false; then :
6491   $as_echo_n "(cached) " >&6
6492 else
6493   if test -n "$DSYMUTIL"; then
6494   ac_cv_prog_DSYMUTIL="$DSYMUTIL" # Let the user override the test.
6495 else
6496 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6497 for as_dir in $PATH
6498 do
6499   IFS=$as_save_IFS
6500   test -z "$as_dir" && as_dir=.
6501     for ac_exec_ext in '' $ac_executable_extensions; do
6502   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6503     ac_cv_prog_DSYMUTIL="${ac_tool_prefix}dsymutil"
6504     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6505     break 2
6506   fi
6507 done
6508   done
6509 IFS=$as_save_IFS
6510
6511 fi
6512 fi
6513 DSYMUTIL=$ac_cv_prog_DSYMUTIL
6514 if test -n "$DSYMUTIL"; then
6515   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DSYMUTIL" >&5
6516 $as_echo "$DSYMUTIL" >&6; }
6517 else
6518   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6519 $as_echo "no" >&6; }
6520 fi
6521
6522
6523 fi
6524 if test -z "$ac_cv_prog_DSYMUTIL"; then
6525   ac_ct_DSYMUTIL=$DSYMUTIL
6526   # Extract the first word of "dsymutil", so it can be a program name with args.
6527 set dummy dsymutil; ac_word=$2
6528 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6529 $as_echo_n "checking for $ac_word... " >&6; }
6530 if ${ac_cv_prog_ac_ct_DSYMUTIL+:} false; then :
6531   $as_echo_n "(cached) " >&6
6532 else
6533   if test -n "$ac_ct_DSYMUTIL"; then
6534   ac_cv_prog_ac_ct_DSYMUTIL="$ac_ct_DSYMUTIL" # Let the user override the test.
6535 else
6536 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6537 for as_dir in $PATH
6538 do
6539   IFS=$as_save_IFS
6540   test -z "$as_dir" && as_dir=.
6541     for ac_exec_ext in '' $ac_executable_extensions; do
6542   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6543     ac_cv_prog_ac_ct_DSYMUTIL="dsymutil"
6544     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6545     break 2
6546   fi
6547 done
6548   done
6549 IFS=$as_save_IFS
6550
6551 fi
6552 fi
6553 ac_ct_DSYMUTIL=$ac_cv_prog_ac_ct_DSYMUTIL
6554 if test -n "$ac_ct_DSYMUTIL"; then
6555   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DSYMUTIL" >&5
6556 $as_echo "$ac_ct_DSYMUTIL" >&6; }
6557 else
6558   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6559 $as_echo "no" >&6; }
6560 fi
6561
6562   if test "x$ac_ct_DSYMUTIL" = x; then
6563     DSYMUTIL=":"
6564   else
6565     case $cross_compiling:$ac_tool_warned in
6566 yes:)
6567 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6568 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6569 ac_tool_warned=yes ;;
6570 esac
6571     DSYMUTIL=$ac_ct_DSYMUTIL
6572   fi
6573 else
6574   DSYMUTIL="$ac_cv_prog_DSYMUTIL"
6575 fi
6576
6577     if test -n "$ac_tool_prefix"; then
6578   # Extract the first word of "${ac_tool_prefix}nmedit", so it can be a program name with args.
6579 set dummy ${ac_tool_prefix}nmedit; ac_word=$2
6580 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6581 $as_echo_n "checking for $ac_word... " >&6; }
6582 if ${ac_cv_prog_NMEDIT+:} false; then :
6583   $as_echo_n "(cached) " >&6
6584 else
6585   if test -n "$NMEDIT"; then
6586   ac_cv_prog_NMEDIT="$NMEDIT" # Let the user override the test.
6587 else
6588 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6589 for as_dir in $PATH
6590 do
6591   IFS=$as_save_IFS
6592   test -z "$as_dir" && as_dir=.
6593     for ac_exec_ext in '' $ac_executable_extensions; do
6594   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6595     ac_cv_prog_NMEDIT="${ac_tool_prefix}nmedit"
6596     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6597     break 2
6598   fi
6599 done
6600   done
6601 IFS=$as_save_IFS
6602
6603 fi
6604 fi
6605 NMEDIT=$ac_cv_prog_NMEDIT
6606 if test -n "$NMEDIT"; then
6607   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $NMEDIT" >&5
6608 $as_echo "$NMEDIT" >&6; }
6609 else
6610   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6611 $as_echo "no" >&6; }
6612 fi
6613
6614
6615 fi
6616 if test -z "$ac_cv_prog_NMEDIT"; then
6617   ac_ct_NMEDIT=$NMEDIT
6618   # Extract the first word of "nmedit", so it can be a program name with args.
6619 set dummy nmedit; ac_word=$2
6620 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6621 $as_echo_n "checking for $ac_word... " >&6; }
6622 if ${ac_cv_prog_ac_ct_NMEDIT+:} false; then :
6623   $as_echo_n "(cached) " >&6
6624 else
6625   if test -n "$ac_ct_NMEDIT"; then
6626   ac_cv_prog_ac_ct_NMEDIT="$ac_ct_NMEDIT" # Let the user override the test.
6627 else
6628 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6629 for as_dir in $PATH
6630 do
6631   IFS=$as_save_IFS
6632   test -z "$as_dir" && as_dir=.
6633     for ac_exec_ext in '' $ac_executable_extensions; do
6634   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6635     ac_cv_prog_ac_ct_NMEDIT="nmedit"
6636     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6637     break 2
6638   fi
6639 done
6640   done
6641 IFS=$as_save_IFS
6642
6643 fi
6644 fi
6645 ac_ct_NMEDIT=$ac_cv_prog_ac_ct_NMEDIT
6646 if test -n "$ac_ct_NMEDIT"; then
6647   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_NMEDIT" >&5
6648 $as_echo "$ac_ct_NMEDIT" >&6; }
6649 else
6650   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6651 $as_echo "no" >&6; }
6652 fi
6653
6654   if test "x$ac_ct_NMEDIT" = x; then
6655     NMEDIT=":"
6656   else
6657     case $cross_compiling:$ac_tool_warned in
6658 yes:)
6659 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6660 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6661 ac_tool_warned=yes ;;
6662 esac
6663     NMEDIT=$ac_ct_NMEDIT
6664   fi
6665 else
6666   NMEDIT="$ac_cv_prog_NMEDIT"
6667 fi
6668
6669     if test -n "$ac_tool_prefix"; then
6670   # Extract the first word of "${ac_tool_prefix}lipo", so it can be a program name with args.
6671 set dummy ${ac_tool_prefix}lipo; ac_word=$2
6672 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6673 $as_echo_n "checking for $ac_word... " >&6; }
6674 if ${ac_cv_prog_LIPO+:} false; then :
6675   $as_echo_n "(cached) " >&6
6676 else
6677   if test -n "$LIPO"; then
6678   ac_cv_prog_LIPO="$LIPO" # Let the user override the test.
6679 else
6680 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6681 for as_dir in $PATH
6682 do
6683   IFS=$as_save_IFS
6684   test -z "$as_dir" && as_dir=.
6685     for ac_exec_ext in '' $ac_executable_extensions; do
6686   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6687     ac_cv_prog_LIPO="${ac_tool_prefix}lipo"
6688     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6689     break 2
6690   fi
6691 done
6692   done
6693 IFS=$as_save_IFS
6694
6695 fi
6696 fi
6697 LIPO=$ac_cv_prog_LIPO
6698 if test -n "$LIPO"; then
6699   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LIPO" >&5
6700 $as_echo "$LIPO" >&6; }
6701 else
6702   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6703 $as_echo "no" >&6; }
6704 fi
6705
6706
6707 fi
6708 if test -z "$ac_cv_prog_LIPO"; then
6709   ac_ct_LIPO=$LIPO
6710   # Extract the first word of "lipo", so it can be a program name with args.
6711 set dummy lipo; ac_word=$2
6712 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6713 $as_echo_n "checking for $ac_word... " >&6; }
6714 if ${ac_cv_prog_ac_ct_LIPO+:} false; then :
6715   $as_echo_n "(cached) " >&6
6716 else
6717   if test -n "$ac_ct_LIPO"; then
6718   ac_cv_prog_ac_ct_LIPO="$ac_ct_LIPO" # Let the user override the test.
6719 else
6720 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6721 for as_dir in $PATH
6722 do
6723   IFS=$as_save_IFS
6724   test -z "$as_dir" && as_dir=.
6725     for ac_exec_ext in '' $ac_executable_extensions; do
6726   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6727     ac_cv_prog_ac_ct_LIPO="lipo"
6728     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6729     break 2
6730   fi
6731 done
6732   done
6733 IFS=$as_save_IFS
6734
6735 fi
6736 fi
6737 ac_ct_LIPO=$ac_cv_prog_ac_ct_LIPO
6738 if test -n "$ac_ct_LIPO"; then
6739   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_LIPO" >&5
6740 $as_echo "$ac_ct_LIPO" >&6; }
6741 else
6742   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6743 $as_echo "no" >&6; }
6744 fi
6745
6746   if test "x$ac_ct_LIPO" = x; then
6747     LIPO=":"
6748   else
6749     case $cross_compiling:$ac_tool_warned in
6750 yes:)
6751 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6752 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6753 ac_tool_warned=yes ;;
6754 esac
6755     LIPO=$ac_ct_LIPO
6756   fi
6757 else
6758   LIPO="$ac_cv_prog_LIPO"
6759 fi
6760
6761     if test -n "$ac_tool_prefix"; then
6762   # Extract the first word of "${ac_tool_prefix}otool", so it can be a program name with args.
6763 set dummy ${ac_tool_prefix}otool; ac_word=$2
6764 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6765 $as_echo_n "checking for $ac_word... " >&6; }
6766 if ${ac_cv_prog_OTOOL+:} false; then :
6767   $as_echo_n "(cached) " >&6
6768 else
6769   if test -n "$OTOOL"; then
6770   ac_cv_prog_OTOOL="$OTOOL" # Let the user override the test.
6771 else
6772 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6773 for as_dir in $PATH
6774 do
6775   IFS=$as_save_IFS
6776   test -z "$as_dir" && as_dir=.
6777     for ac_exec_ext in '' $ac_executable_extensions; do
6778   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6779     ac_cv_prog_OTOOL="${ac_tool_prefix}otool"
6780     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6781     break 2
6782   fi
6783 done
6784   done
6785 IFS=$as_save_IFS
6786
6787 fi
6788 fi
6789 OTOOL=$ac_cv_prog_OTOOL
6790 if test -n "$OTOOL"; then
6791   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OTOOL" >&5
6792 $as_echo "$OTOOL" >&6; }
6793 else
6794   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6795 $as_echo "no" >&6; }
6796 fi
6797
6798
6799 fi
6800 if test -z "$ac_cv_prog_OTOOL"; then
6801   ac_ct_OTOOL=$OTOOL
6802   # Extract the first word of "otool", so it can be a program name with args.
6803 set dummy otool; ac_word=$2
6804 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6805 $as_echo_n "checking for $ac_word... " >&6; }
6806 if ${ac_cv_prog_ac_ct_OTOOL+:} false; then :
6807   $as_echo_n "(cached) " >&6
6808 else
6809   if test -n "$ac_ct_OTOOL"; then
6810   ac_cv_prog_ac_ct_OTOOL="$ac_ct_OTOOL" # Let the user override the test.
6811 else
6812 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6813 for as_dir in $PATH
6814 do
6815   IFS=$as_save_IFS
6816   test -z "$as_dir" && as_dir=.
6817     for ac_exec_ext in '' $ac_executable_extensions; do
6818   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6819     ac_cv_prog_ac_ct_OTOOL="otool"
6820     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6821     break 2
6822   fi
6823 done
6824   done
6825 IFS=$as_save_IFS
6826
6827 fi
6828 fi
6829 ac_ct_OTOOL=$ac_cv_prog_ac_ct_OTOOL
6830 if test -n "$ac_ct_OTOOL"; then
6831   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OTOOL" >&5
6832 $as_echo "$ac_ct_OTOOL" >&6; }
6833 else
6834   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6835 $as_echo "no" >&6; }
6836 fi
6837
6838   if test "x$ac_ct_OTOOL" = x; then
6839     OTOOL=":"
6840   else
6841     case $cross_compiling:$ac_tool_warned in
6842 yes:)
6843 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6844 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6845 ac_tool_warned=yes ;;
6846 esac
6847     OTOOL=$ac_ct_OTOOL
6848   fi
6849 else
6850   OTOOL="$ac_cv_prog_OTOOL"
6851 fi
6852
6853     if test -n "$ac_tool_prefix"; then
6854   # Extract the first word of "${ac_tool_prefix}otool64", so it can be a program name with args.
6855 set dummy ${ac_tool_prefix}otool64; ac_word=$2
6856 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6857 $as_echo_n "checking for $ac_word... " >&6; }
6858 if ${ac_cv_prog_OTOOL64+:} false; then :
6859   $as_echo_n "(cached) " >&6
6860 else
6861   if test -n "$OTOOL64"; then
6862   ac_cv_prog_OTOOL64="$OTOOL64" # Let the user override the test.
6863 else
6864 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6865 for as_dir in $PATH
6866 do
6867   IFS=$as_save_IFS
6868   test -z "$as_dir" && as_dir=.
6869     for ac_exec_ext in '' $ac_executable_extensions; do
6870   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6871     ac_cv_prog_OTOOL64="${ac_tool_prefix}otool64"
6872     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6873     break 2
6874   fi
6875 done
6876   done
6877 IFS=$as_save_IFS
6878
6879 fi
6880 fi
6881 OTOOL64=$ac_cv_prog_OTOOL64
6882 if test -n "$OTOOL64"; then
6883   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OTOOL64" >&5
6884 $as_echo "$OTOOL64" >&6; }
6885 else
6886   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6887 $as_echo "no" >&6; }
6888 fi
6889
6890
6891 fi
6892 if test -z "$ac_cv_prog_OTOOL64"; then
6893   ac_ct_OTOOL64=$OTOOL64
6894   # Extract the first word of "otool64", so it can be a program name with args.
6895 set dummy otool64; ac_word=$2
6896 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6897 $as_echo_n "checking for $ac_word... " >&6; }
6898 if ${ac_cv_prog_ac_ct_OTOOL64+:} false; then :
6899   $as_echo_n "(cached) " >&6
6900 else
6901   if test -n "$ac_ct_OTOOL64"; then
6902   ac_cv_prog_ac_ct_OTOOL64="$ac_ct_OTOOL64" # Let the user override the test.
6903 else
6904 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6905 for as_dir in $PATH
6906 do
6907   IFS=$as_save_IFS
6908   test -z "$as_dir" && as_dir=.
6909     for ac_exec_ext in '' $ac_executable_extensions; do
6910   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6911     ac_cv_prog_ac_ct_OTOOL64="otool64"
6912     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6913     break 2
6914   fi
6915 done
6916   done
6917 IFS=$as_save_IFS
6918
6919 fi
6920 fi
6921 ac_ct_OTOOL64=$ac_cv_prog_ac_ct_OTOOL64
6922 if test -n "$ac_ct_OTOOL64"; then
6923   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OTOOL64" >&5
6924 $as_echo "$ac_ct_OTOOL64" >&6; }
6925 else
6926   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6927 $as_echo "no" >&6; }
6928 fi
6929
6930   if test "x$ac_ct_OTOOL64" = x; then
6931     OTOOL64=":"
6932   else
6933     case $cross_compiling:$ac_tool_warned in
6934 yes:)
6935 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6936 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6937 ac_tool_warned=yes ;;
6938 esac
6939     OTOOL64=$ac_ct_OTOOL64
6940   fi
6941 else
6942   OTOOL64="$ac_cv_prog_OTOOL64"
6943 fi
6944
6945
6946
6947
6948
6949
6950
6951
6952
6953
6954
6955
6956
6957
6958
6959
6960
6961
6962
6963
6964
6965
6966
6967
6968
6969
6970
6971     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -single_module linker flag" >&5
6972 $as_echo_n "checking for -single_module linker flag... " >&6; }
6973 if ${lt_cv_apple_cc_single_mod+:} false; then :
6974   $as_echo_n "(cached) " >&6
6975 else
6976   lt_cv_apple_cc_single_mod=no
6977       if test -z "${LT_MULTI_MODULE}"; then
6978         # By default we will add the -single_module flag. You can override
6979         # by either setting the environment variable LT_MULTI_MODULE
6980         # non-empty at configure time, or by adding -multi_module to the
6981         # link flags.
6982         rm -rf libconftest.dylib*
6983         echo "int foo(void){return 1;}" > conftest.c
6984         echo "$LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \
6985 -dynamiclib -Wl,-single_module conftest.c" >&5
6986         $LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \
6987           -dynamiclib -Wl,-single_module conftest.c 2>conftest.err
6988         _lt_result=$?
6989         # If there is a non-empty error log, and "single_module"
6990         # appears in it, assume the flag caused a linker warning
6991         if test -s conftest.err && $GREP single_module conftest.err; then
6992           cat conftest.err >&5
6993         # Otherwise, if the output was created with a 0 exit code from
6994         # the compiler, it worked.
6995         elif test -f libconftest.dylib && test $_lt_result -eq 0; then
6996           lt_cv_apple_cc_single_mod=yes
6997         else
6998           cat conftest.err >&5
6999         fi
7000         rm -rf libconftest.dylib*
7001         rm -f conftest.*
7002       fi
7003 fi
7004 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_apple_cc_single_mod" >&5
7005 $as_echo "$lt_cv_apple_cc_single_mod" >&6; }
7006
7007     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -exported_symbols_list linker flag" >&5
7008 $as_echo_n "checking for -exported_symbols_list linker flag... " >&6; }
7009 if ${lt_cv_ld_exported_symbols_list+:} false; then :
7010   $as_echo_n "(cached) " >&6
7011 else
7012   lt_cv_ld_exported_symbols_list=no
7013       save_LDFLAGS=$LDFLAGS
7014       echo "_main" > conftest.sym
7015       LDFLAGS="$LDFLAGS -Wl,-exported_symbols_list,conftest.sym"
7016       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7017 /* end confdefs.h.  */
7018
7019 int
7020 main ()
7021 {
7022
7023   ;
7024   return 0;
7025 }
7026 _ACEOF
7027 if ac_fn_c_try_link "$LINENO"; then :
7028   lt_cv_ld_exported_symbols_list=yes
7029 else
7030   lt_cv_ld_exported_symbols_list=no
7031 fi
7032 rm -f core conftest.err conftest.$ac_objext \
7033     conftest$ac_exeext conftest.$ac_ext
7034         LDFLAGS="$save_LDFLAGS"
7035
7036 fi
7037 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_exported_symbols_list" >&5
7038 $as_echo "$lt_cv_ld_exported_symbols_list" >&6; }
7039
7040     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -force_load linker flag" >&5
7041 $as_echo_n "checking for -force_load linker flag... " >&6; }
7042 if ${lt_cv_ld_force_load+:} false; then :
7043   $as_echo_n "(cached) " >&6
7044 else
7045   lt_cv_ld_force_load=no
7046       cat > conftest.c << _LT_EOF
7047 int forced_loaded() { return 2;}
7048 _LT_EOF
7049       echo "$LTCC $LTCFLAGS -c -o conftest.o conftest.c" >&5
7050       $LTCC $LTCFLAGS -c -o conftest.o conftest.c 2>&5
7051       echo "$AR cru libconftest.a conftest.o" >&5
7052       $AR cru libconftest.a conftest.o 2>&5
7053       echo "$RANLIB libconftest.a" >&5
7054       $RANLIB libconftest.a 2>&5
7055       cat > conftest.c << _LT_EOF
7056 int main() { return 0;}
7057 _LT_EOF
7058       echo "$LTCC $LTCFLAGS $LDFLAGS -o conftest conftest.c -Wl,-force_load,./libconftest.a" >&5
7059       $LTCC $LTCFLAGS $LDFLAGS -o conftest conftest.c -Wl,-force_load,./libconftest.a 2>conftest.err
7060       _lt_result=$?
7061       if test -s conftest.err && $GREP force_load conftest.err; then
7062         cat conftest.err >&5
7063       elif test -f conftest && test $_lt_result -eq 0 && $GREP forced_load conftest >/dev/null 2>&1 ; then
7064         lt_cv_ld_force_load=yes
7065       else
7066         cat conftest.err >&5
7067       fi
7068         rm -f conftest.err libconftest.a conftest conftest.c
7069         rm -rf conftest.dSYM
7070
7071 fi
7072 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_force_load" >&5
7073 $as_echo "$lt_cv_ld_force_load" >&6; }
7074     case $host_os in
7075     rhapsody* | darwin1.[012])
7076       _lt_dar_allow_undefined='${wl}-undefined ${wl}suppress' ;;
7077     darwin1.*)
7078       _lt_dar_allow_undefined='${wl}-flat_namespace ${wl}-undefined ${wl}suppress' ;;
7079     darwin*) # darwin 5.x on
7080       # if running on 10.5 or later, the deployment target defaults
7081       # to the OS version, if on x86, and 10.4, the deployment
7082       # target defaults to 10.4. Don't you love it?
7083       case ${MACOSX_DEPLOYMENT_TARGET-10.0},$host in
7084         10.0,*86*-darwin8*|10.0,*-darwin[91]*)
7085           _lt_dar_allow_undefined='${wl}-undefined ${wl}dynamic_lookup' ;;
7086         10.[012]*)
7087           _lt_dar_allow_undefined='${wl}-flat_namespace ${wl}-undefined ${wl}suppress' ;;
7088         10.*)
7089           _lt_dar_allow_undefined='${wl}-undefined ${wl}dynamic_lookup' ;;
7090       esac
7091     ;;
7092   esac
7093     if test "$lt_cv_apple_cc_single_mod" = "yes"; then
7094       _lt_dar_single_mod='$single_module'
7095     fi
7096     if test "$lt_cv_ld_exported_symbols_list" = "yes"; then
7097       _lt_dar_export_syms=' ${wl}-exported_symbols_list,$output_objdir/${libname}-symbols.expsym'
7098     else
7099       _lt_dar_export_syms='~$NMEDIT -s $output_objdir/${libname}-symbols.expsym ${lib}'
7100     fi
7101     if test "$DSYMUTIL" != ":" && test "$lt_cv_ld_force_load" = "no"; then
7102       _lt_dsymutil='~$DSYMUTIL $lib || :'
7103     else
7104       _lt_dsymutil=
7105     fi
7106     ;;
7107   esac
7108
7109 ac_ext=c
7110 ac_cpp='$CPP $CPPFLAGS'
7111 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
7112 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
7113 ac_compiler_gnu=$ac_cv_c_compiler_gnu
7114 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C preprocessor" >&5
7115 $as_echo_n "checking how to run the C preprocessor... " >&6; }
7116 # On Suns, sometimes $CPP names a directory.
7117 if test -n "$CPP" && test -d "$CPP"; then
7118   CPP=
7119 fi
7120 if test -z "$CPP"; then
7121   if ${ac_cv_prog_CPP+:} false; then :
7122   $as_echo_n "(cached) " >&6
7123 else
7124       # Double quotes because CPP needs to be expanded
7125     for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
7126     do
7127       ac_preproc_ok=false
7128 for ac_c_preproc_warn_flag in '' yes
7129 do
7130   # Use a header file that comes with gcc, so configuring glibc
7131   # with a fresh cross-compiler works.
7132   # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
7133   # <limits.h> exists even on freestanding compilers.
7134   # On the NeXT, cc -E runs the code through the compiler's parser,
7135   # not just through cpp. "Syntax error" is here to catch this case.
7136   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7137 /* end confdefs.h.  */
7138 #ifdef __STDC__
7139 # include <limits.h>
7140 #else
7141 # include <assert.h>
7142 #endif
7143                      Syntax error
7144 _ACEOF
7145 if ac_fn_c_try_cpp "$LINENO"; then :
7146
7147 else
7148   # Broken: fails on valid input.
7149 continue
7150 fi
7151 rm -f conftest.err conftest.i conftest.$ac_ext
7152
7153   # OK, works on sane cases.  Now check whether nonexistent headers
7154   # can be detected and how.
7155   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7156 /* end confdefs.h.  */
7157 #include <ac_nonexistent.h>
7158 _ACEOF
7159 if ac_fn_c_try_cpp "$LINENO"; then :
7160   # Broken: success on invalid input.
7161 continue
7162 else
7163   # Passes both tests.
7164 ac_preproc_ok=:
7165 break
7166 fi
7167 rm -f conftest.err conftest.i conftest.$ac_ext
7168
7169 done
7170 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
7171 rm -f conftest.i conftest.err conftest.$ac_ext
7172 if $ac_preproc_ok; then :
7173   break
7174 fi
7175
7176     done
7177     ac_cv_prog_CPP=$CPP
7178
7179 fi
7180   CPP=$ac_cv_prog_CPP
7181 else
7182   ac_cv_prog_CPP=$CPP
7183 fi
7184 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CPP" >&5
7185 $as_echo "$CPP" >&6; }
7186 ac_preproc_ok=false
7187 for ac_c_preproc_warn_flag in '' yes
7188 do
7189   # Use a header file that comes with gcc, so configuring glibc
7190   # with a fresh cross-compiler works.
7191   # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
7192   # <limits.h> exists even on freestanding compilers.
7193   # On the NeXT, cc -E runs the code through the compiler's parser,
7194   # not just through cpp. "Syntax error" is here to catch this case.
7195   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7196 /* end confdefs.h.  */
7197 #ifdef __STDC__
7198 # include <limits.h>
7199 #else
7200 # include <assert.h>
7201 #endif
7202                      Syntax error
7203 _ACEOF
7204 if ac_fn_c_try_cpp "$LINENO"; then :
7205
7206 else
7207   # Broken: fails on valid input.
7208 continue
7209 fi
7210 rm -f conftest.err conftest.i conftest.$ac_ext
7211
7212   # OK, works on sane cases.  Now check whether nonexistent headers
7213   # can be detected and how.
7214   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7215 /* end confdefs.h.  */
7216 #include <ac_nonexistent.h>
7217 _ACEOF
7218 if ac_fn_c_try_cpp "$LINENO"; then :
7219   # Broken: success on invalid input.
7220 continue
7221 else
7222   # Passes both tests.
7223 ac_preproc_ok=:
7224 break
7225 fi
7226 rm -f conftest.err conftest.i conftest.$ac_ext
7227
7228 done
7229 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
7230 rm -f conftest.i conftest.err conftest.$ac_ext
7231 if $ac_preproc_ok; then :
7232
7233 else
7234   { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
7235 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
7236 as_fn_error $? "C preprocessor \"$CPP\" fails sanity check
7237 See \`config.log' for more details" "$LINENO" 5; }
7238 fi
7239
7240 ac_ext=c
7241 ac_cpp='$CPP $CPPFLAGS'
7242 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
7243 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
7244 ac_compiler_gnu=$ac_cv_c_compiler_gnu
7245
7246
7247 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5
7248 $as_echo_n "checking for ANSI C header files... " >&6; }
7249 if ${ac_cv_header_stdc+:} false; then :
7250   $as_echo_n "(cached) " >&6
7251 else
7252   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7253 /* end confdefs.h.  */
7254 #include <stdlib.h>
7255 #include <stdarg.h>
7256 #include <string.h>
7257 #include <float.h>
7258
7259 int
7260 main ()
7261 {
7262
7263   ;
7264   return 0;
7265 }
7266 _ACEOF
7267 if ac_fn_c_try_compile "$LINENO"; then :
7268   ac_cv_header_stdc=yes
7269 else
7270   ac_cv_header_stdc=no
7271 fi
7272 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
7273
7274 if test $ac_cv_header_stdc = yes; then
7275   # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
7276   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7277 /* end confdefs.h.  */
7278 #include <string.h>
7279
7280 _ACEOF
7281 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
7282   $EGREP "memchr" >/dev/null 2>&1; then :
7283
7284 else
7285   ac_cv_header_stdc=no
7286 fi
7287 rm -f conftest*
7288
7289 fi
7290
7291 if test $ac_cv_header_stdc = yes; then
7292   # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
7293   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7294 /* end confdefs.h.  */
7295 #include <stdlib.h>
7296
7297 _ACEOF
7298 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
7299   $EGREP "free" >/dev/null 2>&1; then :
7300
7301 else
7302   ac_cv_header_stdc=no
7303 fi
7304 rm -f conftest*
7305
7306 fi
7307
7308 if test $ac_cv_header_stdc = yes; then
7309   # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
7310   if test "$cross_compiling" = yes; then :
7311   :
7312 else
7313   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7314 /* end confdefs.h.  */
7315 #include <ctype.h>
7316 #include <stdlib.h>
7317 #if ((' ' & 0x0FF) == 0x020)
7318 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
7319 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
7320 #else
7321 # define ISLOWER(c) \
7322                    (('a' <= (c) && (c) <= 'i') \
7323                      || ('j' <= (c) && (c) <= 'r') \
7324                      || ('s' <= (c) && (c) <= 'z'))
7325 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
7326 #endif
7327
7328 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
7329 int
7330 main ()
7331 {
7332   int i;
7333   for (i = 0; i < 256; i++)
7334     if (XOR (islower (i), ISLOWER (i))
7335         || toupper (i) != TOUPPER (i))
7336       return 2;
7337   return 0;
7338 }
7339 _ACEOF
7340 if ac_fn_c_try_run "$LINENO"; then :
7341
7342 else
7343   ac_cv_header_stdc=no
7344 fi
7345 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
7346   conftest.$ac_objext conftest.beam conftest.$ac_ext
7347 fi
7348
7349 fi
7350 fi
7351 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdc" >&5
7352 $as_echo "$ac_cv_header_stdc" >&6; }
7353 if test $ac_cv_header_stdc = yes; then
7354
7355 $as_echo "#define STDC_HEADERS 1" >>confdefs.h
7356
7357 fi
7358
7359 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
7360 for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
7361                   inttypes.h stdint.h unistd.h
7362 do :
7363   as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
7364 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default
7365 "
7366 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
7367   cat >>confdefs.h <<_ACEOF
7368 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
7369 _ACEOF
7370
7371 fi
7372
7373 done
7374
7375
7376 for ac_header in dlfcn.h
7377 do :
7378   ac_fn_c_check_header_compile "$LINENO" "dlfcn.h" "ac_cv_header_dlfcn_h" "$ac_includes_default
7379 "
7380 if test "x$ac_cv_header_dlfcn_h" = xyes; then :
7381   cat >>confdefs.h <<_ACEOF
7382 #define HAVE_DLFCN_H 1
7383 _ACEOF
7384
7385 fi
7386
7387 done
7388
7389
7390
7391
7392
7393 # Set options
7394 enable_dlopen=yes
7395 enable_win32_dll=yes
7396
7397 case $host in
7398 *-*-cygwin* | *-*-mingw* | *-*-pw32* | *-*-cegcc*)
7399   if test -n "$ac_tool_prefix"; then
7400   # Extract the first word of "${ac_tool_prefix}as", so it can be a program name with args.
7401 set dummy ${ac_tool_prefix}as; ac_word=$2
7402 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7403 $as_echo_n "checking for $ac_word... " >&6; }
7404 if ${ac_cv_prog_AS+:} false; then :
7405   $as_echo_n "(cached) " >&6
7406 else
7407   if test -n "$AS"; then
7408   ac_cv_prog_AS="$AS" # Let the user override the test.
7409 else
7410 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7411 for as_dir in $PATH
7412 do
7413   IFS=$as_save_IFS
7414   test -z "$as_dir" && as_dir=.
7415     for ac_exec_ext in '' $ac_executable_extensions; do
7416   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7417     ac_cv_prog_AS="${ac_tool_prefix}as"
7418     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7419     break 2
7420   fi
7421 done
7422   done
7423 IFS=$as_save_IFS
7424
7425 fi
7426 fi
7427 AS=$ac_cv_prog_AS
7428 if test -n "$AS"; then
7429   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AS" >&5
7430 $as_echo "$AS" >&6; }
7431 else
7432   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7433 $as_echo "no" >&6; }
7434 fi
7435
7436
7437 fi
7438 if test -z "$ac_cv_prog_AS"; then
7439   ac_ct_AS=$AS
7440   # Extract the first word of "as", so it can be a program name with args.
7441 set dummy as; ac_word=$2
7442 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7443 $as_echo_n "checking for $ac_word... " >&6; }
7444 if ${ac_cv_prog_ac_ct_AS+:} false; then :
7445   $as_echo_n "(cached) " >&6
7446 else
7447   if test -n "$ac_ct_AS"; then
7448   ac_cv_prog_ac_ct_AS="$ac_ct_AS" # Let the user override the test.
7449 else
7450 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7451 for as_dir in $PATH
7452 do
7453   IFS=$as_save_IFS
7454   test -z "$as_dir" && as_dir=.
7455     for ac_exec_ext in '' $ac_executable_extensions; do
7456   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7457     ac_cv_prog_ac_ct_AS="as"
7458     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7459     break 2
7460   fi
7461 done
7462   done
7463 IFS=$as_save_IFS
7464
7465 fi
7466 fi
7467 ac_ct_AS=$ac_cv_prog_ac_ct_AS
7468 if test -n "$ac_ct_AS"; then
7469   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_AS" >&5
7470 $as_echo "$ac_ct_AS" >&6; }
7471 else
7472   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7473 $as_echo "no" >&6; }
7474 fi
7475
7476   if test "x$ac_ct_AS" = x; then
7477     AS="false"
7478   else
7479     case $cross_compiling:$ac_tool_warned in
7480 yes:)
7481 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7482 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7483 ac_tool_warned=yes ;;
7484 esac
7485     AS=$ac_ct_AS
7486   fi
7487 else
7488   AS="$ac_cv_prog_AS"
7489 fi
7490
7491   if test -n "$ac_tool_prefix"; then
7492   # Extract the first word of "${ac_tool_prefix}dlltool", so it can be a program name with args.
7493 set dummy ${ac_tool_prefix}dlltool; ac_word=$2
7494 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7495 $as_echo_n "checking for $ac_word... " >&6; }
7496 if ${ac_cv_prog_DLLTOOL+:} false; then :
7497   $as_echo_n "(cached) " >&6
7498 else
7499   if test -n "$DLLTOOL"; then
7500   ac_cv_prog_DLLTOOL="$DLLTOOL" # Let the user override the test.
7501 else
7502 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7503 for as_dir in $PATH
7504 do
7505   IFS=$as_save_IFS
7506   test -z "$as_dir" && as_dir=.
7507     for ac_exec_ext in '' $ac_executable_extensions; do
7508   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7509     ac_cv_prog_DLLTOOL="${ac_tool_prefix}dlltool"
7510     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7511     break 2
7512   fi
7513 done
7514   done
7515 IFS=$as_save_IFS
7516
7517 fi
7518 fi
7519 DLLTOOL=$ac_cv_prog_DLLTOOL
7520 if test -n "$DLLTOOL"; then
7521   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DLLTOOL" >&5
7522 $as_echo "$DLLTOOL" >&6; }
7523 else
7524   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7525 $as_echo "no" >&6; }
7526 fi
7527
7528
7529 fi
7530 if test -z "$ac_cv_prog_DLLTOOL"; then
7531   ac_ct_DLLTOOL=$DLLTOOL
7532   # Extract the first word of "dlltool", so it can be a program name with args.
7533 set dummy dlltool; ac_word=$2
7534 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7535 $as_echo_n "checking for $ac_word... " >&6; }
7536 if ${ac_cv_prog_ac_ct_DLLTOOL+:} false; then :
7537   $as_echo_n "(cached) " >&6
7538 else
7539   if test -n "$ac_ct_DLLTOOL"; then
7540   ac_cv_prog_ac_ct_DLLTOOL="$ac_ct_DLLTOOL" # Let the user override the test.
7541 else
7542 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7543 for as_dir in $PATH
7544 do
7545   IFS=$as_save_IFS
7546   test -z "$as_dir" && as_dir=.
7547     for ac_exec_ext in '' $ac_executable_extensions; do
7548   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7549     ac_cv_prog_ac_ct_DLLTOOL="dlltool"
7550     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7551     break 2
7552   fi
7553 done
7554   done
7555 IFS=$as_save_IFS
7556
7557 fi
7558 fi
7559 ac_ct_DLLTOOL=$ac_cv_prog_ac_ct_DLLTOOL
7560 if test -n "$ac_ct_DLLTOOL"; then
7561   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DLLTOOL" >&5
7562 $as_echo "$ac_ct_DLLTOOL" >&6; }
7563 else
7564   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7565 $as_echo "no" >&6; }
7566 fi
7567
7568   if test "x$ac_ct_DLLTOOL" = x; then
7569     DLLTOOL="false"
7570   else
7571     case $cross_compiling:$ac_tool_warned in
7572 yes:)
7573 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7574 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7575 ac_tool_warned=yes ;;
7576 esac
7577     DLLTOOL=$ac_ct_DLLTOOL
7578   fi
7579 else
7580   DLLTOOL="$ac_cv_prog_DLLTOOL"
7581 fi
7582
7583   if test -n "$ac_tool_prefix"; then
7584   # Extract the first word of "${ac_tool_prefix}objdump", so it can be a program name with args.
7585 set dummy ${ac_tool_prefix}objdump; ac_word=$2
7586 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7587 $as_echo_n "checking for $ac_word... " >&6; }
7588 if ${ac_cv_prog_OBJDUMP+:} false; then :
7589   $as_echo_n "(cached) " >&6
7590 else
7591   if test -n "$OBJDUMP"; then
7592   ac_cv_prog_OBJDUMP="$OBJDUMP" # Let the user override the test.
7593 else
7594 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7595 for as_dir in $PATH
7596 do
7597   IFS=$as_save_IFS
7598   test -z "$as_dir" && as_dir=.
7599     for ac_exec_ext in '' $ac_executable_extensions; do
7600   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7601     ac_cv_prog_OBJDUMP="${ac_tool_prefix}objdump"
7602     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7603     break 2
7604   fi
7605 done
7606   done
7607 IFS=$as_save_IFS
7608
7609 fi
7610 fi
7611 OBJDUMP=$ac_cv_prog_OBJDUMP
7612 if test -n "$OBJDUMP"; then
7613   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OBJDUMP" >&5
7614 $as_echo "$OBJDUMP" >&6; }
7615 else
7616   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7617 $as_echo "no" >&6; }
7618 fi
7619
7620
7621 fi
7622 if test -z "$ac_cv_prog_OBJDUMP"; then
7623   ac_ct_OBJDUMP=$OBJDUMP
7624   # Extract the first word of "objdump", so it can be a program name with args.
7625 set dummy objdump; ac_word=$2
7626 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7627 $as_echo_n "checking for $ac_word... " >&6; }
7628 if ${ac_cv_prog_ac_ct_OBJDUMP+:} false; then :
7629   $as_echo_n "(cached) " >&6
7630 else
7631   if test -n "$ac_ct_OBJDUMP"; then
7632   ac_cv_prog_ac_ct_OBJDUMP="$ac_ct_OBJDUMP" # Let the user override the test.
7633 else
7634 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7635 for as_dir in $PATH
7636 do
7637   IFS=$as_save_IFS
7638   test -z "$as_dir" && as_dir=.
7639     for ac_exec_ext in '' $ac_executable_extensions; do
7640   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7641     ac_cv_prog_ac_ct_OBJDUMP="objdump"
7642     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7643     break 2
7644   fi
7645 done
7646   done
7647 IFS=$as_save_IFS
7648
7649 fi
7650 fi
7651 ac_ct_OBJDUMP=$ac_cv_prog_ac_ct_OBJDUMP
7652 if test -n "$ac_ct_OBJDUMP"; then
7653   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OBJDUMP" >&5
7654 $as_echo "$ac_ct_OBJDUMP" >&6; }
7655 else
7656   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7657 $as_echo "no" >&6; }
7658 fi
7659
7660   if test "x$ac_ct_OBJDUMP" = x; then
7661     OBJDUMP="false"
7662   else
7663     case $cross_compiling:$ac_tool_warned in
7664 yes:)
7665 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7666 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7667 ac_tool_warned=yes ;;
7668 esac
7669     OBJDUMP=$ac_ct_OBJDUMP
7670   fi
7671 else
7672   OBJDUMP="$ac_cv_prog_OBJDUMP"
7673 fi
7674
7675   ;;
7676 esac
7677
7678 test -z "$AS" && AS=as
7679
7680
7681
7682
7683
7684 test -z "$DLLTOOL" && DLLTOOL=dlltool
7685
7686
7687
7688
7689
7690 test -z "$OBJDUMP" && OBJDUMP=objdump
7691
7692
7693
7694
7695 # Check whether --enable-static was given.
7696 if test "${enable_static+set}" = set; then :
7697   enableval=$enable_static; p=${PACKAGE-default}
7698     case $enableval in
7699     yes) enable_static=yes ;;
7700     no) enable_static=no ;;
7701     *)
7702      enable_static=no
7703       # Look at the argument we got.  We use all the common list separators.
7704       lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
7705       for pkg in $enableval; do
7706         IFS="$lt_save_ifs"
7707         if test "X$pkg" = "X$p"; then
7708           enable_static=yes
7709         fi
7710       done
7711       IFS="$lt_save_ifs"
7712       ;;
7713     esac
7714 else
7715   enable_static=no
7716 fi
7717
7718
7719
7720
7721
7722
7723
7724
7725
7726
7727
7728
7729             # Check whether --enable-shared was given.
7730 if test "${enable_shared+set}" = set; then :
7731   enableval=$enable_shared; p=${PACKAGE-default}
7732     case $enableval in
7733     yes) enable_shared=yes ;;
7734     no) enable_shared=no ;;
7735     *)
7736       enable_shared=no
7737       # Look at the argument we got.  We use all the common list separators.
7738       lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
7739       for pkg in $enableval; do
7740         IFS="$lt_save_ifs"
7741         if test "X$pkg" = "X$p"; then
7742           enable_shared=yes
7743         fi
7744       done
7745       IFS="$lt_save_ifs"
7746       ;;
7747     esac
7748 else
7749   enable_shared=yes
7750 fi
7751
7752
7753
7754
7755
7756
7757
7758
7759
7760
7761
7762 # Check whether --with-pic was given.
7763 if test "${with_pic+set}" = set; then :
7764   withval=$with_pic; lt_p=${PACKAGE-default}
7765     case $withval in
7766     yes|no) pic_mode=$withval ;;
7767     *)
7768       pic_mode=default
7769       # Look at the argument we got.  We use all the common list separators.
7770       lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
7771       for lt_pkg in $withval; do
7772         IFS="$lt_save_ifs"
7773         if test "X$lt_pkg" = "X$lt_p"; then
7774           pic_mode=yes
7775         fi
7776       done
7777       IFS="$lt_save_ifs"
7778       ;;
7779     esac
7780 else
7781   pic_mode=default
7782 fi
7783
7784
7785 test -z "$pic_mode" && pic_mode=default
7786
7787
7788
7789
7790
7791
7792
7793   # Check whether --enable-fast-install was given.
7794 if test "${enable_fast_install+set}" = set; then :
7795   enableval=$enable_fast_install; p=${PACKAGE-default}
7796     case $enableval in
7797     yes) enable_fast_install=yes ;;
7798     no) enable_fast_install=no ;;
7799     *)
7800       enable_fast_install=no
7801       # Look at the argument we got.  We use all the common list separators.
7802       lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
7803       for pkg in $enableval; do
7804         IFS="$lt_save_ifs"
7805         if test "X$pkg" = "X$p"; then
7806           enable_fast_install=yes
7807         fi
7808       done
7809       IFS="$lt_save_ifs"
7810       ;;
7811     esac
7812 else
7813   enable_fast_install=yes
7814 fi
7815
7816
7817
7818
7819
7820
7821
7822
7823
7824
7825
7826 # This can be used to rebuild libtool when needed
7827 LIBTOOL_DEPS="$ltmain"
7828
7829 # Always use our own libtool.
7830 LIBTOOL='$(SHELL) $(top_builddir)/libtool'
7831
7832
7833
7834
7835
7836
7837
7838
7839
7840
7841
7842
7843
7844
7845
7846
7847
7848
7849
7850
7851
7852
7853
7854
7855
7856
7857
7858
7859
7860
7861 test -z "$LN_S" && LN_S="ln -s"
7862
7863
7864
7865
7866
7867
7868
7869
7870
7871
7872
7873
7874
7875
7876 if test -n "${ZSH_VERSION+set}" ; then
7877    setopt NO_GLOB_SUBST
7878 fi
7879
7880 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for objdir" >&5
7881 $as_echo_n "checking for objdir... " >&6; }
7882 if ${lt_cv_objdir+:} false; then :
7883   $as_echo_n "(cached) " >&6
7884 else
7885   rm -f .libs 2>/dev/null
7886 mkdir .libs 2>/dev/null
7887 if test -d .libs; then
7888   lt_cv_objdir=.libs
7889 else
7890   # MS-DOS does not allow filenames that begin with a dot.
7891   lt_cv_objdir=_libs
7892 fi
7893 rmdir .libs 2>/dev/null
7894 fi
7895 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_objdir" >&5
7896 $as_echo "$lt_cv_objdir" >&6; }
7897 objdir=$lt_cv_objdir
7898
7899
7900
7901
7902
7903 cat >>confdefs.h <<_ACEOF
7904 #define LT_OBJDIR "$lt_cv_objdir/"
7905 _ACEOF
7906
7907
7908
7909
7910 case $host_os in
7911 aix3*)
7912   # AIX sometimes has problems with the GCC collect2 program.  For some
7913   # reason, if we set the COLLECT_NAMES environment variable, the problems
7914   # vanish in a puff of smoke.
7915   if test "X${COLLECT_NAMES+set}" != Xset; then
7916     COLLECT_NAMES=
7917     export COLLECT_NAMES
7918   fi
7919   ;;
7920 esac
7921
7922 # Global variables:
7923 ofile=libtool
7924 can_build_shared=yes
7925
7926 # All known linkers require a `.a' archive for static linking (except MSVC,
7927 # which needs '.lib').
7928 libext=a
7929
7930 with_gnu_ld="$lt_cv_prog_gnu_ld"
7931
7932 old_CC="$CC"
7933 old_CFLAGS="$CFLAGS"
7934
7935 # Set sane defaults for various variables
7936 test -z "$CC" && CC=cc
7937 test -z "$LTCC" && LTCC=$CC
7938 test -z "$LTCFLAGS" && LTCFLAGS=$CFLAGS
7939 test -z "$LD" && LD=ld
7940 test -z "$ac_objext" && ac_objext=o
7941
7942 for cc_temp in $compiler""; do
7943   case $cc_temp in
7944     compile | *[\\/]compile | ccache | *[\\/]ccache ) ;;
7945     distcc | *[\\/]distcc | purify | *[\\/]purify ) ;;
7946     \-*) ;;
7947     *) break;;
7948   esac
7949 done
7950 cc_basename=`$ECHO "$cc_temp" | $SED "s%.*/%%; s%^$host_alias-%%"`
7951
7952
7953 # Only perform the check for file, if the check method requires it
7954 test -z "$MAGIC_CMD" && MAGIC_CMD=file
7955 case $deplibs_check_method in
7956 file_magic*)
7957   if test "$file_magic_cmd" = '$MAGIC_CMD'; then
7958     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ${ac_tool_prefix}file" >&5
7959 $as_echo_n "checking for ${ac_tool_prefix}file... " >&6; }
7960 if ${lt_cv_path_MAGIC_CMD+:} false; then :
7961   $as_echo_n "(cached) " >&6
7962 else
7963   case $MAGIC_CMD in
7964 [\\/*] |  ?:[\\/]*)
7965   lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a path.
7966   ;;
7967 *)
7968   lt_save_MAGIC_CMD="$MAGIC_CMD"
7969   lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
7970   ac_dummy="/usr/bin$PATH_SEPARATOR$PATH"
7971   for ac_dir in $ac_dummy; do
7972     IFS="$lt_save_ifs"
7973     test -z "$ac_dir" && ac_dir=.
7974     if test -f $ac_dir/${ac_tool_prefix}file; then
7975       lt_cv_path_MAGIC_CMD="$ac_dir/${ac_tool_prefix}file"
7976       if test -n "$file_magic_test_file"; then
7977         case $deplibs_check_method in
7978         "file_magic "*)
7979           file_magic_regex=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
7980           MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
7981           if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
7982             $EGREP "$file_magic_regex" > /dev/null; then
7983             :
7984           else
7985             cat <<_LT_EOF 1>&2
7986
7987 *** Warning: the command libtool uses to detect shared libraries,
7988 *** $file_magic_cmd, produces output that libtool cannot recognize.
7989 *** The result is that libtool may fail to recognize shared libraries
7990 *** as such.  This will affect the creation of libtool libraries that
7991 *** depend on shared libraries, but programs linked with such libtool
7992 *** libraries will work regardless of this problem.  Nevertheless, you
7993 *** may want to report the problem to your system manager and/or to
7994 *** bug-libtool@gnu.org
7995
7996 _LT_EOF
7997           fi ;;
7998         esac
7999       fi
8000       break
8001     fi
8002   done
8003   IFS="$lt_save_ifs"
8004   MAGIC_CMD="$lt_save_MAGIC_CMD"
8005   ;;
8006 esac
8007 fi
8008
8009 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
8010 if test -n "$MAGIC_CMD"; then
8011   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MAGIC_CMD" >&5
8012 $as_echo "$MAGIC_CMD" >&6; }
8013 else
8014   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8015 $as_echo "no" >&6; }
8016 fi
8017
8018
8019
8020
8021
8022 if test -z "$lt_cv_path_MAGIC_CMD"; then
8023   if test -n "$ac_tool_prefix"; then
8024     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for file" >&5
8025 $as_echo_n "checking for file... " >&6; }
8026 if ${lt_cv_path_MAGIC_CMD+:} false; then :
8027   $as_echo_n "(cached) " >&6
8028 else
8029   case $MAGIC_CMD in
8030 [\\/*] |  ?:[\\/]*)
8031   lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a path.
8032   ;;
8033 *)
8034   lt_save_MAGIC_CMD="$MAGIC_CMD"
8035   lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
8036   ac_dummy="/usr/bin$PATH_SEPARATOR$PATH"
8037   for ac_dir in $ac_dummy; do
8038     IFS="$lt_save_ifs"
8039     test -z "$ac_dir" && ac_dir=.
8040     if test -f $ac_dir/file; then
8041       lt_cv_path_MAGIC_CMD="$ac_dir/file"
8042       if test -n "$file_magic_test_file"; then
8043         case $deplibs_check_method in
8044         "file_magic "*)
8045           file_magic_regex=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
8046           MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
8047           if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
8048             $EGREP "$file_magic_regex" > /dev/null; then
8049             :
8050           else
8051             cat <<_LT_EOF 1>&2
8052
8053 *** Warning: the command libtool uses to detect shared libraries,
8054 *** $file_magic_cmd, produces output that libtool cannot recognize.
8055 *** The result is that libtool may fail to recognize shared libraries
8056 *** as such.  This will affect the creation of libtool libraries that
8057 *** depend on shared libraries, but programs linked with such libtool
8058 *** libraries will work regardless of this problem.  Nevertheless, you
8059 *** may want to report the problem to your system manager and/or to
8060 *** bug-libtool@gnu.org
8061
8062 _LT_EOF
8063           fi ;;
8064         esac
8065       fi
8066       break
8067     fi
8068   done
8069   IFS="$lt_save_ifs"
8070   MAGIC_CMD="$lt_save_MAGIC_CMD"
8071   ;;
8072 esac
8073 fi
8074
8075 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
8076 if test -n "$MAGIC_CMD"; then
8077   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MAGIC_CMD" >&5
8078 $as_echo "$MAGIC_CMD" >&6; }
8079 else
8080   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8081 $as_echo "no" >&6; }
8082 fi
8083
8084
8085   else
8086     MAGIC_CMD=:
8087   fi
8088 fi
8089
8090   fi
8091   ;;
8092 esac
8093
8094 # Use C for the default configuration in the libtool script
8095
8096 lt_save_CC="$CC"
8097 ac_ext=c
8098 ac_cpp='$CPP $CPPFLAGS'
8099 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
8100 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
8101 ac_compiler_gnu=$ac_cv_c_compiler_gnu
8102
8103
8104 # Source file extension for C test sources.
8105 ac_ext=c
8106
8107 # Object file extension for compiled C test sources.
8108 objext=o
8109 objext=$objext
8110
8111 # Code to be used in simple compile tests
8112 lt_simple_compile_test_code="int some_variable = 0;"
8113
8114 # Code to be used in simple link tests
8115 lt_simple_link_test_code='int main(){return(0);}'
8116
8117
8118
8119
8120
8121
8122
8123 # If no C compiler was specified, use CC.
8124 LTCC=${LTCC-"$CC"}
8125
8126 # If no C compiler flags were specified, use CFLAGS.
8127 LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
8128
8129 # Allow CC to be a program name with arguments.
8130 compiler=$CC
8131
8132 # Save the default compiler, since it gets overwritten when the other
8133 # tags are being tested, and _LT_TAGVAR(compiler, []) is a NOP.
8134 compiler_DEFAULT=$CC
8135
8136 # save warnings/boilerplate of simple test code
8137 ac_outfile=conftest.$ac_objext
8138 echo "$lt_simple_compile_test_code" >conftest.$ac_ext
8139 eval "$ac_compile" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
8140 _lt_compiler_boilerplate=`cat conftest.err`
8141 $RM conftest*
8142
8143 ac_outfile=conftest.$ac_objext
8144 echo "$lt_simple_link_test_code" >conftest.$ac_ext
8145 eval "$ac_link" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
8146 _lt_linker_boilerplate=`cat conftest.err`
8147 $RM -r conftest*
8148
8149
8150 ## CAVEAT EMPTOR:
8151 ## There is no encapsulation within the following macros, do not change
8152 ## the running order or otherwise move them around unless you know exactly
8153 ## what you are doing...
8154 if test -n "$compiler"; then
8155
8156 lt_prog_compiler_no_builtin_flag=
8157
8158 if test "$GCC" = yes; then
8159   case $cc_basename in
8160   nvcc*)
8161     lt_prog_compiler_no_builtin_flag=' -Xcompiler -fno-builtin' ;;
8162   *)
8163     lt_prog_compiler_no_builtin_flag=' -fno-builtin' ;;
8164   esac
8165
8166   { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -fno-rtti -fno-exceptions" >&5
8167 $as_echo_n "checking if $compiler supports -fno-rtti -fno-exceptions... " >&6; }
8168 if ${lt_cv_prog_compiler_rtti_exceptions+:} false; then :
8169   $as_echo_n "(cached) " >&6
8170 else
8171   lt_cv_prog_compiler_rtti_exceptions=no
8172    ac_outfile=conftest.$ac_objext
8173    echo "$lt_simple_compile_test_code" > conftest.$ac_ext
8174    lt_compiler_flag="-fno-rtti -fno-exceptions"
8175    # Insert the option either (1) after the last *FLAGS variable, or
8176    # (2) before a word containing "conftest.", or (3) at the end.
8177    # Note that $ac_compile itself does not contain backslashes and begins
8178    # with a dollar sign (not a hyphen), so the echo should work correctly.
8179    # The option is referenced via a variable to avoid confusing sed.
8180    lt_compile=`echo "$ac_compile" | $SED \
8181    -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
8182    -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
8183    -e 's:$: $lt_compiler_flag:'`
8184    (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
8185    (eval "$lt_compile" 2>conftest.err)
8186    ac_status=$?
8187    cat conftest.err >&5
8188    echo "$as_me:$LINENO: \$? = $ac_status" >&5
8189    if (exit $ac_status) && test -s "$ac_outfile"; then
8190      # The compiler can only warn and ignore the option if not recognized
8191      # So say no if there are warnings other than the usual output.
8192      $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' >conftest.exp
8193      $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
8194      if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
8195        lt_cv_prog_compiler_rtti_exceptions=yes
8196      fi
8197    fi
8198    $RM conftest*
8199
8200 fi
8201 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_rtti_exceptions" >&5
8202 $as_echo "$lt_cv_prog_compiler_rtti_exceptions" >&6; }
8203
8204 if test x"$lt_cv_prog_compiler_rtti_exceptions" = xyes; then
8205     lt_prog_compiler_no_builtin_flag="$lt_prog_compiler_no_builtin_flag -fno-rtti -fno-exceptions"
8206 else
8207     :
8208 fi
8209
8210 fi
8211
8212
8213
8214
8215
8216
8217   lt_prog_compiler_wl=
8218 lt_prog_compiler_pic=
8219 lt_prog_compiler_static=
8220
8221
8222   if test "$GCC" = yes; then
8223     lt_prog_compiler_wl='-Wl,'
8224     lt_prog_compiler_static='-static'
8225
8226     case $host_os in
8227       aix*)
8228       # All AIX code is PIC.
8229       if test "$host_cpu" = ia64; then
8230         # AIX 5 now supports IA64 processor
8231         lt_prog_compiler_static='-Bstatic'
8232       fi
8233       ;;
8234
8235     amigaos*)
8236       case $host_cpu in
8237       powerpc)
8238             # see comment about AmigaOS4 .so support
8239             lt_prog_compiler_pic='-fPIC'
8240         ;;
8241       m68k)
8242             # FIXME: we need at least 68020 code to build shared libraries, but
8243             # adding the `-m68020' flag to GCC prevents building anything better,
8244             # like `-m68040'.
8245             lt_prog_compiler_pic='-m68020 -resident32 -malways-restore-a4'
8246         ;;
8247       esac
8248       ;;
8249
8250     beos* | irix5* | irix6* | nonstopux* | osf3* | osf4* | osf5*)
8251       # PIC is the default for these OSes.
8252       ;;
8253
8254     mingw* | cygwin* | pw32* | os2* | cegcc*)
8255       # This hack is so that the source file can tell whether it is being
8256       # built for inclusion in a dll (and should export symbols for example).
8257       # Although the cygwin gcc ignores -fPIC, still need this for old-style
8258       # (--disable-auto-import) libraries
8259       lt_prog_compiler_pic='-DDLL_EXPORT'
8260       ;;
8261
8262     darwin* | rhapsody*)
8263       # PIC is the default on this platform
8264       # Common symbols not allowed in MH_DYLIB files
8265       lt_prog_compiler_pic='-fno-common'
8266       ;;
8267
8268     haiku*)
8269       # PIC is the default for Haiku.
8270       # The "-static" flag exists, but is broken.
8271       lt_prog_compiler_static=
8272       ;;
8273
8274     hpux*)
8275       # PIC is the default for 64-bit PA HP-UX, but not for 32-bit
8276       # PA HP-UX.  On IA64 HP-UX, PIC is the default but the pic flag
8277       # sets the default TLS model and affects inlining.
8278       case $host_cpu in
8279       hppa*64*)
8280         # +Z the default
8281         ;;
8282       *)
8283         lt_prog_compiler_pic='-fPIC'
8284         ;;
8285       esac
8286       ;;
8287
8288     interix[3-9]*)
8289       # Interix 3.x gcc -fpic/-fPIC options generate broken code.
8290       # Instead, we relocate shared libraries at runtime.
8291       ;;
8292
8293     msdosdjgpp*)
8294       # Just because we use GCC doesn't mean we suddenly get shared libraries
8295       # on systems that don't support them.
8296       lt_prog_compiler_can_build_shared=no
8297       enable_shared=no
8298       ;;
8299
8300     *nto* | *qnx*)
8301       # QNX uses GNU C++, but need to define -shared option too, otherwise
8302       # it will coredump.
8303       lt_prog_compiler_pic='-fPIC -shared'
8304       ;;
8305
8306     sysv4*MP*)
8307       if test -d /usr/nec; then
8308         lt_prog_compiler_pic=-Kconform_pic
8309       fi
8310       ;;
8311
8312     *)
8313       lt_prog_compiler_pic='-fPIC'
8314       ;;
8315     esac
8316
8317     case $cc_basename in
8318     nvcc*) # Cuda Compiler Driver 2.2
8319       lt_prog_compiler_wl='-Xlinker '
8320       if test -n "$lt_prog_compiler_pic"; then
8321         lt_prog_compiler_pic="-Xcompiler $lt_prog_compiler_pic"
8322       fi
8323       ;;
8324     esac
8325   else
8326     # PORTME Check for flag to pass linker flags through the system compiler.
8327     case $host_os in
8328     aix*)
8329       lt_prog_compiler_wl='-Wl,'
8330       if test "$host_cpu" = ia64; then
8331         # AIX 5 now supports IA64 processor
8332         lt_prog_compiler_static='-Bstatic'
8333       else
8334         lt_prog_compiler_static='-bnso -bI:/lib/syscalls.exp'
8335       fi
8336       ;;
8337
8338     mingw* | cygwin* | pw32* | os2* | cegcc*)
8339       # This hack is so that the source file can tell whether it is being
8340       # built for inclusion in a dll (and should export symbols for example).
8341       lt_prog_compiler_pic='-DDLL_EXPORT'
8342       ;;
8343
8344     hpux9* | hpux10* | hpux11*)
8345       lt_prog_compiler_wl='-Wl,'
8346       # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
8347       # not for PA HP-UX.
8348       case $host_cpu in
8349       hppa*64*|ia64*)
8350         # +Z the default
8351         ;;
8352       *)
8353         lt_prog_compiler_pic='+Z'
8354         ;;
8355       esac
8356       # Is there a better lt_prog_compiler_static that works with the bundled CC?
8357       lt_prog_compiler_static='${wl}-a ${wl}archive'
8358       ;;
8359
8360     irix5* | irix6* | nonstopux*)
8361       lt_prog_compiler_wl='-Wl,'
8362       # PIC (with -KPIC) is the default.
8363       lt_prog_compiler_static='-non_shared'
8364       ;;
8365
8366     linux* | k*bsd*-gnu | kopensolaris*-gnu | gnu*)
8367       case $cc_basename in
8368       # old Intel for x86_64 which still supported -KPIC.
8369       ecc*)
8370         lt_prog_compiler_wl='-Wl,'
8371         lt_prog_compiler_pic='-KPIC'
8372         lt_prog_compiler_static='-static'
8373         ;;
8374       # icc used to be incompatible with GCC.
8375       # ICC 10 doesn't accept -KPIC any more.
8376       icc* | ifort*)
8377         lt_prog_compiler_wl='-Wl,'
8378         lt_prog_compiler_pic='-fPIC'
8379         lt_prog_compiler_static='-static'
8380         ;;
8381       # Lahey Fortran 8.1.
8382       lf95*)
8383         lt_prog_compiler_wl='-Wl,'
8384         lt_prog_compiler_pic='--shared'
8385         lt_prog_compiler_static='--static'
8386         ;;
8387       nagfor*)
8388         # NAG Fortran compiler
8389         lt_prog_compiler_wl='-Wl,-Wl,,'
8390         lt_prog_compiler_pic='-PIC'
8391         lt_prog_compiler_static='-Bstatic'
8392         ;;
8393       pgcc* | pgf77* | pgf90* | pgf95* | pgfortran*)
8394         # Portland Group compilers (*not* the Pentium gcc compiler,
8395         # which looks to be a dead project)
8396         lt_prog_compiler_wl='-Wl,'
8397         lt_prog_compiler_pic='-fpic'
8398         lt_prog_compiler_static='-Bstatic'
8399         ;;
8400       ccc*)
8401         lt_prog_compiler_wl='-Wl,'
8402         # All Alpha code is PIC.
8403         lt_prog_compiler_static='-non_shared'
8404         ;;
8405       xl* | bgxl* | bgf* | mpixl*)
8406         # IBM XL C 8.0/Fortran 10.1, 11.1 on PPC and BlueGene
8407         lt_prog_compiler_wl='-Wl,'
8408         lt_prog_compiler_pic='-qpic'
8409         lt_prog_compiler_static='-qstaticlink'
8410         ;;
8411       *)
8412         case `$CC -V 2>&1 | sed 5q` in
8413         *Sun\ Ceres\ Fortran* | *Sun*Fortran*\ [1-7].* | *Sun*Fortran*\ 8.[0-3]*)
8414           # Sun Fortran 8.3 passes all unrecognized flags to the linker
8415           lt_prog_compiler_pic='-KPIC'
8416           lt_prog_compiler_static='-Bstatic'
8417           lt_prog_compiler_wl=''
8418           ;;
8419         *Sun\ F* | *Sun*Fortran*)
8420           lt_prog_compiler_pic='-KPIC'
8421           lt_prog_compiler_static='-Bstatic'
8422           lt_prog_compiler_wl='-Qoption ld '
8423           ;;
8424         *Sun\ C*)
8425           # Sun C 5.9
8426           lt_prog_compiler_pic='-KPIC'
8427           lt_prog_compiler_static='-Bstatic'
8428           lt_prog_compiler_wl='-Wl,'
8429           ;;
8430         *Intel*\ [CF]*Compiler*)
8431           lt_prog_compiler_wl='-Wl,'
8432           lt_prog_compiler_pic='-fPIC'
8433           lt_prog_compiler_static='-static'
8434           ;;
8435         *Portland\ Group*)
8436           lt_prog_compiler_wl='-Wl,'
8437           lt_prog_compiler_pic='-fpic'
8438           lt_prog_compiler_static='-Bstatic'
8439           ;;
8440         esac
8441         ;;
8442       esac
8443       ;;
8444
8445     newsos6)
8446       lt_prog_compiler_pic='-KPIC'
8447       lt_prog_compiler_static='-Bstatic'
8448       ;;
8449
8450     *nto* | *qnx*)
8451       # QNX uses GNU C++, but need to define -shared option too, otherwise
8452       # it will coredump.
8453       lt_prog_compiler_pic='-fPIC -shared'
8454       ;;
8455
8456     osf3* | osf4* | osf5*)
8457       lt_prog_compiler_wl='-Wl,'
8458       # All OSF/1 code is PIC.
8459       lt_prog_compiler_static='-non_shared'
8460       ;;
8461
8462     rdos*)
8463       lt_prog_compiler_static='-non_shared'
8464       ;;
8465
8466     solaris*)
8467       lt_prog_compiler_pic='-KPIC'
8468       lt_prog_compiler_static='-Bstatic'
8469       case $cc_basename in
8470       f77* | f90* | f95* | sunf77* | sunf90* | sunf95*)
8471         lt_prog_compiler_wl='-Qoption ld ';;
8472       *)
8473         lt_prog_compiler_wl='-Wl,';;
8474       esac
8475       ;;
8476
8477     sunos4*)
8478       lt_prog_compiler_wl='-Qoption ld '
8479       lt_prog_compiler_pic='-PIC'
8480       lt_prog_compiler_static='-Bstatic'
8481       ;;
8482
8483     sysv4 | sysv4.2uw2* | sysv4.3*)
8484       lt_prog_compiler_wl='-Wl,'
8485       lt_prog_compiler_pic='-KPIC'
8486       lt_prog_compiler_static='-Bstatic'
8487       ;;
8488
8489     sysv4*MP*)
8490       if test -d /usr/nec ;then
8491         lt_prog_compiler_pic='-Kconform_pic'
8492         lt_prog_compiler_static='-Bstatic'
8493       fi
8494       ;;
8495
8496     sysv5* | unixware* | sco3.2v5* | sco5v6* | OpenUNIX*)
8497       lt_prog_compiler_wl='-Wl,'
8498       lt_prog_compiler_pic='-KPIC'
8499       lt_prog_compiler_static='-Bstatic'
8500       ;;
8501
8502     unicos*)
8503       lt_prog_compiler_wl='-Wl,'
8504       lt_prog_compiler_can_build_shared=no
8505       ;;
8506
8507     uts4*)
8508       lt_prog_compiler_pic='-pic'
8509       lt_prog_compiler_static='-Bstatic'
8510       ;;
8511
8512     *)
8513       lt_prog_compiler_can_build_shared=no
8514       ;;
8515     esac
8516   fi
8517
8518 case $host_os in
8519   # For platforms which do not support PIC, -DPIC is meaningless:
8520   *djgpp*)
8521     lt_prog_compiler_pic=
8522     ;;
8523   *)
8524     lt_prog_compiler_pic="$lt_prog_compiler_pic -DPIC"
8525     ;;
8526 esac
8527
8528 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $compiler option to produce PIC" >&5
8529 $as_echo_n "checking for $compiler option to produce PIC... " >&6; }
8530 if ${lt_cv_prog_compiler_pic+:} false; then :
8531   $as_echo_n "(cached) " >&6
8532 else
8533   lt_cv_prog_compiler_pic=$lt_prog_compiler_pic
8534 fi
8535 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic" >&5
8536 $as_echo "$lt_cv_prog_compiler_pic" >&6; }
8537 lt_prog_compiler_pic=$lt_cv_prog_compiler_pic
8538
8539 #
8540 # Check to make sure the PIC flag actually works.
8541 #
8542 if test -n "$lt_prog_compiler_pic"; then
8543   { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler PIC flag $lt_prog_compiler_pic works" >&5
8544 $as_echo_n "checking if $compiler PIC flag $lt_prog_compiler_pic works... " >&6; }
8545 if ${lt_cv_prog_compiler_pic_works+:} false; then :
8546   $as_echo_n "(cached) " >&6
8547 else
8548   lt_cv_prog_compiler_pic_works=no
8549    ac_outfile=conftest.$ac_objext
8550    echo "$lt_simple_compile_test_code" > conftest.$ac_ext
8551    lt_compiler_flag="$lt_prog_compiler_pic -DPIC"
8552    # Insert the option either (1) after the last *FLAGS variable, or
8553    # (2) before a word containing "conftest.", or (3) at the end.
8554    # Note that $ac_compile itself does not contain backslashes and begins
8555    # with a dollar sign (not a hyphen), so the echo should work correctly.
8556    # The option is referenced via a variable to avoid confusing sed.
8557    lt_compile=`echo "$ac_compile" | $SED \
8558    -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
8559    -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
8560    -e 's:$: $lt_compiler_flag:'`
8561    (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
8562    (eval "$lt_compile" 2>conftest.err)
8563    ac_status=$?
8564    cat conftest.err >&5
8565    echo "$as_me:$LINENO: \$? = $ac_status" >&5
8566    if (exit $ac_status) && test -s "$ac_outfile"; then
8567      # The compiler can only warn and ignore the option if not recognized
8568      # So say no if there are warnings other than the usual output.
8569      $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' >conftest.exp
8570      $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
8571      if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
8572        lt_cv_prog_compiler_pic_works=yes
8573      fi
8574    fi
8575    $RM conftest*
8576
8577 fi
8578 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic_works" >&5
8579 $as_echo "$lt_cv_prog_compiler_pic_works" >&6; }
8580
8581 if test x"$lt_cv_prog_compiler_pic_works" = xyes; then
8582     case $lt_prog_compiler_pic in
8583      "" | " "*) ;;
8584      *) lt_prog_compiler_pic=" $lt_prog_compiler_pic" ;;
8585      esac
8586 else
8587     lt_prog_compiler_pic=
8588      lt_prog_compiler_can_build_shared=no
8589 fi
8590
8591 fi
8592
8593
8594
8595
8596
8597
8598
8599
8600
8601
8602
8603 #
8604 # Check to make sure the static flag actually works.
8605 #
8606 wl=$lt_prog_compiler_wl eval lt_tmp_static_flag=\"$lt_prog_compiler_static\"
8607 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler static flag $lt_tmp_static_flag works" >&5
8608 $as_echo_n "checking if $compiler static flag $lt_tmp_static_flag works... " >&6; }
8609 if ${lt_cv_prog_compiler_static_works+:} false; then :
8610   $as_echo_n "(cached) " >&6
8611 else
8612   lt_cv_prog_compiler_static_works=no
8613    save_LDFLAGS="$LDFLAGS"
8614    LDFLAGS="$LDFLAGS $lt_tmp_static_flag"
8615    echo "$lt_simple_link_test_code" > conftest.$ac_ext
8616    if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
8617      # The linker can only warn and ignore the option if not recognized
8618      # So say no if there are warnings
8619      if test -s conftest.err; then
8620        # Append any errors to the config.log.
8621        cat conftest.err 1>&5
8622        $ECHO "$_lt_linker_boilerplate" | $SED '/^$/d' > conftest.exp
8623        $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
8624        if diff conftest.exp conftest.er2 >/dev/null; then
8625          lt_cv_prog_compiler_static_works=yes
8626        fi
8627      else
8628        lt_cv_prog_compiler_static_works=yes
8629      fi
8630    fi
8631    $RM -r conftest*
8632    LDFLAGS="$save_LDFLAGS"
8633
8634 fi
8635 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_static_works" >&5
8636 $as_echo "$lt_cv_prog_compiler_static_works" >&6; }
8637
8638 if test x"$lt_cv_prog_compiler_static_works" = xyes; then
8639     :
8640 else
8641     lt_prog_compiler_static=
8642 fi
8643
8644
8645
8646
8647
8648
8649
8650   { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
8651 $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
8652 if ${lt_cv_prog_compiler_c_o+:} false; then :
8653   $as_echo_n "(cached) " >&6
8654 else
8655   lt_cv_prog_compiler_c_o=no
8656    $RM -r conftest 2>/dev/null
8657    mkdir conftest
8658    cd conftest
8659    mkdir out
8660    echo "$lt_simple_compile_test_code" > conftest.$ac_ext
8661
8662    lt_compiler_flag="-o out/conftest2.$ac_objext"
8663    # Insert the option either (1) after the last *FLAGS variable, or
8664    # (2) before a word containing "conftest.", or (3) at the end.
8665    # Note that $ac_compile itself does not contain backslashes and begins
8666    # with a dollar sign (not a hyphen), so the echo should work correctly.
8667    lt_compile=`echo "$ac_compile" | $SED \
8668    -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
8669    -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
8670    -e 's:$: $lt_compiler_flag:'`
8671    (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
8672    (eval "$lt_compile" 2>out/conftest.err)
8673    ac_status=$?
8674    cat out/conftest.err >&5
8675    echo "$as_me:$LINENO: \$? = $ac_status" >&5
8676    if (exit $ac_status) && test -s out/conftest2.$ac_objext
8677    then
8678      # The compiler can only warn and ignore the option if not recognized
8679      # So say no if there are warnings
8680      $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' > out/conftest.exp
8681      $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
8682      if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
8683        lt_cv_prog_compiler_c_o=yes
8684      fi
8685    fi
8686    chmod u+w . 2>&5
8687    $RM conftest*
8688    # SGI C++ compiler will create directory out/ii_files/ for
8689    # template instantiation
8690    test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
8691    $RM out/* && rmdir out
8692    cd ..
8693    $RM -r conftest
8694    $RM conftest*
8695
8696 fi
8697 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o" >&5
8698 $as_echo "$lt_cv_prog_compiler_c_o" >&6; }
8699
8700
8701
8702
8703
8704
8705   { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
8706 $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
8707 if ${lt_cv_prog_compiler_c_o+:} false; then :
8708   $as_echo_n "(cached) " >&6
8709 else
8710   lt_cv_prog_compiler_c_o=no
8711    $RM -r conftest 2>/dev/null
8712    mkdir conftest
8713    cd conftest
8714    mkdir out
8715    echo "$lt_simple_compile_test_code" > conftest.$ac_ext
8716
8717    lt_compiler_flag="-o out/conftest2.$ac_objext"
8718    # Insert the option either (1) after the last *FLAGS variable, or
8719    # (2) before a word containing "conftest.", or (3) at the end.
8720    # Note that $ac_compile itself does not contain backslashes and begins
8721    # with a dollar sign (not a hyphen), so the echo should work correctly.
8722    lt_compile=`echo "$ac_compile" | $SED \
8723    -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
8724    -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
8725    -e 's:$: $lt_compiler_flag:'`
8726    (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
8727    (eval "$lt_compile" 2>out/conftest.err)
8728    ac_status=$?
8729    cat out/conftest.err >&5
8730    echo "$as_me:$LINENO: \$? = $ac_status" >&5
8731    if (exit $ac_status) && test -s out/conftest2.$ac_objext
8732    then
8733      # The compiler can only warn and ignore the option if not recognized
8734      # So say no if there are warnings
8735      $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' > out/conftest.exp
8736      $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
8737      if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
8738        lt_cv_prog_compiler_c_o=yes
8739      fi
8740    fi
8741    chmod u+w . 2>&5
8742    $RM conftest*
8743    # SGI C++ compiler will create directory out/ii_files/ for
8744    # template instantiation
8745    test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
8746    $RM out/* && rmdir out
8747    cd ..
8748    $RM -r conftest
8749    $RM conftest*
8750
8751 fi
8752 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o" >&5
8753 $as_echo "$lt_cv_prog_compiler_c_o" >&6; }
8754
8755
8756
8757
8758 hard_links="nottested"
8759 if test "$lt_cv_prog_compiler_c_o" = no && test "$need_locks" != no; then
8760   # do not overwrite the value of need_locks provided by the user
8761   { $as_echo "$as_me:${as_lineno-$LINENO}: checking if we can lock with hard links" >&5
8762 $as_echo_n "checking if we can lock with hard links... " >&6; }
8763   hard_links=yes
8764   $RM conftest*
8765   ln conftest.a conftest.b 2>/dev/null && hard_links=no
8766   touch conftest.a
8767   ln conftest.a conftest.b 2>&5 || hard_links=no
8768   ln conftest.a conftest.b 2>/dev/null && hard_links=no
8769   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hard_links" >&5
8770 $as_echo "$hard_links" >&6; }
8771   if test "$hard_links" = no; then
8772     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5
8773 $as_echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;}
8774     need_locks=warn
8775   fi
8776 else
8777   need_locks=no
8778 fi
8779
8780
8781
8782
8783
8784
8785   { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $compiler linker ($LD) supports shared libraries" >&5
8786 $as_echo_n "checking whether the $compiler linker ($LD) supports shared libraries... " >&6; }
8787
8788   runpath_var=
8789   allow_undefined_flag=
8790   always_export_symbols=no
8791   archive_cmds=
8792   archive_expsym_cmds=
8793   compiler_needs_object=no
8794   enable_shared_with_static_runtimes=no
8795   export_dynamic_flag_spec=
8796   export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
8797   hardcode_automatic=no
8798   hardcode_direct=no
8799   hardcode_direct_absolute=no
8800   hardcode_libdir_flag_spec=
8801   hardcode_libdir_separator=
8802   hardcode_minus_L=no
8803   hardcode_shlibpath_var=unsupported
8804   inherit_rpath=no
8805   link_all_deplibs=unknown
8806   module_cmds=
8807   module_expsym_cmds=
8808   old_archive_from_new_cmds=
8809   old_archive_from_expsyms_cmds=
8810   thread_safe_flag_spec=
8811   whole_archive_flag_spec=
8812   # include_expsyms should be a list of space-separated symbols to be *always*
8813   # included in the symbol list
8814   include_expsyms=
8815   # exclude_expsyms can be an extended regexp of symbols to exclude
8816   # it will be wrapped by ` (' and `)$', so one must not match beginning or
8817   # end of line.  Example: `a|bc|.*d.*' will exclude the symbols `a' and `bc',
8818   # as well as any symbol that contains `d'.
8819   exclude_expsyms='_GLOBAL_OFFSET_TABLE_|_GLOBAL__F[ID]_.*'
8820   # Although _GLOBAL_OFFSET_TABLE_ is a valid symbol C name, most a.out
8821   # platforms (ab)use it in PIC code, but their linkers get confused if
8822   # the symbol is explicitly referenced.  Since portable code cannot
8823   # rely on this symbol name, it's probably fine to never include it in
8824   # preloaded symbol tables.
8825   # Exclude shared library initialization/finalization symbols.
8826   extract_expsyms_cmds=
8827
8828   case $host_os in
8829   cygwin* | mingw* | pw32* | cegcc*)
8830     # FIXME: the MSVC++ port hasn't been tested in a loooong time
8831     # When not using gcc, we currently assume that we are using
8832     # Microsoft Visual C++.
8833     if test "$GCC" != yes; then
8834       with_gnu_ld=no
8835     fi
8836     ;;
8837   interix*)
8838     # we just hope/assume this is gcc and not c89 (= MSVC++)
8839     with_gnu_ld=yes
8840     ;;
8841   openbsd*)
8842     with_gnu_ld=no
8843     ;;
8844   linux* | k*bsd*-gnu | gnu*)
8845     link_all_deplibs=no
8846     ;;
8847   esac
8848
8849   ld_shlibs=yes
8850
8851   # On some targets, GNU ld is compatible enough with the native linker
8852   # that we're better off using the native interface for both.
8853   lt_use_gnu_ld_interface=no
8854   if test "$with_gnu_ld" = yes; then
8855     case $host_os in
8856       aix*)
8857         # The AIX port of GNU ld has always aspired to compatibility
8858         # with the native linker.  However, as the warning in the GNU ld
8859         # block says, versions before 2.19.5* couldn't really create working
8860         # shared libraries, regardless of the interface used.
8861         case `$LD -v 2>&1` in
8862           *\ \(GNU\ Binutils\)\ 2.19.5*) ;;
8863           *\ \(GNU\ Binutils\)\ 2.[2-9]*) ;;
8864           *\ \(GNU\ Binutils\)\ [3-9]*) ;;
8865           *)
8866             lt_use_gnu_ld_interface=yes
8867             ;;
8868         esac
8869         ;;
8870       *)
8871         lt_use_gnu_ld_interface=yes
8872         ;;
8873     esac
8874   fi
8875
8876   if test "$lt_use_gnu_ld_interface" = yes; then
8877     # If archive_cmds runs LD, not CC, wlarc should be empty
8878     wlarc='${wl}'
8879
8880     # Set some defaults for GNU ld with shared library support. These
8881     # are reset later if shared libraries are not supported. Putting them
8882     # here allows them to be overridden if necessary.
8883     runpath_var=LD_RUN_PATH
8884     hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
8885     export_dynamic_flag_spec='${wl}--export-dynamic'
8886     # ancient GNU ld didn't support --whole-archive et. al.
8887     if $LD --help 2>&1 | $GREP 'no-whole-archive' > /dev/null; then
8888       whole_archive_flag_spec="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
8889     else
8890       whole_archive_flag_spec=
8891     fi
8892     supports_anon_versioning=no
8893     case `$LD -v 2>&1` in
8894       *GNU\ gold*) supports_anon_versioning=yes ;;
8895       *\ [01].* | *\ 2.[0-9].* | *\ 2.10.*) ;; # catch versions < 2.11
8896       *\ 2.11.93.0.2\ *) supports_anon_versioning=yes ;; # RH7.3 ...
8897       *\ 2.11.92.0.12\ *) supports_anon_versioning=yes ;; # Mandrake 8.2 ...
8898       *\ 2.11.*) ;; # other 2.11 versions
8899       *) supports_anon_versioning=yes ;;
8900     esac
8901
8902     # See if GNU ld supports shared libraries.
8903     case $host_os in
8904     aix[3-9]*)
8905       # On AIX/PPC, the GNU linker is very broken
8906       if test "$host_cpu" != ia64; then
8907         ld_shlibs=no
8908         cat <<_LT_EOF 1>&2
8909
8910 *** Warning: the GNU linker, at least up to release 2.19, is reported
8911 *** to be unable to reliably create shared libraries on AIX.
8912 *** Therefore, libtool is disabling shared libraries support.  If you
8913 *** really care for shared libraries, you may want to install binutils
8914 *** 2.20 or above, or modify your PATH so that a non-GNU linker is found.
8915 *** You will then need to restart the configuration process.
8916
8917 _LT_EOF
8918       fi
8919       ;;
8920
8921     amigaos*)
8922       case $host_cpu in
8923       powerpc)
8924             # see comment about AmigaOS4 .so support
8925             archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
8926             archive_expsym_cmds=''
8927         ;;
8928       m68k)
8929             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)'
8930             hardcode_libdir_flag_spec='-L$libdir'
8931             hardcode_minus_L=yes
8932         ;;
8933       esac
8934       ;;
8935
8936     beos*)
8937       if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
8938         allow_undefined_flag=unsupported
8939         # Joseph Beckenbach <jrb3@best.com> says some releases of gcc
8940         # support --undefined.  This deserves some investigation.  FIXME
8941         archive_cmds='$CC -nostart $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
8942       else
8943         ld_shlibs=no
8944       fi
8945       ;;
8946
8947     cygwin* | mingw* | pw32* | cegcc*)
8948       # _LT_TAGVAR(hardcode_libdir_flag_spec, ) is actually meaningless,
8949       # as there is no search path for DLLs.
8950       hardcode_libdir_flag_spec='-L$libdir'
8951       export_dynamic_flag_spec='${wl}--export-all-symbols'
8952       allow_undefined_flag=unsupported
8953       always_export_symbols=no
8954       enable_shared_with_static_runtimes=yes
8955       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'
8956       exclude_expsyms='[_]+GLOBAL_OFFSET_TABLE_|[_]+GLOBAL__[FID]_.*|[_]+head_[A-Za-z0-9_]+_dll|[A-Za-z0-9_]+_dll_iname'
8957
8958       if $LD --help 2>&1 | $GREP 'auto-import' > /dev/null; then
8959         archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
8960         # If the export-symbols file already is a .def file (1st line
8961         # is EXPORTS), use it as is; otherwise, prepend...
8962         archive_expsym_cmds='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
8963           cp $export_symbols $output_objdir/$soname.def;
8964         else
8965           echo EXPORTS > $output_objdir/$soname.def;
8966           cat $export_symbols >> $output_objdir/$soname.def;
8967         fi~
8968         $CC -shared $output_objdir/$soname.def $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
8969       else
8970         ld_shlibs=no
8971       fi
8972       ;;
8973
8974     haiku*)
8975       archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
8976       link_all_deplibs=yes
8977       ;;
8978
8979     interix[3-9]*)
8980       hardcode_direct=no
8981       hardcode_shlibpath_var=no
8982       hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
8983       export_dynamic_flag_spec='${wl}-E'
8984       # Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc.
8985       # Instead, shared libraries are loaded at an image base (0x10000000 by
8986       # default) and relocated if they conflict, which is a slow very memory
8987       # consuming and fragmenting process.  To avoid this, we pick a random,
8988       # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link
8989       # time.  Moving up from 0x10000000 also allows more sbrk(2) space.
8990       archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-h,$soname ${wl}--image-base,`expr ${RANDOM-$$} % 4096 / 2 \* 262144 + 1342177280` -o $lib'
8991       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'
8992       ;;
8993
8994     gnu* | linux* | tpf* | k*bsd*-gnu | kopensolaris*-gnu)
8995       tmp_diet=no
8996       if test "$host_os" = linux-dietlibc; then
8997         case $cc_basename in
8998           diet\ *) tmp_diet=yes;;       # linux-dietlibc with static linking (!diet-dyn)
8999         esac
9000       fi
9001       if $LD --help 2>&1 | $EGREP ': supported targets:.* elf' > /dev/null \
9002          && test "$tmp_diet" = no
9003       then
9004         tmp_addflag=' $pic_flag'
9005         tmp_sharedflag='-shared'
9006         case $cc_basename,$host_cpu in
9007         pgcc*)                          # Portland Group C compiler
9008           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'
9009           tmp_addflag=' $pic_flag'
9010           ;;
9011         pgf77* | pgf90* | pgf95* | pgfortran*)
9012                                         # Portland Group f77 and f90 compilers
9013           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'
9014           tmp_addflag=' $pic_flag -Mnomain' ;;
9015         ecc*,ia64* | icc*,ia64*)        # Intel C compiler on ia64
9016           tmp_addflag=' -i_dynamic' ;;
9017         efc*,ia64* | ifort*,ia64*)      # Intel Fortran compiler on ia64
9018           tmp_addflag=' -i_dynamic -nofor_main' ;;
9019         ifc* | ifort*)                  # Intel Fortran compiler
9020           tmp_addflag=' -nofor_main' ;;
9021         lf95*)                          # Lahey Fortran 8.1
9022           whole_archive_flag_spec=
9023           tmp_sharedflag='--shared' ;;
9024         xl[cC]* | bgxl[cC]* | mpixl[cC]*) # IBM XL C 8.0 on PPC (deal with xlf below)
9025           tmp_sharedflag='-qmkshrobj'
9026           tmp_addflag= ;;
9027         nvcc*)  # Cuda Compiler Driver 2.2
9028           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'
9029           compiler_needs_object=yes
9030           ;;
9031         esac
9032         case `$CC -V 2>&1 | sed 5q` in
9033         *Sun\ C*)                       # Sun C 5.9
9034           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'
9035           compiler_needs_object=yes
9036           tmp_sharedflag='-G' ;;
9037         *Sun\ F*)                       # Sun Fortran 8.3
9038           tmp_sharedflag='-G' ;;
9039         esac
9040         archive_cmds='$CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9041
9042         if test "x$supports_anon_versioning" = xyes; then
9043           archive_expsym_cmds='echo "{ global:" > $output_objdir/$libname.ver~
9044             cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
9045             echo "local: *; };" >> $output_objdir/$libname.ver~
9046             $CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-version-script ${wl}$output_objdir/$libname.ver -o $lib'
9047         fi
9048
9049         case $cc_basename in
9050         xlf* | bgf* | bgxlf* | mpixlf*)
9051           # IBM XL Fortran 10.1 on PPC cannot create shared libs itself
9052           whole_archive_flag_spec='--whole-archive$convenience --no-whole-archive'
9053           hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
9054           archive_cmds='$LD -shared $libobjs $deplibs $linker_flags -soname $soname -o $lib'
9055           if test "x$supports_anon_versioning" = xyes; then
9056             archive_expsym_cmds='echo "{ global:" > $output_objdir/$libname.ver~
9057               cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
9058               echo "local: *; };" >> $output_objdir/$libname.ver~
9059               $LD -shared $libobjs $deplibs $linker_flags -soname $soname -version-script $output_objdir/$libname.ver -o $lib'
9060           fi
9061           ;;
9062         esac
9063       else
9064         ld_shlibs=no
9065       fi
9066       ;;
9067
9068     netbsd* | netbsdelf*-gnu)
9069       if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
9070         archive_cmds='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib'
9071         wlarc=
9072       else
9073         archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9074         archive_expsym_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
9075       fi
9076       ;;
9077
9078     solaris*)
9079       if $LD -v 2>&1 | $GREP 'BFD 2\.8' > /dev/null; then
9080         ld_shlibs=no
9081         cat <<_LT_EOF 1>&2
9082
9083 *** Warning: The releases 2.8.* of the GNU linker cannot reliably
9084 *** create shared libraries on Solaris systems.  Therefore, libtool
9085 *** is disabling shared libraries support.  We urge you to upgrade GNU
9086 *** binutils to release 2.9.1 or newer.  Another option is to modify
9087 *** your PATH or compiler configuration so that the native linker is
9088 *** used, and then restart.
9089
9090 _LT_EOF
9091       elif $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
9092         archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9093         archive_expsym_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
9094       else
9095         ld_shlibs=no
9096       fi
9097       ;;
9098
9099     sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX*)
9100       case `$LD -v 2>&1` in
9101         *\ [01].* | *\ 2.[0-9].* | *\ 2.1[0-5].*)
9102         ld_shlibs=no
9103         cat <<_LT_EOF 1>&2
9104
9105 *** Warning: Releases of the GNU linker prior to 2.16.91.0.3 can not
9106 *** reliably create shared libraries on SCO systems.  Therefore, libtool
9107 *** is disabling shared libraries support.  We urge you to upgrade GNU
9108 *** binutils to release 2.16.91.0.3 or newer.  Another option is to modify
9109 *** your PATH or compiler configuration so that the native linker is
9110 *** used, and then restart.
9111
9112 _LT_EOF
9113         ;;
9114         *)
9115           # For security reasons, it is highly recommended that you always
9116           # use absolute paths for naming shared libraries, and exclude the
9117           # DT_RUNPATH tag from executables and libraries.  But doing so
9118           # requires that you compile everything twice, which is a pain.
9119           if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
9120             hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
9121             archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9122             archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
9123           else
9124             ld_shlibs=no
9125           fi
9126         ;;
9127       esac
9128       ;;
9129
9130     sunos4*)
9131       archive_cmds='$LD -assert pure-text -Bshareable -o $lib $libobjs $deplibs $linker_flags'
9132       wlarc=
9133       hardcode_direct=yes
9134       hardcode_shlibpath_var=no
9135       ;;
9136
9137     *)
9138       if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
9139         archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9140         archive_expsym_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
9141       else
9142         ld_shlibs=no
9143       fi
9144       ;;
9145     esac
9146
9147     if test "$ld_shlibs" = no; then
9148       runpath_var=
9149       hardcode_libdir_flag_spec=
9150       export_dynamic_flag_spec=
9151       whole_archive_flag_spec=
9152     fi
9153   else
9154     # PORTME fill in a description of your system's linker (not GNU ld)
9155     case $host_os in
9156     aix3*)
9157       allow_undefined_flag=unsupported
9158       always_export_symbols=yes
9159       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'
9160       # Note: this linker hardcodes the directories in LIBPATH if there
9161       # are no directories specified by -L.
9162       hardcode_minus_L=yes
9163       if test "$GCC" = yes && test -z "$lt_prog_compiler_static"; then
9164         # Neither direct hardcoding nor static linking is supported with a
9165         # broken collect2.
9166         hardcode_direct=unsupported
9167       fi
9168       ;;
9169
9170     aix[4-9]*)
9171       if test "$host_cpu" = ia64; then
9172         # On IA64, the linker does run time linking by default, so we don't
9173         # have to do anything special.
9174         aix_use_runtimelinking=no
9175         exp_sym_flag='-Bexport'
9176         no_entry_flag=""
9177       else
9178         # If we're using GNU nm, then we don't want the "-C" option.
9179         # -C means demangle to AIX nm, but means don't demangle with GNU nm
9180         # Also, AIX nm treats weak defined symbols like other global
9181         # defined symbols, whereas GNU nm marks them as "W".
9182         if $NM -V 2>&1 | $GREP 'GNU' > /dev/null; then
9183           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'
9184         else
9185           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'
9186         fi
9187         aix_use_runtimelinking=no
9188
9189         # Test if we are trying to use run time linking or normal
9190         # AIX style linking. If -brtl is somewhere in LDFLAGS, we
9191         # need to do runtime linking.
9192         case $host_os in aix4.[23]|aix4.[23].*|aix[5-9]*)
9193           for ld_flag in $LDFLAGS; do
9194           if (test $ld_flag = "-brtl" || test $ld_flag = "-Wl,-brtl"); then
9195             aix_use_runtimelinking=yes
9196             break
9197           fi
9198           done
9199           ;;
9200         esac
9201
9202         exp_sym_flag='-bexport'
9203         no_entry_flag='-bnoentry'
9204       fi
9205
9206       # When large executables or shared objects are built, AIX ld can
9207       # have problems creating the table of contents.  If linking a library
9208       # or program results in "error TOC overflow" add -mminimal-toc to
9209       # CXXFLAGS/CFLAGS for g++/gcc.  In the cases where that is not
9210       # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
9211
9212       archive_cmds=''
9213       hardcode_direct=yes
9214       hardcode_direct_absolute=yes
9215       hardcode_libdir_separator=':'
9216       link_all_deplibs=yes
9217       file_list_spec='${wl}-f,'
9218
9219       if test "$GCC" = yes; then
9220         case $host_os in aix4.[012]|aix4.[012].*)
9221         # We only want to do this on AIX 4.2 and lower, the check
9222         # below for broken collect2 doesn't work under 4.3+
9223           collect2name=`${CC} -print-prog-name=collect2`
9224           if test -f "$collect2name" &&
9225            strings "$collect2name" | $GREP resolve_lib_name >/dev/null
9226           then
9227           # We have reworked collect2
9228           :
9229           else
9230           # We have old collect2
9231           hardcode_direct=unsupported
9232           # It fails to find uninstalled libraries when the uninstalled
9233           # path is not listed in the libpath.  Setting hardcode_minus_L
9234           # to unsupported forces relinking
9235           hardcode_minus_L=yes
9236           hardcode_libdir_flag_spec='-L$libdir'
9237           hardcode_libdir_separator=
9238           fi
9239           ;;
9240         esac
9241         shared_flag='-shared'
9242         if test "$aix_use_runtimelinking" = yes; then
9243           shared_flag="$shared_flag "'${wl}-G'
9244         fi
9245         link_all_deplibs=no
9246       else
9247         # not using gcc
9248         if test "$host_cpu" = ia64; then
9249         # VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
9250         # chokes on -Wl,-G. The following line is correct:
9251           shared_flag='-G'
9252         else
9253           if test "$aix_use_runtimelinking" = yes; then
9254             shared_flag='${wl}-G'
9255           else
9256             shared_flag='${wl}-bM:SRE'
9257           fi
9258         fi
9259       fi
9260
9261       export_dynamic_flag_spec='${wl}-bexpall'
9262       # It seems that -bexpall does not export symbols beginning with
9263       # underscore (_), so it is better to generate a list of symbols to export.
9264       always_export_symbols=yes
9265       if test "$aix_use_runtimelinking" = yes; then
9266         # Warning - without using the other runtime loading flags (-brtl),
9267         # -berok will link without error, but may produce a broken library.
9268         allow_undefined_flag='-berok'
9269         # Determine the default libpath from the value encoded in an
9270         # empty executable.
9271         if test "${lt_cv_aix_libpath+set}" = set; then
9272   aix_libpath=$lt_cv_aix_libpath
9273 else
9274   if ${lt_cv_aix_libpath_+:} false; then :
9275   $as_echo_n "(cached) " >&6
9276 else
9277   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9278 /* end confdefs.h.  */
9279
9280 int
9281 main ()
9282 {
9283
9284   ;
9285   return 0;
9286 }
9287 _ACEOF
9288 if ac_fn_c_try_link "$LINENO"; then :
9289
9290   lt_aix_libpath_sed='
9291       /Import File Strings/,/^$/ {
9292           /^0/ {
9293               s/^0  *\([^ ]*\) *$/\1/
9294               p
9295           }
9296       }'
9297   lt_cv_aix_libpath_=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
9298   # Check for a 64-bit object if we didn't find anything.
9299   if test -z "$lt_cv_aix_libpath_"; then
9300     lt_cv_aix_libpath_=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
9301   fi
9302 fi
9303 rm -f core conftest.err conftest.$ac_objext \
9304     conftest$ac_exeext conftest.$ac_ext
9305   if test -z "$lt_cv_aix_libpath_"; then
9306     lt_cv_aix_libpath_="/usr/lib:/lib"
9307   fi
9308
9309 fi
9310
9311   aix_libpath=$lt_cv_aix_libpath_
9312 fi
9313
9314         hardcode_libdir_flag_spec='${wl}-blibpath:$libdir:'"$aix_libpath"
9315         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"
9316       else
9317         if test "$host_cpu" = ia64; then
9318           hardcode_libdir_flag_spec='${wl}-R $libdir:/usr/lib:/lib'
9319           allow_undefined_flag="-z nodefs"
9320           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"
9321         else
9322          # Determine the default libpath from the value encoded in an
9323          # empty executable.
9324          if test "${lt_cv_aix_libpath+set}" = set; then
9325   aix_libpath=$lt_cv_aix_libpath
9326 else
9327   if ${lt_cv_aix_libpath_+:} false; then :
9328   $as_echo_n "(cached) " >&6
9329 else
9330   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9331 /* end confdefs.h.  */
9332
9333 int
9334 main ()
9335 {
9336
9337   ;
9338   return 0;
9339 }
9340 _ACEOF
9341 if ac_fn_c_try_link "$LINENO"; then :
9342
9343   lt_aix_libpath_sed='
9344       /Import File Strings/,/^$/ {
9345           /^0/ {
9346               s/^0  *\([^ ]*\) *$/\1/
9347               p
9348           }
9349       }'
9350   lt_cv_aix_libpath_=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
9351   # Check for a 64-bit object if we didn't find anything.
9352   if test -z "$lt_cv_aix_libpath_"; then
9353     lt_cv_aix_libpath_=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
9354   fi
9355 fi
9356 rm -f core conftest.err conftest.$ac_objext \
9357     conftest$ac_exeext conftest.$ac_ext
9358   if test -z "$lt_cv_aix_libpath_"; then
9359     lt_cv_aix_libpath_="/usr/lib:/lib"
9360   fi
9361
9362 fi
9363
9364   aix_libpath=$lt_cv_aix_libpath_
9365 fi
9366
9367          hardcode_libdir_flag_spec='${wl}-blibpath:$libdir:'"$aix_libpath"
9368           # Warning - without using the other run time loading flags,
9369           # -berok will link without error, but may produce a broken library.
9370           no_undefined_flag=' ${wl}-bernotok'
9371           allow_undefined_flag=' ${wl}-berok'
9372           if test "$with_gnu_ld" = yes; then
9373             # We only use this code for GNU lds that support --whole-archive.
9374             whole_archive_flag_spec='${wl}--whole-archive$convenience ${wl}--no-whole-archive'
9375           else
9376             # Exported symbols can be pulled into shared objects from archives
9377             whole_archive_flag_spec='$convenience'
9378           fi
9379           archive_cmds_need_lc=yes
9380           # This is similar to how AIX traditionally builds its shared libraries.
9381           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'
9382         fi
9383       fi
9384       ;;
9385
9386     amigaos*)
9387       case $host_cpu in
9388       powerpc)
9389             # see comment about AmigaOS4 .so support
9390             archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9391             archive_expsym_cmds=''
9392         ;;
9393       m68k)
9394             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)'
9395             hardcode_libdir_flag_spec='-L$libdir'
9396             hardcode_minus_L=yes
9397         ;;
9398       esac
9399       ;;
9400
9401     bsdi[45]*)
9402       export_dynamic_flag_spec=-rdynamic
9403       ;;
9404
9405     cygwin* | mingw* | pw32* | cegcc*)
9406       # When not using gcc, we currently assume that we are using
9407       # Microsoft Visual C++.
9408       # hardcode_libdir_flag_spec is actually meaningless, as there is
9409       # no search path for DLLs.
9410       case $cc_basename in
9411       cl*)
9412         # Native MSVC
9413         hardcode_libdir_flag_spec=' '
9414         allow_undefined_flag=unsupported
9415         always_export_symbols=yes
9416         file_list_spec='@'
9417         # Tell ltmain to make .lib files, not .a files.
9418         libext=lib
9419         # Tell ltmain to make .dll files, not .so files.
9420         shrext_cmds=".dll"
9421         # FIXME: Setting linknames here is a bad hack.
9422         archive_cmds='$CC -o $output_objdir/$soname $libobjs $compiler_flags $deplibs -Wl,-dll~linknames='
9423         archive_expsym_cmds='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
9424             sed -n -e 's/\\\\\\\(.*\\\\\\\)/-link\\\ -EXPORT:\\\\\\\1/' -e '1\\\!p' < $export_symbols > $output_objdir/$soname.exp;
9425           else
9426             sed -e 's/\\\\\\\(.*\\\\\\\)/-link\\\ -EXPORT:\\\\\\\1/' < $export_symbols > $output_objdir/$soname.exp;
9427           fi~
9428           $CC -o $tool_output_objdir$soname $libobjs $compiler_flags $deplibs "@$tool_output_objdir$soname.exp" -Wl,-DLL,-IMPLIB:"$tool_output_objdir$libname.dll.lib"~
9429           linknames='
9430         # The linker will not automatically build a static lib if we build a DLL.
9431         # _LT_TAGVAR(old_archive_from_new_cmds, )='true'
9432         enable_shared_with_static_runtimes=yes
9433         exclude_expsyms='_NULL_IMPORT_DESCRIPTOR|_IMPORT_DESCRIPTOR_.*'
9434         export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS][ ]/s/.*[ ]\([^ ]*\)/\1,DATA/'\'' | $SED -e '\''/^[AITW][ ]/s/.*[ ]//'\'' | sort | uniq > $export_symbols'
9435         # Don't use ranlib
9436         old_postinstall_cmds='chmod 644 $oldlib'
9437         postlink_cmds='lt_outputfile="@OUTPUT@"~
9438           lt_tool_outputfile="@TOOL_OUTPUT@"~
9439           case $lt_outputfile in
9440             *.exe|*.EXE) ;;
9441             *)
9442               lt_outputfile="$lt_outputfile.exe"
9443               lt_tool_outputfile="$lt_tool_outputfile.exe"
9444               ;;
9445           esac~
9446           if test "$MANIFEST_TOOL" != ":" && test -f "$lt_outputfile.manifest"; then
9447             $MANIFEST_TOOL -manifest "$lt_tool_outputfile.manifest" -outputresource:"$lt_tool_outputfile" || exit 1;
9448             $RM "$lt_outputfile.manifest";
9449           fi'
9450         ;;
9451       *)
9452         # Assume MSVC wrapper
9453         hardcode_libdir_flag_spec=' '
9454         allow_undefined_flag=unsupported
9455         # Tell ltmain to make .lib files, not .a files.
9456         libext=lib
9457         # Tell ltmain to make .dll files, not .so files.
9458         shrext_cmds=".dll"
9459         # FIXME: Setting linknames here is a bad hack.
9460         archive_cmds='$CC -o $lib $libobjs $compiler_flags `func_echo_all "$deplibs" | $SED '\''s/ -lc$//'\''` -link -dll~linknames='
9461         # The linker will automatically build a .lib file if we build a DLL.
9462         old_archive_from_new_cmds='true'
9463         # FIXME: Should let the user specify the lib program.
9464         old_archive_cmds='lib -OUT:$oldlib$oldobjs$old_deplibs'
9465         enable_shared_with_static_runtimes=yes
9466         ;;
9467       esac
9468       ;;
9469
9470     darwin* | rhapsody*)
9471
9472
9473   archive_cmds_need_lc=no
9474   hardcode_direct=no
9475   hardcode_automatic=yes
9476   hardcode_shlibpath_var=unsupported
9477   if test "$lt_cv_ld_force_load" = "yes"; then
9478     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\"`'
9479
9480   else
9481     whole_archive_flag_spec=''
9482   fi
9483   link_all_deplibs=yes
9484   allow_undefined_flag="$_lt_dar_allow_undefined"
9485   case $cc_basename in
9486      ifort*) _lt_dar_can_shared=yes ;;
9487      *) _lt_dar_can_shared=$GCC ;;
9488   esac
9489   if test "$_lt_dar_can_shared" = "yes"; then
9490     output_verbose_link_cmd=func_echo_all
9491     archive_cmds="\$CC -dynamiclib \$allow_undefined_flag -o \$lib \$libobjs \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring $_lt_dar_single_mod${_lt_dsymutil}"
9492     module_cmds="\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags${_lt_dsymutil}"
9493     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}"
9494     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}"
9495
9496   else
9497   ld_shlibs=no
9498   fi
9499
9500       ;;
9501
9502     dgux*)
9503       archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
9504       hardcode_libdir_flag_spec='-L$libdir'
9505       hardcode_shlibpath_var=no
9506       ;;
9507
9508     # FreeBSD 2.2.[012] allows us to include c++rt0.o to get C++ constructor
9509     # support.  Future versions do this automatically, but an explicit c++rt0.o
9510     # does not break anything, and helps significantly (at the cost of a little
9511     # extra space).
9512     freebsd2.2*)
9513       archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags /usr/lib/c++rt0.o'
9514       hardcode_libdir_flag_spec='-R$libdir'
9515       hardcode_direct=yes
9516       hardcode_shlibpath_var=no
9517       ;;
9518
9519     # Unfortunately, older versions of FreeBSD 2 do not have this feature.
9520     freebsd2.*)
9521       archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
9522       hardcode_direct=yes
9523       hardcode_minus_L=yes
9524       hardcode_shlibpath_var=no
9525       ;;
9526
9527     # FreeBSD 3 and greater uses gcc -shared to do shared libraries.
9528     freebsd* | dragonfly*)
9529       archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
9530       hardcode_libdir_flag_spec='-R$libdir'
9531       hardcode_direct=yes
9532       hardcode_shlibpath_var=no
9533       ;;
9534
9535     hpux9*)
9536       if test "$GCC" = yes; then
9537         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'
9538       else
9539         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'
9540       fi
9541       hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
9542       hardcode_libdir_separator=:
9543       hardcode_direct=yes
9544
9545       # hardcode_minus_L: Not really in the search PATH,
9546       # but as the default location of the library.
9547       hardcode_minus_L=yes
9548       export_dynamic_flag_spec='${wl}-E'
9549       ;;
9550
9551     hpux10*)
9552       if test "$GCC" = yes && test "$with_gnu_ld" = no; then
9553         archive_cmds='$CC -shared $pic_flag ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
9554       else
9555         archive_cmds='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
9556       fi
9557       if test "$with_gnu_ld" = no; then
9558         hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
9559         hardcode_libdir_separator=:
9560         hardcode_direct=yes
9561         hardcode_direct_absolute=yes
9562         export_dynamic_flag_spec='${wl}-E'
9563         # hardcode_minus_L: Not really in the search PATH,
9564         # but as the default location of the library.
9565         hardcode_minus_L=yes
9566       fi
9567       ;;
9568
9569     hpux11*)
9570       if test "$GCC" = yes && test "$with_gnu_ld" = no; then
9571         case $host_cpu in
9572         hppa*64*)
9573           archive_cmds='$CC -shared ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
9574           ;;
9575         ia64*)
9576           archive_cmds='$CC -shared $pic_flag ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
9577           ;;
9578         *)
9579           archive_cmds='$CC -shared $pic_flag ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
9580           ;;
9581         esac
9582       else
9583         case $host_cpu in
9584         hppa*64*)
9585           archive_cmds='$CC -b ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
9586           ;;
9587         ia64*)
9588           archive_cmds='$CC -b ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
9589           ;;
9590         *)
9591
9592           # Older versions of the 11.00 compiler do not understand -b yet
9593           # (HP92453-01 A.11.01.20 doesn't, HP92453-01 B.11.X.35175-35176.GP does)
9594           { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC understands -b" >&5
9595 $as_echo_n "checking if $CC understands -b... " >&6; }
9596 if ${lt_cv_prog_compiler__b+:} false; then :
9597   $as_echo_n "(cached) " >&6
9598 else
9599   lt_cv_prog_compiler__b=no
9600    save_LDFLAGS="$LDFLAGS"
9601    LDFLAGS="$LDFLAGS -b"
9602    echo "$lt_simple_link_test_code" > conftest.$ac_ext
9603    if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
9604      # The linker can only warn and ignore the option if not recognized
9605      # So say no if there are warnings
9606      if test -s conftest.err; then
9607        # Append any errors to the config.log.
9608        cat conftest.err 1>&5
9609        $ECHO "$_lt_linker_boilerplate" | $SED '/^$/d' > conftest.exp
9610        $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
9611        if diff conftest.exp conftest.er2 >/dev/null; then
9612          lt_cv_prog_compiler__b=yes
9613        fi
9614      else
9615        lt_cv_prog_compiler__b=yes
9616      fi
9617    fi
9618    $RM -r conftest*
9619    LDFLAGS="$save_LDFLAGS"
9620
9621 fi
9622 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler__b" >&5
9623 $as_echo "$lt_cv_prog_compiler__b" >&6; }
9624
9625 if test x"$lt_cv_prog_compiler__b" = xyes; then
9626     archive_cmds='$CC -b ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
9627 else
9628     archive_cmds='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
9629 fi
9630
9631           ;;
9632         esac
9633       fi
9634       if test "$with_gnu_ld" = no; then
9635         hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
9636         hardcode_libdir_separator=:
9637
9638         case $host_cpu in
9639         hppa*64*|ia64*)
9640           hardcode_direct=no
9641           hardcode_shlibpath_var=no
9642           ;;
9643         *)
9644           hardcode_direct=yes
9645           hardcode_direct_absolute=yes
9646           export_dynamic_flag_spec='${wl}-E'
9647
9648           # hardcode_minus_L: Not really in the search PATH,
9649           # but as the default location of the library.
9650           hardcode_minus_L=yes
9651           ;;
9652         esac
9653       fi
9654       ;;
9655
9656     irix5* | irix6* | nonstopux*)
9657       if test "$GCC" = yes; then
9658         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'
9659         # Try to use the -exported_symbol ld option, if it does not
9660         # work, assume that -exports_file does not work either and
9661         # implicitly export all symbols.
9662         # This should be the same for all languages, so no per-tag cache variable.
9663         { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $host_os linker accepts -exported_symbol" >&5
9664 $as_echo_n "checking whether the $host_os linker accepts -exported_symbol... " >&6; }
9665 if ${lt_cv_irix_exported_symbol+:} false; then :
9666   $as_echo_n "(cached) " >&6
9667 else
9668   save_LDFLAGS="$LDFLAGS"
9669            LDFLAGS="$LDFLAGS -shared ${wl}-exported_symbol ${wl}foo ${wl}-update_registry ${wl}/dev/null"
9670            cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9671 /* end confdefs.h.  */
9672 int foo (void) { return 0; }
9673 _ACEOF
9674 if ac_fn_c_try_link "$LINENO"; then :
9675   lt_cv_irix_exported_symbol=yes
9676 else
9677   lt_cv_irix_exported_symbol=no
9678 fi
9679 rm -f core conftest.err conftest.$ac_objext \
9680     conftest$ac_exeext conftest.$ac_ext
9681            LDFLAGS="$save_LDFLAGS"
9682 fi
9683 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_irix_exported_symbol" >&5
9684 $as_echo "$lt_cv_irix_exported_symbol" >&6; }
9685         if test "$lt_cv_irix_exported_symbol" = yes; then
9686           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'
9687         fi
9688       else
9689         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'
9690         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'
9691       fi
9692       archive_cmds_need_lc='no'
9693       hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
9694       hardcode_libdir_separator=:
9695       inherit_rpath=yes
9696       link_all_deplibs=yes
9697       ;;
9698
9699     netbsd* | netbsdelf*-gnu)
9700       if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
9701         archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'  # a.out
9702       else
9703         archive_cmds='$LD -shared -o $lib $libobjs $deplibs $linker_flags'      # ELF
9704       fi
9705       hardcode_libdir_flag_spec='-R$libdir'
9706       hardcode_direct=yes
9707       hardcode_shlibpath_var=no
9708       ;;
9709
9710     newsos6)
9711       archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
9712       hardcode_direct=yes
9713       hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
9714       hardcode_libdir_separator=:
9715       hardcode_shlibpath_var=no
9716       ;;
9717
9718     *nto* | *qnx*)
9719       ;;
9720
9721     openbsd*)
9722       if test -f /usr/libexec/ld.so; then
9723         hardcode_direct=yes
9724         hardcode_shlibpath_var=no
9725         hardcode_direct_absolute=yes
9726         if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
9727           archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
9728           archive_expsym_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-retain-symbols-file,$export_symbols'
9729           hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
9730           export_dynamic_flag_spec='${wl}-E'
9731         else
9732           case $host_os in
9733            openbsd[01].* | openbsd2.[0-7] | openbsd2.[0-7].*)
9734              archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
9735              hardcode_libdir_flag_spec='-R$libdir'
9736              ;;
9737            *)
9738              archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
9739              hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
9740              ;;
9741           esac
9742         fi
9743       else
9744         ld_shlibs=no
9745       fi
9746       ;;
9747
9748     os2*)
9749       hardcode_libdir_flag_spec='-L$libdir'
9750       hardcode_minus_L=yes
9751       allow_undefined_flag=unsupported
9752       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'
9753       old_archive_from_new_cmds='emximp -o $output_objdir/$libname.a $output_objdir/$libname.def'
9754       ;;
9755
9756     osf3*)
9757       if test "$GCC" = yes; then
9758         allow_undefined_flag=' ${wl}-expect_unresolved ${wl}\*'
9759         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'
9760       else
9761         allow_undefined_flag=' -expect_unresolved \*'
9762         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'
9763       fi
9764       archive_cmds_need_lc='no'
9765       hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
9766       hardcode_libdir_separator=:
9767       ;;
9768
9769     osf4* | osf5*)      # as osf3* with the addition of -msym flag
9770       if test "$GCC" = yes; then
9771         allow_undefined_flag=' ${wl}-expect_unresolved ${wl}\*'
9772         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'
9773         hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
9774       else
9775         allow_undefined_flag=' -expect_unresolved \*'
9776         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'
9777         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~
9778         $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'
9779
9780         # Both c and cxx compiler support -rpath directly
9781         hardcode_libdir_flag_spec='-rpath $libdir'
9782       fi
9783       archive_cmds_need_lc='no'
9784       hardcode_libdir_separator=:
9785       ;;
9786
9787     solaris*)
9788       no_undefined_flag=' -z defs'
9789       if test "$GCC" = yes; then
9790         wlarc='${wl}'
9791         archive_cmds='$CC -shared $pic_flag ${wl}-z ${wl}text ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
9792         archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
9793           $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'
9794       else
9795         case `$CC -V 2>&1` in
9796         *"Compilers 5.0"*)
9797           wlarc=''
9798           archive_cmds='$LD -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $linker_flags'
9799           archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
9800           $LD -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$RM $lib.exp'
9801           ;;
9802         *)
9803           wlarc='${wl}'
9804           archive_cmds='$CC -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $compiler_flags'
9805           archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
9806           $CC -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $compiler_flags~$RM $lib.exp'
9807           ;;
9808         esac
9809       fi
9810       hardcode_libdir_flag_spec='-R$libdir'
9811       hardcode_shlibpath_var=no
9812       case $host_os in
9813       solaris2.[0-5] | solaris2.[0-5].*) ;;
9814       *)
9815         # The compiler driver will combine and reorder linker options,
9816         # but understands `-z linker_flag'.  GCC discards it without `$wl',
9817         # but is careful enough not to reorder.
9818         # Supported since Solaris 2.6 (maybe 2.5.1?)
9819         if test "$GCC" = yes; then
9820           whole_archive_flag_spec='${wl}-z ${wl}allextract$convenience ${wl}-z ${wl}defaultextract'
9821         else
9822           whole_archive_flag_spec='-z allextract$convenience -z defaultextract'
9823         fi
9824         ;;
9825       esac
9826       link_all_deplibs=yes
9827       ;;
9828
9829     sunos4*)
9830       if test "x$host_vendor" = xsequent; then
9831         # Use $CC to link under sequent, because it throws in some extra .o
9832         # files that make .init and .fini sections work.
9833         archive_cmds='$CC -G ${wl}-h $soname -o $lib $libobjs $deplibs $compiler_flags'
9834       else
9835         archive_cmds='$LD -assert pure-text -Bstatic -o $lib $libobjs $deplibs $linker_flags'
9836       fi
9837       hardcode_libdir_flag_spec='-L$libdir'
9838       hardcode_direct=yes
9839       hardcode_minus_L=yes
9840       hardcode_shlibpath_var=no
9841       ;;
9842
9843     sysv4)
9844       case $host_vendor in
9845         sni)
9846           archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
9847           hardcode_direct=yes # is this really true???
9848         ;;
9849         siemens)
9850           ## LD is ld it makes a PLAMLIB
9851           ## CC just makes a GrossModule.
9852           archive_cmds='$LD -G -o $lib $libobjs $deplibs $linker_flags'
9853           reload_cmds='$CC -r -o $output$reload_objs'
9854           hardcode_direct=no
9855         ;;
9856         motorola)
9857           archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
9858           hardcode_direct=no #Motorola manual says yes, but my tests say they lie
9859         ;;
9860       esac
9861       runpath_var='LD_RUN_PATH'
9862       hardcode_shlibpath_var=no
9863       ;;
9864
9865     sysv4.3*)
9866       archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
9867       hardcode_shlibpath_var=no
9868       export_dynamic_flag_spec='-Bexport'
9869       ;;
9870
9871     sysv4*MP*)
9872       if test -d /usr/nec; then
9873         archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
9874         hardcode_shlibpath_var=no
9875         runpath_var=LD_RUN_PATH
9876         hardcode_runpath_var=yes
9877         ld_shlibs=yes
9878       fi
9879       ;;
9880
9881     sysv4*uw2* | sysv5OpenUNIX* | sysv5UnixWare7.[01].[10]* | unixware7* | sco3.2v5.0.[024]*)
9882       no_undefined_flag='${wl}-z,text'
9883       archive_cmds_need_lc=no
9884       hardcode_shlibpath_var=no
9885       runpath_var='LD_RUN_PATH'
9886
9887       if test "$GCC" = yes; then
9888         archive_cmds='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
9889         archive_expsym_cmds='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
9890       else
9891         archive_cmds='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
9892         archive_expsym_cmds='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
9893       fi
9894       ;;
9895
9896     sysv5* | sco3.2v5* | sco5v6*)
9897       # Note: We can NOT use -z defs as we might desire, because we do not
9898       # link with -lc, and that would cause any symbols used from libc to
9899       # always be unresolved, which means just about no library would
9900       # ever link correctly.  If we're not using GNU ld we use -z text
9901       # though, which does catch some bad symbols but isn't as heavy-handed
9902       # as -z defs.
9903       no_undefined_flag='${wl}-z,text'
9904       allow_undefined_flag='${wl}-z,nodefs'
9905       archive_cmds_need_lc=no
9906       hardcode_shlibpath_var=no
9907       hardcode_libdir_flag_spec='${wl}-R,$libdir'
9908       hardcode_libdir_separator=':'
9909       link_all_deplibs=yes
9910       export_dynamic_flag_spec='${wl}-Bexport'
9911       runpath_var='LD_RUN_PATH'
9912
9913       if test "$GCC" = yes; then
9914         archive_cmds='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
9915         archive_expsym_cmds='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
9916       else
9917         archive_cmds='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
9918         archive_expsym_cmds='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
9919       fi
9920       ;;
9921
9922     uts4*)
9923       archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
9924       hardcode_libdir_flag_spec='-L$libdir'
9925       hardcode_shlibpath_var=no
9926       ;;
9927
9928     *)
9929       ld_shlibs=no
9930       ;;
9931     esac
9932
9933     if test x$host_vendor = xsni; then
9934       case $host in
9935       sysv4 | sysv4.2uw2* | sysv4.3* | sysv5*)
9936         export_dynamic_flag_spec='${wl}-Blargedynsym'
9937         ;;
9938       esac
9939     fi
9940   fi
9941
9942 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ld_shlibs" >&5
9943 $as_echo "$ld_shlibs" >&6; }
9944 test "$ld_shlibs" = no && can_build_shared=no
9945
9946 with_gnu_ld=$with_gnu_ld
9947
9948
9949
9950
9951
9952
9953
9954
9955
9956
9957
9958
9959
9960
9961
9962 #
9963 # Do we need to explicitly link libc?
9964 #
9965 case "x$archive_cmds_need_lc" in
9966 x|xyes)
9967   # Assume -lc should be added
9968   archive_cmds_need_lc=yes
9969
9970   if test "$enable_shared" = yes && test "$GCC" = yes; then
9971     case $archive_cmds in
9972     *'~'*)
9973       # FIXME: we may have to deal with multi-command sequences.
9974       ;;
9975     '$CC '*)
9976       # Test whether the compiler implicitly links with -lc since on some
9977       # systems, -lgcc has to come before -lc. If gcc already passes -lc
9978       # to ld, don't add -lc before -lgcc.
9979       { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether -lc should be explicitly linked in" >&5
9980 $as_echo_n "checking whether -lc should be explicitly linked in... " >&6; }
9981 if ${lt_cv_archive_cmds_need_lc+:} false; then :
9982   $as_echo_n "(cached) " >&6
9983 else
9984   $RM conftest*
9985         echo "$lt_simple_compile_test_code" > conftest.$ac_ext
9986
9987         if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
9988   (eval $ac_compile) 2>&5
9989   ac_status=$?
9990   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
9991   test $ac_status = 0; } 2>conftest.err; then
9992           soname=conftest
9993           lib=conftest
9994           libobjs=conftest.$ac_objext
9995           deplibs=
9996           wl=$lt_prog_compiler_wl
9997           pic_flag=$lt_prog_compiler_pic
9998           compiler_flags=-v
9999           linker_flags=-v
10000           verstring=
10001           output_objdir=.
10002           libname=conftest
10003           lt_save_allow_undefined_flag=$allow_undefined_flag
10004           allow_undefined_flag=
10005           if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$archive_cmds 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1\""; } >&5
10006   (eval $archive_cmds 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1) 2>&5
10007   ac_status=$?
10008   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
10009   test $ac_status = 0; }
10010           then
10011             lt_cv_archive_cmds_need_lc=no
10012           else
10013             lt_cv_archive_cmds_need_lc=yes
10014           fi
10015           allow_undefined_flag=$lt_save_allow_undefined_flag
10016         else
10017           cat conftest.err 1>&5
10018         fi
10019         $RM conftest*
10020
10021 fi
10022 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_archive_cmds_need_lc" >&5
10023 $as_echo "$lt_cv_archive_cmds_need_lc" >&6; }
10024       archive_cmds_need_lc=$lt_cv_archive_cmds_need_lc
10025       ;;
10026     esac
10027   fi
10028   ;;
10029 esac
10030
10031
10032
10033
10034
10035
10036
10037
10038
10039
10040
10041
10042
10043
10044
10045
10046
10047
10048
10049
10050
10051
10052
10053
10054
10055
10056
10057
10058
10059
10060
10061
10062
10063
10064
10065
10066
10067
10068
10069
10070
10071
10072
10073
10074
10075
10076
10077
10078
10079
10080
10081
10082
10083
10084
10085
10086
10087
10088
10089
10090
10091
10092
10093
10094
10095
10096
10097
10098
10099
10100
10101
10102
10103
10104
10105
10106
10107
10108
10109
10110
10111
10112
10113
10114
10115
10116
10117
10118
10119
10120
10121
10122
10123
10124
10125
10126
10127
10128
10129
10130
10131
10132
10133
10134
10135
10136
10137
10138
10139
10140
10141
10142
10143
10144
10145
10146
10147
10148
10149
10150
10151
10152
10153
10154
10155
10156
10157
10158
10159
10160
10161
10162
10163
10164
10165
10166
10167
10168
10169
10170
10171
10172
10173
10174
10175
10176
10177
10178
10179
10180
10181
10182   { $as_echo "$as_me:${as_lineno-$LINENO}: checking dynamic linker characteristics" >&5
10183 $as_echo_n "checking dynamic linker characteristics... " >&6; }
10184
10185 if test "$GCC" = yes; then
10186   case $host_os in
10187     darwin*) lt_awk_arg="/^libraries:/,/LR/" ;;
10188     *) lt_awk_arg="/^libraries:/" ;;
10189   esac
10190   case $host_os in
10191     mingw* | cegcc*) lt_sed_strip_eq="s,=\([A-Za-z]:\),\1,g" ;;
10192     *) lt_sed_strip_eq="s,=/,/,g" ;;
10193   esac
10194   lt_search_path_spec=`$CC -print-search-dirs | awk $lt_awk_arg | $SED -e "s/^libraries://" -e $lt_sed_strip_eq`
10195   case $lt_search_path_spec in
10196   *\;*)
10197     # if the path contains ";" then we assume it to be the separator
10198     # otherwise default to the standard path separator (i.e. ":") - it is
10199     # assumed that no part of a normal pathname contains ";" but that should
10200     # okay in the real world where ";" in dirpaths is itself problematic.
10201     lt_search_path_spec=`$ECHO "$lt_search_path_spec" | $SED 's/;/ /g'`
10202     ;;
10203   *)
10204     lt_search_path_spec=`$ECHO "$lt_search_path_spec" | $SED "s/$PATH_SEPARATOR/ /g"`
10205     ;;
10206   esac
10207   # Ok, now we have the path, separated by spaces, we can step through it
10208   # and add multilib dir if necessary.
10209   lt_tmp_lt_search_path_spec=
10210   lt_multi_os_dir=`$CC $CPPFLAGS $CFLAGS $LDFLAGS -print-multi-os-directory 2>/dev/null`
10211   for lt_sys_path in $lt_search_path_spec; do
10212     if test -d "$lt_sys_path/$lt_multi_os_dir"; then
10213       lt_tmp_lt_search_path_spec="$lt_tmp_lt_search_path_spec $lt_sys_path/$lt_multi_os_dir"
10214     else
10215       test -d "$lt_sys_path" && \
10216         lt_tmp_lt_search_path_spec="$lt_tmp_lt_search_path_spec $lt_sys_path"
10217     fi
10218   done
10219   lt_search_path_spec=`$ECHO "$lt_tmp_lt_search_path_spec" | awk '
10220 BEGIN {RS=" "; FS="/|\n";} {
10221   lt_foo="";
10222   lt_count=0;
10223   for (lt_i = NF; lt_i > 0; lt_i--) {
10224     if ($lt_i != "" && $lt_i != ".") {
10225       if ($lt_i == "..") {
10226         lt_count++;
10227       } else {
10228         if (lt_count == 0) {
10229           lt_foo="/" $lt_i lt_foo;
10230         } else {
10231           lt_count--;
10232         }
10233       }
10234     }
10235   }
10236   if (lt_foo != "") { lt_freq[lt_foo]++; }
10237   if (lt_freq[lt_foo] == 1) { print lt_foo; }
10238 }'`
10239   # AWK program above erroneously prepends '/' to C:/dos/paths
10240   # for these hosts.
10241   case $host_os in
10242     mingw* | cegcc*) lt_search_path_spec=`$ECHO "$lt_search_path_spec" |\
10243       $SED 's,/\([A-Za-z]:\),\1,g'` ;;
10244   esac
10245   sys_lib_search_path_spec=`$ECHO "$lt_search_path_spec" | $lt_NL2SP`
10246 else
10247   sys_lib_search_path_spec="/lib /usr/lib /usr/local/lib"
10248 fi
10249 library_names_spec=
10250 libname_spec='lib$name'
10251 soname_spec=
10252 shrext_cmds=".so"
10253 postinstall_cmds=
10254 postuninstall_cmds=
10255 finish_cmds=
10256 finish_eval=
10257 shlibpath_var=
10258 shlibpath_overrides_runpath=unknown
10259 version_type=none
10260 dynamic_linker="$host_os ld.so"
10261 sys_lib_dlsearch_path_spec="/lib /usr/lib"
10262 need_lib_prefix=unknown
10263 hardcode_into_libs=no
10264
10265 # when you set need_version to no, make sure it does not cause -set_version
10266 # flags to be left without arguments
10267 need_version=unknown
10268
10269 case $host_os in
10270 aix3*)
10271   version_type=linux # correct to gnu/linux during the next big refactor
10272   library_names_spec='${libname}${release}${shared_ext}$versuffix $libname.a'
10273   shlibpath_var=LIBPATH
10274
10275   # AIX 3 has no versioning support, so we append a major version to the name.
10276   soname_spec='${libname}${release}${shared_ext}$major'
10277   ;;
10278
10279 aix[4-9]*)
10280   version_type=linux # correct to gnu/linux during the next big refactor
10281   need_lib_prefix=no
10282   need_version=no
10283   hardcode_into_libs=yes
10284   if test "$host_cpu" = ia64; then
10285     # AIX 5 supports IA64
10286     library_names_spec='${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext}$versuffix $libname${shared_ext}'
10287     shlibpath_var=LD_LIBRARY_PATH
10288   else
10289     # With GCC up to 2.95.x, collect2 would create an import file
10290     # for dependence libraries.  The import file would start with
10291     # the line `#! .'.  This would cause the generated library to
10292     # depend on `.', always an invalid library.  This was fixed in
10293     # development snapshots of GCC prior to 3.0.
10294     case $host_os in
10295       aix4 | aix4.[01] | aix4.[01].*)
10296       if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
10297            echo ' yes '
10298            echo '#endif'; } | ${CC} -E - | $GREP yes > /dev/null; then
10299         :
10300       else
10301         can_build_shared=no
10302       fi
10303       ;;
10304     esac
10305     # AIX (on Power*) has no versioning support, so currently we can not hardcode correct
10306     # soname into executable. Probably we can add versioning support to
10307     # collect2, so additional links can be useful in future.
10308     if test "$aix_use_runtimelinking" = yes; then
10309       # If using run time linking (on AIX 4.2 or later) use lib<name>.so
10310       # instead of lib<name>.a to let people know that these are not
10311       # typical AIX shared libraries.
10312       library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10313     else
10314       # We preserve .a as extension for shared libraries through AIX4.2
10315       # and later when we are not doing run time linking.
10316       library_names_spec='${libname}${release}.a $libname.a'
10317       soname_spec='${libname}${release}${shared_ext}$major'
10318     fi
10319     shlibpath_var=LIBPATH
10320   fi
10321   ;;
10322
10323 amigaos*)
10324   case $host_cpu in
10325   powerpc)
10326     # Since July 2007 AmigaOS4 officially supports .so libraries.
10327     # When compiling the executable, add -use-dynld -Lsobjs: to the compileline.
10328     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10329     ;;
10330   m68k)
10331     library_names_spec='$libname.ixlibrary $libname.a'
10332     # Create ${libname}_ixlibrary.a entries in /sys/libs.
10333     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'
10334     ;;
10335   esac
10336   ;;
10337
10338 beos*)
10339   library_names_spec='${libname}${shared_ext}'
10340   dynamic_linker="$host_os ld.so"
10341   shlibpath_var=LIBRARY_PATH
10342   ;;
10343
10344 bsdi[45]*)
10345   version_type=linux # correct to gnu/linux during the next big refactor
10346   need_version=no
10347   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10348   soname_spec='${libname}${release}${shared_ext}$major'
10349   finish_cmds='PATH="\$PATH:/sbin" ldconfig $libdir'
10350   shlibpath_var=LD_LIBRARY_PATH
10351   sys_lib_search_path_spec="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
10352   sys_lib_dlsearch_path_spec="/shlib /usr/lib /usr/local/lib"
10353   # the default ld.so.conf also contains /usr/contrib/lib and
10354   # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
10355   # libtool to hard-code these into programs
10356   ;;
10357
10358 cygwin* | mingw* | pw32* | cegcc*)
10359   version_type=windows
10360   shrext_cmds=".dll"
10361   need_version=no
10362   need_lib_prefix=no
10363
10364   case $GCC,$cc_basename in
10365   yes,*)
10366     # gcc
10367     library_names_spec='$libname.dll.a'
10368     # DLL is installed to $(libdir)/../bin by postinstall_cmds
10369     postinstall_cmds='base_file=`basename \${file}`~
10370       dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i; echo \$dlname'\''`~
10371       dldir=$destdir/`dirname \$dlpath`~
10372       test -d \$dldir || mkdir -p \$dldir~
10373       $install_prog $dir/$dlname \$dldir/$dlname~
10374       chmod a+x \$dldir/$dlname~
10375       if test -n '\''$stripme'\'' && test -n '\''$striplib'\''; then
10376         eval '\''$striplib \$dldir/$dlname'\'' || exit \$?;
10377       fi'
10378     postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
10379       dlpath=$dir/\$dldll~
10380        $RM \$dlpath'
10381     shlibpath_overrides_runpath=yes
10382
10383     case $host_os in
10384     cygwin*)
10385       # Cygwin DLLs use 'cyg' prefix rather than 'lib'
10386       soname_spec='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
10387
10388       sys_lib_search_path_spec="$sys_lib_search_path_spec /usr/lib/w32api"
10389       ;;
10390     mingw* | cegcc*)
10391       # MinGW DLLs use traditional 'lib' prefix
10392       soname_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
10393       ;;
10394     pw32*)
10395       # pw32 DLLs use 'pw' prefix rather than 'lib'
10396       library_names_spec='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
10397       ;;
10398     esac
10399     dynamic_linker='Win32 ld.exe'
10400     ;;
10401
10402   *,cl*)
10403     # Native MSVC
10404     libname_spec='$name'
10405     soname_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
10406     library_names_spec='${libname}.dll.lib'
10407
10408     case $build_os in
10409     mingw*)
10410       sys_lib_search_path_spec=
10411       lt_save_ifs=$IFS
10412       IFS=';'
10413       for lt_path in $LIB
10414       do
10415         IFS=$lt_save_ifs
10416         # Let DOS variable expansion print the short 8.3 style file name.
10417         lt_path=`cd "$lt_path" 2>/dev/null && cmd //C "for %i in (".") do @echo %~si"`
10418         sys_lib_search_path_spec="$sys_lib_search_path_spec $lt_path"
10419       done
10420       IFS=$lt_save_ifs
10421       # Convert to MSYS style.
10422       sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | sed -e 's|\\\\|/|g' -e 's| \\([a-zA-Z]\\):| /\\1|g' -e 's|^ ||'`
10423       ;;
10424     cygwin*)
10425       # Convert to unix form, then to dos form, then back to unix form
10426       # but this time dos style (no spaces!) so that the unix form looks
10427       # like /cygdrive/c/PROGRA~1:/cygdr...
10428       sys_lib_search_path_spec=`cygpath --path --unix "$LIB"`
10429       sys_lib_search_path_spec=`cygpath --path --dos "$sys_lib_search_path_spec" 2>/dev/null`
10430       sys_lib_search_path_spec=`cygpath --path --unix "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
10431       ;;
10432     *)
10433       sys_lib_search_path_spec="$LIB"
10434       if $ECHO "$sys_lib_search_path_spec" | $GREP ';[c-zC-Z]:/' >/dev/null; then
10435         # It is most probably a Windows format PATH.
10436         sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
10437       else
10438         sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
10439       fi
10440       # FIXME: find the short name or the path components, as spaces are
10441       # common. (e.g. "Program Files" -> "PROGRA~1")
10442       ;;
10443     esac
10444
10445     # DLL is installed to $(libdir)/../bin by postinstall_cmds
10446     postinstall_cmds='base_file=`basename \${file}`~
10447       dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i; echo \$dlname'\''`~
10448       dldir=$destdir/`dirname \$dlpath`~
10449       test -d \$dldir || mkdir -p \$dldir~
10450       $install_prog $dir/$dlname \$dldir/$dlname'
10451     postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
10452       dlpath=$dir/\$dldll~
10453        $RM \$dlpath'
10454     shlibpath_overrides_runpath=yes
10455     dynamic_linker='Win32 link.exe'
10456     ;;
10457
10458   *)
10459     # Assume MSVC wrapper
10460     library_names_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext} $libname.lib'
10461     dynamic_linker='Win32 ld.exe'
10462     ;;
10463   esac
10464   # FIXME: first we should search . and the directory the executable is in
10465   shlibpath_var=PATH
10466   ;;
10467
10468 darwin* | rhapsody*)
10469   dynamic_linker="$host_os dyld"
10470   version_type=darwin
10471   need_lib_prefix=no
10472   need_version=no
10473   library_names_spec='${libname}${release}${major}$shared_ext ${libname}$shared_ext'
10474   soname_spec='${libname}${release}${major}$shared_ext'
10475   shlibpath_overrides_runpath=yes
10476   shlibpath_var=DYLD_LIBRARY_PATH
10477   shrext_cmds='`test .$module = .yes && echo .so || echo .dylib`'
10478
10479   sys_lib_search_path_spec="$sys_lib_search_path_spec /usr/local/lib"
10480   sys_lib_dlsearch_path_spec='/usr/local/lib /lib /usr/lib'
10481   ;;
10482
10483 dgux*)
10484   version_type=linux # correct to gnu/linux during the next big refactor
10485   need_lib_prefix=no
10486   need_version=no
10487   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname$shared_ext'
10488   soname_spec='${libname}${release}${shared_ext}$major'
10489   shlibpath_var=LD_LIBRARY_PATH
10490   ;;
10491
10492 freebsd* | dragonfly*)
10493   # DragonFly does not have aout.  When/if they implement a new
10494   # versioning mechanism, adjust this.
10495   if test -x /usr/bin/objformat; then
10496     objformat=`/usr/bin/objformat`
10497   else
10498     case $host_os in
10499     freebsd[23].*) objformat=aout ;;
10500     *) objformat=elf ;;
10501     esac
10502   fi
10503   version_type=freebsd-$objformat
10504   case $version_type in
10505     freebsd-elf*)
10506       library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
10507       need_version=no
10508       need_lib_prefix=no
10509       ;;
10510     freebsd-*)
10511       library_names_spec='${libname}${release}${shared_ext}$versuffix $libname${shared_ext}$versuffix'
10512       need_version=yes
10513       ;;
10514   esac
10515   shlibpath_var=LD_LIBRARY_PATH
10516   case $host_os in
10517   freebsd2.*)
10518     shlibpath_overrides_runpath=yes
10519     ;;
10520   freebsd3.[01]* | freebsdelf3.[01]*)
10521     shlibpath_overrides_runpath=yes
10522     hardcode_into_libs=yes
10523     ;;
10524   freebsd3.[2-9]* | freebsdelf3.[2-9]* | \
10525   freebsd4.[0-5] | freebsdelf4.[0-5] | freebsd4.1.1 | freebsdelf4.1.1)
10526     shlibpath_overrides_runpath=no
10527     hardcode_into_libs=yes
10528     ;;
10529   *) # from 4.6 on, and DragonFly
10530     shlibpath_overrides_runpath=yes
10531     hardcode_into_libs=yes
10532     ;;
10533   esac
10534   ;;
10535
10536 haiku*)
10537   version_type=linux # correct to gnu/linux during the next big refactor
10538   need_lib_prefix=no
10539   need_version=no
10540   dynamic_linker="$host_os runtime_loader"
10541   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
10542   soname_spec='${libname}${release}${shared_ext}$major'
10543   shlibpath_var=LIBRARY_PATH
10544   shlibpath_overrides_runpath=yes
10545   sys_lib_dlsearch_path_spec='/boot/home/config/lib /boot/common/lib /boot/system/lib'
10546   hardcode_into_libs=yes
10547   ;;
10548
10549 hpux9* | hpux10* | hpux11*)
10550   # Give a soname corresponding to the major version so that dld.sl refuses to
10551   # link against other versions.
10552   version_type=sunos
10553   need_lib_prefix=no
10554   need_version=no
10555   case $host_cpu in
10556   ia64*)
10557     shrext_cmds='.so'
10558     hardcode_into_libs=yes
10559     dynamic_linker="$host_os dld.so"
10560     shlibpath_var=LD_LIBRARY_PATH
10561     shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
10562     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10563     soname_spec='${libname}${release}${shared_ext}$major'
10564     if test "X$HPUX_IA64_MODE" = X32; then
10565       sys_lib_search_path_spec="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
10566     else
10567       sys_lib_search_path_spec="/usr/lib/hpux64 /usr/local/lib/hpux64"
10568     fi
10569     sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
10570     ;;
10571   hppa*64*)
10572     shrext_cmds='.sl'
10573     hardcode_into_libs=yes
10574     dynamic_linker="$host_os dld.sl"
10575     shlibpath_var=LD_LIBRARY_PATH # How should we handle SHLIB_PATH
10576     shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
10577     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10578     soname_spec='${libname}${release}${shared_ext}$major'
10579     sys_lib_search_path_spec="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
10580     sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
10581     ;;
10582   *)
10583     shrext_cmds='.sl'
10584     dynamic_linker="$host_os dld.sl"
10585     shlibpath_var=SHLIB_PATH
10586     shlibpath_overrides_runpath=no # +s is required to enable SHLIB_PATH
10587     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10588     soname_spec='${libname}${release}${shared_ext}$major'
10589     ;;
10590   esac
10591   # HP-UX runs *really* slowly unless shared libraries are mode 555, ...
10592   postinstall_cmds='chmod 555 $lib'
10593   # or fails outright, so override atomically:
10594   install_override_mode=555
10595   ;;
10596
10597 interix[3-9]*)
10598   version_type=linux # correct to gnu/linux during the next big refactor
10599   need_lib_prefix=no
10600   need_version=no
10601   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
10602   soname_spec='${libname}${release}${shared_ext}$major'
10603   dynamic_linker='Interix 3.x ld.so.1 (PE, like ELF)'
10604   shlibpath_var=LD_LIBRARY_PATH
10605   shlibpath_overrides_runpath=no
10606   hardcode_into_libs=yes
10607   ;;
10608
10609 irix5* | irix6* | nonstopux*)
10610   case $host_os in
10611     nonstopux*) version_type=nonstopux ;;
10612     *)
10613         if test "$lt_cv_prog_gnu_ld" = yes; then
10614                 version_type=linux # correct to gnu/linux during the next big refactor
10615         else
10616                 version_type=irix
10617         fi ;;
10618   esac
10619   need_lib_prefix=no
10620   need_version=no
10621   soname_spec='${libname}${release}${shared_ext}$major'
10622   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} $libname${shared_ext}'
10623   case $host_os in
10624   irix5* | nonstopux*)
10625     libsuff= shlibsuff=
10626     ;;
10627   *)
10628     case $LD in # libtool.m4 will add one of these switches to LD
10629     *-32|*"-32 "|*-melf32bsmip|*"-melf32bsmip ")
10630       libsuff= shlibsuff= libmagic=32-bit;;
10631     *-n32|*"-n32 "|*-melf32bmipn32|*"-melf32bmipn32 ")
10632       libsuff=32 shlibsuff=N32 libmagic=N32;;
10633     *-64|*"-64 "|*-melf64bmip|*"-melf64bmip ")
10634       libsuff=64 shlibsuff=64 libmagic=64-bit;;
10635     *) libsuff= shlibsuff= libmagic=never-match;;
10636     esac
10637     ;;
10638   esac
10639   shlibpath_var=LD_LIBRARY${shlibsuff}_PATH
10640   shlibpath_overrides_runpath=no
10641   sys_lib_search_path_spec="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}"
10642   sys_lib_dlsearch_path_spec="/usr/lib${libsuff} /lib${libsuff}"
10643   hardcode_into_libs=yes
10644   ;;
10645
10646 # No shared lib support for Linux oldld, aout, or coff.
10647 linux*oldld* | linux*aout* | linux*coff*)
10648   dynamic_linker=no
10649   ;;
10650
10651 # This must be glibc/ELF.
10652 linux* | k*bsd*-gnu | kopensolaris*-gnu | gnu*)
10653   version_type=linux # correct to gnu/linux during the next big refactor
10654   need_lib_prefix=no
10655   need_version=no
10656   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10657   soname_spec='${libname}${release}${shared_ext}$major'
10658   finish_cmds='PATH="\$PATH:/sbin" ldconfig -n $libdir'
10659   shlibpath_var=LD_LIBRARY_PATH
10660   shlibpath_overrides_runpath=no
10661
10662   # Some binutils ld are patched to set DT_RUNPATH
10663   if ${lt_cv_shlibpath_overrides_runpath+:} false; then :
10664   $as_echo_n "(cached) " >&6
10665 else
10666   lt_cv_shlibpath_overrides_runpath=no
10667     save_LDFLAGS=$LDFLAGS
10668     save_libdir=$libdir
10669     eval "libdir=/foo; wl=\"$lt_prog_compiler_wl\"; \
10670          LDFLAGS=\"\$LDFLAGS $hardcode_libdir_flag_spec\""
10671     cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10672 /* end confdefs.h.  */
10673
10674 int
10675 main ()
10676 {
10677
10678   ;
10679   return 0;
10680 }
10681 _ACEOF
10682 if ac_fn_c_try_link "$LINENO"; then :
10683   if  ($OBJDUMP -p conftest$ac_exeext) 2>/dev/null | grep "RUNPATH.*$libdir" >/dev/null; then :
10684   lt_cv_shlibpath_overrides_runpath=yes
10685 fi
10686 fi
10687 rm -f core conftest.err conftest.$ac_objext \
10688     conftest$ac_exeext conftest.$ac_ext
10689     LDFLAGS=$save_LDFLAGS
10690     libdir=$save_libdir
10691
10692 fi
10693
10694   shlibpath_overrides_runpath=$lt_cv_shlibpath_overrides_runpath
10695
10696   # This implies no fast_install, which is unacceptable.
10697   # Some rework will be needed to allow for fast_install
10698   # before this can be enabled.
10699   hardcode_into_libs=yes
10700
10701   # Append ld.so.conf contents to the search path
10702   if test -f /etc/ld.so.conf; then
10703     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' ' '`
10704     sys_lib_dlsearch_path_spec="/lib /usr/lib $lt_ld_extra"
10705   fi
10706
10707   # We used to test for /lib/ld.so.1 and disable shared libraries on
10708   # powerpc, because MkLinux only supported shared libraries with the
10709   # GNU dynamic linker.  Since this was broken with cross compilers,
10710   # most powerpc-linux boxes support dynamic linking these days and
10711   # people can always --disable-shared, the test was removed, and we
10712   # assume the GNU/Linux dynamic linker is in use.
10713   dynamic_linker='GNU/Linux ld.so'
10714   ;;
10715
10716 netbsdelf*-gnu)
10717   version_type=linux
10718   need_lib_prefix=no
10719   need_version=no
10720   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
10721   soname_spec='${libname}${release}${shared_ext}$major'
10722   shlibpath_var=LD_LIBRARY_PATH
10723   shlibpath_overrides_runpath=no
10724   hardcode_into_libs=yes
10725   dynamic_linker='NetBSD ld.elf_so'
10726   ;;
10727
10728 netbsd*)
10729   version_type=sunos
10730   need_lib_prefix=no
10731   need_version=no
10732   if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
10733     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
10734     finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
10735     dynamic_linker='NetBSD (a.out) ld.so'
10736   else
10737     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
10738     soname_spec='${libname}${release}${shared_ext}$major'
10739     dynamic_linker='NetBSD ld.elf_so'
10740   fi
10741   shlibpath_var=LD_LIBRARY_PATH
10742   shlibpath_overrides_runpath=yes
10743   hardcode_into_libs=yes
10744   ;;
10745
10746 newsos6)
10747   version_type=linux # correct to gnu/linux during the next big refactor
10748   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10749   shlibpath_var=LD_LIBRARY_PATH
10750   shlibpath_overrides_runpath=yes
10751   ;;
10752
10753 *nto* | *qnx*)
10754   version_type=qnx
10755   need_lib_prefix=no
10756   need_version=no
10757   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10758   soname_spec='${libname}${release}${shared_ext}$major'
10759   shlibpath_var=LD_LIBRARY_PATH
10760   shlibpath_overrides_runpath=no
10761   hardcode_into_libs=yes
10762   dynamic_linker='ldqnx.so'
10763   ;;
10764
10765 openbsd*)
10766   version_type=sunos
10767   sys_lib_dlsearch_path_spec="/usr/lib"
10768   need_lib_prefix=no
10769   # Some older versions of OpenBSD (3.3 at least) *do* need versioned libs.
10770   case $host_os in
10771     openbsd3.3 | openbsd3.3.*)  need_version=yes ;;
10772     *)                          need_version=no  ;;
10773   esac
10774   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
10775   finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
10776   shlibpath_var=LD_LIBRARY_PATH
10777   if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
10778     case $host_os in
10779       openbsd2.[89] | openbsd2.[89].*)
10780         shlibpath_overrides_runpath=no
10781         ;;
10782       *)
10783         shlibpath_overrides_runpath=yes
10784         ;;
10785       esac
10786   else
10787     shlibpath_overrides_runpath=yes
10788   fi
10789   ;;
10790
10791 os2*)
10792   libname_spec='$name'
10793   shrext_cmds=".dll"
10794   need_lib_prefix=no
10795   library_names_spec='$libname${shared_ext} $libname.a'
10796   dynamic_linker='OS/2 ld.exe'
10797   shlibpath_var=LIBPATH
10798   ;;
10799
10800 osf3* | osf4* | osf5*)
10801   version_type=osf
10802   need_lib_prefix=no
10803   need_version=no
10804   soname_spec='${libname}${release}${shared_ext}$major'
10805   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10806   shlibpath_var=LD_LIBRARY_PATH
10807   sys_lib_search_path_spec="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
10808   sys_lib_dlsearch_path_spec="$sys_lib_search_path_spec"
10809   ;;
10810
10811 rdos*)
10812   dynamic_linker=no
10813   ;;
10814
10815 solaris*)
10816   version_type=linux # correct to gnu/linux during the next big refactor
10817   need_lib_prefix=no
10818   need_version=no
10819   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10820   soname_spec='${libname}${release}${shared_ext}$major'
10821   shlibpath_var=LD_LIBRARY_PATH
10822   shlibpath_overrides_runpath=yes
10823   hardcode_into_libs=yes
10824   # ldd complains unless libraries are executable
10825   postinstall_cmds='chmod +x $lib'
10826   ;;
10827
10828 sunos4*)
10829   version_type=sunos
10830   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
10831   finish_cmds='PATH="\$PATH:/usr/etc" ldconfig $libdir'
10832   shlibpath_var=LD_LIBRARY_PATH
10833   shlibpath_overrides_runpath=yes
10834   if test "$with_gnu_ld" = yes; then
10835     need_lib_prefix=no
10836   fi
10837   need_version=yes
10838   ;;
10839
10840 sysv4 | sysv4.3*)
10841   version_type=linux # correct to gnu/linux during the next big refactor
10842   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10843   soname_spec='${libname}${release}${shared_ext}$major'
10844   shlibpath_var=LD_LIBRARY_PATH
10845   case $host_vendor in
10846     sni)
10847       shlibpath_overrides_runpath=no
10848       need_lib_prefix=no
10849       runpath_var=LD_RUN_PATH
10850       ;;
10851     siemens)
10852       need_lib_prefix=no
10853       ;;
10854     motorola)
10855       need_lib_prefix=no
10856       need_version=no
10857       shlibpath_overrides_runpath=no
10858       sys_lib_search_path_spec='/lib /usr/lib /usr/ccs/lib'
10859       ;;
10860   esac
10861   ;;
10862
10863 sysv4*MP*)
10864   if test -d /usr/nec ;then
10865     version_type=linux # correct to gnu/linux during the next big refactor
10866     library_names_spec='$libname${shared_ext}.$versuffix $libname${shared_ext}.$major $libname${shared_ext}'
10867     soname_spec='$libname${shared_ext}.$major'
10868     shlibpath_var=LD_LIBRARY_PATH
10869   fi
10870   ;;
10871
10872 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
10873   version_type=freebsd-elf
10874   need_lib_prefix=no
10875   need_version=no
10876   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
10877   soname_spec='${libname}${release}${shared_ext}$major'
10878   shlibpath_var=LD_LIBRARY_PATH
10879   shlibpath_overrides_runpath=yes
10880   hardcode_into_libs=yes
10881   if test "$with_gnu_ld" = yes; then
10882     sys_lib_search_path_spec='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib'
10883   else
10884     sys_lib_search_path_spec='/usr/ccs/lib /usr/lib'
10885     case $host_os in
10886       sco3.2v5*)
10887         sys_lib_search_path_spec="$sys_lib_search_path_spec /lib"
10888         ;;
10889     esac
10890   fi
10891   sys_lib_dlsearch_path_spec='/usr/lib'
10892   ;;
10893
10894 tpf*)
10895   # TPF is a cross-target only.  Preferred cross-host = GNU/Linux.
10896   version_type=linux # correct to gnu/linux during the next big refactor
10897   need_lib_prefix=no
10898   need_version=no
10899   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10900   shlibpath_var=LD_LIBRARY_PATH
10901   shlibpath_overrides_runpath=no
10902   hardcode_into_libs=yes
10903   ;;
10904
10905 uts4*)
10906   version_type=linux # correct to gnu/linux during the next big refactor
10907   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10908   soname_spec='${libname}${release}${shared_ext}$major'
10909   shlibpath_var=LD_LIBRARY_PATH
10910   ;;
10911
10912 *)
10913   dynamic_linker=no
10914   ;;
10915 esac
10916 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $dynamic_linker" >&5
10917 $as_echo "$dynamic_linker" >&6; }
10918 test "$dynamic_linker" = no && can_build_shared=no
10919
10920 variables_saved_for_relink="PATH $shlibpath_var $runpath_var"
10921 if test "$GCC" = yes; then
10922   variables_saved_for_relink="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
10923 fi
10924
10925 if test "${lt_cv_sys_lib_search_path_spec+set}" = set; then
10926   sys_lib_search_path_spec="$lt_cv_sys_lib_search_path_spec"
10927 fi
10928 if test "${lt_cv_sys_lib_dlsearch_path_spec+set}" = set; then
10929   sys_lib_dlsearch_path_spec="$lt_cv_sys_lib_dlsearch_path_spec"
10930 fi
10931
10932
10933
10934
10935
10936
10937
10938
10939
10940
10941
10942
10943
10944
10945
10946
10947
10948
10949
10950
10951
10952
10953
10954
10955
10956
10957
10958
10959
10960
10961
10962
10963
10964
10965
10966
10967
10968
10969
10970
10971
10972
10973
10974
10975
10976
10977
10978
10979
10980
10981
10982
10983
10984
10985
10986
10987
10988
10989
10990
10991
10992
10993
10994
10995
10996
10997
10998
10999
11000
11001
11002
11003
11004
11005
11006
11007
11008
11009
11010
11011
11012
11013
11014
11015
11016
11017
11018
11019
11020
11021
11022
11023   { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to hardcode library paths into programs" >&5
11024 $as_echo_n "checking how to hardcode library paths into programs... " >&6; }
11025 hardcode_action=
11026 if test -n "$hardcode_libdir_flag_spec" ||
11027    test -n "$runpath_var" ||
11028    test "X$hardcode_automatic" = "Xyes" ; then
11029
11030   # We can hardcode non-existent directories.
11031   if test "$hardcode_direct" != no &&
11032      # If the only mechanism to avoid hardcoding is shlibpath_var, we
11033      # have to relink, otherwise we might link with an installed library
11034      # when we should be linking with a yet-to-be-installed one
11035      ## test "$_LT_TAGVAR(hardcode_shlibpath_var, )" != no &&
11036      test "$hardcode_minus_L" != no; then
11037     # Linking always hardcodes the temporary library directory.
11038     hardcode_action=relink
11039   else
11040     # We can link without hardcoding, and we can hardcode nonexisting dirs.
11041     hardcode_action=immediate
11042   fi
11043 else
11044   # We cannot hardcode anything, or else we can only hardcode existing
11045   # directories.
11046   hardcode_action=unsupported
11047 fi
11048 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hardcode_action" >&5
11049 $as_echo "$hardcode_action" >&6; }
11050
11051 if test "$hardcode_action" = relink ||
11052    test "$inherit_rpath" = yes; then
11053   # Fast installation is not supported
11054   enable_fast_install=no
11055 elif test "$shlibpath_overrides_runpath" = yes ||
11056      test "$enable_shared" = no; then
11057   # Fast installation is not necessary
11058   enable_fast_install=needless
11059 fi
11060
11061
11062
11063
11064
11065
11066   if test "x$enable_dlopen" != xyes; then
11067   enable_dlopen=unknown
11068   enable_dlopen_self=unknown
11069   enable_dlopen_self_static=unknown
11070 else
11071   lt_cv_dlopen=no
11072   lt_cv_dlopen_libs=
11073
11074   case $host_os in
11075   beos*)
11076     lt_cv_dlopen="load_add_on"
11077     lt_cv_dlopen_libs=
11078     lt_cv_dlopen_self=yes
11079     ;;
11080
11081   mingw* | pw32* | cegcc*)
11082     lt_cv_dlopen="LoadLibrary"
11083     lt_cv_dlopen_libs=
11084     ;;
11085
11086   cygwin*)
11087     lt_cv_dlopen="dlopen"
11088     lt_cv_dlopen_libs=
11089     ;;
11090
11091   darwin*)
11092   # if libdl is installed we need to link against it
11093     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
11094 $as_echo_n "checking for dlopen in -ldl... " >&6; }
11095 if ${ac_cv_lib_dl_dlopen+:} false; then :
11096   $as_echo_n "(cached) " >&6
11097 else
11098   ac_check_lib_save_LIBS=$LIBS
11099 LIBS="-ldl  $LIBS"
11100 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11101 /* end confdefs.h.  */
11102
11103 /* Override any GCC internal prototype to avoid an error.
11104    Use char because int might match the return type of a GCC
11105    builtin and then its argument prototype would still apply.  */
11106 #ifdef __cplusplus
11107 extern "C"
11108 #endif
11109 char dlopen ();
11110 int
11111 main ()
11112 {
11113 return dlopen ();
11114   ;
11115   return 0;
11116 }
11117 _ACEOF
11118 if ac_fn_c_try_link "$LINENO"; then :
11119   ac_cv_lib_dl_dlopen=yes
11120 else
11121   ac_cv_lib_dl_dlopen=no
11122 fi
11123 rm -f core conftest.err conftest.$ac_objext \
11124     conftest$ac_exeext conftest.$ac_ext
11125 LIBS=$ac_check_lib_save_LIBS
11126 fi
11127 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
11128 $as_echo "$ac_cv_lib_dl_dlopen" >&6; }
11129 if test "x$ac_cv_lib_dl_dlopen" = xyes; then :
11130   lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl"
11131 else
11132
11133     lt_cv_dlopen="dyld"
11134     lt_cv_dlopen_libs=
11135     lt_cv_dlopen_self=yes
11136
11137 fi
11138
11139     ;;
11140
11141   *)
11142     ac_fn_c_check_func "$LINENO" "shl_load" "ac_cv_func_shl_load"
11143 if test "x$ac_cv_func_shl_load" = xyes; then :
11144   lt_cv_dlopen="shl_load"
11145 else
11146   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for shl_load in -ldld" >&5
11147 $as_echo_n "checking for shl_load in -ldld... " >&6; }
11148 if ${ac_cv_lib_dld_shl_load+:} false; then :
11149   $as_echo_n "(cached) " >&6
11150 else
11151   ac_check_lib_save_LIBS=$LIBS
11152 LIBS="-ldld  $LIBS"
11153 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11154 /* end confdefs.h.  */
11155
11156 /* Override any GCC internal prototype to avoid an error.
11157    Use char because int might match the return type of a GCC
11158    builtin and then its argument prototype would still apply.  */
11159 #ifdef __cplusplus
11160 extern "C"
11161 #endif
11162 char shl_load ();
11163 int
11164 main ()
11165 {
11166 return shl_load ();
11167   ;
11168   return 0;
11169 }
11170 _ACEOF
11171 if ac_fn_c_try_link "$LINENO"; then :
11172   ac_cv_lib_dld_shl_load=yes
11173 else
11174   ac_cv_lib_dld_shl_load=no
11175 fi
11176 rm -f core conftest.err conftest.$ac_objext \
11177     conftest$ac_exeext conftest.$ac_ext
11178 LIBS=$ac_check_lib_save_LIBS
11179 fi
11180 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_shl_load" >&5
11181 $as_echo "$ac_cv_lib_dld_shl_load" >&6; }
11182 if test "x$ac_cv_lib_dld_shl_load" = xyes; then :
11183   lt_cv_dlopen="shl_load" lt_cv_dlopen_libs="-ldld"
11184 else
11185   ac_fn_c_check_func "$LINENO" "dlopen" "ac_cv_func_dlopen"
11186 if test "x$ac_cv_func_dlopen" = xyes; then :
11187   lt_cv_dlopen="dlopen"
11188 else
11189   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
11190 $as_echo_n "checking for dlopen in -ldl... " >&6; }
11191 if ${ac_cv_lib_dl_dlopen+:} false; then :
11192   $as_echo_n "(cached) " >&6
11193 else
11194   ac_check_lib_save_LIBS=$LIBS
11195 LIBS="-ldl  $LIBS"
11196 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11197 /* end confdefs.h.  */
11198
11199 /* Override any GCC internal prototype to avoid an error.
11200    Use char because int might match the return type of a GCC
11201    builtin and then its argument prototype would still apply.  */
11202 #ifdef __cplusplus
11203 extern "C"
11204 #endif
11205 char dlopen ();
11206 int
11207 main ()
11208 {
11209 return dlopen ();
11210   ;
11211   return 0;
11212 }
11213 _ACEOF
11214 if ac_fn_c_try_link "$LINENO"; then :
11215   ac_cv_lib_dl_dlopen=yes
11216 else
11217   ac_cv_lib_dl_dlopen=no
11218 fi
11219 rm -f core conftest.err conftest.$ac_objext \
11220     conftest$ac_exeext conftest.$ac_ext
11221 LIBS=$ac_check_lib_save_LIBS
11222 fi
11223 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
11224 $as_echo "$ac_cv_lib_dl_dlopen" >&6; }
11225 if test "x$ac_cv_lib_dl_dlopen" = xyes; then :
11226   lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl"
11227 else
11228   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -lsvld" >&5
11229 $as_echo_n "checking for dlopen in -lsvld... " >&6; }
11230 if ${ac_cv_lib_svld_dlopen+:} false; then :
11231   $as_echo_n "(cached) " >&6
11232 else
11233   ac_check_lib_save_LIBS=$LIBS
11234 LIBS="-lsvld  $LIBS"
11235 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11236 /* end confdefs.h.  */
11237
11238 /* Override any GCC internal prototype to avoid an error.
11239    Use char because int might match the return type of a GCC
11240    builtin and then its argument prototype would still apply.  */
11241 #ifdef __cplusplus
11242 extern "C"
11243 #endif
11244 char dlopen ();
11245 int
11246 main ()
11247 {
11248 return dlopen ();
11249   ;
11250   return 0;
11251 }
11252 _ACEOF
11253 if ac_fn_c_try_link "$LINENO"; then :
11254   ac_cv_lib_svld_dlopen=yes
11255 else
11256   ac_cv_lib_svld_dlopen=no
11257 fi
11258 rm -f core conftest.err conftest.$ac_objext \
11259     conftest$ac_exeext conftest.$ac_ext
11260 LIBS=$ac_check_lib_save_LIBS
11261 fi
11262 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_svld_dlopen" >&5
11263 $as_echo "$ac_cv_lib_svld_dlopen" >&6; }
11264 if test "x$ac_cv_lib_svld_dlopen" = xyes; then :
11265   lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-lsvld"
11266 else
11267   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dld_link in -ldld" >&5
11268 $as_echo_n "checking for dld_link in -ldld... " >&6; }
11269 if ${ac_cv_lib_dld_dld_link+:} false; then :
11270   $as_echo_n "(cached) " >&6
11271 else
11272   ac_check_lib_save_LIBS=$LIBS
11273 LIBS="-ldld  $LIBS"
11274 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11275 /* end confdefs.h.  */
11276
11277 /* Override any GCC internal prototype to avoid an error.
11278    Use char because int might match the return type of a GCC
11279    builtin and then its argument prototype would still apply.  */
11280 #ifdef __cplusplus
11281 extern "C"
11282 #endif
11283 char dld_link ();
11284 int
11285 main ()
11286 {
11287 return dld_link ();
11288   ;
11289   return 0;
11290 }
11291 _ACEOF
11292 if ac_fn_c_try_link "$LINENO"; then :
11293   ac_cv_lib_dld_dld_link=yes
11294 else
11295   ac_cv_lib_dld_dld_link=no
11296 fi
11297 rm -f core conftest.err conftest.$ac_objext \
11298     conftest$ac_exeext conftest.$ac_ext
11299 LIBS=$ac_check_lib_save_LIBS
11300 fi
11301 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_dld_link" >&5
11302 $as_echo "$ac_cv_lib_dld_dld_link" >&6; }
11303 if test "x$ac_cv_lib_dld_dld_link" = xyes; then :
11304   lt_cv_dlopen="dld_link" lt_cv_dlopen_libs="-ldld"
11305 fi
11306
11307
11308 fi
11309
11310
11311 fi
11312
11313
11314 fi
11315
11316
11317 fi
11318
11319
11320 fi
11321
11322     ;;
11323   esac
11324
11325   if test "x$lt_cv_dlopen" != xno; then
11326     enable_dlopen=yes
11327   else
11328     enable_dlopen=no
11329   fi
11330
11331   case $lt_cv_dlopen in
11332   dlopen)
11333     save_CPPFLAGS="$CPPFLAGS"
11334     test "x$ac_cv_header_dlfcn_h" = xyes && CPPFLAGS="$CPPFLAGS -DHAVE_DLFCN_H"
11335
11336     save_LDFLAGS="$LDFLAGS"
11337     wl=$lt_prog_compiler_wl eval LDFLAGS=\"\$LDFLAGS $export_dynamic_flag_spec\"
11338
11339     save_LIBS="$LIBS"
11340     LIBS="$lt_cv_dlopen_libs $LIBS"
11341
11342     { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether a program can dlopen itself" >&5
11343 $as_echo_n "checking whether a program can dlopen itself... " >&6; }
11344 if ${lt_cv_dlopen_self+:} false; then :
11345   $as_echo_n "(cached) " >&6
11346 else
11347           if test "$cross_compiling" = yes; then :
11348   lt_cv_dlopen_self=cross
11349 else
11350   lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
11351   lt_status=$lt_dlunknown
11352   cat > conftest.$ac_ext <<_LT_EOF
11353 #line $LINENO "configure"
11354 #include "confdefs.h"
11355
11356 #if HAVE_DLFCN_H
11357 #include <dlfcn.h>
11358 #endif
11359
11360 #include <stdio.h>
11361
11362 #ifdef RTLD_GLOBAL
11363 #  define LT_DLGLOBAL           RTLD_GLOBAL
11364 #else
11365 #  ifdef DL_GLOBAL
11366 #    define LT_DLGLOBAL         DL_GLOBAL
11367 #  else
11368 #    define LT_DLGLOBAL         0
11369 #  endif
11370 #endif
11371
11372 /* We may have to define LT_DLLAZY_OR_NOW in the command line if we
11373    find out it does not work in some platform. */
11374 #ifndef LT_DLLAZY_OR_NOW
11375 #  ifdef RTLD_LAZY
11376 #    define LT_DLLAZY_OR_NOW            RTLD_LAZY
11377 #  else
11378 #    ifdef DL_LAZY
11379 #      define LT_DLLAZY_OR_NOW          DL_LAZY
11380 #    else
11381 #      ifdef RTLD_NOW
11382 #        define LT_DLLAZY_OR_NOW        RTLD_NOW
11383 #      else
11384 #        ifdef DL_NOW
11385 #          define LT_DLLAZY_OR_NOW      DL_NOW
11386 #        else
11387 #          define LT_DLLAZY_OR_NOW      0
11388 #        endif
11389 #      endif
11390 #    endif
11391 #  endif
11392 #endif
11393
11394 /* When -fvisbility=hidden is used, assume the code has been annotated
11395    correspondingly for the symbols needed.  */
11396 #if defined(__GNUC__) && (((__GNUC__ == 3) && (__GNUC_MINOR__ >= 3)) || (__GNUC__ > 3))
11397 int fnord () __attribute__((visibility("default")));
11398 #endif
11399
11400 int fnord () { return 42; }
11401 int main ()
11402 {
11403   void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
11404   int status = $lt_dlunknown;
11405
11406   if (self)
11407     {
11408       if (dlsym (self,"fnord"))       status = $lt_dlno_uscore;
11409       else
11410         {
11411           if (dlsym( self,"_fnord"))  status = $lt_dlneed_uscore;
11412           else puts (dlerror ());
11413         }
11414       /* dlclose (self); */
11415     }
11416   else
11417     puts (dlerror ());
11418
11419   return status;
11420 }
11421 _LT_EOF
11422   if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
11423   (eval $ac_link) 2>&5
11424   ac_status=$?
11425   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
11426   test $ac_status = 0; } && test -s conftest${ac_exeext} 2>/dev/null; then
11427     (./conftest; exit; ) >&5 2>/dev/null
11428     lt_status=$?
11429     case x$lt_status in
11430       x$lt_dlno_uscore) lt_cv_dlopen_self=yes ;;
11431       x$lt_dlneed_uscore) lt_cv_dlopen_self=yes ;;
11432       x$lt_dlunknown|x*) lt_cv_dlopen_self=no ;;
11433     esac
11434   else :
11435     # compilation failed
11436     lt_cv_dlopen_self=no
11437   fi
11438 fi
11439 rm -fr conftest*
11440
11441
11442 fi
11443 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_dlopen_self" >&5
11444 $as_echo "$lt_cv_dlopen_self" >&6; }
11445
11446     if test "x$lt_cv_dlopen_self" = xyes; then
11447       wl=$lt_prog_compiler_wl eval LDFLAGS=\"\$LDFLAGS $lt_prog_compiler_static\"
11448       { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether a statically linked program can dlopen itself" >&5
11449 $as_echo_n "checking whether a statically linked program can dlopen itself... " >&6; }
11450 if ${lt_cv_dlopen_self_static+:} false; then :
11451   $as_echo_n "(cached) " >&6
11452 else
11453           if test "$cross_compiling" = yes; then :
11454   lt_cv_dlopen_self_static=cross
11455 else
11456   lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
11457   lt_status=$lt_dlunknown
11458   cat > conftest.$ac_ext <<_LT_EOF
11459 #line $LINENO "configure"
11460 #include "confdefs.h"
11461
11462 #if HAVE_DLFCN_H
11463 #include <dlfcn.h>
11464 #endif
11465
11466 #include <stdio.h>
11467
11468 #ifdef RTLD_GLOBAL
11469 #  define LT_DLGLOBAL           RTLD_GLOBAL
11470 #else
11471 #  ifdef DL_GLOBAL
11472 #    define LT_DLGLOBAL         DL_GLOBAL
11473 #  else
11474 #    define LT_DLGLOBAL         0
11475 #  endif
11476 #endif
11477
11478 /* We may have to define LT_DLLAZY_OR_NOW in the command line if we
11479    find out it does not work in some platform. */
11480 #ifndef LT_DLLAZY_OR_NOW
11481 #  ifdef RTLD_LAZY
11482 #    define LT_DLLAZY_OR_NOW            RTLD_LAZY
11483 #  else
11484 #    ifdef DL_LAZY
11485 #      define LT_DLLAZY_OR_NOW          DL_LAZY
11486 #    else
11487 #      ifdef RTLD_NOW
11488 #        define LT_DLLAZY_OR_NOW        RTLD_NOW
11489 #      else
11490 #        ifdef DL_NOW
11491 #          define LT_DLLAZY_OR_NOW      DL_NOW
11492 #        else
11493 #          define LT_DLLAZY_OR_NOW      0
11494 #        endif
11495 #      endif
11496 #    endif
11497 #  endif
11498 #endif
11499
11500 /* When -fvisbility=hidden is used, assume the code has been annotated
11501    correspondingly for the symbols needed.  */
11502 #if defined(__GNUC__) && (((__GNUC__ == 3) && (__GNUC_MINOR__ >= 3)) || (__GNUC__ > 3))
11503 int fnord () __attribute__((visibility("default")));
11504 #endif
11505
11506 int fnord () { return 42; }
11507 int main ()
11508 {
11509   void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
11510   int status = $lt_dlunknown;
11511
11512   if (self)
11513     {
11514       if (dlsym (self,"fnord"))       status = $lt_dlno_uscore;
11515       else
11516         {
11517           if (dlsym( self,"_fnord"))  status = $lt_dlneed_uscore;
11518           else puts (dlerror ());
11519         }
11520       /* dlclose (self); */
11521     }
11522   else
11523     puts (dlerror ());
11524
11525   return status;
11526 }
11527 _LT_EOF
11528   if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
11529   (eval $ac_link) 2>&5
11530   ac_status=$?
11531   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
11532   test $ac_status = 0; } && test -s conftest${ac_exeext} 2>/dev/null; then
11533     (./conftest; exit; ) >&5 2>/dev/null
11534     lt_status=$?
11535     case x$lt_status in
11536       x$lt_dlno_uscore) lt_cv_dlopen_self_static=yes ;;
11537       x$lt_dlneed_uscore) lt_cv_dlopen_self_static=yes ;;
11538       x$lt_dlunknown|x*) lt_cv_dlopen_self_static=no ;;
11539     esac
11540   else :
11541     # compilation failed
11542     lt_cv_dlopen_self_static=no
11543   fi
11544 fi
11545 rm -fr conftest*
11546
11547
11548 fi
11549 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_dlopen_self_static" >&5
11550 $as_echo "$lt_cv_dlopen_self_static" >&6; }
11551     fi
11552
11553     CPPFLAGS="$save_CPPFLAGS"
11554     LDFLAGS="$save_LDFLAGS"
11555     LIBS="$save_LIBS"
11556     ;;
11557   esac
11558
11559   case $lt_cv_dlopen_self in
11560   yes|no) enable_dlopen_self=$lt_cv_dlopen_self ;;
11561   *) enable_dlopen_self=unknown ;;
11562   esac
11563
11564   case $lt_cv_dlopen_self_static in
11565   yes|no) enable_dlopen_self_static=$lt_cv_dlopen_self_static ;;
11566   *) enable_dlopen_self_static=unknown ;;
11567   esac
11568 fi
11569
11570
11571
11572
11573
11574
11575
11576
11577
11578
11579
11580
11581
11582
11583
11584
11585
11586 striplib=
11587 old_striplib=
11588 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether stripping libraries is possible" >&5
11589 $as_echo_n "checking whether stripping libraries is possible... " >&6; }
11590 if test -n "$STRIP" && $STRIP -V 2>&1 | $GREP "GNU strip" >/dev/null; then
11591   test -z "$old_striplib" && old_striplib="$STRIP --strip-debug"
11592   test -z "$striplib" && striplib="$STRIP --strip-unneeded"
11593   { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
11594 $as_echo "yes" >&6; }
11595 else
11596 # FIXME - insert some real tests, host_os isn't really good enough
11597   case $host_os in
11598   darwin*)
11599     if test -n "$STRIP" ; then
11600       striplib="$STRIP -x"
11601       old_striplib="$STRIP -S"
11602       { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
11603 $as_echo "yes" >&6; }
11604     else
11605       { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11606 $as_echo "no" >&6; }
11607     fi
11608     ;;
11609   *)
11610     { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11611 $as_echo "no" >&6; }
11612     ;;
11613   esac
11614 fi
11615
11616
11617
11618
11619
11620
11621
11622
11623
11624
11625
11626
11627   # Report which library types will actually be built
11628   { $as_echo "$as_me:${as_lineno-$LINENO}: checking if libtool supports shared libraries" >&5
11629 $as_echo_n "checking if libtool supports shared libraries... " >&6; }
11630   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $can_build_shared" >&5
11631 $as_echo "$can_build_shared" >&6; }
11632
11633   { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build shared libraries" >&5
11634 $as_echo_n "checking whether to build shared libraries... " >&6; }
11635   test "$can_build_shared" = "no" && enable_shared=no
11636
11637   # On AIX, shared libraries and static libraries use the same namespace, and
11638   # are all built from PIC.
11639   case $host_os in
11640   aix3*)
11641     test "$enable_shared" = yes && enable_static=no
11642     if test -n "$RANLIB"; then
11643       archive_cmds="$archive_cmds~\$RANLIB \$lib"
11644       postinstall_cmds='$RANLIB $lib'
11645     fi
11646     ;;
11647
11648   aix[4-9]*)
11649     if test "$host_cpu" != ia64 && test "$aix_use_runtimelinking" = no ; then
11650       test "$enable_shared" = yes && enable_static=no
11651     fi
11652     ;;
11653   esac
11654   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_shared" >&5
11655 $as_echo "$enable_shared" >&6; }
11656
11657   { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build static libraries" >&5
11658 $as_echo_n "checking whether to build static libraries... " >&6; }
11659   # Make sure either enable_shared or enable_static is yes.
11660   test "$enable_shared" = yes || enable_static=yes
11661   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_static" >&5
11662 $as_echo "$enable_static" >&6; }
11663
11664
11665
11666
11667 fi
11668 ac_ext=c
11669 ac_cpp='$CPP $CPPFLAGS'
11670 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
11671 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
11672 ac_compiler_gnu=$ac_cv_c_compiler_gnu
11673
11674 CC="$lt_save_CC"
11675
11676
11677
11678
11679
11680
11681
11682
11683
11684
11685
11686
11687
11688
11689
11690         ac_config_commands="$ac_config_commands libtool"
11691
11692
11693
11694
11695 # Only expand once:
11696
11697
11698
11699 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing strerror" >&5
11700 $as_echo_n "checking for library containing strerror... " >&6; }
11701 if ${ac_cv_search_strerror+:} false; then :
11702   $as_echo_n "(cached) " >&6
11703 else
11704   ac_func_search_save_LIBS=$LIBS
11705 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11706 /* end confdefs.h.  */
11707
11708 /* Override any GCC internal prototype to avoid an error.
11709    Use char because int might match the return type of a GCC
11710    builtin and then its argument prototype would still apply.  */
11711 #ifdef __cplusplus
11712 extern "C"
11713 #endif
11714 char strerror ();
11715 int
11716 main ()
11717 {
11718 return strerror ();
11719   ;
11720   return 0;
11721 }
11722 _ACEOF
11723 for ac_lib in '' cposix; do
11724   if test -z "$ac_lib"; then
11725     ac_res="none required"
11726   else
11727     ac_res=-l$ac_lib
11728     LIBS="-l$ac_lib  $ac_func_search_save_LIBS"
11729   fi
11730   if ac_fn_c_try_link "$LINENO"; then :
11731   ac_cv_search_strerror=$ac_res
11732 fi
11733 rm -f core conftest.err conftest.$ac_objext \
11734     conftest$ac_exeext
11735   if ${ac_cv_search_strerror+:} false; then :
11736   break
11737 fi
11738 done
11739 if ${ac_cv_search_strerror+:} false; then :
11740
11741 else
11742   ac_cv_search_strerror=no
11743 fi
11744 rm conftest.$ac_ext
11745 LIBS=$ac_func_search_save_LIBS
11746 fi
11747 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_strerror" >&5
11748 $as_echo "$ac_cv_search_strerror" >&6; }
11749 ac_res=$ac_cv_search_strerror
11750 if test "$ac_res" != no; then :
11751   test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
11752
11753 fi
11754
11755 ac_ext=c
11756 ac_cpp='$CPP $CPPFLAGS'
11757 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
11758 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
11759 ac_compiler_gnu=$ac_cv_c_compiler_gnu
11760 if test -n "$ac_tool_prefix"; then
11761   # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
11762 set dummy ${ac_tool_prefix}gcc; ac_word=$2
11763 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
11764 $as_echo_n "checking for $ac_word... " >&6; }
11765 if ${ac_cv_prog_CC+:} false; then :
11766   $as_echo_n "(cached) " >&6
11767 else
11768   if test -n "$CC"; then
11769   ac_cv_prog_CC="$CC" # Let the user override the test.
11770 else
11771 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11772 for as_dir in $PATH
11773 do
11774   IFS=$as_save_IFS
11775   test -z "$as_dir" && as_dir=.
11776     for ac_exec_ext in '' $ac_executable_extensions; do
11777   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
11778     ac_cv_prog_CC="${ac_tool_prefix}gcc"
11779     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
11780     break 2
11781   fi
11782 done
11783   done
11784 IFS=$as_save_IFS
11785
11786 fi
11787 fi
11788 CC=$ac_cv_prog_CC
11789 if test -n "$CC"; then
11790   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
11791 $as_echo "$CC" >&6; }
11792 else
11793   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11794 $as_echo "no" >&6; }
11795 fi
11796
11797
11798 fi
11799 if test -z "$ac_cv_prog_CC"; then
11800   ac_ct_CC=$CC
11801   # Extract the first word of "gcc", so it can be a program name with args.
11802 set dummy gcc; ac_word=$2
11803 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
11804 $as_echo_n "checking for $ac_word... " >&6; }
11805 if ${ac_cv_prog_ac_ct_CC+:} false; then :
11806   $as_echo_n "(cached) " >&6
11807 else
11808   if test -n "$ac_ct_CC"; then
11809   ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
11810 else
11811 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11812 for as_dir in $PATH
11813 do
11814   IFS=$as_save_IFS
11815   test -z "$as_dir" && as_dir=.
11816     for ac_exec_ext in '' $ac_executable_extensions; do
11817   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
11818     ac_cv_prog_ac_ct_CC="gcc"
11819     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
11820     break 2
11821   fi
11822 done
11823   done
11824 IFS=$as_save_IFS
11825
11826 fi
11827 fi
11828 ac_ct_CC=$ac_cv_prog_ac_ct_CC
11829 if test -n "$ac_ct_CC"; then
11830   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
11831 $as_echo "$ac_ct_CC" >&6; }
11832 else
11833   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11834 $as_echo "no" >&6; }
11835 fi
11836
11837   if test "x$ac_ct_CC" = x; then
11838     CC=""
11839   else
11840     case $cross_compiling:$ac_tool_warned in
11841 yes:)
11842 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
11843 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
11844 ac_tool_warned=yes ;;
11845 esac
11846     CC=$ac_ct_CC
11847   fi
11848 else
11849   CC="$ac_cv_prog_CC"
11850 fi
11851
11852 if test -z "$CC"; then
11853           if test -n "$ac_tool_prefix"; then
11854     # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
11855 set dummy ${ac_tool_prefix}cc; ac_word=$2
11856 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
11857 $as_echo_n "checking for $ac_word... " >&6; }
11858 if ${ac_cv_prog_CC+:} false; then :
11859   $as_echo_n "(cached) " >&6
11860 else
11861   if test -n "$CC"; then
11862   ac_cv_prog_CC="$CC" # Let the user override the test.
11863 else
11864 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11865 for as_dir in $PATH
11866 do
11867   IFS=$as_save_IFS
11868   test -z "$as_dir" && as_dir=.
11869     for ac_exec_ext in '' $ac_executable_extensions; do
11870   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
11871     ac_cv_prog_CC="${ac_tool_prefix}cc"
11872     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
11873     break 2
11874   fi
11875 done
11876   done
11877 IFS=$as_save_IFS
11878
11879 fi
11880 fi
11881 CC=$ac_cv_prog_CC
11882 if test -n "$CC"; then
11883   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
11884 $as_echo "$CC" >&6; }
11885 else
11886   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11887 $as_echo "no" >&6; }
11888 fi
11889
11890
11891   fi
11892 fi
11893 if test -z "$CC"; then
11894   # Extract the first word of "cc", so it can be a program name with args.
11895 set dummy cc; ac_word=$2
11896 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
11897 $as_echo_n "checking for $ac_word... " >&6; }
11898 if ${ac_cv_prog_CC+:} false; then :
11899   $as_echo_n "(cached) " >&6
11900 else
11901   if test -n "$CC"; then
11902   ac_cv_prog_CC="$CC" # Let the user override the test.
11903 else
11904   ac_prog_rejected=no
11905 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11906 for as_dir in $PATH
11907 do
11908   IFS=$as_save_IFS
11909   test -z "$as_dir" && as_dir=.
11910     for ac_exec_ext in '' $ac_executable_extensions; do
11911   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
11912     if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
11913        ac_prog_rejected=yes
11914        continue
11915      fi
11916     ac_cv_prog_CC="cc"
11917     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
11918     break 2
11919   fi
11920 done
11921   done
11922 IFS=$as_save_IFS
11923
11924 if test $ac_prog_rejected = yes; then
11925   # We found a bogon in the path, so make sure we never use it.
11926   set dummy $ac_cv_prog_CC
11927   shift
11928   if test $# != 0; then
11929     # We chose a different compiler from the bogus one.
11930     # However, it has the same basename, so the bogon will be chosen
11931     # first if we set CC to just the basename; use the full file name.
11932     shift
11933     ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
11934   fi
11935 fi
11936 fi
11937 fi
11938 CC=$ac_cv_prog_CC
11939 if test -n "$CC"; then
11940   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
11941 $as_echo "$CC" >&6; }
11942 else
11943   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11944 $as_echo "no" >&6; }
11945 fi
11946
11947
11948 fi
11949 if test -z "$CC"; then
11950   if test -n "$ac_tool_prefix"; then
11951   for ac_prog in cl.exe
11952   do
11953     # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
11954 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
11955 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
11956 $as_echo_n "checking for $ac_word... " >&6; }
11957 if ${ac_cv_prog_CC+:} false; then :
11958   $as_echo_n "(cached) " >&6
11959 else
11960   if test -n "$CC"; then
11961   ac_cv_prog_CC="$CC" # Let the user override the test.
11962 else
11963 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11964 for as_dir in $PATH
11965 do
11966   IFS=$as_save_IFS
11967   test -z "$as_dir" && as_dir=.
11968     for ac_exec_ext in '' $ac_executable_extensions; do
11969   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
11970     ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
11971     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
11972     break 2
11973   fi
11974 done
11975   done
11976 IFS=$as_save_IFS
11977
11978 fi
11979 fi
11980 CC=$ac_cv_prog_CC
11981 if test -n "$CC"; then
11982   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
11983 $as_echo "$CC" >&6; }
11984 else
11985   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11986 $as_echo "no" >&6; }
11987 fi
11988
11989
11990     test -n "$CC" && break
11991   done
11992 fi
11993 if test -z "$CC"; then
11994   ac_ct_CC=$CC
11995   for ac_prog in cl.exe
11996 do
11997   # Extract the first word of "$ac_prog", so it can be a program name with args.
11998 set dummy $ac_prog; ac_word=$2
11999 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
12000 $as_echo_n "checking for $ac_word... " >&6; }
12001 if ${ac_cv_prog_ac_ct_CC+:} false; then :
12002   $as_echo_n "(cached) " >&6
12003 else
12004   if test -n "$ac_ct_CC"; then
12005   ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
12006 else
12007 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12008 for as_dir in $PATH
12009 do
12010   IFS=$as_save_IFS
12011   test -z "$as_dir" && as_dir=.
12012     for ac_exec_ext in '' $ac_executable_extensions; do
12013   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
12014     ac_cv_prog_ac_ct_CC="$ac_prog"
12015     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
12016     break 2
12017   fi
12018 done
12019   done
12020 IFS=$as_save_IFS
12021
12022 fi
12023 fi
12024 ac_ct_CC=$ac_cv_prog_ac_ct_CC
12025 if test -n "$ac_ct_CC"; then
12026   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
12027 $as_echo "$ac_ct_CC" >&6; }
12028 else
12029   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12030 $as_echo "no" >&6; }
12031 fi
12032
12033
12034   test -n "$ac_ct_CC" && break
12035 done
12036
12037   if test "x$ac_ct_CC" = x; then
12038     CC=""
12039   else
12040     case $cross_compiling:$ac_tool_warned in
12041 yes:)
12042 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
12043 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
12044 ac_tool_warned=yes ;;
12045 esac
12046     CC=$ac_ct_CC
12047   fi
12048 fi
12049
12050 fi
12051
12052
12053 test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
12054 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
12055 as_fn_error $? "no acceptable C compiler found in \$PATH
12056 See \`config.log' for more details" "$LINENO" 5; }
12057
12058 # Provide some information about the compiler.
12059 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
12060 set X $ac_compile
12061 ac_compiler=$2
12062 for ac_option in --version -v -V -qversion; do
12063   { { ac_try="$ac_compiler $ac_option >&5"
12064 case "(($ac_try" in
12065   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
12066   *) ac_try_echo=$ac_try;;
12067 esac
12068 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
12069 $as_echo "$ac_try_echo"; } >&5
12070   (eval "$ac_compiler $ac_option >&5") 2>conftest.err
12071   ac_status=$?
12072   if test -s conftest.err; then
12073     sed '10a\
12074 ... rest of stderr output deleted ...
12075          10q' conftest.err >conftest.er1
12076     cat conftest.er1 >&5
12077   fi
12078   rm -f conftest.er1 conftest.err
12079   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
12080   test $ac_status = 0; }
12081 done
12082
12083 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
12084 $as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
12085 if ${ac_cv_c_compiler_gnu+:} false; then :
12086   $as_echo_n "(cached) " >&6
12087 else
12088   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12089 /* end confdefs.h.  */
12090
12091 int
12092 main ()
12093 {
12094 #ifndef __GNUC__
12095        choke me
12096 #endif
12097
12098   ;
12099   return 0;
12100 }
12101 _ACEOF
12102 if ac_fn_c_try_compile "$LINENO"; then :
12103   ac_compiler_gnu=yes
12104 else
12105   ac_compiler_gnu=no
12106 fi
12107 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
12108 ac_cv_c_compiler_gnu=$ac_compiler_gnu
12109
12110 fi
12111 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
12112 $as_echo "$ac_cv_c_compiler_gnu" >&6; }
12113 if test $ac_compiler_gnu = yes; then
12114   GCC=yes
12115 else
12116   GCC=
12117 fi
12118 ac_test_CFLAGS=${CFLAGS+set}
12119 ac_save_CFLAGS=$CFLAGS
12120 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
12121 $as_echo_n "checking whether $CC accepts -g... " >&6; }
12122 if ${ac_cv_prog_cc_g+:} false; then :
12123   $as_echo_n "(cached) " >&6
12124 else
12125   ac_save_c_werror_flag=$ac_c_werror_flag
12126    ac_c_werror_flag=yes
12127    ac_cv_prog_cc_g=no
12128    CFLAGS="-g"
12129    cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12130 /* end confdefs.h.  */
12131
12132 int
12133 main ()
12134 {
12135
12136   ;
12137   return 0;
12138 }
12139 _ACEOF
12140 if ac_fn_c_try_compile "$LINENO"; then :
12141   ac_cv_prog_cc_g=yes
12142 else
12143   CFLAGS=""
12144       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12145 /* end confdefs.h.  */
12146
12147 int
12148 main ()
12149 {
12150
12151   ;
12152   return 0;
12153 }
12154 _ACEOF
12155 if ac_fn_c_try_compile "$LINENO"; then :
12156
12157 else
12158   ac_c_werror_flag=$ac_save_c_werror_flag
12159          CFLAGS="-g"
12160          cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12161 /* end confdefs.h.  */
12162
12163 int
12164 main ()
12165 {
12166
12167   ;
12168   return 0;
12169 }
12170 _ACEOF
12171 if ac_fn_c_try_compile "$LINENO"; then :
12172   ac_cv_prog_cc_g=yes
12173 fi
12174 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
12175 fi
12176 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
12177 fi
12178 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
12179    ac_c_werror_flag=$ac_save_c_werror_flag
12180 fi
12181 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
12182 $as_echo "$ac_cv_prog_cc_g" >&6; }
12183 if test "$ac_test_CFLAGS" = set; then
12184   CFLAGS=$ac_save_CFLAGS
12185 elif test $ac_cv_prog_cc_g = yes; then
12186   if test "$GCC" = yes; then
12187     CFLAGS="-g -O2"
12188   else
12189     CFLAGS="-g"
12190   fi
12191 else
12192   if test "$GCC" = yes; then
12193     CFLAGS="-O2"
12194   else
12195     CFLAGS=
12196   fi
12197 fi
12198 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
12199 $as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
12200 if ${ac_cv_prog_cc_c89+:} false; then :
12201   $as_echo_n "(cached) " >&6
12202 else
12203   ac_cv_prog_cc_c89=no
12204 ac_save_CC=$CC
12205 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12206 /* end confdefs.h.  */
12207 #include <stdarg.h>
12208 #include <stdio.h>
12209 struct stat;
12210 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh.  */
12211 struct buf { int x; };
12212 FILE * (*rcsopen) (struct buf *, struct stat *, int);
12213 static char *e (p, i)
12214      char **p;
12215      int i;
12216 {
12217   return p[i];
12218 }
12219 static char *f (char * (*g) (char **, int), char **p, ...)
12220 {
12221   char *s;
12222   va_list v;
12223   va_start (v,p);
12224   s = g (p, va_arg (v,int));
12225   va_end (v);
12226   return s;
12227 }
12228
12229 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default.  It has
12230    function prototypes and stuff, but not '\xHH' hex character constants.
12231    These don't provoke an error unfortunately, instead are silently treated
12232    as 'x'.  The following induces an error, until -std is added to get
12233    proper ANSI mode.  Curiously '\x00'!='x' always comes out true, for an
12234    array size at least.  It's necessary to write '\x00'==0 to get something
12235    that's true only with -std.  */
12236 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
12237
12238 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
12239    inside strings and character constants.  */
12240 #define FOO(x) 'x'
12241 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
12242
12243 int test (int i, double x);
12244 struct s1 {int (*f) (int a);};
12245 struct s2 {int (*f) (double a);};
12246 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
12247 int argc;
12248 char **argv;
12249 int
12250 main ()
12251 {
12252 return f (e, argv, 0) != argv[0]  ||  f (e, argv, 1) != argv[1];
12253   ;
12254   return 0;
12255 }
12256 _ACEOF
12257 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
12258         -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
12259 do
12260   CC="$ac_save_CC $ac_arg"
12261   if ac_fn_c_try_compile "$LINENO"; then :
12262   ac_cv_prog_cc_c89=$ac_arg
12263 fi
12264 rm -f core conftest.err conftest.$ac_objext
12265   test "x$ac_cv_prog_cc_c89" != "xno" && break
12266 done
12267 rm -f conftest.$ac_ext
12268 CC=$ac_save_CC
12269
12270 fi
12271 # AC_CACHE_VAL
12272 case "x$ac_cv_prog_cc_c89" in
12273   x)
12274     { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
12275 $as_echo "none needed" >&6; } ;;
12276   xno)
12277     { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
12278 $as_echo "unsupported" >&6; } ;;
12279   *)
12280     CC="$CC $ac_cv_prog_cc_c89"
12281     { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
12282 $as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
12283 esac
12284 if test "x$ac_cv_prog_cc_c89" != xno; then :
12285
12286 fi
12287
12288 ac_ext=c
12289 ac_cpp='$CPP $CPPFLAGS'
12290 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
12291 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
12292 ac_compiler_gnu=$ac_cv_c_compiler_gnu
12293
12294 depcc="$CC"   am_compiler_list=
12295
12296 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5
12297 $as_echo_n "checking dependency style of $depcc... " >&6; }
12298 if ${am_cv_CC_dependencies_compiler_type+:} false; then :
12299   $as_echo_n "(cached) " >&6
12300 else
12301   if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
12302   # We make a subdir and do the tests there.  Otherwise we can end up
12303   # making bogus files that we don't know about and never remove.  For
12304   # instance it was reported that on HP-UX the gcc test will end up
12305   # making a dummy file named `D' -- because `-MD' means `put the output
12306   # in D'.
12307   rm -rf conftest.dir
12308   mkdir conftest.dir
12309   # Copy depcomp to subdir because otherwise we won't find it if we're
12310   # using a relative directory.
12311   cp "$am_depcomp" conftest.dir
12312   cd conftest.dir
12313   # We will build objects and dependencies in a subdirectory because
12314   # it helps to detect inapplicable dependency modes.  For instance
12315   # both Tru64's cc and ICC support -MD to output dependencies as a
12316   # side effect of compilation, but ICC will put the dependencies in
12317   # the current directory while Tru64 will put them in the object
12318   # directory.
12319   mkdir sub
12320
12321   am_cv_CC_dependencies_compiler_type=none
12322   if test "$am_compiler_list" = ""; then
12323      am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
12324   fi
12325   am__universal=false
12326   case " $depcc " in #(
12327      *\ -arch\ *\ -arch\ *) am__universal=true ;;
12328      esac
12329
12330   for depmode in $am_compiler_list; do
12331     # Setup a source with many dependencies, because some compilers
12332     # like to wrap large dependency lists on column 80 (with \), and
12333     # we should not choose a depcomp mode which is confused by this.
12334     #
12335     # We need to recreate these files for each test, as the compiler may
12336     # overwrite some of them when testing with obscure command lines.
12337     # This happens at least with the AIX C compiler.
12338     : > sub/conftest.c
12339     for i in 1 2 3 4 5 6; do
12340       echo '#include "conftst'$i'.h"' >> sub/conftest.c
12341       # Using `: > sub/conftst$i.h' creates only sub/conftst1.h with
12342       # Solaris 8's {/usr,}/bin/sh.
12343       touch sub/conftst$i.h
12344     done
12345     echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
12346
12347     # We check with `-c' and `-o' for the sake of the "dashmstdout"
12348     # mode.  It turns out that the SunPro C++ compiler does not properly
12349     # handle `-M -o', and we need to detect this.  Also, some Intel
12350     # versions had trouble with output in subdirs
12351     am__obj=sub/conftest.${OBJEXT-o}
12352     am__minus_obj="-o $am__obj"
12353     case $depmode in
12354     gcc)
12355       # This depmode causes a compiler race in universal mode.
12356       test "$am__universal" = false || continue
12357       ;;
12358     nosideeffect)
12359       # after this tag, mechanisms are not by side-effect, so they'll
12360       # only be used when explicitly requested
12361       if test "x$enable_dependency_tracking" = xyes; then
12362         continue
12363       else
12364         break
12365       fi
12366       ;;
12367     msvc7 | msvc7msys | msvisualcpp | msvcmsys)
12368       # This compiler won't grok `-c -o', but also, the minuso test has
12369       # not run yet.  These depmodes are late enough in the game, and
12370       # so weak that their functioning should not be impacted.
12371       am__obj=conftest.${OBJEXT-o}
12372       am__minus_obj=
12373       ;;
12374     none) break ;;
12375     esac
12376     if depmode=$depmode \
12377        source=sub/conftest.c object=$am__obj \
12378        depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
12379        $SHELL ./depcomp $depcc -c $am__minus_obj sub/conftest.c \
12380          >/dev/null 2>conftest.err &&
12381        grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 &&
12382        grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
12383        grep $am__obj sub/conftest.Po > /dev/null 2>&1 &&
12384        ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
12385       # icc doesn't choke on unknown options, it will just issue warnings
12386       # or remarks (even with -Werror).  So we grep stderr for any message
12387       # that says an option was ignored or not supported.
12388       # When given -MP, icc 7.0 and 7.1 complain thusly:
12389       #   icc: Command line warning: ignoring option '-M'; no argument required
12390       # The diagnosis changed in icc 8.0:
12391       #   icc: Command line remark: option '-MP' not supported
12392       if (grep 'ignoring option' conftest.err ||
12393           grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
12394         am_cv_CC_dependencies_compiler_type=$depmode
12395         break
12396       fi
12397     fi
12398   done
12399
12400   cd ..
12401   rm -rf conftest.dir
12402 else
12403   am_cv_CC_dependencies_compiler_type=none
12404 fi
12405
12406 fi
12407 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_CC_dependencies_compiler_type" >&5
12408 $as_echo "$am_cv_CC_dependencies_compiler_type" >&6; }
12409 CCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type
12410
12411  if
12412   test "x$enable_dependency_tracking" != xno \
12413   && test "$am_cv_CC_dependencies_compiler_type" = gcc3; then
12414   am__fastdepCC_TRUE=
12415   am__fastdepCC_FALSE='#'
12416 else
12417   am__fastdepCC_TRUE='#'
12418   am__fastdepCC_FALSE=
12419 fi
12420
12421
12422 ac_ext=c
12423 ac_cpp='$CPP $CPPFLAGS'
12424 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
12425 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
12426 ac_compiler_gnu=$ac_cv_c_compiler_gnu
12427 if test -n "$ac_tool_prefix"; then
12428   # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
12429 set dummy ${ac_tool_prefix}gcc; ac_word=$2
12430 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
12431 $as_echo_n "checking for $ac_word... " >&6; }
12432 if ${ac_cv_prog_CC+:} false; then :
12433   $as_echo_n "(cached) " >&6
12434 else
12435   if test -n "$CC"; then
12436   ac_cv_prog_CC="$CC" # Let the user override the test.
12437 else
12438 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12439 for as_dir in $PATH
12440 do
12441   IFS=$as_save_IFS
12442   test -z "$as_dir" && as_dir=.
12443     for ac_exec_ext in '' $ac_executable_extensions; do
12444   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
12445     ac_cv_prog_CC="${ac_tool_prefix}gcc"
12446     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
12447     break 2
12448   fi
12449 done
12450   done
12451 IFS=$as_save_IFS
12452
12453 fi
12454 fi
12455 CC=$ac_cv_prog_CC
12456 if test -n "$CC"; then
12457   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
12458 $as_echo "$CC" >&6; }
12459 else
12460   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12461 $as_echo "no" >&6; }
12462 fi
12463
12464
12465 fi
12466 if test -z "$ac_cv_prog_CC"; then
12467   ac_ct_CC=$CC
12468   # Extract the first word of "gcc", so it can be a program name with args.
12469 set dummy gcc; ac_word=$2
12470 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
12471 $as_echo_n "checking for $ac_word... " >&6; }
12472 if ${ac_cv_prog_ac_ct_CC+:} false; then :
12473   $as_echo_n "(cached) " >&6
12474 else
12475   if test -n "$ac_ct_CC"; then
12476   ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
12477 else
12478 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12479 for as_dir in $PATH
12480 do
12481   IFS=$as_save_IFS
12482   test -z "$as_dir" && as_dir=.
12483     for ac_exec_ext in '' $ac_executable_extensions; do
12484   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
12485     ac_cv_prog_ac_ct_CC="gcc"
12486     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
12487     break 2
12488   fi
12489 done
12490   done
12491 IFS=$as_save_IFS
12492
12493 fi
12494 fi
12495 ac_ct_CC=$ac_cv_prog_ac_ct_CC
12496 if test -n "$ac_ct_CC"; then
12497   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
12498 $as_echo "$ac_ct_CC" >&6; }
12499 else
12500   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12501 $as_echo "no" >&6; }
12502 fi
12503
12504   if test "x$ac_ct_CC" = x; then
12505     CC=""
12506   else
12507     case $cross_compiling:$ac_tool_warned in
12508 yes:)
12509 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
12510 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
12511 ac_tool_warned=yes ;;
12512 esac
12513     CC=$ac_ct_CC
12514   fi
12515 else
12516   CC="$ac_cv_prog_CC"
12517 fi
12518
12519 if test -z "$CC"; then
12520           if test -n "$ac_tool_prefix"; then
12521     # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
12522 set dummy ${ac_tool_prefix}cc; ac_word=$2
12523 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
12524 $as_echo_n "checking for $ac_word... " >&6; }
12525 if ${ac_cv_prog_CC+:} false; then :
12526   $as_echo_n "(cached) " >&6
12527 else
12528   if test -n "$CC"; then
12529   ac_cv_prog_CC="$CC" # Let the user override the test.
12530 else
12531 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12532 for as_dir in $PATH
12533 do
12534   IFS=$as_save_IFS
12535   test -z "$as_dir" && as_dir=.
12536     for ac_exec_ext in '' $ac_executable_extensions; do
12537   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
12538     ac_cv_prog_CC="${ac_tool_prefix}cc"
12539     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
12540     break 2
12541   fi
12542 done
12543   done
12544 IFS=$as_save_IFS
12545
12546 fi
12547 fi
12548 CC=$ac_cv_prog_CC
12549 if test -n "$CC"; then
12550   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
12551 $as_echo "$CC" >&6; }
12552 else
12553   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12554 $as_echo "no" >&6; }
12555 fi
12556
12557
12558   fi
12559 fi
12560 if test -z "$CC"; then
12561   # Extract the first word of "cc", so it can be a program name with args.
12562 set dummy cc; ac_word=$2
12563 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
12564 $as_echo_n "checking for $ac_word... " >&6; }
12565 if ${ac_cv_prog_CC+:} false; then :
12566   $as_echo_n "(cached) " >&6
12567 else
12568   if test -n "$CC"; then
12569   ac_cv_prog_CC="$CC" # Let the user override the test.
12570 else
12571   ac_prog_rejected=no
12572 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12573 for as_dir in $PATH
12574 do
12575   IFS=$as_save_IFS
12576   test -z "$as_dir" && as_dir=.
12577     for ac_exec_ext in '' $ac_executable_extensions; do
12578   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
12579     if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
12580        ac_prog_rejected=yes
12581        continue
12582      fi
12583     ac_cv_prog_CC="cc"
12584     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
12585     break 2
12586   fi
12587 done
12588   done
12589 IFS=$as_save_IFS
12590
12591 if test $ac_prog_rejected = yes; then
12592   # We found a bogon in the path, so make sure we never use it.
12593   set dummy $ac_cv_prog_CC
12594   shift
12595   if test $# != 0; then
12596     # We chose a different compiler from the bogus one.
12597     # However, it has the same basename, so the bogon will be chosen
12598     # first if we set CC to just the basename; use the full file name.
12599     shift
12600     ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
12601   fi
12602 fi
12603 fi
12604 fi
12605 CC=$ac_cv_prog_CC
12606 if test -n "$CC"; then
12607   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
12608 $as_echo "$CC" >&6; }
12609 else
12610   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12611 $as_echo "no" >&6; }
12612 fi
12613
12614
12615 fi
12616 if test -z "$CC"; then
12617   if test -n "$ac_tool_prefix"; then
12618   for ac_prog in cl.exe
12619   do
12620     # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
12621 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
12622 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
12623 $as_echo_n "checking for $ac_word... " >&6; }
12624 if ${ac_cv_prog_CC+:} false; then :
12625   $as_echo_n "(cached) " >&6
12626 else
12627   if test -n "$CC"; then
12628   ac_cv_prog_CC="$CC" # Let the user override the test.
12629 else
12630 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12631 for as_dir in $PATH
12632 do
12633   IFS=$as_save_IFS
12634   test -z "$as_dir" && as_dir=.
12635     for ac_exec_ext in '' $ac_executable_extensions; do
12636   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
12637     ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
12638     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
12639     break 2
12640   fi
12641 done
12642   done
12643 IFS=$as_save_IFS
12644
12645 fi
12646 fi
12647 CC=$ac_cv_prog_CC
12648 if test -n "$CC"; then
12649   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
12650 $as_echo "$CC" >&6; }
12651 else
12652   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12653 $as_echo "no" >&6; }
12654 fi
12655
12656
12657     test -n "$CC" && break
12658   done
12659 fi
12660 if test -z "$CC"; then
12661   ac_ct_CC=$CC
12662   for ac_prog in cl.exe
12663 do
12664   # Extract the first word of "$ac_prog", so it can be a program name with args.
12665 set dummy $ac_prog; ac_word=$2
12666 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
12667 $as_echo_n "checking for $ac_word... " >&6; }
12668 if ${ac_cv_prog_ac_ct_CC+:} false; then :
12669   $as_echo_n "(cached) " >&6
12670 else
12671   if test -n "$ac_ct_CC"; then
12672   ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
12673 else
12674 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12675 for as_dir in $PATH
12676 do
12677   IFS=$as_save_IFS
12678   test -z "$as_dir" && as_dir=.
12679     for ac_exec_ext in '' $ac_executable_extensions; do
12680   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
12681     ac_cv_prog_ac_ct_CC="$ac_prog"
12682     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
12683     break 2
12684   fi
12685 done
12686   done
12687 IFS=$as_save_IFS
12688
12689 fi
12690 fi
12691 ac_ct_CC=$ac_cv_prog_ac_ct_CC
12692 if test -n "$ac_ct_CC"; then
12693   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
12694 $as_echo "$ac_ct_CC" >&6; }
12695 else
12696   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12697 $as_echo "no" >&6; }
12698 fi
12699
12700
12701   test -n "$ac_ct_CC" && break
12702 done
12703
12704   if test "x$ac_ct_CC" = x; then
12705     CC=""
12706   else
12707     case $cross_compiling:$ac_tool_warned in
12708 yes:)
12709 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
12710 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
12711 ac_tool_warned=yes ;;
12712 esac
12713     CC=$ac_ct_CC
12714   fi
12715 fi
12716
12717 fi
12718
12719
12720 test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
12721 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
12722 as_fn_error $? "no acceptable C compiler found in \$PATH
12723 See \`config.log' for more details" "$LINENO" 5; }
12724
12725 # Provide some information about the compiler.
12726 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
12727 set X $ac_compile
12728 ac_compiler=$2
12729 for ac_option in --version -v -V -qversion; do
12730   { { ac_try="$ac_compiler $ac_option >&5"
12731 case "(($ac_try" in
12732   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
12733   *) ac_try_echo=$ac_try;;
12734 esac
12735 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
12736 $as_echo "$ac_try_echo"; } >&5
12737   (eval "$ac_compiler $ac_option >&5") 2>conftest.err
12738   ac_status=$?
12739   if test -s conftest.err; then
12740     sed '10a\
12741 ... rest of stderr output deleted ...
12742          10q' conftest.err >conftest.er1
12743     cat conftest.er1 >&5
12744   fi
12745   rm -f conftest.er1 conftest.err
12746   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
12747   test $ac_status = 0; }
12748 done
12749
12750 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
12751 $as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
12752 if ${ac_cv_c_compiler_gnu+:} false; then :
12753   $as_echo_n "(cached) " >&6
12754 else
12755   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12756 /* end confdefs.h.  */
12757
12758 int
12759 main ()
12760 {
12761 #ifndef __GNUC__
12762        choke me
12763 #endif
12764
12765   ;
12766   return 0;
12767 }
12768 _ACEOF
12769 if ac_fn_c_try_compile "$LINENO"; then :
12770   ac_compiler_gnu=yes
12771 else
12772   ac_compiler_gnu=no
12773 fi
12774 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
12775 ac_cv_c_compiler_gnu=$ac_compiler_gnu
12776
12777 fi
12778 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
12779 $as_echo "$ac_cv_c_compiler_gnu" >&6; }
12780 if test $ac_compiler_gnu = yes; then
12781   GCC=yes
12782 else
12783   GCC=
12784 fi
12785 ac_test_CFLAGS=${CFLAGS+set}
12786 ac_save_CFLAGS=$CFLAGS
12787 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
12788 $as_echo_n "checking whether $CC accepts -g... " >&6; }
12789 if ${ac_cv_prog_cc_g+:} false; then :
12790   $as_echo_n "(cached) " >&6
12791 else
12792   ac_save_c_werror_flag=$ac_c_werror_flag
12793    ac_c_werror_flag=yes
12794    ac_cv_prog_cc_g=no
12795    CFLAGS="-g"
12796    cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12797 /* end confdefs.h.  */
12798
12799 int
12800 main ()
12801 {
12802
12803   ;
12804   return 0;
12805 }
12806 _ACEOF
12807 if ac_fn_c_try_compile "$LINENO"; then :
12808   ac_cv_prog_cc_g=yes
12809 else
12810   CFLAGS=""
12811       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12812 /* end confdefs.h.  */
12813
12814 int
12815 main ()
12816 {
12817
12818   ;
12819   return 0;
12820 }
12821 _ACEOF
12822 if ac_fn_c_try_compile "$LINENO"; then :
12823
12824 else
12825   ac_c_werror_flag=$ac_save_c_werror_flag
12826          CFLAGS="-g"
12827          cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12828 /* end confdefs.h.  */
12829
12830 int
12831 main ()
12832 {
12833
12834   ;
12835   return 0;
12836 }
12837 _ACEOF
12838 if ac_fn_c_try_compile "$LINENO"; then :
12839   ac_cv_prog_cc_g=yes
12840 fi
12841 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
12842 fi
12843 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
12844 fi
12845 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
12846    ac_c_werror_flag=$ac_save_c_werror_flag
12847 fi
12848 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
12849 $as_echo "$ac_cv_prog_cc_g" >&6; }
12850 if test "$ac_test_CFLAGS" = set; then
12851   CFLAGS=$ac_save_CFLAGS
12852 elif test $ac_cv_prog_cc_g = yes; then
12853   if test "$GCC" = yes; then
12854     CFLAGS="-g -O2"
12855   else
12856     CFLAGS="-g"
12857   fi
12858 else
12859   if test "$GCC" = yes; then
12860     CFLAGS="-O2"
12861   else
12862     CFLAGS=
12863   fi
12864 fi
12865 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
12866 $as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
12867 if ${ac_cv_prog_cc_c89+:} false; then :
12868   $as_echo_n "(cached) " >&6
12869 else
12870   ac_cv_prog_cc_c89=no
12871 ac_save_CC=$CC
12872 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12873 /* end confdefs.h.  */
12874 #include <stdarg.h>
12875 #include <stdio.h>
12876 struct stat;
12877 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh.  */
12878 struct buf { int x; };
12879 FILE * (*rcsopen) (struct buf *, struct stat *, int);
12880 static char *e (p, i)
12881      char **p;
12882      int i;
12883 {
12884   return p[i];
12885 }
12886 static char *f (char * (*g) (char **, int), char **p, ...)
12887 {
12888   char *s;
12889   va_list v;
12890   va_start (v,p);
12891   s = g (p, va_arg (v,int));
12892   va_end (v);
12893   return s;
12894 }
12895
12896 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default.  It has
12897    function prototypes and stuff, but not '\xHH' hex character constants.
12898    These don't provoke an error unfortunately, instead are silently treated
12899    as 'x'.  The following induces an error, until -std is added to get
12900    proper ANSI mode.  Curiously '\x00'!='x' always comes out true, for an
12901    array size at least.  It's necessary to write '\x00'==0 to get something
12902    that's true only with -std.  */
12903 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
12904
12905 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
12906    inside strings and character constants.  */
12907 #define FOO(x) 'x'
12908 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
12909
12910 int test (int i, double x);
12911 struct s1 {int (*f) (int a);};
12912 struct s2 {int (*f) (double a);};
12913 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
12914 int argc;
12915 char **argv;
12916 int
12917 main ()
12918 {
12919 return f (e, argv, 0) != argv[0]  ||  f (e, argv, 1) != argv[1];
12920   ;
12921   return 0;
12922 }
12923 _ACEOF
12924 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
12925         -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
12926 do
12927   CC="$ac_save_CC $ac_arg"
12928   if ac_fn_c_try_compile "$LINENO"; then :
12929   ac_cv_prog_cc_c89=$ac_arg
12930 fi
12931 rm -f core conftest.err conftest.$ac_objext
12932   test "x$ac_cv_prog_cc_c89" != "xno" && break
12933 done
12934 rm -f conftest.$ac_ext
12935 CC=$ac_save_CC
12936
12937 fi
12938 # AC_CACHE_VAL
12939 case "x$ac_cv_prog_cc_c89" in
12940   x)
12941     { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
12942 $as_echo "none needed" >&6; } ;;
12943   xno)
12944     { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
12945 $as_echo "unsupported" >&6; } ;;
12946   *)
12947     CC="$CC $ac_cv_prog_cc_c89"
12948     { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
12949 $as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
12950 esac
12951 if test "x$ac_cv_prog_cc_c89" != xno; then :
12952
12953 fi
12954
12955 ac_ext=c
12956 ac_cpp='$CPP $CPPFLAGS'
12957 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
12958 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
12959 ac_compiler_gnu=$ac_cv_c_compiler_gnu
12960
12961 depcc="$CC"   am_compiler_list=
12962
12963 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5
12964 $as_echo_n "checking dependency style of $depcc... " >&6; }
12965 if ${am_cv_CC_dependencies_compiler_type+:} false; then :
12966   $as_echo_n "(cached) " >&6
12967 else
12968   if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
12969   # We make a subdir and do the tests there.  Otherwise we can end up
12970   # making bogus files that we don't know about and never remove.  For
12971   # instance it was reported that on HP-UX the gcc test will end up
12972   # making a dummy file named `D' -- because `-MD' means `put the output
12973   # in D'.
12974   rm -rf conftest.dir
12975   mkdir conftest.dir
12976   # Copy depcomp to subdir because otherwise we won't find it if we're
12977   # using a relative directory.
12978   cp "$am_depcomp" conftest.dir
12979   cd conftest.dir
12980   # We will build objects and dependencies in a subdirectory because
12981   # it helps to detect inapplicable dependency modes.  For instance
12982   # both Tru64's cc and ICC support -MD to output dependencies as a
12983   # side effect of compilation, but ICC will put the dependencies in
12984   # the current directory while Tru64 will put them in the object
12985   # directory.
12986   mkdir sub
12987
12988   am_cv_CC_dependencies_compiler_type=none
12989   if test "$am_compiler_list" = ""; then
12990      am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
12991   fi
12992   am__universal=false
12993   case " $depcc " in #(
12994      *\ -arch\ *\ -arch\ *) am__universal=true ;;
12995      esac
12996
12997   for depmode in $am_compiler_list; do
12998     # Setup a source with many dependencies, because some compilers
12999     # like to wrap large dependency lists on column 80 (with \), and
13000     # we should not choose a depcomp mode which is confused by this.
13001     #
13002     # We need to recreate these files for each test, as the compiler may
13003     # overwrite some of them when testing with obscure command lines.
13004     # This happens at least with the AIX C compiler.
13005     : > sub/conftest.c
13006     for i in 1 2 3 4 5 6; do
13007       echo '#include "conftst'$i'.h"' >> sub/conftest.c
13008       # Using `: > sub/conftst$i.h' creates only sub/conftst1.h with
13009       # Solaris 8's {/usr,}/bin/sh.
13010       touch sub/conftst$i.h
13011     done
13012     echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
13013
13014     # We check with `-c' and `-o' for the sake of the "dashmstdout"
13015     # mode.  It turns out that the SunPro C++ compiler does not properly
13016     # handle `-M -o', and we need to detect this.  Also, some Intel
13017     # versions had trouble with output in subdirs
13018     am__obj=sub/conftest.${OBJEXT-o}
13019     am__minus_obj="-o $am__obj"
13020     case $depmode in
13021     gcc)
13022       # This depmode causes a compiler race in universal mode.
13023       test "$am__universal" = false || continue
13024       ;;
13025     nosideeffect)
13026       # after this tag, mechanisms are not by side-effect, so they'll
13027       # only be used when explicitly requested
13028       if test "x$enable_dependency_tracking" = xyes; then
13029         continue
13030       else
13031         break
13032       fi
13033       ;;
13034     msvc7 | msvc7msys | msvisualcpp | msvcmsys)
13035       # This compiler won't grok `-c -o', but also, the minuso test has
13036       # not run yet.  These depmodes are late enough in the game, and
13037       # so weak that their functioning should not be impacted.
13038       am__obj=conftest.${OBJEXT-o}
13039       am__minus_obj=
13040       ;;
13041     none) break ;;
13042     esac
13043     if depmode=$depmode \
13044        source=sub/conftest.c object=$am__obj \
13045        depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
13046        $SHELL ./depcomp $depcc -c $am__minus_obj sub/conftest.c \
13047          >/dev/null 2>conftest.err &&
13048        grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 &&
13049        grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
13050        grep $am__obj sub/conftest.Po > /dev/null 2>&1 &&
13051        ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
13052       # icc doesn't choke on unknown options, it will just issue warnings
13053       # or remarks (even with -Werror).  So we grep stderr for any message
13054       # that says an option was ignored or not supported.
13055       # When given -MP, icc 7.0 and 7.1 complain thusly:
13056       #   icc: Command line warning: ignoring option '-M'; no argument required
13057       # The diagnosis changed in icc 8.0:
13058       #   icc: Command line remark: option '-MP' not supported
13059       if (grep 'ignoring option' conftest.err ||
13060           grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
13061         am_cv_CC_dependencies_compiler_type=$depmode
13062         break
13063       fi
13064     fi
13065   done
13066
13067   cd ..
13068   rm -rf conftest.dir
13069 else
13070   am_cv_CC_dependencies_compiler_type=none
13071 fi
13072
13073 fi
13074 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_CC_dependencies_compiler_type" >&5
13075 $as_echo "$am_cv_CC_dependencies_compiler_type" >&6; }
13076 CCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type
13077
13078  if
13079   test "x$enable_dependency_tracking" != xno \
13080   && test "$am_cv_CC_dependencies_compiler_type" = gcc3; then
13081   am__fastdepCC_TRUE=
13082   am__fastdepCC_FALSE='#'
13083 else
13084   am__fastdepCC_TRUE='#'
13085   am__fastdepCC_FALSE=
13086 fi
13087
13088
13089
13090 am_cv_prog_cc_stdc=$ac_cv_prog_cc_stdc
13091
13092 if test "x$CC" != xcc; then
13093   { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC and cc understand -c and -o together" >&5
13094 $as_echo_n "checking whether $CC and cc understand -c and -o together... " >&6; }
13095 else
13096   { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether cc understands -c and -o together" >&5
13097 $as_echo_n "checking whether cc understands -c and -o together... " >&6; }
13098 fi
13099 set dummy $CC; ac_cc=`$as_echo "$2" |
13100                       sed 's/[^a-zA-Z0-9_]/_/g;s/^[0-9]/_/'`
13101 if eval \${ac_cv_prog_cc_${ac_cc}_c_o+:} false; then :
13102   $as_echo_n "(cached) " >&6
13103 else
13104   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13105 /* end confdefs.h.  */
13106
13107 int
13108 main ()
13109 {
13110
13111   ;
13112   return 0;
13113 }
13114 _ACEOF
13115 # Make sure it works both with $CC and with simple cc.
13116 # We do the test twice because some compilers refuse to overwrite an
13117 # existing .o file with -o, though they will create one.
13118 ac_try='$CC -c conftest.$ac_ext -o conftest2.$ac_objext >&5'
13119 rm -f conftest2.*
13120 if { { case "(($ac_try" in
13121   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
13122   *) ac_try_echo=$ac_try;;
13123 esac
13124 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
13125 $as_echo "$ac_try_echo"; } >&5
13126   (eval "$ac_try") 2>&5
13127   ac_status=$?
13128   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
13129   test $ac_status = 0; } &&
13130    test -f conftest2.$ac_objext && { { case "(($ac_try" in
13131   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
13132   *) ac_try_echo=$ac_try;;
13133 esac
13134 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
13135 $as_echo "$ac_try_echo"; } >&5
13136   (eval "$ac_try") 2>&5
13137   ac_status=$?
13138   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
13139   test $ac_status = 0; };
13140 then
13141   eval ac_cv_prog_cc_${ac_cc}_c_o=yes
13142   if test "x$CC" != xcc; then
13143     # Test first that cc exists at all.
13144     if { ac_try='cc -c conftest.$ac_ext >&5'
13145   { { case "(($ac_try" in
13146   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
13147   *) ac_try_echo=$ac_try;;
13148 esac
13149 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
13150 $as_echo "$ac_try_echo"; } >&5
13151   (eval "$ac_try") 2>&5
13152   ac_status=$?
13153   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
13154   test $ac_status = 0; }; }; then
13155       ac_try='cc -c conftest.$ac_ext -o conftest2.$ac_objext >&5'
13156       rm -f conftest2.*
13157       if { { case "(($ac_try" in
13158   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
13159   *) ac_try_echo=$ac_try;;
13160 esac
13161 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
13162 $as_echo "$ac_try_echo"; } >&5
13163   (eval "$ac_try") 2>&5
13164   ac_status=$?
13165   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
13166   test $ac_status = 0; } &&
13167          test -f conftest2.$ac_objext && { { case "(($ac_try" in
13168   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
13169   *) ac_try_echo=$ac_try;;
13170 esac
13171 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
13172 $as_echo "$ac_try_echo"; } >&5
13173   (eval "$ac_try") 2>&5
13174   ac_status=$?
13175   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
13176   test $ac_status = 0; };
13177       then
13178         # cc works too.
13179         :
13180       else
13181         # cc exists but doesn't like -o.
13182         eval ac_cv_prog_cc_${ac_cc}_c_o=no
13183       fi
13184     fi
13185   fi
13186 else
13187   eval ac_cv_prog_cc_${ac_cc}_c_o=no
13188 fi
13189 rm -f core conftest*
13190
13191 fi
13192 if eval test \$ac_cv_prog_cc_${ac_cc}_c_o = yes; then
13193   { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
13194 $as_echo "yes" >&6; }
13195 else
13196   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
13197 $as_echo "no" >&6; }
13198
13199 $as_echo "#define NO_MINUS_C_MINUS_O 1" >>confdefs.h
13200
13201 fi
13202
13203 # FIXME: we rely on the cache variable name because
13204 # there is no other way.
13205 set dummy $CC
13206 am_cc=`echo $2 | sed 's/[^a-zA-Z0-9_]/_/g;s/^[0-9]/_/'`
13207 eval am_t=\$ac_cv_prog_cc_${am_cc}_c_o
13208 if test "$am_t" != yes; then
13209    # Losing compiler, so override with the script.
13210    # FIXME: It is wrong to rewrite CC.
13211    # But if we don't then we get into trouble of one sort or another.
13212    # A longer-term fix would be to have automake use am__CC in this case,
13213    # and then we could set am__CC="\$(top_srcdir)/compile \$(CC)"
13214    CC="$am_aux_dir/compile $CC"
13215 fi
13216
13217
13218
13219 # option to specify python interpreter to use; this just sets $PYTHON, so that
13220 # we will fallback to reading $PYTHON if --with-python is not given, and
13221 # python.m4 will get the expected input
13222
13223 # Check whether --with-python was given.
13224 if test "${with_python+set}" = set; then :
13225   withval=$with_python; PYTHON="$withval"
13226 fi
13227
13228 if test x"$PYTHON" = xyes; then
13229         as_fn_error $? "--with-python option requires a path or program argument" "$LINENO" 5
13230 fi
13231 if test -n "$PYTHON" && ! which "$PYTHON"; then
13232         as_fn_error $? "Python interpreter $PYTHON does not exist" "$LINENO" 5
13233 fi
13234
13235 # check that we have the minimum version of python necessary to build
13236
13237
13238
13239
13240         if test -n "$PYTHON"; then
13241       # If the user set $PYTHON, use it and don't search something else.
13242       { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $PYTHON version >= 2.6" >&5
13243 $as_echo_n "checking whether $PYTHON version >= 2.6... " >&6; }
13244       prog="import sys
13245 # split strings by '.' and convert to numeric.  Append some zeros
13246 # because we need at least 4 digits for the hex conversion.
13247 # map returns an iterator in Python 3.0 and a list in 2.x
13248 minver = list(map(int, '2.6'.split('.'))) + [0, 0, 0]
13249 minverhex = 0
13250 # xrange is not present in Python 3.0 and range returns an iterator
13251 for i in list(range(0, 4)): minverhex = (minverhex << 8) + minver[i]
13252 sys.exit(sys.hexversion < minverhex)"
13253   if { echo "$as_me:$LINENO: $PYTHON -c "$prog"" >&5
13254    ($PYTHON -c "$prog") >&5 2>&5
13255    ac_status=$?
13256    echo "$as_me:$LINENO: \$? = $ac_status" >&5
13257    (exit $ac_status); }; then :
13258   { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
13259 $as_echo "yes" >&6; }
13260 else
13261   as_fn_error $? "too old" "$LINENO" 5
13262 fi
13263       am_display_PYTHON=$PYTHON
13264     else
13265       # Otherwise, try each interpreter until we find one that satisfies
13266       # VERSION.
13267       { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a Python interpreter with version >= 2.6" >&5
13268 $as_echo_n "checking for a Python interpreter with version >= 2.6... " >&6; }
13269 if ${am_cv_pathless_PYTHON+:} false; then :
13270   $as_echo_n "(cached) " >&6
13271 else
13272
13273         for am_cv_pathless_PYTHON in python3 python3.3 python3.2 python3.1 python2 python2.7 python2.6 python none; do
13274           test "$am_cv_pathless_PYTHON" = none && break
13275           prog="import sys
13276 # split strings by '.' and convert to numeric.  Append some zeros
13277 # because we need at least 4 digits for the hex conversion.
13278 # map returns an iterator in Python 3.0 and a list in 2.x
13279 minver = list(map(int, '2.6'.split('.'))) + [0, 0, 0]
13280 minverhex = 0
13281 # xrange is not present in Python 3.0 and range returns an iterator
13282 for i in list(range(0, 4)): minverhex = (minverhex << 8) + minver[i]
13283 sys.exit(sys.hexversion < minverhex)"
13284   if { echo "$as_me:$LINENO: $am_cv_pathless_PYTHON -c "$prog"" >&5
13285    ($am_cv_pathless_PYTHON -c "$prog") >&5 2>&5
13286    ac_status=$?
13287    echo "$as_me:$LINENO: \$? = $ac_status" >&5
13288    (exit $ac_status); }; then :
13289   break
13290 fi
13291         done
13292 fi
13293 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_pathless_PYTHON" >&5
13294 $as_echo "$am_cv_pathless_PYTHON" >&6; }
13295       # Set $PYTHON to the absolute path of $am_cv_pathless_PYTHON.
13296       if test "$am_cv_pathless_PYTHON" = none; then
13297         PYTHON=:
13298       else
13299         # Extract the first word of "$am_cv_pathless_PYTHON", so it can be a program name with args.
13300 set dummy $am_cv_pathless_PYTHON; ac_word=$2
13301 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
13302 $as_echo_n "checking for $ac_word... " >&6; }
13303 if ${ac_cv_path_PYTHON+:} false; then :
13304   $as_echo_n "(cached) " >&6
13305 else
13306   case $PYTHON in
13307   [\\/]* | ?:[\\/]*)
13308   ac_cv_path_PYTHON="$PYTHON" # Let the user override the test with a path.
13309   ;;
13310   *)
13311   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
13312 for as_dir in $PATH
13313 do
13314   IFS=$as_save_IFS
13315   test -z "$as_dir" && as_dir=.
13316     for ac_exec_ext in '' $ac_executable_extensions; do
13317   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
13318     ac_cv_path_PYTHON="$as_dir/$ac_word$ac_exec_ext"
13319     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
13320     break 2
13321   fi
13322 done
13323   done
13324 IFS=$as_save_IFS
13325
13326   ;;
13327 esac
13328 fi
13329 PYTHON=$ac_cv_path_PYTHON
13330 if test -n "$PYTHON"; then
13331   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PYTHON" >&5
13332 $as_echo "$PYTHON" >&6; }
13333 else
13334   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
13335 $as_echo "no" >&6; }
13336 fi
13337
13338
13339       fi
13340       am_display_PYTHON=$am_cv_pathless_PYTHON
13341     fi
13342
13343
13344   if test "$PYTHON" = :; then
13345       as_fn_error $? "no suitable Python interpreter found" "$LINENO" 5
13346   else
13347
13348
13349   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $am_display_PYTHON version" >&5
13350 $as_echo_n "checking for $am_display_PYTHON version... " >&6; }
13351 if ${am_cv_python_version+:} false; then :
13352   $as_echo_n "(cached) " >&6
13353 else
13354   am_cv_python_version=`$PYTHON -c "import sys; sys.stdout.write(sys.version[:3])"`
13355 fi
13356 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_python_version" >&5
13357 $as_echo "$am_cv_python_version" >&6; }
13358   PYTHON_VERSION=$am_cv_python_version
13359
13360
13361
13362   PYTHON_PREFIX='${prefix}'
13363
13364   PYTHON_EXEC_PREFIX='${exec_prefix}'
13365
13366
13367
13368   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $am_display_PYTHON platform" >&5
13369 $as_echo_n "checking for $am_display_PYTHON platform... " >&6; }
13370 if ${am_cv_python_platform+:} false; then :
13371   $as_echo_n "(cached) " >&6
13372 else
13373   am_cv_python_platform=`$PYTHON -c "import sys; sys.stdout.write(sys.platform)"`
13374 fi
13375 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_python_platform" >&5
13376 $as_echo "$am_cv_python_platform" >&6; }
13377   PYTHON_PLATFORM=$am_cv_python_platform
13378
13379
13380
13381
13382                 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $am_display_PYTHON script directory" >&5
13383 $as_echo_n "checking for $am_display_PYTHON script directory... " >&6; }
13384 if ${am_cv_python_pythondir+:} false; then :
13385   $as_echo_n "(cached) " >&6
13386 else
13387   am_cv_python_pythondir=`$PYTHON -c "from distutils import sysconfig; print(sysconfig.get_python_lib(0,0,prefix='$PYTHON_PREFIX'))" 2>/dev/null ||
13388      echo "$PYTHON_PREFIX/lib/python$PYTHON_VERSION/site-packages"`
13389 fi
13390 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_python_pythondir" >&5
13391 $as_echo "$am_cv_python_pythondir" >&6; }
13392   pythondir=$am_cv_python_pythondir
13393
13394
13395
13396   pkgpythondir=\${pythondir}/$PACKAGE
13397
13398
13399             { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $am_display_PYTHON extension module directory" >&5
13400 $as_echo_n "checking for $am_display_PYTHON extension module directory... " >&6; }
13401 if ${am_cv_python_pyexecdir+:} false; then :
13402   $as_echo_n "(cached) " >&6
13403 else
13404   am_cv_python_pyexecdir=`$PYTHON -c "from distutils import sysconfig; print(sysconfig.get_python_lib(1,0,prefix='$PYTHON_EXEC_PREFIX'))" 2>/dev/null ||
13405      echo "${PYTHON_EXEC_PREFIX}/lib/python${PYTHON_VERSION}/site-packages"`
13406 fi
13407 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_python_pyexecdir" >&5
13408 $as_echo "$am_cv_python_pyexecdir" >&6; }
13409   pyexecdir=$am_cv_python_pyexecdir
13410
13411
13412
13413   pkgpyexecdir=\${pyexecdir}/$PACKAGE
13414
13415
13416
13417   fi
13418
13419
13420
13421 # check if we are building for python 3
13422 prog="import sys
13423 # split strings by '.' and convert to numeric.  Append some zeros
13424 # because we need at least 4 digits for the hex conversion.
13425 # map returns an iterator in Python 3.0 and a list in 2.x
13426 minver = list(map(int, '3.0'.split('.'))) + [0, 0, 0]
13427 minverhex = 0
13428 # xrange is not present in Python 3.0 and range returns an iterator
13429 for i in list(range(0, 4)): minverhex = (minverhex << 8) + minver[i]
13430 sys.exit(sys.hexversion < minverhex)"
13431   if { echo "$as_me:$LINENO: $PYTHON -c "$prog"" >&5
13432    ($PYTHON -c "$prog") >&5 2>&5
13433    ac_status=$?
13434    echo "$as_me:$LINENO: \$? = $ac_status" >&5
13435    (exit $ac_status); }; then :
13436   build_py3k=true
13437 else
13438   build_py3k=false
13439 fi
13440
13441 # if building for python 3 make sure we have the minimum version supported
13442 if test $build_py3k = true ; then
13443   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $PYTHON >= 3.1" >&5
13444 $as_echo_n "checking for $PYTHON >= 3.1... " >&6; }
13445   prog="import sys
13446 # split strings by '.' and convert to numeric.  Append some zeros
13447 # because we need at least 4 digits for the hex conversion.
13448 # map returns an iterator in Python 3.0 and a list in 2.x
13449 minver = list(map(int, '3.1'.split('.'))) + [0, 0, 0]
13450 minverhex = 0
13451 # xrange is not present in Python 3.0 and range returns an iterator
13452 for i in list(range(0, 4)): minverhex = (minverhex << 8) + minver[i]
13453 sys.exit(sys.hexversion < minverhex)"
13454   if { echo "$as_me:$LINENO: $PYTHON -c "$prog"" >&5
13455    ($PYTHON -c "$prog") >&5 2>&5
13456    ac_status=$?
13457    echo "$as_me:$LINENO: \$? = $ac_status" >&5
13458    (exit $ac_status); }; then :
13459   { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
13460 $as_echo "yes" >&6; }
13461 else
13462   as_fn_error $? "too old" "$LINENO" 5
13463 fi
13464 fi
13465
13466
13467
13468
13469
13470
13471
13472         # Find any Python interpreter.
13473     if test -z "$PYTHON"; then
13474       for ac_prog in python3 python3.3 python3.2 python3.1 python2 python2.7 python2.6 python
13475 do
13476   # Extract the first word of "$ac_prog", so it can be a program name with args.
13477 set dummy $ac_prog; ac_word=$2
13478 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
13479 $as_echo_n "checking for $ac_word... " >&6; }
13480 if ${ac_cv_path_PYTHON+:} false; then :
13481   $as_echo_n "(cached) " >&6
13482 else
13483   case $PYTHON in
13484   [\\/]* | ?:[\\/]*)
13485   ac_cv_path_PYTHON="$PYTHON" # Let the user override the test with a path.
13486   ;;
13487   *)
13488   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
13489 for as_dir in $PATH
13490 do
13491   IFS=$as_save_IFS
13492   test -z "$as_dir" && as_dir=.
13493     for ac_exec_ext in '' $ac_executable_extensions; do
13494   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
13495     ac_cv_path_PYTHON="$as_dir/$ac_word$ac_exec_ext"
13496     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
13497     break 2
13498   fi
13499 done
13500   done
13501 IFS=$as_save_IFS
13502
13503   ;;
13504 esac
13505 fi
13506 PYTHON=$ac_cv_path_PYTHON
13507 if test -n "$PYTHON"; then
13508   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PYTHON" >&5
13509 $as_echo "$PYTHON" >&6; }
13510 else
13511   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
13512 $as_echo "no" >&6; }
13513 fi
13514
13515
13516   test -n "$PYTHON" && break
13517 done
13518 test -n "$PYTHON" || PYTHON=":"
13519
13520     fi
13521     am_display_PYTHON=python
13522
13523
13524   if test "$PYTHON" = :; then
13525       as_fn_error $? "no suitable Python interpreter found" "$LINENO" 5
13526   else
13527
13528
13529   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $am_display_PYTHON version" >&5
13530 $as_echo_n "checking for $am_display_PYTHON version... " >&6; }
13531 if ${am_cv_python_version+:} false; then :
13532   $as_echo_n "(cached) " >&6
13533 else
13534   am_cv_python_version=`$PYTHON -c "import sys; sys.stdout.write(sys.version[:3])"`
13535 fi
13536 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_python_version" >&5
13537 $as_echo "$am_cv_python_version" >&6; }
13538   PYTHON_VERSION=$am_cv_python_version
13539
13540
13541
13542   PYTHON_PREFIX='${prefix}'
13543
13544   PYTHON_EXEC_PREFIX='${exec_prefix}'
13545
13546
13547
13548   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $am_display_PYTHON platform" >&5
13549 $as_echo_n "checking for $am_display_PYTHON platform... " >&6; }
13550 if ${am_cv_python_platform+:} false; then :
13551   $as_echo_n "(cached) " >&6
13552 else
13553   am_cv_python_platform=`$PYTHON -c "import sys; sys.stdout.write(sys.platform)"`
13554 fi
13555 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_python_platform" >&5
13556 $as_echo "$am_cv_python_platform" >&6; }
13557   PYTHON_PLATFORM=$am_cv_python_platform
13558
13559
13560
13561
13562             { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $am_display_PYTHON script directory" >&5
13563 $as_echo_n "checking for $am_display_PYTHON script directory... " >&6; }
13564 if ${am_cv_python_pythondir+:} false; then :
13565   $as_echo_n "(cached) " >&6
13566 else
13567   if test "x$prefix" = xNONE
13568      then
13569        am_py_prefix=$ac_default_prefix
13570      else
13571        am_py_prefix=$prefix
13572      fi
13573      am_cv_python_pythondir=`$PYTHON -c "import sys; from distutils import sysconfig; sys.stdout.write(sysconfig.get_python_lib(0,0,prefix='$am_py_prefix'))" 2>/dev/null`
13574      case $am_cv_python_pythondir in
13575      $am_py_prefix*)
13576        am__strip_prefix=`echo "$am_py_prefix" | sed 's|.|.|g'`
13577        am_cv_python_pythondir=`echo "$am_cv_python_pythondir" | sed "s,^$am__strip_prefix,$PYTHON_PREFIX,"`
13578        ;;
13579      *)
13580        case $am_py_prefix in
13581          /usr|/System*) ;;
13582          *)
13583           am_cv_python_pythondir=$PYTHON_PREFIX/lib/python$PYTHON_VERSION/site-packages
13584           ;;
13585        esac
13586        ;;
13587      esac
13588
13589 fi
13590 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_python_pythondir" >&5
13591 $as_echo "$am_cv_python_pythondir" >&6; }
13592   pythondir=$am_cv_python_pythondir
13593
13594
13595
13596   pkgpythondir=\${pythondir}/$PACKAGE
13597
13598
13599         { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $am_display_PYTHON extension module directory" >&5
13600 $as_echo_n "checking for $am_display_PYTHON extension module directory... " >&6; }
13601 if ${am_cv_python_pyexecdir+:} false; then :
13602   $as_echo_n "(cached) " >&6
13603 else
13604   if test "x$exec_prefix" = xNONE
13605      then
13606        am_py_exec_prefix=$am_py_prefix
13607      else
13608        am_py_exec_prefix=$exec_prefix
13609      fi
13610      am_cv_python_pyexecdir=`$PYTHON -c "import sys; from distutils import sysconfig; sys.stdout.write(sysconfig.get_python_lib(1,0,prefix='$am_py_exec_prefix'))" 2>/dev/null`
13611      case $am_cv_python_pyexecdir in
13612      $am_py_exec_prefix*)
13613        am__strip_prefix=`echo "$am_py_exec_prefix" | sed 's|.|.|g'`
13614        am_cv_python_pyexecdir=`echo "$am_cv_python_pyexecdir" | sed "s,^$am__strip_prefix,$PYTHON_EXEC_PREFIX,"`
13615        ;;
13616      *)
13617        case $am_py_exec_prefix in
13618          /usr|/System*) ;;
13619          *)
13620            am_cv_python_pyexecdir=$PYTHON_EXEC_PREFIX/lib/python$PYTHON_VERSION/site-packages
13621            ;;
13622        esac
13623        ;;
13624      esac
13625
13626 fi
13627 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_python_pyexecdir" >&5
13628 $as_echo "$am_cv_python_pyexecdir" >&6; }
13629   pyexecdir=$am_cv_python_pyexecdir
13630
13631
13632
13633   pkgpyexecdir=\${pyexecdir}/$PACKAGE
13634
13635
13636
13637   fi
13638
13639
13640
13641 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for headers required to compile python extensions" >&5
13642 $as_echo_n "checking for headers required to compile python extensions... " >&6; }
13643 if test "x$PYTHON_INCLUDES" = x; then
13644   PYTHON_CONFIG=`which $PYTHON`-config
13645   if test -x "$PYTHON_CONFIG"; then
13646     PYTHON_INCLUDES=`$PYTHON_CONFIG --includes 2>/dev/null`
13647   else
13648     py_prefix=`$PYTHON -c "import sys; sys.stdout.write(sys.prefix)"`
13649     py_exec_prefix=`$PYTHON -c "import sys; sys.stdout.write(sys.exec_prefix)"`
13650     PYTHON_INCLUDES="-I${py_prefix}/include/python${PYTHON_VERSION}"
13651     if test "$py_prefix" != "$py_exec_prefix"; then
13652       PYTHON_INCLUDES="$PYTHON_INCLUDES -I${py_exec_prefix}/include/python${PYTHON_VERSION}"
13653     fi
13654   fi
13655 fi
13656
13657 save_CPPFLAGS="$CPPFLAGS"
13658 CPPFLAGS="$CPPFLAGS $PYTHON_INCLUDES"
13659 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13660 /* end confdefs.h.  */
13661 #include <Python.h>
13662 _ACEOF
13663 if ac_fn_c_try_cpp "$LINENO"; then :
13664   { $as_echo "$as_me:${as_lineno-$LINENO}: result: found" >&5
13665 $as_echo "found" >&6; }
13666
13667 else
13668   { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
13669 $as_echo "not found" >&6; }
13670 as_fn_error $? "Python headers not found" "$LINENO" 5
13671 fi
13672 rm -f conftest.err conftest.i conftest.$ac_ext
13673 CPPFLAGS="$save_CPPFLAGS"
13674
13675 if test "x$os_win32" = "xyes"; then
13676
13677 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libraries required to embed python" >&5
13678 $as_echo_n "checking for libraries required to embed python... " >&6; }
13679 py_exec_prefix=`$PYTHON -c "import sys; print(sys.exec_prefix)"`
13680 if test "x$PYTHON_LIBS" = x; then
13681         PYTHON_LIBS="-L${py_prefix}/lib -lpython${PYTHON_VERSION}"
13682 fi
13683 if test "x$PYTHON_LIB_LOC" = x; then
13684         PYTHON_LIB_LOC="${py_prefix}/lib"
13685 fi
13686
13687
13688 save_LIBS="$LIBS"
13689 LIBS="$LIBS $PYTHON_LIBS"
13690 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13691 /* end confdefs.h.  */
13692
13693 /* Override any GCC internal prototype to avoid an error.
13694    Use char because int might match the return type of a GCC
13695    builtin and then its argument prototype would still apply.  */
13696 #ifdef __cplusplus
13697 extern "C"
13698 #endif
13699 char Py_Initialize ();
13700 int
13701 main ()
13702 {
13703 return Py_Initialize ();
13704   ;
13705   return 0;
13706 }
13707 _ACEOF
13708 if ac_fn_c_try_link "$LINENO"; then :
13709            LIBS="$save_LIBS"; { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
13710 $as_echo "yes" >&6; };
13711 else
13712            LIBS="$save_LIBS"; { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
13713 $as_echo "no" >&6; }; as_fn_error $? "Python libs not found. Windows requires Python modules to be explicitly linked to libpython." "$LINENO" 5
13714 fi
13715 rm -f core conftest.err conftest.$ac_objext \
13716     conftest$ac_exeext conftest.$ac_ext
13717
13718
13719 fi
13720
13721 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for PySignal_SetWakeupFd in Python.h" >&5
13722 $as_echo_n "checking for PySignal_SetWakeupFd in Python.h... " >&6; }
13723 old_CPPFLAGS=$CPPFLAGS
13724 CPPFLAGS="-Wall -Werror $PYTHON_INCLUDES"
13725 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13726 /* end confdefs.h.  */
13727 #include <Python.h>
13728 int
13729 main ()
13730 {
13731 PySignal_SetWakeupFd(0);
13732   ;
13733   return 0;
13734 }
13735 _ACEOF
13736 if ac_fn_c_try_compile "$LINENO"; then :
13737   setwakeupfd_ok=yes
13738 else
13739   setwakeupfd_ok=no
13740 fi
13741 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
13742 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $setwakeupfd_ok" >&5
13743 $as_echo "$setwakeupfd_ok" >&6; }
13744 if test "x$setwakeupfd_ok" != xno; then
13745
13746 $as_echo "#define HAVE_PYSIGNAL_SETWAKEUPFD 1" >>confdefs.h
13747
13748 fi
13749 CPPFLAGS=$old_CPPFLAGS
13750
13751 PLATFORM=`$PYTHON -c "import sys; from distutils import util; sys.stdout.write(util.get_platform())"`
13752
13753
13754 # Check whether --enable-thread was given.
13755 if test "${enable_thread+set}" = set; then :
13756   enableval=$enable_thread;
13757 else
13758   enable_thread=yes
13759 fi
13760
13761
13762
13763 py_mod_var=`echo thread'_' | sed 'y%./+-%__p_%'`
13764 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for python module thread" >&5
13765 $as_echo_n "checking for python module thread... " >&6; }
13766 if eval \${py_cv_mod_$py_mod_var+:} false; then :
13767   $as_echo_n "(cached) " >&6
13768 else
13769
13770 prog="
13771 import sys
13772 try:
13773         import thread
13774 except ImportError:
13775         sys.exit(1)
13776 except:
13777         sys.exit(0)
13778 sys.exit(0)"
13779 if $PYTHON -c "$prog" 1>&5 2>&5
13780   then
13781     eval "py_cv_mod_$py_mod_var=yes"
13782   else
13783     eval "py_cv_mod_$py_mod_var=no"
13784   fi
13785
13786 fi
13787
13788 py_val=`eval "echo \`echo '$py_cv_mod_'$py_mod_var\`"`
13789 if test "x$py_val" != xno; then
13790   { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
13791 $as_echo "yes" >&6; }
13792   else
13793   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
13794 $as_echo "no" >&6; }
13795   enable_thread=check_for_py3_module
13796 fi
13797
13798 if test "x$enable_thread" = xcheck_for_py3_module; then
13799
13800 py_mod_var=`echo _thread'_' | sed 'y%./+-%__p_%'`
13801 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for python module _thread" >&5
13802 $as_echo_n "checking for python module _thread... " >&6; }
13803 if eval \${py_cv_mod_$py_mod_var+:} false; then :
13804   $as_echo_n "(cached) " >&6
13805 else
13806
13807 prog="
13808 import sys
13809 try:
13810         import _thread
13811 except ImportError:
13812         sys.exit(1)
13813 except:
13814         sys.exit(0)
13815 sys.exit(0)"
13816 if $PYTHON -c "$prog" 1>&5 2>&5
13817   then
13818     eval "py_cv_mod_$py_mod_var=yes"
13819   else
13820     eval "py_cv_mod_$py_mod_var=no"
13821   fi
13822
13823 fi
13824
13825 py_val=`eval "echo \`echo '$py_cv_mod_'$py_mod_var\`"`
13826 if test "x$py_val" != xno; then
13827   { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
13828 $as_echo "yes" >&6; }
13829   enable_thread=yes
13830 else
13831   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
13832 $as_echo "no" >&6; }
13833   enable_thread=no
13834 fi
13835
13836 fi
13837
13838 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to enable threading in pygobject" >&5
13839 $as_echo_n "checking whether to enable threading in pygobject... " >&6; }
13840 if test "x$enable_thread" != xno; then
13841   extra_mods=gthread
13842   THREADING_CFLAGS=
13843   { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
13844 $as_echo "yes" >&6; }
13845 else
13846   extra_mods=
13847   THREADING_CFLAGS="-DDISABLE_THREADING"
13848   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
13849 $as_echo "no" >&6; }
13850 fi
13851
13852 CPPFLAGS="${CPPFLAGS} $THREADING_CFLAGS"
13853
13854 export_dynamic=`(./libtool --config; echo eval echo \\$export_dynamic_flag_spec) | sh`
13855
13856 # Check whether --enable-glibtest was given.
13857 if test "${enable_glibtest+set}" = set; then :
13858   enableval=$enable_glibtest;
13859 else
13860   enable_glibtest=yes
13861 fi
13862
13863
13864   pkg_config_args=glib-2.0
13865   for module in . gobject $extra_mods
13866   do
13867       case "$module" in
13868          gmodule)
13869              pkg_config_args="$pkg_config_args gmodule-2.0"
13870          ;;
13871          gmodule-no-export)
13872              pkg_config_args="$pkg_config_args gmodule-no-export-2.0"
13873          ;;
13874          gobject)
13875              pkg_config_args="$pkg_config_args gobject-2.0"
13876          ;;
13877          gthread)
13878              pkg_config_args="$pkg_config_args gthread-2.0"
13879          ;;
13880          gio*)
13881              pkg_config_args="$pkg_config_args $module-2.0"
13882          ;;
13883       esac
13884   done
13885
13886
13887
13888
13889
13890
13891
13892
13893 if test "x$ac_cv_env_PKG_CONFIG_set" != "xset"; then
13894         if test -n "$ac_tool_prefix"; then
13895   # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
13896 set dummy ${ac_tool_prefix}pkg-config; ac_word=$2
13897 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
13898 $as_echo_n "checking for $ac_word... " >&6; }
13899 if ${ac_cv_path_PKG_CONFIG+:} false; then :
13900   $as_echo_n "(cached) " >&6
13901 else
13902   case $PKG_CONFIG in
13903   [\\/]* | ?:[\\/]*)
13904   ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path.
13905   ;;
13906   *)
13907   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
13908 for as_dir in $PATH
13909 do
13910   IFS=$as_save_IFS
13911   test -z "$as_dir" && as_dir=.
13912     for ac_exec_ext in '' $ac_executable_extensions; do
13913   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
13914     ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
13915     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
13916     break 2
13917   fi
13918 done
13919   done
13920 IFS=$as_save_IFS
13921
13922   ;;
13923 esac
13924 fi
13925 PKG_CONFIG=$ac_cv_path_PKG_CONFIG
13926 if test -n "$PKG_CONFIG"; then
13927   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PKG_CONFIG" >&5
13928 $as_echo "$PKG_CONFIG" >&6; }
13929 else
13930   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
13931 $as_echo "no" >&6; }
13932 fi
13933
13934
13935 fi
13936 if test -z "$ac_cv_path_PKG_CONFIG"; then
13937   ac_pt_PKG_CONFIG=$PKG_CONFIG
13938   # Extract the first word of "pkg-config", so it can be a program name with args.
13939 set dummy pkg-config; ac_word=$2
13940 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
13941 $as_echo_n "checking for $ac_word... " >&6; }
13942 if ${ac_cv_path_ac_pt_PKG_CONFIG+:} false; then :
13943   $as_echo_n "(cached) " >&6
13944 else
13945   case $ac_pt_PKG_CONFIG in
13946   [\\/]* | ?:[\\/]*)
13947   ac_cv_path_ac_pt_PKG_CONFIG="$ac_pt_PKG_CONFIG" # Let the user override the test with a path.
13948   ;;
13949   *)
13950   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
13951 for as_dir in $PATH
13952 do
13953   IFS=$as_save_IFS
13954   test -z "$as_dir" && as_dir=.
13955     for ac_exec_ext in '' $ac_executable_extensions; do
13956   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
13957     ac_cv_path_ac_pt_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
13958     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
13959     break 2
13960   fi
13961 done
13962   done
13963 IFS=$as_save_IFS
13964
13965   ;;
13966 esac
13967 fi
13968 ac_pt_PKG_CONFIG=$ac_cv_path_ac_pt_PKG_CONFIG
13969 if test -n "$ac_pt_PKG_CONFIG"; then
13970   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_pt_PKG_CONFIG" >&5
13971 $as_echo "$ac_pt_PKG_CONFIG" >&6; }
13972 else
13973   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
13974 $as_echo "no" >&6; }
13975 fi
13976
13977   if test "x$ac_pt_PKG_CONFIG" = x; then
13978     PKG_CONFIG=""
13979   else
13980     case $cross_compiling:$ac_tool_warned in
13981 yes:)
13982 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
13983 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
13984 ac_tool_warned=yes ;;
13985 esac
13986     PKG_CONFIG=$ac_pt_PKG_CONFIG
13987   fi
13988 else
13989   PKG_CONFIG="$ac_cv_path_PKG_CONFIG"
13990 fi
13991
13992 fi
13993 if test -n "$PKG_CONFIG"; then
13994         _pkg_min_version=0.16
13995         { $as_echo "$as_me:${as_lineno-$LINENO}: checking pkg-config is at least version $_pkg_min_version" >&5
13996 $as_echo_n "checking pkg-config is at least version $_pkg_min_version... " >&6; }
13997         if $PKG_CONFIG --atleast-pkgconfig-version $_pkg_min_version; then
13998                 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
13999 $as_echo "yes" >&6; }
14000         else
14001                 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
14002 $as_echo "no" >&6; }
14003                 PKG_CONFIG=""
14004         fi
14005 fi
14006
14007   no_glib=""
14008
14009   if test "x$PKG_CONFIG" = x ; then
14010     no_glib=yes
14011     PKG_CONFIG=no
14012   fi
14013
14014   min_glib_version=2.34.2
14015   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GLIB - version >= $min_glib_version" >&5
14016 $as_echo_n "checking for GLIB - version >= $min_glib_version... " >&6; }
14017
14018   if test x$PKG_CONFIG != xno ; then
14019     ## don't try to run the test against uninstalled libtool libs
14020     if $PKG_CONFIG --uninstalled $pkg_config_args; then
14021           echo "Will use uninstalled version of GLib found in PKG_CONFIG_PATH"
14022           enable_glibtest=no
14023     fi
14024
14025     if $PKG_CONFIG --atleast-version $min_glib_version $pkg_config_args; then
14026           :
14027     else
14028           no_glib=yes
14029     fi
14030   fi
14031
14032   if test x"$no_glib" = x ; then
14033     GLIB_GENMARSHAL=`$PKG_CONFIG --variable=glib_genmarshal glib-2.0`
14034     GOBJECT_QUERY=`$PKG_CONFIG --variable=gobject_query glib-2.0`
14035     GLIB_MKENUMS=`$PKG_CONFIG --variable=glib_mkenums glib-2.0`
14036     GLIB_COMPILE_RESOURCES=`$PKG_CONFIG --variable=glib_compile_resources gio-2.0`
14037
14038     GLIB_CFLAGS=`$PKG_CONFIG --cflags $pkg_config_args`
14039     GLIB_LIBS=`$PKG_CONFIG --libs $pkg_config_args`
14040     glib_config_major_version=`$PKG_CONFIG --modversion glib-2.0 | \
14041            sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\1/'`
14042     glib_config_minor_version=`$PKG_CONFIG --modversion glib-2.0 | \
14043            sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\2/'`
14044     glib_config_micro_version=`$PKG_CONFIG --modversion glib-2.0 | \
14045            sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\3/'`
14046     if test "x$enable_glibtest" = "xyes" ; then
14047       ac_save_CFLAGS="$CFLAGS"
14048       ac_save_LIBS="$LIBS"
14049       CFLAGS="$CFLAGS $GLIB_CFLAGS"
14050       LIBS="$GLIB_LIBS $LIBS"
14051       rm -f conf.glibtest
14052       if test "$cross_compiling" = yes; then :
14053   echo $ac_n "cross compiling; assumed OK... $ac_c"
14054 else
14055   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14056 /* end confdefs.h.  */
14057
14058 #include <glib.h>
14059 #include <stdio.h>
14060 #include <stdlib.h>
14061
14062 int
14063 main ()
14064 {
14065   unsigned int major, minor, micro;
14066   char *tmp_version;
14067
14068   fclose (fopen ("conf.glibtest", "w"));
14069
14070   /* HP/UX 9 (%@#!) writes to sscanf strings */
14071   tmp_version = g_strdup("$min_glib_version");
14072   if (sscanf(tmp_version, "%u.%u.%u", &major, &minor, &micro) != 3) {
14073      printf("%s, bad version string\n", "$min_glib_version");
14074      exit(1);
14075    }
14076
14077   if ((glib_major_version != $glib_config_major_version) ||
14078       (glib_minor_version != $glib_config_minor_version) ||
14079       (glib_micro_version != $glib_config_micro_version))
14080     {
14081       printf("\n*** 'pkg-config --modversion glib-2.0' returned %d.%d.%d, but GLIB (%d.%d.%d)\n",
14082              $glib_config_major_version, $glib_config_minor_version, $glib_config_micro_version,
14083              glib_major_version, glib_minor_version, glib_micro_version);
14084       printf ("*** was found! If pkg-config was correct, then it is best\n");
14085       printf ("*** to remove the old version of GLib. You may also be able to fix the error\n");
14086       printf("*** by modifying your LD_LIBRARY_PATH enviroment variable, or by editing\n");
14087       printf("*** /etc/ld.so.conf. Make sure you have run ldconfig if that is\n");
14088       printf("*** required on your system.\n");
14089       printf("*** If pkg-config was wrong, set the environment variable PKG_CONFIG_PATH\n");
14090       printf("*** to point to the correct configuration files\n");
14091     }
14092   else if ((glib_major_version != GLIB_MAJOR_VERSION) ||
14093            (glib_minor_version != GLIB_MINOR_VERSION) ||
14094            (glib_micro_version != GLIB_MICRO_VERSION))
14095     {
14096       printf("*** GLIB header files (version %d.%d.%d) do not match\n",
14097              GLIB_MAJOR_VERSION, GLIB_MINOR_VERSION, GLIB_MICRO_VERSION);
14098       printf("*** library (version %d.%d.%d)\n",
14099              glib_major_version, glib_minor_version, glib_micro_version);
14100     }
14101   else
14102     {
14103       if ((glib_major_version > major) ||
14104         ((glib_major_version == major) && (glib_minor_version > minor)) ||
14105         ((glib_major_version == major) && (glib_minor_version == minor) && (glib_micro_version >= micro)))
14106       {
14107         return 0;
14108        }
14109      else
14110       {
14111         printf("\n*** An old version of GLIB (%u.%u.%u) was found.\n",
14112                glib_major_version, glib_minor_version, glib_micro_version);
14113         printf("*** You need a version of GLIB newer than %u.%u.%u. The latest version of\n",
14114                major, minor, micro);
14115         printf("*** GLIB is always available from ftp://ftp.gtk.org.\n");
14116         printf("***\n");
14117         printf("*** If you have already installed a sufficiently new version, this error\n");
14118         printf("*** probably means that the wrong copy of the pkg-config shell script is\n");
14119         printf("*** being found. The easiest way to fix this is to remove the old version\n");
14120         printf("*** of GLIB, but you can also set the PKG_CONFIG environment to point to the\n");
14121         printf("*** correct copy of pkg-config. (In this case, you will have to\n");
14122         printf("*** modify your LD_LIBRARY_PATH enviroment variable, or edit /etc/ld.so.conf\n");
14123         printf("*** so that the correct libraries are found at run-time))\n");
14124       }
14125     }
14126   return 1;
14127 }
14128
14129 _ACEOF
14130 if ac_fn_c_try_run "$LINENO"; then :
14131
14132 else
14133   no_glib=yes
14134 fi
14135 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
14136   conftest.$ac_objext conftest.beam conftest.$ac_ext
14137 fi
14138
14139        CFLAGS="$ac_save_CFLAGS"
14140        LIBS="$ac_save_LIBS"
14141      fi
14142   fi
14143   if test "x$no_glib" = x ; then
14144      { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes (version $glib_config_major_version.$glib_config_minor_version.$glib_config_micro_version)" >&5
14145 $as_echo "yes (version $glib_config_major_version.$glib_config_minor_version.$glib_config_micro_version)" >&6; }
14146      :
14147   else
14148      { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
14149 $as_echo "no" >&6; }
14150      if test "$PKG_CONFIG" = "no" ; then
14151        echo "*** A new enough version of pkg-config was not found."
14152        echo "*** See http://www.freedesktop.org/software/pkgconfig/"
14153      else
14154        if test -f conf.glibtest ; then
14155         :
14156        else
14157           echo "*** Could not run GLIB test program, checking why..."
14158           ac_save_CFLAGS="$CFLAGS"
14159           ac_save_LIBS="$LIBS"
14160           CFLAGS="$CFLAGS $GLIB_CFLAGS"
14161           LIBS="$LIBS $GLIB_LIBS"
14162           cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14163 /* end confdefs.h.  */
14164
14165 #include <glib.h>
14166 #include <stdio.h>
14167
14168 int
14169 main ()
14170 {
14171  return ((glib_major_version) || (glib_minor_version) || (glib_micro_version));
14172   ;
14173   return 0;
14174 }
14175 _ACEOF
14176 if ac_fn_c_try_link "$LINENO"; then :
14177    echo "*** The test program compiled, but did not run. This usually means"
14178           echo "*** that the run-time linker is not finding GLIB or finding the wrong"
14179           echo "*** version of GLIB. If it is not finding GLIB, you'll need to set your"
14180           echo "*** LD_LIBRARY_PATH environment variable, or edit /etc/ld.so.conf to point"
14181           echo "*** to the installed location  Also, make sure you have run ldconfig if that"
14182           echo "*** is required on your system"
14183           echo "***"
14184           echo "*** If you have an old version installed, it is best to remove it, although"
14185           echo "*** you may also be able to get things to work by modifying LD_LIBRARY_PATH"
14186 else
14187    echo "*** The test program failed to compile or link. See the file config.log for the"
14188           echo "*** exact error that occured. This usually means GLIB is incorrectly installed."
14189 fi
14190 rm -f core conftest.err conftest.$ac_objext \
14191     conftest$ac_exeext conftest.$ac_ext
14192           CFLAGS="$ac_save_CFLAGS"
14193           LIBS="$ac_save_LIBS"
14194        fi
14195      fi
14196      GLIB_CFLAGS=""
14197      GLIB_LIBS=""
14198      GLIB_GENMARSHAL=""
14199      GOBJECT_QUERY=""
14200      GLIB_MKENUMS=""
14201      GLIB_COMPILE_RESOURCES=""
14202      as_fn_error $? "maybe you want the pygobject-2-4 branch?" "$LINENO" 5
14203   fi
14204
14205
14206
14207
14208
14209
14210   rm -f conf.glibtest
14211
14212 if test -n "$export_dynamic"; then
14213   GLIB_LIBS=`echo $GLIB_LIBS | sed -e "s/$export_dynamic//"`
14214 fi
14215 PYTHON_BASENAME=`basename $PYTHON`
14216
14217
14218
14219   EXP_VAR=DATADIR
14220   FROM_VAR=$datadir
14221
14222     prefix_save=$prefix
14223   exec_prefix_save=$exec_prefix
14224
14225     if test "x$prefix" = "xNONE"; then
14226     prefix=$ac_default_prefix
14227   fi
14228     if test "x$exec_prefix" = "xNONE"; then
14229     exec_prefix=$prefix
14230   fi
14231
14232   full_var="$FROM_VAR"
14233     while true; do
14234     new_full_var="`eval echo $full_var`"
14235     if test "x$new_full_var"="x$full_var"; then break; fi
14236     full_var=$new_full_var
14237   done
14238
14239     full_var=$new_full_var
14240   DATADIR="$full_var"
14241
14242
14243     prefix=$prefix_save
14244   exec_prefix=$exec_prefix_save
14245
14246
14247 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ffi" >&5
14248 $as_echo_n "checking for ffi... " >&6; }
14249
14250 # Check whether --with-ffi was given.
14251 if test "${with_ffi+set}" = set; then :
14252   withval=$with_ffi; with_libffi=$withval
14253 else
14254   with_libffi=auto
14255 fi
14256
14257 if test x"$with_libffi" = xno ; then
14258   have_libffi=false
14259 else
14260
14261 pkg_failed=no
14262 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for FFI" >&5
14263 $as_echo_n "checking for FFI... " >&6; }
14264
14265 if test -n "$FFI_CFLAGS"; then
14266     pkg_cv_FFI_CFLAGS="$FFI_CFLAGS"
14267  elif test -n "$PKG_CONFIG"; then
14268     if test -n "$PKG_CONFIG" && \
14269     { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"libffi >= 3.0\""; } >&5
14270   ($PKG_CONFIG --exists --print-errors "libffi >= 3.0") 2>&5
14271   ac_status=$?
14272   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
14273   test $ac_status = 0; }; then
14274   pkg_cv_FFI_CFLAGS=`$PKG_CONFIG --cflags "libffi >= 3.0" 2>/dev/null`
14275                       test "x$?" != "x0" && pkg_failed=yes
14276 else
14277   pkg_failed=yes
14278 fi
14279  else
14280     pkg_failed=untried
14281 fi
14282 if test -n "$FFI_LIBS"; then
14283     pkg_cv_FFI_LIBS="$FFI_LIBS"
14284  elif test -n "$PKG_CONFIG"; then
14285     if test -n "$PKG_CONFIG" && \
14286     { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"libffi >= 3.0\""; } >&5
14287   ($PKG_CONFIG --exists --print-errors "libffi >= 3.0") 2>&5
14288   ac_status=$?
14289   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
14290   test $ac_status = 0; }; then
14291   pkg_cv_FFI_LIBS=`$PKG_CONFIG --libs "libffi >= 3.0" 2>/dev/null`
14292                       test "x$?" != "x0" && pkg_failed=yes
14293 else
14294   pkg_failed=yes
14295 fi
14296  else
14297     pkg_failed=untried
14298 fi
14299
14300
14301
14302 if test $pkg_failed = yes; then
14303         { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
14304 $as_echo "no" >&6; }
14305
14306 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
14307         _pkg_short_errors_supported=yes
14308 else
14309         _pkg_short_errors_supported=no
14310 fi
14311         if test $_pkg_short_errors_supported = yes; then
14312                 FFI_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "libffi >= 3.0" 2>&1`
14313         else
14314                 FFI_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "libffi >= 3.0" 2>&1`
14315         fi
14316         # Put the nasty error message in config.log where it belongs
14317         echo "$FFI_PKG_ERRORS" >&5
14318
14319         have_libffi=no
14320 elif test $pkg_failed = untried; then
14321         { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
14322 $as_echo "no" >&6; }
14323         have_libffi=no
14324 else
14325         FFI_CFLAGS=$pkg_cv_FFI_CFLAGS
14326         FFI_LIBS=$pkg_cv_FFI_LIBS
14327         { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
14328 $as_echo "yes" >&6; }
14329         have_libffi=yes
14330 fi
14331 fi
14332 if test x"$with_libffi" = xyes && test x"$have_libffi" = xno ; then
14333   as_fn_error $? "ffi requested, but not found" "$LINENO" 5
14334 fi
14335 if test x"$have_libffi" = xyes; then
14336   LIBFFI_PC=libffi
14337 fi
14338  if test "$have_libffi" = "yes"; then
14339   HAVE_LIBFFI_TRUE=
14340   HAVE_LIBFFI_FALSE='#'
14341 else
14342   HAVE_LIBFFI_TRUE='#'
14343   HAVE_LIBFFI_FALSE=
14344 fi
14345
14346
14347
14348
14349
14350
14351 pkg_failed=no
14352 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GIO" >&5
14353 $as_echo_n "checking for GIO... " >&6; }
14354
14355 if test -n "$GIO_CFLAGS"; then
14356     pkg_cv_GIO_CFLAGS="$GIO_CFLAGS"
14357  elif test -n "$PKG_CONFIG"; then
14358     if test -n "$PKG_CONFIG" && \
14359     { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"gio-2.0 >= 2.34.2\""; } >&5
14360   ($PKG_CONFIG --exists --print-errors "gio-2.0 >= 2.34.2") 2>&5
14361   ac_status=$?
14362   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
14363   test $ac_status = 0; }; then
14364   pkg_cv_GIO_CFLAGS=`$PKG_CONFIG --cflags "gio-2.0 >= 2.34.2" 2>/dev/null`
14365                       test "x$?" != "x0" && pkg_failed=yes
14366 else
14367   pkg_failed=yes
14368 fi
14369  else
14370     pkg_failed=untried
14371 fi
14372 if test -n "$GIO_LIBS"; then
14373     pkg_cv_GIO_LIBS="$GIO_LIBS"
14374  elif test -n "$PKG_CONFIG"; then
14375     if test -n "$PKG_CONFIG" && \
14376     { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"gio-2.0 >= 2.34.2\""; } >&5
14377   ($PKG_CONFIG --exists --print-errors "gio-2.0 >= 2.34.2") 2>&5
14378   ac_status=$?
14379   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
14380   test $ac_status = 0; }; then
14381   pkg_cv_GIO_LIBS=`$PKG_CONFIG --libs "gio-2.0 >= 2.34.2" 2>/dev/null`
14382                       test "x$?" != "x0" && pkg_failed=yes
14383 else
14384   pkg_failed=yes
14385 fi
14386  else
14387     pkg_failed=untried
14388 fi
14389
14390
14391
14392 if test $pkg_failed = yes; then
14393         { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
14394 $as_echo "no" >&6; }
14395
14396 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
14397         _pkg_short_errors_supported=yes
14398 else
14399         _pkg_short_errors_supported=no
14400 fi
14401         if test $_pkg_short_errors_supported = yes; then
14402                 GIO_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "gio-2.0 >= 2.34.2" 2>&1`
14403         else
14404                 GIO_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "gio-2.0 >= 2.34.2" 2>&1`
14405         fi
14406         # Put the nasty error message in config.log where it belongs
14407         echo "$GIO_PKG_ERRORS" >&5
14408
14409         as_fn_error $? "Package requirements (gio-2.0 >= 2.34.2) were not met:
14410
14411 $GIO_PKG_ERRORS
14412
14413 Consider adjusting the PKG_CONFIG_PATH environment variable if you
14414 installed software in a non-standard prefix.
14415
14416 Alternatively, you may set the environment variables GIO_CFLAGS
14417 and GIO_LIBS to avoid the need to call pkg-config.
14418 See the pkg-config man page for more details." "$LINENO" 5
14419 elif test $pkg_failed = untried; then
14420         { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
14421 $as_echo "no" >&6; }
14422         { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
14423 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
14424 as_fn_error $? "The pkg-config script could not be found or is too old.  Make sure it
14425 is in your PATH or set the PKG_CONFIG environment variable to the full
14426 path to pkg-config.
14427
14428 Alternatively, you may set the environment variables GIO_CFLAGS
14429 and GIO_LIBS to avoid the need to call pkg-config.
14430 See the pkg-config man page for more details.
14431
14432 To get pkg-config, see <http://pkg-config.freedesktop.org/>.
14433 See \`config.log' for more details" "$LINENO" 5; }
14434 else
14435         GIO_CFLAGS=$pkg_cv_GIO_CFLAGS
14436         GIO_LIBS=$pkg_cv_GIO_LIBS
14437         { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
14438 $as_echo "yes" >&6; }
14439
14440 fi
14441
14442 # Check whether --enable-cairo was given.
14443 if test "${enable_cairo+set}" = set; then :
14444   enableval=$enable_cairo; enable_cairo=$enableval
14445 else
14446   enable_cairo=yes
14447 fi
14448
14449
14450
14451 pkg_failed=no
14452 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GI" >&5
14453 $as_echo_n "checking for GI... " >&6; }
14454
14455 if test -n "$GI_CFLAGS"; then
14456     pkg_cv_GI_CFLAGS="$GI_CFLAGS"
14457  elif test -n "$PKG_CONFIG"; then
14458     if test -n "$PKG_CONFIG" && \
14459     { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"glib-2.0 >= 2.34.2
14460     gobject-introspection-1.0 >= 1.34.2
14461 \""; } >&5
14462   ($PKG_CONFIG --exists --print-errors "glib-2.0 >= 2.34.2
14463     gobject-introspection-1.0 >= 1.34.2
14464 ") 2>&5
14465   ac_status=$?
14466   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
14467   test $ac_status = 0; }; then
14468   pkg_cv_GI_CFLAGS=`$PKG_CONFIG --cflags "glib-2.0 >= 2.34.2
14469     gobject-introspection-1.0 >= 1.34.2
14470 " 2>/dev/null`
14471                       test "x$?" != "x0" && pkg_failed=yes
14472 else
14473   pkg_failed=yes
14474 fi
14475  else
14476     pkg_failed=untried
14477 fi
14478 if test -n "$GI_LIBS"; then
14479     pkg_cv_GI_LIBS="$GI_LIBS"
14480  elif test -n "$PKG_CONFIG"; then
14481     if test -n "$PKG_CONFIG" && \
14482     { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"glib-2.0 >= 2.34.2
14483     gobject-introspection-1.0 >= 1.34.2
14484 \""; } >&5
14485   ($PKG_CONFIG --exists --print-errors "glib-2.0 >= 2.34.2
14486     gobject-introspection-1.0 >= 1.34.2
14487 ") 2>&5
14488   ac_status=$?
14489   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
14490   test $ac_status = 0; }; then
14491   pkg_cv_GI_LIBS=`$PKG_CONFIG --libs "glib-2.0 >= 2.34.2
14492     gobject-introspection-1.0 >= 1.34.2
14493 " 2>/dev/null`
14494                       test "x$?" != "x0" && pkg_failed=yes
14495 else
14496   pkg_failed=yes
14497 fi
14498  else
14499     pkg_failed=untried
14500 fi
14501
14502
14503
14504 if test $pkg_failed = yes; then
14505         { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
14506 $as_echo "no" >&6; }
14507
14508 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
14509         _pkg_short_errors_supported=yes
14510 else
14511         _pkg_short_errors_supported=no
14512 fi
14513         if test $_pkg_short_errors_supported = yes; then
14514                 GI_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "glib-2.0 >= 2.34.2
14515     gobject-introspection-1.0 >= 1.34.2
14516 " 2>&1`
14517         else
14518                 GI_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "glib-2.0 >= 2.34.2
14519     gobject-introspection-1.0 >= 1.34.2
14520 " 2>&1`
14521         fi
14522         # Put the nasty error message in config.log where it belongs
14523         echo "$GI_PKG_ERRORS" >&5
14524
14525         as_fn_error $? "Package requirements (glib-2.0 >= 2.34.2
14526     gobject-introspection-1.0 >= 1.34.2
14527 ) were not met:
14528
14529 $GI_PKG_ERRORS
14530
14531 Consider adjusting the PKG_CONFIG_PATH environment variable if you
14532 installed software in a non-standard prefix.
14533
14534 Alternatively, you may set the environment variables GI_CFLAGS
14535 and GI_LIBS to avoid the need to call pkg-config.
14536 See the pkg-config man page for more details." "$LINENO" 5
14537 elif test $pkg_failed = untried; then
14538         { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
14539 $as_echo "no" >&6; }
14540         { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
14541 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
14542 as_fn_error $? "The pkg-config script could not be found or is too old.  Make sure it
14543 is in your PATH or set the PKG_CONFIG environment variable to the full
14544 path to pkg-config.
14545
14546 Alternatively, you may set the environment variables GI_CFLAGS
14547 and GI_LIBS to avoid the need to call pkg-config.
14548 See the pkg-config man page for more details.
14549
14550 To get pkg-config, see <http://pkg-config.freedesktop.org/>.
14551 See \`config.log' for more details" "$LINENO" 5; }
14552 else
14553         GI_CFLAGS=$pkg_cv_GI_CFLAGS
14554         GI_LIBS=$pkg_cv_GI_LIBS
14555         { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
14556 $as_echo "yes" >&6; }
14557
14558 fi
14559
14560 GI_DATADIR=$($PKG_CONFIG --variable=gidatadir gobject-introspection-1.0)
14561
14562
14563 if test "$enable_cairo" != no; then
14564
14565 pkg_failed=no
14566 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for CAIRO" >&5
14567 $as_echo_n "checking for CAIRO... " >&6; }
14568
14569 if test -n "$CAIRO_CFLAGS"; then
14570     pkg_cv_CAIRO_CFLAGS="$CAIRO_CFLAGS"
14571  elif test -n "$PKG_CONFIG"; then
14572     if test -n "$PKG_CONFIG" && \
14573     { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"cairo cairo-gobject\""; } >&5
14574   ($PKG_CONFIG --exists --print-errors "cairo cairo-gobject") 2>&5
14575   ac_status=$?
14576   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
14577   test $ac_status = 0; }; then
14578   pkg_cv_CAIRO_CFLAGS=`$PKG_CONFIG --cflags "cairo cairo-gobject" 2>/dev/null`
14579                       test "x$?" != "x0" && pkg_failed=yes
14580 else
14581   pkg_failed=yes
14582 fi
14583  else
14584     pkg_failed=untried
14585 fi
14586 if test -n "$CAIRO_LIBS"; then
14587     pkg_cv_CAIRO_LIBS="$CAIRO_LIBS"
14588  elif test -n "$PKG_CONFIG"; then
14589     if test -n "$PKG_CONFIG" && \
14590     { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"cairo cairo-gobject\""; } >&5
14591   ($PKG_CONFIG --exists --print-errors "cairo cairo-gobject") 2>&5
14592   ac_status=$?
14593   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
14594   test $ac_status = 0; }; then
14595   pkg_cv_CAIRO_LIBS=`$PKG_CONFIG --libs "cairo cairo-gobject" 2>/dev/null`
14596                       test "x$?" != "x0" && pkg_failed=yes
14597 else
14598   pkg_failed=yes
14599 fi
14600  else
14601     pkg_failed=untried
14602 fi
14603
14604
14605
14606 if test $pkg_failed = yes; then
14607         { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
14608 $as_echo "no" >&6; }
14609
14610 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
14611         _pkg_short_errors_supported=yes
14612 else
14613         _pkg_short_errors_supported=no
14614 fi
14615         if test $_pkg_short_errors_supported = yes; then
14616                 CAIRO_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "cairo cairo-gobject" 2>&1`
14617         else
14618                 CAIRO_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "cairo cairo-gobject" 2>&1`
14619         fi
14620         # Put the nasty error message in config.log where it belongs
14621         echo "$CAIRO_PKG_ERRORS" >&5
14622
14623         as_fn_error $? "Package requirements (cairo cairo-gobject) were not met:
14624
14625 $CAIRO_PKG_ERRORS
14626
14627 Consider adjusting the PKG_CONFIG_PATH environment variable if you
14628 installed software in a non-standard prefix.
14629
14630 Alternatively, you may set the environment variables CAIRO_CFLAGS
14631 and CAIRO_LIBS to avoid the need to call pkg-config.
14632 See the pkg-config man page for more details." "$LINENO" 5
14633 elif test $pkg_failed = untried; then
14634         { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
14635 $as_echo "no" >&6; }
14636         { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
14637 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
14638 as_fn_error $? "The pkg-config script could not be found or is too old.  Make sure it
14639 is in your PATH or set the PKG_CONFIG environment variable to the full
14640 path to pkg-config.
14641
14642 Alternatively, you may set the environment variables CAIRO_CFLAGS
14643 and CAIRO_LIBS to avoid the need to call pkg-config.
14644 See the pkg-config man page for more details.
14645
14646 To get pkg-config, see <http://pkg-config.freedesktop.org/>.
14647 See \`config.log' for more details" "$LINENO" 5; }
14648 else
14649         CAIRO_CFLAGS=$pkg_cv_CAIRO_CFLAGS
14650         CAIRO_LIBS=$pkg_cv_CAIRO_LIBS
14651         { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
14652 $as_echo "yes" >&6; }
14653
14654 fi
14655
14656     if test $build_py3k = true; then
14657
14658 pkg_failed=no
14659 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for PYCAIRO" >&5
14660 $as_echo_n "checking for PYCAIRO... " >&6; }
14661
14662 if test -n "$PYCAIRO_CFLAGS"; then
14663     pkg_cv_PYCAIRO_CFLAGS="$PYCAIRO_CFLAGS"
14664  elif test -n "$PKG_CONFIG"; then
14665     if test -n "$PKG_CONFIG" && \
14666     { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"py3cairo >= 1.10.0
14667         \""; } >&5
14668   ($PKG_CONFIG --exists --print-errors "py3cairo >= 1.10.0
14669         ") 2>&5
14670   ac_status=$?
14671   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
14672   test $ac_status = 0; }; then
14673   pkg_cv_PYCAIRO_CFLAGS=`$PKG_CONFIG --cflags "py3cairo >= 1.10.0
14674         " 2>/dev/null`
14675                       test "x$?" != "x0" && pkg_failed=yes
14676 else
14677   pkg_failed=yes
14678 fi
14679  else
14680     pkg_failed=untried
14681 fi
14682 if test -n "$PYCAIRO_LIBS"; then
14683     pkg_cv_PYCAIRO_LIBS="$PYCAIRO_LIBS"
14684  elif test -n "$PKG_CONFIG"; then
14685     if test -n "$PKG_CONFIG" && \
14686     { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"py3cairo >= 1.10.0
14687         \""; } >&5
14688   ($PKG_CONFIG --exists --print-errors "py3cairo >= 1.10.0
14689         ") 2>&5
14690   ac_status=$?
14691   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
14692   test $ac_status = 0; }; then
14693   pkg_cv_PYCAIRO_LIBS=`$PKG_CONFIG --libs "py3cairo >= 1.10.0
14694         " 2>/dev/null`
14695                       test "x$?" != "x0" && pkg_failed=yes
14696 else
14697   pkg_failed=yes
14698 fi
14699  else
14700     pkg_failed=untried
14701 fi
14702
14703
14704
14705 if test $pkg_failed = yes; then
14706         { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
14707 $as_echo "no" >&6; }
14708
14709 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
14710         _pkg_short_errors_supported=yes
14711 else
14712         _pkg_short_errors_supported=no
14713 fi
14714         if test $_pkg_short_errors_supported = yes; then
14715                 PYCAIRO_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "py3cairo >= 1.10.0
14716         " 2>&1`
14717         else
14718                 PYCAIRO_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "py3cairo >= 1.10.0
14719         " 2>&1`
14720         fi
14721         # Put the nasty error message in config.log where it belongs
14722         echo "$PYCAIRO_PKG_ERRORS" >&5
14723
14724         as_fn_error $? "Package requirements (py3cairo >= 1.10.0
14725         ) were not met:
14726
14727 $PYCAIRO_PKG_ERRORS
14728
14729 Consider adjusting the PKG_CONFIG_PATH environment variable if you
14730 installed software in a non-standard prefix.
14731
14732 Alternatively, you may set the environment variables PYCAIRO_CFLAGS
14733 and PYCAIRO_LIBS to avoid the need to call pkg-config.
14734 See the pkg-config man page for more details." "$LINENO" 5
14735 elif test $pkg_failed = untried; then
14736         { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
14737 $as_echo "no" >&6; }
14738         { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
14739 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
14740 as_fn_error $? "The pkg-config script could not be found or is too old.  Make sure it
14741 is in your PATH or set the PKG_CONFIG environment variable to the full
14742 path to pkg-config.
14743
14744 Alternatively, you may set the environment variables PYCAIRO_CFLAGS
14745 and PYCAIRO_LIBS to avoid the need to call pkg-config.
14746 See the pkg-config man page for more details.
14747
14748 To get pkg-config, see <http://pkg-config.freedesktop.org/>.
14749 See \`config.log' for more details" "$LINENO" 5; }
14750 else
14751         PYCAIRO_CFLAGS=$pkg_cv_PYCAIRO_CFLAGS
14752         PYCAIRO_LIBS=$pkg_cv_PYCAIRO_LIBS
14753         { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
14754 $as_echo "yes" >&6; }
14755
14756 fi
14757     else
14758
14759 pkg_failed=no
14760 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for PYCAIRO" >&5
14761 $as_echo_n "checking for PYCAIRO... " >&6; }
14762
14763 if test -n "$PYCAIRO_CFLAGS"; then
14764     pkg_cv_PYCAIRO_CFLAGS="$PYCAIRO_CFLAGS"
14765  elif test -n "$PKG_CONFIG"; then
14766     if test -n "$PKG_CONFIG" && \
14767     { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"pycairo >= 1.2.0
14768         \""; } >&5
14769   ($PKG_CONFIG --exists --print-errors "pycairo >= 1.2.0
14770         ") 2>&5
14771   ac_status=$?
14772   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
14773   test $ac_status = 0; }; then
14774   pkg_cv_PYCAIRO_CFLAGS=`$PKG_CONFIG --cflags "pycairo >= 1.2.0
14775         " 2>/dev/null`
14776                       test "x$?" != "x0" && pkg_failed=yes
14777 else
14778   pkg_failed=yes
14779 fi
14780  else
14781     pkg_failed=untried
14782 fi
14783 if test -n "$PYCAIRO_LIBS"; then
14784     pkg_cv_PYCAIRO_LIBS="$PYCAIRO_LIBS"
14785  elif test -n "$PKG_CONFIG"; then
14786     if test -n "$PKG_CONFIG" && \
14787     { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"pycairo >= 1.2.0
14788         \""; } >&5
14789   ($PKG_CONFIG --exists --print-errors "pycairo >= 1.2.0
14790         ") 2>&5
14791   ac_status=$?
14792   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
14793   test $ac_status = 0; }; then
14794   pkg_cv_PYCAIRO_LIBS=`$PKG_CONFIG --libs "pycairo >= 1.2.0
14795         " 2>/dev/null`
14796                       test "x$?" != "x0" && pkg_failed=yes
14797 else
14798   pkg_failed=yes
14799 fi
14800  else
14801     pkg_failed=untried
14802 fi
14803
14804
14805
14806 if test $pkg_failed = yes; then
14807         { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
14808 $as_echo "no" >&6; }
14809
14810 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
14811         _pkg_short_errors_supported=yes
14812 else
14813         _pkg_short_errors_supported=no
14814 fi
14815         if test $_pkg_short_errors_supported = yes; then
14816                 PYCAIRO_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "pycairo >= 1.2.0
14817         " 2>&1`
14818         else
14819                 PYCAIRO_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "pycairo >= 1.2.0
14820         " 2>&1`
14821         fi
14822         # Put the nasty error message in config.log where it belongs
14823         echo "$PYCAIRO_PKG_ERRORS" >&5
14824
14825         as_fn_error $? "Package requirements (pycairo >= 1.2.0
14826         ) were not met:
14827
14828 $PYCAIRO_PKG_ERRORS
14829
14830 Consider adjusting the PKG_CONFIG_PATH environment variable if you
14831 installed software in a non-standard prefix.
14832
14833 Alternatively, you may set the environment variables PYCAIRO_CFLAGS
14834 and PYCAIRO_LIBS to avoid the need to call pkg-config.
14835 See the pkg-config man page for more details." "$LINENO" 5
14836 elif test $pkg_failed = untried; then
14837         { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
14838 $as_echo "no" >&6; }
14839         { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
14840 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
14841 as_fn_error $? "The pkg-config script could not be found or is too old.  Make sure it
14842 is in your PATH or set the PKG_CONFIG environment variable to the full
14843 path to pkg-config.
14844
14845 Alternatively, you may set the environment variables PYCAIRO_CFLAGS
14846 and PYCAIRO_LIBS to avoid the need to call pkg-config.
14847 See the pkg-config man page for more details.
14848
14849 To get pkg-config, see <http://pkg-config.freedesktop.org/>.
14850 See \`config.log' for more details" "$LINENO" 5; }
14851 else
14852         PYCAIRO_CFLAGS=$pkg_cv_PYCAIRO_CFLAGS
14853         PYCAIRO_LIBS=$pkg_cv_PYCAIRO_LIBS
14854         { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
14855 $as_echo "yes" >&6; }
14856
14857 fi
14858     fi
14859 fi
14860  if test "$enable_cairo" = "yes"; then
14861   ENABLE_CAIRO_TRUE=
14862   ENABLE_CAIRO_FALSE='#'
14863 else
14864   ENABLE_CAIRO_TRUE='#'
14865   ENABLE_CAIRO_FALSE=
14866 fi
14867
14868
14869 INTROSPECTION_SCANNER=`$PKG_CONFIG --variable=g_ir_scanner gobject-introspection-1.0`
14870 INTROSPECTION_COMPILER=`$PKG_CONFIG --variable=g_ir_compiler gobject-introspection-1.0`
14871
14872
14873
14874
14875 if test "x$GCC" = "xyes"; then
14876
14877 case " $CFLAGS " in
14878 *[\     \ ]-Wall[\      \ ]*)
14879   ;;
14880 *)
14881   save_CFLAGS="$CFLAGS"
14882   CFLAGS="$CFLAGS -Wall"
14883   { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC understands -Wall" >&5
14884 $as_echo_n "checking whether $CC understands -Wall... " >&6; }
14885   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14886 /* end confdefs.h.  */
14887
14888 int
14889 main ()
14890 {
14891
14892   ;
14893   return 0;
14894 }
14895 _ACEOF
14896 if ac_fn_c_try_compile "$LINENO"; then :
14897   jh_has_option=yes
14898 else
14899   jh_has_option=no
14900 fi
14901 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
14902   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $jh_has_option" >&5
14903 $as_echo "$jh_has_option" >&6; }
14904   if test $jh_has_option = no; then
14905     CFLAGS="$save_CFLAGS"
14906   fi
14907   ;;
14908 esac
14909   #JH_ADD_CFLAG([-Werror=missing-prototypes])
14910
14911 case " $CFLAGS " in
14912 *[\     \ ]-Werror=implicit-function-declaration[\      \ ]*)
14913   ;;
14914 *)
14915   save_CFLAGS="$CFLAGS"
14916   CFLAGS="$CFLAGS -Werror=implicit-function-declaration"
14917   { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC understands -Werror=implicit-function-declaration" >&5
14918 $as_echo_n "checking whether $CC understands -Werror=implicit-function-declaration... " >&6; }
14919   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14920 /* end confdefs.h.  */
14921
14922 int
14923 main ()
14924 {
14925
14926   ;
14927   return 0;
14928 }
14929 _ACEOF
14930 if ac_fn_c_try_compile "$LINENO"; then :
14931   jh_has_option=yes
14932 else
14933   jh_has_option=no
14934 fi
14935 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
14936   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $jh_has_option" >&5
14937 $as_echo "$jh_has_option" >&6; }
14938   if test $jh_has_option = no; then
14939     CFLAGS="$save_CFLAGS"
14940   fi
14941   ;;
14942 esac
14943
14944 case " $CFLAGS " in
14945 *[\     \ ]-Werror=pointer-arith[\      \ ]*)
14946   ;;
14947 *)
14948   save_CFLAGS="$CFLAGS"
14949   CFLAGS="$CFLAGS -Werror=pointer-arith"
14950   { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC understands -Werror=pointer-arith" >&5
14951 $as_echo_n "checking whether $CC understands -Werror=pointer-arith... " >&6; }
14952   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14953 /* end confdefs.h.  */
14954
14955 int
14956 main ()
14957 {
14958
14959   ;
14960   return 0;
14961 }
14962 _ACEOF
14963 if ac_fn_c_try_compile "$LINENO"; then :
14964   jh_has_option=yes
14965 else
14966   jh_has_option=no
14967 fi
14968 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
14969   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $jh_has_option" >&5
14970 $as_echo "$jh_has_option" >&6; }
14971   if test $jh_has_option = no; then
14972     CFLAGS="$save_CFLAGS"
14973   fi
14974   ;;
14975 esac
14976
14977 case " $CFLAGS " in
14978 *[\     \ ]-Werror=format-security[\    \ ]*)
14979   ;;
14980 *)
14981   save_CFLAGS="$CFLAGS"
14982   CFLAGS="$CFLAGS -Werror=format-security"
14983   { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC understands -Werror=format-security" >&5
14984 $as_echo_n "checking whether $CC understands -Werror=format-security... " >&6; }
14985   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14986 /* end confdefs.h.  */
14987
14988 int
14989 main ()
14990 {
14991
14992   ;
14993   return 0;
14994 }
14995 _ACEOF
14996 if ac_fn_c_try_compile "$LINENO"; then :
14997   jh_has_option=yes
14998 else
14999   jh_has_option=no
15000 fi
15001 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15002   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $jh_has_option" >&5
15003 $as_echo "$jh_has_option" >&6; }
15004   if test $jh_has_option = no; then
15005     CFLAGS="$save_CFLAGS"
15006   fi
15007   ;;
15008 esac
15009
15010 case " $CFLAGS " in
15011 *[\     \ ]-Werror=missing-include-dirs[\       \ ]*)
15012   ;;
15013 *)
15014   save_CFLAGS="$CFLAGS"
15015   CFLAGS="$CFLAGS -Werror=missing-include-dirs"
15016   { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC understands -Werror=missing-include-dirs" >&5
15017 $as_echo_n "checking whether $CC understands -Werror=missing-include-dirs... " >&6; }
15018   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15019 /* end confdefs.h.  */
15020
15021 int
15022 main ()
15023 {
15024
15025   ;
15026   return 0;
15027 }
15028 _ACEOF
15029 if ac_fn_c_try_compile "$LINENO"; then :
15030   jh_has_option=yes
15031 else
15032   jh_has_option=no
15033 fi
15034 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15035   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $jh_has_option" >&5
15036 $as_echo "$jh_has_option" >&6; }
15037   if test $jh_has_option = no; then
15038     CFLAGS="$save_CFLAGS"
15039   fi
15040   ;;
15041 esac
15042
15043 case " $CFLAGS " in
15044 *[\     \ ]-Werror=format[\     \ ]*)
15045   ;;
15046 *)
15047   save_CFLAGS="$CFLAGS"
15048   CFLAGS="$CFLAGS -Werror=format"
15049   { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC understands -Werror=format" >&5
15050 $as_echo_n "checking whether $CC understands -Werror=format... " >&6; }
15051   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15052 /* end confdefs.h.  */
15053
15054 int
15055 main ()
15056 {
15057
15058   ;
15059   return 0;
15060 }
15061 _ACEOF
15062 if ac_fn_c_try_compile "$LINENO"; then :
15063   jh_has_option=yes
15064 else
15065   jh_has_option=no
15066 fi
15067 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15068   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $jh_has_option" >&5
15069 $as_echo "$jh_has_option" >&6; }
15070   if test $jh_has_option = no; then
15071     CFLAGS="$save_CFLAGS"
15072   fi
15073   ;;
15074 esac
15075
15076 case " $CFLAGS " in
15077 *[\     \ ]-Werror=unused-variable[\    \ ]*)
15078   ;;
15079 *)
15080   save_CFLAGS="$CFLAGS"
15081   CFLAGS="$CFLAGS -Werror=unused-variable"
15082   { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC understands -Werror=unused-variable" >&5
15083 $as_echo_n "checking whether $CC understands -Werror=unused-variable... " >&6; }
15084   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15085 /* end confdefs.h.  */
15086
15087 int
15088 main ()
15089 {
15090
15091   ;
15092   return 0;
15093 }
15094 _ACEOF
15095 if ac_fn_c_try_compile "$LINENO"; then :
15096   jh_has_option=yes
15097 else
15098   jh_has_option=no
15099 fi
15100 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15101   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $jh_has_option" >&5
15102 $as_echo "$jh_has_option" >&6; }
15103   if test $jh_has_option = no; then
15104     CFLAGS="$save_CFLAGS"
15105   fi
15106   ;;
15107 esac
15108
15109 case " $CFLAGS " in
15110 *[\     \ ]-fno-strict-aliasing[\       \ ]*)
15111   ;;
15112 *)
15113   save_CFLAGS="$CFLAGS"
15114   CFLAGS="$CFLAGS -fno-strict-aliasing"
15115   { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC understands -fno-strict-aliasing" >&5
15116 $as_echo_n "checking whether $CC understands -fno-strict-aliasing... " >&6; }
15117   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15118 /* end confdefs.h.  */
15119
15120 int
15121 main ()
15122 {
15123
15124   ;
15125   return 0;
15126 }
15127 _ACEOF
15128 if ac_fn_c_try_compile "$LINENO"; then :
15129   jh_has_option=yes
15130 else
15131   jh_has_option=no
15132 fi
15133 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15134   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $jh_has_option" >&5
15135 $as_echo "$jh_has_option" >&6; }
15136   if test $jh_has_option = no; then
15137     CFLAGS="$save_CFLAGS"
15138   fi
15139   ;;
15140 esac
15141
15142   case $host_os in
15143   solaris*)
15144     ;;
15145   *)
15146
15147 case " $CFLAGS " in
15148 *[\     \ ]-std=c9x[\   \ ]*)
15149   ;;
15150 *)
15151   save_CFLAGS="$CFLAGS"
15152   CFLAGS="$CFLAGS -std=c9x"
15153   { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC understands -std=c9x" >&5
15154 $as_echo_n "checking whether $CC understands -std=c9x... " >&6; }
15155   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15156 /* end confdefs.h.  */
15157
15158 int
15159 main ()
15160 {
15161
15162   ;
15163   return 0;
15164 }
15165 _ACEOF
15166 if ac_fn_c_try_compile "$LINENO"; then :
15167   jh_has_option=yes
15168 else
15169   jh_has_option=no
15170 fi
15171 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15172   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $jh_has_option" >&5
15173 $as_echo "$jh_has_option" >&6; }
15174   if test $jh_has_option = no; then
15175     CFLAGS="$save_CFLAGS"
15176   fi
15177   ;;
15178 esac
15179     ;;
15180   esac
15181
15182 fi
15183
15184 # enable code coverage support
15185
15186                 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build with code coverage support" >&5
15187 $as_echo_n "checking whether to build with code coverage support... " >&6; }
15188         # Check whether --enable-code-coverage was given.
15189 if test "${enable_code_coverage+set}" = set; then :
15190   enableval=$enable_code_coverage;
15191 else
15192   enable_code_coverage=no
15193 fi
15194
15195          if test x$enable_code_coverage = xyes; then
15196   CODE_COVERAGE_ENABLED_TRUE=
15197   CODE_COVERAGE_ENABLED_FALSE='#'
15198 else
15199   CODE_COVERAGE_ENABLED_TRUE='#'
15200   CODE_COVERAGE_ENABLED_FALSE=
15201 fi
15202
15203         CODE_COVERAGE_ENABLED=$enable_code_coverage
15204
15205         { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_code_coverage" >&5
15206 $as_echo "$enable_code_coverage" >&6; }
15207
15208         if  test "$enable_code_coverage" = "yes" ; then :
15209
15210                                 if  test "$GCC" = "no" ; then :
15211
15212                         as_fn_error $? "not compiling with gcc, which is required for gcov code coverage" "$LINENO" 5
15213
15214 fi
15215
15216                 # List of supported lcov versions.
15217                 lcov_version_list="1.6 1.7 1.8 1.9"
15218
15219                 # Extract the first word of "lcov", so it can be a program name with args.
15220 set dummy lcov; ac_word=$2
15221 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
15222 $as_echo_n "checking for $ac_word... " >&6; }
15223 if ${ac_cv_prog_LCOV+:} false; then :
15224   $as_echo_n "(cached) " >&6
15225 else
15226   if test -n "$LCOV"; then
15227   ac_cv_prog_LCOV="$LCOV" # Let the user override the test.
15228 else
15229 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
15230 for as_dir in $PATH
15231 do
15232   IFS=$as_save_IFS
15233   test -z "$as_dir" && as_dir=.
15234     for ac_exec_ext in '' $ac_executable_extensions; do
15235   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
15236     ac_cv_prog_LCOV="lcov"
15237     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
15238     break 2
15239   fi
15240 done
15241   done
15242 IFS=$as_save_IFS
15243
15244 fi
15245 fi
15246 LCOV=$ac_cv_prog_LCOV
15247 if test -n "$LCOV"; then
15248   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LCOV" >&5
15249 $as_echo "$LCOV" >&6; }
15250 else
15251   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
15252 $as_echo "no" >&6; }
15253 fi
15254
15255
15256                 # Extract the first word of "genhtml", so it can be a program name with args.
15257 set dummy genhtml; ac_word=$2
15258 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
15259 $as_echo_n "checking for $ac_word... " >&6; }
15260 if ${ac_cv_prog_GENHTML+:} false; then :
15261   $as_echo_n "(cached) " >&6
15262 else
15263   if test -n "$GENHTML"; then
15264   ac_cv_prog_GENHTML="$GENHTML" # Let the user override the test.
15265 else
15266 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
15267 for as_dir in $PATH
15268 do
15269   IFS=$as_save_IFS
15270   test -z "$as_dir" && as_dir=.
15271     for ac_exec_ext in '' $ac_executable_extensions; do
15272   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
15273     ac_cv_prog_GENHTML="genhtml"
15274     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
15275     break 2
15276   fi
15277 done
15278   done
15279 IFS=$as_save_IFS
15280
15281 fi
15282 fi
15283 GENHTML=$ac_cv_prog_GENHTML
15284 if test -n "$GENHTML"; then
15285   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $GENHTML" >&5
15286 $as_echo "$GENHTML" >&6; }
15287 else
15288   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
15289 $as_echo "no" >&6; }
15290 fi
15291
15292
15293
15294                 if  test "$LCOV" ; then :
15295
15296                         { $as_echo "$as_me:${as_lineno-$LINENO}: checking for lcov version" >&5
15297 $as_echo_n "checking for lcov version... " >&6; }
15298 if ${gnome_cv_lcov_version+:} false; then :
15299   $as_echo_n "(cached) " >&6
15300 else
15301
15302                                 gnome_cv_lcov_version=invalid
15303                                 lcov_version=`$LCOV -v 2>/dev/null | $SED -e 's/^.* //'`
15304                                 for lcov_check_version in $lcov_version_list; do
15305                                         if test "$lcov_version" = "$lcov_check_version"; then
15306                                                 gnome_cv_lcov_version="$lcov_check_version (ok)"
15307                                         fi
15308                                 done
15309
15310 fi
15311 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gnome_cv_lcov_version" >&5
15312 $as_echo "$gnome_cv_lcov_version" >&6; }
15313
15314 else
15315
15316                         lcov_msg="To enable code coverage reporting you must have one of the following lcov versions installed: $lcov_version_list"
15317                         as_fn_error $? "$lcov_msg" "$LINENO" 5
15318
15319 fi
15320
15321                 case $gnome_cv_lcov_version in
15322                         ""|invalid)
15323                                 lcov_msg="You must have one of the following versions of lcov: $lcov_version_list (found: $lcov_version)."
15324                                 as_fn_error $? "$lcov_msg" "$LINENO" 5
15325                                 LCOV="exit 0;"
15326                         ;;
15327                 esac
15328
15329                 if  test -z "$GENHTML" ; then :
15330
15331                         as_fn_error $? "Could not find genhtml from the lcov package" "$LINENO" 5
15332
15333 fi
15334
15335                                 CODE_COVERAGE_CFLAGS="-O0 -g -fprofile-arcs -ftest-coverage"
15336                 CODE_COVERAGE_LDFLAGS="-lgcov"
15337
15338
15339
15340
15341 fi
15342
15343 GNOME_CODE_COVERAGE_RULES='
15344 # Code coverage
15345 #
15346 # Optional:
15347 #  - CODE_COVERAGE_DIRECTORY: Top-level directory for code coverage reporting.
15348 #    (Default: $(top_builddir))
15349 #  - CODE_COVERAGE_OUTPUT_FILE: Filename and path for the .info file generated
15350 #    by lcov for code coverage. (Default:
15351 #    $(PACKAGE_NAME)-$(PACKAGE_VERSION)-coverage.info)
15352 #  - CODE_COVERAGE_OUTPUT_DIRECTORY: Directory for generated code coverage
15353 #    reports to be created. (Default:
15354 #    $(PACKAGE_NAME)-$(PACKAGE_VERSION)-coverage)
15355 #  - CODE_COVERAGE_LCOV_OPTIONS: Extra options to pass to the lcov instance.
15356 #    (Default: empty)
15357 #  - CODE_COVERAGE_GENHTML_OPTIONS: Extra options to pass to the genhtml
15358 #    instance. (Default: empty)
15359 #
15360 # The generated report will be titled using the $(PACKAGE_NAME) and
15361 # $(PACKAGE_VERSION). In order to add the current git hash to the title,
15362 # use the git-version-gen script, available online.
15363
15364 # Optional variables
15365 CODE_COVERAGE_DIRECTORY ?= $(top_builddir)
15366 CODE_COVERAGE_OUTPUT_FILE ?= $(PACKAGE_NAME)-$(PACKAGE_VERSION)-coverage.info
15367 CODE_COVERAGE_OUTPUT_DIRECTORY ?= $(PACKAGE_NAME)-$(PACKAGE_VERSION)-coverage
15368 CODE_COVERAGE_LCOV_OPTIONS ?=
15369 CODE_COVERAGE_GENHTML_OPTIONS ?=
15370
15371 # Use recursive makes in order to ignore errors during check
15372 check-code-coverage:
15373 ifdef CODE_COVERAGE_ENABLED
15374         -$(MAKE) $(AM_MAKEFLAGS) -k check
15375         $(MAKE) $(AM_MAKEFLAGS) code-coverage-capture
15376 else
15377         @echo "Need to reconfigure with --enable-code-coverage"
15378 endif
15379
15380 # Capture code coverage data
15381 code-coverage-capture: code-coverage-capture-hook
15382 ifdef CODE_COVERAGE_ENABLED
15383         $(LCOV) --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)
15384         $(LCOV) --directory $(CODE_COVERAGE_DIRECTORY) --remove "$(CODE_COVERAGE_OUTPUT_FILE).tmp" "/tmp/*" --output-file "$(CODE_COVERAGE_OUTPUT_FILE)"
15385         -rm -f $(CODE_COVERAGE_OUTPUT_FILE).tmp
15386         LANG=C $(GENHTML) --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)
15387         @echo "file://$(abs_builddir)/$(CODE_COVERAGE_OUTPUT_DIRECTORY)/index.html"
15388 else
15389         @echo "Need to reconfigure with --enable-code-coverage"
15390 endif
15391
15392 # Hook rule executed before code-coverage-capture, overridable by the user
15393 code-coverage-capture-hook:
15394
15395 clean: code-coverage-clean
15396 code-coverage-clean:
15397         -$(LCOV) --directory $(top_builddir) -z
15398         -rm -rf $(CODE_COVERAGE_OUTPUT_FILE) $(CODE_COVERAGE_OUTPUT_FILE).tmp $(CODE_COVERAGE_OUTPUT_DIRECTORY)
15399         -find . -name "*.gcda" -o -name "*.gcov" -delete
15400
15401 GITIGNOREFILES ?=
15402 GITIGNOREFILES += $(CODE_COVERAGE_OUTPUT_FILE) $(CODE_COVERAGE_OUTPUT_DIRECTORY)
15403
15404 DISTCHECK_CONFIGURE_FLAGS ?=
15405 DISTCHECK_CONFIGURE_FLAGS += --disable-code-coverage
15406
15407 .PHONY: check-code-coverage code-coverage-capture code-coverage-capture-hook code-coverage-clean
15408 '
15409
15410
15411
15412
15413 CFLAGS="$CFLAGS $CODE_COVERAGE_CFLAGS"
15414 LDFLAGS="$LDFLAGS $CODE_COVERAGE_CFLAGS"
15415
15416 ac_config_files="$ac_config_files Makefile pygobject-3.0.pc pygobject-3.0-uninstalled.pc gi/Makefile gi/repository/Makefile gi/overrides/Makefile gi/_glib/Makefile gi/_gobject/Makefile examples/Makefile tests/Makefile pygtkcompat/Makefile PKG-INFO"
15417
15418 cat >confcache <<\_ACEOF
15419 # This file is a shell script that caches the results of configure
15420 # tests run on this system so they can be shared between configure
15421 # scripts and configure runs, see configure's option --config-cache.
15422 # It is not useful on other systems.  If it contains results you don't
15423 # want to keep, you may remove or edit it.
15424 #
15425 # config.status only pays attention to the cache file if you give it
15426 # the --recheck option to rerun configure.
15427 #
15428 # `ac_cv_env_foo' variables (set or unset) will be overridden when
15429 # loading this file, other *unset* `ac_cv_foo' will be assigned the
15430 # following values.
15431
15432 _ACEOF
15433
15434 # The following way of writing the cache mishandles newlines in values,
15435 # but we know of no workaround that is simple, portable, and efficient.
15436 # So, we kill variables containing newlines.
15437 # Ultrix sh set writes to stderr and can't be redirected directly,
15438 # and sets the high bit in the cache file unless we assign to the vars.
15439 (
15440   for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
15441     eval ac_val=\$$ac_var
15442     case $ac_val in #(
15443     *${as_nl}*)
15444       case $ac_var in #(
15445       *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
15446 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
15447       esac
15448       case $ac_var in #(
15449       _ | IFS | as_nl) ;; #(
15450       BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
15451       *) { eval $ac_var=; unset $ac_var;} ;;
15452       esac ;;
15453     esac
15454   done
15455
15456   (set) 2>&1 |
15457     case $as_nl`(ac_space=' '; set) 2>&1` in #(
15458     *${as_nl}ac_space=\ *)
15459       # `set' does not quote correctly, so add quotes: double-quote
15460       # substitution turns \\\\ into \\, and sed turns \\ into \.
15461       sed -n \
15462         "s/'/'\\\\''/g;
15463           s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
15464       ;; #(
15465     *)
15466       # `set' quotes correctly as required by POSIX, so do not add quotes.
15467       sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
15468       ;;
15469     esac |
15470     sort
15471 ) |
15472   sed '
15473      /^ac_cv_env_/b end
15474      t clear
15475      :clear
15476      s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
15477      t end
15478      s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
15479      :end' >>confcache
15480 if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
15481   if test -w "$cache_file"; then
15482     if test "x$cache_file" != "x/dev/null"; then
15483       { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
15484 $as_echo "$as_me: updating cache $cache_file" >&6;}
15485       if test ! -f "$cache_file" || test -h "$cache_file"; then
15486         cat confcache >"$cache_file"
15487       else
15488         case $cache_file in #(
15489         */* | ?:*)
15490           mv -f confcache "$cache_file"$$ &&
15491           mv -f "$cache_file"$$ "$cache_file" ;; #(
15492         *)
15493           mv -f confcache "$cache_file" ;;
15494         esac
15495       fi
15496     fi
15497   else
15498     { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
15499 $as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
15500   fi
15501 fi
15502 rm -f confcache
15503
15504 test "x$prefix" = xNONE && prefix=$ac_default_prefix
15505 # Let make expand exec_prefix.
15506 test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
15507
15508 DEFS=-DHAVE_CONFIG_H
15509
15510 ac_libobjs=
15511 ac_ltlibobjs=
15512 U=
15513 for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
15514   # 1. Remove the extension, and $U if already installed.
15515   ac_script='s/\$U\././;s/\.o$//;s/\.obj$//'
15516   ac_i=`$as_echo "$ac_i" | sed "$ac_script"`
15517   # 2. Prepend LIBOBJDIR.  When used with automake>=1.10 LIBOBJDIR
15518   #    will be set to the directory where LIBOBJS objects are built.
15519   as_fn_append ac_libobjs " \${LIBOBJDIR}$ac_i\$U.$ac_objext"
15520   as_fn_append ac_ltlibobjs " \${LIBOBJDIR}$ac_i"'$U.lo'
15521 done
15522 LIBOBJS=$ac_libobjs
15523
15524 LTLIBOBJS=$ac_ltlibobjs
15525
15526
15527  if test -n "$EXEEXT"; then
15528   am__EXEEXT_TRUE=
15529   am__EXEEXT_FALSE='#'
15530 else
15531   am__EXEEXT_TRUE='#'
15532   am__EXEEXT_FALSE=
15533 fi
15534
15535 if test -z "${PLATFORM_WIN32_TRUE}" && test -z "${PLATFORM_WIN32_FALSE}"; then
15536   as_fn_error $? "conditional \"PLATFORM_WIN32\" was never defined.
15537 Usually this means the macro was only invoked conditionally." "$LINENO" 5
15538 fi
15539 if test -z "${OS_WIN32_TRUE}" && test -z "${OS_WIN32_FALSE}"; then
15540   as_fn_error $? "conditional \"OS_WIN32\" was never defined.
15541 Usually this means the macro was only invoked conditionally." "$LINENO" 5
15542 fi
15543 if test -z "${AMDEP_TRUE}" && test -z "${AMDEP_FALSE}"; then
15544   as_fn_error $? "conditional \"AMDEP\" was never defined.
15545 Usually this means the macro was only invoked conditionally." "$LINENO" 5
15546 fi
15547 if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
15548   as_fn_error $? "conditional \"am__fastdepCC\" was never defined.
15549 Usually this means the macro was only invoked conditionally." "$LINENO" 5
15550 fi
15551 if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
15552   as_fn_error $? "conditional \"am__fastdepCC\" was never defined.
15553 Usually this means the macro was only invoked conditionally." "$LINENO" 5
15554 fi
15555 if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
15556   as_fn_error $? "conditional \"am__fastdepCC\" was never defined.
15557 Usually this means the macro was only invoked conditionally." "$LINENO" 5
15558 fi
15559 if test -z "${HAVE_LIBFFI_TRUE}" && test -z "${HAVE_LIBFFI_FALSE}"; then
15560   as_fn_error $? "conditional \"HAVE_LIBFFI\" was never defined.
15561 Usually this means the macro was only invoked conditionally." "$LINENO" 5
15562 fi
15563 if test -z "${ENABLE_CAIRO_TRUE}" && test -z "${ENABLE_CAIRO_FALSE}"; then
15564   as_fn_error $? "conditional \"ENABLE_CAIRO\" was never defined.
15565 Usually this means the macro was only invoked conditionally." "$LINENO" 5
15566 fi
15567 if test -z "${CODE_COVERAGE_ENABLED_TRUE}" && test -z "${CODE_COVERAGE_ENABLED_FALSE}"; then
15568   as_fn_error $? "conditional \"CODE_COVERAGE_ENABLED\" was never defined.
15569 Usually this means the macro was only invoked conditionally." "$LINENO" 5
15570 fi
15571
15572 : "${CONFIG_STATUS=./config.status}"
15573 ac_write_fail=0
15574 ac_clean_files_save=$ac_clean_files
15575 ac_clean_files="$ac_clean_files $CONFIG_STATUS"
15576 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5
15577 $as_echo "$as_me: creating $CONFIG_STATUS" >&6;}
15578 as_write_fail=0
15579 cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1
15580 #! $SHELL
15581 # Generated by $as_me.
15582 # Run this file to recreate the current configuration.
15583 # Compiler output produced by configure, useful for debugging
15584 # configure, is in config.log if it exists.
15585
15586 debug=false
15587 ac_cs_recheck=false
15588 ac_cs_silent=false
15589
15590 SHELL=\${CONFIG_SHELL-$SHELL}
15591 export SHELL
15592 _ASEOF
15593 cat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail=1
15594 ## -------------------- ##
15595 ## M4sh Initialization. ##
15596 ## -------------------- ##
15597
15598 # Be more Bourne compatible
15599 DUALCASE=1; export DUALCASE # for MKS sh
15600 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :
15601   emulate sh
15602   NULLCMD=:
15603   # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
15604   # is contrary to our usage.  Disable this feature.
15605   alias -g '${1+"$@"}'='"$@"'
15606   setopt NO_GLOB_SUBST
15607 else
15608   case `(set -o) 2>/dev/null` in #(
15609   *posix*) :
15610     set -o posix ;; #(
15611   *) :
15612      ;;
15613 esac
15614 fi
15615
15616
15617 as_nl='
15618 '
15619 export as_nl
15620 # Printing a long string crashes Solaris 7 /usr/bin/printf.
15621 as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
15622 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
15623 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
15624 # Prefer a ksh shell builtin over an external printf program on Solaris,
15625 # but without wasting forks for bash or zsh.
15626 if test -z "$BASH_VERSION$ZSH_VERSION" \
15627     && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
15628   as_echo='print -r --'
15629   as_echo_n='print -rn --'
15630 elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
15631   as_echo='printf %s\n'
15632   as_echo_n='printf %s'
15633 else
15634   if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
15635     as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
15636     as_echo_n='/usr/ucb/echo -n'
15637   else
15638     as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
15639     as_echo_n_body='eval
15640       arg=$1;
15641       case $arg in #(
15642       *"$as_nl"*)
15643         expr "X$arg" : "X\\(.*\\)$as_nl";
15644         arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
15645       esac;
15646       expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
15647     '
15648     export as_echo_n_body
15649     as_echo_n='sh -c $as_echo_n_body as_echo'
15650   fi
15651   export as_echo_body
15652   as_echo='sh -c $as_echo_body as_echo'
15653 fi
15654
15655 # The user is always right.
15656 if test "${PATH_SEPARATOR+set}" != set; then
15657   PATH_SEPARATOR=:
15658   (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
15659     (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
15660       PATH_SEPARATOR=';'
15661   }
15662 fi
15663
15664
15665 # IFS
15666 # We need space, tab and new line, in precisely that order.  Quoting is
15667 # there to prevent editors from complaining about space-tab.
15668 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
15669 # splitting by setting IFS to empty value.)
15670 IFS=" ""        $as_nl"
15671
15672 # Find who we are.  Look in the path if we contain no directory separator.
15673 as_myself=
15674 case $0 in #((
15675   *[\\/]* ) as_myself=$0 ;;
15676   *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
15677 for as_dir in $PATH
15678 do
15679   IFS=$as_save_IFS
15680   test -z "$as_dir" && as_dir=.
15681     test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
15682   done
15683 IFS=$as_save_IFS
15684
15685      ;;
15686 esac
15687 # We did not find ourselves, most probably we were run as `sh COMMAND'
15688 # in which case we are not to be found in the path.
15689 if test "x$as_myself" = x; then
15690   as_myself=$0
15691 fi
15692 if test ! -f "$as_myself"; then
15693   $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
15694   exit 1
15695 fi
15696
15697 # Unset variables that we do not need and which cause bugs (e.g. in
15698 # pre-3.0 UWIN ksh).  But do not cause bugs in bash 2.01; the "|| exit 1"
15699 # suppresses any "Segmentation fault" message there.  '((' could
15700 # trigger a bug in pdksh 5.2.14.
15701 for as_var in BASH_ENV ENV MAIL MAILPATH
15702 do eval test x\${$as_var+set} = xset \
15703   && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
15704 done
15705 PS1='$ '
15706 PS2='> '
15707 PS4='+ '
15708
15709 # NLS nuisances.
15710 LC_ALL=C
15711 export LC_ALL
15712 LANGUAGE=C
15713 export LANGUAGE
15714
15715 # CDPATH.
15716 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
15717
15718
15719 # as_fn_error STATUS ERROR [LINENO LOG_FD]
15720 # ----------------------------------------
15721 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
15722 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
15723 # script with STATUS, using 1 if that was 0.
15724 as_fn_error ()
15725 {
15726   as_status=$1; test $as_status -eq 0 && as_status=1
15727   if test "$4"; then
15728     as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
15729     $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
15730   fi
15731   $as_echo "$as_me: error: $2" >&2
15732   as_fn_exit $as_status
15733 } # as_fn_error
15734
15735
15736 # as_fn_set_status STATUS
15737 # -----------------------
15738 # Set $? to STATUS, without forking.
15739 as_fn_set_status ()
15740 {
15741   return $1
15742 } # as_fn_set_status
15743
15744 # as_fn_exit STATUS
15745 # -----------------
15746 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
15747 as_fn_exit ()
15748 {
15749   set +e
15750   as_fn_set_status $1
15751   exit $1
15752 } # as_fn_exit
15753
15754 # as_fn_unset VAR
15755 # ---------------
15756 # Portably unset VAR.
15757 as_fn_unset ()
15758 {
15759   { eval $1=; unset $1;}
15760 }
15761 as_unset=as_fn_unset
15762 # as_fn_append VAR VALUE
15763 # ----------------------
15764 # Append the text in VALUE to the end of the definition contained in VAR. Take
15765 # advantage of any shell optimizations that allow amortized linear growth over
15766 # repeated appends, instead of the typical quadratic growth present in naive
15767 # implementations.
15768 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
15769   eval 'as_fn_append ()
15770   {
15771     eval $1+=\$2
15772   }'
15773 else
15774   as_fn_append ()
15775   {
15776     eval $1=\$$1\$2
15777   }
15778 fi # as_fn_append
15779
15780 # as_fn_arith ARG...
15781 # ------------------
15782 # Perform arithmetic evaluation on the ARGs, and store the result in the
15783 # global $as_val. Take advantage of shells that can avoid forks. The arguments
15784 # must be portable across $(()) and expr.
15785 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
15786   eval 'as_fn_arith ()
15787   {
15788     as_val=$(( $* ))
15789   }'
15790 else
15791   as_fn_arith ()
15792   {
15793     as_val=`expr "$@" || test $? -eq 1`
15794   }
15795 fi # as_fn_arith
15796
15797
15798 if expr a : '\(a\)' >/dev/null 2>&1 &&
15799    test "X`expr 00001 : '.*\(...\)'`" = X001; then
15800   as_expr=expr
15801 else
15802   as_expr=false
15803 fi
15804
15805 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
15806   as_basename=basename
15807 else
15808   as_basename=false
15809 fi
15810
15811 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
15812   as_dirname=dirname
15813 else
15814   as_dirname=false
15815 fi
15816
15817 as_me=`$as_basename -- "$0" ||
15818 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
15819          X"$0" : 'X\(//\)$' \| \
15820          X"$0" : 'X\(/\)' \| . 2>/dev/null ||
15821 $as_echo X/"$0" |
15822     sed '/^.*\/\([^/][^/]*\)\/*$/{
15823             s//\1/
15824             q
15825           }
15826           /^X\/\(\/\/\)$/{
15827             s//\1/
15828             q
15829           }
15830           /^X\/\(\/\).*/{
15831             s//\1/
15832             q
15833           }
15834           s/.*/./; q'`
15835
15836 # Avoid depending upon Character Ranges.
15837 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
15838 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
15839 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
15840 as_cr_digits='0123456789'
15841 as_cr_alnum=$as_cr_Letters$as_cr_digits
15842
15843 ECHO_C= ECHO_N= ECHO_T=
15844 case `echo -n x` in #(((((
15845 -n*)
15846   case `echo 'xy\c'` in
15847   *c*) ECHO_T=' ';;     # ECHO_T is single tab character.
15848   xy)  ECHO_C='\c';;
15849   *)   echo `echo ksh88 bug on AIX 6.1` > /dev/null
15850        ECHO_T=' ';;
15851   esac;;
15852 *)
15853   ECHO_N='-n';;
15854 esac
15855
15856 rm -f conf$$ conf$$.exe conf$$.file
15857 if test -d conf$$.dir; then
15858   rm -f conf$$.dir/conf$$.file
15859 else
15860   rm -f conf$$.dir
15861   mkdir conf$$.dir 2>/dev/null
15862 fi
15863 if (echo >conf$$.file) 2>/dev/null; then
15864   if ln -s conf$$.file conf$$ 2>/dev/null; then
15865     as_ln_s='ln -s'
15866     # ... but there are two gotchas:
15867     # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
15868     # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
15869     # In both cases, we have to default to `cp -pR'.
15870     ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
15871       as_ln_s='cp -pR'
15872   elif ln conf$$.file conf$$ 2>/dev/null; then
15873     as_ln_s=ln
15874   else
15875     as_ln_s='cp -pR'
15876   fi
15877 else
15878   as_ln_s='cp -pR'
15879 fi
15880 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
15881 rmdir conf$$.dir 2>/dev/null
15882
15883
15884 # as_fn_mkdir_p
15885 # -------------
15886 # Create "$as_dir" as a directory, including parents if necessary.
15887 as_fn_mkdir_p ()
15888 {
15889
15890   case $as_dir in #(
15891   -*) as_dir=./$as_dir;;
15892   esac
15893   test -d "$as_dir" || eval $as_mkdir_p || {
15894     as_dirs=
15895     while :; do
15896       case $as_dir in #(
15897       *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
15898       *) as_qdir=$as_dir;;
15899       esac
15900       as_dirs="'$as_qdir' $as_dirs"
15901       as_dir=`$as_dirname -- "$as_dir" ||
15902 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
15903          X"$as_dir" : 'X\(//\)[^/]' \| \
15904          X"$as_dir" : 'X\(//\)$' \| \
15905          X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
15906 $as_echo X"$as_dir" |
15907     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
15908             s//\1/
15909             q
15910           }
15911           /^X\(\/\/\)[^/].*/{
15912             s//\1/
15913             q
15914           }
15915           /^X\(\/\/\)$/{
15916             s//\1/
15917             q
15918           }
15919           /^X\(\/\).*/{
15920             s//\1/
15921             q
15922           }
15923           s/.*/./; q'`
15924       test -d "$as_dir" && break
15925     done
15926     test -z "$as_dirs" || eval "mkdir $as_dirs"
15927   } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir"
15928
15929
15930 } # as_fn_mkdir_p
15931 if mkdir -p . 2>/dev/null; then
15932   as_mkdir_p='mkdir -p "$as_dir"'
15933 else
15934   test -d ./-p && rmdir ./-p
15935   as_mkdir_p=false
15936 fi
15937
15938
15939 # as_fn_executable_p FILE
15940 # -----------------------
15941 # Test if FILE is an executable regular file.
15942 as_fn_executable_p ()
15943 {
15944   test -f "$1" && test -x "$1"
15945 } # as_fn_executable_p
15946 as_test_x='test -x'
15947 as_executable_p=as_fn_executable_p
15948
15949 # Sed expression to map a string onto a valid CPP name.
15950 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
15951
15952 # Sed expression to map a string onto a valid variable name.
15953 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
15954
15955
15956 exec 6>&1
15957 ## ----------------------------------- ##
15958 ## Main body of $CONFIG_STATUS script. ##
15959 ## ----------------------------------- ##
15960 _ASEOF
15961 test $as_write_fail = 0 && chmod +x $CONFIG_STATUS || ac_write_fail=1
15962
15963 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
15964 # Save the log message, to keep $0 and so on meaningful, and to
15965 # report actual input values of CONFIG_FILES etc. instead of their
15966 # values after options handling.
15967 ac_log="
15968 This file was extended by pygobject $as_me 3.7.3, which was
15969 generated by GNU Autoconf 2.69.  Invocation command line was
15970
15971   CONFIG_FILES    = $CONFIG_FILES
15972   CONFIG_HEADERS  = $CONFIG_HEADERS
15973   CONFIG_LINKS    = $CONFIG_LINKS
15974   CONFIG_COMMANDS = $CONFIG_COMMANDS
15975   $ $0 $@
15976
15977 on `(hostname || uname -n) 2>/dev/null | sed 1q`
15978 "
15979
15980 _ACEOF
15981
15982 case $ac_config_files in *"
15983 "*) set x $ac_config_files; shift; ac_config_files=$*;;
15984 esac
15985
15986 case $ac_config_headers in *"
15987 "*) set x $ac_config_headers; shift; ac_config_headers=$*;;
15988 esac
15989
15990
15991 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
15992 # Files that config.status was made for.
15993 config_files="$ac_config_files"
15994 config_headers="$ac_config_headers"
15995 config_commands="$ac_config_commands"
15996
15997 _ACEOF
15998
15999 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
16000 ac_cs_usage="\
16001 \`$as_me' instantiates files and other configuration actions
16002 from templates according to the current configuration.  Unless the files
16003 and actions are specified as TAGs, all are instantiated by default.
16004
16005 Usage: $0 [OPTION]... [TAG]...
16006
16007   -h, --help       print this help, then exit
16008   -V, --version    print version number and configuration settings, then exit
16009       --config     print configuration, then exit
16010   -q, --quiet, --silent
16011                    do not print progress messages
16012   -d, --debug      don't remove temporary files
16013       --recheck    update $as_me by reconfiguring in the same conditions
16014       --file=FILE[:TEMPLATE]
16015                    instantiate the configuration file FILE
16016       --header=FILE[:TEMPLATE]
16017                    instantiate the configuration header FILE
16018
16019 Configuration files:
16020 $config_files
16021
16022 Configuration headers:
16023 $config_headers
16024
16025 Configuration commands:
16026 $config_commands
16027
16028 Report bugs to <http://bugzilla.gnome.org/enter_bug.cgi?product=pygobject>.
16029 pygobject home page: <https://live.gnome.org/PyGObject/>."
16030
16031 _ACEOF
16032 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
16033 ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`"
16034 ac_cs_version="\\
16035 pygobject config.status 3.7.3
16036 configured by $0, generated by GNU Autoconf 2.69,
16037   with options \\"\$ac_cs_config\\"
16038
16039 Copyright (C) 2012 Free Software Foundation, Inc.
16040 This config.status script is free software; the Free Software Foundation
16041 gives unlimited permission to copy, distribute and modify it."
16042
16043 ac_pwd='$ac_pwd'
16044 srcdir='$srcdir'
16045 INSTALL='$INSTALL'
16046 MKDIR_P='$MKDIR_P'
16047 AWK='$AWK'
16048 test -n "\$AWK" || AWK=awk
16049 _ACEOF
16050
16051 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
16052 # The default lists apply if the user does not specify any file.
16053 ac_need_defaults=:
16054 while test $# != 0
16055 do
16056   case $1 in
16057   --*=?*)
16058     ac_option=`expr "X$1" : 'X\([^=]*\)='`
16059     ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'`
16060     ac_shift=:
16061     ;;
16062   --*=)
16063     ac_option=`expr "X$1" : 'X\([^=]*\)='`
16064     ac_optarg=
16065     ac_shift=:
16066     ;;
16067   *)
16068     ac_option=$1
16069     ac_optarg=$2
16070     ac_shift=shift
16071     ;;
16072   esac
16073
16074   case $ac_option in
16075   # Handling of the options.
16076   -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
16077     ac_cs_recheck=: ;;
16078   --version | --versio | --versi | --vers | --ver | --ve | --v | -V )
16079     $as_echo "$ac_cs_version"; exit ;;
16080   --config | --confi | --conf | --con | --co | --c )
16081     $as_echo "$ac_cs_config"; exit ;;
16082   --debug | --debu | --deb | --de | --d | -d )
16083     debug=: ;;
16084   --file | --fil | --fi | --f )
16085     $ac_shift
16086     case $ac_optarg in
16087     *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
16088     '') as_fn_error $? "missing file argument" ;;
16089     esac
16090     as_fn_append CONFIG_FILES " '$ac_optarg'"
16091     ac_need_defaults=false;;
16092   --header | --heade | --head | --hea )
16093     $ac_shift
16094     case $ac_optarg in
16095     *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
16096     esac
16097     as_fn_append CONFIG_HEADERS " '$ac_optarg'"
16098     ac_need_defaults=false;;
16099   --he | --h)
16100     # Conflict between --help and --header
16101     as_fn_error $? "ambiguous option: \`$1'
16102 Try \`$0 --help' for more information.";;
16103   --help | --hel | -h )
16104     $as_echo "$ac_cs_usage"; exit ;;
16105   -q | -quiet | --quiet | --quie | --qui | --qu | --q \
16106   | -silent | --silent | --silen | --sile | --sil | --si | --s)
16107     ac_cs_silent=: ;;
16108
16109   # This is an error.
16110   -*) as_fn_error $? "unrecognized option: \`$1'
16111 Try \`$0 --help' for more information." ;;
16112
16113   *) as_fn_append ac_config_targets " $1"
16114      ac_need_defaults=false ;;
16115
16116   esac
16117   shift
16118 done
16119
16120 ac_configure_extra_args=
16121
16122 if $ac_cs_silent; then
16123   exec 6>/dev/null
16124   ac_configure_extra_args="$ac_configure_extra_args --silent"
16125 fi
16126
16127 _ACEOF
16128 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
16129 if \$ac_cs_recheck; then
16130   set X $SHELL '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
16131   shift
16132   \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6
16133   CONFIG_SHELL='$SHELL'
16134   export CONFIG_SHELL
16135   exec "\$@"
16136 fi
16137
16138 _ACEOF
16139 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
16140 exec 5>>config.log
16141 {
16142   echo
16143   sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
16144 ## Running $as_me. ##
16145 _ASBOX
16146   $as_echo "$ac_log"
16147 } >&5
16148
16149 _ACEOF
16150 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
16151 #
16152 # INIT-COMMANDS
16153 #
16154 AMDEP_TRUE="$AMDEP_TRUE" ac_aux_dir="$ac_aux_dir"
16155
16156
16157 # The HP-UX ksh and POSIX shell print the target directory to stdout
16158 # if CDPATH is set.
16159 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
16160
16161 sed_quote_subst='$sed_quote_subst'
16162 double_quote_subst='$double_quote_subst'
16163 delay_variable_subst='$delay_variable_subst'
16164 macro_version='`$ECHO "$macro_version" | $SED "$delay_single_quote_subst"`'
16165 macro_revision='`$ECHO "$macro_revision" | $SED "$delay_single_quote_subst"`'
16166 AS='`$ECHO "$AS" | $SED "$delay_single_quote_subst"`'
16167 DLLTOOL='`$ECHO "$DLLTOOL" | $SED "$delay_single_quote_subst"`'
16168 OBJDUMP='`$ECHO "$OBJDUMP" | $SED "$delay_single_quote_subst"`'
16169 enable_static='`$ECHO "$enable_static" | $SED "$delay_single_quote_subst"`'
16170 enable_shared='`$ECHO "$enable_shared" | $SED "$delay_single_quote_subst"`'
16171 pic_mode='`$ECHO "$pic_mode" | $SED "$delay_single_quote_subst"`'
16172 enable_fast_install='`$ECHO "$enable_fast_install" | $SED "$delay_single_quote_subst"`'
16173 SHELL='`$ECHO "$SHELL" | $SED "$delay_single_quote_subst"`'
16174 ECHO='`$ECHO "$ECHO" | $SED "$delay_single_quote_subst"`'
16175 PATH_SEPARATOR='`$ECHO "$PATH_SEPARATOR" | $SED "$delay_single_quote_subst"`'
16176 host_alias='`$ECHO "$host_alias" | $SED "$delay_single_quote_subst"`'
16177 host='`$ECHO "$host" | $SED "$delay_single_quote_subst"`'
16178 host_os='`$ECHO "$host_os" | $SED "$delay_single_quote_subst"`'
16179 build_alias='`$ECHO "$build_alias" | $SED "$delay_single_quote_subst"`'
16180 build='`$ECHO "$build" | $SED "$delay_single_quote_subst"`'
16181 build_os='`$ECHO "$build_os" | $SED "$delay_single_quote_subst"`'
16182 SED='`$ECHO "$SED" | $SED "$delay_single_quote_subst"`'
16183 Xsed='`$ECHO "$Xsed" | $SED "$delay_single_quote_subst"`'
16184 GREP='`$ECHO "$GREP" | $SED "$delay_single_quote_subst"`'
16185 EGREP='`$ECHO "$EGREP" | $SED "$delay_single_quote_subst"`'
16186 FGREP='`$ECHO "$FGREP" | $SED "$delay_single_quote_subst"`'
16187 LD='`$ECHO "$LD" | $SED "$delay_single_quote_subst"`'
16188 NM='`$ECHO "$NM" | $SED "$delay_single_quote_subst"`'
16189 LN_S='`$ECHO "$LN_S" | $SED "$delay_single_quote_subst"`'
16190 max_cmd_len='`$ECHO "$max_cmd_len" | $SED "$delay_single_quote_subst"`'
16191 ac_objext='`$ECHO "$ac_objext" | $SED "$delay_single_quote_subst"`'
16192 exeext='`$ECHO "$exeext" | $SED "$delay_single_quote_subst"`'
16193 lt_unset='`$ECHO "$lt_unset" | $SED "$delay_single_quote_subst"`'
16194 lt_SP2NL='`$ECHO "$lt_SP2NL" | $SED "$delay_single_quote_subst"`'
16195 lt_NL2SP='`$ECHO "$lt_NL2SP" | $SED "$delay_single_quote_subst"`'
16196 lt_cv_to_host_file_cmd='`$ECHO "$lt_cv_to_host_file_cmd" | $SED "$delay_single_quote_subst"`'
16197 lt_cv_to_tool_file_cmd='`$ECHO "$lt_cv_to_tool_file_cmd" | $SED "$delay_single_quote_subst"`'
16198 reload_flag='`$ECHO "$reload_flag" | $SED "$delay_single_quote_subst"`'
16199 reload_cmds='`$ECHO "$reload_cmds" | $SED "$delay_single_quote_subst"`'
16200 deplibs_check_method='`$ECHO "$deplibs_check_method" | $SED "$delay_single_quote_subst"`'
16201 file_magic_cmd='`$ECHO "$file_magic_cmd" | $SED "$delay_single_quote_subst"`'
16202 file_magic_glob='`$ECHO "$file_magic_glob" | $SED "$delay_single_quote_subst"`'
16203 want_nocaseglob='`$ECHO "$want_nocaseglob" | $SED "$delay_single_quote_subst"`'
16204 sharedlib_from_linklib_cmd='`$ECHO "$sharedlib_from_linklib_cmd" | $SED "$delay_single_quote_subst"`'
16205 AR='`$ECHO "$AR" | $SED "$delay_single_quote_subst"`'
16206 AR_FLAGS='`$ECHO "$AR_FLAGS" | $SED "$delay_single_quote_subst"`'
16207 archiver_list_spec='`$ECHO "$archiver_list_spec" | $SED "$delay_single_quote_subst"`'
16208 STRIP='`$ECHO "$STRIP" | $SED "$delay_single_quote_subst"`'
16209 RANLIB='`$ECHO "$RANLIB" | $SED "$delay_single_quote_subst"`'
16210 old_postinstall_cmds='`$ECHO "$old_postinstall_cmds" | $SED "$delay_single_quote_subst"`'
16211 old_postuninstall_cmds='`$ECHO "$old_postuninstall_cmds" | $SED "$delay_single_quote_subst"`'
16212 old_archive_cmds='`$ECHO "$old_archive_cmds" | $SED "$delay_single_quote_subst"`'
16213 lock_old_archive_extraction='`$ECHO "$lock_old_archive_extraction" | $SED "$delay_single_quote_subst"`'
16214 CC='`$ECHO "$CC" | $SED "$delay_single_quote_subst"`'
16215 CFLAGS='`$ECHO "$CFLAGS" | $SED "$delay_single_quote_subst"`'
16216 compiler='`$ECHO "$compiler" | $SED "$delay_single_quote_subst"`'
16217 GCC='`$ECHO "$GCC" | $SED "$delay_single_quote_subst"`'
16218 lt_cv_sys_global_symbol_pipe='`$ECHO "$lt_cv_sys_global_symbol_pipe" | $SED "$delay_single_quote_subst"`'
16219 lt_cv_sys_global_symbol_to_cdecl='`$ECHO "$lt_cv_sys_global_symbol_to_cdecl" | $SED "$delay_single_quote_subst"`'
16220 lt_cv_sys_global_symbol_to_c_name_address='`$ECHO "$lt_cv_sys_global_symbol_to_c_name_address" | $SED "$delay_single_quote_subst"`'
16221 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"`'
16222 nm_file_list_spec='`$ECHO "$nm_file_list_spec" | $SED "$delay_single_quote_subst"`'
16223 lt_sysroot='`$ECHO "$lt_sysroot" | $SED "$delay_single_quote_subst"`'
16224 objdir='`$ECHO "$objdir" | $SED "$delay_single_quote_subst"`'
16225 MAGIC_CMD='`$ECHO "$MAGIC_CMD" | $SED "$delay_single_quote_subst"`'
16226 lt_prog_compiler_no_builtin_flag='`$ECHO "$lt_prog_compiler_no_builtin_flag" | $SED "$delay_single_quote_subst"`'
16227 lt_prog_compiler_pic='`$ECHO "$lt_prog_compiler_pic" | $SED "$delay_single_quote_subst"`'
16228 lt_prog_compiler_wl='`$ECHO "$lt_prog_compiler_wl" | $SED "$delay_single_quote_subst"`'
16229 lt_prog_compiler_static='`$ECHO "$lt_prog_compiler_static" | $SED "$delay_single_quote_subst"`'
16230 lt_cv_prog_compiler_c_o='`$ECHO "$lt_cv_prog_compiler_c_o" | $SED "$delay_single_quote_subst"`'
16231 need_locks='`$ECHO "$need_locks" | $SED "$delay_single_quote_subst"`'
16232 MANIFEST_TOOL='`$ECHO "$MANIFEST_TOOL" | $SED "$delay_single_quote_subst"`'
16233 DSYMUTIL='`$ECHO "$DSYMUTIL" | $SED "$delay_single_quote_subst"`'
16234 NMEDIT='`$ECHO "$NMEDIT" | $SED "$delay_single_quote_subst"`'
16235 LIPO='`$ECHO "$LIPO" | $SED "$delay_single_quote_subst"`'
16236 OTOOL='`$ECHO "$OTOOL" | $SED "$delay_single_quote_subst"`'
16237 OTOOL64='`$ECHO "$OTOOL64" | $SED "$delay_single_quote_subst"`'
16238 libext='`$ECHO "$libext" | $SED "$delay_single_quote_subst"`'
16239 shrext_cmds='`$ECHO "$shrext_cmds" | $SED "$delay_single_quote_subst"`'
16240 extract_expsyms_cmds='`$ECHO "$extract_expsyms_cmds" | $SED "$delay_single_quote_subst"`'
16241 archive_cmds_need_lc='`$ECHO "$archive_cmds_need_lc" | $SED "$delay_single_quote_subst"`'
16242 enable_shared_with_static_runtimes='`$ECHO "$enable_shared_with_static_runtimes" | $SED "$delay_single_quote_subst"`'
16243 export_dynamic_flag_spec='`$ECHO "$export_dynamic_flag_spec" | $SED "$delay_single_quote_subst"`'
16244 whole_archive_flag_spec='`$ECHO "$whole_archive_flag_spec" | $SED "$delay_single_quote_subst"`'
16245 compiler_needs_object='`$ECHO "$compiler_needs_object" | $SED "$delay_single_quote_subst"`'
16246 old_archive_from_new_cmds='`$ECHO "$old_archive_from_new_cmds" | $SED "$delay_single_quote_subst"`'
16247 old_archive_from_expsyms_cmds='`$ECHO "$old_archive_from_expsyms_cmds" | $SED "$delay_single_quote_subst"`'
16248 archive_cmds='`$ECHO "$archive_cmds" | $SED "$delay_single_quote_subst"`'
16249 archive_expsym_cmds='`$ECHO "$archive_expsym_cmds" | $SED "$delay_single_quote_subst"`'
16250 module_cmds='`$ECHO "$module_cmds" | $SED "$delay_single_quote_subst"`'
16251 module_expsym_cmds='`$ECHO "$module_expsym_cmds" | $SED "$delay_single_quote_subst"`'
16252 with_gnu_ld='`$ECHO "$with_gnu_ld" | $SED "$delay_single_quote_subst"`'
16253 allow_undefined_flag='`$ECHO "$allow_undefined_flag" | $SED "$delay_single_quote_subst"`'
16254 no_undefined_flag='`$ECHO "$no_undefined_flag" | $SED "$delay_single_quote_subst"`'
16255 hardcode_libdir_flag_spec='`$ECHO "$hardcode_libdir_flag_spec" | $SED "$delay_single_quote_subst"`'
16256 hardcode_libdir_separator='`$ECHO "$hardcode_libdir_separator" | $SED "$delay_single_quote_subst"`'
16257 hardcode_direct='`$ECHO "$hardcode_direct" | $SED "$delay_single_quote_subst"`'
16258 hardcode_direct_absolute='`$ECHO "$hardcode_direct_absolute" | $SED "$delay_single_quote_subst"`'
16259 hardcode_minus_L='`$ECHO "$hardcode_minus_L" | $SED "$delay_single_quote_subst"`'
16260 hardcode_shlibpath_var='`$ECHO "$hardcode_shlibpath_var" | $SED "$delay_single_quote_subst"`'
16261 hardcode_automatic='`$ECHO "$hardcode_automatic" | $SED "$delay_single_quote_subst"`'
16262 inherit_rpath='`$ECHO "$inherit_rpath" | $SED "$delay_single_quote_subst"`'
16263 link_all_deplibs='`$ECHO "$link_all_deplibs" | $SED "$delay_single_quote_subst"`'
16264 always_export_symbols='`$ECHO "$always_export_symbols" | $SED "$delay_single_quote_subst"`'
16265 export_symbols_cmds='`$ECHO "$export_symbols_cmds" | $SED "$delay_single_quote_subst"`'
16266 exclude_expsyms='`$ECHO "$exclude_expsyms" | $SED "$delay_single_quote_subst"`'
16267 include_expsyms='`$ECHO "$include_expsyms" | $SED "$delay_single_quote_subst"`'
16268 prelink_cmds='`$ECHO "$prelink_cmds" | $SED "$delay_single_quote_subst"`'
16269 postlink_cmds='`$ECHO "$postlink_cmds" | $SED "$delay_single_quote_subst"`'
16270 file_list_spec='`$ECHO "$file_list_spec" | $SED "$delay_single_quote_subst"`'
16271 variables_saved_for_relink='`$ECHO "$variables_saved_for_relink" | $SED "$delay_single_quote_subst"`'
16272 need_lib_prefix='`$ECHO "$need_lib_prefix" | $SED "$delay_single_quote_subst"`'
16273 need_version='`$ECHO "$need_version" | $SED "$delay_single_quote_subst"`'
16274 version_type='`$ECHO "$version_type" | $SED "$delay_single_quote_subst"`'
16275 runpath_var='`$ECHO "$runpath_var" | $SED "$delay_single_quote_subst"`'
16276 shlibpath_var='`$ECHO "$shlibpath_var" | $SED "$delay_single_quote_subst"`'
16277 shlibpath_overrides_runpath='`$ECHO "$shlibpath_overrides_runpath" | $SED "$delay_single_quote_subst"`'
16278 libname_spec='`$ECHO "$libname_spec" | $SED "$delay_single_quote_subst"`'
16279 library_names_spec='`$ECHO "$library_names_spec" | $SED "$delay_single_quote_subst"`'
16280 soname_spec='`$ECHO "$soname_spec" | $SED "$delay_single_quote_subst"`'
16281 install_override_mode='`$ECHO "$install_override_mode" | $SED "$delay_single_quote_subst"`'
16282 postinstall_cmds='`$ECHO "$postinstall_cmds" | $SED "$delay_single_quote_subst"`'
16283 postuninstall_cmds='`$ECHO "$postuninstall_cmds" | $SED "$delay_single_quote_subst"`'
16284 finish_cmds='`$ECHO "$finish_cmds" | $SED "$delay_single_quote_subst"`'
16285 finish_eval='`$ECHO "$finish_eval" | $SED "$delay_single_quote_subst"`'
16286 hardcode_into_libs='`$ECHO "$hardcode_into_libs" | $SED "$delay_single_quote_subst"`'
16287 sys_lib_search_path_spec='`$ECHO "$sys_lib_search_path_spec" | $SED "$delay_single_quote_subst"`'
16288 sys_lib_dlsearch_path_spec='`$ECHO "$sys_lib_dlsearch_path_spec" | $SED "$delay_single_quote_subst"`'
16289 hardcode_action='`$ECHO "$hardcode_action" | $SED "$delay_single_quote_subst"`'
16290 enable_dlopen='`$ECHO "$enable_dlopen" | $SED "$delay_single_quote_subst"`'
16291 enable_dlopen_self='`$ECHO "$enable_dlopen_self" | $SED "$delay_single_quote_subst"`'
16292 enable_dlopen_self_static='`$ECHO "$enable_dlopen_self_static" | $SED "$delay_single_quote_subst"`'
16293 old_striplib='`$ECHO "$old_striplib" | $SED "$delay_single_quote_subst"`'
16294 striplib='`$ECHO "$striplib" | $SED "$delay_single_quote_subst"`'
16295
16296 LTCC='$LTCC'
16297 LTCFLAGS='$LTCFLAGS'
16298 compiler='$compiler_DEFAULT'
16299
16300 # A function that is used when there is no print builtin or printf.
16301 func_fallback_echo ()
16302 {
16303   eval 'cat <<_LTECHO_EOF
16304 \$1
16305 _LTECHO_EOF'
16306 }
16307
16308 # Quote evaled strings.
16309 for var in AS \
16310 DLLTOOL \
16311 OBJDUMP \
16312 SHELL \
16313 ECHO \
16314 PATH_SEPARATOR \
16315 SED \
16316 GREP \
16317 EGREP \
16318 FGREP \
16319 LD \
16320 NM \
16321 LN_S \
16322 lt_SP2NL \
16323 lt_NL2SP \
16324 reload_flag \
16325 deplibs_check_method \
16326 file_magic_cmd \
16327 file_magic_glob \
16328 want_nocaseglob \
16329 sharedlib_from_linklib_cmd \
16330 AR \
16331 AR_FLAGS \
16332 archiver_list_spec \
16333 STRIP \
16334 RANLIB \
16335 CC \
16336 CFLAGS \
16337 compiler \
16338 lt_cv_sys_global_symbol_pipe \
16339 lt_cv_sys_global_symbol_to_cdecl \
16340 lt_cv_sys_global_symbol_to_c_name_address \
16341 lt_cv_sys_global_symbol_to_c_name_address_lib_prefix \
16342 nm_file_list_spec \
16343 lt_prog_compiler_no_builtin_flag \
16344 lt_prog_compiler_pic \
16345 lt_prog_compiler_wl \
16346 lt_prog_compiler_static \
16347 lt_cv_prog_compiler_c_o \
16348 need_locks \
16349 MANIFEST_TOOL \
16350 DSYMUTIL \
16351 NMEDIT \
16352 LIPO \
16353 OTOOL \
16354 OTOOL64 \
16355 shrext_cmds \
16356 export_dynamic_flag_spec \
16357 whole_archive_flag_spec \
16358 compiler_needs_object \
16359 with_gnu_ld \
16360 allow_undefined_flag \
16361 no_undefined_flag \
16362 hardcode_libdir_flag_spec \
16363 hardcode_libdir_separator \
16364 exclude_expsyms \
16365 include_expsyms \
16366 file_list_spec \
16367 variables_saved_for_relink \
16368 libname_spec \
16369 library_names_spec \
16370 soname_spec \
16371 install_override_mode \
16372 finish_eval \
16373 old_striplib \
16374 striplib; do
16375     case \`eval \\\\\$ECHO \\\\""\\\\\$\$var"\\\\"\` in
16376     *[\\\\\\\`\\"\\\$]*)
16377       eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"\\\$\$var\\" | \\\$SED \\"\\\$sed_quote_subst\\"\\\`\\\\\\""
16378       ;;
16379     *)
16380       eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
16381       ;;
16382     esac
16383 done
16384
16385 # Double-quote double-evaled strings.
16386 for var in reload_cmds \
16387 old_postinstall_cmds \
16388 old_postuninstall_cmds \
16389 old_archive_cmds \
16390 extract_expsyms_cmds \
16391 old_archive_from_new_cmds \
16392 old_archive_from_expsyms_cmds \
16393 archive_cmds \
16394 archive_expsym_cmds \
16395 module_cmds \
16396 module_expsym_cmds \
16397 export_symbols_cmds \
16398 prelink_cmds \
16399 postlink_cmds \
16400 postinstall_cmds \
16401 postuninstall_cmds \
16402 finish_cmds \
16403 sys_lib_search_path_spec \
16404 sys_lib_dlsearch_path_spec; do
16405     case \`eval \\\\\$ECHO \\\\""\\\\\$\$var"\\\\"\` in
16406     *[\\\\\\\`\\"\\\$]*)
16407       eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"\\\$\$var\\" | \\\$SED -e \\"\\\$double_quote_subst\\" -e \\"\\\$sed_quote_subst\\" -e \\"\\\$delay_variable_subst\\"\\\`\\\\\\""
16408       ;;
16409     *)
16410       eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
16411       ;;
16412     esac
16413 done
16414
16415 ac_aux_dir='$ac_aux_dir'
16416 xsi_shell='$xsi_shell'
16417 lt_shell_append='$lt_shell_append'
16418
16419 # See if we are running on zsh, and set the options which allow our
16420 # commands through without removal of \ escapes INIT.
16421 if test -n "\${ZSH_VERSION+set}" ; then
16422    setopt NO_GLOB_SUBST
16423 fi
16424
16425
16426     PACKAGE='$PACKAGE'
16427     VERSION='$VERSION'
16428     TIMESTAMP='$TIMESTAMP'
16429     RM='$RM'
16430     ofile='$ofile'
16431
16432
16433
16434
16435 _ACEOF
16436
16437 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
16438
16439 # Handling of arguments.
16440 for ac_config_target in $ac_config_targets
16441 do
16442   case $ac_config_target in
16443     "config.h") CONFIG_HEADERS="$CONFIG_HEADERS config.h" ;;
16444     "depfiles") CONFIG_COMMANDS="$CONFIG_COMMANDS depfiles" ;;
16445     "libtool") CONFIG_COMMANDS="$CONFIG_COMMANDS libtool" ;;
16446     "Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;;
16447     "pygobject-3.0.pc") CONFIG_FILES="$CONFIG_FILES pygobject-3.0.pc" ;;
16448     "pygobject-3.0-uninstalled.pc") CONFIG_FILES="$CONFIG_FILES pygobject-3.0-uninstalled.pc" ;;
16449     "gi/Makefile") CONFIG_FILES="$CONFIG_FILES gi/Makefile" ;;
16450     "gi/repository/Makefile") CONFIG_FILES="$CONFIG_FILES gi/repository/Makefile" ;;
16451     "gi/overrides/Makefile") CONFIG_FILES="$CONFIG_FILES gi/overrides/Makefile" ;;
16452     "gi/_glib/Makefile") CONFIG_FILES="$CONFIG_FILES gi/_glib/Makefile" ;;
16453     "gi/_gobject/Makefile") CONFIG_FILES="$CONFIG_FILES gi/_gobject/Makefile" ;;
16454     "examples/Makefile") CONFIG_FILES="$CONFIG_FILES examples/Makefile" ;;
16455     "tests/Makefile") CONFIG_FILES="$CONFIG_FILES tests/Makefile" ;;
16456     "pygtkcompat/Makefile") CONFIG_FILES="$CONFIG_FILES pygtkcompat/Makefile" ;;
16457     "PKG-INFO") CONFIG_FILES="$CONFIG_FILES PKG-INFO" ;;
16458
16459   *) as_fn_error $? "invalid argument: \`$ac_config_target'" "$LINENO" 5;;
16460   esac
16461 done
16462
16463
16464 # If the user did not use the arguments to specify the items to instantiate,
16465 # then the envvar interface is used.  Set only those that are not.
16466 # We use the long form for the default assignment because of an extremely
16467 # bizarre bug on SunOS 4.1.3.
16468 if $ac_need_defaults; then
16469   test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
16470   test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS=$config_headers
16471   test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS=$config_commands
16472 fi
16473
16474 # Have a temporary directory for convenience.  Make it in the build tree
16475 # simply because there is no reason against having it here, and in addition,
16476 # creating and moving files from /tmp can sometimes cause problems.
16477 # Hook for its removal unless debugging.
16478 # Note that there is a small window in which the directory will not be cleaned:
16479 # after its creation but before its name has been assigned to `$tmp'.
16480 $debug ||
16481 {
16482   tmp= ac_tmp=
16483   trap 'exit_status=$?
16484   : "${ac_tmp:=$tmp}"
16485   { test ! -d "$ac_tmp" || rm -fr "$ac_tmp"; } && exit $exit_status
16486 ' 0
16487   trap 'as_fn_exit 1' 1 2 13 15
16488 }
16489 # Create a (secure) tmp directory for tmp files.
16490
16491 {
16492   tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
16493   test -d "$tmp"
16494 }  ||
16495 {
16496   tmp=./conf$$-$RANDOM
16497   (umask 077 && mkdir "$tmp")
16498 } || as_fn_error $? "cannot create a temporary directory in ." "$LINENO" 5
16499 ac_tmp=$tmp
16500
16501 # Set up the scripts for CONFIG_FILES section.
16502 # No need to generate them if there are no CONFIG_FILES.
16503 # This happens for instance with `./config.status config.h'.
16504 if test -n "$CONFIG_FILES"; then
16505
16506
16507 ac_cr=`echo X | tr X '\015'`
16508 # On cygwin, bash can eat \r inside `` if the user requested igncr.
16509 # But we know of no other shell where ac_cr would be empty at this
16510 # point, so we can use a bashism as a fallback.
16511 if test "x$ac_cr" = x; then
16512   eval ac_cr=\$\'\\r\'
16513 fi
16514 ac_cs_awk_cr=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
16515 if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
16516   ac_cs_awk_cr='\\r'
16517 else
16518   ac_cs_awk_cr=$ac_cr
16519 fi
16520
16521 echo 'BEGIN {' >"$ac_tmp/subs1.awk" &&
16522 _ACEOF
16523
16524
16525 {
16526   echo "cat >conf$$subs.awk <<_ACEOF" &&
16527   echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
16528   echo "_ACEOF"
16529 } >conf$$subs.sh ||
16530   as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
16531 ac_delim_num=`echo "$ac_subst_vars" | grep -c '^'`
16532 ac_delim='%!_!# '
16533 for ac_last_try in false false false false false :; do
16534   . ./conf$$subs.sh ||
16535     as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
16536
16537   ac_delim_n=`sed -n "s/.*$ac_delim\$/X/p" conf$$subs.awk | grep -c X`
16538   if test $ac_delim_n = $ac_delim_num; then
16539     break
16540   elif $ac_last_try; then
16541     as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
16542   else
16543     ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
16544   fi
16545 done
16546 rm -f conf$$subs.sh
16547
16548 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
16549 cat >>"\$ac_tmp/subs1.awk" <<\\_ACAWK &&
16550 _ACEOF
16551 sed -n '
16552 h
16553 s/^/S["/; s/!.*/"]=/
16554 p
16555 g
16556 s/^[^!]*!//
16557 :repl
16558 t repl
16559 s/'"$ac_delim"'$//
16560 t delim
16561 :nl
16562 h
16563 s/\(.\{148\}\)..*/\1/
16564 t more1
16565 s/["\\]/\\&/g; s/^/"/; s/$/\\n"\\/
16566 p
16567 n
16568 b repl
16569 :more1
16570 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
16571 p
16572 g
16573 s/.\{148\}//
16574 t nl
16575 :delim
16576 h
16577 s/\(.\{148\}\)..*/\1/
16578 t more2
16579 s/["\\]/\\&/g; s/^/"/; s/$/"/
16580 p
16581 b
16582 :more2
16583 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
16584 p
16585 g
16586 s/.\{148\}//
16587 t delim
16588 ' <conf$$subs.awk | sed '
16589 /^[^""]/{
16590   N
16591   s/\n//
16592 }
16593 ' >>$CONFIG_STATUS || ac_write_fail=1
16594 rm -f conf$$subs.awk
16595 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
16596 _ACAWK
16597 cat >>"\$ac_tmp/subs1.awk" <<_ACAWK &&
16598   for (key in S) S_is_set[key] = 1
16599   FS = "\a"
16600
16601 }
16602 {
16603   line = $ 0
16604   nfields = split(line, field, "@")
16605   substed = 0
16606   len = length(field[1])
16607   for (i = 2; i < nfields; i++) {
16608     key = field[i]
16609     keylen = length(key)
16610     if (S_is_set[key]) {
16611       value = S[key]
16612       line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3)
16613       len += length(value) + length(field[++i])
16614       substed = 1
16615     } else
16616       len += 1 + keylen
16617   }
16618
16619   print line
16620 }
16621
16622 _ACAWK
16623 _ACEOF
16624 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
16625 if sed "s/$ac_cr//" < /dev/null > /dev/null 2>&1; then
16626   sed "s/$ac_cr\$//; s/$ac_cr/$ac_cs_awk_cr/g"
16627 else
16628   cat
16629 fi < "$ac_tmp/subs1.awk" > "$ac_tmp/subs.awk" \
16630   || as_fn_error $? "could not setup config files machinery" "$LINENO" 5
16631 _ACEOF
16632
16633 # VPATH may cause trouble with some makes, so we remove sole $(srcdir),
16634 # ${srcdir} and @srcdir@ entries from VPATH if srcdir is ".", strip leading and
16635 # trailing colons and then remove the whole line if VPATH becomes empty
16636 # (actually we leave an empty line to preserve line numbers).
16637 if test "x$srcdir" = x.; then
16638   ac_vpsub='/^[  ]*VPATH[        ]*=[    ]*/{
16639 h
16640 s///
16641 s/^/:/
16642 s/[      ]*$/:/
16643 s/:\$(srcdir):/:/g
16644 s/:\${srcdir}:/:/g
16645 s/:@srcdir@:/:/g
16646 s/^:*//
16647 s/:*$//
16648 x
16649 s/\(=[   ]*\).*/\1/
16650 G
16651 s/\n//
16652 s/^[^=]*=[       ]*$//
16653 }'
16654 fi
16655
16656 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
16657 fi # test -n "$CONFIG_FILES"
16658
16659 # Set up the scripts for CONFIG_HEADERS section.
16660 # No need to generate them if there are no CONFIG_HEADERS.
16661 # This happens for instance with `./config.status Makefile'.
16662 if test -n "$CONFIG_HEADERS"; then
16663 cat >"$ac_tmp/defines.awk" <<\_ACAWK ||
16664 BEGIN {
16665 _ACEOF
16666
16667 # Transform confdefs.h into an awk script `defines.awk', embedded as
16668 # here-document in config.status, that substitutes the proper values into
16669 # config.h.in to produce config.h.
16670
16671 # Create a delimiter string that does not exist in confdefs.h, to ease
16672 # handling of long lines.
16673 ac_delim='%!_!# '
16674 for ac_last_try in false false :; do
16675   ac_tt=`sed -n "/$ac_delim/p" confdefs.h`
16676   if test -z "$ac_tt"; then
16677     break
16678   elif $ac_last_try; then
16679     as_fn_error $? "could not make $CONFIG_HEADERS" "$LINENO" 5
16680   else
16681     ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
16682   fi
16683 done
16684
16685 # For the awk script, D is an array of macro values keyed by name,
16686 # likewise P contains macro parameters if any.  Preserve backslash
16687 # newline sequences.
16688
16689 ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]*
16690 sed -n '
16691 s/.\{148\}/&'"$ac_delim"'/g
16692 t rset
16693 :rset
16694 s/^[     ]*#[    ]*define[       ][      ]*/ /
16695 t def
16696 d
16697 :def
16698 s/\\$//
16699 t bsnl
16700 s/["\\]/\\&/g
16701 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[     ]*\(.*\)/P["\1"]="\2"\
16702 D["\1"]=" \3"/p
16703 s/^ \('"$ac_word_re"'\)[         ]*\(.*\)/D["\1"]=" \2"/p
16704 d
16705 :bsnl
16706 s/["\\]/\\&/g
16707 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[     ]*\(.*\)/P["\1"]="\2"\
16708 D["\1"]=" \3\\\\\\n"\\/p
16709 t cont
16710 s/^ \('"$ac_word_re"'\)[         ]*\(.*\)/D["\1"]=" \2\\\\\\n"\\/p
16711 t cont
16712 d
16713 :cont
16714 n
16715 s/.\{148\}/&'"$ac_delim"'/g
16716 t clear
16717 :clear
16718 s/\\$//
16719 t bsnlc
16720 s/["\\]/\\&/g; s/^/"/; s/$/"/p
16721 d
16722 :bsnlc
16723 s/["\\]/\\&/g; s/^/"/; s/$/\\\\\\n"\\/p
16724 b cont
16725 ' <confdefs.h | sed '
16726 s/'"$ac_delim"'/"\\\
16727 "/g' >>$CONFIG_STATUS || ac_write_fail=1
16728
16729 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
16730   for (key in D) D_is_set[key] = 1
16731   FS = "\a"
16732 }
16733 /^[\t ]*#[\t ]*(define|undef)[\t ]+$ac_word_re([\t (]|\$)/ {
16734   line = \$ 0
16735   split(line, arg, " ")
16736   if (arg[1] == "#") {
16737     defundef = arg[2]
16738     mac1 = arg[3]
16739   } else {
16740     defundef = substr(arg[1], 2)
16741     mac1 = arg[2]
16742   }
16743   split(mac1, mac2, "(") #)
16744   macro = mac2[1]
16745   prefix = substr(line, 1, index(line, defundef) - 1)
16746   if (D_is_set[macro]) {
16747     # Preserve the white space surrounding the "#".
16748     print prefix "define", macro P[macro] D[macro]
16749     next
16750   } else {
16751     # Replace #undef with comments.  This is necessary, for example,
16752     # in the case of _POSIX_SOURCE, which is predefined and required
16753     # on some systems where configure will not decide to define it.
16754     if (defundef == "undef") {
16755       print "/*", prefix defundef, macro, "*/"
16756       next
16757     }
16758   }
16759 }
16760 { print }
16761 _ACAWK
16762 _ACEOF
16763 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
16764   as_fn_error $? "could not setup config headers machinery" "$LINENO" 5
16765 fi # test -n "$CONFIG_HEADERS"
16766
16767
16768 eval set X "  :F $CONFIG_FILES  :H $CONFIG_HEADERS    :C $CONFIG_COMMANDS"
16769 shift
16770 for ac_tag
16771 do
16772   case $ac_tag in
16773   :[FHLC]) ac_mode=$ac_tag; continue;;
16774   esac
16775   case $ac_mode$ac_tag in
16776   :[FHL]*:*);;
16777   :L* | :C*:*) as_fn_error $? "invalid tag \`$ac_tag'" "$LINENO" 5;;
16778   :[FH]-) ac_tag=-:-;;
16779   :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
16780   esac
16781   ac_save_IFS=$IFS
16782   IFS=:
16783   set x $ac_tag
16784   IFS=$ac_save_IFS
16785   shift
16786   ac_file=$1
16787   shift
16788
16789   case $ac_mode in
16790   :L) ac_source=$1;;
16791   :[FH])
16792     ac_file_inputs=
16793     for ac_f
16794     do
16795       case $ac_f in
16796       -) ac_f="$ac_tmp/stdin";;
16797       *) # Look for the file first in the build tree, then in the source tree
16798          # (if the path is not absolute).  The absolute path cannot be DOS-style,
16799          # because $ac_f cannot contain `:'.
16800          test -f "$ac_f" ||
16801            case $ac_f in
16802            [\\/$]*) false;;
16803            *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
16804            esac ||
16805            as_fn_error 1 "cannot find input file: \`$ac_f'" "$LINENO" 5;;
16806       esac
16807       case $ac_f in *\'*) ac_f=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
16808       as_fn_append ac_file_inputs " '$ac_f'"
16809     done
16810
16811     # Let's still pretend it is `configure' which instantiates (i.e., don't
16812     # use $as_me), people would be surprised to read:
16813     #    /* config.h.  Generated by config.status.  */
16814     configure_input='Generated from '`
16815           $as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
16816         `' by configure.'
16817     if test x"$ac_file" != x-; then
16818       configure_input="$ac_file.  $configure_input"
16819       { $as_echo "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5
16820 $as_echo "$as_me: creating $ac_file" >&6;}
16821     fi
16822     # Neutralize special characters interpreted by sed in replacement strings.
16823     case $configure_input in #(
16824     *\&* | *\|* | *\\* )
16825        ac_sed_conf_input=`$as_echo "$configure_input" |
16826        sed 's/[\\\\&|]/\\\\&/g'`;; #(
16827     *) ac_sed_conf_input=$configure_input;;
16828     esac
16829
16830     case $ac_tag in
16831     *:-:* | *:-) cat >"$ac_tmp/stdin" \
16832       || as_fn_error $? "could not create $ac_file" "$LINENO" 5 ;;
16833     esac
16834     ;;
16835   esac
16836
16837   ac_dir=`$as_dirname -- "$ac_file" ||
16838 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
16839          X"$ac_file" : 'X\(//\)[^/]' \| \
16840          X"$ac_file" : 'X\(//\)$' \| \
16841          X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
16842 $as_echo X"$ac_file" |
16843     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
16844             s//\1/
16845             q
16846           }
16847           /^X\(\/\/\)[^/].*/{
16848             s//\1/
16849             q
16850           }
16851           /^X\(\/\/\)$/{
16852             s//\1/
16853             q
16854           }
16855           /^X\(\/\).*/{
16856             s//\1/
16857             q
16858           }
16859           s/.*/./; q'`
16860   as_dir="$ac_dir"; as_fn_mkdir_p
16861   ac_builddir=.
16862
16863 case "$ac_dir" in
16864 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
16865 *)
16866   ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
16867   # A ".." for each directory in $ac_dir_suffix.
16868   ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
16869   case $ac_top_builddir_sub in
16870   "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
16871   *)  ac_top_build_prefix=$ac_top_builddir_sub/ ;;
16872   esac ;;
16873 esac
16874 ac_abs_top_builddir=$ac_pwd
16875 ac_abs_builddir=$ac_pwd$ac_dir_suffix
16876 # for backward compatibility:
16877 ac_top_builddir=$ac_top_build_prefix
16878
16879 case $srcdir in
16880   .)  # We are building in place.
16881     ac_srcdir=.
16882     ac_top_srcdir=$ac_top_builddir_sub
16883     ac_abs_top_srcdir=$ac_pwd ;;
16884   [\\/]* | ?:[\\/]* )  # Absolute name.
16885     ac_srcdir=$srcdir$ac_dir_suffix;
16886     ac_top_srcdir=$srcdir
16887     ac_abs_top_srcdir=$srcdir ;;
16888   *) # Relative name.
16889     ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
16890     ac_top_srcdir=$ac_top_build_prefix$srcdir
16891     ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
16892 esac
16893 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
16894
16895
16896   case $ac_mode in
16897   :F)
16898   #
16899   # CONFIG_FILE
16900   #
16901
16902   case $INSTALL in
16903   [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
16904   *) ac_INSTALL=$ac_top_build_prefix$INSTALL ;;
16905   esac
16906   ac_MKDIR_P=$MKDIR_P
16907   case $MKDIR_P in
16908   [\\/$]* | ?:[\\/]* ) ;;
16909   */*) ac_MKDIR_P=$ac_top_build_prefix$MKDIR_P ;;
16910   esac
16911 _ACEOF
16912
16913 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
16914 # If the template does not know about datarootdir, expand it.
16915 # FIXME: This hack should be removed a few years after 2.60.
16916 ac_datarootdir_hack=; ac_datarootdir_seen=
16917 ac_sed_dataroot='
16918 /datarootdir/ {
16919   p
16920   q
16921 }
16922 /@datadir@/p
16923 /@docdir@/p
16924 /@infodir@/p
16925 /@localedir@/p
16926 /@mandir@/p'
16927 case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in
16928 *datarootdir*) ac_datarootdir_seen=yes;;
16929 *@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*)
16930   { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
16931 $as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
16932 _ACEOF
16933 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
16934   ac_datarootdir_hack='
16935   s&@datadir@&$datadir&g
16936   s&@docdir@&$docdir&g
16937   s&@infodir@&$infodir&g
16938   s&@localedir@&$localedir&g
16939   s&@mandir@&$mandir&g
16940   s&\\\${datarootdir}&$datarootdir&g' ;;
16941 esac
16942 _ACEOF
16943
16944 # Neutralize VPATH when `$srcdir' = `.'.
16945 # Shell code in configure.ac might set extrasub.
16946 # FIXME: do we really want to maintain this feature?
16947 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
16948 ac_sed_extra="$ac_vpsub
16949 $extrasub
16950 _ACEOF
16951 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
16952 :t
16953 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
16954 s|@configure_input@|$ac_sed_conf_input|;t t
16955 s&@top_builddir@&$ac_top_builddir_sub&;t t
16956 s&@top_build_prefix@&$ac_top_build_prefix&;t t
16957 s&@srcdir@&$ac_srcdir&;t t
16958 s&@abs_srcdir@&$ac_abs_srcdir&;t t
16959 s&@top_srcdir@&$ac_top_srcdir&;t t
16960 s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t
16961 s&@builddir@&$ac_builddir&;t t
16962 s&@abs_builddir@&$ac_abs_builddir&;t t
16963 s&@abs_top_builddir@&$ac_abs_top_builddir&;t t
16964 s&@INSTALL@&$ac_INSTALL&;t t
16965 s&@MKDIR_P@&$ac_MKDIR_P&;t t
16966 $ac_datarootdir_hack
16967 "
16968 eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$ac_tmp/subs.awk" \
16969   >$ac_tmp/out || as_fn_error $? "could not create $ac_file" "$LINENO" 5
16970
16971 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
16972   { ac_out=`sed -n '/\${datarootdir}/p' "$ac_tmp/out"`; test -n "$ac_out"; } &&
16973   { ac_out=`sed -n '/^[  ]*datarootdir[  ]*:*=/p' \
16974       "$ac_tmp/out"`; test -z "$ac_out"; } &&
16975   { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file contains a reference to the variable \`datarootdir'
16976 which seems to be undefined.  Please make sure it is defined" >&5
16977 $as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir'
16978 which seems to be undefined.  Please make sure it is defined" >&2;}
16979
16980   rm -f "$ac_tmp/stdin"
16981   case $ac_file in
16982   -) cat "$ac_tmp/out" && rm -f "$ac_tmp/out";;
16983   *) rm -f "$ac_file" && mv "$ac_tmp/out" "$ac_file";;
16984   esac \
16985   || as_fn_error $? "could not create $ac_file" "$LINENO" 5
16986  ;;
16987   :H)
16988   #
16989   # CONFIG_HEADER
16990   #
16991   if test x"$ac_file" != x-; then
16992     {
16993       $as_echo "/* $configure_input  */" \
16994       && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs"
16995     } >"$ac_tmp/config.h" \
16996       || as_fn_error $? "could not create $ac_file" "$LINENO" 5
16997     if diff "$ac_file" "$ac_tmp/config.h" >/dev/null 2>&1; then
16998       { $as_echo "$as_me:${as_lineno-$LINENO}: $ac_file is unchanged" >&5
16999 $as_echo "$as_me: $ac_file is unchanged" >&6;}
17000     else
17001       rm -f "$ac_file"
17002       mv "$ac_tmp/config.h" "$ac_file" \
17003         || as_fn_error $? "could not create $ac_file" "$LINENO" 5
17004     fi
17005   else
17006     $as_echo "/* $configure_input  */" \
17007       && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs" \
17008       || as_fn_error $? "could not create -" "$LINENO" 5
17009   fi
17010 # Compute "$ac_file"'s index in $config_headers.
17011 _am_arg="$ac_file"
17012 _am_stamp_count=1
17013 for _am_header in $config_headers :; do
17014   case $_am_header in
17015     $_am_arg | $_am_arg:* )
17016       break ;;
17017     * )
17018       _am_stamp_count=`expr $_am_stamp_count + 1` ;;
17019   esac
17020 done
17021 echo "timestamp for $_am_arg" >`$as_dirname -- "$_am_arg" ||
17022 $as_expr X"$_am_arg" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
17023          X"$_am_arg" : 'X\(//\)[^/]' \| \
17024          X"$_am_arg" : 'X\(//\)$' \| \
17025          X"$_am_arg" : 'X\(/\)' \| . 2>/dev/null ||
17026 $as_echo X"$_am_arg" |
17027     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
17028             s//\1/
17029             q
17030           }
17031           /^X\(\/\/\)[^/].*/{
17032             s//\1/
17033             q
17034           }
17035           /^X\(\/\/\)$/{
17036             s//\1/
17037             q
17038           }
17039           /^X\(\/\).*/{
17040             s//\1/
17041             q
17042           }
17043           s/.*/./; q'`/stamp-h$_am_stamp_count
17044  ;;
17045
17046   :C)  { $as_echo "$as_me:${as_lineno-$LINENO}: executing $ac_file commands" >&5
17047 $as_echo "$as_me: executing $ac_file commands" >&6;}
17048  ;;
17049   esac
17050
17051
17052   case $ac_file$ac_mode in
17053     "depfiles":C) test x"$AMDEP_TRUE" != x"" || {
17054   # Autoconf 2.62 quotes --file arguments for eval, but not when files
17055   # are listed without --file.  Let's play safe and only enable the eval
17056   # if we detect the quoting.
17057   case $CONFIG_FILES in
17058   *\'*) eval set x "$CONFIG_FILES" ;;
17059   *)   set x $CONFIG_FILES ;;
17060   esac
17061   shift
17062   for mf
17063   do
17064     # Strip MF so we end up with the name of the file.
17065     mf=`echo "$mf" | sed -e 's/:.*$//'`
17066     # Check whether this is an Automake generated Makefile or not.
17067     # We used to match only the files named `Makefile.in', but
17068     # some people rename them; so instead we look at the file content.
17069     # Grep'ing the first line is not enough: some people post-process
17070     # each Makefile.in and add a new line on top of each file to say so.
17071     # Grep'ing the whole file is not good either: AIX grep has a line
17072     # limit of 2048, but all sed's we know have understand at least 4000.
17073     if sed -n 's,^#.*generated by automake.*,X,p' "$mf" | grep X >/dev/null 2>&1; then
17074       dirpart=`$as_dirname -- "$mf" ||
17075 $as_expr X"$mf" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
17076          X"$mf" : 'X\(//\)[^/]' \| \
17077          X"$mf" : 'X\(//\)$' \| \
17078          X"$mf" : 'X\(/\)' \| . 2>/dev/null ||
17079 $as_echo X"$mf" |
17080     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
17081             s//\1/
17082             q
17083           }
17084           /^X\(\/\/\)[^/].*/{
17085             s//\1/
17086             q
17087           }
17088           /^X\(\/\/\)$/{
17089             s//\1/
17090             q
17091           }
17092           /^X\(\/\).*/{
17093             s//\1/
17094             q
17095           }
17096           s/.*/./; q'`
17097     else
17098       continue
17099     fi
17100     # Extract the definition of DEPDIR, am__include, and am__quote
17101     # from the Makefile without running `make'.
17102     DEPDIR=`sed -n 's/^DEPDIR = //p' < "$mf"`
17103     test -z "$DEPDIR" && continue
17104     am__include=`sed -n 's/^am__include = //p' < "$mf"`
17105     test -z "am__include" && continue
17106     am__quote=`sed -n 's/^am__quote = //p' < "$mf"`
17107     # When using ansi2knr, U may be empty or an underscore; expand it
17108     U=`sed -n 's/^U = //p' < "$mf"`
17109     # Find all dependency output files, they are included files with
17110     # $(DEPDIR) in their names.  We invoke sed twice because it is the
17111     # simplest approach to changing $(DEPDIR) to its actual value in the
17112     # expansion.
17113     for file in `sed -n "
17114       s/^$am__include $am__quote\(.*(DEPDIR).*\)$am__quote"'$/\1/p' <"$mf" | \
17115          sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g' -e 's/\$U/'"$U"'/g'`; do
17116       # Make sure the directory exists.
17117       test -f "$dirpart/$file" && continue
17118       fdir=`$as_dirname -- "$file" ||
17119 $as_expr X"$file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
17120          X"$file" : 'X\(//\)[^/]' \| \
17121          X"$file" : 'X\(//\)$' \| \
17122          X"$file" : 'X\(/\)' \| . 2>/dev/null ||
17123 $as_echo X"$file" |
17124     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
17125             s//\1/
17126             q
17127           }
17128           /^X\(\/\/\)[^/].*/{
17129             s//\1/
17130             q
17131           }
17132           /^X\(\/\/\)$/{
17133             s//\1/
17134             q
17135           }
17136           /^X\(\/\).*/{
17137             s//\1/
17138             q
17139           }
17140           s/.*/./; q'`
17141       as_dir=$dirpart/$fdir; as_fn_mkdir_p
17142       # echo "creating $dirpart/$file"
17143       echo '# dummy' > "$dirpart/$file"
17144     done
17145   done
17146 }
17147  ;;
17148     "libtool":C)
17149
17150     # See if we are running on zsh, and set the options which allow our
17151     # commands through without removal of \ escapes.
17152     if test -n "${ZSH_VERSION+set}" ; then
17153       setopt NO_GLOB_SUBST
17154     fi
17155
17156     cfgfile="${ofile}T"
17157     trap "$RM \"$cfgfile\"; exit 1" 1 2 15
17158     $RM "$cfgfile"
17159
17160     cat <<_LT_EOF >> "$cfgfile"
17161 #! $SHELL
17162
17163 # `$ECHO "$ofile" | sed 's%^.*/%%'` - Provide generalized library-building support services.
17164 # Generated automatically by $as_me ($PACKAGE$TIMESTAMP) $VERSION
17165 # Libtool was configured on host `(hostname || uname -n) 2>/dev/null | sed 1q`:
17166 # NOTE: Changes made to this file will be lost: look at ltmain.sh.
17167 #
17168 #   Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2003, 2004, 2005,
17169 #                 2006, 2007, 2008, 2009, 2010, 2011 Free Software
17170 #                 Foundation, Inc.
17171 #   Written by Gordon Matzigkeit, 1996
17172 #
17173 #   This file is part of GNU Libtool.
17174 #
17175 # GNU Libtool is free software; you can redistribute it and/or
17176 # modify it under the terms of the GNU General Public License as
17177 # published by the Free Software Foundation; either version 2 of
17178 # the License, or (at your option) any later version.
17179 #
17180 # As a special exception to the GNU General Public License,
17181 # if you distribute this file as part of a program or library that
17182 # is built using GNU Libtool, you may include this file under the
17183 # same distribution terms that you use for the rest of that program.
17184 #
17185 # GNU Libtool is distributed in the hope that it will be useful,
17186 # but WITHOUT ANY WARRANTY; without even the implied warranty of
17187 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
17188 # GNU General Public License for more details.
17189 #
17190 # You should have received a copy of the GNU General Public License
17191 # along with GNU Libtool; see the file COPYING.  If not, a copy
17192 # can be downloaded from http://www.gnu.org/licenses/gpl.html, or
17193 # obtained by writing to the Free Software Foundation, Inc.,
17194 # 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
17195
17196
17197 # The names of the tagged configurations supported by this script.
17198 available_tags=""
17199
17200 # ### BEGIN LIBTOOL CONFIG
17201
17202 # Which release of libtool.m4 was used?
17203 macro_version=$macro_version
17204 macro_revision=$macro_revision
17205
17206 # Assembler program.
17207 AS=$lt_AS
17208
17209 # DLL creation program.
17210 DLLTOOL=$lt_DLLTOOL
17211
17212 # Object dumper program.
17213 OBJDUMP=$lt_OBJDUMP
17214
17215 # Whether or not to build static libraries.
17216 build_old_libs=$enable_static
17217
17218 # Whether or not to build shared libraries.
17219 build_libtool_libs=$enable_shared
17220
17221 # What type of objects to build.
17222 pic_mode=$pic_mode
17223
17224 # Whether or not to optimize for fast installation.
17225 fast_install=$enable_fast_install
17226
17227 # Shell to use when invoking shell scripts.
17228 SHELL=$lt_SHELL
17229
17230 # An echo program that protects backslashes.
17231 ECHO=$lt_ECHO
17232
17233 # The PATH separator for the build system.
17234 PATH_SEPARATOR=$lt_PATH_SEPARATOR
17235
17236 # The host system.
17237 host_alias=$host_alias
17238 host=$host
17239 host_os=$host_os
17240
17241 # The build system.
17242 build_alias=$build_alias
17243 build=$build
17244 build_os=$build_os
17245
17246 # A sed program that does not truncate output.
17247 SED=$lt_SED
17248
17249 # Sed that helps us avoid accidentally triggering echo(1) options like -n.
17250 Xsed="\$SED -e 1s/^X//"
17251
17252 # A grep program that handles long lines.
17253 GREP=$lt_GREP
17254
17255 # An ERE matcher.
17256 EGREP=$lt_EGREP
17257
17258 # A literal string matcher.
17259 FGREP=$lt_FGREP
17260
17261 # A BSD- or MS-compatible name lister.
17262 NM=$lt_NM
17263
17264 # Whether we need soft or hard links.
17265 LN_S=$lt_LN_S
17266
17267 # What is the maximum length of a command?
17268 max_cmd_len=$max_cmd_len
17269
17270 # Object file suffix (normally "o").
17271 objext=$ac_objext
17272
17273 # Executable file suffix (normally "").
17274 exeext=$exeext
17275
17276 # whether the shell understands "unset".
17277 lt_unset=$lt_unset
17278
17279 # turn spaces into newlines.
17280 SP2NL=$lt_lt_SP2NL
17281
17282 # turn newlines into spaces.
17283 NL2SP=$lt_lt_NL2SP
17284
17285 # convert \$build file names to \$host format.
17286 to_host_file_cmd=$lt_cv_to_host_file_cmd
17287
17288 # convert \$build files to toolchain format.
17289 to_tool_file_cmd=$lt_cv_to_tool_file_cmd
17290
17291 # Method to check whether dependent libraries are shared objects.
17292 deplibs_check_method=$lt_deplibs_check_method
17293
17294 # Command to use when deplibs_check_method = "file_magic".
17295 file_magic_cmd=$lt_file_magic_cmd
17296
17297 # How to find potential files when deplibs_check_method = "file_magic".
17298 file_magic_glob=$lt_file_magic_glob
17299
17300 # Find potential files using nocaseglob when deplibs_check_method = "file_magic".
17301 want_nocaseglob=$lt_want_nocaseglob
17302
17303 # Command to associate shared and link libraries.
17304 sharedlib_from_linklib_cmd=$lt_sharedlib_from_linklib_cmd
17305
17306 # The archiver.
17307 AR=$lt_AR
17308
17309 # Flags to create an archive.
17310 AR_FLAGS=$lt_AR_FLAGS
17311
17312 # How to feed a file listing to the archiver.
17313 archiver_list_spec=$lt_archiver_list_spec
17314
17315 # A symbol stripping program.
17316 STRIP=$lt_STRIP
17317
17318 # Commands used to install an old-style archive.
17319 RANLIB=$lt_RANLIB
17320 old_postinstall_cmds=$lt_old_postinstall_cmds
17321 old_postuninstall_cmds=$lt_old_postuninstall_cmds
17322
17323 # Whether to use a lock for old archive extraction.
17324 lock_old_archive_extraction=$lock_old_archive_extraction
17325
17326 # A C compiler.
17327 LTCC=$lt_CC
17328
17329 # LTCC compiler flags.
17330 LTCFLAGS=$lt_CFLAGS
17331
17332 # Take the output of nm and produce a listing of raw symbols and C names.
17333 global_symbol_pipe=$lt_lt_cv_sys_global_symbol_pipe
17334
17335 # Transform the output of nm in a proper C declaration.
17336 global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl
17337
17338 # Transform the output of nm in a C name address pair.
17339 global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address
17340
17341 # Transform the output of nm in a C name address pair when lib prefix is needed.
17342 global_symbol_to_c_name_address_lib_prefix=$lt_lt_cv_sys_global_symbol_to_c_name_address_lib_prefix
17343
17344 # Specify filename containing input files for \$NM.
17345 nm_file_list_spec=$lt_nm_file_list_spec
17346
17347 # The root where to search for dependent libraries,and in which our libraries should be installed.
17348 lt_sysroot=$lt_sysroot
17349
17350 # The name of the directory that contains temporary libtool files.
17351 objdir=$objdir
17352
17353 # Used to examine libraries when file_magic_cmd begins with "file".
17354 MAGIC_CMD=$MAGIC_CMD
17355
17356 # Must we lock files when doing compilation?
17357 need_locks=$lt_need_locks
17358
17359 # Manifest tool.
17360 MANIFEST_TOOL=$lt_MANIFEST_TOOL
17361
17362 # Tool to manipulate archived DWARF debug symbol files on Mac OS X.
17363 DSYMUTIL=$lt_DSYMUTIL
17364
17365 # Tool to change global to local symbols on Mac OS X.
17366 NMEDIT=$lt_NMEDIT
17367
17368 # Tool to manipulate fat objects and archives on Mac OS X.
17369 LIPO=$lt_LIPO
17370
17371 # ldd/readelf like tool for Mach-O binaries on Mac OS X.
17372 OTOOL=$lt_OTOOL
17373
17374 # ldd/readelf like tool for 64 bit Mach-O binaries on Mac OS X 10.4.
17375 OTOOL64=$lt_OTOOL64
17376
17377 # Old archive suffix (normally "a").
17378 libext=$libext
17379
17380 # Shared library suffix (normally ".so").
17381 shrext_cmds=$lt_shrext_cmds
17382
17383 # The commands to extract the exported symbol list from a shared archive.
17384 extract_expsyms_cmds=$lt_extract_expsyms_cmds
17385
17386 # Variables whose values should be saved in libtool wrapper scripts and
17387 # restored at link time.
17388 variables_saved_for_relink=$lt_variables_saved_for_relink
17389
17390 # Do we need the "lib" prefix for modules?
17391 need_lib_prefix=$need_lib_prefix
17392
17393 # Do we need a version for libraries?
17394 need_version=$need_version
17395
17396 # Library versioning type.
17397 version_type=$version_type
17398
17399 # Shared library runtime path variable.
17400 runpath_var=$runpath_var
17401
17402 # Shared library path variable.
17403 shlibpath_var=$shlibpath_var
17404
17405 # Is shlibpath searched before the hard-coded library search path?
17406 shlibpath_overrides_runpath=$shlibpath_overrides_runpath
17407
17408 # Format of library name prefix.
17409 libname_spec=$lt_libname_spec
17410
17411 # List of archive names.  First name is the real one, the rest are links.
17412 # The last name is the one that the linker finds with -lNAME
17413 library_names_spec=$lt_library_names_spec
17414
17415 # The coded name of the library, if different from the real name.
17416 soname_spec=$lt_soname_spec
17417
17418 # Permission mode override for installation of shared libraries.
17419 install_override_mode=$lt_install_override_mode
17420
17421 # Command to use after installation of a shared archive.
17422 postinstall_cmds=$lt_postinstall_cmds
17423
17424 # Command to use after uninstallation of a shared archive.
17425 postuninstall_cmds=$lt_postuninstall_cmds
17426
17427 # Commands used to finish a libtool library installation in a directory.
17428 finish_cmds=$lt_finish_cmds
17429
17430 # As "finish_cmds", except a single script fragment to be evaled but
17431 # not shown.
17432 finish_eval=$lt_finish_eval
17433
17434 # Whether we should hardcode library paths into libraries.
17435 hardcode_into_libs=$hardcode_into_libs
17436
17437 # Compile-time system search path for libraries.
17438 sys_lib_search_path_spec=$lt_sys_lib_search_path_spec
17439
17440 # Run-time system search path for libraries.
17441 sys_lib_dlsearch_path_spec=$lt_sys_lib_dlsearch_path_spec
17442
17443 # Whether dlopen is supported.
17444 dlopen_support=$enable_dlopen
17445
17446 # Whether dlopen of programs is supported.
17447 dlopen_self=$enable_dlopen_self
17448
17449 # Whether dlopen of statically linked programs is supported.
17450 dlopen_self_static=$enable_dlopen_self_static
17451
17452 # Commands to strip libraries.
17453 old_striplib=$lt_old_striplib
17454 striplib=$lt_striplib
17455
17456
17457 # The linker used to build libraries.
17458 LD=$lt_LD
17459
17460 # How to create reloadable object files.
17461 reload_flag=$lt_reload_flag
17462 reload_cmds=$lt_reload_cmds
17463
17464 # Commands used to build an old-style archive.
17465 old_archive_cmds=$lt_old_archive_cmds
17466
17467 # A language specific compiler.
17468 CC=$lt_compiler
17469
17470 # Is the compiler the GNU compiler?
17471 with_gcc=$GCC
17472
17473 # Compiler flag to turn off builtin functions.
17474 no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag
17475
17476 # Additional compiler flags for building library objects.
17477 pic_flag=$lt_lt_prog_compiler_pic
17478
17479 # How to pass a linker flag through the compiler.
17480 wl=$lt_lt_prog_compiler_wl
17481
17482 # Compiler flag to prevent dynamic linking.
17483 link_static_flag=$lt_lt_prog_compiler_static
17484
17485 # Does compiler simultaneously support -c and -o options?
17486 compiler_c_o=$lt_lt_cv_prog_compiler_c_o
17487
17488 # Whether or not to add -lc for building shared libraries.
17489 build_libtool_need_lc=$archive_cmds_need_lc
17490
17491 # Whether or not to disallow shared libs when runtime libs are static.
17492 allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes
17493
17494 # Compiler flag to allow reflexive dlopens.
17495 export_dynamic_flag_spec=$lt_export_dynamic_flag_spec
17496
17497 # Compiler flag to generate shared objects directly from archives.
17498 whole_archive_flag_spec=$lt_whole_archive_flag_spec
17499
17500 # Whether the compiler copes with passing no objects directly.
17501 compiler_needs_object=$lt_compiler_needs_object
17502
17503 # Create an old-style archive from a shared archive.
17504 old_archive_from_new_cmds=$lt_old_archive_from_new_cmds
17505
17506 # Create a temporary old-style archive to link instead of a shared archive.
17507 old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds
17508
17509 # Commands used to build a shared archive.
17510 archive_cmds=$lt_archive_cmds
17511 archive_expsym_cmds=$lt_archive_expsym_cmds
17512
17513 # Commands used to build a loadable module if different from building
17514 # a shared archive.
17515 module_cmds=$lt_module_cmds
17516 module_expsym_cmds=$lt_module_expsym_cmds
17517
17518 # Whether we are building with GNU ld or not.
17519 with_gnu_ld=$lt_with_gnu_ld
17520
17521 # Flag that allows shared libraries with undefined symbols to be built.
17522 allow_undefined_flag=$lt_allow_undefined_flag
17523
17524 # Flag that enforces no undefined symbols.
17525 no_undefined_flag=$lt_no_undefined_flag
17526
17527 # Flag to hardcode \$libdir into a binary during linking.
17528 # This must work even if \$libdir does not exist
17529 hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec
17530
17531 # Whether we need a single "-rpath" flag with a separated argument.
17532 hardcode_libdir_separator=$lt_hardcode_libdir_separator
17533
17534 # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
17535 # DIR into the resulting binary.
17536 hardcode_direct=$hardcode_direct
17537
17538 # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
17539 # DIR into the resulting binary and the resulting library dependency is
17540 # "absolute",i.e impossible to change by setting \${shlibpath_var} if the
17541 # library is relocated.
17542 hardcode_direct_absolute=$hardcode_direct_absolute
17543
17544 # Set to "yes" if using the -LDIR flag during linking hardcodes DIR
17545 # into the resulting binary.
17546 hardcode_minus_L=$hardcode_minus_L
17547
17548 # Set to "yes" if using SHLIBPATH_VAR=DIR during linking hardcodes DIR
17549 # into the resulting binary.
17550 hardcode_shlibpath_var=$hardcode_shlibpath_var
17551
17552 # Set to "yes" if building a shared library automatically hardcodes DIR
17553 # into the library and all subsequent libraries and executables linked
17554 # against it.
17555 hardcode_automatic=$hardcode_automatic
17556
17557 # Set to yes if linker adds runtime paths of dependent libraries
17558 # to runtime path list.
17559 inherit_rpath=$inherit_rpath
17560
17561 # Whether libtool must link a program against all its dependency libraries.
17562 link_all_deplibs=$link_all_deplibs
17563
17564 # Set to "yes" if exported symbols are required.
17565 always_export_symbols=$always_export_symbols
17566
17567 # The commands to list exported symbols.
17568 export_symbols_cmds=$lt_export_symbols_cmds
17569
17570 # Symbols that should not be listed in the preloaded symbols.
17571 exclude_expsyms=$lt_exclude_expsyms
17572
17573 # Symbols that must always be exported.
17574 include_expsyms=$lt_include_expsyms
17575
17576 # Commands necessary for linking programs (against libraries) with templates.
17577 prelink_cmds=$lt_prelink_cmds
17578
17579 # Commands necessary for finishing linking programs.
17580 postlink_cmds=$lt_postlink_cmds
17581
17582 # Specify filename containing input files.
17583 file_list_spec=$lt_file_list_spec
17584
17585 # How to hardcode a shared library path into an executable.
17586 hardcode_action=$hardcode_action
17587
17588 # ### END LIBTOOL CONFIG
17589
17590 _LT_EOF
17591
17592   case $host_os in
17593   aix3*)
17594     cat <<\_LT_EOF >> "$cfgfile"
17595 # AIX sometimes has problems with the GCC collect2 program.  For some
17596 # reason, if we set the COLLECT_NAMES environment variable, the problems
17597 # vanish in a puff of smoke.
17598 if test "X${COLLECT_NAMES+set}" != Xset; then
17599   COLLECT_NAMES=
17600   export COLLECT_NAMES
17601 fi
17602 _LT_EOF
17603     ;;
17604   esac
17605
17606
17607 ltmain="$ac_aux_dir/ltmain.sh"
17608
17609
17610   # We use sed instead of cat because bash on DJGPP gets confused if
17611   # if finds mixed CR/LF and LF-only lines.  Since sed operates in
17612   # text mode, it properly converts lines to CR/LF.  This bash problem
17613   # is reportedly fixed, but why not run on old versions too?
17614   sed '$q' "$ltmain" >> "$cfgfile" \
17615      || (rm -f "$cfgfile"; exit 1)
17616
17617   if test x"$xsi_shell" = xyes; then
17618   sed -e '/^func_dirname ()$/,/^} # func_dirname /c\
17619 func_dirname ()\
17620 {\
17621 \    case ${1} in\
17622 \      */*) func_dirname_result="${1%/*}${2}" ;;\
17623 \      *  ) func_dirname_result="${3}" ;;\
17624 \    esac\
17625 } # Extended-shell func_dirname implementation' "$cfgfile" > $cfgfile.tmp \
17626   && mv -f "$cfgfile.tmp" "$cfgfile" \
17627     || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
17628 test 0 -eq $? || _lt_function_replace_fail=:
17629
17630
17631   sed -e '/^func_basename ()$/,/^} # func_basename /c\
17632 func_basename ()\
17633 {\
17634 \    func_basename_result="${1##*/}"\
17635 } # Extended-shell func_basename implementation' "$cfgfile" > $cfgfile.tmp \
17636   && mv -f "$cfgfile.tmp" "$cfgfile" \
17637     || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
17638 test 0 -eq $? || _lt_function_replace_fail=:
17639
17640
17641   sed -e '/^func_dirname_and_basename ()$/,/^} # func_dirname_and_basename /c\
17642 func_dirname_and_basename ()\
17643 {\
17644 \    case ${1} in\
17645 \      */*) func_dirname_result="${1%/*}${2}" ;;\
17646 \      *  ) func_dirname_result="${3}" ;;\
17647 \    esac\
17648 \    func_basename_result="${1##*/}"\
17649 } # Extended-shell func_dirname_and_basename implementation' "$cfgfile" > $cfgfile.tmp \
17650   && mv -f "$cfgfile.tmp" "$cfgfile" \
17651     || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
17652 test 0 -eq $? || _lt_function_replace_fail=:
17653
17654
17655   sed -e '/^func_stripname ()$/,/^} # func_stripname /c\
17656 func_stripname ()\
17657 {\
17658 \    # pdksh 5.2.14 does not do ${X%$Y} correctly if both X and Y are\
17659 \    # positional parameters, so assign one to ordinary parameter first.\
17660 \    func_stripname_result=${3}\
17661 \    func_stripname_result=${func_stripname_result#"${1}"}\
17662 \    func_stripname_result=${func_stripname_result%"${2}"}\
17663 } # Extended-shell func_stripname implementation' "$cfgfile" > $cfgfile.tmp \
17664   && mv -f "$cfgfile.tmp" "$cfgfile" \
17665     || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
17666 test 0 -eq $? || _lt_function_replace_fail=:
17667
17668
17669   sed -e '/^func_split_long_opt ()$/,/^} # func_split_long_opt /c\
17670 func_split_long_opt ()\
17671 {\
17672 \    func_split_long_opt_name=${1%%=*}\
17673 \    func_split_long_opt_arg=${1#*=}\
17674 } # Extended-shell func_split_long_opt implementation' "$cfgfile" > $cfgfile.tmp \
17675   && mv -f "$cfgfile.tmp" "$cfgfile" \
17676     || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
17677 test 0 -eq $? || _lt_function_replace_fail=:
17678
17679
17680   sed -e '/^func_split_short_opt ()$/,/^} # func_split_short_opt /c\
17681 func_split_short_opt ()\
17682 {\
17683 \    func_split_short_opt_arg=${1#??}\
17684 \    func_split_short_opt_name=${1%"$func_split_short_opt_arg"}\
17685 } # Extended-shell func_split_short_opt implementation' "$cfgfile" > $cfgfile.tmp \
17686   && mv -f "$cfgfile.tmp" "$cfgfile" \
17687     || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
17688 test 0 -eq $? || _lt_function_replace_fail=:
17689
17690
17691   sed -e '/^func_lo2o ()$/,/^} # func_lo2o /c\
17692 func_lo2o ()\
17693 {\
17694 \    case ${1} in\
17695 \      *.lo) func_lo2o_result=${1%.lo}.${objext} ;;\
17696 \      *)    func_lo2o_result=${1} ;;\
17697 \    esac\
17698 } # Extended-shell func_lo2o implementation' "$cfgfile" > $cfgfile.tmp \
17699   && mv -f "$cfgfile.tmp" "$cfgfile" \
17700     || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
17701 test 0 -eq $? || _lt_function_replace_fail=:
17702
17703
17704   sed -e '/^func_xform ()$/,/^} # func_xform /c\
17705 func_xform ()\
17706 {\
17707     func_xform_result=${1%.*}.lo\
17708 } # Extended-shell func_xform implementation' "$cfgfile" > $cfgfile.tmp \
17709   && mv -f "$cfgfile.tmp" "$cfgfile" \
17710     || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
17711 test 0 -eq $? || _lt_function_replace_fail=:
17712
17713
17714   sed -e '/^func_arith ()$/,/^} # func_arith /c\
17715 func_arith ()\
17716 {\
17717     func_arith_result=$(( $* ))\
17718 } # Extended-shell func_arith implementation' "$cfgfile" > $cfgfile.tmp \
17719   && mv -f "$cfgfile.tmp" "$cfgfile" \
17720     || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
17721 test 0 -eq $? || _lt_function_replace_fail=:
17722
17723
17724   sed -e '/^func_len ()$/,/^} # func_len /c\
17725 func_len ()\
17726 {\
17727     func_len_result=${#1}\
17728 } # Extended-shell func_len implementation' "$cfgfile" > $cfgfile.tmp \
17729   && mv -f "$cfgfile.tmp" "$cfgfile" \
17730     || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
17731 test 0 -eq $? || _lt_function_replace_fail=:
17732
17733 fi
17734
17735 if test x"$lt_shell_append" = xyes; then
17736   sed -e '/^func_append ()$/,/^} # func_append /c\
17737 func_append ()\
17738 {\
17739     eval "${1}+=\\${2}"\
17740 } # Extended-shell func_append implementation' "$cfgfile" > $cfgfile.tmp \
17741   && mv -f "$cfgfile.tmp" "$cfgfile" \
17742     || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
17743 test 0 -eq $? || _lt_function_replace_fail=:
17744
17745
17746   sed -e '/^func_append_quoted ()$/,/^} # func_append_quoted /c\
17747 func_append_quoted ()\
17748 {\
17749 \    func_quote_for_eval "${2}"\
17750 \    eval "${1}+=\\\\ \\$func_quote_for_eval_result"\
17751 } # Extended-shell func_append_quoted implementation' "$cfgfile" > $cfgfile.tmp \
17752   && mv -f "$cfgfile.tmp" "$cfgfile" \
17753     || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
17754 test 0 -eq $? || _lt_function_replace_fail=:
17755
17756
17757   # Save a `func_append' function call where possible by direct use of '+='
17758   sed -e 's%func_append \([a-zA-Z_]\{1,\}\) "%\1+="%g' $cfgfile > $cfgfile.tmp \
17759     && mv -f "$cfgfile.tmp" "$cfgfile" \
17760       || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
17761   test 0 -eq $? || _lt_function_replace_fail=:
17762 else
17763   # Save a `func_append' function call even when '+=' is not available
17764   sed -e 's%func_append \([a-zA-Z_]\{1,\}\) "%\1="$\1%g' $cfgfile > $cfgfile.tmp \
17765     && mv -f "$cfgfile.tmp" "$cfgfile" \
17766       || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
17767   test 0 -eq $? || _lt_function_replace_fail=:
17768 fi
17769
17770 if test x"$_lt_function_replace_fail" = x":"; then
17771   { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Unable to substitute extended shell functions in $ofile" >&5
17772 $as_echo "$as_me: WARNING: Unable to substitute extended shell functions in $ofile" >&2;}
17773 fi
17774
17775
17776    mv -f "$cfgfile" "$ofile" ||
17777     (rm -f "$ofile" && cp "$cfgfile" "$ofile" && rm -f "$cfgfile")
17778   chmod +x "$ofile"
17779
17780  ;;
17781
17782   esac
17783 done # for ac_tag
17784
17785
17786 as_fn_exit 0
17787 _ACEOF
17788 ac_clean_files=$ac_clean_files_save
17789
17790 test $ac_write_fail = 0 ||
17791   as_fn_error $? "write failure creating $CONFIG_STATUS" "$LINENO" 5
17792
17793
17794 # configure is writing to config.log, and then calls config.status.
17795 # config.status does its own redirection, appending to config.log.
17796 # Unfortunately, on DOS this fails, as config.log is still kept open
17797 # by configure, so config.status won't be able to write to it; its
17798 # output is simply discarded.  So we exec the FD to /dev/null,
17799 # effectively closing config.log, so it can be properly (re)opened and
17800 # appended to by config.status.  When coming back to configure, we
17801 # need to make the FD available again.
17802 if test "$no_create" != yes; then
17803   ac_cs_success=:
17804   ac_config_status_args=
17805   test "$silent" = yes &&
17806     ac_config_status_args="$ac_config_status_args --quiet"
17807   exec 5>/dev/null
17808   $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
17809   exec 5>>config.log
17810   # Use ||, not &&, to avoid exiting from the if with $? = 1, which
17811   # would make configure fail if this is the last instruction.
17812   $ac_cs_success || as_fn_exit 1
17813 fi
17814 if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no; then
17815   { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
17816 $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}
17817 fi
17818
17819
17820 { $as_echo "$as_me:${as_lineno-$LINENO}: result:
17821         pygobject $VERSION
17822
17823         Using python interpreter:       $PYTHON
17824         libffi support:                 $have_libffi
17825         cairo support:                  $enable_cairo
17826         thread support:                 $enable_thread
17827         code coverage support:          $enable_code_coverage
17828 " >&5
17829 $as_echo "
17830         pygobject $VERSION
17831
17832         Using python interpreter:       $PYTHON
17833         libffi support:                 $have_libffi
17834         cairo support:                  $enable_cairo
17835         thread support:                 $enable_thread
17836         code coverage support:          $enable_code_coverage
17837 " >&6; }
17838