Imported Upstream version 3.3.3.1
[platform/upstream/pygobject2.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.3.3.1.
4 #
5 # Report bugs to <http://bugzilla.gnome.org/enter_bug.cgi?product=pygobject>.
6 #
7 #
8 # Copyright (C) 1992-1996, 1998-2012 Free Software Foundation, Inc.
9 #
10 #
11 # This configure script is free software; the Free Software Foundation
12 # gives unlimited permission to copy, distribute and modify it.
13 ## -------------------- ##
14 ## M4sh Initialization. ##
15 ## -------------------- ##
16
17 # Be more Bourne compatible
18 DUALCASE=1; export DUALCASE # for MKS sh
19 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :
20   emulate sh
21   NULLCMD=:
22   # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
23   # is contrary to our usage.  Disable this feature.
24   alias -g '${1+"$@"}'='"$@"'
25   setopt NO_GLOB_SUBST
26 else
27   case `(set -o) 2>/dev/null` in #(
28   *posix*) :
29     set -o posix ;; #(
30   *) :
31      ;;
32 esac
33 fi
34
35
36 as_nl='
37 '
38 export as_nl
39 # Printing a long string crashes Solaris 7 /usr/bin/printf.
40 as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
41 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
42 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
43 # Prefer a ksh shell builtin over an external printf program on Solaris,
44 # but without wasting forks for bash or zsh.
45 if test -z "$BASH_VERSION$ZSH_VERSION" \
46     && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
47   as_echo='print -r --'
48   as_echo_n='print -rn --'
49 elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
50   as_echo='printf %s\n'
51   as_echo_n='printf %s'
52 else
53   if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
54     as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
55     as_echo_n='/usr/ucb/echo -n'
56   else
57     as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
58     as_echo_n_body='eval
59       arg=$1;
60       case $arg in #(
61       *"$as_nl"*)
62         expr "X$arg" : "X\\(.*\\)$as_nl";
63         arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
64       esac;
65       expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
66     '
67     export as_echo_n_body
68     as_echo_n='sh -c $as_echo_n_body as_echo'
69   fi
70   export as_echo_body
71   as_echo='sh -c $as_echo_body as_echo'
72 fi
73
74 # The user is always right.
75 if test "${PATH_SEPARATOR+set}" != set; then
76   PATH_SEPARATOR=:
77   (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
78     (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
79       PATH_SEPARATOR=';'
80   }
81 fi
82
83
84 # IFS
85 # We need space, tab and new line, in precisely that order.  Quoting is
86 # there to prevent editors from complaining about space-tab.
87 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
88 # splitting by setting IFS to empty value.)
89 IFS=" ""        $as_nl"
90
91 # Find who we are.  Look in the path if we contain no directory separator.
92 as_myself=
93 case $0 in #((
94   *[\\/]* ) as_myself=$0 ;;
95   *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
96 for as_dir in $PATH
97 do
98   IFS=$as_save_IFS
99   test -z "$as_dir" && as_dir=.
100     test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
101   done
102 IFS=$as_save_IFS
103
104      ;;
105 esac
106 # We did not find ourselves, most probably we were run as `sh COMMAND'
107 # in which case we are not to be found in the path.
108 if test "x$as_myself" = x; then
109   as_myself=$0
110 fi
111 if test ! -f "$as_myself"; then
112   $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
113   exit 1
114 fi
115
116 # Unset variables that we do not need and which cause bugs (e.g. in
117 # pre-3.0 UWIN ksh).  But do not cause bugs in bash 2.01; the "|| exit 1"
118 # suppresses any "Segmentation fault" message there.  '((' could
119 # trigger a bug in pdksh 5.2.14.
120 for as_var in BASH_ENV ENV MAIL MAILPATH
121 do eval test x\${$as_var+set} = xset \
122   && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
123 done
124 PS1='$ '
125 PS2='> '
126 PS4='+ '
127
128 # NLS nuisances.
129 LC_ALL=C
130 export LC_ALL
131 LANGUAGE=C
132 export LANGUAGE
133
134 # CDPATH.
135 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
136
137 # Use a proper internal environment variable to ensure we don't fall
138   # into an infinite loop, continuously re-executing ourselves.
139   if test x"${_as_can_reexec}" != xno && test "x$CONFIG_SHELL" != x; then
140     _as_can_reexec=no; export _as_can_reexec;
141     # We cannot yet assume a decent shell, so we have to provide a
142 # neutralization value for shells without unset; and this also
143 # works around shells that cannot unset nonexistent variables.
144 # Preserve -v and -x to the replacement shell.
145 BASH_ENV=/dev/null
146 ENV=/dev/null
147 (unset BASH_ENV) >/dev/null 2>&1 && unset BASH_ENV ENV
148 case $- in # ((((
149   *v*x* | *x*v* ) as_opts=-vx ;;
150   *v* ) as_opts=-v ;;
151   *x* ) as_opts=-x ;;
152   * ) as_opts= ;;
153 esac
154 exec $CONFIG_SHELL $as_opts "$as_myself" ${1+"$@"}
155 # Admittedly, this is quite paranoid, since all the known shells bail
156 # out after a failed `exec'.
157 $as_echo "$0: could not re-execute with $CONFIG_SHELL" >&2
158 as_fn_exit 255
159   fi
160   # We don't want this to propagate to other subprocesses.
161           { _as_can_reexec=; unset _as_can_reexec;}
162 if test "x$CONFIG_SHELL" = x; then
163   as_bourne_compatible="if test -n \"\${ZSH_VERSION+set}\" && (emulate sh) >/dev/null 2>&1; then :
164   emulate sh
165   NULLCMD=:
166   # Pre-4.2 versions of Zsh do word splitting on \${1+\"\$@\"}, which
167   # is contrary to our usage.  Disable this feature.
168   alias -g '\${1+\"\$@\"}'='\"\$@\"'
169   setopt NO_GLOB_SUBST
170 else
171   case \`(set -o) 2>/dev/null\` in #(
172   *posix*) :
173     set -o posix ;; #(
174   *) :
175      ;;
176 esac
177 fi
178 "
179   as_required="as_fn_return () { (exit \$1); }
180 as_fn_success () { as_fn_return 0; }
181 as_fn_failure () { as_fn_return 1; }
182 as_fn_ret_success () { return 0; }
183 as_fn_ret_failure () { return 1; }
184
185 exitcode=0
186 as_fn_success || { exitcode=1; echo as_fn_success failed.; }
187 as_fn_failure && { exitcode=1; echo as_fn_failure succeeded.; }
188 as_fn_ret_success || { exitcode=1; echo as_fn_ret_success failed.; }
189 as_fn_ret_failure && { exitcode=1; echo as_fn_ret_failure succeeded.; }
190 if ( set x; as_fn_ret_success y && test x = \"\$1\" ); then :
191
192 else
193   exitcode=1; echo positional parameters were not saved.
194 fi
195 test x\$exitcode = x0 || exit 1
196 test -x / || exit 1"
197   as_suggested="  as_lineno_1=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_1a=\$LINENO
198   as_lineno_2=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_2a=\$LINENO
199   eval 'test \"x\$as_lineno_1'\$as_run'\" != \"x\$as_lineno_2'\$as_run'\" &&
200   test \"x\`expr \$as_lineno_1'\$as_run' + 1\`\" = \"x\$as_lineno_2'\$as_run'\"' || exit 1
201
202   test -n \"\${ZSH_VERSION+set}\${BASH_VERSION+set}\" || (
203     ECHO='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
204     ECHO=\$ECHO\$ECHO\$ECHO\$ECHO\$ECHO
205     ECHO=\$ECHO\$ECHO\$ECHO\$ECHO\$ECHO\$ECHO
206     PATH=/empty FPATH=/empty; export PATH FPATH
207     test \"X\`printf %s \$ECHO\`\" = \"X\$ECHO\" \\
208       || test \"X\`print -r -- \$ECHO\`\" = \"X\$ECHO\" ) || exit 1
209 test \$(( 1 + 1 )) = 2 || exit 1"
210   if (eval "$as_required") 2>/dev/null; then :
211   as_have_required=yes
212 else
213   as_have_required=no
214 fi
215   if test x$as_have_required = xyes && (eval "$as_suggested") 2>/dev/null; then :
216
217 else
218   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
219 as_found=false
220 for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
221 do
222   IFS=$as_save_IFS
223   test -z "$as_dir" && as_dir=.
224   as_found=:
225   case $as_dir in #(
226          /*)
227            for as_base in sh bash ksh sh5; do
228              # Try only shells that exist, to save several forks.
229              as_shell=$as_dir/$as_base
230              if { test -f "$as_shell" || test -f "$as_shell.exe"; } &&
231                     { $as_echo "$as_bourne_compatible""$as_required" | as_run=a "$as_shell"; } 2>/dev/null; then :
232   CONFIG_SHELL=$as_shell as_have_required=yes
233                    if { $as_echo "$as_bourne_compatible""$as_suggested" | as_run=a "$as_shell"; } 2>/dev/null; then :
234   break 2
235 fi
236 fi
237            done;;
238        esac
239   as_found=false
240 done
241 $as_found || { if { test -f "$SHELL" || test -f "$SHELL.exe"; } &&
242               { $as_echo "$as_bourne_compatible""$as_required" | as_run=a "$SHELL"; } 2>/dev/null; then :
243   CONFIG_SHELL=$SHELL as_have_required=yes
244 fi; }
245 IFS=$as_save_IFS
246
247
248       if test "x$CONFIG_SHELL" != x; then :
249   export CONFIG_SHELL
250              # We cannot yet assume a decent shell, so we have to provide a
251 # neutralization value for shells without unset; and this also
252 # works around shells that cannot unset nonexistent variables.
253 # Preserve -v and -x to the replacement shell.
254 BASH_ENV=/dev/null
255 ENV=/dev/null
256 (unset BASH_ENV) >/dev/null 2>&1 && unset BASH_ENV ENV
257 case $- in # ((((
258   *v*x* | *x*v* ) as_opts=-vx ;;
259   *v* ) as_opts=-v ;;
260   *x* ) as_opts=-x ;;
261   * ) as_opts= ;;
262 esac
263 exec $CONFIG_SHELL $as_opts "$as_myself" ${1+"$@"}
264 # Admittedly, this is quite paranoid, since all the known shells bail
265 # out after a failed `exec'.
266 $as_echo "$0: could not re-execute with $CONFIG_SHELL" >&2
267 exit 255
268 fi
269
270     if test x$as_have_required = xno; then :
271   $as_echo "$0: This script requires a shell more modern than all"
272   $as_echo "$0: the shells that I found on your system."
273   if test x${ZSH_VERSION+set} = xset ; then
274     $as_echo "$0: In particular, zsh $ZSH_VERSION has bugs and should"
275     $as_echo "$0: be upgraded to zsh 4.3.4 or later."
276   else
277     $as_echo "$0: Please tell bug-autoconf@gnu.org and
278 $0: http://bugzilla.gnome.org/enter_bug.cgi?product=pygobject
279 $0: about your system, including any error possibly output
280 $0: before this message. Then install a modern shell, or
281 $0: manually run the script under such a shell if you do
282 $0: have one."
283   fi
284   exit 1
285 fi
286 fi
287 fi
288 SHELL=${CONFIG_SHELL-/bin/sh}
289 export SHELL
290 # Unset more variables known to interfere with behavior of common tools.
291 CLICOLOR_FORCE= GREP_OPTIONS=
292 unset CLICOLOR_FORCE GREP_OPTIONS
293
294 ## --------------------- ##
295 ## M4sh Shell Functions. ##
296 ## --------------------- ##
297 # as_fn_unset VAR
298 # ---------------
299 # Portably unset VAR.
300 as_fn_unset ()
301 {
302   { eval $1=; unset $1;}
303 }
304 as_unset=as_fn_unset
305
306 # as_fn_set_status STATUS
307 # -----------------------
308 # Set $? to STATUS, without forking.
309 as_fn_set_status ()
310 {
311   return $1
312 } # as_fn_set_status
313
314 # as_fn_exit STATUS
315 # -----------------
316 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
317 as_fn_exit ()
318 {
319   set +e
320   as_fn_set_status $1
321   exit $1
322 } # as_fn_exit
323
324 # as_fn_mkdir_p
325 # -------------
326 # Create "$as_dir" as a directory, including parents if necessary.
327 as_fn_mkdir_p ()
328 {
329
330   case $as_dir in #(
331   -*) as_dir=./$as_dir;;
332   esac
333   test -d "$as_dir" || eval $as_mkdir_p || {
334     as_dirs=
335     while :; do
336       case $as_dir in #(
337       *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
338       *) as_qdir=$as_dir;;
339       esac
340       as_dirs="'$as_qdir' $as_dirs"
341       as_dir=`$as_dirname -- "$as_dir" ||
342 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
343          X"$as_dir" : 'X\(//\)[^/]' \| \
344          X"$as_dir" : 'X\(//\)$' \| \
345          X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
346 $as_echo X"$as_dir" |
347     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
348             s//\1/
349             q
350           }
351           /^X\(\/\/\)[^/].*/{
352             s//\1/
353             q
354           }
355           /^X\(\/\/\)$/{
356             s//\1/
357             q
358           }
359           /^X\(\/\).*/{
360             s//\1/
361             q
362           }
363           s/.*/./; q'`
364       test -d "$as_dir" && break
365     done
366     test -z "$as_dirs" || eval "mkdir $as_dirs"
367   } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir"
368
369
370 } # as_fn_mkdir_p
371
372 # as_fn_executable_p FILE
373 # -----------------------
374 # Test if FILE is an executable regular file.
375 as_fn_executable_p ()
376 {
377   test -f "$1" && test -x "$1"
378 } # as_fn_executable_p
379 # as_fn_append VAR VALUE
380 # ----------------------
381 # Append the text in VALUE to the end of the definition contained in VAR. Take
382 # advantage of any shell optimizations that allow amortized linear growth over
383 # repeated appends, instead of the typical quadratic growth present in naive
384 # implementations.
385 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
386   eval 'as_fn_append ()
387   {
388     eval $1+=\$2
389   }'
390 else
391   as_fn_append ()
392   {
393     eval $1=\$$1\$2
394   }
395 fi # as_fn_append
396
397 # as_fn_arith ARG...
398 # ------------------
399 # Perform arithmetic evaluation on the ARGs, and store the result in the
400 # global $as_val. Take advantage of shells that can avoid forks. The arguments
401 # must be portable across $(()) and expr.
402 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
403   eval 'as_fn_arith ()
404   {
405     as_val=$(( $* ))
406   }'
407 else
408   as_fn_arith ()
409   {
410     as_val=`expr "$@" || test $? -eq 1`
411   }
412 fi # as_fn_arith
413
414
415 # as_fn_error STATUS ERROR [LINENO LOG_FD]
416 # ----------------------------------------
417 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
418 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
419 # script with STATUS, using 1 if that was 0.
420 as_fn_error ()
421 {
422   as_status=$1; test $as_status -eq 0 && as_status=1
423   if test "$4"; then
424     as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
425     $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
426   fi
427   $as_echo "$as_me: error: $2" >&2
428   as_fn_exit $as_status
429 } # as_fn_error
430
431 if expr a : '\(a\)' >/dev/null 2>&1 &&
432    test "X`expr 00001 : '.*\(...\)'`" = X001; then
433   as_expr=expr
434 else
435   as_expr=false
436 fi
437
438 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
439   as_basename=basename
440 else
441   as_basename=false
442 fi
443
444 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
445   as_dirname=dirname
446 else
447   as_dirname=false
448 fi
449
450 as_me=`$as_basename -- "$0" ||
451 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
452          X"$0" : 'X\(//\)$' \| \
453          X"$0" : 'X\(/\)' \| . 2>/dev/null ||
454 $as_echo X/"$0" |
455     sed '/^.*\/\([^/][^/]*\)\/*$/{
456             s//\1/
457             q
458           }
459           /^X\/\(\/\/\)$/{
460             s//\1/
461             q
462           }
463           /^X\/\(\/\).*/{
464             s//\1/
465             q
466           }
467           s/.*/./; q'`
468
469 # Avoid depending upon Character Ranges.
470 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
471 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
472 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
473 as_cr_digits='0123456789'
474 as_cr_alnum=$as_cr_Letters$as_cr_digits
475
476
477   as_lineno_1=$LINENO as_lineno_1a=$LINENO
478   as_lineno_2=$LINENO as_lineno_2a=$LINENO
479   eval 'test "x$as_lineno_1'$as_run'" != "x$as_lineno_2'$as_run'" &&
480   test "x`expr $as_lineno_1'$as_run' + 1`" = "x$as_lineno_2'$as_run'"' || {
481   # Blame Lee E. McMahon (1931-1989) for sed's syntax.  :-)
482   sed -n '
483     p
484     /[$]LINENO/=
485   ' <$as_myself |
486     sed '
487       s/[$]LINENO.*/&-/
488       t lineno
489       b
490       :lineno
491       N
492       :loop
493       s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
494       t loop
495       s/-\n.*//
496     ' >$as_me.lineno &&
497   chmod +x "$as_me.lineno" ||
498     { $as_echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2; as_fn_exit 1; }
499
500   # If we had to re-execute with $CONFIG_SHELL, we're ensured to have
501   # already done that, so ensure we don't try to do so again and fall
502   # in an infinite loop.  This has already happened in practice.
503   _as_can_reexec=no; export _as_can_reexec
504   # Don't try to exec as it changes $[0], causing all sort of problems
505   # (the dirname of $[0] is not the place where we might find the
506   # original and so on.  Autoconf is especially sensitive to this).
507   . "./$as_me.lineno"
508   # Exit status is that of the last command.
509   exit
510 }
511
512 ECHO_C= ECHO_N= ECHO_T=
513 case `echo -n x` in #(((((
514 -n*)
515   case `echo 'xy\c'` in
516   *c*) ECHO_T=' ';;     # ECHO_T is single tab character.
517   xy)  ECHO_C='\c';;
518   *)   echo `echo ksh88 bug on AIX 6.1` > /dev/null
519        ECHO_T=' ';;
520   esac;;
521 *)
522   ECHO_N='-n';;
523 esac
524
525 rm -f conf$$ conf$$.exe conf$$.file
526 if test -d conf$$.dir; then
527   rm -f conf$$.dir/conf$$.file
528 else
529   rm -f conf$$.dir
530   mkdir conf$$.dir 2>/dev/null
531 fi
532 if (echo >conf$$.file) 2>/dev/null; then
533   if ln -s conf$$.file conf$$ 2>/dev/null; then
534     as_ln_s='ln -s'
535     # ... but there are two gotchas:
536     # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
537     # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
538     # In both cases, we have to default to `cp -pR'.
539     ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
540       as_ln_s='cp -pR'
541   elif ln conf$$.file conf$$ 2>/dev/null; then
542     as_ln_s=ln
543   else
544     as_ln_s='cp -pR'
545   fi
546 else
547   as_ln_s='cp -pR'
548 fi
549 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
550 rmdir conf$$.dir 2>/dev/null
551
552 if mkdir -p . 2>/dev/null; then
553   as_mkdir_p='mkdir -p "$as_dir"'
554 else
555   test -d ./-p && rmdir ./-p
556   as_mkdir_p=false
557 fi
558
559 as_test_x='test -x'
560 as_executable_p=as_fn_executable_p
561
562 # Sed expression to map a string onto a valid CPP name.
563 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
564
565 # Sed expression to map a string onto a valid variable name.
566 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
567
568 SHELL=${CONFIG_SHELL-/bin/sh}
569
570
571 test -n "$DJDIR" || exec 7<&0 </dev/null
572 exec 6>&1
573
574 # Name of the host.
575 # hostname on some systems (SVR3.2, old GNU/Linux) returns a bogus exit status,
576 # so uname gets run too.
577 ac_hostname=`(hostname || uname -n) 2>/dev/null | sed 1q`
578
579 #
580 # Initializations.
581 #
582 ac_default_prefix=/usr/local
583 ac_clean_files=
584 ac_config_libobj_dir=.
585 LIBOBJS=
586 cross_compiling=no
587 subdirs=
588 MFLAGS=
589 MAKEFLAGS=
590
591 # Identity of this package.
592 PACKAGE_NAME='pygobject'
593 PACKAGE_TARNAME='pygobject'
594 PACKAGE_VERSION='3.3.3.1'
595 PACKAGE_STRING='pygobject 3.3.3.1'
596 PACKAGE_BUGREPORT='http://bugzilla.gnome.org/enter_bug.cgi?product=pygobject'
597 PACKAGE_URL=''
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 INTROSPECTION_COMPILER
641 INTROSPECTION_SCANNER
642 ENABLE_CAIRO_FALSE
643 ENABLE_CAIRO_TRUE
644 PYCAIRO_LIBS
645 PYCAIRO_CFLAGS
646 GI_DATADIR
647 GI_LIBS
648 GI_CFLAGS
649 CAIRO_LIBS
650 CAIRO_CFLAGS
651 GIO_LIBS
652 GIO_CFLAGS
653 LIBFFI_PC
654 HAVE_LIBFFI_FALSE
655 HAVE_LIBFFI_TRUE
656 FFI_LIBS
657 FFI_CFLAGS
658 DATADIR
659 PYTHON_BASENAME
660 GLIB_COMPILE_RESOURCES
661 GLIB_MKENUMS
662 GOBJECT_QUERY
663 GLIB_GENMARSHAL
664 GLIB_LIBS
665 GLIB_CFLAGS
666 PKG_CONFIG_LIBDIR
667 PKG_CONFIG_PATH
668 PKG_CONFIG
669 THREADING_CFLAGS
670 PLATFORM
671 PYTHON_LIB_LOC
672 PYTHON_LIBS
673 PYTHON_INCLUDES
674 pkgpyexecdir
675 pyexecdir
676 pkgpythondir
677 pythondir
678 PYTHON_PLATFORM
679 PYTHON_EXEC_PREFIX
680 PYTHON_PREFIX
681 PYTHON_VERSION
682 PYTHON
683 CPP
684 OTOOL64
685 OTOOL
686 LIPO
687 NMEDIT
688 DSYMUTIL
689 MANIFEST_TOOL
690 RANLIB
691 ac_ct_AR
692 AR
693 LN_S
694 NM
695 ac_ct_DUMPBIN
696 DUMPBIN
697 LD
698 FGREP
699 EGREP
700 GREP
701 SED
702 am__fastdepCC_FALSE
703 am__fastdepCC_TRUE
704 CCDEPMODE
705 am__nodep
706 AMDEPBACKSLASH
707 AMDEP_FALSE
708 AMDEP_TRUE
709 am__quote
710 am__include
711 DEPDIR
712 OBJEXT
713 EXEEXT
714 ac_ct_CC
715 CPPFLAGS
716 LDFLAGS
717 CFLAGS
718 CC
719 LIBTOOL
720 OBJDUMP
721 DLLTOOL
722 AS
723 OS_WIN32_FALSE
724 OS_WIN32_TRUE
725 PLATFORM_WIN32_FALSE
726 PLATFORM_WIN32_TRUE
727 host_os
728 host_vendor
729 host_cpu
730 host
731 build_os
732 build_vendor
733 build_cpu
734 build
735 MAINT
736 MAINTAINER_MODE_FALSE
737 MAINTAINER_MODE_TRUE
738 am__untar
739 am__tar
740 AMTAR
741 am__leading_dot
742 SET_MAKE
743 AWK
744 mkdir_p
745 MKDIR_P
746 INSTALL_STRIP_PROGRAM
747 STRIP
748 install_sh
749 MAKEINFO
750 AUTOHEADER
751 AUTOMAKE
752 AUTOCONF
753 ACLOCAL
754 VERSION
755 PACKAGE
756 CYGPATH_W
757 am__isrc
758 INSTALL_DATA
759 INSTALL_SCRIPT
760 INSTALL_PROGRAM
761 AM_BACKSLASH
762 AM_DEFAULT_VERBOSITY
763 AM_DEFAULT_V
764 AM_V
765 PYGOBJECT_MICRO_VERSION
766 PYGOBJECT_MINOR_VERSION
767 PYGOBJECT_MAJOR_VERSION
768 ACLOCAL_AMFLAGS
769 target_alias
770 host_alias
771 build_alias
772 LIBS
773 ECHO_T
774 ECHO_N
775 ECHO_C
776 DEFS
777 mandir
778 localedir
779 libdir
780 psdir
781 pdfdir
782 dvidir
783 htmldir
784 infodir
785 docdir
786 oldincludedir
787 includedir
788 localstatedir
789 sharedstatedir
790 sysconfdir
791 datadir
792 datarootdir
793 libexecdir
794 sbindir
795 bindir
796 program_transform_name
797 prefix
798 exec_prefix
799 PACKAGE_URL
800 PACKAGE_BUGREPORT
801 PACKAGE_STRING
802 PACKAGE_VERSION
803 PACKAGE_TARNAME
804 PACKAGE_NAME
805 PATH_SEPARATOR
806 SHELL'
807 ac_subst_files=''
808 ac_user_opts='
809 enable_option_checking
810 enable_silent_rules
811 enable_maintainer_mode
812 enable_static
813 enable_shared
814 with_pic
815 enable_fast_install
816 enable_dependency_tracking
817 with_gnu_ld
818 with_sysroot
819 enable_libtool_lock
820 enable_thread
821 enable_glibtest
822 with_ffi
823 enable_cairo
824 '
825       ac_precious_vars='build_alias
826 host_alias
827 target_alias
828 CC
829 CFLAGS
830 LDFLAGS
831 LIBS
832 CPPFLAGS
833 CPP
834 PYTHON
835 PKG_CONFIG
836 PKG_CONFIG_PATH
837 PKG_CONFIG_LIBDIR
838 FFI_CFLAGS
839 FFI_LIBS
840 GIO_CFLAGS
841 GIO_LIBS
842 CAIRO_CFLAGS
843 CAIRO_LIBS
844 GI_CFLAGS
845 GI_LIBS
846 PYCAIRO_CFLAGS
847 PYCAIRO_LIBS'
848
849
850 # Initialize some variables set by options.
851 ac_init_help=
852 ac_init_version=false
853 ac_unrecognized_opts=
854 ac_unrecognized_sep=
855 # The variables have the same names as the options, with
856 # dashes changed to underlines.
857 cache_file=/dev/null
858 exec_prefix=NONE
859 no_create=
860 no_recursion=
861 prefix=NONE
862 program_prefix=NONE
863 program_suffix=NONE
864 program_transform_name=s,x,x,
865 silent=
866 site=
867 srcdir=
868 verbose=
869 x_includes=NONE
870 x_libraries=NONE
871
872 # Installation directory options.
873 # These are left unexpanded so users can "make install exec_prefix=/foo"
874 # and all the variables that are supposed to be based on exec_prefix
875 # by default will actually change.
876 # Use braces instead of parens because sh, perl, etc. also accept them.
877 # (The list follows the same order as the GNU Coding Standards.)
878 bindir='${exec_prefix}/bin'
879 sbindir='${exec_prefix}/sbin'
880 libexecdir='${exec_prefix}/libexec'
881 datarootdir='${prefix}/share'
882 datadir='${datarootdir}'
883 sysconfdir='${prefix}/etc'
884 sharedstatedir='${prefix}/com'
885 localstatedir='${prefix}/var'
886 includedir='${prefix}/include'
887 oldincludedir='/usr/include'
888 docdir='${datarootdir}/doc/${PACKAGE_TARNAME}'
889 infodir='${datarootdir}/info'
890 htmldir='${docdir}'
891 dvidir='${docdir}'
892 pdfdir='${docdir}'
893 psdir='${docdir}'
894 libdir='${exec_prefix}/lib'
895 localedir='${datarootdir}/locale'
896 mandir='${datarootdir}/man'
897
898 ac_prev=
899 ac_dashdash=
900 for ac_option
901 do
902   # If the previous option needs an argument, assign it.
903   if test -n "$ac_prev"; then
904     eval $ac_prev=\$ac_option
905     ac_prev=
906     continue
907   fi
908
909   case $ac_option in
910   *=?*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
911   *=)   ac_optarg= ;;
912   *)    ac_optarg=yes ;;
913   esac
914
915   # Accept the important Cygnus configure options, so we can diagnose typos.
916
917   case $ac_dashdash$ac_option in
918   --)
919     ac_dashdash=yes ;;
920
921   -bindir | --bindir | --bindi | --bind | --bin | --bi)
922     ac_prev=bindir ;;
923   -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
924     bindir=$ac_optarg ;;
925
926   -build | --build | --buil | --bui | --bu)
927     ac_prev=build_alias ;;
928   -build=* | --build=* | --buil=* | --bui=* | --bu=*)
929     build_alias=$ac_optarg ;;
930
931   -cache-file | --cache-file | --cache-fil | --cache-fi \
932   | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
933     ac_prev=cache_file ;;
934   -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
935   | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
936     cache_file=$ac_optarg ;;
937
938   --config-cache | -C)
939     cache_file=config.cache ;;
940
941   -datadir | --datadir | --datadi | --datad)
942     ac_prev=datadir ;;
943   -datadir=* | --datadir=* | --datadi=* | --datad=*)
944     datadir=$ac_optarg ;;
945
946   -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \
947   | --dataroo | --dataro | --datar)
948     ac_prev=datarootdir ;;
949   -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \
950   | --dataroot=* | --dataroo=* | --dataro=* | --datar=*)
951     datarootdir=$ac_optarg ;;
952
953   -disable-* | --disable-*)
954     ac_useropt=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
955     # Reject names that are not valid shell variable names.
956     expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
957       as_fn_error $? "invalid feature name: $ac_useropt"
958     ac_useropt_orig=$ac_useropt
959     ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
960     case $ac_user_opts in
961       *"
962 "enable_$ac_useropt"
963 "*) ;;
964       *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig"
965          ac_unrecognized_sep=', ';;
966     esac
967     eval enable_$ac_useropt=no ;;
968
969   -docdir | --docdir | --docdi | --doc | --do)
970     ac_prev=docdir ;;
971   -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*)
972     docdir=$ac_optarg ;;
973
974   -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv)
975     ac_prev=dvidir ;;
976   -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*)
977     dvidir=$ac_optarg ;;
978
979   -enable-* | --enable-*)
980     ac_useropt=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
981     # Reject names that are not valid shell variable names.
982     expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
983       as_fn_error $? "invalid feature name: $ac_useropt"
984     ac_useropt_orig=$ac_useropt
985     ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
986     case $ac_user_opts in
987       *"
988 "enable_$ac_useropt"
989 "*) ;;
990       *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig"
991          ac_unrecognized_sep=', ';;
992     esac
993     eval enable_$ac_useropt=\$ac_optarg ;;
994
995   -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
996   | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
997   | --exec | --exe | --ex)
998     ac_prev=exec_prefix ;;
999   -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
1000   | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
1001   | --exec=* | --exe=* | --ex=*)
1002     exec_prefix=$ac_optarg ;;
1003
1004   -gas | --gas | --ga | --g)
1005     # Obsolete; use --with-gas.
1006     with_gas=yes ;;
1007
1008   -help | --help | --hel | --he | -h)
1009     ac_init_help=long ;;
1010   -help=r* | --help=r* | --hel=r* | --he=r* | -hr*)
1011     ac_init_help=recursive ;;
1012   -help=s* | --help=s* | --hel=s* | --he=s* | -hs*)
1013     ac_init_help=short ;;
1014
1015   -host | --host | --hos | --ho)
1016     ac_prev=host_alias ;;
1017   -host=* | --host=* | --hos=* | --ho=*)
1018     host_alias=$ac_optarg ;;
1019
1020   -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht)
1021     ac_prev=htmldir ;;
1022   -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \
1023   | --ht=*)
1024     htmldir=$ac_optarg ;;
1025
1026   -includedir | --includedir | --includedi | --included | --include \
1027   | --includ | --inclu | --incl | --inc)
1028     ac_prev=includedir ;;
1029   -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
1030   | --includ=* | --inclu=* | --incl=* | --inc=*)
1031     includedir=$ac_optarg ;;
1032
1033   -infodir | --infodir | --infodi | --infod | --info | --inf)
1034     ac_prev=infodir ;;
1035   -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
1036     infodir=$ac_optarg ;;
1037
1038   -libdir | --libdir | --libdi | --libd)
1039     ac_prev=libdir ;;
1040   -libdir=* | --libdir=* | --libdi=* | --libd=*)
1041     libdir=$ac_optarg ;;
1042
1043   -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
1044   | --libexe | --libex | --libe)
1045     ac_prev=libexecdir ;;
1046   -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
1047   | --libexe=* | --libex=* | --libe=*)
1048     libexecdir=$ac_optarg ;;
1049
1050   -localedir | --localedir | --localedi | --localed | --locale)
1051     ac_prev=localedir ;;
1052   -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*)
1053     localedir=$ac_optarg ;;
1054
1055   -localstatedir | --localstatedir | --localstatedi | --localstated \
1056   | --localstate | --localstat | --localsta | --localst | --locals)
1057     ac_prev=localstatedir ;;
1058   -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
1059   | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*)
1060     localstatedir=$ac_optarg ;;
1061
1062   -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
1063     ac_prev=mandir ;;
1064   -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
1065     mandir=$ac_optarg ;;
1066
1067   -nfp | --nfp | --nf)
1068     # Obsolete; use --without-fp.
1069     with_fp=no ;;
1070
1071   -no-create | --no-create | --no-creat | --no-crea | --no-cre \
1072   | --no-cr | --no-c | -n)
1073     no_create=yes ;;
1074
1075   -no-recursion | --no-recursion | --no-recursio | --no-recursi \
1076   | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
1077     no_recursion=yes ;;
1078
1079   -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
1080   | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
1081   | --oldin | --oldi | --old | --ol | --o)
1082     ac_prev=oldincludedir ;;
1083   -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
1084   | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
1085   | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
1086     oldincludedir=$ac_optarg ;;
1087
1088   -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
1089     ac_prev=prefix ;;
1090   -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
1091     prefix=$ac_optarg ;;
1092
1093   -program-prefix | --program-prefix | --program-prefi | --program-pref \
1094   | --program-pre | --program-pr | --program-p)
1095     ac_prev=program_prefix ;;
1096   -program-prefix=* | --program-prefix=* | --program-prefi=* \
1097   | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
1098     program_prefix=$ac_optarg ;;
1099
1100   -program-suffix | --program-suffix | --program-suffi | --program-suff \
1101   | --program-suf | --program-su | --program-s)
1102     ac_prev=program_suffix ;;
1103   -program-suffix=* | --program-suffix=* | --program-suffi=* \
1104   | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
1105     program_suffix=$ac_optarg ;;
1106
1107   -program-transform-name | --program-transform-name \
1108   | --program-transform-nam | --program-transform-na \
1109   | --program-transform-n | --program-transform- \
1110   | --program-transform | --program-transfor \
1111   | --program-transfo | --program-transf \
1112   | --program-trans | --program-tran \
1113   | --progr-tra | --program-tr | --program-t)
1114     ac_prev=program_transform_name ;;
1115   -program-transform-name=* | --program-transform-name=* \
1116   | --program-transform-nam=* | --program-transform-na=* \
1117   | --program-transform-n=* | --program-transform-=* \
1118   | --program-transform=* | --program-transfor=* \
1119   | --program-transfo=* | --program-transf=* \
1120   | --program-trans=* | --program-tran=* \
1121   | --progr-tra=* | --program-tr=* | --program-t=*)
1122     program_transform_name=$ac_optarg ;;
1123
1124   -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd)
1125     ac_prev=pdfdir ;;
1126   -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*)
1127     pdfdir=$ac_optarg ;;
1128
1129   -psdir | --psdir | --psdi | --psd | --ps)
1130     ac_prev=psdir ;;
1131   -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*)
1132     psdir=$ac_optarg ;;
1133
1134   -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1135   | -silent | --silent | --silen | --sile | --sil)
1136     silent=yes ;;
1137
1138   -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
1139     ac_prev=sbindir ;;
1140   -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
1141   | --sbi=* | --sb=*)
1142     sbindir=$ac_optarg ;;
1143
1144   -sharedstatedir | --sharedstatedir | --sharedstatedi \
1145   | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
1146   | --sharedst | --shareds | --shared | --share | --shar \
1147   | --sha | --sh)
1148     ac_prev=sharedstatedir ;;
1149   -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
1150   | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
1151   | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
1152   | --sha=* | --sh=*)
1153     sharedstatedir=$ac_optarg ;;
1154
1155   -site | --site | --sit)
1156     ac_prev=site ;;
1157   -site=* | --site=* | --sit=*)
1158     site=$ac_optarg ;;
1159
1160   -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
1161     ac_prev=srcdir ;;
1162   -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
1163     srcdir=$ac_optarg ;;
1164
1165   -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
1166   | --syscon | --sysco | --sysc | --sys | --sy)
1167     ac_prev=sysconfdir ;;
1168   -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
1169   | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
1170     sysconfdir=$ac_optarg ;;
1171
1172   -target | --target | --targe | --targ | --tar | --ta | --t)
1173     ac_prev=target_alias ;;
1174   -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
1175     target_alias=$ac_optarg ;;
1176
1177   -v | -verbose | --verbose | --verbos | --verbo | --verb)
1178     verbose=yes ;;
1179
1180   -version | --version | --versio | --versi | --vers | -V)
1181     ac_init_version=: ;;
1182
1183   -with-* | --with-*)
1184     ac_useropt=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
1185     # Reject names that are not valid shell variable names.
1186     expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1187       as_fn_error $? "invalid package name: $ac_useropt"
1188     ac_useropt_orig=$ac_useropt
1189     ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1190     case $ac_user_opts in
1191       *"
1192 "with_$ac_useropt"
1193 "*) ;;
1194       *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig"
1195          ac_unrecognized_sep=', ';;
1196     esac
1197     eval with_$ac_useropt=\$ac_optarg ;;
1198
1199   -without-* | --without-*)
1200     ac_useropt=`expr "x$ac_option" : 'x-*without-\(.*\)'`
1201     # Reject names that are not valid shell variable names.
1202     expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1203       as_fn_error $? "invalid package name: $ac_useropt"
1204     ac_useropt_orig=$ac_useropt
1205     ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1206     case $ac_user_opts in
1207       *"
1208 "with_$ac_useropt"
1209 "*) ;;
1210       *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig"
1211          ac_unrecognized_sep=', ';;
1212     esac
1213     eval with_$ac_useropt=no ;;
1214
1215   --x)
1216     # Obsolete; use --with-x.
1217     with_x=yes ;;
1218
1219   -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
1220   | --x-incl | --x-inc | --x-in | --x-i)
1221     ac_prev=x_includes ;;
1222   -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
1223   | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
1224     x_includes=$ac_optarg ;;
1225
1226   -x-libraries | --x-libraries | --x-librarie | --x-librari \
1227   | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
1228     ac_prev=x_libraries ;;
1229   -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
1230   | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
1231     x_libraries=$ac_optarg ;;
1232
1233   -*) as_fn_error $? "unrecognized option: \`$ac_option'
1234 Try \`$0 --help' for more information"
1235     ;;
1236
1237   *=*)
1238     ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
1239     # Reject names that are not valid shell variable names.
1240     case $ac_envvar in #(
1241       '' | [0-9]* | *[!_$as_cr_alnum]* )
1242       as_fn_error $? "invalid variable name: \`$ac_envvar'" ;;
1243     esac
1244     eval $ac_envvar=\$ac_optarg
1245     export $ac_envvar ;;
1246
1247   *)
1248     # FIXME: should be removed in autoconf 3.0.
1249     $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2
1250     expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
1251       $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2
1252     : "${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}"
1253     ;;
1254
1255   esac
1256 done
1257
1258 if test -n "$ac_prev"; then
1259   ac_option=--`echo $ac_prev | sed 's/_/-/g'`
1260   as_fn_error $? "missing argument to $ac_option"
1261 fi
1262
1263 if test -n "$ac_unrecognized_opts"; then
1264   case $enable_option_checking in
1265     no) ;;
1266     fatal) as_fn_error $? "unrecognized options: $ac_unrecognized_opts" ;;
1267     *)     $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;;
1268   esac
1269 fi
1270
1271 # Check all directory arguments for consistency.
1272 for ac_var in   exec_prefix prefix bindir sbindir libexecdir datarootdir \
1273                 datadir sysconfdir sharedstatedir localstatedir includedir \
1274                 oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
1275                 libdir localedir mandir
1276 do
1277   eval ac_val=\$$ac_var
1278   # Remove trailing slashes.
1279   case $ac_val in
1280     */ )
1281       ac_val=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'`
1282       eval $ac_var=\$ac_val;;
1283   esac
1284   # Be sure to have absolute directory names.
1285   case $ac_val in
1286     [\\/$]* | ?:[\\/]* )  continue;;
1287     NONE | '' ) case $ac_var in *prefix ) continue;; esac;;
1288   esac
1289   as_fn_error $? "expected an absolute directory name for --$ac_var: $ac_val"
1290 done
1291
1292 # There might be people who depend on the old broken behavior: `$host'
1293 # used to hold the argument of --host etc.
1294 # FIXME: To remove some day.
1295 build=$build_alias
1296 host=$host_alias
1297 target=$target_alias
1298
1299 # FIXME: To remove some day.
1300 if test "x$host_alias" != x; then
1301   if test "x$build_alias" = x; then
1302     cross_compiling=maybe
1303   elif test "x$build_alias" != "x$host_alias"; then
1304     cross_compiling=yes
1305   fi
1306 fi
1307
1308 ac_tool_prefix=
1309 test -n "$host_alias" && ac_tool_prefix=$host_alias-
1310
1311 test "$silent" = yes && exec 6>/dev/null
1312
1313
1314 ac_pwd=`pwd` && test -n "$ac_pwd" &&
1315 ac_ls_di=`ls -di .` &&
1316 ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` ||
1317   as_fn_error $? "working directory cannot be determined"
1318 test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
1319   as_fn_error $? "pwd does not report name of working directory"
1320
1321
1322 # Find the source files, if location was not specified.
1323 if test -z "$srcdir"; then
1324   ac_srcdir_defaulted=yes
1325   # Try the directory containing this script, then the parent directory.
1326   ac_confdir=`$as_dirname -- "$as_myself" ||
1327 $as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
1328          X"$as_myself" : 'X\(//\)[^/]' \| \
1329          X"$as_myself" : 'X\(//\)$' \| \
1330          X"$as_myself" : 'X\(/\)' \| . 2>/dev/null ||
1331 $as_echo X"$as_myself" |
1332     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
1333             s//\1/
1334             q
1335           }
1336           /^X\(\/\/\)[^/].*/{
1337             s//\1/
1338             q
1339           }
1340           /^X\(\/\/\)$/{
1341             s//\1/
1342             q
1343           }
1344           /^X\(\/\).*/{
1345             s//\1/
1346             q
1347           }
1348           s/.*/./; q'`
1349   srcdir=$ac_confdir
1350   if test ! -r "$srcdir/$ac_unique_file"; then
1351     srcdir=..
1352   fi
1353 else
1354   ac_srcdir_defaulted=no
1355 fi
1356 if test ! -r "$srcdir/$ac_unique_file"; then
1357   test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .."
1358   as_fn_error $? "cannot find sources ($ac_unique_file) in $srcdir"
1359 fi
1360 ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work"
1361 ac_abs_confdir=`(
1362         cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error $? "$ac_msg"
1363         pwd)`
1364 # When building in place, set srcdir=.
1365 if test "$ac_abs_confdir" = "$ac_pwd"; then
1366   srcdir=.
1367 fi
1368 # Remove unnecessary trailing slashes from srcdir.
1369 # Double slashes in file names in object file debugging info
1370 # mess up M-x gdb in Emacs.
1371 case $srcdir in
1372 */) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
1373 esac
1374 for ac_var in $ac_precious_vars; do
1375   eval ac_env_${ac_var}_set=\${${ac_var}+set}
1376   eval ac_env_${ac_var}_value=\$${ac_var}
1377   eval ac_cv_env_${ac_var}_set=\${${ac_var}+set}
1378   eval ac_cv_env_${ac_var}_value=\$${ac_var}
1379 done
1380
1381 #
1382 # Report the --help message.
1383 #
1384 if test "$ac_init_help" = "long"; then
1385   # Omit some internal or obsolete options to make the list less imposing.
1386   # This message is too long to be a string in the A/UX 3.1 sh.
1387   cat <<_ACEOF
1388 \`configure' configures pygobject 3.3.3.1 to adapt to many kinds of systems.
1389
1390 Usage: $0 [OPTION]... [VAR=VALUE]...
1391
1392 To assign environment variables (e.g., CC, CFLAGS...), specify them as
1393 VAR=VALUE.  See below for descriptions of some of the useful variables.
1394
1395 Defaults for the options are specified in brackets.
1396
1397 Configuration:
1398   -h, --help              display this help and exit
1399       --help=short        display options specific to this package
1400       --help=recursive    display the short help of all the included packages
1401   -V, --version           display version information and exit
1402   -q, --quiet, --silent   do not print \`checking ...' messages
1403       --cache-file=FILE   cache test results in FILE [disabled]
1404   -C, --config-cache      alias for \`--cache-file=config.cache'
1405   -n, --no-create         do not create output files
1406       --srcdir=DIR        find the sources in DIR [configure dir or \`..']
1407
1408 Installation directories:
1409   --prefix=PREFIX         install architecture-independent files in PREFIX
1410                           [$ac_default_prefix]
1411   --exec-prefix=EPREFIX   install architecture-dependent files in EPREFIX
1412                           [PREFIX]
1413
1414 By default, \`make install' will install all the files in
1415 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc.  You can specify
1416 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
1417 for instance \`--prefix=\$HOME'.
1418
1419 For better control, use the options below.
1420
1421 Fine tuning of the installation directories:
1422   --bindir=DIR            user executables [EPREFIX/bin]
1423   --sbindir=DIR           system admin executables [EPREFIX/sbin]
1424   --libexecdir=DIR        program executables [EPREFIX/libexec]
1425   --sysconfdir=DIR        read-only single-machine data [PREFIX/etc]
1426   --sharedstatedir=DIR    modifiable architecture-independent data [PREFIX/com]
1427   --localstatedir=DIR     modifiable single-machine data [PREFIX/var]
1428   --libdir=DIR            object code libraries [EPREFIX/lib]
1429   --includedir=DIR        C header files [PREFIX/include]
1430   --oldincludedir=DIR     C header files for non-gcc [/usr/include]
1431   --datarootdir=DIR       read-only arch.-independent data root [PREFIX/share]
1432   --datadir=DIR           read-only architecture-independent data [DATAROOTDIR]
1433   --infodir=DIR           info documentation [DATAROOTDIR/info]
1434   --localedir=DIR         locale-dependent data [DATAROOTDIR/locale]
1435   --mandir=DIR            man documentation [DATAROOTDIR/man]
1436   --docdir=DIR            documentation root [DATAROOTDIR/doc/pygobject]
1437   --htmldir=DIR           html documentation [DOCDIR]
1438   --dvidir=DIR            dvi documentation [DOCDIR]
1439   --pdfdir=DIR            pdf documentation [DOCDIR]
1440   --psdir=DIR             ps documentation [DOCDIR]
1441 _ACEOF
1442
1443   cat <<\_ACEOF
1444
1445 Program names:
1446   --program-prefix=PREFIX            prepend PREFIX to installed program names
1447   --program-suffix=SUFFIX            append SUFFIX to installed program names
1448   --program-transform-name=PROGRAM   run sed PROGRAM on installed program names
1449
1450 System types:
1451   --build=BUILD     configure for building on BUILD [guessed]
1452   --host=HOST       cross-compile to build programs to run on HOST [BUILD]
1453 _ACEOF
1454 fi
1455
1456 if test -n "$ac_init_help"; then
1457   case $ac_init_help in
1458      short | recursive ) echo "Configuration of pygobject 3.3.3.1:";;
1459    esac
1460   cat <<\_ACEOF
1461
1462 Optional Features:
1463   --disable-option-checking  ignore unrecognized --enable/--with options
1464   --disable-FEATURE       do not include FEATURE (same as --enable-FEATURE=no)
1465   --enable-FEATURE[=ARG]  include FEATURE [ARG=yes]
1466   --enable-silent-rules          less verbose build output (undo: `make V=1')
1467   --disable-silent-rules         verbose build output (undo: `make V=0')
1468   --disable-maintainer-mode  disable make rules and dependencies not useful
1469                           (and sometimes confusing) to the casual installer
1470   --enable-static[=PKGS]  build static libraries [default=no]
1471   --enable-shared[=PKGS]  build shared libraries [default=yes]
1472   --enable-fast-install[=PKGS]
1473                           optimize for fast installation [default=yes]
1474   --disable-dependency-tracking  speeds up one-time build
1475   --enable-dependency-tracking   do not reject slow dependency extractors
1476   --disable-libtool-lock  avoid locking (might break parallel builds)
1477   --disable-thread        Disable pygobject threading support
1478   --disable-glibtest      do not try to compile and run a test GLIB program
1479   --enable-cairo          Enable Cairo bindings using introspection
1480                           information
1481
1482 Optional Packages:
1483   --with-PACKAGE[=ARG]    use PACKAGE [ARG=yes]
1484   --without-PACKAGE       do not use PACKAGE (same as --with-PACKAGE=no)
1485   --with-pic[=PKGS]       try to use only PIC/non-PIC objects [default=use
1486                           both]
1487   --with-gnu-ld           assume the C compiler uses GNU ld [default=no]
1488   --with-sysroot=DIR Search for dependent libraries within DIR
1489                         (or the compiler's sysroot if not specified).
1490   --without-ffi           Disable libffi support
1491
1492 Some influential environment variables:
1493   CC          C compiler command
1494   CFLAGS      C compiler flags
1495   LDFLAGS     linker flags, e.g. -L<lib dir> if you have libraries in a
1496               nonstandard directory <lib dir>
1497   LIBS        libraries to pass to the linker, e.g. -l<library>
1498   CPPFLAGS    (Objective) C/C++ preprocessor flags, e.g. -I<include dir> if
1499               you have headers in a nonstandard directory <include dir>
1500   CPP         C preprocessor
1501   PYTHON      the Python interpreter
1502   PKG_CONFIG  path to pkg-config utility
1503   PKG_CONFIG_PATH
1504               directories to add to pkg-config's search path
1505   PKG_CONFIG_LIBDIR
1506               path overriding pkg-config's built-in search path
1507   FFI_CFLAGS  C compiler flags for FFI, overriding pkg-config
1508   FFI_LIBS    linker flags for FFI, overriding pkg-config
1509   GIO_CFLAGS  C compiler flags for GIO, overriding pkg-config
1510   GIO_LIBS    linker flags for GIO, overriding pkg-config
1511   CAIRO_CFLAGS
1512               C compiler flags for CAIRO, overriding pkg-config
1513   CAIRO_LIBS  linker flags for CAIRO, overriding pkg-config
1514   GI_CFLAGS   C compiler flags for GI, overriding pkg-config
1515   GI_LIBS     linker flags for GI, overriding pkg-config
1516   PYCAIRO_CFLAGS
1517               C compiler flags for PYCAIRO, overriding pkg-config
1518   PYCAIRO_LIBS
1519               linker flags for PYCAIRO, overriding pkg-config
1520
1521 Use these variables to override the choices made by `configure' or to help
1522 it to find libraries and programs with nonstandard names/locations.
1523
1524 Report bugs to <http://bugzilla.gnome.org/enter_bug.cgi?product=pygobject>.
1525 _ACEOF
1526 ac_status=$?
1527 fi
1528
1529 if test "$ac_init_help" = "recursive"; then
1530   # If there are subdirs, report their specific --help.
1531   for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
1532     test -d "$ac_dir" ||
1533       { cd "$srcdir" && ac_pwd=`pwd` && srcdir=. && test -d "$ac_dir"; } ||
1534       continue
1535     ac_builddir=.
1536
1537 case "$ac_dir" in
1538 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
1539 *)
1540   ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
1541   # A ".." for each directory in $ac_dir_suffix.
1542   ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
1543   case $ac_top_builddir_sub in
1544   "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
1545   *)  ac_top_build_prefix=$ac_top_builddir_sub/ ;;
1546   esac ;;
1547 esac
1548 ac_abs_top_builddir=$ac_pwd
1549 ac_abs_builddir=$ac_pwd$ac_dir_suffix
1550 # for backward compatibility:
1551 ac_top_builddir=$ac_top_build_prefix
1552
1553 case $srcdir in
1554   .)  # We are building in place.
1555     ac_srcdir=.
1556     ac_top_srcdir=$ac_top_builddir_sub
1557     ac_abs_top_srcdir=$ac_pwd ;;
1558   [\\/]* | ?:[\\/]* )  # Absolute name.
1559     ac_srcdir=$srcdir$ac_dir_suffix;
1560     ac_top_srcdir=$srcdir
1561     ac_abs_top_srcdir=$srcdir ;;
1562   *) # Relative name.
1563     ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
1564     ac_top_srcdir=$ac_top_build_prefix$srcdir
1565     ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
1566 esac
1567 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
1568
1569     cd "$ac_dir" || { ac_status=$?; continue; }
1570     # Check for guested configure.
1571     if test -f "$ac_srcdir/configure.gnu"; then
1572       echo &&
1573       $SHELL "$ac_srcdir/configure.gnu" --help=recursive
1574     elif test -f "$ac_srcdir/configure"; then
1575       echo &&
1576       $SHELL "$ac_srcdir/configure" --help=recursive
1577     else
1578       $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
1579     fi || ac_status=$?
1580     cd "$ac_pwd" || { ac_status=$?; break; }
1581   done
1582 fi
1583
1584 test -n "$ac_init_help" && exit $ac_status
1585 if $ac_init_version; then
1586   cat <<\_ACEOF
1587 pygobject configure 3.3.3.1
1588 generated by GNU Autoconf 2.69
1589
1590 Copyright (C) 2012 Free Software Foundation, Inc.
1591 This configure script is free software; the Free Software Foundation
1592 gives unlimited permission to copy, distribute and modify it.
1593 _ACEOF
1594   exit
1595 fi
1596
1597 ## ------------------------ ##
1598 ## Autoconf initialization. ##
1599 ## ------------------------ ##
1600
1601 # ac_fn_c_try_compile LINENO
1602 # --------------------------
1603 # Try to compile conftest.$ac_ext, and return whether this succeeded.
1604 ac_fn_c_try_compile ()
1605 {
1606   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1607   rm -f conftest.$ac_objext
1608   if { { ac_try="$ac_compile"
1609 case "(($ac_try" in
1610   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1611   *) ac_try_echo=$ac_try;;
1612 esac
1613 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1614 $as_echo "$ac_try_echo"; } >&5
1615   (eval "$ac_compile") 2>conftest.err
1616   ac_status=$?
1617   if test -s conftest.err; then
1618     grep -v '^ *+' conftest.err >conftest.er1
1619     cat conftest.er1 >&5
1620     mv -f conftest.er1 conftest.err
1621   fi
1622   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1623   test $ac_status = 0; } && {
1624          test -z "$ac_c_werror_flag" ||
1625          test ! -s conftest.err
1626        } && test -s conftest.$ac_objext; then :
1627   ac_retval=0
1628 else
1629   $as_echo "$as_me: failed program was:" >&5
1630 sed 's/^/| /' conftest.$ac_ext >&5
1631
1632         ac_retval=1
1633 fi
1634   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1635   as_fn_set_status $ac_retval
1636
1637 } # ac_fn_c_try_compile
1638
1639 # ac_fn_c_try_link LINENO
1640 # -----------------------
1641 # Try to link conftest.$ac_ext, and return whether this succeeded.
1642 ac_fn_c_try_link ()
1643 {
1644   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1645   rm -f conftest.$ac_objext conftest$ac_exeext
1646   if { { ac_try="$ac_link"
1647 case "(($ac_try" in
1648   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1649   *) ac_try_echo=$ac_try;;
1650 esac
1651 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1652 $as_echo "$ac_try_echo"; } >&5
1653   (eval "$ac_link") 2>conftest.err
1654   ac_status=$?
1655   if test -s conftest.err; then
1656     grep -v '^ *+' conftest.err >conftest.er1
1657     cat conftest.er1 >&5
1658     mv -f conftest.er1 conftest.err
1659   fi
1660   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1661   test $ac_status = 0; } && {
1662          test -z "$ac_c_werror_flag" ||
1663          test ! -s conftest.err
1664        } && test -s conftest$ac_exeext && {
1665          test "$cross_compiling" = yes ||
1666          test -x conftest$ac_exeext
1667        }; then :
1668   ac_retval=0
1669 else
1670   $as_echo "$as_me: failed program was:" >&5
1671 sed 's/^/| /' conftest.$ac_ext >&5
1672
1673         ac_retval=1
1674 fi
1675   # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
1676   # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
1677   # interfere with the next link command; also delete a directory that is
1678   # left behind by Apple's compiler.  We do this before executing the actions.
1679   rm -rf conftest.dSYM conftest_ipa8_conftest.oo
1680   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1681   as_fn_set_status $ac_retval
1682
1683 } # ac_fn_c_try_link
1684
1685 # ac_fn_c_check_header_compile LINENO HEADER VAR INCLUDES
1686 # -------------------------------------------------------
1687 # Tests whether HEADER exists and can be compiled using the include files in
1688 # INCLUDES, setting the cache variable VAR accordingly.
1689 ac_fn_c_check_header_compile ()
1690 {
1691   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1692   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1693 $as_echo_n "checking for $2... " >&6; }
1694 if eval \${$3+:} false; then :
1695   $as_echo_n "(cached) " >&6
1696 else
1697   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1698 /* end confdefs.h.  */
1699 $4
1700 #include <$2>
1701 _ACEOF
1702 if ac_fn_c_try_compile "$LINENO"; then :
1703   eval "$3=yes"
1704 else
1705   eval "$3=no"
1706 fi
1707 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1708 fi
1709 eval ac_res=\$$3
1710                { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1711 $as_echo "$ac_res" >&6; }
1712   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1713
1714 } # ac_fn_c_check_header_compile
1715
1716 # ac_fn_c_try_cpp LINENO
1717 # ----------------------
1718 # Try to preprocess conftest.$ac_ext, and return whether this succeeded.
1719 ac_fn_c_try_cpp ()
1720 {
1721   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1722   if { { ac_try="$ac_cpp conftest.$ac_ext"
1723 case "(($ac_try" in
1724   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1725   *) ac_try_echo=$ac_try;;
1726 esac
1727 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1728 $as_echo "$ac_try_echo"; } >&5
1729   (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err
1730   ac_status=$?
1731   if test -s conftest.err; then
1732     grep -v '^ *+' conftest.err >conftest.er1
1733     cat conftest.er1 >&5
1734     mv -f conftest.er1 conftest.err
1735   fi
1736   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1737   test $ac_status = 0; } > conftest.i && {
1738          test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
1739          test ! -s conftest.err
1740        }; then :
1741   ac_retval=0
1742 else
1743   $as_echo "$as_me: failed program was:" >&5
1744 sed 's/^/| /' conftest.$ac_ext >&5
1745
1746     ac_retval=1
1747 fi
1748   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1749   as_fn_set_status $ac_retval
1750
1751 } # ac_fn_c_try_cpp
1752
1753 # ac_fn_c_try_run LINENO
1754 # ----------------------
1755 # Try to link conftest.$ac_ext, and return whether this succeeded. Assumes
1756 # that executables *can* be run.
1757 ac_fn_c_try_run ()
1758 {
1759   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1760   if { { ac_try="$ac_link"
1761 case "(($ac_try" in
1762   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1763   *) ac_try_echo=$ac_try;;
1764 esac
1765 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1766 $as_echo "$ac_try_echo"; } >&5
1767   (eval "$ac_link") 2>&5
1768   ac_status=$?
1769   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1770   test $ac_status = 0; } && { ac_try='./conftest$ac_exeext'
1771   { { case "(($ac_try" in
1772   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1773   *) ac_try_echo=$ac_try;;
1774 esac
1775 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1776 $as_echo "$ac_try_echo"; } >&5
1777   (eval "$ac_try") 2>&5
1778   ac_status=$?
1779   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1780   test $ac_status = 0; }; }; then :
1781   ac_retval=0
1782 else
1783   $as_echo "$as_me: program exited with status $ac_status" >&5
1784        $as_echo "$as_me: failed program was:" >&5
1785 sed 's/^/| /' conftest.$ac_ext >&5
1786
1787        ac_retval=$ac_status
1788 fi
1789   rm -rf conftest.dSYM conftest_ipa8_conftest.oo
1790   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1791   as_fn_set_status $ac_retval
1792
1793 } # ac_fn_c_try_run
1794
1795 # ac_fn_c_check_func LINENO FUNC VAR
1796 # ----------------------------------
1797 # Tests whether FUNC exists, setting the cache variable VAR accordingly
1798 ac_fn_c_check_func ()
1799 {
1800   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1801   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1802 $as_echo_n "checking for $2... " >&6; }
1803 if eval \${$3+:} false; then :
1804   $as_echo_n "(cached) " >&6
1805 else
1806   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1807 /* end confdefs.h.  */
1808 /* Define $2 to an innocuous variant, in case <limits.h> declares $2.
1809    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
1810 #define $2 innocuous_$2
1811
1812 /* System header to define __stub macros and hopefully few prototypes,
1813     which can conflict with char $2 (); below.
1814     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
1815     <limits.h> exists even on freestanding compilers.  */
1816
1817 #ifdef __STDC__
1818 # include <limits.h>
1819 #else
1820 # include <assert.h>
1821 #endif
1822
1823 #undef $2
1824
1825 /* Override any GCC internal prototype to avoid an error.
1826    Use char because int might match the return type of a GCC
1827    builtin and then its argument prototype would still apply.  */
1828 #ifdef __cplusplus
1829 extern "C"
1830 #endif
1831 char $2 ();
1832 /* The GNU C library defines this for functions which it implements
1833     to always fail with ENOSYS.  Some functions are actually named
1834     something starting with __ and the normal name is an alias.  */
1835 #if defined __stub_$2 || defined __stub___$2
1836 choke me
1837 #endif
1838
1839 int
1840 main ()
1841 {
1842 return $2 ();
1843   ;
1844   return 0;
1845 }
1846 _ACEOF
1847 if ac_fn_c_try_link "$LINENO"; then :
1848   eval "$3=yes"
1849 else
1850   eval "$3=no"
1851 fi
1852 rm -f core conftest.err conftest.$ac_objext \
1853     conftest$ac_exeext conftest.$ac_ext
1854 fi
1855 eval ac_res=\$$3
1856                { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1857 $as_echo "$ac_res" >&6; }
1858   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1859
1860 } # ac_fn_c_check_func
1861 cat >config.log <<_ACEOF
1862 This file contains any messages produced by compilers while
1863 running configure, to aid debugging if configure makes a mistake.
1864
1865 It was created by pygobject $as_me 3.3.3.1, which was
1866 generated by GNU Autoconf 2.69.  Invocation command line was
1867
1868   $ $0 $@
1869
1870 _ACEOF
1871 exec 5>>config.log
1872 {
1873 cat <<_ASUNAME
1874 ## --------- ##
1875 ## Platform. ##
1876 ## --------- ##
1877
1878 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
1879 uname -m = `(uname -m) 2>/dev/null || echo unknown`
1880 uname -r = `(uname -r) 2>/dev/null || echo unknown`
1881 uname -s = `(uname -s) 2>/dev/null || echo unknown`
1882 uname -v = `(uname -v) 2>/dev/null || echo unknown`
1883
1884 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
1885 /bin/uname -X     = `(/bin/uname -X) 2>/dev/null     || echo unknown`
1886
1887 /bin/arch              = `(/bin/arch) 2>/dev/null              || echo unknown`
1888 /usr/bin/arch -k       = `(/usr/bin/arch -k) 2>/dev/null       || echo unknown`
1889 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
1890 /usr/bin/hostinfo      = `(/usr/bin/hostinfo) 2>/dev/null      || echo unknown`
1891 /bin/machine           = `(/bin/machine) 2>/dev/null           || echo unknown`
1892 /usr/bin/oslevel       = `(/usr/bin/oslevel) 2>/dev/null       || echo unknown`
1893 /bin/universe          = `(/bin/universe) 2>/dev/null          || echo unknown`
1894
1895 _ASUNAME
1896
1897 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1898 for as_dir in $PATH
1899 do
1900   IFS=$as_save_IFS
1901   test -z "$as_dir" && as_dir=.
1902     $as_echo "PATH: $as_dir"
1903   done
1904 IFS=$as_save_IFS
1905
1906 } >&5
1907
1908 cat >&5 <<_ACEOF
1909
1910
1911 ## ----------- ##
1912 ## Core tests. ##
1913 ## ----------- ##
1914
1915 _ACEOF
1916
1917
1918 # Keep a trace of the command line.
1919 # Strip out --no-create and --no-recursion so they do not pile up.
1920 # Strip out --silent because we don't want to record it for future runs.
1921 # Also quote any args containing shell meta-characters.
1922 # Make two passes to allow for proper duplicate-argument suppression.
1923 ac_configure_args=
1924 ac_configure_args0=
1925 ac_configure_args1=
1926 ac_must_keep_next=false
1927 for ac_pass in 1 2
1928 do
1929   for ac_arg
1930   do
1931     case $ac_arg in
1932     -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
1933     -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1934     | -silent | --silent | --silen | --sile | --sil)
1935       continue ;;
1936     *\'*)
1937       ac_arg=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
1938     esac
1939     case $ac_pass in
1940     1) as_fn_append ac_configure_args0 " '$ac_arg'" ;;
1941     2)
1942       as_fn_append ac_configure_args1 " '$ac_arg'"
1943       if test $ac_must_keep_next = true; then
1944         ac_must_keep_next=false # Got value, back to normal.
1945       else
1946         case $ac_arg in
1947           *=* | --config-cache | -C | -disable-* | --disable-* \
1948           | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
1949           | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
1950           | -with-* | --with-* | -without-* | --without-* | --x)
1951             case "$ac_configure_args0 " in
1952               "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
1953             esac
1954             ;;
1955           -* ) ac_must_keep_next=true ;;
1956         esac
1957       fi
1958       as_fn_append ac_configure_args " '$ac_arg'"
1959       ;;
1960     esac
1961   done
1962 done
1963 { ac_configure_args0=; unset ac_configure_args0;}
1964 { ac_configure_args1=; unset ac_configure_args1;}
1965
1966 # When interrupted or exit'd, cleanup temporary files, and complete
1967 # config.log.  We remove comments because anyway the quotes in there
1968 # would cause problems or look ugly.
1969 # WARNING: Use '\'' to represent an apostrophe within the trap.
1970 # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
1971 trap 'exit_status=$?
1972   # Save into config.log some information that might help in debugging.
1973   {
1974     echo
1975
1976     $as_echo "## ---------------- ##
1977 ## Cache variables. ##
1978 ## ---------------- ##"
1979     echo
1980     # The following way of writing the cache mishandles newlines in values,
1981 (
1982   for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
1983     eval ac_val=\$$ac_var
1984     case $ac_val in #(
1985     *${as_nl}*)
1986       case $ac_var in #(
1987       *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
1988 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
1989       esac
1990       case $ac_var in #(
1991       _ | IFS | as_nl) ;; #(
1992       BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
1993       *) { eval $ac_var=; unset $ac_var;} ;;
1994       esac ;;
1995     esac
1996   done
1997   (set) 2>&1 |
1998     case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
1999     *${as_nl}ac_space=\ *)
2000       sed -n \
2001         "s/'\''/'\''\\\\'\'''\''/g;
2002           s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
2003       ;; #(
2004     *)
2005       sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
2006       ;;
2007     esac |
2008     sort
2009 )
2010     echo
2011
2012     $as_echo "## ----------------- ##
2013 ## Output variables. ##
2014 ## ----------------- ##"
2015     echo
2016     for ac_var in $ac_subst_vars
2017     do
2018       eval ac_val=\$$ac_var
2019       case $ac_val in
2020       *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
2021       esac
2022       $as_echo "$ac_var='\''$ac_val'\''"
2023     done | sort
2024     echo
2025
2026     if test -n "$ac_subst_files"; then
2027       $as_echo "## ------------------- ##
2028 ## File substitutions. ##
2029 ## ------------------- ##"
2030       echo
2031       for ac_var in $ac_subst_files
2032       do
2033         eval ac_val=\$$ac_var
2034         case $ac_val in
2035         *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
2036         esac
2037         $as_echo "$ac_var='\''$ac_val'\''"
2038       done | sort
2039       echo
2040     fi
2041
2042     if test -s confdefs.h; then
2043       $as_echo "## ----------- ##
2044 ## confdefs.h. ##
2045 ## ----------- ##"
2046       echo
2047       cat confdefs.h
2048       echo
2049     fi
2050     test "$ac_signal" != 0 &&
2051       $as_echo "$as_me: caught signal $ac_signal"
2052     $as_echo "$as_me: exit $exit_status"
2053   } >&5
2054   rm -f core *.core core.conftest.* &&
2055     rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
2056     exit $exit_status
2057 ' 0
2058 for ac_signal in 1 2 13 15; do
2059   trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal
2060 done
2061 ac_signal=0
2062
2063 # confdefs.h avoids OS command line length limits that DEFS can exceed.
2064 rm -f -r conftest* confdefs.h
2065
2066 $as_echo "/* confdefs.h */" > confdefs.h
2067
2068 # Predefined preprocessor variables.
2069
2070 cat >>confdefs.h <<_ACEOF
2071 #define PACKAGE_NAME "$PACKAGE_NAME"
2072 _ACEOF
2073
2074 cat >>confdefs.h <<_ACEOF
2075 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
2076 _ACEOF
2077
2078 cat >>confdefs.h <<_ACEOF
2079 #define PACKAGE_VERSION "$PACKAGE_VERSION"
2080 _ACEOF
2081
2082 cat >>confdefs.h <<_ACEOF
2083 #define PACKAGE_STRING "$PACKAGE_STRING"
2084 _ACEOF
2085
2086 cat >>confdefs.h <<_ACEOF
2087 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
2088 _ACEOF
2089
2090 cat >>confdefs.h <<_ACEOF
2091 #define PACKAGE_URL "$PACKAGE_URL"
2092 _ACEOF
2093
2094
2095 # Let the site file select an alternate cache file if it wants to.
2096 # Prefer an explicitly selected file to automatically selected ones.
2097 ac_site_file1=NONE
2098 ac_site_file2=NONE
2099 if test -n "$CONFIG_SITE"; then
2100   # We do not want a PATH search for config.site.
2101   case $CONFIG_SITE in #((
2102     -*)  ac_site_file1=./$CONFIG_SITE;;
2103     */*) ac_site_file1=$CONFIG_SITE;;
2104     *)   ac_site_file1=./$CONFIG_SITE;;
2105   esac
2106 elif test "x$prefix" != xNONE; then
2107   ac_site_file1=$prefix/share/config.site
2108   ac_site_file2=$prefix/etc/config.site
2109 else
2110   ac_site_file1=$ac_default_prefix/share/config.site
2111   ac_site_file2=$ac_default_prefix/etc/config.site
2112 fi
2113 for ac_site_file in "$ac_site_file1" "$ac_site_file2"
2114 do
2115   test "x$ac_site_file" = xNONE && continue
2116   if test /dev/null != "$ac_site_file" && test -r "$ac_site_file"; then
2117     { $as_echo "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5
2118 $as_echo "$as_me: loading site script $ac_site_file" >&6;}
2119     sed 's/^/| /' "$ac_site_file" >&5
2120     . "$ac_site_file" \
2121       || { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2122 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2123 as_fn_error $? "failed to load site script $ac_site_file
2124 See \`config.log' for more details" "$LINENO" 5; }
2125   fi
2126 done
2127
2128 if test -r "$cache_file"; then
2129   # Some versions of bash will fail to source /dev/null (special files
2130   # actually), so we avoid doing that.  DJGPP emulates it as a regular file.
2131   if test /dev/null != "$cache_file" && test -f "$cache_file"; then
2132     { $as_echo "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5
2133 $as_echo "$as_me: loading cache $cache_file" >&6;}
2134     case $cache_file in
2135       [\\/]* | ?:[\\/]* ) . "$cache_file";;
2136       *)                      . "./$cache_file";;
2137     esac
2138   fi
2139 else
2140   { $as_echo "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5
2141 $as_echo "$as_me: creating cache $cache_file" >&6;}
2142   >$cache_file
2143 fi
2144
2145 # Check that the precious variables saved in the cache have kept the same
2146 # value.
2147 ac_cache_corrupted=false
2148 for ac_var in $ac_precious_vars; do
2149   eval ac_old_set=\$ac_cv_env_${ac_var}_set
2150   eval ac_new_set=\$ac_env_${ac_var}_set
2151   eval ac_old_val=\$ac_cv_env_${ac_var}_value
2152   eval ac_new_val=\$ac_env_${ac_var}_value
2153   case $ac_old_set,$ac_new_set in
2154     set,)
2155       { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
2156 $as_echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
2157       ac_cache_corrupted=: ;;
2158     ,set)
2159       { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not set in the previous run" >&5
2160 $as_echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
2161       ac_cache_corrupted=: ;;
2162     ,);;
2163     *)
2164       if test "x$ac_old_val" != "x$ac_new_val"; then
2165         # differences in whitespace do not lead to failure.
2166         ac_old_val_w=`echo x $ac_old_val`
2167         ac_new_val_w=`echo x $ac_new_val`
2168         if test "$ac_old_val_w" != "$ac_new_val_w"; then
2169           { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&5
2170 $as_echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
2171           ac_cache_corrupted=:
2172         else
2173           { $as_echo "$as_me:${as_lineno-$LINENO}: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5
2174 $as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;}
2175           eval $ac_var=\$ac_old_val
2176         fi
2177         { $as_echo "$as_me:${as_lineno-$LINENO}:   former value:  \`$ac_old_val'" >&5
2178 $as_echo "$as_me:   former value:  \`$ac_old_val'" >&2;}
2179         { $as_echo "$as_me:${as_lineno-$LINENO}:   current value: \`$ac_new_val'" >&5
2180 $as_echo "$as_me:   current value: \`$ac_new_val'" >&2;}
2181       fi;;
2182   esac
2183   # Pass precious variables to config.status.
2184   if test "$ac_new_set" = set; then
2185     case $ac_new_val in
2186     *\'*) ac_arg=$ac_var=`$as_echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
2187     *) ac_arg=$ac_var=$ac_new_val ;;
2188     esac
2189     case " $ac_configure_args " in
2190       *" '$ac_arg' "*) ;; # Avoid dups.  Use of quotes ensures accuracy.
2191       *) as_fn_append ac_configure_args " '$ac_arg'" ;;
2192     esac
2193   fi
2194 done
2195 if $ac_cache_corrupted; then
2196   { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2197 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2198   { $as_echo "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5
2199 $as_echo "$as_me: error: changes in the environment can compromise the build" >&2;}
2200   as_fn_error $? "run \`make distclean' and/or \`rm $cache_file' and start over" "$LINENO" 5
2201 fi
2202 ## -------------------- ##
2203 ## Main body of script. ##
2204 ## -------------------- ##
2205
2206 ac_ext=c
2207 ac_cpp='$CPP $CPPFLAGS'
2208 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2209 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2210 ac_compiler_gnu=$ac_cv_c_compiler_gnu
2211
2212
2213 ACLOCAL_AMFLAGS="-I m4 -I ."
2214
2215
2216
2217
2218
2219 $as_echo "#define PYGOBJECT_MAJOR_VERSION 3" >>confdefs.h
2220
2221 PYGOBJECT_MAJOR_VERSION=3
2222
2223
2224 $as_echo "#define PYGOBJECT_MINOR_VERSION 3" >>confdefs.h
2225
2226 PYGOBJECT_MINOR_VERSION=3
2227
2228
2229 $as_echo "#define PYGOBJECT_MICRO_VERSION 3.1" >>confdefs.h
2230
2231 PYGOBJECT_MICRO_VERSION=3.1
2232
2233
2234 ac_config_headers="$ac_config_headers config.h"
2235
2236 # Check whether --enable-silent-rules was given.
2237 if test "${enable_silent_rules+set}" = set; then :
2238   enableval=$enable_silent_rules;
2239 fi
2240
2241 case $enable_silent_rules in
2242 yes) AM_DEFAULT_VERBOSITY=0;;
2243 no)  AM_DEFAULT_VERBOSITY=1;;
2244 *)   AM_DEFAULT_VERBOSITY=0;;
2245 esac
2246 am_make=${MAKE-make}
2247 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $am_make supports nested variables" >&5
2248 $as_echo_n "checking whether $am_make supports nested variables... " >&6; }
2249 if ${am_cv_make_support_nested_variables+:} false; then :
2250   $as_echo_n "(cached) " >&6
2251 else
2252   if $as_echo 'TRUE=$(BAR$(V))
2253 BAR0=false
2254 BAR1=true
2255 V=1
2256 am__doit:
2257         @$(TRUE)
2258 .PHONY: am__doit' | $am_make -f - >/dev/null 2>&1; then
2259   am_cv_make_support_nested_variables=yes
2260 else
2261   am_cv_make_support_nested_variables=no
2262 fi
2263 fi
2264 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_make_support_nested_variables" >&5
2265 $as_echo "$am_cv_make_support_nested_variables" >&6; }
2266 if test $am_cv_make_support_nested_variables = yes; then
2267     AM_V='$(V)'
2268   AM_DEFAULT_V='$(AM_DEFAULT_VERBOSITY)'
2269 else
2270   AM_V=$AM_DEFAULT_VERBOSITY
2271   AM_DEFAULT_V=$AM_DEFAULT_VERBOSITY
2272 fi
2273 AM_BACKSLASH='\'
2274
2275 am__api_version='1.11'
2276
2277 ac_aux_dir=
2278 for ac_dir in "$srcdir" "$srcdir/.." "$srcdir/../.."; do
2279   if test -f "$ac_dir/install-sh"; then
2280     ac_aux_dir=$ac_dir
2281     ac_install_sh="$ac_aux_dir/install-sh -c"
2282     break
2283   elif test -f "$ac_dir/install.sh"; then
2284     ac_aux_dir=$ac_dir
2285     ac_install_sh="$ac_aux_dir/install.sh -c"
2286     break
2287   elif test -f "$ac_dir/shtool"; then
2288     ac_aux_dir=$ac_dir
2289     ac_install_sh="$ac_aux_dir/shtool install -c"
2290     break
2291   fi
2292 done
2293 if test -z "$ac_aux_dir"; then
2294   as_fn_error $? "cannot find install-sh, install.sh, or shtool in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" "$LINENO" 5
2295 fi
2296
2297 # These three variables are undocumented and unsupported,
2298 # and are intended to be withdrawn in a future Autoconf release.
2299 # They can cause serious problems if a builder's source tree is in a directory
2300 # whose full name contains unusual characters.
2301 ac_config_guess="$SHELL $ac_aux_dir/config.guess"  # Please don't use this var.
2302 ac_config_sub="$SHELL $ac_aux_dir/config.sub"  # Please don't use this var.
2303 ac_configure="$SHELL $ac_aux_dir/configure"  # Please don't use this var.
2304
2305
2306 # Find a good install program.  We prefer a C program (faster),
2307 # so one script is as good as another.  But avoid the broken or
2308 # incompatible versions:
2309 # SysV /etc/install, /usr/sbin/install
2310 # SunOS /usr/etc/install
2311 # IRIX /sbin/install
2312 # AIX /bin/install
2313 # AmigaOS /C/install, which installs bootblocks on floppy discs
2314 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
2315 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
2316 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
2317 # OS/2's system install, which has a completely different semantic
2318 # ./install, which can be erroneously created by make from ./install.sh.
2319 # Reject install programs that cannot install multiple files.
2320 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a BSD-compatible install" >&5
2321 $as_echo_n "checking for a BSD-compatible install... " >&6; }
2322 if test -z "$INSTALL"; then
2323 if ${ac_cv_path_install+:} false; then :
2324   $as_echo_n "(cached) " >&6
2325 else
2326   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2327 for as_dir in $PATH
2328 do
2329   IFS=$as_save_IFS
2330   test -z "$as_dir" && as_dir=.
2331     # Account for people who put trailing slashes in PATH elements.
2332 case $as_dir/ in #((
2333   ./ | .// | /[cC]/* | \
2334   /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
2335   ?:[\\/]os2[\\/]install[\\/]* | ?:[\\/]OS2[\\/]INSTALL[\\/]* | \
2336   /usr/ucb/* ) ;;
2337   *)
2338     # OSF1 and SCO ODT 3.0 have their own names for install.
2339     # Don't use installbsd from OSF since it installs stuff as root
2340     # by default.
2341     for ac_prog in ginstall scoinst install; do
2342       for ac_exec_ext in '' $ac_executable_extensions; do
2343         if as_fn_executable_p "$as_dir/$ac_prog$ac_exec_ext"; then
2344           if test $ac_prog = install &&
2345             grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
2346             # AIX install.  It has an incompatible calling convention.
2347             :
2348           elif test $ac_prog = install &&
2349             grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
2350             # program-specific install script used by HP pwplus--don't use.
2351             :
2352           else
2353             rm -rf conftest.one conftest.two conftest.dir
2354             echo one > conftest.one
2355             echo two > conftest.two
2356             mkdir conftest.dir
2357             if "$as_dir/$ac_prog$ac_exec_ext" -c conftest.one conftest.two "`pwd`/conftest.dir" &&
2358               test -s conftest.one && test -s conftest.two &&
2359               test -s conftest.dir/conftest.one &&
2360               test -s conftest.dir/conftest.two
2361             then
2362               ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
2363               break 3
2364             fi
2365           fi
2366         fi
2367       done
2368     done
2369     ;;
2370 esac
2371
2372   done
2373 IFS=$as_save_IFS
2374
2375 rm -rf conftest.one conftest.two conftest.dir
2376
2377 fi
2378   if test "${ac_cv_path_install+set}" = set; then
2379     INSTALL=$ac_cv_path_install
2380   else
2381     # As a last resort, use the slow shell script.  Don't cache a
2382     # value for INSTALL within a source directory, because that will
2383     # break other packages using the cache if that directory is
2384     # removed, or if the value is a relative name.
2385     INSTALL=$ac_install_sh
2386   fi
2387 fi
2388 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $INSTALL" >&5
2389 $as_echo "$INSTALL" >&6; }
2390
2391 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
2392 # It thinks the first close brace ends the variable substitution.
2393 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
2394
2395 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
2396
2397 test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
2398
2399 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether build environment is sane" >&5
2400 $as_echo_n "checking whether build environment is sane... " >&6; }
2401 # Just in case
2402 sleep 1
2403 echo timestamp > conftest.file
2404 # Reject unsafe characters in $srcdir or the absolute working directory
2405 # name.  Accept space and tab only in the latter.
2406 am_lf='
2407 '
2408 case `pwd` in
2409   *[\\\"\#\$\&\'\`$am_lf]*)
2410     as_fn_error $? "unsafe absolute working directory name" "$LINENO" 5;;
2411 esac
2412 case $srcdir in
2413   *[\\\"\#\$\&\'\`$am_lf\ \     ]*)
2414     as_fn_error $? "unsafe srcdir value: \`$srcdir'" "$LINENO" 5;;
2415 esac
2416
2417 # Do `set' in a subshell so we don't clobber the current shell's
2418 # arguments.  Must try -L first in case configure is actually a
2419 # symlink; some systems play weird games with the mod time of symlinks
2420 # (eg FreeBSD returns the mod time of the symlink's containing
2421 # directory).
2422 if (
2423    set X `ls -Lt "$srcdir/configure" conftest.file 2> /dev/null`
2424    if test "$*" = "X"; then
2425       # -L didn't work.
2426       set X `ls -t "$srcdir/configure" conftest.file`
2427    fi
2428    rm -f conftest.file
2429    if test "$*" != "X $srcdir/configure conftest.file" \
2430       && test "$*" != "X conftest.file $srcdir/configure"; then
2431
2432       # If neither matched, then we have a broken ls.  This can happen
2433       # if, for instance, CONFIG_SHELL is bash and it inherits a
2434       # broken ls alias from the environment.  This has actually
2435       # happened.  Such a system could not be considered "sane".
2436       as_fn_error $? "ls -t appears to fail.  Make sure there is not a broken
2437 alias in your environment" "$LINENO" 5
2438    fi
2439
2440    test "$2" = conftest.file
2441    )
2442 then
2443    # Ok.
2444    :
2445 else
2446    as_fn_error $? "newly created file is older than distributed files!
2447 Check your system clock" "$LINENO" 5
2448 fi
2449 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
2450 $as_echo "yes" >&6; }
2451 test "$program_prefix" != NONE &&
2452   program_transform_name="s&^&$program_prefix&;$program_transform_name"
2453 # Use a double $ so make ignores it.
2454 test "$program_suffix" != NONE &&
2455   program_transform_name="s&\$&$program_suffix&;$program_transform_name"
2456 # Double any \ or $.
2457 # By default was `s,x,x', remove it if useless.
2458 ac_script='s/[\\$]/&&/g;s/;s,x,x,$//'
2459 program_transform_name=`$as_echo "$program_transform_name" | sed "$ac_script"`
2460
2461 # expand $ac_aux_dir to an absolute path
2462 am_aux_dir=`cd $ac_aux_dir && pwd`
2463
2464 if test x"${MISSING+set}" != xset; then
2465   case $am_aux_dir in
2466   *\ * | *\     *)
2467     MISSING="\${SHELL} \"$am_aux_dir/missing\"" ;;
2468   *)
2469     MISSING="\${SHELL} $am_aux_dir/missing" ;;
2470   esac
2471 fi
2472 # Use eval to expand $SHELL
2473 if eval "$MISSING --run true"; then
2474   am_missing_run="$MISSING --run "
2475 else
2476   am_missing_run=
2477   { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \`missing' script is too old or missing" >&5
2478 $as_echo "$as_me: WARNING: \`missing' script is too old or missing" >&2;}
2479 fi
2480
2481 if test x"${install_sh}" != xset; then
2482   case $am_aux_dir in
2483   *\ * | *\     *)
2484     install_sh="\${SHELL} '$am_aux_dir/install-sh'" ;;
2485   *)
2486     install_sh="\${SHELL} $am_aux_dir/install-sh"
2487   esac
2488 fi
2489
2490 # Installed binaries are usually stripped using `strip' when the user
2491 # run `make install-strip'.  However `strip' might not be the right
2492 # tool to use in cross-compilation environments, therefore Automake
2493 # will honor the `STRIP' environment variable to overrule this program.
2494 if test "$cross_compiling" != no; then
2495   if test -n "$ac_tool_prefix"; then
2496   # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
2497 set dummy ${ac_tool_prefix}strip; ac_word=$2
2498 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2499 $as_echo_n "checking for $ac_word... " >&6; }
2500 if ${ac_cv_prog_STRIP+:} false; then :
2501   $as_echo_n "(cached) " >&6
2502 else
2503   if test -n "$STRIP"; then
2504   ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
2505 else
2506 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2507 for as_dir in $PATH
2508 do
2509   IFS=$as_save_IFS
2510   test -z "$as_dir" && as_dir=.
2511     for ac_exec_ext in '' $ac_executable_extensions; do
2512   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2513     ac_cv_prog_STRIP="${ac_tool_prefix}strip"
2514     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2515     break 2
2516   fi
2517 done
2518   done
2519 IFS=$as_save_IFS
2520
2521 fi
2522 fi
2523 STRIP=$ac_cv_prog_STRIP
2524 if test -n "$STRIP"; then
2525   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
2526 $as_echo "$STRIP" >&6; }
2527 else
2528   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2529 $as_echo "no" >&6; }
2530 fi
2531
2532
2533 fi
2534 if test -z "$ac_cv_prog_STRIP"; then
2535   ac_ct_STRIP=$STRIP
2536   # Extract the first word of "strip", so it can be a program name with args.
2537 set dummy strip; ac_word=$2
2538 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2539 $as_echo_n "checking for $ac_word... " >&6; }
2540 if ${ac_cv_prog_ac_ct_STRIP+:} false; then :
2541   $as_echo_n "(cached) " >&6
2542 else
2543   if test -n "$ac_ct_STRIP"; then
2544   ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
2545 else
2546 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2547 for as_dir in $PATH
2548 do
2549   IFS=$as_save_IFS
2550   test -z "$as_dir" && as_dir=.
2551     for ac_exec_ext in '' $ac_executable_extensions; do
2552   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2553     ac_cv_prog_ac_ct_STRIP="strip"
2554     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2555     break 2
2556   fi
2557 done
2558   done
2559 IFS=$as_save_IFS
2560
2561 fi
2562 fi
2563 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
2564 if test -n "$ac_ct_STRIP"; then
2565   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
2566 $as_echo "$ac_ct_STRIP" >&6; }
2567 else
2568   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2569 $as_echo "no" >&6; }
2570 fi
2571
2572   if test "x$ac_ct_STRIP" = x; then
2573     STRIP=":"
2574   else
2575     case $cross_compiling:$ac_tool_warned in
2576 yes:)
2577 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
2578 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
2579 ac_tool_warned=yes ;;
2580 esac
2581     STRIP=$ac_ct_STRIP
2582   fi
2583 else
2584   STRIP="$ac_cv_prog_STRIP"
2585 fi
2586
2587 fi
2588 INSTALL_STRIP_PROGRAM="\$(install_sh) -c -s"
2589
2590 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a thread-safe mkdir -p" >&5
2591 $as_echo_n "checking for a thread-safe mkdir -p... " >&6; }
2592 if test -z "$MKDIR_P"; then
2593   if ${ac_cv_path_mkdir+:} false; then :
2594   $as_echo_n "(cached) " >&6
2595 else
2596   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2597 for as_dir in $PATH$PATH_SEPARATOR/opt/sfw/bin
2598 do
2599   IFS=$as_save_IFS
2600   test -z "$as_dir" && as_dir=.
2601     for ac_prog in mkdir gmkdir; do
2602          for ac_exec_ext in '' $ac_executable_extensions; do
2603            as_fn_executable_p "$as_dir/$ac_prog$ac_exec_ext" || continue
2604            case `"$as_dir/$ac_prog$ac_exec_ext" --version 2>&1` in #(
2605              'mkdir (GNU coreutils) '* | \
2606              'mkdir (coreutils) '* | \
2607              'mkdir (fileutils) '4.1*)
2608                ac_cv_path_mkdir=$as_dir/$ac_prog$ac_exec_ext
2609                break 3;;
2610            esac
2611          done
2612        done
2613   done
2614 IFS=$as_save_IFS
2615
2616 fi
2617
2618   test -d ./--version && rmdir ./--version
2619   if test "${ac_cv_path_mkdir+set}" = set; then
2620     MKDIR_P="$ac_cv_path_mkdir -p"
2621   else
2622     # As a last resort, use the slow shell script.  Don't cache a
2623     # value for MKDIR_P within a source directory, because that will
2624     # break other packages using the cache if that directory is
2625     # removed, or if the value is a relative name.
2626     MKDIR_P="$ac_install_sh -d"
2627   fi
2628 fi
2629 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MKDIR_P" >&5
2630 $as_echo "$MKDIR_P" >&6; }
2631
2632 mkdir_p="$MKDIR_P"
2633 case $mkdir_p in
2634   [\\/$]* | ?:[\\/]*) ;;
2635   */*) mkdir_p="\$(top_builddir)/$mkdir_p" ;;
2636 esac
2637
2638 for ac_prog in gawk mawk nawk awk
2639 do
2640   # Extract the first word of "$ac_prog", so it can be a program name with args.
2641 set dummy $ac_prog; ac_word=$2
2642 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2643 $as_echo_n "checking for $ac_word... " >&6; }
2644 if ${ac_cv_prog_AWK+:} false; then :
2645   $as_echo_n "(cached) " >&6
2646 else
2647   if test -n "$AWK"; then
2648   ac_cv_prog_AWK="$AWK" # Let the user override the test.
2649 else
2650 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2651 for as_dir in $PATH
2652 do
2653   IFS=$as_save_IFS
2654   test -z "$as_dir" && as_dir=.
2655     for ac_exec_ext in '' $ac_executable_extensions; do
2656   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2657     ac_cv_prog_AWK="$ac_prog"
2658     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2659     break 2
2660   fi
2661 done
2662   done
2663 IFS=$as_save_IFS
2664
2665 fi
2666 fi
2667 AWK=$ac_cv_prog_AWK
2668 if test -n "$AWK"; then
2669   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AWK" >&5
2670 $as_echo "$AWK" >&6; }
2671 else
2672   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2673 $as_echo "no" >&6; }
2674 fi
2675
2676
2677   test -n "$AWK" && break
2678 done
2679
2680 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5
2681 $as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; }
2682 set x ${MAKE-make}
2683 ac_make=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
2684 if eval \${ac_cv_prog_make_${ac_make}_set+:} false; then :
2685   $as_echo_n "(cached) " >&6
2686 else
2687   cat >conftest.make <<\_ACEOF
2688 SHELL = /bin/sh
2689 all:
2690         @echo '@@@%%%=$(MAKE)=@@@%%%'
2691 _ACEOF
2692 # GNU make sometimes prints "make[1]: Entering ...", which would confuse us.
2693 case `${MAKE-make} -f conftest.make 2>/dev/null` in
2694   *@@@%%%=?*=@@@%%%*)
2695     eval ac_cv_prog_make_${ac_make}_set=yes;;
2696   *)
2697     eval ac_cv_prog_make_${ac_make}_set=no;;
2698 esac
2699 rm -f conftest.make
2700 fi
2701 if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then
2702   { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
2703 $as_echo "yes" >&6; }
2704   SET_MAKE=
2705 else
2706   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2707 $as_echo "no" >&6; }
2708   SET_MAKE="MAKE=${MAKE-make}"
2709 fi
2710
2711 rm -rf .tst 2>/dev/null
2712 mkdir .tst 2>/dev/null
2713 if test -d .tst; then
2714   am__leading_dot=.
2715 else
2716   am__leading_dot=_
2717 fi
2718 rmdir .tst 2>/dev/null
2719
2720 if test "`cd $srcdir && pwd`" != "`pwd`"; then
2721   # Use -I$(srcdir) only when $(srcdir) != ., so that make's output
2722   # is not polluted with repeated "-I."
2723   am__isrc=' -I$(srcdir)'
2724   # test to see if srcdir already configured
2725   if test -f $srcdir/config.status; then
2726     as_fn_error $? "source directory already configured; run \"make distclean\" there first" "$LINENO" 5
2727   fi
2728 fi
2729
2730 # test whether we have cygpath
2731 if test -z "$CYGPATH_W"; then
2732   if (cygpath --version) >/dev/null 2>/dev/null; then
2733     CYGPATH_W='cygpath -w'
2734   else
2735     CYGPATH_W=echo
2736   fi
2737 fi
2738
2739
2740 # Define the identity of the package.
2741  PACKAGE='pygobject'
2742  VERSION='3.3.3.1'
2743
2744
2745 cat >>confdefs.h <<_ACEOF
2746 #define PACKAGE "$PACKAGE"
2747 _ACEOF
2748
2749
2750 cat >>confdefs.h <<_ACEOF
2751 #define VERSION "$VERSION"
2752 _ACEOF
2753
2754 # Some tools Automake needs.
2755
2756 ACLOCAL=${ACLOCAL-"${am_missing_run}aclocal-${am__api_version}"}
2757
2758
2759 AUTOCONF=${AUTOCONF-"${am_missing_run}autoconf"}
2760
2761
2762 AUTOMAKE=${AUTOMAKE-"${am_missing_run}automake-${am__api_version}"}
2763
2764
2765 AUTOHEADER=${AUTOHEADER-"${am_missing_run}autoheader"}
2766
2767
2768 MAKEINFO=${MAKEINFO-"${am_missing_run}makeinfo"}
2769
2770 # We need awk for the "check" target.  The system "awk" is bad on
2771 # some platforms.
2772 # Always define AMTAR for backward compatibility.  Yes, it's still used
2773 # in the wild :-(  We should find a proper way to deprecate it ...
2774 AMTAR='$${TAR-tar}'
2775
2776 am__tar='$${TAR-tar} chof - "$$tardir"' am__untar='$${TAR-tar} xf -'
2777
2778
2779
2780
2781
2782
2783 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to enable maintainer-specific portions of Makefiles" >&5
2784 $as_echo_n "checking whether to enable maintainer-specific portions of Makefiles... " >&6; }
2785     # Check whether --enable-maintainer-mode was given.
2786 if test "${enable_maintainer_mode+set}" = set; then :
2787   enableval=$enable_maintainer_mode; USE_MAINTAINER_MODE=$enableval
2788 else
2789   USE_MAINTAINER_MODE=yes
2790 fi
2791
2792   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $USE_MAINTAINER_MODE" >&5
2793 $as_echo "$USE_MAINTAINER_MODE" >&6; }
2794    if test $USE_MAINTAINER_MODE = yes; then
2795   MAINTAINER_MODE_TRUE=
2796   MAINTAINER_MODE_FALSE='#'
2797 else
2798   MAINTAINER_MODE_TRUE='#'
2799   MAINTAINER_MODE_FALSE=
2800 fi
2801
2802   MAINT=$MAINTAINER_MODE_TRUE
2803
2804
2805
2806 ACLOCAL="$ACLOCAL $ACLOCAL_FLAGS"
2807
2808 # Make sure we can run config.sub.
2809 $SHELL "$ac_aux_dir/config.sub" sun4 >/dev/null 2>&1 ||
2810   as_fn_error $? "cannot run $SHELL $ac_aux_dir/config.sub" "$LINENO" 5
2811
2812 { $as_echo "$as_me:${as_lineno-$LINENO}: checking build system type" >&5
2813 $as_echo_n "checking build system type... " >&6; }
2814 if ${ac_cv_build+:} false; then :
2815   $as_echo_n "(cached) " >&6
2816 else
2817   ac_build_alias=$build_alias
2818 test "x$ac_build_alias" = x &&
2819   ac_build_alias=`$SHELL "$ac_aux_dir/config.guess"`
2820 test "x$ac_build_alias" = x &&
2821   as_fn_error $? "cannot guess build type; you must specify one" "$LINENO" 5
2822 ac_cv_build=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
2823   as_fn_error $? "$SHELL $ac_aux_dir/config.sub $ac_build_alias failed" "$LINENO" 5
2824
2825 fi
2826 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_build" >&5
2827 $as_echo "$ac_cv_build" >&6; }
2828 case $ac_cv_build in
2829 *-*-*) ;;
2830 *) as_fn_error $? "invalid value of canonical build" "$LINENO" 5;;
2831 esac
2832 build=$ac_cv_build
2833 ac_save_IFS=$IFS; IFS='-'
2834 set x $ac_cv_build
2835 shift
2836 build_cpu=$1
2837 build_vendor=$2
2838 shift; shift
2839 # Remember, the first character of IFS is used to create $*,
2840 # except with old shells:
2841 build_os=$*
2842 IFS=$ac_save_IFS
2843 case $build_os in *\ *) build_os=`echo "$build_os" | sed 's/ /-/g'`;; esac
2844
2845
2846 { $as_echo "$as_me:${as_lineno-$LINENO}: checking host system type" >&5
2847 $as_echo_n "checking host system type... " >&6; }
2848 if ${ac_cv_host+:} false; then :
2849   $as_echo_n "(cached) " >&6
2850 else
2851   if test "x$host_alias" = x; then
2852   ac_cv_host=$ac_cv_build
2853 else
2854   ac_cv_host=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
2855     as_fn_error $? "$SHELL $ac_aux_dir/config.sub $host_alias failed" "$LINENO" 5
2856 fi
2857
2858 fi
2859 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_host" >&5
2860 $as_echo "$ac_cv_host" >&6; }
2861 case $ac_cv_host in
2862 *-*-*) ;;
2863 *) as_fn_error $? "invalid value of canonical host" "$LINENO" 5;;
2864 esac
2865 host=$ac_cv_host
2866 ac_save_IFS=$IFS; IFS='-'
2867 set x $ac_cv_host
2868 shift
2869 host_cpu=$1
2870 host_vendor=$2
2871 shift; shift
2872 # Remember, the first character of IFS is used to create $*,
2873 # except with old shells:
2874 host_os=$*
2875 IFS=$ac_save_IFS
2876 case $host_os in *\ *) host_os=`echo "$host_os" | sed 's/ /-/g'`;; esac
2877
2878
2879 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for some Win32 platform" >&5
2880 $as_echo_n "checking for some Win32 platform... " >&6; }
2881 case "$host" in
2882   *-*-mingw*|*-*-cygwin*)
2883     platform_win32=yes
2884     ;;
2885   *)
2886     platform_win32=no
2887     ;;
2888 esac
2889 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $platform_win32" >&5
2890 $as_echo "$platform_win32" >&6; }
2891  if test "$platform_win32" = "yes"; then
2892   PLATFORM_WIN32_TRUE=
2893   PLATFORM_WIN32_FALSE='#'
2894 else
2895   PLATFORM_WIN32_TRUE='#'
2896   PLATFORM_WIN32_FALSE=
2897 fi
2898
2899
2900 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for native Win32" >&5
2901 $as_echo_n "checking for native Win32... " >&6; }
2902 case "$host" in
2903   *-*-mingw*)
2904     os_win32=yes
2905     ;;
2906   *)
2907     os_win32=no
2908     ;;
2909 esac
2910 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $os_win32" >&5
2911 $as_echo "$os_win32" >&6; }
2912  if test "$os_win32" = "yes"; then
2913   OS_WIN32_TRUE=
2914   OS_WIN32_FALSE='#'
2915 else
2916   OS_WIN32_TRUE='#'
2917   OS_WIN32_FALSE=
2918 fi
2919
2920
2921 # Check whether --enable-static was given.
2922 if test "${enable_static+set}" = set; then :
2923   enableval=$enable_static; p=${PACKAGE-default}
2924     case $enableval in
2925     yes) enable_static=yes ;;
2926     no) enable_static=no ;;
2927     *)
2928      enable_static=no
2929       # Look at the argument we got.  We use all the common list separators.
2930       lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
2931       for pkg in $enableval; do
2932         IFS="$lt_save_ifs"
2933         if test "X$pkg" = "X$p"; then
2934           enable_static=yes
2935         fi
2936       done
2937       IFS="$lt_save_ifs"
2938       ;;
2939     esac
2940 else
2941   enable_static=no
2942 fi
2943
2944
2945
2946
2947
2948
2949
2950
2951
2952
2953
2954
2955 enable_win32_dll=yes
2956
2957 case $host in
2958 *-*-cygwin* | *-*-mingw* | *-*-pw32* | *-*-cegcc*)
2959   if test -n "$ac_tool_prefix"; then
2960   # Extract the first word of "${ac_tool_prefix}as", so it can be a program name with args.
2961 set dummy ${ac_tool_prefix}as; ac_word=$2
2962 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2963 $as_echo_n "checking for $ac_word... " >&6; }
2964 if ${ac_cv_prog_AS+:} false; then :
2965   $as_echo_n "(cached) " >&6
2966 else
2967   if test -n "$AS"; then
2968   ac_cv_prog_AS="$AS" # Let the user override the test.
2969 else
2970 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2971 for as_dir in $PATH
2972 do
2973   IFS=$as_save_IFS
2974   test -z "$as_dir" && as_dir=.
2975     for ac_exec_ext in '' $ac_executable_extensions; do
2976   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2977     ac_cv_prog_AS="${ac_tool_prefix}as"
2978     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2979     break 2
2980   fi
2981 done
2982   done
2983 IFS=$as_save_IFS
2984
2985 fi
2986 fi
2987 AS=$ac_cv_prog_AS
2988 if test -n "$AS"; then
2989   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AS" >&5
2990 $as_echo "$AS" >&6; }
2991 else
2992   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2993 $as_echo "no" >&6; }
2994 fi
2995
2996
2997 fi
2998 if test -z "$ac_cv_prog_AS"; then
2999   ac_ct_AS=$AS
3000   # Extract the first word of "as", so it can be a program name with args.
3001 set dummy as; ac_word=$2
3002 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3003 $as_echo_n "checking for $ac_word... " >&6; }
3004 if ${ac_cv_prog_ac_ct_AS+:} false; then :
3005   $as_echo_n "(cached) " >&6
3006 else
3007   if test -n "$ac_ct_AS"; then
3008   ac_cv_prog_ac_ct_AS="$ac_ct_AS" # Let the user override the test.
3009 else
3010 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3011 for as_dir in $PATH
3012 do
3013   IFS=$as_save_IFS
3014   test -z "$as_dir" && as_dir=.
3015     for ac_exec_ext in '' $ac_executable_extensions; do
3016   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3017     ac_cv_prog_ac_ct_AS="as"
3018     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3019     break 2
3020   fi
3021 done
3022   done
3023 IFS=$as_save_IFS
3024
3025 fi
3026 fi
3027 ac_ct_AS=$ac_cv_prog_ac_ct_AS
3028 if test -n "$ac_ct_AS"; then
3029   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_AS" >&5
3030 $as_echo "$ac_ct_AS" >&6; }
3031 else
3032   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3033 $as_echo "no" >&6; }
3034 fi
3035
3036   if test "x$ac_ct_AS" = x; then
3037     AS="false"
3038   else
3039     case $cross_compiling:$ac_tool_warned in
3040 yes:)
3041 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3042 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3043 ac_tool_warned=yes ;;
3044 esac
3045     AS=$ac_ct_AS
3046   fi
3047 else
3048   AS="$ac_cv_prog_AS"
3049 fi
3050
3051   if test -n "$ac_tool_prefix"; then
3052   # Extract the first word of "${ac_tool_prefix}dlltool", so it can be a program name with args.
3053 set dummy ${ac_tool_prefix}dlltool; ac_word=$2
3054 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3055 $as_echo_n "checking for $ac_word... " >&6; }
3056 if ${ac_cv_prog_DLLTOOL+:} false; then :
3057   $as_echo_n "(cached) " >&6
3058 else
3059   if test -n "$DLLTOOL"; then
3060   ac_cv_prog_DLLTOOL="$DLLTOOL" # Let the user override the test.
3061 else
3062 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3063 for as_dir in $PATH
3064 do
3065   IFS=$as_save_IFS
3066   test -z "$as_dir" && as_dir=.
3067     for ac_exec_ext in '' $ac_executable_extensions; do
3068   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3069     ac_cv_prog_DLLTOOL="${ac_tool_prefix}dlltool"
3070     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3071     break 2
3072   fi
3073 done
3074   done
3075 IFS=$as_save_IFS
3076
3077 fi
3078 fi
3079 DLLTOOL=$ac_cv_prog_DLLTOOL
3080 if test -n "$DLLTOOL"; then
3081   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DLLTOOL" >&5
3082 $as_echo "$DLLTOOL" >&6; }
3083 else
3084   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3085 $as_echo "no" >&6; }
3086 fi
3087
3088
3089 fi
3090 if test -z "$ac_cv_prog_DLLTOOL"; then
3091   ac_ct_DLLTOOL=$DLLTOOL
3092   # Extract the first word of "dlltool", so it can be a program name with args.
3093 set dummy dlltool; ac_word=$2
3094 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3095 $as_echo_n "checking for $ac_word... " >&6; }
3096 if ${ac_cv_prog_ac_ct_DLLTOOL+:} false; then :
3097   $as_echo_n "(cached) " >&6
3098 else
3099   if test -n "$ac_ct_DLLTOOL"; then
3100   ac_cv_prog_ac_ct_DLLTOOL="$ac_ct_DLLTOOL" # Let the user override the test.
3101 else
3102 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3103 for as_dir in $PATH
3104 do
3105   IFS=$as_save_IFS
3106   test -z "$as_dir" && as_dir=.
3107     for ac_exec_ext in '' $ac_executable_extensions; do
3108   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3109     ac_cv_prog_ac_ct_DLLTOOL="dlltool"
3110     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3111     break 2
3112   fi
3113 done
3114   done
3115 IFS=$as_save_IFS
3116
3117 fi
3118 fi
3119 ac_ct_DLLTOOL=$ac_cv_prog_ac_ct_DLLTOOL
3120 if test -n "$ac_ct_DLLTOOL"; then
3121   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DLLTOOL" >&5
3122 $as_echo "$ac_ct_DLLTOOL" >&6; }
3123 else
3124   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3125 $as_echo "no" >&6; }
3126 fi
3127
3128   if test "x$ac_ct_DLLTOOL" = x; then
3129     DLLTOOL="false"
3130   else
3131     case $cross_compiling:$ac_tool_warned in
3132 yes:)
3133 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3134 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3135 ac_tool_warned=yes ;;
3136 esac
3137     DLLTOOL=$ac_ct_DLLTOOL
3138   fi
3139 else
3140   DLLTOOL="$ac_cv_prog_DLLTOOL"
3141 fi
3142
3143   if test -n "$ac_tool_prefix"; then
3144   # Extract the first word of "${ac_tool_prefix}objdump", so it can be a program name with args.
3145 set dummy ${ac_tool_prefix}objdump; ac_word=$2
3146 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3147 $as_echo_n "checking for $ac_word... " >&6; }
3148 if ${ac_cv_prog_OBJDUMP+:} false; then :
3149   $as_echo_n "(cached) " >&6
3150 else
3151   if test -n "$OBJDUMP"; then
3152   ac_cv_prog_OBJDUMP="$OBJDUMP" # Let the user override the test.
3153 else
3154 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3155 for as_dir in $PATH
3156 do
3157   IFS=$as_save_IFS
3158   test -z "$as_dir" && as_dir=.
3159     for ac_exec_ext in '' $ac_executable_extensions; do
3160   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3161     ac_cv_prog_OBJDUMP="${ac_tool_prefix}objdump"
3162     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3163     break 2
3164   fi
3165 done
3166   done
3167 IFS=$as_save_IFS
3168
3169 fi
3170 fi
3171 OBJDUMP=$ac_cv_prog_OBJDUMP
3172 if test -n "$OBJDUMP"; then
3173   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OBJDUMP" >&5
3174 $as_echo "$OBJDUMP" >&6; }
3175 else
3176   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3177 $as_echo "no" >&6; }
3178 fi
3179
3180
3181 fi
3182 if test -z "$ac_cv_prog_OBJDUMP"; then
3183   ac_ct_OBJDUMP=$OBJDUMP
3184   # Extract the first word of "objdump", so it can be a program name with args.
3185 set dummy objdump; ac_word=$2
3186 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3187 $as_echo_n "checking for $ac_word... " >&6; }
3188 if ${ac_cv_prog_ac_ct_OBJDUMP+:} false; then :
3189   $as_echo_n "(cached) " >&6
3190 else
3191   if test -n "$ac_ct_OBJDUMP"; then
3192   ac_cv_prog_ac_ct_OBJDUMP="$ac_ct_OBJDUMP" # Let the user override the test.
3193 else
3194 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3195 for as_dir in $PATH
3196 do
3197   IFS=$as_save_IFS
3198   test -z "$as_dir" && as_dir=.
3199     for ac_exec_ext in '' $ac_executable_extensions; do
3200   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3201     ac_cv_prog_ac_ct_OBJDUMP="objdump"
3202     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3203     break 2
3204   fi
3205 done
3206   done
3207 IFS=$as_save_IFS
3208
3209 fi
3210 fi
3211 ac_ct_OBJDUMP=$ac_cv_prog_ac_ct_OBJDUMP
3212 if test -n "$ac_ct_OBJDUMP"; then
3213   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OBJDUMP" >&5
3214 $as_echo "$ac_ct_OBJDUMP" >&6; }
3215 else
3216   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3217 $as_echo "no" >&6; }
3218 fi
3219
3220   if test "x$ac_ct_OBJDUMP" = x; then
3221     OBJDUMP="false"
3222   else
3223     case $cross_compiling:$ac_tool_warned in
3224 yes:)
3225 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3226 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3227 ac_tool_warned=yes ;;
3228 esac
3229     OBJDUMP=$ac_ct_OBJDUMP
3230   fi
3231 else
3232   OBJDUMP="$ac_cv_prog_OBJDUMP"
3233 fi
3234
3235   ;;
3236 esac
3237
3238 test -z "$AS" && AS=as
3239
3240
3241
3242
3243
3244 test -z "$DLLTOOL" && DLLTOOL=dlltool
3245
3246
3247
3248
3249
3250 test -z "$OBJDUMP" && OBJDUMP=objdump
3251
3252
3253
3254
3255
3256
3257
3258 case `pwd` in
3259   *\ * | *\     *)
3260     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Libtool does not cope well with whitespace in \`pwd\`" >&5
3261 $as_echo "$as_me: WARNING: Libtool does not cope well with whitespace in \`pwd\`" >&2;} ;;
3262 esac
3263
3264
3265
3266 macro_version='2.4.2'
3267 macro_revision='1.3337'
3268
3269
3270
3271
3272
3273
3274
3275
3276
3277
3278
3279
3280
3281 ltmain="$ac_aux_dir/ltmain.sh"
3282
3283 # Backslashify metacharacters that are still active within
3284 # double-quoted strings.
3285 sed_quote_subst='s/\(["`$\\]\)/\\\1/g'
3286
3287 # Same as above, but do not quote variable references.
3288 double_quote_subst='s/\(["`\\]\)/\\\1/g'
3289
3290 # Sed substitution to delay expansion of an escaped shell variable in a
3291 # double_quote_subst'ed string.
3292 delay_variable_subst='s/\\\\\\\\\\\$/\\\\\\$/g'
3293
3294 # Sed substitution to delay expansion of an escaped single quote.
3295 delay_single_quote_subst='s/'\''/'\'\\\\\\\'\''/g'
3296
3297 # Sed substitution to avoid accidental globbing in evaled expressions
3298 no_glob_subst='s/\*/\\\*/g'
3299
3300 ECHO='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
3301 ECHO=$ECHO$ECHO$ECHO$ECHO$ECHO
3302 ECHO=$ECHO$ECHO$ECHO$ECHO$ECHO$ECHO
3303
3304 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to print strings" >&5
3305 $as_echo_n "checking how to print strings... " >&6; }
3306 # Test print first, because it will be a builtin if present.
3307 if test "X`( print -r -- -n ) 2>/dev/null`" = X-n && \
3308    test "X`print -r -- $ECHO 2>/dev/null`" = "X$ECHO"; then
3309   ECHO='print -r --'
3310 elif test "X`printf %s $ECHO 2>/dev/null`" = "X$ECHO"; then
3311   ECHO='printf %s\n'
3312 else
3313   # Use this function as a fallback that always works.
3314   func_fallback_echo ()
3315   {
3316     eval 'cat <<_LTECHO_EOF
3317 $1
3318 _LTECHO_EOF'
3319   }
3320   ECHO='func_fallback_echo'
3321 fi
3322
3323 # func_echo_all arg...
3324 # Invoke $ECHO with all args, space-separated.
3325 func_echo_all ()
3326 {
3327     $ECHO ""
3328 }
3329
3330 case "$ECHO" in
3331   printf*) { $as_echo "$as_me:${as_lineno-$LINENO}: result: printf" >&5
3332 $as_echo "printf" >&6; } ;;
3333   print*) { $as_echo "$as_me:${as_lineno-$LINENO}: result: print -r" >&5
3334 $as_echo "print -r" >&6; } ;;
3335   *) { $as_echo "$as_me:${as_lineno-$LINENO}: result: cat" >&5
3336 $as_echo "cat" >&6; } ;;
3337 esac
3338
3339
3340
3341
3342
3343
3344
3345
3346
3347
3348
3349
3350
3351
3352 DEPDIR="${am__leading_dot}deps"
3353
3354 ac_config_commands="$ac_config_commands depfiles"
3355
3356
3357 am_make=${MAKE-make}
3358 cat > confinc << 'END'
3359 am__doit:
3360         @echo this is the am__doit target
3361 .PHONY: am__doit
3362 END
3363 # If we don't find an include directive, just comment out the code.
3364 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for style of include used by $am_make" >&5
3365 $as_echo_n "checking for style of include used by $am_make... " >&6; }
3366 am__include="#"
3367 am__quote=
3368 _am_result=none
3369 # First try GNU make style include.
3370 echo "include confinc" > confmf
3371 # Ignore all kinds of additional output from `make'.
3372 case `$am_make -s -f confmf 2> /dev/null` in #(
3373 *the\ am__doit\ target*)
3374   am__include=include
3375   am__quote=
3376   _am_result=GNU
3377   ;;
3378 esac
3379 # Now try BSD make style include.
3380 if test "$am__include" = "#"; then
3381    echo '.include "confinc"' > confmf
3382    case `$am_make -s -f confmf 2> /dev/null` in #(
3383    *the\ am__doit\ target*)
3384      am__include=.include
3385      am__quote="\""
3386      _am_result=BSD
3387      ;;
3388    esac
3389 fi
3390
3391
3392 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $_am_result" >&5
3393 $as_echo "$_am_result" >&6; }
3394 rm -f confinc confmf
3395
3396 # Check whether --enable-dependency-tracking was given.
3397 if test "${enable_dependency_tracking+set}" = set; then :
3398   enableval=$enable_dependency_tracking;
3399 fi
3400
3401 if test "x$enable_dependency_tracking" != xno; then
3402   am_depcomp="$ac_aux_dir/depcomp"
3403   AMDEPBACKSLASH='\'
3404   am__nodep='_no'
3405 fi
3406  if test "x$enable_dependency_tracking" != xno; then
3407   AMDEP_TRUE=
3408   AMDEP_FALSE='#'
3409 else
3410   AMDEP_TRUE='#'
3411   AMDEP_FALSE=
3412 fi
3413
3414
3415 ac_ext=c
3416 ac_cpp='$CPP $CPPFLAGS'
3417 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3418 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3419 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3420 if test -n "$ac_tool_prefix"; then
3421   # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
3422 set dummy ${ac_tool_prefix}gcc; ac_word=$2
3423 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3424 $as_echo_n "checking for $ac_word... " >&6; }
3425 if ${ac_cv_prog_CC+:} false; then :
3426   $as_echo_n "(cached) " >&6
3427 else
3428   if test -n "$CC"; then
3429   ac_cv_prog_CC="$CC" # Let the user override the test.
3430 else
3431 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3432 for as_dir in $PATH
3433 do
3434   IFS=$as_save_IFS
3435   test -z "$as_dir" && as_dir=.
3436     for ac_exec_ext in '' $ac_executable_extensions; do
3437   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3438     ac_cv_prog_CC="${ac_tool_prefix}gcc"
3439     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3440     break 2
3441   fi
3442 done
3443   done
3444 IFS=$as_save_IFS
3445
3446 fi
3447 fi
3448 CC=$ac_cv_prog_CC
3449 if test -n "$CC"; then
3450   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3451 $as_echo "$CC" >&6; }
3452 else
3453   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3454 $as_echo "no" >&6; }
3455 fi
3456
3457
3458 fi
3459 if test -z "$ac_cv_prog_CC"; then
3460   ac_ct_CC=$CC
3461   # Extract the first word of "gcc", so it can be a program name with args.
3462 set dummy gcc; ac_word=$2
3463 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3464 $as_echo_n "checking for $ac_word... " >&6; }
3465 if ${ac_cv_prog_ac_ct_CC+:} false; then :
3466   $as_echo_n "(cached) " >&6
3467 else
3468   if test -n "$ac_ct_CC"; then
3469   ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
3470 else
3471 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3472 for as_dir in $PATH
3473 do
3474   IFS=$as_save_IFS
3475   test -z "$as_dir" && as_dir=.
3476     for ac_exec_ext in '' $ac_executable_extensions; do
3477   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3478     ac_cv_prog_ac_ct_CC="gcc"
3479     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3480     break 2
3481   fi
3482 done
3483   done
3484 IFS=$as_save_IFS
3485
3486 fi
3487 fi
3488 ac_ct_CC=$ac_cv_prog_ac_ct_CC
3489 if test -n "$ac_ct_CC"; then
3490   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
3491 $as_echo "$ac_ct_CC" >&6; }
3492 else
3493   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3494 $as_echo "no" >&6; }
3495 fi
3496
3497   if test "x$ac_ct_CC" = x; then
3498     CC=""
3499   else
3500     case $cross_compiling:$ac_tool_warned in
3501 yes:)
3502 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3503 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3504 ac_tool_warned=yes ;;
3505 esac
3506     CC=$ac_ct_CC
3507   fi
3508 else
3509   CC="$ac_cv_prog_CC"
3510 fi
3511
3512 if test -z "$CC"; then
3513           if test -n "$ac_tool_prefix"; then
3514     # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
3515 set dummy ${ac_tool_prefix}cc; ac_word=$2
3516 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3517 $as_echo_n "checking for $ac_word... " >&6; }
3518 if ${ac_cv_prog_CC+:} false; then :
3519   $as_echo_n "(cached) " >&6
3520 else
3521   if test -n "$CC"; then
3522   ac_cv_prog_CC="$CC" # Let the user override the test.
3523 else
3524 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3525 for as_dir in $PATH
3526 do
3527   IFS=$as_save_IFS
3528   test -z "$as_dir" && as_dir=.
3529     for ac_exec_ext in '' $ac_executable_extensions; do
3530   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3531     ac_cv_prog_CC="${ac_tool_prefix}cc"
3532     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3533     break 2
3534   fi
3535 done
3536   done
3537 IFS=$as_save_IFS
3538
3539 fi
3540 fi
3541 CC=$ac_cv_prog_CC
3542 if test -n "$CC"; then
3543   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3544 $as_echo "$CC" >&6; }
3545 else
3546   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3547 $as_echo "no" >&6; }
3548 fi
3549
3550
3551   fi
3552 fi
3553 if test -z "$CC"; then
3554   # Extract the first word of "cc", so it can be a program name with args.
3555 set dummy cc; ac_word=$2
3556 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3557 $as_echo_n "checking for $ac_word... " >&6; }
3558 if ${ac_cv_prog_CC+:} false; then :
3559   $as_echo_n "(cached) " >&6
3560 else
3561   if test -n "$CC"; then
3562   ac_cv_prog_CC="$CC" # Let the user override the test.
3563 else
3564   ac_prog_rejected=no
3565 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3566 for as_dir in $PATH
3567 do
3568   IFS=$as_save_IFS
3569   test -z "$as_dir" && as_dir=.
3570     for ac_exec_ext in '' $ac_executable_extensions; do
3571   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3572     if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
3573        ac_prog_rejected=yes
3574        continue
3575      fi
3576     ac_cv_prog_CC="cc"
3577     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3578     break 2
3579   fi
3580 done
3581   done
3582 IFS=$as_save_IFS
3583
3584 if test $ac_prog_rejected = yes; then
3585   # We found a bogon in the path, so make sure we never use it.
3586   set dummy $ac_cv_prog_CC
3587   shift
3588   if test $# != 0; then
3589     # We chose a different compiler from the bogus one.
3590     # However, it has the same basename, so the bogon will be chosen
3591     # first if we set CC to just the basename; use the full file name.
3592     shift
3593     ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
3594   fi
3595 fi
3596 fi
3597 fi
3598 CC=$ac_cv_prog_CC
3599 if test -n "$CC"; then
3600   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3601 $as_echo "$CC" >&6; }
3602 else
3603   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3604 $as_echo "no" >&6; }
3605 fi
3606
3607
3608 fi
3609 if test -z "$CC"; then
3610   if test -n "$ac_tool_prefix"; then
3611   for ac_prog in cl.exe
3612   do
3613     # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
3614 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
3615 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3616 $as_echo_n "checking for $ac_word... " >&6; }
3617 if ${ac_cv_prog_CC+:} false; then :
3618   $as_echo_n "(cached) " >&6
3619 else
3620   if test -n "$CC"; then
3621   ac_cv_prog_CC="$CC" # Let the user override the test.
3622 else
3623 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3624 for as_dir in $PATH
3625 do
3626   IFS=$as_save_IFS
3627   test -z "$as_dir" && as_dir=.
3628     for ac_exec_ext in '' $ac_executable_extensions; do
3629   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3630     ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
3631     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3632     break 2
3633   fi
3634 done
3635   done
3636 IFS=$as_save_IFS
3637
3638 fi
3639 fi
3640 CC=$ac_cv_prog_CC
3641 if test -n "$CC"; then
3642   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3643 $as_echo "$CC" >&6; }
3644 else
3645   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3646 $as_echo "no" >&6; }
3647 fi
3648
3649
3650     test -n "$CC" && break
3651   done
3652 fi
3653 if test -z "$CC"; then
3654   ac_ct_CC=$CC
3655   for ac_prog in cl.exe
3656 do
3657   # Extract the first word of "$ac_prog", so it can be a program name with args.
3658 set dummy $ac_prog; ac_word=$2
3659 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3660 $as_echo_n "checking for $ac_word... " >&6; }
3661 if ${ac_cv_prog_ac_ct_CC+:} false; then :
3662   $as_echo_n "(cached) " >&6
3663 else
3664   if test -n "$ac_ct_CC"; then
3665   ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
3666 else
3667 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3668 for as_dir in $PATH
3669 do
3670   IFS=$as_save_IFS
3671   test -z "$as_dir" && as_dir=.
3672     for ac_exec_ext in '' $ac_executable_extensions; do
3673   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3674     ac_cv_prog_ac_ct_CC="$ac_prog"
3675     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3676     break 2
3677   fi
3678 done
3679   done
3680 IFS=$as_save_IFS
3681
3682 fi
3683 fi
3684 ac_ct_CC=$ac_cv_prog_ac_ct_CC
3685 if test -n "$ac_ct_CC"; then
3686   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
3687 $as_echo "$ac_ct_CC" >&6; }
3688 else
3689   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3690 $as_echo "no" >&6; }
3691 fi
3692
3693
3694   test -n "$ac_ct_CC" && break
3695 done
3696
3697   if test "x$ac_ct_CC" = x; then
3698     CC=""
3699   else
3700     case $cross_compiling:$ac_tool_warned in
3701 yes:)
3702 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3703 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3704 ac_tool_warned=yes ;;
3705 esac
3706     CC=$ac_ct_CC
3707   fi
3708 fi
3709
3710 fi
3711
3712
3713 test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3714 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3715 as_fn_error $? "no acceptable C compiler found in \$PATH
3716 See \`config.log' for more details" "$LINENO" 5; }
3717
3718 # Provide some information about the compiler.
3719 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
3720 set X $ac_compile
3721 ac_compiler=$2
3722 for ac_option in --version -v -V -qversion; do
3723   { { ac_try="$ac_compiler $ac_option >&5"
3724 case "(($ac_try" in
3725   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3726   *) ac_try_echo=$ac_try;;
3727 esac
3728 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3729 $as_echo "$ac_try_echo"; } >&5
3730   (eval "$ac_compiler $ac_option >&5") 2>conftest.err
3731   ac_status=$?
3732   if test -s conftest.err; then
3733     sed '10a\
3734 ... rest of stderr output deleted ...
3735          10q' conftest.err >conftest.er1
3736     cat conftest.er1 >&5
3737   fi
3738   rm -f conftest.er1 conftest.err
3739   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3740   test $ac_status = 0; }
3741 done
3742
3743 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3744 /* end confdefs.h.  */
3745
3746 int
3747 main ()
3748 {
3749
3750   ;
3751   return 0;
3752 }
3753 _ACEOF
3754 ac_clean_files_save=$ac_clean_files
3755 ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out"
3756 # Try to create an executable without -o first, disregard a.out.
3757 # It will help us diagnose broken compilers, and finding out an intuition
3758 # of exeext.
3759 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler works" >&5
3760 $as_echo_n "checking whether the C compiler works... " >&6; }
3761 ac_link_default=`$as_echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
3762
3763 # The possible output files:
3764 ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*"
3765
3766 ac_rmfiles=
3767 for ac_file in $ac_files
3768 do
3769   case $ac_file in
3770     *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
3771     * ) ac_rmfiles="$ac_rmfiles $ac_file";;
3772   esac
3773 done
3774 rm -f $ac_rmfiles
3775
3776 if { { ac_try="$ac_link_default"
3777 case "(($ac_try" in
3778   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3779   *) ac_try_echo=$ac_try;;
3780 esac
3781 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3782 $as_echo "$ac_try_echo"; } >&5
3783   (eval "$ac_link_default") 2>&5
3784   ac_status=$?
3785   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3786   test $ac_status = 0; }; then :
3787   # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
3788 # So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
3789 # in a Makefile.  We should not override ac_cv_exeext if it was cached,
3790 # so that the user can short-circuit this test for compilers unknown to
3791 # Autoconf.
3792 for ac_file in $ac_files ''
3793 do
3794   test -f "$ac_file" || continue
3795   case $ac_file in
3796     *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj )
3797         ;;
3798     [ab].out )
3799         # We found the default executable, but exeext='' is most
3800         # certainly right.
3801         break;;
3802     *.* )
3803         if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no;
3804         then :; else
3805            ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
3806         fi
3807         # We set ac_cv_exeext here because the later test for it is not
3808         # safe: cross compilers may not add the suffix if given an `-o'
3809         # argument, so we may need to know it at that point already.
3810         # Even if this section looks crufty: it has the advantage of
3811         # actually working.
3812         break;;
3813     * )
3814         break;;
3815   esac
3816 done
3817 test "$ac_cv_exeext" = no && ac_cv_exeext=
3818
3819 else
3820   ac_file=''
3821 fi
3822 if test -z "$ac_file"; then :
3823   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3824 $as_echo "no" >&6; }
3825 $as_echo "$as_me: failed program was:" >&5
3826 sed 's/^/| /' conftest.$ac_ext >&5
3827
3828 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3829 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3830 as_fn_error 77 "C compiler cannot create executables
3831 See \`config.log' for more details" "$LINENO" 5; }
3832 else
3833   { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
3834 $as_echo "yes" >&6; }
3835 fi
3836 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler default output file name" >&5
3837 $as_echo_n "checking for C compiler default output file name... " >&6; }
3838 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5
3839 $as_echo "$ac_file" >&6; }
3840 ac_exeext=$ac_cv_exeext
3841
3842 rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out
3843 ac_clean_files=$ac_clean_files_save
3844 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5
3845 $as_echo_n "checking for suffix of executables... " >&6; }
3846 if { { ac_try="$ac_link"
3847 case "(($ac_try" in
3848   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3849   *) ac_try_echo=$ac_try;;
3850 esac
3851 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3852 $as_echo "$ac_try_echo"; } >&5
3853   (eval "$ac_link") 2>&5
3854   ac_status=$?
3855   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3856   test $ac_status = 0; }; then :
3857   # If both `conftest.exe' and `conftest' are `present' (well, observable)
3858 # catch `conftest.exe'.  For instance with Cygwin, `ls conftest' will
3859 # work properly (i.e., refer to `conftest.exe'), while it won't with
3860 # `rm'.
3861 for ac_file in conftest.exe conftest conftest.*; do
3862   test -f "$ac_file" || continue
3863   case $ac_file in
3864     *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
3865     *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
3866           break;;
3867     * ) break;;
3868   esac
3869 done
3870 else
3871   { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3872 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3873 as_fn_error $? "cannot compute suffix of executables: cannot compile and link
3874 See \`config.log' for more details" "$LINENO" 5; }
3875 fi
3876 rm -f conftest conftest$ac_cv_exeext
3877 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5
3878 $as_echo "$ac_cv_exeext" >&6; }
3879
3880 rm -f conftest.$ac_ext
3881 EXEEXT=$ac_cv_exeext
3882 ac_exeext=$EXEEXT
3883 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3884 /* end confdefs.h.  */
3885 #include <stdio.h>
3886 int
3887 main ()
3888 {
3889 FILE *f = fopen ("conftest.out", "w");
3890  return ferror (f) || fclose (f) != 0;
3891
3892   ;
3893   return 0;
3894 }
3895 _ACEOF
3896 ac_clean_files="$ac_clean_files conftest.out"
3897 # Check that the compiler produces executables we can run.  If not, either
3898 # the compiler is broken, or we cross compile.
3899 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5
3900 $as_echo_n "checking whether we are cross compiling... " >&6; }
3901 if test "$cross_compiling" != yes; then
3902   { { ac_try="$ac_link"
3903 case "(($ac_try" in
3904   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3905   *) ac_try_echo=$ac_try;;
3906 esac
3907 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3908 $as_echo "$ac_try_echo"; } >&5
3909   (eval "$ac_link") 2>&5
3910   ac_status=$?
3911   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3912   test $ac_status = 0; }
3913   if { ac_try='./conftest$ac_cv_exeext'
3914   { { case "(($ac_try" in
3915   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3916   *) ac_try_echo=$ac_try;;
3917 esac
3918 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3919 $as_echo "$ac_try_echo"; } >&5
3920   (eval "$ac_try") 2>&5
3921   ac_status=$?
3922   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3923   test $ac_status = 0; }; }; then
3924     cross_compiling=no
3925   else
3926     if test "$cross_compiling" = maybe; then
3927         cross_compiling=yes
3928     else
3929         { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3930 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3931 as_fn_error $? "cannot run C compiled programs.
3932 If you meant to cross compile, use \`--host'.
3933 See \`config.log' for more details" "$LINENO" 5; }
3934     fi
3935   fi
3936 fi
3937 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5
3938 $as_echo "$cross_compiling" >&6; }
3939
3940 rm -f conftest.$ac_ext conftest$ac_cv_exeext conftest.out
3941 ac_clean_files=$ac_clean_files_save
3942 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5
3943 $as_echo_n "checking for suffix of object files... " >&6; }
3944 if ${ac_cv_objext+:} false; then :
3945   $as_echo_n "(cached) " >&6
3946 else
3947   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3948 /* end confdefs.h.  */
3949
3950 int
3951 main ()
3952 {
3953
3954   ;
3955   return 0;
3956 }
3957 _ACEOF
3958 rm -f conftest.o conftest.obj
3959 if { { ac_try="$ac_compile"
3960 case "(($ac_try" in
3961   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3962   *) ac_try_echo=$ac_try;;
3963 esac
3964 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3965 $as_echo "$ac_try_echo"; } >&5
3966   (eval "$ac_compile") 2>&5
3967   ac_status=$?
3968   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3969   test $ac_status = 0; }; then :
3970   for ac_file in conftest.o conftest.obj conftest.*; do
3971   test -f "$ac_file" || continue;
3972   case $ac_file in
3973     *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;;
3974     *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
3975        break;;
3976   esac
3977 done
3978 else
3979   $as_echo "$as_me: failed program was:" >&5
3980 sed 's/^/| /' conftest.$ac_ext >&5
3981
3982 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3983 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3984 as_fn_error $? "cannot compute suffix of object files: cannot compile
3985 See \`config.log' for more details" "$LINENO" 5; }
3986 fi
3987 rm -f conftest.$ac_cv_objext conftest.$ac_ext
3988 fi
3989 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5
3990 $as_echo "$ac_cv_objext" >&6; }
3991 OBJEXT=$ac_cv_objext
3992 ac_objext=$OBJEXT
3993 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
3994 $as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
3995 if ${ac_cv_c_compiler_gnu+:} false; then :
3996   $as_echo_n "(cached) " >&6
3997 else
3998   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3999 /* end confdefs.h.  */
4000
4001 int
4002 main ()
4003 {
4004 #ifndef __GNUC__
4005        choke me
4006 #endif
4007
4008   ;
4009   return 0;
4010 }
4011 _ACEOF
4012 if ac_fn_c_try_compile "$LINENO"; then :
4013   ac_compiler_gnu=yes
4014 else
4015   ac_compiler_gnu=no
4016 fi
4017 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4018 ac_cv_c_compiler_gnu=$ac_compiler_gnu
4019
4020 fi
4021 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
4022 $as_echo "$ac_cv_c_compiler_gnu" >&6; }
4023 if test $ac_compiler_gnu = yes; then
4024   GCC=yes
4025 else
4026   GCC=
4027 fi
4028 ac_test_CFLAGS=${CFLAGS+set}
4029 ac_save_CFLAGS=$CFLAGS
4030 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
4031 $as_echo_n "checking whether $CC accepts -g... " >&6; }
4032 if ${ac_cv_prog_cc_g+:} false; then :
4033   $as_echo_n "(cached) " >&6
4034 else
4035   ac_save_c_werror_flag=$ac_c_werror_flag
4036    ac_c_werror_flag=yes
4037    ac_cv_prog_cc_g=no
4038    CFLAGS="-g"
4039    cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4040 /* end confdefs.h.  */
4041
4042 int
4043 main ()
4044 {
4045
4046   ;
4047   return 0;
4048 }
4049 _ACEOF
4050 if ac_fn_c_try_compile "$LINENO"; then :
4051   ac_cv_prog_cc_g=yes
4052 else
4053   CFLAGS=""
4054       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4055 /* end confdefs.h.  */
4056
4057 int
4058 main ()
4059 {
4060
4061   ;
4062   return 0;
4063 }
4064 _ACEOF
4065 if ac_fn_c_try_compile "$LINENO"; then :
4066
4067 else
4068   ac_c_werror_flag=$ac_save_c_werror_flag
4069          CFLAGS="-g"
4070          cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4071 /* end confdefs.h.  */
4072
4073 int
4074 main ()
4075 {
4076
4077   ;
4078   return 0;
4079 }
4080 _ACEOF
4081 if ac_fn_c_try_compile "$LINENO"; then :
4082   ac_cv_prog_cc_g=yes
4083 fi
4084 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4085 fi
4086 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4087 fi
4088 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4089    ac_c_werror_flag=$ac_save_c_werror_flag
4090 fi
4091 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
4092 $as_echo "$ac_cv_prog_cc_g" >&6; }
4093 if test "$ac_test_CFLAGS" = set; then
4094   CFLAGS=$ac_save_CFLAGS
4095 elif test $ac_cv_prog_cc_g = yes; then
4096   if test "$GCC" = yes; then
4097     CFLAGS="-g -O2"
4098   else
4099     CFLAGS="-g"
4100   fi
4101 else
4102   if test "$GCC" = yes; then
4103     CFLAGS="-O2"
4104   else
4105     CFLAGS=
4106   fi
4107 fi
4108 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
4109 $as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
4110 if ${ac_cv_prog_cc_c89+:} false; then :
4111   $as_echo_n "(cached) " >&6
4112 else
4113   ac_cv_prog_cc_c89=no
4114 ac_save_CC=$CC
4115 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4116 /* end confdefs.h.  */
4117 #include <stdarg.h>
4118 #include <stdio.h>
4119 struct stat;
4120 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh.  */
4121 struct buf { int x; };
4122 FILE * (*rcsopen) (struct buf *, struct stat *, int);
4123 static char *e (p, i)
4124      char **p;
4125      int i;
4126 {
4127   return p[i];
4128 }
4129 static char *f (char * (*g) (char **, int), char **p, ...)
4130 {
4131   char *s;
4132   va_list v;
4133   va_start (v,p);
4134   s = g (p, va_arg (v,int));
4135   va_end (v);
4136   return s;
4137 }
4138
4139 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default.  It has
4140    function prototypes and stuff, but not '\xHH' hex character constants.
4141    These don't provoke an error unfortunately, instead are silently treated
4142    as 'x'.  The following induces an error, until -std is added to get
4143    proper ANSI mode.  Curiously '\x00'!='x' always comes out true, for an
4144    array size at least.  It's necessary to write '\x00'==0 to get something
4145    that's true only with -std.  */
4146 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
4147
4148 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
4149    inside strings and character constants.  */
4150 #define FOO(x) 'x'
4151 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
4152
4153 int test (int i, double x);
4154 struct s1 {int (*f) (int a);};
4155 struct s2 {int (*f) (double a);};
4156 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
4157 int argc;
4158 char **argv;
4159 int
4160 main ()
4161 {
4162 return f (e, argv, 0) != argv[0]  ||  f (e, argv, 1) != argv[1];
4163   ;
4164   return 0;
4165 }
4166 _ACEOF
4167 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
4168         -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
4169 do
4170   CC="$ac_save_CC $ac_arg"
4171   if ac_fn_c_try_compile "$LINENO"; then :
4172   ac_cv_prog_cc_c89=$ac_arg
4173 fi
4174 rm -f core conftest.err conftest.$ac_objext
4175   test "x$ac_cv_prog_cc_c89" != "xno" && break
4176 done
4177 rm -f conftest.$ac_ext
4178 CC=$ac_save_CC
4179
4180 fi
4181 # AC_CACHE_VAL
4182 case "x$ac_cv_prog_cc_c89" in
4183   x)
4184     { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
4185 $as_echo "none needed" >&6; } ;;
4186   xno)
4187     { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
4188 $as_echo "unsupported" >&6; } ;;
4189   *)
4190     CC="$CC $ac_cv_prog_cc_c89"
4191     { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
4192 $as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
4193 esac
4194 if test "x$ac_cv_prog_cc_c89" != xno; then :
4195
4196 fi
4197
4198 ac_ext=c
4199 ac_cpp='$CPP $CPPFLAGS'
4200 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4201 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4202 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4203
4204 depcc="$CC"   am_compiler_list=
4205
4206 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5
4207 $as_echo_n "checking dependency style of $depcc... " >&6; }
4208 if ${am_cv_CC_dependencies_compiler_type+:} false; then :
4209   $as_echo_n "(cached) " >&6
4210 else
4211   if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
4212   # We make a subdir and do the tests there.  Otherwise we can end up
4213   # making bogus files that we don't know about and never remove.  For
4214   # instance it was reported that on HP-UX the gcc test will end up
4215   # making a dummy file named `D' -- because `-MD' means `put the output
4216   # in D'.
4217   rm -rf conftest.dir
4218   mkdir conftest.dir
4219   # Copy depcomp to subdir because otherwise we won't find it if we're
4220   # using a relative directory.
4221   cp "$am_depcomp" conftest.dir
4222   cd conftest.dir
4223   # We will build objects and dependencies in a subdirectory because
4224   # it helps to detect inapplicable dependency modes.  For instance
4225   # both Tru64's cc and ICC support -MD to output dependencies as a
4226   # side effect of compilation, but ICC will put the dependencies in
4227   # the current directory while Tru64 will put them in the object
4228   # directory.
4229   mkdir sub
4230
4231   am_cv_CC_dependencies_compiler_type=none
4232   if test "$am_compiler_list" = ""; then
4233      am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
4234   fi
4235   am__universal=false
4236   case " $depcc " in #(
4237      *\ -arch\ *\ -arch\ *) am__universal=true ;;
4238      esac
4239
4240   for depmode in $am_compiler_list; do
4241     # Setup a source with many dependencies, because some compilers
4242     # like to wrap large dependency lists on column 80 (with \), and
4243     # we should not choose a depcomp mode which is confused by this.
4244     #
4245     # We need to recreate these files for each test, as the compiler may
4246     # overwrite some of them when testing with obscure command lines.
4247     # This happens at least with the AIX C compiler.
4248     : > sub/conftest.c
4249     for i in 1 2 3 4 5 6; do
4250       echo '#include "conftst'$i'.h"' >> sub/conftest.c
4251       # Using `: > sub/conftst$i.h' creates only sub/conftst1.h with
4252       # Solaris 8's {/usr,}/bin/sh.
4253       touch sub/conftst$i.h
4254     done
4255     echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
4256
4257     # We check with `-c' and `-o' for the sake of the "dashmstdout"
4258     # mode.  It turns out that the SunPro C++ compiler does not properly
4259     # handle `-M -o', and we need to detect this.  Also, some Intel
4260     # versions had trouble with output in subdirs
4261     am__obj=sub/conftest.${OBJEXT-o}
4262     am__minus_obj="-o $am__obj"
4263     case $depmode in
4264     gcc)
4265       # This depmode causes a compiler race in universal mode.
4266       test "$am__universal" = false || continue
4267       ;;
4268     nosideeffect)
4269       # after this tag, mechanisms are not by side-effect, so they'll
4270       # only be used when explicitly requested
4271       if test "x$enable_dependency_tracking" = xyes; then
4272         continue
4273       else
4274         break
4275       fi
4276       ;;
4277     msvc7 | msvc7msys | msvisualcpp | msvcmsys)
4278       # This compiler won't grok `-c -o', but also, the minuso test has
4279       # not run yet.  These depmodes are late enough in the game, and
4280       # so weak that their functioning should not be impacted.
4281       am__obj=conftest.${OBJEXT-o}
4282       am__minus_obj=
4283       ;;
4284     none) break ;;
4285     esac
4286     if depmode=$depmode \
4287        source=sub/conftest.c object=$am__obj \
4288        depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
4289        $SHELL ./depcomp $depcc -c $am__minus_obj sub/conftest.c \
4290          >/dev/null 2>conftest.err &&
4291        grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 &&
4292        grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
4293        grep $am__obj sub/conftest.Po > /dev/null 2>&1 &&
4294        ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
4295       # icc doesn't choke on unknown options, it will just issue warnings
4296       # or remarks (even with -Werror).  So we grep stderr for any message
4297       # that says an option was ignored or not supported.
4298       # When given -MP, icc 7.0 and 7.1 complain thusly:
4299       #   icc: Command line warning: ignoring option '-M'; no argument required
4300       # The diagnosis changed in icc 8.0:
4301       #   icc: Command line remark: option '-MP' not supported
4302       if (grep 'ignoring option' conftest.err ||
4303           grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
4304         am_cv_CC_dependencies_compiler_type=$depmode
4305         break
4306       fi
4307     fi
4308   done
4309
4310   cd ..
4311   rm -rf conftest.dir
4312 else
4313   am_cv_CC_dependencies_compiler_type=none
4314 fi
4315
4316 fi
4317 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_CC_dependencies_compiler_type" >&5
4318 $as_echo "$am_cv_CC_dependencies_compiler_type" >&6; }
4319 CCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type
4320
4321  if
4322   test "x$enable_dependency_tracking" != xno \
4323   && test "$am_cv_CC_dependencies_compiler_type" = gcc3; then
4324   am__fastdepCC_TRUE=
4325   am__fastdepCC_FALSE='#'
4326 else
4327   am__fastdepCC_TRUE='#'
4328   am__fastdepCC_FALSE=
4329 fi
4330
4331
4332 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a sed that does not truncate output" >&5
4333 $as_echo_n "checking for a sed that does not truncate output... " >&6; }
4334 if ${ac_cv_path_SED+:} false; then :
4335   $as_echo_n "(cached) " >&6
4336 else
4337             ac_script=s/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa/bbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbb/
4338      for ac_i in 1 2 3 4 5 6 7; do
4339        ac_script="$ac_script$as_nl$ac_script"
4340      done
4341      echo "$ac_script" 2>/dev/null | sed 99q >conftest.sed
4342      { ac_script=; unset ac_script;}
4343      if test -z "$SED"; then
4344   ac_path_SED_found=false
4345   # Loop through the user's path and test for each of PROGNAME-LIST
4346   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4347 for as_dir in $PATH
4348 do
4349   IFS=$as_save_IFS
4350   test -z "$as_dir" && as_dir=.
4351     for ac_prog in sed gsed; do
4352     for ac_exec_ext in '' $ac_executable_extensions; do
4353       ac_path_SED="$as_dir/$ac_prog$ac_exec_ext"
4354       as_fn_executable_p "$ac_path_SED" || continue
4355 # Check for GNU ac_path_SED and select it if it is found.
4356   # Check for GNU $ac_path_SED
4357 case `"$ac_path_SED" --version 2>&1` in
4358 *GNU*)
4359   ac_cv_path_SED="$ac_path_SED" ac_path_SED_found=:;;
4360 *)
4361   ac_count=0
4362   $as_echo_n 0123456789 >"conftest.in"
4363   while :
4364   do
4365     cat "conftest.in" "conftest.in" >"conftest.tmp"
4366     mv "conftest.tmp" "conftest.in"
4367     cp "conftest.in" "conftest.nl"
4368     $as_echo '' >> "conftest.nl"
4369     "$ac_path_SED" -f conftest.sed < "conftest.nl" >"conftest.out" 2>/dev/null || break
4370     diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
4371     as_fn_arith $ac_count + 1 && ac_count=$as_val
4372     if test $ac_count -gt ${ac_path_SED_max-0}; then
4373       # Best one so far, save it but keep looking for a better one
4374       ac_cv_path_SED="$ac_path_SED"
4375       ac_path_SED_max=$ac_count
4376     fi
4377     # 10*(2^10) chars as input seems more than enough
4378     test $ac_count -gt 10 && break
4379   done
4380   rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
4381 esac
4382
4383       $ac_path_SED_found && break 3
4384     done
4385   done
4386   done
4387 IFS=$as_save_IFS
4388   if test -z "$ac_cv_path_SED"; then
4389     as_fn_error $? "no acceptable sed could be found in \$PATH" "$LINENO" 5
4390   fi
4391 else
4392   ac_cv_path_SED=$SED
4393 fi
4394
4395 fi
4396 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_SED" >&5
4397 $as_echo "$ac_cv_path_SED" >&6; }
4398  SED="$ac_cv_path_SED"
4399   rm -f conftest.sed
4400
4401 test -z "$SED" && SED=sed
4402 Xsed="$SED -e 1s/^X//"
4403
4404
4405
4406
4407
4408
4409
4410
4411
4412
4413
4414 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for grep that handles long lines and -e" >&5
4415 $as_echo_n "checking for grep that handles long lines and -e... " >&6; }
4416 if ${ac_cv_path_GREP+:} false; then :
4417   $as_echo_n "(cached) " >&6
4418 else
4419   if test -z "$GREP"; then
4420   ac_path_GREP_found=false
4421   # Loop through the user's path and test for each of PROGNAME-LIST
4422   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4423 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
4424 do
4425   IFS=$as_save_IFS
4426   test -z "$as_dir" && as_dir=.
4427     for ac_prog in grep ggrep; do
4428     for ac_exec_ext in '' $ac_executable_extensions; do
4429       ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext"
4430       as_fn_executable_p "$ac_path_GREP" || continue
4431 # Check for GNU ac_path_GREP and select it if it is found.
4432   # Check for GNU $ac_path_GREP
4433 case `"$ac_path_GREP" --version 2>&1` in
4434 *GNU*)
4435   ac_cv_path_GREP="$ac_path_GREP" ac_path_GREP_found=:;;
4436 *)
4437   ac_count=0
4438   $as_echo_n 0123456789 >"conftest.in"
4439   while :
4440   do
4441     cat "conftest.in" "conftest.in" >"conftest.tmp"
4442     mv "conftest.tmp" "conftest.in"
4443     cp "conftest.in" "conftest.nl"
4444     $as_echo 'GREP' >> "conftest.nl"
4445     "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev/null || break
4446     diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
4447     as_fn_arith $ac_count + 1 && ac_count=$as_val
4448     if test $ac_count -gt ${ac_path_GREP_max-0}; then
4449       # Best one so far, save it but keep looking for a better one
4450       ac_cv_path_GREP="$ac_path_GREP"
4451       ac_path_GREP_max=$ac_count
4452     fi
4453     # 10*(2^10) chars as input seems more than enough
4454     test $ac_count -gt 10 && break
4455   done
4456   rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
4457 esac
4458
4459       $ac_path_GREP_found && break 3
4460     done
4461   done
4462   done
4463 IFS=$as_save_IFS
4464   if test -z "$ac_cv_path_GREP"; then
4465     as_fn_error $? "no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
4466   fi
4467 else
4468   ac_cv_path_GREP=$GREP
4469 fi
4470
4471 fi
4472 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_GREP" >&5
4473 $as_echo "$ac_cv_path_GREP" >&6; }
4474  GREP="$ac_cv_path_GREP"
4475
4476
4477 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for egrep" >&5
4478 $as_echo_n "checking for egrep... " >&6; }
4479 if ${ac_cv_path_EGREP+:} false; then :
4480   $as_echo_n "(cached) " >&6
4481 else
4482   if echo a | $GREP -E '(a|b)' >/dev/null 2>&1
4483    then ac_cv_path_EGREP="$GREP -E"
4484    else
4485      if test -z "$EGREP"; then
4486   ac_path_EGREP_found=false
4487   # Loop through the user's path and test for each of PROGNAME-LIST
4488   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4489 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
4490 do
4491   IFS=$as_save_IFS
4492   test -z "$as_dir" && as_dir=.
4493     for ac_prog in egrep; do
4494     for ac_exec_ext in '' $ac_executable_extensions; do
4495       ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext"
4496       as_fn_executable_p "$ac_path_EGREP" || continue
4497 # Check for GNU ac_path_EGREP and select it if it is found.
4498   # Check for GNU $ac_path_EGREP
4499 case `"$ac_path_EGREP" --version 2>&1` in
4500 *GNU*)
4501   ac_cv_path_EGREP="$ac_path_EGREP" ac_path_EGREP_found=:;;
4502 *)
4503   ac_count=0
4504   $as_echo_n 0123456789 >"conftest.in"
4505   while :
4506   do
4507     cat "conftest.in" "conftest.in" >"conftest.tmp"
4508     mv "conftest.tmp" "conftest.in"
4509     cp "conftest.in" "conftest.nl"
4510     $as_echo 'EGREP' >> "conftest.nl"
4511     "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev/null || break
4512     diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
4513     as_fn_arith $ac_count + 1 && ac_count=$as_val
4514     if test $ac_count -gt ${ac_path_EGREP_max-0}; then
4515       # Best one so far, save it but keep looking for a better one
4516       ac_cv_path_EGREP="$ac_path_EGREP"
4517       ac_path_EGREP_max=$ac_count
4518     fi
4519     # 10*(2^10) chars as input seems more than enough
4520     test $ac_count -gt 10 && break
4521   done
4522   rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
4523 esac
4524
4525       $ac_path_EGREP_found && break 3
4526     done
4527   done
4528   done
4529 IFS=$as_save_IFS
4530   if test -z "$ac_cv_path_EGREP"; then
4531     as_fn_error $? "no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
4532   fi
4533 else
4534   ac_cv_path_EGREP=$EGREP
4535 fi
4536
4537    fi
4538 fi
4539 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_EGREP" >&5
4540 $as_echo "$ac_cv_path_EGREP" >&6; }
4541  EGREP="$ac_cv_path_EGREP"
4542
4543
4544 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fgrep" >&5
4545 $as_echo_n "checking for fgrep... " >&6; }
4546 if ${ac_cv_path_FGREP+:} false; then :
4547   $as_echo_n "(cached) " >&6
4548 else
4549   if echo 'ab*c' | $GREP -F 'ab*c' >/dev/null 2>&1
4550    then ac_cv_path_FGREP="$GREP -F"
4551    else
4552      if test -z "$FGREP"; then
4553   ac_path_FGREP_found=false
4554   # Loop through the user's path and test for each of PROGNAME-LIST
4555   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4556 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
4557 do
4558   IFS=$as_save_IFS
4559   test -z "$as_dir" && as_dir=.
4560     for ac_prog in fgrep; do
4561     for ac_exec_ext in '' $ac_executable_extensions; do
4562       ac_path_FGREP="$as_dir/$ac_prog$ac_exec_ext"
4563       as_fn_executable_p "$ac_path_FGREP" || continue
4564 # Check for GNU ac_path_FGREP and select it if it is found.
4565   # Check for GNU $ac_path_FGREP
4566 case `"$ac_path_FGREP" --version 2>&1` in
4567 *GNU*)
4568   ac_cv_path_FGREP="$ac_path_FGREP" ac_path_FGREP_found=:;;
4569 *)
4570   ac_count=0
4571   $as_echo_n 0123456789 >"conftest.in"
4572   while :
4573   do
4574     cat "conftest.in" "conftest.in" >"conftest.tmp"
4575     mv "conftest.tmp" "conftest.in"
4576     cp "conftest.in" "conftest.nl"
4577     $as_echo 'FGREP' >> "conftest.nl"
4578     "$ac_path_FGREP" FGREP < "conftest.nl" >"conftest.out" 2>/dev/null || break
4579     diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
4580     as_fn_arith $ac_count + 1 && ac_count=$as_val
4581     if test $ac_count -gt ${ac_path_FGREP_max-0}; then
4582       # Best one so far, save it but keep looking for a better one
4583       ac_cv_path_FGREP="$ac_path_FGREP"
4584       ac_path_FGREP_max=$ac_count
4585     fi
4586     # 10*(2^10) chars as input seems more than enough
4587     test $ac_count -gt 10 && break
4588   done
4589   rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
4590 esac
4591
4592       $ac_path_FGREP_found && break 3
4593     done
4594   done
4595   done
4596 IFS=$as_save_IFS
4597   if test -z "$ac_cv_path_FGREP"; then
4598     as_fn_error $? "no acceptable fgrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
4599   fi
4600 else
4601   ac_cv_path_FGREP=$FGREP
4602 fi
4603
4604    fi
4605 fi
4606 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_FGREP" >&5
4607 $as_echo "$ac_cv_path_FGREP" >&6; }
4608  FGREP="$ac_cv_path_FGREP"
4609
4610
4611 test -z "$GREP" && GREP=grep
4612
4613
4614
4615
4616
4617
4618
4619
4620
4621
4622
4623
4624
4625
4626
4627
4628
4629
4630
4631 # Check whether --with-gnu-ld was given.
4632 if test "${with_gnu_ld+set}" = set; then :
4633   withval=$with_gnu_ld; test "$withval" = no || with_gnu_ld=yes
4634 else
4635   with_gnu_ld=no
4636 fi
4637
4638 ac_prog=ld
4639 if test "$GCC" = yes; then
4640   # Check if gcc -print-prog-name=ld gives a path.
4641   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld used by $CC" >&5
4642 $as_echo_n "checking for ld used by $CC... " >&6; }
4643   case $host in
4644   *-*-mingw*)
4645     # gcc leaves a trailing carriage return which upsets mingw
4646     ac_prog=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
4647   *)
4648     ac_prog=`($CC -print-prog-name=ld) 2>&5` ;;
4649   esac
4650   case $ac_prog in
4651     # Accept absolute paths.
4652     [\\/]* | ?:[\\/]*)
4653       re_direlt='/[^/][^/]*/\.\./'
4654       # Canonicalize the pathname of ld
4655       ac_prog=`$ECHO "$ac_prog"| $SED 's%\\\\%/%g'`
4656       while $ECHO "$ac_prog" | $GREP "$re_direlt" > /dev/null 2>&1; do
4657         ac_prog=`$ECHO $ac_prog| $SED "s%$re_direlt%/%"`
4658       done
4659       test -z "$LD" && LD="$ac_prog"
4660       ;;
4661   "")
4662     # If it fails, then pretend we aren't using GCC.
4663     ac_prog=ld
4664     ;;
4665   *)
4666     # If it is relative, then search for the first ld in PATH.
4667     with_gnu_ld=unknown
4668     ;;
4669   esac
4670 elif test "$with_gnu_ld" = yes; then
4671   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU ld" >&5
4672 $as_echo_n "checking for GNU ld... " >&6; }
4673 else
4674   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for non-GNU ld" >&5
4675 $as_echo_n "checking for non-GNU ld... " >&6; }
4676 fi
4677 if ${lt_cv_path_LD+:} false; then :
4678   $as_echo_n "(cached) " >&6
4679 else
4680   if test -z "$LD"; then
4681   lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
4682   for ac_dir in $PATH; do
4683     IFS="$lt_save_ifs"
4684     test -z "$ac_dir" && ac_dir=.
4685     if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then
4686       lt_cv_path_LD="$ac_dir/$ac_prog"
4687       # Check to see if the program is GNU ld.  I'd rather use --version,
4688       # but apparently some variants of GNU ld only accept -v.
4689       # Break only if it was the GNU/non-GNU ld that we prefer.
4690       case `"$lt_cv_path_LD" -v 2>&1 </dev/null` in
4691       *GNU* | *'with BFD'*)
4692         test "$with_gnu_ld" != no && break
4693         ;;
4694       *)
4695         test "$with_gnu_ld" != yes && break
4696         ;;
4697       esac
4698     fi
4699   done
4700   IFS="$lt_save_ifs"
4701 else
4702   lt_cv_path_LD="$LD" # Let the user override the test with a path.
4703 fi
4704 fi
4705
4706 LD="$lt_cv_path_LD"
4707 if test -n "$LD"; then
4708   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LD" >&5
4709 $as_echo "$LD" >&6; }
4710 else
4711   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4712 $as_echo "no" >&6; }
4713 fi
4714 test -z "$LD" && as_fn_error $? "no acceptable ld found in \$PATH" "$LINENO" 5
4715 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if the linker ($LD) is GNU ld" >&5
4716 $as_echo_n "checking if the linker ($LD) is GNU ld... " >&6; }
4717 if ${lt_cv_prog_gnu_ld+:} false; then :
4718   $as_echo_n "(cached) " >&6
4719 else
4720   # I'd rather use --version here, but apparently some GNU lds only accept -v.
4721 case `$LD -v 2>&1 </dev/null` in
4722 *GNU* | *'with BFD'*)
4723   lt_cv_prog_gnu_ld=yes
4724   ;;
4725 *)
4726   lt_cv_prog_gnu_ld=no
4727   ;;
4728 esac
4729 fi
4730 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_gnu_ld" >&5
4731 $as_echo "$lt_cv_prog_gnu_ld" >&6; }
4732 with_gnu_ld=$lt_cv_prog_gnu_ld
4733
4734
4735
4736
4737
4738
4739
4740
4741
4742 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for BSD- or MS-compatible name lister (nm)" >&5
4743 $as_echo_n "checking for BSD- or MS-compatible name lister (nm)... " >&6; }
4744 if ${lt_cv_path_NM+:} false; then :
4745   $as_echo_n "(cached) " >&6
4746 else
4747   if test -n "$NM"; then
4748   # Let the user override the test.
4749   lt_cv_path_NM="$NM"
4750 else
4751   lt_nm_to_check="${ac_tool_prefix}nm"
4752   if test -n "$ac_tool_prefix" && test "$build" = "$host"; then
4753     lt_nm_to_check="$lt_nm_to_check nm"
4754   fi
4755   for lt_tmp_nm in $lt_nm_to_check; do
4756     lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
4757     for ac_dir in $PATH /usr/ccs/bin/elf /usr/ccs/bin /usr/ucb /bin; do
4758       IFS="$lt_save_ifs"
4759       test -z "$ac_dir" && ac_dir=.
4760       tmp_nm="$ac_dir/$lt_tmp_nm"
4761       if test -f "$tmp_nm" || test -f "$tmp_nm$ac_exeext" ; then
4762         # Check to see if the nm accepts a BSD-compat flag.
4763         # Adding the `sed 1q' prevents false positives on HP-UX, which says:
4764         #   nm: unknown option "B" ignored
4765         # Tru64's nm complains that /dev/null is an invalid object file
4766         case `"$tmp_nm" -B /dev/null 2>&1 | sed '1q'` in
4767         */dev/null* | *'Invalid file or object type'*)
4768           lt_cv_path_NM="$tmp_nm -B"
4769           break
4770           ;;
4771         *)
4772           case `"$tmp_nm" -p /dev/null 2>&1 | sed '1q'` in
4773           */dev/null*)
4774             lt_cv_path_NM="$tmp_nm -p"
4775             break
4776             ;;
4777           *)
4778             lt_cv_path_NM=${lt_cv_path_NM="$tmp_nm"} # keep the first match, but
4779             continue # so that we can try to find one that supports BSD flags
4780             ;;
4781           esac
4782           ;;
4783         esac
4784       fi
4785     done
4786     IFS="$lt_save_ifs"
4787   done
4788   : ${lt_cv_path_NM=no}
4789 fi
4790 fi
4791 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_path_NM" >&5
4792 $as_echo "$lt_cv_path_NM" >&6; }
4793 if test "$lt_cv_path_NM" != "no"; then
4794   NM="$lt_cv_path_NM"
4795 else
4796   # Didn't find any BSD compatible name lister, look for dumpbin.
4797   if test -n "$DUMPBIN"; then :
4798     # Let the user override the test.
4799   else
4800     if test -n "$ac_tool_prefix"; then
4801   for ac_prog in dumpbin "link -dump"
4802   do
4803     # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
4804 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
4805 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4806 $as_echo_n "checking for $ac_word... " >&6; }
4807 if ${ac_cv_prog_DUMPBIN+:} false; then :
4808   $as_echo_n "(cached) " >&6
4809 else
4810   if test -n "$DUMPBIN"; then
4811   ac_cv_prog_DUMPBIN="$DUMPBIN" # Let the user override the test.
4812 else
4813 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4814 for as_dir in $PATH
4815 do
4816   IFS=$as_save_IFS
4817   test -z "$as_dir" && as_dir=.
4818     for ac_exec_ext in '' $ac_executable_extensions; do
4819   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4820     ac_cv_prog_DUMPBIN="$ac_tool_prefix$ac_prog"
4821     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4822     break 2
4823   fi
4824 done
4825   done
4826 IFS=$as_save_IFS
4827
4828 fi
4829 fi
4830 DUMPBIN=$ac_cv_prog_DUMPBIN
4831 if test -n "$DUMPBIN"; then
4832   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DUMPBIN" >&5
4833 $as_echo "$DUMPBIN" >&6; }
4834 else
4835   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4836 $as_echo "no" >&6; }
4837 fi
4838
4839
4840     test -n "$DUMPBIN" && break
4841   done
4842 fi
4843 if test -z "$DUMPBIN"; then
4844   ac_ct_DUMPBIN=$DUMPBIN
4845   for ac_prog in dumpbin "link -dump"
4846 do
4847   # Extract the first word of "$ac_prog", so it can be a program name with args.
4848 set dummy $ac_prog; ac_word=$2
4849 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4850 $as_echo_n "checking for $ac_word... " >&6; }
4851 if ${ac_cv_prog_ac_ct_DUMPBIN+:} false; then :
4852   $as_echo_n "(cached) " >&6
4853 else
4854   if test -n "$ac_ct_DUMPBIN"; then
4855   ac_cv_prog_ac_ct_DUMPBIN="$ac_ct_DUMPBIN" # Let the user override the test.
4856 else
4857 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4858 for as_dir in $PATH
4859 do
4860   IFS=$as_save_IFS
4861   test -z "$as_dir" && as_dir=.
4862     for ac_exec_ext in '' $ac_executable_extensions; do
4863   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4864     ac_cv_prog_ac_ct_DUMPBIN="$ac_prog"
4865     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4866     break 2
4867   fi
4868 done
4869   done
4870 IFS=$as_save_IFS
4871
4872 fi
4873 fi
4874 ac_ct_DUMPBIN=$ac_cv_prog_ac_ct_DUMPBIN
4875 if test -n "$ac_ct_DUMPBIN"; then
4876   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DUMPBIN" >&5
4877 $as_echo "$ac_ct_DUMPBIN" >&6; }
4878 else
4879   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4880 $as_echo "no" >&6; }
4881 fi
4882
4883
4884   test -n "$ac_ct_DUMPBIN" && break
4885 done
4886
4887   if test "x$ac_ct_DUMPBIN" = x; then
4888     DUMPBIN=":"
4889   else
4890     case $cross_compiling:$ac_tool_warned in
4891 yes:)
4892 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4893 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4894 ac_tool_warned=yes ;;
4895 esac
4896     DUMPBIN=$ac_ct_DUMPBIN
4897   fi
4898 fi
4899
4900     case `$DUMPBIN -symbols /dev/null 2>&1 | sed '1q'` in
4901     *COFF*)
4902       DUMPBIN="$DUMPBIN -symbols"
4903       ;;
4904     *)
4905       DUMPBIN=:
4906       ;;
4907     esac
4908   fi
4909
4910   if test "$DUMPBIN" != ":"; then
4911     NM="$DUMPBIN"
4912   fi
4913 fi
4914 test -z "$NM" && NM=nm
4915
4916
4917
4918
4919
4920
4921 { $as_echo "$as_me:${as_lineno-$LINENO}: checking the name lister ($NM) interface" >&5
4922 $as_echo_n "checking the name lister ($NM) interface... " >&6; }
4923 if ${lt_cv_nm_interface+:} false; then :
4924   $as_echo_n "(cached) " >&6
4925 else
4926   lt_cv_nm_interface="BSD nm"
4927   echo "int some_variable = 0;" > conftest.$ac_ext
4928   (eval echo "\"\$as_me:$LINENO: $ac_compile\"" >&5)
4929   (eval "$ac_compile" 2>conftest.err)
4930   cat conftest.err >&5
4931   (eval echo "\"\$as_me:$LINENO: $NM \\\"conftest.$ac_objext\\\"\"" >&5)
4932   (eval "$NM \"conftest.$ac_objext\"" 2>conftest.err > conftest.out)
4933   cat conftest.err >&5
4934   (eval echo "\"\$as_me:$LINENO: output\"" >&5)
4935   cat conftest.out >&5
4936   if $GREP 'External.*some_variable' conftest.out > /dev/null; then
4937     lt_cv_nm_interface="MS dumpbin"
4938   fi
4939   rm -f conftest*
4940 fi
4941 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_nm_interface" >&5
4942 $as_echo "$lt_cv_nm_interface" >&6; }
4943
4944 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ln -s works" >&5
4945 $as_echo_n "checking whether ln -s works... " >&6; }
4946 LN_S=$as_ln_s
4947 if test "$LN_S" = "ln -s"; then
4948   { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
4949 $as_echo "yes" >&6; }
4950 else
4951   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no, using $LN_S" >&5
4952 $as_echo "no, using $LN_S" >&6; }
4953 fi
4954
4955 # find the maximum length of command line arguments
4956 { $as_echo "$as_me:${as_lineno-$LINENO}: checking the maximum length of command line arguments" >&5
4957 $as_echo_n "checking the maximum length of command line arguments... " >&6; }
4958 if ${lt_cv_sys_max_cmd_len+:} false; then :
4959   $as_echo_n "(cached) " >&6
4960 else
4961     i=0
4962   teststring="ABCD"
4963
4964   case $build_os in
4965   msdosdjgpp*)
4966     # On DJGPP, this test can blow up pretty badly due to problems in libc
4967     # (any single argument exceeding 2000 bytes causes a buffer overrun
4968     # during glob expansion).  Even if it were fixed, the result of this
4969     # check would be larger than it should be.
4970     lt_cv_sys_max_cmd_len=12288;    # 12K is about right
4971     ;;
4972
4973   gnu*)
4974     # Under GNU Hurd, this test is not required because there is
4975     # no limit to the length of command line arguments.
4976     # Libtool will interpret -1 as no limit whatsoever
4977     lt_cv_sys_max_cmd_len=-1;
4978     ;;
4979
4980   cygwin* | mingw* | cegcc*)
4981     # On Win9x/ME, this test blows up -- it succeeds, but takes
4982     # about 5 minutes as the teststring grows exponentially.
4983     # Worse, since 9x/ME are not pre-emptively multitasking,
4984     # you end up with a "frozen" computer, even though with patience
4985     # the test eventually succeeds (with a max line length of 256k).
4986     # Instead, let's just punt: use the minimum linelength reported by
4987     # all of the supported platforms: 8192 (on NT/2K/XP).
4988     lt_cv_sys_max_cmd_len=8192;
4989     ;;
4990
4991   mint*)
4992     # On MiNT this can take a long time and run out of memory.
4993     lt_cv_sys_max_cmd_len=8192;
4994     ;;
4995
4996   amigaos*)
4997     # On AmigaOS with pdksh, this test takes hours, literally.
4998     # So we just punt and use a minimum line length of 8192.
4999     lt_cv_sys_max_cmd_len=8192;
5000     ;;
5001
5002   netbsd* | freebsd* | openbsd* | darwin* | dragonfly*)
5003     # This has been around since 386BSD, at least.  Likely further.
5004     if test -x /sbin/sysctl; then
5005       lt_cv_sys_max_cmd_len=`/sbin/sysctl -n kern.argmax`
5006     elif test -x /usr/sbin/sysctl; then
5007       lt_cv_sys_max_cmd_len=`/usr/sbin/sysctl -n kern.argmax`
5008     else
5009       lt_cv_sys_max_cmd_len=65536       # usable default for all BSDs
5010     fi
5011     # And add a safety zone
5012     lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4`
5013     lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3`
5014     ;;
5015
5016   interix*)
5017     # We know the value 262144 and hardcode it with a safety zone (like BSD)
5018     lt_cv_sys_max_cmd_len=196608
5019     ;;
5020
5021   os2*)
5022     # The test takes a long time on OS/2.
5023     lt_cv_sys_max_cmd_len=8192
5024     ;;
5025
5026   osf*)
5027     # Dr. Hans Ekkehard Plesser reports seeing a kernel panic running configure
5028     # due to this test when exec_disable_arg_limit is 1 on Tru64. It is not
5029     # nice to cause kernel panics so lets avoid the loop below.
5030     # First set a reasonable default.
5031     lt_cv_sys_max_cmd_len=16384
5032     #
5033     if test -x /sbin/sysconfig; then
5034       case `/sbin/sysconfig -q proc exec_disable_arg_limit` in
5035         *1*) lt_cv_sys_max_cmd_len=-1 ;;
5036       esac
5037     fi
5038     ;;
5039   sco3.2v5*)
5040     lt_cv_sys_max_cmd_len=102400
5041     ;;
5042   sysv5* | sco5v6* | sysv4.2uw2*)
5043     kargmax=`grep ARG_MAX /etc/conf/cf.d/stune 2>/dev/null`
5044     if test -n "$kargmax"; then
5045       lt_cv_sys_max_cmd_len=`echo $kargmax | sed 's/.*[  ]//'`
5046     else
5047       lt_cv_sys_max_cmd_len=32768
5048     fi
5049     ;;
5050   *)
5051     lt_cv_sys_max_cmd_len=`(getconf ARG_MAX) 2> /dev/null`
5052     if test -n "$lt_cv_sys_max_cmd_len"; then
5053       lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4`
5054       lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3`
5055     else
5056       # Make teststring a little bigger before we do anything with it.
5057       # a 1K string should be a reasonable start.
5058       for i in 1 2 3 4 5 6 7 8 ; do
5059         teststring=$teststring$teststring
5060       done
5061       SHELL=${SHELL-${CONFIG_SHELL-/bin/sh}}
5062       # If test is not a shell built-in, we'll probably end up computing a
5063       # maximum length that is only half of the actual maximum length, but
5064       # we can't tell.
5065       while { test "X"`env echo "$teststring$teststring" 2>/dev/null` \
5066                  = "X$teststring$teststring"; } >/dev/null 2>&1 &&
5067               test $i != 17 # 1/2 MB should be enough
5068       do
5069         i=`expr $i + 1`
5070         teststring=$teststring$teststring
5071       done
5072       # Only check the string length outside the loop.
5073       lt_cv_sys_max_cmd_len=`expr "X$teststring" : ".*" 2>&1`
5074       teststring=
5075       # Add a significant safety factor because C++ compilers can tack on
5076       # massive amounts of additional arguments before passing them to the
5077       # linker.  It appears as though 1/2 is a usable value.
5078       lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 2`
5079     fi
5080     ;;
5081   esac
5082
5083 fi
5084
5085 if test -n $lt_cv_sys_max_cmd_len ; then
5086   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_sys_max_cmd_len" >&5
5087 $as_echo "$lt_cv_sys_max_cmd_len" >&6; }
5088 else
5089   { $as_echo "$as_me:${as_lineno-$LINENO}: result: none" >&5
5090 $as_echo "none" >&6; }
5091 fi
5092 max_cmd_len=$lt_cv_sys_max_cmd_len
5093
5094
5095
5096
5097
5098
5099 : ${CP="cp -f"}
5100 : ${MV="mv -f"}
5101 : ${RM="rm -f"}
5102
5103 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the shell understands some XSI constructs" >&5
5104 $as_echo_n "checking whether the shell understands some XSI constructs... " >&6; }
5105 # Try some XSI features
5106 xsi_shell=no
5107 ( _lt_dummy="a/b/c"
5108   test "${_lt_dummy##*/},${_lt_dummy%/*},${_lt_dummy#??}"${_lt_dummy%"$_lt_dummy"}, \
5109       = c,a/b,b/c, \
5110     && eval 'test $(( 1 + 1 )) -eq 2 \
5111     && test "${#_lt_dummy}" -eq 5' ) >/dev/null 2>&1 \
5112   && xsi_shell=yes
5113 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xsi_shell" >&5
5114 $as_echo "$xsi_shell" >&6; }
5115
5116
5117 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the shell understands \"+=\"" >&5
5118 $as_echo_n "checking whether the shell understands \"+=\"... " >&6; }
5119 lt_shell_append=no
5120 ( foo=bar; set foo baz; eval "$1+=\$2" && test "$foo" = barbaz ) \
5121     >/dev/null 2>&1 \
5122   && lt_shell_append=yes
5123 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_shell_append" >&5
5124 $as_echo "$lt_shell_append" >&6; }
5125
5126
5127 if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
5128   lt_unset=unset
5129 else
5130   lt_unset=false
5131 fi
5132
5133
5134
5135
5136
5137 # test EBCDIC or ASCII
5138 case `echo X|tr X '\101'` in
5139  A) # ASCII based system
5140     # \n is not interpreted correctly by Solaris 8 /usr/ucb/tr
5141   lt_SP2NL='tr \040 \012'
5142   lt_NL2SP='tr \015\012 \040\040'
5143   ;;
5144  *) # EBCDIC based system
5145   lt_SP2NL='tr \100 \n'
5146   lt_NL2SP='tr \r\n \100\100'
5147   ;;
5148 esac
5149
5150
5151
5152
5153
5154
5155
5156
5157
5158 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to convert $build file names to $host format" >&5
5159 $as_echo_n "checking how to convert $build file names to $host format... " >&6; }
5160 if ${lt_cv_to_host_file_cmd+:} false; then :
5161   $as_echo_n "(cached) " >&6
5162 else
5163   case $host in
5164   *-*-mingw* )
5165     case $build in
5166       *-*-mingw* ) # actually msys
5167         lt_cv_to_host_file_cmd=func_convert_file_msys_to_w32
5168         ;;
5169       *-*-cygwin* )
5170         lt_cv_to_host_file_cmd=func_convert_file_cygwin_to_w32
5171         ;;
5172       * ) # otherwise, assume *nix
5173         lt_cv_to_host_file_cmd=func_convert_file_nix_to_w32
5174         ;;
5175     esac
5176     ;;
5177   *-*-cygwin* )
5178     case $build in
5179       *-*-mingw* ) # actually msys
5180         lt_cv_to_host_file_cmd=func_convert_file_msys_to_cygwin
5181         ;;
5182       *-*-cygwin* )
5183         lt_cv_to_host_file_cmd=func_convert_file_noop
5184         ;;
5185       * ) # otherwise, assume *nix
5186         lt_cv_to_host_file_cmd=func_convert_file_nix_to_cygwin
5187         ;;
5188     esac
5189     ;;
5190   * ) # unhandled hosts (and "normal" native builds)
5191     lt_cv_to_host_file_cmd=func_convert_file_noop
5192     ;;
5193 esac
5194
5195 fi
5196
5197 to_host_file_cmd=$lt_cv_to_host_file_cmd
5198 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_to_host_file_cmd" >&5
5199 $as_echo "$lt_cv_to_host_file_cmd" >&6; }
5200
5201
5202
5203
5204
5205 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to convert $build file names to toolchain format" >&5
5206 $as_echo_n "checking how to convert $build file names to toolchain format... " >&6; }
5207 if ${lt_cv_to_tool_file_cmd+:} false; then :
5208   $as_echo_n "(cached) " >&6
5209 else
5210   #assume ordinary cross tools, or native build.
5211 lt_cv_to_tool_file_cmd=func_convert_file_noop
5212 case $host in
5213   *-*-mingw* )
5214     case $build in
5215       *-*-mingw* ) # actually msys
5216         lt_cv_to_tool_file_cmd=func_convert_file_msys_to_w32
5217         ;;
5218     esac
5219     ;;
5220 esac
5221
5222 fi
5223
5224 to_tool_file_cmd=$lt_cv_to_tool_file_cmd
5225 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_to_tool_file_cmd" >&5
5226 $as_echo "$lt_cv_to_tool_file_cmd" >&6; }
5227
5228
5229
5230
5231
5232 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $LD option to reload object files" >&5
5233 $as_echo_n "checking for $LD option to reload object files... " >&6; }
5234 if ${lt_cv_ld_reload_flag+:} false; then :
5235   $as_echo_n "(cached) " >&6
5236 else
5237   lt_cv_ld_reload_flag='-r'
5238 fi
5239 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_reload_flag" >&5
5240 $as_echo "$lt_cv_ld_reload_flag" >&6; }
5241 reload_flag=$lt_cv_ld_reload_flag
5242 case $reload_flag in
5243 "" | " "*) ;;
5244 *) reload_flag=" $reload_flag" ;;
5245 esac
5246 reload_cmds='$LD$reload_flag -o $output$reload_objs'
5247 case $host_os in
5248   cygwin* | mingw* | pw32* | cegcc*)
5249     if test "$GCC" != yes; then
5250       reload_cmds=false
5251     fi
5252     ;;
5253   darwin*)
5254     if test "$GCC" = yes; then
5255       reload_cmds='$LTCC $LTCFLAGS -nostdlib ${wl}-r -o $output$reload_objs'
5256     else
5257       reload_cmds='$LD$reload_flag -o $output$reload_objs'
5258     fi
5259     ;;
5260 esac
5261
5262
5263
5264
5265
5266
5267
5268
5269
5270 if test -n "$ac_tool_prefix"; then
5271   # Extract the first word of "${ac_tool_prefix}objdump", so it can be a program name with args.
5272 set dummy ${ac_tool_prefix}objdump; ac_word=$2
5273 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5274 $as_echo_n "checking for $ac_word... " >&6; }
5275 if ${ac_cv_prog_OBJDUMP+:} false; then :
5276   $as_echo_n "(cached) " >&6
5277 else
5278   if test -n "$OBJDUMP"; then
5279   ac_cv_prog_OBJDUMP="$OBJDUMP" # Let the user override the test.
5280 else
5281 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5282 for as_dir in $PATH
5283 do
5284   IFS=$as_save_IFS
5285   test -z "$as_dir" && as_dir=.
5286     for ac_exec_ext in '' $ac_executable_extensions; do
5287   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5288     ac_cv_prog_OBJDUMP="${ac_tool_prefix}objdump"
5289     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5290     break 2
5291   fi
5292 done
5293   done
5294 IFS=$as_save_IFS
5295
5296 fi
5297 fi
5298 OBJDUMP=$ac_cv_prog_OBJDUMP
5299 if test -n "$OBJDUMP"; then
5300   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OBJDUMP" >&5
5301 $as_echo "$OBJDUMP" >&6; }
5302 else
5303   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5304 $as_echo "no" >&6; }
5305 fi
5306
5307
5308 fi
5309 if test -z "$ac_cv_prog_OBJDUMP"; then
5310   ac_ct_OBJDUMP=$OBJDUMP
5311   # Extract the first word of "objdump", so it can be a program name with args.
5312 set dummy objdump; ac_word=$2
5313 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5314 $as_echo_n "checking for $ac_word... " >&6; }
5315 if ${ac_cv_prog_ac_ct_OBJDUMP+:} false; then :
5316   $as_echo_n "(cached) " >&6
5317 else
5318   if test -n "$ac_ct_OBJDUMP"; then
5319   ac_cv_prog_ac_ct_OBJDUMP="$ac_ct_OBJDUMP" # Let the user override the test.
5320 else
5321 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5322 for as_dir in $PATH
5323 do
5324   IFS=$as_save_IFS
5325   test -z "$as_dir" && as_dir=.
5326     for ac_exec_ext in '' $ac_executable_extensions; do
5327   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5328     ac_cv_prog_ac_ct_OBJDUMP="objdump"
5329     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5330     break 2
5331   fi
5332 done
5333   done
5334 IFS=$as_save_IFS
5335
5336 fi
5337 fi
5338 ac_ct_OBJDUMP=$ac_cv_prog_ac_ct_OBJDUMP
5339 if test -n "$ac_ct_OBJDUMP"; then
5340   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OBJDUMP" >&5
5341 $as_echo "$ac_ct_OBJDUMP" >&6; }
5342 else
5343   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5344 $as_echo "no" >&6; }
5345 fi
5346
5347   if test "x$ac_ct_OBJDUMP" = x; then
5348     OBJDUMP="false"
5349   else
5350     case $cross_compiling:$ac_tool_warned in
5351 yes:)
5352 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5353 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5354 ac_tool_warned=yes ;;
5355 esac
5356     OBJDUMP=$ac_ct_OBJDUMP
5357   fi
5358 else
5359   OBJDUMP="$ac_cv_prog_OBJDUMP"
5360 fi
5361
5362 test -z "$OBJDUMP" && OBJDUMP=objdump
5363
5364
5365
5366
5367
5368
5369 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to recognize dependent libraries" >&5
5370 $as_echo_n "checking how to recognize dependent libraries... " >&6; }
5371 if ${lt_cv_deplibs_check_method+:} false; then :
5372   $as_echo_n "(cached) " >&6
5373 else
5374   lt_cv_file_magic_cmd='$MAGIC_CMD'
5375 lt_cv_file_magic_test_file=
5376 lt_cv_deplibs_check_method='unknown'
5377 # Need to set the preceding variable on all platforms that support
5378 # interlibrary dependencies.
5379 # 'none' -- dependencies not supported.
5380 # `unknown' -- same as none, but documents that we really don't know.
5381 # 'pass_all' -- all dependencies passed with no checks.
5382 # 'test_compile' -- check by making test program.
5383 # 'file_magic [[regex]]' -- check by looking for files in library path
5384 # which responds to the $file_magic_cmd with a given extended regex.
5385 # If you have `file' or equivalent on your system and you're not sure
5386 # whether `pass_all' will *always* work, you probably want this one.
5387
5388 case $host_os in
5389 aix[4-9]*)
5390   lt_cv_deplibs_check_method=pass_all
5391   ;;
5392
5393 beos*)
5394   lt_cv_deplibs_check_method=pass_all
5395   ;;
5396
5397 bsdi[45]*)
5398   lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (shared object|dynamic lib)'
5399   lt_cv_file_magic_cmd='/usr/bin/file -L'
5400   lt_cv_file_magic_test_file=/shlib/libc.so
5401   ;;
5402
5403 cygwin*)
5404   # func_win32_libid is a shell function defined in ltmain.sh
5405   lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL'
5406   lt_cv_file_magic_cmd='func_win32_libid'
5407   ;;
5408
5409 mingw* | pw32*)
5410   # Base MSYS/MinGW do not provide the 'file' command needed by
5411   # func_win32_libid shell function, so use a weaker test based on 'objdump',
5412   # unless we find 'file', for example because we are cross-compiling.
5413   # func_win32_libid assumes BSD nm, so disallow it if using MS dumpbin.
5414   if ( test "$lt_cv_nm_interface" = "BSD nm" && file / ) >/dev/null 2>&1; then
5415     lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL'
5416     lt_cv_file_magic_cmd='func_win32_libid'
5417   else
5418     # Keep this pattern in sync with the one in func_win32_libid.
5419     lt_cv_deplibs_check_method='file_magic file format (pei*-i386(.*architecture: i386)?|pe-arm-wince|pe-x86-64)'
5420     lt_cv_file_magic_cmd='$OBJDUMP -f'
5421   fi
5422   ;;
5423
5424 cegcc*)
5425   # use the weaker test based on 'objdump'. See mingw*.
5426   lt_cv_deplibs_check_method='file_magic file format pe-arm-.*little(.*architecture: arm)?'
5427   lt_cv_file_magic_cmd='$OBJDUMP -f'
5428   ;;
5429
5430 darwin* | rhapsody*)
5431   lt_cv_deplibs_check_method=pass_all
5432   ;;
5433
5434 freebsd* | dragonfly*)
5435   if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then
5436     case $host_cpu in
5437     i*86 )
5438       # Not sure whether the presence of OpenBSD here was a mistake.
5439       # Let's accept both of them until this is cleared up.
5440       lt_cv_deplibs_check_method='file_magic (FreeBSD|OpenBSD|DragonFly)/i[3-9]86 (compact )?demand paged shared library'
5441       lt_cv_file_magic_cmd=/usr/bin/file
5442       lt_cv_file_magic_test_file=`echo /usr/lib/libc.so.*`
5443       ;;
5444     esac
5445   else
5446     lt_cv_deplibs_check_method=pass_all
5447   fi
5448   ;;
5449
5450 gnu*)
5451   lt_cv_deplibs_check_method=pass_all
5452   ;;
5453
5454 haiku*)
5455   lt_cv_deplibs_check_method=pass_all
5456   ;;
5457
5458 hpux10.20* | hpux11*)
5459   lt_cv_file_magic_cmd=/usr/bin/file
5460   case $host_cpu in
5461   ia64*)
5462     lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|ELF-[0-9][0-9]) shared object file - IA64'
5463     lt_cv_file_magic_test_file=/usr/lib/hpux32/libc.so
5464     ;;
5465   hppa*64*)
5466     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]'
5467     lt_cv_file_magic_test_file=/usr/lib/pa20_64/libc.sl
5468     ;;
5469   *)
5470     lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|PA-RISC[0-9]\.[0-9]) shared library'
5471     lt_cv_file_magic_test_file=/usr/lib/libc.sl
5472     ;;
5473   esac
5474   ;;
5475
5476 interix[3-9]*)
5477   # PIC code is broken on Interix 3.x, that's why |\.a not |_pic\.a here
5478   lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|\.a)$'
5479   ;;
5480
5481 irix5* | irix6* | nonstopux*)
5482   case $LD in
5483   *-32|*"-32 ") libmagic=32-bit;;
5484   *-n32|*"-n32 ") libmagic=N32;;
5485   *-64|*"-64 ") libmagic=64-bit;;
5486   *) libmagic=never-match;;
5487   esac
5488   lt_cv_deplibs_check_method=pass_all
5489   ;;
5490
5491 # This must be glibc/ELF.
5492 linux* | k*bsd*-gnu | kopensolaris*-gnu)
5493   lt_cv_deplibs_check_method=pass_all
5494   ;;
5495
5496 netbsd* | netbsdelf*-gnu)
5497   if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then
5498     lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
5499   else
5500     lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|_pic\.a)$'
5501   fi
5502   ;;
5503
5504 newos6*)
5505   lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (executable|dynamic lib)'
5506   lt_cv_file_magic_cmd=/usr/bin/file
5507   lt_cv_file_magic_test_file=/usr/lib/libnls.so
5508   ;;
5509
5510 *nto* | *qnx*)
5511   lt_cv_deplibs_check_method=pass_all
5512   ;;
5513
5514 openbsd*)
5515   if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
5516     lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|\.so|_pic\.a)$'
5517   else
5518     lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
5519   fi
5520   ;;
5521
5522 osf3* | osf4* | osf5*)
5523   lt_cv_deplibs_check_method=pass_all
5524   ;;
5525
5526 rdos*)
5527   lt_cv_deplibs_check_method=pass_all
5528   ;;
5529
5530 solaris*)
5531   lt_cv_deplibs_check_method=pass_all
5532   ;;
5533
5534 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
5535   lt_cv_deplibs_check_method=pass_all
5536   ;;
5537
5538 sysv4 | sysv4.3*)
5539   case $host_vendor in
5540   motorola)
5541     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]'
5542     lt_cv_file_magic_test_file=`echo /usr/lib/libc.so*`
5543     ;;
5544   ncr)
5545     lt_cv_deplibs_check_method=pass_all
5546     ;;
5547   sequent)
5548     lt_cv_file_magic_cmd='/bin/file'
5549     lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [LM]SB (shared object|dynamic lib )'
5550     ;;
5551   sni)
5552     lt_cv_file_magic_cmd='/bin/file'
5553     lt_cv_deplibs_check_method="file_magic ELF [0-9][0-9]*-bit [LM]SB dynamic lib"
5554     lt_cv_file_magic_test_file=/lib/libc.so
5555     ;;
5556   siemens)
5557     lt_cv_deplibs_check_method=pass_all
5558     ;;
5559   pc)
5560     lt_cv_deplibs_check_method=pass_all
5561     ;;
5562   esac
5563   ;;
5564
5565 tpf*)
5566   lt_cv_deplibs_check_method=pass_all
5567   ;;
5568 esac
5569
5570 fi
5571 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_deplibs_check_method" >&5
5572 $as_echo "$lt_cv_deplibs_check_method" >&6; }
5573
5574 file_magic_glob=
5575 want_nocaseglob=no
5576 if test "$build" = "$host"; then
5577   case $host_os in
5578   mingw* | pw32*)
5579     if ( shopt | grep nocaseglob ) >/dev/null 2>&1; then
5580       want_nocaseglob=yes
5581     else
5582       file_magic_glob=`echo aAbBcCdDeEfFgGhHiIjJkKlLmMnNoOpPqQrRsStTuUvVwWxXyYzZ | $SED -e "s/\(..\)/s\/[\1]\/[\1]\/g;/g"`
5583     fi
5584     ;;
5585   esac
5586 fi
5587
5588 file_magic_cmd=$lt_cv_file_magic_cmd
5589 deplibs_check_method=$lt_cv_deplibs_check_method
5590 test -z "$deplibs_check_method" && deplibs_check_method=unknown
5591
5592
5593
5594
5595
5596
5597
5598
5599
5600
5601
5602
5603
5604
5605
5606
5607
5608
5609
5610
5611
5612
5613 if test -n "$ac_tool_prefix"; then
5614   # Extract the first word of "${ac_tool_prefix}dlltool", so it can be a program name with args.
5615 set dummy ${ac_tool_prefix}dlltool; ac_word=$2
5616 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5617 $as_echo_n "checking for $ac_word... " >&6; }
5618 if ${ac_cv_prog_DLLTOOL+:} false; then :
5619   $as_echo_n "(cached) " >&6
5620 else
5621   if test -n "$DLLTOOL"; then
5622   ac_cv_prog_DLLTOOL="$DLLTOOL" # Let the user override the test.
5623 else
5624 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5625 for as_dir in $PATH
5626 do
5627   IFS=$as_save_IFS
5628   test -z "$as_dir" && as_dir=.
5629     for ac_exec_ext in '' $ac_executable_extensions; do
5630   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5631     ac_cv_prog_DLLTOOL="${ac_tool_prefix}dlltool"
5632     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5633     break 2
5634   fi
5635 done
5636   done
5637 IFS=$as_save_IFS
5638
5639 fi
5640 fi
5641 DLLTOOL=$ac_cv_prog_DLLTOOL
5642 if test -n "$DLLTOOL"; then
5643   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DLLTOOL" >&5
5644 $as_echo "$DLLTOOL" >&6; }
5645 else
5646   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5647 $as_echo "no" >&6; }
5648 fi
5649
5650
5651 fi
5652 if test -z "$ac_cv_prog_DLLTOOL"; then
5653   ac_ct_DLLTOOL=$DLLTOOL
5654   # Extract the first word of "dlltool", so it can be a program name with args.
5655 set dummy dlltool; ac_word=$2
5656 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5657 $as_echo_n "checking for $ac_word... " >&6; }
5658 if ${ac_cv_prog_ac_ct_DLLTOOL+:} false; then :
5659   $as_echo_n "(cached) " >&6
5660 else
5661   if test -n "$ac_ct_DLLTOOL"; then
5662   ac_cv_prog_ac_ct_DLLTOOL="$ac_ct_DLLTOOL" # Let the user override the test.
5663 else
5664 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5665 for as_dir in $PATH
5666 do
5667   IFS=$as_save_IFS
5668   test -z "$as_dir" && as_dir=.
5669     for ac_exec_ext in '' $ac_executable_extensions; do
5670   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5671     ac_cv_prog_ac_ct_DLLTOOL="dlltool"
5672     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5673     break 2
5674   fi
5675 done
5676   done
5677 IFS=$as_save_IFS
5678
5679 fi
5680 fi
5681 ac_ct_DLLTOOL=$ac_cv_prog_ac_ct_DLLTOOL
5682 if test -n "$ac_ct_DLLTOOL"; then
5683   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DLLTOOL" >&5
5684 $as_echo "$ac_ct_DLLTOOL" >&6; }
5685 else
5686   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5687 $as_echo "no" >&6; }
5688 fi
5689
5690   if test "x$ac_ct_DLLTOOL" = x; then
5691     DLLTOOL="false"
5692   else
5693     case $cross_compiling:$ac_tool_warned in
5694 yes:)
5695 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5696 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5697 ac_tool_warned=yes ;;
5698 esac
5699     DLLTOOL=$ac_ct_DLLTOOL
5700   fi
5701 else
5702   DLLTOOL="$ac_cv_prog_DLLTOOL"
5703 fi
5704
5705 test -z "$DLLTOOL" && DLLTOOL=dlltool
5706
5707
5708
5709
5710
5711
5712
5713 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to associate runtime and link libraries" >&5
5714 $as_echo_n "checking how to associate runtime and link libraries... " >&6; }
5715 if ${lt_cv_sharedlib_from_linklib_cmd+:} false; then :
5716   $as_echo_n "(cached) " >&6
5717 else
5718   lt_cv_sharedlib_from_linklib_cmd='unknown'
5719
5720 case $host_os in
5721 cygwin* | mingw* | pw32* | cegcc*)
5722   # two different shell functions defined in ltmain.sh
5723   # decide which to use based on capabilities of $DLLTOOL
5724   case `$DLLTOOL --help 2>&1` in
5725   *--identify-strict*)
5726     lt_cv_sharedlib_from_linklib_cmd=func_cygming_dll_for_implib
5727     ;;
5728   *)
5729     lt_cv_sharedlib_from_linklib_cmd=func_cygming_dll_for_implib_fallback
5730     ;;
5731   esac
5732   ;;
5733 *)
5734   # fallback: assume linklib IS sharedlib
5735   lt_cv_sharedlib_from_linklib_cmd="$ECHO"
5736   ;;
5737 esac
5738
5739 fi
5740 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_sharedlib_from_linklib_cmd" >&5
5741 $as_echo "$lt_cv_sharedlib_from_linklib_cmd" >&6; }
5742 sharedlib_from_linklib_cmd=$lt_cv_sharedlib_from_linklib_cmd
5743 test -z "$sharedlib_from_linklib_cmd" && sharedlib_from_linklib_cmd=$ECHO
5744
5745
5746
5747
5748
5749
5750
5751
5752 if test -n "$ac_tool_prefix"; then
5753   for ac_prog in ar
5754   do
5755     # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
5756 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
5757 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5758 $as_echo_n "checking for $ac_word... " >&6; }
5759 if ${ac_cv_prog_AR+:} false; then :
5760   $as_echo_n "(cached) " >&6
5761 else
5762   if test -n "$AR"; then
5763   ac_cv_prog_AR="$AR" # Let the user override the test.
5764 else
5765 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5766 for as_dir in $PATH
5767 do
5768   IFS=$as_save_IFS
5769   test -z "$as_dir" && as_dir=.
5770     for ac_exec_ext in '' $ac_executable_extensions; do
5771   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5772     ac_cv_prog_AR="$ac_tool_prefix$ac_prog"
5773     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5774     break 2
5775   fi
5776 done
5777   done
5778 IFS=$as_save_IFS
5779
5780 fi
5781 fi
5782 AR=$ac_cv_prog_AR
5783 if test -n "$AR"; then
5784   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AR" >&5
5785 $as_echo "$AR" >&6; }
5786 else
5787   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5788 $as_echo "no" >&6; }
5789 fi
5790
5791
5792     test -n "$AR" && break
5793   done
5794 fi
5795 if test -z "$AR"; then
5796   ac_ct_AR=$AR
5797   for ac_prog in ar
5798 do
5799   # Extract the first word of "$ac_prog", so it can be a program name with args.
5800 set dummy $ac_prog; ac_word=$2
5801 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5802 $as_echo_n "checking for $ac_word... " >&6; }
5803 if ${ac_cv_prog_ac_ct_AR+:} false; then :
5804   $as_echo_n "(cached) " >&6
5805 else
5806   if test -n "$ac_ct_AR"; then
5807   ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test.
5808 else
5809 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5810 for as_dir in $PATH
5811 do
5812   IFS=$as_save_IFS
5813   test -z "$as_dir" && as_dir=.
5814     for ac_exec_ext in '' $ac_executable_extensions; do
5815   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5816     ac_cv_prog_ac_ct_AR="$ac_prog"
5817     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5818     break 2
5819   fi
5820 done
5821   done
5822 IFS=$as_save_IFS
5823
5824 fi
5825 fi
5826 ac_ct_AR=$ac_cv_prog_ac_ct_AR
5827 if test -n "$ac_ct_AR"; then
5828   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_AR" >&5
5829 $as_echo "$ac_ct_AR" >&6; }
5830 else
5831   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5832 $as_echo "no" >&6; }
5833 fi
5834
5835
5836   test -n "$ac_ct_AR" && break
5837 done
5838
5839   if test "x$ac_ct_AR" = x; then
5840     AR="false"
5841   else
5842     case $cross_compiling:$ac_tool_warned in
5843 yes:)
5844 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5845 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5846 ac_tool_warned=yes ;;
5847 esac
5848     AR=$ac_ct_AR
5849   fi
5850 fi
5851
5852 : ${AR=ar}
5853 : ${AR_FLAGS=cru}
5854
5855
5856
5857
5858
5859
5860
5861
5862
5863
5864
5865 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for archiver @FILE support" >&5
5866 $as_echo_n "checking for archiver @FILE support... " >&6; }
5867 if ${lt_cv_ar_at_file+:} false; then :
5868   $as_echo_n "(cached) " >&6
5869 else
5870   lt_cv_ar_at_file=no
5871    cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5872 /* end confdefs.h.  */
5873
5874 int
5875 main ()
5876 {
5877
5878   ;
5879   return 0;
5880 }
5881 _ACEOF
5882 if ac_fn_c_try_compile "$LINENO"; then :
5883   echo conftest.$ac_objext > conftest.lst
5884       lt_ar_try='$AR $AR_FLAGS libconftest.a @conftest.lst >&5'
5885       { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$lt_ar_try\""; } >&5
5886   (eval $lt_ar_try) 2>&5
5887   ac_status=$?
5888   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
5889   test $ac_status = 0; }
5890       if test "$ac_status" -eq 0; then
5891         # Ensure the archiver fails upon bogus file names.
5892         rm -f conftest.$ac_objext libconftest.a
5893         { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$lt_ar_try\""; } >&5
5894   (eval $lt_ar_try) 2>&5
5895   ac_status=$?
5896   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
5897   test $ac_status = 0; }
5898         if test "$ac_status" -ne 0; then
5899           lt_cv_ar_at_file=@
5900         fi
5901       fi
5902       rm -f conftest.* libconftest.a
5903
5904 fi
5905 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5906
5907 fi
5908 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ar_at_file" >&5
5909 $as_echo "$lt_cv_ar_at_file" >&6; }
5910
5911 if test "x$lt_cv_ar_at_file" = xno; then
5912   archiver_list_spec=
5913 else
5914   archiver_list_spec=$lt_cv_ar_at_file
5915 fi
5916
5917
5918
5919
5920
5921
5922
5923 if test -n "$ac_tool_prefix"; then
5924   # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
5925 set dummy ${ac_tool_prefix}strip; ac_word=$2
5926 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5927 $as_echo_n "checking for $ac_word... " >&6; }
5928 if ${ac_cv_prog_STRIP+:} false; then :
5929   $as_echo_n "(cached) " >&6
5930 else
5931   if test -n "$STRIP"; then
5932   ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
5933 else
5934 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5935 for as_dir in $PATH
5936 do
5937   IFS=$as_save_IFS
5938   test -z "$as_dir" && as_dir=.
5939     for ac_exec_ext in '' $ac_executable_extensions; do
5940   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5941     ac_cv_prog_STRIP="${ac_tool_prefix}strip"
5942     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5943     break 2
5944   fi
5945 done
5946   done
5947 IFS=$as_save_IFS
5948
5949 fi
5950 fi
5951 STRIP=$ac_cv_prog_STRIP
5952 if test -n "$STRIP"; then
5953   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
5954 $as_echo "$STRIP" >&6; }
5955 else
5956   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5957 $as_echo "no" >&6; }
5958 fi
5959
5960
5961 fi
5962 if test -z "$ac_cv_prog_STRIP"; then
5963   ac_ct_STRIP=$STRIP
5964   # Extract the first word of "strip", so it can be a program name with args.
5965 set dummy strip; ac_word=$2
5966 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5967 $as_echo_n "checking for $ac_word... " >&6; }
5968 if ${ac_cv_prog_ac_ct_STRIP+:} false; then :
5969   $as_echo_n "(cached) " >&6
5970 else
5971   if test -n "$ac_ct_STRIP"; then
5972   ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
5973 else
5974 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5975 for as_dir in $PATH
5976 do
5977   IFS=$as_save_IFS
5978   test -z "$as_dir" && as_dir=.
5979     for ac_exec_ext in '' $ac_executable_extensions; do
5980   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5981     ac_cv_prog_ac_ct_STRIP="strip"
5982     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5983     break 2
5984   fi
5985 done
5986   done
5987 IFS=$as_save_IFS
5988
5989 fi
5990 fi
5991 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
5992 if test -n "$ac_ct_STRIP"; then
5993   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
5994 $as_echo "$ac_ct_STRIP" >&6; }
5995 else
5996   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5997 $as_echo "no" >&6; }
5998 fi
5999
6000   if test "x$ac_ct_STRIP" = x; then
6001     STRIP=":"
6002   else
6003     case $cross_compiling:$ac_tool_warned in
6004 yes:)
6005 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6006 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6007 ac_tool_warned=yes ;;
6008 esac
6009     STRIP=$ac_ct_STRIP
6010   fi
6011 else
6012   STRIP="$ac_cv_prog_STRIP"
6013 fi
6014
6015 test -z "$STRIP" && STRIP=:
6016
6017
6018
6019
6020
6021
6022 if test -n "$ac_tool_prefix"; then
6023   # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
6024 set dummy ${ac_tool_prefix}ranlib; ac_word=$2
6025 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6026 $as_echo_n "checking for $ac_word... " >&6; }
6027 if ${ac_cv_prog_RANLIB+:} false; then :
6028   $as_echo_n "(cached) " >&6
6029 else
6030   if test -n "$RANLIB"; then
6031   ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
6032 else
6033 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6034 for as_dir in $PATH
6035 do
6036   IFS=$as_save_IFS
6037   test -z "$as_dir" && as_dir=.
6038     for ac_exec_ext in '' $ac_executable_extensions; do
6039   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6040     ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
6041     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6042     break 2
6043   fi
6044 done
6045   done
6046 IFS=$as_save_IFS
6047
6048 fi
6049 fi
6050 RANLIB=$ac_cv_prog_RANLIB
6051 if test -n "$RANLIB"; then
6052   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $RANLIB" >&5
6053 $as_echo "$RANLIB" >&6; }
6054 else
6055   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6056 $as_echo "no" >&6; }
6057 fi
6058
6059
6060 fi
6061 if test -z "$ac_cv_prog_RANLIB"; then
6062   ac_ct_RANLIB=$RANLIB
6063   # Extract the first word of "ranlib", so it can be a program name with args.
6064 set dummy ranlib; ac_word=$2
6065 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6066 $as_echo_n "checking for $ac_word... " >&6; }
6067 if ${ac_cv_prog_ac_ct_RANLIB+:} false; then :
6068   $as_echo_n "(cached) " >&6
6069 else
6070   if test -n "$ac_ct_RANLIB"; then
6071   ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
6072 else
6073 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6074 for as_dir in $PATH
6075 do
6076   IFS=$as_save_IFS
6077   test -z "$as_dir" && as_dir=.
6078     for ac_exec_ext in '' $ac_executable_extensions; do
6079   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6080     ac_cv_prog_ac_ct_RANLIB="ranlib"
6081     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6082     break 2
6083   fi
6084 done
6085   done
6086 IFS=$as_save_IFS
6087
6088 fi
6089 fi
6090 ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
6091 if test -n "$ac_ct_RANLIB"; then
6092   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_RANLIB" >&5
6093 $as_echo "$ac_ct_RANLIB" >&6; }
6094 else
6095   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6096 $as_echo "no" >&6; }
6097 fi
6098
6099   if test "x$ac_ct_RANLIB" = x; then
6100     RANLIB=":"
6101   else
6102     case $cross_compiling:$ac_tool_warned in
6103 yes:)
6104 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6105 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6106 ac_tool_warned=yes ;;
6107 esac
6108     RANLIB=$ac_ct_RANLIB
6109   fi
6110 else
6111   RANLIB="$ac_cv_prog_RANLIB"
6112 fi
6113
6114 test -z "$RANLIB" && RANLIB=:
6115
6116
6117
6118
6119
6120
6121 # Determine commands to create old-style static archives.
6122 old_archive_cmds='$AR $AR_FLAGS $oldlib$oldobjs'
6123 old_postinstall_cmds='chmod 644 $oldlib'
6124 old_postuninstall_cmds=
6125
6126 if test -n "$RANLIB"; then
6127   case $host_os in
6128   openbsd*)
6129     old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB -t \$tool_oldlib"
6130     ;;
6131   *)
6132     old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB \$tool_oldlib"
6133     ;;
6134   esac
6135   old_archive_cmds="$old_archive_cmds~\$RANLIB \$tool_oldlib"
6136 fi
6137
6138 case $host_os in
6139   darwin*)
6140     lock_old_archive_extraction=yes ;;
6141   *)
6142     lock_old_archive_extraction=no ;;
6143 esac
6144
6145
6146
6147
6148
6149
6150
6151
6152
6153
6154
6155
6156
6157
6158
6159
6160
6161
6162
6163
6164
6165
6166
6167
6168
6169
6170
6171
6172
6173
6174
6175
6176
6177
6178
6179
6180
6181
6182
6183 # If no C compiler was specified, use CC.
6184 LTCC=${LTCC-"$CC"}
6185
6186 # If no C compiler flags were specified, use CFLAGS.
6187 LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
6188
6189 # Allow CC to be a program name with arguments.
6190 compiler=$CC
6191
6192
6193 # Check for command to grab the raw symbol name followed by C symbol from nm.
6194 { $as_echo "$as_me:${as_lineno-$LINENO}: checking command to parse $NM output from $compiler object" >&5
6195 $as_echo_n "checking command to parse $NM output from $compiler object... " >&6; }
6196 if ${lt_cv_sys_global_symbol_pipe+:} false; then :
6197   $as_echo_n "(cached) " >&6
6198 else
6199
6200 # These are sane defaults that work on at least a few old systems.
6201 # [They come from Ultrix.  What could be older than Ultrix?!! ;)]
6202
6203 # Character class describing NM global symbol codes.
6204 symcode='[BCDEGRST]'
6205
6206 # Regexp to match symbols that can be accessed directly from C.
6207 sympat='\([_A-Za-z][_A-Za-z0-9]*\)'
6208
6209 # Define system-specific variables.
6210 case $host_os in
6211 aix*)
6212   symcode='[BCDT]'
6213   ;;
6214 cygwin* | mingw* | pw32* | cegcc*)
6215   symcode='[ABCDGISTW]'
6216   ;;
6217 hpux*)
6218   if test "$host_cpu" = ia64; then
6219     symcode='[ABCDEGRST]'
6220   fi
6221   ;;
6222 irix* | nonstopux*)
6223   symcode='[BCDEGRST]'
6224   ;;
6225 osf*)
6226   symcode='[BCDEGQRST]'
6227   ;;
6228 solaris*)
6229   symcode='[BDRT]'
6230   ;;
6231 sco3.2v5*)
6232   symcode='[DT]'
6233   ;;
6234 sysv4.2uw2*)
6235   symcode='[DT]'
6236   ;;
6237 sysv5* | sco5v6* | unixware* | OpenUNIX*)
6238   symcode='[ABDT]'
6239   ;;
6240 sysv4)
6241   symcode='[DFNSTU]'
6242   ;;
6243 esac
6244
6245 # If we're using GNU nm, then use its standard symbol codes.
6246 case `$NM -V 2>&1` in
6247 *GNU* | *'with BFD'*)
6248   symcode='[ABCDGIRSTW]' ;;
6249 esac
6250
6251 # Transform an extracted symbol line into a proper C declaration.
6252 # Some systems (esp. on ia64) link data and code symbols differently,
6253 # so use this general approach.
6254 lt_cv_sys_global_symbol_to_cdecl="sed -n -e 's/^T .* \(.*\)$/extern int \1();/p' -e 's/^$symcode* .* \(.*\)$/extern char \1;/p'"
6255
6256 # Transform an extracted symbol line into symbol name and symbol address
6257 lt_cv_sys_global_symbol_to_c_name_address="sed -n -e 's/^: \([^ ]*\)[ ]*$/  {\\\"\1\\\", (void *) 0},/p' -e 's/^$symcode* \([^ ]*\) \([^ ]*\)$/  {\"\2\", (void *) \&\2},/p'"
6258 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'"
6259
6260 # Handle CRLF in mingw tool chain
6261 opt_cr=
6262 case $build_os in
6263 mingw*)
6264   opt_cr=`$ECHO 'x\{0,1\}' | tr x '\015'` # option cr in regexp
6265   ;;
6266 esac
6267
6268 # Try without a prefix underscore, then with it.
6269 for ac_symprfx in "" "_"; do
6270
6271   # Transform symcode, sympat, and symprfx into a raw symbol and a C symbol.
6272   symxfrm="\\1 $ac_symprfx\\2 \\2"
6273
6274   # Write the raw and C identifiers.
6275   if test "$lt_cv_nm_interface" = "MS dumpbin"; then
6276     # Fake it for dumpbin and say T for any non-static function
6277     # and D for any global variable.
6278     # Also find C++ and __fastcall symbols from MSVC++,
6279     # which start with @ or ?.
6280     lt_cv_sys_global_symbol_pipe="$AWK '"\
6281 "     {last_section=section; section=\$ 3};"\
6282 "     /^COFF SYMBOL TABLE/{for(i in hide) delete hide[i]};"\
6283 "     /Section length .*#relocs.*(pick any)/{hide[last_section]=1};"\
6284 "     \$ 0!~/External *\|/{next};"\
6285 "     / 0+ UNDEF /{next}; / UNDEF \([^|]\)*()/{next};"\
6286 "     {if(hide[section]) next};"\
6287 "     {f=0}; \$ 0~/\(\).*\|/{f=1}; {printf f ? \"T \" : \"D \"};"\
6288 "     {split(\$ 0, a, /\||\r/); split(a[2], s)};"\
6289 "     s[1]~/^[@?]/{print s[1], s[1]; next};"\
6290 "     s[1]~prfx {split(s[1],t,\"@\"); print t[1], substr(t[1],length(prfx))}"\
6291 "     ' prfx=^$ac_symprfx"
6292   else
6293     lt_cv_sys_global_symbol_pipe="sed -n -e 's/^.*[      ]\($symcode$symcode*\)[         ][      ]*$ac_symprfx$sympat$opt_cr$/$symxfrm/p'"
6294   fi
6295   lt_cv_sys_global_symbol_pipe="$lt_cv_sys_global_symbol_pipe | sed '/ __gnu_lto/d'"
6296
6297   # Check to see that the pipe works correctly.
6298   pipe_works=no
6299
6300   rm -f conftest*
6301   cat > conftest.$ac_ext <<_LT_EOF
6302 #ifdef __cplusplus
6303 extern "C" {
6304 #endif
6305 char nm_test_var;
6306 void nm_test_func(void);
6307 void nm_test_func(void){}
6308 #ifdef __cplusplus
6309 }
6310 #endif
6311 int main(){nm_test_var='a';nm_test_func();return(0);}
6312 _LT_EOF
6313
6314   if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
6315   (eval $ac_compile) 2>&5
6316   ac_status=$?
6317   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6318   test $ac_status = 0; }; then
6319     # Now try to grab the symbols.
6320     nlist=conftest.nm
6321     if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$NM conftest.$ac_objext \| "$lt_cv_sys_global_symbol_pipe" \> $nlist\""; } >&5
6322   (eval $NM conftest.$ac_objext \| "$lt_cv_sys_global_symbol_pipe" \> $nlist) 2>&5
6323   ac_status=$?
6324   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6325   test $ac_status = 0; } && test -s "$nlist"; then
6326       # Try sorting and uniquifying the output.
6327       if sort "$nlist" | uniq > "$nlist"T; then
6328         mv -f "$nlist"T "$nlist"
6329       else
6330         rm -f "$nlist"T
6331       fi
6332
6333       # Make sure that we snagged all the symbols we need.
6334       if $GREP ' nm_test_var$' "$nlist" >/dev/null; then
6335         if $GREP ' nm_test_func$' "$nlist" >/dev/null; then
6336           cat <<_LT_EOF > conftest.$ac_ext
6337 /* Keep this code in sync between libtool.m4, ltmain, lt_system.h, and tests.  */
6338 #if defined(_WIN32) || defined(__CYGWIN__) || defined(_WIN32_WCE)
6339 /* DATA imports from DLLs on WIN32 con't be const, because runtime
6340    relocations are performed -- see ld's documentation on pseudo-relocs.  */
6341 # define LT_DLSYM_CONST
6342 #elif defined(__osf__)
6343 /* This system does not cope well with relocations in const data.  */
6344 # define LT_DLSYM_CONST
6345 #else
6346 # define LT_DLSYM_CONST const
6347 #endif
6348
6349 #ifdef __cplusplus
6350 extern "C" {
6351 #endif
6352
6353 _LT_EOF
6354           # Now generate the symbol file.
6355           eval "$lt_cv_sys_global_symbol_to_cdecl"' < "$nlist" | $GREP -v main >> conftest.$ac_ext'
6356
6357           cat <<_LT_EOF >> conftest.$ac_ext
6358
6359 /* The mapping between symbol names and symbols.  */
6360 LT_DLSYM_CONST struct {
6361   const char *name;
6362   void       *address;
6363 }
6364 lt__PROGRAM__LTX_preloaded_symbols[] =
6365 {
6366   { "@PROGRAM@", (void *) 0 },
6367 _LT_EOF
6368           $SED "s/^$symcode$symcode* \(.*\) \(.*\)$/  {\"\2\", (void *) \&\2},/" < "$nlist" | $GREP -v main >> conftest.$ac_ext
6369           cat <<\_LT_EOF >> conftest.$ac_ext
6370   {0, (void *) 0}
6371 };
6372
6373 /* This works around a problem in FreeBSD linker */
6374 #ifdef FREEBSD_WORKAROUND
6375 static const void *lt_preloaded_setup() {
6376   return lt__PROGRAM__LTX_preloaded_symbols;
6377 }
6378 #endif
6379
6380 #ifdef __cplusplus
6381 }
6382 #endif
6383 _LT_EOF
6384           # Now try linking the two files.
6385           mv conftest.$ac_objext conftstm.$ac_objext
6386           lt_globsym_save_LIBS=$LIBS
6387           lt_globsym_save_CFLAGS=$CFLAGS
6388           LIBS="conftstm.$ac_objext"
6389           CFLAGS="$CFLAGS$lt_prog_compiler_no_builtin_flag"
6390           if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
6391   (eval $ac_link) 2>&5
6392   ac_status=$?
6393   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6394   test $ac_status = 0; } && test -s conftest${ac_exeext}; then
6395             pipe_works=yes
6396           fi
6397           LIBS=$lt_globsym_save_LIBS
6398           CFLAGS=$lt_globsym_save_CFLAGS
6399         else
6400           echo "cannot find nm_test_func in $nlist" >&5
6401         fi
6402       else
6403         echo "cannot find nm_test_var in $nlist" >&5
6404       fi
6405     else
6406       echo "cannot run $lt_cv_sys_global_symbol_pipe" >&5
6407     fi
6408   else
6409     echo "$progname: failed program was:" >&5
6410     cat conftest.$ac_ext >&5
6411   fi
6412   rm -rf conftest* conftst*
6413
6414   # Do not use the global_symbol_pipe unless it works.
6415   if test "$pipe_works" = yes; then
6416     break
6417   else
6418     lt_cv_sys_global_symbol_pipe=
6419   fi
6420 done
6421
6422 fi
6423
6424 if test -z "$lt_cv_sys_global_symbol_pipe"; then
6425   lt_cv_sys_global_symbol_to_cdecl=
6426 fi
6427 if test -z "$lt_cv_sys_global_symbol_pipe$lt_cv_sys_global_symbol_to_cdecl"; then
6428   { $as_echo "$as_me:${as_lineno-$LINENO}: result: failed" >&5
6429 $as_echo "failed" >&6; }
6430 else
6431   { $as_echo "$as_me:${as_lineno-$LINENO}: result: ok" >&5
6432 $as_echo "ok" >&6; }
6433 fi
6434
6435 # Response file support.
6436 if test "$lt_cv_nm_interface" = "MS dumpbin"; then
6437   nm_file_list_spec='@'
6438 elif $NM --help 2>/dev/null | grep '[@]FILE' >/dev/null; then
6439   nm_file_list_spec='@'
6440 fi
6441
6442
6443
6444
6445
6446
6447
6448
6449
6450
6451
6452
6453
6454
6455
6456
6457
6458
6459
6460
6461
6462
6463
6464
6465
6466
6467
6468 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sysroot" >&5
6469 $as_echo_n "checking for sysroot... " >&6; }
6470
6471 # Check whether --with-sysroot was given.
6472 if test "${with_sysroot+set}" = set; then :
6473   withval=$with_sysroot;
6474 else
6475   with_sysroot=no
6476 fi
6477
6478
6479 lt_sysroot=
6480 case ${with_sysroot} in #(
6481  yes)
6482    if test "$GCC" = yes; then
6483      lt_sysroot=`$CC --print-sysroot 2>/dev/null`
6484    fi
6485    ;; #(
6486  /*)
6487    lt_sysroot=`echo "$with_sysroot" | sed -e "$sed_quote_subst"`
6488    ;; #(
6489  no|'')
6490    ;; #(
6491  *)
6492    { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${with_sysroot}" >&5
6493 $as_echo "${with_sysroot}" >&6; }
6494    as_fn_error $? "The sysroot must be an absolute path." "$LINENO" 5
6495    ;;
6496 esac
6497
6498  { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${lt_sysroot:-no}" >&5
6499 $as_echo "${lt_sysroot:-no}" >&6; }
6500
6501
6502
6503
6504
6505 # Check whether --enable-libtool-lock was given.
6506 if test "${enable_libtool_lock+set}" = set; then :
6507   enableval=$enable_libtool_lock;
6508 fi
6509
6510 test "x$enable_libtool_lock" != xno && enable_libtool_lock=yes
6511
6512 # Some flags need to be propagated to the compiler or linker for good
6513 # libtool support.
6514 case $host in
6515 ia64-*-hpux*)
6516   # Find out which ABI we are using.
6517   echo 'int i;' > conftest.$ac_ext
6518   if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
6519   (eval $ac_compile) 2>&5
6520   ac_status=$?
6521   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6522   test $ac_status = 0; }; then
6523     case `/usr/bin/file conftest.$ac_objext` in
6524       *ELF-32*)
6525         HPUX_IA64_MODE="32"
6526         ;;
6527       *ELF-64*)
6528         HPUX_IA64_MODE="64"
6529         ;;
6530     esac
6531   fi
6532   rm -rf conftest*
6533   ;;
6534 *-*-irix6*)
6535   # Find out which ABI we are using.
6536   echo '#line '$LINENO' "configure"' > conftest.$ac_ext
6537   if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
6538   (eval $ac_compile) 2>&5
6539   ac_status=$?
6540   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6541   test $ac_status = 0; }; then
6542     if test "$lt_cv_prog_gnu_ld" = yes; then
6543       case `/usr/bin/file conftest.$ac_objext` in
6544         *32-bit*)
6545           LD="${LD-ld} -melf32bsmip"
6546           ;;
6547         *N32*)
6548           LD="${LD-ld} -melf32bmipn32"
6549           ;;
6550         *64-bit*)
6551           LD="${LD-ld} -melf64bmip"
6552         ;;
6553       esac
6554     else
6555       case `/usr/bin/file conftest.$ac_objext` in
6556         *32-bit*)
6557           LD="${LD-ld} -32"
6558           ;;
6559         *N32*)
6560           LD="${LD-ld} -n32"
6561           ;;
6562         *64-bit*)
6563           LD="${LD-ld} -64"
6564           ;;
6565       esac
6566     fi
6567   fi
6568   rm -rf conftest*
6569   ;;
6570
6571 x86_64-*kfreebsd*-gnu|x86_64-*linux*|ppc*-*linux*|powerpc*-*linux*| \
6572 s390*-*linux*|s390*-*tpf*|sparc*-*linux*)
6573   # Find out which ABI we are using.
6574   echo 'int i;' > conftest.$ac_ext
6575   if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
6576   (eval $ac_compile) 2>&5
6577   ac_status=$?
6578   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6579   test $ac_status = 0; }; then
6580     case `/usr/bin/file conftest.o` in
6581       *32-bit*)
6582         case $host in
6583           x86_64-*kfreebsd*-gnu)
6584             LD="${LD-ld} -m elf_i386_fbsd"
6585             ;;
6586           x86_64-*linux*)
6587             LD="${LD-ld} -m elf_i386"
6588             ;;
6589           ppc64-*linux*|powerpc64-*linux*)
6590             LD="${LD-ld} -m elf32ppclinux"
6591             ;;
6592           s390x-*linux*)
6593             LD="${LD-ld} -m elf_s390"
6594             ;;
6595           sparc64-*linux*)
6596             LD="${LD-ld} -m elf32_sparc"
6597             ;;
6598         esac
6599         ;;
6600       *64-bit*)
6601         case $host in
6602           x86_64-*kfreebsd*-gnu)
6603             LD="${LD-ld} -m elf_x86_64_fbsd"
6604             ;;
6605           x86_64-*linux*)
6606             LD="${LD-ld} -m elf_x86_64"
6607             ;;
6608           ppc*-*linux*|powerpc*-*linux*)
6609             LD="${LD-ld} -m elf64ppc"
6610             ;;
6611           s390*-*linux*|s390*-*tpf*)
6612             LD="${LD-ld} -m elf64_s390"
6613             ;;
6614           sparc*-*linux*)
6615             LD="${LD-ld} -m elf64_sparc"
6616             ;;
6617         esac
6618         ;;
6619     esac
6620   fi
6621   rm -rf conftest*
6622   ;;
6623
6624 *-*-sco3.2v5*)
6625   # On SCO OpenServer 5, we need -belf to get full-featured binaries.
6626   SAVE_CFLAGS="$CFLAGS"
6627   CFLAGS="$CFLAGS -belf"
6628   { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler needs -belf" >&5
6629 $as_echo_n "checking whether the C compiler needs -belf... " >&6; }
6630 if ${lt_cv_cc_needs_belf+:} false; then :
6631   $as_echo_n "(cached) " >&6
6632 else
6633   ac_ext=c
6634 ac_cpp='$CPP $CPPFLAGS'
6635 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
6636 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
6637 ac_compiler_gnu=$ac_cv_c_compiler_gnu
6638
6639      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6640 /* end confdefs.h.  */
6641
6642 int
6643 main ()
6644 {
6645
6646   ;
6647   return 0;
6648 }
6649 _ACEOF
6650 if ac_fn_c_try_link "$LINENO"; then :
6651   lt_cv_cc_needs_belf=yes
6652 else
6653   lt_cv_cc_needs_belf=no
6654 fi
6655 rm -f core conftest.err conftest.$ac_objext \
6656     conftest$ac_exeext conftest.$ac_ext
6657      ac_ext=c
6658 ac_cpp='$CPP $CPPFLAGS'
6659 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
6660 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
6661 ac_compiler_gnu=$ac_cv_c_compiler_gnu
6662
6663 fi
6664 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_cc_needs_belf" >&5
6665 $as_echo "$lt_cv_cc_needs_belf" >&6; }
6666   if test x"$lt_cv_cc_needs_belf" != x"yes"; then
6667     # this is probably gcc 2.8.0, egcs 1.0 or newer; no need for -belf
6668     CFLAGS="$SAVE_CFLAGS"
6669   fi
6670   ;;
6671 *-*solaris*)
6672   # Find out which ABI we are using.
6673   echo 'int i;' > conftest.$ac_ext
6674   if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
6675   (eval $ac_compile) 2>&5
6676   ac_status=$?
6677   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6678   test $ac_status = 0; }; then
6679     case `/usr/bin/file conftest.o` in
6680     *64-bit*)
6681       case $lt_cv_prog_gnu_ld in
6682       yes*)
6683         case $host in
6684         i?86-*-solaris*)
6685           LD="${LD-ld} -m elf_x86_64"
6686           ;;
6687         sparc*-*-solaris*)
6688           LD="${LD-ld} -m elf64_sparc"
6689           ;;
6690         esac
6691         # GNU ld 2.21 introduced _sol2 emulations.  Use them if available.
6692         if ${LD-ld} -V | grep _sol2 >/dev/null 2>&1; then
6693           LD="${LD-ld}_sol2"
6694         fi
6695         ;;
6696       *)
6697         if ${LD-ld} -64 -r -o conftest2.o conftest.o >/dev/null 2>&1; then
6698           LD="${LD-ld} -64"
6699         fi
6700         ;;
6701       esac
6702       ;;
6703     esac
6704   fi
6705   rm -rf conftest*
6706   ;;
6707 esac
6708
6709 need_locks="$enable_libtool_lock"
6710
6711 if test -n "$ac_tool_prefix"; then
6712   # Extract the first word of "${ac_tool_prefix}mt", so it can be a program name with args.
6713 set dummy ${ac_tool_prefix}mt; ac_word=$2
6714 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6715 $as_echo_n "checking for $ac_word... " >&6; }
6716 if ${ac_cv_prog_MANIFEST_TOOL+:} false; then :
6717   $as_echo_n "(cached) " >&6
6718 else
6719   if test -n "$MANIFEST_TOOL"; then
6720   ac_cv_prog_MANIFEST_TOOL="$MANIFEST_TOOL" # Let the user override the test.
6721 else
6722 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6723 for as_dir in $PATH
6724 do
6725   IFS=$as_save_IFS
6726   test -z "$as_dir" && as_dir=.
6727     for ac_exec_ext in '' $ac_executable_extensions; do
6728   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6729     ac_cv_prog_MANIFEST_TOOL="${ac_tool_prefix}mt"
6730     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6731     break 2
6732   fi
6733 done
6734   done
6735 IFS=$as_save_IFS
6736
6737 fi
6738 fi
6739 MANIFEST_TOOL=$ac_cv_prog_MANIFEST_TOOL
6740 if test -n "$MANIFEST_TOOL"; then
6741   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MANIFEST_TOOL" >&5
6742 $as_echo "$MANIFEST_TOOL" >&6; }
6743 else
6744   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6745 $as_echo "no" >&6; }
6746 fi
6747
6748
6749 fi
6750 if test -z "$ac_cv_prog_MANIFEST_TOOL"; then
6751   ac_ct_MANIFEST_TOOL=$MANIFEST_TOOL
6752   # Extract the first word of "mt", so it can be a program name with args.
6753 set dummy mt; ac_word=$2
6754 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6755 $as_echo_n "checking for $ac_word... " >&6; }
6756 if ${ac_cv_prog_ac_ct_MANIFEST_TOOL+:} false; then :
6757   $as_echo_n "(cached) " >&6
6758 else
6759   if test -n "$ac_ct_MANIFEST_TOOL"; then
6760   ac_cv_prog_ac_ct_MANIFEST_TOOL="$ac_ct_MANIFEST_TOOL" # Let the user override the test.
6761 else
6762 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6763 for as_dir in $PATH
6764 do
6765   IFS=$as_save_IFS
6766   test -z "$as_dir" && as_dir=.
6767     for ac_exec_ext in '' $ac_executable_extensions; do
6768   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6769     ac_cv_prog_ac_ct_MANIFEST_TOOL="mt"
6770     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6771     break 2
6772   fi
6773 done
6774   done
6775 IFS=$as_save_IFS
6776
6777 fi
6778 fi
6779 ac_ct_MANIFEST_TOOL=$ac_cv_prog_ac_ct_MANIFEST_TOOL
6780 if test -n "$ac_ct_MANIFEST_TOOL"; then
6781   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_MANIFEST_TOOL" >&5
6782 $as_echo "$ac_ct_MANIFEST_TOOL" >&6; }
6783 else
6784   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6785 $as_echo "no" >&6; }
6786 fi
6787
6788   if test "x$ac_ct_MANIFEST_TOOL" = x; then
6789     MANIFEST_TOOL=":"
6790   else
6791     case $cross_compiling:$ac_tool_warned in
6792 yes:)
6793 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6794 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6795 ac_tool_warned=yes ;;
6796 esac
6797     MANIFEST_TOOL=$ac_ct_MANIFEST_TOOL
6798   fi
6799 else
6800   MANIFEST_TOOL="$ac_cv_prog_MANIFEST_TOOL"
6801 fi
6802
6803 test -z "$MANIFEST_TOOL" && MANIFEST_TOOL=mt
6804 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $MANIFEST_TOOL is a manifest tool" >&5
6805 $as_echo_n "checking if $MANIFEST_TOOL is a manifest tool... " >&6; }
6806 if ${lt_cv_path_mainfest_tool+:} false; then :
6807   $as_echo_n "(cached) " >&6
6808 else
6809   lt_cv_path_mainfest_tool=no
6810   echo "$as_me:$LINENO: $MANIFEST_TOOL '-?'" >&5
6811   $MANIFEST_TOOL '-?' 2>conftest.err > conftest.out
6812   cat conftest.err >&5
6813   if $GREP 'Manifest Tool' conftest.out > /dev/null; then
6814     lt_cv_path_mainfest_tool=yes
6815   fi
6816   rm -f conftest*
6817 fi
6818 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_path_mainfest_tool" >&5
6819 $as_echo "$lt_cv_path_mainfest_tool" >&6; }
6820 if test "x$lt_cv_path_mainfest_tool" != xyes; then
6821   MANIFEST_TOOL=:
6822 fi
6823
6824
6825
6826
6827
6828
6829   case $host_os in
6830     rhapsody* | darwin*)
6831     if test -n "$ac_tool_prefix"; then
6832   # Extract the first word of "${ac_tool_prefix}dsymutil", so it can be a program name with args.
6833 set dummy ${ac_tool_prefix}dsymutil; ac_word=$2
6834 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6835 $as_echo_n "checking for $ac_word... " >&6; }
6836 if ${ac_cv_prog_DSYMUTIL+:} false; then :
6837   $as_echo_n "(cached) " >&6
6838 else
6839   if test -n "$DSYMUTIL"; then
6840   ac_cv_prog_DSYMUTIL="$DSYMUTIL" # Let the user override the test.
6841 else
6842 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6843 for as_dir in $PATH
6844 do
6845   IFS=$as_save_IFS
6846   test -z "$as_dir" && as_dir=.
6847     for ac_exec_ext in '' $ac_executable_extensions; do
6848   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6849     ac_cv_prog_DSYMUTIL="${ac_tool_prefix}dsymutil"
6850     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6851     break 2
6852   fi
6853 done
6854   done
6855 IFS=$as_save_IFS
6856
6857 fi
6858 fi
6859 DSYMUTIL=$ac_cv_prog_DSYMUTIL
6860 if test -n "$DSYMUTIL"; then
6861   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DSYMUTIL" >&5
6862 $as_echo "$DSYMUTIL" >&6; }
6863 else
6864   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6865 $as_echo "no" >&6; }
6866 fi
6867
6868
6869 fi
6870 if test -z "$ac_cv_prog_DSYMUTIL"; then
6871   ac_ct_DSYMUTIL=$DSYMUTIL
6872   # Extract the first word of "dsymutil", so it can be a program name with args.
6873 set dummy dsymutil; ac_word=$2
6874 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6875 $as_echo_n "checking for $ac_word... " >&6; }
6876 if ${ac_cv_prog_ac_ct_DSYMUTIL+:} false; then :
6877   $as_echo_n "(cached) " >&6
6878 else
6879   if test -n "$ac_ct_DSYMUTIL"; then
6880   ac_cv_prog_ac_ct_DSYMUTIL="$ac_ct_DSYMUTIL" # Let the user override the test.
6881 else
6882 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6883 for as_dir in $PATH
6884 do
6885   IFS=$as_save_IFS
6886   test -z "$as_dir" && as_dir=.
6887     for ac_exec_ext in '' $ac_executable_extensions; do
6888   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6889     ac_cv_prog_ac_ct_DSYMUTIL="dsymutil"
6890     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6891     break 2
6892   fi
6893 done
6894   done
6895 IFS=$as_save_IFS
6896
6897 fi
6898 fi
6899 ac_ct_DSYMUTIL=$ac_cv_prog_ac_ct_DSYMUTIL
6900 if test -n "$ac_ct_DSYMUTIL"; then
6901   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DSYMUTIL" >&5
6902 $as_echo "$ac_ct_DSYMUTIL" >&6; }
6903 else
6904   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6905 $as_echo "no" >&6; }
6906 fi
6907
6908   if test "x$ac_ct_DSYMUTIL" = x; then
6909     DSYMUTIL=":"
6910   else
6911     case $cross_compiling:$ac_tool_warned in
6912 yes:)
6913 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6914 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6915 ac_tool_warned=yes ;;
6916 esac
6917     DSYMUTIL=$ac_ct_DSYMUTIL
6918   fi
6919 else
6920   DSYMUTIL="$ac_cv_prog_DSYMUTIL"
6921 fi
6922
6923     if test -n "$ac_tool_prefix"; then
6924   # Extract the first word of "${ac_tool_prefix}nmedit", so it can be a program name with args.
6925 set dummy ${ac_tool_prefix}nmedit; ac_word=$2
6926 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6927 $as_echo_n "checking for $ac_word... " >&6; }
6928 if ${ac_cv_prog_NMEDIT+:} false; then :
6929   $as_echo_n "(cached) " >&6
6930 else
6931   if test -n "$NMEDIT"; then
6932   ac_cv_prog_NMEDIT="$NMEDIT" # Let the user override the test.
6933 else
6934 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6935 for as_dir in $PATH
6936 do
6937   IFS=$as_save_IFS
6938   test -z "$as_dir" && as_dir=.
6939     for ac_exec_ext in '' $ac_executable_extensions; do
6940   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6941     ac_cv_prog_NMEDIT="${ac_tool_prefix}nmedit"
6942     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6943     break 2
6944   fi
6945 done
6946   done
6947 IFS=$as_save_IFS
6948
6949 fi
6950 fi
6951 NMEDIT=$ac_cv_prog_NMEDIT
6952 if test -n "$NMEDIT"; then
6953   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $NMEDIT" >&5
6954 $as_echo "$NMEDIT" >&6; }
6955 else
6956   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6957 $as_echo "no" >&6; }
6958 fi
6959
6960
6961 fi
6962 if test -z "$ac_cv_prog_NMEDIT"; then
6963   ac_ct_NMEDIT=$NMEDIT
6964   # Extract the first word of "nmedit", so it can be a program name with args.
6965 set dummy nmedit; ac_word=$2
6966 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6967 $as_echo_n "checking for $ac_word... " >&6; }
6968 if ${ac_cv_prog_ac_ct_NMEDIT+:} false; then :
6969   $as_echo_n "(cached) " >&6
6970 else
6971   if test -n "$ac_ct_NMEDIT"; then
6972   ac_cv_prog_ac_ct_NMEDIT="$ac_ct_NMEDIT" # Let the user override the test.
6973 else
6974 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6975 for as_dir in $PATH
6976 do
6977   IFS=$as_save_IFS
6978   test -z "$as_dir" && as_dir=.
6979     for ac_exec_ext in '' $ac_executable_extensions; do
6980   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6981     ac_cv_prog_ac_ct_NMEDIT="nmedit"
6982     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6983     break 2
6984   fi
6985 done
6986   done
6987 IFS=$as_save_IFS
6988
6989 fi
6990 fi
6991 ac_ct_NMEDIT=$ac_cv_prog_ac_ct_NMEDIT
6992 if test -n "$ac_ct_NMEDIT"; then
6993   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_NMEDIT" >&5
6994 $as_echo "$ac_ct_NMEDIT" >&6; }
6995 else
6996   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6997 $as_echo "no" >&6; }
6998 fi
6999
7000   if test "x$ac_ct_NMEDIT" = x; then
7001     NMEDIT=":"
7002   else
7003     case $cross_compiling:$ac_tool_warned in
7004 yes:)
7005 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7006 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7007 ac_tool_warned=yes ;;
7008 esac
7009     NMEDIT=$ac_ct_NMEDIT
7010   fi
7011 else
7012   NMEDIT="$ac_cv_prog_NMEDIT"
7013 fi
7014
7015     if test -n "$ac_tool_prefix"; then
7016   # Extract the first word of "${ac_tool_prefix}lipo", so it can be a program name with args.
7017 set dummy ${ac_tool_prefix}lipo; ac_word=$2
7018 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7019 $as_echo_n "checking for $ac_word... " >&6; }
7020 if ${ac_cv_prog_LIPO+:} false; then :
7021   $as_echo_n "(cached) " >&6
7022 else
7023   if test -n "$LIPO"; then
7024   ac_cv_prog_LIPO="$LIPO" # Let the user override the test.
7025 else
7026 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7027 for as_dir in $PATH
7028 do
7029   IFS=$as_save_IFS
7030   test -z "$as_dir" && as_dir=.
7031     for ac_exec_ext in '' $ac_executable_extensions; do
7032   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7033     ac_cv_prog_LIPO="${ac_tool_prefix}lipo"
7034     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7035     break 2
7036   fi
7037 done
7038   done
7039 IFS=$as_save_IFS
7040
7041 fi
7042 fi
7043 LIPO=$ac_cv_prog_LIPO
7044 if test -n "$LIPO"; then
7045   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LIPO" >&5
7046 $as_echo "$LIPO" >&6; }
7047 else
7048   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7049 $as_echo "no" >&6; }
7050 fi
7051
7052
7053 fi
7054 if test -z "$ac_cv_prog_LIPO"; then
7055   ac_ct_LIPO=$LIPO
7056   # Extract the first word of "lipo", so it can be a program name with args.
7057 set dummy lipo; ac_word=$2
7058 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7059 $as_echo_n "checking for $ac_word... " >&6; }
7060 if ${ac_cv_prog_ac_ct_LIPO+:} false; then :
7061   $as_echo_n "(cached) " >&6
7062 else
7063   if test -n "$ac_ct_LIPO"; then
7064   ac_cv_prog_ac_ct_LIPO="$ac_ct_LIPO" # Let the user override the test.
7065 else
7066 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7067 for as_dir in $PATH
7068 do
7069   IFS=$as_save_IFS
7070   test -z "$as_dir" && as_dir=.
7071     for ac_exec_ext in '' $ac_executable_extensions; do
7072   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7073     ac_cv_prog_ac_ct_LIPO="lipo"
7074     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7075     break 2
7076   fi
7077 done
7078   done
7079 IFS=$as_save_IFS
7080
7081 fi
7082 fi
7083 ac_ct_LIPO=$ac_cv_prog_ac_ct_LIPO
7084 if test -n "$ac_ct_LIPO"; then
7085   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_LIPO" >&5
7086 $as_echo "$ac_ct_LIPO" >&6; }
7087 else
7088   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7089 $as_echo "no" >&6; }
7090 fi
7091
7092   if test "x$ac_ct_LIPO" = x; then
7093     LIPO=":"
7094   else
7095     case $cross_compiling:$ac_tool_warned in
7096 yes:)
7097 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7098 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7099 ac_tool_warned=yes ;;
7100 esac
7101     LIPO=$ac_ct_LIPO
7102   fi
7103 else
7104   LIPO="$ac_cv_prog_LIPO"
7105 fi
7106
7107     if test -n "$ac_tool_prefix"; then
7108   # Extract the first word of "${ac_tool_prefix}otool", so it can be a program name with args.
7109 set dummy ${ac_tool_prefix}otool; ac_word=$2
7110 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7111 $as_echo_n "checking for $ac_word... " >&6; }
7112 if ${ac_cv_prog_OTOOL+:} false; then :
7113   $as_echo_n "(cached) " >&6
7114 else
7115   if test -n "$OTOOL"; then
7116   ac_cv_prog_OTOOL="$OTOOL" # Let the user override the test.
7117 else
7118 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7119 for as_dir in $PATH
7120 do
7121   IFS=$as_save_IFS
7122   test -z "$as_dir" && as_dir=.
7123     for ac_exec_ext in '' $ac_executable_extensions; do
7124   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7125     ac_cv_prog_OTOOL="${ac_tool_prefix}otool"
7126     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7127     break 2
7128   fi
7129 done
7130   done
7131 IFS=$as_save_IFS
7132
7133 fi
7134 fi
7135 OTOOL=$ac_cv_prog_OTOOL
7136 if test -n "$OTOOL"; then
7137   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OTOOL" >&5
7138 $as_echo "$OTOOL" >&6; }
7139 else
7140   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7141 $as_echo "no" >&6; }
7142 fi
7143
7144
7145 fi
7146 if test -z "$ac_cv_prog_OTOOL"; then
7147   ac_ct_OTOOL=$OTOOL
7148   # Extract the first word of "otool", so it can be a program name with args.
7149 set dummy otool; ac_word=$2
7150 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7151 $as_echo_n "checking for $ac_word... " >&6; }
7152 if ${ac_cv_prog_ac_ct_OTOOL+:} false; then :
7153   $as_echo_n "(cached) " >&6
7154 else
7155   if test -n "$ac_ct_OTOOL"; then
7156   ac_cv_prog_ac_ct_OTOOL="$ac_ct_OTOOL" # Let the user override the test.
7157 else
7158 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7159 for as_dir in $PATH
7160 do
7161   IFS=$as_save_IFS
7162   test -z "$as_dir" && as_dir=.
7163     for ac_exec_ext in '' $ac_executable_extensions; do
7164   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7165     ac_cv_prog_ac_ct_OTOOL="otool"
7166     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7167     break 2
7168   fi
7169 done
7170   done
7171 IFS=$as_save_IFS
7172
7173 fi
7174 fi
7175 ac_ct_OTOOL=$ac_cv_prog_ac_ct_OTOOL
7176 if test -n "$ac_ct_OTOOL"; then
7177   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OTOOL" >&5
7178 $as_echo "$ac_ct_OTOOL" >&6; }
7179 else
7180   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7181 $as_echo "no" >&6; }
7182 fi
7183
7184   if test "x$ac_ct_OTOOL" = x; then
7185     OTOOL=":"
7186   else
7187     case $cross_compiling:$ac_tool_warned in
7188 yes:)
7189 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7190 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7191 ac_tool_warned=yes ;;
7192 esac
7193     OTOOL=$ac_ct_OTOOL
7194   fi
7195 else
7196   OTOOL="$ac_cv_prog_OTOOL"
7197 fi
7198
7199     if test -n "$ac_tool_prefix"; then
7200   # Extract the first word of "${ac_tool_prefix}otool64", so it can be a program name with args.
7201 set dummy ${ac_tool_prefix}otool64; ac_word=$2
7202 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7203 $as_echo_n "checking for $ac_word... " >&6; }
7204 if ${ac_cv_prog_OTOOL64+:} false; then :
7205   $as_echo_n "(cached) " >&6
7206 else
7207   if test -n "$OTOOL64"; then
7208   ac_cv_prog_OTOOL64="$OTOOL64" # Let the user override the test.
7209 else
7210 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7211 for as_dir in $PATH
7212 do
7213   IFS=$as_save_IFS
7214   test -z "$as_dir" && as_dir=.
7215     for ac_exec_ext in '' $ac_executable_extensions; do
7216   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7217     ac_cv_prog_OTOOL64="${ac_tool_prefix}otool64"
7218     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7219     break 2
7220   fi
7221 done
7222   done
7223 IFS=$as_save_IFS
7224
7225 fi
7226 fi
7227 OTOOL64=$ac_cv_prog_OTOOL64
7228 if test -n "$OTOOL64"; then
7229   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OTOOL64" >&5
7230 $as_echo "$OTOOL64" >&6; }
7231 else
7232   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7233 $as_echo "no" >&6; }
7234 fi
7235
7236
7237 fi
7238 if test -z "$ac_cv_prog_OTOOL64"; then
7239   ac_ct_OTOOL64=$OTOOL64
7240   # Extract the first word of "otool64", so it can be a program name with args.
7241 set dummy otool64; ac_word=$2
7242 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7243 $as_echo_n "checking for $ac_word... " >&6; }
7244 if ${ac_cv_prog_ac_ct_OTOOL64+:} false; then :
7245   $as_echo_n "(cached) " >&6
7246 else
7247   if test -n "$ac_ct_OTOOL64"; then
7248   ac_cv_prog_ac_ct_OTOOL64="$ac_ct_OTOOL64" # Let the user override the test.
7249 else
7250 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7251 for as_dir in $PATH
7252 do
7253   IFS=$as_save_IFS
7254   test -z "$as_dir" && as_dir=.
7255     for ac_exec_ext in '' $ac_executable_extensions; do
7256   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7257     ac_cv_prog_ac_ct_OTOOL64="otool64"
7258     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7259     break 2
7260   fi
7261 done
7262   done
7263 IFS=$as_save_IFS
7264
7265 fi
7266 fi
7267 ac_ct_OTOOL64=$ac_cv_prog_ac_ct_OTOOL64
7268 if test -n "$ac_ct_OTOOL64"; then
7269   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OTOOL64" >&5
7270 $as_echo "$ac_ct_OTOOL64" >&6; }
7271 else
7272   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7273 $as_echo "no" >&6; }
7274 fi
7275
7276   if test "x$ac_ct_OTOOL64" = x; then
7277     OTOOL64=":"
7278   else
7279     case $cross_compiling:$ac_tool_warned in
7280 yes:)
7281 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7282 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7283 ac_tool_warned=yes ;;
7284 esac
7285     OTOOL64=$ac_ct_OTOOL64
7286   fi
7287 else
7288   OTOOL64="$ac_cv_prog_OTOOL64"
7289 fi
7290
7291
7292
7293
7294
7295
7296
7297
7298
7299
7300
7301
7302
7303
7304
7305
7306
7307
7308
7309
7310
7311
7312
7313
7314
7315
7316
7317     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -single_module linker flag" >&5
7318 $as_echo_n "checking for -single_module linker flag... " >&6; }
7319 if ${lt_cv_apple_cc_single_mod+:} false; then :
7320   $as_echo_n "(cached) " >&6
7321 else
7322   lt_cv_apple_cc_single_mod=no
7323       if test -z "${LT_MULTI_MODULE}"; then
7324         # By default we will add the -single_module flag. You can override
7325         # by either setting the environment variable LT_MULTI_MODULE
7326         # non-empty at configure time, or by adding -multi_module to the
7327         # link flags.
7328         rm -rf libconftest.dylib*
7329         echo "int foo(void){return 1;}" > conftest.c
7330         echo "$LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \
7331 -dynamiclib -Wl,-single_module conftest.c" >&5
7332         $LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \
7333           -dynamiclib -Wl,-single_module conftest.c 2>conftest.err
7334         _lt_result=$?
7335         # If there is a non-empty error log, and "single_module"
7336         # appears in it, assume the flag caused a linker warning
7337         if test -s conftest.err && $GREP single_module conftest.err; then
7338           cat conftest.err >&5
7339         # Otherwise, if the output was created with a 0 exit code from
7340         # the compiler, it worked.
7341         elif test -f libconftest.dylib && test $_lt_result -eq 0; then
7342           lt_cv_apple_cc_single_mod=yes
7343         else
7344           cat conftest.err >&5
7345         fi
7346         rm -rf libconftest.dylib*
7347         rm -f conftest.*
7348       fi
7349 fi
7350 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_apple_cc_single_mod" >&5
7351 $as_echo "$lt_cv_apple_cc_single_mod" >&6; }
7352
7353     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -exported_symbols_list linker flag" >&5
7354 $as_echo_n "checking for -exported_symbols_list linker flag... " >&6; }
7355 if ${lt_cv_ld_exported_symbols_list+:} false; then :
7356   $as_echo_n "(cached) " >&6
7357 else
7358   lt_cv_ld_exported_symbols_list=no
7359       save_LDFLAGS=$LDFLAGS
7360       echo "_main" > conftest.sym
7361       LDFLAGS="$LDFLAGS -Wl,-exported_symbols_list,conftest.sym"
7362       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7363 /* end confdefs.h.  */
7364
7365 int
7366 main ()
7367 {
7368
7369   ;
7370   return 0;
7371 }
7372 _ACEOF
7373 if ac_fn_c_try_link "$LINENO"; then :
7374   lt_cv_ld_exported_symbols_list=yes
7375 else
7376   lt_cv_ld_exported_symbols_list=no
7377 fi
7378 rm -f core conftest.err conftest.$ac_objext \
7379     conftest$ac_exeext conftest.$ac_ext
7380         LDFLAGS="$save_LDFLAGS"
7381
7382 fi
7383 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_exported_symbols_list" >&5
7384 $as_echo "$lt_cv_ld_exported_symbols_list" >&6; }
7385
7386     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -force_load linker flag" >&5
7387 $as_echo_n "checking for -force_load linker flag... " >&6; }
7388 if ${lt_cv_ld_force_load+:} false; then :
7389   $as_echo_n "(cached) " >&6
7390 else
7391   lt_cv_ld_force_load=no
7392       cat > conftest.c << _LT_EOF
7393 int forced_loaded() { return 2;}
7394 _LT_EOF
7395       echo "$LTCC $LTCFLAGS -c -o conftest.o conftest.c" >&5
7396       $LTCC $LTCFLAGS -c -o conftest.o conftest.c 2>&5
7397       echo "$AR cru libconftest.a conftest.o" >&5
7398       $AR cru libconftest.a conftest.o 2>&5
7399       echo "$RANLIB libconftest.a" >&5
7400       $RANLIB libconftest.a 2>&5
7401       cat > conftest.c << _LT_EOF
7402 int main() { return 0;}
7403 _LT_EOF
7404       echo "$LTCC $LTCFLAGS $LDFLAGS -o conftest conftest.c -Wl,-force_load,./libconftest.a" >&5
7405       $LTCC $LTCFLAGS $LDFLAGS -o conftest conftest.c -Wl,-force_load,./libconftest.a 2>conftest.err
7406       _lt_result=$?
7407       if test -s conftest.err && $GREP force_load conftest.err; then
7408         cat conftest.err >&5
7409       elif test -f conftest && test $_lt_result -eq 0 && $GREP forced_load conftest >/dev/null 2>&1 ; then
7410         lt_cv_ld_force_load=yes
7411       else
7412         cat conftest.err >&5
7413       fi
7414         rm -f conftest.err libconftest.a conftest conftest.c
7415         rm -rf conftest.dSYM
7416
7417 fi
7418 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_force_load" >&5
7419 $as_echo "$lt_cv_ld_force_load" >&6; }
7420     case $host_os in
7421     rhapsody* | darwin1.[012])
7422       _lt_dar_allow_undefined='${wl}-undefined ${wl}suppress' ;;
7423     darwin1.*)
7424       _lt_dar_allow_undefined='${wl}-flat_namespace ${wl}-undefined ${wl}suppress' ;;
7425     darwin*) # darwin 5.x on
7426       # if running on 10.5 or later, the deployment target defaults
7427       # to the OS version, if on x86, and 10.4, the deployment
7428       # target defaults to 10.4. Don't you love it?
7429       case ${MACOSX_DEPLOYMENT_TARGET-10.0},$host in
7430         10.0,*86*-darwin8*|10.0,*-darwin[91]*)
7431           _lt_dar_allow_undefined='${wl}-undefined ${wl}dynamic_lookup' ;;
7432         10.[012]*)
7433           _lt_dar_allow_undefined='${wl}-flat_namespace ${wl}-undefined ${wl}suppress' ;;
7434         10.*)
7435           _lt_dar_allow_undefined='${wl}-undefined ${wl}dynamic_lookup' ;;
7436       esac
7437     ;;
7438   esac
7439     if test "$lt_cv_apple_cc_single_mod" = "yes"; then
7440       _lt_dar_single_mod='$single_module'
7441     fi
7442     if test "$lt_cv_ld_exported_symbols_list" = "yes"; then
7443       _lt_dar_export_syms=' ${wl}-exported_symbols_list,$output_objdir/${libname}-symbols.expsym'
7444     else
7445       _lt_dar_export_syms='~$NMEDIT -s $output_objdir/${libname}-symbols.expsym ${lib}'
7446     fi
7447     if test "$DSYMUTIL" != ":" && test "$lt_cv_ld_force_load" = "no"; then
7448       _lt_dsymutil='~$DSYMUTIL $lib || :'
7449     else
7450       _lt_dsymutil=
7451     fi
7452     ;;
7453   esac
7454
7455 ac_ext=c
7456 ac_cpp='$CPP $CPPFLAGS'
7457 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
7458 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
7459 ac_compiler_gnu=$ac_cv_c_compiler_gnu
7460 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C preprocessor" >&5
7461 $as_echo_n "checking how to run the C preprocessor... " >&6; }
7462 # On Suns, sometimes $CPP names a directory.
7463 if test -n "$CPP" && test -d "$CPP"; then
7464   CPP=
7465 fi
7466 if test -z "$CPP"; then
7467   if ${ac_cv_prog_CPP+:} false; then :
7468   $as_echo_n "(cached) " >&6
7469 else
7470       # Double quotes because CPP needs to be expanded
7471     for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
7472     do
7473       ac_preproc_ok=false
7474 for ac_c_preproc_warn_flag in '' yes
7475 do
7476   # Use a header file that comes with gcc, so configuring glibc
7477   # with a fresh cross-compiler works.
7478   # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
7479   # <limits.h> exists even on freestanding compilers.
7480   # On the NeXT, cc -E runs the code through the compiler's parser,
7481   # not just through cpp. "Syntax error" is here to catch this case.
7482   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7483 /* end confdefs.h.  */
7484 #ifdef __STDC__
7485 # include <limits.h>
7486 #else
7487 # include <assert.h>
7488 #endif
7489                      Syntax error
7490 _ACEOF
7491 if ac_fn_c_try_cpp "$LINENO"; then :
7492
7493 else
7494   # Broken: fails on valid input.
7495 continue
7496 fi
7497 rm -f conftest.err conftest.i conftest.$ac_ext
7498
7499   # OK, works on sane cases.  Now check whether nonexistent headers
7500   # can be detected and how.
7501   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7502 /* end confdefs.h.  */
7503 #include <ac_nonexistent.h>
7504 _ACEOF
7505 if ac_fn_c_try_cpp "$LINENO"; then :
7506   # Broken: success on invalid input.
7507 continue
7508 else
7509   # Passes both tests.
7510 ac_preproc_ok=:
7511 break
7512 fi
7513 rm -f conftest.err conftest.i conftest.$ac_ext
7514
7515 done
7516 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
7517 rm -f conftest.i conftest.err conftest.$ac_ext
7518 if $ac_preproc_ok; then :
7519   break
7520 fi
7521
7522     done
7523     ac_cv_prog_CPP=$CPP
7524
7525 fi
7526   CPP=$ac_cv_prog_CPP
7527 else
7528   ac_cv_prog_CPP=$CPP
7529 fi
7530 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CPP" >&5
7531 $as_echo "$CPP" >&6; }
7532 ac_preproc_ok=false
7533 for ac_c_preproc_warn_flag in '' yes
7534 do
7535   # Use a header file that comes with gcc, so configuring glibc
7536   # with a fresh cross-compiler works.
7537   # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
7538   # <limits.h> exists even on freestanding compilers.
7539   # On the NeXT, cc -E runs the code through the compiler's parser,
7540   # not just through cpp. "Syntax error" is here to catch this case.
7541   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7542 /* end confdefs.h.  */
7543 #ifdef __STDC__
7544 # include <limits.h>
7545 #else
7546 # include <assert.h>
7547 #endif
7548                      Syntax error
7549 _ACEOF
7550 if ac_fn_c_try_cpp "$LINENO"; then :
7551
7552 else
7553   # Broken: fails on valid input.
7554 continue
7555 fi
7556 rm -f conftest.err conftest.i conftest.$ac_ext
7557
7558   # OK, works on sane cases.  Now check whether nonexistent headers
7559   # can be detected and how.
7560   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7561 /* end confdefs.h.  */
7562 #include <ac_nonexistent.h>
7563 _ACEOF
7564 if ac_fn_c_try_cpp "$LINENO"; then :
7565   # Broken: success on invalid input.
7566 continue
7567 else
7568   # Passes both tests.
7569 ac_preproc_ok=:
7570 break
7571 fi
7572 rm -f conftest.err conftest.i conftest.$ac_ext
7573
7574 done
7575 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
7576 rm -f conftest.i conftest.err conftest.$ac_ext
7577 if $ac_preproc_ok; then :
7578
7579 else
7580   { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
7581 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
7582 as_fn_error $? "C preprocessor \"$CPP\" fails sanity check
7583 See \`config.log' for more details" "$LINENO" 5; }
7584 fi
7585
7586 ac_ext=c
7587 ac_cpp='$CPP $CPPFLAGS'
7588 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
7589 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
7590 ac_compiler_gnu=$ac_cv_c_compiler_gnu
7591
7592
7593 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5
7594 $as_echo_n "checking for ANSI C header files... " >&6; }
7595 if ${ac_cv_header_stdc+:} false; then :
7596   $as_echo_n "(cached) " >&6
7597 else
7598   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7599 /* end confdefs.h.  */
7600 #include <stdlib.h>
7601 #include <stdarg.h>
7602 #include <string.h>
7603 #include <float.h>
7604
7605 int
7606 main ()
7607 {
7608
7609   ;
7610   return 0;
7611 }
7612 _ACEOF
7613 if ac_fn_c_try_compile "$LINENO"; then :
7614   ac_cv_header_stdc=yes
7615 else
7616   ac_cv_header_stdc=no
7617 fi
7618 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
7619
7620 if test $ac_cv_header_stdc = yes; then
7621   # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
7622   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7623 /* end confdefs.h.  */
7624 #include <string.h>
7625
7626 _ACEOF
7627 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
7628   $EGREP "memchr" >/dev/null 2>&1; then :
7629
7630 else
7631   ac_cv_header_stdc=no
7632 fi
7633 rm -f conftest*
7634
7635 fi
7636
7637 if test $ac_cv_header_stdc = yes; then
7638   # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
7639   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7640 /* end confdefs.h.  */
7641 #include <stdlib.h>
7642
7643 _ACEOF
7644 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
7645   $EGREP "free" >/dev/null 2>&1; then :
7646
7647 else
7648   ac_cv_header_stdc=no
7649 fi
7650 rm -f conftest*
7651
7652 fi
7653
7654 if test $ac_cv_header_stdc = yes; then
7655   # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
7656   if test "$cross_compiling" = yes; then :
7657   :
7658 else
7659   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7660 /* end confdefs.h.  */
7661 #include <ctype.h>
7662 #include <stdlib.h>
7663 #if ((' ' & 0x0FF) == 0x020)
7664 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
7665 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
7666 #else
7667 # define ISLOWER(c) \
7668                    (('a' <= (c) && (c) <= 'i') \
7669                      || ('j' <= (c) && (c) <= 'r') \
7670                      || ('s' <= (c) && (c) <= 'z'))
7671 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
7672 #endif
7673
7674 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
7675 int
7676 main ()
7677 {
7678   int i;
7679   for (i = 0; i < 256; i++)
7680     if (XOR (islower (i), ISLOWER (i))
7681         || toupper (i) != TOUPPER (i))
7682       return 2;
7683   return 0;
7684 }
7685 _ACEOF
7686 if ac_fn_c_try_run "$LINENO"; then :
7687
7688 else
7689   ac_cv_header_stdc=no
7690 fi
7691 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
7692   conftest.$ac_objext conftest.beam conftest.$ac_ext
7693 fi
7694
7695 fi
7696 fi
7697 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdc" >&5
7698 $as_echo "$ac_cv_header_stdc" >&6; }
7699 if test $ac_cv_header_stdc = yes; then
7700
7701 $as_echo "#define STDC_HEADERS 1" >>confdefs.h
7702
7703 fi
7704
7705 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
7706 for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
7707                   inttypes.h stdint.h unistd.h
7708 do :
7709   as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
7710 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default
7711 "
7712 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
7713   cat >>confdefs.h <<_ACEOF
7714 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
7715 _ACEOF
7716
7717 fi
7718
7719 done
7720
7721
7722 for ac_header in dlfcn.h
7723 do :
7724   ac_fn_c_check_header_compile "$LINENO" "dlfcn.h" "ac_cv_header_dlfcn_h" "$ac_includes_default
7725 "
7726 if test "x$ac_cv_header_dlfcn_h" = xyes; then :
7727   cat >>confdefs.h <<_ACEOF
7728 #define HAVE_DLFCN_H 1
7729 _ACEOF
7730
7731 fi
7732
7733 done
7734
7735
7736
7737
7738
7739 # Set options
7740
7741
7742
7743         enable_dlopen=no
7744
7745
7746
7747             # Check whether --enable-shared was given.
7748 if test "${enable_shared+set}" = set; then :
7749   enableval=$enable_shared; p=${PACKAGE-default}
7750     case $enableval in
7751     yes) enable_shared=yes ;;
7752     no) enable_shared=no ;;
7753     *)
7754       enable_shared=no
7755       # Look at the argument we got.  We use all the common list separators.
7756       lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
7757       for pkg in $enableval; do
7758         IFS="$lt_save_ifs"
7759         if test "X$pkg" = "X$p"; then
7760           enable_shared=yes
7761         fi
7762       done
7763       IFS="$lt_save_ifs"
7764       ;;
7765     esac
7766 else
7767   enable_shared=yes
7768 fi
7769
7770
7771
7772
7773
7774
7775
7776
7777
7778
7779
7780 # Check whether --with-pic was given.
7781 if test "${with_pic+set}" = set; then :
7782   withval=$with_pic; lt_p=${PACKAGE-default}
7783     case $withval in
7784     yes|no) pic_mode=$withval ;;
7785     *)
7786       pic_mode=default
7787       # Look at the argument we got.  We use all the common list separators.
7788       lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
7789       for lt_pkg in $withval; do
7790         IFS="$lt_save_ifs"
7791         if test "X$lt_pkg" = "X$lt_p"; then
7792           pic_mode=yes
7793         fi
7794       done
7795       IFS="$lt_save_ifs"
7796       ;;
7797     esac
7798 else
7799   pic_mode=default
7800 fi
7801
7802
7803 test -z "$pic_mode" && pic_mode=default
7804
7805
7806
7807
7808
7809
7810
7811   # Check whether --enable-fast-install was given.
7812 if test "${enable_fast_install+set}" = set; then :
7813   enableval=$enable_fast_install; p=${PACKAGE-default}
7814     case $enableval in
7815     yes) enable_fast_install=yes ;;
7816     no) enable_fast_install=no ;;
7817     *)
7818       enable_fast_install=no
7819       # Look at the argument we got.  We use all the common list separators.
7820       lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
7821       for pkg in $enableval; do
7822         IFS="$lt_save_ifs"
7823         if test "X$pkg" = "X$p"; then
7824           enable_fast_install=yes
7825         fi
7826       done
7827       IFS="$lt_save_ifs"
7828       ;;
7829     esac
7830 else
7831   enable_fast_install=yes
7832 fi
7833
7834
7835
7836
7837
7838
7839
7840
7841
7842
7843
7844 # This can be used to rebuild libtool when needed
7845 LIBTOOL_DEPS="$ltmain"
7846
7847 # Always use our own libtool.
7848 LIBTOOL='$(SHELL) $(top_builddir)/libtool'
7849
7850
7851
7852
7853
7854
7855
7856
7857
7858
7859
7860
7861
7862
7863
7864
7865
7866
7867
7868
7869
7870
7871
7872
7873
7874
7875
7876
7877
7878
7879 test -z "$LN_S" && LN_S="ln -s"
7880
7881
7882
7883
7884
7885
7886
7887
7888
7889
7890
7891
7892
7893
7894 if test -n "${ZSH_VERSION+set}" ; then
7895    setopt NO_GLOB_SUBST
7896 fi
7897
7898 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for objdir" >&5
7899 $as_echo_n "checking for objdir... " >&6; }
7900 if ${lt_cv_objdir+:} false; then :
7901   $as_echo_n "(cached) " >&6
7902 else
7903   rm -f .libs 2>/dev/null
7904 mkdir .libs 2>/dev/null
7905 if test -d .libs; then
7906   lt_cv_objdir=.libs
7907 else
7908   # MS-DOS does not allow filenames that begin with a dot.
7909   lt_cv_objdir=_libs
7910 fi
7911 rmdir .libs 2>/dev/null
7912 fi
7913 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_objdir" >&5
7914 $as_echo "$lt_cv_objdir" >&6; }
7915 objdir=$lt_cv_objdir
7916
7917
7918
7919
7920
7921 cat >>confdefs.h <<_ACEOF
7922 #define LT_OBJDIR "$lt_cv_objdir/"
7923 _ACEOF
7924
7925
7926
7927
7928 case $host_os in
7929 aix3*)
7930   # AIX sometimes has problems with the GCC collect2 program.  For some
7931   # reason, if we set the COLLECT_NAMES environment variable, the problems
7932   # vanish in a puff of smoke.
7933   if test "X${COLLECT_NAMES+set}" != Xset; then
7934     COLLECT_NAMES=
7935     export COLLECT_NAMES
7936   fi
7937   ;;
7938 esac
7939
7940 # Global variables:
7941 ofile=libtool
7942 can_build_shared=yes
7943
7944 # All known linkers require a `.a' archive for static linking (except MSVC,
7945 # which needs '.lib').
7946 libext=a
7947
7948 with_gnu_ld="$lt_cv_prog_gnu_ld"
7949
7950 old_CC="$CC"
7951 old_CFLAGS="$CFLAGS"
7952
7953 # Set sane defaults for various variables
7954 test -z "$CC" && CC=cc
7955 test -z "$LTCC" && LTCC=$CC
7956 test -z "$LTCFLAGS" && LTCFLAGS=$CFLAGS
7957 test -z "$LD" && LD=ld
7958 test -z "$ac_objext" && ac_objext=o
7959
7960 for cc_temp in $compiler""; do
7961   case $cc_temp in
7962     compile | *[\\/]compile | ccache | *[\\/]ccache ) ;;
7963     distcc | *[\\/]distcc | purify | *[\\/]purify ) ;;
7964     \-*) ;;
7965     *) break;;
7966   esac
7967 done
7968 cc_basename=`$ECHO "$cc_temp" | $SED "s%.*/%%; s%^$host_alias-%%"`
7969
7970
7971 # Only perform the check for file, if the check method requires it
7972 test -z "$MAGIC_CMD" && MAGIC_CMD=file
7973 case $deplibs_check_method in
7974 file_magic*)
7975   if test "$file_magic_cmd" = '$MAGIC_CMD'; then
7976     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ${ac_tool_prefix}file" >&5
7977 $as_echo_n "checking for ${ac_tool_prefix}file... " >&6; }
7978 if ${lt_cv_path_MAGIC_CMD+:} false; then :
7979   $as_echo_n "(cached) " >&6
7980 else
7981   case $MAGIC_CMD in
7982 [\\/*] |  ?:[\\/]*)
7983   lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a path.
7984   ;;
7985 *)
7986   lt_save_MAGIC_CMD="$MAGIC_CMD"
7987   lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
7988   ac_dummy="/usr/bin$PATH_SEPARATOR$PATH"
7989   for ac_dir in $ac_dummy; do
7990     IFS="$lt_save_ifs"
7991     test -z "$ac_dir" && ac_dir=.
7992     if test -f $ac_dir/${ac_tool_prefix}file; then
7993       lt_cv_path_MAGIC_CMD="$ac_dir/${ac_tool_prefix}file"
7994       if test -n "$file_magic_test_file"; then
7995         case $deplibs_check_method in
7996         "file_magic "*)
7997           file_magic_regex=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
7998           MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
7999           if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
8000             $EGREP "$file_magic_regex" > /dev/null; then
8001             :
8002           else
8003             cat <<_LT_EOF 1>&2
8004
8005 *** Warning: the command libtool uses to detect shared libraries,
8006 *** $file_magic_cmd, produces output that libtool cannot recognize.
8007 *** The result is that libtool may fail to recognize shared libraries
8008 *** as such.  This will affect the creation of libtool libraries that
8009 *** depend on shared libraries, but programs linked with such libtool
8010 *** libraries will work regardless of this problem.  Nevertheless, you
8011 *** may want to report the problem to your system manager and/or to
8012 *** bug-libtool@gnu.org
8013
8014 _LT_EOF
8015           fi ;;
8016         esac
8017       fi
8018       break
8019     fi
8020   done
8021   IFS="$lt_save_ifs"
8022   MAGIC_CMD="$lt_save_MAGIC_CMD"
8023   ;;
8024 esac
8025 fi
8026
8027 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
8028 if test -n "$MAGIC_CMD"; then
8029   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MAGIC_CMD" >&5
8030 $as_echo "$MAGIC_CMD" >&6; }
8031 else
8032   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8033 $as_echo "no" >&6; }
8034 fi
8035
8036
8037
8038
8039
8040 if test -z "$lt_cv_path_MAGIC_CMD"; then
8041   if test -n "$ac_tool_prefix"; then
8042     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for file" >&5
8043 $as_echo_n "checking for file... " >&6; }
8044 if ${lt_cv_path_MAGIC_CMD+:} false; then :
8045   $as_echo_n "(cached) " >&6
8046 else
8047   case $MAGIC_CMD in
8048 [\\/*] |  ?:[\\/]*)
8049   lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a path.
8050   ;;
8051 *)
8052   lt_save_MAGIC_CMD="$MAGIC_CMD"
8053   lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
8054   ac_dummy="/usr/bin$PATH_SEPARATOR$PATH"
8055   for ac_dir in $ac_dummy; do
8056     IFS="$lt_save_ifs"
8057     test -z "$ac_dir" && ac_dir=.
8058     if test -f $ac_dir/file; then
8059       lt_cv_path_MAGIC_CMD="$ac_dir/file"
8060       if test -n "$file_magic_test_file"; then
8061         case $deplibs_check_method in
8062         "file_magic "*)
8063           file_magic_regex=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
8064           MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
8065           if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
8066             $EGREP "$file_magic_regex" > /dev/null; then
8067             :
8068           else
8069             cat <<_LT_EOF 1>&2
8070
8071 *** Warning: the command libtool uses to detect shared libraries,
8072 *** $file_magic_cmd, produces output that libtool cannot recognize.
8073 *** The result is that libtool may fail to recognize shared libraries
8074 *** as such.  This will affect the creation of libtool libraries that
8075 *** depend on shared libraries, but programs linked with such libtool
8076 *** libraries will work regardless of this problem.  Nevertheless, you
8077 *** may want to report the problem to your system manager and/or to
8078 *** bug-libtool@gnu.org
8079
8080 _LT_EOF
8081           fi ;;
8082         esac
8083       fi
8084       break
8085     fi
8086   done
8087   IFS="$lt_save_ifs"
8088   MAGIC_CMD="$lt_save_MAGIC_CMD"
8089   ;;
8090 esac
8091 fi
8092
8093 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
8094 if test -n "$MAGIC_CMD"; then
8095   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MAGIC_CMD" >&5
8096 $as_echo "$MAGIC_CMD" >&6; }
8097 else
8098   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8099 $as_echo "no" >&6; }
8100 fi
8101
8102
8103   else
8104     MAGIC_CMD=:
8105   fi
8106 fi
8107
8108   fi
8109   ;;
8110 esac
8111
8112 # Use C for the default configuration in the libtool script
8113
8114 lt_save_CC="$CC"
8115 ac_ext=c
8116 ac_cpp='$CPP $CPPFLAGS'
8117 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
8118 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
8119 ac_compiler_gnu=$ac_cv_c_compiler_gnu
8120
8121
8122 # Source file extension for C test sources.
8123 ac_ext=c
8124
8125 # Object file extension for compiled C test sources.
8126 objext=o
8127 objext=$objext
8128
8129 # Code to be used in simple compile tests
8130 lt_simple_compile_test_code="int some_variable = 0;"
8131
8132 # Code to be used in simple link tests
8133 lt_simple_link_test_code='int main(){return(0);}'
8134
8135
8136
8137
8138
8139
8140
8141 # If no C compiler was specified, use CC.
8142 LTCC=${LTCC-"$CC"}
8143
8144 # If no C compiler flags were specified, use CFLAGS.
8145 LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
8146
8147 # Allow CC to be a program name with arguments.
8148 compiler=$CC
8149
8150 # Save the default compiler, since it gets overwritten when the other
8151 # tags are being tested, and _LT_TAGVAR(compiler, []) is a NOP.
8152 compiler_DEFAULT=$CC
8153
8154 # save warnings/boilerplate of simple test code
8155 ac_outfile=conftest.$ac_objext
8156 echo "$lt_simple_compile_test_code" >conftest.$ac_ext
8157 eval "$ac_compile" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
8158 _lt_compiler_boilerplate=`cat conftest.err`
8159 $RM conftest*
8160
8161 ac_outfile=conftest.$ac_objext
8162 echo "$lt_simple_link_test_code" >conftest.$ac_ext
8163 eval "$ac_link" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
8164 _lt_linker_boilerplate=`cat conftest.err`
8165 $RM -r conftest*
8166
8167
8168 if test -n "$compiler"; then
8169
8170 lt_prog_compiler_no_builtin_flag=
8171
8172 if test "$GCC" = yes; then
8173   case $cc_basename in
8174   nvcc*)
8175     lt_prog_compiler_no_builtin_flag=' -Xcompiler -fno-builtin' ;;
8176   *)
8177     lt_prog_compiler_no_builtin_flag=' -fno-builtin' ;;
8178   esac
8179
8180   { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -fno-rtti -fno-exceptions" >&5
8181 $as_echo_n "checking if $compiler supports -fno-rtti -fno-exceptions... " >&6; }
8182 if ${lt_cv_prog_compiler_rtti_exceptions+:} false; then :
8183   $as_echo_n "(cached) " >&6
8184 else
8185   lt_cv_prog_compiler_rtti_exceptions=no
8186    ac_outfile=conftest.$ac_objext
8187    echo "$lt_simple_compile_test_code" > conftest.$ac_ext
8188    lt_compiler_flag="-fno-rtti -fno-exceptions"
8189    # Insert the option either (1) after the last *FLAGS variable, or
8190    # (2) before a word containing "conftest.", or (3) at the end.
8191    # Note that $ac_compile itself does not contain backslashes and begins
8192    # with a dollar sign (not a hyphen), so the echo should work correctly.
8193    # The option is referenced via a variable to avoid confusing sed.
8194    lt_compile=`echo "$ac_compile" | $SED \
8195    -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
8196    -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
8197    -e 's:$: $lt_compiler_flag:'`
8198    (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
8199    (eval "$lt_compile" 2>conftest.err)
8200    ac_status=$?
8201    cat conftest.err >&5
8202    echo "$as_me:$LINENO: \$? = $ac_status" >&5
8203    if (exit $ac_status) && test -s "$ac_outfile"; then
8204      # The compiler can only warn and ignore the option if not recognized
8205      # So say no if there are warnings other than the usual output.
8206      $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' >conftest.exp
8207      $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
8208      if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
8209        lt_cv_prog_compiler_rtti_exceptions=yes
8210      fi
8211    fi
8212    $RM conftest*
8213
8214 fi
8215 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_rtti_exceptions" >&5
8216 $as_echo "$lt_cv_prog_compiler_rtti_exceptions" >&6; }
8217
8218 if test x"$lt_cv_prog_compiler_rtti_exceptions" = xyes; then
8219     lt_prog_compiler_no_builtin_flag="$lt_prog_compiler_no_builtin_flag -fno-rtti -fno-exceptions"
8220 else
8221     :
8222 fi
8223
8224 fi
8225
8226
8227
8228
8229
8230
8231   lt_prog_compiler_wl=
8232 lt_prog_compiler_pic=
8233 lt_prog_compiler_static=
8234
8235
8236   if test "$GCC" = yes; then
8237     lt_prog_compiler_wl='-Wl,'
8238     lt_prog_compiler_static='-static'
8239
8240     case $host_os in
8241       aix*)
8242       # All AIX code is PIC.
8243       if test "$host_cpu" = ia64; then
8244         # AIX 5 now supports IA64 processor
8245         lt_prog_compiler_static='-Bstatic'
8246       fi
8247       ;;
8248
8249     amigaos*)
8250       case $host_cpu in
8251       powerpc)
8252             # see comment about AmigaOS4 .so support
8253             lt_prog_compiler_pic='-fPIC'
8254         ;;
8255       m68k)
8256             # FIXME: we need at least 68020 code to build shared libraries, but
8257             # adding the `-m68020' flag to GCC prevents building anything better,
8258             # like `-m68040'.
8259             lt_prog_compiler_pic='-m68020 -resident32 -malways-restore-a4'
8260         ;;
8261       esac
8262       ;;
8263
8264     beos* | irix5* | irix6* | nonstopux* | osf3* | osf4* | osf5*)
8265       # PIC is the default for these OSes.
8266       ;;
8267
8268     mingw* | cygwin* | pw32* | os2* | cegcc*)
8269       # This hack is so that the source file can tell whether it is being
8270       # built for inclusion in a dll (and should export symbols for example).
8271       # Although the cygwin gcc ignores -fPIC, still need this for old-style
8272       # (--disable-auto-import) libraries
8273       lt_prog_compiler_pic='-DDLL_EXPORT'
8274       ;;
8275
8276     darwin* | rhapsody*)
8277       # PIC is the default on this platform
8278       # Common symbols not allowed in MH_DYLIB files
8279       lt_prog_compiler_pic='-fno-common'
8280       ;;
8281
8282     haiku*)
8283       # PIC is the default for Haiku.
8284       # The "-static" flag exists, but is broken.
8285       lt_prog_compiler_static=
8286       ;;
8287
8288     hpux*)
8289       # PIC is the default for 64-bit PA HP-UX, but not for 32-bit
8290       # PA HP-UX.  On IA64 HP-UX, PIC is the default but the pic flag
8291       # sets the default TLS model and affects inlining.
8292       case $host_cpu in
8293       hppa*64*)
8294         # +Z the default
8295         ;;
8296       *)
8297         lt_prog_compiler_pic='-fPIC'
8298         ;;
8299       esac
8300       ;;
8301
8302     interix[3-9]*)
8303       # Interix 3.x gcc -fpic/-fPIC options generate broken code.
8304       # Instead, we relocate shared libraries at runtime.
8305       ;;
8306
8307     msdosdjgpp*)
8308       # Just because we use GCC doesn't mean we suddenly get shared libraries
8309       # on systems that don't support them.
8310       lt_prog_compiler_can_build_shared=no
8311       enable_shared=no
8312       ;;
8313
8314     *nto* | *qnx*)
8315       # QNX uses GNU C++, but need to define -shared option too, otherwise
8316       # it will coredump.
8317       lt_prog_compiler_pic='-fPIC -shared'
8318       ;;
8319
8320     sysv4*MP*)
8321       if test -d /usr/nec; then
8322         lt_prog_compiler_pic=-Kconform_pic
8323       fi
8324       ;;
8325
8326     *)
8327       lt_prog_compiler_pic='-fPIC'
8328       ;;
8329     esac
8330
8331     case $cc_basename in
8332     nvcc*) # Cuda Compiler Driver 2.2
8333       lt_prog_compiler_wl='-Xlinker '
8334       if test -n "$lt_prog_compiler_pic"; then
8335         lt_prog_compiler_pic="-Xcompiler $lt_prog_compiler_pic"
8336       fi
8337       ;;
8338     esac
8339   else
8340     # PORTME Check for flag to pass linker flags through the system compiler.
8341     case $host_os in
8342     aix*)
8343       lt_prog_compiler_wl='-Wl,'
8344       if test "$host_cpu" = ia64; then
8345         # AIX 5 now supports IA64 processor
8346         lt_prog_compiler_static='-Bstatic'
8347       else
8348         lt_prog_compiler_static='-bnso -bI:/lib/syscalls.exp'
8349       fi
8350       ;;
8351
8352     mingw* | cygwin* | pw32* | os2* | cegcc*)
8353       # This hack is so that the source file can tell whether it is being
8354       # built for inclusion in a dll (and should export symbols for example).
8355       lt_prog_compiler_pic='-DDLL_EXPORT'
8356       ;;
8357
8358     hpux9* | hpux10* | hpux11*)
8359       lt_prog_compiler_wl='-Wl,'
8360       # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
8361       # not for PA HP-UX.
8362       case $host_cpu in
8363       hppa*64*|ia64*)
8364         # +Z the default
8365         ;;
8366       *)
8367         lt_prog_compiler_pic='+Z'
8368         ;;
8369       esac
8370       # Is there a better lt_prog_compiler_static that works with the bundled CC?
8371       lt_prog_compiler_static='${wl}-a ${wl}archive'
8372       ;;
8373
8374     irix5* | irix6* | nonstopux*)
8375       lt_prog_compiler_wl='-Wl,'
8376       # PIC (with -KPIC) is the default.
8377       lt_prog_compiler_static='-non_shared'
8378       ;;
8379
8380     linux* | k*bsd*-gnu | kopensolaris*-gnu)
8381       case $cc_basename in
8382       # old Intel for x86_64 which still supported -KPIC.
8383       ecc*)
8384         lt_prog_compiler_wl='-Wl,'
8385         lt_prog_compiler_pic='-KPIC'
8386         lt_prog_compiler_static='-static'
8387         ;;
8388       # icc used to be incompatible with GCC.
8389       # ICC 10 doesn't accept -KPIC any more.
8390       icc* | ifort*)
8391         lt_prog_compiler_wl='-Wl,'
8392         lt_prog_compiler_pic='-fPIC'
8393         lt_prog_compiler_static='-static'
8394         ;;
8395       # Lahey Fortran 8.1.
8396       lf95*)
8397         lt_prog_compiler_wl='-Wl,'
8398         lt_prog_compiler_pic='--shared'
8399         lt_prog_compiler_static='--static'
8400         ;;
8401       nagfor*)
8402         # NAG Fortran compiler
8403         lt_prog_compiler_wl='-Wl,-Wl,,'
8404         lt_prog_compiler_pic='-PIC'
8405         lt_prog_compiler_static='-Bstatic'
8406         ;;
8407       pgcc* | pgf77* | pgf90* | pgf95* | pgfortran*)
8408         # Portland Group compilers (*not* the Pentium gcc compiler,
8409         # which looks to be a dead project)
8410         lt_prog_compiler_wl='-Wl,'
8411         lt_prog_compiler_pic='-fpic'
8412         lt_prog_compiler_static='-Bstatic'
8413         ;;
8414       ccc*)
8415         lt_prog_compiler_wl='-Wl,'
8416         # All Alpha code is PIC.
8417         lt_prog_compiler_static='-non_shared'
8418         ;;
8419       xl* | bgxl* | bgf* | mpixl*)
8420         # IBM XL C 8.0/Fortran 10.1, 11.1 on PPC and BlueGene
8421         lt_prog_compiler_wl='-Wl,'
8422         lt_prog_compiler_pic='-qpic'
8423         lt_prog_compiler_static='-qstaticlink'
8424         ;;
8425       *)
8426         case `$CC -V 2>&1 | sed 5q` in
8427         *Sun\ Ceres\ Fortran* | *Sun*Fortran*\ [1-7].* | *Sun*Fortran*\ 8.[0-3]*)
8428           # Sun Fortran 8.3 passes all unrecognized flags to the linker
8429           lt_prog_compiler_pic='-KPIC'
8430           lt_prog_compiler_static='-Bstatic'
8431           lt_prog_compiler_wl=''
8432           ;;
8433         *Sun\ F* | *Sun*Fortran*)
8434           lt_prog_compiler_pic='-KPIC'
8435           lt_prog_compiler_static='-Bstatic'
8436           lt_prog_compiler_wl='-Qoption ld '
8437           ;;
8438         *Sun\ C*)
8439           # Sun C 5.9
8440           lt_prog_compiler_pic='-KPIC'
8441           lt_prog_compiler_static='-Bstatic'
8442           lt_prog_compiler_wl='-Wl,'
8443           ;;
8444         *Intel*\ [CF]*Compiler*)
8445           lt_prog_compiler_wl='-Wl,'
8446           lt_prog_compiler_pic='-fPIC'
8447           lt_prog_compiler_static='-static'
8448           ;;
8449         *Portland\ Group*)
8450           lt_prog_compiler_wl='-Wl,'
8451           lt_prog_compiler_pic='-fpic'
8452           lt_prog_compiler_static='-Bstatic'
8453           ;;
8454         esac
8455         ;;
8456       esac
8457       ;;
8458
8459     newsos6)
8460       lt_prog_compiler_pic='-KPIC'
8461       lt_prog_compiler_static='-Bstatic'
8462       ;;
8463
8464     *nto* | *qnx*)
8465       # QNX uses GNU C++, but need to define -shared option too, otherwise
8466       # it will coredump.
8467       lt_prog_compiler_pic='-fPIC -shared'
8468       ;;
8469
8470     osf3* | osf4* | osf5*)
8471       lt_prog_compiler_wl='-Wl,'
8472       # All OSF/1 code is PIC.
8473       lt_prog_compiler_static='-non_shared'
8474       ;;
8475
8476     rdos*)
8477       lt_prog_compiler_static='-non_shared'
8478       ;;
8479
8480     solaris*)
8481       lt_prog_compiler_pic='-KPIC'
8482       lt_prog_compiler_static='-Bstatic'
8483       case $cc_basename in
8484       f77* | f90* | f95* | sunf77* | sunf90* | sunf95*)
8485         lt_prog_compiler_wl='-Qoption ld ';;
8486       *)
8487         lt_prog_compiler_wl='-Wl,';;
8488       esac
8489       ;;
8490
8491     sunos4*)
8492       lt_prog_compiler_wl='-Qoption ld '
8493       lt_prog_compiler_pic='-PIC'
8494       lt_prog_compiler_static='-Bstatic'
8495       ;;
8496
8497     sysv4 | sysv4.2uw2* | sysv4.3*)
8498       lt_prog_compiler_wl='-Wl,'
8499       lt_prog_compiler_pic='-KPIC'
8500       lt_prog_compiler_static='-Bstatic'
8501       ;;
8502
8503     sysv4*MP*)
8504       if test -d /usr/nec ;then
8505         lt_prog_compiler_pic='-Kconform_pic'
8506         lt_prog_compiler_static='-Bstatic'
8507       fi
8508       ;;
8509
8510     sysv5* | unixware* | sco3.2v5* | sco5v6* | OpenUNIX*)
8511       lt_prog_compiler_wl='-Wl,'
8512       lt_prog_compiler_pic='-KPIC'
8513       lt_prog_compiler_static='-Bstatic'
8514       ;;
8515
8516     unicos*)
8517       lt_prog_compiler_wl='-Wl,'
8518       lt_prog_compiler_can_build_shared=no
8519       ;;
8520
8521     uts4*)
8522       lt_prog_compiler_pic='-pic'
8523       lt_prog_compiler_static='-Bstatic'
8524       ;;
8525
8526     *)
8527       lt_prog_compiler_can_build_shared=no
8528       ;;
8529     esac
8530   fi
8531
8532 case $host_os in
8533   # For platforms which do not support PIC, -DPIC is meaningless:
8534   *djgpp*)
8535     lt_prog_compiler_pic=
8536     ;;
8537   *)
8538     lt_prog_compiler_pic="$lt_prog_compiler_pic -DPIC"
8539     ;;
8540 esac
8541
8542 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $compiler option to produce PIC" >&5
8543 $as_echo_n "checking for $compiler option to produce PIC... " >&6; }
8544 if ${lt_cv_prog_compiler_pic+:} false; then :
8545   $as_echo_n "(cached) " >&6
8546 else
8547   lt_cv_prog_compiler_pic=$lt_prog_compiler_pic
8548 fi
8549 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic" >&5
8550 $as_echo "$lt_cv_prog_compiler_pic" >&6; }
8551 lt_prog_compiler_pic=$lt_cv_prog_compiler_pic
8552
8553 #
8554 # Check to make sure the PIC flag actually works.
8555 #
8556 if test -n "$lt_prog_compiler_pic"; then
8557   { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler PIC flag $lt_prog_compiler_pic works" >&5
8558 $as_echo_n "checking if $compiler PIC flag $lt_prog_compiler_pic works... " >&6; }
8559 if ${lt_cv_prog_compiler_pic_works+:} false; then :
8560   $as_echo_n "(cached) " >&6
8561 else
8562   lt_cv_prog_compiler_pic_works=no
8563    ac_outfile=conftest.$ac_objext
8564    echo "$lt_simple_compile_test_code" > conftest.$ac_ext
8565    lt_compiler_flag="$lt_prog_compiler_pic -DPIC"
8566    # Insert the option either (1) after the last *FLAGS variable, or
8567    # (2) before a word containing "conftest.", or (3) at the end.
8568    # Note that $ac_compile itself does not contain backslashes and begins
8569    # with a dollar sign (not a hyphen), so the echo should work correctly.
8570    # The option is referenced via a variable to avoid confusing sed.
8571    lt_compile=`echo "$ac_compile" | $SED \
8572    -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
8573    -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
8574    -e 's:$: $lt_compiler_flag:'`
8575    (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
8576    (eval "$lt_compile" 2>conftest.err)
8577    ac_status=$?
8578    cat conftest.err >&5
8579    echo "$as_me:$LINENO: \$? = $ac_status" >&5
8580    if (exit $ac_status) && test -s "$ac_outfile"; then
8581      # The compiler can only warn and ignore the option if not recognized
8582      # So say no if there are warnings other than the usual output.
8583      $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' >conftest.exp
8584      $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
8585      if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
8586        lt_cv_prog_compiler_pic_works=yes
8587      fi
8588    fi
8589    $RM conftest*
8590
8591 fi
8592 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic_works" >&5
8593 $as_echo "$lt_cv_prog_compiler_pic_works" >&6; }
8594
8595 if test x"$lt_cv_prog_compiler_pic_works" = xyes; then
8596     case $lt_prog_compiler_pic in
8597      "" | " "*) ;;
8598      *) lt_prog_compiler_pic=" $lt_prog_compiler_pic" ;;
8599      esac
8600 else
8601     lt_prog_compiler_pic=
8602      lt_prog_compiler_can_build_shared=no
8603 fi
8604
8605 fi
8606
8607
8608
8609
8610
8611
8612
8613
8614
8615
8616
8617 #
8618 # Check to make sure the static flag actually works.
8619 #
8620 wl=$lt_prog_compiler_wl eval lt_tmp_static_flag=\"$lt_prog_compiler_static\"
8621 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler static flag $lt_tmp_static_flag works" >&5
8622 $as_echo_n "checking if $compiler static flag $lt_tmp_static_flag works... " >&6; }
8623 if ${lt_cv_prog_compiler_static_works+:} false; then :
8624   $as_echo_n "(cached) " >&6
8625 else
8626   lt_cv_prog_compiler_static_works=no
8627    save_LDFLAGS="$LDFLAGS"
8628    LDFLAGS="$LDFLAGS $lt_tmp_static_flag"
8629    echo "$lt_simple_link_test_code" > conftest.$ac_ext
8630    if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
8631      # The linker can only warn and ignore the option if not recognized
8632      # So say no if there are warnings
8633      if test -s conftest.err; then
8634        # Append any errors to the config.log.
8635        cat conftest.err 1>&5
8636        $ECHO "$_lt_linker_boilerplate" | $SED '/^$/d' > conftest.exp
8637        $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
8638        if diff conftest.exp conftest.er2 >/dev/null; then
8639          lt_cv_prog_compiler_static_works=yes
8640        fi
8641      else
8642        lt_cv_prog_compiler_static_works=yes
8643      fi
8644    fi
8645    $RM -r conftest*
8646    LDFLAGS="$save_LDFLAGS"
8647
8648 fi
8649 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_static_works" >&5
8650 $as_echo "$lt_cv_prog_compiler_static_works" >&6; }
8651
8652 if test x"$lt_cv_prog_compiler_static_works" = xyes; then
8653     :
8654 else
8655     lt_prog_compiler_static=
8656 fi
8657
8658
8659
8660
8661
8662
8663
8664   { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
8665 $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
8666 if ${lt_cv_prog_compiler_c_o+:} false; then :
8667   $as_echo_n "(cached) " >&6
8668 else
8669   lt_cv_prog_compiler_c_o=no
8670    $RM -r conftest 2>/dev/null
8671    mkdir conftest
8672    cd conftest
8673    mkdir out
8674    echo "$lt_simple_compile_test_code" > conftest.$ac_ext
8675
8676    lt_compiler_flag="-o out/conftest2.$ac_objext"
8677    # Insert the option either (1) after the last *FLAGS variable, or
8678    # (2) before a word containing "conftest.", or (3) at the end.
8679    # Note that $ac_compile itself does not contain backslashes and begins
8680    # with a dollar sign (not a hyphen), so the echo should work correctly.
8681    lt_compile=`echo "$ac_compile" | $SED \
8682    -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
8683    -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
8684    -e 's:$: $lt_compiler_flag:'`
8685    (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
8686    (eval "$lt_compile" 2>out/conftest.err)
8687    ac_status=$?
8688    cat out/conftest.err >&5
8689    echo "$as_me:$LINENO: \$? = $ac_status" >&5
8690    if (exit $ac_status) && test -s out/conftest2.$ac_objext
8691    then
8692      # The compiler can only warn and ignore the option if not recognized
8693      # So say no if there are warnings
8694      $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' > out/conftest.exp
8695      $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
8696      if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
8697        lt_cv_prog_compiler_c_o=yes
8698      fi
8699    fi
8700    chmod u+w . 2>&5
8701    $RM conftest*
8702    # SGI C++ compiler will create directory out/ii_files/ for
8703    # template instantiation
8704    test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
8705    $RM out/* && rmdir out
8706    cd ..
8707    $RM -r conftest
8708    $RM conftest*
8709
8710 fi
8711 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o" >&5
8712 $as_echo "$lt_cv_prog_compiler_c_o" >&6; }
8713
8714
8715
8716
8717
8718
8719   { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
8720 $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
8721 if ${lt_cv_prog_compiler_c_o+:} false; then :
8722   $as_echo_n "(cached) " >&6
8723 else
8724   lt_cv_prog_compiler_c_o=no
8725    $RM -r conftest 2>/dev/null
8726    mkdir conftest
8727    cd conftest
8728    mkdir out
8729    echo "$lt_simple_compile_test_code" > conftest.$ac_ext
8730
8731    lt_compiler_flag="-o out/conftest2.$ac_objext"
8732    # Insert the option either (1) after the last *FLAGS variable, or
8733    # (2) before a word containing "conftest.", or (3) at the end.
8734    # Note that $ac_compile itself does not contain backslashes and begins
8735    # with a dollar sign (not a hyphen), so the echo should work correctly.
8736    lt_compile=`echo "$ac_compile" | $SED \
8737    -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
8738    -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
8739    -e 's:$: $lt_compiler_flag:'`
8740    (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
8741    (eval "$lt_compile" 2>out/conftest.err)
8742    ac_status=$?
8743    cat out/conftest.err >&5
8744    echo "$as_me:$LINENO: \$? = $ac_status" >&5
8745    if (exit $ac_status) && test -s out/conftest2.$ac_objext
8746    then
8747      # The compiler can only warn and ignore the option if not recognized
8748      # So say no if there are warnings
8749      $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' > out/conftest.exp
8750      $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
8751      if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
8752        lt_cv_prog_compiler_c_o=yes
8753      fi
8754    fi
8755    chmod u+w . 2>&5
8756    $RM conftest*
8757    # SGI C++ compiler will create directory out/ii_files/ for
8758    # template instantiation
8759    test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
8760    $RM out/* && rmdir out
8761    cd ..
8762    $RM -r conftest
8763    $RM conftest*
8764
8765 fi
8766 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o" >&5
8767 $as_echo "$lt_cv_prog_compiler_c_o" >&6; }
8768
8769
8770
8771
8772 hard_links="nottested"
8773 if test "$lt_cv_prog_compiler_c_o" = no && test "$need_locks" != no; then
8774   # do not overwrite the value of need_locks provided by the user
8775   { $as_echo "$as_me:${as_lineno-$LINENO}: checking if we can lock with hard links" >&5
8776 $as_echo_n "checking if we can lock with hard links... " >&6; }
8777   hard_links=yes
8778   $RM conftest*
8779   ln conftest.a conftest.b 2>/dev/null && hard_links=no
8780   touch conftest.a
8781   ln conftest.a conftest.b 2>&5 || hard_links=no
8782   ln conftest.a conftest.b 2>/dev/null && hard_links=no
8783   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hard_links" >&5
8784 $as_echo "$hard_links" >&6; }
8785   if test "$hard_links" = no; then
8786     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5
8787 $as_echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;}
8788     need_locks=warn
8789   fi
8790 else
8791   need_locks=no
8792 fi
8793
8794
8795
8796
8797
8798
8799   { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $compiler linker ($LD) supports shared libraries" >&5
8800 $as_echo_n "checking whether the $compiler linker ($LD) supports shared libraries... " >&6; }
8801
8802   runpath_var=
8803   allow_undefined_flag=
8804   always_export_symbols=no
8805   archive_cmds=
8806   archive_expsym_cmds=
8807   compiler_needs_object=no
8808   enable_shared_with_static_runtimes=no
8809   export_dynamic_flag_spec=
8810   export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
8811   hardcode_automatic=no
8812   hardcode_direct=no
8813   hardcode_direct_absolute=no
8814   hardcode_libdir_flag_spec=
8815   hardcode_libdir_separator=
8816   hardcode_minus_L=no
8817   hardcode_shlibpath_var=unsupported
8818   inherit_rpath=no
8819   link_all_deplibs=unknown
8820   module_cmds=
8821   module_expsym_cmds=
8822   old_archive_from_new_cmds=
8823   old_archive_from_expsyms_cmds=
8824   thread_safe_flag_spec=
8825   whole_archive_flag_spec=
8826   # include_expsyms should be a list of space-separated symbols to be *always*
8827   # included in the symbol list
8828   include_expsyms=
8829   # exclude_expsyms can be an extended regexp of symbols to exclude
8830   # it will be wrapped by ` (' and `)$', so one must not match beginning or
8831   # end of line.  Example: `a|bc|.*d.*' will exclude the symbols `a' and `bc',
8832   # as well as any symbol that contains `d'.
8833   exclude_expsyms='_GLOBAL_OFFSET_TABLE_|_GLOBAL__F[ID]_.*'
8834   # Although _GLOBAL_OFFSET_TABLE_ is a valid symbol C name, most a.out
8835   # platforms (ab)use it in PIC code, but their linkers get confused if
8836   # the symbol is explicitly referenced.  Since portable code cannot
8837   # rely on this symbol name, it's probably fine to never include it in
8838   # preloaded symbol tables.
8839   # Exclude shared library initialization/finalization symbols.
8840   extract_expsyms_cmds=
8841
8842   case $host_os in
8843   cygwin* | mingw* | pw32* | cegcc*)
8844     # FIXME: the MSVC++ port hasn't been tested in a loooong time
8845     # When not using gcc, we currently assume that we are using
8846     # Microsoft Visual C++.
8847     if test "$GCC" != yes; then
8848       with_gnu_ld=no
8849     fi
8850     ;;
8851   interix*)
8852     # we just hope/assume this is gcc and not c89 (= MSVC++)
8853     with_gnu_ld=yes
8854     ;;
8855   openbsd*)
8856     with_gnu_ld=no
8857     ;;
8858   linux* | k*bsd*-gnu | gnu*)
8859     link_all_deplibs=no
8860     ;;
8861   esac
8862
8863   ld_shlibs=yes
8864
8865   # On some targets, GNU ld is compatible enough with the native linker
8866   # that we're better off using the native interface for both.
8867   lt_use_gnu_ld_interface=no
8868   if test "$with_gnu_ld" = yes; then
8869     case $host_os in
8870       aix*)
8871         # The AIX port of GNU ld has always aspired to compatibility
8872         # with the native linker.  However, as the warning in the GNU ld
8873         # block says, versions before 2.19.5* couldn't really create working
8874         # shared libraries, regardless of the interface used.
8875         case `$LD -v 2>&1` in
8876           *\ \(GNU\ Binutils\)\ 2.19.5*) ;;
8877           *\ \(GNU\ Binutils\)\ 2.[2-9]*) ;;
8878           *\ \(GNU\ Binutils\)\ [3-9]*) ;;
8879           *)
8880             lt_use_gnu_ld_interface=yes
8881             ;;
8882         esac
8883         ;;
8884       *)
8885         lt_use_gnu_ld_interface=yes
8886         ;;
8887     esac
8888   fi
8889
8890   if test "$lt_use_gnu_ld_interface" = yes; then
8891     # If archive_cmds runs LD, not CC, wlarc should be empty
8892     wlarc='${wl}'
8893
8894     # Set some defaults for GNU ld with shared library support. These
8895     # are reset later if shared libraries are not supported. Putting them
8896     # here allows them to be overridden if necessary.
8897     runpath_var=LD_RUN_PATH
8898     hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
8899     export_dynamic_flag_spec='${wl}--export-dynamic'
8900     # ancient GNU ld didn't support --whole-archive et. al.
8901     if $LD --help 2>&1 | $GREP 'no-whole-archive' > /dev/null; then
8902       whole_archive_flag_spec="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
8903     else
8904       whole_archive_flag_spec=
8905     fi
8906     supports_anon_versioning=no
8907     case `$LD -v 2>&1` in
8908       *GNU\ gold*) supports_anon_versioning=yes ;;
8909       *\ [01].* | *\ 2.[0-9].* | *\ 2.10.*) ;; # catch versions < 2.11
8910       *\ 2.11.93.0.2\ *) supports_anon_versioning=yes ;; # RH7.3 ...
8911       *\ 2.11.92.0.12\ *) supports_anon_versioning=yes ;; # Mandrake 8.2 ...
8912       *\ 2.11.*) ;; # other 2.11 versions
8913       *) supports_anon_versioning=yes ;;
8914     esac
8915
8916     # See if GNU ld supports shared libraries.
8917     case $host_os in
8918     aix[3-9]*)
8919       # On AIX/PPC, the GNU linker is very broken
8920       if test "$host_cpu" != ia64; then
8921         ld_shlibs=no
8922         cat <<_LT_EOF 1>&2
8923
8924 *** Warning: the GNU linker, at least up to release 2.19, is reported
8925 *** to be unable to reliably create shared libraries on AIX.
8926 *** Therefore, libtool is disabling shared libraries support.  If you
8927 *** really care for shared libraries, you may want to install binutils
8928 *** 2.20 or above, or modify your PATH so that a non-GNU linker is found.
8929 *** You will then need to restart the configuration process.
8930
8931 _LT_EOF
8932       fi
8933       ;;
8934
8935     amigaos*)
8936       case $host_cpu in
8937       powerpc)
8938             # see comment about AmigaOS4 .so support
8939             archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
8940             archive_expsym_cmds=''
8941         ;;
8942       m68k)
8943             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)'
8944             hardcode_libdir_flag_spec='-L$libdir'
8945             hardcode_minus_L=yes
8946         ;;
8947       esac
8948       ;;
8949
8950     beos*)
8951       if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
8952         allow_undefined_flag=unsupported
8953         # Joseph Beckenbach <jrb3@best.com> says some releases of gcc
8954         # support --undefined.  This deserves some investigation.  FIXME
8955         archive_cmds='$CC -nostart $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
8956       else
8957         ld_shlibs=no
8958       fi
8959       ;;
8960
8961     cygwin* | mingw* | pw32* | cegcc*)
8962       # _LT_TAGVAR(hardcode_libdir_flag_spec, ) is actually meaningless,
8963       # as there is no search path for DLLs.
8964       hardcode_libdir_flag_spec='-L$libdir'
8965       export_dynamic_flag_spec='${wl}--export-all-symbols'
8966       allow_undefined_flag=unsupported
8967       always_export_symbols=no
8968       enable_shared_with_static_runtimes=yes
8969       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'
8970       exclude_expsyms='[_]+GLOBAL_OFFSET_TABLE_|[_]+GLOBAL__[FID]_.*|[_]+head_[A-Za-z0-9_]+_dll|[A-Za-z0-9_]+_dll_iname'
8971
8972       if $LD --help 2>&1 | $GREP 'auto-import' > /dev/null; then
8973         archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
8974         # If the export-symbols file already is a .def file (1st line
8975         # is EXPORTS), use it as is; otherwise, prepend...
8976         archive_expsym_cmds='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
8977           cp $export_symbols $output_objdir/$soname.def;
8978         else
8979           echo EXPORTS > $output_objdir/$soname.def;
8980           cat $export_symbols >> $output_objdir/$soname.def;
8981         fi~
8982         $CC -shared $output_objdir/$soname.def $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
8983       else
8984         ld_shlibs=no
8985       fi
8986       ;;
8987
8988     haiku*)
8989       archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
8990       link_all_deplibs=yes
8991       ;;
8992
8993     interix[3-9]*)
8994       hardcode_direct=no
8995       hardcode_shlibpath_var=no
8996       hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
8997       export_dynamic_flag_spec='${wl}-E'
8998       # Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc.
8999       # Instead, shared libraries are loaded at an image base (0x10000000 by
9000       # default) and relocated if they conflict, which is a slow very memory
9001       # consuming and fragmenting process.  To avoid this, we pick a random,
9002       # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link
9003       # time.  Moving up from 0x10000000 also allows more sbrk(2) space.
9004       archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-h,$soname ${wl}--image-base,`expr ${RANDOM-$$} % 4096 / 2 \* 262144 + 1342177280` -o $lib'
9005       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'
9006       ;;
9007
9008     gnu* | linux* | tpf* | k*bsd*-gnu | kopensolaris*-gnu)
9009       tmp_diet=no
9010       if test "$host_os" = linux-dietlibc; then
9011         case $cc_basename in
9012           diet\ *) tmp_diet=yes;;       # linux-dietlibc with static linking (!diet-dyn)
9013         esac
9014       fi
9015       if $LD --help 2>&1 | $EGREP ': supported targets:.* elf' > /dev/null \
9016          && test "$tmp_diet" = no
9017       then
9018         tmp_addflag=' $pic_flag'
9019         tmp_sharedflag='-shared'
9020         case $cc_basename,$host_cpu in
9021         pgcc*)                          # Portland Group C compiler
9022           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'
9023           tmp_addflag=' $pic_flag'
9024           ;;
9025         pgf77* | pgf90* | pgf95* | pgfortran*)
9026                                         # Portland Group f77 and f90 compilers
9027           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'
9028           tmp_addflag=' $pic_flag -Mnomain' ;;
9029         ecc*,ia64* | icc*,ia64*)        # Intel C compiler on ia64
9030           tmp_addflag=' -i_dynamic' ;;
9031         efc*,ia64* | ifort*,ia64*)      # Intel Fortran compiler on ia64
9032           tmp_addflag=' -i_dynamic -nofor_main' ;;
9033         ifc* | ifort*)                  # Intel Fortran compiler
9034           tmp_addflag=' -nofor_main' ;;
9035         lf95*)                          # Lahey Fortran 8.1
9036           whole_archive_flag_spec=
9037           tmp_sharedflag='--shared' ;;
9038         xl[cC]* | bgxl[cC]* | mpixl[cC]*) # IBM XL C 8.0 on PPC (deal with xlf below)
9039           tmp_sharedflag='-qmkshrobj'
9040           tmp_addflag= ;;
9041         nvcc*)  # Cuda Compiler Driver 2.2
9042           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'
9043           compiler_needs_object=yes
9044           ;;
9045         esac
9046         case `$CC -V 2>&1 | sed 5q` in
9047         *Sun\ C*)                       # Sun C 5.9
9048           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'
9049           compiler_needs_object=yes
9050           tmp_sharedflag='-G' ;;
9051         *Sun\ F*)                       # Sun Fortran 8.3
9052           tmp_sharedflag='-G' ;;
9053         esac
9054         archive_cmds='$CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9055
9056         if test "x$supports_anon_versioning" = xyes; then
9057           archive_expsym_cmds='echo "{ global:" > $output_objdir/$libname.ver~
9058             cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
9059             echo "local: *; };" >> $output_objdir/$libname.ver~
9060             $CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-version-script ${wl}$output_objdir/$libname.ver -o $lib'
9061         fi
9062
9063         case $cc_basename in
9064         xlf* | bgf* | bgxlf* | mpixlf*)
9065           # IBM XL Fortran 10.1 on PPC cannot create shared libs itself
9066           whole_archive_flag_spec='--whole-archive$convenience --no-whole-archive'
9067           hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
9068           archive_cmds='$LD -shared $libobjs $deplibs $linker_flags -soname $soname -o $lib'
9069           if test "x$supports_anon_versioning" = xyes; then
9070             archive_expsym_cmds='echo "{ global:" > $output_objdir/$libname.ver~
9071               cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
9072               echo "local: *; };" >> $output_objdir/$libname.ver~
9073               $LD -shared $libobjs $deplibs $linker_flags -soname $soname -version-script $output_objdir/$libname.ver -o $lib'
9074           fi
9075           ;;
9076         esac
9077       else
9078         ld_shlibs=no
9079       fi
9080       ;;
9081
9082     netbsd* | netbsdelf*-gnu)
9083       if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
9084         archive_cmds='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib'
9085         wlarc=
9086       else
9087         archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9088         archive_expsym_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
9089       fi
9090       ;;
9091
9092     solaris*)
9093       if $LD -v 2>&1 | $GREP 'BFD 2\.8' > /dev/null; then
9094         ld_shlibs=no
9095         cat <<_LT_EOF 1>&2
9096
9097 *** Warning: The releases 2.8.* of the GNU linker cannot reliably
9098 *** create shared libraries on Solaris systems.  Therefore, libtool
9099 *** is disabling shared libraries support.  We urge you to upgrade GNU
9100 *** binutils to release 2.9.1 or newer.  Another option is to modify
9101 *** your PATH or compiler configuration so that the native linker is
9102 *** used, and then restart.
9103
9104 _LT_EOF
9105       elif $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
9106         archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9107         archive_expsym_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
9108       else
9109         ld_shlibs=no
9110       fi
9111       ;;
9112
9113     sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX*)
9114       case `$LD -v 2>&1` in
9115         *\ [01].* | *\ 2.[0-9].* | *\ 2.1[0-5].*)
9116         ld_shlibs=no
9117         cat <<_LT_EOF 1>&2
9118
9119 *** Warning: Releases of the GNU linker prior to 2.16.91.0.3 can not
9120 *** reliably create shared libraries on SCO systems.  Therefore, libtool
9121 *** is disabling shared libraries support.  We urge you to upgrade GNU
9122 *** binutils to release 2.16.91.0.3 or newer.  Another option is to modify
9123 *** your PATH or compiler configuration so that the native linker is
9124 *** used, and then restart.
9125
9126 _LT_EOF
9127         ;;
9128         *)
9129           # For security reasons, it is highly recommended that you always
9130           # use absolute paths for naming shared libraries, and exclude the
9131           # DT_RUNPATH tag from executables and libraries.  But doing so
9132           # requires that you compile everything twice, which is a pain.
9133           if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
9134             hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
9135             archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9136             archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
9137           else
9138             ld_shlibs=no
9139           fi
9140         ;;
9141       esac
9142       ;;
9143
9144     sunos4*)
9145       archive_cmds='$LD -assert pure-text -Bshareable -o $lib $libobjs $deplibs $linker_flags'
9146       wlarc=
9147       hardcode_direct=yes
9148       hardcode_shlibpath_var=no
9149       ;;
9150
9151     *)
9152       if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
9153         archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9154         archive_expsym_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
9155       else
9156         ld_shlibs=no
9157       fi
9158       ;;
9159     esac
9160
9161     if test "$ld_shlibs" = no; then
9162       runpath_var=
9163       hardcode_libdir_flag_spec=
9164       export_dynamic_flag_spec=
9165       whole_archive_flag_spec=
9166     fi
9167   else
9168     # PORTME fill in a description of your system's linker (not GNU ld)
9169     case $host_os in
9170     aix3*)
9171       allow_undefined_flag=unsupported
9172       always_export_symbols=yes
9173       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'
9174       # Note: this linker hardcodes the directories in LIBPATH if there
9175       # are no directories specified by -L.
9176       hardcode_minus_L=yes
9177       if test "$GCC" = yes && test -z "$lt_prog_compiler_static"; then
9178         # Neither direct hardcoding nor static linking is supported with a
9179         # broken collect2.
9180         hardcode_direct=unsupported
9181       fi
9182       ;;
9183
9184     aix[4-9]*)
9185       if test "$host_cpu" = ia64; then
9186         # On IA64, the linker does run time linking by default, so we don't
9187         # have to do anything special.
9188         aix_use_runtimelinking=no
9189         exp_sym_flag='-Bexport'
9190         no_entry_flag=""
9191       else
9192         # If we're using GNU nm, then we don't want the "-C" option.
9193         # -C means demangle to AIX nm, but means don't demangle with GNU nm
9194         # Also, AIX nm treats weak defined symbols like other global
9195         # defined symbols, whereas GNU nm marks them as "W".
9196         if $NM -V 2>&1 | $GREP 'GNU' > /dev/null; then
9197           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'
9198         else
9199           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'
9200         fi
9201         aix_use_runtimelinking=no
9202
9203         # Test if we are trying to use run time linking or normal
9204         # AIX style linking. If -brtl is somewhere in LDFLAGS, we
9205         # need to do runtime linking.
9206         case $host_os in aix4.[23]|aix4.[23].*|aix[5-9]*)
9207           for ld_flag in $LDFLAGS; do
9208           if (test $ld_flag = "-brtl" || test $ld_flag = "-Wl,-brtl"); then
9209             aix_use_runtimelinking=yes
9210             break
9211           fi
9212           done
9213           ;;
9214         esac
9215
9216         exp_sym_flag='-bexport'
9217         no_entry_flag='-bnoentry'
9218       fi
9219
9220       # When large executables or shared objects are built, AIX ld can
9221       # have problems creating the table of contents.  If linking a library
9222       # or program results in "error TOC overflow" add -mminimal-toc to
9223       # CXXFLAGS/CFLAGS for g++/gcc.  In the cases where that is not
9224       # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
9225
9226       archive_cmds=''
9227       hardcode_direct=yes
9228       hardcode_direct_absolute=yes
9229       hardcode_libdir_separator=':'
9230       link_all_deplibs=yes
9231       file_list_spec='${wl}-f,'
9232
9233       if test "$GCC" = yes; then
9234         case $host_os in aix4.[012]|aix4.[012].*)
9235         # We only want to do this on AIX 4.2 and lower, the check
9236         # below for broken collect2 doesn't work under 4.3+
9237           collect2name=`${CC} -print-prog-name=collect2`
9238           if test -f "$collect2name" &&
9239            strings "$collect2name" | $GREP resolve_lib_name >/dev/null
9240           then
9241           # We have reworked collect2
9242           :
9243           else
9244           # We have old collect2
9245           hardcode_direct=unsupported
9246           # It fails to find uninstalled libraries when the uninstalled
9247           # path is not listed in the libpath.  Setting hardcode_minus_L
9248           # to unsupported forces relinking
9249           hardcode_minus_L=yes
9250           hardcode_libdir_flag_spec='-L$libdir'
9251           hardcode_libdir_separator=
9252           fi
9253           ;;
9254         esac
9255         shared_flag='-shared'
9256         if test "$aix_use_runtimelinking" = yes; then
9257           shared_flag="$shared_flag "'${wl}-G'
9258         fi
9259         link_all_deplibs=no
9260       else
9261         # not using gcc
9262         if test "$host_cpu" = ia64; then
9263         # VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
9264         # chokes on -Wl,-G. The following line is correct:
9265           shared_flag='-G'
9266         else
9267           if test "$aix_use_runtimelinking" = yes; then
9268             shared_flag='${wl}-G'
9269           else
9270             shared_flag='${wl}-bM:SRE'
9271           fi
9272         fi
9273       fi
9274
9275       export_dynamic_flag_spec='${wl}-bexpall'
9276       # It seems that -bexpall does not export symbols beginning with
9277       # underscore (_), so it is better to generate a list of symbols to export.
9278       always_export_symbols=yes
9279       if test "$aix_use_runtimelinking" = yes; then
9280         # Warning - without using the other runtime loading flags (-brtl),
9281         # -berok will link without error, but may produce a broken library.
9282         allow_undefined_flag='-berok'
9283         # Determine the default libpath from the value encoded in an
9284         # empty executable.
9285         if test "${lt_cv_aix_libpath+set}" = set; then
9286   aix_libpath=$lt_cv_aix_libpath
9287 else
9288   if ${lt_cv_aix_libpath_+:} false; then :
9289   $as_echo_n "(cached) " >&6
9290 else
9291   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9292 /* end confdefs.h.  */
9293
9294 int
9295 main ()
9296 {
9297
9298   ;
9299   return 0;
9300 }
9301 _ACEOF
9302 if ac_fn_c_try_link "$LINENO"; then :
9303
9304   lt_aix_libpath_sed='
9305       /Import File Strings/,/^$/ {
9306           /^0/ {
9307               s/^0  *\([^ ]*\) *$/\1/
9308               p
9309           }
9310       }'
9311   lt_cv_aix_libpath_=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
9312   # Check for a 64-bit object if we didn't find anything.
9313   if test -z "$lt_cv_aix_libpath_"; then
9314     lt_cv_aix_libpath_=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
9315   fi
9316 fi
9317 rm -f core conftest.err conftest.$ac_objext \
9318     conftest$ac_exeext conftest.$ac_ext
9319   if test -z "$lt_cv_aix_libpath_"; then
9320     lt_cv_aix_libpath_="/usr/lib:/lib"
9321   fi
9322
9323 fi
9324
9325   aix_libpath=$lt_cv_aix_libpath_
9326 fi
9327
9328         hardcode_libdir_flag_spec='${wl}-blibpath:$libdir:'"$aix_libpath"
9329         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"
9330       else
9331         if test "$host_cpu" = ia64; then
9332           hardcode_libdir_flag_spec='${wl}-R $libdir:/usr/lib:/lib'
9333           allow_undefined_flag="-z nodefs"
9334           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"
9335         else
9336          # Determine the default libpath from the value encoded in an
9337          # empty executable.
9338          if test "${lt_cv_aix_libpath+set}" = set; then
9339   aix_libpath=$lt_cv_aix_libpath
9340 else
9341   if ${lt_cv_aix_libpath_+:} false; then :
9342   $as_echo_n "(cached) " >&6
9343 else
9344   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9345 /* end confdefs.h.  */
9346
9347 int
9348 main ()
9349 {
9350
9351   ;
9352   return 0;
9353 }
9354 _ACEOF
9355 if ac_fn_c_try_link "$LINENO"; then :
9356
9357   lt_aix_libpath_sed='
9358       /Import File Strings/,/^$/ {
9359           /^0/ {
9360               s/^0  *\([^ ]*\) *$/\1/
9361               p
9362           }
9363       }'
9364   lt_cv_aix_libpath_=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
9365   # Check for a 64-bit object if we didn't find anything.
9366   if test -z "$lt_cv_aix_libpath_"; then
9367     lt_cv_aix_libpath_=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
9368   fi
9369 fi
9370 rm -f core conftest.err conftest.$ac_objext \
9371     conftest$ac_exeext conftest.$ac_ext
9372   if test -z "$lt_cv_aix_libpath_"; then
9373     lt_cv_aix_libpath_="/usr/lib:/lib"
9374   fi
9375
9376 fi
9377
9378   aix_libpath=$lt_cv_aix_libpath_
9379 fi
9380
9381          hardcode_libdir_flag_spec='${wl}-blibpath:$libdir:'"$aix_libpath"
9382           # Warning - without using the other run time loading flags,
9383           # -berok will link without error, but may produce a broken library.
9384           no_undefined_flag=' ${wl}-bernotok'
9385           allow_undefined_flag=' ${wl}-berok'
9386           if test "$with_gnu_ld" = yes; then
9387             # We only use this code for GNU lds that support --whole-archive.
9388             whole_archive_flag_spec='${wl}--whole-archive$convenience ${wl}--no-whole-archive'
9389           else
9390             # Exported symbols can be pulled into shared objects from archives
9391             whole_archive_flag_spec='$convenience'
9392           fi
9393           archive_cmds_need_lc=yes
9394           # This is similar to how AIX traditionally builds its shared libraries.
9395           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'
9396         fi
9397       fi
9398       ;;
9399
9400     amigaos*)
9401       case $host_cpu in
9402       powerpc)
9403             # see comment about AmigaOS4 .so support
9404             archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9405             archive_expsym_cmds=''
9406         ;;
9407       m68k)
9408             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)'
9409             hardcode_libdir_flag_spec='-L$libdir'
9410             hardcode_minus_L=yes
9411         ;;
9412       esac
9413       ;;
9414
9415     bsdi[45]*)
9416       export_dynamic_flag_spec=-rdynamic
9417       ;;
9418
9419     cygwin* | mingw* | pw32* | cegcc*)
9420       # When not using gcc, we currently assume that we are using
9421       # Microsoft Visual C++.
9422       # hardcode_libdir_flag_spec is actually meaningless, as there is
9423       # no search path for DLLs.
9424       case $cc_basename in
9425       cl*)
9426         # Native MSVC
9427         hardcode_libdir_flag_spec=' '
9428         allow_undefined_flag=unsupported
9429         always_export_symbols=yes
9430         file_list_spec='@'
9431         # Tell ltmain to make .lib files, not .a files.
9432         libext=lib
9433         # Tell ltmain to make .dll files, not .so files.
9434         shrext_cmds=".dll"
9435         # FIXME: Setting linknames here is a bad hack.
9436         archive_cmds='$CC -o $output_objdir/$soname $libobjs $compiler_flags $deplibs -Wl,-dll~linknames='
9437         archive_expsym_cmds='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
9438             sed -n -e 's/\\\\\\\(.*\\\\\\\)/-link\\\ -EXPORT:\\\\\\\1/' -e '1\\\!p' < $export_symbols > $output_objdir/$soname.exp;
9439           else
9440             sed -e 's/\\\\\\\(.*\\\\\\\)/-link\\\ -EXPORT:\\\\\\\1/' < $export_symbols > $output_objdir/$soname.exp;
9441           fi~
9442           $CC -o $tool_output_objdir$soname $libobjs $compiler_flags $deplibs "@$tool_output_objdir$soname.exp" -Wl,-DLL,-IMPLIB:"$tool_output_objdir$libname.dll.lib"~
9443           linknames='
9444         # The linker will not automatically build a static lib if we build a DLL.
9445         # _LT_TAGVAR(old_archive_from_new_cmds, )='true'
9446         enable_shared_with_static_runtimes=yes
9447         exclude_expsyms='_NULL_IMPORT_DESCRIPTOR|_IMPORT_DESCRIPTOR_.*'
9448         export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS][ ]/s/.*[ ]\([^ ]*\)/\1,DATA/'\'' | $SED -e '\''/^[AITW][ ]/s/.*[ ]//'\'' | sort | uniq > $export_symbols'
9449         # Don't use ranlib
9450         old_postinstall_cmds='chmod 644 $oldlib'
9451         postlink_cmds='lt_outputfile="@OUTPUT@"~
9452           lt_tool_outputfile="@TOOL_OUTPUT@"~
9453           case $lt_outputfile in
9454             *.exe|*.EXE) ;;
9455             *)
9456               lt_outputfile="$lt_outputfile.exe"
9457               lt_tool_outputfile="$lt_tool_outputfile.exe"
9458               ;;
9459           esac~
9460           if test "$MANIFEST_TOOL" != ":" && test -f "$lt_outputfile.manifest"; then
9461             $MANIFEST_TOOL -manifest "$lt_tool_outputfile.manifest" -outputresource:"$lt_tool_outputfile" || exit 1;
9462             $RM "$lt_outputfile.manifest";
9463           fi'
9464         ;;
9465       *)
9466         # Assume MSVC wrapper
9467         hardcode_libdir_flag_spec=' '
9468         allow_undefined_flag=unsupported
9469         # Tell ltmain to make .lib files, not .a files.
9470         libext=lib
9471         # Tell ltmain to make .dll files, not .so files.
9472         shrext_cmds=".dll"
9473         # FIXME: Setting linknames here is a bad hack.
9474         archive_cmds='$CC -o $lib $libobjs $compiler_flags `func_echo_all "$deplibs" | $SED '\''s/ -lc$//'\''` -link -dll~linknames='
9475         # The linker will automatically build a .lib file if we build a DLL.
9476         old_archive_from_new_cmds='true'
9477         # FIXME: Should let the user specify the lib program.
9478         old_archive_cmds='lib -OUT:$oldlib$oldobjs$old_deplibs'
9479         enable_shared_with_static_runtimes=yes
9480         ;;
9481       esac
9482       ;;
9483
9484     darwin* | rhapsody*)
9485
9486
9487   archive_cmds_need_lc=no
9488   hardcode_direct=no
9489   hardcode_automatic=yes
9490   hardcode_shlibpath_var=unsupported
9491   if test "$lt_cv_ld_force_load" = "yes"; then
9492     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\"`'
9493
9494   else
9495     whole_archive_flag_spec=''
9496   fi
9497   link_all_deplibs=yes
9498   allow_undefined_flag="$_lt_dar_allow_undefined"
9499   case $cc_basename in
9500      ifort*) _lt_dar_can_shared=yes ;;
9501      *) _lt_dar_can_shared=$GCC ;;
9502   esac
9503   if test "$_lt_dar_can_shared" = "yes"; then
9504     output_verbose_link_cmd=func_echo_all
9505     archive_cmds="\$CC -dynamiclib \$allow_undefined_flag -o \$lib \$libobjs \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring $_lt_dar_single_mod${_lt_dsymutil}"
9506     module_cmds="\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags${_lt_dsymutil}"
9507     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}"
9508     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}"
9509
9510   else
9511   ld_shlibs=no
9512   fi
9513
9514       ;;
9515
9516     dgux*)
9517       archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
9518       hardcode_libdir_flag_spec='-L$libdir'
9519       hardcode_shlibpath_var=no
9520       ;;
9521
9522     # FreeBSD 2.2.[012] allows us to include c++rt0.o to get C++ constructor
9523     # support.  Future versions do this automatically, but an explicit c++rt0.o
9524     # does not break anything, and helps significantly (at the cost of a little
9525     # extra space).
9526     freebsd2.2*)
9527       archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags /usr/lib/c++rt0.o'
9528       hardcode_libdir_flag_spec='-R$libdir'
9529       hardcode_direct=yes
9530       hardcode_shlibpath_var=no
9531       ;;
9532
9533     # Unfortunately, older versions of FreeBSD 2 do not have this feature.
9534     freebsd2.*)
9535       archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
9536       hardcode_direct=yes
9537       hardcode_minus_L=yes
9538       hardcode_shlibpath_var=no
9539       ;;
9540
9541     # FreeBSD 3 and greater uses gcc -shared to do shared libraries.
9542     freebsd* | dragonfly*)
9543       archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
9544       hardcode_libdir_flag_spec='-R$libdir'
9545       hardcode_direct=yes
9546       hardcode_shlibpath_var=no
9547       ;;
9548
9549     hpux9*)
9550       if test "$GCC" = yes; then
9551         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'
9552       else
9553         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'
9554       fi
9555       hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
9556       hardcode_libdir_separator=:
9557       hardcode_direct=yes
9558
9559       # hardcode_minus_L: Not really in the search PATH,
9560       # but as the default location of the library.
9561       hardcode_minus_L=yes
9562       export_dynamic_flag_spec='${wl}-E'
9563       ;;
9564
9565     hpux10*)
9566       if test "$GCC" = yes && test "$with_gnu_ld" = no; then
9567         archive_cmds='$CC -shared $pic_flag ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
9568       else
9569         archive_cmds='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
9570       fi
9571       if test "$with_gnu_ld" = no; then
9572         hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
9573         hardcode_libdir_separator=:
9574         hardcode_direct=yes
9575         hardcode_direct_absolute=yes
9576         export_dynamic_flag_spec='${wl}-E'
9577         # hardcode_minus_L: Not really in the search PATH,
9578         # but as the default location of the library.
9579         hardcode_minus_L=yes
9580       fi
9581       ;;
9582
9583     hpux11*)
9584       if test "$GCC" = yes && test "$with_gnu_ld" = no; then
9585         case $host_cpu in
9586         hppa*64*)
9587           archive_cmds='$CC -shared ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
9588           ;;
9589         ia64*)
9590           archive_cmds='$CC -shared $pic_flag ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
9591           ;;
9592         *)
9593           archive_cmds='$CC -shared $pic_flag ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
9594           ;;
9595         esac
9596       else
9597         case $host_cpu in
9598         hppa*64*)
9599           archive_cmds='$CC -b ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
9600           ;;
9601         ia64*)
9602           archive_cmds='$CC -b ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
9603           ;;
9604         *)
9605
9606           # Older versions of the 11.00 compiler do not understand -b yet
9607           # (HP92453-01 A.11.01.20 doesn't, HP92453-01 B.11.X.35175-35176.GP does)
9608           { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC understands -b" >&5
9609 $as_echo_n "checking if $CC understands -b... " >&6; }
9610 if ${lt_cv_prog_compiler__b+:} false; then :
9611   $as_echo_n "(cached) " >&6
9612 else
9613   lt_cv_prog_compiler__b=no
9614    save_LDFLAGS="$LDFLAGS"
9615    LDFLAGS="$LDFLAGS -b"
9616    echo "$lt_simple_link_test_code" > conftest.$ac_ext
9617    if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
9618      # The linker can only warn and ignore the option if not recognized
9619      # So say no if there are warnings
9620      if test -s conftest.err; then
9621        # Append any errors to the config.log.
9622        cat conftest.err 1>&5
9623        $ECHO "$_lt_linker_boilerplate" | $SED '/^$/d' > conftest.exp
9624        $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
9625        if diff conftest.exp conftest.er2 >/dev/null; then
9626          lt_cv_prog_compiler__b=yes
9627        fi
9628      else
9629        lt_cv_prog_compiler__b=yes
9630      fi
9631    fi
9632    $RM -r conftest*
9633    LDFLAGS="$save_LDFLAGS"
9634
9635 fi
9636 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler__b" >&5
9637 $as_echo "$lt_cv_prog_compiler__b" >&6; }
9638
9639 if test x"$lt_cv_prog_compiler__b" = xyes; then
9640     archive_cmds='$CC -b ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
9641 else
9642     archive_cmds='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
9643 fi
9644
9645           ;;
9646         esac
9647       fi
9648       if test "$with_gnu_ld" = no; then
9649         hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
9650         hardcode_libdir_separator=:
9651
9652         case $host_cpu in
9653         hppa*64*|ia64*)
9654           hardcode_direct=no
9655           hardcode_shlibpath_var=no
9656           ;;
9657         *)
9658           hardcode_direct=yes
9659           hardcode_direct_absolute=yes
9660           export_dynamic_flag_spec='${wl}-E'
9661
9662           # hardcode_minus_L: Not really in the search PATH,
9663           # but as the default location of the library.
9664           hardcode_minus_L=yes
9665           ;;
9666         esac
9667       fi
9668       ;;
9669
9670     irix5* | irix6* | nonstopux*)
9671       if test "$GCC" = yes; then
9672         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'
9673         # Try to use the -exported_symbol ld option, if it does not
9674         # work, assume that -exports_file does not work either and
9675         # implicitly export all symbols.
9676         # This should be the same for all languages, so no per-tag cache variable.
9677         { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $host_os linker accepts -exported_symbol" >&5
9678 $as_echo_n "checking whether the $host_os linker accepts -exported_symbol... " >&6; }
9679 if ${lt_cv_irix_exported_symbol+:} false; then :
9680   $as_echo_n "(cached) " >&6
9681 else
9682   save_LDFLAGS="$LDFLAGS"
9683            LDFLAGS="$LDFLAGS -shared ${wl}-exported_symbol ${wl}foo ${wl}-update_registry ${wl}/dev/null"
9684            cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9685 /* end confdefs.h.  */
9686 int foo (void) { return 0; }
9687 _ACEOF
9688 if ac_fn_c_try_link "$LINENO"; then :
9689   lt_cv_irix_exported_symbol=yes
9690 else
9691   lt_cv_irix_exported_symbol=no
9692 fi
9693 rm -f core conftest.err conftest.$ac_objext \
9694     conftest$ac_exeext conftest.$ac_ext
9695            LDFLAGS="$save_LDFLAGS"
9696 fi
9697 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_irix_exported_symbol" >&5
9698 $as_echo "$lt_cv_irix_exported_symbol" >&6; }
9699         if test "$lt_cv_irix_exported_symbol" = yes; then
9700           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'
9701         fi
9702       else
9703         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'
9704         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'
9705       fi
9706       archive_cmds_need_lc='no'
9707       hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
9708       hardcode_libdir_separator=:
9709       inherit_rpath=yes
9710       link_all_deplibs=yes
9711       ;;
9712
9713     netbsd* | netbsdelf*-gnu)
9714       if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
9715         archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'  # a.out
9716       else
9717         archive_cmds='$LD -shared -o $lib $libobjs $deplibs $linker_flags'      # ELF
9718       fi
9719       hardcode_libdir_flag_spec='-R$libdir'
9720       hardcode_direct=yes
9721       hardcode_shlibpath_var=no
9722       ;;
9723
9724     newsos6)
9725       archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
9726       hardcode_direct=yes
9727       hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
9728       hardcode_libdir_separator=:
9729       hardcode_shlibpath_var=no
9730       ;;
9731
9732     *nto* | *qnx*)
9733       ;;
9734
9735     openbsd*)
9736       if test -f /usr/libexec/ld.so; then
9737         hardcode_direct=yes
9738         hardcode_shlibpath_var=no
9739         hardcode_direct_absolute=yes
9740         if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
9741           archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
9742           archive_expsym_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-retain-symbols-file,$export_symbols'
9743           hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
9744           export_dynamic_flag_spec='${wl}-E'
9745         else
9746           case $host_os in
9747            openbsd[01].* | openbsd2.[0-7] | openbsd2.[0-7].*)
9748              archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
9749              hardcode_libdir_flag_spec='-R$libdir'
9750              ;;
9751            *)
9752              archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
9753              hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
9754              ;;
9755           esac
9756         fi
9757       else
9758         ld_shlibs=no
9759       fi
9760       ;;
9761
9762     os2*)
9763       hardcode_libdir_flag_spec='-L$libdir'
9764       hardcode_minus_L=yes
9765       allow_undefined_flag=unsupported
9766       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'
9767       old_archive_from_new_cmds='emximp -o $output_objdir/$libname.a $output_objdir/$libname.def'
9768       ;;
9769
9770     osf3*)
9771       if test "$GCC" = yes; then
9772         allow_undefined_flag=' ${wl}-expect_unresolved ${wl}\*'
9773         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'
9774       else
9775         allow_undefined_flag=' -expect_unresolved \*'
9776         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'
9777       fi
9778       archive_cmds_need_lc='no'
9779       hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
9780       hardcode_libdir_separator=:
9781       ;;
9782
9783     osf4* | osf5*)      # as osf3* with the addition of -msym flag
9784       if test "$GCC" = yes; then
9785         allow_undefined_flag=' ${wl}-expect_unresolved ${wl}\*'
9786         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'
9787         hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
9788       else
9789         allow_undefined_flag=' -expect_unresolved \*'
9790         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'
9791         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~
9792         $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'
9793
9794         # Both c and cxx compiler support -rpath directly
9795         hardcode_libdir_flag_spec='-rpath $libdir'
9796       fi
9797       archive_cmds_need_lc='no'
9798       hardcode_libdir_separator=:
9799       ;;
9800
9801     solaris*)
9802       no_undefined_flag=' -z defs'
9803       if test "$GCC" = yes; then
9804         wlarc='${wl}'
9805         archive_cmds='$CC -shared $pic_flag ${wl}-z ${wl}text ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
9806         archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
9807           $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'
9808       else
9809         case `$CC -V 2>&1` in
9810         *"Compilers 5.0"*)
9811           wlarc=''
9812           archive_cmds='$LD -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $linker_flags'
9813           archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
9814           $LD -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$RM $lib.exp'
9815           ;;
9816         *)
9817           wlarc='${wl}'
9818           archive_cmds='$CC -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $compiler_flags'
9819           archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
9820           $CC -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $compiler_flags~$RM $lib.exp'
9821           ;;
9822         esac
9823       fi
9824       hardcode_libdir_flag_spec='-R$libdir'
9825       hardcode_shlibpath_var=no
9826       case $host_os in
9827       solaris2.[0-5] | solaris2.[0-5].*) ;;
9828       *)
9829         # The compiler driver will combine and reorder linker options,
9830         # but understands `-z linker_flag'.  GCC discards it without `$wl',
9831         # but is careful enough not to reorder.
9832         # Supported since Solaris 2.6 (maybe 2.5.1?)
9833         if test "$GCC" = yes; then
9834           whole_archive_flag_spec='${wl}-z ${wl}allextract$convenience ${wl}-z ${wl}defaultextract'
9835         else
9836           whole_archive_flag_spec='-z allextract$convenience -z defaultextract'
9837         fi
9838         ;;
9839       esac
9840       link_all_deplibs=yes
9841       ;;
9842
9843     sunos4*)
9844       if test "x$host_vendor" = xsequent; then
9845         # Use $CC to link under sequent, because it throws in some extra .o
9846         # files that make .init and .fini sections work.
9847         archive_cmds='$CC -G ${wl}-h $soname -o $lib $libobjs $deplibs $compiler_flags'
9848       else
9849         archive_cmds='$LD -assert pure-text -Bstatic -o $lib $libobjs $deplibs $linker_flags'
9850       fi
9851       hardcode_libdir_flag_spec='-L$libdir'
9852       hardcode_direct=yes
9853       hardcode_minus_L=yes
9854       hardcode_shlibpath_var=no
9855       ;;
9856
9857     sysv4)
9858       case $host_vendor in
9859         sni)
9860           archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
9861           hardcode_direct=yes # is this really true???
9862         ;;
9863         siemens)
9864           ## LD is ld it makes a PLAMLIB
9865           ## CC just makes a GrossModule.
9866           archive_cmds='$LD -G -o $lib $libobjs $deplibs $linker_flags'
9867           reload_cmds='$CC -r -o $output$reload_objs'
9868           hardcode_direct=no
9869         ;;
9870         motorola)
9871           archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
9872           hardcode_direct=no #Motorola manual says yes, but my tests say they lie
9873         ;;
9874       esac
9875       runpath_var='LD_RUN_PATH'
9876       hardcode_shlibpath_var=no
9877       ;;
9878
9879     sysv4.3*)
9880       archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
9881       hardcode_shlibpath_var=no
9882       export_dynamic_flag_spec='-Bexport'
9883       ;;
9884
9885     sysv4*MP*)
9886       if test -d /usr/nec; then
9887         archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
9888         hardcode_shlibpath_var=no
9889         runpath_var=LD_RUN_PATH
9890         hardcode_runpath_var=yes
9891         ld_shlibs=yes
9892       fi
9893       ;;
9894
9895     sysv4*uw2* | sysv5OpenUNIX* | sysv5UnixWare7.[01].[10]* | unixware7* | sco3.2v5.0.[024]*)
9896       no_undefined_flag='${wl}-z,text'
9897       archive_cmds_need_lc=no
9898       hardcode_shlibpath_var=no
9899       runpath_var='LD_RUN_PATH'
9900
9901       if test "$GCC" = yes; then
9902         archive_cmds='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
9903         archive_expsym_cmds='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
9904       else
9905         archive_cmds='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
9906         archive_expsym_cmds='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
9907       fi
9908       ;;
9909
9910     sysv5* | sco3.2v5* | sco5v6*)
9911       # Note: We can NOT use -z defs as we might desire, because we do not
9912       # link with -lc, and that would cause any symbols used from libc to
9913       # always be unresolved, which means just about no library would
9914       # ever link correctly.  If we're not using GNU ld we use -z text
9915       # though, which does catch some bad symbols but isn't as heavy-handed
9916       # as -z defs.
9917       no_undefined_flag='${wl}-z,text'
9918       allow_undefined_flag='${wl}-z,nodefs'
9919       archive_cmds_need_lc=no
9920       hardcode_shlibpath_var=no
9921       hardcode_libdir_flag_spec='${wl}-R,$libdir'
9922       hardcode_libdir_separator=':'
9923       link_all_deplibs=yes
9924       export_dynamic_flag_spec='${wl}-Bexport'
9925       runpath_var='LD_RUN_PATH'
9926
9927       if test "$GCC" = yes; then
9928         archive_cmds='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
9929         archive_expsym_cmds='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
9930       else
9931         archive_cmds='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
9932         archive_expsym_cmds='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
9933       fi
9934       ;;
9935
9936     uts4*)
9937       archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
9938       hardcode_libdir_flag_spec='-L$libdir'
9939       hardcode_shlibpath_var=no
9940       ;;
9941
9942     *)
9943       ld_shlibs=no
9944       ;;
9945     esac
9946
9947     if test x$host_vendor = xsni; then
9948       case $host in
9949       sysv4 | sysv4.2uw2* | sysv4.3* | sysv5*)
9950         export_dynamic_flag_spec='${wl}-Blargedynsym'
9951         ;;
9952       esac
9953     fi
9954   fi
9955
9956 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ld_shlibs" >&5
9957 $as_echo "$ld_shlibs" >&6; }
9958 test "$ld_shlibs" = no && can_build_shared=no
9959
9960 with_gnu_ld=$with_gnu_ld
9961
9962
9963
9964
9965
9966
9967
9968
9969
9970
9971
9972
9973
9974
9975
9976 #
9977 # Do we need to explicitly link libc?
9978 #
9979 case "x$archive_cmds_need_lc" in
9980 x|xyes)
9981   # Assume -lc should be added
9982   archive_cmds_need_lc=yes
9983
9984   if test "$enable_shared" = yes && test "$GCC" = yes; then
9985     case $archive_cmds in
9986     *'~'*)
9987       # FIXME: we may have to deal with multi-command sequences.
9988       ;;
9989     '$CC '*)
9990       # Test whether the compiler implicitly links with -lc since on some
9991       # systems, -lgcc has to come before -lc. If gcc already passes -lc
9992       # to ld, don't add -lc before -lgcc.
9993       { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether -lc should be explicitly linked in" >&5
9994 $as_echo_n "checking whether -lc should be explicitly linked in... " >&6; }
9995 if ${lt_cv_archive_cmds_need_lc+:} false; then :
9996   $as_echo_n "(cached) " >&6
9997 else
9998   $RM conftest*
9999         echo "$lt_simple_compile_test_code" > conftest.$ac_ext
10000
10001         if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
10002   (eval $ac_compile) 2>&5
10003   ac_status=$?
10004   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
10005   test $ac_status = 0; } 2>conftest.err; then
10006           soname=conftest
10007           lib=conftest
10008           libobjs=conftest.$ac_objext
10009           deplibs=
10010           wl=$lt_prog_compiler_wl
10011           pic_flag=$lt_prog_compiler_pic
10012           compiler_flags=-v
10013           linker_flags=-v
10014           verstring=
10015           output_objdir=.
10016           libname=conftest
10017           lt_save_allow_undefined_flag=$allow_undefined_flag
10018           allow_undefined_flag=
10019           if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$archive_cmds 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1\""; } >&5
10020   (eval $archive_cmds 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1) 2>&5
10021   ac_status=$?
10022   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
10023   test $ac_status = 0; }
10024           then
10025             lt_cv_archive_cmds_need_lc=no
10026           else
10027             lt_cv_archive_cmds_need_lc=yes
10028           fi
10029           allow_undefined_flag=$lt_save_allow_undefined_flag
10030         else
10031           cat conftest.err 1>&5
10032         fi
10033         $RM conftest*
10034
10035 fi
10036 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_archive_cmds_need_lc" >&5
10037 $as_echo "$lt_cv_archive_cmds_need_lc" >&6; }
10038       archive_cmds_need_lc=$lt_cv_archive_cmds_need_lc
10039       ;;
10040     esac
10041   fi
10042   ;;
10043 esac
10044
10045
10046
10047
10048
10049
10050
10051
10052
10053
10054
10055
10056
10057
10058
10059
10060
10061
10062
10063
10064
10065
10066
10067
10068
10069
10070
10071
10072
10073
10074
10075
10076
10077
10078
10079
10080
10081
10082
10083
10084
10085
10086
10087
10088
10089
10090
10091
10092
10093
10094
10095
10096
10097
10098
10099
10100
10101
10102
10103
10104
10105
10106
10107
10108
10109
10110
10111
10112
10113
10114
10115
10116
10117
10118
10119
10120
10121
10122
10123
10124
10125
10126
10127
10128
10129
10130
10131
10132
10133
10134
10135
10136
10137
10138
10139
10140
10141
10142
10143
10144
10145
10146
10147
10148
10149
10150
10151
10152
10153
10154
10155
10156
10157
10158
10159
10160
10161
10162
10163
10164
10165
10166
10167
10168
10169
10170
10171
10172
10173
10174
10175
10176
10177
10178
10179
10180
10181
10182
10183
10184
10185
10186
10187
10188
10189
10190
10191
10192
10193
10194
10195
10196   { $as_echo "$as_me:${as_lineno-$LINENO}: checking dynamic linker characteristics" >&5
10197 $as_echo_n "checking dynamic linker characteristics... " >&6; }
10198
10199 if test "$GCC" = yes; then
10200   case $host_os in
10201     darwin*) lt_awk_arg="/^libraries:/,/LR/" ;;
10202     *) lt_awk_arg="/^libraries:/" ;;
10203   esac
10204   case $host_os in
10205     mingw* | cegcc*) lt_sed_strip_eq="s,=\([A-Za-z]:\),\1,g" ;;
10206     *) lt_sed_strip_eq="s,=/,/,g" ;;
10207   esac
10208   lt_search_path_spec=`$CC -print-search-dirs | awk $lt_awk_arg | $SED -e "s/^libraries://" -e $lt_sed_strip_eq`
10209   case $lt_search_path_spec in
10210   *\;*)
10211     # if the path contains ";" then we assume it to be the separator
10212     # otherwise default to the standard path separator (i.e. ":") - it is
10213     # assumed that no part of a normal pathname contains ";" but that should
10214     # okay in the real world where ";" in dirpaths is itself problematic.
10215     lt_search_path_spec=`$ECHO "$lt_search_path_spec" | $SED 's/;/ /g'`
10216     ;;
10217   *)
10218     lt_search_path_spec=`$ECHO "$lt_search_path_spec" | $SED "s/$PATH_SEPARATOR/ /g"`
10219     ;;
10220   esac
10221   # Ok, now we have the path, separated by spaces, we can step through it
10222   # and add multilib dir if necessary.
10223   lt_tmp_lt_search_path_spec=
10224   lt_multi_os_dir=`$CC $CPPFLAGS $CFLAGS $LDFLAGS -print-multi-os-directory 2>/dev/null`
10225   for lt_sys_path in $lt_search_path_spec; do
10226     if test -d "$lt_sys_path/$lt_multi_os_dir"; then
10227       lt_tmp_lt_search_path_spec="$lt_tmp_lt_search_path_spec $lt_sys_path/$lt_multi_os_dir"
10228     else
10229       test -d "$lt_sys_path" && \
10230         lt_tmp_lt_search_path_spec="$lt_tmp_lt_search_path_spec $lt_sys_path"
10231     fi
10232   done
10233   lt_search_path_spec=`$ECHO "$lt_tmp_lt_search_path_spec" | awk '
10234 BEGIN {RS=" "; FS="/|\n";} {
10235   lt_foo="";
10236   lt_count=0;
10237   for (lt_i = NF; lt_i > 0; lt_i--) {
10238     if ($lt_i != "" && $lt_i != ".") {
10239       if ($lt_i == "..") {
10240         lt_count++;
10241       } else {
10242         if (lt_count == 0) {
10243           lt_foo="/" $lt_i lt_foo;
10244         } else {
10245           lt_count--;
10246         }
10247       }
10248     }
10249   }
10250   if (lt_foo != "") { lt_freq[lt_foo]++; }
10251   if (lt_freq[lt_foo] == 1) { print lt_foo; }
10252 }'`
10253   # AWK program above erroneously prepends '/' to C:/dos/paths
10254   # for these hosts.
10255   case $host_os in
10256     mingw* | cegcc*) lt_search_path_spec=`$ECHO "$lt_search_path_spec" |\
10257       $SED 's,/\([A-Za-z]:\),\1,g'` ;;
10258   esac
10259   sys_lib_search_path_spec=`$ECHO "$lt_search_path_spec" | $lt_NL2SP`
10260 else
10261   sys_lib_search_path_spec="/lib /usr/lib /usr/local/lib"
10262 fi
10263 library_names_spec=
10264 libname_spec='lib$name'
10265 soname_spec=
10266 shrext_cmds=".so"
10267 postinstall_cmds=
10268 postuninstall_cmds=
10269 finish_cmds=
10270 finish_eval=
10271 shlibpath_var=
10272 shlibpath_overrides_runpath=unknown
10273 version_type=none
10274 dynamic_linker="$host_os ld.so"
10275 sys_lib_dlsearch_path_spec="/lib /usr/lib"
10276 need_lib_prefix=unknown
10277 hardcode_into_libs=no
10278
10279 # when you set need_version to no, make sure it does not cause -set_version
10280 # flags to be left without arguments
10281 need_version=unknown
10282
10283 case $host_os in
10284 aix3*)
10285   version_type=linux # correct to gnu/linux during the next big refactor
10286   library_names_spec='${libname}${release}${shared_ext}$versuffix $libname.a'
10287   shlibpath_var=LIBPATH
10288
10289   # AIX 3 has no versioning support, so we append a major version to the name.
10290   soname_spec='${libname}${release}${shared_ext}$major'
10291   ;;
10292
10293 aix[4-9]*)
10294   version_type=linux # correct to gnu/linux during the next big refactor
10295   need_lib_prefix=no
10296   need_version=no
10297   hardcode_into_libs=yes
10298   if test "$host_cpu" = ia64; then
10299     # AIX 5 supports IA64
10300     library_names_spec='${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext}$versuffix $libname${shared_ext}'
10301     shlibpath_var=LD_LIBRARY_PATH
10302   else
10303     # With GCC up to 2.95.x, collect2 would create an import file
10304     # for dependence libraries.  The import file would start with
10305     # the line `#! .'.  This would cause the generated library to
10306     # depend on `.', always an invalid library.  This was fixed in
10307     # development snapshots of GCC prior to 3.0.
10308     case $host_os in
10309       aix4 | aix4.[01] | aix4.[01].*)
10310       if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
10311            echo ' yes '
10312            echo '#endif'; } | ${CC} -E - | $GREP yes > /dev/null; then
10313         :
10314       else
10315         can_build_shared=no
10316       fi
10317       ;;
10318     esac
10319     # AIX (on Power*) has no versioning support, so currently we can not hardcode correct
10320     # soname into executable. Probably we can add versioning support to
10321     # collect2, so additional links can be useful in future.
10322     if test "$aix_use_runtimelinking" = yes; then
10323       # If using run time linking (on AIX 4.2 or later) use lib<name>.so
10324       # instead of lib<name>.a to let people know that these are not
10325       # typical AIX shared libraries.
10326       library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10327     else
10328       # We preserve .a as extension for shared libraries through AIX4.2
10329       # and later when we are not doing run time linking.
10330       library_names_spec='${libname}${release}.a $libname.a'
10331       soname_spec='${libname}${release}${shared_ext}$major'
10332     fi
10333     shlibpath_var=LIBPATH
10334   fi
10335   ;;
10336
10337 amigaos*)
10338   case $host_cpu in
10339   powerpc)
10340     # Since July 2007 AmigaOS4 officially supports .so libraries.
10341     # When compiling the executable, add -use-dynld -Lsobjs: to the compileline.
10342     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10343     ;;
10344   m68k)
10345     library_names_spec='$libname.ixlibrary $libname.a'
10346     # Create ${libname}_ixlibrary.a entries in /sys/libs.
10347     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'
10348     ;;
10349   esac
10350   ;;
10351
10352 beos*)
10353   library_names_spec='${libname}${shared_ext}'
10354   dynamic_linker="$host_os ld.so"
10355   shlibpath_var=LIBRARY_PATH
10356   ;;
10357
10358 bsdi[45]*)
10359   version_type=linux # correct to gnu/linux during the next big refactor
10360   need_version=no
10361   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10362   soname_spec='${libname}${release}${shared_ext}$major'
10363   finish_cmds='PATH="\$PATH:/sbin" ldconfig $libdir'
10364   shlibpath_var=LD_LIBRARY_PATH
10365   sys_lib_search_path_spec="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
10366   sys_lib_dlsearch_path_spec="/shlib /usr/lib /usr/local/lib"
10367   # the default ld.so.conf also contains /usr/contrib/lib and
10368   # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
10369   # libtool to hard-code these into programs
10370   ;;
10371
10372 cygwin* | mingw* | pw32* | cegcc*)
10373   version_type=windows
10374   shrext_cmds=".dll"
10375   need_version=no
10376   need_lib_prefix=no
10377
10378   case $GCC,$cc_basename in
10379   yes,*)
10380     # gcc
10381     library_names_spec='$libname.dll.a'
10382     # DLL is installed to $(libdir)/../bin by postinstall_cmds
10383     postinstall_cmds='base_file=`basename \${file}`~
10384       dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i; echo \$dlname'\''`~
10385       dldir=$destdir/`dirname \$dlpath`~
10386       test -d \$dldir || mkdir -p \$dldir~
10387       $install_prog $dir/$dlname \$dldir/$dlname~
10388       chmod a+x \$dldir/$dlname~
10389       if test -n '\''$stripme'\'' && test -n '\''$striplib'\''; then
10390         eval '\''$striplib \$dldir/$dlname'\'' || exit \$?;
10391       fi'
10392     postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
10393       dlpath=$dir/\$dldll~
10394        $RM \$dlpath'
10395     shlibpath_overrides_runpath=yes
10396
10397     case $host_os in
10398     cygwin*)
10399       # Cygwin DLLs use 'cyg' prefix rather than 'lib'
10400       soname_spec='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
10401
10402       sys_lib_search_path_spec="$sys_lib_search_path_spec /usr/lib/w32api"
10403       ;;
10404     mingw* | cegcc*)
10405       # MinGW DLLs use traditional 'lib' prefix
10406       soname_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
10407       ;;
10408     pw32*)
10409       # pw32 DLLs use 'pw' prefix rather than 'lib'
10410       library_names_spec='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
10411       ;;
10412     esac
10413     dynamic_linker='Win32 ld.exe'
10414     ;;
10415
10416   *,cl*)
10417     # Native MSVC
10418     libname_spec='$name'
10419     soname_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
10420     library_names_spec='${libname}.dll.lib'
10421
10422     case $build_os in
10423     mingw*)
10424       sys_lib_search_path_spec=
10425       lt_save_ifs=$IFS
10426       IFS=';'
10427       for lt_path in $LIB
10428       do
10429         IFS=$lt_save_ifs
10430         # Let DOS variable expansion print the short 8.3 style file name.
10431         lt_path=`cd "$lt_path" 2>/dev/null && cmd //C "for %i in (".") do @echo %~si"`
10432         sys_lib_search_path_spec="$sys_lib_search_path_spec $lt_path"
10433       done
10434       IFS=$lt_save_ifs
10435       # Convert to MSYS style.
10436       sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | sed -e 's|\\\\|/|g' -e 's| \\([a-zA-Z]\\):| /\\1|g' -e 's|^ ||'`
10437       ;;
10438     cygwin*)
10439       # Convert to unix form, then to dos form, then back to unix form
10440       # but this time dos style (no spaces!) so that the unix form looks
10441       # like /cygdrive/c/PROGRA~1:/cygdr...
10442       sys_lib_search_path_spec=`cygpath --path --unix "$LIB"`
10443       sys_lib_search_path_spec=`cygpath --path --dos "$sys_lib_search_path_spec" 2>/dev/null`
10444       sys_lib_search_path_spec=`cygpath --path --unix "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
10445       ;;
10446     *)
10447       sys_lib_search_path_spec="$LIB"
10448       if $ECHO "$sys_lib_search_path_spec" | $GREP ';[c-zC-Z]:/' >/dev/null; then
10449         # It is most probably a Windows format PATH.
10450         sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
10451       else
10452         sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
10453       fi
10454       # FIXME: find the short name or the path components, as spaces are
10455       # common. (e.g. "Program Files" -> "PROGRA~1")
10456       ;;
10457     esac
10458
10459     # DLL is installed to $(libdir)/../bin by postinstall_cmds
10460     postinstall_cmds='base_file=`basename \${file}`~
10461       dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i; echo \$dlname'\''`~
10462       dldir=$destdir/`dirname \$dlpath`~
10463       test -d \$dldir || mkdir -p \$dldir~
10464       $install_prog $dir/$dlname \$dldir/$dlname'
10465     postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
10466       dlpath=$dir/\$dldll~
10467        $RM \$dlpath'
10468     shlibpath_overrides_runpath=yes
10469     dynamic_linker='Win32 link.exe'
10470     ;;
10471
10472   *)
10473     # Assume MSVC wrapper
10474     library_names_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext} $libname.lib'
10475     dynamic_linker='Win32 ld.exe'
10476     ;;
10477   esac
10478   # FIXME: first we should search . and the directory the executable is in
10479   shlibpath_var=PATH
10480   ;;
10481
10482 darwin* | rhapsody*)
10483   dynamic_linker="$host_os dyld"
10484   version_type=darwin
10485   need_lib_prefix=no
10486   need_version=no
10487   library_names_spec='${libname}${release}${major}$shared_ext ${libname}$shared_ext'
10488   soname_spec='${libname}${release}${major}$shared_ext'
10489   shlibpath_overrides_runpath=yes
10490   shlibpath_var=DYLD_LIBRARY_PATH
10491   shrext_cmds='`test .$module = .yes && echo .so || echo .dylib`'
10492
10493   sys_lib_search_path_spec="$sys_lib_search_path_spec /usr/local/lib"
10494   sys_lib_dlsearch_path_spec='/usr/local/lib /lib /usr/lib'
10495   ;;
10496
10497 dgux*)
10498   version_type=linux # correct to gnu/linux during the next big refactor
10499   need_lib_prefix=no
10500   need_version=no
10501   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname$shared_ext'
10502   soname_spec='${libname}${release}${shared_ext}$major'
10503   shlibpath_var=LD_LIBRARY_PATH
10504   ;;
10505
10506 freebsd* | dragonfly*)
10507   # DragonFly does not have aout.  When/if they implement a new
10508   # versioning mechanism, adjust this.
10509   if test -x /usr/bin/objformat; then
10510     objformat=`/usr/bin/objformat`
10511   else
10512     case $host_os in
10513     freebsd[23].*) objformat=aout ;;
10514     *) objformat=elf ;;
10515     esac
10516   fi
10517   version_type=freebsd-$objformat
10518   case $version_type in
10519     freebsd-elf*)
10520       library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
10521       need_version=no
10522       need_lib_prefix=no
10523       ;;
10524     freebsd-*)
10525       library_names_spec='${libname}${release}${shared_ext}$versuffix $libname${shared_ext}$versuffix'
10526       need_version=yes
10527       ;;
10528   esac
10529   shlibpath_var=LD_LIBRARY_PATH
10530   case $host_os in
10531   freebsd2.*)
10532     shlibpath_overrides_runpath=yes
10533     ;;
10534   freebsd3.[01]* | freebsdelf3.[01]*)
10535     shlibpath_overrides_runpath=yes
10536     hardcode_into_libs=yes
10537     ;;
10538   freebsd3.[2-9]* | freebsdelf3.[2-9]* | \
10539   freebsd4.[0-5] | freebsdelf4.[0-5] | freebsd4.1.1 | freebsdelf4.1.1)
10540     shlibpath_overrides_runpath=no
10541     hardcode_into_libs=yes
10542     ;;
10543   *) # from 4.6 on, and DragonFly
10544     shlibpath_overrides_runpath=yes
10545     hardcode_into_libs=yes
10546     ;;
10547   esac
10548   ;;
10549
10550 gnu*)
10551   version_type=linux # correct to gnu/linux during the next big refactor
10552   need_lib_prefix=no
10553   need_version=no
10554   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
10555   soname_spec='${libname}${release}${shared_ext}$major'
10556   shlibpath_var=LD_LIBRARY_PATH
10557   shlibpath_overrides_runpath=no
10558   hardcode_into_libs=yes
10559   ;;
10560
10561 haiku*)
10562   version_type=linux # correct to gnu/linux during the next big refactor
10563   need_lib_prefix=no
10564   need_version=no
10565   dynamic_linker="$host_os runtime_loader"
10566   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
10567   soname_spec='${libname}${release}${shared_ext}$major'
10568   shlibpath_var=LIBRARY_PATH
10569   shlibpath_overrides_runpath=yes
10570   sys_lib_dlsearch_path_spec='/boot/home/config/lib /boot/common/lib /boot/system/lib'
10571   hardcode_into_libs=yes
10572   ;;
10573
10574 hpux9* | hpux10* | hpux11*)
10575   # Give a soname corresponding to the major version so that dld.sl refuses to
10576   # link against other versions.
10577   version_type=sunos
10578   need_lib_prefix=no
10579   need_version=no
10580   case $host_cpu in
10581   ia64*)
10582     shrext_cmds='.so'
10583     hardcode_into_libs=yes
10584     dynamic_linker="$host_os dld.so"
10585     shlibpath_var=LD_LIBRARY_PATH
10586     shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
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     if test "X$HPUX_IA64_MODE" = X32; then
10590       sys_lib_search_path_spec="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
10591     else
10592       sys_lib_search_path_spec="/usr/lib/hpux64 /usr/local/lib/hpux64"
10593     fi
10594     sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
10595     ;;
10596   hppa*64*)
10597     shrext_cmds='.sl'
10598     hardcode_into_libs=yes
10599     dynamic_linker="$host_os dld.sl"
10600     shlibpath_var=LD_LIBRARY_PATH # How should we handle SHLIB_PATH
10601     shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
10602     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10603     soname_spec='${libname}${release}${shared_ext}$major'
10604     sys_lib_search_path_spec="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
10605     sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
10606     ;;
10607   *)
10608     shrext_cmds='.sl'
10609     dynamic_linker="$host_os dld.sl"
10610     shlibpath_var=SHLIB_PATH
10611     shlibpath_overrides_runpath=no # +s is required to enable SHLIB_PATH
10612     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10613     soname_spec='${libname}${release}${shared_ext}$major'
10614     ;;
10615   esac
10616   # HP-UX runs *really* slowly unless shared libraries are mode 555, ...
10617   postinstall_cmds='chmod 555 $lib'
10618   # or fails outright, so override atomically:
10619   install_override_mode=555
10620   ;;
10621
10622 interix[3-9]*)
10623   version_type=linux # correct to gnu/linux during the next big refactor
10624   need_lib_prefix=no
10625   need_version=no
10626   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
10627   soname_spec='${libname}${release}${shared_ext}$major'
10628   dynamic_linker='Interix 3.x ld.so.1 (PE, like ELF)'
10629   shlibpath_var=LD_LIBRARY_PATH
10630   shlibpath_overrides_runpath=no
10631   hardcode_into_libs=yes
10632   ;;
10633
10634 irix5* | irix6* | nonstopux*)
10635   case $host_os in
10636     nonstopux*) version_type=nonstopux ;;
10637     *)
10638         if test "$lt_cv_prog_gnu_ld" = yes; then
10639                 version_type=linux # correct to gnu/linux during the next big refactor
10640         else
10641                 version_type=irix
10642         fi ;;
10643   esac
10644   need_lib_prefix=no
10645   need_version=no
10646   soname_spec='${libname}${release}${shared_ext}$major'
10647   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} $libname${shared_ext}'
10648   case $host_os in
10649   irix5* | nonstopux*)
10650     libsuff= shlibsuff=
10651     ;;
10652   *)
10653     case $LD in # libtool.m4 will add one of these switches to LD
10654     *-32|*"-32 "|*-melf32bsmip|*"-melf32bsmip ")
10655       libsuff= shlibsuff= libmagic=32-bit;;
10656     *-n32|*"-n32 "|*-melf32bmipn32|*"-melf32bmipn32 ")
10657       libsuff=32 shlibsuff=N32 libmagic=N32;;
10658     *-64|*"-64 "|*-melf64bmip|*"-melf64bmip ")
10659       libsuff=64 shlibsuff=64 libmagic=64-bit;;
10660     *) libsuff= shlibsuff= libmagic=never-match;;
10661     esac
10662     ;;
10663   esac
10664   shlibpath_var=LD_LIBRARY${shlibsuff}_PATH
10665   shlibpath_overrides_runpath=no
10666   sys_lib_search_path_spec="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}"
10667   sys_lib_dlsearch_path_spec="/usr/lib${libsuff} /lib${libsuff}"
10668   hardcode_into_libs=yes
10669   ;;
10670
10671 # No shared lib support for Linux oldld, aout, or coff.
10672 linux*oldld* | linux*aout* | linux*coff*)
10673   dynamic_linker=no
10674   ;;
10675
10676 # This must be glibc/ELF.
10677 linux* | k*bsd*-gnu | kopensolaris*-gnu)
10678   version_type=linux # correct to gnu/linux during the next big refactor
10679   need_lib_prefix=no
10680   need_version=no
10681   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10682   soname_spec='${libname}${release}${shared_ext}$major'
10683   finish_cmds='PATH="\$PATH:/sbin" ldconfig -n $libdir'
10684   shlibpath_var=LD_LIBRARY_PATH
10685   shlibpath_overrides_runpath=no
10686
10687   # Some binutils ld are patched to set DT_RUNPATH
10688   if ${lt_cv_shlibpath_overrides_runpath+:} false; then :
10689   $as_echo_n "(cached) " >&6
10690 else
10691   lt_cv_shlibpath_overrides_runpath=no
10692     save_LDFLAGS=$LDFLAGS
10693     save_libdir=$libdir
10694     eval "libdir=/foo; wl=\"$lt_prog_compiler_wl\"; \
10695          LDFLAGS=\"\$LDFLAGS $hardcode_libdir_flag_spec\""
10696     cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10697 /* end confdefs.h.  */
10698
10699 int
10700 main ()
10701 {
10702
10703   ;
10704   return 0;
10705 }
10706 _ACEOF
10707 if ac_fn_c_try_link "$LINENO"; then :
10708   if  ($OBJDUMP -p conftest$ac_exeext) 2>/dev/null | grep "RUNPATH.*$libdir" >/dev/null; then :
10709   lt_cv_shlibpath_overrides_runpath=yes
10710 fi
10711 fi
10712 rm -f core conftest.err conftest.$ac_objext \
10713     conftest$ac_exeext conftest.$ac_ext
10714     LDFLAGS=$save_LDFLAGS
10715     libdir=$save_libdir
10716
10717 fi
10718
10719   shlibpath_overrides_runpath=$lt_cv_shlibpath_overrides_runpath
10720
10721   # This implies no fast_install, which is unacceptable.
10722   # Some rework will be needed to allow for fast_install
10723   # before this can be enabled.
10724   hardcode_into_libs=yes
10725
10726   # Append ld.so.conf contents to the search path
10727   if test -f /etc/ld.so.conf; then
10728     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' ' '`
10729     sys_lib_dlsearch_path_spec="/lib /usr/lib $lt_ld_extra"
10730   fi
10731
10732   # We used to test for /lib/ld.so.1 and disable shared libraries on
10733   # powerpc, because MkLinux only supported shared libraries with the
10734   # GNU dynamic linker.  Since this was broken with cross compilers,
10735   # most powerpc-linux boxes support dynamic linking these days and
10736   # people can always --disable-shared, the test was removed, and we
10737   # assume the GNU/Linux dynamic linker is in use.
10738   dynamic_linker='GNU/Linux ld.so'
10739   ;;
10740
10741 netbsdelf*-gnu)
10742   version_type=linux
10743   need_lib_prefix=no
10744   need_version=no
10745   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
10746   soname_spec='${libname}${release}${shared_ext}$major'
10747   shlibpath_var=LD_LIBRARY_PATH
10748   shlibpath_overrides_runpath=no
10749   hardcode_into_libs=yes
10750   dynamic_linker='NetBSD ld.elf_so'
10751   ;;
10752
10753 netbsd*)
10754   version_type=sunos
10755   need_lib_prefix=no
10756   need_version=no
10757   if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
10758     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
10759     finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
10760     dynamic_linker='NetBSD (a.out) ld.so'
10761   else
10762     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
10763     soname_spec='${libname}${release}${shared_ext}$major'
10764     dynamic_linker='NetBSD ld.elf_so'
10765   fi
10766   shlibpath_var=LD_LIBRARY_PATH
10767   shlibpath_overrides_runpath=yes
10768   hardcode_into_libs=yes
10769   ;;
10770
10771 newsos6)
10772   version_type=linux # correct to gnu/linux during the next big refactor
10773   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10774   shlibpath_var=LD_LIBRARY_PATH
10775   shlibpath_overrides_runpath=yes
10776   ;;
10777
10778 *nto* | *qnx*)
10779   version_type=qnx
10780   need_lib_prefix=no
10781   need_version=no
10782   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10783   soname_spec='${libname}${release}${shared_ext}$major'
10784   shlibpath_var=LD_LIBRARY_PATH
10785   shlibpath_overrides_runpath=no
10786   hardcode_into_libs=yes
10787   dynamic_linker='ldqnx.so'
10788   ;;
10789
10790 openbsd*)
10791   version_type=sunos
10792   sys_lib_dlsearch_path_spec="/usr/lib"
10793   need_lib_prefix=no
10794   # Some older versions of OpenBSD (3.3 at least) *do* need versioned libs.
10795   case $host_os in
10796     openbsd3.3 | openbsd3.3.*)  need_version=yes ;;
10797     *)                          need_version=no  ;;
10798   esac
10799   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
10800   finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
10801   shlibpath_var=LD_LIBRARY_PATH
10802   if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
10803     case $host_os in
10804       openbsd2.[89] | openbsd2.[89].*)
10805         shlibpath_overrides_runpath=no
10806         ;;
10807       *)
10808         shlibpath_overrides_runpath=yes
10809         ;;
10810       esac
10811   else
10812     shlibpath_overrides_runpath=yes
10813   fi
10814   ;;
10815
10816 os2*)
10817   libname_spec='$name'
10818   shrext_cmds=".dll"
10819   need_lib_prefix=no
10820   library_names_spec='$libname${shared_ext} $libname.a'
10821   dynamic_linker='OS/2 ld.exe'
10822   shlibpath_var=LIBPATH
10823   ;;
10824
10825 osf3* | osf4* | osf5*)
10826   version_type=osf
10827   need_lib_prefix=no
10828   need_version=no
10829   soname_spec='${libname}${release}${shared_ext}$major'
10830   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10831   shlibpath_var=LD_LIBRARY_PATH
10832   sys_lib_search_path_spec="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
10833   sys_lib_dlsearch_path_spec="$sys_lib_search_path_spec"
10834   ;;
10835
10836 rdos*)
10837   dynamic_linker=no
10838   ;;
10839
10840 solaris*)
10841   version_type=linux # correct to gnu/linux during the next big refactor
10842   need_lib_prefix=no
10843   need_version=no
10844   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10845   soname_spec='${libname}${release}${shared_ext}$major'
10846   shlibpath_var=LD_LIBRARY_PATH
10847   shlibpath_overrides_runpath=yes
10848   hardcode_into_libs=yes
10849   # ldd complains unless libraries are executable
10850   postinstall_cmds='chmod +x $lib'
10851   ;;
10852
10853 sunos4*)
10854   version_type=sunos
10855   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
10856   finish_cmds='PATH="\$PATH:/usr/etc" ldconfig $libdir'
10857   shlibpath_var=LD_LIBRARY_PATH
10858   shlibpath_overrides_runpath=yes
10859   if test "$with_gnu_ld" = yes; then
10860     need_lib_prefix=no
10861   fi
10862   need_version=yes
10863   ;;
10864
10865 sysv4 | sysv4.3*)
10866   version_type=linux # correct to gnu/linux during the next big refactor
10867   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10868   soname_spec='${libname}${release}${shared_ext}$major'
10869   shlibpath_var=LD_LIBRARY_PATH
10870   case $host_vendor in
10871     sni)
10872       shlibpath_overrides_runpath=no
10873       need_lib_prefix=no
10874       runpath_var=LD_RUN_PATH
10875       ;;
10876     siemens)
10877       need_lib_prefix=no
10878       ;;
10879     motorola)
10880       need_lib_prefix=no
10881       need_version=no
10882       shlibpath_overrides_runpath=no
10883       sys_lib_search_path_spec='/lib /usr/lib /usr/ccs/lib'
10884       ;;
10885   esac
10886   ;;
10887
10888 sysv4*MP*)
10889   if test -d /usr/nec ;then
10890     version_type=linux # correct to gnu/linux during the next big refactor
10891     library_names_spec='$libname${shared_ext}.$versuffix $libname${shared_ext}.$major $libname${shared_ext}'
10892     soname_spec='$libname${shared_ext}.$major'
10893     shlibpath_var=LD_LIBRARY_PATH
10894   fi
10895   ;;
10896
10897 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
10898   version_type=freebsd-elf
10899   need_lib_prefix=no
10900   need_version=no
10901   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
10902   soname_spec='${libname}${release}${shared_ext}$major'
10903   shlibpath_var=LD_LIBRARY_PATH
10904   shlibpath_overrides_runpath=yes
10905   hardcode_into_libs=yes
10906   if test "$with_gnu_ld" = yes; then
10907     sys_lib_search_path_spec='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib'
10908   else
10909     sys_lib_search_path_spec='/usr/ccs/lib /usr/lib'
10910     case $host_os in
10911       sco3.2v5*)
10912         sys_lib_search_path_spec="$sys_lib_search_path_spec /lib"
10913         ;;
10914     esac
10915   fi
10916   sys_lib_dlsearch_path_spec='/usr/lib'
10917   ;;
10918
10919 tpf*)
10920   # TPF is a cross-target only.  Preferred cross-host = GNU/Linux.
10921   version_type=linux # correct to gnu/linux during the next big refactor
10922   need_lib_prefix=no
10923   need_version=no
10924   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10925   shlibpath_var=LD_LIBRARY_PATH
10926   shlibpath_overrides_runpath=no
10927   hardcode_into_libs=yes
10928   ;;
10929
10930 uts4*)
10931   version_type=linux # correct to gnu/linux during the next big refactor
10932   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10933   soname_spec='${libname}${release}${shared_ext}$major'
10934   shlibpath_var=LD_LIBRARY_PATH
10935   ;;
10936
10937 *)
10938   dynamic_linker=no
10939   ;;
10940 esac
10941 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $dynamic_linker" >&5
10942 $as_echo "$dynamic_linker" >&6; }
10943 test "$dynamic_linker" = no && can_build_shared=no
10944
10945 variables_saved_for_relink="PATH $shlibpath_var $runpath_var"
10946 if test "$GCC" = yes; then
10947   variables_saved_for_relink="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
10948 fi
10949
10950 if test "${lt_cv_sys_lib_search_path_spec+set}" = set; then
10951   sys_lib_search_path_spec="$lt_cv_sys_lib_search_path_spec"
10952 fi
10953 if test "${lt_cv_sys_lib_dlsearch_path_spec+set}" = set; then
10954   sys_lib_dlsearch_path_spec="$lt_cv_sys_lib_dlsearch_path_spec"
10955 fi
10956
10957
10958
10959
10960
10961
10962
10963
10964
10965
10966
10967
10968
10969
10970
10971
10972
10973
10974
10975
10976
10977
10978
10979
10980
10981
10982
10983
10984
10985
10986
10987
10988
10989
10990
10991
10992
10993
10994
10995
10996
10997
10998
10999
11000
11001
11002
11003
11004
11005
11006
11007
11008
11009
11010
11011
11012
11013
11014
11015
11016
11017
11018
11019
11020
11021
11022
11023
11024
11025
11026
11027
11028
11029
11030
11031
11032
11033
11034
11035
11036
11037
11038
11039
11040
11041
11042
11043
11044
11045
11046
11047
11048   { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to hardcode library paths into programs" >&5
11049 $as_echo_n "checking how to hardcode library paths into programs... " >&6; }
11050 hardcode_action=
11051 if test -n "$hardcode_libdir_flag_spec" ||
11052    test -n "$runpath_var" ||
11053    test "X$hardcode_automatic" = "Xyes" ; then
11054
11055   # We can hardcode non-existent directories.
11056   if test "$hardcode_direct" != no &&
11057      # If the only mechanism to avoid hardcoding is shlibpath_var, we
11058      # have to relink, otherwise we might link with an installed library
11059      # when we should be linking with a yet-to-be-installed one
11060      ## test "$_LT_TAGVAR(hardcode_shlibpath_var, )" != no &&
11061      test "$hardcode_minus_L" != no; then
11062     # Linking always hardcodes the temporary library directory.
11063     hardcode_action=relink
11064   else
11065     # We can link without hardcoding, and we can hardcode nonexisting dirs.
11066     hardcode_action=immediate
11067   fi
11068 else
11069   # We cannot hardcode anything, or else we can only hardcode existing
11070   # directories.
11071   hardcode_action=unsupported
11072 fi
11073 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hardcode_action" >&5
11074 $as_echo "$hardcode_action" >&6; }
11075
11076 if test "$hardcode_action" = relink ||
11077    test "$inherit_rpath" = yes; then
11078   # Fast installation is not supported
11079   enable_fast_install=no
11080 elif test "$shlibpath_overrides_runpath" = yes ||
11081      test "$enable_shared" = no; then
11082   # Fast installation is not necessary
11083   enable_fast_install=needless
11084 fi
11085
11086
11087
11088
11089
11090
11091   if test "x$enable_dlopen" != xyes; then
11092   enable_dlopen=unknown
11093   enable_dlopen_self=unknown
11094   enable_dlopen_self_static=unknown
11095 else
11096   lt_cv_dlopen=no
11097   lt_cv_dlopen_libs=
11098
11099   case $host_os in
11100   beos*)
11101     lt_cv_dlopen="load_add_on"
11102     lt_cv_dlopen_libs=
11103     lt_cv_dlopen_self=yes
11104     ;;
11105
11106   mingw* | pw32* | cegcc*)
11107     lt_cv_dlopen="LoadLibrary"
11108     lt_cv_dlopen_libs=
11109     ;;
11110
11111   cygwin*)
11112     lt_cv_dlopen="dlopen"
11113     lt_cv_dlopen_libs=
11114     ;;
11115
11116   darwin*)
11117   # if libdl is installed we need to link against it
11118     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
11119 $as_echo_n "checking for dlopen in -ldl... " >&6; }
11120 if ${ac_cv_lib_dl_dlopen+:} false; then :
11121   $as_echo_n "(cached) " >&6
11122 else
11123   ac_check_lib_save_LIBS=$LIBS
11124 LIBS="-ldl  $LIBS"
11125 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11126 /* end confdefs.h.  */
11127
11128 /* Override any GCC internal prototype to avoid an error.
11129    Use char because int might match the return type of a GCC
11130    builtin and then its argument prototype would still apply.  */
11131 #ifdef __cplusplus
11132 extern "C"
11133 #endif
11134 char dlopen ();
11135 int
11136 main ()
11137 {
11138 return dlopen ();
11139   ;
11140   return 0;
11141 }
11142 _ACEOF
11143 if ac_fn_c_try_link "$LINENO"; then :
11144   ac_cv_lib_dl_dlopen=yes
11145 else
11146   ac_cv_lib_dl_dlopen=no
11147 fi
11148 rm -f core conftest.err conftest.$ac_objext \
11149     conftest$ac_exeext conftest.$ac_ext
11150 LIBS=$ac_check_lib_save_LIBS
11151 fi
11152 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
11153 $as_echo "$ac_cv_lib_dl_dlopen" >&6; }
11154 if test "x$ac_cv_lib_dl_dlopen" = xyes; then :
11155   lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl"
11156 else
11157
11158     lt_cv_dlopen="dyld"
11159     lt_cv_dlopen_libs=
11160     lt_cv_dlopen_self=yes
11161
11162 fi
11163
11164     ;;
11165
11166   *)
11167     ac_fn_c_check_func "$LINENO" "shl_load" "ac_cv_func_shl_load"
11168 if test "x$ac_cv_func_shl_load" = xyes; then :
11169   lt_cv_dlopen="shl_load"
11170 else
11171   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for shl_load in -ldld" >&5
11172 $as_echo_n "checking for shl_load in -ldld... " >&6; }
11173 if ${ac_cv_lib_dld_shl_load+:} false; then :
11174   $as_echo_n "(cached) " >&6
11175 else
11176   ac_check_lib_save_LIBS=$LIBS
11177 LIBS="-ldld  $LIBS"
11178 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11179 /* end confdefs.h.  */
11180
11181 /* Override any GCC internal prototype to avoid an error.
11182    Use char because int might match the return type of a GCC
11183    builtin and then its argument prototype would still apply.  */
11184 #ifdef __cplusplus
11185 extern "C"
11186 #endif
11187 char shl_load ();
11188 int
11189 main ()
11190 {
11191 return shl_load ();
11192   ;
11193   return 0;
11194 }
11195 _ACEOF
11196 if ac_fn_c_try_link "$LINENO"; then :
11197   ac_cv_lib_dld_shl_load=yes
11198 else
11199   ac_cv_lib_dld_shl_load=no
11200 fi
11201 rm -f core conftest.err conftest.$ac_objext \
11202     conftest$ac_exeext conftest.$ac_ext
11203 LIBS=$ac_check_lib_save_LIBS
11204 fi
11205 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_shl_load" >&5
11206 $as_echo "$ac_cv_lib_dld_shl_load" >&6; }
11207 if test "x$ac_cv_lib_dld_shl_load" = xyes; then :
11208   lt_cv_dlopen="shl_load" lt_cv_dlopen_libs="-ldld"
11209 else
11210   ac_fn_c_check_func "$LINENO" "dlopen" "ac_cv_func_dlopen"
11211 if test "x$ac_cv_func_dlopen" = xyes; then :
11212   lt_cv_dlopen="dlopen"
11213 else
11214   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
11215 $as_echo_n "checking for dlopen in -ldl... " >&6; }
11216 if ${ac_cv_lib_dl_dlopen+:} false; then :
11217   $as_echo_n "(cached) " >&6
11218 else
11219   ac_check_lib_save_LIBS=$LIBS
11220 LIBS="-ldl  $LIBS"
11221 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11222 /* end confdefs.h.  */
11223
11224 /* Override any GCC internal prototype to avoid an error.
11225    Use char because int might match the return type of a GCC
11226    builtin and then its argument prototype would still apply.  */
11227 #ifdef __cplusplus
11228 extern "C"
11229 #endif
11230 char dlopen ();
11231 int
11232 main ()
11233 {
11234 return dlopen ();
11235   ;
11236   return 0;
11237 }
11238 _ACEOF
11239 if ac_fn_c_try_link "$LINENO"; then :
11240   ac_cv_lib_dl_dlopen=yes
11241 else
11242   ac_cv_lib_dl_dlopen=no
11243 fi
11244 rm -f core conftest.err conftest.$ac_objext \
11245     conftest$ac_exeext conftest.$ac_ext
11246 LIBS=$ac_check_lib_save_LIBS
11247 fi
11248 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
11249 $as_echo "$ac_cv_lib_dl_dlopen" >&6; }
11250 if test "x$ac_cv_lib_dl_dlopen" = xyes; then :
11251   lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl"
11252 else
11253   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -lsvld" >&5
11254 $as_echo_n "checking for dlopen in -lsvld... " >&6; }
11255 if ${ac_cv_lib_svld_dlopen+:} false; then :
11256   $as_echo_n "(cached) " >&6
11257 else
11258   ac_check_lib_save_LIBS=$LIBS
11259 LIBS="-lsvld  $LIBS"
11260 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11261 /* end confdefs.h.  */
11262
11263 /* Override any GCC internal prototype to avoid an error.
11264    Use char because int might match the return type of a GCC
11265    builtin and then its argument prototype would still apply.  */
11266 #ifdef __cplusplus
11267 extern "C"
11268 #endif
11269 char dlopen ();
11270 int
11271 main ()
11272 {
11273 return dlopen ();
11274   ;
11275   return 0;
11276 }
11277 _ACEOF
11278 if ac_fn_c_try_link "$LINENO"; then :
11279   ac_cv_lib_svld_dlopen=yes
11280 else
11281   ac_cv_lib_svld_dlopen=no
11282 fi
11283 rm -f core conftest.err conftest.$ac_objext \
11284     conftest$ac_exeext conftest.$ac_ext
11285 LIBS=$ac_check_lib_save_LIBS
11286 fi
11287 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_svld_dlopen" >&5
11288 $as_echo "$ac_cv_lib_svld_dlopen" >&6; }
11289 if test "x$ac_cv_lib_svld_dlopen" = xyes; then :
11290   lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-lsvld"
11291 else
11292   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dld_link in -ldld" >&5
11293 $as_echo_n "checking for dld_link in -ldld... " >&6; }
11294 if ${ac_cv_lib_dld_dld_link+:} false; then :
11295   $as_echo_n "(cached) " >&6
11296 else
11297   ac_check_lib_save_LIBS=$LIBS
11298 LIBS="-ldld  $LIBS"
11299 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11300 /* end confdefs.h.  */
11301
11302 /* Override any GCC internal prototype to avoid an error.
11303    Use char because int might match the return type of a GCC
11304    builtin and then its argument prototype would still apply.  */
11305 #ifdef __cplusplus
11306 extern "C"
11307 #endif
11308 char dld_link ();
11309 int
11310 main ()
11311 {
11312 return dld_link ();
11313   ;
11314   return 0;
11315 }
11316 _ACEOF
11317 if ac_fn_c_try_link "$LINENO"; then :
11318   ac_cv_lib_dld_dld_link=yes
11319 else
11320   ac_cv_lib_dld_dld_link=no
11321 fi
11322 rm -f core conftest.err conftest.$ac_objext \
11323     conftest$ac_exeext conftest.$ac_ext
11324 LIBS=$ac_check_lib_save_LIBS
11325 fi
11326 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_dld_link" >&5
11327 $as_echo "$ac_cv_lib_dld_dld_link" >&6; }
11328 if test "x$ac_cv_lib_dld_dld_link" = xyes; then :
11329   lt_cv_dlopen="dld_link" lt_cv_dlopen_libs="-ldld"
11330 fi
11331
11332
11333 fi
11334
11335
11336 fi
11337
11338
11339 fi
11340
11341
11342 fi
11343
11344
11345 fi
11346
11347     ;;
11348   esac
11349
11350   if test "x$lt_cv_dlopen" != xno; then
11351     enable_dlopen=yes
11352   else
11353     enable_dlopen=no
11354   fi
11355
11356   case $lt_cv_dlopen in
11357   dlopen)
11358     save_CPPFLAGS="$CPPFLAGS"
11359     test "x$ac_cv_header_dlfcn_h" = xyes && CPPFLAGS="$CPPFLAGS -DHAVE_DLFCN_H"
11360
11361     save_LDFLAGS="$LDFLAGS"
11362     wl=$lt_prog_compiler_wl eval LDFLAGS=\"\$LDFLAGS $export_dynamic_flag_spec\"
11363
11364     save_LIBS="$LIBS"
11365     LIBS="$lt_cv_dlopen_libs $LIBS"
11366
11367     { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether a program can dlopen itself" >&5
11368 $as_echo_n "checking whether a program can dlopen itself... " >&6; }
11369 if ${lt_cv_dlopen_self+:} false; then :
11370   $as_echo_n "(cached) " >&6
11371 else
11372           if test "$cross_compiling" = yes; then :
11373   lt_cv_dlopen_self=cross
11374 else
11375   lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
11376   lt_status=$lt_dlunknown
11377   cat > conftest.$ac_ext <<_LT_EOF
11378 #line $LINENO "configure"
11379 #include "confdefs.h"
11380
11381 #if HAVE_DLFCN_H
11382 #include <dlfcn.h>
11383 #endif
11384
11385 #include <stdio.h>
11386
11387 #ifdef RTLD_GLOBAL
11388 #  define LT_DLGLOBAL           RTLD_GLOBAL
11389 #else
11390 #  ifdef DL_GLOBAL
11391 #    define LT_DLGLOBAL         DL_GLOBAL
11392 #  else
11393 #    define LT_DLGLOBAL         0
11394 #  endif
11395 #endif
11396
11397 /* We may have to define LT_DLLAZY_OR_NOW in the command line if we
11398    find out it does not work in some platform. */
11399 #ifndef LT_DLLAZY_OR_NOW
11400 #  ifdef RTLD_LAZY
11401 #    define LT_DLLAZY_OR_NOW            RTLD_LAZY
11402 #  else
11403 #    ifdef DL_LAZY
11404 #      define LT_DLLAZY_OR_NOW          DL_LAZY
11405 #    else
11406 #      ifdef RTLD_NOW
11407 #        define LT_DLLAZY_OR_NOW        RTLD_NOW
11408 #      else
11409 #        ifdef DL_NOW
11410 #          define LT_DLLAZY_OR_NOW      DL_NOW
11411 #        else
11412 #          define LT_DLLAZY_OR_NOW      0
11413 #        endif
11414 #      endif
11415 #    endif
11416 #  endif
11417 #endif
11418
11419 /* When -fvisbility=hidden is used, assume the code has been annotated
11420    correspondingly for the symbols needed.  */
11421 #if defined(__GNUC__) && (((__GNUC__ == 3) && (__GNUC_MINOR__ >= 3)) || (__GNUC__ > 3))
11422 int fnord () __attribute__((visibility("default")));
11423 #endif
11424
11425 int fnord () { return 42; }
11426 int main ()
11427 {
11428   void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
11429   int status = $lt_dlunknown;
11430
11431   if (self)
11432     {
11433       if (dlsym (self,"fnord"))       status = $lt_dlno_uscore;
11434       else
11435         {
11436           if (dlsym( self,"_fnord"))  status = $lt_dlneed_uscore;
11437           else puts (dlerror ());
11438         }
11439       /* dlclose (self); */
11440     }
11441   else
11442     puts (dlerror ());
11443
11444   return status;
11445 }
11446 _LT_EOF
11447   if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
11448   (eval $ac_link) 2>&5
11449   ac_status=$?
11450   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
11451   test $ac_status = 0; } && test -s conftest${ac_exeext} 2>/dev/null; then
11452     (./conftest; exit; ) >&5 2>/dev/null
11453     lt_status=$?
11454     case x$lt_status in
11455       x$lt_dlno_uscore) lt_cv_dlopen_self=yes ;;
11456       x$lt_dlneed_uscore) lt_cv_dlopen_self=yes ;;
11457       x$lt_dlunknown|x*) lt_cv_dlopen_self=no ;;
11458     esac
11459   else :
11460     # compilation failed
11461     lt_cv_dlopen_self=no
11462   fi
11463 fi
11464 rm -fr conftest*
11465
11466
11467 fi
11468 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_dlopen_self" >&5
11469 $as_echo "$lt_cv_dlopen_self" >&6; }
11470
11471     if test "x$lt_cv_dlopen_self" = xyes; then
11472       wl=$lt_prog_compiler_wl eval LDFLAGS=\"\$LDFLAGS $lt_prog_compiler_static\"
11473       { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether a statically linked program can dlopen itself" >&5
11474 $as_echo_n "checking whether a statically linked program can dlopen itself... " >&6; }
11475 if ${lt_cv_dlopen_self_static+:} false; then :
11476   $as_echo_n "(cached) " >&6
11477 else
11478           if test "$cross_compiling" = yes; then :
11479   lt_cv_dlopen_self_static=cross
11480 else
11481   lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
11482   lt_status=$lt_dlunknown
11483   cat > conftest.$ac_ext <<_LT_EOF
11484 #line $LINENO "configure"
11485 #include "confdefs.h"
11486
11487 #if HAVE_DLFCN_H
11488 #include <dlfcn.h>
11489 #endif
11490
11491 #include <stdio.h>
11492
11493 #ifdef RTLD_GLOBAL
11494 #  define LT_DLGLOBAL           RTLD_GLOBAL
11495 #else
11496 #  ifdef DL_GLOBAL
11497 #    define LT_DLGLOBAL         DL_GLOBAL
11498 #  else
11499 #    define LT_DLGLOBAL         0
11500 #  endif
11501 #endif
11502
11503 /* We may have to define LT_DLLAZY_OR_NOW in the command line if we
11504    find out it does not work in some platform. */
11505 #ifndef LT_DLLAZY_OR_NOW
11506 #  ifdef RTLD_LAZY
11507 #    define LT_DLLAZY_OR_NOW            RTLD_LAZY
11508 #  else
11509 #    ifdef DL_LAZY
11510 #      define LT_DLLAZY_OR_NOW          DL_LAZY
11511 #    else
11512 #      ifdef RTLD_NOW
11513 #        define LT_DLLAZY_OR_NOW        RTLD_NOW
11514 #      else
11515 #        ifdef DL_NOW
11516 #          define LT_DLLAZY_OR_NOW      DL_NOW
11517 #        else
11518 #          define LT_DLLAZY_OR_NOW      0
11519 #        endif
11520 #      endif
11521 #    endif
11522 #  endif
11523 #endif
11524
11525 /* When -fvisbility=hidden is used, assume the code has been annotated
11526    correspondingly for the symbols needed.  */
11527 #if defined(__GNUC__) && (((__GNUC__ == 3) && (__GNUC_MINOR__ >= 3)) || (__GNUC__ > 3))
11528 int fnord () __attribute__((visibility("default")));
11529 #endif
11530
11531 int fnord () { return 42; }
11532 int main ()
11533 {
11534   void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
11535   int status = $lt_dlunknown;
11536
11537   if (self)
11538     {
11539       if (dlsym (self,"fnord"))       status = $lt_dlno_uscore;
11540       else
11541         {
11542           if (dlsym( self,"_fnord"))  status = $lt_dlneed_uscore;
11543           else puts (dlerror ());
11544         }
11545       /* dlclose (self); */
11546     }
11547   else
11548     puts (dlerror ());
11549
11550   return status;
11551 }
11552 _LT_EOF
11553   if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
11554   (eval $ac_link) 2>&5
11555   ac_status=$?
11556   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
11557   test $ac_status = 0; } && test -s conftest${ac_exeext} 2>/dev/null; then
11558     (./conftest; exit; ) >&5 2>/dev/null
11559     lt_status=$?
11560     case x$lt_status in
11561       x$lt_dlno_uscore) lt_cv_dlopen_self_static=yes ;;
11562       x$lt_dlneed_uscore) lt_cv_dlopen_self_static=yes ;;
11563       x$lt_dlunknown|x*) lt_cv_dlopen_self_static=no ;;
11564     esac
11565   else :
11566     # compilation failed
11567     lt_cv_dlopen_self_static=no
11568   fi
11569 fi
11570 rm -fr conftest*
11571
11572
11573 fi
11574 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_dlopen_self_static" >&5
11575 $as_echo "$lt_cv_dlopen_self_static" >&6; }
11576     fi
11577
11578     CPPFLAGS="$save_CPPFLAGS"
11579     LDFLAGS="$save_LDFLAGS"
11580     LIBS="$save_LIBS"
11581     ;;
11582   esac
11583
11584   case $lt_cv_dlopen_self in
11585   yes|no) enable_dlopen_self=$lt_cv_dlopen_self ;;
11586   *) enable_dlopen_self=unknown ;;
11587   esac
11588
11589   case $lt_cv_dlopen_self_static in
11590   yes|no) enable_dlopen_self_static=$lt_cv_dlopen_self_static ;;
11591   *) enable_dlopen_self_static=unknown ;;
11592   esac
11593 fi
11594
11595
11596
11597
11598
11599
11600
11601
11602
11603
11604
11605
11606
11607
11608
11609
11610
11611 striplib=
11612 old_striplib=
11613 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether stripping libraries is possible" >&5
11614 $as_echo_n "checking whether stripping libraries is possible... " >&6; }
11615 if test -n "$STRIP" && $STRIP -V 2>&1 | $GREP "GNU strip" >/dev/null; then
11616   test -z "$old_striplib" && old_striplib="$STRIP --strip-debug"
11617   test -z "$striplib" && striplib="$STRIP --strip-unneeded"
11618   { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
11619 $as_echo "yes" >&6; }
11620 else
11621 # FIXME - insert some real tests, host_os isn't really good enough
11622   case $host_os in
11623   darwin*)
11624     if test -n "$STRIP" ; then
11625       striplib="$STRIP -x"
11626       old_striplib="$STRIP -S"
11627       { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
11628 $as_echo "yes" >&6; }
11629     else
11630       { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11631 $as_echo "no" >&6; }
11632     fi
11633     ;;
11634   *)
11635     { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11636 $as_echo "no" >&6; }
11637     ;;
11638   esac
11639 fi
11640
11641
11642
11643
11644
11645
11646
11647
11648
11649
11650
11651
11652   # Report which library types will actually be built
11653   { $as_echo "$as_me:${as_lineno-$LINENO}: checking if libtool supports shared libraries" >&5
11654 $as_echo_n "checking if libtool supports shared libraries... " >&6; }
11655   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $can_build_shared" >&5
11656 $as_echo "$can_build_shared" >&6; }
11657
11658   { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build shared libraries" >&5
11659 $as_echo_n "checking whether to build shared libraries... " >&6; }
11660   test "$can_build_shared" = "no" && enable_shared=no
11661
11662   # On AIX, shared libraries and static libraries use the same namespace, and
11663   # are all built from PIC.
11664   case $host_os in
11665   aix3*)
11666     test "$enable_shared" = yes && enable_static=no
11667     if test -n "$RANLIB"; then
11668       archive_cmds="$archive_cmds~\$RANLIB \$lib"
11669       postinstall_cmds='$RANLIB $lib'
11670     fi
11671     ;;
11672
11673   aix[4-9]*)
11674     if test "$host_cpu" != ia64 && test "$aix_use_runtimelinking" = no ; then
11675       test "$enable_shared" = yes && enable_static=no
11676     fi
11677     ;;
11678   esac
11679   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_shared" >&5
11680 $as_echo "$enable_shared" >&6; }
11681
11682   { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build static libraries" >&5
11683 $as_echo_n "checking whether to build static libraries... " >&6; }
11684   # Make sure either enable_shared or enable_static is yes.
11685   test "$enable_shared" = yes || enable_static=yes
11686   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_static" >&5
11687 $as_echo "$enable_static" >&6; }
11688
11689
11690
11691
11692 fi
11693 ac_ext=c
11694 ac_cpp='$CPP $CPPFLAGS'
11695 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
11696 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
11697 ac_compiler_gnu=$ac_cv_c_compiler_gnu
11698
11699 CC="$lt_save_CC"
11700
11701
11702
11703
11704
11705
11706
11707
11708
11709
11710
11711
11712
11713
11714
11715         ac_config_commands="$ac_config_commands libtool"
11716
11717
11718
11719
11720 # Only expand once:
11721
11722
11723 : ${CONFIG_LT=./config.lt}
11724 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $CONFIG_LT" >&5
11725 $as_echo "$as_me: creating $CONFIG_LT" >&6;}
11726 as_write_fail=0
11727 cat >"$CONFIG_LT" <<_ASEOF || as_write_fail=1
11728 #! $SHELL
11729 # Generated by $as_me.
11730 # Run this file to recreate a libtool stub with the current configuration.
11731 SHELL=\${CONFIG_SHELL-$SHELL}
11732 export SHELL
11733 _ASEOF
11734 cat >>"$CONFIG_LT" <<\_ASEOF || as_write_fail=1
11735 ## -------------------- ##
11736 ## M4sh Initialization. ##
11737 ## -------------------- ##
11738
11739 # Be more Bourne compatible
11740 DUALCASE=1; export DUALCASE # for MKS sh
11741 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :
11742   emulate sh
11743   NULLCMD=:
11744   # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
11745   # is contrary to our usage.  Disable this feature.
11746   alias -g '${1+"$@"}'='"$@"'
11747   setopt NO_GLOB_SUBST
11748 else
11749   case `(set -o) 2>/dev/null` in #(
11750   *posix*) :
11751     set -o posix ;; #(
11752   *) :
11753      ;;
11754 esac
11755 fi
11756
11757
11758 as_nl='
11759 '
11760 export as_nl
11761 # Printing a long string crashes Solaris 7 /usr/bin/printf.
11762 as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
11763 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
11764 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
11765 # Prefer a ksh shell builtin over an external printf program on Solaris,
11766 # but without wasting forks for bash or zsh.
11767 if test -z "$BASH_VERSION$ZSH_VERSION" \
11768     && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
11769   as_echo='print -r --'
11770   as_echo_n='print -rn --'
11771 elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
11772   as_echo='printf %s\n'
11773   as_echo_n='printf %s'
11774 else
11775   if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
11776     as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
11777     as_echo_n='/usr/ucb/echo -n'
11778   else
11779     as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
11780     as_echo_n_body='eval
11781       arg=$1;
11782       case $arg in #(
11783       *"$as_nl"*)
11784         expr "X$arg" : "X\\(.*\\)$as_nl";
11785         arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
11786       esac;
11787       expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
11788     '
11789     export as_echo_n_body
11790     as_echo_n='sh -c $as_echo_n_body as_echo'
11791   fi
11792   export as_echo_body
11793   as_echo='sh -c $as_echo_body as_echo'
11794 fi
11795
11796 # The user is always right.
11797 if test "${PATH_SEPARATOR+set}" != set; then
11798   PATH_SEPARATOR=:
11799   (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
11800     (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
11801       PATH_SEPARATOR=';'
11802   }
11803 fi
11804
11805
11806 # IFS
11807 # We need space, tab and new line, in precisely that order.  Quoting is
11808 # there to prevent editors from complaining about space-tab.
11809 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
11810 # splitting by setting IFS to empty value.)
11811 IFS=" ""        $as_nl"
11812
11813 # Find who we are.  Look in the path if we contain no directory separator.
11814 as_myself=
11815 case $0 in #((
11816   *[\\/]* ) as_myself=$0 ;;
11817   *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11818 for as_dir in $PATH
11819 do
11820   IFS=$as_save_IFS
11821   test -z "$as_dir" && as_dir=.
11822     test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
11823   done
11824 IFS=$as_save_IFS
11825
11826      ;;
11827 esac
11828 # We did not find ourselves, most probably we were run as `sh COMMAND'
11829 # in which case we are not to be found in the path.
11830 if test "x$as_myself" = x; then
11831   as_myself=$0
11832 fi
11833 if test ! -f "$as_myself"; then
11834   $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
11835   exit 1
11836 fi
11837
11838 # Unset variables that we do not need and which cause bugs (e.g. in
11839 # pre-3.0 UWIN ksh).  But do not cause bugs in bash 2.01; the "|| exit 1"
11840 # suppresses any "Segmentation fault" message there.  '((' could
11841 # trigger a bug in pdksh 5.2.14.
11842 for as_var in BASH_ENV ENV MAIL MAILPATH
11843 do eval test x\${$as_var+set} = xset \
11844   && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
11845 done
11846 PS1='$ '
11847 PS2='> '
11848 PS4='+ '
11849
11850 # NLS nuisances.
11851 LC_ALL=C
11852 export LC_ALL
11853 LANGUAGE=C
11854 export LANGUAGE
11855
11856 # CDPATH.
11857 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
11858
11859
11860 # as_fn_error STATUS ERROR [LINENO LOG_FD]
11861 # ----------------------------------------
11862 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
11863 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
11864 # script with STATUS, using 1 if that was 0.
11865 as_fn_error ()
11866 {
11867   as_status=$1; test $as_status -eq 0 && as_status=1
11868   if test "$4"; then
11869     as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
11870     $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
11871   fi
11872   $as_echo "$as_me: error: $2" >&2
11873   as_fn_exit $as_status
11874 } # as_fn_error
11875
11876
11877 # as_fn_set_status STATUS
11878 # -----------------------
11879 # Set $? to STATUS, without forking.
11880 as_fn_set_status ()
11881 {
11882   return $1
11883 } # as_fn_set_status
11884
11885 # as_fn_exit STATUS
11886 # -----------------
11887 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
11888 as_fn_exit ()
11889 {
11890   set +e
11891   as_fn_set_status $1
11892   exit $1
11893 } # as_fn_exit
11894
11895 # as_fn_unset VAR
11896 # ---------------
11897 # Portably unset VAR.
11898 as_fn_unset ()
11899 {
11900   { eval $1=; unset $1;}
11901 }
11902 as_unset=as_fn_unset
11903 # as_fn_append VAR VALUE
11904 # ----------------------
11905 # Append the text in VALUE to the end of the definition contained in VAR. Take
11906 # advantage of any shell optimizations that allow amortized linear growth over
11907 # repeated appends, instead of the typical quadratic growth present in naive
11908 # implementations.
11909 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
11910   eval 'as_fn_append ()
11911   {
11912     eval $1+=\$2
11913   }'
11914 else
11915   as_fn_append ()
11916   {
11917     eval $1=\$$1\$2
11918   }
11919 fi # as_fn_append
11920
11921 # as_fn_arith ARG...
11922 # ------------------
11923 # Perform arithmetic evaluation on the ARGs, and store the result in the
11924 # global $as_val. Take advantage of shells that can avoid forks. The arguments
11925 # must be portable across $(()) and expr.
11926 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
11927   eval 'as_fn_arith ()
11928   {
11929     as_val=$(( $* ))
11930   }'
11931 else
11932   as_fn_arith ()
11933   {
11934     as_val=`expr "$@" || test $? -eq 1`
11935   }
11936 fi # as_fn_arith
11937
11938
11939 if expr a : '\(a\)' >/dev/null 2>&1 &&
11940    test "X`expr 00001 : '.*\(...\)'`" = X001; then
11941   as_expr=expr
11942 else
11943   as_expr=false
11944 fi
11945
11946 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
11947   as_basename=basename
11948 else
11949   as_basename=false
11950 fi
11951
11952 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
11953   as_dirname=dirname
11954 else
11955   as_dirname=false
11956 fi
11957
11958 as_me=`$as_basename -- "$0" ||
11959 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
11960          X"$0" : 'X\(//\)$' \| \
11961          X"$0" : 'X\(/\)' \| . 2>/dev/null ||
11962 $as_echo X/"$0" |
11963     sed '/^.*\/\([^/][^/]*\)\/*$/{
11964             s//\1/
11965             q
11966           }
11967           /^X\/\(\/\/\)$/{
11968             s//\1/
11969             q
11970           }
11971           /^X\/\(\/\).*/{
11972             s//\1/
11973             q
11974           }
11975           s/.*/./; q'`
11976
11977 # Avoid depending upon Character Ranges.
11978 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
11979 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
11980 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
11981 as_cr_digits='0123456789'
11982 as_cr_alnum=$as_cr_Letters$as_cr_digits
11983
11984 ECHO_C= ECHO_N= ECHO_T=
11985 case `echo -n x` in #(((((
11986 -n*)
11987   case `echo 'xy\c'` in
11988   *c*) ECHO_T=' ';;     # ECHO_T is single tab character.
11989   xy)  ECHO_C='\c';;
11990   *)   echo `echo ksh88 bug on AIX 6.1` > /dev/null
11991        ECHO_T=' ';;
11992   esac;;
11993 *)
11994   ECHO_N='-n';;
11995 esac
11996
11997 rm -f conf$$ conf$$.exe conf$$.file
11998 if test -d conf$$.dir; then
11999   rm -f conf$$.dir/conf$$.file
12000 else
12001   rm -f conf$$.dir
12002   mkdir conf$$.dir 2>/dev/null
12003 fi
12004 if (echo >conf$$.file) 2>/dev/null; then
12005   if ln -s conf$$.file conf$$ 2>/dev/null; then
12006     as_ln_s='ln -s'
12007     # ... but there are two gotchas:
12008     # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
12009     # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
12010     # In both cases, we have to default to `cp -pR'.
12011     ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
12012       as_ln_s='cp -pR'
12013   elif ln conf$$.file conf$$ 2>/dev/null; then
12014     as_ln_s=ln
12015   else
12016     as_ln_s='cp -pR'
12017   fi
12018 else
12019   as_ln_s='cp -pR'
12020 fi
12021 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
12022 rmdir conf$$.dir 2>/dev/null
12023
12024
12025 # as_fn_mkdir_p
12026 # -------------
12027 # Create "$as_dir" as a directory, including parents if necessary.
12028 as_fn_mkdir_p ()
12029 {
12030
12031   case $as_dir in #(
12032   -*) as_dir=./$as_dir;;
12033   esac
12034   test -d "$as_dir" || eval $as_mkdir_p || {
12035     as_dirs=
12036     while :; do
12037       case $as_dir in #(
12038       *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
12039       *) as_qdir=$as_dir;;
12040       esac
12041       as_dirs="'$as_qdir' $as_dirs"
12042       as_dir=`$as_dirname -- "$as_dir" ||
12043 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
12044          X"$as_dir" : 'X\(//\)[^/]' \| \
12045          X"$as_dir" : 'X\(//\)$' \| \
12046          X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
12047 $as_echo X"$as_dir" |
12048     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
12049             s//\1/
12050             q
12051           }
12052           /^X\(\/\/\)[^/].*/{
12053             s//\1/
12054             q
12055           }
12056           /^X\(\/\/\)$/{
12057             s//\1/
12058             q
12059           }
12060           /^X\(\/\).*/{
12061             s//\1/
12062             q
12063           }
12064           s/.*/./; q'`
12065       test -d "$as_dir" && break
12066     done
12067     test -z "$as_dirs" || eval "mkdir $as_dirs"
12068   } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir"
12069
12070
12071 } # as_fn_mkdir_p
12072 if mkdir -p . 2>/dev/null; then
12073   as_mkdir_p='mkdir -p "$as_dir"'
12074 else
12075   test -d ./-p && rmdir ./-p
12076   as_mkdir_p=false
12077 fi
12078
12079
12080 # as_fn_executable_p FILE
12081 # -----------------------
12082 # Test if FILE is an executable regular file.
12083 as_fn_executable_p ()
12084 {
12085   test -f "$1" && test -x "$1"
12086 } # as_fn_executable_p
12087 as_test_x='test -x'
12088 as_executable_p=as_fn_executable_p
12089
12090 # Sed expression to map a string onto a valid CPP name.
12091 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
12092
12093 # Sed expression to map a string onto a valid variable name.
12094 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
12095
12096
12097 exec 6>&1
12098 ## --------------------------------- ##
12099 ## Main body of "$CONFIG_LT" script. ##
12100 ## --------------------------------- ##
12101 _ASEOF
12102 test $as_write_fail = 0 && chmod +x "$CONFIG_LT"
12103
12104 cat >>"$CONFIG_LT" <<\_LTEOF
12105 lt_cl_silent=false
12106 exec 5>>config.log
12107 {
12108   echo
12109   sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
12110 ## Running $as_me. ##
12111 _ASBOX
12112 } >&5
12113
12114 lt_cl_help="\
12115 \`$as_me' creates a local libtool stub from the current configuration,
12116 for use in further configure time tests before the real libtool is
12117 generated.
12118
12119 Usage: $0 [OPTIONS]
12120
12121   -h, --help      print this help, then exit
12122   -V, --version   print version number, then exit
12123   -q, --quiet     do not print progress messages
12124   -d, --debug     don't remove temporary files
12125
12126 Report bugs to <bug-libtool@gnu.org>."
12127
12128 lt_cl_version="\
12129 pygobject config.lt 3.3.3.1
12130 configured by $0, generated by GNU Autoconf 2.69.
12131
12132 Copyright (C) 2011 Free Software Foundation, Inc.
12133 This config.lt script is free software; the Free Software Foundation
12134 gives unlimited permision to copy, distribute and modify it."
12135
12136 while test $# != 0
12137 do
12138   case $1 in
12139     --version | --v* | -V )
12140       echo "$lt_cl_version"; exit 0 ;;
12141     --help | --h* | -h )
12142       echo "$lt_cl_help"; exit 0 ;;
12143     --debug | --d* | -d )
12144       debug=: ;;
12145     --quiet | --q* | --silent | --s* | -q )
12146       lt_cl_silent=: ;;
12147
12148     -*) as_fn_error $? "unrecognized option: $1
12149 Try \`$0 --help' for more information." "$LINENO" 5 ;;
12150
12151     *) as_fn_error $? "unrecognized argument: $1
12152 Try \`$0 --help' for more information." "$LINENO" 5 ;;
12153   esac
12154   shift
12155 done
12156
12157 if $lt_cl_silent; then
12158   exec 6>/dev/null
12159 fi
12160 _LTEOF
12161
12162 cat >>"$CONFIG_LT" <<_LTEOF
12163
12164
12165 # The HP-UX ksh and POSIX shell print the target directory to stdout
12166 # if CDPATH is set.
12167 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
12168
12169 sed_quote_subst='$sed_quote_subst'
12170 double_quote_subst='$double_quote_subst'
12171 delay_variable_subst='$delay_variable_subst'
12172 enable_static='`$ECHO "$enable_static" | $SED "$delay_single_quote_subst"`'
12173 AS='`$ECHO "$AS" | $SED "$delay_single_quote_subst"`'
12174 DLLTOOL='`$ECHO "$DLLTOOL" | $SED "$delay_single_quote_subst"`'
12175 OBJDUMP='`$ECHO "$OBJDUMP" | $SED "$delay_single_quote_subst"`'
12176 macro_version='`$ECHO "$macro_version" | $SED "$delay_single_quote_subst"`'
12177 macro_revision='`$ECHO "$macro_revision" | $SED "$delay_single_quote_subst"`'
12178 enable_shared='`$ECHO "$enable_shared" | $SED "$delay_single_quote_subst"`'
12179 pic_mode='`$ECHO "$pic_mode" | $SED "$delay_single_quote_subst"`'
12180 enable_fast_install='`$ECHO "$enable_fast_install" | $SED "$delay_single_quote_subst"`'
12181 SHELL='`$ECHO "$SHELL" | $SED "$delay_single_quote_subst"`'
12182 ECHO='`$ECHO "$ECHO" | $SED "$delay_single_quote_subst"`'
12183 PATH_SEPARATOR='`$ECHO "$PATH_SEPARATOR" | $SED "$delay_single_quote_subst"`'
12184 host_alias='`$ECHO "$host_alias" | $SED "$delay_single_quote_subst"`'
12185 host='`$ECHO "$host" | $SED "$delay_single_quote_subst"`'
12186 host_os='`$ECHO "$host_os" | $SED "$delay_single_quote_subst"`'
12187 build_alias='`$ECHO "$build_alias" | $SED "$delay_single_quote_subst"`'
12188 build='`$ECHO "$build" | $SED "$delay_single_quote_subst"`'
12189 build_os='`$ECHO "$build_os" | $SED "$delay_single_quote_subst"`'
12190 SED='`$ECHO "$SED" | $SED "$delay_single_quote_subst"`'
12191 Xsed='`$ECHO "$Xsed" | $SED "$delay_single_quote_subst"`'
12192 GREP='`$ECHO "$GREP" | $SED "$delay_single_quote_subst"`'
12193 EGREP='`$ECHO "$EGREP" | $SED "$delay_single_quote_subst"`'
12194 FGREP='`$ECHO "$FGREP" | $SED "$delay_single_quote_subst"`'
12195 LD='`$ECHO "$LD" | $SED "$delay_single_quote_subst"`'
12196 NM='`$ECHO "$NM" | $SED "$delay_single_quote_subst"`'
12197 LN_S='`$ECHO "$LN_S" | $SED "$delay_single_quote_subst"`'
12198 max_cmd_len='`$ECHO "$max_cmd_len" | $SED "$delay_single_quote_subst"`'
12199 ac_objext='`$ECHO "$ac_objext" | $SED "$delay_single_quote_subst"`'
12200 exeext='`$ECHO "$exeext" | $SED "$delay_single_quote_subst"`'
12201 lt_unset='`$ECHO "$lt_unset" | $SED "$delay_single_quote_subst"`'
12202 lt_SP2NL='`$ECHO "$lt_SP2NL" | $SED "$delay_single_quote_subst"`'
12203 lt_NL2SP='`$ECHO "$lt_NL2SP" | $SED "$delay_single_quote_subst"`'
12204 lt_cv_to_host_file_cmd='`$ECHO "$lt_cv_to_host_file_cmd" | $SED "$delay_single_quote_subst"`'
12205 lt_cv_to_tool_file_cmd='`$ECHO "$lt_cv_to_tool_file_cmd" | $SED "$delay_single_quote_subst"`'
12206 reload_flag='`$ECHO "$reload_flag" | $SED "$delay_single_quote_subst"`'
12207 reload_cmds='`$ECHO "$reload_cmds" | $SED "$delay_single_quote_subst"`'
12208 deplibs_check_method='`$ECHO "$deplibs_check_method" | $SED "$delay_single_quote_subst"`'
12209 file_magic_cmd='`$ECHO "$file_magic_cmd" | $SED "$delay_single_quote_subst"`'
12210 file_magic_glob='`$ECHO "$file_magic_glob" | $SED "$delay_single_quote_subst"`'
12211 want_nocaseglob='`$ECHO "$want_nocaseglob" | $SED "$delay_single_quote_subst"`'
12212 sharedlib_from_linklib_cmd='`$ECHO "$sharedlib_from_linklib_cmd" | $SED "$delay_single_quote_subst"`'
12213 AR='`$ECHO "$AR" | $SED "$delay_single_quote_subst"`'
12214 AR_FLAGS='`$ECHO "$AR_FLAGS" | $SED "$delay_single_quote_subst"`'
12215 archiver_list_spec='`$ECHO "$archiver_list_spec" | $SED "$delay_single_quote_subst"`'
12216 STRIP='`$ECHO "$STRIP" | $SED "$delay_single_quote_subst"`'
12217 RANLIB='`$ECHO "$RANLIB" | $SED "$delay_single_quote_subst"`'
12218 old_postinstall_cmds='`$ECHO "$old_postinstall_cmds" | $SED "$delay_single_quote_subst"`'
12219 old_postuninstall_cmds='`$ECHO "$old_postuninstall_cmds" | $SED "$delay_single_quote_subst"`'
12220 old_archive_cmds='`$ECHO "$old_archive_cmds" | $SED "$delay_single_quote_subst"`'
12221 lock_old_archive_extraction='`$ECHO "$lock_old_archive_extraction" | $SED "$delay_single_quote_subst"`'
12222 CC='`$ECHO "$CC" | $SED "$delay_single_quote_subst"`'
12223 CFLAGS='`$ECHO "$CFLAGS" | $SED "$delay_single_quote_subst"`'
12224 compiler='`$ECHO "$compiler" | $SED "$delay_single_quote_subst"`'
12225 GCC='`$ECHO "$GCC" | $SED "$delay_single_quote_subst"`'
12226 lt_cv_sys_global_symbol_pipe='`$ECHO "$lt_cv_sys_global_symbol_pipe" | $SED "$delay_single_quote_subst"`'
12227 lt_cv_sys_global_symbol_to_cdecl='`$ECHO "$lt_cv_sys_global_symbol_to_cdecl" | $SED "$delay_single_quote_subst"`'
12228 lt_cv_sys_global_symbol_to_c_name_address='`$ECHO "$lt_cv_sys_global_symbol_to_c_name_address" | $SED "$delay_single_quote_subst"`'
12229 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"`'
12230 nm_file_list_spec='`$ECHO "$nm_file_list_spec" | $SED "$delay_single_quote_subst"`'
12231 lt_sysroot='`$ECHO "$lt_sysroot" | $SED "$delay_single_quote_subst"`'
12232 objdir='`$ECHO "$objdir" | $SED "$delay_single_quote_subst"`'
12233 MAGIC_CMD='`$ECHO "$MAGIC_CMD" | $SED "$delay_single_quote_subst"`'
12234 lt_prog_compiler_no_builtin_flag='`$ECHO "$lt_prog_compiler_no_builtin_flag" | $SED "$delay_single_quote_subst"`'
12235 lt_prog_compiler_pic='`$ECHO "$lt_prog_compiler_pic" | $SED "$delay_single_quote_subst"`'
12236 lt_prog_compiler_wl='`$ECHO "$lt_prog_compiler_wl" | $SED "$delay_single_quote_subst"`'
12237 lt_prog_compiler_static='`$ECHO "$lt_prog_compiler_static" | $SED "$delay_single_quote_subst"`'
12238 lt_cv_prog_compiler_c_o='`$ECHO "$lt_cv_prog_compiler_c_o" | $SED "$delay_single_quote_subst"`'
12239 need_locks='`$ECHO "$need_locks" | $SED "$delay_single_quote_subst"`'
12240 MANIFEST_TOOL='`$ECHO "$MANIFEST_TOOL" | $SED "$delay_single_quote_subst"`'
12241 DSYMUTIL='`$ECHO "$DSYMUTIL" | $SED "$delay_single_quote_subst"`'
12242 NMEDIT='`$ECHO "$NMEDIT" | $SED "$delay_single_quote_subst"`'
12243 LIPO='`$ECHO "$LIPO" | $SED "$delay_single_quote_subst"`'
12244 OTOOL='`$ECHO "$OTOOL" | $SED "$delay_single_quote_subst"`'
12245 OTOOL64='`$ECHO "$OTOOL64" | $SED "$delay_single_quote_subst"`'
12246 libext='`$ECHO "$libext" | $SED "$delay_single_quote_subst"`'
12247 shrext_cmds='`$ECHO "$shrext_cmds" | $SED "$delay_single_quote_subst"`'
12248 extract_expsyms_cmds='`$ECHO "$extract_expsyms_cmds" | $SED "$delay_single_quote_subst"`'
12249 archive_cmds_need_lc='`$ECHO "$archive_cmds_need_lc" | $SED "$delay_single_quote_subst"`'
12250 enable_shared_with_static_runtimes='`$ECHO "$enable_shared_with_static_runtimes" | $SED "$delay_single_quote_subst"`'
12251 export_dynamic_flag_spec='`$ECHO "$export_dynamic_flag_spec" | $SED "$delay_single_quote_subst"`'
12252 whole_archive_flag_spec='`$ECHO "$whole_archive_flag_spec" | $SED "$delay_single_quote_subst"`'
12253 compiler_needs_object='`$ECHO "$compiler_needs_object" | $SED "$delay_single_quote_subst"`'
12254 old_archive_from_new_cmds='`$ECHO "$old_archive_from_new_cmds" | $SED "$delay_single_quote_subst"`'
12255 old_archive_from_expsyms_cmds='`$ECHO "$old_archive_from_expsyms_cmds" | $SED "$delay_single_quote_subst"`'
12256 archive_cmds='`$ECHO "$archive_cmds" | $SED "$delay_single_quote_subst"`'
12257 archive_expsym_cmds='`$ECHO "$archive_expsym_cmds" | $SED "$delay_single_quote_subst"`'
12258 module_cmds='`$ECHO "$module_cmds" | $SED "$delay_single_quote_subst"`'
12259 module_expsym_cmds='`$ECHO "$module_expsym_cmds" | $SED "$delay_single_quote_subst"`'
12260 with_gnu_ld='`$ECHO "$with_gnu_ld" | $SED "$delay_single_quote_subst"`'
12261 allow_undefined_flag='`$ECHO "$allow_undefined_flag" | $SED "$delay_single_quote_subst"`'
12262 no_undefined_flag='`$ECHO "$no_undefined_flag" | $SED "$delay_single_quote_subst"`'
12263 hardcode_libdir_flag_spec='`$ECHO "$hardcode_libdir_flag_spec" | $SED "$delay_single_quote_subst"`'
12264 hardcode_libdir_separator='`$ECHO "$hardcode_libdir_separator" | $SED "$delay_single_quote_subst"`'
12265 hardcode_direct='`$ECHO "$hardcode_direct" | $SED "$delay_single_quote_subst"`'
12266 hardcode_direct_absolute='`$ECHO "$hardcode_direct_absolute" | $SED "$delay_single_quote_subst"`'
12267 hardcode_minus_L='`$ECHO "$hardcode_minus_L" | $SED "$delay_single_quote_subst"`'
12268 hardcode_shlibpath_var='`$ECHO "$hardcode_shlibpath_var" | $SED "$delay_single_quote_subst"`'
12269 hardcode_automatic='`$ECHO "$hardcode_automatic" | $SED "$delay_single_quote_subst"`'
12270 inherit_rpath='`$ECHO "$inherit_rpath" | $SED "$delay_single_quote_subst"`'
12271 link_all_deplibs='`$ECHO "$link_all_deplibs" | $SED "$delay_single_quote_subst"`'
12272 always_export_symbols='`$ECHO "$always_export_symbols" | $SED "$delay_single_quote_subst"`'
12273 export_symbols_cmds='`$ECHO "$export_symbols_cmds" | $SED "$delay_single_quote_subst"`'
12274 exclude_expsyms='`$ECHO "$exclude_expsyms" | $SED "$delay_single_quote_subst"`'
12275 include_expsyms='`$ECHO "$include_expsyms" | $SED "$delay_single_quote_subst"`'
12276 prelink_cmds='`$ECHO "$prelink_cmds" | $SED "$delay_single_quote_subst"`'
12277 postlink_cmds='`$ECHO "$postlink_cmds" | $SED "$delay_single_quote_subst"`'
12278 file_list_spec='`$ECHO "$file_list_spec" | $SED "$delay_single_quote_subst"`'
12279 variables_saved_for_relink='`$ECHO "$variables_saved_for_relink" | $SED "$delay_single_quote_subst"`'
12280 need_lib_prefix='`$ECHO "$need_lib_prefix" | $SED "$delay_single_quote_subst"`'
12281 need_version='`$ECHO "$need_version" | $SED "$delay_single_quote_subst"`'
12282 version_type='`$ECHO "$version_type" | $SED "$delay_single_quote_subst"`'
12283 runpath_var='`$ECHO "$runpath_var" | $SED "$delay_single_quote_subst"`'
12284 shlibpath_var='`$ECHO "$shlibpath_var" | $SED "$delay_single_quote_subst"`'
12285 shlibpath_overrides_runpath='`$ECHO "$shlibpath_overrides_runpath" | $SED "$delay_single_quote_subst"`'
12286 libname_spec='`$ECHO "$libname_spec" | $SED "$delay_single_quote_subst"`'
12287 library_names_spec='`$ECHO "$library_names_spec" | $SED "$delay_single_quote_subst"`'
12288 soname_spec='`$ECHO "$soname_spec" | $SED "$delay_single_quote_subst"`'
12289 install_override_mode='`$ECHO "$install_override_mode" | $SED "$delay_single_quote_subst"`'
12290 postinstall_cmds='`$ECHO "$postinstall_cmds" | $SED "$delay_single_quote_subst"`'
12291 postuninstall_cmds='`$ECHO "$postuninstall_cmds" | $SED "$delay_single_quote_subst"`'
12292 finish_cmds='`$ECHO "$finish_cmds" | $SED "$delay_single_quote_subst"`'
12293 finish_eval='`$ECHO "$finish_eval" | $SED "$delay_single_quote_subst"`'
12294 hardcode_into_libs='`$ECHO "$hardcode_into_libs" | $SED "$delay_single_quote_subst"`'
12295 sys_lib_search_path_spec='`$ECHO "$sys_lib_search_path_spec" | $SED "$delay_single_quote_subst"`'
12296 sys_lib_dlsearch_path_spec='`$ECHO "$sys_lib_dlsearch_path_spec" | $SED "$delay_single_quote_subst"`'
12297 hardcode_action='`$ECHO "$hardcode_action" | $SED "$delay_single_quote_subst"`'
12298 enable_dlopen='`$ECHO "$enable_dlopen" | $SED "$delay_single_quote_subst"`'
12299 enable_dlopen_self='`$ECHO "$enable_dlopen_self" | $SED "$delay_single_quote_subst"`'
12300 enable_dlopen_self_static='`$ECHO "$enable_dlopen_self_static" | $SED "$delay_single_quote_subst"`'
12301 old_striplib='`$ECHO "$old_striplib" | $SED "$delay_single_quote_subst"`'
12302 striplib='`$ECHO "$striplib" | $SED "$delay_single_quote_subst"`'
12303
12304 LTCC='$LTCC'
12305 LTCFLAGS='$LTCFLAGS'
12306 compiler='$compiler_DEFAULT'
12307
12308 # A function that is used when there is no print builtin or printf.
12309 func_fallback_echo ()
12310 {
12311   eval 'cat <<_LTECHO_EOF
12312 \$1
12313 _LTECHO_EOF'
12314 }
12315
12316 # Quote evaled strings.
12317 for var in AS \
12318 DLLTOOL \
12319 OBJDUMP \
12320 SHELL \
12321 ECHO \
12322 PATH_SEPARATOR \
12323 SED \
12324 GREP \
12325 EGREP \
12326 FGREP \
12327 LD \
12328 NM \
12329 LN_S \
12330 lt_SP2NL \
12331 lt_NL2SP \
12332 reload_flag \
12333 deplibs_check_method \
12334 file_magic_cmd \
12335 file_magic_glob \
12336 want_nocaseglob \
12337 sharedlib_from_linklib_cmd \
12338 AR \
12339 AR_FLAGS \
12340 archiver_list_spec \
12341 STRIP \
12342 RANLIB \
12343 CC \
12344 CFLAGS \
12345 compiler \
12346 lt_cv_sys_global_symbol_pipe \
12347 lt_cv_sys_global_symbol_to_cdecl \
12348 lt_cv_sys_global_symbol_to_c_name_address \
12349 lt_cv_sys_global_symbol_to_c_name_address_lib_prefix \
12350 nm_file_list_spec \
12351 lt_prog_compiler_no_builtin_flag \
12352 lt_prog_compiler_pic \
12353 lt_prog_compiler_wl \
12354 lt_prog_compiler_static \
12355 lt_cv_prog_compiler_c_o \
12356 need_locks \
12357 MANIFEST_TOOL \
12358 DSYMUTIL \
12359 NMEDIT \
12360 LIPO \
12361 OTOOL \
12362 OTOOL64 \
12363 shrext_cmds \
12364 export_dynamic_flag_spec \
12365 whole_archive_flag_spec \
12366 compiler_needs_object \
12367 with_gnu_ld \
12368 allow_undefined_flag \
12369 no_undefined_flag \
12370 hardcode_libdir_flag_spec \
12371 hardcode_libdir_separator \
12372 exclude_expsyms \
12373 include_expsyms \
12374 file_list_spec \
12375 variables_saved_for_relink \
12376 libname_spec \
12377 library_names_spec \
12378 soname_spec \
12379 install_override_mode \
12380 finish_eval \
12381 old_striplib \
12382 striplib; do
12383     case \`eval \\\\\$ECHO \\\\""\\\\\$\$var"\\\\"\` in
12384     *[\\\\\\\`\\"\\\$]*)
12385       eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"\\\$\$var\\" | \\\$SED \\"\\\$sed_quote_subst\\"\\\`\\\\\\""
12386       ;;
12387     *)
12388       eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
12389       ;;
12390     esac
12391 done
12392
12393 # Double-quote double-evaled strings.
12394 for var in reload_cmds \
12395 old_postinstall_cmds \
12396 old_postuninstall_cmds \
12397 old_archive_cmds \
12398 extract_expsyms_cmds \
12399 old_archive_from_new_cmds \
12400 old_archive_from_expsyms_cmds \
12401 archive_cmds \
12402 archive_expsym_cmds \
12403 module_cmds \
12404 module_expsym_cmds \
12405 export_symbols_cmds \
12406 prelink_cmds \
12407 postlink_cmds \
12408 postinstall_cmds \
12409 postuninstall_cmds \
12410 finish_cmds \
12411 sys_lib_search_path_spec \
12412 sys_lib_dlsearch_path_spec; do
12413     case \`eval \\\\\$ECHO \\\\""\\\\\$\$var"\\\\"\` in
12414     *[\\\\\\\`\\"\\\$]*)
12415       eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"\\\$\$var\\" | \\\$SED -e \\"\\\$double_quote_subst\\" -e \\"\\\$sed_quote_subst\\" -e \\"\\\$delay_variable_subst\\"\\\`\\\\\\""
12416       ;;
12417     *)
12418       eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
12419       ;;
12420     esac
12421 done
12422
12423 ac_aux_dir='$ac_aux_dir'
12424 xsi_shell='$xsi_shell'
12425 lt_shell_append='$lt_shell_append'
12426
12427 # See if we are running on zsh, and set the options which allow our
12428 # commands through without removal of \ escapes INIT.
12429 if test -n "\${ZSH_VERSION+set}" ; then
12430    setopt NO_GLOB_SUBST
12431 fi
12432
12433
12434     PACKAGE='$PACKAGE'
12435     VERSION='$VERSION'
12436     TIMESTAMP='$TIMESTAMP'
12437     RM='$RM'
12438     ofile='$ofile'
12439
12440
12441
12442 _LTEOF
12443
12444 cat >>"$CONFIG_LT" <<\_LTEOF
12445 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $ofile" >&5
12446 $as_echo "$as_me: creating $ofile" >&6;}
12447
12448
12449     # See if we are running on zsh, and set the options which allow our
12450     # commands through without removal of \ escapes.
12451     if test -n "${ZSH_VERSION+set}" ; then
12452       setopt NO_GLOB_SUBST
12453     fi
12454
12455     cfgfile="${ofile}T"
12456     trap "$RM \"$cfgfile\"; exit 1" 1 2 15
12457     $RM "$cfgfile"
12458
12459     cat <<_LT_EOF >> "$cfgfile"
12460 #! $SHELL
12461
12462 # `$ECHO "$ofile" | sed 's%^.*/%%'` - Provide generalized library-building support services.
12463 # Generated automatically by $as_me ($PACKAGE$TIMESTAMP) $VERSION
12464 # Libtool was configured on host `(hostname || uname -n) 2>/dev/null | sed 1q`:
12465 # NOTE: Changes made to this file will be lost: look at ltmain.sh.
12466 #
12467 #   Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2003, 2004, 2005,
12468 #                 2006, 2007, 2008, 2009, 2010, 2011 Free Software
12469 #                 Foundation, Inc.
12470 #   Written by Gordon Matzigkeit, 1996
12471 #
12472 #   This file is part of GNU Libtool.
12473 #
12474 # GNU Libtool is free software; you can redistribute it and/or
12475 # modify it under the terms of the GNU General Public License as
12476 # published by the Free Software Foundation; either version 2 of
12477 # the License, or (at your option) any later version.
12478 #
12479 # As a special exception to the GNU General Public License,
12480 # if you distribute this file as part of a program or library that
12481 # is built using GNU Libtool, you may include this file under the
12482 # same distribution terms that you use for the rest of that program.
12483 #
12484 # GNU Libtool is distributed in the hope that it will be useful,
12485 # but WITHOUT ANY WARRANTY; without even the implied warranty of
12486 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
12487 # GNU General Public License for more details.
12488 #
12489 # You should have received a copy of the GNU General Public License
12490 # along with GNU Libtool; see the file COPYING.  If not, a copy
12491 # can be downloaded from http://www.gnu.org/licenses/gpl.html, or
12492 # obtained by writing to the Free Software Foundation, Inc.,
12493 # 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
12494
12495
12496 # The names of the tagged configurations supported by this script.
12497 available_tags=""
12498
12499 # ### BEGIN LIBTOOL CONFIG
12500
12501 # Whether or not to build static libraries.
12502 build_old_libs=$enable_static
12503
12504 # Assembler program.
12505 AS=$lt_AS
12506
12507 # DLL creation program.
12508 DLLTOOL=$lt_DLLTOOL
12509
12510 # Object dumper program.
12511 OBJDUMP=$lt_OBJDUMP
12512
12513 # Which release of libtool.m4 was used?
12514 macro_version=$macro_version
12515 macro_revision=$macro_revision
12516
12517 # Whether or not to build shared libraries.
12518 build_libtool_libs=$enable_shared
12519
12520 # What type of objects to build.
12521 pic_mode=$pic_mode
12522
12523 # Whether or not to optimize for fast installation.
12524 fast_install=$enable_fast_install
12525
12526 # Shell to use when invoking shell scripts.
12527 SHELL=$lt_SHELL
12528
12529 # An echo program that protects backslashes.
12530 ECHO=$lt_ECHO
12531
12532 # The PATH separator for the build system.
12533 PATH_SEPARATOR=$lt_PATH_SEPARATOR
12534
12535 # The host system.
12536 host_alias=$host_alias
12537 host=$host
12538 host_os=$host_os
12539
12540 # The build system.
12541 build_alias=$build_alias
12542 build=$build
12543 build_os=$build_os
12544
12545 # A sed program that does not truncate output.
12546 SED=$lt_SED
12547
12548 # Sed that helps us avoid accidentally triggering echo(1) options like -n.
12549 Xsed="\$SED -e 1s/^X//"
12550
12551 # A grep program that handles long lines.
12552 GREP=$lt_GREP
12553
12554 # An ERE matcher.
12555 EGREP=$lt_EGREP
12556
12557 # A literal string matcher.
12558 FGREP=$lt_FGREP
12559
12560 # A BSD- or MS-compatible name lister.
12561 NM=$lt_NM
12562
12563 # Whether we need soft or hard links.
12564 LN_S=$lt_LN_S
12565
12566 # What is the maximum length of a command?
12567 max_cmd_len=$max_cmd_len
12568
12569 # Object file suffix (normally "o").
12570 objext=$ac_objext
12571
12572 # Executable file suffix (normally "").
12573 exeext=$exeext
12574
12575 # whether the shell understands "unset".
12576 lt_unset=$lt_unset
12577
12578 # turn spaces into newlines.
12579 SP2NL=$lt_lt_SP2NL
12580
12581 # turn newlines into spaces.
12582 NL2SP=$lt_lt_NL2SP
12583
12584 # convert \$build file names to \$host format.
12585 to_host_file_cmd=$lt_cv_to_host_file_cmd
12586
12587 # convert \$build files to toolchain format.
12588 to_tool_file_cmd=$lt_cv_to_tool_file_cmd
12589
12590 # Method to check whether dependent libraries are shared objects.
12591 deplibs_check_method=$lt_deplibs_check_method
12592
12593 # Command to use when deplibs_check_method = "file_magic".
12594 file_magic_cmd=$lt_file_magic_cmd
12595
12596 # How to find potential files when deplibs_check_method = "file_magic".
12597 file_magic_glob=$lt_file_magic_glob
12598
12599 # Find potential files using nocaseglob when deplibs_check_method = "file_magic".
12600 want_nocaseglob=$lt_want_nocaseglob
12601
12602 # Command to associate shared and link libraries.
12603 sharedlib_from_linklib_cmd=$lt_sharedlib_from_linklib_cmd
12604
12605 # The archiver.
12606 AR=$lt_AR
12607
12608 # Flags to create an archive.
12609 AR_FLAGS=$lt_AR_FLAGS
12610
12611 # How to feed a file listing to the archiver.
12612 archiver_list_spec=$lt_archiver_list_spec
12613
12614 # A symbol stripping program.
12615 STRIP=$lt_STRIP
12616
12617 # Commands used to install an old-style archive.
12618 RANLIB=$lt_RANLIB
12619 old_postinstall_cmds=$lt_old_postinstall_cmds
12620 old_postuninstall_cmds=$lt_old_postuninstall_cmds
12621
12622 # Whether to use a lock for old archive extraction.
12623 lock_old_archive_extraction=$lock_old_archive_extraction
12624
12625 # A C compiler.
12626 LTCC=$lt_CC
12627
12628 # LTCC compiler flags.
12629 LTCFLAGS=$lt_CFLAGS
12630
12631 # Take the output of nm and produce a listing of raw symbols and C names.
12632 global_symbol_pipe=$lt_lt_cv_sys_global_symbol_pipe
12633
12634 # Transform the output of nm in a proper C declaration.
12635 global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl
12636
12637 # Transform the output of nm in a C name address pair.
12638 global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address
12639
12640 # Transform the output of nm in a C name address pair when lib prefix is needed.
12641 global_symbol_to_c_name_address_lib_prefix=$lt_lt_cv_sys_global_symbol_to_c_name_address_lib_prefix
12642
12643 # Specify filename containing input files for \$NM.
12644 nm_file_list_spec=$lt_nm_file_list_spec
12645
12646 # The root where to search for dependent libraries,and in which our libraries should be installed.
12647 lt_sysroot=$lt_sysroot
12648
12649 # The name of the directory that contains temporary libtool files.
12650 objdir=$objdir
12651
12652 # Used to examine libraries when file_magic_cmd begins with "file".
12653 MAGIC_CMD=$MAGIC_CMD
12654
12655 # Must we lock files when doing compilation?
12656 need_locks=$lt_need_locks
12657
12658 # Manifest tool.
12659 MANIFEST_TOOL=$lt_MANIFEST_TOOL
12660
12661 # Tool to manipulate archived DWARF debug symbol files on Mac OS X.
12662 DSYMUTIL=$lt_DSYMUTIL
12663
12664 # Tool to change global to local symbols on Mac OS X.
12665 NMEDIT=$lt_NMEDIT
12666
12667 # Tool to manipulate fat objects and archives on Mac OS X.
12668 LIPO=$lt_LIPO
12669
12670 # ldd/readelf like tool for Mach-O binaries on Mac OS X.
12671 OTOOL=$lt_OTOOL
12672
12673 # ldd/readelf like tool for 64 bit Mach-O binaries on Mac OS X 10.4.
12674 OTOOL64=$lt_OTOOL64
12675
12676 # Old archive suffix (normally "a").
12677 libext=$libext
12678
12679 # Shared library suffix (normally ".so").
12680 shrext_cmds=$lt_shrext_cmds
12681
12682 # The commands to extract the exported symbol list from a shared archive.
12683 extract_expsyms_cmds=$lt_extract_expsyms_cmds
12684
12685 # Variables whose values should be saved in libtool wrapper scripts and
12686 # restored at link time.
12687 variables_saved_for_relink=$lt_variables_saved_for_relink
12688
12689 # Do we need the "lib" prefix for modules?
12690 need_lib_prefix=$need_lib_prefix
12691
12692 # Do we need a version for libraries?
12693 need_version=$need_version
12694
12695 # Library versioning type.
12696 version_type=$version_type
12697
12698 # Shared library runtime path variable.
12699 runpath_var=$runpath_var
12700
12701 # Shared library path variable.
12702 shlibpath_var=$shlibpath_var
12703
12704 # Is shlibpath searched before the hard-coded library search path?
12705 shlibpath_overrides_runpath=$shlibpath_overrides_runpath
12706
12707 # Format of library name prefix.
12708 libname_spec=$lt_libname_spec
12709
12710 # List of archive names.  First name is the real one, the rest are links.
12711 # The last name is the one that the linker finds with -lNAME
12712 library_names_spec=$lt_library_names_spec
12713
12714 # The coded name of the library, if different from the real name.
12715 soname_spec=$lt_soname_spec
12716
12717 # Permission mode override for installation of shared libraries.
12718 install_override_mode=$lt_install_override_mode
12719
12720 # Command to use after installation of a shared archive.
12721 postinstall_cmds=$lt_postinstall_cmds
12722
12723 # Command to use after uninstallation of a shared archive.
12724 postuninstall_cmds=$lt_postuninstall_cmds
12725
12726 # Commands used to finish a libtool library installation in a directory.
12727 finish_cmds=$lt_finish_cmds
12728
12729 # As "finish_cmds", except a single script fragment to be evaled but
12730 # not shown.
12731 finish_eval=$lt_finish_eval
12732
12733 # Whether we should hardcode library paths into libraries.
12734 hardcode_into_libs=$hardcode_into_libs
12735
12736 # Compile-time system search path for libraries.
12737 sys_lib_search_path_spec=$lt_sys_lib_search_path_spec
12738
12739 # Run-time system search path for libraries.
12740 sys_lib_dlsearch_path_spec=$lt_sys_lib_dlsearch_path_spec
12741
12742 # Whether dlopen is supported.
12743 dlopen_support=$enable_dlopen
12744
12745 # Whether dlopen of programs is supported.
12746 dlopen_self=$enable_dlopen_self
12747
12748 # Whether dlopen of statically linked programs is supported.
12749 dlopen_self_static=$enable_dlopen_self_static
12750
12751 # Commands to strip libraries.
12752 old_striplib=$lt_old_striplib
12753 striplib=$lt_striplib
12754
12755
12756 # The linker used to build libraries.
12757 LD=$lt_LD
12758
12759 # How to create reloadable object files.
12760 reload_flag=$lt_reload_flag
12761 reload_cmds=$lt_reload_cmds
12762
12763 # Commands used to build an old-style archive.
12764 old_archive_cmds=$lt_old_archive_cmds
12765
12766 # A language specific compiler.
12767 CC=$lt_compiler
12768
12769 # Is the compiler the GNU compiler?
12770 with_gcc=$GCC
12771
12772 # Compiler flag to turn off builtin functions.
12773 no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag
12774
12775 # Additional compiler flags for building library objects.
12776 pic_flag=$lt_lt_prog_compiler_pic
12777
12778 # How to pass a linker flag through the compiler.
12779 wl=$lt_lt_prog_compiler_wl
12780
12781 # Compiler flag to prevent dynamic linking.
12782 link_static_flag=$lt_lt_prog_compiler_static
12783
12784 # Does compiler simultaneously support -c and -o options?
12785 compiler_c_o=$lt_lt_cv_prog_compiler_c_o
12786
12787 # Whether or not to add -lc for building shared libraries.
12788 build_libtool_need_lc=$archive_cmds_need_lc
12789
12790 # Whether or not to disallow shared libs when runtime libs are static.
12791 allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes
12792
12793 # Compiler flag to allow reflexive dlopens.
12794 export_dynamic_flag_spec=$lt_export_dynamic_flag_spec
12795
12796 # Compiler flag to generate shared objects directly from archives.
12797 whole_archive_flag_spec=$lt_whole_archive_flag_spec
12798
12799 # Whether the compiler copes with passing no objects directly.
12800 compiler_needs_object=$lt_compiler_needs_object
12801
12802 # Create an old-style archive from a shared archive.
12803 old_archive_from_new_cmds=$lt_old_archive_from_new_cmds
12804
12805 # Create a temporary old-style archive to link instead of a shared archive.
12806 old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds
12807
12808 # Commands used to build a shared archive.
12809 archive_cmds=$lt_archive_cmds
12810 archive_expsym_cmds=$lt_archive_expsym_cmds
12811
12812 # Commands used to build a loadable module if different from building
12813 # a shared archive.
12814 module_cmds=$lt_module_cmds
12815 module_expsym_cmds=$lt_module_expsym_cmds
12816
12817 # Whether we are building with GNU ld or not.
12818 with_gnu_ld=$lt_with_gnu_ld
12819
12820 # Flag that allows shared libraries with undefined symbols to be built.
12821 allow_undefined_flag=$lt_allow_undefined_flag
12822
12823 # Flag that enforces no undefined symbols.
12824 no_undefined_flag=$lt_no_undefined_flag
12825
12826 # Flag to hardcode \$libdir into a binary during linking.
12827 # This must work even if \$libdir does not exist
12828 hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec
12829
12830 # Whether we need a single "-rpath" flag with a separated argument.
12831 hardcode_libdir_separator=$lt_hardcode_libdir_separator
12832
12833 # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
12834 # DIR into the resulting binary.
12835 hardcode_direct=$hardcode_direct
12836
12837 # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
12838 # DIR into the resulting binary and the resulting library dependency is
12839 # "absolute",i.e impossible to change by setting \${shlibpath_var} if the
12840 # library is relocated.
12841 hardcode_direct_absolute=$hardcode_direct_absolute
12842
12843 # Set to "yes" if using the -LDIR flag during linking hardcodes DIR
12844 # into the resulting binary.
12845 hardcode_minus_L=$hardcode_minus_L
12846
12847 # Set to "yes" if using SHLIBPATH_VAR=DIR during linking hardcodes DIR
12848 # into the resulting binary.
12849 hardcode_shlibpath_var=$hardcode_shlibpath_var
12850
12851 # Set to "yes" if building a shared library automatically hardcodes DIR
12852 # into the library and all subsequent libraries and executables linked
12853 # against it.
12854 hardcode_automatic=$hardcode_automatic
12855
12856 # Set to yes if linker adds runtime paths of dependent libraries
12857 # to runtime path list.
12858 inherit_rpath=$inherit_rpath
12859
12860 # Whether libtool must link a program against all its dependency libraries.
12861 link_all_deplibs=$link_all_deplibs
12862
12863 # Set to "yes" if exported symbols are required.
12864 always_export_symbols=$always_export_symbols
12865
12866 # The commands to list exported symbols.
12867 export_symbols_cmds=$lt_export_symbols_cmds
12868
12869 # Symbols that should not be listed in the preloaded symbols.
12870 exclude_expsyms=$lt_exclude_expsyms
12871
12872 # Symbols that must always be exported.
12873 include_expsyms=$lt_include_expsyms
12874
12875 # Commands necessary for linking programs (against libraries) with templates.
12876 prelink_cmds=$lt_prelink_cmds
12877
12878 # Commands necessary for finishing linking programs.
12879 postlink_cmds=$lt_postlink_cmds
12880
12881 # Specify filename containing input files.
12882 file_list_spec=$lt_file_list_spec
12883
12884 # How to hardcode a shared library path into an executable.
12885 hardcode_action=$hardcode_action
12886
12887 # ### END LIBTOOL CONFIG
12888
12889 _LT_EOF
12890
12891   case $host_os in
12892   aix3*)
12893     cat <<\_LT_EOF >> "$cfgfile"
12894 # AIX sometimes has problems with the GCC collect2 program.  For some
12895 # reason, if we set the COLLECT_NAMES environment variable, the problems
12896 # vanish in a puff of smoke.
12897 if test "X${COLLECT_NAMES+set}" != Xset; then
12898   COLLECT_NAMES=
12899   export COLLECT_NAMES
12900 fi
12901 _LT_EOF
12902     ;;
12903   esac
12904
12905
12906 ltmain="$ac_aux_dir/ltmain.sh"
12907
12908
12909   # We use sed instead of cat because bash on DJGPP gets confused if
12910   # if finds mixed CR/LF and LF-only lines.  Since sed operates in
12911   # text mode, it properly converts lines to CR/LF.  This bash problem
12912   # is reportedly fixed, but why not run on old versions too?
12913   sed '$q' "$ltmain" >> "$cfgfile" \
12914      || (rm -f "$cfgfile"; exit 1)
12915
12916   if test x"$xsi_shell" = xyes; then
12917   sed -e '/^func_dirname ()$/,/^} # func_dirname /c\
12918 func_dirname ()\
12919 {\
12920 \    case ${1} in\
12921 \      */*) func_dirname_result="${1%/*}${2}" ;;\
12922 \      *  ) func_dirname_result="${3}" ;;\
12923 \    esac\
12924 } # Extended-shell func_dirname implementation' "$cfgfile" > $cfgfile.tmp \
12925   && mv -f "$cfgfile.tmp" "$cfgfile" \
12926     || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
12927 test 0 -eq $? || _lt_function_replace_fail=:
12928
12929
12930   sed -e '/^func_basename ()$/,/^} # func_basename /c\
12931 func_basename ()\
12932 {\
12933 \    func_basename_result="${1##*/}"\
12934 } # Extended-shell func_basename implementation' "$cfgfile" > $cfgfile.tmp \
12935   && mv -f "$cfgfile.tmp" "$cfgfile" \
12936     || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
12937 test 0 -eq $? || _lt_function_replace_fail=:
12938
12939
12940   sed -e '/^func_dirname_and_basename ()$/,/^} # func_dirname_and_basename /c\
12941 func_dirname_and_basename ()\
12942 {\
12943 \    case ${1} in\
12944 \      */*) func_dirname_result="${1%/*}${2}" ;;\
12945 \      *  ) func_dirname_result="${3}" ;;\
12946 \    esac\
12947 \    func_basename_result="${1##*/}"\
12948 } # Extended-shell func_dirname_and_basename implementation' "$cfgfile" > $cfgfile.tmp \
12949   && mv -f "$cfgfile.tmp" "$cfgfile" \
12950     || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
12951 test 0 -eq $? || _lt_function_replace_fail=:
12952
12953
12954   sed -e '/^func_stripname ()$/,/^} # func_stripname /c\
12955 func_stripname ()\
12956 {\
12957 \    # pdksh 5.2.14 does not do ${X%$Y} correctly if both X and Y are\
12958 \    # positional parameters, so assign one to ordinary parameter first.\
12959 \    func_stripname_result=${3}\
12960 \    func_stripname_result=${func_stripname_result#"${1}"}\
12961 \    func_stripname_result=${func_stripname_result%"${2}"}\
12962 } # Extended-shell func_stripname implementation' "$cfgfile" > $cfgfile.tmp \
12963   && mv -f "$cfgfile.tmp" "$cfgfile" \
12964     || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
12965 test 0 -eq $? || _lt_function_replace_fail=:
12966
12967
12968   sed -e '/^func_split_long_opt ()$/,/^} # func_split_long_opt /c\
12969 func_split_long_opt ()\
12970 {\
12971 \    func_split_long_opt_name=${1%%=*}\
12972 \    func_split_long_opt_arg=${1#*=}\
12973 } # Extended-shell func_split_long_opt implementation' "$cfgfile" > $cfgfile.tmp \
12974   && mv -f "$cfgfile.tmp" "$cfgfile" \
12975     || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
12976 test 0 -eq $? || _lt_function_replace_fail=:
12977
12978
12979   sed -e '/^func_split_short_opt ()$/,/^} # func_split_short_opt /c\
12980 func_split_short_opt ()\
12981 {\
12982 \    func_split_short_opt_arg=${1#??}\
12983 \    func_split_short_opt_name=${1%"$func_split_short_opt_arg"}\
12984 } # Extended-shell func_split_short_opt implementation' "$cfgfile" > $cfgfile.tmp \
12985   && mv -f "$cfgfile.tmp" "$cfgfile" \
12986     || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
12987 test 0 -eq $? || _lt_function_replace_fail=:
12988
12989
12990   sed -e '/^func_lo2o ()$/,/^} # func_lo2o /c\
12991 func_lo2o ()\
12992 {\
12993 \    case ${1} in\
12994 \      *.lo) func_lo2o_result=${1%.lo}.${objext} ;;\
12995 \      *)    func_lo2o_result=${1} ;;\
12996 \    esac\
12997 } # Extended-shell func_lo2o implementation' "$cfgfile" > $cfgfile.tmp \
12998   && mv -f "$cfgfile.tmp" "$cfgfile" \
12999     || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
13000 test 0 -eq $? || _lt_function_replace_fail=:
13001
13002
13003   sed -e '/^func_xform ()$/,/^} # func_xform /c\
13004 func_xform ()\
13005 {\
13006     func_xform_result=${1%.*}.lo\
13007 } # Extended-shell func_xform implementation' "$cfgfile" > $cfgfile.tmp \
13008   && mv -f "$cfgfile.tmp" "$cfgfile" \
13009     || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
13010 test 0 -eq $? || _lt_function_replace_fail=:
13011
13012
13013   sed -e '/^func_arith ()$/,/^} # func_arith /c\
13014 func_arith ()\
13015 {\
13016     func_arith_result=$(( $* ))\
13017 } # Extended-shell func_arith implementation' "$cfgfile" > $cfgfile.tmp \
13018   && mv -f "$cfgfile.tmp" "$cfgfile" \
13019     || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
13020 test 0 -eq $? || _lt_function_replace_fail=:
13021
13022
13023   sed -e '/^func_len ()$/,/^} # func_len /c\
13024 func_len ()\
13025 {\
13026     func_len_result=${#1}\
13027 } # Extended-shell func_len implementation' "$cfgfile" > $cfgfile.tmp \
13028   && mv -f "$cfgfile.tmp" "$cfgfile" \
13029     || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
13030 test 0 -eq $? || _lt_function_replace_fail=:
13031
13032 fi
13033
13034 if test x"$lt_shell_append" = xyes; then
13035   sed -e '/^func_append ()$/,/^} # func_append /c\
13036 func_append ()\
13037 {\
13038     eval "${1}+=\\${2}"\
13039 } # Extended-shell func_append implementation' "$cfgfile" > $cfgfile.tmp \
13040   && mv -f "$cfgfile.tmp" "$cfgfile" \
13041     || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
13042 test 0 -eq $? || _lt_function_replace_fail=:
13043
13044
13045   sed -e '/^func_append_quoted ()$/,/^} # func_append_quoted /c\
13046 func_append_quoted ()\
13047 {\
13048 \    func_quote_for_eval "${2}"\
13049 \    eval "${1}+=\\\\ \\$func_quote_for_eval_result"\
13050 } # Extended-shell func_append_quoted implementation' "$cfgfile" > $cfgfile.tmp \
13051   && mv -f "$cfgfile.tmp" "$cfgfile" \
13052     || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
13053 test 0 -eq $? || _lt_function_replace_fail=:
13054
13055
13056   # Save a `func_append' function call where possible by direct use of '+='
13057   sed -e 's%func_append \([a-zA-Z_]\{1,\}\) "%\1+="%g' $cfgfile > $cfgfile.tmp \
13058     && mv -f "$cfgfile.tmp" "$cfgfile" \
13059       || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
13060   test 0 -eq $? || _lt_function_replace_fail=:
13061 else
13062   # Save a `func_append' function call even when '+=' is not available
13063   sed -e 's%func_append \([a-zA-Z_]\{1,\}\) "%\1="$\1%g' $cfgfile > $cfgfile.tmp \
13064     && mv -f "$cfgfile.tmp" "$cfgfile" \
13065       || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
13066   test 0 -eq $? || _lt_function_replace_fail=:
13067 fi
13068
13069 if test x"$_lt_function_replace_fail" = x":"; then
13070   { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Unable to substitute extended shell functions in $ofile" >&5
13071 $as_echo "$as_me: WARNING: Unable to substitute extended shell functions in $ofile" >&2;}
13072 fi
13073
13074
13075    mv -f "$cfgfile" "$ofile" ||
13076     (rm -f "$ofile" && cp "$cfgfile" "$ofile" && rm -f "$cfgfile")
13077   chmod +x "$ofile"
13078
13079
13080 as_fn_exit 0
13081 _LTEOF
13082 chmod +x "$CONFIG_LT"
13083
13084 # configure is writing to config.log, but config.lt does its own redirection,
13085 # appending to config.log, which fails on DOS, as config.log is still kept
13086 # open by configure.  Here we exec the FD to /dev/null, effectively closing
13087 # config.log, so it can be properly (re)opened and appended to by config.lt.
13088 lt_cl_success=:
13089 test "$silent" = yes &&
13090   lt_config_lt_args="$lt_config_lt_args --quiet"
13091 exec 5>/dev/null
13092 $SHELL "$CONFIG_LT" $lt_config_lt_args || lt_cl_success=false
13093 exec 5>>config.log
13094 $lt_cl_success || as_fn_exit 1
13095
13096 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing strerror" >&5
13097 $as_echo_n "checking for library containing strerror... " >&6; }
13098 if ${ac_cv_search_strerror+:} false; then :
13099   $as_echo_n "(cached) " >&6
13100 else
13101   ac_func_search_save_LIBS=$LIBS
13102 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13103 /* end confdefs.h.  */
13104
13105 /* Override any GCC internal prototype to avoid an error.
13106    Use char because int might match the return type of a GCC
13107    builtin and then its argument prototype would still apply.  */
13108 #ifdef __cplusplus
13109 extern "C"
13110 #endif
13111 char strerror ();
13112 int
13113 main ()
13114 {
13115 return strerror ();
13116   ;
13117   return 0;
13118 }
13119 _ACEOF
13120 for ac_lib in '' cposix; do
13121   if test -z "$ac_lib"; then
13122     ac_res="none required"
13123   else
13124     ac_res=-l$ac_lib
13125     LIBS="-l$ac_lib  $ac_func_search_save_LIBS"
13126   fi
13127   if ac_fn_c_try_link "$LINENO"; then :
13128   ac_cv_search_strerror=$ac_res
13129 fi
13130 rm -f core conftest.err conftest.$ac_objext \
13131     conftest$ac_exeext
13132   if ${ac_cv_search_strerror+:} false; then :
13133   break
13134 fi
13135 done
13136 if ${ac_cv_search_strerror+:} false; then :
13137
13138 else
13139   ac_cv_search_strerror=no
13140 fi
13141 rm conftest.$ac_ext
13142 LIBS=$ac_func_search_save_LIBS
13143 fi
13144 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_strerror" >&5
13145 $as_echo "$ac_cv_search_strerror" >&6; }
13146 ac_res=$ac_cv_search_strerror
13147 if test "$ac_res" != no; then :
13148   test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
13149
13150 fi
13151
13152 ac_ext=c
13153 ac_cpp='$CPP $CPPFLAGS'
13154 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
13155 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
13156 ac_compiler_gnu=$ac_cv_c_compiler_gnu
13157 if test -n "$ac_tool_prefix"; then
13158   # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
13159 set dummy ${ac_tool_prefix}gcc; ac_word=$2
13160 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
13161 $as_echo_n "checking for $ac_word... " >&6; }
13162 if ${ac_cv_prog_CC+:} false; then :
13163   $as_echo_n "(cached) " >&6
13164 else
13165   if test -n "$CC"; then
13166   ac_cv_prog_CC="$CC" # Let the user override the test.
13167 else
13168 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
13169 for as_dir in $PATH
13170 do
13171   IFS=$as_save_IFS
13172   test -z "$as_dir" && as_dir=.
13173     for ac_exec_ext in '' $ac_executable_extensions; do
13174   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
13175     ac_cv_prog_CC="${ac_tool_prefix}gcc"
13176     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
13177     break 2
13178   fi
13179 done
13180   done
13181 IFS=$as_save_IFS
13182
13183 fi
13184 fi
13185 CC=$ac_cv_prog_CC
13186 if test -n "$CC"; then
13187   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
13188 $as_echo "$CC" >&6; }
13189 else
13190   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
13191 $as_echo "no" >&6; }
13192 fi
13193
13194
13195 fi
13196 if test -z "$ac_cv_prog_CC"; then
13197   ac_ct_CC=$CC
13198   # Extract the first word of "gcc", so it can be a program name with args.
13199 set dummy gcc; ac_word=$2
13200 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
13201 $as_echo_n "checking for $ac_word... " >&6; }
13202 if ${ac_cv_prog_ac_ct_CC+:} false; then :
13203   $as_echo_n "(cached) " >&6
13204 else
13205   if test -n "$ac_ct_CC"; then
13206   ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
13207 else
13208 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
13209 for as_dir in $PATH
13210 do
13211   IFS=$as_save_IFS
13212   test -z "$as_dir" && as_dir=.
13213     for ac_exec_ext in '' $ac_executable_extensions; do
13214   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
13215     ac_cv_prog_ac_ct_CC="gcc"
13216     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
13217     break 2
13218   fi
13219 done
13220   done
13221 IFS=$as_save_IFS
13222
13223 fi
13224 fi
13225 ac_ct_CC=$ac_cv_prog_ac_ct_CC
13226 if test -n "$ac_ct_CC"; then
13227   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
13228 $as_echo "$ac_ct_CC" >&6; }
13229 else
13230   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
13231 $as_echo "no" >&6; }
13232 fi
13233
13234   if test "x$ac_ct_CC" = x; then
13235     CC=""
13236   else
13237     case $cross_compiling:$ac_tool_warned in
13238 yes:)
13239 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
13240 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
13241 ac_tool_warned=yes ;;
13242 esac
13243     CC=$ac_ct_CC
13244   fi
13245 else
13246   CC="$ac_cv_prog_CC"
13247 fi
13248
13249 if test -z "$CC"; then
13250           if test -n "$ac_tool_prefix"; then
13251     # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
13252 set dummy ${ac_tool_prefix}cc; ac_word=$2
13253 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
13254 $as_echo_n "checking for $ac_word... " >&6; }
13255 if ${ac_cv_prog_CC+:} false; then :
13256   $as_echo_n "(cached) " >&6
13257 else
13258   if test -n "$CC"; then
13259   ac_cv_prog_CC="$CC" # Let the user override the test.
13260 else
13261 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
13262 for as_dir in $PATH
13263 do
13264   IFS=$as_save_IFS
13265   test -z "$as_dir" && as_dir=.
13266     for ac_exec_ext in '' $ac_executable_extensions; do
13267   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
13268     ac_cv_prog_CC="${ac_tool_prefix}cc"
13269     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
13270     break 2
13271   fi
13272 done
13273   done
13274 IFS=$as_save_IFS
13275
13276 fi
13277 fi
13278 CC=$ac_cv_prog_CC
13279 if test -n "$CC"; then
13280   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
13281 $as_echo "$CC" >&6; }
13282 else
13283   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
13284 $as_echo "no" >&6; }
13285 fi
13286
13287
13288   fi
13289 fi
13290 if test -z "$CC"; then
13291   # Extract the first word of "cc", so it can be a program name with args.
13292 set dummy cc; ac_word=$2
13293 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
13294 $as_echo_n "checking for $ac_word... " >&6; }
13295 if ${ac_cv_prog_CC+:} false; then :
13296   $as_echo_n "(cached) " >&6
13297 else
13298   if test -n "$CC"; then
13299   ac_cv_prog_CC="$CC" # Let the user override the test.
13300 else
13301   ac_prog_rejected=no
13302 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
13303 for as_dir in $PATH
13304 do
13305   IFS=$as_save_IFS
13306   test -z "$as_dir" && as_dir=.
13307     for ac_exec_ext in '' $ac_executable_extensions; do
13308   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
13309     if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
13310        ac_prog_rejected=yes
13311        continue
13312      fi
13313     ac_cv_prog_CC="cc"
13314     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
13315     break 2
13316   fi
13317 done
13318   done
13319 IFS=$as_save_IFS
13320
13321 if test $ac_prog_rejected = yes; then
13322   # We found a bogon in the path, so make sure we never use it.
13323   set dummy $ac_cv_prog_CC
13324   shift
13325   if test $# != 0; then
13326     # We chose a different compiler from the bogus one.
13327     # However, it has the same basename, so the bogon will be chosen
13328     # first if we set CC to just the basename; use the full file name.
13329     shift
13330     ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
13331   fi
13332 fi
13333 fi
13334 fi
13335 CC=$ac_cv_prog_CC
13336 if test -n "$CC"; then
13337   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
13338 $as_echo "$CC" >&6; }
13339 else
13340   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
13341 $as_echo "no" >&6; }
13342 fi
13343
13344
13345 fi
13346 if test -z "$CC"; then
13347   if test -n "$ac_tool_prefix"; then
13348   for ac_prog in cl.exe
13349   do
13350     # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
13351 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
13352 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
13353 $as_echo_n "checking for $ac_word... " >&6; }
13354 if ${ac_cv_prog_CC+:} false; then :
13355   $as_echo_n "(cached) " >&6
13356 else
13357   if test -n "$CC"; then
13358   ac_cv_prog_CC="$CC" # Let the user override the test.
13359 else
13360 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
13361 for as_dir in $PATH
13362 do
13363   IFS=$as_save_IFS
13364   test -z "$as_dir" && as_dir=.
13365     for ac_exec_ext in '' $ac_executable_extensions; do
13366   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
13367     ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
13368     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
13369     break 2
13370   fi
13371 done
13372   done
13373 IFS=$as_save_IFS
13374
13375 fi
13376 fi
13377 CC=$ac_cv_prog_CC
13378 if test -n "$CC"; then
13379   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
13380 $as_echo "$CC" >&6; }
13381 else
13382   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
13383 $as_echo "no" >&6; }
13384 fi
13385
13386
13387     test -n "$CC" && break
13388   done
13389 fi
13390 if test -z "$CC"; then
13391   ac_ct_CC=$CC
13392   for ac_prog in cl.exe
13393 do
13394   # Extract the first word of "$ac_prog", so it can be a program name with args.
13395 set dummy $ac_prog; ac_word=$2
13396 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
13397 $as_echo_n "checking for $ac_word... " >&6; }
13398 if ${ac_cv_prog_ac_ct_CC+:} false; then :
13399   $as_echo_n "(cached) " >&6
13400 else
13401   if test -n "$ac_ct_CC"; then
13402   ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
13403 else
13404 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
13405 for as_dir in $PATH
13406 do
13407   IFS=$as_save_IFS
13408   test -z "$as_dir" && as_dir=.
13409     for ac_exec_ext in '' $ac_executable_extensions; do
13410   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
13411     ac_cv_prog_ac_ct_CC="$ac_prog"
13412     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
13413     break 2
13414   fi
13415 done
13416   done
13417 IFS=$as_save_IFS
13418
13419 fi
13420 fi
13421 ac_ct_CC=$ac_cv_prog_ac_ct_CC
13422 if test -n "$ac_ct_CC"; then
13423   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
13424 $as_echo "$ac_ct_CC" >&6; }
13425 else
13426   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
13427 $as_echo "no" >&6; }
13428 fi
13429
13430
13431   test -n "$ac_ct_CC" && break
13432 done
13433
13434   if test "x$ac_ct_CC" = x; then
13435     CC=""
13436   else
13437     case $cross_compiling:$ac_tool_warned in
13438 yes:)
13439 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
13440 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
13441 ac_tool_warned=yes ;;
13442 esac
13443     CC=$ac_ct_CC
13444   fi
13445 fi
13446
13447 fi
13448
13449
13450 test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
13451 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
13452 as_fn_error $? "no acceptable C compiler found in \$PATH
13453 See \`config.log' for more details" "$LINENO" 5; }
13454
13455 # Provide some information about the compiler.
13456 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
13457 set X $ac_compile
13458 ac_compiler=$2
13459 for ac_option in --version -v -V -qversion; do
13460   { { ac_try="$ac_compiler $ac_option >&5"
13461 case "(($ac_try" in
13462   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
13463   *) ac_try_echo=$ac_try;;
13464 esac
13465 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
13466 $as_echo "$ac_try_echo"; } >&5
13467   (eval "$ac_compiler $ac_option >&5") 2>conftest.err
13468   ac_status=$?
13469   if test -s conftest.err; then
13470     sed '10a\
13471 ... rest of stderr output deleted ...
13472          10q' conftest.err >conftest.er1
13473     cat conftest.er1 >&5
13474   fi
13475   rm -f conftest.er1 conftest.err
13476   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
13477   test $ac_status = 0; }
13478 done
13479
13480 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
13481 $as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
13482 if ${ac_cv_c_compiler_gnu+:} false; then :
13483   $as_echo_n "(cached) " >&6
13484 else
13485   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13486 /* end confdefs.h.  */
13487
13488 int
13489 main ()
13490 {
13491 #ifndef __GNUC__
13492        choke me
13493 #endif
13494
13495   ;
13496   return 0;
13497 }
13498 _ACEOF
13499 if ac_fn_c_try_compile "$LINENO"; then :
13500   ac_compiler_gnu=yes
13501 else
13502   ac_compiler_gnu=no
13503 fi
13504 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
13505 ac_cv_c_compiler_gnu=$ac_compiler_gnu
13506
13507 fi
13508 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
13509 $as_echo "$ac_cv_c_compiler_gnu" >&6; }
13510 if test $ac_compiler_gnu = yes; then
13511   GCC=yes
13512 else
13513   GCC=
13514 fi
13515 ac_test_CFLAGS=${CFLAGS+set}
13516 ac_save_CFLAGS=$CFLAGS
13517 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
13518 $as_echo_n "checking whether $CC accepts -g... " >&6; }
13519 if ${ac_cv_prog_cc_g+:} false; then :
13520   $as_echo_n "(cached) " >&6
13521 else
13522   ac_save_c_werror_flag=$ac_c_werror_flag
13523    ac_c_werror_flag=yes
13524    ac_cv_prog_cc_g=no
13525    CFLAGS="-g"
13526    cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13527 /* end confdefs.h.  */
13528
13529 int
13530 main ()
13531 {
13532
13533   ;
13534   return 0;
13535 }
13536 _ACEOF
13537 if ac_fn_c_try_compile "$LINENO"; then :
13538   ac_cv_prog_cc_g=yes
13539 else
13540   CFLAGS=""
13541       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13542 /* end confdefs.h.  */
13543
13544 int
13545 main ()
13546 {
13547
13548   ;
13549   return 0;
13550 }
13551 _ACEOF
13552 if ac_fn_c_try_compile "$LINENO"; then :
13553
13554 else
13555   ac_c_werror_flag=$ac_save_c_werror_flag
13556          CFLAGS="-g"
13557          cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13558 /* end confdefs.h.  */
13559
13560 int
13561 main ()
13562 {
13563
13564   ;
13565   return 0;
13566 }
13567 _ACEOF
13568 if ac_fn_c_try_compile "$LINENO"; then :
13569   ac_cv_prog_cc_g=yes
13570 fi
13571 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
13572 fi
13573 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
13574 fi
13575 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
13576    ac_c_werror_flag=$ac_save_c_werror_flag
13577 fi
13578 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
13579 $as_echo "$ac_cv_prog_cc_g" >&6; }
13580 if test "$ac_test_CFLAGS" = set; then
13581   CFLAGS=$ac_save_CFLAGS
13582 elif test $ac_cv_prog_cc_g = yes; then
13583   if test "$GCC" = yes; then
13584     CFLAGS="-g -O2"
13585   else
13586     CFLAGS="-g"
13587   fi
13588 else
13589   if test "$GCC" = yes; then
13590     CFLAGS="-O2"
13591   else
13592     CFLAGS=
13593   fi
13594 fi
13595 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
13596 $as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
13597 if ${ac_cv_prog_cc_c89+:} false; then :
13598   $as_echo_n "(cached) " >&6
13599 else
13600   ac_cv_prog_cc_c89=no
13601 ac_save_CC=$CC
13602 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13603 /* end confdefs.h.  */
13604 #include <stdarg.h>
13605 #include <stdio.h>
13606 struct stat;
13607 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh.  */
13608 struct buf { int x; };
13609 FILE * (*rcsopen) (struct buf *, struct stat *, int);
13610 static char *e (p, i)
13611      char **p;
13612      int i;
13613 {
13614   return p[i];
13615 }
13616 static char *f (char * (*g) (char **, int), char **p, ...)
13617 {
13618   char *s;
13619   va_list v;
13620   va_start (v,p);
13621   s = g (p, va_arg (v,int));
13622   va_end (v);
13623   return s;
13624 }
13625
13626 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default.  It has
13627    function prototypes and stuff, but not '\xHH' hex character constants.
13628    These don't provoke an error unfortunately, instead are silently treated
13629    as 'x'.  The following induces an error, until -std is added to get
13630    proper ANSI mode.  Curiously '\x00'!='x' always comes out true, for an
13631    array size at least.  It's necessary to write '\x00'==0 to get something
13632    that's true only with -std.  */
13633 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
13634
13635 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
13636    inside strings and character constants.  */
13637 #define FOO(x) 'x'
13638 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
13639
13640 int test (int i, double x);
13641 struct s1 {int (*f) (int a);};
13642 struct s2 {int (*f) (double a);};
13643 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
13644 int argc;
13645 char **argv;
13646 int
13647 main ()
13648 {
13649 return f (e, argv, 0) != argv[0]  ||  f (e, argv, 1) != argv[1];
13650   ;
13651   return 0;
13652 }
13653 _ACEOF
13654 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
13655         -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
13656 do
13657   CC="$ac_save_CC $ac_arg"
13658   if ac_fn_c_try_compile "$LINENO"; then :
13659   ac_cv_prog_cc_c89=$ac_arg
13660 fi
13661 rm -f core conftest.err conftest.$ac_objext
13662   test "x$ac_cv_prog_cc_c89" != "xno" && break
13663 done
13664 rm -f conftest.$ac_ext
13665 CC=$ac_save_CC
13666
13667 fi
13668 # AC_CACHE_VAL
13669 case "x$ac_cv_prog_cc_c89" in
13670   x)
13671     { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
13672 $as_echo "none needed" >&6; } ;;
13673   xno)
13674     { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
13675 $as_echo "unsupported" >&6; } ;;
13676   *)
13677     CC="$CC $ac_cv_prog_cc_c89"
13678     { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
13679 $as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
13680 esac
13681 if test "x$ac_cv_prog_cc_c89" != xno; then :
13682
13683 fi
13684
13685 ac_ext=c
13686 ac_cpp='$CPP $CPPFLAGS'
13687 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
13688 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
13689 ac_compiler_gnu=$ac_cv_c_compiler_gnu
13690
13691 depcc="$CC"   am_compiler_list=
13692
13693 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5
13694 $as_echo_n "checking dependency style of $depcc... " >&6; }
13695 if ${am_cv_CC_dependencies_compiler_type+:} false; then :
13696   $as_echo_n "(cached) " >&6
13697 else
13698   if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
13699   # We make a subdir and do the tests there.  Otherwise we can end up
13700   # making bogus files that we don't know about and never remove.  For
13701   # instance it was reported that on HP-UX the gcc test will end up
13702   # making a dummy file named `D' -- because `-MD' means `put the output
13703   # in D'.
13704   rm -rf conftest.dir
13705   mkdir conftest.dir
13706   # Copy depcomp to subdir because otherwise we won't find it if we're
13707   # using a relative directory.
13708   cp "$am_depcomp" conftest.dir
13709   cd conftest.dir
13710   # We will build objects and dependencies in a subdirectory because
13711   # it helps to detect inapplicable dependency modes.  For instance
13712   # both Tru64's cc and ICC support -MD to output dependencies as a
13713   # side effect of compilation, but ICC will put the dependencies in
13714   # the current directory while Tru64 will put them in the object
13715   # directory.
13716   mkdir sub
13717
13718   am_cv_CC_dependencies_compiler_type=none
13719   if test "$am_compiler_list" = ""; then
13720      am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
13721   fi
13722   am__universal=false
13723   case " $depcc " in #(
13724      *\ -arch\ *\ -arch\ *) am__universal=true ;;
13725      esac
13726
13727   for depmode in $am_compiler_list; do
13728     # Setup a source with many dependencies, because some compilers
13729     # like to wrap large dependency lists on column 80 (with \), and
13730     # we should not choose a depcomp mode which is confused by this.
13731     #
13732     # We need to recreate these files for each test, as the compiler may
13733     # overwrite some of them when testing with obscure command lines.
13734     # This happens at least with the AIX C compiler.
13735     : > sub/conftest.c
13736     for i in 1 2 3 4 5 6; do
13737       echo '#include "conftst'$i'.h"' >> sub/conftest.c
13738       # Using `: > sub/conftst$i.h' creates only sub/conftst1.h with
13739       # Solaris 8's {/usr,}/bin/sh.
13740       touch sub/conftst$i.h
13741     done
13742     echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
13743
13744     # We check with `-c' and `-o' for the sake of the "dashmstdout"
13745     # mode.  It turns out that the SunPro C++ compiler does not properly
13746     # handle `-M -o', and we need to detect this.  Also, some Intel
13747     # versions had trouble with output in subdirs
13748     am__obj=sub/conftest.${OBJEXT-o}
13749     am__minus_obj="-o $am__obj"
13750     case $depmode in
13751     gcc)
13752       # This depmode causes a compiler race in universal mode.
13753       test "$am__universal" = false || continue
13754       ;;
13755     nosideeffect)
13756       # after this tag, mechanisms are not by side-effect, so they'll
13757       # only be used when explicitly requested
13758       if test "x$enable_dependency_tracking" = xyes; then
13759         continue
13760       else
13761         break
13762       fi
13763       ;;
13764     msvc7 | msvc7msys | msvisualcpp | msvcmsys)
13765       # This compiler won't grok `-c -o', but also, the minuso test has
13766       # not run yet.  These depmodes are late enough in the game, and
13767       # so weak that their functioning should not be impacted.
13768       am__obj=conftest.${OBJEXT-o}
13769       am__minus_obj=
13770       ;;
13771     none) break ;;
13772     esac
13773     if depmode=$depmode \
13774        source=sub/conftest.c object=$am__obj \
13775        depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
13776        $SHELL ./depcomp $depcc -c $am__minus_obj sub/conftest.c \
13777          >/dev/null 2>conftest.err &&
13778        grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 &&
13779        grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
13780        grep $am__obj sub/conftest.Po > /dev/null 2>&1 &&
13781        ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
13782       # icc doesn't choke on unknown options, it will just issue warnings
13783       # or remarks (even with -Werror).  So we grep stderr for any message
13784       # that says an option was ignored or not supported.
13785       # When given -MP, icc 7.0 and 7.1 complain thusly:
13786       #   icc: Command line warning: ignoring option '-M'; no argument required
13787       # The diagnosis changed in icc 8.0:
13788       #   icc: Command line remark: option '-MP' not supported
13789       if (grep 'ignoring option' conftest.err ||
13790           grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
13791         am_cv_CC_dependencies_compiler_type=$depmode
13792         break
13793       fi
13794     fi
13795   done
13796
13797   cd ..
13798   rm -rf conftest.dir
13799 else
13800   am_cv_CC_dependencies_compiler_type=none
13801 fi
13802
13803 fi
13804 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_CC_dependencies_compiler_type" >&5
13805 $as_echo "$am_cv_CC_dependencies_compiler_type" >&6; }
13806 CCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type
13807
13808  if
13809   test "x$enable_dependency_tracking" != xno \
13810   && test "$am_cv_CC_dependencies_compiler_type" = gcc3; then
13811   am__fastdepCC_TRUE=
13812   am__fastdepCC_FALSE='#'
13813 else
13814   am__fastdepCC_TRUE='#'
13815   am__fastdepCC_FALSE=
13816 fi
13817
13818
13819 ac_ext=c
13820 ac_cpp='$CPP $CPPFLAGS'
13821 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
13822 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
13823 ac_compiler_gnu=$ac_cv_c_compiler_gnu
13824 if test -n "$ac_tool_prefix"; then
13825   # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
13826 set dummy ${ac_tool_prefix}gcc; ac_word=$2
13827 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
13828 $as_echo_n "checking for $ac_word... " >&6; }
13829 if ${ac_cv_prog_CC+:} false; then :
13830   $as_echo_n "(cached) " >&6
13831 else
13832   if test -n "$CC"; then
13833   ac_cv_prog_CC="$CC" # Let the user override the test.
13834 else
13835 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
13836 for as_dir in $PATH
13837 do
13838   IFS=$as_save_IFS
13839   test -z "$as_dir" && as_dir=.
13840     for ac_exec_ext in '' $ac_executable_extensions; do
13841   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
13842     ac_cv_prog_CC="${ac_tool_prefix}gcc"
13843     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
13844     break 2
13845   fi
13846 done
13847   done
13848 IFS=$as_save_IFS
13849
13850 fi
13851 fi
13852 CC=$ac_cv_prog_CC
13853 if test -n "$CC"; then
13854   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
13855 $as_echo "$CC" >&6; }
13856 else
13857   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
13858 $as_echo "no" >&6; }
13859 fi
13860
13861
13862 fi
13863 if test -z "$ac_cv_prog_CC"; then
13864   ac_ct_CC=$CC
13865   # Extract the first word of "gcc", so it can be a program name with args.
13866 set dummy gcc; ac_word=$2
13867 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
13868 $as_echo_n "checking for $ac_word... " >&6; }
13869 if ${ac_cv_prog_ac_ct_CC+:} false; then :
13870   $as_echo_n "(cached) " >&6
13871 else
13872   if test -n "$ac_ct_CC"; then
13873   ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
13874 else
13875 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
13876 for as_dir in $PATH
13877 do
13878   IFS=$as_save_IFS
13879   test -z "$as_dir" && as_dir=.
13880     for ac_exec_ext in '' $ac_executable_extensions; do
13881   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
13882     ac_cv_prog_ac_ct_CC="gcc"
13883     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
13884     break 2
13885   fi
13886 done
13887   done
13888 IFS=$as_save_IFS
13889
13890 fi
13891 fi
13892 ac_ct_CC=$ac_cv_prog_ac_ct_CC
13893 if test -n "$ac_ct_CC"; then
13894   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
13895 $as_echo "$ac_ct_CC" >&6; }
13896 else
13897   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
13898 $as_echo "no" >&6; }
13899 fi
13900
13901   if test "x$ac_ct_CC" = x; then
13902     CC=""
13903   else
13904     case $cross_compiling:$ac_tool_warned in
13905 yes:)
13906 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
13907 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
13908 ac_tool_warned=yes ;;
13909 esac
13910     CC=$ac_ct_CC
13911   fi
13912 else
13913   CC="$ac_cv_prog_CC"
13914 fi
13915
13916 if test -z "$CC"; then
13917           if test -n "$ac_tool_prefix"; then
13918     # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
13919 set dummy ${ac_tool_prefix}cc; ac_word=$2
13920 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
13921 $as_echo_n "checking for $ac_word... " >&6; }
13922 if ${ac_cv_prog_CC+:} false; then :
13923   $as_echo_n "(cached) " >&6
13924 else
13925   if test -n "$CC"; then
13926   ac_cv_prog_CC="$CC" # Let the user override the test.
13927 else
13928 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
13929 for as_dir in $PATH
13930 do
13931   IFS=$as_save_IFS
13932   test -z "$as_dir" && as_dir=.
13933     for ac_exec_ext in '' $ac_executable_extensions; do
13934   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
13935     ac_cv_prog_CC="${ac_tool_prefix}cc"
13936     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
13937     break 2
13938   fi
13939 done
13940   done
13941 IFS=$as_save_IFS
13942
13943 fi
13944 fi
13945 CC=$ac_cv_prog_CC
13946 if test -n "$CC"; then
13947   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
13948 $as_echo "$CC" >&6; }
13949 else
13950   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
13951 $as_echo "no" >&6; }
13952 fi
13953
13954
13955   fi
13956 fi
13957 if test -z "$CC"; then
13958   # Extract the first word of "cc", so it can be a program name with args.
13959 set dummy cc; ac_word=$2
13960 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
13961 $as_echo_n "checking for $ac_word... " >&6; }
13962 if ${ac_cv_prog_CC+:} false; then :
13963   $as_echo_n "(cached) " >&6
13964 else
13965   if test -n "$CC"; then
13966   ac_cv_prog_CC="$CC" # Let the user override the test.
13967 else
13968   ac_prog_rejected=no
13969 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
13970 for as_dir in $PATH
13971 do
13972   IFS=$as_save_IFS
13973   test -z "$as_dir" && as_dir=.
13974     for ac_exec_ext in '' $ac_executable_extensions; do
13975   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
13976     if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
13977        ac_prog_rejected=yes
13978        continue
13979      fi
13980     ac_cv_prog_CC="cc"
13981     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
13982     break 2
13983   fi
13984 done
13985   done
13986 IFS=$as_save_IFS
13987
13988 if test $ac_prog_rejected = yes; then
13989   # We found a bogon in the path, so make sure we never use it.
13990   set dummy $ac_cv_prog_CC
13991   shift
13992   if test $# != 0; then
13993     # We chose a different compiler from the bogus one.
13994     # However, it has the same basename, so the bogon will be chosen
13995     # first if we set CC to just the basename; use the full file name.
13996     shift
13997     ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
13998   fi
13999 fi
14000 fi
14001 fi
14002 CC=$ac_cv_prog_CC
14003 if test -n "$CC"; then
14004   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
14005 $as_echo "$CC" >&6; }
14006 else
14007   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
14008 $as_echo "no" >&6; }
14009 fi
14010
14011
14012 fi
14013 if test -z "$CC"; then
14014   if test -n "$ac_tool_prefix"; then
14015   for ac_prog in cl.exe
14016   do
14017     # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
14018 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
14019 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
14020 $as_echo_n "checking for $ac_word... " >&6; }
14021 if ${ac_cv_prog_CC+:} false; then :
14022   $as_echo_n "(cached) " >&6
14023 else
14024   if test -n "$CC"; then
14025   ac_cv_prog_CC="$CC" # Let the user override the test.
14026 else
14027 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
14028 for as_dir in $PATH
14029 do
14030   IFS=$as_save_IFS
14031   test -z "$as_dir" && as_dir=.
14032     for ac_exec_ext in '' $ac_executable_extensions; do
14033   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
14034     ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
14035     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
14036     break 2
14037   fi
14038 done
14039   done
14040 IFS=$as_save_IFS
14041
14042 fi
14043 fi
14044 CC=$ac_cv_prog_CC
14045 if test -n "$CC"; then
14046   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
14047 $as_echo "$CC" >&6; }
14048 else
14049   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
14050 $as_echo "no" >&6; }
14051 fi
14052
14053
14054     test -n "$CC" && break
14055   done
14056 fi
14057 if test -z "$CC"; then
14058   ac_ct_CC=$CC
14059   for ac_prog in cl.exe
14060 do
14061   # Extract the first word of "$ac_prog", so it can be a program name with args.
14062 set dummy $ac_prog; ac_word=$2
14063 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
14064 $as_echo_n "checking for $ac_word... " >&6; }
14065 if ${ac_cv_prog_ac_ct_CC+:} false; then :
14066   $as_echo_n "(cached) " >&6
14067 else
14068   if test -n "$ac_ct_CC"; then
14069   ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
14070 else
14071 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
14072 for as_dir in $PATH
14073 do
14074   IFS=$as_save_IFS
14075   test -z "$as_dir" && as_dir=.
14076     for ac_exec_ext in '' $ac_executable_extensions; do
14077   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
14078     ac_cv_prog_ac_ct_CC="$ac_prog"
14079     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
14080     break 2
14081   fi
14082 done
14083   done
14084 IFS=$as_save_IFS
14085
14086 fi
14087 fi
14088 ac_ct_CC=$ac_cv_prog_ac_ct_CC
14089 if test -n "$ac_ct_CC"; then
14090   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
14091 $as_echo "$ac_ct_CC" >&6; }
14092 else
14093   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
14094 $as_echo "no" >&6; }
14095 fi
14096
14097
14098   test -n "$ac_ct_CC" && break
14099 done
14100
14101   if test "x$ac_ct_CC" = x; then
14102     CC=""
14103   else
14104     case $cross_compiling:$ac_tool_warned in
14105 yes:)
14106 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
14107 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
14108 ac_tool_warned=yes ;;
14109 esac
14110     CC=$ac_ct_CC
14111   fi
14112 fi
14113
14114 fi
14115
14116
14117 test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
14118 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
14119 as_fn_error $? "no acceptable C compiler found in \$PATH
14120 See \`config.log' for more details" "$LINENO" 5; }
14121
14122 # Provide some information about the compiler.
14123 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
14124 set X $ac_compile
14125 ac_compiler=$2
14126 for ac_option in --version -v -V -qversion; do
14127   { { ac_try="$ac_compiler $ac_option >&5"
14128 case "(($ac_try" in
14129   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14130   *) ac_try_echo=$ac_try;;
14131 esac
14132 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
14133 $as_echo "$ac_try_echo"; } >&5
14134   (eval "$ac_compiler $ac_option >&5") 2>conftest.err
14135   ac_status=$?
14136   if test -s conftest.err; then
14137     sed '10a\
14138 ... rest of stderr output deleted ...
14139          10q' conftest.err >conftest.er1
14140     cat conftest.er1 >&5
14141   fi
14142   rm -f conftest.er1 conftest.err
14143   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
14144   test $ac_status = 0; }
14145 done
14146
14147 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
14148 $as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
14149 if ${ac_cv_c_compiler_gnu+:} false; then :
14150   $as_echo_n "(cached) " >&6
14151 else
14152   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14153 /* end confdefs.h.  */
14154
14155 int
14156 main ()
14157 {
14158 #ifndef __GNUC__
14159        choke me
14160 #endif
14161
14162   ;
14163   return 0;
14164 }
14165 _ACEOF
14166 if ac_fn_c_try_compile "$LINENO"; then :
14167   ac_compiler_gnu=yes
14168 else
14169   ac_compiler_gnu=no
14170 fi
14171 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
14172 ac_cv_c_compiler_gnu=$ac_compiler_gnu
14173
14174 fi
14175 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
14176 $as_echo "$ac_cv_c_compiler_gnu" >&6; }
14177 if test $ac_compiler_gnu = yes; then
14178   GCC=yes
14179 else
14180   GCC=
14181 fi
14182 ac_test_CFLAGS=${CFLAGS+set}
14183 ac_save_CFLAGS=$CFLAGS
14184 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
14185 $as_echo_n "checking whether $CC accepts -g... " >&6; }
14186 if ${ac_cv_prog_cc_g+:} false; then :
14187   $as_echo_n "(cached) " >&6
14188 else
14189   ac_save_c_werror_flag=$ac_c_werror_flag
14190    ac_c_werror_flag=yes
14191    ac_cv_prog_cc_g=no
14192    CFLAGS="-g"
14193    cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14194 /* end confdefs.h.  */
14195
14196 int
14197 main ()
14198 {
14199
14200   ;
14201   return 0;
14202 }
14203 _ACEOF
14204 if ac_fn_c_try_compile "$LINENO"; then :
14205   ac_cv_prog_cc_g=yes
14206 else
14207   CFLAGS=""
14208       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14209 /* end confdefs.h.  */
14210
14211 int
14212 main ()
14213 {
14214
14215   ;
14216   return 0;
14217 }
14218 _ACEOF
14219 if ac_fn_c_try_compile "$LINENO"; then :
14220
14221 else
14222   ac_c_werror_flag=$ac_save_c_werror_flag
14223          CFLAGS="-g"
14224          cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14225 /* end confdefs.h.  */
14226
14227 int
14228 main ()
14229 {
14230
14231   ;
14232   return 0;
14233 }
14234 _ACEOF
14235 if ac_fn_c_try_compile "$LINENO"; then :
14236   ac_cv_prog_cc_g=yes
14237 fi
14238 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
14239 fi
14240 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
14241 fi
14242 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
14243    ac_c_werror_flag=$ac_save_c_werror_flag
14244 fi
14245 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
14246 $as_echo "$ac_cv_prog_cc_g" >&6; }
14247 if test "$ac_test_CFLAGS" = set; then
14248   CFLAGS=$ac_save_CFLAGS
14249 elif test $ac_cv_prog_cc_g = yes; then
14250   if test "$GCC" = yes; then
14251     CFLAGS="-g -O2"
14252   else
14253     CFLAGS="-g"
14254   fi
14255 else
14256   if test "$GCC" = yes; then
14257     CFLAGS="-O2"
14258   else
14259     CFLAGS=
14260   fi
14261 fi
14262 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
14263 $as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
14264 if ${ac_cv_prog_cc_c89+:} false; then :
14265   $as_echo_n "(cached) " >&6
14266 else
14267   ac_cv_prog_cc_c89=no
14268 ac_save_CC=$CC
14269 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14270 /* end confdefs.h.  */
14271 #include <stdarg.h>
14272 #include <stdio.h>
14273 struct stat;
14274 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh.  */
14275 struct buf { int x; };
14276 FILE * (*rcsopen) (struct buf *, struct stat *, int);
14277 static char *e (p, i)
14278      char **p;
14279      int i;
14280 {
14281   return p[i];
14282 }
14283 static char *f (char * (*g) (char **, int), char **p, ...)
14284 {
14285   char *s;
14286   va_list v;
14287   va_start (v,p);
14288   s = g (p, va_arg (v,int));
14289   va_end (v);
14290   return s;
14291 }
14292
14293 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default.  It has
14294    function prototypes and stuff, but not '\xHH' hex character constants.
14295    These don't provoke an error unfortunately, instead are silently treated
14296    as 'x'.  The following induces an error, until -std is added to get
14297    proper ANSI mode.  Curiously '\x00'!='x' always comes out true, for an
14298    array size at least.  It's necessary to write '\x00'==0 to get something
14299    that's true only with -std.  */
14300 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
14301
14302 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
14303    inside strings and character constants.  */
14304 #define FOO(x) 'x'
14305 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
14306
14307 int test (int i, double x);
14308 struct s1 {int (*f) (int a);};
14309 struct s2 {int (*f) (double a);};
14310 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
14311 int argc;
14312 char **argv;
14313 int
14314 main ()
14315 {
14316 return f (e, argv, 0) != argv[0]  ||  f (e, argv, 1) != argv[1];
14317   ;
14318   return 0;
14319 }
14320 _ACEOF
14321 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
14322         -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
14323 do
14324   CC="$ac_save_CC $ac_arg"
14325   if ac_fn_c_try_compile "$LINENO"; then :
14326   ac_cv_prog_cc_c89=$ac_arg
14327 fi
14328 rm -f core conftest.err conftest.$ac_objext
14329   test "x$ac_cv_prog_cc_c89" != "xno" && break
14330 done
14331 rm -f conftest.$ac_ext
14332 CC=$ac_save_CC
14333
14334 fi
14335 # AC_CACHE_VAL
14336 case "x$ac_cv_prog_cc_c89" in
14337   x)
14338     { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
14339 $as_echo "none needed" >&6; } ;;
14340   xno)
14341     { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
14342 $as_echo "unsupported" >&6; } ;;
14343   *)
14344     CC="$CC $ac_cv_prog_cc_c89"
14345     { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
14346 $as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
14347 esac
14348 if test "x$ac_cv_prog_cc_c89" != xno; then :
14349
14350 fi
14351
14352 ac_ext=c
14353 ac_cpp='$CPP $CPPFLAGS'
14354 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
14355 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
14356 ac_compiler_gnu=$ac_cv_c_compiler_gnu
14357
14358 depcc="$CC"   am_compiler_list=
14359
14360 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5
14361 $as_echo_n "checking dependency style of $depcc... " >&6; }
14362 if ${am_cv_CC_dependencies_compiler_type+:} false; then :
14363   $as_echo_n "(cached) " >&6
14364 else
14365   if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
14366   # We make a subdir and do the tests there.  Otherwise we can end up
14367   # making bogus files that we don't know about and never remove.  For
14368   # instance it was reported that on HP-UX the gcc test will end up
14369   # making a dummy file named `D' -- because `-MD' means `put the output
14370   # in D'.
14371   rm -rf conftest.dir
14372   mkdir conftest.dir
14373   # Copy depcomp to subdir because otherwise we won't find it if we're
14374   # using a relative directory.
14375   cp "$am_depcomp" conftest.dir
14376   cd conftest.dir
14377   # We will build objects and dependencies in a subdirectory because
14378   # it helps to detect inapplicable dependency modes.  For instance
14379   # both Tru64's cc and ICC support -MD to output dependencies as a
14380   # side effect of compilation, but ICC will put the dependencies in
14381   # the current directory while Tru64 will put them in the object
14382   # directory.
14383   mkdir sub
14384
14385   am_cv_CC_dependencies_compiler_type=none
14386   if test "$am_compiler_list" = ""; then
14387      am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
14388   fi
14389   am__universal=false
14390   case " $depcc " in #(
14391      *\ -arch\ *\ -arch\ *) am__universal=true ;;
14392      esac
14393
14394   for depmode in $am_compiler_list; do
14395     # Setup a source with many dependencies, because some compilers
14396     # like to wrap large dependency lists on column 80 (with \), and
14397     # we should not choose a depcomp mode which is confused by this.
14398     #
14399     # We need to recreate these files for each test, as the compiler may
14400     # overwrite some of them when testing with obscure command lines.
14401     # This happens at least with the AIX C compiler.
14402     : > sub/conftest.c
14403     for i in 1 2 3 4 5 6; do
14404       echo '#include "conftst'$i'.h"' >> sub/conftest.c
14405       # Using `: > sub/conftst$i.h' creates only sub/conftst1.h with
14406       # Solaris 8's {/usr,}/bin/sh.
14407       touch sub/conftst$i.h
14408     done
14409     echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
14410
14411     # We check with `-c' and `-o' for the sake of the "dashmstdout"
14412     # mode.  It turns out that the SunPro C++ compiler does not properly
14413     # handle `-M -o', and we need to detect this.  Also, some Intel
14414     # versions had trouble with output in subdirs
14415     am__obj=sub/conftest.${OBJEXT-o}
14416     am__minus_obj="-o $am__obj"
14417     case $depmode in
14418     gcc)
14419       # This depmode causes a compiler race in universal mode.
14420       test "$am__universal" = false || continue
14421       ;;
14422     nosideeffect)
14423       # after this tag, mechanisms are not by side-effect, so they'll
14424       # only be used when explicitly requested
14425       if test "x$enable_dependency_tracking" = xyes; then
14426         continue
14427       else
14428         break
14429       fi
14430       ;;
14431     msvc7 | msvc7msys | msvisualcpp | msvcmsys)
14432       # This compiler won't grok `-c -o', but also, the minuso test has
14433       # not run yet.  These depmodes are late enough in the game, and
14434       # so weak that their functioning should not be impacted.
14435       am__obj=conftest.${OBJEXT-o}
14436       am__minus_obj=
14437       ;;
14438     none) break ;;
14439     esac
14440     if depmode=$depmode \
14441        source=sub/conftest.c object=$am__obj \
14442        depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
14443        $SHELL ./depcomp $depcc -c $am__minus_obj sub/conftest.c \
14444          >/dev/null 2>conftest.err &&
14445        grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 &&
14446        grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
14447        grep $am__obj sub/conftest.Po > /dev/null 2>&1 &&
14448        ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
14449       # icc doesn't choke on unknown options, it will just issue warnings
14450       # or remarks (even with -Werror).  So we grep stderr for any message
14451       # that says an option was ignored or not supported.
14452       # When given -MP, icc 7.0 and 7.1 complain thusly:
14453       #   icc: Command line warning: ignoring option '-M'; no argument required
14454       # The diagnosis changed in icc 8.0:
14455       #   icc: Command line remark: option '-MP' not supported
14456       if (grep 'ignoring option' conftest.err ||
14457           grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
14458         am_cv_CC_dependencies_compiler_type=$depmode
14459         break
14460       fi
14461     fi
14462   done
14463
14464   cd ..
14465   rm -rf conftest.dir
14466 else
14467   am_cv_CC_dependencies_compiler_type=none
14468 fi
14469
14470 fi
14471 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_CC_dependencies_compiler_type" >&5
14472 $as_echo "$am_cv_CC_dependencies_compiler_type" >&6; }
14473 CCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type
14474
14475  if
14476   test "x$enable_dependency_tracking" != xno \
14477   && test "$am_cv_CC_dependencies_compiler_type" = gcc3; then
14478   am__fastdepCC_TRUE=
14479   am__fastdepCC_FALSE='#'
14480 else
14481   am__fastdepCC_TRUE='#'
14482   am__fastdepCC_FALSE=
14483 fi
14484
14485
14486
14487 am_cv_prog_cc_stdc=$ac_cv_prog_cc_stdc
14488
14489 if test "x$CC" != xcc; then
14490   { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC and cc understand -c and -o together" >&5
14491 $as_echo_n "checking whether $CC and cc understand -c and -o together... " >&6; }
14492 else
14493   { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether cc understands -c and -o together" >&5
14494 $as_echo_n "checking whether cc understands -c and -o together... " >&6; }
14495 fi
14496 set dummy $CC; ac_cc=`$as_echo "$2" |
14497                       sed 's/[^a-zA-Z0-9_]/_/g;s/^[0-9]/_/'`
14498 if eval \${ac_cv_prog_cc_${ac_cc}_c_o+:} false; then :
14499   $as_echo_n "(cached) " >&6
14500 else
14501   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14502 /* end confdefs.h.  */
14503
14504 int
14505 main ()
14506 {
14507
14508   ;
14509   return 0;
14510 }
14511 _ACEOF
14512 # Make sure it works both with $CC and with simple cc.
14513 # We do the test twice because some compilers refuse to overwrite an
14514 # existing .o file with -o, though they will create one.
14515 ac_try='$CC -c conftest.$ac_ext -o conftest2.$ac_objext >&5'
14516 rm -f conftest2.*
14517 if { { case "(($ac_try" in
14518   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14519   *) ac_try_echo=$ac_try;;
14520 esac
14521 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
14522 $as_echo "$ac_try_echo"; } >&5
14523   (eval "$ac_try") 2>&5
14524   ac_status=$?
14525   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
14526   test $ac_status = 0; } &&
14527    test -f conftest2.$ac_objext && { { case "(($ac_try" in
14528   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14529   *) ac_try_echo=$ac_try;;
14530 esac
14531 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
14532 $as_echo "$ac_try_echo"; } >&5
14533   (eval "$ac_try") 2>&5
14534   ac_status=$?
14535   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
14536   test $ac_status = 0; };
14537 then
14538   eval ac_cv_prog_cc_${ac_cc}_c_o=yes
14539   if test "x$CC" != xcc; then
14540     # Test first that cc exists at all.
14541     if { ac_try='cc -c conftest.$ac_ext >&5'
14542   { { case "(($ac_try" in
14543   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14544   *) ac_try_echo=$ac_try;;
14545 esac
14546 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
14547 $as_echo "$ac_try_echo"; } >&5
14548   (eval "$ac_try") 2>&5
14549   ac_status=$?
14550   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
14551   test $ac_status = 0; }; }; then
14552       ac_try='cc -c conftest.$ac_ext -o conftest2.$ac_objext >&5'
14553       rm -f conftest2.*
14554       if { { case "(($ac_try" in
14555   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14556   *) ac_try_echo=$ac_try;;
14557 esac
14558 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
14559 $as_echo "$ac_try_echo"; } >&5
14560   (eval "$ac_try") 2>&5
14561   ac_status=$?
14562   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
14563   test $ac_status = 0; } &&
14564          test -f conftest2.$ac_objext && { { case "(($ac_try" in
14565   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14566   *) ac_try_echo=$ac_try;;
14567 esac
14568 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
14569 $as_echo "$ac_try_echo"; } >&5
14570   (eval "$ac_try") 2>&5
14571   ac_status=$?
14572   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
14573   test $ac_status = 0; };
14574       then
14575         # cc works too.
14576         :
14577       else
14578         # cc exists but doesn't like -o.
14579         eval ac_cv_prog_cc_${ac_cc}_c_o=no
14580       fi
14581     fi
14582   fi
14583 else
14584   eval ac_cv_prog_cc_${ac_cc}_c_o=no
14585 fi
14586 rm -f core conftest*
14587
14588 fi
14589 if eval test \$ac_cv_prog_cc_${ac_cc}_c_o = yes; then
14590   { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
14591 $as_echo "yes" >&6; }
14592 else
14593   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
14594 $as_echo "no" >&6; }
14595
14596 $as_echo "#define NO_MINUS_C_MINUS_O 1" >>confdefs.h
14597
14598 fi
14599
14600 # FIXME: we rely on the cache variable name because
14601 # there is no other way.
14602 set dummy $CC
14603 am_cc=`echo $2 | sed 's/[^a-zA-Z0-9_]/_/g;s/^[0-9]/_/'`
14604 eval am_t=\$ac_cv_prog_cc_${am_cc}_c_o
14605 if test "$am_t" != yes; then
14606    # Losing compiler, so override with the script.
14607    # FIXME: It is wrong to rewrite CC.
14608    # But if we don't then we get into trouble of one sort or another.
14609    # A longer-term fix would be to have automake use am__CC in this case,
14610    # and then we could set am__CC="\$(top_srcdir)/compile \$(CC)"
14611    CC="$am_aux_dir/compile $CC"
14612 fi
14613
14614
14615
14616 # check that we have the minimum version of python necisary to build
14617
14618
14619
14620
14621         if test -n "$PYTHON"; then
14622       # If the user set $PYTHON, use it and don't search something else.
14623       { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $PYTHON version >= 2.5.2" >&5
14624 $as_echo_n "checking whether $PYTHON version >= 2.5.2... " >&6; }
14625       prog="import sys
14626 # split strings by '.' and convert to numeric.  Append some zeros
14627 # because we need at least 4 digits for the hex conversion.
14628 # map returns an iterator in Python 3.0 and a list in 2.x
14629 minver = list(map(int, '2.5.2'.split('.'))) + [0, 0, 0]
14630 minverhex = 0
14631 # xrange is not present in Python 3.0 and range returns an iterator
14632 for i in list(range(0, 4)): minverhex = (minverhex << 8) + minver[i]
14633 sys.exit(sys.hexversion < minverhex)"
14634   if { echo "$as_me:$LINENO: $PYTHON -c "$prog"" >&5
14635    ($PYTHON -c "$prog") >&5 2>&5
14636    ac_status=$?
14637    echo "$as_me:$LINENO: \$? = $ac_status" >&5
14638    (exit $ac_status); }; then :
14639   { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
14640 $as_echo "yes" >&6; }
14641 else
14642   as_fn_error $? "too old" "$LINENO" 5
14643 fi
14644       am_display_PYTHON=$PYTHON
14645     else
14646       # Otherwise, try each interpreter until we find one that satisfies
14647       # VERSION.
14648       { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a Python interpreter with version >= 2.5.2" >&5
14649 $as_echo_n "checking for a Python interpreter with version >= 2.5.2... " >&6; }
14650 if ${am_cv_pathless_PYTHON+:} false; then :
14651   $as_echo_n "(cached) " >&6
14652 else
14653
14654         for am_cv_pathless_PYTHON in python python2 python3 python3.0 python2.5 python2.4 python2.3 python2.2 python2.1 python2.0 none; do
14655           test "$am_cv_pathless_PYTHON" = none && break
14656           prog="import sys
14657 # split strings by '.' and convert to numeric.  Append some zeros
14658 # because we need at least 4 digits for the hex conversion.
14659 # map returns an iterator in Python 3.0 and a list in 2.x
14660 minver = list(map(int, '2.5.2'.split('.'))) + [0, 0, 0]
14661 minverhex = 0
14662 # xrange is not present in Python 3.0 and range returns an iterator
14663 for i in list(range(0, 4)): minverhex = (minverhex << 8) + minver[i]
14664 sys.exit(sys.hexversion < minverhex)"
14665   if { echo "$as_me:$LINENO: $am_cv_pathless_PYTHON -c "$prog"" >&5
14666    ($am_cv_pathless_PYTHON -c "$prog") >&5 2>&5
14667    ac_status=$?
14668    echo "$as_me:$LINENO: \$? = $ac_status" >&5
14669    (exit $ac_status); }; then :
14670   break
14671 fi
14672         done
14673 fi
14674 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_pathless_PYTHON" >&5
14675 $as_echo "$am_cv_pathless_PYTHON" >&6; }
14676       # Set $PYTHON to the absolute path of $am_cv_pathless_PYTHON.
14677       if test "$am_cv_pathless_PYTHON" = none; then
14678         PYTHON=:
14679       else
14680         # Extract the first word of "$am_cv_pathless_PYTHON", so it can be a program name with args.
14681 set dummy $am_cv_pathless_PYTHON; ac_word=$2
14682 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
14683 $as_echo_n "checking for $ac_word... " >&6; }
14684 if ${ac_cv_path_PYTHON+:} false; then :
14685   $as_echo_n "(cached) " >&6
14686 else
14687   case $PYTHON in
14688   [\\/]* | ?:[\\/]*)
14689   ac_cv_path_PYTHON="$PYTHON" # Let the user override the test with a path.
14690   ;;
14691   *)
14692   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
14693 for as_dir in $PATH
14694 do
14695   IFS=$as_save_IFS
14696   test -z "$as_dir" && as_dir=.
14697     for ac_exec_ext in '' $ac_executable_extensions; do
14698   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
14699     ac_cv_path_PYTHON="$as_dir/$ac_word$ac_exec_ext"
14700     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
14701     break 2
14702   fi
14703 done
14704   done
14705 IFS=$as_save_IFS
14706
14707   ;;
14708 esac
14709 fi
14710 PYTHON=$ac_cv_path_PYTHON
14711 if test -n "$PYTHON"; then
14712   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PYTHON" >&5
14713 $as_echo "$PYTHON" >&6; }
14714 else
14715   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
14716 $as_echo "no" >&6; }
14717 fi
14718
14719
14720       fi
14721       am_display_PYTHON=$am_cv_pathless_PYTHON
14722     fi
14723
14724
14725   if test "$PYTHON" = :; then
14726       as_fn_error $? "no suitable Python interpreter found" "$LINENO" 5
14727   else
14728
14729
14730   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $am_display_PYTHON version" >&5
14731 $as_echo_n "checking for $am_display_PYTHON version... " >&6; }
14732 if ${am_cv_python_version+:} false; then :
14733   $as_echo_n "(cached) " >&6
14734 else
14735   am_cv_python_version=`$PYTHON -c "import sys; sys.stdout.write(sys.version[:3])"`
14736 fi
14737 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_python_version" >&5
14738 $as_echo "$am_cv_python_version" >&6; }
14739   PYTHON_VERSION=$am_cv_python_version
14740
14741
14742
14743   PYTHON_PREFIX='${prefix}'
14744
14745   PYTHON_EXEC_PREFIX='${exec_prefix}'
14746
14747
14748
14749   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $am_display_PYTHON platform" >&5
14750 $as_echo_n "checking for $am_display_PYTHON platform... " >&6; }
14751 if ${am_cv_python_platform+:} false; then :
14752   $as_echo_n "(cached) " >&6
14753 else
14754   am_cv_python_platform=`$PYTHON -c "import sys; sys.stdout.write(sys.platform)"`
14755 fi
14756 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_python_platform" >&5
14757 $as_echo "$am_cv_python_platform" >&6; }
14758   PYTHON_PLATFORM=$am_cv_python_platform
14759
14760
14761
14762
14763                 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $am_display_PYTHON script directory" >&5
14764 $as_echo_n "checking for $am_display_PYTHON script directory... " >&6; }
14765 if ${am_cv_python_pythondir+:} false; then :
14766   $as_echo_n "(cached) " >&6
14767 else
14768   am_cv_python_pythondir=`$PYTHON -c "from distutils import sysconfig; print(sysconfig.get_python_lib(0,0,prefix='$PYTHON_PREFIX'))" 2>/dev/null ||
14769      echo "$PYTHON_PREFIX/lib/python$PYTHON_VERSION/site-packages"`
14770 fi
14771 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_python_pythondir" >&5
14772 $as_echo "$am_cv_python_pythondir" >&6; }
14773   pythondir=$am_cv_python_pythondir
14774
14775
14776
14777   pkgpythondir=\${pythondir}/$PACKAGE
14778
14779
14780             { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $am_display_PYTHON extension module directory" >&5
14781 $as_echo_n "checking for $am_display_PYTHON extension module directory... " >&6; }
14782 if ${am_cv_python_pyexecdir+:} false; then :
14783   $as_echo_n "(cached) " >&6
14784 else
14785   am_cv_python_pyexecdir=`$PYTHON -c "from distutils import sysconfig; print(sysconfig.get_python_lib(1,0,prefix='$PYTHON_EXEC_PREFIX'))" 2>/dev/null ||
14786      echo "${PYTHON_EXEC_PREFIX}/lib/python${PYTHON_VERSION}/site-packages"`
14787 fi
14788 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_python_pyexecdir" >&5
14789 $as_echo "$am_cv_python_pyexecdir" >&6; }
14790   pyexecdir=$am_cv_python_pyexecdir
14791
14792
14793
14794   pkgpyexecdir=\${pyexecdir}/$PACKAGE
14795
14796
14797
14798   fi
14799
14800
14801
14802 # check if we are building for python 3
14803 prog="import sys
14804 # split strings by '.' and convert to numeric.  Append some zeros
14805 # because we need at least 4 digits for the hex conversion.
14806 # map returns an iterator in Python 3.0 and a list in 2.x
14807 minver = list(map(int, '3.0'.split('.'))) + [0, 0, 0]
14808 minverhex = 0
14809 # xrange is not present in Python 3.0 and range returns an iterator
14810 for i in list(range(0, 4)): minverhex = (minverhex << 8) + minver[i]
14811 sys.exit(sys.hexversion < minverhex)"
14812   if { echo "$as_me:$LINENO: $PYTHON -c "$prog"" >&5
14813    ($PYTHON -c "$prog") >&5 2>&5
14814    ac_status=$?
14815    echo "$as_me:$LINENO: \$? = $ac_status" >&5
14816    (exit $ac_status); }; then :
14817   build_py3k=true
14818 else
14819   build_py3k=false
14820 fi
14821
14822 # if building for python 3 make sure we have the minimum version supported
14823 if test $build_py3k = true ; then
14824   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $PYTHON >= 3.1" >&5
14825 $as_echo_n "checking for $PYTHON >= 3.1... " >&6; }
14826   prog="import sys
14827 # split strings by '.' and convert to numeric.  Append some zeros
14828 # because we need at least 4 digits for the hex conversion.
14829 # map returns an iterator in Python 3.0 and a list in 2.x
14830 minver = list(map(int, '3.1'.split('.'))) + [0, 0, 0]
14831 minverhex = 0
14832 # xrange is not present in Python 3.0 and range returns an iterator
14833 for i in list(range(0, 4)): minverhex = (minverhex << 8) + minver[i]
14834 sys.exit(sys.hexversion < minverhex)"
14835   if { echo "$as_me:$LINENO: $PYTHON -c "$prog"" >&5
14836    ($PYTHON -c "$prog") >&5 2>&5
14837    ac_status=$?
14838    echo "$as_me:$LINENO: \$? = $ac_status" >&5
14839    (exit $ac_status); }; then :
14840   { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
14841 $as_echo "yes" >&6; }
14842 else
14843   as_fn_error $? "too old" "$LINENO" 5
14844 fi
14845 fi
14846
14847
14848
14849
14850
14851
14852
14853         # Find any Python interpreter.
14854     if test -z "$PYTHON"; then
14855       for ac_prog in python python2 python3 python3.0 python2.5 python2.4 python2.3 python2.2 python2.1 python2.0
14856 do
14857   # Extract the first word of "$ac_prog", so it can be a program name with args.
14858 set dummy $ac_prog; ac_word=$2
14859 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
14860 $as_echo_n "checking for $ac_word... " >&6; }
14861 if ${ac_cv_path_PYTHON+:} false; then :
14862   $as_echo_n "(cached) " >&6
14863 else
14864   case $PYTHON in
14865   [\\/]* | ?:[\\/]*)
14866   ac_cv_path_PYTHON="$PYTHON" # Let the user override the test with a path.
14867   ;;
14868   *)
14869   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
14870 for as_dir in $PATH
14871 do
14872   IFS=$as_save_IFS
14873   test -z "$as_dir" && as_dir=.
14874     for ac_exec_ext in '' $ac_executable_extensions; do
14875   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
14876     ac_cv_path_PYTHON="$as_dir/$ac_word$ac_exec_ext"
14877     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
14878     break 2
14879   fi
14880 done
14881   done
14882 IFS=$as_save_IFS
14883
14884   ;;
14885 esac
14886 fi
14887 PYTHON=$ac_cv_path_PYTHON
14888 if test -n "$PYTHON"; then
14889   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PYTHON" >&5
14890 $as_echo "$PYTHON" >&6; }
14891 else
14892   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
14893 $as_echo "no" >&6; }
14894 fi
14895
14896
14897   test -n "$PYTHON" && break
14898 done
14899 test -n "$PYTHON" || PYTHON=":"
14900
14901     fi
14902     am_display_PYTHON=python
14903
14904
14905   if test "$PYTHON" = :; then
14906       as_fn_error $? "no suitable Python interpreter found" "$LINENO" 5
14907   else
14908
14909
14910   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $am_display_PYTHON version" >&5
14911 $as_echo_n "checking for $am_display_PYTHON version... " >&6; }
14912 if ${am_cv_python_version+:} false; then :
14913   $as_echo_n "(cached) " >&6
14914 else
14915   am_cv_python_version=`$PYTHON -c "import sys; sys.stdout.write(sys.version[:3])"`
14916 fi
14917 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_python_version" >&5
14918 $as_echo "$am_cv_python_version" >&6; }
14919   PYTHON_VERSION=$am_cv_python_version
14920
14921
14922
14923   PYTHON_PREFIX='${prefix}'
14924
14925   PYTHON_EXEC_PREFIX='${exec_prefix}'
14926
14927
14928
14929   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $am_display_PYTHON platform" >&5
14930 $as_echo_n "checking for $am_display_PYTHON platform... " >&6; }
14931 if ${am_cv_python_platform+:} false; then :
14932   $as_echo_n "(cached) " >&6
14933 else
14934   am_cv_python_platform=`$PYTHON -c "import sys; sys.stdout.write(sys.platform)"`
14935 fi
14936 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_python_platform" >&5
14937 $as_echo "$am_cv_python_platform" >&6; }
14938   PYTHON_PLATFORM=$am_cv_python_platform
14939
14940
14941
14942
14943             { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $am_display_PYTHON script directory" >&5
14944 $as_echo_n "checking for $am_display_PYTHON script directory... " >&6; }
14945 if ${am_cv_python_pythondir+:} false; then :
14946   $as_echo_n "(cached) " >&6
14947 else
14948   if test "x$prefix" = xNONE
14949      then
14950        am_py_prefix=$ac_default_prefix
14951      else
14952        am_py_prefix=$prefix
14953      fi
14954      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`
14955      case $am_cv_python_pythondir in
14956      $am_py_prefix*)
14957        am__strip_prefix=`echo "$am_py_prefix" | sed 's|.|.|g'`
14958        am_cv_python_pythondir=`echo "$am_cv_python_pythondir" | sed "s,^$am__strip_prefix,$PYTHON_PREFIX,"`
14959        ;;
14960      *)
14961        case $am_py_prefix in
14962          /usr|/System*) ;;
14963          *)
14964           am_cv_python_pythondir=$PYTHON_PREFIX/lib/python$PYTHON_VERSION/site-packages
14965           ;;
14966        esac
14967        ;;
14968      esac
14969
14970 fi
14971 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_python_pythondir" >&5
14972 $as_echo "$am_cv_python_pythondir" >&6; }
14973   pythondir=$am_cv_python_pythondir
14974
14975
14976
14977   pkgpythondir=\${pythondir}/$PACKAGE
14978
14979
14980         { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $am_display_PYTHON extension module directory" >&5
14981 $as_echo_n "checking for $am_display_PYTHON extension module directory... " >&6; }
14982 if ${am_cv_python_pyexecdir+:} false; then :
14983   $as_echo_n "(cached) " >&6
14984 else
14985   if test "x$exec_prefix" = xNONE
14986      then
14987        am_py_exec_prefix=$am_py_prefix
14988      else
14989        am_py_exec_prefix=$exec_prefix
14990      fi
14991      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`
14992      case $am_cv_python_pyexecdir in
14993      $am_py_exec_prefix*)
14994        am__strip_prefix=`echo "$am_py_exec_prefix" | sed 's|.|.|g'`
14995        am_cv_python_pyexecdir=`echo "$am_cv_python_pyexecdir" | sed "s,^$am__strip_prefix,$PYTHON_EXEC_PREFIX,"`
14996        ;;
14997      *)
14998        case $am_py_exec_prefix in
14999          /usr|/System*) ;;
15000          *)
15001            am_cv_python_pyexecdir=$PYTHON_EXEC_PREFIX/lib/python$PYTHON_VERSION/site-packages
15002            ;;
15003        esac
15004        ;;
15005      esac
15006
15007 fi
15008 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_python_pyexecdir" >&5
15009 $as_echo "$am_cv_python_pyexecdir" >&6; }
15010   pyexecdir=$am_cv_python_pyexecdir
15011
15012
15013
15014   pkgpyexecdir=\${pyexecdir}/$PACKAGE
15015
15016
15017
15018   fi
15019
15020
15021
15022 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for headers required to compile python extensions" >&5
15023 $as_echo_n "checking for headers required to compile python extensions... " >&6; }
15024 if test "x$PYTHON_INCLUDES" = x; then
15025   PYTHON_CONFIG=`which $PYTHON`-config
15026   if test -x "$PYTHON_CONFIG"; then
15027     PYTHON_INCLUDES=`$PYTHON_CONFIG --includes 2>/dev/null`
15028   else
15029     py_prefix=`$PYTHON -c "import sys; sys.stdout.write(sys.prefix)"`
15030     py_exec_prefix=`$PYTHON -c "import sys; sys.stdout.write(sys.exec_prefix)"`
15031     PYTHON_INCLUDES="-I${py_prefix}/include/python${PYTHON_VERSION}"
15032     if test "$py_prefix" != "$py_exec_prefix"; then
15033       PYTHON_INCLUDES="$PYTHON_INCLUDES -I${py_exec_prefix}/include/python${PYTHON_VERSION}"
15034     fi
15035   fi
15036 fi
15037
15038 save_CPPFLAGS="$CPPFLAGS"
15039 CPPFLAGS="$CPPFLAGS $PYTHON_INCLUDES"
15040 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15041 /* end confdefs.h.  */
15042 #include <Python.h>
15043 _ACEOF
15044 if ac_fn_c_try_cpp "$LINENO"; then :
15045   { $as_echo "$as_me:${as_lineno-$LINENO}: result: found" >&5
15046 $as_echo "found" >&6; }
15047
15048 else
15049   { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
15050 $as_echo "not found" >&6; }
15051 as_fn_error $? "Python headers not found" "$LINENO" 5
15052 fi
15053 rm -f conftest.err conftest.i conftest.$ac_ext
15054 CPPFLAGS="$save_CPPFLAGS"
15055
15056 if test "x$os_win32" = "xyes"; then
15057
15058 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libraries required to embed python" >&5
15059 $as_echo_n "checking for libraries required to embed python... " >&6; }
15060 py_exec_prefix=`$PYTHON -c "import sys; print(sys.exec_prefix)"`
15061 if test "x$PYTHON_LIBS" = x; then
15062         PYTHON_LIBS="-L${py_prefix}/lib -lpython${PYTHON_VERSION}"
15063 fi
15064 if test "x$PYTHON_LIB_LOC" = x; then
15065         PYTHON_LIB_LOC="${py_prefix}/lib"
15066 fi
15067
15068
15069 save_LIBS="$LIBS"
15070 LIBS="$LIBS $PYTHON_LIBS"
15071 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15072 /* end confdefs.h.  */
15073
15074 /* Override any GCC internal prototype to avoid an error.
15075    Use char because int might match the return type of a GCC
15076    builtin and then its argument prototype would still apply.  */
15077 #ifdef __cplusplus
15078 extern "C"
15079 #endif
15080 char Py_Initialize ();
15081 int
15082 main ()
15083 {
15084 return Py_Initialize ();
15085   ;
15086   return 0;
15087 }
15088 _ACEOF
15089 if ac_fn_c_try_link "$LINENO"; then :
15090            LIBS="$save_LIBS"; { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
15091 $as_echo "yes" >&6; };
15092 else
15093            LIBS="$save_LIBS"; { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
15094 $as_echo "no" >&6; }; as_fn_error $? "Python libs not found. Windows requires Python modules to be explicitly linked to libpython." "$LINENO" 5
15095 fi
15096 rm -f core conftest.err conftest.$ac_objext \
15097     conftest$ac_exeext conftest.$ac_ext
15098
15099
15100 fi
15101
15102 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for PySignal_SetWakeupFd in Python.h" >&5
15103 $as_echo_n "checking for PySignal_SetWakeupFd in Python.h... " >&6; }
15104 old_CPPFLAGS=$CPPFLAGS
15105 CPPFLAGS="-Wall -Werror $PYTHON_INCLUDES"
15106 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15107 /* end confdefs.h.  */
15108 #include <Python.h>
15109 int
15110 main ()
15111 {
15112 PySignal_SetWakeupFd(0);
15113   ;
15114   return 0;
15115 }
15116 _ACEOF
15117 if ac_fn_c_try_compile "$LINENO"; then :
15118   setwakeupfd_ok=yes
15119 else
15120   setwakeupfd_ok=no
15121 fi
15122 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15123 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $setwakeupfd_ok" >&5
15124 $as_echo "$setwakeupfd_ok" >&6; }
15125 if test "x$setwakeupfd_ok" != xno; then
15126
15127 $as_echo "#define HAVE_PYSIGNAL_SETWAKEUPFD 1" >>confdefs.h
15128
15129 fi
15130 CPPFLAGS=$old_CPPFLAGS
15131
15132 PLATFORM=`$PYTHON -c "import sys; from distutils import util; sys.stdout.write(util.get_platform())"`
15133
15134
15135 # Check whether --enable-thread was given.
15136 if test "${enable_thread+set}" = set; then :
15137   enableval=$enable_thread;
15138 else
15139   enable_thread=yes
15140 fi
15141
15142
15143
15144 py_mod_var=`echo thread'_' | sed 'y%./+-%__p_%'`
15145 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for python module thread" >&5
15146 $as_echo_n "checking for python module thread... " >&6; }
15147 if eval \${py_cv_mod_$py_mod_var+:} false; then :
15148   $as_echo_n "(cached) " >&6
15149 else
15150
15151 prog="
15152 import sys
15153 try:
15154         import thread
15155 except ImportError:
15156         sys.exit(1)
15157 except:
15158         sys.exit(0)
15159 sys.exit(0)"
15160 if $PYTHON -c "$prog" 1>&5 2>&5
15161   then
15162     eval "py_cv_mod_$py_mod_var=yes"
15163   else
15164     eval "py_cv_mod_$py_mod_var=no"
15165   fi
15166
15167 fi
15168
15169 py_val=`eval "echo \`echo '$py_cv_mod_'$py_mod_var\`"`
15170 if test "x$py_val" != xno; then
15171   { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
15172 $as_echo "yes" >&6; }
15173   else
15174   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
15175 $as_echo "no" >&6; }
15176   enable_thread=check_for_py3_module
15177 fi
15178
15179 if test "x$enable_thread" = xcheck_for_py3_module; then
15180
15181 py_mod_var=`echo _thread'_' | sed 'y%./+-%__p_%'`
15182 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for python module _thread" >&5
15183 $as_echo_n "checking for python module _thread... " >&6; }
15184 if eval \${py_cv_mod_$py_mod_var+:} false; then :
15185   $as_echo_n "(cached) " >&6
15186 else
15187
15188 prog="
15189 import sys
15190 try:
15191         import _thread
15192 except ImportError:
15193         sys.exit(1)
15194 except:
15195         sys.exit(0)
15196 sys.exit(0)"
15197 if $PYTHON -c "$prog" 1>&5 2>&5
15198   then
15199     eval "py_cv_mod_$py_mod_var=yes"
15200   else
15201     eval "py_cv_mod_$py_mod_var=no"
15202   fi
15203
15204 fi
15205
15206 py_val=`eval "echo \`echo '$py_cv_mod_'$py_mod_var\`"`
15207 if test "x$py_val" != xno; then
15208   { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
15209 $as_echo "yes" >&6; }
15210   else
15211   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
15212 $as_echo "no" >&6; }
15213   enable_thread=no
15214 fi
15215
15216 fi
15217
15218 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to enable threading in pygobject" >&5
15219 $as_echo_n "checking whether to enable threading in pygobject... " >&6; }
15220 if test "x$enable_thread" != xno; then
15221   extra_mods=gthread
15222   THREADING_CFLAGS=
15223   { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
15224 $as_echo "yes" >&6; }
15225 else
15226   extra_mods=
15227   THREADING_CFLAGS="-DDISABLE_THREADING"
15228   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
15229 $as_echo "no" >&6; }
15230 fi
15231
15232 CPPFLAGS="${CPPFLAGS} $THREADING_CFLAGS"
15233
15234 export_dynamic=`(./libtool --config; echo eval echo \\$export_dynamic_flag_spec) | sh`
15235
15236 # Check whether --enable-glibtest was given.
15237 if test "${enable_glibtest+set}" = set; then :
15238   enableval=$enable_glibtest;
15239 else
15240   enable_glibtest=yes
15241 fi
15242
15243
15244   pkg_config_args=glib-2.0
15245   for module in . gobject $extra_mods
15246   do
15247       case "$module" in
15248          gmodule)
15249              pkg_config_args="$pkg_config_args gmodule-2.0"
15250          ;;
15251          gmodule-no-export)
15252              pkg_config_args="$pkg_config_args gmodule-no-export-2.0"
15253          ;;
15254          gobject)
15255              pkg_config_args="$pkg_config_args gobject-2.0"
15256          ;;
15257          gthread)
15258              pkg_config_args="$pkg_config_args gthread-2.0"
15259          ;;
15260          gio*)
15261              pkg_config_args="$pkg_config_args $module-2.0"
15262          ;;
15263       esac
15264   done
15265
15266
15267
15268
15269
15270
15271
15272
15273 if test "x$ac_cv_env_PKG_CONFIG_set" != "xset"; then
15274         if test -n "$ac_tool_prefix"; then
15275   # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
15276 set dummy ${ac_tool_prefix}pkg-config; ac_word=$2
15277 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
15278 $as_echo_n "checking for $ac_word... " >&6; }
15279 if ${ac_cv_path_PKG_CONFIG+:} false; then :
15280   $as_echo_n "(cached) " >&6
15281 else
15282   case $PKG_CONFIG in
15283   [\\/]* | ?:[\\/]*)
15284   ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path.
15285   ;;
15286   *)
15287   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
15288 for as_dir in $PATH
15289 do
15290   IFS=$as_save_IFS
15291   test -z "$as_dir" && as_dir=.
15292     for ac_exec_ext in '' $ac_executable_extensions; do
15293   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
15294     ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
15295     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
15296     break 2
15297   fi
15298 done
15299   done
15300 IFS=$as_save_IFS
15301
15302   ;;
15303 esac
15304 fi
15305 PKG_CONFIG=$ac_cv_path_PKG_CONFIG
15306 if test -n "$PKG_CONFIG"; then
15307   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PKG_CONFIG" >&5
15308 $as_echo "$PKG_CONFIG" >&6; }
15309 else
15310   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
15311 $as_echo "no" >&6; }
15312 fi
15313
15314
15315 fi
15316 if test -z "$ac_cv_path_PKG_CONFIG"; then
15317   ac_pt_PKG_CONFIG=$PKG_CONFIG
15318   # Extract the first word of "pkg-config", so it can be a program name with args.
15319 set dummy pkg-config; ac_word=$2
15320 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
15321 $as_echo_n "checking for $ac_word... " >&6; }
15322 if ${ac_cv_path_ac_pt_PKG_CONFIG+:} false; then :
15323   $as_echo_n "(cached) " >&6
15324 else
15325   case $ac_pt_PKG_CONFIG in
15326   [\\/]* | ?:[\\/]*)
15327   ac_cv_path_ac_pt_PKG_CONFIG="$ac_pt_PKG_CONFIG" # Let the user override the test with a path.
15328   ;;
15329   *)
15330   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
15331 for as_dir in $PATH
15332 do
15333   IFS=$as_save_IFS
15334   test -z "$as_dir" && as_dir=.
15335     for ac_exec_ext in '' $ac_executable_extensions; do
15336   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
15337     ac_cv_path_ac_pt_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
15338     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
15339     break 2
15340   fi
15341 done
15342   done
15343 IFS=$as_save_IFS
15344
15345   ;;
15346 esac
15347 fi
15348 ac_pt_PKG_CONFIG=$ac_cv_path_ac_pt_PKG_CONFIG
15349 if test -n "$ac_pt_PKG_CONFIG"; then
15350   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_pt_PKG_CONFIG" >&5
15351 $as_echo "$ac_pt_PKG_CONFIG" >&6; }
15352 else
15353   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
15354 $as_echo "no" >&6; }
15355 fi
15356
15357   if test "x$ac_pt_PKG_CONFIG" = x; then
15358     PKG_CONFIG=""
15359   else
15360     case $cross_compiling:$ac_tool_warned in
15361 yes:)
15362 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
15363 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
15364 ac_tool_warned=yes ;;
15365 esac
15366     PKG_CONFIG=$ac_pt_PKG_CONFIG
15367   fi
15368 else
15369   PKG_CONFIG="$ac_cv_path_PKG_CONFIG"
15370 fi
15371
15372 fi
15373 if test -n "$PKG_CONFIG"; then
15374         _pkg_min_version=0.16
15375         { $as_echo "$as_me:${as_lineno-$LINENO}: checking pkg-config is at least version $_pkg_min_version" >&5
15376 $as_echo_n "checking pkg-config is at least version $_pkg_min_version... " >&6; }
15377         if $PKG_CONFIG --atleast-pkgconfig-version $_pkg_min_version; then
15378                 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
15379 $as_echo "yes" >&6; }
15380         else
15381                 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
15382 $as_echo "no" >&6; }
15383                 PKG_CONFIG=""
15384         fi
15385 fi
15386
15387   no_glib=""
15388
15389   if test "x$PKG_CONFIG" = x ; then
15390     no_glib=yes
15391     PKG_CONFIG=no
15392   fi
15393
15394   min_glib_version=2.31.0
15395   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GLIB - version >= $min_glib_version" >&5
15396 $as_echo_n "checking for GLIB - version >= $min_glib_version... " >&6; }
15397
15398   if test x$PKG_CONFIG != xno ; then
15399     ## don't try to run the test against uninstalled libtool libs
15400     if $PKG_CONFIG --uninstalled $pkg_config_args; then
15401           echo "Will use uninstalled version of GLib found in PKG_CONFIG_PATH"
15402           enable_glibtest=no
15403     fi
15404
15405     if $PKG_CONFIG --atleast-version $min_glib_version $pkg_config_args; then
15406           :
15407     else
15408           no_glib=yes
15409     fi
15410   fi
15411
15412   if test x"$no_glib" = x ; then
15413     GLIB_GENMARSHAL=`$PKG_CONFIG --variable=glib_genmarshal glib-2.0`
15414     GOBJECT_QUERY=`$PKG_CONFIG --variable=gobject_query glib-2.0`
15415     GLIB_MKENUMS=`$PKG_CONFIG --variable=glib_mkenums glib-2.0`
15416     GLIB_COMPILE_RESOURCES=`$PKG_CONFIG --variable=glib_compile_resources gio-2.0`
15417
15418     GLIB_CFLAGS=`$PKG_CONFIG --cflags $pkg_config_args`
15419     GLIB_LIBS=`$PKG_CONFIG --libs $pkg_config_args`
15420     glib_config_major_version=`$PKG_CONFIG --modversion glib-2.0 | \
15421            sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\1/'`
15422     glib_config_minor_version=`$PKG_CONFIG --modversion glib-2.0 | \
15423            sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\2/'`
15424     glib_config_micro_version=`$PKG_CONFIG --modversion glib-2.0 | \
15425            sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\3/'`
15426     if test "x$enable_glibtest" = "xyes" ; then
15427       ac_save_CFLAGS="$CFLAGS"
15428       ac_save_LIBS="$LIBS"
15429       CFLAGS="$CFLAGS $GLIB_CFLAGS"
15430       LIBS="$GLIB_LIBS $LIBS"
15431       rm -f conf.glibtest
15432       if test "$cross_compiling" = yes; then :
15433   echo $ac_n "cross compiling; assumed OK... $ac_c"
15434 else
15435   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15436 /* end confdefs.h.  */
15437
15438 #include <glib.h>
15439 #include <stdio.h>
15440 #include <stdlib.h>
15441
15442 int
15443 main ()
15444 {
15445   unsigned int major, minor, micro;
15446   char *tmp_version;
15447
15448   fclose (fopen ("conf.glibtest", "w"));
15449
15450   /* HP/UX 9 (%@#!) writes to sscanf strings */
15451   tmp_version = g_strdup("$min_glib_version");
15452   if (sscanf(tmp_version, "%u.%u.%u", &major, &minor, &micro) != 3) {
15453      printf("%s, bad version string\n", "$min_glib_version");
15454      exit(1);
15455    }
15456
15457   if ((glib_major_version != $glib_config_major_version) ||
15458       (glib_minor_version != $glib_config_minor_version) ||
15459       (glib_micro_version != $glib_config_micro_version))
15460     {
15461       printf("\n*** 'pkg-config --modversion glib-2.0' returned %d.%d.%d, but GLIB (%d.%d.%d)\n",
15462              $glib_config_major_version, $glib_config_minor_version, $glib_config_micro_version,
15463              glib_major_version, glib_minor_version, glib_micro_version);
15464       printf ("*** was found! If pkg-config was correct, then it is best\n");
15465       printf ("*** to remove the old version of GLib. You may also be able to fix the error\n");
15466       printf("*** by modifying your LD_LIBRARY_PATH enviroment variable, or by editing\n");
15467       printf("*** /etc/ld.so.conf. Make sure you have run ldconfig if that is\n");
15468       printf("*** required on your system.\n");
15469       printf("*** If pkg-config was wrong, set the environment variable PKG_CONFIG_PATH\n");
15470       printf("*** to point to the correct configuration files\n");
15471     }
15472   else if ((glib_major_version != GLIB_MAJOR_VERSION) ||
15473            (glib_minor_version != GLIB_MINOR_VERSION) ||
15474            (glib_micro_version != GLIB_MICRO_VERSION))
15475     {
15476       printf("*** GLIB header files (version %d.%d.%d) do not match\n",
15477              GLIB_MAJOR_VERSION, GLIB_MINOR_VERSION, GLIB_MICRO_VERSION);
15478       printf("*** library (version %d.%d.%d)\n",
15479              glib_major_version, glib_minor_version, glib_micro_version);
15480     }
15481   else
15482     {
15483       if ((glib_major_version > major) ||
15484         ((glib_major_version == major) && (glib_minor_version > minor)) ||
15485         ((glib_major_version == major) && (glib_minor_version == minor) && (glib_micro_version >= micro)))
15486       {
15487         return 0;
15488        }
15489      else
15490       {
15491         printf("\n*** An old version of GLIB (%u.%u.%u) was found.\n",
15492                glib_major_version, glib_minor_version, glib_micro_version);
15493         printf("*** You need a version of GLIB newer than %u.%u.%u. The latest version of\n",
15494                major, minor, micro);
15495         printf("*** GLIB is always available from ftp://ftp.gtk.org.\n");
15496         printf("***\n");
15497         printf("*** If you have already installed a sufficiently new version, this error\n");
15498         printf("*** probably means that the wrong copy of the pkg-config shell script is\n");
15499         printf("*** being found. The easiest way to fix this is to remove the old version\n");
15500         printf("*** of GLIB, but you can also set the PKG_CONFIG environment to point to the\n");
15501         printf("*** correct copy of pkg-config. (In this case, you will have to\n");
15502         printf("*** modify your LD_LIBRARY_PATH enviroment variable, or edit /etc/ld.so.conf\n");
15503         printf("*** so that the correct libraries are found at run-time))\n");
15504       }
15505     }
15506   return 1;
15507 }
15508
15509 _ACEOF
15510 if ac_fn_c_try_run "$LINENO"; then :
15511
15512 else
15513   no_glib=yes
15514 fi
15515 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
15516   conftest.$ac_objext conftest.beam conftest.$ac_ext
15517 fi
15518
15519        CFLAGS="$ac_save_CFLAGS"
15520        LIBS="$ac_save_LIBS"
15521      fi
15522   fi
15523   if test "x$no_glib" = x ; then
15524      { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes (version $glib_config_major_version.$glib_config_minor_version.$glib_config_micro_version)" >&5
15525 $as_echo "yes (version $glib_config_major_version.$glib_config_minor_version.$glib_config_micro_version)" >&6; }
15526      :
15527   else
15528      { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
15529 $as_echo "no" >&6; }
15530      if test "$PKG_CONFIG" = "no" ; then
15531        echo "*** A new enough version of pkg-config was not found."
15532        echo "*** See http://www.freedesktop.org/software/pkgconfig/"
15533      else
15534        if test -f conf.glibtest ; then
15535         :
15536        else
15537           echo "*** Could not run GLIB test program, checking why..."
15538           ac_save_CFLAGS="$CFLAGS"
15539           ac_save_LIBS="$LIBS"
15540           CFLAGS="$CFLAGS $GLIB_CFLAGS"
15541           LIBS="$LIBS $GLIB_LIBS"
15542           cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15543 /* end confdefs.h.  */
15544
15545 #include <glib.h>
15546 #include <stdio.h>
15547
15548 int
15549 main ()
15550 {
15551  return ((glib_major_version) || (glib_minor_version) || (glib_micro_version));
15552   ;
15553   return 0;
15554 }
15555 _ACEOF
15556 if ac_fn_c_try_link "$LINENO"; then :
15557    echo "*** The test program compiled, but did not run. This usually means"
15558           echo "*** that the run-time linker is not finding GLIB or finding the wrong"
15559           echo "*** version of GLIB. If it is not finding GLIB, you'll need to set your"
15560           echo "*** LD_LIBRARY_PATH environment variable, or edit /etc/ld.so.conf to point"
15561           echo "*** to the installed location  Also, make sure you have run ldconfig if that"
15562           echo "*** is required on your system"
15563           echo "***"
15564           echo "*** If you have an old version installed, it is best to remove it, although"
15565           echo "*** you may also be able to get things to work by modifying LD_LIBRARY_PATH"
15566 else
15567    echo "*** The test program failed to compile or link. See the file config.log for the"
15568           echo "*** exact error that occured. This usually means GLIB is incorrectly installed."
15569 fi
15570 rm -f core conftest.err conftest.$ac_objext \
15571     conftest$ac_exeext conftest.$ac_ext
15572           CFLAGS="$ac_save_CFLAGS"
15573           LIBS="$ac_save_LIBS"
15574        fi
15575      fi
15576      GLIB_CFLAGS=""
15577      GLIB_LIBS=""
15578      GLIB_GENMARSHAL=""
15579      GOBJECT_QUERY=""
15580      GLIB_MKENUMS=""
15581      GLIB_COMPILE_RESOURCES=""
15582      as_fn_error $? "maybe you want the pygobject-2-4 branch?" "$LINENO" 5
15583   fi
15584
15585
15586
15587
15588
15589
15590   rm -f conf.glibtest
15591
15592 if test -n "$export_dynamic"; then
15593   GLIB_LIBS=`echo $GLIB_LIBS | sed -e "s/$export_dynamic//"`
15594 fi
15595 PYTHON_BASENAME=`basename $PYTHON`
15596
15597
15598
15599   EXP_VAR=DATADIR
15600   FROM_VAR=$datadir
15601
15602     prefix_save=$prefix
15603   exec_prefix_save=$exec_prefix
15604
15605     if test "x$prefix" = "xNONE"; then
15606     prefix=$ac_default_prefix
15607   fi
15608     if test "x$exec_prefix" = "xNONE"; then
15609     exec_prefix=$prefix
15610   fi
15611
15612   full_var="$FROM_VAR"
15613     while true; do
15614     new_full_var="`eval echo $full_var`"
15615     if test "x$new_full_var"="x$full_var"; then break; fi
15616     full_var=$new_full_var
15617   done
15618
15619     full_var=$new_full_var
15620   DATADIR="$full_var"
15621
15622
15623     prefix=$prefix_save
15624   exec_prefix=$exec_prefix_save
15625
15626
15627 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ffi" >&5
15628 $as_echo_n "checking for ffi... " >&6; }
15629
15630 # Check whether --with-ffi was given.
15631 if test "${with_ffi+set}" = set; then :
15632   withval=$with_ffi; with_libffi=$withval
15633 else
15634   with_libffi=auto
15635 fi
15636
15637 if test x"$with_libffi" = xno ; then
15638   have_libffi=false
15639 else
15640
15641 pkg_failed=no
15642 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for FFI" >&5
15643 $as_echo_n "checking for FFI... " >&6; }
15644
15645 if test -n "$FFI_CFLAGS"; then
15646     pkg_cv_FFI_CFLAGS="$FFI_CFLAGS"
15647  elif test -n "$PKG_CONFIG"; then
15648     if test -n "$PKG_CONFIG" && \
15649     { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"libffi >= 3.0\""; } >&5
15650   ($PKG_CONFIG --exists --print-errors "libffi >= 3.0") 2>&5
15651   ac_status=$?
15652   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
15653   test $ac_status = 0; }; then
15654   pkg_cv_FFI_CFLAGS=`$PKG_CONFIG --cflags "libffi >= 3.0" 2>/dev/null`
15655                       test "x$?" != "x0" && pkg_failed=yes
15656 else
15657   pkg_failed=yes
15658 fi
15659  else
15660     pkg_failed=untried
15661 fi
15662 if test -n "$FFI_LIBS"; then
15663     pkg_cv_FFI_LIBS="$FFI_LIBS"
15664  elif test -n "$PKG_CONFIG"; then
15665     if test -n "$PKG_CONFIG" && \
15666     { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"libffi >= 3.0\""; } >&5
15667   ($PKG_CONFIG --exists --print-errors "libffi >= 3.0") 2>&5
15668   ac_status=$?
15669   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
15670   test $ac_status = 0; }; then
15671   pkg_cv_FFI_LIBS=`$PKG_CONFIG --libs "libffi >= 3.0" 2>/dev/null`
15672                       test "x$?" != "x0" && pkg_failed=yes
15673 else
15674   pkg_failed=yes
15675 fi
15676  else
15677     pkg_failed=untried
15678 fi
15679
15680
15681
15682 if test $pkg_failed = yes; then
15683         { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
15684 $as_echo "no" >&6; }
15685
15686 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
15687         _pkg_short_errors_supported=yes
15688 else
15689         _pkg_short_errors_supported=no
15690 fi
15691         if test $_pkg_short_errors_supported = yes; then
15692                 FFI_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "libffi >= 3.0" 2>&1`
15693         else
15694                 FFI_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "libffi >= 3.0" 2>&1`
15695         fi
15696         # Put the nasty error message in config.log where it belongs
15697         echo "$FFI_PKG_ERRORS" >&5
15698
15699         have_libffi=no
15700 elif test $pkg_failed = untried; then
15701         { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
15702 $as_echo "no" >&6; }
15703         have_libffi=no
15704 else
15705         FFI_CFLAGS=$pkg_cv_FFI_CFLAGS
15706         FFI_LIBS=$pkg_cv_FFI_LIBS
15707         { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
15708 $as_echo "yes" >&6; }
15709         have_libffi=yes
15710 fi
15711 fi
15712 if test x"$with_libffi" = xyes && test x"$have_libffi" = xno ; then
15713   as_fn_error $? "ffi requested, but not found" "$LINENO" 5
15714 fi
15715 if test x"$have_libffi" = xyes; then
15716   LIBFFI_PC=libffi
15717 fi
15718  if test "$have_libffi" = "yes"; then
15719   HAVE_LIBFFI_TRUE=
15720   HAVE_LIBFFI_FALSE='#'
15721 else
15722   HAVE_LIBFFI_TRUE='#'
15723   HAVE_LIBFFI_FALSE=
15724 fi
15725
15726
15727
15728
15729
15730
15731 pkg_failed=no
15732 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GIO" >&5
15733 $as_echo_n "checking for GIO... " >&6; }
15734
15735 if test -n "$GIO_CFLAGS"; then
15736     pkg_cv_GIO_CFLAGS="$GIO_CFLAGS"
15737  elif test -n "$PKG_CONFIG"; then
15738     if test -n "$PKG_CONFIG" && \
15739     { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"gio-2.0 >= 2.31.0\""; } >&5
15740   ($PKG_CONFIG --exists --print-errors "gio-2.0 >= 2.31.0") 2>&5
15741   ac_status=$?
15742   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
15743   test $ac_status = 0; }; then
15744   pkg_cv_GIO_CFLAGS=`$PKG_CONFIG --cflags "gio-2.0 >= 2.31.0" 2>/dev/null`
15745                       test "x$?" != "x0" && pkg_failed=yes
15746 else
15747   pkg_failed=yes
15748 fi
15749  else
15750     pkg_failed=untried
15751 fi
15752 if test -n "$GIO_LIBS"; then
15753     pkg_cv_GIO_LIBS="$GIO_LIBS"
15754  elif test -n "$PKG_CONFIG"; then
15755     if test -n "$PKG_CONFIG" && \
15756     { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"gio-2.0 >= 2.31.0\""; } >&5
15757   ($PKG_CONFIG --exists --print-errors "gio-2.0 >= 2.31.0") 2>&5
15758   ac_status=$?
15759   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
15760   test $ac_status = 0; }; then
15761   pkg_cv_GIO_LIBS=`$PKG_CONFIG --libs "gio-2.0 >= 2.31.0" 2>/dev/null`
15762                       test "x$?" != "x0" && pkg_failed=yes
15763 else
15764   pkg_failed=yes
15765 fi
15766  else
15767     pkg_failed=untried
15768 fi
15769
15770
15771
15772 if test $pkg_failed = yes; then
15773         { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
15774 $as_echo "no" >&6; }
15775
15776 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
15777         _pkg_short_errors_supported=yes
15778 else
15779         _pkg_short_errors_supported=no
15780 fi
15781         if test $_pkg_short_errors_supported = yes; then
15782                 GIO_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "gio-2.0 >= 2.31.0" 2>&1`
15783         else
15784                 GIO_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "gio-2.0 >= 2.31.0" 2>&1`
15785         fi
15786         # Put the nasty error message in config.log where it belongs
15787         echo "$GIO_PKG_ERRORS" >&5
15788
15789         as_fn_error $? "Package requirements (gio-2.0 >= 2.31.0) were not met:
15790
15791 $GIO_PKG_ERRORS
15792
15793 Consider adjusting the PKG_CONFIG_PATH environment variable if you
15794 installed software in a non-standard prefix.
15795
15796 Alternatively, you may set the environment variables GIO_CFLAGS
15797 and GIO_LIBS to avoid the need to call pkg-config.
15798 See the pkg-config man page for more details." "$LINENO" 5
15799 elif test $pkg_failed = untried; then
15800         { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
15801 $as_echo "no" >&6; }
15802         { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
15803 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
15804 as_fn_error $? "The pkg-config script could not be found or is too old.  Make sure it
15805 is in your PATH or set the PKG_CONFIG environment variable to the full
15806 path to pkg-config.
15807
15808 Alternatively, you may set the environment variables GIO_CFLAGS
15809 and GIO_LIBS to avoid the need to call pkg-config.
15810 See the pkg-config man page for more details.
15811
15812 To get pkg-config, see <http://pkg-config.freedesktop.org/>.
15813 See \`config.log' for more details" "$LINENO" 5; }
15814 else
15815         GIO_CFLAGS=$pkg_cv_GIO_CFLAGS
15816         GIO_LIBS=$pkg_cv_GIO_LIBS
15817         { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
15818 $as_echo "yes" >&6; }
15819
15820 fi
15821
15822 # we always need cairo (not pycairo) for building the tests
15823
15824 pkg_failed=no
15825 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for CAIRO" >&5
15826 $as_echo_n "checking for CAIRO... " >&6; }
15827
15828 if test -n "$CAIRO_CFLAGS"; then
15829     pkg_cv_CAIRO_CFLAGS="$CAIRO_CFLAGS"
15830  elif test -n "$PKG_CONFIG"; then
15831     if test -n "$PKG_CONFIG" && \
15832     { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"cairo cairo-gobject\""; } >&5
15833   ($PKG_CONFIG --exists --print-errors "cairo cairo-gobject") 2>&5
15834   ac_status=$?
15835   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
15836   test $ac_status = 0; }; then
15837   pkg_cv_CAIRO_CFLAGS=`$PKG_CONFIG --cflags "cairo cairo-gobject" 2>/dev/null`
15838                       test "x$?" != "x0" && pkg_failed=yes
15839 else
15840   pkg_failed=yes
15841 fi
15842  else
15843     pkg_failed=untried
15844 fi
15845 if test -n "$CAIRO_LIBS"; then
15846     pkg_cv_CAIRO_LIBS="$CAIRO_LIBS"
15847  elif test -n "$PKG_CONFIG"; then
15848     if test -n "$PKG_CONFIG" && \
15849     { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"cairo cairo-gobject\""; } >&5
15850   ($PKG_CONFIG --exists --print-errors "cairo cairo-gobject") 2>&5
15851   ac_status=$?
15852   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
15853   test $ac_status = 0; }; then
15854   pkg_cv_CAIRO_LIBS=`$PKG_CONFIG --libs "cairo cairo-gobject" 2>/dev/null`
15855                       test "x$?" != "x0" && pkg_failed=yes
15856 else
15857   pkg_failed=yes
15858 fi
15859  else
15860     pkg_failed=untried
15861 fi
15862
15863
15864
15865 if test $pkg_failed = yes; then
15866         { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
15867 $as_echo "no" >&6; }
15868
15869 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
15870         _pkg_short_errors_supported=yes
15871 else
15872         _pkg_short_errors_supported=no
15873 fi
15874         if test $_pkg_short_errors_supported = yes; then
15875                 CAIRO_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "cairo cairo-gobject" 2>&1`
15876         else
15877                 CAIRO_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "cairo cairo-gobject" 2>&1`
15878         fi
15879         # Put the nasty error message in config.log where it belongs
15880         echo "$CAIRO_PKG_ERRORS" >&5
15881
15882         as_fn_error $? "Package requirements (cairo cairo-gobject) were not met:
15883
15884 $CAIRO_PKG_ERRORS
15885
15886 Consider adjusting the PKG_CONFIG_PATH environment variable if you
15887 installed software in a non-standard prefix.
15888
15889 Alternatively, you may set the environment variables CAIRO_CFLAGS
15890 and CAIRO_LIBS to avoid the need to call pkg-config.
15891 See the pkg-config man page for more details." "$LINENO" 5
15892 elif test $pkg_failed = untried; then
15893         { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
15894 $as_echo "no" >&6; }
15895         { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
15896 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
15897 as_fn_error $? "The pkg-config script could not be found or is too old.  Make sure it
15898 is in your PATH or set the PKG_CONFIG environment variable to the full
15899 path to pkg-config.
15900
15901 Alternatively, you may set the environment variables CAIRO_CFLAGS
15902 and CAIRO_LIBS to avoid the need to call pkg-config.
15903 See the pkg-config man page for more details.
15904
15905 To get pkg-config, see <http://pkg-config.freedesktop.org/>.
15906 See \`config.log' for more details" "$LINENO" 5; }
15907 else
15908         CAIRO_CFLAGS=$pkg_cv_CAIRO_CFLAGS
15909         CAIRO_LIBS=$pkg_cv_CAIRO_LIBS
15910         { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
15911 $as_echo "yes" >&6; }
15912
15913 fi
15914
15915 # Check whether --enable-cairo was given.
15916 if test "${enable_cairo+set}" = set; then :
15917   enableval=$enable_cairo; enable_cairo=$enableval
15918 else
15919   enable_cairo=yes
15920 fi
15921
15922
15923
15924 pkg_failed=no
15925 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GI" >&5
15926 $as_echo_n "checking for GI... " >&6; }
15927
15928 if test -n "$GI_CFLAGS"; then
15929     pkg_cv_GI_CFLAGS="$GI_CFLAGS"
15930  elif test -n "$PKG_CONFIG"; then
15931     if test -n "$PKG_CONFIG" && \
15932     { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"glib-2.0 >= 2.31.0
15933     gobject-introspection-1.0 >= 1.33.0
15934 \""; } >&5
15935   ($PKG_CONFIG --exists --print-errors "glib-2.0 >= 2.31.0
15936     gobject-introspection-1.0 >= 1.33.0
15937 ") 2>&5
15938   ac_status=$?
15939   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
15940   test $ac_status = 0; }; then
15941   pkg_cv_GI_CFLAGS=`$PKG_CONFIG --cflags "glib-2.0 >= 2.31.0
15942     gobject-introspection-1.0 >= 1.33.0
15943 " 2>/dev/null`
15944                       test "x$?" != "x0" && pkg_failed=yes
15945 else
15946   pkg_failed=yes
15947 fi
15948  else
15949     pkg_failed=untried
15950 fi
15951 if test -n "$GI_LIBS"; then
15952     pkg_cv_GI_LIBS="$GI_LIBS"
15953  elif test -n "$PKG_CONFIG"; then
15954     if test -n "$PKG_CONFIG" && \
15955     { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"glib-2.0 >= 2.31.0
15956     gobject-introspection-1.0 >= 1.33.0
15957 \""; } >&5
15958   ($PKG_CONFIG --exists --print-errors "glib-2.0 >= 2.31.0
15959     gobject-introspection-1.0 >= 1.33.0
15960 ") 2>&5
15961   ac_status=$?
15962   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
15963   test $ac_status = 0; }; then
15964   pkg_cv_GI_LIBS=`$PKG_CONFIG --libs "glib-2.0 >= 2.31.0
15965     gobject-introspection-1.0 >= 1.33.0
15966 " 2>/dev/null`
15967                       test "x$?" != "x0" && pkg_failed=yes
15968 else
15969   pkg_failed=yes
15970 fi
15971  else
15972     pkg_failed=untried
15973 fi
15974
15975
15976
15977 if test $pkg_failed = yes; then
15978         { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
15979 $as_echo "no" >&6; }
15980
15981 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
15982         _pkg_short_errors_supported=yes
15983 else
15984         _pkg_short_errors_supported=no
15985 fi
15986         if test $_pkg_short_errors_supported = yes; then
15987                 GI_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "glib-2.0 >= 2.31.0
15988     gobject-introspection-1.0 >= 1.33.0
15989 " 2>&1`
15990         else
15991                 GI_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "glib-2.0 >= 2.31.0
15992     gobject-introspection-1.0 >= 1.33.0
15993 " 2>&1`
15994         fi
15995         # Put the nasty error message in config.log where it belongs
15996         echo "$GI_PKG_ERRORS" >&5
15997
15998         as_fn_error $? "Package requirements (glib-2.0 >= 2.31.0
15999     gobject-introspection-1.0 >= 1.33.0
16000 ) were not met:
16001
16002 $GI_PKG_ERRORS
16003
16004 Consider adjusting the PKG_CONFIG_PATH environment variable if you
16005 installed software in a non-standard prefix.
16006
16007 Alternatively, you may set the environment variables GI_CFLAGS
16008 and GI_LIBS to avoid the need to call pkg-config.
16009 See the pkg-config man page for more details." "$LINENO" 5
16010 elif test $pkg_failed = untried; then
16011         { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
16012 $as_echo "no" >&6; }
16013         { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
16014 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
16015 as_fn_error $? "The pkg-config script could not be found or is too old.  Make sure it
16016 is in your PATH or set the PKG_CONFIG environment variable to the full
16017 path to pkg-config.
16018
16019 Alternatively, you may set the environment variables GI_CFLAGS
16020 and GI_LIBS to avoid the need to call pkg-config.
16021 See the pkg-config man page for more details.
16022
16023 To get pkg-config, see <http://pkg-config.freedesktop.org/>.
16024 See \`config.log' for more details" "$LINENO" 5; }
16025 else
16026         GI_CFLAGS=$pkg_cv_GI_CFLAGS
16027         GI_LIBS=$pkg_cv_GI_LIBS
16028         { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
16029 $as_echo "yes" >&6; }
16030
16031 fi
16032
16033 GI_DATADIR=$($PKG_CONFIG --variable=gidatadir gobject-introspection-1.0)
16034
16035
16036 if test "$enable_cairo" != no; then
16037     if test $build_py3k = true; then
16038
16039 pkg_failed=no
16040 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for PYCAIRO" >&5
16041 $as_echo_n "checking for PYCAIRO... " >&6; }
16042
16043 if test -n "$PYCAIRO_CFLAGS"; then
16044     pkg_cv_PYCAIRO_CFLAGS="$PYCAIRO_CFLAGS"
16045  elif test -n "$PKG_CONFIG"; then
16046     if test -n "$PKG_CONFIG" && \
16047     { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"py3cairo >= 1.10.0
16048         \""; } >&5
16049   ($PKG_CONFIG --exists --print-errors "py3cairo >= 1.10.0
16050         ") 2>&5
16051   ac_status=$?
16052   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
16053   test $ac_status = 0; }; then
16054   pkg_cv_PYCAIRO_CFLAGS=`$PKG_CONFIG --cflags "py3cairo >= 1.10.0
16055         " 2>/dev/null`
16056                       test "x$?" != "x0" && pkg_failed=yes
16057 else
16058   pkg_failed=yes
16059 fi
16060  else
16061     pkg_failed=untried
16062 fi
16063 if test -n "$PYCAIRO_LIBS"; then
16064     pkg_cv_PYCAIRO_LIBS="$PYCAIRO_LIBS"
16065  elif test -n "$PKG_CONFIG"; then
16066     if test -n "$PKG_CONFIG" && \
16067     { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"py3cairo >= 1.10.0
16068         \""; } >&5
16069   ($PKG_CONFIG --exists --print-errors "py3cairo >= 1.10.0
16070         ") 2>&5
16071   ac_status=$?
16072   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
16073   test $ac_status = 0; }; then
16074   pkg_cv_PYCAIRO_LIBS=`$PKG_CONFIG --libs "py3cairo >= 1.10.0
16075         " 2>/dev/null`
16076                       test "x$?" != "x0" && pkg_failed=yes
16077 else
16078   pkg_failed=yes
16079 fi
16080  else
16081     pkg_failed=untried
16082 fi
16083
16084
16085
16086 if test $pkg_failed = yes; then
16087         { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
16088 $as_echo "no" >&6; }
16089
16090 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
16091         _pkg_short_errors_supported=yes
16092 else
16093         _pkg_short_errors_supported=no
16094 fi
16095         if test $_pkg_short_errors_supported = yes; then
16096                 PYCAIRO_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "py3cairo >= 1.10.0
16097         " 2>&1`
16098         else
16099                 PYCAIRO_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "py3cairo >= 1.10.0
16100         " 2>&1`
16101         fi
16102         # Put the nasty error message in config.log where it belongs
16103         echo "$PYCAIRO_PKG_ERRORS" >&5
16104
16105         as_fn_error $? "Package requirements (py3cairo >= 1.10.0
16106         ) were not met:
16107
16108 $PYCAIRO_PKG_ERRORS
16109
16110 Consider adjusting the PKG_CONFIG_PATH environment variable if you
16111 installed software in a non-standard prefix.
16112
16113 Alternatively, you may set the environment variables PYCAIRO_CFLAGS
16114 and PYCAIRO_LIBS to avoid the need to call pkg-config.
16115 See the pkg-config man page for more details." "$LINENO" 5
16116 elif test $pkg_failed = untried; then
16117         { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
16118 $as_echo "no" >&6; }
16119         { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
16120 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
16121 as_fn_error $? "The pkg-config script could not be found or is too old.  Make sure it
16122 is in your PATH or set the PKG_CONFIG environment variable to the full
16123 path to pkg-config.
16124
16125 Alternatively, you may set the environment variables PYCAIRO_CFLAGS
16126 and PYCAIRO_LIBS to avoid the need to call pkg-config.
16127 See the pkg-config man page for more details.
16128
16129 To get pkg-config, see <http://pkg-config.freedesktop.org/>.
16130 See \`config.log' for more details" "$LINENO" 5; }
16131 else
16132         PYCAIRO_CFLAGS=$pkg_cv_PYCAIRO_CFLAGS
16133         PYCAIRO_LIBS=$pkg_cv_PYCAIRO_LIBS
16134         { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
16135 $as_echo "yes" >&6; }
16136
16137 fi
16138     else
16139
16140 pkg_failed=no
16141 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for PYCAIRO" >&5
16142 $as_echo_n "checking for PYCAIRO... " >&6; }
16143
16144 if test -n "$PYCAIRO_CFLAGS"; then
16145     pkg_cv_PYCAIRO_CFLAGS="$PYCAIRO_CFLAGS"
16146  elif test -n "$PKG_CONFIG"; then
16147     if test -n "$PKG_CONFIG" && \
16148     { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"pycairo >= 1.2.0
16149         \""; } >&5
16150   ($PKG_CONFIG --exists --print-errors "pycairo >= 1.2.0
16151         ") 2>&5
16152   ac_status=$?
16153   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
16154   test $ac_status = 0; }; then
16155   pkg_cv_PYCAIRO_CFLAGS=`$PKG_CONFIG --cflags "pycairo >= 1.2.0
16156         " 2>/dev/null`
16157                       test "x$?" != "x0" && pkg_failed=yes
16158 else
16159   pkg_failed=yes
16160 fi
16161  else
16162     pkg_failed=untried
16163 fi
16164 if test -n "$PYCAIRO_LIBS"; then
16165     pkg_cv_PYCAIRO_LIBS="$PYCAIRO_LIBS"
16166  elif test -n "$PKG_CONFIG"; then
16167     if test -n "$PKG_CONFIG" && \
16168     { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"pycairo >= 1.2.0
16169         \""; } >&5
16170   ($PKG_CONFIG --exists --print-errors "pycairo >= 1.2.0
16171         ") 2>&5
16172   ac_status=$?
16173   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
16174   test $ac_status = 0; }; then
16175   pkg_cv_PYCAIRO_LIBS=`$PKG_CONFIG --libs "pycairo >= 1.2.0
16176         " 2>/dev/null`
16177                       test "x$?" != "x0" && pkg_failed=yes
16178 else
16179   pkg_failed=yes
16180 fi
16181  else
16182     pkg_failed=untried
16183 fi
16184
16185
16186
16187 if test $pkg_failed = yes; then
16188         { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
16189 $as_echo "no" >&6; }
16190
16191 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
16192         _pkg_short_errors_supported=yes
16193 else
16194         _pkg_short_errors_supported=no
16195 fi
16196         if test $_pkg_short_errors_supported = yes; then
16197                 PYCAIRO_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "pycairo >= 1.2.0
16198         " 2>&1`
16199         else
16200                 PYCAIRO_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "pycairo >= 1.2.0
16201         " 2>&1`
16202         fi
16203         # Put the nasty error message in config.log where it belongs
16204         echo "$PYCAIRO_PKG_ERRORS" >&5
16205
16206         as_fn_error $? "Package requirements (pycairo >= 1.2.0
16207         ) were not met:
16208
16209 $PYCAIRO_PKG_ERRORS
16210
16211 Consider adjusting the PKG_CONFIG_PATH environment variable if you
16212 installed software in a non-standard prefix.
16213
16214 Alternatively, you may set the environment variables PYCAIRO_CFLAGS
16215 and PYCAIRO_LIBS to avoid the need to call pkg-config.
16216 See the pkg-config man page for more details." "$LINENO" 5
16217 elif test $pkg_failed = untried; then
16218         { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
16219 $as_echo "no" >&6; }
16220         { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
16221 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
16222 as_fn_error $? "The pkg-config script could not be found or is too old.  Make sure it
16223 is in your PATH or set the PKG_CONFIG environment variable to the full
16224 path to pkg-config.
16225
16226 Alternatively, you may set the environment variables PYCAIRO_CFLAGS
16227 and PYCAIRO_LIBS to avoid the need to call pkg-config.
16228 See the pkg-config man page for more details.
16229
16230 To get pkg-config, see <http://pkg-config.freedesktop.org/>.
16231 See \`config.log' for more details" "$LINENO" 5; }
16232 else
16233         PYCAIRO_CFLAGS=$pkg_cv_PYCAIRO_CFLAGS
16234         PYCAIRO_LIBS=$pkg_cv_PYCAIRO_LIBS
16235         { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
16236 $as_echo "yes" >&6; }
16237
16238 fi
16239     fi
16240 fi
16241  if test "$enable_cairo" = "yes"; then
16242   ENABLE_CAIRO_TRUE=
16243   ENABLE_CAIRO_FALSE='#'
16244 else
16245   ENABLE_CAIRO_TRUE='#'
16246   ENABLE_CAIRO_FALSE=
16247 fi
16248
16249
16250 INTROSPECTION_SCANNER=`$PKG_CONFIG --variable=g_ir_scanner gobject-introspection-1.0`
16251 INTROSPECTION_COMPILER=`$PKG_CONFIG --variable=g_ir_compiler gobject-introspection-1.0`
16252
16253
16254
16255
16256 if test "x$GCC" = "xyes"; then
16257
16258 case " $CFLAGS " in
16259 *[\     \ ]-Wall[\      \ ]*)
16260   ;;
16261 *)
16262   save_CFLAGS="$CFLAGS"
16263   CFLAGS="$CFLAGS -Wall"
16264   { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC understands -Wall" >&5
16265 $as_echo_n "checking whether $CC understands -Wall... " >&6; }
16266   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16267 /* end confdefs.h.  */
16268
16269 int
16270 main ()
16271 {
16272
16273   ;
16274   return 0;
16275 }
16276 _ACEOF
16277 if ac_fn_c_try_compile "$LINENO"; then :
16278   jh_has_option=yes
16279 else
16280   jh_has_option=no
16281 fi
16282 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16283   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $jh_has_option" >&5
16284 $as_echo "$jh_has_option" >&6; }
16285   if test $jh_has_option = no; then
16286     CFLAGS="$save_CFLAGS"
16287   fi
16288   ;;
16289 esac
16290
16291 case " $CFLAGS " in
16292 *[\     \ ]-fno-strict-aliasing[\       \ ]*)
16293   ;;
16294 *)
16295   save_CFLAGS="$CFLAGS"
16296   CFLAGS="$CFLAGS -fno-strict-aliasing"
16297   { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC understands -fno-strict-aliasing" >&5
16298 $as_echo_n "checking whether $CC understands -fno-strict-aliasing... " >&6; }
16299   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16300 /* end confdefs.h.  */
16301
16302 int
16303 main ()
16304 {
16305
16306   ;
16307   return 0;
16308 }
16309 _ACEOF
16310 if ac_fn_c_try_compile "$LINENO"; then :
16311   jh_has_option=yes
16312 else
16313   jh_has_option=no
16314 fi
16315 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16316   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $jh_has_option" >&5
16317 $as_echo "$jh_has_option" >&6; }
16318   if test $jh_has_option = no; then
16319     CFLAGS="$save_CFLAGS"
16320   fi
16321   ;;
16322 esac
16323
16324   case $host_os in
16325   solaris*)
16326     ;;
16327   *)
16328
16329 case " $CFLAGS " in
16330 *[\     \ ]-std=c9x[\   \ ]*)
16331   ;;
16332 *)
16333   save_CFLAGS="$CFLAGS"
16334   CFLAGS="$CFLAGS -std=c9x"
16335   { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC understands -std=c9x" >&5
16336 $as_echo_n "checking whether $CC understands -std=c9x... " >&6; }
16337   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16338 /* end confdefs.h.  */
16339
16340 int
16341 main ()
16342 {
16343
16344   ;
16345   return 0;
16346 }
16347 _ACEOF
16348 if ac_fn_c_try_compile "$LINENO"; then :
16349   jh_has_option=yes
16350 else
16351   jh_has_option=no
16352 fi
16353 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16354   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $jh_has_option" >&5
16355 $as_echo "$jh_has_option" >&6; }
16356   if test $jh_has_option = no; then
16357     CFLAGS="$save_CFLAGS"
16358   fi
16359   ;;
16360 esac
16361     ;;
16362   esac
16363
16364 fi
16365
16366 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 PKG-INFO"
16367
16368 cat >confcache <<\_ACEOF
16369 # This file is a shell script that caches the results of configure
16370 # tests run on this system so they can be shared between configure
16371 # scripts and configure runs, see configure's option --config-cache.
16372 # It is not useful on other systems.  If it contains results you don't
16373 # want to keep, you may remove or edit it.
16374 #
16375 # config.status only pays attention to the cache file if you give it
16376 # the --recheck option to rerun configure.
16377 #
16378 # `ac_cv_env_foo' variables (set or unset) will be overridden when
16379 # loading this file, other *unset* `ac_cv_foo' will be assigned the
16380 # following values.
16381
16382 _ACEOF
16383
16384 # The following way of writing the cache mishandles newlines in values,
16385 # but we know of no workaround that is simple, portable, and efficient.
16386 # So, we kill variables containing newlines.
16387 # Ultrix sh set writes to stderr and can't be redirected directly,
16388 # and sets the high bit in the cache file unless we assign to the vars.
16389 (
16390   for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
16391     eval ac_val=\$$ac_var
16392     case $ac_val in #(
16393     *${as_nl}*)
16394       case $ac_var in #(
16395       *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
16396 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
16397       esac
16398       case $ac_var in #(
16399       _ | IFS | as_nl) ;; #(
16400       BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
16401       *) { eval $ac_var=; unset $ac_var;} ;;
16402       esac ;;
16403     esac
16404   done
16405
16406   (set) 2>&1 |
16407     case $as_nl`(ac_space=' '; set) 2>&1` in #(
16408     *${as_nl}ac_space=\ *)
16409       # `set' does not quote correctly, so add quotes: double-quote
16410       # substitution turns \\\\ into \\, and sed turns \\ into \.
16411       sed -n \
16412         "s/'/'\\\\''/g;
16413           s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
16414       ;; #(
16415     *)
16416       # `set' quotes correctly as required by POSIX, so do not add quotes.
16417       sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
16418       ;;
16419     esac |
16420     sort
16421 ) |
16422   sed '
16423      /^ac_cv_env_/b end
16424      t clear
16425      :clear
16426      s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
16427      t end
16428      s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
16429      :end' >>confcache
16430 if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
16431   if test -w "$cache_file"; then
16432     if test "x$cache_file" != "x/dev/null"; then
16433       { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
16434 $as_echo "$as_me: updating cache $cache_file" >&6;}
16435       if test ! -f "$cache_file" || test -h "$cache_file"; then
16436         cat confcache >"$cache_file"
16437       else
16438         case $cache_file in #(
16439         */* | ?:*)
16440           mv -f confcache "$cache_file"$$ &&
16441           mv -f "$cache_file"$$ "$cache_file" ;; #(
16442         *)
16443           mv -f confcache "$cache_file" ;;
16444         esac
16445       fi
16446     fi
16447   else
16448     { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
16449 $as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
16450   fi
16451 fi
16452 rm -f confcache
16453
16454 test "x$prefix" = xNONE && prefix=$ac_default_prefix
16455 # Let make expand exec_prefix.
16456 test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
16457
16458 DEFS=-DHAVE_CONFIG_H
16459
16460 ac_libobjs=
16461 ac_ltlibobjs=
16462 U=
16463 for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
16464   # 1. Remove the extension, and $U if already installed.
16465   ac_script='s/\$U\././;s/\.o$//;s/\.obj$//'
16466   ac_i=`$as_echo "$ac_i" | sed "$ac_script"`
16467   # 2. Prepend LIBOBJDIR.  When used with automake>=1.10 LIBOBJDIR
16468   #    will be set to the directory where LIBOBJS objects are built.
16469   as_fn_append ac_libobjs " \${LIBOBJDIR}$ac_i\$U.$ac_objext"
16470   as_fn_append ac_ltlibobjs " \${LIBOBJDIR}$ac_i"'$U.lo'
16471 done
16472 LIBOBJS=$ac_libobjs
16473
16474 LTLIBOBJS=$ac_ltlibobjs
16475
16476
16477  if test -n "$EXEEXT"; then
16478   am__EXEEXT_TRUE=
16479   am__EXEEXT_FALSE='#'
16480 else
16481   am__EXEEXT_TRUE='#'
16482   am__EXEEXT_FALSE=
16483 fi
16484
16485 if test -z "${MAINTAINER_MODE_TRUE}" && test -z "${MAINTAINER_MODE_FALSE}"; then
16486   as_fn_error $? "conditional \"MAINTAINER_MODE\" was never defined.
16487 Usually this means the macro was only invoked conditionally." "$LINENO" 5
16488 fi
16489 if test -z "${PLATFORM_WIN32_TRUE}" && test -z "${PLATFORM_WIN32_FALSE}"; then
16490   as_fn_error $? "conditional \"PLATFORM_WIN32\" was never defined.
16491 Usually this means the macro was only invoked conditionally." "$LINENO" 5
16492 fi
16493 if test -z "${OS_WIN32_TRUE}" && test -z "${OS_WIN32_FALSE}"; then
16494   as_fn_error $? "conditional \"OS_WIN32\" was never defined.
16495 Usually this means the macro was only invoked conditionally." "$LINENO" 5
16496 fi
16497 if test -z "${AMDEP_TRUE}" && test -z "${AMDEP_FALSE}"; then
16498   as_fn_error $? "conditional \"AMDEP\" was never defined.
16499 Usually this means the macro was only invoked conditionally." "$LINENO" 5
16500 fi
16501 if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
16502   as_fn_error $? "conditional \"am__fastdepCC\" was never defined.
16503 Usually this means the macro was only invoked conditionally." "$LINENO" 5
16504 fi
16505 if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
16506   as_fn_error $? "conditional \"am__fastdepCC\" was never defined.
16507 Usually this means the macro was only invoked conditionally." "$LINENO" 5
16508 fi
16509 if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
16510   as_fn_error $? "conditional \"am__fastdepCC\" was never defined.
16511 Usually this means the macro was only invoked conditionally." "$LINENO" 5
16512 fi
16513 if test -z "${HAVE_LIBFFI_TRUE}" && test -z "${HAVE_LIBFFI_FALSE}"; then
16514   as_fn_error $? "conditional \"HAVE_LIBFFI\" was never defined.
16515 Usually this means the macro was only invoked conditionally." "$LINENO" 5
16516 fi
16517 if test -z "${ENABLE_CAIRO_TRUE}" && test -z "${ENABLE_CAIRO_FALSE}"; then
16518   as_fn_error $? "conditional \"ENABLE_CAIRO\" was never defined.
16519 Usually this means the macro was only invoked conditionally." "$LINENO" 5
16520 fi
16521
16522 : "${CONFIG_STATUS=./config.status}"
16523 ac_write_fail=0
16524 ac_clean_files_save=$ac_clean_files
16525 ac_clean_files="$ac_clean_files $CONFIG_STATUS"
16526 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5
16527 $as_echo "$as_me: creating $CONFIG_STATUS" >&6;}
16528 as_write_fail=0
16529 cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1
16530 #! $SHELL
16531 # Generated by $as_me.
16532 # Run this file to recreate the current configuration.
16533 # Compiler output produced by configure, useful for debugging
16534 # configure, is in config.log if it exists.
16535
16536 debug=false
16537 ac_cs_recheck=false
16538 ac_cs_silent=false
16539
16540 SHELL=\${CONFIG_SHELL-$SHELL}
16541 export SHELL
16542 _ASEOF
16543 cat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail=1
16544 ## -------------------- ##
16545 ## M4sh Initialization. ##
16546 ## -------------------- ##
16547
16548 # Be more Bourne compatible
16549 DUALCASE=1; export DUALCASE # for MKS sh
16550 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :
16551   emulate sh
16552   NULLCMD=:
16553   # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
16554   # is contrary to our usage.  Disable this feature.
16555   alias -g '${1+"$@"}'='"$@"'
16556   setopt NO_GLOB_SUBST
16557 else
16558   case `(set -o) 2>/dev/null` in #(
16559   *posix*) :
16560     set -o posix ;; #(
16561   *) :
16562      ;;
16563 esac
16564 fi
16565
16566
16567 as_nl='
16568 '
16569 export as_nl
16570 # Printing a long string crashes Solaris 7 /usr/bin/printf.
16571 as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
16572 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
16573 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
16574 # Prefer a ksh shell builtin over an external printf program on Solaris,
16575 # but without wasting forks for bash or zsh.
16576 if test -z "$BASH_VERSION$ZSH_VERSION" \
16577     && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
16578   as_echo='print -r --'
16579   as_echo_n='print -rn --'
16580 elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
16581   as_echo='printf %s\n'
16582   as_echo_n='printf %s'
16583 else
16584   if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
16585     as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
16586     as_echo_n='/usr/ucb/echo -n'
16587   else
16588     as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
16589     as_echo_n_body='eval
16590       arg=$1;
16591       case $arg in #(
16592       *"$as_nl"*)
16593         expr "X$arg" : "X\\(.*\\)$as_nl";
16594         arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
16595       esac;
16596       expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
16597     '
16598     export as_echo_n_body
16599     as_echo_n='sh -c $as_echo_n_body as_echo'
16600   fi
16601   export as_echo_body
16602   as_echo='sh -c $as_echo_body as_echo'
16603 fi
16604
16605 # The user is always right.
16606 if test "${PATH_SEPARATOR+set}" != set; then
16607   PATH_SEPARATOR=:
16608   (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
16609     (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
16610       PATH_SEPARATOR=';'
16611   }
16612 fi
16613
16614
16615 # IFS
16616 # We need space, tab and new line, in precisely that order.  Quoting is
16617 # there to prevent editors from complaining about space-tab.
16618 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
16619 # splitting by setting IFS to empty value.)
16620 IFS=" ""        $as_nl"
16621
16622 # Find who we are.  Look in the path if we contain no directory separator.
16623 as_myself=
16624 case $0 in #((
16625   *[\\/]* ) as_myself=$0 ;;
16626   *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
16627 for as_dir in $PATH
16628 do
16629   IFS=$as_save_IFS
16630   test -z "$as_dir" && as_dir=.
16631     test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
16632   done
16633 IFS=$as_save_IFS
16634
16635      ;;
16636 esac
16637 # We did not find ourselves, most probably we were run as `sh COMMAND'
16638 # in which case we are not to be found in the path.
16639 if test "x$as_myself" = x; then
16640   as_myself=$0
16641 fi
16642 if test ! -f "$as_myself"; then
16643   $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
16644   exit 1
16645 fi
16646
16647 # Unset variables that we do not need and which cause bugs (e.g. in
16648 # pre-3.0 UWIN ksh).  But do not cause bugs in bash 2.01; the "|| exit 1"
16649 # suppresses any "Segmentation fault" message there.  '((' could
16650 # trigger a bug in pdksh 5.2.14.
16651 for as_var in BASH_ENV ENV MAIL MAILPATH
16652 do eval test x\${$as_var+set} = xset \
16653   && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
16654 done
16655 PS1='$ '
16656 PS2='> '
16657 PS4='+ '
16658
16659 # NLS nuisances.
16660 LC_ALL=C
16661 export LC_ALL
16662 LANGUAGE=C
16663 export LANGUAGE
16664
16665 # CDPATH.
16666 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
16667
16668
16669 # as_fn_error STATUS ERROR [LINENO LOG_FD]
16670 # ----------------------------------------
16671 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
16672 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
16673 # script with STATUS, using 1 if that was 0.
16674 as_fn_error ()
16675 {
16676   as_status=$1; test $as_status -eq 0 && as_status=1
16677   if test "$4"; then
16678     as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
16679     $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
16680   fi
16681   $as_echo "$as_me: error: $2" >&2
16682   as_fn_exit $as_status
16683 } # as_fn_error
16684
16685
16686 # as_fn_set_status STATUS
16687 # -----------------------
16688 # Set $? to STATUS, without forking.
16689 as_fn_set_status ()
16690 {
16691   return $1
16692 } # as_fn_set_status
16693
16694 # as_fn_exit STATUS
16695 # -----------------
16696 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
16697 as_fn_exit ()
16698 {
16699   set +e
16700   as_fn_set_status $1
16701   exit $1
16702 } # as_fn_exit
16703
16704 # as_fn_unset VAR
16705 # ---------------
16706 # Portably unset VAR.
16707 as_fn_unset ()
16708 {
16709   { eval $1=; unset $1;}
16710 }
16711 as_unset=as_fn_unset
16712 # as_fn_append VAR VALUE
16713 # ----------------------
16714 # Append the text in VALUE to the end of the definition contained in VAR. Take
16715 # advantage of any shell optimizations that allow amortized linear growth over
16716 # repeated appends, instead of the typical quadratic growth present in naive
16717 # implementations.
16718 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
16719   eval 'as_fn_append ()
16720   {
16721     eval $1+=\$2
16722   }'
16723 else
16724   as_fn_append ()
16725   {
16726     eval $1=\$$1\$2
16727   }
16728 fi # as_fn_append
16729
16730 # as_fn_arith ARG...
16731 # ------------------
16732 # Perform arithmetic evaluation on the ARGs, and store the result in the
16733 # global $as_val. Take advantage of shells that can avoid forks. The arguments
16734 # must be portable across $(()) and expr.
16735 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
16736   eval 'as_fn_arith ()
16737   {
16738     as_val=$(( $* ))
16739   }'
16740 else
16741   as_fn_arith ()
16742   {
16743     as_val=`expr "$@" || test $? -eq 1`
16744   }
16745 fi # as_fn_arith
16746
16747
16748 if expr a : '\(a\)' >/dev/null 2>&1 &&
16749    test "X`expr 00001 : '.*\(...\)'`" = X001; then
16750   as_expr=expr
16751 else
16752   as_expr=false
16753 fi
16754
16755 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
16756   as_basename=basename
16757 else
16758   as_basename=false
16759 fi
16760
16761 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
16762   as_dirname=dirname
16763 else
16764   as_dirname=false
16765 fi
16766
16767 as_me=`$as_basename -- "$0" ||
16768 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
16769          X"$0" : 'X\(//\)$' \| \
16770          X"$0" : 'X\(/\)' \| . 2>/dev/null ||
16771 $as_echo X/"$0" |
16772     sed '/^.*\/\([^/][^/]*\)\/*$/{
16773             s//\1/
16774             q
16775           }
16776           /^X\/\(\/\/\)$/{
16777             s//\1/
16778             q
16779           }
16780           /^X\/\(\/\).*/{
16781             s//\1/
16782             q
16783           }
16784           s/.*/./; q'`
16785
16786 # Avoid depending upon Character Ranges.
16787 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
16788 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
16789 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
16790 as_cr_digits='0123456789'
16791 as_cr_alnum=$as_cr_Letters$as_cr_digits
16792
16793 ECHO_C= ECHO_N= ECHO_T=
16794 case `echo -n x` in #(((((
16795 -n*)
16796   case `echo 'xy\c'` in
16797   *c*) ECHO_T=' ';;     # ECHO_T is single tab character.
16798   xy)  ECHO_C='\c';;
16799   *)   echo `echo ksh88 bug on AIX 6.1` > /dev/null
16800        ECHO_T=' ';;
16801   esac;;
16802 *)
16803   ECHO_N='-n';;
16804 esac
16805
16806 rm -f conf$$ conf$$.exe conf$$.file
16807 if test -d conf$$.dir; then
16808   rm -f conf$$.dir/conf$$.file
16809 else
16810   rm -f conf$$.dir
16811   mkdir conf$$.dir 2>/dev/null
16812 fi
16813 if (echo >conf$$.file) 2>/dev/null; then
16814   if ln -s conf$$.file conf$$ 2>/dev/null; then
16815     as_ln_s='ln -s'
16816     # ... but there are two gotchas:
16817     # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
16818     # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
16819     # In both cases, we have to default to `cp -pR'.
16820     ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
16821       as_ln_s='cp -pR'
16822   elif ln conf$$.file conf$$ 2>/dev/null; then
16823     as_ln_s=ln
16824   else
16825     as_ln_s='cp -pR'
16826   fi
16827 else
16828   as_ln_s='cp -pR'
16829 fi
16830 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
16831 rmdir conf$$.dir 2>/dev/null
16832
16833
16834 # as_fn_mkdir_p
16835 # -------------
16836 # Create "$as_dir" as a directory, including parents if necessary.
16837 as_fn_mkdir_p ()
16838 {
16839
16840   case $as_dir in #(
16841   -*) as_dir=./$as_dir;;
16842   esac
16843   test -d "$as_dir" || eval $as_mkdir_p || {
16844     as_dirs=
16845     while :; do
16846       case $as_dir in #(
16847       *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
16848       *) as_qdir=$as_dir;;
16849       esac
16850       as_dirs="'$as_qdir' $as_dirs"
16851       as_dir=`$as_dirname -- "$as_dir" ||
16852 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
16853          X"$as_dir" : 'X\(//\)[^/]' \| \
16854          X"$as_dir" : 'X\(//\)$' \| \
16855          X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
16856 $as_echo X"$as_dir" |
16857     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
16858             s//\1/
16859             q
16860           }
16861           /^X\(\/\/\)[^/].*/{
16862             s//\1/
16863             q
16864           }
16865           /^X\(\/\/\)$/{
16866             s//\1/
16867             q
16868           }
16869           /^X\(\/\).*/{
16870             s//\1/
16871             q
16872           }
16873           s/.*/./; q'`
16874       test -d "$as_dir" && break
16875     done
16876     test -z "$as_dirs" || eval "mkdir $as_dirs"
16877   } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir"
16878
16879
16880 } # as_fn_mkdir_p
16881 if mkdir -p . 2>/dev/null; then
16882   as_mkdir_p='mkdir -p "$as_dir"'
16883 else
16884   test -d ./-p && rmdir ./-p
16885   as_mkdir_p=false
16886 fi
16887
16888
16889 # as_fn_executable_p FILE
16890 # -----------------------
16891 # Test if FILE is an executable regular file.
16892 as_fn_executable_p ()
16893 {
16894   test -f "$1" && test -x "$1"
16895 } # as_fn_executable_p
16896 as_test_x='test -x'
16897 as_executable_p=as_fn_executable_p
16898
16899 # Sed expression to map a string onto a valid CPP name.
16900 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
16901
16902 # Sed expression to map a string onto a valid variable name.
16903 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
16904
16905
16906 exec 6>&1
16907 ## ----------------------------------- ##
16908 ## Main body of $CONFIG_STATUS script. ##
16909 ## ----------------------------------- ##
16910 _ASEOF
16911 test $as_write_fail = 0 && chmod +x $CONFIG_STATUS || ac_write_fail=1
16912
16913 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
16914 # Save the log message, to keep $0 and so on meaningful, and to
16915 # report actual input values of CONFIG_FILES etc. instead of their
16916 # values after options handling.
16917 ac_log="
16918 This file was extended by pygobject $as_me 3.3.3.1, which was
16919 generated by GNU Autoconf 2.69.  Invocation command line was
16920
16921   CONFIG_FILES    = $CONFIG_FILES
16922   CONFIG_HEADERS  = $CONFIG_HEADERS
16923   CONFIG_LINKS    = $CONFIG_LINKS
16924   CONFIG_COMMANDS = $CONFIG_COMMANDS
16925   $ $0 $@
16926
16927 on `(hostname || uname -n) 2>/dev/null | sed 1q`
16928 "
16929
16930 _ACEOF
16931
16932 case $ac_config_files in *"
16933 "*) set x $ac_config_files; shift; ac_config_files=$*;;
16934 esac
16935
16936 case $ac_config_headers in *"
16937 "*) set x $ac_config_headers; shift; ac_config_headers=$*;;
16938 esac
16939
16940
16941 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
16942 # Files that config.status was made for.
16943 config_files="$ac_config_files"
16944 config_headers="$ac_config_headers"
16945 config_commands="$ac_config_commands"
16946
16947 _ACEOF
16948
16949 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
16950 ac_cs_usage="\
16951 \`$as_me' instantiates files and other configuration actions
16952 from templates according to the current configuration.  Unless the files
16953 and actions are specified as TAGs, all are instantiated by default.
16954
16955 Usage: $0 [OPTION]... [TAG]...
16956
16957   -h, --help       print this help, then exit
16958   -V, --version    print version number and configuration settings, then exit
16959       --config     print configuration, then exit
16960   -q, --quiet, --silent
16961                    do not print progress messages
16962   -d, --debug      don't remove temporary files
16963       --recheck    update $as_me by reconfiguring in the same conditions
16964       --file=FILE[:TEMPLATE]
16965                    instantiate the configuration file FILE
16966       --header=FILE[:TEMPLATE]
16967                    instantiate the configuration header FILE
16968
16969 Configuration files:
16970 $config_files
16971
16972 Configuration headers:
16973 $config_headers
16974
16975 Configuration commands:
16976 $config_commands
16977
16978 Report bugs to <http://bugzilla.gnome.org/enter_bug.cgi?product=pygobject>."
16979
16980 _ACEOF
16981 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
16982 ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`"
16983 ac_cs_version="\\
16984 pygobject config.status 3.3.3.1
16985 configured by $0, generated by GNU Autoconf 2.69,
16986   with options \\"\$ac_cs_config\\"
16987
16988 Copyright (C) 2012 Free Software Foundation, Inc.
16989 This config.status script is free software; the Free Software Foundation
16990 gives unlimited permission to copy, distribute and modify it."
16991
16992 ac_pwd='$ac_pwd'
16993 srcdir='$srcdir'
16994 INSTALL='$INSTALL'
16995 MKDIR_P='$MKDIR_P'
16996 AWK='$AWK'
16997 test -n "\$AWK" || AWK=awk
16998 _ACEOF
16999
17000 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
17001 # The default lists apply if the user does not specify any file.
17002 ac_need_defaults=:
17003 while test $# != 0
17004 do
17005   case $1 in
17006   --*=?*)
17007     ac_option=`expr "X$1" : 'X\([^=]*\)='`
17008     ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'`
17009     ac_shift=:
17010     ;;
17011   --*=)
17012     ac_option=`expr "X$1" : 'X\([^=]*\)='`
17013     ac_optarg=
17014     ac_shift=:
17015     ;;
17016   *)
17017     ac_option=$1
17018     ac_optarg=$2
17019     ac_shift=shift
17020     ;;
17021   esac
17022
17023   case $ac_option in
17024   # Handling of the options.
17025   -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
17026     ac_cs_recheck=: ;;
17027   --version | --versio | --versi | --vers | --ver | --ve | --v | -V )
17028     $as_echo "$ac_cs_version"; exit ;;
17029   --config | --confi | --conf | --con | --co | --c )
17030     $as_echo "$ac_cs_config"; exit ;;
17031   --debug | --debu | --deb | --de | --d | -d )
17032     debug=: ;;
17033   --file | --fil | --fi | --f )
17034     $ac_shift
17035     case $ac_optarg in
17036     *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
17037     '') as_fn_error $? "missing file argument" ;;
17038     esac
17039     as_fn_append CONFIG_FILES " '$ac_optarg'"
17040     ac_need_defaults=false;;
17041   --header | --heade | --head | --hea )
17042     $ac_shift
17043     case $ac_optarg in
17044     *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
17045     esac
17046     as_fn_append CONFIG_HEADERS " '$ac_optarg'"
17047     ac_need_defaults=false;;
17048   --he | --h)
17049     # Conflict between --help and --header
17050     as_fn_error $? "ambiguous option: \`$1'
17051 Try \`$0 --help' for more information.";;
17052   --help | --hel | -h )
17053     $as_echo "$ac_cs_usage"; exit ;;
17054   -q | -quiet | --quiet | --quie | --qui | --qu | --q \
17055   | -silent | --silent | --silen | --sile | --sil | --si | --s)
17056     ac_cs_silent=: ;;
17057
17058   # This is an error.
17059   -*) as_fn_error $? "unrecognized option: \`$1'
17060 Try \`$0 --help' for more information." ;;
17061
17062   *) as_fn_append ac_config_targets " $1"
17063      ac_need_defaults=false ;;
17064
17065   esac
17066   shift
17067 done
17068
17069 ac_configure_extra_args=
17070
17071 if $ac_cs_silent; then
17072   exec 6>/dev/null
17073   ac_configure_extra_args="$ac_configure_extra_args --silent"
17074 fi
17075
17076 _ACEOF
17077 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
17078 if \$ac_cs_recheck; then
17079   set X $SHELL '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
17080   shift
17081   \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6
17082   CONFIG_SHELL='$SHELL'
17083   export CONFIG_SHELL
17084   exec "\$@"
17085 fi
17086
17087 _ACEOF
17088 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
17089 exec 5>>config.log
17090 {
17091   echo
17092   sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
17093 ## Running $as_me. ##
17094 _ASBOX
17095   $as_echo "$ac_log"
17096 } >&5
17097
17098 _ACEOF
17099 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
17100 #
17101 # INIT-COMMANDS
17102 #
17103 AMDEP_TRUE="$AMDEP_TRUE" ac_aux_dir="$ac_aux_dir"
17104
17105
17106 # The HP-UX ksh and POSIX shell print the target directory to stdout
17107 # if CDPATH is set.
17108 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
17109
17110 sed_quote_subst='$sed_quote_subst'
17111 double_quote_subst='$double_quote_subst'
17112 delay_variable_subst='$delay_variable_subst'
17113 enable_static='`$ECHO "$enable_static" | $SED "$delay_single_quote_subst"`'
17114 AS='`$ECHO "$AS" | $SED "$delay_single_quote_subst"`'
17115 DLLTOOL='`$ECHO "$DLLTOOL" | $SED "$delay_single_quote_subst"`'
17116 OBJDUMP='`$ECHO "$OBJDUMP" | $SED "$delay_single_quote_subst"`'
17117 macro_version='`$ECHO "$macro_version" | $SED "$delay_single_quote_subst"`'
17118 macro_revision='`$ECHO "$macro_revision" | $SED "$delay_single_quote_subst"`'
17119 enable_shared='`$ECHO "$enable_shared" | $SED "$delay_single_quote_subst"`'
17120 pic_mode='`$ECHO "$pic_mode" | $SED "$delay_single_quote_subst"`'
17121 enable_fast_install='`$ECHO "$enable_fast_install" | $SED "$delay_single_quote_subst"`'
17122 SHELL='`$ECHO "$SHELL" | $SED "$delay_single_quote_subst"`'
17123 ECHO='`$ECHO "$ECHO" | $SED "$delay_single_quote_subst"`'
17124 PATH_SEPARATOR='`$ECHO "$PATH_SEPARATOR" | $SED "$delay_single_quote_subst"`'
17125 host_alias='`$ECHO "$host_alias" | $SED "$delay_single_quote_subst"`'
17126 host='`$ECHO "$host" | $SED "$delay_single_quote_subst"`'
17127 host_os='`$ECHO "$host_os" | $SED "$delay_single_quote_subst"`'
17128 build_alias='`$ECHO "$build_alias" | $SED "$delay_single_quote_subst"`'
17129 build='`$ECHO "$build" | $SED "$delay_single_quote_subst"`'
17130 build_os='`$ECHO "$build_os" | $SED "$delay_single_quote_subst"`'
17131 SED='`$ECHO "$SED" | $SED "$delay_single_quote_subst"`'
17132 Xsed='`$ECHO "$Xsed" | $SED "$delay_single_quote_subst"`'
17133 GREP='`$ECHO "$GREP" | $SED "$delay_single_quote_subst"`'
17134 EGREP='`$ECHO "$EGREP" | $SED "$delay_single_quote_subst"`'
17135 FGREP='`$ECHO "$FGREP" | $SED "$delay_single_quote_subst"`'
17136 LD='`$ECHO "$LD" | $SED "$delay_single_quote_subst"`'
17137 NM='`$ECHO "$NM" | $SED "$delay_single_quote_subst"`'
17138 LN_S='`$ECHO "$LN_S" | $SED "$delay_single_quote_subst"`'
17139 max_cmd_len='`$ECHO "$max_cmd_len" | $SED "$delay_single_quote_subst"`'
17140 ac_objext='`$ECHO "$ac_objext" | $SED "$delay_single_quote_subst"`'
17141 exeext='`$ECHO "$exeext" | $SED "$delay_single_quote_subst"`'
17142 lt_unset='`$ECHO "$lt_unset" | $SED "$delay_single_quote_subst"`'
17143 lt_SP2NL='`$ECHO "$lt_SP2NL" | $SED "$delay_single_quote_subst"`'
17144 lt_NL2SP='`$ECHO "$lt_NL2SP" | $SED "$delay_single_quote_subst"`'
17145 lt_cv_to_host_file_cmd='`$ECHO "$lt_cv_to_host_file_cmd" | $SED "$delay_single_quote_subst"`'
17146 lt_cv_to_tool_file_cmd='`$ECHO "$lt_cv_to_tool_file_cmd" | $SED "$delay_single_quote_subst"`'
17147 reload_flag='`$ECHO "$reload_flag" | $SED "$delay_single_quote_subst"`'
17148 reload_cmds='`$ECHO "$reload_cmds" | $SED "$delay_single_quote_subst"`'
17149 deplibs_check_method='`$ECHO "$deplibs_check_method" | $SED "$delay_single_quote_subst"`'
17150 file_magic_cmd='`$ECHO "$file_magic_cmd" | $SED "$delay_single_quote_subst"`'
17151 file_magic_glob='`$ECHO "$file_magic_glob" | $SED "$delay_single_quote_subst"`'
17152 want_nocaseglob='`$ECHO "$want_nocaseglob" | $SED "$delay_single_quote_subst"`'
17153 sharedlib_from_linklib_cmd='`$ECHO "$sharedlib_from_linklib_cmd" | $SED "$delay_single_quote_subst"`'
17154 AR='`$ECHO "$AR" | $SED "$delay_single_quote_subst"`'
17155 AR_FLAGS='`$ECHO "$AR_FLAGS" | $SED "$delay_single_quote_subst"`'
17156 archiver_list_spec='`$ECHO "$archiver_list_spec" | $SED "$delay_single_quote_subst"`'
17157 STRIP='`$ECHO "$STRIP" | $SED "$delay_single_quote_subst"`'
17158 RANLIB='`$ECHO "$RANLIB" | $SED "$delay_single_quote_subst"`'
17159 old_postinstall_cmds='`$ECHO "$old_postinstall_cmds" | $SED "$delay_single_quote_subst"`'
17160 old_postuninstall_cmds='`$ECHO "$old_postuninstall_cmds" | $SED "$delay_single_quote_subst"`'
17161 old_archive_cmds='`$ECHO "$old_archive_cmds" | $SED "$delay_single_quote_subst"`'
17162 lock_old_archive_extraction='`$ECHO "$lock_old_archive_extraction" | $SED "$delay_single_quote_subst"`'
17163 CC='`$ECHO "$CC" | $SED "$delay_single_quote_subst"`'
17164 CFLAGS='`$ECHO "$CFLAGS" | $SED "$delay_single_quote_subst"`'
17165 compiler='`$ECHO "$compiler" | $SED "$delay_single_quote_subst"`'
17166 GCC='`$ECHO "$GCC" | $SED "$delay_single_quote_subst"`'
17167 lt_cv_sys_global_symbol_pipe='`$ECHO "$lt_cv_sys_global_symbol_pipe" | $SED "$delay_single_quote_subst"`'
17168 lt_cv_sys_global_symbol_to_cdecl='`$ECHO "$lt_cv_sys_global_symbol_to_cdecl" | $SED "$delay_single_quote_subst"`'
17169 lt_cv_sys_global_symbol_to_c_name_address='`$ECHO "$lt_cv_sys_global_symbol_to_c_name_address" | $SED "$delay_single_quote_subst"`'
17170 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"`'
17171 nm_file_list_spec='`$ECHO "$nm_file_list_spec" | $SED "$delay_single_quote_subst"`'
17172 lt_sysroot='`$ECHO "$lt_sysroot" | $SED "$delay_single_quote_subst"`'
17173 objdir='`$ECHO "$objdir" | $SED "$delay_single_quote_subst"`'
17174 MAGIC_CMD='`$ECHO "$MAGIC_CMD" | $SED "$delay_single_quote_subst"`'
17175 lt_prog_compiler_no_builtin_flag='`$ECHO "$lt_prog_compiler_no_builtin_flag" | $SED "$delay_single_quote_subst"`'
17176 lt_prog_compiler_pic='`$ECHO "$lt_prog_compiler_pic" | $SED "$delay_single_quote_subst"`'
17177 lt_prog_compiler_wl='`$ECHO "$lt_prog_compiler_wl" | $SED "$delay_single_quote_subst"`'
17178 lt_prog_compiler_static='`$ECHO "$lt_prog_compiler_static" | $SED "$delay_single_quote_subst"`'
17179 lt_cv_prog_compiler_c_o='`$ECHO "$lt_cv_prog_compiler_c_o" | $SED "$delay_single_quote_subst"`'
17180 need_locks='`$ECHO "$need_locks" | $SED "$delay_single_quote_subst"`'
17181 MANIFEST_TOOL='`$ECHO "$MANIFEST_TOOL" | $SED "$delay_single_quote_subst"`'
17182 DSYMUTIL='`$ECHO "$DSYMUTIL" | $SED "$delay_single_quote_subst"`'
17183 NMEDIT='`$ECHO "$NMEDIT" | $SED "$delay_single_quote_subst"`'
17184 LIPO='`$ECHO "$LIPO" | $SED "$delay_single_quote_subst"`'
17185 OTOOL='`$ECHO "$OTOOL" | $SED "$delay_single_quote_subst"`'
17186 OTOOL64='`$ECHO "$OTOOL64" | $SED "$delay_single_quote_subst"`'
17187 libext='`$ECHO "$libext" | $SED "$delay_single_quote_subst"`'
17188 shrext_cmds='`$ECHO "$shrext_cmds" | $SED "$delay_single_quote_subst"`'
17189 extract_expsyms_cmds='`$ECHO "$extract_expsyms_cmds" | $SED "$delay_single_quote_subst"`'
17190 archive_cmds_need_lc='`$ECHO "$archive_cmds_need_lc" | $SED "$delay_single_quote_subst"`'
17191 enable_shared_with_static_runtimes='`$ECHO "$enable_shared_with_static_runtimes" | $SED "$delay_single_quote_subst"`'
17192 export_dynamic_flag_spec='`$ECHO "$export_dynamic_flag_spec" | $SED "$delay_single_quote_subst"`'
17193 whole_archive_flag_spec='`$ECHO "$whole_archive_flag_spec" | $SED "$delay_single_quote_subst"`'
17194 compiler_needs_object='`$ECHO "$compiler_needs_object" | $SED "$delay_single_quote_subst"`'
17195 old_archive_from_new_cmds='`$ECHO "$old_archive_from_new_cmds" | $SED "$delay_single_quote_subst"`'
17196 old_archive_from_expsyms_cmds='`$ECHO "$old_archive_from_expsyms_cmds" | $SED "$delay_single_quote_subst"`'
17197 archive_cmds='`$ECHO "$archive_cmds" | $SED "$delay_single_quote_subst"`'
17198 archive_expsym_cmds='`$ECHO "$archive_expsym_cmds" | $SED "$delay_single_quote_subst"`'
17199 module_cmds='`$ECHO "$module_cmds" | $SED "$delay_single_quote_subst"`'
17200 module_expsym_cmds='`$ECHO "$module_expsym_cmds" | $SED "$delay_single_quote_subst"`'
17201 with_gnu_ld='`$ECHO "$with_gnu_ld" | $SED "$delay_single_quote_subst"`'
17202 allow_undefined_flag='`$ECHO "$allow_undefined_flag" | $SED "$delay_single_quote_subst"`'
17203 no_undefined_flag='`$ECHO "$no_undefined_flag" | $SED "$delay_single_quote_subst"`'
17204 hardcode_libdir_flag_spec='`$ECHO "$hardcode_libdir_flag_spec" | $SED "$delay_single_quote_subst"`'
17205 hardcode_libdir_separator='`$ECHO "$hardcode_libdir_separator" | $SED "$delay_single_quote_subst"`'
17206 hardcode_direct='`$ECHO "$hardcode_direct" | $SED "$delay_single_quote_subst"`'
17207 hardcode_direct_absolute='`$ECHO "$hardcode_direct_absolute" | $SED "$delay_single_quote_subst"`'
17208 hardcode_minus_L='`$ECHO "$hardcode_minus_L" | $SED "$delay_single_quote_subst"`'
17209 hardcode_shlibpath_var='`$ECHO "$hardcode_shlibpath_var" | $SED "$delay_single_quote_subst"`'
17210 hardcode_automatic='`$ECHO "$hardcode_automatic" | $SED "$delay_single_quote_subst"`'
17211 inherit_rpath='`$ECHO "$inherit_rpath" | $SED "$delay_single_quote_subst"`'
17212 link_all_deplibs='`$ECHO "$link_all_deplibs" | $SED "$delay_single_quote_subst"`'
17213 always_export_symbols='`$ECHO "$always_export_symbols" | $SED "$delay_single_quote_subst"`'
17214 export_symbols_cmds='`$ECHO "$export_symbols_cmds" | $SED "$delay_single_quote_subst"`'
17215 exclude_expsyms='`$ECHO "$exclude_expsyms" | $SED "$delay_single_quote_subst"`'
17216 include_expsyms='`$ECHO "$include_expsyms" | $SED "$delay_single_quote_subst"`'
17217 prelink_cmds='`$ECHO "$prelink_cmds" | $SED "$delay_single_quote_subst"`'
17218 postlink_cmds='`$ECHO "$postlink_cmds" | $SED "$delay_single_quote_subst"`'
17219 file_list_spec='`$ECHO "$file_list_spec" | $SED "$delay_single_quote_subst"`'
17220 variables_saved_for_relink='`$ECHO "$variables_saved_for_relink" | $SED "$delay_single_quote_subst"`'
17221 need_lib_prefix='`$ECHO "$need_lib_prefix" | $SED "$delay_single_quote_subst"`'
17222 need_version='`$ECHO "$need_version" | $SED "$delay_single_quote_subst"`'
17223 version_type='`$ECHO "$version_type" | $SED "$delay_single_quote_subst"`'
17224 runpath_var='`$ECHO "$runpath_var" | $SED "$delay_single_quote_subst"`'
17225 shlibpath_var='`$ECHO "$shlibpath_var" | $SED "$delay_single_quote_subst"`'
17226 shlibpath_overrides_runpath='`$ECHO "$shlibpath_overrides_runpath" | $SED "$delay_single_quote_subst"`'
17227 libname_spec='`$ECHO "$libname_spec" | $SED "$delay_single_quote_subst"`'
17228 library_names_spec='`$ECHO "$library_names_spec" | $SED "$delay_single_quote_subst"`'
17229 soname_spec='`$ECHO "$soname_spec" | $SED "$delay_single_quote_subst"`'
17230 install_override_mode='`$ECHO "$install_override_mode" | $SED "$delay_single_quote_subst"`'
17231 postinstall_cmds='`$ECHO "$postinstall_cmds" | $SED "$delay_single_quote_subst"`'
17232 postuninstall_cmds='`$ECHO "$postuninstall_cmds" | $SED "$delay_single_quote_subst"`'
17233 finish_cmds='`$ECHO "$finish_cmds" | $SED "$delay_single_quote_subst"`'
17234 finish_eval='`$ECHO "$finish_eval" | $SED "$delay_single_quote_subst"`'
17235 hardcode_into_libs='`$ECHO "$hardcode_into_libs" | $SED "$delay_single_quote_subst"`'
17236 sys_lib_search_path_spec='`$ECHO "$sys_lib_search_path_spec" | $SED "$delay_single_quote_subst"`'
17237 sys_lib_dlsearch_path_spec='`$ECHO "$sys_lib_dlsearch_path_spec" | $SED "$delay_single_quote_subst"`'
17238 hardcode_action='`$ECHO "$hardcode_action" | $SED "$delay_single_quote_subst"`'
17239 enable_dlopen='`$ECHO "$enable_dlopen" | $SED "$delay_single_quote_subst"`'
17240 enable_dlopen_self='`$ECHO "$enable_dlopen_self" | $SED "$delay_single_quote_subst"`'
17241 enable_dlopen_self_static='`$ECHO "$enable_dlopen_self_static" | $SED "$delay_single_quote_subst"`'
17242 old_striplib='`$ECHO "$old_striplib" | $SED "$delay_single_quote_subst"`'
17243 striplib='`$ECHO "$striplib" | $SED "$delay_single_quote_subst"`'
17244
17245 LTCC='$LTCC'
17246 LTCFLAGS='$LTCFLAGS'
17247 compiler='$compiler_DEFAULT'
17248
17249 # A function that is used when there is no print builtin or printf.
17250 func_fallback_echo ()
17251 {
17252   eval 'cat <<_LTECHO_EOF
17253 \$1
17254 _LTECHO_EOF'
17255 }
17256
17257 # Quote evaled strings.
17258 for var in AS \
17259 DLLTOOL \
17260 OBJDUMP \
17261 SHELL \
17262 ECHO \
17263 PATH_SEPARATOR \
17264 SED \
17265 GREP \
17266 EGREP \
17267 FGREP \
17268 LD \
17269 NM \
17270 LN_S \
17271 lt_SP2NL \
17272 lt_NL2SP \
17273 reload_flag \
17274 deplibs_check_method \
17275 file_magic_cmd \
17276 file_magic_glob \
17277 want_nocaseglob \
17278 sharedlib_from_linklib_cmd \
17279 AR \
17280 AR_FLAGS \
17281 archiver_list_spec \
17282 STRIP \
17283 RANLIB \
17284 CC \
17285 CFLAGS \
17286 compiler \
17287 lt_cv_sys_global_symbol_pipe \
17288 lt_cv_sys_global_symbol_to_cdecl \
17289 lt_cv_sys_global_symbol_to_c_name_address \
17290 lt_cv_sys_global_symbol_to_c_name_address_lib_prefix \
17291 nm_file_list_spec \
17292 lt_prog_compiler_no_builtin_flag \
17293 lt_prog_compiler_pic \
17294 lt_prog_compiler_wl \
17295 lt_prog_compiler_static \
17296 lt_cv_prog_compiler_c_o \
17297 need_locks \
17298 MANIFEST_TOOL \
17299 DSYMUTIL \
17300 NMEDIT \
17301 LIPO \
17302 OTOOL \
17303 OTOOL64 \
17304 shrext_cmds \
17305 export_dynamic_flag_spec \
17306 whole_archive_flag_spec \
17307 compiler_needs_object \
17308 with_gnu_ld \
17309 allow_undefined_flag \
17310 no_undefined_flag \
17311 hardcode_libdir_flag_spec \
17312 hardcode_libdir_separator \
17313 exclude_expsyms \
17314 include_expsyms \
17315 file_list_spec \
17316 variables_saved_for_relink \
17317 libname_spec \
17318 library_names_spec \
17319 soname_spec \
17320 install_override_mode \
17321 finish_eval \
17322 old_striplib \
17323 striplib; do
17324     case \`eval \\\\\$ECHO \\\\""\\\\\$\$var"\\\\"\` in
17325     *[\\\\\\\`\\"\\\$]*)
17326       eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"\\\$\$var\\" | \\\$SED \\"\\\$sed_quote_subst\\"\\\`\\\\\\""
17327       ;;
17328     *)
17329       eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
17330       ;;
17331     esac
17332 done
17333
17334 # Double-quote double-evaled strings.
17335 for var in reload_cmds \
17336 old_postinstall_cmds \
17337 old_postuninstall_cmds \
17338 old_archive_cmds \
17339 extract_expsyms_cmds \
17340 old_archive_from_new_cmds \
17341 old_archive_from_expsyms_cmds \
17342 archive_cmds \
17343 archive_expsym_cmds \
17344 module_cmds \
17345 module_expsym_cmds \
17346 export_symbols_cmds \
17347 prelink_cmds \
17348 postlink_cmds \
17349 postinstall_cmds \
17350 postuninstall_cmds \
17351 finish_cmds \
17352 sys_lib_search_path_spec \
17353 sys_lib_dlsearch_path_spec; do
17354     case \`eval \\\\\$ECHO \\\\""\\\\\$\$var"\\\\"\` in
17355     *[\\\\\\\`\\"\\\$]*)
17356       eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"\\\$\$var\\" | \\\$SED -e \\"\\\$double_quote_subst\\" -e \\"\\\$sed_quote_subst\\" -e \\"\\\$delay_variable_subst\\"\\\`\\\\\\""
17357       ;;
17358     *)
17359       eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
17360       ;;
17361     esac
17362 done
17363
17364 ac_aux_dir='$ac_aux_dir'
17365 xsi_shell='$xsi_shell'
17366 lt_shell_append='$lt_shell_append'
17367
17368 # See if we are running on zsh, and set the options which allow our
17369 # commands through without removal of \ escapes INIT.
17370 if test -n "\${ZSH_VERSION+set}" ; then
17371    setopt NO_GLOB_SUBST
17372 fi
17373
17374
17375     PACKAGE='$PACKAGE'
17376     VERSION='$VERSION'
17377     TIMESTAMP='$TIMESTAMP'
17378     RM='$RM'
17379     ofile='$ofile'
17380
17381 ac_aux_dir='$ac_aux_dir'
17382
17383
17384
17385 _ACEOF
17386
17387 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
17388
17389 # Handling of arguments.
17390 for ac_config_target in $ac_config_targets
17391 do
17392   case $ac_config_target in
17393     "config.h") CONFIG_HEADERS="$CONFIG_HEADERS config.h" ;;
17394     "depfiles") CONFIG_COMMANDS="$CONFIG_COMMANDS depfiles" ;;
17395     "libtool") CONFIG_COMMANDS="$CONFIG_COMMANDS libtool" ;;
17396     "Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;;
17397     "pygobject-3.0.pc") CONFIG_FILES="$CONFIG_FILES pygobject-3.0.pc" ;;
17398     "pygobject-3.0-uninstalled.pc") CONFIG_FILES="$CONFIG_FILES pygobject-3.0-uninstalled.pc" ;;
17399     "gi/Makefile") CONFIG_FILES="$CONFIG_FILES gi/Makefile" ;;
17400     "gi/repository/Makefile") CONFIG_FILES="$CONFIG_FILES gi/repository/Makefile" ;;
17401     "gi/overrides/Makefile") CONFIG_FILES="$CONFIG_FILES gi/overrides/Makefile" ;;
17402     "gi/_glib/Makefile") CONFIG_FILES="$CONFIG_FILES gi/_glib/Makefile" ;;
17403     "gi/_gobject/Makefile") CONFIG_FILES="$CONFIG_FILES gi/_gobject/Makefile" ;;
17404     "examples/Makefile") CONFIG_FILES="$CONFIG_FILES examples/Makefile" ;;
17405     "tests/Makefile") CONFIG_FILES="$CONFIG_FILES tests/Makefile" ;;
17406     "PKG-INFO") CONFIG_FILES="$CONFIG_FILES PKG-INFO" ;;
17407
17408   *) as_fn_error $? "invalid argument: \`$ac_config_target'" "$LINENO" 5;;
17409   esac
17410 done
17411
17412
17413 # If the user did not use the arguments to specify the items to instantiate,
17414 # then the envvar interface is used.  Set only those that are not.
17415 # We use the long form for the default assignment because of an extremely
17416 # bizarre bug on SunOS 4.1.3.
17417 if $ac_need_defaults; then
17418   test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
17419   test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS=$config_headers
17420   test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS=$config_commands
17421 fi
17422
17423 # Have a temporary directory for convenience.  Make it in the build tree
17424 # simply because there is no reason against having it here, and in addition,
17425 # creating and moving files from /tmp can sometimes cause problems.
17426 # Hook for its removal unless debugging.
17427 # Note that there is a small window in which the directory will not be cleaned:
17428 # after its creation but before its name has been assigned to `$tmp'.
17429 $debug ||
17430 {
17431   tmp= ac_tmp=
17432   trap 'exit_status=$?
17433   : "${ac_tmp:=$tmp}"
17434   { test ! -d "$ac_tmp" || rm -fr "$ac_tmp"; } && exit $exit_status
17435 ' 0
17436   trap 'as_fn_exit 1' 1 2 13 15
17437 }
17438 # Create a (secure) tmp directory for tmp files.
17439
17440 {
17441   tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
17442   test -d "$tmp"
17443 }  ||
17444 {
17445   tmp=./conf$$-$RANDOM
17446   (umask 077 && mkdir "$tmp")
17447 } || as_fn_error $? "cannot create a temporary directory in ." "$LINENO" 5
17448 ac_tmp=$tmp
17449
17450 # Set up the scripts for CONFIG_FILES section.
17451 # No need to generate them if there are no CONFIG_FILES.
17452 # This happens for instance with `./config.status config.h'.
17453 if test -n "$CONFIG_FILES"; then
17454
17455
17456 ac_cr=`echo X | tr X '\015'`
17457 # On cygwin, bash can eat \r inside `` if the user requested igncr.
17458 # But we know of no other shell where ac_cr would be empty at this
17459 # point, so we can use a bashism as a fallback.
17460 if test "x$ac_cr" = x; then
17461   eval ac_cr=\$\'\\r\'
17462 fi
17463 ac_cs_awk_cr=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
17464 if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
17465   ac_cs_awk_cr='\\r'
17466 else
17467   ac_cs_awk_cr=$ac_cr
17468 fi
17469
17470 echo 'BEGIN {' >"$ac_tmp/subs1.awk" &&
17471 _ACEOF
17472
17473
17474 {
17475   echo "cat >conf$$subs.awk <<_ACEOF" &&
17476   echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
17477   echo "_ACEOF"
17478 } >conf$$subs.sh ||
17479   as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
17480 ac_delim_num=`echo "$ac_subst_vars" | grep -c '^'`
17481 ac_delim='%!_!# '
17482 for ac_last_try in false false false false false :; do
17483   . ./conf$$subs.sh ||
17484     as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
17485
17486   ac_delim_n=`sed -n "s/.*$ac_delim\$/X/p" conf$$subs.awk | grep -c X`
17487   if test $ac_delim_n = $ac_delim_num; then
17488     break
17489   elif $ac_last_try; then
17490     as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
17491   else
17492     ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
17493   fi
17494 done
17495 rm -f conf$$subs.sh
17496
17497 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
17498 cat >>"\$ac_tmp/subs1.awk" <<\\_ACAWK &&
17499 _ACEOF
17500 sed -n '
17501 h
17502 s/^/S["/; s/!.*/"]=/
17503 p
17504 g
17505 s/^[^!]*!//
17506 :repl
17507 t repl
17508 s/'"$ac_delim"'$//
17509 t delim
17510 :nl
17511 h
17512 s/\(.\{148\}\)..*/\1/
17513 t more1
17514 s/["\\]/\\&/g; s/^/"/; s/$/\\n"\\/
17515 p
17516 n
17517 b repl
17518 :more1
17519 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
17520 p
17521 g
17522 s/.\{148\}//
17523 t nl
17524 :delim
17525 h
17526 s/\(.\{148\}\)..*/\1/
17527 t more2
17528 s/["\\]/\\&/g; s/^/"/; s/$/"/
17529 p
17530 b
17531 :more2
17532 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
17533 p
17534 g
17535 s/.\{148\}//
17536 t delim
17537 ' <conf$$subs.awk | sed '
17538 /^[^""]/{
17539   N
17540   s/\n//
17541 }
17542 ' >>$CONFIG_STATUS || ac_write_fail=1
17543 rm -f conf$$subs.awk
17544 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
17545 _ACAWK
17546 cat >>"\$ac_tmp/subs1.awk" <<_ACAWK &&
17547   for (key in S) S_is_set[key] = 1
17548   FS = "\a"
17549
17550 }
17551 {
17552   line = $ 0
17553   nfields = split(line, field, "@")
17554   substed = 0
17555   len = length(field[1])
17556   for (i = 2; i < nfields; i++) {
17557     key = field[i]
17558     keylen = length(key)
17559     if (S_is_set[key]) {
17560       value = S[key]
17561       line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3)
17562       len += length(value) + length(field[++i])
17563       substed = 1
17564     } else
17565       len += 1 + keylen
17566   }
17567
17568   print line
17569 }
17570
17571 _ACAWK
17572 _ACEOF
17573 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
17574 if sed "s/$ac_cr//" < /dev/null > /dev/null 2>&1; then
17575   sed "s/$ac_cr\$//; s/$ac_cr/$ac_cs_awk_cr/g"
17576 else
17577   cat
17578 fi < "$ac_tmp/subs1.awk" > "$ac_tmp/subs.awk" \
17579   || as_fn_error $? "could not setup config files machinery" "$LINENO" 5
17580 _ACEOF
17581
17582 # VPATH may cause trouble with some makes, so we remove sole $(srcdir),
17583 # ${srcdir} and @srcdir@ entries from VPATH if srcdir is ".", strip leading and
17584 # trailing colons and then remove the whole line if VPATH becomes empty
17585 # (actually we leave an empty line to preserve line numbers).
17586 if test "x$srcdir" = x.; then
17587   ac_vpsub='/^[  ]*VPATH[        ]*=[    ]*/{
17588 h
17589 s///
17590 s/^/:/
17591 s/[      ]*$/:/
17592 s/:\$(srcdir):/:/g
17593 s/:\${srcdir}:/:/g
17594 s/:@srcdir@:/:/g
17595 s/^:*//
17596 s/:*$//
17597 x
17598 s/\(=[   ]*\).*/\1/
17599 G
17600 s/\n//
17601 s/^[^=]*=[       ]*$//
17602 }'
17603 fi
17604
17605 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
17606 fi # test -n "$CONFIG_FILES"
17607
17608 # Set up the scripts for CONFIG_HEADERS section.
17609 # No need to generate them if there are no CONFIG_HEADERS.
17610 # This happens for instance with `./config.status Makefile'.
17611 if test -n "$CONFIG_HEADERS"; then
17612 cat >"$ac_tmp/defines.awk" <<\_ACAWK ||
17613 BEGIN {
17614 _ACEOF
17615
17616 # Transform confdefs.h into an awk script `defines.awk', embedded as
17617 # here-document in config.status, that substitutes the proper values into
17618 # config.h.in to produce config.h.
17619
17620 # Create a delimiter string that does not exist in confdefs.h, to ease
17621 # handling of long lines.
17622 ac_delim='%!_!# '
17623 for ac_last_try in false false :; do
17624   ac_tt=`sed -n "/$ac_delim/p" confdefs.h`
17625   if test -z "$ac_tt"; then
17626     break
17627   elif $ac_last_try; then
17628     as_fn_error $? "could not make $CONFIG_HEADERS" "$LINENO" 5
17629   else
17630     ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
17631   fi
17632 done
17633
17634 # For the awk script, D is an array of macro values keyed by name,
17635 # likewise P contains macro parameters if any.  Preserve backslash
17636 # newline sequences.
17637
17638 ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]*
17639 sed -n '
17640 s/.\{148\}/&'"$ac_delim"'/g
17641 t rset
17642 :rset
17643 s/^[     ]*#[    ]*define[       ][      ]*/ /
17644 t def
17645 d
17646 :def
17647 s/\\$//
17648 t bsnl
17649 s/["\\]/\\&/g
17650 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[     ]*\(.*\)/P["\1"]="\2"\
17651 D["\1"]=" \3"/p
17652 s/^ \('"$ac_word_re"'\)[         ]*\(.*\)/D["\1"]=" \2"/p
17653 d
17654 :bsnl
17655 s/["\\]/\\&/g
17656 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[     ]*\(.*\)/P["\1"]="\2"\
17657 D["\1"]=" \3\\\\\\n"\\/p
17658 t cont
17659 s/^ \('"$ac_word_re"'\)[         ]*\(.*\)/D["\1"]=" \2\\\\\\n"\\/p
17660 t cont
17661 d
17662 :cont
17663 n
17664 s/.\{148\}/&'"$ac_delim"'/g
17665 t clear
17666 :clear
17667 s/\\$//
17668 t bsnlc
17669 s/["\\]/\\&/g; s/^/"/; s/$/"/p
17670 d
17671 :bsnlc
17672 s/["\\]/\\&/g; s/^/"/; s/$/\\\\\\n"\\/p
17673 b cont
17674 ' <confdefs.h | sed '
17675 s/'"$ac_delim"'/"\\\
17676 "/g' >>$CONFIG_STATUS || ac_write_fail=1
17677
17678 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
17679   for (key in D) D_is_set[key] = 1
17680   FS = "\a"
17681 }
17682 /^[\t ]*#[\t ]*(define|undef)[\t ]+$ac_word_re([\t (]|\$)/ {
17683   line = \$ 0
17684   split(line, arg, " ")
17685   if (arg[1] == "#") {
17686     defundef = arg[2]
17687     mac1 = arg[3]
17688   } else {
17689     defundef = substr(arg[1], 2)
17690     mac1 = arg[2]
17691   }
17692   split(mac1, mac2, "(") #)
17693   macro = mac2[1]
17694   prefix = substr(line, 1, index(line, defundef) - 1)
17695   if (D_is_set[macro]) {
17696     # Preserve the white space surrounding the "#".
17697     print prefix "define", macro P[macro] D[macro]
17698     next
17699   } else {
17700     # Replace #undef with comments.  This is necessary, for example,
17701     # in the case of _POSIX_SOURCE, which is predefined and required
17702     # on some systems where configure will not decide to define it.
17703     if (defundef == "undef") {
17704       print "/*", prefix defundef, macro, "*/"
17705       next
17706     }
17707   }
17708 }
17709 { print }
17710 _ACAWK
17711 _ACEOF
17712 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
17713   as_fn_error $? "could not setup config headers machinery" "$LINENO" 5
17714 fi # test -n "$CONFIG_HEADERS"
17715
17716
17717 eval set X "  :F $CONFIG_FILES  :H $CONFIG_HEADERS    :C $CONFIG_COMMANDS"
17718 shift
17719 for ac_tag
17720 do
17721   case $ac_tag in
17722   :[FHLC]) ac_mode=$ac_tag; continue;;
17723   esac
17724   case $ac_mode$ac_tag in
17725   :[FHL]*:*);;
17726   :L* | :C*:*) as_fn_error $? "invalid tag \`$ac_tag'" "$LINENO" 5;;
17727   :[FH]-) ac_tag=-:-;;
17728   :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
17729   esac
17730   ac_save_IFS=$IFS
17731   IFS=:
17732   set x $ac_tag
17733   IFS=$ac_save_IFS
17734   shift
17735   ac_file=$1
17736   shift
17737
17738   case $ac_mode in
17739   :L) ac_source=$1;;
17740   :[FH])
17741     ac_file_inputs=
17742     for ac_f
17743     do
17744       case $ac_f in
17745       -) ac_f="$ac_tmp/stdin";;
17746       *) # Look for the file first in the build tree, then in the source tree
17747          # (if the path is not absolute).  The absolute path cannot be DOS-style,
17748          # because $ac_f cannot contain `:'.
17749          test -f "$ac_f" ||
17750            case $ac_f in
17751            [\\/$]*) false;;
17752            *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
17753            esac ||
17754            as_fn_error 1 "cannot find input file: \`$ac_f'" "$LINENO" 5;;
17755       esac
17756       case $ac_f in *\'*) ac_f=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
17757       as_fn_append ac_file_inputs " '$ac_f'"
17758     done
17759
17760     # Let's still pretend it is `configure' which instantiates (i.e., don't
17761     # use $as_me), people would be surprised to read:
17762     #    /* config.h.  Generated by config.status.  */
17763     configure_input='Generated from '`
17764           $as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
17765         `' by configure.'
17766     if test x"$ac_file" != x-; then
17767       configure_input="$ac_file.  $configure_input"
17768       { $as_echo "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5
17769 $as_echo "$as_me: creating $ac_file" >&6;}
17770     fi
17771     # Neutralize special characters interpreted by sed in replacement strings.
17772     case $configure_input in #(
17773     *\&* | *\|* | *\\* )
17774        ac_sed_conf_input=`$as_echo "$configure_input" |
17775        sed 's/[\\\\&|]/\\\\&/g'`;; #(
17776     *) ac_sed_conf_input=$configure_input;;
17777     esac
17778
17779     case $ac_tag in
17780     *:-:* | *:-) cat >"$ac_tmp/stdin" \
17781       || as_fn_error $? "could not create $ac_file" "$LINENO" 5 ;;
17782     esac
17783     ;;
17784   esac
17785
17786   ac_dir=`$as_dirname -- "$ac_file" ||
17787 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
17788          X"$ac_file" : 'X\(//\)[^/]' \| \
17789          X"$ac_file" : 'X\(//\)$' \| \
17790          X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
17791 $as_echo X"$ac_file" |
17792     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
17793             s//\1/
17794             q
17795           }
17796           /^X\(\/\/\)[^/].*/{
17797             s//\1/
17798             q
17799           }
17800           /^X\(\/\/\)$/{
17801             s//\1/
17802             q
17803           }
17804           /^X\(\/\).*/{
17805             s//\1/
17806             q
17807           }
17808           s/.*/./; q'`
17809   as_dir="$ac_dir"; as_fn_mkdir_p
17810   ac_builddir=.
17811
17812 case "$ac_dir" in
17813 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
17814 *)
17815   ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
17816   # A ".." for each directory in $ac_dir_suffix.
17817   ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
17818   case $ac_top_builddir_sub in
17819   "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
17820   *)  ac_top_build_prefix=$ac_top_builddir_sub/ ;;
17821   esac ;;
17822 esac
17823 ac_abs_top_builddir=$ac_pwd
17824 ac_abs_builddir=$ac_pwd$ac_dir_suffix
17825 # for backward compatibility:
17826 ac_top_builddir=$ac_top_build_prefix
17827
17828 case $srcdir in
17829   .)  # We are building in place.
17830     ac_srcdir=.
17831     ac_top_srcdir=$ac_top_builddir_sub
17832     ac_abs_top_srcdir=$ac_pwd ;;
17833   [\\/]* | ?:[\\/]* )  # Absolute name.
17834     ac_srcdir=$srcdir$ac_dir_suffix;
17835     ac_top_srcdir=$srcdir
17836     ac_abs_top_srcdir=$srcdir ;;
17837   *) # Relative name.
17838     ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
17839     ac_top_srcdir=$ac_top_build_prefix$srcdir
17840     ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
17841 esac
17842 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
17843
17844
17845   case $ac_mode in
17846   :F)
17847   #
17848   # CONFIG_FILE
17849   #
17850
17851   case $INSTALL in
17852   [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
17853   *) ac_INSTALL=$ac_top_build_prefix$INSTALL ;;
17854   esac
17855   ac_MKDIR_P=$MKDIR_P
17856   case $MKDIR_P in
17857   [\\/$]* | ?:[\\/]* ) ;;
17858   */*) ac_MKDIR_P=$ac_top_build_prefix$MKDIR_P ;;
17859   esac
17860 _ACEOF
17861
17862 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
17863 # If the template does not know about datarootdir, expand it.
17864 # FIXME: This hack should be removed a few years after 2.60.
17865 ac_datarootdir_hack=; ac_datarootdir_seen=
17866 ac_sed_dataroot='
17867 /datarootdir/ {
17868   p
17869   q
17870 }
17871 /@datadir@/p
17872 /@docdir@/p
17873 /@infodir@/p
17874 /@localedir@/p
17875 /@mandir@/p'
17876 case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in
17877 *datarootdir*) ac_datarootdir_seen=yes;;
17878 *@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*)
17879   { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
17880 $as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
17881 _ACEOF
17882 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
17883   ac_datarootdir_hack='
17884   s&@datadir@&$datadir&g
17885   s&@docdir@&$docdir&g
17886   s&@infodir@&$infodir&g
17887   s&@localedir@&$localedir&g
17888   s&@mandir@&$mandir&g
17889   s&\\\${datarootdir}&$datarootdir&g' ;;
17890 esac
17891 _ACEOF
17892
17893 # Neutralize VPATH when `$srcdir' = `.'.
17894 # Shell code in configure.ac might set extrasub.
17895 # FIXME: do we really want to maintain this feature?
17896 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
17897 ac_sed_extra="$ac_vpsub
17898 $extrasub
17899 _ACEOF
17900 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
17901 :t
17902 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
17903 s|@configure_input@|$ac_sed_conf_input|;t t
17904 s&@top_builddir@&$ac_top_builddir_sub&;t t
17905 s&@top_build_prefix@&$ac_top_build_prefix&;t t
17906 s&@srcdir@&$ac_srcdir&;t t
17907 s&@abs_srcdir@&$ac_abs_srcdir&;t t
17908 s&@top_srcdir@&$ac_top_srcdir&;t t
17909 s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t
17910 s&@builddir@&$ac_builddir&;t t
17911 s&@abs_builddir@&$ac_abs_builddir&;t t
17912 s&@abs_top_builddir@&$ac_abs_top_builddir&;t t
17913 s&@INSTALL@&$ac_INSTALL&;t t
17914 s&@MKDIR_P@&$ac_MKDIR_P&;t t
17915 $ac_datarootdir_hack
17916 "
17917 eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$ac_tmp/subs.awk" \
17918   >$ac_tmp/out || as_fn_error $? "could not create $ac_file" "$LINENO" 5
17919
17920 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
17921   { ac_out=`sed -n '/\${datarootdir}/p' "$ac_tmp/out"`; test -n "$ac_out"; } &&
17922   { ac_out=`sed -n '/^[  ]*datarootdir[  ]*:*=/p' \
17923       "$ac_tmp/out"`; test -z "$ac_out"; } &&
17924   { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file contains a reference to the variable \`datarootdir'
17925 which seems to be undefined.  Please make sure it is defined" >&5
17926 $as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir'
17927 which seems to be undefined.  Please make sure it is defined" >&2;}
17928
17929   rm -f "$ac_tmp/stdin"
17930   case $ac_file in
17931   -) cat "$ac_tmp/out" && rm -f "$ac_tmp/out";;
17932   *) rm -f "$ac_file" && mv "$ac_tmp/out" "$ac_file";;
17933   esac \
17934   || as_fn_error $? "could not create $ac_file" "$LINENO" 5
17935  ;;
17936   :H)
17937   #
17938   # CONFIG_HEADER
17939   #
17940   if test x"$ac_file" != x-; then
17941     {
17942       $as_echo "/* $configure_input  */" \
17943       && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs"
17944     } >"$ac_tmp/config.h" \
17945       || as_fn_error $? "could not create $ac_file" "$LINENO" 5
17946     if diff "$ac_file" "$ac_tmp/config.h" >/dev/null 2>&1; then
17947       { $as_echo "$as_me:${as_lineno-$LINENO}: $ac_file is unchanged" >&5
17948 $as_echo "$as_me: $ac_file is unchanged" >&6;}
17949     else
17950       rm -f "$ac_file"
17951       mv "$ac_tmp/config.h" "$ac_file" \
17952         || as_fn_error $? "could not create $ac_file" "$LINENO" 5
17953     fi
17954   else
17955     $as_echo "/* $configure_input  */" \
17956       && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs" \
17957       || as_fn_error $? "could not create -" "$LINENO" 5
17958   fi
17959 # Compute "$ac_file"'s index in $config_headers.
17960 _am_arg="$ac_file"
17961 _am_stamp_count=1
17962 for _am_header in $config_headers :; do
17963   case $_am_header in
17964     $_am_arg | $_am_arg:* )
17965       break ;;
17966     * )
17967       _am_stamp_count=`expr $_am_stamp_count + 1` ;;
17968   esac
17969 done
17970 echo "timestamp for $_am_arg" >`$as_dirname -- "$_am_arg" ||
17971 $as_expr X"$_am_arg" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
17972          X"$_am_arg" : 'X\(//\)[^/]' \| \
17973          X"$_am_arg" : 'X\(//\)$' \| \
17974          X"$_am_arg" : 'X\(/\)' \| . 2>/dev/null ||
17975 $as_echo X"$_am_arg" |
17976     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
17977             s//\1/
17978             q
17979           }
17980           /^X\(\/\/\)[^/].*/{
17981             s//\1/
17982             q
17983           }
17984           /^X\(\/\/\)$/{
17985             s//\1/
17986             q
17987           }
17988           /^X\(\/\).*/{
17989             s//\1/
17990             q
17991           }
17992           s/.*/./; q'`/stamp-h$_am_stamp_count
17993  ;;
17994
17995   :C)  { $as_echo "$as_me:${as_lineno-$LINENO}: executing $ac_file commands" >&5
17996 $as_echo "$as_me: executing $ac_file commands" >&6;}
17997  ;;
17998   esac
17999
18000
18001   case $ac_file$ac_mode in
18002     "depfiles":C) test x"$AMDEP_TRUE" != x"" || {
18003   # Autoconf 2.62 quotes --file arguments for eval, but not when files
18004   # are listed without --file.  Let's play safe and only enable the eval
18005   # if we detect the quoting.
18006   case $CONFIG_FILES in
18007   *\'*) eval set x "$CONFIG_FILES" ;;
18008   *)   set x $CONFIG_FILES ;;
18009   esac
18010   shift
18011   for mf
18012   do
18013     # Strip MF so we end up with the name of the file.
18014     mf=`echo "$mf" | sed -e 's/:.*$//'`
18015     # Check whether this is an Automake generated Makefile or not.
18016     # We used to match only the files named `Makefile.in', but
18017     # some people rename them; so instead we look at the file content.
18018     # Grep'ing the first line is not enough: some people post-process
18019     # each Makefile.in and add a new line on top of each file to say so.
18020     # Grep'ing the whole file is not good either: AIX grep has a line
18021     # limit of 2048, but all sed's we know have understand at least 4000.
18022     if sed -n 's,^#.*generated by automake.*,X,p' "$mf" | grep X >/dev/null 2>&1; then
18023       dirpart=`$as_dirname -- "$mf" ||
18024 $as_expr X"$mf" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
18025          X"$mf" : 'X\(//\)[^/]' \| \
18026          X"$mf" : 'X\(//\)$' \| \
18027          X"$mf" : 'X\(/\)' \| . 2>/dev/null ||
18028 $as_echo X"$mf" |
18029     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
18030             s//\1/
18031             q
18032           }
18033           /^X\(\/\/\)[^/].*/{
18034             s//\1/
18035             q
18036           }
18037           /^X\(\/\/\)$/{
18038             s//\1/
18039             q
18040           }
18041           /^X\(\/\).*/{
18042             s//\1/
18043             q
18044           }
18045           s/.*/./; q'`
18046     else
18047       continue
18048     fi
18049     # Extract the definition of DEPDIR, am__include, and am__quote
18050     # from the Makefile without running `make'.
18051     DEPDIR=`sed -n 's/^DEPDIR = //p' < "$mf"`
18052     test -z "$DEPDIR" && continue
18053     am__include=`sed -n 's/^am__include = //p' < "$mf"`
18054     test -z "am__include" && continue
18055     am__quote=`sed -n 's/^am__quote = //p' < "$mf"`
18056     # When using ansi2knr, U may be empty or an underscore; expand it
18057     U=`sed -n 's/^U = //p' < "$mf"`
18058     # Find all dependency output files, they are included files with
18059     # $(DEPDIR) in their names.  We invoke sed twice because it is the
18060     # simplest approach to changing $(DEPDIR) to its actual value in the
18061     # expansion.
18062     for file in `sed -n "
18063       s/^$am__include $am__quote\(.*(DEPDIR).*\)$am__quote"'$/\1/p' <"$mf" | \
18064          sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g' -e 's/\$U/'"$U"'/g'`; do
18065       # Make sure the directory exists.
18066       test -f "$dirpart/$file" && continue
18067       fdir=`$as_dirname -- "$file" ||
18068 $as_expr X"$file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
18069          X"$file" : 'X\(//\)[^/]' \| \
18070          X"$file" : 'X\(//\)$' \| \
18071          X"$file" : 'X\(/\)' \| . 2>/dev/null ||
18072 $as_echo X"$file" |
18073     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
18074             s//\1/
18075             q
18076           }
18077           /^X\(\/\/\)[^/].*/{
18078             s//\1/
18079             q
18080           }
18081           /^X\(\/\/\)$/{
18082             s//\1/
18083             q
18084           }
18085           /^X\(\/\).*/{
18086             s//\1/
18087             q
18088           }
18089           s/.*/./; q'`
18090       as_dir=$dirpart/$fdir; as_fn_mkdir_p
18091       # echo "creating $dirpart/$file"
18092       echo '# dummy' > "$dirpart/$file"
18093     done
18094   done
18095 }
18096  ;;
18097     "libtool":C)
18098
18099     # See if we are running on zsh, and set the options which allow our
18100     # commands through without removal of \ escapes.
18101     if test -n "${ZSH_VERSION+set}" ; then
18102       setopt NO_GLOB_SUBST
18103     fi
18104
18105     cfgfile="${ofile}T"
18106     trap "$RM \"$cfgfile\"; exit 1" 1 2 15
18107     $RM "$cfgfile"
18108
18109     cat <<_LT_EOF >> "$cfgfile"
18110 #! $SHELL
18111
18112 # `$ECHO "$ofile" | sed 's%^.*/%%'` - Provide generalized library-building support services.
18113 # Generated automatically by $as_me ($PACKAGE$TIMESTAMP) $VERSION
18114 # Libtool was configured on host `(hostname || uname -n) 2>/dev/null | sed 1q`:
18115 # NOTE: Changes made to this file will be lost: look at ltmain.sh.
18116 #
18117 #   Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2003, 2004, 2005,
18118 #                 2006, 2007, 2008, 2009, 2010, 2011 Free Software
18119 #                 Foundation, Inc.
18120 #   Written by Gordon Matzigkeit, 1996
18121 #
18122 #   This file is part of GNU Libtool.
18123 #
18124 # GNU Libtool is free software; you can redistribute it and/or
18125 # modify it under the terms of the GNU General Public License as
18126 # published by the Free Software Foundation; either version 2 of
18127 # the License, or (at your option) any later version.
18128 #
18129 # As a special exception to the GNU General Public License,
18130 # if you distribute this file as part of a program or library that
18131 # is built using GNU Libtool, you may include this file under the
18132 # same distribution terms that you use for the rest of that program.
18133 #
18134 # GNU Libtool is distributed in the hope that it will be useful,
18135 # but WITHOUT ANY WARRANTY; without even the implied warranty of
18136 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
18137 # GNU General Public License for more details.
18138 #
18139 # You should have received a copy of the GNU General Public License
18140 # along with GNU Libtool; see the file COPYING.  If not, a copy
18141 # can be downloaded from http://www.gnu.org/licenses/gpl.html, or
18142 # obtained by writing to the Free Software Foundation, Inc.,
18143 # 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
18144
18145
18146 # The names of the tagged configurations supported by this script.
18147 available_tags=""
18148
18149 # ### BEGIN LIBTOOL CONFIG
18150
18151 # Whether or not to build static libraries.
18152 build_old_libs=$enable_static
18153
18154 # Assembler program.
18155 AS=$lt_AS
18156
18157 # DLL creation program.
18158 DLLTOOL=$lt_DLLTOOL
18159
18160 # Object dumper program.
18161 OBJDUMP=$lt_OBJDUMP
18162
18163 # Which release of libtool.m4 was used?
18164 macro_version=$macro_version
18165 macro_revision=$macro_revision
18166
18167 # Whether or not to build shared libraries.
18168 build_libtool_libs=$enable_shared
18169
18170 # What type of objects to build.
18171 pic_mode=$pic_mode
18172
18173 # Whether or not to optimize for fast installation.
18174 fast_install=$enable_fast_install
18175
18176 # Shell to use when invoking shell scripts.
18177 SHELL=$lt_SHELL
18178
18179 # An echo program that protects backslashes.
18180 ECHO=$lt_ECHO
18181
18182 # The PATH separator for the build system.
18183 PATH_SEPARATOR=$lt_PATH_SEPARATOR
18184
18185 # The host system.
18186 host_alias=$host_alias
18187 host=$host
18188 host_os=$host_os
18189
18190 # The build system.
18191 build_alias=$build_alias
18192 build=$build
18193 build_os=$build_os
18194
18195 # A sed program that does not truncate output.
18196 SED=$lt_SED
18197
18198 # Sed that helps us avoid accidentally triggering echo(1) options like -n.
18199 Xsed="\$SED -e 1s/^X//"
18200
18201 # A grep program that handles long lines.
18202 GREP=$lt_GREP
18203
18204 # An ERE matcher.
18205 EGREP=$lt_EGREP
18206
18207 # A literal string matcher.
18208 FGREP=$lt_FGREP
18209
18210 # A BSD- or MS-compatible name lister.
18211 NM=$lt_NM
18212
18213 # Whether we need soft or hard links.
18214 LN_S=$lt_LN_S
18215
18216 # What is the maximum length of a command?
18217 max_cmd_len=$max_cmd_len
18218
18219 # Object file suffix (normally "o").
18220 objext=$ac_objext
18221
18222 # Executable file suffix (normally "").
18223 exeext=$exeext
18224
18225 # whether the shell understands "unset".
18226 lt_unset=$lt_unset
18227
18228 # turn spaces into newlines.
18229 SP2NL=$lt_lt_SP2NL
18230
18231 # turn newlines into spaces.
18232 NL2SP=$lt_lt_NL2SP
18233
18234 # convert \$build file names to \$host format.
18235 to_host_file_cmd=$lt_cv_to_host_file_cmd
18236
18237 # convert \$build files to toolchain format.
18238 to_tool_file_cmd=$lt_cv_to_tool_file_cmd
18239
18240 # Method to check whether dependent libraries are shared objects.
18241 deplibs_check_method=$lt_deplibs_check_method
18242
18243 # Command to use when deplibs_check_method = "file_magic".
18244 file_magic_cmd=$lt_file_magic_cmd
18245
18246 # How to find potential files when deplibs_check_method = "file_magic".
18247 file_magic_glob=$lt_file_magic_glob
18248
18249 # Find potential files using nocaseglob when deplibs_check_method = "file_magic".
18250 want_nocaseglob=$lt_want_nocaseglob
18251
18252 # Command to associate shared and link libraries.
18253 sharedlib_from_linklib_cmd=$lt_sharedlib_from_linklib_cmd
18254
18255 # The archiver.
18256 AR=$lt_AR
18257
18258 # Flags to create an archive.
18259 AR_FLAGS=$lt_AR_FLAGS
18260
18261 # How to feed a file listing to the archiver.
18262 archiver_list_spec=$lt_archiver_list_spec
18263
18264 # A symbol stripping program.
18265 STRIP=$lt_STRIP
18266
18267 # Commands used to install an old-style archive.
18268 RANLIB=$lt_RANLIB
18269 old_postinstall_cmds=$lt_old_postinstall_cmds
18270 old_postuninstall_cmds=$lt_old_postuninstall_cmds
18271
18272 # Whether to use a lock for old archive extraction.
18273 lock_old_archive_extraction=$lock_old_archive_extraction
18274
18275 # A C compiler.
18276 LTCC=$lt_CC
18277
18278 # LTCC compiler flags.
18279 LTCFLAGS=$lt_CFLAGS
18280
18281 # Take the output of nm and produce a listing of raw symbols and C names.
18282 global_symbol_pipe=$lt_lt_cv_sys_global_symbol_pipe
18283
18284 # Transform the output of nm in a proper C declaration.
18285 global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl
18286
18287 # Transform the output of nm in a C name address pair.
18288 global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address
18289
18290 # Transform the output of nm in a C name address pair when lib prefix is needed.
18291 global_symbol_to_c_name_address_lib_prefix=$lt_lt_cv_sys_global_symbol_to_c_name_address_lib_prefix
18292
18293 # Specify filename containing input files for \$NM.
18294 nm_file_list_spec=$lt_nm_file_list_spec
18295
18296 # The root where to search for dependent libraries,and in which our libraries should be installed.
18297 lt_sysroot=$lt_sysroot
18298
18299 # The name of the directory that contains temporary libtool files.
18300 objdir=$objdir
18301
18302 # Used to examine libraries when file_magic_cmd begins with "file".
18303 MAGIC_CMD=$MAGIC_CMD
18304
18305 # Must we lock files when doing compilation?
18306 need_locks=$lt_need_locks
18307
18308 # Manifest tool.
18309 MANIFEST_TOOL=$lt_MANIFEST_TOOL
18310
18311 # Tool to manipulate archived DWARF debug symbol files on Mac OS X.
18312 DSYMUTIL=$lt_DSYMUTIL
18313
18314 # Tool to change global to local symbols on Mac OS X.
18315 NMEDIT=$lt_NMEDIT
18316
18317 # Tool to manipulate fat objects and archives on Mac OS X.
18318 LIPO=$lt_LIPO
18319
18320 # ldd/readelf like tool for Mach-O binaries on Mac OS X.
18321 OTOOL=$lt_OTOOL
18322
18323 # ldd/readelf like tool for 64 bit Mach-O binaries on Mac OS X 10.4.
18324 OTOOL64=$lt_OTOOL64
18325
18326 # Old archive suffix (normally "a").
18327 libext=$libext
18328
18329 # Shared library suffix (normally ".so").
18330 shrext_cmds=$lt_shrext_cmds
18331
18332 # The commands to extract the exported symbol list from a shared archive.
18333 extract_expsyms_cmds=$lt_extract_expsyms_cmds
18334
18335 # Variables whose values should be saved in libtool wrapper scripts and
18336 # restored at link time.
18337 variables_saved_for_relink=$lt_variables_saved_for_relink
18338
18339 # Do we need the "lib" prefix for modules?
18340 need_lib_prefix=$need_lib_prefix
18341
18342 # Do we need a version for libraries?
18343 need_version=$need_version
18344
18345 # Library versioning type.
18346 version_type=$version_type
18347
18348 # Shared library runtime path variable.
18349 runpath_var=$runpath_var
18350
18351 # Shared library path variable.
18352 shlibpath_var=$shlibpath_var
18353
18354 # Is shlibpath searched before the hard-coded library search path?
18355 shlibpath_overrides_runpath=$shlibpath_overrides_runpath
18356
18357 # Format of library name prefix.
18358 libname_spec=$lt_libname_spec
18359
18360 # List of archive names.  First name is the real one, the rest are links.
18361 # The last name is the one that the linker finds with -lNAME
18362 library_names_spec=$lt_library_names_spec
18363
18364 # The coded name of the library, if different from the real name.
18365 soname_spec=$lt_soname_spec
18366
18367 # Permission mode override for installation of shared libraries.
18368 install_override_mode=$lt_install_override_mode
18369
18370 # Command to use after installation of a shared archive.
18371 postinstall_cmds=$lt_postinstall_cmds
18372
18373 # Command to use after uninstallation of a shared archive.
18374 postuninstall_cmds=$lt_postuninstall_cmds
18375
18376 # Commands used to finish a libtool library installation in a directory.
18377 finish_cmds=$lt_finish_cmds
18378
18379 # As "finish_cmds", except a single script fragment to be evaled but
18380 # not shown.
18381 finish_eval=$lt_finish_eval
18382
18383 # Whether we should hardcode library paths into libraries.
18384 hardcode_into_libs=$hardcode_into_libs
18385
18386 # Compile-time system search path for libraries.
18387 sys_lib_search_path_spec=$lt_sys_lib_search_path_spec
18388
18389 # Run-time system search path for libraries.
18390 sys_lib_dlsearch_path_spec=$lt_sys_lib_dlsearch_path_spec
18391
18392 # Whether dlopen is supported.
18393 dlopen_support=$enable_dlopen
18394
18395 # Whether dlopen of programs is supported.
18396 dlopen_self=$enable_dlopen_self
18397
18398 # Whether dlopen of statically linked programs is supported.
18399 dlopen_self_static=$enable_dlopen_self_static
18400
18401 # Commands to strip libraries.
18402 old_striplib=$lt_old_striplib
18403 striplib=$lt_striplib
18404
18405
18406 # The linker used to build libraries.
18407 LD=$lt_LD
18408
18409 # How to create reloadable object files.
18410 reload_flag=$lt_reload_flag
18411 reload_cmds=$lt_reload_cmds
18412
18413 # Commands used to build an old-style archive.
18414 old_archive_cmds=$lt_old_archive_cmds
18415
18416 # A language specific compiler.
18417 CC=$lt_compiler
18418
18419 # Is the compiler the GNU compiler?
18420 with_gcc=$GCC
18421
18422 # Compiler flag to turn off builtin functions.
18423 no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag
18424
18425 # Additional compiler flags for building library objects.
18426 pic_flag=$lt_lt_prog_compiler_pic
18427
18428 # How to pass a linker flag through the compiler.
18429 wl=$lt_lt_prog_compiler_wl
18430
18431 # Compiler flag to prevent dynamic linking.
18432 link_static_flag=$lt_lt_prog_compiler_static
18433
18434 # Does compiler simultaneously support -c and -o options?
18435 compiler_c_o=$lt_lt_cv_prog_compiler_c_o
18436
18437 # Whether or not to add -lc for building shared libraries.
18438 build_libtool_need_lc=$archive_cmds_need_lc
18439
18440 # Whether or not to disallow shared libs when runtime libs are static.
18441 allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes
18442
18443 # Compiler flag to allow reflexive dlopens.
18444 export_dynamic_flag_spec=$lt_export_dynamic_flag_spec
18445
18446 # Compiler flag to generate shared objects directly from archives.
18447 whole_archive_flag_spec=$lt_whole_archive_flag_spec
18448
18449 # Whether the compiler copes with passing no objects directly.
18450 compiler_needs_object=$lt_compiler_needs_object
18451
18452 # Create an old-style archive from a shared archive.
18453 old_archive_from_new_cmds=$lt_old_archive_from_new_cmds
18454
18455 # Create a temporary old-style archive to link instead of a shared archive.
18456 old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds
18457
18458 # Commands used to build a shared archive.
18459 archive_cmds=$lt_archive_cmds
18460 archive_expsym_cmds=$lt_archive_expsym_cmds
18461
18462 # Commands used to build a loadable module if different from building
18463 # a shared archive.
18464 module_cmds=$lt_module_cmds
18465 module_expsym_cmds=$lt_module_expsym_cmds
18466
18467 # Whether we are building with GNU ld or not.
18468 with_gnu_ld=$lt_with_gnu_ld
18469
18470 # Flag that allows shared libraries with undefined symbols to be built.
18471 allow_undefined_flag=$lt_allow_undefined_flag
18472
18473 # Flag that enforces no undefined symbols.
18474 no_undefined_flag=$lt_no_undefined_flag
18475
18476 # Flag to hardcode \$libdir into a binary during linking.
18477 # This must work even if \$libdir does not exist
18478 hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec
18479
18480 # Whether we need a single "-rpath" flag with a separated argument.
18481 hardcode_libdir_separator=$lt_hardcode_libdir_separator
18482
18483 # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
18484 # DIR into the resulting binary.
18485 hardcode_direct=$hardcode_direct
18486
18487 # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
18488 # DIR into the resulting binary and the resulting library dependency is
18489 # "absolute",i.e impossible to change by setting \${shlibpath_var} if the
18490 # library is relocated.
18491 hardcode_direct_absolute=$hardcode_direct_absolute
18492
18493 # Set to "yes" if using the -LDIR flag during linking hardcodes DIR
18494 # into the resulting binary.
18495 hardcode_minus_L=$hardcode_minus_L
18496
18497 # Set to "yes" if using SHLIBPATH_VAR=DIR during linking hardcodes DIR
18498 # into the resulting binary.
18499 hardcode_shlibpath_var=$hardcode_shlibpath_var
18500
18501 # Set to "yes" if building a shared library automatically hardcodes DIR
18502 # into the library and all subsequent libraries and executables linked
18503 # against it.
18504 hardcode_automatic=$hardcode_automatic
18505
18506 # Set to yes if linker adds runtime paths of dependent libraries
18507 # to runtime path list.
18508 inherit_rpath=$inherit_rpath
18509
18510 # Whether libtool must link a program against all its dependency libraries.
18511 link_all_deplibs=$link_all_deplibs
18512
18513 # Set to "yes" if exported symbols are required.
18514 always_export_symbols=$always_export_symbols
18515
18516 # The commands to list exported symbols.
18517 export_symbols_cmds=$lt_export_symbols_cmds
18518
18519 # Symbols that should not be listed in the preloaded symbols.
18520 exclude_expsyms=$lt_exclude_expsyms
18521
18522 # Symbols that must always be exported.
18523 include_expsyms=$lt_include_expsyms
18524
18525 # Commands necessary for linking programs (against libraries) with templates.
18526 prelink_cmds=$lt_prelink_cmds
18527
18528 # Commands necessary for finishing linking programs.
18529 postlink_cmds=$lt_postlink_cmds
18530
18531 # Specify filename containing input files.
18532 file_list_spec=$lt_file_list_spec
18533
18534 # How to hardcode a shared library path into an executable.
18535 hardcode_action=$hardcode_action
18536
18537 # ### END LIBTOOL CONFIG
18538
18539 _LT_EOF
18540
18541   case $host_os in
18542   aix3*)
18543     cat <<\_LT_EOF >> "$cfgfile"
18544 # AIX sometimes has problems with the GCC collect2 program.  For some
18545 # reason, if we set the COLLECT_NAMES environment variable, the problems
18546 # vanish in a puff of smoke.
18547 if test "X${COLLECT_NAMES+set}" != Xset; then
18548   COLLECT_NAMES=
18549   export COLLECT_NAMES
18550 fi
18551 _LT_EOF
18552     ;;
18553   esac
18554
18555
18556 ltmain="$ac_aux_dir/ltmain.sh"
18557
18558
18559   # We use sed instead of cat because bash on DJGPP gets confused if
18560   # if finds mixed CR/LF and LF-only lines.  Since sed operates in
18561   # text mode, it properly converts lines to CR/LF.  This bash problem
18562   # is reportedly fixed, but why not run on old versions too?
18563   sed '$q' "$ltmain" >> "$cfgfile" \
18564      || (rm -f "$cfgfile"; exit 1)
18565
18566   if test x"$xsi_shell" = xyes; then
18567   sed -e '/^func_dirname ()$/,/^} # func_dirname /c\
18568 func_dirname ()\
18569 {\
18570 \    case ${1} in\
18571 \      */*) func_dirname_result="${1%/*}${2}" ;;\
18572 \      *  ) func_dirname_result="${3}" ;;\
18573 \    esac\
18574 } # Extended-shell func_dirname implementation' "$cfgfile" > $cfgfile.tmp \
18575   && mv -f "$cfgfile.tmp" "$cfgfile" \
18576     || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
18577 test 0 -eq $? || _lt_function_replace_fail=:
18578
18579
18580   sed -e '/^func_basename ()$/,/^} # func_basename /c\
18581 func_basename ()\
18582 {\
18583 \    func_basename_result="${1##*/}"\
18584 } # Extended-shell func_basename implementation' "$cfgfile" > $cfgfile.tmp \
18585   && mv -f "$cfgfile.tmp" "$cfgfile" \
18586     || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
18587 test 0 -eq $? || _lt_function_replace_fail=:
18588
18589
18590   sed -e '/^func_dirname_and_basename ()$/,/^} # func_dirname_and_basename /c\
18591 func_dirname_and_basename ()\
18592 {\
18593 \    case ${1} in\
18594 \      */*) func_dirname_result="${1%/*}${2}" ;;\
18595 \      *  ) func_dirname_result="${3}" ;;\
18596 \    esac\
18597 \    func_basename_result="${1##*/}"\
18598 } # Extended-shell func_dirname_and_basename implementation' "$cfgfile" > $cfgfile.tmp \
18599   && mv -f "$cfgfile.tmp" "$cfgfile" \
18600     || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
18601 test 0 -eq $? || _lt_function_replace_fail=:
18602
18603
18604   sed -e '/^func_stripname ()$/,/^} # func_stripname /c\
18605 func_stripname ()\
18606 {\
18607 \    # pdksh 5.2.14 does not do ${X%$Y} correctly if both X and Y are\
18608 \    # positional parameters, so assign one to ordinary parameter first.\
18609 \    func_stripname_result=${3}\
18610 \    func_stripname_result=${func_stripname_result#"${1}"}\
18611 \    func_stripname_result=${func_stripname_result%"${2}"}\
18612 } # Extended-shell func_stripname implementation' "$cfgfile" > $cfgfile.tmp \
18613   && mv -f "$cfgfile.tmp" "$cfgfile" \
18614     || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
18615 test 0 -eq $? || _lt_function_replace_fail=:
18616
18617
18618   sed -e '/^func_split_long_opt ()$/,/^} # func_split_long_opt /c\
18619 func_split_long_opt ()\
18620 {\
18621 \    func_split_long_opt_name=${1%%=*}\
18622 \    func_split_long_opt_arg=${1#*=}\
18623 } # Extended-shell func_split_long_opt implementation' "$cfgfile" > $cfgfile.tmp \
18624   && mv -f "$cfgfile.tmp" "$cfgfile" \
18625     || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
18626 test 0 -eq $? || _lt_function_replace_fail=:
18627
18628
18629   sed -e '/^func_split_short_opt ()$/,/^} # func_split_short_opt /c\
18630 func_split_short_opt ()\
18631 {\
18632 \    func_split_short_opt_arg=${1#??}\
18633 \    func_split_short_opt_name=${1%"$func_split_short_opt_arg"}\
18634 } # Extended-shell func_split_short_opt implementation' "$cfgfile" > $cfgfile.tmp \
18635   && mv -f "$cfgfile.tmp" "$cfgfile" \
18636     || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
18637 test 0 -eq $? || _lt_function_replace_fail=:
18638
18639
18640   sed -e '/^func_lo2o ()$/,/^} # func_lo2o /c\
18641 func_lo2o ()\
18642 {\
18643 \    case ${1} in\
18644 \      *.lo) func_lo2o_result=${1%.lo}.${objext} ;;\
18645 \      *)    func_lo2o_result=${1} ;;\
18646 \    esac\
18647 } # Extended-shell func_lo2o implementation' "$cfgfile" > $cfgfile.tmp \
18648   && mv -f "$cfgfile.tmp" "$cfgfile" \
18649     || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
18650 test 0 -eq $? || _lt_function_replace_fail=:
18651
18652
18653   sed -e '/^func_xform ()$/,/^} # func_xform /c\
18654 func_xform ()\
18655 {\
18656     func_xform_result=${1%.*}.lo\
18657 } # Extended-shell func_xform implementation' "$cfgfile" > $cfgfile.tmp \
18658   && mv -f "$cfgfile.tmp" "$cfgfile" \
18659     || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
18660 test 0 -eq $? || _lt_function_replace_fail=:
18661
18662
18663   sed -e '/^func_arith ()$/,/^} # func_arith /c\
18664 func_arith ()\
18665 {\
18666     func_arith_result=$(( $* ))\
18667 } # Extended-shell func_arith implementation' "$cfgfile" > $cfgfile.tmp \
18668   && mv -f "$cfgfile.tmp" "$cfgfile" \
18669     || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
18670 test 0 -eq $? || _lt_function_replace_fail=:
18671
18672
18673   sed -e '/^func_len ()$/,/^} # func_len /c\
18674 func_len ()\
18675 {\
18676     func_len_result=${#1}\
18677 } # Extended-shell func_len implementation' "$cfgfile" > $cfgfile.tmp \
18678   && mv -f "$cfgfile.tmp" "$cfgfile" \
18679     || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
18680 test 0 -eq $? || _lt_function_replace_fail=:
18681
18682 fi
18683
18684 if test x"$lt_shell_append" = xyes; then
18685   sed -e '/^func_append ()$/,/^} # func_append /c\
18686 func_append ()\
18687 {\
18688     eval "${1}+=\\${2}"\
18689 } # Extended-shell func_append implementation' "$cfgfile" > $cfgfile.tmp \
18690   && mv -f "$cfgfile.tmp" "$cfgfile" \
18691     || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
18692 test 0 -eq $? || _lt_function_replace_fail=:
18693
18694
18695   sed -e '/^func_append_quoted ()$/,/^} # func_append_quoted /c\
18696 func_append_quoted ()\
18697 {\
18698 \    func_quote_for_eval "${2}"\
18699 \    eval "${1}+=\\\\ \\$func_quote_for_eval_result"\
18700 } # Extended-shell func_append_quoted implementation' "$cfgfile" > $cfgfile.tmp \
18701   && mv -f "$cfgfile.tmp" "$cfgfile" \
18702     || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
18703 test 0 -eq $? || _lt_function_replace_fail=:
18704
18705
18706   # Save a `func_append' function call where possible by direct use of '+='
18707   sed -e 's%func_append \([a-zA-Z_]\{1,\}\) "%\1+="%g' $cfgfile > $cfgfile.tmp \
18708     && mv -f "$cfgfile.tmp" "$cfgfile" \
18709       || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
18710   test 0 -eq $? || _lt_function_replace_fail=:
18711 else
18712   # Save a `func_append' function call even when '+=' is not available
18713   sed -e 's%func_append \([a-zA-Z_]\{1,\}\) "%\1="$\1%g' $cfgfile > $cfgfile.tmp \
18714     && mv -f "$cfgfile.tmp" "$cfgfile" \
18715       || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
18716   test 0 -eq $? || _lt_function_replace_fail=:
18717 fi
18718
18719 if test x"$_lt_function_replace_fail" = x":"; then
18720   { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Unable to substitute extended shell functions in $ofile" >&5
18721 $as_echo "$as_me: WARNING: Unable to substitute extended shell functions in $ofile" >&2;}
18722 fi
18723
18724
18725    mv -f "$cfgfile" "$ofile" ||
18726     (rm -f "$ofile" && cp "$cfgfile" "$ofile" && rm -f "$cfgfile")
18727   chmod +x "$ofile"
18728
18729  ;;
18730
18731   esac
18732 done # for ac_tag
18733
18734
18735 as_fn_exit 0
18736 _ACEOF
18737 ac_clean_files=$ac_clean_files_save
18738
18739 test $ac_write_fail = 0 ||
18740   as_fn_error $? "write failure creating $CONFIG_STATUS" "$LINENO" 5
18741
18742
18743 # configure is writing to config.log, and then calls config.status.
18744 # config.status does its own redirection, appending to config.log.
18745 # Unfortunately, on DOS this fails, as config.log is still kept open
18746 # by configure, so config.status won't be able to write to it; its
18747 # output is simply discarded.  So we exec the FD to /dev/null,
18748 # effectively closing config.log, so it can be properly (re)opened and
18749 # appended to by config.status.  When coming back to configure, we
18750 # need to make the FD available again.
18751 if test "$no_create" != yes; then
18752   ac_cs_success=:
18753   ac_config_status_args=
18754   test "$silent" = yes &&
18755     ac_config_status_args="$ac_config_status_args --quiet"
18756   exec 5>/dev/null
18757   $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
18758   exec 5>>config.log
18759   # Use ||, not &&, to avoid exiting from the if with $? = 1, which
18760   # would make configure fail if this is the last instruction.
18761   $ac_cs_success || as_fn_exit 1
18762 fi
18763 if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no; then
18764   { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
18765 $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}
18766 fi
18767
18768
18769 echo
18770 echo "libffi support: $have_libffi"
18771 echo