2 # Guess values for system-dependent variables and create Makefiles.
3 # Generated by GNU Autoconf 2.69 for libgee 0.10.0.
5 # Report bugs to <https://bugzilla.gnome.org/enter_bug.cgi?product=libgee>.
8 # Copyright (C) 1992-1996, 1998-2012 Free Software Foundation, Inc.
11 # This configure script is free software; the Free Software Foundation
12 # gives unlimited permission to copy, distribute and modify it.
13 ## -------------------- ##
14 ## M4sh Initialization. ##
15 ## -------------------- ##
17 # Be more Bourne compatible
18 DUALCASE=1; export DUALCASE # for MKS sh
19 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :
22 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
23 # is contrary to our usage. Disable this feature.
24 alias -g '${1+"$@"}'='"$@"'
27 case `(set -o) 2>/dev/null` in #(
39 # Printing a long string crashes Solaris 7 /usr/bin/printf.
40 as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
41 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
42 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
43 # Prefer a ksh shell builtin over an external printf program on Solaris,
44 # but without wasting forks for bash or zsh.
45 if test -z "$BASH_VERSION$ZSH_VERSION" \
46 && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
48 as_echo_n='print -rn --'
49 elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
53 if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
54 as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
55 as_echo_n='/usr/ucb/echo -n'
57 as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
62 expr "X$arg" : "X\\(.*\\)$as_nl";
63 arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
65 expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
68 as_echo_n='sh -c $as_echo_n_body as_echo'
71 as_echo='sh -c $as_echo_body as_echo'
74 # The user is always right.
75 if test "${PATH_SEPARATOR+set}" != set; then
77 (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
78 (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
85 # We need space, tab and new line, in precisely that order. Quoting is
86 # there to prevent editors from complaining about space-tab.
87 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
88 # splitting by setting IFS to empty value.)
91 # Find who we are. Look in the path if we contain no directory separator.
94 *[\\/]* ) as_myself=$0 ;;
95 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
99 test -z "$as_dir" && as_dir=.
100 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
106 # We did not find ourselves, most probably we were run as `sh COMMAND'
107 # in which case we are not to be found in the path.
108 if test "x$as_myself" = x; then
111 if test ! -f "$as_myself"; then
112 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
116 # Unset variables that we do not need and which cause bugs (e.g. in
117 # pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1"
118 # suppresses any "Segmentation fault" message there. '((' could
119 # trigger a bug in pdksh 5.2.14.
120 for as_var in BASH_ENV ENV MAIL MAILPATH
121 do eval test x\${$as_var+set} = xset \
122 && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
135 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
137 # Use a proper internal environment variable to ensure we don't fall
138 # into an infinite loop, continuously re-executing ourselves.
139 if test x"${_as_can_reexec}" != xno && test "x$CONFIG_SHELL" != x; then
140 _as_can_reexec=no; export _as_can_reexec;
141 # We cannot yet assume a decent shell, so we have to provide a
142 # neutralization value for shells without unset; and this also
143 # works around shells that cannot unset nonexistent variables.
144 # Preserve -v and -x to the replacement shell.
147 (unset BASH_ENV) >/dev/null 2>&1 && unset BASH_ENV ENV
149 *v*x* | *x*v* ) as_opts=-vx ;;
154 exec $CONFIG_SHELL $as_opts "$as_myself" ${1+"$@"}
155 # Admittedly, this is quite paranoid, since all the known shells bail
156 # out after a failed `exec'.
157 $as_echo "$0: could not re-execute with $CONFIG_SHELL" >&2
160 # We don't want this to propagate to other subprocesses.
161 { _as_can_reexec=; unset _as_can_reexec;}
162 if test "x$CONFIG_SHELL" = x; then
163 as_bourne_compatible="if test -n \"\${ZSH_VERSION+set}\" && (emulate sh) >/dev/null 2>&1; then :
166 # Pre-4.2 versions of Zsh do word splitting on \${1+\"\$@\"}, which
167 # is contrary to our usage. Disable this feature.
168 alias -g '\${1+\"\$@\"}'='\"\$@\"'
171 case \`(set -o) 2>/dev/null\` in #(
179 as_required="as_fn_return () { (exit \$1); }
180 as_fn_success () { as_fn_return 0; }
181 as_fn_failure () { as_fn_return 1; }
182 as_fn_ret_success () { return 0; }
183 as_fn_ret_failure () { return 1; }
186 as_fn_success || { exitcode=1; echo as_fn_success failed.; }
187 as_fn_failure && { exitcode=1; echo as_fn_failure succeeded.; }
188 as_fn_ret_success || { exitcode=1; echo as_fn_ret_success failed.; }
189 as_fn_ret_failure && { exitcode=1; echo as_fn_ret_failure succeeded.; }
190 if ( set x; as_fn_ret_success y && test x = \"\$1\" ); then :
193 exitcode=1; echo positional parameters were not saved.
195 test x\$exitcode = x0 || exit 1
197 as_suggested=" as_lineno_1=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_1a=\$LINENO
198 as_lineno_2=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_2a=\$LINENO
199 eval 'test \"x\$as_lineno_1'\$as_run'\" != \"x\$as_lineno_2'\$as_run'\" &&
200 test \"x\`expr \$as_lineno_1'\$as_run' + 1\`\" = \"x\$as_lineno_2'\$as_run'\"' || exit 1
202 test -n \"\${ZSH_VERSION+set}\${BASH_VERSION+set}\" || (
203 ECHO='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
204 ECHO=\$ECHO\$ECHO\$ECHO\$ECHO\$ECHO
205 ECHO=\$ECHO\$ECHO\$ECHO\$ECHO\$ECHO\$ECHO
206 PATH=/empty FPATH=/empty; export PATH FPATH
207 test \"X\`printf %s \$ECHO\`\" = \"X\$ECHO\" \\
208 || test \"X\`print -r -- \$ECHO\`\" = \"X\$ECHO\" ) || exit 1
209 test \$(( 1 + 1 )) = 2 || exit 1"
210 if (eval "$as_required") 2>/dev/null; then :
215 if test x$as_have_required = xyes && (eval "$as_suggested") 2>/dev/null; then :
218 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
220 for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
223 test -z "$as_dir" && as_dir=.
227 for as_base in sh bash ksh sh5; do
228 # Try only shells that exist, to save several forks.
229 as_shell=$as_dir/$as_base
230 if { test -f "$as_shell" || test -f "$as_shell.exe"; } &&
231 { $as_echo "$as_bourne_compatible""$as_required" | as_run=a "$as_shell"; } 2>/dev/null; then :
232 CONFIG_SHELL=$as_shell as_have_required=yes
233 if { $as_echo "$as_bourne_compatible""$as_suggested" | as_run=a "$as_shell"; } 2>/dev/null; then :
241 $as_found || { if { test -f "$SHELL" || test -f "$SHELL.exe"; } &&
242 { $as_echo "$as_bourne_compatible""$as_required" | as_run=a "$SHELL"; } 2>/dev/null; then :
243 CONFIG_SHELL=$SHELL as_have_required=yes
248 if test "x$CONFIG_SHELL" != x; then :
250 # We cannot yet assume a decent shell, so we have to provide a
251 # neutralization value for shells without unset; and this also
252 # works around shells that cannot unset nonexistent variables.
253 # Preserve -v and -x to the replacement shell.
256 (unset BASH_ENV) >/dev/null 2>&1 && unset BASH_ENV ENV
258 *v*x* | *x*v* ) as_opts=-vx ;;
263 exec $CONFIG_SHELL $as_opts "$as_myself" ${1+"$@"}
264 # Admittedly, this is quite paranoid, since all the known shells bail
265 # out after a failed `exec'.
266 $as_echo "$0: could not re-execute with $CONFIG_SHELL" >&2
270 if test x$as_have_required = xno; then :
271 $as_echo "$0: This script requires a shell more modern than all"
272 $as_echo "$0: the shells that I found on your system."
273 if test x${ZSH_VERSION+set} = xset ; then
274 $as_echo "$0: In particular, zsh $ZSH_VERSION has bugs and should"
275 $as_echo "$0: be upgraded to zsh 4.3.4 or later."
277 $as_echo "$0: Please tell bug-autoconf@gnu.org and
278 $0: https://bugzilla.gnome.org/enter_bug.cgi?product=libgee
279 $0: about your system, including any error possibly output
280 $0: before this message. Then install a modern shell, or
281 $0: manually run the script under such a shell if you do
288 SHELL=${CONFIG_SHELL-/bin/sh}
290 # Unset more variables known to interfere with behavior of common tools.
291 CLICOLOR_FORCE= GREP_OPTIONS=
292 unset CLICOLOR_FORCE GREP_OPTIONS
294 ## --------------------- ##
295 ## M4sh Shell Functions. ##
296 ## --------------------- ##
299 # Portably unset VAR.
302 { eval $1=; unset $1;}
306 # as_fn_set_status STATUS
307 # -----------------------
308 # Set $? to STATUS, without forking.
316 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
326 # Create "$as_dir" as a directory, including parents if necessary.
331 -*) as_dir=./$as_dir;;
333 test -d "$as_dir" || eval $as_mkdir_p || {
337 *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
340 as_dirs="'$as_qdir' $as_dirs"
341 as_dir=`$as_dirname -- "$as_dir" ||
342 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
343 X"$as_dir" : 'X\(//\)[^/]' \| \
344 X"$as_dir" : 'X\(//\)$' \| \
345 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
346 $as_echo X"$as_dir" |
347 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
364 test -d "$as_dir" && break
366 test -z "$as_dirs" || eval "mkdir $as_dirs"
367 } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir"
372 # as_fn_executable_p FILE
373 # -----------------------
374 # Test if FILE is an executable regular file.
375 as_fn_executable_p ()
377 test -f "$1" && test -x "$1"
378 } # as_fn_executable_p
379 # as_fn_append VAR VALUE
380 # ----------------------
381 # Append the text in VALUE to the end of the definition contained in VAR. Take
382 # advantage of any shell optimizations that allow amortized linear growth over
383 # repeated appends, instead of the typical quadratic growth present in naive
385 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
386 eval 'as_fn_append ()
399 # Perform arithmetic evaluation on the ARGs, and store the result in the
400 # global $as_val. Take advantage of shells that can avoid forks. The arguments
401 # must be portable across $(()) and expr.
402 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
410 as_val=`expr "$@" || test $? -eq 1`
415 # as_fn_error STATUS ERROR [LINENO LOG_FD]
416 # ----------------------------------------
417 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
418 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
419 # script with STATUS, using 1 if that was 0.
422 as_status=$1; test $as_status -eq 0 && as_status=1
424 as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
425 $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
427 $as_echo "$as_me: error: $2" >&2
428 as_fn_exit $as_status
431 if expr a : '\(a\)' >/dev/null 2>&1 &&
432 test "X`expr 00001 : '.*\(...\)'`" = X001; then
438 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
444 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
450 as_me=`$as_basename -- "$0" ||
451 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
452 X"$0" : 'X\(//\)$' \| \
453 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
455 sed '/^.*\/\([^/][^/]*\)\/*$/{
469 # Avoid depending upon Character Ranges.
470 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
471 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
472 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
473 as_cr_digits='0123456789'
474 as_cr_alnum=$as_cr_Letters$as_cr_digits
477 as_lineno_1=$LINENO as_lineno_1a=$LINENO
478 as_lineno_2=$LINENO as_lineno_2a=$LINENO
479 eval 'test "x$as_lineno_1'$as_run'" != "x$as_lineno_2'$as_run'" &&
480 test "x`expr $as_lineno_1'$as_run' + 1`" = "x$as_lineno_2'$as_run'"' || {
481 # Blame Lee E. McMahon (1931-1989) for sed's syntax. :-)
493 s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
497 chmod +x "$as_me.lineno" ||
498 { $as_echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2; as_fn_exit 1; }
500 # If we had to re-execute with $CONFIG_SHELL, we're ensured to have
501 # already done that, so ensure we don't try to do so again and fall
502 # in an infinite loop. This has already happened in practice.
503 _as_can_reexec=no; export _as_can_reexec
504 # Don't try to exec as it changes $[0], causing all sort of problems
505 # (the dirname of $[0] is not the place where we might find the
506 # original and so on. Autoconf is especially sensitive to this).
508 # Exit status is that of the last command.
512 ECHO_C= ECHO_N= ECHO_T=
513 case `echo -n x` in #(((((
515 case `echo 'xy\c'` in
516 *c*) ECHO_T=' ';; # ECHO_T is single tab character.
518 *) echo `echo ksh88 bug on AIX 6.1` > /dev/null
525 rm -f conf$$ conf$$.exe conf$$.file
526 if test -d conf$$.dir; then
527 rm -f conf$$.dir/conf$$.file
530 mkdir conf$$.dir 2>/dev/null
532 if (echo >conf$$.file) 2>/dev/null; then
533 if ln -s conf$$.file conf$$ 2>/dev/null; then
535 # ... but there are two gotchas:
536 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
537 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
538 # In both cases, we have to default to `cp -pR'.
539 ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
541 elif ln conf$$.file conf$$ 2>/dev/null; then
549 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
550 rmdir conf$$.dir 2>/dev/null
552 if mkdir -p . 2>/dev/null; then
553 as_mkdir_p='mkdir -p "$as_dir"'
555 test -d ./-p && rmdir ./-p
560 as_executable_p=as_fn_executable_p
562 # Sed expression to map a string onto a valid CPP name.
563 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
565 # Sed expression to map a string onto a valid variable name.
566 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
568 SHELL=${CONFIG_SHELL-/bin/sh}
571 # Use only awk features that work with 7th edition Unix awk (1978).
572 # My, what an old awk you have, Mr. Solaris!
574 while (length(v1) && length(v2)) {
575 # Set d1 to be the next thing to compare from v1, and likewise for d2.
576 # Normally this is a single character, but if v1 and v2 contain digits,
577 # compare them as integers and fractions as strverscmp does.
578 if (v1 ~ /^[0-9]/ && v2 ~ /^[0-9]/) {
579 # Split v1 and v2 into their leading digit string components d1 and d2,
580 # and advance v1 and v2 past the leading digit strings.
581 for (len1 = 1; substr(v1, len1 + 1) ~ /^[0-9]/; len1++) continue
582 for (len2 = 1; substr(v2, len2 + 1) ~ /^[0-9]/; len2++) continue
583 d1 = substr(v1, 1, len1); v1 = substr(v1, len1 + 1)
584 d2 = substr(v2, 1, len2); v2 = substr(v2, len2 + 1)
587 # Compare two fractions.
588 while (d1 ~ /^0/ && d2 ~ /^0/) {
589 d1 = substr(d1, 2); len1--
590 d2 = substr(d2, 2); len2--
592 if (len1 != len2 && ! (len1 && len2 && substr(d1, 1, 1) == substr(d2, 1, 1))) {
593 # The two components differ in length, and the common prefix
594 # contains only leading zeros. Consider the longer to be less.
598 # Otherwise, compare as strings.
603 # A fraction is less than an integer.
608 # An integer is greater than a fraction.
611 # Compare two integers.
617 # The normal case, without worrying about digits.
618 d1 = substr(v1, 1, 1); v1 = substr(v1, 2)
619 d2 = substr(v2, 1, 1); v2 = substr(v2, 2)
624 # Beware Solaris /usr/xgp4/bin/awk (at least through Solaris 10),
625 # which mishandles some comparisons of empty strings to integers.
626 if (length(v2)) exit 1
627 if (length(v1)) exit 2
631 test -n "$DJDIR" || exec 7<&0 </dev/null
635 # hostname on some systems (SVR3.2, old GNU/Linux) returns a bogus exit status,
636 # so uname gets run too.
637 ac_hostname=`(hostname || uname -n) 2>/dev/null | sed 1q`
642 ac_default_prefix=/usr/local
644 ac_config_libobj_dir=.
651 # Identity of this package.
652 PACKAGE_NAME='libgee'
653 PACKAGE_TARNAME='libgee'
654 PACKAGE_VERSION='0.10.0'
655 PACKAGE_STRING='libgee 0.10.0'
656 PACKAGE_BUGREPORT='https://bugzilla.gnome.org/enter_bug.cgi?product=libgee'
659 ac_unique_file="Makefile.am"
660 # Factoring default headers for most tests.
661 ac_includes_default="\
663 #ifdef HAVE_SYS_TYPES_H
664 # include <sys/types.h>
666 #ifdef HAVE_SYS_STAT_H
667 # include <sys/stat.h>
673 # ifdef HAVE_STDLIB_H
678 # if !defined STDC_HEADERS && defined HAVE_MEMORY_H
683 #ifdef HAVE_STRINGS_H
684 # include <strings.h>
686 #ifdef HAVE_INTTYPES_H
687 # include <inttypes.h>
696 ac_subst_vars='am__EXEEXT_FALSE
700 HAVE_INTROSPECTION_FALSE
701 HAVE_INTROSPECTION_TRUE
702 INTROSPECTION_MAKEFILE
705 INTROSPECTION_TYPELIBDIR
707 INTROSPECTION_GENERATE
708 INTROSPECTION_COMPILER
709 INTROSPECTION_SCANNER
715 ENABLE_BENCHMARK_FALSE
716 ENABLE_BENCHMARK_TRUE
721 ENABLE_COVERAGE_FALSE
788 INSTALL_STRIP_PROGRAM
830 program_transform_name
843 enable_option_checking
845 enable_dependency_tracking
858 ac_precious_vars='build_alias
874 # Initialize some variables set by options.
876 ac_init_version=false
877 ac_unrecognized_opts=
879 # The variables have the same names as the options, with
880 # dashes changed to underlines.
888 program_transform_name=s,x,x,
896 # Installation directory options.
897 # These are left unexpanded so users can "make install exec_prefix=/foo"
898 # and all the variables that are supposed to be based on exec_prefix
899 # by default will actually change.
900 # Use braces instead of parens because sh, perl, etc. also accept them.
901 # (The list follows the same order as the GNU Coding Standards.)
902 bindir='${exec_prefix}/bin'
903 sbindir='${exec_prefix}/sbin'
904 libexecdir='${exec_prefix}/libexec'
905 datarootdir='${prefix}/share'
906 datadir='${datarootdir}'
907 sysconfdir='${prefix}/etc'
908 sharedstatedir='${prefix}/com'
909 localstatedir='${prefix}/var'
910 includedir='${prefix}/include'
911 oldincludedir='/usr/include'
912 docdir='${datarootdir}/doc/${PACKAGE_TARNAME}'
913 infodir='${datarootdir}/info'
918 libdir='${exec_prefix}/lib'
919 localedir='${datarootdir}/locale'
920 mandir='${datarootdir}/man'
926 # If the previous option needs an argument, assign it.
927 if test -n "$ac_prev"; then
928 eval $ac_prev=\$ac_option
934 *=?*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
939 # Accept the important Cygnus configure options, so we can diagnose typos.
941 case $ac_dashdash$ac_option in
945 -bindir | --bindir | --bindi | --bind | --bin | --bi)
947 -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
950 -build | --build | --buil | --bui | --bu)
951 ac_prev=build_alias ;;
952 -build=* | --build=* | --buil=* | --bui=* | --bu=*)
953 build_alias=$ac_optarg ;;
955 -cache-file | --cache-file | --cache-fil | --cache-fi \
956 | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
957 ac_prev=cache_file ;;
958 -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
959 | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
960 cache_file=$ac_optarg ;;
963 cache_file=config.cache ;;
965 -datadir | --datadir | --datadi | --datad)
967 -datadir=* | --datadir=* | --datadi=* | --datad=*)
968 datadir=$ac_optarg ;;
970 -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \
971 | --dataroo | --dataro | --datar)
972 ac_prev=datarootdir ;;
973 -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \
974 | --dataroot=* | --dataroo=* | --dataro=* | --datar=*)
975 datarootdir=$ac_optarg ;;
977 -disable-* | --disable-*)
978 ac_useropt=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
979 # Reject names that are not valid shell variable names.
980 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
981 as_fn_error $? "invalid feature name: $ac_useropt"
982 ac_useropt_orig=$ac_useropt
983 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
984 case $ac_user_opts in
988 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig"
989 ac_unrecognized_sep=', ';;
991 eval enable_$ac_useropt=no ;;
993 -docdir | --docdir | --docdi | --doc | --do)
995 -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*)
998 -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv)
1000 -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*)
1001 dvidir=$ac_optarg ;;
1003 -enable-* | --enable-*)
1004 ac_useropt=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
1005 # Reject names that are not valid shell variable names.
1006 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1007 as_fn_error $? "invalid feature name: $ac_useropt"
1008 ac_useropt_orig=$ac_useropt
1009 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1010 case $ac_user_opts in
1012 "enable_$ac_useropt"
1014 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig"
1015 ac_unrecognized_sep=', ';;
1017 eval enable_$ac_useropt=\$ac_optarg ;;
1019 -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
1020 | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
1021 | --exec | --exe | --ex)
1022 ac_prev=exec_prefix ;;
1023 -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
1024 | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
1025 | --exec=* | --exe=* | --ex=*)
1026 exec_prefix=$ac_optarg ;;
1028 -gas | --gas | --ga | --g)
1029 # Obsolete; use --with-gas.
1032 -help | --help | --hel | --he | -h)
1033 ac_init_help=long ;;
1034 -help=r* | --help=r* | --hel=r* | --he=r* | -hr*)
1035 ac_init_help=recursive ;;
1036 -help=s* | --help=s* | --hel=s* | --he=s* | -hs*)
1037 ac_init_help=short ;;
1039 -host | --host | --hos | --ho)
1040 ac_prev=host_alias ;;
1041 -host=* | --host=* | --hos=* | --ho=*)
1042 host_alias=$ac_optarg ;;
1044 -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht)
1046 -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \
1048 htmldir=$ac_optarg ;;
1050 -includedir | --includedir | --includedi | --included | --include \
1051 | --includ | --inclu | --incl | --inc)
1052 ac_prev=includedir ;;
1053 -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
1054 | --includ=* | --inclu=* | --incl=* | --inc=*)
1055 includedir=$ac_optarg ;;
1057 -infodir | --infodir | --infodi | --infod | --info | --inf)
1059 -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
1060 infodir=$ac_optarg ;;
1062 -libdir | --libdir | --libdi | --libd)
1064 -libdir=* | --libdir=* | --libdi=* | --libd=*)
1065 libdir=$ac_optarg ;;
1067 -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
1068 | --libexe | --libex | --libe)
1069 ac_prev=libexecdir ;;
1070 -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
1071 | --libexe=* | --libex=* | --libe=*)
1072 libexecdir=$ac_optarg ;;
1074 -localedir | --localedir | --localedi | --localed | --locale)
1075 ac_prev=localedir ;;
1076 -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*)
1077 localedir=$ac_optarg ;;
1079 -localstatedir | --localstatedir | --localstatedi | --localstated \
1080 | --localstate | --localstat | --localsta | --localst | --locals)
1081 ac_prev=localstatedir ;;
1082 -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
1083 | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*)
1084 localstatedir=$ac_optarg ;;
1086 -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
1088 -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
1089 mandir=$ac_optarg ;;
1091 -nfp | --nfp | --nf)
1092 # Obsolete; use --without-fp.
1095 -no-create | --no-create | --no-creat | --no-crea | --no-cre \
1096 | --no-cr | --no-c | -n)
1099 -no-recursion | --no-recursion | --no-recursio | --no-recursi \
1100 | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
1103 -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
1104 | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
1105 | --oldin | --oldi | --old | --ol | --o)
1106 ac_prev=oldincludedir ;;
1107 -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
1108 | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
1109 | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
1110 oldincludedir=$ac_optarg ;;
1112 -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
1114 -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
1115 prefix=$ac_optarg ;;
1117 -program-prefix | --program-prefix | --program-prefi | --program-pref \
1118 | --program-pre | --program-pr | --program-p)
1119 ac_prev=program_prefix ;;
1120 -program-prefix=* | --program-prefix=* | --program-prefi=* \
1121 | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
1122 program_prefix=$ac_optarg ;;
1124 -program-suffix | --program-suffix | --program-suffi | --program-suff \
1125 | --program-suf | --program-su | --program-s)
1126 ac_prev=program_suffix ;;
1127 -program-suffix=* | --program-suffix=* | --program-suffi=* \
1128 | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
1129 program_suffix=$ac_optarg ;;
1131 -program-transform-name | --program-transform-name \
1132 | --program-transform-nam | --program-transform-na \
1133 | --program-transform-n | --program-transform- \
1134 | --program-transform | --program-transfor \
1135 | --program-transfo | --program-transf \
1136 | --program-trans | --program-tran \
1137 | --progr-tra | --program-tr | --program-t)
1138 ac_prev=program_transform_name ;;
1139 -program-transform-name=* | --program-transform-name=* \
1140 | --program-transform-nam=* | --program-transform-na=* \
1141 | --program-transform-n=* | --program-transform-=* \
1142 | --program-transform=* | --program-transfor=* \
1143 | --program-transfo=* | --program-transf=* \
1144 | --program-trans=* | --program-tran=* \
1145 | --progr-tra=* | --program-tr=* | --program-t=*)
1146 program_transform_name=$ac_optarg ;;
1148 -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd)
1150 -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*)
1151 pdfdir=$ac_optarg ;;
1153 -psdir | --psdir | --psdi | --psd | --ps)
1155 -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*)
1158 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1159 | -silent | --silent | --silen | --sile | --sil)
1162 -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
1164 -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
1166 sbindir=$ac_optarg ;;
1168 -sharedstatedir | --sharedstatedir | --sharedstatedi \
1169 | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
1170 | --sharedst | --shareds | --shared | --share | --shar \
1172 ac_prev=sharedstatedir ;;
1173 -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
1174 | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
1175 | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
1177 sharedstatedir=$ac_optarg ;;
1179 -site | --site | --sit)
1181 -site=* | --site=* | --sit=*)
1184 -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
1186 -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
1187 srcdir=$ac_optarg ;;
1189 -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
1190 | --syscon | --sysco | --sysc | --sys | --sy)
1191 ac_prev=sysconfdir ;;
1192 -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
1193 | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
1194 sysconfdir=$ac_optarg ;;
1196 -target | --target | --targe | --targ | --tar | --ta | --t)
1197 ac_prev=target_alias ;;
1198 -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
1199 target_alias=$ac_optarg ;;
1201 -v | -verbose | --verbose | --verbos | --verbo | --verb)
1204 -version | --version | --versio | --versi | --vers | -V)
1205 ac_init_version=: ;;
1208 ac_useropt=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
1209 # Reject names that are not valid shell variable names.
1210 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1211 as_fn_error $? "invalid package name: $ac_useropt"
1212 ac_useropt_orig=$ac_useropt
1213 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1214 case $ac_user_opts in
1218 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig"
1219 ac_unrecognized_sep=', ';;
1221 eval with_$ac_useropt=\$ac_optarg ;;
1223 -without-* | --without-*)
1224 ac_useropt=`expr "x$ac_option" : 'x-*without-\(.*\)'`
1225 # Reject names that are not valid shell variable names.
1226 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1227 as_fn_error $? "invalid package name: $ac_useropt"
1228 ac_useropt_orig=$ac_useropt
1229 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1230 case $ac_user_opts in
1234 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig"
1235 ac_unrecognized_sep=', ';;
1237 eval with_$ac_useropt=no ;;
1240 # Obsolete; use --with-x.
1243 -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
1244 | --x-incl | --x-inc | --x-in | --x-i)
1245 ac_prev=x_includes ;;
1246 -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
1247 | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
1248 x_includes=$ac_optarg ;;
1250 -x-libraries | --x-libraries | --x-librarie | --x-librari \
1251 | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
1252 ac_prev=x_libraries ;;
1253 -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
1254 | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
1255 x_libraries=$ac_optarg ;;
1257 -*) as_fn_error $? "unrecognized option: \`$ac_option'
1258 Try \`$0 --help' for more information"
1262 ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
1263 # Reject names that are not valid shell variable names.
1264 case $ac_envvar in #(
1265 '' | [0-9]* | *[!_$as_cr_alnum]* )
1266 as_fn_error $? "invalid variable name: \`$ac_envvar'" ;;
1268 eval $ac_envvar=\$ac_optarg
1269 export $ac_envvar ;;
1272 # FIXME: should be removed in autoconf 3.0.
1273 $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2
1274 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
1275 $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2
1276 : "${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}"
1282 if test -n "$ac_prev"; then
1283 ac_option=--`echo $ac_prev | sed 's/_/-/g'`
1284 as_fn_error $? "missing argument to $ac_option"
1287 if test -n "$ac_unrecognized_opts"; then
1288 case $enable_option_checking in
1290 fatal) as_fn_error $? "unrecognized options: $ac_unrecognized_opts" ;;
1291 *) $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;;
1295 # Check all directory arguments for consistency.
1296 for ac_var in exec_prefix prefix bindir sbindir libexecdir datarootdir \
1297 datadir sysconfdir sharedstatedir localstatedir includedir \
1298 oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
1299 libdir localedir mandir
1301 eval ac_val=\$$ac_var
1302 # Remove trailing slashes.
1305 ac_val=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'`
1306 eval $ac_var=\$ac_val;;
1308 # Be sure to have absolute directory names.
1310 [\\/$]* | ?:[\\/]* ) continue;;
1311 NONE | '' ) case $ac_var in *prefix ) continue;; esac;;
1313 as_fn_error $? "expected an absolute directory name for --$ac_var: $ac_val"
1316 # There might be people who depend on the old broken behavior: `$host'
1317 # used to hold the argument of --host etc.
1318 # FIXME: To remove some day.
1321 target=$target_alias
1323 # FIXME: To remove some day.
1324 if test "x$host_alias" != x; then
1325 if test "x$build_alias" = x; then
1326 cross_compiling=maybe
1327 elif test "x$build_alias" != "x$host_alias"; then
1333 test -n "$host_alias" && ac_tool_prefix=$host_alias-
1335 test "$silent" = yes && exec 6>/dev/null
1338 ac_pwd=`pwd` && test -n "$ac_pwd" &&
1339 ac_ls_di=`ls -di .` &&
1340 ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` ||
1341 as_fn_error $? "working directory cannot be determined"
1342 test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
1343 as_fn_error $? "pwd does not report name of working directory"
1346 # Find the source files, if location was not specified.
1347 if test -z "$srcdir"; then
1348 ac_srcdir_defaulted=yes
1349 # Try the directory containing this script, then the parent directory.
1350 ac_confdir=`$as_dirname -- "$as_myself" ||
1351 $as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
1352 X"$as_myself" : 'X\(//\)[^/]' \| \
1353 X"$as_myself" : 'X\(//\)$' \| \
1354 X"$as_myself" : 'X\(/\)' \| . 2>/dev/null ||
1355 $as_echo X"$as_myself" |
1356 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
1374 if test ! -r "$srcdir/$ac_unique_file"; then
1378 ac_srcdir_defaulted=no
1380 if test ! -r "$srcdir/$ac_unique_file"; then
1381 test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .."
1382 as_fn_error $? "cannot find sources ($ac_unique_file) in $srcdir"
1384 ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work"
1386 cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error $? "$ac_msg"
1388 # When building in place, set srcdir=.
1389 if test "$ac_abs_confdir" = "$ac_pwd"; then
1392 # Remove unnecessary trailing slashes from srcdir.
1393 # Double slashes in file names in object file debugging info
1394 # mess up M-x gdb in Emacs.
1396 */) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
1398 for ac_var in $ac_precious_vars; do
1399 eval ac_env_${ac_var}_set=\${${ac_var}+set}
1400 eval ac_env_${ac_var}_value=\$${ac_var}
1401 eval ac_cv_env_${ac_var}_set=\${${ac_var}+set}
1402 eval ac_cv_env_${ac_var}_value=\$${ac_var}
1406 # Report the --help message.
1408 if test "$ac_init_help" = "long"; then
1409 # Omit some internal or obsolete options to make the list less imposing.
1410 # This message is too long to be a string in the A/UX 3.1 sh.
1412 \`configure' configures libgee 0.10.0 to adapt to many kinds of systems.
1414 Usage: $0 [OPTION]... [VAR=VALUE]...
1416 To assign environment variables (e.g., CC, CFLAGS...), specify them as
1417 VAR=VALUE. See below for descriptions of some of the useful variables.
1419 Defaults for the options are specified in brackets.
1422 -h, --help display this help and exit
1423 --help=short display options specific to this package
1424 --help=recursive display the short help of all the included packages
1425 -V, --version display version information and exit
1426 -q, --quiet, --silent do not print \`checking ...' messages
1427 --cache-file=FILE cache test results in FILE [disabled]
1428 -C, --config-cache alias for \`--cache-file=config.cache'
1429 -n, --no-create do not create output files
1430 --srcdir=DIR find the sources in DIR [configure dir or \`..']
1432 Installation directories:
1433 --prefix=PREFIX install architecture-independent files in PREFIX
1434 [$ac_default_prefix]
1435 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
1438 By default, \`make install' will install all the files in
1439 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
1440 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
1441 for instance \`--prefix=\$HOME'.
1443 For better control, use the options below.
1445 Fine tuning of the installation directories:
1446 --bindir=DIR user executables [EPREFIX/bin]
1447 --sbindir=DIR system admin executables [EPREFIX/sbin]
1448 --libexecdir=DIR program executables [EPREFIX/libexec]
1449 --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
1450 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
1451 --localstatedir=DIR modifiable single-machine data [PREFIX/var]
1452 --libdir=DIR object code libraries [EPREFIX/lib]
1453 --includedir=DIR C header files [PREFIX/include]
1454 --oldincludedir=DIR C header files for non-gcc [/usr/include]
1455 --datarootdir=DIR read-only arch.-independent data root [PREFIX/share]
1456 --datadir=DIR read-only architecture-independent data [DATAROOTDIR]
1457 --infodir=DIR info documentation [DATAROOTDIR/info]
1458 --localedir=DIR locale-dependent data [DATAROOTDIR/locale]
1459 --mandir=DIR man documentation [DATAROOTDIR/man]
1460 --docdir=DIR documentation root [DATAROOTDIR/doc/libgee]
1461 --htmldir=DIR html documentation [DOCDIR]
1462 --dvidir=DIR dvi documentation [DOCDIR]
1463 --pdfdir=DIR pdf documentation [DOCDIR]
1464 --psdir=DIR ps documentation [DOCDIR]
1470 --program-prefix=PREFIX prepend PREFIX to installed program names
1471 --program-suffix=SUFFIX append SUFFIX to installed program names
1472 --program-transform-name=PROGRAM run sed PROGRAM on installed program names
1475 --build=BUILD configure for building on BUILD [guessed]
1476 --host=HOST cross-compile to build programs to run on HOST [BUILD]
1480 if test -n "$ac_init_help"; then
1481 case $ac_init_help in
1482 short | recursive ) echo "Configuration of libgee 0.10.0:";;
1487 --disable-option-checking ignore unrecognized --enable/--with options
1488 --disable-FEATURE do not include FEATURE (same as --enable-FEATURE=no)
1489 --enable-FEATURE[=ARG] include FEATURE [ARG=yes]
1490 --enable-silent-rules less verbose build output (undo: `make V=1')
1491 --disable-silent-rules verbose build output (undo: `make V=0')
1492 --disable-dependency-tracking speeds up one-time build
1493 --enable-dependency-tracking do not reject slow dependency extractors
1494 --enable-static[=PKGS] build static libraries [default=no]
1495 --enable-shared[=PKGS] build shared libraries [default=yes]
1496 --enable-fast-install[=PKGS]
1497 optimize for fast installation [default=yes]
1498 --disable-libtool-lock avoid locking (might break parallel builds)
1499 --enable-doc Enable documentation generation
1500 --enable-coverage compile with coverage profiling and debug (gcc only)
1501 --enable-benchmark Enable benchmark
1502 --enable-introspection=[no/auto/yes]
1503 Enable introspection for this build
1506 --with-PACKAGE[=ARG] use PACKAGE [ARG=yes]
1507 --without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no)
1508 --with-pic[=PKGS] try to use only PIC/non-PIC objects [default=use
1510 --with-gnu-ld assume the C compiler uses GNU ld [default=no]
1511 --with-sysroot=DIR Search for dependent libraries within DIR
1512 (or the compiler's sysroot if not specified).
1514 Some influential environment variables:
1515 CC C compiler command
1516 CFLAGS C compiler flags
1517 LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a
1518 nonstandard directory <lib dir>
1519 LIBS libraries to pass to the linker, e.g. -l<library>
1520 CPPFLAGS (Objective) C/C++ preprocessor flags, e.g. -I<include dir> if
1521 you have headers in a nonstandard directory <include dir>
1523 PKG_CONFIG path to pkg-config utility
1525 directories to add to pkg-config's search path
1527 path overriding pkg-config's built-in search path
1528 GLIB_CFLAGS C compiler flags for GLIB, overriding pkg-config
1529 GLIB_LIBS linker flags for GLIB, overriding pkg-config
1531 Use these variables to override the choices made by `configure' or to help
1532 it to find libraries and programs with nonstandard names/locations.
1534 Report bugs to <https://bugzilla.gnome.org/enter_bug.cgi?product=libgee>.
1539 if test "$ac_init_help" = "recursive"; then
1540 # If there are subdirs, report their specific --help.
1541 for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
1542 test -d "$ac_dir" ||
1543 { cd "$srcdir" && ac_pwd=`pwd` && srcdir=. && test -d "$ac_dir"; } ||
1548 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
1550 ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
1551 # A ".." for each directory in $ac_dir_suffix.
1552 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
1553 case $ac_top_builddir_sub in
1554 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
1555 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
1558 ac_abs_top_builddir=$ac_pwd
1559 ac_abs_builddir=$ac_pwd$ac_dir_suffix
1560 # for backward compatibility:
1561 ac_top_builddir=$ac_top_build_prefix
1564 .) # We are building in place.
1566 ac_top_srcdir=$ac_top_builddir_sub
1567 ac_abs_top_srcdir=$ac_pwd ;;
1568 [\\/]* | ?:[\\/]* ) # Absolute name.
1569 ac_srcdir=$srcdir$ac_dir_suffix;
1570 ac_top_srcdir=$srcdir
1571 ac_abs_top_srcdir=$srcdir ;;
1573 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
1574 ac_top_srcdir=$ac_top_build_prefix$srcdir
1575 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
1577 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
1579 cd "$ac_dir" || { ac_status=$?; continue; }
1580 # Check for guested configure.
1581 if test -f "$ac_srcdir/configure.gnu"; then
1583 $SHELL "$ac_srcdir/configure.gnu" --help=recursive
1584 elif test -f "$ac_srcdir/configure"; then
1586 $SHELL "$ac_srcdir/configure" --help=recursive
1588 $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
1590 cd "$ac_pwd" || { ac_status=$?; break; }
1594 test -n "$ac_init_help" && exit $ac_status
1595 if $ac_init_version; then
1597 libgee configure 0.10.0
1598 generated by GNU Autoconf 2.69
1600 Copyright (C) 2012 Free Software Foundation, Inc.
1601 This configure script is free software; the Free Software Foundation
1602 gives unlimited permission to copy, distribute and modify it.
1607 ## ------------------------ ##
1608 ## Autoconf initialization. ##
1609 ## ------------------------ ##
1611 # ac_fn_c_try_compile LINENO
1612 # --------------------------
1613 # Try to compile conftest.$ac_ext, and return whether this succeeded.
1614 ac_fn_c_try_compile ()
1616 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1617 rm -f conftest.$ac_objext
1618 if { { ac_try="$ac_compile"
1620 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1621 *) ac_try_echo=$ac_try;;
1623 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1624 $as_echo "$ac_try_echo"; } >&5
1625 (eval "$ac_compile") 2>conftest.err
1627 if test -s conftest.err; then
1628 grep -v '^ *+' conftest.err >conftest.er1
1629 cat conftest.er1 >&5
1630 mv -f conftest.er1 conftest.err
1632 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1633 test $ac_status = 0; } && {
1634 test -z "$ac_c_werror_flag" ||
1635 test ! -s conftest.err
1636 } && test -s conftest.$ac_objext; then :
1639 $as_echo "$as_me: failed program was:" >&5
1640 sed 's/^/| /' conftest.$ac_ext >&5
1644 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1645 as_fn_set_status $ac_retval
1647 } # ac_fn_c_try_compile
1649 # ac_fn_c_try_link LINENO
1650 # -----------------------
1651 # Try to link conftest.$ac_ext, and return whether this succeeded.
1654 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1655 rm -f conftest.$ac_objext conftest$ac_exeext
1656 if { { ac_try="$ac_link"
1658 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1659 *) ac_try_echo=$ac_try;;
1661 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1662 $as_echo "$ac_try_echo"; } >&5
1663 (eval "$ac_link") 2>conftest.err
1665 if test -s conftest.err; then
1666 grep -v '^ *+' conftest.err >conftest.er1
1667 cat conftest.er1 >&5
1668 mv -f conftest.er1 conftest.err
1670 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1671 test $ac_status = 0; } && {
1672 test -z "$ac_c_werror_flag" ||
1673 test ! -s conftest.err
1674 } && test -s conftest$ac_exeext && {
1675 test "$cross_compiling" = yes ||
1676 test -x conftest$ac_exeext
1680 $as_echo "$as_me: failed program was:" >&5
1681 sed 's/^/| /' conftest.$ac_ext >&5
1685 # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
1686 # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
1687 # interfere with the next link command; also delete a directory that is
1688 # left behind by Apple's compiler. We do this before executing the actions.
1689 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
1690 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1691 as_fn_set_status $ac_retval
1693 } # ac_fn_c_try_link
1695 # ac_fn_c_check_header_compile LINENO HEADER VAR INCLUDES
1696 # -------------------------------------------------------
1697 # Tests whether HEADER exists and can be compiled using the include files in
1698 # INCLUDES, setting the cache variable VAR accordingly.
1699 ac_fn_c_check_header_compile ()
1701 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1702 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1703 $as_echo_n "checking for $2... " >&6; }
1704 if eval \${$3+:} false; then :
1705 $as_echo_n "(cached) " >&6
1707 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1708 /* end confdefs.h. */
1712 if ac_fn_c_try_compile "$LINENO"; then :
1717 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1720 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1721 $as_echo "$ac_res" >&6; }
1722 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1724 } # ac_fn_c_check_header_compile
1726 # ac_fn_c_try_cpp LINENO
1727 # ----------------------
1728 # Try to preprocess conftest.$ac_ext, and return whether this succeeded.
1731 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1732 if { { ac_try="$ac_cpp conftest.$ac_ext"
1734 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1735 *) ac_try_echo=$ac_try;;
1737 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1738 $as_echo "$ac_try_echo"; } >&5
1739 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err
1741 if test -s conftest.err; then
1742 grep -v '^ *+' conftest.err >conftest.er1
1743 cat conftest.er1 >&5
1744 mv -f conftest.er1 conftest.err
1746 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1747 test $ac_status = 0; } > conftest.i && {
1748 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
1749 test ! -s conftest.err
1753 $as_echo "$as_me: failed program was:" >&5
1754 sed 's/^/| /' conftest.$ac_ext >&5
1758 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1759 as_fn_set_status $ac_retval
1763 # ac_fn_c_try_run LINENO
1764 # ----------------------
1765 # Try to link conftest.$ac_ext, and return whether this succeeded. Assumes
1766 # that executables *can* be run.
1769 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1770 if { { ac_try="$ac_link"
1772 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1773 *) ac_try_echo=$ac_try;;
1775 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1776 $as_echo "$ac_try_echo"; } >&5
1777 (eval "$ac_link") 2>&5
1779 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1780 test $ac_status = 0; } && { ac_try='./conftest$ac_exeext'
1781 { { case "(($ac_try" in
1782 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1783 *) ac_try_echo=$ac_try;;
1785 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1786 $as_echo "$ac_try_echo"; } >&5
1787 (eval "$ac_try") 2>&5
1789 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1790 test $ac_status = 0; }; }; then :
1793 $as_echo "$as_me: program exited with status $ac_status" >&5
1794 $as_echo "$as_me: failed program was:" >&5
1795 sed 's/^/| /' conftest.$ac_ext >&5
1797 ac_retval=$ac_status
1799 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
1800 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1801 as_fn_set_status $ac_retval
1805 # ac_fn_c_check_func LINENO FUNC VAR
1806 # ----------------------------------
1807 # Tests whether FUNC exists, setting the cache variable VAR accordingly
1808 ac_fn_c_check_func ()
1810 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1811 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1812 $as_echo_n "checking for $2... " >&6; }
1813 if eval \${$3+:} false; then :
1814 $as_echo_n "(cached) " >&6
1816 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1817 /* end confdefs.h. */
1818 /* Define $2 to an innocuous variant, in case <limits.h> declares $2.
1819 For example, HP-UX 11i <limits.h> declares gettimeofday. */
1820 #define $2 innocuous_$2
1822 /* System header to define __stub macros and hopefully few prototypes,
1823 which can conflict with char $2 (); below.
1824 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
1825 <limits.h> exists even on freestanding compilers. */
1828 # include <limits.h>
1830 # include <assert.h>
1835 /* Override any GCC internal prototype to avoid an error.
1836 Use char because int might match the return type of a GCC
1837 builtin and then its argument prototype would still apply. */
1842 /* The GNU C library defines this for functions which it implements
1843 to always fail with ENOSYS. Some functions are actually named
1844 something starting with __ and the normal name is an alias. */
1845 #if defined __stub_$2 || defined __stub___$2
1857 if ac_fn_c_try_link "$LINENO"; then :
1862 rm -f core conftest.err conftest.$ac_objext \
1863 conftest$ac_exeext conftest.$ac_ext
1866 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1867 $as_echo "$ac_res" >&6; }
1868 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1870 } # ac_fn_c_check_func
1871 cat >config.log <<_ACEOF
1872 This file contains any messages produced by compilers while
1873 running configure, to aid debugging if configure makes a mistake.
1875 It was created by libgee $as_me 0.10.0, which was
1876 generated by GNU Autoconf 2.69. Invocation command line was
1888 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
1889 uname -m = `(uname -m) 2>/dev/null || echo unknown`
1890 uname -r = `(uname -r) 2>/dev/null || echo unknown`
1891 uname -s = `(uname -s) 2>/dev/null || echo unknown`
1892 uname -v = `(uname -v) 2>/dev/null || echo unknown`
1894 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
1895 /bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown`
1897 /bin/arch = `(/bin/arch) 2>/dev/null || echo unknown`
1898 /usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown`
1899 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
1900 /usr/bin/hostinfo = `(/usr/bin/hostinfo) 2>/dev/null || echo unknown`
1901 /bin/machine = `(/bin/machine) 2>/dev/null || echo unknown`
1902 /usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown`
1903 /bin/universe = `(/bin/universe) 2>/dev/null || echo unknown`
1907 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1911 test -z "$as_dir" && as_dir=.
1912 $as_echo "PATH: $as_dir"
1928 # Keep a trace of the command line.
1929 # Strip out --no-create and --no-recursion so they do not pile up.
1930 # Strip out --silent because we don't want to record it for future runs.
1931 # Also quote any args containing shell meta-characters.
1932 # Make two passes to allow for proper duplicate-argument suppression.
1936 ac_must_keep_next=false
1942 -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
1943 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1944 | -silent | --silent | --silen | --sile | --sil)
1947 ac_arg=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
1950 1) as_fn_append ac_configure_args0 " '$ac_arg'" ;;
1952 as_fn_append ac_configure_args1 " '$ac_arg'"
1953 if test $ac_must_keep_next = true; then
1954 ac_must_keep_next=false # Got value, back to normal.
1957 *=* | --config-cache | -C | -disable-* | --disable-* \
1958 | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
1959 | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
1960 | -with-* | --with-* | -without-* | --without-* | --x)
1961 case "$ac_configure_args0 " in
1962 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
1965 -* ) ac_must_keep_next=true ;;
1968 as_fn_append ac_configure_args " '$ac_arg'"
1973 { ac_configure_args0=; unset ac_configure_args0;}
1974 { ac_configure_args1=; unset ac_configure_args1;}
1976 # When interrupted or exit'd, cleanup temporary files, and complete
1977 # config.log. We remove comments because anyway the quotes in there
1978 # would cause problems or look ugly.
1979 # WARNING: Use '\'' to represent an apostrophe within the trap.
1980 # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
1981 trap 'exit_status=$?
1982 # Save into config.log some information that might help in debugging.
1986 $as_echo "## ---------------- ##
1987 ## Cache variables. ##
1988 ## ---------------- ##"
1990 # The following way of writing the cache mishandles newlines in values,
1992 for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
1993 eval ac_val=\$$ac_var
1997 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
1998 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
2001 _ | IFS | as_nl) ;; #(
2002 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
2003 *) { eval $ac_var=; unset $ac_var;} ;;
2008 case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
2009 *${as_nl}ac_space=\ *)
2011 "s/'\''/'\''\\\\'\'''\''/g;
2012 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
2015 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
2022 $as_echo "## ----------------- ##
2023 ## Output variables. ##
2024 ## ----------------- ##"
2026 for ac_var in $ac_subst_vars
2028 eval ac_val=\$$ac_var
2030 *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
2032 $as_echo "$ac_var='\''$ac_val'\''"
2036 if test -n "$ac_subst_files"; then
2037 $as_echo "## ------------------- ##
2038 ## File substitutions. ##
2039 ## ------------------- ##"
2041 for ac_var in $ac_subst_files
2043 eval ac_val=\$$ac_var
2045 *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
2047 $as_echo "$ac_var='\''$ac_val'\''"
2052 if test -s confdefs.h; then
2053 $as_echo "## ----------- ##
2060 test "$ac_signal" != 0 &&
2061 $as_echo "$as_me: caught signal $ac_signal"
2062 $as_echo "$as_me: exit $exit_status"
2064 rm -f core *.core core.conftest.* &&
2065 rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
2068 for ac_signal in 1 2 13 15; do
2069 trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal
2073 # confdefs.h avoids OS command line length limits that DEFS can exceed.
2074 rm -f -r conftest* confdefs.h
2076 $as_echo "/* confdefs.h */" > confdefs.h
2078 # Predefined preprocessor variables.
2080 cat >>confdefs.h <<_ACEOF
2081 #define PACKAGE_NAME "$PACKAGE_NAME"
2084 cat >>confdefs.h <<_ACEOF
2085 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
2088 cat >>confdefs.h <<_ACEOF
2089 #define PACKAGE_VERSION "$PACKAGE_VERSION"
2092 cat >>confdefs.h <<_ACEOF
2093 #define PACKAGE_STRING "$PACKAGE_STRING"
2096 cat >>confdefs.h <<_ACEOF
2097 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
2100 cat >>confdefs.h <<_ACEOF
2101 #define PACKAGE_URL "$PACKAGE_URL"
2105 # Let the site file select an alternate cache file if it wants to.
2106 # Prefer an explicitly selected file to automatically selected ones.
2109 if test -n "$CONFIG_SITE"; then
2110 # We do not want a PATH search for config.site.
2111 case $CONFIG_SITE in #((
2112 -*) ac_site_file1=./$CONFIG_SITE;;
2113 */*) ac_site_file1=$CONFIG_SITE;;
2114 *) ac_site_file1=./$CONFIG_SITE;;
2116 elif test "x$prefix" != xNONE; then
2117 ac_site_file1=$prefix/share/config.site
2118 ac_site_file2=$prefix/etc/config.site
2120 ac_site_file1=$ac_default_prefix/share/config.site
2121 ac_site_file2=$ac_default_prefix/etc/config.site
2123 for ac_site_file in "$ac_site_file1" "$ac_site_file2"
2125 test "x$ac_site_file" = xNONE && continue
2126 if test /dev/null != "$ac_site_file" && test -r "$ac_site_file"; then
2127 { $as_echo "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5
2128 $as_echo "$as_me: loading site script $ac_site_file" >&6;}
2129 sed 's/^/| /' "$ac_site_file" >&5
2131 || { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2132 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2133 as_fn_error $? "failed to load site script $ac_site_file
2134 See \`config.log' for more details" "$LINENO" 5; }
2138 if test -r "$cache_file"; then
2139 # Some versions of bash will fail to source /dev/null (special files
2140 # actually), so we avoid doing that. DJGPP emulates it as a regular file.
2141 if test /dev/null != "$cache_file" && test -f "$cache_file"; then
2142 { $as_echo "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5
2143 $as_echo "$as_me: loading cache $cache_file" >&6;}
2145 [\\/]* | ?:[\\/]* ) . "$cache_file";;
2146 *) . "./$cache_file";;
2150 { $as_echo "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5
2151 $as_echo "$as_me: creating cache $cache_file" >&6;}
2155 # Check that the precious variables saved in the cache have kept the same
2157 ac_cache_corrupted=false
2158 for ac_var in $ac_precious_vars; do
2159 eval ac_old_set=\$ac_cv_env_${ac_var}_set
2160 eval ac_new_set=\$ac_env_${ac_var}_set
2161 eval ac_old_val=\$ac_cv_env_${ac_var}_value
2162 eval ac_new_val=\$ac_env_${ac_var}_value
2163 case $ac_old_set,$ac_new_set in
2165 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
2166 $as_echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
2167 ac_cache_corrupted=: ;;
2169 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not set in the previous run" >&5
2170 $as_echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
2171 ac_cache_corrupted=: ;;
2174 if test "x$ac_old_val" != "x$ac_new_val"; then
2175 # differences in whitespace do not lead to failure.
2176 ac_old_val_w=`echo x $ac_old_val`
2177 ac_new_val_w=`echo x $ac_new_val`
2178 if test "$ac_old_val_w" != "$ac_new_val_w"; then
2179 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&5
2180 $as_echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
2181 ac_cache_corrupted=:
2183 { $as_echo "$as_me:${as_lineno-$LINENO}: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5
2184 $as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;}
2185 eval $ac_var=\$ac_old_val
2187 { $as_echo "$as_me:${as_lineno-$LINENO}: former value: \`$ac_old_val'" >&5
2188 $as_echo "$as_me: former value: \`$ac_old_val'" >&2;}
2189 { $as_echo "$as_me:${as_lineno-$LINENO}: current value: \`$ac_new_val'" >&5
2190 $as_echo "$as_me: current value: \`$ac_new_val'" >&2;}
2193 # Pass precious variables to config.status.
2194 if test "$ac_new_set" = set; then
2196 *\'*) ac_arg=$ac_var=`$as_echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
2197 *) ac_arg=$ac_var=$ac_new_val ;;
2199 case " $ac_configure_args " in
2200 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
2201 *) as_fn_append ac_configure_args " '$ac_arg'" ;;
2205 if $ac_cache_corrupted; then
2206 { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2207 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2208 { $as_echo "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5
2209 $as_echo "$as_me: error: changes in the environment can compromise the build" >&2;}
2210 as_fn_error $? "run \`make distclean' and/or \`rm $cache_file' and start over" "$LINENO" 5
2212 ## -------------------- ##
2213 ## Main body of script. ##
2214 ## -------------------- ##
2217 ac_cpp='$CPP $CPPFLAGS'
2218 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2219 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2220 ac_compiler_gnu=$ac_cv_c_compiler_gnu
2224 ac_config_headers="$ac_config_headers config.h"
2227 am__api_version='1.11'
2230 for ac_dir in "$srcdir" "$srcdir/.." "$srcdir/../.."; do
2231 if test -f "$ac_dir/install-sh"; then
2233 ac_install_sh="$ac_aux_dir/install-sh -c"
2235 elif test -f "$ac_dir/install.sh"; then
2237 ac_install_sh="$ac_aux_dir/install.sh -c"
2239 elif test -f "$ac_dir/shtool"; then
2241 ac_install_sh="$ac_aux_dir/shtool install -c"
2245 if test -z "$ac_aux_dir"; then
2246 as_fn_error $? "cannot find install-sh, install.sh, or shtool in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" "$LINENO" 5
2249 # These three variables are undocumented and unsupported,
2250 # and are intended to be withdrawn in a future Autoconf release.
2251 # They can cause serious problems if a builder's source tree is in a directory
2252 # whose full name contains unusual characters.
2253 ac_config_guess="$SHELL $ac_aux_dir/config.guess" # Please don't use this var.
2254 ac_config_sub="$SHELL $ac_aux_dir/config.sub" # Please don't use this var.
2255 ac_configure="$SHELL $ac_aux_dir/configure" # Please don't use this var.
2258 # Find a good install program. We prefer a C program (faster),
2259 # so one script is as good as another. But avoid the broken or
2260 # incompatible versions:
2261 # SysV /etc/install, /usr/sbin/install
2262 # SunOS /usr/etc/install
2263 # IRIX /sbin/install
2265 # AmigaOS /C/install, which installs bootblocks on floppy discs
2266 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
2267 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
2268 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
2269 # OS/2's system install, which has a completely different semantic
2270 # ./install, which can be erroneously created by make from ./install.sh.
2271 # Reject install programs that cannot install multiple files.
2272 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a BSD-compatible install" >&5
2273 $as_echo_n "checking for a BSD-compatible install... " >&6; }
2274 if test -z "$INSTALL"; then
2275 if ${ac_cv_path_install+:} false; then :
2276 $as_echo_n "(cached) " >&6
2278 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2282 test -z "$as_dir" && as_dir=.
2283 # Account for people who put trailing slashes in PATH elements.
2284 case $as_dir/ in #((
2285 ./ | .// | /[cC]/* | \
2286 /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
2287 ?:[\\/]os2[\\/]install[\\/]* | ?:[\\/]OS2[\\/]INSTALL[\\/]* | \
2290 # OSF1 and SCO ODT 3.0 have their own names for install.
2291 # Don't use installbsd from OSF since it installs stuff as root
2293 for ac_prog in ginstall scoinst install; do
2294 for ac_exec_ext in '' $ac_executable_extensions; do
2295 if as_fn_executable_p "$as_dir/$ac_prog$ac_exec_ext"; then
2296 if test $ac_prog = install &&
2297 grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
2298 # AIX install. It has an incompatible calling convention.
2300 elif test $ac_prog = install &&
2301 grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
2302 # program-specific install script used by HP pwplus--don't use.
2305 rm -rf conftest.one conftest.two conftest.dir
2306 echo one > conftest.one
2307 echo two > conftest.two
2309 if "$as_dir/$ac_prog$ac_exec_ext" -c conftest.one conftest.two "`pwd`/conftest.dir" &&
2310 test -s conftest.one && test -s conftest.two &&
2311 test -s conftest.dir/conftest.one &&
2312 test -s conftest.dir/conftest.two
2314 ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
2327 rm -rf conftest.one conftest.two conftest.dir
2330 if test "${ac_cv_path_install+set}" = set; then
2331 INSTALL=$ac_cv_path_install
2333 # As a last resort, use the slow shell script. Don't cache a
2334 # value for INSTALL within a source directory, because that will
2335 # break other packages using the cache if that directory is
2336 # removed, or if the value is a relative name.
2337 INSTALL=$ac_install_sh
2340 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $INSTALL" >&5
2341 $as_echo "$INSTALL" >&6; }
2343 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
2344 # It thinks the first close brace ends the variable substitution.
2345 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
2347 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
2349 test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
2351 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether build environment is sane" >&5
2352 $as_echo_n "checking whether build environment is sane... " >&6; }
2355 echo timestamp > conftest.file
2356 # Reject unsafe characters in $srcdir or the absolute working directory
2357 # name. Accept space and tab only in the latter.
2361 *[\\\"\#\$\&\'\`$am_lf]*)
2362 as_fn_error $? "unsafe absolute working directory name" "$LINENO" 5;;
2365 *[\\\"\#\$\&\'\`$am_lf\ \ ]*)
2366 as_fn_error $? "unsafe srcdir value: \`$srcdir'" "$LINENO" 5;;
2369 # Do `set' in a subshell so we don't clobber the current shell's
2370 # arguments. Must try -L first in case configure is actually a
2371 # symlink; some systems play weird games with the mod time of symlinks
2372 # (eg FreeBSD returns the mod time of the symlink's containing
2375 set X `ls -Lt "$srcdir/configure" conftest.file 2> /dev/null`
2376 if test "$*" = "X"; then
2378 set X `ls -t "$srcdir/configure" conftest.file`
2381 if test "$*" != "X $srcdir/configure conftest.file" \
2382 && test "$*" != "X conftest.file $srcdir/configure"; then
2384 # If neither matched, then we have a broken ls. This can happen
2385 # if, for instance, CONFIG_SHELL is bash and it inherits a
2386 # broken ls alias from the environment. This has actually
2387 # happened. Such a system could not be considered "sane".
2388 as_fn_error $? "ls -t appears to fail. Make sure there is not a broken
2389 alias in your environment" "$LINENO" 5
2392 test "$2" = conftest.file
2398 as_fn_error $? "newly created file is older than distributed files!
2399 Check your system clock" "$LINENO" 5
2401 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
2402 $as_echo "yes" >&6; }
2403 test "$program_prefix" != NONE &&
2404 program_transform_name="s&^&$program_prefix&;$program_transform_name"
2405 # Use a double $ so make ignores it.
2406 test "$program_suffix" != NONE &&
2407 program_transform_name="s&\$&$program_suffix&;$program_transform_name"
2408 # Double any \ or $.
2409 # By default was `s,x,x', remove it if useless.
2410 ac_script='s/[\\$]/&&/g;s/;s,x,x,$//'
2411 program_transform_name=`$as_echo "$program_transform_name" | sed "$ac_script"`
2413 # expand $ac_aux_dir to an absolute path
2414 am_aux_dir=`cd $ac_aux_dir && pwd`
2416 if test x"${MISSING+set}" != xset; then
2419 MISSING="\${SHELL} \"$am_aux_dir/missing\"" ;;
2421 MISSING="\${SHELL} $am_aux_dir/missing" ;;
2424 # Use eval to expand $SHELL
2425 if eval "$MISSING --run true"; then
2426 am_missing_run="$MISSING --run "
2429 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \`missing' script is too old or missing" >&5
2430 $as_echo "$as_me: WARNING: \`missing' script is too old or missing" >&2;}
2433 if test x"${install_sh}" != xset; then
2436 install_sh="\${SHELL} '$am_aux_dir/install-sh'" ;;
2438 install_sh="\${SHELL} $am_aux_dir/install-sh"
2442 # Installed binaries are usually stripped using `strip' when the user
2443 # run `make install-strip'. However `strip' might not be the right
2444 # tool to use in cross-compilation environments, therefore Automake
2445 # will honor the `STRIP' environment variable to overrule this program.
2446 if test "$cross_compiling" != no; then
2447 if test -n "$ac_tool_prefix"; then
2448 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
2449 set dummy ${ac_tool_prefix}strip; ac_word=$2
2450 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2451 $as_echo_n "checking for $ac_word... " >&6; }
2452 if ${ac_cv_prog_STRIP+:} false; then :
2453 $as_echo_n "(cached) " >&6
2455 if test -n "$STRIP"; then
2456 ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
2458 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2462 test -z "$as_dir" && as_dir=.
2463 for ac_exec_ext in '' $ac_executable_extensions; do
2464 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2465 ac_cv_prog_STRIP="${ac_tool_prefix}strip"
2466 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2475 STRIP=$ac_cv_prog_STRIP
2476 if test -n "$STRIP"; then
2477 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
2478 $as_echo "$STRIP" >&6; }
2480 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2481 $as_echo "no" >&6; }
2486 if test -z "$ac_cv_prog_STRIP"; then
2488 # Extract the first word of "strip", so it can be a program name with args.
2489 set dummy strip; ac_word=$2
2490 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2491 $as_echo_n "checking for $ac_word... " >&6; }
2492 if ${ac_cv_prog_ac_ct_STRIP+:} false; then :
2493 $as_echo_n "(cached) " >&6
2495 if test -n "$ac_ct_STRIP"; then
2496 ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
2498 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2502 test -z "$as_dir" && as_dir=.
2503 for ac_exec_ext in '' $ac_executable_extensions; do
2504 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2505 ac_cv_prog_ac_ct_STRIP="strip"
2506 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2515 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
2516 if test -n "$ac_ct_STRIP"; then
2517 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
2518 $as_echo "$ac_ct_STRIP" >&6; }
2520 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2521 $as_echo "no" >&6; }
2524 if test "x$ac_ct_STRIP" = x; then
2527 case $cross_compiling:$ac_tool_warned in
2529 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
2530 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
2531 ac_tool_warned=yes ;;
2536 STRIP="$ac_cv_prog_STRIP"
2540 INSTALL_STRIP_PROGRAM="\$(install_sh) -c -s"
2542 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a thread-safe mkdir -p" >&5
2543 $as_echo_n "checking for a thread-safe mkdir -p... " >&6; }
2544 if test -z "$MKDIR_P"; then
2545 if ${ac_cv_path_mkdir+:} false; then :
2546 $as_echo_n "(cached) " >&6
2548 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2549 for as_dir in $PATH$PATH_SEPARATOR/opt/sfw/bin
2552 test -z "$as_dir" && as_dir=.
2553 for ac_prog in mkdir gmkdir; do
2554 for ac_exec_ext in '' $ac_executable_extensions; do
2555 as_fn_executable_p "$as_dir/$ac_prog$ac_exec_ext" || continue
2556 case `"$as_dir/$ac_prog$ac_exec_ext" --version 2>&1` in #(
2557 'mkdir (GNU coreutils) '* | \
2558 'mkdir (coreutils) '* | \
2559 'mkdir (fileutils) '4.1*)
2560 ac_cv_path_mkdir=$as_dir/$ac_prog$ac_exec_ext
2570 test -d ./--version && rmdir ./--version
2571 if test "${ac_cv_path_mkdir+set}" = set; then
2572 MKDIR_P="$ac_cv_path_mkdir -p"
2574 # As a last resort, use the slow shell script. Don't cache a
2575 # value for MKDIR_P within a source directory, because that will
2576 # break other packages using the cache if that directory is
2577 # removed, or if the value is a relative name.
2578 MKDIR_P="$ac_install_sh -d"
2581 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MKDIR_P" >&5
2582 $as_echo "$MKDIR_P" >&6; }
2586 [\\/$]* | ?:[\\/]*) ;;
2587 */*) mkdir_p="\$(top_builddir)/$mkdir_p" ;;
2590 for ac_prog in gawk mawk nawk awk
2592 # Extract the first word of "$ac_prog", so it can be a program name with args.
2593 set dummy $ac_prog; ac_word=$2
2594 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2595 $as_echo_n "checking for $ac_word... " >&6; }
2596 if ${ac_cv_prog_AWK+:} false; then :
2597 $as_echo_n "(cached) " >&6
2599 if test -n "$AWK"; then
2600 ac_cv_prog_AWK="$AWK" # Let the user override the test.
2602 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2606 test -z "$as_dir" && as_dir=.
2607 for ac_exec_ext in '' $ac_executable_extensions; do
2608 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2609 ac_cv_prog_AWK="$ac_prog"
2610 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2620 if test -n "$AWK"; then
2621 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AWK" >&5
2622 $as_echo "$AWK" >&6; }
2624 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2625 $as_echo "no" >&6; }
2629 test -n "$AWK" && break
2632 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5
2633 $as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; }
2635 ac_make=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
2636 if eval \${ac_cv_prog_make_${ac_make}_set+:} false; then :
2637 $as_echo_n "(cached) " >&6
2639 cat >conftest.make <<\_ACEOF
2642 @echo '@@@%%%=$(MAKE)=@@@%%%'
2644 # GNU make sometimes prints "make[1]: Entering ...", which would confuse us.
2645 case `${MAKE-make} -f conftest.make 2>/dev/null` in
2647 eval ac_cv_prog_make_${ac_make}_set=yes;;
2649 eval ac_cv_prog_make_${ac_make}_set=no;;
2653 if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then
2654 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
2655 $as_echo "yes" >&6; }
2658 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2659 $as_echo "no" >&6; }
2660 SET_MAKE="MAKE=${MAKE-make}"
2663 rm -rf .tst 2>/dev/null
2664 mkdir .tst 2>/dev/null
2665 if test -d .tst; then
2670 rmdir .tst 2>/dev/null
2672 if test "`cd $srcdir && pwd`" != "`pwd`"; then
2673 # Use -I$(srcdir) only when $(srcdir) != ., so that make's output
2674 # is not polluted with repeated "-I."
2675 am__isrc=' -I$(srcdir)'
2676 # test to see if srcdir already configured
2677 if test -f $srcdir/config.status; then
2678 as_fn_error $? "source directory already configured; run \"make distclean\" there first" "$LINENO" 5
2682 # test whether we have cygpath
2683 if test -z "$CYGPATH_W"; then
2684 if (cygpath --version) >/dev/null 2>/dev/null; then
2685 CYGPATH_W='cygpath -w'
2692 # Define the identity of the package.
2697 cat >>confdefs.h <<_ACEOF
2698 #define PACKAGE "$PACKAGE"
2702 cat >>confdefs.h <<_ACEOF
2703 #define VERSION "$VERSION"
2706 # Some tools Automake needs.
2708 ACLOCAL=${ACLOCAL-"${am_missing_run}aclocal-${am__api_version}"}
2711 AUTOCONF=${AUTOCONF-"${am_missing_run}autoconf"}
2714 AUTOMAKE=${AUTOMAKE-"${am_missing_run}automake-${am__api_version}"}
2717 AUTOHEADER=${AUTOHEADER-"${am_missing_run}autoheader"}
2720 MAKEINFO=${MAKEINFO-"${am_missing_run}makeinfo"}
2722 # We need awk for the "check" target. The system "awk" is bad on
2724 # Always define AMTAR for backward compatibility. Yes, it's still used
2725 # in the wild :-( We should find a proper way to deprecate it ...
2728 am__tar='$${TAR-tar} chof - "$$tardir"' am__untar='$${TAR-tar} xf -'
2734 # Check whether --enable-silent-rules was given.
2735 if test "${enable_silent_rules+set}" = set; then :
2736 enableval=$enable_silent_rules;
2739 case $enable_silent_rules in
2740 yes) AM_DEFAULT_VERBOSITY=0;;
2741 no) AM_DEFAULT_VERBOSITY=1;;
2742 *) AM_DEFAULT_VERBOSITY=0;;
2744 am_make=${MAKE-make}
2745 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $am_make supports nested variables" >&5
2746 $as_echo_n "checking whether $am_make supports nested variables... " >&6; }
2747 if ${am_cv_make_support_nested_variables+:} false; then :
2748 $as_echo_n "(cached) " >&6
2750 if $as_echo 'TRUE=$(BAR$(V))
2756 .PHONY: am__doit' | $am_make -f - >/dev/null 2>&1; then
2757 am_cv_make_support_nested_variables=yes
2759 am_cv_make_support_nested_variables=no
2762 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_make_support_nested_variables" >&5
2763 $as_echo "$am_cv_make_support_nested_variables" >&6; }
2764 if test $am_cv_make_support_nested_variables = yes; then
2766 AM_DEFAULT_V='$(AM_DEFAULT_VERBOSITY)'
2768 AM_V=$AM_DEFAULT_VERBOSITY
2769 AM_DEFAULT_V=$AM_DEFAULT_VERBOSITY
2774 # Checks for programs.
2776 ac_cpp='$CPP $CPPFLAGS'
2777 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2778 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2779 ac_compiler_gnu=$ac_cv_c_compiler_gnu
2780 if test -n "$ac_tool_prefix"; then
2781 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
2782 set dummy ${ac_tool_prefix}gcc; ac_word=$2
2783 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2784 $as_echo_n "checking for $ac_word... " >&6; }
2785 if ${ac_cv_prog_CC+:} false; then :
2786 $as_echo_n "(cached) " >&6
2788 if test -n "$CC"; then
2789 ac_cv_prog_CC="$CC" # Let the user override the test.
2791 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2795 test -z "$as_dir" && as_dir=.
2796 for ac_exec_ext in '' $ac_executable_extensions; do
2797 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2798 ac_cv_prog_CC="${ac_tool_prefix}gcc"
2799 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2809 if test -n "$CC"; then
2810 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
2811 $as_echo "$CC" >&6; }
2813 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2814 $as_echo "no" >&6; }
2819 if test -z "$ac_cv_prog_CC"; then
2821 # Extract the first word of "gcc", so it can be a program name with args.
2822 set dummy gcc; ac_word=$2
2823 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2824 $as_echo_n "checking for $ac_word... " >&6; }
2825 if ${ac_cv_prog_ac_ct_CC+:} false; then :
2826 $as_echo_n "(cached) " >&6
2828 if test -n "$ac_ct_CC"; then
2829 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
2831 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2835 test -z "$as_dir" && as_dir=.
2836 for ac_exec_ext in '' $ac_executable_extensions; do
2837 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2838 ac_cv_prog_ac_ct_CC="gcc"
2839 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2848 ac_ct_CC=$ac_cv_prog_ac_ct_CC
2849 if test -n "$ac_ct_CC"; then
2850 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
2851 $as_echo "$ac_ct_CC" >&6; }
2853 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2854 $as_echo "no" >&6; }
2857 if test "x$ac_ct_CC" = x; then
2860 case $cross_compiling:$ac_tool_warned in
2862 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
2863 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
2864 ac_tool_warned=yes ;;
2872 if test -z "$CC"; then
2873 if test -n "$ac_tool_prefix"; then
2874 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
2875 set dummy ${ac_tool_prefix}cc; ac_word=$2
2876 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2877 $as_echo_n "checking for $ac_word... " >&6; }
2878 if ${ac_cv_prog_CC+:} false; then :
2879 $as_echo_n "(cached) " >&6
2881 if test -n "$CC"; then
2882 ac_cv_prog_CC="$CC" # Let the user override the test.
2884 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2888 test -z "$as_dir" && as_dir=.
2889 for ac_exec_ext in '' $ac_executable_extensions; do
2890 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2891 ac_cv_prog_CC="${ac_tool_prefix}cc"
2892 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2902 if test -n "$CC"; then
2903 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
2904 $as_echo "$CC" >&6; }
2906 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2907 $as_echo "no" >&6; }
2913 if test -z "$CC"; then
2914 # Extract the first word of "cc", so it can be a program name with args.
2915 set dummy cc; ac_word=$2
2916 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2917 $as_echo_n "checking for $ac_word... " >&6; }
2918 if ${ac_cv_prog_CC+:} false; then :
2919 $as_echo_n "(cached) " >&6
2921 if test -n "$CC"; then
2922 ac_cv_prog_CC="$CC" # Let the user override the test.
2925 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2929 test -z "$as_dir" && as_dir=.
2930 for ac_exec_ext in '' $ac_executable_extensions; do
2931 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2932 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
2933 ac_prog_rejected=yes
2937 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2944 if test $ac_prog_rejected = yes; then
2945 # We found a bogon in the path, so make sure we never use it.
2946 set dummy $ac_cv_prog_CC
2948 if test $# != 0; then
2949 # We chose a different compiler from the bogus one.
2950 # However, it has the same basename, so the bogon will be chosen
2951 # first if we set CC to just the basename; use the full file name.
2953 ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
2959 if test -n "$CC"; then
2960 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
2961 $as_echo "$CC" >&6; }
2963 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2964 $as_echo "no" >&6; }
2969 if test -z "$CC"; then
2970 if test -n "$ac_tool_prefix"; then
2971 for ac_prog in cl.exe
2973 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
2974 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
2975 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2976 $as_echo_n "checking for $ac_word... " >&6; }
2977 if ${ac_cv_prog_CC+:} false; then :
2978 $as_echo_n "(cached) " >&6
2980 if test -n "$CC"; then
2981 ac_cv_prog_CC="$CC" # Let the user override the test.
2983 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2987 test -z "$as_dir" && as_dir=.
2988 for ac_exec_ext in '' $ac_executable_extensions; do
2989 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2990 ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
2991 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3001 if test -n "$CC"; then
3002 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3003 $as_echo "$CC" >&6; }
3005 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3006 $as_echo "no" >&6; }
3010 test -n "$CC" && break
3013 if test -z "$CC"; then
3015 for ac_prog in cl.exe
3017 # Extract the first word of "$ac_prog", so it can be a program name with args.
3018 set dummy $ac_prog; ac_word=$2
3019 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3020 $as_echo_n "checking for $ac_word... " >&6; }
3021 if ${ac_cv_prog_ac_ct_CC+:} false; then :
3022 $as_echo_n "(cached) " >&6
3024 if test -n "$ac_ct_CC"; then
3025 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
3027 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3031 test -z "$as_dir" && as_dir=.
3032 for ac_exec_ext in '' $ac_executable_extensions; do
3033 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3034 ac_cv_prog_ac_ct_CC="$ac_prog"
3035 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3044 ac_ct_CC=$ac_cv_prog_ac_ct_CC
3045 if test -n "$ac_ct_CC"; then
3046 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
3047 $as_echo "$ac_ct_CC" >&6; }
3049 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3050 $as_echo "no" >&6; }
3054 test -n "$ac_ct_CC" && break
3057 if test "x$ac_ct_CC" = x; then
3060 case $cross_compiling:$ac_tool_warned in
3062 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3063 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3064 ac_tool_warned=yes ;;
3073 test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3074 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3075 as_fn_error $? "no acceptable C compiler found in \$PATH
3076 See \`config.log' for more details" "$LINENO" 5; }
3078 # Provide some information about the compiler.
3079 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
3082 for ac_option in --version -v -V -qversion; do
3083 { { ac_try="$ac_compiler $ac_option >&5"
3085 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3086 *) ac_try_echo=$ac_try;;
3088 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3089 $as_echo "$ac_try_echo"; } >&5
3090 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
3092 if test -s conftest.err; then
3094 ... rest of stderr output deleted ...
3095 10q' conftest.err >conftest.er1
3096 cat conftest.er1 >&5
3098 rm -f conftest.er1 conftest.err
3099 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3100 test $ac_status = 0; }
3103 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3104 /* end confdefs.h. */
3114 ac_clean_files_save=$ac_clean_files
3115 ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out"
3116 # Try to create an executable without -o first, disregard a.out.
3117 # It will help us diagnose broken compilers, and finding out an intuition
3119 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler works" >&5
3120 $as_echo_n "checking whether the C compiler works... " >&6; }
3121 ac_link_default=`$as_echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
3123 # The possible output files:
3124 ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*"
3127 for ac_file in $ac_files
3130 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
3131 * ) ac_rmfiles="$ac_rmfiles $ac_file";;
3136 if { { ac_try="$ac_link_default"
3138 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3139 *) ac_try_echo=$ac_try;;
3141 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3142 $as_echo "$ac_try_echo"; } >&5
3143 (eval "$ac_link_default") 2>&5
3145 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3146 test $ac_status = 0; }; then :
3147 # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
3148 # So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
3149 # in a Makefile. We should not override ac_cv_exeext if it was cached,
3150 # so that the user can short-circuit this test for compilers unknown to
3152 for ac_file in $ac_files ''
3154 test -f "$ac_file" || continue
3156 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj )
3159 # We found the default executable, but exeext='' is most
3163 if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no;
3165 ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
3167 # We set ac_cv_exeext here because the later test for it is not
3168 # safe: cross compilers may not add the suffix if given an `-o'
3169 # argument, so we may need to know it at that point already.
3170 # Even if this section looks crufty: it has the advantage of
3177 test "$ac_cv_exeext" = no && ac_cv_exeext=
3182 if test -z "$ac_file"; then :
3183 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3184 $as_echo "no" >&6; }
3185 $as_echo "$as_me: failed program was:" >&5
3186 sed 's/^/| /' conftest.$ac_ext >&5
3188 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3189 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3190 as_fn_error 77 "C compiler cannot create executables
3191 See \`config.log' for more details" "$LINENO" 5; }
3193 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
3194 $as_echo "yes" >&6; }
3196 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler default output file name" >&5
3197 $as_echo_n "checking for C compiler default output file name... " >&6; }
3198 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5
3199 $as_echo "$ac_file" >&6; }
3200 ac_exeext=$ac_cv_exeext
3202 rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out
3203 ac_clean_files=$ac_clean_files_save
3204 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5
3205 $as_echo_n "checking for suffix of executables... " >&6; }
3206 if { { ac_try="$ac_link"
3208 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3209 *) ac_try_echo=$ac_try;;
3211 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3212 $as_echo "$ac_try_echo"; } >&5
3213 (eval "$ac_link") 2>&5
3215 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3216 test $ac_status = 0; }; then :
3217 # If both `conftest.exe' and `conftest' are `present' (well, observable)
3218 # catch `conftest.exe'. For instance with Cygwin, `ls conftest' will
3219 # work properly (i.e., refer to `conftest.exe'), while it won't with
3221 for ac_file in conftest.exe conftest conftest.*; do
3222 test -f "$ac_file" || continue
3224 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
3225 *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
3231 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3232 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3233 as_fn_error $? "cannot compute suffix of executables: cannot compile and link
3234 See \`config.log' for more details" "$LINENO" 5; }
3236 rm -f conftest conftest$ac_cv_exeext
3237 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5
3238 $as_echo "$ac_cv_exeext" >&6; }
3240 rm -f conftest.$ac_ext
3241 EXEEXT=$ac_cv_exeext
3243 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3244 /* end confdefs.h. */
3249 FILE *f = fopen ("conftest.out", "w");
3250 return ferror (f) || fclose (f) != 0;
3256 ac_clean_files="$ac_clean_files conftest.out"
3257 # Check that the compiler produces executables we can run. If not, either
3258 # the compiler is broken, or we cross compile.
3259 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5
3260 $as_echo_n "checking whether we are cross compiling... " >&6; }
3261 if test "$cross_compiling" != yes; then
3262 { { ac_try="$ac_link"
3264 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3265 *) ac_try_echo=$ac_try;;
3267 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3268 $as_echo "$ac_try_echo"; } >&5
3269 (eval "$ac_link") 2>&5
3271 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3272 test $ac_status = 0; }
3273 if { ac_try='./conftest$ac_cv_exeext'
3274 { { case "(($ac_try" in
3275 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3276 *) ac_try_echo=$ac_try;;
3278 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3279 $as_echo "$ac_try_echo"; } >&5
3280 (eval "$ac_try") 2>&5
3282 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3283 test $ac_status = 0; }; }; then
3286 if test "$cross_compiling" = maybe; then
3289 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3290 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3291 as_fn_error $? "cannot run C compiled programs.
3292 If you meant to cross compile, use \`--host'.
3293 See \`config.log' for more details" "$LINENO" 5; }
3297 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5
3298 $as_echo "$cross_compiling" >&6; }
3300 rm -f conftest.$ac_ext conftest$ac_cv_exeext conftest.out
3301 ac_clean_files=$ac_clean_files_save
3302 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5
3303 $as_echo_n "checking for suffix of object files... " >&6; }
3304 if ${ac_cv_objext+:} false; then :
3305 $as_echo_n "(cached) " >&6
3307 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3308 /* end confdefs.h. */
3318 rm -f conftest.o conftest.obj
3319 if { { ac_try="$ac_compile"
3321 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3322 *) ac_try_echo=$ac_try;;
3324 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3325 $as_echo "$ac_try_echo"; } >&5
3326 (eval "$ac_compile") 2>&5
3328 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3329 test $ac_status = 0; }; then :
3330 for ac_file in conftest.o conftest.obj conftest.*; do
3331 test -f "$ac_file" || continue;
3333 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;;
3334 *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
3339 $as_echo "$as_me: failed program was:" >&5
3340 sed 's/^/| /' conftest.$ac_ext >&5
3342 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3343 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3344 as_fn_error $? "cannot compute suffix of object files: cannot compile
3345 See \`config.log' for more details" "$LINENO" 5; }
3347 rm -f conftest.$ac_cv_objext conftest.$ac_ext
3349 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5
3350 $as_echo "$ac_cv_objext" >&6; }
3351 OBJEXT=$ac_cv_objext
3353 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
3354 $as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
3355 if ${ac_cv_c_compiler_gnu+:} false; then :
3356 $as_echo_n "(cached) " >&6
3358 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3359 /* end confdefs.h. */
3372 if ac_fn_c_try_compile "$LINENO"; then :
3377 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3378 ac_cv_c_compiler_gnu=$ac_compiler_gnu
3381 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
3382 $as_echo "$ac_cv_c_compiler_gnu" >&6; }
3383 if test $ac_compiler_gnu = yes; then
3388 ac_test_CFLAGS=${CFLAGS+set}
3389 ac_save_CFLAGS=$CFLAGS
3390 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
3391 $as_echo_n "checking whether $CC accepts -g... " >&6; }
3392 if ${ac_cv_prog_cc_g+:} false; then :
3393 $as_echo_n "(cached) " >&6
3395 ac_save_c_werror_flag=$ac_c_werror_flag
3396 ac_c_werror_flag=yes
3399 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3400 /* end confdefs.h. */
3410 if ac_fn_c_try_compile "$LINENO"; then :
3414 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3415 /* end confdefs.h. */
3425 if ac_fn_c_try_compile "$LINENO"; then :
3428 ac_c_werror_flag=$ac_save_c_werror_flag
3430 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3431 /* end confdefs.h. */
3441 if ac_fn_c_try_compile "$LINENO"; then :
3444 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3446 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3448 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3449 ac_c_werror_flag=$ac_save_c_werror_flag
3451 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
3452 $as_echo "$ac_cv_prog_cc_g" >&6; }
3453 if test "$ac_test_CFLAGS" = set; then
3454 CFLAGS=$ac_save_CFLAGS
3455 elif test $ac_cv_prog_cc_g = yes; then
3456 if test "$GCC" = yes; then
3462 if test "$GCC" = yes; then
3468 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
3469 $as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
3470 if ${ac_cv_prog_cc_c89+:} false; then :
3471 $as_echo_n "(cached) " >&6
3473 ac_cv_prog_cc_c89=no
3475 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3476 /* end confdefs.h. */
3480 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
3481 struct buf { int x; };
3482 FILE * (*rcsopen) (struct buf *, struct stat *, int);
3483 static char *e (p, i)
3489 static char *f (char * (*g) (char **, int), char **p, ...)
3494 s = g (p, va_arg (v,int));
3499 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
3500 function prototypes and stuff, but not '\xHH' hex character constants.
3501 These don't provoke an error unfortunately, instead are silently treated
3502 as 'x'. The following induces an error, until -std is added to get
3503 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
3504 array size at least. It's necessary to write '\x00'==0 to get something
3505 that's true only with -std. */
3506 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
3508 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
3509 inside strings and character constants. */
3511 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
3513 int test (int i, double x);
3514 struct s1 {int (*f) (int a);};
3515 struct s2 {int (*f) (double a);};
3516 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
3522 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
3527 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
3528 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
3530 CC="$ac_save_CC $ac_arg"
3531 if ac_fn_c_try_compile "$LINENO"; then :
3532 ac_cv_prog_cc_c89=$ac_arg
3534 rm -f core conftest.err conftest.$ac_objext
3535 test "x$ac_cv_prog_cc_c89" != "xno" && break
3537 rm -f conftest.$ac_ext
3542 case "x$ac_cv_prog_cc_c89" in
3544 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
3545 $as_echo "none needed" >&6; } ;;
3547 { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
3548 $as_echo "unsupported" >&6; } ;;
3550 CC="$CC $ac_cv_prog_cc_c89"
3551 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
3552 $as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
3554 if test "x$ac_cv_prog_cc_c89" != xno; then :
3559 ac_cpp='$CPP $CPPFLAGS'
3560 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3561 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3562 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3563 DEPDIR="${am__leading_dot}deps"
3565 ac_config_commands="$ac_config_commands depfiles"
3568 am_make=${MAKE-make}
3569 cat > confinc << 'END'
3571 @echo this is the am__doit target
3574 # If we don't find an include directive, just comment out the code.
3575 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for style of include used by $am_make" >&5
3576 $as_echo_n "checking for style of include used by $am_make... " >&6; }
3580 # First try GNU make style include.
3581 echo "include confinc" > confmf
3582 # Ignore all kinds of additional output from `make'.
3583 case `$am_make -s -f confmf 2> /dev/null` in #(
3584 *the\ am__doit\ target*)
3590 # Now try BSD make style include.
3591 if test "$am__include" = "#"; then
3592 echo '.include "confinc"' > confmf
3593 case `$am_make -s -f confmf 2> /dev/null` in #(
3594 *the\ am__doit\ target*)
3595 am__include=.include
3603 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $_am_result" >&5
3604 $as_echo "$_am_result" >&6; }
3605 rm -f confinc confmf
3607 # Check whether --enable-dependency-tracking was given.
3608 if test "${enable_dependency_tracking+set}" = set; then :
3609 enableval=$enable_dependency_tracking;
3612 if test "x$enable_dependency_tracking" != xno; then
3613 am_depcomp="$ac_aux_dir/depcomp"
3617 if test "x$enable_dependency_tracking" != xno; then
3627 depcc="$CC" am_compiler_list=
3629 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5
3630 $as_echo_n "checking dependency style of $depcc... " >&6; }
3631 if ${am_cv_CC_dependencies_compiler_type+:} false; then :
3632 $as_echo_n "(cached) " >&6
3634 if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
3635 # We make a subdir and do the tests there. Otherwise we can end up
3636 # making bogus files that we don't know about and never remove. For
3637 # instance it was reported that on HP-UX the gcc test will end up
3638 # making a dummy file named `D' -- because `-MD' means `put the output
3642 # Copy depcomp to subdir because otherwise we won't find it if we're
3643 # using a relative directory.
3644 cp "$am_depcomp" conftest.dir
3646 # We will build objects and dependencies in a subdirectory because
3647 # it helps to detect inapplicable dependency modes. For instance
3648 # both Tru64's cc and ICC support -MD to output dependencies as a
3649 # side effect of compilation, but ICC will put the dependencies in
3650 # the current directory while Tru64 will put them in the object
3654 am_cv_CC_dependencies_compiler_type=none
3655 if test "$am_compiler_list" = ""; then
3656 am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
3659 case " $depcc " in #(
3660 *\ -arch\ *\ -arch\ *) am__universal=true ;;
3663 for depmode in $am_compiler_list; do
3664 # Setup a source with many dependencies, because some compilers
3665 # like to wrap large dependency lists on column 80 (with \), and
3666 # we should not choose a depcomp mode which is confused by this.
3668 # We need to recreate these files for each test, as the compiler may
3669 # overwrite some of them when testing with obscure command lines.
3670 # This happens at least with the AIX C compiler.
3672 for i in 1 2 3 4 5 6; do
3673 echo '#include "conftst'$i'.h"' >> sub/conftest.c
3674 # Using `: > sub/conftst$i.h' creates only sub/conftst1.h with
3675 # Solaris 8's {/usr,}/bin/sh.
3676 touch sub/conftst$i.h
3678 echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
3680 # We check with `-c' and `-o' for the sake of the "dashmstdout"
3681 # mode. It turns out that the SunPro C++ compiler does not properly
3682 # handle `-M -o', and we need to detect this. Also, some Intel
3683 # versions had trouble with output in subdirs
3684 am__obj=sub/conftest.${OBJEXT-o}
3685 am__minus_obj="-o $am__obj"
3688 # This depmode causes a compiler race in universal mode.
3689 test "$am__universal" = false || continue
3692 # after this tag, mechanisms are not by side-effect, so they'll
3693 # only be used when explicitly requested
3694 if test "x$enable_dependency_tracking" = xyes; then
3700 msvc7 | msvc7msys | msvisualcpp | msvcmsys)
3701 # This compiler won't grok `-c -o', but also, the minuso test has
3702 # not run yet. These depmodes are late enough in the game, and
3703 # so weak that their functioning should not be impacted.
3704 am__obj=conftest.${OBJEXT-o}
3709 if depmode=$depmode \
3710 source=sub/conftest.c object=$am__obj \
3711 depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
3712 $SHELL ./depcomp $depcc -c $am__minus_obj sub/conftest.c \
3713 >/dev/null 2>conftest.err &&
3714 grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 &&
3715 grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
3716 grep $am__obj sub/conftest.Po > /dev/null 2>&1 &&
3717 ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
3718 # icc doesn't choke on unknown options, it will just issue warnings
3719 # or remarks (even with -Werror). So we grep stderr for any message
3720 # that says an option was ignored or not supported.
3721 # When given -MP, icc 7.0 and 7.1 complain thusly:
3722 # icc: Command line warning: ignoring option '-M'; no argument required
3723 # The diagnosis changed in icc 8.0:
3724 # icc: Command line remark: option '-MP' not supported
3725 if (grep 'ignoring option' conftest.err ||
3726 grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
3727 am_cv_CC_dependencies_compiler_type=$depmode
3736 am_cv_CC_dependencies_compiler_type=none
3740 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_CC_dependencies_compiler_type" >&5
3741 $as_echo "$am_cv_CC_dependencies_compiler_type" >&6; }
3742 CCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type
3745 test "x$enable_dependency_tracking" != xno \
3746 && test "$am_cv_CC_dependencies_compiler_type" = gcc3; then
3748 am__fastdepCC_FALSE='#'
3750 am__fastdepCC_TRUE='#'
3751 am__fastdepCC_FALSE=
3755 if test "x$CC" != xcc; then
3756 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC and cc understand -c and -o together" >&5
3757 $as_echo_n "checking whether $CC and cc understand -c and -o together... " >&6; }
3759 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether cc understands -c and -o together" >&5
3760 $as_echo_n "checking whether cc understands -c and -o together... " >&6; }
3762 set dummy $CC; ac_cc=`$as_echo "$2" |
3763 sed 's/[^a-zA-Z0-9_]/_/g;s/^[0-9]/_/'`
3764 if eval \${ac_cv_prog_cc_${ac_cc}_c_o+:} false; then :
3765 $as_echo_n "(cached) " >&6
3767 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3768 /* end confdefs.h. */
3778 # Make sure it works both with $CC and with simple cc.
3779 # We do the test twice because some compilers refuse to overwrite an
3780 # existing .o file with -o, though they will create one.
3781 ac_try='$CC -c conftest.$ac_ext -o conftest2.$ac_objext >&5'
3783 if { { case "(($ac_try" in
3784 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3785 *) ac_try_echo=$ac_try;;
3787 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3788 $as_echo "$ac_try_echo"; } >&5
3789 (eval "$ac_try") 2>&5
3791 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3792 test $ac_status = 0; } &&
3793 test -f conftest2.$ac_objext && { { case "(($ac_try" in
3794 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3795 *) ac_try_echo=$ac_try;;
3797 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3798 $as_echo "$ac_try_echo"; } >&5
3799 (eval "$ac_try") 2>&5
3801 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3802 test $ac_status = 0; };
3804 eval ac_cv_prog_cc_${ac_cc}_c_o=yes
3805 if test "x$CC" != xcc; then
3806 # Test first that cc exists at all.
3807 if { ac_try='cc -c conftest.$ac_ext >&5'
3808 { { case "(($ac_try" in
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_try") 2>&5
3816 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3817 test $ac_status = 0; }; }; then
3818 ac_try='cc -c conftest.$ac_ext -o conftest2.$ac_objext >&5'
3820 if { { case "(($ac_try" in
3821 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3822 *) ac_try_echo=$ac_try;;
3824 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3825 $as_echo "$ac_try_echo"; } >&5
3826 (eval "$ac_try") 2>&5
3828 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3829 test $ac_status = 0; } &&
3830 test -f conftest2.$ac_objext && { { case "(($ac_try" in
3831 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3832 *) ac_try_echo=$ac_try;;
3834 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3835 $as_echo "$ac_try_echo"; } >&5
3836 (eval "$ac_try") 2>&5
3838 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3839 test $ac_status = 0; };
3844 # cc exists but doesn't like -o.
3845 eval ac_cv_prog_cc_${ac_cc}_c_o=no
3850 eval ac_cv_prog_cc_${ac_cc}_c_o=no
3852 rm -f core conftest*
3855 if eval test \$ac_cv_prog_cc_${ac_cc}_c_o = yes; then
3856 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
3857 $as_echo "yes" >&6; }
3859 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3860 $as_echo "no" >&6; }
3862 $as_echo "#define NO_MINUS_C_MINUS_O 1" >>confdefs.h
3866 # FIXME: we rely on the cache variable name because
3867 # there is no other way.
3869 am_cc=`echo $2 | sed 's/[^a-zA-Z0-9_]/_/g;s/^[0-9]/_/'`
3870 eval am_t=\$ac_cv_prog_cc_${am_cc}_c_o
3871 if test "$am_t" != yes; then
3872 # Losing compiler, so override with the script.
3873 # FIXME: It is wrong to rewrite CC.
3874 # But if we don't then we get into trouble of one sort or another.
3875 # A longer-term fix would be to have automake use am__CC in this case,
3876 # and then we could set am__CC="\$(top_srcdir)/compile \$(CC)"
3877 CC="$am_aux_dir/compile $CC"
3881 # Check whether --enable-static was given.
3882 if test "${enable_static+set}" = set; then :
3883 enableval=$enable_static; p=${PACKAGE-default}
3885 yes) enable_static=yes ;;
3886 no) enable_static=no ;;
3889 # Look at the argument we got. We use all the common list separators.
3890 lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
3891 for pkg in $enableval; do
3893 if test "X$pkg" = "X$p"; then
3914 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Libtool does not cope well with whitespace in \`pwd\`" >&5
3915 $as_echo "$as_me: WARNING: Libtool does not cope well with whitespace in \`pwd\`" >&2;} ;;
3920 macro_version='2.4.2'
3921 macro_revision='1.3337'
3935 ltmain="$ac_aux_dir/ltmain.sh"
3937 # Make sure we can run config.sub.
3938 $SHELL "$ac_aux_dir/config.sub" sun4 >/dev/null 2>&1 ||
3939 as_fn_error $? "cannot run $SHELL $ac_aux_dir/config.sub" "$LINENO" 5
3941 { $as_echo "$as_me:${as_lineno-$LINENO}: checking build system type" >&5
3942 $as_echo_n "checking build system type... " >&6; }
3943 if ${ac_cv_build+:} false; then :
3944 $as_echo_n "(cached) " >&6
3946 ac_build_alias=$build_alias
3947 test "x$ac_build_alias" = x &&
3948 ac_build_alias=`$SHELL "$ac_aux_dir/config.guess"`
3949 test "x$ac_build_alias" = x &&
3950 as_fn_error $? "cannot guess build type; you must specify one" "$LINENO" 5
3951 ac_cv_build=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
3952 as_fn_error $? "$SHELL $ac_aux_dir/config.sub $ac_build_alias failed" "$LINENO" 5
3955 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_build" >&5
3956 $as_echo "$ac_cv_build" >&6; }
3957 case $ac_cv_build in
3959 *) as_fn_error $? "invalid value of canonical build" "$LINENO" 5;;
3962 ac_save_IFS=$IFS; IFS='-'
3968 # Remember, the first character of IFS is used to create $*,
3969 # except with old shells:
3972 case $build_os in *\ *) build_os=`echo "$build_os" | sed 's/ /-/g'`;; esac
3975 { $as_echo "$as_me:${as_lineno-$LINENO}: checking host system type" >&5
3976 $as_echo_n "checking host system type... " >&6; }
3977 if ${ac_cv_host+:} false; then :
3978 $as_echo_n "(cached) " >&6
3980 if test "x$host_alias" = x; then
3981 ac_cv_host=$ac_cv_build
3983 ac_cv_host=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
3984 as_fn_error $? "$SHELL $ac_aux_dir/config.sub $host_alias failed" "$LINENO" 5
3988 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_host" >&5
3989 $as_echo "$ac_cv_host" >&6; }
3992 *) as_fn_error $? "invalid value of canonical host" "$LINENO" 5;;
3995 ac_save_IFS=$IFS; IFS='-'
4001 # Remember, the first character of IFS is used to create $*,
4002 # except with old shells:
4005 case $host_os in *\ *) host_os=`echo "$host_os" | sed 's/ /-/g'`;; esac
4008 # Backslashify metacharacters that are still active within
4009 # double-quoted strings.
4010 sed_quote_subst='s/\(["`$\\]\)/\\\1/g'
4012 # Same as above, but do not quote variable references.
4013 double_quote_subst='s/\(["`\\]\)/\\\1/g'
4015 # Sed substitution to delay expansion of an escaped shell variable in a
4016 # double_quote_subst'ed string.
4017 delay_variable_subst='s/\\\\\\\\\\\$/\\\\\\$/g'
4019 # Sed substitution to delay expansion of an escaped single quote.
4020 delay_single_quote_subst='s/'\''/'\'\\\\\\\'\''/g'
4022 # Sed substitution to avoid accidental globbing in evaled expressions
4023 no_glob_subst='s/\*/\\\*/g'
4025 ECHO='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
4026 ECHO=$ECHO$ECHO$ECHO$ECHO$ECHO
4027 ECHO=$ECHO$ECHO$ECHO$ECHO$ECHO$ECHO
4029 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to print strings" >&5
4030 $as_echo_n "checking how to print strings... " >&6; }
4031 # Test print first, because it will be a builtin if present.
4032 if test "X`( print -r -- -n ) 2>/dev/null`" = X-n && \
4033 test "X`print -r -- $ECHO 2>/dev/null`" = "X$ECHO"; then
4035 elif test "X`printf %s $ECHO 2>/dev/null`" = "X$ECHO"; then
4038 # Use this function as a fallback that always works.
4039 func_fallback_echo ()
4041 eval 'cat <<_LTECHO_EOF
4045 ECHO='func_fallback_echo'
4048 # func_echo_all arg...
4049 # Invoke $ECHO with all args, space-separated.
4056 printf*) { $as_echo "$as_me:${as_lineno-$LINENO}: result: printf" >&5
4057 $as_echo "printf" >&6; } ;;
4058 print*) { $as_echo "$as_me:${as_lineno-$LINENO}: result: print -r" >&5
4059 $as_echo "print -r" >&6; } ;;
4060 *) { $as_echo "$as_me:${as_lineno-$LINENO}: result: cat" >&5
4061 $as_echo "cat" >&6; } ;;
4077 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a sed that does not truncate output" >&5
4078 $as_echo_n "checking for a sed that does not truncate output... " >&6; }
4079 if ${ac_cv_path_SED+:} false; then :
4080 $as_echo_n "(cached) " >&6
4082 ac_script=s/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa/bbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbb/
4083 for ac_i in 1 2 3 4 5 6 7; do
4084 ac_script="$ac_script$as_nl$ac_script"
4086 echo "$ac_script" 2>/dev/null | sed 99q >conftest.sed
4087 { ac_script=; unset ac_script;}
4088 if test -z "$SED"; then
4089 ac_path_SED_found=false
4090 # Loop through the user's path and test for each of PROGNAME-LIST
4091 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4095 test -z "$as_dir" && as_dir=.
4096 for ac_prog in sed gsed; do
4097 for ac_exec_ext in '' $ac_executable_extensions; do
4098 ac_path_SED="$as_dir/$ac_prog$ac_exec_ext"
4099 as_fn_executable_p "$ac_path_SED" || continue
4100 # Check for GNU ac_path_SED and select it if it is found.
4101 # Check for GNU $ac_path_SED
4102 case `"$ac_path_SED" --version 2>&1` in
4104 ac_cv_path_SED="$ac_path_SED" ac_path_SED_found=:;;
4107 $as_echo_n 0123456789 >"conftest.in"
4110 cat "conftest.in" "conftest.in" >"conftest.tmp"
4111 mv "conftest.tmp" "conftest.in"
4112 cp "conftest.in" "conftest.nl"
4113 $as_echo '' >> "conftest.nl"
4114 "$ac_path_SED" -f conftest.sed < "conftest.nl" >"conftest.out" 2>/dev/null || break
4115 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
4116 as_fn_arith $ac_count + 1 && ac_count=$as_val
4117 if test $ac_count -gt ${ac_path_SED_max-0}; then
4118 # Best one so far, save it but keep looking for a better one
4119 ac_cv_path_SED="$ac_path_SED"
4120 ac_path_SED_max=$ac_count
4122 # 10*(2^10) chars as input seems more than enough
4123 test $ac_count -gt 10 && break
4125 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
4128 $ac_path_SED_found && break 3
4133 if test -z "$ac_cv_path_SED"; then
4134 as_fn_error $? "no acceptable sed could be found in \$PATH" "$LINENO" 5
4141 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_SED" >&5
4142 $as_echo "$ac_cv_path_SED" >&6; }
4143 SED="$ac_cv_path_SED"
4146 test -z "$SED" && SED=sed
4147 Xsed="$SED -e 1s/^X//"
4159 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for grep that handles long lines and -e" >&5
4160 $as_echo_n "checking for grep that handles long lines and -e... " >&6; }
4161 if ${ac_cv_path_GREP+:} false; then :
4162 $as_echo_n "(cached) " >&6
4164 if test -z "$GREP"; then
4165 ac_path_GREP_found=false
4166 # Loop through the user's path and test for each of PROGNAME-LIST
4167 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4168 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
4171 test -z "$as_dir" && as_dir=.
4172 for ac_prog in grep ggrep; do
4173 for ac_exec_ext in '' $ac_executable_extensions; do
4174 ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext"
4175 as_fn_executable_p "$ac_path_GREP" || continue
4176 # Check for GNU ac_path_GREP and select it if it is found.
4177 # Check for GNU $ac_path_GREP
4178 case `"$ac_path_GREP" --version 2>&1` in
4180 ac_cv_path_GREP="$ac_path_GREP" ac_path_GREP_found=:;;
4183 $as_echo_n 0123456789 >"conftest.in"
4186 cat "conftest.in" "conftest.in" >"conftest.tmp"
4187 mv "conftest.tmp" "conftest.in"
4188 cp "conftest.in" "conftest.nl"
4189 $as_echo 'GREP' >> "conftest.nl"
4190 "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev/null || break
4191 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
4192 as_fn_arith $ac_count + 1 && ac_count=$as_val
4193 if test $ac_count -gt ${ac_path_GREP_max-0}; then
4194 # Best one so far, save it but keep looking for a better one
4195 ac_cv_path_GREP="$ac_path_GREP"
4196 ac_path_GREP_max=$ac_count
4198 # 10*(2^10) chars as input seems more than enough
4199 test $ac_count -gt 10 && break
4201 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
4204 $ac_path_GREP_found && break 3
4209 if test -z "$ac_cv_path_GREP"; then
4210 as_fn_error $? "no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
4213 ac_cv_path_GREP=$GREP
4217 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_GREP" >&5
4218 $as_echo "$ac_cv_path_GREP" >&6; }
4219 GREP="$ac_cv_path_GREP"
4222 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for egrep" >&5
4223 $as_echo_n "checking for egrep... " >&6; }
4224 if ${ac_cv_path_EGREP+:} false; then :
4225 $as_echo_n "(cached) " >&6
4227 if echo a | $GREP -E '(a|b)' >/dev/null 2>&1
4228 then ac_cv_path_EGREP="$GREP -E"
4230 if test -z "$EGREP"; then
4231 ac_path_EGREP_found=false
4232 # Loop through the user's path and test for each of PROGNAME-LIST
4233 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4234 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
4237 test -z "$as_dir" && as_dir=.
4238 for ac_prog in egrep; do
4239 for ac_exec_ext in '' $ac_executable_extensions; do
4240 ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext"
4241 as_fn_executable_p "$ac_path_EGREP" || continue
4242 # Check for GNU ac_path_EGREP and select it if it is found.
4243 # Check for GNU $ac_path_EGREP
4244 case `"$ac_path_EGREP" --version 2>&1` in
4246 ac_cv_path_EGREP="$ac_path_EGREP" ac_path_EGREP_found=:;;
4249 $as_echo_n 0123456789 >"conftest.in"
4252 cat "conftest.in" "conftest.in" >"conftest.tmp"
4253 mv "conftest.tmp" "conftest.in"
4254 cp "conftest.in" "conftest.nl"
4255 $as_echo 'EGREP' >> "conftest.nl"
4256 "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev/null || break
4257 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
4258 as_fn_arith $ac_count + 1 && ac_count=$as_val
4259 if test $ac_count -gt ${ac_path_EGREP_max-0}; then
4260 # Best one so far, save it but keep looking for a better one
4261 ac_cv_path_EGREP="$ac_path_EGREP"
4262 ac_path_EGREP_max=$ac_count
4264 # 10*(2^10) chars as input seems more than enough
4265 test $ac_count -gt 10 && break
4267 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
4270 $ac_path_EGREP_found && break 3
4275 if test -z "$ac_cv_path_EGREP"; then
4276 as_fn_error $? "no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
4279 ac_cv_path_EGREP=$EGREP
4284 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_EGREP" >&5
4285 $as_echo "$ac_cv_path_EGREP" >&6; }
4286 EGREP="$ac_cv_path_EGREP"
4289 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fgrep" >&5
4290 $as_echo_n "checking for fgrep... " >&6; }
4291 if ${ac_cv_path_FGREP+:} false; then :
4292 $as_echo_n "(cached) " >&6
4294 if echo 'ab*c' | $GREP -F 'ab*c' >/dev/null 2>&1
4295 then ac_cv_path_FGREP="$GREP -F"
4297 if test -z "$FGREP"; then
4298 ac_path_FGREP_found=false
4299 # Loop through the user's path and test for each of PROGNAME-LIST
4300 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4301 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
4304 test -z "$as_dir" && as_dir=.
4305 for ac_prog in fgrep; do
4306 for ac_exec_ext in '' $ac_executable_extensions; do
4307 ac_path_FGREP="$as_dir/$ac_prog$ac_exec_ext"
4308 as_fn_executable_p "$ac_path_FGREP" || continue
4309 # Check for GNU ac_path_FGREP and select it if it is found.
4310 # Check for GNU $ac_path_FGREP
4311 case `"$ac_path_FGREP" --version 2>&1` in
4313 ac_cv_path_FGREP="$ac_path_FGREP" ac_path_FGREP_found=:;;
4316 $as_echo_n 0123456789 >"conftest.in"
4319 cat "conftest.in" "conftest.in" >"conftest.tmp"
4320 mv "conftest.tmp" "conftest.in"
4321 cp "conftest.in" "conftest.nl"
4322 $as_echo 'FGREP' >> "conftest.nl"
4323 "$ac_path_FGREP" FGREP < "conftest.nl" >"conftest.out" 2>/dev/null || break
4324 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
4325 as_fn_arith $ac_count + 1 && ac_count=$as_val
4326 if test $ac_count -gt ${ac_path_FGREP_max-0}; then
4327 # Best one so far, save it but keep looking for a better one
4328 ac_cv_path_FGREP="$ac_path_FGREP"
4329 ac_path_FGREP_max=$ac_count
4331 # 10*(2^10) chars as input seems more than enough
4332 test $ac_count -gt 10 && break
4334 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
4337 $ac_path_FGREP_found && break 3
4342 if test -z "$ac_cv_path_FGREP"; then
4343 as_fn_error $? "no acceptable fgrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
4346 ac_cv_path_FGREP=$FGREP
4351 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_FGREP" >&5
4352 $as_echo "$ac_cv_path_FGREP" >&6; }
4353 FGREP="$ac_cv_path_FGREP"
4356 test -z "$GREP" && GREP=grep
4376 # Check whether --with-gnu-ld was given.
4377 if test "${with_gnu_ld+set}" = set; then :
4378 withval=$with_gnu_ld; test "$withval" = no || with_gnu_ld=yes
4384 if test "$GCC" = yes; then
4385 # Check if gcc -print-prog-name=ld gives a path.
4386 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld used by $CC" >&5
4387 $as_echo_n "checking for ld used by $CC... " >&6; }
4390 # gcc leaves a trailing carriage return which upsets mingw
4391 ac_prog=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
4393 ac_prog=`($CC -print-prog-name=ld) 2>&5` ;;
4396 # Accept absolute paths.
4398 re_direlt='/[^/][^/]*/\.\./'
4399 # Canonicalize the pathname of ld
4400 ac_prog=`$ECHO "$ac_prog"| $SED 's%\\\\%/%g'`
4401 while $ECHO "$ac_prog" | $GREP "$re_direlt" > /dev/null 2>&1; do
4402 ac_prog=`$ECHO $ac_prog| $SED "s%$re_direlt%/%"`
4404 test -z "$LD" && LD="$ac_prog"
4407 # If it fails, then pretend we aren't using GCC.
4411 # If it is relative, then search for the first ld in PATH.
4415 elif test "$with_gnu_ld" = yes; then
4416 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU ld" >&5
4417 $as_echo_n "checking for GNU ld... " >&6; }
4419 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for non-GNU ld" >&5
4420 $as_echo_n "checking for non-GNU ld... " >&6; }
4422 if ${lt_cv_path_LD+:} false; then :
4423 $as_echo_n "(cached) " >&6
4425 if test -z "$LD"; then
4426 lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
4427 for ac_dir in $PATH; do
4429 test -z "$ac_dir" && ac_dir=.
4430 if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then
4431 lt_cv_path_LD="$ac_dir/$ac_prog"
4432 # Check to see if the program is GNU ld. I'd rather use --version,
4433 # but apparently some variants of GNU ld only accept -v.
4434 # Break only if it was the GNU/non-GNU ld that we prefer.
4435 case `"$lt_cv_path_LD" -v 2>&1 </dev/null` in
4436 *GNU* | *'with BFD'*)
4437 test "$with_gnu_ld" != no && break
4440 test "$with_gnu_ld" != yes && break
4447 lt_cv_path_LD="$LD" # Let the user override the test with a path.
4452 if test -n "$LD"; then
4453 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LD" >&5
4454 $as_echo "$LD" >&6; }
4456 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4457 $as_echo "no" >&6; }
4459 test -z "$LD" && as_fn_error $? "no acceptable ld found in \$PATH" "$LINENO" 5
4460 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if the linker ($LD) is GNU ld" >&5
4461 $as_echo_n "checking if the linker ($LD) is GNU ld... " >&6; }
4462 if ${lt_cv_prog_gnu_ld+:} false; then :
4463 $as_echo_n "(cached) " >&6
4465 # I'd rather use --version here, but apparently some GNU lds only accept -v.
4466 case `$LD -v 2>&1 </dev/null` in
4467 *GNU* | *'with BFD'*)
4468 lt_cv_prog_gnu_ld=yes
4471 lt_cv_prog_gnu_ld=no
4475 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_gnu_ld" >&5
4476 $as_echo "$lt_cv_prog_gnu_ld" >&6; }
4477 with_gnu_ld=$lt_cv_prog_gnu_ld
4487 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for BSD- or MS-compatible name lister (nm)" >&5
4488 $as_echo_n "checking for BSD- or MS-compatible name lister (nm)... " >&6; }
4489 if ${lt_cv_path_NM+:} false; then :
4490 $as_echo_n "(cached) " >&6
4492 if test -n "$NM"; then
4493 # Let the user override the test.
4496 lt_nm_to_check="${ac_tool_prefix}nm"
4497 if test -n "$ac_tool_prefix" && test "$build" = "$host"; then
4498 lt_nm_to_check="$lt_nm_to_check nm"
4500 for lt_tmp_nm in $lt_nm_to_check; do
4501 lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
4502 for ac_dir in $PATH /usr/ccs/bin/elf /usr/ccs/bin /usr/ucb /bin; do
4504 test -z "$ac_dir" && ac_dir=.
4505 tmp_nm="$ac_dir/$lt_tmp_nm"
4506 if test -f "$tmp_nm" || test -f "$tmp_nm$ac_exeext" ; then
4507 # Check to see if the nm accepts a BSD-compat flag.
4508 # Adding the `sed 1q' prevents false positives on HP-UX, which says:
4509 # nm: unknown option "B" ignored
4510 # Tru64's nm complains that /dev/null is an invalid object file
4511 case `"$tmp_nm" -B /dev/null 2>&1 | sed '1q'` in
4512 */dev/null* | *'Invalid file or object type'*)
4513 lt_cv_path_NM="$tmp_nm -B"
4517 case `"$tmp_nm" -p /dev/null 2>&1 | sed '1q'` in
4519 lt_cv_path_NM="$tmp_nm -p"
4523 lt_cv_path_NM=${lt_cv_path_NM="$tmp_nm"} # keep the first match, but
4524 continue # so that we can try to find one that supports BSD flags
4533 : ${lt_cv_path_NM=no}
4536 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_path_NM" >&5
4537 $as_echo "$lt_cv_path_NM" >&6; }
4538 if test "$lt_cv_path_NM" != "no"; then
4541 # Didn't find any BSD compatible name lister, look for dumpbin.
4542 if test -n "$DUMPBIN"; then :
4543 # Let the user override the test.
4545 if test -n "$ac_tool_prefix"; then
4546 for ac_prog in dumpbin "link -dump"
4548 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
4549 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
4550 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4551 $as_echo_n "checking for $ac_word... " >&6; }
4552 if ${ac_cv_prog_DUMPBIN+:} false; then :
4553 $as_echo_n "(cached) " >&6
4555 if test -n "$DUMPBIN"; then
4556 ac_cv_prog_DUMPBIN="$DUMPBIN" # Let the user override the test.
4558 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4562 test -z "$as_dir" && as_dir=.
4563 for ac_exec_ext in '' $ac_executable_extensions; do
4564 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4565 ac_cv_prog_DUMPBIN="$ac_tool_prefix$ac_prog"
4566 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4575 DUMPBIN=$ac_cv_prog_DUMPBIN
4576 if test -n "$DUMPBIN"; then
4577 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DUMPBIN" >&5
4578 $as_echo "$DUMPBIN" >&6; }
4580 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4581 $as_echo "no" >&6; }
4585 test -n "$DUMPBIN" && break
4588 if test -z "$DUMPBIN"; then
4589 ac_ct_DUMPBIN=$DUMPBIN
4590 for ac_prog in dumpbin "link -dump"
4592 # Extract the first word of "$ac_prog", so it can be a program name with args.
4593 set dummy $ac_prog; ac_word=$2
4594 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4595 $as_echo_n "checking for $ac_word... " >&6; }
4596 if ${ac_cv_prog_ac_ct_DUMPBIN+:} false; then :
4597 $as_echo_n "(cached) " >&6
4599 if test -n "$ac_ct_DUMPBIN"; then
4600 ac_cv_prog_ac_ct_DUMPBIN="$ac_ct_DUMPBIN" # Let the user override the test.
4602 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4606 test -z "$as_dir" && as_dir=.
4607 for ac_exec_ext in '' $ac_executable_extensions; do
4608 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4609 ac_cv_prog_ac_ct_DUMPBIN="$ac_prog"
4610 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4619 ac_ct_DUMPBIN=$ac_cv_prog_ac_ct_DUMPBIN
4620 if test -n "$ac_ct_DUMPBIN"; then
4621 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DUMPBIN" >&5
4622 $as_echo "$ac_ct_DUMPBIN" >&6; }
4624 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4625 $as_echo "no" >&6; }
4629 test -n "$ac_ct_DUMPBIN" && break
4632 if test "x$ac_ct_DUMPBIN" = x; then
4635 case $cross_compiling:$ac_tool_warned in
4637 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4638 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4639 ac_tool_warned=yes ;;
4641 DUMPBIN=$ac_ct_DUMPBIN
4645 case `$DUMPBIN -symbols /dev/null 2>&1 | sed '1q'` in
4647 DUMPBIN="$DUMPBIN -symbols"
4655 if test "$DUMPBIN" != ":"; then
4659 test -z "$NM" && NM=nm
4666 { $as_echo "$as_me:${as_lineno-$LINENO}: checking the name lister ($NM) interface" >&5
4667 $as_echo_n "checking the name lister ($NM) interface... " >&6; }
4668 if ${lt_cv_nm_interface+:} false; then :
4669 $as_echo_n "(cached) " >&6
4671 lt_cv_nm_interface="BSD nm"
4672 echo "int some_variable = 0;" > conftest.$ac_ext
4673 (eval echo "\"\$as_me:$LINENO: $ac_compile\"" >&5)
4674 (eval "$ac_compile" 2>conftest.err)
4675 cat conftest.err >&5
4676 (eval echo "\"\$as_me:$LINENO: $NM \\\"conftest.$ac_objext\\\"\"" >&5)
4677 (eval "$NM \"conftest.$ac_objext\"" 2>conftest.err > conftest.out)
4678 cat conftest.err >&5
4679 (eval echo "\"\$as_me:$LINENO: output\"" >&5)
4680 cat conftest.out >&5
4681 if $GREP 'External.*some_variable' conftest.out > /dev/null; then
4682 lt_cv_nm_interface="MS dumpbin"
4686 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_nm_interface" >&5
4687 $as_echo "$lt_cv_nm_interface" >&6; }
4689 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ln -s works" >&5
4690 $as_echo_n "checking whether ln -s works... " >&6; }
4692 if test "$LN_S" = "ln -s"; then
4693 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
4694 $as_echo "yes" >&6; }
4696 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no, using $LN_S" >&5
4697 $as_echo "no, using $LN_S" >&6; }
4700 # find the maximum length of command line arguments
4701 { $as_echo "$as_me:${as_lineno-$LINENO}: checking the maximum length of command line arguments" >&5
4702 $as_echo_n "checking the maximum length of command line arguments... " >&6; }
4703 if ${lt_cv_sys_max_cmd_len+:} false; then :
4704 $as_echo_n "(cached) " >&6
4711 # On DJGPP, this test can blow up pretty badly due to problems in libc
4712 # (any single argument exceeding 2000 bytes causes a buffer overrun
4713 # during glob expansion). Even if it were fixed, the result of this
4714 # check would be larger than it should be.
4715 lt_cv_sys_max_cmd_len=12288; # 12K is about right
4719 # Under GNU Hurd, this test is not required because there is
4720 # no limit to the length of command line arguments.
4721 # Libtool will interpret -1 as no limit whatsoever
4722 lt_cv_sys_max_cmd_len=-1;
4725 cygwin* | mingw* | cegcc*)
4726 # On Win9x/ME, this test blows up -- it succeeds, but takes
4727 # about 5 minutes as the teststring grows exponentially.
4728 # Worse, since 9x/ME are not pre-emptively multitasking,
4729 # you end up with a "frozen" computer, even though with patience
4730 # the test eventually succeeds (with a max line length of 256k).
4731 # Instead, let's just punt: use the minimum linelength reported by
4732 # all of the supported platforms: 8192 (on NT/2K/XP).
4733 lt_cv_sys_max_cmd_len=8192;
4737 # On MiNT this can take a long time and run out of memory.
4738 lt_cv_sys_max_cmd_len=8192;
4742 # On AmigaOS with pdksh, this test takes hours, literally.
4743 # So we just punt and use a minimum line length of 8192.
4744 lt_cv_sys_max_cmd_len=8192;
4747 netbsd* | freebsd* | openbsd* | darwin* | dragonfly*)
4748 # This has been around since 386BSD, at least. Likely further.
4749 if test -x /sbin/sysctl; then
4750 lt_cv_sys_max_cmd_len=`/sbin/sysctl -n kern.argmax`
4751 elif test -x /usr/sbin/sysctl; then
4752 lt_cv_sys_max_cmd_len=`/usr/sbin/sysctl -n kern.argmax`
4754 lt_cv_sys_max_cmd_len=65536 # usable default for all BSDs
4756 # And add a safety zone
4757 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4`
4758 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3`
4762 # We know the value 262144 and hardcode it with a safety zone (like BSD)
4763 lt_cv_sys_max_cmd_len=196608
4767 # The test takes a long time on OS/2.
4768 lt_cv_sys_max_cmd_len=8192
4772 # Dr. Hans Ekkehard Plesser reports seeing a kernel panic running configure
4773 # due to this test when exec_disable_arg_limit is 1 on Tru64. It is not
4774 # nice to cause kernel panics so lets avoid the loop below.
4775 # First set a reasonable default.
4776 lt_cv_sys_max_cmd_len=16384
4778 if test -x /sbin/sysconfig; then
4779 case `/sbin/sysconfig -q proc exec_disable_arg_limit` in
4780 *1*) lt_cv_sys_max_cmd_len=-1 ;;
4785 lt_cv_sys_max_cmd_len=102400
4787 sysv5* | sco5v6* | sysv4.2uw2*)
4788 kargmax=`grep ARG_MAX /etc/conf/cf.d/stune 2>/dev/null`
4789 if test -n "$kargmax"; then
4790 lt_cv_sys_max_cmd_len=`echo $kargmax | sed 's/.*[ ]//'`
4792 lt_cv_sys_max_cmd_len=32768
4796 lt_cv_sys_max_cmd_len=`(getconf ARG_MAX) 2> /dev/null`
4797 if test -n "$lt_cv_sys_max_cmd_len"; then
4798 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4`
4799 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3`
4801 # Make teststring a little bigger before we do anything with it.
4802 # a 1K string should be a reasonable start.
4803 for i in 1 2 3 4 5 6 7 8 ; do
4804 teststring=$teststring$teststring
4806 SHELL=${SHELL-${CONFIG_SHELL-/bin/sh}}
4807 # If test is not a shell built-in, we'll probably end up computing a
4808 # maximum length that is only half of the actual maximum length, but
4810 while { test "X"`env echo "$teststring$teststring" 2>/dev/null` \
4811 = "X$teststring$teststring"; } >/dev/null 2>&1 &&
4812 test $i != 17 # 1/2 MB should be enough
4815 teststring=$teststring$teststring
4817 # Only check the string length outside the loop.
4818 lt_cv_sys_max_cmd_len=`expr "X$teststring" : ".*" 2>&1`
4820 # Add a significant safety factor because C++ compilers can tack on
4821 # massive amounts of additional arguments before passing them to the
4822 # linker. It appears as though 1/2 is a usable value.
4823 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 2`
4830 if test -n $lt_cv_sys_max_cmd_len ; then
4831 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_sys_max_cmd_len" >&5
4832 $as_echo "$lt_cv_sys_max_cmd_len" >&6; }
4834 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none" >&5
4835 $as_echo "none" >&6; }
4837 max_cmd_len=$lt_cv_sys_max_cmd_len
4848 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the shell understands some XSI constructs" >&5
4849 $as_echo_n "checking whether the shell understands some XSI constructs... " >&6; }
4850 # Try some XSI features
4853 test "${_lt_dummy##*/},${_lt_dummy%/*},${_lt_dummy#??}"${_lt_dummy%"$_lt_dummy"}, \
4855 && eval 'test $(( 1 + 1 )) -eq 2 \
4856 && test "${#_lt_dummy}" -eq 5' ) >/dev/null 2>&1 \
4858 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xsi_shell" >&5
4859 $as_echo "$xsi_shell" >&6; }
4862 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the shell understands \"+=\"" >&5
4863 $as_echo_n "checking whether the shell understands \"+=\"... " >&6; }
4865 ( foo=bar; set foo baz; eval "$1+=\$2" && test "$foo" = barbaz ) \
4867 && lt_shell_append=yes
4868 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_shell_append" >&5
4869 $as_echo "$lt_shell_append" >&6; }
4872 if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
4882 # test EBCDIC or ASCII
4883 case `echo X|tr X '\101'` in
4884 A) # ASCII based system
4885 # \n is not interpreted correctly by Solaris 8 /usr/ucb/tr
4886 lt_SP2NL='tr \040 \012'
4887 lt_NL2SP='tr \015\012 \040\040'
4889 *) # EBCDIC based system
4890 lt_SP2NL='tr \100 \n'
4891 lt_NL2SP='tr \r\n \100\100'
4903 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to convert $build file names to $host format" >&5
4904 $as_echo_n "checking how to convert $build file names to $host format... " >&6; }
4905 if ${lt_cv_to_host_file_cmd+:} false; then :
4906 $as_echo_n "(cached) " >&6
4911 *-*-mingw* ) # actually msys
4912 lt_cv_to_host_file_cmd=func_convert_file_msys_to_w32
4915 lt_cv_to_host_file_cmd=func_convert_file_cygwin_to_w32
4917 * ) # otherwise, assume *nix
4918 lt_cv_to_host_file_cmd=func_convert_file_nix_to_w32
4924 *-*-mingw* ) # actually msys
4925 lt_cv_to_host_file_cmd=func_convert_file_msys_to_cygwin
4928 lt_cv_to_host_file_cmd=func_convert_file_noop
4930 * ) # otherwise, assume *nix
4931 lt_cv_to_host_file_cmd=func_convert_file_nix_to_cygwin
4935 * ) # unhandled hosts (and "normal" native builds)
4936 lt_cv_to_host_file_cmd=func_convert_file_noop
4942 to_host_file_cmd=$lt_cv_to_host_file_cmd
4943 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_to_host_file_cmd" >&5
4944 $as_echo "$lt_cv_to_host_file_cmd" >&6; }
4950 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to convert $build file names to toolchain format" >&5
4951 $as_echo_n "checking how to convert $build file names to toolchain format... " >&6; }
4952 if ${lt_cv_to_tool_file_cmd+:} false; then :
4953 $as_echo_n "(cached) " >&6
4955 #assume ordinary cross tools, or native build.
4956 lt_cv_to_tool_file_cmd=func_convert_file_noop
4960 *-*-mingw* ) # actually msys
4961 lt_cv_to_tool_file_cmd=func_convert_file_msys_to_w32
4969 to_tool_file_cmd=$lt_cv_to_tool_file_cmd
4970 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_to_tool_file_cmd" >&5
4971 $as_echo "$lt_cv_to_tool_file_cmd" >&6; }
4977 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $LD option to reload object files" >&5
4978 $as_echo_n "checking for $LD option to reload object files... " >&6; }
4979 if ${lt_cv_ld_reload_flag+:} false; then :
4980 $as_echo_n "(cached) " >&6
4982 lt_cv_ld_reload_flag='-r'
4984 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_reload_flag" >&5
4985 $as_echo "$lt_cv_ld_reload_flag" >&6; }
4986 reload_flag=$lt_cv_ld_reload_flag
4987 case $reload_flag in
4989 *) reload_flag=" $reload_flag" ;;
4991 reload_cmds='$LD$reload_flag -o $output$reload_objs'
4993 cygwin* | mingw* | pw32* | cegcc*)
4994 if test "$GCC" != yes; then
4999 if test "$GCC" = yes; then
5000 reload_cmds='$LTCC $LTCFLAGS -nostdlib ${wl}-r -o $output$reload_objs'
5002 reload_cmds='$LD$reload_flag -o $output$reload_objs'
5015 if test -n "$ac_tool_prefix"; then
5016 # Extract the first word of "${ac_tool_prefix}objdump", so it can be a program name with args.
5017 set dummy ${ac_tool_prefix}objdump; ac_word=$2
5018 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5019 $as_echo_n "checking for $ac_word... " >&6; }
5020 if ${ac_cv_prog_OBJDUMP+:} false; then :
5021 $as_echo_n "(cached) " >&6
5023 if test -n "$OBJDUMP"; then
5024 ac_cv_prog_OBJDUMP="$OBJDUMP" # Let the user override the test.
5026 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5030 test -z "$as_dir" && as_dir=.
5031 for ac_exec_ext in '' $ac_executable_extensions; do
5032 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5033 ac_cv_prog_OBJDUMP="${ac_tool_prefix}objdump"
5034 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5043 OBJDUMP=$ac_cv_prog_OBJDUMP
5044 if test -n "$OBJDUMP"; then
5045 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OBJDUMP" >&5
5046 $as_echo "$OBJDUMP" >&6; }
5048 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5049 $as_echo "no" >&6; }
5054 if test -z "$ac_cv_prog_OBJDUMP"; then
5055 ac_ct_OBJDUMP=$OBJDUMP
5056 # Extract the first word of "objdump", so it can be a program name with args.
5057 set dummy objdump; ac_word=$2
5058 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5059 $as_echo_n "checking for $ac_word... " >&6; }
5060 if ${ac_cv_prog_ac_ct_OBJDUMP+:} false; then :
5061 $as_echo_n "(cached) " >&6
5063 if test -n "$ac_ct_OBJDUMP"; then
5064 ac_cv_prog_ac_ct_OBJDUMP="$ac_ct_OBJDUMP" # Let the user override the test.
5066 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5070 test -z "$as_dir" && as_dir=.
5071 for ac_exec_ext in '' $ac_executable_extensions; do
5072 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5073 ac_cv_prog_ac_ct_OBJDUMP="objdump"
5074 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5083 ac_ct_OBJDUMP=$ac_cv_prog_ac_ct_OBJDUMP
5084 if test -n "$ac_ct_OBJDUMP"; then
5085 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OBJDUMP" >&5
5086 $as_echo "$ac_ct_OBJDUMP" >&6; }
5088 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5089 $as_echo "no" >&6; }
5092 if test "x$ac_ct_OBJDUMP" = x; then
5095 case $cross_compiling:$ac_tool_warned in
5097 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5098 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5099 ac_tool_warned=yes ;;
5101 OBJDUMP=$ac_ct_OBJDUMP
5104 OBJDUMP="$ac_cv_prog_OBJDUMP"
5107 test -z "$OBJDUMP" && OBJDUMP=objdump
5117 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to recognize dependent libraries" >&5
5118 $as_echo_n "checking how to recognize dependent libraries... " >&6; }
5119 if ${lt_cv_deplibs_check_method+:} false; then :
5120 $as_echo_n "(cached) " >&6
5122 lt_cv_file_magic_cmd='$MAGIC_CMD'
5123 lt_cv_file_magic_test_file=
5124 lt_cv_deplibs_check_method='unknown'
5125 # Need to set the preceding variable on all platforms that support
5126 # interlibrary dependencies.
5127 # 'none' -- dependencies not supported.
5128 # `unknown' -- same as none, but documents that we really don't know.
5129 # 'pass_all' -- all dependencies passed with no checks.
5130 # 'test_compile' -- check by making test program.
5131 # 'file_magic [[regex]]' -- check by looking for files in library path
5132 # which responds to the $file_magic_cmd with a given extended regex.
5133 # If you have `file' or equivalent on your system and you're not sure
5134 # whether `pass_all' will *always* work, you probably want this one.
5138 lt_cv_deplibs_check_method=pass_all
5142 lt_cv_deplibs_check_method=pass_all
5146 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (shared object|dynamic lib)'
5147 lt_cv_file_magic_cmd='/usr/bin/file -L'
5148 lt_cv_file_magic_test_file=/shlib/libc.so
5152 # func_win32_libid is a shell function defined in ltmain.sh
5153 lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL'
5154 lt_cv_file_magic_cmd='func_win32_libid'
5158 # Base MSYS/MinGW do not provide the 'file' command needed by
5159 # func_win32_libid shell function, so use a weaker test based on 'objdump',
5160 # unless we find 'file', for example because we are cross-compiling.
5161 # func_win32_libid assumes BSD nm, so disallow it if using MS dumpbin.
5162 if ( test "$lt_cv_nm_interface" = "BSD nm" && file / ) >/dev/null 2>&1; then
5163 lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL'
5164 lt_cv_file_magic_cmd='func_win32_libid'
5166 # Keep this pattern in sync with the one in func_win32_libid.
5167 lt_cv_deplibs_check_method='file_magic file format (pei*-i386(.*architecture: i386)?|pe-arm-wince|pe-x86-64)'
5168 lt_cv_file_magic_cmd='$OBJDUMP -f'
5173 # use the weaker test based on 'objdump'. See mingw*.
5174 lt_cv_deplibs_check_method='file_magic file format pe-arm-.*little(.*architecture: arm)?'
5175 lt_cv_file_magic_cmd='$OBJDUMP -f'
5178 darwin* | rhapsody*)
5179 lt_cv_deplibs_check_method=pass_all
5182 freebsd* | dragonfly*)
5183 if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then
5186 # Not sure whether the presence of OpenBSD here was a mistake.
5187 # Let's accept both of them until this is cleared up.
5188 lt_cv_deplibs_check_method='file_magic (FreeBSD|OpenBSD|DragonFly)/i[3-9]86 (compact )?demand paged shared library'
5189 lt_cv_file_magic_cmd=/usr/bin/file
5190 lt_cv_file_magic_test_file=`echo /usr/lib/libc.so.*`
5194 lt_cv_deplibs_check_method=pass_all
5199 lt_cv_deplibs_check_method=pass_all
5203 lt_cv_deplibs_check_method=pass_all
5206 hpux10.20* | hpux11*)
5207 lt_cv_file_magic_cmd=/usr/bin/file
5210 lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|ELF-[0-9][0-9]) shared object file - IA64'
5211 lt_cv_file_magic_test_file=/usr/lib/hpux32/libc.so
5214 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]'
5215 lt_cv_file_magic_test_file=/usr/lib/pa20_64/libc.sl
5218 lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|PA-RISC[0-9]\.[0-9]) shared library'
5219 lt_cv_file_magic_test_file=/usr/lib/libc.sl
5225 # PIC code is broken on Interix 3.x, that's why |\.a not |_pic\.a here
5226 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|\.a)$'
5229 irix5* | irix6* | nonstopux*)
5231 *-32|*"-32 ") libmagic=32-bit;;
5232 *-n32|*"-n32 ") libmagic=N32;;
5233 *-64|*"-64 ") libmagic=64-bit;;
5234 *) libmagic=never-match;;
5236 lt_cv_deplibs_check_method=pass_all
5239 # This must be glibc/ELF.
5240 linux* | k*bsd*-gnu | kopensolaris*-gnu)
5241 lt_cv_deplibs_check_method=pass_all
5244 netbsd* | netbsdelf*-gnu)
5245 if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then
5246 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
5248 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|_pic\.a)$'
5253 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (executable|dynamic lib)'
5254 lt_cv_file_magic_cmd=/usr/bin/file
5255 lt_cv_file_magic_test_file=/usr/lib/libnls.so
5259 lt_cv_deplibs_check_method=pass_all
5263 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
5264 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|\.so|_pic\.a)$'
5266 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
5270 osf3* | osf4* | osf5*)
5271 lt_cv_deplibs_check_method=pass_all
5275 lt_cv_deplibs_check_method=pass_all
5279 lt_cv_deplibs_check_method=pass_all
5282 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
5283 lt_cv_deplibs_check_method=pass_all
5287 case $host_vendor in
5289 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]'
5290 lt_cv_file_magic_test_file=`echo /usr/lib/libc.so*`
5293 lt_cv_deplibs_check_method=pass_all
5296 lt_cv_file_magic_cmd='/bin/file'
5297 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [LM]SB (shared object|dynamic lib )'
5300 lt_cv_file_magic_cmd='/bin/file'
5301 lt_cv_deplibs_check_method="file_magic ELF [0-9][0-9]*-bit [LM]SB dynamic lib"
5302 lt_cv_file_magic_test_file=/lib/libc.so
5305 lt_cv_deplibs_check_method=pass_all
5308 lt_cv_deplibs_check_method=pass_all
5314 lt_cv_deplibs_check_method=pass_all
5319 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_deplibs_check_method" >&5
5320 $as_echo "$lt_cv_deplibs_check_method" >&6; }
5324 if test "$build" = "$host"; then
5327 if ( shopt | grep nocaseglob ) >/dev/null 2>&1; then
5330 file_magic_glob=`echo aAbBcCdDeEfFgGhHiIjJkKlLmMnNoOpPqQrRsStTuUvVwWxXyYzZ | $SED -e "s/\(..\)/s\/[\1]\/[\1]\/g;/g"`
5336 file_magic_cmd=$lt_cv_file_magic_cmd
5337 deplibs_check_method=$lt_cv_deplibs_check_method
5338 test -z "$deplibs_check_method" && deplibs_check_method=unknown
5361 if test -n "$ac_tool_prefix"; then
5362 # Extract the first word of "${ac_tool_prefix}dlltool", so it can be a program name with args.
5363 set dummy ${ac_tool_prefix}dlltool; ac_word=$2
5364 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5365 $as_echo_n "checking for $ac_word... " >&6; }
5366 if ${ac_cv_prog_DLLTOOL+:} false; then :
5367 $as_echo_n "(cached) " >&6
5369 if test -n "$DLLTOOL"; then
5370 ac_cv_prog_DLLTOOL="$DLLTOOL" # Let the user override the test.
5372 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5376 test -z "$as_dir" && as_dir=.
5377 for ac_exec_ext in '' $ac_executable_extensions; do
5378 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5379 ac_cv_prog_DLLTOOL="${ac_tool_prefix}dlltool"
5380 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5389 DLLTOOL=$ac_cv_prog_DLLTOOL
5390 if test -n "$DLLTOOL"; then
5391 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DLLTOOL" >&5
5392 $as_echo "$DLLTOOL" >&6; }
5394 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5395 $as_echo "no" >&6; }
5400 if test -z "$ac_cv_prog_DLLTOOL"; then
5401 ac_ct_DLLTOOL=$DLLTOOL
5402 # Extract the first word of "dlltool", so it can be a program name with args.
5403 set dummy dlltool; ac_word=$2
5404 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5405 $as_echo_n "checking for $ac_word... " >&6; }
5406 if ${ac_cv_prog_ac_ct_DLLTOOL+:} false; then :
5407 $as_echo_n "(cached) " >&6
5409 if test -n "$ac_ct_DLLTOOL"; then
5410 ac_cv_prog_ac_ct_DLLTOOL="$ac_ct_DLLTOOL" # Let the user override the test.
5412 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5416 test -z "$as_dir" && as_dir=.
5417 for ac_exec_ext in '' $ac_executable_extensions; do
5418 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5419 ac_cv_prog_ac_ct_DLLTOOL="dlltool"
5420 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5429 ac_ct_DLLTOOL=$ac_cv_prog_ac_ct_DLLTOOL
5430 if test -n "$ac_ct_DLLTOOL"; then
5431 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DLLTOOL" >&5
5432 $as_echo "$ac_ct_DLLTOOL" >&6; }
5434 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5435 $as_echo "no" >&6; }
5438 if test "x$ac_ct_DLLTOOL" = x; then
5441 case $cross_compiling:$ac_tool_warned in
5443 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5444 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5445 ac_tool_warned=yes ;;
5447 DLLTOOL=$ac_ct_DLLTOOL
5450 DLLTOOL="$ac_cv_prog_DLLTOOL"
5453 test -z "$DLLTOOL" && DLLTOOL=dlltool
5464 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to associate runtime and link libraries" >&5
5465 $as_echo_n "checking how to associate runtime and link libraries... " >&6; }
5466 if ${lt_cv_sharedlib_from_linklib_cmd+:} false; then :
5467 $as_echo_n "(cached) " >&6
5469 lt_cv_sharedlib_from_linklib_cmd='unknown'
5472 cygwin* | mingw* | pw32* | cegcc*)
5473 # two different shell functions defined in ltmain.sh
5474 # decide which to use based on capabilities of $DLLTOOL
5475 case `$DLLTOOL --help 2>&1` in
5476 *--identify-strict*)
5477 lt_cv_sharedlib_from_linklib_cmd=func_cygming_dll_for_implib
5480 lt_cv_sharedlib_from_linklib_cmd=func_cygming_dll_for_implib_fallback
5485 # fallback: assume linklib IS sharedlib
5486 lt_cv_sharedlib_from_linklib_cmd="$ECHO"
5491 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_sharedlib_from_linklib_cmd" >&5
5492 $as_echo "$lt_cv_sharedlib_from_linklib_cmd" >&6; }
5493 sharedlib_from_linklib_cmd=$lt_cv_sharedlib_from_linklib_cmd
5494 test -z "$sharedlib_from_linklib_cmd" && sharedlib_from_linklib_cmd=$ECHO
5503 if test -n "$ac_tool_prefix"; then
5506 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
5507 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
5508 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5509 $as_echo_n "checking for $ac_word... " >&6; }
5510 if ${ac_cv_prog_AR+:} false; then :
5511 $as_echo_n "(cached) " >&6
5513 if test -n "$AR"; then
5514 ac_cv_prog_AR="$AR" # Let the user override the test.
5516 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5520 test -z "$as_dir" && as_dir=.
5521 for ac_exec_ext in '' $ac_executable_extensions; do
5522 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5523 ac_cv_prog_AR="$ac_tool_prefix$ac_prog"
5524 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5534 if test -n "$AR"; then
5535 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AR" >&5
5536 $as_echo "$AR" >&6; }
5538 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5539 $as_echo "no" >&6; }
5543 test -n "$AR" && break
5546 if test -z "$AR"; then
5550 # Extract the first word of "$ac_prog", so it can be a program name with args.
5551 set dummy $ac_prog; ac_word=$2
5552 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5553 $as_echo_n "checking for $ac_word... " >&6; }
5554 if ${ac_cv_prog_ac_ct_AR+:} false; then :
5555 $as_echo_n "(cached) " >&6
5557 if test -n "$ac_ct_AR"; then
5558 ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test.
5560 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5564 test -z "$as_dir" && as_dir=.
5565 for ac_exec_ext in '' $ac_executable_extensions; do
5566 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5567 ac_cv_prog_ac_ct_AR="$ac_prog"
5568 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5577 ac_ct_AR=$ac_cv_prog_ac_ct_AR
5578 if test -n "$ac_ct_AR"; then
5579 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_AR" >&5
5580 $as_echo "$ac_ct_AR" >&6; }
5582 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5583 $as_echo "no" >&6; }
5587 test -n "$ac_ct_AR" && break
5590 if test "x$ac_ct_AR" = x; then
5593 case $cross_compiling:$ac_tool_warned in
5595 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5596 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5597 ac_tool_warned=yes ;;
5616 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for archiver @FILE support" >&5
5617 $as_echo_n "checking for archiver @FILE support... " >&6; }
5618 if ${lt_cv_ar_at_file+:} false; then :
5619 $as_echo_n "(cached) " >&6
5622 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5623 /* end confdefs.h. */
5633 if ac_fn_c_try_compile "$LINENO"; then :
5634 echo conftest.$ac_objext > conftest.lst
5635 lt_ar_try='$AR $AR_FLAGS libconftest.a @conftest.lst >&5'
5636 { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$lt_ar_try\""; } >&5
5637 (eval $lt_ar_try) 2>&5
5639 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
5640 test $ac_status = 0; }
5641 if test "$ac_status" -eq 0; then
5642 # Ensure the archiver fails upon bogus file names.
5643 rm -f conftest.$ac_objext libconftest.a
5644 { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$lt_ar_try\""; } >&5
5645 (eval $lt_ar_try) 2>&5
5647 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
5648 test $ac_status = 0; }
5649 if test "$ac_status" -ne 0; then
5653 rm -f conftest.* libconftest.a
5656 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5659 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ar_at_file" >&5
5660 $as_echo "$lt_cv_ar_at_file" >&6; }
5662 if test "x$lt_cv_ar_at_file" = xno; then
5665 archiver_list_spec=$lt_cv_ar_at_file
5674 if test -n "$ac_tool_prefix"; then
5675 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
5676 set dummy ${ac_tool_prefix}strip; ac_word=$2
5677 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5678 $as_echo_n "checking for $ac_word... " >&6; }
5679 if ${ac_cv_prog_STRIP+:} false; then :
5680 $as_echo_n "(cached) " >&6
5682 if test -n "$STRIP"; then
5683 ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
5685 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5689 test -z "$as_dir" && as_dir=.
5690 for ac_exec_ext in '' $ac_executable_extensions; do
5691 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5692 ac_cv_prog_STRIP="${ac_tool_prefix}strip"
5693 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5702 STRIP=$ac_cv_prog_STRIP
5703 if test -n "$STRIP"; then
5704 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
5705 $as_echo "$STRIP" >&6; }
5707 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5708 $as_echo "no" >&6; }
5713 if test -z "$ac_cv_prog_STRIP"; then
5715 # Extract the first word of "strip", so it can be a program name with args.
5716 set dummy strip; ac_word=$2
5717 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5718 $as_echo_n "checking for $ac_word... " >&6; }
5719 if ${ac_cv_prog_ac_ct_STRIP+:} false; then :
5720 $as_echo_n "(cached) " >&6
5722 if test -n "$ac_ct_STRIP"; then
5723 ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
5725 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5729 test -z "$as_dir" && as_dir=.
5730 for ac_exec_ext in '' $ac_executable_extensions; do
5731 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5732 ac_cv_prog_ac_ct_STRIP="strip"
5733 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5742 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
5743 if test -n "$ac_ct_STRIP"; then
5744 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
5745 $as_echo "$ac_ct_STRIP" >&6; }
5747 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5748 $as_echo "no" >&6; }
5751 if test "x$ac_ct_STRIP" = x; then
5754 case $cross_compiling:$ac_tool_warned in
5756 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5757 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5758 ac_tool_warned=yes ;;
5763 STRIP="$ac_cv_prog_STRIP"
5766 test -z "$STRIP" && STRIP=:
5773 if test -n "$ac_tool_prefix"; then
5774 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
5775 set dummy ${ac_tool_prefix}ranlib; ac_word=$2
5776 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5777 $as_echo_n "checking for $ac_word... " >&6; }
5778 if ${ac_cv_prog_RANLIB+:} false; then :
5779 $as_echo_n "(cached) " >&6
5781 if test -n "$RANLIB"; then
5782 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
5784 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5788 test -z "$as_dir" && as_dir=.
5789 for ac_exec_ext in '' $ac_executable_extensions; do
5790 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5791 ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
5792 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5801 RANLIB=$ac_cv_prog_RANLIB
5802 if test -n "$RANLIB"; then
5803 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $RANLIB" >&5
5804 $as_echo "$RANLIB" >&6; }
5806 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5807 $as_echo "no" >&6; }
5812 if test -z "$ac_cv_prog_RANLIB"; then
5813 ac_ct_RANLIB=$RANLIB
5814 # Extract the first word of "ranlib", so it can be a program name with args.
5815 set dummy ranlib; ac_word=$2
5816 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5817 $as_echo_n "checking for $ac_word... " >&6; }
5818 if ${ac_cv_prog_ac_ct_RANLIB+:} false; then :
5819 $as_echo_n "(cached) " >&6
5821 if test -n "$ac_ct_RANLIB"; then
5822 ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
5824 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5828 test -z "$as_dir" && as_dir=.
5829 for ac_exec_ext in '' $ac_executable_extensions; do
5830 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5831 ac_cv_prog_ac_ct_RANLIB="ranlib"
5832 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5841 ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
5842 if test -n "$ac_ct_RANLIB"; then
5843 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_RANLIB" >&5
5844 $as_echo "$ac_ct_RANLIB" >&6; }
5846 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5847 $as_echo "no" >&6; }
5850 if test "x$ac_ct_RANLIB" = x; then
5853 case $cross_compiling:$ac_tool_warned in
5855 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5856 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5857 ac_tool_warned=yes ;;
5859 RANLIB=$ac_ct_RANLIB
5862 RANLIB="$ac_cv_prog_RANLIB"
5865 test -z "$RANLIB" && RANLIB=:
5872 # Determine commands to create old-style static archives.
5873 old_archive_cmds='$AR $AR_FLAGS $oldlib$oldobjs'
5874 old_postinstall_cmds='chmod 644 $oldlib'
5875 old_postuninstall_cmds=
5877 if test -n "$RANLIB"; then
5880 old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB -t \$tool_oldlib"
5883 old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB \$tool_oldlib"
5886 old_archive_cmds="$old_archive_cmds~\$RANLIB \$tool_oldlib"
5891 lock_old_archive_extraction=yes ;;
5893 lock_old_archive_extraction=no ;;
5934 # If no C compiler was specified, use CC.
5937 # If no C compiler flags were specified, use CFLAGS.
5938 LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
5940 # Allow CC to be a program name with arguments.
5944 # Check for command to grab the raw symbol name followed by C symbol from nm.
5945 { $as_echo "$as_me:${as_lineno-$LINENO}: checking command to parse $NM output from $compiler object" >&5
5946 $as_echo_n "checking command to parse $NM output from $compiler object... " >&6; }
5947 if ${lt_cv_sys_global_symbol_pipe+:} false; then :
5948 $as_echo_n "(cached) " >&6
5951 # These are sane defaults that work on at least a few old systems.
5952 # [They come from Ultrix. What could be older than Ultrix?!! ;)]
5954 # Character class describing NM global symbol codes.
5955 symcode='[BCDEGRST]'
5957 # Regexp to match symbols that can be accessed directly from C.
5958 sympat='\([_A-Za-z][_A-Za-z0-9]*\)'
5960 # Define system-specific variables.
5965 cygwin* | mingw* | pw32* | cegcc*)
5966 symcode='[ABCDGISTW]'
5969 if test "$host_cpu" = ia64; then
5970 symcode='[ABCDEGRST]'
5974 symcode='[BCDEGRST]'
5977 symcode='[BCDEGQRST]'
5988 sysv5* | sco5v6* | unixware* | OpenUNIX*)
5996 # If we're using GNU nm, then use its standard symbol codes.
5997 case `$NM -V 2>&1` in
5998 *GNU* | *'with BFD'*)
5999 symcode='[ABCDGIRSTW]' ;;
6002 # Transform an extracted symbol line into a proper C declaration.
6003 # Some systems (esp. on ia64) link data and code symbols differently,
6004 # so use this general approach.
6005 lt_cv_sys_global_symbol_to_cdecl="sed -n -e 's/^T .* \(.*\)$/extern int \1();/p' -e 's/^$symcode* .* \(.*\)$/extern char \1;/p'"
6007 # Transform an extracted symbol line into symbol name and symbol address
6008 lt_cv_sys_global_symbol_to_c_name_address="sed -n -e 's/^: \([^ ]*\)[ ]*$/ {\\\"\1\\\", (void *) 0},/p' -e 's/^$symcode* \([^ ]*\) \([^ ]*\)$/ {\"\2\", (void *) \&\2},/p'"
6009 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'"
6011 # Handle CRLF in mingw tool chain
6015 opt_cr=`$ECHO 'x\{0,1\}' | tr x '\015'` # option cr in regexp
6019 # Try without a prefix underscore, then with it.
6020 for ac_symprfx in "" "_"; do
6022 # Transform symcode, sympat, and symprfx into a raw symbol and a C symbol.
6023 symxfrm="\\1 $ac_symprfx\\2 \\2"
6025 # Write the raw and C identifiers.
6026 if test "$lt_cv_nm_interface" = "MS dumpbin"; then
6027 # Fake it for dumpbin and say T for any non-static function
6028 # and D for any global variable.
6029 # Also find C++ and __fastcall symbols from MSVC++,
6030 # which start with @ or ?.
6031 lt_cv_sys_global_symbol_pipe="$AWK '"\
6032 " {last_section=section; section=\$ 3};"\
6033 " /^COFF SYMBOL TABLE/{for(i in hide) delete hide[i]};"\
6034 " /Section length .*#relocs.*(pick any)/{hide[last_section]=1};"\
6035 " \$ 0!~/External *\|/{next};"\
6036 " / 0+ UNDEF /{next}; / UNDEF \([^|]\)*()/{next};"\
6037 " {if(hide[section]) next};"\
6038 " {f=0}; \$ 0~/\(\).*\|/{f=1}; {printf f ? \"T \" : \"D \"};"\
6039 " {split(\$ 0, a, /\||\r/); split(a[2], s)};"\
6040 " s[1]~/^[@?]/{print s[1], s[1]; next};"\
6041 " s[1]~prfx {split(s[1],t,\"@\"); print t[1], substr(t[1],length(prfx))}"\
6042 " ' prfx=^$ac_symprfx"
6044 lt_cv_sys_global_symbol_pipe="sed -n -e 's/^.*[ ]\($symcode$symcode*\)[ ][ ]*$ac_symprfx$sympat$opt_cr$/$symxfrm/p'"
6046 lt_cv_sys_global_symbol_pipe="$lt_cv_sys_global_symbol_pipe | sed '/ __gnu_lto/d'"
6048 # Check to see that the pipe works correctly.
6052 cat > conftest.$ac_ext <<_LT_EOF
6057 void nm_test_func(void);
6058 void nm_test_func(void){}
6062 int main(){nm_test_var='a';nm_test_func();return(0);}
6065 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
6066 (eval $ac_compile) 2>&5
6068 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6069 test $ac_status = 0; }; then
6070 # Now try to grab the symbols.
6072 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$NM conftest.$ac_objext \| "$lt_cv_sys_global_symbol_pipe" \> $nlist\""; } >&5
6073 (eval $NM conftest.$ac_objext \| "$lt_cv_sys_global_symbol_pipe" \> $nlist) 2>&5
6075 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6076 test $ac_status = 0; } && test -s "$nlist"; then
6077 # Try sorting and uniquifying the output.
6078 if sort "$nlist" | uniq > "$nlist"T; then
6079 mv -f "$nlist"T "$nlist"
6084 # Make sure that we snagged all the symbols we need.
6085 if $GREP ' nm_test_var$' "$nlist" >/dev/null; then
6086 if $GREP ' nm_test_func$' "$nlist" >/dev/null; then
6087 cat <<_LT_EOF > conftest.$ac_ext
6088 /* Keep this code in sync between libtool.m4, ltmain, lt_system.h, and tests. */
6089 #if defined(_WIN32) || defined(__CYGWIN__) || defined(_WIN32_WCE)
6090 /* DATA imports from DLLs on WIN32 con't be const, because runtime
6091 relocations are performed -- see ld's documentation on pseudo-relocs. */
6092 # define LT_DLSYM_CONST
6093 #elif defined(__osf__)
6094 /* This system does not cope well with relocations in const data. */
6095 # define LT_DLSYM_CONST
6097 # define LT_DLSYM_CONST const
6105 # Now generate the symbol file.
6106 eval "$lt_cv_sys_global_symbol_to_cdecl"' < "$nlist" | $GREP -v main >> conftest.$ac_ext'
6108 cat <<_LT_EOF >> conftest.$ac_ext
6110 /* The mapping between symbol names and symbols. */
6111 LT_DLSYM_CONST struct {
6115 lt__PROGRAM__LTX_preloaded_symbols[] =
6117 { "@PROGRAM@", (void *) 0 },
6119 $SED "s/^$symcode$symcode* \(.*\) \(.*\)$/ {\"\2\", (void *) \&\2},/" < "$nlist" | $GREP -v main >> conftest.$ac_ext
6120 cat <<\_LT_EOF >> conftest.$ac_ext
6124 /* This works around a problem in FreeBSD linker */
6125 #ifdef FREEBSD_WORKAROUND
6126 static const void *lt_preloaded_setup() {
6127 return lt__PROGRAM__LTX_preloaded_symbols;
6135 # Now try linking the two files.
6136 mv conftest.$ac_objext conftstm.$ac_objext
6137 lt_globsym_save_LIBS=$LIBS
6138 lt_globsym_save_CFLAGS=$CFLAGS
6139 LIBS="conftstm.$ac_objext"
6140 CFLAGS="$CFLAGS$lt_prog_compiler_no_builtin_flag"
6141 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
6142 (eval $ac_link) 2>&5
6144 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6145 test $ac_status = 0; } && test -s conftest${ac_exeext}; then
6148 LIBS=$lt_globsym_save_LIBS
6149 CFLAGS=$lt_globsym_save_CFLAGS
6151 echo "cannot find nm_test_func in $nlist" >&5
6154 echo "cannot find nm_test_var in $nlist" >&5
6157 echo "cannot run $lt_cv_sys_global_symbol_pipe" >&5
6160 echo "$progname: failed program was:" >&5
6161 cat conftest.$ac_ext >&5
6163 rm -rf conftest* conftst*
6165 # Do not use the global_symbol_pipe unless it works.
6166 if test "$pipe_works" = yes; then
6169 lt_cv_sys_global_symbol_pipe=
6175 if test -z "$lt_cv_sys_global_symbol_pipe"; then
6176 lt_cv_sys_global_symbol_to_cdecl=
6178 if test -z "$lt_cv_sys_global_symbol_pipe$lt_cv_sys_global_symbol_to_cdecl"; then
6179 { $as_echo "$as_me:${as_lineno-$LINENO}: result: failed" >&5
6180 $as_echo "failed" >&6; }
6182 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ok" >&5
6183 $as_echo "ok" >&6; }
6186 # Response file support.
6187 if test "$lt_cv_nm_interface" = "MS dumpbin"; then
6188 nm_file_list_spec='@'
6189 elif $NM --help 2>/dev/null | grep '[@]FILE' >/dev/null; then
6190 nm_file_list_spec='@'
6219 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sysroot" >&5
6220 $as_echo_n "checking for sysroot... " >&6; }
6222 # Check whether --with-sysroot was given.
6223 if test "${with_sysroot+set}" = set; then :
6224 withval=$with_sysroot;
6231 case ${with_sysroot} in #(
6233 if test "$GCC" = yes; then
6234 lt_sysroot=`$CC --print-sysroot 2>/dev/null`
6238 lt_sysroot=`echo "$with_sysroot" | sed -e "$sed_quote_subst"`
6243 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${with_sysroot}" >&5
6244 $as_echo "${with_sysroot}" >&6; }
6245 as_fn_error $? "The sysroot must be an absolute path." "$LINENO" 5
6249 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${lt_sysroot:-no}" >&5
6250 $as_echo "${lt_sysroot:-no}" >&6; }
6256 # Check whether --enable-libtool-lock was given.
6257 if test "${enable_libtool_lock+set}" = set; then :
6258 enableval=$enable_libtool_lock;
6261 test "x$enable_libtool_lock" != xno && enable_libtool_lock=yes
6263 # Some flags need to be propagated to the compiler or linker for good
6267 # Find out which ABI we are using.
6268 echo 'int i;' > conftest.$ac_ext
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 case `/usr/bin/file conftest.$ac_objext` in
6286 # Find out which ABI we are using.
6287 echo '#line '$LINENO' "configure"' > conftest.$ac_ext
6288 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
6289 (eval $ac_compile) 2>&5
6291 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6292 test $ac_status = 0; }; then
6293 if test "$lt_cv_prog_gnu_ld" = yes; then
6294 case `/usr/bin/file conftest.$ac_objext` in
6296 LD="${LD-ld} -melf32bsmip"
6299 LD="${LD-ld} -melf32bmipn32"
6302 LD="${LD-ld} -melf64bmip"
6306 case `/usr/bin/file conftest.$ac_objext` in
6322 x86_64-*kfreebsd*-gnu|x86_64-*linux*|ppc*-*linux*|powerpc*-*linux*| \
6323 s390*-*linux*|s390*-*tpf*|sparc*-*linux*)
6324 # Find out which ABI we are using.
6325 echo 'int i;' > conftest.$ac_ext
6326 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
6327 (eval $ac_compile) 2>&5
6329 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6330 test $ac_status = 0; }; then
6331 case `/usr/bin/file conftest.o` in
6334 x86_64-*kfreebsd*-gnu)
6335 LD="${LD-ld} -m elf_i386_fbsd"
6338 LD="${LD-ld} -m elf_i386"
6340 ppc64-*linux*|powerpc64-*linux*)
6341 LD="${LD-ld} -m elf32ppclinux"
6344 LD="${LD-ld} -m elf_s390"
6347 LD="${LD-ld} -m elf32_sparc"
6353 x86_64-*kfreebsd*-gnu)
6354 LD="${LD-ld} -m elf_x86_64_fbsd"
6357 LD="${LD-ld} -m elf_x86_64"
6359 ppc*-*linux*|powerpc*-*linux*)
6360 LD="${LD-ld} -m elf64ppc"
6362 s390*-*linux*|s390*-*tpf*)
6363 LD="${LD-ld} -m elf64_s390"
6366 LD="${LD-ld} -m elf64_sparc"
6376 # On SCO OpenServer 5, we need -belf to get full-featured binaries.
6377 SAVE_CFLAGS="$CFLAGS"
6378 CFLAGS="$CFLAGS -belf"
6379 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler needs -belf" >&5
6380 $as_echo_n "checking whether the C compiler needs -belf... " >&6; }
6381 if ${lt_cv_cc_needs_belf+:} false; then :
6382 $as_echo_n "(cached) " >&6
6385 ac_cpp='$CPP $CPPFLAGS'
6386 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
6387 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
6388 ac_compiler_gnu=$ac_cv_c_compiler_gnu
6390 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6391 /* end confdefs.h. */
6401 if ac_fn_c_try_link "$LINENO"; then :
6402 lt_cv_cc_needs_belf=yes
6404 lt_cv_cc_needs_belf=no
6406 rm -f core conftest.err conftest.$ac_objext \
6407 conftest$ac_exeext conftest.$ac_ext
6409 ac_cpp='$CPP $CPPFLAGS'
6410 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
6411 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
6412 ac_compiler_gnu=$ac_cv_c_compiler_gnu
6415 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_cc_needs_belf" >&5
6416 $as_echo "$lt_cv_cc_needs_belf" >&6; }
6417 if test x"$lt_cv_cc_needs_belf" != x"yes"; then
6418 # this is probably gcc 2.8.0, egcs 1.0 or newer; no need for -belf
6419 CFLAGS="$SAVE_CFLAGS"
6423 # Find out which ABI we are using.
6424 echo 'int i;' > conftest.$ac_ext
6425 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
6426 (eval $ac_compile) 2>&5
6428 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6429 test $ac_status = 0; }; then
6430 case `/usr/bin/file conftest.o` in
6432 case $lt_cv_prog_gnu_ld in
6436 LD="${LD-ld} -m elf_x86_64"
6439 LD="${LD-ld} -m elf64_sparc"
6442 # GNU ld 2.21 introduced _sol2 emulations. Use them if available.
6443 if ${LD-ld} -V | grep _sol2 >/dev/null 2>&1; then
6448 if ${LD-ld} -64 -r -o conftest2.o conftest.o >/dev/null 2>&1; then
6460 need_locks="$enable_libtool_lock"
6462 if test -n "$ac_tool_prefix"; then
6463 # Extract the first word of "${ac_tool_prefix}mt", so it can be a program name with args.
6464 set dummy ${ac_tool_prefix}mt; ac_word=$2
6465 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6466 $as_echo_n "checking for $ac_word... " >&6; }
6467 if ${ac_cv_prog_MANIFEST_TOOL+:} false; then :
6468 $as_echo_n "(cached) " >&6
6470 if test -n "$MANIFEST_TOOL"; then
6471 ac_cv_prog_MANIFEST_TOOL="$MANIFEST_TOOL" # Let the user override the test.
6473 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6477 test -z "$as_dir" && as_dir=.
6478 for ac_exec_ext in '' $ac_executable_extensions; do
6479 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6480 ac_cv_prog_MANIFEST_TOOL="${ac_tool_prefix}mt"
6481 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6490 MANIFEST_TOOL=$ac_cv_prog_MANIFEST_TOOL
6491 if test -n "$MANIFEST_TOOL"; then
6492 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MANIFEST_TOOL" >&5
6493 $as_echo "$MANIFEST_TOOL" >&6; }
6495 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6496 $as_echo "no" >&6; }
6501 if test -z "$ac_cv_prog_MANIFEST_TOOL"; then
6502 ac_ct_MANIFEST_TOOL=$MANIFEST_TOOL
6503 # Extract the first word of "mt", so it can be a program name with args.
6504 set dummy mt; ac_word=$2
6505 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6506 $as_echo_n "checking for $ac_word... " >&6; }
6507 if ${ac_cv_prog_ac_ct_MANIFEST_TOOL+:} false; then :
6508 $as_echo_n "(cached) " >&6
6510 if test -n "$ac_ct_MANIFEST_TOOL"; then
6511 ac_cv_prog_ac_ct_MANIFEST_TOOL="$ac_ct_MANIFEST_TOOL" # Let the user override the test.
6513 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6517 test -z "$as_dir" && as_dir=.
6518 for ac_exec_ext in '' $ac_executable_extensions; do
6519 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6520 ac_cv_prog_ac_ct_MANIFEST_TOOL="mt"
6521 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6530 ac_ct_MANIFEST_TOOL=$ac_cv_prog_ac_ct_MANIFEST_TOOL
6531 if test -n "$ac_ct_MANIFEST_TOOL"; then
6532 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_MANIFEST_TOOL" >&5
6533 $as_echo "$ac_ct_MANIFEST_TOOL" >&6; }
6535 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6536 $as_echo "no" >&6; }
6539 if test "x$ac_ct_MANIFEST_TOOL" = x; then
6542 case $cross_compiling:$ac_tool_warned in
6544 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6545 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6546 ac_tool_warned=yes ;;
6548 MANIFEST_TOOL=$ac_ct_MANIFEST_TOOL
6551 MANIFEST_TOOL="$ac_cv_prog_MANIFEST_TOOL"
6554 test -z "$MANIFEST_TOOL" && MANIFEST_TOOL=mt
6555 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $MANIFEST_TOOL is a manifest tool" >&5
6556 $as_echo_n "checking if $MANIFEST_TOOL is a manifest tool... " >&6; }
6557 if ${lt_cv_path_mainfest_tool+:} false; then :
6558 $as_echo_n "(cached) " >&6
6560 lt_cv_path_mainfest_tool=no
6561 echo "$as_me:$LINENO: $MANIFEST_TOOL '-?'" >&5
6562 $MANIFEST_TOOL '-?' 2>conftest.err > conftest.out
6563 cat conftest.err >&5
6564 if $GREP 'Manifest Tool' conftest.out > /dev/null; then
6565 lt_cv_path_mainfest_tool=yes
6569 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_path_mainfest_tool" >&5
6570 $as_echo "$lt_cv_path_mainfest_tool" >&6; }
6571 if test "x$lt_cv_path_mainfest_tool" != xyes; then
6581 rhapsody* | darwin*)
6582 if test -n "$ac_tool_prefix"; then
6583 # Extract the first word of "${ac_tool_prefix}dsymutil", so it can be a program name with args.
6584 set dummy ${ac_tool_prefix}dsymutil; ac_word=$2
6585 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6586 $as_echo_n "checking for $ac_word... " >&6; }
6587 if ${ac_cv_prog_DSYMUTIL+:} false; then :
6588 $as_echo_n "(cached) " >&6
6590 if test -n "$DSYMUTIL"; then
6591 ac_cv_prog_DSYMUTIL="$DSYMUTIL" # Let the user override the test.
6593 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6597 test -z "$as_dir" && as_dir=.
6598 for ac_exec_ext in '' $ac_executable_extensions; do
6599 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6600 ac_cv_prog_DSYMUTIL="${ac_tool_prefix}dsymutil"
6601 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6610 DSYMUTIL=$ac_cv_prog_DSYMUTIL
6611 if test -n "$DSYMUTIL"; then
6612 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DSYMUTIL" >&5
6613 $as_echo "$DSYMUTIL" >&6; }
6615 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6616 $as_echo "no" >&6; }
6621 if test -z "$ac_cv_prog_DSYMUTIL"; then
6622 ac_ct_DSYMUTIL=$DSYMUTIL
6623 # Extract the first word of "dsymutil", so it can be a program name with args.
6624 set dummy dsymutil; ac_word=$2
6625 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6626 $as_echo_n "checking for $ac_word... " >&6; }
6627 if ${ac_cv_prog_ac_ct_DSYMUTIL+:} false; then :
6628 $as_echo_n "(cached) " >&6
6630 if test -n "$ac_ct_DSYMUTIL"; then
6631 ac_cv_prog_ac_ct_DSYMUTIL="$ac_ct_DSYMUTIL" # Let the user override the test.
6633 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6637 test -z "$as_dir" && as_dir=.
6638 for ac_exec_ext in '' $ac_executable_extensions; do
6639 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6640 ac_cv_prog_ac_ct_DSYMUTIL="dsymutil"
6641 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6650 ac_ct_DSYMUTIL=$ac_cv_prog_ac_ct_DSYMUTIL
6651 if test -n "$ac_ct_DSYMUTIL"; then
6652 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DSYMUTIL" >&5
6653 $as_echo "$ac_ct_DSYMUTIL" >&6; }
6655 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6656 $as_echo "no" >&6; }
6659 if test "x$ac_ct_DSYMUTIL" = x; then
6662 case $cross_compiling:$ac_tool_warned in
6664 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6665 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6666 ac_tool_warned=yes ;;
6668 DSYMUTIL=$ac_ct_DSYMUTIL
6671 DSYMUTIL="$ac_cv_prog_DSYMUTIL"
6674 if test -n "$ac_tool_prefix"; then
6675 # Extract the first word of "${ac_tool_prefix}nmedit", so it can be a program name with args.
6676 set dummy ${ac_tool_prefix}nmedit; ac_word=$2
6677 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6678 $as_echo_n "checking for $ac_word... " >&6; }
6679 if ${ac_cv_prog_NMEDIT+:} false; then :
6680 $as_echo_n "(cached) " >&6
6682 if test -n "$NMEDIT"; then
6683 ac_cv_prog_NMEDIT="$NMEDIT" # Let the user override the test.
6685 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6689 test -z "$as_dir" && as_dir=.
6690 for ac_exec_ext in '' $ac_executable_extensions; do
6691 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6692 ac_cv_prog_NMEDIT="${ac_tool_prefix}nmedit"
6693 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6702 NMEDIT=$ac_cv_prog_NMEDIT
6703 if test -n "$NMEDIT"; then
6704 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $NMEDIT" >&5
6705 $as_echo "$NMEDIT" >&6; }
6707 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6708 $as_echo "no" >&6; }
6713 if test -z "$ac_cv_prog_NMEDIT"; then
6714 ac_ct_NMEDIT=$NMEDIT
6715 # Extract the first word of "nmedit", so it can be a program name with args.
6716 set dummy nmedit; ac_word=$2
6717 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6718 $as_echo_n "checking for $ac_word... " >&6; }
6719 if ${ac_cv_prog_ac_ct_NMEDIT+:} false; then :
6720 $as_echo_n "(cached) " >&6
6722 if test -n "$ac_ct_NMEDIT"; then
6723 ac_cv_prog_ac_ct_NMEDIT="$ac_ct_NMEDIT" # Let the user override the test.
6725 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6729 test -z "$as_dir" && as_dir=.
6730 for ac_exec_ext in '' $ac_executable_extensions; do
6731 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6732 ac_cv_prog_ac_ct_NMEDIT="nmedit"
6733 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6742 ac_ct_NMEDIT=$ac_cv_prog_ac_ct_NMEDIT
6743 if test -n "$ac_ct_NMEDIT"; then
6744 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_NMEDIT" >&5
6745 $as_echo "$ac_ct_NMEDIT" >&6; }
6747 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6748 $as_echo "no" >&6; }
6751 if test "x$ac_ct_NMEDIT" = x; then
6754 case $cross_compiling:$ac_tool_warned in
6756 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6757 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6758 ac_tool_warned=yes ;;
6760 NMEDIT=$ac_ct_NMEDIT
6763 NMEDIT="$ac_cv_prog_NMEDIT"
6766 if test -n "$ac_tool_prefix"; then
6767 # Extract the first word of "${ac_tool_prefix}lipo", so it can be a program name with args.
6768 set dummy ${ac_tool_prefix}lipo; ac_word=$2
6769 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6770 $as_echo_n "checking for $ac_word... " >&6; }
6771 if ${ac_cv_prog_LIPO+:} false; then :
6772 $as_echo_n "(cached) " >&6
6774 if test -n "$LIPO"; then
6775 ac_cv_prog_LIPO="$LIPO" # Let the user override the test.
6777 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6781 test -z "$as_dir" && as_dir=.
6782 for ac_exec_ext in '' $ac_executable_extensions; do
6783 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6784 ac_cv_prog_LIPO="${ac_tool_prefix}lipo"
6785 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6794 LIPO=$ac_cv_prog_LIPO
6795 if test -n "$LIPO"; then
6796 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LIPO" >&5
6797 $as_echo "$LIPO" >&6; }
6799 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6800 $as_echo "no" >&6; }
6805 if test -z "$ac_cv_prog_LIPO"; then
6807 # Extract the first word of "lipo", so it can be a program name with args.
6808 set dummy lipo; ac_word=$2
6809 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6810 $as_echo_n "checking for $ac_word... " >&6; }
6811 if ${ac_cv_prog_ac_ct_LIPO+:} false; then :
6812 $as_echo_n "(cached) " >&6
6814 if test -n "$ac_ct_LIPO"; then
6815 ac_cv_prog_ac_ct_LIPO="$ac_ct_LIPO" # Let the user override the test.
6817 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6821 test -z "$as_dir" && as_dir=.
6822 for ac_exec_ext in '' $ac_executable_extensions; do
6823 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6824 ac_cv_prog_ac_ct_LIPO="lipo"
6825 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6834 ac_ct_LIPO=$ac_cv_prog_ac_ct_LIPO
6835 if test -n "$ac_ct_LIPO"; then
6836 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_LIPO" >&5
6837 $as_echo "$ac_ct_LIPO" >&6; }
6839 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6840 $as_echo "no" >&6; }
6843 if test "x$ac_ct_LIPO" = x; then
6846 case $cross_compiling:$ac_tool_warned in
6848 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6849 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6850 ac_tool_warned=yes ;;
6855 LIPO="$ac_cv_prog_LIPO"
6858 if test -n "$ac_tool_prefix"; then
6859 # Extract the first word of "${ac_tool_prefix}otool", so it can be a program name with args.
6860 set dummy ${ac_tool_prefix}otool; ac_word=$2
6861 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6862 $as_echo_n "checking for $ac_word... " >&6; }
6863 if ${ac_cv_prog_OTOOL+:} false; then :
6864 $as_echo_n "(cached) " >&6
6866 if test -n "$OTOOL"; then
6867 ac_cv_prog_OTOOL="$OTOOL" # Let the user override the test.
6869 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6873 test -z "$as_dir" && as_dir=.
6874 for ac_exec_ext in '' $ac_executable_extensions; do
6875 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6876 ac_cv_prog_OTOOL="${ac_tool_prefix}otool"
6877 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6886 OTOOL=$ac_cv_prog_OTOOL
6887 if test -n "$OTOOL"; then
6888 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OTOOL" >&5
6889 $as_echo "$OTOOL" >&6; }
6891 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6892 $as_echo "no" >&6; }
6897 if test -z "$ac_cv_prog_OTOOL"; then
6899 # Extract the first word of "otool", so it can be a program name with args.
6900 set dummy otool; ac_word=$2
6901 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6902 $as_echo_n "checking for $ac_word... " >&6; }
6903 if ${ac_cv_prog_ac_ct_OTOOL+:} false; then :
6904 $as_echo_n "(cached) " >&6
6906 if test -n "$ac_ct_OTOOL"; then
6907 ac_cv_prog_ac_ct_OTOOL="$ac_ct_OTOOL" # Let the user override the test.
6909 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6913 test -z "$as_dir" && as_dir=.
6914 for ac_exec_ext in '' $ac_executable_extensions; do
6915 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6916 ac_cv_prog_ac_ct_OTOOL="otool"
6917 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6926 ac_ct_OTOOL=$ac_cv_prog_ac_ct_OTOOL
6927 if test -n "$ac_ct_OTOOL"; then
6928 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OTOOL" >&5
6929 $as_echo "$ac_ct_OTOOL" >&6; }
6931 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6932 $as_echo "no" >&6; }
6935 if test "x$ac_ct_OTOOL" = x; then
6938 case $cross_compiling:$ac_tool_warned in
6940 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6941 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6942 ac_tool_warned=yes ;;
6947 OTOOL="$ac_cv_prog_OTOOL"
6950 if test -n "$ac_tool_prefix"; then
6951 # Extract the first word of "${ac_tool_prefix}otool64", so it can be a program name with args.
6952 set dummy ${ac_tool_prefix}otool64; ac_word=$2
6953 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6954 $as_echo_n "checking for $ac_word... " >&6; }
6955 if ${ac_cv_prog_OTOOL64+:} false; then :
6956 $as_echo_n "(cached) " >&6
6958 if test -n "$OTOOL64"; then
6959 ac_cv_prog_OTOOL64="$OTOOL64" # Let the user override the test.
6961 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6965 test -z "$as_dir" && as_dir=.
6966 for ac_exec_ext in '' $ac_executable_extensions; do
6967 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6968 ac_cv_prog_OTOOL64="${ac_tool_prefix}otool64"
6969 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6978 OTOOL64=$ac_cv_prog_OTOOL64
6979 if test -n "$OTOOL64"; then
6980 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OTOOL64" >&5
6981 $as_echo "$OTOOL64" >&6; }
6983 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6984 $as_echo "no" >&6; }
6989 if test -z "$ac_cv_prog_OTOOL64"; then
6990 ac_ct_OTOOL64=$OTOOL64
6991 # Extract the first word of "otool64", so it can be a program name with args.
6992 set dummy otool64; ac_word=$2
6993 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6994 $as_echo_n "checking for $ac_word... " >&6; }
6995 if ${ac_cv_prog_ac_ct_OTOOL64+:} false; then :
6996 $as_echo_n "(cached) " >&6
6998 if test -n "$ac_ct_OTOOL64"; then
6999 ac_cv_prog_ac_ct_OTOOL64="$ac_ct_OTOOL64" # Let the user override the test.
7001 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7005 test -z "$as_dir" && as_dir=.
7006 for ac_exec_ext in '' $ac_executable_extensions; do
7007 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7008 ac_cv_prog_ac_ct_OTOOL64="otool64"
7009 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7018 ac_ct_OTOOL64=$ac_cv_prog_ac_ct_OTOOL64
7019 if test -n "$ac_ct_OTOOL64"; then
7020 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OTOOL64" >&5
7021 $as_echo "$ac_ct_OTOOL64" >&6; }
7023 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7024 $as_echo "no" >&6; }
7027 if test "x$ac_ct_OTOOL64" = x; then
7030 case $cross_compiling:$ac_tool_warned in
7032 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7033 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7034 ac_tool_warned=yes ;;
7036 OTOOL64=$ac_ct_OTOOL64
7039 OTOOL64="$ac_cv_prog_OTOOL64"
7068 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -single_module linker flag" >&5
7069 $as_echo_n "checking for -single_module linker flag... " >&6; }
7070 if ${lt_cv_apple_cc_single_mod+:} false; then :
7071 $as_echo_n "(cached) " >&6
7073 lt_cv_apple_cc_single_mod=no
7074 if test -z "${LT_MULTI_MODULE}"; then
7075 # By default we will add the -single_module flag. You can override
7076 # by either setting the environment variable LT_MULTI_MODULE
7077 # non-empty at configure time, or by adding -multi_module to the
7079 rm -rf libconftest.dylib*
7080 echo "int foo(void){return 1;}" > conftest.c
7081 echo "$LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \
7082 -dynamiclib -Wl,-single_module conftest.c" >&5
7083 $LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \
7084 -dynamiclib -Wl,-single_module conftest.c 2>conftest.err
7086 # If there is a non-empty error log, and "single_module"
7087 # appears in it, assume the flag caused a linker warning
7088 if test -s conftest.err && $GREP single_module conftest.err; then
7089 cat conftest.err >&5
7090 # Otherwise, if the output was created with a 0 exit code from
7091 # the compiler, it worked.
7092 elif test -f libconftest.dylib && test $_lt_result -eq 0; then
7093 lt_cv_apple_cc_single_mod=yes
7095 cat conftest.err >&5
7097 rm -rf libconftest.dylib*
7101 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_apple_cc_single_mod" >&5
7102 $as_echo "$lt_cv_apple_cc_single_mod" >&6; }
7104 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -exported_symbols_list linker flag" >&5
7105 $as_echo_n "checking for -exported_symbols_list linker flag... " >&6; }
7106 if ${lt_cv_ld_exported_symbols_list+:} false; then :
7107 $as_echo_n "(cached) " >&6
7109 lt_cv_ld_exported_symbols_list=no
7110 save_LDFLAGS=$LDFLAGS
7111 echo "_main" > conftest.sym
7112 LDFLAGS="$LDFLAGS -Wl,-exported_symbols_list,conftest.sym"
7113 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7114 /* end confdefs.h. */
7124 if ac_fn_c_try_link "$LINENO"; then :
7125 lt_cv_ld_exported_symbols_list=yes
7127 lt_cv_ld_exported_symbols_list=no
7129 rm -f core conftest.err conftest.$ac_objext \
7130 conftest$ac_exeext conftest.$ac_ext
7131 LDFLAGS="$save_LDFLAGS"
7134 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_exported_symbols_list" >&5
7135 $as_echo "$lt_cv_ld_exported_symbols_list" >&6; }
7137 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -force_load linker flag" >&5
7138 $as_echo_n "checking for -force_load linker flag... " >&6; }
7139 if ${lt_cv_ld_force_load+:} false; then :
7140 $as_echo_n "(cached) " >&6
7142 lt_cv_ld_force_load=no
7143 cat > conftest.c << _LT_EOF
7144 int forced_loaded() { return 2;}
7146 echo "$LTCC $LTCFLAGS -c -o conftest.o conftest.c" >&5
7147 $LTCC $LTCFLAGS -c -o conftest.o conftest.c 2>&5
7148 echo "$AR cru libconftest.a conftest.o" >&5
7149 $AR cru libconftest.a conftest.o 2>&5
7150 echo "$RANLIB libconftest.a" >&5
7151 $RANLIB libconftest.a 2>&5
7152 cat > conftest.c << _LT_EOF
7153 int main() { return 0;}
7155 echo "$LTCC $LTCFLAGS $LDFLAGS -o conftest conftest.c -Wl,-force_load,./libconftest.a" >&5
7156 $LTCC $LTCFLAGS $LDFLAGS -o conftest conftest.c -Wl,-force_load,./libconftest.a 2>conftest.err
7158 if test -s conftest.err && $GREP force_load conftest.err; then
7159 cat conftest.err >&5
7160 elif test -f conftest && test $_lt_result -eq 0 && $GREP forced_load conftest >/dev/null 2>&1 ; then
7161 lt_cv_ld_force_load=yes
7163 cat conftest.err >&5
7165 rm -f conftest.err libconftest.a conftest conftest.c
7166 rm -rf conftest.dSYM
7169 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_force_load" >&5
7170 $as_echo "$lt_cv_ld_force_load" >&6; }
7172 rhapsody* | darwin1.[012])
7173 _lt_dar_allow_undefined='${wl}-undefined ${wl}suppress' ;;
7175 _lt_dar_allow_undefined='${wl}-flat_namespace ${wl}-undefined ${wl}suppress' ;;
7176 darwin*) # darwin 5.x on
7177 # if running on 10.5 or later, the deployment target defaults
7178 # to the OS version, if on x86, and 10.4, the deployment
7179 # target defaults to 10.4. Don't you love it?
7180 case ${MACOSX_DEPLOYMENT_TARGET-10.0},$host in
7181 10.0,*86*-darwin8*|10.0,*-darwin[91]*)
7182 _lt_dar_allow_undefined='${wl}-undefined ${wl}dynamic_lookup' ;;
7184 _lt_dar_allow_undefined='${wl}-flat_namespace ${wl}-undefined ${wl}suppress' ;;
7186 _lt_dar_allow_undefined='${wl}-undefined ${wl}dynamic_lookup' ;;
7190 if test "$lt_cv_apple_cc_single_mod" = "yes"; then
7191 _lt_dar_single_mod='$single_module'
7193 if test "$lt_cv_ld_exported_symbols_list" = "yes"; then
7194 _lt_dar_export_syms=' ${wl}-exported_symbols_list,$output_objdir/${libname}-symbols.expsym'
7196 _lt_dar_export_syms='~$NMEDIT -s $output_objdir/${libname}-symbols.expsym ${lib}'
7198 if test "$DSYMUTIL" != ":" && test "$lt_cv_ld_force_load" = "no"; then
7199 _lt_dsymutil='~$DSYMUTIL $lib || :'
7207 ac_cpp='$CPP $CPPFLAGS'
7208 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
7209 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
7210 ac_compiler_gnu=$ac_cv_c_compiler_gnu
7211 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C preprocessor" >&5
7212 $as_echo_n "checking how to run the C preprocessor... " >&6; }
7213 # On Suns, sometimes $CPP names a directory.
7214 if test -n "$CPP" && test -d "$CPP"; then
7217 if test -z "$CPP"; then
7218 if ${ac_cv_prog_CPP+:} false; then :
7219 $as_echo_n "(cached) " >&6
7221 # Double quotes because CPP needs to be expanded
7222 for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
7225 for ac_c_preproc_warn_flag in '' yes
7227 # Use a header file that comes with gcc, so configuring glibc
7228 # with a fresh cross-compiler works.
7229 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
7230 # <limits.h> exists even on freestanding compilers.
7231 # On the NeXT, cc -E runs the code through the compiler's parser,
7232 # not just through cpp. "Syntax error" is here to catch this case.
7233 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7234 /* end confdefs.h. */
7236 # include <limits.h>
7238 # include <assert.h>
7242 if ac_fn_c_try_cpp "$LINENO"; then :
7245 # Broken: fails on valid input.
7248 rm -f conftest.err conftest.i conftest.$ac_ext
7250 # OK, works on sane cases. Now check whether nonexistent headers
7251 # can be detected and how.
7252 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7253 /* end confdefs.h. */
7254 #include <ac_nonexistent.h>
7256 if ac_fn_c_try_cpp "$LINENO"; then :
7257 # Broken: success on invalid input.
7260 # Passes both tests.
7264 rm -f conftest.err conftest.i conftest.$ac_ext
7267 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
7268 rm -f conftest.i conftest.err conftest.$ac_ext
7269 if $ac_preproc_ok; then :
7281 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CPP" >&5
7282 $as_echo "$CPP" >&6; }
7284 for ac_c_preproc_warn_flag in '' yes
7286 # Use a header file that comes with gcc, so configuring glibc
7287 # with a fresh cross-compiler works.
7288 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
7289 # <limits.h> exists even on freestanding compilers.
7290 # On the NeXT, cc -E runs the code through the compiler's parser,
7291 # not just through cpp. "Syntax error" is here to catch this case.
7292 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7293 /* end confdefs.h. */
7295 # include <limits.h>
7297 # include <assert.h>
7301 if ac_fn_c_try_cpp "$LINENO"; then :
7304 # Broken: fails on valid input.
7307 rm -f conftest.err conftest.i conftest.$ac_ext
7309 # OK, works on sane cases. Now check whether nonexistent headers
7310 # can be detected and how.
7311 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7312 /* end confdefs.h. */
7313 #include <ac_nonexistent.h>
7315 if ac_fn_c_try_cpp "$LINENO"; then :
7316 # Broken: success on invalid input.
7319 # Passes both tests.
7323 rm -f conftest.err conftest.i conftest.$ac_ext
7326 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
7327 rm -f conftest.i conftest.err conftest.$ac_ext
7328 if $ac_preproc_ok; then :
7331 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
7332 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
7333 as_fn_error $? "C preprocessor \"$CPP\" fails sanity check
7334 See \`config.log' for more details" "$LINENO" 5; }
7338 ac_cpp='$CPP $CPPFLAGS'
7339 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
7340 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
7341 ac_compiler_gnu=$ac_cv_c_compiler_gnu
7344 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5
7345 $as_echo_n "checking for ANSI C header files... " >&6; }
7346 if ${ac_cv_header_stdc+:} false; then :
7347 $as_echo_n "(cached) " >&6
7349 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7350 /* end confdefs.h. */
7364 if ac_fn_c_try_compile "$LINENO"; then :
7365 ac_cv_header_stdc=yes
7367 ac_cv_header_stdc=no
7369 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
7371 if test $ac_cv_header_stdc = yes; then
7372 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
7373 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7374 /* end confdefs.h. */
7378 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
7379 $EGREP "memchr" >/dev/null 2>&1; then :
7382 ac_cv_header_stdc=no
7388 if test $ac_cv_header_stdc = yes; then
7389 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
7390 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7391 /* end confdefs.h. */
7395 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
7396 $EGREP "free" >/dev/null 2>&1; then :
7399 ac_cv_header_stdc=no
7405 if test $ac_cv_header_stdc = yes; then
7406 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
7407 if test "$cross_compiling" = yes; then :
7410 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7411 /* end confdefs.h. */
7414 #if ((' ' & 0x0FF) == 0x020)
7415 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
7416 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
7418 # define ISLOWER(c) \
7419 (('a' <= (c) && (c) <= 'i') \
7420 || ('j' <= (c) && (c) <= 'r') \
7421 || ('s' <= (c) && (c) <= 'z'))
7422 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
7425 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
7430 for (i = 0; i < 256; i++)
7431 if (XOR (islower (i), ISLOWER (i))
7432 || toupper (i) != TOUPPER (i))
7437 if ac_fn_c_try_run "$LINENO"; then :
7440 ac_cv_header_stdc=no
7442 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
7443 conftest.$ac_objext conftest.beam conftest.$ac_ext
7448 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdc" >&5
7449 $as_echo "$ac_cv_header_stdc" >&6; }
7450 if test $ac_cv_header_stdc = yes; then
7452 $as_echo "#define STDC_HEADERS 1" >>confdefs.h
7456 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
7457 for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
7458 inttypes.h stdint.h unistd.h
7460 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
7461 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default
7463 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
7464 cat >>confdefs.h <<_ACEOF
7465 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
7473 for ac_header in dlfcn.h
7475 ac_fn_c_check_header_compile "$LINENO" "dlfcn.h" "ac_cv_header_dlfcn_h" "$ac_includes_default
7477 if test "x$ac_cv_header_dlfcn_h" = xyes; then :
7478 cat >>confdefs.h <<_ACEOF
7479 #define HAVE_DLFCN_H 1
7500 # Check whether --enable-shared was given.
7501 if test "${enable_shared+set}" = set; then :
7502 enableval=$enable_shared; p=${PACKAGE-default}
7504 yes) enable_shared=yes ;;
7505 no) enable_shared=no ;;
7508 # Look at the argument we got. We use all the common list separators.
7509 lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
7510 for pkg in $enableval; do
7512 if test "X$pkg" = "X$p"; then
7533 # Check whether --with-pic was given.
7534 if test "${with_pic+set}" = set; then :
7535 withval=$with_pic; lt_p=${PACKAGE-default}
7537 yes|no) pic_mode=$withval ;;
7540 # Look at the argument we got. We use all the common list separators.
7541 lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
7542 for lt_pkg in $withval; do
7544 if test "X$lt_pkg" = "X$lt_p"; then
7556 test -z "$pic_mode" && pic_mode=default
7564 # Check whether --enable-fast-install was given.
7565 if test "${enable_fast_install+set}" = set; then :
7566 enableval=$enable_fast_install; p=${PACKAGE-default}
7568 yes) enable_fast_install=yes ;;
7569 no) enable_fast_install=no ;;
7571 enable_fast_install=no
7572 # Look at the argument we got. We use all the common list separators.
7573 lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
7574 for pkg in $enableval; do
7576 if test "X$pkg" = "X$p"; then
7577 enable_fast_install=yes
7584 enable_fast_install=yes
7597 # This can be used to rebuild libtool when needed
7598 LIBTOOL_DEPS="$ltmain"
7600 # Always use our own libtool.
7601 LIBTOOL='$(SHELL) $(top_builddir)/libtool'
7632 test -z "$LN_S" && LN_S="ln -s"
7647 if test -n "${ZSH_VERSION+set}" ; then
7648 setopt NO_GLOB_SUBST
7651 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for objdir" >&5
7652 $as_echo_n "checking for objdir... " >&6; }
7653 if ${lt_cv_objdir+:} false; then :
7654 $as_echo_n "(cached) " >&6
7656 rm -f .libs 2>/dev/null
7657 mkdir .libs 2>/dev/null
7658 if test -d .libs; then
7661 # MS-DOS does not allow filenames that begin with a dot.
7664 rmdir .libs 2>/dev/null
7666 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_objdir" >&5
7667 $as_echo "$lt_cv_objdir" >&6; }
7668 objdir=$lt_cv_objdir
7674 cat >>confdefs.h <<_ACEOF
7675 #define LT_OBJDIR "$lt_cv_objdir/"
7683 # AIX sometimes has problems with the GCC collect2 program. For some
7684 # reason, if we set the COLLECT_NAMES environment variable, the problems
7685 # vanish in a puff of smoke.
7686 if test "X${COLLECT_NAMES+set}" != Xset; then
7688 export COLLECT_NAMES
7695 can_build_shared=yes
7697 # All known linkers require a `.a' archive for static linking (except MSVC,
7698 # which needs '.lib').
7701 with_gnu_ld="$lt_cv_prog_gnu_ld"
7704 old_CFLAGS="$CFLAGS"
7706 # Set sane defaults for various variables
7707 test -z "$CC" && CC=cc
7708 test -z "$LTCC" && LTCC=$CC
7709 test -z "$LTCFLAGS" && LTCFLAGS=$CFLAGS
7710 test -z "$LD" && LD=ld
7711 test -z "$ac_objext" && ac_objext=o
7713 for cc_temp in $compiler""; do
7715 compile | *[\\/]compile | ccache | *[\\/]ccache ) ;;
7716 distcc | *[\\/]distcc | purify | *[\\/]purify ) ;;
7721 cc_basename=`$ECHO "$cc_temp" | $SED "s%.*/%%; s%^$host_alias-%%"`
7724 # Only perform the check for file, if the check method requires it
7725 test -z "$MAGIC_CMD" && MAGIC_CMD=file
7726 case $deplibs_check_method in
7728 if test "$file_magic_cmd" = '$MAGIC_CMD'; then
7729 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ${ac_tool_prefix}file" >&5
7730 $as_echo_n "checking for ${ac_tool_prefix}file... " >&6; }
7731 if ${lt_cv_path_MAGIC_CMD+:} false; then :
7732 $as_echo_n "(cached) " >&6
7736 lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a path.
7739 lt_save_MAGIC_CMD="$MAGIC_CMD"
7740 lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
7741 ac_dummy="/usr/bin$PATH_SEPARATOR$PATH"
7742 for ac_dir in $ac_dummy; do
7744 test -z "$ac_dir" && ac_dir=.
7745 if test -f $ac_dir/${ac_tool_prefix}file; then
7746 lt_cv_path_MAGIC_CMD="$ac_dir/${ac_tool_prefix}file"
7747 if test -n "$file_magic_test_file"; then
7748 case $deplibs_check_method in
7750 file_magic_regex=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
7751 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
7752 if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
7753 $EGREP "$file_magic_regex" > /dev/null; then
7758 *** Warning: the command libtool uses to detect shared libraries,
7759 *** $file_magic_cmd, produces output that libtool cannot recognize.
7760 *** The result is that libtool may fail to recognize shared libraries
7761 *** as such. This will affect the creation of libtool libraries that
7762 *** depend on shared libraries, but programs linked with such libtool
7763 *** libraries will work regardless of this problem. Nevertheless, you
7764 *** may want to report the problem to your system manager and/or to
7765 *** bug-libtool@gnu.org
7775 MAGIC_CMD="$lt_save_MAGIC_CMD"
7780 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
7781 if test -n "$MAGIC_CMD"; then
7782 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MAGIC_CMD" >&5
7783 $as_echo "$MAGIC_CMD" >&6; }
7785 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7786 $as_echo "no" >&6; }
7793 if test -z "$lt_cv_path_MAGIC_CMD"; then
7794 if test -n "$ac_tool_prefix"; then
7795 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for file" >&5
7796 $as_echo_n "checking for file... " >&6; }
7797 if ${lt_cv_path_MAGIC_CMD+:} false; then :
7798 $as_echo_n "(cached) " >&6
7802 lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a path.
7805 lt_save_MAGIC_CMD="$MAGIC_CMD"
7806 lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
7807 ac_dummy="/usr/bin$PATH_SEPARATOR$PATH"
7808 for ac_dir in $ac_dummy; do
7810 test -z "$ac_dir" && ac_dir=.
7811 if test -f $ac_dir/file; then
7812 lt_cv_path_MAGIC_CMD="$ac_dir/file"
7813 if test -n "$file_magic_test_file"; then
7814 case $deplibs_check_method in
7816 file_magic_regex=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
7817 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
7818 if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
7819 $EGREP "$file_magic_regex" > /dev/null; then
7824 *** Warning: the command libtool uses to detect shared libraries,
7825 *** $file_magic_cmd, produces output that libtool cannot recognize.
7826 *** The result is that libtool may fail to recognize shared libraries
7827 *** as such. This will affect the creation of libtool libraries that
7828 *** depend on shared libraries, but programs linked with such libtool
7829 *** libraries will work regardless of this problem. Nevertheless, you
7830 *** may want to report the problem to your system manager and/or to
7831 *** bug-libtool@gnu.org
7841 MAGIC_CMD="$lt_save_MAGIC_CMD"
7846 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
7847 if test -n "$MAGIC_CMD"; then
7848 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MAGIC_CMD" >&5
7849 $as_echo "$MAGIC_CMD" >&6; }
7851 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7852 $as_echo "no" >&6; }
7865 # Use C for the default configuration in the libtool script
7869 ac_cpp='$CPP $CPPFLAGS'
7870 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
7871 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
7872 ac_compiler_gnu=$ac_cv_c_compiler_gnu
7875 # Source file extension for C test sources.
7878 # Object file extension for compiled C test sources.
7882 # Code to be used in simple compile tests
7883 lt_simple_compile_test_code="int some_variable = 0;"
7885 # Code to be used in simple link tests
7886 lt_simple_link_test_code='int main(){return(0);}'
7894 # If no C compiler was specified, use CC.
7897 # If no C compiler flags were specified, use CFLAGS.
7898 LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
7900 # Allow CC to be a program name with arguments.
7903 # Save the default compiler, since it gets overwritten when the other
7904 # tags are being tested, and _LT_TAGVAR(compiler, []) is a NOP.
7905 compiler_DEFAULT=$CC
7907 # save warnings/boilerplate of simple test code
7908 ac_outfile=conftest.$ac_objext
7909 echo "$lt_simple_compile_test_code" >conftest.$ac_ext
7910 eval "$ac_compile" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
7911 _lt_compiler_boilerplate=`cat conftest.err`
7914 ac_outfile=conftest.$ac_objext
7915 echo "$lt_simple_link_test_code" >conftest.$ac_ext
7916 eval "$ac_link" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
7917 _lt_linker_boilerplate=`cat conftest.err`
7922 ## There is no encapsulation within the following macros, do not change
7923 ## the running order or otherwise move them around unless you know exactly
7924 ## what you are doing...
7925 if test -n "$compiler"; then
7927 lt_prog_compiler_no_builtin_flag=
7929 if test "$GCC" = yes; then
7930 case $cc_basename in
7932 lt_prog_compiler_no_builtin_flag=' -Xcompiler -fno-builtin' ;;
7934 lt_prog_compiler_no_builtin_flag=' -fno-builtin' ;;
7937 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -fno-rtti -fno-exceptions" >&5
7938 $as_echo_n "checking if $compiler supports -fno-rtti -fno-exceptions... " >&6; }
7939 if ${lt_cv_prog_compiler_rtti_exceptions+:} false; then :
7940 $as_echo_n "(cached) " >&6
7942 lt_cv_prog_compiler_rtti_exceptions=no
7943 ac_outfile=conftest.$ac_objext
7944 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
7945 lt_compiler_flag="-fno-rtti -fno-exceptions"
7946 # Insert the option either (1) after the last *FLAGS variable, or
7947 # (2) before a word containing "conftest.", or (3) at the end.
7948 # Note that $ac_compile itself does not contain backslashes and begins
7949 # with a dollar sign (not a hyphen), so the echo should work correctly.
7950 # The option is referenced via a variable to avoid confusing sed.
7951 lt_compile=`echo "$ac_compile" | $SED \
7952 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
7953 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
7954 -e 's:$: $lt_compiler_flag:'`
7955 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
7956 (eval "$lt_compile" 2>conftest.err)
7958 cat conftest.err >&5
7959 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7960 if (exit $ac_status) && test -s "$ac_outfile"; then
7961 # The compiler can only warn and ignore the option if not recognized
7962 # So say no if there are warnings other than the usual output.
7963 $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' >conftest.exp
7964 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
7965 if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
7966 lt_cv_prog_compiler_rtti_exceptions=yes
7972 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_rtti_exceptions" >&5
7973 $as_echo "$lt_cv_prog_compiler_rtti_exceptions" >&6; }
7975 if test x"$lt_cv_prog_compiler_rtti_exceptions" = xyes; then
7976 lt_prog_compiler_no_builtin_flag="$lt_prog_compiler_no_builtin_flag -fno-rtti -fno-exceptions"
7988 lt_prog_compiler_wl=
7989 lt_prog_compiler_pic=
7990 lt_prog_compiler_static=
7993 if test "$GCC" = yes; then
7994 lt_prog_compiler_wl='-Wl,'
7995 lt_prog_compiler_static='-static'
7999 # All AIX code is PIC.
8000 if test "$host_cpu" = ia64; then
8001 # AIX 5 now supports IA64 processor
8002 lt_prog_compiler_static='-Bstatic'
8009 # see comment about AmigaOS4 .so support
8010 lt_prog_compiler_pic='-fPIC'
8013 # FIXME: we need at least 68020 code to build shared libraries, but
8014 # adding the `-m68020' flag to GCC prevents building anything better,
8016 lt_prog_compiler_pic='-m68020 -resident32 -malways-restore-a4'
8021 beos* | irix5* | irix6* | nonstopux* | osf3* | osf4* | osf5*)
8022 # PIC is the default for these OSes.
8025 mingw* | cygwin* | pw32* | os2* | cegcc*)
8026 # This hack is so that the source file can tell whether it is being
8027 # built for inclusion in a dll (and should export symbols for example).
8028 # Although the cygwin gcc ignores -fPIC, still need this for old-style
8029 # (--disable-auto-import) libraries
8030 lt_prog_compiler_pic='-DDLL_EXPORT'
8033 darwin* | rhapsody*)
8034 # PIC is the default on this platform
8035 # Common symbols not allowed in MH_DYLIB files
8036 lt_prog_compiler_pic='-fno-common'
8040 # PIC is the default for Haiku.
8041 # The "-static" flag exists, but is broken.
8042 lt_prog_compiler_static=
8046 # PIC is the default for 64-bit PA HP-UX, but not for 32-bit
8047 # PA HP-UX. On IA64 HP-UX, PIC is the default but the pic flag
8048 # sets the default TLS model and affects inlining.
8054 lt_prog_compiler_pic='-fPIC'
8060 # Interix 3.x gcc -fpic/-fPIC options generate broken code.
8061 # Instead, we relocate shared libraries at runtime.
8065 # Just because we use GCC doesn't mean we suddenly get shared libraries
8066 # on systems that don't support them.
8067 lt_prog_compiler_can_build_shared=no
8072 # QNX uses GNU C++, but need to define -shared option too, otherwise
8074 lt_prog_compiler_pic='-fPIC -shared'
8078 if test -d /usr/nec; then
8079 lt_prog_compiler_pic=-Kconform_pic
8084 lt_prog_compiler_pic='-fPIC'
8088 case $cc_basename in
8089 nvcc*) # Cuda Compiler Driver 2.2
8090 lt_prog_compiler_wl='-Xlinker '
8091 if test -n "$lt_prog_compiler_pic"; then
8092 lt_prog_compiler_pic="-Xcompiler $lt_prog_compiler_pic"
8097 # PORTME Check for flag to pass linker flags through the system compiler.
8100 lt_prog_compiler_wl='-Wl,'
8101 if test "$host_cpu" = ia64; then
8102 # AIX 5 now supports IA64 processor
8103 lt_prog_compiler_static='-Bstatic'
8105 lt_prog_compiler_static='-bnso -bI:/lib/syscalls.exp'
8109 mingw* | cygwin* | pw32* | os2* | cegcc*)
8110 # This hack is so that the source file can tell whether it is being
8111 # built for inclusion in a dll (and should export symbols for example).
8112 lt_prog_compiler_pic='-DDLL_EXPORT'
8115 hpux9* | hpux10* | hpux11*)
8116 lt_prog_compiler_wl='-Wl,'
8117 # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
8124 lt_prog_compiler_pic='+Z'
8127 # Is there a better lt_prog_compiler_static that works with the bundled CC?
8128 lt_prog_compiler_static='${wl}-a ${wl}archive'
8131 irix5* | irix6* | nonstopux*)
8132 lt_prog_compiler_wl='-Wl,'
8133 # PIC (with -KPIC) is the default.
8134 lt_prog_compiler_static='-non_shared'
8137 linux* | k*bsd*-gnu | kopensolaris*-gnu)
8138 case $cc_basename in
8139 # old Intel for x86_64 which still supported -KPIC.
8141 lt_prog_compiler_wl='-Wl,'
8142 lt_prog_compiler_pic='-KPIC'
8143 lt_prog_compiler_static='-static'
8145 # icc used to be incompatible with GCC.
8146 # ICC 10 doesn't accept -KPIC any more.
8148 lt_prog_compiler_wl='-Wl,'
8149 lt_prog_compiler_pic='-fPIC'
8150 lt_prog_compiler_static='-static'
8152 # Lahey Fortran 8.1.
8154 lt_prog_compiler_wl='-Wl,'
8155 lt_prog_compiler_pic='--shared'
8156 lt_prog_compiler_static='--static'
8159 # NAG Fortran compiler
8160 lt_prog_compiler_wl='-Wl,-Wl,,'
8161 lt_prog_compiler_pic='-PIC'
8162 lt_prog_compiler_static='-Bstatic'
8164 pgcc* | pgf77* | pgf90* | pgf95* | pgfortran*)
8165 # Portland Group compilers (*not* the Pentium gcc compiler,
8166 # which looks to be a dead project)
8167 lt_prog_compiler_wl='-Wl,'
8168 lt_prog_compiler_pic='-fpic'
8169 lt_prog_compiler_static='-Bstatic'
8172 lt_prog_compiler_wl='-Wl,'
8173 # All Alpha code is PIC.
8174 lt_prog_compiler_static='-non_shared'
8176 xl* | bgxl* | bgf* | mpixl*)
8177 # IBM XL C 8.0/Fortran 10.1, 11.1 on PPC and BlueGene
8178 lt_prog_compiler_wl='-Wl,'
8179 lt_prog_compiler_pic='-qpic'
8180 lt_prog_compiler_static='-qstaticlink'
8183 case `$CC -V 2>&1 | sed 5q` in
8184 *Sun\ Ceres\ Fortran* | *Sun*Fortran*\ [1-7].* | *Sun*Fortran*\ 8.[0-3]*)
8185 # Sun Fortran 8.3 passes all unrecognized flags to the linker
8186 lt_prog_compiler_pic='-KPIC'
8187 lt_prog_compiler_static='-Bstatic'
8188 lt_prog_compiler_wl=''
8190 *Sun\ F* | *Sun*Fortran*)
8191 lt_prog_compiler_pic='-KPIC'
8192 lt_prog_compiler_static='-Bstatic'
8193 lt_prog_compiler_wl='-Qoption ld '
8197 lt_prog_compiler_pic='-KPIC'
8198 lt_prog_compiler_static='-Bstatic'
8199 lt_prog_compiler_wl='-Wl,'
8201 *Intel*\ [CF]*Compiler*)
8202 lt_prog_compiler_wl='-Wl,'
8203 lt_prog_compiler_pic='-fPIC'
8204 lt_prog_compiler_static='-static'
8207 lt_prog_compiler_wl='-Wl,'
8208 lt_prog_compiler_pic='-fpic'
8209 lt_prog_compiler_static='-Bstatic'
8217 lt_prog_compiler_pic='-KPIC'
8218 lt_prog_compiler_static='-Bstatic'
8222 # QNX uses GNU C++, but need to define -shared option too, otherwise
8224 lt_prog_compiler_pic='-fPIC -shared'
8227 osf3* | osf4* | osf5*)
8228 lt_prog_compiler_wl='-Wl,'
8229 # All OSF/1 code is PIC.
8230 lt_prog_compiler_static='-non_shared'
8234 lt_prog_compiler_static='-non_shared'
8238 lt_prog_compiler_pic='-KPIC'
8239 lt_prog_compiler_static='-Bstatic'
8240 case $cc_basename in
8241 f77* | f90* | f95* | sunf77* | sunf90* | sunf95*)
8242 lt_prog_compiler_wl='-Qoption ld ';;
8244 lt_prog_compiler_wl='-Wl,';;
8249 lt_prog_compiler_wl='-Qoption ld '
8250 lt_prog_compiler_pic='-PIC'
8251 lt_prog_compiler_static='-Bstatic'
8254 sysv4 | sysv4.2uw2* | sysv4.3*)
8255 lt_prog_compiler_wl='-Wl,'
8256 lt_prog_compiler_pic='-KPIC'
8257 lt_prog_compiler_static='-Bstatic'
8261 if test -d /usr/nec ;then
8262 lt_prog_compiler_pic='-Kconform_pic'
8263 lt_prog_compiler_static='-Bstatic'
8267 sysv5* | unixware* | sco3.2v5* | sco5v6* | OpenUNIX*)
8268 lt_prog_compiler_wl='-Wl,'
8269 lt_prog_compiler_pic='-KPIC'
8270 lt_prog_compiler_static='-Bstatic'
8274 lt_prog_compiler_wl='-Wl,'
8275 lt_prog_compiler_can_build_shared=no
8279 lt_prog_compiler_pic='-pic'
8280 lt_prog_compiler_static='-Bstatic'
8284 lt_prog_compiler_can_build_shared=no
8290 # For platforms which do not support PIC, -DPIC is meaningless:
8292 lt_prog_compiler_pic=
8295 lt_prog_compiler_pic="$lt_prog_compiler_pic -DPIC"
8299 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $compiler option to produce PIC" >&5
8300 $as_echo_n "checking for $compiler option to produce PIC... " >&6; }
8301 if ${lt_cv_prog_compiler_pic+:} false; then :
8302 $as_echo_n "(cached) " >&6
8304 lt_cv_prog_compiler_pic=$lt_prog_compiler_pic
8306 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic" >&5
8307 $as_echo "$lt_cv_prog_compiler_pic" >&6; }
8308 lt_prog_compiler_pic=$lt_cv_prog_compiler_pic
8311 # Check to make sure the PIC flag actually works.
8313 if test -n "$lt_prog_compiler_pic"; then
8314 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler PIC flag $lt_prog_compiler_pic works" >&5
8315 $as_echo_n "checking if $compiler PIC flag $lt_prog_compiler_pic works... " >&6; }
8316 if ${lt_cv_prog_compiler_pic_works+:} false; then :
8317 $as_echo_n "(cached) " >&6
8319 lt_cv_prog_compiler_pic_works=no
8320 ac_outfile=conftest.$ac_objext
8321 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
8322 lt_compiler_flag="$lt_prog_compiler_pic -DPIC"
8323 # Insert the option either (1) after the last *FLAGS variable, or
8324 # (2) before a word containing "conftest.", or (3) at the end.
8325 # Note that $ac_compile itself does not contain backslashes and begins
8326 # with a dollar sign (not a hyphen), so the echo should work correctly.
8327 # The option is referenced via a variable to avoid confusing sed.
8328 lt_compile=`echo "$ac_compile" | $SED \
8329 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
8330 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
8331 -e 's:$: $lt_compiler_flag:'`
8332 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
8333 (eval "$lt_compile" 2>conftest.err)
8335 cat conftest.err >&5
8336 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8337 if (exit $ac_status) && test -s "$ac_outfile"; then
8338 # The compiler can only warn and ignore the option if not recognized
8339 # So say no if there are warnings other than the usual output.
8340 $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' >conftest.exp
8341 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
8342 if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
8343 lt_cv_prog_compiler_pic_works=yes
8349 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic_works" >&5
8350 $as_echo "$lt_cv_prog_compiler_pic_works" >&6; }
8352 if test x"$lt_cv_prog_compiler_pic_works" = xyes; then
8353 case $lt_prog_compiler_pic in
8355 *) lt_prog_compiler_pic=" $lt_prog_compiler_pic" ;;
8358 lt_prog_compiler_pic=
8359 lt_prog_compiler_can_build_shared=no
8375 # Check to make sure the static flag actually works.
8377 wl=$lt_prog_compiler_wl eval lt_tmp_static_flag=\"$lt_prog_compiler_static\"
8378 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler static flag $lt_tmp_static_flag works" >&5
8379 $as_echo_n "checking if $compiler static flag $lt_tmp_static_flag works... " >&6; }
8380 if ${lt_cv_prog_compiler_static_works+:} false; then :
8381 $as_echo_n "(cached) " >&6
8383 lt_cv_prog_compiler_static_works=no
8384 save_LDFLAGS="$LDFLAGS"
8385 LDFLAGS="$LDFLAGS $lt_tmp_static_flag"
8386 echo "$lt_simple_link_test_code" > conftest.$ac_ext
8387 if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
8388 # The linker can only warn and ignore the option if not recognized
8389 # So say no if there are warnings
8390 if test -s conftest.err; then
8391 # Append any errors to the config.log.
8392 cat conftest.err 1>&5
8393 $ECHO "$_lt_linker_boilerplate" | $SED '/^$/d' > conftest.exp
8394 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
8395 if diff conftest.exp conftest.er2 >/dev/null; then
8396 lt_cv_prog_compiler_static_works=yes
8399 lt_cv_prog_compiler_static_works=yes
8403 LDFLAGS="$save_LDFLAGS"
8406 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_static_works" >&5
8407 $as_echo "$lt_cv_prog_compiler_static_works" >&6; }
8409 if test x"$lt_cv_prog_compiler_static_works" = xyes; then
8412 lt_prog_compiler_static=
8421 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
8422 $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
8423 if ${lt_cv_prog_compiler_c_o+:} false; then :
8424 $as_echo_n "(cached) " >&6
8426 lt_cv_prog_compiler_c_o=no
8427 $RM -r conftest 2>/dev/null
8431 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
8433 lt_compiler_flag="-o out/conftest2.$ac_objext"
8434 # Insert the option either (1) after the last *FLAGS variable, or
8435 # (2) before a word containing "conftest.", or (3) at the end.
8436 # Note that $ac_compile itself does not contain backslashes and begins
8437 # with a dollar sign (not a hyphen), so the echo should work correctly.
8438 lt_compile=`echo "$ac_compile" | $SED \
8439 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
8440 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
8441 -e 's:$: $lt_compiler_flag:'`
8442 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
8443 (eval "$lt_compile" 2>out/conftest.err)
8445 cat out/conftest.err >&5
8446 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8447 if (exit $ac_status) && test -s out/conftest2.$ac_objext
8449 # The compiler can only warn and ignore the option if not recognized
8450 # So say no if there are warnings
8451 $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' > out/conftest.exp
8452 $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
8453 if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
8454 lt_cv_prog_compiler_c_o=yes
8459 # SGI C++ compiler will create directory out/ii_files/ for
8460 # template instantiation
8461 test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
8462 $RM out/* && rmdir out
8468 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o" >&5
8469 $as_echo "$lt_cv_prog_compiler_c_o" >&6; }
8476 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
8477 $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
8478 if ${lt_cv_prog_compiler_c_o+:} false; then :
8479 $as_echo_n "(cached) " >&6
8481 lt_cv_prog_compiler_c_o=no
8482 $RM -r conftest 2>/dev/null
8486 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
8488 lt_compiler_flag="-o out/conftest2.$ac_objext"
8489 # Insert the option either (1) after the last *FLAGS variable, or
8490 # (2) before a word containing "conftest.", or (3) at the end.
8491 # Note that $ac_compile itself does not contain backslashes and begins
8492 # with a dollar sign (not a hyphen), so the echo should work correctly.
8493 lt_compile=`echo "$ac_compile" | $SED \
8494 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
8495 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
8496 -e 's:$: $lt_compiler_flag:'`
8497 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
8498 (eval "$lt_compile" 2>out/conftest.err)
8500 cat out/conftest.err >&5
8501 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8502 if (exit $ac_status) && test -s out/conftest2.$ac_objext
8504 # The compiler can only warn and ignore the option if not recognized
8505 # So say no if there are warnings
8506 $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' > out/conftest.exp
8507 $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
8508 if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
8509 lt_cv_prog_compiler_c_o=yes
8514 # SGI C++ compiler will create directory out/ii_files/ for
8515 # template instantiation
8516 test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
8517 $RM out/* && rmdir out
8523 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o" >&5
8524 $as_echo "$lt_cv_prog_compiler_c_o" >&6; }
8529 hard_links="nottested"
8530 if test "$lt_cv_prog_compiler_c_o" = no && test "$need_locks" != no; then
8531 # do not overwrite the value of need_locks provided by the user
8532 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if we can lock with hard links" >&5
8533 $as_echo_n "checking if we can lock with hard links... " >&6; }
8536 ln conftest.a conftest.b 2>/dev/null && hard_links=no
8538 ln conftest.a conftest.b 2>&5 || hard_links=no
8539 ln conftest.a conftest.b 2>/dev/null && hard_links=no
8540 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hard_links" >&5
8541 $as_echo "$hard_links" >&6; }
8542 if test "$hard_links" = no; then
8543 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5
8544 $as_echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;}
8556 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $compiler linker ($LD) supports shared libraries" >&5
8557 $as_echo_n "checking whether the $compiler linker ($LD) supports shared libraries... " >&6; }
8560 allow_undefined_flag=
8561 always_export_symbols=no
8563 archive_expsym_cmds=
8564 compiler_needs_object=no
8565 enable_shared_with_static_runtimes=no
8566 export_dynamic_flag_spec=
8567 export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
8568 hardcode_automatic=no
8570 hardcode_direct_absolute=no
8571 hardcode_libdir_flag_spec=
8572 hardcode_libdir_separator=
8574 hardcode_shlibpath_var=unsupported
8576 link_all_deplibs=unknown
8579 old_archive_from_new_cmds=
8580 old_archive_from_expsyms_cmds=
8581 thread_safe_flag_spec=
8582 whole_archive_flag_spec=
8583 # include_expsyms should be a list of space-separated symbols to be *always*
8584 # included in the symbol list
8586 # exclude_expsyms can be an extended regexp of symbols to exclude
8587 # it will be wrapped by ` (' and `)$', so one must not match beginning or
8588 # end of line. Example: `a|bc|.*d.*' will exclude the symbols `a' and `bc',
8589 # as well as any symbol that contains `d'.
8590 exclude_expsyms='_GLOBAL_OFFSET_TABLE_|_GLOBAL__F[ID]_.*'
8591 # Although _GLOBAL_OFFSET_TABLE_ is a valid symbol C name, most a.out
8592 # platforms (ab)use it in PIC code, but their linkers get confused if
8593 # the symbol is explicitly referenced. Since portable code cannot
8594 # rely on this symbol name, it's probably fine to never include it in
8595 # preloaded symbol tables.
8596 # Exclude shared library initialization/finalization symbols.
8597 extract_expsyms_cmds=
8600 cygwin* | mingw* | pw32* | cegcc*)
8601 # FIXME: the MSVC++ port hasn't been tested in a loooong time
8602 # When not using gcc, we currently assume that we are using
8603 # Microsoft Visual C++.
8604 if test "$GCC" != yes; then
8609 # we just hope/assume this is gcc and not c89 (= MSVC++)
8615 linux* | k*bsd*-gnu | gnu*)
8622 # On some targets, GNU ld is compatible enough with the native linker
8623 # that we're better off using the native interface for both.
8624 lt_use_gnu_ld_interface=no
8625 if test "$with_gnu_ld" = yes; then
8628 # The AIX port of GNU ld has always aspired to compatibility
8629 # with the native linker. However, as the warning in the GNU ld
8630 # block says, versions before 2.19.5* couldn't really create working
8631 # shared libraries, regardless of the interface used.
8632 case `$LD -v 2>&1` in
8633 *\ \(GNU\ Binutils\)\ 2.19.5*) ;;
8634 *\ \(GNU\ Binutils\)\ 2.[2-9]*) ;;
8635 *\ \(GNU\ Binutils\)\ [3-9]*) ;;
8637 lt_use_gnu_ld_interface=yes
8642 lt_use_gnu_ld_interface=yes
8647 if test "$lt_use_gnu_ld_interface" = yes; then
8648 # If archive_cmds runs LD, not CC, wlarc should be empty
8651 # Set some defaults for GNU ld with shared library support. These
8652 # are reset later if shared libraries are not supported. Putting them
8653 # here allows them to be overridden if necessary.
8654 runpath_var=LD_RUN_PATH
8655 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
8656 export_dynamic_flag_spec='${wl}--export-dynamic'
8657 # ancient GNU ld didn't support --whole-archive et. al.
8658 if $LD --help 2>&1 | $GREP 'no-whole-archive' > /dev/null; then
8659 whole_archive_flag_spec="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
8661 whole_archive_flag_spec=
8663 supports_anon_versioning=no
8664 case `$LD -v 2>&1` in
8665 *GNU\ gold*) supports_anon_versioning=yes ;;
8666 *\ [01].* | *\ 2.[0-9].* | *\ 2.10.*) ;; # catch versions < 2.11
8667 *\ 2.11.93.0.2\ *) supports_anon_versioning=yes ;; # RH7.3 ...
8668 *\ 2.11.92.0.12\ *) supports_anon_versioning=yes ;; # Mandrake 8.2 ...
8669 *\ 2.11.*) ;; # other 2.11 versions
8670 *) supports_anon_versioning=yes ;;
8673 # See if GNU ld supports shared libraries.
8676 # On AIX/PPC, the GNU linker is very broken
8677 if test "$host_cpu" != ia64; then
8681 *** Warning: the GNU linker, at least up to release 2.19, is reported
8682 *** to be unable to reliably create shared libraries on AIX.
8683 *** Therefore, libtool is disabling shared libraries support. If you
8684 *** really care for shared libraries, you may want to install binutils
8685 *** 2.20 or above, or modify your PATH so that a non-GNU linker is found.
8686 *** You will then need to restart the configuration process.
8695 # see comment about AmigaOS4 .so support
8696 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
8697 archive_expsym_cmds=''
8700 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)'
8701 hardcode_libdir_flag_spec='-L$libdir'
8702 hardcode_minus_L=yes
8708 if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
8709 allow_undefined_flag=unsupported
8710 # Joseph Beckenbach <jrb3@best.com> says some releases of gcc
8711 # support --undefined. This deserves some investigation. FIXME
8712 archive_cmds='$CC -nostart $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
8718 cygwin* | mingw* | pw32* | cegcc*)
8719 # _LT_TAGVAR(hardcode_libdir_flag_spec, ) is actually meaningless,
8720 # as there is no search path for DLLs.
8721 hardcode_libdir_flag_spec='-L$libdir'
8722 export_dynamic_flag_spec='${wl}--export-all-symbols'
8723 allow_undefined_flag=unsupported
8724 always_export_symbols=no
8725 enable_shared_with_static_runtimes=yes
8726 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'
8727 exclude_expsyms='[_]+GLOBAL_OFFSET_TABLE_|[_]+GLOBAL__[FID]_.*|[_]+head_[A-Za-z0-9_]+_dll|[A-Za-z0-9_]+_dll_iname'
8729 if $LD --help 2>&1 | $GREP 'auto-import' > /dev/null; then
8730 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
8731 # If the export-symbols file already is a .def file (1st line
8732 # is EXPORTS), use it as is; otherwise, prepend...
8733 archive_expsym_cmds='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
8734 cp $export_symbols $output_objdir/$soname.def;
8736 echo EXPORTS > $output_objdir/$soname.def;
8737 cat $export_symbols >> $output_objdir/$soname.def;
8739 $CC -shared $output_objdir/$soname.def $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
8746 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
8747 link_all_deplibs=yes
8752 hardcode_shlibpath_var=no
8753 hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
8754 export_dynamic_flag_spec='${wl}-E'
8755 # Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc.
8756 # Instead, shared libraries are loaded at an image base (0x10000000 by
8757 # default) and relocated if they conflict, which is a slow very memory
8758 # consuming and fragmenting process. To avoid this, we pick a random,
8759 # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link
8760 # time. Moving up from 0x10000000 also allows more sbrk(2) space.
8761 archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-h,$soname ${wl}--image-base,`expr ${RANDOM-$$} % 4096 / 2 \* 262144 + 1342177280` -o $lib'
8762 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'
8765 gnu* | linux* | tpf* | k*bsd*-gnu | kopensolaris*-gnu)
8767 if test "$host_os" = linux-dietlibc; then
8768 case $cc_basename in
8769 diet\ *) tmp_diet=yes;; # linux-dietlibc with static linking (!diet-dyn)
8772 if $LD --help 2>&1 | $EGREP ': supported targets:.* elf' > /dev/null \
8773 && test "$tmp_diet" = no
8775 tmp_addflag=' $pic_flag'
8776 tmp_sharedflag='-shared'
8777 case $cc_basename,$host_cpu in
8778 pgcc*) # Portland Group C compiler
8779 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'
8780 tmp_addflag=' $pic_flag'
8782 pgf77* | pgf90* | pgf95* | pgfortran*)
8783 # Portland Group f77 and f90 compilers
8784 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'
8785 tmp_addflag=' $pic_flag -Mnomain' ;;
8786 ecc*,ia64* | icc*,ia64*) # Intel C compiler on ia64
8787 tmp_addflag=' -i_dynamic' ;;
8788 efc*,ia64* | ifort*,ia64*) # Intel Fortran compiler on ia64
8789 tmp_addflag=' -i_dynamic -nofor_main' ;;
8790 ifc* | ifort*) # Intel Fortran compiler
8791 tmp_addflag=' -nofor_main' ;;
8792 lf95*) # Lahey Fortran 8.1
8793 whole_archive_flag_spec=
8794 tmp_sharedflag='--shared' ;;
8795 xl[cC]* | bgxl[cC]* | mpixl[cC]*) # IBM XL C 8.0 on PPC (deal with xlf below)
8796 tmp_sharedflag='-qmkshrobj'
8798 nvcc*) # Cuda Compiler Driver 2.2
8799 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'
8800 compiler_needs_object=yes
8803 case `$CC -V 2>&1 | sed 5q` in
8804 *Sun\ C*) # Sun C 5.9
8805 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'
8806 compiler_needs_object=yes
8807 tmp_sharedflag='-G' ;;
8808 *Sun\ F*) # Sun Fortran 8.3
8809 tmp_sharedflag='-G' ;;
8811 archive_cmds='$CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
8813 if test "x$supports_anon_versioning" = xyes; then
8814 archive_expsym_cmds='echo "{ global:" > $output_objdir/$libname.ver~
8815 cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
8816 echo "local: *; };" >> $output_objdir/$libname.ver~
8817 $CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-version-script ${wl}$output_objdir/$libname.ver -o $lib'
8820 case $cc_basename in
8821 xlf* | bgf* | bgxlf* | mpixlf*)
8822 # IBM XL Fortran 10.1 on PPC cannot create shared libs itself
8823 whole_archive_flag_spec='--whole-archive$convenience --no-whole-archive'
8824 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
8825 archive_cmds='$LD -shared $libobjs $deplibs $linker_flags -soname $soname -o $lib'
8826 if test "x$supports_anon_versioning" = xyes; then
8827 archive_expsym_cmds='echo "{ global:" > $output_objdir/$libname.ver~
8828 cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
8829 echo "local: *; };" >> $output_objdir/$libname.ver~
8830 $LD -shared $libobjs $deplibs $linker_flags -soname $soname -version-script $output_objdir/$libname.ver -o $lib'
8839 netbsd* | netbsdelf*-gnu)
8840 if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
8841 archive_cmds='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib'
8844 archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
8845 archive_expsym_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
8850 if $LD -v 2>&1 | $GREP 'BFD 2\.8' > /dev/null; then
8854 *** Warning: The releases 2.8.* of the GNU linker cannot reliably
8855 *** create shared libraries on Solaris systems. Therefore, libtool
8856 *** is disabling shared libraries support. We urge you to upgrade GNU
8857 *** binutils to release 2.9.1 or newer. Another option is to modify
8858 *** your PATH or compiler configuration so that the native linker is
8859 *** used, and then restart.
8862 elif $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
8863 archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
8864 archive_expsym_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
8870 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX*)
8871 case `$LD -v 2>&1` in
8872 *\ [01].* | *\ 2.[0-9].* | *\ 2.1[0-5].*)
8876 *** Warning: Releases of the GNU linker prior to 2.16.91.0.3 can not
8877 *** reliably create shared libraries on SCO systems. Therefore, libtool
8878 *** is disabling shared libraries support. We urge you to upgrade GNU
8879 *** binutils to release 2.16.91.0.3 or newer. Another option is to modify
8880 *** your PATH or compiler configuration so that the native linker is
8881 *** used, and then restart.
8886 # For security reasons, it is highly recommended that you always
8887 # use absolute paths for naming shared libraries, and exclude the
8888 # DT_RUNPATH tag from executables and libraries. But doing so
8889 # requires that you compile everything twice, which is a pain.
8890 if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
8891 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
8892 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
8893 archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
8902 archive_cmds='$LD -assert pure-text -Bshareable -o $lib $libobjs $deplibs $linker_flags'
8905 hardcode_shlibpath_var=no
8909 if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
8910 archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
8911 archive_expsym_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
8918 if test "$ld_shlibs" = no; then
8920 hardcode_libdir_flag_spec=
8921 export_dynamic_flag_spec=
8922 whole_archive_flag_spec=
8925 # PORTME fill in a description of your system's linker (not GNU ld)
8928 allow_undefined_flag=unsupported
8929 always_export_symbols=yes
8930 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'
8931 # Note: this linker hardcodes the directories in LIBPATH if there
8932 # are no directories specified by -L.
8933 hardcode_minus_L=yes
8934 if test "$GCC" = yes && test -z "$lt_prog_compiler_static"; then
8935 # Neither direct hardcoding nor static linking is supported with a
8937 hardcode_direct=unsupported
8942 if test "$host_cpu" = ia64; then
8943 # On IA64, the linker does run time linking by default, so we don't
8944 # have to do anything special.
8945 aix_use_runtimelinking=no
8946 exp_sym_flag='-Bexport'
8949 # If we're using GNU nm, then we don't want the "-C" option.
8950 # -C means demangle to AIX nm, but means don't demangle with GNU nm
8951 # Also, AIX nm treats weak defined symbols like other global
8952 # defined symbols, whereas GNU nm marks them as "W".
8953 if $NM -V 2>&1 | $GREP 'GNU' > /dev/null; then
8954 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'
8956 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'
8958 aix_use_runtimelinking=no
8960 # Test if we are trying to use run time linking or normal
8961 # AIX style linking. If -brtl is somewhere in LDFLAGS, we
8962 # need to do runtime linking.
8963 case $host_os in aix4.[23]|aix4.[23].*|aix[5-9]*)
8964 for ld_flag in $LDFLAGS; do
8965 if (test $ld_flag = "-brtl" || test $ld_flag = "-Wl,-brtl"); then
8966 aix_use_runtimelinking=yes
8973 exp_sym_flag='-bexport'
8974 no_entry_flag='-bnoentry'
8977 # When large executables or shared objects are built, AIX ld can
8978 # have problems creating the table of contents. If linking a library
8979 # or program results in "error TOC overflow" add -mminimal-toc to
8980 # CXXFLAGS/CFLAGS for g++/gcc. In the cases where that is not
8981 # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
8985 hardcode_direct_absolute=yes
8986 hardcode_libdir_separator=':'
8987 link_all_deplibs=yes
8988 file_list_spec='${wl}-f,'
8990 if test "$GCC" = yes; then
8991 case $host_os in aix4.[012]|aix4.[012].*)
8992 # We only want to do this on AIX 4.2 and lower, the check
8993 # below for broken collect2 doesn't work under 4.3+
8994 collect2name=`${CC} -print-prog-name=collect2`
8995 if test -f "$collect2name" &&
8996 strings "$collect2name" | $GREP resolve_lib_name >/dev/null
8998 # We have reworked collect2
9001 # We have old collect2
9002 hardcode_direct=unsupported
9003 # It fails to find uninstalled libraries when the uninstalled
9004 # path is not listed in the libpath. Setting hardcode_minus_L
9005 # to unsupported forces relinking
9006 hardcode_minus_L=yes
9007 hardcode_libdir_flag_spec='-L$libdir'
9008 hardcode_libdir_separator=
9012 shared_flag='-shared'
9013 if test "$aix_use_runtimelinking" = yes; then
9014 shared_flag="$shared_flag "'${wl}-G'
9019 if test "$host_cpu" = ia64; then
9020 # VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
9021 # chokes on -Wl,-G. The following line is correct:
9024 if test "$aix_use_runtimelinking" = yes; then
9025 shared_flag='${wl}-G'
9027 shared_flag='${wl}-bM:SRE'
9032 export_dynamic_flag_spec='${wl}-bexpall'
9033 # It seems that -bexpall does not export symbols beginning with
9034 # underscore (_), so it is better to generate a list of symbols to export.
9035 always_export_symbols=yes
9036 if test "$aix_use_runtimelinking" = yes; then
9037 # Warning - without using the other runtime loading flags (-brtl),
9038 # -berok will link without error, but may produce a broken library.
9039 allow_undefined_flag='-berok'
9040 # Determine the default libpath from the value encoded in an
9042 if test "${lt_cv_aix_libpath+set}" = set; then
9043 aix_libpath=$lt_cv_aix_libpath
9045 if ${lt_cv_aix_libpath_+:} false; then :
9046 $as_echo_n "(cached) " >&6
9048 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9049 /* end confdefs.h. */
9059 if ac_fn_c_try_link "$LINENO"; then :
9061 lt_aix_libpath_sed='
9062 /Import File Strings/,/^$/ {
9064 s/^0 *\([^ ]*\) *$/\1/
9068 lt_cv_aix_libpath_=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
9069 # Check for a 64-bit object if we didn't find anything.
9070 if test -z "$lt_cv_aix_libpath_"; then
9071 lt_cv_aix_libpath_=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
9074 rm -f core conftest.err conftest.$ac_objext \
9075 conftest$ac_exeext conftest.$ac_ext
9076 if test -z "$lt_cv_aix_libpath_"; then
9077 lt_cv_aix_libpath_="/usr/lib:/lib"
9082 aix_libpath=$lt_cv_aix_libpath_
9085 hardcode_libdir_flag_spec='${wl}-blibpath:$libdir:'"$aix_libpath"
9086 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"
9088 if test "$host_cpu" = ia64; then
9089 hardcode_libdir_flag_spec='${wl}-R $libdir:/usr/lib:/lib'
9090 allow_undefined_flag="-z nodefs"
9091 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"
9093 # Determine the default libpath from the value encoded in an
9095 if test "${lt_cv_aix_libpath+set}" = set; then
9096 aix_libpath=$lt_cv_aix_libpath
9098 if ${lt_cv_aix_libpath_+:} false; then :
9099 $as_echo_n "(cached) " >&6
9101 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9102 /* end confdefs.h. */
9112 if ac_fn_c_try_link "$LINENO"; then :
9114 lt_aix_libpath_sed='
9115 /Import File Strings/,/^$/ {
9117 s/^0 *\([^ ]*\) *$/\1/
9121 lt_cv_aix_libpath_=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
9122 # Check for a 64-bit object if we didn't find anything.
9123 if test -z "$lt_cv_aix_libpath_"; then
9124 lt_cv_aix_libpath_=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
9127 rm -f core conftest.err conftest.$ac_objext \
9128 conftest$ac_exeext conftest.$ac_ext
9129 if test -z "$lt_cv_aix_libpath_"; then
9130 lt_cv_aix_libpath_="/usr/lib:/lib"
9135 aix_libpath=$lt_cv_aix_libpath_
9138 hardcode_libdir_flag_spec='${wl}-blibpath:$libdir:'"$aix_libpath"
9139 # Warning - without using the other run time loading flags,
9140 # -berok will link without error, but may produce a broken library.
9141 no_undefined_flag=' ${wl}-bernotok'
9142 allow_undefined_flag=' ${wl}-berok'
9143 if test "$with_gnu_ld" = yes; then
9144 # We only use this code for GNU lds that support --whole-archive.
9145 whole_archive_flag_spec='${wl}--whole-archive$convenience ${wl}--no-whole-archive'
9147 # Exported symbols can be pulled into shared objects from archives
9148 whole_archive_flag_spec='$convenience'
9150 archive_cmds_need_lc=yes
9151 # This is similar to how AIX traditionally builds its shared libraries.
9152 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'
9160 # see comment about AmigaOS4 .so support
9161 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9162 archive_expsym_cmds=''
9165 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)'
9166 hardcode_libdir_flag_spec='-L$libdir'
9167 hardcode_minus_L=yes
9173 export_dynamic_flag_spec=-rdynamic
9176 cygwin* | mingw* | pw32* | cegcc*)
9177 # When not using gcc, we currently assume that we are using
9178 # Microsoft Visual C++.
9179 # hardcode_libdir_flag_spec is actually meaningless, as there is
9180 # no search path for DLLs.
9181 case $cc_basename in
9184 hardcode_libdir_flag_spec=' '
9185 allow_undefined_flag=unsupported
9186 always_export_symbols=yes
9188 # Tell ltmain to make .lib files, not .a files.
9190 # Tell ltmain to make .dll files, not .so files.
9192 # FIXME: Setting linknames here is a bad hack.
9193 archive_cmds='$CC -o $output_objdir/$soname $libobjs $compiler_flags $deplibs -Wl,-dll~linknames='
9194 archive_expsym_cmds='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
9195 sed -n -e 's/\\\\\\\(.*\\\\\\\)/-link\\\ -EXPORT:\\\\\\\1/' -e '1\\\!p' < $export_symbols > $output_objdir/$soname.exp;
9197 sed -e 's/\\\\\\\(.*\\\\\\\)/-link\\\ -EXPORT:\\\\\\\1/' < $export_symbols > $output_objdir/$soname.exp;
9199 $CC -o $tool_output_objdir$soname $libobjs $compiler_flags $deplibs "@$tool_output_objdir$soname.exp" -Wl,-DLL,-IMPLIB:"$tool_output_objdir$libname.dll.lib"~
9201 # The linker will not automatically build a static lib if we build a DLL.
9202 # _LT_TAGVAR(old_archive_from_new_cmds, )='true'
9203 enable_shared_with_static_runtimes=yes
9204 exclude_expsyms='_NULL_IMPORT_DESCRIPTOR|_IMPORT_DESCRIPTOR_.*'
9205 export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS][ ]/s/.*[ ]\([^ ]*\)/\1,DATA/'\'' | $SED -e '\''/^[AITW][ ]/s/.*[ ]//'\'' | sort | uniq > $export_symbols'
9207 old_postinstall_cmds='chmod 644 $oldlib'
9208 postlink_cmds='lt_outputfile="@OUTPUT@"~
9209 lt_tool_outputfile="@TOOL_OUTPUT@"~
9210 case $lt_outputfile in
9213 lt_outputfile="$lt_outputfile.exe"
9214 lt_tool_outputfile="$lt_tool_outputfile.exe"
9217 if test "$MANIFEST_TOOL" != ":" && test -f "$lt_outputfile.manifest"; then
9218 $MANIFEST_TOOL -manifest "$lt_tool_outputfile.manifest" -outputresource:"$lt_tool_outputfile" || exit 1;
9219 $RM "$lt_outputfile.manifest";
9223 # Assume MSVC wrapper
9224 hardcode_libdir_flag_spec=' '
9225 allow_undefined_flag=unsupported
9226 # Tell ltmain to make .lib files, not .a files.
9228 # Tell ltmain to make .dll files, not .so files.
9230 # FIXME: Setting linknames here is a bad hack.
9231 archive_cmds='$CC -o $lib $libobjs $compiler_flags `func_echo_all "$deplibs" | $SED '\''s/ -lc$//'\''` -link -dll~linknames='
9232 # The linker will automatically build a .lib file if we build a DLL.
9233 old_archive_from_new_cmds='true'
9234 # FIXME: Should let the user specify the lib program.
9235 old_archive_cmds='lib -OUT:$oldlib$oldobjs$old_deplibs'
9236 enable_shared_with_static_runtimes=yes
9241 darwin* | rhapsody*)
9244 archive_cmds_need_lc=no
9246 hardcode_automatic=yes
9247 hardcode_shlibpath_var=unsupported
9248 if test "$lt_cv_ld_force_load" = "yes"; then
9249 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\"`'
9252 whole_archive_flag_spec=''
9254 link_all_deplibs=yes
9255 allow_undefined_flag="$_lt_dar_allow_undefined"
9256 case $cc_basename in
9257 ifort*) _lt_dar_can_shared=yes ;;
9258 *) _lt_dar_can_shared=$GCC ;;
9260 if test "$_lt_dar_can_shared" = "yes"; then
9261 output_verbose_link_cmd=func_echo_all
9262 archive_cmds="\$CC -dynamiclib \$allow_undefined_flag -o \$lib \$libobjs \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring $_lt_dar_single_mod${_lt_dsymutil}"
9263 module_cmds="\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags${_lt_dsymutil}"
9264 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}"
9265 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}"
9274 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
9275 hardcode_libdir_flag_spec='-L$libdir'
9276 hardcode_shlibpath_var=no
9279 # FreeBSD 2.2.[012] allows us to include c++rt0.o to get C++ constructor
9280 # support. Future versions do this automatically, but an explicit c++rt0.o
9281 # does not break anything, and helps significantly (at the cost of a little
9284 archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags /usr/lib/c++rt0.o'
9285 hardcode_libdir_flag_spec='-R$libdir'
9287 hardcode_shlibpath_var=no
9290 # Unfortunately, older versions of FreeBSD 2 do not have this feature.
9292 archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
9294 hardcode_minus_L=yes
9295 hardcode_shlibpath_var=no
9298 # FreeBSD 3 and greater uses gcc -shared to do shared libraries.
9299 freebsd* | dragonfly*)
9300 archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
9301 hardcode_libdir_flag_spec='-R$libdir'
9303 hardcode_shlibpath_var=no
9307 if test "$GCC" = yes; then
9308 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'
9310 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'
9312 hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
9313 hardcode_libdir_separator=:
9316 # hardcode_minus_L: Not really in the search PATH,
9317 # but as the default location of the library.
9318 hardcode_minus_L=yes
9319 export_dynamic_flag_spec='${wl}-E'
9323 if test "$GCC" = yes && test "$with_gnu_ld" = no; then
9324 archive_cmds='$CC -shared $pic_flag ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
9326 archive_cmds='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
9328 if test "$with_gnu_ld" = no; then
9329 hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
9330 hardcode_libdir_separator=:
9332 hardcode_direct_absolute=yes
9333 export_dynamic_flag_spec='${wl}-E'
9334 # hardcode_minus_L: Not really in the search PATH,
9335 # but as the default location of the library.
9336 hardcode_minus_L=yes
9341 if test "$GCC" = yes && test "$with_gnu_ld" = no; then
9344 archive_cmds='$CC -shared ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
9347 archive_cmds='$CC -shared $pic_flag ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
9350 archive_cmds='$CC -shared $pic_flag ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
9356 archive_cmds='$CC -b ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
9359 archive_cmds='$CC -b ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
9363 # Older versions of the 11.00 compiler do not understand -b yet
9364 # (HP92453-01 A.11.01.20 doesn't, HP92453-01 B.11.X.35175-35176.GP does)
9365 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC understands -b" >&5
9366 $as_echo_n "checking if $CC understands -b... " >&6; }
9367 if ${lt_cv_prog_compiler__b+:} false; then :
9368 $as_echo_n "(cached) " >&6
9370 lt_cv_prog_compiler__b=no
9371 save_LDFLAGS="$LDFLAGS"
9372 LDFLAGS="$LDFLAGS -b"
9373 echo "$lt_simple_link_test_code" > conftest.$ac_ext
9374 if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
9375 # The linker can only warn and ignore the option if not recognized
9376 # So say no if there are warnings
9377 if test -s conftest.err; then
9378 # Append any errors to the config.log.
9379 cat conftest.err 1>&5
9380 $ECHO "$_lt_linker_boilerplate" | $SED '/^$/d' > conftest.exp
9381 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
9382 if diff conftest.exp conftest.er2 >/dev/null; then
9383 lt_cv_prog_compiler__b=yes
9386 lt_cv_prog_compiler__b=yes
9390 LDFLAGS="$save_LDFLAGS"
9393 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler__b" >&5
9394 $as_echo "$lt_cv_prog_compiler__b" >&6; }
9396 if test x"$lt_cv_prog_compiler__b" = xyes; then
9397 archive_cmds='$CC -b ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
9399 archive_cmds='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
9405 if test "$with_gnu_ld" = no; then
9406 hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
9407 hardcode_libdir_separator=:
9412 hardcode_shlibpath_var=no
9416 hardcode_direct_absolute=yes
9417 export_dynamic_flag_spec='${wl}-E'
9419 # hardcode_minus_L: Not really in the search PATH,
9420 # but as the default location of the library.
9421 hardcode_minus_L=yes
9427 irix5* | irix6* | nonstopux*)
9428 if test "$GCC" = yes; then
9429 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'
9430 # Try to use the -exported_symbol ld option, if it does not
9431 # work, assume that -exports_file does not work either and
9432 # implicitly export all symbols.
9433 # This should be the same for all languages, so no per-tag cache variable.
9434 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $host_os linker accepts -exported_symbol" >&5
9435 $as_echo_n "checking whether the $host_os linker accepts -exported_symbol... " >&6; }
9436 if ${lt_cv_irix_exported_symbol+:} false; then :
9437 $as_echo_n "(cached) " >&6
9439 save_LDFLAGS="$LDFLAGS"
9440 LDFLAGS="$LDFLAGS -shared ${wl}-exported_symbol ${wl}foo ${wl}-update_registry ${wl}/dev/null"
9441 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9442 /* end confdefs.h. */
9443 int foo (void) { return 0; }
9445 if ac_fn_c_try_link "$LINENO"; then :
9446 lt_cv_irix_exported_symbol=yes
9448 lt_cv_irix_exported_symbol=no
9450 rm -f core conftest.err conftest.$ac_objext \
9451 conftest$ac_exeext conftest.$ac_ext
9452 LDFLAGS="$save_LDFLAGS"
9454 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_irix_exported_symbol" >&5
9455 $as_echo "$lt_cv_irix_exported_symbol" >&6; }
9456 if test "$lt_cv_irix_exported_symbol" = yes; then
9457 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'
9460 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'
9461 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'
9463 archive_cmds_need_lc='no'
9464 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
9465 hardcode_libdir_separator=:
9467 link_all_deplibs=yes
9470 netbsd* | netbsdelf*-gnu)
9471 if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
9472 archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags' # a.out
9474 archive_cmds='$LD -shared -o $lib $libobjs $deplibs $linker_flags' # ELF
9476 hardcode_libdir_flag_spec='-R$libdir'
9478 hardcode_shlibpath_var=no
9482 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
9484 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
9485 hardcode_libdir_separator=:
9486 hardcode_shlibpath_var=no
9493 if test -f /usr/libexec/ld.so; then
9495 hardcode_shlibpath_var=no
9496 hardcode_direct_absolute=yes
9497 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
9498 archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
9499 archive_expsym_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-retain-symbols-file,$export_symbols'
9500 hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
9501 export_dynamic_flag_spec='${wl}-E'
9504 openbsd[01].* | openbsd2.[0-7] | openbsd2.[0-7].*)
9505 archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
9506 hardcode_libdir_flag_spec='-R$libdir'
9509 archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
9510 hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
9520 hardcode_libdir_flag_spec='-L$libdir'
9521 hardcode_minus_L=yes
9522 allow_undefined_flag=unsupported
9523 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'
9524 old_archive_from_new_cmds='emximp -o $output_objdir/$libname.a $output_objdir/$libname.def'
9528 if test "$GCC" = yes; then
9529 allow_undefined_flag=' ${wl}-expect_unresolved ${wl}\*'
9530 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'
9532 allow_undefined_flag=' -expect_unresolved \*'
9533 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'
9535 archive_cmds_need_lc='no'
9536 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
9537 hardcode_libdir_separator=:
9540 osf4* | osf5*) # as osf3* with the addition of -msym flag
9541 if test "$GCC" = yes; then
9542 allow_undefined_flag=' ${wl}-expect_unresolved ${wl}\*'
9543 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'
9544 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
9546 allow_undefined_flag=' -expect_unresolved \*'
9547 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'
9548 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~
9549 $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'
9551 # Both c and cxx compiler support -rpath directly
9552 hardcode_libdir_flag_spec='-rpath $libdir'
9554 archive_cmds_need_lc='no'
9555 hardcode_libdir_separator=:
9559 no_undefined_flag=' -z defs'
9560 if test "$GCC" = yes; then
9562 archive_cmds='$CC -shared $pic_flag ${wl}-z ${wl}text ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
9563 archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
9564 $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'
9566 case `$CC -V 2>&1` in
9569 archive_cmds='$LD -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $linker_flags'
9570 archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
9571 $LD -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$RM $lib.exp'
9575 archive_cmds='$CC -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $compiler_flags'
9576 archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
9577 $CC -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $compiler_flags~$RM $lib.exp'
9581 hardcode_libdir_flag_spec='-R$libdir'
9582 hardcode_shlibpath_var=no
9584 solaris2.[0-5] | solaris2.[0-5].*) ;;
9586 # The compiler driver will combine and reorder linker options,
9587 # but understands `-z linker_flag'. GCC discards it without `$wl',
9588 # but is careful enough not to reorder.
9589 # Supported since Solaris 2.6 (maybe 2.5.1?)
9590 if test "$GCC" = yes; then
9591 whole_archive_flag_spec='${wl}-z ${wl}allextract$convenience ${wl}-z ${wl}defaultextract'
9593 whole_archive_flag_spec='-z allextract$convenience -z defaultextract'
9597 link_all_deplibs=yes
9601 if test "x$host_vendor" = xsequent; then
9602 # Use $CC to link under sequent, because it throws in some extra .o
9603 # files that make .init and .fini sections work.
9604 archive_cmds='$CC -G ${wl}-h $soname -o $lib $libobjs $deplibs $compiler_flags'
9606 archive_cmds='$LD -assert pure-text -Bstatic -o $lib $libobjs $deplibs $linker_flags'
9608 hardcode_libdir_flag_spec='-L$libdir'
9610 hardcode_minus_L=yes
9611 hardcode_shlibpath_var=no
9615 case $host_vendor in
9617 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
9618 hardcode_direct=yes # is this really true???
9621 ## LD is ld it makes a PLAMLIB
9622 ## CC just makes a GrossModule.
9623 archive_cmds='$LD -G -o $lib $libobjs $deplibs $linker_flags'
9624 reload_cmds='$CC -r -o $output$reload_objs'
9628 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
9629 hardcode_direct=no #Motorola manual says yes, but my tests say they lie
9632 runpath_var='LD_RUN_PATH'
9633 hardcode_shlibpath_var=no
9637 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
9638 hardcode_shlibpath_var=no
9639 export_dynamic_flag_spec='-Bexport'
9643 if test -d /usr/nec; then
9644 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
9645 hardcode_shlibpath_var=no
9646 runpath_var=LD_RUN_PATH
9647 hardcode_runpath_var=yes
9652 sysv4*uw2* | sysv5OpenUNIX* | sysv5UnixWare7.[01].[10]* | unixware7* | sco3.2v5.0.[024]*)
9653 no_undefined_flag='${wl}-z,text'
9654 archive_cmds_need_lc=no
9655 hardcode_shlibpath_var=no
9656 runpath_var='LD_RUN_PATH'
9658 if test "$GCC" = yes; then
9659 archive_cmds='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
9660 archive_expsym_cmds='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
9662 archive_cmds='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
9663 archive_expsym_cmds='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
9667 sysv5* | sco3.2v5* | sco5v6*)
9668 # Note: We can NOT use -z defs as we might desire, because we do not
9669 # link with -lc, and that would cause any symbols used from libc to
9670 # always be unresolved, which means just about no library would
9671 # ever link correctly. If we're not using GNU ld we use -z text
9672 # though, which does catch some bad symbols but isn't as heavy-handed
9674 no_undefined_flag='${wl}-z,text'
9675 allow_undefined_flag='${wl}-z,nodefs'
9676 archive_cmds_need_lc=no
9677 hardcode_shlibpath_var=no
9678 hardcode_libdir_flag_spec='${wl}-R,$libdir'
9679 hardcode_libdir_separator=':'
9680 link_all_deplibs=yes
9681 export_dynamic_flag_spec='${wl}-Bexport'
9682 runpath_var='LD_RUN_PATH'
9684 if test "$GCC" = yes; then
9685 archive_cmds='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
9686 archive_expsym_cmds='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
9688 archive_cmds='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
9689 archive_expsym_cmds='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
9694 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
9695 hardcode_libdir_flag_spec='-L$libdir'
9696 hardcode_shlibpath_var=no
9704 if test x$host_vendor = xsni; then
9706 sysv4 | sysv4.2uw2* | sysv4.3* | sysv5*)
9707 export_dynamic_flag_spec='${wl}-Blargedynsym'
9713 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ld_shlibs" >&5
9714 $as_echo "$ld_shlibs" >&6; }
9715 test "$ld_shlibs" = no && can_build_shared=no
9717 with_gnu_ld=$with_gnu_ld
9734 # Do we need to explicitly link libc?
9736 case "x$archive_cmds_need_lc" in
9738 # Assume -lc should be added
9739 archive_cmds_need_lc=yes
9741 if test "$enable_shared" = yes && test "$GCC" = yes; then
9742 case $archive_cmds in
9744 # FIXME: we may have to deal with multi-command sequences.
9747 # Test whether the compiler implicitly links with -lc since on some
9748 # systems, -lgcc has to come before -lc. If gcc already passes -lc
9749 # to ld, don't add -lc before -lgcc.
9750 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether -lc should be explicitly linked in" >&5
9751 $as_echo_n "checking whether -lc should be explicitly linked in... " >&6; }
9752 if ${lt_cv_archive_cmds_need_lc+:} false; then :
9753 $as_echo_n "(cached) " >&6
9756 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
9758 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
9759 (eval $ac_compile) 2>&5
9761 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
9762 test $ac_status = 0; } 2>conftest.err; then
9765 libobjs=conftest.$ac_objext
9767 wl=$lt_prog_compiler_wl
9768 pic_flag=$lt_prog_compiler_pic
9774 lt_save_allow_undefined_flag=$allow_undefined_flag
9775 allow_undefined_flag=
9776 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$archive_cmds 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1\""; } >&5
9777 (eval $archive_cmds 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1) 2>&5
9779 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
9780 test $ac_status = 0; }
9782 lt_cv_archive_cmds_need_lc=no
9784 lt_cv_archive_cmds_need_lc=yes
9786 allow_undefined_flag=$lt_save_allow_undefined_flag
9788 cat conftest.err 1>&5
9793 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_archive_cmds_need_lc" >&5
9794 $as_echo "$lt_cv_archive_cmds_need_lc" >&6; }
9795 archive_cmds_need_lc=$lt_cv_archive_cmds_need_lc
9953 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dynamic linker characteristics" >&5
9954 $as_echo_n "checking dynamic linker characteristics... " >&6; }
9956 if test "$GCC" = yes; then
9958 darwin*) lt_awk_arg="/^libraries:/,/LR/" ;;
9959 *) lt_awk_arg="/^libraries:/" ;;
9962 mingw* | cegcc*) lt_sed_strip_eq="s,=\([A-Za-z]:\),\1,g" ;;
9963 *) lt_sed_strip_eq="s,=/,/,g" ;;
9965 lt_search_path_spec=`$CC -print-search-dirs | awk $lt_awk_arg | $SED -e "s/^libraries://" -e $lt_sed_strip_eq`
9966 case $lt_search_path_spec in
9968 # if the path contains ";" then we assume it to be the separator
9969 # otherwise default to the standard path separator (i.e. ":") - it is
9970 # assumed that no part of a normal pathname contains ";" but that should
9971 # okay in the real world where ";" in dirpaths is itself problematic.
9972 lt_search_path_spec=`$ECHO "$lt_search_path_spec" | $SED 's/;/ /g'`
9975 lt_search_path_spec=`$ECHO "$lt_search_path_spec" | $SED "s/$PATH_SEPARATOR/ /g"`
9978 # Ok, now we have the path, separated by spaces, we can step through it
9979 # and add multilib dir if necessary.
9980 lt_tmp_lt_search_path_spec=
9981 lt_multi_os_dir=`$CC $CPPFLAGS $CFLAGS $LDFLAGS -print-multi-os-directory 2>/dev/null`
9982 for lt_sys_path in $lt_search_path_spec; do
9983 if test -d "$lt_sys_path/$lt_multi_os_dir"; then
9984 lt_tmp_lt_search_path_spec="$lt_tmp_lt_search_path_spec $lt_sys_path/$lt_multi_os_dir"
9986 test -d "$lt_sys_path" && \
9987 lt_tmp_lt_search_path_spec="$lt_tmp_lt_search_path_spec $lt_sys_path"
9990 lt_search_path_spec=`$ECHO "$lt_tmp_lt_search_path_spec" | awk '
9991 BEGIN {RS=" "; FS="/|\n";} {
9994 for (lt_i = NF; lt_i > 0; lt_i--) {
9995 if ($lt_i != "" && $lt_i != ".") {
9996 if ($lt_i == "..") {
9999 if (lt_count == 0) {
10000 lt_foo="/" $lt_i lt_foo;
10007 if (lt_foo != "") { lt_freq[lt_foo]++; }
10008 if (lt_freq[lt_foo] == 1) { print lt_foo; }
10010 # AWK program above erroneously prepends '/' to C:/dos/paths
10013 mingw* | cegcc*) lt_search_path_spec=`$ECHO "$lt_search_path_spec" |\
10014 $SED 's,/\([A-Za-z]:\),\1,g'` ;;
10016 sys_lib_search_path_spec=`$ECHO "$lt_search_path_spec" | $lt_NL2SP`
10018 sys_lib_search_path_spec="/lib /usr/lib /usr/local/lib"
10020 library_names_spec=
10021 libname_spec='lib$name'
10025 postuninstall_cmds=
10029 shlibpath_overrides_runpath=unknown
10031 dynamic_linker="$host_os ld.so"
10032 sys_lib_dlsearch_path_spec="/lib /usr/lib"
10033 need_lib_prefix=unknown
10034 hardcode_into_libs=no
10036 # when you set need_version to no, make sure it does not cause -set_version
10037 # flags to be left without arguments
10038 need_version=unknown
10042 version_type=linux # correct to gnu/linux during the next big refactor
10043 library_names_spec='${libname}${release}${shared_ext}$versuffix $libname.a'
10044 shlibpath_var=LIBPATH
10046 # AIX 3 has no versioning support, so we append a major version to the name.
10047 soname_spec='${libname}${release}${shared_ext}$major'
10051 version_type=linux # correct to gnu/linux during the next big refactor
10054 hardcode_into_libs=yes
10055 if test "$host_cpu" = ia64; then
10056 # AIX 5 supports IA64
10057 library_names_spec='${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext}$versuffix $libname${shared_ext}'
10058 shlibpath_var=LD_LIBRARY_PATH
10060 # With GCC up to 2.95.x, collect2 would create an import file
10061 # for dependence libraries. The import file would start with
10062 # the line `#! .'. This would cause the generated library to
10063 # depend on `.', always an invalid library. This was fixed in
10064 # development snapshots of GCC prior to 3.0.
10066 aix4 | aix4.[01] | aix4.[01].*)
10067 if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
10069 echo '#endif'; } | ${CC} -E - | $GREP yes > /dev/null; then
10072 can_build_shared=no
10076 # AIX (on Power*) has no versioning support, so currently we can not hardcode correct
10077 # soname into executable. Probably we can add versioning support to
10078 # collect2, so additional links can be useful in future.
10079 if test "$aix_use_runtimelinking" = yes; then
10080 # If using run time linking (on AIX 4.2 or later) use lib<name>.so
10081 # instead of lib<name>.a to let people know that these are not
10082 # typical AIX shared libraries.
10083 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10085 # We preserve .a as extension for shared libraries through AIX4.2
10086 # and later when we are not doing run time linking.
10087 library_names_spec='${libname}${release}.a $libname.a'
10088 soname_spec='${libname}${release}${shared_ext}$major'
10090 shlibpath_var=LIBPATH
10097 # Since July 2007 AmigaOS4 officially supports .so libraries.
10098 # When compiling the executable, add -use-dynld -Lsobjs: to the compileline.
10099 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10102 library_names_spec='$libname.ixlibrary $libname.a'
10103 # Create ${libname}_ixlibrary.a entries in /sys/libs.
10104 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'
10110 library_names_spec='${libname}${shared_ext}'
10111 dynamic_linker="$host_os ld.so"
10112 shlibpath_var=LIBRARY_PATH
10116 version_type=linux # correct to gnu/linux during the next big refactor
10118 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10119 soname_spec='${libname}${release}${shared_ext}$major'
10120 finish_cmds='PATH="\$PATH:/sbin" ldconfig $libdir'
10121 shlibpath_var=LD_LIBRARY_PATH
10122 sys_lib_search_path_spec="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
10123 sys_lib_dlsearch_path_spec="/shlib /usr/lib /usr/local/lib"
10124 # the default ld.so.conf also contains /usr/contrib/lib and
10125 # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
10126 # libtool to hard-code these into programs
10129 cygwin* | mingw* | pw32* | cegcc*)
10130 version_type=windows
10135 case $GCC,$cc_basename in
10138 library_names_spec='$libname.dll.a'
10139 # DLL is installed to $(libdir)/../bin by postinstall_cmds
10140 postinstall_cmds='base_file=`basename \${file}`~
10141 dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i; echo \$dlname'\''`~
10142 dldir=$destdir/`dirname \$dlpath`~
10143 test -d \$dldir || mkdir -p \$dldir~
10144 $install_prog $dir/$dlname \$dldir/$dlname~
10145 chmod a+x \$dldir/$dlname~
10146 if test -n '\''$stripme'\'' && test -n '\''$striplib'\''; then
10147 eval '\''$striplib \$dldir/$dlname'\'' || exit \$?;
10149 postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
10150 dlpath=$dir/\$dldll~
10152 shlibpath_overrides_runpath=yes
10156 # Cygwin DLLs use 'cyg' prefix rather than 'lib'
10157 soname_spec='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
10159 sys_lib_search_path_spec="$sys_lib_search_path_spec /usr/lib/w32api"
10162 # MinGW DLLs use traditional 'lib' prefix
10163 soname_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
10166 # pw32 DLLs use 'pw' prefix rather than 'lib'
10167 library_names_spec='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
10170 dynamic_linker='Win32 ld.exe'
10175 libname_spec='$name'
10176 soname_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
10177 library_names_spec='${libname}.dll.lib'
10181 sys_lib_search_path_spec=
10184 for lt_path in $LIB
10187 # Let DOS variable expansion print the short 8.3 style file name.
10188 lt_path=`cd "$lt_path" 2>/dev/null && cmd //C "for %i in (".") do @echo %~si"`
10189 sys_lib_search_path_spec="$sys_lib_search_path_spec $lt_path"
10192 # Convert to MSYS style.
10193 sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | sed -e 's|\\\\|/|g' -e 's| \\([a-zA-Z]\\):| /\\1|g' -e 's|^ ||'`
10196 # Convert to unix form, then to dos form, then back to unix form
10197 # but this time dos style (no spaces!) so that the unix form looks
10198 # like /cygdrive/c/PROGRA~1:/cygdr...
10199 sys_lib_search_path_spec=`cygpath --path --unix "$LIB"`
10200 sys_lib_search_path_spec=`cygpath --path --dos "$sys_lib_search_path_spec" 2>/dev/null`
10201 sys_lib_search_path_spec=`cygpath --path --unix "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
10204 sys_lib_search_path_spec="$LIB"
10205 if $ECHO "$sys_lib_search_path_spec" | $GREP ';[c-zC-Z]:/' >/dev/null; then
10206 # It is most probably a Windows format PATH.
10207 sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
10209 sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
10211 # FIXME: find the short name or the path components, as spaces are
10212 # common. (e.g. "Program Files" -> "PROGRA~1")
10216 # DLL is installed to $(libdir)/../bin by postinstall_cmds
10217 postinstall_cmds='base_file=`basename \${file}`~
10218 dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i; echo \$dlname'\''`~
10219 dldir=$destdir/`dirname \$dlpath`~
10220 test -d \$dldir || mkdir -p \$dldir~
10221 $install_prog $dir/$dlname \$dldir/$dlname'
10222 postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
10223 dlpath=$dir/\$dldll~
10225 shlibpath_overrides_runpath=yes
10226 dynamic_linker='Win32 link.exe'
10230 # Assume MSVC wrapper
10231 library_names_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext} $libname.lib'
10232 dynamic_linker='Win32 ld.exe'
10235 # FIXME: first we should search . and the directory the executable is in
10239 darwin* | rhapsody*)
10240 dynamic_linker="$host_os dyld"
10241 version_type=darwin
10244 library_names_spec='${libname}${release}${major}$shared_ext ${libname}$shared_ext'
10245 soname_spec='${libname}${release}${major}$shared_ext'
10246 shlibpath_overrides_runpath=yes
10247 shlibpath_var=DYLD_LIBRARY_PATH
10248 shrext_cmds='`test .$module = .yes && echo .so || echo .dylib`'
10250 sys_lib_search_path_spec="$sys_lib_search_path_spec /usr/local/lib"
10251 sys_lib_dlsearch_path_spec='/usr/local/lib /lib /usr/lib'
10255 version_type=linux # correct to gnu/linux during the next big refactor
10258 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname$shared_ext'
10259 soname_spec='${libname}${release}${shared_ext}$major'
10260 shlibpath_var=LD_LIBRARY_PATH
10263 freebsd* | dragonfly*)
10264 # DragonFly does not have aout. When/if they implement a new
10265 # versioning mechanism, adjust this.
10266 if test -x /usr/bin/objformat; then
10267 objformat=`/usr/bin/objformat`
10270 freebsd[23].*) objformat=aout ;;
10271 *) objformat=elf ;;
10274 version_type=freebsd-$objformat
10275 case $version_type in
10277 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
10282 library_names_spec='${libname}${release}${shared_ext}$versuffix $libname${shared_ext}$versuffix'
10286 shlibpath_var=LD_LIBRARY_PATH
10289 shlibpath_overrides_runpath=yes
10291 freebsd3.[01]* | freebsdelf3.[01]*)
10292 shlibpath_overrides_runpath=yes
10293 hardcode_into_libs=yes
10295 freebsd3.[2-9]* | freebsdelf3.[2-9]* | \
10296 freebsd4.[0-5] | freebsdelf4.[0-5] | freebsd4.1.1 | freebsdelf4.1.1)
10297 shlibpath_overrides_runpath=no
10298 hardcode_into_libs=yes
10300 *) # from 4.6 on, and DragonFly
10301 shlibpath_overrides_runpath=yes
10302 hardcode_into_libs=yes
10308 version_type=linux # correct to gnu/linux during the next big refactor
10311 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
10312 soname_spec='${libname}${release}${shared_ext}$major'
10313 shlibpath_var=LD_LIBRARY_PATH
10314 shlibpath_overrides_runpath=no
10315 hardcode_into_libs=yes
10319 version_type=linux # correct to gnu/linux during the next big refactor
10322 dynamic_linker="$host_os runtime_loader"
10323 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
10324 soname_spec='${libname}${release}${shared_ext}$major'
10325 shlibpath_var=LIBRARY_PATH
10326 shlibpath_overrides_runpath=yes
10327 sys_lib_dlsearch_path_spec='/boot/home/config/lib /boot/common/lib /boot/system/lib'
10328 hardcode_into_libs=yes
10331 hpux9* | hpux10* | hpux11*)
10332 # Give a soname corresponding to the major version so that dld.sl refuses to
10333 # link against other versions.
10340 hardcode_into_libs=yes
10341 dynamic_linker="$host_os dld.so"
10342 shlibpath_var=LD_LIBRARY_PATH
10343 shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
10344 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10345 soname_spec='${libname}${release}${shared_ext}$major'
10346 if test "X$HPUX_IA64_MODE" = X32; then
10347 sys_lib_search_path_spec="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
10349 sys_lib_search_path_spec="/usr/lib/hpux64 /usr/local/lib/hpux64"
10351 sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
10355 hardcode_into_libs=yes
10356 dynamic_linker="$host_os dld.sl"
10357 shlibpath_var=LD_LIBRARY_PATH # How should we handle SHLIB_PATH
10358 shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
10359 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10360 soname_spec='${libname}${release}${shared_ext}$major'
10361 sys_lib_search_path_spec="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
10362 sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
10366 dynamic_linker="$host_os dld.sl"
10367 shlibpath_var=SHLIB_PATH
10368 shlibpath_overrides_runpath=no # +s is required to enable SHLIB_PATH
10369 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10370 soname_spec='${libname}${release}${shared_ext}$major'
10373 # HP-UX runs *really* slowly unless shared libraries are mode 555, ...
10374 postinstall_cmds='chmod 555 $lib'
10375 # or fails outright, so override atomically:
10376 install_override_mode=555
10380 version_type=linux # correct to gnu/linux during the next big refactor
10383 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
10384 soname_spec='${libname}${release}${shared_ext}$major'
10385 dynamic_linker='Interix 3.x ld.so.1 (PE, like ELF)'
10386 shlibpath_var=LD_LIBRARY_PATH
10387 shlibpath_overrides_runpath=no
10388 hardcode_into_libs=yes
10391 irix5* | irix6* | nonstopux*)
10393 nonstopux*) version_type=nonstopux ;;
10395 if test "$lt_cv_prog_gnu_ld" = yes; then
10396 version_type=linux # correct to gnu/linux during the next big refactor
10403 soname_spec='${libname}${release}${shared_ext}$major'
10404 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} $libname${shared_ext}'
10406 irix5* | nonstopux*)
10407 libsuff= shlibsuff=
10410 case $LD in # libtool.m4 will add one of these switches to LD
10411 *-32|*"-32 "|*-melf32bsmip|*"-melf32bsmip ")
10412 libsuff= shlibsuff= libmagic=32-bit;;
10413 *-n32|*"-n32 "|*-melf32bmipn32|*"-melf32bmipn32 ")
10414 libsuff=32 shlibsuff=N32 libmagic=N32;;
10415 *-64|*"-64 "|*-melf64bmip|*"-melf64bmip ")
10416 libsuff=64 shlibsuff=64 libmagic=64-bit;;
10417 *) libsuff= shlibsuff= libmagic=never-match;;
10421 shlibpath_var=LD_LIBRARY${shlibsuff}_PATH
10422 shlibpath_overrides_runpath=no
10423 sys_lib_search_path_spec="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}"
10424 sys_lib_dlsearch_path_spec="/usr/lib${libsuff} /lib${libsuff}"
10425 hardcode_into_libs=yes
10428 # No shared lib support for Linux oldld, aout, or coff.
10429 linux*oldld* | linux*aout* | linux*coff*)
10433 # This must be glibc/ELF.
10434 linux* | k*bsd*-gnu | kopensolaris*-gnu)
10435 version_type=linux # correct to gnu/linux during the next big refactor
10438 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10439 soname_spec='${libname}${release}${shared_ext}$major'
10440 finish_cmds='PATH="\$PATH:/sbin" ldconfig -n $libdir'
10441 shlibpath_var=LD_LIBRARY_PATH
10442 shlibpath_overrides_runpath=no
10444 # Some binutils ld are patched to set DT_RUNPATH
10445 if ${lt_cv_shlibpath_overrides_runpath+:} false; then :
10446 $as_echo_n "(cached) " >&6
10448 lt_cv_shlibpath_overrides_runpath=no
10449 save_LDFLAGS=$LDFLAGS
10450 save_libdir=$libdir
10451 eval "libdir=/foo; wl=\"$lt_prog_compiler_wl\"; \
10452 LDFLAGS=\"\$LDFLAGS $hardcode_libdir_flag_spec\""
10453 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10454 /* end confdefs.h. */
10464 if ac_fn_c_try_link "$LINENO"; then :
10465 if ($OBJDUMP -p conftest$ac_exeext) 2>/dev/null | grep "RUNPATH.*$libdir" >/dev/null; then :
10466 lt_cv_shlibpath_overrides_runpath=yes
10469 rm -f core conftest.err conftest.$ac_objext \
10470 conftest$ac_exeext conftest.$ac_ext
10471 LDFLAGS=$save_LDFLAGS
10472 libdir=$save_libdir
10476 shlibpath_overrides_runpath=$lt_cv_shlibpath_overrides_runpath
10478 # This implies no fast_install, which is unacceptable.
10479 # Some rework will be needed to allow for fast_install
10480 # before this can be enabled.
10481 hardcode_into_libs=yes
10483 # Append ld.so.conf contents to the search path
10484 if test -f /etc/ld.so.conf; then
10485 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' ' '`
10486 sys_lib_dlsearch_path_spec="/lib /usr/lib $lt_ld_extra"
10489 # We used to test for /lib/ld.so.1 and disable shared libraries on
10490 # powerpc, because MkLinux only supported shared libraries with the
10491 # GNU dynamic linker. Since this was broken with cross compilers,
10492 # most powerpc-linux boxes support dynamic linking these days and
10493 # people can always --disable-shared, the test was removed, and we
10494 # assume the GNU/Linux dynamic linker is in use.
10495 dynamic_linker='GNU/Linux ld.so'
10502 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
10503 soname_spec='${libname}${release}${shared_ext}$major'
10504 shlibpath_var=LD_LIBRARY_PATH
10505 shlibpath_overrides_runpath=no
10506 hardcode_into_libs=yes
10507 dynamic_linker='NetBSD ld.elf_so'
10514 if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
10515 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
10516 finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
10517 dynamic_linker='NetBSD (a.out) ld.so'
10519 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
10520 soname_spec='${libname}${release}${shared_ext}$major'
10521 dynamic_linker='NetBSD ld.elf_so'
10523 shlibpath_var=LD_LIBRARY_PATH
10524 shlibpath_overrides_runpath=yes
10525 hardcode_into_libs=yes
10529 version_type=linux # correct to gnu/linux during the next big refactor
10530 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10531 shlibpath_var=LD_LIBRARY_PATH
10532 shlibpath_overrides_runpath=yes
10539 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10540 soname_spec='${libname}${release}${shared_ext}$major'
10541 shlibpath_var=LD_LIBRARY_PATH
10542 shlibpath_overrides_runpath=no
10543 hardcode_into_libs=yes
10544 dynamic_linker='ldqnx.so'
10549 sys_lib_dlsearch_path_spec="/usr/lib"
10551 # Some older versions of OpenBSD (3.3 at least) *do* need versioned libs.
10553 openbsd3.3 | openbsd3.3.*) need_version=yes ;;
10554 *) need_version=no ;;
10556 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
10557 finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
10558 shlibpath_var=LD_LIBRARY_PATH
10559 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
10561 openbsd2.[89] | openbsd2.[89].*)
10562 shlibpath_overrides_runpath=no
10565 shlibpath_overrides_runpath=yes
10569 shlibpath_overrides_runpath=yes
10574 libname_spec='$name'
10577 library_names_spec='$libname${shared_ext} $libname.a'
10578 dynamic_linker='OS/2 ld.exe'
10579 shlibpath_var=LIBPATH
10582 osf3* | osf4* | osf5*)
10586 soname_spec='${libname}${release}${shared_ext}$major'
10587 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10588 shlibpath_var=LD_LIBRARY_PATH
10589 sys_lib_search_path_spec="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
10590 sys_lib_dlsearch_path_spec="$sys_lib_search_path_spec"
10598 version_type=linux # correct to gnu/linux during the next big refactor
10601 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10602 soname_spec='${libname}${release}${shared_ext}$major'
10603 shlibpath_var=LD_LIBRARY_PATH
10604 shlibpath_overrides_runpath=yes
10605 hardcode_into_libs=yes
10606 # ldd complains unless libraries are executable
10607 postinstall_cmds='chmod +x $lib'
10612 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
10613 finish_cmds='PATH="\$PATH:/usr/etc" ldconfig $libdir'
10614 shlibpath_var=LD_LIBRARY_PATH
10615 shlibpath_overrides_runpath=yes
10616 if test "$with_gnu_ld" = yes; then
10623 version_type=linux # correct to gnu/linux during the next big refactor
10624 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10625 soname_spec='${libname}${release}${shared_ext}$major'
10626 shlibpath_var=LD_LIBRARY_PATH
10627 case $host_vendor in
10629 shlibpath_overrides_runpath=no
10631 runpath_var=LD_RUN_PATH
10639 shlibpath_overrides_runpath=no
10640 sys_lib_search_path_spec='/lib /usr/lib /usr/ccs/lib'
10646 if test -d /usr/nec ;then
10647 version_type=linux # correct to gnu/linux during the next big refactor
10648 library_names_spec='$libname${shared_ext}.$versuffix $libname${shared_ext}.$major $libname${shared_ext}'
10649 soname_spec='$libname${shared_ext}.$major'
10650 shlibpath_var=LD_LIBRARY_PATH
10654 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
10655 version_type=freebsd-elf
10658 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
10659 soname_spec='${libname}${release}${shared_ext}$major'
10660 shlibpath_var=LD_LIBRARY_PATH
10661 shlibpath_overrides_runpath=yes
10662 hardcode_into_libs=yes
10663 if test "$with_gnu_ld" = yes; then
10664 sys_lib_search_path_spec='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib'
10666 sys_lib_search_path_spec='/usr/ccs/lib /usr/lib'
10669 sys_lib_search_path_spec="$sys_lib_search_path_spec /lib"
10673 sys_lib_dlsearch_path_spec='/usr/lib'
10677 # TPF is a cross-target only. Preferred cross-host = GNU/Linux.
10678 version_type=linux # correct to gnu/linux during the next big refactor
10681 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10682 shlibpath_var=LD_LIBRARY_PATH
10683 shlibpath_overrides_runpath=no
10684 hardcode_into_libs=yes
10688 version_type=linux # correct to gnu/linux during the next big refactor
10689 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10690 soname_spec='${libname}${release}${shared_ext}$major'
10691 shlibpath_var=LD_LIBRARY_PATH
10698 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $dynamic_linker" >&5
10699 $as_echo "$dynamic_linker" >&6; }
10700 test "$dynamic_linker" = no && can_build_shared=no
10702 variables_saved_for_relink="PATH $shlibpath_var $runpath_var"
10703 if test "$GCC" = yes; then
10704 variables_saved_for_relink="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
10707 if test "${lt_cv_sys_lib_search_path_spec+set}" = set; then
10708 sys_lib_search_path_spec="$lt_cv_sys_lib_search_path_spec"
10710 if test "${lt_cv_sys_lib_dlsearch_path_spec+set}" = set; then
10711 sys_lib_dlsearch_path_spec="$lt_cv_sys_lib_dlsearch_path_spec"
10805 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to hardcode library paths into programs" >&5
10806 $as_echo_n "checking how to hardcode library paths into programs... " >&6; }
10808 if test -n "$hardcode_libdir_flag_spec" ||
10809 test -n "$runpath_var" ||
10810 test "X$hardcode_automatic" = "Xyes" ; then
10812 # We can hardcode non-existent directories.
10813 if test "$hardcode_direct" != no &&
10814 # If the only mechanism to avoid hardcoding is shlibpath_var, we
10815 # have to relink, otherwise we might link with an installed library
10816 # when we should be linking with a yet-to-be-installed one
10817 ## test "$_LT_TAGVAR(hardcode_shlibpath_var, )" != no &&
10818 test "$hardcode_minus_L" != no; then
10819 # Linking always hardcodes the temporary library directory.
10820 hardcode_action=relink
10822 # We can link without hardcoding, and we can hardcode nonexisting dirs.
10823 hardcode_action=immediate
10826 # We cannot hardcode anything, or else we can only hardcode existing
10828 hardcode_action=unsupported
10830 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hardcode_action" >&5
10831 $as_echo "$hardcode_action" >&6; }
10833 if test "$hardcode_action" = relink ||
10834 test "$inherit_rpath" = yes; then
10835 # Fast installation is not supported
10836 enable_fast_install=no
10837 elif test "$shlibpath_overrides_runpath" = yes ||
10838 test "$enable_shared" = no; then
10839 # Fast installation is not necessary
10840 enable_fast_install=needless
10848 if test "x$enable_dlopen" != xyes; then
10849 enable_dlopen=unknown
10850 enable_dlopen_self=unknown
10851 enable_dlopen_self_static=unknown
10858 lt_cv_dlopen="load_add_on"
10860 lt_cv_dlopen_self=yes
10863 mingw* | pw32* | cegcc*)
10864 lt_cv_dlopen="LoadLibrary"
10869 lt_cv_dlopen="dlopen"
10874 # if libdl is installed we need to link against it
10875 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
10876 $as_echo_n "checking for dlopen in -ldl... " >&6; }
10877 if ${ac_cv_lib_dl_dlopen+:} false; then :
10878 $as_echo_n "(cached) " >&6
10880 ac_check_lib_save_LIBS=$LIBS
10882 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10883 /* end confdefs.h. */
10885 /* Override any GCC internal prototype to avoid an error.
10886 Use char because int might match the return type of a GCC
10887 builtin and then its argument prototype would still apply. */
10900 if ac_fn_c_try_link "$LINENO"; then :
10901 ac_cv_lib_dl_dlopen=yes
10903 ac_cv_lib_dl_dlopen=no
10905 rm -f core conftest.err conftest.$ac_objext \
10906 conftest$ac_exeext conftest.$ac_ext
10907 LIBS=$ac_check_lib_save_LIBS
10909 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
10910 $as_echo "$ac_cv_lib_dl_dlopen" >&6; }
10911 if test "x$ac_cv_lib_dl_dlopen" = xyes; then :
10912 lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl"
10915 lt_cv_dlopen="dyld"
10917 lt_cv_dlopen_self=yes
10924 ac_fn_c_check_func "$LINENO" "shl_load" "ac_cv_func_shl_load"
10925 if test "x$ac_cv_func_shl_load" = xyes; then :
10926 lt_cv_dlopen="shl_load"
10928 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for shl_load in -ldld" >&5
10929 $as_echo_n "checking for shl_load in -ldld... " >&6; }
10930 if ${ac_cv_lib_dld_shl_load+:} false; then :
10931 $as_echo_n "(cached) " >&6
10933 ac_check_lib_save_LIBS=$LIBS
10935 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10936 /* end confdefs.h. */
10938 /* Override any GCC internal prototype to avoid an error.
10939 Use char because int might match the return type of a GCC
10940 builtin and then its argument prototype would still apply. */
10948 return shl_load ();
10953 if ac_fn_c_try_link "$LINENO"; then :
10954 ac_cv_lib_dld_shl_load=yes
10956 ac_cv_lib_dld_shl_load=no
10958 rm -f core conftest.err conftest.$ac_objext \
10959 conftest$ac_exeext conftest.$ac_ext
10960 LIBS=$ac_check_lib_save_LIBS
10962 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_shl_load" >&5
10963 $as_echo "$ac_cv_lib_dld_shl_load" >&6; }
10964 if test "x$ac_cv_lib_dld_shl_load" = xyes; then :
10965 lt_cv_dlopen="shl_load" lt_cv_dlopen_libs="-ldld"
10967 ac_fn_c_check_func "$LINENO" "dlopen" "ac_cv_func_dlopen"
10968 if test "x$ac_cv_func_dlopen" = xyes; then :
10969 lt_cv_dlopen="dlopen"
10971 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
10972 $as_echo_n "checking for dlopen in -ldl... " >&6; }
10973 if ${ac_cv_lib_dl_dlopen+:} false; then :
10974 $as_echo_n "(cached) " >&6
10976 ac_check_lib_save_LIBS=$LIBS
10978 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10979 /* end confdefs.h. */
10981 /* Override any GCC internal prototype to avoid an error.
10982 Use char because int might match the return type of a GCC
10983 builtin and then its argument prototype would still apply. */
10996 if ac_fn_c_try_link "$LINENO"; then :
10997 ac_cv_lib_dl_dlopen=yes
10999 ac_cv_lib_dl_dlopen=no
11001 rm -f core conftest.err conftest.$ac_objext \
11002 conftest$ac_exeext conftest.$ac_ext
11003 LIBS=$ac_check_lib_save_LIBS
11005 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
11006 $as_echo "$ac_cv_lib_dl_dlopen" >&6; }
11007 if test "x$ac_cv_lib_dl_dlopen" = xyes; then :
11008 lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl"
11010 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -lsvld" >&5
11011 $as_echo_n "checking for dlopen in -lsvld... " >&6; }
11012 if ${ac_cv_lib_svld_dlopen+:} false; then :
11013 $as_echo_n "(cached) " >&6
11015 ac_check_lib_save_LIBS=$LIBS
11016 LIBS="-lsvld $LIBS"
11017 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11018 /* end confdefs.h. */
11020 /* Override any GCC internal prototype to avoid an error.
11021 Use char because int might match the return type of a GCC
11022 builtin and then its argument prototype would still apply. */
11035 if ac_fn_c_try_link "$LINENO"; then :
11036 ac_cv_lib_svld_dlopen=yes
11038 ac_cv_lib_svld_dlopen=no
11040 rm -f core conftest.err conftest.$ac_objext \
11041 conftest$ac_exeext conftest.$ac_ext
11042 LIBS=$ac_check_lib_save_LIBS
11044 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_svld_dlopen" >&5
11045 $as_echo "$ac_cv_lib_svld_dlopen" >&6; }
11046 if test "x$ac_cv_lib_svld_dlopen" = xyes; then :
11047 lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-lsvld"
11049 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dld_link in -ldld" >&5
11050 $as_echo_n "checking for dld_link in -ldld... " >&6; }
11051 if ${ac_cv_lib_dld_dld_link+:} false; then :
11052 $as_echo_n "(cached) " >&6
11054 ac_check_lib_save_LIBS=$LIBS
11056 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11057 /* end confdefs.h. */
11059 /* Override any GCC internal prototype to avoid an error.
11060 Use char because int might match the return type of a GCC
11061 builtin and then its argument prototype would still apply. */
11069 return dld_link ();
11074 if ac_fn_c_try_link "$LINENO"; then :
11075 ac_cv_lib_dld_dld_link=yes
11077 ac_cv_lib_dld_dld_link=no
11079 rm -f core conftest.err conftest.$ac_objext \
11080 conftest$ac_exeext conftest.$ac_ext
11081 LIBS=$ac_check_lib_save_LIBS
11083 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_dld_link" >&5
11084 $as_echo "$ac_cv_lib_dld_dld_link" >&6; }
11085 if test "x$ac_cv_lib_dld_dld_link" = xyes; then :
11086 lt_cv_dlopen="dld_link" lt_cv_dlopen_libs="-ldld"
11107 if test "x$lt_cv_dlopen" != xno; then
11113 case $lt_cv_dlopen in
11115 save_CPPFLAGS="$CPPFLAGS"
11116 test "x$ac_cv_header_dlfcn_h" = xyes && CPPFLAGS="$CPPFLAGS -DHAVE_DLFCN_H"
11118 save_LDFLAGS="$LDFLAGS"
11119 wl=$lt_prog_compiler_wl eval LDFLAGS=\"\$LDFLAGS $export_dynamic_flag_spec\"
11122 LIBS="$lt_cv_dlopen_libs $LIBS"
11124 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether a program can dlopen itself" >&5
11125 $as_echo_n "checking whether a program can dlopen itself... " >&6; }
11126 if ${lt_cv_dlopen_self+:} false; then :
11127 $as_echo_n "(cached) " >&6
11129 if test "$cross_compiling" = yes; then :
11130 lt_cv_dlopen_self=cross
11132 lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
11133 lt_status=$lt_dlunknown
11134 cat > conftest.$ac_ext <<_LT_EOF
11135 #line $LINENO "configure"
11136 #include "confdefs.h"
11145 # define LT_DLGLOBAL RTLD_GLOBAL
11148 # define LT_DLGLOBAL DL_GLOBAL
11150 # define LT_DLGLOBAL 0
11154 /* We may have to define LT_DLLAZY_OR_NOW in the command line if we
11155 find out it does not work in some platform. */
11156 #ifndef LT_DLLAZY_OR_NOW
11158 # define LT_DLLAZY_OR_NOW RTLD_LAZY
11161 # define LT_DLLAZY_OR_NOW DL_LAZY
11164 # define LT_DLLAZY_OR_NOW RTLD_NOW
11167 # define LT_DLLAZY_OR_NOW DL_NOW
11169 # define LT_DLLAZY_OR_NOW 0
11176 /* When -fvisbility=hidden is used, assume the code has been annotated
11177 correspondingly for the symbols needed. */
11178 #if defined(__GNUC__) && (((__GNUC__ == 3) && (__GNUC_MINOR__ >= 3)) || (__GNUC__ > 3))
11179 int fnord () __attribute__((visibility("default")));
11182 int fnord () { return 42; }
11185 void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
11186 int status = $lt_dlunknown;
11190 if (dlsym (self,"fnord")) status = $lt_dlno_uscore;
11193 if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
11194 else puts (dlerror ());
11196 /* dlclose (self); */
11204 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
11205 (eval $ac_link) 2>&5
11207 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
11208 test $ac_status = 0; } && test -s conftest${ac_exeext} 2>/dev/null; then
11209 (./conftest; exit; ) >&5 2>/dev/null
11211 case x$lt_status in
11212 x$lt_dlno_uscore) lt_cv_dlopen_self=yes ;;
11213 x$lt_dlneed_uscore) lt_cv_dlopen_self=yes ;;
11214 x$lt_dlunknown|x*) lt_cv_dlopen_self=no ;;
11217 # compilation failed
11218 lt_cv_dlopen_self=no
11225 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_dlopen_self" >&5
11226 $as_echo "$lt_cv_dlopen_self" >&6; }
11228 if test "x$lt_cv_dlopen_self" = xyes; then
11229 wl=$lt_prog_compiler_wl eval LDFLAGS=\"\$LDFLAGS $lt_prog_compiler_static\"
11230 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether a statically linked program can dlopen itself" >&5
11231 $as_echo_n "checking whether a statically linked program can dlopen itself... " >&6; }
11232 if ${lt_cv_dlopen_self_static+:} false; then :
11233 $as_echo_n "(cached) " >&6
11235 if test "$cross_compiling" = yes; then :
11236 lt_cv_dlopen_self_static=cross
11238 lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
11239 lt_status=$lt_dlunknown
11240 cat > conftest.$ac_ext <<_LT_EOF
11241 #line $LINENO "configure"
11242 #include "confdefs.h"
11251 # define LT_DLGLOBAL RTLD_GLOBAL
11254 # define LT_DLGLOBAL DL_GLOBAL
11256 # define LT_DLGLOBAL 0
11260 /* We may have to define LT_DLLAZY_OR_NOW in the command line if we
11261 find out it does not work in some platform. */
11262 #ifndef LT_DLLAZY_OR_NOW
11264 # define LT_DLLAZY_OR_NOW RTLD_LAZY
11267 # define LT_DLLAZY_OR_NOW DL_LAZY
11270 # define LT_DLLAZY_OR_NOW RTLD_NOW
11273 # define LT_DLLAZY_OR_NOW DL_NOW
11275 # define LT_DLLAZY_OR_NOW 0
11282 /* When -fvisbility=hidden is used, assume the code has been annotated
11283 correspondingly for the symbols needed. */
11284 #if defined(__GNUC__) && (((__GNUC__ == 3) && (__GNUC_MINOR__ >= 3)) || (__GNUC__ > 3))
11285 int fnord () __attribute__((visibility("default")));
11288 int fnord () { return 42; }
11291 void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
11292 int status = $lt_dlunknown;
11296 if (dlsym (self,"fnord")) status = $lt_dlno_uscore;
11299 if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
11300 else puts (dlerror ());
11302 /* dlclose (self); */
11310 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
11311 (eval $ac_link) 2>&5
11313 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
11314 test $ac_status = 0; } && test -s conftest${ac_exeext} 2>/dev/null; then
11315 (./conftest; exit; ) >&5 2>/dev/null
11317 case x$lt_status in
11318 x$lt_dlno_uscore) lt_cv_dlopen_self_static=yes ;;
11319 x$lt_dlneed_uscore) lt_cv_dlopen_self_static=yes ;;
11320 x$lt_dlunknown|x*) lt_cv_dlopen_self_static=no ;;
11323 # compilation failed
11324 lt_cv_dlopen_self_static=no
11331 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_dlopen_self_static" >&5
11332 $as_echo "$lt_cv_dlopen_self_static" >&6; }
11335 CPPFLAGS="$save_CPPFLAGS"
11336 LDFLAGS="$save_LDFLAGS"
11341 case $lt_cv_dlopen_self in
11342 yes|no) enable_dlopen_self=$lt_cv_dlopen_self ;;
11343 *) enable_dlopen_self=unknown ;;
11346 case $lt_cv_dlopen_self_static in
11347 yes|no) enable_dlopen_self_static=$lt_cv_dlopen_self_static ;;
11348 *) enable_dlopen_self_static=unknown ;;
11370 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether stripping libraries is possible" >&5
11371 $as_echo_n "checking whether stripping libraries is possible... " >&6; }
11372 if test -n "$STRIP" && $STRIP -V 2>&1 | $GREP "GNU strip" >/dev/null; then
11373 test -z "$old_striplib" && old_striplib="$STRIP --strip-debug"
11374 test -z "$striplib" && striplib="$STRIP --strip-unneeded"
11375 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
11376 $as_echo "yes" >&6; }
11378 # FIXME - insert some real tests, host_os isn't really good enough
11381 if test -n "$STRIP" ; then
11382 striplib="$STRIP -x"
11383 old_striplib="$STRIP -S"
11384 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
11385 $as_echo "yes" >&6; }
11387 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11388 $as_echo "no" >&6; }
11392 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11393 $as_echo "no" >&6; }
11409 # Report which library types will actually be built
11410 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if libtool supports shared libraries" >&5
11411 $as_echo_n "checking if libtool supports shared libraries... " >&6; }
11412 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $can_build_shared" >&5
11413 $as_echo "$can_build_shared" >&6; }
11415 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build shared libraries" >&5
11416 $as_echo_n "checking whether to build shared libraries... " >&6; }
11417 test "$can_build_shared" = "no" && enable_shared=no
11419 # On AIX, shared libraries and static libraries use the same namespace, and
11420 # are all built from PIC.
11423 test "$enable_shared" = yes && enable_static=no
11424 if test -n "$RANLIB"; then
11425 archive_cmds="$archive_cmds~\$RANLIB \$lib"
11426 postinstall_cmds='$RANLIB $lib'
11431 if test "$host_cpu" != ia64 && test "$aix_use_runtimelinking" = no ; then
11432 test "$enable_shared" = yes && enable_static=no
11436 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_shared" >&5
11437 $as_echo "$enable_shared" >&6; }
11439 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build static libraries" >&5
11440 $as_echo_n "checking whether to build static libraries... " >&6; }
11441 # Make sure either enable_shared or enable_static is yes.
11442 test "$enable_shared" = yes || enable_static=yes
11443 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_static" >&5
11444 $as_echo "$enable_static" >&6; }
11451 ac_cpp='$CPP $CPPFLAGS'
11452 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
11453 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
11454 ac_compiler_gnu=$ac_cv_c_compiler_gnu
11472 ac_config_commands="$ac_config_commands libtool"
11477 # Only expand once:
11481 LIBGEE_LT_VERSION="4:0:2"
11486 # Extract the first word of "valac", so it can be a program name with args.
11487 set dummy valac; ac_word=$2
11488 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
11489 $as_echo_n "checking for $ac_word... " >&6; }
11490 if ${ac_cv_path_VALAC+:} false; then :
11491 $as_echo_n "(cached) " >&6
11495 ac_cv_path_VALAC="$VALAC" # Let the user override the test with a path.
11498 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11499 for as_dir in $PATH
11502 test -z "$as_dir" && as_dir=.
11503 for ac_exec_ext in '' $ac_executable_extensions; do
11504 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
11505 ac_cv_path_VALAC="$as_dir/$ac_word$ac_exec_ext"
11506 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
11516 VALAC=$ac_cv_path_VALAC
11517 if test -n "$VALAC"; then
11518 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $VALAC" >&5
11519 $as_echo "$VALAC" >&6; }
11521 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11522 $as_echo "no" >&6; }
11526 if test -z "$VALAC"; then :
11527 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: No Vala compiler found. You will not be able to compile .vala source files." >&5
11528 $as_echo "$as_me: WARNING: No Vala compiler found. You will not be able to compile .vala source files." >&2;}
11530 if test -n "0.17.5"; then :
11531 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $VALAC is at least version 0.17.5" >&5
11532 $as_echo_n "checking $VALAC is at least version 0.17.5... " >&6; }
11533 am__vala_version=`$VALAC --version | sed 's/Vala *//'`
11535 as_arg_v2="$am__vala_version"
11536 awk "$as_awk_strverscmp" v1="$as_arg_v1" v2="$as_arg_v2" /dev/null
11539 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
11540 $as_echo "yes" >&6; } ;; #(
11542 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
11543 $as_echo "yes" >&6; } ;; #(
11545 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11546 $as_echo "no" >&6; }
11547 as_fn_error $? "Vala 0.17.5 not found." "$LINENO" 5 ;; #(
11556 VALAFLAGS=--target-glib=$GLIB_REQUIRED
11560 # Check whether --enable-doc was given.
11561 if test "${enable_doc+set}" = set; then :
11562 enableval=$enable_doc; enable_doc=$enableval
11567 if test x$enable_doc = xyes; then
11569 ENABLE_DOC_FALSE='#'
11571 ENABLE_DOC_TRUE='#'
11576 if test "x$enable_doc" != xno; then :
11577 # Extract the first word of "valadoc", so it can be a program name with args.
11578 set dummy valadoc; ac_word=$2
11579 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
11580 $as_echo_n "checking for $ac_word... " >&6; }
11581 if ${ac_cv_path_VALADOC+:} false; then :
11582 $as_echo_n "(cached) " >&6
11586 ac_cv_path_VALADOC="$VALADOC" # Let the user override the test with a path.
11589 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11590 for as_dir in $PATH
11593 test -z "$as_dir" && as_dir=.
11594 for ac_exec_ext in '' $ac_executable_extensions; do
11595 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
11596 ac_cv_path_VALADOC="$as_dir/$ac_word$ac_exec_ext"
11597 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
11604 test -z "$ac_cv_path_VALADOC" && ac_cv_path_VALADOC=":"
11608 VALADOC=$ac_cv_path_VALADOC
11609 if test -n "$VALADOC"; then
11610 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $VALADOC" >&5
11611 $as_echo "$VALADOC" >&6; }
11613 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11614 $as_echo "no" >&6; }
11619 if test "$VALADOC" = :; then :
11620 as_fn_error $? "valadoc not found" "$LINENO" 5
11624 # Check whether --enable-coverage was given.
11625 if test "${enable_coverage+set}" = set; then :
11626 enableval=$enable_coverage; enable_coverage=$enableval
11631 if test x$enable_coverage != xno; then
11632 ENABLE_COVERAGE_TRUE=
11633 ENABLE_COVERAGE_FALSE='#'
11635 ENABLE_COVERAGE_TRUE='#'
11636 ENABLE_COVERAGE_FALSE=
11640 if test "x$enable_coverage" != xno; then :
11641 COVERAGE_CFLAGS="-fprofile-arcs -ftest-coverage"
11642 COVERAGE_VALAFLAGS="-g"
11643 COVERAGE_LIBS="-lgcov"
11648 # Extract the first word of "lcov", so it can be a program name with args.
11649 set dummy lcov; ac_word=$2
11650 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
11651 $as_echo_n "checking for $ac_word... " >&6; }
11652 if ${ac_cv_path_LCOV+:} false; then :
11653 $as_echo_n "(cached) " >&6
11657 ac_cv_path_LCOV="$LCOV" # Let the user override the test with a path.
11660 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11661 for as_dir in $PATH
11664 test -z "$as_dir" && as_dir=.
11665 for ac_exec_ext in '' $ac_executable_extensions; do
11666 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
11667 ac_cv_path_LCOV="$as_dir/$ac_word$ac_exec_ext"
11668 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
11675 test -z "$ac_cv_path_LCOV" && ac_cv_path_LCOV=":"
11679 LCOV=$ac_cv_path_LCOV
11680 if test -n "$LCOV"; then
11681 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LCOV" >&5
11682 $as_echo "$LCOV" >&6; }
11684 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11685 $as_echo "no" >&6; }
11690 if test "$LCOV" = :; then :
11691 as_fn_error $? "lcov is necessary for testing code coverage (http://ltp.sourceforge.net/coverage/lcov.php)" "$LINENO" 5
11695 # Check whether --enable-benchmark was given.
11696 if test "${enable_benchmark+set}" = set; then :
11697 enableval=$enable_benchmark; enable_benchmark=$enableval
11699 enable_benchmark=no
11702 if test x$enable_benchmark = xyes; then
11703 ENABLE_BENCHMARK_TRUE=
11704 ENABLE_BENCHMARK_FALSE='#'
11706 ENABLE_BENCHMARK_TRUE='#'
11707 ENABLE_BENCHMARK_FALSE=
11718 if test "x$ac_cv_env_PKG_CONFIG_set" != "xset"; then
11719 if test -n "$ac_tool_prefix"; then
11720 # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
11721 set dummy ${ac_tool_prefix}pkg-config; ac_word=$2
11722 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
11723 $as_echo_n "checking for $ac_word... " >&6; }
11724 if ${ac_cv_path_PKG_CONFIG+:} false; then :
11725 $as_echo_n "(cached) " >&6
11727 case $PKG_CONFIG in
11729 ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path.
11732 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11733 for as_dir in $PATH
11736 test -z "$as_dir" && as_dir=.
11737 for ac_exec_ext in '' $ac_executable_extensions; do
11738 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
11739 ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
11740 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
11750 PKG_CONFIG=$ac_cv_path_PKG_CONFIG
11751 if test -n "$PKG_CONFIG"; then
11752 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PKG_CONFIG" >&5
11753 $as_echo "$PKG_CONFIG" >&6; }
11755 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11756 $as_echo "no" >&6; }
11761 if test -z "$ac_cv_path_PKG_CONFIG"; then
11762 ac_pt_PKG_CONFIG=$PKG_CONFIG
11763 # Extract the first word of "pkg-config", so it can be a program name with args.
11764 set dummy pkg-config; ac_word=$2
11765 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
11766 $as_echo_n "checking for $ac_word... " >&6; }
11767 if ${ac_cv_path_ac_pt_PKG_CONFIG+:} false; then :
11768 $as_echo_n "(cached) " >&6
11770 case $ac_pt_PKG_CONFIG in
11772 ac_cv_path_ac_pt_PKG_CONFIG="$ac_pt_PKG_CONFIG" # Let the user override the test with a path.
11775 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11776 for as_dir in $PATH
11779 test -z "$as_dir" && as_dir=.
11780 for ac_exec_ext in '' $ac_executable_extensions; do
11781 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
11782 ac_cv_path_ac_pt_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
11783 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
11793 ac_pt_PKG_CONFIG=$ac_cv_path_ac_pt_PKG_CONFIG
11794 if test -n "$ac_pt_PKG_CONFIG"; then
11795 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_pt_PKG_CONFIG" >&5
11796 $as_echo "$ac_pt_PKG_CONFIG" >&6; }
11798 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11799 $as_echo "no" >&6; }
11802 if test "x$ac_pt_PKG_CONFIG" = x; then
11805 case $cross_compiling:$ac_tool_warned in
11807 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
11808 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
11809 ac_tool_warned=yes ;;
11811 PKG_CONFIG=$ac_pt_PKG_CONFIG
11814 PKG_CONFIG="$ac_cv_path_PKG_CONFIG"
11818 if test -n "$PKG_CONFIG"; then
11819 _pkg_min_version=0.9.0
11820 { $as_echo "$as_me:${as_lineno-$LINENO}: checking pkg-config is at least version $_pkg_min_version" >&5
11821 $as_echo_n "checking pkg-config is at least version $_pkg_min_version... " >&6; }
11822 if $PKG_CONFIG --atleast-pkgconfig-version $_pkg_min_version; then
11823 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
11824 $as_echo "yes" >&6; }
11826 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11827 $as_echo "no" >&6; }
11833 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GLIB" >&5
11834 $as_echo_n "checking for GLIB... " >&6; }
11836 if test -n "$GLIB_CFLAGS"; then
11837 pkg_cv_GLIB_CFLAGS="$GLIB_CFLAGS"
11838 elif test -n "$PKG_CONFIG"; then
11839 if test -n "$PKG_CONFIG" && \
11840 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"glib-2.0 >= \$GLIB_REQUIRED gobject-2.0 >= \$GLIB_REQUIRED\""; } >&5
11841 ($PKG_CONFIG --exists --print-errors "glib-2.0 >= $GLIB_REQUIRED gobject-2.0 >= $GLIB_REQUIRED") 2>&5
11843 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
11844 test $ac_status = 0; }; then
11845 pkg_cv_GLIB_CFLAGS=`$PKG_CONFIG --cflags "glib-2.0 >= $GLIB_REQUIRED gobject-2.0 >= $GLIB_REQUIRED" 2>/dev/null`
11846 test "x$?" != "x0" && pkg_failed=yes
11853 if test -n "$GLIB_LIBS"; then
11854 pkg_cv_GLIB_LIBS="$GLIB_LIBS"
11855 elif test -n "$PKG_CONFIG"; then
11856 if test -n "$PKG_CONFIG" && \
11857 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"glib-2.0 >= \$GLIB_REQUIRED gobject-2.0 >= \$GLIB_REQUIRED\""; } >&5
11858 ($PKG_CONFIG --exists --print-errors "glib-2.0 >= $GLIB_REQUIRED gobject-2.0 >= $GLIB_REQUIRED") 2>&5
11860 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
11861 test $ac_status = 0; }; then
11862 pkg_cv_GLIB_LIBS=`$PKG_CONFIG --libs "glib-2.0 >= $GLIB_REQUIRED gobject-2.0 >= $GLIB_REQUIRED" 2>/dev/null`
11863 test "x$?" != "x0" && pkg_failed=yes
11873 if test $pkg_failed = yes; then
11874 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11875 $as_echo "no" >&6; }
11877 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
11878 _pkg_short_errors_supported=yes
11880 _pkg_short_errors_supported=no
11882 if test $_pkg_short_errors_supported = yes; then
11883 GLIB_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "glib-2.0 >= $GLIB_REQUIRED gobject-2.0 >= $GLIB_REQUIRED" 2>&1`
11885 GLIB_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "glib-2.0 >= $GLIB_REQUIRED gobject-2.0 >= $GLIB_REQUIRED" 2>&1`
11887 # Put the nasty error message in config.log where it belongs
11888 echo "$GLIB_PKG_ERRORS" >&5
11890 as_fn_error $? "Package requirements (glib-2.0 >= $GLIB_REQUIRED gobject-2.0 >= $GLIB_REQUIRED) were not met:
11894 Consider adjusting the PKG_CONFIG_PATH environment variable if you
11895 installed software in a non-standard prefix.
11897 Alternatively, you may set the environment variables GLIB_CFLAGS
11898 and GLIB_LIBS to avoid the need to call pkg-config.
11899 See the pkg-config man page for more details." "$LINENO" 5
11900 elif test $pkg_failed = untried; then
11901 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11902 $as_echo "no" >&6; }
11903 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
11904 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
11905 as_fn_error $? "The pkg-config script could not be found or is too old. Make sure it
11906 is in your PATH or set the PKG_CONFIG environment variable to the full
11907 path to pkg-config.
11909 Alternatively, you may set the environment variables GLIB_CFLAGS
11910 and GLIB_LIBS to avoid the need to call pkg-config.
11911 See the pkg-config man page for more details.
11913 To get pkg-config, see <http://pkg-config.freedesktop.org/>.
11914 See \`config.log' for more details" "$LINENO" 5; }
11916 GLIB_CFLAGS=$pkg_cv_GLIB_CFLAGS
11917 GLIB_LIBS=$pkg_cv_GLIB_LIBS
11918 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
11919 $as_echo "yes" >&6; }
11928 # Check whether --enable-introspection was given.
11929 if test "${enable_introspection+set}" = set; then :
11930 enableval=$enable_introspection;
11932 enable_introspection=auto
11936 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gobject-introspection" >&5
11937 $as_echo_n "checking for gobject-introspection... " >&6; }
11939 case $enable_introspection in #(
11941 found_introspection="no (disabled, use --enable-introspection to enable)"
11944 if test -n "$PKG_CONFIG" && \
11945 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"gobject-introspection-1.0\""; } >&5
11946 ($PKG_CONFIG --exists --print-errors "gobject-introspection-1.0") 2>&5
11948 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
11949 test $ac_status = 0; }; then
11952 as_fn_error $? "gobject-introspection-1.0 is not installed" "$LINENO" 5
11954 if test -n "$PKG_CONFIG" && \
11955 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"gobject-introspection-1.0 >= 0.9.0\""; } >&5
11956 ($PKG_CONFIG --exists --print-errors "gobject-introspection-1.0 >= 0.9.0") 2>&5
11958 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
11959 test $ac_status = 0; }; then
11960 found_introspection=yes
11962 as_fn_error $? "You need to have gobject-introspection >= 0.9.0 installed to build libgee" "$LINENO" 5
11966 if test -n "$PKG_CONFIG" && \
11967 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"gobject-introspection-1.0 >= 0.9.0\""; } >&5
11968 ($PKG_CONFIG --exists --print-errors "gobject-introspection-1.0 >= 0.9.0") 2>&5
11970 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
11971 test $ac_status = 0; }; then
11972 found_introspection=yes
11974 found_introspection=no
11976 enable_introspection=$found_introspection
11979 as_fn_error $? "invalid argument passed to --enable-introspection, should be one of [no/auto/yes]" "$LINENO" 5
11982 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $found_introspection" >&5
11983 $as_echo "$found_introspection" >&6; }
11985 INTROSPECTION_SCANNER=
11986 INTROSPECTION_COMPILER=
11987 INTROSPECTION_GENERATE=
11988 INTROSPECTION_GIRDIR=
11989 INTROSPECTION_TYPELIBDIR=
11990 if test "x$found_introspection" = "xyes"; then
11991 INTROSPECTION_SCANNER=`$PKG_CONFIG --variable=g_ir_scanner gobject-introspection-1.0`
11992 INTROSPECTION_COMPILER=`$PKG_CONFIG --variable=g_ir_compiler gobject-introspection-1.0`
11993 INTROSPECTION_GENERATE=`$PKG_CONFIG --variable=g_ir_generate gobject-introspection-1.0`
11994 INTROSPECTION_GIRDIR=`$PKG_CONFIG --variable=girdir gobject-introspection-1.0`
11995 INTROSPECTION_TYPELIBDIR="$($PKG_CONFIG --variable=typelibdir gobject-introspection-1.0)"
11996 INTROSPECTION_CFLAGS=`$PKG_CONFIG --cflags gobject-introspection-1.0`
11997 INTROSPECTION_LIBS=`$PKG_CONFIG --libs gobject-introspection-1.0`
11998 INTROSPECTION_MAKEFILE=`$PKG_CONFIG --variable=datadir gobject-introspection-1.0`/gobject-introspection-1.0/Makefile.introspection
12009 if test "x$found_introspection" = "xyes"; then
12010 HAVE_INTROSPECTION_TRUE=
12011 HAVE_INTROSPECTION_FALSE='#'
12013 HAVE_INTROSPECTION_TRUE='#'
12014 HAVE_INTROSPECTION_FALSE=
12020 ac_config_files="$ac_config_files Makefile gee-0.8.pc benchmark/Makefile doc/Makefile gee/Makefile tests/Makefile"
12022 cat >confcache <<\_ACEOF
12023 # This file is a shell script that caches the results of configure
12024 # tests run on this system so they can be shared between configure
12025 # scripts and configure runs, see configure's option --config-cache.
12026 # It is not useful on other systems. If it contains results you don't
12027 # want to keep, you may remove or edit it.
12029 # config.status only pays attention to the cache file if you give it
12030 # the --recheck option to rerun configure.
12032 # `ac_cv_env_foo' variables (set or unset) will be overridden when
12033 # loading this file, other *unset* `ac_cv_foo' will be assigned the
12034 # following values.
12038 # The following way of writing the cache mishandles newlines in values,
12039 # but we know of no workaround that is simple, portable, and efficient.
12040 # So, we kill variables containing newlines.
12041 # Ultrix sh set writes to stderr and can't be redirected directly,
12042 # and sets the high bit in the cache file unless we assign to the vars.
12044 for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
12045 eval ac_val=\$$ac_var
12049 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
12050 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
12053 _ | IFS | as_nl) ;; #(
12054 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
12055 *) { eval $ac_var=; unset $ac_var;} ;;
12061 case $as_nl`(ac_space=' '; set) 2>&1` in #(
12062 *${as_nl}ac_space=\ *)
12063 # `set' does not quote correctly, so add quotes: double-quote
12064 # substitution turns \\\\ into \\, and sed turns \\ into \.
12067 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
12070 # `set' quotes correctly as required by POSIX, so do not add quotes.
12071 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
12080 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
12082 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
12084 if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
12085 if test -w "$cache_file"; then
12086 if test "x$cache_file" != "x/dev/null"; then
12087 { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
12088 $as_echo "$as_me: updating cache $cache_file" >&6;}
12089 if test ! -f "$cache_file" || test -h "$cache_file"; then
12090 cat confcache >"$cache_file"
12092 case $cache_file in #(
12094 mv -f confcache "$cache_file"$$ &&
12095 mv -f "$cache_file"$$ "$cache_file" ;; #(
12097 mv -f confcache "$cache_file" ;;
12102 { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
12103 $as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
12108 test "x$prefix" = xNONE && prefix=$ac_default_prefix
12109 # Let make expand exec_prefix.
12110 test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
12112 DEFS=-DHAVE_CONFIG_H
12117 for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
12118 # 1. Remove the extension, and $U if already installed.
12119 ac_script='s/\$U\././;s/\.o$//;s/\.obj$//'
12120 ac_i=`$as_echo "$ac_i" | sed "$ac_script"`
12121 # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR
12122 # will be set to the directory where LIBOBJS objects are built.
12123 as_fn_append ac_libobjs " \${LIBOBJDIR}$ac_i\$U.$ac_objext"
12124 as_fn_append ac_ltlibobjs " \${LIBOBJDIR}$ac_i"'$U.lo'
12126 LIBOBJS=$ac_libobjs
12128 LTLIBOBJS=$ac_ltlibobjs
12131 if test -n "$EXEEXT"; then
12133 am__EXEEXT_FALSE='#'
12135 am__EXEEXT_TRUE='#'
12139 if test -z "${AMDEP_TRUE}" && test -z "${AMDEP_FALSE}"; then
12140 as_fn_error $? "conditional \"AMDEP\" was never defined.
12141 Usually this means the macro was only invoked conditionally." "$LINENO" 5
12143 if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
12144 as_fn_error $? "conditional \"am__fastdepCC\" was never defined.
12145 Usually this means the macro was only invoked conditionally." "$LINENO" 5
12147 if test -z "${ENABLE_DOC_TRUE}" && test -z "${ENABLE_DOC_FALSE}"; then
12148 as_fn_error $? "conditional \"ENABLE_DOC\" was never defined.
12149 Usually this means the macro was only invoked conditionally." "$LINENO" 5
12151 if test -z "${ENABLE_COVERAGE_TRUE}" && test -z "${ENABLE_COVERAGE_FALSE}"; then
12152 as_fn_error $? "conditional \"ENABLE_COVERAGE\" was never defined.
12153 Usually this means the macro was only invoked conditionally." "$LINENO" 5
12155 if test -z "${ENABLE_BENCHMARK_TRUE}" && test -z "${ENABLE_BENCHMARK_FALSE}"; then
12156 as_fn_error $? "conditional \"ENABLE_BENCHMARK\" was never defined.
12157 Usually this means the macro was only invoked conditionally." "$LINENO" 5
12159 if test -z "${HAVE_INTROSPECTION_TRUE}" && test -z "${HAVE_INTROSPECTION_FALSE}"; then
12160 as_fn_error $? "conditional \"HAVE_INTROSPECTION\" was never defined.
12161 Usually this means the macro was only invoked conditionally." "$LINENO" 5
12164 : "${CONFIG_STATUS=./config.status}"
12166 ac_clean_files_save=$ac_clean_files
12167 ac_clean_files="$ac_clean_files $CONFIG_STATUS"
12168 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5
12169 $as_echo "$as_me: creating $CONFIG_STATUS" >&6;}
12171 cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1
12173 # Generated by $as_me.
12174 # Run this file to recreate the current configuration.
12175 # Compiler output produced by configure, useful for debugging
12176 # configure, is in config.log if it exists.
12179 ac_cs_recheck=false
12182 SHELL=\${CONFIG_SHELL-$SHELL}
12185 cat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail=1
12186 ## -------------------- ##
12187 ## M4sh Initialization. ##
12188 ## -------------------- ##
12190 # Be more Bourne compatible
12191 DUALCASE=1; export DUALCASE # for MKS sh
12192 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :
12195 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
12196 # is contrary to our usage. Disable this feature.
12197 alias -g '${1+"$@"}'='"$@"'
12198 setopt NO_GLOB_SUBST
12200 case `(set -o) 2>/dev/null` in #(
12212 # Printing a long string crashes Solaris 7 /usr/bin/printf.
12213 as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
12214 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
12215 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
12216 # Prefer a ksh shell builtin over an external printf program on Solaris,
12217 # but without wasting forks for bash or zsh.
12218 if test -z "$BASH_VERSION$ZSH_VERSION" \
12219 && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
12220 as_echo='print -r --'
12221 as_echo_n='print -rn --'
12222 elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
12223 as_echo='printf %s\n'
12224 as_echo_n='printf %s'
12226 if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
12227 as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
12228 as_echo_n='/usr/ucb/echo -n'
12230 as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
12231 as_echo_n_body='eval
12235 expr "X$arg" : "X\\(.*\\)$as_nl";
12236 arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
12238 expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
12240 export as_echo_n_body
12241 as_echo_n='sh -c $as_echo_n_body as_echo'
12243 export as_echo_body
12244 as_echo='sh -c $as_echo_body as_echo'
12247 # The user is always right.
12248 if test "${PATH_SEPARATOR+set}" != set; then
12250 (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
12251 (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
12258 # We need space, tab and new line, in precisely that order. Quoting is
12259 # there to prevent editors from complaining about space-tab.
12260 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
12261 # splitting by setting IFS to empty value.)
12264 # Find who we are. Look in the path if we contain no directory separator.
12267 *[\\/]* ) as_myself=$0 ;;
12268 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12269 for as_dir in $PATH
12272 test -z "$as_dir" && as_dir=.
12273 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
12279 # We did not find ourselves, most probably we were run as `sh COMMAND'
12280 # in which case we are not to be found in the path.
12281 if test "x$as_myself" = x; then
12284 if test ! -f "$as_myself"; then
12285 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
12289 # Unset variables that we do not need and which cause bugs (e.g. in
12290 # pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1"
12291 # suppresses any "Segmentation fault" message there. '((' could
12292 # trigger a bug in pdksh 5.2.14.
12293 for as_var in BASH_ENV ENV MAIL MAILPATH
12294 do eval test x\${$as_var+set} = xset \
12295 && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
12308 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
12311 # as_fn_error STATUS ERROR [LINENO LOG_FD]
12312 # ----------------------------------------
12313 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
12314 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
12315 # script with STATUS, using 1 if that was 0.
12318 as_status=$1; test $as_status -eq 0 && as_status=1
12320 as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
12321 $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
12323 $as_echo "$as_me: error: $2" >&2
12324 as_fn_exit $as_status
12328 # as_fn_set_status STATUS
12329 # -----------------------
12330 # Set $? to STATUS, without forking.
12331 as_fn_set_status ()
12334 } # as_fn_set_status
12336 # as_fn_exit STATUS
12337 # -----------------
12338 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
12342 as_fn_set_status $1
12348 # Portably unset VAR.
12351 { eval $1=; unset $1;}
12353 as_unset=as_fn_unset
12354 # as_fn_append VAR VALUE
12355 # ----------------------
12356 # Append the text in VALUE to the end of the definition contained in VAR. Take
12357 # advantage of any shell optimizations that allow amortized linear growth over
12358 # repeated appends, instead of the typical quadratic growth present in naive
12360 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
12361 eval 'as_fn_append ()
12372 # as_fn_arith ARG...
12373 # ------------------
12374 # Perform arithmetic evaluation on the ARGs, and store the result in the
12375 # global $as_val. Take advantage of shells that can avoid forks. The arguments
12376 # must be portable across $(()) and expr.
12377 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
12378 eval 'as_fn_arith ()
12385 as_val=`expr "$@" || test $? -eq 1`
12390 if expr a : '\(a\)' >/dev/null 2>&1 &&
12391 test "X`expr 00001 : '.*\(...\)'`" = X001; then
12397 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
12398 as_basename=basename
12403 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
12409 as_me=`$as_basename -- "$0" ||
12410 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
12411 X"$0" : 'X\(//\)$' \| \
12412 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
12414 sed '/^.*\/\([^/][^/]*\)\/*$/{
12428 # Avoid depending upon Character Ranges.
12429 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
12430 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
12431 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
12432 as_cr_digits='0123456789'
12433 as_cr_alnum=$as_cr_Letters$as_cr_digits
12435 ECHO_C= ECHO_N= ECHO_T=
12436 case `echo -n x` in #(((((
12438 case `echo 'xy\c'` in
12439 *c*) ECHO_T=' ';; # ECHO_T is single tab character.
12441 *) echo `echo ksh88 bug on AIX 6.1` > /dev/null
12448 rm -f conf$$ conf$$.exe conf$$.file
12449 if test -d conf$$.dir; then
12450 rm -f conf$$.dir/conf$$.file
12453 mkdir conf$$.dir 2>/dev/null
12455 if (echo >conf$$.file) 2>/dev/null; then
12456 if ln -s conf$$.file conf$$ 2>/dev/null; then
12458 # ... but there are two gotchas:
12459 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
12460 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
12461 # In both cases, we have to default to `cp -pR'.
12462 ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
12464 elif ln conf$$.file conf$$ 2>/dev/null; then
12472 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
12473 rmdir conf$$.dir 2>/dev/null
12478 # Create "$as_dir" as a directory, including parents if necessary.
12483 -*) as_dir=./$as_dir;;
12485 test -d "$as_dir" || eval $as_mkdir_p || {
12489 *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
12490 *) as_qdir=$as_dir;;
12492 as_dirs="'$as_qdir' $as_dirs"
12493 as_dir=`$as_dirname -- "$as_dir" ||
12494 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
12495 X"$as_dir" : 'X\(//\)[^/]' \| \
12496 X"$as_dir" : 'X\(//\)$' \| \
12497 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
12498 $as_echo X"$as_dir" |
12499 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
12503 /^X\(\/\/\)[^/].*/{
12516 test -d "$as_dir" && break
12518 test -z "$as_dirs" || eval "mkdir $as_dirs"
12519 } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir"
12523 if mkdir -p . 2>/dev/null; then
12524 as_mkdir_p='mkdir -p "$as_dir"'
12526 test -d ./-p && rmdir ./-p
12531 # as_fn_executable_p FILE
12532 # -----------------------
12533 # Test if FILE is an executable regular file.
12534 as_fn_executable_p ()
12536 test -f "$1" && test -x "$1"
12537 } # as_fn_executable_p
12538 as_test_x='test -x'
12539 as_executable_p=as_fn_executable_p
12541 # Sed expression to map a string onto a valid CPP name.
12542 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
12544 # Sed expression to map a string onto a valid variable name.
12545 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
12549 ## ----------------------------------- ##
12550 ## Main body of $CONFIG_STATUS script. ##
12551 ## ----------------------------------- ##
12553 test $as_write_fail = 0 && chmod +x $CONFIG_STATUS || ac_write_fail=1
12555 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
12556 # Save the log message, to keep $0 and so on meaningful, and to
12557 # report actual input values of CONFIG_FILES etc. instead of their
12558 # values after options handling.
12560 This file was extended by libgee $as_me 0.10.0, which was
12561 generated by GNU Autoconf 2.69. Invocation command line was
12563 CONFIG_FILES = $CONFIG_FILES
12564 CONFIG_HEADERS = $CONFIG_HEADERS
12565 CONFIG_LINKS = $CONFIG_LINKS
12566 CONFIG_COMMANDS = $CONFIG_COMMANDS
12569 on `(hostname || uname -n) 2>/dev/null | sed 1q`
12574 case $ac_config_files in *"
12575 "*) set x $ac_config_files; shift; ac_config_files=$*;;
12578 case $ac_config_headers in *"
12579 "*) set x $ac_config_headers; shift; ac_config_headers=$*;;
12583 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
12584 # Files that config.status was made for.
12585 config_files="$ac_config_files"
12586 config_headers="$ac_config_headers"
12587 config_commands="$ac_config_commands"
12591 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
12593 \`$as_me' instantiates files and other configuration actions
12594 from templates according to the current configuration. Unless the files
12595 and actions are specified as TAGs, all are instantiated by default.
12597 Usage: $0 [OPTION]... [TAG]...
12599 -h, --help print this help, then exit
12600 -V, --version print version number and configuration settings, then exit
12601 --config print configuration, then exit
12602 -q, --quiet, --silent
12603 do not print progress messages
12604 -d, --debug don't remove temporary files
12605 --recheck update $as_me by reconfiguring in the same conditions
12606 --file=FILE[:TEMPLATE]
12607 instantiate the configuration file FILE
12608 --header=FILE[:TEMPLATE]
12609 instantiate the configuration header FILE
12611 Configuration files:
12614 Configuration headers:
12617 Configuration commands:
12620 Report bugs to <https://bugzilla.gnome.org/enter_bug.cgi?product=libgee>."
12623 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
12624 ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`"
12626 libgee config.status 0.10.0
12627 configured by $0, generated by GNU Autoconf 2.69,
12628 with options \\"\$ac_cs_config\\"
12630 Copyright (C) 2012 Free Software Foundation, Inc.
12631 This config.status script is free software; the Free Software Foundation
12632 gives unlimited permission to copy, distribute and modify it."
12639 test -n "\$AWK" || AWK=awk
12642 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
12643 # The default lists apply if the user does not specify any file.
12649 ac_option=`expr "X$1" : 'X\([^=]*\)='`
12650 ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'`
12654 ac_option=`expr "X$1" : 'X\([^=]*\)='`
12666 # Handling of the options.
12667 -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
12669 --version | --versio | --versi | --vers | --ver | --ve | --v | -V )
12670 $as_echo "$ac_cs_version"; exit ;;
12671 --config | --confi | --conf | --con | --co | --c )
12672 $as_echo "$ac_cs_config"; exit ;;
12673 --debug | --debu | --deb | --de | --d | -d )
12675 --file | --fil | --fi | --f )
12678 *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
12679 '') as_fn_error $? "missing file argument" ;;
12681 as_fn_append CONFIG_FILES " '$ac_optarg'"
12682 ac_need_defaults=false;;
12683 --header | --heade | --head | --hea )
12686 *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
12688 as_fn_append CONFIG_HEADERS " '$ac_optarg'"
12689 ac_need_defaults=false;;
12691 # Conflict between --help and --header
12692 as_fn_error $? "ambiguous option: \`$1'
12693 Try \`$0 --help' for more information.";;
12694 --help | --hel | -h )
12695 $as_echo "$ac_cs_usage"; exit ;;
12696 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
12697 | -silent | --silent | --silen | --sile | --sil | --si | --s)
12700 # This is an error.
12701 -*) as_fn_error $? "unrecognized option: \`$1'
12702 Try \`$0 --help' for more information." ;;
12704 *) as_fn_append ac_config_targets " $1"
12705 ac_need_defaults=false ;;
12711 ac_configure_extra_args=
12713 if $ac_cs_silent; then
12715 ac_configure_extra_args="$ac_configure_extra_args --silent"
12719 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
12720 if \$ac_cs_recheck; then
12721 set X $SHELL '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
12723 \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6
12724 CONFIG_SHELL='$SHELL'
12725 export CONFIG_SHELL
12730 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
12734 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
12735 ## Running $as_me. ##
12741 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
12745 AMDEP_TRUE="$AMDEP_TRUE" ac_aux_dir="$ac_aux_dir"
12748 # The HP-UX ksh and POSIX shell print the target directory to stdout
12749 # if CDPATH is set.
12750 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
12752 sed_quote_subst='$sed_quote_subst'
12753 double_quote_subst='$double_quote_subst'
12754 delay_variable_subst='$delay_variable_subst'
12755 enable_static='`$ECHO "$enable_static" | $SED "$delay_single_quote_subst"`'
12756 macro_version='`$ECHO "$macro_version" | $SED "$delay_single_quote_subst"`'
12757 macro_revision='`$ECHO "$macro_revision" | $SED "$delay_single_quote_subst"`'
12758 enable_shared='`$ECHO "$enable_shared" | $SED "$delay_single_quote_subst"`'
12759 pic_mode='`$ECHO "$pic_mode" | $SED "$delay_single_quote_subst"`'
12760 enable_fast_install='`$ECHO "$enable_fast_install" | $SED "$delay_single_quote_subst"`'
12761 SHELL='`$ECHO "$SHELL" | $SED "$delay_single_quote_subst"`'
12762 ECHO='`$ECHO "$ECHO" | $SED "$delay_single_quote_subst"`'
12763 PATH_SEPARATOR='`$ECHO "$PATH_SEPARATOR" | $SED "$delay_single_quote_subst"`'
12764 host_alias='`$ECHO "$host_alias" | $SED "$delay_single_quote_subst"`'
12765 host='`$ECHO "$host" | $SED "$delay_single_quote_subst"`'
12766 host_os='`$ECHO "$host_os" | $SED "$delay_single_quote_subst"`'
12767 build_alias='`$ECHO "$build_alias" | $SED "$delay_single_quote_subst"`'
12768 build='`$ECHO "$build" | $SED "$delay_single_quote_subst"`'
12769 build_os='`$ECHO "$build_os" | $SED "$delay_single_quote_subst"`'
12770 SED='`$ECHO "$SED" | $SED "$delay_single_quote_subst"`'
12771 Xsed='`$ECHO "$Xsed" | $SED "$delay_single_quote_subst"`'
12772 GREP='`$ECHO "$GREP" | $SED "$delay_single_quote_subst"`'
12773 EGREP='`$ECHO "$EGREP" | $SED "$delay_single_quote_subst"`'
12774 FGREP='`$ECHO "$FGREP" | $SED "$delay_single_quote_subst"`'
12775 LD='`$ECHO "$LD" | $SED "$delay_single_quote_subst"`'
12776 NM='`$ECHO "$NM" | $SED "$delay_single_quote_subst"`'
12777 LN_S='`$ECHO "$LN_S" | $SED "$delay_single_quote_subst"`'
12778 max_cmd_len='`$ECHO "$max_cmd_len" | $SED "$delay_single_quote_subst"`'
12779 ac_objext='`$ECHO "$ac_objext" | $SED "$delay_single_quote_subst"`'
12780 exeext='`$ECHO "$exeext" | $SED "$delay_single_quote_subst"`'
12781 lt_unset='`$ECHO "$lt_unset" | $SED "$delay_single_quote_subst"`'
12782 lt_SP2NL='`$ECHO "$lt_SP2NL" | $SED "$delay_single_quote_subst"`'
12783 lt_NL2SP='`$ECHO "$lt_NL2SP" | $SED "$delay_single_quote_subst"`'
12784 lt_cv_to_host_file_cmd='`$ECHO "$lt_cv_to_host_file_cmd" | $SED "$delay_single_quote_subst"`'
12785 lt_cv_to_tool_file_cmd='`$ECHO "$lt_cv_to_tool_file_cmd" | $SED "$delay_single_quote_subst"`'
12786 reload_flag='`$ECHO "$reload_flag" | $SED "$delay_single_quote_subst"`'
12787 reload_cmds='`$ECHO "$reload_cmds" | $SED "$delay_single_quote_subst"`'
12788 OBJDUMP='`$ECHO "$OBJDUMP" | $SED "$delay_single_quote_subst"`'
12789 deplibs_check_method='`$ECHO "$deplibs_check_method" | $SED "$delay_single_quote_subst"`'
12790 file_magic_cmd='`$ECHO "$file_magic_cmd" | $SED "$delay_single_quote_subst"`'
12791 file_magic_glob='`$ECHO "$file_magic_glob" | $SED "$delay_single_quote_subst"`'
12792 want_nocaseglob='`$ECHO "$want_nocaseglob" | $SED "$delay_single_quote_subst"`'
12793 DLLTOOL='`$ECHO "$DLLTOOL" | $SED "$delay_single_quote_subst"`'
12794 sharedlib_from_linklib_cmd='`$ECHO "$sharedlib_from_linklib_cmd" | $SED "$delay_single_quote_subst"`'
12795 AR='`$ECHO "$AR" | $SED "$delay_single_quote_subst"`'
12796 AR_FLAGS='`$ECHO "$AR_FLAGS" | $SED "$delay_single_quote_subst"`'
12797 archiver_list_spec='`$ECHO "$archiver_list_spec" | $SED "$delay_single_quote_subst"`'
12798 STRIP='`$ECHO "$STRIP" | $SED "$delay_single_quote_subst"`'
12799 RANLIB='`$ECHO "$RANLIB" | $SED "$delay_single_quote_subst"`'
12800 old_postinstall_cmds='`$ECHO "$old_postinstall_cmds" | $SED "$delay_single_quote_subst"`'
12801 old_postuninstall_cmds='`$ECHO "$old_postuninstall_cmds" | $SED "$delay_single_quote_subst"`'
12802 old_archive_cmds='`$ECHO "$old_archive_cmds" | $SED "$delay_single_quote_subst"`'
12803 lock_old_archive_extraction='`$ECHO "$lock_old_archive_extraction" | $SED "$delay_single_quote_subst"`'
12804 CC='`$ECHO "$CC" | $SED "$delay_single_quote_subst"`'
12805 CFLAGS='`$ECHO "$CFLAGS" | $SED "$delay_single_quote_subst"`'
12806 compiler='`$ECHO "$compiler" | $SED "$delay_single_quote_subst"`'
12807 GCC='`$ECHO "$GCC" | $SED "$delay_single_quote_subst"`'
12808 lt_cv_sys_global_symbol_pipe='`$ECHO "$lt_cv_sys_global_symbol_pipe" | $SED "$delay_single_quote_subst"`'
12809 lt_cv_sys_global_symbol_to_cdecl='`$ECHO "$lt_cv_sys_global_symbol_to_cdecl" | $SED "$delay_single_quote_subst"`'
12810 lt_cv_sys_global_symbol_to_c_name_address='`$ECHO "$lt_cv_sys_global_symbol_to_c_name_address" | $SED "$delay_single_quote_subst"`'
12811 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"`'
12812 nm_file_list_spec='`$ECHO "$nm_file_list_spec" | $SED "$delay_single_quote_subst"`'
12813 lt_sysroot='`$ECHO "$lt_sysroot" | $SED "$delay_single_quote_subst"`'
12814 objdir='`$ECHO "$objdir" | $SED "$delay_single_quote_subst"`'
12815 MAGIC_CMD='`$ECHO "$MAGIC_CMD" | $SED "$delay_single_quote_subst"`'
12816 lt_prog_compiler_no_builtin_flag='`$ECHO "$lt_prog_compiler_no_builtin_flag" | $SED "$delay_single_quote_subst"`'
12817 lt_prog_compiler_pic='`$ECHO "$lt_prog_compiler_pic" | $SED "$delay_single_quote_subst"`'
12818 lt_prog_compiler_wl='`$ECHO "$lt_prog_compiler_wl" | $SED "$delay_single_quote_subst"`'
12819 lt_prog_compiler_static='`$ECHO "$lt_prog_compiler_static" | $SED "$delay_single_quote_subst"`'
12820 lt_cv_prog_compiler_c_o='`$ECHO "$lt_cv_prog_compiler_c_o" | $SED "$delay_single_quote_subst"`'
12821 need_locks='`$ECHO "$need_locks" | $SED "$delay_single_quote_subst"`'
12822 MANIFEST_TOOL='`$ECHO "$MANIFEST_TOOL" | $SED "$delay_single_quote_subst"`'
12823 DSYMUTIL='`$ECHO "$DSYMUTIL" | $SED "$delay_single_quote_subst"`'
12824 NMEDIT='`$ECHO "$NMEDIT" | $SED "$delay_single_quote_subst"`'
12825 LIPO='`$ECHO "$LIPO" | $SED "$delay_single_quote_subst"`'
12826 OTOOL='`$ECHO "$OTOOL" | $SED "$delay_single_quote_subst"`'
12827 OTOOL64='`$ECHO "$OTOOL64" | $SED "$delay_single_quote_subst"`'
12828 libext='`$ECHO "$libext" | $SED "$delay_single_quote_subst"`'
12829 shrext_cmds='`$ECHO "$shrext_cmds" | $SED "$delay_single_quote_subst"`'
12830 extract_expsyms_cmds='`$ECHO "$extract_expsyms_cmds" | $SED "$delay_single_quote_subst"`'
12831 archive_cmds_need_lc='`$ECHO "$archive_cmds_need_lc" | $SED "$delay_single_quote_subst"`'
12832 enable_shared_with_static_runtimes='`$ECHO "$enable_shared_with_static_runtimes" | $SED "$delay_single_quote_subst"`'
12833 export_dynamic_flag_spec='`$ECHO "$export_dynamic_flag_spec" | $SED "$delay_single_quote_subst"`'
12834 whole_archive_flag_spec='`$ECHO "$whole_archive_flag_spec" | $SED "$delay_single_quote_subst"`'
12835 compiler_needs_object='`$ECHO "$compiler_needs_object" | $SED "$delay_single_quote_subst"`'
12836 old_archive_from_new_cmds='`$ECHO "$old_archive_from_new_cmds" | $SED "$delay_single_quote_subst"`'
12837 old_archive_from_expsyms_cmds='`$ECHO "$old_archive_from_expsyms_cmds" | $SED "$delay_single_quote_subst"`'
12838 archive_cmds='`$ECHO "$archive_cmds" | $SED "$delay_single_quote_subst"`'
12839 archive_expsym_cmds='`$ECHO "$archive_expsym_cmds" | $SED "$delay_single_quote_subst"`'
12840 module_cmds='`$ECHO "$module_cmds" | $SED "$delay_single_quote_subst"`'
12841 module_expsym_cmds='`$ECHO "$module_expsym_cmds" | $SED "$delay_single_quote_subst"`'
12842 with_gnu_ld='`$ECHO "$with_gnu_ld" | $SED "$delay_single_quote_subst"`'
12843 allow_undefined_flag='`$ECHO "$allow_undefined_flag" | $SED "$delay_single_quote_subst"`'
12844 no_undefined_flag='`$ECHO "$no_undefined_flag" | $SED "$delay_single_quote_subst"`'
12845 hardcode_libdir_flag_spec='`$ECHO "$hardcode_libdir_flag_spec" | $SED "$delay_single_quote_subst"`'
12846 hardcode_libdir_separator='`$ECHO "$hardcode_libdir_separator" | $SED "$delay_single_quote_subst"`'
12847 hardcode_direct='`$ECHO "$hardcode_direct" | $SED "$delay_single_quote_subst"`'
12848 hardcode_direct_absolute='`$ECHO "$hardcode_direct_absolute" | $SED "$delay_single_quote_subst"`'
12849 hardcode_minus_L='`$ECHO "$hardcode_minus_L" | $SED "$delay_single_quote_subst"`'
12850 hardcode_shlibpath_var='`$ECHO "$hardcode_shlibpath_var" | $SED "$delay_single_quote_subst"`'
12851 hardcode_automatic='`$ECHO "$hardcode_automatic" | $SED "$delay_single_quote_subst"`'
12852 inherit_rpath='`$ECHO "$inherit_rpath" | $SED "$delay_single_quote_subst"`'
12853 link_all_deplibs='`$ECHO "$link_all_deplibs" | $SED "$delay_single_quote_subst"`'
12854 always_export_symbols='`$ECHO "$always_export_symbols" | $SED "$delay_single_quote_subst"`'
12855 export_symbols_cmds='`$ECHO "$export_symbols_cmds" | $SED "$delay_single_quote_subst"`'
12856 exclude_expsyms='`$ECHO "$exclude_expsyms" | $SED "$delay_single_quote_subst"`'
12857 include_expsyms='`$ECHO "$include_expsyms" | $SED "$delay_single_quote_subst"`'
12858 prelink_cmds='`$ECHO "$prelink_cmds" | $SED "$delay_single_quote_subst"`'
12859 postlink_cmds='`$ECHO "$postlink_cmds" | $SED "$delay_single_quote_subst"`'
12860 file_list_spec='`$ECHO "$file_list_spec" | $SED "$delay_single_quote_subst"`'
12861 variables_saved_for_relink='`$ECHO "$variables_saved_for_relink" | $SED "$delay_single_quote_subst"`'
12862 need_lib_prefix='`$ECHO "$need_lib_prefix" | $SED "$delay_single_quote_subst"`'
12863 need_version='`$ECHO "$need_version" | $SED "$delay_single_quote_subst"`'
12864 version_type='`$ECHO "$version_type" | $SED "$delay_single_quote_subst"`'
12865 runpath_var='`$ECHO "$runpath_var" | $SED "$delay_single_quote_subst"`'
12866 shlibpath_var='`$ECHO "$shlibpath_var" | $SED "$delay_single_quote_subst"`'
12867 shlibpath_overrides_runpath='`$ECHO "$shlibpath_overrides_runpath" | $SED "$delay_single_quote_subst"`'
12868 libname_spec='`$ECHO "$libname_spec" | $SED "$delay_single_quote_subst"`'
12869 library_names_spec='`$ECHO "$library_names_spec" | $SED "$delay_single_quote_subst"`'
12870 soname_spec='`$ECHO "$soname_spec" | $SED "$delay_single_quote_subst"`'
12871 install_override_mode='`$ECHO "$install_override_mode" | $SED "$delay_single_quote_subst"`'
12872 postinstall_cmds='`$ECHO "$postinstall_cmds" | $SED "$delay_single_quote_subst"`'
12873 postuninstall_cmds='`$ECHO "$postuninstall_cmds" | $SED "$delay_single_quote_subst"`'
12874 finish_cmds='`$ECHO "$finish_cmds" | $SED "$delay_single_quote_subst"`'
12875 finish_eval='`$ECHO "$finish_eval" | $SED "$delay_single_quote_subst"`'
12876 hardcode_into_libs='`$ECHO "$hardcode_into_libs" | $SED "$delay_single_quote_subst"`'
12877 sys_lib_search_path_spec='`$ECHO "$sys_lib_search_path_spec" | $SED "$delay_single_quote_subst"`'
12878 sys_lib_dlsearch_path_spec='`$ECHO "$sys_lib_dlsearch_path_spec" | $SED "$delay_single_quote_subst"`'
12879 hardcode_action='`$ECHO "$hardcode_action" | $SED "$delay_single_quote_subst"`'
12880 enable_dlopen='`$ECHO "$enable_dlopen" | $SED "$delay_single_quote_subst"`'
12881 enable_dlopen_self='`$ECHO "$enable_dlopen_self" | $SED "$delay_single_quote_subst"`'
12882 enable_dlopen_self_static='`$ECHO "$enable_dlopen_self_static" | $SED "$delay_single_quote_subst"`'
12883 old_striplib='`$ECHO "$old_striplib" | $SED "$delay_single_quote_subst"`'
12884 striplib='`$ECHO "$striplib" | $SED "$delay_single_quote_subst"`'
12887 LTCFLAGS='$LTCFLAGS'
12888 compiler='$compiler_DEFAULT'
12890 # A function that is used when there is no print builtin or printf.
12891 func_fallback_echo ()
12893 eval 'cat <<_LTECHO_EOF
12898 # Quote evaled strings.
12913 deplibs_check_method \
12918 sharedlib_from_linklib_cmd \
12921 archiver_list_spec \
12927 lt_cv_sys_global_symbol_pipe \
12928 lt_cv_sys_global_symbol_to_cdecl \
12929 lt_cv_sys_global_symbol_to_c_name_address \
12930 lt_cv_sys_global_symbol_to_c_name_address_lib_prefix \
12931 nm_file_list_spec \
12932 lt_prog_compiler_no_builtin_flag \
12933 lt_prog_compiler_pic \
12934 lt_prog_compiler_wl \
12935 lt_prog_compiler_static \
12936 lt_cv_prog_compiler_c_o \
12945 export_dynamic_flag_spec \
12946 whole_archive_flag_spec \
12947 compiler_needs_object \
12949 allow_undefined_flag \
12950 no_undefined_flag \
12951 hardcode_libdir_flag_spec \
12952 hardcode_libdir_separator \
12956 variables_saved_for_relink \
12958 library_names_spec \
12960 install_override_mode \
12964 case \`eval \\\\\$ECHO \\\\""\\\\\$\$var"\\\\"\` in
12965 *[\\\\\\\`\\"\\\$]*)
12966 eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"\\\$\$var\\" | \\\$SED \\"\\\$sed_quote_subst\\"\\\`\\\\\\""
12969 eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
12974 # Double-quote double-evaled strings.
12975 for var in reload_cmds \
12976 old_postinstall_cmds \
12977 old_postuninstall_cmds \
12979 extract_expsyms_cmds \
12980 old_archive_from_new_cmds \
12981 old_archive_from_expsyms_cmds \
12983 archive_expsym_cmds \
12985 module_expsym_cmds \
12986 export_symbols_cmds \
12990 postuninstall_cmds \
12992 sys_lib_search_path_spec \
12993 sys_lib_dlsearch_path_spec; do
12994 case \`eval \\\\\$ECHO \\\\""\\\\\$\$var"\\\\"\` in
12995 *[\\\\\\\`\\"\\\$]*)
12996 eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"\\\$\$var\\" | \\\$SED -e \\"\\\$double_quote_subst\\" -e \\"\\\$sed_quote_subst\\" -e \\"\\\$delay_variable_subst\\"\\\`\\\\\\""
12999 eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
13004 ac_aux_dir='$ac_aux_dir'
13005 xsi_shell='$xsi_shell'
13006 lt_shell_append='$lt_shell_append'
13008 # See if we are running on zsh, and set the options which allow our
13009 # commands through without removal of \ escapes INIT.
13010 if test -n "\${ZSH_VERSION+set}" ; then
13011 setopt NO_GLOB_SUBST
13017 TIMESTAMP='$TIMESTAMP'
13026 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
13028 # Handling of arguments.
13029 for ac_config_target in $ac_config_targets
13031 case $ac_config_target in
13032 "config.h") CONFIG_HEADERS="$CONFIG_HEADERS config.h" ;;
13033 "depfiles") CONFIG_COMMANDS="$CONFIG_COMMANDS depfiles" ;;
13034 "libtool") CONFIG_COMMANDS="$CONFIG_COMMANDS libtool" ;;
13035 "Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;;
13036 "gee-0.8.pc") CONFIG_FILES="$CONFIG_FILES gee-0.8.pc" ;;
13037 "benchmark/Makefile") CONFIG_FILES="$CONFIG_FILES benchmark/Makefile" ;;
13038 "doc/Makefile") CONFIG_FILES="$CONFIG_FILES doc/Makefile" ;;
13039 "gee/Makefile") CONFIG_FILES="$CONFIG_FILES gee/Makefile" ;;
13040 "tests/Makefile") CONFIG_FILES="$CONFIG_FILES tests/Makefile" ;;
13042 *) as_fn_error $? "invalid argument: \`$ac_config_target'" "$LINENO" 5;;
13047 # If the user did not use the arguments to specify the items to instantiate,
13048 # then the envvar interface is used. Set only those that are not.
13049 # We use the long form for the default assignment because of an extremely
13050 # bizarre bug on SunOS 4.1.3.
13051 if $ac_need_defaults; then
13052 test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
13053 test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS=$config_headers
13054 test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS=$config_commands
13057 # Have a temporary directory for convenience. Make it in the build tree
13058 # simply because there is no reason against having it here, and in addition,
13059 # creating and moving files from /tmp can sometimes cause problems.
13060 # Hook for its removal unless debugging.
13061 # Note that there is a small window in which the directory will not be cleaned:
13062 # after its creation but before its name has been assigned to `$tmp'.
13066 trap 'exit_status=$?
13067 : "${ac_tmp:=$tmp}"
13068 { test ! -d "$ac_tmp" || rm -fr "$ac_tmp"; } && exit $exit_status
13070 trap 'as_fn_exit 1' 1 2 13 15
13072 # Create a (secure) tmp directory for tmp files.
13075 tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
13079 tmp=./conf$$-$RANDOM
13080 (umask 077 && mkdir "$tmp")
13081 } || as_fn_error $? "cannot create a temporary directory in ." "$LINENO" 5
13084 # Set up the scripts for CONFIG_FILES section.
13085 # No need to generate them if there are no CONFIG_FILES.
13086 # This happens for instance with `./config.status config.h'.
13087 if test -n "$CONFIG_FILES"; then
13090 ac_cr=`echo X | tr X '\015'`
13091 # On cygwin, bash can eat \r inside `` if the user requested igncr.
13092 # But we know of no other shell where ac_cr would be empty at this
13093 # point, so we can use a bashism as a fallback.
13094 if test "x$ac_cr" = x; then
13095 eval ac_cr=\$\'\\r\'
13097 ac_cs_awk_cr=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
13098 if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
13101 ac_cs_awk_cr=$ac_cr
13104 echo 'BEGIN {' >"$ac_tmp/subs1.awk" &&
13109 echo "cat >conf$$subs.awk <<_ACEOF" &&
13110 echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
13112 } >conf$$subs.sh ||
13113 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
13114 ac_delim_num=`echo "$ac_subst_vars" | grep -c '^'`
13116 for ac_last_try in false false false false false :; do
13117 . ./conf$$subs.sh ||
13118 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
13120 ac_delim_n=`sed -n "s/.*$ac_delim\$/X/p" conf$$subs.awk | grep -c X`
13121 if test $ac_delim_n = $ac_delim_num; then
13123 elif $ac_last_try; then
13124 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
13126 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
13129 rm -f conf$$subs.sh
13131 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
13132 cat >>"\$ac_tmp/subs1.awk" <<\\_ACAWK &&
13136 s/^/S["/; s/!.*/"]=/
13146 s/\(.\{148\}\)..*/\1/
13148 s/["\\]/\\&/g; s/^/"/; s/$/\\n"\\/
13153 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
13160 s/\(.\{148\}\)..*/\1/
13162 s/["\\]/\\&/g; s/^/"/; s/$/"/
13166 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
13171 ' <conf$$subs.awk | sed '
13176 ' >>$CONFIG_STATUS || ac_write_fail=1
13177 rm -f conf$$subs.awk
13178 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
13180 cat >>"\$ac_tmp/subs1.awk" <<_ACAWK &&
13181 for (key in S) S_is_set[key] = 1
13187 nfields = split(line, field, "@")
13189 len = length(field[1])
13190 for (i = 2; i < nfields; i++) {
13192 keylen = length(key)
13193 if (S_is_set[key]) {
13195 line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3)
13196 len += length(value) + length(field[++i])
13207 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
13208 if sed "s/$ac_cr//" < /dev/null > /dev/null 2>&1; then
13209 sed "s/$ac_cr\$//; s/$ac_cr/$ac_cs_awk_cr/g"
13212 fi < "$ac_tmp/subs1.awk" > "$ac_tmp/subs.awk" \
13213 || as_fn_error $? "could not setup config files machinery" "$LINENO" 5
13216 # VPATH may cause trouble with some makes, so we remove sole $(srcdir),
13217 # ${srcdir} and @srcdir@ entries from VPATH if srcdir is ".", strip leading and
13218 # trailing colons and then remove the whole line if VPATH becomes empty
13219 # (actually we leave an empty line to preserve line numbers).
13220 if test "x$srcdir" = x.; then
13221 ac_vpsub='/^[ ]*VPATH[ ]*=[ ]*/{
13239 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
13240 fi # test -n "$CONFIG_FILES"
13242 # Set up the scripts for CONFIG_HEADERS section.
13243 # No need to generate them if there are no CONFIG_HEADERS.
13244 # This happens for instance with `./config.status Makefile'.
13245 if test -n "$CONFIG_HEADERS"; then
13246 cat >"$ac_tmp/defines.awk" <<\_ACAWK ||
13250 # Transform confdefs.h into an awk script `defines.awk', embedded as
13251 # here-document in config.status, that substitutes the proper values into
13252 # config.h.in to produce config.h.
13254 # Create a delimiter string that does not exist in confdefs.h, to ease
13255 # handling of long lines.
13257 for ac_last_try in false false :; do
13258 ac_tt=`sed -n "/$ac_delim/p" confdefs.h`
13259 if test -z "$ac_tt"; then
13261 elif $ac_last_try; then
13262 as_fn_error $? "could not make $CONFIG_HEADERS" "$LINENO" 5
13264 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
13268 # For the awk script, D is an array of macro values keyed by name,
13269 # likewise P contains macro parameters if any. Preserve backslash
13270 # newline sequences.
13272 ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]*
13274 s/.\{148\}/&'"$ac_delim"'/g
13277 s/^[ ]*#[ ]*define[ ][ ]*/ /
13284 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\1"]="\2"\
13286 s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\1"]=" \2"/p
13290 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\1"]="\2"\
13291 D["\1"]=" \3\\\\\\n"\\/p
13293 s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\1"]=" \2\\\\\\n"\\/p
13298 s/.\{148\}/&'"$ac_delim"'/g
13303 s/["\\]/\\&/g; s/^/"/; s/$/"/p
13306 s/["\\]/\\&/g; s/^/"/; s/$/\\\\\\n"\\/p
13308 ' <confdefs.h | sed '
13309 s/'"$ac_delim"'/"\\\
13310 "/g' >>$CONFIG_STATUS || ac_write_fail=1
13312 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
13313 for (key in D) D_is_set[key] = 1
13316 /^[\t ]*#[\t ]*(define|undef)[\t ]+$ac_word_re([\t (]|\$)/ {
13318 split(line, arg, " ")
13319 if (arg[1] == "#") {
13323 defundef = substr(arg[1], 2)
13326 split(mac1, mac2, "(") #)
13328 prefix = substr(line, 1, index(line, defundef) - 1)
13329 if (D_is_set[macro]) {
13330 # Preserve the white space surrounding the "#".
13331 print prefix "define", macro P[macro] D[macro]
13334 # Replace #undef with comments. This is necessary, for example,
13335 # in the case of _POSIX_SOURCE, which is predefined and required
13336 # on some systems where configure will not decide to define it.
13337 if (defundef == "undef") {
13338 print "/*", prefix defundef, macro, "*/"
13346 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
13347 as_fn_error $? "could not setup config headers machinery" "$LINENO" 5
13348 fi # test -n "$CONFIG_HEADERS"
13351 eval set X " :F $CONFIG_FILES :H $CONFIG_HEADERS :C $CONFIG_COMMANDS"
13356 :[FHLC]) ac_mode=$ac_tag; continue;;
13358 case $ac_mode$ac_tag in
13360 :L* | :C*:*) as_fn_error $? "invalid tag \`$ac_tag'" "$LINENO" 5;;
13361 :[FH]-) ac_tag=-:-;;
13362 :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
13379 -) ac_f="$ac_tmp/stdin";;
13380 *) # Look for the file first in the build tree, then in the source tree
13381 # (if the path is not absolute). The absolute path cannot be DOS-style,
13382 # because $ac_f cannot contain `:'.
13386 *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
13388 as_fn_error 1 "cannot find input file: \`$ac_f'" "$LINENO" 5;;
13390 case $ac_f in *\'*) ac_f=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
13391 as_fn_append ac_file_inputs " '$ac_f'"
13394 # Let's still pretend it is `configure' which instantiates (i.e., don't
13395 # use $as_me), people would be surprised to read:
13396 # /* config.h. Generated by config.status. */
13397 configure_input='Generated from '`
13398 $as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
13400 if test x"$ac_file" != x-; then
13401 configure_input="$ac_file. $configure_input"
13402 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5
13403 $as_echo "$as_me: creating $ac_file" >&6;}
13405 # Neutralize special characters interpreted by sed in replacement strings.
13406 case $configure_input in #(
13407 *\&* | *\|* | *\\* )
13408 ac_sed_conf_input=`$as_echo "$configure_input" |
13409 sed 's/[\\\\&|]/\\\\&/g'`;; #(
13410 *) ac_sed_conf_input=$configure_input;;
13414 *:-:* | *:-) cat >"$ac_tmp/stdin" \
13415 || as_fn_error $? "could not create $ac_file" "$LINENO" 5 ;;
13420 ac_dir=`$as_dirname -- "$ac_file" ||
13421 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
13422 X"$ac_file" : 'X\(//\)[^/]' \| \
13423 X"$ac_file" : 'X\(//\)$' \| \
13424 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
13425 $as_echo X"$ac_file" |
13426 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
13430 /^X\(\/\/\)[^/].*/{
13443 as_dir="$ac_dir"; as_fn_mkdir_p
13447 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
13449 ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
13450 # A ".." for each directory in $ac_dir_suffix.
13451 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
13452 case $ac_top_builddir_sub in
13453 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
13454 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
13457 ac_abs_top_builddir=$ac_pwd
13458 ac_abs_builddir=$ac_pwd$ac_dir_suffix
13459 # for backward compatibility:
13460 ac_top_builddir=$ac_top_build_prefix
13463 .) # We are building in place.
13465 ac_top_srcdir=$ac_top_builddir_sub
13466 ac_abs_top_srcdir=$ac_pwd ;;
13467 [\\/]* | ?:[\\/]* ) # Absolute name.
13468 ac_srcdir=$srcdir$ac_dir_suffix;
13469 ac_top_srcdir=$srcdir
13470 ac_abs_top_srcdir=$srcdir ;;
13471 *) # Relative name.
13472 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
13473 ac_top_srcdir=$ac_top_build_prefix$srcdir
13474 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
13476 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
13486 [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
13487 *) ac_INSTALL=$ac_top_build_prefix$INSTALL ;;
13489 ac_MKDIR_P=$MKDIR_P
13491 [\\/$]* | ?:[\\/]* ) ;;
13492 */*) ac_MKDIR_P=$ac_top_build_prefix$MKDIR_P ;;
13496 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
13497 # If the template does not know about datarootdir, expand it.
13498 # FIXME: This hack should be removed a few years after 2.60.
13499 ac_datarootdir_hack=; ac_datarootdir_seen=
13510 case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in
13511 *datarootdir*) ac_datarootdir_seen=yes;;
13512 *@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*)
13513 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
13514 $as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
13516 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
13517 ac_datarootdir_hack='
13518 s&@datadir@&$datadir&g
13519 s&@docdir@&$docdir&g
13520 s&@infodir@&$infodir&g
13521 s&@localedir@&$localedir&g
13522 s&@mandir@&$mandir&g
13523 s&\\\${datarootdir}&$datarootdir&g' ;;
13527 # Neutralize VPATH when `$srcdir' = `.'.
13528 # Shell code in configure.ac might set extrasub.
13529 # FIXME: do we really want to maintain this feature?
13530 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
13531 ac_sed_extra="$ac_vpsub
13534 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
13536 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
13537 s|@configure_input@|$ac_sed_conf_input|;t t
13538 s&@top_builddir@&$ac_top_builddir_sub&;t t
13539 s&@top_build_prefix@&$ac_top_build_prefix&;t t
13540 s&@srcdir@&$ac_srcdir&;t t
13541 s&@abs_srcdir@&$ac_abs_srcdir&;t t
13542 s&@top_srcdir@&$ac_top_srcdir&;t t
13543 s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t
13544 s&@builddir@&$ac_builddir&;t t
13545 s&@abs_builddir@&$ac_abs_builddir&;t t
13546 s&@abs_top_builddir@&$ac_abs_top_builddir&;t t
13547 s&@INSTALL@&$ac_INSTALL&;t t
13548 s&@MKDIR_P@&$ac_MKDIR_P&;t t
13549 $ac_datarootdir_hack
13551 eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$ac_tmp/subs.awk" \
13552 >$ac_tmp/out || as_fn_error $? "could not create $ac_file" "$LINENO" 5
13554 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
13555 { ac_out=`sed -n '/\${datarootdir}/p' "$ac_tmp/out"`; test -n "$ac_out"; } &&
13556 { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' \
13557 "$ac_tmp/out"`; test -z "$ac_out"; } &&
13558 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file contains a reference to the variable \`datarootdir'
13559 which seems to be undefined. Please make sure it is defined" >&5
13560 $as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir'
13561 which seems to be undefined. Please make sure it is defined" >&2;}
13563 rm -f "$ac_tmp/stdin"
13565 -) cat "$ac_tmp/out" && rm -f "$ac_tmp/out";;
13566 *) rm -f "$ac_file" && mv "$ac_tmp/out" "$ac_file";;
13568 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
13574 if test x"$ac_file" != x-; then
13576 $as_echo "/* $configure_input */" \
13577 && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs"
13578 } >"$ac_tmp/config.h" \
13579 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
13580 if diff "$ac_file" "$ac_tmp/config.h" >/dev/null 2>&1; then
13581 { $as_echo "$as_me:${as_lineno-$LINENO}: $ac_file is unchanged" >&5
13582 $as_echo "$as_me: $ac_file is unchanged" >&6;}
13585 mv "$ac_tmp/config.h" "$ac_file" \
13586 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
13589 $as_echo "/* $configure_input */" \
13590 && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs" \
13591 || as_fn_error $? "could not create -" "$LINENO" 5
13593 # Compute "$ac_file"'s index in $config_headers.
13596 for _am_header in $config_headers :; do
13597 case $_am_header in
13598 $_am_arg | $_am_arg:* )
13601 _am_stamp_count=`expr $_am_stamp_count + 1` ;;
13604 echo "timestamp for $_am_arg" >`$as_dirname -- "$_am_arg" ||
13605 $as_expr X"$_am_arg" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
13606 X"$_am_arg" : 'X\(//\)[^/]' \| \
13607 X"$_am_arg" : 'X\(//\)$' \| \
13608 X"$_am_arg" : 'X\(/\)' \| . 2>/dev/null ||
13609 $as_echo X"$_am_arg" |
13610 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
13614 /^X\(\/\/\)[^/].*/{
13626 s/.*/./; q'`/stamp-h$_am_stamp_count
13629 :C) { $as_echo "$as_me:${as_lineno-$LINENO}: executing $ac_file commands" >&5
13630 $as_echo "$as_me: executing $ac_file commands" >&6;}
13635 case $ac_file$ac_mode in
13636 "depfiles":C) test x"$AMDEP_TRUE" != x"" || {
13637 # Autoconf 2.62 quotes --file arguments for eval, but not when files
13638 # are listed without --file. Let's play safe and only enable the eval
13639 # if we detect the quoting.
13640 case $CONFIG_FILES in
13641 *\'*) eval set x "$CONFIG_FILES" ;;
13642 *) set x $CONFIG_FILES ;;
13647 # Strip MF so we end up with the name of the file.
13648 mf=`echo "$mf" | sed -e 's/:.*$//'`
13649 # Check whether this is an Automake generated Makefile or not.
13650 # We used to match only the files named `Makefile.in', but
13651 # some people rename them; so instead we look at the file content.
13652 # Grep'ing the first line is not enough: some people post-process
13653 # each Makefile.in and add a new line on top of each file to say so.
13654 # Grep'ing the whole file is not good either: AIX grep has a line
13655 # limit of 2048, but all sed's we know have understand at least 4000.
13656 if sed -n 's,^#.*generated by automake.*,X,p' "$mf" | grep X >/dev/null 2>&1; then
13657 dirpart=`$as_dirname -- "$mf" ||
13658 $as_expr X"$mf" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
13659 X"$mf" : 'X\(//\)[^/]' \| \
13660 X"$mf" : 'X\(//\)$' \| \
13661 X"$mf" : 'X\(/\)' \| . 2>/dev/null ||
13663 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
13667 /^X\(\/\/\)[^/].*/{
13683 # Extract the definition of DEPDIR, am__include, and am__quote
13684 # from the Makefile without running `make'.
13685 DEPDIR=`sed -n 's/^DEPDIR = //p' < "$mf"`
13686 test -z "$DEPDIR" && continue
13687 am__include=`sed -n 's/^am__include = //p' < "$mf"`
13688 test -z "am__include" && continue
13689 am__quote=`sed -n 's/^am__quote = //p' < "$mf"`
13690 # When using ansi2knr, U may be empty or an underscore; expand it
13691 U=`sed -n 's/^U = //p' < "$mf"`
13692 # Find all dependency output files, they are included files with
13693 # $(DEPDIR) in their names. We invoke sed twice because it is the
13694 # simplest approach to changing $(DEPDIR) to its actual value in the
13696 for file in `sed -n "
13697 s/^$am__include $am__quote\(.*(DEPDIR).*\)$am__quote"'$/\1/p' <"$mf" | \
13698 sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g' -e 's/\$U/'"$U"'/g'`; do
13699 # Make sure the directory exists.
13700 test -f "$dirpart/$file" && continue
13701 fdir=`$as_dirname -- "$file" ||
13702 $as_expr X"$file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
13703 X"$file" : 'X\(//\)[^/]' \| \
13704 X"$file" : 'X\(//\)$' \| \
13705 X"$file" : 'X\(/\)' \| . 2>/dev/null ||
13706 $as_echo X"$file" |
13707 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
13711 /^X\(\/\/\)[^/].*/{
13724 as_dir=$dirpart/$fdir; as_fn_mkdir_p
13725 # echo "creating $dirpart/$file"
13726 echo '# dummy' > "$dirpart/$file"
13733 # See if we are running on zsh, and set the options which allow our
13734 # commands through without removal of \ escapes.
13735 if test -n "${ZSH_VERSION+set}" ; then
13736 setopt NO_GLOB_SUBST
13739 cfgfile="${ofile}T"
13740 trap "$RM \"$cfgfile\"; exit 1" 1 2 15
13743 cat <<_LT_EOF >> "$cfgfile"
13746 # `$ECHO "$ofile" | sed 's%^.*/%%'` - Provide generalized library-building support services.
13747 # Generated automatically by $as_me ($PACKAGE$TIMESTAMP) $VERSION
13748 # Libtool was configured on host `(hostname || uname -n) 2>/dev/null | sed 1q`:
13749 # NOTE: Changes made to this file will be lost: look at ltmain.sh.
13751 # Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2003, 2004, 2005,
13752 # 2006, 2007, 2008, 2009, 2010, 2011 Free Software
13754 # Written by Gordon Matzigkeit, 1996
13756 # This file is part of GNU Libtool.
13758 # GNU Libtool is free software; you can redistribute it and/or
13759 # modify it under the terms of the GNU General Public License as
13760 # published by the Free Software Foundation; either version 2 of
13761 # the License, or (at your option) any later version.
13763 # As a special exception to the GNU General Public License,
13764 # if you distribute this file as part of a program or library that
13765 # is built using GNU Libtool, you may include this file under the
13766 # same distribution terms that you use for the rest of that program.
13768 # GNU Libtool is distributed in the hope that it will be useful,
13769 # but WITHOUT ANY WARRANTY; without even the implied warranty of
13770 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
13771 # GNU General Public License for more details.
13773 # You should have received a copy of the GNU General Public License
13774 # along with GNU Libtool; see the file COPYING. If not, a copy
13775 # can be downloaded from http://www.gnu.org/licenses/gpl.html, or
13776 # obtained by writing to the Free Software Foundation, Inc.,
13777 # 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
13780 # The names of the tagged configurations supported by this script.
13783 # ### BEGIN LIBTOOL CONFIG
13785 # Whether or not to build static libraries.
13786 build_old_libs=$enable_static
13788 # Which release of libtool.m4 was used?
13789 macro_version=$macro_version
13790 macro_revision=$macro_revision
13792 # Whether or not to build shared libraries.
13793 build_libtool_libs=$enable_shared
13795 # What type of objects to build.
13798 # Whether or not to optimize for fast installation.
13799 fast_install=$enable_fast_install
13801 # Shell to use when invoking shell scripts.
13804 # An echo program that protects backslashes.
13807 # The PATH separator for the build system.
13808 PATH_SEPARATOR=$lt_PATH_SEPARATOR
13811 host_alias=$host_alias
13815 # The build system.
13816 build_alias=$build_alias
13820 # A sed program that does not truncate output.
13823 # Sed that helps us avoid accidentally triggering echo(1) options like -n.
13824 Xsed="\$SED -e 1s/^X//"
13826 # A grep program that handles long lines.
13832 # A literal string matcher.
13835 # A BSD- or MS-compatible name lister.
13838 # Whether we need soft or hard links.
13841 # What is the maximum length of a command?
13842 max_cmd_len=$max_cmd_len
13844 # Object file suffix (normally "o").
13847 # Executable file suffix (normally "").
13850 # whether the shell understands "unset".
13853 # turn spaces into newlines.
13856 # turn newlines into spaces.
13859 # convert \$build file names to \$host format.
13860 to_host_file_cmd=$lt_cv_to_host_file_cmd
13862 # convert \$build files to toolchain format.
13863 to_tool_file_cmd=$lt_cv_to_tool_file_cmd
13865 # An object symbol dumper.
13866 OBJDUMP=$lt_OBJDUMP
13868 # Method to check whether dependent libraries are shared objects.
13869 deplibs_check_method=$lt_deplibs_check_method
13871 # Command to use when deplibs_check_method = "file_magic".
13872 file_magic_cmd=$lt_file_magic_cmd
13874 # How to find potential files when deplibs_check_method = "file_magic".
13875 file_magic_glob=$lt_file_magic_glob
13877 # Find potential files using nocaseglob when deplibs_check_method = "file_magic".
13878 want_nocaseglob=$lt_want_nocaseglob
13880 # DLL creation program.
13881 DLLTOOL=$lt_DLLTOOL
13883 # Command to associate shared and link libraries.
13884 sharedlib_from_linklib_cmd=$lt_sharedlib_from_linklib_cmd
13889 # Flags to create an archive.
13890 AR_FLAGS=$lt_AR_FLAGS
13892 # How to feed a file listing to the archiver.
13893 archiver_list_spec=$lt_archiver_list_spec
13895 # A symbol stripping program.
13898 # Commands used to install an old-style archive.
13900 old_postinstall_cmds=$lt_old_postinstall_cmds
13901 old_postuninstall_cmds=$lt_old_postuninstall_cmds
13903 # Whether to use a lock for old archive extraction.
13904 lock_old_archive_extraction=$lock_old_archive_extraction
13909 # LTCC compiler flags.
13910 LTCFLAGS=$lt_CFLAGS
13912 # Take the output of nm and produce a listing of raw symbols and C names.
13913 global_symbol_pipe=$lt_lt_cv_sys_global_symbol_pipe
13915 # Transform the output of nm in a proper C declaration.
13916 global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl
13918 # Transform the output of nm in a C name address pair.
13919 global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address
13921 # Transform the output of nm in a C name address pair when lib prefix is needed.
13922 global_symbol_to_c_name_address_lib_prefix=$lt_lt_cv_sys_global_symbol_to_c_name_address_lib_prefix
13924 # Specify filename containing input files for \$NM.
13925 nm_file_list_spec=$lt_nm_file_list_spec
13927 # The root where to search for dependent libraries,and in which our libraries should be installed.
13928 lt_sysroot=$lt_sysroot
13930 # The name of the directory that contains temporary libtool files.
13933 # Used to examine libraries when file_magic_cmd begins with "file".
13934 MAGIC_CMD=$MAGIC_CMD
13936 # Must we lock files when doing compilation?
13937 need_locks=$lt_need_locks
13940 MANIFEST_TOOL=$lt_MANIFEST_TOOL
13942 # Tool to manipulate archived DWARF debug symbol files on Mac OS X.
13943 DSYMUTIL=$lt_DSYMUTIL
13945 # Tool to change global to local symbols on Mac OS X.
13948 # Tool to manipulate fat objects and archives on Mac OS X.
13951 # ldd/readelf like tool for Mach-O binaries on Mac OS X.
13954 # ldd/readelf like tool for 64 bit Mach-O binaries on Mac OS X 10.4.
13955 OTOOL64=$lt_OTOOL64
13957 # Old archive suffix (normally "a").
13960 # Shared library suffix (normally ".so").
13961 shrext_cmds=$lt_shrext_cmds
13963 # The commands to extract the exported symbol list from a shared archive.
13964 extract_expsyms_cmds=$lt_extract_expsyms_cmds
13966 # Variables whose values should be saved in libtool wrapper scripts and
13967 # restored at link time.
13968 variables_saved_for_relink=$lt_variables_saved_for_relink
13970 # Do we need the "lib" prefix for modules?
13971 need_lib_prefix=$need_lib_prefix
13973 # Do we need a version for libraries?
13974 need_version=$need_version
13976 # Library versioning type.
13977 version_type=$version_type
13979 # Shared library runtime path variable.
13980 runpath_var=$runpath_var
13982 # Shared library path variable.
13983 shlibpath_var=$shlibpath_var
13985 # Is shlibpath searched before the hard-coded library search path?
13986 shlibpath_overrides_runpath=$shlibpath_overrides_runpath
13988 # Format of library name prefix.
13989 libname_spec=$lt_libname_spec
13991 # List of archive names. First name is the real one, the rest are links.
13992 # The last name is the one that the linker finds with -lNAME
13993 library_names_spec=$lt_library_names_spec
13995 # The coded name of the library, if different from the real name.
13996 soname_spec=$lt_soname_spec
13998 # Permission mode override for installation of shared libraries.
13999 install_override_mode=$lt_install_override_mode
14001 # Command to use after installation of a shared archive.
14002 postinstall_cmds=$lt_postinstall_cmds
14004 # Command to use after uninstallation of a shared archive.
14005 postuninstall_cmds=$lt_postuninstall_cmds
14007 # Commands used to finish a libtool library installation in a directory.
14008 finish_cmds=$lt_finish_cmds
14010 # As "finish_cmds", except a single script fragment to be evaled but
14012 finish_eval=$lt_finish_eval
14014 # Whether we should hardcode library paths into libraries.
14015 hardcode_into_libs=$hardcode_into_libs
14017 # Compile-time system search path for libraries.
14018 sys_lib_search_path_spec=$lt_sys_lib_search_path_spec
14020 # Run-time system search path for libraries.
14021 sys_lib_dlsearch_path_spec=$lt_sys_lib_dlsearch_path_spec
14023 # Whether dlopen is supported.
14024 dlopen_support=$enable_dlopen
14026 # Whether dlopen of programs is supported.
14027 dlopen_self=$enable_dlopen_self
14029 # Whether dlopen of statically linked programs is supported.
14030 dlopen_self_static=$enable_dlopen_self_static
14032 # Commands to strip libraries.
14033 old_striplib=$lt_old_striplib
14034 striplib=$lt_striplib
14037 # The linker used to build libraries.
14040 # How to create reloadable object files.
14041 reload_flag=$lt_reload_flag
14042 reload_cmds=$lt_reload_cmds
14044 # Commands used to build an old-style archive.
14045 old_archive_cmds=$lt_old_archive_cmds
14047 # A language specific compiler.
14050 # Is the compiler the GNU compiler?
14053 # Compiler flag to turn off builtin functions.
14054 no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag
14056 # Additional compiler flags for building library objects.
14057 pic_flag=$lt_lt_prog_compiler_pic
14059 # How to pass a linker flag through the compiler.
14060 wl=$lt_lt_prog_compiler_wl
14062 # Compiler flag to prevent dynamic linking.
14063 link_static_flag=$lt_lt_prog_compiler_static
14065 # Does compiler simultaneously support -c and -o options?
14066 compiler_c_o=$lt_lt_cv_prog_compiler_c_o
14068 # Whether or not to add -lc for building shared libraries.
14069 build_libtool_need_lc=$archive_cmds_need_lc
14071 # Whether or not to disallow shared libs when runtime libs are static.
14072 allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes
14074 # Compiler flag to allow reflexive dlopens.
14075 export_dynamic_flag_spec=$lt_export_dynamic_flag_spec
14077 # Compiler flag to generate shared objects directly from archives.
14078 whole_archive_flag_spec=$lt_whole_archive_flag_spec
14080 # Whether the compiler copes with passing no objects directly.
14081 compiler_needs_object=$lt_compiler_needs_object
14083 # Create an old-style archive from a shared archive.
14084 old_archive_from_new_cmds=$lt_old_archive_from_new_cmds
14086 # Create a temporary old-style archive to link instead of a shared archive.
14087 old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds
14089 # Commands used to build a shared archive.
14090 archive_cmds=$lt_archive_cmds
14091 archive_expsym_cmds=$lt_archive_expsym_cmds
14093 # Commands used to build a loadable module if different from building
14094 # a shared archive.
14095 module_cmds=$lt_module_cmds
14096 module_expsym_cmds=$lt_module_expsym_cmds
14098 # Whether we are building with GNU ld or not.
14099 with_gnu_ld=$lt_with_gnu_ld
14101 # Flag that allows shared libraries with undefined symbols to be built.
14102 allow_undefined_flag=$lt_allow_undefined_flag
14104 # Flag that enforces no undefined symbols.
14105 no_undefined_flag=$lt_no_undefined_flag
14107 # Flag to hardcode \$libdir into a binary during linking.
14108 # This must work even if \$libdir does not exist
14109 hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec
14111 # Whether we need a single "-rpath" flag with a separated argument.
14112 hardcode_libdir_separator=$lt_hardcode_libdir_separator
14114 # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
14115 # DIR into the resulting binary.
14116 hardcode_direct=$hardcode_direct
14118 # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
14119 # DIR into the resulting binary and the resulting library dependency is
14120 # "absolute",i.e impossible to change by setting \${shlibpath_var} if the
14121 # library is relocated.
14122 hardcode_direct_absolute=$hardcode_direct_absolute
14124 # Set to "yes" if using the -LDIR flag during linking hardcodes DIR
14125 # into the resulting binary.
14126 hardcode_minus_L=$hardcode_minus_L
14128 # Set to "yes" if using SHLIBPATH_VAR=DIR during linking hardcodes DIR
14129 # into the resulting binary.
14130 hardcode_shlibpath_var=$hardcode_shlibpath_var
14132 # Set to "yes" if building a shared library automatically hardcodes DIR
14133 # into the library and all subsequent libraries and executables linked
14135 hardcode_automatic=$hardcode_automatic
14137 # Set to yes if linker adds runtime paths of dependent libraries
14138 # to runtime path list.
14139 inherit_rpath=$inherit_rpath
14141 # Whether libtool must link a program against all its dependency libraries.
14142 link_all_deplibs=$link_all_deplibs
14144 # Set to "yes" if exported symbols are required.
14145 always_export_symbols=$always_export_symbols
14147 # The commands to list exported symbols.
14148 export_symbols_cmds=$lt_export_symbols_cmds
14150 # Symbols that should not be listed in the preloaded symbols.
14151 exclude_expsyms=$lt_exclude_expsyms
14153 # Symbols that must always be exported.
14154 include_expsyms=$lt_include_expsyms
14156 # Commands necessary for linking programs (against libraries) with templates.
14157 prelink_cmds=$lt_prelink_cmds
14159 # Commands necessary for finishing linking programs.
14160 postlink_cmds=$lt_postlink_cmds
14162 # Specify filename containing input files.
14163 file_list_spec=$lt_file_list_spec
14165 # How to hardcode a shared library path into an executable.
14166 hardcode_action=$hardcode_action
14168 # ### END LIBTOOL CONFIG
14174 cat <<\_LT_EOF >> "$cfgfile"
14175 # AIX sometimes has problems with the GCC collect2 program. For some
14176 # reason, if we set the COLLECT_NAMES environment variable, the problems
14177 # vanish in a puff of smoke.
14178 if test "X${COLLECT_NAMES+set}" != Xset; then
14180 export COLLECT_NAMES
14187 ltmain="$ac_aux_dir/ltmain.sh"
14190 # We use sed instead of cat because bash on DJGPP gets confused if
14191 # if finds mixed CR/LF and LF-only lines. Since sed operates in
14192 # text mode, it properly converts lines to CR/LF. This bash problem
14193 # is reportedly fixed, but why not run on old versions too?
14194 sed '$q' "$ltmain" >> "$cfgfile" \
14195 || (rm -f "$cfgfile"; exit 1)
14197 if test x"$xsi_shell" = xyes; then
14198 sed -e '/^func_dirname ()$/,/^} # func_dirname /c\
14202 \ */*) func_dirname_result="${1%/*}${2}" ;;\
14203 \ * ) func_dirname_result="${3}" ;;\
14205 } # Extended-shell func_dirname implementation' "$cfgfile" > $cfgfile.tmp \
14206 && mv -f "$cfgfile.tmp" "$cfgfile" \
14207 || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
14208 test 0 -eq $? || _lt_function_replace_fail=:
14211 sed -e '/^func_basename ()$/,/^} # func_basename /c\
14214 \ func_basename_result="${1##*/}"\
14215 } # Extended-shell func_basename implementation' "$cfgfile" > $cfgfile.tmp \
14216 && mv -f "$cfgfile.tmp" "$cfgfile" \
14217 || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
14218 test 0 -eq $? || _lt_function_replace_fail=:
14221 sed -e '/^func_dirname_and_basename ()$/,/^} # func_dirname_and_basename /c\
14222 func_dirname_and_basename ()\
14225 \ */*) func_dirname_result="${1%/*}${2}" ;;\
14226 \ * ) func_dirname_result="${3}" ;;\
14228 \ func_basename_result="${1##*/}"\
14229 } # Extended-shell func_dirname_and_basename implementation' "$cfgfile" > $cfgfile.tmp \
14230 && mv -f "$cfgfile.tmp" "$cfgfile" \
14231 || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
14232 test 0 -eq $? || _lt_function_replace_fail=:
14235 sed -e '/^func_stripname ()$/,/^} # func_stripname /c\
14238 \ # pdksh 5.2.14 does not do ${X%$Y} correctly if both X and Y are\
14239 \ # positional parameters, so assign one to ordinary parameter first.\
14240 \ func_stripname_result=${3}\
14241 \ func_stripname_result=${func_stripname_result#"${1}"}\
14242 \ func_stripname_result=${func_stripname_result%"${2}"}\
14243 } # Extended-shell func_stripname implementation' "$cfgfile" > $cfgfile.tmp \
14244 && mv -f "$cfgfile.tmp" "$cfgfile" \
14245 || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
14246 test 0 -eq $? || _lt_function_replace_fail=:
14249 sed -e '/^func_split_long_opt ()$/,/^} # func_split_long_opt /c\
14250 func_split_long_opt ()\
14252 \ func_split_long_opt_name=${1%%=*}\
14253 \ func_split_long_opt_arg=${1#*=}\
14254 } # Extended-shell func_split_long_opt implementation' "$cfgfile" > $cfgfile.tmp \
14255 && mv -f "$cfgfile.tmp" "$cfgfile" \
14256 || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
14257 test 0 -eq $? || _lt_function_replace_fail=:
14260 sed -e '/^func_split_short_opt ()$/,/^} # func_split_short_opt /c\
14261 func_split_short_opt ()\
14263 \ func_split_short_opt_arg=${1#??}\
14264 \ func_split_short_opt_name=${1%"$func_split_short_opt_arg"}\
14265 } # Extended-shell func_split_short_opt implementation' "$cfgfile" > $cfgfile.tmp \
14266 && mv -f "$cfgfile.tmp" "$cfgfile" \
14267 || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
14268 test 0 -eq $? || _lt_function_replace_fail=:
14271 sed -e '/^func_lo2o ()$/,/^} # func_lo2o /c\
14275 \ *.lo) func_lo2o_result=${1%.lo}.${objext} ;;\
14276 \ *) func_lo2o_result=${1} ;;\
14278 } # Extended-shell func_lo2o implementation' "$cfgfile" > $cfgfile.tmp \
14279 && mv -f "$cfgfile.tmp" "$cfgfile" \
14280 || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
14281 test 0 -eq $? || _lt_function_replace_fail=:
14284 sed -e '/^func_xform ()$/,/^} # func_xform /c\
14287 func_xform_result=${1%.*}.lo\
14288 } # Extended-shell func_xform implementation' "$cfgfile" > $cfgfile.tmp \
14289 && mv -f "$cfgfile.tmp" "$cfgfile" \
14290 || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
14291 test 0 -eq $? || _lt_function_replace_fail=:
14294 sed -e '/^func_arith ()$/,/^} # func_arith /c\
14297 func_arith_result=$(( $* ))\
14298 } # Extended-shell func_arith implementation' "$cfgfile" > $cfgfile.tmp \
14299 && mv -f "$cfgfile.tmp" "$cfgfile" \
14300 || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
14301 test 0 -eq $? || _lt_function_replace_fail=:
14304 sed -e '/^func_len ()$/,/^} # func_len /c\
14307 func_len_result=${#1}\
14308 } # Extended-shell func_len implementation' "$cfgfile" > $cfgfile.tmp \
14309 && mv -f "$cfgfile.tmp" "$cfgfile" \
14310 || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
14311 test 0 -eq $? || _lt_function_replace_fail=:
14315 if test x"$lt_shell_append" = xyes; then
14316 sed -e '/^func_append ()$/,/^} # func_append /c\
14319 eval "${1}+=\\${2}"\
14320 } # Extended-shell func_append implementation' "$cfgfile" > $cfgfile.tmp \
14321 && mv -f "$cfgfile.tmp" "$cfgfile" \
14322 || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
14323 test 0 -eq $? || _lt_function_replace_fail=:
14326 sed -e '/^func_append_quoted ()$/,/^} # func_append_quoted /c\
14327 func_append_quoted ()\
14329 \ func_quote_for_eval "${2}"\
14330 \ eval "${1}+=\\\\ \\$func_quote_for_eval_result"\
14331 } # Extended-shell func_append_quoted implementation' "$cfgfile" > $cfgfile.tmp \
14332 && mv -f "$cfgfile.tmp" "$cfgfile" \
14333 || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
14334 test 0 -eq $? || _lt_function_replace_fail=:
14337 # Save a `func_append' function call where possible by direct use of '+='
14338 sed -e 's%func_append \([a-zA-Z_]\{1,\}\) "%\1+="%g' $cfgfile > $cfgfile.tmp \
14339 && mv -f "$cfgfile.tmp" "$cfgfile" \
14340 || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
14341 test 0 -eq $? || _lt_function_replace_fail=:
14343 # Save a `func_append' function call even when '+=' is not available
14344 sed -e 's%func_append \([a-zA-Z_]\{1,\}\) "%\1="$\1%g' $cfgfile > $cfgfile.tmp \
14345 && mv -f "$cfgfile.tmp" "$cfgfile" \
14346 || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
14347 test 0 -eq $? || _lt_function_replace_fail=:
14350 if test x"$_lt_function_replace_fail" = x":"; then
14351 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Unable to substitute extended shell functions in $ofile" >&5
14352 $as_echo "$as_me: WARNING: Unable to substitute extended shell functions in $ofile" >&2;}
14356 mv -f "$cfgfile" "$ofile" ||
14357 (rm -f "$ofile" && cp "$cfgfile" "$ofile" && rm -f "$cfgfile")
14368 ac_clean_files=$ac_clean_files_save
14370 test $ac_write_fail = 0 ||
14371 as_fn_error $? "write failure creating $CONFIG_STATUS" "$LINENO" 5
14374 # configure is writing to config.log, and then calls config.status.
14375 # config.status does its own redirection, appending to config.log.
14376 # Unfortunately, on DOS this fails, as config.log is still kept open
14377 # by configure, so config.status won't be able to write to it; its
14378 # output is simply discarded. So we exec the FD to /dev/null,
14379 # effectively closing config.log, so it can be properly (re)opened and
14380 # appended to by config.status. When coming back to configure, we
14381 # need to make the FD available again.
14382 if test "$no_create" != yes; then
14384 ac_config_status_args=
14385 test "$silent" = yes &&
14386 ac_config_status_args="$ac_config_status_args --quiet"
14388 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
14390 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
14391 # would make configure fail if this is the last instruction.
14392 $ac_cs_success || as_fn_exit 1
14394 if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no; then
14395 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
14396 $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}