2 # Guess values for system-dependent variables and create Makefiles.
3 # Generated by GNU Autoconf 2.68 for gacela 0.5.
5 # Report bugs to <jsf@jsancho.org>.
8 # Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001,
9 # 2002, 2003, 2004, 2005, 2006, 2007, 2008, 2009, 2010 Free Software
13 # This configure script is free software; the Free Software Foundation
14 # gives unlimited permission to copy, distribute and modify it.
15 ## -------------------- ##
16 ## M4sh Initialization. ##
17 ## -------------------- ##
19 # Be more Bourne compatible
20 DUALCASE=1; export DUALCASE # for MKS sh
21 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :
24 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
25 # is contrary to our usage. Disable this feature.
26 alias -g '${1+"$@"}'='"$@"'
29 case `(set -o) 2>/dev/null` in #(
41 # Printing a long string crashes Solaris 7 /usr/bin/printf.
42 as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
43 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
44 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
45 # Prefer a ksh shell builtin over an external printf program on Solaris,
46 # but without wasting forks for bash or zsh.
47 if test -z "$BASH_VERSION$ZSH_VERSION" \
48 && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
50 as_echo_n='print -rn --'
51 elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
55 if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
56 as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
57 as_echo_n='/usr/ucb/echo -n'
59 as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
64 expr "X$arg" : "X\\(.*\\)$as_nl";
65 arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
67 expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
70 as_echo_n='sh -c $as_echo_n_body as_echo'
73 as_echo='sh -c $as_echo_body as_echo'
76 # The user is always right.
77 if test "${PATH_SEPARATOR+set}" != set; then
79 (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
80 (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
87 # We need space, tab and new line, in precisely that order. Quoting is
88 # there to prevent editors from complaining about space-tab.
89 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
90 # splitting by setting IFS to empty value.)
93 # Find who we are. Look in the path if we contain no directory separator.
96 *[\\/]* ) as_myself=$0 ;;
97 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
101 test -z "$as_dir" && as_dir=.
102 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
108 # We did not find ourselves, most probably we were run as `sh COMMAND'
109 # in which case we are not to be found in the path.
110 if test "x$as_myself" = x; then
113 if test ! -f "$as_myself"; then
114 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
118 # Unset variables that we do not need and which cause bugs (e.g. in
119 # pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1"
120 # suppresses any "Segmentation fault" message there. '((' could
121 # trigger a bug in pdksh 5.2.14.
122 for as_var in BASH_ENV ENV MAIL MAILPATH
123 do eval test x\${$as_var+set} = xset \
124 && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
137 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
139 if test "x$CONFIG_SHELL" = x; then
140 as_bourne_compatible="if test -n \"\${ZSH_VERSION+set}\" && (emulate sh) >/dev/null 2>&1; then :
143 # Pre-4.2 versions of Zsh do word splitting on \${1+\"\$@\"}, which
144 # is contrary to our usage. Disable this feature.
145 alias -g '\${1+\"\$@\"}'='\"\$@\"'
148 case \`(set -o) 2>/dev/null\` in #(
156 as_required="as_fn_return () { (exit \$1); }
157 as_fn_success () { as_fn_return 0; }
158 as_fn_failure () { as_fn_return 1; }
159 as_fn_ret_success () { return 0; }
160 as_fn_ret_failure () { return 1; }
163 as_fn_success || { exitcode=1; echo as_fn_success failed.; }
164 as_fn_failure && { exitcode=1; echo as_fn_failure succeeded.; }
165 as_fn_ret_success || { exitcode=1; echo as_fn_ret_success failed.; }
166 as_fn_ret_failure && { exitcode=1; echo as_fn_ret_failure succeeded.; }
167 if ( set x; as_fn_ret_success y && test x = \"\$1\" ); then :
170 exitcode=1; echo positional parameters were not saved.
172 test x\$exitcode = x0 || exit 1"
173 as_suggested=" as_lineno_1=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_1a=\$LINENO
174 as_lineno_2=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_2a=\$LINENO
175 eval 'test \"x\$as_lineno_1'\$as_run'\" != \"x\$as_lineno_2'\$as_run'\" &&
176 test \"x\`expr \$as_lineno_1'\$as_run' + 1\`\" = \"x\$as_lineno_2'\$as_run'\"' || exit 1
178 test -n \"\${ZSH_VERSION+set}\${BASH_VERSION+set}\" || (
179 ECHO='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
180 ECHO=\$ECHO\$ECHO\$ECHO\$ECHO\$ECHO
181 ECHO=\$ECHO\$ECHO\$ECHO\$ECHO\$ECHO\$ECHO
182 PATH=/empty FPATH=/empty; export PATH FPATH
183 test \"X\`printf %s \$ECHO\`\" = \"X\$ECHO\" \\
184 || test \"X\`print -r -- \$ECHO\`\" = \"X\$ECHO\" ) || exit 1
185 test \$(( 1 + 1 )) = 2 || exit 1"
186 if (eval "$as_required") 2>/dev/null; then :
191 if test x$as_have_required = xyes && (eval "$as_suggested") 2>/dev/null; then :
194 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
196 for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
199 test -z "$as_dir" && as_dir=.
203 for as_base in sh bash ksh sh5; do
204 # Try only shells that exist, to save several forks.
205 as_shell=$as_dir/$as_base
206 if { test -f "$as_shell" || test -f "$as_shell.exe"; } &&
207 { $as_echo "$as_bourne_compatible""$as_required" | as_run=a "$as_shell"; } 2>/dev/null; then :
208 CONFIG_SHELL=$as_shell as_have_required=yes
209 if { $as_echo "$as_bourne_compatible""$as_suggested" | as_run=a "$as_shell"; } 2>/dev/null; then :
217 $as_found || { if { test -f "$SHELL" || test -f "$SHELL.exe"; } &&
218 { $as_echo "$as_bourne_compatible""$as_required" | as_run=a "$SHELL"; } 2>/dev/null; then :
219 CONFIG_SHELL=$SHELL as_have_required=yes
224 if test "x$CONFIG_SHELL" != x; then :
225 # We cannot yet assume a decent shell, so we have to provide a
226 # neutralization value for shells without unset; and this also
227 # works around shells that cannot unset nonexistent variables.
228 # Preserve -v and -x to the replacement shell.
231 (unset BASH_ENV) >/dev/null 2>&1 && unset BASH_ENV ENV
234 *v*x* | *x*v* ) as_opts=-vx ;;
239 exec "$CONFIG_SHELL" $as_opts "$as_myself" ${1+"$@"}
242 if test x$as_have_required = xno; then :
243 $as_echo "$0: This script requires a shell more modern than all"
244 $as_echo "$0: the shells that I found on your system."
245 if test x${ZSH_VERSION+set} = xset ; then
246 $as_echo "$0: In particular, zsh $ZSH_VERSION has bugs and should"
247 $as_echo "$0: be upgraded to zsh 4.3.4 or later."
249 $as_echo "$0: Please tell bug-autoconf@gnu.org and jsf@jsancho.org
250 $0: about your system, including any error possibly output
251 $0: before this message. Then install a modern shell, or
252 $0: manually run the script under such a shell if you do
259 SHELL=${CONFIG_SHELL-/bin/sh}
261 # Unset more variables known to interfere with behavior of common tools.
262 CLICOLOR_FORCE= GREP_OPTIONS=
263 unset CLICOLOR_FORCE GREP_OPTIONS
265 ## --------------------- ##
266 ## M4sh Shell Functions. ##
267 ## --------------------- ##
270 # Portably unset VAR.
273 { eval $1=; unset $1;}
277 # as_fn_set_status STATUS
278 # -----------------------
279 # Set $? to STATUS, without forking.
287 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
297 # Create "$as_dir" as a directory, including parents if necessary.
302 -*) as_dir=./$as_dir;;
304 test -d "$as_dir" || eval $as_mkdir_p || {
308 *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
311 as_dirs="'$as_qdir' $as_dirs"
312 as_dir=`$as_dirname -- "$as_dir" ||
313 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
314 X"$as_dir" : 'X\(//\)[^/]' \| \
315 X"$as_dir" : 'X\(//\)$' \| \
316 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
317 $as_echo X"$as_dir" |
318 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
335 test -d "$as_dir" && break
337 test -z "$as_dirs" || eval "mkdir $as_dirs"
338 } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir"
342 # as_fn_append VAR VALUE
343 # ----------------------
344 # Append the text in VALUE to the end of the definition contained in VAR. Take
345 # advantage of any shell optimizations that allow amortized linear growth over
346 # repeated appends, instead of the typical quadratic growth present in naive
348 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
349 eval 'as_fn_append ()
362 # Perform arithmetic evaluation on the ARGs, and store the result in the
363 # global $as_val. Take advantage of shells that can avoid forks. The arguments
364 # must be portable across $(()) and expr.
365 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
373 as_val=`expr "$@" || test $? -eq 1`
378 # as_fn_error STATUS ERROR [LINENO LOG_FD]
379 # ----------------------------------------
380 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
381 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
382 # script with STATUS, using 1 if that was 0.
385 as_status=$1; test $as_status -eq 0 && as_status=1
387 as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
388 $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
390 $as_echo "$as_me: error: $2" >&2
391 as_fn_exit $as_status
394 if expr a : '\(a\)' >/dev/null 2>&1 &&
395 test "X`expr 00001 : '.*\(...\)'`" = X001; then
401 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
407 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
413 as_me=`$as_basename -- "$0" ||
414 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
415 X"$0" : 'X\(//\)$' \| \
416 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
418 sed '/^.*\/\([^/][^/]*\)\/*$/{
432 # Avoid depending upon Character Ranges.
433 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
434 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
435 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
436 as_cr_digits='0123456789'
437 as_cr_alnum=$as_cr_Letters$as_cr_digits
440 as_lineno_1=$LINENO as_lineno_1a=$LINENO
441 as_lineno_2=$LINENO as_lineno_2a=$LINENO
442 eval 'test "x$as_lineno_1'$as_run'" != "x$as_lineno_2'$as_run'" &&
443 test "x`expr $as_lineno_1'$as_run' + 1`" = "x$as_lineno_2'$as_run'"' || {
444 # Blame Lee E. McMahon (1931-1989) for sed's syntax. :-)
456 s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
460 chmod +x "$as_me.lineno" ||
461 { $as_echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2; as_fn_exit 1; }
463 # Don't try to exec as it changes $[0], causing all sort of problems
464 # (the dirname of $[0] is not the place where we might find the
465 # original and so on. Autoconf is especially sensitive to this).
467 # Exit status is that of the last command.
471 ECHO_C= ECHO_N= ECHO_T=
472 case `echo -n x` in #(((((
474 case `echo 'xy\c'` in
475 *c*) ECHO_T=' ';; # ECHO_T is single tab character.
477 *) echo `echo ksh88 bug on AIX 6.1` > /dev/null
484 rm -f conf$$ conf$$.exe conf$$.file
485 if test -d conf$$.dir; then
486 rm -f conf$$.dir/conf$$.file
489 mkdir conf$$.dir 2>/dev/null
491 if (echo >conf$$.file) 2>/dev/null; then
492 if ln -s conf$$.file conf$$ 2>/dev/null; then
494 # ... but there are two gotchas:
495 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
496 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
497 # In both cases, we have to default to `cp -p'.
498 ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
500 elif ln conf$$.file conf$$ 2>/dev/null; then
508 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
509 rmdir conf$$.dir 2>/dev/null
511 if mkdir -p . 2>/dev/null; then
512 as_mkdir_p='mkdir -p "$as_dir"'
514 test -d ./-p && rmdir ./-p
518 if test -x / >/dev/null 2>&1; then
521 if ls -dL / >/dev/null 2>&1; then
528 if test -d "$1"; then
534 case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in #((
535 ???[sx]*):;;*)false;;esac;fi
539 as_executable_p=$as_test_x
541 # Sed expression to map a string onto a valid CPP name.
542 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
544 # Sed expression to map a string onto a valid variable name.
545 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
547 SHELL=${CONFIG_SHELL-/bin/sh}
550 test -n "$DJDIR" || exec 7<&0 </dev/null
554 # hostname on some systems (SVR3.2, old GNU/Linux) returns a bogus exit status,
555 # so uname gets run too.
556 ac_hostname=`(hostname || uname -n) 2>/dev/null | sed 1q`
561 ac_default_prefix=/usr/local
563 ac_config_libobj_dir=.
570 # Identity of this package.
571 PACKAGE_NAME='gacela'
572 PACKAGE_TARNAME='gacela'
573 PACKAGE_VERSION='0.5'
574 PACKAGE_STRING='gacela 0.5'
575 PACKAGE_BUGREPORT='jsf@jsancho.org'
578 # Factoring default headers for most tests.
579 ac_includes_default="\
581 #ifdef HAVE_SYS_TYPES_H
582 # include <sys/types.h>
584 #ifdef HAVE_SYS_STAT_H
585 # include <sys/stat.h>
591 # ifdef HAVE_STDLIB_H
596 # if !defined STDC_HEADERS && defined HAVE_MEMORY_H
601 #ifdef HAVE_STRINGS_H
602 # include <strings.h>
604 #ifdef HAVE_INTTYPES_H
605 # include <inttypes.h>
614 ac_unique_file="src/sdl.c"
615 ac_subst_vars='am__EXEEXT_FALSE
680 INSTALL_STRIP_PROGRAM
722 program_transform_name
735 enable_option_checking
736 enable_dependency_tracking
745 ac_precious_vars='build_alias
756 # Initialize some variables set by options.
758 ac_init_version=false
759 ac_unrecognized_opts=
761 # The variables have the same names as the options, with
762 # dashes changed to underlines.
770 program_transform_name=s,x,x,
778 # Installation directory options.
779 # These are left unexpanded so users can "make install exec_prefix=/foo"
780 # and all the variables that are supposed to be based on exec_prefix
781 # by default will actually change.
782 # Use braces instead of parens because sh, perl, etc. also accept them.
783 # (The list follows the same order as the GNU Coding Standards.)
784 bindir='${exec_prefix}/bin'
785 sbindir='${exec_prefix}/sbin'
786 libexecdir='${exec_prefix}/libexec'
787 datarootdir='${prefix}/share'
788 datadir='${datarootdir}'
789 sysconfdir='${prefix}/etc'
790 sharedstatedir='${prefix}/com'
791 localstatedir='${prefix}/var'
792 includedir='${prefix}/include'
793 oldincludedir='/usr/include'
794 docdir='${datarootdir}/doc/${PACKAGE_TARNAME}'
795 infodir='${datarootdir}/info'
800 libdir='${exec_prefix}/lib'
801 localedir='${datarootdir}/locale'
802 mandir='${datarootdir}/man'
808 # If the previous option needs an argument, assign it.
809 if test -n "$ac_prev"; then
810 eval $ac_prev=\$ac_option
816 *=?*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
821 # Accept the important Cygnus configure options, so we can diagnose typos.
823 case $ac_dashdash$ac_option in
827 -bindir | --bindir | --bindi | --bind | --bin | --bi)
829 -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
832 -build | --build | --buil | --bui | --bu)
833 ac_prev=build_alias ;;
834 -build=* | --build=* | --buil=* | --bui=* | --bu=*)
835 build_alias=$ac_optarg ;;
837 -cache-file | --cache-file | --cache-fil | --cache-fi \
838 | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
839 ac_prev=cache_file ;;
840 -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
841 | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
842 cache_file=$ac_optarg ;;
845 cache_file=config.cache ;;
847 -datadir | --datadir | --datadi | --datad)
849 -datadir=* | --datadir=* | --datadi=* | --datad=*)
850 datadir=$ac_optarg ;;
852 -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \
853 | --dataroo | --dataro | --datar)
854 ac_prev=datarootdir ;;
855 -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \
856 | --dataroot=* | --dataroo=* | --dataro=* | --datar=*)
857 datarootdir=$ac_optarg ;;
859 -disable-* | --disable-*)
860 ac_useropt=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
861 # Reject names that are not valid shell variable names.
862 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
863 as_fn_error $? "invalid feature name: $ac_useropt"
864 ac_useropt_orig=$ac_useropt
865 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
866 case $ac_user_opts in
870 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig"
871 ac_unrecognized_sep=', ';;
873 eval enable_$ac_useropt=no ;;
875 -docdir | --docdir | --docdi | --doc | --do)
877 -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*)
880 -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv)
882 -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*)
885 -enable-* | --enable-*)
886 ac_useropt=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
887 # Reject names that are not valid shell variable names.
888 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
889 as_fn_error $? "invalid feature name: $ac_useropt"
890 ac_useropt_orig=$ac_useropt
891 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
892 case $ac_user_opts in
896 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig"
897 ac_unrecognized_sep=', ';;
899 eval enable_$ac_useropt=\$ac_optarg ;;
901 -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
902 | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
903 | --exec | --exe | --ex)
904 ac_prev=exec_prefix ;;
905 -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
906 | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
907 | --exec=* | --exe=* | --ex=*)
908 exec_prefix=$ac_optarg ;;
910 -gas | --gas | --ga | --g)
911 # Obsolete; use --with-gas.
914 -help | --help | --hel | --he | -h)
916 -help=r* | --help=r* | --hel=r* | --he=r* | -hr*)
917 ac_init_help=recursive ;;
918 -help=s* | --help=s* | --hel=s* | --he=s* | -hs*)
919 ac_init_help=short ;;
921 -host | --host | --hos | --ho)
922 ac_prev=host_alias ;;
923 -host=* | --host=* | --hos=* | --ho=*)
924 host_alias=$ac_optarg ;;
926 -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht)
928 -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \
930 htmldir=$ac_optarg ;;
932 -includedir | --includedir | --includedi | --included | --include \
933 | --includ | --inclu | --incl | --inc)
934 ac_prev=includedir ;;
935 -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
936 | --includ=* | --inclu=* | --incl=* | --inc=*)
937 includedir=$ac_optarg ;;
939 -infodir | --infodir | --infodi | --infod | --info | --inf)
941 -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
942 infodir=$ac_optarg ;;
944 -libdir | --libdir | --libdi | --libd)
946 -libdir=* | --libdir=* | --libdi=* | --libd=*)
949 -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
950 | --libexe | --libex | --libe)
951 ac_prev=libexecdir ;;
952 -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
953 | --libexe=* | --libex=* | --libe=*)
954 libexecdir=$ac_optarg ;;
956 -localedir | --localedir | --localedi | --localed | --locale)
958 -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*)
959 localedir=$ac_optarg ;;
961 -localstatedir | --localstatedir | --localstatedi | --localstated \
962 | --localstate | --localstat | --localsta | --localst | --locals)
963 ac_prev=localstatedir ;;
964 -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
965 | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*)
966 localstatedir=$ac_optarg ;;
968 -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
970 -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
974 # Obsolete; use --without-fp.
977 -no-create | --no-create | --no-creat | --no-crea | --no-cre \
978 | --no-cr | --no-c | -n)
981 -no-recursion | --no-recursion | --no-recursio | --no-recursi \
982 | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
985 -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
986 | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
987 | --oldin | --oldi | --old | --ol | --o)
988 ac_prev=oldincludedir ;;
989 -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
990 | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
991 | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
992 oldincludedir=$ac_optarg ;;
994 -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
996 -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
999 -program-prefix | --program-prefix | --program-prefi | --program-pref \
1000 | --program-pre | --program-pr | --program-p)
1001 ac_prev=program_prefix ;;
1002 -program-prefix=* | --program-prefix=* | --program-prefi=* \
1003 | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
1004 program_prefix=$ac_optarg ;;
1006 -program-suffix | --program-suffix | --program-suffi | --program-suff \
1007 | --program-suf | --program-su | --program-s)
1008 ac_prev=program_suffix ;;
1009 -program-suffix=* | --program-suffix=* | --program-suffi=* \
1010 | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
1011 program_suffix=$ac_optarg ;;
1013 -program-transform-name | --program-transform-name \
1014 | --program-transform-nam | --program-transform-na \
1015 | --program-transform-n | --program-transform- \
1016 | --program-transform | --program-transfor \
1017 | --program-transfo | --program-transf \
1018 | --program-trans | --program-tran \
1019 | --progr-tra | --program-tr | --program-t)
1020 ac_prev=program_transform_name ;;
1021 -program-transform-name=* | --program-transform-name=* \
1022 | --program-transform-nam=* | --program-transform-na=* \
1023 | --program-transform-n=* | --program-transform-=* \
1024 | --program-transform=* | --program-transfor=* \
1025 | --program-transfo=* | --program-transf=* \
1026 | --program-trans=* | --program-tran=* \
1027 | --progr-tra=* | --program-tr=* | --program-t=*)
1028 program_transform_name=$ac_optarg ;;
1030 -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd)
1032 -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*)
1033 pdfdir=$ac_optarg ;;
1035 -psdir | --psdir | --psdi | --psd | --ps)
1037 -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*)
1040 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1041 | -silent | --silent | --silen | --sile | --sil)
1044 -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
1046 -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
1048 sbindir=$ac_optarg ;;
1050 -sharedstatedir | --sharedstatedir | --sharedstatedi \
1051 | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
1052 | --sharedst | --shareds | --shared | --share | --shar \
1054 ac_prev=sharedstatedir ;;
1055 -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
1056 | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
1057 | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
1059 sharedstatedir=$ac_optarg ;;
1061 -site | --site | --sit)
1063 -site=* | --site=* | --sit=*)
1066 -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
1068 -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
1069 srcdir=$ac_optarg ;;
1071 -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
1072 | --syscon | --sysco | --sysc | --sys | --sy)
1073 ac_prev=sysconfdir ;;
1074 -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
1075 | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
1076 sysconfdir=$ac_optarg ;;
1078 -target | --target | --targe | --targ | --tar | --ta | --t)
1079 ac_prev=target_alias ;;
1080 -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
1081 target_alias=$ac_optarg ;;
1083 -v | -verbose | --verbose | --verbos | --verbo | --verb)
1086 -version | --version | --versio | --versi | --vers | -V)
1087 ac_init_version=: ;;
1090 ac_useropt=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
1091 # Reject names that are not valid shell variable names.
1092 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1093 as_fn_error $? "invalid package name: $ac_useropt"
1094 ac_useropt_orig=$ac_useropt
1095 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1096 case $ac_user_opts in
1100 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig"
1101 ac_unrecognized_sep=', ';;
1103 eval with_$ac_useropt=\$ac_optarg ;;
1105 -without-* | --without-*)
1106 ac_useropt=`expr "x$ac_option" : 'x-*without-\(.*\)'`
1107 # Reject names that are not valid shell variable names.
1108 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1109 as_fn_error $? "invalid package name: $ac_useropt"
1110 ac_useropt_orig=$ac_useropt
1111 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1112 case $ac_user_opts in
1116 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig"
1117 ac_unrecognized_sep=', ';;
1119 eval with_$ac_useropt=no ;;
1122 # Obsolete; use --with-x.
1125 -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
1126 | --x-incl | --x-inc | --x-in | --x-i)
1127 ac_prev=x_includes ;;
1128 -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
1129 | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
1130 x_includes=$ac_optarg ;;
1132 -x-libraries | --x-libraries | --x-librarie | --x-librari \
1133 | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
1134 ac_prev=x_libraries ;;
1135 -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
1136 | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
1137 x_libraries=$ac_optarg ;;
1139 -*) as_fn_error $? "unrecognized option: \`$ac_option'
1140 Try \`$0 --help' for more information"
1144 ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
1145 # Reject names that are not valid shell variable names.
1146 case $ac_envvar in #(
1147 '' | [0-9]* | *[!_$as_cr_alnum]* )
1148 as_fn_error $? "invalid variable name: \`$ac_envvar'" ;;
1150 eval $ac_envvar=\$ac_optarg
1151 export $ac_envvar ;;
1154 # FIXME: should be removed in autoconf 3.0.
1155 $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2
1156 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
1157 $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2
1158 : "${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}"
1164 if test -n "$ac_prev"; then
1165 ac_option=--`echo $ac_prev | sed 's/_/-/g'`
1166 as_fn_error $? "missing argument to $ac_option"
1169 if test -n "$ac_unrecognized_opts"; then
1170 case $enable_option_checking in
1172 fatal) as_fn_error $? "unrecognized options: $ac_unrecognized_opts" ;;
1173 *) $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;;
1177 # Check all directory arguments for consistency.
1178 for ac_var in exec_prefix prefix bindir sbindir libexecdir datarootdir \
1179 datadir sysconfdir sharedstatedir localstatedir includedir \
1180 oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
1181 libdir localedir mandir
1183 eval ac_val=\$$ac_var
1184 # Remove trailing slashes.
1187 ac_val=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'`
1188 eval $ac_var=\$ac_val;;
1190 # Be sure to have absolute directory names.
1192 [\\/$]* | ?:[\\/]* ) continue;;
1193 NONE | '' ) case $ac_var in *prefix ) continue;; esac;;
1195 as_fn_error $? "expected an absolute directory name for --$ac_var: $ac_val"
1198 # There might be people who depend on the old broken behavior: `$host'
1199 # used to hold the argument of --host etc.
1200 # FIXME: To remove some day.
1203 target=$target_alias
1205 # FIXME: To remove some day.
1206 if test "x$host_alias" != x; then
1207 if test "x$build_alias" = x; then
1208 cross_compiling=maybe
1209 $as_echo "$as_me: WARNING: if you wanted to set the --build type, don't use --host.
1210 If a cross compiler is detected then cross compile mode will be used" >&2
1211 elif test "x$build_alias" != "x$host_alias"; then
1217 test -n "$host_alias" && ac_tool_prefix=$host_alias-
1219 test "$silent" = yes && exec 6>/dev/null
1222 ac_pwd=`pwd` && test -n "$ac_pwd" &&
1223 ac_ls_di=`ls -di .` &&
1224 ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` ||
1225 as_fn_error $? "working directory cannot be determined"
1226 test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
1227 as_fn_error $? "pwd does not report name of working directory"
1230 # Find the source files, if location was not specified.
1231 if test -z "$srcdir"; then
1232 ac_srcdir_defaulted=yes
1233 # Try the directory containing this script, then the parent directory.
1234 ac_confdir=`$as_dirname -- "$as_myself" ||
1235 $as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
1236 X"$as_myself" : 'X\(//\)[^/]' \| \
1237 X"$as_myself" : 'X\(//\)$' \| \
1238 X"$as_myself" : 'X\(/\)' \| . 2>/dev/null ||
1239 $as_echo X"$as_myself" |
1240 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
1258 if test ! -r "$srcdir/$ac_unique_file"; then
1262 ac_srcdir_defaulted=no
1264 if test ! -r "$srcdir/$ac_unique_file"; then
1265 test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .."
1266 as_fn_error $? "cannot find sources ($ac_unique_file) in $srcdir"
1268 ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work"
1270 cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error $? "$ac_msg"
1272 # When building in place, set srcdir=.
1273 if test "$ac_abs_confdir" = "$ac_pwd"; then
1276 # Remove unnecessary trailing slashes from srcdir.
1277 # Double slashes in file names in object file debugging info
1278 # mess up M-x gdb in Emacs.
1280 */) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
1282 for ac_var in $ac_precious_vars; do
1283 eval ac_env_${ac_var}_set=\${${ac_var}+set}
1284 eval ac_env_${ac_var}_value=\$${ac_var}
1285 eval ac_cv_env_${ac_var}_set=\${${ac_var}+set}
1286 eval ac_cv_env_${ac_var}_value=\$${ac_var}
1290 # Report the --help message.
1292 if test "$ac_init_help" = "long"; then
1293 # Omit some internal or obsolete options to make the list less imposing.
1294 # This message is too long to be a string in the A/UX 3.1 sh.
1296 \`configure' configures gacela 0.5 to adapt to many kinds of systems.
1298 Usage: $0 [OPTION]... [VAR=VALUE]...
1300 To assign environment variables (e.g., CC, CFLAGS...), specify them as
1301 VAR=VALUE. See below for descriptions of some of the useful variables.
1303 Defaults for the options are specified in brackets.
1306 -h, --help display this help and exit
1307 --help=short display options specific to this package
1308 --help=recursive display the short help of all the included packages
1309 -V, --version display version information and exit
1310 -q, --quiet, --silent do not print \`checking ...' messages
1311 --cache-file=FILE cache test results in FILE [disabled]
1312 -C, --config-cache alias for \`--cache-file=config.cache'
1313 -n, --no-create do not create output files
1314 --srcdir=DIR find the sources in DIR [configure dir or \`..']
1316 Installation directories:
1317 --prefix=PREFIX install architecture-independent files in PREFIX
1318 [$ac_default_prefix]
1319 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
1322 By default, \`make install' will install all the files in
1323 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
1324 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
1325 for instance \`--prefix=\$HOME'.
1327 For better control, use the options below.
1329 Fine tuning of the installation directories:
1330 --bindir=DIR user executables [EPREFIX/bin]
1331 --sbindir=DIR system admin executables [EPREFIX/sbin]
1332 --libexecdir=DIR program executables [EPREFIX/libexec]
1333 --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
1334 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
1335 --localstatedir=DIR modifiable single-machine data [PREFIX/var]
1336 --libdir=DIR object code libraries [EPREFIX/lib]
1337 --includedir=DIR C header files [PREFIX/include]
1338 --oldincludedir=DIR C header files for non-gcc [/usr/include]
1339 --datarootdir=DIR read-only arch.-independent data root [PREFIX/share]
1340 --datadir=DIR read-only architecture-independent data [DATAROOTDIR]
1341 --infodir=DIR info documentation [DATAROOTDIR/info]
1342 --localedir=DIR locale-dependent data [DATAROOTDIR/locale]
1343 --mandir=DIR man documentation [DATAROOTDIR/man]
1344 --docdir=DIR documentation root [DATAROOTDIR/doc/gacela]
1345 --htmldir=DIR html documentation [DOCDIR]
1346 --dvidir=DIR dvi documentation [DOCDIR]
1347 --pdfdir=DIR pdf documentation [DOCDIR]
1348 --psdir=DIR ps documentation [DOCDIR]
1354 --program-prefix=PREFIX prepend PREFIX to installed program names
1355 --program-suffix=SUFFIX append SUFFIX to installed program names
1356 --program-transform-name=PROGRAM run sed PROGRAM on installed program names
1359 --build=BUILD configure for building on BUILD [guessed]
1360 --host=HOST cross-compile to build programs to run on HOST [BUILD]
1364 if test -n "$ac_init_help"; then
1365 case $ac_init_help in
1366 short | recursive ) echo "Configuration of gacela 0.5:";;
1371 --disable-option-checking ignore unrecognized --enable/--with options
1372 --disable-FEATURE do not include FEATURE (same as --enable-FEATURE=no)
1373 --enable-FEATURE[=ARG] include FEATURE [ARG=yes]
1374 --disable-dependency-tracking speeds up one-time build
1375 --enable-dependency-tracking do not reject slow dependency extractors
1376 --enable-shared[=PKGS] build shared libraries [default=yes]
1377 --enable-static[=PKGS] build static libraries [default=yes]
1378 --enable-fast-install[=PKGS]
1379 optimize for fast installation [default=yes]
1380 --disable-libtool-lock avoid locking (might break parallel builds)
1383 --with-PACKAGE[=ARG] use PACKAGE [ARG=yes]
1384 --without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no)
1385 --with-pic[=PKGS] try to use only PIC/non-PIC objects [default=use
1387 --with-gnu-ld assume the C compiler uses GNU ld [default=no]
1388 --with-sysroot=DIR Search for dependent libraries within DIR
1389 (or the compiler's sysroot if not specified).
1391 Some influential environment variables:
1392 CC C compiler command
1393 CFLAGS C compiler flags
1394 LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a
1395 nonstandard directory <lib dir>
1396 LIBS libraries to pass to the linker, e.g. -l<library>
1397 CPPFLAGS (Objective) C/C++ preprocessor flags, e.g. -I<include dir> if
1398 you have headers in a nonstandard directory <include dir>
1401 Use these variables to override the choices made by `configure' or to help
1402 it to find libraries and programs with nonstandard names/locations.
1404 Report bugs to <jsf@jsancho.org>.
1409 if test "$ac_init_help" = "recursive"; then
1410 # If there are subdirs, report their specific --help.
1411 for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
1412 test -d "$ac_dir" ||
1413 { cd "$srcdir" && ac_pwd=`pwd` && srcdir=. && test -d "$ac_dir"; } ||
1418 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
1420 ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
1421 # A ".." for each directory in $ac_dir_suffix.
1422 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
1423 case $ac_top_builddir_sub in
1424 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
1425 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
1428 ac_abs_top_builddir=$ac_pwd
1429 ac_abs_builddir=$ac_pwd$ac_dir_suffix
1430 # for backward compatibility:
1431 ac_top_builddir=$ac_top_build_prefix
1434 .) # We are building in place.
1436 ac_top_srcdir=$ac_top_builddir_sub
1437 ac_abs_top_srcdir=$ac_pwd ;;
1438 [\\/]* | ?:[\\/]* ) # Absolute name.
1439 ac_srcdir=$srcdir$ac_dir_suffix;
1440 ac_top_srcdir=$srcdir
1441 ac_abs_top_srcdir=$srcdir ;;
1443 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
1444 ac_top_srcdir=$ac_top_build_prefix$srcdir
1445 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
1447 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
1449 cd "$ac_dir" || { ac_status=$?; continue; }
1450 # Check for guested configure.
1451 if test -f "$ac_srcdir/configure.gnu"; then
1453 $SHELL "$ac_srcdir/configure.gnu" --help=recursive
1454 elif test -f "$ac_srcdir/configure"; then
1456 $SHELL "$ac_srcdir/configure" --help=recursive
1458 $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
1460 cd "$ac_pwd" || { ac_status=$?; break; }
1464 test -n "$ac_init_help" && exit $ac_status
1465 if $ac_init_version; then
1467 gacela configure 0.5
1468 generated by GNU Autoconf 2.68
1470 Copyright (C) 2010 Free Software Foundation, Inc.
1471 This configure script is free software; the Free Software Foundation
1472 gives unlimited permission to copy, distribute and modify it.
1477 ## ------------------------ ##
1478 ## Autoconf initialization. ##
1479 ## ------------------------ ##
1481 # ac_fn_c_try_compile LINENO
1482 # --------------------------
1483 # Try to compile conftest.$ac_ext, and return whether this succeeded.
1484 ac_fn_c_try_compile ()
1486 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1487 rm -f conftest.$ac_objext
1488 if { { ac_try="$ac_compile"
1490 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1491 *) ac_try_echo=$ac_try;;
1493 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1494 $as_echo "$ac_try_echo"; } >&5
1495 (eval "$ac_compile") 2>conftest.err
1497 if test -s conftest.err; then
1498 grep -v '^ *+' conftest.err >conftest.er1
1499 cat conftest.er1 >&5
1500 mv -f conftest.er1 conftest.err
1502 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1503 test $ac_status = 0; } && {
1504 test -z "$ac_c_werror_flag" ||
1505 test ! -s conftest.err
1506 } && test -s conftest.$ac_objext; then :
1509 $as_echo "$as_me: failed program was:" >&5
1510 sed 's/^/| /' conftest.$ac_ext >&5
1514 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1515 as_fn_set_status $ac_retval
1517 } # ac_fn_c_try_compile
1519 # ac_fn_c_try_link LINENO
1520 # -----------------------
1521 # Try to link conftest.$ac_ext, and return whether this succeeded.
1524 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1525 rm -f conftest.$ac_objext conftest$ac_exeext
1526 if { { ac_try="$ac_link"
1528 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1529 *) ac_try_echo=$ac_try;;
1531 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1532 $as_echo "$ac_try_echo"; } >&5
1533 (eval "$ac_link") 2>conftest.err
1535 if test -s conftest.err; then
1536 grep -v '^ *+' conftest.err >conftest.er1
1537 cat conftest.er1 >&5
1538 mv -f conftest.er1 conftest.err
1540 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1541 test $ac_status = 0; } && {
1542 test -z "$ac_c_werror_flag" ||
1543 test ! -s conftest.err
1544 } && test -s conftest$ac_exeext && {
1545 test "$cross_compiling" = yes ||
1546 $as_test_x conftest$ac_exeext
1550 $as_echo "$as_me: failed program was:" >&5
1551 sed 's/^/| /' conftest.$ac_ext >&5
1555 # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
1556 # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
1557 # interfere with the next link command; also delete a directory that is
1558 # left behind by Apple's compiler. We do this before executing the actions.
1559 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
1560 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1561 as_fn_set_status $ac_retval
1563 } # ac_fn_c_try_link
1565 # ac_fn_c_check_header_compile LINENO HEADER VAR INCLUDES
1566 # -------------------------------------------------------
1567 # Tests whether HEADER exists and can be compiled using the include files in
1568 # INCLUDES, setting the cache variable VAR accordingly.
1569 ac_fn_c_check_header_compile ()
1571 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1572 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1573 $as_echo_n "checking for $2... " >&6; }
1574 if eval \${$3+:} false; then :
1575 $as_echo_n "(cached) " >&6
1577 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1578 /* end confdefs.h. */
1582 if ac_fn_c_try_compile "$LINENO"; then :
1587 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1590 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1591 $as_echo "$ac_res" >&6; }
1592 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1594 } # ac_fn_c_check_header_compile
1596 # ac_fn_c_try_cpp LINENO
1597 # ----------------------
1598 # Try to preprocess conftest.$ac_ext, and return whether this succeeded.
1601 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1602 if { { ac_try="$ac_cpp conftest.$ac_ext"
1604 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1605 *) ac_try_echo=$ac_try;;
1607 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1608 $as_echo "$ac_try_echo"; } >&5
1609 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err
1611 if test -s conftest.err; then
1612 grep -v '^ *+' conftest.err >conftest.er1
1613 cat conftest.er1 >&5
1614 mv -f conftest.er1 conftest.err
1616 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1617 test $ac_status = 0; } > conftest.i && {
1618 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
1619 test ! -s conftest.err
1623 $as_echo "$as_me: failed program was:" >&5
1624 sed 's/^/| /' conftest.$ac_ext >&5
1628 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1629 as_fn_set_status $ac_retval
1633 # ac_fn_c_try_run LINENO
1634 # ----------------------
1635 # Try to link conftest.$ac_ext, and return whether this succeeded. Assumes
1636 # that executables *can* be run.
1639 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1640 if { { ac_try="$ac_link"
1642 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1643 *) ac_try_echo=$ac_try;;
1645 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1646 $as_echo "$ac_try_echo"; } >&5
1647 (eval "$ac_link") 2>&5
1649 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1650 test $ac_status = 0; } && { ac_try='./conftest$ac_exeext'
1651 { { case "(($ac_try" in
1652 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1653 *) ac_try_echo=$ac_try;;
1655 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1656 $as_echo "$ac_try_echo"; } >&5
1657 (eval "$ac_try") 2>&5
1659 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1660 test $ac_status = 0; }; }; then :
1663 $as_echo "$as_me: program exited with status $ac_status" >&5
1664 $as_echo "$as_me: failed program was:" >&5
1665 sed 's/^/| /' conftest.$ac_ext >&5
1667 ac_retval=$ac_status
1669 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
1670 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1671 as_fn_set_status $ac_retval
1675 # ac_fn_c_check_func LINENO FUNC VAR
1676 # ----------------------------------
1677 # Tests whether FUNC exists, setting the cache variable VAR accordingly
1678 ac_fn_c_check_func ()
1680 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1681 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1682 $as_echo_n "checking for $2... " >&6; }
1683 if eval \${$3+:} false; then :
1684 $as_echo_n "(cached) " >&6
1686 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1687 /* end confdefs.h. */
1688 /* Define $2 to an innocuous variant, in case <limits.h> declares $2.
1689 For example, HP-UX 11i <limits.h> declares gettimeofday. */
1690 #define $2 innocuous_$2
1692 /* System header to define __stub macros and hopefully few prototypes,
1693 which can conflict with char $2 (); below.
1694 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
1695 <limits.h> exists even on freestanding compilers. */
1698 # include <limits.h>
1700 # include <assert.h>
1705 /* Override any GCC internal prototype to avoid an error.
1706 Use char because int might match the return type of a GCC
1707 builtin and then its argument prototype would still apply. */
1712 /* The GNU C library defines this for functions which it implements
1713 to always fail with ENOSYS. Some functions are actually named
1714 something starting with __ and the normal name is an alias. */
1715 #if defined __stub_$2 || defined __stub___$2
1727 if ac_fn_c_try_link "$LINENO"; then :
1732 rm -f core conftest.err conftest.$ac_objext \
1733 conftest$ac_exeext conftest.$ac_ext
1736 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1737 $as_echo "$ac_res" >&6; }
1738 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1740 } # ac_fn_c_check_func
1741 cat >config.log <<_ACEOF
1742 This file contains any messages produced by compilers while
1743 running configure, to aid debugging if configure makes a mistake.
1745 It was created by gacela $as_me 0.5, which was
1746 generated by GNU Autoconf 2.68. Invocation command line was
1758 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
1759 uname -m = `(uname -m) 2>/dev/null || echo unknown`
1760 uname -r = `(uname -r) 2>/dev/null || echo unknown`
1761 uname -s = `(uname -s) 2>/dev/null || echo unknown`
1762 uname -v = `(uname -v) 2>/dev/null || echo unknown`
1764 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
1765 /bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown`
1767 /bin/arch = `(/bin/arch) 2>/dev/null || echo unknown`
1768 /usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown`
1769 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
1770 /usr/bin/hostinfo = `(/usr/bin/hostinfo) 2>/dev/null || echo unknown`
1771 /bin/machine = `(/bin/machine) 2>/dev/null || echo unknown`
1772 /usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown`
1773 /bin/universe = `(/bin/universe) 2>/dev/null || echo unknown`
1777 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1781 test -z "$as_dir" && as_dir=.
1782 $as_echo "PATH: $as_dir"
1798 # Keep a trace of the command line.
1799 # Strip out --no-create and --no-recursion so they do not pile up.
1800 # Strip out --silent because we don't want to record it for future runs.
1801 # Also quote any args containing shell meta-characters.
1802 # Make two passes to allow for proper duplicate-argument suppression.
1806 ac_must_keep_next=false
1812 -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
1813 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1814 | -silent | --silent | --silen | --sile | --sil)
1817 ac_arg=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
1820 1) as_fn_append ac_configure_args0 " '$ac_arg'" ;;
1822 as_fn_append ac_configure_args1 " '$ac_arg'"
1823 if test $ac_must_keep_next = true; then
1824 ac_must_keep_next=false # Got value, back to normal.
1827 *=* | --config-cache | -C | -disable-* | --disable-* \
1828 | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
1829 | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
1830 | -with-* | --with-* | -without-* | --without-* | --x)
1831 case "$ac_configure_args0 " in
1832 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
1835 -* ) ac_must_keep_next=true ;;
1838 as_fn_append ac_configure_args " '$ac_arg'"
1843 { ac_configure_args0=; unset ac_configure_args0;}
1844 { ac_configure_args1=; unset ac_configure_args1;}
1846 # When interrupted or exit'd, cleanup temporary files, and complete
1847 # config.log. We remove comments because anyway the quotes in there
1848 # would cause problems or look ugly.
1849 # WARNING: Use '\'' to represent an apostrophe within the trap.
1850 # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
1851 trap 'exit_status=$?
1852 # Save into config.log some information that might help in debugging.
1856 $as_echo "## ---------------- ##
1857 ## Cache variables. ##
1858 ## ---------------- ##"
1860 # The following way of writing the cache mishandles newlines in values,
1862 for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
1863 eval ac_val=\$$ac_var
1867 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
1868 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
1871 _ | IFS | as_nl) ;; #(
1872 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
1873 *) { eval $ac_var=; unset $ac_var;} ;;
1878 case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
1879 *${as_nl}ac_space=\ *)
1881 "s/'\''/'\''\\\\'\'''\''/g;
1882 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
1885 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
1892 $as_echo "## ----------------- ##
1893 ## Output variables. ##
1894 ## ----------------- ##"
1896 for ac_var in $ac_subst_vars
1898 eval ac_val=\$$ac_var
1900 *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
1902 $as_echo "$ac_var='\''$ac_val'\''"
1906 if test -n "$ac_subst_files"; then
1907 $as_echo "## ------------------- ##
1908 ## File substitutions. ##
1909 ## ------------------- ##"
1911 for ac_var in $ac_subst_files
1913 eval ac_val=\$$ac_var
1915 *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
1917 $as_echo "$ac_var='\''$ac_val'\''"
1922 if test -s confdefs.h; then
1923 $as_echo "## ----------- ##
1930 test "$ac_signal" != 0 &&
1931 $as_echo "$as_me: caught signal $ac_signal"
1932 $as_echo "$as_me: exit $exit_status"
1934 rm -f core *.core core.conftest.* &&
1935 rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
1938 for ac_signal in 1 2 13 15; do
1939 trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal
1943 # confdefs.h avoids OS command line length limits that DEFS can exceed.
1944 rm -f -r conftest* confdefs.h
1946 $as_echo "/* confdefs.h */" > confdefs.h
1948 # Predefined preprocessor variables.
1950 cat >>confdefs.h <<_ACEOF
1951 #define PACKAGE_NAME "$PACKAGE_NAME"
1954 cat >>confdefs.h <<_ACEOF
1955 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
1958 cat >>confdefs.h <<_ACEOF
1959 #define PACKAGE_VERSION "$PACKAGE_VERSION"
1962 cat >>confdefs.h <<_ACEOF
1963 #define PACKAGE_STRING "$PACKAGE_STRING"
1966 cat >>confdefs.h <<_ACEOF
1967 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
1970 cat >>confdefs.h <<_ACEOF
1971 #define PACKAGE_URL "$PACKAGE_URL"
1975 # Let the site file select an alternate cache file if it wants to.
1976 # Prefer an explicitly selected file to automatically selected ones.
1979 if test -n "$CONFIG_SITE"; then
1980 # We do not want a PATH search for config.site.
1981 case $CONFIG_SITE in #((
1982 -*) ac_site_file1=./$CONFIG_SITE;;
1983 */*) ac_site_file1=$CONFIG_SITE;;
1984 *) ac_site_file1=./$CONFIG_SITE;;
1986 elif test "x$prefix" != xNONE; then
1987 ac_site_file1=$prefix/share/config.site
1988 ac_site_file2=$prefix/etc/config.site
1990 ac_site_file1=$ac_default_prefix/share/config.site
1991 ac_site_file2=$ac_default_prefix/etc/config.site
1993 for ac_site_file in "$ac_site_file1" "$ac_site_file2"
1995 test "x$ac_site_file" = xNONE && continue
1996 if test /dev/null != "$ac_site_file" && test -r "$ac_site_file"; then
1997 { $as_echo "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5
1998 $as_echo "$as_me: loading site script $ac_site_file" >&6;}
1999 sed 's/^/| /' "$ac_site_file" >&5
2001 || { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2002 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2003 as_fn_error $? "failed to load site script $ac_site_file
2004 See \`config.log' for more details" "$LINENO" 5; }
2008 if test -r "$cache_file"; then
2009 # Some versions of bash will fail to source /dev/null (special files
2010 # actually), so we avoid doing that. DJGPP emulates it as a regular file.
2011 if test /dev/null != "$cache_file" && test -f "$cache_file"; then
2012 { $as_echo "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5
2013 $as_echo "$as_me: loading cache $cache_file" >&6;}
2015 [\\/]* | ?:[\\/]* ) . "$cache_file";;
2016 *) . "./$cache_file";;
2020 { $as_echo "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5
2021 $as_echo "$as_me: creating cache $cache_file" >&6;}
2025 # Check that the precious variables saved in the cache have kept the same
2027 ac_cache_corrupted=false
2028 for ac_var in $ac_precious_vars; do
2029 eval ac_old_set=\$ac_cv_env_${ac_var}_set
2030 eval ac_new_set=\$ac_env_${ac_var}_set
2031 eval ac_old_val=\$ac_cv_env_${ac_var}_value
2032 eval ac_new_val=\$ac_env_${ac_var}_value
2033 case $ac_old_set,$ac_new_set in
2035 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
2036 $as_echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
2037 ac_cache_corrupted=: ;;
2039 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not set in the previous run" >&5
2040 $as_echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
2041 ac_cache_corrupted=: ;;
2044 if test "x$ac_old_val" != "x$ac_new_val"; then
2045 # differences in whitespace do not lead to failure.
2046 ac_old_val_w=`echo x $ac_old_val`
2047 ac_new_val_w=`echo x $ac_new_val`
2048 if test "$ac_old_val_w" != "$ac_new_val_w"; then
2049 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&5
2050 $as_echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
2051 ac_cache_corrupted=:
2053 { $as_echo "$as_me:${as_lineno-$LINENO}: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5
2054 $as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;}
2055 eval $ac_var=\$ac_old_val
2057 { $as_echo "$as_me:${as_lineno-$LINENO}: former value: \`$ac_old_val'" >&5
2058 $as_echo "$as_me: former value: \`$ac_old_val'" >&2;}
2059 { $as_echo "$as_me:${as_lineno-$LINENO}: current value: \`$ac_new_val'" >&5
2060 $as_echo "$as_me: current value: \`$ac_new_val'" >&2;}
2063 # Pass precious variables to config.status.
2064 if test "$ac_new_set" = set; then
2066 *\'*) ac_arg=$ac_var=`$as_echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
2067 *) ac_arg=$ac_var=$ac_new_val ;;
2069 case " $ac_configure_args " in
2070 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
2071 *) as_fn_append ac_configure_args " '$ac_arg'" ;;
2075 if $ac_cache_corrupted; then
2076 { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2077 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2078 { $as_echo "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5
2079 $as_echo "$as_me: error: changes in the environment can compromise the build" >&2;}
2080 as_fn_error $? "run \`make distclean' and/or \`rm $cache_file' and start over" "$LINENO" 5
2082 ## -------------------- ##
2083 ## Main body of script. ##
2084 ## -------------------- ##
2087 ac_cpp='$CPP $CPPFLAGS'
2088 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2089 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2090 ac_compiler_gnu=$ac_cv_c_compiler_gnu
2093 am__api_version='1.11'
2096 for ac_dir in "$srcdir" "$srcdir/.." "$srcdir/../.."; do
2097 if test -f "$ac_dir/install-sh"; then
2099 ac_install_sh="$ac_aux_dir/install-sh -c"
2101 elif test -f "$ac_dir/install.sh"; then
2103 ac_install_sh="$ac_aux_dir/install.sh -c"
2105 elif test -f "$ac_dir/shtool"; then
2107 ac_install_sh="$ac_aux_dir/shtool install -c"
2111 if test -z "$ac_aux_dir"; then
2112 as_fn_error $? "cannot find install-sh, install.sh, or shtool in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" "$LINENO" 5
2115 # These three variables are undocumented and unsupported,
2116 # and are intended to be withdrawn in a future Autoconf release.
2117 # They can cause serious problems if a builder's source tree is in a directory
2118 # whose full name contains unusual characters.
2119 ac_config_guess="$SHELL $ac_aux_dir/config.guess" # Please don't use this var.
2120 ac_config_sub="$SHELL $ac_aux_dir/config.sub" # Please don't use this var.
2121 ac_configure="$SHELL $ac_aux_dir/configure" # Please don't use this var.
2124 # Find a good install program. We prefer a C program (faster),
2125 # so one script is as good as another. But avoid the broken or
2126 # incompatible versions:
2127 # SysV /etc/install, /usr/sbin/install
2128 # SunOS /usr/etc/install
2129 # IRIX /sbin/install
2131 # AmigaOS /C/install, which installs bootblocks on floppy discs
2132 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
2133 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
2134 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
2135 # OS/2's system install, which has a completely different semantic
2136 # ./install, which can be erroneously created by make from ./install.sh.
2137 # Reject install programs that cannot install multiple files.
2138 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a BSD-compatible install" >&5
2139 $as_echo_n "checking for a BSD-compatible install... " >&6; }
2140 if test -z "$INSTALL"; then
2141 if ${ac_cv_path_install+:} false; then :
2142 $as_echo_n "(cached) " >&6
2144 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2148 test -z "$as_dir" && as_dir=.
2149 # Account for people who put trailing slashes in PATH elements.
2150 case $as_dir/ in #((
2151 ./ | .// | /[cC]/* | \
2152 /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
2153 ?:[\\/]os2[\\/]install[\\/]* | ?:[\\/]OS2[\\/]INSTALL[\\/]* | \
2156 # OSF1 and SCO ODT 3.0 have their own names for install.
2157 # Don't use installbsd from OSF since it installs stuff as root
2159 for ac_prog in ginstall scoinst install; do
2160 for ac_exec_ext in '' $ac_executable_extensions; do
2161 if { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; }; then
2162 if test $ac_prog = install &&
2163 grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
2164 # AIX install. It has an incompatible calling convention.
2166 elif test $ac_prog = install &&
2167 grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
2168 # program-specific install script used by HP pwplus--don't use.
2171 rm -rf conftest.one conftest.two conftest.dir
2172 echo one > conftest.one
2173 echo two > conftest.two
2175 if "$as_dir/$ac_prog$ac_exec_ext" -c conftest.one conftest.two "`pwd`/conftest.dir" &&
2176 test -s conftest.one && test -s conftest.two &&
2177 test -s conftest.dir/conftest.one &&
2178 test -s conftest.dir/conftest.two
2180 ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
2193 rm -rf conftest.one conftest.two conftest.dir
2196 if test "${ac_cv_path_install+set}" = set; then
2197 INSTALL=$ac_cv_path_install
2199 # As a last resort, use the slow shell script. Don't cache a
2200 # value for INSTALL within a source directory, because that will
2201 # break other packages using the cache if that directory is
2202 # removed, or if the value is a relative name.
2203 INSTALL=$ac_install_sh
2206 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $INSTALL" >&5
2207 $as_echo "$INSTALL" >&6; }
2209 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
2210 # It thinks the first close brace ends the variable substitution.
2211 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
2213 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
2215 test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
2217 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether build environment is sane" >&5
2218 $as_echo_n "checking whether build environment is sane... " >&6; }
2221 echo timestamp > conftest.file
2222 # Reject unsafe characters in $srcdir or the absolute working directory
2223 # name. Accept space and tab only in the latter.
2227 *[\\\"\#\$\&\'\`$am_lf]*)
2228 as_fn_error $? "unsafe absolute working directory name" "$LINENO" 5;;
2231 *[\\\"\#\$\&\'\`$am_lf\ \ ]*)
2232 as_fn_error $? "unsafe srcdir value: \`$srcdir'" "$LINENO" 5;;
2235 # Do `set' in a subshell so we don't clobber the current shell's
2236 # arguments. Must try -L first in case configure is actually a
2237 # symlink; some systems play weird games with the mod time of symlinks
2238 # (eg FreeBSD returns the mod time of the symlink's containing
2241 set X `ls -Lt "$srcdir/configure" conftest.file 2> /dev/null`
2242 if test "$*" = "X"; then
2244 set X `ls -t "$srcdir/configure" conftest.file`
2247 if test "$*" != "X $srcdir/configure conftest.file" \
2248 && test "$*" != "X conftest.file $srcdir/configure"; then
2250 # If neither matched, then we have a broken ls. This can happen
2251 # if, for instance, CONFIG_SHELL is bash and it inherits a
2252 # broken ls alias from the environment. This has actually
2253 # happened. Such a system could not be considered "sane".
2254 as_fn_error $? "ls -t appears to fail. Make sure there is not a broken
2255 alias in your environment" "$LINENO" 5
2258 test "$2" = conftest.file
2264 as_fn_error $? "newly created file is older than distributed files!
2265 Check your system clock" "$LINENO" 5
2267 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
2268 $as_echo "yes" >&6; }
2269 test "$program_prefix" != NONE &&
2270 program_transform_name="s&^&$program_prefix&;$program_transform_name"
2271 # Use a double $ so make ignores it.
2272 test "$program_suffix" != NONE &&
2273 program_transform_name="s&\$&$program_suffix&;$program_transform_name"
2274 # Double any \ or $.
2275 # By default was `s,x,x', remove it if useless.
2276 ac_script='s/[\\$]/&&/g;s/;s,x,x,$//'
2277 program_transform_name=`$as_echo "$program_transform_name" | sed "$ac_script"`
2279 # expand $ac_aux_dir to an absolute path
2280 am_aux_dir=`cd $ac_aux_dir && pwd`
2282 if test x"${MISSING+set}" != xset; then
2285 MISSING="\${SHELL} \"$am_aux_dir/missing\"" ;;
2287 MISSING="\${SHELL} $am_aux_dir/missing" ;;
2290 # Use eval to expand $SHELL
2291 if eval "$MISSING --run true"; then
2292 am_missing_run="$MISSING --run "
2295 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \`missing' script is too old or missing" >&5
2296 $as_echo "$as_me: WARNING: \`missing' script is too old or missing" >&2;}
2299 if test x"${install_sh}" != xset; then
2302 install_sh="\${SHELL} '$am_aux_dir/install-sh'" ;;
2304 install_sh="\${SHELL} $am_aux_dir/install-sh"
2308 # Installed binaries are usually stripped using `strip' when the user
2309 # run `make install-strip'. However `strip' might not be the right
2310 # tool to use in cross-compilation environments, therefore Automake
2311 # will honor the `STRIP' environment variable to overrule this program.
2312 if test "$cross_compiling" != no; then
2313 if test -n "$ac_tool_prefix"; then
2314 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
2315 set dummy ${ac_tool_prefix}strip; ac_word=$2
2316 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2317 $as_echo_n "checking for $ac_word... " >&6; }
2318 if ${ac_cv_prog_STRIP+:} false; then :
2319 $as_echo_n "(cached) " >&6
2321 if test -n "$STRIP"; then
2322 ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
2324 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2328 test -z "$as_dir" && as_dir=.
2329 for ac_exec_ext in '' $ac_executable_extensions; do
2330 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2331 ac_cv_prog_STRIP="${ac_tool_prefix}strip"
2332 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2341 STRIP=$ac_cv_prog_STRIP
2342 if test -n "$STRIP"; then
2343 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
2344 $as_echo "$STRIP" >&6; }
2346 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2347 $as_echo "no" >&6; }
2352 if test -z "$ac_cv_prog_STRIP"; then
2354 # Extract the first word of "strip", so it can be a program name with args.
2355 set dummy strip; ac_word=$2
2356 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2357 $as_echo_n "checking for $ac_word... " >&6; }
2358 if ${ac_cv_prog_ac_ct_STRIP+:} false; then :
2359 $as_echo_n "(cached) " >&6
2361 if test -n "$ac_ct_STRIP"; then
2362 ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
2364 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2368 test -z "$as_dir" && as_dir=.
2369 for ac_exec_ext in '' $ac_executable_extensions; do
2370 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2371 ac_cv_prog_ac_ct_STRIP="strip"
2372 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2381 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
2382 if test -n "$ac_ct_STRIP"; then
2383 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
2384 $as_echo "$ac_ct_STRIP" >&6; }
2386 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2387 $as_echo "no" >&6; }
2390 if test "x$ac_ct_STRIP" = x; then
2393 case $cross_compiling:$ac_tool_warned in
2395 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
2396 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
2397 ac_tool_warned=yes ;;
2402 STRIP="$ac_cv_prog_STRIP"
2406 INSTALL_STRIP_PROGRAM="\$(install_sh) -c -s"
2408 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a thread-safe mkdir -p" >&5
2409 $as_echo_n "checking for a thread-safe mkdir -p... " >&6; }
2410 if test -z "$MKDIR_P"; then
2411 if ${ac_cv_path_mkdir+:} false; then :
2412 $as_echo_n "(cached) " >&6
2414 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2415 for as_dir in $PATH$PATH_SEPARATOR/opt/sfw/bin
2418 test -z "$as_dir" && as_dir=.
2419 for ac_prog in mkdir gmkdir; do
2420 for ac_exec_ext in '' $ac_executable_extensions; do
2421 { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; } || continue
2422 case `"$as_dir/$ac_prog$ac_exec_ext" --version 2>&1` in #(
2423 'mkdir (GNU coreutils) '* | \
2424 'mkdir (coreutils) '* | \
2425 'mkdir (fileutils) '4.1*)
2426 ac_cv_path_mkdir=$as_dir/$ac_prog$ac_exec_ext
2436 test -d ./--version && rmdir ./--version
2437 if test "${ac_cv_path_mkdir+set}" = set; then
2438 MKDIR_P="$ac_cv_path_mkdir -p"
2440 # As a last resort, use the slow shell script. Don't cache a
2441 # value for MKDIR_P within a source directory, because that will
2442 # break other packages using the cache if that directory is
2443 # removed, or if the value is a relative name.
2444 MKDIR_P="$ac_install_sh -d"
2447 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MKDIR_P" >&5
2448 $as_echo "$MKDIR_P" >&6; }
2452 [\\/$]* | ?:[\\/]*) ;;
2453 */*) mkdir_p="\$(top_builddir)/$mkdir_p" ;;
2456 for ac_prog in gawk mawk nawk awk
2458 # Extract the first word of "$ac_prog", so it can be a program name with args.
2459 set dummy $ac_prog; ac_word=$2
2460 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2461 $as_echo_n "checking for $ac_word... " >&6; }
2462 if ${ac_cv_prog_AWK+:} false; then :
2463 $as_echo_n "(cached) " >&6
2465 if test -n "$AWK"; then
2466 ac_cv_prog_AWK="$AWK" # Let the user override the test.
2468 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2472 test -z "$as_dir" && as_dir=.
2473 for ac_exec_ext in '' $ac_executable_extensions; do
2474 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2475 ac_cv_prog_AWK="$ac_prog"
2476 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2486 if test -n "$AWK"; then
2487 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AWK" >&5
2488 $as_echo "$AWK" >&6; }
2490 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2491 $as_echo "no" >&6; }
2495 test -n "$AWK" && break
2498 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5
2499 $as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; }
2501 ac_make=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
2502 if eval \${ac_cv_prog_make_${ac_make}_set+:} false; then :
2503 $as_echo_n "(cached) " >&6
2505 cat >conftest.make <<\_ACEOF
2508 @echo '@@@%%%=$(MAKE)=@@@%%%'
2510 # GNU make sometimes prints "make[1]: Entering ...", which would confuse us.
2511 case `${MAKE-make} -f conftest.make 2>/dev/null` in
2513 eval ac_cv_prog_make_${ac_make}_set=yes;;
2515 eval ac_cv_prog_make_${ac_make}_set=no;;
2519 if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then
2520 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
2521 $as_echo "yes" >&6; }
2524 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2525 $as_echo "no" >&6; }
2526 SET_MAKE="MAKE=${MAKE-make}"
2529 rm -rf .tst 2>/dev/null
2530 mkdir .tst 2>/dev/null
2531 if test -d .tst; then
2536 rmdir .tst 2>/dev/null
2538 if test "`cd $srcdir && pwd`" != "`pwd`"; then
2539 # Use -I$(srcdir) only when $(srcdir) != ., so that make's output
2540 # is not polluted with repeated "-I."
2541 am__isrc=' -I$(srcdir)'
2542 # test to see if srcdir already configured
2543 if test -f $srcdir/config.status; then
2544 as_fn_error $? "source directory already configured; run \"make distclean\" there first" "$LINENO" 5
2548 # test whether we have cygpath
2549 if test -z "$CYGPATH_W"; then
2550 if (cygpath --version) >/dev/null 2>/dev/null; then
2551 CYGPATH_W='cygpath -w'
2558 # Define the identity of the package.
2563 cat >>confdefs.h <<_ACEOF
2564 #define PACKAGE "$PACKAGE"
2568 cat >>confdefs.h <<_ACEOF
2569 #define VERSION "$VERSION"
2572 # Some tools Automake needs.
2574 ACLOCAL=${ACLOCAL-"${am_missing_run}aclocal-${am__api_version}"}
2577 AUTOCONF=${AUTOCONF-"${am_missing_run}autoconf"}
2580 AUTOMAKE=${AUTOMAKE-"${am_missing_run}automake-${am__api_version}"}
2583 AUTOHEADER=${AUTOHEADER-"${am_missing_run}autoheader"}
2586 MAKEINFO=${MAKEINFO-"${am_missing_run}makeinfo"}
2588 # We need awk for the "check" target. The system "awk" is bad on
2590 # Always define AMTAR for backward compatibility.
2592 AMTAR=${AMTAR-"${am_missing_run}tar"}
2594 am__tar='${AMTAR} chof - "$$tardir"'; am__untar='${AMTAR} xf -'
2601 ac_cpp='$CPP $CPPFLAGS'
2602 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2603 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2604 ac_compiler_gnu=$ac_cv_c_compiler_gnu
2605 if test -n "$ac_tool_prefix"; then
2606 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
2607 set dummy ${ac_tool_prefix}gcc; ac_word=$2
2608 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2609 $as_echo_n "checking for $ac_word... " >&6; }
2610 if ${ac_cv_prog_CC+:} false; then :
2611 $as_echo_n "(cached) " >&6
2613 if test -n "$CC"; then
2614 ac_cv_prog_CC="$CC" # Let the user override the test.
2616 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2620 test -z "$as_dir" && as_dir=.
2621 for ac_exec_ext in '' $ac_executable_extensions; do
2622 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2623 ac_cv_prog_CC="${ac_tool_prefix}gcc"
2624 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2634 if test -n "$CC"; then
2635 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
2636 $as_echo "$CC" >&6; }
2638 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2639 $as_echo "no" >&6; }
2644 if test -z "$ac_cv_prog_CC"; then
2646 # Extract the first word of "gcc", so it can be a program name with args.
2647 set dummy gcc; ac_word=$2
2648 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2649 $as_echo_n "checking for $ac_word... " >&6; }
2650 if ${ac_cv_prog_ac_ct_CC+:} false; then :
2651 $as_echo_n "(cached) " >&6
2653 if test -n "$ac_ct_CC"; then
2654 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
2656 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2660 test -z "$as_dir" && as_dir=.
2661 for ac_exec_ext in '' $ac_executable_extensions; do
2662 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2663 ac_cv_prog_ac_ct_CC="gcc"
2664 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2673 ac_ct_CC=$ac_cv_prog_ac_ct_CC
2674 if test -n "$ac_ct_CC"; then
2675 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
2676 $as_echo "$ac_ct_CC" >&6; }
2678 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2679 $as_echo "no" >&6; }
2682 if test "x$ac_ct_CC" = x; then
2685 case $cross_compiling:$ac_tool_warned in
2687 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
2688 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
2689 ac_tool_warned=yes ;;
2697 if test -z "$CC"; then
2698 if test -n "$ac_tool_prefix"; then
2699 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
2700 set dummy ${ac_tool_prefix}cc; ac_word=$2
2701 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2702 $as_echo_n "checking for $ac_word... " >&6; }
2703 if ${ac_cv_prog_CC+:} false; then :
2704 $as_echo_n "(cached) " >&6
2706 if test -n "$CC"; then
2707 ac_cv_prog_CC="$CC" # Let the user override the test.
2709 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2713 test -z "$as_dir" && as_dir=.
2714 for ac_exec_ext in '' $ac_executable_extensions; do
2715 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2716 ac_cv_prog_CC="${ac_tool_prefix}cc"
2717 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2727 if test -n "$CC"; then
2728 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
2729 $as_echo "$CC" >&6; }
2731 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2732 $as_echo "no" >&6; }
2738 if test -z "$CC"; then
2739 # Extract the first word of "cc", so it can be a program name with args.
2740 set dummy cc; ac_word=$2
2741 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2742 $as_echo_n "checking for $ac_word... " >&6; }
2743 if ${ac_cv_prog_CC+:} false; then :
2744 $as_echo_n "(cached) " >&6
2746 if test -n "$CC"; then
2747 ac_cv_prog_CC="$CC" # Let the user override the test.
2750 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2754 test -z "$as_dir" && as_dir=.
2755 for ac_exec_ext in '' $ac_executable_extensions; do
2756 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2757 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
2758 ac_prog_rejected=yes
2762 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2769 if test $ac_prog_rejected = yes; then
2770 # We found a bogon in the path, so make sure we never use it.
2771 set dummy $ac_cv_prog_CC
2773 if test $# != 0; then
2774 # We chose a different compiler from the bogus one.
2775 # However, it has the same basename, so the bogon will be chosen
2776 # first if we set CC to just the basename; use the full file name.
2778 ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
2784 if test -n "$CC"; then
2785 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
2786 $as_echo "$CC" >&6; }
2788 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2789 $as_echo "no" >&6; }
2794 if test -z "$CC"; then
2795 if test -n "$ac_tool_prefix"; then
2796 for ac_prog in cl.exe
2798 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
2799 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
2800 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2801 $as_echo_n "checking for $ac_word... " >&6; }
2802 if ${ac_cv_prog_CC+:} false; then :
2803 $as_echo_n "(cached) " >&6
2805 if test -n "$CC"; then
2806 ac_cv_prog_CC="$CC" # Let the user override the test.
2808 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2812 test -z "$as_dir" && as_dir=.
2813 for ac_exec_ext in '' $ac_executable_extensions; do
2814 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2815 ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
2816 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2826 if test -n "$CC"; then
2827 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
2828 $as_echo "$CC" >&6; }
2830 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2831 $as_echo "no" >&6; }
2835 test -n "$CC" && break
2838 if test -z "$CC"; then
2840 for ac_prog in cl.exe
2842 # Extract the first word of "$ac_prog", so it can be a program name with args.
2843 set dummy $ac_prog; ac_word=$2
2844 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2845 $as_echo_n "checking for $ac_word... " >&6; }
2846 if ${ac_cv_prog_ac_ct_CC+:} false; then :
2847 $as_echo_n "(cached) " >&6
2849 if test -n "$ac_ct_CC"; then
2850 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
2852 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2856 test -z "$as_dir" && as_dir=.
2857 for ac_exec_ext in '' $ac_executable_extensions; do
2858 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2859 ac_cv_prog_ac_ct_CC="$ac_prog"
2860 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2869 ac_ct_CC=$ac_cv_prog_ac_ct_CC
2870 if test -n "$ac_ct_CC"; then
2871 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
2872 $as_echo "$ac_ct_CC" >&6; }
2874 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2875 $as_echo "no" >&6; }
2879 test -n "$ac_ct_CC" && break
2882 if test "x$ac_ct_CC" = x; then
2885 case $cross_compiling:$ac_tool_warned in
2887 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
2888 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
2889 ac_tool_warned=yes ;;
2898 test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2899 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2900 as_fn_error $? "no acceptable C compiler found in \$PATH
2901 See \`config.log' for more details" "$LINENO" 5; }
2903 # Provide some information about the compiler.
2904 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
2907 for ac_option in --version -v -V -qversion; do
2908 { { ac_try="$ac_compiler $ac_option >&5"
2910 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2911 *) ac_try_echo=$ac_try;;
2913 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2914 $as_echo "$ac_try_echo"; } >&5
2915 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
2917 if test -s conftest.err; then
2919 ... rest of stderr output deleted ...
2920 10q' conftest.err >conftest.er1
2921 cat conftest.er1 >&5
2923 rm -f conftest.er1 conftest.err
2924 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2925 test $ac_status = 0; }
2928 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2929 /* end confdefs.h. */
2939 ac_clean_files_save=$ac_clean_files
2940 ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out"
2941 # Try to create an executable without -o first, disregard a.out.
2942 # It will help us diagnose broken compilers, and finding out an intuition
2944 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler works" >&5
2945 $as_echo_n "checking whether the C compiler works... " >&6; }
2946 ac_link_default=`$as_echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
2948 # The possible output files:
2949 ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*"
2952 for ac_file in $ac_files
2955 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
2956 * ) ac_rmfiles="$ac_rmfiles $ac_file";;
2961 if { { ac_try="$ac_link_default"
2963 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2964 *) ac_try_echo=$ac_try;;
2966 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2967 $as_echo "$ac_try_echo"; } >&5
2968 (eval "$ac_link_default") 2>&5
2970 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2971 test $ac_status = 0; }; then :
2972 # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
2973 # So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
2974 # in a Makefile. We should not override ac_cv_exeext if it was cached,
2975 # so that the user can short-circuit this test for compilers unknown to
2977 for ac_file in $ac_files ''
2979 test -f "$ac_file" || continue
2981 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj )
2984 # We found the default executable, but exeext='' is most
2988 if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no;
2990 ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
2992 # We set ac_cv_exeext here because the later test for it is not
2993 # safe: cross compilers may not add the suffix if given an `-o'
2994 # argument, so we may need to know it at that point already.
2995 # Even if this section looks crufty: it has the advantage of
3002 test "$ac_cv_exeext" = no && ac_cv_exeext=
3007 if test -z "$ac_file"; then :
3008 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3009 $as_echo "no" >&6; }
3010 $as_echo "$as_me: failed program was:" >&5
3011 sed 's/^/| /' conftest.$ac_ext >&5
3013 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3014 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3015 as_fn_error 77 "C compiler cannot create executables
3016 See \`config.log' for more details" "$LINENO" 5; }
3018 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
3019 $as_echo "yes" >&6; }
3021 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler default output file name" >&5
3022 $as_echo_n "checking for C compiler default output file name... " >&6; }
3023 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5
3024 $as_echo "$ac_file" >&6; }
3025 ac_exeext=$ac_cv_exeext
3027 rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out
3028 ac_clean_files=$ac_clean_files_save
3029 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5
3030 $as_echo_n "checking for suffix of executables... " >&6; }
3031 if { { ac_try="$ac_link"
3033 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3034 *) ac_try_echo=$ac_try;;
3036 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3037 $as_echo "$ac_try_echo"; } >&5
3038 (eval "$ac_link") 2>&5
3040 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3041 test $ac_status = 0; }; then :
3042 # If both `conftest.exe' and `conftest' are `present' (well, observable)
3043 # catch `conftest.exe'. For instance with Cygwin, `ls conftest' will
3044 # work properly (i.e., refer to `conftest.exe'), while it won't with
3046 for ac_file in conftest.exe conftest conftest.*; do
3047 test -f "$ac_file" || continue
3049 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
3050 *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
3056 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3057 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3058 as_fn_error $? "cannot compute suffix of executables: cannot compile and link
3059 See \`config.log' for more details" "$LINENO" 5; }
3061 rm -f conftest conftest$ac_cv_exeext
3062 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5
3063 $as_echo "$ac_cv_exeext" >&6; }
3065 rm -f conftest.$ac_ext
3066 EXEEXT=$ac_cv_exeext
3068 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3069 /* end confdefs.h. */
3074 FILE *f = fopen ("conftest.out", "w");
3075 return ferror (f) || fclose (f) != 0;
3081 ac_clean_files="$ac_clean_files conftest.out"
3082 # Check that the compiler produces executables we can run. If not, either
3083 # the compiler is broken, or we cross compile.
3084 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5
3085 $as_echo_n "checking whether we are cross compiling... " >&6; }
3086 if test "$cross_compiling" != yes; then
3087 { { ac_try="$ac_link"
3089 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3090 *) ac_try_echo=$ac_try;;
3092 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3093 $as_echo "$ac_try_echo"; } >&5
3094 (eval "$ac_link") 2>&5
3096 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3097 test $ac_status = 0; }
3098 if { ac_try='./conftest$ac_cv_exeext'
3099 { { case "(($ac_try" in
3100 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3101 *) ac_try_echo=$ac_try;;
3103 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3104 $as_echo "$ac_try_echo"; } >&5
3105 (eval "$ac_try") 2>&5
3107 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3108 test $ac_status = 0; }; }; then
3111 if test "$cross_compiling" = maybe; then
3114 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3115 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3116 as_fn_error $? "cannot run C compiled programs.
3117 If you meant to cross compile, use \`--host'.
3118 See \`config.log' for more details" "$LINENO" 5; }
3122 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5
3123 $as_echo "$cross_compiling" >&6; }
3125 rm -f conftest.$ac_ext conftest$ac_cv_exeext conftest.out
3126 ac_clean_files=$ac_clean_files_save
3127 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5
3128 $as_echo_n "checking for suffix of object files... " >&6; }
3129 if ${ac_cv_objext+:} false; then :
3130 $as_echo_n "(cached) " >&6
3132 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3133 /* end confdefs.h. */
3143 rm -f conftest.o conftest.obj
3144 if { { ac_try="$ac_compile"
3146 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3147 *) ac_try_echo=$ac_try;;
3149 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3150 $as_echo "$ac_try_echo"; } >&5
3151 (eval "$ac_compile") 2>&5
3153 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3154 test $ac_status = 0; }; then :
3155 for ac_file in conftest.o conftest.obj conftest.*; do
3156 test -f "$ac_file" || continue;
3158 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;;
3159 *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
3164 $as_echo "$as_me: failed program was:" >&5
3165 sed 's/^/| /' conftest.$ac_ext >&5
3167 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3168 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3169 as_fn_error $? "cannot compute suffix of object files: cannot compile
3170 See \`config.log' for more details" "$LINENO" 5; }
3172 rm -f conftest.$ac_cv_objext conftest.$ac_ext
3174 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5
3175 $as_echo "$ac_cv_objext" >&6; }
3176 OBJEXT=$ac_cv_objext
3178 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
3179 $as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
3180 if ${ac_cv_c_compiler_gnu+:} false; then :
3181 $as_echo_n "(cached) " >&6
3183 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3184 /* end confdefs.h. */
3197 if ac_fn_c_try_compile "$LINENO"; then :
3202 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3203 ac_cv_c_compiler_gnu=$ac_compiler_gnu
3206 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
3207 $as_echo "$ac_cv_c_compiler_gnu" >&6; }
3208 if test $ac_compiler_gnu = yes; then
3213 ac_test_CFLAGS=${CFLAGS+set}
3214 ac_save_CFLAGS=$CFLAGS
3215 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
3216 $as_echo_n "checking whether $CC accepts -g... " >&6; }
3217 if ${ac_cv_prog_cc_g+:} false; then :
3218 $as_echo_n "(cached) " >&6
3220 ac_save_c_werror_flag=$ac_c_werror_flag
3221 ac_c_werror_flag=yes
3224 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3225 /* end confdefs.h. */
3235 if ac_fn_c_try_compile "$LINENO"; then :
3239 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3240 /* end confdefs.h. */
3250 if ac_fn_c_try_compile "$LINENO"; then :
3253 ac_c_werror_flag=$ac_save_c_werror_flag
3255 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3256 /* end confdefs.h. */
3266 if ac_fn_c_try_compile "$LINENO"; then :
3269 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3271 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3273 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3274 ac_c_werror_flag=$ac_save_c_werror_flag
3276 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
3277 $as_echo "$ac_cv_prog_cc_g" >&6; }
3278 if test "$ac_test_CFLAGS" = set; then
3279 CFLAGS=$ac_save_CFLAGS
3280 elif test $ac_cv_prog_cc_g = yes; then
3281 if test "$GCC" = yes; then
3287 if test "$GCC" = yes; then
3293 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
3294 $as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
3295 if ${ac_cv_prog_cc_c89+:} false; then :
3296 $as_echo_n "(cached) " >&6
3298 ac_cv_prog_cc_c89=no
3300 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3301 /* end confdefs.h. */
3304 #include <sys/types.h>
3305 #include <sys/stat.h>
3306 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
3307 struct buf { int x; };
3308 FILE * (*rcsopen) (struct buf *, struct stat *, int);
3309 static char *e (p, i)
3315 static char *f (char * (*g) (char **, int), char **p, ...)
3320 s = g (p, va_arg (v,int));
3325 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
3326 function prototypes and stuff, but not '\xHH' hex character constants.
3327 These don't provoke an error unfortunately, instead are silently treated
3328 as 'x'. The following induces an error, until -std is added to get
3329 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
3330 array size at least. It's necessary to write '\x00'==0 to get something
3331 that's true only with -std. */
3332 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
3334 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
3335 inside strings and character constants. */
3337 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
3339 int test (int i, double x);
3340 struct s1 {int (*f) (int a);};
3341 struct s2 {int (*f) (double a);};
3342 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
3348 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
3353 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
3354 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
3356 CC="$ac_save_CC $ac_arg"
3357 if ac_fn_c_try_compile "$LINENO"; then :
3358 ac_cv_prog_cc_c89=$ac_arg
3360 rm -f core conftest.err conftest.$ac_objext
3361 test "x$ac_cv_prog_cc_c89" != "xno" && break
3363 rm -f conftest.$ac_ext
3368 case "x$ac_cv_prog_cc_c89" in
3370 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
3371 $as_echo "none needed" >&6; } ;;
3373 { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
3374 $as_echo "unsupported" >&6; } ;;
3376 CC="$CC $ac_cv_prog_cc_c89"
3377 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
3378 $as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
3380 if test "x$ac_cv_prog_cc_c89" != xno; then :
3385 ac_cpp='$CPP $CPPFLAGS'
3386 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3387 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3388 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3389 DEPDIR="${am__leading_dot}deps"
3391 ac_config_commands="$ac_config_commands depfiles"
3394 am_make=${MAKE-make}
3395 cat > confinc << 'END'
3397 @echo this is the am__doit target
3400 # If we don't find an include directive, just comment out the code.
3401 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for style of include used by $am_make" >&5
3402 $as_echo_n "checking for style of include used by $am_make... " >&6; }
3406 # First try GNU make style include.
3407 echo "include confinc" > confmf
3408 # Ignore all kinds of additional output from `make'.
3409 case `$am_make -s -f confmf 2> /dev/null` in #(
3410 *the\ am__doit\ target*)
3416 # Now try BSD make style include.
3417 if test "$am__include" = "#"; then
3418 echo '.include "confinc"' > confmf
3419 case `$am_make -s -f confmf 2> /dev/null` in #(
3420 *the\ am__doit\ target*)
3421 am__include=.include
3429 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $_am_result" >&5
3430 $as_echo "$_am_result" >&6; }
3431 rm -f confinc confmf
3433 # Check whether --enable-dependency-tracking was given.
3434 if test "${enable_dependency_tracking+set}" = set; then :
3435 enableval=$enable_dependency_tracking;
3438 if test "x$enable_dependency_tracking" != xno; then
3439 am_depcomp="$ac_aux_dir/depcomp"
3442 if test "x$enable_dependency_tracking" != xno; then
3452 depcc="$CC" am_compiler_list=
3454 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5
3455 $as_echo_n "checking dependency style of $depcc... " >&6; }
3456 if ${am_cv_CC_dependencies_compiler_type+:} false; then :
3457 $as_echo_n "(cached) " >&6
3459 if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
3460 # We make a subdir and do the tests there. Otherwise we can end up
3461 # making bogus files that we don't know about and never remove. For
3462 # instance it was reported that on HP-UX the gcc test will end up
3463 # making a dummy file named `D' -- because `-MD' means `put the output
3466 # Copy depcomp to subdir because otherwise we won't find it if we're
3467 # using a relative directory.
3468 cp "$am_depcomp" conftest.dir
3470 # We will build objects and dependencies in a subdirectory because
3471 # it helps to detect inapplicable dependency modes. For instance
3472 # both Tru64's cc and ICC support -MD to output dependencies as a
3473 # side effect of compilation, but ICC will put the dependencies in
3474 # the current directory while Tru64 will put them in the object
3478 am_cv_CC_dependencies_compiler_type=none
3479 if test "$am_compiler_list" = ""; then
3480 am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
3483 case " $depcc " in #(
3484 *\ -arch\ *\ -arch\ *) am__universal=true ;;
3487 for depmode in $am_compiler_list; do
3488 # Setup a source with many dependencies, because some compilers
3489 # like to wrap large dependency lists on column 80 (with \), and
3490 # we should not choose a depcomp mode which is confused by this.
3492 # We need to recreate these files for each test, as the compiler may
3493 # overwrite some of them when testing with obscure command lines.
3494 # This happens at least with the AIX C compiler.
3496 for i in 1 2 3 4 5 6; do
3497 echo '#include "conftst'$i'.h"' >> sub/conftest.c
3498 # Using `: > sub/conftst$i.h' creates only sub/conftst1.h with
3499 # Solaris 8's {/usr,}/bin/sh.
3500 touch sub/conftst$i.h
3502 echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
3504 # We check with `-c' and `-o' for the sake of the "dashmstdout"
3505 # mode. It turns out that the SunPro C++ compiler does not properly
3506 # handle `-M -o', and we need to detect this. Also, some Intel
3507 # versions had trouble with output in subdirs
3508 am__obj=sub/conftest.${OBJEXT-o}
3509 am__minus_obj="-o $am__obj"
3512 # This depmode causes a compiler race in universal mode.
3513 test "$am__universal" = false || continue
3516 # after this tag, mechanisms are not by side-effect, so they'll
3517 # only be used when explicitly requested
3518 if test "x$enable_dependency_tracking" = xyes; then
3524 msvisualcpp | msvcmsys)
3525 # This compiler won't grok `-c -o', but also, the minuso test has
3526 # not run yet. These depmodes are late enough in the game, and
3527 # so weak that their functioning should not be impacted.
3528 am__obj=conftest.${OBJEXT-o}
3533 if depmode=$depmode \
3534 source=sub/conftest.c object=$am__obj \
3535 depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
3536 $SHELL ./depcomp $depcc -c $am__minus_obj sub/conftest.c \
3537 >/dev/null 2>conftest.err &&
3538 grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 &&
3539 grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
3540 grep $am__obj sub/conftest.Po > /dev/null 2>&1 &&
3541 ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
3542 # icc doesn't choke on unknown options, it will just issue warnings
3543 # or remarks (even with -Werror). So we grep stderr for any message
3544 # that says an option was ignored or not supported.
3545 # When given -MP, icc 7.0 and 7.1 complain thusly:
3546 # icc: Command line warning: ignoring option '-M'; no argument required
3547 # The diagnosis changed in icc 8.0:
3548 # icc: Command line remark: option '-MP' not supported
3549 if (grep 'ignoring option' conftest.err ||
3550 grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
3551 am_cv_CC_dependencies_compiler_type=$depmode
3560 am_cv_CC_dependencies_compiler_type=none
3564 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_CC_dependencies_compiler_type" >&5
3565 $as_echo "$am_cv_CC_dependencies_compiler_type" >&6; }
3566 CCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type
3569 test "x$enable_dependency_tracking" != xno \
3570 && test "$am_cv_CC_dependencies_compiler_type" = gcc3; then
3572 am__fastdepCC_FALSE='#'
3574 am__fastdepCC_TRUE='#'
3575 am__fastdepCC_FALSE=
3581 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Libtool does not cope well with whitespace in \`pwd\`" >&5
3582 $as_echo "$as_me: WARNING: Libtool does not cope well with whitespace in \`pwd\`" >&2;} ;;
3587 macro_version='2.4.2'
3588 macro_revision='1.3337'
3602 ltmain="$ac_aux_dir/ltmain.sh"
3604 # Make sure we can run config.sub.
3605 $SHELL "$ac_aux_dir/config.sub" sun4 >/dev/null 2>&1 ||
3606 as_fn_error $? "cannot run $SHELL $ac_aux_dir/config.sub" "$LINENO" 5
3608 { $as_echo "$as_me:${as_lineno-$LINENO}: checking build system type" >&5
3609 $as_echo_n "checking build system type... " >&6; }
3610 if ${ac_cv_build+:} false; then :
3611 $as_echo_n "(cached) " >&6
3613 ac_build_alias=$build_alias
3614 test "x$ac_build_alias" = x &&
3615 ac_build_alias=`$SHELL "$ac_aux_dir/config.guess"`
3616 test "x$ac_build_alias" = x &&
3617 as_fn_error $? "cannot guess build type; you must specify one" "$LINENO" 5
3618 ac_cv_build=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
3619 as_fn_error $? "$SHELL $ac_aux_dir/config.sub $ac_build_alias failed" "$LINENO" 5
3622 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_build" >&5
3623 $as_echo "$ac_cv_build" >&6; }
3624 case $ac_cv_build in
3626 *) as_fn_error $? "invalid value of canonical build" "$LINENO" 5;;
3629 ac_save_IFS=$IFS; IFS='-'
3635 # Remember, the first character of IFS is used to create $*,
3636 # except with old shells:
3639 case $build_os in *\ *) build_os=`echo "$build_os" | sed 's/ /-/g'`;; esac
3642 { $as_echo "$as_me:${as_lineno-$LINENO}: checking host system type" >&5
3643 $as_echo_n "checking host system type... " >&6; }
3644 if ${ac_cv_host+:} false; then :
3645 $as_echo_n "(cached) " >&6
3647 if test "x$host_alias" = x; then
3648 ac_cv_host=$ac_cv_build
3650 ac_cv_host=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
3651 as_fn_error $? "$SHELL $ac_aux_dir/config.sub $host_alias failed" "$LINENO" 5
3655 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_host" >&5
3656 $as_echo "$ac_cv_host" >&6; }
3659 *) as_fn_error $? "invalid value of canonical host" "$LINENO" 5;;
3662 ac_save_IFS=$IFS; IFS='-'
3668 # Remember, the first character of IFS is used to create $*,
3669 # except with old shells:
3672 case $host_os in *\ *) host_os=`echo "$host_os" | sed 's/ /-/g'`;; esac
3675 # Backslashify metacharacters that are still active within
3676 # double-quoted strings.
3677 sed_quote_subst='s/\(["`$\\]\)/\\\1/g'
3679 # Same as above, but do not quote variable references.
3680 double_quote_subst='s/\(["`\\]\)/\\\1/g'
3682 # Sed substitution to delay expansion of an escaped shell variable in a
3683 # double_quote_subst'ed string.
3684 delay_variable_subst='s/\\\\\\\\\\\$/\\\\\\$/g'
3686 # Sed substitution to delay expansion of an escaped single quote.
3687 delay_single_quote_subst='s/'\''/'\'\\\\\\\'\''/g'
3689 # Sed substitution to avoid accidental globbing in evaled expressions
3690 no_glob_subst='s/\*/\\\*/g'
3692 ECHO='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
3693 ECHO=$ECHO$ECHO$ECHO$ECHO$ECHO
3694 ECHO=$ECHO$ECHO$ECHO$ECHO$ECHO$ECHO
3696 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to print strings" >&5
3697 $as_echo_n "checking how to print strings... " >&6; }
3698 # Test print first, because it will be a builtin if present.
3699 if test "X`( print -r -- -n ) 2>/dev/null`" = X-n && \
3700 test "X`print -r -- $ECHO 2>/dev/null`" = "X$ECHO"; then
3702 elif test "X`printf %s $ECHO 2>/dev/null`" = "X$ECHO"; then
3705 # Use this function as a fallback that always works.
3706 func_fallback_echo ()
3708 eval 'cat <<_LTECHO_EOF
3712 ECHO='func_fallback_echo'
3715 # func_echo_all arg...
3716 # Invoke $ECHO with all args, space-separated.
3723 printf*) { $as_echo "$as_me:${as_lineno-$LINENO}: result: printf" >&5
3724 $as_echo "printf" >&6; } ;;
3725 print*) { $as_echo "$as_me:${as_lineno-$LINENO}: result: print -r" >&5
3726 $as_echo "print -r" >&6; } ;;
3727 *) { $as_echo "$as_me:${as_lineno-$LINENO}: result: cat" >&5
3728 $as_echo "cat" >&6; } ;;
3744 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a sed that does not truncate output" >&5
3745 $as_echo_n "checking for a sed that does not truncate output... " >&6; }
3746 if ${ac_cv_path_SED+:} false; then :
3747 $as_echo_n "(cached) " >&6
3749 ac_script=s/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa/bbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbb/
3750 for ac_i in 1 2 3 4 5 6 7; do
3751 ac_script="$ac_script$as_nl$ac_script"
3753 echo "$ac_script" 2>/dev/null | sed 99q >conftest.sed
3754 { ac_script=; unset ac_script;}
3755 if test -z "$SED"; then
3756 ac_path_SED_found=false
3757 # Loop through the user's path and test for each of PROGNAME-LIST
3758 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3762 test -z "$as_dir" && as_dir=.
3763 for ac_prog in sed gsed; do
3764 for ac_exec_ext in '' $ac_executable_extensions; do
3765 ac_path_SED="$as_dir/$ac_prog$ac_exec_ext"
3766 { test -f "$ac_path_SED" && $as_test_x "$ac_path_SED"; } || continue
3767 # Check for GNU ac_path_SED and select it if it is found.
3768 # Check for GNU $ac_path_SED
3769 case `"$ac_path_SED" --version 2>&1` in
3771 ac_cv_path_SED="$ac_path_SED" ac_path_SED_found=:;;
3774 $as_echo_n 0123456789 >"conftest.in"
3777 cat "conftest.in" "conftest.in" >"conftest.tmp"
3778 mv "conftest.tmp" "conftest.in"
3779 cp "conftest.in" "conftest.nl"
3780 $as_echo '' >> "conftest.nl"
3781 "$ac_path_SED" -f conftest.sed < "conftest.nl" >"conftest.out" 2>/dev/null || break
3782 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
3783 as_fn_arith $ac_count + 1 && ac_count=$as_val
3784 if test $ac_count -gt ${ac_path_SED_max-0}; then
3785 # Best one so far, save it but keep looking for a better one
3786 ac_cv_path_SED="$ac_path_SED"
3787 ac_path_SED_max=$ac_count
3789 # 10*(2^10) chars as input seems more than enough
3790 test $ac_count -gt 10 && break
3792 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
3795 $ac_path_SED_found && break 3
3800 if test -z "$ac_cv_path_SED"; then
3801 as_fn_error $? "no acceptable sed could be found in \$PATH" "$LINENO" 5
3808 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_SED" >&5
3809 $as_echo "$ac_cv_path_SED" >&6; }
3810 SED="$ac_cv_path_SED"
3813 test -z "$SED" && SED=sed
3814 Xsed="$SED -e 1s/^X//"
3826 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for grep that handles long lines and -e" >&5
3827 $as_echo_n "checking for grep that handles long lines and -e... " >&6; }
3828 if ${ac_cv_path_GREP+:} false; then :
3829 $as_echo_n "(cached) " >&6
3831 if test -z "$GREP"; then
3832 ac_path_GREP_found=false
3833 # Loop through the user's path and test for each of PROGNAME-LIST
3834 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3835 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
3838 test -z "$as_dir" && as_dir=.
3839 for ac_prog in grep ggrep; do
3840 for ac_exec_ext in '' $ac_executable_extensions; do
3841 ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext"
3842 { test -f "$ac_path_GREP" && $as_test_x "$ac_path_GREP"; } || continue
3843 # Check for GNU ac_path_GREP and select it if it is found.
3844 # Check for GNU $ac_path_GREP
3845 case `"$ac_path_GREP" --version 2>&1` in
3847 ac_cv_path_GREP="$ac_path_GREP" ac_path_GREP_found=:;;
3850 $as_echo_n 0123456789 >"conftest.in"
3853 cat "conftest.in" "conftest.in" >"conftest.tmp"
3854 mv "conftest.tmp" "conftest.in"
3855 cp "conftest.in" "conftest.nl"
3856 $as_echo 'GREP' >> "conftest.nl"
3857 "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev/null || break
3858 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
3859 as_fn_arith $ac_count + 1 && ac_count=$as_val
3860 if test $ac_count -gt ${ac_path_GREP_max-0}; then
3861 # Best one so far, save it but keep looking for a better one
3862 ac_cv_path_GREP="$ac_path_GREP"
3863 ac_path_GREP_max=$ac_count
3865 # 10*(2^10) chars as input seems more than enough
3866 test $ac_count -gt 10 && break
3868 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
3871 $ac_path_GREP_found && break 3
3876 if test -z "$ac_cv_path_GREP"; then
3877 as_fn_error $? "no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
3880 ac_cv_path_GREP=$GREP
3884 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_GREP" >&5
3885 $as_echo "$ac_cv_path_GREP" >&6; }
3886 GREP="$ac_cv_path_GREP"
3889 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for egrep" >&5
3890 $as_echo_n "checking for egrep... " >&6; }
3891 if ${ac_cv_path_EGREP+:} false; then :
3892 $as_echo_n "(cached) " >&6
3894 if echo a | $GREP -E '(a|b)' >/dev/null 2>&1
3895 then ac_cv_path_EGREP="$GREP -E"
3897 if test -z "$EGREP"; then
3898 ac_path_EGREP_found=false
3899 # Loop through the user's path and test for each of PROGNAME-LIST
3900 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3901 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
3904 test -z "$as_dir" && as_dir=.
3905 for ac_prog in egrep; do
3906 for ac_exec_ext in '' $ac_executable_extensions; do
3907 ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext"
3908 { test -f "$ac_path_EGREP" && $as_test_x "$ac_path_EGREP"; } || continue
3909 # Check for GNU ac_path_EGREP and select it if it is found.
3910 # Check for GNU $ac_path_EGREP
3911 case `"$ac_path_EGREP" --version 2>&1` in
3913 ac_cv_path_EGREP="$ac_path_EGREP" ac_path_EGREP_found=:;;
3916 $as_echo_n 0123456789 >"conftest.in"
3919 cat "conftest.in" "conftest.in" >"conftest.tmp"
3920 mv "conftest.tmp" "conftest.in"
3921 cp "conftest.in" "conftest.nl"
3922 $as_echo 'EGREP' >> "conftest.nl"
3923 "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev/null || break
3924 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
3925 as_fn_arith $ac_count + 1 && ac_count=$as_val
3926 if test $ac_count -gt ${ac_path_EGREP_max-0}; then
3927 # Best one so far, save it but keep looking for a better one
3928 ac_cv_path_EGREP="$ac_path_EGREP"
3929 ac_path_EGREP_max=$ac_count
3931 # 10*(2^10) chars as input seems more than enough
3932 test $ac_count -gt 10 && break
3934 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
3937 $ac_path_EGREP_found && break 3
3942 if test -z "$ac_cv_path_EGREP"; then
3943 as_fn_error $? "no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
3946 ac_cv_path_EGREP=$EGREP
3951 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_EGREP" >&5
3952 $as_echo "$ac_cv_path_EGREP" >&6; }
3953 EGREP="$ac_cv_path_EGREP"
3956 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fgrep" >&5
3957 $as_echo_n "checking for fgrep... " >&6; }
3958 if ${ac_cv_path_FGREP+:} false; then :
3959 $as_echo_n "(cached) " >&6
3961 if echo 'ab*c' | $GREP -F 'ab*c' >/dev/null 2>&1
3962 then ac_cv_path_FGREP="$GREP -F"
3964 if test -z "$FGREP"; then
3965 ac_path_FGREP_found=false
3966 # Loop through the user's path and test for each of PROGNAME-LIST
3967 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3968 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
3971 test -z "$as_dir" && as_dir=.
3972 for ac_prog in fgrep; do
3973 for ac_exec_ext in '' $ac_executable_extensions; do
3974 ac_path_FGREP="$as_dir/$ac_prog$ac_exec_ext"
3975 { test -f "$ac_path_FGREP" && $as_test_x "$ac_path_FGREP"; } || continue
3976 # Check for GNU ac_path_FGREP and select it if it is found.
3977 # Check for GNU $ac_path_FGREP
3978 case `"$ac_path_FGREP" --version 2>&1` in
3980 ac_cv_path_FGREP="$ac_path_FGREP" ac_path_FGREP_found=:;;
3983 $as_echo_n 0123456789 >"conftest.in"
3986 cat "conftest.in" "conftest.in" >"conftest.tmp"
3987 mv "conftest.tmp" "conftest.in"
3988 cp "conftest.in" "conftest.nl"
3989 $as_echo 'FGREP' >> "conftest.nl"
3990 "$ac_path_FGREP" FGREP < "conftest.nl" >"conftest.out" 2>/dev/null || break
3991 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
3992 as_fn_arith $ac_count + 1 && ac_count=$as_val
3993 if test $ac_count -gt ${ac_path_FGREP_max-0}; then
3994 # Best one so far, save it but keep looking for a better one
3995 ac_cv_path_FGREP="$ac_path_FGREP"
3996 ac_path_FGREP_max=$ac_count
3998 # 10*(2^10) chars as input seems more than enough
3999 test $ac_count -gt 10 && break
4001 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
4004 $ac_path_FGREP_found && break 3
4009 if test -z "$ac_cv_path_FGREP"; then
4010 as_fn_error $? "no acceptable fgrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
4013 ac_cv_path_FGREP=$FGREP
4018 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_FGREP" >&5
4019 $as_echo "$ac_cv_path_FGREP" >&6; }
4020 FGREP="$ac_cv_path_FGREP"
4023 test -z "$GREP" && GREP=grep
4043 # Check whether --with-gnu-ld was given.
4044 if test "${with_gnu_ld+set}" = set; then :
4045 withval=$with_gnu_ld; test "$withval" = no || with_gnu_ld=yes
4051 if test "$GCC" = yes; then
4052 # Check if gcc -print-prog-name=ld gives a path.
4053 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld used by $CC" >&5
4054 $as_echo_n "checking for ld used by $CC... " >&6; }
4057 # gcc leaves a trailing carriage return which upsets mingw
4058 ac_prog=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
4060 ac_prog=`($CC -print-prog-name=ld) 2>&5` ;;
4063 # Accept absolute paths.
4065 re_direlt='/[^/][^/]*/\.\./'
4066 # Canonicalize the pathname of ld
4067 ac_prog=`$ECHO "$ac_prog"| $SED 's%\\\\%/%g'`
4068 while $ECHO "$ac_prog" | $GREP "$re_direlt" > /dev/null 2>&1; do
4069 ac_prog=`$ECHO $ac_prog| $SED "s%$re_direlt%/%"`
4071 test -z "$LD" && LD="$ac_prog"
4074 # If it fails, then pretend we aren't using GCC.
4078 # If it is relative, then search for the first ld in PATH.
4082 elif test "$with_gnu_ld" = yes; then
4083 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU ld" >&5
4084 $as_echo_n "checking for GNU ld... " >&6; }
4086 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for non-GNU ld" >&5
4087 $as_echo_n "checking for non-GNU ld... " >&6; }
4089 if ${lt_cv_path_LD+:} false; then :
4090 $as_echo_n "(cached) " >&6
4092 if test -z "$LD"; then
4093 lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
4094 for ac_dir in $PATH; do
4096 test -z "$ac_dir" && ac_dir=.
4097 if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then
4098 lt_cv_path_LD="$ac_dir/$ac_prog"
4099 # Check to see if the program is GNU ld. I'd rather use --version,
4100 # but apparently some variants of GNU ld only accept -v.
4101 # Break only if it was the GNU/non-GNU ld that we prefer.
4102 case `"$lt_cv_path_LD" -v 2>&1 </dev/null` in
4103 *GNU* | *'with BFD'*)
4104 test "$with_gnu_ld" != no && break
4107 test "$with_gnu_ld" != yes && break
4114 lt_cv_path_LD="$LD" # Let the user override the test with a path.
4119 if test -n "$LD"; then
4120 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LD" >&5
4121 $as_echo "$LD" >&6; }
4123 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4124 $as_echo "no" >&6; }
4126 test -z "$LD" && as_fn_error $? "no acceptable ld found in \$PATH" "$LINENO" 5
4127 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if the linker ($LD) is GNU ld" >&5
4128 $as_echo_n "checking if the linker ($LD) is GNU ld... " >&6; }
4129 if ${lt_cv_prog_gnu_ld+:} false; then :
4130 $as_echo_n "(cached) " >&6
4132 # I'd rather use --version here, but apparently some GNU lds only accept -v.
4133 case `$LD -v 2>&1 </dev/null` in
4134 *GNU* | *'with BFD'*)
4135 lt_cv_prog_gnu_ld=yes
4138 lt_cv_prog_gnu_ld=no
4142 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_gnu_ld" >&5
4143 $as_echo "$lt_cv_prog_gnu_ld" >&6; }
4144 with_gnu_ld=$lt_cv_prog_gnu_ld
4154 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for BSD- or MS-compatible name lister (nm)" >&5
4155 $as_echo_n "checking for BSD- or MS-compatible name lister (nm)... " >&6; }
4156 if ${lt_cv_path_NM+:} false; then :
4157 $as_echo_n "(cached) " >&6
4159 if test -n "$NM"; then
4160 # Let the user override the test.
4163 lt_nm_to_check="${ac_tool_prefix}nm"
4164 if test -n "$ac_tool_prefix" && test "$build" = "$host"; then
4165 lt_nm_to_check="$lt_nm_to_check nm"
4167 for lt_tmp_nm in $lt_nm_to_check; do
4168 lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
4169 for ac_dir in $PATH /usr/ccs/bin/elf /usr/ccs/bin /usr/ucb /bin; do
4171 test -z "$ac_dir" && ac_dir=.
4172 tmp_nm="$ac_dir/$lt_tmp_nm"
4173 if test -f "$tmp_nm" || test -f "$tmp_nm$ac_exeext" ; then
4174 # Check to see if the nm accepts a BSD-compat flag.
4175 # Adding the `sed 1q' prevents false positives on HP-UX, which says:
4176 # nm: unknown option "B" ignored
4177 # Tru64's nm complains that /dev/null is an invalid object file
4178 case `"$tmp_nm" -B /dev/null 2>&1 | sed '1q'` in
4179 */dev/null* | *'Invalid file or object type'*)
4180 lt_cv_path_NM="$tmp_nm -B"
4184 case `"$tmp_nm" -p /dev/null 2>&1 | sed '1q'` in
4186 lt_cv_path_NM="$tmp_nm -p"
4190 lt_cv_path_NM=${lt_cv_path_NM="$tmp_nm"} # keep the first match, but
4191 continue # so that we can try to find one that supports BSD flags
4200 : ${lt_cv_path_NM=no}
4203 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_path_NM" >&5
4204 $as_echo "$lt_cv_path_NM" >&6; }
4205 if test "$lt_cv_path_NM" != "no"; then
4208 # Didn't find any BSD compatible name lister, look for dumpbin.
4209 if test -n "$DUMPBIN"; then :
4210 # Let the user override the test.
4212 if test -n "$ac_tool_prefix"; then
4213 for ac_prog in dumpbin "link -dump"
4215 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
4216 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
4217 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4218 $as_echo_n "checking for $ac_word... " >&6; }
4219 if ${ac_cv_prog_DUMPBIN+:} false; then :
4220 $as_echo_n "(cached) " >&6
4222 if test -n "$DUMPBIN"; then
4223 ac_cv_prog_DUMPBIN="$DUMPBIN" # Let the user override the test.
4225 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4229 test -z "$as_dir" && as_dir=.
4230 for ac_exec_ext in '' $ac_executable_extensions; do
4231 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4232 ac_cv_prog_DUMPBIN="$ac_tool_prefix$ac_prog"
4233 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4242 DUMPBIN=$ac_cv_prog_DUMPBIN
4243 if test -n "$DUMPBIN"; then
4244 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DUMPBIN" >&5
4245 $as_echo "$DUMPBIN" >&6; }
4247 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4248 $as_echo "no" >&6; }
4252 test -n "$DUMPBIN" && break
4255 if test -z "$DUMPBIN"; then
4256 ac_ct_DUMPBIN=$DUMPBIN
4257 for ac_prog in dumpbin "link -dump"
4259 # Extract the first word of "$ac_prog", so it can be a program name with args.
4260 set dummy $ac_prog; ac_word=$2
4261 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4262 $as_echo_n "checking for $ac_word... " >&6; }
4263 if ${ac_cv_prog_ac_ct_DUMPBIN+:} false; then :
4264 $as_echo_n "(cached) " >&6
4266 if test -n "$ac_ct_DUMPBIN"; then
4267 ac_cv_prog_ac_ct_DUMPBIN="$ac_ct_DUMPBIN" # Let the user override the test.
4269 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4273 test -z "$as_dir" && as_dir=.
4274 for ac_exec_ext in '' $ac_executable_extensions; do
4275 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4276 ac_cv_prog_ac_ct_DUMPBIN="$ac_prog"
4277 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4286 ac_ct_DUMPBIN=$ac_cv_prog_ac_ct_DUMPBIN
4287 if test -n "$ac_ct_DUMPBIN"; then
4288 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DUMPBIN" >&5
4289 $as_echo "$ac_ct_DUMPBIN" >&6; }
4291 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4292 $as_echo "no" >&6; }
4296 test -n "$ac_ct_DUMPBIN" && break
4299 if test "x$ac_ct_DUMPBIN" = x; then
4302 case $cross_compiling:$ac_tool_warned in
4304 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4305 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4306 ac_tool_warned=yes ;;
4308 DUMPBIN=$ac_ct_DUMPBIN
4312 case `$DUMPBIN -symbols /dev/null 2>&1 | sed '1q'` in
4314 DUMPBIN="$DUMPBIN -symbols"
4322 if test "$DUMPBIN" != ":"; then
4326 test -z "$NM" && NM=nm
4333 { $as_echo "$as_me:${as_lineno-$LINENO}: checking the name lister ($NM) interface" >&5
4334 $as_echo_n "checking the name lister ($NM) interface... " >&6; }
4335 if ${lt_cv_nm_interface+:} false; then :
4336 $as_echo_n "(cached) " >&6
4338 lt_cv_nm_interface="BSD nm"
4339 echo "int some_variable = 0;" > conftest.$ac_ext
4340 (eval echo "\"\$as_me:$LINENO: $ac_compile\"" >&5)
4341 (eval "$ac_compile" 2>conftest.err)
4342 cat conftest.err >&5
4343 (eval echo "\"\$as_me:$LINENO: $NM \\\"conftest.$ac_objext\\\"\"" >&5)
4344 (eval "$NM \"conftest.$ac_objext\"" 2>conftest.err > conftest.out)
4345 cat conftest.err >&5
4346 (eval echo "\"\$as_me:$LINENO: output\"" >&5)
4347 cat conftest.out >&5
4348 if $GREP 'External.*some_variable' conftest.out > /dev/null; then
4349 lt_cv_nm_interface="MS dumpbin"
4353 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_nm_interface" >&5
4354 $as_echo "$lt_cv_nm_interface" >&6; }
4356 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ln -s works" >&5
4357 $as_echo_n "checking whether ln -s works... " >&6; }
4359 if test "$LN_S" = "ln -s"; then
4360 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
4361 $as_echo "yes" >&6; }
4363 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no, using $LN_S" >&5
4364 $as_echo "no, using $LN_S" >&6; }
4367 # find the maximum length of command line arguments
4368 { $as_echo "$as_me:${as_lineno-$LINENO}: checking the maximum length of command line arguments" >&5
4369 $as_echo_n "checking the maximum length of command line arguments... " >&6; }
4370 if ${lt_cv_sys_max_cmd_len+:} false; then :
4371 $as_echo_n "(cached) " >&6
4378 # On DJGPP, this test can blow up pretty badly due to problems in libc
4379 # (any single argument exceeding 2000 bytes causes a buffer overrun
4380 # during glob expansion). Even if it were fixed, the result of this
4381 # check would be larger than it should be.
4382 lt_cv_sys_max_cmd_len=12288; # 12K is about right
4386 # Under GNU Hurd, this test is not required because there is
4387 # no limit to the length of command line arguments.
4388 # Libtool will interpret -1 as no limit whatsoever
4389 lt_cv_sys_max_cmd_len=-1;
4392 cygwin* | mingw* | cegcc*)
4393 # On Win9x/ME, this test blows up -- it succeeds, but takes
4394 # about 5 minutes as the teststring grows exponentially.
4395 # Worse, since 9x/ME are not pre-emptively multitasking,
4396 # you end up with a "frozen" computer, even though with patience
4397 # the test eventually succeeds (with a max line length of 256k).
4398 # Instead, let's just punt: use the minimum linelength reported by
4399 # all of the supported platforms: 8192 (on NT/2K/XP).
4400 lt_cv_sys_max_cmd_len=8192;
4404 # On MiNT this can take a long time and run out of memory.
4405 lt_cv_sys_max_cmd_len=8192;
4409 # On AmigaOS with pdksh, this test takes hours, literally.
4410 # So we just punt and use a minimum line length of 8192.
4411 lt_cv_sys_max_cmd_len=8192;
4414 netbsd* | freebsd* | openbsd* | darwin* | dragonfly*)
4415 # This has been around since 386BSD, at least. Likely further.
4416 if test -x /sbin/sysctl; then
4417 lt_cv_sys_max_cmd_len=`/sbin/sysctl -n kern.argmax`
4418 elif test -x /usr/sbin/sysctl; then
4419 lt_cv_sys_max_cmd_len=`/usr/sbin/sysctl -n kern.argmax`
4421 lt_cv_sys_max_cmd_len=65536 # usable default for all BSDs
4423 # And add a safety zone
4424 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4`
4425 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3`
4429 # We know the value 262144 and hardcode it with a safety zone (like BSD)
4430 lt_cv_sys_max_cmd_len=196608
4434 # The test takes a long time on OS/2.
4435 lt_cv_sys_max_cmd_len=8192
4439 # Dr. Hans Ekkehard Plesser reports seeing a kernel panic running configure
4440 # due to this test when exec_disable_arg_limit is 1 on Tru64. It is not
4441 # nice to cause kernel panics so lets avoid the loop below.
4442 # First set a reasonable default.
4443 lt_cv_sys_max_cmd_len=16384
4445 if test -x /sbin/sysconfig; then
4446 case `/sbin/sysconfig -q proc exec_disable_arg_limit` in
4447 *1*) lt_cv_sys_max_cmd_len=-1 ;;
4452 lt_cv_sys_max_cmd_len=102400
4454 sysv5* | sco5v6* | sysv4.2uw2*)
4455 kargmax=`grep ARG_MAX /etc/conf/cf.d/stune 2>/dev/null`
4456 if test -n "$kargmax"; then
4457 lt_cv_sys_max_cmd_len=`echo $kargmax | sed 's/.*[ ]//'`
4459 lt_cv_sys_max_cmd_len=32768
4463 lt_cv_sys_max_cmd_len=`(getconf ARG_MAX) 2> /dev/null`
4464 if test -n "$lt_cv_sys_max_cmd_len"; then
4465 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4`
4466 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3`
4468 # Make teststring a little bigger before we do anything with it.
4469 # a 1K string should be a reasonable start.
4470 for i in 1 2 3 4 5 6 7 8 ; do
4471 teststring=$teststring$teststring
4473 SHELL=${SHELL-${CONFIG_SHELL-/bin/sh}}
4474 # If test is not a shell built-in, we'll probably end up computing a
4475 # maximum length that is only half of the actual maximum length, but
4477 while { test "X"`env echo "$teststring$teststring" 2>/dev/null` \
4478 = "X$teststring$teststring"; } >/dev/null 2>&1 &&
4479 test $i != 17 # 1/2 MB should be enough
4482 teststring=$teststring$teststring
4484 # Only check the string length outside the loop.
4485 lt_cv_sys_max_cmd_len=`expr "X$teststring" : ".*" 2>&1`
4487 # Add a significant safety factor because C++ compilers can tack on
4488 # massive amounts of additional arguments before passing them to the
4489 # linker. It appears as though 1/2 is a usable value.
4490 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 2`
4497 if test -n $lt_cv_sys_max_cmd_len ; then
4498 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_sys_max_cmd_len" >&5
4499 $as_echo "$lt_cv_sys_max_cmd_len" >&6; }
4501 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none" >&5
4502 $as_echo "none" >&6; }
4504 max_cmd_len=$lt_cv_sys_max_cmd_len
4515 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the shell understands some XSI constructs" >&5
4516 $as_echo_n "checking whether the shell understands some XSI constructs... " >&6; }
4517 # Try some XSI features
4520 test "${_lt_dummy##*/},${_lt_dummy%/*},${_lt_dummy#??}"${_lt_dummy%"$_lt_dummy"}, \
4522 && eval 'test $(( 1 + 1 )) -eq 2 \
4523 && test "${#_lt_dummy}" -eq 5' ) >/dev/null 2>&1 \
4525 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xsi_shell" >&5
4526 $as_echo "$xsi_shell" >&6; }
4529 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the shell understands \"+=\"" >&5
4530 $as_echo_n "checking whether the shell understands \"+=\"... " >&6; }
4532 ( foo=bar; set foo baz; eval "$1+=\$2" && test "$foo" = barbaz ) \
4534 && lt_shell_append=yes
4535 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_shell_append" >&5
4536 $as_echo "$lt_shell_append" >&6; }
4539 if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
4549 # test EBCDIC or ASCII
4550 case `echo X|tr X '\101'` in
4551 A) # ASCII based system
4552 # \n is not interpreted correctly by Solaris 8 /usr/ucb/tr
4553 lt_SP2NL='tr \040 \012'
4554 lt_NL2SP='tr \015\012 \040\040'
4556 *) # EBCDIC based system
4557 lt_SP2NL='tr \100 \n'
4558 lt_NL2SP='tr \r\n \100\100'
4570 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to convert $build file names to $host format" >&5
4571 $as_echo_n "checking how to convert $build file names to $host format... " >&6; }
4572 if ${lt_cv_to_host_file_cmd+:} false; then :
4573 $as_echo_n "(cached) " >&6
4578 *-*-mingw* ) # actually msys
4579 lt_cv_to_host_file_cmd=func_convert_file_msys_to_w32
4582 lt_cv_to_host_file_cmd=func_convert_file_cygwin_to_w32
4584 * ) # otherwise, assume *nix
4585 lt_cv_to_host_file_cmd=func_convert_file_nix_to_w32
4591 *-*-mingw* ) # actually msys
4592 lt_cv_to_host_file_cmd=func_convert_file_msys_to_cygwin
4595 lt_cv_to_host_file_cmd=func_convert_file_noop
4597 * ) # otherwise, assume *nix
4598 lt_cv_to_host_file_cmd=func_convert_file_nix_to_cygwin
4602 * ) # unhandled hosts (and "normal" native builds)
4603 lt_cv_to_host_file_cmd=func_convert_file_noop
4609 to_host_file_cmd=$lt_cv_to_host_file_cmd
4610 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_to_host_file_cmd" >&5
4611 $as_echo "$lt_cv_to_host_file_cmd" >&6; }
4617 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to convert $build file names to toolchain format" >&5
4618 $as_echo_n "checking how to convert $build file names to toolchain format... " >&6; }
4619 if ${lt_cv_to_tool_file_cmd+:} false; then :
4620 $as_echo_n "(cached) " >&6
4622 #assume ordinary cross tools, or native build.
4623 lt_cv_to_tool_file_cmd=func_convert_file_noop
4627 *-*-mingw* ) # actually msys
4628 lt_cv_to_tool_file_cmd=func_convert_file_msys_to_w32
4636 to_tool_file_cmd=$lt_cv_to_tool_file_cmd
4637 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_to_tool_file_cmd" >&5
4638 $as_echo "$lt_cv_to_tool_file_cmd" >&6; }
4644 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $LD option to reload object files" >&5
4645 $as_echo_n "checking for $LD option to reload object files... " >&6; }
4646 if ${lt_cv_ld_reload_flag+:} false; then :
4647 $as_echo_n "(cached) " >&6
4649 lt_cv_ld_reload_flag='-r'
4651 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_reload_flag" >&5
4652 $as_echo "$lt_cv_ld_reload_flag" >&6; }
4653 reload_flag=$lt_cv_ld_reload_flag
4654 case $reload_flag in
4656 *) reload_flag=" $reload_flag" ;;
4658 reload_cmds='$LD$reload_flag -o $output$reload_objs'
4660 cygwin* | mingw* | pw32* | cegcc*)
4661 if test "$GCC" != yes; then
4666 if test "$GCC" = yes; then
4667 reload_cmds='$LTCC $LTCFLAGS -nostdlib ${wl}-r -o $output$reload_objs'
4669 reload_cmds='$LD$reload_flag -o $output$reload_objs'
4682 if test -n "$ac_tool_prefix"; then
4683 # Extract the first word of "${ac_tool_prefix}objdump", so it can be a program name with args.
4684 set dummy ${ac_tool_prefix}objdump; ac_word=$2
4685 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4686 $as_echo_n "checking for $ac_word... " >&6; }
4687 if ${ac_cv_prog_OBJDUMP+:} false; then :
4688 $as_echo_n "(cached) " >&6
4690 if test -n "$OBJDUMP"; then
4691 ac_cv_prog_OBJDUMP="$OBJDUMP" # Let the user override the test.
4693 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4697 test -z "$as_dir" && as_dir=.
4698 for ac_exec_ext in '' $ac_executable_extensions; do
4699 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4700 ac_cv_prog_OBJDUMP="${ac_tool_prefix}objdump"
4701 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4710 OBJDUMP=$ac_cv_prog_OBJDUMP
4711 if test -n "$OBJDUMP"; then
4712 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OBJDUMP" >&5
4713 $as_echo "$OBJDUMP" >&6; }
4715 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4716 $as_echo "no" >&6; }
4721 if test -z "$ac_cv_prog_OBJDUMP"; then
4722 ac_ct_OBJDUMP=$OBJDUMP
4723 # Extract the first word of "objdump", so it can be a program name with args.
4724 set dummy objdump; ac_word=$2
4725 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4726 $as_echo_n "checking for $ac_word... " >&6; }
4727 if ${ac_cv_prog_ac_ct_OBJDUMP+:} false; then :
4728 $as_echo_n "(cached) " >&6
4730 if test -n "$ac_ct_OBJDUMP"; then
4731 ac_cv_prog_ac_ct_OBJDUMP="$ac_ct_OBJDUMP" # Let the user override the test.
4733 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4737 test -z "$as_dir" && as_dir=.
4738 for ac_exec_ext in '' $ac_executable_extensions; do
4739 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4740 ac_cv_prog_ac_ct_OBJDUMP="objdump"
4741 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4750 ac_ct_OBJDUMP=$ac_cv_prog_ac_ct_OBJDUMP
4751 if test -n "$ac_ct_OBJDUMP"; then
4752 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OBJDUMP" >&5
4753 $as_echo "$ac_ct_OBJDUMP" >&6; }
4755 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4756 $as_echo "no" >&6; }
4759 if test "x$ac_ct_OBJDUMP" = x; then
4762 case $cross_compiling:$ac_tool_warned in
4764 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4765 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4766 ac_tool_warned=yes ;;
4768 OBJDUMP=$ac_ct_OBJDUMP
4771 OBJDUMP="$ac_cv_prog_OBJDUMP"
4774 test -z "$OBJDUMP" && OBJDUMP=objdump
4784 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to recognize dependent libraries" >&5
4785 $as_echo_n "checking how to recognize dependent libraries... " >&6; }
4786 if ${lt_cv_deplibs_check_method+:} false; then :
4787 $as_echo_n "(cached) " >&6
4789 lt_cv_file_magic_cmd='$MAGIC_CMD'
4790 lt_cv_file_magic_test_file=
4791 lt_cv_deplibs_check_method='unknown'
4792 # Need to set the preceding variable on all platforms that support
4793 # interlibrary dependencies.
4794 # 'none' -- dependencies not supported.
4795 # `unknown' -- same as none, but documents that we really don't know.
4796 # 'pass_all' -- all dependencies passed with no checks.
4797 # 'test_compile' -- check by making test program.
4798 # 'file_magic [[regex]]' -- check by looking for files in library path
4799 # which responds to the $file_magic_cmd with a given extended regex.
4800 # If you have `file' or equivalent on your system and you're not sure
4801 # whether `pass_all' will *always* work, you probably want this one.
4805 lt_cv_deplibs_check_method=pass_all
4809 lt_cv_deplibs_check_method=pass_all
4813 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (shared object|dynamic lib)'
4814 lt_cv_file_magic_cmd='/usr/bin/file -L'
4815 lt_cv_file_magic_test_file=/shlib/libc.so
4819 # func_win32_libid is a shell function defined in ltmain.sh
4820 lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL'
4821 lt_cv_file_magic_cmd='func_win32_libid'
4825 # Base MSYS/MinGW do not provide the 'file' command needed by
4826 # func_win32_libid shell function, so use a weaker test based on 'objdump',
4827 # unless we find 'file', for example because we are cross-compiling.
4828 # func_win32_libid assumes BSD nm, so disallow it if using MS dumpbin.
4829 if ( test "$lt_cv_nm_interface" = "BSD nm" && file / ) >/dev/null 2>&1; then
4830 lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL'
4831 lt_cv_file_magic_cmd='func_win32_libid'
4833 # Keep this pattern in sync with the one in func_win32_libid.
4834 lt_cv_deplibs_check_method='file_magic file format (pei*-i386(.*architecture: i386)?|pe-arm-wince|pe-x86-64)'
4835 lt_cv_file_magic_cmd='$OBJDUMP -f'
4840 # use the weaker test based on 'objdump'. See mingw*.
4841 lt_cv_deplibs_check_method='file_magic file format pe-arm-.*little(.*architecture: arm)?'
4842 lt_cv_file_magic_cmd='$OBJDUMP -f'
4845 darwin* | rhapsody*)
4846 lt_cv_deplibs_check_method=pass_all
4849 freebsd* | dragonfly*)
4850 if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then
4853 # Not sure whether the presence of OpenBSD here was a mistake.
4854 # Let's accept both of them until this is cleared up.
4855 lt_cv_deplibs_check_method='file_magic (FreeBSD|OpenBSD|DragonFly)/i[3-9]86 (compact )?demand paged shared library'
4856 lt_cv_file_magic_cmd=/usr/bin/file
4857 lt_cv_file_magic_test_file=`echo /usr/lib/libc.so.*`
4861 lt_cv_deplibs_check_method=pass_all
4866 lt_cv_deplibs_check_method=pass_all
4870 lt_cv_deplibs_check_method=pass_all
4873 hpux10.20* | hpux11*)
4874 lt_cv_file_magic_cmd=/usr/bin/file
4877 lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|ELF-[0-9][0-9]) shared object file - IA64'
4878 lt_cv_file_magic_test_file=/usr/lib/hpux32/libc.so
4881 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]'
4882 lt_cv_file_magic_test_file=/usr/lib/pa20_64/libc.sl
4885 lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|PA-RISC[0-9]\.[0-9]) shared library'
4886 lt_cv_file_magic_test_file=/usr/lib/libc.sl
4892 # PIC code is broken on Interix 3.x, that's why |\.a not |_pic\.a here
4893 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|\.a)$'
4896 irix5* | irix6* | nonstopux*)
4898 *-32|*"-32 ") libmagic=32-bit;;
4899 *-n32|*"-n32 ") libmagic=N32;;
4900 *-64|*"-64 ") libmagic=64-bit;;
4901 *) libmagic=never-match;;
4903 lt_cv_deplibs_check_method=pass_all
4906 # This must be glibc/ELF.
4907 linux* | k*bsd*-gnu | kopensolaris*-gnu)
4908 lt_cv_deplibs_check_method=pass_all
4911 netbsd* | netbsdelf*-gnu)
4912 if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then
4913 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
4915 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|_pic\.a)$'
4920 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (executable|dynamic lib)'
4921 lt_cv_file_magic_cmd=/usr/bin/file
4922 lt_cv_file_magic_test_file=/usr/lib/libnls.so
4926 lt_cv_deplibs_check_method=pass_all
4930 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
4931 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|\.so|_pic\.a)$'
4933 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
4937 osf3* | osf4* | osf5*)
4938 lt_cv_deplibs_check_method=pass_all
4942 lt_cv_deplibs_check_method=pass_all
4946 lt_cv_deplibs_check_method=pass_all
4949 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
4950 lt_cv_deplibs_check_method=pass_all
4954 case $host_vendor in
4956 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]'
4957 lt_cv_file_magic_test_file=`echo /usr/lib/libc.so*`
4960 lt_cv_deplibs_check_method=pass_all
4963 lt_cv_file_magic_cmd='/bin/file'
4964 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [LM]SB (shared object|dynamic lib )'
4967 lt_cv_file_magic_cmd='/bin/file'
4968 lt_cv_deplibs_check_method="file_magic ELF [0-9][0-9]*-bit [LM]SB dynamic lib"
4969 lt_cv_file_magic_test_file=/lib/libc.so
4972 lt_cv_deplibs_check_method=pass_all
4975 lt_cv_deplibs_check_method=pass_all
4981 lt_cv_deplibs_check_method=pass_all
4986 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_deplibs_check_method" >&5
4987 $as_echo "$lt_cv_deplibs_check_method" >&6; }
4991 if test "$build" = "$host"; then
4994 if ( shopt | grep nocaseglob ) >/dev/null 2>&1; then
4997 file_magic_glob=`echo aAbBcCdDeEfFgGhHiIjJkKlLmMnNoOpPqQrRsStTuUvVwWxXyYzZ | $SED -e "s/\(..\)/s\/[\1]\/[\1]\/g;/g"`
5003 file_magic_cmd=$lt_cv_file_magic_cmd
5004 deplibs_check_method=$lt_cv_deplibs_check_method
5005 test -z "$deplibs_check_method" && deplibs_check_method=unknown
5028 if test -n "$ac_tool_prefix"; then
5029 # Extract the first word of "${ac_tool_prefix}dlltool", so it can be a program name with args.
5030 set dummy ${ac_tool_prefix}dlltool; ac_word=$2
5031 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5032 $as_echo_n "checking for $ac_word... " >&6; }
5033 if ${ac_cv_prog_DLLTOOL+:} false; then :
5034 $as_echo_n "(cached) " >&6
5036 if test -n "$DLLTOOL"; then
5037 ac_cv_prog_DLLTOOL="$DLLTOOL" # Let the user override the test.
5039 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5043 test -z "$as_dir" && as_dir=.
5044 for ac_exec_ext in '' $ac_executable_extensions; do
5045 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5046 ac_cv_prog_DLLTOOL="${ac_tool_prefix}dlltool"
5047 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5056 DLLTOOL=$ac_cv_prog_DLLTOOL
5057 if test -n "$DLLTOOL"; then
5058 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DLLTOOL" >&5
5059 $as_echo "$DLLTOOL" >&6; }
5061 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5062 $as_echo "no" >&6; }
5067 if test -z "$ac_cv_prog_DLLTOOL"; then
5068 ac_ct_DLLTOOL=$DLLTOOL
5069 # Extract the first word of "dlltool", so it can be a program name with args.
5070 set dummy dlltool; ac_word=$2
5071 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5072 $as_echo_n "checking for $ac_word... " >&6; }
5073 if ${ac_cv_prog_ac_ct_DLLTOOL+:} false; then :
5074 $as_echo_n "(cached) " >&6
5076 if test -n "$ac_ct_DLLTOOL"; then
5077 ac_cv_prog_ac_ct_DLLTOOL="$ac_ct_DLLTOOL" # Let the user override the test.
5079 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5083 test -z "$as_dir" && as_dir=.
5084 for ac_exec_ext in '' $ac_executable_extensions; do
5085 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5086 ac_cv_prog_ac_ct_DLLTOOL="dlltool"
5087 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5096 ac_ct_DLLTOOL=$ac_cv_prog_ac_ct_DLLTOOL
5097 if test -n "$ac_ct_DLLTOOL"; then
5098 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DLLTOOL" >&5
5099 $as_echo "$ac_ct_DLLTOOL" >&6; }
5101 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5102 $as_echo "no" >&6; }
5105 if test "x$ac_ct_DLLTOOL" = x; then
5108 case $cross_compiling:$ac_tool_warned in
5110 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5111 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5112 ac_tool_warned=yes ;;
5114 DLLTOOL=$ac_ct_DLLTOOL
5117 DLLTOOL="$ac_cv_prog_DLLTOOL"
5120 test -z "$DLLTOOL" && DLLTOOL=dlltool
5131 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to associate runtime and link libraries" >&5
5132 $as_echo_n "checking how to associate runtime and link libraries... " >&6; }
5133 if ${lt_cv_sharedlib_from_linklib_cmd+:} false; then :
5134 $as_echo_n "(cached) " >&6
5136 lt_cv_sharedlib_from_linklib_cmd='unknown'
5139 cygwin* | mingw* | pw32* | cegcc*)
5140 # two different shell functions defined in ltmain.sh
5141 # decide which to use based on capabilities of $DLLTOOL
5142 case `$DLLTOOL --help 2>&1` in
5143 *--identify-strict*)
5144 lt_cv_sharedlib_from_linklib_cmd=func_cygming_dll_for_implib
5147 lt_cv_sharedlib_from_linklib_cmd=func_cygming_dll_for_implib_fallback
5152 # fallback: assume linklib IS sharedlib
5153 lt_cv_sharedlib_from_linklib_cmd="$ECHO"
5158 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_sharedlib_from_linklib_cmd" >&5
5159 $as_echo "$lt_cv_sharedlib_from_linklib_cmd" >&6; }
5160 sharedlib_from_linklib_cmd=$lt_cv_sharedlib_from_linklib_cmd
5161 test -z "$sharedlib_from_linklib_cmd" && sharedlib_from_linklib_cmd=$ECHO
5170 if test -n "$ac_tool_prefix"; then
5173 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
5174 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
5175 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5176 $as_echo_n "checking for $ac_word... " >&6; }
5177 if ${ac_cv_prog_AR+:} false; then :
5178 $as_echo_n "(cached) " >&6
5180 if test -n "$AR"; then
5181 ac_cv_prog_AR="$AR" # Let the user override the test.
5183 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5187 test -z "$as_dir" && as_dir=.
5188 for ac_exec_ext in '' $ac_executable_extensions; do
5189 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5190 ac_cv_prog_AR="$ac_tool_prefix$ac_prog"
5191 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5201 if test -n "$AR"; then
5202 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AR" >&5
5203 $as_echo "$AR" >&6; }
5205 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5206 $as_echo "no" >&6; }
5210 test -n "$AR" && break
5213 if test -z "$AR"; then
5217 # Extract the first word of "$ac_prog", so it can be a program name with args.
5218 set dummy $ac_prog; ac_word=$2
5219 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5220 $as_echo_n "checking for $ac_word... " >&6; }
5221 if ${ac_cv_prog_ac_ct_AR+:} false; then :
5222 $as_echo_n "(cached) " >&6
5224 if test -n "$ac_ct_AR"; then
5225 ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test.
5227 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5231 test -z "$as_dir" && as_dir=.
5232 for ac_exec_ext in '' $ac_executable_extensions; do
5233 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5234 ac_cv_prog_ac_ct_AR="$ac_prog"
5235 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5244 ac_ct_AR=$ac_cv_prog_ac_ct_AR
5245 if test -n "$ac_ct_AR"; then
5246 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_AR" >&5
5247 $as_echo "$ac_ct_AR" >&6; }
5249 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5250 $as_echo "no" >&6; }
5254 test -n "$ac_ct_AR" && break
5257 if test "x$ac_ct_AR" = x; then
5260 case $cross_compiling:$ac_tool_warned in
5262 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5263 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5264 ac_tool_warned=yes ;;
5283 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for archiver @FILE support" >&5
5284 $as_echo_n "checking for archiver @FILE support... " >&6; }
5285 if ${lt_cv_ar_at_file+:} false; then :
5286 $as_echo_n "(cached) " >&6
5289 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5290 /* end confdefs.h. */
5300 if ac_fn_c_try_compile "$LINENO"; then :
5301 echo conftest.$ac_objext > conftest.lst
5302 lt_ar_try='$AR $AR_FLAGS libconftest.a @conftest.lst >&5'
5303 { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$lt_ar_try\""; } >&5
5304 (eval $lt_ar_try) 2>&5
5306 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
5307 test $ac_status = 0; }
5308 if test "$ac_status" -eq 0; then
5309 # Ensure the archiver fails upon bogus file names.
5310 rm -f conftest.$ac_objext libconftest.a
5311 { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$lt_ar_try\""; } >&5
5312 (eval $lt_ar_try) 2>&5
5314 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
5315 test $ac_status = 0; }
5316 if test "$ac_status" -ne 0; then
5320 rm -f conftest.* libconftest.a
5323 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5326 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ar_at_file" >&5
5327 $as_echo "$lt_cv_ar_at_file" >&6; }
5329 if test "x$lt_cv_ar_at_file" = xno; then
5332 archiver_list_spec=$lt_cv_ar_at_file
5341 if test -n "$ac_tool_prefix"; then
5342 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
5343 set dummy ${ac_tool_prefix}strip; ac_word=$2
5344 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5345 $as_echo_n "checking for $ac_word... " >&6; }
5346 if ${ac_cv_prog_STRIP+:} false; then :
5347 $as_echo_n "(cached) " >&6
5349 if test -n "$STRIP"; then
5350 ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
5352 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5356 test -z "$as_dir" && as_dir=.
5357 for ac_exec_ext in '' $ac_executable_extensions; do
5358 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5359 ac_cv_prog_STRIP="${ac_tool_prefix}strip"
5360 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5369 STRIP=$ac_cv_prog_STRIP
5370 if test -n "$STRIP"; then
5371 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
5372 $as_echo "$STRIP" >&6; }
5374 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5375 $as_echo "no" >&6; }
5380 if test -z "$ac_cv_prog_STRIP"; then
5382 # Extract the first word of "strip", so it can be a program name with args.
5383 set dummy strip; ac_word=$2
5384 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5385 $as_echo_n "checking for $ac_word... " >&6; }
5386 if ${ac_cv_prog_ac_ct_STRIP+:} false; then :
5387 $as_echo_n "(cached) " >&6
5389 if test -n "$ac_ct_STRIP"; then
5390 ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
5392 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5396 test -z "$as_dir" && as_dir=.
5397 for ac_exec_ext in '' $ac_executable_extensions; do
5398 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5399 ac_cv_prog_ac_ct_STRIP="strip"
5400 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5409 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
5410 if test -n "$ac_ct_STRIP"; then
5411 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
5412 $as_echo "$ac_ct_STRIP" >&6; }
5414 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5415 $as_echo "no" >&6; }
5418 if test "x$ac_ct_STRIP" = x; then
5421 case $cross_compiling:$ac_tool_warned in
5423 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5424 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5425 ac_tool_warned=yes ;;
5430 STRIP="$ac_cv_prog_STRIP"
5433 test -z "$STRIP" && STRIP=:
5440 if test -n "$ac_tool_prefix"; then
5441 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
5442 set dummy ${ac_tool_prefix}ranlib; ac_word=$2
5443 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5444 $as_echo_n "checking for $ac_word... " >&6; }
5445 if ${ac_cv_prog_RANLIB+:} false; then :
5446 $as_echo_n "(cached) " >&6
5448 if test -n "$RANLIB"; then
5449 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
5451 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5455 test -z "$as_dir" && as_dir=.
5456 for ac_exec_ext in '' $ac_executable_extensions; do
5457 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5458 ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
5459 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5468 RANLIB=$ac_cv_prog_RANLIB
5469 if test -n "$RANLIB"; then
5470 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $RANLIB" >&5
5471 $as_echo "$RANLIB" >&6; }
5473 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5474 $as_echo "no" >&6; }
5479 if test -z "$ac_cv_prog_RANLIB"; then
5480 ac_ct_RANLIB=$RANLIB
5481 # Extract the first word of "ranlib", so it can be a program name with args.
5482 set dummy ranlib; ac_word=$2
5483 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5484 $as_echo_n "checking for $ac_word... " >&6; }
5485 if ${ac_cv_prog_ac_ct_RANLIB+:} false; then :
5486 $as_echo_n "(cached) " >&6
5488 if test -n "$ac_ct_RANLIB"; then
5489 ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
5491 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5495 test -z "$as_dir" && as_dir=.
5496 for ac_exec_ext in '' $ac_executable_extensions; do
5497 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5498 ac_cv_prog_ac_ct_RANLIB="ranlib"
5499 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5508 ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
5509 if test -n "$ac_ct_RANLIB"; then
5510 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_RANLIB" >&5
5511 $as_echo "$ac_ct_RANLIB" >&6; }
5513 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5514 $as_echo "no" >&6; }
5517 if test "x$ac_ct_RANLIB" = x; then
5520 case $cross_compiling:$ac_tool_warned in
5522 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5523 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5524 ac_tool_warned=yes ;;
5526 RANLIB=$ac_ct_RANLIB
5529 RANLIB="$ac_cv_prog_RANLIB"
5532 test -z "$RANLIB" && RANLIB=:
5539 # Determine commands to create old-style static archives.
5540 old_archive_cmds='$AR $AR_FLAGS $oldlib$oldobjs'
5541 old_postinstall_cmds='chmod 644 $oldlib'
5542 old_postuninstall_cmds=
5544 if test -n "$RANLIB"; then
5547 old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB -t \$tool_oldlib"
5550 old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB \$tool_oldlib"
5553 old_archive_cmds="$old_archive_cmds~\$RANLIB \$tool_oldlib"
5558 lock_old_archive_extraction=yes ;;
5560 lock_old_archive_extraction=no ;;
5601 # If no C compiler was specified, use CC.
5604 # If no C compiler flags were specified, use CFLAGS.
5605 LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
5607 # Allow CC to be a program name with arguments.
5611 # Check for command to grab the raw symbol name followed by C symbol from nm.
5612 { $as_echo "$as_me:${as_lineno-$LINENO}: checking command to parse $NM output from $compiler object" >&5
5613 $as_echo_n "checking command to parse $NM output from $compiler object... " >&6; }
5614 if ${lt_cv_sys_global_symbol_pipe+:} false; then :
5615 $as_echo_n "(cached) " >&6
5618 # These are sane defaults that work on at least a few old systems.
5619 # [They come from Ultrix. What could be older than Ultrix?!! ;)]
5621 # Character class describing NM global symbol codes.
5622 symcode='[BCDEGRST]'
5624 # Regexp to match symbols that can be accessed directly from C.
5625 sympat='\([_A-Za-z][_A-Za-z0-9]*\)'
5627 # Define system-specific variables.
5632 cygwin* | mingw* | pw32* | cegcc*)
5633 symcode='[ABCDGISTW]'
5636 if test "$host_cpu" = ia64; then
5637 symcode='[ABCDEGRST]'
5641 symcode='[BCDEGRST]'
5644 symcode='[BCDEGQRST]'
5655 sysv5* | sco5v6* | unixware* | OpenUNIX*)
5663 # If we're using GNU nm, then use its standard symbol codes.
5664 case `$NM -V 2>&1` in
5665 *GNU* | *'with BFD'*)
5666 symcode='[ABCDGIRSTW]' ;;
5669 # Transform an extracted symbol line into a proper C declaration.
5670 # Some systems (esp. on ia64) link data and code symbols differently,
5671 # so use this general approach.
5672 lt_cv_sys_global_symbol_to_cdecl="sed -n -e 's/^T .* \(.*\)$/extern int \1();/p' -e 's/^$symcode* .* \(.*\)$/extern char \1;/p'"
5674 # Transform an extracted symbol line into symbol name and symbol address
5675 lt_cv_sys_global_symbol_to_c_name_address="sed -n -e 's/^: \([^ ]*\)[ ]*$/ {\\\"\1\\\", (void *) 0},/p' -e 's/^$symcode* \([^ ]*\) \([^ ]*\)$/ {\"\2\", (void *) \&\2},/p'"
5676 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'"
5678 # Handle CRLF in mingw tool chain
5682 opt_cr=`$ECHO 'x\{0,1\}' | tr x '\015'` # option cr in regexp
5686 # Try without a prefix underscore, then with it.
5687 for ac_symprfx in "" "_"; do
5689 # Transform symcode, sympat, and symprfx into a raw symbol and a C symbol.
5690 symxfrm="\\1 $ac_symprfx\\2 \\2"
5692 # Write the raw and C identifiers.
5693 if test "$lt_cv_nm_interface" = "MS dumpbin"; then
5694 # Fake it for dumpbin and say T for any non-static function
5695 # and D for any global variable.
5696 # Also find C++ and __fastcall symbols from MSVC++,
5697 # which start with @ or ?.
5698 lt_cv_sys_global_symbol_pipe="$AWK '"\
5699 " {last_section=section; section=\$ 3};"\
5700 " /^COFF SYMBOL TABLE/{for(i in hide) delete hide[i]};"\
5701 " /Section length .*#relocs.*(pick any)/{hide[last_section]=1};"\
5702 " \$ 0!~/External *\|/{next};"\
5703 " / 0+ UNDEF /{next}; / UNDEF \([^|]\)*()/{next};"\
5704 " {if(hide[section]) next};"\
5705 " {f=0}; \$ 0~/\(\).*\|/{f=1}; {printf f ? \"T \" : \"D \"};"\
5706 " {split(\$ 0, a, /\||\r/); split(a[2], s)};"\
5707 " s[1]~/^[@?]/{print s[1], s[1]; next};"\
5708 " s[1]~prfx {split(s[1],t,\"@\"); print t[1], substr(t[1],length(prfx))}"\
5709 " ' prfx=^$ac_symprfx"
5711 lt_cv_sys_global_symbol_pipe="sed -n -e 's/^.*[ ]\($symcode$symcode*\)[ ][ ]*$ac_symprfx$sympat$opt_cr$/$symxfrm/p'"
5713 lt_cv_sys_global_symbol_pipe="$lt_cv_sys_global_symbol_pipe | sed '/ __gnu_lto/d'"
5715 # Check to see that the pipe works correctly.
5719 cat > conftest.$ac_ext <<_LT_EOF
5724 void nm_test_func(void);
5725 void nm_test_func(void){}
5729 int main(){nm_test_var='a';nm_test_func();return(0);}
5732 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
5733 (eval $ac_compile) 2>&5
5735 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
5736 test $ac_status = 0; }; then
5737 # Now try to grab the symbols.
5739 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$NM conftest.$ac_objext \| "$lt_cv_sys_global_symbol_pipe" \> $nlist\""; } >&5
5740 (eval $NM conftest.$ac_objext \| "$lt_cv_sys_global_symbol_pipe" \> $nlist) 2>&5
5742 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
5743 test $ac_status = 0; } && test -s "$nlist"; then
5744 # Try sorting and uniquifying the output.
5745 if sort "$nlist" | uniq > "$nlist"T; then
5746 mv -f "$nlist"T "$nlist"
5751 # Make sure that we snagged all the symbols we need.
5752 if $GREP ' nm_test_var$' "$nlist" >/dev/null; then
5753 if $GREP ' nm_test_func$' "$nlist" >/dev/null; then
5754 cat <<_LT_EOF > conftest.$ac_ext
5755 /* Keep this code in sync between libtool.m4, ltmain, lt_system.h, and tests. */
5756 #if defined(_WIN32) || defined(__CYGWIN__) || defined(_WIN32_WCE)
5757 /* DATA imports from DLLs on WIN32 con't be const, because runtime
5758 relocations are performed -- see ld's documentation on pseudo-relocs. */
5759 # define LT_DLSYM_CONST
5760 #elif defined(__osf__)
5761 /* This system does not cope well with relocations in const data. */
5762 # define LT_DLSYM_CONST
5764 # define LT_DLSYM_CONST const
5772 # Now generate the symbol file.
5773 eval "$lt_cv_sys_global_symbol_to_cdecl"' < "$nlist" | $GREP -v main >> conftest.$ac_ext'
5775 cat <<_LT_EOF >> conftest.$ac_ext
5777 /* The mapping between symbol names and symbols. */
5778 LT_DLSYM_CONST struct {
5782 lt__PROGRAM__LTX_preloaded_symbols[] =
5784 { "@PROGRAM@", (void *) 0 },
5786 $SED "s/^$symcode$symcode* \(.*\) \(.*\)$/ {\"\2\", (void *) \&\2},/" < "$nlist" | $GREP -v main >> conftest.$ac_ext
5787 cat <<\_LT_EOF >> conftest.$ac_ext
5791 /* This works around a problem in FreeBSD linker */
5792 #ifdef FREEBSD_WORKAROUND
5793 static const void *lt_preloaded_setup() {
5794 return lt__PROGRAM__LTX_preloaded_symbols;
5802 # Now try linking the two files.
5803 mv conftest.$ac_objext conftstm.$ac_objext
5804 lt_globsym_save_LIBS=$LIBS
5805 lt_globsym_save_CFLAGS=$CFLAGS
5806 LIBS="conftstm.$ac_objext"
5807 CFLAGS="$CFLAGS$lt_prog_compiler_no_builtin_flag"
5808 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
5809 (eval $ac_link) 2>&5
5811 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
5812 test $ac_status = 0; } && test -s conftest${ac_exeext}; then
5815 LIBS=$lt_globsym_save_LIBS
5816 CFLAGS=$lt_globsym_save_CFLAGS
5818 echo "cannot find nm_test_func in $nlist" >&5
5821 echo "cannot find nm_test_var in $nlist" >&5
5824 echo "cannot run $lt_cv_sys_global_symbol_pipe" >&5
5827 echo "$progname: failed program was:" >&5
5828 cat conftest.$ac_ext >&5
5830 rm -rf conftest* conftst*
5832 # Do not use the global_symbol_pipe unless it works.
5833 if test "$pipe_works" = yes; then
5836 lt_cv_sys_global_symbol_pipe=
5842 if test -z "$lt_cv_sys_global_symbol_pipe"; then
5843 lt_cv_sys_global_symbol_to_cdecl=
5845 if test -z "$lt_cv_sys_global_symbol_pipe$lt_cv_sys_global_symbol_to_cdecl"; then
5846 { $as_echo "$as_me:${as_lineno-$LINENO}: result: failed" >&5
5847 $as_echo "failed" >&6; }
5849 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ok" >&5
5850 $as_echo "ok" >&6; }
5853 # Response file support.
5854 if test "$lt_cv_nm_interface" = "MS dumpbin"; then
5855 nm_file_list_spec='@'
5856 elif $NM --help 2>/dev/null | grep '[@]FILE' >/dev/null; then
5857 nm_file_list_spec='@'
5886 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sysroot" >&5
5887 $as_echo_n "checking for sysroot... " >&6; }
5889 # Check whether --with-sysroot was given.
5890 if test "${with_sysroot+set}" = set; then :
5891 withval=$with_sysroot;
5898 case ${with_sysroot} in #(
5900 if test "$GCC" = yes; then
5901 lt_sysroot=`$CC --print-sysroot 2>/dev/null`
5905 lt_sysroot=`echo "$with_sysroot" | sed -e "$sed_quote_subst"`
5910 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${with_sysroot}" >&5
5911 $as_echo "${with_sysroot}" >&6; }
5912 as_fn_error $? "The sysroot must be an absolute path." "$LINENO" 5
5916 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${lt_sysroot:-no}" >&5
5917 $as_echo "${lt_sysroot:-no}" >&6; }
5923 # Check whether --enable-libtool-lock was given.
5924 if test "${enable_libtool_lock+set}" = set; then :
5925 enableval=$enable_libtool_lock;
5928 test "x$enable_libtool_lock" != xno && enable_libtool_lock=yes
5930 # Some flags need to be propagated to the compiler or linker for good
5934 # Find out which ABI we are using.
5935 echo 'int i;' > conftest.$ac_ext
5936 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
5937 (eval $ac_compile) 2>&5
5939 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
5940 test $ac_status = 0; }; then
5941 case `/usr/bin/file conftest.$ac_objext` in
5953 # Find out which ABI we are using.
5954 echo '#line '$LINENO' "configure"' > conftest.$ac_ext
5955 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
5956 (eval $ac_compile) 2>&5
5958 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
5959 test $ac_status = 0; }; then
5960 if test "$lt_cv_prog_gnu_ld" = yes; then
5961 case `/usr/bin/file conftest.$ac_objext` in
5963 LD="${LD-ld} -melf32bsmip"
5966 LD="${LD-ld} -melf32bmipn32"
5969 LD="${LD-ld} -melf64bmip"
5973 case `/usr/bin/file conftest.$ac_objext` in
5989 x86_64-*kfreebsd*-gnu|x86_64-*linux*|ppc*-*linux*|powerpc*-*linux*| \
5990 s390*-*linux*|s390*-*tpf*|sparc*-*linux*)
5991 # Find out which ABI we are using.
5992 echo 'int i;' > conftest.$ac_ext
5993 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
5994 (eval $ac_compile) 2>&5
5996 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
5997 test $ac_status = 0; }; then
5998 case `/usr/bin/file conftest.o` in
6001 x86_64-*kfreebsd*-gnu)
6002 LD="${LD-ld} -m elf_i386_fbsd"
6005 LD="${LD-ld} -m elf_i386"
6007 ppc64-*linux*|powerpc64-*linux*)
6008 LD="${LD-ld} -m elf32ppclinux"
6011 LD="${LD-ld} -m elf_s390"
6014 LD="${LD-ld} -m elf32_sparc"
6020 x86_64-*kfreebsd*-gnu)
6021 LD="${LD-ld} -m elf_x86_64_fbsd"
6024 LD="${LD-ld} -m elf_x86_64"
6026 ppc*-*linux*|powerpc*-*linux*)
6027 LD="${LD-ld} -m elf64ppc"
6029 s390*-*linux*|s390*-*tpf*)
6030 LD="${LD-ld} -m elf64_s390"
6033 LD="${LD-ld} -m elf64_sparc"
6043 # On SCO OpenServer 5, we need -belf to get full-featured binaries.
6044 SAVE_CFLAGS="$CFLAGS"
6045 CFLAGS="$CFLAGS -belf"
6046 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler needs -belf" >&5
6047 $as_echo_n "checking whether the C compiler needs -belf... " >&6; }
6048 if ${lt_cv_cc_needs_belf+:} false; then :
6049 $as_echo_n "(cached) " >&6
6052 ac_cpp='$CPP $CPPFLAGS'
6053 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
6054 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
6055 ac_compiler_gnu=$ac_cv_c_compiler_gnu
6057 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6058 /* end confdefs.h. */
6068 if ac_fn_c_try_link "$LINENO"; then :
6069 lt_cv_cc_needs_belf=yes
6071 lt_cv_cc_needs_belf=no
6073 rm -f core conftest.err conftest.$ac_objext \
6074 conftest$ac_exeext conftest.$ac_ext
6076 ac_cpp='$CPP $CPPFLAGS'
6077 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
6078 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
6079 ac_compiler_gnu=$ac_cv_c_compiler_gnu
6082 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_cc_needs_belf" >&5
6083 $as_echo "$lt_cv_cc_needs_belf" >&6; }
6084 if test x"$lt_cv_cc_needs_belf" != x"yes"; then
6085 # this is probably gcc 2.8.0, egcs 1.0 or newer; no need for -belf
6086 CFLAGS="$SAVE_CFLAGS"
6090 # Find out which ABI we are using.
6091 echo 'int i;' > conftest.$ac_ext
6092 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
6093 (eval $ac_compile) 2>&5
6095 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6096 test $ac_status = 0; }; then
6097 case `/usr/bin/file conftest.o` in
6099 case $lt_cv_prog_gnu_ld in
6103 LD="${LD-ld} -m elf_x86_64"
6106 LD="${LD-ld} -m elf64_sparc"
6109 # GNU ld 2.21 introduced _sol2 emulations. Use them if available.
6110 if ${LD-ld} -V | grep _sol2 >/dev/null 2>&1; then
6115 if ${LD-ld} -64 -r -o conftest2.o conftest.o >/dev/null 2>&1; then
6127 need_locks="$enable_libtool_lock"
6129 if test -n "$ac_tool_prefix"; then
6130 # Extract the first word of "${ac_tool_prefix}mt", so it can be a program name with args.
6131 set dummy ${ac_tool_prefix}mt; ac_word=$2
6132 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6133 $as_echo_n "checking for $ac_word... " >&6; }
6134 if ${ac_cv_prog_MANIFEST_TOOL+:} false; then :
6135 $as_echo_n "(cached) " >&6
6137 if test -n "$MANIFEST_TOOL"; then
6138 ac_cv_prog_MANIFEST_TOOL="$MANIFEST_TOOL" # Let the user override the test.
6140 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6144 test -z "$as_dir" && as_dir=.
6145 for ac_exec_ext in '' $ac_executable_extensions; do
6146 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6147 ac_cv_prog_MANIFEST_TOOL="${ac_tool_prefix}mt"
6148 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6157 MANIFEST_TOOL=$ac_cv_prog_MANIFEST_TOOL
6158 if test -n "$MANIFEST_TOOL"; then
6159 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MANIFEST_TOOL" >&5
6160 $as_echo "$MANIFEST_TOOL" >&6; }
6162 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6163 $as_echo "no" >&6; }
6168 if test -z "$ac_cv_prog_MANIFEST_TOOL"; then
6169 ac_ct_MANIFEST_TOOL=$MANIFEST_TOOL
6170 # Extract the first word of "mt", so it can be a program name with args.
6171 set dummy mt; ac_word=$2
6172 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6173 $as_echo_n "checking for $ac_word... " >&6; }
6174 if ${ac_cv_prog_ac_ct_MANIFEST_TOOL+:} false; then :
6175 $as_echo_n "(cached) " >&6
6177 if test -n "$ac_ct_MANIFEST_TOOL"; then
6178 ac_cv_prog_ac_ct_MANIFEST_TOOL="$ac_ct_MANIFEST_TOOL" # Let the user override the test.
6180 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6184 test -z "$as_dir" && as_dir=.
6185 for ac_exec_ext in '' $ac_executable_extensions; do
6186 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6187 ac_cv_prog_ac_ct_MANIFEST_TOOL="mt"
6188 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6197 ac_ct_MANIFEST_TOOL=$ac_cv_prog_ac_ct_MANIFEST_TOOL
6198 if test -n "$ac_ct_MANIFEST_TOOL"; then
6199 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_MANIFEST_TOOL" >&5
6200 $as_echo "$ac_ct_MANIFEST_TOOL" >&6; }
6202 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6203 $as_echo "no" >&6; }
6206 if test "x$ac_ct_MANIFEST_TOOL" = x; then
6209 case $cross_compiling:$ac_tool_warned in
6211 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6212 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6213 ac_tool_warned=yes ;;
6215 MANIFEST_TOOL=$ac_ct_MANIFEST_TOOL
6218 MANIFEST_TOOL="$ac_cv_prog_MANIFEST_TOOL"
6221 test -z "$MANIFEST_TOOL" && MANIFEST_TOOL=mt
6222 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $MANIFEST_TOOL is a manifest tool" >&5
6223 $as_echo_n "checking if $MANIFEST_TOOL is a manifest tool... " >&6; }
6224 if ${lt_cv_path_mainfest_tool+:} false; then :
6225 $as_echo_n "(cached) " >&6
6227 lt_cv_path_mainfest_tool=no
6228 echo "$as_me:$LINENO: $MANIFEST_TOOL '-?'" >&5
6229 $MANIFEST_TOOL '-?' 2>conftest.err > conftest.out
6230 cat conftest.err >&5
6231 if $GREP 'Manifest Tool' conftest.out > /dev/null; then
6232 lt_cv_path_mainfest_tool=yes
6236 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_path_mainfest_tool" >&5
6237 $as_echo "$lt_cv_path_mainfest_tool" >&6; }
6238 if test "x$lt_cv_path_mainfest_tool" != xyes; then
6248 rhapsody* | darwin*)
6249 if test -n "$ac_tool_prefix"; then
6250 # Extract the first word of "${ac_tool_prefix}dsymutil", so it can be a program name with args.
6251 set dummy ${ac_tool_prefix}dsymutil; ac_word=$2
6252 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6253 $as_echo_n "checking for $ac_word... " >&6; }
6254 if ${ac_cv_prog_DSYMUTIL+:} false; then :
6255 $as_echo_n "(cached) " >&6
6257 if test -n "$DSYMUTIL"; then
6258 ac_cv_prog_DSYMUTIL="$DSYMUTIL" # Let the user override the test.
6260 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6264 test -z "$as_dir" && as_dir=.
6265 for ac_exec_ext in '' $ac_executable_extensions; do
6266 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6267 ac_cv_prog_DSYMUTIL="${ac_tool_prefix}dsymutil"
6268 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6277 DSYMUTIL=$ac_cv_prog_DSYMUTIL
6278 if test -n "$DSYMUTIL"; then
6279 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DSYMUTIL" >&5
6280 $as_echo "$DSYMUTIL" >&6; }
6282 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6283 $as_echo "no" >&6; }
6288 if test -z "$ac_cv_prog_DSYMUTIL"; then
6289 ac_ct_DSYMUTIL=$DSYMUTIL
6290 # Extract the first word of "dsymutil", so it can be a program name with args.
6291 set dummy dsymutil; ac_word=$2
6292 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6293 $as_echo_n "checking for $ac_word... " >&6; }
6294 if ${ac_cv_prog_ac_ct_DSYMUTIL+:} false; then :
6295 $as_echo_n "(cached) " >&6
6297 if test -n "$ac_ct_DSYMUTIL"; then
6298 ac_cv_prog_ac_ct_DSYMUTIL="$ac_ct_DSYMUTIL" # Let the user override the test.
6300 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6304 test -z "$as_dir" && as_dir=.
6305 for ac_exec_ext in '' $ac_executable_extensions; do
6306 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6307 ac_cv_prog_ac_ct_DSYMUTIL="dsymutil"
6308 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6317 ac_ct_DSYMUTIL=$ac_cv_prog_ac_ct_DSYMUTIL
6318 if test -n "$ac_ct_DSYMUTIL"; then
6319 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DSYMUTIL" >&5
6320 $as_echo "$ac_ct_DSYMUTIL" >&6; }
6322 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6323 $as_echo "no" >&6; }
6326 if test "x$ac_ct_DSYMUTIL" = x; then
6329 case $cross_compiling:$ac_tool_warned in
6331 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6332 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6333 ac_tool_warned=yes ;;
6335 DSYMUTIL=$ac_ct_DSYMUTIL
6338 DSYMUTIL="$ac_cv_prog_DSYMUTIL"
6341 if test -n "$ac_tool_prefix"; then
6342 # Extract the first word of "${ac_tool_prefix}nmedit", so it can be a program name with args.
6343 set dummy ${ac_tool_prefix}nmedit; ac_word=$2
6344 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6345 $as_echo_n "checking for $ac_word... " >&6; }
6346 if ${ac_cv_prog_NMEDIT+:} false; then :
6347 $as_echo_n "(cached) " >&6
6349 if test -n "$NMEDIT"; then
6350 ac_cv_prog_NMEDIT="$NMEDIT" # Let the user override the test.
6352 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6356 test -z "$as_dir" && as_dir=.
6357 for ac_exec_ext in '' $ac_executable_extensions; do
6358 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6359 ac_cv_prog_NMEDIT="${ac_tool_prefix}nmedit"
6360 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6369 NMEDIT=$ac_cv_prog_NMEDIT
6370 if test -n "$NMEDIT"; then
6371 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $NMEDIT" >&5
6372 $as_echo "$NMEDIT" >&6; }
6374 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6375 $as_echo "no" >&6; }
6380 if test -z "$ac_cv_prog_NMEDIT"; then
6381 ac_ct_NMEDIT=$NMEDIT
6382 # Extract the first word of "nmedit", so it can be a program name with args.
6383 set dummy nmedit; ac_word=$2
6384 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6385 $as_echo_n "checking for $ac_word... " >&6; }
6386 if ${ac_cv_prog_ac_ct_NMEDIT+:} false; then :
6387 $as_echo_n "(cached) " >&6
6389 if test -n "$ac_ct_NMEDIT"; then
6390 ac_cv_prog_ac_ct_NMEDIT="$ac_ct_NMEDIT" # Let the user override the test.
6392 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6396 test -z "$as_dir" && as_dir=.
6397 for ac_exec_ext in '' $ac_executable_extensions; do
6398 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6399 ac_cv_prog_ac_ct_NMEDIT="nmedit"
6400 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6409 ac_ct_NMEDIT=$ac_cv_prog_ac_ct_NMEDIT
6410 if test -n "$ac_ct_NMEDIT"; then
6411 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_NMEDIT" >&5
6412 $as_echo "$ac_ct_NMEDIT" >&6; }
6414 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6415 $as_echo "no" >&6; }
6418 if test "x$ac_ct_NMEDIT" = x; then
6421 case $cross_compiling:$ac_tool_warned in
6423 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6424 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6425 ac_tool_warned=yes ;;
6427 NMEDIT=$ac_ct_NMEDIT
6430 NMEDIT="$ac_cv_prog_NMEDIT"
6433 if test -n "$ac_tool_prefix"; then
6434 # Extract the first word of "${ac_tool_prefix}lipo", so it can be a program name with args.
6435 set dummy ${ac_tool_prefix}lipo; ac_word=$2
6436 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6437 $as_echo_n "checking for $ac_word... " >&6; }
6438 if ${ac_cv_prog_LIPO+:} false; then :
6439 $as_echo_n "(cached) " >&6
6441 if test -n "$LIPO"; then
6442 ac_cv_prog_LIPO="$LIPO" # Let the user override the test.
6444 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6448 test -z "$as_dir" && as_dir=.
6449 for ac_exec_ext in '' $ac_executable_extensions; do
6450 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6451 ac_cv_prog_LIPO="${ac_tool_prefix}lipo"
6452 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6461 LIPO=$ac_cv_prog_LIPO
6462 if test -n "$LIPO"; then
6463 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LIPO" >&5
6464 $as_echo "$LIPO" >&6; }
6466 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6467 $as_echo "no" >&6; }
6472 if test -z "$ac_cv_prog_LIPO"; then
6474 # Extract the first word of "lipo", so it can be a program name with args.
6475 set dummy lipo; ac_word=$2
6476 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6477 $as_echo_n "checking for $ac_word... " >&6; }
6478 if ${ac_cv_prog_ac_ct_LIPO+:} false; then :
6479 $as_echo_n "(cached) " >&6
6481 if test -n "$ac_ct_LIPO"; then
6482 ac_cv_prog_ac_ct_LIPO="$ac_ct_LIPO" # Let the user override the test.
6484 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6488 test -z "$as_dir" && as_dir=.
6489 for ac_exec_ext in '' $ac_executable_extensions; do
6490 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6491 ac_cv_prog_ac_ct_LIPO="lipo"
6492 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6501 ac_ct_LIPO=$ac_cv_prog_ac_ct_LIPO
6502 if test -n "$ac_ct_LIPO"; then
6503 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_LIPO" >&5
6504 $as_echo "$ac_ct_LIPO" >&6; }
6506 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6507 $as_echo "no" >&6; }
6510 if test "x$ac_ct_LIPO" = x; then
6513 case $cross_compiling:$ac_tool_warned in
6515 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6516 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6517 ac_tool_warned=yes ;;
6522 LIPO="$ac_cv_prog_LIPO"
6525 if test -n "$ac_tool_prefix"; then
6526 # Extract the first word of "${ac_tool_prefix}otool", so it can be a program name with args.
6527 set dummy ${ac_tool_prefix}otool; ac_word=$2
6528 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6529 $as_echo_n "checking for $ac_word... " >&6; }
6530 if ${ac_cv_prog_OTOOL+:} false; then :
6531 $as_echo_n "(cached) " >&6
6533 if test -n "$OTOOL"; then
6534 ac_cv_prog_OTOOL="$OTOOL" # Let the user override the test.
6536 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6540 test -z "$as_dir" && as_dir=.
6541 for ac_exec_ext in '' $ac_executable_extensions; do
6542 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6543 ac_cv_prog_OTOOL="${ac_tool_prefix}otool"
6544 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6553 OTOOL=$ac_cv_prog_OTOOL
6554 if test -n "$OTOOL"; then
6555 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OTOOL" >&5
6556 $as_echo "$OTOOL" >&6; }
6558 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6559 $as_echo "no" >&6; }
6564 if test -z "$ac_cv_prog_OTOOL"; then
6566 # Extract the first word of "otool", so it can be a program name with args.
6567 set dummy otool; ac_word=$2
6568 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6569 $as_echo_n "checking for $ac_word... " >&6; }
6570 if ${ac_cv_prog_ac_ct_OTOOL+:} false; then :
6571 $as_echo_n "(cached) " >&6
6573 if test -n "$ac_ct_OTOOL"; then
6574 ac_cv_prog_ac_ct_OTOOL="$ac_ct_OTOOL" # Let the user override the test.
6576 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6580 test -z "$as_dir" && as_dir=.
6581 for ac_exec_ext in '' $ac_executable_extensions; do
6582 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6583 ac_cv_prog_ac_ct_OTOOL="otool"
6584 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6593 ac_ct_OTOOL=$ac_cv_prog_ac_ct_OTOOL
6594 if test -n "$ac_ct_OTOOL"; then
6595 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OTOOL" >&5
6596 $as_echo "$ac_ct_OTOOL" >&6; }
6598 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6599 $as_echo "no" >&6; }
6602 if test "x$ac_ct_OTOOL" = x; then
6605 case $cross_compiling:$ac_tool_warned in
6607 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6608 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6609 ac_tool_warned=yes ;;
6614 OTOOL="$ac_cv_prog_OTOOL"
6617 if test -n "$ac_tool_prefix"; then
6618 # Extract the first word of "${ac_tool_prefix}otool64", so it can be a program name with args.
6619 set dummy ${ac_tool_prefix}otool64; ac_word=$2
6620 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6621 $as_echo_n "checking for $ac_word... " >&6; }
6622 if ${ac_cv_prog_OTOOL64+:} false; then :
6623 $as_echo_n "(cached) " >&6
6625 if test -n "$OTOOL64"; then
6626 ac_cv_prog_OTOOL64="$OTOOL64" # Let the user override the test.
6628 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6632 test -z "$as_dir" && as_dir=.
6633 for ac_exec_ext in '' $ac_executable_extensions; do
6634 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6635 ac_cv_prog_OTOOL64="${ac_tool_prefix}otool64"
6636 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6645 OTOOL64=$ac_cv_prog_OTOOL64
6646 if test -n "$OTOOL64"; then
6647 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OTOOL64" >&5
6648 $as_echo "$OTOOL64" >&6; }
6650 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6651 $as_echo "no" >&6; }
6656 if test -z "$ac_cv_prog_OTOOL64"; then
6657 ac_ct_OTOOL64=$OTOOL64
6658 # Extract the first word of "otool64", so it can be a program name with args.
6659 set dummy otool64; ac_word=$2
6660 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6661 $as_echo_n "checking for $ac_word... " >&6; }
6662 if ${ac_cv_prog_ac_ct_OTOOL64+:} false; then :
6663 $as_echo_n "(cached) " >&6
6665 if test -n "$ac_ct_OTOOL64"; then
6666 ac_cv_prog_ac_ct_OTOOL64="$ac_ct_OTOOL64" # Let the user override the test.
6668 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6672 test -z "$as_dir" && as_dir=.
6673 for ac_exec_ext in '' $ac_executable_extensions; do
6674 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6675 ac_cv_prog_ac_ct_OTOOL64="otool64"
6676 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6685 ac_ct_OTOOL64=$ac_cv_prog_ac_ct_OTOOL64
6686 if test -n "$ac_ct_OTOOL64"; then
6687 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OTOOL64" >&5
6688 $as_echo "$ac_ct_OTOOL64" >&6; }
6690 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6691 $as_echo "no" >&6; }
6694 if test "x$ac_ct_OTOOL64" = x; then
6697 case $cross_compiling:$ac_tool_warned in
6699 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6700 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6701 ac_tool_warned=yes ;;
6703 OTOOL64=$ac_ct_OTOOL64
6706 OTOOL64="$ac_cv_prog_OTOOL64"
6735 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -single_module linker flag" >&5
6736 $as_echo_n "checking for -single_module linker flag... " >&6; }
6737 if ${lt_cv_apple_cc_single_mod+:} false; then :
6738 $as_echo_n "(cached) " >&6
6740 lt_cv_apple_cc_single_mod=no
6741 if test -z "${LT_MULTI_MODULE}"; then
6742 # By default we will add the -single_module flag. You can override
6743 # by either setting the environment variable LT_MULTI_MODULE
6744 # non-empty at configure time, or by adding -multi_module to the
6746 rm -rf libconftest.dylib*
6747 echo "int foo(void){return 1;}" > conftest.c
6748 echo "$LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \
6749 -dynamiclib -Wl,-single_module conftest.c" >&5
6750 $LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \
6751 -dynamiclib -Wl,-single_module conftest.c 2>conftest.err
6753 # If there is a non-empty error log, and "single_module"
6754 # appears in it, assume the flag caused a linker warning
6755 if test -s conftest.err && $GREP single_module conftest.err; then
6756 cat conftest.err >&5
6757 # Otherwise, if the output was created with a 0 exit code from
6758 # the compiler, it worked.
6759 elif test -f libconftest.dylib && test $_lt_result -eq 0; then
6760 lt_cv_apple_cc_single_mod=yes
6762 cat conftest.err >&5
6764 rm -rf libconftest.dylib*
6768 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_apple_cc_single_mod" >&5
6769 $as_echo "$lt_cv_apple_cc_single_mod" >&6; }
6771 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -exported_symbols_list linker flag" >&5
6772 $as_echo_n "checking for -exported_symbols_list linker flag... " >&6; }
6773 if ${lt_cv_ld_exported_symbols_list+:} false; then :
6774 $as_echo_n "(cached) " >&6
6776 lt_cv_ld_exported_symbols_list=no
6777 save_LDFLAGS=$LDFLAGS
6778 echo "_main" > conftest.sym
6779 LDFLAGS="$LDFLAGS -Wl,-exported_symbols_list,conftest.sym"
6780 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6781 /* end confdefs.h. */
6791 if ac_fn_c_try_link "$LINENO"; then :
6792 lt_cv_ld_exported_symbols_list=yes
6794 lt_cv_ld_exported_symbols_list=no
6796 rm -f core conftest.err conftest.$ac_objext \
6797 conftest$ac_exeext conftest.$ac_ext
6798 LDFLAGS="$save_LDFLAGS"
6801 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_exported_symbols_list" >&5
6802 $as_echo "$lt_cv_ld_exported_symbols_list" >&6; }
6804 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -force_load linker flag" >&5
6805 $as_echo_n "checking for -force_load linker flag... " >&6; }
6806 if ${lt_cv_ld_force_load+:} false; then :
6807 $as_echo_n "(cached) " >&6
6809 lt_cv_ld_force_load=no
6810 cat > conftest.c << _LT_EOF
6811 int forced_loaded() { return 2;}
6813 echo "$LTCC $LTCFLAGS -c -o conftest.o conftest.c" >&5
6814 $LTCC $LTCFLAGS -c -o conftest.o conftest.c 2>&5
6815 echo "$AR cru libconftest.a conftest.o" >&5
6816 $AR cru libconftest.a conftest.o 2>&5
6817 echo "$RANLIB libconftest.a" >&5
6818 $RANLIB libconftest.a 2>&5
6819 cat > conftest.c << _LT_EOF
6820 int main() { return 0;}
6822 echo "$LTCC $LTCFLAGS $LDFLAGS -o conftest conftest.c -Wl,-force_load,./libconftest.a" >&5
6823 $LTCC $LTCFLAGS $LDFLAGS -o conftest conftest.c -Wl,-force_load,./libconftest.a 2>conftest.err
6825 if test -s conftest.err && $GREP force_load conftest.err; then
6826 cat conftest.err >&5
6827 elif test -f conftest && test $_lt_result -eq 0 && $GREP forced_load conftest >/dev/null 2>&1 ; then
6828 lt_cv_ld_force_load=yes
6830 cat conftest.err >&5
6832 rm -f conftest.err libconftest.a conftest conftest.c
6833 rm -rf conftest.dSYM
6836 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_force_load" >&5
6837 $as_echo "$lt_cv_ld_force_load" >&6; }
6839 rhapsody* | darwin1.[012])
6840 _lt_dar_allow_undefined='${wl}-undefined ${wl}suppress' ;;
6842 _lt_dar_allow_undefined='${wl}-flat_namespace ${wl}-undefined ${wl}suppress' ;;
6843 darwin*) # darwin 5.x on
6844 # if running on 10.5 or later, the deployment target defaults
6845 # to the OS version, if on x86, and 10.4, the deployment
6846 # target defaults to 10.4. Don't you love it?
6847 case ${MACOSX_DEPLOYMENT_TARGET-10.0},$host in
6848 10.0,*86*-darwin8*|10.0,*-darwin[91]*)
6849 _lt_dar_allow_undefined='${wl}-undefined ${wl}dynamic_lookup' ;;
6851 _lt_dar_allow_undefined='${wl}-flat_namespace ${wl}-undefined ${wl}suppress' ;;
6853 _lt_dar_allow_undefined='${wl}-undefined ${wl}dynamic_lookup' ;;
6857 if test "$lt_cv_apple_cc_single_mod" = "yes"; then
6858 _lt_dar_single_mod='$single_module'
6860 if test "$lt_cv_ld_exported_symbols_list" = "yes"; then
6861 _lt_dar_export_syms=' ${wl}-exported_symbols_list,$output_objdir/${libname}-symbols.expsym'
6863 _lt_dar_export_syms='~$NMEDIT -s $output_objdir/${libname}-symbols.expsym ${lib}'
6865 if test "$DSYMUTIL" != ":" && test "$lt_cv_ld_force_load" = "no"; then
6866 _lt_dsymutil='~$DSYMUTIL $lib || :'
6874 ac_cpp='$CPP $CPPFLAGS'
6875 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
6876 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
6877 ac_compiler_gnu=$ac_cv_c_compiler_gnu
6878 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C preprocessor" >&5
6879 $as_echo_n "checking how to run the C preprocessor... " >&6; }
6880 # On Suns, sometimes $CPP names a directory.
6881 if test -n "$CPP" && test -d "$CPP"; then
6884 if test -z "$CPP"; then
6885 if ${ac_cv_prog_CPP+:} false; then :
6886 $as_echo_n "(cached) " >&6
6888 # Double quotes because CPP needs to be expanded
6889 for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
6892 for ac_c_preproc_warn_flag in '' yes
6894 # Use a header file that comes with gcc, so configuring glibc
6895 # with a fresh cross-compiler works.
6896 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
6897 # <limits.h> exists even on freestanding compilers.
6898 # On the NeXT, cc -E runs the code through the compiler's parser,
6899 # not just through cpp. "Syntax error" is here to catch this case.
6900 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6901 /* end confdefs.h. */
6903 # include <limits.h>
6905 # include <assert.h>
6909 if ac_fn_c_try_cpp "$LINENO"; then :
6912 # Broken: fails on valid input.
6915 rm -f conftest.err conftest.i conftest.$ac_ext
6917 # OK, works on sane cases. Now check whether nonexistent headers
6918 # can be detected and how.
6919 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6920 /* end confdefs.h. */
6921 #include <ac_nonexistent.h>
6923 if ac_fn_c_try_cpp "$LINENO"; then :
6924 # Broken: success on invalid input.
6927 # Passes both tests.
6931 rm -f conftest.err conftest.i conftest.$ac_ext
6934 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
6935 rm -f conftest.i conftest.err conftest.$ac_ext
6936 if $ac_preproc_ok; then :
6948 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CPP" >&5
6949 $as_echo "$CPP" >&6; }
6951 for ac_c_preproc_warn_flag in '' yes
6953 # Use a header file that comes with gcc, so configuring glibc
6954 # with a fresh cross-compiler works.
6955 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
6956 # <limits.h> exists even on freestanding compilers.
6957 # On the NeXT, cc -E runs the code through the compiler's parser,
6958 # not just through cpp. "Syntax error" is here to catch this case.
6959 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6960 /* end confdefs.h. */
6962 # include <limits.h>
6964 # include <assert.h>
6968 if ac_fn_c_try_cpp "$LINENO"; then :
6971 # Broken: fails on valid input.
6974 rm -f conftest.err conftest.i conftest.$ac_ext
6976 # OK, works on sane cases. Now check whether nonexistent headers
6977 # can be detected and how.
6978 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6979 /* end confdefs.h. */
6980 #include <ac_nonexistent.h>
6982 if ac_fn_c_try_cpp "$LINENO"; then :
6983 # Broken: success on invalid input.
6986 # Passes both tests.
6990 rm -f conftest.err conftest.i conftest.$ac_ext
6993 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
6994 rm -f conftest.i conftest.err conftest.$ac_ext
6995 if $ac_preproc_ok; then :
6998 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
6999 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
7000 as_fn_error $? "C preprocessor \"$CPP\" fails sanity check
7001 See \`config.log' for more details" "$LINENO" 5; }
7005 ac_cpp='$CPP $CPPFLAGS'
7006 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
7007 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
7008 ac_compiler_gnu=$ac_cv_c_compiler_gnu
7011 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5
7012 $as_echo_n "checking for ANSI C header files... " >&6; }
7013 if ${ac_cv_header_stdc+:} false; then :
7014 $as_echo_n "(cached) " >&6
7016 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7017 /* end confdefs.h. */
7031 if ac_fn_c_try_compile "$LINENO"; then :
7032 ac_cv_header_stdc=yes
7034 ac_cv_header_stdc=no
7036 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
7038 if test $ac_cv_header_stdc = yes; then
7039 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
7040 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7041 /* end confdefs.h. */
7045 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
7046 $EGREP "memchr" >/dev/null 2>&1; then :
7049 ac_cv_header_stdc=no
7055 if test $ac_cv_header_stdc = yes; then
7056 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
7057 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7058 /* end confdefs.h. */
7062 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
7063 $EGREP "free" >/dev/null 2>&1; then :
7066 ac_cv_header_stdc=no
7072 if test $ac_cv_header_stdc = yes; then
7073 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
7074 if test "$cross_compiling" = yes; then :
7077 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7078 /* end confdefs.h. */
7081 #if ((' ' & 0x0FF) == 0x020)
7082 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
7083 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
7085 # define ISLOWER(c) \
7086 (('a' <= (c) && (c) <= 'i') \
7087 || ('j' <= (c) && (c) <= 'r') \
7088 || ('s' <= (c) && (c) <= 'z'))
7089 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
7092 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
7097 for (i = 0; i < 256; i++)
7098 if (XOR (islower (i), ISLOWER (i))
7099 || toupper (i) != TOUPPER (i))
7104 if ac_fn_c_try_run "$LINENO"; then :
7107 ac_cv_header_stdc=no
7109 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
7110 conftest.$ac_objext conftest.beam conftest.$ac_ext
7115 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdc" >&5
7116 $as_echo "$ac_cv_header_stdc" >&6; }
7117 if test $ac_cv_header_stdc = yes; then
7119 $as_echo "#define STDC_HEADERS 1" >>confdefs.h
7123 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
7124 for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
7125 inttypes.h stdint.h unistd.h
7127 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
7128 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default
7130 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
7131 cat >>confdefs.h <<_ACEOF
7132 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
7140 for ac_header in dlfcn.h
7142 ac_fn_c_check_header_compile "$LINENO" "dlfcn.h" "ac_cv_header_dlfcn_h" "$ac_includes_default
7144 if test "x$ac_cv_header_dlfcn_h" = xyes; then :
7145 cat >>confdefs.h <<_ACEOF
7146 #define HAVE_DLFCN_H 1
7167 # Check whether --enable-shared was given.
7168 if test "${enable_shared+set}" = set; then :
7169 enableval=$enable_shared; p=${PACKAGE-default}
7171 yes) enable_shared=yes ;;
7172 no) enable_shared=no ;;
7175 # Look at the argument we got. We use all the common list separators.
7176 lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
7177 for pkg in $enableval; do
7179 if test "X$pkg" = "X$p"; then
7198 # Check whether --enable-static was given.
7199 if test "${enable_static+set}" = set; then :
7200 enableval=$enable_static; p=${PACKAGE-default}
7202 yes) enable_static=yes ;;
7203 no) enable_static=no ;;
7206 # Look at the argument we got. We use all the common list separators.
7207 lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
7208 for pkg in $enableval; do
7210 if test "X$pkg" = "X$p"; then
7230 # Check whether --with-pic was given.
7231 if test "${with_pic+set}" = set; then :
7232 withval=$with_pic; lt_p=${PACKAGE-default}
7234 yes|no) pic_mode=$withval ;;
7237 # Look at the argument we got. We use all the common list separators.
7238 lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
7239 for lt_pkg in $withval; do
7241 if test "X$lt_pkg" = "X$lt_p"; then
7253 test -z "$pic_mode" && pic_mode=default
7261 # Check whether --enable-fast-install was given.
7262 if test "${enable_fast_install+set}" = set; then :
7263 enableval=$enable_fast_install; p=${PACKAGE-default}
7265 yes) enable_fast_install=yes ;;
7266 no) enable_fast_install=no ;;
7268 enable_fast_install=no
7269 # Look at the argument we got. We use all the common list separators.
7270 lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
7271 for pkg in $enableval; do
7273 if test "X$pkg" = "X$p"; then
7274 enable_fast_install=yes
7281 enable_fast_install=yes
7294 # This can be used to rebuild libtool when needed
7295 LIBTOOL_DEPS="$ltmain"
7297 # Always use our own libtool.
7298 LIBTOOL='$(SHELL) $(top_builddir)/libtool'
7329 test -z "$LN_S" && LN_S="ln -s"
7344 if test -n "${ZSH_VERSION+set}" ; then
7345 setopt NO_GLOB_SUBST
7348 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for objdir" >&5
7349 $as_echo_n "checking for objdir... " >&6; }
7350 if ${lt_cv_objdir+:} false; then :
7351 $as_echo_n "(cached) " >&6
7353 rm -f .libs 2>/dev/null
7354 mkdir .libs 2>/dev/null
7355 if test -d .libs; then
7358 # MS-DOS does not allow filenames that begin with a dot.
7361 rmdir .libs 2>/dev/null
7363 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_objdir" >&5
7364 $as_echo "$lt_cv_objdir" >&6; }
7365 objdir=$lt_cv_objdir
7371 cat >>confdefs.h <<_ACEOF
7372 #define LT_OBJDIR "$lt_cv_objdir/"
7380 # AIX sometimes has problems with the GCC collect2 program. For some
7381 # reason, if we set the COLLECT_NAMES environment variable, the problems
7382 # vanish in a puff of smoke.
7383 if test "X${COLLECT_NAMES+set}" != Xset; then
7385 export COLLECT_NAMES
7392 can_build_shared=yes
7394 # All known linkers require a `.a' archive for static linking (except MSVC,
7395 # which needs '.lib').
7398 with_gnu_ld="$lt_cv_prog_gnu_ld"
7401 old_CFLAGS="$CFLAGS"
7403 # Set sane defaults for various variables
7404 test -z "$CC" && CC=cc
7405 test -z "$LTCC" && LTCC=$CC
7406 test -z "$LTCFLAGS" && LTCFLAGS=$CFLAGS
7407 test -z "$LD" && LD=ld
7408 test -z "$ac_objext" && ac_objext=o
7410 for cc_temp in $compiler""; do
7412 compile | *[\\/]compile | ccache | *[\\/]ccache ) ;;
7413 distcc | *[\\/]distcc | purify | *[\\/]purify ) ;;
7418 cc_basename=`$ECHO "$cc_temp" | $SED "s%.*/%%; s%^$host_alias-%%"`
7421 # Only perform the check for file, if the check method requires it
7422 test -z "$MAGIC_CMD" && MAGIC_CMD=file
7423 case $deplibs_check_method in
7425 if test "$file_magic_cmd" = '$MAGIC_CMD'; then
7426 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ${ac_tool_prefix}file" >&5
7427 $as_echo_n "checking for ${ac_tool_prefix}file... " >&6; }
7428 if ${lt_cv_path_MAGIC_CMD+:} false; then :
7429 $as_echo_n "(cached) " >&6
7433 lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a path.
7436 lt_save_MAGIC_CMD="$MAGIC_CMD"
7437 lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
7438 ac_dummy="/usr/bin$PATH_SEPARATOR$PATH"
7439 for ac_dir in $ac_dummy; do
7441 test -z "$ac_dir" && ac_dir=.
7442 if test -f $ac_dir/${ac_tool_prefix}file; then
7443 lt_cv_path_MAGIC_CMD="$ac_dir/${ac_tool_prefix}file"
7444 if test -n "$file_magic_test_file"; then
7445 case $deplibs_check_method in
7447 file_magic_regex=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
7448 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
7449 if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
7450 $EGREP "$file_magic_regex" > /dev/null; then
7455 *** Warning: the command libtool uses to detect shared libraries,
7456 *** $file_magic_cmd, produces output that libtool cannot recognize.
7457 *** The result is that libtool may fail to recognize shared libraries
7458 *** as such. This will affect the creation of libtool libraries that
7459 *** depend on shared libraries, but programs linked with such libtool
7460 *** libraries will work regardless of this problem. Nevertheless, you
7461 *** may want to report the problem to your system manager and/or to
7462 *** bug-libtool@gnu.org
7472 MAGIC_CMD="$lt_save_MAGIC_CMD"
7477 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
7478 if test -n "$MAGIC_CMD"; then
7479 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MAGIC_CMD" >&5
7480 $as_echo "$MAGIC_CMD" >&6; }
7482 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7483 $as_echo "no" >&6; }
7490 if test -z "$lt_cv_path_MAGIC_CMD"; then
7491 if test -n "$ac_tool_prefix"; then
7492 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for file" >&5
7493 $as_echo_n "checking for file... " >&6; }
7494 if ${lt_cv_path_MAGIC_CMD+:} false; then :
7495 $as_echo_n "(cached) " >&6
7499 lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a path.
7502 lt_save_MAGIC_CMD="$MAGIC_CMD"
7503 lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
7504 ac_dummy="/usr/bin$PATH_SEPARATOR$PATH"
7505 for ac_dir in $ac_dummy; do
7507 test -z "$ac_dir" && ac_dir=.
7508 if test -f $ac_dir/file; then
7509 lt_cv_path_MAGIC_CMD="$ac_dir/file"
7510 if test -n "$file_magic_test_file"; then
7511 case $deplibs_check_method in
7513 file_magic_regex=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
7514 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
7515 if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
7516 $EGREP "$file_magic_regex" > /dev/null; then
7521 *** Warning: the command libtool uses to detect shared libraries,
7522 *** $file_magic_cmd, produces output that libtool cannot recognize.
7523 *** The result is that libtool may fail to recognize shared libraries
7524 *** as such. This will affect the creation of libtool libraries that
7525 *** depend on shared libraries, but programs linked with such libtool
7526 *** libraries will work regardless of this problem. Nevertheless, you
7527 *** may want to report the problem to your system manager and/or to
7528 *** bug-libtool@gnu.org
7538 MAGIC_CMD="$lt_save_MAGIC_CMD"
7543 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
7544 if test -n "$MAGIC_CMD"; then
7545 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MAGIC_CMD" >&5
7546 $as_echo "$MAGIC_CMD" >&6; }
7548 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7549 $as_echo "no" >&6; }
7562 # Use C for the default configuration in the libtool script
7566 ac_cpp='$CPP $CPPFLAGS'
7567 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
7568 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
7569 ac_compiler_gnu=$ac_cv_c_compiler_gnu
7572 # Source file extension for C test sources.
7575 # Object file extension for compiled C test sources.
7579 # Code to be used in simple compile tests
7580 lt_simple_compile_test_code="int some_variable = 0;"
7582 # Code to be used in simple link tests
7583 lt_simple_link_test_code='int main(){return(0);}'
7591 # If no C compiler was specified, use CC.
7594 # If no C compiler flags were specified, use CFLAGS.
7595 LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
7597 # Allow CC to be a program name with arguments.
7600 # Save the default compiler, since it gets overwritten when the other
7601 # tags are being tested, and _LT_TAGVAR(compiler, []) is a NOP.
7602 compiler_DEFAULT=$CC
7604 # save warnings/boilerplate of simple test code
7605 ac_outfile=conftest.$ac_objext
7606 echo "$lt_simple_compile_test_code" >conftest.$ac_ext
7607 eval "$ac_compile" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
7608 _lt_compiler_boilerplate=`cat conftest.err`
7611 ac_outfile=conftest.$ac_objext
7612 echo "$lt_simple_link_test_code" >conftest.$ac_ext
7613 eval "$ac_link" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
7614 _lt_linker_boilerplate=`cat conftest.err`
7618 if test -n "$compiler"; then
7620 lt_prog_compiler_no_builtin_flag=
7622 if test "$GCC" = yes; then
7623 case $cc_basename in
7625 lt_prog_compiler_no_builtin_flag=' -Xcompiler -fno-builtin' ;;
7627 lt_prog_compiler_no_builtin_flag=' -fno-builtin' ;;
7630 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -fno-rtti -fno-exceptions" >&5
7631 $as_echo_n "checking if $compiler supports -fno-rtti -fno-exceptions... " >&6; }
7632 if ${lt_cv_prog_compiler_rtti_exceptions+:} false; then :
7633 $as_echo_n "(cached) " >&6
7635 lt_cv_prog_compiler_rtti_exceptions=no
7636 ac_outfile=conftest.$ac_objext
7637 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
7638 lt_compiler_flag="-fno-rtti -fno-exceptions"
7639 # Insert the option either (1) after the last *FLAGS variable, or
7640 # (2) before a word containing "conftest.", or (3) at the end.
7641 # Note that $ac_compile itself does not contain backslashes and begins
7642 # with a dollar sign (not a hyphen), so the echo should work correctly.
7643 # The option is referenced via a variable to avoid confusing sed.
7644 lt_compile=`echo "$ac_compile" | $SED \
7645 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
7646 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
7647 -e 's:$: $lt_compiler_flag:'`
7648 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
7649 (eval "$lt_compile" 2>conftest.err)
7651 cat conftest.err >&5
7652 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7653 if (exit $ac_status) && test -s "$ac_outfile"; then
7654 # The compiler can only warn and ignore the option if not recognized
7655 # So say no if there are warnings other than the usual output.
7656 $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' >conftest.exp
7657 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
7658 if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
7659 lt_cv_prog_compiler_rtti_exceptions=yes
7665 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_rtti_exceptions" >&5
7666 $as_echo "$lt_cv_prog_compiler_rtti_exceptions" >&6; }
7668 if test x"$lt_cv_prog_compiler_rtti_exceptions" = xyes; then
7669 lt_prog_compiler_no_builtin_flag="$lt_prog_compiler_no_builtin_flag -fno-rtti -fno-exceptions"
7681 lt_prog_compiler_wl=
7682 lt_prog_compiler_pic=
7683 lt_prog_compiler_static=
7686 if test "$GCC" = yes; then
7687 lt_prog_compiler_wl='-Wl,'
7688 lt_prog_compiler_static='-static'
7692 # All AIX code is PIC.
7693 if test "$host_cpu" = ia64; then
7694 # AIX 5 now supports IA64 processor
7695 lt_prog_compiler_static='-Bstatic'
7702 # see comment about AmigaOS4 .so support
7703 lt_prog_compiler_pic='-fPIC'
7706 # FIXME: we need at least 68020 code to build shared libraries, but
7707 # adding the `-m68020' flag to GCC prevents building anything better,
7709 lt_prog_compiler_pic='-m68020 -resident32 -malways-restore-a4'
7714 beos* | irix5* | irix6* | nonstopux* | osf3* | osf4* | osf5*)
7715 # PIC is the default for these OSes.
7718 mingw* | cygwin* | pw32* | os2* | cegcc*)
7719 # This hack is so that the source file can tell whether it is being
7720 # built for inclusion in a dll (and should export symbols for example).
7721 # Although the cygwin gcc ignores -fPIC, still need this for old-style
7722 # (--disable-auto-import) libraries
7723 lt_prog_compiler_pic='-DDLL_EXPORT'
7726 darwin* | rhapsody*)
7727 # PIC is the default on this platform
7728 # Common symbols not allowed in MH_DYLIB files
7729 lt_prog_compiler_pic='-fno-common'
7733 # PIC is the default for Haiku.
7734 # The "-static" flag exists, but is broken.
7735 lt_prog_compiler_static=
7739 # PIC is the default for 64-bit PA HP-UX, but not for 32-bit
7740 # PA HP-UX. On IA64 HP-UX, PIC is the default but the pic flag
7741 # sets the default TLS model and affects inlining.
7747 lt_prog_compiler_pic='-fPIC'
7753 # Interix 3.x gcc -fpic/-fPIC options generate broken code.
7754 # Instead, we relocate shared libraries at runtime.
7758 # Just because we use GCC doesn't mean we suddenly get shared libraries
7759 # on systems that don't support them.
7760 lt_prog_compiler_can_build_shared=no
7765 # QNX uses GNU C++, but need to define -shared option too, otherwise
7767 lt_prog_compiler_pic='-fPIC -shared'
7771 if test -d /usr/nec; then
7772 lt_prog_compiler_pic=-Kconform_pic
7777 lt_prog_compiler_pic='-fPIC'
7781 case $cc_basename in
7782 nvcc*) # Cuda Compiler Driver 2.2
7783 lt_prog_compiler_wl='-Xlinker '
7784 if test -n "$lt_prog_compiler_pic"; then
7785 lt_prog_compiler_pic="-Xcompiler $lt_prog_compiler_pic"
7790 # PORTME Check for flag to pass linker flags through the system compiler.
7793 lt_prog_compiler_wl='-Wl,'
7794 if test "$host_cpu" = ia64; then
7795 # AIX 5 now supports IA64 processor
7796 lt_prog_compiler_static='-Bstatic'
7798 lt_prog_compiler_static='-bnso -bI:/lib/syscalls.exp'
7802 mingw* | cygwin* | pw32* | os2* | cegcc*)
7803 # This hack is so that the source file can tell whether it is being
7804 # built for inclusion in a dll (and should export symbols for example).
7805 lt_prog_compiler_pic='-DDLL_EXPORT'
7808 hpux9* | hpux10* | hpux11*)
7809 lt_prog_compiler_wl='-Wl,'
7810 # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
7817 lt_prog_compiler_pic='+Z'
7820 # Is there a better lt_prog_compiler_static that works with the bundled CC?
7821 lt_prog_compiler_static='${wl}-a ${wl}archive'
7824 irix5* | irix6* | nonstopux*)
7825 lt_prog_compiler_wl='-Wl,'
7826 # PIC (with -KPIC) is the default.
7827 lt_prog_compiler_static='-non_shared'
7830 linux* | k*bsd*-gnu | kopensolaris*-gnu)
7831 case $cc_basename in
7832 # old Intel for x86_64 which still supported -KPIC.
7834 lt_prog_compiler_wl='-Wl,'
7835 lt_prog_compiler_pic='-KPIC'
7836 lt_prog_compiler_static='-static'
7838 # icc used to be incompatible with GCC.
7839 # ICC 10 doesn't accept -KPIC any more.
7841 lt_prog_compiler_wl='-Wl,'
7842 lt_prog_compiler_pic='-fPIC'
7843 lt_prog_compiler_static='-static'
7845 # Lahey Fortran 8.1.
7847 lt_prog_compiler_wl='-Wl,'
7848 lt_prog_compiler_pic='--shared'
7849 lt_prog_compiler_static='--static'
7852 # NAG Fortran compiler
7853 lt_prog_compiler_wl='-Wl,-Wl,,'
7854 lt_prog_compiler_pic='-PIC'
7855 lt_prog_compiler_static='-Bstatic'
7857 pgcc* | pgf77* | pgf90* | pgf95* | pgfortran*)
7858 # Portland Group compilers (*not* the Pentium gcc compiler,
7859 # which looks to be a dead project)
7860 lt_prog_compiler_wl='-Wl,'
7861 lt_prog_compiler_pic='-fpic'
7862 lt_prog_compiler_static='-Bstatic'
7865 lt_prog_compiler_wl='-Wl,'
7866 # All Alpha code is PIC.
7867 lt_prog_compiler_static='-non_shared'
7869 xl* | bgxl* | bgf* | mpixl*)
7870 # IBM XL C 8.0/Fortran 10.1, 11.1 on PPC and BlueGene
7871 lt_prog_compiler_wl='-Wl,'
7872 lt_prog_compiler_pic='-qpic'
7873 lt_prog_compiler_static='-qstaticlink'
7876 case `$CC -V 2>&1 | sed 5q` in
7877 *Sun\ Ceres\ Fortran* | *Sun*Fortran*\ [1-7].* | *Sun*Fortran*\ 8.[0-3]*)
7878 # Sun Fortran 8.3 passes all unrecognized flags to the linker
7879 lt_prog_compiler_pic='-KPIC'
7880 lt_prog_compiler_static='-Bstatic'
7881 lt_prog_compiler_wl=''
7883 *Sun\ F* | *Sun*Fortran*)
7884 lt_prog_compiler_pic='-KPIC'
7885 lt_prog_compiler_static='-Bstatic'
7886 lt_prog_compiler_wl='-Qoption ld '
7890 lt_prog_compiler_pic='-KPIC'
7891 lt_prog_compiler_static='-Bstatic'
7892 lt_prog_compiler_wl='-Wl,'
7894 *Intel*\ [CF]*Compiler*)
7895 lt_prog_compiler_wl='-Wl,'
7896 lt_prog_compiler_pic='-fPIC'
7897 lt_prog_compiler_static='-static'
7900 lt_prog_compiler_wl='-Wl,'
7901 lt_prog_compiler_pic='-fpic'
7902 lt_prog_compiler_static='-Bstatic'
7910 lt_prog_compiler_pic='-KPIC'
7911 lt_prog_compiler_static='-Bstatic'
7915 # QNX uses GNU C++, but need to define -shared option too, otherwise
7917 lt_prog_compiler_pic='-fPIC -shared'
7920 osf3* | osf4* | osf5*)
7921 lt_prog_compiler_wl='-Wl,'
7922 # All OSF/1 code is PIC.
7923 lt_prog_compiler_static='-non_shared'
7927 lt_prog_compiler_static='-non_shared'
7931 lt_prog_compiler_pic='-KPIC'
7932 lt_prog_compiler_static='-Bstatic'
7933 case $cc_basename in
7934 f77* | f90* | f95* | sunf77* | sunf90* | sunf95*)
7935 lt_prog_compiler_wl='-Qoption ld ';;
7937 lt_prog_compiler_wl='-Wl,';;
7942 lt_prog_compiler_wl='-Qoption ld '
7943 lt_prog_compiler_pic='-PIC'
7944 lt_prog_compiler_static='-Bstatic'
7947 sysv4 | sysv4.2uw2* | sysv4.3*)
7948 lt_prog_compiler_wl='-Wl,'
7949 lt_prog_compiler_pic='-KPIC'
7950 lt_prog_compiler_static='-Bstatic'
7954 if test -d /usr/nec ;then
7955 lt_prog_compiler_pic='-Kconform_pic'
7956 lt_prog_compiler_static='-Bstatic'
7960 sysv5* | unixware* | sco3.2v5* | sco5v6* | OpenUNIX*)
7961 lt_prog_compiler_wl='-Wl,'
7962 lt_prog_compiler_pic='-KPIC'
7963 lt_prog_compiler_static='-Bstatic'
7967 lt_prog_compiler_wl='-Wl,'
7968 lt_prog_compiler_can_build_shared=no
7972 lt_prog_compiler_pic='-pic'
7973 lt_prog_compiler_static='-Bstatic'
7977 lt_prog_compiler_can_build_shared=no
7983 # For platforms which do not support PIC, -DPIC is meaningless:
7985 lt_prog_compiler_pic=
7988 lt_prog_compiler_pic="$lt_prog_compiler_pic -DPIC"
7992 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $compiler option to produce PIC" >&5
7993 $as_echo_n "checking for $compiler option to produce PIC... " >&6; }
7994 if ${lt_cv_prog_compiler_pic+:} false; then :
7995 $as_echo_n "(cached) " >&6
7997 lt_cv_prog_compiler_pic=$lt_prog_compiler_pic
7999 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic" >&5
8000 $as_echo "$lt_cv_prog_compiler_pic" >&6; }
8001 lt_prog_compiler_pic=$lt_cv_prog_compiler_pic
8004 # Check to make sure the PIC flag actually works.
8006 if test -n "$lt_prog_compiler_pic"; then
8007 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler PIC flag $lt_prog_compiler_pic works" >&5
8008 $as_echo_n "checking if $compiler PIC flag $lt_prog_compiler_pic works... " >&6; }
8009 if ${lt_cv_prog_compiler_pic_works+:} false; then :
8010 $as_echo_n "(cached) " >&6
8012 lt_cv_prog_compiler_pic_works=no
8013 ac_outfile=conftest.$ac_objext
8014 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
8015 lt_compiler_flag="$lt_prog_compiler_pic -DPIC"
8016 # Insert the option either (1) after the last *FLAGS variable, or
8017 # (2) before a word containing "conftest.", or (3) at the end.
8018 # Note that $ac_compile itself does not contain backslashes and begins
8019 # with a dollar sign (not a hyphen), so the echo should work correctly.
8020 # The option is referenced via a variable to avoid confusing sed.
8021 lt_compile=`echo "$ac_compile" | $SED \
8022 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
8023 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
8024 -e 's:$: $lt_compiler_flag:'`
8025 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
8026 (eval "$lt_compile" 2>conftest.err)
8028 cat conftest.err >&5
8029 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8030 if (exit $ac_status) && test -s "$ac_outfile"; then
8031 # The compiler can only warn and ignore the option if not recognized
8032 # So say no if there are warnings other than the usual output.
8033 $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' >conftest.exp
8034 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
8035 if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
8036 lt_cv_prog_compiler_pic_works=yes
8042 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic_works" >&5
8043 $as_echo "$lt_cv_prog_compiler_pic_works" >&6; }
8045 if test x"$lt_cv_prog_compiler_pic_works" = xyes; then
8046 case $lt_prog_compiler_pic in
8048 *) lt_prog_compiler_pic=" $lt_prog_compiler_pic" ;;
8051 lt_prog_compiler_pic=
8052 lt_prog_compiler_can_build_shared=no
8068 # Check to make sure the static flag actually works.
8070 wl=$lt_prog_compiler_wl eval lt_tmp_static_flag=\"$lt_prog_compiler_static\"
8071 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler static flag $lt_tmp_static_flag works" >&5
8072 $as_echo_n "checking if $compiler static flag $lt_tmp_static_flag works... " >&6; }
8073 if ${lt_cv_prog_compiler_static_works+:} false; then :
8074 $as_echo_n "(cached) " >&6
8076 lt_cv_prog_compiler_static_works=no
8077 save_LDFLAGS="$LDFLAGS"
8078 LDFLAGS="$LDFLAGS $lt_tmp_static_flag"
8079 echo "$lt_simple_link_test_code" > conftest.$ac_ext
8080 if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
8081 # The linker can only warn and ignore the option if not recognized
8082 # So say no if there are warnings
8083 if test -s conftest.err; then
8084 # Append any errors to the config.log.
8085 cat conftest.err 1>&5
8086 $ECHO "$_lt_linker_boilerplate" | $SED '/^$/d' > conftest.exp
8087 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
8088 if diff conftest.exp conftest.er2 >/dev/null; then
8089 lt_cv_prog_compiler_static_works=yes
8092 lt_cv_prog_compiler_static_works=yes
8096 LDFLAGS="$save_LDFLAGS"
8099 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_static_works" >&5
8100 $as_echo "$lt_cv_prog_compiler_static_works" >&6; }
8102 if test x"$lt_cv_prog_compiler_static_works" = xyes; then
8105 lt_prog_compiler_static=
8114 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
8115 $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
8116 if ${lt_cv_prog_compiler_c_o+:} false; then :
8117 $as_echo_n "(cached) " >&6
8119 lt_cv_prog_compiler_c_o=no
8120 $RM -r conftest 2>/dev/null
8124 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
8126 lt_compiler_flag="-o out/conftest2.$ac_objext"
8127 # Insert the option either (1) after the last *FLAGS variable, or
8128 # (2) before a word containing "conftest.", or (3) at the end.
8129 # Note that $ac_compile itself does not contain backslashes and begins
8130 # with a dollar sign (not a hyphen), so the echo should work correctly.
8131 lt_compile=`echo "$ac_compile" | $SED \
8132 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
8133 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
8134 -e 's:$: $lt_compiler_flag:'`
8135 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
8136 (eval "$lt_compile" 2>out/conftest.err)
8138 cat out/conftest.err >&5
8139 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8140 if (exit $ac_status) && test -s out/conftest2.$ac_objext
8142 # The compiler can only warn and ignore the option if not recognized
8143 # So say no if there are warnings
8144 $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' > out/conftest.exp
8145 $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
8146 if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
8147 lt_cv_prog_compiler_c_o=yes
8152 # SGI C++ compiler will create directory out/ii_files/ for
8153 # template instantiation
8154 test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
8155 $RM out/* && rmdir out
8161 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o" >&5
8162 $as_echo "$lt_cv_prog_compiler_c_o" >&6; }
8169 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
8170 $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
8171 if ${lt_cv_prog_compiler_c_o+:} false; then :
8172 $as_echo_n "(cached) " >&6
8174 lt_cv_prog_compiler_c_o=no
8175 $RM -r conftest 2>/dev/null
8179 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
8181 lt_compiler_flag="-o out/conftest2.$ac_objext"
8182 # Insert the option either (1) after the last *FLAGS variable, or
8183 # (2) before a word containing "conftest.", or (3) at the end.
8184 # Note that $ac_compile itself does not contain backslashes and begins
8185 # with a dollar sign (not a hyphen), so the echo should work correctly.
8186 lt_compile=`echo "$ac_compile" | $SED \
8187 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
8188 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
8189 -e 's:$: $lt_compiler_flag:'`
8190 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
8191 (eval "$lt_compile" 2>out/conftest.err)
8193 cat out/conftest.err >&5
8194 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8195 if (exit $ac_status) && test -s out/conftest2.$ac_objext
8197 # The compiler can only warn and ignore the option if not recognized
8198 # So say no if there are warnings
8199 $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' > out/conftest.exp
8200 $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
8201 if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
8202 lt_cv_prog_compiler_c_o=yes
8207 # SGI C++ compiler will create directory out/ii_files/ for
8208 # template instantiation
8209 test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
8210 $RM out/* && rmdir out
8216 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o" >&5
8217 $as_echo "$lt_cv_prog_compiler_c_o" >&6; }
8222 hard_links="nottested"
8223 if test "$lt_cv_prog_compiler_c_o" = no && test "$need_locks" != no; then
8224 # do not overwrite the value of need_locks provided by the user
8225 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if we can lock with hard links" >&5
8226 $as_echo_n "checking if we can lock with hard links... " >&6; }
8229 ln conftest.a conftest.b 2>/dev/null && hard_links=no
8231 ln conftest.a conftest.b 2>&5 || hard_links=no
8232 ln conftest.a conftest.b 2>/dev/null && hard_links=no
8233 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hard_links" >&5
8234 $as_echo "$hard_links" >&6; }
8235 if test "$hard_links" = no; then
8236 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5
8237 $as_echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;}
8249 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $compiler linker ($LD) supports shared libraries" >&5
8250 $as_echo_n "checking whether the $compiler linker ($LD) supports shared libraries... " >&6; }
8253 allow_undefined_flag=
8254 always_export_symbols=no
8256 archive_expsym_cmds=
8257 compiler_needs_object=no
8258 enable_shared_with_static_runtimes=no
8259 export_dynamic_flag_spec=
8260 export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
8261 hardcode_automatic=no
8263 hardcode_direct_absolute=no
8264 hardcode_libdir_flag_spec=
8265 hardcode_libdir_separator=
8267 hardcode_shlibpath_var=unsupported
8269 link_all_deplibs=unknown
8272 old_archive_from_new_cmds=
8273 old_archive_from_expsyms_cmds=
8274 thread_safe_flag_spec=
8275 whole_archive_flag_spec=
8276 # include_expsyms should be a list of space-separated symbols to be *always*
8277 # included in the symbol list
8279 # exclude_expsyms can be an extended regexp of symbols to exclude
8280 # it will be wrapped by ` (' and `)$', so one must not match beginning or
8281 # end of line. Example: `a|bc|.*d.*' will exclude the symbols `a' and `bc',
8282 # as well as any symbol that contains `d'.
8283 exclude_expsyms='_GLOBAL_OFFSET_TABLE_|_GLOBAL__F[ID]_.*'
8284 # Although _GLOBAL_OFFSET_TABLE_ is a valid symbol C name, most a.out
8285 # platforms (ab)use it in PIC code, but their linkers get confused if
8286 # the symbol is explicitly referenced. Since portable code cannot
8287 # rely on this symbol name, it's probably fine to never include it in
8288 # preloaded symbol tables.
8289 # Exclude shared library initialization/finalization symbols.
8290 extract_expsyms_cmds=
8293 cygwin* | mingw* | pw32* | cegcc*)
8294 # FIXME: the MSVC++ port hasn't been tested in a loooong time
8295 # When not using gcc, we currently assume that we are using
8296 # Microsoft Visual C++.
8297 if test "$GCC" != yes; then
8302 # we just hope/assume this is gcc and not c89 (= MSVC++)
8308 linux* | k*bsd*-gnu | gnu*)
8315 # On some targets, GNU ld is compatible enough with the native linker
8316 # that we're better off using the native interface for both.
8317 lt_use_gnu_ld_interface=no
8318 if test "$with_gnu_ld" = yes; then
8321 # The AIX port of GNU ld has always aspired to compatibility
8322 # with the native linker. However, as the warning in the GNU ld
8323 # block says, versions before 2.19.5* couldn't really create working
8324 # shared libraries, regardless of the interface used.
8325 case `$LD -v 2>&1` in
8326 *\ \(GNU\ Binutils\)\ 2.19.5*) ;;
8327 *\ \(GNU\ Binutils\)\ 2.[2-9]*) ;;
8328 *\ \(GNU\ Binutils\)\ [3-9]*) ;;
8330 lt_use_gnu_ld_interface=yes
8335 lt_use_gnu_ld_interface=yes
8340 if test "$lt_use_gnu_ld_interface" = yes; then
8341 # If archive_cmds runs LD, not CC, wlarc should be empty
8344 # Set some defaults for GNU ld with shared library support. These
8345 # are reset later if shared libraries are not supported. Putting them
8346 # here allows them to be overridden if necessary.
8347 runpath_var=LD_RUN_PATH
8348 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
8349 export_dynamic_flag_spec='${wl}--export-dynamic'
8350 # ancient GNU ld didn't support --whole-archive et. al.
8351 if $LD --help 2>&1 | $GREP 'no-whole-archive' > /dev/null; then
8352 whole_archive_flag_spec="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
8354 whole_archive_flag_spec=
8356 supports_anon_versioning=no
8357 case `$LD -v 2>&1` in
8358 *GNU\ gold*) supports_anon_versioning=yes ;;
8359 *\ [01].* | *\ 2.[0-9].* | *\ 2.10.*) ;; # catch versions < 2.11
8360 *\ 2.11.93.0.2\ *) supports_anon_versioning=yes ;; # RH7.3 ...
8361 *\ 2.11.92.0.12\ *) supports_anon_versioning=yes ;; # Mandrake 8.2 ...
8362 *\ 2.11.*) ;; # other 2.11 versions
8363 *) supports_anon_versioning=yes ;;
8366 # See if GNU ld supports shared libraries.
8369 # On AIX/PPC, the GNU linker is very broken
8370 if test "$host_cpu" != ia64; then
8374 *** Warning: the GNU linker, at least up to release 2.19, is reported
8375 *** to be unable to reliably create shared libraries on AIX.
8376 *** Therefore, libtool is disabling shared libraries support. If you
8377 *** really care for shared libraries, you may want to install binutils
8378 *** 2.20 or above, or modify your PATH so that a non-GNU linker is found.
8379 *** You will then need to restart the configuration process.
8388 # see comment about AmigaOS4 .so support
8389 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
8390 archive_expsym_cmds=''
8393 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)'
8394 hardcode_libdir_flag_spec='-L$libdir'
8395 hardcode_minus_L=yes
8401 if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
8402 allow_undefined_flag=unsupported
8403 # Joseph Beckenbach <jrb3@best.com> says some releases of gcc
8404 # support --undefined. This deserves some investigation. FIXME
8405 archive_cmds='$CC -nostart $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
8411 cygwin* | mingw* | pw32* | cegcc*)
8412 # _LT_TAGVAR(hardcode_libdir_flag_spec, ) is actually meaningless,
8413 # as there is no search path for DLLs.
8414 hardcode_libdir_flag_spec='-L$libdir'
8415 export_dynamic_flag_spec='${wl}--export-all-symbols'
8416 allow_undefined_flag=unsupported
8417 always_export_symbols=no
8418 enable_shared_with_static_runtimes=yes
8419 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'
8420 exclude_expsyms='[_]+GLOBAL_OFFSET_TABLE_|[_]+GLOBAL__[FID]_.*|[_]+head_[A-Za-z0-9_]+_dll|[A-Za-z0-9_]+_dll_iname'
8422 if $LD --help 2>&1 | $GREP 'auto-import' > /dev/null; then
8423 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
8424 # If the export-symbols file already is a .def file (1st line
8425 # is EXPORTS), use it as is; otherwise, prepend...
8426 archive_expsym_cmds='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
8427 cp $export_symbols $output_objdir/$soname.def;
8429 echo EXPORTS > $output_objdir/$soname.def;
8430 cat $export_symbols >> $output_objdir/$soname.def;
8432 $CC -shared $output_objdir/$soname.def $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
8439 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
8440 link_all_deplibs=yes
8445 hardcode_shlibpath_var=no
8446 hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
8447 export_dynamic_flag_spec='${wl}-E'
8448 # Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc.
8449 # Instead, shared libraries are loaded at an image base (0x10000000 by
8450 # default) and relocated if they conflict, which is a slow very memory
8451 # consuming and fragmenting process. To avoid this, we pick a random,
8452 # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link
8453 # time. Moving up from 0x10000000 also allows more sbrk(2) space.
8454 archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-h,$soname ${wl}--image-base,`expr ${RANDOM-$$} % 4096 / 2 \* 262144 + 1342177280` -o $lib'
8455 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'
8458 gnu* | linux* | tpf* | k*bsd*-gnu | kopensolaris*-gnu)
8460 if test "$host_os" = linux-dietlibc; then
8461 case $cc_basename in
8462 diet\ *) tmp_diet=yes;; # linux-dietlibc with static linking (!diet-dyn)
8465 if $LD --help 2>&1 | $EGREP ': supported targets:.* elf' > /dev/null \
8466 && test "$tmp_diet" = no
8468 tmp_addflag=' $pic_flag'
8469 tmp_sharedflag='-shared'
8470 case $cc_basename,$host_cpu in
8471 pgcc*) # Portland Group C compiler
8472 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'
8473 tmp_addflag=' $pic_flag'
8475 pgf77* | pgf90* | pgf95* | pgfortran*)
8476 # Portland Group f77 and f90 compilers
8477 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'
8478 tmp_addflag=' $pic_flag -Mnomain' ;;
8479 ecc*,ia64* | icc*,ia64*) # Intel C compiler on ia64
8480 tmp_addflag=' -i_dynamic' ;;
8481 efc*,ia64* | ifort*,ia64*) # Intel Fortran compiler on ia64
8482 tmp_addflag=' -i_dynamic -nofor_main' ;;
8483 ifc* | ifort*) # Intel Fortran compiler
8484 tmp_addflag=' -nofor_main' ;;
8485 lf95*) # Lahey Fortran 8.1
8486 whole_archive_flag_spec=
8487 tmp_sharedflag='--shared' ;;
8488 xl[cC]* | bgxl[cC]* | mpixl[cC]*) # IBM XL C 8.0 on PPC (deal with xlf below)
8489 tmp_sharedflag='-qmkshrobj'
8491 nvcc*) # Cuda Compiler Driver 2.2
8492 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'
8493 compiler_needs_object=yes
8496 case `$CC -V 2>&1 | sed 5q` in
8497 *Sun\ C*) # Sun C 5.9
8498 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'
8499 compiler_needs_object=yes
8500 tmp_sharedflag='-G' ;;
8501 *Sun\ F*) # Sun Fortran 8.3
8502 tmp_sharedflag='-G' ;;
8504 archive_cmds='$CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
8506 if test "x$supports_anon_versioning" = xyes; then
8507 archive_expsym_cmds='echo "{ global:" > $output_objdir/$libname.ver~
8508 cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
8509 echo "local: *; };" >> $output_objdir/$libname.ver~
8510 $CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-version-script ${wl}$output_objdir/$libname.ver -o $lib'
8513 case $cc_basename in
8514 xlf* | bgf* | bgxlf* | mpixlf*)
8515 # IBM XL Fortran 10.1 on PPC cannot create shared libs itself
8516 whole_archive_flag_spec='--whole-archive$convenience --no-whole-archive'
8517 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
8518 archive_cmds='$LD -shared $libobjs $deplibs $linker_flags -soname $soname -o $lib'
8519 if test "x$supports_anon_versioning" = xyes; then
8520 archive_expsym_cmds='echo "{ global:" > $output_objdir/$libname.ver~
8521 cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
8522 echo "local: *; };" >> $output_objdir/$libname.ver~
8523 $LD -shared $libobjs $deplibs $linker_flags -soname $soname -version-script $output_objdir/$libname.ver -o $lib'
8532 netbsd* | netbsdelf*-gnu)
8533 if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
8534 archive_cmds='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib'
8537 archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
8538 archive_expsym_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
8543 if $LD -v 2>&1 | $GREP 'BFD 2\.8' > /dev/null; then
8547 *** Warning: The releases 2.8.* of the GNU linker cannot reliably
8548 *** create shared libraries on Solaris systems. Therefore, libtool
8549 *** is disabling shared libraries support. We urge you to upgrade GNU
8550 *** binutils to release 2.9.1 or newer. Another option is to modify
8551 *** your PATH or compiler configuration so that the native linker is
8552 *** used, and then restart.
8555 elif $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
8556 archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
8557 archive_expsym_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
8563 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX*)
8564 case `$LD -v 2>&1` in
8565 *\ [01].* | *\ 2.[0-9].* | *\ 2.1[0-5].*)
8569 *** Warning: Releases of the GNU linker prior to 2.16.91.0.3 can not
8570 *** reliably create shared libraries on SCO systems. Therefore, libtool
8571 *** is disabling shared libraries support. We urge you to upgrade GNU
8572 *** binutils to release 2.16.91.0.3 or newer. Another option is to modify
8573 *** your PATH or compiler configuration so that the native linker is
8574 *** used, and then restart.
8579 # For security reasons, it is highly recommended that you always
8580 # use absolute paths for naming shared libraries, and exclude the
8581 # DT_RUNPATH tag from executables and libraries. But doing so
8582 # requires that you compile everything twice, which is a pain.
8583 if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
8584 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
8585 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
8586 archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
8595 archive_cmds='$LD -assert pure-text -Bshareable -o $lib $libobjs $deplibs $linker_flags'
8598 hardcode_shlibpath_var=no
8602 if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
8603 archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
8604 archive_expsym_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
8611 if test "$ld_shlibs" = no; then
8613 hardcode_libdir_flag_spec=
8614 export_dynamic_flag_spec=
8615 whole_archive_flag_spec=
8618 # PORTME fill in a description of your system's linker (not GNU ld)
8621 allow_undefined_flag=unsupported
8622 always_export_symbols=yes
8623 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'
8624 # Note: this linker hardcodes the directories in LIBPATH if there
8625 # are no directories specified by -L.
8626 hardcode_minus_L=yes
8627 if test "$GCC" = yes && test -z "$lt_prog_compiler_static"; then
8628 # Neither direct hardcoding nor static linking is supported with a
8630 hardcode_direct=unsupported
8635 if test "$host_cpu" = ia64; then
8636 # On IA64, the linker does run time linking by default, so we don't
8637 # have to do anything special.
8638 aix_use_runtimelinking=no
8639 exp_sym_flag='-Bexport'
8642 # If we're using GNU nm, then we don't want the "-C" option.
8643 # -C means demangle to AIX nm, but means don't demangle with GNU nm
8644 # Also, AIX nm treats weak defined symbols like other global
8645 # defined symbols, whereas GNU nm marks them as "W".
8646 if $NM -V 2>&1 | $GREP 'GNU' > /dev/null; then
8647 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'
8649 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'
8651 aix_use_runtimelinking=no
8653 # Test if we are trying to use run time linking or normal
8654 # AIX style linking. If -brtl is somewhere in LDFLAGS, we
8655 # need to do runtime linking.
8656 case $host_os in aix4.[23]|aix4.[23].*|aix[5-9]*)
8657 for ld_flag in $LDFLAGS; do
8658 if (test $ld_flag = "-brtl" || test $ld_flag = "-Wl,-brtl"); then
8659 aix_use_runtimelinking=yes
8666 exp_sym_flag='-bexport'
8667 no_entry_flag='-bnoentry'
8670 # When large executables or shared objects are built, AIX ld can
8671 # have problems creating the table of contents. If linking a library
8672 # or program results in "error TOC overflow" add -mminimal-toc to
8673 # CXXFLAGS/CFLAGS for g++/gcc. In the cases where that is not
8674 # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
8678 hardcode_direct_absolute=yes
8679 hardcode_libdir_separator=':'
8680 link_all_deplibs=yes
8681 file_list_spec='${wl}-f,'
8683 if test "$GCC" = yes; then
8684 case $host_os in aix4.[012]|aix4.[012].*)
8685 # We only want to do this on AIX 4.2 and lower, the check
8686 # below for broken collect2 doesn't work under 4.3+
8687 collect2name=`${CC} -print-prog-name=collect2`
8688 if test -f "$collect2name" &&
8689 strings "$collect2name" | $GREP resolve_lib_name >/dev/null
8691 # We have reworked collect2
8694 # We have old collect2
8695 hardcode_direct=unsupported
8696 # It fails to find uninstalled libraries when the uninstalled
8697 # path is not listed in the libpath. Setting hardcode_minus_L
8698 # to unsupported forces relinking
8699 hardcode_minus_L=yes
8700 hardcode_libdir_flag_spec='-L$libdir'
8701 hardcode_libdir_separator=
8705 shared_flag='-shared'
8706 if test "$aix_use_runtimelinking" = yes; then
8707 shared_flag="$shared_flag "'${wl}-G'
8712 if test "$host_cpu" = ia64; then
8713 # VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
8714 # chokes on -Wl,-G. The following line is correct:
8717 if test "$aix_use_runtimelinking" = yes; then
8718 shared_flag='${wl}-G'
8720 shared_flag='${wl}-bM:SRE'
8725 export_dynamic_flag_spec='${wl}-bexpall'
8726 # It seems that -bexpall does not export symbols beginning with
8727 # underscore (_), so it is better to generate a list of symbols to export.
8728 always_export_symbols=yes
8729 if test "$aix_use_runtimelinking" = yes; then
8730 # Warning - without using the other runtime loading flags (-brtl),
8731 # -berok will link without error, but may produce a broken library.
8732 allow_undefined_flag='-berok'
8733 # Determine the default libpath from the value encoded in an
8735 if test "${lt_cv_aix_libpath+set}" = set; then
8736 aix_libpath=$lt_cv_aix_libpath
8738 if ${lt_cv_aix_libpath_+:} false; then :
8739 $as_echo_n "(cached) " >&6
8741 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8742 /* end confdefs.h. */
8752 if ac_fn_c_try_link "$LINENO"; then :
8754 lt_aix_libpath_sed='
8755 /Import File Strings/,/^$/ {
8757 s/^0 *\([^ ]*\) *$/\1/
8761 lt_cv_aix_libpath_=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
8762 # Check for a 64-bit object if we didn't find anything.
8763 if test -z "$lt_cv_aix_libpath_"; then
8764 lt_cv_aix_libpath_=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
8767 rm -f core conftest.err conftest.$ac_objext \
8768 conftest$ac_exeext conftest.$ac_ext
8769 if test -z "$lt_cv_aix_libpath_"; then
8770 lt_cv_aix_libpath_="/usr/lib:/lib"
8775 aix_libpath=$lt_cv_aix_libpath_
8778 hardcode_libdir_flag_spec='${wl}-blibpath:$libdir:'"$aix_libpath"
8779 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"
8781 if test "$host_cpu" = ia64; then
8782 hardcode_libdir_flag_spec='${wl}-R $libdir:/usr/lib:/lib'
8783 allow_undefined_flag="-z nodefs"
8784 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"
8786 # Determine the default libpath from the value encoded in an
8788 if test "${lt_cv_aix_libpath+set}" = set; then
8789 aix_libpath=$lt_cv_aix_libpath
8791 if ${lt_cv_aix_libpath_+:} false; then :
8792 $as_echo_n "(cached) " >&6
8794 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8795 /* end confdefs.h. */
8805 if ac_fn_c_try_link "$LINENO"; then :
8807 lt_aix_libpath_sed='
8808 /Import File Strings/,/^$/ {
8810 s/^0 *\([^ ]*\) *$/\1/
8814 lt_cv_aix_libpath_=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
8815 # Check for a 64-bit object if we didn't find anything.
8816 if test -z "$lt_cv_aix_libpath_"; then
8817 lt_cv_aix_libpath_=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
8820 rm -f core conftest.err conftest.$ac_objext \
8821 conftest$ac_exeext conftest.$ac_ext
8822 if test -z "$lt_cv_aix_libpath_"; then
8823 lt_cv_aix_libpath_="/usr/lib:/lib"
8828 aix_libpath=$lt_cv_aix_libpath_
8831 hardcode_libdir_flag_spec='${wl}-blibpath:$libdir:'"$aix_libpath"
8832 # Warning - without using the other run time loading flags,
8833 # -berok will link without error, but may produce a broken library.
8834 no_undefined_flag=' ${wl}-bernotok'
8835 allow_undefined_flag=' ${wl}-berok'
8836 if test "$with_gnu_ld" = yes; then
8837 # We only use this code for GNU lds that support --whole-archive.
8838 whole_archive_flag_spec='${wl}--whole-archive$convenience ${wl}--no-whole-archive'
8840 # Exported symbols can be pulled into shared objects from archives
8841 whole_archive_flag_spec='$convenience'
8843 archive_cmds_need_lc=yes
8844 # This is similar to how AIX traditionally builds its shared libraries.
8845 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'
8853 # see comment about AmigaOS4 .so support
8854 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
8855 archive_expsym_cmds=''
8858 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)'
8859 hardcode_libdir_flag_spec='-L$libdir'
8860 hardcode_minus_L=yes
8866 export_dynamic_flag_spec=-rdynamic
8869 cygwin* | mingw* | pw32* | cegcc*)
8870 # When not using gcc, we currently assume that we are using
8871 # Microsoft Visual C++.
8872 # hardcode_libdir_flag_spec is actually meaningless, as there is
8873 # no search path for DLLs.
8874 case $cc_basename in
8877 hardcode_libdir_flag_spec=' '
8878 allow_undefined_flag=unsupported
8879 always_export_symbols=yes
8881 # Tell ltmain to make .lib files, not .a files.
8883 # Tell ltmain to make .dll files, not .so files.
8885 # FIXME: Setting linknames here is a bad hack.
8886 archive_cmds='$CC -o $output_objdir/$soname $libobjs $compiler_flags $deplibs -Wl,-dll~linknames='
8887 archive_expsym_cmds='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
8888 sed -n -e 's/\\\\\\\(.*\\\\\\\)/-link\\\ -EXPORT:\\\\\\\1/' -e '1\\\!p' < $export_symbols > $output_objdir/$soname.exp;
8890 sed -e 's/\\\\\\\(.*\\\\\\\)/-link\\\ -EXPORT:\\\\\\\1/' < $export_symbols > $output_objdir/$soname.exp;
8892 $CC -o $tool_output_objdir$soname $libobjs $compiler_flags $deplibs "@$tool_output_objdir$soname.exp" -Wl,-DLL,-IMPLIB:"$tool_output_objdir$libname.dll.lib"~
8894 # The linker will not automatically build a static lib if we build a DLL.
8895 # _LT_TAGVAR(old_archive_from_new_cmds, )='true'
8896 enable_shared_with_static_runtimes=yes
8897 exclude_expsyms='_NULL_IMPORT_DESCRIPTOR|_IMPORT_DESCRIPTOR_.*'
8898 export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS][ ]/s/.*[ ]\([^ ]*\)/\1,DATA/'\'' | $SED -e '\''/^[AITW][ ]/s/.*[ ]//'\'' | sort | uniq > $export_symbols'
8900 old_postinstall_cmds='chmod 644 $oldlib'
8901 postlink_cmds='lt_outputfile="@OUTPUT@"~
8902 lt_tool_outputfile="@TOOL_OUTPUT@"~
8903 case $lt_outputfile in
8906 lt_outputfile="$lt_outputfile.exe"
8907 lt_tool_outputfile="$lt_tool_outputfile.exe"
8910 if test "$MANIFEST_TOOL" != ":" && test -f "$lt_outputfile.manifest"; then
8911 $MANIFEST_TOOL -manifest "$lt_tool_outputfile.manifest" -outputresource:"$lt_tool_outputfile" || exit 1;
8912 $RM "$lt_outputfile.manifest";
8916 # Assume MSVC wrapper
8917 hardcode_libdir_flag_spec=' '
8918 allow_undefined_flag=unsupported
8919 # Tell ltmain to make .lib files, not .a files.
8921 # Tell ltmain to make .dll files, not .so files.
8923 # FIXME: Setting linknames here is a bad hack.
8924 archive_cmds='$CC -o $lib $libobjs $compiler_flags `func_echo_all "$deplibs" | $SED '\''s/ -lc$//'\''` -link -dll~linknames='
8925 # The linker will automatically build a .lib file if we build a DLL.
8926 old_archive_from_new_cmds='true'
8927 # FIXME: Should let the user specify the lib program.
8928 old_archive_cmds='lib -OUT:$oldlib$oldobjs$old_deplibs'
8929 enable_shared_with_static_runtimes=yes
8934 darwin* | rhapsody*)
8937 archive_cmds_need_lc=no
8939 hardcode_automatic=yes
8940 hardcode_shlibpath_var=unsupported
8941 if test "$lt_cv_ld_force_load" = "yes"; then
8942 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\"`'
8945 whole_archive_flag_spec=''
8947 link_all_deplibs=yes
8948 allow_undefined_flag="$_lt_dar_allow_undefined"
8949 case $cc_basename in
8950 ifort*) _lt_dar_can_shared=yes ;;
8951 *) _lt_dar_can_shared=$GCC ;;
8953 if test "$_lt_dar_can_shared" = "yes"; then
8954 output_verbose_link_cmd=func_echo_all
8955 archive_cmds="\$CC -dynamiclib \$allow_undefined_flag -o \$lib \$libobjs \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring $_lt_dar_single_mod${_lt_dsymutil}"
8956 module_cmds="\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags${_lt_dsymutil}"
8957 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}"
8958 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}"
8967 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
8968 hardcode_libdir_flag_spec='-L$libdir'
8969 hardcode_shlibpath_var=no
8972 # FreeBSD 2.2.[012] allows us to include c++rt0.o to get C++ constructor
8973 # support. Future versions do this automatically, but an explicit c++rt0.o
8974 # does not break anything, and helps significantly (at the cost of a little
8977 archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags /usr/lib/c++rt0.o'
8978 hardcode_libdir_flag_spec='-R$libdir'
8980 hardcode_shlibpath_var=no
8983 # Unfortunately, older versions of FreeBSD 2 do not have this feature.
8985 archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
8987 hardcode_minus_L=yes
8988 hardcode_shlibpath_var=no
8991 # FreeBSD 3 and greater uses gcc -shared to do shared libraries.
8992 freebsd* | dragonfly*)
8993 archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
8994 hardcode_libdir_flag_spec='-R$libdir'
8996 hardcode_shlibpath_var=no
9000 if test "$GCC" = yes; then
9001 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'
9003 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'
9005 hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
9006 hardcode_libdir_separator=:
9009 # hardcode_minus_L: Not really in the search PATH,
9010 # but as the default location of the library.
9011 hardcode_minus_L=yes
9012 export_dynamic_flag_spec='${wl}-E'
9016 if test "$GCC" = yes && test "$with_gnu_ld" = no; then
9017 archive_cmds='$CC -shared $pic_flag ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
9019 archive_cmds='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
9021 if test "$with_gnu_ld" = no; then
9022 hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
9023 hardcode_libdir_separator=:
9025 hardcode_direct_absolute=yes
9026 export_dynamic_flag_spec='${wl}-E'
9027 # hardcode_minus_L: Not really in the search PATH,
9028 # but as the default location of the library.
9029 hardcode_minus_L=yes
9034 if test "$GCC" = yes && test "$with_gnu_ld" = no; then
9037 archive_cmds='$CC -shared ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
9040 archive_cmds='$CC -shared $pic_flag ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
9043 archive_cmds='$CC -shared $pic_flag ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
9049 archive_cmds='$CC -b ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
9052 archive_cmds='$CC -b ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
9056 # Older versions of the 11.00 compiler do not understand -b yet
9057 # (HP92453-01 A.11.01.20 doesn't, HP92453-01 B.11.X.35175-35176.GP does)
9058 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC understands -b" >&5
9059 $as_echo_n "checking if $CC understands -b... " >&6; }
9060 if ${lt_cv_prog_compiler__b+:} false; then :
9061 $as_echo_n "(cached) " >&6
9063 lt_cv_prog_compiler__b=no
9064 save_LDFLAGS="$LDFLAGS"
9065 LDFLAGS="$LDFLAGS -b"
9066 echo "$lt_simple_link_test_code" > conftest.$ac_ext
9067 if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
9068 # The linker can only warn and ignore the option if not recognized
9069 # So say no if there are warnings
9070 if test -s conftest.err; then
9071 # Append any errors to the config.log.
9072 cat conftest.err 1>&5
9073 $ECHO "$_lt_linker_boilerplate" | $SED '/^$/d' > conftest.exp
9074 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
9075 if diff conftest.exp conftest.er2 >/dev/null; then
9076 lt_cv_prog_compiler__b=yes
9079 lt_cv_prog_compiler__b=yes
9083 LDFLAGS="$save_LDFLAGS"
9086 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler__b" >&5
9087 $as_echo "$lt_cv_prog_compiler__b" >&6; }
9089 if test x"$lt_cv_prog_compiler__b" = xyes; then
9090 archive_cmds='$CC -b ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
9092 archive_cmds='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
9098 if test "$with_gnu_ld" = no; then
9099 hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
9100 hardcode_libdir_separator=:
9105 hardcode_shlibpath_var=no
9109 hardcode_direct_absolute=yes
9110 export_dynamic_flag_spec='${wl}-E'
9112 # hardcode_minus_L: Not really in the search PATH,
9113 # but as the default location of the library.
9114 hardcode_minus_L=yes
9120 irix5* | irix6* | nonstopux*)
9121 if test "$GCC" = yes; then
9122 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'
9123 # Try to use the -exported_symbol ld option, if it does not
9124 # work, assume that -exports_file does not work either and
9125 # implicitly export all symbols.
9126 # This should be the same for all languages, so no per-tag cache variable.
9127 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $host_os linker accepts -exported_symbol" >&5
9128 $as_echo_n "checking whether the $host_os linker accepts -exported_symbol... " >&6; }
9129 if ${lt_cv_irix_exported_symbol+:} false; then :
9130 $as_echo_n "(cached) " >&6
9132 save_LDFLAGS="$LDFLAGS"
9133 LDFLAGS="$LDFLAGS -shared ${wl}-exported_symbol ${wl}foo ${wl}-update_registry ${wl}/dev/null"
9134 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9135 /* end confdefs.h. */
9136 int foo (void) { return 0; }
9138 if ac_fn_c_try_link "$LINENO"; then :
9139 lt_cv_irix_exported_symbol=yes
9141 lt_cv_irix_exported_symbol=no
9143 rm -f core conftest.err conftest.$ac_objext \
9144 conftest$ac_exeext conftest.$ac_ext
9145 LDFLAGS="$save_LDFLAGS"
9147 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_irix_exported_symbol" >&5
9148 $as_echo "$lt_cv_irix_exported_symbol" >&6; }
9149 if test "$lt_cv_irix_exported_symbol" = yes; then
9150 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'
9153 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'
9154 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'
9156 archive_cmds_need_lc='no'
9157 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
9158 hardcode_libdir_separator=:
9160 link_all_deplibs=yes
9163 netbsd* | netbsdelf*-gnu)
9164 if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
9165 archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags' # a.out
9167 archive_cmds='$LD -shared -o $lib $libobjs $deplibs $linker_flags' # ELF
9169 hardcode_libdir_flag_spec='-R$libdir'
9171 hardcode_shlibpath_var=no
9175 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
9177 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
9178 hardcode_libdir_separator=:
9179 hardcode_shlibpath_var=no
9186 if test -f /usr/libexec/ld.so; then
9188 hardcode_shlibpath_var=no
9189 hardcode_direct_absolute=yes
9190 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
9191 archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
9192 archive_expsym_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-retain-symbols-file,$export_symbols'
9193 hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
9194 export_dynamic_flag_spec='${wl}-E'
9197 openbsd[01].* | openbsd2.[0-7] | openbsd2.[0-7].*)
9198 archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
9199 hardcode_libdir_flag_spec='-R$libdir'
9202 archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
9203 hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
9213 hardcode_libdir_flag_spec='-L$libdir'
9214 hardcode_minus_L=yes
9215 allow_undefined_flag=unsupported
9216 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'
9217 old_archive_from_new_cmds='emximp -o $output_objdir/$libname.a $output_objdir/$libname.def'
9221 if test "$GCC" = yes; then
9222 allow_undefined_flag=' ${wl}-expect_unresolved ${wl}\*'
9223 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'
9225 allow_undefined_flag=' -expect_unresolved \*'
9226 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'
9228 archive_cmds_need_lc='no'
9229 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
9230 hardcode_libdir_separator=:
9233 osf4* | osf5*) # as osf3* with the addition of -msym flag
9234 if test "$GCC" = yes; then
9235 allow_undefined_flag=' ${wl}-expect_unresolved ${wl}\*'
9236 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'
9237 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
9239 allow_undefined_flag=' -expect_unresolved \*'
9240 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'
9241 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~
9242 $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'
9244 # Both c and cxx compiler support -rpath directly
9245 hardcode_libdir_flag_spec='-rpath $libdir'
9247 archive_cmds_need_lc='no'
9248 hardcode_libdir_separator=:
9252 no_undefined_flag=' -z defs'
9253 if test "$GCC" = yes; then
9255 archive_cmds='$CC -shared $pic_flag ${wl}-z ${wl}text ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
9256 archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
9257 $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'
9259 case `$CC -V 2>&1` in
9262 archive_cmds='$LD -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $linker_flags'
9263 archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
9264 $LD -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$RM $lib.exp'
9268 archive_cmds='$CC -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $compiler_flags'
9269 archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
9270 $CC -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $compiler_flags~$RM $lib.exp'
9274 hardcode_libdir_flag_spec='-R$libdir'
9275 hardcode_shlibpath_var=no
9277 solaris2.[0-5] | solaris2.[0-5].*) ;;
9279 # The compiler driver will combine and reorder linker options,
9280 # but understands `-z linker_flag'. GCC discards it without `$wl',
9281 # but is careful enough not to reorder.
9282 # Supported since Solaris 2.6 (maybe 2.5.1?)
9283 if test "$GCC" = yes; then
9284 whole_archive_flag_spec='${wl}-z ${wl}allextract$convenience ${wl}-z ${wl}defaultextract'
9286 whole_archive_flag_spec='-z allextract$convenience -z defaultextract'
9290 link_all_deplibs=yes
9294 if test "x$host_vendor" = xsequent; then
9295 # Use $CC to link under sequent, because it throws in some extra .o
9296 # files that make .init and .fini sections work.
9297 archive_cmds='$CC -G ${wl}-h $soname -o $lib $libobjs $deplibs $compiler_flags'
9299 archive_cmds='$LD -assert pure-text -Bstatic -o $lib $libobjs $deplibs $linker_flags'
9301 hardcode_libdir_flag_spec='-L$libdir'
9303 hardcode_minus_L=yes
9304 hardcode_shlibpath_var=no
9308 case $host_vendor in
9310 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
9311 hardcode_direct=yes # is this really true???
9314 ## LD is ld it makes a PLAMLIB
9315 ## CC just makes a GrossModule.
9316 archive_cmds='$LD -G -o $lib $libobjs $deplibs $linker_flags'
9317 reload_cmds='$CC -r -o $output$reload_objs'
9321 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
9322 hardcode_direct=no #Motorola manual says yes, but my tests say they lie
9325 runpath_var='LD_RUN_PATH'
9326 hardcode_shlibpath_var=no
9330 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
9331 hardcode_shlibpath_var=no
9332 export_dynamic_flag_spec='-Bexport'
9336 if test -d /usr/nec; then
9337 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
9338 hardcode_shlibpath_var=no
9339 runpath_var=LD_RUN_PATH
9340 hardcode_runpath_var=yes
9345 sysv4*uw2* | sysv5OpenUNIX* | sysv5UnixWare7.[01].[10]* | unixware7* | sco3.2v5.0.[024]*)
9346 no_undefined_flag='${wl}-z,text'
9347 archive_cmds_need_lc=no
9348 hardcode_shlibpath_var=no
9349 runpath_var='LD_RUN_PATH'
9351 if test "$GCC" = yes; then
9352 archive_cmds='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
9353 archive_expsym_cmds='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
9355 archive_cmds='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
9356 archive_expsym_cmds='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
9360 sysv5* | sco3.2v5* | sco5v6*)
9361 # Note: We can NOT use -z defs as we might desire, because we do not
9362 # link with -lc, and that would cause any symbols used from libc to
9363 # always be unresolved, which means just about no library would
9364 # ever link correctly. If we're not using GNU ld we use -z text
9365 # though, which does catch some bad symbols but isn't as heavy-handed
9367 no_undefined_flag='${wl}-z,text'
9368 allow_undefined_flag='${wl}-z,nodefs'
9369 archive_cmds_need_lc=no
9370 hardcode_shlibpath_var=no
9371 hardcode_libdir_flag_spec='${wl}-R,$libdir'
9372 hardcode_libdir_separator=':'
9373 link_all_deplibs=yes
9374 export_dynamic_flag_spec='${wl}-Bexport'
9375 runpath_var='LD_RUN_PATH'
9377 if test "$GCC" = yes; then
9378 archive_cmds='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
9379 archive_expsym_cmds='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
9381 archive_cmds='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
9382 archive_expsym_cmds='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
9387 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
9388 hardcode_libdir_flag_spec='-L$libdir'
9389 hardcode_shlibpath_var=no
9397 if test x$host_vendor = xsni; then
9399 sysv4 | sysv4.2uw2* | sysv4.3* | sysv5*)
9400 export_dynamic_flag_spec='${wl}-Blargedynsym'
9406 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ld_shlibs" >&5
9407 $as_echo "$ld_shlibs" >&6; }
9408 test "$ld_shlibs" = no && can_build_shared=no
9410 with_gnu_ld=$with_gnu_ld
9427 # Do we need to explicitly link libc?
9429 case "x$archive_cmds_need_lc" in
9431 # Assume -lc should be added
9432 archive_cmds_need_lc=yes
9434 if test "$enable_shared" = yes && test "$GCC" = yes; then
9435 case $archive_cmds in
9437 # FIXME: we may have to deal with multi-command sequences.
9440 # Test whether the compiler implicitly links with -lc since on some
9441 # systems, -lgcc has to come before -lc. If gcc already passes -lc
9442 # to ld, don't add -lc before -lgcc.
9443 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether -lc should be explicitly linked in" >&5
9444 $as_echo_n "checking whether -lc should be explicitly linked in... " >&6; }
9445 if ${lt_cv_archive_cmds_need_lc+:} false; then :
9446 $as_echo_n "(cached) " >&6
9449 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
9451 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
9452 (eval $ac_compile) 2>&5
9454 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
9455 test $ac_status = 0; } 2>conftest.err; then
9458 libobjs=conftest.$ac_objext
9460 wl=$lt_prog_compiler_wl
9461 pic_flag=$lt_prog_compiler_pic
9467 lt_save_allow_undefined_flag=$allow_undefined_flag
9468 allow_undefined_flag=
9469 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$archive_cmds 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1\""; } >&5
9470 (eval $archive_cmds 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1) 2>&5
9472 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
9473 test $ac_status = 0; }
9475 lt_cv_archive_cmds_need_lc=no
9477 lt_cv_archive_cmds_need_lc=yes
9479 allow_undefined_flag=$lt_save_allow_undefined_flag
9481 cat conftest.err 1>&5
9486 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_archive_cmds_need_lc" >&5
9487 $as_echo "$lt_cv_archive_cmds_need_lc" >&6; }
9488 archive_cmds_need_lc=$lt_cv_archive_cmds_need_lc
9646 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dynamic linker characteristics" >&5
9647 $as_echo_n "checking dynamic linker characteristics... " >&6; }
9649 if test "$GCC" = yes; then
9651 darwin*) lt_awk_arg="/^libraries:/,/LR/" ;;
9652 *) lt_awk_arg="/^libraries:/" ;;
9655 mingw* | cegcc*) lt_sed_strip_eq="s,=\([A-Za-z]:\),\1,g" ;;
9656 *) lt_sed_strip_eq="s,=/,/,g" ;;
9658 lt_search_path_spec=`$CC -print-search-dirs | awk $lt_awk_arg | $SED -e "s/^libraries://" -e $lt_sed_strip_eq`
9659 case $lt_search_path_spec in
9661 # if the path contains ";" then we assume it to be the separator
9662 # otherwise default to the standard path separator (i.e. ":") - it is
9663 # assumed that no part of a normal pathname contains ";" but that should
9664 # okay in the real world where ";" in dirpaths is itself problematic.
9665 lt_search_path_spec=`$ECHO "$lt_search_path_spec" | $SED 's/;/ /g'`
9668 lt_search_path_spec=`$ECHO "$lt_search_path_spec" | $SED "s/$PATH_SEPARATOR/ /g"`
9671 # Ok, now we have the path, separated by spaces, we can step through it
9672 # and add multilib dir if necessary.
9673 lt_tmp_lt_search_path_spec=
9674 lt_multi_os_dir=`$CC $CPPFLAGS $CFLAGS $LDFLAGS -print-multi-os-directory 2>/dev/null`
9675 for lt_sys_path in $lt_search_path_spec; do
9676 if test -d "$lt_sys_path/$lt_multi_os_dir"; then
9677 lt_tmp_lt_search_path_spec="$lt_tmp_lt_search_path_spec $lt_sys_path/$lt_multi_os_dir"
9679 test -d "$lt_sys_path" && \
9680 lt_tmp_lt_search_path_spec="$lt_tmp_lt_search_path_spec $lt_sys_path"
9683 lt_search_path_spec=`$ECHO "$lt_tmp_lt_search_path_spec" | awk '
9684 BEGIN {RS=" "; FS="/|\n";} {
9687 for (lt_i = NF; lt_i > 0; lt_i--) {
9688 if ($lt_i != "" && $lt_i != ".") {
9689 if ($lt_i == "..") {
9692 if (lt_count == 0) {
9693 lt_foo="/" $lt_i lt_foo;
9700 if (lt_foo != "") { lt_freq[lt_foo]++; }
9701 if (lt_freq[lt_foo] == 1) { print lt_foo; }
9703 # AWK program above erroneously prepends '/' to C:/dos/paths
9706 mingw* | cegcc*) lt_search_path_spec=`$ECHO "$lt_search_path_spec" |\
9707 $SED 's,/\([A-Za-z]:\),\1,g'` ;;
9709 sys_lib_search_path_spec=`$ECHO "$lt_search_path_spec" | $lt_NL2SP`
9711 sys_lib_search_path_spec="/lib /usr/lib /usr/local/lib"
9714 libname_spec='lib$name'
9722 shlibpath_overrides_runpath=unknown
9724 dynamic_linker="$host_os ld.so"
9725 sys_lib_dlsearch_path_spec="/lib /usr/lib"
9726 need_lib_prefix=unknown
9727 hardcode_into_libs=no
9729 # when you set need_version to no, make sure it does not cause -set_version
9730 # flags to be left without arguments
9731 need_version=unknown
9735 version_type=linux # correct to gnu/linux during the next big refactor
9736 library_names_spec='${libname}${release}${shared_ext}$versuffix $libname.a'
9737 shlibpath_var=LIBPATH
9739 # AIX 3 has no versioning support, so we append a major version to the name.
9740 soname_spec='${libname}${release}${shared_ext}$major'
9744 version_type=linux # correct to gnu/linux during the next big refactor
9747 hardcode_into_libs=yes
9748 if test "$host_cpu" = ia64; then
9749 # AIX 5 supports IA64
9750 library_names_spec='${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext}$versuffix $libname${shared_ext}'
9751 shlibpath_var=LD_LIBRARY_PATH
9753 # With GCC up to 2.95.x, collect2 would create an import file
9754 # for dependence libraries. The import file would start with
9755 # the line `#! .'. This would cause the generated library to
9756 # depend on `.', always an invalid library. This was fixed in
9757 # development snapshots of GCC prior to 3.0.
9759 aix4 | aix4.[01] | aix4.[01].*)
9760 if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
9762 echo '#endif'; } | ${CC} -E - | $GREP yes > /dev/null; then
9769 # AIX (on Power*) has no versioning support, so currently we can not hardcode correct
9770 # soname into executable. Probably we can add versioning support to
9771 # collect2, so additional links can be useful in future.
9772 if test "$aix_use_runtimelinking" = yes; then
9773 # If using run time linking (on AIX 4.2 or later) use lib<name>.so
9774 # instead of lib<name>.a to let people know that these are not
9775 # typical AIX shared libraries.
9776 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
9778 # We preserve .a as extension for shared libraries through AIX4.2
9779 # and later when we are not doing run time linking.
9780 library_names_spec='${libname}${release}.a $libname.a'
9781 soname_spec='${libname}${release}${shared_ext}$major'
9783 shlibpath_var=LIBPATH
9790 # Since July 2007 AmigaOS4 officially supports .so libraries.
9791 # When compiling the executable, add -use-dynld -Lsobjs: to the compileline.
9792 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
9795 library_names_spec='$libname.ixlibrary $libname.a'
9796 # Create ${libname}_ixlibrary.a entries in /sys/libs.
9797 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'
9803 library_names_spec='${libname}${shared_ext}'
9804 dynamic_linker="$host_os ld.so"
9805 shlibpath_var=LIBRARY_PATH
9809 version_type=linux # correct to gnu/linux during the next big refactor
9811 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
9812 soname_spec='${libname}${release}${shared_ext}$major'
9813 finish_cmds='PATH="\$PATH:/sbin" ldconfig $libdir'
9814 shlibpath_var=LD_LIBRARY_PATH
9815 sys_lib_search_path_spec="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
9816 sys_lib_dlsearch_path_spec="/shlib /usr/lib /usr/local/lib"
9817 # the default ld.so.conf also contains /usr/contrib/lib and
9818 # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
9819 # libtool to hard-code these into programs
9822 cygwin* | mingw* | pw32* | cegcc*)
9823 version_type=windows
9828 case $GCC,$cc_basename in
9831 library_names_spec='$libname.dll.a'
9832 # DLL is installed to $(libdir)/../bin by postinstall_cmds
9833 postinstall_cmds='base_file=`basename \${file}`~
9834 dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i; echo \$dlname'\''`~
9835 dldir=$destdir/`dirname \$dlpath`~
9836 test -d \$dldir || mkdir -p \$dldir~
9837 $install_prog $dir/$dlname \$dldir/$dlname~
9838 chmod a+x \$dldir/$dlname~
9839 if test -n '\''$stripme'\'' && test -n '\''$striplib'\''; then
9840 eval '\''$striplib \$dldir/$dlname'\'' || exit \$?;
9842 postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
9843 dlpath=$dir/\$dldll~
9845 shlibpath_overrides_runpath=yes
9849 # Cygwin DLLs use 'cyg' prefix rather than 'lib'
9850 soname_spec='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
9852 sys_lib_search_path_spec="$sys_lib_search_path_spec /usr/lib/w32api"
9855 # MinGW DLLs use traditional 'lib' prefix
9856 soname_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
9859 # pw32 DLLs use 'pw' prefix rather than 'lib'
9860 library_names_spec='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
9863 dynamic_linker='Win32 ld.exe'
9868 libname_spec='$name'
9869 soname_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
9870 library_names_spec='${libname}.dll.lib'
9874 sys_lib_search_path_spec=
9880 # Let DOS variable expansion print the short 8.3 style file name.
9881 lt_path=`cd "$lt_path" 2>/dev/null && cmd //C "for %i in (".") do @echo %~si"`
9882 sys_lib_search_path_spec="$sys_lib_search_path_spec $lt_path"
9885 # Convert to MSYS style.
9886 sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | sed -e 's|\\\\|/|g' -e 's| \\([a-zA-Z]\\):| /\\1|g' -e 's|^ ||'`
9889 # Convert to unix form, then to dos form, then back to unix form
9890 # but this time dos style (no spaces!) so that the unix form looks
9891 # like /cygdrive/c/PROGRA~1:/cygdr...
9892 sys_lib_search_path_spec=`cygpath --path --unix "$LIB"`
9893 sys_lib_search_path_spec=`cygpath --path --dos "$sys_lib_search_path_spec" 2>/dev/null`
9894 sys_lib_search_path_spec=`cygpath --path --unix "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
9897 sys_lib_search_path_spec="$LIB"
9898 if $ECHO "$sys_lib_search_path_spec" | $GREP ';[c-zC-Z]:/' >/dev/null; then
9899 # It is most probably a Windows format PATH.
9900 sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
9902 sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
9904 # FIXME: find the short name or the path components, as spaces are
9905 # common. (e.g. "Program Files" -> "PROGRA~1")
9909 # DLL is installed to $(libdir)/../bin by postinstall_cmds
9910 postinstall_cmds='base_file=`basename \${file}`~
9911 dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i; echo \$dlname'\''`~
9912 dldir=$destdir/`dirname \$dlpath`~
9913 test -d \$dldir || mkdir -p \$dldir~
9914 $install_prog $dir/$dlname \$dldir/$dlname'
9915 postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
9916 dlpath=$dir/\$dldll~
9918 shlibpath_overrides_runpath=yes
9919 dynamic_linker='Win32 link.exe'
9923 # Assume MSVC wrapper
9924 library_names_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext} $libname.lib'
9925 dynamic_linker='Win32 ld.exe'
9928 # FIXME: first we should search . and the directory the executable is in
9932 darwin* | rhapsody*)
9933 dynamic_linker="$host_os dyld"
9937 library_names_spec='${libname}${release}${major}$shared_ext ${libname}$shared_ext'
9938 soname_spec='${libname}${release}${major}$shared_ext'
9939 shlibpath_overrides_runpath=yes
9940 shlibpath_var=DYLD_LIBRARY_PATH
9941 shrext_cmds='`test .$module = .yes && echo .so || echo .dylib`'
9943 sys_lib_search_path_spec="$sys_lib_search_path_spec /usr/local/lib"
9944 sys_lib_dlsearch_path_spec='/usr/local/lib /lib /usr/lib'
9948 version_type=linux # correct to gnu/linux during the next big refactor
9951 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname$shared_ext'
9952 soname_spec='${libname}${release}${shared_ext}$major'
9953 shlibpath_var=LD_LIBRARY_PATH
9956 freebsd* | dragonfly*)
9957 # DragonFly does not have aout. When/if they implement a new
9958 # versioning mechanism, adjust this.
9959 if test -x /usr/bin/objformat; then
9960 objformat=`/usr/bin/objformat`
9963 freebsd[23].*) objformat=aout ;;
9967 version_type=freebsd-$objformat
9968 case $version_type in
9970 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
9975 library_names_spec='${libname}${release}${shared_ext}$versuffix $libname${shared_ext}$versuffix'
9979 shlibpath_var=LD_LIBRARY_PATH
9982 shlibpath_overrides_runpath=yes
9984 freebsd3.[01]* | freebsdelf3.[01]*)
9985 shlibpath_overrides_runpath=yes
9986 hardcode_into_libs=yes
9988 freebsd3.[2-9]* | freebsdelf3.[2-9]* | \
9989 freebsd4.[0-5] | freebsdelf4.[0-5] | freebsd4.1.1 | freebsdelf4.1.1)
9990 shlibpath_overrides_runpath=no
9991 hardcode_into_libs=yes
9993 *) # from 4.6 on, and DragonFly
9994 shlibpath_overrides_runpath=yes
9995 hardcode_into_libs=yes
10001 version_type=linux # correct to gnu/linux during the next big refactor
10004 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
10005 soname_spec='${libname}${release}${shared_ext}$major'
10006 shlibpath_var=LD_LIBRARY_PATH
10007 shlibpath_overrides_runpath=no
10008 hardcode_into_libs=yes
10012 version_type=linux # correct to gnu/linux during the next big refactor
10015 dynamic_linker="$host_os runtime_loader"
10016 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
10017 soname_spec='${libname}${release}${shared_ext}$major'
10018 shlibpath_var=LIBRARY_PATH
10019 shlibpath_overrides_runpath=yes
10020 sys_lib_dlsearch_path_spec='/boot/home/config/lib /boot/common/lib /boot/system/lib'
10021 hardcode_into_libs=yes
10024 hpux9* | hpux10* | hpux11*)
10025 # Give a soname corresponding to the major version so that dld.sl refuses to
10026 # link against other versions.
10033 hardcode_into_libs=yes
10034 dynamic_linker="$host_os dld.so"
10035 shlibpath_var=LD_LIBRARY_PATH
10036 shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
10037 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10038 soname_spec='${libname}${release}${shared_ext}$major'
10039 if test "X$HPUX_IA64_MODE" = X32; then
10040 sys_lib_search_path_spec="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
10042 sys_lib_search_path_spec="/usr/lib/hpux64 /usr/local/lib/hpux64"
10044 sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
10048 hardcode_into_libs=yes
10049 dynamic_linker="$host_os dld.sl"
10050 shlibpath_var=LD_LIBRARY_PATH # How should we handle SHLIB_PATH
10051 shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
10052 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10053 soname_spec='${libname}${release}${shared_ext}$major'
10054 sys_lib_search_path_spec="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
10055 sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
10059 dynamic_linker="$host_os dld.sl"
10060 shlibpath_var=SHLIB_PATH
10061 shlibpath_overrides_runpath=no # +s is required to enable SHLIB_PATH
10062 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10063 soname_spec='${libname}${release}${shared_ext}$major'
10066 # HP-UX runs *really* slowly unless shared libraries are mode 555, ...
10067 postinstall_cmds='chmod 555 $lib'
10068 # or fails outright, so override atomically:
10069 install_override_mode=555
10073 version_type=linux # correct to gnu/linux during the next big refactor
10076 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
10077 soname_spec='${libname}${release}${shared_ext}$major'
10078 dynamic_linker='Interix 3.x ld.so.1 (PE, like ELF)'
10079 shlibpath_var=LD_LIBRARY_PATH
10080 shlibpath_overrides_runpath=no
10081 hardcode_into_libs=yes
10084 irix5* | irix6* | nonstopux*)
10086 nonstopux*) version_type=nonstopux ;;
10088 if test "$lt_cv_prog_gnu_ld" = yes; then
10089 version_type=linux # correct to gnu/linux during the next big refactor
10096 soname_spec='${libname}${release}${shared_ext}$major'
10097 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} $libname${shared_ext}'
10099 irix5* | nonstopux*)
10100 libsuff= shlibsuff=
10103 case $LD in # libtool.m4 will add one of these switches to LD
10104 *-32|*"-32 "|*-melf32bsmip|*"-melf32bsmip ")
10105 libsuff= shlibsuff= libmagic=32-bit;;
10106 *-n32|*"-n32 "|*-melf32bmipn32|*"-melf32bmipn32 ")
10107 libsuff=32 shlibsuff=N32 libmagic=N32;;
10108 *-64|*"-64 "|*-melf64bmip|*"-melf64bmip ")
10109 libsuff=64 shlibsuff=64 libmagic=64-bit;;
10110 *) libsuff= shlibsuff= libmagic=never-match;;
10114 shlibpath_var=LD_LIBRARY${shlibsuff}_PATH
10115 shlibpath_overrides_runpath=no
10116 sys_lib_search_path_spec="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}"
10117 sys_lib_dlsearch_path_spec="/usr/lib${libsuff} /lib${libsuff}"
10118 hardcode_into_libs=yes
10121 # No shared lib support for Linux oldld, aout, or coff.
10122 linux*oldld* | linux*aout* | linux*coff*)
10126 # This must be glibc/ELF.
10127 linux* | k*bsd*-gnu | kopensolaris*-gnu)
10128 version_type=linux # correct to gnu/linux during the next big refactor
10131 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10132 soname_spec='${libname}${release}${shared_ext}$major'
10133 finish_cmds='PATH="\$PATH:/sbin" ldconfig -n $libdir'
10134 shlibpath_var=LD_LIBRARY_PATH
10135 shlibpath_overrides_runpath=no
10137 # Some binutils ld are patched to set DT_RUNPATH
10138 if ${lt_cv_shlibpath_overrides_runpath+:} false; then :
10139 $as_echo_n "(cached) " >&6
10141 lt_cv_shlibpath_overrides_runpath=no
10142 save_LDFLAGS=$LDFLAGS
10143 save_libdir=$libdir
10144 eval "libdir=/foo; wl=\"$lt_prog_compiler_wl\"; \
10145 LDFLAGS=\"\$LDFLAGS $hardcode_libdir_flag_spec\""
10146 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10147 /* end confdefs.h. */
10157 if ac_fn_c_try_link "$LINENO"; then :
10158 if ($OBJDUMP -p conftest$ac_exeext) 2>/dev/null | grep "RUNPATH.*$libdir" >/dev/null; then :
10159 lt_cv_shlibpath_overrides_runpath=yes
10162 rm -f core conftest.err conftest.$ac_objext \
10163 conftest$ac_exeext conftest.$ac_ext
10164 LDFLAGS=$save_LDFLAGS
10165 libdir=$save_libdir
10169 shlibpath_overrides_runpath=$lt_cv_shlibpath_overrides_runpath
10171 # This implies no fast_install, which is unacceptable.
10172 # Some rework will be needed to allow for fast_install
10173 # before this can be enabled.
10174 hardcode_into_libs=yes
10176 # Append ld.so.conf contents to the search path
10177 if test -f /etc/ld.so.conf; then
10178 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' ' '`
10179 sys_lib_dlsearch_path_spec="/lib /usr/lib $lt_ld_extra"
10182 # We used to test for /lib/ld.so.1 and disable shared libraries on
10183 # powerpc, because MkLinux only supported shared libraries with the
10184 # GNU dynamic linker. Since this was broken with cross compilers,
10185 # most powerpc-linux boxes support dynamic linking these days and
10186 # people can always --disable-shared, the test was removed, and we
10187 # assume the GNU/Linux dynamic linker is in use.
10188 dynamic_linker='GNU/Linux ld.so'
10195 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
10196 soname_spec='${libname}${release}${shared_ext}$major'
10197 shlibpath_var=LD_LIBRARY_PATH
10198 shlibpath_overrides_runpath=no
10199 hardcode_into_libs=yes
10200 dynamic_linker='NetBSD ld.elf_so'
10207 if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
10208 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
10209 finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
10210 dynamic_linker='NetBSD (a.out) ld.so'
10212 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
10213 soname_spec='${libname}${release}${shared_ext}$major'
10214 dynamic_linker='NetBSD ld.elf_so'
10216 shlibpath_var=LD_LIBRARY_PATH
10217 shlibpath_overrides_runpath=yes
10218 hardcode_into_libs=yes
10222 version_type=linux # correct to gnu/linux during the next big refactor
10223 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10224 shlibpath_var=LD_LIBRARY_PATH
10225 shlibpath_overrides_runpath=yes
10232 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10233 soname_spec='${libname}${release}${shared_ext}$major'
10234 shlibpath_var=LD_LIBRARY_PATH
10235 shlibpath_overrides_runpath=no
10236 hardcode_into_libs=yes
10237 dynamic_linker='ldqnx.so'
10242 sys_lib_dlsearch_path_spec="/usr/lib"
10244 # Some older versions of OpenBSD (3.3 at least) *do* need versioned libs.
10246 openbsd3.3 | openbsd3.3.*) need_version=yes ;;
10247 *) need_version=no ;;
10249 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
10250 finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
10251 shlibpath_var=LD_LIBRARY_PATH
10252 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
10254 openbsd2.[89] | openbsd2.[89].*)
10255 shlibpath_overrides_runpath=no
10258 shlibpath_overrides_runpath=yes
10262 shlibpath_overrides_runpath=yes
10267 libname_spec='$name'
10270 library_names_spec='$libname${shared_ext} $libname.a'
10271 dynamic_linker='OS/2 ld.exe'
10272 shlibpath_var=LIBPATH
10275 osf3* | osf4* | osf5*)
10279 soname_spec='${libname}${release}${shared_ext}$major'
10280 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10281 shlibpath_var=LD_LIBRARY_PATH
10282 sys_lib_search_path_spec="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
10283 sys_lib_dlsearch_path_spec="$sys_lib_search_path_spec"
10291 version_type=linux # correct to gnu/linux during the next big refactor
10294 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10295 soname_spec='${libname}${release}${shared_ext}$major'
10296 shlibpath_var=LD_LIBRARY_PATH
10297 shlibpath_overrides_runpath=yes
10298 hardcode_into_libs=yes
10299 # ldd complains unless libraries are executable
10300 postinstall_cmds='chmod +x $lib'
10305 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
10306 finish_cmds='PATH="\$PATH:/usr/etc" ldconfig $libdir'
10307 shlibpath_var=LD_LIBRARY_PATH
10308 shlibpath_overrides_runpath=yes
10309 if test "$with_gnu_ld" = yes; then
10316 version_type=linux # correct to gnu/linux during the next big refactor
10317 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10318 soname_spec='${libname}${release}${shared_ext}$major'
10319 shlibpath_var=LD_LIBRARY_PATH
10320 case $host_vendor in
10322 shlibpath_overrides_runpath=no
10324 runpath_var=LD_RUN_PATH
10332 shlibpath_overrides_runpath=no
10333 sys_lib_search_path_spec='/lib /usr/lib /usr/ccs/lib'
10339 if test -d /usr/nec ;then
10340 version_type=linux # correct to gnu/linux during the next big refactor
10341 library_names_spec='$libname${shared_ext}.$versuffix $libname${shared_ext}.$major $libname${shared_ext}'
10342 soname_spec='$libname${shared_ext}.$major'
10343 shlibpath_var=LD_LIBRARY_PATH
10347 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
10348 version_type=freebsd-elf
10351 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
10352 soname_spec='${libname}${release}${shared_ext}$major'
10353 shlibpath_var=LD_LIBRARY_PATH
10354 shlibpath_overrides_runpath=yes
10355 hardcode_into_libs=yes
10356 if test "$with_gnu_ld" = yes; then
10357 sys_lib_search_path_spec='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib'
10359 sys_lib_search_path_spec='/usr/ccs/lib /usr/lib'
10362 sys_lib_search_path_spec="$sys_lib_search_path_spec /lib"
10366 sys_lib_dlsearch_path_spec='/usr/lib'
10370 # TPF is a cross-target only. Preferred cross-host = GNU/Linux.
10371 version_type=linux # correct to gnu/linux during the next big refactor
10374 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10375 shlibpath_var=LD_LIBRARY_PATH
10376 shlibpath_overrides_runpath=no
10377 hardcode_into_libs=yes
10381 version_type=linux # correct to gnu/linux during the next big refactor
10382 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10383 soname_spec='${libname}${release}${shared_ext}$major'
10384 shlibpath_var=LD_LIBRARY_PATH
10391 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $dynamic_linker" >&5
10392 $as_echo "$dynamic_linker" >&6; }
10393 test "$dynamic_linker" = no && can_build_shared=no
10395 variables_saved_for_relink="PATH $shlibpath_var $runpath_var"
10396 if test "$GCC" = yes; then
10397 variables_saved_for_relink="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
10400 if test "${lt_cv_sys_lib_search_path_spec+set}" = set; then
10401 sys_lib_search_path_spec="$lt_cv_sys_lib_search_path_spec"
10403 if test "${lt_cv_sys_lib_dlsearch_path_spec+set}" = set; then
10404 sys_lib_dlsearch_path_spec="$lt_cv_sys_lib_dlsearch_path_spec"
10498 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to hardcode library paths into programs" >&5
10499 $as_echo_n "checking how to hardcode library paths into programs... " >&6; }
10501 if test -n "$hardcode_libdir_flag_spec" ||
10502 test -n "$runpath_var" ||
10503 test "X$hardcode_automatic" = "Xyes" ; then
10505 # We can hardcode non-existent directories.
10506 if test "$hardcode_direct" != no &&
10507 # If the only mechanism to avoid hardcoding is shlibpath_var, we
10508 # have to relink, otherwise we might link with an installed library
10509 # when we should be linking with a yet-to-be-installed one
10510 ## test "$_LT_TAGVAR(hardcode_shlibpath_var, )" != no &&
10511 test "$hardcode_minus_L" != no; then
10512 # Linking always hardcodes the temporary library directory.
10513 hardcode_action=relink
10515 # We can link without hardcoding, and we can hardcode nonexisting dirs.
10516 hardcode_action=immediate
10519 # We cannot hardcode anything, or else we can only hardcode existing
10521 hardcode_action=unsupported
10523 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hardcode_action" >&5
10524 $as_echo "$hardcode_action" >&6; }
10526 if test "$hardcode_action" = relink ||
10527 test "$inherit_rpath" = yes; then
10528 # Fast installation is not supported
10529 enable_fast_install=no
10530 elif test "$shlibpath_overrides_runpath" = yes ||
10531 test "$enable_shared" = no; then
10532 # Fast installation is not necessary
10533 enable_fast_install=needless
10541 if test "x$enable_dlopen" != xyes; then
10542 enable_dlopen=unknown
10543 enable_dlopen_self=unknown
10544 enable_dlopen_self_static=unknown
10551 lt_cv_dlopen="load_add_on"
10553 lt_cv_dlopen_self=yes
10556 mingw* | pw32* | cegcc*)
10557 lt_cv_dlopen="LoadLibrary"
10562 lt_cv_dlopen="dlopen"
10567 # if libdl is installed we need to link against it
10568 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
10569 $as_echo_n "checking for dlopen in -ldl... " >&6; }
10570 if ${ac_cv_lib_dl_dlopen+:} false; then :
10571 $as_echo_n "(cached) " >&6
10573 ac_check_lib_save_LIBS=$LIBS
10575 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10576 /* end confdefs.h. */
10578 /* Override any GCC internal prototype to avoid an error.
10579 Use char because int might match the return type of a GCC
10580 builtin and then its argument prototype would still apply. */
10593 if ac_fn_c_try_link "$LINENO"; then :
10594 ac_cv_lib_dl_dlopen=yes
10596 ac_cv_lib_dl_dlopen=no
10598 rm -f core conftest.err conftest.$ac_objext \
10599 conftest$ac_exeext conftest.$ac_ext
10600 LIBS=$ac_check_lib_save_LIBS
10602 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
10603 $as_echo "$ac_cv_lib_dl_dlopen" >&6; }
10604 if test "x$ac_cv_lib_dl_dlopen" = xyes; then :
10605 lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl"
10608 lt_cv_dlopen="dyld"
10610 lt_cv_dlopen_self=yes
10617 ac_fn_c_check_func "$LINENO" "shl_load" "ac_cv_func_shl_load"
10618 if test "x$ac_cv_func_shl_load" = xyes; then :
10619 lt_cv_dlopen="shl_load"
10621 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for shl_load in -ldld" >&5
10622 $as_echo_n "checking for shl_load in -ldld... " >&6; }
10623 if ${ac_cv_lib_dld_shl_load+:} false; then :
10624 $as_echo_n "(cached) " >&6
10626 ac_check_lib_save_LIBS=$LIBS
10628 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10629 /* end confdefs.h. */
10631 /* Override any GCC internal prototype to avoid an error.
10632 Use char because int might match the return type of a GCC
10633 builtin and then its argument prototype would still apply. */
10641 return shl_load ();
10646 if ac_fn_c_try_link "$LINENO"; then :
10647 ac_cv_lib_dld_shl_load=yes
10649 ac_cv_lib_dld_shl_load=no
10651 rm -f core conftest.err conftest.$ac_objext \
10652 conftest$ac_exeext conftest.$ac_ext
10653 LIBS=$ac_check_lib_save_LIBS
10655 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_shl_load" >&5
10656 $as_echo "$ac_cv_lib_dld_shl_load" >&6; }
10657 if test "x$ac_cv_lib_dld_shl_load" = xyes; then :
10658 lt_cv_dlopen="shl_load" lt_cv_dlopen_libs="-ldld"
10660 ac_fn_c_check_func "$LINENO" "dlopen" "ac_cv_func_dlopen"
10661 if test "x$ac_cv_func_dlopen" = xyes; then :
10662 lt_cv_dlopen="dlopen"
10664 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
10665 $as_echo_n "checking for dlopen in -ldl... " >&6; }
10666 if ${ac_cv_lib_dl_dlopen+:} false; then :
10667 $as_echo_n "(cached) " >&6
10669 ac_check_lib_save_LIBS=$LIBS
10671 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10672 /* end confdefs.h. */
10674 /* Override any GCC internal prototype to avoid an error.
10675 Use char because int might match the return type of a GCC
10676 builtin and then its argument prototype would still apply. */
10689 if ac_fn_c_try_link "$LINENO"; then :
10690 ac_cv_lib_dl_dlopen=yes
10692 ac_cv_lib_dl_dlopen=no
10694 rm -f core conftest.err conftest.$ac_objext \
10695 conftest$ac_exeext conftest.$ac_ext
10696 LIBS=$ac_check_lib_save_LIBS
10698 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
10699 $as_echo "$ac_cv_lib_dl_dlopen" >&6; }
10700 if test "x$ac_cv_lib_dl_dlopen" = xyes; then :
10701 lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl"
10703 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -lsvld" >&5
10704 $as_echo_n "checking for dlopen in -lsvld... " >&6; }
10705 if ${ac_cv_lib_svld_dlopen+:} false; then :
10706 $as_echo_n "(cached) " >&6
10708 ac_check_lib_save_LIBS=$LIBS
10709 LIBS="-lsvld $LIBS"
10710 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10711 /* end confdefs.h. */
10713 /* Override any GCC internal prototype to avoid an error.
10714 Use char because int might match the return type of a GCC
10715 builtin and then its argument prototype would still apply. */
10728 if ac_fn_c_try_link "$LINENO"; then :
10729 ac_cv_lib_svld_dlopen=yes
10731 ac_cv_lib_svld_dlopen=no
10733 rm -f core conftest.err conftest.$ac_objext \
10734 conftest$ac_exeext conftest.$ac_ext
10735 LIBS=$ac_check_lib_save_LIBS
10737 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_svld_dlopen" >&5
10738 $as_echo "$ac_cv_lib_svld_dlopen" >&6; }
10739 if test "x$ac_cv_lib_svld_dlopen" = xyes; then :
10740 lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-lsvld"
10742 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dld_link in -ldld" >&5
10743 $as_echo_n "checking for dld_link in -ldld... " >&6; }
10744 if ${ac_cv_lib_dld_dld_link+:} false; then :
10745 $as_echo_n "(cached) " >&6
10747 ac_check_lib_save_LIBS=$LIBS
10749 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10750 /* end confdefs.h. */
10752 /* Override any GCC internal prototype to avoid an error.
10753 Use char because int might match the return type of a GCC
10754 builtin and then its argument prototype would still apply. */
10762 return dld_link ();
10767 if ac_fn_c_try_link "$LINENO"; then :
10768 ac_cv_lib_dld_dld_link=yes
10770 ac_cv_lib_dld_dld_link=no
10772 rm -f core conftest.err conftest.$ac_objext \
10773 conftest$ac_exeext conftest.$ac_ext
10774 LIBS=$ac_check_lib_save_LIBS
10776 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_dld_link" >&5
10777 $as_echo "$ac_cv_lib_dld_dld_link" >&6; }
10778 if test "x$ac_cv_lib_dld_dld_link" = xyes; then :
10779 lt_cv_dlopen="dld_link" lt_cv_dlopen_libs="-ldld"
10800 if test "x$lt_cv_dlopen" != xno; then
10806 case $lt_cv_dlopen in
10808 save_CPPFLAGS="$CPPFLAGS"
10809 test "x$ac_cv_header_dlfcn_h" = xyes && CPPFLAGS="$CPPFLAGS -DHAVE_DLFCN_H"
10811 save_LDFLAGS="$LDFLAGS"
10812 wl=$lt_prog_compiler_wl eval LDFLAGS=\"\$LDFLAGS $export_dynamic_flag_spec\"
10815 LIBS="$lt_cv_dlopen_libs $LIBS"
10817 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether a program can dlopen itself" >&5
10818 $as_echo_n "checking whether a program can dlopen itself... " >&6; }
10819 if ${lt_cv_dlopen_self+:} false; then :
10820 $as_echo_n "(cached) " >&6
10822 if test "$cross_compiling" = yes; then :
10823 lt_cv_dlopen_self=cross
10825 lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
10826 lt_status=$lt_dlunknown
10827 cat > conftest.$ac_ext <<_LT_EOF
10828 #line $LINENO "configure"
10829 #include "confdefs.h"
10838 # define LT_DLGLOBAL RTLD_GLOBAL
10841 # define LT_DLGLOBAL DL_GLOBAL
10843 # define LT_DLGLOBAL 0
10847 /* We may have to define LT_DLLAZY_OR_NOW in the command line if we
10848 find out it does not work in some platform. */
10849 #ifndef LT_DLLAZY_OR_NOW
10851 # define LT_DLLAZY_OR_NOW RTLD_LAZY
10854 # define LT_DLLAZY_OR_NOW DL_LAZY
10857 # define LT_DLLAZY_OR_NOW RTLD_NOW
10860 # define LT_DLLAZY_OR_NOW DL_NOW
10862 # define LT_DLLAZY_OR_NOW 0
10869 /* When -fvisbility=hidden is used, assume the code has been annotated
10870 correspondingly for the symbols needed. */
10871 #if defined(__GNUC__) && (((__GNUC__ == 3) && (__GNUC_MINOR__ >= 3)) || (__GNUC__ > 3))
10872 int fnord () __attribute__((visibility("default")));
10875 int fnord () { return 42; }
10878 void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
10879 int status = $lt_dlunknown;
10883 if (dlsym (self,"fnord")) status = $lt_dlno_uscore;
10886 if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
10887 else puts (dlerror ());
10889 /* dlclose (self); */
10897 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
10898 (eval $ac_link) 2>&5
10900 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
10901 test $ac_status = 0; } && test -s conftest${ac_exeext} 2>/dev/null; then
10902 (./conftest; exit; ) >&5 2>/dev/null
10904 case x$lt_status in
10905 x$lt_dlno_uscore) lt_cv_dlopen_self=yes ;;
10906 x$lt_dlneed_uscore) lt_cv_dlopen_self=yes ;;
10907 x$lt_dlunknown|x*) lt_cv_dlopen_self=no ;;
10910 # compilation failed
10911 lt_cv_dlopen_self=no
10918 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_dlopen_self" >&5
10919 $as_echo "$lt_cv_dlopen_self" >&6; }
10921 if test "x$lt_cv_dlopen_self" = xyes; then
10922 wl=$lt_prog_compiler_wl eval LDFLAGS=\"\$LDFLAGS $lt_prog_compiler_static\"
10923 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether a statically linked program can dlopen itself" >&5
10924 $as_echo_n "checking whether a statically linked program can dlopen itself... " >&6; }
10925 if ${lt_cv_dlopen_self_static+:} false; then :
10926 $as_echo_n "(cached) " >&6
10928 if test "$cross_compiling" = yes; then :
10929 lt_cv_dlopen_self_static=cross
10931 lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
10932 lt_status=$lt_dlunknown
10933 cat > conftest.$ac_ext <<_LT_EOF
10934 #line $LINENO "configure"
10935 #include "confdefs.h"
10944 # define LT_DLGLOBAL RTLD_GLOBAL
10947 # define LT_DLGLOBAL DL_GLOBAL
10949 # define LT_DLGLOBAL 0
10953 /* We may have to define LT_DLLAZY_OR_NOW in the command line if we
10954 find out it does not work in some platform. */
10955 #ifndef LT_DLLAZY_OR_NOW
10957 # define LT_DLLAZY_OR_NOW RTLD_LAZY
10960 # define LT_DLLAZY_OR_NOW DL_LAZY
10963 # define LT_DLLAZY_OR_NOW RTLD_NOW
10966 # define LT_DLLAZY_OR_NOW DL_NOW
10968 # define LT_DLLAZY_OR_NOW 0
10975 /* When -fvisbility=hidden is used, assume the code has been annotated
10976 correspondingly for the symbols needed. */
10977 #if defined(__GNUC__) && (((__GNUC__ == 3) && (__GNUC_MINOR__ >= 3)) || (__GNUC__ > 3))
10978 int fnord () __attribute__((visibility("default")));
10981 int fnord () { return 42; }
10984 void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
10985 int status = $lt_dlunknown;
10989 if (dlsym (self,"fnord")) status = $lt_dlno_uscore;
10992 if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
10993 else puts (dlerror ());
10995 /* dlclose (self); */
11003 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
11004 (eval $ac_link) 2>&5
11006 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
11007 test $ac_status = 0; } && test -s conftest${ac_exeext} 2>/dev/null; then
11008 (./conftest; exit; ) >&5 2>/dev/null
11010 case x$lt_status in
11011 x$lt_dlno_uscore) lt_cv_dlopen_self_static=yes ;;
11012 x$lt_dlneed_uscore) lt_cv_dlopen_self_static=yes ;;
11013 x$lt_dlunknown|x*) lt_cv_dlopen_self_static=no ;;
11016 # compilation failed
11017 lt_cv_dlopen_self_static=no
11024 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_dlopen_self_static" >&5
11025 $as_echo "$lt_cv_dlopen_self_static" >&6; }
11028 CPPFLAGS="$save_CPPFLAGS"
11029 LDFLAGS="$save_LDFLAGS"
11034 case $lt_cv_dlopen_self in
11035 yes|no) enable_dlopen_self=$lt_cv_dlopen_self ;;
11036 *) enable_dlopen_self=unknown ;;
11039 case $lt_cv_dlopen_self_static in
11040 yes|no) enable_dlopen_self_static=$lt_cv_dlopen_self_static ;;
11041 *) enable_dlopen_self_static=unknown ;;
11063 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether stripping libraries is possible" >&5
11064 $as_echo_n "checking whether stripping libraries is possible... " >&6; }
11065 if test -n "$STRIP" && $STRIP -V 2>&1 | $GREP "GNU strip" >/dev/null; then
11066 test -z "$old_striplib" && old_striplib="$STRIP --strip-debug"
11067 test -z "$striplib" && striplib="$STRIP --strip-unneeded"
11068 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
11069 $as_echo "yes" >&6; }
11071 # FIXME - insert some real tests, host_os isn't really good enough
11074 if test -n "$STRIP" ; then
11075 striplib="$STRIP -x"
11076 old_striplib="$STRIP -S"
11077 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
11078 $as_echo "yes" >&6; }
11080 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11081 $as_echo "no" >&6; }
11085 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11086 $as_echo "no" >&6; }
11102 # Report which library types will actually be built
11103 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if libtool supports shared libraries" >&5
11104 $as_echo_n "checking if libtool supports shared libraries... " >&6; }
11105 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $can_build_shared" >&5
11106 $as_echo "$can_build_shared" >&6; }
11108 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build shared libraries" >&5
11109 $as_echo_n "checking whether to build shared libraries... " >&6; }
11110 test "$can_build_shared" = "no" && enable_shared=no
11112 # On AIX, shared libraries and static libraries use the same namespace, and
11113 # are all built from PIC.
11116 test "$enable_shared" = yes && enable_static=no
11117 if test -n "$RANLIB"; then
11118 archive_cmds="$archive_cmds~\$RANLIB \$lib"
11119 postinstall_cmds='$RANLIB $lib'
11124 if test "$host_cpu" != ia64 && test "$aix_use_runtimelinking" = no ; then
11125 test "$enable_shared" = yes && enable_static=no
11129 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_shared" >&5
11130 $as_echo "$enable_shared" >&6; }
11132 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build static libraries" >&5
11133 $as_echo_n "checking whether to build static libraries... " >&6; }
11134 # Make sure either enable_shared or enable_static is yes.
11135 test "$enable_shared" = yes || enable_static=yes
11136 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_static" >&5
11137 $as_echo "$enable_static" >&6; }
11144 ac_cpp='$CPP $CPPFLAGS'
11145 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
11146 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
11147 ac_compiler_gnu=$ac_cv_c_compiler_gnu
11165 ac_config_commands="$ac_config_commands libtool"
11170 # Only expand once:
11173 # Extract the first word of "guile", so it can be a program name with args.
11174 set dummy guile; ac_word=$2
11175 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
11176 $as_echo_n "checking for $ac_word... " >&6; }
11177 if ${ac_cv_path_GUILE+:} false; then :
11178 $as_echo_n "(cached) " >&6
11182 ac_cv_path_GUILE="$GUILE" # Let the user override the test with a path.
11185 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11186 for as_dir in $PATH
11189 test -z "$as_dir" && as_dir=.
11190 for ac_exec_ext in '' $ac_executable_extensions; do
11191 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
11192 ac_cv_path_GUILE="$as_dir/$ac_word$ac_exec_ext"
11193 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
11203 GUILE=$ac_cv_path_GUILE
11204 if test -n "$GUILE"; then
11205 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $GUILE" >&5
11206 $as_echo "$GUILE" >&6; }
11208 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11209 $as_echo "no" >&6; }
11213 if test "$GUILE" = "" ; then
11214 as_fn_error $? "guile required but not found" "$LINENO" 5
11217 # Extract the first word of "guile-config", so it can be a program name with args.
11218 set dummy guile-config; ac_word=$2
11219 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
11220 $as_echo_n "checking for $ac_word... " >&6; }
11221 if ${ac_cv_path_GUILE_CONFIG+:} false; then :
11222 $as_echo_n "(cached) " >&6
11224 case $GUILE_CONFIG in
11226 ac_cv_path_GUILE_CONFIG="$GUILE_CONFIG" # Let the user override the test with a path.
11229 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11230 for as_dir in $PATH
11233 test -z "$as_dir" && as_dir=.
11234 for ac_exec_ext in '' $ac_executable_extensions; do
11235 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
11236 ac_cv_path_GUILE_CONFIG="$as_dir/$ac_word$ac_exec_ext"
11237 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
11247 GUILE_CONFIG=$ac_cv_path_GUILE_CONFIG
11248 if test -n "$GUILE_CONFIG"; then
11249 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $GUILE_CONFIG" >&5
11250 $as_echo "$GUILE_CONFIG" >&6; }
11252 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11253 $as_echo "no" >&6; }
11257 if test "$GUILE_CONFIG" = "" ; then
11258 as_fn_error $? "guile-config required but not found" "$LINENO" 5
11261 # Extract the first word of "guile-tools", so it can be a program name with args.
11262 set dummy guile-tools; ac_word=$2
11263 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
11264 $as_echo_n "checking for $ac_word... " >&6; }
11265 if ${ac_cv_path_GUILE_TOOLS+:} false; then :
11266 $as_echo_n "(cached) " >&6
11268 case $GUILE_TOOLS in
11270 ac_cv_path_GUILE_TOOLS="$GUILE_TOOLS" # Let the user override the test with a path.
11273 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11274 for as_dir in $PATH
11277 test -z "$as_dir" && as_dir=.
11278 for ac_exec_ext in '' $ac_executable_extensions; do
11279 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
11280 ac_cv_path_GUILE_TOOLS="$as_dir/$ac_word$ac_exec_ext"
11281 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
11291 GUILE_TOOLS=$ac_cv_path_GUILE_TOOLS
11292 if test -n "$GUILE_TOOLS"; then
11293 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $GUILE_TOOLS" >&5
11294 $as_echo "$GUILE_TOOLS" >&6; }
11296 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11297 $as_echo "no" >&6; }
11304 { $as_echo "$as_me:${as_lineno-$LINENO}: checking libguile compile flags" >&5
11305 $as_echo_n "checking libguile compile flags... " >&6; }
11306 GUILE_CFLAGS="`$GUILE_CONFIG compile`"
11307 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $GUILE_CFLAGS" >&5
11308 $as_echo "$GUILE_CFLAGS" >&6; }
11310 { $as_echo "$as_me:${as_lineno-$LINENO}: checking libguile link flags" >&5
11311 $as_echo_n "checking libguile link flags... " >&6; }
11312 GUILE_LDFLAGS="`$GUILE_CONFIG link`"
11313 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $GUILE_LDFLAGS" >&5
11314 $as_echo "$GUILE_LDFLAGS" >&6; }
11316 AC_LIB_LINKFLAGS_FROM_LIBS(GUILE_LIBS, $GUILE_LDFLAGS, )
11317 GUILE_LIBS="$GUILE_LDFLAGS $GUILE_LIBS"
11318 AC_LIB_LINKFLAGS_FROM_LIBS(GUILE_LTLIBS, $GUILE_LDFLAGS, yes)
11319 GUILE_LTLIBS="$GUILE_LDFLAGS $GUILE_LTLIBS"
11326 CFLAGS="$CFLAGS -I/usr/include/freetype2"
11327 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for main in -lreadline" >&5
11328 $as_echo_n "checking for main in -lreadline... " >&6; }
11329 if ${ac_cv_lib_readline_main+:} false; then :
11330 $as_echo_n "(cached) " >&6
11332 ac_check_lib_save_LIBS=$LIBS
11333 LIBS="-lreadline $LIBS"
11334 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11335 /* end confdefs.h. */
11346 if ac_fn_c_try_link "$LINENO"; then :
11347 ac_cv_lib_readline_main=yes
11349 ac_cv_lib_readline_main=no
11351 rm -f core conftest.err conftest.$ac_objext \
11352 conftest$ac_exeext conftest.$ac_ext
11353 LIBS=$ac_check_lib_save_LIBS
11355 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_readline_main" >&5
11356 $as_echo "$ac_cv_lib_readline_main" >&6; }
11357 if test "x$ac_cv_lib_readline_main" = xyes; then :
11358 as_fn_error $? "*** readline library not found!" "$LINENO" 5
11361 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for main in -lSDL" >&5
11362 $as_echo_n "checking for main in -lSDL... " >&6; }
11363 if ${ac_cv_lib_SDL_main+:} false; then :
11364 $as_echo_n "(cached) " >&6
11366 ac_check_lib_save_LIBS=$LIBS
11368 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11369 /* end confdefs.h. */
11380 if ac_fn_c_try_link "$LINENO"; then :
11381 ac_cv_lib_SDL_main=yes
11383 ac_cv_lib_SDL_main=no
11385 rm -f core conftest.err conftest.$ac_objext \
11386 conftest$ac_exeext conftest.$ac_ext
11387 LIBS=$ac_check_lib_save_LIBS
11389 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_SDL_main" >&5
11390 $as_echo "$ac_cv_lib_SDL_main" >&6; }
11391 if test "x$ac_cv_lib_SDL_main" = xyes; then :
11392 as_fn_error $? "*** SDL library not found!" "$LINENO" 5
11395 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for main in -lSDL_image" >&5
11396 $as_echo_n "checking for main in -lSDL_image... " >&6; }
11397 if ${ac_cv_lib_SDL_image_main+:} false; then :
11398 $as_echo_n "(cached) " >&6
11400 ac_check_lib_save_LIBS=$LIBS
11401 LIBS="-lSDL_image $LIBS"
11402 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11403 /* end confdefs.h. */
11414 if ac_fn_c_try_link "$LINENO"; then :
11415 ac_cv_lib_SDL_image_main=yes
11417 ac_cv_lib_SDL_image_main=no
11419 rm -f core conftest.err conftest.$ac_objext \
11420 conftest$ac_exeext conftest.$ac_ext
11421 LIBS=$ac_check_lib_save_LIBS
11423 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_SDL_image_main" >&5
11424 $as_echo "$ac_cv_lib_SDL_image_main" >&6; }
11425 if test "x$ac_cv_lib_SDL_image_main" = xyes; then :
11426 as_fn_error $? "*** SDL_image library not found!" "$LINENO" 5
11429 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for main in -lSDL_gfx" >&5
11430 $as_echo_n "checking for main in -lSDL_gfx... " >&6; }
11431 if ${ac_cv_lib_SDL_gfx_main+:} false; then :
11432 $as_echo_n "(cached) " >&6
11434 ac_check_lib_save_LIBS=$LIBS
11435 LIBS="-lSDL_gfx $LIBS"
11436 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11437 /* end confdefs.h. */
11448 if ac_fn_c_try_link "$LINENO"; then :
11449 ac_cv_lib_SDL_gfx_main=yes
11451 ac_cv_lib_SDL_gfx_main=no
11453 rm -f core conftest.err conftest.$ac_objext \
11454 conftest$ac_exeext conftest.$ac_ext
11455 LIBS=$ac_check_lib_save_LIBS
11457 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_SDL_gfx_main" >&5
11458 $as_echo "$ac_cv_lib_SDL_gfx_main" >&6; }
11459 if test "x$ac_cv_lib_SDL_gfx_main" = xyes; then :
11460 as_fn_error $? "*** SDL_gfx library not found!" "$LINENO" 5
11463 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for main in -lSDL_mixer" >&5
11464 $as_echo_n "checking for main in -lSDL_mixer... " >&6; }
11465 if ${ac_cv_lib_SDL_mixer_main+:} false; then :
11466 $as_echo_n "(cached) " >&6
11468 ac_check_lib_save_LIBS=$LIBS
11469 LIBS="-lSDL_mixer $LIBS"
11470 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11471 /* end confdefs.h. */
11482 if ac_fn_c_try_link "$LINENO"; then :
11483 ac_cv_lib_SDL_mixer_main=yes
11485 ac_cv_lib_SDL_mixer_main=no
11487 rm -f core conftest.err conftest.$ac_objext \
11488 conftest$ac_exeext conftest.$ac_ext
11489 LIBS=$ac_check_lib_save_LIBS
11491 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_SDL_mixer_main" >&5
11492 $as_echo "$ac_cv_lib_SDL_mixer_main" >&6; }
11493 if test "x$ac_cv_lib_SDL_mixer_main" = xyes; then :
11494 as_fn_error $? "*** SDL_mixer library not found!" "$LINENO" 5
11497 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for main in -lGL" >&5
11498 $as_echo_n "checking for main in -lGL... " >&6; }
11499 if ${ac_cv_lib_GL_main+:} false; then :
11500 $as_echo_n "(cached) " >&6
11502 ac_check_lib_save_LIBS=$LIBS
11504 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11505 /* end confdefs.h. */
11516 if ac_fn_c_try_link "$LINENO"; then :
11517 ac_cv_lib_GL_main=yes
11519 ac_cv_lib_GL_main=no
11521 rm -f core conftest.err conftest.$ac_objext \
11522 conftest$ac_exeext conftest.$ac_ext
11523 LIBS=$ac_check_lib_save_LIBS
11525 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_GL_main" >&5
11526 $as_echo "$ac_cv_lib_GL_main" >&6; }
11527 if test "x$ac_cv_lib_GL_main" = xyes; then :
11528 as_fn_error $? "*** GL library not found!" "$LINENO" 5
11531 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for main in -lGLU" >&5
11532 $as_echo_n "checking for main in -lGLU... " >&6; }
11533 if ${ac_cv_lib_GLU_main+:} false; then :
11534 $as_echo_n "(cached) " >&6
11536 ac_check_lib_save_LIBS=$LIBS
11538 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11539 /* end confdefs.h. */
11550 if ac_fn_c_try_link "$LINENO"; then :
11551 ac_cv_lib_GLU_main=yes
11553 ac_cv_lib_GLU_main=no
11555 rm -f core conftest.err conftest.$ac_objext \
11556 conftest$ac_exeext conftest.$ac_ext
11557 LIBS=$ac_check_lib_save_LIBS
11559 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_GLU_main" >&5
11560 $as_echo "$ac_cv_lib_GLU_main" >&6; }
11561 if test "x$ac_cv_lib_GLU_main" = xyes; then :
11562 as_fn_error $? "*** GLU library not found!" "$LINENO" 5
11565 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for main in -lftgl" >&5
11566 $as_echo_n "checking for main in -lftgl... " >&6; }
11567 if ${ac_cv_lib_ftgl_main+:} false; then :
11568 $as_echo_n "(cached) " >&6
11570 ac_check_lib_save_LIBS=$LIBS
11571 LIBS="-lftgl $LIBS"
11572 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11573 /* end confdefs.h. */
11584 if ac_fn_c_try_link "$LINENO"; then :
11585 ac_cv_lib_ftgl_main=yes
11587 ac_cv_lib_ftgl_main=no
11589 rm -f core conftest.err conftest.$ac_objext \
11590 conftest$ac_exeext conftest.$ac_ext
11591 LIBS=$ac_check_lib_save_LIBS
11593 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_ftgl_main" >&5
11594 $as_echo "$ac_cv_lib_ftgl_main" >&6; }
11595 if test "x$ac_cv_lib_ftgl_main" = xyes; then :
11596 as_fn_error $? "*** FTGL library not found!" "$LINENO" 5
11600 ac_config_headers="$ac_config_headers config.h"
11602 ac_config_files="$ac_config_files Makefile src/Makefile"
11604 cat >confcache <<\_ACEOF
11605 # This file is a shell script that caches the results of configure
11606 # tests run on this system so they can be shared between configure
11607 # scripts and configure runs, see configure's option --config-cache.
11608 # It is not useful on other systems. If it contains results you don't
11609 # want to keep, you may remove or edit it.
11611 # config.status only pays attention to the cache file if you give it
11612 # the --recheck option to rerun configure.
11614 # `ac_cv_env_foo' variables (set or unset) will be overridden when
11615 # loading this file, other *unset* `ac_cv_foo' will be assigned the
11616 # following values.
11620 # The following way of writing the cache mishandles newlines in values,
11621 # but we know of no workaround that is simple, portable, and efficient.
11622 # So, we kill variables containing newlines.
11623 # Ultrix sh set writes to stderr and can't be redirected directly,
11624 # and sets the high bit in the cache file unless we assign to the vars.
11626 for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
11627 eval ac_val=\$$ac_var
11631 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
11632 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
11635 _ | IFS | as_nl) ;; #(
11636 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
11637 *) { eval $ac_var=; unset $ac_var;} ;;
11643 case $as_nl`(ac_space=' '; set) 2>&1` in #(
11644 *${as_nl}ac_space=\ *)
11645 # `set' does not quote correctly, so add quotes: double-quote
11646 # substitution turns \\\\ into \\, and sed turns \\ into \.
11649 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
11652 # `set' quotes correctly as required by POSIX, so do not add quotes.
11653 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
11662 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
11664 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
11666 if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
11667 if test -w "$cache_file"; then
11668 if test "x$cache_file" != "x/dev/null"; then
11669 { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
11670 $as_echo "$as_me: updating cache $cache_file" >&6;}
11671 if test ! -f "$cache_file" || test -h "$cache_file"; then
11672 cat confcache >"$cache_file"
11674 case $cache_file in #(
11676 mv -f confcache "$cache_file"$$ &&
11677 mv -f "$cache_file"$$ "$cache_file" ;; #(
11679 mv -f confcache "$cache_file" ;;
11684 { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
11685 $as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
11690 test "x$prefix" = xNONE && prefix=$ac_default_prefix
11691 # Let make expand exec_prefix.
11692 test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
11694 DEFS=-DHAVE_CONFIG_H
11699 for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
11700 # 1. Remove the extension, and $U if already installed.
11701 ac_script='s/\$U\././;s/\.o$//;s/\.obj$//'
11702 ac_i=`$as_echo "$ac_i" | sed "$ac_script"`
11703 # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR
11704 # will be set to the directory where LIBOBJS objects are built.
11705 as_fn_append ac_libobjs " \${LIBOBJDIR}$ac_i\$U.$ac_objext"
11706 as_fn_append ac_ltlibobjs " \${LIBOBJDIR}$ac_i"'$U.lo'
11708 LIBOBJS=$ac_libobjs
11710 LTLIBOBJS=$ac_ltlibobjs
11713 if test -n "$EXEEXT"; then
11715 am__EXEEXT_FALSE='#'
11717 am__EXEEXT_TRUE='#'
11721 if test -z "${AMDEP_TRUE}" && test -z "${AMDEP_FALSE}"; then
11722 as_fn_error $? "conditional \"AMDEP\" was never defined.
11723 Usually this means the macro was only invoked conditionally." "$LINENO" 5
11725 if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
11726 as_fn_error $? "conditional \"am__fastdepCC\" was never defined.
11727 Usually this means the macro was only invoked conditionally." "$LINENO" 5
11730 : "${CONFIG_STATUS=./config.status}"
11732 ac_clean_files_save=$ac_clean_files
11733 ac_clean_files="$ac_clean_files $CONFIG_STATUS"
11734 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5
11735 $as_echo "$as_me: creating $CONFIG_STATUS" >&6;}
11737 cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1
11739 # Generated by $as_me.
11740 # Run this file to recreate the current configuration.
11741 # Compiler output produced by configure, useful for debugging
11742 # configure, is in config.log if it exists.
11745 ac_cs_recheck=false
11748 SHELL=\${CONFIG_SHELL-$SHELL}
11751 cat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail=1
11752 ## -------------------- ##
11753 ## M4sh Initialization. ##
11754 ## -------------------- ##
11756 # Be more Bourne compatible
11757 DUALCASE=1; export DUALCASE # for MKS sh
11758 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :
11761 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
11762 # is contrary to our usage. Disable this feature.
11763 alias -g '${1+"$@"}'='"$@"'
11764 setopt NO_GLOB_SUBST
11766 case `(set -o) 2>/dev/null` in #(
11778 # Printing a long string crashes Solaris 7 /usr/bin/printf.
11779 as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
11780 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
11781 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
11782 # Prefer a ksh shell builtin over an external printf program on Solaris,
11783 # but without wasting forks for bash or zsh.
11784 if test -z "$BASH_VERSION$ZSH_VERSION" \
11785 && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
11786 as_echo='print -r --'
11787 as_echo_n='print -rn --'
11788 elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
11789 as_echo='printf %s\n'
11790 as_echo_n='printf %s'
11792 if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
11793 as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
11794 as_echo_n='/usr/ucb/echo -n'
11796 as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
11797 as_echo_n_body='eval
11801 expr "X$arg" : "X\\(.*\\)$as_nl";
11802 arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
11804 expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
11806 export as_echo_n_body
11807 as_echo_n='sh -c $as_echo_n_body as_echo'
11809 export as_echo_body
11810 as_echo='sh -c $as_echo_body as_echo'
11813 # The user is always right.
11814 if test "${PATH_SEPARATOR+set}" != set; then
11816 (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
11817 (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
11824 # We need space, tab and new line, in precisely that order. Quoting is
11825 # there to prevent editors from complaining about space-tab.
11826 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
11827 # splitting by setting IFS to empty value.)
11830 # Find who we are. Look in the path if we contain no directory separator.
11833 *[\\/]* ) as_myself=$0 ;;
11834 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11835 for as_dir in $PATH
11838 test -z "$as_dir" && as_dir=.
11839 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
11845 # We did not find ourselves, most probably we were run as `sh COMMAND'
11846 # in which case we are not to be found in the path.
11847 if test "x$as_myself" = x; then
11850 if test ! -f "$as_myself"; then
11851 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
11855 # Unset variables that we do not need and which cause bugs (e.g. in
11856 # pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1"
11857 # suppresses any "Segmentation fault" message there. '((' could
11858 # trigger a bug in pdksh 5.2.14.
11859 for as_var in BASH_ENV ENV MAIL MAILPATH
11860 do eval test x\${$as_var+set} = xset \
11861 && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
11874 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
11877 # as_fn_error STATUS ERROR [LINENO LOG_FD]
11878 # ----------------------------------------
11879 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
11880 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
11881 # script with STATUS, using 1 if that was 0.
11884 as_status=$1; test $as_status -eq 0 && as_status=1
11886 as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
11887 $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
11889 $as_echo "$as_me: error: $2" >&2
11890 as_fn_exit $as_status
11894 # as_fn_set_status STATUS
11895 # -----------------------
11896 # Set $? to STATUS, without forking.
11897 as_fn_set_status ()
11900 } # as_fn_set_status
11902 # as_fn_exit STATUS
11903 # -----------------
11904 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
11908 as_fn_set_status $1
11914 # Portably unset VAR.
11917 { eval $1=; unset $1;}
11919 as_unset=as_fn_unset
11920 # as_fn_append VAR VALUE
11921 # ----------------------
11922 # Append the text in VALUE to the end of the definition contained in VAR. Take
11923 # advantage of any shell optimizations that allow amortized linear growth over
11924 # repeated appends, instead of the typical quadratic growth present in naive
11926 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
11927 eval 'as_fn_append ()
11938 # as_fn_arith ARG...
11939 # ------------------
11940 # Perform arithmetic evaluation on the ARGs, and store the result in the
11941 # global $as_val. Take advantage of shells that can avoid forks. The arguments
11942 # must be portable across $(()) and expr.
11943 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
11944 eval 'as_fn_arith ()
11951 as_val=`expr "$@" || test $? -eq 1`
11956 if expr a : '\(a\)' >/dev/null 2>&1 &&
11957 test "X`expr 00001 : '.*\(...\)'`" = X001; then
11963 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
11964 as_basename=basename
11969 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
11975 as_me=`$as_basename -- "$0" ||
11976 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
11977 X"$0" : 'X\(//\)$' \| \
11978 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
11980 sed '/^.*\/\([^/][^/]*\)\/*$/{
11994 # Avoid depending upon Character Ranges.
11995 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
11996 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
11997 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
11998 as_cr_digits='0123456789'
11999 as_cr_alnum=$as_cr_Letters$as_cr_digits
12001 ECHO_C= ECHO_N= ECHO_T=
12002 case `echo -n x` in #(((((
12004 case `echo 'xy\c'` in
12005 *c*) ECHO_T=' ';; # ECHO_T is single tab character.
12007 *) echo `echo ksh88 bug on AIX 6.1` > /dev/null
12014 rm -f conf$$ conf$$.exe conf$$.file
12015 if test -d conf$$.dir; then
12016 rm -f conf$$.dir/conf$$.file
12019 mkdir conf$$.dir 2>/dev/null
12021 if (echo >conf$$.file) 2>/dev/null; then
12022 if ln -s conf$$.file conf$$ 2>/dev/null; then
12024 # ... but there are two gotchas:
12025 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
12026 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
12027 # In both cases, we have to default to `cp -p'.
12028 ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
12030 elif ln conf$$.file conf$$ 2>/dev/null; then
12038 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
12039 rmdir conf$$.dir 2>/dev/null
12044 # Create "$as_dir" as a directory, including parents if necessary.
12049 -*) as_dir=./$as_dir;;
12051 test -d "$as_dir" || eval $as_mkdir_p || {
12055 *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
12056 *) as_qdir=$as_dir;;
12058 as_dirs="'$as_qdir' $as_dirs"
12059 as_dir=`$as_dirname -- "$as_dir" ||
12060 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
12061 X"$as_dir" : 'X\(//\)[^/]' \| \
12062 X"$as_dir" : 'X\(//\)$' \| \
12063 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
12064 $as_echo X"$as_dir" |
12065 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
12069 /^X\(\/\/\)[^/].*/{
12082 test -d "$as_dir" && break
12084 test -z "$as_dirs" || eval "mkdir $as_dirs"
12085 } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir"
12089 if mkdir -p . 2>/dev/null; then
12090 as_mkdir_p='mkdir -p "$as_dir"'
12092 test -d ./-p && rmdir ./-p
12096 if test -x / >/dev/null 2>&1; then
12097 as_test_x='test -x'
12099 if ls -dL / >/dev/null 2>&1; then
12106 if test -d "$1"; then
12112 case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in #((
12113 ???[sx]*):;;*)false;;esac;fi
12117 as_executable_p=$as_test_x
12119 # Sed expression to map a string onto a valid CPP name.
12120 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
12122 # Sed expression to map a string onto a valid variable name.
12123 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
12127 ## ----------------------------------- ##
12128 ## Main body of $CONFIG_STATUS script. ##
12129 ## ----------------------------------- ##
12131 test $as_write_fail = 0 && chmod +x $CONFIG_STATUS || ac_write_fail=1
12133 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
12134 # Save the log message, to keep $0 and so on meaningful, and to
12135 # report actual input values of CONFIG_FILES etc. instead of their
12136 # values after options handling.
12138 This file was extended by gacela $as_me 0.5, which was
12139 generated by GNU Autoconf 2.68. Invocation command line was
12141 CONFIG_FILES = $CONFIG_FILES
12142 CONFIG_HEADERS = $CONFIG_HEADERS
12143 CONFIG_LINKS = $CONFIG_LINKS
12144 CONFIG_COMMANDS = $CONFIG_COMMANDS
12147 on `(hostname || uname -n) 2>/dev/null | sed 1q`
12152 case $ac_config_files in *"
12153 "*) set x $ac_config_files; shift; ac_config_files=$*;;
12156 case $ac_config_headers in *"
12157 "*) set x $ac_config_headers; shift; ac_config_headers=$*;;
12161 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
12162 # Files that config.status was made for.
12163 config_files="$ac_config_files"
12164 config_headers="$ac_config_headers"
12165 config_commands="$ac_config_commands"
12169 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
12171 \`$as_me' instantiates files and other configuration actions
12172 from templates according to the current configuration. Unless the files
12173 and actions are specified as TAGs, all are instantiated by default.
12175 Usage: $0 [OPTION]... [TAG]...
12177 -h, --help print this help, then exit
12178 -V, --version print version number and configuration settings, then exit
12179 --config print configuration, then exit
12180 -q, --quiet, --silent
12181 do not print progress messages
12182 -d, --debug don't remove temporary files
12183 --recheck update $as_me by reconfiguring in the same conditions
12184 --file=FILE[:TEMPLATE]
12185 instantiate the configuration file FILE
12186 --header=FILE[:TEMPLATE]
12187 instantiate the configuration header FILE
12189 Configuration files:
12192 Configuration headers:
12195 Configuration commands:
12198 Report bugs to <jsf@jsancho.org>."
12201 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
12202 ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`"
12204 gacela config.status 0.5
12205 configured by $0, generated by GNU Autoconf 2.68,
12206 with options \\"\$ac_cs_config\\"
12208 Copyright (C) 2010 Free Software Foundation, Inc.
12209 This config.status script is free software; the Free Software Foundation
12210 gives unlimited permission to copy, distribute and modify it."
12217 test -n "\$AWK" || AWK=awk
12220 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
12221 # The default lists apply if the user does not specify any file.
12227 ac_option=`expr "X$1" : 'X\([^=]*\)='`
12228 ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'`
12232 ac_option=`expr "X$1" : 'X\([^=]*\)='`
12244 # Handling of the options.
12245 -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
12247 --version | --versio | --versi | --vers | --ver | --ve | --v | -V )
12248 $as_echo "$ac_cs_version"; exit ;;
12249 --config | --confi | --conf | --con | --co | --c )
12250 $as_echo "$ac_cs_config"; exit ;;
12251 --debug | --debu | --deb | --de | --d | -d )
12253 --file | --fil | --fi | --f )
12256 *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
12257 '') as_fn_error $? "missing file argument" ;;
12259 as_fn_append CONFIG_FILES " '$ac_optarg'"
12260 ac_need_defaults=false;;
12261 --header | --heade | --head | --hea )
12264 *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
12266 as_fn_append CONFIG_HEADERS " '$ac_optarg'"
12267 ac_need_defaults=false;;
12269 # Conflict between --help and --header
12270 as_fn_error $? "ambiguous option: \`$1'
12271 Try \`$0 --help' for more information.";;
12272 --help | --hel | -h )
12273 $as_echo "$ac_cs_usage"; exit ;;
12274 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
12275 | -silent | --silent | --silen | --sile | --sil | --si | --s)
12278 # This is an error.
12279 -*) as_fn_error $? "unrecognized option: \`$1'
12280 Try \`$0 --help' for more information." ;;
12282 *) as_fn_append ac_config_targets " $1"
12283 ac_need_defaults=false ;;
12289 ac_configure_extra_args=
12291 if $ac_cs_silent; then
12293 ac_configure_extra_args="$ac_configure_extra_args --silent"
12297 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
12298 if \$ac_cs_recheck; then
12299 set X '$SHELL' '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
12301 \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6
12302 CONFIG_SHELL='$SHELL'
12303 export CONFIG_SHELL
12308 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
12312 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
12313 ## Running $as_me. ##
12319 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
12323 AMDEP_TRUE="$AMDEP_TRUE" ac_aux_dir="$ac_aux_dir"
12326 # The HP-UX ksh and POSIX shell print the target directory to stdout
12327 # if CDPATH is set.
12328 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
12330 sed_quote_subst='$sed_quote_subst'
12331 double_quote_subst='$double_quote_subst'
12332 delay_variable_subst='$delay_variable_subst'
12333 macro_version='`$ECHO "$macro_version" | $SED "$delay_single_quote_subst"`'
12334 macro_revision='`$ECHO "$macro_revision" | $SED "$delay_single_quote_subst"`'
12335 enable_shared='`$ECHO "$enable_shared" | $SED "$delay_single_quote_subst"`'
12336 enable_static='`$ECHO "$enable_static" | $SED "$delay_single_quote_subst"`'
12337 pic_mode='`$ECHO "$pic_mode" | $SED "$delay_single_quote_subst"`'
12338 enable_fast_install='`$ECHO "$enable_fast_install" | $SED "$delay_single_quote_subst"`'
12339 SHELL='`$ECHO "$SHELL" | $SED "$delay_single_quote_subst"`'
12340 ECHO='`$ECHO "$ECHO" | $SED "$delay_single_quote_subst"`'
12341 PATH_SEPARATOR='`$ECHO "$PATH_SEPARATOR" | $SED "$delay_single_quote_subst"`'
12342 host_alias='`$ECHO "$host_alias" | $SED "$delay_single_quote_subst"`'
12343 host='`$ECHO "$host" | $SED "$delay_single_quote_subst"`'
12344 host_os='`$ECHO "$host_os" | $SED "$delay_single_quote_subst"`'
12345 build_alias='`$ECHO "$build_alias" | $SED "$delay_single_quote_subst"`'
12346 build='`$ECHO "$build" | $SED "$delay_single_quote_subst"`'
12347 build_os='`$ECHO "$build_os" | $SED "$delay_single_quote_subst"`'
12348 SED='`$ECHO "$SED" | $SED "$delay_single_quote_subst"`'
12349 Xsed='`$ECHO "$Xsed" | $SED "$delay_single_quote_subst"`'
12350 GREP='`$ECHO "$GREP" | $SED "$delay_single_quote_subst"`'
12351 EGREP='`$ECHO "$EGREP" | $SED "$delay_single_quote_subst"`'
12352 FGREP='`$ECHO "$FGREP" | $SED "$delay_single_quote_subst"`'
12353 LD='`$ECHO "$LD" | $SED "$delay_single_quote_subst"`'
12354 NM='`$ECHO "$NM" | $SED "$delay_single_quote_subst"`'
12355 LN_S='`$ECHO "$LN_S" | $SED "$delay_single_quote_subst"`'
12356 max_cmd_len='`$ECHO "$max_cmd_len" | $SED "$delay_single_quote_subst"`'
12357 ac_objext='`$ECHO "$ac_objext" | $SED "$delay_single_quote_subst"`'
12358 exeext='`$ECHO "$exeext" | $SED "$delay_single_quote_subst"`'
12359 lt_unset='`$ECHO "$lt_unset" | $SED "$delay_single_quote_subst"`'
12360 lt_SP2NL='`$ECHO "$lt_SP2NL" | $SED "$delay_single_quote_subst"`'
12361 lt_NL2SP='`$ECHO "$lt_NL2SP" | $SED "$delay_single_quote_subst"`'
12362 lt_cv_to_host_file_cmd='`$ECHO "$lt_cv_to_host_file_cmd" | $SED "$delay_single_quote_subst"`'
12363 lt_cv_to_tool_file_cmd='`$ECHO "$lt_cv_to_tool_file_cmd" | $SED "$delay_single_quote_subst"`'
12364 reload_flag='`$ECHO "$reload_flag" | $SED "$delay_single_quote_subst"`'
12365 reload_cmds='`$ECHO "$reload_cmds" | $SED "$delay_single_quote_subst"`'
12366 OBJDUMP='`$ECHO "$OBJDUMP" | $SED "$delay_single_quote_subst"`'
12367 deplibs_check_method='`$ECHO "$deplibs_check_method" | $SED "$delay_single_quote_subst"`'
12368 file_magic_cmd='`$ECHO "$file_magic_cmd" | $SED "$delay_single_quote_subst"`'
12369 file_magic_glob='`$ECHO "$file_magic_glob" | $SED "$delay_single_quote_subst"`'
12370 want_nocaseglob='`$ECHO "$want_nocaseglob" | $SED "$delay_single_quote_subst"`'
12371 DLLTOOL='`$ECHO "$DLLTOOL" | $SED "$delay_single_quote_subst"`'
12372 sharedlib_from_linklib_cmd='`$ECHO "$sharedlib_from_linklib_cmd" | $SED "$delay_single_quote_subst"`'
12373 AR='`$ECHO "$AR" | $SED "$delay_single_quote_subst"`'
12374 AR_FLAGS='`$ECHO "$AR_FLAGS" | $SED "$delay_single_quote_subst"`'
12375 archiver_list_spec='`$ECHO "$archiver_list_spec" | $SED "$delay_single_quote_subst"`'
12376 STRIP='`$ECHO "$STRIP" | $SED "$delay_single_quote_subst"`'
12377 RANLIB='`$ECHO "$RANLIB" | $SED "$delay_single_quote_subst"`'
12378 old_postinstall_cmds='`$ECHO "$old_postinstall_cmds" | $SED "$delay_single_quote_subst"`'
12379 old_postuninstall_cmds='`$ECHO "$old_postuninstall_cmds" | $SED "$delay_single_quote_subst"`'
12380 old_archive_cmds='`$ECHO "$old_archive_cmds" | $SED "$delay_single_quote_subst"`'
12381 lock_old_archive_extraction='`$ECHO "$lock_old_archive_extraction" | $SED "$delay_single_quote_subst"`'
12382 CC='`$ECHO "$CC" | $SED "$delay_single_quote_subst"`'
12383 CFLAGS='`$ECHO "$CFLAGS" | $SED "$delay_single_quote_subst"`'
12384 compiler='`$ECHO "$compiler" | $SED "$delay_single_quote_subst"`'
12385 GCC='`$ECHO "$GCC" | $SED "$delay_single_quote_subst"`'
12386 lt_cv_sys_global_symbol_pipe='`$ECHO "$lt_cv_sys_global_symbol_pipe" | $SED "$delay_single_quote_subst"`'
12387 lt_cv_sys_global_symbol_to_cdecl='`$ECHO "$lt_cv_sys_global_symbol_to_cdecl" | $SED "$delay_single_quote_subst"`'
12388 lt_cv_sys_global_symbol_to_c_name_address='`$ECHO "$lt_cv_sys_global_symbol_to_c_name_address" | $SED "$delay_single_quote_subst"`'
12389 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"`'
12390 nm_file_list_spec='`$ECHO "$nm_file_list_spec" | $SED "$delay_single_quote_subst"`'
12391 lt_sysroot='`$ECHO "$lt_sysroot" | $SED "$delay_single_quote_subst"`'
12392 objdir='`$ECHO "$objdir" | $SED "$delay_single_quote_subst"`'
12393 MAGIC_CMD='`$ECHO "$MAGIC_CMD" | $SED "$delay_single_quote_subst"`'
12394 lt_prog_compiler_no_builtin_flag='`$ECHO "$lt_prog_compiler_no_builtin_flag" | $SED "$delay_single_quote_subst"`'
12395 lt_prog_compiler_pic='`$ECHO "$lt_prog_compiler_pic" | $SED "$delay_single_quote_subst"`'
12396 lt_prog_compiler_wl='`$ECHO "$lt_prog_compiler_wl" | $SED "$delay_single_quote_subst"`'
12397 lt_prog_compiler_static='`$ECHO "$lt_prog_compiler_static" | $SED "$delay_single_quote_subst"`'
12398 lt_cv_prog_compiler_c_o='`$ECHO "$lt_cv_prog_compiler_c_o" | $SED "$delay_single_quote_subst"`'
12399 need_locks='`$ECHO "$need_locks" | $SED "$delay_single_quote_subst"`'
12400 MANIFEST_TOOL='`$ECHO "$MANIFEST_TOOL" | $SED "$delay_single_quote_subst"`'
12401 DSYMUTIL='`$ECHO "$DSYMUTIL" | $SED "$delay_single_quote_subst"`'
12402 NMEDIT='`$ECHO "$NMEDIT" | $SED "$delay_single_quote_subst"`'
12403 LIPO='`$ECHO "$LIPO" | $SED "$delay_single_quote_subst"`'
12404 OTOOL='`$ECHO "$OTOOL" | $SED "$delay_single_quote_subst"`'
12405 OTOOL64='`$ECHO "$OTOOL64" | $SED "$delay_single_quote_subst"`'
12406 libext='`$ECHO "$libext" | $SED "$delay_single_quote_subst"`'
12407 shrext_cmds='`$ECHO "$shrext_cmds" | $SED "$delay_single_quote_subst"`'
12408 extract_expsyms_cmds='`$ECHO "$extract_expsyms_cmds" | $SED "$delay_single_quote_subst"`'
12409 archive_cmds_need_lc='`$ECHO "$archive_cmds_need_lc" | $SED "$delay_single_quote_subst"`'
12410 enable_shared_with_static_runtimes='`$ECHO "$enable_shared_with_static_runtimes" | $SED "$delay_single_quote_subst"`'
12411 export_dynamic_flag_spec='`$ECHO "$export_dynamic_flag_spec" | $SED "$delay_single_quote_subst"`'
12412 whole_archive_flag_spec='`$ECHO "$whole_archive_flag_spec" | $SED "$delay_single_quote_subst"`'
12413 compiler_needs_object='`$ECHO "$compiler_needs_object" | $SED "$delay_single_quote_subst"`'
12414 old_archive_from_new_cmds='`$ECHO "$old_archive_from_new_cmds" | $SED "$delay_single_quote_subst"`'
12415 old_archive_from_expsyms_cmds='`$ECHO "$old_archive_from_expsyms_cmds" | $SED "$delay_single_quote_subst"`'
12416 archive_cmds='`$ECHO "$archive_cmds" | $SED "$delay_single_quote_subst"`'
12417 archive_expsym_cmds='`$ECHO "$archive_expsym_cmds" | $SED "$delay_single_quote_subst"`'
12418 module_cmds='`$ECHO "$module_cmds" | $SED "$delay_single_quote_subst"`'
12419 module_expsym_cmds='`$ECHO "$module_expsym_cmds" | $SED "$delay_single_quote_subst"`'
12420 with_gnu_ld='`$ECHO "$with_gnu_ld" | $SED "$delay_single_quote_subst"`'
12421 allow_undefined_flag='`$ECHO "$allow_undefined_flag" | $SED "$delay_single_quote_subst"`'
12422 no_undefined_flag='`$ECHO "$no_undefined_flag" | $SED "$delay_single_quote_subst"`'
12423 hardcode_libdir_flag_spec='`$ECHO "$hardcode_libdir_flag_spec" | $SED "$delay_single_quote_subst"`'
12424 hardcode_libdir_separator='`$ECHO "$hardcode_libdir_separator" | $SED "$delay_single_quote_subst"`'
12425 hardcode_direct='`$ECHO "$hardcode_direct" | $SED "$delay_single_quote_subst"`'
12426 hardcode_direct_absolute='`$ECHO "$hardcode_direct_absolute" | $SED "$delay_single_quote_subst"`'
12427 hardcode_minus_L='`$ECHO "$hardcode_minus_L" | $SED "$delay_single_quote_subst"`'
12428 hardcode_shlibpath_var='`$ECHO "$hardcode_shlibpath_var" | $SED "$delay_single_quote_subst"`'
12429 hardcode_automatic='`$ECHO "$hardcode_automatic" | $SED "$delay_single_quote_subst"`'
12430 inherit_rpath='`$ECHO "$inherit_rpath" | $SED "$delay_single_quote_subst"`'
12431 link_all_deplibs='`$ECHO "$link_all_deplibs" | $SED "$delay_single_quote_subst"`'
12432 always_export_symbols='`$ECHO "$always_export_symbols" | $SED "$delay_single_quote_subst"`'
12433 export_symbols_cmds='`$ECHO "$export_symbols_cmds" | $SED "$delay_single_quote_subst"`'
12434 exclude_expsyms='`$ECHO "$exclude_expsyms" | $SED "$delay_single_quote_subst"`'
12435 include_expsyms='`$ECHO "$include_expsyms" | $SED "$delay_single_quote_subst"`'
12436 prelink_cmds='`$ECHO "$prelink_cmds" | $SED "$delay_single_quote_subst"`'
12437 postlink_cmds='`$ECHO "$postlink_cmds" | $SED "$delay_single_quote_subst"`'
12438 file_list_spec='`$ECHO "$file_list_spec" | $SED "$delay_single_quote_subst"`'
12439 variables_saved_for_relink='`$ECHO "$variables_saved_for_relink" | $SED "$delay_single_quote_subst"`'
12440 need_lib_prefix='`$ECHO "$need_lib_prefix" | $SED "$delay_single_quote_subst"`'
12441 need_version='`$ECHO "$need_version" | $SED "$delay_single_quote_subst"`'
12442 version_type='`$ECHO "$version_type" | $SED "$delay_single_quote_subst"`'
12443 runpath_var='`$ECHO "$runpath_var" | $SED "$delay_single_quote_subst"`'
12444 shlibpath_var='`$ECHO "$shlibpath_var" | $SED "$delay_single_quote_subst"`'
12445 shlibpath_overrides_runpath='`$ECHO "$shlibpath_overrides_runpath" | $SED "$delay_single_quote_subst"`'
12446 libname_spec='`$ECHO "$libname_spec" | $SED "$delay_single_quote_subst"`'
12447 library_names_spec='`$ECHO "$library_names_spec" | $SED "$delay_single_quote_subst"`'
12448 soname_spec='`$ECHO "$soname_spec" | $SED "$delay_single_quote_subst"`'
12449 install_override_mode='`$ECHO "$install_override_mode" | $SED "$delay_single_quote_subst"`'
12450 postinstall_cmds='`$ECHO "$postinstall_cmds" | $SED "$delay_single_quote_subst"`'
12451 postuninstall_cmds='`$ECHO "$postuninstall_cmds" | $SED "$delay_single_quote_subst"`'
12452 finish_cmds='`$ECHO "$finish_cmds" | $SED "$delay_single_quote_subst"`'
12453 finish_eval='`$ECHO "$finish_eval" | $SED "$delay_single_quote_subst"`'
12454 hardcode_into_libs='`$ECHO "$hardcode_into_libs" | $SED "$delay_single_quote_subst"`'
12455 sys_lib_search_path_spec='`$ECHO "$sys_lib_search_path_spec" | $SED "$delay_single_quote_subst"`'
12456 sys_lib_dlsearch_path_spec='`$ECHO "$sys_lib_dlsearch_path_spec" | $SED "$delay_single_quote_subst"`'
12457 hardcode_action='`$ECHO "$hardcode_action" | $SED "$delay_single_quote_subst"`'
12458 enable_dlopen='`$ECHO "$enable_dlopen" | $SED "$delay_single_quote_subst"`'
12459 enable_dlopen_self='`$ECHO "$enable_dlopen_self" | $SED "$delay_single_quote_subst"`'
12460 enable_dlopen_self_static='`$ECHO "$enable_dlopen_self_static" | $SED "$delay_single_quote_subst"`'
12461 old_striplib='`$ECHO "$old_striplib" | $SED "$delay_single_quote_subst"`'
12462 striplib='`$ECHO "$striplib" | $SED "$delay_single_quote_subst"`'
12465 LTCFLAGS='$LTCFLAGS'
12466 compiler='$compiler_DEFAULT'
12468 # A function that is used when there is no print builtin or printf.
12469 func_fallback_echo ()
12471 eval 'cat <<_LTECHO_EOF
12476 # Quote evaled strings.
12491 deplibs_check_method \
12496 sharedlib_from_linklib_cmd \
12499 archiver_list_spec \
12505 lt_cv_sys_global_symbol_pipe \
12506 lt_cv_sys_global_symbol_to_cdecl \
12507 lt_cv_sys_global_symbol_to_c_name_address \
12508 lt_cv_sys_global_symbol_to_c_name_address_lib_prefix \
12509 nm_file_list_spec \
12510 lt_prog_compiler_no_builtin_flag \
12511 lt_prog_compiler_pic \
12512 lt_prog_compiler_wl \
12513 lt_prog_compiler_static \
12514 lt_cv_prog_compiler_c_o \
12523 export_dynamic_flag_spec \
12524 whole_archive_flag_spec \
12525 compiler_needs_object \
12527 allow_undefined_flag \
12528 no_undefined_flag \
12529 hardcode_libdir_flag_spec \
12530 hardcode_libdir_separator \
12534 variables_saved_for_relink \
12536 library_names_spec \
12538 install_override_mode \
12542 case \`eval \\\\\$ECHO \\\\""\\\\\$\$var"\\\\"\` in
12543 *[\\\\\\\`\\"\\\$]*)
12544 eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"\\\$\$var\\" | \\\$SED \\"\\\$sed_quote_subst\\"\\\`\\\\\\""
12547 eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
12552 # Double-quote double-evaled strings.
12553 for var in reload_cmds \
12554 old_postinstall_cmds \
12555 old_postuninstall_cmds \
12557 extract_expsyms_cmds \
12558 old_archive_from_new_cmds \
12559 old_archive_from_expsyms_cmds \
12561 archive_expsym_cmds \
12563 module_expsym_cmds \
12564 export_symbols_cmds \
12568 postuninstall_cmds \
12570 sys_lib_search_path_spec \
12571 sys_lib_dlsearch_path_spec; do
12572 case \`eval \\\\\$ECHO \\\\""\\\\\$\$var"\\\\"\` in
12573 *[\\\\\\\`\\"\\\$]*)
12574 eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"\\\$\$var\\" | \\\$SED -e \\"\\\$double_quote_subst\\" -e \\"\\\$sed_quote_subst\\" -e \\"\\\$delay_variable_subst\\"\\\`\\\\\\""
12577 eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
12582 ac_aux_dir='$ac_aux_dir'
12583 xsi_shell='$xsi_shell'
12584 lt_shell_append='$lt_shell_append'
12586 # See if we are running on zsh, and set the options which allow our
12587 # commands through without removal of \ escapes INIT.
12588 if test -n "\${ZSH_VERSION+set}" ; then
12589 setopt NO_GLOB_SUBST
12595 TIMESTAMP='$TIMESTAMP'
12604 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
12606 # Handling of arguments.
12607 for ac_config_target in $ac_config_targets
12609 case $ac_config_target in
12610 "depfiles") CONFIG_COMMANDS="$CONFIG_COMMANDS depfiles" ;;
12611 "libtool") CONFIG_COMMANDS="$CONFIG_COMMANDS libtool" ;;
12612 "config.h") CONFIG_HEADERS="$CONFIG_HEADERS config.h" ;;
12613 "Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;;
12614 "src/Makefile") CONFIG_FILES="$CONFIG_FILES src/Makefile" ;;
12616 *) as_fn_error $? "invalid argument: \`$ac_config_target'" "$LINENO" 5;;
12621 # If the user did not use the arguments to specify the items to instantiate,
12622 # then the envvar interface is used. Set only those that are not.
12623 # We use the long form for the default assignment because of an extremely
12624 # bizarre bug on SunOS 4.1.3.
12625 if $ac_need_defaults; then
12626 test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
12627 test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS=$config_headers
12628 test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS=$config_commands
12631 # Have a temporary directory for convenience. Make it in the build tree
12632 # simply because there is no reason against having it here, and in addition,
12633 # creating and moving files from /tmp can sometimes cause problems.
12634 # Hook for its removal unless debugging.
12635 # Note that there is a small window in which the directory will not be cleaned:
12636 # after its creation but before its name has been assigned to `$tmp'.
12640 trap 'exit_status=$?
12641 : "${ac_tmp:=$tmp}"
12642 { test ! -d "$ac_tmp" || rm -fr "$ac_tmp"; } && exit $exit_status
12644 trap 'as_fn_exit 1' 1 2 13 15
12646 # Create a (secure) tmp directory for tmp files.
12649 tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
12653 tmp=./conf$$-$RANDOM
12654 (umask 077 && mkdir "$tmp")
12655 } || as_fn_error $? "cannot create a temporary directory in ." "$LINENO" 5
12658 # Set up the scripts for CONFIG_FILES section.
12659 # No need to generate them if there are no CONFIG_FILES.
12660 # This happens for instance with `./config.status config.h'.
12661 if test -n "$CONFIG_FILES"; then
12664 ac_cr=`echo X | tr X '\015'`
12665 # On cygwin, bash can eat \r inside `` if the user requested igncr.
12666 # But we know of no other shell where ac_cr would be empty at this
12667 # point, so we can use a bashism as a fallback.
12668 if test "x$ac_cr" = x; then
12669 eval ac_cr=\$\'\\r\'
12671 ac_cs_awk_cr=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
12672 if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
12675 ac_cs_awk_cr=$ac_cr
12678 echo 'BEGIN {' >"$ac_tmp/subs1.awk" &&
12683 echo "cat >conf$$subs.awk <<_ACEOF" &&
12684 echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
12686 } >conf$$subs.sh ||
12687 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
12688 ac_delim_num=`echo "$ac_subst_vars" | grep -c '^'`
12690 for ac_last_try in false false false false false :; do
12691 . ./conf$$subs.sh ||
12692 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
12694 ac_delim_n=`sed -n "s/.*$ac_delim\$/X/p" conf$$subs.awk | grep -c X`
12695 if test $ac_delim_n = $ac_delim_num; then
12697 elif $ac_last_try; then
12698 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
12700 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
12703 rm -f conf$$subs.sh
12705 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
12706 cat >>"\$ac_tmp/subs1.awk" <<\\_ACAWK &&
12710 s/^/S["/; s/!.*/"]=/
12720 s/\(.\{148\}\)..*/\1/
12722 s/["\\]/\\&/g; s/^/"/; s/$/\\n"\\/
12727 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
12734 s/\(.\{148\}\)..*/\1/
12736 s/["\\]/\\&/g; s/^/"/; s/$/"/
12740 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
12745 ' <conf$$subs.awk | sed '
12750 ' >>$CONFIG_STATUS || ac_write_fail=1
12751 rm -f conf$$subs.awk
12752 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
12754 cat >>"\$ac_tmp/subs1.awk" <<_ACAWK &&
12755 for (key in S) S_is_set[key] = 1
12761 nfields = split(line, field, "@")
12763 len = length(field[1])
12764 for (i = 2; i < nfields; i++) {
12766 keylen = length(key)
12767 if (S_is_set[key]) {
12769 line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3)
12770 len += length(value) + length(field[++i])
12781 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
12782 if sed "s/$ac_cr//" < /dev/null > /dev/null 2>&1; then
12783 sed "s/$ac_cr\$//; s/$ac_cr/$ac_cs_awk_cr/g"
12786 fi < "$ac_tmp/subs1.awk" > "$ac_tmp/subs.awk" \
12787 || as_fn_error $? "could not setup config files machinery" "$LINENO" 5
12790 # VPATH may cause trouble with some makes, so we remove sole $(srcdir),
12791 # ${srcdir} and @srcdir@ entries from VPATH if srcdir is ".", strip leading and
12792 # trailing colons and then remove the whole line if VPATH becomes empty
12793 # (actually we leave an empty line to preserve line numbers).
12794 if test "x$srcdir" = x.; then
12795 ac_vpsub='/^[ ]*VPATH[ ]*=[ ]*/{
12813 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
12814 fi # test -n "$CONFIG_FILES"
12816 # Set up the scripts for CONFIG_HEADERS section.
12817 # No need to generate them if there are no CONFIG_HEADERS.
12818 # This happens for instance with `./config.status Makefile'.
12819 if test -n "$CONFIG_HEADERS"; then
12820 cat >"$ac_tmp/defines.awk" <<\_ACAWK ||
12824 # Transform confdefs.h into an awk script `defines.awk', embedded as
12825 # here-document in config.status, that substitutes the proper values into
12826 # config.h.in to produce config.h.
12828 # Create a delimiter string that does not exist in confdefs.h, to ease
12829 # handling of long lines.
12831 for ac_last_try in false false :; do
12832 ac_tt=`sed -n "/$ac_delim/p" confdefs.h`
12833 if test -z "$ac_tt"; then
12835 elif $ac_last_try; then
12836 as_fn_error $? "could not make $CONFIG_HEADERS" "$LINENO" 5
12838 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
12842 # For the awk script, D is an array of macro values keyed by name,
12843 # likewise P contains macro parameters if any. Preserve backslash
12844 # newline sequences.
12846 ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]*
12848 s/.\{148\}/&'"$ac_delim"'/g
12851 s/^[ ]*#[ ]*define[ ][ ]*/ /
12858 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\1"]="\2"\
12860 s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\1"]=" \2"/p
12864 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\1"]="\2"\
12865 D["\1"]=" \3\\\\\\n"\\/p
12867 s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\1"]=" \2\\\\\\n"\\/p
12872 s/.\{148\}/&'"$ac_delim"'/g
12877 s/["\\]/\\&/g; s/^/"/; s/$/"/p
12880 s/["\\]/\\&/g; s/^/"/; s/$/\\\\\\n"\\/p
12882 ' <confdefs.h | sed '
12883 s/'"$ac_delim"'/"\\\
12884 "/g' >>$CONFIG_STATUS || ac_write_fail=1
12886 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
12887 for (key in D) D_is_set[key] = 1
12890 /^[\t ]*#[\t ]*(define|undef)[\t ]+$ac_word_re([\t (]|\$)/ {
12892 split(line, arg, " ")
12893 if (arg[1] == "#") {
12897 defundef = substr(arg[1], 2)
12900 split(mac1, mac2, "(") #)
12902 prefix = substr(line, 1, index(line, defundef) - 1)
12903 if (D_is_set[macro]) {
12904 # Preserve the white space surrounding the "#".
12905 print prefix "define", macro P[macro] D[macro]
12908 # Replace #undef with comments. This is necessary, for example,
12909 # in the case of _POSIX_SOURCE, which is predefined and required
12910 # on some systems where configure will not decide to define it.
12911 if (defundef == "undef") {
12912 print "/*", prefix defundef, macro, "*/"
12920 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
12921 as_fn_error $? "could not setup config headers machinery" "$LINENO" 5
12922 fi # test -n "$CONFIG_HEADERS"
12925 eval set X " :F $CONFIG_FILES :H $CONFIG_HEADERS :C $CONFIG_COMMANDS"
12930 :[FHLC]) ac_mode=$ac_tag; continue;;
12932 case $ac_mode$ac_tag in
12934 :L* | :C*:*) as_fn_error $? "invalid tag \`$ac_tag'" "$LINENO" 5;;
12935 :[FH]-) ac_tag=-:-;;
12936 :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
12953 -) ac_f="$ac_tmp/stdin";;
12954 *) # Look for the file first in the build tree, then in the source tree
12955 # (if the path is not absolute). The absolute path cannot be DOS-style,
12956 # because $ac_f cannot contain `:'.
12960 *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
12962 as_fn_error 1 "cannot find input file: \`$ac_f'" "$LINENO" 5;;
12964 case $ac_f in *\'*) ac_f=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
12965 as_fn_append ac_file_inputs " '$ac_f'"
12968 # Let's still pretend it is `configure' which instantiates (i.e., don't
12969 # use $as_me), people would be surprised to read:
12970 # /* config.h. Generated by config.status. */
12971 configure_input='Generated from '`
12972 $as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
12974 if test x"$ac_file" != x-; then
12975 configure_input="$ac_file. $configure_input"
12976 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5
12977 $as_echo "$as_me: creating $ac_file" >&6;}
12979 # Neutralize special characters interpreted by sed in replacement strings.
12980 case $configure_input in #(
12981 *\&* | *\|* | *\\* )
12982 ac_sed_conf_input=`$as_echo "$configure_input" |
12983 sed 's/[\\\\&|]/\\\\&/g'`;; #(
12984 *) ac_sed_conf_input=$configure_input;;
12988 *:-:* | *:-) cat >"$ac_tmp/stdin" \
12989 || as_fn_error $? "could not create $ac_file" "$LINENO" 5 ;;
12994 ac_dir=`$as_dirname -- "$ac_file" ||
12995 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
12996 X"$ac_file" : 'X\(//\)[^/]' \| \
12997 X"$ac_file" : 'X\(//\)$' \| \
12998 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
12999 $as_echo X"$ac_file" |
13000 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
13004 /^X\(\/\/\)[^/].*/{
13017 as_dir="$ac_dir"; as_fn_mkdir_p
13021 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
13023 ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
13024 # A ".." for each directory in $ac_dir_suffix.
13025 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
13026 case $ac_top_builddir_sub in
13027 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
13028 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
13031 ac_abs_top_builddir=$ac_pwd
13032 ac_abs_builddir=$ac_pwd$ac_dir_suffix
13033 # for backward compatibility:
13034 ac_top_builddir=$ac_top_build_prefix
13037 .) # We are building in place.
13039 ac_top_srcdir=$ac_top_builddir_sub
13040 ac_abs_top_srcdir=$ac_pwd ;;
13041 [\\/]* | ?:[\\/]* ) # Absolute name.
13042 ac_srcdir=$srcdir$ac_dir_suffix;
13043 ac_top_srcdir=$srcdir
13044 ac_abs_top_srcdir=$srcdir ;;
13045 *) # Relative name.
13046 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
13047 ac_top_srcdir=$ac_top_build_prefix$srcdir
13048 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
13050 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
13060 [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
13061 *) ac_INSTALL=$ac_top_build_prefix$INSTALL ;;
13063 ac_MKDIR_P=$MKDIR_P
13065 [\\/$]* | ?:[\\/]* ) ;;
13066 */*) ac_MKDIR_P=$ac_top_build_prefix$MKDIR_P ;;
13070 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
13071 # If the template does not know about datarootdir, expand it.
13072 # FIXME: This hack should be removed a few years after 2.60.
13073 ac_datarootdir_hack=; ac_datarootdir_seen=
13084 case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in
13085 *datarootdir*) ac_datarootdir_seen=yes;;
13086 *@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*)
13087 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
13088 $as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
13090 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
13091 ac_datarootdir_hack='
13092 s&@datadir@&$datadir&g
13093 s&@docdir@&$docdir&g
13094 s&@infodir@&$infodir&g
13095 s&@localedir@&$localedir&g
13096 s&@mandir@&$mandir&g
13097 s&\\\${datarootdir}&$datarootdir&g' ;;
13101 # Neutralize VPATH when `$srcdir' = `.'.
13102 # Shell code in configure.ac might set extrasub.
13103 # FIXME: do we really want to maintain this feature?
13104 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
13105 ac_sed_extra="$ac_vpsub
13108 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
13110 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
13111 s|@configure_input@|$ac_sed_conf_input|;t t
13112 s&@top_builddir@&$ac_top_builddir_sub&;t t
13113 s&@top_build_prefix@&$ac_top_build_prefix&;t t
13114 s&@srcdir@&$ac_srcdir&;t t
13115 s&@abs_srcdir@&$ac_abs_srcdir&;t t
13116 s&@top_srcdir@&$ac_top_srcdir&;t t
13117 s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t
13118 s&@builddir@&$ac_builddir&;t t
13119 s&@abs_builddir@&$ac_abs_builddir&;t t
13120 s&@abs_top_builddir@&$ac_abs_top_builddir&;t t
13121 s&@INSTALL@&$ac_INSTALL&;t t
13122 s&@MKDIR_P@&$ac_MKDIR_P&;t t
13123 $ac_datarootdir_hack
13125 eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$ac_tmp/subs.awk" \
13126 >$ac_tmp/out || as_fn_error $? "could not create $ac_file" "$LINENO" 5
13128 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
13129 { ac_out=`sed -n '/\${datarootdir}/p' "$ac_tmp/out"`; test -n "$ac_out"; } &&
13130 { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' \
13131 "$ac_tmp/out"`; test -z "$ac_out"; } &&
13132 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file contains a reference to the variable \`datarootdir'
13133 which seems to be undefined. Please make sure it is defined" >&5
13134 $as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir'
13135 which seems to be undefined. Please make sure it is defined" >&2;}
13137 rm -f "$ac_tmp/stdin"
13139 -) cat "$ac_tmp/out" && rm -f "$ac_tmp/out";;
13140 *) rm -f "$ac_file" && mv "$ac_tmp/out" "$ac_file";;
13142 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
13148 if test x"$ac_file" != x-; then
13150 $as_echo "/* $configure_input */" \
13151 && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs"
13152 } >"$ac_tmp/config.h" \
13153 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
13154 if diff "$ac_file" "$ac_tmp/config.h" >/dev/null 2>&1; then
13155 { $as_echo "$as_me:${as_lineno-$LINENO}: $ac_file is unchanged" >&5
13156 $as_echo "$as_me: $ac_file is unchanged" >&6;}
13159 mv "$ac_tmp/config.h" "$ac_file" \
13160 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
13163 $as_echo "/* $configure_input */" \
13164 && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs" \
13165 || as_fn_error $? "could not create -" "$LINENO" 5
13167 # Compute "$ac_file"'s index in $config_headers.
13170 for _am_header in $config_headers :; do
13171 case $_am_header in
13172 $_am_arg | $_am_arg:* )
13175 _am_stamp_count=`expr $_am_stamp_count + 1` ;;
13178 echo "timestamp for $_am_arg" >`$as_dirname -- "$_am_arg" ||
13179 $as_expr X"$_am_arg" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
13180 X"$_am_arg" : 'X\(//\)[^/]' \| \
13181 X"$_am_arg" : 'X\(//\)$' \| \
13182 X"$_am_arg" : 'X\(/\)' \| . 2>/dev/null ||
13183 $as_echo X"$_am_arg" |
13184 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
13188 /^X\(\/\/\)[^/].*/{
13200 s/.*/./; q'`/stamp-h$_am_stamp_count
13203 :C) { $as_echo "$as_me:${as_lineno-$LINENO}: executing $ac_file commands" >&5
13204 $as_echo "$as_me: executing $ac_file commands" >&6;}
13209 case $ac_file$ac_mode in
13210 "depfiles":C) test x"$AMDEP_TRUE" != x"" || {
13211 # Autoconf 2.62 quotes --file arguments for eval, but not when files
13212 # are listed without --file. Let's play safe and only enable the eval
13213 # if we detect the quoting.
13214 case $CONFIG_FILES in
13215 *\'*) eval set x "$CONFIG_FILES" ;;
13216 *) set x $CONFIG_FILES ;;
13221 # Strip MF so we end up with the name of the file.
13222 mf=`echo "$mf" | sed -e 's/:.*$//'`
13223 # Check whether this is an Automake generated Makefile or not.
13224 # We used to match only the files named `Makefile.in', but
13225 # some people rename them; so instead we look at the file content.
13226 # Grep'ing the first line is not enough: some people post-process
13227 # each Makefile.in and add a new line on top of each file to say so.
13228 # Grep'ing the whole file is not good either: AIX grep has a line
13229 # limit of 2048, but all sed's we know have understand at least 4000.
13230 if sed -n 's,^#.*generated by automake.*,X,p' "$mf" | grep X >/dev/null 2>&1; then
13231 dirpart=`$as_dirname -- "$mf" ||
13232 $as_expr X"$mf" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
13233 X"$mf" : 'X\(//\)[^/]' \| \
13234 X"$mf" : 'X\(//\)$' \| \
13235 X"$mf" : 'X\(/\)' \| . 2>/dev/null ||
13237 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
13241 /^X\(\/\/\)[^/].*/{
13257 # Extract the definition of DEPDIR, am__include, and am__quote
13258 # from the Makefile without running `make'.
13259 DEPDIR=`sed -n 's/^DEPDIR = //p' < "$mf"`
13260 test -z "$DEPDIR" && continue
13261 am__include=`sed -n 's/^am__include = //p' < "$mf"`
13262 test -z "am__include" && continue
13263 am__quote=`sed -n 's/^am__quote = //p' < "$mf"`
13264 # When using ansi2knr, U may be empty or an underscore; expand it
13265 U=`sed -n 's/^U = //p' < "$mf"`
13266 # Find all dependency output files, they are included files with
13267 # $(DEPDIR) in their names. We invoke sed twice because it is the
13268 # simplest approach to changing $(DEPDIR) to its actual value in the
13270 for file in `sed -n "
13271 s/^$am__include $am__quote\(.*(DEPDIR).*\)$am__quote"'$/\1/p' <"$mf" | \
13272 sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g' -e 's/\$U/'"$U"'/g'`; do
13273 # Make sure the directory exists.
13274 test -f "$dirpart/$file" && continue
13275 fdir=`$as_dirname -- "$file" ||
13276 $as_expr X"$file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
13277 X"$file" : 'X\(//\)[^/]' \| \
13278 X"$file" : 'X\(//\)$' \| \
13279 X"$file" : 'X\(/\)' \| . 2>/dev/null ||
13280 $as_echo X"$file" |
13281 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
13285 /^X\(\/\/\)[^/].*/{
13298 as_dir=$dirpart/$fdir; as_fn_mkdir_p
13299 # echo "creating $dirpart/$file"
13300 echo '# dummy' > "$dirpart/$file"
13307 # See if we are running on zsh, and set the options which allow our
13308 # commands through without removal of \ escapes.
13309 if test -n "${ZSH_VERSION+set}" ; then
13310 setopt NO_GLOB_SUBST
13313 cfgfile="${ofile}T"
13314 trap "$RM \"$cfgfile\"; exit 1" 1 2 15
13317 cat <<_LT_EOF >> "$cfgfile"
13320 # `$ECHO "$ofile" | sed 's%^.*/%%'` - Provide generalized library-building support services.
13321 # Generated automatically by $as_me ($PACKAGE$TIMESTAMP) $VERSION
13322 # Libtool was configured on host `(hostname || uname -n) 2>/dev/null | sed 1q`:
13323 # NOTE: Changes made to this file will be lost: look at ltmain.sh.
13325 # Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2003, 2004, 2005,
13326 # 2006, 2007, 2008, 2009, 2010, 2011 Free Software
13328 # Written by Gordon Matzigkeit, 1996
13330 # This file is part of GNU Libtool.
13332 # GNU Libtool is free software; you can redistribute it and/or
13333 # modify it under the terms of the GNU General Public License as
13334 # published by the Free Software Foundation; either version 2 of
13335 # the License, or (at your option) any later version.
13337 # As a special exception to the GNU General Public License,
13338 # if you distribute this file as part of a program or library that
13339 # is built using GNU Libtool, you may include this file under the
13340 # same distribution terms that you use for the rest of that program.
13342 # GNU Libtool is distributed in the hope that it will be useful,
13343 # but WITHOUT ANY WARRANTY; without even the implied warranty of
13344 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
13345 # GNU General Public License for more details.
13347 # You should have received a copy of the GNU General Public License
13348 # along with GNU Libtool; see the file COPYING. If not, a copy
13349 # can be downloaded from http://www.gnu.org/licenses/gpl.html, or
13350 # obtained by writing to the Free Software Foundation, Inc.,
13351 # 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
13354 # The names of the tagged configurations supported by this script.
13357 # ### BEGIN LIBTOOL CONFIG
13359 # Which release of libtool.m4 was used?
13360 macro_version=$macro_version
13361 macro_revision=$macro_revision
13363 # Whether or not to build shared libraries.
13364 build_libtool_libs=$enable_shared
13366 # Whether or not to build static libraries.
13367 build_old_libs=$enable_static
13369 # What type of objects to build.
13372 # Whether or not to optimize for fast installation.
13373 fast_install=$enable_fast_install
13375 # Shell to use when invoking shell scripts.
13378 # An echo program that protects backslashes.
13381 # The PATH separator for the build system.
13382 PATH_SEPARATOR=$lt_PATH_SEPARATOR
13385 host_alias=$host_alias
13389 # The build system.
13390 build_alias=$build_alias
13394 # A sed program that does not truncate output.
13397 # Sed that helps us avoid accidentally triggering echo(1) options like -n.
13398 Xsed="\$SED -e 1s/^X//"
13400 # A grep program that handles long lines.
13406 # A literal string matcher.
13409 # A BSD- or MS-compatible name lister.
13412 # Whether we need soft or hard links.
13415 # What is the maximum length of a command?
13416 max_cmd_len=$max_cmd_len
13418 # Object file suffix (normally "o").
13421 # Executable file suffix (normally "").
13424 # whether the shell understands "unset".
13427 # turn spaces into newlines.
13430 # turn newlines into spaces.
13433 # convert \$build file names to \$host format.
13434 to_host_file_cmd=$lt_cv_to_host_file_cmd
13436 # convert \$build files to toolchain format.
13437 to_tool_file_cmd=$lt_cv_to_tool_file_cmd
13439 # An object symbol dumper.
13440 OBJDUMP=$lt_OBJDUMP
13442 # Method to check whether dependent libraries are shared objects.
13443 deplibs_check_method=$lt_deplibs_check_method
13445 # Command to use when deplibs_check_method = "file_magic".
13446 file_magic_cmd=$lt_file_magic_cmd
13448 # How to find potential files when deplibs_check_method = "file_magic".
13449 file_magic_glob=$lt_file_magic_glob
13451 # Find potential files using nocaseglob when deplibs_check_method = "file_magic".
13452 want_nocaseglob=$lt_want_nocaseglob
13454 # DLL creation program.
13455 DLLTOOL=$lt_DLLTOOL
13457 # Command to associate shared and link libraries.
13458 sharedlib_from_linklib_cmd=$lt_sharedlib_from_linklib_cmd
13463 # Flags to create an archive.
13464 AR_FLAGS=$lt_AR_FLAGS
13466 # How to feed a file listing to the archiver.
13467 archiver_list_spec=$lt_archiver_list_spec
13469 # A symbol stripping program.
13472 # Commands used to install an old-style archive.
13474 old_postinstall_cmds=$lt_old_postinstall_cmds
13475 old_postuninstall_cmds=$lt_old_postuninstall_cmds
13477 # Whether to use a lock for old archive extraction.
13478 lock_old_archive_extraction=$lock_old_archive_extraction
13483 # LTCC compiler flags.
13484 LTCFLAGS=$lt_CFLAGS
13486 # Take the output of nm and produce a listing of raw symbols and C names.
13487 global_symbol_pipe=$lt_lt_cv_sys_global_symbol_pipe
13489 # Transform the output of nm in a proper C declaration.
13490 global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl
13492 # Transform the output of nm in a C name address pair.
13493 global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address
13495 # Transform the output of nm in a C name address pair when lib prefix is needed.
13496 global_symbol_to_c_name_address_lib_prefix=$lt_lt_cv_sys_global_symbol_to_c_name_address_lib_prefix
13498 # Specify filename containing input files for \$NM.
13499 nm_file_list_spec=$lt_nm_file_list_spec
13501 # The root where to search for dependent libraries,and in which our libraries should be installed.
13502 lt_sysroot=$lt_sysroot
13504 # The name of the directory that contains temporary libtool files.
13507 # Used to examine libraries when file_magic_cmd begins with "file".
13508 MAGIC_CMD=$MAGIC_CMD
13510 # Must we lock files when doing compilation?
13511 need_locks=$lt_need_locks
13514 MANIFEST_TOOL=$lt_MANIFEST_TOOL
13516 # Tool to manipulate archived DWARF debug symbol files on Mac OS X.
13517 DSYMUTIL=$lt_DSYMUTIL
13519 # Tool to change global to local symbols on Mac OS X.
13522 # Tool to manipulate fat objects and archives on Mac OS X.
13525 # ldd/readelf like tool for Mach-O binaries on Mac OS X.
13528 # ldd/readelf like tool for 64 bit Mach-O binaries on Mac OS X 10.4.
13529 OTOOL64=$lt_OTOOL64
13531 # Old archive suffix (normally "a").
13534 # Shared library suffix (normally ".so").
13535 shrext_cmds=$lt_shrext_cmds
13537 # The commands to extract the exported symbol list from a shared archive.
13538 extract_expsyms_cmds=$lt_extract_expsyms_cmds
13540 # Variables whose values should be saved in libtool wrapper scripts and
13541 # restored at link time.
13542 variables_saved_for_relink=$lt_variables_saved_for_relink
13544 # Do we need the "lib" prefix for modules?
13545 need_lib_prefix=$need_lib_prefix
13547 # Do we need a version for libraries?
13548 need_version=$need_version
13550 # Library versioning type.
13551 version_type=$version_type
13553 # Shared library runtime path variable.
13554 runpath_var=$runpath_var
13556 # Shared library path variable.
13557 shlibpath_var=$shlibpath_var
13559 # Is shlibpath searched before the hard-coded library search path?
13560 shlibpath_overrides_runpath=$shlibpath_overrides_runpath
13562 # Format of library name prefix.
13563 libname_spec=$lt_libname_spec
13565 # List of archive names. First name is the real one, the rest are links.
13566 # The last name is the one that the linker finds with -lNAME
13567 library_names_spec=$lt_library_names_spec
13569 # The coded name of the library, if different from the real name.
13570 soname_spec=$lt_soname_spec
13572 # Permission mode override for installation of shared libraries.
13573 install_override_mode=$lt_install_override_mode
13575 # Command to use after installation of a shared archive.
13576 postinstall_cmds=$lt_postinstall_cmds
13578 # Command to use after uninstallation of a shared archive.
13579 postuninstall_cmds=$lt_postuninstall_cmds
13581 # Commands used to finish a libtool library installation in a directory.
13582 finish_cmds=$lt_finish_cmds
13584 # As "finish_cmds", except a single script fragment to be evaled but
13586 finish_eval=$lt_finish_eval
13588 # Whether we should hardcode library paths into libraries.
13589 hardcode_into_libs=$hardcode_into_libs
13591 # Compile-time system search path for libraries.
13592 sys_lib_search_path_spec=$lt_sys_lib_search_path_spec
13594 # Run-time system search path for libraries.
13595 sys_lib_dlsearch_path_spec=$lt_sys_lib_dlsearch_path_spec
13597 # Whether dlopen is supported.
13598 dlopen_support=$enable_dlopen
13600 # Whether dlopen of programs is supported.
13601 dlopen_self=$enable_dlopen_self
13603 # Whether dlopen of statically linked programs is supported.
13604 dlopen_self_static=$enable_dlopen_self_static
13606 # Commands to strip libraries.
13607 old_striplib=$lt_old_striplib
13608 striplib=$lt_striplib
13611 # The linker used to build libraries.
13614 # How to create reloadable object files.
13615 reload_flag=$lt_reload_flag
13616 reload_cmds=$lt_reload_cmds
13618 # Commands used to build an old-style archive.
13619 old_archive_cmds=$lt_old_archive_cmds
13621 # A language specific compiler.
13624 # Is the compiler the GNU compiler?
13627 # Compiler flag to turn off builtin functions.
13628 no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag
13630 # Additional compiler flags for building library objects.
13631 pic_flag=$lt_lt_prog_compiler_pic
13633 # How to pass a linker flag through the compiler.
13634 wl=$lt_lt_prog_compiler_wl
13636 # Compiler flag to prevent dynamic linking.
13637 link_static_flag=$lt_lt_prog_compiler_static
13639 # Does compiler simultaneously support -c and -o options?
13640 compiler_c_o=$lt_lt_cv_prog_compiler_c_o
13642 # Whether or not to add -lc for building shared libraries.
13643 build_libtool_need_lc=$archive_cmds_need_lc
13645 # Whether or not to disallow shared libs when runtime libs are static.
13646 allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes
13648 # Compiler flag to allow reflexive dlopens.
13649 export_dynamic_flag_spec=$lt_export_dynamic_flag_spec
13651 # Compiler flag to generate shared objects directly from archives.
13652 whole_archive_flag_spec=$lt_whole_archive_flag_spec
13654 # Whether the compiler copes with passing no objects directly.
13655 compiler_needs_object=$lt_compiler_needs_object
13657 # Create an old-style archive from a shared archive.
13658 old_archive_from_new_cmds=$lt_old_archive_from_new_cmds
13660 # Create a temporary old-style archive to link instead of a shared archive.
13661 old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds
13663 # Commands used to build a shared archive.
13664 archive_cmds=$lt_archive_cmds
13665 archive_expsym_cmds=$lt_archive_expsym_cmds
13667 # Commands used to build a loadable module if different from building
13668 # a shared archive.
13669 module_cmds=$lt_module_cmds
13670 module_expsym_cmds=$lt_module_expsym_cmds
13672 # Whether we are building with GNU ld or not.
13673 with_gnu_ld=$lt_with_gnu_ld
13675 # Flag that allows shared libraries with undefined symbols to be built.
13676 allow_undefined_flag=$lt_allow_undefined_flag
13678 # Flag that enforces no undefined symbols.
13679 no_undefined_flag=$lt_no_undefined_flag
13681 # Flag to hardcode \$libdir into a binary during linking.
13682 # This must work even if \$libdir does not exist
13683 hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec
13685 # Whether we need a single "-rpath" flag with a separated argument.
13686 hardcode_libdir_separator=$lt_hardcode_libdir_separator
13688 # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
13689 # DIR into the resulting binary.
13690 hardcode_direct=$hardcode_direct
13692 # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
13693 # DIR into the resulting binary and the resulting library dependency is
13694 # "absolute",i.e impossible to change by setting \${shlibpath_var} if the
13695 # library is relocated.
13696 hardcode_direct_absolute=$hardcode_direct_absolute
13698 # Set to "yes" if using the -LDIR flag during linking hardcodes DIR
13699 # into the resulting binary.
13700 hardcode_minus_L=$hardcode_minus_L
13702 # Set to "yes" if using SHLIBPATH_VAR=DIR during linking hardcodes DIR
13703 # into the resulting binary.
13704 hardcode_shlibpath_var=$hardcode_shlibpath_var
13706 # Set to "yes" if building a shared library automatically hardcodes DIR
13707 # into the library and all subsequent libraries and executables linked
13709 hardcode_automatic=$hardcode_automatic
13711 # Set to yes if linker adds runtime paths of dependent libraries
13712 # to runtime path list.
13713 inherit_rpath=$inherit_rpath
13715 # Whether libtool must link a program against all its dependency libraries.
13716 link_all_deplibs=$link_all_deplibs
13718 # Set to "yes" if exported symbols are required.
13719 always_export_symbols=$always_export_symbols
13721 # The commands to list exported symbols.
13722 export_symbols_cmds=$lt_export_symbols_cmds
13724 # Symbols that should not be listed in the preloaded symbols.
13725 exclude_expsyms=$lt_exclude_expsyms
13727 # Symbols that must always be exported.
13728 include_expsyms=$lt_include_expsyms
13730 # Commands necessary for linking programs (against libraries) with templates.
13731 prelink_cmds=$lt_prelink_cmds
13733 # Commands necessary for finishing linking programs.
13734 postlink_cmds=$lt_postlink_cmds
13736 # Specify filename containing input files.
13737 file_list_spec=$lt_file_list_spec
13739 # How to hardcode a shared library path into an executable.
13740 hardcode_action=$hardcode_action
13742 # ### END LIBTOOL CONFIG
13748 cat <<\_LT_EOF >> "$cfgfile"
13749 # AIX sometimes has problems with the GCC collect2 program. For some
13750 # reason, if we set the COLLECT_NAMES environment variable, the problems
13751 # vanish in a puff of smoke.
13752 if test "X${COLLECT_NAMES+set}" != Xset; then
13754 export COLLECT_NAMES
13761 ltmain="$ac_aux_dir/ltmain.sh"
13764 # We use sed instead of cat because bash on DJGPP gets confused if
13765 # if finds mixed CR/LF and LF-only lines. Since sed operates in
13766 # text mode, it properly converts lines to CR/LF. This bash problem
13767 # is reportedly fixed, but why not run on old versions too?
13768 sed '$q' "$ltmain" >> "$cfgfile" \
13769 || (rm -f "$cfgfile"; exit 1)
13771 if test x"$xsi_shell" = xyes; then
13772 sed -e '/^func_dirname ()$/,/^} # func_dirname /c\
13776 \ */*) func_dirname_result="${1%/*}${2}" ;;\
13777 \ * ) func_dirname_result="${3}" ;;\
13779 } # Extended-shell func_dirname implementation' "$cfgfile" > $cfgfile.tmp \
13780 && mv -f "$cfgfile.tmp" "$cfgfile" \
13781 || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
13782 test 0 -eq $? || _lt_function_replace_fail=:
13785 sed -e '/^func_basename ()$/,/^} # func_basename /c\
13788 \ func_basename_result="${1##*/}"\
13789 } # Extended-shell func_basename implementation' "$cfgfile" > $cfgfile.tmp \
13790 && mv -f "$cfgfile.tmp" "$cfgfile" \
13791 || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
13792 test 0 -eq $? || _lt_function_replace_fail=:
13795 sed -e '/^func_dirname_and_basename ()$/,/^} # func_dirname_and_basename /c\
13796 func_dirname_and_basename ()\
13799 \ */*) func_dirname_result="${1%/*}${2}" ;;\
13800 \ * ) func_dirname_result="${3}" ;;\
13802 \ func_basename_result="${1##*/}"\
13803 } # Extended-shell func_dirname_and_basename implementation' "$cfgfile" > $cfgfile.tmp \
13804 && mv -f "$cfgfile.tmp" "$cfgfile" \
13805 || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
13806 test 0 -eq $? || _lt_function_replace_fail=:
13809 sed -e '/^func_stripname ()$/,/^} # func_stripname /c\
13812 \ # pdksh 5.2.14 does not do ${X%$Y} correctly if both X and Y are\
13813 \ # positional parameters, so assign one to ordinary parameter first.\
13814 \ func_stripname_result=${3}\
13815 \ func_stripname_result=${func_stripname_result#"${1}"}\
13816 \ func_stripname_result=${func_stripname_result%"${2}"}\
13817 } # Extended-shell func_stripname implementation' "$cfgfile" > $cfgfile.tmp \
13818 && mv -f "$cfgfile.tmp" "$cfgfile" \
13819 || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
13820 test 0 -eq $? || _lt_function_replace_fail=:
13823 sed -e '/^func_split_long_opt ()$/,/^} # func_split_long_opt /c\
13824 func_split_long_opt ()\
13826 \ func_split_long_opt_name=${1%%=*}\
13827 \ func_split_long_opt_arg=${1#*=}\
13828 } # Extended-shell func_split_long_opt implementation' "$cfgfile" > $cfgfile.tmp \
13829 && mv -f "$cfgfile.tmp" "$cfgfile" \
13830 || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
13831 test 0 -eq $? || _lt_function_replace_fail=:
13834 sed -e '/^func_split_short_opt ()$/,/^} # func_split_short_opt /c\
13835 func_split_short_opt ()\
13837 \ func_split_short_opt_arg=${1#??}\
13838 \ func_split_short_opt_name=${1%"$func_split_short_opt_arg"}\
13839 } # Extended-shell func_split_short_opt implementation' "$cfgfile" > $cfgfile.tmp \
13840 && mv -f "$cfgfile.tmp" "$cfgfile" \
13841 || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
13842 test 0 -eq $? || _lt_function_replace_fail=:
13845 sed -e '/^func_lo2o ()$/,/^} # func_lo2o /c\
13849 \ *.lo) func_lo2o_result=${1%.lo}.${objext} ;;\
13850 \ *) func_lo2o_result=${1} ;;\
13852 } # Extended-shell func_lo2o implementation' "$cfgfile" > $cfgfile.tmp \
13853 && mv -f "$cfgfile.tmp" "$cfgfile" \
13854 || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
13855 test 0 -eq $? || _lt_function_replace_fail=:
13858 sed -e '/^func_xform ()$/,/^} # func_xform /c\
13861 func_xform_result=${1%.*}.lo\
13862 } # Extended-shell func_xform implementation' "$cfgfile" > $cfgfile.tmp \
13863 && mv -f "$cfgfile.tmp" "$cfgfile" \
13864 || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
13865 test 0 -eq $? || _lt_function_replace_fail=:
13868 sed -e '/^func_arith ()$/,/^} # func_arith /c\
13871 func_arith_result=$(( $* ))\
13872 } # Extended-shell func_arith implementation' "$cfgfile" > $cfgfile.tmp \
13873 && mv -f "$cfgfile.tmp" "$cfgfile" \
13874 || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
13875 test 0 -eq $? || _lt_function_replace_fail=:
13878 sed -e '/^func_len ()$/,/^} # func_len /c\
13881 func_len_result=${#1}\
13882 } # Extended-shell func_len implementation' "$cfgfile" > $cfgfile.tmp \
13883 && mv -f "$cfgfile.tmp" "$cfgfile" \
13884 || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
13885 test 0 -eq $? || _lt_function_replace_fail=:
13889 if test x"$lt_shell_append" = xyes; then
13890 sed -e '/^func_append ()$/,/^} # func_append /c\
13893 eval "${1}+=\\${2}"\
13894 } # Extended-shell func_append implementation' "$cfgfile" > $cfgfile.tmp \
13895 && mv -f "$cfgfile.tmp" "$cfgfile" \
13896 || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
13897 test 0 -eq $? || _lt_function_replace_fail=:
13900 sed -e '/^func_append_quoted ()$/,/^} # func_append_quoted /c\
13901 func_append_quoted ()\
13903 \ func_quote_for_eval "${2}"\
13904 \ eval "${1}+=\\\\ \\$func_quote_for_eval_result"\
13905 } # Extended-shell func_append_quoted implementation' "$cfgfile" > $cfgfile.tmp \
13906 && mv -f "$cfgfile.tmp" "$cfgfile" \
13907 || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
13908 test 0 -eq $? || _lt_function_replace_fail=:
13911 # Save a `func_append' function call where possible by direct use of '+='
13912 sed -e 's%func_append \([a-zA-Z_]\{1,\}\) "%\1+="%g' $cfgfile > $cfgfile.tmp \
13913 && mv -f "$cfgfile.tmp" "$cfgfile" \
13914 || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
13915 test 0 -eq $? || _lt_function_replace_fail=:
13917 # Save a `func_append' function call even when '+=' is not available
13918 sed -e 's%func_append \([a-zA-Z_]\{1,\}\) "%\1="$\1%g' $cfgfile > $cfgfile.tmp \
13919 && mv -f "$cfgfile.tmp" "$cfgfile" \
13920 || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
13921 test 0 -eq $? || _lt_function_replace_fail=:
13924 if test x"$_lt_function_replace_fail" = x":"; then
13925 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Unable to substitute extended shell functions in $ofile" >&5
13926 $as_echo "$as_me: WARNING: Unable to substitute extended shell functions in $ofile" >&2;}
13930 mv -f "$cfgfile" "$ofile" ||
13931 (rm -f "$ofile" && cp "$cfgfile" "$ofile" && rm -f "$cfgfile")
13942 ac_clean_files=$ac_clean_files_save
13944 test $ac_write_fail = 0 ||
13945 as_fn_error $? "write failure creating $CONFIG_STATUS" "$LINENO" 5
13948 # configure is writing to config.log, and then calls config.status.
13949 # config.status does its own redirection, appending to config.log.
13950 # Unfortunately, on DOS this fails, as config.log is still kept open
13951 # by configure, so config.status won't be able to write to it; its
13952 # output is simply discarded. So we exec the FD to /dev/null,
13953 # effectively closing config.log, so it can be properly (re)opened and
13954 # appended to by config.status. When coming back to configure, we
13955 # need to make the FD available again.
13956 if test "$no_create" != yes; then
13958 ac_config_status_args=
13959 test "$silent" = yes &&
13960 ac_config_status_args="$ac_config_status_args --quiet"
13962 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
13964 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
13965 # would make configure fail if this is the last instruction.
13966 $ac_cs_success || as_fn_exit 1
13968 if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no; then
13969 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
13970 $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}