2 # Guess values for system-dependent variables and create Makefiles.
3 # Generated by GNU Autoconf 2.68.
6 # Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001,
7 # 2002, 2003, 2004, 2005, 2006, 2007, 2008, 2009, 2010 Free Software
11 # This configure script is free software; the Free Software Foundation
12 # gives unlimited permission to copy, distribute and modify it.
13 ## -------------------- ##
14 ## M4sh Initialization. ##
15 ## -------------------- ##
17 # Be more Bourne compatible
18 DUALCASE=1; export DUALCASE # for MKS sh
19 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :
22 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
23 # is contrary to our usage. Disable this feature.
24 alias -g '${1+"$@"}'='"$@"'
27 case `(set -o) 2>/dev/null` in #(
39 # Printing a long string crashes Solaris 7 /usr/bin/printf.
40 as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
41 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
42 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
43 # Prefer a ksh shell builtin over an external printf program on Solaris,
44 # but without wasting forks for bash or zsh.
45 if test -z "$BASH_VERSION$ZSH_VERSION" \
46 && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
48 as_echo_n='print -rn --'
49 elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
53 if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
54 as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
55 as_echo_n='/usr/ucb/echo -n'
57 as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
62 expr "X$arg" : "X\\(.*\\)$as_nl";
63 arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
65 expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
68 as_echo_n='sh -c $as_echo_n_body as_echo'
71 as_echo='sh -c $as_echo_body as_echo'
74 # The user is always right.
75 if test "${PATH_SEPARATOR+set}" != set; then
77 (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
78 (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
85 # We need space, tab and new line, in precisely that order. Quoting is
86 # there to prevent editors from complaining about space-tab.
87 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
88 # splitting by setting IFS to empty value.)
91 # Find who we are. Look in the path if we contain no directory separator.
94 *[\\/]* ) as_myself=$0 ;;
95 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
99 test -z "$as_dir" && as_dir=.
100 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
106 # We did not find ourselves, most probably we were run as `sh COMMAND'
107 # in which case we are not to be found in the path.
108 if test "x$as_myself" = x; then
111 if test ! -f "$as_myself"; then
112 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
116 # Unset variables that we do not need and which cause bugs (e.g. in
117 # pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1"
118 # suppresses any "Segmentation fault" message there. '((' could
119 # trigger a bug in pdksh 5.2.14.
120 for as_var in BASH_ENV ENV MAIL MAILPATH
121 do eval test x\${$as_var+set} = xset \
122 && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
135 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
137 if test "x$CONFIG_SHELL" = x; then
138 as_bourne_compatible="if test -n \"\${ZSH_VERSION+set}\" && (emulate sh) >/dev/null 2>&1; then :
141 # Pre-4.2 versions of Zsh do word splitting on \${1+\"\$@\"}, which
142 # is contrary to our usage. Disable this feature.
143 alias -g '\${1+\"\$@\"}'='\"\$@\"'
146 case \`(set -o) 2>/dev/null\` in #(
154 as_required="as_fn_return () { (exit \$1); }
155 as_fn_success () { as_fn_return 0; }
156 as_fn_failure () { as_fn_return 1; }
157 as_fn_ret_success () { return 0; }
158 as_fn_ret_failure () { return 1; }
161 as_fn_success || { exitcode=1; echo as_fn_success failed.; }
162 as_fn_failure && { exitcode=1; echo as_fn_failure succeeded.; }
163 as_fn_ret_success || { exitcode=1; echo as_fn_ret_success failed.; }
164 as_fn_ret_failure && { exitcode=1; echo as_fn_ret_failure succeeded.; }
165 if ( set x; as_fn_ret_success y && test x = \"\$1\" ); then :
168 exitcode=1; echo positional parameters were not saved.
170 test x\$exitcode = x0 || exit 1"
171 as_suggested=" as_lineno_1=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_1a=\$LINENO
172 as_lineno_2=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_2a=\$LINENO
173 eval 'test \"x\$as_lineno_1'\$as_run'\" != \"x\$as_lineno_2'\$as_run'\" &&
174 test \"x\`expr \$as_lineno_1'\$as_run' + 1\`\" = \"x\$as_lineno_2'\$as_run'\"' || exit 1
176 test -n \"\${ZSH_VERSION+set}\${BASH_VERSION+set}\" || (
177 ECHO='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
178 ECHO=\$ECHO\$ECHO\$ECHO\$ECHO\$ECHO
179 ECHO=\$ECHO\$ECHO\$ECHO\$ECHO\$ECHO\$ECHO
180 PATH=/empty FPATH=/empty; export PATH FPATH
181 test \"X\`printf %s \$ECHO\`\" = \"X\$ECHO\" \\
182 || test \"X\`print -r -- \$ECHO\`\" = \"X\$ECHO\" ) || exit 1
183 test \$(( 1 + 1 )) = 2 || exit 1"
184 if (eval "$as_required") 2>/dev/null; then :
189 if test x$as_have_required = xyes && (eval "$as_suggested") 2>/dev/null; then :
192 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
194 for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
197 test -z "$as_dir" && as_dir=.
201 for as_base in sh bash ksh sh5; do
202 # Try only shells that exist, to save several forks.
203 as_shell=$as_dir/$as_base
204 if { test -f "$as_shell" || test -f "$as_shell.exe"; } &&
205 { $as_echo "$as_bourne_compatible""$as_required" | as_run=a "$as_shell"; } 2>/dev/null; then :
206 CONFIG_SHELL=$as_shell as_have_required=yes
207 if { $as_echo "$as_bourne_compatible""$as_suggested" | as_run=a "$as_shell"; } 2>/dev/null; then :
215 $as_found || { if { test -f "$SHELL" || test -f "$SHELL.exe"; } &&
216 { $as_echo "$as_bourne_compatible""$as_required" | as_run=a "$SHELL"; } 2>/dev/null; then :
217 CONFIG_SHELL=$SHELL as_have_required=yes
222 if test "x$CONFIG_SHELL" != x; then :
223 # We cannot yet assume a decent shell, so we have to provide a
224 # neutralization value for shells without unset; and this also
225 # works around shells that cannot unset nonexistent variables.
226 # Preserve -v and -x to the replacement shell.
229 (unset BASH_ENV) >/dev/null 2>&1 && unset BASH_ENV ENV
232 *v*x* | *x*v* ) as_opts=-vx ;;
237 exec "$CONFIG_SHELL" $as_opts "$as_myself" ${1+"$@"}
240 if test x$as_have_required = xno; then :
241 $as_echo "$0: This script requires a shell more modern than all"
242 $as_echo "$0: the shells that I found on your system."
243 if test x${ZSH_VERSION+set} = xset ; then
244 $as_echo "$0: In particular, zsh $ZSH_VERSION has bugs and should"
245 $as_echo "$0: be upgraded to zsh 4.3.4 or later."
247 $as_echo "$0: Please tell bug-autoconf@gnu.org about your system,
248 $0: including any error possibly output before this
249 $0: message. Then install a modern shell, or manually run
250 $0: the script under such a shell if you do have one."
256 SHELL=${CONFIG_SHELL-/bin/sh}
258 # Unset more variables known to interfere with behavior of common tools.
259 CLICOLOR_FORCE= GREP_OPTIONS=
260 unset CLICOLOR_FORCE GREP_OPTIONS
262 ## --------------------- ##
263 ## M4sh Shell Functions. ##
264 ## --------------------- ##
267 # Portably unset VAR.
270 { eval $1=; unset $1;}
274 # as_fn_set_status STATUS
275 # -----------------------
276 # Set $? to STATUS, without forking.
284 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
294 # Create "$as_dir" as a directory, including parents if necessary.
299 -*) as_dir=./$as_dir;;
301 test -d "$as_dir" || eval $as_mkdir_p || {
305 *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
308 as_dirs="'$as_qdir' $as_dirs"
309 as_dir=`$as_dirname -- "$as_dir" ||
310 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
311 X"$as_dir" : 'X\(//\)[^/]' \| \
312 X"$as_dir" : 'X\(//\)$' \| \
313 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
314 $as_echo X"$as_dir" |
315 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
332 test -d "$as_dir" && break
334 test -z "$as_dirs" || eval "mkdir $as_dirs"
335 } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir"
339 # as_fn_append VAR VALUE
340 # ----------------------
341 # Append the text in VALUE to the end of the definition contained in VAR. Take
342 # advantage of any shell optimizations that allow amortized linear growth over
343 # repeated appends, instead of the typical quadratic growth present in naive
345 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
346 eval 'as_fn_append ()
359 # Perform arithmetic evaluation on the ARGs, and store the result in the
360 # global $as_val. Take advantage of shells that can avoid forks. The arguments
361 # must be portable across $(()) and expr.
362 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
370 as_val=`expr "$@" || test $? -eq 1`
375 # as_fn_error STATUS ERROR [LINENO LOG_FD]
376 # ----------------------------------------
377 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
378 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
379 # script with STATUS, using 1 if that was 0.
382 as_status=$1; test $as_status -eq 0 && as_status=1
384 as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
385 $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
387 $as_echo "$as_me: error: $2" >&2
388 as_fn_exit $as_status
391 if expr a : '\(a\)' >/dev/null 2>&1 &&
392 test "X`expr 00001 : '.*\(...\)'`" = X001; then
398 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
404 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
410 as_me=`$as_basename -- "$0" ||
411 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
412 X"$0" : 'X\(//\)$' \| \
413 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
415 sed '/^.*\/\([^/][^/]*\)\/*$/{
429 # Avoid depending upon Character Ranges.
430 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
431 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
432 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
433 as_cr_digits='0123456789'
434 as_cr_alnum=$as_cr_Letters$as_cr_digits
437 as_lineno_1=$LINENO as_lineno_1a=$LINENO
438 as_lineno_2=$LINENO as_lineno_2a=$LINENO
439 eval 'test "x$as_lineno_1'$as_run'" != "x$as_lineno_2'$as_run'" &&
440 test "x`expr $as_lineno_1'$as_run' + 1`" = "x$as_lineno_2'$as_run'"' || {
441 # Blame Lee E. McMahon (1931-1989) for sed's syntax. :-)
453 s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
457 chmod +x "$as_me.lineno" ||
458 { $as_echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2; as_fn_exit 1; }
460 # Don't try to exec as it changes $[0], causing all sort of problems
461 # (the dirname of $[0] is not the place where we might find the
462 # original and so on. Autoconf is especially sensitive to this).
464 # Exit status is that of the last command.
468 ECHO_C= ECHO_N= ECHO_T=
469 case `echo -n x` in #(((((
471 case `echo 'xy\c'` in
472 *c*) ECHO_T=' ';; # ECHO_T is single tab character.
474 *) echo `echo ksh88 bug on AIX 6.1` > /dev/null
481 rm -f conf$$ conf$$.exe conf$$.file
482 if test -d conf$$.dir; then
483 rm -f conf$$.dir/conf$$.file
486 mkdir conf$$.dir 2>/dev/null
488 if (echo >conf$$.file) 2>/dev/null; then
489 if ln -s conf$$.file conf$$ 2>/dev/null; then
491 # ... but there are two gotchas:
492 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
493 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
494 # In both cases, we have to default to `cp -p'.
495 ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
497 elif ln conf$$.file conf$$ 2>/dev/null; then
505 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
506 rmdir conf$$.dir 2>/dev/null
508 if mkdir -p . 2>/dev/null; then
509 as_mkdir_p='mkdir -p "$as_dir"'
511 test -d ./-p && rmdir ./-p
515 if test -x / >/dev/null 2>&1; then
518 if ls -dL / >/dev/null 2>&1; then
525 if test -d "$1"; then
531 case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in #((
532 ???[sx]*):;;*)false;;esac;fi
536 as_executable_p=$as_test_x
538 # Sed expression to map a string onto a valid CPP name.
539 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
541 # Sed expression to map a string onto a valid variable name.
542 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
544 SHELL=${CONFIG_SHELL-/bin/sh}
547 test -n "$DJDIR" || exec 7<&0 </dev/null
551 # hostname on some systems (SVR3.2, old GNU/Linux) returns a bogus exit status,
552 # so uname gets run too.
553 ac_hostname=`(hostname || uname -n) 2>/dev/null | sed 1q`
558 ac_default_prefix=/usr/local
560 ac_config_libobj_dir=.
567 # Identity of this package.
575 ac_unique_file="include/acl.h"
576 ac_default_prefix=/usr
577 # Factoring default headers for most tests.
578 ac_includes_default="\
580 #ifdef HAVE_SYS_TYPES_H
581 # include <sys/types.h>
583 #ifdef HAVE_SYS_STAT_H
584 # include <sys/stat.h>
590 # ifdef HAVE_STDLIB_H
595 # if !defined STDC_HEADERS && defined HAVE_MEMORY_H
600 #ifdef HAVE_STRINGS_H
601 # include <strings.h>
603 #ifdef HAVE_INTTYPES_H
604 # include <inttypes.h>
613 ac_subst_vars='LTLIBOBJS
723 program_transform_name
736 enable_option_checking
747 ac_precious_vars='build_alias
758 # Initialize some variables set by options.
760 ac_init_version=false
761 ac_unrecognized_opts=
763 # The variables have the same names as the options, with
764 # dashes changed to underlines.
772 program_transform_name=s,x,x,
780 # Installation directory options.
781 # These are left unexpanded so users can "make install exec_prefix=/foo"
782 # and all the variables that are supposed to be based on exec_prefix
783 # by default will actually change.
784 # Use braces instead of parens because sh, perl, etc. also accept them.
785 # (The list follows the same order as the GNU Coding Standards.)
786 bindir='${exec_prefix}/bin'
787 sbindir='${exec_prefix}/sbin'
788 libexecdir='${exec_prefix}/libexec'
789 datarootdir='${prefix}/share'
790 datadir='${datarootdir}'
791 sysconfdir='${prefix}/etc'
792 sharedstatedir='${prefix}/com'
793 localstatedir='${prefix}/var'
794 includedir='${prefix}/include'
795 oldincludedir='/usr/include'
796 docdir='${datarootdir}/doc/${PACKAGE}'
797 infodir='${datarootdir}/info'
802 libdir='${exec_prefix}/lib'
803 localedir='${datarootdir}/locale'
804 mandir='${datarootdir}/man'
810 # If the previous option needs an argument, assign it.
811 if test -n "$ac_prev"; then
812 eval $ac_prev=\$ac_option
818 *=?*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
823 # Accept the important Cygnus configure options, so we can diagnose typos.
825 case $ac_dashdash$ac_option in
829 -bindir | --bindir | --bindi | --bind | --bin | --bi)
831 -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
834 -build | --build | --buil | --bui | --bu)
835 ac_prev=build_alias ;;
836 -build=* | --build=* | --buil=* | --bui=* | --bu=*)
837 build_alias=$ac_optarg ;;
839 -cache-file | --cache-file | --cache-fil | --cache-fi \
840 | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
841 ac_prev=cache_file ;;
842 -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
843 | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
844 cache_file=$ac_optarg ;;
847 cache_file=config.cache ;;
849 -datadir | --datadir | --datadi | --datad)
851 -datadir=* | --datadir=* | --datadi=* | --datad=*)
852 datadir=$ac_optarg ;;
854 -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \
855 | --dataroo | --dataro | --datar)
856 ac_prev=datarootdir ;;
857 -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \
858 | --dataroot=* | --dataroo=* | --dataro=* | --datar=*)
859 datarootdir=$ac_optarg ;;
861 -disable-* | --disable-*)
862 ac_useropt=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
863 # Reject names that are not valid shell variable names.
864 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
865 as_fn_error $? "invalid feature name: $ac_useropt"
866 ac_useropt_orig=$ac_useropt
867 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
868 case $ac_user_opts in
872 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig"
873 ac_unrecognized_sep=', ';;
875 eval enable_$ac_useropt=no ;;
877 -docdir | --docdir | --docdi | --doc | --do)
879 -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*)
882 -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv)
884 -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*)
887 -enable-* | --enable-*)
888 ac_useropt=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
889 # Reject names that are not valid shell variable names.
890 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
891 as_fn_error $? "invalid feature name: $ac_useropt"
892 ac_useropt_orig=$ac_useropt
893 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
894 case $ac_user_opts in
898 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig"
899 ac_unrecognized_sep=', ';;
901 eval enable_$ac_useropt=\$ac_optarg ;;
903 -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
904 | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
905 | --exec | --exe | --ex)
906 ac_prev=exec_prefix ;;
907 -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
908 | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
909 | --exec=* | --exe=* | --ex=*)
910 exec_prefix=$ac_optarg ;;
912 -gas | --gas | --ga | --g)
913 # Obsolete; use --with-gas.
916 -help | --help | --hel | --he | -h)
918 -help=r* | --help=r* | --hel=r* | --he=r* | -hr*)
919 ac_init_help=recursive ;;
920 -help=s* | --help=s* | --hel=s* | --he=s* | -hs*)
921 ac_init_help=short ;;
923 -host | --host | --hos | --ho)
924 ac_prev=host_alias ;;
925 -host=* | --host=* | --hos=* | --ho=*)
926 host_alias=$ac_optarg ;;
928 -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht)
930 -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \
932 htmldir=$ac_optarg ;;
934 -includedir | --includedir | --includedi | --included | --include \
935 | --includ | --inclu | --incl | --inc)
936 ac_prev=includedir ;;
937 -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
938 | --includ=* | --inclu=* | --incl=* | --inc=*)
939 includedir=$ac_optarg ;;
941 -infodir | --infodir | --infodi | --infod | --info | --inf)
943 -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
944 infodir=$ac_optarg ;;
946 -libdir | --libdir | --libdi | --libd)
948 -libdir=* | --libdir=* | --libdi=* | --libd=*)
951 -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
952 | --libexe | --libex | --libe)
953 ac_prev=libexecdir ;;
954 -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
955 | --libexe=* | --libex=* | --libe=*)
956 libexecdir=$ac_optarg ;;
958 -localedir | --localedir | --localedi | --localed | --locale)
960 -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*)
961 localedir=$ac_optarg ;;
963 -localstatedir | --localstatedir | --localstatedi | --localstated \
964 | --localstate | --localstat | --localsta | --localst | --locals)
965 ac_prev=localstatedir ;;
966 -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
967 | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*)
968 localstatedir=$ac_optarg ;;
970 -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
972 -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
976 # Obsolete; use --without-fp.
979 -no-create | --no-create | --no-creat | --no-crea | --no-cre \
980 | --no-cr | --no-c | -n)
983 -no-recursion | --no-recursion | --no-recursio | --no-recursi \
984 | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
987 -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
988 | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
989 | --oldin | --oldi | --old | --ol | --o)
990 ac_prev=oldincludedir ;;
991 -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
992 | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
993 | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
994 oldincludedir=$ac_optarg ;;
996 -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
998 -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
1001 -program-prefix | --program-prefix | --program-prefi | --program-pref \
1002 | --program-pre | --program-pr | --program-p)
1003 ac_prev=program_prefix ;;
1004 -program-prefix=* | --program-prefix=* | --program-prefi=* \
1005 | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
1006 program_prefix=$ac_optarg ;;
1008 -program-suffix | --program-suffix | --program-suffi | --program-suff \
1009 | --program-suf | --program-su | --program-s)
1010 ac_prev=program_suffix ;;
1011 -program-suffix=* | --program-suffix=* | --program-suffi=* \
1012 | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
1013 program_suffix=$ac_optarg ;;
1015 -program-transform-name | --program-transform-name \
1016 | --program-transform-nam | --program-transform-na \
1017 | --program-transform-n | --program-transform- \
1018 | --program-transform | --program-transfor \
1019 | --program-transfo | --program-transf \
1020 | --program-trans | --program-tran \
1021 | --progr-tra | --program-tr | --program-t)
1022 ac_prev=program_transform_name ;;
1023 -program-transform-name=* | --program-transform-name=* \
1024 | --program-transform-nam=* | --program-transform-na=* \
1025 | --program-transform-n=* | --program-transform-=* \
1026 | --program-transform=* | --program-transfor=* \
1027 | --program-transfo=* | --program-transf=* \
1028 | --program-trans=* | --program-tran=* \
1029 | --progr-tra=* | --program-tr=* | --program-t=*)
1030 program_transform_name=$ac_optarg ;;
1032 -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd)
1034 -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*)
1035 pdfdir=$ac_optarg ;;
1037 -psdir | --psdir | --psdi | --psd | --ps)
1039 -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*)
1042 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1043 | -silent | --silent | --silen | --sile | --sil)
1046 -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
1048 -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
1050 sbindir=$ac_optarg ;;
1052 -sharedstatedir | --sharedstatedir | --sharedstatedi \
1053 | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
1054 | --sharedst | --shareds | --shared | --share | --shar \
1056 ac_prev=sharedstatedir ;;
1057 -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
1058 | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
1059 | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
1061 sharedstatedir=$ac_optarg ;;
1063 -site | --site | --sit)
1065 -site=* | --site=* | --sit=*)
1068 -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
1070 -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
1071 srcdir=$ac_optarg ;;
1073 -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
1074 | --syscon | --sysco | --sysc | --sys | --sy)
1075 ac_prev=sysconfdir ;;
1076 -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
1077 | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
1078 sysconfdir=$ac_optarg ;;
1080 -target | --target | --targe | --targ | --tar | --ta | --t)
1081 ac_prev=target_alias ;;
1082 -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
1083 target_alias=$ac_optarg ;;
1085 -v | -verbose | --verbose | --verbos | --verbo | --verb)
1088 -version | --version | --versio | --versi | --vers | -V)
1089 ac_init_version=: ;;
1092 ac_useropt=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
1093 # Reject names that are not valid shell variable names.
1094 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1095 as_fn_error $? "invalid package name: $ac_useropt"
1096 ac_useropt_orig=$ac_useropt
1097 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1098 case $ac_user_opts in
1102 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig"
1103 ac_unrecognized_sep=', ';;
1105 eval with_$ac_useropt=\$ac_optarg ;;
1107 -without-* | --without-*)
1108 ac_useropt=`expr "x$ac_option" : 'x-*without-\(.*\)'`
1109 # Reject names that are not valid shell variable names.
1110 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1111 as_fn_error $? "invalid package name: $ac_useropt"
1112 ac_useropt_orig=$ac_useropt
1113 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1114 case $ac_user_opts in
1118 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig"
1119 ac_unrecognized_sep=', ';;
1121 eval with_$ac_useropt=no ;;
1124 # Obsolete; use --with-x.
1127 -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
1128 | --x-incl | --x-inc | --x-in | --x-i)
1129 ac_prev=x_includes ;;
1130 -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
1131 | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
1132 x_includes=$ac_optarg ;;
1134 -x-libraries | --x-libraries | --x-librarie | --x-librari \
1135 | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
1136 ac_prev=x_libraries ;;
1137 -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
1138 | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
1139 x_libraries=$ac_optarg ;;
1141 -*) as_fn_error $? "unrecognized option: \`$ac_option'
1142 Try \`$0 --help' for more information"
1146 ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
1147 # Reject names that are not valid shell variable names.
1148 case $ac_envvar in #(
1149 '' | [0-9]* | *[!_$as_cr_alnum]* )
1150 as_fn_error $? "invalid variable name: \`$ac_envvar'" ;;
1152 eval $ac_envvar=\$ac_optarg
1153 export $ac_envvar ;;
1156 # FIXME: should be removed in autoconf 3.0.
1157 $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2
1158 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
1159 $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2
1160 : "${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}"
1166 if test -n "$ac_prev"; then
1167 ac_option=--`echo $ac_prev | sed 's/_/-/g'`
1168 as_fn_error $? "missing argument to $ac_option"
1171 if test -n "$ac_unrecognized_opts"; then
1172 case $enable_option_checking in
1174 fatal) as_fn_error $? "unrecognized options: $ac_unrecognized_opts" ;;
1175 *) $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;;
1179 # Check all directory arguments for consistency.
1180 for ac_var in exec_prefix prefix bindir sbindir libexecdir datarootdir \
1181 datadir sysconfdir sharedstatedir localstatedir includedir \
1182 oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
1183 libdir localedir mandir
1185 eval ac_val=\$$ac_var
1186 # Remove trailing slashes.
1189 ac_val=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'`
1190 eval $ac_var=\$ac_val;;
1192 # Be sure to have absolute directory names.
1194 [\\/$]* | ?:[\\/]* ) continue;;
1195 NONE | '' ) case $ac_var in *prefix ) continue;; esac;;
1197 as_fn_error $? "expected an absolute directory name for --$ac_var: $ac_val"
1200 # There might be people who depend on the old broken behavior: `$host'
1201 # used to hold the argument of --host etc.
1202 # FIXME: To remove some day.
1205 target=$target_alias
1207 # FIXME: To remove some day.
1208 if test "x$host_alias" != x; then
1209 if test "x$build_alias" = x; then
1210 cross_compiling=maybe
1211 $as_echo "$as_me: WARNING: if you wanted to set the --build type, don't use --host.
1212 If a cross compiler is detected then cross compile mode will be used" >&2
1213 elif test "x$build_alias" != "x$host_alias"; then
1219 test -n "$host_alias" && ac_tool_prefix=$host_alias-
1221 test "$silent" = yes && exec 6>/dev/null
1224 ac_pwd=`pwd` && test -n "$ac_pwd" &&
1225 ac_ls_di=`ls -di .` &&
1226 ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` ||
1227 as_fn_error $? "working directory cannot be determined"
1228 test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
1229 as_fn_error $? "pwd does not report name of working directory"
1232 # Find the source files, if location was not specified.
1233 if test -z "$srcdir"; then
1234 ac_srcdir_defaulted=yes
1235 # Try the directory containing this script, then the parent directory.
1236 ac_confdir=`$as_dirname -- "$as_myself" ||
1237 $as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
1238 X"$as_myself" : 'X\(//\)[^/]' \| \
1239 X"$as_myself" : 'X\(//\)$' \| \
1240 X"$as_myself" : 'X\(/\)' \| . 2>/dev/null ||
1241 $as_echo X"$as_myself" |
1242 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
1260 if test ! -r "$srcdir/$ac_unique_file"; then
1264 ac_srcdir_defaulted=no
1266 if test ! -r "$srcdir/$ac_unique_file"; then
1267 test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .."
1268 as_fn_error $? "cannot find sources ($ac_unique_file) in $srcdir"
1270 ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work"
1272 cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error $? "$ac_msg"
1274 # When building in place, set srcdir=.
1275 if test "$ac_abs_confdir" = "$ac_pwd"; then
1278 # Remove unnecessary trailing slashes from srcdir.
1279 # Double slashes in file names in object file debugging info
1280 # mess up M-x gdb in Emacs.
1282 */) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
1284 for ac_var in $ac_precious_vars; do
1285 eval ac_env_${ac_var}_set=\${${ac_var}+set}
1286 eval ac_env_${ac_var}_value=\$${ac_var}
1287 eval ac_cv_env_${ac_var}_set=\${${ac_var}+set}
1288 eval ac_cv_env_${ac_var}_value=\$${ac_var}
1292 # Report the --help message.
1294 if test "$ac_init_help" = "long"; then
1295 # Omit some internal or obsolete options to make the list less imposing.
1296 # This message is too long to be a string in the A/UX 3.1 sh.
1298 \`configure' configures this package to adapt to many kinds of systems.
1300 Usage: $0 [OPTION]... [VAR=VALUE]...
1302 To assign environment variables (e.g., CC, CFLAGS...), specify them as
1303 VAR=VALUE. See below for descriptions of some of the useful variables.
1305 Defaults for the options are specified in brackets.
1308 -h, --help display this help and exit
1309 --help=short display options specific to this package
1310 --help=recursive display the short help of all the included packages
1311 -V, --version display version information and exit
1312 -q, --quiet, --silent do not print \`checking ...' messages
1313 --cache-file=FILE cache test results in FILE [disabled]
1314 -C, --config-cache alias for \`--cache-file=config.cache'
1315 -n, --no-create do not create output files
1316 --srcdir=DIR find the sources in DIR [configure dir or \`..']
1318 Installation directories:
1319 --prefix=PREFIX install architecture-independent files in PREFIX
1320 [$ac_default_prefix]
1321 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
1324 By default, \`make install' will install all the files in
1325 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
1326 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
1327 for instance \`--prefix=\$HOME'.
1329 For better control, use the options below.
1331 Fine tuning of the installation directories:
1332 --bindir=DIR user executables [EPREFIX/bin]
1333 --sbindir=DIR system admin executables [EPREFIX/sbin]
1334 --libexecdir=DIR program executables [EPREFIX/libexec]
1335 --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
1336 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
1337 --localstatedir=DIR modifiable single-machine data [PREFIX/var]
1338 --libdir=DIR object code libraries [EPREFIX/lib]
1339 --includedir=DIR C header files [PREFIX/include]
1340 --oldincludedir=DIR C header files for non-gcc [/usr/include]
1341 --datarootdir=DIR read-only arch.-independent data root [PREFIX/share]
1342 --datadir=DIR read-only architecture-independent data [DATAROOTDIR]
1343 --infodir=DIR info documentation [DATAROOTDIR/info]
1344 --localedir=DIR locale-dependent data [DATAROOTDIR/locale]
1345 --mandir=DIR man documentation [DATAROOTDIR/man]
1346 --docdir=DIR documentation root [DATAROOTDIR/doc/PACKAGE]
1347 --htmldir=DIR html documentation [DOCDIR]
1348 --dvidir=DIR dvi documentation [DOCDIR]
1349 --pdfdir=DIR pdf documentation [DOCDIR]
1350 --psdir=DIR ps documentation [DOCDIR]
1356 --build=BUILD configure for building on BUILD [guessed]
1357 --host=HOST cross-compile to build programs to run on HOST [BUILD]
1361 if test -n "$ac_init_help"; then
1366 --disable-option-checking ignore unrecognized --enable/--with options
1367 --disable-FEATURE do not include FEATURE (same as --enable-FEATURE=no)
1368 --enable-FEATURE[=ARG] include FEATURE [ARG=yes]
1369 --enable-shared[=PKGS] build shared libraries [default=yes]
1370 --enable-static[=PKGS] build static libraries [default=yes]
1371 --enable-fast-install[=PKGS]
1372 optimize for fast installation [default=yes]
1373 --disable-libtool-lock avoid locking (might break parallel builds)
1374 --enable-shared=yes/no Enable use of shared libraries default=yes
1375 --enable-gettext=yes/no Enable alternate language support default=yes
1376 --enable-lib64=yes/no Enable lib64 support default=no
1379 --with-PACKAGE[=ARG] use PACKAGE [ARG=yes]
1380 --without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no)
1381 --with-pic try to use only PIC/non-PIC objects [default=use
1383 --with-gnu-ld assume the C compiler uses GNU ld [default=no]
1384 --with-sysroot=DIR Search for dependent libraries within DIR
1385 (or the compiler's sysroot if not specified).
1387 Some influential environment variables:
1388 CC C compiler command
1389 CFLAGS C compiler flags
1390 LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a
1391 nonstandard directory <lib dir>
1392 LIBS libraries to pass to the linker, e.g. -l<library>
1393 CPPFLAGS (Objective) C/C++ preprocessor flags, e.g. -I<include dir> if
1394 you have headers in a nonstandard directory <include dir>
1397 Use these variables to override the choices made by `configure' or to help
1398 it to find libraries and programs with nonstandard names/locations.
1400 Report bugs to the package provider.
1405 if test "$ac_init_help" = "recursive"; then
1406 # If there are subdirs, report their specific --help.
1407 for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
1408 test -d "$ac_dir" ||
1409 { cd "$srcdir" && ac_pwd=`pwd` && srcdir=. && test -d "$ac_dir"; } ||
1414 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
1416 ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
1417 # A ".." for each directory in $ac_dir_suffix.
1418 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
1419 case $ac_top_builddir_sub in
1420 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
1421 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
1424 ac_abs_top_builddir=$ac_pwd
1425 ac_abs_builddir=$ac_pwd$ac_dir_suffix
1426 # for backward compatibility:
1427 ac_top_builddir=$ac_top_build_prefix
1430 .) # We are building in place.
1432 ac_top_srcdir=$ac_top_builddir_sub
1433 ac_abs_top_srcdir=$ac_pwd ;;
1434 [\\/]* | ?:[\\/]* ) # Absolute name.
1435 ac_srcdir=$srcdir$ac_dir_suffix;
1436 ac_top_srcdir=$srcdir
1437 ac_abs_top_srcdir=$srcdir ;;
1439 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
1440 ac_top_srcdir=$ac_top_build_prefix$srcdir
1441 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
1443 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
1445 cd "$ac_dir" || { ac_status=$?; continue; }
1446 # Check for guested configure.
1447 if test -f "$ac_srcdir/configure.gnu"; then
1449 $SHELL "$ac_srcdir/configure.gnu" --help=recursive
1450 elif test -f "$ac_srcdir/configure"; then
1452 $SHELL "$ac_srcdir/configure" --help=recursive
1454 $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
1456 cd "$ac_pwd" || { ac_status=$?; break; }
1460 test -n "$ac_init_help" && exit $ac_status
1461 if $ac_init_version; then
1464 generated by GNU Autoconf 2.68
1466 Copyright (C) 2010 Free Software Foundation, Inc.
1467 This configure script is free software; the Free Software Foundation
1468 gives unlimited permission to copy, distribute and modify it.
1473 ## ------------------------ ##
1474 ## Autoconf initialization. ##
1475 ## ------------------------ ##
1477 # ac_fn_c_try_compile LINENO
1478 # --------------------------
1479 # Try to compile conftest.$ac_ext, and return whether this succeeded.
1480 ac_fn_c_try_compile ()
1482 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1483 rm -f conftest.$ac_objext
1484 if { { ac_try="$ac_compile"
1486 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1487 *) ac_try_echo=$ac_try;;
1489 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1490 $as_echo "$ac_try_echo"; } >&5
1491 (eval "$ac_compile") 2>conftest.err
1493 if test -s conftest.err; then
1494 grep -v '^ *+' conftest.err >conftest.er1
1495 cat conftest.er1 >&5
1496 mv -f conftest.er1 conftest.err
1498 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1499 test $ac_status = 0; } && {
1500 test -z "$ac_c_werror_flag" ||
1501 test ! -s conftest.err
1502 } && test -s conftest.$ac_objext; then :
1505 $as_echo "$as_me: failed program was:" >&5
1506 sed 's/^/| /' conftest.$ac_ext >&5
1510 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1511 as_fn_set_status $ac_retval
1513 } # ac_fn_c_try_compile
1515 # ac_fn_c_try_link LINENO
1516 # -----------------------
1517 # Try to link conftest.$ac_ext, and return whether this succeeded.
1520 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1521 rm -f conftest.$ac_objext conftest$ac_exeext
1522 if { { ac_try="$ac_link"
1524 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1525 *) ac_try_echo=$ac_try;;
1527 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1528 $as_echo "$ac_try_echo"; } >&5
1529 (eval "$ac_link") 2>conftest.err
1531 if test -s conftest.err; then
1532 grep -v '^ *+' conftest.err >conftest.er1
1533 cat conftest.er1 >&5
1534 mv -f conftest.er1 conftest.err
1536 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1537 test $ac_status = 0; } && {
1538 test -z "$ac_c_werror_flag" ||
1539 test ! -s conftest.err
1540 } && test -s conftest$ac_exeext && {
1541 test "$cross_compiling" = yes ||
1542 $as_test_x conftest$ac_exeext
1546 $as_echo "$as_me: failed program was:" >&5
1547 sed 's/^/| /' conftest.$ac_ext >&5
1551 # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
1552 # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
1553 # interfere with the next link command; also delete a directory that is
1554 # left behind by Apple's compiler. We do this before executing the actions.
1555 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
1556 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1557 as_fn_set_status $ac_retval
1559 } # ac_fn_c_try_link
1561 # ac_fn_c_check_header_compile LINENO HEADER VAR INCLUDES
1562 # -------------------------------------------------------
1563 # Tests whether HEADER exists and can be compiled using the include files in
1564 # INCLUDES, setting the cache variable VAR accordingly.
1565 ac_fn_c_check_header_compile ()
1567 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1568 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1569 $as_echo_n "checking for $2... " >&6; }
1570 if eval \${$3+:} false; then :
1571 $as_echo_n "(cached) " >&6
1573 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1574 /* end confdefs.h. */
1578 if ac_fn_c_try_compile "$LINENO"; then :
1583 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1586 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1587 $as_echo "$ac_res" >&6; }
1588 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1590 } # ac_fn_c_check_header_compile
1592 # ac_fn_c_try_cpp LINENO
1593 # ----------------------
1594 # Try to preprocess conftest.$ac_ext, and return whether this succeeded.
1597 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1598 if { { ac_try="$ac_cpp conftest.$ac_ext"
1600 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1601 *) ac_try_echo=$ac_try;;
1603 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1604 $as_echo "$ac_try_echo"; } >&5
1605 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err
1607 if test -s conftest.err; then
1608 grep -v '^ *+' conftest.err >conftest.er1
1609 cat conftest.er1 >&5
1610 mv -f conftest.er1 conftest.err
1612 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1613 test $ac_status = 0; } > conftest.i && {
1614 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
1615 test ! -s conftest.err
1619 $as_echo "$as_me: failed program was:" >&5
1620 sed 's/^/| /' conftest.$ac_ext >&5
1624 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1625 as_fn_set_status $ac_retval
1629 # ac_fn_c_try_run LINENO
1630 # ----------------------
1631 # Try to link conftest.$ac_ext, and return whether this succeeded. Assumes
1632 # that executables *can* be run.
1635 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1636 if { { ac_try="$ac_link"
1638 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1639 *) ac_try_echo=$ac_try;;
1641 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1642 $as_echo "$ac_try_echo"; } >&5
1643 (eval "$ac_link") 2>&5
1645 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1646 test $ac_status = 0; } && { ac_try='./conftest$ac_exeext'
1647 { { case "(($ac_try" in
1648 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1649 *) ac_try_echo=$ac_try;;
1651 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1652 $as_echo "$ac_try_echo"; } >&5
1653 (eval "$ac_try") 2>&5
1655 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1656 test $ac_status = 0; }; }; then :
1659 $as_echo "$as_me: program exited with status $ac_status" >&5
1660 $as_echo "$as_me: failed program was:" >&5
1661 sed 's/^/| /' conftest.$ac_ext >&5
1663 ac_retval=$ac_status
1665 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
1666 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1667 as_fn_set_status $ac_retval
1671 # ac_fn_c_check_func LINENO FUNC VAR
1672 # ----------------------------------
1673 # Tests whether FUNC exists, setting the cache variable VAR accordingly
1674 ac_fn_c_check_func ()
1676 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1677 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1678 $as_echo_n "checking for $2... " >&6; }
1679 if eval \${$3+:} false; then :
1680 $as_echo_n "(cached) " >&6
1682 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1683 /* end confdefs.h. */
1684 /* Define $2 to an innocuous variant, in case <limits.h> declares $2.
1685 For example, HP-UX 11i <limits.h> declares gettimeofday. */
1686 #define $2 innocuous_$2
1688 /* System header to define __stub macros and hopefully few prototypes,
1689 which can conflict with char $2 (); below.
1690 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
1691 <limits.h> exists even on freestanding compilers. */
1694 # include <limits.h>
1696 # include <assert.h>
1701 /* Override any GCC internal prototype to avoid an error.
1702 Use char because int might match the return type of a GCC
1703 builtin and then its argument prototype would still apply. */
1708 /* The GNU C library defines this for functions which it implements
1709 to always fail with ENOSYS. Some functions are actually named
1710 something starting with __ and the normal name is an alias. */
1711 #if defined __stub_$2 || defined __stub___$2
1723 if ac_fn_c_try_link "$LINENO"; then :
1728 rm -f core conftest.err conftest.$ac_objext \
1729 conftest$ac_exeext conftest.$ac_ext
1732 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1733 $as_echo "$ac_res" >&6; }
1734 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1736 } # ac_fn_c_check_func
1738 # ac_fn_c_check_header_mongrel LINENO HEADER VAR INCLUDES
1739 # -------------------------------------------------------
1740 # Tests whether HEADER exists, giving a warning if it cannot be compiled using
1741 # the include files in INCLUDES and setting the cache variable VAR
1743 ac_fn_c_check_header_mongrel ()
1745 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1746 if eval \${$3+:} false; then :
1747 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1748 $as_echo_n "checking for $2... " >&6; }
1749 if eval \${$3+:} false; then :
1750 $as_echo_n "(cached) " >&6
1753 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1754 $as_echo "$ac_res" >&6; }
1756 # Is the header compilable?
1757 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 usability" >&5
1758 $as_echo_n "checking $2 usability... " >&6; }
1759 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1760 /* end confdefs.h. */
1764 if ac_fn_c_try_compile "$LINENO"; then :
1765 ac_header_compiler=yes
1767 ac_header_compiler=no
1769 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1770 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_compiler" >&5
1771 $as_echo "$ac_header_compiler" >&6; }
1773 # Is the header present?
1774 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 presence" >&5
1775 $as_echo_n "checking $2 presence... " >&6; }
1776 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1777 /* end confdefs.h. */
1780 if ac_fn_c_try_cpp "$LINENO"; then :
1781 ac_header_preproc=yes
1783 ac_header_preproc=no
1785 rm -f conftest.err conftest.i conftest.$ac_ext
1786 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_preproc" >&5
1787 $as_echo "$ac_header_preproc" >&6; }
1789 # So? What about this header?
1790 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in #((
1792 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&5
1793 $as_echo "$as_me: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&2;}
1794 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
1795 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
1798 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: present but cannot be compiled" >&5
1799 $as_echo "$as_me: WARNING: $2: present but cannot be compiled" >&2;}
1800 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: check for missing prerequisite headers?" >&5
1801 $as_echo "$as_me: WARNING: $2: check for missing prerequisite headers?" >&2;}
1802 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: see the Autoconf documentation" >&5
1803 $as_echo "$as_me: WARNING: $2: see the Autoconf documentation" >&2;}
1804 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&5
1805 $as_echo "$as_me: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&2;}
1806 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
1807 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
1810 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1811 $as_echo_n "checking for $2... " >&6; }
1812 if eval \${$3+:} false; then :
1813 $as_echo_n "(cached) " >&6
1815 eval "$3=\$ac_header_compiler"
1818 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1819 $as_echo "$ac_res" >&6; }
1821 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1823 } # ac_fn_c_check_header_mongrel
1824 cat >config.log <<_ACEOF
1825 This file contains any messages produced by compilers while
1826 running configure, to aid debugging if configure makes a mistake.
1828 It was created by $as_me, which was
1829 generated by GNU Autoconf 2.68. Invocation command line was
1841 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
1842 uname -m = `(uname -m) 2>/dev/null || echo unknown`
1843 uname -r = `(uname -r) 2>/dev/null || echo unknown`
1844 uname -s = `(uname -s) 2>/dev/null || echo unknown`
1845 uname -v = `(uname -v) 2>/dev/null || echo unknown`
1847 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
1848 /bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown`
1850 /bin/arch = `(/bin/arch) 2>/dev/null || echo unknown`
1851 /usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown`
1852 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
1853 /usr/bin/hostinfo = `(/usr/bin/hostinfo) 2>/dev/null || echo unknown`
1854 /bin/machine = `(/bin/machine) 2>/dev/null || echo unknown`
1855 /usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown`
1856 /bin/universe = `(/bin/universe) 2>/dev/null || echo unknown`
1860 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1864 test -z "$as_dir" && as_dir=.
1865 $as_echo "PATH: $as_dir"
1881 # Keep a trace of the command line.
1882 # Strip out --no-create and --no-recursion so they do not pile up.
1883 # Strip out --silent because we don't want to record it for future runs.
1884 # Also quote any args containing shell meta-characters.
1885 # Make two passes to allow for proper duplicate-argument suppression.
1889 ac_must_keep_next=false
1895 -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
1896 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1897 | -silent | --silent | --silen | --sile | --sil)
1900 ac_arg=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
1903 1) as_fn_append ac_configure_args0 " '$ac_arg'" ;;
1905 as_fn_append ac_configure_args1 " '$ac_arg'"
1906 if test $ac_must_keep_next = true; then
1907 ac_must_keep_next=false # Got value, back to normal.
1910 *=* | --config-cache | -C | -disable-* | --disable-* \
1911 | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
1912 | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
1913 | -with-* | --with-* | -without-* | --without-* | --x)
1914 case "$ac_configure_args0 " in
1915 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
1918 -* ) ac_must_keep_next=true ;;
1921 as_fn_append ac_configure_args " '$ac_arg'"
1926 { ac_configure_args0=; unset ac_configure_args0;}
1927 { ac_configure_args1=; unset ac_configure_args1;}
1929 # When interrupted or exit'd, cleanup temporary files, and complete
1930 # config.log. We remove comments because anyway the quotes in there
1931 # would cause problems or look ugly.
1932 # WARNING: Use '\'' to represent an apostrophe within the trap.
1933 # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
1934 trap 'exit_status=$?
1935 # Save into config.log some information that might help in debugging.
1939 $as_echo "## ---------------- ##
1940 ## Cache variables. ##
1941 ## ---------------- ##"
1943 # The following way of writing the cache mishandles newlines in values,
1945 for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
1946 eval ac_val=\$$ac_var
1950 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
1951 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
1954 _ | IFS | as_nl) ;; #(
1955 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
1956 *) { eval $ac_var=; unset $ac_var;} ;;
1961 case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
1962 *${as_nl}ac_space=\ *)
1964 "s/'\''/'\''\\\\'\'''\''/g;
1965 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
1968 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
1975 $as_echo "## ----------------- ##
1976 ## Output variables. ##
1977 ## ----------------- ##"
1979 for ac_var in $ac_subst_vars
1981 eval ac_val=\$$ac_var
1983 *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
1985 $as_echo "$ac_var='\''$ac_val'\''"
1989 if test -n "$ac_subst_files"; then
1990 $as_echo "## ------------------- ##
1991 ## File substitutions. ##
1992 ## ------------------- ##"
1994 for ac_var in $ac_subst_files
1996 eval ac_val=\$$ac_var
1998 *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
2000 $as_echo "$ac_var='\''$ac_val'\''"
2005 if test -s confdefs.h; then
2006 $as_echo "## ----------- ##
2013 test "$ac_signal" != 0 &&
2014 $as_echo "$as_me: caught signal $ac_signal"
2015 $as_echo "$as_me: exit $exit_status"
2017 rm -f core *.core core.conftest.* &&
2018 rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
2021 for ac_signal in 1 2 13 15; do
2022 trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal
2026 # confdefs.h avoids OS command line length limits that DEFS can exceed.
2027 rm -f -r conftest* confdefs.h
2029 $as_echo "/* confdefs.h */" > confdefs.h
2031 # Predefined preprocessor variables.
2033 cat >>confdefs.h <<_ACEOF
2034 #define PACKAGE_NAME "$PACKAGE_NAME"
2037 cat >>confdefs.h <<_ACEOF
2038 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
2041 cat >>confdefs.h <<_ACEOF
2042 #define PACKAGE_VERSION "$PACKAGE_VERSION"
2045 cat >>confdefs.h <<_ACEOF
2046 #define PACKAGE_STRING "$PACKAGE_STRING"
2049 cat >>confdefs.h <<_ACEOF
2050 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
2053 cat >>confdefs.h <<_ACEOF
2054 #define PACKAGE_URL "$PACKAGE_URL"
2058 # Let the site file select an alternate cache file if it wants to.
2059 # Prefer an explicitly selected file to automatically selected ones.
2062 if test -n "$CONFIG_SITE"; then
2063 # We do not want a PATH search for config.site.
2064 case $CONFIG_SITE in #((
2065 -*) ac_site_file1=./$CONFIG_SITE;;
2066 */*) ac_site_file1=$CONFIG_SITE;;
2067 *) ac_site_file1=./$CONFIG_SITE;;
2069 elif test "x$prefix" != xNONE; then
2070 ac_site_file1=$prefix/share/config.site
2071 ac_site_file2=$prefix/etc/config.site
2073 ac_site_file1=$ac_default_prefix/share/config.site
2074 ac_site_file2=$ac_default_prefix/etc/config.site
2076 for ac_site_file in "$ac_site_file1" "$ac_site_file2"
2078 test "x$ac_site_file" = xNONE && continue
2079 if test /dev/null != "$ac_site_file" && test -r "$ac_site_file"; then
2080 { $as_echo "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5
2081 $as_echo "$as_me: loading site script $ac_site_file" >&6;}
2082 sed 's/^/| /' "$ac_site_file" >&5
2084 || { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2085 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2086 as_fn_error $? "failed to load site script $ac_site_file
2087 See \`config.log' for more details" "$LINENO" 5; }
2091 if test -r "$cache_file"; then
2092 # Some versions of bash will fail to source /dev/null (special files
2093 # actually), so we avoid doing that. DJGPP emulates it as a regular file.
2094 if test /dev/null != "$cache_file" && test -f "$cache_file"; then
2095 { $as_echo "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5
2096 $as_echo "$as_me: loading cache $cache_file" >&6;}
2098 [\\/]* | ?:[\\/]* ) . "$cache_file";;
2099 *) . "./$cache_file";;
2103 { $as_echo "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5
2104 $as_echo "$as_me: creating cache $cache_file" >&6;}
2108 # Check that the precious variables saved in the cache have kept the same
2110 ac_cache_corrupted=false
2111 for ac_var in $ac_precious_vars; do
2112 eval ac_old_set=\$ac_cv_env_${ac_var}_set
2113 eval ac_new_set=\$ac_env_${ac_var}_set
2114 eval ac_old_val=\$ac_cv_env_${ac_var}_value
2115 eval ac_new_val=\$ac_env_${ac_var}_value
2116 case $ac_old_set,$ac_new_set in
2118 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
2119 $as_echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
2120 ac_cache_corrupted=: ;;
2122 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not set in the previous run" >&5
2123 $as_echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
2124 ac_cache_corrupted=: ;;
2127 if test "x$ac_old_val" != "x$ac_new_val"; then
2128 # differences in whitespace do not lead to failure.
2129 ac_old_val_w=`echo x $ac_old_val`
2130 ac_new_val_w=`echo x $ac_new_val`
2131 if test "$ac_old_val_w" != "$ac_new_val_w"; then
2132 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&5
2133 $as_echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
2134 ac_cache_corrupted=:
2136 { $as_echo "$as_me:${as_lineno-$LINENO}: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5
2137 $as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;}
2138 eval $ac_var=\$ac_old_val
2140 { $as_echo "$as_me:${as_lineno-$LINENO}: former value: \`$ac_old_val'" >&5
2141 $as_echo "$as_me: former value: \`$ac_old_val'" >&2;}
2142 { $as_echo "$as_me:${as_lineno-$LINENO}: current value: \`$ac_new_val'" >&5
2143 $as_echo "$as_me: current value: \`$ac_new_val'" >&2;}
2146 # Pass precious variables to config.status.
2147 if test "$ac_new_set" = set; then
2149 *\'*) ac_arg=$ac_var=`$as_echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
2150 *) ac_arg=$ac_var=$ac_new_val ;;
2152 case " $ac_configure_args " in
2153 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
2154 *) as_fn_append ac_configure_args " '$ac_arg'" ;;
2158 if $ac_cache_corrupted; then
2159 { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2160 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2161 { $as_echo "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5
2162 $as_echo "$as_me: error: changes in the environment can compromise the build" >&2;}
2163 as_fn_error $? "run \`make distclean' and/or \`rm $cache_file' and start over" "$LINENO" 5
2165 ## -------------------- ##
2166 ## Main body of script. ##
2167 ## -------------------- ##
2170 ac_cpp='$CPP $CPPFLAGS'
2171 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2172 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2173 ac_compiler_gnu=$ac_cv_c_compiler_gnu
2177 for ac_dir in . "$srcdir"/.; do
2178 if test -f "$ac_dir/install-sh"; then
2180 ac_install_sh="$ac_aux_dir/install-sh -c"
2182 elif test -f "$ac_dir/install.sh"; then
2184 ac_install_sh="$ac_aux_dir/install.sh -c"
2186 elif test -f "$ac_dir/shtool"; then
2188 ac_install_sh="$ac_aux_dir/shtool install -c"
2192 if test -z "$ac_aux_dir"; then
2193 as_fn_error $? "cannot find install-sh, install.sh, or shtool in . \"$srcdir\"/." "$LINENO" 5
2196 # These three variables are undocumented and unsupported,
2197 # and are intended to be withdrawn in a future Autoconf release.
2198 # They can cause serious problems if a builder's source tree is in a directory
2199 # whose full name contains unusual characters.
2200 ac_config_guess="$SHELL $ac_aux_dir/config.guess" # Please don't use this var.
2201 ac_config_sub="$SHELL $ac_aux_dir/config.sub" # Please don't use this var.
2202 ac_configure="$SHELL $ac_aux_dir/configure" # Please don't use this var.
2206 ac_config_headers="$ac_config_headers include/config.h"
2212 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Libtool does not cope well with whitespace in \`pwd\`" >&5
2213 $as_echo "$as_me: WARNING: Libtool does not cope well with whitespace in \`pwd\`" >&2;} ;;
2219 macro_revision='1.3293'
2233 ltmain="$ac_aux_dir/ltmain.sh"
2235 # Make sure we can run config.sub.
2236 $SHELL "$ac_aux_dir/config.sub" sun4 >/dev/null 2>&1 ||
2237 as_fn_error $? "cannot run $SHELL $ac_aux_dir/config.sub" "$LINENO" 5
2239 { $as_echo "$as_me:${as_lineno-$LINENO}: checking build system type" >&5
2240 $as_echo_n "checking build system type... " >&6; }
2241 if ${ac_cv_build+:} false; then :
2242 $as_echo_n "(cached) " >&6
2244 ac_build_alias=$build_alias
2245 test "x$ac_build_alias" = x &&
2246 ac_build_alias=`$SHELL "$ac_aux_dir/config.guess"`
2247 test "x$ac_build_alias" = x &&
2248 as_fn_error $? "cannot guess build type; you must specify one" "$LINENO" 5
2249 ac_cv_build=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
2250 as_fn_error $? "$SHELL $ac_aux_dir/config.sub $ac_build_alias failed" "$LINENO" 5
2253 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_build" >&5
2254 $as_echo "$ac_cv_build" >&6; }
2255 case $ac_cv_build in
2257 *) as_fn_error $? "invalid value of canonical build" "$LINENO" 5;;
2260 ac_save_IFS=$IFS; IFS='-'
2266 # Remember, the first character of IFS is used to create $*,
2267 # except with old shells:
2270 case $build_os in *\ *) build_os=`echo "$build_os" | sed 's/ /-/g'`;; esac
2273 { $as_echo "$as_me:${as_lineno-$LINENO}: checking host system type" >&5
2274 $as_echo_n "checking host system type... " >&6; }
2275 if ${ac_cv_host+:} false; then :
2276 $as_echo_n "(cached) " >&6
2278 if test "x$host_alias" = x; then
2279 ac_cv_host=$ac_cv_build
2281 ac_cv_host=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
2282 as_fn_error $? "$SHELL $ac_aux_dir/config.sub $host_alias failed" "$LINENO" 5
2286 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_host" >&5
2287 $as_echo "$ac_cv_host" >&6; }
2290 *) as_fn_error $? "invalid value of canonical host" "$LINENO" 5;;
2293 ac_save_IFS=$IFS; IFS='-'
2299 # Remember, the first character of IFS is used to create $*,
2300 # except with old shells:
2303 case $host_os in *\ *) host_os=`echo "$host_os" | sed 's/ /-/g'`;; esac
2306 # Backslashify metacharacters that are still active within
2307 # double-quoted strings.
2308 sed_quote_subst='s/\(["`$\\]\)/\\\1/g'
2310 # Same as above, but do not quote variable references.
2311 double_quote_subst='s/\(["`\\]\)/\\\1/g'
2313 # Sed substitution to delay expansion of an escaped shell variable in a
2314 # double_quote_subst'ed string.
2315 delay_variable_subst='s/\\\\\\\\\\\$/\\\\\\$/g'
2317 # Sed substitution to delay expansion of an escaped single quote.
2318 delay_single_quote_subst='s/'\''/'\'\\\\\\\'\''/g'
2320 # Sed substitution to avoid accidental globbing in evaled expressions
2321 no_glob_subst='s/\*/\\\*/g'
2323 ECHO='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
2324 ECHO=$ECHO$ECHO$ECHO$ECHO$ECHO
2325 ECHO=$ECHO$ECHO$ECHO$ECHO$ECHO$ECHO
2327 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to print strings" >&5
2328 $as_echo_n "checking how to print strings... " >&6; }
2329 # Test print first, because it will be a builtin if present.
2330 if test "X`( print -r -- -n ) 2>/dev/null`" = X-n && \
2331 test "X`print -r -- $ECHO 2>/dev/null`" = "X$ECHO"; then
2333 elif test "X`printf %s $ECHO 2>/dev/null`" = "X$ECHO"; then
2336 # Use this function as a fallback that always works.
2337 func_fallback_echo ()
2339 eval 'cat <<_LTECHO_EOF
2343 ECHO='func_fallback_echo'
2346 # func_echo_all arg...
2347 # Invoke $ECHO with all args, space-separated.
2354 printf*) { $as_echo "$as_me:${as_lineno-$LINENO}: result: printf" >&5
2355 $as_echo "printf" >&6; } ;;
2356 print*) { $as_echo "$as_me:${as_lineno-$LINENO}: result: print -r" >&5
2357 $as_echo "print -r" >&6; } ;;
2358 *) { $as_echo "$as_me:${as_lineno-$LINENO}: result: cat" >&5
2359 $as_echo "cat" >&6; } ;;
2376 ac_cpp='$CPP $CPPFLAGS'
2377 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2378 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2379 ac_compiler_gnu=$ac_cv_c_compiler_gnu
2380 if test -n "$ac_tool_prefix"; then
2381 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
2382 set dummy ${ac_tool_prefix}gcc; ac_word=$2
2383 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2384 $as_echo_n "checking for $ac_word... " >&6; }
2385 if ${ac_cv_prog_CC+:} false; then :
2386 $as_echo_n "(cached) " >&6
2388 if test -n "$CC"; then
2389 ac_cv_prog_CC="$CC" # Let the user override the test.
2391 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2395 test -z "$as_dir" && as_dir=.
2396 for ac_exec_ext in '' $ac_executable_extensions; do
2397 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2398 ac_cv_prog_CC="${ac_tool_prefix}gcc"
2399 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2409 if test -n "$CC"; then
2410 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
2411 $as_echo "$CC" >&6; }
2413 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2414 $as_echo "no" >&6; }
2419 if test -z "$ac_cv_prog_CC"; then
2421 # Extract the first word of "gcc", so it can be a program name with args.
2422 set dummy gcc; ac_word=$2
2423 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2424 $as_echo_n "checking for $ac_word... " >&6; }
2425 if ${ac_cv_prog_ac_ct_CC+:} false; then :
2426 $as_echo_n "(cached) " >&6
2428 if test -n "$ac_ct_CC"; then
2429 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
2431 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2435 test -z "$as_dir" && as_dir=.
2436 for ac_exec_ext in '' $ac_executable_extensions; do
2437 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2438 ac_cv_prog_ac_ct_CC="gcc"
2439 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2448 ac_ct_CC=$ac_cv_prog_ac_ct_CC
2449 if test -n "$ac_ct_CC"; then
2450 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
2451 $as_echo "$ac_ct_CC" >&6; }
2453 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2454 $as_echo "no" >&6; }
2457 if test "x$ac_ct_CC" = x; then
2460 case $cross_compiling:$ac_tool_warned in
2462 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
2463 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
2464 ac_tool_warned=yes ;;
2472 if test -z "$CC"; then
2473 if test -n "$ac_tool_prefix"; then
2474 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
2475 set dummy ${ac_tool_prefix}cc; ac_word=$2
2476 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2477 $as_echo_n "checking for $ac_word... " >&6; }
2478 if ${ac_cv_prog_CC+:} false; then :
2479 $as_echo_n "(cached) " >&6
2481 if test -n "$CC"; then
2482 ac_cv_prog_CC="$CC" # Let the user override the test.
2484 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2488 test -z "$as_dir" && as_dir=.
2489 for ac_exec_ext in '' $ac_executable_extensions; do
2490 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2491 ac_cv_prog_CC="${ac_tool_prefix}cc"
2492 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2502 if test -n "$CC"; then
2503 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
2504 $as_echo "$CC" >&6; }
2506 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2507 $as_echo "no" >&6; }
2513 if test -z "$CC"; then
2514 # Extract the first word of "cc", so it can be a program name with args.
2515 set dummy cc; ac_word=$2
2516 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2517 $as_echo_n "checking for $ac_word... " >&6; }
2518 if ${ac_cv_prog_CC+:} false; then :
2519 $as_echo_n "(cached) " >&6
2521 if test -n "$CC"; then
2522 ac_cv_prog_CC="$CC" # Let the user override the test.
2525 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2529 test -z "$as_dir" && as_dir=.
2530 for ac_exec_ext in '' $ac_executable_extensions; do
2531 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2532 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
2533 ac_prog_rejected=yes
2537 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2544 if test $ac_prog_rejected = yes; then
2545 # We found a bogon in the path, so make sure we never use it.
2546 set dummy $ac_cv_prog_CC
2548 if test $# != 0; then
2549 # We chose a different compiler from the bogus one.
2550 # However, it has the same basename, so the bogon will be chosen
2551 # first if we set CC to just the basename; use the full file name.
2553 ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
2559 if test -n "$CC"; then
2560 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
2561 $as_echo "$CC" >&6; }
2563 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2564 $as_echo "no" >&6; }
2569 if test -z "$CC"; then
2570 if test -n "$ac_tool_prefix"; then
2571 for ac_prog in cl.exe
2573 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
2574 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
2575 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2576 $as_echo_n "checking for $ac_word... " >&6; }
2577 if ${ac_cv_prog_CC+:} false; then :
2578 $as_echo_n "(cached) " >&6
2580 if test -n "$CC"; then
2581 ac_cv_prog_CC="$CC" # Let the user override the test.
2583 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2587 test -z "$as_dir" && as_dir=.
2588 for ac_exec_ext in '' $ac_executable_extensions; do
2589 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2590 ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
2591 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2601 if test -n "$CC"; then
2602 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
2603 $as_echo "$CC" >&6; }
2605 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2606 $as_echo "no" >&6; }
2610 test -n "$CC" && break
2613 if test -z "$CC"; then
2615 for ac_prog in cl.exe
2617 # Extract the first word of "$ac_prog", so it can be a program name with args.
2618 set dummy $ac_prog; ac_word=$2
2619 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2620 $as_echo_n "checking for $ac_word... " >&6; }
2621 if ${ac_cv_prog_ac_ct_CC+:} false; then :
2622 $as_echo_n "(cached) " >&6
2624 if test -n "$ac_ct_CC"; then
2625 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
2627 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2631 test -z "$as_dir" && as_dir=.
2632 for ac_exec_ext in '' $ac_executable_extensions; do
2633 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2634 ac_cv_prog_ac_ct_CC="$ac_prog"
2635 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2644 ac_ct_CC=$ac_cv_prog_ac_ct_CC
2645 if test -n "$ac_ct_CC"; then
2646 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
2647 $as_echo "$ac_ct_CC" >&6; }
2649 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2650 $as_echo "no" >&6; }
2654 test -n "$ac_ct_CC" && break
2657 if test "x$ac_ct_CC" = x; then
2660 case $cross_compiling:$ac_tool_warned in
2662 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
2663 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
2664 ac_tool_warned=yes ;;
2673 test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2674 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2675 as_fn_error $? "no acceptable C compiler found in \$PATH
2676 See \`config.log' for more details" "$LINENO" 5; }
2678 # Provide some information about the compiler.
2679 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
2682 for ac_option in --version -v -V -qversion; do
2683 { { ac_try="$ac_compiler $ac_option >&5"
2685 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2686 *) ac_try_echo=$ac_try;;
2688 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2689 $as_echo "$ac_try_echo"; } >&5
2690 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
2692 if test -s conftest.err; then
2694 ... rest of stderr output deleted ...
2695 10q' conftest.err >conftest.er1
2696 cat conftest.er1 >&5
2698 rm -f conftest.er1 conftest.err
2699 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2700 test $ac_status = 0; }
2703 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2704 /* end confdefs.h. */
2714 ac_clean_files_save=$ac_clean_files
2715 ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out"
2716 # Try to create an executable without -o first, disregard a.out.
2717 # It will help us diagnose broken compilers, and finding out an intuition
2719 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler works" >&5
2720 $as_echo_n "checking whether the C compiler works... " >&6; }
2721 ac_link_default=`$as_echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
2723 # The possible output files:
2724 ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*"
2727 for ac_file in $ac_files
2730 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
2731 * ) ac_rmfiles="$ac_rmfiles $ac_file";;
2736 if { { ac_try="$ac_link_default"
2738 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2739 *) ac_try_echo=$ac_try;;
2741 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2742 $as_echo "$ac_try_echo"; } >&5
2743 (eval "$ac_link_default") 2>&5
2745 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2746 test $ac_status = 0; }; then :
2747 # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
2748 # So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
2749 # in a Makefile. We should not override ac_cv_exeext if it was cached,
2750 # so that the user can short-circuit this test for compilers unknown to
2752 for ac_file in $ac_files ''
2754 test -f "$ac_file" || continue
2756 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj )
2759 # We found the default executable, but exeext='' is most
2763 if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no;
2765 ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
2767 # We set ac_cv_exeext here because the later test for it is not
2768 # safe: cross compilers may not add the suffix if given an `-o'
2769 # argument, so we may need to know it at that point already.
2770 # Even if this section looks crufty: it has the advantage of
2777 test "$ac_cv_exeext" = no && ac_cv_exeext=
2782 if test -z "$ac_file"; then :
2783 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2784 $as_echo "no" >&6; }
2785 $as_echo "$as_me: failed program was:" >&5
2786 sed 's/^/| /' conftest.$ac_ext >&5
2788 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2789 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2790 as_fn_error 77 "C compiler cannot create executables
2791 See \`config.log' for more details" "$LINENO" 5; }
2793 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
2794 $as_echo "yes" >&6; }
2796 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler default output file name" >&5
2797 $as_echo_n "checking for C compiler default output file name... " >&6; }
2798 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5
2799 $as_echo "$ac_file" >&6; }
2800 ac_exeext=$ac_cv_exeext
2802 rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out
2803 ac_clean_files=$ac_clean_files_save
2804 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5
2805 $as_echo_n "checking for suffix of executables... " >&6; }
2806 if { { ac_try="$ac_link"
2808 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2809 *) ac_try_echo=$ac_try;;
2811 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2812 $as_echo "$ac_try_echo"; } >&5
2813 (eval "$ac_link") 2>&5
2815 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2816 test $ac_status = 0; }; then :
2817 # If both `conftest.exe' and `conftest' are `present' (well, observable)
2818 # catch `conftest.exe'. For instance with Cygwin, `ls conftest' will
2819 # work properly (i.e., refer to `conftest.exe'), while it won't with
2821 for ac_file in conftest.exe conftest conftest.*; do
2822 test -f "$ac_file" || continue
2824 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
2825 *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
2831 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2832 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2833 as_fn_error $? "cannot compute suffix of executables: cannot compile and link
2834 See \`config.log' for more details" "$LINENO" 5; }
2836 rm -f conftest conftest$ac_cv_exeext
2837 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5
2838 $as_echo "$ac_cv_exeext" >&6; }
2840 rm -f conftest.$ac_ext
2841 EXEEXT=$ac_cv_exeext
2843 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2844 /* end confdefs.h. */
2849 FILE *f = fopen ("conftest.out", "w");
2850 return ferror (f) || fclose (f) != 0;
2856 ac_clean_files="$ac_clean_files conftest.out"
2857 # Check that the compiler produces executables we can run. If not, either
2858 # the compiler is broken, or we cross compile.
2859 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5
2860 $as_echo_n "checking whether we are cross compiling... " >&6; }
2861 if test "$cross_compiling" != yes; then
2862 { { ac_try="$ac_link"
2864 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2865 *) ac_try_echo=$ac_try;;
2867 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2868 $as_echo "$ac_try_echo"; } >&5
2869 (eval "$ac_link") 2>&5
2871 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2872 test $ac_status = 0; }
2873 if { ac_try='./conftest$ac_cv_exeext'
2874 { { case "(($ac_try" in
2875 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2876 *) ac_try_echo=$ac_try;;
2878 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2879 $as_echo "$ac_try_echo"; } >&5
2880 (eval "$ac_try") 2>&5
2882 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2883 test $ac_status = 0; }; }; then
2886 if test "$cross_compiling" = maybe; then
2889 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2890 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2891 as_fn_error $? "cannot run C compiled programs.
2892 If you meant to cross compile, use \`--host'.
2893 See \`config.log' for more details" "$LINENO" 5; }
2897 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5
2898 $as_echo "$cross_compiling" >&6; }
2900 rm -f conftest.$ac_ext conftest$ac_cv_exeext conftest.out
2901 ac_clean_files=$ac_clean_files_save
2902 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5
2903 $as_echo_n "checking for suffix of object files... " >&6; }
2904 if ${ac_cv_objext+:} false; then :
2905 $as_echo_n "(cached) " >&6
2907 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2908 /* end confdefs.h. */
2918 rm -f conftest.o conftest.obj
2919 if { { ac_try="$ac_compile"
2921 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2922 *) ac_try_echo=$ac_try;;
2924 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2925 $as_echo "$ac_try_echo"; } >&5
2926 (eval "$ac_compile") 2>&5
2928 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2929 test $ac_status = 0; }; then :
2930 for ac_file in conftest.o conftest.obj conftest.*; do
2931 test -f "$ac_file" || continue;
2933 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;;
2934 *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
2939 $as_echo "$as_me: failed program was:" >&5
2940 sed 's/^/| /' conftest.$ac_ext >&5
2942 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2943 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2944 as_fn_error $? "cannot compute suffix of object files: cannot compile
2945 See \`config.log' for more details" "$LINENO" 5; }
2947 rm -f conftest.$ac_cv_objext conftest.$ac_ext
2949 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5
2950 $as_echo "$ac_cv_objext" >&6; }
2951 OBJEXT=$ac_cv_objext
2953 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
2954 $as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
2955 if ${ac_cv_c_compiler_gnu+:} false; then :
2956 $as_echo_n "(cached) " >&6
2958 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2959 /* end confdefs.h. */
2972 if ac_fn_c_try_compile "$LINENO"; then :
2977 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2978 ac_cv_c_compiler_gnu=$ac_compiler_gnu
2981 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
2982 $as_echo "$ac_cv_c_compiler_gnu" >&6; }
2983 if test $ac_compiler_gnu = yes; then
2988 ac_test_CFLAGS=${CFLAGS+set}
2989 ac_save_CFLAGS=$CFLAGS
2990 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
2991 $as_echo_n "checking whether $CC accepts -g... " >&6; }
2992 if ${ac_cv_prog_cc_g+:} false; then :
2993 $as_echo_n "(cached) " >&6
2995 ac_save_c_werror_flag=$ac_c_werror_flag
2996 ac_c_werror_flag=yes
2999 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3000 /* end confdefs.h. */
3010 if ac_fn_c_try_compile "$LINENO"; then :
3014 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3015 /* end confdefs.h. */
3025 if ac_fn_c_try_compile "$LINENO"; then :
3028 ac_c_werror_flag=$ac_save_c_werror_flag
3030 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3031 /* end confdefs.h. */
3041 if ac_fn_c_try_compile "$LINENO"; then :
3044 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3046 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3048 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3049 ac_c_werror_flag=$ac_save_c_werror_flag
3051 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
3052 $as_echo "$ac_cv_prog_cc_g" >&6; }
3053 if test "$ac_test_CFLAGS" = set; then
3054 CFLAGS=$ac_save_CFLAGS
3055 elif test $ac_cv_prog_cc_g = yes; then
3056 if test "$GCC" = yes; then
3062 if test "$GCC" = yes; then
3068 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
3069 $as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
3070 if ${ac_cv_prog_cc_c89+:} false; then :
3071 $as_echo_n "(cached) " >&6
3073 ac_cv_prog_cc_c89=no
3075 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3076 /* end confdefs.h. */
3079 #include <sys/types.h>
3080 #include <sys/stat.h>
3081 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
3082 struct buf { int x; };
3083 FILE * (*rcsopen) (struct buf *, struct stat *, int);
3084 static char *e (p, i)
3090 static char *f (char * (*g) (char **, int), char **p, ...)
3095 s = g (p, va_arg (v,int));
3100 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
3101 function prototypes and stuff, but not '\xHH' hex character constants.
3102 These don't provoke an error unfortunately, instead are silently treated
3103 as 'x'. The following induces an error, until -std is added to get
3104 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
3105 array size at least. It's necessary to write '\x00'==0 to get something
3106 that's true only with -std. */
3107 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
3109 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
3110 inside strings and character constants. */
3112 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
3114 int test (int i, double x);
3115 struct s1 {int (*f) (int a);};
3116 struct s2 {int (*f) (double a);};
3117 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
3123 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
3128 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
3129 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
3131 CC="$ac_save_CC $ac_arg"
3132 if ac_fn_c_try_compile "$LINENO"; then :
3133 ac_cv_prog_cc_c89=$ac_arg
3135 rm -f core conftest.err conftest.$ac_objext
3136 test "x$ac_cv_prog_cc_c89" != "xno" && break
3138 rm -f conftest.$ac_ext
3143 case "x$ac_cv_prog_cc_c89" in
3145 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
3146 $as_echo "none needed" >&6; } ;;
3148 { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
3149 $as_echo "unsupported" >&6; } ;;
3151 CC="$CC $ac_cv_prog_cc_c89"
3152 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
3153 $as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
3155 if test "x$ac_cv_prog_cc_c89" != xno; then :
3160 ac_cpp='$CPP $CPPFLAGS'
3161 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3162 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3163 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3165 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a sed that does not truncate output" >&5
3166 $as_echo_n "checking for a sed that does not truncate output... " >&6; }
3167 if ${ac_cv_path_SED+:} false; then :
3168 $as_echo_n "(cached) " >&6
3170 ac_script=s/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa/bbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbb/
3171 for ac_i in 1 2 3 4 5 6 7; do
3172 ac_script="$ac_script$as_nl$ac_script"
3174 echo "$ac_script" 2>/dev/null | sed 99q >conftest.sed
3175 { ac_script=; unset ac_script;}
3176 if test -z "$SED"; then
3177 ac_path_SED_found=false
3178 # Loop through the user's path and test for each of PROGNAME-LIST
3179 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3183 test -z "$as_dir" && as_dir=.
3184 for ac_prog in sed gsed; do
3185 for ac_exec_ext in '' $ac_executable_extensions; do
3186 ac_path_SED="$as_dir/$ac_prog$ac_exec_ext"
3187 { test -f "$ac_path_SED" && $as_test_x "$ac_path_SED"; } || continue
3188 # Check for GNU ac_path_SED and select it if it is found.
3189 # Check for GNU $ac_path_SED
3190 case `"$ac_path_SED" --version 2>&1` in
3192 ac_cv_path_SED="$ac_path_SED" ac_path_SED_found=:;;
3195 $as_echo_n 0123456789 >"conftest.in"
3198 cat "conftest.in" "conftest.in" >"conftest.tmp"
3199 mv "conftest.tmp" "conftest.in"
3200 cp "conftest.in" "conftest.nl"
3201 $as_echo '' >> "conftest.nl"
3202 "$ac_path_SED" -f conftest.sed < "conftest.nl" >"conftest.out" 2>/dev/null || break
3203 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
3204 as_fn_arith $ac_count + 1 && ac_count=$as_val
3205 if test $ac_count -gt ${ac_path_SED_max-0}; then
3206 # Best one so far, save it but keep looking for a better one
3207 ac_cv_path_SED="$ac_path_SED"
3208 ac_path_SED_max=$ac_count
3210 # 10*(2^10) chars as input seems more than enough
3211 test $ac_count -gt 10 && break
3213 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
3216 $ac_path_SED_found && break 3
3221 if test -z "$ac_cv_path_SED"; then
3222 as_fn_error $? "no acceptable sed could be found in \$PATH" "$LINENO" 5
3229 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_SED" >&5
3230 $as_echo "$ac_cv_path_SED" >&6; }
3231 SED="$ac_cv_path_SED"
3234 test -z "$SED" && SED=sed
3235 Xsed="$SED -e 1s/^X//"
3247 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for grep that handles long lines and -e" >&5
3248 $as_echo_n "checking for grep that handles long lines and -e... " >&6; }
3249 if ${ac_cv_path_GREP+:} false; then :
3250 $as_echo_n "(cached) " >&6
3252 if test -z "$GREP"; then
3253 ac_path_GREP_found=false
3254 # Loop through the user's path and test for each of PROGNAME-LIST
3255 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3256 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
3259 test -z "$as_dir" && as_dir=.
3260 for ac_prog in grep ggrep; do
3261 for ac_exec_ext in '' $ac_executable_extensions; do
3262 ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext"
3263 { test -f "$ac_path_GREP" && $as_test_x "$ac_path_GREP"; } || continue
3264 # Check for GNU ac_path_GREP and select it if it is found.
3265 # Check for GNU $ac_path_GREP
3266 case `"$ac_path_GREP" --version 2>&1` in
3268 ac_cv_path_GREP="$ac_path_GREP" ac_path_GREP_found=:;;
3271 $as_echo_n 0123456789 >"conftest.in"
3274 cat "conftest.in" "conftest.in" >"conftest.tmp"
3275 mv "conftest.tmp" "conftest.in"
3276 cp "conftest.in" "conftest.nl"
3277 $as_echo 'GREP' >> "conftest.nl"
3278 "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev/null || break
3279 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
3280 as_fn_arith $ac_count + 1 && ac_count=$as_val
3281 if test $ac_count -gt ${ac_path_GREP_max-0}; then
3282 # Best one so far, save it but keep looking for a better one
3283 ac_cv_path_GREP="$ac_path_GREP"
3284 ac_path_GREP_max=$ac_count
3286 # 10*(2^10) chars as input seems more than enough
3287 test $ac_count -gt 10 && break
3289 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
3292 $ac_path_GREP_found && break 3
3297 if test -z "$ac_cv_path_GREP"; then
3298 as_fn_error $? "no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
3301 ac_cv_path_GREP=$GREP
3305 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_GREP" >&5
3306 $as_echo "$ac_cv_path_GREP" >&6; }
3307 GREP="$ac_cv_path_GREP"
3310 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for egrep" >&5
3311 $as_echo_n "checking for egrep... " >&6; }
3312 if ${ac_cv_path_EGREP+:} false; then :
3313 $as_echo_n "(cached) " >&6
3315 if echo a | $GREP -E '(a|b)' >/dev/null 2>&1
3316 then ac_cv_path_EGREP="$GREP -E"
3318 if test -z "$EGREP"; then
3319 ac_path_EGREP_found=false
3320 # Loop through the user's path and test for each of PROGNAME-LIST
3321 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3322 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
3325 test -z "$as_dir" && as_dir=.
3326 for ac_prog in egrep; do
3327 for ac_exec_ext in '' $ac_executable_extensions; do
3328 ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext"
3329 { test -f "$ac_path_EGREP" && $as_test_x "$ac_path_EGREP"; } || continue
3330 # Check for GNU ac_path_EGREP and select it if it is found.
3331 # Check for GNU $ac_path_EGREP
3332 case `"$ac_path_EGREP" --version 2>&1` in
3334 ac_cv_path_EGREP="$ac_path_EGREP" ac_path_EGREP_found=:;;
3337 $as_echo_n 0123456789 >"conftest.in"
3340 cat "conftest.in" "conftest.in" >"conftest.tmp"
3341 mv "conftest.tmp" "conftest.in"
3342 cp "conftest.in" "conftest.nl"
3343 $as_echo 'EGREP' >> "conftest.nl"
3344 "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev/null || break
3345 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
3346 as_fn_arith $ac_count + 1 && ac_count=$as_val
3347 if test $ac_count -gt ${ac_path_EGREP_max-0}; then
3348 # Best one so far, save it but keep looking for a better one
3349 ac_cv_path_EGREP="$ac_path_EGREP"
3350 ac_path_EGREP_max=$ac_count
3352 # 10*(2^10) chars as input seems more than enough
3353 test $ac_count -gt 10 && break
3355 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
3358 $ac_path_EGREP_found && break 3
3363 if test -z "$ac_cv_path_EGREP"; then
3364 as_fn_error $? "no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
3367 ac_cv_path_EGREP=$EGREP
3372 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_EGREP" >&5
3373 $as_echo "$ac_cv_path_EGREP" >&6; }
3374 EGREP="$ac_cv_path_EGREP"
3377 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fgrep" >&5
3378 $as_echo_n "checking for fgrep... " >&6; }
3379 if ${ac_cv_path_FGREP+:} false; then :
3380 $as_echo_n "(cached) " >&6
3382 if echo 'ab*c' | $GREP -F 'ab*c' >/dev/null 2>&1
3383 then ac_cv_path_FGREP="$GREP -F"
3385 if test -z "$FGREP"; then
3386 ac_path_FGREP_found=false
3387 # Loop through the user's path and test for each of PROGNAME-LIST
3388 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3389 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
3392 test -z "$as_dir" && as_dir=.
3393 for ac_prog in fgrep; do
3394 for ac_exec_ext in '' $ac_executable_extensions; do
3395 ac_path_FGREP="$as_dir/$ac_prog$ac_exec_ext"
3396 { test -f "$ac_path_FGREP" && $as_test_x "$ac_path_FGREP"; } || continue
3397 # Check for GNU ac_path_FGREP and select it if it is found.
3398 # Check for GNU $ac_path_FGREP
3399 case `"$ac_path_FGREP" --version 2>&1` in
3401 ac_cv_path_FGREP="$ac_path_FGREP" ac_path_FGREP_found=:;;
3404 $as_echo_n 0123456789 >"conftest.in"
3407 cat "conftest.in" "conftest.in" >"conftest.tmp"
3408 mv "conftest.tmp" "conftest.in"
3409 cp "conftest.in" "conftest.nl"
3410 $as_echo 'FGREP' >> "conftest.nl"
3411 "$ac_path_FGREP" FGREP < "conftest.nl" >"conftest.out" 2>/dev/null || break
3412 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
3413 as_fn_arith $ac_count + 1 && ac_count=$as_val
3414 if test $ac_count -gt ${ac_path_FGREP_max-0}; then
3415 # Best one so far, save it but keep looking for a better one
3416 ac_cv_path_FGREP="$ac_path_FGREP"
3417 ac_path_FGREP_max=$ac_count
3419 # 10*(2^10) chars as input seems more than enough
3420 test $ac_count -gt 10 && break
3422 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
3425 $ac_path_FGREP_found && break 3
3430 if test -z "$ac_cv_path_FGREP"; then
3431 as_fn_error $? "no acceptable fgrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
3434 ac_cv_path_FGREP=$FGREP
3439 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_FGREP" >&5
3440 $as_echo "$ac_cv_path_FGREP" >&6; }
3441 FGREP="$ac_cv_path_FGREP"
3444 test -z "$GREP" && GREP=grep
3464 # Check whether --with-gnu-ld was given.
3465 if test "${with_gnu_ld+set}" = set; then :
3466 withval=$with_gnu_ld; test "$withval" = no || with_gnu_ld=yes
3472 if test "$GCC" = yes; then
3473 # Check if gcc -print-prog-name=ld gives a path.
3474 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld used by $CC" >&5
3475 $as_echo_n "checking for ld used by $CC... " >&6; }
3478 # gcc leaves a trailing carriage return which upsets mingw
3479 ac_prog=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
3481 ac_prog=`($CC -print-prog-name=ld) 2>&5` ;;
3484 # Accept absolute paths.
3486 re_direlt='/[^/][^/]*/\.\./'
3487 # Canonicalize the pathname of ld
3488 ac_prog=`$ECHO "$ac_prog"| $SED 's%\\\\%/%g'`
3489 while $ECHO "$ac_prog" | $GREP "$re_direlt" > /dev/null 2>&1; do
3490 ac_prog=`$ECHO $ac_prog| $SED "s%$re_direlt%/%"`
3492 test -z "$LD" && LD="$ac_prog"
3495 # If it fails, then pretend we aren't using GCC.
3499 # If it is relative, then search for the first ld in PATH.
3503 elif test "$with_gnu_ld" = yes; then
3504 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU ld" >&5
3505 $as_echo_n "checking for GNU ld... " >&6; }
3507 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for non-GNU ld" >&5
3508 $as_echo_n "checking for non-GNU ld... " >&6; }
3510 if ${lt_cv_path_LD+:} false; then :
3511 $as_echo_n "(cached) " >&6
3513 if test -z "$LD"; then
3514 lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
3515 for ac_dir in $PATH; do
3517 test -z "$ac_dir" && ac_dir=.
3518 if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then
3519 lt_cv_path_LD="$ac_dir/$ac_prog"
3520 # Check to see if the program is GNU ld. I'd rather use --version,
3521 # but apparently some variants of GNU ld only accept -v.
3522 # Break only if it was the GNU/non-GNU ld that we prefer.
3523 case `"$lt_cv_path_LD" -v 2>&1 </dev/null` in
3524 *GNU* | *'with BFD'*)
3525 test "$with_gnu_ld" != no && break
3528 test "$with_gnu_ld" != yes && break
3535 lt_cv_path_LD="$LD" # Let the user override the test with a path.
3540 if test -n "$LD"; then
3541 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LD" >&5
3542 $as_echo "$LD" >&6; }
3544 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3545 $as_echo "no" >&6; }
3547 test -z "$LD" && as_fn_error $? "no acceptable ld found in \$PATH" "$LINENO" 5
3548 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if the linker ($LD) is GNU ld" >&5
3549 $as_echo_n "checking if the linker ($LD) is GNU ld... " >&6; }
3550 if ${lt_cv_prog_gnu_ld+:} false; then :
3551 $as_echo_n "(cached) " >&6
3553 # I'd rather use --version here, but apparently some GNU lds only accept -v.
3554 case `$LD -v 2>&1 </dev/null` in
3555 *GNU* | *'with BFD'*)
3556 lt_cv_prog_gnu_ld=yes
3559 lt_cv_prog_gnu_ld=no
3563 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_gnu_ld" >&5
3564 $as_echo "$lt_cv_prog_gnu_ld" >&6; }
3565 with_gnu_ld=$lt_cv_prog_gnu_ld
3575 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for BSD- or MS-compatible name lister (nm)" >&5
3576 $as_echo_n "checking for BSD- or MS-compatible name lister (nm)... " >&6; }
3577 if ${lt_cv_path_NM+:} false; then :
3578 $as_echo_n "(cached) " >&6
3580 if test -n "$NM"; then
3581 # Let the user override the test.
3584 lt_nm_to_check="${ac_tool_prefix}nm"
3585 if test -n "$ac_tool_prefix" && test "$build" = "$host"; then
3586 lt_nm_to_check="$lt_nm_to_check nm"
3588 for lt_tmp_nm in $lt_nm_to_check; do
3589 lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
3590 for ac_dir in $PATH /usr/ccs/bin/elf /usr/ccs/bin /usr/ucb /bin; do
3592 test -z "$ac_dir" && ac_dir=.
3593 tmp_nm="$ac_dir/$lt_tmp_nm"
3594 if test -f "$tmp_nm" || test -f "$tmp_nm$ac_exeext" ; then
3595 # Check to see if the nm accepts a BSD-compat flag.
3596 # Adding the `sed 1q' prevents false positives on HP-UX, which says:
3597 # nm: unknown option "B" ignored
3598 # Tru64's nm complains that /dev/null is an invalid object file
3599 case `"$tmp_nm" -B /dev/null 2>&1 | sed '1q'` in
3600 */dev/null* | *'Invalid file or object type'*)
3601 lt_cv_path_NM="$tmp_nm -B"
3605 case `"$tmp_nm" -p /dev/null 2>&1 | sed '1q'` in
3607 lt_cv_path_NM="$tmp_nm -p"
3611 lt_cv_path_NM=${lt_cv_path_NM="$tmp_nm"} # keep the first match, but
3612 continue # so that we can try to find one that supports BSD flags
3621 : ${lt_cv_path_NM=no}
3624 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_path_NM" >&5
3625 $as_echo "$lt_cv_path_NM" >&6; }
3626 if test "$lt_cv_path_NM" != "no"; then
3629 # Didn't find any BSD compatible name lister, look for dumpbin.
3630 if test -n "$DUMPBIN"; then :
3631 # Let the user override the test.
3633 if test -n "$ac_tool_prefix"; then
3634 for ac_prog in dumpbin "link -dump"
3636 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
3637 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
3638 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3639 $as_echo_n "checking for $ac_word... " >&6; }
3640 if ${ac_cv_prog_DUMPBIN+:} false; then :
3641 $as_echo_n "(cached) " >&6
3643 if test -n "$DUMPBIN"; then
3644 ac_cv_prog_DUMPBIN="$DUMPBIN" # Let the user override the test.
3646 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3650 test -z "$as_dir" && as_dir=.
3651 for ac_exec_ext in '' $ac_executable_extensions; do
3652 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3653 ac_cv_prog_DUMPBIN="$ac_tool_prefix$ac_prog"
3654 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3663 DUMPBIN=$ac_cv_prog_DUMPBIN
3664 if test -n "$DUMPBIN"; then
3665 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DUMPBIN" >&5
3666 $as_echo "$DUMPBIN" >&6; }
3668 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3669 $as_echo "no" >&6; }
3673 test -n "$DUMPBIN" && break
3676 if test -z "$DUMPBIN"; then
3677 ac_ct_DUMPBIN=$DUMPBIN
3678 for ac_prog in dumpbin "link -dump"
3680 # Extract the first word of "$ac_prog", so it can be a program name with args.
3681 set dummy $ac_prog; ac_word=$2
3682 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3683 $as_echo_n "checking for $ac_word... " >&6; }
3684 if ${ac_cv_prog_ac_ct_DUMPBIN+:} false; then :
3685 $as_echo_n "(cached) " >&6
3687 if test -n "$ac_ct_DUMPBIN"; then
3688 ac_cv_prog_ac_ct_DUMPBIN="$ac_ct_DUMPBIN" # Let the user override the test.
3690 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3694 test -z "$as_dir" && as_dir=.
3695 for ac_exec_ext in '' $ac_executable_extensions; do
3696 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3697 ac_cv_prog_ac_ct_DUMPBIN="$ac_prog"
3698 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3707 ac_ct_DUMPBIN=$ac_cv_prog_ac_ct_DUMPBIN
3708 if test -n "$ac_ct_DUMPBIN"; then
3709 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DUMPBIN" >&5
3710 $as_echo "$ac_ct_DUMPBIN" >&6; }
3712 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3713 $as_echo "no" >&6; }
3717 test -n "$ac_ct_DUMPBIN" && break
3720 if test "x$ac_ct_DUMPBIN" = x; then
3723 case $cross_compiling:$ac_tool_warned in
3725 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3726 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3727 ac_tool_warned=yes ;;
3729 DUMPBIN=$ac_ct_DUMPBIN
3733 case `$DUMPBIN -symbols /dev/null 2>&1 | sed '1q'` in
3735 DUMPBIN="$DUMPBIN -symbols"
3743 if test "$DUMPBIN" != ":"; then
3747 test -z "$NM" && NM=nm
3754 { $as_echo "$as_me:${as_lineno-$LINENO}: checking the name lister ($NM) interface" >&5
3755 $as_echo_n "checking the name lister ($NM) interface... " >&6; }
3756 if ${lt_cv_nm_interface+:} false; then :
3757 $as_echo_n "(cached) " >&6
3759 lt_cv_nm_interface="BSD nm"
3760 echo "int some_variable = 0;" > conftest.$ac_ext
3761 (eval echo "\"\$as_me:$LINENO: $ac_compile\"" >&5)
3762 (eval "$ac_compile" 2>conftest.err)
3763 cat conftest.err >&5
3764 (eval echo "\"\$as_me:$LINENO: $NM \\\"conftest.$ac_objext\\\"\"" >&5)
3765 (eval "$NM \"conftest.$ac_objext\"" 2>conftest.err > conftest.out)
3766 cat conftest.err >&5
3767 (eval echo "\"\$as_me:$LINENO: output\"" >&5)
3768 cat conftest.out >&5
3769 if $GREP 'External.*some_variable' conftest.out > /dev/null; then
3770 lt_cv_nm_interface="MS dumpbin"
3774 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_nm_interface" >&5
3775 $as_echo "$lt_cv_nm_interface" >&6; }
3777 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ln -s works" >&5
3778 $as_echo_n "checking whether ln -s works... " >&6; }
3780 if test "$LN_S" = "ln -s"; then
3781 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
3782 $as_echo "yes" >&6; }
3784 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no, using $LN_S" >&5
3785 $as_echo "no, using $LN_S" >&6; }
3788 # find the maximum length of command line arguments
3789 { $as_echo "$as_me:${as_lineno-$LINENO}: checking the maximum length of command line arguments" >&5
3790 $as_echo_n "checking the maximum length of command line arguments... " >&6; }
3791 if ${lt_cv_sys_max_cmd_len+:} false; then :
3792 $as_echo_n "(cached) " >&6
3799 # On DJGPP, this test can blow up pretty badly due to problems in libc
3800 # (any single argument exceeding 2000 bytes causes a buffer overrun
3801 # during glob expansion). Even if it were fixed, the result of this
3802 # check would be larger than it should be.
3803 lt_cv_sys_max_cmd_len=12288; # 12K is about right
3807 # Under GNU Hurd, this test is not required because there is
3808 # no limit to the length of command line arguments.
3809 # Libtool will interpret -1 as no limit whatsoever
3810 lt_cv_sys_max_cmd_len=-1;
3813 cygwin* | mingw* | cegcc*)
3814 # On Win9x/ME, this test blows up -- it succeeds, but takes
3815 # about 5 minutes as the teststring grows exponentially.
3816 # Worse, since 9x/ME are not pre-emptively multitasking,
3817 # you end up with a "frozen" computer, even though with patience
3818 # the test eventually succeeds (with a max line length of 256k).
3819 # Instead, let's just punt: use the minimum linelength reported by
3820 # all of the supported platforms: 8192 (on NT/2K/XP).
3821 lt_cv_sys_max_cmd_len=8192;
3825 # On MiNT this can take a long time and run out of memory.
3826 lt_cv_sys_max_cmd_len=8192;
3830 # On AmigaOS with pdksh, this test takes hours, literally.
3831 # So we just punt and use a minimum line length of 8192.
3832 lt_cv_sys_max_cmd_len=8192;
3835 netbsd* | freebsd* | openbsd* | darwin* | dragonfly*)
3836 # This has been around since 386BSD, at least. Likely further.
3837 if test -x /sbin/sysctl; then
3838 lt_cv_sys_max_cmd_len=`/sbin/sysctl -n kern.argmax`
3839 elif test -x /usr/sbin/sysctl; then
3840 lt_cv_sys_max_cmd_len=`/usr/sbin/sysctl -n kern.argmax`
3842 lt_cv_sys_max_cmd_len=65536 # usable default for all BSDs
3844 # And add a safety zone
3845 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4`
3846 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3`
3850 # We know the value 262144 and hardcode it with a safety zone (like BSD)
3851 lt_cv_sys_max_cmd_len=196608
3855 # Dr. Hans Ekkehard Plesser reports seeing a kernel panic running configure
3856 # due to this test when exec_disable_arg_limit is 1 on Tru64. It is not
3857 # nice to cause kernel panics so lets avoid the loop below.
3858 # First set a reasonable default.
3859 lt_cv_sys_max_cmd_len=16384
3861 if test -x /sbin/sysconfig; then
3862 case `/sbin/sysconfig -q proc exec_disable_arg_limit` in
3863 *1*) lt_cv_sys_max_cmd_len=-1 ;;
3868 lt_cv_sys_max_cmd_len=102400
3870 sysv5* | sco5v6* | sysv4.2uw2*)
3871 kargmax=`grep ARG_MAX /etc/conf/cf.d/stune 2>/dev/null`
3872 if test -n "$kargmax"; then
3873 lt_cv_sys_max_cmd_len=`echo $kargmax | sed 's/.*[ ]//'`
3875 lt_cv_sys_max_cmd_len=32768
3879 lt_cv_sys_max_cmd_len=`(getconf ARG_MAX) 2> /dev/null`
3880 if test -n "$lt_cv_sys_max_cmd_len"; then
3881 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4`
3882 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3`
3884 # Make teststring a little bigger before we do anything with it.
3885 # a 1K string should be a reasonable start.
3886 for i in 1 2 3 4 5 6 7 8 ; do
3887 teststring=$teststring$teststring
3889 SHELL=${SHELL-${CONFIG_SHELL-/bin/sh}}
3890 # If test is not a shell built-in, we'll probably end up computing a
3891 # maximum length that is only half of the actual maximum length, but
3893 while { test "X"`func_fallback_echo "$teststring$teststring" 2>/dev/null` \
3894 = "X$teststring$teststring"; } >/dev/null 2>&1 &&
3895 test $i != 17 # 1/2 MB should be enough
3898 teststring=$teststring$teststring
3900 # Only check the string length outside the loop.
3901 lt_cv_sys_max_cmd_len=`expr "X$teststring" : ".*" 2>&1`
3903 # Add a significant safety factor because C++ compilers can tack on
3904 # massive amounts of additional arguments before passing them to the
3905 # linker. It appears as though 1/2 is a usable value.
3906 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 2`
3913 if test -n $lt_cv_sys_max_cmd_len ; then
3914 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_sys_max_cmd_len" >&5
3915 $as_echo "$lt_cv_sys_max_cmd_len" >&6; }
3917 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none" >&5
3918 $as_echo "none" >&6; }
3920 max_cmd_len=$lt_cv_sys_max_cmd_len
3931 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the shell understands some XSI constructs" >&5
3932 $as_echo_n "checking whether the shell understands some XSI constructs... " >&6; }
3933 # Try some XSI features
3936 test "${_lt_dummy##*/},${_lt_dummy%/*},${_lt_dummy#??}"${_lt_dummy%"$_lt_dummy"}, \
3938 && eval 'test $(( 1 + 1 )) -eq 2 \
3939 && test "${#_lt_dummy}" -eq 5' ) >/dev/null 2>&1 \
3941 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xsi_shell" >&5
3942 $as_echo "$xsi_shell" >&6; }
3945 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the shell understands \"+=\"" >&5
3946 $as_echo_n "checking whether the shell understands \"+=\"... " >&6; }
3948 ( foo=bar; set foo baz; eval "$1+=\$2" && test "$foo" = barbaz ) \
3950 && lt_shell_append=yes
3951 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_shell_append" >&5
3952 $as_echo "$lt_shell_append" >&6; }
3955 if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
3965 # test EBCDIC or ASCII
3966 case `echo X|tr X '\101'` in
3967 A) # ASCII based system
3968 # \n is not interpreted correctly by Solaris 8 /usr/ucb/tr
3969 lt_SP2NL='tr \040 \012'
3970 lt_NL2SP='tr \015\012 \040\040'
3972 *) # EBCDIC based system
3973 lt_SP2NL='tr \100 \n'
3974 lt_NL2SP='tr \r\n \100\100'
3986 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to convert $build file names to $host format" >&5
3987 $as_echo_n "checking how to convert $build file names to $host format... " >&6; }
3988 if ${lt_cv_to_host_file_cmd+:} false; then :
3989 $as_echo_n "(cached) " >&6
3994 *-*-mingw* ) # actually msys
3995 lt_cv_to_host_file_cmd=func_convert_file_msys_to_w32
3998 lt_cv_to_host_file_cmd=func_convert_file_cygwin_to_w32
4000 * ) # otherwise, assume *nix
4001 lt_cv_to_host_file_cmd=func_convert_file_nix_to_w32
4007 *-*-mingw* ) # actually msys
4008 lt_cv_to_host_file_cmd=func_convert_file_msys_to_cygwin
4011 lt_cv_to_host_file_cmd=func_convert_file_noop
4013 * ) # otherwise, assume *nix
4014 lt_cv_to_host_file_cmd=func_convert_file_nix_to_cygwin
4018 * ) # unhandled hosts (and "normal" native builds)
4019 lt_cv_to_host_file_cmd=func_convert_file_noop
4025 to_host_file_cmd=$lt_cv_to_host_file_cmd
4026 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_to_host_file_cmd" >&5
4027 $as_echo "$lt_cv_to_host_file_cmd" >&6; }
4033 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to convert $build file names to toolchain format" >&5
4034 $as_echo_n "checking how to convert $build file names to toolchain format... " >&6; }
4035 if ${lt_cv_to_tool_file_cmd+:} false; then :
4036 $as_echo_n "(cached) " >&6
4038 #assume ordinary cross tools, or native build.
4039 lt_cv_to_tool_file_cmd=func_convert_file_noop
4043 *-*-mingw* ) # actually msys
4044 lt_cv_to_tool_file_cmd=func_convert_file_msys_to_w32
4052 to_tool_file_cmd=$lt_cv_to_tool_file_cmd
4053 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_to_tool_file_cmd" >&5
4054 $as_echo "$lt_cv_to_tool_file_cmd" >&6; }
4060 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $LD option to reload object files" >&5
4061 $as_echo_n "checking for $LD option to reload object files... " >&6; }
4062 if ${lt_cv_ld_reload_flag+:} false; then :
4063 $as_echo_n "(cached) " >&6
4065 lt_cv_ld_reload_flag='-r'
4067 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_reload_flag" >&5
4068 $as_echo "$lt_cv_ld_reload_flag" >&6; }
4069 reload_flag=$lt_cv_ld_reload_flag
4070 case $reload_flag in
4072 *) reload_flag=" $reload_flag" ;;
4074 reload_cmds='$LD$reload_flag -o $output$reload_objs'
4076 cygwin* | mingw* | pw32* | cegcc*)
4077 if test "$GCC" != yes; then
4082 if test "$GCC" = yes; then
4083 reload_cmds='$LTCC $LTCFLAGS -nostdlib ${wl}-r -o $output$reload_objs'
4085 reload_cmds='$LD$reload_flag -o $output$reload_objs'
4098 if test -n "$ac_tool_prefix"; then
4099 # Extract the first word of "${ac_tool_prefix}objdump", so it can be a program name with args.
4100 set dummy ${ac_tool_prefix}objdump; ac_word=$2
4101 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4102 $as_echo_n "checking for $ac_word... " >&6; }
4103 if ${ac_cv_prog_OBJDUMP+:} false; then :
4104 $as_echo_n "(cached) " >&6
4106 if test -n "$OBJDUMP"; then
4107 ac_cv_prog_OBJDUMP="$OBJDUMP" # Let the user override the test.
4109 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4113 test -z "$as_dir" && as_dir=.
4114 for ac_exec_ext in '' $ac_executable_extensions; do
4115 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4116 ac_cv_prog_OBJDUMP="${ac_tool_prefix}objdump"
4117 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4126 OBJDUMP=$ac_cv_prog_OBJDUMP
4127 if test -n "$OBJDUMP"; then
4128 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OBJDUMP" >&5
4129 $as_echo "$OBJDUMP" >&6; }
4131 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4132 $as_echo "no" >&6; }
4137 if test -z "$ac_cv_prog_OBJDUMP"; then
4138 ac_ct_OBJDUMP=$OBJDUMP
4139 # Extract the first word of "objdump", so it can be a program name with args.
4140 set dummy objdump; ac_word=$2
4141 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4142 $as_echo_n "checking for $ac_word... " >&6; }
4143 if ${ac_cv_prog_ac_ct_OBJDUMP+:} false; then :
4144 $as_echo_n "(cached) " >&6
4146 if test -n "$ac_ct_OBJDUMP"; then
4147 ac_cv_prog_ac_ct_OBJDUMP="$ac_ct_OBJDUMP" # Let the user override the test.
4149 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4153 test -z "$as_dir" && as_dir=.
4154 for ac_exec_ext in '' $ac_executable_extensions; do
4155 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4156 ac_cv_prog_ac_ct_OBJDUMP="objdump"
4157 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4166 ac_ct_OBJDUMP=$ac_cv_prog_ac_ct_OBJDUMP
4167 if test -n "$ac_ct_OBJDUMP"; then
4168 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OBJDUMP" >&5
4169 $as_echo "$ac_ct_OBJDUMP" >&6; }
4171 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4172 $as_echo "no" >&6; }
4175 if test "x$ac_ct_OBJDUMP" = x; then
4178 case $cross_compiling:$ac_tool_warned in
4180 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4181 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4182 ac_tool_warned=yes ;;
4184 OBJDUMP=$ac_ct_OBJDUMP
4187 OBJDUMP="$ac_cv_prog_OBJDUMP"
4190 test -z "$OBJDUMP" && OBJDUMP=objdump
4200 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to recognize dependent libraries" >&5
4201 $as_echo_n "checking how to recognize dependent libraries... " >&6; }
4202 if ${lt_cv_deplibs_check_method+:} false; then :
4203 $as_echo_n "(cached) " >&6
4205 lt_cv_file_magic_cmd='$MAGIC_CMD'
4206 lt_cv_file_magic_test_file=
4207 lt_cv_deplibs_check_method='unknown'
4208 # Need to set the preceding variable on all platforms that support
4209 # interlibrary dependencies.
4210 # 'none' -- dependencies not supported.
4211 # `unknown' -- same as none, but documents that we really don't know.
4212 # 'pass_all' -- all dependencies passed with no checks.
4213 # 'test_compile' -- check by making test program.
4214 # 'file_magic [[regex]]' -- check by looking for files in library path
4215 # which responds to the $file_magic_cmd with a given extended regex.
4216 # If you have `file' or equivalent on your system and you're not sure
4217 # whether `pass_all' will *always* work, you probably want this one.
4221 lt_cv_deplibs_check_method=pass_all
4225 lt_cv_deplibs_check_method=pass_all
4229 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (shared object|dynamic lib)'
4230 lt_cv_file_magic_cmd='/usr/bin/file -L'
4231 lt_cv_file_magic_test_file=/shlib/libc.so
4235 # func_win32_libid is a shell function defined in ltmain.sh
4236 lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL'
4237 lt_cv_file_magic_cmd='func_win32_libid'
4241 # Base MSYS/MinGW do not provide the 'file' command needed by
4242 # func_win32_libid shell function, so use a weaker test based on 'objdump',
4243 # unless we find 'file', for example because we are cross-compiling.
4244 # func_win32_libid assumes BSD nm, so disallow it if using MS dumpbin.
4245 if ( test "$lt_cv_nm_interface" = "BSD nm" && file / ) >/dev/null 2>&1; then
4246 lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL'
4247 lt_cv_file_magic_cmd='func_win32_libid'
4249 # Keep this pattern in sync with the one in func_win32_libid.
4250 lt_cv_deplibs_check_method='file_magic file format (pei*-i386(.*architecture: i386)?|pe-arm-wince|pe-x86-64)'
4251 lt_cv_file_magic_cmd='$OBJDUMP -f'
4256 # use the weaker test based on 'objdump'. See mingw*.
4257 lt_cv_deplibs_check_method='file_magic file format pe-arm-.*little(.*architecture: arm)?'
4258 lt_cv_file_magic_cmd='$OBJDUMP -f'
4261 darwin* | rhapsody*)
4262 lt_cv_deplibs_check_method=pass_all
4265 freebsd* | dragonfly*)
4266 if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then
4269 # Not sure whether the presence of OpenBSD here was a mistake.
4270 # Let's accept both of them until this is cleared up.
4271 lt_cv_deplibs_check_method='file_magic (FreeBSD|OpenBSD|DragonFly)/i[3-9]86 (compact )?demand paged shared library'
4272 lt_cv_file_magic_cmd=/usr/bin/file
4273 lt_cv_file_magic_test_file=`echo /usr/lib/libc.so.*`
4277 lt_cv_deplibs_check_method=pass_all
4282 lt_cv_deplibs_check_method=pass_all
4286 lt_cv_deplibs_check_method=pass_all
4289 hpux10.20* | hpux11*)
4290 lt_cv_file_magic_cmd=/usr/bin/file
4293 lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|ELF-[0-9][0-9]) shared object file - IA64'
4294 lt_cv_file_magic_test_file=/usr/lib/hpux32/libc.so
4297 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]'
4298 lt_cv_file_magic_test_file=/usr/lib/pa20_64/libc.sl
4301 lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|PA-RISC[0-9]\.[0-9]) shared library'
4302 lt_cv_file_magic_test_file=/usr/lib/libc.sl
4308 # PIC code is broken on Interix 3.x, that's why |\.a not |_pic\.a here
4309 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|\.a)$'
4312 irix5* | irix6* | nonstopux*)
4314 *-32|*"-32 ") libmagic=32-bit;;
4315 *-n32|*"-n32 ") libmagic=N32;;
4316 *-64|*"-64 ") libmagic=64-bit;;
4317 *) libmagic=never-match;;
4319 lt_cv_deplibs_check_method=pass_all
4322 # This must be Linux ELF.
4323 linux* | k*bsd*-gnu | kopensolaris*-gnu)
4324 lt_cv_deplibs_check_method=pass_all
4328 if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then
4329 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
4331 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|_pic\.a)$'
4336 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (executable|dynamic lib)'
4337 lt_cv_file_magic_cmd=/usr/bin/file
4338 lt_cv_file_magic_test_file=/usr/lib/libnls.so
4342 lt_cv_deplibs_check_method=pass_all
4346 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
4347 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|\.so|_pic\.a)$'
4349 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
4353 osf3* | osf4* | osf5*)
4354 lt_cv_deplibs_check_method=pass_all
4358 lt_cv_deplibs_check_method=pass_all
4362 lt_cv_deplibs_check_method=pass_all
4365 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
4366 lt_cv_deplibs_check_method=pass_all
4370 case $host_vendor in
4372 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]'
4373 lt_cv_file_magic_test_file=`echo /usr/lib/libc.so*`
4376 lt_cv_deplibs_check_method=pass_all
4379 lt_cv_file_magic_cmd='/bin/file'
4380 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [LM]SB (shared object|dynamic lib )'
4383 lt_cv_file_magic_cmd='/bin/file'
4384 lt_cv_deplibs_check_method="file_magic ELF [0-9][0-9]*-bit [LM]SB dynamic lib"
4385 lt_cv_file_magic_test_file=/lib/libc.so
4388 lt_cv_deplibs_check_method=pass_all
4391 lt_cv_deplibs_check_method=pass_all
4397 lt_cv_deplibs_check_method=pass_all
4402 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_deplibs_check_method" >&5
4403 $as_echo "$lt_cv_deplibs_check_method" >&6; }
4407 if test "$build" = "$host"; then
4410 if ( shopt | grep nocaseglob ) >/dev/null 2>&1; then
4413 file_magic_glob=`echo aAbBcCdDeEfFgGhHiIjJkKlLmMnNoOpPqQrRsStTuUvVwWxXyYzZ | $SED -e "s/\(..\)/s\/[\1]\/[\1]\/g;/g"`
4419 file_magic_cmd=$lt_cv_file_magic_cmd
4420 deplibs_check_method=$lt_cv_deplibs_check_method
4421 test -z "$deplibs_check_method" && deplibs_check_method=unknown
4444 if test -n "$ac_tool_prefix"; then
4445 # Extract the first word of "${ac_tool_prefix}dlltool", so it can be a program name with args.
4446 set dummy ${ac_tool_prefix}dlltool; ac_word=$2
4447 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4448 $as_echo_n "checking for $ac_word... " >&6; }
4449 if ${ac_cv_prog_DLLTOOL+:} false; then :
4450 $as_echo_n "(cached) " >&6
4452 if test -n "$DLLTOOL"; then
4453 ac_cv_prog_DLLTOOL="$DLLTOOL" # Let the user override the test.
4455 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4459 test -z "$as_dir" && as_dir=.
4460 for ac_exec_ext in '' $ac_executable_extensions; do
4461 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4462 ac_cv_prog_DLLTOOL="${ac_tool_prefix}dlltool"
4463 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4472 DLLTOOL=$ac_cv_prog_DLLTOOL
4473 if test -n "$DLLTOOL"; then
4474 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DLLTOOL" >&5
4475 $as_echo "$DLLTOOL" >&6; }
4477 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4478 $as_echo "no" >&6; }
4483 if test -z "$ac_cv_prog_DLLTOOL"; then
4484 ac_ct_DLLTOOL=$DLLTOOL
4485 # Extract the first word of "dlltool", so it can be a program name with args.
4486 set dummy dlltool; ac_word=$2
4487 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4488 $as_echo_n "checking for $ac_word... " >&6; }
4489 if ${ac_cv_prog_ac_ct_DLLTOOL+:} false; then :
4490 $as_echo_n "(cached) " >&6
4492 if test -n "$ac_ct_DLLTOOL"; then
4493 ac_cv_prog_ac_ct_DLLTOOL="$ac_ct_DLLTOOL" # Let the user override the test.
4495 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4499 test -z "$as_dir" && as_dir=.
4500 for ac_exec_ext in '' $ac_executable_extensions; do
4501 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4502 ac_cv_prog_ac_ct_DLLTOOL="dlltool"
4503 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4512 ac_ct_DLLTOOL=$ac_cv_prog_ac_ct_DLLTOOL
4513 if test -n "$ac_ct_DLLTOOL"; then
4514 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DLLTOOL" >&5
4515 $as_echo "$ac_ct_DLLTOOL" >&6; }
4517 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4518 $as_echo "no" >&6; }
4521 if test "x$ac_ct_DLLTOOL" = x; then
4524 case $cross_compiling:$ac_tool_warned in
4526 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4527 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4528 ac_tool_warned=yes ;;
4530 DLLTOOL=$ac_ct_DLLTOOL
4533 DLLTOOL="$ac_cv_prog_DLLTOOL"
4536 test -z "$DLLTOOL" && DLLTOOL=dlltool
4547 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to associate runtime and link libraries" >&5
4548 $as_echo_n "checking how to associate runtime and link libraries... " >&6; }
4549 if ${lt_cv_sharedlib_from_linklib_cmd+:} false; then :
4550 $as_echo_n "(cached) " >&6
4552 lt_cv_sharedlib_from_linklib_cmd='unknown'
4555 cygwin* | mingw* | pw32* | cegcc*)
4556 # two different shell functions defined in ltmain.sh
4557 # decide which to use based on capabilities of $DLLTOOL
4558 case `$DLLTOOL --help 2>&1` in
4559 *--identify-strict*)
4560 lt_cv_sharedlib_from_linklib_cmd=func_cygming_dll_for_implib
4563 lt_cv_sharedlib_from_linklib_cmd=func_cygming_dll_for_implib_fallback
4568 # fallback: assume linklib IS sharedlib
4569 lt_cv_sharedlib_from_linklib_cmd="$ECHO"
4574 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_sharedlib_from_linklib_cmd" >&5
4575 $as_echo "$lt_cv_sharedlib_from_linklib_cmd" >&6; }
4576 sharedlib_from_linklib_cmd=$lt_cv_sharedlib_from_linklib_cmd
4577 test -z "$sharedlib_from_linklib_cmd" && sharedlib_from_linklib_cmd=$ECHO
4586 if test -n "$ac_tool_prefix"; then
4589 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
4590 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
4591 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4592 $as_echo_n "checking for $ac_word... " >&6; }
4593 if ${ac_cv_prog_AR+:} false; then :
4594 $as_echo_n "(cached) " >&6
4596 if test -n "$AR"; then
4597 ac_cv_prog_AR="$AR" # Let the user override the test.
4599 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4603 test -z "$as_dir" && as_dir=.
4604 for ac_exec_ext in '' $ac_executable_extensions; do
4605 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4606 ac_cv_prog_AR="$ac_tool_prefix$ac_prog"
4607 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4617 if test -n "$AR"; then
4618 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AR" >&5
4619 $as_echo "$AR" >&6; }
4621 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4622 $as_echo "no" >&6; }
4626 test -n "$AR" && break
4629 if test -z "$AR"; then
4633 # Extract the first word of "$ac_prog", so it can be a program name with args.
4634 set dummy $ac_prog; ac_word=$2
4635 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4636 $as_echo_n "checking for $ac_word... " >&6; }
4637 if ${ac_cv_prog_ac_ct_AR+:} false; then :
4638 $as_echo_n "(cached) " >&6
4640 if test -n "$ac_ct_AR"; then
4641 ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test.
4643 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4647 test -z "$as_dir" && as_dir=.
4648 for ac_exec_ext in '' $ac_executable_extensions; do
4649 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4650 ac_cv_prog_ac_ct_AR="$ac_prog"
4651 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4660 ac_ct_AR=$ac_cv_prog_ac_ct_AR
4661 if test -n "$ac_ct_AR"; then
4662 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_AR" >&5
4663 $as_echo "$ac_ct_AR" >&6; }
4665 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4666 $as_echo "no" >&6; }
4670 test -n "$ac_ct_AR" && break
4673 if test "x$ac_ct_AR" = x; then
4676 case $cross_compiling:$ac_tool_warned in
4678 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4679 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4680 ac_tool_warned=yes ;;
4699 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for archiver @FILE support" >&5
4700 $as_echo_n "checking for archiver @FILE support... " >&6; }
4701 if ${lt_cv_ar_at_file+:} false; then :
4702 $as_echo_n "(cached) " >&6
4705 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4706 /* end confdefs.h. */
4716 if ac_fn_c_try_compile "$LINENO"; then :
4717 echo conftest.$ac_objext > conftest.lst
4718 lt_ar_try='$AR $AR_FLAGS libconftest.a @conftest.lst >&5'
4719 { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$lt_ar_try\""; } >&5
4720 (eval $lt_ar_try) 2>&5
4722 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4723 test $ac_status = 0; }
4724 if test "$ac_status" -eq 0; then
4725 # Ensure the archiver fails upon bogus file names.
4726 rm -f conftest.$ac_objext libconftest.a
4727 { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$lt_ar_try\""; } >&5
4728 (eval $lt_ar_try) 2>&5
4730 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4731 test $ac_status = 0; }
4732 if test "$ac_status" -ne 0; then
4736 rm -f conftest.* libconftest.a
4739 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4742 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ar_at_file" >&5
4743 $as_echo "$lt_cv_ar_at_file" >&6; }
4745 if test "x$lt_cv_ar_at_file" = xno; then
4748 archiver_list_spec=$lt_cv_ar_at_file
4757 if test -n "$ac_tool_prefix"; then
4758 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
4759 set dummy ${ac_tool_prefix}strip; ac_word=$2
4760 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4761 $as_echo_n "checking for $ac_word... " >&6; }
4762 if ${ac_cv_prog_STRIP+:} false; then :
4763 $as_echo_n "(cached) " >&6
4765 if test -n "$STRIP"; then
4766 ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
4768 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4772 test -z "$as_dir" && as_dir=.
4773 for ac_exec_ext in '' $ac_executable_extensions; do
4774 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4775 ac_cv_prog_STRIP="${ac_tool_prefix}strip"
4776 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4785 STRIP=$ac_cv_prog_STRIP
4786 if test -n "$STRIP"; then
4787 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
4788 $as_echo "$STRIP" >&6; }
4790 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4791 $as_echo "no" >&6; }
4796 if test -z "$ac_cv_prog_STRIP"; then
4798 # Extract the first word of "strip", so it can be a program name with args.
4799 set dummy strip; ac_word=$2
4800 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4801 $as_echo_n "checking for $ac_word... " >&6; }
4802 if ${ac_cv_prog_ac_ct_STRIP+:} false; then :
4803 $as_echo_n "(cached) " >&6
4805 if test -n "$ac_ct_STRIP"; then
4806 ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
4808 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4812 test -z "$as_dir" && as_dir=.
4813 for ac_exec_ext in '' $ac_executable_extensions; do
4814 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4815 ac_cv_prog_ac_ct_STRIP="strip"
4816 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4825 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
4826 if test -n "$ac_ct_STRIP"; then
4827 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
4828 $as_echo "$ac_ct_STRIP" >&6; }
4830 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4831 $as_echo "no" >&6; }
4834 if test "x$ac_ct_STRIP" = x; then
4837 case $cross_compiling:$ac_tool_warned in
4839 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4840 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4841 ac_tool_warned=yes ;;
4846 STRIP="$ac_cv_prog_STRIP"
4849 test -z "$STRIP" && STRIP=:
4856 if test -n "$ac_tool_prefix"; then
4857 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
4858 set dummy ${ac_tool_prefix}ranlib; ac_word=$2
4859 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4860 $as_echo_n "checking for $ac_word... " >&6; }
4861 if ${ac_cv_prog_RANLIB+:} false; then :
4862 $as_echo_n "(cached) " >&6
4864 if test -n "$RANLIB"; then
4865 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
4867 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4871 test -z "$as_dir" && as_dir=.
4872 for ac_exec_ext in '' $ac_executable_extensions; do
4873 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4874 ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
4875 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4884 RANLIB=$ac_cv_prog_RANLIB
4885 if test -n "$RANLIB"; then
4886 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $RANLIB" >&5
4887 $as_echo "$RANLIB" >&6; }
4889 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4890 $as_echo "no" >&6; }
4895 if test -z "$ac_cv_prog_RANLIB"; then
4896 ac_ct_RANLIB=$RANLIB
4897 # Extract the first word of "ranlib", so it can be a program name with args.
4898 set dummy ranlib; ac_word=$2
4899 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4900 $as_echo_n "checking for $ac_word... " >&6; }
4901 if ${ac_cv_prog_ac_ct_RANLIB+:} false; then :
4902 $as_echo_n "(cached) " >&6
4904 if test -n "$ac_ct_RANLIB"; then
4905 ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
4907 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4911 test -z "$as_dir" && as_dir=.
4912 for ac_exec_ext in '' $ac_executable_extensions; do
4913 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4914 ac_cv_prog_ac_ct_RANLIB="ranlib"
4915 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4924 ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
4925 if test -n "$ac_ct_RANLIB"; then
4926 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_RANLIB" >&5
4927 $as_echo "$ac_ct_RANLIB" >&6; }
4929 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4930 $as_echo "no" >&6; }
4933 if test "x$ac_ct_RANLIB" = x; then
4936 case $cross_compiling:$ac_tool_warned in
4938 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4939 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4940 ac_tool_warned=yes ;;
4942 RANLIB=$ac_ct_RANLIB
4945 RANLIB="$ac_cv_prog_RANLIB"
4948 test -z "$RANLIB" && RANLIB=:
4955 # Determine commands to create old-style static archives.
4956 old_archive_cmds='$AR $AR_FLAGS $oldlib$oldobjs'
4957 old_postinstall_cmds='chmod 644 $oldlib'
4958 old_postuninstall_cmds=
4960 if test -n "$RANLIB"; then
4963 old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB -t \$oldlib"
4966 old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB \$oldlib"
4969 old_archive_cmds="$old_archive_cmds~\$RANLIB \$oldlib"
4974 lock_old_archive_extraction=yes ;;
4976 lock_old_archive_extraction=no ;;
4999 for ac_prog in gawk mawk nawk awk
5001 # Extract the first word of "$ac_prog", so it can be a program name with args.
5002 set dummy $ac_prog; ac_word=$2
5003 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5004 $as_echo_n "checking for $ac_word... " >&6; }
5005 if ${ac_cv_prog_AWK+:} false; then :
5006 $as_echo_n "(cached) " >&6
5008 if test -n "$AWK"; then
5009 ac_cv_prog_AWK="$AWK" # Let the user override the test.
5011 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5015 test -z "$as_dir" && as_dir=.
5016 for ac_exec_ext in '' $ac_executable_extensions; do
5017 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5018 ac_cv_prog_AWK="$ac_prog"
5019 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5029 if test -n "$AWK"; then
5030 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AWK" >&5
5031 $as_echo "$AWK" >&6; }
5033 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5034 $as_echo "no" >&6; }
5038 test -n "$AWK" && break
5059 # If no C compiler was specified, use CC.
5062 # If no C compiler flags were specified, use CFLAGS.
5063 LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
5065 # Allow CC to be a program name with arguments.
5069 # Check for command to grab the raw symbol name followed by C symbol from nm.
5070 { $as_echo "$as_me:${as_lineno-$LINENO}: checking command to parse $NM output from $compiler object" >&5
5071 $as_echo_n "checking command to parse $NM output from $compiler object... " >&6; }
5072 if ${lt_cv_sys_global_symbol_pipe+:} false; then :
5073 $as_echo_n "(cached) " >&6
5076 # These are sane defaults that work on at least a few old systems.
5077 # [They come from Ultrix. What could be older than Ultrix?!! ;)]
5079 # Character class describing NM global symbol codes.
5080 symcode='[BCDEGRST]'
5082 # Regexp to match symbols that can be accessed directly from C.
5083 sympat='\([_A-Za-z][_A-Za-z0-9]*\)'
5085 # Define system-specific variables.
5090 cygwin* | mingw* | pw32* | cegcc*)
5091 symcode='[ABCDGISTW]'
5094 if test "$host_cpu" = ia64; then
5095 symcode='[ABCDEGRST]'
5099 symcode='[BCDEGRST]'
5102 symcode='[BCDEGQRST]'
5113 sysv5* | sco5v6* | unixware* | OpenUNIX*)
5121 # If we're using GNU nm, then use its standard symbol codes.
5122 case `$NM -V 2>&1` in
5123 *GNU* | *'with BFD'*)
5124 symcode='[ABCDGIRSTW]' ;;
5127 # Transform an extracted symbol line into a proper C declaration.
5128 # Some systems (esp. on ia64) link data and code symbols differently,
5129 # so use this general approach.
5130 lt_cv_sys_global_symbol_to_cdecl="sed -n -e 's/^T .* \(.*\)$/extern int \1();/p' -e 's/^$symcode* .* \(.*\)$/extern char \1;/p'"
5132 # Transform an extracted symbol line into symbol name and symbol address
5133 lt_cv_sys_global_symbol_to_c_name_address="sed -n -e 's/^: \([^ ]*\)[ ]*$/ {\\\"\1\\\", (void *) 0},/p' -e 's/^$symcode* \([^ ]*\) \([^ ]*\)$/ {\"\2\", (void *) \&\2},/p'"
5134 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'"
5136 # Handle CRLF in mingw tool chain
5140 opt_cr=`$ECHO 'x\{0,1\}' | tr x '\015'` # option cr in regexp
5144 # Try without a prefix underscore, then with it.
5145 for ac_symprfx in "" "_"; do
5147 # Transform symcode, sympat, and symprfx into a raw symbol and a C symbol.
5148 symxfrm="\\1 $ac_symprfx\\2 \\2"
5150 # Write the raw and C identifiers.
5151 if test "$lt_cv_nm_interface" = "MS dumpbin"; then
5152 # Fake it for dumpbin and say T for any non-static function
5153 # and D for any global variable.
5154 # Also find C++ and __fastcall symbols from MSVC++,
5155 # which start with @ or ?.
5156 lt_cv_sys_global_symbol_pipe="$AWK '"\
5157 " {last_section=section; section=\$ 3};"\
5158 " /Section length .*#relocs.*(pick any)/{hide[last_section]=1};"\
5159 " \$ 0!~/External *\|/{next};"\
5160 " / 0+ UNDEF /{next}; / UNDEF \([^|]\)*()/{next};"\
5161 " {if(hide[section]) next};"\
5162 " {f=0}; \$ 0~/\(\).*\|/{f=1}; {printf f ? \"T \" : \"D \"};"\
5163 " {split(\$ 0, a, /\||\r/); split(a[2], s)};"\
5164 " s[1]~/^[@?]/{print s[1], s[1]; next};"\
5165 " s[1]~prfx {split(s[1],t,\"@\"); print t[1], substr(t[1],length(prfx))}"\
5166 " ' prfx=^$ac_symprfx"
5168 lt_cv_sys_global_symbol_pipe="sed -n -e 's/^.*[ ]\($symcode$symcode*\)[ ][ ]*$ac_symprfx$sympat$opt_cr$/$symxfrm/p'"
5170 lt_cv_sys_global_symbol_pipe="$lt_cv_sys_global_symbol_pipe | sed '/ __gnu_lto/d'"
5172 # Check to see that the pipe works correctly.
5176 cat > conftest.$ac_ext <<_LT_EOF
5181 void nm_test_func(void);
5182 void nm_test_func(void){}
5186 int main(){nm_test_var='a';nm_test_func();return(0);}
5189 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
5190 (eval $ac_compile) 2>&5
5192 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
5193 test $ac_status = 0; }; then
5194 # Now try to grab the symbols.
5196 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$NM conftest.$ac_objext \| "$lt_cv_sys_global_symbol_pipe" \> $nlist\""; } >&5
5197 (eval $NM conftest.$ac_objext \| "$lt_cv_sys_global_symbol_pipe" \> $nlist) 2>&5
5199 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
5200 test $ac_status = 0; } && test -s "$nlist"; then
5201 # Try sorting and uniquifying the output.
5202 if sort "$nlist" | uniq > "$nlist"T; then
5203 mv -f "$nlist"T "$nlist"
5208 # Make sure that we snagged all the symbols we need.
5209 if $GREP ' nm_test_var$' "$nlist" >/dev/null; then
5210 if $GREP ' nm_test_func$' "$nlist" >/dev/null; then
5211 cat <<_LT_EOF > conftest.$ac_ext
5212 /* Keep this code in sync between libtool.m4, ltmain, lt_system.h, and tests. */
5213 #if defined(_WIN32) || defined(__CYGWIN__) || defined(_WIN32_WCE)
5214 /* DATA imports from DLLs on WIN32 con't be const, because runtime
5215 relocations are performed -- see ld's documentation on pseudo-relocs. */
5216 # define LT_DLSYM_CONST
5217 #elif defined(__osf__)
5218 /* This system does not cope well with relocations in const data. */
5219 # define LT_DLSYM_CONST
5221 # define LT_DLSYM_CONST const
5229 # Now generate the symbol file.
5230 eval "$lt_cv_sys_global_symbol_to_cdecl"' < "$nlist" | $GREP -v main >> conftest.$ac_ext'
5232 cat <<_LT_EOF >> conftest.$ac_ext
5234 /* The mapping between symbol names and symbols. */
5235 LT_DLSYM_CONST struct {
5239 lt__PROGRAM__LTX_preloaded_symbols[] =
5241 { "@PROGRAM@", (void *) 0 },
5243 $SED "s/^$symcode$symcode* \(.*\) \(.*\)$/ {\"\2\", (void *) \&\2},/" < "$nlist" | $GREP -v main >> conftest.$ac_ext
5244 cat <<\_LT_EOF >> conftest.$ac_ext
5248 /* This works around a problem in FreeBSD linker */
5249 #ifdef FREEBSD_WORKAROUND
5250 static const void *lt_preloaded_setup() {
5251 return lt__PROGRAM__LTX_preloaded_symbols;
5259 # Now try linking the two files.
5260 mv conftest.$ac_objext conftstm.$ac_objext
5261 lt_globsym_save_LIBS=$LIBS
5262 lt_globsym_save_CFLAGS=$CFLAGS
5263 LIBS="conftstm.$ac_objext"
5264 CFLAGS="$CFLAGS$lt_prog_compiler_no_builtin_flag"
5265 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
5266 (eval $ac_link) 2>&5
5268 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
5269 test $ac_status = 0; } && test -s conftest${ac_exeext}; then
5272 LIBS=$lt_globsym_save_LIBS
5273 CFLAGS=$lt_globsym_save_CFLAGS
5275 echo "cannot find nm_test_func in $nlist" >&5
5278 echo "cannot find nm_test_var in $nlist" >&5
5281 echo "cannot run $lt_cv_sys_global_symbol_pipe" >&5
5284 echo "$progname: failed program was:" >&5
5285 cat conftest.$ac_ext >&5
5287 rm -rf conftest* conftst*
5289 # Do not use the global_symbol_pipe unless it works.
5290 if test "$pipe_works" = yes; then
5293 lt_cv_sys_global_symbol_pipe=
5299 if test -z "$lt_cv_sys_global_symbol_pipe"; then
5300 lt_cv_sys_global_symbol_to_cdecl=
5302 if test -z "$lt_cv_sys_global_symbol_pipe$lt_cv_sys_global_symbol_to_cdecl"; then
5303 { $as_echo "$as_me:${as_lineno-$LINENO}: result: failed" >&5
5304 $as_echo "failed" >&6; }
5306 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ok" >&5
5307 $as_echo "ok" >&6; }
5310 # Response file support.
5311 if test "$lt_cv_nm_interface" = "MS dumpbin"; then
5312 nm_file_list_spec='@'
5313 elif $NM --help 2>/dev/null | grep '[@]FILE' >/dev/null; then
5314 nm_file_list_spec='@'
5343 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sysroot" >&5
5344 $as_echo_n "checking for sysroot... " >&6; }
5346 # Check whether --with-sysroot was given.
5347 if test "${with_sysroot+set}" = set; then :
5348 withval=$with_sysroot;
5355 case ${with_sysroot} in #(
5357 if test "$GCC" = yes; then
5358 lt_sysroot=`$CC --print-sysroot 2>/dev/null`
5362 lt_sysroot=`echo "$with_sysroot" | sed -e "$sed_quote_subst"`
5367 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${with_sysroot}" >&5
5368 $as_echo "${with_sysroot}" >&6; }
5369 as_fn_error $? "The sysroot must be an absolute path." "$LINENO" 5
5373 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${lt_sysroot:-no}" >&5
5374 $as_echo "${lt_sysroot:-no}" >&6; }
5380 # Check whether --enable-libtool-lock was given.
5381 if test "${enable_libtool_lock+set}" = set; then :
5382 enableval=$enable_libtool_lock;
5385 test "x$enable_libtool_lock" != xno && enable_libtool_lock=yes
5387 # Some flags need to be propagated to the compiler or linker for good
5391 # Find out which ABI we are using.
5392 echo 'int i;' > conftest.$ac_ext
5393 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
5394 (eval $ac_compile) 2>&5
5396 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
5397 test $ac_status = 0; }; then
5398 case `/usr/bin/file conftest.$ac_objext` in
5410 # Find out which ABI we are using.
5411 echo '#line '$LINENO' "configure"' > conftest.$ac_ext
5412 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
5413 (eval $ac_compile) 2>&5
5415 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
5416 test $ac_status = 0; }; then
5417 if test "$lt_cv_prog_gnu_ld" = yes; then
5418 case `/usr/bin/file conftest.$ac_objext` in
5420 LD="${LD-ld} -melf32bsmip"
5423 LD="${LD-ld} -melf32bmipn32"
5426 LD="${LD-ld} -melf64bmip"
5430 case `/usr/bin/file conftest.$ac_objext` in
5446 x86_64-*kfreebsd*-gnu|x86_64-*linux*|ppc*-*linux*|powerpc*-*linux*| \
5447 s390*-*linux*|s390*-*tpf*|sparc*-*linux*)
5448 # Find out which ABI we are using.
5449 echo 'int i;' > conftest.$ac_ext
5450 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
5451 (eval $ac_compile) 2>&5
5453 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
5454 test $ac_status = 0; }; then
5455 case `/usr/bin/file conftest.o` in
5458 x86_64-*kfreebsd*-gnu)
5459 LD="${LD-ld} -m elf_i386_fbsd"
5462 LD="${LD-ld} -m elf_i386"
5464 ppc64-*linux*|powerpc64-*linux*)
5465 LD="${LD-ld} -m elf32ppclinux"
5468 LD="${LD-ld} -m elf_s390"
5471 LD="${LD-ld} -m elf32_sparc"
5477 x86_64-*kfreebsd*-gnu)
5478 LD="${LD-ld} -m elf_x86_64_fbsd"
5481 LD="${LD-ld} -m elf_x86_64"
5483 ppc*-*linux*|powerpc*-*linux*)
5484 LD="${LD-ld} -m elf64ppc"
5486 s390*-*linux*|s390*-*tpf*)
5487 LD="${LD-ld} -m elf64_s390"
5490 LD="${LD-ld} -m elf64_sparc"
5500 # On SCO OpenServer 5, we need -belf to get full-featured binaries.
5501 SAVE_CFLAGS="$CFLAGS"
5502 CFLAGS="$CFLAGS -belf"
5503 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler needs -belf" >&5
5504 $as_echo_n "checking whether the C compiler needs -belf... " >&6; }
5505 if ${lt_cv_cc_needs_belf+:} false; then :
5506 $as_echo_n "(cached) " >&6
5509 ac_cpp='$CPP $CPPFLAGS'
5510 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5511 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5512 ac_compiler_gnu=$ac_cv_c_compiler_gnu
5514 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5515 /* end confdefs.h. */
5525 if ac_fn_c_try_link "$LINENO"; then :
5526 lt_cv_cc_needs_belf=yes
5528 lt_cv_cc_needs_belf=no
5530 rm -f core conftest.err conftest.$ac_objext \
5531 conftest$ac_exeext conftest.$ac_ext
5533 ac_cpp='$CPP $CPPFLAGS'
5534 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5535 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5536 ac_compiler_gnu=$ac_cv_c_compiler_gnu
5539 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_cc_needs_belf" >&5
5540 $as_echo "$lt_cv_cc_needs_belf" >&6; }
5541 if test x"$lt_cv_cc_needs_belf" != x"yes"; then
5542 # this is probably gcc 2.8.0, egcs 1.0 or newer; no need for -belf
5543 CFLAGS="$SAVE_CFLAGS"
5547 # Find out which ABI we are using.
5548 echo 'int i;' > conftest.$ac_ext
5549 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
5550 (eval $ac_compile) 2>&5
5552 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
5553 test $ac_status = 0; }; then
5554 case `/usr/bin/file conftest.o` in
5556 case $lt_cv_prog_gnu_ld in
5557 yes*) LD="${LD-ld} -m elf64_sparc" ;;
5559 if ${LD-ld} -64 -r -o conftest2.o conftest.o >/dev/null 2>&1; then
5571 need_locks="$enable_libtool_lock"
5573 if test -n "$ac_tool_prefix"; then
5574 # Extract the first word of "${ac_tool_prefix}mt", so it can be a program name with args.
5575 set dummy ${ac_tool_prefix}mt; ac_word=$2
5576 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5577 $as_echo_n "checking for $ac_word... " >&6; }
5578 if ${ac_cv_prog_MANIFEST_TOOL+:} false; then :
5579 $as_echo_n "(cached) " >&6
5581 if test -n "$MANIFEST_TOOL"; then
5582 ac_cv_prog_MANIFEST_TOOL="$MANIFEST_TOOL" # Let the user override the test.
5584 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5588 test -z "$as_dir" && as_dir=.
5589 for ac_exec_ext in '' $ac_executable_extensions; do
5590 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5591 ac_cv_prog_MANIFEST_TOOL="${ac_tool_prefix}mt"
5592 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5601 MANIFEST_TOOL=$ac_cv_prog_MANIFEST_TOOL
5602 if test -n "$MANIFEST_TOOL"; then
5603 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MANIFEST_TOOL" >&5
5604 $as_echo "$MANIFEST_TOOL" >&6; }
5606 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5607 $as_echo "no" >&6; }
5612 if test -z "$ac_cv_prog_MANIFEST_TOOL"; then
5613 ac_ct_MANIFEST_TOOL=$MANIFEST_TOOL
5614 # Extract the first word of "mt", so it can be a program name with args.
5615 set dummy mt; ac_word=$2
5616 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5617 $as_echo_n "checking for $ac_word... " >&6; }
5618 if ${ac_cv_prog_ac_ct_MANIFEST_TOOL+:} false; then :
5619 $as_echo_n "(cached) " >&6
5621 if test -n "$ac_ct_MANIFEST_TOOL"; then
5622 ac_cv_prog_ac_ct_MANIFEST_TOOL="$ac_ct_MANIFEST_TOOL" # Let the user override the test.
5624 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5628 test -z "$as_dir" && as_dir=.
5629 for ac_exec_ext in '' $ac_executable_extensions; do
5630 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5631 ac_cv_prog_ac_ct_MANIFEST_TOOL="mt"
5632 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5641 ac_ct_MANIFEST_TOOL=$ac_cv_prog_ac_ct_MANIFEST_TOOL
5642 if test -n "$ac_ct_MANIFEST_TOOL"; then
5643 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_MANIFEST_TOOL" >&5
5644 $as_echo "$ac_ct_MANIFEST_TOOL" >&6; }
5646 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5647 $as_echo "no" >&6; }
5650 if test "x$ac_ct_MANIFEST_TOOL" = x; then
5653 case $cross_compiling:$ac_tool_warned in
5655 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5656 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5657 ac_tool_warned=yes ;;
5659 MANIFEST_TOOL=$ac_ct_MANIFEST_TOOL
5662 MANIFEST_TOOL="$ac_cv_prog_MANIFEST_TOOL"
5665 test -z "$MANIFEST_TOOL" && MANIFEST_TOOL=mt
5666 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $MANIFEST_TOOL is a manifest tool" >&5
5667 $as_echo_n "checking if $MANIFEST_TOOL is a manifest tool... " >&6; }
5668 if ${lt_cv_path_mainfest_tool+:} false; then :
5669 $as_echo_n "(cached) " >&6
5671 lt_cv_path_mainfest_tool=no
5672 echo "$as_me:$LINENO: $MANIFEST_TOOL '-?'" >&5
5673 $MANIFEST_TOOL '-?' 2>conftest.err > conftest.out
5674 cat conftest.err >&5
5675 if $GREP 'Manifest Tool' conftest.out > /dev/null; then
5676 lt_cv_path_mainfest_tool=yes
5680 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_path_mainfest_tool" >&5
5681 $as_echo "$lt_cv_path_mainfest_tool" >&6; }
5682 if test "x$lt_cv_path_mainfest_tool" != xyes; then
5692 rhapsody* | darwin*)
5693 if test -n "$ac_tool_prefix"; then
5694 # Extract the first word of "${ac_tool_prefix}dsymutil", so it can be a program name with args.
5695 set dummy ${ac_tool_prefix}dsymutil; ac_word=$2
5696 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5697 $as_echo_n "checking for $ac_word... " >&6; }
5698 if ${ac_cv_prog_DSYMUTIL+:} false; then :
5699 $as_echo_n "(cached) " >&6
5701 if test -n "$DSYMUTIL"; then
5702 ac_cv_prog_DSYMUTIL="$DSYMUTIL" # Let the user override the test.
5704 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5708 test -z "$as_dir" && as_dir=.
5709 for ac_exec_ext in '' $ac_executable_extensions; do
5710 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5711 ac_cv_prog_DSYMUTIL="${ac_tool_prefix}dsymutil"
5712 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5721 DSYMUTIL=$ac_cv_prog_DSYMUTIL
5722 if test -n "$DSYMUTIL"; then
5723 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DSYMUTIL" >&5
5724 $as_echo "$DSYMUTIL" >&6; }
5726 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5727 $as_echo "no" >&6; }
5732 if test -z "$ac_cv_prog_DSYMUTIL"; then
5733 ac_ct_DSYMUTIL=$DSYMUTIL
5734 # Extract the first word of "dsymutil", so it can be a program name with args.
5735 set dummy dsymutil; ac_word=$2
5736 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5737 $as_echo_n "checking for $ac_word... " >&6; }
5738 if ${ac_cv_prog_ac_ct_DSYMUTIL+:} false; then :
5739 $as_echo_n "(cached) " >&6
5741 if test -n "$ac_ct_DSYMUTIL"; then
5742 ac_cv_prog_ac_ct_DSYMUTIL="$ac_ct_DSYMUTIL" # Let the user override the test.
5744 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5748 test -z "$as_dir" && as_dir=.
5749 for ac_exec_ext in '' $ac_executable_extensions; do
5750 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5751 ac_cv_prog_ac_ct_DSYMUTIL="dsymutil"
5752 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5761 ac_ct_DSYMUTIL=$ac_cv_prog_ac_ct_DSYMUTIL
5762 if test -n "$ac_ct_DSYMUTIL"; then
5763 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DSYMUTIL" >&5
5764 $as_echo "$ac_ct_DSYMUTIL" >&6; }
5766 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5767 $as_echo "no" >&6; }
5770 if test "x$ac_ct_DSYMUTIL" = x; then
5773 case $cross_compiling:$ac_tool_warned in
5775 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5776 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5777 ac_tool_warned=yes ;;
5779 DSYMUTIL=$ac_ct_DSYMUTIL
5782 DSYMUTIL="$ac_cv_prog_DSYMUTIL"
5785 if test -n "$ac_tool_prefix"; then
5786 # Extract the first word of "${ac_tool_prefix}nmedit", so it can be a program name with args.
5787 set dummy ${ac_tool_prefix}nmedit; ac_word=$2
5788 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5789 $as_echo_n "checking for $ac_word... " >&6; }
5790 if ${ac_cv_prog_NMEDIT+:} false; then :
5791 $as_echo_n "(cached) " >&6
5793 if test -n "$NMEDIT"; then
5794 ac_cv_prog_NMEDIT="$NMEDIT" # Let the user override the test.
5796 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5800 test -z "$as_dir" && as_dir=.
5801 for ac_exec_ext in '' $ac_executable_extensions; do
5802 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5803 ac_cv_prog_NMEDIT="${ac_tool_prefix}nmedit"
5804 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5813 NMEDIT=$ac_cv_prog_NMEDIT
5814 if test -n "$NMEDIT"; then
5815 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $NMEDIT" >&5
5816 $as_echo "$NMEDIT" >&6; }
5818 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5819 $as_echo "no" >&6; }
5824 if test -z "$ac_cv_prog_NMEDIT"; then
5825 ac_ct_NMEDIT=$NMEDIT
5826 # Extract the first word of "nmedit", so it can be a program name with args.
5827 set dummy nmedit; ac_word=$2
5828 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5829 $as_echo_n "checking for $ac_word... " >&6; }
5830 if ${ac_cv_prog_ac_ct_NMEDIT+:} false; then :
5831 $as_echo_n "(cached) " >&6
5833 if test -n "$ac_ct_NMEDIT"; then
5834 ac_cv_prog_ac_ct_NMEDIT="$ac_ct_NMEDIT" # Let the user override the test.
5836 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5840 test -z "$as_dir" && as_dir=.
5841 for ac_exec_ext in '' $ac_executable_extensions; do
5842 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5843 ac_cv_prog_ac_ct_NMEDIT="nmedit"
5844 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5853 ac_ct_NMEDIT=$ac_cv_prog_ac_ct_NMEDIT
5854 if test -n "$ac_ct_NMEDIT"; then
5855 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_NMEDIT" >&5
5856 $as_echo "$ac_ct_NMEDIT" >&6; }
5858 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5859 $as_echo "no" >&6; }
5862 if test "x$ac_ct_NMEDIT" = x; then
5865 case $cross_compiling:$ac_tool_warned in
5867 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5868 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5869 ac_tool_warned=yes ;;
5871 NMEDIT=$ac_ct_NMEDIT
5874 NMEDIT="$ac_cv_prog_NMEDIT"
5877 if test -n "$ac_tool_prefix"; then
5878 # Extract the first word of "${ac_tool_prefix}lipo", so it can be a program name with args.
5879 set dummy ${ac_tool_prefix}lipo; ac_word=$2
5880 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5881 $as_echo_n "checking for $ac_word... " >&6; }
5882 if ${ac_cv_prog_LIPO+:} false; then :
5883 $as_echo_n "(cached) " >&6
5885 if test -n "$LIPO"; then
5886 ac_cv_prog_LIPO="$LIPO" # Let the user override the test.
5888 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5892 test -z "$as_dir" && as_dir=.
5893 for ac_exec_ext in '' $ac_executable_extensions; do
5894 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5895 ac_cv_prog_LIPO="${ac_tool_prefix}lipo"
5896 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5905 LIPO=$ac_cv_prog_LIPO
5906 if test -n "$LIPO"; then
5907 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LIPO" >&5
5908 $as_echo "$LIPO" >&6; }
5910 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5911 $as_echo "no" >&6; }
5916 if test -z "$ac_cv_prog_LIPO"; then
5918 # Extract the first word of "lipo", so it can be a program name with args.
5919 set dummy lipo; ac_word=$2
5920 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5921 $as_echo_n "checking for $ac_word... " >&6; }
5922 if ${ac_cv_prog_ac_ct_LIPO+:} false; then :
5923 $as_echo_n "(cached) " >&6
5925 if test -n "$ac_ct_LIPO"; then
5926 ac_cv_prog_ac_ct_LIPO="$ac_ct_LIPO" # Let the user override the test.
5928 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5932 test -z "$as_dir" && as_dir=.
5933 for ac_exec_ext in '' $ac_executable_extensions; do
5934 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5935 ac_cv_prog_ac_ct_LIPO="lipo"
5936 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5945 ac_ct_LIPO=$ac_cv_prog_ac_ct_LIPO
5946 if test -n "$ac_ct_LIPO"; then
5947 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_LIPO" >&5
5948 $as_echo "$ac_ct_LIPO" >&6; }
5950 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5951 $as_echo "no" >&6; }
5954 if test "x$ac_ct_LIPO" = x; then
5957 case $cross_compiling:$ac_tool_warned in
5959 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5960 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5961 ac_tool_warned=yes ;;
5966 LIPO="$ac_cv_prog_LIPO"
5969 if test -n "$ac_tool_prefix"; then
5970 # Extract the first word of "${ac_tool_prefix}otool", so it can be a program name with args.
5971 set dummy ${ac_tool_prefix}otool; ac_word=$2
5972 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5973 $as_echo_n "checking for $ac_word... " >&6; }
5974 if ${ac_cv_prog_OTOOL+:} false; then :
5975 $as_echo_n "(cached) " >&6
5977 if test -n "$OTOOL"; then
5978 ac_cv_prog_OTOOL="$OTOOL" # Let the user override the test.
5980 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5984 test -z "$as_dir" && as_dir=.
5985 for ac_exec_ext in '' $ac_executable_extensions; do
5986 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5987 ac_cv_prog_OTOOL="${ac_tool_prefix}otool"
5988 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5997 OTOOL=$ac_cv_prog_OTOOL
5998 if test -n "$OTOOL"; then
5999 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OTOOL" >&5
6000 $as_echo "$OTOOL" >&6; }
6002 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6003 $as_echo "no" >&6; }
6008 if test -z "$ac_cv_prog_OTOOL"; then
6010 # Extract the first word of "otool", so it can be a program name with args.
6011 set dummy otool; ac_word=$2
6012 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6013 $as_echo_n "checking for $ac_word... " >&6; }
6014 if ${ac_cv_prog_ac_ct_OTOOL+:} false; then :
6015 $as_echo_n "(cached) " >&6
6017 if test -n "$ac_ct_OTOOL"; then
6018 ac_cv_prog_ac_ct_OTOOL="$ac_ct_OTOOL" # Let the user override the test.
6020 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6024 test -z "$as_dir" && as_dir=.
6025 for ac_exec_ext in '' $ac_executable_extensions; do
6026 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6027 ac_cv_prog_ac_ct_OTOOL="otool"
6028 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6037 ac_ct_OTOOL=$ac_cv_prog_ac_ct_OTOOL
6038 if test -n "$ac_ct_OTOOL"; then
6039 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OTOOL" >&5
6040 $as_echo "$ac_ct_OTOOL" >&6; }
6042 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6043 $as_echo "no" >&6; }
6046 if test "x$ac_ct_OTOOL" = x; then
6049 case $cross_compiling:$ac_tool_warned in
6051 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6052 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6053 ac_tool_warned=yes ;;
6058 OTOOL="$ac_cv_prog_OTOOL"
6061 if test -n "$ac_tool_prefix"; then
6062 # Extract the first word of "${ac_tool_prefix}otool64", so it can be a program name with args.
6063 set dummy ${ac_tool_prefix}otool64; ac_word=$2
6064 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6065 $as_echo_n "checking for $ac_word... " >&6; }
6066 if ${ac_cv_prog_OTOOL64+:} false; then :
6067 $as_echo_n "(cached) " >&6
6069 if test -n "$OTOOL64"; then
6070 ac_cv_prog_OTOOL64="$OTOOL64" # Let the user override the test.
6072 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6076 test -z "$as_dir" && as_dir=.
6077 for ac_exec_ext in '' $ac_executable_extensions; do
6078 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6079 ac_cv_prog_OTOOL64="${ac_tool_prefix}otool64"
6080 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6089 OTOOL64=$ac_cv_prog_OTOOL64
6090 if test -n "$OTOOL64"; then
6091 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OTOOL64" >&5
6092 $as_echo "$OTOOL64" >&6; }
6094 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6095 $as_echo "no" >&6; }
6100 if test -z "$ac_cv_prog_OTOOL64"; then
6101 ac_ct_OTOOL64=$OTOOL64
6102 # Extract the first word of "otool64", so it can be a program name with args.
6103 set dummy otool64; ac_word=$2
6104 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6105 $as_echo_n "checking for $ac_word... " >&6; }
6106 if ${ac_cv_prog_ac_ct_OTOOL64+:} false; then :
6107 $as_echo_n "(cached) " >&6
6109 if test -n "$ac_ct_OTOOL64"; then
6110 ac_cv_prog_ac_ct_OTOOL64="$ac_ct_OTOOL64" # Let the user override the test.
6112 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6116 test -z "$as_dir" && as_dir=.
6117 for ac_exec_ext in '' $ac_executable_extensions; do
6118 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6119 ac_cv_prog_ac_ct_OTOOL64="otool64"
6120 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6129 ac_ct_OTOOL64=$ac_cv_prog_ac_ct_OTOOL64
6130 if test -n "$ac_ct_OTOOL64"; then
6131 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OTOOL64" >&5
6132 $as_echo "$ac_ct_OTOOL64" >&6; }
6134 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6135 $as_echo "no" >&6; }
6138 if test "x$ac_ct_OTOOL64" = x; then
6141 case $cross_compiling:$ac_tool_warned in
6143 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6144 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6145 ac_tool_warned=yes ;;
6147 OTOOL64=$ac_ct_OTOOL64
6150 OTOOL64="$ac_cv_prog_OTOOL64"
6179 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -single_module linker flag" >&5
6180 $as_echo_n "checking for -single_module linker flag... " >&6; }
6181 if ${lt_cv_apple_cc_single_mod+:} false; then :
6182 $as_echo_n "(cached) " >&6
6184 lt_cv_apple_cc_single_mod=no
6185 if test -z "${LT_MULTI_MODULE}"; then
6186 # By default we will add the -single_module flag. You can override
6187 # by either setting the environment variable LT_MULTI_MODULE
6188 # non-empty at configure time, or by adding -multi_module to the
6190 rm -rf libconftest.dylib*
6191 echo "int foo(void){return 1;}" > conftest.c
6192 echo "$LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \
6193 -dynamiclib -Wl,-single_module conftest.c" >&5
6194 $LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \
6195 -dynamiclib -Wl,-single_module conftest.c 2>conftest.err
6197 if test -f libconftest.dylib && test ! -s conftest.err && test $_lt_result = 0; then
6198 lt_cv_apple_cc_single_mod=yes
6200 cat conftest.err >&5
6202 rm -rf libconftest.dylib*
6206 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_apple_cc_single_mod" >&5
6207 $as_echo "$lt_cv_apple_cc_single_mod" >&6; }
6208 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -exported_symbols_list linker flag" >&5
6209 $as_echo_n "checking for -exported_symbols_list linker flag... " >&6; }
6210 if ${lt_cv_ld_exported_symbols_list+:} false; then :
6211 $as_echo_n "(cached) " >&6
6213 lt_cv_ld_exported_symbols_list=no
6214 save_LDFLAGS=$LDFLAGS
6215 echo "_main" > conftest.sym
6216 LDFLAGS="$LDFLAGS -Wl,-exported_symbols_list,conftest.sym"
6217 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6218 /* end confdefs.h. */
6228 if ac_fn_c_try_link "$LINENO"; then :
6229 lt_cv_ld_exported_symbols_list=yes
6231 lt_cv_ld_exported_symbols_list=no
6233 rm -f core conftest.err conftest.$ac_objext \
6234 conftest$ac_exeext conftest.$ac_ext
6235 LDFLAGS="$save_LDFLAGS"
6238 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_exported_symbols_list" >&5
6239 $as_echo "$lt_cv_ld_exported_symbols_list" >&6; }
6240 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -force_load linker flag" >&5
6241 $as_echo_n "checking for -force_load linker flag... " >&6; }
6242 if ${lt_cv_ld_force_load+:} false; then :
6243 $as_echo_n "(cached) " >&6
6245 lt_cv_ld_force_load=no
6246 cat > conftest.c << _LT_EOF
6247 int forced_loaded() { return 2;}
6249 echo "$LTCC $LTCFLAGS -c -o conftest.o conftest.c" >&5
6250 $LTCC $LTCFLAGS -c -o conftest.o conftest.c 2>&5
6251 echo "$AR cru libconftest.a conftest.o" >&5
6252 $AR cru libconftest.a conftest.o 2>&5
6253 echo "$RANLIB libconftest.a" >&5
6254 $RANLIB libconftest.a 2>&5
6255 cat > conftest.c << _LT_EOF
6256 int main() { return 0;}
6258 echo "$LTCC $LTCFLAGS $LDFLAGS -o conftest conftest.c -Wl,-force_load,./libconftest.a" >&5
6259 $LTCC $LTCFLAGS $LDFLAGS -o conftest conftest.c -Wl,-force_load,./libconftest.a 2>conftest.err
6261 if test -f conftest && test ! -s conftest.err && test $_lt_result = 0 && $GREP forced_load conftest 2>&1 >/dev/null; then
6262 lt_cv_ld_force_load=yes
6264 cat conftest.err >&5
6266 rm -f conftest.err libconftest.a conftest conftest.c
6267 rm -rf conftest.dSYM
6270 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_force_load" >&5
6271 $as_echo "$lt_cv_ld_force_load" >&6; }
6273 rhapsody* | darwin1.[012])
6274 _lt_dar_allow_undefined='${wl}-undefined ${wl}suppress' ;;
6276 _lt_dar_allow_undefined='${wl}-flat_namespace ${wl}-undefined ${wl}suppress' ;;
6277 darwin*) # darwin 5.x on
6278 # if running on 10.5 or later, the deployment target defaults
6279 # to the OS version, if on x86, and 10.4, the deployment
6280 # target defaults to 10.4. Don't you love it?
6281 case ${MACOSX_DEPLOYMENT_TARGET-10.0},$host in
6282 10.0,*86*-darwin8*|10.0,*-darwin[91]*)
6283 _lt_dar_allow_undefined='${wl}-undefined ${wl}dynamic_lookup' ;;
6285 _lt_dar_allow_undefined='${wl}-flat_namespace ${wl}-undefined ${wl}suppress' ;;
6287 _lt_dar_allow_undefined='${wl}-undefined ${wl}dynamic_lookup' ;;
6291 if test "$lt_cv_apple_cc_single_mod" = "yes"; then
6292 _lt_dar_single_mod='$single_module'
6294 if test "$lt_cv_ld_exported_symbols_list" = "yes"; then
6295 _lt_dar_export_syms=' ${wl}-exported_symbols_list,$output_objdir/${libname}-symbols.expsym'
6297 _lt_dar_export_syms='~$NMEDIT -s $output_objdir/${libname}-symbols.expsym ${lib}'
6299 if test "$DSYMUTIL" != ":" && test "$lt_cv_ld_force_load" = "no"; then
6300 _lt_dsymutil='~$DSYMUTIL $lib || :'
6308 ac_cpp='$CPP $CPPFLAGS'
6309 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
6310 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
6311 ac_compiler_gnu=$ac_cv_c_compiler_gnu
6312 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C preprocessor" >&5
6313 $as_echo_n "checking how to run the C preprocessor... " >&6; }
6314 # On Suns, sometimes $CPP names a directory.
6315 if test -n "$CPP" && test -d "$CPP"; then
6318 if test -z "$CPP"; then
6319 if ${ac_cv_prog_CPP+:} false; then :
6320 $as_echo_n "(cached) " >&6
6322 # Double quotes because CPP needs to be expanded
6323 for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
6326 for ac_c_preproc_warn_flag in '' yes
6328 # Use a header file that comes with gcc, so configuring glibc
6329 # with a fresh cross-compiler works.
6330 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
6331 # <limits.h> exists even on freestanding compilers.
6332 # On the NeXT, cc -E runs the code through the compiler's parser,
6333 # not just through cpp. "Syntax error" is here to catch this case.
6334 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6335 /* end confdefs.h. */
6337 # include <limits.h>
6339 # include <assert.h>
6343 if ac_fn_c_try_cpp "$LINENO"; then :
6346 # Broken: fails on valid input.
6349 rm -f conftest.err conftest.i conftest.$ac_ext
6351 # OK, works on sane cases. Now check whether nonexistent headers
6352 # can be detected and how.
6353 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6354 /* end confdefs.h. */
6355 #include <ac_nonexistent.h>
6357 if ac_fn_c_try_cpp "$LINENO"; then :
6358 # Broken: success on invalid input.
6361 # Passes both tests.
6365 rm -f conftest.err conftest.i conftest.$ac_ext
6368 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
6369 rm -f conftest.i conftest.err conftest.$ac_ext
6370 if $ac_preproc_ok; then :
6382 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CPP" >&5
6383 $as_echo "$CPP" >&6; }
6385 for ac_c_preproc_warn_flag in '' yes
6387 # Use a header file that comes with gcc, so configuring glibc
6388 # with a fresh cross-compiler works.
6389 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
6390 # <limits.h> exists even on freestanding compilers.
6391 # On the NeXT, cc -E runs the code through the compiler's parser,
6392 # not just through cpp. "Syntax error" is here to catch this case.
6393 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6394 /* end confdefs.h. */
6396 # include <limits.h>
6398 # include <assert.h>
6402 if ac_fn_c_try_cpp "$LINENO"; then :
6405 # Broken: fails on valid input.
6408 rm -f conftest.err conftest.i conftest.$ac_ext
6410 # OK, works on sane cases. Now check whether nonexistent headers
6411 # can be detected and how.
6412 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6413 /* end confdefs.h. */
6414 #include <ac_nonexistent.h>
6416 if ac_fn_c_try_cpp "$LINENO"; then :
6417 # Broken: success on invalid input.
6420 # Passes both tests.
6424 rm -f conftest.err conftest.i conftest.$ac_ext
6427 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
6428 rm -f conftest.i conftest.err conftest.$ac_ext
6429 if $ac_preproc_ok; then :
6432 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
6433 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
6434 as_fn_error $? "C preprocessor \"$CPP\" fails sanity check
6435 See \`config.log' for more details" "$LINENO" 5; }
6439 ac_cpp='$CPP $CPPFLAGS'
6440 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
6441 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
6442 ac_compiler_gnu=$ac_cv_c_compiler_gnu
6445 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5
6446 $as_echo_n "checking for ANSI C header files... " >&6; }
6447 if ${ac_cv_header_stdc+:} false; then :
6448 $as_echo_n "(cached) " >&6
6450 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6451 /* end confdefs.h. */
6465 if ac_fn_c_try_compile "$LINENO"; then :
6466 ac_cv_header_stdc=yes
6468 ac_cv_header_stdc=no
6470 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6472 if test $ac_cv_header_stdc = yes; then
6473 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
6474 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6475 /* end confdefs.h. */
6479 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
6480 $EGREP "memchr" >/dev/null 2>&1; then :
6483 ac_cv_header_stdc=no
6489 if test $ac_cv_header_stdc = yes; then
6490 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
6491 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6492 /* end confdefs.h. */
6496 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
6497 $EGREP "free" >/dev/null 2>&1; then :
6500 ac_cv_header_stdc=no
6506 if test $ac_cv_header_stdc = yes; then
6507 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
6508 if test "$cross_compiling" = yes; then :
6511 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6512 /* end confdefs.h. */
6515 #if ((' ' & 0x0FF) == 0x020)
6516 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
6517 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
6519 # define ISLOWER(c) \
6520 (('a' <= (c) && (c) <= 'i') \
6521 || ('j' <= (c) && (c) <= 'r') \
6522 || ('s' <= (c) && (c) <= 'z'))
6523 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
6526 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
6531 for (i = 0; i < 256; i++)
6532 if (XOR (islower (i), ISLOWER (i))
6533 || toupper (i) != TOUPPER (i))
6538 if ac_fn_c_try_run "$LINENO"; then :
6541 ac_cv_header_stdc=no
6543 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
6544 conftest.$ac_objext conftest.beam conftest.$ac_ext
6549 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdc" >&5
6550 $as_echo "$ac_cv_header_stdc" >&6; }
6551 if test $ac_cv_header_stdc = yes; then
6553 $as_echo "#define STDC_HEADERS 1" >>confdefs.h
6557 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
6558 for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
6559 inttypes.h stdint.h unistd.h
6561 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
6562 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default
6564 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
6565 cat >>confdefs.h <<_ACEOF
6566 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
6574 for ac_header in dlfcn.h
6576 ac_fn_c_check_header_compile "$LINENO" "dlfcn.h" "ac_cv_header_dlfcn_h" "$ac_includes_default
6578 if test "x$ac_cv_header_dlfcn_h" = xyes; then :
6579 cat >>confdefs.h <<_ACEOF
6580 #define HAVE_DLFCN_H 1
6601 # Check whether --enable-shared was given.
6602 if test "${enable_shared+set}" = set; then :
6603 enableval=$enable_shared; p=${PACKAGE-default}
6605 yes) enable_shared=yes ;;
6606 no) enable_shared=no ;;
6609 # Look at the argument we got. We use all the common list separators.
6610 lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
6611 for pkg in $enableval; do
6613 if test "X$pkg" = "X$p"; then
6632 # Check whether --enable-static was given.
6633 if test "${enable_static+set}" = set; then :
6634 enableval=$enable_static; p=${PACKAGE-default}
6636 yes) enable_static=yes ;;
6637 no) enable_static=no ;;
6640 # Look at the argument we got. We use all the common list separators.
6641 lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
6642 for pkg in $enableval; do
6644 if test "X$pkg" = "X$p"; then
6664 # Check whether --with-pic was given.
6665 if test "${with_pic+set}" = set; then :
6666 withval=$with_pic; pic_mode="$withval"
6672 test -z "$pic_mode" && pic_mode=default
6680 # Check whether --enable-fast-install was given.
6681 if test "${enable_fast_install+set}" = set; then :
6682 enableval=$enable_fast_install; p=${PACKAGE-default}
6684 yes) enable_fast_install=yes ;;
6685 no) enable_fast_install=no ;;
6687 enable_fast_install=no
6688 # Look at the argument we got. We use all the common list separators.
6689 lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
6690 for pkg in $enableval; do
6692 if test "X$pkg" = "X$p"; then
6693 enable_fast_install=yes
6700 enable_fast_install=yes
6713 # This can be used to rebuild libtool when needed
6714 LIBTOOL_DEPS="$ltmain"
6716 # Always use our own libtool.
6717 LIBTOOL='$(SHELL) $(top_builddir)/libtool'
6744 test -z "$LN_S" && LN_S="ln -s"
6759 if test -n "${ZSH_VERSION+set}" ; then
6760 setopt NO_GLOB_SUBST
6763 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for objdir" >&5
6764 $as_echo_n "checking for objdir... " >&6; }
6765 if ${lt_cv_objdir+:} false; then :
6766 $as_echo_n "(cached) " >&6
6768 rm -f .libs 2>/dev/null
6769 mkdir .libs 2>/dev/null
6770 if test -d .libs; then
6773 # MS-DOS does not allow filenames that begin with a dot.
6776 rmdir .libs 2>/dev/null
6778 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_objdir" >&5
6779 $as_echo "$lt_cv_objdir" >&6; }
6780 objdir=$lt_cv_objdir
6786 cat >>confdefs.h <<_ACEOF
6787 #define LT_OBJDIR "$lt_cv_objdir/"
6795 # AIX sometimes has problems with the GCC collect2 program. For some
6796 # reason, if we set the COLLECT_NAMES environment variable, the problems
6797 # vanish in a puff of smoke.
6798 if test "X${COLLECT_NAMES+set}" != Xset; then
6800 export COLLECT_NAMES
6807 can_build_shared=yes
6809 # All known linkers require a `.a' archive for static linking (except MSVC,
6810 # which needs '.lib').
6813 with_gnu_ld="$lt_cv_prog_gnu_ld"
6816 old_CFLAGS="$CFLAGS"
6818 # Set sane defaults for various variables
6819 test -z "$CC" && CC=cc
6820 test -z "$LTCC" && LTCC=$CC
6821 test -z "$LTCFLAGS" && LTCFLAGS=$CFLAGS
6822 test -z "$LD" && LD=ld
6823 test -z "$ac_objext" && ac_objext=o
6825 for cc_temp in $compiler""; do
6827 compile | *[\\/]compile | ccache | *[\\/]ccache ) ;;
6828 distcc | *[\\/]distcc | purify | *[\\/]purify ) ;;
6833 cc_basename=`$ECHO "$cc_temp" | $SED "s%.*/%%; s%^$host_alias-%%"`
6836 # Only perform the check for file, if the check method requires it
6837 test -z "$MAGIC_CMD" && MAGIC_CMD=file
6838 case $deplibs_check_method in
6840 if test "$file_magic_cmd" = '$MAGIC_CMD'; then
6841 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ${ac_tool_prefix}file" >&5
6842 $as_echo_n "checking for ${ac_tool_prefix}file... " >&6; }
6843 if ${lt_cv_path_MAGIC_CMD+:} false; then :
6844 $as_echo_n "(cached) " >&6
6848 lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a path.
6851 lt_save_MAGIC_CMD="$MAGIC_CMD"
6852 lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
6853 ac_dummy="/usr/bin$PATH_SEPARATOR$PATH"
6854 for ac_dir in $ac_dummy; do
6856 test -z "$ac_dir" && ac_dir=.
6857 if test -f $ac_dir/${ac_tool_prefix}file; then
6858 lt_cv_path_MAGIC_CMD="$ac_dir/${ac_tool_prefix}file"
6859 if test -n "$file_magic_test_file"; then
6860 case $deplibs_check_method in
6862 file_magic_regex=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
6863 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
6864 if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
6865 $EGREP "$file_magic_regex" > /dev/null; then
6870 *** Warning: the command libtool uses to detect shared libraries,
6871 *** $file_magic_cmd, produces output that libtool cannot recognize.
6872 *** The result is that libtool may fail to recognize shared libraries
6873 *** as such. This will affect the creation of libtool libraries that
6874 *** depend on shared libraries, but programs linked with such libtool
6875 *** libraries will work regardless of this problem. Nevertheless, you
6876 *** may want to report the problem to your system manager and/or to
6877 *** bug-libtool@gnu.org
6887 MAGIC_CMD="$lt_save_MAGIC_CMD"
6892 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
6893 if test -n "$MAGIC_CMD"; then
6894 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MAGIC_CMD" >&5
6895 $as_echo "$MAGIC_CMD" >&6; }
6897 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6898 $as_echo "no" >&6; }
6905 if test -z "$lt_cv_path_MAGIC_CMD"; then
6906 if test -n "$ac_tool_prefix"; then
6907 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for file" >&5
6908 $as_echo_n "checking for file... " >&6; }
6909 if ${lt_cv_path_MAGIC_CMD+:} false; then :
6910 $as_echo_n "(cached) " >&6
6914 lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a path.
6917 lt_save_MAGIC_CMD="$MAGIC_CMD"
6918 lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
6919 ac_dummy="/usr/bin$PATH_SEPARATOR$PATH"
6920 for ac_dir in $ac_dummy; do
6922 test -z "$ac_dir" && ac_dir=.
6923 if test -f $ac_dir/file; then
6924 lt_cv_path_MAGIC_CMD="$ac_dir/file"
6925 if test -n "$file_magic_test_file"; then
6926 case $deplibs_check_method in
6928 file_magic_regex=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
6929 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
6930 if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
6931 $EGREP "$file_magic_regex" > /dev/null; then
6936 *** Warning: the command libtool uses to detect shared libraries,
6937 *** $file_magic_cmd, produces output that libtool cannot recognize.
6938 *** The result is that libtool may fail to recognize shared libraries
6939 *** as such. This will affect the creation of libtool libraries that
6940 *** depend on shared libraries, but programs linked with such libtool
6941 *** libraries will work regardless of this problem. Nevertheless, you
6942 *** may want to report the problem to your system manager and/or to
6943 *** bug-libtool@gnu.org
6953 MAGIC_CMD="$lt_save_MAGIC_CMD"
6958 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
6959 if test -n "$MAGIC_CMD"; then
6960 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MAGIC_CMD" >&5
6961 $as_echo "$MAGIC_CMD" >&6; }
6963 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6964 $as_echo "no" >&6; }
6977 # Use C for the default configuration in the libtool script
6981 ac_cpp='$CPP $CPPFLAGS'
6982 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
6983 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
6984 ac_compiler_gnu=$ac_cv_c_compiler_gnu
6987 # Source file extension for C test sources.
6990 # Object file extension for compiled C test sources.
6994 # Code to be used in simple compile tests
6995 lt_simple_compile_test_code="int some_variable = 0;"
6997 # Code to be used in simple link tests
6998 lt_simple_link_test_code='int main(){return(0);}'
7006 # If no C compiler was specified, use CC.
7009 # If no C compiler flags were specified, use CFLAGS.
7010 LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
7012 # Allow CC to be a program name with arguments.
7015 # Save the default compiler, since it gets overwritten when the other
7016 # tags are being tested, and _LT_TAGVAR(compiler, []) is a NOP.
7017 compiler_DEFAULT=$CC
7019 # save warnings/boilerplate of simple test code
7020 ac_outfile=conftest.$ac_objext
7021 echo "$lt_simple_compile_test_code" >conftest.$ac_ext
7022 eval "$ac_compile" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
7023 _lt_compiler_boilerplate=`cat conftest.err`
7026 ac_outfile=conftest.$ac_objext
7027 echo "$lt_simple_link_test_code" >conftest.$ac_ext
7028 eval "$ac_link" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
7029 _lt_linker_boilerplate=`cat conftest.err`
7034 ## There is no encapsulation within the following macros, do not change
7035 ## the running order or otherwise move them around unless you know exactly
7036 ## what you are doing...
7037 if test -n "$compiler"; then
7039 lt_prog_compiler_no_builtin_flag=
7041 if test "$GCC" = yes; then
7042 case $cc_basename in
7044 lt_prog_compiler_no_builtin_flag=' -Xcompiler -fno-builtin' ;;
7046 lt_prog_compiler_no_builtin_flag=' -fno-builtin' ;;
7049 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -fno-rtti -fno-exceptions" >&5
7050 $as_echo_n "checking if $compiler supports -fno-rtti -fno-exceptions... " >&6; }
7051 if ${lt_cv_prog_compiler_rtti_exceptions+:} false; then :
7052 $as_echo_n "(cached) " >&6
7054 lt_cv_prog_compiler_rtti_exceptions=no
7055 ac_outfile=conftest.$ac_objext
7056 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
7057 lt_compiler_flag="-fno-rtti -fno-exceptions"
7058 # Insert the option either (1) after the last *FLAGS variable, or
7059 # (2) before a word containing "conftest.", or (3) at the end.
7060 # Note that $ac_compile itself does not contain backslashes and begins
7061 # with a dollar sign (not a hyphen), so the echo should work correctly.
7062 # The option is referenced via a variable to avoid confusing sed.
7063 lt_compile=`echo "$ac_compile" | $SED \
7064 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
7065 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
7066 -e 's:$: $lt_compiler_flag:'`
7067 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
7068 (eval "$lt_compile" 2>conftest.err)
7070 cat conftest.err >&5
7071 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7072 if (exit $ac_status) && test -s "$ac_outfile"; then
7073 # The compiler can only warn and ignore the option if not recognized
7074 # So say no if there are warnings other than the usual output.
7075 $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' >conftest.exp
7076 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
7077 if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
7078 lt_cv_prog_compiler_rtti_exceptions=yes
7084 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_rtti_exceptions" >&5
7085 $as_echo "$lt_cv_prog_compiler_rtti_exceptions" >&6; }
7087 if test x"$lt_cv_prog_compiler_rtti_exceptions" = xyes; then
7088 lt_prog_compiler_no_builtin_flag="$lt_prog_compiler_no_builtin_flag -fno-rtti -fno-exceptions"
7100 lt_prog_compiler_wl=
7101 lt_prog_compiler_pic=
7102 lt_prog_compiler_static=
7105 if test "$GCC" = yes; then
7106 lt_prog_compiler_wl='-Wl,'
7107 lt_prog_compiler_static='-static'
7111 # All AIX code is PIC.
7112 if test "$host_cpu" = ia64; then
7113 # AIX 5 now supports IA64 processor
7114 lt_prog_compiler_static='-Bstatic'
7121 # see comment about AmigaOS4 .so support
7122 lt_prog_compiler_pic='-fPIC'
7125 # FIXME: we need at least 68020 code to build shared libraries, but
7126 # adding the `-m68020' flag to GCC prevents building anything better,
7128 lt_prog_compiler_pic='-m68020 -resident32 -malways-restore-a4'
7133 beos* | irix5* | irix6* | nonstopux* | osf3* | osf4* | osf5*)
7134 # PIC is the default for these OSes.
7137 mingw* | cygwin* | pw32* | os2* | cegcc*)
7138 # This hack is so that the source file can tell whether it is being
7139 # built for inclusion in a dll (and should export symbols for example).
7140 # Although the cygwin gcc ignores -fPIC, still need this for old-style
7141 # (--disable-auto-import) libraries
7142 lt_prog_compiler_pic='-DDLL_EXPORT'
7145 darwin* | rhapsody*)
7146 # PIC is the default on this platform
7147 # Common symbols not allowed in MH_DYLIB files
7148 lt_prog_compiler_pic='-fno-common'
7152 # PIC is the default for Haiku.
7153 # The "-static" flag exists, but is broken.
7154 lt_prog_compiler_static=
7158 # PIC is the default for 64-bit PA HP-UX, but not for 32-bit
7159 # PA HP-UX. On IA64 HP-UX, PIC is the default but the pic flag
7160 # sets the default TLS model and affects inlining.
7166 lt_prog_compiler_pic='-fPIC'
7172 # Interix 3.x gcc -fpic/-fPIC options generate broken code.
7173 # Instead, we relocate shared libraries at runtime.
7177 # Just because we use GCC doesn't mean we suddenly get shared libraries
7178 # on systems that don't support them.
7179 lt_prog_compiler_can_build_shared=no
7184 # QNX uses GNU C++, but need to define -shared option too, otherwise
7186 lt_prog_compiler_pic='-fPIC -shared'
7190 if test -d /usr/nec; then
7191 lt_prog_compiler_pic=-Kconform_pic
7196 lt_prog_compiler_pic='-fPIC'
7200 case $cc_basename in
7201 nvcc*) # Cuda Compiler Driver 2.2
7202 lt_prog_compiler_wl='-Xlinker '
7203 lt_prog_compiler_pic='-Xcompiler -fPIC'
7207 # PORTME Check for flag to pass linker flags through the system compiler.
7210 lt_prog_compiler_wl='-Wl,'
7211 if test "$host_cpu" = ia64; then
7212 # AIX 5 now supports IA64 processor
7213 lt_prog_compiler_static='-Bstatic'
7215 lt_prog_compiler_static='-bnso -bI:/lib/syscalls.exp'
7219 mingw* | cygwin* | pw32* | os2* | cegcc*)
7220 # This hack is so that the source file can tell whether it is being
7221 # built for inclusion in a dll (and should export symbols for example).
7222 lt_prog_compiler_pic='-DDLL_EXPORT'
7225 hpux9* | hpux10* | hpux11*)
7226 lt_prog_compiler_wl='-Wl,'
7227 # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
7234 lt_prog_compiler_pic='+Z'
7237 # Is there a better lt_prog_compiler_static that works with the bundled CC?
7238 lt_prog_compiler_static='${wl}-a ${wl}archive'
7241 irix5* | irix6* | nonstopux*)
7242 lt_prog_compiler_wl='-Wl,'
7243 # PIC (with -KPIC) is the default.
7244 lt_prog_compiler_static='-non_shared'
7247 linux* | k*bsd*-gnu | kopensolaris*-gnu)
7248 case $cc_basename in
7249 # old Intel for x86_64 which still supported -KPIC.
7251 lt_prog_compiler_wl='-Wl,'
7252 lt_prog_compiler_pic='-KPIC'
7253 lt_prog_compiler_static='-static'
7255 # icc used to be incompatible with GCC.
7256 # ICC 10 doesn't accept -KPIC any more.
7258 lt_prog_compiler_wl='-Wl,'
7259 lt_prog_compiler_pic='-fPIC'
7260 lt_prog_compiler_static='-static'
7262 # Lahey Fortran 8.1.
7264 lt_prog_compiler_wl='-Wl,'
7265 lt_prog_compiler_pic='--shared'
7266 lt_prog_compiler_static='--static'
7269 # NAG Fortran compiler
7270 lt_prog_compiler_wl='-Wl,-Wl,,'
7271 lt_prog_compiler_pic='-PIC'
7272 lt_prog_compiler_static='-Bstatic'
7274 pgcc* | pgf77* | pgf90* | pgf95* | pgfortran*)
7275 # Portland Group compilers (*not* the Pentium gcc compiler,
7276 # which looks to be a dead project)
7277 lt_prog_compiler_wl='-Wl,'
7278 lt_prog_compiler_pic='-fpic'
7279 lt_prog_compiler_static='-Bstatic'
7282 lt_prog_compiler_wl='-Wl,'
7283 # All Alpha code is PIC.
7284 lt_prog_compiler_static='-non_shared'
7286 xl* | bgxl* | bgf* | mpixl*)
7287 # IBM XL C 8.0/Fortran 10.1, 11.1 on PPC and BlueGene
7288 lt_prog_compiler_wl='-Wl,'
7289 lt_prog_compiler_pic='-qpic'
7290 lt_prog_compiler_static='-qstaticlink'
7293 case `$CC -V 2>&1 | sed 5q` in
7294 *Sun\ F* | *Sun*Fortran*)
7295 # Sun Fortran 8.3 passes all unrecognized flags to the linker
7296 lt_prog_compiler_pic='-KPIC'
7297 lt_prog_compiler_static='-Bstatic'
7298 lt_prog_compiler_wl=''
7302 lt_prog_compiler_pic='-KPIC'
7303 lt_prog_compiler_static='-Bstatic'
7304 lt_prog_compiler_wl='-Wl,'
7312 lt_prog_compiler_pic='-KPIC'
7313 lt_prog_compiler_static='-Bstatic'
7317 # QNX uses GNU C++, but need to define -shared option too, otherwise
7319 lt_prog_compiler_pic='-fPIC -shared'
7322 osf3* | osf4* | osf5*)
7323 lt_prog_compiler_wl='-Wl,'
7324 # All OSF/1 code is PIC.
7325 lt_prog_compiler_static='-non_shared'
7329 lt_prog_compiler_static='-non_shared'
7333 lt_prog_compiler_pic='-KPIC'
7334 lt_prog_compiler_static='-Bstatic'
7335 case $cc_basename in
7336 f77* | f90* | f95* | sunf77* | sunf90* | sunf95*)
7337 lt_prog_compiler_wl='-Qoption ld ';;
7339 lt_prog_compiler_wl='-Wl,';;
7344 lt_prog_compiler_wl='-Qoption ld '
7345 lt_prog_compiler_pic='-PIC'
7346 lt_prog_compiler_static='-Bstatic'
7349 sysv4 | sysv4.2uw2* | sysv4.3*)
7350 lt_prog_compiler_wl='-Wl,'
7351 lt_prog_compiler_pic='-KPIC'
7352 lt_prog_compiler_static='-Bstatic'
7356 if test -d /usr/nec ;then
7357 lt_prog_compiler_pic='-Kconform_pic'
7358 lt_prog_compiler_static='-Bstatic'
7362 sysv5* | unixware* | sco3.2v5* | sco5v6* | OpenUNIX*)
7363 lt_prog_compiler_wl='-Wl,'
7364 lt_prog_compiler_pic='-KPIC'
7365 lt_prog_compiler_static='-Bstatic'
7369 lt_prog_compiler_wl='-Wl,'
7370 lt_prog_compiler_can_build_shared=no
7374 lt_prog_compiler_pic='-pic'
7375 lt_prog_compiler_static='-Bstatic'
7379 lt_prog_compiler_can_build_shared=no
7385 # For platforms which do not support PIC, -DPIC is meaningless:
7387 lt_prog_compiler_pic=
7390 lt_prog_compiler_pic="$lt_prog_compiler_pic -DPIC"
7394 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $compiler option to produce PIC" >&5
7395 $as_echo_n "checking for $compiler option to produce PIC... " >&6; }
7396 if ${lt_cv_prog_compiler_pic+:} false; then :
7397 $as_echo_n "(cached) " >&6
7399 lt_cv_prog_compiler_pic=$lt_prog_compiler_pic
7401 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic" >&5
7402 $as_echo "$lt_cv_prog_compiler_pic" >&6; }
7403 lt_prog_compiler_pic=$lt_cv_prog_compiler_pic
7406 # Check to make sure the PIC flag actually works.
7408 if test -n "$lt_prog_compiler_pic"; then
7409 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler PIC flag $lt_prog_compiler_pic works" >&5
7410 $as_echo_n "checking if $compiler PIC flag $lt_prog_compiler_pic works... " >&6; }
7411 if ${lt_cv_prog_compiler_pic_works+:} false; then :
7412 $as_echo_n "(cached) " >&6
7414 lt_cv_prog_compiler_pic_works=no
7415 ac_outfile=conftest.$ac_objext
7416 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
7417 lt_compiler_flag="$lt_prog_compiler_pic -DPIC"
7418 # Insert the option either (1) after the last *FLAGS variable, or
7419 # (2) before a word containing "conftest.", or (3) at the end.
7420 # Note that $ac_compile itself does not contain backslashes and begins
7421 # with a dollar sign (not a hyphen), so the echo should work correctly.
7422 # The option is referenced via a variable to avoid confusing sed.
7423 lt_compile=`echo "$ac_compile" | $SED \
7424 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
7425 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
7426 -e 's:$: $lt_compiler_flag:'`
7427 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
7428 (eval "$lt_compile" 2>conftest.err)
7430 cat conftest.err >&5
7431 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7432 if (exit $ac_status) && test -s "$ac_outfile"; then
7433 # The compiler can only warn and ignore the option if not recognized
7434 # So say no if there are warnings other than the usual output.
7435 $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' >conftest.exp
7436 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
7437 if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
7438 lt_cv_prog_compiler_pic_works=yes
7444 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic_works" >&5
7445 $as_echo "$lt_cv_prog_compiler_pic_works" >&6; }
7447 if test x"$lt_cv_prog_compiler_pic_works" = xyes; then
7448 case $lt_prog_compiler_pic in
7450 *) lt_prog_compiler_pic=" $lt_prog_compiler_pic" ;;
7453 lt_prog_compiler_pic=
7454 lt_prog_compiler_can_build_shared=no
7470 # Check to make sure the static flag actually works.
7472 wl=$lt_prog_compiler_wl eval lt_tmp_static_flag=\"$lt_prog_compiler_static\"
7473 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler static flag $lt_tmp_static_flag works" >&5
7474 $as_echo_n "checking if $compiler static flag $lt_tmp_static_flag works... " >&6; }
7475 if ${lt_cv_prog_compiler_static_works+:} false; then :
7476 $as_echo_n "(cached) " >&6
7478 lt_cv_prog_compiler_static_works=no
7479 save_LDFLAGS="$LDFLAGS"
7480 LDFLAGS="$LDFLAGS $lt_tmp_static_flag"
7481 echo "$lt_simple_link_test_code" > conftest.$ac_ext
7482 if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
7483 # The linker can only warn and ignore the option if not recognized
7484 # So say no if there are warnings
7485 if test -s conftest.err; then
7486 # Append any errors to the config.log.
7487 cat conftest.err 1>&5
7488 $ECHO "$_lt_linker_boilerplate" | $SED '/^$/d' > conftest.exp
7489 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
7490 if diff conftest.exp conftest.er2 >/dev/null; then
7491 lt_cv_prog_compiler_static_works=yes
7494 lt_cv_prog_compiler_static_works=yes
7498 LDFLAGS="$save_LDFLAGS"
7501 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_static_works" >&5
7502 $as_echo "$lt_cv_prog_compiler_static_works" >&6; }
7504 if test x"$lt_cv_prog_compiler_static_works" = xyes; then
7507 lt_prog_compiler_static=
7516 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
7517 $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
7518 if ${lt_cv_prog_compiler_c_o+:} false; then :
7519 $as_echo_n "(cached) " >&6
7521 lt_cv_prog_compiler_c_o=no
7522 $RM -r conftest 2>/dev/null
7526 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
7528 lt_compiler_flag="-o out/conftest2.$ac_objext"
7529 # Insert the option either (1) after the last *FLAGS variable, or
7530 # (2) before a word containing "conftest.", or (3) at the end.
7531 # Note that $ac_compile itself does not contain backslashes and begins
7532 # with a dollar sign (not a hyphen), so the echo should work correctly.
7533 lt_compile=`echo "$ac_compile" | $SED \
7534 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
7535 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
7536 -e 's:$: $lt_compiler_flag:'`
7537 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
7538 (eval "$lt_compile" 2>out/conftest.err)
7540 cat out/conftest.err >&5
7541 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7542 if (exit $ac_status) && test -s out/conftest2.$ac_objext
7544 # The compiler can only warn and ignore the option if not recognized
7545 # So say no if there are warnings
7546 $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' > out/conftest.exp
7547 $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
7548 if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
7549 lt_cv_prog_compiler_c_o=yes
7554 # SGI C++ compiler will create directory out/ii_files/ for
7555 # template instantiation
7556 test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
7557 $RM out/* && rmdir out
7563 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o" >&5
7564 $as_echo "$lt_cv_prog_compiler_c_o" >&6; }
7571 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
7572 $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
7573 if ${lt_cv_prog_compiler_c_o+:} false; then :
7574 $as_echo_n "(cached) " >&6
7576 lt_cv_prog_compiler_c_o=no
7577 $RM -r conftest 2>/dev/null
7581 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
7583 lt_compiler_flag="-o out/conftest2.$ac_objext"
7584 # Insert the option either (1) after the last *FLAGS variable, or
7585 # (2) before a word containing "conftest.", or (3) at the end.
7586 # Note that $ac_compile itself does not contain backslashes and begins
7587 # with a dollar sign (not a hyphen), so the echo should work correctly.
7588 lt_compile=`echo "$ac_compile" | $SED \
7589 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
7590 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
7591 -e 's:$: $lt_compiler_flag:'`
7592 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
7593 (eval "$lt_compile" 2>out/conftest.err)
7595 cat out/conftest.err >&5
7596 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7597 if (exit $ac_status) && test -s out/conftest2.$ac_objext
7599 # The compiler can only warn and ignore the option if not recognized
7600 # So say no if there are warnings
7601 $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' > out/conftest.exp
7602 $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
7603 if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
7604 lt_cv_prog_compiler_c_o=yes
7609 # SGI C++ compiler will create directory out/ii_files/ for
7610 # template instantiation
7611 test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
7612 $RM out/* && rmdir out
7618 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o" >&5
7619 $as_echo "$lt_cv_prog_compiler_c_o" >&6; }
7624 hard_links="nottested"
7625 if test "$lt_cv_prog_compiler_c_o" = no && test "$need_locks" != no; then
7626 # do not overwrite the value of need_locks provided by the user
7627 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if we can lock with hard links" >&5
7628 $as_echo_n "checking if we can lock with hard links... " >&6; }
7631 ln conftest.a conftest.b 2>/dev/null && hard_links=no
7633 ln conftest.a conftest.b 2>&5 || hard_links=no
7634 ln conftest.a conftest.b 2>/dev/null && hard_links=no
7635 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hard_links" >&5
7636 $as_echo "$hard_links" >&6; }
7637 if test "$hard_links" = no; then
7638 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5
7639 $as_echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;}
7651 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $compiler linker ($LD) supports shared libraries" >&5
7652 $as_echo_n "checking whether the $compiler linker ($LD) supports shared libraries... " >&6; }
7655 allow_undefined_flag=
7656 always_export_symbols=no
7658 archive_expsym_cmds=
7659 compiler_needs_object=no
7660 enable_shared_with_static_runtimes=no
7661 export_dynamic_flag_spec=
7662 export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
7663 hardcode_automatic=no
7665 hardcode_direct_absolute=no
7666 hardcode_libdir_flag_spec=
7667 hardcode_libdir_flag_spec_ld=
7668 hardcode_libdir_separator=
7670 hardcode_shlibpath_var=unsupported
7672 link_all_deplibs=unknown
7675 old_archive_from_new_cmds=
7676 old_archive_from_expsyms_cmds=
7677 thread_safe_flag_spec=
7678 whole_archive_flag_spec=
7679 # include_expsyms should be a list of space-separated symbols to be *always*
7680 # included in the symbol list
7682 # exclude_expsyms can be an extended regexp of symbols to exclude
7683 # it will be wrapped by ` (' and `)$', so one must not match beginning or
7684 # end of line. Example: `a|bc|.*d.*' will exclude the symbols `a' and `bc',
7685 # as well as any symbol that contains `d'.
7686 exclude_expsyms='_GLOBAL_OFFSET_TABLE_|_GLOBAL__F[ID]_.*'
7687 # Although _GLOBAL_OFFSET_TABLE_ is a valid symbol C name, most a.out
7688 # platforms (ab)use it in PIC code, but their linkers get confused if
7689 # the symbol is explicitly referenced. Since portable code cannot
7690 # rely on this symbol name, it's probably fine to never include it in
7691 # preloaded symbol tables.
7692 # Exclude shared library initialization/finalization symbols.
7693 extract_expsyms_cmds=
7696 cygwin* | mingw* | pw32* | cegcc*)
7697 # FIXME: the MSVC++ port hasn't been tested in a loooong time
7698 # When not using gcc, we currently assume that we are using
7699 # Microsoft Visual C++.
7700 if test "$GCC" != yes; then
7705 # we just hope/assume this is gcc and not c89 (= MSVC++)
7715 # On some targets, GNU ld is compatible enough with the native linker
7716 # that we're better off using the native interface for both.
7717 lt_use_gnu_ld_interface=no
7718 if test "$with_gnu_ld" = yes; then
7721 # The AIX port of GNU ld has always aspired to compatibility
7722 # with the native linker. However, as the warning in the GNU ld
7723 # block says, versions before 2.19.5* couldn't really create working
7724 # shared libraries, regardless of the interface used.
7725 case `$LD -v 2>&1` in
7726 *\ \(GNU\ Binutils\)\ 2.19.5*) ;;
7727 *\ \(GNU\ Binutils\)\ 2.[2-9]*) ;;
7728 *\ \(GNU\ Binutils\)\ [3-9]*) ;;
7730 lt_use_gnu_ld_interface=yes
7735 lt_use_gnu_ld_interface=yes
7740 if test "$lt_use_gnu_ld_interface" = yes; then
7741 # If archive_cmds runs LD, not CC, wlarc should be empty
7744 # Set some defaults for GNU ld with shared library support. These
7745 # are reset later if shared libraries are not supported. Putting them
7746 # here allows them to be overridden if necessary.
7747 runpath_var=LD_RUN_PATH
7748 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
7749 export_dynamic_flag_spec='${wl}--export-dynamic'
7750 # ancient GNU ld didn't support --whole-archive et. al.
7751 if $LD --help 2>&1 | $GREP 'no-whole-archive' > /dev/null; then
7752 whole_archive_flag_spec="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
7754 whole_archive_flag_spec=
7756 supports_anon_versioning=no
7757 case `$LD -v 2>&1` in
7758 *GNU\ gold*) supports_anon_versioning=yes ;;
7759 *\ [01].* | *\ 2.[0-9].* | *\ 2.10.*) ;; # catch versions < 2.11
7760 *\ 2.11.93.0.2\ *) supports_anon_versioning=yes ;; # RH7.3 ...
7761 *\ 2.11.92.0.12\ *) supports_anon_versioning=yes ;; # Mandrake 8.2 ...
7762 *\ 2.11.*) ;; # other 2.11 versions
7763 *) supports_anon_versioning=yes ;;
7766 # See if GNU ld supports shared libraries.
7769 # On AIX/PPC, the GNU linker is very broken
7770 if test "$host_cpu" != ia64; then
7774 *** Warning: the GNU linker, at least up to release 2.19, is reported
7775 *** to be unable to reliably create shared libraries on AIX.
7776 *** Therefore, libtool is disabling shared libraries support. If you
7777 *** really care for shared libraries, you may want to install binutils
7778 *** 2.20 or above, or modify your PATH so that a non-GNU linker is found.
7779 *** You will then need to restart the configuration process.
7788 # see comment about AmigaOS4 .so support
7789 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
7790 archive_expsym_cmds=''
7793 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)'
7794 hardcode_libdir_flag_spec='-L$libdir'
7795 hardcode_minus_L=yes
7801 if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
7802 allow_undefined_flag=unsupported
7803 # Joseph Beckenbach <jrb3@best.com> says some releases of gcc
7804 # support --undefined. This deserves some investigation. FIXME
7805 archive_cmds='$CC -nostart $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
7811 cygwin* | mingw* | pw32* | cegcc*)
7812 # _LT_TAGVAR(hardcode_libdir_flag_spec, ) is actually meaningless,
7813 # as there is no search path for DLLs.
7814 hardcode_libdir_flag_spec='-L$libdir'
7815 export_dynamic_flag_spec='${wl}--export-all-symbols'
7816 allow_undefined_flag=unsupported
7817 always_export_symbols=no
7818 enable_shared_with_static_runtimes=yes
7819 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'
7820 exclude_expsyms='[_]+GLOBAL_OFFSET_TABLE_|[_]+GLOBAL__[FID]_.*|[_]+head_[A-Za-z0-9_]+_dll|[A-Za-z0-9_]+_dll_iname'
7822 if $LD --help 2>&1 | $GREP 'auto-import' > /dev/null; then
7823 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
7824 # If the export-symbols file already is a .def file (1st line
7825 # is EXPORTS), use it as is; otherwise, prepend...
7826 archive_expsym_cmds='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
7827 cp $export_symbols $output_objdir/$soname.def;
7829 echo EXPORTS > $output_objdir/$soname.def;
7830 cat $export_symbols >> $output_objdir/$soname.def;
7832 $CC -shared $output_objdir/$soname.def $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
7839 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
7840 link_all_deplibs=yes
7845 hardcode_shlibpath_var=no
7846 hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
7847 export_dynamic_flag_spec='${wl}-E'
7848 # Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc.
7849 # Instead, shared libraries are loaded at an image base (0x10000000 by
7850 # default) and relocated if they conflict, which is a slow very memory
7851 # consuming and fragmenting process. To avoid this, we pick a random,
7852 # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link
7853 # time. Moving up from 0x10000000 also allows more sbrk(2) space.
7854 archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-h,$soname ${wl}--image-base,`expr ${RANDOM-$$} % 4096 / 2 \* 262144 + 1342177280` -o $lib'
7855 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'
7858 gnu* | linux* | tpf* | k*bsd*-gnu | kopensolaris*-gnu)
7860 if test "$host_os" = linux-dietlibc; then
7861 case $cc_basename in
7862 diet\ *) tmp_diet=yes;; # linux-dietlibc with static linking (!diet-dyn)
7865 if $LD --help 2>&1 | $EGREP ': supported targets:.* elf' > /dev/null \
7866 && test "$tmp_diet" = no
7868 tmp_addflag=' $pic_flag'
7869 tmp_sharedflag='-shared'
7870 case $cc_basename,$host_cpu in
7871 pgcc*) # Portland Group C compiler
7872 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'
7873 tmp_addflag=' $pic_flag'
7875 pgf77* | pgf90* | pgf95* | pgfortran*)
7876 # Portland Group f77 and f90 compilers
7877 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'
7878 tmp_addflag=' $pic_flag -Mnomain' ;;
7879 ecc*,ia64* | icc*,ia64*) # Intel C compiler on ia64
7880 tmp_addflag=' -i_dynamic' ;;
7881 efc*,ia64* | ifort*,ia64*) # Intel Fortran compiler on ia64
7882 tmp_addflag=' -i_dynamic -nofor_main' ;;
7883 ifc* | ifort*) # Intel Fortran compiler
7884 tmp_addflag=' -nofor_main' ;;
7885 lf95*) # Lahey Fortran 8.1
7886 whole_archive_flag_spec=
7887 tmp_sharedflag='--shared' ;;
7888 xl[cC]* | bgxl[cC]* | mpixl[cC]*) # IBM XL C 8.0 on PPC (deal with xlf below)
7889 tmp_sharedflag='-qmkshrobj'
7891 nvcc*) # Cuda Compiler Driver 2.2
7892 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'
7893 compiler_needs_object=yes
7896 case `$CC -V 2>&1 | sed 5q` in
7897 *Sun\ C*) # Sun C 5.9
7898 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'
7899 compiler_needs_object=yes
7900 tmp_sharedflag='-G' ;;
7901 *Sun\ F*) # Sun Fortran 8.3
7902 tmp_sharedflag='-G' ;;
7904 archive_cmds='$CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
7906 if test "x$supports_anon_versioning" = xyes; then
7907 archive_expsym_cmds='echo "{ global:" > $output_objdir/$libname.ver~
7908 cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
7909 echo "local: *; };" >> $output_objdir/$libname.ver~
7910 $CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-version-script ${wl}$output_objdir/$libname.ver -o $lib'
7913 case $cc_basename in
7914 xlf* | bgf* | bgxlf* | mpixlf*)
7915 # IBM XL Fortran 10.1 on PPC cannot create shared libs itself
7916 whole_archive_flag_spec='--whole-archive$convenience --no-whole-archive'
7917 hardcode_libdir_flag_spec=
7918 hardcode_libdir_flag_spec_ld='-rpath $libdir'
7919 archive_cmds='$LD -shared $libobjs $deplibs $linker_flags -soname $soname -o $lib'
7920 if test "x$supports_anon_versioning" = xyes; then
7921 archive_expsym_cmds='echo "{ global:" > $output_objdir/$libname.ver~
7922 cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
7923 echo "local: *; };" >> $output_objdir/$libname.ver~
7924 $LD -shared $libobjs $deplibs $linker_flags -soname $soname -version-script $output_objdir/$libname.ver -o $lib'
7934 if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
7935 archive_cmds='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib'
7938 archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
7939 archive_expsym_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
7944 if $LD -v 2>&1 | $GREP 'BFD 2\.8' > /dev/null; then
7948 *** Warning: The releases 2.8.* of the GNU linker cannot reliably
7949 *** create shared libraries on Solaris systems. Therefore, libtool
7950 *** is disabling shared libraries support. We urge you to upgrade GNU
7951 *** binutils to release 2.9.1 or newer. Another option is to modify
7952 *** your PATH or compiler configuration so that the native linker is
7953 *** used, and then restart.
7956 elif $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
7957 archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
7958 archive_expsym_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
7964 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX*)
7965 case `$LD -v 2>&1` in
7966 *\ [01].* | *\ 2.[0-9].* | *\ 2.1[0-5].*)
7970 *** Warning: Releases of the GNU linker prior to 2.16.91.0.3 can not
7971 *** reliably create shared libraries on SCO systems. Therefore, libtool
7972 *** is disabling shared libraries support. We urge you to upgrade GNU
7973 *** binutils to release 2.16.91.0.3 or newer. Another option is to modify
7974 *** your PATH or compiler configuration so that the native linker is
7975 *** used, and then restart.
7980 # For security reasons, it is highly recommended that you always
7981 # use absolute paths for naming shared libraries, and exclude the
7982 # DT_RUNPATH tag from executables and libraries. But doing so
7983 # requires that you compile everything twice, which is a pain.
7984 if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
7985 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
7986 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
7987 archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
7996 archive_cmds='$LD -assert pure-text -Bshareable -o $lib $libobjs $deplibs $linker_flags'
7999 hardcode_shlibpath_var=no
8003 if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
8004 archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
8005 archive_expsym_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
8012 if test "$ld_shlibs" = no; then
8014 hardcode_libdir_flag_spec=
8015 export_dynamic_flag_spec=
8016 whole_archive_flag_spec=
8019 # PORTME fill in a description of your system's linker (not GNU ld)
8022 allow_undefined_flag=unsupported
8023 always_export_symbols=yes
8024 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'
8025 # Note: this linker hardcodes the directories in LIBPATH if there
8026 # are no directories specified by -L.
8027 hardcode_minus_L=yes
8028 if test "$GCC" = yes && test -z "$lt_prog_compiler_static"; then
8029 # Neither direct hardcoding nor static linking is supported with a
8031 hardcode_direct=unsupported
8036 if test "$host_cpu" = ia64; then
8037 # On IA64, the linker does run time linking by default, so we don't
8038 # have to do anything special.
8039 aix_use_runtimelinking=no
8040 exp_sym_flag='-Bexport'
8043 # If we're using GNU nm, then we don't want the "-C" option.
8044 # -C means demangle to AIX nm, but means don't demangle with GNU nm
8045 # Also, AIX nm treats weak defined symbols like other global
8046 # defined symbols, whereas GNU nm marks them as "W".
8047 if $NM -V 2>&1 | $GREP 'GNU' > /dev/null; then
8048 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'
8050 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'
8052 aix_use_runtimelinking=no
8054 # Test if we are trying to use run time linking or normal
8055 # AIX style linking. If -brtl is somewhere in LDFLAGS, we
8056 # need to do runtime linking.
8057 case $host_os in aix4.[23]|aix4.[23].*|aix[5-9]*)
8058 for ld_flag in $LDFLAGS; do
8059 if (test $ld_flag = "-brtl" || test $ld_flag = "-Wl,-brtl"); then
8060 aix_use_runtimelinking=yes
8067 exp_sym_flag='-bexport'
8068 no_entry_flag='-bnoentry'
8071 # When large executables or shared objects are built, AIX ld can
8072 # have problems creating the table of contents. If linking a library
8073 # or program results in "error TOC overflow" add -mminimal-toc to
8074 # CXXFLAGS/CFLAGS for g++/gcc. In the cases where that is not
8075 # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
8079 hardcode_direct_absolute=yes
8080 hardcode_libdir_separator=':'
8081 link_all_deplibs=yes
8082 file_list_spec='${wl}-f,'
8084 if test "$GCC" = yes; then
8085 case $host_os in aix4.[012]|aix4.[012].*)
8086 # We only want to do this on AIX 4.2 and lower, the check
8087 # below for broken collect2 doesn't work under 4.3+
8088 collect2name=`${CC} -print-prog-name=collect2`
8089 if test -f "$collect2name" &&
8090 strings "$collect2name" | $GREP resolve_lib_name >/dev/null
8092 # We have reworked collect2
8095 # We have old collect2
8096 hardcode_direct=unsupported
8097 # It fails to find uninstalled libraries when the uninstalled
8098 # path is not listed in the libpath. Setting hardcode_minus_L
8099 # to unsupported forces relinking
8100 hardcode_minus_L=yes
8101 hardcode_libdir_flag_spec='-L$libdir'
8102 hardcode_libdir_separator=
8106 shared_flag='-shared'
8107 if test "$aix_use_runtimelinking" = yes; then
8108 shared_flag="$shared_flag "'${wl}-G'
8112 if test "$host_cpu" = ia64; then
8113 # VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
8114 # chokes on -Wl,-G. The following line is correct:
8117 if test "$aix_use_runtimelinking" = yes; then
8118 shared_flag='${wl}-G'
8120 shared_flag='${wl}-bM:SRE'
8125 export_dynamic_flag_spec='${wl}-bexpall'
8126 # It seems that -bexpall does not export symbols beginning with
8127 # underscore (_), so it is better to generate a list of symbols to export.
8128 always_export_symbols=yes
8129 if test "$aix_use_runtimelinking" = yes; then
8130 # Warning - without using the other runtime loading flags (-brtl),
8131 # -berok will link without error, but may produce a broken library.
8132 allow_undefined_flag='-berok'
8133 # Determine the default libpath from the value encoded in an
8135 if test "${lt_cv_aix_libpath+set}" = set; then
8136 aix_libpath=$lt_cv_aix_libpath
8138 if ${lt_cv_aix_libpath_+:} false; then :
8139 $as_echo_n "(cached) " >&6
8141 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8142 /* end confdefs.h. */
8152 if ac_fn_c_try_link "$LINENO"; then :
8154 lt_aix_libpath_sed='
8155 /Import File Strings/,/^$/ {
8157 s/^0 *\([^ ]*\) *$/\1/
8161 lt_cv_aix_libpath_=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
8162 # Check for a 64-bit object if we didn't find anything.
8163 if test -z "$lt_cv_aix_libpath_"; then
8164 lt_cv_aix_libpath_=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
8167 rm -f core conftest.err conftest.$ac_objext \
8168 conftest$ac_exeext conftest.$ac_ext
8169 if test -z "$lt_cv_aix_libpath_"; then
8170 lt_cv_aix_libpath_="/usr/lib:/lib"
8175 aix_libpath=$lt_cv_aix_libpath_
8178 hardcode_libdir_flag_spec='${wl}-blibpath:$libdir:'"$aix_libpath"
8179 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"
8181 if test "$host_cpu" = ia64; then
8182 hardcode_libdir_flag_spec='${wl}-R $libdir:/usr/lib:/lib'
8183 allow_undefined_flag="-z nodefs"
8184 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"
8186 # Determine the default libpath from the value encoded in an
8188 if test "${lt_cv_aix_libpath+set}" = set; then
8189 aix_libpath=$lt_cv_aix_libpath
8191 if ${lt_cv_aix_libpath_+:} false; then :
8192 $as_echo_n "(cached) " >&6
8194 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8195 /* end confdefs.h. */
8205 if ac_fn_c_try_link "$LINENO"; then :
8207 lt_aix_libpath_sed='
8208 /Import File Strings/,/^$/ {
8210 s/^0 *\([^ ]*\) *$/\1/
8214 lt_cv_aix_libpath_=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
8215 # Check for a 64-bit object if we didn't find anything.
8216 if test -z "$lt_cv_aix_libpath_"; then
8217 lt_cv_aix_libpath_=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
8220 rm -f core conftest.err conftest.$ac_objext \
8221 conftest$ac_exeext conftest.$ac_ext
8222 if test -z "$lt_cv_aix_libpath_"; then
8223 lt_cv_aix_libpath_="/usr/lib:/lib"
8228 aix_libpath=$lt_cv_aix_libpath_
8231 hardcode_libdir_flag_spec='${wl}-blibpath:$libdir:'"$aix_libpath"
8232 # Warning - without using the other run time loading flags,
8233 # -berok will link without error, but may produce a broken library.
8234 no_undefined_flag=' ${wl}-bernotok'
8235 allow_undefined_flag=' ${wl}-berok'
8236 if test "$with_gnu_ld" = yes; then
8237 # We only use this code for GNU lds that support --whole-archive.
8238 whole_archive_flag_spec='${wl}--whole-archive$convenience ${wl}--no-whole-archive'
8240 # Exported symbols can be pulled into shared objects from archives
8241 whole_archive_flag_spec='$convenience'
8243 archive_cmds_need_lc=yes
8244 # This is similar to how AIX traditionally builds its shared libraries.
8245 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'
8253 # see comment about AmigaOS4 .so support
8254 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
8255 archive_expsym_cmds=''
8258 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)'
8259 hardcode_libdir_flag_spec='-L$libdir'
8260 hardcode_minus_L=yes
8266 export_dynamic_flag_spec=-rdynamic
8269 cygwin* | mingw* | pw32* | cegcc*)
8270 # When not using gcc, we currently assume that we are using
8271 # Microsoft Visual C++.
8272 # hardcode_libdir_flag_spec is actually meaningless, as there is
8273 # no search path for DLLs.
8274 case $cc_basename in
8277 hardcode_libdir_flag_spec=' '
8278 allow_undefined_flag=unsupported
8279 always_export_symbols=yes
8281 # Tell ltmain to make .lib files, not .a files.
8283 # Tell ltmain to make .dll files, not .so files.
8285 # FIXME: Setting linknames here is a bad hack.
8286 archive_cmds='$CC -o $output_objdir/$soname $libobjs $compiler_flags $deplibs -Wl,-dll~linknames='
8287 archive_expsym_cmds='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
8288 sed -n -e 's/\\\\\\\(.*\\\\\\\)/-link\\\ -EXPORT:\\\\\\\1/' -e '1\\\!p' < $export_symbols > $output_objdir/$soname.exp;
8290 sed -e 's/\\\\\\\(.*\\\\\\\)/-link\\\ -EXPORT:\\\\\\\1/' < $export_symbols > $output_objdir/$soname.exp;
8292 $CC -o $tool_output_objdir$soname $libobjs $compiler_flags $deplibs "@$tool_output_objdir$soname.exp" -Wl,-DLL,-IMPLIB:"$tool_output_objdir$libname.dll.lib"~
8294 # The linker will not automatically build a static lib if we build a DLL.
8295 # _LT_TAGVAR(old_archive_from_new_cmds, )='true'
8296 enable_shared_with_static_runtimes=yes
8297 export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS][ ]/s/.*[ ]\([^ ]*\)/\1,DATA/'\'' | $SED -e '\''/^[AITW][ ]/s/.*[ ]//'\'' | sort | uniq > $export_symbols'
8299 old_postinstall_cmds='chmod 644 $oldlib'
8300 postlink_cmds='lt_outputfile="@OUTPUT@"~
8301 lt_tool_outputfile="@TOOL_OUTPUT@"~
8302 case $lt_outputfile in
8305 lt_outputfile="$lt_outputfile.exe"
8306 lt_tool_outputfile="$lt_tool_outputfile.exe"
8309 if test "$MANIFEST_TOOL" != ":" && test -f "$lt_outputfile.manifest"; then
8310 $MANIFEST_TOOL -manifest "$lt_tool_outputfile.manifest" -outputresource:"$lt_tool_outputfile" || exit 1;
8311 $RM "$lt_outputfile.manifest";
8315 # Assume MSVC wrapper
8316 hardcode_libdir_flag_spec=' '
8317 allow_undefined_flag=unsupported
8318 # Tell ltmain to make .lib files, not .a files.
8320 # Tell ltmain to make .dll files, not .so files.
8322 # FIXME: Setting linknames here is a bad hack.
8323 archive_cmds='$CC -o $lib $libobjs $compiler_flags `func_echo_all "$deplibs" | $SED '\''s/ -lc$//'\''` -link -dll~linknames='
8324 # The linker will automatically build a .lib file if we build a DLL.
8325 old_archive_from_new_cmds='true'
8326 # FIXME: Should let the user specify the lib program.
8327 old_archive_cmds='lib -OUT:$oldlib$oldobjs$old_deplibs'
8328 enable_shared_with_static_runtimes=yes
8333 darwin* | rhapsody*)
8336 archive_cmds_need_lc=no
8338 hardcode_automatic=yes
8339 hardcode_shlibpath_var=unsupported
8340 if test "$lt_cv_ld_force_load" = "yes"; then
8341 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\"`'
8343 whole_archive_flag_spec=''
8345 link_all_deplibs=yes
8346 allow_undefined_flag="$_lt_dar_allow_undefined"
8347 case $cc_basename in
8348 ifort*) _lt_dar_can_shared=yes ;;
8349 *) _lt_dar_can_shared=$GCC ;;
8351 if test "$_lt_dar_can_shared" = "yes"; then
8352 output_verbose_link_cmd=func_echo_all
8353 archive_cmds="\$CC -dynamiclib \$allow_undefined_flag -o \$lib \$libobjs \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring $_lt_dar_single_mod${_lt_dsymutil}"
8354 module_cmds="\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags${_lt_dsymutil}"
8355 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}"
8356 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}"
8365 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
8366 hardcode_libdir_flag_spec='-L$libdir'
8367 hardcode_shlibpath_var=no
8374 # FreeBSD 2.2.[012] allows us to include c++rt0.o to get C++ constructor
8375 # support. Future versions do this automatically, but an explicit c++rt0.o
8376 # does not break anything, and helps significantly (at the cost of a little
8379 archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags /usr/lib/c++rt0.o'
8380 hardcode_libdir_flag_spec='-R$libdir'
8382 hardcode_shlibpath_var=no
8385 # Unfortunately, older versions of FreeBSD 2 do not have this feature.
8387 archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
8389 hardcode_minus_L=yes
8390 hardcode_shlibpath_var=no
8393 # FreeBSD 3 and greater uses gcc -shared to do shared libraries.
8394 freebsd* | dragonfly*)
8395 archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
8396 hardcode_libdir_flag_spec='-R$libdir'
8398 hardcode_shlibpath_var=no
8402 if test "$GCC" = yes; then
8403 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'
8405 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'
8407 hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
8408 hardcode_libdir_separator=:
8411 # hardcode_minus_L: Not really in the search PATH,
8412 # but as the default location of the library.
8413 hardcode_minus_L=yes
8414 export_dynamic_flag_spec='${wl}-E'
8418 if test "$GCC" = yes && test "$with_gnu_ld" = no; then
8419 archive_cmds='$CC -shared $pic_flag ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
8421 archive_cmds='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
8423 if test "$with_gnu_ld" = no; then
8424 hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
8425 hardcode_libdir_flag_spec_ld='+b $libdir'
8426 hardcode_libdir_separator=:
8428 hardcode_direct_absolute=yes
8429 export_dynamic_flag_spec='${wl}-E'
8430 # hardcode_minus_L: Not really in the search PATH,
8431 # but as the default location of the library.
8432 hardcode_minus_L=yes
8437 if test "$GCC" = yes && test "$with_gnu_ld" = no; then
8440 archive_cmds='$CC -shared ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
8443 archive_cmds='$CC -shared $pic_flag ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
8446 archive_cmds='$CC -shared $pic_flag ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
8452 archive_cmds='$CC -b ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
8455 archive_cmds='$CC -b ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
8459 # Older versions of the 11.00 compiler do not understand -b yet
8460 # (HP92453-01 A.11.01.20 doesn't, HP92453-01 B.11.X.35175-35176.GP does)
8461 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC understands -b" >&5
8462 $as_echo_n "checking if $CC understands -b... " >&6; }
8463 if ${lt_cv_prog_compiler__b+:} false; then :
8464 $as_echo_n "(cached) " >&6
8466 lt_cv_prog_compiler__b=no
8467 save_LDFLAGS="$LDFLAGS"
8468 LDFLAGS="$LDFLAGS -b"
8469 echo "$lt_simple_link_test_code" > conftest.$ac_ext
8470 if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
8471 # The linker can only warn and ignore the option if not recognized
8472 # So say no if there are warnings
8473 if test -s conftest.err; then
8474 # Append any errors to the config.log.
8475 cat conftest.err 1>&5
8476 $ECHO "$_lt_linker_boilerplate" | $SED '/^$/d' > conftest.exp
8477 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
8478 if diff conftest.exp conftest.er2 >/dev/null; then
8479 lt_cv_prog_compiler__b=yes
8482 lt_cv_prog_compiler__b=yes
8486 LDFLAGS="$save_LDFLAGS"
8489 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler__b" >&5
8490 $as_echo "$lt_cv_prog_compiler__b" >&6; }
8492 if test x"$lt_cv_prog_compiler__b" = xyes; then
8493 archive_cmds='$CC -b ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
8495 archive_cmds='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
8501 if test "$with_gnu_ld" = no; then
8502 hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
8503 hardcode_libdir_separator=:
8508 hardcode_shlibpath_var=no
8512 hardcode_direct_absolute=yes
8513 export_dynamic_flag_spec='${wl}-E'
8515 # hardcode_minus_L: Not really in the search PATH,
8516 # but as the default location of the library.
8517 hardcode_minus_L=yes
8523 irix5* | irix6* | nonstopux*)
8524 if test "$GCC" = yes; then
8525 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'
8526 # Try to use the -exported_symbol ld option, if it does not
8527 # work, assume that -exports_file does not work either and
8528 # implicitly export all symbols.
8529 # This should be the same for all languages, so no per-tag cache variable.
8530 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $host_os linker accepts -exported_symbol" >&5
8531 $as_echo_n "checking whether the $host_os linker accepts -exported_symbol... " >&6; }
8532 if ${lt_cv_irix_exported_symbol+:} false; then :
8533 $as_echo_n "(cached) " >&6
8535 save_LDFLAGS="$LDFLAGS"
8536 LDFLAGS="$LDFLAGS -shared ${wl}-exported_symbol ${wl}foo ${wl}-update_registry ${wl}/dev/null"
8537 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8538 /* end confdefs.h. */
8539 int foo (void) { return 0; }
8541 if ac_fn_c_try_link "$LINENO"; then :
8542 lt_cv_irix_exported_symbol=yes
8544 lt_cv_irix_exported_symbol=no
8546 rm -f core conftest.err conftest.$ac_objext \
8547 conftest$ac_exeext conftest.$ac_ext
8548 LDFLAGS="$save_LDFLAGS"
8550 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_irix_exported_symbol" >&5
8551 $as_echo "$lt_cv_irix_exported_symbol" >&6; }
8552 if test "$lt_cv_irix_exported_symbol" = yes; then
8553 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'
8556 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'
8557 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'
8559 archive_cmds_need_lc='no'
8560 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
8561 hardcode_libdir_separator=:
8563 link_all_deplibs=yes
8567 if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
8568 archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags' # a.out
8570 archive_cmds='$LD -shared -o $lib $libobjs $deplibs $linker_flags' # ELF
8572 hardcode_libdir_flag_spec='-R$libdir'
8574 hardcode_shlibpath_var=no
8578 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
8580 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
8581 hardcode_libdir_separator=:
8582 hardcode_shlibpath_var=no
8589 if test -f /usr/libexec/ld.so; then
8591 hardcode_shlibpath_var=no
8592 hardcode_direct_absolute=yes
8593 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
8594 archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
8595 archive_expsym_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-retain-symbols-file,$export_symbols'
8596 hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
8597 export_dynamic_flag_spec='${wl}-E'
8600 openbsd[01].* | openbsd2.[0-7] | openbsd2.[0-7].*)
8601 archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
8602 hardcode_libdir_flag_spec='-R$libdir'
8605 archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
8606 hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
8616 hardcode_libdir_flag_spec='-L$libdir'
8617 hardcode_minus_L=yes
8618 allow_undefined_flag=unsupported
8619 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'
8620 old_archive_from_new_cmds='emximp -o $output_objdir/$libname.a $output_objdir/$libname.def'
8624 if test "$GCC" = yes; then
8625 allow_undefined_flag=' ${wl}-expect_unresolved ${wl}\*'
8626 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'
8628 allow_undefined_flag=' -expect_unresolved \*'
8629 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'
8631 archive_cmds_need_lc='no'
8632 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
8633 hardcode_libdir_separator=:
8636 osf4* | osf5*) # as osf3* with the addition of -msym flag
8637 if test "$GCC" = yes; then
8638 allow_undefined_flag=' ${wl}-expect_unresolved ${wl}\*'
8639 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'
8640 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
8642 allow_undefined_flag=' -expect_unresolved \*'
8643 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'
8644 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~
8645 $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'
8647 # Both c and cxx compiler support -rpath directly
8648 hardcode_libdir_flag_spec='-rpath $libdir'
8650 archive_cmds_need_lc='no'
8651 hardcode_libdir_separator=:
8655 no_undefined_flag=' -z defs'
8656 if test "$GCC" = yes; then
8658 archive_cmds='$CC -shared $pic_flag ${wl}-z ${wl}text ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
8659 archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
8660 $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'
8662 case `$CC -V 2>&1` in
8665 archive_cmds='$LD -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $linker_flags'
8666 archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
8667 $LD -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$RM $lib.exp'
8671 archive_cmds='$CC -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $compiler_flags'
8672 archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
8673 $CC -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $compiler_flags~$RM $lib.exp'
8677 hardcode_libdir_flag_spec='-R$libdir'
8678 hardcode_shlibpath_var=no
8680 solaris2.[0-5] | solaris2.[0-5].*) ;;
8682 # The compiler driver will combine and reorder linker options,
8683 # but understands `-z linker_flag'. GCC discards it without `$wl',
8684 # but is careful enough not to reorder.
8685 # Supported since Solaris 2.6 (maybe 2.5.1?)
8686 if test "$GCC" = yes; then
8687 whole_archive_flag_spec='${wl}-z ${wl}allextract$convenience ${wl}-z ${wl}defaultextract'
8689 whole_archive_flag_spec='-z allextract$convenience -z defaultextract'
8693 link_all_deplibs=yes
8697 if test "x$host_vendor" = xsequent; then
8698 # Use $CC to link under sequent, because it throws in some extra .o
8699 # files that make .init and .fini sections work.
8700 archive_cmds='$CC -G ${wl}-h $soname -o $lib $libobjs $deplibs $compiler_flags'
8702 archive_cmds='$LD -assert pure-text -Bstatic -o $lib $libobjs $deplibs $linker_flags'
8704 hardcode_libdir_flag_spec='-L$libdir'
8706 hardcode_minus_L=yes
8707 hardcode_shlibpath_var=no
8711 case $host_vendor in
8713 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
8714 hardcode_direct=yes # is this really true???
8717 ## LD is ld it makes a PLAMLIB
8718 ## CC just makes a GrossModule.
8719 archive_cmds='$LD -G -o $lib $libobjs $deplibs $linker_flags'
8720 reload_cmds='$CC -r -o $output$reload_objs'
8724 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
8725 hardcode_direct=no #Motorola manual says yes, but my tests say they lie
8728 runpath_var='LD_RUN_PATH'
8729 hardcode_shlibpath_var=no
8733 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
8734 hardcode_shlibpath_var=no
8735 export_dynamic_flag_spec='-Bexport'
8739 if test -d /usr/nec; then
8740 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
8741 hardcode_shlibpath_var=no
8742 runpath_var=LD_RUN_PATH
8743 hardcode_runpath_var=yes
8748 sysv4*uw2* | sysv5OpenUNIX* | sysv5UnixWare7.[01].[10]* | unixware7* | sco3.2v5.0.[024]*)
8749 no_undefined_flag='${wl}-z,text'
8750 archive_cmds_need_lc=no
8751 hardcode_shlibpath_var=no
8752 runpath_var='LD_RUN_PATH'
8754 if test "$GCC" = yes; then
8755 archive_cmds='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
8756 archive_expsym_cmds='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
8758 archive_cmds='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
8759 archive_expsym_cmds='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
8763 sysv5* | sco3.2v5* | sco5v6*)
8764 # Note: We can NOT use -z defs as we might desire, because we do not
8765 # link with -lc, and that would cause any symbols used from libc to
8766 # always be unresolved, which means just about no library would
8767 # ever link correctly. If we're not using GNU ld we use -z text
8768 # though, which does catch some bad symbols but isn't as heavy-handed
8770 no_undefined_flag='${wl}-z,text'
8771 allow_undefined_flag='${wl}-z,nodefs'
8772 archive_cmds_need_lc=no
8773 hardcode_shlibpath_var=no
8774 hardcode_libdir_flag_spec='${wl}-R,$libdir'
8775 hardcode_libdir_separator=':'
8776 link_all_deplibs=yes
8777 export_dynamic_flag_spec='${wl}-Bexport'
8778 runpath_var='LD_RUN_PATH'
8780 if test "$GCC" = yes; then
8781 archive_cmds='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
8782 archive_expsym_cmds='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
8784 archive_cmds='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
8785 archive_expsym_cmds='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
8790 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
8791 hardcode_libdir_flag_spec='-L$libdir'
8792 hardcode_shlibpath_var=no
8800 if test x$host_vendor = xsni; then
8802 sysv4 | sysv4.2uw2* | sysv4.3* | sysv5*)
8803 export_dynamic_flag_spec='${wl}-Blargedynsym'
8809 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ld_shlibs" >&5
8810 $as_echo "$ld_shlibs" >&6; }
8811 test "$ld_shlibs" = no && can_build_shared=no
8813 with_gnu_ld=$with_gnu_ld
8830 # Do we need to explicitly link libc?
8832 case "x$archive_cmds_need_lc" in
8834 # Assume -lc should be added
8835 archive_cmds_need_lc=yes
8837 if test "$enable_shared" = yes && test "$GCC" = yes; then
8838 case $archive_cmds in
8840 # FIXME: we may have to deal with multi-command sequences.
8843 # Test whether the compiler implicitly links with -lc since on some
8844 # systems, -lgcc has to come before -lc. If gcc already passes -lc
8845 # to ld, don't add -lc before -lgcc.
8846 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether -lc should be explicitly linked in" >&5
8847 $as_echo_n "checking whether -lc should be explicitly linked in... " >&6; }
8848 if ${lt_cv_archive_cmds_need_lc+:} false; then :
8849 $as_echo_n "(cached) " >&6
8852 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
8854 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
8855 (eval $ac_compile) 2>&5
8857 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
8858 test $ac_status = 0; } 2>conftest.err; then
8861 libobjs=conftest.$ac_objext
8863 wl=$lt_prog_compiler_wl
8864 pic_flag=$lt_prog_compiler_pic
8870 lt_save_allow_undefined_flag=$allow_undefined_flag
8871 allow_undefined_flag=
8872 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$archive_cmds 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1\""; } >&5
8873 (eval $archive_cmds 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1) 2>&5
8875 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
8876 test $ac_status = 0; }
8878 lt_cv_archive_cmds_need_lc=no
8880 lt_cv_archive_cmds_need_lc=yes
8882 allow_undefined_flag=$lt_save_allow_undefined_flag
8884 cat conftest.err 1>&5
8889 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_archive_cmds_need_lc" >&5
8890 $as_echo "$lt_cv_archive_cmds_need_lc" >&6; }
8891 archive_cmds_need_lc=$lt_cv_archive_cmds_need_lc
9054 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dynamic linker characteristics" >&5
9055 $as_echo_n "checking dynamic linker characteristics... " >&6; }
9057 if test "$GCC" = yes; then
9059 darwin*) lt_awk_arg="/^libraries:/,/LR/" ;;
9060 *) lt_awk_arg="/^libraries:/" ;;
9063 mingw* | cegcc*) lt_sed_strip_eq="s,=\([A-Za-z]:\),\1,g" ;;
9064 *) lt_sed_strip_eq="s,=/,/,g" ;;
9066 lt_search_path_spec=`$CC -print-search-dirs | awk $lt_awk_arg | $SED -e "s/^libraries://" -e $lt_sed_strip_eq`
9067 case $lt_search_path_spec in
9069 # if the path contains ";" then we assume it to be the separator
9070 # otherwise default to the standard path separator (i.e. ":") - it is
9071 # assumed that no part of a normal pathname contains ";" but that should
9072 # okay in the real world where ";" in dirpaths is itself problematic.
9073 lt_search_path_spec=`$ECHO "$lt_search_path_spec" | $SED 's/;/ /g'`
9076 lt_search_path_spec=`$ECHO "$lt_search_path_spec" | $SED "s/$PATH_SEPARATOR/ /g"`
9079 # Ok, now we have the path, separated by spaces, we can step through it
9080 # and add multilib dir if necessary.
9081 lt_tmp_lt_search_path_spec=
9082 lt_multi_os_dir=`$CC $CPPFLAGS $CFLAGS $LDFLAGS -print-multi-os-directory 2>/dev/null`
9083 for lt_sys_path in $lt_search_path_spec; do
9084 if test -d "$lt_sys_path/$lt_multi_os_dir"; then
9085 lt_tmp_lt_search_path_spec="$lt_tmp_lt_search_path_spec $lt_sys_path/$lt_multi_os_dir"
9087 test -d "$lt_sys_path" && \
9088 lt_tmp_lt_search_path_spec="$lt_tmp_lt_search_path_spec $lt_sys_path"
9091 lt_search_path_spec=`$ECHO "$lt_tmp_lt_search_path_spec" | awk '
9092 BEGIN {RS=" "; FS="/|\n";} {
9095 for (lt_i = NF; lt_i > 0; lt_i--) {
9096 if ($lt_i != "" && $lt_i != ".") {
9097 if ($lt_i == "..") {
9100 if (lt_count == 0) {
9101 lt_foo="/" $lt_i lt_foo;
9108 if (lt_foo != "") { lt_freq[lt_foo]++; }
9109 if (lt_freq[lt_foo] == 1) { print lt_foo; }
9111 # AWK program above erroneously prepends '/' to C:/dos/paths
9114 mingw* | cegcc*) lt_search_path_spec=`$ECHO "$lt_search_path_spec" |\
9115 $SED 's,/\([A-Za-z]:\),\1,g'` ;;
9117 sys_lib_search_path_spec=`$ECHO "$lt_search_path_spec" | $lt_NL2SP`
9119 sys_lib_search_path_spec="/lib /usr/lib /usr/local/lib"
9122 libname_spec='lib$name'
9130 shlibpath_overrides_runpath=unknown
9132 dynamic_linker="$host_os ld.so"
9133 sys_lib_dlsearch_path_spec="/lib /usr/lib"
9134 need_lib_prefix=unknown
9135 hardcode_into_libs=no
9137 # when you set need_version to no, make sure it does not cause -set_version
9138 # flags to be left without arguments
9139 need_version=unknown
9144 library_names_spec='${libname}${release}${shared_ext}$versuffix $libname.a'
9145 shlibpath_var=LIBPATH
9147 # AIX 3 has no versioning support, so we append a major version to the name.
9148 soname_spec='${libname}${release}${shared_ext}$major'
9155 hardcode_into_libs=yes
9156 if test "$host_cpu" = ia64; then
9157 # AIX 5 supports IA64
9158 library_names_spec='${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext}$versuffix $libname${shared_ext}'
9159 shlibpath_var=LD_LIBRARY_PATH
9161 # With GCC up to 2.95.x, collect2 would create an import file
9162 # for dependence libraries. The import file would start with
9163 # the line `#! .'. This would cause the generated library to
9164 # depend on `.', always an invalid library. This was fixed in
9165 # development snapshots of GCC prior to 3.0.
9167 aix4 | aix4.[01] | aix4.[01].*)
9168 if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
9170 echo '#endif'; } | ${CC} -E - | $GREP yes > /dev/null; then
9177 # AIX (on Power*) has no versioning support, so currently we can not hardcode correct
9178 # soname into executable. Probably we can add versioning support to
9179 # collect2, so additional links can be useful in future.
9180 if test "$aix_use_runtimelinking" = yes; then
9181 # If using run time linking (on AIX 4.2 or later) use lib<name>.so
9182 # instead of lib<name>.a to let people know that these are not
9183 # typical AIX shared libraries.
9184 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
9186 # We preserve .a as extension for shared libraries through AIX4.2
9187 # and later when we are not doing run time linking.
9188 library_names_spec='${libname}${release}.a $libname.a'
9189 soname_spec='${libname}${release}${shared_ext}$major'
9191 shlibpath_var=LIBPATH
9198 # Since July 2007 AmigaOS4 officially supports .so libraries.
9199 # When compiling the executable, add -use-dynld -Lsobjs: to the compileline.
9200 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
9203 library_names_spec='$libname.ixlibrary $libname.a'
9204 # Create ${libname}_ixlibrary.a entries in /sys/libs.
9205 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'
9211 library_names_spec='${libname}${shared_ext}'
9212 dynamic_linker="$host_os ld.so"
9213 shlibpath_var=LIBRARY_PATH
9219 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
9220 soname_spec='${libname}${release}${shared_ext}$major'
9221 finish_cmds='PATH="\$PATH:/sbin" ldconfig $libdir'
9222 shlibpath_var=LD_LIBRARY_PATH
9223 sys_lib_search_path_spec="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
9224 sys_lib_dlsearch_path_spec="/shlib /usr/lib /usr/local/lib"
9225 # the default ld.so.conf also contains /usr/contrib/lib and
9226 # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
9227 # libtool to hard-code these into programs
9230 cygwin* | mingw* | pw32* | cegcc*)
9231 version_type=windows
9236 case $GCC,$cc_basename in
9239 library_names_spec='$libname.dll.a'
9240 # DLL is installed to $(libdir)/../bin by postinstall_cmds
9241 postinstall_cmds='base_file=`basename \${file}`~
9242 dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i; echo \$dlname'\''`~
9243 dldir=$destdir/`dirname \$dlpath`~
9244 test -d \$dldir || mkdir -p \$dldir~
9245 $install_prog $dir/$dlname \$dldir/$dlname~
9246 chmod a+x \$dldir/$dlname~
9247 if test -n '\''$stripme'\'' && test -n '\''$striplib'\''; then
9248 eval '\''$striplib \$dldir/$dlname'\'' || exit \$?;
9250 postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
9251 dlpath=$dir/\$dldll~
9253 shlibpath_overrides_runpath=yes
9257 # Cygwin DLLs use 'cyg' prefix rather than 'lib'
9258 soname_spec='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
9260 sys_lib_search_path_spec="$sys_lib_search_path_spec /usr/lib/w32api"
9263 # MinGW DLLs use traditional 'lib' prefix
9264 soname_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
9267 # pw32 DLLs use 'pw' prefix rather than 'lib'
9268 library_names_spec='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
9271 dynamic_linker='Win32 ld.exe'
9276 libname_spec='$name'
9277 soname_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
9278 library_names_spec='${libname}.dll.lib'
9282 sys_lib_search_path_spec=
9288 # Let DOS variable expansion print the short 8.3 style file name.
9289 lt_path=`cd "$lt_path" 2>/dev/null && cmd //C "for %i in (".") do @echo %~si"`
9290 sys_lib_search_path_spec="$sys_lib_search_path_spec $lt_path"
9293 # Convert to MSYS style.
9294 sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | sed -e 's|\\\\|/|g' -e 's| \\([a-zA-Z]\\):| /\\1|g' -e 's|^ ||'`
9297 # Convert to unix form, then to dos form, then back to unix form
9298 # but this time dos style (no spaces!) so that the unix form looks
9299 # like /cygdrive/c/PROGRA~1:/cygdr...
9300 sys_lib_search_path_spec=`cygpath --path --unix "$LIB"`
9301 sys_lib_search_path_spec=`cygpath --path --dos "$sys_lib_search_path_spec" 2>/dev/null`
9302 sys_lib_search_path_spec=`cygpath --path --unix "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
9305 sys_lib_search_path_spec="$LIB"
9306 if $ECHO "$sys_lib_search_path_spec" | $GREP ';[c-zC-Z]:/' >/dev/null; then
9307 # It is most probably a Windows format PATH.
9308 sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
9310 sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
9312 # FIXME: find the short name or the path components, as spaces are
9313 # common. (e.g. "Program Files" -> "PROGRA~1")
9317 # DLL is installed to $(libdir)/../bin by postinstall_cmds
9318 postinstall_cmds='base_file=`basename \${file}`~
9319 dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i; echo \$dlname'\''`~
9320 dldir=$destdir/`dirname \$dlpath`~
9321 test -d \$dldir || mkdir -p \$dldir~
9322 $install_prog $dir/$dlname \$dldir/$dlname'
9323 postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
9324 dlpath=$dir/\$dldll~
9326 shlibpath_overrides_runpath=yes
9327 dynamic_linker='Win32 link.exe'
9331 # Assume MSVC wrapper
9332 library_names_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext} $libname.lib'
9333 dynamic_linker='Win32 ld.exe'
9336 # FIXME: first we should search . and the directory the executable is in
9340 darwin* | rhapsody*)
9341 dynamic_linker="$host_os dyld"
9345 library_names_spec='${libname}${release}${major}$shared_ext ${libname}$shared_ext'
9346 soname_spec='${libname}${release}${major}$shared_ext'
9347 shlibpath_overrides_runpath=yes
9348 shlibpath_var=DYLD_LIBRARY_PATH
9349 shrext_cmds='`test .$module = .yes && echo .so || echo .dylib`'
9351 sys_lib_search_path_spec="$sys_lib_search_path_spec /usr/local/lib"
9352 sys_lib_dlsearch_path_spec='/usr/local/lib /lib /usr/lib'
9359 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname$shared_ext'
9360 soname_spec='${libname}${release}${shared_ext}$major'
9361 shlibpath_var=LD_LIBRARY_PATH
9368 freebsd* | dragonfly*)
9369 # DragonFly does not have aout. When/if they implement a new
9370 # versioning mechanism, adjust this.
9371 if test -x /usr/bin/objformat; then
9372 objformat=`/usr/bin/objformat`
9375 freebsd[123]*) objformat=aout ;;
9379 version_type=freebsd-$objformat
9380 case $version_type in
9382 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
9387 library_names_spec='${libname}${release}${shared_ext}$versuffix $libname${shared_ext}$versuffix'
9391 shlibpath_var=LD_LIBRARY_PATH
9394 shlibpath_overrides_runpath=yes
9396 freebsd3.[01]* | freebsdelf3.[01]*)
9397 shlibpath_overrides_runpath=yes
9398 hardcode_into_libs=yes
9400 freebsd3.[2-9]* | freebsdelf3.[2-9]* | \
9401 freebsd4.[0-5] | freebsdelf4.[0-5] | freebsd4.1.1 | freebsdelf4.1.1)
9402 shlibpath_overrides_runpath=no
9403 hardcode_into_libs=yes
9405 *) # from 4.6 on, and DragonFly
9406 shlibpath_overrides_runpath=yes
9407 hardcode_into_libs=yes
9416 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
9417 soname_spec='${libname}${release}${shared_ext}$major'
9418 shlibpath_var=LD_LIBRARY_PATH
9419 hardcode_into_libs=yes
9426 dynamic_linker="$host_os runtime_loader"
9427 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
9428 soname_spec='${libname}${release}${shared_ext}$major'
9429 shlibpath_var=LIBRARY_PATH
9430 shlibpath_overrides_runpath=yes
9431 sys_lib_dlsearch_path_spec='/boot/home/config/lib /boot/common/lib /boot/system/lib'
9432 hardcode_into_libs=yes
9435 hpux9* | hpux10* | hpux11*)
9436 # Give a soname corresponding to the major version so that dld.sl refuses to
9437 # link against other versions.
9444 hardcode_into_libs=yes
9445 dynamic_linker="$host_os dld.so"
9446 shlibpath_var=LD_LIBRARY_PATH
9447 shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
9448 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
9449 soname_spec='${libname}${release}${shared_ext}$major'
9450 if test "X$HPUX_IA64_MODE" = X32; then
9451 sys_lib_search_path_spec="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
9453 sys_lib_search_path_spec="/usr/lib/hpux64 /usr/local/lib/hpux64"
9455 sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
9459 hardcode_into_libs=yes
9460 dynamic_linker="$host_os dld.sl"
9461 shlibpath_var=LD_LIBRARY_PATH # How should we handle SHLIB_PATH
9462 shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
9463 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
9464 soname_spec='${libname}${release}${shared_ext}$major'
9465 sys_lib_search_path_spec="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
9466 sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
9470 dynamic_linker="$host_os dld.sl"
9471 shlibpath_var=SHLIB_PATH
9472 shlibpath_overrides_runpath=no # +s is required to enable SHLIB_PATH
9473 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
9474 soname_spec='${libname}${release}${shared_ext}$major'
9477 # HP-UX runs *really* slowly unless shared libraries are mode 555, ...
9478 postinstall_cmds='chmod 555 $lib'
9479 # or fails outright, so override atomically:
9480 install_override_mode=555
9487 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
9488 soname_spec='${libname}${release}${shared_ext}$major'
9489 dynamic_linker='Interix 3.x ld.so.1 (PE, like ELF)'
9490 shlibpath_var=LD_LIBRARY_PATH
9491 shlibpath_overrides_runpath=no
9492 hardcode_into_libs=yes
9495 irix5* | irix6* | nonstopux*)
9497 nonstopux*) version_type=nonstopux ;;
9499 if test "$lt_cv_prog_gnu_ld" = yes; then
9507 soname_spec='${libname}${release}${shared_ext}$major'
9508 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} $libname${shared_ext}'
9510 irix5* | nonstopux*)
9514 case $LD in # libtool.m4 will add one of these switches to LD
9515 *-32|*"-32 "|*-melf32bsmip|*"-melf32bsmip ")
9516 libsuff= shlibsuff= libmagic=32-bit;;
9517 *-n32|*"-n32 "|*-melf32bmipn32|*"-melf32bmipn32 ")
9518 libsuff=32 shlibsuff=N32 libmagic=N32;;
9519 *-64|*"-64 "|*-melf64bmip|*"-melf64bmip ")
9520 libsuff=64 shlibsuff=64 libmagic=64-bit;;
9521 *) libsuff= shlibsuff= libmagic=never-match;;
9525 shlibpath_var=LD_LIBRARY${shlibsuff}_PATH
9526 shlibpath_overrides_runpath=no
9527 sys_lib_search_path_spec="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}"
9528 sys_lib_dlsearch_path_spec="/usr/lib${libsuff} /lib${libsuff}"
9529 hardcode_into_libs=yes
9532 # No shared lib support for Linux oldld, aout, or coff.
9533 linux*oldld* | linux*aout* | linux*coff*)
9537 # This must be Linux ELF.
9538 linux* | k*bsd*-gnu | kopensolaris*-gnu)
9542 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
9543 soname_spec='${libname}${release}${shared_ext}$major'
9544 finish_cmds='PATH="\$PATH:/sbin" ldconfig -n $libdir'
9545 shlibpath_var=LD_LIBRARY_PATH
9546 shlibpath_overrides_runpath=no
9548 # Some binutils ld are patched to set DT_RUNPATH
9549 if ${lt_cv_shlibpath_overrides_runpath+:} false; then :
9550 $as_echo_n "(cached) " >&6
9552 lt_cv_shlibpath_overrides_runpath=no
9553 save_LDFLAGS=$LDFLAGS
9555 eval "libdir=/foo; wl=\"$lt_prog_compiler_wl\"; \
9556 LDFLAGS=\"\$LDFLAGS $hardcode_libdir_flag_spec\""
9557 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9558 /* end confdefs.h. */
9568 if ac_fn_c_try_link "$LINENO"; then :
9569 if ($OBJDUMP -p conftest$ac_exeext) 2>/dev/null | grep "RUNPATH.*$libdir" >/dev/null; then :
9570 lt_cv_shlibpath_overrides_runpath=yes
9573 rm -f core conftest.err conftest.$ac_objext \
9574 conftest$ac_exeext conftest.$ac_ext
9575 LDFLAGS=$save_LDFLAGS
9580 shlibpath_overrides_runpath=$lt_cv_shlibpath_overrides_runpath
9582 # This implies no fast_install, which is unacceptable.
9583 # Some rework will be needed to allow for fast_install
9584 # before this can be enabled.
9585 hardcode_into_libs=yes
9587 # Append ld.so.conf contents to the search path
9588 if test -f /etc/ld.so.conf; then
9589 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' ' '`
9590 sys_lib_dlsearch_path_spec="/lib /usr/lib $lt_ld_extra"
9593 # We used to test for /lib/ld.so.1 and disable shared libraries on
9594 # powerpc, because MkLinux only supported shared libraries with the
9595 # GNU dynamic linker. Since this was broken with cross compilers,
9596 # most powerpc-linux boxes support dynamic linking these days and
9597 # people can always --disable-shared, the test was removed, and we
9598 # assume the GNU/Linux dynamic linker is in use.
9599 dynamic_linker='GNU/Linux ld.so'
9606 if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
9607 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
9608 finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
9609 dynamic_linker='NetBSD (a.out) ld.so'
9611 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
9612 soname_spec='${libname}${release}${shared_ext}$major'
9613 dynamic_linker='NetBSD ld.elf_so'
9615 shlibpath_var=LD_LIBRARY_PATH
9616 shlibpath_overrides_runpath=yes
9617 hardcode_into_libs=yes
9622 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
9623 shlibpath_var=LD_LIBRARY_PATH
9624 shlibpath_overrides_runpath=yes
9631 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
9632 soname_spec='${libname}${release}${shared_ext}$major'
9633 shlibpath_var=LD_LIBRARY_PATH
9634 shlibpath_overrides_runpath=no
9635 hardcode_into_libs=yes
9636 dynamic_linker='ldqnx.so'
9641 sys_lib_dlsearch_path_spec="/usr/lib"
9643 # Some older versions of OpenBSD (3.3 at least) *do* need versioned libs.
9645 openbsd3.3 | openbsd3.3.*) need_version=yes ;;
9646 *) need_version=no ;;
9648 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
9649 finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
9650 shlibpath_var=LD_LIBRARY_PATH
9651 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
9653 openbsd2.[89] | openbsd2.[89].*)
9654 shlibpath_overrides_runpath=no
9657 shlibpath_overrides_runpath=yes
9661 shlibpath_overrides_runpath=yes
9666 libname_spec='$name'
9669 library_names_spec='$libname${shared_ext} $libname.a'
9670 dynamic_linker='OS/2 ld.exe'
9671 shlibpath_var=LIBPATH
9674 osf3* | osf4* | osf5*)
9678 soname_spec='${libname}${release}${shared_ext}$major'
9679 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
9680 shlibpath_var=LD_LIBRARY_PATH
9681 sys_lib_search_path_spec="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
9682 sys_lib_dlsearch_path_spec="$sys_lib_search_path_spec"
9693 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
9694 soname_spec='${libname}${release}${shared_ext}$major'
9695 shlibpath_var=LD_LIBRARY_PATH
9696 shlibpath_overrides_runpath=yes
9697 hardcode_into_libs=yes
9698 # ldd complains unless libraries are executable
9699 postinstall_cmds='chmod +x $lib'
9704 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
9705 finish_cmds='PATH="\$PATH:/usr/etc" ldconfig $libdir'
9706 shlibpath_var=LD_LIBRARY_PATH
9707 shlibpath_overrides_runpath=yes
9708 if test "$with_gnu_ld" = yes; then
9716 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
9717 soname_spec='${libname}${release}${shared_ext}$major'
9718 shlibpath_var=LD_LIBRARY_PATH
9719 case $host_vendor in
9721 shlibpath_overrides_runpath=no
9723 runpath_var=LD_RUN_PATH
9731 shlibpath_overrides_runpath=no
9732 sys_lib_search_path_spec='/lib /usr/lib /usr/ccs/lib'
9738 if test -d /usr/nec ;then
9740 library_names_spec='$libname${shared_ext}.$versuffix $libname${shared_ext}.$major $libname${shared_ext}'
9741 soname_spec='$libname${shared_ext}.$major'
9742 shlibpath_var=LD_LIBRARY_PATH
9746 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
9747 version_type=freebsd-elf
9750 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
9751 soname_spec='${libname}${release}${shared_ext}$major'
9752 shlibpath_var=LD_LIBRARY_PATH
9753 shlibpath_overrides_runpath=yes
9754 hardcode_into_libs=yes
9755 if test "$with_gnu_ld" = yes; then
9756 sys_lib_search_path_spec='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib'
9758 sys_lib_search_path_spec='/usr/ccs/lib /usr/lib'
9761 sys_lib_search_path_spec="$sys_lib_search_path_spec /lib"
9765 sys_lib_dlsearch_path_spec='/usr/lib'
9769 # TPF is a cross-target only. Preferred cross-host = GNU/Linux.
9773 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
9774 shlibpath_var=LD_LIBRARY_PATH
9775 shlibpath_overrides_runpath=no
9776 hardcode_into_libs=yes
9781 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
9782 soname_spec='${libname}${release}${shared_ext}$major'
9783 shlibpath_var=LD_LIBRARY_PATH
9790 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $dynamic_linker" >&5
9791 $as_echo "$dynamic_linker" >&6; }
9792 test "$dynamic_linker" = no && can_build_shared=no
9794 variables_saved_for_relink="PATH $shlibpath_var $runpath_var"
9795 if test "$GCC" = yes; then
9796 variables_saved_for_relink="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
9799 if test "${lt_cv_sys_lib_search_path_spec+set}" = set; then
9800 sys_lib_search_path_spec="$lt_cv_sys_lib_search_path_spec"
9802 if test "${lt_cv_sys_lib_dlsearch_path_spec+set}" = set; then
9803 sys_lib_dlsearch_path_spec="$lt_cv_sys_lib_dlsearch_path_spec"
9897 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to hardcode library paths into programs" >&5
9898 $as_echo_n "checking how to hardcode library paths into programs... " >&6; }
9900 if test -n "$hardcode_libdir_flag_spec" ||
9901 test -n "$runpath_var" ||
9902 test "X$hardcode_automatic" = "Xyes" ; then
9904 # We can hardcode non-existent directories.
9905 if test "$hardcode_direct" != no &&
9906 # If the only mechanism to avoid hardcoding is shlibpath_var, we
9907 # have to relink, otherwise we might link with an installed library
9908 # when we should be linking with a yet-to-be-installed one
9909 ## test "$_LT_TAGVAR(hardcode_shlibpath_var, )" != no &&
9910 test "$hardcode_minus_L" != no; then
9911 # Linking always hardcodes the temporary library directory.
9912 hardcode_action=relink
9914 # We can link without hardcoding, and we can hardcode nonexisting dirs.
9915 hardcode_action=immediate
9918 # We cannot hardcode anything, or else we can only hardcode existing
9920 hardcode_action=unsupported
9922 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hardcode_action" >&5
9923 $as_echo "$hardcode_action" >&6; }
9925 if test "$hardcode_action" = relink ||
9926 test "$inherit_rpath" = yes; then
9927 # Fast installation is not supported
9928 enable_fast_install=no
9929 elif test "$shlibpath_overrides_runpath" = yes ||
9930 test "$enable_shared" = no; then
9931 # Fast installation is not necessary
9932 enable_fast_install=needless
9940 if test "x$enable_dlopen" != xyes; then
9941 enable_dlopen=unknown
9942 enable_dlopen_self=unknown
9943 enable_dlopen_self_static=unknown
9950 lt_cv_dlopen="load_add_on"
9952 lt_cv_dlopen_self=yes
9955 mingw* | pw32* | cegcc*)
9956 lt_cv_dlopen="LoadLibrary"
9961 lt_cv_dlopen="dlopen"
9966 # if libdl is installed we need to link against it
9967 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
9968 $as_echo_n "checking for dlopen in -ldl... " >&6; }
9969 if ${ac_cv_lib_dl_dlopen+:} false; then :
9970 $as_echo_n "(cached) " >&6
9972 ac_check_lib_save_LIBS=$LIBS
9974 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9975 /* end confdefs.h. */
9977 /* Override any GCC internal prototype to avoid an error.
9978 Use char because int might match the return type of a GCC
9979 builtin and then its argument prototype would still apply. */
9992 if ac_fn_c_try_link "$LINENO"; then :
9993 ac_cv_lib_dl_dlopen=yes
9995 ac_cv_lib_dl_dlopen=no
9997 rm -f core conftest.err conftest.$ac_objext \
9998 conftest$ac_exeext conftest.$ac_ext
9999 LIBS=$ac_check_lib_save_LIBS
10001 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
10002 $as_echo "$ac_cv_lib_dl_dlopen" >&6; }
10003 if test "x$ac_cv_lib_dl_dlopen" = xyes; then :
10004 lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl"
10007 lt_cv_dlopen="dyld"
10009 lt_cv_dlopen_self=yes
10016 ac_fn_c_check_func "$LINENO" "shl_load" "ac_cv_func_shl_load"
10017 if test "x$ac_cv_func_shl_load" = xyes; then :
10018 lt_cv_dlopen="shl_load"
10020 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for shl_load in -ldld" >&5
10021 $as_echo_n "checking for shl_load in -ldld... " >&6; }
10022 if ${ac_cv_lib_dld_shl_load+:} false; then :
10023 $as_echo_n "(cached) " >&6
10025 ac_check_lib_save_LIBS=$LIBS
10027 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10028 /* end confdefs.h. */
10030 /* Override any GCC internal prototype to avoid an error.
10031 Use char because int might match the return type of a GCC
10032 builtin and then its argument prototype would still apply. */
10040 return shl_load ();
10045 if ac_fn_c_try_link "$LINENO"; then :
10046 ac_cv_lib_dld_shl_load=yes
10048 ac_cv_lib_dld_shl_load=no
10050 rm -f core conftest.err conftest.$ac_objext \
10051 conftest$ac_exeext conftest.$ac_ext
10052 LIBS=$ac_check_lib_save_LIBS
10054 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_shl_load" >&5
10055 $as_echo "$ac_cv_lib_dld_shl_load" >&6; }
10056 if test "x$ac_cv_lib_dld_shl_load" = xyes; then :
10057 lt_cv_dlopen="shl_load" lt_cv_dlopen_libs="-ldld"
10059 ac_fn_c_check_func "$LINENO" "dlopen" "ac_cv_func_dlopen"
10060 if test "x$ac_cv_func_dlopen" = xyes; then :
10061 lt_cv_dlopen="dlopen"
10063 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
10064 $as_echo_n "checking for dlopen in -ldl... " >&6; }
10065 if ${ac_cv_lib_dl_dlopen+:} false; then :
10066 $as_echo_n "(cached) " >&6
10068 ac_check_lib_save_LIBS=$LIBS
10070 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10071 /* end confdefs.h. */
10073 /* Override any GCC internal prototype to avoid an error.
10074 Use char because int might match the return type of a GCC
10075 builtin and then its argument prototype would still apply. */
10088 if ac_fn_c_try_link "$LINENO"; then :
10089 ac_cv_lib_dl_dlopen=yes
10091 ac_cv_lib_dl_dlopen=no
10093 rm -f core conftest.err conftest.$ac_objext \
10094 conftest$ac_exeext conftest.$ac_ext
10095 LIBS=$ac_check_lib_save_LIBS
10097 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
10098 $as_echo "$ac_cv_lib_dl_dlopen" >&6; }
10099 if test "x$ac_cv_lib_dl_dlopen" = xyes; then :
10100 lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl"
10102 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -lsvld" >&5
10103 $as_echo_n "checking for dlopen in -lsvld... " >&6; }
10104 if ${ac_cv_lib_svld_dlopen+:} false; then :
10105 $as_echo_n "(cached) " >&6
10107 ac_check_lib_save_LIBS=$LIBS
10108 LIBS="-lsvld $LIBS"
10109 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10110 /* end confdefs.h. */
10112 /* Override any GCC internal prototype to avoid an error.
10113 Use char because int might match the return type of a GCC
10114 builtin and then its argument prototype would still apply. */
10127 if ac_fn_c_try_link "$LINENO"; then :
10128 ac_cv_lib_svld_dlopen=yes
10130 ac_cv_lib_svld_dlopen=no
10132 rm -f core conftest.err conftest.$ac_objext \
10133 conftest$ac_exeext conftest.$ac_ext
10134 LIBS=$ac_check_lib_save_LIBS
10136 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_svld_dlopen" >&5
10137 $as_echo "$ac_cv_lib_svld_dlopen" >&6; }
10138 if test "x$ac_cv_lib_svld_dlopen" = xyes; then :
10139 lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-lsvld"
10141 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dld_link in -ldld" >&5
10142 $as_echo_n "checking for dld_link in -ldld... " >&6; }
10143 if ${ac_cv_lib_dld_dld_link+:} false; then :
10144 $as_echo_n "(cached) " >&6
10146 ac_check_lib_save_LIBS=$LIBS
10148 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10149 /* end confdefs.h. */
10151 /* Override any GCC internal prototype to avoid an error.
10152 Use char because int might match the return type of a GCC
10153 builtin and then its argument prototype would still apply. */
10161 return dld_link ();
10166 if ac_fn_c_try_link "$LINENO"; then :
10167 ac_cv_lib_dld_dld_link=yes
10169 ac_cv_lib_dld_dld_link=no
10171 rm -f core conftest.err conftest.$ac_objext \
10172 conftest$ac_exeext conftest.$ac_ext
10173 LIBS=$ac_check_lib_save_LIBS
10175 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_dld_link" >&5
10176 $as_echo "$ac_cv_lib_dld_dld_link" >&6; }
10177 if test "x$ac_cv_lib_dld_dld_link" = xyes; then :
10178 lt_cv_dlopen="dld_link" lt_cv_dlopen_libs="-ldld"
10199 if test "x$lt_cv_dlopen" != xno; then
10205 case $lt_cv_dlopen in
10207 save_CPPFLAGS="$CPPFLAGS"
10208 test "x$ac_cv_header_dlfcn_h" = xyes && CPPFLAGS="$CPPFLAGS -DHAVE_DLFCN_H"
10210 save_LDFLAGS="$LDFLAGS"
10211 wl=$lt_prog_compiler_wl eval LDFLAGS=\"\$LDFLAGS $export_dynamic_flag_spec\"
10214 LIBS="$lt_cv_dlopen_libs $LIBS"
10216 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether a program can dlopen itself" >&5
10217 $as_echo_n "checking whether a program can dlopen itself... " >&6; }
10218 if ${lt_cv_dlopen_self+:} false; then :
10219 $as_echo_n "(cached) " >&6
10221 if test "$cross_compiling" = yes; then :
10222 lt_cv_dlopen_self=cross
10224 lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
10225 lt_status=$lt_dlunknown
10226 cat > conftest.$ac_ext <<_LT_EOF
10227 #line $LINENO "configure"
10228 #include "confdefs.h"
10237 # define LT_DLGLOBAL RTLD_GLOBAL
10240 # define LT_DLGLOBAL DL_GLOBAL
10242 # define LT_DLGLOBAL 0
10246 /* We may have to define LT_DLLAZY_OR_NOW in the command line if we
10247 find out it does not work in some platform. */
10248 #ifndef LT_DLLAZY_OR_NOW
10250 # define LT_DLLAZY_OR_NOW RTLD_LAZY
10253 # define LT_DLLAZY_OR_NOW DL_LAZY
10256 # define LT_DLLAZY_OR_NOW RTLD_NOW
10259 # define LT_DLLAZY_OR_NOW DL_NOW
10261 # define LT_DLLAZY_OR_NOW 0
10268 /* When -fvisbility=hidden is used, assume the code has been annotated
10269 correspondingly for the symbols needed. */
10270 #if defined(__GNUC__) && (((__GNUC__ == 3) && (__GNUC_MINOR__ >= 3)) || (__GNUC__ > 3))
10271 int fnord () __attribute__((visibility("default")));
10274 int fnord () { return 42; }
10277 void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
10278 int status = $lt_dlunknown;
10282 if (dlsym (self,"fnord")) status = $lt_dlno_uscore;
10285 if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
10286 else puts (dlerror ());
10288 /* dlclose (self); */
10296 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
10297 (eval $ac_link) 2>&5
10299 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
10300 test $ac_status = 0; } && test -s conftest${ac_exeext} 2>/dev/null; then
10301 (./conftest; exit; ) >&5 2>/dev/null
10303 case x$lt_status in
10304 x$lt_dlno_uscore) lt_cv_dlopen_self=yes ;;
10305 x$lt_dlneed_uscore) lt_cv_dlopen_self=yes ;;
10306 x$lt_dlunknown|x*) lt_cv_dlopen_self=no ;;
10309 # compilation failed
10310 lt_cv_dlopen_self=no
10317 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_dlopen_self" >&5
10318 $as_echo "$lt_cv_dlopen_self" >&6; }
10320 if test "x$lt_cv_dlopen_self" = xyes; then
10321 wl=$lt_prog_compiler_wl eval LDFLAGS=\"\$LDFLAGS $lt_prog_compiler_static\"
10322 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether a statically linked program can dlopen itself" >&5
10323 $as_echo_n "checking whether a statically linked program can dlopen itself... " >&6; }
10324 if ${lt_cv_dlopen_self_static+:} false; then :
10325 $as_echo_n "(cached) " >&6
10327 if test "$cross_compiling" = yes; then :
10328 lt_cv_dlopen_self_static=cross
10330 lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
10331 lt_status=$lt_dlunknown
10332 cat > conftest.$ac_ext <<_LT_EOF
10333 #line $LINENO "configure"
10334 #include "confdefs.h"
10343 # define LT_DLGLOBAL RTLD_GLOBAL
10346 # define LT_DLGLOBAL DL_GLOBAL
10348 # define LT_DLGLOBAL 0
10352 /* We may have to define LT_DLLAZY_OR_NOW in the command line if we
10353 find out it does not work in some platform. */
10354 #ifndef LT_DLLAZY_OR_NOW
10356 # define LT_DLLAZY_OR_NOW RTLD_LAZY
10359 # define LT_DLLAZY_OR_NOW DL_LAZY
10362 # define LT_DLLAZY_OR_NOW RTLD_NOW
10365 # define LT_DLLAZY_OR_NOW DL_NOW
10367 # define LT_DLLAZY_OR_NOW 0
10374 /* When -fvisbility=hidden is used, assume the code has been annotated
10375 correspondingly for the symbols needed. */
10376 #if defined(__GNUC__) && (((__GNUC__ == 3) && (__GNUC_MINOR__ >= 3)) || (__GNUC__ > 3))
10377 int fnord () __attribute__((visibility("default")));
10380 int fnord () { return 42; }
10383 void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
10384 int status = $lt_dlunknown;
10388 if (dlsym (self,"fnord")) status = $lt_dlno_uscore;
10391 if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
10392 else puts (dlerror ());
10394 /* dlclose (self); */
10402 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
10403 (eval $ac_link) 2>&5
10405 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
10406 test $ac_status = 0; } && test -s conftest${ac_exeext} 2>/dev/null; then
10407 (./conftest; exit; ) >&5 2>/dev/null
10409 case x$lt_status in
10410 x$lt_dlno_uscore) lt_cv_dlopen_self_static=yes ;;
10411 x$lt_dlneed_uscore) lt_cv_dlopen_self_static=yes ;;
10412 x$lt_dlunknown|x*) lt_cv_dlopen_self_static=no ;;
10415 # compilation failed
10416 lt_cv_dlopen_self_static=no
10423 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_dlopen_self_static" >&5
10424 $as_echo "$lt_cv_dlopen_self_static" >&6; }
10427 CPPFLAGS="$save_CPPFLAGS"
10428 LDFLAGS="$save_LDFLAGS"
10433 case $lt_cv_dlopen_self in
10434 yes|no) enable_dlopen_self=$lt_cv_dlopen_self ;;
10435 *) enable_dlopen_self=unknown ;;
10438 case $lt_cv_dlopen_self_static in
10439 yes|no) enable_dlopen_self_static=$lt_cv_dlopen_self_static ;;
10440 *) enable_dlopen_self_static=unknown ;;
10462 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether stripping libraries is possible" >&5
10463 $as_echo_n "checking whether stripping libraries is possible... " >&6; }
10464 if test -n "$STRIP" && $STRIP -V 2>&1 | $GREP "GNU strip" >/dev/null; then
10465 test -z "$old_striplib" && old_striplib="$STRIP --strip-debug"
10466 test -z "$striplib" && striplib="$STRIP --strip-unneeded"
10467 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
10468 $as_echo "yes" >&6; }
10470 # FIXME - insert some real tests, host_os isn't really good enough
10473 if test -n "$STRIP" ; then
10474 striplib="$STRIP -x"
10475 old_striplib="$STRIP -S"
10476 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
10477 $as_echo "yes" >&6; }
10479 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
10480 $as_echo "no" >&6; }
10484 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
10485 $as_echo "no" >&6; }
10501 # Report which library types will actually be built
10502 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if libtool supports shared libraries" >&5
10503 $as_echo_n "checking if libtool supports shared libraries... " >&6; }
10504 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $can_build_shared" >&5
10505 $as_echo "$can_build_shared" >&6; }
10507 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build shared libraries" >&5
10508 $as_echo_n "checking whether to build shared libraries... " >&6; }
10509 test "$can_build_shared" = "no" && enable_shared=no
10511 # On AIX, shared libraries and static libraries use the same namespace, and
10512 # are all built from PIC.
10515 test "$enable_shared" = yes && enable_static=no
10516 if test -n "$RANLIB"; then
10517 archive_cmds="$archive_cmds~\$RANLIB \$lib"
10518 postinstall_cmds='$RANLIB $lib'
10523 if test "$host_cpu" != ia64 && test "$aix_use_runtimelinking" = no ; then
10524 test "$enable_shared" = yes && enable_static=no
10528 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_shared" >&5
10529 $as_echo "$enable_shared" >&6; }
10531 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build static libraries" >&5
10532 $as_echo_n "checking whether to build static libraries... " >&6; }
10533 # Make sure either enable_shared or enable_static is yes.
10534 test "$enable_shared" = yes || enable_static=yes
10535 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_static" >&5
10536 $as_echo "$enable_static" >&6; }
10543 ac_cpp='$CPP $CPPFLAGS'
10544 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
10545 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
10546 ac_compiler_gnu=$ac_cv_c_compiler_gnu
10562 ac_config_commands="$ac_config_commands libtool"
10567 # Only expand once:
10571 # Check whether --enable-shared was given.
10572 if test "${enable_shared+set}" = set; then :
10573 enableval=$enable_shared;
10580 # Check whether --enable-gettext was given.
10581 if test "${enable_gettext+set}" = set; then :
10582 enableval=$enable_gettext;
10589 # Check whether --enable-lib64 was given.
10590 if test "${enable_lib64+set}" = set; then :
10591 enableval=$enable_lib64;
10602 ac_cpp='$CPP $CPPFLAGS'
10603 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
10604 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
10605 ac_compiler_gnu=$ac_cv_c_compiler_gnu
10606 if test -n "$ac_tool_prefix"; then
10607 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
10608 set dummy ${ac_tool_prefix}gcc; ac_word=$2
10609 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
10610 $as_echo_n "checking for $ac_word... " >&6; }
10611 if ${ac_cv_prog_CC+:} false; then :
10612 $as_echo_n "(cached) " >&6
10614 if test -n "$CC"; then
10615 ac_cv_prog_CC="$CC" # Let the user override the test.
10617 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10618 for as_dir in $PATH
10621 test -z "$as_dir" && as_dir=.
10622 for ac_exec_ext in '' $ac_executable_extensions; do
10623 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
10624 ac_cv_prog_CC="${ac_tool_prefix}gcc"
10625 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
10635 if test -n "$CC"; then
10636 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
10637 $as_echo "$CC" >&6; }
10639 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
10640 $as_echo "no" >&6; }
10645 if test -z "$ac_cv_prog_CC"; then
10647 # Extract the first word of "gcc", so it can be a program name with args.
10648 set dummy gcc; ac_word=$2
10649 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
10650 $as_echo_n "checking for $ac_word... " >&6; }
10651 if ${ac_cv_prog_ac_ct_CC+:} false; then :
10652 $as_echo_n "(cached) " >&6
10654 if test -n "$ac_ct_CC"; then
10655 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
10657 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10658 for as_dir in $PATH
10661 test -z "$as_dir" && as_dir=.
10662 for ac_exec_ext in '' $ac_executable_extensions; do
10663 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
10664 ac_cv_prog_ac_ct_CC="gcc"
10665 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
10674 ac_ct_CC=$ac_cv_prog_ac_ct_CC
10675 if test -n "$ac_ct_CC"; then
10676 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
10677 $as_echo "$ac_ct_CC" >&6; }
10679 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
10680 $as_echo "no" >&6; }
10683 if test "x$ac_ct_CC" = x; then
10686 case $cross_compiling:$ac_tool_warned in
10688 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
10689 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
10690 ac_tool_warned=yes ;;
10695 CC="$ac_cv_prog_CC"
10698 if test -z "$CC"; then
10699 if test -n "$ac_tool_prefix"; then
10700 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
10701 set dummy ${ac_tool_prefix}cc; ac_word=$2
10702 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
10703 $as_echo_n "checking for $ac_word... " >&6; }
10704 if ${ac_cv_prog_CC+:} false; then :
10705 $as_echo_n "(cached) " >&6
10707 if test -n "$CC"; then
10708 ac_cv_prog_CC="$CC" # Let the user override the test.
10710 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10711 for as_dir in $PATH
10714 test -z "$as_dir" && as_dir=.
10715 for ac_exec_ext in '' $ac_executable_extensions; do
10716 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
10717 ac_cv_prog_CC="${ac_tool_prefix}cc"
10718 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
10728 if test -n "$CC"; then
10729 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
10730 $as_echo "$CC" >&6; }
10732 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
10733 $as_echo "no" >&6; }
10739 if test -z "$CC"; then
10740 # Extract the first word of "cc", so it can be a program name with args.
10741 set dummy cc; ac_word=$2
10742 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
10743 $as_echo_n "checking for $ac_word... " >&6; }
10744 if ${ac_cv_prog_CC+:} false; then :
10745 $as_echo_n "(cached) " >&6
10747 if test -n "$CC"; then
10748 ac_cv_prog_CC="$CC" # Let the user override the test.
10750 ac_prog_rejected=no
10751 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10752 for as_dir in $PATH
10755 test -z "$as_dir" && as_dir=.
10756 for ac_exec_ext in '' $ac_executable_extensions; do
10757 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
10758 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
10759 ac_prog_rejected=yes
10763 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
10770 if test $ac_prog_rejected = yes; then
10771 # We found a bogon in the path, so make sure we never use it.
10772 set dummy $ac_cv_prog_CC
10774 if test $# != 0; then
10775 # We chose a different compiler from the bogus one.
10776 # However, it has the same basename, so the bogon will be chosen
10777 # first if we set CC to just the basename; use the full file name.
10779 ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
10785 if test -n "$CC"; then
10786 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
10787 $as_echo "$CC" >&6; }
10789 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
10790 $as_echo "no" >&6; }
10795 if test -z "$CC"; then
10796 if test -n "$ac_tool_prefix"; then
10797 for ac_prog in cl.exe
10799 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
10800 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
10801 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
10802 $as_echo_n "checking for $ac_word... " >&6; }
10803 if ${ac_cv_prog_CC+:} false; then :
10804 $as_echo_n "(cached) " >&6
10806 if test -n "$CC"; then
10807 ac_cv_prog_CC="$CC" # Let the user override the test.
10809 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10810 for as_dir in $PATH
10813 test -z "$as_dir" && as_dir=.
10814 for ac_exec_ext in '' $ac_executable_extensions; do
10815 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
10816 ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
10817 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
10827 if test -n "$CC"; then
10828 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
10829 $as_echo "$CC" >&6; }
10831 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
10832 $as_echo "no" >&6; }
10836 test -n "$CC" && break
10839 if test -z "$CC"; then
10841 for ac_prog in cl.exe
10843 # Extract the first word of "$ac_prog", so it can be a program name with args.
10844 set dummy $ac_prog; ac_word=$2
10845 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
10846 $as_echo_n "checking for $ac_word... " >&6; }
10847 if ${ac_cv_prog_ac_ct_CC+:} false; then :
10848 $as_echo_n "(cached) " >&6
10850 if test -n "$ac_ct_CC"; then
10851 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
10853 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10854 for as_dir in $PATH
10857 test -z "$as_dir" && as_dir=.
10858 for ac_exec_ext in '' $ac_executable_extensions; do
10859 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
10860 ac_cv_prog_ac_ct_CC="$ac_prog"
10861 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
10870 ac_ct_CC=$ac_cv_prog_ac_ct_CC
10871 if test -n "$ac_ct_CC"; then
10872 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
10873 $as_echo "$ac_ct_CC" >&6; }
10875 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
10876 $as_echo "no" >&6; }
10880 test -n "$ac_ct_CC" && break
10883 if test "x$ac_ct_CC" = x; then
10886 case $cross_compiling:$ac_tool_warned in
10888 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
10889 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
10890 ac_tool_warned=yes ;;
10899 test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
10900 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
10901 as_fn_error $? "no acceptable C compiler found in \$PATH
10902 See \`config.log' for more details" "$LINENO" 5; }
10904 # Provide some information about the compiler.
10905 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
10908 for ac_option in --version -v -V -qversion; do
10909 { { ac_try="$ac_compiler $ac_option >&5"
10910 case "(($ac_try" in
10911 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
10912 *) ac_try_echo=$ac_try;;
10914 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
10915 $as_echo "$ac_try_echo"; } >&5
10916 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
10918 if test -s conftest.err; then
10920 ... rest of stderr output deleted ...
10921 10q' conftest.err >conftest.er1
10922 cat conftest.er1 >&5
10924 rm -f conftest.er1 conftest.err
10925 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
10926 test $ac_status = 0; }
10929 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
10930 $as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
10931 if ${ac_cv_c_compiler_gnu+:} false; then :
10932 $as_echo_n "(cached) " >&6
10934 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10935 /* end confdefs.h. */
10948 if ac_fn_c_try_compile "$LINENO"; then :
10949 ac_compiler_gnu=yes
10953 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
10954 ac_cv_c_compiler_gnu=$ac_compiler_gnu
10957 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
10958 $as_echo "$ac_cv_c_compiler_gnu" >&6; }
10959 if test $ac_compiler_gnu = yes; then
10964 ac_test_CFLAGS=${CFLAGS+set}
10965 ac_save_CFLAGS=$CFLAGS
10966 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
10967 $as_echo_n "checking whether $CC accepts -g... " >&6; }
10968 if ${ac_cv_prog_cc_g+:} false; then :
10969 $as_echo_n "(cached) " >&6
10971 ac_save_c_werror_flag=$ac_c_werror_flag
10972 ac_c_werror_flag=yes
10975 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10976 /* end confdefs.h. */
10986 if ac_fn_c_try_compile "$LINENO"; then :
10987 ac_cv_prog_cc_g=yes
10990 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10991 /* end confdefs.h. */
11001 if ac_fn_c_try_compile "$LINENO"; then :
11004 ac_c_werror_flag=$ac_save_c_werror_flag
11006 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11007 /* end confdefs.h. */
11017 if ac_fn_c_try_compile "$LINENO"; then :
11018 ac_cv_prog_cc_g=yes
11020 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
11022 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
11024 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
11025 ac_c_werror_flag=$ac_save_c_werror_flag
11027 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
11028 $as_echo "$ac_cv_prog_cc_g" >&6; }
11029 if test "$ac_test_CFLAGS" = set; then
11030 CFLAGS=$ac_save_CFLAGS
11031 elif test $ac_cv_prog_cc_g = yes; then
11032 if test "$GCC" = yes; then
11038 if test "$GCC" = yes; then
11044 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
11045 $as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
11046 if ${ac_cv_prog_cc_c89+:} false; then :
11047 $as_echo_n "(cached) " >&6
11049 ac_cv_prog_cc_c89=no
11051 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11052 /* end confdefs.h. */
11053 #include <stdarg.h>
11055 #include <sys/types.h>
11056 #include <sys/stat.h>
11057 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
11058 struct buf { int x; };
11059 FILE * (*rcsopen) (struct buf *, struct stat *, int);
11060 static char *e (p, i)
11066 static char *f (char * (*g) (char **, int), char **p, ...)
11071 s = g (p, va_arg (v,int));
11076 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
11077 function prototypes and stuff, but not '\xHH' hex character constants.
11078 These don't provoke an error unfortunately, instead are silently treated
11079 as 'x'. The following induces an error, until -std is added to get
11080 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
11081 array size at least. It's necessary to write '\x00'==0 to get something
11082 that's true only with -std. */
11083 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
11085 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
11086 inside strings and character constants. */
11088 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
11090 int test (int i, double x);
11091 struct s1 {int (*f) (int a);};
11092 struct s2 {int (*f) (double a);};
11093 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
11099 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
11104 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
11105 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
11107 CC="$ac_save_CC $ac_arg"
11108 if ac_fn_c_try_compile "$LINENO"; then :
11109 ac_cv_prog_cc_c89=$ac_arg
11111 rm -f core conftest.err conftest.$ac_objext
11112 test "x$ac_cv_prog_cc_c89" != "xno" && break
11114 rm -f conftest.$ac_ext
11119 case "x$ac_cv_prog_cc_c89" in
11121 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
11122 $as_echo "none needed" >&6; } ;;
11124 { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
11125 $as_echo "unsupported" >&6; } ;;
11127 CC="$CC $ac_cv_prog_cc_c89"
11128 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
11129 $as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
11131 if test "x$ac_cv_prog_cc_c89" != xno; then :
11136 ac_cpp='$CPP $CPPFLAGS'
11137 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
11138 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
11139 ac_compiler_gnu=$ac_cv_c_compiler_gnu
11143 pkg_version=${PKG_MAJOR}.${PKG_MINOR}.${PKG_REVISION}
11145 pkg_release=$PKG_BUILD
11146 test -z "$BUILD_VERSION" || pkg_release="$BUILD_VERSION"
11149 DEBUG=${DEBUG:-'-DDEBUG'} debug_build="$DEBUG"
11152 OPTIMIZER=${OPTIMIZER:-'-g -O2'}
11153 opt_build="$OPTIMIZER"
11156 MALLOCLIB=${MALLOCLIB:-''} malloc_lib="$MALLOCLIB"
11159 pkg_user=`id -u -n`
11160 test -z "$INSTALL_USER" || pkg_user="$INSTALL_USER"
11163 pkg_group=`id -g -n`
11164 test -z "$INSTALL_GROUP" || pkg_group="$INSTALL_GROUP"
11167 pkg_distribution=`uname -s`
11168 test -z "$DISTRIBUTION" || pkg_distribution="$DISTRIBUTION"
11171 pkg_platform=`uname -s | tr 'A-Z' 'a-z' | sed -e 's/irix64/irix/'`
11172 test -z "$PLATFORM" || pkg_platform="$PLATFORM"
11176 ac_cpp='$CPP $CPPFLAGS'
11177 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
11178 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
11179 ac_compiler_gnu=$ac_cv_c_compiler_gnu
11180 if test -n "$ac_tool_prefix"; then
11181 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
11182 set dummy ${ac_tool_prefix}gcc; ac_word=$2
11183 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
11184 $as_echo_n "checking for $ac_word... " >&6; }
11185 if ${ac_cv_prog_CC+:} false; then :
11186 $as_echo_n "(cached) " >&6
11188 if test -n "$CC"; then
11189 ac_cv_prog_CC="$CC" # Let the user override the test.
11191 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11192 for as_dir in $PATH
11195 test -z "$as_dir" && as_dir=.
11196 for ac_exec_ext in '' $ac_executable_extensions; do
11197 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
11198 ac_cv_prog_CC="${ac_tool_prefix}gcc"
11199 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
11209 if test -n "$CC"; then
11210 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
11211 $as_echo "$CC" >&6; }
11213 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11214 $as_echo "no" >&6; }
11219 if test -z "$ac_cv_prog_CC"; then
11221 # Extract the first word of "gcc", so it can be a program name with args.
11222 set dummy gcc; ac_word=$2
11223 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
11224 $as_echo_n "checking for $ac_word... " >&6; }
11225 if ${ac_cv_prog_ac_ct_CC+:} false; then :
11226 $as_echo_n "(cached) " >&6
11228 if test -n "$ac_ct_CC"; then
11229 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
11231 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11232 for as_dir in $PATH
11235 test -z "$as_dir" && as_dir=.
11236 for ac_exec_ext in '' $ac_executable_extensions; do
11237 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
11238 ac_cv_prog_ac_ct_CC="gcc"
11239 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
11248 ac_ct_CC=$ac_cv_prog_ac_ct_CC
11249 if test -n "$ac_ct_CC"; then
11250 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
11251 $as_echo "$ac_ct_CC" >&6; }
11253 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11254 $as_echo "no" >&6; }
11257 if test "x$ac_ct_CC" = x; then
11260 case $cross_compiling:$ac_tool_warned in
11262 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
11263 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
11264 ac_tool_warned=yes ;;
11269 CC="$ac_cv_prog_CC"
11272 if test -z "$CC"; then
11273 if test -n "$ac_tool_prefix"; then
11274 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
11275 set dummy ${ac_tool_prefix}cc; ac_word=$2
11276 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
11277 $as_echo_n "checking for $ac_word... " >&6; }
11278 if ${ac_cv_prog_CC+:} false; then :
11279 $as_echo_n "(cached) " >&6
11281 if test -n "$CC"; then
11282 ac_cv_prog_CC="$CC" # Let the user override the test.
11284 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11285 for as_dir in $PATH
11288 test -z "$as_dir" && as_dir=.
11289 for ac_exec_ext in '' $ac_executable_extensions; do
11290 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
11291 ac_cv_prog_CC="${ac_tool_prefix}cc"
11292 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
11302 if test -n "$CC"; then
11303 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
11304 $as_echo "$CC" >&6; }
11306 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11307 $as_echo "no" >&6; }
11313 if test -z "$CC"; then
11314 # Extract the first word of "cc", so it can be a program name with args.
11315 set dummy cc; ac_word=$2
11316 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
11317 $as_echo_n "checking for $ac_word... " >&6; }
11318 if ${ac_cv_prog_CC+:} false; then :
11319 $as_echo_n "(cached) " >&6
11321 if test -n "$CC"; then
11322 ac_cv_prog_CC="$CC" # Let the user override the test.
11324 ac_prog_rejected=no
11325 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11326 for as_dir in $PATH
11329 test -z "$as_dir" && as_dir=.
11330 for ac_exec_ext in '' $ac_executable_extensions; do
11331 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
11332 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
11333 ac_prog_rejected=yes
11337 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
11344 if test $ac_prog_rejected = yes; then
11345 # We found a bogon in the path, so make sure we never use it.
11346 set dummy $ac_cv_prog_CC
11348 if test $# != 0; then
11349 # We chose a different compiler from the bogus one.
11350 # However, it has the same basename, so the bogon will be chosen
11351 # first if we set CC to just the basename; use the full file name.
11353 ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
11359 if test -n "$CC"; then
11360 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
11361 $as_echo "$CC" >&6; }
11363 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11364 $as_echo "no" >&6; }
11369 if test -z "$CC"; then
11370 if test -n "$ac_tool_prefix"; then
11371 for ac_prog in cl.exe
11373 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
11374 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
11375 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
11376 $as_echo_n "checking for $ac_word... " >&6; }
11377 if ${ac_cv_prog_CC+:} false; then :
11378 $as_echo_n "(cached) " >&6
11380 if test -n "$CC"; then
11381 ac_cv_prog_CC="$CC" # Let the user override the test.
11383 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11384 for as_dir in $PATH
11387 test -z "$as_dir" && as_dir=.
11388 for ac_exec_ext in '' $ac_executable_extensions; do
11389 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
11390 ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
11391 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
11401 if test -n "$CC"; then
11402 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
11403 $as_echo "$CC" >&6; }
11405 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11406 $as_echo "no" >&6; }
11410 test -n "$CC" && break
11413 if test -z "$CC"; then
11415 for ac_prog in cl.exe
11417 # Extract the first word of "$ac_prog", so it can be a program name with args.
11418 set dummy $ac_prog; ac_word=$2
11419 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
11420 $as_echo_n "checking for $ac_word... " >&6; }
11421 if ${ac_cv_prog_ac_ct_CC+:} false; then :
11422 $as_echo_n "(cached) " >&6
11424 if test -n "$ac_ct_CC"; then
11425 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
11427 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11428 for as_dir in $PATH
11431 test -z "$as_dir" && as_dir=.
11432 for ac_exec_ext in '' $ac_executable_extensions; do
11433 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
11434 ac_cv_prog_ac_ct_CC="$ac_prog"
11435 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
11444 ac_ct_CC=$ac_cv_prog_ac_ct_CC
11445 if test -n "$ac_ct_CC"; then
11446 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
11447 $as_echo "$ac_ct_CC" >&6; }
11449 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11450 $as_echo "no" >&6; }
11454 test -n "$ac_ct_CC" && break
11457 if test "x$ac_ct_CC" = x; then
11460 case $cross_compiling:$ac_tool_warned in
11462 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
11463 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
11464 ac_tool_warned=yes ;;
11473 test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
11474 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
11475 as_fn_error $? "no acceptable C compiler found in \$PATH
11476 See \`config.log' for more details" "$LINENO" 5; }
11478 # Provide some information about the compiler.
11479 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
11482 for ac_option in --version -v -V -qversion; do
11483 { { ac_try="$ac_compiler $ac_option >&5"
11484 case "(($ac_try" in
11485 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
11486 *) ac_try_echo=$ac_try;;
11488 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
11489 $as_echo "$ac_try_echo"; } >&5
11490 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
11492 if test -s conftest.err; then
11494 ... rest of stderr output deleted ...
11495 10q' conftest.err >conftest.er1
11496 cat conftest.er1 >&5
11498 rm -f conftest.er1 conftest.err
11499 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
11500 test $ac_status = 0; }
11503 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
11504 $as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
11505 if ${ac_cv_c_compiler_gnu+:} false; then :
11506 $as_echo_n "(cached) " >&6
11508 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11509 /* end confdefs.h. */
11522 if ac_fn_c_try_compile "$LINENO"; then :
11523 ac_compiler_gnu=yes
11527 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
11528 ac_cv_c_compiler_gnu=$ac_compiler_gnu
11531 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
11532 $as_echo "$ac_cv_c_compiler_gnu" >&6; }
11533 if test $ac_compiler_gnu = yes; then
11538 ac_test_CFLAGS=${CFLAGS+set}
11539 ac_save_CFLAGS=$CFLAGS
11540 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
11541 $as_echo_n "checking whether $CC accepts -g... " >&6; }
11542 if ${ac_cv_prog_cc_g+:} false; then :
11543 $as_echo_n "(cached) " >&6
11545 ac_save_c_werror_flag=$ac_c_werror_flag
11546 ac_c_werror_flag=yes
11549 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11550 /* end confdefs.h. */
11560 if ac_fn_c_try_compile "$LINENO"; then :
11561 ac_cv_prog_cc_g=yes
11564 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11565 /* end confdefs.h. */
11575 if ac_fn_c_try_compile "$LINENO"; then :
11578 ac_c_werror_flag=$ac_save_c_werror_flag
11580 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11581 /* end confdefs.h. */
11591 if ac_fn_c_try_compile "$LINENO"; then :
11592 ac_cv_prog_cc_g=yes
11594 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
11596 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
11598 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
11599 ac_c_werror_flag=$ac_save_c_werror_flag
11601 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
11602 $as_echo "$ac_cv_prog_cc_g" >&6; }
11603 if test "$ac_test_CFLAGS" = set; then
11604 CFLAGS=$ac_save_CFLAGS
11605 elif test $ac_cv_prog_cc_g = yes; then
11606 if test "$GCC" = yes; then
11612 if test "$GCC" = yes; then
11618 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
11619 $as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
11620 if ${ac_cv_prog_cc_c89+:} false; then :
11621 $as_echo_n "(cached) " >&6
11623 ac_cv_prog_cc_c89=no
11625 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11626 /* end confdefs.h. */
11627 #include <stdarg.h>
11629 #include <sys/types.h>
11630 #include <sys/stat.h>
11631 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
11632 struct buf { int x; };
11633 FILE * (*rcsopen) (struct buf *, struct stat *, int);
11634 static char *e (p, i)
11640 static char *f (char * (*g) (char **, int), char **p, ...)
11645 s = g (p, va_arg (v,int));
11650 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
11651 function prototypes and stuff, but not '\xHH' hex character constants.
11652 These don't provoke an error unfortunately, instead are silently treated
11653 as 'x'. The following induces an error, until -std is added to get
11654 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
11655 array size at least. It's necessary to write '\x00'==0 to get something
11656 that's true only with -std. */
11657 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
11659 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
11660 inside strings and character constants. */
11662 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
11664 int test (int i, double x);
11665 struct s1 {int (*f) (int a);};
11666 struct s2 {int (*f) (double a);};
11667 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
11673 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
11678 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
11679 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
11681 CC="$ac_save_CC $ac_arg"
11682 if ac_fn_c_try_compile "$LINENO"; then :
11683 ac_cv_prog_cc_c89=$ac_arg
11685 rm -f core conftest.err conftest.$ac_objext
11686 test "x$ac_cv_prog_cc_c89" != "xno" && break
11688 rm -f conftest.$ac_ext
11693 case "x$ac_cv_prog_cc_c89" in
11695 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
11696 $as_echo "none needed" >&6; } ;;
11698 { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
11699 $as_echo "unsupported" >&6; } ;;
11701 CC="$CC $ac_cv_prog_cc_c89"
11702 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
11703 $as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
11705 if test "x$ac_cv_prog_cc_c89" != xno; then :
11710 ac_cpp='$CPP $CPPFLAGS'
11711 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
11712 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
11713 ac_compiler_gnu=$ac_cv_c_compiler_gnu
11717 if test -z ""$cc""; then
11719 echo FATAL ERROR: cc does not seem to be installed.
11720 echo acl cannot be built without a working C compiler installation.
11725 search_path="$PATH$PATH_SEPARATOR/usr/freeware/bin$PATH_SEPARATOR/bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR/usr/local/bin"
11727 for ac_prog in gmake make
11729 # Extract the first word of "$ac_prog", so it can be a program name with args.
11730 set dummy $ac_prog; ac_word=$2
11731 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
11732 $as_echo_n "checking for $ac_word... " >&6; }
11733 if ${ac_cv_path_MAKE+:} false; then :
11734 $as_echo_n "(cached) " >&6
11738 ac_cv_path_MAKE="$MAKE" # Let the user override the test with a path.
11741 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11742 for as_dir in $search_path
11745 test -z "$as_dir" && as_dir=.
11746 for ac_exec_ext in '' $ac_executable_extensions; do
11747 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
11748 ac_cv_path_MAKE="$as_dir/$ac_word$ac_exec_ext"
11749 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
11759 MAKE=$ac_cv_path_MAKE
11760 if test -n "$MAKE"; then
11761 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MAKE" >&5
11762 $as_echo "$MAKE" >&6; }
11764 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11765 $as_echo "no" >&6; }
11769 test -n "$MAKE" && break
11774 if test -z ""$make""; then
11776 echo FATAL ERROR: make does not seem to be installed.
11777 echo acl cannot be built without a working GNU make installation.
11782 # Extract the first word of "tar", so it can be a program name with args.
11783 set dummy tar; ac_word=$2
11784 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
11785 $as_echo_n "checking for $ac_word... " >&6; }
11786 if ${ac_cv_path_TAR+:} false; then :
11787 $as_echo_n "(cached) " >&6
11791 ac_cv_path_TAR="$TAR" # Let the user override the test with a path.
11794 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11795 for as_dir in $search_path
11798 test -z "$as_dir" && as_dir=.
11799 for ac_exec_ext in '' $ac_executable_extensions; do
11800 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
11801 ac_cv_path_TAR="$as_dir/$ac_word$ac_exec_ext"
11802 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
11812 TAR=$ac_cv_path_TAR
11813 if test -n "$TAR"; then
11814 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $TAR" >&5
11815 $as_echo "$TAR" >&6; }
11817 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11818 $as_echo "no" >&6; }
11825 # Extract the first word of "gzip", so it can be a program name with args.
11826 set dummy gzip; ac_word=$2
11827 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
11828 $as_echo_n "checking for $ac_word... " >&6; }
11829 if ${ac_cv_path_ZIP+:} false; then :
11830 $as_echo_n "(cached) " >&6
11834 ac_cv_path_ZIP="$ZIP" # Let the user override the test with a path.
11837 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11838 for as_dir in $search_path
11841 test -z "$as_dir" && as_dir=.
11842 for ac_exec_ext in '' $ac_executable_extensions; do
11843 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
11844 ac_cv_path_ZIP="$as_dir/$ac_word$ac_exec_ext"
11845 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
11855 ZIP=$ac_cv_path_ZIP
11856 if test -n "$ZIP"; then
11857 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ZIP" >&5
11858 $as_echo "$ZIP" >&6; }
11860 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11861 $as_echo "no" >&6; }
11868 # Extract the first word of "makedepend", so it can be a program name with args.
11869 set dummy makedepend; ac_word=$2
11870 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
11871 $as_echo_n "checking for $ac_word... " >&6; }
11872 if ${ac_cv_path_MAKEDEPEND+:} false; then :
11873 $as_echo_n "(cached) " >&6
11875 case $MAKEDEPEND in
11877 ac_cv_path_MAKEDEPEND="$MAKEDEPEND" # Let the user override the test with a path.
11880 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11881 for as_dir in $PATH
11884 test -z "$as_dir" && as_dir=.
11885 for ac_exec_ext in '' $ac_executable_extensions; do
11886 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
11887 ac_cv_path_MAKEDEPEND="$as_dir/$ac_word$ac_exec_ext"
11888 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
11895 test -z "$ac_cv_path_MAKEDEPEND" && ac_cv_path_MAKEDEPEND="/bin/true"
11899 MAKEDEPEND=$ac_cv_path_MAKEDEPEND
11900 if test -n "$MAKEDEPEND"; then
11901 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MAKEDEPEND" >&5
11902 $as_echo "$MAKEDEPEND" >&6; }
11904 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11905 $as_echo "no" >&6; }
11909 makedepend=$MAKEDEPEND
11912 # Extract the first word of "awk", so it can be a program name with args.
11913 set dummy awk; ac_word=$2
11914 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
11915 $as_echo_n "checking for $ac_word... " >&6; }
11916 if ${ac_cv_path_AWK+:} false; then :
11917 $as_echo_n "(cached) " >&6
11921 ac_cv_path_AWK="$AWK" # Let the user override the test with a path.
11924 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11925 for as_dir in $search_path
11928 test -z "$as_dir" && as_dir=.
11929 for ac_exec_ext in '' $ac_executable_extensions; do
11930 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
11931 ac_cv_path_AWK="$as_dir/$ac_word$ac_exec_ext"
11932 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
11942 AWK=$ac_cv_path_AWK
11943 if test -n "$AWK"; then
11944 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AWK" >&5
11945 $as_echo "$AWK" >&6; }
11947 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11948 $as_echo "no" >&6; }
11955 # Extract the first word of "sed", so it can be a program name with args.
11956 set dummy sed; ac_word=$2
11957 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
11958 $as_echo_n "checking for $ac_word... " >&6; }
11959 if ${ac_cv_path_SED+:} false; then :
11960 $as_echo_n "(cached) " >&6
11964 ac_cv_path_SED="$SED" # Let the user override the test with a path.
11967 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11968 for as_dir in $search_path
11971 test -z "$as_dir" && as_dir=.
11972 for ac_exec_ext in '' $ac_executable_extensions; do
11973 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
11974 ac_cv_path_SED="$as_dir/$ac_word$ac_exec_ext"
11975 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
11985 SED=$ac_cv_path_SED
11986 if test -n "$SED"; then
11987 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $SED" >&5
11988 $as_echo "$SED" >&6; }
11990 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11991 $as_echo "no" >&6; }
11998 # Extract the first word of "echo", so it can be a program name with args.
11999 set dummy echo; ac_word=$2
12000 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
12001 $as_echo_n "checking for $ac_word... " >&6; }
12002 if ${ac_cv_path_ECHO+:} false; then :
12003 $as_echo_n "(cached) " >&6
12007 ac_cv_path_ECHO="$ECHO" # Let the user override the test with a path.
12010 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12011 for as_dir in $search_path
12014 test -z "$as_dir" && as_dir=.
12015 for ac_exec_ext in '' $ac_executable_extensions; do
12016 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
12017 ac_cv_path_ECHO="$as_dir/$ac_word$ac_exec_ext"
12018 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
12028 ECHO=$ac_cv_path_ECHO
12029 if test -n "$ECHO"; then
12030 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ECHO" >&5
12031 $as_echo "$ECHO" >&6; }
12033 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12034 $as_echo "no" >&6; }
12041 # Extract the first word of "sort", so it can be a program name with args.
12042 set dummy sort; ac_word=$2
12043 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
12044 $as_echo_n "checking for $ac_word... " >&6; }
12045 if ${ac_cv_path_SORT+:} false; then :
12046 $as_echo_n "(cached) " >&6
12050 ac_cv_path_SORT="$SORT" # Let the user override the test with a path.
12053 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12054 for as_dir in $search_path
12057 test -z "$as_dir" && as_dir=.
12058 for ac_exec_ext in '' $ac_executable_extensions; do
12059 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
12060 ac_cv_path_SORT="$as_dir/$ac_word$ac_exec_ext"
12061 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
12071 SORT=$ac_cv_path_SORT
12072 if test -n "$SORT"; then
12073 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $SORT" >&5
12074 $as_echo "$SORT" >&6; }
12076 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12077 $as_echo "no" >&6; }
12084 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ln -s works" >&5
12085 $as_echo_n "checking whether ln -s works... " >&6; }
12087 if test "$LN_S" = "ln -s"; then
12088 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
12089 $as_echo "yes" >&6; }
12091 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no, using $LN_S" >&5
12092 $as_echo "no, using $LN_S" >&6; }
12096 if test "$enable_gettext" = yes; then
12097 # Extract the first word of "msgfmt", so it can be a program name with args.
12098 set dummy msgfmt; ac_word=$2
12099 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
12100 $as_echo_n "checking for $ac_word... " >&6; }
12101 if ${ac_cv_path_MSGFMT+:} false; then :
12102 $as_echo_n "(cached) " >&6
12106 ac_cv_path_MSGFMT="$MSGFMT" # Let the user override the test with a path.
12109 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12110 for as_dir in $search_path
12113 test -z "$as_dir" && as_dir=.
12114 for ac_exec_ext in '' $ac_executable_extensions; do
12115 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
12116 ac_cv_path_MSGFMT="$as_dir/$ac_word$ac_exec_ext"
12117 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
12127 MSGFMT=$ac_cv_path_MSGFMT
12128 if test -n "$MSGFMT"; then
12129 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MSGFMT" >&5
12130 $as_echo "$MSGFMT" >&6; }
12132 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12133 $as_echo "no" >&6; }
12139 if test -z ""$msgfmt""; then
12141 echo FATAL ERROR: msgfmt does not seem to be installed.
12142 echo acl cannot be built without a working gettext installation.
12147 # Extract the first word of "msgmerge", so it can be a program name with args.
12148 set dummy msgmerge; ac_word=$2
12149 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
12150 $as_echo_n "checking for $ac_word... " >&6; }
12151 if ${ac_cv_path_MSGMERGE+:} false; then :
12152 $as_echo_n "(cached) " >&6
12156 ac_cv_path_MSGMERGE="$MSGMERGE" # Let the user override the test with a path.
12159 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12160 for as_dir in $search_path
12163 test -z "$as_dir" && as_dir=.
12164 for ac_exec_ext in '' $ac_executable_extensions; do
12165 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
12166 ac_cv_path_MSGMERGE="$as_dir/$ac_word$ac_exec_ext"
12167 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
12177 MSGMERGE=$ac_cv_path_MSGMERGE
12178 if test -n "$MSGMERGE"; then
12179 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MSGMERGE" >&5
12180 $as_echo "$MSGMERGE" >&6; }
12182 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12183 $as_echo "no" >&6; }
12189 if test -z ""$msgmerge""; then
12191 echo FATAL ERROR: msgmerge does not seem to be installed.
12192 echo acl cannot be built without a working gettext installation.
12197 # Extract the first word of "xgettext", so it can be a program name with args.
12198 set dummy xgettext; ac_word=$2
12199 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
12200 $as_echo_n "checking for $ac_word... " >&6; }
12201 if ${ac_cv_path_XGETTEXT+:} false; then :
12202 $as_echo_n "(cached) " >&6
12206 ac_cv_path_XGETTEXT="$XGETTEXT" # Let the user override the test with a path.
12209 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12210 for as_dir in $search_path
12213 test -z "$as_dir" && as_dir=.
12214 for ac_exec_ext in '' $ac_executable_extensions; do
12215 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
12216 ac_cv_path_XGETTEXT="$as_dir/$ac_word$ac_exec_ext"
12217 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
12227 XGETTEXT=$ac_cv_path_XGETTEXT
12228 if test -n "$XGETTEXT"; then
12229 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $XGETTEXT" >&5
12230 $as_echo "$XGETTEXT" >&6; }
12232 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12233 $as_echo "no" >&6; }
12239 if test -z ""$xgettext""; then
12241 echo FATAL ERROR: xgettext does not seem to be installed.
12242 echo acl cannot be built without a working gettext installation.
12248 $as_echo "#define ENABLE_GETTEXT 1" >>confdefs.h
12252 # Extract the first word of "rpm", so it can be a program name with args.
12253 set dummy rpm; ac_word=$2
12254 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
12255 $as_echo_n "checking for $ac_word... " >&6; }
12256 if ${ac_cv_path_RPM+:} false; then :
12257 $as_echo_n "(cached) " >&6
12261 ac_cv_path_RPM="$RPM" # Let the user override the test with a path.
12264 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12265 for as_dir in $search_path
12268 test -z "$as_dir" && as_dir=.
12269 for ac_exec_ext in '' $ac_executable_extensions; do
12270 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
12271 ac_cv_path_RPM="$as_dir/$ac_word$ac_exec_ext"
12272 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
12282 RPM=$ac_cv_path_RPM
12283 if test -n "$RPM"; then
12284 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $RPM" >&5
12285 $as_echo "$RPM" >&6; }
12287 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12288 $as_echo "no" >&6; }
12296 test -n "$RPM" && test -x "$RPM" && rpm_version=`$RPM --version \
12297 | awk '{print $NF}' | awk -F. '{V=1; print $V}'`
12299 if test $rpm_version -ge 4; then
12300 # Extract the first word of "rpmbuild", so it can be a program name with args.
12301 set dummy rpmbuild; ac_word=$2
12302 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
12303 $as_echo_n "checking for $ac_word... " >&6; }
12304 if ${ac_cv_path_RPMBUILD+:} false; then :
12305 $as_echo_n "(cached) " >&6
12309 ac_cv_path_RPMBUILD="$RPMBUILD" # Let the user override the test with a path.
12312 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12313 for as_dir in $PATH
12316 test -z "$as_dir" && as_dir=.
12317 for ac_exec_ext in '' $ac_executable_extensions; do
12318 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
12319 ac_cv_path_RPMBUILD="$as_dir/$ac_word$ac_exec_ext"
12320 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
12330 RPMBUILD=$ac_cv_path_RPMBUILD
12331 if test -n "$RPMBUILD"; then
12332 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $RPMBUILD" >&5
12333 $as_echo "$RPMBUILD" >&6; }
12335 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12336 $as_echo "no" >&6; }
12346 for ac_header in attr/xattr.h
12348 ac_fn_c_check_header_mongrel "$LINENO" "attr/xattr.h" "ac_cv_header_attr_xattr_h" "$ac_includes_default"
12349 if test "x$ac_cv_header_attr_xattr_h" = xyes; then :
12350 cat >>confdefs.h <<_ACEOF
12351 #define HAVE_ATTR_XATTR_H 1
12358 if test "$ac_cv_header_attr_xattr_h" != "yes"; then
12360 echo 'FATAL ERROR: attr/xattr.h does not exist.'
12361 echo 'Install the extended attributes (attr) development package.'
12362 echo 'Alternatively, run "make install-dev" from the attr source.'
12366 for ac_header in attr/error_context.h
12368 ac_fn_c_check_header_mongrel "$LINENO" "attr/error_context.h" "ac_cv_header_attr_error_context_h" "$ac_includes_default"
12369 if test "x$ac_cv_header_attr_error_context_h" = xyes; then :
12370 cat >>confdefs.h <<_ACEOF
12371 #define HAVE_ATTR_ERROR_CONTEXT_H 1
12378 if test "$ac_cv_header_attr_error_context_h" != "yes"; then
12380 echo 'FATAL ERROR: attr/error_context.h does not exist.'
12381 echo 'Install the extended attributes (attr) development package.'
12382 echo 'Alternatively, run "make install-dev" from the attr source.'
12387 enable_lib64="$enable_lib64"
12389 searchpath=`(LC_ALL=C $CC -print-search-dirs) 2>/dev/null | sed -n -e 's,^libraries: ,,p' | sed -e 's,^=,,'`
12390 if test "$enable_lib64" = "yes" -a -n "$searchpath"; then
12391 save_IFS="${IFS= }"; IFS=":"
12392 for searchdir in $searchpath; do
12393 if test -d "$searchdir"; then
12394 case "$searchdir" in
12395 */lib64/ | */lib64 ) libdirsuffix=64 ;;
12396 *) searchdir=`cd "$searchdir" && pwd`
12397 case "$searchdir" in
12398 */lib64 ) libdirsuffix=64 ;;
12407 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for getxattr in -lattr" >&5
12408 $as_echo_n "checking for getxattr in -lattr... " >&6; }
12409 if ${ac_cv_lib_attr_getxattr+:} false; then :
12410 $as_echo_n "(cached) " >&6
12412 ac_check_lib_save_LIBS=$LIBS
12413 LIBS="-lattr $LIBS"
12414 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12415 /* end confdefs.h. */
12417 /* Override any GCC internal prototype to avoid an error.
12418 Use char because int might match the return type of a GCC
12419 builtin and then its argument prototype would still apply. */
12427 return getxattr ();
12432 if ac_fn_c_try_link "$LINENO"; then :
12433 ac_cv_lib_attr_getxattr=yes
12435 ac_cv_lib_attr_getxattr=no
12437 rm -f core conftest.err conftest.$ac_objext \
12438 conftest$ac_exeext conftest.$ac_ext
12439 LIBS=$ac_check_lib_save_LIBS
12441 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_attr_getxattr" >&5
12442 $as_echo "$ac_cv_lib_attr_getxattr" >&6; }
12443 if test "x$ac_cv_lib_attr_getxattr" = xyes; then :
12444 cat >>confdefs.h <<_ACEOF
12445 #define HAVE_LIBATTR 1
12448 LIBS="-lattr $LIBS"
12453 echo 'FATAL ERROR: could not find a valid Extended Attributes library.'
12454 echo 'Install the extended attributes (attr) development package.'
12455 echo 'Alternatively, run "make install-lib" from the attr source.'
12461 test -f `pwd`/../attr/libattr/libattr.la && \
12462 libattr="`pwd`/../attr/libattr/libattr.la"
12465 have_zipped_manpages=false
12466 for d in ${prefix}/share/man ${prefix}/man ; do
12467 if test -f $d/man1/man.1.gz
12469 have_zipped_manpages=true
12476 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether __attribute__((visibility())) is supported" >&5
12477 $as_echo_n "checking whether __attribute__((visibility())) is supported... " >&6; }
12478 if ${libc_cv_visibility_attribute+:} false; then :
12479 $as_echo_n "(cached) " >&6
12481 cat > conftest.c <<EOF
12482 int foo __attribute__ ((visibility ("hidden"))) = 1;
12483 int bar __attribute__ ((visibility ("protected"))) = 1;
12485 libc_cv_visibility_attribute=no
12486 if ${CC-cc} -Werror -S conftest.c -o conftest.s \
12487 >/dev/null 2>&1; then
12488 if grep '\.hidden.*foo' conftest.s >/dev/null; then
12489 if grep '\.protected.*bar' conftest.s >/dev/null; then
12490 libc_cv_visibility_attribute=yes
12497 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $libc_cv_visibility_attribute" >&5
12498 $as_echo "$libc_cv_visibility_attribute" >&6; }
12499 if test $libc_cv_visibility_attribute = yes; then
12501 $as_echo "#define HAVE_VISIBILITY_ATTRIBUTE /**/" >>confdefs.h
12506 ac_config_files="$ac_config_files include/builddefs"
12508 cat >confcache <<\_ACEOF
12509 # This file is a shell script that caches the results of configure
12510 # tests run on this system so they can be shared between configure
12511 # scripts and configure runs, see configure's option --config-cache.
12512 # It is not useful on other systems. If it contains results you don't
12513 # want to keep, you may remove or edit it.
12515 # config.status only pays attention to the cache file if you give it
12516 # the --recheck option to rerun configure.
12518 # `ac_cv_env_foo' variables (set or unset) will be overridden when
12519 # loading this file, other *unset* `ac_cv_foo' will be assigned the
12520 # following values.
12524 # The following way of writing the cache mishandles newlines in values,
12525 # but we know of no workaround that is simple, portable, and efficient.
12526 # So, we kill variables containing newlines.
12527 # Ultrix sh set writes to stderr and can't be redirected directly,
12528 # and sets the high bit in the cache file unless we assign to the vars.
12530 for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
12531 eval ac_val=\$$ac_var
12535 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
12536 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
12539 _ | IFS | as_nl) ;; #(
12540 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
12541 *) { eval $ac_var=; unset $ac_var;} ;;
12547 case $as_nl`(ac_space=' '; set) 2>&1` in #(
12548 *${as_nl}ac_space=\ *)
12549 # `set' does not quote correctly, so add quotes: double-quote
12550 # substitution turns \\\\ into \\, and sed turns \\ into \.
12553 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
12556 # `set' quotes correctly as required by POSIX, so do not add quotes.
12557 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
12566 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
12568 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
12570 if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
12571 if test -w "$cache_file"; then
12572 if test "x$cache_file" != "x/dev/null"; then
12573 { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
12574 $as_echo "$as_me: updating cache $cache_file" >&6;}
12575 if test ! -f "$cache_file" || test -h "$cache_file"; then
12576 cat confcache >"$cache_file"
12578 case $cache_file in #(
12580 mv -f confcache "$cache_file"$$ &&
12581 mv -f "$cache_file"$$ "$cache_file" ;; #(
12583 mv -f confcache "$cache_file" ;;
12588 { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
12589 $as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
12594 test "x$prefix" = xNONE && prefix=$ac_default_prefix
12595 # Let make expand exec_prefix.
12596 test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
12598 DEFS=-DHAVE_CONFIG_H
12603 for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
12604 # 1. Remove the extension, and $U if already installed.
12605 ac_script='s/\$U\././;s/\.o$//;s/\.obj$//'
12606 ac_i=`$as_echo "$ac_i" | sed "$ac_script"`
12607 # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR
12608 # will be set to the directory where LIBOBJS objects are built.
12609 as_fn_append ac_libobjs " \${LIBOBJDIR}$ac_i\$U.$ac_objext"
12610 as_fn_append ac_ltlibobjs " \${LIBOBJDIR}$ac_i"'$U.lo'
12612 LIBOBJS=$ac_libobjs
12614 LTLIBOBJS=$ac_ltlibobjs
12618 : "${CONFIG_STATUS=./config.status}"
12620 ac_clean_files_save=$ac_clean_files
12621 ac_clean_files="$ac_clean_files $CONFIG_STATUS"
12622 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5
12623 $as_echo "$as_me: creating $CONFIG_STATUS" >&6;}
12625 cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1
12627 # Generated by $as_me.
12628 # Run this file to recreate the current configuration.
12629 # Compiler output produced by configure, useful for debugging
12630 # configure, is in config.log if it exists.
12633 ac_cs_recheck=false
12636 SHELL=\${CONFIG_SHELL-$SHELL}
12639 cat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail=1
12640 ## -------------------- ##
12641 ## M4sh Initialization. ##
12642 ## -------------------- ##
12644 # Be more Bourne compatible
12645 DUALCASE=1; export DUALCASE # for MKS sh
12646 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :
12649 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
12650 # is contrary to our usage. Disable this feature.
12651 alias -g '${1+"$@"}'='"$@"'
12652 setopt NO_GLOB_SUBST
12654 case `(set -o) 2>/dev/null` in #(
12666 # Printing a long string crashes Solaris 7 /usr/bin/printf.
12667 as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
12668 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
12669 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
12670 # Prefer a ksh shell builtin over an external printf program on Solaris,
12671 # but without wasting forks for bash or zsh.
12672 if test -z "$BASH_VERSION$ZSH_VERSION" \
12673 && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
12674 as_echo='print -r --'
12675 as_echo_n='print -rn --'
12676 elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
12677 as_echo='printf %s\n'
12678 as_echo_n='printf %s'
12680 if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
12681 as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
12682 as_echo_n='/usr/ucb/echo -n'
12684 as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
12685 as_echo_n_body='eval
12689 expr "X$arg" : "X\\(.*\\)$as_nl";
12690 arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
12692 expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
12694 export as_echo_n_body
12695 as_echo_n='sh -c $as_echo_n_body as_echo'
12697 export as_echo_body
12698 as_echo='sh -c $as_echo_body as_echo'
12701 # The user is always right.
12702 if test "${PATH_SEPARATOR+set}" != set; then
12704 (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
12705 (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
12712 # We need space, tab and new line, in precisely that order. Quoting is
12713 # there to prevent editors from complaining about space-tab.
12714 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
12715 # splitting by setting IFS to empty value.)
12718 # Find who we are. Look in the path if we contain no directory separator.
12721 *[\\/]* ) as_myself=$0 ;;
12722 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12723 for as_dir in $PATH
12726 test -z "$as_dir" && as_dir=.
12727 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
12733 # We did not find ourselves, most probably we were run as `sh COMMAND'
12734 # in which case we are not to be found in the path.
12735 if test "x$as_myself" = x; then
12738 if test ! -f "$as_myself"; then
12739 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
12743 # Unset variables that we do not need and which cause bugs (e.g. in
12744 # pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1"
12745 # suppresses any "Segmentation fault" message there. '((' could
12746 # trigger a bug in pdksh 5.2.14.
12747 for as_var in BASH_ENV ENV MAIL MAILPATH
12748 do eval test x\${$as_var+set} = xset \
12749 && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
12762 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
12765 # as_fn_error STATUS ERROR [LINENO LOG_FD]
12766 # ----------------------------------------
12767 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
12768 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
12769 # script with STATUS, using 1 if that was 0.
12772 as_status=$1; test $as_status -eq 0 && as_status=1
12774 as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
12775 $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
12777 $as_echo "$as_me: error: $2" >&2
12778 as_fn_exit $as_status
12782 # as_fn_set_status STATUS
12783 # -----------------------
12784 # Set $? to STATUS, without forking.
12785 as_fn_set_status ()
12788 } # as_fn_set_status
12790 # as_fn_exit STATUS
12791 # -----------------
12792 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
12796 as_fn_set_status $1
12802 # Portably unset VAR.
12805 { eval $1=; unset $1;}
12807 as_unset=as_fn_unset
12808 # as_fn_append VAR VALUE
12809 # ----------------------
12810 # Append the text in VALUE to the end of the definition contained in VAR. Take
12811 # advantage of any shell optimizations that allow amortized linear growth over
12812 # repeated appends, instead of the typical quadratic growth present in naive
12814 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
12815 eval 'as_fn_append ()
12826 # as_fn_arith ARG...
12827 # ------------------
12828 # Perform arithmetic evaluation on the ARGs, and store the result in the
12829 # global $as_val. Take advantage of shells that can avoid forks. The arguments
12830 # must be portable across $(()) and expr.
12831 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
12832 eval 'as_fn_arith ()
12839 as_val=`expr "$@" || test $? -eq 1`
12844 if expr a : '\(a\)' >/dev/null 2>&1 &&
12845 test "X`expr 00001 : '.*\(...\)'`" = X001; then
12851 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
12852 as_basename=basename
12857 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
12863 as_me=`$as_basename -- "$0" ||
12864 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
12865 X"$0" : 'X\(//\)$' \| \
12866 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
12868 sed '/^.*\/\([^/][^/]*\)\/*$/{
12882 # Avoid depending upon Character Ranges.
12883 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
12884 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
12885 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
12886 as_cr_digits='0123456789'
12887 as_cr_alnum=$as_cr_Letters$as_cr_digits
12889 ECHO_C= ECHO_N= ECHO_T=
12890 case `echo -n x` in #(((((
12892 case `echo 'xy\c'` in
12893 *c*) ECHO_T=' ';; # ECHO_T is single tab character.
12895 *) echo `echo ksh88 bug on AIX 6.1` > /dev/null
12902 rm -f conf$$ conf$$.exe conf$$.file
12903 if test -d conf$$.dir; then
12904 rm -f conf$$.dir/conf$$.file
12907 mkdir conf$$.dir 2>/dev/null
12909 if (echo >conf$$.file) 2>/dev/null; then
12910 if ln -s conf$$.file conf$$ 2>/dev/null; then
12912 # ... but there are two gotchas:
12913 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
12914 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
12915 # In both cases, we have to default to `cp -p'.
12916 ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
12918 elif ln conf$$.file conf$$ 2>/dev/null; then
12926 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
12927 rmdir conf$$.dir 2>/dev/null
12932 # Create "$as_dir" as a directory, including parents if necessary.
12937 -*) as_dir=./$as_dir;;
12939 test -d "$as_dir" || eval $as_mkdir_p || {
12943 *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
12944 *) as_qdir=$as_dir;;
12946 as_dirs="'$as_qdir' $as_dirs"
12947 as_dir=`$as_dirname -- "$as_dir" ||
12948 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
12949 X"$as_dir" : 'X\(//\)[^/]' \| \
12950 X"$as_dir" : 'X\(//\)$' \| \
12951 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
12952 $as_echo X"$as_dir" |
12953 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
12957 /^X\(\/\/\)[^/].*/{
12970 test -d "$as_dir" && break
12972 test -z "$as_dirs" || eval "mkdir $as_dirs"
12973 } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir"
12977 if mkdir -p . 2>/dev/null; then
12978 as_mkdir_p='mkdir -p "$as_dir"'
12980 test -d ./-p && rmdir ./-p
12984 if test -x / >/dev/null 2>&1; then
12985 as_test_x='test -x'
12987 if ls -dL / >/dev/null 2>&1; then
12994 if test -d "$1"; then
13000 case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in #((
13001 ???[sx]*):;;*)false;;esac;fi
13005 as_executable_p=$as_test_x
13007 # Sed expression to map a string onto a valid CPP name.
13008 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
13010 # Sed expression to map a string onto a valid variable name.
13011 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
13015 ## ----------------------------------- ##
13016 ## Main body of $CONFIG_STATUS script. ##
13017 ## ----------------------------------- ##
13019 test $as_write_fail = 0 && chmod +x $CONFIG_STATUS || ac_write_fail=1
13021 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
13022 # Save the log message, to keep $0 and so on meaningful, and to
13023 # report actual input values of CONFIG_FILES etc. instead of their
13024 # values after options handling.
13026 This file was extended by $as_me, which was
13027 generated by GNU Autoconf 2.68. Invocation command line was
13029 CONFIG_FILES = $CONFIG_FILES
13030 CONFIG_HEADERS = $CONFIG_HEADERS
13031 CONFIG_LINKS = $CONFIG_LINKS
13032 CONFIG_COMMANDS = $CONFIG_COMMANDS
13035 on `(hostname || uname -n) 2>/dev/null | sed 1q`
13040 case $ac_config_files in *"
13041 "*) set x $ac_config_files; shift; ac_config_files=$*;;
13044 case $ac_config_headers in *"
13045 "*) set x $ac_config_headers; shift; ac_config_headers=$*;;
13049 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
13050 # Files that config.status was made for.
13051 config_files="$ac_config_files"
13052 config_headers="$ac_config_headers"
13053 config_commands="$ac_config_commands"
13057 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
13059 \`$as_me' instantiates files and other configuration actions
13060 from templates according to the current configuration. Unless the files
13061 and actions are specified as TAGs, all are instantiated by default.
13063 Usage: $0 [OPTION]... [TAG]...
13065 -h, --help print this help, then exit
13066 -V, --version print version number and configuration settings, then exit
13067 --config print configuration, then exit
13068 -q, --quiet, --silent
13069 do not print progress messages
13070 -d, --debug don't remove temporary files
13071 --recheck update $as_me by reconfiguring in the same conditions
13072 --file=FILE[:TEMPLATE]
13073 instantiate the configuration file FILE
13074 --header=FILE[:TEMPLATE]
13075 instantiate the configuration header FILE
13077 Configuration files:
13080 Configuration headers:
13083 Configuration commands:
13086 Report bugs to the package provider."
13089 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
13090 ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`"
13093 configured by $0, generated by GNU Autoconf 2.68,
13094 with options \\"\$ac_cs_config\\"
13096 Copyright (C) 2010 Free Software Foundation, Inc.
13097 This config.status script is free software; the Free Software Foundation
13098 gives unlimited permission to copy, distribute and modify it."
13103 test -n "\$AWK" || AWK=awk
13106 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
13107 # The default lists apply if the user does not specify any file.
13113 ac_option=`expr "X$1" : 'X\([^=]*\)='`
13114 ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'`
13118 ac_option=`expr "X$1" : 'X\([^=]*\)='`
13130 # Handling of the options.
13131 -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
13133 --version | --versio | --versi | --vers | --ver | --ve | --v | -V )
13134 $as_echo "$ac_cs_version"; exit ;;
13135 --config | --confi | --conf | --con | --co | --c )
13136 $as_echo "$ac_cs_config"; exit ;;
13137 --debug | --debu | --deb | --de | --d | -d )
13139 --file | --fil | --fi | --f )
13142 *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
13143 '') as_fn_error $? "missing file argument" ;;
13145 as_fn_append CONFIG_FILES " '$ac_optarg'"
13146 ac_need_defaults=false;;
13147 --header | --heade | --head | --hea )
13150 *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
13152 as_fn_append CONFIG_HEADERS " '$ac_optarg'"
13153 ac_need_defaults=false;;
13155 # Conflict between --help and --header
13156 as_fn_error $? "ambiguous option: \`$1'
13157 Try \`$0 --help' for more information.";;
13158 --help | --hel | -h )
13159 $as_echo "$ac_cs_usage"; exit ;;
13160 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
13161 | -silent | --silent | --silen | --sile | --sil | --si | --s)
13164 # This is an error.
13165 -*) as_fn_error $? "unrecognized option: \`$1'
13166 Try \`$0 --help' for more information." ;;
13168 *) as_fn_append ac_config_targets " $1"
13169 ac_need_defaults=false ;;
13175 ac_configure_extra_args=
13177 if $ac_cs_silent; then
13179 ac_configure_extra_args="$ac_configure_extra_args --silent"
13183 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
13184 if \$ac_cs_recheck; then
13185 set X '$SHELL' '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
13187 \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6
13188 CONFIG_SHELL='$SHELL'
13189 export CONFIG_SHELL
13194 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
13198 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
13199 ## Running $as_me. ##
13205 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
13211 # The HP-UX ksh and POSIX shell print the target directory to stdout
13212 # if CDPATH is set.
13213 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
13215 sed_quote_subst='$sed_quote_subst'
13216 double_quote_subst='$double_quote_subst'
13217 delay_variable_subst='$delay_variable_subst'
13218 macro_version='`$ECHO "$macro_version" | $SED "$delay_single_quote_subst"`'
13219 macro_revision='`$ECHO "$macro_revision" | $SED "$delay_single_quote_subst"`'
13220 enable_shared='`$ECHO "$enable_shared" | $SED "$delay_single_quote_subst"`'
13221 enable_static='`$ECHO "$enable_static" | $SED "$delay_single_quote_subst"`'
13222 pic_mode='`$ECHO "$pic_mode" | $SED "$delay_single_quote_subst"`'
13223 enable_fast_install='`$ECHO "$enable_fast_install" | $SED "$delay_single_quote_subst"`'
13224 SHELL='`$ECHO "$SHELL" | $SED "$delay_single_quote_subst"`'
13225 ECHO='`$ECHO "$ECHO" | $SED "$delay_single_quote_subst"`'
13226 host_alias='`$ECHO "$host_alias" | $SED "$delay_single_quote_subst"`'
13227 host='`$ECHO "$host" | $SED "$delay_single_quote_subst"`'
13228 host_os='`$ECHO "$host_os" | $SED "$delay_single_quote_subst"`'
13229 build_alias='`$ECHO "$build_alias" | $SED "$delay_single_quote_subst"`'
13230 build='`$ECHO "$build" | $SED "$delay_single_quote_subst"`'
13231 build_os='`$ECHO "$build_os" | $SED "$delay_single_quote_subst"`'
13232 SED='`$ECHO "$SED" | $SED "$delay_single_quote_subst"`'
13233 Xsed='`$ECHO "$Xsed" | $SED "$delay_single_quote_subst"`'
13234 GREP='`$ECHO "$GREP" | $SED "$delay_single_quote_subst"`'
13235 EGREP='`$ECHO "$EGREP" | $SED "$delay_single_quote_subst"`'
13236 FGREP='`$ECHO "$FGREP" | $SED "$delay_single_quote_subst"`'
13237 LD='`$ECHO "$LD" | $SED "$delay_single_quote_subst"`'
13238 NM='`$ECHO "$NM" | $SED "$delay_single_quote_subst"`'
13239 LN_S='`$ECHO "$LN_S" | $SED "$delay_single_quote_subst"`'
13240 max_cmd_len='`$ECHO "$max_cmd_len" | $SED "$delay_single_quote_subst"`'
13241 ac_objext='`$ECHO "$ac_objext" | $SED "$delay_single_quote_subst"`'
13242 exeext='`$ECHO "$exeext" | $SED "$delay_single_quote_subst"`'
13243 lt_unset='`$ECHO "$lt_unset" | $SED "$delay_single_quote_subst"`'
13244 lt_SP2NL='`$ECHO "$lt_SP2NL" | $SED "$delay_single_quote_subst"`'
13245 lt_NL2SP='`$ECHO "$lt_NL2SP" | $SED "$delay_single_quote_subst"`'
13246 lt_cv_to_host_file_cmd='`$ECHO "$lt_cv_to_host_file_cmd" | $SED "$delay_single_quote_subst"`'
13247 lt_cv_to_tool_file_cmd='`$ECHO "$lt_cv_to_tool_file_cmd" | $SED "$delay_single_quote_subst"`'
13248 reload_flag='`$ECHO "$reload_flag" | $SED "$delay_single_quote_subst"`'
13249 reload_cmds='`$ECHO "$reload_cmds" | $SED "$delay_single_quote_subst"`'
13250 OBJDUMP='`$ECHO "$OBJDUMP" | $SED "$delay_single_quote_subst"`'
13251 deplibs_check_method='`$ECHO "$deplibs_check_method" | $SED "$delay_single_quote_subst"`'
13252 file_magic_cmd='`$ECHO "$file_magic_cmd" | $SED "$delay_single_quote_subst"`'
13253 file_magic_glob='`$ECHO "$file_magic_glob" | $SED "$delay_single_quote_subst"`'
13254 want_nocaseglob='`$ECHO "$want_nocaseglob" | $SED "$delay_single_quote_subst"`'
13255 DLLTOOL='`$ECHO "$DLLTOOL" | $SED "$delay_single_quote_subst"`'
13256 sharedlib_from_linklib_cmd='`$ECHO "$sharedlib_from_linklib_cmd" | $SED "$delay_single_quote_subst"`'
13257 AR='`$ECHO "$AR" | $SED "$delay_single_quote_subst"`'
13258 AR_FLAGS='`$ECHO "$AR_FLAGS" | $SED "$delay_single_quote_subst"`'
13259 archiver_list_spec='`$ECHO "$archiver_list_spec" | $SED "$delay_single_quote_subst"`'
13260 STRIP='`$ECHO "$STRIP" | $SED "$delay_single_quote_subst"`'
13261 RANLIB='`$ECHO "$RANLIB" | $SED "$delay_single_quote_subst"`'
13262 old_postinstall_cmds='`$ECHO "$old_postinstall_cmds" | $SED "$delay_single_quote_subst"`'
13263 old_postuninstall_cmds='`$ECHO "$old_postuninstall_cmds" | $SED "$delay_single_quote_subst"`'
13264 old_archive_cmds='`$ECHO "$old_archive_cmds" | $SED "$delay_single_quote_subst"`'
13265 lock_old_archive_extraction='`$ECHO "$lock_old_archive_extraction" | $SED "$delay_single_quote_subst"`'
13266 CC='`$ECHO "$CC" | $SED "$delay_single_quote_subst"`'
13267 CFLAGS='`$ECHO "$CFLAGS" | $SED "$delay_single_quote_subst"`'
13268 compiler='`$ECHO "$compiler" | $SED "$delay_single_quote_subst"`'
13269 GCC='`$ECHO "$GCC" | $SED "$delay_single_quote_subst"`'
13270 lt_cv_sys_global_symbol_pipe='`$ECHO "$lt_cv_sys_global_symbol_pipe" | $SED "$delay_single_quote_subst"`'
13271 lt_cv_sys_global_symbol_to_cdecl='`$ECHO "$lt_cv_sys_global_symbol_to_cdecl" | $SED "$delay_single_quote_subst"`'
13272 lt_cv_sys_global_symbol_to_c_name_address='`$ECHO "$lt_cv_sys_global_symbol_to_c_name_address" | $SED "$delay_single_quote_subst"`'
13273 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"`'
13274 nm_file_list_spec='`$ECHO "$nm_file_list_spec" | $SED "$delay_single_quote_subst"`'
13275 lt_sysroot='`$ECHO "$lt_sysroot" | $SED "$delay_single_quote_subst"`'
13276 objdir='`$ECHO "$objdir" | $SED "$delay_single_quote_subst"`'
13277 MAGIC_CMD='`$ECHO "$MAGIC_CMD" | $SED "$delay_single_quote_subst"`'
13278 lt_prog_compiler_no_builtin_flag='`$ECHO "$lt_prog_compiler_no_builtin_flag" | $SED "$delay_single_quote_subst"`'
13279 lt_prog_compiler_pic='`$ECHO "$lt_prog_compiler_pic" | $SED "$delay_single_quote_subst"`'
13280 lt_prog_compiler_wl='`$ECHO "$lt_prog_compiler_wl" | $SED "$delay_single_quote_subst"`'
13281 lt_prog_compiler_static='`$ECHO "$lt_prog_compiler_static" | $SED "$delay_single_quote_subst"`'
13282 lt_cv_prog_compiler_c_o='`$ECHO "$lt_cv_prog_compiler_c_o" | $SED "$delay_single_quote_subst"`'
13283 need_locks='`$ECHO "$need_locks" | $SED "$delay_single_quote_subst"`'
13284 MANIFEST_TOOL='`$ECHO "$MANIFEST_TOOL" | $SED "$delay_single_quote_subst"`'
13285 DSYMUTIL='`$ECHO "$DSYMUTIL" | $SED "$delay_single_quote_subst"`'
13286 NMEDIT='`$ECHO "$NMEDIT" | $SED "$delay_single_quote_subst"`'
13287 LIPO='`$ECHO "$LIPO" | $SED "$delay_single_quote_subst"`'
13288 OTOOL='`$ECHO "$OTOOL" | $SED "$delay_single_quote_subst"`'
13289 OTOOL64='`$ECHO "$OTOOL64" | $SED "$delay_single_quote_subst"`'
13290 libext='`$ECHO "$libext" | $SED "$delay_single_quote_subst"`'
13291 shrext_cmds='`$ECHO "$shrext_cmds" | $SED "$delay_single_quote_subst"`'
13292 extract_expsyms_cmds='`$ECHO "$extract_expsyms_cmds" | $SED "$delay_single_quote_subst"`'
13293 archive_cmds_need_lc='`$ECHO "$archive_cmds_need_lc" | $SED "$delay_single_quote_subst"`'
13294 enable_shared_with_static_runtimes='`$ECHO "$enable_shared_with_static_runtimes" | $SED "$delay_single_quote_subst"`'
13295 export_dynamic_flag_spec='`$ECHO "$export_dynamic_flag_spec" | $SED "$delay_single_quote_subst"`'
13296 whole_archive_flag_spec='`$ECHO "$whole_archive_flag_spec" | $SED "$delay_single_quote_subst"`'
13297 compiler_needs_object='`$ECHO "$compiler_needs_object" | $SED "$delay_single_quote_subst"`'
13298 old_archive_from_new_cmds='`$ECHO "$old_archive_from_new_cmds" | $SED "$delay_single_quote_subst"`'
13299 old_archive_from_expsyms_cmds='`$ECHO "$old_archive_from_expsyms_cmds" | $SED "$delay_single_quote_subst"`'
13300 archive_cmds='`$ECHO "$archive_cmds" | $SED "$delay_single_quote_subst"`'
13301 archive_expsym_cmds='`$ECHO "$archive_expsym_cmds" | $SED "$delay_single_quote_subst"`'
13302 module_cmds='`$ECHO "$module_cmds" | $SED "$delay_single_quote_subst"`'
13303 module_expsym_cmds='`$ECHO "$module_expsym_cmds" | $SED "$delay_single_quote_subst"`'
13304 with_gnu_ld='`$ECHO "$with_gnu_ld" | $SED "$delay_single_quote_subst"`'
13305 allow_undefined_flag='`$ECHO "$allow_undefined_flag" | $SED "$delay_single_quote_subst"`'
13306 no_undefined_flag='`$ECHO "$no_undefined_flag" | $SED "$delay_single_quote_subst"`'
13307 hardcode_libdir_flag_spec='`$ECHO "$hardcode_libdir_flag_spec" | $SED "$delay_single_quote_subst"`'
13308 hardcode_libdir_flag_spec_ld='`$ECHO "$hardcode_libdir_flag_spec_ld" | $SED "$delay_single_quote_subst"`'
13309 hardcode_libdir_separator='`$ECHO "$hardcode_libdir_separator" | $SED "$delay_single_quote_subst"`'
13310 hardcode_direct='`$ECHO "$hardcode_direct" | $SED "$delay_single_quote_subst"`'
13311 hardcode_direct_absolute='`$ECHO "$hardcode_direct_absolute" | $SED "$delay_single_quote_subst"`'
13312 hardcode_minus_L='`$ECHO "$hardcode_minus_L" | $SED "$delay_single_quote_subst"`'
13313 hardcode_shlibpath_var='`$ECHO "$hardcode_shlibpath_var" | $SED "$delay_single_quote_subst"`'
13314 hardcode_automatic='`$ECHO "$hardcode_automatic" | $SED "$delay_single_quote_subst"`'
13315 inherit_rpath='`$ECHO "$inherit_rpath" | $SED "$delay_single_quote_subst"`'
13316 link_all_deplibs='`$ECHO "$link_all_deplibs" | $SED "$delay_single_quote_subst"`'
13317 always_export_symbols='`$ECHO "$always_export_symbols" | $SED "$delay_single_quote_subst"`'
13318 export_symbols_cmds='`$ECHO "$export_symbols_cmds" | $SED "$delay_single_quote_subst"`'
13319 exclude_expsyms='`$ECHO "$exclude_expsyms" | $SED "$delay_single_quote_subst"`'
13320 include_expsyms='`$ECHO "$include_expsyms" | $SED "$delay_single_quote_subst"`'
13321 prelink_cmds='`$ECHO "$prelink_cmds" | $SED "$delay_single_quote_subst"`'
13322 postlink_cmds='`$ECHO "$postlink_cmds" | $SED "$delay_single_quote_subst"`'
13323 file_list_spec='`$ECHO "$file_list_spec" | $SED "$delay_single_quote_subst"`'
13324 variables_saved_for_relink='`$ECHO "$variables_saved_for_relink" | $SED "$delay_single_quote_subst"`'
13325 need_lib_prefix='`$ECHO "$need_lib_prefix" | $SED "$delay_single_quote_subst"`'
13326 need_version='`$ECHO "$need_version" | $SED "$delay_single_quote_subst"`'
13327 version_type='`$ECHO "$version_type" | $SED "$delay_single_quote_subst"`'
13328 runpath_var='`$ECHO "$runpath_var" | $SED "$delay_single_quote_subst"`'
13329 shlibpath_var='`$ECHO "$shlibpath_var" | $SED "$delay_single_quote_subst"`'
13330 shlibpath_overrides_runpath='`$ECHO "$shlibpath_overrides_runpath" | $SED "$delay_single_quote_subst"`'
13331 libname_spec='`$ECHO "$libname_spec" | $SED "$delay_single_quote_subst"`'
13332 library_names_spec='`$ECHO "$library_names_spec" | $SED "$delay_single_quote_subst"`'
13333 soname_spec='`$ECHO "$soname_spec" | $SED "$delay_single_quote_subst"`'
13334 install_override_mode='`$ECHO "$install_override_mode" | $SED "$delay_single_quote_subst"`'
13335 postinstall_cmds='`$ECHO "$postinstall_cmds" | $SED "$delay_single_quote_subst"`'
13336 postuninstall_cmds='`$ECHO "$postuninstall_cmds" | $SED "$delay_single_quote_subst"`'
13337 finish_cmds='`$ECHO "$finish_cmds" | $SED "$delay_single_quote_subst"`'
13338 finish_eval='`$ECHO "$finish_eval" | $SED "$delay_single_quote_subst"`'
13339 hardcode_into_libs='`$ECHO "$hardcode_into_libs" | $SED "$delay_single_quote_subst"`'
13340 sys_lib_search_path_spec='`$ECHO "$sys_lib_search_path_spec" | $SED "$delay_single_quote_subst"`'
13341 sys_lib_dlsearch_path_spec='`$ECHO "$sys_lib_dlsearch_path_spec" | $SED "$delay_single_quote_subst"`'
13342 hardcode_action='`$ECHO "$hardcode_action" | $SED "$delay_single_quote_subst"`'
13343 enable_dlopen='`$ECHO "$enable_dlopen" | $SED "$delay_single_quote_subst"`'
13344 enable_dlopen_self='`$ECHO "$enable_dlopen_self" | $SED "$delay_single_quote_subst"`'
13345 enable_dlopen_self_static='`$ECHO "$enable_dlopen_self_static" | $SED "$delay_single_quote_subst"`'
13346 old_striplib='`$ECHO "$old_striplib" | $SED "$delay_single_quote_subst"`'
13347 striplib='`$ECHO "$striplib" | $SED "$delay_single_quote_subst"`'
13350 LTCFLAGS='$LTCFLAGS'
13351 compiler='$compiler_DEFAULT'
13353 # A function that is used when there is no print builtin or printf.
13354 func_fallback_echo ()
13356 eval 'cat <<_LTECHO_EOF
13361 # Quote evaled strings.
13375 deplibs_check_method \
13380 sharedlib_from_linklib_cmd \
13383 archiver_list_spec \
13389 lt_cv_sys_global_symbol_pipe \
13390 lt_cv_sys_global_symbol_to_cdecl \
13391 lt_cv_sys_global_symbol_to_c_name_address \
13392 lt_cv_sys_global_symbol_to_c_name_address_lib_prefix \
13393 nm_file_list_spec \
13394 lt_prog_compiler_no_builtin_flag \
13395 lt_prog_compiler_pic \
13396 lt_prog_compiler_wl \
13397 lt_prog_compiler_static \
13398 lt_cv_prog_compiler_c_o \
13407 export_dynamic_flag_spec \
13408 whole_archive_flag_spec \
13409 compiler_needs_object \
13411 allow_undefined_flag \
13412 no_undefined_flag \
13413 hardcode_libdir_flag_spec \
13414 hardcode_libdir_flag_spec_ld \
13415 hardcode_libdir_separator \
13419 variables_saved_for_relink \
13421 library_names_spec \
13423 install_override_mode \
13427 case \`eval \\\\\$ECHO \\\\""\\\\\$\$var"\\\\"\` in
13428 *[\\\\\\\`\\"\\\$]*)
13429 eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"\\\$\$var\\" | \\\$SED \\"\\\$sed_quote_subst\\"\\\`\\\\\\""
13432 eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
13437 # Double-quote double-evaled strings.
13438 for var in reload_cmds \
13439 old_postinstall_cmds \
13440 old_postuninstall_cmds \
13442 extract_expsyms_cmds \
13443 old_archive_from_new_cmds \
13444 old_archive_from_expsyms_cmds \
13446 archive_expsym_cmds \
13448 module_expsym_cmds \
13449 export_symbols_cmds \
13453 postuninstall_cmds \
13455 sys_lib_search_path_spec \
13456 sys_lib_dlsearch_path_spec; do
13457 case \`eval \\\\\$ECHO \\\\""\\\\\$\$var"\\\\"\` in
13458 *[\\\\\\\`\\"\\\$]*)
13459 eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"\\\$\$var\\" | \\\$SED -e \\"\\\$double_quote_subst\\" -e \\"\\\$sed_quote_subst\\" -e \\"\\\$delay_variable_subst\\"\\\`\\\\\\""
13462 eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
13467 ac_aux_dir='$ac_aux_dir'
13468 xsi_shell='$xsi_shell'
13469 lt_shell_append='$lt_shell_append'
13471 # See if we are running on zsh, and set the options which allow our
13472 # commands through without removal of \ escapes INIT.
13473 if test -n "\${ZSH_VERSION+set}" ; then
13474 setopt NO_GLOB_SUBST
13480 TIMESTAMP='$TIMESTAMP'
13489 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
13491 # Handling of arguments.
13492 for ac_config_target in $ac_config_targets
13494 case $ac_config_target in
13495 "include/config.h") CONFIG_HEADERS="$CONFIG_HEADERS include/config.h" ;;
13496 "libtool") CONFIG_COMMANDS="$CONFIG_COMMANDS libtool" ;;
13497 "include/builddefs") CONFIG_FILES="$CONFIG_FILES include/builddefs" ;;
13499 *) as_fn_error $? "invalid argument: \`$ac_config_target'" "$LINENO" 5;;
13504 # If the user did not use the arguments to specify the items to instantiate,
13505 # then the envvar interface is used. Set only those that are not.
13506 # We use the long form for the default assignment because of an extremely
13507 # bizarre bug on SunOS 4.1.3.
13508 if $ac_need_defaults; then
13509 test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
13510 test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS=$config_headers
13511 test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS=$config_commands
13514 # Have a temporary directory for convenience. Make it in the build tree
13515 # simply because there is no reason against having it here, and in addition,
13516 # creating and moving files from /tmp can sometimes cause problems.
13517 # Hook for its removal unless debugging.
13518 # Note that there is a small window in which the directory will not be cleaned:
13519 # after its creation but before its name has been assigned to `$tmp'.
13523 trap 'exit_status=$?
13524 : "${ac_tmp:=$tmp}"
13525 { test ! -d "$ac_tmp" || rm -fr "$ac_tmp"; } && exit $exit_status
13527 trap 'as_fn_exit 1' 1 2 13 15
13529 # Create a (secure) tmp directory for tmp files.
13532 tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
13536 tmp=./conf$$-$RANDOM
13537 (umask 077 && mkdir "$tmp")
13538 } || as_fn_error $? "cannot create a temporary directory in ." "$LINENO" 5
13541 # Set up the scripts for CONFIG_FILES section.
13542 # No need to generate them if there are no CONFIG_FILES.
13543 # This happens for instance with `./config.status config.h'.
13544 if test -n "$CONFIG_FILES"; then
13547 ac_cr=`echo X | tr X '\015'`
13548 # On cygwin, bash can eat \r inside `` if the user requested igncr.
13549 # But we know of no other shell where ac_cr would be empty at this
13550 # point, so we can use a bashism as a fallback.
13551 if test "x$ac_cr" = x; then
13552 eval ac_cr=\$\'\\r\'
13554 ac_cs_awk_cr=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
13555 if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
13558 ac_cs_awk_cr=$ac_cr
13561 echo 'BEGIN {' >"$ac_tmp/subs1.awk" &&
13566 echo "cat >conf$$subs.awk <<_ACEOF" &&
13567 echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
13569 } >conf$$subs.sh ||
13570 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
13571 ac_delim_num=`echo "$ac_subst_vars" | grep -c '^'`
13573 for ac_last_try in false false false false false :; do
13574 . ./conf$$subs.sh ||
13575 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
13577 ac_delim_n=`sed -n "s/.*$ac_delim\$/X/p" conf$$subs.awk | grep -c X`
13578 if test $ac_delim_n = $ac_delim_num; then
13580 elif $ac_last_try; then
13581 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
13583 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
13586 rm -f conf$$subs.sh
13588 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
13589 cat >>"\$ac_tmp/subs1.awk" <<\\_ACAWK &&
13593 s/^/S["/; s/!.*/"]=/
13603 s/\(.\{148\}\)..*/\1/
13605 s/["\\]/\\&/g; s/^/"/; s/$/\\n"\\/
13610 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
13617 s/\(.\{148\}\)..*/\1/
13619 s/["\\]/\\&/g; s/^/"/; s/$/"/
13623 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
13628 ' <conf$$subs.awk | sed '
13633 ' >>$CONFIG_STATUS || ac_write_fail=1
13634 rm -f conf$$subs.awk
13635 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
13637 cat >>"\$ac_tmp/subs1.awk" <<_ACAWK &&
13638 for (key in S) S_is_set[key] = 1
13644 nfields = split(line, field, "@")
13646 len = length(field[1])
13647 for (i = 2; i < nfields; i++) {
13649 keylen = length(key)
13650 if (S_is_set[key]) {
13652 line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3)
13653 len += length(value) + length(field[++i])
13664 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
13665 if sed "s/$ac_cr//" < /dev/null > /dev/null 2>&1; then
13666 sed "s/$ac_cr\$//; s/$ac_cr/$ac_cs_awk_cr/g"
13669 fi < "$ac_tmp/subs1.awk" > "$ac_tmp/subs.awk" \
13670 || as_fn_error $? "could not setup config files machinery" "$LINENO" 5
13673 # VPATH may cause trouble with some makes, so we remove sole $(srcdir),
13674 # ${srcdir} and @srcdir@ entries from VPATH if srcdir is ".", strip leading and
13675 # trailing colons and then remove the whole line if VPATH becomes empty
13676 # (actually we leave an empty line to preserve line numbers).
13677 if test "x$srcdir" = x.; then
13678 ac_vpsub='/^[ ]*VPATH[ ]*=[ ]*/{
13696 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
13697 fi # test -n "$CONFIG_FILES"
13699 # Set up the scripts for CONFIG_HEADERS section.
13700 # No need to generate them if there are no CONFIG_HEADERS.
13701 # This happens for instance with `./config.status Makefile'.
13702 if test -n "$CONFIG_HEADERS"; then
13703 cat >"$ac_tmp/defines.awk" <<\_ACAWK ||
13707 # Transform confdefs.h into an awk script `defines.awk', embedded as
13708 # here-document in config.status, that substitutes the proper values into
13709 # config.h.in to produce config.h.
13711 # Create a delimiter string that does not exist in confdefs.h, to ease
13712 # handling of long lines.
13714 for ac_last_try in false false :; do
13715 ac_tt=`sed -n "/$ac_delim/p" confdefs.h`
13716 if test -z "$ac_tt"; then
13718 elif $ac_last_try; then
13719 as_fn_error $? "could not make $CONFIG_HEADERS" "$LINENO" 5
13721 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
13725 # For the awk script, D is an array of macro values keyed by name,
13726 # likewise P contains macro parameters if any. Preserve backslash
13727 # newline sequences.
13729 ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]*
13731 s/.\{148\}/&'"$ac_delim"'/g
13734 s/^[ ]*#[ ]*define[ ][ ]*/ /
13741 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\1"]="\2"\
13743 s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\1"]=" \2"/p
13747 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\1"]="\2"\
13748 D["\1"]=" \3\\\\\\n"\\/p
13750 s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\1"]=" \2\\\\\\n"\\/p
13755 s/.\{148\}/&'"$ac_delim"'/g
13760 s/["\\]/\\&/g; s/^/"/; s/$/"/p
13763 s/["\\]/\\&/g; s/^/"/; s/$/\\\\\\n"\\/p
13765 ' <confdefs.h | sed '
13766 s/'"$ac_delim"'/"\\\
13767 "/g' >>$CONFIG_STATUS || ac_write_fail=1
13769 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
13770 for (key in D) D_is_set[key] = 1
13773 /^[\t ]*#[\t ]*(define|undef)[\t ]+$ac_word_re([\t (]|\$)/ {
13775 split(line, arg, " ")
13776 if (arg[1] == "#") {
13780 defundef = substr(arg[1], 2)
13783 split(mac1, mac2, "(") #)
13785 prefix = substr(line, 1, index(line, defundef) - 1)
13786 if (D_is_set[macro]) {
13787 # Preserve the white space surrounding the "#".
13788 print prefix "define", macro P[macro] D[macro]
13791 # Replace #undef with comments. This is necessary, for example,
13792 # in the case of _POSIX_SOURCE, which is predefined and required
13793 # on some systems where configure will not decide to define it.
13794 if (defundef == "undef") {
13795 print "/*", prefix defundef, macro, "*/"
13803 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
13804 as_fn_error $? "could not setup config headers machinery" "$LINENO" 5
13805 fi # test -n "$CONFIG_HEADERS"
13808 eval set X " :F $CONFIG_FILES :H $CONFIG_HEADERS :C $CONFIG_COMMANDS"
13813 :[FHLC]) ac_mode=$ac_tag; continue;;
13815 case $ac_mode$ac_tag in
13817 :L* | :C*:*) as_fn_error $? "invalid tag \`$ac_tag'" "$LINENO" 5;;
13818 :[FH]-) ac_tag=-:-;;
13819 :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
13836 -) ac_f="$ac_tmp/stdin";;
13837 *) # Look for the file first in the build tree, then in the source tree
13838 # (if the path is not absolute). The absolute path cannot be DOS-style,
13839 # because $ac_f cannot contain `:'.
13843 *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
13845 as_fn_error 1 "cannot find input file: \`$ac_f'" "$LINENO" 5;;
13847 case $ac_f in *\'*) ac_f=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
13848 as_fn_append ac_file_inputs " '$ac_f'"
13851 # Let's still pretend it is `configure' which instantiates (i.e., don't
13852 # use $as_me), people would be surprised to read:
13853 # /* config.h. Generated by config.status. */
13854 configure_input='Generated from '`
13855 $as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
13857 if test x"$ac_file" != x-; then
13858 configure_input="$ac_file. $configure_input"
13859 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5
13860 $as_echo "$as_me: creating $ac_file" >&6;}
13862 # Neutralize special characters interpreted by sed in replacement strings.
13863 case $configure_input in #(
13864 *\&* | *\|* | *\\* )
13865 ac_sed_conf_input=`$as_echo "$configure_input" |
13866 sed 's/[\\\\&|]/\\\\&/g'`;; #(
13867 *) ac_sed_conf_input=$configure_input;;
13871 *:-:* | *:-) cat >"$ac_tmp/stdin" \
13872 || as_fn_error $? "could not create $ac_file" "$LINENO" 5 ;;
13877 ac_dir=`$as_dirname -- "$ac_file" ||
13878 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
13879 X"$ac_file" : 'X\(//\)[^/]' \| \
13880 X"$ac_file" : 'X\(//\)$' \| \
13881 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
13882 $as_echo X"$ac_file" |
13883 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
13887 /^X\(\/\/\)[^/].*/{
13900 as_dir="$ac_dir"; as_fn_mkdir_p
13904 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
13906 ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
13907 # A ".." for each directory in $ac_dir_suffix.
13908 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
13909 case $ac_top_builddir_sub in
13910 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
13911 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
13914 ac_abs_top_builddir=$ac_pwd
13915 ac_abs_builddir=$ac_pwd$ac_dir_suffix
13916 # for backward compatibility:
13917 ac_top_builddir=$ac_top_build_prefix
13920 .) # We are building in place.
13922 ac_top_srcdir=$ac_top_builddir_sub
13923 ac_abs_top_srcdir=$ac_pwd ;;
13924 [\\/]* | ?:[\\/]* ) # Absolute name.
13925 ac_srcdir=$srcdir$ac_dir_suffix;
13926 ac_top_srcdir=$srcdir
13927 ac_abs_top_srcdir=$srcdir ;;
13928 *) # Relative name.
13929 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
13930 ac_top_srcdir=$ac_top_build_prefix$srcdir
13931 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
13933 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
13944 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
13945 # If the template does not know about datarootdir, expand it.
13946 # FIXME: This hack should be removed a few years after 2.60.
13947 ac_datarootdir_hack=; ac_datarootdir_seen=
13958 case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in
13959 *datarootdir*) ac_datarootdir_seen=yes;;
13960 *@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*)
13961 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
13962 $as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
13964 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
13965 ac_datarootdir_hack='
13966 s&@datadir@&$datadir&g
13967 s&@docdir@&$docdir&g
13968 s&@infodir@&$infodir&g
13969 s&@localedir@&$localedir&g
13970 s&@mandir@&$mandir&g
13971 s&\\\${datarootdir}&$datarootdir&g' ;;
13975 # Neutralize VPATH when `$srcdir' = `.'.
13976 # Shell code in configure.ac might set extrasub.
13977 # FIXME: do we really want to maintain this feature?
13978 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
13979 ac_sed_extra="$ac_vpsub
13982 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
13984 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
13985 s|@configure_input@|$ac_sed_conf_input|;t t
13986 s&@top_builddir@&$ac_top_builddir_sub&;t t
13987 s&@top_build_prefix@&$ac_top_build_prefix&;t t
13988 s&@srcdir@&$ac_srcdir&;t t
13989 s&@abs_srcdir@&$ac_abs_srcdir&;t t
13990 s&@top_srcdir@&$ac_top_srcdir&;t t
13991 s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t
13992 s&@builddir@&$ac_builddir&;t t
13993 s&@abs_builddir@&$ac_abs_builddir&;t t
13994 s&@abs_top_builddir@&$ac_abs_top_builddir&;t t
13995 $ac_datarootdir_hack
13997 eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$ac_tmp/subs.awk" \
13998 >$ac_tmp/out || as_fn_error $? "could not create $ac_file" "$LINENO" 5
14000 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
14001 { ac_out=`sed -n '/\${datarootdir}/p' "$ac_tmp/out"`; test -n "$ac_out"; } &&
14002 { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' \
14003 "$ac_tmp/out"`; test -z "$ac_out"; } &&
14004 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file contains a reference to the variable \`datarootdir'
14005 which seems to be undefined. Please make sure it is defined" >&5
14006 $as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir'
14007 which seems to be undefined. Please make sure it is defined" >&2;}
14009 rm -f "$ac_tmp/stdin"
14011 -) cat "$ac_tmp/out" && rm -f "$ac_tmp/out";;
14012 *) rm -f "$ac_file" && mv "$ac_tmp/out" "$ac_file";;
14014 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
14020 if test x"$ac_file" != x-; then
14022 $as_echo "/* $configure_input */" \
14023 && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs"
14024 } >"$ac_tmp/config.h" \
14025 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
14026 if diff "$ac_file" "$ac_tmp/config.h" >/dev/null 2>&1; then
14027 { $as_echo "$as_me:${as_lineno-$LINENO}: $ac_file is unchanged" >&5
14028 $as_echo "$as_me: $ac_file is unchanged" >&6;}
14031 mv "$ac_tmp/config.h" "$ac_file" \
14032 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
14035 $as_echo "/* $configure_input */" \
14036 && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs" \
14037 || as_fn_error $? "could not create -" "$LINENO" 5
14041 :C) { $as_echo "$as_me:${as_lineno-$LINENO}: executing $ac_file commands" >&5
14042 $as_echo "$as_me: executing $ac_file commands" >&6;}
14047 case $ac_file$ac_mode in
14050 # See if we are running on zsh, and set the options which allow our
14051 # commands through without removal of \ escapes.
14052 if test -n "${ZSH_VERSION+set}" ; then
14053 setopt NO_GLOB_SUBST
14056 cfgfile="${ofile}T"
14057 trap "$RM \"$cfgfile\"; exit 1" 1 2 15
14060 cat <<_LT_EOF >> "$cfgfile"
14063 # `$ECHO "$ofile" | sed 's%^.*/%%'` - Provide generalized library-building support services.
14064 # Generated automatically by $as_me ($PACKAGE$TIMESTAMP) $VERSION
14065 # Libtool was configured on host `(hostname || uname -n) 2>/dev/null | sed 1q`:
14066 # NOTE: Changes made to this file will be lost: look at ltmain.sh.
14068 # Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2003, 2004, 2005,
14069 # 2006, 2007, 2008, 2009, 2010 Free Software Foundation,
14071 # Written by Gordon Matzigkeit, 1996
14073 # This file is part of GNU Libtool.
14075 # GNU Libtool is free software; you can redistribute it and/or
14076 # modify it under the terms of the GNU General Public License as
14077 # published by the Free Software Foundation; either version 2 of
14078 # the License, or (at your option) any later version.
14080 # As a special exception to the GNU General Public License,
14081 # if you distribute this file as part of a program or library that
14082 # is built using GNU Libtool, you may include this file under the
14083 # same distribution terms that you use for the rest of that program.
14085 # GNU Libtool is distributed in the hope that it will be useful,
14086 # but WITHOUT ANY WARRANTY; without even the implied warranty of
14087 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
14088 # GNU General Public License for more details.
14090 # You should have received a copy of the GNU General Public License
14091 # along with GNU Libtool; see the file COPYING. If not, a copy
14092 # can be downloaded from http://www.gnu.org/licenses/gpl.html, or
14093 # obtained by writing to the Free Software Foundation, Inc.,
14094 # 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
14097 # The names of the tagged configurations supported by this script.
14100 # ### BEGIN LIBTOOL CONFIG
14102 # Which release of libtool.m4 was used?
14103 macro_version=$macro_version
14104 macro_revision=$macro_revision
14106 # Whether or not to build shared libraries.
14107 build_libtool_libs=$enable_shared
14109 # Whether or not to build static libraries.
14110 build_old_libs=$enable_static
14112 # What type of objects to build.
14115 # Whether or not to optimize for fast installation.
14116 fast_install=$enable_fast_install
14118 # Shell to use when invoking shell scripts.
14121 # An echo program that protects backslashes.
14125 host_alias=$host_alias
14129 # The build system.
14130 build_alias=$build_alias
14134 # A sed program that does not truncate output.
14137 # Sed that helps us avoid accidentally triggering echo(1) options like -n.
14138 Xsed="\$SED -e 1s/^X//"
14140 # A grep program that handles long lines.
14146 # A literal string matcher.
14149 # A BSD- or MS-compatible name lister.
14152 # Whether we need soft or hard links.
14155 # What is the maximum length of a command?
14156 max_cmd_len=$max_cmd_len
14158 # Object file suffix (normally "o").
14161 # Executable file suffix (normally "").
14164 # whether the shell understands "unset".
14167 # turn spaces into newlines.
14170 # turn newlines into spaces.
14173 # convert \$build file names to \$host format.
14174 to_host_file_cmd=$lt_cv_to_host_file_cmd
14176 # convert \$build files to toolchain format.
14177 to_tool_file_cmd=$lt_cv_to_tool_file_cmd
14179 # An object symbol dumper.
14180 OBJDUMP=$lt_OBJDUMP
14182 # Method to check whether dependent libraries are shared objects.
14183 deplibs_check_method=$lt_deplibs_check_method
14185 # Command to use when deplibs_check_method = "file_magic".
14186 file_magic_cmd=$lt_file_magic_cmd
14188 # How to find potential files when deplibs_check_method = "file_magic".
14189 file_magic_glob=$lt_file_magic_glob
14191 # Find potential files using nocaseglob when deplibs_check_method = "file_magic".
14192 want_nocaseglob=$lt_want_nocaseglob
14194 # DLL creation program.
14195 DLLTOOL=$lt_DLLTOOL
14197 # Command to associate shared and link libraries.
14198 sharedlib_from_linklib_cmd=$lt_sharedlib_from_linklib_cmd
14203 # Flags to create an archive.
14204 AR_FLAGS=$lt_AR_FLAGS
14206 # How to feed a file listing to the archiver.
14207 archiver_list_spec=$lt_archiver_list_spec
14209 # A symbol stripping program.
14212 # Commands used to install an old-style archive.
14214 old_postinstall_cmds=$lt_old_postinstall_cmds
14215 old_postuninstall_cmds=$lt_old_postuninstall_cmds
14217 # Whether to use a lock for old archive extraction.
14218 lock_old_archive_extraction=$lock_old_archive_extraction
14223 # LTCC compiler flags.
14224 LTCFLAGS=$lt_CFLAGS
14226 # Take the output of nm and produce a listing of raw symbols and C names.
14227 global_symbol_pipe=$lt_lt_cv_sys_global_symbol_pipe
14229 # Transform the output of nm in a proper C declaration.
14230 global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl
14232 # Transform the output of nm in a C name address pair.
14233 global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address
14235 # Transform the output of nm in a C name address pair when lib prefix is needed.
14236 global_symbol_to_c_name_address_lib_prefix=$lt_lt_cv_sys_global_symbol_to_c_name_address_lib_prefix
14238 # Specify filename containing input files for \$NM.
14239 nm_file_list_spec=$lt_nm_file_list_spec
14241 # The root where to search for dependent libraries,and in which our libraries should be installed.
14242 lt_sysroot=$lt_sysroot
14244 # The name of the directory that contains temporary libtool files.
14247 # Used to examine libraries when file_magic_cmd begins with "file".
14248 MAGIC_CMD=$MAGIC_CMD
14250 # Must we lock files when doing compilation?
14251 need_locks=$lt_need_locks
14254 MANIFEST_TOOL=$lt_MANIFEST_TOOL
14256 # Tool to manipulate archived DWARF debug symbol files on Mac OS X.
14257 DSYMUTIL=$lt_DSYMUTIL
14259 # Tool to change global to local symbols on Mac OS X.
14262 # Tool to manipulate fat objects and archives on Mac OS X.
14265 # ldd/readelf like tool for Mach-O binaries on Mac OS X.
14268 # ldd/readelf like tool for 64 bit Mach-O binaries on Mac OS X 10.4.
14269 OTOOL64=$lt_OTOOL64
14271 # Old archive suffix (normally "a").
14274 # Shared library suffix (normally ".so").
14275 shrext_cmds=$lt_shrext_cmds
14277 # The commands to extract the exported symbol list from a shared archive.
14278 extract_expsyms_cmds=$lt_extract_expsyms_cmds
14280 # Variables whose values should be saved in libtool wrapper scripts and
14281 # restored at link time.
14282 variables_saved_for_relink=$lt_variables_saved_for_relink
14284 # Do we need the "lib" prefix for modules?
14285 need_lib_prefix=$need_lib_prefix
14287 # Do we need a version for libraries?
14288 need_version=$need_version
14290 # Library versioning type.
14291 version_type=$version_type
14293 # Shared library runtime path variable.
14294 runpath_var=$runpath_var
14296 # Shared library path variable.
14297 shlibpath_var=$shlibpath_var
14299 # Is shlibpath searched before the hard-coded library search path?
14300 shlibpath_overrides_runpath=$shlibpath_overrides_runpath
14302 # Format of library name prefix.
14303 libname_spec=$lt_libname_spec
14305 # List of archive names. First name is the real one, the rest are links.
14306 # The last name is the one that the linker finds with -lNAME
14307 library_names_spec=$lt_library_names_spec
14309 # The coded name of the library, if different from the real name.
14310 soname_spec=$lt_soname_spec
14312 # Permission mode override for installation of shared libraries.
14313 install_override_mode=$lt_install_override_mode
14315 # Command to use after installation of a shared archive.
14316 postinstall_cmds=$lt_postinstall_cmds
14318 # Command to use after uninstallation of a shared archive.
14319 postuninstall_cmds=$lt_postuninstall_cmds
14321 # Commands used to finish a libtool library installation in a directory.
14322 finish_cmds=$lt_finish_cmds
14324 # As "finish_cmds", except a single script fragment to be evaled but
14326 finish_eval=$lt_finish_eval
14328 # Whether we should hardcode library paths into libraries.
14329 hardcode_into_libs=$hardcode_into_libs
14331 # Compile-time system search path for libraries.
14332 sys_lib_search_path_spec=$lt_sys_lib_search_path_spec
14334 # Run-time system search path for libraries.
14335 sys_lib_dlsearch_path_spec=$lt_sys_lib_dlsearch_path_spec
14337 # Whether dlopen is supported.
14338 dlopen_support=$enable_dlopen
14340 # Whether dlopen of programs is supported.
14341 dlopen_self=$enable_dlopen_self
14343 # Whether dlopen of statically linked programs is supported.
14344 dlopen_self_static=$enable_dlopen_self_static
14346 # Commands to strip libraries.
14347 old_striplib=$lt_old_striplib
14348 striplib=$lt_striplib
14351 # The linker used to build libraries.
14354 # How to create reloadable object files.
14355 reload_flag=$lt_reload_flag
14356 reload_cmds=$lt_reload_cmds
14358 # Commands used to build an old-style archive.
14359 old_archive_cmds=$lt_old_archive_cmds
14361 # A language specific compiler.
14364 # Is the compiler the GNU compiler?
14367 # Compiler flag to turn off builtin functions.
14368 no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag
14370 # Additional compiler flags for building library objects.
14371 pic_flag=$lt_lt_prog_compiler_pic
14373 # How to pass a linker flag through the compiler.
14374 wl=$lt_lt_prog_compiler_wl
14376 # Compiler flag to prevent dynamic linking.
14377 link_static_flag=$lt_lt_prog_compiler_static
14379 # Does compiler simultaneously support -c and -o options?
14380 compiler_c_o=$lt_lt_cv_prog_compiler_c_o
14382 # Whether or not to add -lc for building shared libraries.
14383 build_libtool_need_lc=$archive_cmds_need_lc
14385 # Whether or not to disallow shared libs when runtime libs are static.
14386 allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes
14388 # Compiler flag to allow reflexive dlopens.
14389 export_dynamic_flag_spec=$lt_export_dynamic_flag_spec
14391 # Compiler flag to generate shared objects directly from archives.
14392 whole_archive_flag_spec=$lt_whole_archive_flag_spec
14394 # Whether the compiler copes with passing no objects directly.
14395 compiler_needs_object=$lt_compiler_needs_object
14397 # Create an old-style archive from a shared archive.
14398 old_archive_from_new_cmds=$lt_old_archive_from_new_cmds
14400 # Create a temporary old-style archive to link instead of a shared archive.
14401 old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds
14403 # Commands used to build a shared archive.
14404 archive_cmds=$lt_archive_cmds
14405 archive_expsym_cmds=$lt_archive_expsym_cmds
14407 # Commands used to build a loadable module if different from building
14408 # a shared archive.
14409 module_cmds=$lt_module_cmds
14410 module_expsym_cmds=$lt_module_expsym_cmds
14412 # Whether we are building with GNU ld or not.
14413 with_gnu_ld=$lt_with_gnu_ld
14415 # Flag that allows shared libraries with undefined symbols to be built.
14416 allow_undefined_flag=$lt_allow_undefined_flag
14418 # Flag that enforces no undefined symbols.
14419 no_undefined_flag=$lt_no_undefined_flag
14421 # Flag to hardcode \$libdir into a binary during linking.
14422 # This must work even if \$libdir does not exist
14423 hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec
14425 # If ld is used when linking, flag to hardcode \$libdir into a binary
14426 # during linking. This must work even if \$libdir does not exist.
14427 hardcode_libdir_flag_spec_ld=$lt_hardcode_libdir_flag_spec_ld
14429 # Whether we need a single "-rpath" flag with a separated argument.
14430 hardcode_libdir_separator=$lt_hardcode_libdir_separator
14432 # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
14433 # DIR into the resulting binary.
14434 hardcode_direct=$hardcode_direct
14436 # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
14437 # DIR into the resulting binary and the resulting library dependency is
14438 # "absolute",i.e impossible to change by setting \${shlibpath_var} if the
14439 # library is relocated.
14440 hardcode_direct_absolute=$hardcode_direct_absolute
14442 # Set to "yes" if using the -LDIR flag during linking hardcodes DIR
14443 # into the resulting binary.
14444 hardcode_minus_L=$hardcode_minus_L
14446 # Set to "yes" if using SHLIBPATH_VAR=DIR during linking hardcodes DIR
14447 # into the resulting binary.
14448 hardcode_shlibpath_var=$hardcode_shlibpath_var
14450 # Set to "yes" if building a shared library automatically hardcodes DIR
14451 # into the library and all subsequent libraries and executables linked
14453 hardcode_automatic=$hardcode_automatic
14455 # Set to yes if linker adds runtime paths of dependent libraries
14456 # to runtime path list.
14457 inherit_rpath=$inherit_rpath
14459 # Whether libtool must link a program against all its dependency libraries.
14460 link_all_deplibs=$link_all_deplibs
14462 # Set to "yes" if exported symbols are required.
14463 always_export_symbols=$always_export_symbols
14465 # The commands to list exported symbols.
14466 export_symbols_cmds=$lt_export_symbols_cmds
14468 # Symbols that should not be listed in the preloaded symbols.
14469 exclude_expsyms=$lt_exclude_expsyms
14471 # Symbols that must always be exported.
14472 include_expsyms=$lt_include_expsyms
14474 # Commands necessary for linking programs (against libraries) with templates.
14475 prelink_cmds=$lt_prelink_cmds
14477 # Commands necessary for finishing linking programs.
14478 postlink_cmds=$lt_postlink_cmds
14480 # Specify filename containing input files.
14481 file_list_spec=$lt_file_list_spec
14483 # How to hardcode a shared library path into an executable.
14484 hardcode_action=$hardcode_action
14486 # ### END LIBTOOL CONFIG
14492 cat <<\_LT_EOF >> "$cfgfile"
14493 # AIX sometimes has problems with the GCC collect2 program. For some
14494 # reason, if we set the COLLECT_NAMES environment variable, the problems
14495 # vanish in a puff of smoke.
14496 if test "X${COLLECT_NAMES+set}" != Xset; then
14498 export COLLECT_NAMES
14505 ltmain="$ac_aux_dir/ltmain.sh"
14508 # We use sed instead of cat because bash on DJGPP gets confused if
14509 # if finds mixed CR/LF and LF-only lines. Since sed operates in
14510 # text mode, it properly converts lines to CR/LF. This bash problem
14511 # is reportedly fixed, but why not run on old versions too?
14512 sed '$q' "$ltmain" >> "$cfgfile" \
14513 || (rm -f "$cfgfile"; exit 1)
14515 if test x"$xsi_shell" = xyes; then
14516 sed -e '/^func_dirname ()$/,/^} # func_dirname /c\
14520 \ */*) func_dirname_result="${1%/*}${2}" ;;\
14521 \ * ) func_dirname_result="${3}" ;;\
14523 } # Extended-shell func_dirname implementation' "$cfgfile" > $cfgfile.tmp \
14524 && mv -f "$cfgfile.tmp" "$cfgfile" \
14525 || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
14526 test 0 -eq $? || _lt_function_replace_fail=:
14529 sed -e '/^func_basename ()$/,/^} # func_basename /c\
14532 \ func_basename_result="${1##*/}"\
14533 } # Extended-shell func_basename implementation' "$cfgfile" > $cfgfile.tmp \
14534 && mv -f "$cfgfile.tmp" "$cfgfile" \
14535 || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
14536 test 0 -eq $? || _lt_function_replace_fail=:
14539 sed -e '/^func_dirname_and_basename ()$/,/^} # func_dirname_and_basename /c\
14540 func_dirname_and_basename ()\
14543 \ */*) func_dirname_result="${1%/*}${2}" ;;\
14544 \ * ) func_dirname_result="${3}" ;;\
14546 \ func_basename_result="${1##*/}"\
14547 } # Extended-shell func_dirname_and_basename implementation' "$cfgfile" > $cfgfile.tmp \
14548 && mv -f "$cfgfile.tmp" "$cfgfile" \
14549 || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
14550 test 0 -eq $? || _lt_function_replace_fail=:
14553 sed -e '/^func_stripname ()$/,/^} # func_stripname /c\
14556 \ # pdksh 5.2.14 does not do ${X%$Y} correctly if both X and Y are\
14557 \ # positional parameters, so assign one to ordinary parameter first.\
14558 \ func_stripname_result=${3}\
14559 \ func_stripname_result=${func_stripname_result#"${1}"}\
14560 \ func_stripname_result=${func_stripname_result%"${2}"}\
14561 } # Extended-shell func_stripname implementation' "$cfgfile" > $cfgfile.tmp \
14562 && mv -f "$cfgfile.tmp" "$cfgfile" \
14563 || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
14564 test 0 -eq $? || _lt_function_replace_fail=:
14567 sed -e '/^func_split_long_opt ()$/,/^} # func_split_long_opt /c\
14568 func_split_long_opt ()\
14570 \ func_split_long_opt_name=${1%%=*}\
14571 \ func_split_long_opt_arg=${1#*=}\
14572 } # Extended-shell func_split_long_opt implementation' "$cfgfile" > $cfgfile.tmp \
14573 && mv -f "$cfgfile.tmp" "$cfgfile" \
14574 || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
14575 test 0 -eq $? || _lt_function_replace_fail=:
14578 sed -e '/^func_split_short_opt ()$/,/^} # func_split_short_opt /c\
14579 func_split_short_opt ()\
14581 \ func_split_short_opt_arg=${1#??}\
14582 \ func_split_short_opt_name=${1%"$func_split_short_opt_arg"}\
14583 } # Extended-shell func_split_short_opt implementation' "$cfgfile" > $cfgfile.tmp \
14584 && mv -f "$cfgfile.tmp" "$cfgfile" \
14585 || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
14586 test 0 -eq $? || _lt_function_replace_fail=:
14589 sed -e '/^func_lo2o ()$/,/^} # func_lo2o /c\
14593 \ *.lo) func_lo2o_result=${1%.lo}.${objext} ;;\
14594 \ *) func_lo2o_result=${1} ;;\
14596 } # Extended-shell func_lo2o implementation' "$cfgfile" > $cfgfile.tmp \
14597 && mv -f "$cfgfile.tmp" "$cfgfile" \
14598 || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
14599 test 0 -eq $? || _lt_function_replace_fail=:
14602 sed -e '/^func_xform ()$/,/^} # func_xform /c\
14605 func_xform_result=${1%.*}.lo\
14606 } # Extended-shell func_xform implementation' "$cfgfile" > $cfgfile.tmp \
14607 && mv -f "$cfgfile.tmp" "$cfgfile" \
14608 || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
14609 test 0 -eq $? || _lt_function_replace_fail=:
14612 sed -e '/^func_arith ()$/,/^} # func_arith /c\
14615 func_arith_result=$(( $* ))\
14616 } # Extended-shell func_arith implementation' "$cfgfile" > $cfgfile.tmp \
14617 && mv -f "$cfgfile.tmp" "$cfgfile" \
14618 || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
14619 test 0 -eq $? || _lt_function_replace_fail=:
14622 sed -e '/^func_len ()$/,/^} # func_len /c\
14625 func_len_result=${#1}\
14626 } # Extended-shell func_len implementation' "$cfgfile" > $cfgfile.tmp \
14627 && mv -f "$cfgfile.tmp" "$cfgfile" \
14628 || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
14629 test 0 -eq $? || _lt_function_replace_fail=:
14633 if test x"$lt_shell_append" = xyes; then
14634 sed -e '/^func_append ()$/,/^} # func_append /c\
14637 eval "${1}+=\\${2}"\
14638 } # Extended-shell func_append implementation' "$cfgfile" > $cfgfile.tmp \
14639 && mv -f "$cfgfile.tmp" "$cfgfile" \
14640 || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
14641 test 0 -eq $? || _lt_function_replace_fail=:
14644 sed -e '/^func_append_quoted ()$/,/^} # func_append_quoted /c\
14645 func_append_quoted ()\
14647 \ func_quote_for_eval "${2}"\
14648 \ eval "${1}+=\\\\ \\$func_quote_for_eval_result"\
14649 } # Extended-shell func_append_quoted implementation' "$cfgfile" > $cfgfile.tmp \
14650 && mv -f "$cfgfile.tmp" "$cfgfile" \
14651 || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
14652 test 0 -eq $? || _lt_function_replace_fail=:
14655 # Save a `func_append' function call where possible by direct use of '+='
14656 sed -e 's%func_append \([a-zA-Z_]\{1,\}\) "%\1+="%g' $cfgfile > $cfgfile.tmp \
14657 && mv -f "$cfgfile.tmp" "$cfgfile" \
14658 || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
14659 test 0 -eq $? || _lt_function_replace_fail=:
14661 # Save a `func_append' function call even when '+=' is not available
14662 sed -e 's%func_append \([a-zA-Z_]\{1,\}\) "%\1="$\1%g' $cfgfile > $cfgfile.tmp \
14663 && mv -f "$cfgfile.tmp" "$cfgfile" \
14664 || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
14665 test 0 -eq $? || _lt_function_replace_fail=:
14668 if test x"$_lt_function_replace_fail" = x":"; then
14669 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Unable to substitute extended shell functions in $ofile" >&5
14670 $as_echo "$as_me: WARNING: Unable to substitute extended shell functions in $ofile" >&2;}
14674 mv -f "$cfgfile" "$ofile" ||
14675 (rm -f "$ofile" && cp "$cfgfile" "$ofile" && rm -f "$cfgfile")
14686 ac_clean_files=$ac_clean_files_save
14688 test $ac_write_fail = 0 ||
14689 as_fn_error $? "write failure creating $CONFIG_STATUS" "$LINENO" 5
14692 # configure is writing to config.log, and then calls config.status.
14693 # config.status does its own redirection, appending to config.log.
14694 # Unfortunately, on DOS this fails, as config.log is still kept open
14695 # by configure, so config.status won't be able to write to it; its
14696 # output is simply discarded. So we exec the FD to /dev/null,
14697 # effectively closing config.log, so it can be properly (re)opened and
14698 # appended to by config.status. When coming back to configure, we
14699 # need to make the FD available again.
14700 if test "$no_create" != yes; then
14702 ac_config_status_args=
14703 test "$silent" = yes &&
14704 ac_config_status_args="$ac_config_status_args --quiet"
14706 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
14708 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
14709 # would make configure fail if this is the last instruction.
14710 $ac_cs_success || as_fn_exit 1
14712 if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no; then
14713 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
14714 $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}