2 # Guess values for system-dependent variables and create Makefiles.
3 # Generated by GNU Autoconf 2.68 for pygobject 2.28.6.
5 # Report bugs to <http://bugzilla.gnome.org/enter_bug.cgi?product=pygobject>.
8 # Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001,
9 # 2002, 2003, 2004, 2005, 2006, 2007, 2008, 2009, 2010 Free Software
13 # This configure script is free software; the Free Software Foundation
14 # gives unlimited permission to copy, distribute and modify it.
15 ## -------------------- ##
16 ## M4sh Initialization. ##
17 ## -------------------- ##
19 # Be more Bourne compatible
20 DUALCASE=1; export DUALCASE # for MKS sh
21 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :
24 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
25 # is contrary to our usage. Disable this feature.
26 alias -g '${1+"$@"}'='"$@"'
29 case `(set -o) 2>/dev/null` in #(
41 # Printing a long string crashes Solaris 7 /usr/bin/printf.
42 as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
43 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
44 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
45 # Prefer a ksh shell builtin over an external printf program on Solaris,
46 # but without wasting forks for bash or zsh.
47 if test -z "$BASH_VERSION$ZSH_VERSION" \
48 && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
50 as_echo_n='print -rn --'
51 elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
55 if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
56 as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
57 as_echo_n='/usr/ucb/echo -n'
59 as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
64 expr "X$arg" : "X\\(.*\\)$as_nl";
65 arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
67 expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
70 as_echo_n='sh -c $as_echo_n_body as_echo'
73 as_echo='sh -c $as_echo_body as_echo'
76 # The user is always right.
77 if test "${PATH_SEPARATOR+set}" != set; then
79 (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
80 (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
87 # We need space, tab and new line, in precisely that order. Quoting is
88 # there to prevent editors from complaining about space-tab.
89 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
90 # splitting by setting IFS to empty value.)
93 # Find who we are. Look in the path if we contain no directory separator.
96 *[\\/]* ) as_myself=$0 ;;
97 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
101 test -z "$as_dir" && as_dir=.
102 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
108 # We did not find ourselves, most probably we were run as `sh COMMAND'
109 # in which case we are not to be found in the path.
110 if test "x$as_myself" = x; then
113 if test ! -f "$as_myself"; then
114 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
118 # Unset variables that we do not need and which cause bugs (e.g. in
119 # pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1"
120 # suppresses any "Segmentation fault" message there. '((' could
121 # trigger a bug in pdksh 5.2.14.
122 for as_var in BASH_ENV ENV MAIL MAILPATH
123 do eval test x\${$as_var+set} = xset \
124 && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
137 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
139 if test "x$CONFIG_SHELL" = x; then
140 as_bourne_compatible="if test -n \"\${ZSH_VERSION+set}\" && (emulate sh) >/dev/null 2>&1; then :
143 # Pre-4.2 versions of Zsh do word splitting on \${1+\"\$@\"}, which
144 # is contrary to our usage. Disable this feature.
145 alias -g '\${1+\"\$@\"}'='\"\$@\"'
148 case \`(set -o) 2>/dev/null\` in #(
156 as_required="as_fn_return () { (exit \$1); }
157 as_fn_success () { as_fn_return 0; }
158 as_fn_failure () { as_fn_return 1; }
159 as_fn_ret_success () { return 0; }
160 as_fn_ret_failure () { return 1; }
163 as_fn_success || { exitcode=1; echo as_fn_success failed.; }
164 as_fn_failure && { exitcode=1; echo as_fn_failure succeeded.; }
165 as_fn_ret_success || { exitcode=1; echo as_fn_ret_success failed.; }
166 as_fn_ret_failure && { exitcode=1; echo as_fn_ret_failure succeeded.; }
167 if ( set x; as_fn_ret_success y && test x = \"\$1\" ); then :
170 exitcode=1; echo positional parameters were not saved.
172 test x\$exitcode = x0 || exit 1"
173 as_suggested=" as_lineno_1=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_1a=\$LINENO
174 as_lineno_2=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_2a=\$LINENO
175 eval 'test \"x\$as_lineno_1'\$as_run'\" != \"x\$as_lineno_2'\$as_run'\" &&
176 test \"x\`expr \$as_lineno_1'\$as_run' + 1\`\" = \"x\$as_lineno_2'\$as_run'\"' || exit 1
178 test -n \"\${ZSH_VERSION+set}\${BASH_VERSION+set}\" || (
179 ECHO='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
180 ECHO=\$ECHO\$ECHO\$ECHO\$ECHO\$ECHO
181 ECHO=\$ECHO\$ECHO\$ECHO\$ECHO\$ECHO\$ECHO
182 PATH=/empty FPATH=/empty; export PATH FPATH
183 test \"X\`printf %s \$ECHO\`\" = \"X\$ECHO\" \\
184 || test \"X\`print -r -- \$ECHO\`\" = \"X\$ECHO\" ) || exit 1
185 test \$(( 1 + 1 )) = 2 || exit 1"
186 if (eval "$as_required") 2>/dev/null; then :
191 if test x$as_have_required = xyes && (eval "$as_suggested") 2>/dev/null; then :
194 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
196 for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
199 test -z "$as_dir" && as_dir=.
203 for as_base in sh bash ksh sh5; do
204 # Try only shells that exist, to save several forks.
205 as_shell=$as_dir/$as_base
206 if { test -f "$as_shell" || test -f "$as_shell.exe"; } &&
207 { $as_echo "$as_bourne_compatible""$as_required" | as_run=a "$as_shell"; } 2>/dev/null; then :
208 CONFIG_SHELL=$as_shell as_have_required=yes
209 if { $as_echo "$as_bourne_compatible""$as_suggested" | as_run=a "$as_shell"; } 2>/dev/null; then :
217 $as_found || { if { test -f "$SHELL" || test -f "$SHELL.exe"; } &&
218 { $as_echo "$as_bourne_compatible""$as_required" | as_run=a "$SHELL"; } 2>/dev/null; then :
219 CONFIG_SHELL=$SHELL as_have_required=yes
224 if test "x$CONFIG_SHELL" != x; then :
225 # We cannot yet assume a decent shell, so we have to provide a
226 # neutralization value for shells without unset; and this also
227 # works around shells that cannot unset nonexistent variables.
228 # Preserve -v and -x to the replacement shell.
231 (unset BASH_ENV) >/dev/null 2>&1 && unset BASH_ENV ENV
234 *v*x* | *x*v* ) as_opts=-vx ;;
239 exec "$CONFIG_SHELL" $as_opts "$as_myself" ${1+"$@"}
242 if test x$as_have_required = xno; then :
243 $as_echo "$0: This script requires a shell more modern than all"
244 $as_echo "$0: the shells that I found on your system."
245 if test x${ZSH_VERSION+set} = xset ; then
246 $as_echo "$0: In particular, zsh $ZSH_VERSION has bugs and should"
247 $as_echo "$0: be upgraded to zsh 4.3.4 or later."
249 $as_echo "$0: Please tell bug-autoconf@gnu.org and
250 $0: http://bugzilla.gnome.org/enter_bug.cgi?product=pygobject
251 $0: about your system, including any error possibly output
252 $0: before this message. Then install a modern shell, or
253 $0: manually run the script under such a shell if you do
260 SHELL=${CONFIG_SHELL-/bin/sh}
262 # Unset more variables known to interfere with behavior of common tools.
263 CLICOLOR_FORCE= GREP_OPTIONS=
264 unset CLICOLOR_FORCE GREP_OPTIONS
266 ## --------------------- ##
267 ## M4sh Shell Functions. ##
268 ## --------------------- ##
271 # Portably unset VAR.
274 { eval $1=; unset $1;}
278 # as_fn_set_status STATUS
279 # -----------------------
280 # Set $? to STATUS, without forking.
288 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
298 # Create "$as_dir" as a directory, including parents if necessary.
303 -*) as_dir=./$as_dir;;
305 test -d "$as_dir" || eval $as_mkdir_p || {
309 *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
312 as_dirs="'$as_qdir' $as_dirs"
313 as_dir=`$as_dirname -- "$as_dir" ||
314 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
315 X"$as_dir" : 'X\(//\)[^/]' \| \
316 X"$as_dir" : 'X\(//\)$' \| \
317 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
318 $as_echo X"$as_dir" |
319 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
336 test -d "$as_dir" && break
338 test -z "$as_dirs" || eval "mkdir $as_dirs"
339 } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir"
343 # as_fn_append VAR VALUE
344 # ----------------------
345 # Append the text in VALUE to the end of the definition contained in VAR. Take
346 # advantage of any shell optimizations that allow amortized linear growth over
347 # repeated appends, instead of the typical quadratic growth present in naive
349 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
350 eval 'as_fn_append ()
363 # Perform arithmetic evaluation on the ARGs, and store the result in the
364 # global $as_val. Take advantage of shells that can avoid forks. The arguments
365 # must be portable across $(()) and expr.
366 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
374 as_val=`expr "$@" || test $? -eq 1`
379 # as_fn_error STATUS ERROR [LINENO LOG_FD]
380 # ----------------------------------------
381 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
382 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
383 # script with STATUS, using 1 if that was 0.
386 as_status=$1; test $as_status -eq 0 && as_status=1
388 as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
389 $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
391 $as_echo "$as_me: error: $2" >&2
392 as_fn_exit $as_status
395 if expr a : '\(a\)' >/dev/null 2>&1 &&
396 test "X`expr 00001 : '.*\(...\)'`" = X001; then
402 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
408 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
414 as_me=`$as_basename -- "$0" ||
415 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
416 X"$0" : 'X\(//\)$' \| \
417 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
419 sed '/^.*\/\([^/][^/]*\)\/*$/{
433 # Avoid depending upon Character Ranges.
434 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
435 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
436 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
437 as_cr_digits='0123456789'
438 as_cr_alnum=$as_cr_Letters$as_cr_digits
441 as_lineno_1=$LINENO as_lineno_1a=$LINENO
442 as_lineno_2=$LINENO as_lineno_2a=$LINENO
443 eval 'test "x$as_lineno_1'$as_run'" != "x$as_lineno_2'$as_run'" &&
444 test "x`expr $as_lineno_1'$as_run' + 1`" = "x$as_lineno_2'$as_run'"' || {
445 # Blame Lee E. McMahon (1931-1989) for sed's syntax. :-)
457 s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
461 chmod +x "$as_me.lineno" ||
462 { $as_echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2; as_fn_exit 1; }
464 # Don't try to exec as it changes $[0], causing all sort of problems
465 # (the dirname of $[0] is not the place where we might find the
466 # original and so on. Autoconf is especially sensitive to this).
468 # Exit status is that of the last command.
472 ECHO_C= ECHO_N= ECHO_T=
473 case `echo -n x` in #(((((
475 case `echo 'xy\c'` in
476 *c*) ECHO_T=' ';; # ECHO_T is single tab character.
478 *) echo `echo ksh88 bug on AIX 6.1` > /dev/null
485 rm -f conf$$ conf$$.exe conf$$.file
486 if test -d conf$$.dir; then
487 rm -f conf$$.dir/conf$$.file
490 mkdir conf$$.dir 2>/dev/null
492 if (echo >conf$$.file) 2>/dev/null; then
493 if ln -s conf$$.file conf$$ 2>/dev/null; then
495 # ... but there are two gotchas:
496 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
497 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
498 # In both cases, we have to default to `cp -p'.
499 ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
501 elif ln conf$$.file conf$$ 2>/dev/null; then
509 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
510 rmdir conf$$.dir 2>/dev/null
512 if mkdir -p . 2>/dev/null; then
513 as_mkdir_p='mkdir -p "$as_dir"'
515 test -d ./-p && rmdir ./-p
519 if test -x / >/dev/null 2>&1; then
522 if ls -dL / >/dev/null 2>&1; then
529 if test -d "$1"; then
535 case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in #((
536 ???[sx]*):;;*)false;;esac;fi
540 as_executable_p=$as_test_x
542 # Sed expression to map a string onto a valid CPP name.
543 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
545 # Sed expression to map a string onto a valid variable name.
546 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
548 SHELL=${CONFIG_SHELL-/bin/sh}
551 test -n "$DJDIR" || exec 7<&0 </dev/null
555 # hostname on some systems (SVR3.2, old GNU/Linux) returns a bogus exit status,
556 # so uname gets run too.
557 ac_hostname=`(hostname || uname -n) 2>/dev/null | sed 1q`
562 ac_default_prefix=/usr/local
564 ac_config_libobj_dir=.
571 # Identity of this package.
572 PACKAGE_NAME='pygobject'
573 PACKAGE_TARNAME='pygobject'
574 PACKAGE_VERSION='2.28.6'
575 PACKAGE_STRING='pygobject 2.28.6'
576 PACKAGE_BUGREPORT='http://bugzilla.gnome.org/enter_bug.cgi?product=pygobject'
579 ac_unique_file="gobject/gobjectmodule.c"
580 # Factoring default headers for most tests.
581 ac_includes_default="\
583 #ifdef HAVE_SYS_TYPES_H
584 # include <sys/types.h>
586 #ifdef HAVE_SYS_STAT_H
587 # include <sys/stat.h>
593 # ifdef HAVE_STDLIB_H
598 # if !defined STDC_HEADERS && defined HAVE_MEMORY_H
603 #ifdef HAVE_STRINGS_H
604 # include <strings.h>
606 #ifdef HAVE_INTTYPES_H
607 # include <inttypes.h>
616 ac_subst_vars='am__EXEEXT_FALSE
620 INTROSPECTION_COMPILER
621 INTROSPECTION_SCANNER
624 ENABLE_INTROSPECTION_FALSE
625 ENABLE_INTROSPECTION_TRUE
645 pygobject_CODEGEN_DEFINES
722 MAINTAINER_MODE_FALSE
732 INSTALL_STRIP_PROGRAM
749 PYGOBJECT_MICRO_VERSION
750 PYGOBJECT_MINOR_VERSION
751 PYGOBJECT_MAJOR_VERSION
780 program_transform_name
793 enable_option_checking
795 enable_maintainer_mode
800 enable_dependency_tracking
811 ac_precious_vars='build_alias
835 # Initialize some variables set by options.
837 ac_init_version=false
838 ac_unrecognized_opts=
840 # The variables have the same names as the options, with
841 # dashes changed to underlines.
849 program_transform_name=s,x,x,
857 # Installation directory options.
858 # These are left unexpanded so users can "make install exec_prefix=/foo"
859 # and all the variables that are supposed to be based on exec_prefix
860 # by default will actually change.
861 # Use braces instead of parens because sh, perl, etc. also accept them.
862 # (The list follows the same order as the GNU Coding Standards.)
863 bindir='${exec_prefix}/bin'
864 sbindir='${exec_prefix}/sbin'
865 libexecdir='${exec_prefix}/libexec'
866 datarootdir='${prefix}/share'
867 datadir='${datarootdir}'
868 sysconfdir='${prefix}/etc'
869 sharedstatedir='${prefix}/com'
870 localstatedir='${prefix}/var'
871 includedir='${prefix}/include'
872 oldincludedir='/usr/include'
873 docdir='${datarootdir}/doc/${PACKAGE_TARNAME}'
874 infodir='${datarootdir}/info'
879 libdir='${exec_prefix}/lib'
880 localedir='${datarootdir}/locale'
881 mandir='${datarootdir}/man'
887 # If the previous option needs an argument, assign it.
888 if test -n "$ac_prev"; then
889 eval $ac_prev=\$ac_option
895 *=?*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
900 # Accept the important Cygnus configure options, so we can diagnose typos.
902 case $ac_dashdash$ac_option in
906 -bindir | --bindir | --bindi | --bind | --bin | --bi)
908 -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
911 -build | --build | --buil | --bui | --bu)
912 ac_prev=build_alias ;;
913 -build=* | --build=* | --buil=* | --bui=* | --bu=*)
914 build_alias=$ac_optarg ;;
916 -cache-file | --cache-file | --cache-fil | --cache-fi \
917 | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
918 ac_prev=cache_file ;;
919 -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
920 | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
921 cache_file=$ac_optarg ;;
924 cache_file=config.cache ;;
926 -datadir | --datadir | --datadi | --datad)
928 -datadir=* | --datadir=* | --datadi=* | --datad=*)
929 datadir=$ac_optarg ;;
931 -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \
932 | --dataroo | --dataro | --datar)
933 ac_prev=datarootdir ;;
934 -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \
935 | --dataroot=* | --dataroo=* | --dataro=* | --datar=*)
936 datarootdir=$ac_optarg ;;
938 -disable-* | --disable-*)
939 ac_useropt=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
940 # Reject names that are not valid shell variable names.
941 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
942 as_fn_error $? "invalid feature name: $ac_useropt"
943 ac_useropt_orig=$ac_useropt
944 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
945 case $ac_user_opts in
949 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig"
950 ac_unrecognized_sep=', ';;
952 eval enable_$ac_useropt=no ;;
954 -docdir | --docdir | --docdi | --doc | --do)
956 -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*)
959 -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv)
961 -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*)
964 -enable-* | --enable-*)
965 ac_useropt=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
966 # Reject names that are not valid shell variable names.
967 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
968 as_fn_error $? "invalid feature name: $ac_useropt"
969 ac_useropt_orig=$ac_useropt
970 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
971 case $ac_user_opts in
975 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig"
976 ac_unrecognized_sep=', ';;
978 eval enable_$ac_useropt=\$ac_optarg ;;
980 -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
981 | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
982 | --exec | --exe | --ex)
983 ac_prev=exec_prefix ;;
984 -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
985 | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
986 | --exec=* | --exe=* | --ex=*)
987 exec_prefix=$ac_optarg ;;
989 -gas | --gas | --ga | --g)
990 # Obsolete; use --with-gas.
993 -help | --help | --hel | --he | -h)
995 -help=r* | --help=r* | --hel=r* | --he=r* | -hr*)
996 ac_init_help=recursive ;;
997 -help=s* | --help=s* | --hel=s* | --he=s* | -hs*)
998 ac_init_help=short ;;
1000 -host | --host | --hos | --ho)
1001 ac_prev=host_alias ;;
1002 -host=* | --host=* | --hos=* | --ho=*)
1003 host_alias=$ac_optarg ;;
1005 -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht)
1007 -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \
1009 htmldir=$ac_optarg ;;
1011 -includedir | --includedir | --includedi | --included | --include \
1012 | --includ | --inclu | --incl | --inc)
1013 ac_prev=includedir ;;
1014 -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
1015 | --includ=* | --inclu=* | --incl=* | --inc=*)
1016 includedir=$ac_optarg ;;
1018 -infodir | --infodir | --infodi | --infod | --info | --inf)
1020 -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
1021 infodir=$ac_optarg ;;
1023 -libdir | --libdir | --libdi | --libd)
1025 -libdir=* | --libdir=* | --libdi=* | --libd=*)
1026 libdir=$ac_optarg ;;
1028 -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
1029 | --libexe | --libex | --libe)
1030 ac_prev=libexecdir ;;
1031 -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
1032 | --libexe=* | --libex=* | --libe=*)
1033 libexecdir=$ac_optarg ;;
1035 -localedir | --localedir | --localedi | --localed | --locale)
1036 ac_prev=localedir ;;
1037 -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*)
1038 localedir=$ac_optarg ;;
1040 -localstatedir | --localstatedir | --localstatedi | --localstated \
1041 | --localstate | --localstat | --localsta | --localst | --locals)
1042 ac_prev=localstatedir ;;
1043 -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
1044 | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*)
1045 localstatedir=$ac_optarg ;;
1047 -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
1049 -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
1050 mandir=$ac_optarg ;;
1052 -nfp | --nfp | --nf)
1053 # Obsolete; use --without-fp.
1056 -no-create | --no-create | --no-creat | --no-crea | --no-cre \
1057 | --no-cr | --no-c | -n)
1060 -no-recursion | --no-recursion | --no-recursio | --no-recursi \
1061 | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
1064 -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
1065 | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
1066 | --oldin | --oldi | --old | --ol | --o)
1067 ac_prev=oldincludedir ;;
1068 -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
1069 | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
1070 | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
1071 oldincludedir=$ac_optarg ;;
1073 -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
1075 -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
1076 prefix=$ac_optarg ;;
1078 -program-prefix | --program-prefix | --program-prefi | --program-pref \
1079 | --program-pre | --program-pr | --program-p)
1080 ac_prev=program_prefix ;;
1081 -program-prefix=* | --program-prefix=* | --program-prefi=* \
1082 | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
1083 program_prefix=$ac_optarg ;;
1085 -program-suffix | --program-suffix | --program-suffi | --program-suff \
1086 | --program-suf | --program-su | --program-s)
1087 ac_prev=program_suffix ;;
1088 -program-suffix=* | --program-suffix=* | --program-suffi=* \
1089 | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
1090 program_suffix=$ac_optarg ;;
1092 -program-transform-name | --program-transform-name \
1093 | --program-transform-nam | --program-transform-na \
1094 | --program-transform-n | --program-transform- \
1095 | --program-transform | --program-transfor \
1096 | --program-transfo | --program-transf \
1097 | --program-trans | --program-tran \
1098 | --progr-tra | --program-tr | --program-t)
1099 ac_prev=program_transform_name ;;
1100 -program-transform-name=* | --program-transform-name=* \
1101 | --program-transform-nam=* | --program-transform-na=* \
1102 | --program-transform-n=* | --program-transform-=* \
1103 | --program-transform=* | --program-transfor=* \
1104 | --program-transfo=* | --program-transf=* \
1105 | --program-trans=* | --program-tran=* \
1106 | --progr-tra=* | --program-tr=* | --program-t=*)
1107 program_transform_name=$ac_optarg ;;
1109 -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd)
1111 -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*)
1112 pdfdir=$ac_optarg ;;
1114 -psdir | --psdir | --psdi | --psd | --ps)
1116 -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*)
1119 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1120 | -silent | --silent | --silen | --sile | --sil)
1123 -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
1125 -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
1127 sbindir=$ac_optarg ;;
1129 -sharedstatedir | --sharedstatedir | --sharedstatedi \
1130 | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
1131 | --sharedst | --shareds | --shared | --share | --shar \
1133 ac_prev=sharedstatedir ;;
1134 -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
1135 | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
1136 | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
1138 sharedstatedir=$ac_optarg ;;
1140 -site | --site | --sit)
1142 -site=* | --site=* | --sit=*)
1145 -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
1147 -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
1148 srcdir=$ac_optarg ;;
1150 -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
1151 | --syscon | --sysco | --sysc | --sys | --sy)
1152 ac_prev=sysconfdir ;;
1153 -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
1154 | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
1155 sysconfdir=$ac_optarg ;;
1157 -target | --target | --targe | --targ | --tar | --ta | --t)
1158 ac_prev=target_alias ;;
1159 -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
1160 target_alias=$ac_optarg ;;
1162 -v | -verbose | --verbose | --verbos | --verbo | --verb)
1165 -version | --version | --versio | --versi | --vers | -V)
1166 ac_init_version=: ;;
1169 ac_useropt=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
1170 # Reject names that are not valid shell variable names.
1171 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1172 as_fn_error $? "invalid package name: $ac_useropt"
1173 ac_useropt_orig=$ac_useropt
1174 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1175 case $ac_user_opts in
1179 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig"
1180 ac_unrecognized_sep=', ';;
1182 eval with_$ac_useropt=\$ac_optarg ;;
1184 -without-* | --without-*)
1185 ac_useropt=`expr "x$ac_option" : 'x-*without-\(.*\)'`
1186 # Reject names that are not valid shell variable names.
1187 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1188 as_fn_error $? "invalid package name: $ac_useropt"
1189 ac_useropt_orig=$ac_useropt
1190 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1191 case $ac_user_opts in
1195 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig"
1196 ac_unrecognized_sep=', ';;
1198 eval with_$ac_useropt=no ;;
1201 # Obsolete; use --with-x.
1204 -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
1205 | --x-incl | --x-inc | --x-in | --x-i)
1206 ac_prev=x_includes ;;
1207 -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
1208 | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
1209 x_includes=$ac_optarg ;;
1211 -x-libraries | --x-libraries | --x-librarie | --x-librari \
1212 | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
1213 ac_prev=x_libraries ;;
1214 -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
1215 | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
1216 x_libraries=$ac_optarg ;;
1218 -*) as_fn_error $? "unrecognized option: \`$ac_option'
1219 Try \`$0 --help' for more information"
1223 ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
1224 # Reject names that are not valid shell variable names.
1225 case $ac_envvar in #(
1226 '' | [0-9]* | *[!_$as_cr_alnum]* )
1227 as_fn_error $? "invalid variable name: \`$ac_envvar'" ;;
1229 eval $ac_envvar=\$ac_optarg
1230 export $ac_envvar ;;
1233 # FIXME: should be removed in autoconf 3.0.
1234 $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2
1235 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
1236 $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2
1237 : "${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}"
1243 if test -n "$ac_prev"; then
1244 ac_option=--`echo $ac_prev | sed 's/_/-/g'`
1245 as_fn_error $? "missing argument to $ac_option"
1248 if test -n "$ac_unrecognized_opts"; then
1249 case $enable_option_checking in
1251 fatal) as_fn_error $? "unrecognized options: $ac_unrecognized_opts" ;;
1252 *) $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;;
1256 # Check all directory arguments for consistency.
1257 for ac_var in exec_prefix prefix bindir sbindir libexecdir datarootdir \
1258 datadir sysconfdir sharedstatedir localstatedir includedir \
1259 oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
1260 libdir localedir mandir
1262 eval ac_val=\$$ac_var
1263 # Remove trailing slashes.
1266 ac_val=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'`
1267 eval $ac_var=\$ac_val;;
1269 # Be sure to have absolute directory names.
1271 [\\/$]* | ?:[\\/]* ) continue;;
1272 NONE | '' ) case $ac_var in *prefix ) continue;; esac;;
1274 as_fn_error $? "expected an absolute directory name for --$ac_var: $ac_val"
1277 # There might be people who depend on the old broken behavior: `$host'
1278 # used to hold the argument of --host etc.
1279 # FIXME: To remove some day.
1282 target=$target_alias
1284 # FIXME: To remove some day.
1285 if test "x$host_alias" != x; then
1286 if test "x$build_alias" = x; then
1287 cross_compiling=maybe
1288 $as_echo "$as_me: WARNING: if you wanted to set the --build type, don't use --host.
1289 If a cross compiler is detected then cross compile mode will be used" >&2
1290 elif test "x$build_alias" != "x$host_alias"; then
1296 test -n "$host_alias" && ac_tool_prefix=$host_alias-
1298 test "$silent" = yes && exec 6>/dev/null
1301 ac_pwd=`pwd` && test -n "$ac_pwd" &&
1302 ac_ls_di=`ls -di .` &&
1303 ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` ||
1304 as_fn_error $? "working directory cannot be determined"
1305 test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
1306 as_fn_error $? "pwd does not report name of working directory"
1309 # Find the source files, if location was not specified.
1310 if test -z "$srcdir"; then
1311 ac_srcdir_defaulted=yes
1312 # Try the directory containing this script, then the parent directory.
1313 ac_confdir=`$as_dirname -- "$as_myself" ||
1314 $as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
1315 X"$as_myself" : 'X\(//\)[^/]' \| \
1316 X"$as_myself" : 'X\(//\)$' \| \
1317 X"$as_myself" : 'X\(/\)' \| . 2>/dev/null ||
1318 $as_echo X"$as_myself" |
1319 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
1337 if test ! -r "$srcdir/$ac_unique_file"; then
1341 ac_srcdir_defaulted=no
1343 if test ! -r "$srcdir/$ac_unique_file"; then
1344 test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .."
1345 as_fn_error $? "cannot find sources ($ac_unique_file) in $srcdir"
1347 ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work"
1349 cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error $? "$ac_msg"
1351 # When building in place, set srcdir=.
1352 if test "$ac_abs_confdir" = "$ac_pwd"; then
1355 # Remove unnecessary trailing slashes from srcdir.
1356 # Double slashes in file names in object file debugging info
1357 # mess up M-x gdb in Emacs.
1359 */) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
1361 for ac_var in $ac_precious_vars; do
1362 eval ac_env_${ac_var}_set=\${${ac_var}+set}
1363 eval ac_env_${ac_var}_value=\$${ac_var}
1364 eval ac_cv_env_${ac_var}_set=\${${ac_var}+set}
1365 eval ac_cv_env_${ac_var}_value=\$${ac_var}
1369 # Report the --help message.
1371 if test "$ac_init_help" = "long"; then
1372 # Omit some internal or obsolete options to make the list less imposing.
1373 # This message is too long to be a string in the A/UX 3.1 sh.
1375 \`configure' configures pygobject 2.28.6 to adapt to many kinds of systems.
1377 Usage: $0 [OPTION]... [VAR=VALUE]...
1379 To assign environment variables (e.g., CC, CFLAGS...), specify them as
1380 VAR=VALUE. See below for descriptions of some of the useful variables.
1382 Defaults for the options are specified in brackets.
1385 -h, --help display this help and exit
1386 --help=short display options specific to this package
1387 --help=recursive display the short help of all the included packages
1388 -V, --version display version information and exit
1389 -q, --quiet, --silent do not print \`checking ...' messages
1390 --cache-file=FILE cache test results in FILE [disabled]
1391 -C, --config-cache alias for \`--cache-file=config.cache'
1392 -n, --no-create do not create output files
1393 --srcdir=DIR find the sources in DIR [configure dir or \`..']
1395 Installation directories:
1396 --prefix=PREFIX install architecture-independent files in PREFIX
1397 [$ac_default_prefix]
1398 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
1401 By default, \`make install' will install all the files in
1402 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
1403 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
1404 for instance \`--prefix=\$HOME'.
1406 For better control, use the options below.
1408 Fine tuning of the installation directories:
1409 --bindir=DIR user executables [EPREFIX/bin]
1410 --sbindir=DIR system admin executables [EPREFIX/sbin]
1411 --libexecdir=DIR program executables [EPREFIX/libexec]
1412 --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
1413 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
1414 --localstatedir=DIR modifiable single-machine data [PREFIX/var]
1415 --libdir=DIR object code libraries [EPREFIX/lib]
1416 --includedir=DIR C header files [PREFIX/include]
1417 --oldincludedir=DIR C header files for non-gcc [/usr/include]
1418 --datarootdir=DIR read-only arch.-independent data root [PREFIX/share]
1419 --datadir=DIR read-only architecture-independent data [DATAROOTDIR]
1420 --infodir=DIR info documentation [DATAROOTDIR/info]
1421 --localedir=DIR locale-dependent data [DATAROOTDIR/locale]
1422 --mandir=DIR man documentation [DATAROOTDIR/man]
1423 --docdir=DIR documentation root [DATAROOTDIR/doc/pygobject]
1424 --htmldir=DIR html documentation [DOCDIR]
1425 --dvidir=DIR dvi documentation [DOCDIR]
1426 --pdfdir=DIR pdf documentation [DOCDIR]
1427 --psdir=DIR ps documentation [DOCDIR]
1433 --program-prefix=PREFIX prepend PREFIX to installed program names
1434 --program-suffix=SUFFIX append SUFFIX to installed program names
1435 --program-transform-name=PROGRAM run sed PROGRAM on installed program names
1438 --build=BUILD configure for building on BUILD [guessed]
1439 --host=HOST cross-compile to build programs to run on HOST [BUILD]
1443 if test -n "$ac_init_help"; then
1444 case $ac_init_help in
1445 short | recursive ) echo "Configuration of pygobject 2.28.6:";;
1450 --disable-option-checking ignore unrecognized --enable/--with options
1451 --disable-FEATURE do not include FEATURE (same as --enable-FEATURE=no)
1452 --enable-FEATURE[=ARG] include FEATURE [ARG=yes]
1453 --enable-silent-rules less verbose build output (undo: `make V=1')
1454 --disable-silent-rules verbose build output (undo: `make V=0')
1455 --enable-maintainer-mode enable make rules and dependencies not useful
1456 (and sometimes confusing) to the casual installer
1457 --enable-static[=PKGS] build static libraries [default=no]
1458 --enable-shared[=PKGS] build shared libraries [default=yes]
1459 --enable-fast-install[=PKGS]
1460 optimize for fast installation [default=yes]
1461 --disable-dependency-tracking speeds up one-time build
1462 --enable-dependency-tracking do not reject slow dependency extractors
1463 --disable-libtool-lock avoid locking (might break parallel builds)
1464 --disable-thread Disable pygobject threading support
1465 --enable-docs Enable documentation building
1466 --disable-glibtest do not try to compile and run a test GLIB program
1467 --enable-cairo Enable Cairo bindings using introspection
1469 --enable-introspection Use introspection information
1472 --with-PACKAGE[=ARG] use PACKAGE [ARG=yes]
1473 --without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no)
1474 --with-pic try to use only PIC/non-PIC objects [default=use
1476 --with-gnu-ld assume the C compiler uses GNU ld [default=no]
1477 --with-sysroot=DIR Search for dependent libraries within DIR
1478 (or the compiler's sysroot if not specified).
1479 --without-ffi Disable libffi support
1481 Some influential environment variables:
1482 CC C compiler command
1483 CFLAGS C compiler flags
1484 LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a
1485 nonstandard directory <lib dir>
1486 LIBS libraries to pass to the linker, e.g. -l<library>
1487 CPPFLAGS (Objective) C/C++ preprocessor flags, e.g. -I<include dir> if
1488 you have headers in a nonstandard directory <include dir>
1490 PKG_CONFIG path to pkg-config utility
1492 directories to add to pkg-config's search path
1494 path overriding pkg-config's built-in search path
1495 FFI_CFLAGS C compiler flags for FFI, overriding pkg-config
1496 FFI_LIBS linker flags for FFI, overriding pkg-config
1497 GIO_CFLAGS C compiler flags for GIO, overriding pkg-config
1498 GIO_LIBS linker flags for GIO, overriding pkg-config
1500 C compiler flags for GIOUNIX, overriding pkg-config
1502 linker flags for GIOUNIX, overriding pkg-config
1503 GI_CFLAGS C compiler flags for GI, overriding pkg-config
1504 GI_LIBS linker flags for GI, overriding pkg-config
1506 C compiler flags for PYCAIRO, overriding pkg-config
1508 linker flags for PYCAIRO, overriding pkg-config
1510 Use these variables to override the choices made by `configure' or to help
1511 it to find libraries and programs with nonstandard names/locations.
1513 Report bugs to <http://bugzilla.gnome.org/enter_bug.cgi?product=pygobject>.
1518 if test "$ac_init_help" = "recursive"; then
1519 # If there are subdirs, report their specific --help.
1520 for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
1521 test -d "$ac_dir" ||
1522 { cd "$srcdir" && ac_pwd=`pwd` && srcdir=. && test -d "$ac_dir"; } ||
1527 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
1529 ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
1530 # A ".." for each directory in $ac_dir_suffix.
1531 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
1532 case $ac_top_builddir_sub in
1533 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
1534 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
1537 ac_abs_top_builddir=$ac_pwd
1538 ac_abs_builddir=$ac_pwd$ac_dir_suffix
1539 # for backward compatibility:
1540 ac_top_builddir=$ac_top_build_prefix
1543 .) # We are building in place.
1545 ac_top_srcdir=$ac_top_builddir_sub
1546 ac_abs_top_srcdir=$ac_pwd ;;
1547 [\\/]* | ?:[\\/]* ) # Absolute name.
1548 ac_srcdir=$srcdir$ac_dir_suffix;
1549 ac_top_srcdir=$srcdir
1550 ac_abs_top_srcdir=$srcdir ;;
1552 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
1553 ac_top_srcdir=$ac_top_build_prefix$srcdir
1554 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
1556 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
1558 cd "$ac_dir" || { ac_status=$?; continue; }
1559 # Check for guested configure.
1560 if test -f "$ac_srcdir/configure.gnu"; then
1562 $SHELL "$ac_srcdir/configure.gnu" --help=recursive
1563 elif test -f "$ac_srcdir/configure"; then
1565 $SHELL "$ac_srcdir/configure" --help=recursive
1567 $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
1569 cd "$ac_pwd" || { ac_status=$?; break; }
1573 test -n "$ac_init_help" && exit $ac_status
1574 if $ac_init_version; then
1576 pygobject configure 2.28.6
1577 generated by GNU Autoconf 2.68
1579 Copyright (C) 2010 Free Software Foundation, Inc.
1580 This configure script is free software; the Free Software Foundation
1581 gives unlimited permission to copy, distribute and modify it.
1586 ## ------------------------ ##
1587 ## Autoconf initialization. ##
1588 ## ------------------------ ##
1590 # ac_fn_c_try_compile LINENO
1591 # --------------------------
1592 # Try to compile conftest.$ac_ext, and return whether this succeeded.
1593 ac_fn_c_try_compile ()
1595 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1596 rm -f conftest.$ac_objext
1597 if { { ac_try="$ac_compile"
1599 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1600 *) ac_try_echo=$ac_try;;
1602 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1603 $as_echo "$ac_try_echo"; } >&5
1604 (eval "$ac_compile") 2>conftest.err
1606 if test -s conftest.err; then
1607 grep -v '^ *+' conftest.err >conftest.er1
1608 cat conftest.er1 >&5
1609 mv -f conftest.er1 conftest.err
1611 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1612 test $ac_status = 0; } && {
1613 test -z "$ac_c_werror_flag" ||
1614 test ! -s conftest.err
1615 } && test -s conftest.$ac_objext; then :
1618 $as_echo "$as_me: failed program was:" >&5
1619 sed 's/^/| /' conftest.$ac_ext >&5
1623 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1624 as_fn_set_status $ac_retval
1626 } # ac_fn_c_try_compile
1628 # ac_fn_c_try_link LINENO
1629 # -----------------------
1630 # Try to link conftest.$ac_ext, and return whether this succeeded.
1633 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1634 rm -f conftest.$ac_objext conftest$ac_exeext
1635 if { { ac_try="$ac_link"
1637 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1638 *) ac_try_echo=$ac_try;;
1640 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1641 $as_echo "$ac_try_echo"; } >&5
1642 (eval "$ac_link") 2>conftest.err
1644 if test -s conftest.err; then
1645 grep -v '^ *+' conftest.err >conftest.er1
1646 cat conftest.er1 >&5
1647 mv -f conftest.er1 conftest.err
1649 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1650 test $ac_status = 0; } && {
1651 test -z "$ac_c_werror_flag" ||
1652 test ! -s conftest.err
1653 } && test -s conftest$ac_exeext && {
1654 test "$cross_compiling" = yes ||
1655 $as_test_x conftest$ac_exeext
1659 $as_echo "$as_me: failed program was:" >&5
1660 sed 's/^/| /' conftest.$ac_ext >&5
1664 # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
1665 # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
1666 # interfere with the next link command; also delete a directory that is
1667 # left behind by Apple's compiler. We do this before executing the actions.
1668 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
1669 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1670 as_fn_set_status $ac_retval
1672 } # ac_fn_c_try_link
1674 # ac_fn_c_check_header_compile LINENO HEADER VAR INCLUDES
1675 # -------------------------------------------------------
1676 # Tests whether HEADER exists and can be compiled using the include files in
1677 # INCLUDES, setting the cache variable VAR accordingly.
1678 ac_fn_c_check_header_compile ()
1680 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1681 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1682 $as_echo_n "checking for $2... " >&6; }
1683 if eval \${$3+:} false; then :
1684 $as_echo_n "(cached) " >&6
1686 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1687 /* end confdefs.h. */
1691 if ac_fn_c_try_compile "$LINENO"; then :
1696 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1699 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1700 $as_echo "$ac_res" >&6; }
1701 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1703 } # ac_fn_c_check_header_compile
1705 # ac_fn_c_try_cpp LINENO
1706 # ----------------------
1707 # Try to preprocess conftest.$ac_ext, and return whether this succeeded.
1710 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1711 if { { ac_try="$ac_cpp conftest.$ac_ext"
1713 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1714 *) ac_try_echo=$ac_try;;
1716 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1717 $as_echo "$ac_try_echo"; } >&5
1718 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err
1720 if test -s conftest.err; then
1721 grep -v '^ *+' conftest.err >conftest.er1
1722 cat conftest.er1 >&5
1723 mv -f conftest.er1 conftest.err
1725 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1726 test $ac_status = 0; } > conftest.i && {
1727 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
1728 test ! -s conftest.err
1732 $as_echo "$as_me: failed program was:" >&5
1733 sed 's/^/| /' conftest.$ac_ext >&5
1737 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1738 as_fn_set_status $ac_retval
1742 # ac_fn_c_try_run LINENO
1743 # ----------------------
1744 # Try to link conftest.$ac_ext, and return whether this succeeded. Assumes
1745 # that executables *can* be run.
1748 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1749 if { { ac_try="$ac_link"
1751 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1752 *) ac_try_echo=$ac_try;;
1754 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1755 $as_echo "$ac_try_echo"; } >&5
1756 (eval "$ac_link") 2>&5
1758 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1759 test $ac_status = 0; } && { ac_try='./conftest$ac_exeext'
1760 { { case "(($ac_try" in
1761 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1762 *) ac_try_echo=$ac_try;;
1764 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1765 $as_echo "$ac_try_echo"; } >&5
1766 (eval "$ac_try") 2>&5
1768 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1769 test $ac_status = 0; }; }; then :
1772 $as_echo "$as_me: program exited with status $ac_status" >&5
1773 $as_echo "$as_me: failed program was:" >&5
1774 sed 's/^/| /' conftest.$ac_ext >&5
1776 ac_retval=$ac_status
1778 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
1779 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1780 as_fn_set_status $ac_retval
1784 # ac_fn_c_check_func LINENO FUNC VAR
1785 # ----------------------------------
1786 # Tests whether FUNC exists, setting the cache variable VAR accordingly
1787 ac_fn_c_check_func ()
1789 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1790 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1791 $as_echo_n "checking for $2... " >&6; }
1792 if eval \${$3+:} false; then :
1793 $as_echo_n "(cached) " >&6
1795 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1796 /* end confdefs.h. */
1797 /* Define $2 to an innocuous variant, in case <limits.h> declares $2.
1798 For example, HP-UX 11i <limits.h> declares gettimeofday. */
1799 #define $2 innocuous_$2
1801 /* System header to define __stub macros and hopefully few prototypes,
1802 which can conflict with char $2 (); below.
1803 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
1804 <limits.h> exists even on freestanding compilers. */
1807 # include <limits.h>
1809 # include <assert.h>
1814 /* Override any GCC internal prototype to avoid an error.
1815 Use char because int might match the return type of a GCC
1816 builtin and then its argument prototype would still apply. */
1821 /* The GNU C library defines this for functions which it implements
1822 to always fail with ENOSYS. Some functions are actually named
1823 something starting with __ and the normal name is an alias. */
1824 #if defined __stub_$2 || defined __stub___$2
1836 if ac_fn_c_try_link "$LINENO"; then :
1841 rm -f core conftest.err conftest.$ac_objext \
1842 conftest$ac_exeext conftest.$ac_ext
1845 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1846 $as_echo "$ac_res" >&6; }
1847 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1849 } # ac_fn_c_check_func
1850 cat >config.log <<_ACEOF
1851 This file contains any messages produced by compilers while
1852 running configure, to aid debugging if configure makes a mistake.
1854 It was created by pygobject $as_me 2.28.6, which was
1855 generated by GNU Autoconf 2.68. Invocation command line was
1867 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
1868 uname -m = `(uname -m) 2>/dev/null || echo unknown`
1869 uname -r = `(uname -r) 2>/dev/null || echo unknown`
1870 uname -s = `(uname -s) 2>/dev/null || echo unknown`
1871 uname -v = `(uname -v) 2>/dev/null || echo unknown`
1873 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
1874 /bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown`
1876 /bin/arch = `(/bin/arch) 2>/dev/null || echo unknown`
1877 /usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown`
1878 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
1879 /usr/bin/hostinfo = `(/usr/bin/hostinfo) 2>/dev/null || echo unknown`
1880 /bin/machine = `(/bin/machine) 2>/dev/null || echo unknown`
1881 /usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown`
1882 /bin/universe = `(/bin/universe) 2>/dev/null || echo unknown`
1886 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1890 test -z "$as_dir" && as_dir=.
1891 $as_echo "PATH: $as_dir"
1907 # Keep a trace of the command line.
1908 # Strip out --no-create and --no-recursion so they do not pile up.
1909 # Strip out --silent because we don't want to record it for future runs.
1910 # Also quote any args containing shell meta-characters.
1911 # Make two passes to allow for proper duplicate-argument suppression.
1915 ac_must_keep_next=false
1921 -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
1922 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1923 | -silent | --silent | --silen | --sile | --sil)
1926 ac_arg=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
1929 1) as_fn_append ac_configure_args0 " '$ac_arg'" ;;
1931 as_fn_append ac_configure_args1 " '$ac_arg'"
1932 if test $ac_must_keep_next = true; then
1933 ac_must_keep_next=false # Got value, back to normal.
1936 *=* | --config-cache | -C | -disable-* | --disable-* \
1937 | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
1938 | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
1939 | -with-* | --with-* | -without-* | --without-* | --x)
1940 case "$ac_configure_args0 " in
1941 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
1944 -* ) ac_must_keep_next=true ;;
1947 as_fn_append ac_configure_args " '$ac_arg'"
1952 { ac_configure_args0=; unset ac_configure_args0;}
1953 { ac_configure_args1=; unset ac_configure_args1;}
1955 # When interrupted or exit'd, cleanup temporary files, and complete
1956 # config.log. We remove comments because anyway the quotes in there
1957 # would cause problems or look ugly.
1958 # WARNING: Use '\'' to represent an apostrophe within the trap.
1959 # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
1960 trap 'exit_status=$?
1961 # Save into config.log some information that might help in debugging.
1965 $as_echo "## ---------------- ##
1966 ## Cache variables. ##
1967 ## ---------------- ##"
1969 # The following way of writing the cache mishandles newlines in values,
1971 for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
1972 eval ac_val=\$$ac_var
1976 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
1977 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
1980 _ | IFS | as_nl) ;; #(
1981 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
1982 *) { eval $ac_var=; unset $ac_var;} ;;
1987 case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
1988 *${as_nl}ac_space=\ *)
1990 "s/'\''/'\''\\\\'\'''\''/g;
1991 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
1994 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
2001 $as_echo "## ----------------- ##
2002 ## Output variables. ##
2003 ## ----------------- ##"
2005 for ac_var in $ac_subst_vars
2007 eval ac_val=\$$ac_var
2009 *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
2011 $as_echo "$ac_var='\''$ac_val'\''"
2015 if test -n "$ac_subst_files"; then
2016 $as_echo "## ------------------- ##
2017 ## File substitutions. ##
2018 ## ------------------- ##"
2020 for ac_var in $ac_subst_files
2022 eval ac_val=\$$ac_var
2024 *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
2026 $as_echo "$ac_var='\''$ac_val'\''"
2031 if test -s confdefs.h; then
2032 $as_echo "## ----------- ##
2039 test "$ac_signal" != 0 &&
2040 $as_echo "$as_me: caught signal $ac_signal"
2041 $as_echo "$as_me: exit $exit_status"
2043 rm -f core *.core core.conftest.* &&
2044 rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
2047 for ac_signal in 1 2 13 15; do
2048 trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal
2052 # confdefs.h avoids OS command line length limits that DEFS can exceed.
2053 rm -f -r conftest* confdefs.h
2055 $as_echo "/* confdefs.h */" > confdefs.h
2057 # Predefined preprocessor variables.
2059 cat >>confdefs.h <<_ACEOF
2060 #define PACKAGE_NAME "$PACKAGE_NAME"
2063 cat >>confdefs.h <<_ACEOF
2064 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
2067 cat >>confdefs.h <<_ACEOF
2068 #define PACKAGE_VERSION "$PACKAGE_VERSION"
2071 cat >>confdefs.h <<_ACEOF
2072 #define PACKAGE_STRING "$PACKAGE_STRING"
2075 cat >>confdefs.h <<_ACEOF
2076 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
2079 cat >>confdefs.h <<_ACEOF
2080 #define PACKAGE_URL "$PACKAGE_URL"
2084 # Let the site file select an alternate cache file if it wants to.
2085 # Prefer an explicitly selected file to automatically selected ones.
2088 if test -n "$CONFIG_SITE"; then
2089 # We do not want a PATH search for config.site.
2090 case $CONFIG_SITE in #((
2091 -*) ac_site_file1=./$CONFIG_SITE;;
2092 */*) ac_site_file1=$CONFIG_SITE;;
2093 *) ac_site_file1=./$CONFIG_SITE;;
2095 elif test "x$prefix" != xNONE; then
2096 ac_site_file1=$prefix/share/config.site
2097 ac_site_file2=$prefix/etc/config.site
2099 ac_site_file1=$ac_default_prefix/share/config.site
2100 ac_site_file2=$ac_default_prefix/etc/config.site
2102 for ac_site_file in "$ac_site_file1" "$ac_site_file2"
2104 test "x$ac_site_file" = xNONE && continue
2105 if test /dev/null != "$ac_site_file" && test -r "$ac_site_file"; then
2106 { $as_echo "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5
2107 $as_echo "$as_me: loading site script $ac_site_file" >&6;}
2108 sed 's/^/| /' "$ac_site_file" >&5
2110 || { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2111 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2112 as_fn_error $? "failed to load site script $ac_site_file
2113 See \`config.log' for more details" "$LINENO" 5; }
2117 if test -r "$cache_file"; then
2118 # Some versions of bash will fail to source /dev/null (special files
2119 # actually), so we avoid doing that. DJGPP emulates it as a regular file.
2120 if test /dev/null != "$cache_file" && test -f "$cache_file"; then
2121 { $as_echo "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5
2122 $as_echo "$as_me: loading cache $cache_file" >&6;}
2124 [\\/]* | ?:[\\/]* ) . "$cache_file";;
2125 *) . "./$cache_file";;
2129 { $as_echo "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5
2130 $as_echo "$as_me: creating cache $cache_file" >&6;}
2134 # Check that the precious variables saved in the cache have kept the same
2136 ac_cache_corrupted=false
2137 for ac_var in $ac_precious_vars; do
2138 eval ac_old_set=\$ac_cv_env_${ac_var}_set
2139 eval ac_new_set=\$ac_env_${ac_var}_set
2140 eval ac_old_val=\$ac_cv_env_${ac_var}_value
2141 eval ac_new_val=\$ac_env_${ac_var}_value
2142 case $ac_old_set,$ac_new_set in
2144 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
2145 $as_echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
2146 ac_cache_corrupted=: ;;
2148 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not set in the previous run" >&5
2149 $as_echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
2150 ac_cache_corrupted=: ;;
2153 if test "x$ac_old_val" != "x$ac_new_val"; then
2154 # differences in whitespace do not lead to failure.
2155 ac_old_val_w=`echo x $ac_old_val`
2156 ac_new_val_w=`echo x $ac_new_val`
2157 if test "$ac_old_val_w" != "$ac_new_val_w"; then
2158 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&5
2159 $as_echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
2160 ac_cache_corrupted=:
2162 { $as_echo "$as_me:${as_lineno-$LINENO}: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5
2163 $as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;}
2164 eval $ac_var=\$ac_old_val
2166 { $as_echo "$as_me:${as_lineno-$LINENO}: former value: \`$ac_old_val'" >&5
2167 $as_echo "$as_me: former value: \`$ac_old_val'" >&2;}
2168 { $as_echo "$as_me:${as_lineno-$LINENO}: current value: \`$ac_new_val'" >&5
2169 $as_echo "$as_me: current value: \`$ac_new_val'" >&2;}
2172 # Pass precious variables to config.status.
2173 if test "$ac_new_set" = set; then
2175 *\'*) ac_arg=$ac_var=`$as_echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
2176 *) ac_arg=$ac_var=$ac_new_val ;;
2178 case " $ac_configure_args " in
2179 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
2180 *) as_fn_append ac_configure_args " '$ac_arg'" ;;
2184 if $ac_cache_corrupted; then
2185 { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2186 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2187 { $as_echo "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5
2188 $as_echo "$as_me: error: changes in the environment can compromise the build" >&2;}
2189 as_fn_error $? "run \`make distclean' and/or \`rm $cache_file' and start over" "$LINENO" 5
2191 ## -------------------- ##
2192 ## Main body of script. ##
2193 ## -------------------- ##
2196 ac_cpp='$CPP $CPPFLAGS'
2197 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2198 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2199 ac_compiler_gnu=$ac_cv_c_compiler_gnu
2202 ACLOCAL_AMFLAGS="-I m4 -I ."
2208 $as_echo "#define PYGOBJECT_MAJOR_VERSION 2" >>confdefs.h
2210 PYGOBJECT_MAJOR_VERSION=2
2213 $as_echo "#define PYGOBJECT_MINOR_VERSION 28" >>confdefs.h
2215 PYGOBJECT_MINOR_VERSION=28
2218 $as_echo "#define PYGOBJECT_MICRO_VERSION 6" >>confdefs.h
2220 PYGOBJECT_MICRO_VERSION=6
2223 ac_config_headers="$ac_config_headers config.h"
2225 # Check whether --enable-silent-rules was given.
2226 if test "${enable_silent_rules+set}" = set; then :
2227 enableval=$enable_silent_rules;
2230 case $enable_silent_rules in
2231 yes) AM_DEFAULT_VERBOSITY=0;;
2232 no) AM_DEFAULT_VERBOSITY=1;;
2233 *) AM_DEFAULT_VERBOSITY=0;;
2237 am__api_version='1.11'
2240 for ac_dir in "$srcdir" "$srcdir/.." "$srcdir/../.."; do
2241 if test -f "$ac_dir/install-sh"; then
2243 ac_install_sh="$ac_aux_dir/install-sh -c"
2245 elif test -f "$ac_dir/install.sh"; then
2247 ac_install_sh="$ac_aux_dir/install.sh -c"
2249 elif test -f "$ac_dir/shtool"; then
2251 ac_install_sh="$ac_aux_dir/shtool install -c"
2255 if test -z "$ac_aux_dir"; then
2256 as_fn_error $? "cannot find install-sh, install.sh, or shtool in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" "$LINENO" 5
2259 # These three variables are undocumented and unsupported,
2260 # and are intended to be withdrawn in a future Autoconf release.
2261 # They can cause serious problems if a builder's source tree is in a directory
2262 # whose full name contains unusual characters.
2263 ac_config_guess="$SHELL $ac_aux_dir/config.guess" # Please don't use this var.
2264 ac_config_sub="$SHELL $ac_aux_dir/config.sub" # Please don't use this var.
2265 ac_configure="$SHELL $ac_aux_dir/configure" # Please don't use this var.
2268 # Find a good install program. We prefer a C program (faster),
2269 # so one script is as good as another. But avoid the broken or
2270 # incompatible versions:
2271 # SysV /etc/install, /usr/sbin/install
2272 # SunOS /usr/etc/install
2273 # IRIX /sbin/install
2275 # AmigaOS /C/install, which installs bootblocks on floppy discs
2276 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
2277 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
2278 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
2279 # OS/2's system install, which has a completely different semantic
2280 # ./install, which can be erroneously created by make from ./install.sh.
2281 # Reject install programs that cannot install multiple files.
2282 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a BSD-compatible install" >&5
2283 $as_echo_n "checking for a BSD-compatible install... " >&6; }
2284 if test -z "$INSTALL"; then
2285 if ${ac_cv_path_install+:} false; then :
2286 $as_echo_n "(cached) " >&6
2288 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2292 test -z "$as_dir" && as_dir=.
2293 # Account for people who put trailing slashes in PATH elements.
2294 case $as_dir/ in #((
2295 ./ | .// | /[cC]/* | \
2296 /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
2297 ?:[\\/]os2[\\/]install[\\/]* | ?:[\\/]OS2[\\/]INSTALL[\\/]* | \
2300 # OSF1 and SCO ODT 3.0 have their own names for install.
2301 # Don't use installbsd from OSF since it installs stuff as root
2303 for ac_prog in ginstall scoinst install; do
2304 for ac_exec_ext in '' $ac_executable_extensions; do
2305 if { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; }; then
2306 if test $ac_prog = install &&
2307 grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
2308 # AIX install. It has an incompatible calling convention.
2310 elif test $ac_prog = install &&
2311 grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
2312 # program-specific install script used by HP pwplus--don't use.
2315 rm -rf conftest.one conftest.two conftest.dir
2316 echo one > conftest.one
2317 echo two > conftest.two
2319 if "$as_dir/$ac_prog$ac_exec_ext" -c conftest.one conftest.two "`pwd`/conftest.dir" &&
2320 test -s conftest.one && test -s conftest.two &&
2321 test -s conftest.dir/conftest.one &&
2322 test -s conftest.dir/conftest.two
2324 ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
2337 rm -rf conftest.one conftest.two conftest.dir
2340 if test "${ac_cv_path_install+set}" = set; then
2341 INSTALL=$ac_cv_path_install
2343 # As a last resort, use the slow shell script. Don't cache a
2344 # value for INSTALL within a source directory, because that will
2345 # break other packages using the cache if that directory is
2346 # removed, or if the value is a relative name.
2347 INSTALL=$ac_install_sh
2350 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $INSTALL" >&5
2351 $as_echo "$INSTALL" >&6; }
2353 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
2354 # It thinks the first close brace ends the variable substitution.
2355 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
2357 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
2359 test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
2361 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether build environment is sane" >&5
2362 $as_echo_n "checking whether build environment is sane... " >&6; }
2365 echo timestamp > conftest.file
2366 # Reject unsafe characters in $srcdir or the absolute working directory
2367 # name. Accept space and tab only in the latter.
2371 *[\\\"\#\$\&\'\`$am_lf]*)
2372 as_fn_error $? "unsafe absolute working directory name" "$LINENO" 5;;
2375 *[\\\"\#\$\&\'\`$am_lf\ \ ]*)
2376 as_fn_error $? "unsafe srcdir value: \`$srcdir'" "$LINENO" 5;;
2379 # Do `set' in a subshell so we don't clobber the current shell's
2380 # arguments. Must try -L first in case configure is actually a
2381 # symlink; some systems play weird games with the mod time of symlinks
2382 # (eg FreeBSD returns the mod time of the symlink's containing
2385 set X `ls -Lt "$srcdir/configure" conftest.file 2> /dev/null`
2386 if test "$*" = "X"; then
2388 set X `ls -t "$srcdir/configure" conftest.file`
2391 if test "$*" != "X $srcdir/configure conftest.file" \
2392 && test "$*" != "X conftest.file $srcdir/configure"; then
2394 # If neither matched, then we have a broken ls. This can happen
2395 # if, for instance, CONFIG_SHELL is bash and it inherits a
2396 # broken ls alias from the environment. This has actually
2397 # happened. Such a system could not be considered "sane".
2398 as_fn_error $? "ls -t appears to fail. Make sure there is not a broken
2399 alias in your environment" "$LINENO" 5
2402 test "$2" = conftest.file
2408 as_fn_error $? "newly created file is older than distributed files!
2409 Check your system clock" "$LINENO" 5
2411 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
2412 $as_echo "yes" >&6; }
2413 test "$program_prefix" != NONE &&
2414 program_transform_name="s&^&$program_prefix&;$program_transform_name"
2415 # Use a double $ so make ignores it.
2416 test "$program_suffix" != NONE &&
2417 program_transform_name="s&\$&$program_suffix&;$program_transform_name"
2418 # Double any \ or $.
2419 # By default was `s,x,x', remove it if useless.
2420 ac_script='s/[\\$]/&&/g;s/;s,x,x,$//'
2421 program_transform_name=`$as_echo "$program_transform_name" | sed "$ac_script"`
2423 # expand $ac_aux_dir to an absolute path
2424 am_aux_dir=`cd $ac_aux_dir && pwd`
2426 if test x"${MISSING+set}" != xset; then
2429 MISSING="\${SHELL} \"$am_aux_dir/missing\"" ;;
2431 MISSING="\${SHELL} $am_aux_dir/missing" ;;
2434 # Use eval to expand $SHELL
2435 if eval "$MISSING --run true"; then
2436 am_missing_run="$MISSING --run "
2439 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \`missing' script is too old or missing" >&5
2440 $as_echo "$as_me: WARNING: \`missing' script is too old or missing" >&2;}
2443 if test x"${install_sh}" != xset; then
2446 install_sh="\${SHELL} '$am_aux_dir/install-sh'" ;;
2448 install_sh="\${SHELL} $am_aux_dir/install-sh"
2452 # Installed binaries are usually stripped using `strip' when the user
2453 # run `make install-strip'. However `strip' might not be the right
2454 # tool to use in cross-compilation environments, therefore Automake
2455 # will honor the `STRIP' environment variable to overrule this program.
2456 if test "$cross_compiling" != no; then
2457 if test -n "$ac_tool_prefix"; then
2458 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
2459 set dummy ${ac_tool_prefix}strip; ac_word=$2
2460 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2461 $as_echo_n "checking for $ac_word... " >&6; }
2462 if ${ac_cv_prog_STRIP+:} false; then :
2463 $as_echo_n "(cached) " >&6
2465 if test -n "$STRIP"; then
2466 ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
2468 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2472 test -z "$as_dir" && as_dir=.
2473 for ac_exec_ext in '' $ac_executable_extensions; do
2474 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2475 ac_cv_prog_STRIP="${ac_tool_prefix}strip"
2476 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2485 STRIP=$ac_cv_prog_STRIP
2486 if test -n "$STRIP"; then
2487 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
2488 $as_echo "$STRIP" >&6; }
2490 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2491 $as_echo "no" >&6; }
2496 if test -z "$ac_cv_prog_STRIP"; then
2498 # Extract the first word of "strip", so it can be a program name with args.
2499 set dummy strip; ac_word=$2
2500 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2501 $as_echo_n "checking for $ac_word... " >&6; }
2502 if ${ac_cv_prog_ac_ct_STRIP+:} false; then :
2503 $as_echo_n "(cached) " >&6
2505 if test -n "$ac_ct_STRIP"; then
2506 ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
2508 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2512 test -z "$as_dir" && as_dir=.
2513 for ac_exec_ext in '' $ac_executable_extensions; do
2514 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2515 ac_cv_prog_ac_ct_STRIP="strip"
2516 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2525 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
2526 if test -n "$ac_ct_STRIP"; then
2527 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
2528 $as_echo "$ac_ct_STRIP" >&6; }
2530 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2531 $as_echo "no" >&6; }
2534 if test "x$ac_ct_STRIP" = x; then
2537 case $cross_compiling:$ac_tool_warned in
2539 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
2540 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
2541 ac_tool_warned=yes ;;
2546 STRIP="$ac_cv_prog_STRIP"
2550 INSTALL_STRIP_PROGRAM="\$(install_sh) -c -s"
2552 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a thread-safe mkdir -p" >&5
2553 $as_echo_n "checking for a thread-safe mkdir -p... " >&6; }
2554 if test -z "$MKDIR_P"; then
2555 if ${ac_cv_path_mkdir+:} false; then :
2556 $as_echo_n "(cached) " >&6
2558 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2559 for as_dir in $PATH$PATH_SEPARATOR/opt/sfw/bin
2562 test -z "$as_dir" && as_dir=.
2563 for ac_prog in mkdir gmkdir; do
2564 for ac_exec_ext in '' $ac_executable_extensions; do
2565 { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; } || continue
2566 case `"$as_dir/$ac_prog$ac_exec_ext" --version 2>&1` in #(
2567 'mkdir (GNU coreutils) '* | \
2568 'mkdir (coreutils) '* | \
2569 'mkdir (fileutils) '4.1*)
2570 ac_cv_path_mkdir=$as_dir/$ac_prog$ac_exec_ext
2580 test -d ./--version && rmdir ./--version
2581 if test "${ac_cv_path_mkdir+set}" = set; then
2582 MKDIR_P="$ac_cv_path_mkdir -p"
2584 # As a last resort, use the slow shell script. Don't cache a
2585 # value for MKDIR_P within a source directory, because that will
2586 # break other packages using the cache if that directory is
2587 # removed, or if the value is a relative name.
2588 MKDIR_P="$ac_install_sh -d"
2591 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MKDIR_P" >&5
2592 $as_echo "$MKDIR_P" >&6; }
2596 [\\/$]* | ?:[\\/]*) ;;
2597 */*) mkdir_p="\$(top_builddir)/$mkdir_p" ;;
2600 for ac_prog in gawk mawk nawk awk
2602 # Extract the first word of "$ac_prog", so it can be a program name with args.
2603 set dummy $ac_prog; ac_word=$2
2604 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2605 $as_echo_n "checking for $ac_word... " >&6; }
2606 if ${ac_cv_prog_AWK+:} false; then :
2607 $as_echo_n "(cached) " >&6
2609 if test -n "$AWK"; then
2610 ac_cv_prog_AWK="$AWK" # Let the user override the test.
2612 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2616 test -z "$as_dir" && as_dir=.
2617 for ac_exec_ext in '' $ac_executable_extensions; do
2618 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2619 ac_cv_prog_AWK="$ac_prog"
2620 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2630 if test -n "$AWK"; then
2631 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AWK" >&5
2632 $as_echo "$AWK" >&6; }
2634 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2635 $as_echo "no" >&6; }
2639 test -n "$AWK" && break
2642 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5
2643 $as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; }
2645 ac_make=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
2646 if eval \${ac_cv_prog_make_${ac_make}_set+:} false; then :
2647 $as_echo_n "(cached) " >&6
2649 cat >conftest.make <<\_ACEOF
2652 @echo '@@@%%%=$(MAKE)=@@@%%%'
2654 # GNU make sometimes prints "make[1]: Entering ...", which would confuse us.
2655 case `${MAKE-make} -f conftest.make 2>/dev/null` in
2657 eval ac_cv_prog_make_${ac_make}_set=yes;;
2659 eval ac_cv_prog_make_${ac_make}_set=no;;
2663 if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then
2664 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
2665 $as_echo "yes" >&6; }
2668 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2669 $as_echo "no" >&6; }
2670 SET_MAKE="MAKE=${MAKE-make}"
2673 rm -rf .tst 2>/dev/null
2674 mkdir .tst 2>/dev/null
2675 if test -d .tst; then
2680 rmdir .tst 2>/dev/null
2682 if test "`cd $srcdir && pwd`" != "`pwd`"; then
2683 # Use -I$(srcdir) only when $(srcdir) != ., so that make's output
2684 # is not polluted with repeated "-I."
2685 am__isrc=' -I$(srcdir)'
2686 # test to see if srcdir already configured
2687 if test -f $srcdir/config.status; then
2688 as_fn_error $? "source directory already configured; run \"make distclean\" there first" "$LINENO" 5
2692 # test whether we have cygpath
2693 if test -z "$CYGPATH_W"; then
2694 if (cygpath --version) >/dev/null 2>/dev/null; then
2695 CYGPATH_W='cygpath -w'
2702 # Define the identity of the package.
2707 cat >>confdefs.h <<_ACEOF
2708 #define PACKAGE "$PACKAGE"
2712 cat >>confdefs.h <<_ACEOF
2713 #define VERSION "$VERSION"
2716 # Some tools Automake needs.
2718 ACLOCAL=${ACLOCAL-"${am_missing_run}aclocal-${am__api_version}"}
2721 AUTOCONF=${AUTOCONF-"${am_missing_run}autoconf"}
2724 AUTOMAKE=${AUTOMAKE-"${am_missing_run}automake-${am__api_version}"}
2727 AUTOHEADER=${AUTOHEADER-"${am_missing_run}autoheader"}
2730 MAKEINFO=${MAKEINFO-"${am_missing_run}makeinfo"}
2732 # We need awk for the "check" target. The system "awk" is bad on
2734 # Always define AMTAR for backward compatibility.
2736 AMTAR=${AMTAR-"${am_missing_run}tar"}
2738 am__tar='${AMTAR} chof - "$$tardir"'; am__untar='${AMTAR} xf -'
2745 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to enable maintainer-specific portions of Makefiles" >&5
2746 $as_echo_n "checking whether to enable maintainer-specific portions of Makefiles... " >&6; }
2747 # Check whether --enable-maintainer-mode was given.
2748 if test "${enable_maintainer_mode+set}" = set; then :
2749 enableval=$enable_maintainer_mode; USE_MAINTAINER_MODE=$enableval
2751 USE_MAINTAINER_MODE=no
2754 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $USE_MAINTAINER_MODE" >&5
2755 $as_echo "$USE_MAINTAINER_MODE" >&6; }
2756 if test $USE_MAINTAINER_MODE = yes; then
2757 MAINTAINER_MODE_TRUE=
2758 MAINTAINER_MODE_FALSE='#'
2760 MAINTAINER_MODE_TRUE='#'
2761 MAINTAINER_MODE_FALSE=
2764 MAINT=$MAINTAINER_MODE_TRUE
2768 ACLOCAL="$ACLOCAL $ACLOCAL_FLAGS"
2770 # Make sure we can run config.sub.
2771 $SHELL "$ac_aux_dir/config.sub" sun4 >/dev/null 2>&1 ||
2772 as_fn_error $? "cannot run $SHELL $ac_aux_dir/config.sub" "$LINENO" 5
2774 { $as_echo "$as_me:${as_lineno-$LINENO}: checking build system type" >&5
2775 $as_echo_n "checking build system type... " >&6; }
2776 if ${ac_cv_build+:} false; then :
2777 $as_echo_n "(cached) " >&6
2779 ac_build_alias=$build_alias
2780 test "x$ac_build_alias" = x &&
2781 ac_build_alias=`$SHELL "$ac_aux_dir/config.guess"`
2782 test "x$ac_build_alias" = x &&
2783 as_fn_error $? "cannot guess build type; you must specify one" "$LINENO" 5
2784 ac_cv_build=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
2785 as_fn_error $? "$SHELL $ac_aux_dir/config.sub $ac_build_alias failed" "$LINENO" 5
2788 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_build" >&5
2789 $as_echo "$ac_cv_build" >&6; }
2790 case $ac_cv_build in
2792 *) as_fn_error $? "invalid value of canonical build" "$LINENO" 5;;
2795 ac_save_IFS=$IFS; IFS='-'
2801 # Remember, the first character of IFS is used to create $*,
2802 # except with old shells:
2805 case $build_os in *\ *) build_os=`echo "$build_os" | sed 's/ /-/g'`;; esac
2808 { $as_echo "$as_me:${as_lineno-$LINENO}: checking host system type" >&5
2809 $as_echo_n "checking host system type... " >&6; }
2810 if ${ac_cv_host+:} false; then :
2811 $as_echo_n "(cached) " >&6
2813 if test "x$host_alias" = x; then
2814 ac_cv_host=$ac_cv_build
2816 ac_cv_host=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
2817 as_fn_error $? "$SHELL $ac_aux_dir/config.sub $host_alias failed" "$LINENO" 5
2821 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_host" >&5
2822 $as_echo "$ac_cv_host" >&6; }
2825 *) as_fn_error $? "invalid value of canonical host" "$LINENO" 5;;
2828 ac_save_IFS=$IFS; IFS='-'
2834 # Remember, the first character of IFS is used to create $*,
2835 # except with old shells:
2838 case $host_os in *\ *) host_os=`echo "$host_os" | sed 's/ /-/g'`;; esac
2841 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for some Win32 platform" >&5
2842 $as_echo_n "checking for some Win32 platform... " >&6; }
2844 *-*-mingw*|*-*-cygwin*)
2851 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $platform_win32" >&5
2852 $as_echo "$platform_win32" >&6; }
2853 if test "$platform_win32" = "yes"; then
2854 PLATFORM_WIN32_TRUE=
2855 PLATFORM_WIN32_FALSE='#'
2857 PLATFORM_WIN32_TRUE='#'
2858 PLATFORM_WIN32_FALSE=
2862 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for native Win32" >&5
2863 $as_echo_n "checking for native Win32... " >&6; }
2872 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $os_win32" >&5
2873 $as_echo "$os_win32" >&6; }
2874 if test "$os_win32" = "yes"; then
2883 # Check whether --enable-static was given.
2884 if test "${enable_static+set}" = set; then :
2885 enableval=$enable_static; p=${PACKAGE-default}
2887 yes) enable_static=yes ;;
2888 no) enable_static=no ;;
2891 # Look at the argument we got. We use all the common list separators.
2892 lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
2893 for pkg in $enableval; do
2895 if test "X$pkg" = "X$p"; then
2917 enable_win32_dll=yes
2920 *-*-cygwin* | *-*-mingw* | *-*-pw32* | *-*-cegcc*)
2921 if test -n "$ac_tool_prefix"; then
2922 # Extract the first word of "${ac_tool_prefix}as", so it can be a program name with args.
2923 set dummy ${ac_tool_prefix}as; ac_word=$2
2924 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2925 $as_echo_n "checking for $ac_word... " >&6; }
2926 if ${ac_cv_prog_AS+:} false; then :
2927 $as_echo_n "(cached) " >&6
2929 if test -n "$AS"; then
2930 ac_cv_prog_AS="$AS" # Let the user override the test.
2932 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2936 test -z "$as_dir" && as_dir=.
2937 for ac_exec_ext in '' $ac_executable_extensions; do
2938 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2939 ac_cv_prog_AS="${ac_tool_prefix}as"
2940 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2950 if test -n "$AS"; then
2951 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AS" >&5
2952 $as_echo "$AS" >&6; }
2954 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2955 $as_echo "no" >&6; }
2960 if test -z "$ac_cv_prog_AS"; then
2962 # Extract the first word of "as", so it can be a program name with args.
2963 set dummy as; ac_word=$2
2964 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2965 $as_echo_n "checking for $ac_word... " >&6; }
2966 if ${ac_cv_prog_ac_ct_AS+:} false; then :
2967 $as_echo_n "(cached) " >&6
2969 if test -n "$ac_ct_AS"; then
2970 ac_cv_prog_ac_ct_AS="$ac_ct_AS" # Let the user override the test.
2972 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2976 test -z "$as_dir" && as_dir=.
2977 for ac_exec_ext in '' $ac_executable_extensions; do
2978 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2979 ac_cv_prog_ac_ct_AS="as"
2980 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2989 ac_ct_AS=$ac_cv_prog_ac_ct_AS
2990 if test -n "$ac_ct_AS"; then
2991 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_AS" >&5
2992 $as_echo "$ac_ct_AS" >&6; }
2994 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2995 $as_echo "no" >&6; }
2998 if test "x$ac_ct_AS" = x; then
3001 case $cross_compiling:$ac_tool_warned in
3003 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3004 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3005 ac_tool_warned=yes ;;
3013 if test -n "$ac_tool_prefix"; then
3014 # Extract the first word of "${ac_tool_prefix}dlltool", so it can be a program name with args.
3015 set dummy ${ac_tool_prefix}dlltool; ac_word=$2
3016 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3017 $as_echo_n "checking for $ac_word... " >&6; }
3018 if ${ac_cv_prog_DLLTOOL+:} false; then :
3019 $as_echo_n "(cached) " >&6
3021 if test -n "$DLLTOOL"; then
3022 ac_cv_prog_DLLTOOL="$DLLTOOL" # Let the user override the test.
3024 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3028 test -z "$as_dir" && as_dir=.
3029 for ac_exec_ext in '' $ac_executable_extensions; do
3030 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3031 ac_cv_prog_DLLTOOL="${ac_tool_prefix}dlltool"
3032 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3041 DLLTOOL=$ac_cv_prog_DLLTOOL
3042 if test -n "$DLLTOOL"; then
3043 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DLLTOOL" >&5
3044 $as_echo "$DLLTOOL" >&6; }
3046 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3047 $as_echo "no" >&6; }
3052 if test -z "$ac_cv_prog_DLLTOOL"; then
3053 ac_ct_DLLTOOL=$DLLTOOL
3054 # Extract the first word of "dlltool", so it can be a program name with args.
3055 set dummy dlltool; ac_word=$2
3056 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3057 $as_echo_n "checking for $ac_word... " >&6; }
3058 if ${ac_cv_prog_ac_ct_DLLTOOL+:} false; then :
3059 $as_echo_n "(cached) " >&6
3061 if test -n "$ac_ct_DLLTOOL"; then
3062 ac_cv_prog_ac_ct_DLLTOOL="$ac_ct_DLLTOOL" # Let the user override the test.
3064 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3068 test -z "$as_dir" && as_dir=.
3069 for ac_exec_ext in '' $ac_executable_extensions; do
3070 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3071 ac_cv_prog_ac_ct_DLLTOOL="dlltool"
3072 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3081 ac_ct_DLLTOOL=$ac_cv_prog_ac_ct_DLLTOOL
3082 if test -n "$ac_ct_DLLTOOL"; then
3083 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DLLTOOL" >&5
3084 $as_echo "$ac_ct_DLLTOOL" >&6; }
3086 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3087 $as_echo "no" >&6; }
3090 if test "x$ac_ct_DLLTOOL" = x; then
3093 case $cross_compiling:$ac_tool_warned in
3095 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3096 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3097 ac_tool_warned=yes ;;
3099 DLLTOOL=$ac_ct_DLLTOOL
3102 DLLTOOL="$ac_cv_prog_DLLTOOL"
3105 if test -n "$ac_tool_prefix"; then
3106 # Extract the first word of "${ac_tool_prefix}objdump", so it can be a program name with args.
3107 set dummy ${ac_tool_prefix}objdump; ac_word=$2
3108 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3109 $as_echo_n "checking for $ac_word... " >&6; }
3110 if ${ac_cv_prog_OBJDUMP+:} false; then :
3111 $as_echo_n "(cached) " >&6
3113 if test -n "$OBJDUMP"; then
3114 ac_cv_prog_OBJDUMP="$OBJDUMP" # Let the user override the test.
3116 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3120 test -z "$as_dir" && as_dir=.
3121 for ac_exec_ext in '' $ac_executable_extensions; do
3122 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3123 ac_cv_prog_OBJDUMP="${ac_tool_prefix}objdump"
3124 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3133 OBJDUMP=$ac_cv_prog_OBJDUMP
3134 if test -n "$OBJDUMP"; then
3135 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OBJDUMP" >&5
3136 $as_echo "$OBJDUMP" >&6; }
3138 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3139 $as_echo "no" >&6; }
3144 if test -z "$ac_cv_prog_OBJDUMP"; then
3145 ac_ct_OBJDUMP=$OBJDUMP
3146 # Extract the first word of "objdump", so it can be a program name with args.
3147 set dummy objdump; ac_word=$2
3148 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3149 $as_echo_n "checking for $ac_word... " >&6; }
3150 if ${ac_cv_prog_ac_ct_OBJDUMP+:} false; then :
3151 $as_echo_n "(cached) " >&6
3153 if test -n "$ac_ct_OBJDUMP"; then
3154 ac_cv_prog_ac_ct_OBJDUMP="$ac_ct_OBJDUMP" # Let the user override the test.
3156 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3160 test -z "$as_dir" && as_dir=.
3161 for ac_exec_ext in '' $ac_executable_extensions; do
3162 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3163 ac_cv_prog_ac_ct_OBJDUMP="objdump"
3164 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3173 ac_ct_OBJDUMP=$ac_cv_prog_ac_ct_OBJDUMP
3174 if test -n "$ac_ct_OBJDUMP"; then
3175 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OBJDUMP" >&5
3176 $as_echo "$ac_ct_OBJDUMP" >&6; }
3178 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3179 $as_echo "no" >&6; }
3182 if test "x$ac_ct_OBJDUMP" = x; then
3185 case $cross_compiling:$ac_tool_warned in
3187 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3188 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3189 ac_tool_warned=yes ;;
3191 OBJDUMP=$ac_ct_OBJDUMP
3194 OBJDUMP="$ac_cv_prog_OBJDUMP"
3200 test -z "$AS" && AS=as
3206 test -z "$DLLTOOL" && DLLTOOL=dlltool
3212 test -z "$OBJDUMP" && OBJDUMP=objdump
3222 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Libtool does not cope well with whitespace in \`pwd\`" >&5
3223 $as_echo "$as_me: WARNING: Libtool does not cope well with whitespace in \`pwd\`" >&2;} ;;
3229 macro_revision='1.3293'
3243 ltmain="$ac_aux_dir/ltmain.sh"
3245 # Backslashify metacharacters that are still active within
3246 # double-quoted strings.
3247 sed_quote_subst='s/\(["`$\\]\)/\\\1/g'
3249 # Same as above, but do not quote variable references.
3250 double_quote_subst='s/\(["`\\]\)/\\\1/g'
3252 # Sed substitution to delay expansion of an escaped shell variable in a
3253 # double_quote_subst'ed string.
3254 delay_variable_subst='s/\\\\\\\\\\\$/\\\\\\$/g'
3256 # Sed substitution to delay expansion of an escaped single quote.
3257 delay_single_quote_subst='s/'\''/'\'\\\\\\\'\''/g'
3259 # Sed substitution to avoid accidental globbing in evaled expressions
3260 no_glob_subst='s/\*/\\\*/g'
3262 ECHO='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
3263 ECHO=$ECHO$ECHO$ECHO$ECHO$ECHO
3264 ECHO=$ECHO$ECHO$ECHO$ECHO$ECHO$ECHO
3266 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to print strings" >&5
3267 $as_echo_n "checking how to print strings... " >&6; }
3268 # Test print first, because it will be a builtin if present.
3269 if test "X`( print -r -- -n ) 2>/dev/null`" = X-n && \
3270 test "X`print -r -- $ECHO 2>/dev/null`" = "X$ECHO"; then
3272 elif test "X`printf %s $ECHO 2>/dev/null`" = "X$ECHO"; then
3275 # Use this function as a fallback that always works.
3276 func_fallback_echo ()
3278 eval 'cat <<_LTECHO_EOF
3282 ECHO='func_fallback_echo'
3285 # func_echo_all arg...
3286 # Invoke $ECHO with all args, space-separated.
3293 printf*) { $as_echo "$as_me:${as_lineno-$LINENO}: result: printf" >&5
3294 $as_echo "printf" >&6; } ;;
3295 print*) { $as_echo "$as_me:${as_lineno-$LINENO}: result: print -r" >&5
3296 $as_echo "print -r" >&6; } ;;
3297 *) { $as_echo "$as_me:${as_lineno-$LINENO}: result: cat" >&5
3298 $as_echo "cat" >&6; } ;;
3314 DEPDIR="${am__leading_dot}deps"
3316 ac_config_commands="$ac_config_commands depfiles"
3319 am_make=${MAKE-make}
3320 cat > confinc << 'END'
3322 @echo this is the am__doit target
3325 # If we don't find an include directive, just comment out the code.
3326 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for style of include used by $am_make" >&5
3327 $as_echo_n "checking for style of include used by $am_make... " >&6; }
3331 # First try GNU make style include.
3332 echo "include confinc" > confmf
3333 # Ignore all kinds of additional output from `make'.
3334 case `$am_make -s -f confmf 2> /dev/null` in #(
3335 *the\ am__doit\ target*)
3341 # Now try BSD make style include.
3342 if test "$am__include" = "#"; then
3343 echo '.include "confinc"' > confmf
3344 case `$am_make -s -f confmf 2> /dev/null` in #(
3345 *the\ am__doit\ target*)
3346 am__include=.include
3354 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $_am_result" >&5
3355 $as_echo "$_am_result" >&6; }
3356 rm -f confinc confmf
3358 # Check whether --enable-dependency-tracking was given.
3359 if test "${enable_dependency_tracking+set}" = set; then :
3360 enableval=$enable_dependency_tracking;
3363 if test "x$enable_dependency_tracking" != xno; then
3364 am_depcomp="$ac_aux_dir/depcomp"
3367 if test "x$enable_dependency_tracking" != xno; then
3377 ac_cpp='$CPP $CPPFLAGS'
3378 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3379 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3380 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3381 if test -n "$ac_tool_prefix"; then
3382 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
3383 set dummy ${ac_tool_prefix}gcc; ac_word=$2
3384 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3385 $as_echo_n "checking for $ac_word... " >&6; }
3386 if ${ac_cv_prog_CC+:} false; then :
3387 $as_echo_n "(cached) " >&6
3389 if test -n "$CC"; then
3390 ac_cv_prog_CC="$CC" # Let the user override the test.
3392 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3396 test -z "$as_dir" && as_dir=.
3397 for ac_exec_ext in '' $ac_executable_extensions; do
3398 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3399 ac_cv_prog_CC="${ac_tool_prefix}gcc"
3400 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3410 if test -n "$CC"; then
3411 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3412 $as_echo "$CC" >&6; }
3414 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3415 $as_echo "no" >&6; }
3420 if test -z "$ac_cv_prog_CC"; then
3422 # Extract the first word of "gcc", so it can be a program name with args.
3423 set dummy gcc; ac_word=$2
3424 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3425 $as_echo_n "checking for $ac_word... " >&6; }
3426 if ${ac_cv_prog_ac_ct_CC+:} false; then :
3427 $as_echo_n "(cached) " >&6
3429 if test -n "$ac_ct_CC"; then
3430 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
3432 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3436 test -z "$as_dir" && as_dir=.
3437 for ac_exec_ext in '' $ac_executable_extensions; do
3438 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3439 ac_cv_prog_ac_ct_CC="gcc"
3440 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3449 ac_ct_CC=$ac_cv_prog_ac_ct_CC
3450 if test -n "$ac_ct_CC"; then
3451 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
3452 $as_echo "$ac_ct_CC" >&6; }
3454 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3455 $as_echo "no" >&6; }
3458 if test "x$ac_ct_CC" = x; then
3461 case $cross_compiling:$ac_tool_warned in
3463 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3464 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3465 ac_tool_warned=yes ;;
3473 if test -z "$CC"; then
3474 if test -n "$ac_tool_prefix"; then
3475 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
3476 set dummy ${ac_tool_prefix}cc; ac_word=$2
3477 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3478 $as_echo_n "checking for $ac_word... " >&6; }
3479 if ${ac_cv_prog_CC+:} false; then :
3480 $as_echo_n "(cached) " >&6
3482 if test -n "$CC"; then
3483 ac_cv_prog_CC="$CC" # Let the user override the test.
3485 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3489 test -z "$as_dir" && as_dir=.
3490 for ac_exec_ext in '' $ac_executable_extensions; do
3491 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3492 ac_cv_prog_CC="${ac_tool_prefix}cc"
3493 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3503 if test -n "$CC"; then
3504 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3505 $as_echo "$CC" >&6; }
3507 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3508 $as_echo "no" >&6; }
3514 if test -z "$CC"; then
3515 # Extract the first word of "cc", so it can be a program name with args.
3516 set dummy cc; ac_word=$2
3517 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3518 $as_echo_n "checking for $ac_word... " >&6; }
3519 if ${ac_cv_prog_CC+:} false; then :
3520 $as_echo_n "(cached) " >&6
3522 if test -n "$CC"; then
3523 ac_cv_prog_CC="$CC" # Let the user override the test.
3526 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3530 test -z "$as_dir" && as_dir=.
3531 for ac_exec_ext in '' $ac_executable_extensions; do
3532 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3533 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
3534 ac_prog_rejected=yes
3538 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3545 if test $ac_prog_rejected = yes; then
3546 # We found a bogon in the path, so make sure we never use it.
3547 set dummy $ac_cv_prog_CC
3549 if test $# != 0; then
3550 # We chose a different compiler from the bogus one.
3551 # However, it has the same basename, so the bogon will be chosen
3552 # first if we set CC to just the basename; use the full file name.
3554 ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
3560 if test -n "$CC"; then
3561 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3562 $as_echo "$CC" >&6; }
3564 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3565 $as_echo "no" >&6; }
3570 if test -z "$CC"; then
3571 if test -n "$ac_tool_prefix"; then
3572 for ac_prog in cl.exe
3574 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
3575 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
3576 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3577 $as_echo_n "checking for $ac_word... " >&6; }
3578 if ${ac_cv_prog_CC+:} false; then :
3579 $as_echo_n "(cached) " >&6
3581 if test -n "$CC"; then
3582 ac_cv_prog_CC="$CC" # Let the user override the test.
3584 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3588 test -z "$as_dir" && as_dir=.
3589 for ac_exec_ext in '' $ac_executable_extensions; do
3590 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3591 ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
3592 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3602 if test -n "$CC"; then
3603 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3604 $as_echo "$CC" >&6; }
3606 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3607 $as_echo "no" >&6; }
3611 test -n "$CC" && break
3614 if test -z "$CC"; then
3616 for ac_prog in cl.exe
3618 # Extract the first word of "$ac_prog", so it can be a program name with args.
3619 set dummy $ac_prog; ac_word=$2
3620 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3621 $as_echo_n "checking for $ac_word... " >&6; }
3622 if ${ac_cv_prog_ac_ct_CC+:} false; then :
3623 $as_echo_n "(cached) " >&6
3625 if test -n "$ac_ct_CC"; then
3626 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
3628 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3632 test -z "$as_dir" && as_dir=.
3633 for ac_exec_ext in '' $ac_executable_extensions; do
3634 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3635 ac_cv_prog_ac_ct_CC="$ac_prog"
3636 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3645 ac_ct_CC=$ac_cv_prog_ac_ct_CC
3646 if test -n "$ac_ct_CC"; then
3647 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
3648 $as_echo "$ac_ct_CC" >&6; }
3650 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3651 $as_echo "no" >&6; }
3655 test -n "$ac_ct_CC" && break
3658 if test "x$ac_ct_CC" = x; then
3661 case $cross_compiling:$ac_tool_warned in
3663 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3664 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3665 ac_tool_warned=yes ;;
3674 test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3675 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3676 as_fn_error $? "no acceptable C compiler found in \$PATH
3677 See \`config.log' for more details" "$LINENO" 5; }
3679 # Provide some information about the compiler.
3680 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
3683 for ac_option in --version -v -V -qversion; do
3684 { { ac_try="$ac_compiler $ac_option >&5"
3686 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3687 *) ac_try_echo=$ac_try;;
3689 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3690 $as_echo "$ac_try_echo"; } >&5
3691 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
3693 if test -s conftest.err; then
3695 ... rest of stderr output deleted ...
3696 10q' conftest.err >conftest.er1
3697 cat conftest.er1 >&5
3699 rm -f conftest.er1 conftest.err
3700 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3701 test $ac_status = 0; }
3704 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3705 /* end confdefs.h. */
3715 ac_clean_files_save=$ac_clean_files
3716 ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out"
3717 # Try to create an executable without -o first, disregard a.out.
3718 # It will help us diagnose broken compilers, and finding out an intuition
3720 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler works" >&5
3721 $as_echo_n "checking whether the C compiler works... " >&6; }
3722 ac_link_default=`$as_echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
3724 # The possible output files:
3725 ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*"
3728 for ac_file in $ac_files
3731 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
3732 * ) ac_rmfiles="$ac_rmfiles $ac_file";;
3737 if { { ac_try="$ac_link_default"
3739 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3740 *) ac_try_echo=$ac_try;;
3742 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3743 $as_echo "$ac_try_echo"; } >&5
3744 (eval "$ac_link_default") 2>&5
3746 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3747 test $ac_status = 0; }; then :
3748 # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
3749 # So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
3750 # in a Makefile. We should not override ac_cv_exeext if it was cached,
3751 # so that the user can short-circuit this test for compilers unknown to
3753 for ac_file in $ac_files ''
3755 test -f "$ac_file" || continue
3757 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj )
3760 # We found the default executable, but exeext='' is most
3764 if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no;
3766 ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
3768 # We set ac_cv_exeext here because the later test for it is not
3769 # safe: cross compilers may not add the suffix if given an `-o'
3770 # argument, so we may need to know it at that point already.
3771 # Even if this section looks crufty: it has the advantage of
3778 test "$ac_cv_exeext" = no && ac_cv_exeext=
3783 if test -z "$ac_file"; then :
3784 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3785 $as_echo "no" >&6; }
3786 $as_echo "$as_me: failed program was:" >&5
3787 sed 's/^/| /' conftest.$ac_ext >&5
3789 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3790 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3791 as_fn_error 77 "C compiler cannot create executables
3792 See \`config.log' for more details" "$LINENO" 5; }
3794 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
3795 $as_echo "yes" >&6; }
3797 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler default output file name" >&5
3798 $as_echo_n "checking for C compiler default output file name... " >&6; }
3799 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5
3800 $as_echo "$ac_file" >&6; }
3801 ac_exeext=$ac_cv_exeext
3803 rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out
3804 ac_clean_files=$ac_clean_files_save
3805 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5
3806 $as_echo_n "checking for suffix of executables... " >&6; }
3807 if { { ac_try="$ac_link"
3809 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3810 *) ac_try_echo=$ac_try;;
3812 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3813 $as_echo "$ac_try_echo"; } >&5
3814 (eval "$ac_link") 2>&5
3816 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3817 test $ac_status = 0; }; then :
3818 # If both `conftest.exe' and `conftest' are `present' (well, observable)
3819 # catch `conftest.exe'. For instance with Cygwin, `ls conftest' will
3820 # work properly (i.e., refer to `conftest.exe'), while it won't with
3822 for ac_file in conftest.exe conftest conftest.*; do
3823 test -f "$ac_file" || continue
3825 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
3826 *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
3832 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3833 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3834 as_fn_error $? "cannot compute suffix of executables: cannot compile and link
3835 See \`config.log' for more details" "$LINENO" 5; }
3837 rm -f conftest conftest$ac_cv_exeext
3838 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5
3839 $as_echo "$ac_cv_exeext" >&6; }
3841 rm -f conftest.$ac_ext
3842 EXEEXT=$ac_cv_exeext
3844 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3845 /* end confdefs.h. */
3850 FILE *f = fopen ("conftest.out", "w");
3851 return ferror (f) || fclose (f) != 0;
3857 ac_clean_files="$ac_clean_files conftest.out"
3858 # Check that the compiler produces executables we can run. If not, either
3859 # the compiler is broken, or we cross compile.
3860 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5
3861 $as_echo_n "checking whether we are cross compiling... " >&6; }
3862 if test "$cross_compiling" != yes; then
3863 { { ac_try="$ac_link"
3865 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3866 *) ac_try_echo=$ac_try;;
3868 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3869 $as_echo "$ac_try_echo"; } >&5
3870 (eval "$ac_link") 2>&5
3872 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3873 test $ac_status = 0; }
3874 if { ac_try='./conftest$ac_cv_exeext'
3875 { { case "(($ac_try" in
3876 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3877 *) ac_try_echo=$ac_try;;
3879 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3880 $as_echo "$ac_try_echo"; } >&5
3881 (eval "$ac_try") 2>&5
3883 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3884 test $ac_status = 0; }; }; then
3887 if test "$cross_compiling" = maybe; then
3890 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3891 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3892 as_fn_error $? "cannot run C compiled programs.
3893 If you meant to cross compile, use \`--host'.
3894 See \`config.log' for more details" "$LINENO" 5; }
3898 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5
3899 $as_echo "$cross_compiling" >&6; }
3901 rm -f conftest.$ac_ext conftest$ac_cv_exeext conftest.out
3902 ac_clean_files=$ac_clean_files_save
3903 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5
3904 $as_echo_n "checking for suffix of object files... " >&6; }
3905 if ${ac_cv_objext+:} false; then :
3906 $as_echo_n "(cached) " >&6
3908 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3909 /* end confdefs.h. */
3919 rm -f conftest.o conftest.obj
3920 if { { ac_try="$ac_compile"
3922 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3923 *) ac_try_echo=$ac_try;;
3925 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3926 $as_echo "$ac_try_echo"; } >&5
3927 (eval "$ac_compile") 2>&5
3929 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3930 test $ac_status = 0; }; then :
3931 for ac_file in conftest.o conftest.obj conftest.*; do
3932 test -f "$ac_file" || continue;
3934 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;;
3935 *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
3940 $as_echo "$as_me: failed program was:" >&5
3941 sed 's/^/| /' conftest.$ac_ext >&5
3943 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3944 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3945 as_fn_error $? "cannot compute suffix of object files: cannot compile
3946 See \`config.log' for more details" "$LINENO" 5; }
3948 rm -f conftest.$ac_cv_objext conftest.$ac_ext
3950 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5
3951 $as_echo "$ac_cv_objext" >&6; }
3952 OBJEXT=$ac_cv_objext
3954 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
3955 $as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
3956 if ${ac_cv_c_compiler_gnu+:} false; then :
3957 $as_echo_n "(cached) " >&6
3959 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3960 /* end confdefs.h. */
3973 if ac_fn_c_try_compile "$LINENO"; then :
3978 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3979 ac_cv_c_compiler_gnu=$ac_compiler_gnu
3982 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
3983 $as_echo "$ac_cv_c_compiler_gnu" >&6; }
3984 if test $ac_compiler_gnu = yes; then
3989 ac_test_CFLAGS=${CFLAGS+set}
3990 ac_save_CFLAGS=$CFLAGS
3991 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
3992 $as_echo_n "checking whether $CC accepts -g... " >&6; }
3993 if ${ac_cv_prog_cc_g+:} false; then :
3994 $as_echo_n "(cached) " >&6
3996 ac_save_c_werror_flag=$ac_c_werror_flag
3997 ac_c_werror_flag=yes
4000 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4001 /* end confdefs.h. */
4011 if ac_fn_c_try_compile "$LINENO"; then :
4015 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4016 /* end confdefs.h. */
4026 if ac_fn_c_try_compile "$LINENO"; then :
4029 ac_c_werror_flag=$ac_save_c_werror_flag
4031 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4032 /* end confdefs.h. */
4042 if ac_fn_c_try_compile "$LINENO"; then :
4045 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4047 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4049 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4050 ac_c_werror_flag=$ac_save_c_werror_flag
4052 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
4053 $as_echo "$ac_cv_prog_cc_g" >&6; }
4054 if test "$ac_test_CFLAGS" = set; then
4055 CFLAGS=$ac_save_CFLAGS
4056 elif test $ac_cv_prog_cc_g = yes; then
4057 if test "$GCC" = yes; then
4063 if test "$GCC" = yes; then
4069 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
4070 $as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
4071 if ${ac_cv_prog_cc_c89+:} false; then :
4072 $as_echo_n "(cached) " >&6
4074 ac_cv_prog_cc_c89=no
4076 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4077 /* end confdefs.h. */
4080 #include <sys/types.h>
4081 #include <sys/stat.h>
4082 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
4083 struct buf { int x; };
4084 FILE * (*rcsopen) (struct buf *, struct stat *, int);
4085 static char *e (p, i)
4091 static char *f (char * (*g) (char **, int), char **p, ...)
4096 s = g (p, va_arg (v,int));
4101 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
4102 function prototypes and stuff, but not '\xHH' hex character constants.
4103 These don't provoke an error unfortunately, instead are silently treated
4104 as 'x'. The following induces an error, until -std is added to get
4105 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
4106 array size at least. It's necessary to write '\x00'==0 to get something
4107 that's true only with -std. */
4108 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
4110 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
4111 inside strings and character constants. */
4113 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
4115 int test (int i, double x);
4116 struct s1 {int (*f) (int a);};
4117 struct s2 {int (*f) (double a);};
4118 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
4124 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
4129 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
4130 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
4132 CC="$ac_save_CC $ac_arg"
4133 if ac_fn_c_try_compile "$LINENO"; then :
4134 ac_cv_prog_cc_c89=$ac_arg
4136 rm -f core conftest.err conftest.$ac_objext
4137 test "x$ac_cv_prog_cc_c89" != "xno" && break
4139 rm -f conftest.$ac_ext
4144 case "x$ac_cv_prog_cc_c89" in
4146 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
4147 $as_echo "none needed" >&6; } ;;
4149 { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
4150 $as_echo "unsupported" >&6; } ;;
4152 CC="$CC $ac_cv_prog_cc_c89"
4153 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
4154 $as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
4156 if test "x$ac_cv_prog_cc_c89" != xno; then :
4161 ac_cpp='$CPP $CPPFLAGS'
4162 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4163 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4164 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4166 depcc="$CC" am_compiler_list=
4168 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5
4169 $as_echo_n "checking dependency style of $depcc... " >&6; }
4170 if ${am_cv_CC_dependencies_compiler_type+:} false; then :
4171 $as_echo_n "(cached) " >&6
4173 if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
4174 # We make a subdir and do the tests there. Otherwise we can end up
4175 # making bogus files that we don't know about and never remove. For
4176 # instance it was reported that on HP-UX the gcc test will end up
4177 # making a dummy file named `D' -- because `-MD' means `put the output
4180 # Copy depcomp to subdir because otherwise we won't find it if we're
4181 # using a relative directory.
4182 cp "$am_depcomp" conftest.dir
4184 # We will build objects and dependencies in a subdirectory because
4185 # it helps to detect inapplicable dependency modes. For instance
4186 # both Tru64's cc and ICC support -MD to output dependencies as a
4187 # side effect of compilation, but ICC will put the dependencies in
4188 # the current directory while Tru64 will put them in the object
4192 am_cv_CC_dependencies_compiler_type=none
4193 if test "$am_compiler_list" = ""; then
4194 am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
4197 case " $depcc " in #(
4198 *\ -arch\ *\ -arch\ *) am__universal=true ;;
4201 for depmode in $am_compiler_list; do
4202 # Setup a source with many dependencies, because some compilers
4203 # like to wrap large dependency lists on column 80 (with \), and
4204 # we should not choose a depcomp mode which is confused by this.
4206 # We need to recreate these files for each test, as the compiler may
4207 # overwrite some of them when testing with obscure command lines.
4208 # This happens at least with the AIX C compiler.
4210 for i in 1 2 3 4 5 6; do
4211 echo '#include "conftst'$i'.h"' >> sub/conftest.c
4212 # Using `: > sub/conftst$i.h' creates only sub/conftst1.h with
4213 # Solaris 8's {/usr,}/bin/sh.
4214 touch sub/conftst$i.h
4216 echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
4218 # We check with `-c' and `-o' for the sake of the "dashmstdout"
4219 # mode. It turns out that the SunPro C++ compiler does not properly
4220 # handle `-M -o', and we need to detect this. Also, some Intel
4221 # versions had trouble with output in subdirs
4222 am__obj=sub/conftest.${OBJEXT-o}
4223 am__minus_obj="-o $am__obj"
4226 # This depmode causes a compiler race in universal mode.
4227 test "$am__universal" = false || continue
4230 # after this tag, mechanisms are not by side-effect, so they'll
4231 # only be used when explicitly requested
4232 if test "x$enable_dependency_tracking" = xyes; then
4238 msvisualcpp | msvcmsys)
4239 # This compiler won't grok `-c -o', but also, the minuso test has
4240 # not run yet. These depmodes are late enough in the game, and
4241 # so weak that their functioning should not be impacted.
4242 am__obj=conftest.${OBJEXT-o}
4247 if depmode=$depmode \
4248 source=sub/conftest.c object=$am__obj \
4249 depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
4250 $SHELL ./depcomp $depcc -c $am__minus_obj sub/conftest.c \
4251 >/dev/null 2>conftest.err &&
4252 grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 &&
4253 grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
4254 grep $am__obj sub/conftest.Po > /dev/null 2>&1 &&
4255 ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
4256 # icc doesn't choke on unknown options, it will just issue warnings
4257 # or remarks (even with -Werror). So we grep stderr for any message
4258 # that says an option was ignored or not supported.
4259 # When given -MP, icc 7.0 and 7.1 complain thusly:
4260 # icc: Command line warning: ignoring option '-M'; no argument required
4261 # The diagnosis changed in icc 8.0:
4262 # icc: Command line remark: option '-MP' not supported
4263 if (grep 'ignoring option' conftest.err ||
4264 grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
4265 am_cv_CC_dependencies_compiler_type=$depmode
4274 am_cv_CC_dependencies_compiler_type=none
4278 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_CC_dependencies_compiler_type" >&5
4279 $as_echo "$am_cv_CC_dependencies_compiler_type" >&6; }
4280 CCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type
4283 test "x$enable_dependency_tracking" != xno \
4284 && test "$am_cv_CC_dependencies_compiler_type" = gcc3; then
4286 am__fastdepCC_FALSE='#'
4288 am__fastdepCC_TRUE='#'
4289 am__fastdepCC_FALSE=
4293 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a sed that does not truncate output" >&5
4294 $as_echo_n "checking for a sed that does not truncate output... " >&6; }
4295 if ${ac_cv_path_SED+:} false; then :
4296 $as_echo_n "(cached) " >&6
4298 ac_script=s/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa/bbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbb/
4299 for ac_i in 1 2 3 4 5 6 7; do
4300 ac_script="$ac_script$as_nl$ac_script"
4302 echo "$ac_script" 2>/dev/null | sed 99q >conftest.sed
4303 { ac_script=; unset ac_script;}
4304 if test -z "$SED"; then
4305 ac_path_SED_found=false
4306 # Loop through the user's path and test for each of PROGNAME-LIST
4307 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4311 test -z "$as_dir" && as_dir=.
4312 for ac_prog in sed gsed; do
4313 for ac_exec_ext in '' $ac_executable_extensions; do
4314 ac_path_SED="$as_dir/$ac_prog$ac_exec_ext"
4315 { test -f "$ac_path_SED" && $as_test_x "$ac_path_SED"; } || continue
4316 # Check for GNU ac_path_SED and select it if it is found.
4317 # Check for GNU $ac_path_SED
4318 case `"$ac_path_SED" --version 2>&1` in
4320 ac_cv_path_SED="$ac_path_SED" ac_path_SED_found=:;;
4323 $as_echo_n 0123456789 >"conftest.in"
4326 cat "conftest.in" "conftest.in" >"conftest.tmp"
4327 mv "conftest.tmp" "conftest.in"
4328 cp "conftest.in" "conftest.nl"
4329 $as_echo '' >> "conftest.nl"
4330 "$ac_path_SED" -f conftest.sed < "conftest.nl" >"conftest.out" 2>/dev/null || break
4331 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
4332 as_fn_arith $ac_count + 1 && ac_count=$as_val
4333 if test $ac_count -gt ${ac_path_SED_max-0}; then
4334 # Best one so far, save it but keep looking for a better one
4335 ac_cv_path_SED="$ac_path_SED"
4336 ac_path_SED_max=$ac_count
4338 # 10*(2^10) chars as input seems more than enough
4339 test $ac_count -gt 10 && break
4341 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
4344 $ac_path_SED_found && break 3
4349 if test -z "$ac_cv_path_SED"; then
4350 as_fn_error $? "no acceptable sed could be found in \$PATH" "$LINENO" 5
4357 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_SED" >&5
4358 $as_echo "$ac_cv_path_SED" >&6; }
4359 SED="$ac_cv_path_SED"
4362 test -z "$SED" && SED=sed
4363 Xsed="$SED -e 1s/^X//"
4375 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for grep that handles long lines and -e" >&5
4376 $as_echo_n "checking for grep that handles long lines and -e... " >&6; }
4377 if ${ac_cv_path_GREP+:} false; then :
4378 $as_echo_n "(cached) " >&6
4380 if test -z "$GREP"; then
4381 ac_path_GREP_found=false
4382 # Loop through the user's path and test for each of PROGNAME-LIST
4383 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4384 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
4387 test -z "$as_dir" && as_dir=.
4388 for ac_prog in grep ggrep; do
4389 for ac_exec_ext in '' $ac_executable_extensions; do
4390 ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext"
4391 { test -f "$ac_path_GREP" && $as_test_x "$ac_path_GREP"; } || continue
4392 # Check for GNU ac_path_GREP and select it if it is found.
4393 # Check for GNU $ac_path_GREP
4394 case `"$ac_path_GREP" --version 2>&1` in
4396 ac_cv_path_GREP="$ac_path_GREP" ac_path_GREP_found=:;;
4399 $as_echo_n 0123456789 >"conftest.in"
4402 cat "conftest.in" "conftest.in" >"conftest.tmp"
4403 mv "conftest.tmp" "conftest.in"
4404 cp "conftest.in" "conftest.nl"
4405 $as_echo 'GREP' >> "conftest.nl"
4406 "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev/null || break
4407 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
4408 as_fn_arith $ac_count + 1 && ac_count=$as_val
4409 if test $ac_count -gt ${ac_path_GREP_max-0}; then
4410 # Best one so far, save it but keep looking for a better one
4411 ac_cv_path_GREP="$ac_path_GREP"
4412 ac_path_GREP_max=$ac_count
4414 # 10*(2^10) chars as input seems more than enough
4415 test $ac_count -gt 10 && break
4417 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
4420 $ac_path_GREP_found && break 3
4425 if test -z "$ac_cv_path_GREP"; then
4426 as_fn_error $? "no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
4429 ac_cv_path_GREP=$GREP
4433 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_GREP" >&5
4434 $as_echo "$ac_cv_path_GREP" >&6; }
4435 GREP="$ac_cv_path_GREP"
4438 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for egrep" >&5
4439 $as_echo_n "checking for egrep... " >&6; }
4440 if ${ac_cv_path_EGREP+:} false; then :
4441 $as_echo_n "(cached) " >&6
4443 if echo a | $GREP -E '(a|b)' >/dev/null 2>&1
4444 then ac_cv_path_EGREP="$GREP -E"
4446 if test -z "$EGREP"; then
4447 ac_path_EGREP_found=false
4448 # Loop through the user's path and test for each of PROGNAME-LIST
4449 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4450 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
4453 test -z "$as_dir" && as_dir=.
4454 for ac_prog in egrep; do
4455 for ac_exec_ext in '' $ac_executable_extensions; do
4456 ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext"
4457 { test -f "$ac_path_EGREP" && $as_test_x "$ac_path_EGREP"; } || continue
4458 # Check for GNU ac_path_EGREP and select it if it is found.
4459 # Check for GNU $ac_path_EGREP
4460 case `"$ac_path_EGREP" --version 2>&1` in
4462 ac_cv_path_EGREP="$ac_path_EGREP" ac_path_EGREP_found=:;;
4465 $as_echo_n 0123456789 >"conftest.in"
4468 cat "conftest.in" "conftest.in" >"conftest.tmp"
4469 mv "conftest.tmp" "conftest.in"
4470 cp "conftest.in" "conftest.nl"
4471 $as_echo 'EGREP' >> "conftest.nl"
4472 "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev/null || break
4473 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
4474 as_fn_arith $ac_count + 1 && ac_count=$as_val
4475 if test $ac_count -gt ${ac_path_EGREP_max-0}; then
4476 # Best one so far, save it but keep looking for a better one
4477 ac_cv_path_EGREP="$ac_path_EGREP"
4478 ac_path_EGREP_max=$ac_count
4480 # 10*(2^10) chars as input seems more than enough
4481 test $ac_count -gt 10 && break
4483 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
4486 $ac_path_EGREP_found && break 3
4491 if test -z "$ac_cv_path_EGREP"; then
4492 as_fn_error $? "no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
4495 ac_cv_path_EGREP=$EGREP
4500 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_EGREP" >&5
4501 $as_echo "$ac_cv_path_EGREP" >&6; }
4502 EGREP="$ac_cv_path_EGREP"
4505 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fgrep" >&5
4506 $as_echo_n "checking for fgrep... " >&6; }
4507 if ${ac_cv_path_FGREP+:} false; then :
4508 $as_echo_n "(cached) " >&6
4510 if echo 'ab*c' | $GREP -F 'ab*c' >/dev/null 2>&1
4511 then ac_cv_path_FGREP="$GREP -F"
4513 if test -z "$FGREP"; then
4514 ac_path_FGREP_found=false
4515 # Loop through the user's path and test for each of PROGNAME-LIST
4516 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4517 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
4520 test -z "$as_dir" && as_dir=.
4521 for ac_prog in fgrep; do
4522 for ac_exec_ext in '' $ac_executable_extensions; do
4523 ac_path_FGREP="$as_dir/$ac_prog$ac_exec_ext"
4524 { test -f "$ac_path_FGREP" && $as_test_x "$ac_path_FGREP"; } || continue
4525 # Check for GNU ac_path_FGREP and select it if it is found.
4526 # Check for GNU $ac_path_FGREP
4527 case `"$ac_path_FGREP" --version 2>&1` in
4529 ac_cv_path_FGREP="$ac_path_FGREP" ac_path_FGREP_found=:;;
4532 $as_echo_n 0123456789 >"conftest.in"
4535 cat "conftest.in" "conftest.in" >"conftest.tmp"
4536 mv "conftest.tmp" "conftest.in"
4537 cp "conftest.in" "conftest.nl"
4538 $as_echo 'FGREP' >> "conftest.nl"
4539 "$ac_path_FGREP" FGREP < "conftest.nl" >"conftest.out" 2>/dev/null || break
4540 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
4541 as_fn_arith $ac_count + 1 && ac_count=$as_val
4542 if test $ac_count -gt ${ac_path_FGREP_max-0}; then
4543 # Best one so far, save it but keep looking for a better one
4544 ac_cv_path_FGREP="$ac_path_FGREP"
4545 ac_path_FGREP_max=$ac_count
4547 # 10*(2^10) chars as input seems more than enough
4548 test $ac_count -gt 10 && break
4550 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
4553 $ac_path_FGREP_found && break 3
4558 if test -z "$ac_cv_path_FGREP"; then
4559 as_fn_error $? "no acceptable fgrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
4562 ac_cv_path_FGREP=$FGREP
4567 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_FGREP" >&5
4568 $as_echo "$ac_cv_path_FGREP" >&6; }
4569 FGREP="$ac_cv_path_FGREP"
4572 test -z "$GREP" && GREP=grep
4592 # Check whether --with-gnu-ld was given.
4593 if test "${with_gnu_ld+set}" = set; then :
4594 withval=$with_gnu_ld; test "$withval" = no || with_gnu_ld=yes
4600 if test "$GCC" = yes; then
4601 # Check if gcc -print-prog-name=ld gives a path.
4602 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld used by $CC" >&5
4603 $as_echo_n "checking for ld used by $CC... " >&6; }
4606 # gcc leaves a trailing carriage return which upsets mingw
4607 ac_prog=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
4609 ac_prog=`($CC -print-prog-name=ld) 2>&5` ;;
4612 # Accept absolute paths.
4614 re_direlt='/[^/][^/]*/\.\./'
4615 # Canonicalize the pathname of ld
4616 ac_prog=`$ECHO "$ac_prog"| $SED 's%\\\\%/%g'`
4617 while $ECHO "$ac_prog" | $GREP "$re_direlt" > /dev/null 2>&1; do
4618 ac_prog=`$ECHO $ac_prog| $SED "s%$re_direlt%/%"`
4620 test -z "$LD" && LD="$ac_prog"
4623 # If it fails, then pretend we aren't using GCC.
4627 # If it is relative, then search for the first ld in PATH.
4631 elif test "$with_gnu_ld" = yes; then
4632 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU ld" >&5
4633 $as_echo_n "checking for GNU ld... " >&6; }
4635 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for non-GNU ld" >&5
4636 $as_echo_n "checking for non-GNU ld... " >&6; }
4638 if ${lt_cv_path_LD+:} false; then :
4639 $as_echo_n "(cached) " >&6
4641 if test -z "$LD"; then
4642 lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
4643 for ac_dir in $PATH; do
4645 test -z "$ac_dir" && ac_dir=.
4646 if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then
4647 lt_cv_path_LD="$ac_dir/$ac_prog"
4648 # Check to see if the program is GNU ld. I'd rather use --version,
4649 # but apparently some variants of GNU ld only accept -v.
4650 # Break only if it was the GNU/non-GNU ld that we prefer.
4651 case `"$lt_cv_path_LD" -v 2>&1 </dev/null` in
4652 *GNU* | *'with BFD'*)
4653 test "$with_gnu_ld" != no && break
4656 test "$with_gnu_ld" != yes && break
4663 lt_cv_path_LD="$LD" # Let the user override the test with a path.
4668 if test -n "$LD"; then
4669 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LD" >&5
4670 $as_echo "$LD" >&6; }
4672 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4673 $as_echo "no" >&6; }
4675 test -z "$LD" && as_fn_error $? "no acceptable ld found in \$PATH" "$LINENO" 5
4676 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if the linker ($LD) is GNU ld" >&5
4677 $as_echo_n "checking if the linker ($LD) is GNU ld... " >&6; }
4678 if ${lt_cv_prog_gnu_ld+:} false; then :
4679 $as_echo_n "(cached) " >&6
4681 # I'd rather use --version here, but apparently some GNU lds only accept -v.
4682 case `$LD -v 2>&1 </dev/null` in
4683 *GNU* | *'with BFD'*)
4684 lt_cv_prog_gnu_ld=yes
4687 lt_cv_prog_gnu_ld=no
4691 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_gnu_ld" >&5
4692 $as_echo "$lt_cv_prog_gnu_ld" >&6; }
4693 with_gnu_ld=$lt_cv_prog_gnu_ld
4703 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for BSD- or MS-compatible name lister (nm)" >&5
4704 $as_echo_n "checking for BSD- or MS-compatible name lister (nm)... " >&6; }
4705 if ${lt_cv_path_NM+:} false; then :
4706 $as_echo_n "(cached) " >&6
4708 if test -n "$NM"; then
4709 # Let the user override the test.
4712 lt_nm_to_check="${ac_tool_prefix}nm"
4713 if test -n "$ac_tool_prefix" && test "$build" = "$host"; then
4714 lt_nm_to_check="$lt_nm_to_check nm"
4716 for lt_tmp_nm in $lt_nm_to_check; do
4717 lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
4718 for ac_dir in $PATH /usr/ccs/bin/elf /usr/ccs/bin /usr/ucb /bin; do
4720 test -z "$ac_dir" && ac_dir=.
4721 tmp_nm="$ac_dir/$lt_tmp_nm"
4722 if test -f "$tmp_nm" || test -f "$tmp_nm$ac_exeext" ; then
4723 # Check to see if the nm accepts a BSD-compat flag.
4724 # Adding the `sed 1q' prevents false positives on HP-UX, which says:
4725 # nm: unknown option "B" ignored
4726 # Tru64's nm complains that /dev/null is an invalid object file
4727 case `"$tmp_nm" -B /dev/null 2>&1 | sed '1q'` in
4728 */dev/null* | *'Invalid file or object type'*)
4729 lt_cv_path_NM="$tmp_nm -B"
4733 case `"$tmp_nm" -p /dev/null 2>&1 | sed '1q'` in
4735 lt_cv_path_NM="$tmp_nm -p"
4739 lt_cv_path_NM=${lt_cv_path_NM="$tmp_nm"} # keep the first match, but
4740 continue # so that we can try to find one that supports BSD flags
4749 : ${lt_cv_path_NM=no}
4752 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_path_NM" >&5
4753 $as_echo "$lt_cv_path_NM" >&6; }
4754 if test "$lt_cv_path_NM" != "no"; then
4757 # Didn't find any BSD compatible name lister, look for dumpbin.
4758 if test -n "$DUMPBIN"; then :
4759 # Let the user override the test.
4761 if test -n "$ac_tool_prefix"; then
4762 for ac_prog in dumpbin "link -dump"
4764 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
4765 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
4766 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4767 $as_echo_n "checking for $ac_word... " >&6; }
4768 if ${ac_cv_prog_DUMPBIN+:} false; then :
4769 $as_echo_n "(cached) " >&6
4771 if test -n "$DUMPBIN"; then
4772 ac_cv_prog_DUMPBIN="$DUMPBIN" # Let the user override the test.
4774 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4778 test -z "$as_dir" && as_dir=.
4779 for ac_exec_ext in '' $ac_executable_extensions; do
4780 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4781 ac_cv_prog_DUMPBIN="$ac_tool_prefix$ac_prog"
4782 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4791 DUMPBIN=$ac_cv_prog_DUMPBIN
4792 if test -n "$DUMPBIN"; then
4793 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DUMPBIN" >&5
4794 $as_echo "$DUMPBIN" >&6; }
4796 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4797 $as_echo "no" >&6; }
4801 test -n "$DUMPBIN" && break
4804 if test -z "$DUMPBIN"; then
4805 ac_ct_DUMPBIN=$DUMPBIN
4806 for ac_prog in dumpbin "link -dump"
4808 # Extract the first word of "$ac_prog", so it can be a program name with args.
4809 set dummy $ac_prog; ac_word=$2
4810 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4811 $as_echo_n "checking for $ac_word... " >&6; }
4812 if ${ac_cv_prog_ac_ct_DUMPBIN+:} false; then :
4813 $as_echo_n "(cached) " >&6
4815 if test -n "$ac_ct_DUMPBIN"; then
4816 ac_cv_prog_ac_ct_DUMPBIN="$ac_ct_DUMPBIN" # Let the user override the test.
4818 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4822 test -z "$as_dir" && as_dir=.
4823 for ac_exec_ext in '' $ac_executable_extensions; do
4824 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4825 ac_cv_prog_ac_ct_DUMPBIN="$ac_prog"
4826 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4835 ac_ct_DUMPBIN=$ac_cv_prog_ac_ct_DUMPBIN
4836 if test -n "$ac_ct_DUMPBIN"; then
4837 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DUMPBIN" >&5
4838 $as_echo "$ac_ct_DUMPBIN" >&6; }
4840 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4841 $as_echo "no" >&6; }
4845 test -n "$ac_ct_DUMPBIN" && break
4848 if test "x$ac_ct_DUMPBIN" = x; then
4851 case $cross_compiling:$ac_tool_warned in
4853 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4854 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4855 ac_tool_warned=yes ;;
4857 DUMPBIN=$ac_ct_DUMPBIN
4861 case `$DUMPBIN -symbols /dev/null 2>&1 | sed '1q'` in
4863 DUMPBIN="$DUMPBIN -symbols"
4871 if test "$DUMPBIN" != ":"; then
4875 test -z "$NM" && NM=nm
4882 { $as_echo "$as_me:${as_lineno-$LINENO}: checking the name lister ($NM) interface" >&5
4883 $as_echo_n "checking the name lister ($NM) interface... " >&6; }
4884 if ${lt_cv_nm_interface+:} false; then :
4885 $as_echo_n "(cached) " >&6
4887 lt_cv_nm_interface="BSD nm"
4888 echo "int some_variable = 0;" > conftest.$ac_ext
4889 (eval echo "\"\$as_me:$LINENO: $ac_compile\"" >&5)
4890 (eval "$ac_compile" 2>conftest.err)
4891 cat conftest.err >&5
4892 (eval echo "\"\$as_me:$LINENO: $NM \\\"conftest.$ac_objext\\\"\"" >&5)
4893 (eval "$NM \"conftest.$ac_objext\"" 2>conftest.err > conftest.out)
4894 cat conftest.err >&5
4895 (eval echo "\"\$as_me:$LINENO: output\"" >&5)
4896 cat conftest.out >&5
4897 if $GREP 'External.*some_variable' conftest.out > /dev/null; then
4898 lt_cv_nm_interface="MS dumpbin"
4902 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_nm_interface" >&5
4903 $as_echo "$lt_cv_nm_interface" >&6; }
4905 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ln -s works" >&5
4906 $as_echo_n "checking whether ln -s works... " >&6; }
4908 if test "$LN_S" = "ln -s"; then
4909 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
4910 $as_echo "yes" >&6; }
4912 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no, using $LN_S" >&5
4913 $as_echo "no, using $LN_S" >&6; }
4916 # find the maximum length of command line arguments
4917 { $as_echo "$as_me:${as_lineno-$LINENO}: checking the maximum length of command line arguments" >&5
4918 $as_echo_n "checking the maximum length of command line arguments... " >&6; }
4919 if ${lt_cv_sys_max_cmd_len+:} false; then :
4920 $as_echo_n "(cached) " >&6
4927 # On DJGPP, this test can blow up pretty badly due to problems in libc
4928 # (any single argument exceeding 2000 bytes causes a buffer overrun
4929 # during glob expansion). Even if it were fixed, the result of this
4930 # check would be larger than it should be.
4931 lt_cv_sys_max_cmd_len=12288; # 12K is about right
4935 # Under GNU Hurd, this test is not required because there is
4936 # no limit to the length of command line arguments.
4937 # Libtool will interpret -1 as no limit whatsoever
4938 lt_cv_sys_max_cmd_len=-1;
4941 cygwin* | mingw* | cegcc*)
4942 # On Win9x/ME, this test blows up -- it succeeds, but takes
4943 # about 5 minutes as the teststring grows exponentially.
4944 # Worse, since 9x/ME are not pre-emptively multitasking,
4945 # you end up with a "frozen" computer, even though with patience
4946 # the test eventually succeeds (with a max line length of 256k).
4947 # Instead, let's just punt: use the minimum linelength reported by
4948 # all of the supported platforms: 8192 (on NT/2K/XP).
4949 lt_cv_sys_max_cmd_len=8192;
4953 # On MiNT this can take a long time and run out of memory.
4954 lt_cv_sys_max_cmd_len=8192;
4958 # On AmigaOS with pdksh, this test takes hours, literally.
4959 # So we just punt and use a minimum line length of 8192.
4960 lt_cv_sys_max_cmd_len=8192;
4963 netbsd* | freebsd* | openbsd* | darwin* | dragonfly*)
4964 # This has been around since 386BSD, at least. Likely further.
4965 if test -x /sbin/sysctl; then
4966 lt_cv_sys_max_cmd_len=`/sbin/sysctl -n kern.argmax`
4967 elif test -x /usr/sbin/sysctl; then
4968 lt_cv_sys_max_cmd_len=`/usr/sbin/sysctl -n kern.argmax`
4970 lt_cv_sys_max_cmd_len=65536 # usable default for all BSDs
4972 # And add a safety zone
4973 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4`
4974 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3`
4978 # We know the value 262144 and hardcode it with a safety zone (like BSD)
4979 lt_cv_sys_max_cmd_len=196608
4983 # Dr. Hans Ekkehard Plesser reports seeing a kernel panic running configure
4984 # due to this test when exec_disable_arg_limit is 1 on Tru64. It is not
4985 # nice to cause kernel panics so lets avoid the loop below.
4986 # First set a reasonable default.
4987 lt_cv_sys_max_cmd_len=16384
4989 if test -x /sbin/sysconfig; then
4990 case `/sbin/sysconfig -q proc exec_disable_arg_limit` in
4991 *1*) lt_cv_sys_max_cmd_len=-1 ;;
4996 lt_cv_sys_max_cmd_len=102400
4998 sysv5* | sco5v6* | sysv4.2uw2*)
4999 kargmax=`grep ARG_MAX /etc/conf/cf.d/stune 2>/dev/null`
5000 if test -n "$kargmax"; then
5001 lt_cv_sys_max_cmd_len=`echo $kargmax | sed 's/.*[ ]//'`
5003 lt_cv_sys_max_cmd_len=32768
5007 lt_cv_sys_max_cmd_len=`(getconf ARG_MAX) 2> /dev/null`
5008 if test -n "$lt_cv_sys_max_cmd_len"; then
5009 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4`
5010 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3`
5012 # Make teststring a little bigger before we do anything with it.
5013 # a 1K string should be a reasonable start.
5014 for i in 1 2 3 4 5 6 7 8 ; do
5015 teststring=$teststring$teststring
5017 SHELL=${SHELL-${CONFIG_SHELL-/bin/sh}}
5018 # If test is not a shell built-in, we'll probably end up computing a
5019 # maximum length that is only half of the actual maximum length, but
5021 while { test "X"`func_fallback_echo "$teststring$teststring" 2>/dev/null` \
5022 = "X$teststring$teststring"; } >/dev/null 2>&1 &&
5023 test $i != 17 # 1/2 MB should be enough
5026 teststring=$teststring$teststring
5028 # Only check the string length outside the loop.
5029 lt_cv_sys_max_cmd_len=`expr "X$teststring" : ".*" 2>&1`
5031 # Add a significant safety factor because C++ compilers can tack on
5032 # massive amounts of additional arguments before passing them to the
5033 # linker. It appears as though 1/2 is a usable value.
5034 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 2`
5041 if test -n $lt_cv_sys_max_cmd_len ; then
5042 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_sys_max_cmd_len" >&5
5043 $as_echo "$lt_cv_sys_max_cmd_len" >&6; }
5045 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none" >&5
5046 $as_echo "none" >&6; }
5048 max_cmd_len=$lt_cv_sys_max_cmd_len
5059 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the shell understands some XSI constructs" >&5
5060 $as_echo_n "checking whether the shell understands some XSI constructs... " >&6; }
5061 # Try some XSI features
5064 test "${_lt_dummy##*/},${_lt_dummy%/*},${_lt_dummy#??}"${_lt_dummy%"$_lt_dummy"}, \
5066 && eval 'test $(( 1 + 1 )) -eq 2 \
5067 && test "${#_lt_dummy}" -eq 5' ) >/dev/null 2>&1 \
5069 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xsi_shell" >&5
5070 $as_echo "$xsi_shell" >&6; }
5073 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the shell understands \"+=\"" >&5
5074 $as_echo_n "checking whether the shell understands \"+=\"... " >&6; }
5076 ( foo=bar; set foo baz; eval "$1+=\$2" && test "$foo" = barbaz ) \
5078 && lt_shell_append=yes
5079 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_shell_append" >&5
5080 $as_echo "$lt_shell_append" >&6; }
5083 if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
5093 # test EBCDIC or ASCII
5094 case `echo X|tr X '\101'` in
5095 A) # ASCII based system
5096 # \n is not interpreted correctly by Solaris 8 /usr/ucb/tr
5097 lt_SP2NL='tr \040 \012'
5098 lt_NL2SP='tr \015\012 \040\040'
5100 *) # EBCDIC based system
5101 lt_SP2NL='tr \100 \n'
5102 lt_NL2SP='tr \r\n \100\100'
5114 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to convert $build file names to $host format" >&5
5115 $as_echo_n "checking how to convert $build file names to $host format... " >&6; }
5116 if ${lt_cv_to_host_file_cmd+:} false; then :
5117 $as_echo_n "(cached) " >&6
5122 *-*-mingw* ) # actually msys
5123 lt_cv_to_host_file_cmd=func_convert_file_msys_to_w32
5126 lt_cv_to_host_file_cmd=func_convert_file_cygwin_to_w32
5128 * ) # otherwise, assume *nix
5129 lt_cv_to_host_file_cmd=func_convert_file_nix_to_w32
5135 *-*-mingw* ) # actually msys
5136 lt_cv_to_host_file_cmd=func_convert_file_msys_to_cygwin
5139 lt_cv_to_host_file_cmd=func_convert_file_noop
5141 * ) # otherwise, assume *nix
5142 lt_cv_to_host_file_cmd=func_convert_file_nix_to_cygwin
5146 * ) # unhandled hosts (and "normal" native builds)
5147 lt_cv_to_host_file_cmd=func_convert_file_noop
5153 to_host_file_cmd=$lt_cv_to_host_file_cmd
5154 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_to_host_file_cmd" >&5
5155 $as_echo "$lt_cv_to_host_file_cmd" >&6; }
5161 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to convert $build file names to toolchain format" >&5
5162 $as_echo_n "checking how to convert $build file names to toolchain format... " >&6; }
5163 if ${lt_cv_to_tool_file_cmd+:} false; then :
5164 $as_echo_n "(cached) " >&6
5166 #assume ordinary cross tools, or native build.
5167 lt_cv_to_tool_file_cmd=func_convert_file_noop
5171 *-*-mingw* ) # actually msys
5172 lt_cv_to_tool_file_cmd=func_convert_file_msys_to_w32
5180 to_tool_file_cmd=$lt_cv_to_tool_file_cmd
5181 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_to_tool_file_cmd" >&5
5182 $as_echo "$lt_cv_to_tool_file_cmd" >&6; }
5188 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $LD option to reload object files" >&5
5189 $as_echo_n "checking for $LD option to reload object files... " >&6; }
5190 if ${lt_cv_ld_reload_flag+:} false; then :
5191 $as_echo_n "(cached) " >&6
5193 lt_cv_ld_reload_flag='-r'
5195 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_reload_flag" >&5
5196 $as_echo "$lt_cv_ld_reload_flag" >&6; }
5197 reload_flag=$lt_cv_ld_reload_flag
5198 case $reload_flag in
5200 *) reload_flag=" $reload_flag" ;;
5202 reload_cmds='$LD$reload_flag -o $output$reload_objs'
5204 cygwin* | mingw* | pw32* | cegcc*)
5205 if test "$GCC" != yes; then
5210 if test "$GCC" = yes; then
5211 reload_cmds='$LTCC $LTCFLAGS -nostdlib ${wl}-r -o $output$reload_objs'
5213 reload_cmds='$LD$reload_flag -o $output$reload_objs'
5226 if test -n "$ac_tool_prefix"; then
5227 # Extract the first word of "${ac_tool_prefix}objdump", so it can be a program name with args.
5228 set dummy ${ac_tool_prefix}objdump; ac_word=$2
5229 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5230 $as_echo_n "checking for $ac_word... " >&6; }
5231 if ${ac_cv_prog_OBJDUMP+:} false; then :
5232 $as_echo_n "(cached) " >&6
5234 if test -n "$OBJDUMP"; then
5235 ac_cv_prog_OBJDUMP="$OBJDUMP" # Let the user override the test.
5237 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5241 test -z "$as_dir" && as_dir=.
5242 for ac_exec_ext in '' $ac_executable_extensions; do
5243 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5244 ac_cv_prog_OBJDUMP="${ac_tool_prefix}objdump"
5245 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5254 OBJDUMP=$ac_cv_prog_OBJDUMP
5255 if test -n "$OBJDUMP"; then
5256 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OBJDUMP" >&5
5257 $as_echo "$OBJDUMP" >&6; }
5259 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5260 $as_echo "no" >&6; }
5265 if test -z "$ac_cv_prog_OBJDUMP"; then
5266 ac_ct_OBJDUMP=$OBJDUMP
5267 # Extract the first word of "objdump", so it can be a program name with args.
5268 set dummy objdump; ac_word=$2
5269 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5270 $as_echo_n "checking for $ac_word... " >&6; }
5271 if ${ac_cv_prog_ac_ct_OBJDUMP+:} false; then :
5272 $as_echo_n "(cached) " >&6
5274 if test -n "$ac_ct_OBJDUMP"; then
5275 ac_cv_prog_ac_ct_OBJDUMP="$ac_ct_OBJDUMP" # Let the user override the test.
5277 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5281 test -z "$as_dir" && as_dir=.
5282 for ac_exec_ext in '' $ac_executable_extensions; do
5283 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5284 ac_cv_prog_ac_ct_OBJDUMP="objdump"
5285 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5294 ac_ct_OBJDUMP=$ac_cv_prog_ac_ct_OBJDUMP
5295 if test -n "$ac_ct_OBJDUMP"; then
5296 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OBJDUMP" >&5
5297 $as_echo "$ac_ct_OBJDUMP" >&6; }
5299 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5300 $as_echo "no" >&6; }
5303 if test "x$ac_ct_OBJDUMP" = x; then
5306 case $cross_compiling:$ac_tool_warned in
5308 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5309 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5310 ac_tool_warned=yes ;;
5312 OBJDUMP=$ac_ct_OBJDUMP
5315 OBJDUMP="$ac_cv_prog_OBJDUMP"
5318 test -z "$OBJDUMP" && OBJDUMP=objdump
5325 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to recognize dependent libraries" >&5
5326 $as_echo_n "checking how to recognize dependent libraries... " >&6; }
5327 if ${lt_cv_deplibs_check_method+:} false; then :
5328 $as_echo_n "(cached) " >&6
5330 lt_cv_file_magic_cmd='$MAGIC_CMD'
5331 lt_cv_file_magic_test_file=
5332 lt_cv_deplibs_check_method='unknown'
5333 # Need to set the preceding variable on all platforms that support
5334 # interlibrary dependencies.
5335 # 'none' -- dependencies not supported.
5336 # `unknown' -- same as none, but documents that we really don't know.
5337 # 'pass_all' -- all dependencies passed with no checks.
5338 # 'test_compile' -- check by making test program.
5339 # 'file_magic [[regex]]' -- check by looking for files in library path
5340 # which responds to the $file_magic_cmd with a given extended regex.
5341 # If you have `file' or equivalent on your system and you're not sure
5342 # whether `pass_all' will *always* work, you probably want this one.
5346 lt_cv_deplibs_check_method=pass_all
5350 lt_cv_deplibs_check_method=pass_all
5354 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (shared object|dynamic lib)'
5355 lt_cv_file_magic_cmd='/usr/bin/file -L'
5356 lt_cv_file_magic_test_file=/shlib/libc.so
5360 # func_win32_libid is a shell function defined in ltmain.sh
5361 lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL'
5362 lt_cv_file_magic_cmd='func_win32_libid'
5366 # Base MSYS/MinGW do not provide the 'file' command needed by
5367 # func_win32_libid shell function, so use a weaker test based on 'objdump',
5368 # unless we find 'file', for example because we are cross-compiling.
5369 # func_win32_libid assumes BSD nm, so disallow it if using MS dumpbin.
5370 if ( test "$lt_cv_nm_interface" = "BSD nm" && file / ) >/dev/null 2>&1; then
5371 lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL'
5372 lt_cv_file_magic_cmd='func_win32_libid'
5374 # Keep this pattern in sync with the one in func_win32_libid.
5375 lt_cv_deplibs_check_method='file_magic file format (pei*-i386(.*architecture: i386)?|pe-arm-wince|pe-x86-64)'
5376 lt_cv_file_magic_cmd='$OBJDUMP -f'
5381 # use the weaker test based on 'objdump'. See mingw*.
5382 lt_cv_deplibs_check_method='file_magic file format pe-arm-.*little(.*architecture: arm)?'
5383 lt_cv_file_magic_cmd='$OBJDUMP -f'
5386 darwin* | rhapsody*)
5387 lt_cv_deplibs_check_method=pass_all
5390 freebsd* | dragonfly*)
5391 if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then
5394 # Not sure whether the presence of OpenBSD here was a mistake.
5395 # Let's accept both of them until this is cleared up.
5396 lt_cv_deplibs_check_method='file_magic (FreeBSD|OpenBSD|DragonFly)/i[3-9]86 (compact )?demand paged shared library'
5397 lt_cv_file_magic_cmd=/usr/bin/file
5398 lt_cv_file_magic_test_file=`echo /usr/lib/libc.so.*`
5402 lt_cv_deplibs_check_method=pass_all
5407 lt_cv_deplibs_check_method=pass_all
5411 lt_cv_deplibs_check_method=pass_all
5414 hpux10.20* | hpux11*)
5415 lt_cv_file_magic_cmd=/usr/bin/file
5418 lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|ELF-[0-9][0-9]) shared object file - IA64'
5419 lt_cv_file_magic_test_file=/usr/lib/hpux32/libc.so
5422 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]'
5423 lt_cv_file_magic_test_file=/usr/lib/pa20_64/libc.sl
5426 lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|PA-RISC[0-9]\.[0-9]) shared library'
5427 lt_cv_file_magic_test_file=/usr/lib/libc.sl
5433 # PIC code is broken on Interix 3.x, that's why |\.a not |_pic\.a here
5434 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|\.a)$'
5437 irix5* | irix6* | nonstopux*)
5439 *-32|*"-32 ") libmagic=32-bit;;
5440 *-n32|*"-n32 ") libmagic=N32;;
5441 *-64|*"-64 ") libmagic=64-bit;;
5442 *) libmagic=never-match;;
5444 lt_cv_deplibs_check_method=pass_all
5447 # This must be Linux ELF.
5448 linux* | k*bsd*-gnu | kopensolaris*-gnu)
5449 lt_cv_deplibs_check_method=pass_all
5453 if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then
5454 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
5456 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|_pic\.a)$'
5461 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (executable|dynamic lib)'
5462 lt_cv_file_magic_cmd=/usr/bin/file
5463 lt_cv_file_magic_test_file=/usr/lib/libnls.so
5467 lt_cv_deplibs_check_method=pass_all
5471 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
5472 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|\.so|_pic\.a)$'
5474 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
5478 osf3* | osf4* | osf5*)
5479 lt_cv_deplibs_check_method=pass_all
5483 lt_cv_deplibs_check_method=pass_all
5487 lt_cv_deplibs_check_method=pass_all
5490 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
5491 lt_cv_deplibs_check_method=pass_all
5495 case $host_vendor in
5497 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]'
5498 lt_cv_file_magic_test_file=`echo /usr/lib/libc.so*`
5501 lt_cv_deplibs_check_method=pass_all
5504 lt_cv_file_magic_cmd='/bin/file'
5505 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [LM]SB (shared object|dynamic lib )'
5508 lt_cv_file_magic_cmd='/bin/file'
5509 lt_cv_deplibs_check_method="file_magic ELF [0-9][0-9]*-bit [LM]SB dynamic lib"
5510 lt_cv_file_magic_test_file=/lib/libc.so
5513 lt_cv_deplibs_check_method=pass_all
5516 lt_cv_deplibs_check_method=pass_all
5522 lt_cv_deplibs_check_method=pass_all
5527 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_deplibs_check_method" >&5
5528 $as_echo "$lt_cv_deplibs_check_method" >&6; }
5532 if test "$build" = "$host"; then
5535 if ( shopt | grep nocaseglob ) >/dev/null 2>&1; then
5538 file_magic_glob=`echo aAbBcCdDeEfFgGhHiIjJkKlLmMnNoOpPqQrRsStTuUvVwWxXyYzZ | $SED -e "s/\(..\)/s\/[\1]\/[\1]\/g;/g"`
5544 file_magic_cmd=$lt_cv_file_magic_cmd
5545 deplibs_check_method=$lt_cv_deplibs_check_method
5546 test -z "$deplibs_check_method" && deplibs_check_method=unknown
5569 if test -n "$ac_tool_prefix"; then
5570 # Extract the first word of "${ac_tool_prefix}dlltool", so it can be a program name with args.
5571 set dummy ${ac_tool_prefix}dlltool; ac_word=$2
5572 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5573 $as_echo_n "checking for $ac_word... " >&6; }
5574 if ${ac_cv_prog_DLLTOOL+:} false; then :
5575 $as_echo_n "(cached) " >&6
5577 if test -n "$DLLTOOL"; then
5578 ac_cv_prog_DLLTOOL="$DLLTOOL" # Let the user override the test.
5580 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5584 test -z "$as_dir" && as_dir=.
5585 for ac_exec_ext in '' $ac_executable_extensions; do
5586 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5587 ac_cv_prog_DLLTOOL="${ac_tool_prefix}dlltool"
5588 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5597 DLLTOOL=$ac_cv_prog_DLLTOOL
5598 if test -n "$DLLTOOL"; then
5599 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DLLTOOL" >&5
5600 $as_echo "$DLLTOOL" >&6; }
5602 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5603 $as_echo "no" >&6; }
5608 if test -z "$ac_cv_prog_DLLTOOL"; then
5609 ac_ct_DLLTOOL=$DLLTOOL
5610 # Extract the first word of "dlltool", so it can be a program name with args.
5611 set dummy dlltool; ac_word=$2
5612 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5613 $as_echo_n "checking for $ac_word... " >&6; }
5614 if ${ac_cv_prog_ac_ct_DLLTOOL+:} false; then :
5615 $as_echo_n "(cached) " >&6
5617 if test -n "$ac_ct_DLLTOOL"; then
5618 ac_cv_prog_ac_ct_DLLTOOL="$ac_ct_DLLTOOL" # Let the user override the test.
5620 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5624 test -z "$as_dir" && as_dir=.
5625 for ac_exec_ext in '' $ac_executable_extensions; do
5626 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5627 ac_cv_prog_ac_ct_DLLTOOL="dlltool"
5628 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5637 ac_ct_DLLTOOL=$ac_cv_prog_ac_ct_DLLTOOL
5638 if test -n "$ac_ct_DLLTOOL"; then
5639 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DLLTOOL" >&5
5640 $as_echo "$ac_ct_DLLTOOL" >&6; }
5642 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5643 $as_echo "no" >&6; }
5646 if test "x$ac_ct_DLLTOOL" = x; then
5649 case $cross_compiling:$ac_tool_warned in
5651 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5652 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5653 ac_tool_warned=yes ;;
5655 DLLTOOL=$ac_ct_DLLTOOL
5658 DLLTOOL="$ac_cv_prog_DLLTOOL"
5661 test -z "$DLLTOOL" && DLLTOOL=dlltool
5669 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to associate runtime and link libraries" >&5
5670 $as_echo_n "checking how to associate runtime and link libraries... " >&6; }
5671 if ${lt_cv_sharedlib_from_linklib_cmd+:} false; then :
5672 $as_echo_n "(cached) " >&6
5674 lt_cv_sharedlib_from_linklib_cmd='unknown'
5677 cygwin* | mingw* | pw32* | cegcc*)
5678 # two different shell functions defined in ltmain.sh
5679 # decide which to use based on capabilities of $DLLTOOL
5680 case `$DLLTOOL --help 2>&1` in
5681 *--identify-strict*)
5682 lt_cv_sharedlib_from_linklib_cmd=func_cygming_dll_for_implib
5685 lt_cv_sharedlib_from_linklib_cmd=func_cygming_dll_for_implib_fallback
5690 # fallback: assume linklib IS sharedlib
5691 lt_cv_sharedlib_from_linklib_cmd="$ECHO"
5696 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_sharedlib_from_linklib_cmd" >&5
5697 $as_echo "$lt_cv_sharedlib_from_linklib_cmd" >&6; }
5698 sharedlib_from_linklib_cmd=$lt_cv_sharedlib_from_linklib_cmd
5699 test -z "$sharedlib_from_linklib_cmd" && sharedlib_from_linklib_cmd=$ECHO
5708 if test -n "$ac_tool_prefix"; then
5711 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
5712 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
5713 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5714 $as_echo_n "checking for $ac_word... " >&6; }
5715 if ${ac_cv_prog_AR+:} false; then :
5716 $as_echo_n "(cached) " >&6
5718 if test -n "$AR"; then
5719 ac_cv_prog_AR="$AR" # Let the user override the test.
5721 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5725 test -z "$as_dir" && as_dir=.
5726 for ac_exec_ext in '' $ac_executable_extensions; do
5727 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5728 ac_cv_prog_AR="$ac_tool_prefix$ac_prog"
5729 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5739 if test -n "$AR"; then
5740 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AR" >&5
5741 $as_echo "$AR" >&6; }
5743 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5744 $as_echo "no" >&6; }
5748 test -n "$AR" && break
5751 if test -z "$AR"; then
5755 # Extract the first word of "$ac_prog", so it can be a program name with args.
5756 set dummy $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_ac_ct_AR+:} false; then :
5760 $as_echo_n "(cached) " >&6
5762 if test -n "$ac_ct_AR"; then
5763 ac_cv_prog_ac_ct_AR="$ac_ct_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 { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5772 ac_cv_prog_ac_ct_AR="$ac_prog"
5773 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5782 ac_ct_AR=$ac_cv_prog_ac_ct_AR
5783 if test -n "$ac_ct_AR"; then
5784 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_AR" >&5
5785 $as_echo "$ac_ct_AR" >&6; }
5787 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5788 $as_echo "no" >&6; }
5792 test -n "$ac_ct_AR" && break
5795 if test "x$ac_ct_AR" = x; then
5798 case $cross_compiling:$ac_tool_warned in
5800 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5801 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5802 ac_tool_warned=yes ;;
5821 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for archiver @FILE support" >&5
5822 $as_echo_n "checking for archiver @FILE support... " >&6; }
5823 if ${lt_cv_ar_at_file+:} false; then :
5824 $as_echo_n "(cached) " >&6
5827 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5828 /* end confdefs.h. */
5838 if ac_fn_c_try_compile "$LINENO"; then :
5839 echo conftest.$ac_objext > conftest.lst
5840 lt_ar_try='$AR $AR_FLAGS libconftest.a @conftest.lst >&5'
5841 { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$lt_ar_try\""; } >&5
5842 (eval $lt_ar_try) 2>&5
5844 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
5845 test $ac_status = 0; }
5846 if test "$ac_status" -eq 0; then
5847 # Ensure the archiver fails upon bogus file names.
5848 rm -f conftest.$ac_objext libconftest.a
5849 { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$lt_ar_try\""; } >&5
5850 (eval $lt_ar_try) 2>&5
5852 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
5853 test $ac_status = 0; }
5854 if test "$ac_status" -ne 0; then
5858 rm -f conftest.* libconftest.a
5861 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5864 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ar_at_file" >&5
5865 $as_echo "$lt_cv_ar_at_file" >&6; }
5867 if test "x$lt_cv_ar_at_file" = xno; then
5870 archiver_list_spec=$lt_cv_ar_at_file
5879 if test -n "$ac_tool_prefix"; then
5880 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
5881 set dummy ${ac_tool_prefix}strip; ac_word=$2
5882 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5883 $as_echo_n "checking for $ac_word... " >&6; }
5884 if ${ac_cv_prog_STRIP+:} false; then :
5885 $as_echo_n "(cached) " >&6
5887 if test -n "$STRIP"; then
5888 ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
5890 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5894 test -z "$as_dir" && as_dir=.
5895 for ac_exec_ext in '' $ac_executable_extensions; do
5896 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5897 ac_cv_prog_STRIP="${ac_tool_prefix}strip"
5898 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5907 STRIP=$ac_cv_prog_STRIP
5908 if test -n "$STRIP"; then
5909 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
5910 $as_echo "$STRIP" >&6; }
5912 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5913 $as_echo "no" >&6; }
5918 if test -z "$ac_cv_prog_STRIP"; then
5920 # Extract the first word of "strip", so it can be a program name with args.
5921 set dummy strip; ac_word=$2
5922 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5923 $as_echo_n "checking for $ac_word... " >&6; }
5924 if ${ac_cv_prog_ac_ct_STRIP+:} false; then :
5925 $as_echo_n "(cached) " >&6
5927 if test -n "$ac_ct_STRIP"; then
5928 ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
5930 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5934 test -z "$as_dir" && as_dir=.
5935 for ac_exec_ext in '' $ac_executable_extensions; do
5936 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5937 ac_cv_prog_ac_ct_STRIP="strip"
5938 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5947 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
5948 if test -n "$ac_ct_STRIP"; then
5949 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
5950 $as_echo "$ac_ct_STRIP" >&6; }
5952 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5953 $as_echo "no" >&6; }
5956 if test "x$ac_ct_STRIP" = x; then
5959 case $cross_compiling:$ac_tool_warned in
5961 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5962 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5963 ac_tool_warned=yes ;;
5968 STRIP="$ac_cv_prog_STRIP"
5971 test -z "$STRIP" && STRIP=:
5978 if test -n "$ac_tool_prefix"; then
5979 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
5980 set dummy ${ac_tool_prefix}ranlib; ac_word=$2
5981 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5982 $as_echo_n "checking for $ac_word... " >&6; }
5983 if ${ac_cv_prog_RANLIB+:} false; then :
5984 $as_echo_n "(cached) " >&6
5986 if test -n "$RANLIB"; then
5987 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
5989 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5993 test -z "$as_dir" && as_dir=.
5994 for ac_exec_ext in '' $ac_executable_extensions; do
5995 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5996 ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
5997 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6006 RANLIB=$ac_cv_prog_RANLIB
6007 if test -n "$RANLIB"; then
6008 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $RANLIB" >&5
6009 $as_echo "$RANLIB" >&6; }
6011 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6012 $as_echo "no" >&6; }
6017 if test -z "$ac_cv_prog_RANLIB"; then
6018 ac_ct_RANLIB=$RANLIB
6019 # Extract the first word of "ranlib", so it can be a program name with args.
6020 set dummy ranlib; ac_word=$2
6021 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6022 $as_echo_n "checking for $ac_word... " >&6; }
6023 if ${ac_cv_prog_ac_ct_RANLIB+:} false; then :
6024 $as_echo_n "(cached) " >&6
6026 if test -n "$ac_ct_RANLIB"; then
6027 ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
6029 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6033 test -z "$as_dir" && as_dir=.
6034 for ac_exec_ext in '' $ac_executable_extensions; do
6035 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6036 ac_cv_prog_ac_ct_RANLIB="ranlib"
6037 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6046 ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
6047 if test -n "$ac_ct_RANLIB"; then
6048 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_RANLIB" >&5
6049 $as_echo "$ac_ct_RANLIB" >&6; }
6051 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6052 $as_echo "no" >&6; }
6055 if test "x$ac_ct_RANLIB" = x; then
6058 case $cross_compiling:$ac_tool_warned in
6060 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6061 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6062 ac_tool_warned=yes ;;
6064 RANLIB=$ac_ct_RANLIB
6067 RANLIB="$ac_cv_prog_RANLIB"
6070 test -z "$RANLIB" && RANLIB=:
6077 # Determine commands to create old-style static archives.
6078 old_archive_cmds='$AR $AR_FLAGS $oldlib$oldobjs'
6079 old_postinstall_cmds='chmod 644 $oldlib'
6080 old_postuninstall_cmds=
6082 if test -n "$RANLIB"; then
6085 old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB -t \$oldlib"
6088 old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB \$oldlib"
6091 old_archive_cmds="$old_archive_cmds~\$RANLIB \$oldlib"
6096 lock_old_archive_extraction=yes ;;
6098 lock_old_archive_extraction=no ;;
6139 # If no C compiler was specified, use CC.
6142 # If no C compiler flags were specified, use CFLAGS.
6143 LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
6145 # Allow CC to be a program name with arguments.
6149 # Check for command to grab the raw symbol name followed by C symbol from nm.
6150 { $as_echo "$as_me:${as_lineno-$LINENO}: checking command to parse $NM output from $compiler object" >&5
6151 $as_echo_n "checking command to parse $NM output from $compiler object... " >&6; }
6152 if ${lt_cv_sys_global_symbol_pipe+:} false; then :
6153 $as_echo_n "(cached) " >&6
6156 # These are sane defaults that work on at least a few old systems.
6157 # [They come from Ultrix. What could be older than Ultrix?!! ;)]
6159 # Character class describing NM global symbol codes.
6160 symcode='[BCDEGRST]'
6162 # Regexp to match symbols that can be accessed directly from C.
6163 sympat='\([_A-Za-z][_A-Za-z0-9]*\)'
6165 # Define system-specific variables.
6170 cygwin* | mingw* | pw32* | cegcc*)
6171 symcode='[ABCDGISTW]'
6174 if test "$host_cpu" = ia64; then
6175 symcode='[ABCDEGRST]'
6179 symcode='[BCDEGRST]'
6182 symcode='[BCDEGQRST]'
6193 sysv5* | sco5v6* | unixware* | OpenUNIX*)
6201 # If we're using GNU nm, then use its standard symbol codes.
6202 case `$NM -V 2>&1` in
6203 *GNU* | *'with BFD'*)
6204 symcode='[ABCDGIRSTW]' ;;
6207 # Transform an extracted symbol line into a proper C declaration.
6208 # Some systems (esp. on ia64) link data and code symbols differently,
6209 # so use this general approach.
6210 lt_cv_sys_global_symbol_to_cdecl="sed -n -e 's/^T .* \(.*\)$/extern int \1();/p' -e 's/^$symcode* .* \(.*\)$/extern char \1;/p'"
6212 # Transform an extracted symbol line into symbol name and symbol address
6213 lt_cv_sys_global_symbol_to_c_name_address="sed -n -e 's/^: \([^ ]*\)[ ]*$/ {\\\"\1\\\", (void *) 0},/p' -e 's/^$symcode* \([^ ]*\) \([^ ]*\)$/ {\"\2\", (void *) \&\2},/p'"
6214 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'"
6216 # Handle CRLF in mingw tool chain
6220 opt_cr=`$ECHO 'x\{0,1\}' | tr x '\015'` # option cr in regexp
6224 # Try without a prefix underscore, then with it.
6225 for ac_symprfx in "" "_"; do
6227 # Transform symcode, sympat, and symprfx into a raw symbol and a C symbol.
6228 symxfrm="\\1 $ac_symprfx\\2 \\2"
6230 # Write the raw and C identifiers.
6231 if test "$lt_cv_nm_interface" = "MS dumpbin"; then
6232 # Fake it for dumpbin and say T for any non-static function
6233 # and D for any global variable.
6234 # Also find C++ and __fastcall symbols from MSVC++,
6235 # which start with @ or ?.
6236 lt_cv_sys_global_symbol_pipe="$AWK '"\
6237 " {last_section=section; section=\$ 3};"\
6238 " /Section length .*#relocs.*(pick any)/{hide[last_section]=1};"\
6239 " \$ 0!~/External *\|/{next};"\
6240 " / 0+ UNDEF /{next}; / UNDEF \([^|]\)*()/{next};"\
6241 " {if(hide[section]) next};"\
6242 " {f=0}; \$ 0~/\(\).*\|/{f=1}; {printf f ? \"T \" : \"D \"};"\
6243 " {split(\$ 0, a, /\||\r/); split(a[2], s)};"\
6244 " s[1]~/^[@?]/{print s[1], s[1]; next};"\
6245 " s[1]~prfx {split(s[1],t,\"@\"); print t[1], substr(t[1],length(prfx))}"\
6246 " ' prfx=^$ac_symprfx"
6248 lt_cv_sys_global_symbol_pipe="sed -n -e 's/^.*[ ]\($symcode$symcode*\)[ ][ ]*$ac_symprfx$sympat$opt_cr$/$symxfrm/p'"
6250 lt_cv_sys_global_symbol_pipe="$lt_cv_sys_global_symbol_pipe | sed '/ __gnu_lto/d'"
6252 # Check to see that the pipe works correctly.
6256 cat > conftest.$ac_ext <<_LT_EOF
6261 void nm_test_func(void);
6262 void nm_test_func(void){}
6266 int main(){nm_test_var='a';nm_test_func();return(0);}
6269 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
6270 (eval $ac_compile) 2>&5
6272 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6273 test $ac_status = 0; }; then
6274 # Now try to grab the symbols.
6276 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$NM conftest.$ac_objext \| "$lt_cv_sys_global_symbol_pipe" \> $nlist\""; } >&5
6277 (eval $NM conftest.$ac_objext \| "$lt_cv_sys_global_symbol_pipe" \> $nlist) 2>&5
6279 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6280 test $ac_status = 0; } && test -s "$nlist"; then
6281 # Try sorting and uniquifying the output.
6282 if sort "$nlist" | uniq > "$nlist"T; then
6283 mv -f "$nlist"T "$nlist"
6288 # Make sure that we snagged all the symbols we need.
6289 if $GREP ' nm_test_var$' "$nlist" >/dev/null; then
6290 if $GREP ' nm_test_func$' "$nlist" >/dev/null; then
6291 cat <<_LT_EOF > conftest.$ac_ext
6292 /* Keep this code in sync between libtool.m4, ltmain, lt_system.h, and tests. */
6293 #if defined(_WIN32) || defined(__CYGWIN__) || defined(_WIN32_WCE)
6294 /* DATA imports from DLLs on WIN32 con't be const, because runtime
6295 relocations are performed -- see ld's documentation on pseudo-relocs. */
6296 # define LT_DLSYM_CONST
6297 #elif defined(__osf__)
6298 /* This system does not cope well with relocations in const data. */
6299 # define LT_DLSYM_CONST
6301 # define LT_DLSYM_CONST const
6309 # Now generate the symbol file.
6310 eval "$lt_cv_sys_global_symbol_to_cdecl"' < "$nlist" | $GREP -v main >> conftest.$ac_ext'
6312 cat <<_LT_EOF >> conftest.$ac_ext
6314 /* The mapping between symbol names and symbols. */
6315 LT_DLSYM_CONST struct {
6319 lt__PROGRAM__LTX_preloaded_symbols[] =
6321 { "@PROGRAM@", (void *) 0 },
6323 $SED "s/^$symcode$symcode* \(.*\) \(.*\)$/ {\"\2\", (void *) \&\2},/" < "$nlist" | $GREP -v main >> conftest.$ac_ext
6324 cat <<\_LT_EOF >> conftest.$ac_ext
6328 /* This works around a problem in FreeBSD linker */
6329 #ifdef FREEBSD_WORKAROUND
6330 static const void *lt_preloaded_setup() {
6331 return lt__PROGRAM__LTX_preloaded_symbols;
6339 # Now try linking the two files.
6340 mv conftest.$ac_objext conftstm.$ac_objext
6341 lt_globsym_save_LIBS=$LIBS
6342 lt_globsym_save_CFLAGS=$CFLAGS
6343 LIBS="conftstm.$ac_objext"
6344 CFLAGS="$CFLAGS$lt_prog_compiler_no_builtin_flag"
6345 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
6346 (eval $ac_link) 2>&5
6348 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6349 test $ac_status = 0; } && test -s conftest${ac_exeext}; then
6352 LIBS=$lt_globsym_save_LIBS
6353 CFLAGS=$lt_globsym_save_CFLAGS
6355 echo "cannot find nm_test_func in $nlist" >&5
6358 echo "cannot find nm_test_var in $nlist" >&5
6361 echo "cannot run $lt_cv_sys_global_symbol_pipe" >&5
6364 echo "$progname: failed program was:" >&5
6365 cat conftest.$ac_ext >&5
6367 rm -rf conftest* conftst*
6369 # Do not use the global_symbol_pipe unless it works.
6370 if test "$pipe_works" = yes; then
6373 lt_cv_sys_global_symbol_pipe=
6379 if test -z "$lt_cv_sys_global_symbol_pipe"; then
6380 lt_cv_sys_global_symbol_to_cdecl=
6382 if test -z "$lt_cv_sys_global_symbol_pipe$lt_cv_sys_global_symbol_to_cdecl"; then
6383 { $as_echo "$as_me:${as_lineno-$LINENO}: result: failed" >&5
6384 $as_echo "failed" >&6; }
6386 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ok" >&5
6387 $as_echo "ok" >&6; }
6390 # Response file support.
6391 if test "$lt_cv_nm_interface" = "MS dumpbin"; then
6392 nm_file_list_spec='@'
6393 elif $NM --help 2>/dev/null | grep '[@]FILE' >/dev/null; then
6394 nm_file_list_spec='@'
6423 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sysroot" >&5
6424 $as_echo_n "checking for sysroot... " >&6; }
6426 # Check whether --with-sysroot was given.
6427 if test "${with_sysroot+set}" = set; then :
6428 withval=$with_sysroot;
6435 case ${with_sysroot} in #(
6437 if test "$GCC" = yes; then
6438 lt_sysroot=`$CC --print-sysroot 2>/dev/null`
6442 lt_sysroot=`echo "$with_sysroot" | sed -e "$sed_quote_subst"`
6447 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${with_sysroot}" >&5
6448 $as_echo "${with_sysroot}" >&6; }
6449 as_fn_error $? "The sysroot must be an absolute path." "$LINENO" 5
6453 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${lt_sysroot:-no}" >&5
6454 $as_echo "${lt_sysroot:-no}" >&6; }
6460 # Check whether --enable-libtool-lock was given.
6461 if test "${enable_libtool_lock+set}" = set; then :
6462 enableval=$enable_libtool_lock;
6465 test "x$enable_libtool_lock" != xno && enable_libtool_lock=yes
6467 # Some flags need to be propagated to the compiler or linker for good
6471 # Find out which ABI we are using.
6472 echo 'int i;' > conftest.$ac_ext
6473 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
6474 (eval $ac_compile) 2>&5
6476 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6477 test $ac_status = 0; }; then
6478 case `/usr/bin/file conftest.$ac_objext` in
6490 # Find out which ABI we are using.
6491 echo '#line '$LINENO' "configure"' > conftest.$ac_ext
6492 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
6493 (eval $ac_compile) 2>&5
6495 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6496 test $ac_status = 0; }; then
6497 if test "$lt_cv_prog_gnu_ld" = yes; then
6498 case `/usr/bin/file conftest.$ac_objext` in
6500 LD="${LD-ld} -melf32bsmip"
6503 LD="${LD-ld} -melf32bmipn32"
6506 LD="${LD-ld} -melf64bmip"
6510 case `/usr/bin/file conftest.$ac_objext` in
6526 x86_64-*kfreebsd*-gnu|x86_64-*linux*|ppc*-*linux*|powerpc*-*linux*| \
6527 s390*-*linux*|s390*-*tpf*|sparc*-*linux*)
6528 # Find out which ABI we are using.
6529 echo 'int i;' > conftest.$ac_ext
6530 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
6531 (eval $ac_compile) 2>&5
6533 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6534 test $ac_status = 0; }; then
6535 case `/usr/bin/file conftest.o` in
6538 x86_64-*kfreebsd*-gnu)
6539 LD="${LD-ld} -m elf_i386_fbsd"
6542 LD="${LD-ld} -m elf_i386"
6544 ppc64-*linux*|powerpc64-*linux*)
6545 LD="${LD-ld} -m elf32ppclinux"
6548 LD="${LD-ld} -m elf_s390"
6551 LD="${LD-ld} -m elf32_sparc"
6557 x86_64-*kfreebsd*-gnu)
6558 LD="${LD-ld} -m elf_x86_64_fbsd"
6561 LD="${LD-ld} -m elf_x86_64"
6563 ppc*-*linux*|powerpc*-*linux*)
6564 LD="${LD-ld} -m elf64ppc"
6566 s390*-*linux*|s390*-*tpf*)
6567 LD="${LD-ld} -m elf64_s390"
6570 LD="${LD-ld} -m elf64_sparc"
6580 # On SCO OpenServer 5, we need -belf to get full-featured binaries.
6581 SAVE_CFLAGS="$CFLAGS"
6582 CFLAGS="$CFLAGS -belf"
6583 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler needs -belf" >&5
6584 $as_echo_n "checking whether the C compiler needs -belf... " >&6; }
6585 if ${lt_cv_cc_needs_belf+:} false; then :
6586 $as_echo_n "(cached) " >&6
6589 ac_cpp='$CPP $CPPFLAGS'
6590 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
6591 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
6592 ac_compiler_gnu=$ac_cv_c_compiler_gnu
6594 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6595 /* end confdefs.h. */
6605 if ac_fn_c_try_link "$LINENO"; then :
6606 lt_cv_cc_needs_belf=yes
6608 lt_cv_cc_needs_belf=no
6610 rm -f core conftest.err conftest.$ac_objext \
6611 conftest$ac_exeext conftest.$ac_ext
6613 ac_cpp='$CPP $CPPFLAGS'
6614 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
6615 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
6616 ac_compiler_gnu=$ac_cv_c_compiler_gnu
6619 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_cc_needs_belf" >&5
6620 $as_echo "$lt_cv_cc_needs_belf" >&6; }
6621 if test x"$lt_cv_cc_needs_belf" != x"yes"; then
6622 # this is probably gcc 2.8.0, egcs 1.0 or newer; no need for -belf
6623 CFLAGS="$SAVE_CFLAGS"
6627 # Find out which ABI we are using.
6628 echo 'int i;' > conftest.$ac_ext
6629 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
6630 (eval $ac_compile) 2>&5
6632 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6633 test $ac_status = 0; }; then
6634 case `/usr/bin/file conftest.o` in
6636 case $lt_cv_prog_gnu_ld in
6637 yes*) LD="${LD-ld} -m elf64_sparc" ;;
6639 if ${LD-ld} -64 -r -o conftest2.o conftest.o >/dev/null 2>&1; then
6651 need_locks="$enable_libtool_lock"
6653 if test -n "$ac_tool_prefix"; then
6654 # Extract the first word of "${ac_tool_prefix}mt", so it can be a program name with args.
6655 set dummy ${ac_tool_prefix}mt; ac_word=$2
6656 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6657 $as_echo_n "checking for $ac_word... " >&6; }
6658 if ${ac_cv_prog_MANIFEST_TOOL+:} false; then :
6659 $as_echo_n "(cached) " >&6
6661 if test -n "$MANIFEST_TOOL"; then
6662 ac_cv_prog_MANIFEST_TOOL="$MANIFEST_TOOL" # Let the user override the test.
6664 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6668 test -z "$as_dir" && as_dir=.
6669 for ac_exec_ext in '' $ac_executable_extensions; do
6670 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6671 ac_cv_prog_MANIFEST_TOOL="${ac_tool_prefix}mt"
6672 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6681 MANIFEST_TOOL=$ac_cv_prog_MANIFEST_TOOL
6682 if test -n "$MANIFEST_TOOL"; then
6683 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MANIFEST_TOOL" >&5
6684 $as_echo "$MANIFEST_TOOL" >&6; }
6686 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6687 $as_echo "no" >&6; }
6692 if test -z "$ac_cv_prog_MANIFEST_TOOL"; then
6693 ac_ct_MANIFEST_TOOL=$MANIFEST_TOOL
6694 # Extract the first word of "mt", so it can be a program name with args.
6695 set dummy mt; ac_word=$2
6696 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6697 $as_echo_n "checking for $ac_word... " >&6; }
6698 if ${ac_cv_prog_ac_ct_MANIFEST_TOOL+:} false; then :
6699 $as_echo_n "(cached) " >&6
6701 if test -n "$ac_ct_MANIFEST_TOOL"; then
6702 ac_cv_prog_ac_ct_MANIFEST_TOOL="$ac_ct_MANIFEST_TOOL" # Let the user override the test.
6704 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6708 test -z "$as_dir" && as_dir=.
6709 for ac_exec_ext in '' $ac_executable_extensions; do
6710 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6711 ac_cv_prog_ac_ct_MANIFEST_TOOL="mt"
6712 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6721 ac_ct_MANIFEST_TOOL=$ac_cv_prog_ac_ct_MANIFEST_TOOL
6722 if test -n "$ac_ct_MANIFEST_TOOL"; then
6723 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_MANIFEST_TOOL" >&5
6724 $as_echo "$ac_ct_MANIFEST_TOOL" >&6; }
6726 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6727 $as_echo "no" >&6; }
6730 if test "x$ac_ct_MANIFEST_TOOL" = x; then
6733 case $cross_compiling:$ac_tool_warned in
6735 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6736 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6737 ac_tool_warned=yes ;;
6739 MANIFEST_TOOL=$ac_ct_MANIFEST_TOOL
6742 MANIFEST_TOOL="$ac_cv_prog_MANIFEST_TOOL"
6745 test -z "$MANIFEST_TOOL" && MANIFEST_TOOL=mt
6746 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $MANIFEST_TOOL is a manifest tool" >&5
6747 $as_echo_n "checking if $MANIFEST_TOOL is a manifest tool... " >&6; }
6748 if ${lt_cv_path_mainfest_tool+:} false; then :
6749 $as_echo_n "(cached) " >&6
6751 lt_cv_path_mainfest_tool=no
6752 echo "$as_me:$LINENO: $MANIFEST_TOOL '-?'" >&5
6753 $MANIFEST_TOOL '-?' 2>conftest.err > conftest.out
6754 cat conftest.err >&5
6755 if $GREP 'Manifest Tool' conftest.out > /dev/null; then
6756 lt_cv_path_mainfest_tool=yes
6760 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_path_mainfest_tool" >&5
6761 $as_echo "$lt_cv_path_mainfest_tool" >&6; }
6762 if test "x$lt_cv_path_mainfest_tool" != xyes; then
6772 rhapsody* | darwin*)
6773 if test -n "$ac_tool_prefix"; then
6774 # Extract the first word of "${ac_tool_prefix}dsymutil", so it can be a program name with args.
6775 set dummy ${ac_tool_prefix}dsymutil; ac_word=$2
6776 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6777 $as_echo_n "checking for $ac_word... " >&6; }
6778 if ${ac_cv_prog_DSYMUTIL+:} false; then :
6779 $as_echo_n "(cached) " >&6
6781 if test -n "$DSYMUTIL"; then
6782 ac_cv_prog_DSYMUTIL="$DSYMUTIL" # Let the user override the test.
6784 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6788 test -z "$as_dir" && as_dir=.
6789 for ac_exec_ext in '' $ac_executable_extensions; do
6790 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6791 ac_cv_prog_DSYMUTIL="${ac_tool_prefix}dsymutil"
6792 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6801 DSYMUTIL=$ac_cv_prog_DSYMUTIL
6802 if test -n "$DSYMUTIL"; then
6803 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DSYMUTIL" >&5
6804 $as_echo "$DSYMUTIL" >&6; }
6806 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6807 $as_echo "no" >&6; }
6812 if test -z "$ac_cv_prog_DSYMUTIL"; then
6813 ac_ct_DSYMUTIL=$DSYMUTIL
6814 # Extract the first word of "dsymutil", so it can be a program name with args.
6815 set dummy dsymutil; ac_word=$2
6816 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6817 $as_echo_n "checking for $ac_word... " >&6; }
6818 if ${ac_cv_prog_ac_ct_DSYMUTIL+:} false; then :
6819 $as_echo_n "(cached) " >&6
6821 if test -n "$ac_ct_DSYMUTIL"; then
6822 ac_cv_prog_ac_ct_DSYMUTIL="$ac_ct_DSYMUTIL" # Let the user override the test.
6824 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6828 test -z "$as_dir" && as_dir=.
6829 for ac_exec_ext in '' $ac_executable_extensions; do
6830 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6831 ac_cv_prog_ac_ct_DSYMUTIL="dsymutil"
6832 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6841 ac_ct_DSYMUTIL=$ac_cv_prog_ac_ct_DSYMUTIL
6842 if test -n "$ac_ct_DSYMUTIL"; then
6843 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DSYMUTIL" >&5
6844 $as_echo "$ac_ct_DSYMUTIL" >&6; }
6846 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6847 $as_echo "no" >&6; }
6850 if test "x$ac_ct_DSYMUTIL" = x; then
6853 case $cross_compiling:$ac_tool_warned in
6855 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6856 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6857 ac_tool_warned=yes ;;
6859 DSYMUTIL=$ac_ct_DSYMUTIL
6862 DSYMUTIL="$ac_cv_prog_DSYMUTIL"
6865 if test -n "$ac_tool_prefix"; then
6866 # Extract the first word of "${ac_tool_prefix}nmedit", so it can be a program name with args.
6867 set dummy ${ac_tool_prefix}nmedit; ac_word=$2
6868 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6869 $as_echo_n "checking for $ac_word... " >&6; }
6870 if ${ac_cv_prog_NMEDIT+:} false; then :
6871 $as_echo_n "(cached) " >&6
6873 if test -n "$NMEDIT"; then
6874 ac_cv_prog_NMEDIT="$NMEDIT" # Let the user override the test.
6876 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6880 test -z "$as_dir" && as_dir=.
6881 for ac_exec_ext in '' $ac_executable_extensions; do
6882 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6883 ac_cv_prog_NMEDIT="${ac_tool_prefix}nmedit"
6884 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6893 NMEDIT=$ac_cv_prog_NMEDIT
6894 if test -n "$NMEDIT"; then
6895 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $NMEDIT" >&5
6896 $as_echo "$NMEDIT" >&6; }
6898 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6899 $as_echo "no" >&6; }
6904 if test -z "$ac_cv_prog_NMEDIT"; then
6905 ac_ct_NMEDIT=$NMEDIT
6906 # Extract the first word of "nmedit", so it can be a program name with args.
6907 set dummy nmedit; ac_word=$2
6908 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6909 $as_echo_n "checking for $ac_word... " >&6; }
6910 if ${ac_cv_prog_ac_ct_NMEDIT+:} false; then :
6911 $as_echo_n "(cached) " >&6
6913 if test -n "$ac_ct_NMEDIT"; then
6914 ac_cv_prog_ac_ct_NMEDIT="$ac_ct_NMEDIT" # Let the user override the test.
6916 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6920 test -z "$as_dir" && as_dir=.
6921 for ac_exec_ext in '' $ac_executable_extensions; do
6922 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6923 ac_cv_prog_ac_ct_NMEDIT="nmedit"
6924 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6933 ac_ct_NMEDIT=$ac_cv_prog_ac_ct_NMEDIT
6934 if test -n "$ac_ct_NMEDIT"; then
6935 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_NMEDIT" >&5
6936 $as_echo "$ac_ct_NMEDIT" >&6; }
6938 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6939 $as_echo "no" >&6; }
6942 if test "x$ac_ct_NMEDIT" = x; then
6945 case $cross_compiling:$ac_tool_warned in
6947 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6948 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6949 ac_tool_warned=yes ;;
6951 NMEDIT=$ac_ct_NMEDIT
6954 NMEDIT="$ac_cv_prog_NMEDIT"
6957 if test -n "$ac_tool_prefix"; then
6958 # Extract the first word of "${ac_tool_prefix}lipo", so it can be a program name with args.
6959 set dummy ${ac_tool_prefix}lipo; ac_word=$2
6960 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6961 $as_echo_n "checking for $ac_word... " >&6; }
6962 if ${ac_cv_prog_LIPO+:} false; then :
6963 $as_echo_n "(cached) " >&6
6965 if test -n "$LIPO"; then
6966 ac_cv_prog_LIPO="$LIPO" # Let the user override the test.
6968 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6972 test -z "$as_dir" && as_dir=.
6973 for ac_exec_ext in '' $ac_executable_extensions; do
6974 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6975 ac_cv_prog_LIPO="${ac_tool_prefix}lipo"
6976 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6985 LIPO=$ac_cv_prog_LIPO
6986 if test -n "$LIPO"; then
6987 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LIPO" >&5
6988 $as_echo "$LIPO" >&6; }
6990 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6991 $as_echo "no" >&6; }
6996 if test -z "$ac_cv_prog_LIPO"; then
6998 # Extract the first word of "lipo", so it can be a program name with args.
6999 set dummy lipo; ac_word=$2
7000 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7001 $as_echo_n "checking for $ac_word... " >&6; }
7002 if ${ac_cv_prog_ac_ct_LIPO+:} false; then :
7003 $as_echo_n "(cached) " >&6
7005 if test -n "$ac_ct_LIPO"; then
7006 ac_cv_prog_ac_ct_LIPO="$ac_ct_LIPO" # Let the user override the test.
7008 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7012 test -z "$as_dir" && as_dir=.
7013 for ac_exec_ext in '' $ac_executable_extensions; do
7014 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7015 ac_cv_prog_ac_ct_LIPO="lipo"
7016 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7025 ac_ct_LIPO=$ac_cv_prog_ac_ct_LIPO
7026 if test -n "$ac_ct_LIPO"; then
7027 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_LIPO" >&5
7028 $as_echo "$ac_ct_LIPO" >&6; }
7030 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7031 $as_echo "no" >&6; }
7034 if test "x$ac_ct_LIPO" = x; then
7037 case $cross_compiling:$ac_tool_warned in
7039 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7040 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7041 ac_tool_warned=yes ;;
7046 LIPO="$ac_cv_prog_LIPO"
7049 if test -n "$ac_tool_prefix"; then
7050 # Extract the first word of "${ac_tool_prefix}otool", so it can be a program name with args.
7051 set dummy ${ac_tool_prefix}otool; ac_word=$2
7052 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7053 $as_echo_n "checking for $ac_word... " >&6; }
7054 if ${ac_cv_prog_OTOOL+:} false; then :
7055 $as_echo_n "(cached) " >&6
7057 if test -n "$OTOOL"; then
7058 ac_cv_prog_OTOOL="$OTOOL" # Let the user override the test.
7060 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7064 test -z "$as_dir" && as_dir=.
7065 for ac_exec_ext in '' $ac_executable_extensions; do
7066 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7067 ac_cv_prog_OTOOL="${ac_tool_prefix}otool"
7068 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7077 OTOOL=$ac_cv_prog_OTOOL
7078 if test -n "$OTOOL"; then
7079 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OTOOL" >&5
7080 $as_echo "$OTOOL" >&6; }
7082 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7083 $as_echo "no" >&6; }
7088 if test -z "$ac_cv_prog_OTOOL"; then
7090 # Extract the first word of "otool", so it can be a program name with args.
7091 set dummy otool; ac_word=$2
7092 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7093 $as_echo_n "checking for $ac_word... " >&6; }
7094 if ${ac_cv_prog_ac_ct_OTOOL+:} false; then :
7095 $as_echo_n "(cached) " >&6
7097 if test -n "$ac_ct_OTOOL"; then
7098 ac_cv_prog_ac_ct_OTOOL="$ac_ct_OTOOL" # Let the user override the test.
7100 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7104 test -z "$as_dir" && as_dir=.
7105 for ac_exec_ext in '' $ac_executable_extensions; do
7106 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7107 ac_cv_prog_ac_ct_OTOOL="otool"
7108 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7117 ac_ct_OTOOL=$ac_cv_prog_ac_ct_OTOOL
7118 if test -n "$ac_ct_OTOOL"; then
7119 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OTOOL" >&5
7120 $as_echo "$ac_ct_OTOOL" >&6; }
7122 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7123 $as_echo "no" >&6; }
7126 if test "x$ac_ct_OTOOL" = x; then
7129 case $cross_compiling:$ac_tool_warned in
7131 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7132 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7133 ac_tool_warned=yes ;;
7138 OTOOL="$ac_cv_prog_OTOOL"
7141 if test -n "$ac_tool_prefix"; then
7142 # Extract the first word of "${ac_tool_prefix}otool64", so it can be a program name with args.
7143 set dummy ${ac_tool_prefix}otool64; ac_word=$2
7144 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7145 $as_echo_n "checking for $ac_word... " >&6; }
7146 if ${ac_cv_prog_OTOOL64+:} false; then :
7147 $as_echo_n "(cached) " >&6
7149 if test -n "$OTOOL64"; then
7150 ac_cv_prog_OTOOL64="$OTOOL64" # Let the user override the test.
7152 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7156 test -z "$as_dir" && as_dir=.
7157 for ac_exec_ext in '' $ac_executable_extensions; do
7158 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7159 ac_cv_prog_OTOOL64="${ac_tool_prefix}otool64"
7160 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7169 OTOOL64=$ac_cv_prog_OTOOL64
7170 if test -n "$OTOOL64"; then
7171 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OTOOL64" >&5
7172 $as_echo "$OTOOL64" >&6; }
7174 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7175 $as_echo "no" >&6; }
7180 if test -z "$ac_cv_prog_OTOOL64"; then
7181 ac_ct_OTOOL64=$OTOOL64
7182 # Extract the first word of "otool64", so it can be a program name with args.
7183 set dummy otool64; ac_word=$2
7184 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7185 $as_echo_n "checking for $ac_word... " >&6; }
7186 if ${ac_cv_prog_ac_ct_OTOOL64+:} false; then :
7187 $as_echo_n "(cached) " >&6
7189 if test -n "$ac_ct_OTOOL64"; then
7190 ac_cv_prog_ac_ct_OTOOL64="$ac_ct_OTOOL64" # Let the user override the test.
7192 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7196 test -z "$as_dir" && as_dir=.
7197 for ac_exec_ext in '' $ac_executable_extensions; do
7198 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7199 ac_cv_prog_ac_ct_OTOOL64="otool64"
7200 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7209 ac_ct_OTOOL64=$ac_cv_prog_ac_ct_OTOOL64
7210 if test -n "$ac_ct_OTOOL64"; then
7211 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OTOOL64" >&5
7212 $as_echo "$ac_ct_OTOOL64" >&6; }
7214 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7215 $as_echo "no" >&6; }
7218 if test "x$ac_ct_OTOOL64" = x; then
7221 case $cross_compiling:$ac_tool_warned in
7223 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7224 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7225 ac_tool_warned=yes ;;
7227 OTOOL64=$ac_ct_OTOOL64
7230 OTOOL64="$ac_cv_prog_OTOOL64"
7259 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -single_module linker flag" >&5
7260 $as_echo_n "checking for -single_module linker flag... " >&6; }
7261 if ${lt_cv_apple_cc_single_mod+:} false; then :
7262 $as_echo_n "(cached) " >&6
7264 lt_cv_apple_cc_single_mod=no
7265 if test -z "${LT_MULTI_MODULE}"; then
7266 # By default we will add the -single_module flag. You can override
7267 # by either setting the environment variable LT_MULTI_MODULE
7268 # non-empty at configure time, or by adding -multi_module to the
7270 rm -rf libconftest.dylib*
7271 echo "int foo(void){return 1;}" > conftest.c
7272 echo "$LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \
7273 -dynamiclib -Wl,-single_module conftest.c" >&5
7274 $LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \
7275 -dynamiclib -Wl,-single_module conftest.c 2>conftest.err
7277 if test -f libconftest.dylib && test ! -s conftest.err && test $_lt_result = 0; then
7278 lt_cv_apple_cc_single_mod=yes
7280 cat conftest.err >&5
7282 rm -rf libconftest.dylib*
7286 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_apple_cc_single_mod" >&5
7287 $as_echo "$lt_cv_apple_cc_single_mod" >&6; }
7288 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -exported_symbols_list linker flag" >&5
7289 $as_echo_n "checking for -exported_symbols_list linker flag... " >&6; }
7290 if ${lt_cv_ld_exported_symbols_list+:} false; then :
7291 $as_echo_n "(cached) " >&6
7293 lt_cv_ld_exported_symbols_list=no
7294 save_LDFLAGS=$LDFLAGS
7295 echo "_main" > conftest.sym
7296 LDFLAGS="$LDFLAGS -Wl,-exported_symbols_list,conftest.sym"
7297 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7298 /* end confdefs.h. */
7308 if ac_fn_c_try_link "$LINENO"; then :
7309 lt_cv_ld_exported_symbols_list=yes
7311 lt_cv_ld_exported_symbols_list=no
7313 rm -f core conftest.err conftest.$ac_objext \
7314 conftest$ac_exeext conftest.$ac_ext
7315 LDFLAGS="$save_LDFLAGS"
7318 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_exported_symbols_list" >&5
7319 $as_echo "$lt_cv_ld_exported_symbols_list" >&6; }
7320 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -force_load linker flag" >&5
7321 $as_echo_n "checking for -force_load linker flag... " >&6; }
7322 if ${lt_cv_ld_force_load+:} false; then :
7323 $as_echo_n "(cached) " >&6
7325 lt_cv_ld_force_load=no
7326 cat > conftest.c << _LT_EOF
7327 int forced_loaded() { return 2;}
7329 echo "$LTCC $LTCFLAGS -c -o conftest.o conftest.c" >&5
7330 $LTCC $LTCFLAGS -c -o conftest.o conftest.c 2>&5
7331 echo "$AR cru libconftest.a conftest.o" >&5
7332 $AR cru libconftest.a conftest.o 2>&5
7333 echo "$RANLIB libconftest.a" >&5
7334 $RANLIB libconftest.a 2>&5
7335 cat > conftest.c << _LT_EOF
7336 int main() { return 0;}
7338 echo "$LTCC $LTCFLAGS $LDFLAGS -o conftest conftest.c -Wl,-force_load,./libconftest.a" >&5
7339 $LTCC $LTCFLAGS $LDFLAGS -o conftest conftest.c -Wl,-force_load,./libconftest.a 2>conftest.err
7341 if test -f conftest && test ! -s conftest.err && test $_lt_result = 0 && $GREP forced_load conftest 2>&1 >/dev/null; then
7342 lt_cv_ld_force_load=yes
7344 cat conftest.err >&5
7346 rm -f conftest.err libconftest.a conftest conftest.c
7347 rm -rf conftest.dSYM
7350 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_force_load" >&5
7351 $as_echo "$lt_cv_ld_force_load" >&6; }
7353 rhapsody* | darwin1.[012])
7354 _lt_dar_allow_undefined='${wl}-undefined ${wl}suppress' ;;
7356 _lt_dar_allow_undefined='${wl}-flat_namespace ${wl}-undefined ${wl}suppress' ;;
7357 darwin*) # darwin 5.x on
7358 # if running on 10.5 or later, the deployment target defaults
7359 # to the OS version, if on x86, and 10.4, the deployment
7360 # target defaults to 10.4. Don't you love it?
7361 case ${MACOSX_DEPLOYMENT_TARGET-10.0},$host in
7362 10.0,*86*-darwin8*|10.0,*-darwin[91]*)
7363 _lt_dar_allow_undefined='${wl}-undefined ${wl}dynamic_lookup' ;;
7365 _lt_dar_allow_undefined='${wl}-flat_namespace ${wl}-undefined ${wl}suppress' ;;
7367 _lt_dar_allow_undefined='${wl}-undefined ${wl}dynamic_lookup' ;;
7371 if test "$lt_cv_apple_cc_single_mod" = "yes"; then
7372 _lt_dar_single_mod='$single_module'
7374 if test "$lt_cv_ld_exported_symbols_list" = "yes"; then
7375 _lt_dar_export_syms=' ${wl}-exported_symbols_list,$output_objdir/${libname}-symbols.expsym'
7377 _lt_dar_export_syms='~$NMEDIT -s $output_objdir/${libname}-symbols.expsym ${lib}'
7379 if test "$DSYMUTIL" != ":" && test "$lt_cv_ld_force_load" = "no"; then
7380 _lt_dsymutil='~$DSYMUTIL $lib || :'
7388 ac_cpp='$CPP $CPPFLAGS'
7389 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
7390 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
7391 ac_compiler_gnu=$ac_cv_c_compiler_gnu
7392 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C preprocessor" >&5
7393 $as_echo_n "checking how to run the C preprocessor... " >&6; }
7394 # On Suns, sometimes $CPP names a directory.
7395 if test -n "$CPP" && test -d "$CPP"; then
7398 if test -z "$CPP"; then
7399 if ${ac_cv_prog_CPP+:} false; then :
7400 $as_echo_n "(cached) " >&6
7402 # Double quotes because CPP needs to be expanded
7403 for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
7406 for ac_c_preproc_warn_flag in '' yes
7408 # Use a header file that comes with gcc, so configuring glibc
7409 # with a fresh cross-compiler works.
7410 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
7411 # <limits.h> exists even on freestanding compilers.
7412 # On the NeXT, cc -E runs the code through the compiler's parser,
7413 # not just through cpp. "Syntax error" is here to catch this case.
7414 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7415 /* end confdefs.h. */
7417 # include <limits.h>
7419 # include <assert.h>
7423 if ac_fn_c_try_cpp "$LINENO"; then :
7426 # Broken: fails on valid input.
7429 rm -f conftest.err conftest.i conftest.$ac_ext
7431 # OK, works on sane cases. Now check whether nonexistent headers
7432 # can be detected and how.
7433 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7434 /* end confdefs.h. */
7435 #include <ac_nonexistent.h>
7437 if ac_fn_c_try_cpp "$LINENO"; then :
7438 # Broken: success on invalid input.
7441 # Passes both tests.
7445 rm -f conftest.err conftest.i conftest.$ac_ext
7448 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
7449 rm -f conftest.i conftest.err conftest.$ac_ext
7450 if $ac_preproc_ok; then :
7462 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CPP" >&5
7463 $as_echo "$CPP" >&6; }
7465 for ac_c_preproc_warn_flag in '' yes
7467 # Use a header file that comes with gcc, so configuring glibc
7468 # with a fresh cross-compiler works.
7469 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
7470 # <limits.h> exists even on freestanding compilers.
7471 # On the NeXT, cc -E runs the code through the compiler's parser,
7472 # not just through cpp. "Syntax error" is here to catch this case.
7473 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7474 /* end confdefs.h. */
7476 # include <limits.h>
7478 # include <assert.h>
7482 if ac_fn_c_try_cpp "$LINENO"; then :
7485 # Broken: fails on valid input.
7488 rm -f conftest.err conftest.i conftest.$ac_ext
7490 # OK, works on sane cases. Now check whether nonexistent headers
7491 # can be detected and how.
7492 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7493 /* end confdefs.h. */
7494 #include <ac_nonexistent.h>
7496 if ac_fn_c_try_cpp "$LINENO"; then :
7497 # Broken: success on invalid input.
7500 # Passes both tests.
7504 rm -f conftest.err conftest.i conftest.$ac_ext
7507 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
7508 rm -f conftest.i conftest.err conftest.$ac_ext
7509 if $ac_preproc_ok; then :
7512 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
7513 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
7514 as_fn_error $? "C preprocessor \"$CPP\" fails sanity check
7515 See \`config.log' for more details" "$LINENO" 5; }
7519 ac_cpp='$CPP $CPPFLAGS'
7520 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
7521 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
7522 ac_compiler_gnu=$ac_cv_c_compiler_gnu
7525 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5
7526 $as_echo_n "checking for ANSI C header files... " >&6; }
7527 if ${ac_cv_header_stdc+:} false; then :
7528 $as_echo_n "(cached) " >&6
7530 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7531 /* end confdefs.h. */
7545 if ac_fn_c_try_compile "$LINENO"; then :
7546 ac_cv_header_stdc=yes
7548 ac_cv_header_stdc=no
7550 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
7552 if test $ac_cv_header_stdc = yes; then
7553 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
7554 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7555 /* end confdefs.h. */
7559 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
7560 $EGREP "memchr" >/dev/null 2>&1; then :
7563 ac_cv_header_stdc=no
7569 if test $ac_cv_header_stdc = yes; then
7570 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
7571 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7572 /* end confdefs.h. */
7576 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
7577 $EGREP "free" >/dev/null 2>&1; then :
7580 ac_cv_header_stdc=no
7586 if test $ac_cv_header_stdc = yes; then
7587 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
7588 if test "$cross_compiling" = yes; then :
7591 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7592 /* end confdefs.h. */
7595 #if ((' ' & 0x0FF) == 0x020)
7596 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
7597 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
7599 # define ISLOWER(c) \
7600 (('a' <= (c) && (c) <= 'i') \
7601 || ('j' <= (c) && (c) <= 'r') \
7602 || ('s' <= (c) && (c) <= 'z'))
7603 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
7606 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
7611 for (i = 0; i < 256; i++)
7612 if (XOR (islower (i), ISLOWER (i))
7613 || toupper (i) != TOUPPER (i))
7618 if ac_fn_c_try_run "$LINENO"; then :
7621 ac_cv_header_stdc=no
7623 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
7624 conftest.$ac_objext conftest.beam conftest.$ac_ext
7629 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdc" >&5
7630 $as_echo "$ac_cv_header_stdc" >&6; }
7631 if test $ac_cv_header_stdc = yes; then
7633 $as_echo "#define STDC_HEADERS 1" >>confdefs.h
7637 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
7638 for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
7639 inttypes.h stdint.h unistd.h
7641 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
7642 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default
7644 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
7645 cat >>confdefs.h <<_ACEOF
7646 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
7654 for ac_header in dlfcn.h
7656 ac_fn_c_check_header_compile "$LINENO" "dlfcn.h" "ac_cv_header_dlfcn_h" "$ac_includes_default
7658 if test "x$ac_cv_header_dlfcn_h" = xyes; then :
7659 cat >>confdefs.h <<_ACEOF
7660 #define HAVE_DLFCN_H 1
7679 # Check whether --enable-shared was given.
7680 if test "${enable_shared+set}" = set; then :
7681 enableval=$enable_shared; p=${PACKAGE-default}
7683 yes) enable_shared=yes ;;
7684 no) enable_shared=no ;;
7687 # Look at the argument we got. We use all the common list separators.
7688 lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
7689 for pkg in $enableval; do
7691 if test "X$pkg" = "X$p"; then
7712 # Check whether --with-pic was given.
7713 if test "${with_pic+set}" = set; then :
7714 withval=$with_pic; pic_mode="$withval"
7720 test -z "$pic_mode" && pic_mode=default
7728 # Check whether --enable-fast-install was given.
7729 if test "${enable_fast_install+set}" = set; then :
7730 enableval=$enable_fast_install; p=${PACKAGE-default}
7732 yes) enable_fast_install=yes ;;
7733 no) enable_fast_install=no ;;
7735 enable_fast_install=no
7736 # Look at the argument we got. We use all the common list separators.
7737 lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
7738 for pkg in $enableval; do
7740 if test "X$pkg" = "X$p"; then
7741 enable_fast_install=yes
7748 enable_fast_install=yes
7761 # This can be used to rebuild libtool when needed
7762 LIBTOOL_DEPS="$ltmain"
7764 # Always use our own libtool.
7765 LIBTOOL='$(SHELL) $(top_builddir)/libtool'
7792 test -z "$LN_S" && LN_S="ln -s"
7807 if test -n "${ZSH_VERSION+set}" ; then
7808 setopt NO_GLOB_SUBST
7811 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for objdir" >&5
7812 $as_echo_n "checking for objdir... " >&6; }
7813 if ${lt_cv_objdir+:} false; then :
7814 $as_echo_n "(cached) " >&6
7816 rm -f .libs 2>/dev/null
7817 mkdir .libs 2>/dev/null
7818 if test -d .libs; then
7821 # MS-DOS does not allow filenames that begin with a dot.
7824 rmdir .libs 2>/dev/null
7826 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_objdir" >&5
7827 $as_echo "$lt_cv_objdir" >&6; }
7828 objdir=$lt_cv_objdir
7834 cat >>confdefs.h <<_ACEOF
7835 #define LT_OBJDIR "$lt_cv_objdir/"
7843 # AIX sometimes has problems with the GCC collect2 program. For some
7844 # reason, if we set the COLLECT_NAMES environment variable, the problems
7845 # vanish in a puff of smoke.
7846 if test "X${COLLECT_NAMES+set}" != Xset; then
7848 export COLLECT_NAMES
7855 can_build_shared=yes
7857 # All known linkers require a `.a' archive for static linking (except MSVC,
7858 # which needs '.lib').
7861 with_gnu_ld="$lt_cv_prog_gnu_ld"
7864 old_CFLAGS="$CFLAGS"
7866 # Set sane defaults for various variables
7867 test -z "$CC" && CC=cc
7868 test -z "$LTCC" && LTCC=$CC
7869 test -z "$LTCFLAGS" && LTCFLAGS=$CFLAGS
7870 test -z "$LD" && LD=ld
7871 test -z "$ac_objext" && ac_objext=o
7873 for cc_temp in $compiler""; do
7875 compile | *[\\/]compile | ccache | *[\\/]ccache ) ;;
7876 distcc | *[\\/]distcc | purify | *[\\/]purify ) ;;
7881 cc_basename=`$ECHO "$cc_temp" | $SED "s%.*/%%; s%^$host_alias-%%"`
7884 # Only perform the check for file, if the check method requires it
7885 test -z "$MAGIC_CMD" && MAGIC_CMD=file
7886 case $deplibs_check_method in
7888 if test "$file_magic_cmd" = '$MAGIC_CMD'; then
7889 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ${ac_tool_prefix}file" >&5
7890 $as_echo_n "checking for ${ac_tool_prefix}file... " >&6; }
7891 if ${lt_cv_path_MAGIC_CMD+:} false; then :
7892 $as_echo_n "(cached) " >&6
7896 lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a path.
7899 lt_save_MAGIC_CMD="$MAGIC_CMD"
7900 lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
7901 ac_dummy="/usr/bin$PATH_SEPARATOR$PATH"
7902 for ac_dir in $ac_dummy; do
7904 test -z "$ac_dir" && ac_dir=.
7905 if test -f $ac_dir/${ac_tool_prefix}file; then
7906 lt_cv_path_MAGIC_CMD="$ac_dir/${ac_tool_prefix}file"
7907 if test -n "$file_magic_test_file"; then
7908 case $deplibs_check_method in
7910 file_magic_regex=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
7911 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
7912 if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
7913 $EGREP "$file_magic_regex" > /dev/null; then
7918 *** Warning: the command libtool uses to detect shared libraries,
7919 *** $file_magic_cmd, produces output that libtool cannot recognize.
7920 *** The result is that libtool may fail to recognize shared libraries
7921 *** as such. This will affect the creation of libtool libraries that
7922 *** depend on shared libraries, but programs linked with such libtool
7923 *** libraries will work regardless of this problem. Nevertheless, you
7924 *** may want to report the problem to your system manager and/or to
7925 *** bug-libtool@gnu.org
7935 MAGIC_CMD="$lt_save_MAGIC_CMD"
7940 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
7941 if test -n "$MAGIC_CMD"; then
7942 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MAGIC_CMD" >&5
7943 $as_echo "$MAGIC_CMD" >&6; }
7945 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7946 $as_echo "no" >&6; }
7953 if test -z "$lt_cv_path_MAGIC_CMD"; then
7954 if test -n "$ac_tool_prefix"; then
7955 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for file" >&5
7956 $as_echo_n "checking for file... " >&6; }
7957 if ${lt_cv_path_MAGIC_CMD+:} false; then :
7958 $as_echo_n "(cached) " >&6
7962 lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a path.
7965 lt_save_MAGIC_CMD="$MAGIC_CMD"
7966 lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
7967 ac_dummy="/usr/bin$PATH_SEPARATOR$PATH"
7968 for ac_dir in $ac_dummy; do
7970 test -z "$ac_dir" && ac_dir=.
7971 if test -f $ac_dir/file; then
7972 lt_cv_path_MAGIC_CMD="$ac_dir/file"
7973 if test -n "$file_magic_test_file"; then
7974 case $deplibs_check_method in
7976 file_magic_regex=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
7977 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
7978 if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
7979 $EGREP "$file_magic_regex" > /dev/null; then
7984 *** Warning: the command libtool uses to detect shared libraries,
7985 *** $file_magic_cmd, produces output that libtool cannot recognize.
7986 *** The result is that libtool may fail to recognize shared libraries
7987 *** as such. This will affect the creation of libtool libraries that
7988 *** depend on shared libraries, but programs linked with such libtool
7989 *** libraries will work regardless of this problem. Nevertheless, you
7990 *** may want to report the problem to your system manager and/or to
7991 *** bug-libtool@gnu.org
8001 MAGIC_CMD="$lt_save_MAGIC_CMD"
8006 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
8007 if test -n "$MAGIC_CMD"; then
8008 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MAGIC_CMD" >&5
8009 $as_echo "$MAGIC_CMD" >&6; }
8011 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8012 $as_echo "no" >&6; }
8025 # Use C for the default configuration in the libtool script
8029 ac_cpp='$CPP $CPPFLAGS'
8030 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
8031 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
8032 ac_compiler_gnu=$ac_cv_c_compiler_gnu
8035 # Source file extension for C test sources.
8038 # Object file extension for compiled C test sources.
8042 # Code to be used in simple compile tests
8043 lt_simple_compile_test_code="int some_variable = 0;"
8045 # Code to be used in simple link tests
8046 lt_simple_link_test_code='int main(){return(0);}'
8054 # If no C compiler was specified, use CC.
8057 # If no C compiler flags were specified, use CFLAGS.
8058 LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
8060 # Allow CC to be a program name with arguments.
8063 # Save the default compiler, since it gets overwritten when the other
8064 # tags are being tested, and _LT_TAGVAR(compiler, []) is a NOP.
8065 compiler_DEFAULT=$CC
8067 # save warnings/boilerplate of simple test code
8068 ac_outfile=conftest.$ac_objext
8069 echo "$lt_simple_compile_test_code" >conftest.$ac_ext
8070 eval "$ac_compile" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
8071 _lt_compiler_boilerplate=`cat conftest.err`
8074 ac_outfile=conftest.$ac_objext
8075 echo "$lt_simple_link_test_code" >conftest.$ac_ext
8076 eval "$ac_link" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
8077 _lt_linker_boilerplate=`cat conftest.err`
8082 ## There is no encapsulation within the following macros, do not change
8083 ## the running order or otherwise move them around unless you know exactly
8084 ## what you are doing...
8085 if test -n "$compiler"; then
8087 lt_prog_compiler_no_builtin_flag=
8089 if test "$GCC" = yes; then
8090 case $cc_basename in
8092 lt_prog_compiler_no_builtin_flag=' -Xcompiler -fno-builtin' ;;
8094 lt_prog_compiler_no_builtin_flag=' -fno-builtin' ;;
8097 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -fno-rtti -fno-exceptions" >&5
8098 $as_echo_n "checking if $compiler supports -fno-rtti -fno-exceptions... " >&6; }
8099 if ${lt_cv_prog_compiler_rtti_exceptions+:} false; then :
8100 $as_echo_n "(cached) " >&6
8102 lt_cv_prog_compiler_rtti_exceptions=no
8103 ac_outfile=conftest.$ac_objext
8104 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
8105 lt_compiler_flag="-fno-rtti -fno-exceptions"
8106 # Insert the option either (1) after the last *FLAGS variable, or
8107 # (2) before a word containing "conftest.", or (3) at the end.
8108 # Note that $ac_compile itself does not contain backslashes and begins
8109 # with a dollar sign (not a hyphen), so the echo should work correctly.
8110 # The option is referenced via a variable to avoid confusing sed.
8111 lt_compile=`echo "$ac_compile" | $SED \
8112 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
8113 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
8114 -e 's:$: $lt_compiler_flag:'`
8115 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
8116 (eval "$lt_compile" 2>conftest.err)
8118 cat conftest.err >&5
8119 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8120 if (exit $ac_status) && test -s "$ac_outfile"; then
8121 # The compiler can only warn and ignore the option if not recognized
8122 # So say no if there are warnings other than the usual output.
8123 $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' >conftest.exp
8124 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
8125 if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
8126 lt_cv_prog_compiler_rtti_exceptions=yes
8132 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_rtti_exceptions" >&5
8133 $as_echo "$lt_cv_prog_compiler_rtti_exceptions" >&6; }
8135 if test x"$lt_cv_prog_compiler_rtti_exceptions" = xyes; then
8136 lt_prog_compiler_no_builtin_flag="$lt_prog_compiler_no_builtin_flag -fno-rtti -fno-exceptions"
8148 lt_prog_compiler_wl=
8149 lt_prog_compiler_pic=
8150 lt_prog_compiler_static=
8153 if test "$GCC" = yes; then
8154 lt_prog_compiler_wl='-Wl,'
8155 lt_prog_compiler_static='-static'
8159 # All AIX code is PIC.
8160 if test "$host_cpu" = ia64; then
8161 # AIX 5 now supports IA64 processor
8162 lt_prog_compiler_static='-Bstatic'
8169 # see comment about AmigaOS4 .so support
8170 lt_prog_compiler_pic='-fPIC'
8173 # FIXME: we need at least 68020 code to build shared libraries, but
8174 # adding the `-m68020' flag to GCC prevents building anything better,
8176 lt_prog_compiler_pic='-m68020 -resident32 -malways-restore-a4'
8181 beos* | irix5* | irix6* | nonstopux* | osf3* | osf4* | osf5*)
8182 # PIC is the default for these OSes.
8185 mingw* | cygwin* | pw32* | os2* | cegcc*)
8186 # This hack is so that the source file can tell whether it is being
8187 # built for inclusion in a dll (and should export symbols for example).
8188 # Although the cygwin gcc ignores -fPIC, still need this for old-style
8189 # (--disable-auto-import) libraries
8190 lt_prog_compiler_pic='-DDLL_EXPORT'
8193 darwin* | rhapsody*)
8194 # PIC is the default on this platform
8195 # Common symbols not allowed in MH_DYLIB files
8196 lt_prog_compiler_pic='-fno-common'
8200 # PIC is the default for Haiku.
8201 # The "-static" flag exists, but is broken.
8202 lt_prog_compiler_static=
8206 # PIC is the default for 64-bit PA HP-UX, but not for 32-bit
8207 # PA HP-UX. On IA64 HP-UX, PIC is the default but the pic flag
8208 # sets the default TLS model and affects inlining.
8214 lt_prog_compiler_pic='-fPIC'
8220 # Interix 3.x gcc -fpic/-fPIC options generate broken code.
8221 # Instead, we relocate shared libraries at runtime.
8225 # Just because we use GCC doesn't mean we suddenly get shared libraries
8226 # on systems that don't support them.
8227 lt_prog_compiler_can_build_shared=no
8232 # QNX uses GNU C++, but need to define -shared option too, otherwise
8234 lt_prog_compiler_pic='-fPIC -shared'
8238 if test -d /usr/nec; then
8239 lt_prog_compiler_pic=-Kconform_pic
8244 lt_prog_compiler_pic='-fPIC'
8248 case $cc_basename in
8249 nvcc*) # Cuda Compiler Driver 2.2
8250 lt_prog_compiler_wl='-Xlinker '
8251 lt_prog_compiler_pic='-Xcompiler -fPIC'
8255 # PORTME Check for flag to pass linker flags through the system compiler.
8258 lt_prog_compiler_wl='-Wl,'
8259 if test "$host_cpu" = ia64; then
8260 # AIX 5 now supports IA64 processor
8261 lt_prog_compiler_static='-Bstatic'
8263 lt_prog_compiler_static='-bnso -bI:/lib/syscalls.exp'
8267 mingw* | cygwin* | pw32* | os2* | cegcc*)
8268 # This hack is so that the source file can tell whether it is being
8269 # built for inclusion in a dll (and should export symbols for example).
8270 lt_prog_compiler_pic='-DDLL_EXPORT'
8273 hpux9* | hpux10* | hpux11*)
8274 lt_prog_compiler_wl='-Wl,'
8275 # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
8282 lt_prog_compiler_pic='+Z'
8285 # Is there a better lt_prog_compiler_static that works with the bundled CC?
8286 lt_prog_compiler_static='${wl}-a ${wl}archive'
8289 irix5* | irix6* | nonstopux*)
8290 lt_prog_compiler_wl='-Wl,'
8291 # PIC (with -KPIC) is the default.
8292 lt_prog_compiler_static='-non_shared'
8295 linux* | k*bsd*-gnu | kopensolaris*-gnu)
8296 case $cc_basename in
8297 # old Intel for x86_64 which still supported -KPIC.
8299 lt_prog_compiler_wl='-Wl,'
8300 lt_prog_compiler_pic='-KPIC'
8301 lt_prog_compiler_static='-static'
8303 # icc used to be incompatible with GCC.
8304 # ICC 10 doesn't accept -KPIC any more.
8306 lt_prog_compiler_wl='-Wl,'
8307 lt_prog_compiler_pic='-fPIC'
8308 lt_prog_compiler_static='-static'
8310 # Lahey Fortran 8.1.
8312 lt_prog_compiler_wl='-Wl,'
8313 lt_prog_compiler_pic='--shared'
8314 lt_prog_compiler_static='--static'
8317 # NAG Fortran compiler
8318 lt_prog_compiler_wl='-Wl,-Wl,,'
8319 lt_prog_compiler_pic='-PIC'
8320 lt_prog_compiler_static='-Bstatic'
8322 pgcc* | pgf77* | pgf90* | pgf95* | pgfortran*)
8323 # Portland Group compilers (*not* the Pentium gcc compiler,
8324 # which looks to be a dead project)
8325 lt_prog_compiler_wl='-Wl,'
8326 lt_prog_compiler_pic='-fpic'
8327 lt_prog_compiler_static='-Bstatic'
8330 lt_prog_compiler_wl='-Wl,'
8331 # All Alpha code is PIC.
8332 lt_prog_compiler_static='-non_shared'
8334 xl* | bgxl* | bgf* | mpixl*)
8335 # IBM XL C 8.0/Fortran 10.1, 11.1 on PPC and BlueGene
8336 lt_prog_compiler_wl='-Wl,'
8337 lt_prog_compiler_pic='-qpic'
8338 lt_prog_compiler_static='-qstaticlink'
8341 case `$CC -V 2>&1 | sed 5q` in
8342 *Sun\ F* | *Sun*Fortran*)
8343 # Sun Fortran 8.3 passes all unrecognized flags to the linker
8344 lt_prog_compiler_pic='-KPIC'
8345 lt_prog_compiler_static='-Bstatic'
8346 lt_prog_compiler_wl=''
8350 lt_prog_compiler_pic='-KPIC'
8351 lt_prog_compiler_static='-Bstatic'
8352 lt_prog_compiler_wl='-Wl,'
8360 lt_prog_compiler_pic='-KPIC'
8361 lt_prog_compiler_static='-Bstatic'
8365 # QNX uses GNU C++, but need to define -shared option too, otherwise
8367 lt_prog_compiler_pic='-fPIC -shared'
8370 osf3* | osf4* | osf5*)
8371 lt_prog_compiler_wl='-Wl,'
8372 # All OSF/1 code is PIC.
8373 lt_prog_compiler_static='-non_shared'
8377 lt_prog_compiler_static='-non_shared'
8381 lt_prog_compiler_pic='-KPIC'
8382 lt_prog_compiler_static='-Bstatic'
8383 case $cc_basename in
8384 f77* | f90* | f95* | sunf77* | sunf90* | sunf95*)
8385 lt_prog_compiler_wl='-Qoption ld ';;
8387 lt_prog_compiler_wl='-Wl,';;
8392 lt_prog_compiler_wl='-Qoption ld '
8393 lt_prog_compiler_pic='-PIC'
8394 lt_prog_compiler_static='-Bstatic'
8397 sysv4 | sysv4.2uw2* | sysv4.3*)
8398 lt_prog_compiler_wl='-Wl,'
8399 lt_prog_compiler_pic='-KPIC'
8400 lt_prog_compiler_static='-Bstatic'
8404 if test -d /usr/nec ;then
8405 lt_prog_compiler_pic='-Kconform_pic'
8406 lt_prog_compiler_static='-Bstatic'
8410 sysv5* | unixware* | sco3.2v5* | sco5v6* | OpenUNIX*)
8411 lt_prog_compiler_wl='-Wl,'
8412 lt_prog_compiler_pic='-KPIC'
8413 lt_prog_compiler_static='-Bstatic'
8417 lt_prog_compiler_wl='-Wl,'
8418 lt_prog_compiler_can_build_shared=no
8422 lt_prog_compiler_pic='-pic'
8423 lt_prog_compiler_static='-Bstatic'
8427 lt_prog_compiler_can_build_shared=no
8433 # For platforms which do not support PIC, -DPIC is meaningless:
8435 lt_prog_compiler_pic=
8438 lt_prog_compiler_pic="$lt_prog_compiler_pic -DPIC"
8442 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $compiler option to produce PIC" >&5
8443 $as_echo_n "checking for $compiler option to produce PIC... " >&6; }
8444 if ${lt_cv_prog_compiler_pic+:} false; then :
8445 $as_echo_n "(cached) " >&6
8447 lt_cv_prog_compiler_pic=$lt_prog_compiler_pic
8449 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic" >&5
8450 $as_echo "$lt_cv_prog_compiler_pic" >&6; }
8451 lt_prog_compiler_pic=$lt_cv_prog_compiler_pic
8454 # Check to make sure the PIC flag actually works.
8456 if test -n "$lt_prog_compiler_pic"; then
8457 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler PIC flag $lt_prog_compiler_pic works" >&5
8458 $as_echo_n "checking if $compiler PIC flag $lt_prog_compiler_pic works... " >&6; }
8459 if ${lt_cv_prog_compiler_pic_works+:} false; then :
8460 $as_echo_n "(cached) " >&6
8462 lt_cv_prog_compiler_pic_works=no
8463 ac_outfile=conftest.$ac_objext
8464 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
8465 lt_compiler_flag="$lt_prog_compiler_pic -DPIC"
8466 # Insert the option either (1) after the last *FLAGS variable, or
8467 # (2) before a word containing "conftest.", or (3) at the end.
8468 # Note that $ac_compile itself does not contain backslashes and begins
8469 # with a dollar sign (not a hyphen), so the echo should work correctly.
8470 # The option is referenced via a variable to avoid confusing sed.
8471 lt_compile=`echo "$ac_compile" | $SED \
8472 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
8473 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
8474 -e 's:$: $lt_compiler_flag:'`
8475 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
8476 (eval "$lt_compile" 2>conftest.err)
8478 cat conftest.err >&5
8479 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8480 if (exit $ac_status) && test -s "$ac_outfile"; then
8481 # The compiler can only warn and ignore the option if not recognized
8482 # So say no if there are warnings other than the usual output.
8483 $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' >conftest.exp
8484 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
8485 if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
8486 lt_cv_prog_compiler_pic_works=yes
8492 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic_works" >&5
8493 $as_echo "$lt_cv_prog_compiler_pic_works" >&6; }
8495 if test x"$lt_cv_prog_compiler_pic_works" = xyes; then
8496 case $lt_prog_compiler_pic in
8498 *) lt_prog_compiler_pic=" $lt_prog_compiler_pic" ;;
8501 lt_prog_compiler_pic=
8502 lt_prog_compiler_can_build_shared=no
8518 # Check to make sure the static flag actually works.
8520 wl=$lt_prog_compiler_wl eval lt_tmp_static_flag=\"$lt_prog_compiler_static\"
8521 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler static flag $lt_tmp_static_flag works" >&5
8522 $as_echo_n "checking if $compiler static flag $lt_tmp_static_flag works... " >&6; }
8523 if ${lt_cv_prog_compiler_static_works+:} false; then :
8524 $as_echo_n "(cached) " >&6
8526 lt_cv_prog_compiler_static_works=no
8527 save_LDFLAGS="$LDFLAGS"
8528 LDFLAGS="$LDFLAGS $lt_tmp_static_flag"
8529 echo "$lt_simple_link_test_code" > conftest.$ac_ext
8530 if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
8531 # The linker can only warn and ignore the option if not recognized
8532 # So say no if there are warnings
8533 if test -s conftest.err; then
8534 # Append any errors to the config.log.
8535 cat conftest.err 1>&5
8536 $ECHO "$_lt_linker_boilerplate" | $SED '/^$/d' > conftest.exp
8537 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
8538 if diff conftest.exp conftest.er2 >/dev/null; then
8539 lt_cv_prog_compiler_static_works=yes
8542 lt_cv_prog_compiler_static_works=yes
8546 LDFLAGS="$save_LDFLAGS"
8549 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_static_works" >&5
8550 $as_echo "$lt_cv_prog_compiler_static_works" >&6; }
8552 if test x"$lt_cv_prog_compiler_static_works" = xyes; then
8555 lt_prog_compiler_static=
8564 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
8565 $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
8566 if ${lt_cv_prog_compiler_c_o+:} false; then :
8567 $as_echo_n "(cached) " >&6
8569 lt_cv_prog_compiler_c_o=no
8570 $RM -r conftest 2>/dev/null
8574 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
8576 lt_compiler_flag="-o out/conftest2.$ac_objext"
8577 # Insert the option either (1) after the last *FLAGS variable, or
8578 # (2) before a word containing "conftest.", or (3) at the end.
8579 # Note that $ac_compile itself does not contain backslashes and begins
8580 # with a dollar sign (not a hyphen), so the echo should work correctly.
8581 lt_compile=`echo "$ac_compile" | $SED \
8582 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
8583 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
8584 -e 's:$: $lt_compiler_flag:'`
8585 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
8586 (eval "$lt_compile" 2>out/conftest.err)
8588 cat out/conftest.err >&5
8589 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8590 if (exit $ac_status) && test -s out/conftest2.$ac_objext
8592 # The compiler can only warn and ignore the option if not recognized
8593 # So say no if there are warnings
8594 $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' > out/conftest.exp
8595 $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
8596 if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
8597 lt_cv_prog_compiler_c_o=yes
8602 # SGI C++ compiler will create directory out/ii_files/ for
8603 # template instantiation
8604 test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
8605 $RM out/* && rmdir out
8611 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o" >&5
8612 $as_echo "$lt_cv_prog_compiler_c_o" >&6; }
8619 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
8620 $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
8621 if ${lt_cv_prog_compiler_c_o+:} false; then :
8622 $as_echo_n "(cached) " >&6
8624 lt_cv_prog_compiler_c_o=no
8625 $RM -r conftest 2>/dev/null
8629 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
8631 lt_compiler_flag="-o out/conftest2.$ac_objext"
8632 # Insert the option either (1) after the last *FLAGS variable, or
8633 # (2) before a word containing "conftest.", or (3) at the end.
8634 # Note that $ac_compile itself does not contain backslashes and begins
8635 # with a dollar sign (not a hyphen), so the echo should work correctly.
8636 lt_compile=`echo "$ac_compile" | $SED \
8637 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
8638 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
8639 -e 's:$: $lt_compiler_flag:'`
8640 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
8641 (eval "$lt_compile" 2>out/conftest.err)
8643 cat out/conftest.err >&5
8644 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8645 if (exit $ac_status) && test -s out/conftest2.$ac_objext
8647 # The compiler can only warn and ignore the option if not recognized
8648 # So say no if there are warnings
8649 $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' > out/conftest.exp
8650 $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
8651 if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
8652 lt_cv_prog_compiler_c_o=yes
8657 # SGI C++ compiler will create directory out/ii_files/ for
8658 # template instantiation
8659 test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
8660 $RM out/* && rmdir out
8666 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o" >&5
8667 $as_echo "$lt_cv_prog_compiler_c_o" >&6; }
8672 hard_links="nottested"
8673 if test "$lt_cv_prog_compiler_c_o" = no && test "$need_locks" != no; then
8674 # do not overwrite the value of need_locks provided by the user
8675 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if we can lock with hard links" >&5
8676 $as_echo_n "checking if we can lock with hard links... " >&6; }
8679 ln conftest.a conftest.b 2>/dev/null && hard_links=no
8681 ln conftest.a conftest.b 2>&5 || hard_links=no
8682 ln conftest.a conftest.b 2>/dev/null && hard_links=no
8683 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hard_links" >&5
8684 $as_echo "$hard_links" >&6; }
8685 if test "$hard_links" = no; then
8686 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5
8687 $as_echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;}
8699 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $compiler linker ($LD) supports shared libraries" >&5
8700 $as_echo_n "checking whether the $compiler linker ($LD) supports shared libraries... " >&6; }
8703 allow_undefined_flag=
8704 always_export_symbols=no
8706 archive_expsym_cmds=
8707 compiler_needs_object=no
8708 enable_shared_with_static_runtimes=no
8709 export_dynamic_flag_spec=
8710 export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
8711 hardcode_automatic=no
8713 hardcode_direct_absolute=no
8714 hardcode_libdir_flag_spec=
8715 hardcode_libdir_flag_spec_ld=
8716 hardcode_libdir_separator=
8718 hardcode_shlibpath_var=unsupported
8720 link_all_deplibs=unknown
8723 old_archive_from_new_cmds=
8724 old_archive_from_expsyms_cmds=
8725 thread_safe_flag_spec=
8726 whole_archive_flag_spec=
8727 # include_expsyms should be a list of space-separated symbols to be *always*
8728 # included in the symbol list
8730 # exclude_expsyms can be an extended regexp of symbols to exclude
8731 # it will be wrapped by ` (' and `)$', so one must not match beginning or
8732 # end of line. Example: `a|bc|.*d.*' will exclude the symbols `a' and `bc',
8733 # as well as any symbol that contains `d'.
8734 exclude_expsyms='_GLOBAL_OFFSET_TABLE_|_GLOBAL__F[ID]_.*'
8735 # Although _GLOBAL_OFFSET_TABLE_ is a valid symbol C name, most a.out
8736 # platforms (ab)use it in PIC code, but their linkers get confused if
8737 # the symbol is explicitly referenced. Since portable code cannot
8738 # rely on this symbol name, it's probably fine to never include it in
8739 # preloaded symbol tables.
8740 # Exclude shared library initialization/finalization symbols.
8741 extract_expsyms_cmds=
8744 cygwin* | mingw* | pw32* | cegcc*)
8745 # FIXME: the MSVC++ port hasn't been tested in a loooong time
8746 # When not using gcc, we currently assume that we are using
8747 # Microsoft Visual C++.
8748 if test "$GCC" != yes; then
8753 # we just hope/assume this is gcc and not c89 (= MSVC++)
8763 # On some targets, GNU ld is compatible enough with the native linker
8764 # that we're better off using the native interface for both.
8765 lt_use_gnu_ld_interface=no
8766 if test "$with_gnu_ld" = yes; then
8769 # The AIX port of GNU ld has always aspired to compatibility
8770 # with the native linker. However, as the warning in the GNU ld
8771 # block says, versions before 2.19.5* couldn't really create working
8772 # shared libraries, regardless of the interface used.
8773 case `$LD -v 2>&1` in
8774 *\ \(GNU\ Binutils\)\ 2.19.5*) ;;
8775 *\ \(GNU\ Binutils\)\ 2.[2-9]*) ;;
8776 *\ \(GNU\ Binutils\)\ [3-9]*) ;;
8778 lt_use_gnu_ld_interface=yes
8783 lt_use_gnu_ld_interface=yes
8788 if test "$lt_use_gnu_ld_interface" = yes; then
8789 # If archive_cmds runs LD, not CC, wlarc should be empty
8792 # Set some defaults for GNU ld with shared library support. These
8793 # are reset later if shared libraries are not supported. Putting them
8794 # here allows them to be overridden if necessary.
8795 runpath_var=LD_RUN_PATH
8796 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
8797 export_dynamic_flag_spec='${wl}--export-dynamic'
8798 # ancient GNU ld didn't support --whole-archive et. al.
8799 if $LD --help 2>&1 | $GREP 'no-whole-archive' > /dev/null; then
8800 whole_archive_flag_spec="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
8802 whole_archive_flag_spec=
8804 supports_anon_versioning=no
8805 case `$LD -v 2>&1` in
8806 *GNU\ gold*) supports_anon_versioning=yes ;;
8807 *\ [01].* | *\ 2.[0-9].* | *\ 2.10.*) ;; # catch versions < 2.11
8808 *\ 2.11.93.0.2\ *) supports_anon_versioning=yes ;; # RH7.3 ...
8809 *\ 2.11.92.0.12\ *) supports_anon_versioning=yes ;; # Mandrake 8.2 ...
8810 *\ 2.11.*) ;; # other 2.11 versions
8811 *) supports_anon_versioning=yes ;;
8814 # See if GNU ld supports shared libraries.
8817 # On AIX/PPC, the GNU linker is very broken
8818 if test "$host_cpu" != ia64; then
8822 *** Warning: the GNU linker, at least up to release 2.19, is reported
8823 *** to be unable to reliably create shared libraries on AIX.
8824 *** Therefore, libtool is disabling shared libraries support. If you
8825 *** really care for shared libraries, you may want to install binutils
8826 *** 2.20 or above, or modify your PATH so that a non-GNU linker is found.
8827 *** You will then need to restart the configuration process.
8836 # see comment about AmigaOS4 .so support
8837 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
8838 archive_expsym_cmds=''
8841 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)'
8842 hardcode_libdir_flag_spec='-L$libdir'
8843 hardcode_minus_L=yes
8849 if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
8850 allow_undefined_flag=unsupported
8851 # Joseph Beckenbach <jrb3@best.com> says some releases of gcc
8852 # support --undefined. This deserves some investigation. FIXME
8853 archive_cmds='$CC -nostart $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
8859 cygwin* | mingw* | pw32* | cegcc*)
8860 # _LT_TAGVAR(hardcode_libdir_flag_spec, ) is actually meaningless,
8861 # as there is no search path for DLLs.
8862 hardcode_libdir_flag_spec='-L$libdir'
8863 export_dynamic_flag_spec='${wl}--export-all-symbols'
8864 allow_undefined_flag=unsupported
8865 always_export_symbols=no
8866 enable_shared_with_static_runtimes=yes
8867 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'
8868 exclude_expsyms='[_]+GLOBAL_OFFSET_TABLE_|[_]+GLOBAL__[FID]_.*|[_]+head_[A-Za-z0-9_]+_dll|[A-Za-z0-9_]+_dll_iname'
8870 if $LD --help 2>&1 | $GREP 'auto-import' > /dev/null; then
8871 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
8872 # If the export-symbols file already is a .def file (1st line
8873 # is EXPORTS), use it as is; otherwise, prepend...
8874 archive_expsym_cmds='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
8875 cp $export_symbols $output_objdir/$soname.def;
8877 echo EXPORTS > $output_objdir/$soname.def;
8878 cat $export_symbols >> $output_objdir/$soname.def;
8880 $CC -shared $output_objdir/$soname.def $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
8887 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
8888 link_all_deplibs=yes
8893 hardcode_shlibpath_var=no
8894 hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
8895 export_dynamic_flag_spec='${wl}-E'
8896 # Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc.
8897 # Instead, shared libraries are loaded at an image base (0x10000000 by
8898 # default) and relocated if they conflict, which is a slow very memory
8899 # consuming and fragmenting process. To avoid this, we pick a random,
8900 # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link
8901 # time. Moving up from 0x10000000 also allows more sbrk(2) space.
8902 archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-h,$soname ${wl}--image-base,`expr ${RANDOM-$$} % 4096 / 2 \* 262144 + 1342177280` -o $lib'
8903 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'
8906 gnu* | linux* | tpf* | k*bsd*-gnu | kopensolaris*-gnu)
8908 if test "$host_os" = linux-dietlibc; then
8909 case $cc_basename in
8910 diet\ *) tmp_diet=yes;; # linux-dietlibc with static linking (!diet-dyn)
8913 if $LD --help 2>&1 | $EGREP ': supported targets:.* elf' > /dev/null \
8914 && test "$tmp_diet" = no
8916 tmp_addflag=' $pic_flag'
8917 tmp_sharedflag='-shared'
8918 case $cc_basename,$host_cpu in
8919 pgcc*) # Portland Group C compiler
8920 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'
8921 tmp_addflag=' $pic_flag'
8923 pgf77* | pgf90* | pgf95* | pgfortran*)
8924 # Portland Group f77 and f90 compilers
8925 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'
8926 tmp_addflag=' $pic_flag -Mnomain' ;;
8927 ecc*,ia64* | icc*,ia64*) # Intel C compiler on ia64
8928 tmp_addflag=' -i_dynamic' ;;
8929 efc*,ia64* | ifort*,ia64*) # Intel Fortran compiler on ia64
8930 tmp_addflag=' -i_dynamic -nofor_main' ;;
8931 ifc* | ifort*) # Intel Fortran compiler
8932 tmp_addflag=' -nofor_main' ;;
8933 lf95*) # Lahey Fortran 8.1
8934 whole_archive_flag_spec=
8935 tmp_sharedflag='--shared' ;;
8936 xl[cC]* | bgxl[cC]* | mpixl[cC]*) # IBM XL C 8.0 on PPC (deal with xlf below)
8937 tmp_sharedflag='-qmkshrobj'
8939 nvcc*) # Cuda Compiler Driver 2.2
8940 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'
8941 compiler_needs_object=yes
8944 case `$CC -V 2>&1 | sed 5q` in
8945 *Sun\ C*) # Sun C 5.9
8946 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'
8947 compiler_needs_object=yes
8948 tmp_sharedflag='-G' ;;
8949 *Sun\ F*) # Sun Fortran 8.3
8950 tmp_sharedflag='-G' ;;
8952 archive_cmds='$CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
8954 if test "x$supports_anon_versioning" = xyes; then
8955 archive_expsym_cmds='echo "{ global:" > $output_objdir/$libname.ver~
8956 cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
8957 echo "local: *; };" >> $output_objdir/$libname.ver~
8958 $CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-version-script ${wl}$output_objdir/$libname.ver -o $lib'
8961 case $cc_basename in
8962 xlf* | bgf* | bgxlf* | mpixlf*)
8963 # IBM XL Fortran 10.1 on PPC cannot create shared libs itself
8964 whole_archive_flag_spec='--whole-archive$convenience --no-whole-archive'
8965 hardcode_libdir_flag_spec=
8966 hardcode_libdir_flag_spec_ld='-rpath $libdir'
8967 archive_cmds='$LD -shared $libobjs $deplibs $linker_flags -soname $soname -o $lib'
8968 if test "x$supports_anon_versioning" = xyes; then
8969 archive_expsym_cmds='echo "{ global:" > $output_objdir/$libname.ver~
8970 cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
8971 echo "local: *; };" >> $output_objdir/$libname.ver~
8972 $LD -shared $libobjs $deplibs $linker_flags -soname $soname -version-script $output_objdir/$libname.ver -o $lib'
8982 if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
8983 archive_cmds='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib'
8986 archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
8987 archive_expsym_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
8992 if $LD -v 2>&1 | $GREP 'BFD 2\.8' > /dev/null; then
8996 *** Warning: The releases 2.8.* of the GNU linker cannot reliably
8997 *** create shared libraries on Solaris systems. Therefore, libtool
8998 *** is disabling shared libraries support. We urge you to upgrade GNU
8999 *** binutils to release 2.9.1 or newer. Another option is to modify
9000 *** your PATH or compiler configuration so that the native linker is
9001 *** used, and then restart.
9004 elif $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
9005 archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9006 archive_expsym_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
9012 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX*)
9013 case `$LD -v 2>&1` in
9014 *\ [01].* | *\ 2.[0-9].* | *\ 2.1[0-5].*)
9018 *** Warning: Releases of the GNU linker prior to 2.16.91.0.3 can not
9019 *** reliably create shared libraries on SCO systems. Therefore, libtool
9020 *** is disabling shared libraries support. We urge you to upgrade GNU
9021 *** binutils to release 2.16.91.0.3 or newer. Another option is to modify
9022 *** your PATH or compiler configuration so that the native linker is
9023 *** used, and then restart.
9028 # For security reasons, it is highly recommended that you always
9029 # use absolute paths for naming shared libraries, and exclude the
9030 # DT_RUNPATH tag from executables and libraries. But doing so
9031 # requires that you compile everything twice, which is a pain.
9032 if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
9033 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
9034 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9035 archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
9044 archive_cmds='$LD -assert pure-text -Bshareable -o $lib $libobjs $deplibs $linker_flags'
9047 hardcode_shlibpath_var=no
9051 if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
9052 archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9053 archive_expsym_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
9060 if test "$ld_shlibs" = no; then
9062 hardcode_libdir_flag_spec=
9063 export_dynamic_flag_spec=
9064 whole_archive_flag_spec=
9067 # PORTME fill in a description of your system's linker (not GNU ld)
9070 allow_undefined_flag=unsupported
9071 always_export_symbols=yes
9072 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'
9073 # Note: this linker hardcodes the directories in LIBPATH if there
9074 # are no directories specified by -L.
9075 hardcode_minus_L=yes
9076 if test "$GCC" = yes && test -z "$lt_prog_compiler_static"; then
9077 # Neither direct hardcoding nor static linking is supported with a
9079 hardcode_direct=unsupported
9084 if test "$host_cpu" = ia64; then
9085 # On IA64, the linker does run time linking by default, so we don't
9086 # have to do anything special.
9087 aix_use_runtimelinking=no
9088 exp_sym_flag='-Bexport'
9091 # If we're using GNU nm, then we don't want the "-C" option.
9092 # -C means demangle to AIX nm, but means don't demangle with GNU nm
9093 # Also, AIX nm treats weak defined symbols like other global
9094 # defined symbols, whereas GNU nm marks them as "W".
9095 if $NM -V 2>&1 | $GREP 'GNU' > /dev/null; then
9096 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'
9098 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'
9100 aix_use_runtimelinking=no
9102 # Test if we are trying to use run time linking or normal
9103 # AIX style linking. If -brtl is somewhere in LDFLAGS, we
9104 # need to do runtime linking.
9105 case $host_os in aix4.[23]|aix4.[23].*|aix[5-9]*)
9106 for ld_flag in $LDFLAGS; do
9107 if (test $ld_flag = "-brtl" || test $ld_flag = "-Wl,-brtl"); then
9108 aix_use_runtimelinking=yes
9115 exp_sym_flag='-bexport'
9116 no_entry_flag='-bnoentry'
9119 # When large executables or shared objects are built, AIX ld can
9120 # have problems creating the table of contents. If linking a library
9121 # or program results in "error TOC overflow" add -mminimal-toc to
9122 # CXXFLAGS/CFLAGS for g++/gcc. In the cases where that is not
9123 # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
9127 hardcode_direct_absolute=yes
9128 hardcode_libdir_separator=':'
9129 link_all_deplibs=yes
9130 file_list_spec='${wl}-f,'
9132 if test "$GCC" = yes; then
9133 case $host_os in aix4.[012]|aix4.[012].*)
9134 # We only want to do this on AIX 4.2 and lower, the check
9135 # below for broken collect2 doesn't work under 4.3+
9136 collect2name=`${CC} -print-prog-name=collect2`
9137 if test -f "$collect2name" &&
9138 strings "$collect2name" | $GREP resolve_lib_name >/dev/null
9140 # We have reworked collect2
9143 # We have old collect2
9144 hardcode_direct=unsupported
9145 # It fails to find uninstalled libraries when the uninstalled
9146 # path is not listed in the libpath. Setting hardcode_minus_L
9147 # to unsupported forces relinking
9148 hardcode_minus_L=yes
9149 hardcode_libdir_flag_spec='-L$libdir'
9150 hardcode_libdir_separator=
9154 shared_flag='-shared'
9155 if test "$aix_use_runtimelinking" = yes; then
9156 shared_flag="$shared_flag "'${wl}-G'
9160 if test "$host_cpu" = ia64; then
9161 # VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
9162 # chokes on -Wl,-G. The following line is correct:
9165 if test "$aix_use_runtimelinking" = yes; then
9166 shared_flag='${wl}-G'
9168 shared_flag='${wl}-bM:SRE'
9173 export_dynamic_flag_spec='${wl}-bexpall'
9174 # It seems that -bexpall does not export symbols beginning with
9175 # underscore (_), so it is better to generate a list of symbols to export.
9176 always_export_symbols=yes
9177 if test "$aix_use_runtimelinking" = yes; then
9178 # Warning - without using the other runtime loading flags (-brtl),
9179 # -berok will link without error, but may produce a broken library.
9180 allow_undefined_flag='-berok'
9181 # Determine the default libpath from the value encoded in an
9183 if test "${lt_cv_aix_libpath+set}" = set; then
9184 aix_libpath=$lt_cv_aix_libpath
9186 if ${lt_cv_aix_libpath_+:} false; then :
9187 $as_echo_n "(cached) " >&6
9189 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9190 /* end confdefs.h. */
9200 if ac_fn_c_try_link "$LINENO"; then :
9202 lt_aix_libpath_sed='
9203 /Import File Strings/,/^$/ {
9205 s/^0 *\([^ ]*\) *$/\1/
9209 lt_cv_aix_libpath_=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
9210 # Check for a 64-bit object if we didn't find anything.
9211 if test -z "$lt_cv_aix_libpath_"; then
9212 lt_cv_aix_libpath_=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
9215 rm -f core conftest.err conftest.$ac_objext \
9216 conftest$ac_exeext conftest.$ac_ext
9217 if test -z "$lt_cv_aix_libpath_"; then
9218 lt_cv_aix_libpath_="/usr/lib:/lib"
9223 aix_libpath=$lt_cv_aix_libpath_
9226 hardcode_libdir_flag_spec='${wl}-blibpath:$libdir:'"$aix_libpath"
9227 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"
9229 if test "$host_cpu" = ia64; then
9230 hardcode_libdir_flag_spec='${wl}-R $libdir:/usr/lib:/lib'
9231 allow_undefined_flag="-z nodefs"
9232 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"
9234 # Determine the default libpath from the value encoded in an
9236 if test "${lt_cv_aix_libpath+set}" = set; then
9237 aix_libpath=$lt_cv_aix_libpath
9239 if ${lt_cv_aix_libpath_+:} false; then :
9240 $as_echo_n "(cached) " >&6
9242 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9243 /* end confdefs.h. */
9253 if ac_fn_c_try_link "$LINENO"; then :
9255 lt_aix_libpath_sed='
9256 /Import File Strings/,/^$/ {
9258 s/^0 *\([^ ]*\) *$/\1/
9262 lt_cv_aix_libpath_=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
9263 # Check for a 64-bit object if we didn't find anything.
9264 if test -z "$lt_cv_aix_libpath_"; then
9265 lt_cv_aix_libpath_=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
9268 rm -f core conftest.err conftest.$ac_objext \
9269 conftest$ac_exeext conftest.$ac_ext
9270 if test -z "$lt_cv_aix_libpath_"; then
9271 lt_cv_aix_libpath_="/usr/lib:/lib"
9276 aix_libpath=$lt_cv_aix_libpath_
9279 hardcode_libdir_flag_spec='${wl}-blibpath:$libdir:'"$aix_libpath"
9280 # Warning - without using the other run time loading flags,
9281 # -berok will link without error, but may produce a broken library.
9282 no_undefined_flag=' ${wl}-bernotok'
9283 allow_undefined_flag=' ${wl}-berok'
9284 if test "$with_gnu_ld" = yes; then
9285 # We only use this code for GNU lds that support --whole-archive.
9286 whole_archive_flag_spec='${wl}--whole-archive$convenience ${wl}--no-whole-archive'
9288 # Exported symbols can be pulled into shared objects from archives
9289 whole_archive_flag_spec='$convenience'
9291 archive_cmds_need_lc=yes
9292 # This is similar to how AIX traditionally builds its shared libraries.
9293 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'
9301 # see comment about AmigaOS4 .so support
9302 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9303 archive_expsym_cmds=''
9306 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)'
9307 hardcode_libdir_flag_spec='-L$libdir'
9308 hardcode_minus_L=yes
9314 export_dynamic_flag_spec=-rdynamic
9317 cygwin* | mingw* | pw32* | cegcc*)
9318 # When not using gcc, we currently assume that we are using
9319 # Microsoft Visual C++.
9320 # hardcode_libdir_flag_spec is actually meaningless, as there is
9321 # no search path for DLLs.
9322 case $cc_basename in
9325 hardcode_libdir_flag_spec=' '
9326 allow_undefined_flag=unsupported
9327 always_export_symbols=yes
9329 # Tell ltmain to make .lib files, not .a files.
9331 # Tell ltmain to make .dll files, not .so files.
9333 # FIXME: Setting linknames here is a bad hack.
9334 archive_cmds='$CC -o $output_objdir/$soname $libobjs $compiler_flags $deplibs -Wl,-dll~linknames='
9335 archive_expsym_cmds='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
9336 sed -n -e 's/\\\\\\\(.*\\\\\\\)/-link\\\ -EXPORT:\\\\\\\1/' -e '1\\\!p' < $export_symbols > $output_objdir/$soname.exp;
9338 sed -e 's/\\\\\\\(.*\\\\\\\)/-link\\\ -EXPORT:\\\\\\\1/' < $export_symbols > $output_objdir/$soname.exp;
9340 $CC -o $tool_output_objdir$soname $libobjs $compiler_flags $deplibs "@$tool_output_objdir$soname.exp" -Wl,-DLL,-IMPLIB:"$tool_output_objdir$libname.dll.lib"~
9342 # The linker will not automatically build a static lib if we build a DLL.
9343 # _LT_TAGVAR(old_archive_from_new_cmds, )='true'
9344 enable_shared_with_static_runtimes=yes
9345 export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS][ ]/s/.*[ ]\([^ ]*\)/\1,DATA/'\'' | $SED -e '\''/^[AITW][ ]/s/.*[ ]//'\'' | sort | uniq > $export_symbols'
9347 old_postinstall_cmds='chmod 644 $oldlib'
9348 postlink_cmds='lt_outputfile="@OUTPUT@"~
9349 lt_tool_outputfile="@TOOL_OUTPUT@"~
9350 case $lt_outputfile in
9353 lt_outputfile="$lt_outputfile.exe"
9354 lt_tool_outputfile="$lt_tool_outputfile.exe"
9357 if test "$MANIFEST_TOOL" != ":" && test -f "$lt_outputfile.manifest"; then
9358 $MANIFEST_TOOL -manifest "$lt_tool_outputfile.manifest" -outputresource:"$lt_tool_outputfile" || exit 1;
9359 $RM "$lt_outputfile.manifest";
9363 # Assume MSVC wrapper
9364 hardcode_libdir_flag_spec=' '
9365 allow_undefined_flag=unsupported
9366 # Tell ltmain to make .lib files, not .a files.
9368 # Tell ltmain to make .dll files, not .so files.
9370 # FIXME: Setting linknames here is a bad hack.
9371 archive_cmds='$CC -o $lib $libobjs $compiler_flags `func_echo_all "$deplibs" | $SED '\''s/ -lc$//'\''` -link -dll~linknames='
9372 # The linker will automatically build a .lib file if we build a DLL.
9373 old_archive_from_new_cmds='true'
9374 # FIXME: Should let the user specify the lib program.
9375 old_archive_cmds='lib -OUT:$oldlib$oldobjs$old_deplibs'
9376 enable_shared_with_static_runtimes=yes
9381 darwin* | rhapsody*)
9384 archive_cmds_need_lc=no
9386 hardcode_automatic=yes
9387 hardcode_shlibpath_var=unsupported
9388 if test "$lt_cv_ld_force_load" = "yes"; then
9389 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\"`'
9391 whole_archive_flag_spec=''
9393 link_all_deplibs=yes
9394 allow_undefined_flag="$_lt_dar_allow_undefined"
9395 case $cc_basename in
9396 ifort*) _lt_dar_can_shared=yes ;;
9397 *) _lt_dar_can_shared=$GCC ;;
9399 if test "$_lt_dar_can_shared" = "yes"; then
9400 output_verbose_link_cmd=func_echo_all
9401 archive_cmds="\$CC -dynamiclib \$allow_undefined_flag -o \$lib \$libobjs \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring $_lt_dar_single_mod${_lt_dsymutil}"
9402 module_cmds="\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags${_lt_dsymutil}"
9403 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}"
9404 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}"
9413 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
9414 hardcode_libdir_flag_spec='-L$libdir'
9415 hardcode_shlibpath_var=no
9422 # FreeBSD 2.2.[012] allows us to include c++rt0.o to get C++ constructor
9423 # support. Future versions do this automatically, but an explicit c++rt0.o
9424 # does not break anything, and helps significantly (at the cost of a little
9427 archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags /usr/lib/c++rt0.o'
9428 hardcode_libdir_flag_spec='-R$libdir'
9430 hardcode_shlibpath_var=no
9433 # Unfortunately, older versions of FreeBSD 2 do not have this feature.
9435 archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
9437 hardcode_minus_L=yes
9438 hardcode_shlibpath_var=no
9441 # FreeBSD 3 and greater uses gcc -shared to do shared libraries.
9442 freebsd* | dragonfly*)
9443 archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
9444 hardcode_libdir_flag_spec='-R$libdir'
9446 hardcode_shlibpath_var=no
9450 if test "$GCC" = yes; then
9451 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'
9453 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'
9455 hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
9456 hardcode_libdir_separator=:
9459 # hardcode_minus_L: Not really in the search PATH,
9460 # but as the default location of the library.
9461 hardcode_minus_L=yes
9462 export_dynamic_flag_spec='${wl}-E'
9466 if test "$GCC" = yes && test "$with_gnu_ld" = no; then
9467 archive_cmds='$CC -shared $pic_flag ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
9469 archive_cmds='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
9471 if test "$with_gnu_ld" = no; then
9472 hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
9473 hardcode_libdir_flag_spec_ld='+b $libdir'
9474 hardcode_libdir_separator=:
9476 hardcode_direct_absolute=yes
9477 export_dynamic_flag_spec='${wl}-E'
9478 # hardcode_minus_L: Not really in the search PATH,
9479 # but as the default location of the library.
9480 hardcode_minus_L=yes
9485 if test "$GCC" = yes && test "$with_gnu_ld" = no; then
9488 archive_cmds='$CC -shared ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
9491 archive_cmds='$CC -shared $pic_flag ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
9494 archive_cmds='$CC -shared $pic_flag ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
9500 archive_cmds='$CC -b ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
9503 archive_cmds='$CC -b ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
9507 # Older versions of the 11.00 compiler do not understand -b yet
9508 # (HP92453-01 A.11.01.20 doesn't, HP92453-01 B.11.X.35175-35176.GP does)
9509 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC understands -b" >&5
9510 $as_echo_n "checking if $CC understands -b... " >&6; }
9511 if ${lt_cv_prog_compiler__b+:} false; then :
9512 $as_echo_n "(cached) " >&6
9514 lt_cv_prog_compiler__b=no
9515 save_LDFLAGS="$LDFLAGS"
9516 LDFLAGS="$LDFLAGS -b"
9517 echo "$lt_simple_link_test_code" > conftest.$ac_ext
9518 if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
9519 # The linker can only warn and ignore the option if not recognized
9520 # So say no if there are warnings
9521 if test -s conftest.err; then
9522 # Append any errors to the config.log.
9523 cat conftest.err 1>&5
9524 $ECHO "$_lt_linker_boilerplate" | $SED '/^$/d' > conftest.exp
9525 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
9526 if diff conftest.exp conftest.er2 >/dev/null; then
9527 lt_cv_prog_compiler__b=yes
9530 lt_cv_prog_compiler__b=yes
9534 LDFLAGS="$save_LDFLAGS"
9537 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler__b" >&5
9538 $as_echo "$lt_cv_prog_compiler__b" >&6; }
9540 if test x"$lt_cv_prog_compiler__b" = xyes; then
9541 archive_cmds='$CC -b ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
9543 archive_cmds='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
9549 if test "$with_gnu_ld" = no; then
9550 hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
9551 hardcode_libdir_separator=:
9556 hardcode_shlibpath_var=no
9560 hardcode_direct_absolute=yes
9561 export_dynamic_flag_spec='${wl}-E'
9563 # hardcode_minus_L: Not really in the search PATH,
9564 # but as the default location of the library.
9565 hardcode_minus_L=yes
9571 irix5* | irix6* | nonstopux*)
9572 if test "$GCC" = yes; then
9573 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'
9574 # Try to use the -exported_symbol ld option, if it does not
9575 # work, assume that -exports_file does not work either and
9576 # implicitly export all symbols.
9577 # This should be the same for all languages, so no per-tag cache variable.
9578 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $host_os linker accepts -exported_symbol" >&5
9579 $as_echo_n "checking whether the $host_os linker accepts -exported_symbol... " >&6; }
9580 if ${lt_cv_irix_exported_symbol+:} false; then :
9581 $as_echo_n "(cached) " >&6
9583 save_LDFLAGS="$LDFLAGS"
9584 LDFLAGS="$LDFLAGS -shared ${wl}-exported_symbol ${wl}foo ${wl}-update_registry ${wl}/dev/null"
9585 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9586 /* end confdefs.h. */
9587 int foo (void) { return 0; }
9589 if ac_fn_c_try_link "$LINENO"; then :
9590 lt_cv_irix_exported_symbol=yes
9592 lt_cv_irix_exported_symbol=no
9594 rm -f core conftest.err conftest.$ac_objext \
9595 conftest$ac_exeext conftest.$ac_ext
9596 LDFLAGS="$save_LDFLAGS"
9598 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_irix_exported_symbol" >&5
9599 $as_echo "$lt_cv_irix_exported_symbol" >&6; }
9600 if test "$lt_cv_irix_exported_symbol" = yes; then
9601 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'
9604 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'
9605 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'
9607 archive_cmds_need_lc='no'
9608 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
9609 hardcode_libdir_separator=:
9611 link_all_deplibs=yes
9615 if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
9616 archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags' # a.out
9618 archive_cmds='$LD -shared -o $lib $libobjs $deplibs $linker_flags' # ELF
9620 hardcode_libdir_flag_spec='-R$libdir'
9622 hardcode_shlibpath_var=no
9626 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
9628 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
9629 hardcode_libdir_separator=:
9630 hardcode_shlibpath_var=no
9637 if test -f /usr/libexec/ld.so; then
9639 hardcode_shlibpath_var=no
9640 hardcode_direct_absolute=yes
9641 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
9642 archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
9643 archive_expsym_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-retain-symbols-file,$export_symbols'
9644 hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
9645 export_dynamic_flag_spec='${wl}-E'
9648 openbsd[01].* | openbsd2.[0-7] | openbsd2.[0-7].*)
9649 archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
9650 hardcode_libdir_flag_spec='-R$libdir'
9653 archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
9654 hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
9664 hardcode_libdir_flag_spec='-L$libdir'
9665 hardcode_minus_L=yes
9666 allow_undefined_flag=unsupported
9667 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'
9668 old_archive_from_new_cmds='emximp -o $output_objdir/$libname.a $output_objdir/$libname.def'
9672 if test "$GCC" = yes; then
9673 allow_undefined_flag=' ${wl}-expect_unresolved ${wl}\*'
9674 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'
9676 allow_undefined_flag=' -expect_unresolved \*'
9677 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'
9679 archive_cmds_need_lc='no'
9680 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
9681 hardcode_libdir_separator=:
9684 osf4* | osf5*) # as osf3* with the addition of -msym flag
9685 if test "$GCC" = yes; then
9686 allow_undefined_flag=' ${wl}-expect_unresolved ${wl}\*'
9687 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'
9688 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
9690 allow_undefined_flag=' -expect_unresolved \*'
9691 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'
9692 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~
9693 $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'
9695 # Both c and cxx compiler support -rpath directly
9696 hardcode_libdir_flag_spec='-rpath $libdir'
9698 archive_cmds_need_lc='no'
9699 hardcode_libdir_separator=:
9703 no_undefined_flag=' -z defs'
9704 if test "$GCC" = yes; then
9706 archive_cmds='$CC -shared $pic_flag ${wl}-z ${wl}text ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
9707 archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
9708 $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'
9710 case `$CC -V 2>&1` in
9713 archive_cmds='$LD -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $linker_flags'
9714 archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
9715 $LD -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$RM $lib.exp'
9719 archive_cmds='$CC -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $compiler_flags'
9720 archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
9721 $CC -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $compiler_flags~$RM $lib.exp'
9725 hardcode_libdir_flag_spec='-R$libdir'
9726 hardcode_shlibpath_var=no
9728 solaris2.[0-5] | solaris2.[0-5].*) ;;
9730 # The compiler driver will combine and reorder linker options,
9731 # but understands `-z linker_flag'. GCC discards it without `$wl',
9732 # but is careful enough not to reorder.
9733 # Supported since Solaris 2.6 (maybe 2.5.1?)
9734 if test "$GCC" = yes; then
9735 whole_archive_flag_spec='${wl}-z ${wl}allextract$convenience ${wl}-z ${wl}defaultextract'
9737 whole_archive_flag_spec='-z allextract$convenience -z defaultextract'
9741 link_all_deplibs=yes
9745 if test "x$host_vendor" = xsequent; then
9746 # Use $CC to link under sequent, because it throws in some extra .o
9747 # files that make .init and .fini sections work.
9748 archive_cmds='$CC -G ${wl}-h $soname -o $lib $libobjs $deplibs $compiler_flags'
9750 archive_cmds='$LD -assert pure-text -Bstatic -o $lib $libobjs $deplibs $linker_flags'
9752 hardcode_libdir_flag_spec='-L$libdir'
9754 hardcode_minus_L=yes
9755 hardcode_shlibpath_var=no
9759 case $host_vendor in
9761 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
9762 hardcode_direct=yes # is this really true???
9765 ## LD is ld it makes a PLAMLIB
9766 ## CC just makes a GrossModule.
9767 archive_cmds='$LD -G -o $lib $libobjs $deplibs $linker_flags'
9768 reload_cmds='$CC -r -o $output$reload_objs'
9772 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
9773 hardcode_direct=no #Motorola manual says yes, but my tests say they lie
9776 runpath_var='LD_RUN_PATH'
9777 hardcode_shlibpath_var=no
9781 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
9782 hardcode_shlibpath_var=no
9783 export_dynamic_flag_spec='-Bexport'
9787 if test -d /usr/nec; then
9788 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
9789 hardcode_shlibpath_var=no
9790 runpath_var=LD_RUN_PATH
9791 hardcode_runpath_var=yes
9796 sysv4*uw2* | sysv5OpenUNIX* | sysv5UnixWare7.[01].[10]* | unixware7* | sco3.2v5.0.[024]*)
9797 no_undefined_flag='${wl}-z,text'
9798 archive_cmds_need_lc=no
9799 hardcode_shlibpath_var=no
9800 runpath_var='LD_RUN_PATH'
9802 if test "$GCC" = yes; then
9803 archive_cmds='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
9804 archive_expsym_cmds='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
9806 archive_cmds='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
9807 archive_expsym_cmds='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
9811 sysv5* | sco3.2v5* | sco5v6*)
9812 # Note: We can NOT use -z defs as we might desire, because we do not
9813 # link with -lc, and that would cause any symbols used from libc to
9814 # always be unresolved, which means just about no library would
9815 # ever link correctly. If we're not using GNU ld we use -z text
9816 # though, which does catch some bad symbols but isn't as heavy-handed
9818 no_undefined_flag='${wl}-z,text'
9819 allow_undefined_flag='${wl}-z,nodefs'
9820 archive_cmds_need_lc=no
9821 hardcode_shlibpath_var=no
9822 hardcode_libdir_flag_spec='${wl}-R,$libdir'
9823 hardcode_libdir_separator=':'
9824 link_all_deplibs=yes
9825 export_dynamic_flag_spec='${wl}-Bexport'
9826 runpath_var='LD_RUN_PATH'
9828 if test "$GCC" = yes; then
9829 archive_cmds='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
9830 archive_expsym_cmds='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
9832 archive_cmds='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
9833 archive_expsym_cmds='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
9838 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
9839 hardcode_libdir_flag_spec='-L$libdir'
9840 hardcode_shlibpath_var=no
9848 if test x$host_vendor = xsni; then
9850 sysv4 | sysv4.2uw2* | sysv4.3* | sysv5*)
9851 export_dynamic_flag_spec='${wl}-Blargedynsym'
9857 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ld_shlibs" >&5
9858 $as_echo "$ld_shlibs" >&6; }
9859 test "$ld_shlibs" = no && can_build_shared=no
9861 with_gnu_ld=$with_gnu_ld
9878 # Do we need to explicitly link libc?
9880 case "x$archive_cmds_need_lc" in
9882 # Assume -lc should be added
9883 archive_cmds_need_lc=yes
9885 if test "$enable_shared" = yes && test "$GCC" = yes; then
9886 case $archive_cmds in
9888 # FIXME: we may have to deal with multi-command sequences.
9891 # Test whether the compiler implicitly links with -lc since on some
9892 # systems, -lgcc has to come before -lc. If gcc already passes -lc
9893 # to ld, don't add -lc before -lgcc.
9894 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether -lc should be explicitly linked in" >&5
9895 $as_echo_n "checking whether -lc should be explicitly linked in... " >&6; }
9896 if ${lt_cv_archive_cmds_need_lc+:} false; then :
9897 $as_echo_n "(cached) " >&6
9900 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
9902 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
9903 (eval $ac_compile) 2>&5
9905 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
9906 test $ac_status = 0; } 2>conftest.err; then
9909 libobjs=conftest.$ac_objext
9911 wl=$lt_prog_compiler_wl
9912 pic_flag=$lt_prog_compiler_pic
9918 lt_save_allow_undefined_flag=$allow_undefined_flag
9919 allow_undefined_flag=
9920 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$archive_cmds 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1\""; } >&5
9921 (eval $archive_cmds 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1) 2>&5
9923 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
9924 test $ac_status = 0; }
9926 lt_cv_archive_cmds_need_lc=no
9928 lt_cv_archive_cmds_need_lc=yes
9930 allow_undefined_flag=$lt_save_allow_undefined_flag
9932 cat conftest.err 1>&5
9937 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_archive_cmds_need_lc" >&5
9938 $as_echo "$lt_cv_archive_cmds_need_lc" >&6; }
9939 archive_cmds_need_lc=$lt_cv_archive_cmds_need_lc
10102 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dynamic linker characteristics" >&5
10103 $as_echo_n "checking dynamic linker characteristics... " >&6; }
10105 if test "$GCC" = yes; then
10107 darwin*) lt_awk_arg="/^libraries:/,/LR/" ;;
10108 *) lt_awk_arg="/^libraries:/" ;;
10111 mingw* | cegcc*) lt_sed_strip_eq="s,=\([A-Za-z]:\),\1,g" ;;
10112 *) lt_sed_strip_eq="s,=/,/,g" ;;
10114 lt_search_path_spec=`$CC -print-search-dirs | awk $lt_awk_arg | $SED -e "s/^libraries://" -e $lt_sed_strip_eq`
10115 case $lt_search_path_spec in
10117 # if the path contains ";" then we assume it to be the separator
10118 # otherwise default to the standard path separator (i.e. ":") - it is
10119 # assumed that no part of a normal pathname contains ";" but that should
10120 # okay in the real world where ";" in dirpaths is itself problematic.
10121 lt_search_path_spec=`$ECHO "$lt_search_path_spec" | $SED 's/;/ /g'`
10124 lt_search_path_spec=`$ECHO "$lt_search_path_spec" | $SED "s/$PATH_SEPARATOR/ /g"`
10127 # Ok, now we have the path, separated by spaces, we can step through it
10128 # and add multilib dir if necessary.
10129 lt_tmp_lt_search_path_spec=
10130 lt_multi_os_dir=`$CC $CPPFLAGS $CFLAGS $LDFLAGS -print-multi-os-directory 2>/dev/null`
10131 for lt_sys_path in $lt_search_path_spec; do
10132 if test -d "$lt_sys_path/$lt_multi_os_dir"; then
10133 lt_tmp_lt_search_path_spec="$lt_tmp_lt_search_path_spec $lt_sys_path/$lt_multi_os_dir"
10135 test -d "$lt_sys_path" && \
10136 lt_tmp_lt_search_path_spec="$lt_tmp_lt_search_path_spec $lt_sys_path"
10139 lt_search_path_spec=`$ECHO "$lt_tmp_lt_search_path_spec" | awk '
10140 BEGIN {RS=" "; FS="/|\n";} {
10143 for (lt_i = NF; lt_i > 0; lt_i--) {
10144 if ($lt_i != "" && $lt_i != ".") {
10145 if ($lt_i == "..") {
10148 if (lt_count == 0) {
10149 lt_foo="/" $lt_i lt_foo;
10156 if (lt_foo != "") { lt_freq[lt_foo]++; }
10157 if (lt_freq[lt_foo] == 1) { print lt_foo; }
10159 # AWK program above erroneously prepends '/' to C:/dos/paths
10162 mingw* | cegcc*) lt_search_path_spec=`$ECHO "$lt_search_path_spec" |\
10163 $SED 's,/\([A-Za-z]:\),\1,g'` ;;
10165 sys_lib_search_path_spec=`$ECHO "$lt_search_path_spec" | $lt_NL2SP`
10167 sys_lib_search_path_spec="/lib /usr/lib /usr/local/lib"
10169 library_names_spec=
10170 libname_spec='lib$name'
10174 postuninstall_cmds=
10178 shlibpath_overrides_runpath=unknown
10180 dynamic_linker="$host_os ld.so"
10181 sys_lib_dlsearch_path_spec="/lib /usr/lib"
10182 need_lib_prefix=unknown
10183 hardcode_into_libs=no
10185 # when you set need_version to no, make sure it does not cause -set_version
10186 # flags to be left without arguments
10187 need_version=unknown
10192 library_names_spec='${libname}${release}${shared_ext}$versuffix $libname.a'
10193 shlibpath_var=LIBPATH
10195 # AIX 3 has no versioning support, so we append a major version to the name.
10196 soname_spec='${libname}${release}${shared_ext}$major'
10203 hardcode_into_libs=yes
10204 if test "$host_cpu" = ia64; then
10205 # AIX 5 supports IA64
10206 library_names_spec='${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext}$versuffix $libname${shared_ext}'
10207 shlibpath_var=LD_LIBRARY_PATH
10209 # With GCC up to 2.95.x, collect2 would create an import file
10210 # for dependence libraries. The import file would start with
10211 # the line `#! .'. This would cause the generated library to
10212 # depend on `.', always an invalid library. This was fixed in
10213 # development snapshots of GCC prior to 3.0.
10215 aix4 | aix4.[01] | aix4.[01].*)
10216 if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
10218 echo '#endif'; } | ${CC} -E - | $GREP yes > /dev/null; then
10221 can_build_shared=no
10225 # AIX (on Power*) has no versioning support, so currently we can not hardcode correct
10226 # soname into executable. Probably we can add versioning support to
10227 # collect2, so additional links can be useful in future.
10228 if test "$aix_use_runtimelinking" = yes; then
10229 # If using run time linking (on AIX 4.2 or later) use lib<name>.so
10230 # instead of lib<name>.a to let people know that these are not
10231 # typical AIX shared libraries.
10232 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10234 # We preserve .a as extension for shared libraries through AIX4.2
10235 # and later when we are not doing run time linking.
10236 library_names_spec='${libname}${release}.a $libname.a'
10237 soname_spec='${libname}${release}${shared_ext}$major'
10239 shlibpath_var=LIBPATH
10246 # Since July 2007 AmigaOS4 officially supports .so libraries.
10247 # When compiling the executable, add -use-dynld -Lsobjs: to the compileline.
10248 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10251 library_names_spec='$libname.ixlibrary $libname.a'
10252 # Create ${libname}_ixlibrary.a entries in /sys/libs.
10253 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'
10259 library_names_spec='${libname}${shared_ext}'
10260 dynamic_linker="$host_os ld.so"
10261 shlibpath_var=LIBRARY_PATH
10267 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10268 soname_spec='${libname}${release}${shared_ext}$major'
10269 finish_cmds='PATH="\$PATH:/sbin" ldconfig $libdir'
10270 shlibpath_var=LD_LIBRARY_PATH
10271 sys_lib_search_path_spec="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
10272 sys_lib_dlsearch_path_spec="/shlib /usr/lib /usr/local/lib"
10273 # the default ld.so.conf also contains /usr/contrib/lib and
10274 # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
10275 # libtool to hard-code these into programs
10278 cygwin* | mingw* | pw32* | cegcc*)
10279 version_type=windows
10284 case $GCC,$cc_basename in
10287 library_names_spec='$libname.dll.a'
10288 # DLL is installed to $(libdir)/../bin by postinstall_cmds
10289 postinstall_cmds='base_file=`basename \${file}`~
10290 dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i; echo \$dlname'\''`~
10291 dldir=$destdir/`dirname \$dlpath`~
10292 test -d \$dldir || mkdir -p \$dldir~
10293 $install_prog $dir/$dlname \$dldir/$dlname~
10294 chmod a+x \$dldir/$dlname~
10295 if test -n '\''$stripme'\'' && test -n '\''$striplib'\''; then
10296 eval '\''$striplib \$dldir/$dlname'\'' || exit \$?;
10298 postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
10299 dlpath=$dir/\$dldll~
10301 shlibpath_overrides_runpath=yes
10305 # Cygwin DLLs use 'cyg' prefix rather than 'lib'
10306 soname_spec='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
10308 sys_lib_search_path_spec="$sys_lib_search_path_spec /usr/lib/w32api"
10311 # MinGW DLLs use traditional 'lib' prefix
10312 soname_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
10315 # pw32 DLLs use 'pw' prefix rather than 'lib'
10316 library_names_spec='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
10319 dynamic_linker='Win32 ld.exe'
10324 libname_spec='$name'
10325 soname_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
10326 library_names_spec='${libname}.dll.lib'
10330 sys_lib_search_path_spec=
10333 for lt_path in $LIB
10336 # Let DOS variable expansion print the short 8.3 style file name.
10337 lt_path=`cd "$lt_path" 2>/dev/null && cmd //C "for %i in (".") do @echo %~si"`
10338 sys_lib_search_path_spec="$sys_lib_search_path_spec $lt_path"
10341 # Convert to MSYS style.
10342 sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | sed -e 's|\\\\|/|g' -e 's| \\([a-zA-Z]\\):| /\\1|g' -e 's|^ ||'`
10345 # Convert to unix form, then to dos form, then back to unix form
10346 # but this time dos style (no spaces!) so that the unix form looks
10347 # like /cygdrive/c/PROGRA~1:/cygdr...
10348 sys_lib_search_path_spec=`cygpath --path --unix "$LIB"`
10349 sys_lib_search_path_spec=`cygpath --path --dos "$sys_lib_search_path_spec" 2>/dev/null`
10350 sys_lib_search_path_spec=`cygpath --path --unix "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
10353 sys_lib_search_path_spec="$LIB"
10354 if $ECHO "$sys_lib_search_path_spec" | $GREP ';[c-zC-Z]:/' >/dev/null; then
10355 # It is most probably a Windows format PATH.
10356 sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
10358 sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
10360 # FIXME: find the short name or the path components, as spaces are
10361 # common. (e.g. "Program Files" -> "PROGRA~1")
10365 # DLL is installed to $(libdir)/../bin by postinstall_cmds
10366 postinstall_cmds='base_file=`basename \${file}`~
10367 dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i; echo \$dlname'\''`~
10368 dldir=$destdir/`dirname \$dlpath`~
10369 test -d \$dldir || mkdir -p \$dldir~
10370 $install_prog $dir/$dlname \$dldir/$dlname'
10371 postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
10372 dlpath=$dir/\$dldll~
10374 shlibpath_overrides_runpath=yes
10375 dynamic_linker='Win32 link.exe'
10379 # Assume MSVC wrapper
10380 library_names_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext} $libname.lib'
10381 dynamic_linker='Win32 ld.exe'
10384 # FIXME: first we should search . and the directory the executable is in
10388 darwin* | rhapsody*)
10389 dynamic_linker="$host_os dyld"
10390 version_type=darwin
10393 library_names_spec='${libname}${release}${major}$shared_ext ${libname}$shared_ext'
10394 soname_spec='${libname}${release}${major}$shared_ext'
10395 shlibpath_overrides_runpath=yes
10396 shlibpath_var=DYLD_LIBRARY_PATH
10397 shrext_cmds='`test .$module = .yes && echo .so || echo .dylib`'
10399 sys_lib_search_path_spec="$sys_lib_search_path_spec /usr/local/lib"
10400 sys_lib_dlsearch_path_spec='/usr/local/lib /lib /usr/lib'
10407 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname$shared_ext'
10408 soname_spec='${libname}${release}${shared_ext}$major'
10409 shlibpath_var=LD_LIBRARY_PATH
10416 freebsd* | dragonfly*)
10417 # DragonFly does not have aout. When/if they implement a new
10418 # versioning mechanism, adjust this.
10419 if test -x /usr/bin/objformat; then
10420 objformat=`/usr/bin/objformat`
10423 freebsd[123]*) objformat=aout ;;
10424 *) objformat=elf ;;
10427 version_type=freebsd-$objformat
10428 case $version_type in
10430 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
10435 library_names_spec='${libname}${release}${shared_ext}$versuffix $libname${shared_ext}$versuffix'
10439 shlibpath_var=LD_LIBRARY_PATH
10442 shlibpath_overrides_runpath=yes
10444 freebsd3.[01]* | freebsdelf3.[01]*)
10445 shlibpath_overrides_runpath=yes
10446 hardcode_into_libs=yes
10448 freebsd3.[2-9]* | freebsdelf3.[2-9]* | \
10449 freebsd4.[0-5] | freebsdelf4.[0-5] | freebsd4.1.1 | freebsdelf4.1.1)
10450 shlibpath_overrides_runpath=no
10451 hardcode_into_libs=yes
10453 *) # from 4.6 on, and DragonFly
10454 shlibpath_overrides_runpath=yes
10455 hardcode_into_libs=yes
10464 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
10465 soname_spec='${libname}${release}${shared_ext}$major'
10466 shlibpath_var=LD_LIBRARY_PATH
10467 hardcode_into_libs=yes
10474 dynamic_linker="$host_os runtime_loader"
10475 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
10476 soname_spec='${libname}${release}${shared_ext}$major'
10477 shlibpath_var=LIBRARY_PATH
10478 shlibpath_overrides_runpath=yes
10479 sys_lib_dlsearch_path_spec='/boot/home/config/lib /boot/common/lib /boot/system/lib'
10480 hardcode_into_libs=yes
10483 hpux9* | hpux10* | hpux11*)
10484 # Give a soname corresponding to the major version so that dld.sl refuses to
10485 # link against other versions.
10492 hardcode_into_libs=yes
10493 dynamic_linker="$host_os dld.so"
10494 shlibpath_var=LD_LIBRARY_PATH
10495 shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
10496 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10497 soname_spec='${libname}${release}${shared_ext}$major'
10498 if test "X$HPUX_IA64_MODE" = X32; then
10499 sys_lib_search_path_spec="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
10501 sys_lib_search_path_spec="/usr/lib/hpux64 /usr/local/lib/hpux64"
10503 sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
10507 hardcode_into_libs=yes
10508 dynamic_linker="$host_os dld.sl"
10509 shlibpath_var=LD_LIBRARY_PATH # How should we handle SHLIB_PATH
10510 shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
10511 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10512 soname_spec='${libname}${release}${shared_ext}$major'
10513 sys_lib_search_path_spec="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
10514 sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
10518 dynamic_linker="$host_os dld.sl"
10519 shlibpath_var=SHLIB_PATH
10520 shlibpath_overrides_runpath=no # +s is required to enable SHLIB_PATH
10521 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10522 soname_spec='${libname}${release}${shared_ext}$major'
10525 # HP-UX runs *really* slowly unless shared libraries are mode 555, ...
10526 postinstall_cmds='chmod 555 $lib'
10527 # or fails outright, so override atomically:
10528 install_override_mode=555
10535 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
10536 soname_spec='${libname}${release}${shared_ext}$major'
10537 dynamic_linker='Interix 3.x ld.so.1 (PE, like ELF)'
10538 shlibpath_var=LD_LIBRARY_PATH
10539 shlibpath_overrides_runpath=no
10540 hardcode_into_libs=yes
10543 irix5* | irix6* | nonstopux*)
10545 nonstopux*) version_type=nonstopux ;;
10547 if test "$lt_cv_prog_gnu_ld" = yes; then
10555 soname_spec='${libname}${release}${shared_ext}$major'
10556 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} $libname${shared_ext}'
10558 irix5* | nonstopux*)
10559 libsuff= shlibsuff=
10562 case $LD in # libtool.m4 will add one of these switches to LD
10563 *-32|*"-32 "|*-melf32bsmip|*"-melf32bsmip ")
10564 libsuff= shlibsuff= libmagic=32-bit;;
10565 *-n32|*"-n32 "|*-melf32bmipn32|*"-melf32bmipn32 ")
10566 libsuff=32 shlibsuff=N32 libmagic=N32;;
10567 *-64|*"-64 "|*-melf64bmip|*"-melf64bmip ")
10568 libsuff=64 shlibsuff=64 libmagic=64-bit;;
10569 *) libsuff= shlibsuff= libmagic=never-match;;
10573 shlibpath_var=LD_LIBRARY${shlibsuff}_PATH
10574 shlibpath_overrides_runpath=no
10575 sys_lib_search_path_spec="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}"
10576 sys_lib_dlsearch_path_spec="/usr/lib${libsuff} /lib${libsuff}"
10577 hardcode_into_libs=yes
10580 # No shared lib support for Linux oldld, aout, or coff.
10581 linux*oldld* | linux*aout* | linux*coff*)
10585 # This must be Linux ELF.
10586 linux* | k*bsd*-gnu | kopensolaris*-gnu)
10590 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10591 soname_spec='${libname}${release}${shared_ext}$major'
10592 finish_cmds='PATH="\$PATH:/sbin" ldconfig -n $libdir'
10593 shlibpath_var=LD_LIBRARY_PATH
10594 shlibpath_overrides_runpath=no
10596 # Some binutils ld are patched to set DT_RUNPATH
10597 if ${lt_cv_shlibpath_overrides_runpath+:} false; then :
10598 $as_echo_n "(cached) " >&6
10600 lt_cv_shlibpath_overrides_runpath=no
10601 save_LDFLAGS=$LDFLAGS
10602 save_libdir=$libdir
10603 eval "libdir=/foo; wl=\"$lt_prog_compiler_wl\"; \
10604 LDFLAGS=\"\$LDFLAGS $hardcode_libdir_flag_spec\""
10605 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10606 /* end confdefs.h. */
10616 if ac_fn_c_try_link "$LINENO"; then :
10617 if ($OBJDUMP -p conftest$ac_exeext) 2>/dev/null | grep "RUNPATH.*$libdir" >/dev/null; then :
10618 lt_cv_shlibpath_overrides_runpath=yes
10621 rm -f core conftest.err conftest.$ac_objext \
10622 conftest$ac_exeext conftest.$ac_ext
10623 LDFLAGS=$save_LDFLAGS
10624 libdir=$save_libdir
10628 shlibpath_overrides_runpath=$lt_cv_shlibpath_overrides_runpath
10630 # This implies no fast_install, which is unacceptable.
10631 # Some rework will be needed to allow for fast_install
10632 # before this can be enabled.
10633 hardcode_into_libs=yes
10635 # Add ABI-specific directories to the system library path.
10636 sys_lib_dlsearch_path_spec="/lib64 /usr/lib64 /lib /usr/lib"
10638 # Append ld.so.conf contents to the search path
10639 if test -f /etc/ld.so.conf; then
10640 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' ' '`
10641 sys_lib_dlsearch_path_spec="$sys_lib_dlsearch_path_spec $lt_ld_extra"
10645 # We used to test for /lib/ld.so.1 and disable shared libraries on
10646 # powerpc, because MkLinux only supported shared libraries with the
10647 # GNU dynamic linker. Since this was broken with cross compilers,
10648 # most powerpc-linux boxes support dynamic linking these days and
10649 # people can always --disable-shared, the test was removed, and we
10650 # assume the GNU/Linux dynamic linker is in use.
10651 dynamic_linker='GNU/Linux ld.so'
10658 if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
10659 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
10660 finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
10661 dynamic_linker='NetBSD (a.out) ld.so'
10663 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
10664 soname_spec='${libname}${release}${shared_ext}$major'
10665 dynamic_linker='NetBSD ld.elf_so'
10667 shlibpath_var=LD_LIBRARY_PATH
10668 shlibpath_overrides_runpath=yes
10669 hardcode_into_libs=yes
10674 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10675 shlibpath_var=LD_LIBRARY_PATH
10676 shlibpath_overrides_runpath=yes
10683 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10684 soname_spec='${libname}${release}${shared_ext}$major'
10685 shlibpath_var=LD_LIBRARY_PATH
10686 shlibpath_overrides_runpath=no
10687 hardcode_into_libs=yes
10688 dynamic_linker='ldqnx.so'
10693 sys_lib_dlsearch_path_spec="/usr/lib"
10695 # Some older versions of OpenBSD (3.3 at least) *do* need versioned libs.
10697 openbsd3.3 | openbsd3.3.*) need_version=yes ;;
10698 *) need_version=no ;;
10700 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
10701 finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
10702 shlibpath_var=LD_LIBRARY_PATH
10703 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
10705 openbsd2.[89] | openbsd2.[89].*)
10706 shlibpath_overrides_runpath=no
10709 shlibpath_overrides_runpath=yes
10713 shlibpath_overrides_runpath=yes
10718 libname_spec='$name'
10721 library_names_spec='$libname${shared_ext} $libname.a'
10722 dynamic_linker='OS/2 ld.exe'
10723 shlibpath_var=LIBPATH
10726 osf3* | osf4* | osf5*)
10730 soname_spec='${libname}${release}${shared_ext}$major'
10731 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10732 shlibpath_var=LD_LIBRARY_PATH
10733 sys_lib_search_path_spec="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
10734 sys_lib_dlsearch_path_spec="$sys_lib_search_path_spec"
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=yes
10749 hardcode_into_libs=yes
10750 # ldd complains unless libraries are executable
10751 postinstall_cmds='chmod +x $lib'
10756 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
10757 finish_cmds='PATH="\$PATH:/usr/etc" ldconfig $libdir'
10758 shlibpath_var=LD_LIBRARY_PATH
10759 shlibpath_overrides_runpath=yes
10760 if test "$with_gnu_ld" = yes; then
10768 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10769 soname_spec='${libname}${release}${shared_ext}$major'
10770 shlibpath_var=LD_LIBRARY_PATH
10771 case $host_vendor in
10773 shlibpath_overrides_runpath=no
10775 runpath_var=LD_RUN_PATH
10783 shlibpath_overrides_runpath=no
10784 sys_lib_search_path_spec='/lib /usr/lib /usr/ccs/lib'
10790 if test -d /usr/nec ;then
10792 library_names_spec='$libname${shared_ext}.$versuffix $libname${shared_ext}.$major $libname${shared_ext}'
10793 soname_spec='$libname${shared_ext}.$major'
10794 shlibpath_var=LD_LIBRARY_PATH
10798 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
10799 version_type=freebsd-elf
10802 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
10803 soname_spec='${libname}${release}${shared_ext}$major'
10804 shlibpath_var=LD_LIBRARY_PATH
10805 shlibpath_overrides_runpath=yes
10806 hardcode_into_libs=yes
10807 if test "$with_gnu_ld" = yes; then
10808 sys_lib_search_path_spec='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib'
10810 sys_lib_search_path_spec='/usr/ccs/lib /usr/lib'
10813 sys_lib_search_path_spec="$sys_lib_search_path_spec /lib"
10817 sys_lib_dlsearch_path_spec='/usr/lib'
10821 # TPF is a cross-target only. Preferred cross-host = GNU/Linux.
10825 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10826 shlibpath_var=LD_LIBRARY_PATH
10827 shlibpath_overrides_runpath=no
10828 hardcode_into_libs=yes
10833 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10834 soname_spec='${libname}${release}${shared_ext}$major'
10835 shlibpath_var=LD_LIBRARY_PATH
10842 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $dynamic_linker" >&5
10843 $as_echo "$dynamic_linker" >&6; }
10844 test "$dynamic_linker" = no && can_build_shared=no
10846 variables_saved_for_relink="PATH $shlibpath_var $runpath_var"
10847 if test "$GCC" = yes; then
10848 variables_saved_for_relink="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
10851 if test "${lt_cv_sys_lib_search_path_spec+set}" = set; then
10852 sys_lib_search_path_spec="$lt_cv_sys_lib_search_path_spec"
10854 if test "${lt_cv_sys_lib_dlsearch_path_spec+set}" = set; then
10855 sys_lib_dlsearch_path_spec="$lt_cv_sys_lib_dlsearch_path_spec"
10949 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to hardcode library paths into programs" >&5
10950 $as_echo_n "checking how to hardcode library paths into programs... " >&6; }
10952 if test -n "$hardcode_libdir_flag_spec" ||
10953 test -n "$runpath_var" ||
10954 test "X$hardcode_automatic" = "Xyes" ; then
10956 # We can hardcode non-existent directories.
10957 if test "$hardcode_direct" != no &&
10958 # If the only mechanism to avoid hardcoding is shlibpath_var, we
10959 # have to relink, otherwise we might link with an installed library
10960 # when we should be linking with a yet-to-be-installed one
10961 ## test "$_LT_TAGVAR(hardcode_shlibpath_var, )" != no &&
10962 test "$hardcode_minus_L" != no; then
10963 # Linking always hardcodes the temporary library directory.
10964 hardcode_action=relink
10966 # We can link without hardcoding, and we can hardcode nonexisting dirs.
10967 hardcode_action=immediate
10970 # We cannot hardcode anything, or else we can only hardcode existing
10972 hardcode_action=unsupported
10974 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hardcode_action" >&5
10975 $as_echo "$hardcode_action" >&6; }
10977 if test "$hardcode_action" = relink ||
10978 test "$inherit_rpath" = yes; then
10979 # Fast installation is not supported
10980 enable_fast_install=no
10981 elif test "$shlibpath_overrides_runpath" = yes ||
10982 test "$enable_shared" = no; then
10983 # Fast installation is not necessary
10984 enable_fast_install=needless
10992 if test "x$enable_dlopen" != xyes; then
10993 enable_dlopen=unknown
10994 enable_dlopen_self=unknown
10995 enable_dlopen_self_static=unknown
11002 lt_cv_dlopen="load_add_on"
11004 lt_cv_dlopen_self=yes
11007 mingw* | pw32* | cegcc*)
11008 lt_cv_dlopen="LoadLibrary"
11013 lt_cv_dlopen="dlopen"
11018 # if libdl is installed we need to link against it
11019 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
11020 $as_echo_n "checking for dlopen in -ldl... " >&6; }
11021 if ${ac_cv_lib_dl_dlopen+:} false; then :
11022 $as_echo_n "(cached) " >&6
11024 ac_check_lib_save_LIBS=$LIBS
11026 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11027 /* end confdefs.h. */
11029 /* Override any GCC internal prototype to avoid an error.
11030 Use char because int might match the return type of a GCC
11031 builtin and then its argument prototype would still apply. */
11044 if ac_fn_c_try_link "$LINENO"; then :
11045 ac_cv_lib_dl_dlopen=yes
11047 ac_cv_lib_dl_dlopen=no
11049 rm -f core conftest.err conftest.$ac_objext \
11050 conftest$ac_exeext conftest.$ac_ext
11051 LIBS=$ac_check_lib_save_LIBS
11053 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
11054 $as_echo "$ac_cv_lib_dl_dlopen" >&6; }
11055 if test "x$ac_cv_lib_dl_dlopen" = xyes; then :
11056 lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl"
11059 lt_cv_dlopen="dyld"
11061 lt_cv_dlopen_self=yes
11068 ac_fn_c_check_func "$LINENO" "shl_load" "ac_cv_func_shl_load"
11069 if test "x$ac_cv_func_shl_load" = xyes; then :
11070 lt_cv_dlopen="shl_load"
11072 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for shl_load in -ldld" >&5
11073 $as_echo_n "checking for shl_load in -ldld... " >&6; }
11074 if ${ac_cv_lib_dld_shl_load+:} false; then :
11075 $as_echo_n "(cached) " >&6
11077 ac_check_lib_save_LIBS=$LIBS
11079 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11080 /* end confdefs.h. */
11082 /* Override any GCC internal prototype to avoid an error.
11083 Use char because int might match the return type of a GCC
11084 builtin and then its argument prototype would still apply. */
11092 return shl_load ();
11097 if ac_fn_c_try_link "$LINENO"; then :
11098 ac_cv_lib_dld_shl_load=yes
11100 ac_cv_lib_dld_shl_load=no
11102 rm -f core conftest.err conftest.$ac_objext \
11103 conftest$ac_exeext conftest.$ac_ext
11104 LIBS=$ac_check_lib_save_LIBS
11106 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_shl_load" >&5
11107 $as_echo "$ac_cv_lib_dld_shl_load" >&6; }
11108 if test "x$ac_cv_lib_dld_shl_load" = xyes; then :
11109 lt_cv_dlopen="shl_load" lt_cv_dlopen_libs="-ldld"
11111 ac_fn_c_check_func "$LINENO" "dlopen" "ac_cv_func_dlopen"
11112 if test "x$ac_cv_func_dlopen" = xyes; then :
11113 lt_cv_dlopen="dlopen"
11115 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
11116 $as_echo_n "checking for dlopen in -ldl... " >&6; }
11117 if ${ac_cv_lib_dl_dlopen+:} false; then :
11118 $as_echo_n "(cached) " >&6
11120 ac_check_lib_save_LIBS=$LIBS
11122 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11123 /* end confdefs.h. */
11125 /* Override any GCC internal prototype to avoid an error.
11126 Use char because int might match the return type of a GCC
11127 builtin and then its argument prototype would still apply. */
11140 if ac_fn_c_try_link "$LINENO"; then :
11141 ac_cv_lib_dl_dlopen=yes
11143 ac_cv_lib_dl_dlopen=no
11145 rm -f core conftest.err conftest.$ac_objext \
11146 conftest$ac_exeext conftest.$ac_ext
11147 LIBS=$ac_check_lib_save_LIBS
11149 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
11150 $as_echo "$ac_cv_lib_dl_dlopen" >&6; }
11151 if test "x$ac_cv_lib_dl_dlopen" = xyes; then :
11152 lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl"
11154 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -lsvld" >&5
11155 $as_echo_n "checking for dlopen in -lsvld... " >&6; }
11156 if ${ac_cv_lib_svld_dlopen+:} false; then :
11157 $as_echo_n "(cached) " >&6
11159 ac_check_lib_save_LIBS=$LIBS
11160 LIBS="-lsvld $LIBS"
11161 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11162 /* end confdefs.h. */
11164 /* Override any GCC internal prototype to avoid an error.
11165 Use char because int might match the return type of a GCC
11166 builtin and then its argument prototype would still apply. */
11179 if ac_fn_c_try_link "$LINENO"; then :
11180 ac_cv_lib_svld_dlopen=yes
11182 ac_cv_lib_svld_dlopen=no
11184 rm -f core conftest.err conftest.$ac_objext \
11185 conftest$ac_exeext conftest.$ac_ext
11186 LIBS=$ac_check_lib_save_LIBS
11188 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_svld_dlopen" >&5
11189 $as_echo "$ac_cv_lib_svld_dlopen" >&6; }
11190 if test "x$ac_cv_lib_svld_dlopen" = xyes; then :
11191 lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-lsvld"
11193 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dld_link in -ldld" >&5
11194 $as_echo_n "checking for dld_link in -ldld... " >&6; }
11195 if ${ac_cv_lib_dld_dld_link+:} false; then :
11196 $as_echo_n "(cached) " >&6
11198 ac_check_lib_save_LIBS=$LIBS
11200 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11201 /* end confdefs.h. */
11203 /* Override any GCC internal prototype to avoid an error.
11204 Use char because int might match the return type of a GCC
11205 builtin and then its argument prototype would still apply. */
11213 return dld_link ();
11218 if ac_fn_c_try_link "$LINENO"; then :
11219 ac_cv_lib_dld_dld_link=yes
11221 ac_cv_lib_dld_dld_link=no
11223 rm -f core conftest.err conftest.$ac_objext \
11224 conftest$ac_exeext conftest.$ac_ext
11225 LIBS=$ac_check_lib_save_LIBS
11227 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_dld_link" >&5
11228 $as_echo "$ac_cv_lib_dld_dld_link" >&6; }
11229 if test "x$ac_cv_lib_dld_dld_link" = xyes; then :
11230 lt_cv_dlopen="dld_link" lt_cv_dlopen_libs="-ldld"
11251 if test "x$lt_cv_dlopen" != xno; then
11257 case $lt_cv_dlopen in
11259 save_CPPFLAGS="$CPPFLAGS"
11260 test "x$ac_cv_header_dlfcn_h" = xyes && CPPFLAGS="$CPPFLAGS -DHAVE_DLFCN_H"
11262 save_LDFLAGS="$LDFLAGS"
11263 wl=$lt_prog_compiler_wl eval LDFLAGS=\"\$LDFLAGS $export_dynamic_flag_spec\"
11266 LIBS="$lt_cv_dlopen_libs $LIBS"
11268 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether a program can dlopen itself" >&5
11269 $as_echo_n "checking whether a program can dlopen itself... " >&6; }
11270 if ${lt_cv_dlopen_self+:} false; then :
11271 $as_echo_n "(cached) " >&6
11273 if test "$cross_compiling" = yes; then :
11274 lt_cv_dlopen_self=cross
11276 lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
11277 lt_status=$lt_dlunknown
11278 cat > conftest.$ac_ext <<_LT_EOF
11279 #line $LINENO "configure"
11280 #include "confdefs.h"
11289 # define LT_DLGLOBAL RTLD_GLOBAL
11292 # define LT_DLGLOBAL DL_GLOBAL
11294 # define LT_DLGLOBAL 0
11298 /* We may have to define LT_DLLAZY_OR_NOW in the command line if we
11299 find out it does not work in some platform. */
11300 #ifndef LT_DLLAZY_OR_NOW
11302 # define LT_DLLAZY_OR_NOW RTLD_LAZY
11305 # define LT_DLLAZY_OR_NOW DL_LAZY
11308 # define LT_DLLAZY_OR_NOW RTLD_NOW
11311 # define LT_DLLAZY_OR_NOW DL_NOW
11313 # define LT_DLLAZY_OR_NOW 0
11320 /* When -fvisbility=hidden is used, assume the code has been annotated
11321 correspondingly for the symbols needed. */
11322 #if defined(__GNUC__) && (((__GNUC__ == 3) && (__GNUC_MINOR__ >= 3)) || (__GNUC__ > 3))
11323 int fnord () __attribute__((visibility("default")));
11326 int fnord () { return 42; }
11329 void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
11330 int status = $lt_dlunknown;
11334 if (dlsym (self,"fnord")) status = $lt_dlno_uscore;
11337 if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
11338 else puts (dlerror ());
11340 /* dlclose (self); */
11348 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
11349 (eval $ac_link) 2>&5
11351 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
11352 test $ac_status = 0; } && test -s conftest${ac_exeext} 2>/dev/null; then
11353 (./conftest; exit; ) >&5 2>/dev/null
11355 case x$lt_status in
11356 x$lt_dlno_uscore) lt_cv_dlopen_self=yes ;;
11357 x$lt_dlneed_uscore) lt_cv_dlopen_self=yes ;;
11358 x$lt_dlunknown|x*) lt_cv_dlopen_self=no ;;
11361 # compilation failed
11362 lt_cv_dlopen_self=no
11369 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_dlopen_self" >&5
11370 $as_echo "$lt_cv_dlopen_self" >&6; }
11372 if test "x$lt_cv_dlopen_self" = xyes; then
11373 wl=$lt_prog_compiler_wl eval LDFLAGS=\"\$LDFLAGS $lt_prog_compiler_static\"
11374 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether a statically linked program can dlopen itself" >&5
11375 $as_echo_n "checking whether a statically linked program can dlopen itself... " >&6; }
11376 if ${lt_cv_dlopen_self_static+:} false; then :
11377 $as_echo_n "(cached) " >&6
11379 if test "$cross_compiling" = yes; then :
11380 lt_cv_dlopen_self_static=cross
11382 lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
11383 lt_status=$lt_dlunknown
11384 cat > conftest.$ac_ext <<_LT_EOF
11385 #line $LINENO "configure"
11386 #include "confdefs.h"
11395 # define LT_DLGLOBAL RTLD_GLOBAL
11398 # define LT_DLGLOBAL DL_GLOBAL
11400 # define LT_DLGLOBAL 0
11404 /* We may have to define LT_DLLAZY_OR_NOW in the command line if we
11405 find out it does not work in some platform. */
11406 #ifndef LT_DLLAZY_OR_NOW
11408 # define LT_DLLAZY_OR_NOW RTLD_LAZY
11411 # define LT_DLLAZY_OR_NOW DL_LAZY
11414 # define LT_DLLAZY_OR_NOW RTLD_NOW
11417 # define LT_DLLAZY_OR_NOW DL_NOW
11419 # define LT_DLLAZY_OR_NOW 0
11426 /* When -fvisbility=hidden is used, assume the code has been annotated
11427 correspondingly for the symbols needed. */
11428 #if defined(__GNUC__) && (((__GNUC__ == 3) && (__GNUC_MINOR__ >= 3)) || (__GNUC__ > 3))
11429 int fnord () __attribute__((visibility("default")));
11432 int fnord () { return 42; }
11435 void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
11436 int status = $lt_dlunknown;
11440 if (dlsym (self,"fnord")) status = $lt_dlno_uscore;
11443 if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
11444 else puts (dlerror ());
11446 /* dlclose (self); */
11454 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
11455 (eval $ac_link) 2>&5
11457 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
11458 test $ac_status = 0; } && test -s conftest${ac_exeext} 2>/dev/null; then
11459 (./conftest; exit; ) >&5 2>/dev/null
11461 case x$lt_status in
11462 x$lt_dlno_uscore) lt_cv_dlopen_self_static=yes ;;
11463 x$lt_dlneed_uscore) lt_cv_dlopen_self_static=yes ;;
11464 x$lt_dlunknown|x*) lt_cv_dlopen_self_static=no ;;
11467 # compilation failed
11468 lt_cv_dlopen_self_static=no
11475 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_dlopen_self_static" >&5
11476 $as_echo "$lt_cv_dlopen_self_static" >&6; }
11479 CPPFLAGS="$save_CPPFLAGS"
11480 LDFLAGS="$save_LDFLAGS"
11485 case $lt_cv_dlopen_self in
11486 yes|no) enable_dlopen_self=$lt_cv_dlopen_self ;;
11487 *) enable_dlopen_self=unknown ;;
11490 case $lt_cv_dlopen_self_static in
11491 yes|no) enable_dlopen_self_static=$lt_cv_dlopen_self_static ;;
11492 *) enable_dlopen_self_static=unknown ;;
11514 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether stripping libraries is possible" >&5
11515 $as_echo_n "checking whether stripping libraries is possible... " >&6; }
11516 if test -n "$STRIP" && $STRIP -V 2>&1 | $GREP "GNU strip" >/dev/null; then
11517 test -z "$old_striplib" && old_striplib="$STRIP --strip-debug"
11518 test -z "$striplib" && striplib="$STRIP --strip-unneeded"
11519 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
11520 $as_echo "yes" >&6; }
11522 # FIXME - insert some real tests, host_os isn't really good enough
11525 if test -n "$STRIP" ; then
11526 striplib="$STRIP -x"
11527 old_striplib="$STRIP -S"
11528 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
11529 $as_echo "yes" >&6; }
11531 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11532 $as_echo "no" >&6; }
11536 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11537 $as_echo "no" >&6; }
11553 # Report which library types will actually be built
11554 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if libtool supports shared libraries" >&5
11555 $as_echo_n "checking if libtool supports shared libraries... " >&6; }
11556 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $can_build_shared" >&5
11557 $as_echo "$can_build_shared" >&6; }
11559 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build shared libraries" >&5
11560 $as_echo_n "checking whether to build shared libraries... " >&6; }
11561 test "$can_build_shared" = "no" && enable_shared=no
11563 # On AIX, shared libraries and static libraries use the same namespace, and
11564 # are all built from PIC.
11567 test "$enable_shared" = yes && enable_static=no
11568 if test -n "$RANLIB"; then
11569 archive_cmds="$archive_cmds~\$RANLIB \$lib"
11570 postinstall_cmds='$RANLIB $lib'
11575 if test "$host_cpu" != ia64 && test "$aix_use_runtimelinking" = no ; then
11576 test "$enable_shared" = yes && enable_static=no
11580 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_shared" >&5
11581 $as_echo "$enable_shared" >&6; }
11583 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build static libraries" >&5
11584 $as_echo_n "checking whether to build static libraries... " >&6; }
11585 # Make sure either enable_shared or enable_static is yes.
11586 test "$enable_shared" = yes || enable_static=yes
11587 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_static" >&5
11588 $as_echo "$enable_static" >&6; }
11595 ac_cpp='$CPP $CPPFLAGS'
11596 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
11597 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
11598 ac_compiler_gnu=$ac_cv_c_compiler_gnu
11614 ac_config_commands="$ac_config_commands libtool"
11619 # Only expand once:
11622 : ${CONFIG_LT=./config.lt}
11623 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $CONFIG_LT" >&5
11624 $as_echo "$as_me: creating $CONFIG_LT" >&6;}
11626 cat >"$CONFIG_LT" <<_ASEOF || as_write_fail=1
11628 # Generated by $as_me.
11629 # Run this file to recreate a libtool stub with the current configuration.
11630 SHELL=\${CONFIG_SHELL-$SHELL}
11633 cat >>"$CONFIG_LT" <<\_ASEOF || as_write_fail=1
11634 ## -------------------- ##
11635 ## M4sh Initialization. ##
11636 ## -------------------- ##
11638 # Be more Bourne compatible
11639 DUALCASE=1; export DUALCASE # for MKS sh
11640 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :
11643 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
11644 # is contrary to our usage. Disable this feature.
11645 alias -g '${1+"$@"}'='"$@"'
11646 setopt NO_GLOB_SUBST
11648 case `(set -o) 2>/dev/null` in #(
11660 # Printing a long string crashes Solaris 7 /usr/bin/printf.
11661 as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
11662 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
11663 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
11664 # Prefer a ksh shell builtin over an external printf program on Solaris,
11665 # but without wasting forks for bash or zsh.
11666 if test -z "$BASH_VERSION$ZSH_VERSION" \
11667 && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
11668 as_echo='print -r --'
11669 as_echo_n='print -rn --'
11670 elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
11671 as_echo='printf %s\n'
11672 as_echo_n='printf %s'
11674 if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
11675 as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
11676 as_echo_n='/usr/ucb/echo -n'
11678 as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
11679 as_echo_n_body='eval
11683 expr "X$arg" : "X\\(.*\\)$as_nl";
11684 arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
11686 expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
11688 export as_echo_n_body
11689 as_echo_n='sh -c $as_echo_n_body as_echo'
11691 export as_echo_body
11692 as_echo='sh -c $as_echo_body as_echo'
11695 # The user is always right.
11696 if test "${PATH_SEPARATOR+set}" != set; then
11698 (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
11699 (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
11706 # We need space, tab and new line, in precisely that order. Quoting is
11707 # there to prevent editors from complaining about space-tab.
11708 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
11709 # splitting by setting IFS to empty value.)
11712 # Find who we are. Look in the path if we contain no directory separator.
11715 *[\\/]* ) as_myself=$0 ;;
11716 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11717 for as_dir in $PATH
11720 test -z "$as_dir" && as_dir=.
11721 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
11727 # We did not find ourselves, most probably we were run as `sh COMMAND'
11728 # in which case we are not to be found in the path.
11729 if test "x$as_myself" = x; then
11732 if test ! -f "$as_myself"; then
11733 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
11737 # Unset variables that we do not need and which cause bugs (e.g. in
11738 # pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1"
11739 # suppresses any "Segmentation fault" message there. '((' could
11740 # trigger a bug in pdksh 5.2.14.
11741 for as_var in BASH_ENV ENV MAIL MAILPATH
11742 do eval test x\${$as_var+set} = xset \
11743 && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
11756 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
11759 # as_fn_error STATUS ERROR [LINENO LOG_FD]
11760 # ----------------------------------------
11761 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
11762 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
11763 # script with STATUS, using 1 if that was 0.
11766 as_status=$1; test $as_status -eq 0 && as_status=1
11768 as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
11769 $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
11771 $as_echo "$as_me: error: $2" >&2
11772 as_fn_exit $as_status
11776 # as_fn_set_status STATUS
11777 # -----------------------
11778 # Set $? to STATUS, without forking.
11779 as_fn_set_status ()
11782 } # as_fn_set_status
11784 # as_fn_exit STATUS
11785 # -----------------
11786 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
11790 as_fn_set_status $1
11796 # Portably unset VAR.
11799 { eval $1=; unset $1;}
11801 as_unset=as_fn_unset
11802 # as_fn_append VAR VALUE
11803 # ----------------------
11804 # Append the text in VALUE to the end of the definition contained in VAR. Take
11805 # advantage of any shell optimizations that allow amortized linear growth over
11806 # repeated appends, instead of the typical quadratic growth present in naive
11808 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
11809 eval 'as_fn_append ()
11820 # as_fn_arith ARG...
11821 # ------------------
11822 # Perform arithmetic evaluation on the ARGs, and store the result in the
11823 # global $as_val. Take advantage of shells that can avoid forks. The arguments
11824 # must be portable across $(()) and expr.
11825 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
11826 eval 'as_fn_arith ()
11833 as_val=`expr "$@" || test $? -eq 1`
11838 if expr a : '\(a\)' >/dev/null 2>&1 &&
11839 test "X`expr 00001 : '.*\(...\)'`" = X001; then
11845 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
11846 as_basename=basename
11851 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
11857 as_me=`$as_basename -- "$0" ||
11858 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
11859 X"$0" : 'X\(//\)$' \| \
11860 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
11862 sed '/^.*\/\([^/][^/]*\)\/*$/{
11876 # Avoid depending upon Character Ranges.
11877 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
11878 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
11879 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
11880 as_cr_digits='0123456789'
11881 as_cr_alnum=$as_cr_Letters$as_cr_digits
11883 ECHO_C= ECHO_N= ECHO_T=
11884 case `echo -n x` in #(((((
11886 case `echo 'xy\c'` in
11887 *c*) ECHO_T=' ';; # ECHO_T is single tab character.
11889 *) echo `echo ksh88 bug on AIX 6.1` > /dev/null
11896 rm -f conf$$ conf$$.exe conf$$.file
11897 if test -d conf$$.dir; then
11898 rm -f conf$$.dir/conf$$.file
11901 mkdir conf$$.dir 2>/dev/null
11903 if (echo >conf$$.file) 2>/dev/null; then
11904 if ln -s conf$$.file conf$$ 2>/dev/null; then
11906 # ... but there are two gotchas:
11907 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
11908 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
11909 # In both cases, we have to default to `cp -p'.
11910 ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
11912 elif ln conf$$.file conf$$ 2>/dev/null; then
11920 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
11921 rmdir conf$$.dir 2>/dev/null
11926 # Create "$as_dir" as a directory, including parents if necessary.
11931 -*) as_dir=./$as_dir;;
11933 test -d "$as_dir" || eval $as_mkdir_p || {
11937 *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
11938 *) as_qdir=$as_dir;;
11940 as_dirs="'$as_qdir' $as_dirs"
11941 as_dir=`$as_dirname -- "$as_dir" ||
11942 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
11943 X"$as_dir" : 'X\(//\)[^/]' \| \
11944 X"$as_dir" : 'X\(//\)$' \| \
11945 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
11946 $as_echo X"$as_dir" |
11947 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
11951 /^X\(\/\/\)[^/].*/{
11964 test -d "$as_dir" && break
11966 test -z "$as_dirs" || eval "mkdir $as_dirs"
11967 } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir"
11971 if mkdir -p . 2>/dev/null; then
11972 as_mkdir_p='mkdir -p "$as_dir"'
11974 test -d ./-p && rmdir ./-p
11978 if test -x / >/dev/null 2>&1; then
11979 as_test_x='test -x'
11981 if ls -dL / >/dev/null 2>&1; then
11988 if test -d "$1"; then
11994 case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in #((
11995 ???[sx]*):;;*)false;;esac;fi
11999 as_executable_p=$as_test_x
12001 # Sed expression to map a string onto a valid CPP name.
12002 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
12004 # Sed expression to map a string onto a valid variable name.
12005 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
12009 ## --------------------------------- ##
12010 ## Main body of "$CONFIG_LT" script. ##
12011 ## --------------------------------- ##
12013 test $as_write_fail = 0 && chmod +x "$CONFIG_LT"
12015 cat >>"$CONFIG_LT" <<\_LTEOF
12020 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
12021 ## Running $as_me. ##
12026 \`$as_me' creates a local libtool stub from the current configuration,
12027 for use in further configure time tests before the real libtool is
12030 Usage: $0 [OPTIONS]
12032 -h, --help print this help, then exit
12033 -V, --version print version number, then exit
12034 -q, --quiet do not print progress messages
12035 -d, --debug don't remove temporary files
12037 Report bugs to <bug-libtool@gnu.org>."
12040 pygobject config.lt 2.28.6
12041 configured by $0, generated by GNU Autoconf 2.68.
12043 Copyright (C) 2010 Free Software Foundation, Inc.
12044 This config.lt script is free software; the Free Software Foundation
12045 gives unlimited permision to copy, distribute and modify it."
12050 --version | --v* | -V )
12051 echo "$lt_cl_version"; exit 0 ;;
12052 --help | --h* | -h )
12053 echo "$lt_cl_help"; exit 0 ;;
12054 --debug | --d* | -d )
12056 --quiet | --q* | --silent | --s* | -q )
12059 -*) as_fn_error $? "unrecognized option: $1
12060 Try \`$0 --help' for more information." "$LINENO" 5 ;;
12062 *) as_fn_error $? "unrecognized argument: $1
12063 Try \`$0 --help' for more information." "$LINENO" 5 ;;
12068 if $lt_cl_silent; then
12073 cat >>"$CONFIG_LT" <<_LTEOF
12076 # The HP-UX ksh and POSIX shell print the target directory to stdout
12077 # if CDPATH is set.
12078 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
12080 sed_quote_subst='$sed_quote_subst'
12081 double_quote_subst='$double_quote_subst'
12082 delay_variable_subst='$delay_variable_subst'
12083 enable_static='`$ECHO "$enable_static" | $SED "$delay_single_quote_subst"`'
12084 AS='`$ECHO "$AS" | $SED "$delay_single_quote_subst"`'
12085 DLLTOOL='`$ECHO "$DLLTOOL" | $SED "$delay_single_quote_subst"`'
12086 OBJDUMP='`$ECHO "$OBJDUMP" | $SED "$delay_single_quote_subst"`'
12087 macro_version='`$ECHO "$macro_version" | $SED "$delay_single_quote_subst"`'
12088 macro_revision='`$ECHO "$macro_revision" | $SED "$delay_single_quote_subst"`'
12089 enable_shared='`$ECHO "$enable_shared" | $SED "$delay_single_quote_subst"`'
12090 pic_mode='`$ECHO "$pic_mode" | $SED "$delay_single_quote_subst"`'
12091 enable_fast_install='`$ECHO "$enable_fast_install" | $SED "$delay_single_quote_subst"`'
12092 SHELL='`$ECHO "$SHELL" | $SED "$delay_single_quote_subst"`'
12093 ECHO='`$ECHO "$ECHO" | $SED "$delay_single_quote_subst"`'
12094 host_alias='`$ECHO "$host_alias" | $SED "$delay_single_quote_subst"`'
12095 host='`$ECHO "$host" | $SED "$delay_single_quote_subst"`'
12096 host_os='`$ECHO "$host_os" | $SED "$delay_single_quote_subst"`'
12097 build_alias='`$ECHO "$build_alias" | $SED "$delay_single_quote_subst"`'
12098 build='`$ECHO "$build" | $SED "$delay_single_quote_subst"`'
12099 build_os='`$ECHO "$build_os" | $SED "$delay_single_quote_subst"`'
12100 SED='`$ECHO "$SED" | $SED "$delay_single_quote_subst"`'
12101 Xsed='`$ECHO "$Xsed" | $SED "$delay_single_quote_subst"`'
12102 GREP='`$ECHO "$GREP" | $SED "$delay_single_quote_subst"`'
12103 EGREP='`$ECHO "$EGREP" | $SED "$delay_single_quote_subst"`'
12104 FGREP='`$ECHO "$FGREP" | $SED "$delay_single_quote_subst"`'
12105 LD='`$ECHO "$LD" | $SED "$delay_single_quote_subst"`'
12106 NM='`$ECHO "$NM" | $SED "$delay_single_quote_subst"`'
12107 LN_S='`$ECHO "$LN_S" | $SED "$delay_single_quote_subst"`'
12108 max_cmd_len='`$ECHO "$max_cmd_len" | $SED "$delay_single_quote_subst"`'
12109 ac_objext='`$ECHO "$ac_objext" | $SED "$delay_single_quote_subst"`'
12110 exeext='`$ECHO "$exeext" | $SED "$delay_single_quote_subst"`'
12111 lt_unset='`$ECHO "$lt_unset" | $SED "$delay_single_quote_subst"`'
12112 lt_SP2NL='`$ECHO "$lt_SP2NL" | $SED "$delay_single_quote_subst"`'
12113 lt_NL2SP='`$ECHO "$lt_NL2SP" | $SED "$delay_single_quote_subst"`'
12114 lt_cv_to_host_file_cmd='`$ECHO "$lt_cv_to_host_file_cmd" | $SED "$delay_single_quote_subst"`'
12115 lt_cv_to_tool_file_cmd='`$ECHO "$lt_cv_to_tool_file_cmd" | $SED "$delay_single_quote_subst"`'
12116 reload_flag='`$ECHO "$reload_flag" | $SED "$delay_single_quote_subst"`'
12117 reload_cmds='`$ECHO "$reload_cmds" | $SED "$delay_single_quote_subst"`'
12118 deplibs_check_method='`$ECHO "$deplibs_check_method" | $SED "$delay_single_quote_subst"`'
12119 file_magic_cmd='`$ECHO "$file_magic_cmd" | $SED "$delay_single_quote_subst"`'
12120 file_magic_glob='`$ECHO "$file_magic_glob" | $SED "$delay_single_quote_subst"`'
12121 want_nocaseglob='`$ECHO "$want_nocaseglob" | $SED "$delay_single_quote_subst"`'
12122 sharedlib_from_linklib_cmd='`$ECHO "$sharedlib_from_linklib_cmd" | $SED "$delay_single_quote_subst"`'
12123 AR='`$ECHO "$AR" | $SED "$delay_single_quote_subst"`'
12124 AR_FLAGS='`$ECHO "$AR_FLAGS" | $SED "$delay_single_quote_subst"`'
12125 archiver_list_spec='`$ECHO "$archiver_list_spec" | $SED "$delay_single_quote_subst"`'
12126 STRIP='`$ECHO "$STRIP" | $SED "$delay_single_quote_subst"`'
12127 RANLIB='`$ECHO "$RANLIB" | $SED "$delay_single_quote_subst"`'
12128 old_postinstall_cmds='`$ECHO "$old_postinstall_cmds" | $SED "$delay_single_quote_subst"`'
12129 old_postuninstall_cmds='`$ECHO "$old_postuninstall_cmds" | $SED "$delay_single_quote_subst"`'
12130 old_archive_cmds='`$ECHO "$old_archive_cmds" | $SED "$delay_single_quote_subst"`'
12131 lock_old_archive_extraction='`$ECHO "$lock_old_archive_extraction" | $SED "$delay_single_quote_subst"`'
12132 CC='`$ECHO "$CC" | $SED "$delay_single_quote_subst"`'
12133 CFLAGS='`$ECHO "$CFLAGS" | $SED "$delay_single_quote_subst"`'
12134 compiler='`$ECHO "$compiler" | $SED "$delay_single_quote_subst"`'
12135 GCC='`$ECHO "$GCC" | $SED "$delay_single_quote_subst"`'
12136 lt_cv_sys_global_symbol_pipe='`$ECHO "$lt_cv_sys_global_symbol_pipe" | $SED "$delay_single_quote_subst"`'
12137 lt_cv_sys_global_symbol_to_cdecl='`$ECHO "$lt_cv_sys_global_symbol_to_cdecl" | $SED "$delay_single_quote_subst"`'
12138 lt_cv_sys_global_symbol_to_c_name_address='`$ECHO "$lt_cv_sys_global_symbol_to_c_name_address" | $SED "$delay_single_quote_subst"`'
12139 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"`'
12140 nm_file_list_spec='`$ECHO "$nm_file_list_spec" | $SED "$delay_single_quote_subst"`'
12141 lt_sysroot='`$ECHO "$lt_sysroot" | $SED "$delay_single_quote_subst"`'
12142 objdir='`$ECHO "$objdir" | $SED "$delay_single_quote_subst"`'
12143 MAGIC_CMD='`$ECHO "$MAGIC_CMD" | $SED "$delay_single_quote_subst"`'
12144 lt_prog_compiler_no_builtin_flag='`$ECHO "$lt_prog_compiler_no_builtin_flag" | $SED "$delay_single_quote_subst"`'
12145 lt_prog_compiler_pic='`$ECHO "$lt_prog_compiler_pic" | $SED "$delay_single_quote_subst"`'
12146 lt_prog_compiler_wl='`$ECHO "$lt_prog_compiler_wl" | $SED "$delay_single_quote_subst"`'
12147 lt_prog_compiler_static='`$ECHO "$lt_prog_compiler_static" | $SED "$delay_single_quote_subst"`'
12148 lt_cv_prog_compiler_c_o='`$ECHO "$lt_cv_prog_compiler_c_o" | $SED "$delay_single_quote_subst"`'
12149 need_locks='`$ECHO "$need_locks" | $SED "$delay_single_quote_subst"`'
12150 MANIFEST_TOOL='`$ECHO "$MANIFEST_TOOL" | $SED "$delay_single_quote_subst"`'
12151 DSYMUTIL='`$ECHO "$DSYMUTIL" | $SED "$delay_single_quote_subst"`'
12152 NMEDIT='`$ECHO "$NMEDIT" | $SED "$delay_single_quote_subst"`'
12153 LIPO='`$ECHO "$LIPO" | $SED "$delay_single_quote_subst"`'
12154 OTOOL='`$ECHO "$OTOOL" | $SED "$delay_single_quote_subst"`'
12155 OTOOL64='`$ECHO "$OTOOL64" | $SED "$delay_single_quote_subst"`'
12156 libext='`$ECHO "$libext" | $SED "$delay_single_quote_subst"`'
12157 shrext_cmds='`$ECHO "$shrext_cmds" | $SED "$delay_single_quote_subst"`'
12158 extract_expsyms_cmds='`$ECHO "$extract_expsyms_cmds" | $SED "$delay_single_quote_subst"`'
12159 archive_cmds_need_lc='`$ECHO "$archive_cmds_need_lc" | $SED "$delay_single_quote_subst"`'
12160 enable_shared_with_static_runtimes='`$ECHO "$enable_shared_with_static_runtimes" | $SED "$delay_single_quote_subst"`'
12161 export_dynamic_flag_spec='`$ECHO "$export_dynamic_flag_spec" | $SED "$delay_single_quote_subst"`'
12162 whole_archive_flag_spec='`$ECHO "$whole_archive_flag_spec" | $SED "$delay_single_quote_subst"`'
12163 compiler_needs_object='`$ECHO "$compiler_needs_object" | $SED "$delay_single_quote_subst"`'
12164 old_archive_from_new_cmds='`$ECHO "$old_archive_from_new_cmds" | $SED "$delay_single_quote_subst"`'
12165 old_archive_from_expsyms_cmds='`$ECHO "$old_archive_from_expsyms_cmds" | $SED "$delay_single_quote_subst"`'
12166 archive_cmds='`$ECHO "$archive_cmds" | $SED "$delay_single_quote_subst"`'
12167 archive_expsym_cmds='`$ECHO "$archive_expsym_cmds" | $SED "$delay_single_quote_subst"`'
12168 module_cmds='`$ECHO "$module_cmds" | $SED "$delay_single_quote_subst"`'
12169 module_expsym_cmds='`$ECHO "$module_expsym_cmds" | $SED "$delay_single_quote_subst"`'
12170 with_gnu_ld='`$ECHO "$with_gnu_ld" | $SED "$delay_single_quote_subst"`'
12171 allow_undefined_flag='`$ECHO "$allow_undefined_flag" | $SED "$delay_single_quote_subst"`'
12172 no_undefined_flag='`$ECHO "$no_undefined_flag" | $SED "$delay_single_quote_subst"`'
12173 hardcode_libdir_flag_spec='`$ECHO "$hardcode_libdir_flag_spec" | $SED "$delay_single_quote_subst"`'
12174 hardcode_libdir_flag_spec_ld='`$ECHO "$hardcode_libdir_flag_spec_ld" | $SED "$delay_single_quote_subst"`'
12175 hardcode_libdir_separator='`$ECHO "$hardcode_libdir_separator" | $SED "$delay_single_quote_subst"`'
12176 hardcode_direct='`$ECHO "$hardcode_direct" | $SED "$delay_single_quote_subst"`'
12177 hardcode_direct_absolute='`$ECHO "$hardcode_direct_absolute" | $SED "$delay_single_quote_subst"`'
12178 hardcode_minus_L='`$ECHO "$hardcode_minus_L" | $SED "$delay_single_quote_subst"`'
12179 hardcode_shlibpath_var='`$ECHO "$hardcode_shlibpath_var" | $SED "$delay_single_quote_subst"`'
12180 hardcode_automatic='`$ECHO "$hardcode_automatic" | $SED "$delay_single_quote_subst"`'
12181 inherit_rpath='`$ECHO "$inherit_rpath" | $SED "$delay_single_quote_subst"`'
12182 link_all_deplibs='`$ECHO "$link_all_deplibs" | $SED "$delay_single_quote_subst"`'
12183 always_export_symbols='`$ECHO "$always_export_symbols" | $SED "$delay_single_quote_subst"`'
12184 export_symbols_cmds='`$ECHO "$export_symbols_cmds" | $SED "$delay_single_quote_subst"`'
12185 exclude_expsyms='`$ECHO "$exclude_expsyms" | $SED "$delay_single_quote_subst"`'
12186 include_expsyms='`$ECHO "$include_expsyms" | $SED "$delay_single_quote_subst"`'
12187 prelink_cmds='`$ECHO "$prelink_cmds" | $SED "$delay_single_quote_subst"`'
12188 postlink_cmds='`$ECHO "$postlink_cmds" | $SED "$delay_single_quote_subst"`'
12189 file_list_spec='`$ECHO "$file_list_spec" | $SED "$delay_single_quote_subst"`'
12190 variables_saved_for_relink='`$ECHO "$variables_saved_for_relink" | $SED "$delay_single_quote_subst"`'
12191 need_lib_prefix='`$ECHO "$need_lib_prefix" | $SED "$delay_single_quote_subst"`'
12192 need_version='`$ECHO "$need_version" | $SED "$delay_single_quote_subst"`'
12193 version_type='`$ECHO "$version_type" | $SED "$delay_single_quote_subst"`'
12194 runpath_var='`$ECHO "$runpath_var" | $SED "$delay_single_quote_subst"`'
12195 shlibpath_var='`$ECHO "$shlibpath_var" | $SED "$delay_single_quote_subst"`'
12196 shlibpath_overrides_runpath='`$ECHO "$shlibpath_overrides_runpath" | $SED "$delay_single_quote_subst"`'
12197 libname_spec='`$ECHO "$libname_spec" | $SED "$delay_single_quote_subst"`'
12198 library_names_spec='`$ECHO "$library_names_spec" | $SED "$delay_single_quote_subst"`'
12199 soname_spec='`$ECHO "$soname_spec" | $SED "$delay_single_quote_subst"`'
12200 install_override_mode='`$ECHO "$install_override_mode" | $SED "$delay_single_quote_subst"`'
12201 postinstall_cmds='`$ECHO "$postinstall_cmds" | $SED "$delay_single_quote_subst"`'
12202 postuninstall_cmds='`$ECHO "$postuninstall_cmds" | $SED "$delay_single_quote_subst"`'
12203 finish_cmds='`$ECHO "$finish_cmds" | $SED "$delay_single_quote_subst"`'
12204 finish_eval='`$ECHO "$finish_eval" | $SED "$delay_single_quote_subst"`'
12205 hardcode_into_libs='`$ECHO "$hardcode_into_libs" | $SED "$delay_single_quote_subst"`'
12206 sys_lib_search_path_spec='`$ECHO "$sys_lib_search_path_spec" | $SED "$delay_single_quote_subst"`'
12207 sys_lib_dlsearch_path_spec='`$ECHO "$sys_lib_dlsearch_path_spec" | $SED "$delay_single_quote_subst"`'
12208 hardcode_action='`$ECHO "$hardcode_action" | $SED "$delay_single_quote_subst"`'
12209 enable_dlopen='`$ECHO "$enable_dlopen" | $SED "$delay_single_quote_subst"`'
12210 enable_dlopen_self='`$ECHO "$enable_dlopen_self" | $SED "$delay_single_quote_subst"`'
12211 enable_dlopen_self_static='`$ECHO "$enable_dlopen_self_static" | $SED "$delay_single_quote_subst"`'
12212 old_striplib='`$ECHO "$old_striplib" | $SED "$delay_single_quote_subst"`'
12213 striplib='`$ECHO "$striplib" | $SED "$delay_single_quote_subst"`'
12216 LTCFLAGS='$LTCFLAGS'
12217 compiler='$compiler_DEFAULT'
12219 # A function that is used when there is no print builtin or printf.
12220 func_fallback_echo ()
12222 eval 'cat <<_LTECHO_EOF
12227 # Quote evaled strings.
12243 deplibs_check_method \
12247 sharedlib_from_linklib_cmd \
12250 archiver_list_spec \
12256 lt_cv_sys_global_symbol_pipe \
12257 lt_cv_sys_global_symbol_to_cdecl \
12258 lt_cv_sys_global_symbol_to_c_name_address \
12259 lt_cv_sys_global_symbol_to_c_name_address_lib_prefix \
12260 nm_file_list_spec \
12261 lt_prog_compiler_no_builtin_flag \
12262 lt_prog_compiler_pic \
12263 lt_prog_compiler_wl \
12264 lt_prog_compiler_static \
12265 lt_cv_prog_compiler_c_o \
12274 export_dynamic_flag_spec \
12275 whole_archive_flag_spec \
12276 compiler_needs_object \
12278 allow_undefined_flag \
12279 no_undefined_flag \
12280 hardcode_libdir_flag_spec \
12281 hardcode_libdir_flag_spec_ld \
12282 hardcode_libdir_separator \
12286 variables_saved_for_relink \
12288 library_names_spec \
12290 install_override_mode \
12294 case \`eval \\\\\$ECHO \\\\""\\\\\$\$var"\\\\"\` in
12295 *[\\\\\\\`\\"\\\$]*)
12296 eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"\\\$\$var\\" | \\\$SED \\"\\\$sed_quote_subst\\"\\\`\\\\\\""
12299 eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
12304 # Double-quote double-evaled strings.
12305 for var in reload_cmds \
12306 old_postinstall_cmds \
12307 old_postuninstall_cmds \
12309 extract_expsyms_cmds \
12310 old_archive_from_new_cmds \
12311 old_archive_from_expsyms_cmds \
12313 archive_expsym_cmds \
12315 module_expsym_cmds \
12316 export_symbols_cmds \
12320 postuninstall_cmds \
12322 sys_lib_search_path_spec \
12323 sys_lib_dlsearch_path_spec; do
12324 case \`eval \\\\\$ECHO \\\\""\\\\\$\$var"\\\\"\` in
12325 *[\\\\\\\`\\"\\\$]*)
12326 eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"\\\$\$var\\" | \\\$SED -e \\"\\\$double_quote_subst\\" -e \\"\\\$sed_quote_subst\\" -e \\"\\\$delay_variable_subst\\"\\\`\\\\\\""
12329 eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
12334 ac_aux_dir='$ac_aux_dir'
12335 xsi_shell='$xsi_shell'
12336 lt_shell_append='$lt_shell_append'
12338 # See if we are running on zsh, and set the options which allow our
12339 # commands through without removal of \ escapes INIT.
12340 if test -n "\${ZSH_VERSION+set}" ; then
12341 setopt NO_GLOB_SUBST
12347 TIMESTAMP='$TIMESTAMP'
12355 cat >>"$CONFIG_LT" <<\_LTEOF
12356 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $ofile" >&5
12357 $as_echo "$as_me: creating $ofile" >&6;}
12360 # See if we are running on zsh, and set the options which allow our
12361 # commands through without removal of \ escapes.
12362 if test -n "${ZSH_VERSION+set}" ; then
12363 setopt NO_GLOB_SUBST
12366 cfgfile="${ofile}T"
12367 trap "$RM \"$cfgfile\"; exit 1" 1 2 15
12370 cat <<_LT_EOF >> "$cfgfile"
12373 # `$ECHO "$ofile" | sed 's%^.*/%%'` - Provide generalized library-building support services.
12374 # Generated automatically by $as_me ($PACKAGE$TIMESTAMP) $VERSION
12375 # Libtool was configured on host `(hostname || uname -n) 2>/dev/null | sed 1q`:
12376 # NOTE: Changes made to this file will be lost: look at ltmain.sh.
12378 # Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2003, 2004, 2005,
12379 # 2006, 2007, 2008, 2009, 2010 Free Software Foundation,
12381 # Written by Gordon Matzigkeit, 1996
12383 # This file is part of GNU Libtool.
12385 # GNU Libtool is free software; you can redistribute it and/or
12386 # modify it under the terms of the GNU General Public License as
12387 # published by the Free Software Foundation; either version 2 of
12388 # the License, or (at your option) any later version.
12390 # As a special exception to the GNU General Public License,
12391 # if you distribute this file as part of a program or library that
12392 # is built using GNU Libtool, you may include this file under the
12393 # same distribution terms that you use for the rest of that program.
12395 # GNU Libtool is distributed in the hope that it will be useful,
12396 # but WITHOUT ANY WARRANTY; without even the implied warranty of
12397 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
12398 # GNU General Public License for more details.
12400 # You should have received a copy of the GNU General Public License
12401 # along with GNU Libtool; see the file COPYING. If not, a copy
12402 # can be downloaded from http://www.gnu.org/licenses/gpl.html, or
12403 # obtained by writing to the Free Software Foundation, Inc.,
12404 # 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
12407 # The names of the tagged configurations supported by this script.
12410 # ### BEGIN LIBTOOL CONFIG
12412 # Whether or not to build static libraries.
12413 build_old_libs=$enable_static
12415 # Assembler program.
12418 # DLL creation program.
12419 DLLTOOL=$lt_DLLTOOL
12421 # Object dumper program.
12422 OBJDUMP=$lt_OBJDUMP
12424 # Which release of libtool.m4 was used?
12425 macro_version=$macro_version
12426 macro_revision=$macro_revision
12428 # Whether or not to build shared libraries.
12429 build_libtool_libs=$enable_shared
12431 # What type of objects to build.
12434 # Whether or not to optimize for fast installation.
12435 fast_install=$enable_fast_install
12437 # Shell to use when invoking shell scripts.
12440 # An echo program that protects backslashes.
12444 host_alias=$host_alias
12448 # The build system.
12449 build_alias=$build_alias
12453 # A sed program that does not truncate output.
12456 # Sed that helps us avoid accidentally triggering echo(1) options like -n.
12457 Xsed="\$SED -e 1s/^X//"
12459 # A grep program that handles long lines.
12465 # A literal string matcher.
12468 # A BSD- or MS-compatible name lister.
12471 # Whether we need soft or hard links.
12474 # What is the maximum length of a command?
12475 max_cmd_len=$max_cmd_len
12477 # Object file suffix (normally "o").
12480 # Executable file suffix (normally "").
12483 # whether the shell understands "unset".
12486 # turn spaces into newlines.
12489 # turn newlines into spaces.
12492 # convert \$build file names to \$host format.
12493 to_host_file_cmd=$lt_cv_to_host_file_cmd
12495 # convert \$build files to toolchain format.
12496 to_tool_file_cmd=$lt_cv_to_tool_file_cmd
12498 # Method to check whether dependent libraries are shared objects.
12499 deplibs_check_method=$lt_deplibs_check_method
12501 # Command to use when deplibs_check_method = "file_magic".
12502 file_magic_cmd=$lt_file_magic_cmd
12504 # How to find potential files when deplibs_check_method = "file_magic".
12505 file_magic_glob=$lt_file_magic_glob
12507 # Find potential files using nocaseglob when deplibs_check_method = "file_magic".
12508 want_nocaseglob=$lt_want_nocaseglob
12510 # Command to associate shared and link libraries.
12511 sharedlib_from_linklib_cmd=$lt_sharedlib_from_linklib_cmd
12516 # Flags to create an archive.
12517 AR_FLAGS=$lt_AR_FLAGS
12519 # How to feed a file listing to the archiver.
12520 archiver_list_spec=$lt_archiver_list_spec
12522 # A symbol stripping program.
12525 # Commands used to install an old-style archive.
12527 old_postinstall_cmds=$lt_old_postinstall_cmds
12528 old_postuninstall_cmds=$lt_old_postuninstall_cmds
12530 # Whether to use a lock for old archive extraction.
12531 lock_old_archive_extraction=$lock_old_archive_extraction
12536 # LTCC compiler flags.
12537 LTCFLAGS=$lt_CFLAGS
12539 # Take the output of nm and produce a listing of raw symbols and C names.
12540 global_symbol_pipe=$lt_lt_cv_sys_global_symbol_pipe
12542 # Transform the output of nm in a proper C declaration.
12543 global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl
12545 # Transform the output of nm in a C name address pair.
12546 global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address
12548 # Transform the output of nm in a C name address pair when lib prefix is needed.
12549 global_symbol_to_c_name_address_lib_prefix=$lt_lt_cv_sys_global_symbol_to_c_name_address_lib_prefix
12551 # Specify filename containing input files for \$NM.
12552 nm_file_list_spec=$lt_nm_file_list_spec
12554 # The root where to search for dependent libraries,and in which our libraries should be installed.
12555 lt_sysroot=$lt_sysroot
12557 # The name of the directory that contains temporary libtool files.
12560 # Used to examine libraries when file_magic_cmd begins with "file".
12561 MAGIC_CMD=$MAGIC_CMD
12563 # Must we lock files when doing compilation?
12564 need_locks=$lt_need_locks
12567 MANIFEST_TOOL=$lt_MANIFEST_TOOL
12569 # Tool to manipulate archived DWARF debug symbol files on Mac OS X.
12570 DSYMUTIL=$lt_DSYMUTIL
12572 # Tool to change global to local symbols on Mac OS X.
12575 # Tool to manipulate fat objects and archives on Mac OS X.
12578 # ldd/readelf like tool for Mach-O binaries on Mac OS X.
12581 # ldd/readelf like tool for 64 bit Mach-O binaries on Mac OS X 10.4.
12582 OTOOL64=$lt_OTOOL64
12584 # Old archive suffix (normally "a").
12587 # Shared library suffix (normally ".so").
12588 shrext_cmds=$lt_shrext_cmds
12590 # The commands to extract the exported symbol list from a shared archive.
12591 extract_expsyms_cmds=$lt_extract_expsyms_cmds
12593 # Variables whose values should be saved in libtool wrapper scripts and
12594 # restored at link time.
12595 variables_saved_for_relink=$lt_variables_saved_for_relink
12597 # Do we need the "lib" prefix for modules?
12598 need_lib_prefix=$need_lib_prefix
12600 # Do we need a version for libraries?
12601 need_version=$need_version
12603 # Library versioning type.
12604 version_type=$version_type
12606 # Shared library runtime path variable.
12607 runpath_var=$runpath_var
12609 # Shared library path variable.
12610 shlibpath_var=$shlibpath_var
12612 # Is shlibpath searched before the hard-coded library search path?
12613 shlibpath_overrides_runpath=$shlibpath_overrides_runpath
12615 # Format of library name prefix.
12616 libname_spec=$lt_libname_spec
12618 # List of archive names. First name is the real one, the rest are links.
12619 # The last name is the one that the linker finds with -lNAME
12620 library_names_spec=$lt_library_names_spec
12622 # The coded name of the library, if different from the real name.
12623 soname_spec=$lt_soname_spec
12625 # Permission mode override for installation of shared libraries.
12626 install_override_mode=$lt_install_override_mode
12628 # Command to use after installation of a shared archive.
12629 postinstall_cmds=$lt_postinstall_cmds
12631 # Command to use after uninstallation of a shared archive.
12632 postuninstall_cmds=$lt_postuninstall_cmds
12634 # Commands used to finish a libtool library installation in a directory.
12635 finish_cmds=$lt_finish_cmds
12637 # As "finish_cmds", except a single script fragment to be evaled but
12639 finish_eval=$lt_finish_eval
12641 # Whether we should hardcode library paths into libraries.
12642 hardcode_into_libs=$hardcode_into_libs
12644 # Compile-time system search path for libraries.
12645 sys_lib_search_path_spec=$lt_sys_lib_search_path_spec
12647 # Run-time system search path for libraries.
12648 sys_lib_dlsearch_path_spec=$lt_sys_lib_dlsearch_path_spec
12650 # Whether dlopen is supported.
12651 dlopen_support=$enable_dlopen
12653 # Whether dlopen of programs is supported.
12654 dlopen_self=$enable_dlopen_self
12656 # Whether dlopen of statically linked programs is supported.
12657 dlopen_self_static=$enable_dlopen_self_static
12659 # Commands to strip libraries.
12660 old_striplib=$lt_old_striplib
12661 striplib=$lt_striplib
12664 # The linker used to build libraries.
12667 # How to create reloadable object files.
12668 reload_flag=$lt_reload_flag
12669 reload_cmds=$lt_reload_cmds
12671 # Commands used to build an old-style archive.
12672 old_archive_cmds=$lt_old_archive_cmds
12674 # A language specific compiler.
12677 # Is the compiler the GNU compiler?
12680 # Compiler flag to turn off builtin functions.
12681 no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag
12683 # Additional compiler flags for building library objects.
12684 pic_flag=$lt_lt_prog_compiler_pic
12686 # How to pass a linker flag through the compiler.
12687 wl=$lt_lt_prog_compiler_wl
12689 # Compiler flag to prevent dynamic linking.
12690 link_static_flag=$lt_lt_prog_compiler_static
12692 # Does compiler simultaneously support -c and -o options?
12693 compiler_c_o=$lt_lt_cv_prog_compiler_c_o
12695 # Whether or not to add -lc for building shared libraries.
12696 build_libtool_need_lc=$archive_cmds_need_lc
12698 # Whether or not to disallow shared libs when runtime libs are static.
12699 allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes
12701 # Compiler flag to allow reflexive dlopens.
12702 export_dynamic_flag_spec=$lt_export_dynamic_flag_spec
12704 # Compiler flag to generate shared objects directly from archives.
12705 whole_archive_flag_spec=$lt_whole_archive_flag_spec
12707 # Whether the compiler copes with passing no objects directly.
12708 compiler_needs_object=$lt_compiler_needs_object
12710 # Create an old-style archive from a shared archive.
12711 old_archive_from_new_cmds=$lt_old_archive_from_new_cmds
12713 # Create a temporary old-style archive to link instead of a shared archive.
12714 old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds
12716 # Commands used to build a shared archive.
12717 archive_cmds=$lt_archive_cmds
12718 archive_expsym_cmds=$lt_archive_expsym_cmds
12720 # Commands used to build a loadable module if different from building
12721 # a shared archive.
12722 module_cmds=$lt_module_cmds
12723 module_expsym_cmds=$lt_module_expsym_cmds
12725 # Whether we are building with GNU ld or not.
12726 with_gnu_ld=$lt_with_gnu_ld
12728 # Flag that allows shared libraries with undefined symbols to be built.
12729 allow_undefined_flag=$lt_allow_undefined_flag
12731 # Flag that enforces no undefined symbols.
12732 no_undefined_flag=$lt_no_undefined_flag
12734 # Flag to hardcode \$libdir into a binary during linking.
12735 # This must work even if \$libdir does not exist
12736 hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec
12738 # If ld is used when linking, flag to hardcode \$libdir into a binary
12739 # during linking. This must work even if \$libdir does not exist.
12740 hardcode_libdir_flag_spec_ld=$lt_hardcode_libdir_flag_spec_ld
12742 # Whether we need a single "-rpath" flag with a separated argument.
12743 hardcode_libdir_separator=$lt_hardcode_libdir_separator
12745 # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
12746 # DIR into the resulting binary.
12747 hardcode_direct=$hardcode_direct
12749 # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
12750 # DIR into the resulting binary and the resulting library dependency is
12751 # "absolute",i.e impossible to change by setting \${shlibpath_var} if the
12752 # library is relocated.
12753 hardcode_direct_absolute=$hardcode_direct_absolute
12755 # Set to "yes" if using the -LDIR flag during linking hardcodes DIR
12756 # into the resulting binary.
12757 hardcode_minus_L=$hardcode_minus_L
12759 # Set to "yes" if using SHLIBPATH_VAR=DIR during linking hardcodes DIR
12760 # into the resulting binary.
12761 hardcode_shlibpath_var=$hardcode_shlibpath_var
12763 # Set to "yes" if building a shared library automatically hardcodes DIR
12764 # into the library and all subsequent libraries and executables linked
12766 hardcode_automatic=$hardcode_automatic
12768 # Set to yes if linker adds runtime paths of dependent libraries
12769 # to runtime path list.
12770 inherit_rpath=$inherit_rpath
12772 # Whether libtool must link a program against all its dependency libraries.
12773 link_all_deplibs=$link_all_deplibs
12775 # Set to "yes" if exported symbols are required.
12776 always_export_symbols=$always_export_symbols
12778 # The commands to list exported symbols.
12779 export_symbols_cmds=$lt_export_symbols_cmds
12781 # Symbols that should not be listed in the preloaded symbols.
12782 exclude_expsyms=$lt_exclude_expsyms
12784 # Symbols that must always be exported.
12785 include_expsyms=$lt_include_expsyms
12787 # Commands necessary for linking programs (against libraries) with templates.
12788 prelink_cmds=$lt_prelink_cmds
12790 # Commands necessary for finishing linking programs.
12791 postlink_cmds=$lt_postlink_cmds
12793 # Specify filename containing input files.
12794 file_list_spec=$lt_file_list_spec
12796 # How to hardcode a shared library path into an executable.
12797 hardcode_action=$hardcode_action
12799 # ### END LIBTOOL CONFIG
12805 cat <<\_LT_EOF >> "$cfgfile"
12806 # AIX sometimes has problems with the GCC collect2 program. For some
12807 # reason, if we set the COLLECT_NAMES environment variable, the problems
12808 # vanish in a puff of smoke.
12809 if test "X${COLLECT_NAMES+set}" != Xset; then
12811 export COLLECT_NAMES
12818 ltmain="$ac_aux_dir/ltmain.sh"
12821 # We use sed instead of cat because bash on DJGPP gets confused if
12822 # if finds mixed CR/LF and LF-only lines. Since sed operates in
12823 # text mode, it properly converts lines to CR/LF. This bash problem
12824 # is reportedly fixed, but why not run on old versions too?
12825 sed '$q' "$ltmain" >> "$cfgfile" \
12826 || (rm -f "$cfgfile"; exit 1)
12828 if test x"$xsi_shell" = xyes; then
12829 sed -e '/^func_dirname ()$/,/^} # func_dirname /c\
12833 \ */*) func_dirname_result="${1%/*}${2}" ;;\
12834 \ * ) func_dirname_result="${3}" ;;\
12836 } # Extended-shell func_dirname implementation' "$cfgfile" > $cfgfile.tmp \
12837 && mv -f "$cfgfile.tmp" "$cfgfile" \
12838 || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
12839 test 0 -eq $? || _lt_function_replace_fail=:
12842 sed -e '/^func_basename ()$/,/^} # func_basename /c\
12845 \ func_basename_result="${1##*/}"\
12846 } # Extended-shell func_basename implementation' "$cfgfile" > $cfgfile.tmp \
12847 && mv -f "$cfgfile.tmp" "$cfgfile" \
12848 || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
12849 test 0 -eq $? || _lt_function_replace_fail=:
12852 sed -e '/^func_dirname_and_basename ()$/,/^} # func_dirname_and_basename /c\
12853 func_dirname_and_basename ()\
12856 \ */*) func_dirname_result="${1%/*}${2}" ;;\
12857 \ * ) func_dirname_result="${3}" ;;\
12859 \ func_basename_result="${1##*/}"\
12860 } # Extended-shell func_dirname_and_basename implementation' "$cfgfile" > $cfgfile.tmp \
12861 && mv -f "$cfgfile.tmp" "$cfgfile" \
12862 || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
12863 test 0 -eq $? || _lt_function_replace_fail=:
12866 sed -e '/^func_stripname ()$/,/^} # func_stripname /c\
12869 \ # pdksh 5.2.14 does not do ${X%$Y} correctly if both X and Y are\
12870 \ # positional parameters, so assign one to ordinary parameter first.\
12871 \ func_stripname_result=${3}\
12872 \ func_stripname_result=${func_stripname_result#"${1}"}\
12873 \ func_stripname_result=${func_stripname_result%"${2}"}\
12874 } # Extended-shell func_stripname implementation' "$cfgfile" > $cfgfile.tmp \
12875 && mv -f "$cfgfile.tmp" "$cfgfile" \
12876 || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
12877 test 0 -eq $? || _lt_function_replace_fail=:
12880 sed -e '/^func_split_long_opt ()$/,/^} # func_split_long_opt /c\
12881 func_split_long_opt ()\
12883 \ func_split_long_opt_name=${1%%=*}\
12884 \ func_split_long_opt_arg=${1#*=}\
12885 } # Extended-shell func_split_long_opt implementation' "$cfgfile" > $cfgfile.tmp \
12886 && mv -f "$cfgfile.tmp" "$cfgfile" \
12887 || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
12888 test 0 -eq $? || _lt_function_replace_fail=:
12891 sed -e '/^func_split_short_opt ()$/,/^} # func_split_short_opt /c\
12892 func_split_short_opt ()\
12894 \ func_split_short_opt_arg=${1#??}\
12895 \ func_split_short_opt_name=${1%"$func_split_short_opt_arg"}\
12896 } # Extended-shell func_split_short_opt implementation' "$cfgfile" > $cfgfile.tmp \
12897 && mv -f "$cfgfile.tmp" "$cfgfile" \
12898 || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
12899 test 0 -eq $? || _lt_function_replace_fail=:
12902 sed -e '/^func_lo2o ()$/,/^} # func_lo2o /c\
12906 \ *.lo) func_lo2o_result=${1%.lo}.${objext} ;;\
12907 \ *) func_lo2o_result=${1} ;;\
12909 } # Extended-shell func_lo2o implementation' "$cfgfile" > $cfgfile.tmp \
12910 && mv -f "$cfgfile.tmp" "$cfgfile" \
12911 || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
12912 test 0 -eq $? || _lt_function_replace_fail=:
12915 sed -e '/^func_xform ()$/,/^} # func_xform /c\
12918 func_xform_result=${1%.*}.lo\
12919 } # Extended-shell func_xform implementation' "$cfgfile" > $cfgfile.tmp \
12920 && mv -f "$cfgfile.tmp" "$cfgfile" \
12921 || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
12922 test 0 -eq $? || _lt_function_replace_fail=:
12925 sed -e '/^func_arith ()$/,/^} # func_arith /c\
12928 func_arith_result=$(( $* ))\
12929 } # Extended-shell func_arith implementation' "$cfgfile" > $cfgfile.tmp \
12930 && mv -f "$cfgfile.tmp" "$cfgfile" \
12931 || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
12932 test 0 -eq $? || _lt_function_replace_fail=:
12935 sed -e '/^func_len ()$/,/^} # func_len /c\
12938 func_len_result=${#1}\
12939 } # Extended-shell func_len implementation' "$cfgfile" > $cfgfile.tmp \
12940 && mv -f "$cfgfile.tmp" "$cfgfile" \
12941 || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
12942 test 0 -eq $? || _lt_function_replace_fail=:
12946 if test x"$lt_shell_append" = xyes; then
12947 sed -e '/^func_append ()$/,/^} # func_append /c\
12950 eval "${1}+=\\${2}"\
12951 } # Extended-shell func_append implementation' "$cfgfile" > $cfgfile.tmp \
12952 && mv -f "$cfgfile.tmp" "$cfgfile" \
12953 || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
12954 test 0 -eq $? || _lt_function_replace_fail=:
12957 sed -e '/^func_append_quoted ()$/,/^} # func_append_quoted /c\
12958 func_append_quoted ()\
12960 \ func_quote_for_eval "${2}"\
12961 \ eval "${1}+=\\\\ \\$func_quote_for_eval_result"\
12962 } # Extended-shell func_append_quoted 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 # Save a `func_append' function call where possible by direct use of '+='
12969 sed -e 's%func_append \([a-zA-Z_]\{1,\}\) "%\1+="%g' $cfgfile > $cfgfile.tmp \
12970 && mv -f "$cfgfile.tmp" "$cfgfile" \
12971 || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
12972 test 0 -eq $? || _lt_function_replace_fail=:
12974 # Save a `func_append' function call even when '+=' is not available
12975 sed -e 's%func_append \([a-zA-Z_]\{1,\}\) "%\1="$\1%g' $cfgfile > $cfgfile.tmp \
12976 && mv -f "$cfgfile.tmp" "$cfgfile" \
12977 || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
12978 test 0 -eq $? || _lt_function_replace_fail=:
12981 if test x"$_lt_function_replace_fail" = x":"; then
12982 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Unable to substitute extended shell functions in $ofile" >&5
12983 $as_echo "$as_me: WARNING: Unable to substitute extended shell functions in $ofile" >&2;}
12987 mv -f "$cfgfile" "$ofile" ||
12988 (rm -f "$ofile" && cp "$cfgfile" "$ofile" && rm -f "$cfgfile")
12994 chmod +x "$CONFIG_LT"
12996 # configure is writing to config.log, but config.lt does its own redirection,
12997 # appending to config.log, which fails on DOS, as config.log is still kept
12998 # open by configure. Here we exec the FD to /dev/null, effectively closing
12999 # config.log, so it can be properly (re)opened and appended to by config.lt.
13001 test "$silent" = yes &&
13002 lt_config_lt_args="$lt_config_lt_args --quiet"
13004 $SHELL "$CONFIG_LT" $lt_config_lt_args || lt_cl_success=false
13006 $lt_cl_success || as_fn_exit 1
13008 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing strerror" >&5
13009 $as_echo_n "checking for library containing strerror... " >&6; }
13010 if ${ac_cv_search_strerror+:} false; then :
13011 $as_echo_n "(cached) " >&6
13013 ac_func_search_save_LIBS=$LIBS
13014 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13015 /* end confdefs.h. */
13017 /* Override any GCC internal prototype to avoid an error.
13018 Use char because int might match the return type of a GCC
13019 builtin and then its argument prototype would still apply. */
13027 return strerror ();
13032 for ac_lib in '' cposix; do
13033 if test -z "$ac_lib"; then
13034 ac_res="none required"
13037 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
13039 if ac_fn_c_try_link "$LINENO"; then :
13040 ac_cv_search_strerror=$ac_res
13042 rm -f core conftest.err conftest.$ac_objext \
13044 if ${ac_cv_search_strerror+:} false; then :
13048 if ${ac_cv_search_strerror+:} false; then :
13051 ac_cv_search_strerror=no
13053 rm conftest.$ac_ext
13054 LIBS=$ac_func_search_save_LIBS
13056 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_strerror" >&5
13057 $as_echo "$ac_cv_search_strerror" >&6; }
13058 ac_res=$ac_cv_search_strerror
13059 if test "$ac_res" != no; then :
13060 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
13065 ac_cpp='$CPP $CPPFLAGS'
13066 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
13067 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
13068 ac_compiler_gnu=$ac_cv_c_compiler_gnu
13069 if test -n "$ac_tool_prefix"; then
13070 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
13071 set dummy ${ac_tool_prefix}gcc; ac_word=$2
13072 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
13073 $as_echo_n "checking for $ac_word... " >&6; }
13074 if ${ac_cv_prog_CC+:} false; then :
13075 $as_echo_n "(cached) " >&6
13077 if test -n "$CC"; then
13078 ac_cv_prog_CC="$CC" # Let the user override the test.
13080 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
13081 for as_dir in $PATH
13084 test -z "$as_dir" && as_dir=.
13085 for ac_exec_ext in '' $ac_executable_extensions; do
13086 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
13087 ac_cv_prog_CC="${ac_tool_prefix}gcc"
13088 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
13098 if test -n "$CC"; then
13099 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
13100 $as_echo "$CC" >&6; }
13102 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
13103 $as_echo "no" >&6; }
13108 if test -z "$ac_cv_prog_CC"; then
13110 # Extract the first word of "gcc", so it can be a program name with args.
13111 set dummy gcc; ac_word=$2
13112 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
13113 $as_echo_n "checking for $ac_word... " >&6; }
13114 if ${ac_cv_prog_ac_ct_CC+:} false; then :
13115 $as_echo_n "(cached) " >&6
13117 if test -n "$ac_ct_CC"; then
13118 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
13120 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
13121 for as_dir in $PATH
13124 test -z "$as_dir" && as_dir=.
13125 for ac_exec_ext in '' $ac_executable_extensions; do
13126 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
13127 ac_cv_prog_ac_ct_CC="gcc"
13128 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
13137 ac_ct_CC=$ac_cv_prog_ac_ct_CC
13138 if test -n "$ac_ct_CC"; then
13139 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
13140 $as_echo "$ac_ct_CC" >&6; }
13142 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
13143 $as_echo "no" >&6; }
13146 if test "x$ac_ct_CC" = x; then
13149 case $cross_compiling:$ac_tool_warned in
13151 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
13152 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
13153 ac_tool_warned=yes ;;
13158 CC="$ac_cv_prog_CC"
13161 if test -z "$CC"; then
13162 if test -n "$ac_tool_prefix"; then
13163 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
13164 set dummy ${ac_tool_prefix}cc; ac_word=$2
13165 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
13166 $as_echo_n "checking for $ac_word... " >&6; }
13167 if ${ac_cv_prog_CC+:} false; then :
13168 $as_echo_n "(cached) " >&6
13170 if test -n "$CC"; then
13171 ac_cv_prog_CC="$CC" # Let the user override the test.
13173 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
13174 for as_dir in $PATH
13177 test -z "$as_dir" && as_dir=.
13178 for ac_exec_ext in '' $ac_executable_extensions; do
13179 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
13180 ac_cv_prog_CC="${ac_tool_prefix}cc"
13181 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
13191 if test -n "$CC"; then
13192 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
13193 $as_echo "$CC" >&6; }
13195 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
13196 $as_echo "no" >&6; }
13202 if test -z "$CC"; then
13203 # Extract the first word of "cc", so it can be a program name with args.
13204 set dummy cc; ac_word=$2
13205 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
13206 $as_echo_n "checking for $ac_word... " >&6; }
13207 if ${ac_cv_prog_CC+:} false; then :
13208 $as_echo_n "(cached) " >&6
13210 if test -n "$CC"; then
13211 ac_cv_prog_CC="$CC" # Let the user override the test.
13213 ac_prog_rejected=no
13214 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
13215 for as_dir in $PATH
13218 test -z "$as_dir" && as_dir=.
13219 for ac_exec_ext in '' $ac_executable_extensions; do
13220 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
13221 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
13222 ac_prog_rejected=yes
13226 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
13233 if test $ac_prog_rejected = yes; then
13234 # We found a bogon in the path, so make sure we never use it.
13235 set dummy $ac_cv_prog_CC
13237 if test $# != 0; then
13238 # We chose a different compiler from the bogus one.
13239 # However, it has the same basename, so the bogon will be chosen
13240 # first if we set CC to just the basename; use the full file name.
13242 ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
13248 if test -n "$CC"; then
13249 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
13250 $as_echo "$CC" >&6; }
13252 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
13253 $as_echo "no" >&6; }
13258 if test -z "$CC"; then
13259 if test -n "$ac_tool_prefix"; then
13260 for ac_prog in cl.exe
13262 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
13263 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
13264 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
13265 $as_echo_n "checking for $ac_word... " >&6; }
13266 if ${ac_cv_prog_CC+:} false; then :
13267 $as_echo_n "(cached) " >&6
13269 if test -n "$CC"; then
13270 ac_cv_prog_CC="$CC" # Let the user override the test.
13272 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
13273 for as_dir in $PATH
13276 test -z "$as_dir" && as_dir=.
13277 for ac_exec_ext in '' $ac_executable_extensions; do
13278 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
13279 ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
13280 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
13290 if test -n "$CC"; then
13291 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
13292 $as_echo "$CC" >&6; }
13294 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
13295 $as_echo "no" >&6; }
13299 test -n "$CC" && break
13302 if test -z "$CC"; then
13304 for ac_prog in cl.exe
13306 # Extract the first word of "$ac_prog", so it can be a program name with args.
13307 set dummy $ac_prog; ac_word=$2
13308 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
13309 $as_echo_n "checking for $ac_word... " >&6; }
13310 if ${ac_cv_prog_ac_ct_CC+:} false; then :
13311 $as_echo_n "(cached) " >&6
13313 if test -n "$ac_ct_CC"; then
13314 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
13316 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
13317 for as_dir in $PATH
13320 test -z "$as_dir" && as_dir=.
13321 for ac_exec_ext in '' $ac_executable_extensions; do
13322 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
13323 ac_cv_prog_ac_ct_CC="$ac_prog"
13324 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
13333 ac_ct_CC=$ac_cv_prog_ac_ct_CC
13334 if test -n "$ac_ct_CC"; then
13335 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
13336 $as_echo "$ac_ct_CC" >&6; }
13338 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
13339 $as_echo "no" >&6; }
13343 test -n "$ac_ct_CC" && break
13346 if test "x$ac_ct_CC" = x; then
13349 case $cross_compiling:$ac_tool_warned in
13351 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
13352 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
13353 ac_tool_warned=yes ;;
13362 test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
13363 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
13364 as_fn_error $? "no acceptable C compiler found in \$PATH
13365 See \`config.log' for more details" "$LINENO" 5; }
13367 # Provide some information about the compiler.
13368 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
13371 for ac_option in --version -v -V -qversion; do
13372 { { ac_try="$ac_compiler $ac_option >&5"
13373 case "(($ac_try" in
13374 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
13375 *) ac_try_echo=$ac_try;;
13377 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
13378 $as_echo "$ac_try_echo"; } >&5
13379 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
13381 if test -s conftest.err; then
13383 ... rest of stderr output deleted ...
13384 10q' conftest.err >conftest.er1
13385 cat conftest.er1 >&5
13387 rm -f conftest.er1 conftest.err
13388 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
13389 test $ac_status = 0; }
13392 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
13393 $as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
13394 if ${ac_cv_c_compiler_gnu+:} false; then :
13395 $as_echo_n "(cached) " >&6
13397 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13398 /* end confdefs.h. */
13411 if ac_fn_c_try_compile "$LINENO"; then :
13412 ac_compiler_gnu=yes
13416 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
13417 ac_cv_c_compiler_gnu=$ac_compiler_gnu
13420 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
13421 $as_echo "$ac_cv_c_compiler_gnu" >&6; }
13422 if test $ac_compiler_gnu = yes; then
13427 ac_test_CFLAGS=${CFLAGS+set}
13428 ac_save_CFLAGS=$CFLAGS
13429 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
13430 $as_echo_n "checking whether $CC accepts -g... " >&6; }
13431 if ${ac_cv_prog_cc_g+:} false; then :
13432 $as_echo_n "(cached) " >&6
13434 ac_save_c_werror_flag=$ac_c_werror_flag
13435 ac_c_werror_flag=yes
13438 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13439 /* end confdefs.h. */
13449 if ac_fn_c_try_compile "$LINENO"; then :
13450 ac_cv_prog_cc_g=yes
13453 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13454 /* end confdefs.h. */
13464 if ac_fn_c_try_compile "$LINENO"; then :
13467 ac_c_werror_flag=$ac_save_c_werror_flag
13469 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13470 /* end confdefs.h. */
13480 if ac_fn_c_try_compile "$LINENO"; then :
13481 ac_cv_prog_cc_g=yes
13483 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
13485 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
13487 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
13488 ac_c_werror_flag=$ac_save_c_werror_flag
13490 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
13491 $as_echo "$ac_cv_prog_cc_g" >&6; }
13492 if test "$ac_test_CFLAGS" = set; then
13493 CFLAGS=$ac_save_CFLAGS
13494 elif test $ac_cv_prog_cc_g = yes; then
13495 if test "$GCC" = yes; then
13501 if test "$GCC" = yes; then
13507 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
13508 $as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
13509 if ${ac_cv_prog_cc_c89+:} false; then :
13510 $as_echo_n "(cached) " >&6
13512 ac_cv_prog_cc_c89=no
13514 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13515 /* end confdefs.h. */
13516 #include <stdarg.h>
13518 #include <sys/types.h>
13519 #include <sys/stat.h>
13520 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
13521 struct buf { int x; };
13522 FILE * (*rcsopen) (struct buf *, struct stat *, int);
13523 static char *e (p, i)
13529 static char *f (char * (*g) (char **, int), char **p, ...)
13534 s = g (p, va_arg (v,int));
13539 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
13540 function prototypes and stuff, but not '\xHH' hex character constants.
13541 These don't provoke an error unfortunately, instead are silently treated
13542 as 'x'. The following induces an error, until -std is added to get
13543 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
13544 array size at least. It's necessary to write '\x00'==0 to get something
13545 that's true only with -std. */
13546 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
13548 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
13549 inside strings and character constants. */
13551 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
13553 int test (int i, double x);
13554 struct s1 {int (*f) (int a);};
13555 struct s2 {int (*f) (double a);};
13556 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
13562 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
13567 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
13568 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
13570 CC="$ac_save_CC $ac_arg"
13571 if ac_fn_c_try_compile "$LINENO"; then :
13572 ac_cv_prog_cc_c89=$ac_arg
13574 rm -f core conftest.err conftest.$ac_objext
13575 test "x$ac_cv_prog_cc_c89" != "xno" && break
13577 rm -f conftest.$ac_ext
13582 case "x$ac_cv_prog_cc_c89" in
13584 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
13585 $as_echo "none needed" >&6; } ;;
13587 { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
13588 $as_echo "unsupported" >&6; } ;;
13590 CC="$CC $ac_cv_prog_cc_c89"
13591 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
13592 $as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
13594 if test "x$ac_cv_prog_cc_c89" != xno; then :
13599 ac_cpp='$CPP $CPPFLAGS'
13600 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
13601 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
13602 ac_compiler_gnu=$ac_cv_c_compiler_gnu
13604 depcc="$CC" am_compiler_list=
13606 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5
13607 $as_echo_n "checking dependency style of $depcc... " >&6; }
13608 if ${am_cv_CC_dependencies_compiler_type+:} false; then :
13609 $as_echo_n "(cached) " >&6
13611 if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
13612 # We make a subdir and do the tests there. Otherwise we can end up
13613 # making bogus files that we don't know about and never remove. For
13614 # instance it was reported that on HP-UX the gcc test will end up
13615 # making a dummy file named `D' -- because `-MD' means `put the output
13618 # Copy depcomp to subdir because otherwise we won't find it if we're
13619 # using a relative directory.
13620 cp "$am_depcomp" conftest.dir
13622 # We will build objects and dependencies in a subdirectory because
13623 # it helps to detect inapplicable dependency modes. For instance
13624 # both Tru64's cc and ICC support -MD to output dependencies as a
13625 # side effect of compilation, but ICC will put the dependencies in
13626 # the current directory while Tru64 will put them in the object
13630 am_cv_CC_dependencies_compiler_type=none
13631 if test "$am_compiler_list" = ""; then
13632 am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
13634 am__universal=false
13635 case " $depcc " in #(
13636 *\ -arch\ *\ -arch\ *) am__universal=true ;;
13639 for depmode in $am_compiler_list; do
13640 # Setup a source with many dependencies, because some compilers
13641 # like to wrap large dependency lists on column 80 (with \), and
13642 # we should not choose a depcomp mode which is confused by this.
13644 # We need to recreate these files for each test, as the compiler may
13645 # overwrite some of them when testing with obscure command lines.
13646 # This happens at least with the AIX C compiler.
13648 for i in 1 2 3 4 5 6; do
13649 echo '#include "conftst'$i'.h"' >> sub/conftest.c
13650 # Using `: > sub/conftst$i.h' creates only sub/conftst1.h with
13651 # Solaris 8's {/usr,}/bin/sh.
13652 touch sub/conftst$i.h
13654 echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
13656 # We check with `-c' and `-o' for the sake of the "dashmstdout"
13657 # mode. It turns out that the SunPro C++ compiler does not properly
13658 # handle `-M -o', and we need to detect this. Also, some Intel
13659 # versions had trouble with output in subdirs
13660 am__obj=sub/conftest.${OBJEXT-o}
13661 am__minus_obj="-o $am__obj"
13664 # This depmode causes a compiler race in universal mode.
13665 test "$am__universal" = false || continue
13668 # after this tag, mechanisms are not by side-effect, so they'll
13669 # only be used when explicitly requested
13670 if test "x$enable_dependency_tracking" = xyes; then
13676 msvisualcpp | msvcmsys)
13677 # This compiler won't grok `-c -o', but also, the minuso test has
13678 # not run yet. These depmodes are late enough in the game, and
13679 # so weak that their functioning should not be impacted.
13680 am__obj=conftest.${OBJEXT-o}
13685 if depmode=$depmode \
13686 source=sub/conftest.c object=$am__obj \
13687 depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
13688 $SHELL ./depcomp $depcc -c $am__minus_obj sub/conftest.c \
13689 >/dev/null 2>conftest.err &&
13690 grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 &&
13691 grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
13692 grep $am__obj sub/conftest.Po > /dev/null 2>&1 &&
13693 ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
13694 # icc doesn't choke on unknown options, it will just issue warnings
13695 # or remarks (even with -Werror). So we grep stderr for any message
13696 # that says an option was ignored or not supported.
13697 # When given -MP, icc 7.0 and 7.1 complain thusly:
13698 # icc: Command line warning: ignoring option '-M'; no argument required
13699 # The diagnosis changed in icc 8.0:
13700 # icc: Command line remark: option '-MP' not supported
13701 if (grep 'ignoring option' conftest.err ||
13702 grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
13703 am_cv_CC_dependencies_compiler_type=$depmode
13710 rm -rf conftest.dir
13712 am_cv_CC_dependencies_compiler_type=none
13716 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_CC_dependencies_compiler_type" >&5
13717 $as_echo "$am_cv_CC_dependencies_compiler_type" >&6; }
13718 CCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type
13721 test "x$enable_dependency_tracking" != xno \
13722 && test "$am_cv_CC_dependencies_compiler_type" = gcc3; then
13723 am__fastdepCC_TRUE=
13724 am__fastdepCC_FALSE='#'
13726 am__fastdepCC_TRUE='#'
13727 am__fastdepCC_FALSE=
13732 ac_cpp='$CPP $CPPFLAGS'
13733 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
13734 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
13735 ac_compiler_gnu=$ac_cv_c_compiler_gnu
13736 if test -n "$ac_tool_prefix"; then
13737 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
13738 set dummy ${ac_tool_prefix}gcc; ac_word=$2
13739 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
13740 $as_echo_n "checking for $ac_word... " >&6; }
13741 if ${ac_cv_prog_CC+:} false; then :
13742 $as_echo_n "(cached) " >&6
13744 if test -n "$CC"; then
13745 ac_cv_prog_CC="$CC" # Let the user override the test.
13747 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
13748 for as_dir in $PATH
13751 test -z "$as_dir" && as_dir=.
13752 for ac_exec_ext in '' $ac_executable_extensions; do
13753 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
13754 ac_cv_prog_CC="${ac_tool_prefix}gcc"
13755 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
13765 if test -n "$CC"; then
13766 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
13767 $as_echo "$CC" >&6; }
13769 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
13770 $as_echo "no" >&6; }
13775 if test -z "$ac_cv_prog_CC"; then
13777 # Extract the first word of "gcc", so it can be a program name with args.
13778 set dummy gcc; ac_word=$2
13779 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
13780 $as_echo_n "checking for $ac_word... " >&6; }
13781 if ${ac_cv_prog_ac_ct_CC+:} false; then :
13782 $as_echo_n "(cached) " >&6
13784 if test -n "$ac_ct_CC"; then
13785 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
13787 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
13788 for as_dir in $PATH
13791 test -z "$as_dir" && as_dir=.
13792 for ac_exec_ext in '' $ac_executable_extensions; do
13793 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
13794 ac_cv_prog_ac_ct_CC="gcc"
13795 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
13804 ac_ct_CC=$ac_cv_prog_ac_ct_CC
13805 if test -n "$ac_ct_CC"; then
13806 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
13807 $as_echo "$ac_ct_CC" >&6; }
13809 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
13810 $as_echo "no" >&6; }
13813 if test "x$ac_ct_CC" = x; then
13816 case $cross_compiling:$ac_tool_warned in
13818 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
13819 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
13820 ac_tool_warned=yes ;;
13825 CC="$ac_cv_prog_CC"
13828 if test -z "$CC"; then
13829 if test -n "$ac_tool_prefix"; then
13830 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
13831 set dummy ${ac_tool_prefix}cc; ac_word=$2
13832 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
13833 $as_echo_n "checking for $ac_word... " >&6; }
13834 if ${ac_cv_prog_CC+:} false; then :
13835 $as_echo_n "(cached) " >&6
13837 if test -n "$CC"; then
13838 ac_cv_prog_CC="$CC" # Let the user override the test.
13840 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
13841 for as_dir in $PATH
13844 test -z "$as_dir" && as_dir=.
13845 for ac_exec_ext in '' $ac_executable_extensions; do
13846 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
13847 ac_cv_prog_CC="${ac_tool_prefix}cc"
13848 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
13858 if test -n "$CC"; then
13859 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
13860 $as_echo "$CC" >&6; }
13862 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
13863 $as_echo "no" >&6; }
13869 if test -z "$CC"; then
13870 # Extract the first word of "cc", so it can be a program name with args.
13871 set dummy cc; ac_word=$2
13872 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
13873 $as_echo_n "checking for $ac_word... " >&6; }
13874 if ${ac_cv_prog_CC+:} false; then :
13875 $as_echo_n "(cached) " >&6
13877 if test -n "$CC"; then
13878 ac_cv_prog_CC="$CC" # Let the user override the test.
13880 ac_prog_rejected=no
13881 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
13882 for as_dir in $PATH
13885 test -z "$as_dir" && as_dir=.
13886 for ac_exec_ext in '' $ac_executable_extensions; do
13887 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
13888 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
13889 ac_prog_rejected=yes
13893 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
13900 if test $ac_prog_rejected = yes; then
13901 # We found a bogon in the path, so make sure we never use it.
13902 set dummy $ac_cv_prog_CC
13904 if test $# != 0; then
13905 # We chose a different compiler from the bogus one.
13906 # However, it has the same basename, so the bogon will be chosen
13907 # first if we set CC to just the basename; use the full file name.
13909 ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
13915 if test -n "$CC"; then
13916 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
13917 $as_echo "$CC" >&6; }
13919 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
13920 $as_echo "no" >&6; }
13925 if test -z "$CC"; then
13926 if test -n "$ac_tool_prefix"; then
13927 for ac_prog in cl.exe
13929 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
13930 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
13931 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
13932 $as_echo_n "checking for $ac_word... " >&6; }
13933 if ${ac_cv_prog_CC+:} false; then :
13934 $as_echo_n "(cached) " >&6
13936 if test -n "$CC"; then
13937 ac_cv_prog_CC="$CC" # Let the user override the test.
13939 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
13940 for as_dir in $PATH
13943 test -z "$as_dir" && as_dir=.
13944 for ac_exec_ext in '' $ac_executable_extensions; do
13945 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
13946 ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
13947 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
13957 if test -n "$CC"; then
13958 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
13959 $as_echo "$CC" >&6; }
13961 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
13962 $as_echo "no" >&6; }
13966 test -n "$CC" && break
13969 if test -z "$CC"; then
13971 for ac_prog in cl.exe
13973 # Extract the first word of "$ac_prog", so it can be a program name with args.
13974 set dummy $ac_prog; ac_word=$2
13975 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
13976 $as_echo_n "checking for $ac_word... " >&6; }
13977 if ${ac_cv_prog_ac_ct_CC+:} false; then :
13978 $as_echo_n "(cached) " >&6
13980 if test -n "$ac_ct_CC"; then
13981 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
13983 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
13984 for as_dir in $PATH
13987 test -z "$as_dir" && as_dir=.
13988 for ac_exec_ext in '' $ac_executable_extensions; do
13989 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
13990 ac_cv_prog_ac_ct_CC="$ac_prog"
13991 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
14000 ac_ct_CC=$ac_cv_prog_ac_ct_CC
14001 if test -n "$ac_ct_CC"; then
14002 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
14003 $as_echo "$ac_ct_CC" >&6; }
14005 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
14006 $as_echo "no" >&6; }
14010 test -n "$ac_ct_CC" && break
14013 if test "x$ac_ct_CC" = x; then
14016 case $cross_compiling:$ac_tool_warned in
14018 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
14019 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
14020 ac_tool_warned=yes ;;
14029 test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
14030 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
14031 as_fn_error $? "no acceptable C compiler found in \$PATH
14032 See \`config.log' for more details" "$LINENO" 5; }
14034 # Provide some information about the compiler.
14035 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
14038 for ac_option in --version -v -V -qversion; do
14039 { { ac_try="$ac_compiler $ac_option >&5"
14040 case "(($ac_try" in
14041 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14042 *) ac_try_echo=$ac_try;;
14044 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
14045 $as_echo "$ac_try_echo"; } >&5
14046 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
14048 if test -s conftest.err; then
14050 ... rest of stderr output deleted ...
14051 10q' conftest.err >conftest.er1
14052 cat conftest.er1 >&5
14054 rm -f conftest.er1 conftest.err
14055 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
14056 test $ac_status = 0; }
14059 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
14060 $as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
14061 if ${ac_cv_c_compiler_gnu+:} false; then :
14062 $as_echo_n "(cached) " >&6
14064 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14065 /* end confdefs.h. */
14078 if ac_fn_c_try_compile "$LINENO"; then :
14079 ac_compiler_gnu=yes
14083 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
14084 ac_cv_c_compiler_gnu=$ac_compiler_gnu
14087 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
14088 $as_echo "$ac_cv_c_compiler_gnu" >&6; }
14089 if test $ac_compiler_gnu = yes; then
14094 ac_test_CFLAGS=${CFLAGS+set}
14095 ac_save_CFLAGS=$CFLAGS
14096 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
14097 $as_echo_n "checking whether $CC accepts -g... " >&6; }
14098 if ${ac_cv_prog_cc_g+:} false; then :
14099 $as_echo_n "(cached) " >&6
14101 ac_save_c_werror_flag=$ac_c_werror_flag
14102 ac_c_werror_flag=yes
14105 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14106 /* end confdefs.h. */
14116 if ac_fn_c_try_compile "$LINENO"; then :
14117 ac_cv_prog_cc_g=yes
14120 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14121 /* end confdefs.h. */
14131 if ac_fn_c_try_compile "$LINENO"; then :
14134 ac_c_werror_flag=$ac_save_c_werror_flag
14136 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14137 /* end confdefs.h. */
14147 if ac_fn_c_try_compile "$LINENO"; then :
14148 ac_cv_prog_cc_g=yes
14150 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
14152 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
14154 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
14155 ac_c_werror_flag=$ac_save_c_werror_flag
14157 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
14158 $as_echo "$ac_cv_prog_cc_g" >&6; }
14159 if test "$ac_test_CFLAGS" = set; then
14160 CFLAGS=$ac_save_CFLAGS
14161 elif test $ac_cv_prog_cc_g = yes; then
14162 if test "$GCC" = yes; then
14168 if test "$GCC" = yes; then
14174 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
14175 $as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
14176 if ${ac_cv_prog_cc_c89+:} false; then :
14177 $as_echo_n "(cached) " >&6
14179 ac_cv_prog_cc_c89=no
14181 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14182 /* end confdefs.h. */
14183 #include <stdarg.h>
14185 #include <sys/types.h>
14186 #include <sys/stat.h>
14187 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
14188 struct buf { int x; };
14189 FILE * (*rcsopen) (struct buf *, struct stat *, int);
14190 static char *e (p, i)
14196 static char *f (char * (*g) (char **, int), char **p, ...)
14201 s = g (p, va_arg (v,int));
14206 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
14207 function prototypes and stuff, but not '\xHH' hex character constants.
14208 These don't provoke an error unfortunately, instead are silently treated
14209 as 'x'. The following induces an error, until -std is added to get
14210 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
14211 array size at least. It's necessary to write '\x00'==0 to get something
14212 that's true only with -std. */
14213 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
14215 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
14216 inside strings and character constants. */
14218 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
14220 int test (int i, double x);
14221 struct s1 {int (*f) (int a);};
14222 struct s2 {int (*f) (double a);};
14223 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
14229 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
14234 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
14235 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
14237 CC="$ac_save_CC $ac_arg"
14238 if ac_fn_c_try_compile "$LINENO"; then :
14239 ac_cv_prog_cc_c89=$ac_arg
14241 rm -f core conftest.err conftest.$ac_objext
14242 test "x$ac_cv_prog_cc_c89" != "xno" && break
14244 rm -f conftest.$ac_ext
14249 case "x$ac_cv_prog_cc_c89" in
14251 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
14252 $as_echo "none needed" >&6; } ;;
14254 { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
14255 $as_echo "unsupported" >&6; } ;;
14257 CC="$CC $ac_cv_prog_cc_c89"
14258 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
14259 $as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
14261 if test "x$ac_cv_prog_cc_c89" != xno; then :
14266 ac_cpp='$CPP $CPPFLAGS'
14267 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
14268 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
14269 ac_compiler_gnu=$ac_cv_c_compiler_gnu
14271 depcc="$CC" am_compiler_list=
14273 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5
14274 $as_echo_n "checking dependency style of $depcc... " >&6; }
14275 if ${am_cv_CC_dependencies_compiler_type+:} false; then :
14276 $as_echo_n "(cached) " >&6
14278 if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
14279 # We make a subdir and do the tests there. Otherwise we can end up
14280 # making bogus files that we don't know about and never remove. For
14281 # instance it was reported that on HP-UX the gcc test will end up
14282 # making a dummy file named `D' -- because `-MD' means `put the output
14285 # Copy depcomp to subdir because otherwise we won't find it if we're
14286 # using a relative directory.
14287 cp "$am_depcomp" conftest.dir
14289 # We will build objects and dependencies in a subdirectory because
14290 # it helps to detect inapplicable dependency modes. For instance
14291 # both Tru64's cc and ICC support -MD to output dependencies as a
14292 # side effect of compilation, but ICC will put the dependencies in
14293 # the current directory while Tru64 will put them in the object
14297 am_cv_CC_dependencies_compiler_type=none
14298 if test "$am_compiler_list" = ""; then
14299 am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
14301 am__universal=false
14302 case " $depcc " in #(
14303 *\ -arch\ *\ -arch\ *) am__universal=true ;;
14306 for depmode in $am_compiler_list; do
14307 # Setup a source with many dependencies, because some compilers
14308 # like to wrap large dependency lists on column 80 (with \), and
14309 # we should not choose a depcomp mode which is confused by this.
14311 # We need to recreate these files for each test, as the compiler may
14312 # overwrite some of them when testing with obscure command lines.
14313 # This happens at least with the AIX C compiler.
14315 for i in 1 2 3 4 5 6; do
14316 echo '#include "conftst'$i'.h"' >> sub/conftest.c
14317 # Using `: > sub/conftst$i.h' creates only sub/conftst1.h with
14318 # Solaris 8's {/usr,}/bin/sh.
14319 touch sub/conftst$i.h
14321 echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
14323 # We check with `-c' and `-o' for the sake of the "dashmstdout"
14324 # mode. It turns out that the SunPro C++ compiler does not properly
14325 # handle `-M -o', and we need to detect this. Also, some Intel
14326 # versions had trouble with output in subdirs
14327 am__obj=sub/conftest.${OBJEXT-o}
14328 am__minus_obj="-o $am__obj"
14331 # This depmode causes a compiler race in universal mode.
14332 test "$am__universal" = false || continue
14335 # after this tag, mechanisms are not by side-effect, so they'll
14336 # only be used when explicitly requested
14337 if test "x$enable_dependency_tracking" = xyes; then
14343 msvisualcpp | msvcmsys)
14344 # This compiler won't grok `-c -o', but also, the minuso test has
14345 # not run yet. These depmodes are late enough in the game, and
14346 # so weak that their functioning should not be impacted.
14347 am__obj=conftest.${OBJEXT-o}
14352 if depmode=$depmode \
14353 source=sub/conftest.c object=$am__obj \
14354 depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
14355 $SHELL ./depcomp $depcc -c $am__minus_obj sub/conftest.c \
14356 >/dev/null 2>conftest.err &&
14357 grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 &&
14358 grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
14359 grep $am__obj sub/conftest.Po > /dev/null 2>&1 &&
14360 ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
14361 # icc doesn't choke on unknown options, it will just issue warnings
14362 # or remarks (even with -Werror). So we grep stderr for any message
14363 # that says an option was ignored or not supported.
14364 # When given -MP, icc 7.0 and 7.1 complain thusly:
14365 # icc: Command line warning: ignoring option '-M'; no argument required
14366 # The diagnosis changed in icc 8.0:
14367 # icc: Command line remark: option '-MP' not supported
14368 if (grep 'ignoring option' conftest.err ||
14369 grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
14370 am_cv_CC_dependencies_compiler_type=$depmode
14377 rm -rf conftest.dir
14379 am_cv_CC_dependencies_compiler_type=none
14383 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_CC_dependencies_compiler_type" >&5
14384 $as_echo "$am_cv_CC_dependencies_compiler_type" >&6; }
14385 CCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type
14388 test "x$enable_dependency_tracking" != xno \
14389 && test "$am_cv_CC_dependencies_compiler_type" = gcc3; then
14390 am__fastdepCC_TRUE=
14391 am__fastdepCC_FALSE='#'
14393 am__fastdepCC_TRUE='#'
14394 am__fastdepCC_FALSE=
14399 am_cv_prog_cc_stdc=$ac_cv_prog_cc_stdc
14401 if test "x$CC" != xcc; then
14402 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC and cc understand -c and -o together" >&5
14403 $as_echo_n "checking whether $CC and cc understand -c and -o together... " >&6; }
14405 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether cc understands -c and -o together" >&5
14406 $as_echo_n "checking whether cc understands -c and -o together... " >&6; }
14408 set dummy $CC; ac_cc=`$as_echo "$2" |
14409 sed 's/[^a-zA-Z0-9_]/_/g;s/^[0-9]/_/'`
14410 if eval \${ac_cv_prog_cc_${ac_cc}_c_o+:} false; then :
14411 $as_echo_n "(cached) " >&6
14413 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14414 /* end confdefs.h. */
14424 # Make sure it works both with $CC and with simple cc.
14425 # We do the test twice because some compilers refuse to overwrite an
14426 # existing .o file with -o, though they will create one.
14427 ac_try='$CC -c conftest.$ac_ext -o conftest2.$ac_objext >&5'
14429 if { { case "(($ac_try" in
14430 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14431 *) ac_try_echo=$ac_try;;
14433 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
14434 $as_echo "$ac_try_echo"; } >&5
14435 (eval "$ac_try") 2>&5
14437 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
14438 test $ac_status = 0; } &&
14439 test -f conftest2.$ac_objext && { { case "(($ac_try" in
14440 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14441 *) ac_try_echo=$ac_try;;
14443 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
14444 $as_echo "$ac_try_echo"; } >&5
14445 (eval "$ac_try") 2>&5
14447 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
14448 test $ac_status = 0; };
14450 eval ac_cv_prog_cc_${ac_cc}_c_o=yes
14451 if test "x$CC" != xcc; then
14452 # Test first that cc exists at all.
14453 if { ac_try='cc -c conftest.$ac_ext >&5'
14454 { { case "(($ac_try" in
14455 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14456 *) ac_try_echo=$ac_try;;
14458 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
14459 $as_echo "$ac_try_echo"; } >&5
14460 (eval "$ac_try") 2>&5
14462 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
14463 test $ac_status = 0; }; }; then
14464 ac_try='cc -c conftest.$ac_ext -o conftest2.$ac_objext >&5'
14466 if { { case "(($ac_try" in
14467 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14468 *) ac_try_echo=$ac_try;;
14470 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
14471 $as_echo "$ac_try_echo"; } >&5
14472 (eval "$ac_try") 2>&5
14474 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
14475 test $ac_status = 0; } &&
14476 test -f conftest2.$ac_objext && { { case "(($ac_try" in
14477 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14478 *) ac_try_echo=$ac_try;;
14480 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
14481 $as_echo "$ac_try_echo"; } >&5
14482 (eval "$ac_try") 2>&5
14484 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
14485 test $ac_status = 0; };
14490 # cc exists but doesn't like -o.
14491 eval ac_cv_prog_cc_${ac_cc}_c_o=no
14496 eval ac_cv_prog_cc_${ac_cc}_c_o=no
14498 rm -f core conftest*
14501 if eval test \$ac_cv_prog_cc_${ac_cc}_c_o = yes; then
14502 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
14503 $as_echo "yes" >&6; }
14505 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
14506 $as_echo "no" >&6; }
14508 $as_echo "#define NO_MINUS_C_MINUS_O 1" >>confdefs.h
14512 # FIXME: we rely on the cache variable name because
14513 # there is no other way.
14515 am_cc=`echo $2 | sed 's/[^a-zA-Z0-9_]/_/g;s/^[0-9]/_/'`
14516 eval am_t=\$ac_cv_prog_cc_${am_cc}_c_o
14517 if test "$am_t" != yes; then
14518 # Losing compiler, so override with the script.
14519 # FIXME: It is wrong to rewrite CC.
14520 # But if we don't then we get into trouble of one sort or another.
14521 # A longer-term fix would be to have automake use am__CC in this case,
14522 # and then we could set am__CC="\$(top_srcdir)/compile \$(CC)"
14523 CC="$am_aux_dir/compile $CC"
14528 # check that we have the minimum version of python necisary to build
14533 if test -n "$PYTHON"; then
14534 # If the user set $PYTHON, use it and don't search something else.
14535 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $PYTHON version >= 2.5.2" >&5
14536 $as_echo_n "checking whether $PYTHON version >= 2.5.2... " >&6; }
14538 # split strings by '.' and convert to numeric. Append some zeros
14539 # because we need at least 4 digits for the hex conversion.
14540 # map returns an iterator in Python 3.0 and a list in 2.x
14541 minver = list(map(int, '2.5.2'.split('.'))) + [0, 0, 0]
14543 # xrange is not present in Python 3.0 and range returns an iterator
14544 for i in list(range(0, 4)): minverhex = (minverhex << 8) + minver[i]
14545 sys.exit(sys.hexversion < minverhex)"
14546 if { echo "$as_me:$LINENO: $PYTHON -c "$prog"" >&5
14547 ($PYTHON -c "$prog") >&5 2>&5
14549 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14550 (exit $ac_status); }; then :
14551 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
14552 $as_echo "yes" >&6; }
14554 as_fn_error $? "too old" "$LINENO" 5
14556 am_display_PYTHON=$PYTHON
14558 # Otherwise, try each interpreter until we find one that satisfies
14560 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a Python interpreter with version >= 2.5.2" >&5
14561 $as_echo_n "checking for a Python interpreter with version >= 2.5.2... " >&6; }
14562 if ${am_cv_pathless_PYTHON+:} false; then :
14563 $as_echo_n "(cached) " >&6
14566 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
14567 test "$am_cv_pathless_PYTHON" = none && break
14569 # split strings by '.' and convert to numeric. Append some zeros
14570 # because we need at least 4 digits for the hex conversion.
14571 # map returns an iterator in Python 3.0 and a list in 2.x
14572 minver = list(map(int, '2.5.2'.split('.'))) + [0, 0, 0]
14574 # xrange is not present in Python 3.0 and range returns an iterator
14575 for i in list(range(0, 4)): minverhex = (minverhex << 8) + minver[i]
14576 sys.exit(sys.hexversion < minverhex)"
14577 if { echo "$as_me:$LINENO: $am_cv_pathless_PYTHON -c "$prog"" >&5
14578 ($am_cv_pathless_PYTHON -c "$prog") >&5 2>&5
14580 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14581 (exit $ac_status); }; then :
14586 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_pathless_PYTHON" >&5
14587 $as_echo "$am_cv_pathless_PYTHON" >&6; }
14588 # Set $PYTHON to the absolute path of $am_cv_pathless_PYTHON.
14589 if test "$am_cv_pathless_PYTHON" = none; then
14592 # Extract the first word of "$am_cv_pathless_PYTHON", so it can be a program name with args.
14593 set dummy $am_cv_pathless_PYTHON; ac_word=$2
14594 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
14595 $as_echo_n "checking for $ac_word... " >&6; }
14596 if ${ac_cv_path_PYTHON+:} false; then :
14597 $as_echo_n "(cached) " >&6
14601 ac_cv_path_PYTHON="$PYTHON" # Let the user override the test with a path.
14604 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
14605 for as_dir in $PATH
14608 test -z "$as_dir" && as_dir=.
14609 for ac_exec_ext in '' $ac_executable_extensions; do
14610 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
14611 ac_cv_path_PYTHON="$as_dir/$ac_word$ac_exec_ext"
14612 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
14622 PYTHON=$ac_cv_path_PYTHON
14623 if test -n "$PYTHON"; then
14624 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PYTHON" >&5
14625 $as_echo "$PYTHON" >&6; }
14627 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
14628 $as_echo "no" >&6; }
14633 am_display_PYTHON=$am_cv_pathless_PYTHON
14637 if test "$PYTHON" = :; then
14638 as_fn_error $? "no suitable Python interpreter found" "$LINENO" 5
14642 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $am_display_PYTHON version" >&5
14643 $as_echo_n "checking for $am_display_PYTHON version... " >&6; }
14644 if ${am_cv_python_version+:} false; then :
14645 $as_echo_n "(cached) " >&6
14647 am_cv_python_version=`$PYTHON -c "import sys; sys.stdout.write(sys.version[:3])"`
14649 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_python_version" >&5
14650 $as_echo "$am_cv_python_version" >&6; }
14651 PYTHON_VERSION=$am_cv_python_version
14655 PYTHON_PREFIX='${prefix}'
14657 PYTHON_EXEC_PREFIX='${exec_prefix}'
14661 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $am_display_PYTHON platform" >&5
14662 $as_echo_n "checking for $am_display_PYTHON platform... " >&6; }
14663 if ${am_cv_python_platform+:} false; then :
14664 $as_echo_n "(cached) " >&6
14666 am_cv_python_platform=`$PYTHON -c "import sys; sys.stdout.write(sys.platform)"`
14668 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_python_platform" >&5
14669 $as_echo "$am_cv_python_platform" >&6; }
14670 PYTHON_PLATFORM=$am_cv_python_platform
14675 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $am_display_PYTHON script directory" >&5
14676 $as_echo_n "checking for $am_display_PYTHON script directory... " >&6; }
14677 if ${am_cv_python_pythondir+:} false; then :
14678 $as_echo_n "(cached) " >&6
14680 am_cv_python_pythondir=`$PYTHON -c "from distutils import sysconfig; print(sysconfig.get_python_lib(0,0,prefix='$PYTHON_PREFIX'))" 2>/dev/null ||
14681 echo "$PYTHON_PREFIX/lib/python$PYTHON_VERSION/site-packages"`
14683 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_python_pythondir" >&5
14684 $as_echo "$am_cv_python_pythondir" >&6; }
14685 pythondir=$am_cv_python_pythondir
14689 pkgpythondir=\${pythondir}/$PACKAGE
14692 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $am_display_PYTHON extension module directory" >&5
14693 $as_echo_n "checking for $am_display_PYTHON extension module directory... " >&6; }
14694 if ${am_cv_python_pyexecdir+:} false; then :
14695 $as_echo_n "(cached) " >&6
14697 am_cv_python_pyexecdir=`$PYTHON -c "from distutils import sysconfig; print(sysconfig.get_python_lib(1,0,prefix='$PYTHON_EXEC_PREFIX'))" 2>/dev/null ||
14698 echo "${PYTHON_EXEC_PREFIX}/lib/python${PYTHON_VERSION}/site-packages"`
14700 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_python_pyexecdir" >&5
14701 $as_echo "$am_cv_python_pyexecdir" >&6; }
14702 pyexecdir=$am_cv_python_pyexecdir
14706 pkgpyexecdir=\${pyexecdir}/$PACKAGE
14714 # check if we are building for python 3
14716 # split strings by '.' and convert to numeric. Append some zeros
14717 # because we need at least 4 digits for the hex conversion.
14718 # map returns an iterator in Python 3.0 and a list in 2.x
14719 minver = list(map(int, '3.0'.split('.'))) + [0, 0, 0]
14721 # xrange is not present in Python 3.0 and range returns an iterator
14722 for i in list(range(0, 4)): minverhex = (minverhex << 8) + minver[i]
14723 sys.exit(sys.hexversion < minverhex)"
14724 if { echo "$as_me:$LINENO: $PYTHON -c "$prog"" >&5
14725 ($PYTHON -c "$prog") >&5 2>&5
14727 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14728 (exit $ac_status); }; then :
14734 # if building for python 3 make sure we have the minimum version supported
14735 if test $build_py3k = true ; then
14736 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $PYTHON >= 3.1" >&5
14737 $as_echo_n "checking for $PYTHON >= 3.1... " >&6; }
14739 # split strings by '.' and convert to numeric. Append some zeros
14740 # because we need at least 4 digits for the hex conversion.
14741 # map returns an iterator in Python 3.0 and a list in 2.x
14742 minver = list(map(int, '3.1'.split('.'))) + [0, 0, 0]
14744 # xrange is not present in Python 3.0 and range returns an iterator
14745 for i in list(range(0, 4)): minverhex = (minverhex << 8) + minver[i]
14746 sys.exit(sys.hexversion < minverhex)"
14747 if { echo "$as_me:$LINENO: $PYTHON -c "$prog"" >&5
14748 ($PYTHON -c "$prog") >&5 2>&5
14750 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14751 (exit $ac_status); }; then :
14752 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
14753 $as_echo "yes" >&6; }
14755 as_fn_error $? "too old" "$LINENO" 5
14763 # Find any Python interpreter.
14764 if test -z "$PYTHON"; then
14765 for ac_prog in python python2 python3 python3.0 python2.5 python2.4 python2.3 python2.2 python2.1 python2.0
14767 # Extract the first word of "$ac_prog", so it can be a program name with args.
14768 set dummy $ac_prog; ac_word=$2
14769 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
14770 $as_echo_n "checking for $ac_word... " >&6; }
14771 if ${ac_cv_path_PYTHON+:} false; then :
14772 $as_echo_n "(cached) " >&6
14776 ac_cv_path_PYTHON="$PYTHON" # Let the user override the test with a path.
14779 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
14780 for as_dir in $PATH
14783 test -z "$as_dir" && as_dir=.
14784 for ac_exec_ext in '' $ac_executable_extensions; do
14785 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
14786 ac_cv_path_PYTHON="$as_dir/$ac_word$ac_exec_ext"
14787 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
14797 PYTHON=$ac_cv_path_PYTHON
14798 if test -n "$PYTHON"; then
14799 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PYTHON" >&5
14800 $as_echo "$PYTHON" >&6; }
14802 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
14803 $as_echo "no" >&6; }
14807 test -n "$PYTHON" && break
14809 test -n "$PYTHON" || PYTHON=":"
14812 am_display_PYTHON=python
14815 if test "$PYTHON" = :; then
14816 as_fn_error $? "no suitable Python interpreter found" "$LINENO" 5
14820 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $am_display_PYTHON version" >&5
14821 $as_echo_n "checking for $am_display_PYTHON version... " >&6; }
14822 if ${am_cv_python_version+:} false; then :
14823 $as_echo_n "(cached) " >&6
14825 am_cv_python_version=`$PYTHON -c "import sys; sys.stdout.write(sys.version[:3])"`
14827 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_python_version" >&5
14828 $as_echo "$am_cv_python_version" >&6; }
14829 PYTHON_VERSION=$am_cv_python_version
14833 PYTHON_PREFIX='${prefix}'
14835 PYTHON_EXEC_PREFIX='${exec_prefix}'
14839 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $am_display_PYTHON platform" >&5
14840 $as_echo_n "checking for $am_display_PYTHON platform... " >&6; }
14841 if ${am_cv_python_platform+:} false; then :
14842 $as_echo_n "(cached) " >&6
14844 am_cv_python_platform=`$PYTHON -c "import sys; sys.stdout.write(sys.platform)"`
14846 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_python_platform" >&5
14847 $as_echo "$am_cv_python_platform" >&6; }
14848 PYTHON_PLATFORM=$am_cv_python_platform
14853 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $am_display_PYTHON script directory" >&5
14854 $as_echo_n "checking for $am_display_PYTHON script directory... " >&6; }
14855 if ${am_cv_python_pythondir+:} false; then :
14856 $as_echo_n "(cached) " >&6
14858 if test "x$prefix" = xNONE
14860 am_py_prefix=$ac_default_prefix
14862 am_py_prefix=$prefix
14864 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 ||
14865 echo "$PYTHON_PREFIX/lib/python$PYTHON_VERSION/site-packages"`
14866 case $am_cv_python_pythondir in
14868 am__strip_prefix=`echo "$am_py_prefix" | sed 's|.|.|g'`
14869 am_cv_python_pythondir=`echo "$am_cv_python_pythondir" | sed "s,^$am__strip_prefix,$PYTHON_PREFIX,"`
14872 case $am_py_prefix in
14875 am_cv_python_pythondir=$PYTHON_PREFIX/lib/python$PYTHON_VERSION/site-packages
14882 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_python_pythondir" >&5
14883 $as_echo "$am_cv_python_pythondir" >&6; }
14884 pythondir=$am_cv_python_pythondir
14888 pkgpythondir=\${pythondir}/$PACKAGE
14891 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $am_display_PYTHON extension module directory" >&5
14892 $as_echo_n "checking for $am_display_PYTHON extension module directory... " >&6; }
14893 if ${am_cv_python_pyexecdir+:} false; then :
14894 $as_echo_n "(cached) " >&6
14896 if test "x$exec_prefix" = xNONE
14898 am_py_exec_prefix=$am_py_prefix
14900 am_py_exec_prefix=$exec_prefix
14902 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 ||
14903 echo "$PYTHON_EXEC_PREFIX/lib/python$PYTHON_VERSION/site-packages"`
14904 case $am_cv_python_pyexecdir in
14905 $am_py_exec_prefix*)
14906 am__strip_prefix=`echo "$am_py_exec_prefix" | sed 's|.|.|g'`
14907 am_cv_python_pyexecdir=`echo "$am_cv_python_pyexecdir" | sed "s,^$am__strip_prefix,$PYTHON_EXEC_PREFIX,"`
14910 case $am_py_exec_prefix in
14913 am_cv_python_pyexecdir=$PYTHON_EXEC_PREFIX/lib/python$PYTHON_VERSION/site-packages
14920 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_python_pyexecdir" >&5
14921 $as_echo "$am_cv_python_pyexecdir" >&6; }
14922 pyexecdir=$am_cv_python_pyexecdir
14926 pkgpyexecdir=\${pyexecdir}/$PACKAGE
14934 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for headers required to compile python extensions" >&5
14935 $as_echo_n "checking for headers required to compile python extensions... " >&6; }
14936 py_prefix=`$PYTHON -c "import sys; sys.stdout.write(sys.prefix)"`
14937 py_exec_prefix=`$PYTHON -c "import sys; sys.stdout.write(sys.exec_prefix)"`
14938 PYTHON_CONFIG=`which $PYTHON`-config
14939 if test -x "$PYTHON_CONFIG"; then
14940 PYTHON_INCLUDES=`$PYTHON_CONFIG --includes 2>/dev/null`
14942 PYTHON_INCLUDES="-I${py_prefix}/include/python${PYTHON_VERSION}"
14943 if test "$py_prefix" != "$py_exec_prefix"; then
14944 PYTHON_INCLUDES="$PYTHON_INCLUDES -I${py_exec_prefix}/include/python${PYTHON_VERSION}"
14948 save_CPPFLAGS="$CPPFLAGS"
14949 CPPFLAGS="$CPPFLAGS $PYTHON_INCLUDES"
14950 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14951 /* end confdefs.h. */
14952 #include <Python.h>
14954 if ac_fn_c_try_cpp "$LINENO"; then :
14955 { $as_echo "$as_me:${as_lineno-$LINENO}: result: found" >&5
14956 $as_echo "found" >&6; }
14959 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
14960 $as_echo "not found" >&6; }
14961 as_fn_error $? "could not find Python headers" "$LINENO" 5
14963 rm -f conftest.err conftest.i conftest.$ac_ext
14964 CPPFLAGS="$save_CPPFLAGS"
14967 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for PySignal_SetWakeupFd in Python.h" >&5
14968 $as_echo_n "checking for PySignal_SetWakeupFd in Python.h... " >&6; }
14969 old_CPPFLAGS=$CPPFLAGS
14970 CPPFLAGS="-Wall -Werror $PYTHON_INCLUDES"
14971 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14972 /* end confdefs.h. */
14973 #include <Python.h>
14977 PySignal_SetWakeupFd(0);
14982 if ac_fn_c_try_compile "$LINENO"; then :
14987 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
14988 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $setwakeupfd_ok" >&5
14989 $as_echo "$setwakeupfd_ok" >&6; }
14990 if test "x$setwakeupfd_ok" != xno; then
14992 $as_echo "#define HAVE_PYSIGNAL_SETWAKEUPFD 1" >>confdefs.h
14995 CPPFLAGS=$old_CPPFLAGS
14997 PLATFORM=`$PYTHON -c "import sys; from distutils import util; sys.stdout.write(util.get_platform())"`
15000 # Check whether --enable-thread was given.
15001 if test "${enable_thread+set}" = set; then :
15002 enableval=$enable_thread;
15008 # Check whether --enable-docs was given.
15009 if test "${enable_docs+set}" = set; then :
15010 enableval=$enable_docs; enable_docs=$enableval
15015 if test "${enable_docs}" != no; then
15016 # Extract the first word of "xsltproc", so it can be a program name with args.
15017 set dummy xsltproc; ac_word=$2
15018 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
15019 $as_echo_n "checking for $ac_word... " >&6; }
15020 if ${ac_cv_path_XSLTPROC+:} false; then :
15021 $as_echo_n "(cached) " >&6
15025 ac_cv_path_XSLTPROC="$XSLTPROC" # Let the user override the test with a path.
15028 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
15029 for as_dir in $PATH
15032 test -z "$as_dir" && as_dir=.
15033 for ac_exec_ext in '' $ac_executable_extensions; do
15034 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
15035 ac_cv_path_XSLTPROC="$as_dir/$ac_word$ac_exec_ext"
15036 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
15046 XSLTPROC=$ac_cv_path_XSLTPROC
15047 if test -n "$XSLTPROC"; then
15048 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $XSLTPROC" >&5
15049 $as_echo "$XSLTPROC" >&6; }
15051 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
15052 $as_echo "no" >&6; }
15056 if test -z "$XSLTPROC"; then
15062 if test x$enable_docs != xno; then
15064 ENABLE_DOCS_FALSE='#'
15066 ENABLE_DOCS_TRUE='#'
15072 py_mod_var=`echo thread'_' | sed 'y%./+-%__p_%'`
15073 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for python module thread" >&5
15074 $as_echo_n "checking for python module thread... " >&6; }
15075 if eval \${py_cv_mod_$py_mod_var+:} false; then :
15076 $as_echo_n "(cached) " >&6
15083 except ImportError:
15088 if $PYTHON -c "$prog" 1>&5 2>&5
15090 eval "py_cv_mod_$py_mod_var=yes"
15092 eval "py_cv_mod_$py_mod_var=no"
15097 py_val=`eval "echo \`echo '$py_cv_mod_'$py_mod_var\`"`
15098 if test "x$py_val" != xno; then
15099 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
15100 $as_echo "yes" >&6; }
15102 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
15103 $as_echo "no" >&6; }
15104 enable_thread=check_for_py3_module
15107 if test "x$enable_thread" = xcheck_for_py3_module; then
15109 py_mod_var=`echo _thread'_' | sed 'y%./+-%__p_%'`
15110 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for python module _thread" >&5
15111 $as_echo_n "checking for python module _thread... " >&6; }
15112 if eval \${py_cv_mod_$py_mod_var+:} false; then :
15113 $as_echo_n "(cached) " >&6
15120 except ImportError:
15125 if $PYTHON -c "$prog" 1>&5 2>&5
15127 eval "py_cv_mod_$py_mod_var=yes"
15129 eval "py_cv_mod_$py_mod_var=no"
15134 py_val=`eval "echo \`echo '$py_cv_mod_'$py_mod_var\`"`
15135 if test "x$py_val" != xno; then
15136 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
15137 $as_echo "yes" >&6; }
15139 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
15140 $as_echo "no" >&6; }
15146 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to enable threading in pygobject" >&5
15147 $as_echo_n "checking whether to enable threading in pygobject... " >&6; }
15148 if test "x$enable_thread" != xno; then
15151 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
15152 $as_echo "yes" >&6; }
15155 THREADING_CFLAGS="-DDISABLE_THREADING"
15156 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
15157 $as_echo "no" >&6; }
15160 CPPFLAGS="${CPPFLAGS} $THREADING_CFLAGS"
15162 export_dynamic=`(./libtool --config; echo eval echo \\$export_dynamic_flag_spec) | sh`
15164 # Check whether --enable-glibtest was given.
15165 if test "${enable_glibtest+set}" = set; then :
15166 enableval=$enable_glibtest;
15168 enable_glibtest=yes
15172 pkg_config_args=glib-2.0
15173 for module in . gobject $extra_mods
15177 pkg_config_args="$pkg_config_args gmodule-2.0"
15180 pkg_config_args="$pkg_config_args gmodule-no-export-2.0"
15183 pkg_config_args="$pkg_config_args gobject-2.0"
15186 pkg_config_args="$pkg_config_args gthread-2.0"
15189 pkg_config_args="$pkg_config_args $module-2.0"
15200 if test "x$ac_cv_env_PKG_CONFIG_set" != "xset"; then
15201 if test -n "$ac_tool_prefix"; then
15202 # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
15203 set dummy ${ac_tool_prefix}pkg-config; ac_word=$2
15204 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
15205 $as_echo_n "checking for $ac_word... " >&6; }
15206 if ${ac_cv_path_PKG_CONFIG+:} false; then :
15207 $as_echo_n "(cached) " >&6
15209 case $PKG_CONFIG in
15211 ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path.
15214 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
15215 for as_dir in $PATH
15218 test -z "$as_dir" && as_dir=.
15219 for ac_exec_ext in '' $ac_executable_extensions; do
15220 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
15221 ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
15222 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
15232 PKG_CONFIG=$ac_cv_path_PKG_CONFIG
15233 if test -n "$PKG_CONFIG"; then
15234 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PKG_CONFIG" >&5
15235 $as_echo "$PKG_CONFIG" >&6; }
15237 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
15238 $as_echo "no" >&6; }
15243 if test -z "$ac_cv_path_PKG_CONFIG"; then
15244 ac_pt_PKG_CONFIG=$PKG_CONFIG
15245 # Extract the first word of "pkg-config", so it can be a program name with args.
15246 set dummy pkg-config; ac_word=$2
15247 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
15248 $as_echo_n "checking for $ac_word... " >&6; }
15249 if ${ac_cv_path_ac_pt_PKG_CONFIG+:} false; then :
15250 $as_echo_n "(cached) " >&6
15252 case $ac_pt_PKG_CONFIG in
15254 ac_cv_path_ac_pt_PKG_CONFIG="$ac_pt_PKG_CONFIG" # Let the user override the test with a path.
15257 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
15258 for as_dir in $PATH
15261 test -z "$as_dir" && as_dir=.
15262 for ac_exec_ext in '' $ac_executable_extensions; do
15263 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
15264 ac_cv_path_ac_pt_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
15265 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
15275 ac_pt_PKG_CONFIG=$ac_cv_path_ac_pt_PKG_CONFIG
15276 if test -n "$ac_pt_PKG_CONFIG"; then
15277 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_pt_PKG_CONFIG" >&5
15278 $as_echo "$ac_pt_PKG_CONFIG" >&6; }
15280 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
15281 $as_echo "no" >&6; }
15284 if test "x$ac_pt_PKG_CONFIG" = x; then
15287 case $cross_compiling:$ac_tool_warned in
15289 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
15290 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
15291 ac_tool_warned=yes ;;
15293 PKG_CONFIG=$ac_pt_PKG_CONFIG
15296 PKG_CONFIG="$ac_cv_path_PKG_CONFIG"
15300 if test -n "$PKG_CONFIG"; then
15301 _pkg_min_version=0.16
15302 { $as_echo "$as_me:${as_lineno-$LINENO}: checking pkg-config is at least version $_pkg_min_version" >&5
15303 $as_echo_n "checking pkg-config is at least version $_pkg_min_version... " >&6; }
15304 if $PKG_CONFIG --atleast-pkgconfig-version $_pkg_min_version; then
15305 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
15306 $as_echo "yes" >&6; }
15308 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
15309 $as_echo "no" >&6; }
15316 if test "x$PKG_CONFIG" = x ; then
15321 min_glib_version=2.24.0
15322 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GLIB - version >= $min_glib_version" >&5
15323 $as_echo_n "checking for GLIB - version >= $min_glib_version... " >&6; }
15325 if test x$PKG_CONFIG != xno ; then
15326 ## don't try to run the test against uninstalled libtool libs
15327 if $PKG_CONFIG --uninstalled $pkg_config_args; then
15328 echo "Will use uninstalled version of GLib found in PKG_CONFIG_PATH"
15332 if $PKG_CONFIG --atleast-version $min_glib_version $pkg_config_args; then
15339 if test x"$no_glib" = x ; then
15340 GLIB_GENMARSHAL=`$PKG_CONFIG --variable=glib_genmarshal glib-2.0`
15341 GOBJECT_QUERY=`$PKG_CONFIG --variable=gobject_query glib-2.0`
15342 GLIB_MKENUMS=`$PKG_CONFIG --variable=glib_mkenums glib-2.0`
15344 GLIB_CFLAGS=`$PKG_CONFIG --cflags $pkg_config_args`
15345 GLIB_LIBS=`$PKG_CONFIG --libs $pkg_config_args`
15346 glib_config_major_version=`$PKG_CONFIG --modversion glib-2.0 | \
15347 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\1/'`
15348 glib_config_minor_version=`$PKG_CONFIG --modversion glib-2.0 | \
15349 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\2/'`
15350 glib_config_micro_version=`$PKG_CONFIG --modversion glib-2.0 | \
15351 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\3/'`
15352 if test "x$enable_glibtest" = "xyes" ; then
15353 ac_save_CFLAGS="$CFLAGS"
15354 ac_save_LIBS="$LIBS"
15355 CFLAGS="$CFLAGS $GLIB_CFLAGS"
15356 LIBS="$GLIB_LIBS $LIBS"
15357 rm -f conf.glibtest
15358 if test "$cross_compiling" = yes; then :
15359 echo $ac_n "cross compiling; assumed OK... $ac_c"
15361 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15362 /* end confdefs.h. */
15366 #include <stdlib.h>
15371 unsigned int major, minor, micro;
15374 fclose (fopen ("conf.glibtest", "w"));
15376 /* HP/UX 9 (%@#!) writes to sscanf strings */
15377 tmp_version = g_strdup("$min_glib_version");
15378 if (sscanf(tmp_version, "%u.%u.%u", &major, &minor, µ) != 3) {
15379 printf("%s, bad version string\n", "$min_glib_version");
15383 if ((glib_major_version != $glib_config_major_version) ||
15384 (glib_minor_version != $glib_config_minor_version) ||
15385 (glib_micro_version != $glib_config_micro_version))
15387 printf("\n*** 'pkg-config --modversion glib-2.0' returned %d.%d.%d, but GLIB (%d.%d.%d)\n",
15388 $glib_config_major_version, $glib_config_minor_version, $glib_config_micro_version,
15389 glib_major_version, glib_minor_version, glib_micro_version);
15390 printf ("*** was found! If pkg-config was correct, then it is best\n");
15391 printf ("*** to remove the old version of GLib. You may also be able to fix the error\n");
15392 printf("*** by modifying your LD_LIBRARY_PATH enviroment variable, or by editing\n");
15393 printf("*** /etc/ld.so.conf. Make sure you have run ldconfig if that is\n");
15394 printf("*** required on your system.\n");
15395 printf("*** If pkg-config was wrong, set the environment variable PKG_CONFIG_PATH\n");
15396 printf("*** to point to the correct configuration files\n");
15398 else if ((glib_major_version != GLIB_MAJOR_VERSION) ||
15399 (glib_minor_version != GLIB_MINOR_VERSION) ||
15400 (glib_micro_version != GLIB_MICRO_VERSION))
15402 printf("*** GLIB header files (version %d.%d.%d) do not match\n",
15403 GLIB_MAJOR_VERSION, GLIB_MINOR_VERSION, GLIB_MICRO_VERSION);
15404 printf("*** library (version %d.%d.%d)\n",
15405 glib_major_version, glib_minor_version, glib_micro_version);
15409 if ((glib_major_version > major) ||
15410 ((glib_major_version == major) && (glib_minor_version > minor)) ||
15411 ((glib_major_version == major) && (glib_minor_version == minor) && (glib_micro_version >= micro)))
15417 printf("\n*** An old version of GLIB (%u.%u.%u) was found.\n",
15418 glib_major_version, glib_minor_version, glib_micro_version);
15419 printf("*** You need a version of GLIB newer than %u.%u.%u. The latest version of\n",
15420 major, minor, micro);
15421 printf("*** GLIB is always available from ftp://ftp.gtk.org.\n");
15423 printf("*** If you have already installed a sufficiently new version, this error\n");
15424 printf("*** probably means that the wrong copy of the pkg-config shell script is\n");
15425 printf("*** being found. The easiest way to fix this is to remove the old version\n");
15426 printf("*** of GLIB, but you can also set the PKG_CONFIG environment to point to the\n");
15427 printf("*** correct copy of pkg-config. (In this case, you will have to\n");
15428 printf("*** modify your LD_LIBRARY_PATH enviroment variable, or edit /etc/ld.so.conf\n");
15429 printf("*** so that the correct libraries are found at run-time))\n");
15436 if ac_fn_c_try_run "$LINENO"; then :
15441 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
15442 conftest.$ac_objext conftest.beam conftest.$ac_ext
15445 CFLAGS="$ac_save_CFLAGS"
15446 LIBS="$ac_save_LIBS"
15449 if test "x$no_glib" = x ; then
15450 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes (version $glib_config_major_version.$glib_config_minor_version.$glib_config_micro_version)" >&5
15451 $as_echo "yes (version $glib_config_major_version.$glib_config_minor_version.$glib_config_micro_version)" >&6; }
15454 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
15455 $as_echo "no" >&6; }
15456 if test "$PKG_CONFIG" = "no" ; then
15457 echo "*** A new enough version of pkg-config was not found."
15458 echo "*** See http://www.freedesktop.org/software/pkgconfig/"
15460 if test -f conf.glibtest ; then
15463 echo "*** Could not run GLIB test program, checking why..."
15464 ac_save_CFLAGS="$CFLAGS"
15465 ac_save_LIBS="$LIBS"
15466 CFLAGS="$CFLAGS $GLIB_CFLAGS"
15467 LIBS="$LIBS $GLIB_LIBS"
15468 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15469 /* end confdefs.h. */
15477 return ((glib_major_version) || (glib_minor_version) || (glib_micro_version));
15482 if ac_fn_c_try_link "$LINENO"; then :
15483 echo "*** The test program compiled, but did not run. This usually means"
15484 echo "*** that the run-time linker is not finding GLIB or finding the wrong"
15485 echo "*** version of GLIB. If it is not finding GLIB, you'll need to set your"
15486 echo "*** LD_LIBRARY_PATH environment variable, or edit /etc/ld.so.conf to point"
15487 echo "*** to the installed location Also, make sure you have run ldconfig if that"
15488 echo "*** is required on your system"
15490 echo "*** If you have an old version installed, it is best to remove it, although"
15491 echo "*** you may also be able to get things to work by modifying LD_LIBRARY_PATH"
15493 echo "*** The test program failed to compile or link. See the file config.log for the"
15494 echo "*** exact error that occured. This usually means GLIB is incorrectly installed."
15496 rm -f core conftest.err conftest.$ac_objext \
15497 conftest$ac_exeext conftest.$ac_ext
15498 CFLAGS="$ac_save_CFLAGS"
15499 LIBS="$ac_save_LIBS"
15507 as_fn_error $? "maybe you want the pygobject-2-4 branch?" "$LINENO" 5
15514 rm -f conf.glibtest
15516 if test -n "$export_dynamic"; then
15517 GLIB_LIBS=`echo $GLIB_LIBS | sed -e "s/$export_dynamic//"`
15519 PYTHON_BASENAME=`basename $PYTHON`
15522 pygobject_CODEGEN_DEFINES=""
15529 prefix_save=$prefix
15530 exec_prefix_save=$exec_prefix
15532 if test "x$prefix" = "xNONE"; then
15533 prefix=$ac_default_prefix
15535 if test "x$exec_prefix" = "xNONE"; then
15536 exec_prefix=$prefix
15539 full_var="$FROM_VAR"
15541 new_full_var="`eval echo $full_var`"
15542 if test "x$new_full_var"="x$full_var"; then break; fi
15543 full_var=$new_full_var
15546 full_var=$new_full_var
15547 DATADIR="$full_var"
15550 prefix=$prefix_save
15551 exec_prefix=$exec_prefix_save
15554 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ffi" >&5
15555 $as_echo_n "checking for ffi... " >&6; }
15557 # Check whether --with-ffi was given.
15558 if test "${with_ffi+set}" = set; then :
15559 withval=$with_ffi; with_libffi=$withval
15564 if test x"$with_libffi" = xno ; then
15569 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for FFI" >&5
15570 $as_echo_n "checking for FFI... " >&6; }
15572 if test -n "$FFI_CFLAGS"; then
15573 pkg_cv_FFI_CFLAGS="$FFI_CFLAGS"
15574 elif test -n "$PKG_CONFIG"; then
15575 if test -n "$PKG_CONFIG" && \
15576 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"libffi >= 3.0\""; } >&5
15577 ($PKG_CONFIG --exists --print-errors "libffi >= 3.0") 2>&5
15579 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
15580 test $ac_status = 0; }; then
15581 pkg_cv_FFI_CFLAGS=`$PKG_CONFIG --cflags "libffi >= 3.0" 2>/dev/null`
15588 if test -n "$FFI_LIBS"; then
15589 pkg_cv_FFI_LIBS="$FFI_LIBS"
15590 elif test -n "$PKG_CONFIG"; then
15591 if test -n "$PKG_CONFIG" && \
15592 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"libffi >= 3.0\""; } >&5
15593 ($PKG_CONFIG --exists --print-errors "libffi >= 3.0") 2>&5
15595 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
15596 test $ac_status = 0; }; then
15597 pkg_cv_FFI_LIBS=`$PKG_CONFIG --libs "libffi >= 3.0" 2>/dev/null`
15607 if test $pkg_failed = yes; then
15608 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
15609 $as_echo "no" >&6; }
15611 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
15612 _pkg_short_errors_supported=yes
15614 _pkg_short_errors_supported=no
15616 if test $_pkg_short_errors_supported = yes; then
15617 FFI_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors "libffi >= 3.0" 2>&1`
15619 FFI_PKG_ERRORS=`$PKG_CONFIG --print-errors "libffi >= 3.0" 2>&1`
15621 # Put the nasty error message in config.log where it belongs
15622 echo "$FFI_PKG_ERRORS" >&5
15625 elif test $pkg_failed = untried; then
15626 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
15627 $as_echo "no" >&6; }
15630 FFI_CFLAGS=$pkg_cv_FFI_CFLAGS
15631 FFI_LIBS=$pkg_cv_FFI_LIBS
15632 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
15633 $as_echo "yes" >&6; }
15637 if test x"$with_libffi" = xyes && test x"$have_libffi" = xno ; then
15638 as_fn_error $? "ffi requested, but not found" "$LINENO" 5
15640 if test x"$have_libffi" = xyes; then
15642 $as_echo "#define HAVE_FFI_H 1" >>confdefs.h
15646 if test "$have_libffi" = "yes"; then
15648 HAVE_LIBFFI_FALSE='#'
15650 HAVE_LIBFFI_TRUE='#'
15660 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GIO" >&5
15661 $as_echo_n "checking for GIO... " >&6; }
15663 if test -n "$GIO_CFLAGS"; then
15664 pkg_cv_GIO_CFLAGS="$GIO_CFLAGS"
15665 elif test -n "$PKG_CONFIG"; then
15666 if test -n "$PKG_CONFIG" && \
15667 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"gio-2.0 >= 2.24.0\""; } >&5
15668 ($PKG_CONFIG --exists --print-errors "gio-2.0 >= 2.24.0") 2>&5
15670 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
15671 test $ac_status = 0; }; then
15672 pkg_cv_GIO_CFLAGS=`$PKG_CONFIG --cflags "gio-2.0 >= 2.24.0" 2>/dev/null`
15679 if test -n "$GIO_LIBS"; then
15680 pkg_cv_GIO_LIBS="$GIO_LIBS"
15681 elif test -n "$PKG_CONFIG"; then
15682 if test -n "$PKG_CONFIG" && \
15683 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"gio-2.0 >= 2.24.0\""; } >&5
15684 ($PKG_CONFIG --exists --print-errors "gio-2.0 >= 2.24.0") 2>&5
15686 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
15687 test $ac_status = 0; }; then
15688 pkg_cv_GIO_LIBS=`$PKG_CONFIG --libs "gio-2.0 >= 2.24.0" 2>/dev/null`
15698 if test $pkg_failed = yes; then
15699 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
15700 $as_echo "no" >&6; }
15702 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
15703 _pkg_short_errors_supported=yes
15705 _pkg_short_errors_supported=no
15707 if test $_pkg_short_errors_supported = yes; then
15708 GIO_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors "gio-2.0 >= 2.24.0" 2>&1`
15710 GIO_PKG_ERRORS=`$PKG_CONFIG --print-errors "gio-2.0 >= 2.24.0" 2>&1`
15712 # Put the nasty error message in config.log where it belongs
15713 echo "$GIO_PKG_ERRORS" >&5
15716 elif test $pkg_failed = untried; then
15717 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
15718 $as_echo "no" >&6; }
15721 GIO_CFLAGS=$pkg_cv_GIO_CFLAGS
15722 GIO_LIBS=$pkg_cv_GIO_LIBS
15723 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
15724 $as_echo "yes" >&6; }
15730 # Do not build GIO if the python version >= 3.0
15731 # We use GI to access GIO in python 3
15732 if test $have_gio = true -a $build_py3k = false; then
15734 BUILD_GIO_FALSE='#'
15741 if test -n "$export_dynamic"; then
15742 GIO_LIBS=`echo $GIO_LIBS | sed -e "s/$export_dynamic//"`
15747 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GIOUNIX" >&5
15748 $as_echo_n "checking for GIOUNIX... " >&6; }
15750 if test -n "$GIOUNIX_CFLAGS"; then
15751 pkg_cv_GIOUNIX_CFLAGS="$GIOUNIX_CFLAGS"
15752 elif test -n "$PKG_CONFIG"; then
15753 if test -n "$PKG_CONFIG" && \
15754 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"gio-unix-2.0 >= 2.22.4\""; } >&5
15755 ($PKG_CONFIG --exists --print-errors "gio-unix-2.0 >= 2.22.4") 2>&5
15757 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
15758 test $ac_status = 0; }; then
15759 pkg_cv_GIOUNIX_CFLAGS=`$PKG_CONFIG --cflags "gio-unix-2.0 >= 2.22.4" 2>/dev/null`
15766 if test -n "$GIOUNIX_LIBS"; then
15767 pkg_cv_GIOUNIX_LIBS="$GIOUNIX_LIBS"
15768 elif test -n "$PKG_CONFIG"; then
15769 if test -n "$PKG_CONFIG" && \
15770 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"gio-unix-2.0 >= 2.22.4\""; } >&5
15771 ($PKG_CONFIG --exists --print-errors "gio-unix-2.0 >= 2.22.4") 2>&5
15773 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
15774 test $ac_status = 0; }; then
15775 pkg_cv_GIOUNIX_LIBS=`$PKG_CONFIG --libs "gio-unix-2.0 >= 2.22.4" 2>/dev/null`
15785 if test $pkg_failed = yes; then
15786 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
15787 $as_echo "no" >&6; }
15789 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
15790 _pkg_short_errors_supported=yes
15792 _pkg_short_errors_supported=no
15794 if test $_pkg_short_errors_supported = yes; then
15795 GIOUNIX_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors "gio-unix-2.0 >= 2.22.4" 2>&1`
15797 GIOUNIX_PKG_ERRORS=`$PKG_CONFIG --print-errors "gio-unix-2.0 >= 2.22.4" 2>&1`
15799 # Put the nasty error message in config.log where it belongs
15800 echo "$GIOUNIX_PKG_ERRORS" >&5
15803 elif test $pkg_failed = untried; then
15804 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
15805 $as_echo "no" >&6; }
15808 GIOUNIX_CFLAGS=$pkg_cv_GIOUNIX_CFLAGS
15809 GIOUNIX_LIBS=$pkg_cv_GIOUNIX_LIBS
15810 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
15811 $as_echo "yes" >&6; }
15816 if test $have_giounix = true -a $build_py3k = false; then
15817 BUILD_GIOUNIX_TRUE=
15818 BUILD_GIOUNIX_FALSE='#'
15820 BUILD_GIOUNIX_TRUE='#'
15821 BUILD_GIOUNIX_FALSE=
15824 if test -n "$export_dynamic"; then
15825 GIOUNIX_LIBS=`echo $GIOUNIX_LIBS | sed -e "s/$export_dynamic//"`
15828 # Check whether --enable-cairo was given.
15829 if test "${enable_cairo+set}" = set; then :
15830 enableval=$enable_cairo; enable_cairo=$enableval
15836 # Check whether --enable-introspection was given.
15837 if test "${enable_introspection+set}" = set; then :
15838 enableval=$enable_introspection; enable_introspection=$enableval
15840 enable_introspection=yes
15843 if test "$enable_introspection" != no; then
15845 $as_echo "#define ENABLE_INTROSPECTION 1" >>confdefs.h
15849 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GI" >&5
15850 $as_echo_n "checking for GI... " >&6; }
15852 if test -n "$GI_CFLAGS"; then
15853 pkg_cv_GI_CFLAGS="$GI_CFLAGS"
15854 elif test -n "$PKG_CONFIG"; then
15855 if test -n "$PKG_CONFIG" && \
15856 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"glib-2.0 >= 2.24.0
15857 gobject-introspection-1.0 >= 0.10.2
15859 ($PKG_CONFIG --exists --print-errors "glib-2.0 >= 2.24.0
15860 gobject-introspection-1.0 >= 0.10.2
15863 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
15864 test $ac_status = 0; }; then
15865 pkg_cv_GI_CFLAGS=`$PKG_CONFIG --cflags "glib-2.0 >= 2.24.0
15866 gobject-introspection-1.0 >= 0.10.2
15874 if test -n "$GI_LIBS"; then
15875 pkg_cv_GI_LIBS="$GI_LIBS"
15876 elif test -n "$PKG_CONFIG"; then
15877 if test -n "$PKG_CONFIG" && \
15878 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"glib-2.0 >= 2.24.0
15879 gobject-introspection-1.0 >= 0.10.2
15881 ($PKG_CONFIG --exists --print-errors "glib-2.0 >= 2.24.0
15882 gobject-introspection-1.0 >= 0.10.2
15885 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
15886 test $ac_status = 0; }; then
15887 pkg_cv_GI_LIBS=`$PKG_CONFIG --libs "glib-2.0 >= 2.24.0
15888 gobject-introspection-1.0 >= 0.10.2
15899 if test $pkg_failed = yes; then
15900 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
15901 $as_echo "no" >&6; }
15903 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
15904 _pkg_short_errors_supported=yes
15906 _pkg_short_errors_supported=no
15908 if test $_pkg_short_errors_supported = yes; then
15909 GI_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors "glib-2.0 >= 2.24.0
15910 gobject-introspection-1.0 >= 0.10.2
15913 GI_PKG_ERRORS=`$PKG_CONFIG --print-errors "glib-2.0 >= 2.24.0
15914 gobject-introspection-1.0 >= 0.10.2
15917 # Put the nasty error message in config.log where it belongs
15918 echo "$GI_PKG_ERRORS" >&5
15920 as_fn_error $? "Package requirements (glib-2.0 >= 2.24.0
15921 gobject-introspection-1.0 >= 0.10.2
15926 Consider adjusting the PKG_CONFIG_PATH environment variable if you
15927 installed software in a non-standard prefix.
15929 Alternatively, you may set the environment variables GI_CFLAGS
15930 and GI_LIBS to avoid the need to call pkg-config.
15931 See the pkg-config man page for more details." "$LINENO" 5
15933 elif test $pkg_failed = untried; then
15934 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
15935 $as_echo "no" >&6; }
15936 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
15937 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
15938 as_fn_error $? "The pkg-config script could not be found or is too old. Make sure it
15939 is in your PATH or set the PKG_CONFIG environment variable to the full
15940 path to pkg-config.
15942 Alternatively, you may set the environment variables GI_CFLAGS
15943 and GI_LIBS to avoid the need to call pkg-config.
15944 See the pkg-config man page for more details.
15946 To get pkg-config, see <http://pkg-config.freedesktop.org/>.
15947 See \`config.log' for more details" "$LINENO" 5; }
15950 GI_CFLAGS=$pkg_cv_GI_CFLAGS
15951 GI_LIBS=$pkg_cv_GI_LIBS
15952 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
15953 $as_echo "yes" >&6; }
15957 GI_DATADIR=$($PKG_CONFIG --variable=gidatadir gobject-introspection-1.0)
15960 if test "$enable_cairo" != no; then
15963 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for PYCAIRO" >&5
15964 $as_echo_n "checking for PYCAIRO... " >&6; }
15966 if test -n "$PYCAIRO_CFLAGS"; then
15967 pkg_cv_PYCAIRO_CFLAGS="$PYCAIRO_CFLAGS"
15968 elif test -n "$PKG_CONFIG"; then
15969 if test -n "$PKG_CONFIG" && \
15970 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"pycairo >= 1.2.0
15972 ($PKG_CONFIG --exists --print-errors "pycairo >= 1.2.0
15975 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
15976 test $ac_status = 0; }; then
15977 pkg_cv_PYCAIRO_CFLAGS=`$PKG_CONFIG --cflags "pycairo >= 1.2.0
15985 if test -n "$PYCAIRO_LIBS"; then
15986 pkg_cv_PYCAIRO_LIBS="$PYCAIRO_LIBS"
15987 elif test -n "$PKG_CONFIG"; then
15988 if test -n "$PKG_CONFIG" && \
15989 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"pycairo >= 1.2.0
15991 ($PKG_CONFIG --exists --print-errors "pycairo >= 1.2.0
15994 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
15995 test $ac_status = 0; }; then
15996 pkg_cv_PYCAIRO_LIBS=`$PKG_CONFIG --libs "pycairo >= 1.2.0
16007 if test $pkg_failed = yes; then
16008 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
16009 $as_echo "no" >&6; }
16011 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
16012 _pkg_short_errors_supported=yes
16014 _pkg_short_errors_supported=no
16016 if test $_pkg_short_errors_supported = yes; then
16017 PYCAIRO_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors "pycairo >= 1.2.0
16020 PYCAIRO_PKG_ERRORS=`$PKG_CONFIG --print-errors "pycairo >= 1.2.0
16023 # Put the nasty error message in config.log where it belongs
16024 echo "$PYCAIRO_PKG_ERRORS" >&5
16026 as_fn_error $? "Package requirements (pycairo >= 1.2.0
16029 $PYCAIRO_PKG_ERRORS
16031 Consider adjusting the PKG_CONFIG_PATH environment variable if you
16032 installed software in a non-standard prefix.
16034 Alternatively, you may set the environment variables PYCAIRO_CFLAGS
16035 and PYCAIRO_LIBS to avoid the need to call pkg-config.
16036 See the pkg-config man page for more details." "$LINENO" 5
16038 elif test $pkg_failed = untried; then
16039 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
16040 $as_echo "no" >&6; }
16041 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
16042 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
16043 as_fn_error $? "The pkg-config script could not be found or is too old. Make sure it
16044 is in your PATH or set the PKG_CONFIG environment variable to the full
16045 path to pkg-config.
16047 Alternatively, you may set the environment variables PYCAIRO_CFLAGS
16048 and PYCAIRO_LIBS to avoid the need to call pkg-config.
16049 See the pkg-config man page for more details.
16051 To get pkg-config, see <http://pkg-config.freedesktop.org/>.
16052 See \`config.log' for more details" "$LINENO" 5; }
16055 PYCAIRO_CFLAGS=$pkg_cv_PYCAIRO_CFLAGS
16056 PYCAIRO_LIBS=$pkg_cv_PYCAIRO_LIBS
16057 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
16058 $as_echo "yes" >&6; }
16063 if test "$enable_introspection" = "yes"; then
16064 ENABLE_INTROSPECTION_TRUE=
16065 ENABLE_INTROSPECTION_FALSE='#'
16067 ENABLE_INTROSPECTION_TRUE='#'
16068 ENABLE_INTROSPECTION_FALSE=
16071 if test "$enable_cairo" = "yes"; then
16073 ENABLE_CAIRO_FALSE='#'
16075 ENABLE_CAIRO_TRUE='#'
16076 ENABLE_CAIRO_FALSE=
16080 INTROSPECTION_SCANNER=`$PKG_CONFIG --variable=g_ir_scanner gobject-introspection-1.0`
16081 INTROSPECTION_COMPILER=`$PKG_CONFIG --variable=g_ir_compiler gobject-introspection-1.0`
16086 if test "x$GCC" = "xyes"; then
16088 case " $CFLAGS " in
16089 *[\ \ ]-Wall[\ \ ]*)
16092 save_CFLAGS="$CFLAGS"
16093 CFLAGS="$CFLAGS -Wall"
16094 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC understands -Wall" >&5
16095 $as_echo_n "checking whether $CC understands -Wall... " >&6; }
16096 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16097 /* end confdefs.h. */
16107 if ac_fn_c_try_compile "$LINENO"; then :
16112 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16113 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $jh_has_option" >&5
16114 $as_echo "$jh_has_option" >&6; }
16115 if test $jh_has_option = no; then
16116 CFLAGS="$save_CFLAGS"
16121 case " $CFLAGS " in
16122 *[\ \ ]-fno-strict-aliasing[\ \ ]*)
16125 save_CFLAGS="$CFLAGS"
16126 CFLAGS="$CFLAGS -fno-strict-aliasing"
16127 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC understands -fno-strict-aliasing" >&5
16128 $as_echo_n "checking whether $CC understands -fno-strict-aliasing... " >&6; }
16129 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16130 /* end confdefs.h. */
16140 if ac_fn_c_try_compile "$LINENO"; then :
16145 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16146 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $jh_has_option" >&5
16147 $as_echo "$jh_has_option" >&6; }
16148 if test $jh_has_option = no; then
16149 CFLAGS="$save_CFLAGS"
16159 case " $CFLAGS " in
16160 *[\ \ ]-std=c9x[\ \ ]*)
16163 save_CFLAGS="$CFLAGS"
16164 CFLAGS="$CFLAGS -std=c9x"
16165 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC understands -std=c9x" >&5
16166 $as_echo_n "checking whether $CC understands -std=c9x... " >&6; }
16167 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16168 /* end confdefs.h. */
16178 if ac_fn_c_try_compile "$LINENO"; then :
16183 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16184 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $jh_has_option" >&5
16185 $as_echo "$jh_has_option" >&6; }
16186 if test $jh_has_option = no; then
16187 CFLAGS="$save_CFLAGS"
16196 ac_config_files="$ac_config_files Makefile pygobject-2.0.pc pygobject-2.0-uninstalled.pc codegen/Makefile codegen/pygobject-codegen-2.0 docs/Makefile docs/reference/entities.docbook docs/xsl/fixxref.py gi/Makefile gi/repository/Makefile gi/overrides/Makefile glib/Makefile gobject/Makefile gio/Makefile examples/Makefile tests/Makefile PKG-INFO"
16198 cat >confcache <<\_ACEOF
16199 # This file is a shell script that caches the results of configure
16200 # tests run on this system so they can be shared between configure
16201 # scripts and configure runs, see configure's option --config-cache.
16202 # It is not useful on other systems. If it contains results you don't
16203 # want to keep, you may remove or edit it.
16205 # config.status only pays attention to the cache file if you give it
16206 # the --recheck option to rerun configure.
16208 # `ac_cv_env_foo' variables (set or unset) will be overridden when
16209 # loading this file, other *unset* `ac_cv_foo' will be assigned the
16210 # following values.
16214 # The following way of writing the cache mishandles newlines in values,
16215 # but we know of no workaround that is simple, portable, and efficient.
16216 # So, we kill variables containing newlines.
16217 # Ultrix sh set writes to stderr and can't be redirected directly,
16218 # and sets the high bit in the cache file unless we assign to the vars.
16220 for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
16221 eval ac_val=\$$ac_var
16225 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
16226 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
16229 _ | IFS | as_nl) ;; #(
16230 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
16231 *) { eval $ac_var=; unset $ac_var;} ;;
16237 case $as_nl`(ac_space=' '; set) 2>&1` in #(
16238 *${as_nl}ac_space=\ *)
16239 # `set' does not quote correctly, so add quotes: double-quote
16240 # substitution turns \\\\ into \\, and sed turns \\ into \.
16243 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
16246 # `set' quotes correctly as required by POSIX, so do not add quotes.
16247 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
16256 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
16258 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
16260 if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
16261 if test -w "$cache_file"; then
16262 if test "x$cache_file" != "x/dev/null"; then
16263 { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
16264 $as_echo "$as_me: updating cache $cache_file" >&6;}
16265 if test ! -f "$cache_file" || test -h "$cache_file"; then
16266 cat confcache >"$cache_file"
16268 case $cache_file in #(
16270 mv -f confcache "$cache_file"$$ &&
16271 mv -f "$cache_file"$$ "$cache_file" ;; #(
16273 mv -f confcache "$cache_file" ;;
16278 { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
16279 $as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
16284 test "x$prefix" = xNONE && prefix=$ac_default_prefix
16285 # Let make expand exec_prefix.
16286 test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
16288 DEFS=-DHAVE_CONFIG_H
16293 for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
16294 # 1. Remove the extension, and $U if already installed.
16295 ac_script='s/\$U\././;s/\.o$//;s/\.obj$//'
16296 ac_i=`$as_echo "$ac_i" | sed "$ac_script"`
16297 # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR
16298 # will be set to the directory where LIBOBJS objects are built.
16299 as_fn_append ac_libobjs " \${LIBOBJDIR}$ac_i\$U.$ac_objext"
16300 as_fn_append ac_ltlibobjs " \${LIBOBJDIR}$ac_i"'$U.lo'
16302 LIBOBJS=$ac_libobjs
16304 LTLIBOBJS=$ac_ltlibobjs
16307 if test -n "$EXEEXT"; then
16309 am__EXEEXT_FALSE='#'
16311 am__EXEEXT_TRUE='#'
16315 if test -z "${MAINTAINER_MODE_TRUE}" && test -z "${MAINTAINER_MODE_FALSE}"; then
16316 as_fn_error $? "conditional \"MAINTAINER_MODE\" was never defined.
16317 Usually this means the macro was only invoked conditionally." "$LINENO" 5
16319 if test -z "${PLATFORM_WIN32_TRUE}" && test -z "${PLATFORM_WIN32_FALSE}"; then
16320 as_fn_error $? "conditional \"PLATFORM_WIN32\" was never defined.
16321 Usually this means the macro was only invoked conditionally." "$LINENO" 5
16323 if test -z "${OS_WIN32_TRUE}" && test -z "${OS_WIN32_FALSE}"; then
16324 as_fn_error $? "conditional \"OS_WIN32\" was never defined.
16325 Usually this means the macro was only invoked conditionally." "$LINENO" 5
16327 if test -z "${AMDEP_TRUE}" && test -z "${AMDEP_FALSE}"; then
16328 as_fn_error $? "conditional \"AMDEP\" was never defined.
16329 Usually this means the macro was only invoked conditionally." "$LINENO" 5
16331 if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
16332 as_fn_error $? "conditional \"am__fastdepCC\" was never defined.
16333 Usually this means the macro was only invoked conditionally." "$LINENO" 5
16335 if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
16336 as_fn_error $? "conditional \"am__fastdepCC\" was never defined.
16337 Usually this means the macro was only invoked conditionally." "$LINENO" 5
16339 if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
16340 as_fn_error $? "conditional \"am__fastdepCC\" was never defined.
16341 Usually this means the macro was only invoked conditionally." "$LINENO" 5
16343 if test -z "${ENABLE_DOCS_TRUE}" && test -z "${ENABLE_DOCS_FALSE}"; then
16344 as_fn_error $? "conditional \"ENABLE_DOCS\" was never defined.
16345 Usually this means the macro was only invoked conditionally." "$LINENO" 5
16347 if test -z "${HAVE_LIBFFI_TRUE}" && test -z "${HAVE_LIBFFI_FALSE}"; then
16348 as_fn_error $? "conditional \"HAVE_LIBFFI\" was never defined.
16349 Usually this means the macro was only invoked conditionally." "$LINENO" 5
16351 if test -z "${BUILD_GIO_TRUE}" && test -z "${BUILD_GIO_FALSE}"; then
16352 as_fn_error $? "conditional \"BUILD_GIO\" was never defined.
16353 Usually this means the macro was only invoked conditionally." "$LINENO" 5
16355 if test -z "${BUILD_GIOUNIX_TRUE}" && test -z "${BUILD_GIOUNIX_FALSE}"; then
16356 as_fn_error $? "conditional \"BUILD_GIOUNIX\" was never defined.
16357 Usually this means the macro was only invoked conditionally." "$LINENO" 5
16359 if test -z "${ENABLE_INTROSPECTION_TRUE}" && test -z "${ENABLE_INTROSPECTION_FALSE}"; then
16360 as_fn_error $? "conditional \"ENABLE_INTROSPECTION\" was never defined.
16361 Usually this means the macro was only invoked conditionally." "$LINENO" 5
16363 if test -z "${ENABLE_CAIRO_TRUE}" && test -z "${ENABLE_CAIRO_FALSE}"; then
16364 as_fn_error $? "conditional \"ENABLE_CAIRO\" was never defined.
16365 Usually this means the macro was only invoked conditionally." "$LINENO" 5
16368 : "${CONFIG_STATUS=./config.status}"
16370 ac_clean_files_save=$ac_clean_files
16371 ac_clean_files="$ac_clean_files $CONFIG_STATUS"
16372 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5
16373 $as_echo "$as_me: creating $CONFIG_STATUS" >&6;}
16375 cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1
16377 # Generated by $as_me.
16378 # Run this file to recreate the current configuration.
16379 # Compiler output produced by configure, useful for debugging
16380 # configure, is in config.log if it exists.
16383 ac_cs_recheck=false
16386 SHELL=\${CONFIG_SHELL-$SHELL}
16389 cat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail=1
16390 ## -------------------- ##
16391 ## M4sh Initialization. ##
16392 ## -------------------- ##
16394 # Be more Bourne compatible
16395 DUALCASE=1; export DUALCASE # for MKS sh
16396 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :
16399 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
16400 # is contrary to our usage. Disable this feature.
16401 alias -g '${1+"$@"}'='"$@"'
16402 setopt NO_GLOB_SUBST
16404 case `(set -o) 2>/dev/null` in #(
16416 # Printing a long string crashes Solaris 7 /usr/bin/printf.
16417 as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
16418 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
16419 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
16420 # Prefer a ksh shell builtin over an external printf program on Solaris,
16421 # but without wasting forks for bash or zsh.
16422 if test -z "$BASH_VERSION$ZSH_VERSION" \
16423 && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
16424 as_echo='print -r --'
16425 as_echo_n='print -rn --'
16426 elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
16427 as_echo='printf %s\n'
16428 as_echo_n='printf %s'
16430 if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
16431 as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
16432 as_echo_n='/usr/ucb/echo -n'
16434 as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
16435 as_echo_n_body='eval
16439 expr "X$arg" : "X\\(.*\\)$as_nl";
16440 arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
16442 expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
16444 export as_echo_n_body
16445 as_echo_n='sh -c $as_echo_n_body as_echo'
16447 export as_echo_body
16448 as_echo='sh -c $as_echo_body as_echo'
16451 # The user is always right.
16452 if test "${PATH_SEPARATOR+set}" != set; then
16454 (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
16455 (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
16462 # We need space, tab and new line, in precisely that order. Quoting is
16463 # there to prevent editors from complaining about space-tab.
16464 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
16465 # splitting by setting IFS to empty value.)
16468 # Find who we are. Look in the path if we contain no directory separator.
16471 *[\\/]* ) as_myself=$0 ;;
16472 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
16473 for as_dir in $PATH
16476 test -z "$as_dir" && as_dir=.
16477 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
16483 # We did not find ourselves, most probably we were run as `sh COMMAND'
16484 # in which case we are not to be found in the path.
16485 if test "x$as_myself" = x; then
16488 if test ! -f "$as_myself"; then
16489 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
16493 # Unset variables that we do not need and which cause bugs (e.g. in
16494 # pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1"
16495 # suppresses any "Segmentation fault" message there. '((' could
16496 # trigger a bug in pdksh 5.2.14.
16497 for as_var in BASH_ENV ENV MAIL MAILPATH
16498 do eval test x\${$as_var+set} = xset \
16499 && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
16512 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
16515 # as_fn_error STATUS ERROR [LINENO LOG_FD]
16516 # ----------------------------------------
16517 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
16518 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
16519 # script with STATUS, using 1 if that was 0.
16522 as_status=$1; test $as_status -eq 0 && as_status=1
16524 as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
16525 $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
16527 $as_echo "$as_me: error: $2" >&2
16528 as_fn_exit $as_status
16532 # as_fn_set_status STATUS
16533 # -----------------------
16534 # Set $? to STATUS, without forking.
16535 as_fn_set_status ()
16538 } # as_fn_set_status
16540 # as_fn_exit STATUS
16541 # -----------------
16542 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
16546 as_fn_set_status $1
16552 # Portably unset VAR.
16555 { eval $1=; unset $1;}
16557 as_unset=as_fn_unset
16558 # as_fn_append VAR VALUE
16559 # ----------------------
16560 # Append the text in VALUE to the end of the definition contained in VAR. Take
16561 # advantage of any shell optimizations that allow amortized linear growth over
16562 # repeated appends, instead of the typical quadratic growth present in naive
16564 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
16565 eval 'as_fn_append ()
16576 # as_fn_arith ARG...
16577 # ------------------
16578 # Perform arithmetic evaluation on the ARGs, and store the result in the
16579 # global $as_val. Take advantage of shells that can avoid forks. The arguments
16580 # must be portable across $(()) and expr.
16581 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
16582 eval 'as_fn_arith ()
16589 as_val=`expr "$@" || test $? -eq 1`
16594 if expr a : '\(a\)' >/dev/null 2>&1 &&
16595 test "X`expr 00001 : '.*\(...\)'`" = X001; then
16601 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
16602 as_basename=basename
16607 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
16613 as_me=`$as_basename -- "$0" ||
16614 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
16615 X"$0" : 'X\(//\)$' \| \
16616 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
16618 sed '/^.*\/\([^/][^/]*\)\/*$/{
16632 # Avoid depending upon Character Ranges.
16633 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
16634 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
16635 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
16636 as_cr_digits='0123456789'
16637 as_cr_alnum=$as_cr_Letters$as_cr_digits
16639 ECHO_C= ECHO_N= ECHO_T=
16640 case `echo -n x` in #(((((
16642 case `echo 'xy\c'` in
16643 *c*) ECHO_T=' ';; # ECHO_T is single tab character.
16645 *) echo `echo ksh88 bug on AIX 6.1` > /dev/null
16652 rm -f conf$$ conf$$.exe conf$$.file
16653 if test -d conf$$.dir; then
16654 rm -f conf$$.dir/conf$$.file
16657 mkdir conf$$.dir 2>/dev/null
16659 if (echo >conf$$.file) 2>/dev/null; then
16660 if ln -s conf$$.file conf$$ 2>/dev/null; then
16662 # ... but there are two gotchas:
16663 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
16664 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
16665 # In both cases, we have to default to `cp -p'.
16666 ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
16668 elif ln conf$$.file conf$$ 2>/dev/null; then
16676 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
16677 rmdir conf$$.dir 2>/dev/null
16682 # Create "$as_dir" as a directory, including parents if necessary.
16687 -*) as_dir=./$as_dir;;
16689 test -d "$as_dir" || eval $as_mkdir_p || {
16693 *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
16694 *) as_qdir=$as_dir;;
16696 as_dirs="'$as_qdir' $as_dirs"
16697 as_dir=`$as_dirname -- "$as_dir" ||
16698 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
16699 X"$as_dir" : 'X\(//\)[^/]' \| \
16700 X"$as_dir" : 'X\(//\)$' \| \
16701 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
16702 $as_echo X"$as_dir" |
16703 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
16707 /^X\(\/\/\)[^/].*/{
16720 test -d "$as_dir" && break
16722 test -z "$as_dirs" || eval "mkdir $as_dirs"
16723 } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir"
16727 if mkdir -p . 2>/dev/null; then
16728 as_mkdir_p='mkdir -p "$as_dir"'
16730 test -d ./-p && rmdir ./-p
16734 if test -x / >/dev/null 2>&1; then
16735 as_test_x='test -x'
16737 if ls -dL / >/dev/null 2>&1; then
16744 if test -d "$1"; then
16750 case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in #((
16751 ???[sx]*):;;*)false;;esac;fi
16755 as_executable_p=$as_test_x
16757 # Sed expression to map a string onto a valid CPP name.
16758 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
16760 # Sed expression to map a string onto a valid variable name.
16761 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
16765 ## ----------------------------------- ##
16766 ## Main body of $CONFIG_STATUS script. ##
16767 ## ----------------------------------- ##
16769 test $as_write_fail = 0 && chmod +x $CONFIG_STATUS || ac_write_fail=1
16771 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
16772 # Save the log message, to keep $0 and so on meaningful, and to
16773 # report actual input values of CONFIG_FILES etc. instead of their
16774 # values after options handling.
16776 This file was extended by pygobject $as_me 2.28.6, which was
16777 generated by GNU Autoconf 2.68. Invocation command line was
16779 CONFIG_FILES = $CONFIG_FILES
16780 CONFIG_HEADERS = $CONFIG_HEADERS
16781 CONFIG_LINKS = $CONFIG_LINKS
16782 CONFIG_COMMANDS = $CONFIG_COMMANDS
16785 on `(hostname || uname -n) 2>/dev/null | sed 1q`
16790 case $ac_config_files in *"
16791 "*) set x $ac_config_files; shift; ac_config_files=$*;;
16794 case $ac_config_headers in *"
16795 "*) set x $ac_config_headers; shift; ac_config_headers=$*;;
16799 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
16800 # Files that config.status was made for.
16801 config_files="$ac_config_files"
16802 config_headers="$ac_config_headers"
16803 config_commands="$ac_config_commands"
16807 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
16809 \`$as_me' instantiates files and other configuration actions
16810 from templates according to the current configuration. Unless the files
16811 and actions are specified as TAGs, all are instantiated by default.
16813 Usage: $0 [OPTION]... [TAG]...
16815 -h, --help print this help, then exit
16816 -V, --version print version number and configuration settings, then exit
16817 --config print configuration, then exit
16818 -q, --quiet, --silent
16819 do not print progress messages
16820 -d, --debug don't remove temporary files
16821 --recheck update $as_me by reconfiguring in the same conditions
16822 --file=FILE[:TEMPLATE]
16823 instantiate the configuration file FILE
16824 --header=FILE[:TEMPLATE]
16825 instantiate the configuration header FILE
16827 Configuration files:
16830 Configuration headers:
16833 Configuration commands:
16836 Report bugs to <http://bugzilla.gnome.org/enter_bug.cgi?product=pygobject>."
16839 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
16840 ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`"
16842 pygobject config.status 2.28.6
16843 configured by $0, generated by GNU Autoconf 2.68,
16844 with options \\"\$ac_cs_config\\"
16846 Copyright (C) 2010 Free Software Foundation, Inc.
16847 This config.status script is free software; the Free Software Foundation
16848 gives unlimited permission to copy, distribute and modify it."
16855 test -n "\$AWK" || AWK=awk
16858 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
16859 # The default lists apply if the user does not specify any file.
16865 ac_option=`expr "X$1" : 'X\([^=]*\)='`
16866 ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'`
16870 ac_option=`expr "X$1" : 'X\([^=]*\)='`
16882 # Handling of the options.
16883 -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
16885 --version | --versio | --versi | --vers | --ver | --ve | --v | -V )
16886 $as_echo "$ac_cs_version"; exit ;;
16887 --config | --confi | --conf | --con | --co | --c )
16888 $as_echo "$ac_cs_config"; exit ;;
16889 --debug | --debu | --deb | --de | --d | -d )
16891 --file | --fil | --fi | --f )
16894 *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
16895 '') as_fn_error $? "missing file argument" ;;
16897 as_fn_append CONFIG_FILES " '$ac_optarg'"
16898 ac_need_defaults=false;;
16899 --header | --heade | --head | --hea )
16902 *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
16904 as_fn_append CONFIG_HEADERS " '$ac_optarg'"
16905 ac_need_defaults=false;;
16907 # Conflict between --help and --header
16908 as_fn_error $? "ambiguous option: \`$1'
16909 Try \`$0 --help' for more information.";;
16910 --help | --hel | -h )
16911 $as_echo "$ac_cs_usage"; exit ;;
16912 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
16913 | -silent | --silent | --silen | --sile | --sil | --si | --s)
16916 # This is an error.
16917 -*) as_fn_error $? "unrecognized option: \`$1'
16918 Try \`$0 --help' for more information." ;;
16920 *) as_fn_append ac_config_targets " $1"
16921 ac_need_defaults=false ;;
16927 ac_configure_extra_args=
16929 if $ac_cs_silent; then
16931 ac_configure_extra_args="$ac_configure_extra_args --silent"
16935 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
16936 if \$ac_cs_recheck; then
16937 set X '$SHELL' '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
16939 \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6
16940 CONFIG_SHELL='$SHELL'
16941 export CONFIG_SHELL
16946 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
16950 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
16951 ## Running $as_me. ##
16957 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
16961 AMDEP_TRUE="$AMDEP_TRUE" ac_aux_dir="$ac_aux_dir"
16964 # The HP-UX ksh and POSIX shell print the target directory to stdout
16965 # if CDPATH is set.
16966 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
16968 sed_quote_subst='$sed_quote_subst'
16969 double_quote_subst='$double_quote_subst'
16970 delay_variable_subst='$delay_variable_subst'
16971 enable_static='`$ECHO "$enable_static" | $SED "$delay_single_quote_subst"`'
16972 AS='`$ECHO "$AS" | $SED "$delay_single_quote_subst"`'
16973 DLLTOOL='`$ECHO "$DLLTOOL" | $SED "$delay_single_quote_subst"`'
16974 OBJDUMP='`$ECHO "$OBJDUMP" | $SED "$delay_single_quote_subst"`'
16975 macro_version='`$ECHO "$macro_version" | $SED "$delay_single_quote_subst"`'
16976 macro_revision='`$ECHO "$macro_revision" | $SED "$delay_single_quote_subst"`'
16977 enable_shared='`$ECHO "$enable_shared" | $SED "$delay_single_quote_subst"`'
16978 pic_mode='`$ECHO "$pic_mode" | $SED "$delay_single_quote_subst"`'
16979 enable_fast_install='`$ECHO "$enable_fast_install" | $SED "$delay_single_quote_subst"`'
16980 SHELL='`$ECHO "$SHELL" | $SED "$delay_single_quote_subst"`'
16981 ECHO='`$ECHO "$ECHO" | $SED "$delay_single_quote_subst"`'
16982 host_alias='`$ECHO "$host_alias" | $SED "$delay_single_quote_subst"`'
16983 host='`$ECHO "$host" | $SED "$delay_single_quote_subst"`'
16984 host_os='`$ECHO "$host_os" | $SED "$delay_single_quote_subst"`'
16985 build_alias='`$ECHO "$build_alias" | $SED "$delay_single_quote_subst"`'
16986 build='`$ECHO "$build" | $SED "$delay_single_quote_subst"`'
16987 build_os='`$ECHO "$build_os" | $SED "$delay_single_quote_subst"`'
16988 SED='`$ECHO "$SED" | $SED "$delay_single_quote_subst"`'
16989 Xsed='`$ECHO "$Xsed" | $SED "$delay_single_quote_subst"`'
16990 GREP='`$ECHO "$GREP" | $SED "$delay_single_quote_subst"`'
16991 EGREP='`$ECHO "$EGREP" | $SED "$delay_single_quote_subst"`'
16992 FGREP='`$ECHO "$FGREP" | $SED "$delay_single_quote_subst"`'
16993 LD='`$ECHO "$LD" | $SED "$delay_single_quote_subst"`'
16994 NM='`$ECHO "$NM" | $SED "$delay_single_quote_subst"`'
16995 LN_S='`$ECHO "$LN_S" | $SED "$delay_single_quote_subst"`'
16996 max_cmd_len='`$ECHO "$max_cmd_len" | $SED "$delay_single_quote_subst"`'
16997 ac_objext='`$ECHO "$ac_objext" | $SED "$delay_single_quote_subst"`'
16998 exeext='`$ECHO "$exeext" | $SED "$delay_single_quote_subst"`'
16999 lt_unset='`$ECHO "$lt_unset" | $SED "$delay_single_quote_subst"`'
17000 lt_SP2NL='`$ECHO "$lt_SP2NL" | $SED "$delay_single_quote_subst"`'
17001 lt_NL2SP='`$ECHO "$lt_NL2SP" | $SED "$delay_single_quote_subst"`'
17002 lt_cv_to_host_file_cmd='`$ECHO "$lt_cv_to_host_file_cmd" | $SED "$delay_single_quote_subst"`'
17003 lt_cv_to_tool_file_cmd='`$ECHO "$lt_cv_to_tool_file_cmd" | $SED "$delay_single_quote_subst"`'
17004 reload_flag='`$ECHO "$reload_flag" | $SED "$delay_single_quote_subst"`'
17005 reload_cmds='`$ECHO "$reload_cmds" | $SED "$delay_single_quote_subst"`'
17006 deplibs_check_method='`$ECHO "$deplibs_check_method" | $SED "$delay_single_quote_subst"`'
17007 file_magic_cmd='`$ECHO "$file_magic_cmd" | $SED "$delay_single_quote_subst"`'
17008 file_magic_glob='`$ECHO "$file_magic_glob" | $SED "$delay_single_quote_subst"`'
17009 want_nocaseglob='`$ECHO "$want_nocaseglob" | $SED "$delay_single_quote_subst"`'
17010 sharedlib_from_linklib_cmd='`$ECHO "$sharedlib_from_linklib_cmd" | $SED "$delay_single_quote_subst"`'
17011 AR='`$ECHO "$AR" | $SED "$delay_single_quote_subst"`'
17012 AR_FLAGS='`$ECHO "$AR_FLAGS" | $SED "$delay_single_quote_subst"`'
17013 archiver_list_spec='`$ECHO "$archiver_list_spec" | $SED "$delay_single_quote_subst"`'
17014 STRIP='`$ECHO "$STRIP" | $SED "$delay_single_quote_subst"`'
17015 RANLIB='`$ECHO "$RANLIB" | $SED "$delay_single_quote_subst"`'
17016 old_postinstall_cmds='`$ECHO "$old_postinstall_cmds" | $SED "$delay_single_quote_subst"`'
17017 old_postuninstall_cmds='`$ECHO "$old_postuninstall_cmds" | $SED "$delay_single_quote_subst"`'
17018 old_archive_cmds='`$ECHO "$old_archive_cmds" | $SED "$delay_single_quote_subst"`'
17019 lock_old_archive_extraction='`$ECHO "$lock_old_archive_extraction" | $SED "$delay_single_quote_subst"`'
17020 CC='`$ECHO "$CC" | $SED "$delay_single_quote_subst"`'
17021 CFLAGS='`$ECHO "$CFLAGS" | $SED "$delay_single_quote_subst"`'
17022 compiler='`$ECHO "$compiler" | $SED "$delay_single_quote_subst"`'
17023 GCC='`$ECHO "$GCC" | $SED "$delay_single_quote_subst"`'
17024 lt_cv_sys_global_symbol_pipe='`$ECHO "$lt_cv_sys_global_symbol_pipe" | $SED "$delay_single_quote_subst"`'
17025 lt_cv_sys_global_symbol_to_cdecl='`$ECHO "$lt_cv_sys_global_symbol_to_cdecl" | $SED "$delay_single_quote_subst"`'
17026 lt_cv_sys_global_symbol_to_c_name_address='`$ECHO "$lt_cv_sys_global_symbol_to_c_name_address" | $SED "$delay_single_quote_subst"`'
17027 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"`'
17028 nm_file_list_spec='`$ECHO "$nm_file_list_spec" | $SED "$delay_single_quote_subst"`'
17029 lt_sysroot='`$ECHO "$lt_sysroot" | $SED "$delay_single_quote_subst"`'
17030 objdir='`$ECHO "$objdir" | $SED "$delay_single_quote_subst"`'
17031 MAGIC_CMD='`$ECHO "$MAGIC_CMD" | $SED "$delay_single_quote_subst"`'
17032 lt_prog_compiler_no_builtin_flag='`$ECHO "$lt_prog_compiler_no_builtin_flag" | $SED "$delay_single_quote_subst"`'
17033 lt_prog_compiler_pic='`$ECHO "$lt_prog_compiler_pic" | $SED "$delay_single_quote_subst"`'
17034 lt_prog_compiler_wl='`$ECHO "$lt_prog_compiler_wl" | $SED "$delay_single_quote_subst"`'
17035 lt_prog_compiler_static='`$ECHO "$lt_prog_compiler_static" | $SED "$delay_single_quote_subst"`'
17036 lt_cv_prog_compiler_c_o='`$ECHO "$lt_cv_prog_compiler_c_o" | $SED "$delay_single_quote_subst"`'
17037 need_locks='`$ECHO "$need_locks" | $SED "$delay_single_quote_subst"`'
17038 MANIFEST_TOOL='`$ECHO "$MANIFEST_TOOL" | $SED "$delay_single_quote_subst"`'
17039 DSYMUTIL='`$ECHO "$DSYMUTIL" | $SED "$delay_single_quote_subst"`'
17040 NMEDIT='`$ECHO "$NMEDIT" | $SED "$delay_single_quote_subst"`'
17041 LIPO='`$ECHO "$LIPO" | $SED "$delay_single_quote_subst"`'
17042 OTOOL='`$ECHO "$OTOOL" | $SED "$delay_single_quote_subst"`'
17043 OTOOL64='`$ECHO "$OTOOL64" | $SED "$delay_single_quote_subst"`'
17044 libext='`$ECHO "$libext" | $SED "$delay_single_quote_subst"`'
17045 shrext_cmds='`$ECHO "$shrext_cmds" | $SED "$delay_single_quote_subst"`'
17046 extract_expsyms_cmds='`$ECHO "$extract_expsyms_cmds" | $SED "$delay_single_quote_subst"`'
17047 archive_cmds_need_lc='`$ECHO "$archive_cmds_need_lc" | $SED "$delay_single_quote_subst"`'
17048 enable_shared_with_static_runtimes='`$ECHO "$enable_shared_with_static_runtimes" | $SED "$delay_single_quote_subst"`'
17049 export_dynamic_flag_spec='`$ECHO "$export_dynamic_flag_spec" | $SED "$delay_single_quote_subst"`'
17050 whole_archive_flag_spec='`$ECHO "$whole_archive_flag_spec" | $SED "$delay_single_quote_subst"`'
17051 compiler_needs_object='`$ECHO "$compiler_needs_object" | $SED "$delay_single_quote_subst"`'
17052 old_archive_from_new_cmds='`$ECHO "$old_archive_from_new_cmds" | $SED "$delay_single_quote_subst"`'
17053 old_archive_from_expsyms_cmds='`$ECHO "$old_archive_from_expsyms_cmds" | $SED "$delay_single_quote_subst"`'
17054 archive_cmds='`$ECHO "$archive_cmds" | $SED "$delay_single_quote_subst"`'
17055 archive_expsym_cmds='`$ECHO "$archive_expsym_cmds" | $SED "$delay_single_quote_subst"`'
17056 module_cmds='`$ECHO "$module_cmds" | $SED "$delay_single_quote_subst"`'
17057 module_expsym_cmds='`$ECHO "$module_expsym_cmds" | $SED "$delay_single_quote_subst"`'
17058 with_gnu_ld='`$ECHO "$with_gnu_ld" | $SED "$delay_single_quote_subst"`'
17059 allow_undefined_flag='`$ECHO "$allow_undefined_flag" | $SED "$delay_single_quote_subst"`'
17060 no_undefined_flag='`$ECHO "$no_undefined_flag" | $SED "$delay_single_quote_subst"`'
17061 hardcode_libdir_flag_spec='`$ECHO "$hardcode_libdir_flag_spec" | $SED "$delay_single_quote_subst"`'
17062 hardcode_libdir_flag_spec_ld='`$ECHO "$hardcode_libdir_flag_spec_ld" | $SED "$delay_single_quote_subst"`'
17063 hardcode_libdir_separator='`$ECHO "$hardcode_libdir_separator" | $SED "$delay_single_quote_subst"`'
17064 hardcode_direct='`$ECHO "$hardcode_direct" | $SED "$delay_single_quote_subst"`'
17065 hardcode_direct_absolute='`$ECHO "$hardcode_direct_absolute" | $SED "$delay_single_quote_subst"`'
17066 hardcode_minus_L='`$ECHO "$hardcode_minus_L" | $SED "$delay_single_quote_subst"`'
17067 hardcode_shlibpath_var='`$ECHO "$hardcode_shlibpath_var" | $SED "$delay_single_quote_subst"`'
17068 hardcode_automatic='`$ECHO "$hardcode_automatic" | $SED "$delay_single_quote_subst"`'
17069 inherit_rpath='`$ECHO "$inherit_rpath" | $SED "$delay_single_quote_subst"`'
17070 link_all_deplibs='`$ECHO "$link_all_deplibs" | $SED "$delay_single_quote_subst"`'
17071 always_export_symbols='`$ECHO "$always_export_symbols" | $SED "$delay_single_quote_subst"`'
17072 export_symbols_cmds='`$ECHO "$export_symbols_cmds" | $SED "$delay_single_quote_subst"`'
17073 exclude_expsyms='`$ECHO "$exclude_expsyms" | $SED "$delay_single_quote_subst"`'
17074 include_expsyms='`$ECHO "$include_expsyms" | $SED "$delay_single_quote_subst"`'
17075 prelink_cmds='`$ECHO "$prelink_cmds" | $SED "$delay_single_quote_subst"`'
17076 postlink_cmds='`$ECHO "$postlink_cmds" | $SED "$delay_single_quote_subst"`'
17077 file_list_spec='`$ECHO "$file_list_spec" | $SED "$delay_single_quote_subst"`'
17078 variables_saved_for_relink='`$ECHO "$variables_saved_for_relink" | $SED "$delay_single_quote_subst"`'
17079 need_lib_prefix='`$ECHO "$need_lib_prefix" | $SED "$delay_single_quote_subst"`'
17080 need_version='`$ECHO "$need_version" | $SED "$delay_single_quote_subst"`'
17081 version_type='`$ECHO "$version_type" | $SED "$delay_single_quote_subst"`'
17082 runpath_var='`$ECHO "$runpath_var" | $SED "$delay_single_quote_subst"`'
17083 shlibpath_var='`$ECHO "$shlibpath_var" | $SED "$delay_single_quote_subst"`'
17084 shlibpath_overrides_runpath='`$ECHO "$shlibpath_overrides_runpath" | $SED "$delay_single_quote_subst"`'
17085 libname_spec='`$ECHO "$libname_spec" | $SED "$delay_single_quote_subst"`'
17086 library_names_spec='`$ECHO "$library_names_spec" | $SED "$delay_single_quote_subst"`'
17087 soname_spec='`$ECHO "$soname_spec" | $SED "$delay_single_quote_subst"`'
17088 install_override_mode='`$ECHO "$install_override_mode" | $SED "$delay_single_quote_subst"`'
17089 postinstall_cmds='`$ECHO "$postinstall_cmds" | $SED "$delay_single_quote_subst"`'
17090 postuninstall_cmds='`$ECHO "$postuninstall_cmds" | $SED "$delay_single_quote_subst"`'
17091 finish_cmds='`$ECHO "$finish_cmds" | $SED "$delay_single_quote_subst"`'
17092 finish_eval='`$ECHO "$finish_eval" | $SED "$delay_single_quote_subst"`'
17093 hardcode_into_libs='`$ECHO "$hardcode_into_libs" | $SED "$delay_single_quote_subst"`'
17094 sys_lib_search_path_spec='`$ECHO "$sys_lib_search_path_spec" | $SED "$delay_single_quote_subst"`'
17095 sys_lib_dlsearch_path_spec='`$ECHO "$sys_lib_dlsearch_path_spec" | $SED "$delay_single_quote_subst"`'
17096 hardcode_action='`$ECHO "$hardcode_action" | $SED "$delay_single_quote_subst"`'
17097 enable_dlopen='`$ECHO "$enable_dlopen" | $SED "$delay_single_quote_subst"`'
17098 enable_dlopen_self='`$ECHO "$enable_dlopen_self" | $SED "$delay_single_quote_subst"`'
17099 enable_dlopen_self_static='`$ECHO "$enable_dlopen_self_static" | $SED "$delay_single_quote_subst"`'
17100 old_striplib='`$ECHO "$old_striplib" | $SED "$delay_single_quote_subst"`'
17101 striplib='`$ECHO "$striplib" | $SED "$delay_single_quote_subst"`'
17104 LTCFLAGS='$LTCFLAGS'
17105 compiler='$compiler_DEFAULT'
17107 # A function that is used when there is no print builtin or printf.
17108 func_fallback_echo ()
17110 eval 'cat <<_LTECHO_EOF
17115 # Quote evaled strings.
17131 deplibs_check_method \
17135 sharedlib_from_linklib_cmd \
17138 archiver_list_spec \
17144 lt_cv_sys_global_symbol_pipe \
17145 lt_cv_sys_global_symbol_to_cdecl \
17146 lt_cv_sys_global_symbol_to_c_name_address \
17147 lt_cv_sys_global_symbol_to_c_name_address_lib_prefix \
17148 nm_file_list_spec \
17149 lt_prog_compiler_no_builtin_flag \
17150 lt_prog_compiler_pic \
17151 lt_prog_compiler_wl \
17152 lt_prog_compiler_static \
17153 lt_cv_prog_compiler_c_o \
17162 export_dynamic_flag_spec \
17163 whole_archive_flag_spec \
17164 compiler_needs_object \
17166 allow_undefined_flag \
17167 no_undefined_flag \
17168 hardcode_libdir_flag_spec \
17169 hardcode_libdir_flag_spec_ld \
17170 hardcode_libdir_separator \
17174 variables_saved_for_relink \
17176 library_names_spec \
17178 install_override_mode \
17182 case \`eval \\\\\$ECHO \\\\""\\\\\$\$var"\\\\"\` in
17183 *[\\\\\\\`\\"\\\$]*)
17184 eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"\\\$\$var\\" | \\\$SED \\"\\\$sed_quote_subst\\"\\\`\\\\\\""
17187 eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
17192 # Double-quote double-evaled strings.
17193 for var in reload_cmds \
17194 old_postinstall_cmds \
17195 old_postuninstall_cmds \
17197 extract_expsyms_cmds \
17198 old_archive_from_new_cmds \
17199 old_archive_from_expsyms_cmds \
17201 archive_expsym_cmds \
17203 module_expsym_cmds \
17204 export_symbols_cmds \
17208 postuninstall_cmds \
17210 sys_lib_search_path_spec \
17211 sys_lib_dlsearch_path_spec; do
17212 case \`eval \\\\\$ECHO \\\\""\\\\\$\$var"\\\\"\` in
17213 *[\\\\\\\`\\"\\\$]*)
17214 eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"\\\$\$var\\" | \\\$SED -e \\"\\\$double_quote_subst\\" -e \\"\\\$sed_quote_subst\\" -e \\"\\\$delay_variable_subst\\"\\\`\\\\\\""
17217 eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
17222 ac_aux_dir='$ac_aux_dir'
17223 xsi_shell='$xsi_shell'
17224 lt_shell_append='$lt_shell_append'
17226 # See if we are running on zsh, and set the options which allow our
17227 # commands through without removal of \ escapes INIT.
17228 if test -n "\${ZSH_VERSION+set}" ; then
17229 setopt NO_GLOB_SUBST
17235 TIMESTAMP='$TIMESTAMP'
17239 ac_aux_dir='$ac_aux_dir'
17245 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
17247 # Handling of arguments.
17248 for ac_config_target in $ac_config_targets
17250 case $ac_config_target in
17251 "config.h") CONFIG_HEADERS="$CONFIG_HEADERS config.h" ;;
17252 "depfiles") CONFIG_COMMANDS="$CONFIG_COMMANDS depfiles" ;;
17253 "libtool") CONFIG_COMMANDS="$CONFIG_COMMANDS libtool" ;;
17254 "Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;;
17255 "pygobject-2.0.pc") CONFIG_FILES="$CONFIG_FILES pygobject-2.0.pc" ;;
17256 "pygobject-2.0-uninstalled.pc") CONFIG_FILES="$CONFIG_FILES pygobject-2.0-uninstalled.pc" ;;
17257 "codegen/Makefile") CONFIG_FILES="$CONFIG_FILES codegen/Makefile" ;;
17258 "codegen/pygobject-codegen-2.0") CONFIG_FILES="$CONFIG_FILES codegen/pygobject-codegen-2.0" ;;
17259 "docs/Makefile") CONFIG_FILES="$CONFIG_FILES docs/Makefile" ;;
17260 "docs/reference/entities.docbook") CONFIG_FILES="$CONFIG_FILES docs/reference/entities.docbook" ;;
17261 "docs/xsl/fixxref.py") CONFIG_FILES="$CONFIG_FILES docs/xsl/fixxref.py" ;;
17262 "gi/Makefile") CONFIG_FILES="$CONFIG_FILES gi/Makefile" ;;
17263 "gi/repository/Makefile") CONFIG_FILES="$CONFIG_FILES gi/repository/Makefile" ;;
17264 "gi/overrides/Makefile") CONFIG_FILES="$CONFIG_FILES gi/overrides/Makefile" ;;
17265 "glib/Makefile") CONFIG_FILES="$CONFIG_FILES glib/Makefile" ;;
17266 "gobject/Makefile") CONFIG_FILES="$CONFIG_FILES gobject/Makefile" ;;
17267 "gio/Makefile") CONFIG_FILES="$CONFIG_FILES gio/Makefile" ;;
17268 "examples/Makefile") CONFIG_FILES="$CONFIG_FILES examples/Makefile" ;;
17269 "tests/Makefile") CONFIG_FILES="$CONFIG_FILES tests/Makefile" ;;
17270 "PKG-INFO") CONFIG_FILES="$CONFIG_FILES PKG-INFO" ;;
17272 *) as_fn_error $? "invalid argument: \`$ac_config_target'" "$LINENO" 5;;
17277 # If the user did not use the arguments to specify the items to instantiate,
17278 # then the envvar interface is used. Set only those that are not.
17279 # We use the long form for the default assignment because of an extremely
17280 # bizarre bug on SunOS 4.1.3.
17281 if $ac_need_defaults; then
17282 test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
17283 test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS=$config_headers
17284 test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS=$config_commands
17287 # Have a temporary directory for convenience. Make it in the build tree
17288 # simply because there is no reason against having it here, and in addition,
17289 # creating and moving files from /tmp can sometimes cause problems.
17290 # Hook for its removal unless debugging.
17291 # Note that there is a small window in which the directory will not be cleaned:
17292 # after its creation but before its name has been assigned to `$tmp'.
17296 trap 'exit_status=$?
17297 : "${ac_tmp:=$tmp}"
17298 { test ! -d "$ac_tmp" || rm -fr "$ac_tmp"; } && exit $exit_status
17300 trap 'as_fn_exit 1' 1 2 13 15
17302 # Create a (secure) tmp directory for tmp files.
17305 tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
17309 tmp=./conf$$-$RANDOM
17310 (umask 077 && mkdir "$tmp")
17311 } || as_fn_error $? "cannot create a temporary directory in ." "$LINENO" 5
17314 # Set up the scripts for CONFIG_FILES section.
17315 # No need to generate them if there are no CONFIG_FILES.
17316 # This happens for instance with `./config.status config.h'.
17317 if test -n "$CONFIG_FILES"; then
17320 ac_cr=`echo X | tr X '\015'`
17321 # On cygwin, bash can eat \r inside `` if the user requested igncr.
17322 # But we know of no other shell where ac_cr would be empty at this
17323 # point, so we can use a bashism as a fallback.
17324 if test "x$ac_cr" = x; then
17325 eval ac_cr=\$\'\\r\'
17327 ac_cs_awk_cr=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
17328 if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
17331 ac_cs_awk_cr=$ac_cr
17334 echo 'BEGIN {' >"$ac_tmp/subs1.awk" &&
17339 echo "cat >conf$$subs.awk <<_ACEOF" &&
17340 echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
17342 } >conf$$subs.sh ||
17343 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
17344 ac_delim_num=`echo "$ac_subst_vars" | grep -c '^'`
17346 for ac_last_try in false false false false false :; do
17347 . ./conf$$subs.sh ||
17348 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
17350 ac_delim_n=`sed -n "s/.*$ac_delim\$/X/p" conf$$subs.awk | grep -c X`
17351 if test $ac_delim_n = $ac_delim_num; then
17353 elif $ac_last_try; then
17354 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
17356 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
17359 rm -f conf$$subs.sh
17361 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
17362 cat >>"\$ac_tmp/subs1.awk" <<\\_ACAWK &&
17366 s/^/S["/; s/!.*/"]=/
17376 s/\(.\{148\}\)..*/\1/
17378 s/["\\]/\\&/g; s/^/"/; s/$/\\n"\\/
17383 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
17390 s/\(.\{148\}\)..*/\1/
17392 s/["\\]/\\&/g; s/^/"/; s/$/"/
17396 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
17401 ' <conf$$subs.awk | sed '
17406 ' >>$CONFIG_STATUS || ac_write_fail=1
17407 rm -f conf$$subs.awk
17408 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
17410 cat >>"\$ac_tmp/subs1.awk" <<_ACAWK &&
17411 for (key in S) S_is_set[key] = 1
17417 nfields = split(line, field, "@")
17419 len = length(field[1])
17420 for (i = 2; i < nfields; i++) {
17422 keylen = length(key)
17423 if (S_is_set[key]) {
17425 line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3)
17426 len += length(value) + length(field[++i])
17437 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
17438 if sed "s/$ac_cr//" < /dev/null > /dev/null 2>&1; then
17439 sed "s/$ac_cr\$//; s/$ac_cr/$ac_cs_awk_cr/g"
17442 fi < "$ac_tmp/subs1.awk" > "$ac_tmp/subs.awk" \
17443 || as_fn_error $? "could not setup config files machinery" "$LINENO" 5
17446 # VPATH may cause trouble with some makes, so we remove sole $(srcdir),
17447 # ${srcdir} and @srcdir@ entries from VPATH if srcdir is ".", strip leading and
17448 # trailing colons and then remove the whole line if VPATH becomes empty
17449 # (actually we leave an empty line to preserve line numbers).
17450 if test "x$srcdir" = x.; then
17451 ac_vpsub='/^[ ]*VPATH[ ]*=[ ]*/{
17469 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
17470 fi # test -n "$CONFIG_FILES"
17472 # Set up the scripts for CONFIG_HEADERS section.
17473 # No need to generate them if there are no CONFIG_HEADERS.
17474 # This happens for instance with `./config.status Makefile'.
17475 if test -n "$CONFIG_HEADERS"; then
17476 cat >"$ac_tmp/defines.awk" <<\_ACAWK ||
17480 # Transform confdefs.h into an awk script `defines.awk', embedded as
17481 # here-document in config.status, that substitutes the proper values into
17482 # config.h.in to produce config.h.
17484 # Create a delimiter string that does not exist in confdefs.h, to ease
17485 # handling of long lines.
17487 for ac_last_try in false false :; do
17488 ac_tt=`sed -n "/$ac_delim/p" confdefs.h`
17489 if test -z "$ac_tt"; then
17491 elif $ac_last_try; then
17492 as_fn_error $? "could not make $CONFIG_HEADERS" "$LINENO" 5
17494 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
17498 # For the awk script, D is an array of macro values keyed by name,
17499 # likewise P contains macro parameters if any. Preserve backslash
17500 # newline sequences.
17502 ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]*
17504 s/.\{148\}/&'"$ac_delim"'/g
17507 s/^[ ]*#[ ]*define[ ][ ]*/ /
17514 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\1"]="\2"\
17516 s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\1"]=" \2"/p
17520 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\1"]="\2"\
17521 D["\1"]=" \3\\\\\\n"\\/p
17523 s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\1"]=" \2\\\\\\n"\\/p
17528 s/.\{148\}/&'"$ac_delim"'/g
17533 s/["\\]/\\&/g; s/^/"/; s/$/"/p
17536 s/["\\]/\\&/g; s/^/"/; s/$/\\\\\\n"\\/p
17538 ' <confdefs.h | sed '
17539 s/'"$ac_delim"'/"\\\
17540 "/g' >>$CONFIG_STATUS || ac_write_fail=1
17542 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
17543 for (key in D) D_is_set[key] = 1
17546 /^[\t ]*#[\t ]*(define|undef)[\t ]+$ac_word_re([\t (]|\$)/ {
17548 split(line, arg, " ")
17549 if (arg[1] == "#") {
17553 defundef = substr(arg[1], 2)
17556 split(mac1, mac2, "(") #)
17558 prefix = substr(line, 1, index(line, defundef) - 1)
17559 if (D_is_set[macro]) {
17560 # Preserve the white space surrounding the "#".
17561 print prefix "define", macro P[macro] D[macro]
17564 # Replace #undef with comments. This is necessary, for example,
17565 # in the case of _POSIX_SOURCE, which is predefined and required
17566 # on some systems where configure will not decide to define it.
17567 if (defundef == "undef") {
17568 print "/*", prefix defundef, macro, "*/"
17576 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
17577 as_fn_error $? "could not setup config headers machinery" "$LINENO" 5
17578 fi # test -n "$CONFIG_HEADERS"
17581 eval set X " :F $CONFIG_FILES :H $CONFIG_HEADERS :C $CONFIG_COMMANDS"
17586 :[FHLC]) ac_mode=$ac_tag; continue;;
17588 case $ac_mode$ac_tag in
17590 :L* | :C*:*) as_fn_error $? "invalid tag \`$ac_tag'" "$LINENO" 5;;
17591 :[FH]-) ac_tag=-:-;;
17592 :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
17609 -) ac_f="$ac_tmp/stdin";;
17610 *) # Look for the file first in the build tree, then in the source tree
17611 # (if the path is not absolute). The absolute path cannot be DOS-style,
17612 # because $ac_f cannot contain `:'.
17616 *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
17618 as_fn_error 1 "cannot find input file: \`$ac_f'" "$LINENO" 5;;
17620 case $ac_f in *\'*) ac_f=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
17621 as_fn_append ac_file_inputs " '$ac_f'"
17624 # Let's still pretend it is `configure' which instantiates (i.e., don't
17625 # use $as_me), people would be surprised to read:
17626 # /* config.h. Generated by config.status. */
17627 configure_input='Generated from '`
17628 $as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
17630 if test x"$ac_file" != x-; then
17631 configure_input="$ac_file. $configure_input"
17632 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5
17633 $as_echo "$as_me: creating $ac_file" >&6;}
17635 # Neutralize special characters interpreted by sed in replacement strings.
17636 case $configure_input in #(
17637 *\&* | *\|* | *\\* )
17638 ac_sed_conf_input=`$as_echo "$configure_input" |
17639 sed 's/[\\\\&|]/\\\\&/g'`;; #(
17640 *) ac_sed_conf_input=$configure_input;;
17644 *:-:* | *:-) cat >"$ac_tmp/stdin" \
17645 || as_fn_error $? "could not create $ac_file" "$LINENO" 5 ;;
17650 ac_dir=`$as_dirname -- "$ac_file" ||
17651 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
17652 X"$ac_file" : 'X\(//\)[^/]' \| \
17653 X"$ac_file" : 'X\(//\)$' \| \
17654 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
17655 $as_echo X"$ac_file" |
17656 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
17660 /^X\(\/\/\)[^/].*/{
17673 as_dir="$ac_dir"; as_fn_mkdir_p
17677 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
17679 ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
17680 # A ".." for each directory in $ac_dir_suffix.
17681 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
17682 case $ac_top_builddir_sub in
17683 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
17684 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
17687 ac_abs_top_builddir=$ac_pwd
17688 ac_abs_builddir=$ac_pwd$ac_dir_suffix
17689 # for backward compatibility:
17690 ac_top_builddir=$ac_top_build_prefix
17693 .) # We are building in place.
17695 ac_top_srcdir=$ac_top_builddir_sub
17696 ac_abs_top_srcdir=$ac_pwd ;;
17697 [\\/]* | ?:[\\/]* ) # Absolute name.
17698 ac_srcdir=$srcdir$ac_dir_suffix;
17699 ac_top_srcdir=$srcdir
17700 ac_abs_top_srcdir=$srcdir ;;
17701 *) # Relative name.
17702 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
17703 ac_top_srcdir=$ac_top_build_prefix$srcdir
17704 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
17706 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
17716 [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
17717 *) ac_INSTALL=$ac_top_build_prefix$INSTALL ;;
17719 ac_MKDIR_P=$MKDIR_P
17721 [\\/$]* | ?:[\\/]* ) ;;
17722 */*) ac_MKDIR_P=$ac_top_build_prefix$MKDIR_P ;;
17726 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
17727 # If the template does not know about datarootdir, expand it.
17728 # FIXME: This hack should be removed a few years after 2.60.
17729 ac_datarootdir_hack=; ac_datarootdir_seen=
17740 case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in
17741 *datarootdir*) ac_datarootdir_seen=yes;;
17742 *@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*)
17743 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
17744 $as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
17746 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
17747 ac_datarootdir_hack='
17748 s&@datadir@&$datadir&g
17749 s&@docdir@&$docdir&g
17750 s&@infodir@&$infodir&g
17751 s&@localedir@&$localedir&g
17752 s&@mandir@&$mandir&g
17753 s&\\\${datarootdir}&$datarootdir&g' ;;
17757 # Neutralize VPATH when `$srcdir' = `.'.
17758 # Shell code in configure.ac might set extrasub.
17759 # FIXME: do we really want to maintain this feature?
17760 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
17761 ac_sed_extra="$ac_vpsub
17764 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
17766 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
17767 s|@configure_input@|$ac_sed_conf_input|;t t
17768 s&@top_builddir@&$ac_top_builddir_sub&;t t
17769 s&@top_build_prefix@&$ac_top_build_prefix&;t t
17770 s&@srcdir@&$ac_srcdir&;t t
17771 s&@abs_srcdir@&$ac_abs_srcdir&;t t
17772 s&@top_srcdir@&$ac_top_srcdir&;t t
17773 s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t
17774 s&@builddir@&$ac_builddir&;t t
17775 s&@abs_builddir@&$ac_abs_builddir&;t t
17776 s&@abs_top_builddir@&$ac_abs_top_builddir&;t t
17777 s&@INSTALL@&$ac_INSTALL&;t t
17778 s&@MKDIR_P@&$ac_MKDIR_P&;t t
17779 $ac_datarootdir_hack
17781 eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$ac_tmp/subs.awk" \
17782 >$ac_tmp/out || as_fn_error $? "could not create $ac_file" "$LINENO" 5
17784 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
17785 { ac_out=`sed -n '/\${datarootdir}/p' "$ac_tmp/out"`; test -n "$ac_out"; } &&
17786 { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' \
17787 "$ac_tmp/out"`; test -z "$ac_out"; } &&
17788 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file contains a reference to the variable \`datarootdir'
17789 which seems to be undefined. Please make sure it is defined" >&5
17790 $as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir'
17791 which seems to be undefined. Please make sure it is defined" >&2;}
17793 rm -f "$ac_tmp/stdin"
17795 -) cat "$ac_tmp/out" && rm -f "$ac_tmp/out";;
17796 *) rm -f "$ac_file" && mv "$ac_tmp/out" "$ac_file";;
17798 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
17804 if test x"$ac_file" != x-; then
17806 $as_echo "/* $configure_input */" \
17807 && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs"
17808 } >"$ac_tmp/config.h" \
17809 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
17810 if diff "$ac_file" "$ac_tmp/config.h" >/dev/null 2>&1; then
17811 { $as_echo "$as_me:${as_lineno-$LINENO}: $ac_file is unchanged" >&5
17812 $as_echo "$as_me: $ac_file is unchanged" >&6;}
17815 mv "$ac_tmp/config.h" "$ac_file" \
17816 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
17819 $as_echo "/* $configure_input */" \
17820 && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs" \
17821 || as_fn_error $? "could not create -" "$LINENO" 5
17823 # Compute "$ac_file"'s index in $config_headers.
17826 for _am_header in $config_headers :; do
17827 case $_am_header in
17828 $_am_arg | $_am_arg:* )
17831 _am_stamp_count=`expr $_am_stamp_count + 1` ;;
17834 echo "timestamp for $_am_arg" >`$as_dirname -- "$_am_arg" ||
17835 $as_expr X"$_am_arg" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
17836 X"$_am_arg" : 'X\(//\)[^/]' \| \
17837 X"$_am_arg" : 'X\(//\)$' \| \
17838 X"$_am_arg" : 'X\(/\)' \| . 2>/dev/null ||
17839 $as_echo X"$_am_arg" |
17840 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
17844 /^X\(\/\/\)[^/].*/{
17856 s/.*/./; q'`/stamp-h$_am_stamp_count
17859 :C) { $as_echo "$as_me:${as_lineno-$LINENO}: executing $ac_file commands" >&5
17860 $as_echo "$as_me: executing $ac_file commands" >&6;}
17865 case $ac_file$ac_mode in
17866 "depfiles":C) test x"$AMDEP_TRUE" != x"" || {
17867 # Autoconf 2.62 quotes --file arguments for eval, but not when files
17868 # are listed without --file. Let's play safe and only enable the eval
17869 # if we detect the quoting.
17870 case $CONFIG_FILES in
17871 *\'*) eval set x "$CONFIG_FILES" ;;
17872 *) set x $CONFIG_FILES ;;
17877 # Strip MF so we end up with the name of the file.
17878 mf=`echo "$mf" | sed -e 's/:.*$//'`
17879 # Check whether this is an Automake generated Makefile or not.
17880 # We used to match only the files named `Makefile.in', but
17881 # some people rename them; so instead we look at the file content.
17882 # Grep'ing the first line is not enough: some people post-process
17883 # each Makefile.in and add a new line on top of each file to say so.
17884 # Grep'ing the whole file is not good either: AIX grep has a line
17885 # limit of 2048, but all sed's we know have understand at least 4000.
17886 if sed -n 's,^#.*generated by automake.*,X,p' "$mf" | grep X >/dev/null 2>&1; then
17887 dirpart=`$as_dirname -- "$mf" ||
17888 $as_expr X"$mf" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
17889 X"$mf" : 'X\(//\)[^/]' \| \
17890 X"$mf" : 'X\(//\)$' \| \
17891 X"$mf" : 'X\(/\)' \| . 2>/dev/null ||
17893 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
17897 /^X\(\/\/\)[^/].*/{
17913 # Extract the definition of DEPDIR, am__include, and am__quote
17914 # from the Makefile without running `make'.
17915 DEPDIR=`sed -n 's/^DEPDIR = //p' < "$mf"`
17916 test -z "$DEPDIR" && continue
17917 am__include=`sed -n 's/^am__include = //p' < "$mf"`
17918 test -z "am__include" && continue
17919 am__quote=`sed -n 's/^am__quote = //p' < "$mf"`
17920 # When using ansi2knr, U may be empty or an underscore; expand it
17921 U=`sed -n 's/^U = //p' < "$mf"`
17922 # Find all dependency output files, they are included files with
17923 # $(DEPDIR) in their names. We invoke sed twice because it is the
17924 # simplest approach to changing $(DEPDIR) to its actual value in the
17926 for file in `sed -n "
17927 s/^$am__include $am__quote\(.*(DEPDIR).*\)$am__quote"'$/\1/p' <"$mf" | \
17928 sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g' -e 's/\$U/'"$U"'/g'`; do
17929 # Make sure the directory exists.
17930 test -f "$dirpart/$file" && continue
17931 fdir=`$as_dirname -- "$file" ||
17932 $as_expr X"$file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
17933 X"$file" : 'X\(//\)[^/]' \| \
17934 X"$file" : 'X\(//\)$' \| \
17935 X"$file" : 'X\(/\)' \| . 2>/dev/null ||
17936 $as_echo X"$file" |
17937 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
17941 /^X\(\/\/\)[^/].*/{
17954 as_dir=$dirpart/$fdir; as_fn_mkdir_p
17955 # echo "creating $dirpart/$file"
17956 echo '# dummy' > "$dirpart/$file"
17963 # See if we are running on zsh, and set the options which allow our
17964 # commands through without removal of \ escapes.
17965 if test -n "${ZSH_VERSION+set}" ; then
17966 setopt NO_GLOB_SUBST
17969 cfgfile="${ofile}T"
17970 trap "$RM \"$cfgfile\"; exit 1" 1 2 15
17973 cat <<_LT_EOF >> "$cfgfile"
17976 # `$ECHO "$ofile" | sed 's%^.*/%%'` - Provide generalized library-building support services.
17977 # Generated automatically by $as_me ($PACKAGE$TIMESTAMP) $VERSION
17978 # Libtool was configured on host `(hostname || uname -n) 2>/dev/null | sed 1q`:
17979 # NOTE: Changes made to this file will be lost: look at ltmain.sh.
17981 # Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2003, 2004, 2005,
17982 # 2006, 2007, 2008, 2009, 2010 Free Software Foundation,
17984 # Written by Gordon Matzigkeit, 1996
17986 # This file is part of GNU Libtool.
17988 # GNU Libtool is free software; you can redistribute it and/or
17989 # modify it under the terms of the GNU General Public License as
17990 # published by the Free Software Foundation; either version 2 of
17991 # the License, or (at your option) any later version.
17993 # As a special exception to the GNU General Public License,
17994 # if you distribute this file as part of a program or library that
17995 # is built using GNU Libtool, you may include this file under the
17996 # same distribution terms that you use for the rest of that program.
17998 # GNU Libtool is distributed in the hope that it will be useful,
17999 # but WITHOUT ANY WARRANTY; without even the implied warranty of
18000 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
18001 # GNU General Public License for more details.
18003 # You should have received a copy of the GNU General Public License
18004 # along with GNU Libtool; see the file COPYING. If not, a copy
18005 # can be downloaded from http://www.gnu.org/licenses/gpl.html, or
18006 # obtained by writing to the Free Software Foundation, Inc.,
18007 # 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
18010 # The names of the tagged configurations supported by this script.
18013 # ### BEGIN LIBTOOL CONFIG
18015 # Whether or not to build static libraries.
18016 build_old_libs=$enable_static
18018 # Assembler program.
18021 # DLL creation program.
18022 DLLTOOL=$lt_DLLTOOL
18024 # Object dumper program.
18025 OBJDUMP=$lt_OBJDUMP
18027 # Which release of libtool.m4 was used?
18028 macro_version=$macro_version
18029 macro_revision=$macro_revision
18031 # Whether or not to build shared libraries.
18032 build_libtool_libs=$enable_shared
18034 # What type of objects to build.
18037 # Whether or not to optimize for fast installation.
18038 fast_install=$enable_fast_install
18040 # Shell to use when invoking shell scripts.
18043 # An echo program that protects backslashes.
18047 host_alias=$host_alias
18051 # The build system.
18052 build_alias=$build_alias
18056 # A sed program that does not truncate output.
18059 # Sed that helps us avoid accidentally triggering echo(1) options like -n.
18060 Xsed="\$SED -e 1s/^X//"
18062 # A grep program that handles long lines.
18068 # A literal string matcher.
18071 # A BSD- or MS-compatible name lister.
18074 # Whether we need soft or hard links.
18077 # What is the maximum length of a command?
18078 max_cmd_len=$max_cmd_len
18080 # Object file suffix (normally "o").
18083 # Executable file suffix (normally "").
18086 # whether the shell understands "unset".
18089 # turn spaces into newlines.
18092 # turn newlines into spaces.
18095 # convert \$build file names to \$host format.
18096 to_host_file_cmd=$lt_cv_to_host_file_cmd
18098 # convert \$build files to toolchain format.
18099 to_tool_file_cmd=$lt_cv_to_tool_file_cmd
18101 # Method to check whether dependent libraries are shared objects.
18102 deplibs_check_method=$lt_deplibs_check_method
18104 # Command to use when deplibs_check_method = "file_magic".
18105 file_magic_cmd=$lt_file_magic_cmd
18107 # How to find potential files when deplibs_check_method = "file_magic".
18108 file_magic_glob=$lt_file_magic_glob
18110 # Find potential files using nocaseglob when deplibs_check_method = "file_magic".
18111 want_nocaseglob=$lt_want_nocaseglob
18113 # Command to associate shared and link libraries.
18114 sharedlib_from_linklib_cmd=$lt_sharedlib_from_linklib_cmd
18119 # Flags to create an archive.
18120 AR_FLAGS=$lt_AR_FLAGS
18122 # How to feed a file listing to the archiver.
18123 archiver_list_spec=$lt_archiver_list_spec
18125 # A symbol stripping program.
18128 # Commands used to install an old-style archive.
18130 old_postinstall_cmds=$lt_old_postinstall_cmds
18131 old_postuninstall_cmds=$lt_old_postuninstall_cmds
18133 # Whether to use a lock for old archive extraction.
18134 lock_old_archive_extraction=$lock_old_archive_extraction
18139 # LTCC compiler flags.
18140 LTCFLAGS=$lt_CFLAGS
18142 # Take the output of nm and produce a listing of raw symbols and C names.
18143 global_symbol_pipe=$lt_lt_cv_sys_global_symbol_pipe
18145 # Transform the output of nm in a proper C declaration.
18146 global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl
18148 # Transform the output of nm in a C name address pair.
18149 global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address
18151 # Transform the output of nm in a C name address pair when lib prefix is needed.
18152 global_symbol_to_c_name_address_lib_prefix=$lt_lt_cv_sys_global_symbol_to_c_name_address_lib_prefix
18154 # Specify filename containing input files for \$NM.
18155 nm_file_list_spec=$lt_nm_file_list_spec
18157 # The root where to search for dependent libraries,and in which our libraries should be installed.
18158 lt_sysroot=$lt_sysroot
18160 # The name of the directory that contains temporary libtool files.
18163 # Used to examine libraries when file_magic_cmd begins with "file".
18164 MAGIC_CMD=$MAGIC_CMD
18166 # Must we lock files when doing compilation?
18167 need_locks=$lt_need_locks
18170 MANIFEST_TOOL=$lt_MANIFEST_TOOL
18172 # Tool to manipulate archived DWARF debug symbol files on Mac OS X.
18173 DSYMUTIL=$lt_DSYMUTIL
18175 # Tool to change global to local symbols on Mac OS X.
18178 # Tool to manipulate fat objects and archives on Mac OS X.
18181 # ldd/readelf like tool for Mach-O binaries on Mac OS X.
18184 # ldd/readelf like tool for 64 bit Mach-O binaries on Mac OS X 10.4.
18185 OTOOL64=$lt_OTOOL64
18187 # Old archive suffix (normally "a").
18190 # Shared library suffix (normally ".so").
18191 shrext_cmds=$lt_shrext_cmds
18193 # The commands to extract the exported symbol list from a shared archive.
18194 extract_expsyms_cmds=$lt_extract_expsyms_cmds
18196 # Variables whose values should be saved in libtool wrapper scripts and
18197 # restored at link time.
18198 variables_saved_for_relink=$lt_variables_saved_for_relink
18200 # Do we need the "lib" prefix for modules?
18201 need_lib_prefix=$need_lib_prefix
18203 # Do we need a version for libraries?
18204 need_version=$need_version
18206 # Library versioning type.
18207 version_type=$version_type
18209 # Shared library runtime path variable.
18210 runpath_var=$runpath_var
18212 # Shared library path variable.
18213 shlibpath_var=$shlibpath_var
18215 # Is shlibpath searched before the hard-coded library search path?
18216 shlibpath_overrides_runpath=$shlibpath_overrides_runpath
18218 # Format of library name prefix.
18219 libname_spec=$lt_libname_spec
18221 # List of archive names. First name is the real one, the rest are links.
18222 # The last name is the one that the linker finds with -lNAME
18223 library_names_spec=$lt_library_names_spec
18225 # The coded name of the library, if different from the real name.
18226 soname_spec=$lt_soname_spec
18228 # Permission mode override for installation of shared libraries.
18229 install_override_mode=$lt_install_override_mode
18231 # Command to use after installation of a shared archive.
18232 postinstall_cmds=$lt_postinstall_cmds
18234 # Command to use after uninstallation of a shared archive.
18235 postuninstall_cmds=$lt_postuninstall_cmds
18237 # Commands used to finish a libtool library installation in a directory.
18238 finish_cmds=$lt_finish_cmds
18240 # As "finish_cmds", except a single script fragment to be evaled but
18242 finish_eval=$lt_finish_eval
18244 # Whether we should hardcode library paths into libraries.
18245 hardcode_into_libs=$hardcode_into_libs
18247 # Compile-time system search path for libraries.
18248 sys_lib_search_path_spec=$lt_sys_lib_search_path_spec
18250 # Run-time system search path for libraries.
18251 sys_lib_dlsearch_path_spec=$lt_sys_lib_dlsearch_path_spec
18253 # Whether dlopen is supported.
18254 dlopen_support=$enable_dlopen
18256 # Whether dlopen of programs is supported.
18257 dlopen_self=$enable_dlopen_self
18259 # Whether dlopen of statically linked programs is supported.
18260 dlopen_self_static=$enable_dlopen_self_static
18262 # Commands to strip libraries.
18263 old_striplib=$lt_old_striplib
18264 striplib=$lt_striplib
18267 # The linker used to build libraries.
18270 # How to create reloadable object files.
18271 reload_flag=$lt_reload_flag
18272 reload_cmds=$lt_reload_cmds
18274 # Commands used to build an old-style archive.
18275 old_archive_cmds=$lt_old_archive_cmds
18277 # A language specific compiler.
18280 # Is the compiler the GNU compiler?
18283 # Compiler flag to turn off builtin functions.
18284 no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag
18286 # Additional compiler flags for building library objects.
18287 pic_flag=$lt_lt_prog_compiler_pic
18289 # How to pass a linker flag through the compiler.
18290 wl=$lt_lt_prog_compiler_wl
18292 # Compiler flag to prevent dynamic linking.
18293 link_static_flag=$lt_lt_prog_compiler_static
18295 # Does compiler simultaneously support -c and -o options?
18296 compiler_c_o=$lt_lt_cv_prog_compiler_c_o
18298 # Whether or not to add -lc for building shared libraries.
18299 build_libtool_need_lc=$archive_cmds_need_lc
18301 # Whether or not to disallow shared libs when runtime libs are static.
18302 allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes
18304 # Compiler flag to allow reflexive dlopens.
18305 export_dynamic_flag_spec=$lt_export_dynamic_flag_spec
18307 # Compiler flag to generate shared objects directly from archives.
18308 whole_archive_flag_spec=$lt_whole_archive_flag_spec
18310 # Whether the compiler copes with passing no objects directly.
18311 compiler_needs_object=$lt_compiler_needs_object
18313 # Create an old-style archive from a shared archive.
18314 old_archive_from_new_cmds=$lt_old_archive_from_new_cmds
18316 # Create a temporary old-style archive to link instead of a shared archive.
18317 old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds
18319 # Commands used to build a shared archive.
18320 archive_cmds=$lt_archive_cmds
18321 archive_expsym_cmds=$lt_archive_expsym_cmds
18323 # Commands used to build a loadable module if different from building
18324 # a shared archive.
18325 module_cmds=$lt_module_cmds
18326 module_expsym_cmds=$lt_module_expsym_cmds
18328 # Whether we are building with GNU ld or not.
18329 with_gnu_ld=$lt_with_gnu_ld
18331 # Flag that allows shared libraries with undefined symbols to be built.
18332 allow_undefined_flag=$lt_allow_undefined_flag
18334 # Flag that enforces no undefined symbols.
18335 no_undefined_flag=$lt_no_undefined_flag
18337 # Flag to hardcode \$libdir into a binary during linking.
18338 # This must work even if \$libdir does not exist
18339 hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec
18341 # If ld is used when linking, flag to hardcode \$libdir into a binary
18342 # during linking. This must work even if \$libdir does not exist.
18343 hardcode_libdir_flag_spec_ld=$lt_hardcode_libdir_flag_spec_ld
18345 # Whether we need a single "-rpath" flag with a separated argument.
18346 hardcode_libdir_separator=$lt_hardcode_libdir_separator
18348 # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
18349 # DIR into the resulting binary.
18350 hardcode_direct=$hardcode_direct
18352 # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
18353 # DIR into the resulting binary and the resulting library dependency is
18354 # "absolute",i.e impossible to change by setting \${shlibpath_var} if the
18355 # library is relocated.
18356 hardcode_direct_absolute=$hardcode_direct_absolute
18358 # Set to "yes" if using the -LDIR flag during linking hardcodes DIR
18359 # into the resulting binary.
18360 hardcode_minus_L=$hardcode_minus_L
18362 # Set to "yes" if using SHLIBPATH_VAR=DIR during linking hardcodes DIR
18363 # into the resulting binary.
18364 hardcode_shlibpath_var=$hardcode_shlibpath_var
18366 # Set to "yes" if building a shared library automatically hardcodes DIR
18367 # into the library and all subsequent libraries and executables linked
18369 hardcode_automatic=$hardcode_automatic
18371 # Set to yes if linker adds runtime paths of dependent libraries
18372 # to runtime path list.
18373 inherit_rpath=$inherit_rpath
18375 # Whether libtool must link a program against all its dependency libraries.
18376 link_all_deplibs=$link_all_deplibs
18378 # Set to "yes" if exported symbols are required.
18379 always_export_symbols=$always_export_symbols
18381 # The commands to list exported symbols.
18382 export_symbols_cmds=$lt_export_symbols_cmds
18384 # Symbols that should not be listed in the preloaded symbols.
18385 exclude_expsyms=$lt_exclude_expsyms
18387 # Symbols that must always be exported.
18388 include_expsyms=$lt_include_expsyms
18390 # Commands necessary for linking programs (against libraries) with templates.
18391 prelink_cmds=$lt_prelink_cmds
18393 # Commands necessary for finishing linking programs.
18394 postlink_cmds=$lt_postlink_cmds
18396 # Specify filename containing input files.
18397 file_list_spec=$lt_file_list_spec
18399 # How to hardcode a shared library path into an executable.
18400 hardcode_action=$hardcode_action
18402 # ### END LIBTOOL CONFIG
18408 cat <<\_LT_EOF >> "$cfgfile"
18409 # AIX sometimes has problems with the GCC collect2 program. For some
18410 # reason, if we set the COLLECT_NAMES environment variable, the problems
18411 # vanish in a puff of smoke.
18412 if test "X${COLLECT_NAMES+set}" != Xset; then
18414 export COLLECT_NAMES
18421 ltmain="$ac_aux_dir/ltmain.sh"
18424 # We use sed instead of cat because bash on DJGPP gets confused if
18425 # if finds mixed CR/LF and LF-only lines. Since sed operates in
18426 # text mode, it properly converts lines to CR/LF. This bash problem
18427 # is reportedly fixed, but why not run on old versions too?
18428 sed '$q' "$ltmain" >> "$cfgfile" \
18429 || (rm -f "$cfgfile"; exit 1)
18431 if test x"$xsi_shell" = xyes; then
18432 sed -e '/^func_dirname ()$/,/^} # func_dirname /c\
18436 \ */*) func_dirname_result="${1%/*}${2}" ;;\
18437 \ * ) func_dirname_result="${3}" ;;\
18439 } # Extended-shell func_dirname implementation' "$cfgfile" > $cfgfile.tmp \
18440 && mv -f "$cfgfile.tmp" "$cfgfile" \
18441 || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
18442 test 0 -eq $? || _lt_function_replace_fail=:
18445 sed -e '/^func_basename ()$/,/^} # func_basename /c\
18448 \ func_basename_result="${1##*/}"\
18449 } # Extended-shell func_basename implementation' "$cfgfile" > $cfgfile.tmp \
18450 && mv -f "$cfgfile.tmp" "$cfgfile" \
18451 || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
18452 test 0 -eq $? || _lt_function_replace_fail=:
18455 sed -e '/^func_dirname_and_basename ()$/,/^} # func_dirname_and_basename /c\
18456 func_dirname_and_basename ()\
18459 \ */*) func_dirname_result="${1%/*}${2}" ;;\
18460 \ * ) func_dirname_result="${3}" ;;\
18462 \ func_basename_result="${1##*/}"\
18463 } # Extended-shell func_dirname_and_basename implementation' "$cfgfile" > $cfgfile.tmp \
18464 && mv -f "$cfgfile.tmp" "$cfgfile" \
18465 || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
18466 test 0 -eq $? || _lt_function_replace_fail=:
18469 sed -e '/^func_stripname ()$/,/^} # func_stripname /c\
18472 \ # pdksh 5.2.14 does not do ${X%$Y} correctly if both X and Y are\
18473 \ # positional parameters, so assign one to ordinary parameter first.\
18474 \ func_stripname_result=${3}\
18475 \ func_stripname_result=${func_stripname_result#"${1}"}\
18476 \ func_stripname_result=${func_stripname_result%"${2}"}\
18477 } # Extended-shell func_stripname implementation' "$cfgfile" > $cfgfile.tmp \
18478 && mv -f "$cfgfile.tmp" "$cfgfile" \
18479 || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
18480 test 0 -eq $? || _lt_function_replace_fail=:
18483 sed -e '/^func_split_long_opt ()$/,/^} # func_split_long_opt /c\
18484 func_split_long_opt ()\
18486 \ func_split_long_opt_name=${1%%=*}\
18487 \ func_split_long_opt_arg=${1#*=}\
18488 } # Extended-shell func_split_long_opt implementation' "$cfgfile" > $cfgfile.tmp \
18489 && mv -f "$cfgfile.tmp" "$cfgfile" \
18490 || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
18491 test 0 -eq $? || _lt_function_replace_fail=:
18494 sed -e '/^func_split_short_opt ()$/,/^} # func_split_short_opt /c\
18495 func_split_short_opt ()\
18497 \ func_split_short_opt_arg=${1#??}\
18498 \ func_split_short_opt_name=${1%"$func_split_short_opt_arg"}\
18499 } # Extended-shell func_split_short_opt implementation' "$cfgfile" > $cfgfile.tmp \
18500 && mv -f "$cfgfile.tmp" "$cfgfile" \
18501 || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
18502 test 0 -eq $? || _lt_function_replace_fail=:
18505 sed -e '/^func_lo2o ()$/,/^} # func_lo2o /c\
18509 \ *.lo) func_lo2o_result=${1%.lo}.${objext} ;;\
18510 \ *) func_lo2o_result=${1} ;;\
18512 } # Extended-shell func_lo2o implementation' "$cfgfile" > $cfgfile.tmp \
18513 && mv -f "$cfgfile.tmp" "$cfgfile" \
18514 || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
18515 test 0 -eq $? || _lt_function_replace_fail=:
18518 sed -e '/^func_xform ()$/,/^} # func_xform /c\
18521 func_xform_result=${1%.*}.lo\
18522 } # Extended-shell func_xform implementation' "$cfgfile" > $cfgfile.tmp \
18523 && mv -f "$cfgfile.tmp" "$cfgfile" \
18524 || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
18525 test 0 -eq $? || _lt_function_replace_fail=:
18528 sed -e '/^func_arith ()$/,/^} # func_arith /c\
18531 func_arith_result=$(( $* ))\
18532 } # Extended-shell func_arith implementation' "$cfgfile" > $cfgfile.tmp \
18533 && mv -f "$cfgfile.tmp" "$cfgfile" \
18534 || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
18535 test 0 -eq $? || _lt_function_replace_fail=:
18538 sed -e '/^func_len ()$/,/^} # func_len /c\
18541 func_len_result=${#1}\
18542 } # Extended-shell func_len implementation' "$cfgfile" > $cfgfile.tmp \
18543 && mv -f "$cfgfile.tmp" "$cfgfile" \
18544 || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
18545 test 0 -eq $? || _lt_function_replace_fail=:
18549 if test x"$lt_shell_append" = xyes; then
18550 sed -e '/^func_append ()$/,/^} # func_append /c\
18553 eval "${1}+=\\${2}"\
18554 } # Extended-shell func_append implementation' "$cfgfile" > $cfgfile.tmp \
18555 && mv -f "$cfgfile.tmp" "$cfgfile" \
18556 || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
18557 test 0 -eq $? || _lt_function_replace_fail=:
18560 sed -e '/^func_append_quoted ()$/,/^} # func_append_quoted /c\
18561 func_append_quoted ()\
18563 \ func_quote_for_eval "${2}"\
18564 \ eval "${1}+=\\\\ \\$func_quote_for_eval_result"\
18565 } # Extended-shell func_append_quoted implementation' "$cfgfile" > $cfgfile.tmp \
18566 && mv -f "$cfgfile.tmp" "$cfgfile" \
18567 || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
18568 test 0 -eq $? || _lt_function_replace_fail=:
18571 # Save a `func_append' function call where possible by direct use of '+='
18572 sed -e 's%func_append \([a-zA-Z_]\{1,\}\) "%\1+="%g' $cfgfile > $cfgfile.tmp \
18573 && mv -f "$cfgfile.tmp" "$cfgfile" \
18574 || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
18575 test 0 -eq $? || _lt_function_replace_fail=:
18577 # Save a `func_append' function call even when '+=' is not available
18578 sed -e 's%func_append \([a-zA-Z_]\{1,\}\) "%\1="$\1%g' $cfgfile > $cfgfile.tmp \
18579 && mv -f "$cfgfile.tmp" "$cfgfile" \
18580 || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
18581 test 0 -eq $? || _lt_function_replace_fail=:
18584 if test x"$_lt_function_replace_fail" = x":"; then
18585 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Unable to substitute extended shell functions in $ofile" >&5
18586 $as_echo "$as_me: WARNING: Unable to substitute extended shell functions in $ofile" >&2;}
18590 mv -f "$cfgfile" "$ofile" ||
18591 (rm -f "$ofile" && cp "$cfgfile" "$ofile" && rm -f "$cfgfile")
18602 ac_clean_files=$ac_clean_files_save
18604 test $ac_write_fail = 0 ||
18605 as_fn_error $? "write failure creating $CONFIG_STATUS" "$LINENO" 5
18608 # configure is writing to config.log, and then calls config.status.
18609 # config.status does its own redirection, appending to config.log.
18610 # Unfortunately, on DOS this fails, as config.log is still kept open
18611 # by configure, so config.status won't be able to write to it; its
18612 # output is simply discarded. So we exec the FD to /dev/null,
18613 # effectively closing config.log, so it can be properly (re)opened and
18614 # appended to by config.status. When coming back to configure, we
18615 # need to make the FD available again.
18616 if test "$no_create" != yes; then
18618 ac_config_status_args=
18619 test "$silent" = yes &&
18620 ac_config_status_args="$ac_config_status_args --quiet"
18622 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
18624 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
18625 # would make configure fail if this is the last instruction.
18626 $ac_cs_success || as_fn_exit 1
18628 if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no; then
18629 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
18630 $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}
18635 echo "libffi support: $have_libffi"
18636 echo "introspection support: $enable_introspection"