2 # Guess values for system-dependent variables and create Makefiles.
3 # Generated by GNU Autoconf 2.69 for pygobject 3.3.3.1.
5 # Report bugs to <http://bugzilla.gnome.org/enter_bug.cgi?product=pygobject>.
8 # Copyright (C) 1992-1996, 1998-2012 Free Software Foundation, Inc.
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 ## -------------------- ##
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 :
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+"$@"}'='"$@"'
27 case `(set -o) 2>/dev/null` in #(
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
48 as_echo_n='print -rn --'
49 elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
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'
57 as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
62 expr "X$arg" : "X\\(.*\\)$as_nl";
63 arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
65 expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
68 as_echo_n='sh -c $as_echo_n_body as_echo'
71 as_echo='sh -c $as_echo_body as_echo'
74 # The user is always right.
75 if test "${PATH_SEPARATOR+set}" != set; then
77 (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
78 (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
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.)
91 # Find who we are. Look in the path if we contain no directory separator.
94 *[\\/]* ) as_myself=$0 ;;
95 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
99 test -z "$as_dir" && as_dir=.
100 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
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
111 if test ! -f "$as_myself"; then
112 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
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 || :
135 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
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.
147 (unset BASH_ENV) >/dev/null 2>&1 && unset BASH_ENV ENV
149 *v*x* | *x*v* ) as_opts=-vx ;;
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
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 :
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+\"\$@\"}'='\"\$@\"'
171 case \`(set -o) 2>/dev/null\` in #(
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; }
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 :
193 exitcode=1; echo positional parameters were not saved.
195 test x\$exitcode = x0 || 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
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 :
215 if test x$as_have_required = xyes && (eval "$as_suggested") 2>/dev/null; then :
218 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
220 for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
223 test -z "$as_dir" && as_dir=.
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 :
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
248 if test "x$CONFIG_SHELL" != x; then :
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.
256 (unset BASH_ENV) >/dev/null 2>&1 && unset BASH_ENV ENV
258 *v*x* | *x*v* ) as_opts=-vx ;;
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
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."
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
288 SHELL=${CONFIG_SHELL-/bin/sh}
290 # Unset more variables known to interfere with behavior of common tools.
291 CLICOLOR_FORCE= GREP_OPTIONS=
292 unset CLICOLOR_FORCE GREP_OPTIONS
294 ## --------------------- ##
295 ## M4sh Shell Functions. ##
296 ## --------------------- ##
299 # Portably unset VAR.
302 { eval $1=; unset $1;}
306 # as_fn_set_status STATUS
307 # -----------------------
308 # Set $? to STATUS, without forking.
316 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
326 # Create "$as_dir" as a directory, including parents if necessary.
331 -*) as_dir=./$as_dir;;
333 test -d "$as_dir" || eval $as_mkdir_p || {
337 *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
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\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
364 test -d "$as_dir" && break
366 test -z "$as_dirs" || eval "mkdir $as_dirs"
367 } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir"
372 # as_fn_executable_p FILE
373 # -----------------------
374 # Test if FILE is an executable regular file.
375 as_fn_executable_p ()
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
385 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
386 eval 'as_fn_append ()
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 :
410 as_val=`expr "$@" || test $? -eq 1`
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.
422 as_status=$1; test $as_status -eq 0 && as_status=1
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
427 $as_echo "$as_me: error: $2" >&2
428 as_fn_exit $as_status
431 if expr a : '\(a\)' >/dev/null 2>&1 &&
432 test "X`expr 00001 : '.*\(...\)'`" = X001; then
438 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
444 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
450 as_me=`$as_basename -- "$0" ||
451 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
452 X"$0" : 'X\(//\)$' \| \
453 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
455 sed '/^.*\/\([^/][^/]*\)\/*$/{
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
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. :-)
493 s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
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; }
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).
508 # Exit status is that of the last command.
512 ECHO_C= ECHO_N= ECHO_T=
513 case `echo -n x` in #(((((
515 case `echo 'xy\c'` in
516 *c*) ECHO_T=' ';; # ECHO_T is single tab character.
518 *) echo `echo ksh88 bug on AIX 6.1` > /dev/null
525 rm -f conf$$ conf$$.exe conf$$.file
526 if test -d conf$$.dir; then
527 rm -f conf$$.dir/conf$$.file
530 mkdir conf$$.dir 2>/dev/null
532 if (echo >conf$$.file) 2>/dev/null; then
533 if ln -s conf$$.file conf$$ 2>/dev/null; then
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 ||
541 elif ln conf$$.file conf$$ 2>/dev/null; then
549 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
550 rmdir conf$$.dir 2>/dev/null
552 if mkdir -p . 2>/dev/null; then
553 as_mkdir_p='mkdir -p "$as_dir"'
555 test -d ./-p && rmdir ./-p
560 as_executable_p=as_fn_executable_p
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'"
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'"
568 SHELL=${CONFIG_SHELL-/bin/sh}
571 test -n "$DJDIR" || exec 7<&0 </dev/null
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`
582 ac_default_prefix=/usr/local
584 ac_config_libobj_dir=.
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'
599 ac_unique_file="gi/gimodule.c"
600 # Factoring default headers for most tests.
601 ac_includes_default="\
603 #ifdef HAVE_SYS_TYPES_H
604 # include <sys/types.h>
606 #ifdef HAVE_SYS_STAT_H
607 # include <sys/stat.h>
613 # ifdef HAVE_STDLIB_H
618 # if !defined STDC_HEADERS && defined HAVE_MEMORY_H
623 #ifdef HAVE_STRINGS_H
624 # include <strings.h>
626 #ifdef HAVE_INTTYPES_H
627 # include <inttypes.h>
636 ac_subst_vars='am__EXEEXT_FALSE
640 INTROSPECTION_COMPILER
641 INTROSPECTION_SCANNER
660 GLIB_COMPILE_RESOURCES
736 MAINTAINER_MODE_FALSE
746 INSTALL_STRIP_PROGRAM
765 PYGOBJECT_MICRO_VERSION
766 PYGOBJECT_MINOR_VERSION
767 PYGOBJECT_MAJOR_VERSION
796 program_transform_name
809 enable_option_checking
811 enable_maintainer_mode
816 enable_dependency_tracking
825 ac_precious_vars='build_alias
850 # Initialize some variables set by options.
852 ac_init_version=false
853 ac_unrecognized_opts=
855 # The variables have the same names as the options, with
856 # dashes changed to underlines.
864 program_transform_name=s,x,x,
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'
894 libdir='${exec_prefix}/lib'
895 localedir='${datarootdir}/locale'
896 mandir='${datarootdir}/man'
902 # If the previous option needs an argument, assign it.
903 if test -n "$ac_prev"; then
904 eval $ac_prev=\$ac_option
910 *=?*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
915 # Accept the important Cygnus configure options, so we can diagnose typos.
917 case $ac_dashdash$ac_option in
921 -bindir | --bindir | --bindi | --bind | --bin | --bi)
923 -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
926 -build | --build | --buil | --bui | --bu)
927 ac_prev=build_alias ;;
928 -build=* | --build=* | --buil=* | --bui=* | --bu=*)
929 build_alias=$ac_optarg ;;
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 ;;
939 cache_file=config.cache ;;
941 -datadir | --datadir | --datadi | --datad)
943 -datadir=* | --datadir=* | --datadi=* | --datad=*)
944 datadir=$ac_optarg ;;
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 ;;
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
964 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig"
965 ac_unrecognized_sep=', ';;
967 eval enable_$ac_useropt=no ;;
969 -docdir | --docdir | --docdi | --doc | --do)
971 -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*)
974 -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv)
976 -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*)
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
990 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig"
991 ac_unrecognized_sep=', ';;
993 eval enable_$ac_useropt=\$ac_optarg ;;
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 ;;
1004 -gas | --gas | --ga | --g)
1005 # Obsolete; use --with-gas.
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 ;;
1015 -host | --host | --hos | --ho)
1016 ac_prev=host_alias ;;
1017 -host=* | --host=* | --hos=* | --ho=*)
1018 host_alias=$ac_optarg ;;
1020 -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht)
1022 -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \
1024 htmldir=$ac_optarg ;;
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 ;;
1033 -infodir | --infodir | --infodi | --infod | --info | --inf)
1035 -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
1036 infodir=$ac_optarg ;;
1038 -libdir | --libdir | --libdi | --libd)
1040 -libdir=* | --libdir=* | --libdi=* | --libd=*)
1041 libdir=$ac_optarg ;;
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 ;;
1050 -localedir | --localedir | --localedi | --localed | --locale)
1051 ac_prev=localedir ;;
1052 -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*)
1053 localedir=$ac_optarg ;;
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 ;;
1062 -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
1064 -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
1065 mandir=$ac_optarg ;;
1067 -nfp | --nfp | --nf)
1068 # Obsolete; use --without-fp.
1071 -no-create | --no-create | --no-creat | --no-crea | --no-cre \
1072 | --no-cr | --no-c | -n)
1075 -no-recursion | --no-recursion | --no-recursio | --no-recursi \
1076 | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
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 ;;
1088 -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
1090 -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
1091 prefix=$ac_optarg ;;
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 ;;
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 ;;
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 ;;
1124 -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd)
1126 -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*)
1127 pdfdir=$ac_optarg ;;
1129 -psdir | --psdir | --psdi | --psd | --ps)
1131 -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*)
1134 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1135 | -silent | --silent | --silen | --sile | --sil)
1138 -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
1140 -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
1142 sbindir=$ac_optarg ;;
1144 -sharedstatedir | --sharedstatedir | --sharedstatedi \
1145 | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
1146 | --sharedst | --shareds | --shared | --share | --shar \
1148 ac_prev=sharedstatedir ;;
1149 -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
1150 | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
1151 | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
1153 sharedstatedir=$ac_optarg ;;
1155 -site | --site | --sit)
1157 -site=* | --site=* | --sit=*)
1160 -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
1162 -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
1163 srcdir=$ac_optarg ;;
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 ;;
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 ;;
1177 -v | -verbose | --verbose | --verbos | --verbo | --verb)
1180 -version | --version | --versio | --versi | --vers | -V)
1181 ac_init_version=: ;;
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
1194 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig"
1195 ac_unrecognized_sep=', ';;
1197 eval with_$ac_useropt=\$ac_optarg ;;
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
1210 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig"
1211 ac_unrecognized_sep=', ';;
1213 eval with_$ac_useropt=no ;;
1216 # Obsolete; use --with-x.
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 ;;
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 ;;
1233 -*) as_fn_error $? "unrecognized option: \`$ac_option'
1234 Try \`$0 --help' for more information"
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'" ;;
1244 eval $ac_envvar=\$ac_optarg
1245 export $ac_envvar ;;
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}"
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"
1263 if test -n "$ac_unrecognized_opts"; then
1264 case $enable_option_checking in
1266 fatal) as_fn_error $? "unrecognized options: $ac_unrecognized_opts" ;;
1267 *) $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;;
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
1277 eval ac_val=\$$ac_var
1278 # Remove trailing slashes.
1281 ac_val=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'`
1282 eval $ac_var=\$ac_val;;
1284 # Be sure to have absolute directory names.
1286 [\\/$]* | ?:[\\/]* ) continue;;
1287 NONE | '' ) case $ac_var in *prefix ) continue;; esac;;
1289 as_fn_error $? "expected an absolute directory name for --$ac_var: $ac_val"
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.
1297 target=$target_alias
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
1309 test -n "$host_alias" && ac_tool_prefix=$host_alias-
1311 test "$silent" = yes && exec 6>/dev/null
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"
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\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
1350 if test ! -r "$srcdir/$ac_unique_file"; then
1354 ac_srcdir_defaulted=no
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"
1360 ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work"
1362 cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error $? "$ac_msg"
1364 # When building in place, set srcdir=.
1365 if test "$ac_abs_confdir" = "$ac_pwd"; then
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.
1372 */) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
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}
1382 # Report the --help message.
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.
1388 \`configure' configures pygobject 3.3.3.1 to adapt to many kinds of systems.
1390 Usage: $0 [OPTION]... [VAR=VALUE]...
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.
1395 Defaults for the options are specified in brackets.
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 \`..']
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
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'.
1419 For better control, use the options below.
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]
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
1451 --build=BUILD configure for building on BUILD [guessed]
1452 --host=HOST cross-compile to build programs to run on HOST [BUILD]
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:";;
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
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
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
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>
1501 PYTHON the Python interpreter
1502 PKG_CONFIG path to pkg-config utility
1504 directories to add to pkg-config's search path
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
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
1517 C compiler flags for PYCAIRO, overriding pkg-config
1519 linker flags for PYCAIRO, overriding pkg-config
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.
1524 Report bugs to <http://bugzilla.gnome.org/enter_bug.cgi?product=pygobject>.
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"; } ||
1538 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
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/ ;;
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
1554 .) # We are building in place.
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 ;;
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 ;;
1567 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
1569 cd "$ac_dir" || { ac_status=$?; continue; }
1570 # Check for guested configure.
1571 if test -f "$ac_srcdir/configure.gnu"; then
1573 $SHELL "$ac_srcdir/configure.gnu" --help=recursive
1574 elif test -f "$ac_srcdir/configure"; then
1576 $SHELL "$ac_srcdir/configure" --help=recursive
1578 $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
1580 cd "$ac_pwd" || { ac_status=$?; break; }
1584 test -n "$ac_init_help" && exit $ac_status
1585 if $ac_init_version; then
1587 pygobject configure 3.3.3.1
1588 generated by GNU Autoconf 2.69
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.
1597 ## ------------------------ ##
1598 ## Autoconf initialization. ##
1599 ## ------------------------ ##
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 ()
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"
1610 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1611 *) ac_try_echo=$ac_try;;
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
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
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 :
1629 $as_echo "$as_me: failed program was:" >&5
1630 sed 's/^/| /' conftest.$ac_ext >&5
1634 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1635 as_fn_set_status $ac_retval
1637 } # ac_fn_c_try_compile
1639 # ac_fn_c_try_link LINENO
1640 # -----------------------
1641 # Try to link conftest.$ac_ext, and return whether this succeeded.
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"
1648 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1649 *) ac_try_echo=$ac_try;;
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
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
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
1670 $as_echo "$as_me: failed program was:" >&5
1671 sed 's/^/| /' conftest.$ac_ext >&5
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
1683 } # ac_fn_c_try_link
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 ()
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
1697 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1698 /* end confdefs.h. */
1702 if ac_fn_c_try_compile "$LINENO"; then :
1707 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
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
1714 } # ac_fn_c_check_header_compile
1716 # ac_fn_c_try_cpp LINENO
1717 # ----------------------
1718 # Try to preprocess conftest.$ac_ext, and return whether this succeeded.
1721 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1722 if { { ac_try="$ac_cpp conftest.$ac_ext"
1724 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1725 *) ac_try_echo=$ac_try;;
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
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
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
1743 $as_echo "$as_me: failed program was:" >&5
1744 sed 's/^/| /' conftest.$ac_ext >&5
1748 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1749 as_fn_set_status $ac_retval
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.
1759 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1760 if { { ac_try="$ac_link"
1762 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1763 *) ac_try_echo=$ac_try;;
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
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;;
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
1779 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1780 test $ac_status = 0; }; }; then :
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
1787 ac_retval=$ac_status
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
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 ()
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
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
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. */
1818 # include <limits.h>
1820 # include <assert.h>
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. */
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
1847 if ac_fn_c_try_link "$LINENO"; then :
1852 rm -f core conftest.err conftest.$ac_objext \
1853 conftest$ac_exeext conftest.$ac_ext
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
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.
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
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`
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`
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`
1897 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1901 test -z "$as_dir" && as_dir=.
1902 $as_echo "PATH: $as_dir"
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.
1926 ac_must_keep_next=false
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)
1937 ac_arg=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
1940 1) as_fn_append ac_configure_args0 " '$ac_arg'" ;;
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.
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 ;;
1955 -* ) ac_must_keep_next=true ;;
1958 as_fn_append ac_configure_args " '$ac_arg'"
1963 { ac_configure_args0=; unset ac_configure_args0;}
1964 { ac_configure_args1=; unset ac_configure_args1;}
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.
1976 $as_echo "## ---------------- ##
1977 ## Cache variables. ##
1978 ## ---------------- ##"
1980 # The following way of writing the cache mishandles newlines in values,
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
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;} ;;
1991 _ | IFS | as_nl) ;; #(
1992 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
1993 *) { eval $ac_var=; unset $ac_var;} ;;
1998 case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
1999 *${as_nl}ac_space=\ *)
2001 "s/'\''/'\''\\\\'\'''\''/g;
2002 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
2005 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
2012 $as_echo "## ----------------- ##
2013 ## Output variables. ##
2014 ## ----------------- ##"
2016 for ac_var in $ac_subst_vars
2018 eval ac_val=\$$ac_var
2020 *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
2022 $as_echo "$ac_var='\''$ac_val'\''"
2026 if test -n "$ac_subst_files"; then
2027 $as_echo "## ------------------- ##
2028 ## File substitutions. ##
2029 ## ------------------- ##"
2031 for ac_var in $ac_subst_files
2033 eval ac_val=\$$ac_var
2035 *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
2037 $as_echo "$ac_var='\''$ac_val'\''"
2042 if test -s confdefs.h; then
2043 $as_echo "## ----------- ##
2050 test "$ac_signal" != 0 &&
2051 $as_echo "$as_me: caught signal $ac_signal"
2052 $as_echo "$as_me: exit $exit_status"
2054 rm -f core *.core core.conftest.* &&
2055 rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
2058 for ac_signal in 1 2 13 15; do
2059 trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal
2063 # confdefs.h avoids OS command line length limits that DEFS can exceed.
2064 rm -f -r conftest* confdefs.h
2066 $as_echo "/* confdefs.h */" > confdefs.h
2068 # Predefined preprocessor variables.
2070 cat >>confdefs.h <<_ACEOF
2071 #define PACKAGE_NAME "$PACKAGE_NAME"
2074 cat >>confdefs.h <<_ACEOF
2075 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
2078 cat >>confdefs.h <<_ACEOF
2079 #define PACKAGE_VERSION "$PACKAGE_VERSION"
2082 cat >>confdefs.h <<_ACEOF
2083 #define PACKAGE_STRING "$PACKAGE_STRING"
2086 cat >>confdefs.h <<_ACEOF
2087 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
2090 cat >>confdefs.h <<_ACEOF
2091 #define PACKAGE_URL "$PACKAGE_URL"
2095 # Let the site file select an alternate cache file if it wants to.
2096 # Prefer an explicitly selected file to automatically selected ones.
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;;
2106 elif test "x$prefix" != xNONE; then
2107 ac_site_file1=$prefix/share/config.site
2108 ac_site_file2=$prefix/etc/config.site
2110 ac_site_file1=$ac_default_prefix/share/config.site
2111 ac_site_file2=$ac_default_prefix/etc/config.site
2113 for ac_site_file in "$ac_site_file1" "$ac_site_file2"
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
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; }
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;}
2135 [\\/]* | ?:[\\/]* ) . "$cache_file";;
2136 *) . "./$cache_file";;
2140 { $as_echo "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5
2141 $as_echo "$as_me: creating cache $cache_file" >&6;}
2145 # Check that the precious variables saved in the cache have kept the same
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
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=: ;;
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=: ;;
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=:
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
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;}
2183 # Pass precious variables to config.status.
2184 if test "$ac_new_set" = set; then
2186 *\'*) ac_arg=$ac_var=`$as_echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
2187 *) ac_arg=$ac_var=$ac_new_val ;;
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'" ;;
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
2202 ## -------------------- ##
2203 ## Main body of script. ##
2204 ## -------------------- ##
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
2213 ACLOCAL_AMFLAGS="-I m4 -I ."
2219 $as_echo "#define PYGOBJECT_MAJOR_VERSION 3" >>confdefs.h
2221 PYGOBJECT_MAJOR_VERSION=3
2224 $as_echo "#define PYGOBJECT_MINOR_VERSION 3" >>confdefs.h
2226 PYGOBJECT_MINOR_VERSION=3
2229 $as_echo "#define PYGOBJECT_MICRO_VERSION 3.1" >>confdefs.h
2231 PYGOBJECT_MICRO_VERSION=3.1
2234 ac_config_headers="$ac_config_headers config.h"
2236 # Check whether --enable-silent-rules was given.
2237 if test "${enable_silent_rules+set}" = set; then :
2238 enableval=$enable_silent_rules;
2241 case $enable_silent_rules in
2242 yes) AM_DEFAULT_VERBOSITY=0;;
2243 no) AM_DEFAULT_VERBOSITY=1;;
2244 *) AM_DEFAULT_VERBOSITY=0;;
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
2252 if $as_echo 'TRUE=$(BAR$(V))
2258 .PHONY: am__doit' | $am_make -f - >/dev/null 2>&1; then
2259 am_cv_make_support_nested_variables=yes
2261 am_cv_make_support_nested_variables=no
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
2268 AM_DEFAULT_V='$(AM_DEFAULT_VERBOSITY)'
2270 AM_V=$AM_DEFAULT_VERBOSITY
2271 AM_DEFAULT_V=$AM_DEFAULT_VERBOSITY
2275 am__api_version='1.11'
2278 for ac_dir in "$srcdir" "$srcdir/.." "$srcdir/../.."; do
2279 if test -f "$ac_dir/install-sh"; then
2281 ac_install_sh="$ac_aux_dir/install-sh -c"
2283 elif test -f "$ac_dir/install.sh"; then
2285 ac_install_sh="$ac_aux_dir/install.sh -c"
2287 elif test -f "$ac_dir/shtool"; then
2289 ac_install_sh="$ac_aux_dir/shtool install -c"
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
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.
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
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
2326 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
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[\\/]* | \
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
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.
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.
2353 rm -rf conftest.one conftest.two conftest.dir
2354 echo one > conftest.one
2355 echo two > conftest.two
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
2362 ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
2375 rm -rf conftest.one conftest.two conftest.dir
2378 if test "${ac_cv_path_install+set}" = set; then
2379 INSTALL=$ac_cv_path_install
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
2388 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $INSTALL" >&5
2389 $as_echo "$INSTALL" >&6; }
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}'
2395 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
2397 test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
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; }
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.
2409 *[\\\"\#\$\&\'\`$am_lf]*)
2410 as_fn_error $? "unsafe absolute working directory name" "$LINENO" 5;;
2413 *[\\\"\#\$\&\'\`$am_lf\ \ ]*)
2414 as_fn_error $? "unsafe srcdir value: \`$srcdir'" "$LINENO" 5;;
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
2423 set X `ls -Lt "$srcdir/configure" conftest.file 2> /dev/null`
2424 if test "$*" = "X"; then
2426 set X `ls -t "$srcdir/configure" conftest.file`
2429 if test "$*" != "X $srcdir/configure conftest.file" \
2430 && test "$*" != "X conftest.file $srcdir/configure"; then
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
2440 test "$2" = conftest.file
2446 as_fn_error $? "newly created file is older than distributed files!
2447 Check your system clock" "$LINENO" 5
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"`
2461 # expand $ac_aux_dir to an absolute path
2462 am_aux_dir=`cd $ac_aux_dir && pwd`
2464 if test x"${MISSING+set}" != xset; then
2467 MISSING="\${SHELL} \"$am_aux_dir/missing\"" ;;
2469 MISSING="\${SHELL} $am_aux_dir/missing" ;;
2472 # Use eval to expand $SHELL
2473 if eval "$MISSING --run true"; then
2474 am_missing_run="$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;}
2481 if test x"${install_sh}" != xset; then
2484 install_sh="\${SHELL} '$am_aux_dir/install-sh'" ;;
2486 install_sh="\${SHELL} $am_aux_dir/install-sh"
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
2503 if test -n "$STRIP"; then
2504 ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
2506 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
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
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; }
2528 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2529 $as_echo "no" >&6; }
2534 if test -z "$ac_cv_prog_STRIP"; then
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
2543 if test -n "$ac_ct_STRIP"; then
2544 ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
2546 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
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
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; }
2568 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2569 $as_echo "no" >&6; }
2572 if test "x$ac_ct_STRIP" = x; then
2575 case $cross_compiling:$ac_tool_warned in
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 ;;
2584 STRIP="$ac_cv_prog_STRIP"
2588 INSTALL_STRIP_PROGRAM="\$(install_sh) -c -s"
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
2596 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2597 for as_dir in $PATH$PATH_SEPARATOR/opt/sfw/bin
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
2618 test -d ./--version && rmdir ./--version
2619 if test "${ac_cv_path_mkdir+set}" = set; then
2620 MKDIR_P="$ac_cv_path_mkdir -p"
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"
2629 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MKDIR_P" >&5
2630 $as_echo "$MKDIR_P" >&6; }
2634 [\\/$]* | ?:[\\/]*) ;;
2635 */*) mkdir_p="\$(top_builddir)/$mkdir_p" ;;
2638 for ac_prog in gawk mawk nawk awk
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
2647 if test -n "$AWK"; then
2648 ac_cv_prog_AWK="$AWK" # Let the user override the test.
2650 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
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
2668 if test -n "$AWK"; then
2669 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AWK" >&5
2670 $as_echo "$AWK" >&6; }
2672 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2673 $as_echo "no" >&6; }
2677 test -n "$AWK" && break
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; }
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
2687 cat >conftest.make <<\_ACEOF
2690 @echo '@@@%%%=$(MAKE)=@@@%%%'
2692 # GNU make sometimes prints "make[1]: Entering ...", which would confuse us.
2693 case `${MAKE-make} -f conftest.make 2>/dev/null` in
2695 eval ac_cv_prog_make_${ac_make}_set=yes;;
2697 eval ac_cv_prog_make_${ac_make}_set=no;;
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; }
2706 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2707 $as_echo "no" >&6; }
2708 SET_MAKE="MAKE=${MAKE-make}"
2711 rm -rf .tst 2>/dev/null
2712 mkdir .tst 2>/dev/null
2713 if test -d .tst; then
2718 rmdir .tst 2>/dev/null
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
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'
2740 # Define the identity of the package.
2745 cat >>confdefs.h <<_ACEOF
2746 #define PACKAGE "$PACKAGE"
2750 cat >>confdefs.h <<_ACEOF
2751 #define VERSION "$VERSION"
2754 # Some tools Automake needs.
2756 ACLOCAL=${ACLOCAL-"${am_missing_run}aclocal-${am__api_version}"}
2759 AUTOCONF=${AUTOCONF-"${am_missing_run}autoconf"}
2762 AUTOMAKE=${AUTOMAKE-"${am_missing_run}automake-${am__api_version}"}
2765 AUTOHEADER=${AUTOHEADER-"${am_missing_run}autoheader"}
2768 MAKEINFO=${MAKEINFO-"${am_missing_run}makeinfo"}
2770 # We need awk for the "check" target. The system "awk" is bad on
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 ...
2776 am__tar='$${TAR-tar} chof - "$$tardir"' am__untar='$${TAR-tar} xf -'
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
2789 USE_MAINTAINER_MODE=yes
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='#'
2798 MAINTAINER_MODE_TRUE='#'
2799 MAINTAINER_MODE_FALSE=
2802 MAINT=$MAINTAINER_MODE_TRUE
2806 ACLOCAL="$ACLOCAL $ACLOCAL_FLAGS"
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
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
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
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
2830 *) as_fn_error $? "invalid value of canonical build" "$LINENO" 5;;
2833 ac_save_IFS=$IFS; IFS='-'
2839 # Remember, the first character of IFS is used to create $*,
2840 # except with old shells:
2843 case $build_os in *\ *) build_os=`echo "$build_os" | sed 's/ /-/g'`;; esac
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
2851 if test "x$host_alias" = x; then
2852 ac_cv_host=$ac_cv_build
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
2859 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_host" >&5
2860 $as_echo "$ac_cv_host" >&6; }
2863 *) as_fn_error $? "invalid value of canonical host" "$LINENO" 5;;
2866 ac_save_IFS=$IFS; IFS='-'
2872 # Remember, the first character of IFS is used to create $*,
2873 # except with old shells:
2876 case $host_os in *\ *) host_os=`echo "$host_os" | sed 's/ /-/g'`;; esac
2879 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for some Win32 platform" >&5
2880 $as_echo_n "checking for some Win32 platform... " >&6; }
2882 *-*-mingw*|*-*-cygwin*)
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='#'
2895 PLATFORM_WIN32_TRUE='#'
2896 PLATFORM_WIN32_FALSE=
2900 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for native Win32" >&5
2901 $as_echo_n "checking for native Win32... " >&6; }
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
2921 # Check whether --enable-static was given.
2922 if test "${enable_static+set}" = set; then :
2923 enableval=$enable_static; p=${PACKAGE-default}
2925 yes) enable_static=yes ;;
2926 no) 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
2933 if test "X$pkg" = "X$p"; then
2955 enable_win32_dll=yes
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
2967 if test -n "$AS"; then
2968 ac_cv_prog_AS="$AS" # Let the user override the test.
2970 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
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
2988 if test -n "$AS"; then
2989 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AS" >&5
2990 $as_echo "$AS" >&6; }
2992 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2993 $as_echo "no" >&6; }
2998 if test -z "$ac_cv_prog_AS"; then
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
3007 if test -n "$ac_ct_AS"; then
3008 ac_cv_prog_ac_ct_AS="$ac_ct_AS" # Let the user override the test.
3010 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
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
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; }
3032 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3033 $as_echo "no" >&6; }
3036 if test "x$ac_ct_AS" = x; then
3039 case $cross_compiling:$ac_tool_warned in
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 ;;
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
3059 if test -n "$DLLTOOL"; then
3060 ac_cv_prog_DLLTOOL="$DLLTOOL" # Let the user override the test.
3062 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
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
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; }
3084 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3085 $as_echo "no" >&6; }
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
3099 if test -n "$ac_ct_DLLTOOL"; then
3100 ac_cv_prog_ac_ct_DLLTOOL="$ac_ct_DLLTOOL" # Let the user override the test.
3102 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
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
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; }
3124 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3125 $as_echo "no" >&6; }
3128 if test "x$ac_ct_DLLTOOL" = x; then
3131 case $cross_compiling:$ac_tool_warned in
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 ;;
3137 DLLTOOL=$ac_ct_DLLTOOL
3140 DLLTOOL="$ac_cv_prog_DLLTOOL"
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
3151 if test -n "$OBJDUMP"; then
3152 ac_cv_prog_OBJDUMP="$OBJDUMP" # Let the user override the test.
3154 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
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
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; }
3176 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3177 $as_echo "no" >&6; }
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
3191 if test -n "$ac_ct_OBJDUMP"; then
3192 ac_cv_prog_ac_ct_OBJDUMP="$ac_ct_OBJDUMP" # Let the user override the test.
3194 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
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
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; }
3216 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3217 $as_echo "no" >&6; }
3220 if test "x$ac_ct_OBJDUMP" = x; then
3223 case $cross_compiling:$ac_tool_warned in
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 ;;
3229 OBJDUMP=$ac_ct_OBJDUMP
3232 OBJDUMP="$ac_cv_prog_OBJDUMP"
3238 test -z "$AS" && AS=as
3244 test -z "$DLLTOOL" && DLLTOOL=dlltool
3250 test -z "$OBJDUMP" && OBJDUMP=objdump
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;} ;;
3266 macro_version='2.4.2'
3267 macro_revision='1.3337'
3281 ltmain="$ac_aux_dir/ltmain.sh"
3283 # Backslashify metacharacters that are still active within
3284 # double-quoted strings.
3285 sed_quote_subst='s/\(["`$\\]\)/\\\1/g'
3287 # Same as above, but do not quote variable references.
3288 double_quote_subst='s/\(["`\\]\)/\\\1/g'
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'
3294 # Sed substitution to delay expansion of an escaped single quote.
3295 delay_single_quote_subst='s/'\''/'\'\\\\\\\'\''/g'
3297 # Sed substitution to avoid accidental globbing in evaled expressions
3298 no_glob_subst='s/\*/\\\*/g'
3300 ECHO='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
3301 ECHO=$ECHO$ECHO$ECHO$ECHO$ECHO
3302 ECHO=$ECHO$ECHO$ECHO$ECHO$ECHO$ECHO
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
3310 elif test "X`printf %s $ECHO 2>/dev/null`" = "X$ECHO"; then
3313 # Use this function as a fallback that always works.
3314 func_fallback_echo ()
3316 eval 'cat <<_LTECHO_EOF
3320 ECHO='func_fallback_echo'
3323 # func_echo_all arg...
3324 # Invoke $ECHO with all args, space-separated.
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; } ;;
3352 DEPDIR="${am__leading_dot}deps"
3354 ac_config_commands="$ac_config_commands depfiles"
3357 am_make=${MAKE-make}
3358 cat > confinc << 'END'
3360 @echo this is the am__doit target
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; }
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*)
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
3392 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $_am_result" >&5
3393 $as_echo "$_am_result" >&6; }
3394 rm -f confinc confmf
3396 # Check whether --enable-dependency-tracking was given.
3397 if test "${enable_dependency_tracking+set}" = set; then :
3398 enableval=$enable_dependency_tracking;
3401 if test "x$enable_dependency_tracking" != xno; then
3402 am_depcomp="$ac_aux_dir/depcomp"
3406 if test "x$enable_dependency_tracking" != xno; then
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
3428 if test -n "$CC"; then
3429 ac_cv_prog_CC="$CC" # Let the user override the test.
3431 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
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
3449 if test -n "$CC"; then
3450 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3451 $as_echo "$CC" >&6; }
3453 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3454 $as_echo "no" >&6; }
3459 if test -z "$ac_cv_prog_CC"; then
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
3468 if test -n "$ac_ct_CC"; then
3469 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
3471 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
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
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; }
3493 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3494 $as_echo "no" >&6; }
3497 if test "x$ac_ct_CC" = x; then
3500 case $cross_compiling:$ac_tool_warned in
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 ;;
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
3521 if test -n "$CC"; then
3522 ac_cv_prog_CC="$CC" # Let the user override the test.
3524 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
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
3542 if test -n "$CC"; then
3543 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3544 $as_echo "$CC" >&6; }
3546 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3547 $as_echo "no" >&6; }
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
3561 if test -n "$CC"; then
3562 ac_cv_prog_CC="$CC" # Let the user override the test.
3565 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
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
3577 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
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
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.
3593 ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
3599 if test -n "$CC"; then
3600 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3601 $as_echo "$CC" >&6; }
3603 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3604 $as_echo "no" >&6; }
3609 if test -z "$CC"; then
3610 if test -n "$ac_tool_prefix"; then
3611 for ac_prog in cl.exe
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
3620 if test -n "$CC"; then
3621 ac_cv_prog_CC="$CC" # Let the user override the test.
3623 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
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
3641 if test -n "$CC"; then
3642 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3643 $as_echo "$CC" >&6; }
3645 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3646 $as_echo "no" >&6; }
3650 test -n "$CC" && break
3653 if test -z "$CC"; then
3655 for ac_prog in cl.exe
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
3664 if test -n "$ac_ct_CC"; then
3665 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
3667 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
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
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; }
3689 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3690 $as_echo "no" >&6; }
3694 test -n "$ac_ct_CC" && break
3697 if test "x$ac_ct_CC" = x; then
3700 case $cross_compiling:$ac_tool_warned in
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 ;;
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; }
3718 # Provide some information about the compiler.
3719 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
3722 for ac_option in --version -v -V -qversion; do
3723 { { ac_try="$ac_compiler $ac_option >&5"
3725 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3726 *) ac_try_echo=$ac_try;;
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
3732 if test -s conftest.err; then
3734 ... rest of stderr output deleted ...
3735 10q' conftest.err >conftest.er1
3736 cat conftest.er1 >&5
3738 rm -f conftest.er1 conftest.err
3739 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3740 test $ac_status = 0; }
3743 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3744 /* end confdefs.h. */
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
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[^ ]*//'`
3763 # The possible output files:
3764 ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*"
3767 for ac_file in $ac_files
3770 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
3771 * ) ac_rmfiles="$ac_rmfiles $ac_file";;
3776 if { { ac_try="$ac_link_default"
3778 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3779 *) ac_try_echo=$ac_try;;
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
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
3792 for ac_file in $ac_files ''
3794 test -f "$ac_file" || continue
3796 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj )
3799 # We found the default executable, but exeext='' is most
3803 if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no;
3805 ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
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
3817 test "$ac_cv_exeext" = no && ac_cv_exeext=
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
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; }
3833 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
3834 $as_echo "yes" >&6; }
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
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"
3848 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3849 *) ac_try_echo=$ac_try;;
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
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
3861 for ac_file in conftest.exe conftest conftest.*; do
3862 test -f "$ac_file" || continue
3864 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
3865 *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
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; }
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; }
3880 rm -f conftest.$ac_ext
3881 EXEEXT=$ac_cv_exeext
3883 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3884 /* end confdefs.h. */
3889 FILE *f = fopen ("conftest.out", "w");
3890 return ferror (f) || fclose (f) != 0;
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"
3904 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3905 *) ac_try_echo=$ac_try;;
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
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;;
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
3922 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3923 test $ac_status = 0; }; }; then
3926 if test "$cross_compiling" = maybe; then
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; }
3937 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5
3938 $as_echo "$cross_compiling" >&6; }
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
3947 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3948 /* end confdefs.h. */
3958 rm -f conftest.o conftest.obj
3959 if { { ac_try="$ac_compile"
3961 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3962 *) ac_try_echo=$ac_try;;
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
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;
3973 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;;
3974 *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
3979 $as_echo "$as_me: failed program was:" >&5
3980 sed 's/^/| /' conftest.$ac_ext >&5
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; }
3987 rm -f conftest.$ac_cv_objext conftest.$ac_ext
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
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
3998 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3999 /* end confdefs.h. */
4012 if ac_fn_c_try_compile "$LINENO"; then :
4017 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4018 ac_cv_c_compiler_gnu=$ac_compiler_gnu
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
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
4035 ac_save_c_werror_flag=$ac_c_werror_flag
4036 ac_c_werror_flag=yes
4039 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4040 /* end confdefs.h. */
4050 if ac_fn_c_try_compile "$LINENO"; then :
4054 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4055 /* end confdefs.h. */
4065 if ac_fn_c_try_compile "$LINENO"; then :
4068 ac_c_werror_flag=$ac_save_c_werror_flag
4070 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4071 /* end confdefs.h. */
4081 if ac_fn_c_try_compile "$LINENO"; then :
4084 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4086 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4088 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4089 ac_c_werror_flag=$ac_save_c_werror_flag
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
4102 if test "$GCC" = yes; then
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
4113 ac_cv_prog_cc_c89=no
4115 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4116 /* end confdefs.h. */
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)
4129 static char *f (char * (*g) (char **, int), char **p, ...)
4134 s = g (p, va_arg (v,int));
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];
4148 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
4149 inside strings and character constants. */
4151 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
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);
4162 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
4167 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
4168 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
4170 CC="$ac_save_CC $ac_arg"
4171 if ac_fn_c_try_compile "$LINENO"; then :
4172 ac_cv_prog_cc_c89=$ac_arg
4174 rm -f core conftest.err conftest.$ac_objext
4175 test "x$ac_cv_prog_cc_c89" != "xno" && break
4177 rm -f conftest.$ac_ext
4182 case "x$ac_cv_prog_cc_c89" in
4184 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
4185 $as_echo "none needed" >&6; } ;;
4187 { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
4188 $as_echo "unsupported" >&6; } ;;
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; } ;;
4194 if test "x$ac_cv_prog_cc_c89" != xno; then :
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
4204 depcc="$CC" am_compiler_list=
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
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
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
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
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`
4236 case " $depcc " in #(
4237 *\ -arch\ *\ -arch\ *) am__universal=true ;;
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.
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.
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
4255 echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
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"
4265 # This depmode causes a compiler race in universal mode.
4266 test "$am__universal" = false || continue
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
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}
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
4313 am_cv_CC_dependencies_compiler_type=none
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
4322 test "x$enable_dependency_tracking" != xno \
4323 && test "$am_cv_CC_dependencies_compiler_type" = gcc3; then
4325 am__fastdepCC_FALSE='#'
4327 am__fastdepCC_TRUE='#'
4328 am__fastdepCC_FALSE=
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
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"
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
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
4359 ac_cv_path_SED="$ac_path_SED" ac_path_SED_found=:;;
4362 $as_echo_n 0123456789 >"conftest.in"
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
4377 # 10*(2^10) chars as input seems more than enough
4378 test $ac_count -gt 10 && break
4380 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
4383 $ac_path_SED_found && break 3
4388 if test -z "$ac_cv_path_SED"; then
4389 as_fn_error $? "no acceptable sed could be found in \$PATH" "$LINENO" 5
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"
4401 test -z "$SED" && SED=sed
4402 Xsed="$SED -e 1s/^X//"
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
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
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
4435 ac_cv_path_GREP="$ac_path_GREP" ac_path_GREP_found=:;;
4438 $as_echo_n 0123456789 >"conftest.in"
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
4453 # 10*(2^10) chars as input seems more than enough
4454 test $ac_count -gt 10 && break
4456 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
4459 $ac_path_GREP_found && break 3
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
4468 ac_cv_path_GREP=$GREP
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"
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
4482 if echo a | $GREP -E '(a|b)' >/dev/null 2>&1
4483 then ac_cv_path_EGREP="$GREP -E"
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
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
4501 ac_cv_path_EGREP="$ac_path_EGREP" ac_path_EGREP_found=:;;
4504 $as_echo_n 0123456789 >"conftest.in"
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
4519 # 10*(2^10) chars as input seems more than enough
4520 test $ac_count -gt 10 && break
4522 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
4525 $ac_path_EGREP_found && break 3
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
4534 ac_cv_path_EGREP=$EGREP
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"
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
4549 if echo 'ab*c' | $GREP -F 'ab*c' >/dev/null 2>&1
4550 then ac_cv_path_FGREP="$GREP -F"
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
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
4568 ac_cv_path_FGREP="$ac_path_FGREP" ac_path_FGREP_found=:;;
4571 $as_echo_n 0123456789 >"conftest.in"
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
4586 # 10*(2^10) chars as input seems more than enough
4587 test $ac_count -gt 10 && break
4589 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
4592 $ac_path_FGREP_found && break 3
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
4601 ac_cv_path_FGREP=$FGREP
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"
4611 test -z "$GREP" && GREP=grep
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
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; }
4645 # gcc leaves a trailing carriage return which upsets mingw
4646 ac_prog=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
4648 ac_prog=`($CC -print-prog-name=ld) 2>&5` ;;
4651 # Accept absolute paths.
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%/%"`
4659 test -z "$LD" && LD="$ac_prog"
4662 # If it fails, then pretend we aren't using GCC.
4666 # If it is relative, then search for the first ld in PATH.
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; }
4674 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for non-GNU ld" >&5
4675 $as_echo_n "checking for non-GNU ld... " >&6; }
4677 if ${lt_cv_path_LD+:} false; then :
4678 $as_echo_n "(cached) " >&6
4680 if test -z "$LD"; then
4681 lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
4682 for ac_dir in $PATH; do
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
4695 test "$with_gnu_ld" != yes && break
4702 lt_cv_path_LD="$LD" # Let the user override the test with a path.
4707 if test -n "$LD"; then
4708 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LD" >&5
4709 $as_echo "$LD" >&6; }
4711 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4712 $as_echo "no" >&6; }
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
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
4726 lt_cv_prog_gnu_ld=no
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
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
4747 if test -n "$NM"; then
4748 # Let the user override the test.
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"
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
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"
4772 case `"$tmp_nm" -p /dev/null 2>&1 | sed '1q'` in
4774 lt_cv_path_NM="$tmp_nm -p"
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
4788 : ${lt_cv_path_NM=no}
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
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.
4800 if test -n "$ac_tool_prefix"; then
4801 for ac_prog in dumpbin "link -dump"
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
4810 if test -n "$DUMPBIN"; then
4811 ac_cv_prog_DUMPBIN="$DUMPBIN" # Let the user override the test.
4813 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
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
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; }
4835 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4836 $as_echo "no" >&6; }
4840 test -n "$DUMPBIN" && break
4843 if test -z "$DUMPBIN"; then
4844 ac_ct_DUMPBIN=$DUMPBIN
4845 for ac_prog in dumpbin "link -dump"
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
4854 if test -n "$ac_ct_DUMPBIN"; then
4855 ac_cv_prog_ac_ct_DUMPBIN="$ac_ct_DUMPBIN" # Let the user override the test.
4857 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
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
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; }
4879 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4880 $as_echo "no" >&6; }
4884 test -n "$ac_ct_DUMPBIN" && break
4887 if test "x$ac_ct_DUMPBIN" = x; then
4890 case $cross_compiling:$ac_tool_warned in
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 ;;
4896 DUMPBIN=$ac_ct_DUMPBIN
4900 case `$DUMPBIN -symbols /dev/null 2>&1 | sed '1q'` in
4902 DUMPBIN="$DUMPBIN -symbols"
4910 if test "$DUMPBIN" != ":"; then
4914 test -z "$NM" && NM=nm
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
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"
4941 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_nm_interface" >&5
4942 $as_echo "$lt_cv_nm_interface" >&6; }
4944 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ln -s works" >&5
4945 $as_echo_n "checking whether ln -s works... " >&6; }
4947 if test "$LN_S" = "ln -s"; then
4948 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
4949 $as_echo "yes" >&6; }
4951 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no, using $LN_S" >&5
4952 $as_echo "no, using $LN_S" >&6; }
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
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
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;
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;
4992 # On MiNT this can take a long time and run out of memory.
4993 lt_cv_sys_max_cmd_len=8192;
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;
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`
5009 lt_cv_sys_max_cmd_len=65536 # usable default for all BSDs
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`
5017 # We know the value 262144 and hardcode it with a safety zone (like BSD)
5018 lt_cv_sys_max_cmd_len=196608
5022 # The test takes a long time on OS/2.
5023 lt_cv_sys_max_cmd_len=8192
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
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 ;;
5040 lt_cv_sys_max_cmd_len=102400
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/.*[ ]//'`
5047 lt_cv_sys_max_cmd_len=32768
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`
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
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
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
5070 teststring=$teststring$teststring
5072 # Only check the string length outside the loop.
5073 lt_cv_sys_max_cmd_len=`expr "X$teststring" : ".*" 2>&1`
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`
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; }
5089 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none" >&5
5090 $as_echo "none" >&6; }
5092 max_cmd_len=$lt_cv_sys_max_cmd_len
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
5108 test "${_lt_dummy##*/},${_lt_dummy%/*},${_lt_dummy#??}"${_lt_dummy%"$_lt_dummy"}, \
5110 && eval 'test $(( 1 + 1 )) -eq 2 \
5111 && test "${#_lt_dummy}" -eq 5' ) >/dev/null 2>&1 \
5113 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xsi_shell" >&5
5114 $as_echo "$xsi_shell" >&6; }
5117 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the shell understands \"+=\"" >&5
5118 $as_echo_n "checking whether the shell understands \"+=\"... " >&6; }
5120 ( foo=bar; set foo baz; eval "$1+=\$2" && test "$foo" = barbaz ) \
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; }
5127 if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
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'
5144 *) # EBCDIC based system
5145 lt_SP2NL='tr \100 \n'
5146 lt_NL2SP='tr \r\n \100\100'
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
5166 *-*-mingw* ) # actually msys
5167 lt_cv_to_host_file_cmd=func_convert_file_msys_to_w32
5170 lt_cv_to_host_file_cmd=func_convert_file_cygwin_to_w32
5172 * ) # otherwise, assume *nix
5173 lt_cv_to_host_file_cmd=func_convert_file_nix_to_w32
5179 *-*-mingw* ) # actually msys
5180 lt_cv_to_host_file_cmd=func_convert_file_msys_to_cygwin
5183 lt_cv_to_host_file_cmd=func_convert_file_noop
5185 * ) # otherwise, assume *nix
5186 lt_cv_to_host_file_cmd=func_convert_file_nix_to_cygwin
5190 * ) # unhandled hosts (and "normal" native builds)
5191 lt_cv_to_host_file_cmd=func_convert_file_noop
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; }
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
5210 #assume ordinary cross tools, or native build.
5211 lt_cv_to_tool_file_cmd=func_convert_file_noop
5215 *-*-mingw* ) # actually msys
5216 lt_cv_to_tool_file_cmd=func_convert_file_msys_to_w32
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; }
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
5237 lt_cv_ld_reload_flag='-r'
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
5244 *) reload_flag=" $reload_flag" ;;
5246 reload_cmds='$LD$reload_flag -o $output$reload_objs'
5248 cygwin* | mingw* | pw32* | cegcc*)
5249 if test "$GCC" != yes; then
5254 if test "$GCC" = yes; then
5255 reload_cmds='$LTCC $LTCFLAGS -nostdlib ${wl}-r -o $output$reload_objs'
5257 reload_cmds='$LD$reload_flag -o $output$reload_objs'
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
5278 if test -n "$OBJDUMP"; then
5279 ac_cv_prog_OBJDUMP="$OBJDUMP" # Let the user override the test.
5281 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
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
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; }
5303 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5304 $as_echo "no" >&6; }
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
5318 if test -n "$ac_ct_OBJDUMP"; then
5319 ac_cv_prog_ac_ct_OBJDUMP="$ac_ct_OBJDUMP" # Let the user override the test.
5321 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
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
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; }
5343 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5344 $as_echo "no" >&6; }
5347 if test "x$ac_ct_OBJDUMP" = x; then
5350 case $cross_compiling:$ac_tool_warned in
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 ;;
5356 OBJDUMP=$ac_ct_OBJDUMP
5359 OBJDUMP="$ac_cv_prog_OBJDUMP"
5362 test -z "$OBJDUMP" && OBJDUMP=objdump
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
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.
5390 lt_cv_deplibs_check_method=pass_all
5394 lt_cv_deplibs_check_method=pass_all
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
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'
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'
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'
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'
5430 darwin* | rhapsody*)
5431 lt_cv_deplibs_check_method=pass_all
5434 freebsd* | dragonfly*)
5435 if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then
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.*`
5446 lt_cv_deplibs_check_method=pass_all
5451 lt_cv_deplibs_check_method=pass_all
5455 lt_cv_deplibs_check_method=pass_all
5458 hpux10.20* | hpux11*)
5459 lt_cv_file_magic_cmd=/usr/bin/file
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
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
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
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)$'
5481 irix5* | irix6* | nonstopux*)
5483 *-32|*"-32 ") libmagic=32-bit;;
5484 *-n32|*"-n32 ") libmagic=N32;;
5485 *-64|*"-64 ") libmagic=64-bit;;
5486 *) libmagic=never-match;;
5488 lt_cv_deplibs_check_method=pass_all
5491 # This must be glibc/ELF.
5492 linux* | k*bsd*-gnu | kopensolaris*-gnu)
5493 lt_cv_deplibs_check_method=pass_all
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)$'
5500 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|_pic\.a)$'
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
5511 lt_cv_deplibs_check_method=pass_all
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)$'
5518 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
5522 osf3* | osf4* | osf5*)
5523 lt_cv_deplibs_check_method=pass_all
5527 lt_cv_deplibs_check_method=pass_all
5531 lt_cv_deplibs_check_method=pass_all
5534 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
5535 lt_cv_deplibs_check_method=pass_all
5539 case $host_vendor in
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*`
5545 lt_cv_deplibs_check_method=pass_all
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 )'
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
5557 lt_cv_deplibs_check_method=pass_all
5560 lt_cv_deplibs_check_method=pass_all
5566 lt_cv_deplibs_check_method=pass_all
5571 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_deplibs_check_method" >&5
5572 $as_echo "$lt_cv_deplibs_check_method" >&6; }
5576 if test "$build" = "$host"; then
5579 if ( shopt | grep nocaseglob ) >/dev/null 2>&1; then
5582 file_magic_glob=`echo aAbBcCdDeEfFgGhHiIjJkKlLmMnNoOpPqQrRsStTuUvVwWxXyYzZ | $SED -e "s/\(..\)/s\/[\1]\/[\1]\/g;/g"`
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
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
5621 if test -n "$DLLTOOL"; then
5622 ac_cv_prog_DLLTOOL="$DLLTOOL" # Let the user override the test.
5624 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
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
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; }
5646 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5647 $as_echo "no" >&6; }
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
5661 if test -n "$ac_ct_DLLTOOL"; then
5662 ac_cv_prog_ac_ct_DLLTOOL="$ac_ct_DLLTOOL" # Let the user override the test.
5664 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
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
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; }
5686 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5687 $as_echo "no" >&6; }
5690 if test "x$ac_ct_DLLTOOL" = x; then
5693 case $cross_compiling:$ac_tool_warned in
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 ;;
5699 DLLTOOL=$ac_ct_DLLTOOL
5702 DLLTOOL="$ac_cv_prog_DLLTOOL"
5705 test -z "$DLLTOOL" && DLLTOOL=dlltool
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
5718 lt_cv_sharedlib_from_linklib_cmd='unknown'
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
5729 lt_cv_sharedlib_from_linklib_cmd=func_cygming_dll_for_implib_fallback
5734 # fallback: assume linklib IS sharedlib
5735 lt_cv_sharedlib_from_linklib_cmd="$ECHO"
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
5752 if test -n "$ac_tool_prefix"; then
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
5762 if test -n "$AR"; then
5763 ac_cv_prog_AR="$AR" # Let the user override the test.
5765 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
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
5783 if test -n "$AR"; then
5784 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AR" >&5
5785 $as_echo "$AR" >&6; }
5787 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5788 $as_echo "no" >&6; }
5792 test -n "$AR" && break
5795 if test -z "$AR"; then
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
5806 if test -n "$ac_ct_AR"; then
5807 ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test.
5809 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
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
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; }
5831 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5832 $as_echo "no" >&6; }
5836 test -n "$ac_ct_AR" && break
5839 if test "x$ac_ct_AR" = x; then
5842 case $cross_compiling:$ac_tool_warned in
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 ;;
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
5871 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5872 /* end confdefs.h. */
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
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
5896 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
5897 test $ac_status = 0; }
5898 if test "$ac_status" -ne 0; then
5902 rm -f conftest.* libconftest.a
5905 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5908 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ar_at_file" >&5
5909 $as_echo "$lt_cv_ar_at_file" >&6; }
5911 if test "x$lt_cv_ar_at_file" = xno; then
5914 archiver_list_spec=$lt_cv_ar_at_file
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
5931 if test -n "$STRIP"; then
5932 ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
5934 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
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
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; }
5956 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5957 $as_echo "no" >&6; }
5962 if test -z "$ac_cv_prog_STRIP"; then
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
5971 if test -n "$ac_ct_STRIP"; then
5972 ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
5974 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
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
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; }
5996 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5997 $as_echo "no" >&6; }
6000 if test "x$ac_ct_STRIP" = x; then
6003 case $cross_compiling:$ac_tool_warned in
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 ;;
6012 STRIP="$ac_cv_prog_STRIP"
6015 test -z "$STRIP" && STRIP=:
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
6030 if test -n "$RANLIB"; then
6031 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
6033 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
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
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; }
6055 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6056 $as_echo "no" >&6; }
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
6070 if test -n "$ac_ct_RANLIB"; then
6071 ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
6073 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
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
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; }
6095 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6096 $as_echo "no" >&6; }
6099 if test "x$ac_ct_RANLIB" = x; then
6102 case $cross_compiling:$ac_tool_warned in
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 ;;
6108 RANLIB=$ac_ct_RANLIB
6111 RANLIB="$ac_cv_prog_RANLIB"
6114 test -z "$RANLIB" && RANLIB=:
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=
6126 if test -n "$RANLIB"; then
6129 old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB -t \$tool_oldlib"
6132 old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB \$tool_oldlib"
6135 old_archive_cmds="$old_archive_cmds~\$RANLIB \$tool_oldlib"
6140 lock_old_archive_extraction=yes ;;
6142 lock_old_archive_extraction=no ;;
6183 # If no C compiler was specified, use CC.
6186 # If no C compiler flags were specified, use CFLAGS.
6187 LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
6189 # Allow CC to be a program name with arguments.
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
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?!! ;)]
6203 # Character class describing NM global symbol codes.
6204 symcode='[BCDEGRST]'
6206 # Regexp to match symbols that can be accessed directly from C.
6207 sympat='\([_A-Za-z][_A-Za-z0-9]*\)'
6209 # Define system-specific variables.
6214 cygwin* | mingw* | pw32* | cegcc*)
6215 symcode='[ABCDGISTW]'
6218 if test "$host_cpu" = ia64; then
6219 symcode='[ABCDEGRST]'
6223 symcode='[BCDEGRST]'
6226 symcode='[BCDEGQRST]'
6237 sysv5* | sco5v6* | unixware* | OpenUNIX*)
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]' ;;
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'"
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'"
6260 # Handle CRLF in mingw tool chain
6264 opt_cr=`$ECHO 'x\{0,1\}' | tr x '\015'` # option cr in regexp
6268 # Try without a prefix underscore, then with it.
6269 for ac_symprfx in "" "_"; do
6271 # Transform symcode, sympat, and symprfx into a raw symbol and a C symbol.
6272 symxfrm="\\1 $ac_symprfx\\2 \\2"
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"
6293 lt_cv_sys_global_symbol_pipe="sed -n -e 's/^.*[ ]\($symcode$symcode*\)[ ][ ]*$ac_symprfx$sympat$opt_cr$/$symxfrm/p'"
6295 lt_cv_sys_global_symbol_pipe="$lt_cv_sys_global_symbol_pipe | sed '/ __gnu_lto/d'"
6297 # Check to see that the pipe works correctly.
6301 cat > conftest.$ac_ext <<_LT_EOF
6306 void nm_test_func(void);
6307 void nm_test_func(void){}
6311 int main(){nm_test_var='a';nm_test_func();return(0);}
6314 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
6315 (eval $ac_compile) 2>&5
6317 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6318 test $ac_status = 0; }; then
6319 # Now try to grab the symbols.
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
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"
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
6346 # define LT_DLSYM_CONST const
6354 # Now generate the symbol file.
6355 eval "$lt_cv_sys_global_symbol_to_cdecl"' < "$nlist" | $GREP -v main >> conftest.$ac_ext'
6357 cat <<_LT_EOF >> conftest.$ac_ext
6359 /* The mapping between symbol names and symbols. */
6360 LT_DLSYM_CONST struct {
6364 lt__PROGRAM__LTX_preloaded_symbols[] =
6366 { "@PROGRAM@", (void *) 0 },
6368 $SED "s/^$symcode$symcode* \(.*\) \(.*\)$/ {\"\2\", (void *) \&\2},/" < "$nlist" | $GREP -v main >> conftest.$ac_ext
6369 cat <<\_LT_EOF >> conftest.$ac_ext
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;
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
6393 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6394 test $ac_status = 0; } && test -s conftest${ac_exeext}; then
6397 LIBS=$lt_globsym_save_LIBS
6398 CFLAGS=$lt_globsym_save_CFLAGS
6400 echo "cannot find nm_test_func in $nlist" >&5
6403 echo "cannot find nm_test_var in $nlist" >&5
6406 echo "cannot run $lt_cv_sys_global_symbol_pipe" >&5
6409 echo "$progname: failed program was:" >&5
6410 cat conftest.$ac_ext >&5
6412 rm -rf conftest* conftst*
6414 # Do not use the global_symbol_pipe unless it works.
6415 if test "$pipe_works" = yes; then
6418 lt_cv_sys_global_symbol_pipe=
6424 if test -z "$lt_cv_sys_global_symbol_pipe"; then
6425 lt_cv_sys_global_symbol_to_cdecl=
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; }
6431 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ok" >&5
6432 $as_echo "ok" >&6; }
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='@'
6468 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sysroot" >&5
6469 $as_echo_n "checking for sysroot... " >&6; }
6471 # Check whether --with-sysroot was given.
6472 if test "${with_sysroot+set}" = set; then :
6473 withval=$with_sysroot;
6480 case ${with_sysroot} in #(
6482 if test "$GCC" = yes; then
6483 lt_sysroot=`$CC --print-sysroot 2>/dev/null`
6487 lt_sysroot=`echo "$with_sysroot" | sed -e "$sed_quote_subst"`
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
6498 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${lt_sysroot:-no}" >&5
6499 $as_echo "${lt_sysroot:-no}" >&6; }
6505 # Check whether --enable-libtool-lock was given.
6506 if test "${enable_libtool_lock+set}" = set; then :
6507 enableval=$enable_libtool_lock;
6510 test "x$enable_libtool_lock" != xno && enable_libtool_lock=yes
6512 # Some flags need to be propagated to the compiler or linker for good
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
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
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
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
6545 LD="${LD-ld} -melf32bsmip"
6548 LD="${LD-ld} -melf32bmipn32"
6551 LD="${LD-ld} -melf64bmip"
6555 case `/usr/bin/file conftest.$ac_objext` in
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
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
6583 x86_64-*kfreebsd*-gnu)
6584 LD="${LD-ld} -m elf_i386_fbsd"
6587 LD="${LD-ld} -m elf_i386"
6589 ppc64-*linux*|powerpc64-*linux*)
6590 LD="${LD-ld} -m elf32ppclinux"
6593 LD="${LD-ld} -m elf_s390"
6596 LD="${LD-ld} -m elf32_sparc"
6602 x86_64-*kfreebsd*-gnu)
6603 LD="${LD-ld} -m elf_x86_64_fbsd"
6606 LD="${LD-ld} -m elf_x86_64"
6608 ppc*-*linux*|powerpc*-*linux*)
6609 LD="${LD-ld} -m elf64ppc"
6611 s390*-*linux*|s390*-*tpf*)
6612 LD="${LD-ld} -m elf64_s390"
6615 LD="${LD-ld} -m elf64_sparc"
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
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
6639 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6640 /* end confdefs.h. */
6650 if ac_fn_c_try_link "$LINENO"; then :
6651 lt_cv_cc_needs_belf=yes
6653 lt_cv_cc_needs_belf=no
6655 rm -f core conftest.err conftest.$ac_objext \
6656 conftest$ac_exeext conftest.$ac_ext
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
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"
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
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
6681 case $lt_cv_prog_gnu_ld in
6685 LD="${LD-ld} -m elf_x86_64"
6688 LD="${LD-ld} -m elf64_sparc"
6691 # GNU ld 2.21 introduced _sol2 emulations. Use them if available.
6692 if ${LD-ld} -V | grep _sol2 >/dev/null 2>&1; then
6697 if ${LD-ld} -64 -r -o conftest2.o conftest.o >/dev/null 2>&1; then
6709 need_locks="$enable_libtool_lock"
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
6719 if test -n "$MANIFEST_TOOL"; then
6720 ac_cv_prog_MANIFEST_TOOL="$MANIFEST_TOOL" # Let the user override the test.
6722 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
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
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; }
6744 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6745 $as_echo "no" >&6; }
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
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.
6762 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
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
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; }
6784 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6785 $as_echo "no" >&6; }
6788 if test "x$ac_ct_MANIFEST_TOOL" = x; then
6791 case $cross_compiling:$ac_tool_warned in
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 ;;
6797 MANIFEST_TOOL=$ac_ct_MANIFEST_TOOL
6800 MANIFEST_TOOL="$ac_cv_prog_MANIFEST_TOOL"
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
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
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
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
6839 if test -n "$DSYMUTIL"; then
6840 ac_cv_prog_DSYMUTIL="$DSYMUTIL" # Let the user override the test.
6842 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
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
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; }
6864 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6865 $as_echo "no" >&6; }
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
6879 if test -n "$ac_ct_DSYMUTIL"; then
6880 ac_cv_prog_ac_ct_DSYMUTIL="$ac_ct_DSYMUTIL" # Let the user override the test.
6882 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
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
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; }
6904 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6905 $as_echo "no" >&6; }
6908 if test "x$ac_ct_DSYMUTIL" = x; then
6911 case $cross_compiling:$ac_tool_warned in
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 ;;
6917 DSYMUTIL=$ac_ct_DSYMUTIL
6920 DSYMUTIL="$ac_cv_prog_DSYMUTIL"
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
6931 if test -n "$NMEDIT"; then
6932 ac_cv_prog_NMEDIT="$NMEDIT" # Let the user override the test.
6934 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
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
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; }
6956 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6957 $as_echo "no" >&6; }
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
6971 if test -n "$ac_ct_NMEDIT"; then
6972 ac_cv_prog_ac_ct_NMEDIT="$ac_ct_NMEDIT" # Let the user override the test.
6974 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
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
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; }
6996 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6997 $as_echo "no" >&6; }
7000 if test "x$ac_ct_NMEDIT" = x; then
7003 case $cross_compiling:$ac_tool_warned in
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 ;;
7009 NMEDIT=$ac_ct_NMEDIT
7012 NMEDIT="$ac_cv_prog_NMEDIT"
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
7023 if test -n "$LIPO"; then
7024 ac_cv_prog_LIPO="$LIPO" # Let the user override the test.
7026 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
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
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; }
7048 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7049 $as_echo "no" >&6; }
7054 if test -z "$ac_cv_prog_LIPO"; then
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
7063 if test -n "$ac_ct_LIPO"; then
7064 ac_cv_prog_ac_ct_LIPO="$ac_ct_LIPO" # Let the user override the test.
7066 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
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
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; }
7088 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7089 $as_echo "no" >&6; }
7092 if test "x$ac_ct_LIPO" = x; then
7095 case $cross_compiling:$ac_tool_warned in
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 ;;
7104 LIPO="$ac_cv_prog_LIPO"
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
7115 if test -n "$OTOOL"; then
7116 ac_cv_prog_OTOOL="$OTOOL" # Let the user override the test.
7118 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
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
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; }
7140 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7141 $as_echo "no" >&6; }
7146 if test -z "$ac_cv_prog_OTOOL"; then
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
7155 if test -n "$ac_ct_OTOOL"; then
7156 ac_cv_prog_ac_ct_OTOOL="$ac_ct_OTOOL" # Let the user override the test.
7158 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
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
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; }
7180 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7181 $as_echo "no" >&6; }
7184 if test "x$ac_ct_OTOOL" = x; then
7187 case $cross_compiling:$ac_tool_warned in
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 ;;
7196 OTOOL="$ac_cv_prog_OTOOL"
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
7207 if test -n "$OTOOL64"; then
7208 ac_cv_prog_OTOOL64="$OTOOL64" # Let the user override the test.
7210 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
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
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; }
7232 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7233 $as_echo "no" >&6; }
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
7247 if test -n "$ac_ct_OTOOL64"; then
7248 ac_cv_prog_ac_ct_OTOOL64="$ac_ct_OTOOL64" # Let the user override the test.
7250 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
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
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; }
7272 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7273 $as_echo "no" >&6; }
7276 if test "x$ac_ct_OTOOL64" = x; then
7279 case $cross_compiling:$ac_tool_warned in
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 ;;
7285 OTOOL64=$ac_ct_OTOOL64
7288 OTOOL64="$ac_cv_prog_OTOOL64"
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
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
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
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
7344 cat conftest.err >&5
7346 rm -rf libconftest.dylib*
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; }
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
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. */
7373 if ac_fn_c_try_link "$LINENO"; then :
7374 lt_cv_ld_exported_symbols_list=yes
7376 lt_cv_ld_exported_symbols_list=no
7378 rm -f core conftest.err conftest.$ac_objext \
7379 conftest$ac_exeext conftest.$ac_ext
7380 LDFLAGS="$save_LDFLAGS"
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; }
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
7391 lt_cv_ld_force_load=no
7392 cat > conftest.c << _LT_EOF
7393 int forced_loaded() { return 2;}
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;}
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
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
7412 cat conftest.err >&5
7414 rm -f conftest.err libconftest.a conftest conftest.c
7415 rm -rf conftest.dSYM
7418 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_force_load" >&5
7419 $as_echo "$lt_cv_ld_force_load" >&6; }
7421 rhapsody* | darwin1.[012])
7422 _lt_dar_allow_undefined='${wl}-undefined ${wl}suppress' ;;
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' ;;
7433 _lt_dar_allow_undefined='${wl}-flat_namespace ${wl}-undefined ${wl}suppress' ;;
7435 _lt_dar_allow_undefined='${wl}-undefined ${wl}dynamic_lookup' ;;
7439 if test "$lt_cv_apple_cc_single_mod" = "yes"; then
7440 _lt_dar_single_mod='$single_module'
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'
7445 _lt_dar_export_syms='~$NMEDIT -s $output_objdir/${libname}-symbols.expsym ${lib}'
7447 if test "$DSYMUTIL" != ":" && test "$lt_cv_ld_force_load" = "no"; then
7448 _lt_dsymutil='~$DSYMUTIL $lib || :'
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
7466 if test -z "$CPP"; then
7467 if ${ac_cv_prog_CPP+:} false; then :
7468 $as_echo_n "(cached) " >&6
7470 # Double quotes because CPP needs to be expanded
7471 for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
7474 for ac_c_preproc_warn_flag in '' yes
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. */
7485 # include <limits.h>
7487 # include <assert.h>
7491 if ac_fn_c_try_cpp "$LINENO"; then :
7494 # Broken: fails on valid input.
7497 rm -f conftest.err conftest.i conftest.$ac_ext
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>
7505 if ac_fn_c_try_cpp "$LINENO"; then :
7506 # Broken: success on invalid input.
7509 # Passes both tests.
7513 rm -f conftest.err conftest.i conftest.$ac_ext
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 :
7530 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CPP" >&5
7531 $as_echo "$CPP" >&6; }
7533 for ac_c_preproc_warn_flag in '' yes
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. */
7544 # include <limits.h>
7546 # include <assert.h>
7550 if ac_fn_c_try_cpp "$LINENO"; then :
7553 # Broken: fails on valid input.
7556 rm -f conftest.err conftest.i conftest.$ac_ext
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>
7564 if ac_fn_c_try_cpp "$LINENO"; then :
7565 # Broken: success on invalid input.
7568 # Passes both tests.
7572 rm -f conftest.err conftest.i conftest.$ac_ext
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 :
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; }
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
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
7598 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7599 /* end confdefs.h. */
7613 if ac_fn_c_try_compile "$LINENO"; then :
7614 ac_cv_header_stdc=yes
7616 ac_cv_header_stdc=no
7618 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
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. */
7627 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
7628 $EGREP "memchr" >/dev/null 2>&1; then :
7631 ac_cv_header_stdc=no
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. */
7644 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
7645 $EGREP "free" >/dev/null 2>&1; then :
7648 ac_cv_header_stdc=no
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 :
7659 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7660 /* end confdefs.h. */
7663 #if ((' ' & 0x0FF) == 0x020)
7664 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
7665 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
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))
7674 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
7679 for (i = 0; i < 256; i++)
7680 if (XOR (islower (i), ISLOWER (i))
7681 || toupper (i) != TOUPPER (i))
7686 if ac_fn_c_try_run "$LINENO"; then :
7689 ac_cv_header_stdc=no
7691 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
7692 conftest.$ac_objext conftest.beam conftest.$ac_ext
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
7701 $as_echo "#define STDC_HEADERS 1" >>confdefs.h
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
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
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
7722 for ac_header in dlfcn.h
7724 ac_fn_c_check_header_compile "$LINENO" "dlfcn.h" "ac_cv_header_dlfcn_h" "$ac_includes_default
7726 if test "x$ac_cv_header_dlfcn_h" = xyes; then :
7727 cat >>confdefs.h <<_ACEOF
7728 #define HAVE_DLFCN_H 1
7747 # Check whether --enable-shared was given.
7748 if test "${enable_shared+set}" = set; then :
7749 enableval=$enable_shared; p=${PACKAGE-default}
7751 yes) enable_shared=yes ;;
7752 no) 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
7759 if test "X$pkg" = "X$p"; then
7780 # Check whether --with-pic was given.
7781 if test "${with_pic+set}" = set; then :
7782 withval=$with_pic; lt_p=${PACKAGE-default}
7784 yes|no) pic_mode=$withval ;;
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
7791 if test "X$lt_pkg" = "X$lt_p"; then
7803 test -z "$pic_mode" && pic_mode=default
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}
7815 yes) enable_fast_install=yes ;;
7816 no) enable_fast_install=no ;;
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
7823 if test "X$pkg" = "X$p"; then
7824 enable_fast_install=yes
7831 enable_fast_install=yes
7844 # This can be used to rebuild libtool when needed
7845 LIBTOOL_DEPS="$ltmain"
7847 # Always use our own libtool.
7848 LIBTOOL='$(SHELL) $(top_builddir)/libtool'
7879 test -z "$LN_S" && LN_S="ln -s"
7894 if test -n "${ZSH_VERSION+set}" ; then
7895 setopt NO_GLOB_SUBST
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
7903 rm -f .libs 2>/dev/null
7904 mkdir .libs 2>/dev/null
7905 if test -d .libs; then
7908 # MS-DOS does not allow filenames that begin with a dot.
7911 rmdir .libs 2>/dev/null
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
7921 cat >>confdefs.h <<_ACEOF
7922 #define LT_OBJDIR "$lt_cv_objdir/"
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
7935 export COLLECT_NAMES
7942 can_build_shared=yes
7944 # All known linkers require a `.a' archive for static linking (except MSVC,
7945 # which needs '.lib').
7948 with_gnu_ld="$lt_cv_prog_gnu_ld"
7951 old_CFLAGS="$CFLAGS"
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
7960 for cc_temp in $compiler""; do
7962 compile | *[\\/]compile | ccache | *[\\/]ccache ) ;;
7963 distcc | *[\\/]distcc | purify | *[\\/]purify ) ;;
7968 cc_basename=`$ECHO "$cc_temp" | $SED "s%.*/%%; s%^$host_alias-%%"`
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
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
7983 lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a path.
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
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
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
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
8022 MAGIC_CMD="$lt_save_MAGIC_CMD"
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; }
8032 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8033 $as_echo "no" >&6; }
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
8049 lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a path.
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
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
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
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
8088 MAGIC_CMD="$lt_save_MAGIC_CMD"
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; }
8098 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8099 $as_echo "no" >&6; }
8112 # Use C for the default configuration in the libtool script
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
8122 # Source file extension for C test sources.
8125 # Object file extension for compiled C test sources.
8129 # Code to be used in simple compile tests
8130 lt_simple_compile_test_code="int some_variable = 0;"
8132 # Code to be used in simple link tests
8133 lt_simple_link_test_code='int main(){return(0);}'
8141 # If no C compiler was specified, use CC.
8144 # If no C compiler flags were specified, use CFLAGS.
8145 LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
8147 # Allow CC to be a program name with arguments.
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
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`
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`
8168 if test -n "$compiler"; then
8170 lt_prog_compiler_no_builtin_flag=
8172 if test "$GCC" = yes; then
8173 case $cc_basename in
8175 lt_prog_compiler_no_builtin_flag=' -Xcompiler -fno-builtin' ;;
8177 lt_prog_compiler_no_builtin_flag=' -fno-builtin' ;;
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
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)
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
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; }
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"
8231 lt_prog_compiler_wl=
8232 lt_prog_compiler_pic=
8233 lt_prog_compiler_static=
8236 if test "$GCC" = yes; then
8237 lt_prog_compiler_wl='-Wl,'
8238 lt_prog_compiler_static='-static'
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'
8252 # see comment about AmigaOS4 .so support
8253 lt_prog_compiler_pic='-fPIC'
8256 # FIXME: we need at least 68020 code to build shared libraries, but
8257 # adding the `-m68020' flag to GCC prevents building anything better,
8259 lt_prog_compiler_pic='-m68020 -resident32 -malways-restore-a4'
8264 beos* | irix5* | irix6* | nonstopux* | osf3* | osf4* | osf5*)
8265 # PIC is the default for these OSes.
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'
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'
8283 # PIC is the default for Haiku.
8284 # The "-static" flag exists, but is broken.
8285 lt_prog_compiler_static=
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.
8297 lt_prog_compiler_pic='-fPIC'
8303 # Interix 3.x gcc -fpic/-fPIC options generate broken code.
8304 # Instead, we relocate shared libraries at runtime.
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
8315 # QNX uses GNU C++, but need to define -shared option too, otherwise
8317 lt_prog_compiler_pic='-fPIC -shared'
8321 if test -d /usr/nec; then
8322 lt_prog_compiler_pic=-Kconform_pic
8327 lt_prog_compiler_pic='-fPIC'
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"
8340 # PORTME Check for flag to pass linker flags through the system compiler.
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'
8348 lt_prog_compiler_static='-bnso -bI:/lib/syscalls.exp'
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'
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
8367 lt_prog_compiler_pic='+Z'
8370 # Is there a better lt_prog_compiler_static that works with the bundled CC?
8371 lt_prog_compiler_static='${wl}-a ${wl}archive'
8374 irix5* | irix6* | nonstopux*)
8375 lt_prog_compiler_wl='-Wl,'
8376 # PIC (with -KPIC) is the default.
8377 lt_prog_compiler_static='-non_shared'
8380 linux* | k*bsd*-gnu | kopensolaris*-gnu)
8381 case $cc_basename in
8382 # old Intel for x86_64 which still supported -KPIC.
8384 lt_prog_compiler_wl='-Wl,'
8385 lt_prog_compiler_pic='-KPIC'
8386 lt_prog_compiler_static='-static'
8388 # icc used to be incompatible with GCC.
8389 # ICC 10 doesn't accept -KPIC any more.
8391 lt_prog_compiler_wl='-Wl,'
8392 lt_prog_compiler_pic='-fPIC'
8393 lt_prog_compiler_static='-static'
8395 # Lahey Fortran 8.1.
8397 lt_prog_compiler_wl='-Wl,'
8398 lt_prog_compiler_pic='--shared'
8399 lt_prog_compiler_static='--static'
8402 # NAG Fortran compiler
8403 lt_prog_compiler_wl='-Wl,-Wl,,'
8404 lt_prog_compiler_pic='-PIC'
8405 lt_prog_compiler_static='-Bstatic'
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'
8415 lt_prog_compiler_wl='-Wl,'
8416 # All Alpha code is PIC.
8417 lt_prog_compiler_static='-non_shared'
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'
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=''
8433 *Sun\ F* | *Sun*Fortran*)
8434 lt_prog_compiler_pic='-KPIC'
8435 lt_prog_compiler_static='-Bstatic'
8436 lt_prog_compiler_wl='-Qoption ld '
8440 lt_prog_compiler_pic='-KPIC'
8441 lt_prog_compiler_static='-Bstatic'
8442 lt_prog_compiler_wl='-Wl,'
8444 *Intel*\ [CF]*Compiler*)
8445 lt_prog_compiler_wl='-Wl,'
8446 lt_prog_compiler_pic='-fPIC'
8447 lt_prog_compiler_static='-static'
8450 lt_prog_compiler_wl='-Wl,'
8451 lt_prog_compiler_pic='-fpic'
8452 lt_prog_compiler_static='-Bstatic'
8460 lt_prog_compiler_pic='-KPIC'
8461 lt_prog_compiler_static='-Bstatic'
8465 # QNX uses GNU C++, but need to define -shared option too, otherwise
8467 lt_prog_compiler_pic='-fPIC -shared'
8470 osf3* | osf4* | osf5*)
8471 lt_prog_compiler_wl='-Wl,'
8472 # All OSF/1 code is PIC.
8473 lt_prog_compiler_static='-non_shared'
8477 lt_prog_compiler_static='-non_shared'
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 ';;
8487 lt_prog_compiler_wl='-Wl,';;
8492 lt_prog_compiler_wl='-Qoption ld '
8493 lt_prog_compiler_pic='-PIC'
8494 lt_prog_compiler_static='-Bstatic'
8497 sysv4 | sysv4.2uw2* | sysv4.3*)
8498 lt_prog_compiler_wl='-Wl,'
8499 lt_prog_compiler_pic='-KPIC'
8500 lt_prog_compiler_static='-Bstatic'
8504 if test -d /usr/nec ;then
8505 lt_prog_compiler_pic='-Kconform_pic'
8506 lt_prog_compiler_static='-Bstatic'
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'
8517 lt_prog_compiler_wl='-Wl,'
8518 lt_prog_compiler_can_build_shared=no
8522 lt_prog_compiler_pic='-pic'
8523 lt_prog_compiler_static='-Bstatic'
8527 lt_prog_compiler_can_build_shared=no
8533 # For platforms which do not support PIC, -DPIC is meaningless:
8535 lt_prog_compiler_pic=
8538 lt_prog_compiler_pic="$lt_prog_compiler_pic -DPIC"
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
8547 lt_cv_prog_compiler_pic=$lt_prog_compiler_pic
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
8554 # Check to make sure the PIC flag actually works.
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
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)
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
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; }
8595 if test x"$lt_cv_prog_compiler_pic_works" = xyes; then
8596 case $lt_prog_compiler_pic in
8598 *) lt_prog_compiler_pic=" $lt_prog_compiler_pic" ;;
8601 lt_prog_compiler_pic=
8602 lt_prog_compiler_can_build_shared=no
8618 # Check to make sure the static flag actually works.
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
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
8642 lt_cv_prog_compiler_static_works=yes
8646 LDFLAGS="$save_LDFLAGS"
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; }
8652 if test x"$lt_cv_prog_compiler_static_works" = xyes; then
8655 lt_prog_compiler_static=
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
8669 lt_cv_prog_compiler_c_o=no
8670 $RM -r conftest 2>/dev/null
8674 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
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)
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
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
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
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; }
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
8724 lt_cv_prog_compiler_c_o=no
8725 $RM -r conftest 2>/dev/null
8729 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
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)
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
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
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
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; }
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; }
8779 ln conftest.a conftest.b 2>/dev/null && hard_links=no
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;}
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; }
8803 allow_undefined_flag=
8804 always_export_symbols=no
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
8813 hardcode_direct_absolute=no
8814 hardcode_libdir_flag_spec=
8815 hardcode_libdir_separator=
8817 hardcode_shlibpath_var=unsupported
8819 link_all_deplibs=unknown
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
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=
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
8852 # we just hope/assume this is gcc and not c89 (= MSVC++)
8858 linux* | k*bsd*-gnu | gnu*)
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
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]*) ;;
8880 lt_use_gnu_ld_interface=yes
8885 lt_use_gnu_ld_interface=yes
8890 if test "$lt_use_gnu_ld_interface" = yes; then
8891 # If archive_cmds runs LD, not CC, wlarc should be empty
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'
8904 whole_archive_flag_spec=
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 ;;
8916 # See if GNU ld supports shared libraries.
8919 # On AIX/PPC, the GNU linker is very broken
8920 if test "$host_cpu" != ia64; then
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.
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=''
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
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'
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'
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;
8979 echo EXPORTS > $output_objdir/$soname.def;
8980 cat $export_symbols >> $output_objdir/$soname.def;
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'
8989 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
8990 link_all_deplibs=yes
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'
9008 gnu* | linux* | tpf* | k*bsd*-gnu | kopensolaris*-gnu)
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)
9015 if $LD --help 2>&1 | $EGREP ': supported targets:.* elf' > /dev/null \
9016 && test "$tmp_diet" = no
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'
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'
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
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' ;;
9054 archive_cmds='$CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
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'
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'
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'
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'
9093 if $LD -v 2>&1 | $GREP 'BFD 2\.8' > /dev/null; then
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.
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'
9113 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX*)
9114 case `$LD -v 2>&1` in
9115 *\ [01].* | *\ 2.[0-9].* | *\ 2.1[0-5].*)
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.
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'
9145 archive_cmds='$LD -assert pure-text -Bshareable -o $lib $libobjs $deplibs $linker_flags'
9148 hardcode_shlibpath_var=no
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'
9161 if test "$ld_shlibs" = no; then
9163 hardcode_libdir_flag_spec=
9164 export_dynamic_flag_spec=
9165 whole_archive_flag_spec=
9168 # PORTME fill in a description of your system's linker (not GNU ld)
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
9180 hardcode_direct=unsupported
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'
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'
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'
9201 aix_use_runtimelinking=no
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
9216 exp_sym_flag='-bexport'
9217 no_entry_flag='-bnoentry'
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.
9228 hardcode_direct_absolute=yes
9229 hardcode_libdir_separator=':'
9230 link_all_deplibs=yes
9231 file_list_spec='${wl}-f,'
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
9241 # We have reworked collect2
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=
9255 shared_flag='-shared'
9256 if test "$aix_use_runtimelinking" = yes; then
9257 shared_flag="$shared_flag "'${wl}-G'
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:
9267 if test "$aix_use_runtimelinking" = yes; then
9268 shared_flag='${wl}-G'
9270 shared_flag='${wl}-bM:SRE'
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
9285 if test "${lt_cv_aix_libpath+set}" = set; then
9286 aix_libpath=$lt_cv_aix_libpath
9288 if ${lt_cv_aix_libpath_+:} false; then :
9289 $as_echo_n "(cached) " >&6
9291 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9292 /* end confdefs.h. */
9302 if ac_fn_c_try_link "$LINENO"; then :
9304 lt_aix_libpath_sed='
9305 /Import File Strings/,/^$/ {
9307 s/^0 *\([^ ]*\) *$/\1/
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"`
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"
9325 aix_libpath=$lt_cv_aix_libpath_
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"
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"
9336 # Determine the default libpath from the value encoded in an
9338 if test "${lt_cv_aix_libpath+set}" = set; then
9339 aix_libpath=$lt_cv_aix_libpath
9341 if ${lt_cv_aix_libpath_+:} false; then :
9342 $as_echo_n "(cached) " >&6
9344 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9345 /* end confdefs.h. */
9355 if ac_fn_c_try_link "$LINENO"; then :
9357 lt_aix_libpath_sed='
9358 /Import File Strings/,/^$/ {
9360 s/^0 *\([^ ]*\) *$/\1/
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"`
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"
9378 aix_libpath=$lt_cv_aix_libpath_
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'
9390 # Exported symbols can be pulled into shared objects from archives
9391 whole_archive_flag_spec='$convenience'
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'
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=''
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
9416 export_dynamic_flag_spec=-rdynamic
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
9427 hardcode_libdir_flag_spec=' '
9428 allow_undefined_flag=unsupported
9429 always_export_symbols=yes
9431 # Tell ltmain to make .lib files, not .a files.
9433 # Tell ltmain to make .dll files, not .so files.
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;
9440 sed -e 's/\\\\\\\(.*\\\\\\\)/-link\\\ -EXPORT:\\\\\\\1/' < $export_symbols > $output_objdir/$soname.exp;
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"~
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'
9450 old_postinstall_cmds='chmod 644 $oldlib'
9451 postlink_cmds='lt_outputfile="@OUTPUT@"~
9452 lt_tool_outputfile="@TOOL_OUTPUT@"~
9453 case $lt_outputfile in
9456 lt_outputfile="$lt_outputfile.exe"
9457 lt_tool_outputfile="$lt_tool_outputfile.exe"
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";
9466 # Assume MSVC wrapper
9467 hardcode_libdir_flag_spec=' '
9468 allow_undefined_flag=unsupported
9469 # Tell ltmain to make .lib files, not .a files.
9471 # Tell ltmain to make .dll files, not .so files.
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
9484 darwin* | rhapsody*)
9487 archive_cmds_need_lc=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\"`'
9495 whole_archive_flag_spec=''
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 ;;
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}"
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
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
9527 archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags /usr/lib/c++rt0.o'
9528 hardcode_libdir_flag_spec='-R$libdir'
9530 hardcode_shlibpath_var=no
9533 # Unfortunately, older versions of FreeBSD 2 do not have this feature.
9535 archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
9537 hardcode_minus_L=yes
9538 hardcode_shlibpath_var=no
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'
9546 hardcode_shlibpath_var=no
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'
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'
9555 hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
9556 hardcode_libdir_separator=:
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'
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'
9569 archive_cmds='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
9571 if test "$with_gnu_ld" = no; then
9572 hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
9573 hardcode_libdir_separator=:
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
9584 if test "$GCC" = yes && test "$with_gnu_ld" = no; then
9587 archive_cmds='$CC -shared ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
9590 archive_cmds='$CC -shared $pic_flag ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
9593 archive_cmds='$CC -shared $pic_flag ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
9599 archive_cmds='$CC -b ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
9602 archive_cmds='$CC -b ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
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
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
9629 lt_cv_prog_compiler__b=yes
9633 LDFLAGS="$save_LDFLAGS"
9636 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler__b" >&5
9637 $as_echo "$lt_cv_prog_compiler__b" >&6; }
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'
9642 archive_cmds='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
9648 if test "$with_gnu_ld" = no; then
9649 hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
9650 hardcode_libdir_separator=:
9655 hardcode_shlibpath_var=no
9659 hardcode_direct_absolute=yes
9660 export_dynamic_flag_spec='${wl}-E'
9662 # hardcode_minus_L: Not really in the search PATH,
9663 # but as the default location of the library.
9664 hardcode_minus_L=yes
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
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; }
9688 if ac_fn_c_try_link "$LINENO"; then :
9689 lt_cv_irix_exported_symbol=yes
9691 lt_cv_irix_exported_symbol=no
9693 rm -f core conftest.err conftest.$ac_objext \
9694 conftest$ac_exeext conftest.$ac_ext
9695 LDFLAGS="$save_LDFLAGS"
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'
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'
9706 archive_cmds_need_lc='no'
9707 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
9708 hardcode_libdir_separator=:
9710 link_all_deplibs=yes
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
9717 archive_cmds='$LD -shared -o $lib $libobjs $deplibs $linker_flags' # ELF
9719 hardcode_libdir_flag_spec='-R$libdir'
9721 hardcode_shlibpath_var=no
9725 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
9727 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
9728 hardcode_libdir_separator=:
9729 hardcode_shlibpath_var=no
9736 if test -f /usr/libexec/ld.so; then
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'
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'
9752 archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
9753 hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
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'
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'
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'
9778 archive_cmds_need_lc='no'
9779 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
9780 hardcode_libdir_separator=:
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'
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'
9794 # Both c and cxx compiler support -rpath directly
9795 hardcode_libdir_flag_spec='-rpath $libdir'
9797 archive_cmds_need_lc='no'
9798 hardcode_libdir_separator=:
9802 no_undefined_flag=' -z defs'
9803 if test "$GCC" = yes; then
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'
9809 case `$CC -V 2>&1` in
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'
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'
9824 hardcode_libdir_flag_spec='-R$libdir'
9825 hardcode_shlibpath_var=no
9827 solaris2.[0-5] | solaris2.[0-5].*) ;;
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'
9836 whole_archive_flag_spec='-z allextract$convenience -z defaultextract'
9840 link_all_deplibs=yes
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'
9849 archive_cmds='$LD -assert pure-text -Bstatic -o $lib $libobjs $deplibs $linker_flags'
9851 hardcode_libdir_flag_spec='-L$libdir'
9853 hardcode_minus_L=yes
9854 hardcode_shlibpath_var=no
9858 case $host_vendor in
9860 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
9861 hardcode_direct=yes # is this really true???
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'
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
9875 runpath_var='LD_RUN_PATH'
9876 hardcode_shlibpath_var=no
9880 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
9881 hardcode_shlibpath_var=no
9882 export_dynamic_flag_spec='-Bexport'
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
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'
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'
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'
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
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'
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'
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'
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
9947 if test x$host_vendor = xsni; then
9949 sysv4 | sysv4.2uw2* | sysv4.3* | sysv5*)
9950 export_dynamic_flag_spec='${wl}-Blargedynsym'
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
9960 with_gnu_ld=$with_gnu_ld
9977 # Do we need to explicitly link libc?
9979 case "x$archive_cmds_need_lc" in
9981 # Assume -lc should be added
9982 archive_cmds_need_lc=yes
9984 if test "$enable_shared" = yes && test "$GCC" = yes; then
9985 case $archive_cmds in
9987 # FIXME: we may have to deal with multi-command sequences.
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
9999 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
10001 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
10002 (eval $ac_compile) 2>&5
10004 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
10005 test $ac_status = 0; } 2>conftest.err; then
10008 libobjs=conftest.$ac_objext
10010 wl=$lt_prog_compiler_wl
10011 pic_flag=$lt_prog_compiler_pic
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
10022 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
10023 test $ac_status = 0; }
10025 lt_cv_archive_cmds_need_lc=no
10027 lt_cv_archive_cmds_need_lc=yes
10029 allow_undefined_flag=$lt_save_allow_undefined_flag
10031 cat conftest.err 1>&5
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
10196 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dynamic linker characteristics" >&5
10197 $as_echo_n "checking dynamic linker characteristics... " >&6; }
10199 if test "$GCC" = yes; then
10201 darwin*) lt_awk_arg="/^libraries:/,/LR/" ;;
10202 *) lt_awk_arg="/^libraries:/" ;;
10205 mingw* | cegcc*) lt_sed_strip_eq="s,=\([A-Za-z]:\),\1,g" ;;
10206 *) lt_sed_strip_eq="s,=/,/,g" ;;
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
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'`
10218 lt_search_path_spec=`$ECHO "$lt_search_path_spec" | $SED "s/$PATH_SEPARATOR/ /g"`
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"
10229 test -d "$lt_sys_path" && \
10230 lt_tmp_lt_search_path_spec="$lt_tmp_lt_search_path_spec $lt_sys_path"
10233 lt_search_path_spec=`$ECHO "$lt_tmp_lt_search_path_spec" | awk '
10234 BEGIN {RS=" "; FS="/|\n";} {
10237 for (lt_i = NF; lt_i > 0; lt_i--) {
10238 if ($lt_i != "" && $lt_i != ".") {
10239 if ($lt_i == "..") {
10242 if (lt_count == 0) {
10243 lt_foo="/" $lt_i lt_foo;
10250 if (lt_foo != "") { lt_freq[lt_foo]++; }
10251 if (lt_freq[lt_foo] == 1) { print lt_foo; }
10253 # AWK program above erroneously prepends '/' to C:/dos/paths
10256 mingw* | cegcc*) lt_search_path_spec=`$ECHO "$lt_search_path_spec" |\
10257 $SED 's,/\([A-Za-z]:\),\1,g'` ;;
10259 sys_lib_search_path_spec=`$ECHO "$lt_search_path_spec" | $lt_NL2SP`
10261 sys_lib_search_path_spec="/lib /usr/lib /usr/local/lib"
10263 library_names_spec=
10264 libname_spec='lib$name'
10268 postuninstall_cmds=
10272 shlibpath_overrides_runpath=unknown
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
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
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
10289 # AIX 3 has no versioning support, so we append a major version to the name.
10290 soname_spec='${libname}${release}${shared_ext}$major'
10294 version_type=linux # correct to gnu/linux during the next big refactor
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
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.
10309 aix4 | aix4.[01] | aix4.[01].*)
10310 if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
10312 echo '#endif'; } | ${CC} -E - | $GREP yes > /dev/null; then
10315 can_build_shared=no
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}'
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'
10333 shlibpath_var=LIBPATH
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}'
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'
10353 library_names_spec='${libname}${shared_ext}'
10354 dynamic_linker="$host_os ld.so"
10355 shlibpath_var=LIBRARY_PATH
10359 version_type=linux # correct to gnu/linux during the next big refactor
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
10372 cygwin* | mingw* | pw32* | cegcc*)
10373 version_type=windows
10378 case $GCC,$cc_basename in
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 \$?;
10392 postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
10393 dlpath=$dir/\$dldll~
10395 shlibpath_overrides_runpath=yes
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}'
10402 sys_lib_search_path_spec="$sys_lib_search_path_spec /usr/lib/w32api"
10405 # MinGW DLLs use traditional 'lib' prefix
10406 soname_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
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}'
10413 dynamic_linker='Win32 ld.exe'
10418 libname_spec='$name'
10419 soname_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
10420 library_names_spec='${libname}.dll.lib'
10424 sys_lib_search_path_spec=
10427 for lt_path in $LIB
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"
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|^ ||'`
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"`
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'`
10452 sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
10454 # FIXME: find the short name or the path components, as spaces are
10455 # common. (e.g. "Program Files" -> "PROGRA~1")
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~
10468 shlibpath_overrides_runpath=yes
10469 dynamic_linker='Win32 link.exe'
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'
10478 # FIXME: first we should search . and the directory the executable is in
10482 darwin* | rhapsody*)
10483 dynamic_linker="$host_os dyld"
10484 version_type=darwin
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`'
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'
10498 version_type=linux # correct to gnu/linux during the next big refactor
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
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`
10513 freebsd[23].*) objformat=aout ;;
10514 *) objformat=elf ;;
10517 version_type=freebsd-$objformat
10518 case $version_type in
10520 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
10525 library_names_spec='${libname}${release}${shared_ext}$versuffix $libname${shared_ext}$versuffix'
10529 shlibpath_var=LD_LIBRARY_PATH
10532 shlibpath_overrides_runpath=yes
10534 freebsd3.[01]* | freebsdelf3.[01]*)
10535 shlibpath_overrides_runpath=yes
10536 hardcode_into_libs=yes
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
10543 *) # from 4.6 on, and DragonFly
10544 shlibpath_overrides_runpath=yes
10545 hardcode_into_libs=yes
10551 version_type=linux # correct to gnu/linux during the next big refactor
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
10562 version_type=linux # correct to gnu/linux during the next big refactor
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
10574 hpux9* | hpux10* | hpux11*)
10575 # Give a soname corresponding to the major version so that dld.sl refuses to
10576 # link against other versions.
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"
10592 sys_lib_search_path_spec="/usr/lib/hpux64 /usr/local/lib/hpux64"
10594 sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
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
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'
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
10623 version_type=linux # correct to gnu/linux during the next big refactor
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
10634 irix5* | irix6* | nonstopux*)
10636 nonstopux*) version_type=nonstopux ;;
10638 if test "$lt_cv_prog_gnu_ld" = yes; then
10639 version_type=linux # correct to gnu/linux during the next big refactor
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}'
10649 irix5* | nonstopux*)
10650 libsuff= shlibsuff=
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;;
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
10671 # No shared lib support for Linux oldld, aout, or coff.
10672 linux*oldld* | linux*aout* | linux*coff*)
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
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
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
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. */
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
10712 rm -f core conftest.err conftest.$ac_objext \
10713 conftest$ac_exeext conftest.$ac_ext
10714 LDFLAGS=$save_LDFLAGS
10715 libdir=$save_libdir
10719 shlibpath_overrides_runpath=$lt_cv_shlibpath_overrides_runpath
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
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"
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'
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'
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'
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'
10766 shlibpath_var=LD_LIBRARY_PATH
10767 shlibpath_overrides_runpath=yes
10768 hardcode_into_libs=yes
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
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'
10792 sys_lib_dlsearch_path_spec="/usr/lib"
10794 # Some older versions of OpenBSD (3.3 at least) *do* need versioned libs.
10796 openbsd3.3 | openbsd3.3.*) need_version=yes ;;
10797 *) need_version=no ;;
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
10804 openbsd2.[89] | openbsd2.[89].*)
10805 shlibpath_overrides_runpath=no
10808 shlibpath_overrides_runpath=yes
10812 shlibpath_overrides_runpath=yes
10817 libname_spec='$name'
10820 library_names_spec='$libname${shared_ext} $libname.a'
10821 dynamic_linker='OS/2 ld.exe'
10822 shlibpath_var=LIBPATH
10825 osf3* | osf4* | osf5*)
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"
10841 version_type=linux # correct to gnu/linux during the next big refactor
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'
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
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
10872 shlibpath_overrides_runpath=no
10874 runpath_var=LD_RUN_PATH
10882 shlibpath_overrides_runpath=no
10883 sys_lib_search_path_spec='/lib /usr/lib /usr/ccs/lib'
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
10897 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
10898 version_type=freebsd-elf
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'
10909 sys_lib_search_path_spec='/usr/ccs/lib /usr/lib'
10912 sys_lib_search_path_spec="$sys_lib_search_path_spec /lib"
10916 sys_lib_dlsearch_path_spec='/usr/lib'
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
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
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
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
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"
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"
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"
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; }
11051 if test -n "$hardcode_libdir_flag_spec" ||
11052 test -n "$runpath_var" ||
11053 test "X$hardcode_automatic" = "Xyes" ; then
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
11065 # We can link without hardcoding, and we can hardcode nonexisting dirs.
11066 hardcode_action=immediate
11069 # We cannot hardcode anything, or else we can only hardcode existing
11071 hardcode_action=unsupported
11073 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hardcode_action" >&5
11074 $as_echo "$hardcode_action" >&6; }
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
11091 if test "x$enable_dlopen" != xyes; then
11092 enable_dlopen=unknown
11093 enable_dlopen_self=unknown
11094 enable_dlopen_self_static=unknown
11101 lt_cv_dlopen="load_add_on"
11103 lt_cv_dlopen_self=yes
11106 mingw* | pw32* | cegcc*)
11107 lt_cv_dlopen="LoadLibrary"
11112 lt_cv_dlopen="dlopen"
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
11123 ac_check_lib_save_LIBS=$LIBS
11125 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11126 /* end confdefs.h. */
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. */
11143 if ac_fn_c_try_link "$LINENO"; then :
11144 ac_cv_lib_dl_dlopen=yes
11146 ac_cv_lib_dl_dlopen=no
11148 rm -f core conftest.err conftest.$ac_objext \
11149 conftest$ac_exeext conftest.$ac_ext
11150 LIBS=$ac_check_lib_save_LIBS
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"
11158 lt_cv_dlopen="dyld"
11160 lt_cv_dlopen_self=yes
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"
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
11176 ac_check_lib_save_LIBS=$LIBS
11178 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11179 /* end confdefs.h. */
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. */
11191 return shl_load ();
11196 if ac_fn_c_try_link "$LINENO"; then :
11197 ac_cv_lib_dld_shl_load=yes
11199 ac_cv_lib_dld_shl_load=no
11201 rm -f core conftest.err conftest.$ac_objext \
11202 conftest$ac_exeext conftest.$ac_ext
11203 LIBS=$ac_check_lib_save_LIBS
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"
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"
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
11219 ac_check_lib_save_LIBS=$LIBS
11221 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11222 /* end confdefs.h. */
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. */
11239 if ac_fn_c_try_link "$LINENO"; then :
11240 ac_cv_lib_dl_dlopen=yes
11242 ac_cv_lib_dl_dlopen=no
11244 rm -f core conftest.err conftest.$ac_objext \
11245 conftest$ac_exeext conftest.$ac_ext
11246 LIBS=$ac_check_lib_save_LIBS
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"
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
11258 ac_check_lib_save_LIBS=$LIBS
11259 LIBS="-lsvld $LIBS"
11260 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11261 /* end confdefs.h. */
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. */
11278 if ac_fn_c_try_link "$LINENO"; then :
11279 ac_cv_lib_svld_dlopen=yes
11281 ac_cv_lib_svld_dlopen=no
11283 rm -f core conftest.err conftest.$ac_objext \
11284 conftest$ac_exeext conftest.$ac_ext
11285 LIBS=$ac_check_lib_save_LIBS
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"
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
11297 ac_check_lib_save_LIBS=$LIBS
11299 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11300 /* end confdefs.h. */
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. */
11312 return dld_link ();
11317 if ac_fn_c_try_link "$LINENO"; then :
11318 ac_cv_lib_dld_dld_link=yes
11320 ac_cv_lib_dld_dld_link=no
11322 rm -f core conftest.err conftest.$ac_objext \
11323 conftest$ac_exeext conftest.$ac_ext
11324 LIBS=$ac_check_lib_save_LIBS
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"
11350 if test "x$lt_cv_dlopen" != xno; then
11356 case $lt_cv_dlopen in
11358 save_CPPFLAGS="$CPPFLAGS"
11359 test "x$ac_cv_header_dlfcn_h" = xyes && CPPFLAGS="$CPPFLAGS -DHAVE_DLFCN_H"
11361 save_LDFLAGS="$LDFLAGS"
11362 wl=$lt_prog_compiler_wl eval LDFLAGS=\"\$LDFLAGS $export_dynamic_flag_spec\"
11365 LIBS="$lt_cv_dlopen_libs $LIBS"
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
11372 if test "$cross_compiling" = yes; then :
11373 lt_cv_dlopen_self=cross
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"
11388 # define LT_DLGLOBAL RTLD_GLOBAL
11391 # define LT_DLGLOBAL DL_GLOBAL
11393 # define LT_DLGLOBAL 0
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
11401 # define LT_DLLAZY_OR_NOW RTLD_LAZY
11404 # define LT_DLLAZY_OR_NOW DL_LAZY
11407 # define LT_DLLAZY_OR_NOW RTLD_NOW
11410 # define LT_DLLAZY_OR_NOW DL_NOW
11412 # define LT_DLLAZY_OR_NOW 0
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")));
11425 int fnord () { return 42; }
11428 void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
11429 int status = $lt_dlunknown;
11433 if (dlsym (self,"fnord")) status = $lt_dlno_uscore;
11436 if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
11437 else puts (dlerror ());
11439 /* dlclose (self); */
11447 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
11448 (eval $ac_link) 2>&5
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
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 ;;
11460 # compilation failed
11461 lt_cv_dlopen_self=no
11468 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_dlopen_self" >&5
11469 $as_echo "$lt_cv_dlopen_self" >&6; }
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
11478 if test "$cross_compiling" = yes; then :
11479 lt_cv_dlopen_self_static=cross
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"
11494 # define LT_DLGLOBAL RTLD_GLOBAL
11497 # define LT_DLGLOBAL DL_GLOBAL
11499 # define LT_DLGLOBAL 0
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
11507 # define LT_DLLAZY_OR_NOW RTLD_LAZY
11510 # define LT_DLLAZY_OR_NOW DL_LAZY
11513 # define LT_DLLAZY_OR_NOW RTLD_NOW
11516 # define LT_DLLAZY_OR_NOW DL_NOW
11518 # define LT_DLLAZY_OR_NOW 0
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")));
11531 int fnord () { return 42; }
11534 void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
11535 int status = $lt_dlunknown;
11539 if (dlsym (self,"fnord")) status = $lt_dlno_uscore;
11542 if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
11543 else puts (dlerror ());
11545 /* dlclose (self); */
11553 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
11554 (eval $ac_link) 2>&5
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
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 ;;
11566 # compilation failed
11567 lt_cv_dlopen_self_static=no
11574 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_dlopen_self_static" >&5
11575 $as_echo "$lt_cv_dlopen_self_static" >&6; }
11578 CPPFLAGS="$save_CPPFLAGS"
11579 LDFLAGS="$save_LDFLAGS"
11584 case $lt_cv_dlopen_self in
11585 yes|no) enable_dlopen_self=$lt_cv_dlopen_self ;;
11586 *) enable_dlopen_self=unknown ;;
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 ;;
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; }
11621 # FIXME - insert some real tests, host_os isn't really good enough
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; }
11630 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11631 $as_echo "no" >&6; }
11635 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11636 $as_echo "no" >&6; }
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; }
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
11662 # On AIX, shared libraries and static libraries use the same namespace, and
11663 # are all built from PIC.
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'
11674 if test "$host_cpu" != ia64 && test "$aix_use_runtimelinking" = no ; then
11675 test "$enable_shared" = yes && enable_static=no
11679 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_shared" >&5
11680 $as_echo "$enable_shared" >&6; }
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; }
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
11715 ac_config_commands="$ac_config_commands libtool"
11720 # Only expand once:
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;}
11727 cat >"$CONFIG_LT" <<_ASEOF || as_write_fail=1
11729 # Generated by $as_me.
11730 # Run this file to recreate a libtool stub with the current configuration.
11731 SHELL=\${CONFIG_SHELL-$SHELL}
11734 cat >>"$CONFIG_LT" <<\_ASEOF || as_write_fail=1
11735 ## -------------------- ##
11736 ## M4sh Initialization. ##
11737 ## -------------------- ##
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 :
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
11749 case `(set -o) 2>/dev/null` in #(
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'
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'
11779 as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
11780 as_echo_n_body='eval
11784 expr "X$arg" : "X\\(.*\\)$as_nl";
11785 arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
11787 expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
11789 export as_echo_n_body
11790 as_echo_n='sh -c $as_echo_n_body as_echo'
11792 export as_echo_body
11793 as_echo='sh -c $as_echo_body as_echo'
11796 # The user is always right.
11797 if test "${PATH_SEPARATOR+set}" != set; then
11799 (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
11800 (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
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.)
11813 # Find who we are. Look in the path if we contain no directory separator.
11816 *[\\/]* ) as_myself=$0 ;;
11817 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11818 for as_dir in $PATH
11821 test -z "$as_dir" && as_dir=.
11822 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
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
11833 if test ! -f "$as_myself"; then
11834 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
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 || :
11857 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
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.
11867 as_status=$1; test $as_status -eq 0 && as_status=1
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
11872 $as_echo "$as_me: error: $2" >&2
11873 as_fn_exit $as_status
11877 # as_fn_set_status STATUS
11878 # -----------------------
11879 # Set $? to STATUS, without forking.
11880 as_fn_set_status ()
11883 } # as_fn_set_status
11885 # as_fn_exit STATUS
11886 # -----------------
11887 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
11891 as_fn_set_status $1
11897 # Portably unset VAR.
11900 { eval $1=; unset $1;}
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
11909 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
11910 eval 'as_fn_append ()
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 ()
11934 as_val=`expr "$@" || test $? -eq 1`
11939 if expr a : '\(a\)' >/dev/null 2>&1 &&
11940 test "X`expr 00001 : '.*\(...\)'`" = X001; then
11946 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
11947 as_basename=basename
11952 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
11958 as_me=`$as_basename -- "$0" ||
11959 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
11960 X"$0" : 'X\(//\)$' \| \
11961 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
11963 sed '/^.*\/\([^/][^/]*\)\/*$/{
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
11984 ECHO_C= ECHO_N= ECHO_T=
11985 case `echo -n x` in #(((((
11987 case `echo 'xy\c'` in
11988 *c*) ECHO_T=' ';; # ECHO_T is single tab character.
11990 *) echo `echo ksh88 bug on AIX 6.1` > /dev/null
11997 rm -f conf$$ conf$$.exe conf$$.file
11998 if test -d conf$$.dir; then
11999 rm -f conf$$.dir/conf$$.file
12002 mkdir conf$$.dir 2>/dev/null
12004 if (echo >conf$$.file) 2>/dev/null; then
12005 if ln -s conf$$.file conf$$ 2>/dev/null; then
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 ||
12013 elif ln conf$$.file conf$$ 2>/dev/null; then
12021 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
12022 rmdir conf$$.dir 2>/dev/null
12027 # Create "$as_dir" as a directory, including parents if necessary.
12032 -*) as_dir=./$as_dir;;
12034 test -d "$as_dir" || eval $as_mkdir_p || {
12038 *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
12039 *) as_qdir=$as_dir;;
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\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
12052 /^X\(\/\/\)[^/].*/{
12065 test -d "$as_dir" && break
12067 test -z "$as_dirs" || eval "mkdir $as_dirs"
12068 } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir"
12072 if mkdir -p . 2>/dev/null; then
12073 as_mkdir_p='mkdir -p "$as_dir"'
12075 test -d ./-p && rmdir ./-p
12080 # as_fn_executable_p FILE
12081 # -----------------------
12082 # Test if FILE is an executable regular file.
12083 as_fn_executable_p ()
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
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'"
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'"
12098 ## --------------------------------- ##
12099 ## Main body of "$CONFIG_LT" script. ##
12100 ## --------------------------------- ##
12102 test $as_write_fail = 0 && chmod +x "$CONFIG_LT"
12104 cat >>"$CONFIG_LT" <<\_LTEOF
12109 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
12110 ## Running $as_me. ##
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
12119 Usage: $0 [OPTIONS]
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
12126 Report bugs to <bug-libtool@gnu.org>."
12129 pygobject config.lt 3.3.3.1
12130 configured by $0, generated by GNU Autoconf 2.69.
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."
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 )
12145 --quiet | --q* | --silent | --s* | -q )
12148 -*) as_fn_error $? "unrecognized option: $1
12149 Try \`$0 --help' for more information." "$LINENO" 5 ;;
12151 *) as_fn_error $? "unrecognized argument: $1
12152 Try \`$0 --help' for more information." "$LINENO" 5 ;;
12157 if $lt_cl_silent; then
12162 cat >>"$CONFIG_LT" <<_LTEOF
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
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"`'
12305 LTCFLAGS='$LTCFLAGS'
12306 compiler='$compiler_DEFAULT'
12308 # A function that is used when there is no print builtin or printf.
12309 func_fallback_echo ()
12311 eval 'cat <<_LTECHO_EOF
12316 # Quote evaled strings.
12333 deplibs_check_method \
12337 sharedlib_from_linklib_cmd \
12340 archiver_list_spec \
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 \
12364 export_dynamic_flag_spec \
12365 whole_archive_flag_spec \
12366 compiler_needs_object \
12368 allow_undefined_flag \
12369 no_undefined_flag \
12370 hardcode_libdir_flag_spec \
12371 hardcode_libdir_separator \
12375 variables_saved_for_relink \
12377 library_names_spec \
12379 install_override_mode \
12383 case \`eval \\\\\$ECHO \\\\""\\\\\$\$var"\\\\"\` in
12384 *[\\\\\\\`\\"\\\$]*)
12385 eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"\\\$\$var\\" | \\\$SED \\"\\\$sed_quote_subst\\"\\\`\\\\\\""
12388 eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
12393 # Double-quote double-evaled strings.
12394 for var in reload_cmds \
12395 old_postinstall_cmds \
12396 old_postuninstall_cmds \
12398 extract_expsyms_cmds \
12399 old_archive_from_new_cmds \
12400 old_archive_from_expsyms_cmds \
12402 archive_expsym_cmds \
12404 module_expsym_cmds \
12405 export_symbols_cmds \
12409 postuninstall_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\\"\\\`\\\\\\""
12418 eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
12423 ac_aux_dir='$ac_aux_dir'
12424 xsi_shell='$xsi_shell'
12425 lt_shell_append='$lt_shell_append'
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
12436 TIMESTAMP='$TIMESTAMP'
12444 cat >>"$CONFIG_LT" <<\_LTEOF
12445 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $ofile" >&5
12446 $as_echo "$as_me: creating $ofile" >&6;}
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
12455 cfgfile="${ofile}T"
12456 trap "$RM \"$cfgfile\"; exit 1" 1 2 15
12459 cat <<_LT_EOF >> "$cfgfile"
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.
12467 # Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2003, 2004, 2005,
12468 # 2006, 2007, 2008, 2009, 2010, 2011 Free Software
12470 # Written by Gordon Matzigkeit, 1996
12472 # This file is part of GNU Libtool.
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.
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.
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.
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.
12496 # The names of the tagged configurations supported by this script.
12499 # ### BEGIN LIBTOOL CONFIG
12501 # Whether or not to build static libraries.
12502 build_old_libs=$enable_static
12504 # Assembler program.
12507 # DLL creation program.
12508 DLLTOOL=$lt_DLLTOOL
12510 # Object dumper program.
12511 OBJDUMP=$lt_OBJDUMP
12513 # Which release of libtool.m4 was used?
12514 macro_version=$macro_version
12515 macro_revision=$macro_revision
12517 # Whether or not to build shared libraries.
12518 build_libtool_libs=$enable_shared
12520 # What type of objects to build.
12523 # Whether or not to optimize for fast installation.
12524 fast_install=$enable_fast_install
12526 # Shell to use when invoking shell scripts.
12529 # An echo program that protects backslashes.
12532 # The PATH separator for the build system.
12533 PATH_SEPARATOR=$lt_PATH_SEPARATOR
12536 host_alias=$host_alias
12540 # The build system.
12541 build_alias=$build_alias
12545 # A sed program that does not truncate output.
12548 # Sed that helps us avoid accidentally triggering echo(1) options like -n.
12549 Xsed="\$SED -e 1s/^X//"
12551 # A grep program that handles long lines.
12557 # A literal string matcher.
12560 # A BSD- or MS-compatible name lister.
12563 # Whether we need soft or hard links.
12566 # What is the maximum length of a command?
12567 max_cmd_len=$max_cmd_len
12569 # Object file suffix (normally "o").
12572 # Executable file suffix (normally "").
12575 # whether the shell understands "unset".
12578 # turn spaces into newlines.
12581 # turn newlines into spaces.
12584 # convert \$build file names to \$host format.
12585 to_host_file_cmd=$lt_cv_to_host_file_cmd
12587 # convert \$build files to toolchain format.
12588 to_tool_file_cmd=$lt_cv_to_tool_file_cmd
12590 # Method to check whether dependent libraries are shared objects.
12591 deplibs_check_method=$lt_deplibs_check_method
12593 # Command to use when deplibs_check_method = "file_magic".
12594 file_magic_cmd=$lt_file_magic_cmd
12596 # How to find potential files when deplibs_check_method = "file_magic".
12597 file_magic_glob=$lt_file_magic_glob
12599 # Find potential files using nocaseglob when deplibs_check_method = "file_magic".
12600 want_nocaseglob=$lt_want_nocaseglob
12602 # Command to associate shared and link libraries.
12603 sharedlib_from_linklib_cmd=$lt_sharedlib_from_linklib_cmd
12608 # Flags to create an archive.
12609 AR_FLAGS=$lt_AR_FLAGS
12611 # How to feed a file listing to the archiver.
12612 archiver_list_spec=$lt_archiver_list_spec
12614 # A symbol stripping program.
12617 # Commands used to install an old-style archive.
12619 old_postinstall_cmds=$lt_old_postinstall_cmds
12620 old_postuninstall_cmds=$lt_old_postuninstall_cmds
12622 # Whether to use a lock for old archive extraction.
12623 lock_old_archive_extraction=$lock_old_archive_extraction
12628 # LTCC compiler flags.
12629 LTCFLAGS=$lt_CFLAGS
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
12634 # Transform the output of nm in a proper C declaration.
12635 global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl
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
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
12643 # Specify filename containing input files for \$NM.
12644 nm_file_list_spec=$lt_nm_file_list_spec
12646 # The root where to search for dependent libraries,and in which our libraries should be installed.
12647 lt_sysroot=$lt_sysroot
12649 # The name of the directory that contains temporary libtool files.
12652 # Used to examine libraries when file_magic_cmd begins with "file".
12653 MAGIC_CMD=$MAGIC_CMD
12655 # Must we lock files when doing compilation?
12656 need_locks=$lt_need_locks
12659 MANIFEST_TOOL=$lt_MANIFEST_TOOL
12661 # Tool to manipulate archived DWARF debug symbol files on Mac OS X.
12662 DSYMUTIL=$lt_DSYMUTIL
12664 # Tool to change global to local symbols on Mac OS X.
12667 # Tool to manipulate fat objects and archives on Mac OS X.
12670 # ldd/readelf like tool for Mach-O binaries on Mac OS X.
12673 # ldd/readelf like tool for 64 bit Mach-O binaries on Mac OS X 10.4.
12674 OTOOL64=$lt_OTOOL64
12676 # Old archive suffix (normally "a").
12679 # Shared library suffix (normally ".so").
12680 shrext_cmds=$lt_shrext_cmds
12682 # The commands to extract the exported symbol list from a shared archive.
12683 extract_expsyms_cmds=$lt_extract_expsyms_cmds
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
12689 # Do we need the "lib" prefix for modules?
12690 need_lib_prefix=$need_lib_prefix
12692 # Do we need a version for libraries?
12693 need_version=$need_version
12695 # Library versioning type.
12696 version_type=$version_type
12698 # Shared library runtime path variable.
12699 runpath_var=$runpath_var
12701 # Shared library path variable.
12702 shlibpath_var=$shlibpath_var
12704 # Is shlibpath searched before the hard-coded library search path?
12705 shlibpath_overrides_runpath=$shlibpath_overrides_runpath
12707 # Format of library name prefix.
12708 libname_spec=$lt_libname_spec
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
12714 # The coded name of the library, if different from the real name.
12715 soname_spec=$lt_soname_spec
12717 # Permission mode override for installation of shared libraries.
12718 install_override_mode=$lt_install_override_mode
12720 # Command to use after installation of a shared archive.
12721 postinstall_cmds=$lt_postinstall_cmds
12723 # Command to use after uninstallation of a shared archive.
12724 postuninstall_cmds=$lt_postuninstall_cmds
12726 # Commands used to finish a libtool library installation in a directory.
12727 finish_cmds=$lt_finish_cmds
12729 # As "finish_cmds", except a single script fragment to be evaled but
12731 finish_eval=$lt_finish_eval
12733 # Whether we should hardcode library paths into libraries.
12734 hardcode_into_libs=$hardcode_into_libs
12736 # Compile-time system search path for libraries.
12737 sys_lib_search_path_spec=$lt_sys_lib_search_path_spec
12739 # Run-time system search path for libraries.
12740 sys_lib_dlsearch_path_spec=$lt_sys_lib_dlsearch_path_spec
12742 # Whether dlopen is supported.
12743 dlopen_support=$enable_dlopen
12745 # Whether dlopen of programs is supported.
12746 dlopen_self=$enable_dlopen_self
12748 # Whether dlopen of statically linked programs is supported.
12749 dlopen_self_static=$enable_dlopen_self_static
12751 # Commands to strip libraries.
12752 old_striplib=$lt_old_striplib
12753 striplib=$lt_striplib
12756 # The linker used to build libraries.
12759 # How to create reloadable object files.
12760 reload_flag=$lt_reload_flag
12761 reload_cmds=$lt_reload_cmds
12763 # Commands used to build an old-style archive.
12764 old_archive_cmds=$lt_old_archive_cmds
12766 # A language specific compiler.
12769 # Is the compiler the GNU compiler?
12772 # Compiler flag to turn off builtin functions.
12773 no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag
12775 # Additional compiler flags for building library objects.
12776 pic_flag=$lt_lt_prog_compiler_pic
12778 # How to pass a linker flag through the compiler.
12779 wl=$lt_lt_prog_compiler_wl
12781 # Compiler flag to prevent dynamic linking.
12782 link_static_flag=$lt_lt_prog_compiler_static
12784 # Does compiler simultaneously support -c and -o options?
12785 compiler_c_o=$lt_lt_cv_prog_compiler_c_o
12787 # Whether or not to add -lc for building shared libraries.
12788 build_libtool_need_lc=$archive_cmds_need_lc
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
12793 # Compiler flag to allow reflexive dlopens.
12794 export_dynamic_flag_spec=$lt_export_dynamic_flag_spec
12796 # Compiler flag to generate shared objects directly from archives.
12797 whole_archive_flag_spec=$lt_whole_archive_flag_spec
12799 # Whether the compiler copes with passing no objects directly.
12800 compiler_needs_object=$lt_compiler_needs_object
12802 # Create an old-style archive from a shared archive.
12803 old_archive_from_new_cmds=$lt_old_archive_from_new_cmds
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
12808 # Commands used to build a shared archive.
12809 archive_cmds=$lt_archive_cmds
12810 archive_expsym_cmds=$lt_archive_expsym_cmds
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
12817 # Whether we are building with GNU ld or not.
12818 with_gnu_ld=$lt_with_gnu_ld
12820 # Flag that allows shared libraries with undefined symbols to be built.
12821 allow_undefined_flag=$lt_allow_undefined_flag
12823 # Flag that enforces no undefined symbols.
12824 no_undefined_flag=$lt_no_undefined_flag
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
12830 # Whether we need a single "-rpath" flag with a separated argument.
12831 hardcode_libdir_separator=$lt_hardcode_libdir_separator
12833 # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
12834 # DIR into the resulting binary.
12835 hardcode_direct=$hardcode_direct
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
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
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
12851 # Set to "yes" if building a shared library automatically hardcodes DIR
12852 # into the library and all subsequent libraries and executables linked
12854 hardcode_automatic=$hardcode_automatic
12856 # Set to yes if linker adds runtime paths of dependent libraries
12857 # to runtime path list.
12858 inherit_rpath=$inherit_rpath
12860 # Whether libtool must link a program against all its dependency libraries.
12861 link_all_deplibs=$link_all_deplibs
12863 # Set to "yes" if exported symbols are required.
12864 always_export_symbols=$always_export_symbols
12866 # The commands to list exported symbols.
12867 export_symbols_cmds=$lt_export_symbols_cmds
12869 # Symbols that should not be listed in the preloaded symbols.
12870 exclude_expsyms=$lt_exclude_expsyms
12872 # Symbols that must always be exported.
12873 include_expsyms=$lt_include_expsyms
12875 # Commands necessary for linking programs (against libraries) with templates.
12876 prelink_cmds=$lt_prelink_cmds
12878 # Commands necessary for finishing linking programs.
12879 postlink_cmds=$lt_postlink_cmds
12881 # Specify filename containing input files.
12882 file_list_spec=$lt_file_list_spec
12884 # How to hardcode a shared library path into an executable.
12885 hardcode_action=$hardcode_action
12887 # ### END LIBTOOL CONFIG
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
12899 export COLLECT_NAMES
12906 ltmain="$ac_aux_dir/ltmain.sh"
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)
12916 if test x"$xsi_shell" = xyes; then
12917 sed -e '/^func_dirname ()$/,/^} # func_dirname /c\
12921 \ */*) func_dirname_result="${1%/*}${2}" ;;\
12922 \ * ) func_dirname_result="${3}" ;;\
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=:
12930 sed -e '/^func_basename ()$/,/^} # func_basename /c\
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=:
12940 sed -e '/^func_dirname_and_basename ()$/,/^} # func_dirname_and_basename /c\
12941 func_dirname_and_basename ()\
12944 \ */*) func_dirname_result="${1%/*}${2}" ;;\
12945 \ * ) func_dirname_result="${3}" ;;\
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=:
12954 sed -e '/^func_stripname ()$/,/^} # func_stripname /c\
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=:
12968 sed -e '/^func_split_long_opt ()$/,/^} # func_split_long_opt /c\
12969 func_split_long_opt ()\
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=:
12979 sed -e '/^func_split_short_opt ()$/,/^} # func_split_short_opt /c\
12980 func_split_short_opt ()\
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=:
12990 sed -e '/^func_lo2o ()$/,/^} # func_lo2o /c\
12994 \ *.lo) func_lo2o_result=${1%.lo}.${objext} ;;\
12995 \ *) func_lo2o_result=${1} ;;\
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=:
13003 sed -e '/^func_xform ()$/,/^} # func_xform /c\
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=:
13013 sed -e '/^func_arith ()$/,/^} # func_arith /c\
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=:
13023 sed -e '/^func_len ()$/,/^} # func_len /c\
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=:
13034 if test x"$lt_shell_append" = xyes; then
13035 sed -e '/^func_append ()$/,/^} # func_append /c\
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=:
13045 sed -e '/^func_append_quoted ()$/,/^} # func_append_quoted /c\
13046 func_append_quoted ()\
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=:
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=:
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=:
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;}
13075 mv -f "$cfgfile" "$ofile" ||
13076 (rm -f "$ofile" && cp "$cfgfile" "$ofile" && rm -f "$cfgfile")
13082 chmod +x "$CONFIG_LT"
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.
13089 test "$silent" = yes &&
13090 lt_config_lt_args="$lt_config_lt_args --quiet"
13092 $SHELL "$CONFIG_LT" $lt_config_lt_args || lt_cl_success=false
13094 $lt_cl_success || as_fn_exit 1
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
13101 ac_func_search_save_LIBS=$LIBS
13102 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13103 /* end confdefs.h. */
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. */
13115 return strerror ();
13120 for ac_lib in '' cposix; do
13121 if test -z "$ac_lib"; then
13122 ac_res="none required"
13125 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
13127 if ac_fn_c_try_link "$LINENO"; then :
13128 ac_cv_search_strerror=$ac_res
13130 rm -f core conftest.err conftest.$ac_objext \
13132 if ${ac_cv_search_strerror+:} false; then :
13136 if ${ac_cv_search_strerror+:} false; then :
13139 ac_cv_search_strerror=no
13141 rm conftest.$ac_ext
13142 LIBS=$ac_func_search_save_LIBS
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"
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
13165 if test -n "$CC"; then
13166 ac_cv_prog_CC="$CC" # Let the user override the test.
13168 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
13169 for as_dir in $PATH
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
13186 if test -n "$CC"; then
13187 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
13188 $as_echo "$CC" >&6; }
13190 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
13191 $as_echo "no" >&6; }
13196 if test -z "$ac_cv_prog_CC"; then
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
13205 if test -n "$ac_ct_CC"; then
13206 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
13208 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
13209 for as_dir in $PATH
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
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; }
13230 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
13231 $as_echo "no" >&6; }
13234 if test "x$ac_ct_CC" = x; then
13237 case $cross_compiling:$ac_tool_warned in
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 ;;
13246 CC="$ac_cv_prog_CC"
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
13258 if test -n "$CC"; then
13259 ac_cv_prog_CC="$CC" # Let the user override the test.
13261 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
13262 for as_dir in $PATH
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
13279 if test -n "$CC"; then
13280 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
13281 $as_echo "$CC" >&6; }
13283 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
13284 $as_echo "no" >&6; }
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
13298 if test -n "$CC"; then
13299 ac_cv_prog_CC="$CC" # Let the user override the test.
13301 ac_prog_rejected=no
13302 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
13303 for as_dir in $PATH
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
13314 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
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
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.
13330 ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
13336 if test -n "$CC"; then
13337 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
13338 $as_echo "$CC" >&6; }
13340 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
13341 $as_echo "no" >&6; }
13346 if test -z "$CC"; then
13347 if test -n "$ac_tool_prefix"; then
13348 for ac_prog in cl.exe
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
13357 if test -n "$CC"; then
13358 ac_cv_prog_CC="$CC" # Let the user override the test.
13360 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
13361 for as_dir in $PATH
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
13378 if test -n "$CC"; then
13379 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
13380 $as_echo "$CC" >&6; }
13382 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
13383 $as_echo "no" >&6; }
13387 test -n "$CC" && break
13390 if test -z "$CC"; then
13392 for ac_prog in cl.exe
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
13401 if test -n "$ac_ct_CC"; then
13402 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
13404 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
13405 for as_dir in $PATH
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
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; }
13426 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
13427 $as_echo "no" >&6; }
13431 test -n "$ac_ct_CC" && break
13434 if test "x$ac_ct_CC" = x; then
13437 case $cross_compiling:$ac_tool_warned in
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 ;;
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; }
13455 # Provide some information about the compiler.
13456 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
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;;
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
13469 if test -s conftest.err; then
13471 ... rest of stderr output deleted ...
13472 10q' conftest.err >conftest.er1
13473 cat conftest.er1 >&5
13475 rm -f conftest.er1 conftest.err
13476 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
13477 test $ac_status = 0; }
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
13485 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13486 /* end confdefs.h. */
13499 if ac_fn_c_try_compile "$LINENO"; then :
13500 ac_compiler_gnu=yes
13504 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
13505 ac_cv_c_compiler_gnu=$ac_compiler_gnu
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
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
13522 ac_save_c_werror_flag=$ac_c_werror_flag
13523 ac_c_werror_flag=yes
13526 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13527 /* end confdefs.h. */
13537 if ac_fn_c_try_compile "$LINENO"; then :
13538 ac_cv_prog_cc_g=yes
13541 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13542 /* end confdefs.h. */
13552 if ac_fn_c_try_compile "$LINENO"; then :
13555 ac_c_werror_flag=$ac_save_c_werror_flag
13557 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13558 /* end confdefs.h. */
13568 if ac_fn_c_try_compile "$LINENO"; then :
13569 ac_cv_prog_cc_g=yes
13571 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
13573 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
13575 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
13576 ac_c_werror_flag=$ac_save_c_werror_flag
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
13589 if test "$GCC" = yes; then
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
13600 ac_cv_prog_cc_c89=no
13602 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13603 /* end confdefs.h. */
13604 #include <stdarg.h>
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)
13616 static char *f (char * (*g) (char **, int), char **p, ...)
13621 s = g (p, va_arg (v,int));
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];
13635 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
13636 inside strings and character constants. */
13638 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
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);
13649 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
13654 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
13655 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
13657 CC="$ac_save_CC $ac_arg"
13658 if ac_fn_c_try_compile "$LINENO"; then :
13659 ac_cv_prog_cc_c89=$ac_arg
13661 rm -f core conftest.err conftest.$ac_objext
13662 test "x$ac_cv_prog_cc_c89" != "xno" && break
13664 rm -f conftest.$ac_ext
13669 case "x$ac_cv_prog_cc_c89" in
13671 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
13672 $as_echo "none needed" >&6; } ;;
13674 { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
13675 $as_echo "unsupported" >&6; } ;;
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; } ;;
13681 if test "x$ac_cv_prog_cc_c89" != xno; then :
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
13691 depcc="$CC" am_compiler_list=
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
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
13704 rm -rf 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
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
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`
13722 am__universal=false
13723 case " $depcc " in #(
13724 *\ -arch\ *\ -arch\ *) am__universal=true ;;
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.
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.
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
13742 echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
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"
13752 # This depmode causes a compiler race in universal mode.
13753 test "$am__universal" = false || continue
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
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}
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
13798 rm -rf conftest.dir
13800 am_cv_CC_dependencies_compiler_type=none
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
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='#'
13814 am__fastdepCC_TRUE='#'
13815 am__fastdepCC_FALSE=
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
13832 if test -n "$CC"; then
13833 ac_cv_prog_CC="$CC" # Let the user override the test.
13835 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
13836 for as_dir in $PATH
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
13853 if test -n "$CC"; then
13854 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
13855 $as_echo "$CC" >&6; }
13857 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
13858 $as_echo "no" >&6; }
13863 if test -z "$ac_cv_prog_CC"; then
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
13872 if test -n "$ac_ct_CC"; then
13873 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
13875 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
13876 for as_dir in $PATH
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
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; }
13897 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
13898 $as_echo "no" >&6; }
13901 if test "x$ac_ct_CC" = x; then
13904 case $cross_compiling:$ac_tool_warned in
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 ;;
13913 CC="$ac_cv_prog_CC"
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
13925 if test -n "$CC"; then
13926 ac_cv_prog_CC="$CC" # Let the user override the test.
13928 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
13929 for as_dir in $PATH
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
13946 if test -n "$CC"; then
13947 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
13948 $as_echo "$CC" >&6; }
13950 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
13951 $as_echo "no" >&6; }
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
13965 if test -n "$CC"; then
13966 ac_cv_prog_CC="$CC" # Let the user override the test.
13968 ac_prog_rejected=no
13969 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
13970 for as_dir in $PATH
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
13981 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
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
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.
13997 ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
14003 if test -n "$CC"; then
14004 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
14005 $as_echo "$CC" >&6; }
14007 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
14008 $as_echo "no" >&6; }
14013 if test -z "$CC"; then
14014 if test -n "$ac_tool_prefix"; then
14015 for ac_prog in cl.exe
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
14024 if test -n "$CC"; then
14025 ac_cv_prog_CC="$CC" # Let the user override the test.
14027 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
14028 for as_dir in $PATH
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
14045 if test -n "$CC"; then
14046 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
14047 $as_echo "$CC" >&6; }
14049 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
14050 $as_echo "no" >&6; }
14054 test -n "$CC" && break
14057 if test -z "$CC"; then
14059 for ac_prog in cl.exe
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
14068 if test -n "$ac_ct_CC"; then
14069 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
14071 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
14072 for as_dir in $PATH
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
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; }
14093 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
14094 $as_echo "no" >&6; }
14098 test -n "$ac_ct_CC" && break
14101 if test "x$ac_ct_CC" = x; then
14104 case $cross_compiling:$ac_tool_warned in
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 ;;
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; }
14122 # Provide some information about the compiler.
14123 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
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;;
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
14136 if test -s conftest.err; then
14138 ... rest of stderr output deleted ...
14139 10q' conftest.err >conftest.er1
14140 cat conftest.er1 >&5
14142 rm -f conftest.er1 conftest.err
14143 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
14144 test $ac_status = 0; }
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
14152 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14153 /* end confdefs.h. */
14166 if ac_fn_c_try_compile "$LINENO"; then :
14167 ac_compiler_gnu=yes
14171 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
14172 ac_cv_c_compiler_gnu=$ac_compiler_gnu
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
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
14189 ac_save_c_werror_flag=$ac_c_werror_flag
14190 ac_c_werror_flag=yes
14193 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14194 /* end confdefs.h. */
14204 if ac_fn_c_try_compile "$LINENO"; then :
14205 ac_cv_prog_cc_g=yes
14208 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14209 /* end confdefs.h. */
14219 if ac_fn_c_try_compile "$LINENO"; then :
14222 ac_c_werror_flag=$ac_save_c_werror_flag
14224 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14225 /* end confdefs.h. */
14235 if ac_fn_c_try_compile "$LINENO"; then :
14236 ac_cv_prog_cc_g=yes
14238 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
14240 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
14242 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
14243 ac_c_werror_flag=$ac_save_c_werror_flag
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
14256 if test "$GCC" = yes; then
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
14267 ac_cv_prog_cc_c89=no
14269 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14270 /* end confdefs.h. */
14271 #include <stdarg.h>
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)
14283 static char *f (char * (*g) (char **, int), char **p, ...)
14288 s = g (p, va_arg (v,int));
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];
14302 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
14303 inside strings and character constants. */
14305 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
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);
14316 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
14321 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
14322 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
14324 CC="$ac_save_CC $ac_arg"
14325 if ac_fn_c_try_compile "$LINENO"; then :
14326 ac_cv_prog_cc_c89=$ac_arg
14328 rm -f core conftest.err conftest.$ac_objext
14329 test "x$ac_cv_prog_cc_c89" != "xno" && break
14331 rm -f conftest.$ac_ext
14336 case "x$ac_cv_prog_cc_c89" in
14338 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
14339 $as_echo "none needed" >&6; } ;;
14341 { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
14342 $as_echo "unsupported" >&6; } ;;
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; } ;;
14348 if test "x$ac_cv_prog_cc_c89" != xno; then :
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
14358 depcc="$CC" am_compiler_list=
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
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
14371 rm -rf 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
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
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`
14389 am__universal=false
14390 case " $depcc " in #(
14391 *\ -arch\ *\ -arch\ *) am__universal=true ;;
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.
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.
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
14409 echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
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"
14419 # This depmode causes a compiler race in universal mode.
14420 test "$am__universal" = false || continue
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
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}
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
14465 rm -rf conftest.dir
14467 am_cv_CC_dependencies_compiler_type=none
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
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='#'
14481 am__fastdepCC_TRUE='#'
14482 am__fastdepCC_FALSE=
14487 am_cv_prog_cc_stdc=$ac_cv_prog_cc_stdc
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; }
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; }
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
14501 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14502 /* end confdefs.h. */
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'
14517 if { { case "(($ac_try" in
14518 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14519 *) ac_try_echo=$ac_try;;
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
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;;
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
14535 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
14536 test $ac_status = 0; };
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;;
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
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'
14554 if { { case "(($ac_try" in
14555 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14556 *) ac_try_echo=$ac_try;;
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
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;;
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
14572 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
14573 test $ac_status = 0; };
14578 # cc exists but doesn't like -o.
14579 eval ac_cv_prog_cc_${ac_cc}_c_o=no
14584 eval ac_cv_prog_cc_${ac_cc}_c_o=no
14586 rm -f core conftest*
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; }
14593 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
14594 $as_echo "no" >&6; }
14596 $as_echo "#define NO_MINUS_C_MINUS_O 1" >>confdefs.h
14600 # FIXME: we rely on the cache variable name because
14601 # there is no other way.
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"
14616 # check that we have the minimum version of python necisary to build
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; }
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]
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
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; }
14642 as_fn_error $? "too old" "$LINENO" 5
14644 am_display_PYTHON=$PYTHON
14646 # Otherwise, try each interpreter until we find one that satisfies
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
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
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]
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
14668 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14669 (exit $ac_status); }; then :
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
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
14689 ac_cv_path_PYTHON="$PYTHON" # Let the user override the test with a path.
14692 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
14693 for as_dir in $PATH
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
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; }
14715 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
14716 $as_echo "no" >&6; }
14721 am_display_PYTHON=$am_cv_pathless_PYTHON
14725 if test "$PYTHON" = :; then
14726 as_fn_error $? "no suitable Python interpreter found" "$LINENO" 5
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
14735 am_cv_python_version=`$PYTHON -c "import sys; sys.stdout.write(sys.version[:3])"`
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
14743 PYTHON_PREFIX='${prefix}'
14745 PYTHON_EXEC_PREFIX='${exec_prefix}'
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
14754 am_cv_python_platform=`$PYTHON -c "import sys; sys.stdout.write(sys.platform)"`
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
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
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"`
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
14777 pkgpythondir=\${pythondir}/$PACKAGE
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
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"`
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
14794 pkgpyexecdir=\${pyexecdir}/$PACKAGE
14802 # check if we are building for python 3
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]
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
14815 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14816 (exit $ac_status); }; then :
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; }
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]
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
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; }
14843 as_fn_error $? "too old" "$LINENO" 5
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
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
14866 ac_cv_path_PYTHON="$PYTHON" # Let the user override the test with a path.
14869 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
14870 for as_dir in $PATH
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
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; }
14892 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
14893 $as_echo "no" >&6; }
14897 test -n "$PYTHON" && break
14899 test -n "$PYTHON" || PYTHON=":"
14902 am_display_PYTHON=python
14905 if test "$PYTHON" = :; then
14906 as_fn_error $? "no suitable Python interpreter found" "$LINENO" 5
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
14915 am_cv_python_version=`$PYTHON -c "import sys; sys.stdout.write(sys.version[:3])"`
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
14923 PYTHON_PREFIX='${prefix}'
14925 PYTHON_EXEC_PREFIX='${exec_prefix}'
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
14934 am_cv_python_platform=`$PYTHON -c "import sys; sys.stdout.write(sys.platform)"`
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
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
14948 if test "x$prefix" = xNONE
14950 am_py_prefix=$ac_default_prefix
14952 am_py_prefix=$prefix
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
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,"`
14961 case $am_py_prefix in
14964 am_cv_python_pythondir=$PYTHON_PREFIX/lib/python$PYTHON_VERSION/site-packages
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
14977 pkgpythondir=\${pythondir}/$PACKAGE
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
14985 if test "x$exec_prefix" = xNONE
14987 am_py_exec_prefix=$am_py_prefix
14989 am_py_exec_prefix=$exec_prefix
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,"`
14998 case $am_py_exec_prefix in
15001 am_cv_python_pyexecdir=$PYTHON_EXEC_PREFIX/lib/python$PYTHON_VERSION/site-packages
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
15014 pkgpyexecdir=\${pyexecdir}/$PACKAGE
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`
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}"
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>
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; }
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
15053 rm -f conftest.err conftest.i conftest.$ac_ext
15054 CPPFLAGS="$save_CPPFLAGS"
15056 if test "x$os_win32" = "xyes"; then
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}"
15064 if test "x$PYTHON_LIB_LOC" = x; then
15065 PYTHON_LIB_LOC="${py_prefix}/lib"
15070 LIBS="$LIBS $PYTHON_LIBS"
15071 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15072 /* end confdefs.h. */
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. */
15080 char Py_Initialize ();
15084 return Py_Initialize ();
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; };
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
15096 rm -f core conftest.err conftest.$ac_objext \
15097 conftest$ac_exeext conftest.$ac_ext
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>
15112 PySignal_SetWakeupFd(0);
15117 if ac_fn_c_try_compile "$LINENO"; then :
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
15127 $as_echo "#define HAVE_PYSIGNAL_SETWAKEUPFD 1" >>confdefs.h
15130 CPPFLAGS=$old_CPPFLAGS
15132 PLATFORM=`$PYTHON -c "import sys; from distutils import util; sys.stdout.write(util.get_platform())"`
15135 # Check whether --enable-thread was given.
15136 if test "${enable_thread+set}" = set; then :
15137 enableval=$enable_thread;
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
15155 except ImportError:
15160 if $PYTHON -c "$prog" 1>&5 2>&5
15162 eval "py_cv_mod_$py_mod_var=yes"
15164 eval "py_cv_mod_$py_mod_var=no"
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; }
15174 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
15175 $as_echo "no" >&6; }
15176 enable_thread=check_for_py3_module
15179 if test "x$enable_thread" = xcheck_for_py3_module; then
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
15192 except ImportError:
15197 if $PYTHON -c "$prog" 1>&5 2>&5
15199 eval "py_cv_mod_$py_mod_var=yes"
15201 eval "py_cv_mod_$py_mod_var=no"
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; }
15211 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
15212 $as_echo "no" >&6; }
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
15223 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
15224 $as_echo "yes" >&6; }
15227 THREADING_CFLAGS="-DDISABLE_THREADING"
15228 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
15229 $as_echo "no" >&6; }
15232 CPPFLAGS="${CPPFLAGS} $THREADING_CFLAGS"
15234 export_dynamic=`(./libtool --config; echo eval echo \\$export_dynamic_flag_spec) | sh`
15236 # Check whether --enable-glibtest was given.
15237 if test "${enable_glibtest+set}" = set; then :
15238 enableval=$enable_glibtest;
15240 enable_glibtest=yes
15244 pkg_config_args=glib-2.0
15245 for module in . gobject $extra_mods
15249 pkg_config_args="$pkg_config_args gmodule-2.0"
15252 pkg_config_args="$pkg_config_args gmodule-no-export-2.0"
15255 pkg_config_args="$pkg_config_args gobject-2.0"
15258 pkg_config_args="$pkg_config_args gthread-2.0"
15261 pkg_config_args="$pkg_config_args $module-2.0"
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
15282 case $PKG_CONFIG in
15284 ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path.
15287 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
15288 for as_dir in $PATH
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
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; }
15310 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
15311 $as_echo "no" >&6; }
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
15325 case $ac_pt_PKG_CONFIG in
15327 ac_cv_path_ac_pt_PKG_CONFIG="$ac_pt_PKG_CONFIG" # Let the user override the test with a path.
15330 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
15331 for as_dir in $PATH
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
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; }
15353 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
15354 $as_echo "no" >&6; }
15357 if test "x$ac_pt_PKG_CONFIG" = x; then
15360 case $cross_compiling:$ac_tool_warned in
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 ;;
15366 PKG_CONFIG=$ac_pt_PKG_CONFIG
15369 PKG_CONFIG="$ac_cv_path_PKG_CONFIG"
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; }
15381 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
15382 $as_echo "no" >&6; }
15389 if test "x$PKG_CONFIG" = x ; then
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; }
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"
15405 if $PKG_CONFIG --atleast-version $min_glib_version $pkg_config_args; then
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`
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"
15435 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15436 /* end confdefs.h. */
15440 #include <stdlib.h>
15445 unsigned int major, minor, micro;
15448 fclose (fopen ("conf.glibtest", "w"));
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, µ) != 3) {
15453 printf("%s, bad version string\n", "$min_glib_version");
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))
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");
15472 else if ((glib_major_version != GLIB_MAJOR_VERSION) ||
15473 (glib_minor_version != GLIB_MINOR_VERSION) ||
15474 (glib_micro_version != GLIB_MICRO_VERSION))
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);
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)))
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");
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");
15510 if ac_fn_c_try_run "$LINENO"; then :
15515 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
15516 conftest.$ac_objext conftest.beam conftest.$ac_ext
15519 CFLAGS="$ac_save_CFLAGS"
15520 LIBS="$ac_save_LIBS"
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; }
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/"
15534 if test -f conf.glibtest ; then
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. */
15551 return ((glib_major_version) || (glib_minor_version) || (glib_micro_version));
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"
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"
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."
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"
15581 GLIB_COMPILE_RESOURCES=""
15582 as_fn_error $? "maybe you want the pygobject-2-4 branch?" "$LINENO" 5
15590 rm -f conf.glibtest
15592 if test -n "$export_dynamic"; then
15593 GLIB_LIBS=`echo $GLIB_LIBS | sed -e "s/$export_dynamic//"`
15595 PYTHON_BASENAME=`basename $PYTHON`
15602 prefix_save=$prefix
15603 exec_prefix_save=$exec_prefix
15605 if test "x$prefix" = "xNONE"; then
15606 prefix=$ac_default_prefix
15608 if test "x$exec_prefix" = "xNONE"; then
15609 exec_prefix=$prefix
15612 full_var="$FROM_VAR"
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
15619 full_var=$new_full_var
15620 DATADIR="$full_var"
15623 prefix=$prefix_save
15624 exec_prefix=$exec_prefix_save
15627 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ffi" >&5
15628 $as_echo_n "checking for ffi... " >&6; }
15630 # Check whether --with-ffi was given.
15631 if test "${with_ffi+set}" = set; then :
15632 withval=$with_ffi; with_libffi=$withval
15637 if test x"$with_libffi" = xno ; then
15642 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for FFI" >&5
15643 $as_echo_n "checking for FFI... " >&6; }
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
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
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
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
15682 if test $pkg_failed = yes; then
15683 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
15684 $as_echo "no" >&6; }
15686 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
15687 _pkg_short_errors_supported=yes
15689 _pkg_short_errors_supported=no
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`
15694 FFI_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "libffi >= 3.0" 2>&1`
15696 # Put the nasty error message in config.log where it belongs
15697 echo "$FFI_PKG_ERRORS" >&5
15700 elif test $pkg_failed = untried; then
15701 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
15702 $as_echo "no" >&6; }
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; }
15712 if test x"$with_libffi" = xyes && test x"$have_libffi" = xno ; then
15713 as_fn_error $? "ffi requested, but not found" "$LINENO" 5
15715 if test x"$have_libffi" = xyes; then
15718 if test "$have_libffi" = "yes"; then
15720 HAVE_LIBFFI_FALSE='#'
15722 HAVE_LIBFFI_TRUE='#'
15732 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GIO" >&5
15733 $as_echo_n "checking for GIO... " >&6; }
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
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
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
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
15772 if test $pkg_failed = yes; then
15773 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
15774 $as_echo "no" >&6; }
15776 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
15777 _pkg_short_errors_supported=yes
15779 _pkg_short_errors_supported=no
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`
15784 GIO_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "gio-2.0 >= 2.31.0" 2>&1`
15786 # Put the nasty error message in config.log where it belongs
15787 echo "$GIO_PKG_ERRORS" >&5
15789 as_fn_error $? "Package requirements (gio-2.0 >= 2.31.0) were not met:
15793 Consider adjusting the PKG_CONFIG_PATH environment variable if you
15794 installed software in a non-standard prefix.
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.
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.
15812 To get pkg-config, see <http://pkg-config.freedesktop.org/>.
15813 See \`config.log' for more details" "$LINENO" 5; }
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; }
15822 # we always need cairo (not pycairo) for building the tests
15825 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for CAIRO" >&5
15826 $as_echo_n "checking for CAIRO... " >&6; }
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
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
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
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
15865 if test $pkg_failed = yes; then
15866 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
15867 $as_echo "no" >&6; }
15869 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
15870 _pkg_short_errors_supported=yes
15872 _pkg_short_errors_supported=no
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`
15877 CAIRO_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "cairo cairo-gobject" 2>&1`
15879 # Put the nasty error message in config.log where it belongs
15880 echo "$CAIRO_PKG_ERRORS" >&5
15882 as_fn_error $? "Package requirements (cairo cairo-gobject) were not met:
15886 Consider adjusting the PKG_CONFIG_PATH environment variable if you
15887 installed software in a non-standard prefix.
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.
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.
15905 To get pkg-config, see <http://pkg-config.freedesktop.org/>.
15906 See \`config.log' for more details" "$LINENO" 5; }
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; }
15915 # Check whether --enable-cairo was given.
15916 if test "${enable_cairo+set}" = set; then :
15917 enableval=$enable_cairo; enable_cairo=$enableval
15925 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GI" >&5
15926 $as_echo_n "checking for GI... " >&6; }
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
15935 ($PKG_CONFIG --exists --print-errors "glib-2.0 >= 2.31.0
15936 gobject-introspection-1.0 >= 1.33.0
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
15944 test "x$?" != "x0" && pkg_failed=yes
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
15958 ($PKG_CONFIG --exists --print-errors "glib-2.0 >= 2.31.0
15959 gobject-introspection-1.0 >= 1.33.0
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
15967 test "x$?" != "x0" && pkg_failed=yes
15977 if test $pkg_failed = yes; then
15978 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
15979 $as_echo "no" >&6; }
15981 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
15982 _pkg_short_errors_supported=yes
15984 _pkg_short_errors_supported=no
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
15991 GI_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "glib-2.0 >= 2.31.0
15992 gobject-introspection-1.0 >= 1.33.0
15995 # Put the nasty error message in config.log where it belongs
15996 echo "$GI_PKG_ERRORS" >&5
15998 as_fn_error $? "Package requirements (glib-2.0 >= 2.31.0
15999 gobject-introspection-1.0 >= 1.33.0
16004 Consider adjusting the PKG_CONFIG_PATH environment variable if you
16005 installed software in a non-standard prefix.
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.
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.
16023 To get pkg-config, see <http://pkg-config.freedesktop.org/>.
16024 See \`config.log' for more details" "$LINENO" 5; }
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; }
16033 GI_DATADIR=$($PKG_CONFIG --variable=gidatadir gobject-introspection-1.0)
16036 if test "$enable_cairo" != no; then
16037 if test $build_py3k = true; then
16040 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for PYCAIRO" >&5
16041 $as_echo_n "checking for PYCAIRO... " >&6; }
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
16049 ($PKG_CONFIG --exists --print-errors "py3cairo >= 1.10.0
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
16056 test "x$?" != "x0" && pkg_failed=yes
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
16069 ($PKG_CONFIG --exists --print-errors "py3cairo >= 1.10.0
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
16076 test "x$?" != "x0" && pkg_failed=yes
16086 if test $pkg_failed = yes; then
16087 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
16088 $as_echo "no" >&6; }
16090 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
16091 _pkg_short_errors_supported=yes
16093 _pkg_short_errors_supported=no
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
16099 PYCAIRO_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "py3cairo >= 1.10.0
16102 # Put the nasty error message in config.log where it belongs
16103 echo "$PYCAIRO_PKG_ERRORS" >&5
16105 as_fn_error $? "Package requirements (py3cairo >= 1.10.0
16108 $PYCAIRO_PKG_ERRORS
16110 Consider adjusting the PKG_CONFIG_PATH environment variable if you
16111 installed software in a non-standard prefix.
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.
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.
16129 To get pkg-config, see <http://pkg-config.freedesktop.org/>.
16130 See \`config.log' for more details" "$LINENO" 5; }
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; }
16141 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for PYCAIRO" >&5
16142 $as_echo_n "checking for PYCAIRO... " >&6; }
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
16150 ($PKG_CONFIG --exists --print-errors "pycairo >= 1.2.0
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
16157 test "x$?" != "x0" && pkg_failed=yes
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
16170 ($PKG_CONFIG --exists --print-errors "pycairo >= 1.2.0
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
16177 test "x$?" != "x0" && pkg_failed=yes
16187 if test $pkg_failed = yes; then
16188 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
16189 $as_echo "no" >&6; }
16191 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
16192 _pkg_short_errors_supported=yes
16194 _pkg_short_errors_supported=no
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
16200 PYCAIRO_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "pycairo >= 1.2.0
16203 # Put the nasty error message in config.log where it belongs
16204 echo "$PYCAIRO_PKG_ERRORS" >&5
16206 as_fn_error $? "Package requirements (pycairo >= 1.2.0
16209 $PYCAIRO_PKG_ERRORS
16211 Consider adjusting the PKG_CONFIG_PATH environment variable if you
16212 installed software in a non-standard prefix.
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.
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.
16230 To get pkg-config, see <http://pkg-config.freedesktop.org/>.
16231 See \`config.log' for more details" "$LINENO" 5; }
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; }
16241 if test "$enable_cairo" = "yes"; then
16243 ENABLE_CAIRO_FALSE='#'
16245 ENABLE_CAIRO_TRUE='#'
16246 ENABLE_CAIRO_FALSE=
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`
16256 if test "x$GCC" = "xyes"; then
16258 case " $CFLAGS " in
16259 *[\ \ ]-Wall[\ \ ]*)
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. */
16277 if ac_fn_c_try_compile "$LINENO"; then :
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"
16291 case " $CFLAGS " in
16292 *[\ \ ]-fno-strict-aliasing[\ \ ]*)
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. */
16310 if ac_fn_c_try_compile "$LINENO"; then :
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"
16329 case " $CFLAGS " in
16330 *[\ \ ]-std=c9x[\ \ ]*)
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. */
16348 if ac_fn_c_try_compile "$LINENO"; then :
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"
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"
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.
16375 # config.status only pays attention to the cache file if you give it
16376 # the --recheck option to rerun configure.
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.
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.
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
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;} ;;
16399 _ | IFS | as_nl) ;; #(
16400 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
16401 *) { eval $ac_var=; unset $ac_var;} ;;
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 \.
16413 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
16416 # `set' quotes correctly as required by POSIX, so do not add quotes.
16417 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
16426 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
16428 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
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"
16438 case $cache_file in #(
16440 mv -f confcache "$cache_file"$$ &&
16441 mv -f "$cache_file"$$ "$cache_file" ;; #(
16443 mv -f confcache "$cache_file" ;;
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;}
16454 test "x$prefix" = xNONE && prefix=$ac_default_prefix
16455 # Let make expand exec_prefix.
16456 test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
16458 DEFS=-DHAVE_CONFIG_H
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'
16472 LIBOBJS=$ac_libobjs
16474 LTLIBOBJS=$ac_ltlibobjs
16477 if test -n "$EXEEXT"; then
16479 am__EXEEXT_FALSE='#'
16481 am__EXEEXT_TRUE='#'
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
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
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
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
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
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
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
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
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
16522 : "${CONFIG_STATUS=./config.status}"
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;}
16529 cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1
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.
16537 ac_cs_recheck=false
16540 SHELL=\${CONFIG_SHELL-$SHELL}
16543 cat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail=1
16544 ## -------------------- ##
16545 ## M4sh Initialization. ##
16546 ## -------------------- ##
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 :
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
16558 case `(set -o) 2>/dev/null` in #(
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'
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'
16588 as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
16589 as_echo_n_body='eval
16593 expr "X$arg" : "X\\(.*\\)$as_nl";
16594 arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
16596 expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
16598 export as_echo_n_body
16599 as_echo_n='sh -c $as_echo_n_body as_echo'
16601 export as_echo_body
16602 as_echo='sh -c $as_echo_body as_echo'
16605 # The user is always right.
16606 if test "${PATH_SEPARATOR+set}" != set; then
16608 (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
16609 (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
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.)
16622 # Find who we are. Look in the path if we contain no directory separator.
16625 *[\\/]* ) as_myself=$0 ;;
16626 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
16627 for as_dir in $PATH
16630 test -z "$as_dir" && as_dir=.
16631 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
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
16642 if test ! -f "$as_myself"; then
16643 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
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 || :
16666 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
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.
16676 as_status=$1; test $as_status -eq 0 && as_status=1
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
16681 $as_echo "$as_me: error: $2" >&2
16682 as_fn_exit $as_status
16686 # as_fn_set_status STATUS
16687 # -----------------------
16688 # Set $? to STATUS, without forking.
16689 as_fn_set_status ()
16692 } # as_fn_set_status
16694 # as_fn_exit STATUS
16695 # -----------------
16696 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
16700 as_fn_set_status $1
16706 # Portably unset VAR.
16709 { eval $1=; unset $1;}
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
16718 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
16719 eval 'as_fn_append ()
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 ()
16743 as_val=`expr "$@" || test $? -eq 1`
16748 if expr a : '\(a\)' >/dev/null 2>&1 &&
16749 test "X`expr 00001 : '.*\(...\)'`" = X001; then
16755 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
16756 as_basename=basename
16761 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
16767 as_me=`$as_basename -- "$0" ||
16768 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
16769 X"$0" : 'X\(//\)$' \| \
16770 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
16772 sed '/^.*\/\([^/][^/]*\)\/*$/{
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
16793 ECHO_C= ECHO_N= ECHO_T=
16794 case `echo -n x` in #(((((
16796 case `echo 'xy\c'` in
16797 *c*) ECHO_T=' ';; # ECHO_T is single tab character.
16799 *) echo `echo ksh88 bug on AIX 6.1` > /dev/null
16806 rm -f conf$$ conf$$.exe conf$$.file
16807 if test -d conf$$.dir; then
16808 rm -f conf$$.dir/conf$$.file
16811 mkdir conf$$.dir 2>/dev/null
16813 if (echo >conf$$.file) 2>/dev/null; then
16814 if ln -s conf$$.file conf$$ 2>/dev/null; then
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 ||
16822 elif ln conf$$.file conf$$ 2>/dev/null; then
16830 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
16831 rmdir conf$$.dir 2>/dev/null
16836 # Create "$as_dir" as a directory, including parents if necessary.
16841 -*) as_dir=./$as_dir;;
16843 test -d "$as_dir" || eval $as_mkdir_p || {
16847 *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
16848 *) as_qdir=$as_dir;;
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\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
16861 /^X\(\/\/\)[^/].*/{
16874 test -d "$as_dir" && break
16876 test -z "$as_dirs" || eval "mkdir $as_dirs"
16877 } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir"
16881 if mkdir -p . 2>/dev/null; then
16882 as_mkdir_p='mkdir -p "$as_dir"'
16884 test -d ./-p && rmdir ./-p
16889 # as_fn_executable_p FILE
16890 # -----------------------
16891 # Test if FILE is an executable regular file.
16892 as_fn_executable_p ()
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
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'"
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'"
16907 ## ----------------------------------- ##
16908 ## Main body of $CONFIG_STATUS script. ##
16909 ## ----------------------------------- ##
16911 test $as_write_fail = 0 && chmod +x $CONFIG_STATUS || ac_write_fail=1
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.
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
16921 CONFIG_FILES = $CONFIG_FILES
16922 CONFIG_HEADERS = $CONFIG_HEADERS
16923 CONFIG_LINKS = $CONFIG_LINKS
16924 CONFIG_COMMANDS = $CONFIG_COMMANDS
16927 on `(hostname || uname -n) 2>/dev/null | sed 1q`
16932 case $ac_config_files in *"
16933 "*) set x $ac_config_files; shift; ac_config_files=$*;;
16936 case $ac_config_headers in *"
16937 "*) set x $ac_config_headers; shift; ac_config_headers=$*;;
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"
16949 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
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.
16955 Usage: $0 [OPTION]... [TAG]...
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
16969 Configuration files:
16972 Configuration headers:
16975 Configuration commands:
16978 Report bugs to <http://bugzilla.gnome.org/enter_bug.cgi?product=pygobject>."
16981 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
16982 ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`"
16984 pygobject config.status 3.3.3.1
16985 configured by $0, generated by GNU Autoconf 2.69,
16986 with options \\"\$ac_cs_config\\"
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."
16997 test -n "\$AWK" || AWK=awk
17000 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
17001 # The default lists apply if the user does not specify any file.
17007 ac_option=`expr "X$1" : 'X\([^=]*\)='`
17008 ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'`
17012 ac_option=`expr "X$1" : 'X\([^=]*\)='`
17024 # Handling of the options.
17025 -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
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 )
17033 --file | --fil | --fi | --f )
17036 *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
17037 '') as_fn_error $? "missing file argument" ;;
17039 as_fn_append CONFIG_FILES " '$ac_optarg'"
17040 ac_need_defaults=false;;
17041 --header | --heade | --head | --hea )
17044 *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
17046 as_fn_append CONFIG_HEADERS " '$ac_optarg'"
17047 ac_need_defaults=false;;
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)
17058 # This is an error.
17059 -*) as_fn_error $? "unrecognized option: \`$1'
17060 Try \`$0 --help' for more information." ;;
17062 *) as_fn_append ac_config_targets " $1"
17063 ac_need_defaults=false ;;
17069 ac_configure_extra_args=
17071 if $ac_cs_silent; then
17073 ac_configure_extra_args="$ac_configure_extra_args --silent"
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
17081 \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6
17082 CONFIG_SHELL='$SHELL'
17083 export CONFIG_SHELL
17088 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
17092 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
17093 ## Running $as_me. ##
17099 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
17103 AMDEP_TRUE="$AMDEP_TRUE" ac_aux_dir="$ac_aux_dir"
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
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"`'
17246 LTCFLAGS='$LTCFLAGS'
17247 compiler='$compiler_DEFAULT'
17249 # A function that is used when there is no print builtin or printf.
17250 func_fallback_echo ()
17252 eval 'cat <<_LTECHO_EOF
17257 # Quote evaled strings.
17274 deplibs_check_method \
17278 sharedlib_from_linklib_cmd \
17281 archiver_list_spec \
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 \
17305 export_dynamic_flag_spec \
17306 whole_archive_flag_spec \
17307 compiler_needs_object \
17309 allow_undefined_flag \
17310 no_undefined_flag \
17311 hardcode_libdir_flag_spec \
17312 hardcode_libdir_separator \
17316 variables_saved_for_relink \
17318 library_names_spec \
17320 install_override_mode \
17324 case \`eval \\\\\$ECHO \\\\""\\\\\$\$var"\\\\"\` in
17325 *[\\\\\\\`\\"\\\$]*)
17326 eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"\\\$\$var\\" | \\\$SED \\"\\\$sed_quote_subst\\"\\\`\\\\\\""
17329 eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
17334 # Double-quote double-evaled strings.
17335 for var in reload_cmds \
17336 old_postinstall_cmds \
17337 old_postuninstall_cmds \
17339 extract_expsyms_cmds \
17340 old_archive_from_new_cmds \
17341 old_archive_from_expsyms_cmds \
17343 archive_expsym_cmds \
17345 module_expsym_cmds \
17346 export_symbols_cmds \
17350 postuninstall_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\\"\\\`\\\\\\""
17359 eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
17364 ac_aux_dir='$ac_aux_dir'
17365 xsi_shell='$xsi_shell'
17366 lt_shell_append='$lt_shell_append'
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
17377 TIMESTAMP='$TIMESTAMP'
17381 ac_aux_dir='$ac_aux_dir'
17387 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
17389 # Handling of arguments.
17390 for ac_config_target in $ac_config_targets
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" ;;
17408 *) as_fn_error $? "invalid argument: \`$ac_config_target'" "$LINENO" 5;;
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
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'.
17432 trap 'exit_status=$?
17433 : "${ac_tmp:=$tmp}"
17434 { test ! -d "$ac_tmp" || rm -fr "$ac_tmp"; } && exit $exit_status
17436 trap 'as_fn_exit 1' 1 2 13 15
17438 # Create a (secure) tmp directory for tmp files.
17441 tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
17445 tmp=./conf$$-$RANDOM
17446 (umask 077 && mkdir "$tmp")
17447 } || as_fn_error $? "cannot create a temporary directory in ." "$LINENO" 5
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
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\'
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
17467 ac_cs_awk_cr=$ac_cr
17470 echo 'BEGIN {' >"$ac_tmp/subs1.awk" &&
17475 echo "cat >conf$$subs.awk <<_ACEOF" &&
17476 echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
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 '^'`
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
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
17489 elif $ac_last_try; then
17490 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
17492 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
17495 rm -f conf$$subs.sh
17497 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
17498 cat >>"\$ac_tmp/subs1.awk" <<\\_ACAWK &&
17502 s/^/S["/; s/!.*/"]=/
17512 s/\(.\{148\}\)..*/\1/
17514 s/["\\]/\\&/g; s/^/"/; s/$/\\n"\\/
17519 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
17526 s/\(.\{148\}\)..*/\1/
17528 s/["\\]/\\&/g; s/^/"/; s/$/"/
17532 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
17537 ' <conf$$subs.awk | sed '
17542 ' >>$CONFIG_STATUS || ac_write_fail=1
17543 rm -f conf$$subs.awk
17544 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
17546 cat >>"\$ac_tmp/subs1.awk" <<_ACAWK &&
17547 for (key in S) S_is_set[key] = 1
17553 nfields = split(line, field, "@")
17555 len = length(field[1])
17556 for (i = 2; i < nfields; i++) {
17558 keylen = length(key)
17559 if (S_is_set[key]) {
17561 line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3)
17562 len += length(value) + length(field[++i])
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"
17578 fi < "$ac_tmp/subs1.awk" > "$ac_tmp/subs.awk" \
17579 || as_fn_error $? "could not setup config files machinery" "$LINENO" 5
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[ ]*=[ ]*/{
17605 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
17606 fi # test -n "$CONFIG_FILES"
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 ||
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.
17620 # Create a delimiter string that does not exist in confdefs.h, to ease
17621 # handling of long lines.
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
17627 elif $ac_last_try; then
17628 as_fn_error $? "could not make $CONFIG_HEADERS" "$LINENO" 5
17630 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
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.
17638 ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]*
17640 s/.\{148\}/&'"$ac_delim"'/g
17643 s/^[ ]*#[ ]*define[ ][ ]*/ /
17650 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\1"]="\2"\
17652 s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\1"]=" \2"/p
17656 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\1"]="\2"\
17657 D["\1"]=" \3\\\\\\n"\\/p
17659 s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\1"]=" \2\\\\\\n"\\/p
17664 s/.\{148\}/&'"$ac_delim"'/g
17669 s/["\\]/\\&/g; s/^/"/; s/$/"/p
17672 s/["\\]/\\&/g; s/^/"/; s/$/\\\\\\n"\\/p
17674 ' <confdefs.h | sed '
17675 s/'"$ac_delim"'/"\\\
17676 "/g' >>$CONFIG_STATUS || ac_write_fail=1
17678 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
17679 for (key in D) D_is_set[key] = 1
17682 /^[\t ]*#[\t ]*(define|undef)[\t ]+$ac_word_re([\t (]|\$)/ {
17684 split(line, arg, " ")
17685 if (arg[1] == "#") {
17689 defundef = substr(arg[1], 2)
17692 split(mac1, mac2, "(") #)
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]
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, "*/"
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"
17717 eval set X " :F $CONFIG_FILES :H $CONFIG_HEADERS :C $CONFIG_COMMANDS"
17722 :[FHLC]) ac_mode=$ac_tag; continue;;
17724 case $ac_mode$ac_tag in
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;;
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 `:'.
17752 *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
17754 as_fn_error 1 "cannot find input file: \`$ac_f'" "$LINENO" 5;;
17756 case $ac_f in *\'*) ac_f=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
17757 as_fn_append ac_file_inputs " '$ac_f'"
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'
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;}
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;;
17780 *:-:* | *:-) cat >"$ac_tmp/stdin" \
17781 || as_fn_error $? "could not create $ac_file" "$LINENO" 5 ;;
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\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
17796 /^X\(\/\/\)[^/].*/{
17809 as_dir="$ac_dir"; as_fn_mkdir_p
17813 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
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/ ;;
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
17829 .) # We are building in place.
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 ;;
17842 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
17852 [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
17853 *) ac_INSTALL=$ac_top_build_prefix$INSTALL ;;
17855 ac_MKDIR_P=$MKDIR_P
17857 [\\/$]* | ?:[\\/]* ) ;;
17858 */*) ac_MKDIR_P=$ac_top_build_prefix$MKDIR_P ;;
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=
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;}
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' ;;
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
17900 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
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
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
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;}
17929 rm -f "$ac_tmp/stdin"
17931 -) cat "$ac_tmp/out" && rm -f "$ac_tmp/out";;
17932 *) rm -f "$ac_file" && mv "$ac_tmp/out" "$ac_file";;
17934 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
17940 if test x"$ac_file" != x-; then
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;}
17951 mv "$ac_tmp/config.h" "$ac_file" \
17952 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
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
17959 # Compute "$ac_file"'s index in $config_headers.
17962 for _am_header in $config_headers :; do
17963 case $_am_header in
17964 $_am_arg | $_am_arg:* )
17967 _am_stamp_count=`expr $_am_stamp_count + 1` ;;
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\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
17980 /^X\(\/\/\)[^/].*/{
17992 s/.*/./; q'`/stamp-h$_am_stamp_count
17995 :C) { $as_echo "$as_me:${as_lineno-$LINENO}: executing $ac_file commands" >&5
17996 $as_echo "$as_me: executing $ac_file commands" >&6;}
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 ;;
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 ||
18029 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
18033 /^X\(\/\/\)[^/].*/{
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
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\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
18077 /^X\(\/\/\)[^/].*/{
18090 as_dir=$dirpart/$fdir; as_fn_mkdir_p
18091 # echo "creating $dirpart/$file"
18092 echo '# dummy' > "$dirpart/$file"
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
18105 cfgfile="${ofile}T"
18106 trap "$RM \"$cfgfile\"; exit 1" 1 2 15
18109 cat <<_LT_EOF >> "$cfgfile"
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.
18117 # Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2003, 2004, 2005,
18118 # 2006, 2007, 2008, 2009, 2010, 2011 Free Software
18120 # Written by Gordon Matzigkeit, 1996
18122 # This file is part of GNU Libtool.
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.
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.
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.
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.
18146 # The names of the tagged configurations supported by this script.
18149 # ### BEGIN LIBTOOL CONFIG
18151 # Whether or not to build static libraries.
18152 build_old_libs=$enable_static
18154 # Assembler program.
18157 # DLL creation program.
18158 DLLTOOL=$lt_DLLTOOL
18160 # Object dumper program.
18161 OBJDUMP=$lt_OBJDUMP
18163 # Which release of libtool.m4 was used?
18164 macro_version=$macro_version
18165 macro_revision=$macro_revision
18167 # Whether or not to build shared libraries.
18168 build_libtool_libs=$enable_shared
18170 # What type of objects to build.
18173 # Whether or not to optimize for fast installation.
18174 fast_install=$enable_fast_install
18176 # Shell to use when invoking shell scripts.
18179 # An echo program that protects backslashes.
18182 # The PATH separator for the build system.
18183 PATH_SEPARATOR=$lt_PATH_SEPARATOR
18186 host_alias=$host_alias
18190 # The build system.
18191 build_alias=$build_alias
18195 # A sed program that does not truncate output.
18198 # Sed that helps us avoid accidentally triggering echo(1) options like -n.
18199 Xsed="\$SED -e 1s/^X//"
18201 # A grep program that handles long lines.
18207 # A literal string matcher.
18210 # A BSD- or MS-compatible name lister.
18213 # Whether we need soft or hard links.
18216 # What is the maximum length of a command?
18217 max_cmd_len=$max_cmd_len
18219 # Object file suffix (normally "o").
18222 # Executable file suffix (normally "").
18225 # whether the shell understands "unset".
18228 # turn spaces into newlines.
18231 # turn newlines into spaces.
18234 # convert \$build file names to \$host format.
18235 to_host_file_cmd=$lt_cv_to_host_file_cmd
18237 # convert \$build files to toolchain format.
18238 to_tool_file_cmd=$lt_cv_to_tool_file_cmd
18240 # Method to check whether dependent libraries are shared objects.
18241 deplibs_check_method=$lt_deplibs_check_method
18243 # Command to use when deplibs_check_method = "file_magic".
18244 file_magic_cmd=$lt_file_magic_cmd
18246 # How to find potential files when deplibs_check_method = "file_magic".
18247 file_magic_glob=$lt_file_magic_glob
18249 # Find potential files using nocaseglob when deplibs_check_method = "file_magic".
18250 want_nocaseglob=$lt_want_nocaseglob
18252 # Command to associate shared and link libraries.
18253 sharedlib_from_linklib_cmd=$lt_sharedlib_from_linklib_cmd
18258 # Flags to create an archive.
18259 AR_FLAGS=$lt_AR_FLAGS
18261 # How to feed a file listing to the archiver.
18262 archiver_list_spec=$lt_archiver_list_spec
18264 # A symbol stripping program.
18267 # Commands used to install an old-style archive.
18269 old_postinstall_cmds=$lt_old_postinstall_cmds
18270 old_postuninstall_cmds=$lt_old_postuninstall_cmds
18272 # Whether to use a lock for old archive extraction.
18273 lock_old_archive_extraction=$lock_old_archive_extraction
18278 # LTCC compiler flags.
18279 LTCFLAGS=$lt_CFLAGS
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
18284 # Transform the output of nm in a proper C declaration.
18285 global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl
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
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
18293 # Specify filename containing input files for \$NM.
18294 nm_file_list_spec=$lt_nm_file_list_spec
18296 # The root where to search for dependent libraries,and in which our libraries should be installed.
18297 lt_sysroot=$lt_sysroot
18299 # The name of the directory that contains temporary libtool files.
18302 # Used to examine libraries when file_magic_cmd begins with "file".
18303 MAGIC_CMD=$MAGIC_CMD
18305 # Must we lock files when doing compilation?
18306 need_locks=$lt_need_locks
18309 MANIFEST_TOOL=$lt_MANIFEST_TOOL
18311 # Tool to manipulate archived DWARF debug symbol files on Mac OS X.
18312 DSYMUTIL=$lt_DSYMUTIL
18314 # Tool to change global to local symbols on Mac OS X.
18317 # Tool to manipulate fat objects and archives on Mac OS X.
18320 # ldd/readelf like tool for Mach-O binaries on Mac OS X.
18323 # ldd/readelf like tool for 64 bit Mach-O binaries on Mac OS X 10.4.
18324 OTOOL64=$lt_OTOOL64
18326 # Old archive suffix (normally "a").
18329 # Shared library suffix (normally ".so").
18330 shrext_cmds=$lt_shrext_cmds
18332 # The commands to extract the exported symbol list from a shared archive.
18333 extract_expsyms_cmds=$lt_extract_expsyms_cmds
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
18339 # Do we need the "lib" prefix for modules?
18340 need_lib_prefix=$need_lib_prefix
18342 # Do we need a version for libraries?
18343 need_version=$need_version
18345 # Library versioning type.
18346 version_type=$version_type
18348 # Shared library runtime path variable.
18349 runpath_var=$runpath_var
18351 # Shared library path variable.
18352 shlibpath_var=$shlibpath_var
18354 # Is shlibpath searched before the hard-coded library search path?
18355 shlibpath_overrides_runpath=$shlibpath_overrides_runpath
18357 # Format of library name prefix.
18358 libname_spec=$lt_libname_spec
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
18364 # The coded name of the library, if different from the real name.
18365 soname_spec=$lt_soname_spec
18367 # Permission mode override for installation of shared libraries.
18368 install_override_mode=$lt_install_override_mode
18370 # Command to use after installation of a shared archive.
18371 postinstall_cmds=$lt_postinstall_cmds
18373 # Command to use after uninstallation of a shared archive.
18374 postuninstall_cmds=$lt_postuninstall_cmds
18376 # Commands used to finish a libtool library installation in a directory.
18377 finish_cmds=$lt_finish_cmds
18379 # As "finish_cmds", except a single script fragment to be evaled but
18381 finish_eval=$lt_finish_eval
18383 # Whether we should hardcode library paths into libraries.
18384 hardcode_into_libs=$hardcode_into_libs
18386 # Compile-time system search path for libraries.
18387 sys_lib_search_path_spec=$lt_sys_lib_search_path_spec
18389 # Run-time system search path for libraries.
18390 sys_lib_dlsearch_path_spec=$lt_sys_lib_dlsearch_path_spec
18392 # Whether dlopen is supported.
18393 dlopen_support=$enable_dlopen
18395 # Whether dlopen of programs is supported.
18396 dlopen_self=$enable_dlopen_self
18398 # Whether dlopen of statically linked programs is supported.
18399 dlopen_self_static=$enable_dlopen_self_static
18401 # Commands to strip libraries.
18402 old_striplib=$lt_old_striplib
18403 striplib=$lt_striplib
18406 # The linker used to build libraries.
18409 # How to create reloadable object files.
18410 reload_flag=$lt_reload_flag
18411 reload_cmds=$lt_reload_cmds
18413 # Commands used to build an old-style archive.
18414 old_archive_cmds=$lt_old_archive_cmds
18416 # A language specific compiler.
18419 # Is the compiler the GNU compiler?
18422 # Compiler flag to turn off builtin functions.
18423 no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag
18425 # Additional compiler flags for building library objects.
18426 pic_flag=$lt_lt_prog_compiler_pic
18428 # How to pass a linker flag through the compiler.
18429 wl=$lt_lt_prog_compiler_wl
18431 # Compiler flag to prevent dynamic linking.
18432 link_static_flag=$lt_lt_prog_compiler_static
18434 # Does compiler simultaneously support -c and -o options?
18435 compiler_c_o=$lt_lt_cv_prog_compiler_c_o
18437 # Whether or not to add -lc for building shared libraries.
18438 build_libtool_need_lc=$archive_cmds_need_lc
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
18443 # Compiler flag to allow reflexive dlopens.
18444 export_dynamic_flag_spec=$lt_export_dynamic_flag_spec
18446 # Compiler flag to generate shared objects directly from archives.
18447 whole_archive_flag_spec=$lt_whole_archive_flag_spec
18449 # Whether the compiler copes with passing no objects directly.
18450 compiler_needs_object=$lt_compiler_needs_object
18452 # Create an old-style archive from a shared archive.
18453 old_archive_from_new_cmds=$lt_old_archive_from_new_cmds
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
18458 # Commands used to build a shared archive.
18459 archive_cmds=$lt_archive_cmds
18460 archive_expsym_cmds=$lt_archive_expsym_cmds
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
18467 # Whether we are building with GNU ld or not.
18468 with_gnu_ld=$lt_with_gnu_ld
18470 # Flag that allows shared libraries with undefined symbols to be built.
18471 allow_undefined_flag=$lt_allow_undefined_flag
18473 # Flag that enforces no undefined symbols.
18474 no_undefined_flag=$lt_no_undefined_flag
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
18480 # Whether we need a single "-rpath" flag with a separated argument.
18481 hardcode_libdir_separator=$lt_hardcode_libdir_separator
18483 # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
18484 # DIR into the resulting binary.
18485 hardcode_direct=$hardcode_direct
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
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
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
18501 # Set to "yes" if building a shared library automatically hardcodes DIR
18502 # into the library and all subsequent libraries and executables linked
18504 hardcode_automatic=$hardcode_automatic
18506 # Set to yes if linker adds runtime paths of dependent libraries
18507 # to runtime path list.
18508 inherit_rpath=$inherit_rpath
18510 # Whether libtool must link a program against all its dependency libraries.
18511 link_all_deplibs=$link_all_deplibs
18513 # Set to "yes" if exported symbols are required.
18514 always_export_symbols=$always_export_symbols
18516 # The commands to list exported symbols.
18517 export_symbols_cmds=$lt_export_symbols_cmds
18519 # Symbols that should not be listed in the preloaded symbols.
18520 exclude_expsyms=$lt_exclude_expsyms
18522 # Symbols that must always be exported.
18523 include_expsyms=$lt_include_expsyms
18525 # Commands necessary for linking programs (against libraries) with templates.
18526 prelink_cmds=$lt_prelink_cmds
18528 # Commands necessary for finishing linking programs.
18529 postlink_cmds=$lt_postlink_cmds
18531 # Specify filename containing input files.
18532 file_list_spec=$lt_file_list_spec
18534 # How to hardcode a shared library path into an executable.
18535 hardcode_action=$hardcode_action
18537 # ### END LIBTOOL CONFIG
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
18549 export COLLECT_NAMES
18556 ltmain="$ac_aux_dir/ltmain.sh"
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)
18566 if test x"$xsi_shell" = xyes; then
18567 sed -e '/^func_dirname ()$/,/^} # func_dirname /c\
18571 \ */*) func_dirname_result="${1%/*}${2}" ;;\
18572 \ * ) func_dirname_result="${3}" ;;\
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=:
18580 sed -e '/^func_basename ()$/,/^} # func_basename /c\
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=:
18590 sed -e '/^func_dirname_and_basename ()$/,/^} # func_dirname_and_basename /c\
18591 func_dirname_and_basename ()\
18594 \ */*) func_dirname_result="${1%/*}${2}" ;;\
18595 \ * ) func_dirname_result="${3}" ;;\
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=:
18604 sed -e '/^func_stripname ()$/,/^} # func_stripname /c\
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=:
18618 sed -e '/^func_split_long_opt ()$/,/^} # func_split_long_opt /c\
18619 func_split_long_opt ()\
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=:
18629 sed -e '/^func_split_short_opt ()$/,/^} # func_split_short_opt /c\
18630 func_split_short_opt ()\
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=:
18640 sed -e '/^func_lo2o ()$/,/^} # func_lo2o /c\
18644 \ *.lo) func_lo2o_result=${1%.lo}.${objext} ;;\
18645 \ *) func_lo2o_result=${1} ;;\
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=:
18653 sed -e '/^func_xform ()$/,/^} # func_xform /c\
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=:
18663 sed -e '/^func_arith ()$/,/^} # func_arith /c\
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=:
18673 sed -e '/^func_len ()$/,/^} # func_len /c\
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=:
18684 if test x"$lt_shell_append" = xyes; then
18685 sed -e '/^func_append ()$/,/^} # func_append /c\
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=:
18695 sed -e '/^func_append_quoted ()$/,/^} # func_append_quoted /c\
18696 func_append_quoted ()\
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=:
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=:
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=:
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;}
18725 mv -f "$cfgfile" "$ofile" ||
18726 (rm -f "$ofile" && cp "$cfgfile" "$ofile" && rm -f "$cfgfile")
18737 ac_clean_files=$ac_clean_files_save
18739 test $ac_write_fail = 0 ||
18740 as_fn_error $? "write failure creating $CONFIG_STATUS" "$LINENO" 5
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
18753 ac_config_status_args=
18754 test "$silent" = yes &&
18755 ac_config_status_args="$ac_config_status_args --quiet"
18757 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
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
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;}
18770 echo "libffi support: $have_libffi"