2 # Guess values for system-dependent variables and create Makefiles.
3 # Generated by GNU Autoconf 2.68 for eb123 0.5.
5 # Report bugs to <evgeny@sourceforge.jp>.
8 # Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001,
9 # 2002, 2003, 2004, 2005, 2006, 2007, 2008, 2009, 2010 Free Software
13 # This configure script is free software; the Free Software Foundation
14 # gives unlimited permission to copy, distribute and modify it.
15 ## -------------------- ##
16 ## M4sh Initialization. ##
17 ## -------------------- ##
19 # Be more Bourne compatible
20 DUALCASE=1; export DUALCASE # for MKS sh
21 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :
24 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
25 # is contrary to our usage. Disable this feature.
26 alias -g '${1+"$@"}'='"$@"'
29 case `(set -o) 2>/dev/null` in #(
41 # Printing a long string crashes Solaris 7 /usr/bin/printf.
42 as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
43 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
44 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
45 # Prefer a ksh shell builtin over an external printf program on Solaris,
46 # but without wasting forks for bash or zsh.
47 if test -z "$BASH_VERSION$ZSH_VERSION" \
48 && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
50 as_echo_n='print -rn --'
51 elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
55 if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
56 as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
57 as_echo_n='/usr/ucb/echo -n'
59 as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
64 expr "X$arg" : "X\\(.*\\)$as_nl";
65 arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
67 expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
70 as_echo_n='sh -c $as_echo_n_body as_echo'
73 as_echo='sh -c $as_echo_body as_echo'
76 # The user is always right.
77 if test "${PATH_SEPARATOR+set}" != set; then
79 (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
80 (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
87 # We need space, tab and new line, in precisely that order. Quoting is
88 # there to prevent editors from complaining about space-tab.
89 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
90 # splitting by setting IFS to empty value.)
93 # Find who we are. Look in the path if we contain no directory separator.
96 *[\\/]* ) as_myself=$0 ;;
97 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
101 test -z "$as_dir" && as_dir=.
102 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
108 # We did not find ourselves, most probably we were run as `sh COMMAND'
109 # in which case we are not to be found in the path.
110 if test "x$as_myself" = x; then
113 if test ! -f "$as_myself"; then
114 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
118 # Unset variables that we do not need and which cause bugs (e.g. in
119 # pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1"
120 # suppresses any "Segmentation fault" message there. '((' could
121 # trigger a bug in pdksh 5.2.14.
122 for as_var in BASH_ENV ENV MAIL MAILPATH
123 do eval test x\${$as_var+set} = xset \
124 && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
137 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
139 if test "x$CONFIG_SHELL" = x; then
140 as_bourne_compatible="if test -n \"\${ZSH_VERSION+set}\" && (emulate sh) >/dev/null 2>&1; then :
143 # Pre-4.2 versions of Zsh do word splitting on \${1+\"\$@\"}, which
144 # is contrary to our usage. Disable this feature.
145 alias -g '\${1+\"\$@\"}'='\"\$@\"'
148 case \`(set -o) 2>/dev/null\` in #(
156 as_required="as_fn_return () { (exit \$1); }
157 as_fn_success () { as_fn_return 0; }
158 as_fn_failure () { as_fn_return 1; }
159 as_fn_ret_success () { return 0; }
160 as_fn_ret_failure () { return 1; }
163 as_fn_success || { exitcode=1; echo as_fn_success failed.; }
164 as_fn_failure && { exitcode=1; echo as_fn_failure succeeded.; }
165 as_fn_ret_success || { exitcode=1; echo as_fn_ret_success failed.; }
166 as_fn_ret_failure && { exitcode=1; echo as_fn_ret_failure succeeded.; }
167 if ( set x; as_fn_ret_success y && test x = \"\$1\" ); then :
170 exitcode=1; echo positional parameters were not saved.
172 test x\$exitcode = x0 || exit 1"
173 as_suggested=" as_lineno_1=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_1a=\$LINENO
174 as_lineno_2=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_2a=\$LINENO
175 eval 'test \"x\$as_lineno_1'\$as_run'\" != \"x\$as_lineno_2'\$as_run'\" &&
176 test \"x\`expr \$as_lineno_1'\$as_run' + 1\`\" = \"x\$as_lineno_2'\$as_run'\"' || exit 1
178 test -n \"\${ZSH_VERSION+set}\${BASH_VERSION+set}\" || (
179 ECHO='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
180 ECHO=\$ECHO\$ECHO\$ECHO\$ECHO\$ECHO
181 ECHO=\$ECHO\$ECHO\$ECHO\$ECHO\$ECHO\$ECHO
182 PATH=/empty FPATH=/empty; export PATH FPATH
183 test \"X\`printf %s \$ECHO\`\" = \"X\$ECHO\" \\
184 || test \"X\`print -r -- \$ECHO\`\" = \"X\$ECHO\" ) || exit 1
185 test \$(( 1 + 1 )) = 2 || exit 1"
186 if (eval "$as_required") 2>/dev/null; then :
191 if test x$as_have_required = xyes && (eval "$as_suggested") 2>/dev/null; then :
194 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
196 for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
199 test -z "$as_dir" && as_dir=.
203 for as_base in sh bash ksh sh5; do
204 # Try only shells that exist, to save several forks.
205 as_shell=$as_dir/$as_base
206 if { test -f "$as_shell" || test -f "$as_shell.exe"; } &&
207 { $as_echo "$as_bourne_compatible""$as_required" | as_run=a "$as_shell"; } 2>/dev/null; then :
208 CONFIG_SHELL=$as_shell as_have_required=yes
209 if { $as_echo "$as_bourne_compatible""$as_suggested" | as_run=a "$as_shell"; } 2>/dev/null; then :
217 $as_found || { if { test -f "$SHELL" || test -f "$SHELL.exe"; } &&
218 { $as_echo "$as_bourne_compatible""$as_required" | as_run=a "$SHELL"; } 2>/dev/null; then :
219 CONFIG_SHELL=$SHELL as_have_required=yes
224 if test "x$CONFIG_SHELL" != x; then :
225 # We cannot yet assume a decent shell, so we have to provide a
226 # neutralization value for shells without unset; and this also
227 # works around shells that cannot unset nonexistent variables.
228 # Preserve -v and -x to the replacement shell.
231 (unset BASH_ENV) >/dev/null 2>&1 && unset BASH_ENV ENV
234 *v*x* | *x*v* ) as_opts=-vx ;;
239 exec "$CONFIG_SHELL" $as_opts "$as_myself" ${1+"$@"}
242 if test x$as_have_required = xno; then :
243 $as_echo "$0: This script requires a shell more modern than all"
244 $as_echo "$0: the shells that I found on your system."
245 if test x${ZSH_VERSION+set} = xset ; then
246 $as_echo "$0: In particular, zsh $ZSH_VERSION has bugs and should"
247 $as_echo "$0: be upgraded to zsh 4.3.4 or later."
249 $as_echo "$0: Please tell bug-autoconf@gnu.org and
250 $0: evgeny@sourceforge.jp about your system, including any
251 $0: error possibly output before this message. Then install
252 $0: a modern shell, or manually run the script under such a
253 $0: shell if you do have one."
259 SHELL=${CONFIG_SHELL-/bin/sh}
261 # Unset more variables known to interfere with behavior of common tools.
262 CLICOLOR_FORCE= GREP_OPTIONS=
263 unset CLICOLOR_FORCE GREP_OPTIONS
265 ## --------------------- ##
266 ## M4sh Shell Functions. ##
267 ## --------------------- ##
270 # Portably unset VAR.
273 { eval $1=; unset $1;}
277 # as_fn_set_status STATUS
278 # -----------------------
279 # Set $? to STATUS, without forking.
287 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
297 # Create "$as_dir" as a directory, including parents if necessary.
302 -*) as_dir=./$as_dir;;
304 test -d "$as_dir" || eval $as_mkdir_p || {
308 *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
311 as_dirs="'$as_qdir' $as_dirs"
312 as_dir=`$as_dirname -- "$as_dir" ||
313 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
314 X"$as_dir" : 'X\(//\)[^/]' \| \
315 X"$as_dir" : 'X\(//\)$' \| \
316 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
317 $as_echo X"$as_dir" |
318 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
335 test -d "$as_dir" && break
337 test -z "$as_dirs" || eval "mkdir $as_dirs"
338 } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir"
342 # as_fn_append VAR VALUE
343 # ----------------------
344 # Append the text in VALUE to the end of the definition contained in VAR. Take
345 # advantage of any shell optimizations that allow amortized linear growth over
346 # repeated appends, instead of the typical quadratic growth present in naive
348 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
349 eval 'as_fn_append ()
362 # Perform arithmetic evaluation on the ARGs, and store the result in the
363 # global $as_val. Take advantage of shells that can avoid forks. The arguments
364 # must be portable across $(()) and expr.
365 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
373 as_val=`expr "$@" || test $? -eq 1`
378 # as_fn_error STATUS ERROR [LINENO LOG_FD]
379 # ----------------------------------------
380 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
381 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
382 # script with STATUS, using 1 if that was 0.
385 as_status=$1; test $as_status -eq 0 && as_status=1
387 as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
388 $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
390 $as_echo "$as_me: error: $2" >&2
391 as_fn_exit $as_status
394 if expr a : '\(a\)' >/dev/null 2>&1 &&
395 test "X`expr 00001 : '.*\(...\)'`" = X001; then
401 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
407 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
413 as_me=`$as_basename -- "$0" ||
414 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
415 X"$0" : 'X\(//\)$' \| \
416 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
418 sed '/^.*\/\([^/][^/]*\)\/*$/{
432 # Avoid depending upon Character Ranges.
433 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
434 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
435 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
436 as_cr_digits='0123456789'
437 as_cr_alnum=$as_cr_Letters$as_cr_digits
440 as_lineno_1=$LINENO as_lineno_1a=$LINENO
441 as_lineno_2=$LINENO as_lineno_2a=$LINENO
442 eval 'test "x$as_lineno_1'$as_run'" != "x$as_lineno_2'$as_run'" &&
443 test "x`expr $as_lineno_1'$as_run' + 1`" = "x$as_lineno_2'$as_run'"' || {
444 # Blame Lee E. McMahon (1931-1989) for sed's syntax. :-)
456 s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
460 chmod +x "$as_me.lineno" ||
461 { $as_echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2; as_fn_exit 1; }
463 # Don't try to exec as it changes $[0], causing all sort of problems
464 # (the dirname of $[0] is not the place where we might find the
465 # original and so on. Autoconf is especially sensitive to this).
467 # Exit status is that of the last command.
471 ECHO_C= ECHO_N= ECHO_T=
472 case `echo -n x` in #(((((
474 case `echo 'xy\c'` in
475 *c*) ECHO_T=' ';; # ECHO_T is single tab character.
477 *) echo `echo ksh88 bug on AIX 6.1` > /dev/null
484 rm -f conf$$ conf$$.exe conf$$.file
485 if test -d conf$$.dir; then
486 rm -f conf$$.dir/conf$$.file
489 mkdir conf$$.dir 2>/dev/null
491 if (echo >conf$$.file) 2>/dev/null; then
492 if ln -s conf$$.file conf$$ 2>/dev/null; then
494 # ... but there are two gotchas:
495 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
496 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
497 # In both cases, we have to default to `cp -p'.
498 ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
500 elif ln conf$$.file conf$$ 2>/dev/null; then
508 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
509 rmdir conf$$.dir 2>/dev/null
511 if mkdir -p . 2>/dev/null; then
512 as_mkdir_p='mkdir -p "$as_dir"'
514 test -d ./-p && rmdir ./-p
518 if test -x / >/dev/null 2>&1; then
521 if ls -dL / >/dev/null 2>&1; then
528 if test -d "$1"; then
534 case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in #((
535 ???[sx]*):;;*)false;;esac;fi
539 as_executable_p=$as_test_x
541 # Sed expression to map a string onto a valid CPP name.
542 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
544 # Sed expression to map a string onto a valid variable name.
545 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
547 SHELL=${CONFIG_SHELL-/bin/sh}
550 test -n "$DJDIR" || exec 7<&0 </dev/null
554 # hostname on some systems (SVR3.2, old GNU/Linux) returns a bogus exit status,
555 # so uname gets run too.
556 ac_hostname=`(hostname || uname -n) 2>/dev/null | sed 1q`
561 ac_default_prefix=/usr/local
563 ac_config_libobj_dir=.
570 # Identity of this package.
572 PACKAGE_TARNAME='eb123'
573 PACKAGE_VERSION='0.5'
574 PACKAGE_STRING='eb123 0.5'
575 PACKAGE_BUGREPORT='evgeny@sourceforge.jp'
579 # Factoring default headers for most tests.
580 ac_includes_default="\
582 #ifdef HAVE_SYS_TYPES_H
583 # include <sys/types.h>
585 #ifdef HAVE_SYS_STAT_H
586 # include <sys/stat.h>
592 # ifdef HAVE_STDLIB_H
597 # if !defined STDC_HEADERS && defined HAVE_MEMORY_H
602 #ifdef HAVE_STRINGS_H
603 # include <strings.h>
605 #ifdef HAVE_INTTYPES_H
606 # include <inttypes.h>
615 ac_subst_vars='am__EXEEXT_FALSE
621 EBCONF_PTHREAD_LDFLAGS
622 EBCONF_PTHREAD_CFLAGS
623 EBCONF_PTHREAD_CPPFLAGS
692 INSTALL_STRIP_PROGRAM
734 program_transform_name
747 enable_option_checking
748 enable_dependency_tracking
764 ac_precious_vars='build_alias
782 # Initialize some variables set by options.
784 ac_init_version=false
785 ac_unrecognized_opts=
787 # The variables have the same names as the options, with
788 # dashes changed to underlines.
796 program_transform_name=s,x,x,
804 # Installation directory options.
805 # These are left unexpanded so users can "make install exec_prefix=/foo"
806 # and all the variables that are supposed to be based on exec_prefix
807 # by default will actually change.
808 # Use braces instead of parens because sh, perl, etc. also accept them.
809 # (The list follows the same order as the GNU Coding Standards.)
810 bindir='${exec_prefix}/bin'
811 sbindir='${exec_prefix}/sbin'
812 libexecdir='${exec_prefix}/libexec'
813 datarootdir='${prefix}/share'
814 datadir='${datarootdir}'
815 sysconfdir='${prefix}/etc'
816 sharedstatedir='${prefix}/com'
817 localstatedir='${prefix}/var'
818 includedir='${prefix}/include'
819 oldincludedir='/usr/include'
820 docdir='${datarootdir}/doc/${PACKAGE_TARNAME}'
821 infodir='${datarootdir}/info'
826 libdir='${exec_prefix}/lib'
827 localedir='${datarootdir}/locale'
828 mandir='${datarootdir}/man'
834 # If the previous option needs an argument, assign it.
835 if test -n "$ac_prev"; then
836 eval $ac_prev=\$ac_option
842 *=?*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
847 # Accept the important Cygnus configure options, so we can diagnose typos.
849 case $ac_dashdash$ac_option in
853 -bindir | --bindir | --bindi | --bind | --bin | --bi)
855 -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
858 -build | --build | --buil | --bui | --bu)
859 ac_prev=build_alias ;;
860 -build=* | --build=* | --buil=* | --bui=* | --bu=*)
861 build_alias=$ac_optarg ;;
863 -cache-file | --cache-file | --cache-fil | --cache-fi \
864 | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
865 ac_prev=cache_file ;;
866 -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
867 | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
868 cache_file=$ac_optarg ;;
871 cache_file=config.cache ;;
873 -datadir | --datadir | --datadi | --datad)
875 -datadir=* | --datadir=* | --datadi=* | --datad=*)
876 datadir=$ac_optarg ;;
878 -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \
879 | --dataroo | --dataro | --datar)
880 ac_prev=datarootdir ;;
881 -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \
882 | --dataroot=* | --dataroo=* | --dataro=* | --datar=*)
883 datarootdir=$ac_optarg ;;
885 -disable-* | --disable-*)
886 ac_useropt=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
887 # Reject names that are not valid shell variable names.
888 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
889 as_fn_error $? "invalid feature name: $ac_useropt"
890 ac_useropt_orig=$ac_useropt
891 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
892 case $ac_user_opts in
896 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig"
897 ac_unrecognized_sep=', ';;
899 eval enable_$ac_useropt=no ;;
901 -docdir | --docdir | --docdi | --doc | --do)
903 -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*)
906 -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv)
908 -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*)
911 -enable-* | --enable-*)
912 ac_useropt=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
913 # Reject names that are not valid shell variable names.
914 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
915 as_fn_error $? "invalid feature name: $ac_useropt"
916 ac_useropt_orig=$ac_useropt
917 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
918 case $ac_user_opts in
922 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig"
923 ac_unrecognized_sep=', ';;
925 eval enable_$ac_useropt=\$ac_optarg ;;
927 -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
928 | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
929 | --exec | --exe | --ex)
930 ac_prev=exec_prefix ;;
931 -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
932 | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
933 | --exec=* | --exe=* | --ex=*)
934 exec_prefix=$ac_optarg ;;
936 -gas | --gas | --ga | --g)
937 # Obsolete; use --with-gas.
940 -help | --help | --hel | --he | -h)
942 -help=r* | --help=r* | --hel=r* | --he=r* | -hr*)
943 ac_init_help=recursive ;;
944 -help=s* | --help=s* | --hel=s* | --he=s* | -hs*)
945 ac_init_help=short ;;
947 -host | --host | --hos | --ho)
948 ac_prev=host_alias ;;
949 -host=* | --host=* | --hos=* | --ho=*)
950 host_alias=$ac_optarg ;;
952 -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht)
954 -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \
956 htmldir=$ac_optarg ;;
958 -includedir | --includedir | --includedi | --included | --include \
959 | --includ | --inclu | --incl | --inc)
960 ac_prev=includedir ;;
961 -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
962 | --includ=* | --inclu=* | --incl=* | --inc=*)
963 includedir=$ac_optarg ;;
965 -infodir | --infodir | --infodi | --infod | --info | --inf)
967 -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
968 infodir=$ac_optarg ;;
970 -libdir | --libdir | --libdi | --libd)
972 -libdir=* | --libdir=* | --libdi=* | --libd=*)
975 -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
976 | --libexe | --libex | --libe)
977 ac_prev=libexecdir ;;
978 -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
979 | --libexe=* | --libex=* | --libe=*)
980 libexecdir=$ac_optarg ;;
982 -localedir | --localedir | --localedi | --localed | --locale)
984 -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*)
985 localedir=$ac_optarg ;;
987 -localstatedir | --localstatedir | --localstatedi | --localstated \
988 | --localstate | --localstat | --localsta | --localst | --locals)
989 ac_prev=localstatedir ;;
990 -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
991 | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*)
992 localstatedir=$ac_optarg ;;
994 -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
996 -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
1000 # Obsolete; use --without-fp.
1003 -no-create | --no-create | --no-creat | --no-crea | --no-cre \
1004 | --no-cr | --no-c | -n)
1007 -no-recursion | --no-recursion | --no-recursio | --no-recursi \
1008 | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
1011 -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
1012 | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
1013 | --oldin | --oldi | --old | --ol | --o)
1014 ac_prev=oldincludedir ;;
1015 -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
1016 | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
1017 | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
1018 oldincludedir=$ac_optarg ;;
1020 -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
1022 -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
1023 prefix=$ac_optarg ;;
1025 -program-prefix | --program-prefix | --program-prefi | --program-pref \
1026 | --program-pre | --program-pr | --program-p)
1027 ac_prev=program_prefix ;;
1028 -program-prefix=* | --program-prefix=* | --program-prefi=* \
1029 | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
1030 program_prefix=$ac_optarg ;;
1032 -program-suffix | --program-suffix | --program-suffi | --program-suff \
1033 | --program-suf | --program-su | --program-s)
1034 ac_prev=program_suffix ;;
1035 -program-suffix=* | --program-suffix=* | --program-suffi=* \
1036 | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
1037 program_suffix=$ac_optarg ;;
1039 -program-transform-name | --program-transform-name \
1040 | --program-transform-nam | --program-transform-na \
1041 | --program-transform-n | --program-transform- \
1042 | --program-transform | --program-transfor \
1043 | --program-transfo | --program-transf \
1044 | --program-trans | --program-tran \
1045 | --progr-tra | --program-tr | --program-t)
1046 ac_prev=program_transform_name ;;
1047 -program-transform-name=* | --program-transform-name=* \
1048 | --program-transform-nam=* | --program-transform-na=* \
1049 | --program-transform-n=* | --program-transform-=* \
1050 | --program-transform=* | --program-transfor=* \
1051 | --program-transfo=* | --program-transf=* \
1052 | --program-trans=* | --program-tran=* \
1053 | --progr-tra=* | --program-tr=* | --program-t=*)
1054 program_transform_name=$ac_optarg ;;
1056 -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd)
1058 -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*)
1059 pdfdir=$ac_optarg ;;
1061 -psdir | --psdir | --psdi | --psd | --ps)
1063 -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*)
1066 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1067 | -silent | --silent | --silen | --sile | --sil)
1070 -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
1072 -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
1074 sbindir=$ac_optarg ;;
1076 -sharedstatedir | --sharedstatedir | --sharedstatedi \
1077 | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
1078 | --sharedst | --shareds | --shared | --share | --shar \
1080 ac_prev=sharedstatedir ;;
1081 -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
1082 | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
1083 | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
1085 sharedstatedir=$ac_optarg ;;
1087 -site | --site | --sit)
1089 -site=* | --site=* | --sit=*)
1092 -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
1094 -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
1095 srcdir=$ac_optarg ;;
1097 -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
1098 | --syscon | --sysco | --sysc | --sys | --sy)
1099 ac_prev=sysconfdir ;;
1100 -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
1101 | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
1102 sysconfdir=$ac_optarg ;;
1104 -target | --target | --targe | --targ | --tar | --ta | --t)
1105 ac_prev=target_alias ;;
1106 -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
1107 target_alias=$ac_optarg ;;
1109 -v | -verbose | --verbose | --verbos | --verbo | --verb)
1112 -version | --version | --versio | --versi | --vers | -V)
1113 ac_init_version=: ;;
1116 ac_useropt=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
1117 # Reject names that are not valid shell variable names.
1118 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1119 as_fn_error $? "invalid package name: $ac_useropt"
1120 ac_useropt_orig=$ac_useropt
1121 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1122 case $ac_user_opts in
1126 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig"
1127 ac_unrecognized_sep=', ';;
1129 eval with_$ac_useropt=\$ac_optarg ;;
1131 -without-* | --without-*)
1132 ac_useropt=`expr "x$ac_option" : 'x-*without-\(.*\)'`
1133 # Reject names that are not valid shell variable names.
1134 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1135 as_fn_error $? "invalid package name: $ac_useropt"
1136 ac_useropt_orig=$ac_useropt
1137 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1138 case $ac_user_opts in
1142 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig"
1143 ac_unrecognized_sep=', ';;
1145 eval with_$ac_useropt=no ;;
1148 # Obsolete; use --with-x.
1151 -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
1152 | --x-incl | --x-inc | --x-in | --x-i)
1153 ac_prev=x_includes ;;
1154 -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
1155 | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
1156 x_includes=$ac_optarg ;;
1158 -x-libraries | --x-libraries | --x-librarie | --x-librari \
1159 | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
1160 ac_prev=x_libraries ;;
1161 -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
1162 | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
1163 x_libraries=$ac_optarg ;;
1165 -*) as_fn_error $? "unrecognized option: \`$ac_option'
1166 Try \`$0 --help' for more information"
1170 ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
1171 # Reject names that are not valid shell variable names.
1172 case $ac_envvar in #(
1173 '' | [0-9]* | *[!_$as_cr_alnum]* )
1174 as_fn_error $? "invalid variable name: \`$ac_envvar'" ;;
1176 eval $ac_envvar=\$ac_optarg
1177 export $ac_envvar ;;
1180 # FIXME: should be removed in autoconf 3.0.
1181 $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2
1182 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
1183 $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2
1184 : "${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}"
1190 if test -n "$ac_prev"; then
1191 ac_option=--`echo $ac_prev | sed 's/_/-/g'`
1192 as_fn_error $? "missing argument to $ac_option"
1195 if test -n "$ac_unrecognized_opts"; then
1196 case $enable_option_checking in
1198 fatal) as_fn_error $? "unrecognized options: $ac_unrecognized_opts" ;;
1199 *) $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;;
1203 # Check all directory arguments for consistency.
1204 for ac_var in exec_prefix prefix bindir sbindir libexecdir datarootdir \
1205 datadir sysconfdir sharedstatedir localstatedir includedir \
1206 oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
1207 libdir localedir mandir
1209 eval ac_val=\$$ac_var
1210 # Remove trailing slashes.
1213 ac_val=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'`
1214 eval $ac_var=\$ac_val;;
1216 # Be sure to have absolute directory names.
1218 [\\/$]* | ?:[\\/]* ) continue;;
1219 NONE | '' ) case $ac_var in *prefix ) continue;; esac;;
1221 as_fn_error $? "expected an absolute directory name for --$ac_var: $ac_val"
1224 # There might be people who depend on the old broken behavior: `$host'
1225 # used to hold the argument of --host etc.
1226 # FIXME: To remove some day.
1229 target=$target_alias
1231 # FIXME: To remove some day.
1232 if test "x$host_alias" != x; then
1233 if test "x$build_alias" = x; then
1234 cross_compiling=maybe
1235 $as_echo "$as_me: WARNING: if you wanted to set the --build type, don't use --host.
1236 If a cross compiler is detected then cross compile mode will be used" >&2
1237 elif test "x$build_alias" != "x$host_alias"; then
1243 test -n "$host_alias" && ac_tool_prefix=$host_alias-
1245 test "$silent" = yes && exec 6>/dev/null
1248 ac_pwd=`pwd` && test -n "$ac_pwd" &&
1249 ac_ls_di=`ls -di .` &&
1250 ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` ||
1251 as_fn_error $? "working directory cannot be determined"
1252 test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
1253 as_fn_error $? "pwd does not report name of working directory"
1256 # Find the source files, if location was not specified.
1257 if test -z "$srcdir"; then
1258 ac_srcdir_defaulted=yes
1259 # Try the directory containing this script, then the parent directory.
1260 ac_confdir=`$as_dirname -- "$as_myself" ||
1261 $as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
1262 X"$as_myself" : 'X\(//\)[^/]' \| \
1263 X"$as_myself" : 'X\(//\)$' \| \
1264 X"$as_myself" : 'X\(/\)' \| . 2>/dev/null ||
1265 $as_echo X"$as_myself" |
1266 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
1284 if test ! -r "$srcdir/$ac_unique_file"; then
1288 ac_srcdir_defaulted=no
1290 if test ! -r "$srcdir/$ac_unique_file"; then
1291 test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .."
1292 as_fn_error $? "cannot find sources ($ac_unique_file) in $srcdir"
1294 ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work"
1296 cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error $? "$ac_msg"
1298 # When building in place, set srcdir=.
1299 if test "$ac_abs_confdir" = "$ac_pwd"; then
1302 # Remove unnecessary trailing slashes from srcdir.
1303 # Double slashes in file names in object file debugging info
1304 # mess up M-x gdb in Emacs.
1306 */) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
1308 for ac_var in $ac_precious_vars; do
1309 eval ac_env_${ac_var}_set=\${${ac_var}+set}
1310 eval ac_env_${ac_var}_value=\$${ac_var}
1311 eval ac_cv_env_${ac_var}_set=\${${ac_var}+set}
1312 eval ac_cv_env_${ac_var}_value=\$${ac_var}
1316 # Report the --help message.
1318 if test "$ac_init_help" = "long"; then
1319 # Omit some internal or obsolete options to make the list less imposing.
1320 # This message is too long to be a string in the A/UX 3.1 sh.
1322 \`configure' configures eb123 0.5 to adapt to many kinds of systems.
1324 Usage: $0 [OPTION]... [VAR=VALUE]...
1326 To assign environment variables (e.g., CC, CFLAGS...), specify them as
1327 VAR=VALUE. See below for descriptions of some of the useful variables.
1329 Defaults for the options are specified in brackets.
1332 -h, --help display this help and exit
1333 --help=short display options specific to this package
1334 --help=recursive display the short help of all the included packages
1335 -V, --version display version information and exit
1336 -q, --quiet, --silent do not print \`checking ...' messages
1337 --cache-file=FILE cache test results in FILE [disabled]
1338 -C, --config-cache alias for \`--cache-file=config.cache'
1339 -n, --no-create do not create output files
1340 --srcdir=DIR find the sources in DIR [configure dir or \`..']
1342 Installation directories:
1343 --prefix=PREFIX install architecture-independent files in PREFIX
1344 [$ac_default_prefix]
1345 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
1348 By default, \`make install' will install all the files in
1349 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
1350 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
1351 for instance \`--prefix=\$HOME'.
1353 For better control, use the options below.
1355 Fine tuning of the installation directories:
1356 --bindir=DIR user executables [EPREFIX/bin]
1357 --sbindir=DIR system admin executables [EPREFIX/sbin]
1358 --libexecdir=DIR program executables [EPREFIX/libexec]
1359 --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
1360 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
1361 --localstatedir=DIR modifiable single-machine data [PREFIX/var]
1362 --libdir=DIR object code libraries [EPREFIX/lib]
1363 --includedir=DIR C header files [PREFIX/include]
1364 --oldincludedir=DIR C header files for non-gcc [/usr/include]
1365 --datarootdir=DIR read-only arch.-independent data root [PREFIX/share]
1366 --datadir=DIR read-only architecture-independent data [DATAROOTDIR]
1367 --infodir=DIR info documentation [DATAROOTDIR/info]
1368 --localedir=DIR locale-dependent data [DATAROOTDIR/locale]
1369 --mandir=DIR man documentation [DATAROOTDIR/man]
1370 --docdir=DIR documentation root [DATAROOTDIR/doc/eb123]
1371 --htmldir=DIR html documentation [DOCDIR]
1372 --dvidir=DIR dvi documentation [DOCDIR]
1373 --pdfdir=DIR pdf documentation [DOCDIR]
1374 --psdir=DIR ps documentation [DOCDIR]
1380 --program-prefix=PREFIX prepend PREFIX to installed program names
1381 --program-suffix=SUFFIX append SUFFIX to installed program names
1382 --program-transform-name=PROGRAM run sed PROGRAM on installed program names
1385 --build=BUILD configure for building on BUILD [guessed]
1386 --host=HOST cross-compile to build programs to run on HOST [BUILD]
1390 if test -n "$ac_init_help"; then
1391 case $ac_init_help in
1392 short | recursive ) echo "Configuration of eb123 0.5:";;
1397 --disable-option-checking ignore unrecognized --enable/--with options
1398 --disable-FEATURE do not include FEATURE (same as --enable-FEATURE=no)
1399 --enable-FEATURE[=ARG] include FEATURE [ARG=yes]
1400 --disable-dependency-tracking speeds up one-time build
1401 --enable-dependency-tracking do not reject slow dependency extractors
1402 --enable-shared[=PKGS] build shared libraries [default=yes]
1403 --enable-static[=PKGS] build static libraries [default=yes]
1404 --enable-fast-install[=PKGS]
1405 optimize for fast installation [default=yes]
1406 --disable-libtool-lock avoid locking (might break parallel builds)
1407 --disable-gtktest do not try to compile and run a test GTK+ program
1408 --disable-xmltest Do not try to compile and run a test LIBXML program
1409 --enable-debug enable debug information [default=no]
1410 --enable-gstreamer enable audio and video playback using gstreamer [default=no]
1413 --with-PACKAGE[=ARG] use PACKAGE [ARG=yes]
1414 --without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no)
1415 --with-pic try to use only PIC/non-PIC objects [default=use
1417 --with-gnu-ld assume the C compiler uses GNU ld [default=no]
1418 --with-sysroot=DIR Search for dependent libraries within DIR
1419 (or the compiler's sysroot if not specified).
1420 --with-xml-prefix=PFX Prefix where libxml is installed (optional)
1421 --with-xml-exec-prefix=PFX Exec prefix where libxml is installed (optional)
1422 --with-eb-conf=FILE eb.conf file is FILE [[SYSCONFDIR/eb.conf]]
1424 Some influential environment variables:
1425 CC C compiler command
1426 CFLAGS C compiler flags
1427 LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a
1428 nonstandard directory <lib dir>
1429 LIBS libraries to pass to the linker, e.g. -l<library>
1430 CPPFLAGS (Objective) C/C++ preprocessor flags, e.g. -I<include dir> if
1431 you have headers in a nonstandard directory <include dir>
1433 PKG_CONFIG path to pkg-config utility
1435 directories to add to pkg-config's search path
1437 path overriding pkg-config's built-in search path
1438 GTK_CFLAGS C compiler flags for GTK, overriding pkg-config
1439 GTK_LIBS linker flags for GTK, overriding pkg-config
1441 C compiler flags for GMODULE, overriding pkg-config
1443 linker flags for GMODULE, overriding pkg-config
1445 Use these variables to override the choices made by `configure' or to help
1446 it to find libraries and programs with nonstandard names/locations.
1448 Report bugs to <evgeny@sourceforge.jp>.
1453 if test "$ac_init_help" = "recursive"; then
1454 # If there are subdirs, report their specific --help.
1455 for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
1456 test -d "$ac_dir" ||
1457 { cd "$srcdir" && ac_pwd=`pwd` && srcdir=. && test -d "$ac_dir"; } ||
1462 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
1464 ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
1465 # A ".." for each directory in $ac_dir_suffix.
1466 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
1467 case $ac_top_builddir_sub in
1468 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
1469 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
1472 ac_abs_top_builddir=$ac_pwd
1473 ac_abs_builddir=$ac_pwd$ac_dir_suffix
1474 # for backward compatibility:
1475 ac_top_builddir=$ac_top_build_prefix
1478 .) # We are building in place.
1480 ac_top_srcdir=$ac_top_builddir_sub
1481 ac_abs_top_srcdir=$ac_pwd ;;
1482 [\\/]* | ?:[\\/]* ) # Absolute name.
1483 ac_srcdir=$srcdir$ac_dir_suffix;
1484 ac_top_srcdir=$srcdir
1485 ac_abs_top_srcdir=$srcdir ;;
1487 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
1488 ac_top_srcdir=$ac_top_build_prefix$srcdir
1489 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
1491 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
1493 cd "$ac_dir" || { ac_status=$?; continue; }
1494 # Check for guested configure.
1495 if test -f "$ac_srcdir/configure.gnu"; then
1497 $SHELL "$ac_srcdir/configure.gnu" --help=recursive
1498 elif test -f "$ac_srcdir/configure"; then
1500 $SHELL "$ac_srcdir/configure" --help=recursive
1502 $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
1504 cd "$ac_pwd" || { ac_status=$?; break; }
1508 test -n "$ac_init_help" && exit $ac_status
1509 if $ac_init_version; then
1512 generated by GNU Autoconf 2.68
1514 Copyright (C) 2010 Free Software Foundation, Inc.
1515 This configure script is free software; the Free Software Foundation
1516 gives unlimited permission to copy, distribute and modify it.
1521 ## ------------------------ ##
1522 ## Autoconf initialization. ##
1523 ## ------------------------ ##
1525 # ac_fn_c_try_compile LINENO
1526 # --------------------------
1527 # Try to compile conftest.$ac_ext, and return whether this succeeded.
1528 ac_fn_c_try_compile ()
1530 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1531 rm -f conftest.$ac_objext
1532 if { { ac_try="$ac_compile"
1534 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1535 *) ac_try_echo=$ac_try;;
1537 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1538 $as_echo "$ac_try_echo"; } >&5
1539 (eval "$ac_compile") 2>conftest.err
1541 if test -s conftest.err; then
1542 grep -v '^ *+' conftest.err >conftest.er1
1543 cat conftest.er1 >&5
1544 mv -f conftest.er1 conftest.err
1546 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1547 test $ac_status = 0; } && {
1548 test -z "$ac_c_werror_flag" ||
1549 test ! -s conftest.err
1550 } && test -s conftest.$ac_objext; then :
1553 $as_echo "$as_me: failed program was:" >&5
1554 sed 's/^/| /' conftest.$ac_ext >&5
1558 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1559 as_fn_set_status $ac_retval
1561 } # ac_fn_c_try_compile
1563 # ac_fn_c_try_link LINENO
1564 # -----------------------
1565 # Try to link conftest.$ac_ext, and return whether this succeeded.
1568 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1569 rm -f conftest.$ac_objext conftest$ac_exeext
1570 if { { ac_try="$ac_link"
1572 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1573 *) ac_try_echo=$ac_try;;
1575 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1576 $as_echo "$ac_try_echo"; } >&5
1577 (eval "$ac_link") 2>conftest.err
1579 if test -s conftest.err; then
1580 grep -v '^ *+' conftest.err >conftest.er1
1581 cat conftest.er1 >&5
1582 mv -f conftest.er1 conftest.err
1584 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1585 test $ac_status = 0; } && {
1586 test -z "$ac_c_werror_flag" ||
1587 test ! -s conftest.err
1588 } && test -s conftest$ac_exeext && {
1589 test "$cross_compiling" = yes ||
1590 $as_test_x conftest$ac_exeext
1594 $as_echo "$as_me: failed program was:" >&5
1595 sed 's/^/| /' conftest.$ac_ext >&5
1599 # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
1600 # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
1601 # interfere with the next link command; also delete a directory that is
1602 # left behind by Apple's compiler. We do this before executing the actions.
1603 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
1604 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1605 as_fn_set_status $ac_retval
1607 } # ac_fn_c_try_link
1609 # ac_fn_c_check_header_compile LINENO HEADER VAR INCLUDES
1610 # -------------------------------------------------------
1611 # Tests whether HEADER exists and can be compiled using the include files in
1612 # INCLUDES, setting the cache variable VAR accordingly.
1613 ac_fn_c_check_header_compile ()
1615 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1616 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1617 $as_echo_n "checking for $2... " >&6; }
1618 if eval \${$3+:} false; then :
1619 $as_echo_n "(cached) " >&6
1621 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1622 /* end confdefs.h. */
1626 if ac_fn_c_try_compile "$LINENO"; then :
1631 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1634 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1635 $as_echo "$ac_res" >&6; }
1636 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1638 } # ac_fn_c_check_header_compile
1640 # ac_fn_c_try_cpp LINENO
1641 # ----------------------
1642 # Try to preprocess conftest.$ac_ext, and return whether this succeeded.
1645 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1646 if { { ac_try="$ac_cpp conftest.$ac_ext"
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_cpp conftest.$ac_ext") 2>conftest.err
1655 if test -s conftest.err; then
1656 grep -v '^ *+' conftest.err >conftest.er1
1657 cat conftest.er1 >&5
1658 mv -f conftest.er1 conftest.err
1660 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1661 test $ac_status = 0; } > conftest.i && {
1662 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
1663 test ! -s conftest.err
1667 $as_echo "$as_me: failed program was:" >&5
1668 sed 's/^/| /' conftest.$ac_ext >&5
1672 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1673 as_fn_set_status $ac_retval
1677 # ac_fn_c_try_run LINENO
1678 # ----------------------
1679 # Try to link conftest.$ac_ext, and return whether this succeeded. Assumes
1680 # that executables *can* be run.
1683 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1684 if { { ac_try="$ac_link"
1686 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1687 *) ac_try_echo=$ac_try;;
1689 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1690 $as_echo "$ac_try_echo"; } >&5
1691 (eval "$ac_link") 2>&5
1693 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1694 test $ac_status = 0; } && { ac_try='./conftest$ac_exeext'
1695 { { case "(($ac_try" in
1696 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1697 *) ac_try_echo=$ac_try;;
1699 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1700 $as_echo "$ac_try_echo"; } >&5
1701 (eval "$ac_try") 2>&5
1703 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1704 test $ac_status = 0; }; }; then :
1707 $as_echo "$as_me: program exited with status $ac_status" >&5
1708 $as_echo "$as_me: failed program was:" >&5
1709 sed 's/^/| /' conftest.$ac_ext >&5
1711 ac_retval=$ac_status
1713 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
1714 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1715 as_fn_set_status $ac_retval
1719 # ac_fn_c_check_func LINENO FUNC VAR
1720 # ----------------------------------
1721 # Tests whether FUNC exists, setting the cache variable VAR accordingly
1722 ac_fn_c_check_func ()
1724 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1725 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1726 $as_echo_n "checking for $2... " >&6; }
1727 if eval \${$3+:} false; then :
1728 $as_echo_n "(cached) " >&6
1730 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1731 /* end confdefs.h. */
1732 /* Define $2 to an innocuous variant, in case <limits.h> declares $2.
1733 For example, HP-UX 11i <limits.h> declares gettimeofday. */
1734 #define $2 innocuous_$2
1736 /* System header to define __stub macros and hopefully few prototypes,
1737 which can conflict with char $2 (); below.
1738 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
1739 <limits.h> exists even on freestanding compilers. */
1742 # include <limits.h>
1744 # include <assert.h>
1749 /* Override any GCC internal prototype to avoid an error.
1750 Use char because int might match the return type of a GCC
1751 builtin and then its argument prototype would still apply. */
1756 /* The GNU C library defines this for functions which it implements
1757 to always fail with ENOSYS. Some functions are actually named
1758 something starting with __ and the normal name is an alias. */
1759 #if defined __stub_$2 || defined __stub___$2
1771 if ac_fn_c_try_link "$LINENO"; then :
1776 rm -f core conftest.err conftest.$ac_objext \
1777 conftest$ac_exeext conftest.$ac_ext
1780 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1781 $as_echo "$ac_res" >&6; }
1782 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1784 } # ac_fn_c_check_func
1786 # ac_fn_c_check_type LINENO TYPE VAR INCLUDES
1787 # -------------------------------------------
1788 # Tests whether TYPE exists after having included INCLUDES, setting cache
1789 # variable VAR accordingly.
1790 ac_fn_c_check_type ()
1792 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1793 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1794 $as_echo_n "checking for $2... " >&6; }
1795 if eval \${$3+:} false; then :
1796 $as_echo_n "(cached) " >&6
1799 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1800 /* end confdefs.h. */
1811 if ac_fn_c_try_compile "$LINENO"; then :
1812 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1813 /* end confdefs.h. */
1824 if ac_fn_c_try_compile "$LINENO"; then :
1829 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1831 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1834 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1835 $as_echo "$ac_res" >&6; }
1836 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1838 } # ac_fn_c_check_type
1840 # ac_fn_c_check_header_mongrel LINENO HEADER VAR INCLUDES
1841 # -------------------------------------------------------
1842 # Tests whether HEADER exists, giving a warning if it cannot be compiled using
1843 # the include files in INCLUDES and setting the cache variable VAR
1845 ac_fn_c_check_header_mongrel ()
1847 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1848 if eval \${$3+:} false; then :
1849 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1850 $as_echo_n "checking for $2... " >&6; }
1851 if eval \${$3+:} false; then :
1852 $as_echo_n "(cached) " >&6
1855 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1856 $as_echo "$ac_res" >&6; }
1858 # Is the header compilable?
1859 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 usability" >&5
1860 $as_echo_n "checking $2 usability... " >&6; }
1861 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1862 /* end confdefs.h. */
1866 if ac_fn_c_try_compile "$LINENO"; then :
1867 ac_header_compiler=yes
1869 ac_header_compiler=no
1871 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1872 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_compiler" >&5
1873 $as_echo "$ac_header_compiler" >&6; }
1875 # Is the header present?
1876 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 presence" >&5
1877 $as_echo_n "checking $2 presence... " >&6; }
1878 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1879 /* end confdefs.h. */
1882 if ac_fn_c_try_cpp "$LINENO"; then :
1883 ac_header_preproc=yes
1885 ac_header_preproc=no
1887 rm -f conftest.err conftest.i conftest.$ac_ext
1888 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_preproc" >&5
1889 $as_echo "$ac_header_preproc" >&6; }
1891 # So? What about this header?
1892 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in #((
1894 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&5
1895 $as_echo "$as_me: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&2;}
1896 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
1897 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
1900 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: present but cannot be compiled" >&5
1901 $as_echo "$as_me: WARNING: $2: present but cannot be compiled" >&2;}
1902 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: check for missing prerequisite headers?" >&5
1903 $as_echo "$as_me: WARNING: $2: check for missing prerequisite headers?" >&2;}
1904 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: see the Autoconf documentation" >&5
1905 $as_echo "$as_me: WARNING: $2: see the Autoconf documentation" >&2;}
1906 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&5
1907 $as_echo "$as_me: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&2;}
1908 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
1909 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
1910 ( $as_echo "## ------------------------------------ ##
1911 ## Report this to evgeny@sourceforge.jp ##
1912 ## ------------------------------------ ##"
1913 ) | sed "s/^/$as_me: WARNING: /" >&2
1916 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1917 $as_echo_n "checking for $2... " >&6; }
1918 if eval \${$3+:} false; then :
1919 $as_echo_n "(cached) " >&6
1921 eval "$3=\$ac_header_compiler"
1924 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1925 $as_echo "$ac_res" >&6; }
1927 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1929 } # ac_fn_c_check_header_mongrel
1930 cat >config.log <<_ACEOF
1931 This file contains any messages produced by compilers while
1932 running configure, to aid debugging if configure makes a mistake.
1934 It was created by eb123 $as_me 0.5, which was
1935 generated by GNU Autoconf 2.68. Invocation command line was
1947 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
1948 uname -m = `(uname -m) 2>/dev/null || echo unknown`
1949 uname -r = `(uname -r) 2>/dev/null || echo unknown`
1950 uname -s = `(uname -s) 2>/dev/null || echo unknown`
1951 uname -v = `(uname -v) 2>/dev/null || echo unknown`
1953 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
1954 /bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown`
1956 /bin/arch = `(/bin/arch) 2>/dev/null || echo unknown`
1957 /usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown`
1958 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
1959 /usr/bin/hostinfo = `(/usr/bin/hostinfo) 2>/dev/null || echo unknown`
1960 /bin/machine = `(/bin/machine) 2>/dev/null || echo unknown`
1961 /usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown`
1962 /bin/universe = `(/bin/universe) 2>/dev/null || echo unknown`
1966 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1970 test -z "$as_dir" && as_dir=.
1971 $as_echo "PATH: $as_dir"
1987 # Keep a trace of the command line.
1988 # Strip out --no-create and --no-recursion so they do not pile up.
1989 # Strip out --silent because we don't want to record it for future runs.
1990 # Also quote any args containing shell meta-characters.
1991 # Make two passes to allow for proper duplicate-argument suppression.
1995 ac_must_keep_next=false
2001 -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
2002 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
2003 | -silent | --silent | --silen | --sile | --sil)
2006 ac_arg=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
2009 1) as_fn_append ac_configure_args0 " '$ac_arg'" ;;
2011 as_fn_append ac_configure_args1 " '$ac_arg'"
2012 if test $ac_must_keep_next = true; then
2013 ac_must_keep_next=false # Got value, back to normal.
2016 *=* | --config-cache | -C | -disable-* | --disable-* \
2017 | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
2018 | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
2019 | -with-* | --with-* | -without-* | --without-* | --x)
2020 case "$ac_configure_args0 " in
2021 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
2024 -* ) ac_must_keep_next=true ;;
2027 as_fn_append ac_configure_args " '$ac_arg'"
2032 { ac_configure_args0=; unset ac_configure_args0;}
2033 { ac_configure_args1=; unset ac_configure_args1;}
2035 # When interrupted or exit'd, cleanup temporary files, and complete
2036 # config.log. We remove comments because anyway the quotes in there
2037 # would cause problems or look ugly.
2038 # WARNING: Use '\'' to represent an apostrophe within the trap.
2039 # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
2040 trap 'exit_status=$?
2041 # Save into config.log some information that might help in debugging.
2045 $as_echo "## ---------------- ##
2046 ## Cache variables. ##
2047 ## ---------------- ##"
2049 # The following way of writing the cache mishandles newlines in values,
2051 for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
2052 eval ac_val=\$$ac_var
2056 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
2057 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
2060 _ | IFS | as_nl) ;; #(
2061 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
2062 *) { eval $ac_var=; unset $ac_var;} ;;
2067 case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
2068 *${as_nl}ac_space=\ *)
2070 "s/'\''/'\''\\\\'\'''\''/g;
2071 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
2074 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
2081 $as_echo "## ----------------- ##
2082 ## Output variables. ##
2083 ## ----------------- ##"
2085 for ac_var in $ac_subst_vars
2087 eval ac_val=\$$ac_var
2089 *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
2091 $as_echo "$ac_var='\''$ac_val'\''"
2095 if test -n "$ac_subst_files"; then
2096 $as_echo "## ------------------- ##
2097 ## File substitutions. ##
2098 ## ------------------- ##"
2100 for ac_var in $ac_subst_files
2102 eval ac_val=\$$ac_var
2104 *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
2106 $as_echo "$ac_var='\''$ac_val'\''"
2111 if test -s confdefs.h; then
2112 $as_echo "## ----------- ##
2119 test "$ac_signal" != 0 &&
2120 $as_echo "$as_me: caught signal $ac_signal"
2121 $as_echo "$as_me: exit $exit_status"
2123 rm -f core *.core core.conftest.* &&
2124 rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
2127 for ac_signal in 1 2 13 15; do
2128 trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal
2132 # confdefs.h avoids OS command line length limits that DEFS can exceed.
2133 rm -f -r conftest* confdefs.h
2135 $as_echo "/* confdefs.h */" > confdefs.h
2137 # Predefined preprocessor variables.
2139 cat >>confdefs.h <<_ACEOF
2140 #define PACKAGE_NAME "$PACKAGE_NAME"
2143 cat >>confdefs.h <<_ACEOF
2144 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
2147 cat >>confdefs.h <<_ACEOF
2148 #define PACKAGE_VERSION "$PACKAGE_VERSION"
2151 cat >>confdefs.h <<_ACEOF
2152 #define PACKAGE_STRING "$PACKAGE_STRING"
2155 cat >>confdefs.h <<_ACEOF
2156 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
2159 cat >>confdefs.h <<_ACEOF
2160 #define PACKAGE_URL "$PACKAGE_URL"
2164 # Let the site file select an alternate cache file if it wants to.
2165 # Prefer an explicitly selected file to automatically selected ones.
2168 if test -n "$CONFIG_SITE"; then
2169 # We do not want a PATH search for config.site.
2170 case $CONFIG_SITE in #((
2171 -*) ac_site_file1=./$CONFIG_SITE;;
2172 */*) ac_site_file1=$CONFIG_SITE;;
2173 *) ac_site_file1=./$CONFIG_SITE;;
2175 elif test "x$prefix" != xNONE; then
2176 ac_site_file1=$prefix/share/config.site
2177 ac_site_file2=$prefix/etc/config.site
2179 ac_site_file1=$ac_default_prefix/share/config.site
2180 ac_site_file2=$ac_default_prefix/etc/config.site
2182 for ac_site_file in "$ac_site_file1" "$ac_site_file2"
2184 test "x$ac_site_file" = xNONE && continue
2185 if test /dev/null != "$ac_site_file" && test -r "$ac_site_file"; then
2186 { $as_echo "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5
2187 $as_echo "$as_me: loading site script $ac_site_file" >&6;}
2188 sed 's/^/| /' "$ac_site_file" >&5
2190 || { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2191 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2192 as_fn_error $? "failed to load site script $ac_site_file
2193 See \`config.log' for more details" "$LINENO" 5; }
2197 if test -r "$cache_file"; then
2198 # Some versions of bash will fail to source /dev/null (special files
2199 # actually), so we avoid doing that. DJGPP emulates it as a regular file.
2200 if test /dev/null != "$cache_file" && test -f "$cache_file"; then
2201 { $as_echo "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5
2202 $as_echo "$as_me: loading cache $cache_file" >&6;}
2204 [\\/]* | ?:[\\/]* ) . "$cache_file";;
2205 *) . "./$cache_file";;
2209 { $as_echo "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5
2210 $as_echo "$as_me: creating cache $cache_file" >&6;}
2214 # Check that the precious variables saved in the cache have kept the same
2216 ac_cache_corrupted=false
2217 for ac_var in $ac_precious_vars; do
2218 eval ac_old_set=\$ac_cv_env_${ac_var}_set
2219 eval ac_new_set=\$ac_env_${ac_var}_set
2220 eval ac_old_val=\$ac_cv_env_${ac_var}_value
2221 eval ac_new_val=\$ac_env_${ac_var}_value
2222 case $ac_old_set,$ac_new_set in
2224 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
2225 $as_echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
2226 ac_cache_corrupted=: ;;
2228 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not set in the previous run" >&5
2229 $as_echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
2230 ac_cache_corrupted=: ;;
2233 if test "x$ac_old_val" != "x$ac_new_val"; then
2234 # differences in whitespace do not lead to failure.
2235 ac_old_val_w=`echo x $ac_old_val`
2236 ac_new_val_w=`echo x $ac_new_val`
2237 if test "$ac_old_val_w" != "$ac_new_val_w"; then
2238 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&5
2239 $as_echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
2240 ac_cache_corrupted=:
2242 { $as_echo "$as_me:${as_lineno-$LINENO}: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5
2243 $as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;}
2244 eval $ac_var=\$ac_old_val
2246 { $as_echo "$as_me:${as_lineno-$LINENO}: former value: \`$ac_old_val'" >&5
2247 $as_echo "$as_me: former value: \`$ac_old_val'" >&2;}
2248 { $as_echo "$as_me:${as_lineno-$LINENO}: current value: \`$ac_new_val'" >&5
2249 $as_echo "$as_me: current value: \`$ac_new_val'" >&2;}
2252 # Pass precious variables to config.status.
2253 if test "$ac_new_set" = set; then
2255 *\'*) ac_arg=$ac_var=`$as_echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
2256 *) ac_arg=$ac_var=$ac_new_val ;;
2258 case " $ac_configure_args " in
2259 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
2260 *) as_fn_append ac_configure_args " '$ac_arg'" ;;
2264 if $ac_cache_corrupted; then
2265 { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2266 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2267 { $as_echo "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5
2268 $as_echo "$as_me: error: changes in the environment can compromise the build" >&2;}
2269 as_fn_error $? "run \`make distclean' and/or \`rm $cache_file' and start over" "$LINENO" 5
2271 ## -------------------- ##
2272 ## Main body of script. ##
2273 ## -------------------- ##
2276 ac_cpp='$CPP $CPPFLAGS'
2277 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2278 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2279 ac_compiler_gnu=$ac_cv_c_compiler_gnu
2283 ac_config_headers="$ac_config_headers config.h"
2286 am__api_version='1.11'
2289 for ac_dir in "$srcdir" "$srcdir/.." "$srcdir/../.."; do
2290 if test -f "$ac_dir/install-sh"; then
2292 ac_install_sh="$ac_aux_dir/install-sh -c"
2294 elif test -f "$ac_dir/install.sh"; then
2296 ac_install_sh="$ac_aux_dir/install.sh -c"
2298 elif test -f "$ac_dir/shtool"; then
2300 ac_install_sh="$ac_aux_dir/shtool install -c"
2304 if test -z "$ac_aux_dir"; then
2305 as_fn_error $? "cannot find install-sh, install.sh, or shtool in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" "$LINENO" 5
2308 # These three variables are undocumented and unsupported,
2309 # and are intended to be withdrawn in a future Autoconf release.
2310 # They can cause serious problems if a builder's source tree is in a directory
2311 # whose full name contains unusual characters.
2312 ac_config_guess="$SHELL $ac_aux_dir/config.guess" # Please don't use this var.
2313 ac_config_sub="$SHELL $ac_aux_dir/config.sub" # Please don't use this var.
2314 ac_configure="$SHELL $ac_aux_dir/configure" # Please don't use this var.
2317 # Find a good install program. We prefer a C program (faster),
2318 # so one script is as good as another. But avoid the broken or
2319 # incompatible versions:
2320 # SysV /etc/install, /usr/sbin/install
2321 # SunOS /usr/etc/install
2322 # IRIX /sbin/install
2324 # AmigaOS /C/install, which installs bootblocks on floppy discs
2325 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
2326 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
2327 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
2328 # OS/2's system install, which has a completely different semantic
2329 # ./install, which can be erroneously created by make from ./install.sh.
2330 # Reject install programs that cannot install multiple files.
2331 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a BSD-compatible install" >&5
2332 $as_echo_n "checking for a BSD-compatible install... " >&6; }
2333 if test -z "$INSTALL"; then
2334 if ${ac_cv_path_install+:} false; then :
2335 $as_echo_n "(cached) " >&6
2337 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2341 test -z "$as_dir" && as_dir=.
2342 # Account for people who put trailing slashes in PATH elements.
2343 case $as_dir/ in #((
2344 ./ | .// | /[cC]/* | \
2345 /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
2346 ?:[\\/]os2[\\/]install[\\/]* | ?:[\\/]OS2[\\/]INSTALL[\\/]* | \
2349 # OSF1 and SCO ODT 3.0 have their own names for install.
2350 # Don't use installbsd from OSF since it installs stuff as root
2352 for ac_prog in ginstall scoinst install; do
2353 for ac_exec_ext in '' $ac_executable_extensions; do
2354 if { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; }; then
2355 if test $ac_prog = install &&
2356 grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
2357 # AIX install. It has an incompatible calling convention.
2359 elif test $ac_prog = install &&
2360 grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
2361 # program-specific install script used by HP pwplus--don't use.
2364 rm -rf conftest.one conftest.two conftest.dir
2365 echo one > conftest.one
2366 echo two > conftest.two
2368 if "$as_dir/$ac_prog$ac_exec_ext" -c conftest.one conftest.two "`pwd`/conftest.dir" &&
2369 test -s conftest.one && test -s conftest.two &&
2370 test -s conftest.dir/conftest.one &&
2371 test -s conftest.dir/conftest.two
2373 ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
2386 rm -rf conftest.one conftest.two conftest.dir
2389 if test "${ac_cv_path_install+set}" = set; then
2390 INSTALL=$ac_cv_path_install
2392 # As a last resort, use the slow shell script. Don't cache a
2393 # value for INSTALL within a source directory, because that will
2394 # break other packages using the cache if that directory is
2395 # removed, or if the value is a relative name.
2396 INSTALL=$ac_install_sh
2399 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $INSTALL" >&5
2400 $as_echo "$INSTALL" >&6; }
2402 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
2403 # It thinks the first close brace ends the variable substitution.
2404 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
2406 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
2408 test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
2410 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether build environment is sane" >&5
2411 $as_echo_n "checking whether build environment is sane... " >&6; }
2414 echo timestamp > conftest.file
2415 # Reject unsafe characters in $srcdir or the absolute working directory
2416 # name. Accept space and tab only in the latter.
2420 *[\\\"\#\$\&\'\`$am_lf]*)
2421 as_fn_error $? "unsafe absolute working directory name" "$LINENO" 5;;
2424 *[\\\"\#\$\&\'\`$am_lf\ \ ]*)
2425 as_fn_error $? "unsafe srcdir value: \`$srcdir'" "$LINENO" 5;;
2428 # Do `set' in a subshell so we don't clobber the current shell's
2429 # arguments. Must try -L first in case configure is actually a
2430 # symlink; some systems play weird games with the mod time of symlinks
2431 # (eg FreeBSD returns the mod time of the symlink's containing
2434 set X `ls -Lt "$srcdir/configure" conftest.file 2> /dev/null`
2435 if test "$*" = "X"; then
2437 set X `ls -t "$srcdir/configure" conftest.file`
2440 if test "$*" != "X $srcdir/configure conftest.file" \
2441 && test "$*" != "X conftest.file $srcdir/configure"; then
2443 # If neither matched, then we have a broken ls. This can happen
2444 # if, for instance, CONFIG_SHELL is bash and it inherits a
2445 # broken ls alias from the environment. This has actually
2446 # happened. Such a system could not be considered "sane".
2447 as_fn_error $? "ls -t appears to fail. Make sure there is not a broken
2448 alias in your environment" "$LINENO" 5
2451 test "$2" = conftest.file
2457 as_fn_error $? "newly created file is older than distributed files!
2458 Check your system clock" "$LINENO" 5
2460 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
2461 $as_echo "yes" >&6; }
2462 test "$program_prefix" != NONE &&
2463 program_transform_name="s&^&$program_prefix&;$program_transform_name"
2464 # Use a double $ so make ignores it.
2465 test "$program_suffix" != NONE &&
2466 program_transform_name="s&\$&$program_suffix&;$program_transform_name"
2467 # Double any \ or $.
2468 # By default was `s,x,x', remove it if useless.
2469 ac_script='s/[\\$]/&&/g;s/;s,x,x,$//'
2470 program_transform_name=`$as_echo "$program_transform_name" | sed "$ac_script"`
2472 # expand $ac_aux_dir to an absolute path
2473 am_aux_dir=`cd $ac_aux_dir && pwd`
2475 if test x"${MISSING+set}" != xset; then
2478 MISSING="\${SHELL} \"$am_aux_dir/missing\"" ;;
2480 MISSING="\${SHELL} $am_aux_dir/missing" ;;
2483 # Use eval to expand $SHELL
2484 if eval "$MISSING --run true"; then
2485 am_missing_run="$MISSING --run "
2488 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \`missing' script is too old or missing" >&5
2489 $as_echo "$as_me: WARNING: \`missing' script is too old or missing" >&2;}
2492 if test x"${install_sh}" != xset; then
2495 install_sh="\${SHELL} '$am_aux_dir/install-sh'" ;;
2497 install_sh="\${SHELL} $am_aux_dir/install-sh"
2501 # Installed binaries are usually stripped using `strip' when the user
2502 # run `make install-strip'. However `strip' might not be the right
2503 # tool to use in cross-compilation environments, therefore Automake
2504 # will honor the `STRIP' environment variable to overrule this program.
2505 if test "$cross_compiling" != no; then
2506 if test -n "$ac_tool_prefix"; then
2507 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
2508 set dummy ${ac_tool_prefix}strip; ac_word=$2
2509 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2510 $as_echo_n "checking for $ac_word... " >&6; }
2511 if ${ac_cv_prog_STRIP+:} false; then :
2512 $as_echo_n "(cached) " >&6
2514 if test -n "$STRIP"; then
2515 ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
2517 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2521 test -z "$as_dir" && as_dir=.
2522 for ac_exec_ext in '' $ac_executable_extensions; do
2523 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2524 ac_cv_prog_STRIP="${ac_tool_prefix}strip"
2525 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2534 STRIP=$ac_cv_prog_STRIP
2535 if test -n "$STRIP"; then
2536 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
2537 $as_echo "$STRIP" >&6; }
2539 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2540 $as_echo "no" >&6; }
2545 if test -z "$ac_cv_prog_STRIP"; then
2547 # Extract the first word of "strip", so it can be a program name with args.
2548 set dummy strip; ac_word=$2
2549 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2550 $as_echo_n "checking for $ac_word... " >&6; }
2551 if ${ac_cv_prog_ac_ct_STRIP+:} false; then :
2552 $as_echo_n "(cached) " >&6
2554 if test -n "$ac_ct_STRIP"; then
2555 ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
2557 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2561 test -z "$as_dir" && as_dir=.
2562 for ac_exec_ext in '' $ac_executable_extensions; do
2563 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2564 ac_cv_prog_ac_ct_STRIP="strip"
2565 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2574 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
2575 if test -n "$ac_ct_STRIP"; then
2576 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
2577 $as_echo "$ac_ct_STRIP" >&6; }
2579 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2580 $as_echo "no" >&6; }
2583 if test "x$ac_ct_STRIP" = x; then
2586 case $cross_compiling:$ac_tool_warned in
2588 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
2589 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
2590 ac_tool_warned=yes ;;
2595 STRIP="$ac_cv_prog_STRIP"
2599 INSTALL_STRIP_PROGRAM="\$(install_sh) -c -s"
2601 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a thread-safe mkdir -p" >&5
2602 $as_echo_n "checking for a thread-safe mkdir -p... " >&6; }
2603 if test -z "$MKDIR_P"; then
2604 if ${ac_cv_path_mkdir+:} false; then :
2605 $as_echo_n "(cached) " >&6
2607 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2608 for as_dir in $PATH$PATH_SEPARATOR/opt/sfw/bin
2611 test -z "$as_dir" && as_dir=.
2612 for ac_prog in mkdir gmkdir; do
2613 for ac_exec_ext in '' $ac_executable_extensions; do
2614 { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; } || continue
2615 case `"$as_dir/$ac_prog$ac_exec_ext" --version 2>&1` in #(
2616 'mkdir (GNU coreutils) '* | \
2617 'mkdir (coreutils) '* | \
2618 'mkdir (fileutils) '4.1*)
2619 ac_cv_path_mkdir=$as_dir/$ac_prog$ac_exec_ext
2629 test -d ./--version && rmdir ./--version
2630 if test "${ac_cv_path_mkdir+set}" = set; then
2631 MKDIR_P="$ac_cv_path_mkdir -p"
2633 # As a last resort, use the slow shell script. Don't cache a
2634 # value for MKDIR_P within a source directory, because that will
2635 # break other packages using the cache if that directory is
2636 # removed, or if the value is a relative name.
2637 MKDIR_P="$ac_install_sh -d"
2640 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MKDIR_P" >&5
2641 $as_echo "$MKDIR_P" >&6; }
2645 [\\/$]* | ?:[\\/]*) ;;
2646 */*) mkdir_p="\$(top_builddir)/$mkdir_p" ;;
2649 for ac_prog in gawk mawk nawk awk
2651 # Extract the first word of "$ac_prog", so it can be a program name with args.
2652 set dummy $ac_prog; ac_word=$2
2653 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2654 $as_echo_n "checking for $ac_word... " >&6; }
2655 if ${ac_cv_prog_AWK+:} false; then :
2656 $as_echo_n "(cached) " >&6
2658 if test -n "$AWK"; then
2659 ac_cv_prog_AWK="$AWK" # Let the user override the test.
2661 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2665 test -z "$as_dir" && as_dir=.
2666 for ac_exec_ext in '' $ac_executable_extensions; do
2667 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2668 ac_cv_prog_AWK="$ac_prog"
2669 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2679 if test -n "$AWK"; then
2680 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AWK" >&5
2681 $as_echo "$AWK" >&6; }
2683 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2684 $as_echo "no" >&6; }
2688 test -n "$AWK" && break
2691 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5
2692 $as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; }
2694 ac_make=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
2695 if eval \${ac_cv_prog_make_${ac_make}_set+:} false; then :
2696 $as_echo_n "(cached) " >&6
2698 cat >conftest.make <<\_ACEOF
2701 @echo '@@@%%%=$(MAKE)=@@@%%%'
2703 # GNU make sometimes prints "make[1]: Entering ...", which would confuse us.
2704 case `${MAKE-make} -f conftest.make 2>/dev/null` in
2706 eval ac_cv_prog_make_${ac_make}_set=yes;;
2708 eval ac_cv_prog_make_${ac_make}_set=no;;
2712 if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then
2713 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
2714 $as_echo "yes" >&6; }
2717 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2718 $as_echo "no" >&6; }
2719 SET_MAKE="MAKE=${MAKE-make}"
2722 rm -rf .tst 2>/dev/null
2723 mkdir .tst 2>/dev/null
2724 if test -d .tst; then
2729 rmdir .tst 2>/dev/null
2731 if test "`cd $srcdir && pwd`" != "`pwd`"; then
2732 # Use -I$(srcdir) only when $(srcdir) != ., so that make's output
2733 # is not polluted with repeated "-I."
2734 am__isrc=' -I$(srcdir)'
2735 # test to see if srcdir already configured
2736 if test -f $srcdir/config.status; then
2737 as_fn_error $? "source directory already configured; run \"make distclean\" there first" "$LINENO" 5
2741 # test whether we have cygpath
2742 if test -z "$CYGPATH_W"; then
2743 if (cygpath --version) >/dev/null 2>/dev/null; then
2744 CYGPATH_W='cygpath -w'
2751 # Define the identity of the package.
2752 PACKAGE=$PACKAGE_NAME
2753 VERSION=$PACKAGE_VERSION
2756 cat >>confdefs.h <<_ACEOF
2757 #define PACKAGE "$PACKAGE"
2761 cat >>confdefs.h <<_ACEOF
2762 #define VERSION "$VERSION"
2765 # Some tools Automake needs.
2767 ACLOCAL=${ACLOCAL-"${am_missing_run}aclocal-${am__api_version}"}
2770 AUTOCONF=${AUTOCONF-"${am_missing_run}autoconf"}
2773 AUTOMAKE=${AUTOMAKE-"${am_missing_run}automake-${am__api_version}"}
2776 AUTOHEADER=${AUTOHEADER-"${am_missing_run}autoheader"}
2779 MAKEINFO=${MAKEINFO-"${am_missing_run}makeinfo"}
2781 # We need awk for the "check" target. The system "awk" is bad on
2783 # Always define AMTAR for backward compatibility.
2785 AMTAR=${AMTAR-"${am_missing_run}tar"}
2787 am__tar='${AMTAR} chof - "$$tardir"'; am__untar='${AMTAR} xf -'
2794 # Checks for programs
2797 ac_cpp='$CPP $CPPFLAGS'
2798 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2799 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2800 ac_compiler_gnu=$ac_cv_c_compiler_gnu
2801 if test -n "$ac_tool_prefix"; then
2802 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
2803 set dummy ${ac_tool_prefix}gcc; ac_word=$2
2804 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2805 $as_echo_n "checking for $ac_word... " >&6; }
2806 if ${ac_cv_prog_CC+:} false; then :
2807 $as_echo_n "(cached) " >&6
2809 if test -n "$CC"; then
2810 ac_cv_prog_CC="$CC" # Let the user override the test.
2812 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2816 test -z "$as_dir" && as_dir=.
2817 for ac_exec_ext in '' $ac_executable_extensions; do
2818 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2819 ac_cv_prog_CC="${ac_tool_prefix}gcc"
2820 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2830 if test -n "$CC"; then
2831 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
2832 $as_echo "$CC" >&6; }
2834 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2835 $as_echo "no" >&6; }
2840 if test -z "$ac_cv_prog_CC"; then
2842 # Extract the first word of "gcc", so it can be a program name with args.
2843 set dummy gcc; ac_word=$2
2844 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2845 $as_echo_n "checking for $ac_word... " >&6; }
2846 if ${ac_cv_prog_ac_ct_CC+:} false; then :
2847 $as_echo_n "(cached) " >&6
2849 if test -n "$ac_ct_CC"; then
2850 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
2852 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2856 test -z "$as_dir" && as_dir=.
2857 for ac_exec_ext in '' $ac_executable_extensions; do
2858 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2859 ac_cv_prog_ac_ct_CC="gcc"
2860 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2869 ac_ct_CC=$ac_cv_prog_ac_ct_CC
2870 if test -n "$ac_ct_CC"; then
2871 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
2872 $as_echo "$ac_ct_CC" >&6; }
2874 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2875 $as_echo "no" >&6; }
2878 if test "x$ac_ct_CC" = x; then
2881 case $cross_compiling:$ac_tool_warned in
2883 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
2884 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
2885 ac_tool_warned=yes ;;
2893 if test -z "$CC"; then
2894 if test -n "$ac_tool_prefix"; then
2895 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
2896 set dummy ${ac_tool_prefix}cc; ac_word=$2
2897 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2898 $as_echo_n "checking for $ac_word... " >&6; }
2899 if ${ac_cv_prog_CC+:} false; then :
2900 $as_echo_n "(cached) " >&6
2902 if test -n "$CC"; then
2903 ac_cv_prog_CC="$CC" # Let the user override the test.
2905 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2909 test -z "$as_dir" && as_dir=.
2910 for ac_exec_ext in '' $ac_executable_extensions; do
2911 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2912 ac_cv_prog_CC="${ac_tool_prefix}cc"
2913 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2923 if test -n "$CC"; then
2924 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
2925 $as_echo "$CC" >&6; }
2927 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2928 $as_echo "no" >&6; }
2934 if test -z "$CC"; then
2935 # Extract the first word of "cc", so it can be a program name with args.
2936 set dummy cc; ac_word=$2
2937 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2938 $as_echo_n "checking for $ac_word... " >&6; }
2939 if ${ac_cv_prog_CC+:} false; then :
2940 $as_echo_n "(cached) " >&6
2942 if test -n "$CC"; then
2943 ac_cv_prog_CC="$CC" # Let the user override the test.
2946 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2950 test -z "$as_dir" && as_dir=.
2951 for ac_exec_ext in '' $ac_executable_extensions; do
2952 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2953 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
2954 ac_prog_rejected=yes
2958 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2965 if test $ac_prog_rejected = yes; then
2966 # We found a bogon in the path, so make sure we never use it.
2967 set dummy $ac_cv_prog_CC
2969 if test $# != 0; then
2970 # We chose a different compiler from the bogus one.
2971 # However, it has the same basename, so the bogon will be chosen
2972 # first if we set CC to just the basename; use the full file name.
2974 ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
2980 if test -n "$CC"; then
2981 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
2982 $as_echo "$CC" >&6; }
2984 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2985 $as_echo "no" >&6; }
2990 if test -z "$CC"; then
2991 if test -n "$ac_tool_prefix"; then
2992 for ac_prog in cl.exe
2994 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
2995 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
2996 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2997 $as_echo_n "checking for $ac_word... " >&6; }
2998 if ${ac_cv_prog_CC+:} false; then :
2999 $as_echo_n "(cached) " >&6
3001 if test -n "$CC"; then
3002 ac_cv_prog_CC="$CC" # Let the user override the test.
3004 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3008 test -z "$as_dir" && as_dir=.
3009 for ac_exec_ext in '' $ac_executable_extensions; do
3010 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3011 ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
3012 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3022 if test -n "$CC"; then
3023 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3024 $as_echo "$CC" >&6; }
3026 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3027 $as_echo "no" >&6; }
3031 test -n "$CC" && break
3034 if test -z "$CC"; then
3036 for ac_prog in cl.exe
3038 # Extract the first word of "$ac_prog", so it can be a program name with args.
3039 set dummy $ac_prog; ac_word=$2
3040 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3041 $as_echo_n "checking for $ac_word... " >&6; }
3042 if ${ac_cv_prog_ac_ct_CC+:} false; then :
3043 $as_echo_n "(cached) " >&6
3045 if test -n "$ac_ct_CC"; then
3046 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
3048 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3052 test -z "$as_dir" && as_dir=.
3053 for ac_exec_ext in '' $ac_executable_extensions; do
3054 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3055 ac_cv_prog_ac_ct_CC="$ac_prog"
3056 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3065 ac_ct_CC=$ac_cv_prog_ac_ct_CC
3066 if test -n "$ac_ct_CC"; then
3067 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
3068 $as_echo "$ac_ct_CC" >&6; }
3070 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3071 $as_echo "no" >&6; }
3075 test -n "$ac_ct_CC" && break
3078 if test "x$ac_ct_CC" = x; then
3081 case $cross_compiling:$ac_tool_warned in
3083 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3084 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3085 ac_tool_warned=yes ;;
3094 test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3095 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3096 as_fn_error $? "no acceptable C compiler found in \$PATH
3097 See \`config.log' for more details" "$LINENO" 5; }
3099 # Provide some information about the compiler.
3100 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
3103 for ac_option in --version -v -V -qversion; do
3104 { { ac_try="$ac_compiler $ac_option >&5"
3106 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3107 *) ac_try_echo=$ac_try;;
3109 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3110 $as_echo "$ac_try_echo"; } >&5
3111 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
3113 if test -s conftest.err; then
3115 ... rest of stderr output deleted ...
3116 10q' conftest.err >conftest.er1
3117 cat conftest.er1 >&5
3119 rm -f conftest.er1 conftest.err
3120 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3121 test $ac_status = 0; }
3124 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3125 /* end confdefs.h. */
3135 ac_clean_files_save=$ac_clean_files
3136 ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out"
3137 # Try to create an executable without -o first, disregard a.out.
3138 # It will help us diagnose broken compilers, and finding out an intuition
3140 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler works" >&5
3141 $as_echo_n "checking whether the C compiler works... " >&6; }
3142 ac_link_default=`$as_echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
3144 # The possible output files:
3145 ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*"
3148 for ac_file in $ac_files
3151 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
3152 * ) ac_rmfiles="$ac_rmfiles $ac_file";;
3157 if { { ac_try="$ac_link_default"
3159 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3160 *) ac_try_echo=$ac_try;;
3162 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3163 $as_echo "$ac_try_echo"; } >&5
3164 (eval "$ac_link_default") 2>&5
3166 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3167 test $ac_status = 0; }; then :
3168 # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
3169 # So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
3170 # in a Makefile. We should not override ac_cv_exeext if it was cached,
3171 # so that the user can short-circuit this test for compilers unknown to
3173 for ac_file in $ac_files ''
3175 test -f "$ac_file" || continue
3177 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj )
3180 # We found the default executable, but exeext='' is most
3184 if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no;
3186 ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
3188 # We set ac_cv_exeext here because the later test for it is not
3189 # safe: cross compilers may not add the suffix if given an `-o'
3190 # argument, so we may need to know it at that point already.
3191 # Even if this section looks crufty: it has the advantage of
3198 test "$ac_cv_exeext" = no && ac_cv_exeext=
3203 if test -z "$ac_file"; then :
3204 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3205 $as_echo "no" >&6; }
3206 $as_echo "$as_me: failed program was:" >&5
3207 sed 's/^/| /' conftest.$ac_ext >&5
3209 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3210 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3211 as_fn_error 77 "C compiler cannot create executables
3212 See \`config.log' for more details" "$LINENO" 5; }
3214 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
3215 $as_echo "yes" >&6; }
3217 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler default output file name" >&5
3218 $as_echo_n "checking for C compiler default output file name... " >&6; }
3219 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5
3220 $as_echo "$ac_file" >&6; }
3221 ac_exeext=$ac_cv_exeext
3223 rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out
3224 ac_clean_files=$ac_clean_files_save
3225 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5
3226 $as_echo_n "checking for suffix of executables... " >&6; }
3227 if { { ac_try="$ac_link"
3229 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3230 *) ac_try_echo=$ac_try;;
3232 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3233 $as_echo "$ac_try_echo"; } >&5
3234 (eval "$ac_link") 2>&5
3236 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3237 test $ac_status = 0; }; then :
3238 # If both `conftest.exe' and `conftest' are `present' (well, observable)
3239 # catch `conftest.exe'. For instance with Cygwin, `ls conftest' will
3240 # work properly (i.e., refer to `conftest.exe'), while it won't with
3242 for ac_file in conftest.exe conftest conftest.*; do
3243 test -f "$ac_file" || continue
3245 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
3246 *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
3252 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3253 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3254 as_fn_error $? "cannot compute suffix of executables: cannot compile and link
3255 See \`config.log' for more details" "$LINENO" 5; }
3257 rm -f conftest conftest$ac_cv_exeext
3258 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5
3259 $as_echo "$ac_cv_exeext" >&6; }
3261 rm -f conftest.$ac_ext
3262 EXEEXT=$ac_cv_exeext
3264 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3265 /* end confdefs.h. */
3270 FILE *f = fopen ("conftest.out", "w");
3271 return ferror (f) || fclose (f) != 0;
3277 ac_clean_files="$ac_clean_files conftest.out"
3278 # Check that the compiler produces executables we can run. If not, either
3279 # the compiler is broken, or we cross compile.
3280 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5
3281 $as_echo_n "checking whether we are cross compiling... " >&6; }
3282 if test "$cross_compiling" != yes; then
3283 { { ac_try="$ac_link"
3285 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3286 *) ac_try_echo=$ac_try;;
3288 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3289 $as_echo "$ac_try_echo"; } >&5
3290 (eval "$ac_link") 2>&5
3292 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3293 test $ac_status = 0; }
3294 if { ac_try='./conftest$ac_cv_exeext'
3295 { { case "(($ac_try" in
3296 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3297 *) ac_try_echo=$ac_try;;
3299 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3300 $as_echo "$ac_try_echo"; } >&5
3301 (eval "$ac_try") 2>&5
3303 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3304 test $ac_status = 0; }; }; then
3307 if test "$cross_compiling" = maybe; then
3310 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3311 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3312 as_fn_error $? "cannot run C compiled programs.
3313 If you meant to cross compile, use \`--host'.
3314 See \`config.log' for more details" "$LINENO" 5; }
3318 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5
3319 $as_echo "$cross_compiling" >&6; }
3321 rm -f conftest.$ac_ext conftest$ac_cv_exeext conftest.out
3322 ac_clean_files=$ac_clean_files_save
3323 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5
3324 $as_echo_n "checking for suffix of object files... " >&6; }
3325 if ${ac_cv_objext+:} false; then :
3326 $as_echo_n "(cached) " >&6
3328 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3329 /* end confdefs.h. */
3339 rm -f conftest.o conftest.obj
3340 if { { ac_try="$ac_compile"
3342 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3343 *) ac_try_echo=$ac_try;;
3345 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3346 $as_echo "$ac_try_echo"; } >&5
3347 (eval "$ac_compile") 2>&5
3349 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3350 test $ac_status = 0; }; then :
3351 for ac_file in conftest.o conftest.obj conftest.*; do
3352 test -f "$ac_file" || continue;
3354 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;;
3355 *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
3360 $as_echo "$as_me: failed program was:" >&5
3361 sed 's/^/| /' conftest.$ac_ext >&5
3363 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3364 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3365 as_fn_error $? "cannot compute suffix of object files: cannot compile
3366 See \`config.log' for more details" "$LINENO" 5; }
3368 rm -f conftest.$ac_cv_objext conftest.$ac_ext
3370 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5
3371 $as_echo "$ac_cv_objext" >&6; }
3372 OBJEXT=$ac_cv_objext
3374 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
3375 $as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
3376 if ${ac_cv_c_compiler_gnu+:} false; then :
3377 $as_echo_n "(cached) " >&6
3379 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3380 /* end confdefs.h. */
3393 if ac_fn_c_try_compile "$LINENO"; then :
3398 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3399 ac_cv_c_compiler_gnu=$ac_compiler_gnu
3402 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
3403 $as_echo "$ac_cv_c_compiler_gnu" >&6; }
3404 if test $ac_compiler_gnu = yes; then
3409 ac_test_CFLAGS=${CFLAGS+set}
3410 ac_save_CFLAGS=$CFLAGS
3411 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
3412 $as_echo_n "checking whether $CC accepts -g... " >&6; }
3413 if ${ac_cv_prog_cc_g+:} false; then :
3414 $as_echo_n "(cached) " >&6
3416 ac_save_c_werror_flag=$ac_c_werror_flag
3417 ac_c_werror_flag=yes
3420 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3421 /* end confdefs.h. */
3431 if ac_fn_c_try_compile "$LINENO"; then :
3435 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3436 /* end confdefs.h. */
3446 if ac_fn_c_try_compile "$LINENO"; then :
3449 ac_c_werror_flag=$ac_save_c_werror_flag
3451 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3452 /* end confdefs.h. */
3462 if ac_fn_c_try_compile "$LINENO"; then :
3465 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3467 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3469 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3470 ac_c_werror_flag=$ac_save_c_werror_flag
3472 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
3473 $as_echo "$ac_cv_prog_cc_g" >&6; }
3474 if test "$ac_test_CFLAGS" = set; then
3475 CFLAGS=$ac_save_CFLAGS
3476 elif test $ac_cv_prog_cc_g = yes; then
3477 if test "$GCC" = yes; then
3483 if test "$GCC" = yes; then
3489 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
3490 $as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
3491 if ${ac_cv_prog_cc_c89+:} false; then :
3492 $as_echo_n "(cached) " >&6
3494 ac_cv_prog_cc_c89=no
3496 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3497 /* end confdefs.h. */
3500 #include <sys/types.h>
3501 #include <sys/stat.h>
3502 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
3503 struct buf { int x; };
3504 FILE * (*rcsopen) (struct buf *, struct stat *, int);
3505 static char *e (p, i)
3511 static char *f (char * (*g) (char **, int), char **p, ...)
3516 s = g (p, va_arg (v,int));
3521 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
3522 function prototypes and stuff, but not '\xHH' hex character constants.
3523 These don't provoke an error unfortunately, instead are silently treated
3524 as 'x'. The following induces an error, until -std is added to get
3525 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
3526 array size at least. It's necessary to write '\x00'==0 to get something
3527 that's true only with -std. */
3528 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
3530 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
3531 inside strings and character constants. */
3533 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
3535 int test (int i, double x);
3536 struct s1 {int (*f) (int a);};
3537 struct s2 {int (*f) (double a);};
3538 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
3544 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
3549 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
3550 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
3552 CC="$ac_save_CC $ac_arg"
3553 if ac_fn_c_try_compile "$LINENO"; then :
3554 ac_cv_prog_cc_c89=$ac_arg
3556 rm -f core conftest.err conftest.$ac_objext
3557 test "x$ac_cv_prog_cc_c89" != "xno" && break
3559 rm -f conftest.$ac_ext
3564 case "x$ac_cv_prog_cc_c89" in
3566 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
3567 $as_echo "none needed" >&6; } ;;
3569 { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
3570 $as_echo "unsupported" >&6; } ;;
3572 CC="$CC $ac_cv_prog_cc_c89"
3573 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
3574 $as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
3576 if test "x$ac_cv_prog_cc_c89" != xno; then :
3581 ac_cpp='$CPP $CPPFLAGS'
3582 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3583 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3584 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3585 DEPDIR="${am__leading_dot}deps"
3587 ac_config_commands="$ac_config_commands depfiles"
3590 am_make=${MAKE-make}
3591 cat > confinc << 'END'
3593 @echo this is the am__doit target
3596 # If we don't find an include directive, just comment out the code.
3597 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for style of include used by $am_make" >&5
3598 $as_echo_n "checking for style of include used by $am_make... " >&6; }
3602 # First try GNU make style include.
3603 echo "include confinc" > confmf
3604 # Ignore all kinds of additional output from `make'.
3605 case `$am_make -s -f confmf 2> /dev/null` in #(
3606 *the\ am__doit\ target*)
3612 # Now try BSD make style include.
3613 if test "$am__include" = "#"; then
3614 echo '.include "confinc"' > confmf
3615 case `$am_make -s -f confmf 2> /dev/null` in #(
3616 *the\ am__doit\ target*)
3617 am__include=.include
3625 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $_am_result" >&5
3626 $as_echo "$_am_result" >&6; }
3627 rm -f confinc confmf
3629 # Check whether --enable-dependency-tracking was given.
3630 if test "${enable_dependency_tracking+set}" = set; then :
3631 enableval=$enable_dependency_tracking;
3634 if test "x$enable_dependency_tracking" != xno; then
3635 am_depcomp="$ac_aux_dir/depcomp"
3638 if test "x$enable_dependency_tracking" != xno; then
3648 depcc="$CC" am_compiler_list=
3650 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5
3651 $as_echo_n "checking dependency style of $depcc... " >&6; }
3652 if ${am_cv_CC_dependencies_compiler_type+:} false; then :
3653 $as_echo_n "(cached) " >&6
3655 if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
3656 # We make a subdir and do the tests there. Otherwise we can end up
3657 # making bogus files that we don't know about and never remove. For
3658 # instance it was reported that on HP-UX the gcc test will end up
3659 # making a dummy file named `D' -- because `-MD' means `put the output
3662 # Copy depcomp to subdir because otherwise we won't find it if we're
3663 # using a relative directory.
3664 cp "$am_depcomp" conftest.dir
3666 # We will build objects and dependencies in a subdirectory because
3667 # it helps to detect inapplicable dependency modes. For instance
3668 # both Tru64's cc and ICC support -MD to output dependencies as a
3669 # side effect of compilation, but ICC will put the dependencies in
3670 # the current directory while Tru64 will put them in the object
3674 am_cv_CC_dependencies_compiler_type=none
3675 if test "$am_compiler_list" = ""; then
3676 am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
3679 case " $depcc " in #(
3680 *\ -arch\ *\ -arch\ *) am__universal=true ;;
3683 for depmode in $am_compiler_list; do
3684 # Setup a source with many dependencies, because some compilers
3685 # like to wrap large dependency lists on column 80 (with \), and
3686 # we should not choose a depcomp mode which is confused by this.
3688 # We need to recreate these files for each test, as the compiler may
3689 # overwrite some of them when testing with obscure command lines.
3690 # This happens at least with the AIX C compiler.
3692 for i in 1 2 3 4 5 6; do
3693 echo '#include "conftst'$i'.h"' >> sub/conftest.c
3694 # Using `: > sub/conftst$i.h' creates only sub/conftst1.h with
3695 # Solaris 8's {/usr,}/bin/sh.
3696 touch sub/conftst$i.h
3698 echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
3700 # We check with `-c' and `-o' for the sake of the "dashmstdout"
3701 # mode. It turns out that the SunPro C++ compiler does not properly
3702 # handle `-M -o', and we need to detect this. Also, some Intel
3703 # versions had trouble with output in subdirs
3704 am__obj=sub/conftest.${OBJEXT-o}
3705 am__minus_obj="-o $am__obj"
3708 # This depmode causes a compiler race in universal mode.
3709 test "$am__universal" = false || continue
3712 # after this tag, mechanisms are not by side-effect, so they'll
3713 # only be used when explicitly requested
3714 if test "x$enable_dependency_tracking" = xyes; then
3720 msvisualcpp | msvcmsys)
3721 # This compiler won't grok `-c -o', but also, the minuso test has
3722 # not run yet. These depmodes are late enough in the game, and
3723 # so weak that their functioning should not be impacted.
3724 am__obj=conftest.${OBJEXT-o}
3729 if depmode=$depmode \
3730 source=sub/conftest.c object=$am__obj \
3731 depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
3732 $SHELL ./depcomp $depcc -c $am__minus_obj sub/conftest.c \
3733 >/dev/null 2>conftest.err &&
3734 grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 &&
3735 grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
3736 grep $am__obj sub/conftest.Po > /dev/null 2>&1 &&
3737 ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
3738 # icc doesn't choke on unknown options, it will just issue warnings
3739 # or remarks (even with -Werror). So we grep stderr for any message
3740 # that says an option was ignored or not supported.
3741 # When given -MP, icc 7.0 and 7.1 complain thusly:
3742 # icc: Command line warning: ignoring option '-M'; no argument required
3743 # The diagnosis changed in icc 8.0:
3744 # icc: Command line remark: option '-MP' not supported
3745 if (grep 'ignoring option' conftest.err ||
3746 grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
3747 am_cv_CC_dependencies_compiler_type=$depmode
3756 am_cv_CC_dependencies_compiler_type=none
3760 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_CC_dependencies_compiler_type" >&5
3761 $as_echo "$am_cv_CC_dependencies_compiler_type" >&6; }
3762 CCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type
3765 test "x$enable_dependency_tracking" != xno \
3766 && test "$am_cv_CC_dependencies_compiler_type" = gcc3; then
3768 am__fastdepCC_FALSE='#'
3770 am__fastdepCC_TRUE='#'
3771 am__fastdepCC_FALSE=
3776 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5
3777 $as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; }
3779 ac_make=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
3780 if eval \${ac_cv_prog_make_${ac_make}_set+:} false; then :
3781 $as_echo_n "(cached) " >&6
3783 cat >conftest.make <<\_ACEOF
3786 @echo '@@@%%%=$(MAKE)=@@@%%%'
3788 # GNU make sometimes prints "make[1]: Entering ...", which would confuse us.
3789 case `${MAKE-make} -f conftest.make 2>/dev/null` in
3791 eval ac_cv_prog_make_${ac_make}_set=yes;;
3793 eval ac_cv_prog_make_${ac_make}_set=no;;
3797 if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then
3798 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
3799 $as_echo "yes" >&6; }
3802 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3803 $as_echo "no" >&6; }
3804 SET_MAKE="MAKE=${MAKE-make}"
3809 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Libtool does not cope well with whitespace in \`pwd\`" >&5
3810 $as_echo "$as_me: WARNING: Libtool does not cope well with whitespace in \`pwd\`" >&2;} ;;
3816 macro_revision='1.3293'
3830 ltmain="$ac_aux_dir/ltmain.sh"
3832 # Make sure we can run config.sub.
3833 $SHELL "$ac_aux_dir/config.sub" sun4 >/dev/null 2>&1 ||
3834 as_fn_error $? "cannot run $SHELL $ac_aux_dir/config.sub" "$LINENO" 5
3836 { $as_echo "$as_me:${as_lineno-$LINENO}: checking build system type" >&5
3837 $as_echo_n "checking build system type... " >&6; }
3838 if ${ac_cv_build+:} false; then :
3839 $as_echo_n "(cached) " >&6
3841 ac_build_alias=$build_alias
3842 test "x$ac_build_alias" = x &&
3843 ac_build_alias=`$SHELL "$ac_aux_dir/config.guess"`
3844 test "x$ac_build_alias" = x &&
3845 as_fn_error $? "cannot guess build type; you must specify one" "$LINENO" 5
3846 ac_cv_build=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
3847 as_fn_error $? "$SHELL $ac_aux_dir/config.sub $ac_build_alias failed" "$LINENO" 5
3850 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_build" >&5
3851 $as_echo "$ac_cv_build" >&6; }
3852 case $ac_cv_build in
3854 *) as_fn_error $? "invalid value of canonical build" "$LINENO" 5;;
3857 ac_save_IFS=$IFS; IFS='-'
3863 # Remember, the first character of IFS is used to create $*,
3864 # except with old shells:
3867 case $build_os in *\ *) build_os=`echo "$build_os" | sed 's/ /-/g'`;; esac
3870 { $as_echo "$as_me:${as_lineno-$LINENO}: checking host system type" >&5
3871 $as_echo_n "checking host system type... " >&6; }
3872 if ${ac_cv_host+:} false; then :
3873 $as_echo_n "(cached) " >&6
3875 if test "x$host_alias" = x; then
3876 ac_cv_host=$ac_cv_build
3878 ac_cv_host=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
3879 as_fn_error $? "$SHELL $ac_aux_dir/config.sub $host_alias failed" "$LINENO" 5
3883 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_host" >&5
3884 $as_echo "$ac_cv_host" >&6; }
3887 *) as_fn_error $? "invalid value of canonical host" "$LINENO" 5;;
3890 ac_save_IFS=$IFS; IFS='-'
3896 # Remember, the first character of IFS is used to create $*,
3897 # except with old shells:
3900 case $host_os in *\ *) host_os=`echo "$host_os" | sed 's/ /-/g'`;; esac
3903 # Backslashify metacharacters that are still active within
3904 # double-quoted strings.
3905 sed_quote_subst='s/\(["`$\\]\)/\\\1/g'
3907 # Same as above, but do not quote variable references.
3908 double_quote_subst='s/\(["`\\]\)/\\\1/g'
3910 # Sed substitution to delay expansion of an escaped shell variable in a
3911 # double_quote_subst'ed string.
3912 delay_variable_subst='s/\\\\\\\\\\\$/\\\\\\$/g'
3914 # Sed substitution to delay expansion of an escaped single quote.
3915 delay_single_quote_subst='s/'\''/'\'\\\\\\\'\''/g'
3917 # Sed substitution to avoid accidental globbing in evaled expressions
3918 no_glob_subst='s/\*/\\\*/g'
3920 ECHO='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
3921 ECHO=$ECHO$ECHO$ECHO$ECHO$ECHO
3922 ECHO=$ECHO$ECHO$ECHO$ECHO$ECHO$ECHO
3924 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to print strings" >&5
3925 $as_echo_n "checking how to print strings... " >&6; }
3926 # Test print first, because it will be a builtin if present.
3927 if test "X`( print -r -- -n ) 2>/dev/null`" = X-n && \
3928 test "X`print -r -- $ECHO 2>/dev/null`" = "X$ECHO"; then
3930 elif test "X`printf %s $ECHO 2>/dev/null`" = "X$ECHO"; then
3933 # Use this function as a fallback that always works.
3934 func_fallback_echo ()
3936 eval 'cat <<_LTECHO_EOF
3940 ECHO='func_fallback_echo'
3943 # func_echo_all arg...
3944 # Invoke $ECHO with all args, space-separated.
3951 printf*) { $as_echo "$as_me:${as_lineno-$LINENO}: result: printf" >&5
3952 $as_echo "printf" >&6; } ;;
3953 print*) { $as_echo "$as_me:${as_lineno-$LINENO}: result: print -r" >&5
3954 $as_echo "print -r" >&6; } ;;
3955 *) { $as_echo "$as_me:${as_lineno-$LINENO}: result: cat" >&5
3956 $as_echo "cat" >&6; } ;;
3972 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a sed that does not truncate output" >&5
3973 $as_echo_n "checking for a sed that does not truncate output... " >&6; }
3974 if ${ac_cv_path_SED+:} false; then :
3975 $as_echo_n "(cached) " >&6
3977 ac_script=s/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa/bbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbb/
3978 for ac_i in 1 2 3 4 5 6 7; do
3979 ac_script="$ac_script$as_nl$ac_script"
3981 echo "$ac_script" 2>/dev/null | sed 99q >conftest.sed
3982 { ac_script=; unset ac_script;}
3983 if test -z "$SED"; then
3984 ac_path_SED_found=false
3985 # Loop through the user's path and test for each of PROGNAME-LIST
3986 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3990 test -z "$as_dir" && as_dir=.
3991 for ac_prog in sed gsed; do
3992 for ac_exec_ext in '' $ac_executable_extensions; do
3993 ac_path_SED="$as_dir/$ac_prog$ac_exec_ext"
3994 { test -f "$ac_path_SED" && $as_test_x "$ac_path_SED"; } || continue
3995 # Check for GNU ac_path_SED and select it if it is found.
3996 # Check for GNU $ac_path_SED
3997 case `"$ac_path_SED" --version 2>&1` in
3999 ac_cv_path_SED="$ac_path_SED" ac_path_SED_found=:;;
4002 $as_echo_n 0123456789 >"conftest.in"
4005 cat "conftest.in" "conftest.in" >"conftest.tmp"
4006 mv "conftest.tmp" "conftest.in"
4007 cp "conftest.in" "conftest.nl"
4008 $as_echo '' >> "conftest.nl"
4009 "$ac_path_SED" -f conftest.sed < "conftest.nl" >"conftest.out" 2>/dev/null || break
4010 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
4011 as_fn_arith $ac_count + 1 && ac_count=$as_val
4012 if test $ac_count -gt ${ac_path_SED_max-0}; then
4013 # Best one so far, save it but keep looking for a better one
4014 ac_cv_path_SED="$ac_path_SED"
4015 ac_path_SED_max=$ac_count
4017 # 10*(2^10) chars as input seems more than enough
4018 test $ac_count -gt 10 && break
4020 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
4023 $ac_path_SED_found && break 3
4028 if test -z "$ac_cv_path_SED"; then
4029 as_fn_error $? "no acceptable sed could be found in \$PATH" "$LINENO" 5
4036 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_SED" >&5
4037 $as_echo "$ac_cv_path_SED" >&6; }
4038 SED="$ac_cv_path_SED"
4041 test -z "$SED" && SED=sed
4042 Xsed="$SED -e 1s/^X//"
4054 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for grep that handles long lines and -e" >&5
4055 $as_echo_n "checking for grep that handles long lines and -e... " >&6; }
4056 if ${ac_cv_path_GREP+:} false; then :
4057 $as_echo_n "(cached) " >&6
4059 if test -z "$GREP"; then
4060 ac_path_GREP_found=false
4061 # Loop through the user's path and test for each of PROGNAME-LIST
4062 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4063 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
4066 test -z "$as_dir" && as_dir=.
4067 for ac_prog in grep ggrep; do
4068 for ac_exec_ext in '' $ac_executable_extensions; do
4069 ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext"
4070 { test -f "$ac_path_GREP" && $as_test_x "$ac_path_GREP"; } || continue
4071 # Check for GNU ac_path_GREP and select it if it is found.
4072 # Check for GNU $ac_path_GREP
4073 case `"$ac_path_GREP" --version 2>&1` in
4075 ac_cv_path_GREP="$ac_path_GREP" ac_path_GREP_found=:;;
4078 $as_echo_n 0123456789 >"conftest.in"
4081 cat "conftest.in" "conftest.in" >"conftest.tmp"
4082 mv "conftest.tmp" "conftest.in"
4083 cp "conftest.in" "conftest.nl"
4084 $as_echo 'GREP' >> "conftest.nl"
4085 "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev/null || break
4086 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
4087 as_fn_arith $ac_count + 1 && ac_count=$as_val
4088 if test $ac_count -gt ${ac_path_GREP_max-0}; then
4089 # Best one so far, save it but keep looking for a better one
4090 ac_cv_path_GREP="$ac_path_GREP"
4091 ac_path_GREP_max=$ac_count
4093 # 10*(2^10) chars as input seems more than enough
4094 test $ac_count -gt 10 && break
4096 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
4099 $ac_path_GREP_found && break 3
4104 if test -z "$ac_cv_path_GREP"; then
4105 as_fn_error $? "no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
4108 ac_cv_path_GREP=$GREP
4112 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_GREP" >&5
4113 $as_echo "$ac_cv_path_GREP" >&6; }
4114 GREP="$ac_cv_path_GREP"
4117 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for egrep" >&5
4118 $as_echo_n "checking for egrep... " >&6; }
4119 if ${ac_cv_path_EGREP+:} false; then :
4120 $as_echo_n "(cached) " >&6
4122 if echo a | $GREP -E '(a|b)' >/dev/null 2>&1
4123 then ac_cv_path_EGREP="$GREP -E"
4125 if test -z "$EGREP"; then
4126 ac_path_EGREP_found=false
4127 # Loop through the user's path and test for each of PROGNAME-LIST
4128 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4129 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
4132 test -z "$as_dir" && as_dir=.
4133 for ac_prog in egrep; do
4134 for ac_exec_ext in '' $ac_executable_extensions; do
4135 ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext"
4136 { test -f "$ac_path_EGREP" && $as_test_x "$ac_path_EGREP"; } || continue
4137 # Check for GNU ac_path_EGREP and select it if it is found.
4138 # Check for GNU $ac_path_EGREP
4139 case `"$ac_path_EGREP" --version 2>&1` in
4141 ac_cv_path_EGREP="$ac_path_EGREP" ac_path_EGREP_found=:;;
4144 $as_echo_n 0123456789 >"conftest.in"
4147 cat "conftest.in" "conftest.in" >"conftest.tmp"
4148 mv "conftest.tmp" "conftest.in"
4149 cp "conftest.in" "conftest.nl"
4150 $as_echo 'EGREP' >> "conftest.nl"
4151 "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev/null || break
4152 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
4153 as_fn_arith $ac_count + 1 && ac_count=$as_val
4154 if test $ac_count -gt ${ac_path_EGREP_max-0}; then
4155 # Best one so far, save it but keep looking for a better one
4156 ac_cv_path_EGREP="$ac_path_EGREP"
4157 ac_path_EGREP_max=$ac_count
4159 # 10*(2^10) chars as input seems more than enough
4160 test $ac_count -gt 10 && break
4162 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
4165 $ac_path_EGREP_found && break 3
4170 if test -z "$ac_cv_path_EGREP"; then
4171 as_fn_error $? "no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
4174 ac_cv_path_EGREP=$EGREP
4179 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_EGREP" >&5
4180 $as_echo "$ac_cv_path_EGREP" >&6; }
4181 EGREP="$ac_cv_path_EGREP"
4184 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fgrep" >&5
4185 $as_echo_n "checking for fgrep... " >&6; }
4186 if ${ac_cv_path_FGREP+:} false; then :
4187 $as_echo_n "(cached) " >&6
4189 if echo 'ab*c' | $GREP -F 'ab*c' >/dev/null 2>&1
4190 then ac_cv_path_FGREP="$GREP -F"
4192 if test -z "$FGREP"; then
4193 ac_path_FGREP_found=false
4194 # Loop through the user's path and test for each of PROGNAME-LIST
4195 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4196 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
4199 test -z "$as_dir" && as_dir=.
4200 for ac_prog in fgrep; do
4201 for ac_exec_ext in '' $ac_executable_extensions; do
4202 ac_path_FGREP="$as_dir/$ac_prog$ac_exec_ext"
4203 { test -f "$ac_path_FGREP" && $as_test_x "$ac_path_FGREP"; } || continue
4204 # Check for GNU ac_path_FGREP and select it if it is found.
4205 # Check for GNU $ac_path_FGREP
4206 case `"$ac_path_FGREP" --version 2>&1` in
4208 ac_cv_path_FGREP="$ac_path_FGREP" ac_path_FGREP_found=:;;
4211 $as_echo_n 0123456789 >"conftest.in"
4214 cat "conftest.in" "conftest.in" >"conftest.tmp"
4215 mv "conftest.tmp" "conftest.in"
4216 cp "conftest.in" "conftest.nl"
4217 $as_echo 'FGREP' >> "conftest.nl"
4218 "$ac_path_FGREP" FGREP < "conftest.nl" >"conftest.out" 2>/dev/null || break
4219 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
4220 as_fn_arith $ac_count + 1 && ac_count=$as_val
4221 if test $ac_count -gt ${ac_path_FGREP_max-0}; then
4222 # Best one so far, save it but keep looking for a better one
4223 ac_cv_path_FGREP="$ac_path_FGREP"
4224 ac_path_FGREP_max=$ac_count
4226 # 10*(2^10) chars as input seems more than enough
4227 test $ac_count -gt 10 && break
4229 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
4232 $ac_path_FGREP_found && break 3
4237 if test -z "$ac_cv_path_FGREP"; then
4238 as_fn_error $? "no acceptable fgrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
4241 ac_cv_path_FGREP=$FGREP
4246 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_FGREP" >&5
4247 $as_echo "$ac_cv_path_FGREP" >&6; }
4248 FGREP="$ac_cv_path_FGREP"
4251 test -z "$GREP" && GREP=grep
4271 # Check whether --with-gnu-ld was given.
4272 if test "${with_gnu_ld+set}" = set; then :
4273 withval=$with_gnu_ld; test "$withval" = no || with_gnu_ld=yes
4279 if test "$GCC" = yes; then
4280 # Check if gcc -print-prog-name=ld gives a path.
4281 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld used by $CC" >&5
4282 $as_echo_n "checking for ld used by $CC... " >&6; }
4285 # gcc leaves a trailing carriage return which upsets mingw
4286 ac_prog=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
4288 ac_prog=`($CC -print-prog-name=ld) 2>&5` ;;
4291 # Accept absolute paths.
4293 re_direlt='/[^/][^/]*/\.\./'
4294 # Canonicalize the pathname of ld
4295 ac_prog=`$ECHO "$ac_prog"| $SED 's%\\\\%/%g'`
4296 while $ECHO "$ac_prog" | $GREP "$re_direlt" > /dev/null 2>&1; do
4297 ac_prog=`$ECHO $ac_prog| $SED "s%$re_direlt%/%"`
4299 test -z "$LD" && LD="$ac_prog"
4302 # If it fails, then pretend we aren't using GCC.
4306 # If it is relative, then search for the first ld in PATH.
4310 elif test "$with_gnu_ld" = yes; then
4311 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU ld" >&5
4312 $as_echo_n "checking for GNU ld... " >&6; }
4314 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for non-GNU ld" >&5
4315 $as_echo_n "checking for non-GNU ld... " >&6; }
4317 if ${lt_cv_path_LD+:} false; then :
4318 $as_echo_n "(cached) " >&6
4320 if test -z "$LD"; then
4321 lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
4322 for ac_dir in $PATH; do
4324 test -z "$ac_dir" && ac_dir=.
4325 if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then
4326 lt_cv_path_LD="$ac_dir/$ac_prog"
4327 # Check to see if the program is GNU ld. I'd rather use --version,
4328 # but apparently some variants of GNU ld only accept -v.
4329 # Break only if it was the GNU/non-GNU ld that we prefer.
4330 case `"$lt_cv_path_LD" -v 2>&1 </dev/null` in
4331 *GNU* | *'with BFD'*)
4332 test "$with_gnu_ld" != no && break
4335 test "$with_gnu_ld" != yes && break
4342 lt_cv_path_LD="$LD" # Let the user override the test with a path.
4347 if test -n "$LD"; then
4348 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LD" >&5
4349 $as_echo "$LD" >&6; }
4351 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4352 $as_echo "no" >&6; }
4354 test -z "$LD" && as_fn_error $? "no acceptable ld found in \$PATH" "$LINENO" 5
4355 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if the linker ($LD) is GNU ld" >&5
4356 $as_echo_n "checking if the linker ($LD) is GNU ld... " >&6; }
4357 if ${lt_cv_prog_gnu_ld+:} false; then :
4358 $as_echo_n "(cached) " >&6
4360 # I'd rather use --version here, but apparently some GNU lds only accept -v.
4361 case `$LD -v 2>&1 </dev/null` in
4362 *GNU* | *'with BFD'*)
4363 lt_cv_prog_gnu_ld=yes
4366 lt_cv_prog_gnu_ld=no
4370 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_gnu_ld" >&5
4371 $as_echo "$lt_cv_prog_gnu_ld" >&6; }
4372 with_gnu_ld=$lt_cv_prog_gnu_ld
4382 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for BSD- or MS-compatible name lister (nm)" >&5
4383 $as_echo_n "checking for BSD- or MS-compatible name lister (nm)... " >&6; }
4384 if ${lt_cv_path_NM+:} false; then :
4385 $as_echo_n "(cached) " >&6
4387 if test -n "$NM"; then
4388 # Let the user override the test.
4391 lt_nm_to_check="${ac_tool_prefix}nm"
4392 if test -n "$ac_tool_prefix" && test "$build" = "$host"; then
4393 lt_nm_to_check="$lt_nm_to_check nm"
4395 for lt_tmp_nm in $lt_nm_to_check; do
4396 lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
4397 for ac_dir in $PATH /usr/ccs/bin/elf /usr/ccs/bin /usr/ucb /bin; do
4399 test -z "$ac_dir" && ac_dir=.
4400 tmp_nm="$ac_dir/$lt_tmp_nm"
4401 if test -f "$tmp_nm" || test -f "$tmp_nm$ac_exeext" ; then
4402 # Check to see if the nm accepts a BSD-compat flag.
4403 # Adding the `sed 1q' prevents false positives on HP-UX, which says:
4404 # nm: unknown option "B" ignored
4405 # Tru64's nm complains that /dev/null is an invalid object file
4406 case `"$tmp_nm" -B /dev/null 2>&1 | sed '1q'` in
4407 */dev/null* | *'Invalid file or object type'*)
4408 lt_cv_path_NM="$tmp_nm -B"
4412 case `"$tmp_nm" -p /dev/null 2>&1 | sed '1q'` in
4414 lt_cv_path_NM="$tmp_nm -p"
4418 lt_cv_path_NM=${lt_cv_path_NM="$tmp_nm"} # keep the first match, but
4419 continue # so that we can try to find one that supports BSD flags
4428 : ${lt_cv_path_NM=no}
4431 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_path_NM" >&5
4432 $as_echo "$lt_cv_path_NM" >&6; }
4433 if test "$lt_cv_path_NM" != "no"; then
4436 # Didn't find any BSD compatible name lister, look for dumpbin.
4437 if test -n "$DUMPBIN"; then :
4438 # Let the user override the test.
4440 if test -n "$ac_tool_prefix"; then
4441 for ac_prog in dumpbin "link -dump"
4443 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
4444 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
4445 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4446 $as_echo_n "checking for $ac_word... " >&6; }
4447 if ${ac_cv_prog_DUMPBIN+:} false; then :
4448 $as_echo_n "(cached) " >&6
4450 if test -n "$DUMPBIN"; then
4451 ac_cv_prog_DUMPBIN="$DUMPBIN" # Let the user override the test.
4453 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4457 test -z "$as_dir" && as_dir=.
4458 for ac_exec_ext in '' $ac_executable_extensions; do
4459 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4460 ac_cv_prog_DUMPBIN="$ac_tool_prefix$ac_prog"
4461 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4470 DUMPBIN=$ac_cv_prog_DUMPBIN
4471 if test -n "$DUMPBIN"; then
4472 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DUMPBIN" >&5
4473 $as_echo "$DUMPBIN" >&6; }
4475 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4476 $as_echo "no" >&6; }
4480 test -n "$DUMPBIN" && break
4483 if test -z "$DUMPBIN"; then
4484 ac_ct_DUMPBIN=$DUMPBIN
4485 for ac_prog in dumpbin "link -dump"
4487 # Extract the first word of "$ac_prog", so it can be a program name with args.
4488 set dummy $ac_prog; ac_word=$2
4489 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4490 $as_echo_n "checking for $ac_word... " >&6; }
4491 if ${ac_cv_prog_ac_ct_DUMPBIN+:} false; then :
4492 $as_echo_n "(cached) " >&6
4494 if test -n "$ac_ct_DUMPBIN"; then
4495 ac_cv_prog_ac_ct_DUMPBIN="$ac_ct_DUMPBIN" # Let the user override the test.
4497 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4501 test -z "$as_dir" && as_dir=.
4502 for ac_exec_ext in '' $ac_executable_extensions; do
4503 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4504 ac_cv_prog_ac_ct_DUMPBIN="$ac_prog"
4505 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4514 ac_ct_DUMPBIN=$ac_cv_prog_ac_ct_DUMPBIN
4515 if test -n "$ac_ct_DUMPBIN"; then
4516 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DUMPBIN" >&5
4517 $as_echo "$ac_ct_DUMPBIN" >&6; }
4519 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4520 $as_echo "no" >&6; }
4524 test -n "$ac_ct_DUMPBIN" && break
4527 if test "x$ac_ct_DUMPBIN" = x; then
4530 case $cross_compiling:$ac_tool_warned in
4532 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4533 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4534 ac_tool_warned=yes ;;
4536 DUMPBIN=$ac_ct_DUMPBIN
4540 case `$DUMPBIN -symbols /dev/null 2>&1 | sed '1q'` in
4542 DUMPBIN="$DUMPBIN -symbols"
4550 if test "$DUMPBIN" != ":"; then
4554 test -z "$NM" && NM=nm
4561 { $as_echo "$as_me:${as_lineno-$LINENO}: checking the name lister ($NM) interface" >&5
4562 $as_echo_n "checking the name lister ($NM) interface... " >&6; }
4563 if ${lt_cv_nm_interface+:} false; then :
4564 $as_echo_n "(cached) " >&6
4566 lt_cv_nm_interface="BSD nm"
4567 echo "int some_variable = 0;" > conftest.$ac_ext
4568 (eval echo "\"\$as_me:$LINENO: $ac_compile\"" >&5)
4569 (eval "$ac_compile" 2>conftest.err)
4570 cat conftest.err >&5
4571 (eval echo "\"\$as_me:$LINENO: $NM \\\"conftest.$ac_objext\\\"\"" >&5)
4572 (eval "$NM \"conftest.$ac_objext\"" 2>conftest.err > conftest.out)
4573 cat conftest.err >&5
4574 (eval echo "\"\$as_me:$LINENO: output\"" >&5)
4575 cat conftest.out >&5
4576 if $GREP 'External.*some_variable' conftest.out > /dev/null; then
4577 lt_cv_nm_interface="MS dumpbin"
4581 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_nm_interface" >&5
4582 $as_echo "$lt_cv_nm_interface" >&6; }
4584 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ln -s works" >&5
4585 $as_echo_n "checking whether ln -s works... " >&6; }
4587 if test "$LN_S" = "ln -s"; then
4588 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
4589 $as_echo "yes" >&6; }
4591 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no, using $LN_S" >&5
4592 $as_echo "no, using $LN_S" >&6; }
4595 # find the maximum length of command line arguments
4596 { $as_echo "$as_me:${as_lineno-$LINENO}: checking the maximum length of command line arguments" >&5
4597 $as_echo_n "checking the maximum length of command line arguments... " >&6; }
4598 if ${lt_cv_sys_max_cmd_len+:} false; then :
4599 $as_echo_n "(cached) " >&6
4606 # On DJGPP, this test can blow up pretty badly due to problems in libc
4607 # (any single argument exceeding 2000 bytes causes a buffer overrun
4608 # during glob expansion). Even if it were fixed, the result of this
4609 # check would be larger than it should be.
4610 lt_cv_sys_max_cmd_len=12288; # 12K is about right
4614 # Under GNU Hurd, this test is not required because there is
4615 # no limit to the length of command line arguments.
4616 # Libtool will interpret -1 as no limit whatsoever
4617 lt_cv_sys_max_cmd_len=-1;
4620 cygwin* | mingw* | cegcc*)
4621 # On Win9x/ME, this test blows up -- it succeeds, but takes
4622 # about 5 minutes as the teststring grows exponentially.
4623 # Worse, since 9x/ME are not pre-emptively multitasking,
4624 # you end up with a "frozen" computer, even though with patience
4625 # the test eventually succeeds (with a max line length of 256k).
4626 # Instead, let's just punt: use the minimum linelength reported by
4627 # all of the supported platforms: 8192 (on NT/2K/XP).
4628 lt_cv_sys_max_cmd_len=8192;
4632 # On MiNT this can take a long time and run out of memory.
4633 lt_cv_sys_max_cmd_len=8192;
4637 # On AmigaOS with pdksh, this test takes hours, literally.
4638 # So we just punt and use a minimum line length of 8192.
4639 lt_cv_sys_max_cmd_len=8192;
4642 netbsd* | freebsd* | openbsd* | darwin* | dragonfly*)
4643 # This has been around since 386BSD, at least. Likely further.
4644 if test -x /sbin/sysctl; then
4645 lt_cv_sys_max_cmd_len=`/sbin/sysctl -n kern.argmax`
4646 elif test -x /usr/sbin/sysctl; then
4647 lt_cv_sys_max_cmd_len=`/usr/sbin/sysctl -n kern.argmax`
4649 lt_cv_sys_max_cmd_len=65536 # usable default for all BSDs
4651 # And add a safety zone
4652 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4`
4653 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3`
4657 # We know the value 262144 and hardcode it with a safety zone (like BSD)
4658 lt_cv_sys_max_cmd_len=196608
4662 # Dr. Hans Ekkehard Plesser reports seeing a kernel panic running configure
4663 # due to this test when exec_disable_arg_limit is 1 on Tru64. It is not
4664 # nice to cause kernel panics so lets avoid the loop below.
4665 # First set a reasonable default.
4666 lt_cv_sys_max_cmd_len=16384
4668 if test -x /sbin/sysconfig; then
4669 case `/sbin/sysconfig -q proc exec_disable_arg_limit` in
4670 *1*) lt_cv_sys_max_cmd_len=-1 ;;
4675 lt_cv_sys_max_cmd_len=102400
4677 sysv5* | sco5v6* | sysv4.2uw2*)
4678 kargmax=`grep ARG_MAX /etc/conf/cf.d/stune 2>/dev/null`
4679 if test -n "$kargmax"; then
4680 lt_cv_sys_max_cmd_len=`echo $kargmax | sed 's/.*[ ]//'`
4682 lt_cv_sys_max_cmd_len=32768
4686 lt_cv_sys_max_cmd_len=`(getconf ARG_MAX) 2> /dev/null`
4687 if test -n "$lt_cv_sys_max_cmd_len"; then
4688 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4`
4689 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3`
4691 # Make teststring a little bigger before we do anything with it.
4692 # a 1K string should be a reasonable start.
4693 for i in 1 2 3 4 5 6 7 8 ; do
4694 teststring=$teststring$teststring
4696 SHELL=${SHELL-${CONFIG_SHELL-/bin/sh}}
4697 # If test is not a shell built-in, we'll probably end up computing a
4698 # maximum length that is only half of the actual maximum length, but
4700 while { test "X"`func_fallback_echo "$teststring$teststring" 2>/dev/null` \
4701 = "X$teststring$teststring"; } >/dev/null 2>&1 &&
4702 test $i != 17 # 1/2 MB should be enough
4705 teststring=$teststring$teststring
4707 # Only check the string length outside the loop.
4708 lt_cv_sys_max_cmd_len=`expr "X$teststring" : ".*" 2>&1`
4710 # Add a significant safety factor because C++ compilers can tack on
4711 # massive amounts of additional arguments before passing them to the
4712 # linker. It appears as though 1/2 is a usable value.
4713 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 2`
4720 if test -n $lt_cv_sys_max_cmd_len ; then
4721 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_sys_max_cmd_len" >&5
4722 $as_echo "$lt_cv_sys_max_cmd_len" >&6; }
4724 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none" >&5
4725 $as_echo "none" >&6; }
4727 max_cmd_len=$lt_cv_sys_max_cmd_len
4738 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the shell understands some XSI constructs" >&5
4739 $as_echo_n "checking whether the shell understands some XSI constructs... " >&6; }
4740 # Try some XSI features
4743 test "${_lt_dummy##*/},${_lt_dummy%/*},${_lt_dummy#??}"${_lt_dummy%"$_lt_dummy"}, \
4745 && eval 'test $(( 1 + 1 )) -eq 2 \
4746 && test "${#_lt_dummy}" -eq 5' ) >/dev/null 2>&1 \
4748 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xsi_shell" >&5
4749 $as_echo "$xsi_shell" >&6; }
4752 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the shell understands \"+=\"" >&5
4753 $as_echo_n "checking whether the shell understands \"+=\"... " >&6; }
4755 ( foo=bar; set foo baz; eval "$1+=\$2" && test "$foo" = barbaz ) \
4757 && lt_shell_append=yes
4758 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_shell_append" >&5
4759 $as_echo "$lt_shell_append" >&6; }
4762 if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
4772 # test EBCDIC or ASCII
4773 case `echo X|tr X '\101'` in
4774 A) # ASCII based system
4775 # \n is not interpreted correctly by Solaris 8 /usr/ucb/tr
4776 lt_SP2NL='tr \040 \012'
4777 lt_NL2SP='tr \015\012 \040\040'
4779 *) # EBCDIC based system
4780 lt_SP2NL='tr \100 \n'
4781 lt_NL2SP='tr \r\n \100\100'
4793 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to convert $build file names to $host format" >&5
4794 $as_echo_n "checking how to convert $build file names to $host format... " >&6; }
4795 if ${lt_cv_to_host_file_cmd+:} false; then :
4796 $as_echo_n "(cached) " >&6
4801 *-*-mingw* ) # actually msys
4802 lt_cv_to_host_file_cmd=func_convert_file_msys_to_w32
4805 lt_cv_to_host_file_cmd=func_convert_file_cygwin_to_w32
4807 * ) # otherwise, assume *nix
4808 lt_cv_to_host_file_cmd=func_convert_file_nix_to_w32
4814 *-*-mingw* ) # actually msys
4815 lt_cv_to_host_file_cmd=func_convert_file_msys_to_cygwin
4818 lt_cv_to_host_file_cmd=func_convert_file_noop
4820 * ) # otherwise, assume *nix
4821 lt_cv_to_host_file_cmd=func_convert_file_nix_to_cygwin
4825 * ) # unhandled hosts (and "normal" native builds)
4826 lt_cv_to_host_file_cmd=func_convert_file_noop
4832 to_host_file_cmd=$lt_cv_to_host_file_cmd
4833 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_to_host_file_cmd" >&5
4834 $as_echo "$lt_cv_to_host_file_cmd" >&6; }
4840 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to convert $build file names to toolchain format" >&5
4841 $as_echo_n "checking how to convert $build file names to toolchain format... " >&6; }
4842 if ${lt_cv_to_tool_file_cmd+:} false; then :
4843 $as_echo_n "(cached) " >&6
4845 #assume ordinary cross tools, or native build.
4846 lt_cv_to_tool_file_cmd=func_convert_file_noop
4850 *-*-mingw* ) # actually msys
4851 lt_cv_to_tool_file_cmd=func_convert_file_msys_to_w32
4859 to_tool_file_cmd=$lt_cv_to_tool_file_cmd
4860 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_to_tool_file_cmd" >&5
4861 $as_echo "$lt_cv_to_tool_file_cmd" >&6; }
4867 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $LD option to reload object files" >&5
4868 $as_echo_n "checking for $LD option to reload object files... " >&6; }
4869 if ${lt_cv_ld_reload_flag+:} false; then :
4870 $as_echo_n "(cached) " >&6
4872 lt_cv_ld_reload_flag='-r'
4874 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_reload_flag" >&5
4875 $as_echo "$lt_cv_ld_reload_flag" >&6; }
4876 reload_flag=$lt_cv_ld_reload_flag
4877 case $reload_flag in
4879 *) reload_flag=" $reload_flag" ;;
4881 reload_cmds='$LD$reload_flag -o $output$reload_objs'
4883 cygwin* | mingw* | pw32* | cegcc*)
4884 if test "$GCC" != yes; then
4889 if test "$GCC" = yes; then
4890 reload_cmds='$LTCC $LTCFLAGS -nostdlib ${wl}-r -o $output$reload_objs'
4892 reload_cmds='$LD$reload_flag -o $output$reload_objs'
4905 if test -n "$ac_tool_prefix"; then
4906 # Extract the first word of "${ac_tool_prefix}objdump", so it can be a program name with args.
4907 set dummy ${ac_tool_prefix}objdump; ac_word=$2
4908 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4909 $as_echo_n "checking for $ac_word... " >&6; }
4910 if ${ac_cv_prog_OBJDUMP+:} false; then :
4911 $as_echo_n "(cached) " >&6
4913 if test -n "$OBJDUMP"; then
4914 ac_cv_prog_OBJDUMP="$OBJDUMP" # Let the user override the test.
4916 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4920 test -z "$as_dir" && as_dir=.
4921 for ac_exec_ext in '' $ac_executable_extensions; do
4922 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4923 ac_cv_prog_OBJDUMP="${ac_tool_prefix}objdump"
4924 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4933 OBJDUMP=$ac_cv_prog_OBJDUMP
4934 if test -n "$OBJDUMP"; then
4935 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OBJDUMP" >&5
4936 $as_echo "$OBJDUMP" >&6; }
4938 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4939 $as_echo "no" >&6; }
4944 if test -z "$ac_cv_prog_OBJDUMP"; then
4945 ac_ct_OBJDUMP=$OBJDUMP
4946 # Extract the first word of "objdump", so it can be a program name with args.
4947 set dummy objdump; ac_word=$2
4948 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4949 $as_echo_n "checking for $ac_word... " >&6; }
4950 if ${ac_cv_prog_ac_ct_OBJDUMP+:} false; then :
4951 $as_echo_n "(cached) " >&6
4953 if test -n "$ac_ct_OBJDUMP"; then
4954 ac_cv_prog_ac_ct_OBJDUMP="$ac_ct_OBJDUMP" # Let the user override the test.
4956 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4960 test -z "$as_dir" && as_dir=.
4961 for ac_exec_ext in '' $ac_executable_extensions; do
4962 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4963 ac_cv_prog_ac_ct_OBJDUMP="objdump"
4964 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4973 ac_ct_OBJDUMP=$ac_cv_prog_ac_ct_OBJDUMP
4974 if test -n "$ac_ct_OBJDUMP"; then
4975 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OBJDUMP" >&5
4976 $as_echo "$ac_ct_OBJDUMP" >&6; }
4978 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4979 $as_echo "no" >&6; }
4982 if test "x$ac_ct_OBJDUMP" = x; then
4985 case $cross_compiling:$ac_tool_warned in
4987 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4988 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4989 ac_tool_warned=yes ;;
4991 OBJDUMP=$ac_ct_OBJDUMP
4994 OBJDUMP="$ac_cv_prog_OBJDUMP"
4997 test -z "$OBJDUMP" && OBJDUMP=objdump
5007 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to recognize dependent libraries" >&5
5008 $as_echo_n "checking how to recognize dependent libraries... " >&6; }
5009 if ${lt_cv_deplibs_check_method+:} false; then :
5010 $as_echo_n "(cached) " >&6
5012 lt_cv_file_magic_cmd='$MAGIC_CMD'
5013 lt_cv_file_magic_test_file=
5014 lt_cv_deplibs_check_method='unknown'
5015 # Need to set the preceding variable on all platforms that support
5016 # interlibrary dependencies.
5017 # 'none' -- dependencies not supported.
5018 # `unknown' -- same as none, but documents that we really don't know.
5019 # 'pass_all' -- all dependencies passed with no checks.
5020 # 'test_compile' -- check by making test program.
5021 # 'file_magic [[regex]]' -- check by looking for files in library path
5022 # which responds to the $file_magic_cmd with a given extended regex.
5023 # If you have `file' or equivalent on your system and you're not sure
5024 # whether `pass_all' will *always* work, you probably want this one.
5028 lt_cv_deplibs_check_method=pass_all
5032 lt_cv_deplibs_check_method=pass_all
5036 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (shared object|dynamic lib)'
5037 lt_cv_file_magic_cmd='/usr/bin/file -L'
5038 lt_cv_file_magic_test_file=/shlib/libc.so
5042 # func_win32_libid is a shell function defined in ltmain.sh
5043 lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL'
5044 lt_cv_file_magic_cmd='func_win32_libid'
5048 # Base MSYS/MinGW do not provide the 'file' command needed by
5049 # func_win32_libid shell function, so use a weaker test based on 'objdump',
5050 # unless we find 'file', for example because we are cross-compiling.
5051 # func_win32_libid assumes BSD nm, so disallow it if using MS dumpbin.
5052 if ( test "$lt_cv_nm_interface" = "BSD nm" && file / ) >/dev/null 2>&1; then
5053 lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL'
5054 lt_cv_file_magic_cmd='func_win32_libid'
5056 # Keep this pattern in sync with the one in func_win32_libid.
5057 lt_cv_deplibs_check_method='file_magic file format (pei*-i386(.*architecture: i386)?|pe-arm-wince|pe-x86-64)'
5058 lt_cv_file_magic_cmd='$OBJDUMP -f'
5063 # use the weaker test based on 'objdump'. See mingw*.
5064 lt_cv_deplibs_check_method='file_magic file format pe-arm-.*little(.*architecture: arm)?'
5065 lt_cv_file_magic_cmd='$OBJDUMP -f'
5068 darwin* | rhapsody*)
5069 lt_cv_deplibs_check_method=pass_all
5072 freebsd* | dragonfly*)
5073 if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then
5076 # Not sure whether the presence of OpenBSD here was a mistake.
5077 # Let's accept both of them until this is cleared up.
5078 lt_cv_deplibs_check_method='file_magic (FreeBSD|OpenBSD|DragonFly)/i[3-9]86 (compact )?demand paged shared library'
5079 lt_cv_file_magic_cmd=/usr/bin/file
5080 lt_cv_file_magic_test_file=`echo /usr/lib/libc.so.*`
5084 lt_cv_deplibs_check_method=pass_all
5089 lt_cv_deplibs_check_method=pass_all
5093 lt_cv_deplibs_check_method=pass_all
5096 hpux10.20* | hpux11*)
5097 lt_cv_file_magic_cmd=/usr/bin/file
5100 lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|ELF-[0-9][0-9]) shared object file - IA64'
5101 lt_cv_file_magic_test_file=/usr/lib/hpux32/libc.so
5104 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]'
5105 lt_cv_file_magic_test_file=/usr/lib/pa20_64/libc.sl
5108 lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|PA-RISC[0-9]\.[0-9]) shared library'
5109 lt_cv_file_magic_test_file=/usr/lib/libc.sl
5115 # PIC code is broken on Interix 3.x, that's why |\.a not |_pic\.a here
5116 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|\.a)$'
5119 irix5* | irix6* | nonstopux*)
5121 *-32|*"-32 ") libmagic=32-bit;;
5122 *-n32|*"-n32 ") libmagic=N32;;
5123 *-64|*"-64 ") libmagic=64-bit;;
5124 *) libmagic=never-match;;
5126 lt_cv_deplibs_check_method=pass_all
5129 # This must be Linux ELF.
5130 linux* | k*bsd*-gnu | kopensolaris*-gnu)
5131 lt_cv_deplibs_check_method=pass_all
5134 netbsd* | netbsdelf*-gnu)
5135 if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then
5136 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
5138 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|_pic\.a)$'
5143 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (executable|dynamic lib)'
5144 lt_cv_file_magic_cmd=/usr/bin/file
5145 lt_cv_file_magic_test_file=/usr/lib/libnls.so
5149 lt_cv_deplibs_check_method=pass_all
5153 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
5154 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|\.so|_pic\.a)$'
5156 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
5160 osf3* | osf4* | osf5*)
5161 lt_cv_deplibs_check_method=pass_all
5165 lt_cv_deplibs_check_method=pass_all
5169 lt_cv_deplibs_check_method=pass_all
5172 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
5173 lt_cv_deplibs_check_method=pass_all
5177 case $host_vendor in
5179 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]'
5180 lt_cv_file_magic_test_file=`echo /usr/lib/libc.so*`
5183 lt_cv_deplibs_check_method=pass_all
5186 lt_cv_file_magic_cmd='/bin/file'
5187 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [LM]SB (shared object|dynamic lib )'
5190 lt_cv_file_magic_cmd='/bin/file'
5191 lt_cv_deplibs_check_method="file_magic ELF [0-9][0-9]*-bit [LM]SB dynamic lib"
5192 lt_cv_file_magic_test_file=/lib/libc.so
5195 lt_cv_deplibs_check_method=pass_all
5198 lt_cv_deplibs_check_method=pass_all
5204 lt_cv_deplibs_check_method=pass_all
5209 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_deplibs_check_method" >&5
5210 $as_echo "$lt_cv_deplibs_check_method" >&6; }
5214 if test "$build" = "$host"; then
5217 if ( shopt | grep nocaseglob ) >/dev/null 2>&1; then
5220 file_magic_glob=`echo aAbBcCdDeEfFgGhHiIjJkKlLmMnNoOpPqQrRsStTuUvVwWxXyYzZ | $SED -e "s/\(..\)/s\/[\1]\/[\1]\/g;/g"`
5226 file_magic_cmd=$lt_cv_file_magic_cmd
5227 deplibs_check_method=$lt_cv_deplibs_check_method
5228 test -z "$deplibs_check_method" && deplibs_check_method=unknown
5251 if test -n "$ac_tool_prefix"; then
5252 # Extract the first word of "${ac_tool_prefix}dlltool", so it can be a program name with args.
5253 set dummy ${ac_tool_prefix}dlltool; ac_word=$2
5254 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5255 $as_echo_n "checking for $ac_word... " >&6; }
5256 if ${ac_cv_prog_DLLTOOL+:} false; then :
5257 $as_echo_n "(cached) " >&6
5259 if test -n "$DLLTOOL"; then
5260 ac_cv_prog_DLLTOOL="$DLLTOOL" # Let the user override the test.
5262 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5266 test -z "$as_dir" && as_dir=.
5267 for ac_exec_ext in '' $ac_executable_extensions; do
5268 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5269 ac_cv_prog_DLLTOOL="${ac_tool_prefix}dlltool"
5270 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5279 DLLTOOL=$ac_cv_prog_DLLTOOL
5280 if test -n "$DLLTOOL"; then
5281 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DLLTOOL" >&5
5282 $as_echo "$DLLTOOL" >&6; }
5284 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5285 $as_echo "no" >&6; }
5290 if test -z "$ac_cv_prog_DLLTOOL"; then
5291 ac_ct_DLLTOOL=$DLLTOOL
5292 # Extract the first word of "dlltool", so it can be a program name with args.
5293 set dummy dlltool; ac_word=$2
5294 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5295 $as_echo_n "checking for $ac_word... " >&6; }
5296 if ${ac_cv_prog_ac_ct_DLLTOOL+:} false; then :
5297 $as_echo_n "(cached) " >&6
5299 if test -n "$ac_ct_DLLTOOL"; then
5300 ac_cv_prog_ac_ct_DLLTOOL="$ac_ct_DLLTOOL" # Let the user override the test.
5302 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5306 test -z "$as_dir" && as_dir=.
5307 for ac_exec_ext in '' $ac_executable_extensions; do
5308 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5309 ac_cv_prog_ac_ct_DLLTOOL="dlltool"
5310 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5319 ac_ct_DLLTOOL=$ac_cv_prog_ac_ct_DLLTOOL
5320 if test -n "$ac_ct_DLLTOOL"; then
5321 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DLLTOOL" >&5
5322 $as_echo "$ac_ct_DLLTOOL" >&6; }
5324 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5325 $as_echo "no" >&6; }
5328 if test "x$ac_ct_DLLTOOL" = x; then
5331 case $cross_compiling:$ac_tool_warned in
5333 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5334 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5335 ac_tool_warned=yes ;;
5337 DLLTOOL=$ac_ct_DLLTOOL
5340 DLLTOOL="$ac_cv_prog_DLLTOOL"
5343 test -z "$DLLTOOL" && DLLTOOL=dlltool
5354 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to associate runtime and link libraries" >&5
5355 $as_echo_n "checking how to associate runtime and link libraries... " >&6; }
5356 if ${lt_cv_sharedlib_from_linklib_cmd+:} false; then :
5357 $as_echo_n "(cached) " >&6
5359 lt_cv_sharedlib_from_linklib_cmd='unknown'
5362 cygwin* | mingw* | pw32* | cegcc*)
5363 # two different shell functions defined in ltmain.sh
5364 # decide which to use based on capabilities of $DLLTOOL
5365 case `$DLLTOOL --help 2>&1` in
5366 *--identify-strict*)
5367 lt_cv_sharedlib_from_linklib_cmd=func_cygming_dll_for_implib
5370 lt_cv_sharedlib_from_linklib_cmd=func_cygming_dll_for_implib_fallback
5375 # fallback: assume linklib IS sharedlib
5376 lt_cv_sharedlib_from_linklib_cmd="$ECHO"
5381 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_sharedlib_from_linklib_cmd" >&5
5382 $as_echo "$lt_cv_sharedlib_from_linklib_cmd" >&6; }
5383 sharedlib_from_linklib_cmd=$lt_cv_sharedlib_from_linklib_cmd
5384 test -z "$sharedlib_from_linklib_cmd" && sharedlib_from_linklib_cmd=$ECHO
5393 if test -n "$ac_tool_prefix"; then
5396 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
5397 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
5398 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5399 $as_echo_n "checking for $ac_word... " >&6; }
5400 if ${ac_cv_prog_AR+:} false; then :
5401 $as_echo_n "(cached) " >&6
5403 if test -n "$AR"; then
5404 ac_cv_prog_AR="$AR" # Let the user override the test.
5406 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5410 test -z "$as_dir" && as_dir=.
5411 for ac_exec_ext in '' $ac_executable_extensions; do
5412 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5413 ac_cv_prog_AR="$ac_tool_prefix$ac_prog"
5414 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5424 if test -n "$AR"; then
5425 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AR" >&5
5426 $as_echo "$AR" >&6; }
5428 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5429 $as_echo "no" >&6; }
5433 test -n "$AR" && break
5436 if test -z "$AR"; then
5440 # Extract the first word of "$ac_prog", so it can be a program name with args.
5441 set dummy $ac_prog; ac_word=$2
5442 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5443 $as_echo_n "checking for $ac_word... " >&6; }
5444 if ${ac_cv_prog_ac_ct_AR+:} false; then :
5445 $as_echo_n "(cached) " >&6
5447 if test -n "$ac_ct_AR"; then
5448 ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test.
5450 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5454 test -z "$as_dir" && as_dir=.
5455 for ac_exec_ext in '' $ac_executable_extensions; do
5456 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5457 ac_cv_prog_ac_ct_AR="$ac_prog"
5458 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5467 ac_ct_AR=$ac_cv_prog_ac_ct_AR
5468 if test -n "$ac_ct_AR"; then
5469 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_AR" >&5
5470 $as_echo "$ac_ct_AR" >&6; }
5472 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5473 $as_echo "no" >&6; }
5477 test -n "$ac_ct_AR" && break
5480 if test "x$ac_ct_AR" = x; then
5483 case $cross_compiling:$ac_tool_warned in
5485 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5486 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5487 ac_tool_warned=yes ;;
5506 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for archiver @FILE support" >&5
5507 $as_echo_n "checking for archiver @FILE support... " >&6; }
5508 if ${lt_cv_ar_at_file+:} false; then :
5509 $as_echo_n "(cached) " >&6
5512 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5513 /* end confdefs.h. */
5523 if ac_fn_c_try_compile "$LINENO"; then :
5524 echo conftest.$ac_objext > conftest.lst
5525 lt_ar_try='$AR $AR_FLAGS libconftest.a @conftest.lst >&5'
5526 { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$lt_ar_try\""; } >&5
5527 (eval $lt_ar_try) 2>&5
5529 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
5530 test $ac_status = 0; }
5531 if test "$ac_status" -eq 0; then
5532 # Ensure the archiver fails upon bogus file names.
5533 rm -f conftest.$ac_objext libconftest.a
5534 { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$lt_ar_try\""; } >&5
5535 (eval $lt_ar_try) 2>&5
5537 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
5538 test $ac_status = 0; }
5539 if test "$ac_status" -ne 0; then
5543 rm -f conftest.* libconftest.a
5546 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5549 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ar_at_file" >&5
5550 $as_echo "$lt_cv_ar_at_file" >&6; }
5552 if test "x$lt_cv_ar_at_file" = xno; then
5555 archiver_list_spec=$lt_cv_ar_at_file
5564 if test -n "$ac_tool_prefix"; then
5565 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
5566 set dummy ${ac_tool_prefix}strip; ac_word=$2
5567 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5568 $as_echo_n "checking for $ac_word... " >&6; }
5569 if ${ac_cv_prog_STRIP+:} false; then :
5570 $as_echo_n "(cached) " >&6
5572 if test -n "$STRIP"; then
5573 ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
5575 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5579 test -z "$as_dir" && as_dir=.
5580 for ac_exec_ext in '' $ac_executable_extensions; do
5581 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5582 ac_cv_prog_STRIP="${ac_tool_prefix}strip"
5583 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5592 STRIP=$ac_cv_prog_STRIP
5593 if test -n "$STRIP"; then
5594 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
5595 $as_echo "$STRIP" >&6; }
5597 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5598 $as_echo "no" >&6; }
5603 if test -z "$ac_cv_prog_STRIP"; then
5605 # Extract the first word of "strip", so it can be a program name with args.
5606 set dummy strip; ac_word=$2
5607 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5608 $as_echo_n "checking for $ac_word... " >&6; }
5609 if ${ac_cv_prog_ac_ct_STRIP+:} false; then :
5610 $as_echo_n "(cached) " >&6
5612 if test -n "$ac_ct_STRIP"; then
5613 ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
5615 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5619 test -z "$as_dir" && as_dir=.
5620 for ac_exec_ext in '' $ac_executable_extensions; do
5621 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5622 ac_cv_prog_ac_ct_STRIP="strip"
5623 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5632 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
5633 if test -n "$ac_ct_STRIP"; then
5634 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
5635 $as_echo "$ac_ct_STRIP" >&6; }
5637 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5638 $as_echo "no" >&6; }
5641 if test "x$ac_ct_STRIP" = x; then
5644 case $cross_compiling:$ac_tool_warned in
5646 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5647 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5648 ac_tool_warned=yes ;;
5653 STRIP="$ac_cv_prog_STRIP"
5656 test -z "$STRIP" && STRIP=:
5663 if test -n "$ac_tool_prefix"; then
5664 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
5665 set dummy ${ac_tool_prefix}ranlib; ac_word=$2
5666 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5667 $as_echo_n "checking for $ac_word... " >&6; }
5668 if ${ac_cv_prog_RANLIB+:} false; then :
5669 $as_echo_n "(cached) " >&6
5671 if test -n "$RANLIB"; then
5672 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
5674 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5678 test -z "$as_dir" && as_dir=.
5679 for ac_exec_ext in '' $ac_executable_extensions; do
5680 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5681 ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
5682 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5691 RANLIB=$ac_cv_prog_RANLIB
5692 if test -n "$RANLIB"; then
5693 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $RANLIB" >&5
5694 $as_echo "$RANLIB" >&6; }
5696 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5697 $as_echo "no" >&6; }
5702 if test -z "$ac_cv_prog_RANLIB"; then
5703 ac_ct_RANLIB=$RANLIB
5704 # Extract the first word of "ranlib", so it can be a program name with args.
5705 set dummy ranlib; ac_word=$2
5706 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5707 $as_echo_n "checking for $ac_word... " >&6; }
5708 if ${ac_cv_prog_ac_ct_RANLIB+:} false; then :
5709 $as_echo_n "(cached) " >&6
5711 if test -n "$ac_ct_RANLIB"; then
5712 ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
5714 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5718 test -z "$as_dir" && as_dir=.
5719 for ac_exec_ext in '' $ac_executable_extensions; do
5720 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5721 ac_cv_prog_ac_ct_RANLIB="ranlib"
5722 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5731 ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
5732 if test -n "$ac_ct_RANLIB"; then
5733 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_RANLIB" >&5
5734 $as_echo "$ac_ct_RANLIB" >&6; }
5736 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5737 $as_echo "no" >&6; }
5740 if test "x$ac_ct_RANLIB" = x; then
5743 case $cross_compiling:$ac_tool_warned in
5745 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5746 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5747 ac_tool_warned=yes ;;
5749 RANLIB=$ac_ct_RANLIB
5752 RANLIB="$ac_cv_prog_RANLIB"
5755 test -z "$RANLIB" && RANLIB=:
5762 # Determine commands to create old-style static archives.
5763 old_archive_cmds='$AR $AR_FLAGS $oldlib$oldobjs'
5764 old_postinstall_cmds='chmod 644 $oldlib'
5765 old_postuninstall_cmds=
5767 if test -n "$RANLIB"; then
5770 old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB -t \$oldlib"
5773 old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB \$oldlib"
5776 old_archive_cmds="$old_archive_cmds~\$RANLIB \$oldlib"
5781 lock_old_archive_extraction=yes ;;
5783 lock_old_archive_extraction=no ;;
5824 # If no C compiler was specified, use CC.
5827 # If no C compiler flags were specified, use CFLAGS.
5828 LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
5830 # Allow CC to be a program name with arguments.
5834 # Check for command to grab the raw symbol name followed by C symbol from nm.
5835 { $as_echo "$as_me:${as_lineno-$LINENO}: checking command to parse $NM output from $compiler object" >&5
5836 $as_echo_n "checking command to parse $NM output from $compiler object... " >&6; }
5837 if ${lt_cv_sys_global_symbol_pipe+:} false; then :
5838 $as_echo_n "(cached) " >&6
5841 # These are sane defaults that work on at least a few old systems.
5842 # [They come from Ultrix. What could be older than Ultrix?!! ;)]
5844 # Character class describing NM global symbol codes.
5845 symcode='[BCDEGRST]'
5847 # Regexp to match symbols that can be accessed directly from C.
5848 sympat='\([_A-Za-z][_A-Za-z0-9]*\)'
5850 # Define system-specific variables.
5855 cygwin* | mingw* | pw32* | cegcc*)
5856 symcode='[ABCDGISTW]'
5859 if test "$host_cpu" = ia64; then
5860 symcode='[ABCDEGRST]'
5864 symcode='[BCDEGRST]'
5867 symcode='[BCDEGQRST]'
5878 sysv5* | sco5v6* | unixware* | OpenUNIX*)
5886 # If we're using GNU nm, then use its standard symbol codes.
5887 case `$NM -V 2>&1` in
5888 *GNU* | *'with BFD'*)
5889 symcode='[ABCDGIRSTW]' ;;
5892 # Transform an extracted symbol line into a proper C declaration.
5893 # Some systems (esp. on ia64) link data and code symbols differently,
5894 # so use this general approach.
5895 lt_cv_sys_global_symbol_to_cdecl="sed -n -e 's/^T .* \(.*\)$/extern int \1();/p' -e 's/^$symcode* .* \(.*\)$/extern char \1;/p'"
5897 # Transform an extracted symbol line into symbol name and symbol address
5898 lt_cv_sys_global_symbol_to_c_name_address="sed -n -e 's/^: \([^ ]*\)[ ]*$/ {\\\"\1\\\", (void *) 0},/p' -e 's/^$symcode* \([^ ]*\) \([^ ]*\)$/ {\"\2\", (void *) \&\2},/p'"
5899 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'"
5901 # Handle CRLF in mingw tool chain
5905 opt_cr=`$ECHO 'x\{0,1\}' | tr x '\015'` # option cr in regexp
5909 # Try without a prefix underscore, then with it.
5910 for ac_symprfx in "" "_"; do
5912 # Transform symcode, sympat, and symprfx into a raw symbol and a C symbol.
5913 symxfrm="\\1 $ac_symprfx\\2 \\2"
5915 # Write the raw and C identifiers.
5916 if test "$lt_cv_nm_interface" = "MS dumpbin"; then
5917 # Fake it for dumpbin and say T for any non-static function
5918 # and D for any global variable.
5919 # Also find C++ and __fastcall symbols from MSVC++,
5920 # which start with @ or ?.
5921 lt_cv_sys_global_symbol_pipe="$AWK '"\
5922 " {last_section=section; section=\$ 3};"\
5923 " /Section length .*#relocs.*(pick any)/{hide[last_section]=1};"\
5924 " \$ 0!~/External *\|/{next};"\
5925 " / 0+ UNDEF /{next}; / UNDEF \([^|]\)*()/{next};"\
5926 " {if(hide[section]) next};"\
5927 " {f=0}; \$ 0~/\(\).*\|/{f=1}; {printf f ? \"T \" : \"D \"};"\
5928 " {split(\$ 0, a, /\||\r/); split(a[2], s)};"\
5929 " s[1]~/^[@?]/{print s[1], s[1]; next};"\
5930 " s[1]~prfx {split(s[1],t,\"@\"); print t[1], substr(t[1],length(prfx))}"\
5931 " ' prfx=^$ac_symprfx"
5933 lt_cv_sys_global_symbol_pipe="sed -n -e 's/^.*[ ]\($symcode$symcode*\)[ ][ ]*$ac_symprfx$sympat$opt_cr$/$symxfrm/p'"
5935 lt_cv_sys_global_symbol_pipe="$lt_cv_sys_global_symbol_pipe | sed '/ __gnu_lto/d'"
5937 # Check to see that the pipe works correctly.
5941 cat > conftest.$ac_ext <<_LT_EOF
5946 void nm_test_func(void);
5947 void nm_test_func(void){}
5951 int main(){nm_test_var='a';nm_test_func();return(0);}
5954 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
5955 (eval $ac_compile) 2>&5
5957 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
5958 test $ac_status = 0; }; then
5959 # Now try to grab the symbols.
5961 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$NM conftest.$ac_objext \| "$lt_cv_sys_global_symbol_pipe" \> $nlist\""; } >&5
5962 (eval $NM conftest.$ac_objext \| "$lt_cv_sys_global_symbol_pipe" \> $nlist) 2>&5
5964 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
5965 test $ac_status = 0; } && test -s "$nlist"; then
5966 # Try sorting and uniquifying the output.
5967 if sort "$nlist" | uniq > "$nlist"T; then
5968 mv -f "$nlist"T "$nlist"
5973 # Make sure that we snagged all the symbols we need.
5974 if $GREP ' nm_test_var$' "$nlist" >/dev/null; then
5975 if $GREP ' nm_test_func$' "$nlist" >/dev/null; then
5976 cat <<_LT_EOF > conftest.$ac_ext
5977 /* Keep this code in sync between libtool.m4, ltmain, lt_system.h, and tests. */
5978 #if defined(_WIN32) || defined(__CYGWIN__) || defined(_WIN32_WCE)
5979 /* DATA imports from DLLs on WIN32 con't be const, because runtime
5980 relocations are performed -- see ld's documentation on pseudo-relocs. */
5981 # define LT_DLSYM_CONST
5982 #elif defined(__osf__)
5983 /* This system does not cope well with relocations in const data. */
5984 # define LT_DLSYM_CONST
5986 # define LT_DLSYM_CONST const
5994 # Now generate the symbol file.
5995 eval "$lt_cv_sys_global_symbol_to_cdecl"' < "$nlist" | $GREP -v main >> conftest.$ac_ext'
5997 cat <<_LT_EOF >> conftest.$ac_ext
5999 /* The mapping between symbol names and symbols. */
6000 LT_DLSYM_CONST struct {
6004 lt__PROGRAM__LTX_preloaded_symbols[] =
6006 { "@PROGRAM@", (void *) 0 },
6008 $SED "s/^$symcode$symcode* \(.*\) \(.*\)$/ {\"\2\", (void *) \&\2},/" < "$nlist" | $GREP -v main >> conftest.$ac_ext
6009 cat <<\_LT_EOF >> conftest.$ac_ext
6013 /* This works around a problem in FreeBSD linker */
6014 #ifdef FREEBSD_WORKAROUND
6015 static const void *lt_preloaded_setup() {
6016 return lt__PROGRAM__LTX_preloaded_symbols;
6024 # Now try linking the two files.
6025 mv conftest.$ac_objext conftstm.$ac_objext
6026 lt_globsym_save_LIBS=$LIBS
6027 lt_globsym_save_CFLAGS=$CFLAGS
6028 LIBS="conftstm.$ac_objext"
6029 CFLAGS="$CFLAGS$lt_prog_compiler_no_builtin_flag"
6030 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
6031 (eval $ac_link) 2>&5
6033 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6034 test $ac_status = 0; } && test -s conftest${ac_exeext}; then
6037 LIBS=$lt_globsym_save_LIBS
6038 CFLAGS=$lt_globsym_save_CFLAGS
6040 echo "cannot find nm_test_func in $nlist" >&5
6043 echo "cannot find nm_test_var in $nlist" >&5
6046 echo "cannot run $lt_cv_sys_global_symbol_pipe" >&5
6049 echo "$progname: failed program was:" >&5
6050 cat conftest.$ac_ext >&5
6052 rm -rf conftest* conftst*
6054 # Do not use the global_symbol_pipe unless it works.
6055 if test "$pipe_works" = yes; then
6058 lt_cv_sys_global_symbol_pipe=
6064 if test -z "$lt_cv_sys_global_symbol_pipe"; then
6065 lt_cv_sys_global_symbol_to_cdecl=
6067 if test -z "$lt_cv_sys_global_symbol_pipe$lt_cv_sys_global_symbol_to_cdecl"; then
6068 { $as_echo "$as_me:${as_lineno-$LINENO}: result: failed" >&5
6069 $as_echo "failed" >&6; }
6071 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ok" >&5
6072 $as_echo "ok" >&6; }
6075 # Response file support.
6076 if test "$lt_cv_nm_interface" = "MS dumpbin"; then
6077 nm_file_list_spec='@'
6078 elif $NM --help 2>/dev/null | grep '[@]FILE' >/dev/null; then
6079 nm_file_list_spec='@'
6108 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sysroot" >&5
6109 $as_echo_n "checking for sysroot... " >&6; }
6111 # Check whether --with-sysroot was given.
6112 if test "${with_sysroot+set}" = set; then :
6113 withval=$with_sysroot;
6120 case ${with_sysroot} in #(
6122 if test "$GCC" = yes; then
6123 lt_sysroot=`$CC --print-sysroot 2>/dev/null`
6127 lt_sysroot=`echo "$with_sysroot" | sed -e "$sed_quote_subst"`
6132 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${with_sysroot}" >&5
6133 $as_echo "${with_sysroot}" >&6; }
6134 as_fn_error $? "The sysroot must be an absolute path." "$LINENO" 5
6138 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${lt_sysroot:-no}" >&5
6139 $as_echo "${lt_sysroot:-no}" >&6; }
6145 # Check whether --enable-libtool-lock was given.
6146 if test "${enable_libtool_lock+set}" = set; then :
6147 enableval=$enable_libtool_lock;
6150 test "x$enable_libtool_lock" != xno && enable_libtool_lock=yes
6152 # Some flags need to be propagated to the compiler or linker for good
6156 # Find out which ABI we are using.
6157 echo 'int i;' > conftest.$ac_ext
6158 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
6159 (eval $ac_compile) 2>&5
6161 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6162 test $ac_status = 0; }; then
6163 case `/usr/bin/file conftest.$ac_objext` in
6175 # Find out which ABI we are using.
6176 echo '#line '$LINENO' "configure"' > conftest.$ac_ext
6177 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
6178 (eval $ac_compile) 2>&5
6180 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6181 test $ac_status = 0; }; then
6182 if test "$lt_cv_prog_gnu_ld" = yes; then
6183 case `/usr/bin/file conftest.$ac_objext` in
6185 LD="${LD-ld} -melf32bsmip"
6188 LD="${LD-ld} -melf32bmipn32"
6191 LD="${LD-ld} -melf64bmip"
6195 case `/usr/bin/file conftest.$ac_objext` in
6211 x86_64-*kfreebsd*-gnu|x86_64-*linux*|ppc*-*linux*|powerpc*-*linux*| \
6212 s390*-*linux*|s390*-*tpf*|sparc*-*linux*)
6213 # Find out which ABI we are using.
6214 echo 'int i;' > conftest.$ac_ext
6215 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
6216 (eval $ac_compile) 2>&5
6218 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6219 test $ac_status = 0; }; then
6220 case `/usr/bin/file conftest.o` in
6223 x86_64-*kfreebsd*-gnu)
6224 LD="${LD-ld} -m elf_i386_fbsd"
6227 LD="${LD-ld} -m elf_i386"
6229 ppc64-*linux*|powerpc64-*linux*)
6230 LD="${LD-ld} -m elf32ppclinux"
6233 LD="${LD-ld} -m elf_s390"
6236 LD="${LD-ld} -m elf32_sparc"
6242 x86_64-*kfreebsd*-gnu)
6243 LD="${LD-ld} -m elf_x86_64_fbsd"
6246 LD="${LD-ld} -m elf_x86_64"
6248 ppc*-*linux*|powerpc*-*linux*)
6249 LD="${LD-ld} -m elf64ppc"
6251 s390*-*linux*|s390*-*tpf*)
6252 LD="${LD-ld} -m elf64_s390"
6255 LD="${LD-ld} -m elf64_sparc"
6265 # On SCO OpenServer 5, we need -belf to get full-featured binaries.
6266 SAVE_CFLAGS="$CFLAGS"
6267 CFLAGS="$CFLAGS -belf"
6268 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler needs -belf" >&5
6269 $as_echo_n "checking whether the C compiler needs -belf... " >&6; }
6270 if ${lt_cv_cc_needs_belf+:} false; then :
6271 $as_echo_n "(cached) " >&6
6274 ac_cpp='$CPP $CPPFLAGS'
6275 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
6276 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
6277 ac_compiler_gnu=$ac_cv_c_compiler_gnu
6279 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6280 /* end confdefs.h. */
6290 if ac_fn_c_try_link "$LINENO"; then :
6291 lt_cv_cc_needs_belf=yes
6293 lt_cv_cc_needs_belf=no
6295 rm -f core conftest.err conftest.$ac_objext \
6296 conftest$ac_exeext conftest.$ac_ext
6298 ac_cpp='$CPP $CPPFLAGS'
6299 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
6300 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
6301 ac_compiler_gnu=$ac_cv_c_compiler_gnu
6304 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_cc_needs_belf" >&5
6305 $as_echo "$lt_cv_cc_needs_belf" >&6; }
6306 if test x"$lt_cv_cc_needs_belf" != x"yes"; then
6307 # this is probably gcc 2.8.0, egcs 1.0 or newer; no need for -belf
6308 CFLAGS="$SAVE_CFLAGS"
6312 # Find out which ABI we are using.
6313 echo 'int i;' > conftest.$ac_ext
6314 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
6315 (eval $ac_compile) 2>&5
6317 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6318 test $ac_status = 0; }; then
6319 case `/usr/bin/file conftest.o` in
6321 case $lt_cv_prog_gnu_ld in
6322 yes*) LD="${LD-ld} -m elf64_sparc" ;;
6324 if ${LD-ld} -64 -r -o conftest2.o conftest.o >/dev/null 2>&1; then
6336 need_locks="$enable_libtool_lock"
6338 if test -n "$ac_tool_prefix"; then
6339 # Extract the first word of "${ac_tool_prefix}mt", so it can be a program name with args.
6340 set dummy ${ac_tool_prefix}mt; ac_word=$2
6341 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6342 $as_echo_n "checking for $ac_word... " >&6; }
6343 if ${ac_cv_prog_MANIFEST_TOOL+:} false; then :
6344 $as_echo_n "(cached) " >&6
6346 if test -n "$MANIFEST_TOOL"; then
6347 ac_cv_prog_MANIFEST_TOOL="$MANIFEST_TOOL" # Let the user override the test.
6349 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6353 test -z "$as_dir" && as_dir=.
6354 for ac_exec_ext in '' $ac_executable_extensions; do
6355 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6356 ac_cv_prog_MANIFEST_TOOL="${ac_tool_prefix}mt"
6357 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6366 MANIFEST_TOOL=$ac_cv_prog_MANIFEST_TOOL
6367 if test -n "$MANIFEST_TOOL"; then
6368 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MANIFEST_TOOL" >&5
6369 $as_echo "$MANIFEST_TOOL" >&6; }
6371 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6372 $as_echo "no" >&6; }
6377 if test -z "$ac_cv_prog_MANIFEST_TOOL"; then
6378 ac_ct_MANIFEST_TOOL=$MANIFEST_TOOL
6379 # Extract the first word of "mt", so it can be a program name with args.
6380 set dummy mt; ac_word=$2
6381 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6382 $as_echo_n "checking for $ac_word... " >&6; }
6383 if ${ac_cv_prog_ac_ct_MANIFEST_TOOL+:} false; then :
6384 $as_echo_n "(cached) " >&6
6386 if test -n "$ac_ct_MANIFEST_TOOL"; then
6387 ac_cv_prog_ac_ct_MANIFEST_TOOL="$ac_ct_MANIFEST_TOOL" # Let the user override the test.
6389 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6393 test -z "$as_dir" && as_dir=.
6394 for ac_exec_ext in '' $ac_executable_extensions; do
6395 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6396 ac_cv_prog_ac_ct_MANIFEST_TOOL="mt"
6397 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6406 ac_ct_MANIFEST_TOOL=$ac_cv_prog_ac_ct_MANIFEST_TOOL
6407 if test -n "$ac_ct_MANIFEST_TOOL"; then
6408 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_MANIFEST_TOOL" >&5
6409 $as_echo "$ac_ct_MANIFEST_TOOL" >&6; }
6411 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6412 $as_echo "no" >&6; }
6415 if test "x$ac_ct_MANIFEST_TOOL" = x; then
6418 case $cross_compiling:$ac_tool_warned in
6420 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6421 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6422 ac_tool_warned=yes ;;
6424 MANIFEST_TOOL=$ac_ct_MANIFEST_TOOL
6427 MANIFEST_TOOL="$ac_cv_prog_MANIFEST_TOOL"
6430 test -z "$MANIFEST_TOOL" && MANIFEST_TOOL=mt
6431 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $MANIFEST_TOOL is a manifest tool" >&5
6432 $as_echo_n "checking if $MANIFEST_TOOL is a manifest tool... " >&6; }
6433 if ${lt_cv_path_mainfest_tool+:} false; then :
6434 $as_echo_n "(cached) " >&6
6436 lt_cv_path_mainfest_tool=no
6437 echo "$as_me:$LINENO: $MANIFEST_TOOL '-?'" >&5
6438 $MANIFEST_TOOL '-?' 2>conftest.err > conftest.out
6439 cat conftest.err >&5
6440 if $GREP 'Manifest Tool' conftest.out > /dev/null; then
6441 lt_cv_path_mainfest_tool=yes
6445 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_path_mainfest_tool" >&5
6446 $as_echo "$lt_cv_path_mainfest_tool" >&6; }
6447 if test "x$lt_cv_path_mainfest_tool" != xyes; then
6457 rhapsody* | darwin*)
6458 if test -n "$ac_tool_prefix"; then
6459 # Extract the first word of "${ac_tool_prefix}dsymutil", so it can be a program name with args.
6460 set dummy ${ac_tool_prefix}dsymutil; ac_word=$2
6461 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6462 $as_echo_n "checking for $ac_word... " >&6; }
6463 if ${ac_cv_prog_DSYMUTIL+:} false; then :
6464 $as_echo_n "(cached) " >&6
6466 if test -n "$DSYMUTIL"; then
6467 ac_cv_prog_DSYMUTIL="$DSYMUTIL" # Let the user override the test.
6469 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6473 test -z "$as_dir" && as_dir=.
6474 for ac_exec_ext in '' $ac_executable_extensions; do
6475 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6476 ac_cv_prog_DSYMUTIL="${ac_tool_prefix}dsymutil"
6477 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6486 DSYMUTIL=$ac_cv_prog_DSYMUTIL
6487 if test -n "$DSYMUTIL"; then
6488 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DSYMUTIL" >&5
6489 $as_echo "$DSYMUTIL" >&6; }
6491 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6492 $as_echo "no" >&6; }
6497 if test -z "$ac_cv_prog_DSYMUTIL"; then
6498 ac_ct_DSYMUTIL=$DSYMUTIL
6499 # Extract the first word of "dsymutil", so it can be a program name with args.
6500 set dummy dsymutil; ac_word=$2
6501 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6502 $as_echo_n "checking for $ac_word... " >&6; }
6503 if ${ac_cv_prog_ac_ct_DSYMUTIL+:} false; then :
6504 $as_echo_n "(cached) " >&6
6506 if test -n "$ac_ct_DSYMUTIL"; then
6507 ac_cv_prog_ac_ct_DSYMUTIL="$ac_ct_DSYMUTIL" # Let the user override the test.
6509 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6513 test -z "$as_dir" && as_dir=.
6514 for ac_exec_ext in '' $ac_executable_extensions; do
6515 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6516 ac_cv_prog_ac_ct_DSYMUTIL="dsymutil"
6517 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6526 ac_ct_DSYMUTIL=$ac_cv_prog_ac_ct_DSYMUTIL
6527 if test -n "$ac_ct_DSYMUTIL"; then
6528 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DSYMUTIL" >&5
6529 $as_echo "$ac_ct_DSYMUTIL" >&6; }
6531 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6532 $as_echo "no" >&6; }
6535 if test "x$ac_ct_DSYMUTIL" = x; then
6538 case $cross_compiling:$ac_tool_warned in
6540 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6541 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6542 ac_tool_warned=yes ;;
6544 DSYMUTIL=$ac_ct_DSYMUTIL
6547 DSYMUTIL="$ac_cv_prog_DSYMUTIL"
6550 if test -n "$ac_tool_prefix"; then
6551 # Extract the first word of "${ac_tool_prefix}nmedit", so it can be a program name with args.
6552 set dummy ${ac_tool_prefix}nmedit; ac_word=$2
6553 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6554 $as_echo_n "checking for $ac_word... " >&6; }
6555 if ${ac_cv_prog_NMEDIT+:} false; then :
6556 $as_echo_n "(cached) " >&6
6558 if test -n "$NMEDIT"; then
6559 ac_cv_prog_NMEDIT="$NMEDIT" # Let the user override the test.
6561 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6565 test -z "$as_dir" && as_dir=.
6566 for ac_exec_ext in '' $ac_executable_extensions; do
6567 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6568 ac_cv_prog_NMEDIT="${ac_tool_prefix}nmedit"
6569 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6578 NMEDIT=$ac_cv_prog_NMEDIT
6579 if test -n "$NMEDIT"; then
6580 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $NMEDIT" >&5
6581 $as_echo "$NMEDIT" >&6; }
6583 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6584 $as_echo "no" >&6; }
6589 if test -z "$ac_cv_prog_NMEDIT"; then
6590 ac_ct_NMEDIT=$NMEDIT
6591 # Extract the first word of "nmedit", so it can be a program name with args.
6592 set dummy nmedit; ac_word=$2
6593 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6594 $as_echo_n "checking for $ac_word... " >&6; }
6595 if ${ac_cv_prog_ac_ct_NMEDIT+:} false; then :
6596 $as_echo_n "(cached) " >&6
6598 if test -n "$ac_ct_NMEDIT"; then
6599 ac_cv_prog_ac_ct_NMEDIT="$ac_ct_NMEDIT" # Let the user override the test.
6601 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6605 test -z "$as_dir" && as_dir=.
6606 for ac_exec_ext in '' $ac_executable_extensions; do
6607 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6608 ac_cv_prog_ac_ct_NMEDIT="nmedit"
6609 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6618 ac_ct_NMEDIT=$ac_cv_prog_ac_ct_NMEDIT
6619 if test -n "$ac_ct_NMEDIT"; then
6620 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_NMEDIT" >&5
6621 $as_echo "$ac_ct_NMEDIT" >&6; }
6623 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6624 $as_echo "no" >&6; }
6627 if test "x$ac_ct_NMEDIT" = x; then
6630 case $cross_compiling:$ac_tool_warned in
6632 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6633 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6634 ac_tool_warned=yes ;;
6636 NMEDIT=$ac_ct_NMEDIT
6639 NMEDIT="$ac_cv_prog_NMEDIT"
6642 if test -n "$ac_tool_prefix"; then
6643 # Extract the first word of "${ac_tool_prefix}lipo", so it can be a program name with args.
6644 set dummy ${ac_tool_prefix}lipo; ac_word=$2
6645 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6646 $as_echo_n "checking for $ac_word... " >&6; }
6647 if ${ac_cv_prog_LIPO+:} false; then :
6648 $as_echo_n "(cached) " >&6
6650 if test -n "$LIPO"; then
6651 ac_cv_prog_LIPO="$LIPO" # Let the user override the test.
6653 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6657 test -z "$as_dir" && as_dir=.
6658 for ac_exec_ext in '' $ac_executable_extensions; do
6659 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6660 ac_cv_prog_LIPO="${ac_tool_prefix}lipo"
6661 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6670 LIPO=$ac_cv_prog_LIPO
6671 if test -n "$LIPO"; then
6672 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LIPO" >&5
6673 $as_echo "$LIPO" >&6; }
6675 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6676 $as_echo "no" >&6; }
6681 if test -z "$ac_cv_prog_LIPO"; then
6683 # Extract the first word of "lipo", so it can be a program name with args.
6684 set dummy lipo; ac_word=$2
6685 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6686 $as_echo_n "checking for $ac_word... " >&6; }
6687 if ${ac_cv_prog_ac_ct_LIPO+:} false; then :
6688 $as_echo_n "(cached) " >&6
6690 if test -n "$ac_ct_LIPO"; then
6691 ac_cv_prog_ac_ct_LIPO="$ac_ct_LIPO" # Let the user override the test.
6693 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6697 test -z "$as_dir" && as_dir=.
6698 for ac_exec_ext in '' $ac_executable_extensions; do
6699 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6700 ac_cv_prog_ac_ct_LIPO="lipo"
6701 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6710 ac_ct_LIPO=$ac_cv_prog_ac_ct_LIPO
6711 if test -n "$ac_ct_LIPO"; then
6712 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_LIPO" >&5
6713 $as_echo "$ac_ct_LIPO" >&6; }
6715 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6716 $as_echo "no" >&6; }
6719 if test "x$ac_ct_LIPO" = x; then
6722 case $cross_compiling:$ac_tool_warned in
6724 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6725 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6726 ac_tool_warned=yes ;;
6731 LIPO="$ac_cv_prog_LIPO"
6734 if test -n "$ac_tool_prefix"; then
6735 # Extract the first word of "${ac_tool_prefix}otool", so it can be a program name with args.
6736 set dummy ${ac_tool_prefix}otool; ac_word=$2
6737 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6738 $as_echo_n "checking for $ac_word... " >&6; }
6739 if ${ac_cv_prog_OTOOL+:} false; then :
6740 $as_echo_n "(cached) " >&6
6742 if test -n "$OTOOL"; then
6743 ac_cv_prog_OTOOL="$OTOOL" # Let the user override the test.
6745 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6749 test -z "$as_dir" && as_dir=.
6750 for ac_exec_ext in '' $ac_executable_extensions; do
6751 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6752 ac_cv_prog_OTOOL="${ac_tool_prefix}otool"
6753 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6762 OTOOL=$ac_cv_prog_OTOOL
6763 if test -n "$OTOOL"; then
6764 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OTOOL" >&5
6765 $as_echo "$OTOOL" >&6; }
6767 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6768 $as_echo "no" >&6; }
6773 if test -z "$ac_cv_prog_OTOOL"; then
6775 # Extract the first word of "otool", so it can be a program name with args.
6776 set dummy otool; ac_word=$2
6777 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6778 $as_echo_n "checking for $ac_word... " >&6; }
6779 if ${ac_cv_prog_ac_ct_OTOOL+:} false; then :
6780 $as_echo_n "(cached) " >&6
6782 if test -n "$ac_ct_OTOOL"; then
6783 ac_cv_prog_ac_ct_OTOOL="$ac_ct_OTOOL" # Let the user override the test.
6785 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6789 test -z "$as_dir" && as_dir=.
6790 for ac_exec_ext in '' $ac_executable_extensions; do
6791 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6792 ac_cv_prog_ac_ct_OTOOL="otool"
6793 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6802 ac_ct_OTOOL=$ac_cv_prog_ac_ct_OTOOL
6803 if test -n "$ac_ct_OTOOL"; then
6804 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OTOOL" >&5
6805 $as_echo "$ac_ct_OTOOL" >&6; }
6807 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6808 $as_echo "no" >&6; }
6811 if test "x$ac_ct_OTOOL" = x; then
6814 case $cross_compiling:$ac_tool_warned in
6816 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6817 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6818 ac_tool_warned=yes ;;
6823 OTOOL="$ac_cv_prog_OTOOL"
6826 if test -n "$ac_tool_prefix"; then
6827 # Extract the first word of "${ac_tool_prefix}otool64", so it can be a program name with args.
6828 set dummy ${ac_tool_prefix}otool64; ac_word=$2
6829 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6830 $as_echo_n "checking for $ac_word... " >&6; }
6831 if ${ac_cv_prog_OTOOL64+:} false; then :
6832 $as_echo_n "(cached) " >&6
6834 if test -n "$OTOOL64"; then
6835 ac_cv_prog_OTOOL64="$OTOOL64" # Let the user override the test.
6837 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6841 test -z "$as_dir" && as_dir=.
6842 for ac_exec_ext in '' $ac_executable_extensions; do
6843 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6844 ac_cv_prog_OTOOL64="${ac_tool_prefix}otool64"
6845 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6854 OTOOL64=$ac_cv_prog_OTOOL64
6855 if test -n "$OTOOL64"; then
6856 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OTOOL64" >&5
6857 $as_echo "$OTOOL64" >&6; }
6859 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6860 $as_echo "no" >&6; }
6865 if test -z "$ac_cv_prog_OTOOL64"; then
6866 ac_ct_OTOOL64=$OTOOL64
6867 # Extract the first word of "otool64", so it can be a program name with args.
6868 set dummy otool64; ac_word=$2
6869 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6870 $as_echo_n "checking for $ac_word... " >&6; }
6871 if ${ac_cv_prog_ac_ct_OTOOL64+:} false; then :
6872 $as_echo_n "(cached) " >&6
6874 if test -n "$ac_ct_OTOOL64"; then
6875 ac_cv_prog_ac_ct_OTOOL64="$ac_ct_OTOOL64" # Let the user override the test.
6877 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6881 test -z "$as_dir" && as_dir=.
6882 for ac_exec_ext in '' $ac_executable_extensions; do
6883 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6884 ac_cv_prog_ac_ct_OTOOL64="otool64"
6885 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6894 ac_ct_OTOOL64=$ac_cv_prog_ac_ct_OTOOL64
6895 if test -n "$ac_ct_OTOOL64"; then
6896 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OTOOL64" >&5
6897 $as_echo "$ac_ct_OTOOL64" >&6; }
6899 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6900 $as_echo "no" >&6; }
6903 if test "x$ac_ct_OTOOL64" = x; then
6906 case $cross_compiling:$ac_tool_warned in
6908 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6909 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6910 ac_tool_warned=yes ;;
6912 OTOOL64=$ac_ct_OTOOL64
6915 OTOOL64="$ac_cv_prog_OTOOL64"
6944 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -single_module linker flag" >&5
6945 $as_echo_n "checking for -single_module linker flag... " >&6; }
6946 if ${lt_cv_apple_cc_single_mod+:} false; then :
6947 $as_echo_n "(cached) " >&6
6949 lt_cv_apple_cc_single_mod=no
6950 if test -z "${LT_MULTI_MODULE}"; then
6951 # By default we will add the -single_module flag. You can override
6952 # by either setting the environment variable LT_MULTI_MODULE
6953 # non-empty at configure time, or by adding -multi_module to the
6955 rm -rf libconftest.dylib*
6956 echo "int foo(void){return 1;}" > conftest.c
6957 echo "$LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \
6958 -dynamiclib -Wl,-single_module conftest.c" >&5
6959 $LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \
6960 -dynamiclib -Wl,-single_module conftest.c 2>conftest.err
6962 if test -f libconftest.dylib && test ! -s conftest.err && test $_lt_result = 0; then
6963 lt_cv_apple_cc_single_mod=yes
6965 cat conftest.err >&5
6967 rm -rf libconftest.dylib*
6971 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_apple_cc_single_mod" >&5
6972 $as_echo "$lt_cv_apple_cc_single_mod" >&6; }
6973 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -exported_symbols_list linker flag" >&5
6974 $as_echo_n "checking for -exported_symbols_list linker flag... " >&6; }
6975 if ${lt_cv_ld_exported_symbols_list+:} false; then :
6976 $as_echo_n "(cached) " >&6
6978 lt_cv_ld_exported_symbols_list=no
6979 save_LDFLAGS=$LDFLAGS
6980 echo "_main" > conftest.sym
6981 LDFLAGS="$LDFLAGS -Wl,-exported_symbols_list,conftest.sym"
6982 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6983 /* end confdefs.h. */
6993 if ac_fn_c_try_link "$LINENO"; then :
6994 lt_cv_ld_exported_symbols_list=yes
6996 lt_cv_ld_exported_symbols_list=no
6998 rm -f core conftest.err conftest.$ac_objext \
6999 conftest$ac_exeext conftest.$ac_ext
7000 LDFLAGS="$save_LDFLAGS"
7003 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_exported_symbols_list" >&5
7004 $as_echo "$lt_cv_ld_exported_symbols_list" >&6; }
7005 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -force_load linker flag" >&5
7006 $as_echo_n "checking for -force_load linker flag... " >&6; }
7007 if ${lt_cv_ld_force_load+:} false; then :
7008 $as_echo_n "(cached) " >&6
7010 lt_cv_ld_force_load=no
7011 cat > conftest.c << _LT_EOF
7012 int forced_loaded() { return 2;}
7014 echo "$LTCC $LTCFLAGS -c -o conftest.o conftest.c" >&5
7015 $LTCC $LTCFLAGS -c -o conftest.o conftest.c 2>&5
7016 echo "$AR cru libconftest.a conftest.o" >&5
7017 $AR cru libconftest.a conftest.o 2>&5
7018 echo "$RANLIB libconftest.a" >&5
7019 $RANLIB libconftest.a 2>&5
7020 cat > conftest.c << _LT_EOF
7021 int main() { return 0;}
7023 echo "$LTCC $LTCFLAGS $LDFLAGS -o conftest conftest.c -Wl,-force_load,./libconftest.a" >&5
7024 $LTCC $LTCFLAGS $LDFLAGS -o conftest conftest.c -Wl,-force_load,./libconftest.a 2>conftest.err
7026 if test -f conftest && test ! -s conftest.err && test $_lt_result = 0 && $GREP forced_load conftest 2>&1 >/dev/null; then
7027 lt_cv_ld_force_load=yes
7029 cat conftest.err >&5
7031 rm -f conftest.err libconftest.a conftest conftest.c
7032 rm -rf conftest.dSYM
7035 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_force_load" >&5
7036 $as_echo "$lt_cv_ld_force_load" >&6; }
7038 rhapsody* | darwin1.[012])
7039 _lt_dar_allow_undefined='${wl}-undefined ${wl}suppress' ;;
7041 _lt_dar_allow_undefined='${wl}-flat_namespace ${wl}-undefined ${wl}suppress' ;;
7042 darwin*) # darwin 5.x on
7043 # if running on 10.5 or later, the deployment target defaults
7044 # to the OS version, if on x86, and 10.4, the deployment
7045 # target defaults to 10.4. Don't you love it?
7046 case ${MACOSX_DEPLOYMENT_TARGET-10.0},$host in
7047 10.0,*86*-darwin8*|10.0,*-darwin[91]*)
7048 _lt_dar_allow_undefined='${wl}-undefined ${wl}dynamic_lookup' ;;
7050 _lt_dar_allow_undefined='${wl}-flat_namespace ${wl}-undefined ${wl}suppress' ;;
7052 _lt_dar_allow_undefined='${wl}-undefined ${wl}dynamic_lookup' ;;
7056 if test "$lt_cv_apple_cc_single_mod" = "yes"; then
7057 _lt_dar_single_mod='$single_module'
7059 if test "$lt_cv_ld_exported_symbols_list" = "yes"; then
7060 _lt_dar_export_syms=' ${wl}-exported_symbols_list,$output_objdir/${libname}-symbols.expsym'
7062 _lt_dar_export_syms='~$NMEDIT -s $output_objdir/${libname}-symbols.expsym ${lib}'
7064 if test "$DSYMUTIL" != ":" && test "$lt_cv_ld_force_load" = "no"; then
7065 _lt_dsymutil='~$DSYMUTIL $lib || :'
7073 ac_cpp='$CPP $CPPFLAGS'
7074 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
7075 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
7076 ac_compiler_gnu=$ac_cv_c_compiler_gnu
7077 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C preprocessor" >&5
7078 $as_echo_n "checking how to run the C preprocessor... " >&6; }
7079 # On Suns, sometimes $CPP names a directory.
7080 if test -n "$CPP" && test -d "$CPP"; then
7083 if test -z "$CPP"; then
7084 if ${ac_cv_prog_CPP+:} false; then :
7085 $as_echo_n "(cached) " >&6
7087 # Double quotes because CPP needs to be expanded
7088 for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
7091 for ac_c_preproc_warn_flag in '' yes
7093 # Use a header file that comes with gcc, so configuring glibc
7094 # with a fresh cross-compiler works.
7095 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
7096 # <limits.h> exists even on freestanding compilers.
7097 # On the NeXT, cc -E runs the code through the compiler's parser,
7098 # not just through cpp. "Syntax error" is here to catch this case.
7099 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7100 /* end confdefs.h. */
7102 # include <limits.h>
7104 # include <assert.h>
7108 if ac_fn_c_try_cpp "$LINENO"; then :
7111 # Broken: fails on valid input.
7114 rm -f conftest.err conftest.i conftest.$ac_ext
7116 # OK, works on sane cases. Now check whether nonexistent headers
7117 # can be detected and how.
7118 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7119 /* end confdefs.h. */
7120 #include <ac_nonexistent.h>
7122 if ac_fn_c_try_cpp "$LINENO"; then :
7123 # Broken: success on invalid input.
7126 # Passes both tests.
7130 rm -f conftest.err conftest.i conftest.$ac_ext
7133 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
7134 rm -f conftest.i conftest.err conftest.$ac_ext
7135 if $ac_preproc_ok; then :
7147 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CPP" >&5
7148 $as_echo "$CPP" >&6; }
7150 for ac_c_preproc_warn_flag in '' yes
7152 # Use a header file that comes with gcc, so configuring glibc
7153 # with a fresh cross-compiler works.
7154 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
7155 # <limits.h> exists even on freestanding compilers.
7156 # On the NeXT, cc -E runs the code through the compiler's parser,
7157 # not just through cpp. "Syntax error" is here to catch this case.
7158 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7159 /* end confdefs.h. */
7161 # include <limits.h>
7163 # include <assert.h>
7167 if ac_fn_c_try_cpp "$LINENO"; then :
7170 # Broken: fails on valid input.
7173 rm -f conftest.err conftest.i conftest.$ac_ext
7175 # OK, works on sane cases. Now check whether nonexistent headers
7176 # can be detected and how.
7177 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7178 /* end confdefs.h. */
7179 #include <ac_nonexistent.h>
7181 if ac_fn_c_try_cpp "$LINENO"; then :
7182 # Broken: success on invalid input.
7185 # Passes both tests.
7189 rm -f conftest.err conftest.i conftest.$ac_ext
7192 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
7193 rm -f conftest.i conftest.err conftest.$ac_ext
7194 if $ac_preproc_ok; then :
7197 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
7198 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
7199 as_fn_error $? "C preprocessor \"$CPP\" fails sanity check
7200 See \`config.log' for more details" "$LINENO" 5; }
7204 ac_cpp='$CPP $CPPFLAGS'
7205 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
7206 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
7207 ac_compiler_gnu=$ac_cv_c_compiler_gnu
7210 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5
7211 $as_echo_n "checking for ANSI C header files... " >&6; }
7212 if ${ac_cv_header_stdc+:} false; then :
7213 $as_echo_n "(cached) " >&6
7215 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7216 /* end confdefs.h. */
7230 if ac_fn_c_try_compile "$LINENO"; then :
7231 ac_cv_header_stdc=yes
7233 ac_cv_header_stdc=no
7235 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
7237 if test $ac_cv_header_stdc = yes; then
7238 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
7239 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7240 /* end confdefs.h. */
7244 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
7245 $EGREP "memchr" >/dev/null 2>&1; then :
7248 ac_cv_header_stdc=no
7254 if test $ac_cv_header_stdc = yes; then
7255 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
7256 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7257 /* end confdefs.h. */
7261 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
7262 $EGREP "free" >/dev/null 2>&1; then :
7265 ac_cv_header_stdc=no
7271 if test $ac_cv_header_stdc = yes; then
7272 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
7273 if test "$cross_compiling" = yes; then :
7276 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7277 /* end confdefs.h. */
7280 #if ((' ' & 0x0FF) == 0x020)
7281 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
7282 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
7284 # define ISLOWER(c) \
7285 (('a' <= (c) && (c) <= 'i') \
7286 || ('j' <= (c) && (c) <= 'r') \
7287 || ('s' <= (c) && (c) <= 'z'))
7288 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
7291 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
7296 for (i = 0; i < 256; i++)
7297 if (XOR (islower (i), ISLOWER (i))
7298 || toupper (i) != TOUPPER (i))
7303 if ac_fn_c_try_run "$LINENO"; then :
7306 ac_cv_header_stdc=no
7308 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
7309 conftest.$ac_objext conftest.beam conftest.$ac_ext
7314 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdc" >&5
7315 $as_echo "$ac_cv_header_stdc" >&6; }
7316 if test $ac_cv_header_stdc = yes; then
7318 $as_echo "#define STDC_HEADERS 1" >>confdefs.h
7322 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
7323 for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
7324 inttypes.h stdint.h unistd.h
7326 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
7327 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default
7329 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
7330 cat >>confdefs.h <<_ACEOF
7331 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
7339 for ac_header in dlfcn.h
7341 ac_fn_c_check_header_compile "$LINENO" "dlfcn.h" "ac_cv_header_dlfcn_h" "$ac_includes_default
7343 if test "x$ac_cv_header_dlfcn_h" = xyes; then :
7344 cat >>confdefs.h <<_ACEOF
7345 #define HAVE_DLFCN_H 1
7366 # Check whether --enable-shared was given.
7367 if test "${enable_shared+set}" = set; then :
7368 enableval=$enable_shared; p=${PACKAGE-default}
7370 yes) enable_shared=yes ;;
7371 no) enable_shared=no ;;
7374 # Look at the argument we got. We use all the common list separators.
7375 lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
7376 for pkg in $enableval; do
7378 if test "X$pkg" = "X$p"; then
7397 # Check whether --enable-static was given.
7398 if test "${enable_static+set}" = set; then :
7399 enableval=$enable_static; p=${PACKAGE-default}
7401 yes) enable_static=yes ;;
7402 no) enable_static=no ;;
7405 # Look at the argument we got. We use all the common list separators.
7406 lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
7407 for pkg in $enableval; do
7409 if test "X$pkg" = "X$p"; then
7429 # Check whether --with-pic was given.
7430 if test "${with_pic+set}" = set; then :
7431 withval=$with_pic; pic_mode="$withval"
7437 test -z "$pic_mode" && pic_mode=default
7445 # Check whether --enable-fast-install was given.
7446 if test "${enable_fast_install+set}" = set; then :
7447 enableval=$enable_fast_install; p=${PACKAGE-default}
7449 yes) enable_fast_install=yes ;;
7450 no) enable_fast_install=no ;;
7452 enable_fast_install=no
7453 # Look at the argument we got. We use all the common list separators.
7454 lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
7455 for pkg in $enableval; do
7457 if test "X$pkg" = "X$p"; then
7458 enable_fast_install=yes
7465 enable_fast_install=yes
7478 # This can be used to rebuild libtool when needed
7479 LIBTOOL_DEPS="$ltmain"
7481 # Always use our own libtool.
7482 LIBTOOL='$(SHELL) $(top_builddir)/libtool'
7509 test -z "$LN_S" && LN_S="ln -s"
7524 if test -n "${ZSH_VERSION+set}" ; then
7525 setopt NO_GLOB_SUBST
7528 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for objdir" >&5
7529 $as_echo_n "checking for objdir... " >&6; }
7530 if ${lt_cv_objdir+:} false; then :
7531 $as_echo_n "(cached) " >&6
7533 rm -f .libs 2>/dev/null
7534 mkdir .libs 2>/dev/null
7535 if test -d .libs; then
7538 # MS-DOS does not allow filenames that begin with a dot.
7541 rmdir .libs 2>/dev/null
7543 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_objdir" >&5
7544 $as_echo "$lt_cv_objdir" >&6; }
7545 objdir=$lt_cv_objdir
7551 cat >>confdefs.h <<_ACEOF
7552 #define LT_OBJDIR "$lt_cv_objdir/"
7560 # AIX sometimes has problems with the GCC collect2 program. For some
7561 # reason, if we set the COLLECT_NAMES environment variable, the problems
7562 # vanish in a puff of smoke.
7563 if test "X${COLLECT_NAMES+set}" != Xset; then
7565 export COLLECT_NAMES
7572 can_build_shared=yes
7574 # All known linkers require a `.a' archive for static linking (except MSVC,
7575 # which needs '.lib').
7578 with_gnu_ld="$lt_cv_prog_gnu_ld"
7581 old_CFLAGS="$CFLAGS"
7583 # Set sane defaults for various variables
7584 test -z "$CC" && CC=cc
7585 test -z "$LTCC" && LTCC=$CC
7586 test -z "$LTCFLAGS" && LTCFLAGS=$CFLAGS
7587 test -z "$LD" && LD=ld
7588 test -z "$ac_objext" && ac_objext=o
7590 for cc_temp in $compiler""; do
7592 compile | *[\\/]compile | ccache | *[\\/]ccache ) ;;
7593 distcc | *[\\/]distcc | purify | *[\\/]purify ) ;;
7598 cc_basename=`$ECHO "$cc_temp" | $SED "s%.*/%%; s%^$host_alias-%%"`
7601 # Only perform the check for file, if the check method requires it
7602 test -z "$MAGIC_CMD" && MAGIC_CMD=file
7603 case $deplibs_check_method in
7605 if test "$file_magic_cmd" = '$MAGIC_CMD'; then
7606 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ${ac_tool_prefix}file" >&5
7607 $as_echo_n "checking for ${ac_tool_prefix}file... " >&6; }
7608 if ${lt_cv_path_MAGIC_CMD+:} false; then :
7609 $as_echo_n "(cached) " >&6
7613 lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a path.
7616 lt_save_MAGIC_CMD="$MAGIC_CMD"
7617 lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
7618 ac_dummy="/usr/bin$PATH_SEPARATOR$PATH"
7619 for ac_dir in $ac_dummy; do
7621 test -z "$ac_dir" && ac_dir=.
7622 if test -f $ac_dir/${ac_tool_prefix}file; then
7623 lt_cv_path_MAGIC_CMD="$ac_dir/${ac_tool_prefix}file"
7624 if test -n "$file_magic_test_file"; then
7625 case $deplibs_check_method in
7627 file_magic_regex=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
7628 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
7629 if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
7630 $EGREP "$file_magic_regex" > /dev/null; then
7635 *** Warning: the command libtool uses to detect shared libraries,
7636 *** $file_magic_cmd, produces output that libtool cannot recognize.
7637 *** The result is that libtool may fail to recognize shared libraries
7638 *** as such. This will affect the creation of libtool libraries that
7639 *** depend on shared libraries, but programs linked with such libtool
7640 *** libraries will work regardless of this problem. Nevertheless, you
7641 *** may want to report the problem to your system manager and/or to
7642 *** bug-libtool@gnu.org
7652 MAGIC_CMD="$lt_save_MAGIC_CMD"
7657 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
7658 if test -n "$MAGIC_CMD"; then
7659 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MAGIC_CMD" >&5
7660 $as_echo "$MAGIC_CMD" >&6; }
7662 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7663 $as_echo "no" >&6; }
7670 if test -z "$lt_cv_path_MAGIC_CMD"; then
7671 if test -n "$ac_tool_prefix"; then
7672 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for file" >&5
7673 $as_echo_n "checking for file... " >&6; }
7674 if ${lt_cv_path_MAGIC_CMD+:} false; then :
7675 $as_echo_n "(cached) " >&6
7679 lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a path.
7682 lt_save_MAGIC_CMD="$MAGIC_CMD"
7683 lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
7684 ac_dummy="/usr/bin$PATH_SEPARATOR$PATH"
7685 for ac_dir in $ac_dummy; do
7687 test -z "$ac_dir" && ac_dir=.
7688 if test -f $ac_dir/file; then
7689 lt_cv_path_MAGIC_CMD="$ac_dir/file"
7690 if test -n "$file_magic_test_file"; then
7691 case $deplibs_check_method in
7693 file_magic_regex=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
7694 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
7695 if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
7696 $EGREP "$file_magic_regex" > /dev/null; then
7701 *** Warning: the command libtool uses to detect shared libraries,
7702 *** $file_magic_cmd, produces output that libtool cannot recognize.
7703 *** The result is that libtool may fail to recognize shared libraries
7704 *** as such. This will affect the creation of libtool libraries that
7705 *** depend on shared libraries, but programs linked with such libtool
7706 *** libraries will work regardless of this problem. Nevertheless, you
7707 *** may want to report the problem to your system manager and/or to
7708 *** bug-libtool@gnu.org
7718 MAGIC_CMD="$lt_save_MAGIC_CMD"
7723 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
7724 if test -n "$MAGIC_CMD"; then
7725 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MAGIC_CMD" >&5
7726 $as_echo "$MAGIC_CMD" >&6; }
7728 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7729 $as_echo "no" >&6; }
7742 # Use C for the default configuration in the libtool script
7746 ac_cpp='$CPP $CPPFLAGS'
7747 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
7748 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
7749 ac_compiler_gnu=$ac_cv_c_compiler_gnu
7752 # Source file extension for C test sources.
7755 # Object file extension for compiled C test sources.
7759 # Code to be used in simple compile tests
7760 lt_simple_compile_test_code="int some_variable = 0;"
7762 # Code to be used in simple link tests
7763 lt_simple_link_test_code='int main(){return(0);}'
7771 # If no C compiler was specified, use CC.
7774 # If no C compiler flags were specified, use CFLAGS.
7775 LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
7777 # Allow CC to be a program name with arguments.
7780 # Save the default compiler, since it gets overwritten when the other
7781 # tags are being tested, and _LT_TAGVAR(compiler, []) is a NOP.
7782 compiler_DEFAULT=$CC
7784 # save warnings/boilerplate of simple test code
7785 ac_outfile=conftest.$ac_objext
7786 echo "$lt_simple_compile_test_code" >conftest.$ac_ext
7787 eval "$ac_compile" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
7788 _lt_compiler_boilerplate=`cat conftest.err`
7791 ac_outfile=conftest.$ac_objext
7792 echo "$lt_simple_link_test_code" >conftest.$ac_ext
7793 eval "$ac_link" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
7794 _lt_linker_boilerplate=`cat conftest.err`
7799 ## There is no encapsulation within the following macros, do not change
7800 ## the running order or otherwise move them around unless you know exactly
7801 ## what you are doing...
7802 if test -n "$compiler"; then
7804 lt_prog_compiler_no_builtin_flag=
7806 if test "$GCC" = yes; then
7807 case $cc_basename in
7809 lt_prog_compiler_no_builtin_flag=' -Xcompiler -fno-builtin' ;;
7811 lt_prog_compiler_no_builtin_flag=' -fno-builtin' ;;
7814 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -fno-rtti -fno-exceptions" >&5
7815 $as_echo_n "checking if $compiler supports -fno-rtti -fno-exceptions... " >&6; }
7816 if ${lt_cv_prog_compiler_rtti_exceptions+:} false; then :
7817 $as_echo_n "(cached) " >&6
7819 lt_cv_prog_compiler_rtti_exceptions=no
7820 ac_outfile=conftest.$ac_objext
7821 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
7822 lt_compiler_flag="-fno-rtti -fno-exceptions"
7823 # Insert the option either (1) after the last *FLAGS variable, or
7824 # (2) before a word containing "conftest.", or (3) at the end.
7825 # Note that $ac_compile itself does not contain backslashes and begins
7826 # with a dollar sign (not a hyphen), so the echo should work correctly.
7827 # The option is referenced via a variable to avoid confusing sed.
7828 lt_compile=`echo "$ac_compile" | $SED \
7829 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
7830 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
7831 -e 's:$: $lt_compiler_flag:'`
7832 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
7833 (eval "$lt_compile" 2>conftest.err)
7835 cat conftest.err >&5
7836 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7837 if (exit $ac_status) && test -s "$ac_outfile"; then
7838 # The compiler can only warn and ignore the option if not recognized
7839 # So say no if there are warnings other than the usual output.
7840 $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' >conftest.exp
7841 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
7842 if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
7843 lt_cv_prog_compiler_rtti_exceptions=yes
7849 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_rtti_exceptions" >&5
7850 $as_echo "$lt_cv_prog_compiler_rtti_exceptions" >&6; }
7852 if test x"$lt_cv_prog_compiler_rtti_exceptions" = xyes; then
7853 lt_prog_compiler_no_builtin_flag="$lt_prog_compiler_no_builtin_flag -fno-rtti -fno-exceptions"
7865 lt_prog_compiler_wl=
7866 lt_prog_compiler_pic=
7867 lt_prog_compiler_static=
7870 if test "$GCC" = yes; then
7871 lt_prog_compiler_wl='-Wl,'
7872 lt_prog_compiler_static='-static'
7876 # All AIX code is PIC.
7877 if test "$host_cpu" = ia64; then
7878 # AIX 5 now supports IA64 processor
7879 lt_prog_compiler_static='-Bstatic'
7886 # see comment about AmigaOS4 .so support
7887 lt_prog_compiler_pic='-fPIC'
7890 # FIXME: we need at least 68020 code to build shared libraries, but
7891 # adding the `-m68020' flag to GCC prevents building anything better,
7893 lt_prog_compiler_pic='-m68020 -resident32 -malways-restore-a4'
7898 beos* | irix5* | irix6* | nonstopux* | osf3* | osf4* | osf5*)
7899 # PIC is the default for these OSes.
7902 mingw* | cygwin* | pw32* | os2* | cegcc*)
7903 # This hack is so that the source file can tell whether it is being
7904 # built for inclusion in a dll (and should export symbols for example).
7905 # Although the cygwin gcc ignores -fPIC, still need this for old-style
7906 # (--disable-auto-import) libraries
7907 lt_prog_compiler_pic='-DDLL_EXPORT'
7910 darwin* | rhapsody*)
7911 # PIC is the default on this platform
7912 # Common symbols not allowed in MH_DYLIB files
7913 lt_prog_compiler_pic='-fno-common'
7917 # PIC is the default for Haiku.
7918 # The "-static" flag exists, but is broken.
7919 lt_prog_compiler_static=
7923 # PIC is the default for 64-bit PA HP-UX, but not for 32-bit
7924 # PA HP-UX. On IA64 HP-UX, PIC is the default but the pic flag
7925 # sets the default TLS model and affects inlining.
7931 lt_prog_compiler_pic='-fPIC'
7937 # Interix 3.x gcc -fpic/-fPIC options generate broken code.
7938 # Instead, we relocate shared libraries at runtime.
7942 # Just because we use GCC doesn't mean we suddenly get shared libraries
7943 # on systems that don't support them.
7944 lt_prog_compiler_can_build_shared=no
7949 # QNX uses GNU C++, but need to define -shared option too, otherwise
7951 lt_prog_compiler_pic='-fPIC -shared'
7955 if test -d /usr/nec; then
7956 lt_prog_compiler_pic=-Kconform_pic
7961 lt_prog_compiler_pic='-fPIC'
7965 case $cc_basename in
7966 nvcc*) # Cuda Compiler Driver 2.2
7967 lt_prog_compiler_wl='-Xlinker '
7968 lt_prog_compiler_pic='-Xcompiler -fPIC'
7972 # PORTME Check for flag to pass linker flags through the system compiler.
7975 lt_prog_compiler_wl='-Wl,'
7976 if test "$host_cpu" = ia64; then
7977 # AIX 5 now supports IA64 processor
7978 lt_prog_compiler_static='-Bstatic'
7980 lt_prog_compiler_static='-bnso -bI:/lib/syscalls.exp'
7984 mingw* | cygwin* | pw32* | os2* | cegcc*)
7985 # This hack is so that the source file can tell whether it is being
7986 # built for inclusion in a dll (and should export symbols for example).
7987 lt_prog_compiler_pic='-DDLL_EXPORT'
7990 hpux9* | hpux10* | hpux11*)
7991 lt_prog_compiler_wl='-Wl,'
7992 # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
7999 lt_prog_compiler_pic='+Z'
8002 # Is there a better lt_prog_compiler_static that works with the bundled CC?
8003 lt_prog_compiler_static='${wl}-a ${wl}archive'
8006 irix5* | irix6* | nonstopux*)
8007 lt_prog_compiler_wl='-Wl,'
8008 # PIC (with -KPIC) is the default.
8009 lt_prog_compiler_static='-non_shared'
8012 linux* | k*bsd*-gnu | kopensolaris*-gnu)
8013 case $cc_basename in
8014 # old Intel for x86_64 which still supported -KPIC.
8016 lt_prog_compiler_wl='-Wl,'
8017 lt_prog_compiler_pic='-KPIC'
8018 lt_prog_compiler_static='-static'
8020 # icc used to be incompatible with GCC.
8021 # ICC 10 doesn't accept -KPIC any more.
8023 lt_prog_compiler_wl='-Wl,'
8024 lt_prog_compiler_pic='-fPIC'
8025 lt_prog_compiler_static='-static'
8027 # Lahey Fortran 8.1.
8029 lt_prog_compiler_wl='-Wl,'
8030 lt_prog_compiler_pic='--shared'
8031 lt_prog_compiler_static='--static'
8034 # NAG Fortran compiler
8035 lt_prog_compiler_wl='-Wl,-Wl,,'
8036 lt_prog_compiler_pic='-PIC'
8037 lt_prog_compiler_static='-Bstatic'
8039 pgcc* | pgf77* | pgf90* | pgf95* | pgfortran*)
8040 # Portland Group compilers (*not* the Pentium gcc compiler,
8041 # which looks to be a dead project)
8042 lt_prog_compiler_wl='-Wl,'
8043 lt_prog_compiler_pic='-fpic'
8044 lt_prog_compiler_static='-Bstatic'
8047 lt_prog_compiler_wl='-Wl,'
8048 # All Alpha code is PIC.
8049 lt_prog_compiler_static='-non_shared'
8051 xl* | bgxl* | bgf* | mpixl*)
8052 # IBM XL C 8.0/Fortran 10.1, 11.1 on PPC and BlueGene
8053 lt_prog_compiler_wl='-Wl,'
8054 lt_prog_compiler_pic='-qpic'
8055 lt_prog_compiler_static='-qstaticlink'
8058 case `$CC -V 2>&1 | sed 5q` in
8059 *Sun\ F* | *Sun*Fortran*)
8060 # Sun Fortran 8.3 passes all unrecognized flags to the linker
8061 lt_prog_compiler_pic='-KPIC'
8062 lt_prog_compiler_static='-Bstatic'
8063 lt_prog_compiler_wl=''
8067 lt_prog_compiler_pic='-KPIC'
8068 lt_prog_compiler_static='-Bstatic'
8069 lt_prog_compiler_wl='-Wl,'
8077 lt_prog_compiler_pic='-KPIC'
8078 lt_prog_compiler_static='-Bstatic'
8082 # QNX uses GNU C++, but need to define -shared option too, otherwise
8084 lt_prog_compiler_pic='-fPIC -shared'
8087 osf3* | osf4* | osf5*)
8088 lt_prog_compiler_wl='-Wl,'
8089 # All OSF/1 code is PIC.
8090 lt_prog_compiler_static='-non_shared'
8094 lt_prog_compiler_static='-non_shared'
8098 lt_prog_compiler_pic='-KPIC'
8099 lt_prog_compiler_static='-Bstatic'
8100 case $cc_basename in
8101 f77* | f90* | f95* | sunf77* | sunf90* | sunf95*)
8102 lt_prog_compiler_wl='-Qoption ld ';;
8104 lt_prog_compiler_wl='-Wl,';;
8109 lt_prog_compiler_wl='-Qoption ld '
8110 lt_prog_compiler_pic='-PIC'
8111 lt_prog_compiler_static='-Bstatic'
8114 sysv4 | sysv4.2uw2* | sysv4.3*)
8115 lt_prog_compiler_wl='-Wl,'
8116 lt_prog_compiler_pic='-KPIC'
8117 lt_prog_compiler_static='-Bstatic'
8121 if test -d /usr/nec ;then
8122 lt_prog_compiler_pic='-Kconform_pic'
8123 lt_prog_compiler_static='-Bstatic'
8127 sysv5* | unixware* | sco3.2v5* | sco5v6* | OpenUNIX*)
8128 lt_prog_compiler_wl='-Wl,'
8129 lt_prog_compiler_pic='-KPIC'
8130 lt_prog_compiler_static='-Bstatic'
8134 lt_prog_compiler_wl='-Wl,'
8135 lt_prog_compiler_can_build_shared=no
8139 lt_prog_compiler_pic='-pic'
8140 lt_prog_compiler_static='-Bstatic'
8144 lt_prog_compiler_can_build_shared=no
8150 # For platforms which do not support PIC, -DPIC is meaningless:
8152 lt_prog_compiler_pic=
8155 lt_prog_compiler_pic="$lt_prog_compiler_pic -DPIC"
8159 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $compiler option to produce PIC" >&5
8160 $as_echo_n "checking for $compiler option to produce PIC... " >&6; }
8161 if ${lt_cv_prog_compiler_pic+:} false; then :
8162 $as_echo_n "(cached) " >&6
8164 lt_cv_prog_compiler_pic=$lt_prog_compiler_pic
8166 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic" >&5
8167 $as_echo "$lt_cv_prog_compiler_pic" >&6; }
8168 lt_prog_compiler_pic=$lt_cv_prog_compiler_pic
8171 # Check to make sure the PIC flag actually works.
8173 if test -n "$lt_prog_compiler_pic"; then
8174 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler PIC flag $lt_prog_compiler_pic works" >&5
8175 $as_echo_n "checking if $compiler PIC flag $lt_prog_compiler_pic works... " >&6; }
8176 if ${lt_cv_prog_compiler_pic_works+:} false; then :
8177 $as_echo_n "(cached) " >&6
8179 lt_cv_prog_compiler_pic_works=no
8180 ac_outfile=conftest.$ac_objext
8181 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
8182 lt_compiler_flag="$lt_prog_compiler_pic -DPIC"
8183 # Insert the option either (1) after the last *FLAGS variable, or
8184 # (2) before a word containing "conftest.", or (3) at the end.
8185 # Note that $ac_compile itself does not contain backslashes and begins
8186 # with a dollar sign (not a hyphen), so the echo should work correctly.
8187 # The option is referenced via a variable to avoid confusing sed.
8188 lt_compile=`echo "$ac_compile" | $SED \
8189 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
8190 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
8191 -e 's:$: $lt_compiler_flag:'`
8192 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
8193 (eval "$lt_compile" 2>conftest.err)
8195 cat conftest.err >&5
8196 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8197 if (exit $ac_status) && test -s "$ac_outfile"; then
8198 # The compiler can only warn and ignore the option if not recognized
8199 # So say no if there are warnings other than the usual output.
8200 $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' >conftest.exp
8201 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
8202 if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
8203 lt_cv_prog_compiler_pic_works=yes
8209 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic_works" >&5
8210 $as_echo "$lt_cv_prog_compiler_pic_works" >&6; }
8212 if test x"$lt_cv_prog_compiler_pic_works" = xyes; then
8213 case $lt_prog_compiler_pic in
8215 *) lt_prog_compiler_pic=" $lt_prog_compiler_pic" ;;
8218 lt_prog_compiler_pic=
8219 lt_prog_compiler_can_build_shared=no
8235 # Check to make sure the static flag actually works.
8237 wl=$lt_prog_compiler_wl eval lt_tmp_static_flag=\"$lt_prog_compiler_static\"
8238 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler static flag $lt_tmp_static_flag works" >&5
8239 $as_echo_n "checking if $compiler static flag $lt_tmp_static_flag works... " >&6; }
8240 if ${lt_cv_prog_compiler_static_works+:} false; then :
8241 $as_echo_n "(cached) " >&6
8243 lt_cv_prog_compiler_static_works=no
8244 save_LDFLAGS="$LDFLAGS"
8245 LDFLAGS="$LDFLAGS $lt_tmp_static_flag"
8246 echo "$lt_simple_link_test_code" > conftest.$ac_ext
8247 if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
8248 # The linker can only warn and ignore the option if not recognized
8249 # So say no if there are warnings
8250 if test -s conftest.err; then
8251 # Append any errors to the config.log.
8252 cat conftest.err 1>&5
8253 $ECHO "$_lt_linker_boilerplate" | $SED '/^$/d' > conftest.exp
8254 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
8255 if diff conftest.exp conftest.er2 >/dev/null; then
8256 lt_cv_prog_compiler_static_works=yes
8259 lt_cv_prog_compiler_static_works=yes
8263 LDFLAGS="$save_LDFLAGS"
8266 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_static_works" >&5
8267 $as_echo "$lt_cv_prog_compiler_static_works" >&6; }
8269 if test x"$lt_cv_prog_compiler_static_works" = xyes; then
8272 lt_prog_compiler_static=
8281 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
8282 $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
8283 if ${lt_cv_prog_compiler_c_o+:} false; then :
8284 $as_echo_n "(cached) " >&6
8286 lt_cv_prog_compiler_c_o=no
8287 $RM -r conftest 2>/dev/null
8291 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
8293 lt_compiler_flag="-o out/conftest2.$ac_objext"
8294 # Insert the option either (1) after the last *FLAGS variable, or
8295 # (2) before a word containing "conftest.", or (3) at the end.
8296 # Note that $ac_compile itself does not contain backslashes and begins
8297 # with a dollar sign (not a hyphen), so the echo should work correctly.
8298 lt_compile=`echo "$ac_compile" | $SED \
8299 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
8300 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
8301 -e 's:$: $lt_compiler_flag:'`
8302 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
8303 (eval "$lt_compile" 2>out/conftest.err)
8305 cat out/conftest.err >&5
8306 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8307 if (exit $ac_status) && test -s out/conftest2.$ac_objext
8309 # The compiler can only warn and ignore the option if not recognized
8310 # So say no if there are warnings
8311 $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' > out/conftest.exp
8312 $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
8313 if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
8314 lt_cv_prog_compiler_c_o=yes
8319 # SGI C++ compiler will create directory out/ii_files/ for
8320 # template instantiation
8321 test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
8322 $RM out/* && rmdir out
8328 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o" >&5
8329 $as_echo "$lt_cv_prog_compiler_c_o" >&6; }
8336 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
8337 $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
8338 if ${lt_cv_prog_compiler_c_o+:} false; then :
8339 $as_echo_n "(cached) " >&6
8341 lt_cv_prog_compiler_c_o=no
8342 $RM -r conftest 2>/dev/null
8346 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
8348 lt_compiler_flag="-o out/conftest2.$ac_objext"
8349 # Insert the option either (1) after the last *FLAGS variable, or
8350 # (2) before a word containing "conftest.", or (3) at the end.
8351 # Note that $ac_compile itself does not contain backslashes and begins
8352 # with a dollar sign (not a hyphen), so the echo should work correctly.
8353 lt_compile=`echo "$ac_compile" | $SED \
8354 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
8355 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
8356 -e 's:$: $lt_compiler_flag:'`
8357 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
8358 (eval "$lt_compile" 2>out/conftest.err)
8360 cat out/conftest.err >&5
8361 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8362 if (exit $ac_status) && test -s out/conftest2.$ac_objext
8364 # The compiler can only warn and ignore the option if not recognized
8365 # So say no if there are warnings
8366 $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' > out/conftest.exp
8367 $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
8368 if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
8369 lt_cv_prog_compiler_c_o=yes
8374 # SGI C++ compiler will create directory out/ii_files/ for
8375 # template instantiation
8376 test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
8377 $RM out/* && rmdir out
8383 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o" >&5
8384 $as_echo "$lt_cv_prog_compiler_c_o" >&6; }
8389 hard_links="nottested"
8390 if test "$lt_cv_prog_compiler_c_o" = no && test "$need_locks" != no; then
8391 # do not overwrite the value of need_locks provided by the user
8392 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if we can lock with hard links" >&5
8393 $as_echo_n "checking if we can lock with hard links... " >&6; }
8396 ln conftest.a conftest.b 2>/dev/null && hard_links=no
8398 ln conftest.a conftest.b 2>&5 || hard_links=no
8399 ln conftest.a conftest.b 2>/dev/null && hard_links=no
8400 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hard_links" >&5
8401 $as_echo "$hard_links" >&6; }
8402 if test "$hard_links" = no; then
8403 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5
8404 $as_echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;}
8416 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $compiler linker ($LD) supports shared libraries" >&5
8417 $as_echo_n "checking whether the $compiler linker ($LD) supports shared libraries... " >&6; }
8420 allow_undefined_flag=
8421 always_export_symbols=no
8423 archive_expsym_cmds=
8424 compiler_needs_object=no
8425 enable_shared_with_static_runtimes=no
8426 export_dynamic_flag_spec=
8427 export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
8428 hardcode_automatic=no
8430 hardcode_direct_absolute=no
8431 hardcode_libdir_flag_spec=
8432 hardcode_libdir_flag_spec_ld=
8433 hardcode_libdir_separator=
8435 hardcode_shlibpath_var=unsupported
8437 link_all_deplibs=unknown
8440 old_archive_from_new_cmds=
8441 old_archive_from_expsyms_cmds=
8442 thread_safe_flag_spec=
8443 whole_archive_flag_spec=
8444 # include_expsyms should be a list of space-separated symbols to be *always*
8445 # included in the symbol list
8447 # exclude_expsyms can be an extended regexp of symbols to exclude
8448 # it will be wrapped by ` (' and `)$', so one must not match beginning or
8449 # end of line. Example: `a|bc|.*d.*' will exclude the symbols `a' and `bc',
8450 # as well as any symbol that contains `d'.
8451 exclude_expsyms='_GLOBAL_OFFSET_TABLE_|_GLOBAL__F[ID]_.*'
8452 # Although _GLOBAL_OFFSET_TABLE_ is a valid symbol C name, most a.out
8453 # platforms (ab)use it in PIC code, but their linkers get confused if
8454 # the symbol is explicitly referenced. Since portable code cannot
8455 # rely on this symbol name, it's probably fine to never include it in
8456 # preloaded symbol tables.
8457 # Exclude shared library initialization/finalization symbols.
8458 extract_expsyms_cmds=
8461 cygwin* | mingw* | pw32* | cegcc*)
8462 # FIXME: the MSVC++ port hasn't been tested in a loooong time
8463 # When not using gcc, we currently assume that we are using
8464 # Microsoft Visual C++.
8465 if test "$GCC" != yes; then
8470 # we just hope/assume this is gcc and not c89 (= MSVC++)
8476 linux* | k*bsd*-gnu | gnu*)
8483 # On some targets, GNU ld is compatible enough with the native linker
8484 # that we're better off using the native interface for both.
8485 lt_use_gnu_ld_interface=no
8486 if test "$with_gnu_ld" = yes; then
8489 # The AIX port of GNU ld has always aspired to compatibility
8490 # with the native linker. However, as the warning in the GNU ld
8491 # block says, versions before 2.19.5* couldn't really create working
8492 # shared libraries, regardless of the interface used.
8493 case `$LD -v 2>&1` in
8494 *\ \(GNU\ Binutils\)\ 2.19.5*) ;;
8495 *\ \(GNU\ Binutils\)\ 2.[2-9]*) ;;
8496 *\ \(GNU\ Binutils\)\ [3-9]*) ;;
8498 lt_use_gnu_ld_interface=yes
8503 lt_use_gnu_ld_interface=yes
8508 if test "$lt_use_gnu_ld_interface" = yes; then
8509 # If archive_cmds runs LD, not CC, wlarc should be empty
8512 # Set some defaults for GNU ld with shared library support. These
8513 # are reset later if shared libraries are not supported. Putting them
8514 # here allows them to be overridden if necessary.
8515 runpath_var=LD_RUN_PATH
8516 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
8517 export_dynamic_flag_spec='${wl}--export-dynamic'
8518 # ancient GNU ld didn't support --whole-archive et. al.
8519 if $LD --help 2>&1 | $GREP 'no-whole-archive' > /dev/null; then
8520 whole_archive_flag_spec="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
8522 whole_archive_flag_spec=
8524 supports_anon_versioning=no
8525 case `$LD -v 2>&1` in
8526 *GNU\ gold*) supports_anon_versioning=yes ;;
8527 *\ [01].* | *\ 2.[0-9].* | *\ 2.10.*) ;; # catch versions < 2.11
8528 *\ 2.11.93.0.2\ *) supports_anon_versioning=yes ;; # RH7.3 ...
8529 *\ 2.11.92.0.12\ *) supports_anon_versioning=yes ;; # Mandrake 8.2 ...
8530 *\ 2.11.*) ;; # other 2.11 versions
8531 *) supports_anon_versioning=yes ;;
8534 # See if GNU ld supports shared libraries.
8537 # On AIX/PPC, the GNU linker is very broken
8538 if test "$host_cpu" != ia64; then
8542 *** Warning: the GNU linker, at least up to release 2.19, is reported
8543 *** to be unable to reliably create shared libraries on AIX.
8544 *** Therefore, libtool is disabling shared libraries support. If you
8545 *** really care for shared libraries, you may want to install binutils
8546 *** 2.20 or above, or modify your PATH so that a non-GNU linker is found.
8547 *** You will then need to restart the configuration process.
8556 # see comment about AmigaOS4 .so support
8557 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
8558 archive_expsym_cmds=''
8561 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)'
8562 hardcode_libdir_flag_spec='-L$libdir'
8563 hardcode_minus_L=yes
8569 if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
8570 allow_undefined_flag=unsupported
8571 # Joseph Beckenbach <jrb3@best.com> says some releases of gcc
8572 # support --undefined. This deserves some investigation. FIXME
8573 archive_cmds='$CC -nostart $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
8579 cygwin* | mingw* | pw32* | cegcc*)
8580 # _LT_TAGVAR(hardcode_libdir_flag_spec, ) is actually meaningless,
8581 # as there is no search path for DLLs.
8582 hardcode_libdir_flag_spec='-L$libdir'
8583 export_dynamic_flag_spec='${wl}--export-all-symbols'
8584 allow_undefined_flag=unsupported
8585 always_export_symbols=no
8586 enable_shared_with_static_runtimes=yes
8587 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'
8588 exclude_expsyms='[_]+GLOBAL_OFFSET_TABLE_|[_]+GLOBAL__[FID]_.*|[_]+head_[A-Za-z0-9_]+_dll|[A-Za-z0-9_]+_dll_iname'
8590 if $LD --help 2>&1 | $GREP 'auto-import' > /dev/null; then
8591 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
8592 # If the export-symbols file already is a .def file (1st line
8593 # is EXPORTS), use it as is; otherwise, prepend...
8594 archive_expsym_cmds='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
8595 cp $export_symbols $output_objdir/$soname.def;
8597 echo EXPORTS > $output_objdir/$soname.def;
8598 cat $export_symbols >> $output_objdir/$soname.def;
8600 $CC -shared $output_objdir/$soname.def $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
8607 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
8608 link_all_deplibs=yes
8613 hardcode_shlibpath_var=no
8614 hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
8615 export_dynamic_flag_spec='${wl}-E'
8616 # Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc.
8617 # Instead, shared libraries are loaded at an image base (0x10000000 by
8618 # default) and relocated if they conflict, which is a slow very memory
8619 # consuming and fragmenting process. To avoid this, we pick a random,
8620 # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link
8621 # time. Moving up from 0x10000000 also allows more sbrk(2) space.
8622 archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-h,$soname ${wl}--image-base,`expr ${RANDOM-$$} % 4096 / 2 \* 262144 + 1342177280` -o $lib'
8623 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'
8626 gnu* | linux* | tpf* | k*bsd*-gnu | kopensolaris*-gnu)
8628 if test "$host_os" = linux-dietlibc; then
8629 case $cc_basename in
8630 diet\ *) tmp_diet=yes;; # linux-dietlibc with static linking (!diet-dyn)
8633 if $LD --help 2>&1 | $EGREP ': supported targets:.* elf' > /dev/null \
8634 && test "$tmp_diet" = no
8636 tmp_addflag=' $pic_flag'
8637 tmp_sharedflag='-shared'
8638 case $cc_basename,$host_cpu in
8639 pgcc*) # Portland Group C compiler
8640 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'
8641 tmp_addflag=' $pic_flag'
8643 pgf77* | pgf90* | pgf95* | pgfortran*)
8644 # Portland Group f77 and f90 compilers
8645 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'
8646 tmp_addflag=' $pic_flag -Mnomain' ;;
8647 ecc*,ia64* | icc*,ia64*) # Intel C compiler on ia64
8648 tmp_addflag=' -i_dynamic' ;;
8649 efc*,ia64* | ifort*,ia64*) # Intel Fortran compiler on ia64
8650 tmp_addflag=' -i_dynamic -nofor_main' ;;
8651 ifc* | ifort*) # Intel Fortran compiler
8652 tmp_addflag=' -nofor_main' ;;
8653 lf95*) # Lahey Fortran 8.1
8654 whole_archive_flag_spec=
8655 tmp_sharedflag='--shared' ;;
8656 xl[cC]* | bgxl[cC]* | mpixl[cC]*) # IBM XL C 8.0 on PPC (deal with xlf below)
8657 tmp_sharedflag='-qmkshrobj'
8659 nvcc*) # Cuda Compiler Driver 2.2
8660 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'
8661 compiler_needs_object=yes
8664 case `$CC -V 2>&1 | sed 5q` in
8665 *Sun\ C*) # Sun C 5.9
8666 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'
8667 compiler_needs_object=yes
8668 tmp_sharedflag='-G' ;;
8669 *Sun\ F*) # Sun Fortran 8.3
8670 tmp_sharedflag='-G' ;;
8672 archive_cmds='$CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
8674 if test "x$supports_anon_versioning" = xyes; then
8675 archive_expsym_cmds='echo "{ global:" > $output_objdir/$libname.ver~
8676 cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
8677 echo "local: *; };" >> $output_objdir/$libname.ver~
8678 $CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-version-script ${wl}$output_objdir/$libname.ver -o $lib'
8681 case $cc_basename in
8682 xlf* | bgf* | bgxlf* | mpixlf*)
8683 # IBM XL Fortran 10.1 on PPC cannot create shared libs itself
8684 whole_archive_flag_spec='--whole-archive$convenience --no-whole-archive'
8685 hardcode_libdir_flag_spec=
8686 hardcode_libdir_flag_spec_ld='-rpath $libdir'
8687 archive_cmds='$LD -shared $libobjs $deplibs $linker_flags -soname $soname -o $lib'
8688 if test "x$supports_anon_versioning" = xyes; then
8689 archive_expsym_cmds='echo "{ global:" > $output_objdir/$libname.ver~
8690 cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
8691 echo "local: *; };" >> $output_objdir/$libname.ver~
8692 $LD -shared $libobjs $deplibs $linker_flags -soname $soname -version-script $output_objdir/$libname.ver -o $lib'
8701 netbsd* | netbsdelf*-gnu)
8702 if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
8703 archive_cmds='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib'
8706 archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
8707 archive_expsym_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
8712 if $LD -v 2>&1 | $GREP 'BFD 2\.8' > /dev/null; then
8716 *** Warning: The releases 2.8.* of the GNU linker cannot reliably
8717 *** create shared libraries on Solaris systems. Therefore, libtool
8718 *** is disabling shared libraries support. We urge you to upgrade GNU
8719 *** binutils to release 2.9.1 or newer. Another option is to modify
8720 *** your PATH or compiler configuration so that the native linker is
8721 *** used, and then restart.
8724 elif $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
8725 archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
8726 archive_expsym_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
8732 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX*)
8733 case `$LD -v 2>&1` in
8734 *\ [01].* | *\ 2.[0-9].* | *\ 2.1[0-5].*)
8738 *** Warning: Releases of the GNU linker prior to 2.16.91.0.3 can not
8739 *** reliably create shared libraries on SCO systems. Therefore, libtool
8740 *** is disabling shared libraries support. We urge you to upgrade GNU
8741 *** binutils to release 2.16.91.0.3 or newer. Another option is to modify
8742 *** your PATH or compiler configuration so that the native linker is
8743 *** used, and then restart.
8748 # For security reasons, it is highly recommended that you always
8749 # use absolute paths for naming shared libraries, and exclude the
8750 # DT_RUNPATH tag from executables and libraries. But doing so
8751 # requires that you compile everything twice, which is a pain.
8752 if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
8753 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
8754 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
8755 archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
8764 archive_cmds='$LD -assert pure-text -Bshareable -o $lib $libobjs $deplibs $linker_flags'
8767 hardcode_shlibpath_var=no
8771 if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
8772 archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
8773 archive_expsym_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
8780 if test "$ld_shlibs" = no; then
8782 hardcode_libdir_flag_spec=
8783 export_dynamic_flag_spec=
8784 whole_archive_flag_spec=
8787 # PORTME fill in a description of your system's linker (not GNU ld)
8790 allow_undefined_flag=unsupported
8791 always_export_symbols=yes
8792 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'
8793 # Note: this linker hardcodes the directories in LIBPATH if there
8794 # are no directories specified by -L.
8795 hardcode_minus_L=yes
8796 if test "$GCC" = yes && test -z "$lt_prog_compiler_static"; then
8797 # Neither direct hardcoding nor static linking is supported with a
8799 hardcode_direct=unsupported
8804 if test "$host_cpu" = ia64; then
8805 # On IA64, the linker does run time linking by default, so we don't
8806 # have to do anything special.
8807 aix_use_runtimelinking=no
8808 exp_sym_flag='-Bexport'
8811 # If we're using GNU nm, then we don't want the "-C" option.
8812 # -C means demangle to AIX nm, but means don't demangle with GNU nm
8813 # Also, AIX nm treats weak defined symbols like other global
8814 # defined symbols, whereas GNU nm marks them as "W".
8815 if $NM -V 2>&1 | $GREP 'GNU' > /dev/null; then
8816 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'
8818 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'
8820 aix_use_runtimelinking=no
8822 # Test if we are trying to use run time linking or normal
8823 # AIX style linking. If -brtl is somewhere in LDFLAGS, we
8824 # need to do runtime linking.
8825 case $host_os in aix4.[23]|aix4.[23].*|aix[5-9]*)
8826 for ld_flag in $LDFLAGS; do
8827 if (test $ld_flag = "-brtl" || test $ld_flag = "-Wl,-brtl"); then
8828 aix_use_runtimelinking=yes
8835 exp_sym_flag='-bexport'
8836 no_entry_flag='-bnoentry'
8839 # When large executables or shared objects are built, AIX ld can
8840 # have problems creating the table of contents. If linking a library
8841 # or program results in "error TOC overflow" add -mminimal-toc to
8842 # CXXFLAGS/CFLAGS for g++/gcc. In the cases where that is not
8843 # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
8847 hardcode_direct_absolute=yes
8848 hardcode_libdir_separator=':'
8849 link_all_deplibs=yes
8850 file_list_spec='${wl}-f,'
8852 if test "$GCC" = yes; then
8853 case $host_os in aix4.[012]|aix4.[012].*)
8854 # We only want to do this on AIX 4.2 and lower, the check
8855 # below for broken collect2 doesn't work under 4.3+
8856 collect2name=`${CC} -print-prog-name=collect2`
8857 if test -f "$collect2name" &&
8858 strings "$collect2name" | $GREP resolve_lib_name >/dev/null
8860 # We have reworked collect2
8863 # We have old collect2
8864 hardcode_direct=unsupported
8865 # It fails to find uninstalled libraries when the uninstalled
8866 # path is not listed in the libpath. Setting hardcode_minus_L
8867 # to unsupported forces relinking
8868 hardcode_minus_L=yes
8869 hardcode_libdir_flag_spec='-L$libdir'
8870 hardcode_libdir_separator=
8874 shared_flag='-shared'
8875 if test "$aix_use_runtimelinking" = yes; then
8876 shared_flag="$shared_flag "'${wl}-G'
8881 if test "$host_cpu" = ia64; then
8882 # VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
8883 # chokes on -Wl,-G. The following line is correct:
8886 if test "$aix_use_runtimelinking" = yes; then
8887 shared_flag='${wl}-G'
8889 shared_flag='${wl}-bM:SRE'
8894 export_dynamic_flag_spec='${wl}-bexpall'
8895 # It seems that -bexpall does not export symbols beginning with
8896 # underscore (_), so it is better to generate a list of symbols to export.
8897 always_export_symbols=yes
8898 if test "$aix_use_runtimelinking" = yes; then
8899 # Warning - without using the other runtime loading flags (-brtl),
8900 # -berok will link without error, but may produce a broken library.
8901 allow_undefined_flag='-berok'
8902 # Determine the default libpath from the value encoded in an
8904 if test "${lt_cv_aix_libpath+set}" = set; then
8905 aix_libpath=$lt_cv_aix_libpath
8907 if ${lt_cv_aix_libpath_+:} false; then :
8908 $as_echo_n "(cached) " >&6
8910 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8911 /* end confdefs.h. */
8921 if ac_fn_c_try_link "$LINENO"; then :
8923 lt_aix_libpath_sed='
8924 /Import File Strings/,/^$/ {
8926 s/^0 *\([^ ]*\) *$/\1/
8930 lt_cv_aix_libpath_=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
8931 # Check for a 64-bit object if we didn't find anything.
8932 if test -z "$lt_cv_aix_libpath_"; then
8933 lt_cv_aix_libpath_=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
8936 rm -f core conftest.err conftest.$ac_objext \
8937 conftest$ac_exeext conftest.$ac_ext
8938 if test -z "$lt_cv_aix_libpath_"; then
8939 lt_cv_aix_libpath_="/usr/lib:/lib"
8944 aix_libpath=$lt_cv_aix_libpath_
8947 hardcode_libdir_flag_spec='${wl}-blibpath:$libdir:'"$aix_libpath"
8948 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"
8950 if test "$host_cpu" = ia64; then
8951 hardcode_libdir_flag_spec='${wl}-R $libdir:/usr/lib:/lib'
8952 allow_undefined_flag="-z nodefs"
8953 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"
8955 # Determine the default libpath from the value encoded in an
8957 if test "${lt_cv_aix_libpath+set}" = set; then
8958 aix_libpath=$lt_cv_aix_libpath
8960 if ${lt_cv_aix_libpath_+:} false; then :
8961 $as_echo_n "(cached) " >&6
8963 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8964 /* end confdefs.h. */
8974 if ac_fn_c_try_link "$LINENO"; then :
8976 lt_aix_libpath_sed='
8977 /Import File Strings/,/^$/ {
8979 s/^0 *\([^ ]*\) *$/\1/
8983 lt_cv_aix_libpath_=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
8984 # Check for a 64-bit object if we didn't find anything.
8985 if test -z "$lt_cv_aix_libpath_"; then
8986 lt_cv_aix_libpath_=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
8989 rm -f core conftest.err conftest.$ac_objext \
8990 conftest$ac_exeext conftest.$ac_ext
8991 if test -z "$lt_cv_aix_libpath_"; then
8992 lt_cv_aix_libpath_="/usr/lib:/lib"
8997 aix_libpath=$lt_cv_aix_libpath_
9000 hardcode_libdir_flag_spec='${wl}-blibpath:$libdir:'"$aix_libpath"
9001 # Warning - without using the other run time loading flags,
9002 # -berok will link without error, but may produce a broken library.
9003 no_undefined_flag=' ${wl}-bernotok'
9004 allow_undefined_flag=' ${wl}-berok'
9005 if test "$with_gnu_ld" = yes; then
9006 # We only use this code for GNU lds that support --whole-archive.
9007 whole_archive_flag_spec='${wl}--whole-archive$convenience ${wl}--no-whole-archive'
9009 # Exported symbols can be pulled into shared objects from archives
9010 whole_archive_flag_spec='$convenience'
9012 archive_cmds_need_lc=yes
9013 # This is similar to how AIX traditionally builds its shared libraries.
9014 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'
9022 # see comment about AmigaOS4 .so support
9023 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9024 archive_expsym_cmds=''
9027 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)'
9028 hardcode_libdir_flag_spec='-L$libdir'
9029 hardcode_minus_L=yes
9035 export_dynamic_flag_spec=-rdynamic
9038 cygwin* | mingw* | pw32* | cegcc*)
9039 # When not using gcc, we currently assume that we are using
9040 # Microsoft Visual C++.
9041 # hardcode_libdir_flag_spec is actually meaningless, as there is
9042 # no search path for DLLs.
9043 case $cc_basename in
9046 hardcode_libdir_flag_spec=' '
9047 allow_undefined_flag=unsupported
9048 always_export_symbols=yes
9050 # Tell ltmain to make .lib files, not .a files.
9052 # Tell ltmain to make .dll files, not .so files.
9054 # FIXME: Setting linknames here is a bad hack.
9055 archive_cmds='$CC -o $output_objdir/$soname $libobjs $compiler_flags $deplibs -Wl,-dll~linknames='
9056 archive_expsym_cmds='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
9057 sed -n -e 's/\\\\\\\(.*\\\\\\\)/-link\\\ -EXPORT:\\\\\\\1/' -e '1\\\!p' < $export_symbols > $output_objdir/$soname.exp;
9059 sed -e 's/\\\\\\\(.*\\\\\\\)/-link\\\ -EXPORT:\\\\\\\1/' < $export_symbols > $output_objdir/$soname.exp;
9061 $CC -o $tool_output_objdir$soname $libobjs $compiler_flags $deplibs "@$tool_output_objdir$soname.exp" -Wl,-DLL,-IMPLIB:"$tool_output_objdir$libname.dll.lib"~
9063 # The linker will not automatically build a static lib if we build a DLL.
9064 # _LT_TAGVAR(old_archive_from_new_cmds, )='true'
9065 enable_shared_with_static_runtimes=yes
9066 export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS][ ]/s/.*[ ]\([^ ]*\)/\1,DATA/'\'' | $SED -e '\''/^[AITW][ ]/s/.*[ ]//'\'' | sort | uniq > $export_symbols'
9068 old_postinstall_cmds='chmod 644 $oldlib'
9069 postlink_cmds='lt_outputfile="@OUTPUT@"~
9070 lt_tool_outputfile="@TOOL_OUTPUT@"~
9071 case $lt_outputfile in
9074 lt_outputfile="$lt_outputfile.exe"
9075 lt_tool_outputfile="$lt_tool_outputfile.exe"
9078 if test "$MANIFEST_TOOL" != ":" && test -f "$lt_outputfile.manifest"; then
9079 $MANIFEST_TOOL -manifest "$lt_tool_outputfile.manifest" -outputresource:"$lt_tool_outputfile" || exit 1;
9080 $RM "$lt_outputfile.manifest";
9084 # Assume MSVC wrapper
9085 hardcode_libdir_flag_spec=' '
9086 allow_undefined_flag=unsupported
9087 # Tell ltmain to make .lib files, not .a files.
9089 # Tell ltmain to make .dll files, not .so files.
9091 # FIXME: Setting linknames here is a bad hack.
9092 archive_cmds='$CC -o $lib $libobjs $compiler_flags `func_echo_all "$deplibs" | $SED '\''s/ -lc$//'\''` -link -dll~linknames='
9093 # The linker will automatically build a .lib file if we build a DLL.
9094 old_archive_from_new_cmds='true'
9095 # FIXME: Should let the user specify the lib program.
9096 old_archive_cmds='lib -OUT:$oldlib$oldobjs$old_deplibs'
9097 enable_shared_with_static_runtimes=yes
9102 darwin* | rhapsody*)
9105 archive_cmds_need_lc=no
9107 hardcode_automatic=yes
9108 hardcode_shlibpath_var=unsupported
9109 if test "$lt_cv_ld_force_load" = "yes"; then
9110 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\"`'
9112 whole_archive_flag_spec=''
9114 link_all_deplibs=yes
9115 allow_undefined_flag="$_lt_dar_allow_undefined"
9116 case $cc_basename in
9117 ifort*) _lt_dar_can_shared=yes ;;
9118 *) _lt_dar_can_shared=$GCC ;;
9120 if test "$_lt_dar_can_shared" = "yes"; then
9121 output_verbose_link_cmd=func_echo_all
9122 archive_cmds="\$CC -dynamiclib \$allow_undefined_flag -o \$lib \$libobjs \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring $_lt_dar_single_mod${_lt_dsymutil}"
9123 module_cmds="\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags${_lt_dsymutil}"
9124 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}"
9125 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}"
9134 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
9135 hardcode_libdir_flag_spec='-L$libdir'
9136 hardcode_shlibpath_var=no
9143 # FreeBSD 2.2.[012] allows us to include c++rt0.o to get C++ constructor
9144 # support. Future versions do this automatically, but an explicit c++rt0.o
9145 # does not break anything, and helps significantly (at the cost of a little
9148 archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags /usr/lib/c++rt0.o'
9149 hardcode_libdir_flag_spec='-R$libdir'
9151 hardcode_shlibpath_var=no
9154 # Unfortunately, older versions of FreeBSD 2 do not have this feature.
9156 archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
9158 hardcode_minus_L=yes
9159 hardcode_shlibpath_var=no
9162 # FreeBSD 3 and greater uses gcc -shared to do shared libraries.
9163 freebsd* | dragonfly*)
9164 archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
9165 hardcode_libdir_flag_spec='-R$libdir'
9167 hardcode_shlibpath_var=no
9171 if test "$GCC" = yes; then
9172 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'
9174 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'
9176 hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
9177 hardcode_libdir_separator=:
9180 # hardcode_minus_L: Not really in the search PATH,
9181 # but as the default location of the library.
9182 hardcode_minus_L=yes
9183 export_dynamic_flag_spec='${wl}-E'
9187 if test "$GCC" = yes && test "$with_gnu_ld" = no; then
9188 archive_cmds='$CC -shared $pic_flag ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
9190 archive_cmds='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
9192 if test "$with_gnu_ld" = no; then
9193 hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
9194 hardcode_libdir_flag_spec_ld='+b $libdir'
9195 hardcode_libdir_separator=:
9197 hardcode_direct_absolute=yes
9198 export_dynamic_flag_spec='${wl}-E'
9199 # hardcode_minus_L: Not really in the search PATH,
9200 # but as the default location of the library.
9201 hardcode_minus_L=yes
9206 if test "$GCC" = yes && test "$with_gnu_ld" = no; then
9209 archive_cmds='$CC -shared ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
9212 archive_cmds='$CC -shared $pic_flag ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
9215 archive_cmds='$CC -shared $pic_flag ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
9221 archive_cmds='$CC -b ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
9224 archive_cmds='$CC -b ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
9228 # Older versions of the 11.00 compiler do not understand -b yet
9229 # (HP92453-01 A.11.01.20 doesn't, HP92453-01 B.11.X.35175-35176.GP does)
9230 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC understands -b" >&5
9231 $as_echo_n "checking if $CC understands -b... " >&6; }
9232 if ${lt_cv_prog_compiler__b+:} false; then :
9233 $as_echo_n "(cached) " >&6
9235 lt_cv_prog_compiler__b=no
9236 save_LDFLAGS="$LDFLAGS"
9237 LDFLAGS="$LDFLAGS -b"
9238 echo "$lt_simple_link_test_code" > conftest.$ac_ext
9239 if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
9240 # The linker can only warn and ignore the option if not recognized
9241 # So say no if there are warnings
9242 if test -s conftest.err; then
9243 # Append any errors to the config.log.
9244 cat conftest.err 1>&5
9245 $ECHO "$_lt_linker_boilerplate" | $SED '/^$/d' > conftest.exp
9246 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
9247 if diff conftest.exp conftest.er2 >/dev/null; then
9248 lt_cv_prog_compiler__b=yes
9251 lt_cv_prog_compiler__b=yes
9255 LDFLAGS="$save_LDFLAGS"
9258 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler__b" >&5
9259 $as_echo "$lt_cv_prog_compiler__b" >&6; }
9261 if test x"$lt_cv_prog_compiler__b" = xyes; then
9262 archive_cmds='$CC -b ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
9264 archive_cmds='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
9270 if test "$with_gnu_ld" = no; then
9271 hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
9272 hardcode_libdir_separator=:
9277 hardcode_shlibpath_var=no
9281 hardcode_direct_absolute=yes
9282 export_dynamic_flag_spec='${wl}-E'
9284 # hardcode_minus_L: Not really in the search PATH,
9285 # but as the default location of the library.
9286 hardcode_minus_L=yes
9292 irix5* | irix6* | nonstopux*)
9293 if test "$GCC" = yes; then
9294 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'
9295 # Try to use the -exported_symbol ld option, if it does not
9296 # work, assume that -exports_file does not work either and
9297 # implicitly export all symbols.
9298 # This should be the same for all languages, so no per-tag cache variable.
9299 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $host_os linker accepts -exported_symbol" >&5
9300 $as_echo_n "checking whether the $host_os linker accepts -exported_symbol... " >&6; }
9301 if ${lt_cv_irix_exported_symbol+:} false; then :
9302 $as_echo_n "(cached) " >&6
9304 save_LDFLAGS="$LDFLAGS"
9305 LDFLAGS="$LDFLAGS -shared ${wl}-exported_symbol ${wl}foo ${wl}-update_registry ${wl}/dev/null"
9306 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9307 /* end confdefs.h. */
9308 int foo (void) { return 0; }
9310 if ac_fn_c_try_link "$LINENO"; then :
9311 lt_cv_irix_exported_symbol=yes
9313 lt_cv_irix_exported_symbol=no
9315 rm -f core conftest.err conftest.$ac_objext \
9316 conftest$ac_exeext conftest.$ac_ext
9317 LDFLAGS="$save_LDFLAGS"
9319 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_irix_exported_symbol" >&5
9320 $as_echo "$lt_cv_irix_exported_symbol" >&6; }
9321 if test "$lt_cv_irix_exported_symbol" = yes; then
9322 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'
9325 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'
9326 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'
9328 archive_cmds_need_lc='no'
9329 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
9330 hardcode_libdir_separator=:
9332 link_all_deplibs=yes
9335 netbsd* | netbsdelf*-gnu)
9336 if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
9337 archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags' # a.out
9339 archive_cmds='$LD -shared -o $lib $libobjs $deplibs $linker_flags' # ELF
9341 hardcode_libdir_flag_spec='-R$libdir'
9343 hardcode_shlibpath_var=no
9347 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
9349 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
9350 hardcode_libdir_separator=:
9351 hardcode_shlibpath_var=no
9358 if test -f /usr/libexec/ld.so; then
9360 hardcode_shlibpath_var=no
9361 hardcode_direct_absolute=yes
9362 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
9363 archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
9364 archive_expsym_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-retain-symbols-file,$export_symbols'
9365 hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
9366 export_dynamic_flag_spec='${wl}-E'
9369 openbsd[01].* | openbsd2.[0-7] | openbsd2.[0-7].*)
9370 archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
9371 hardcode_libdir_flag_spec='-R$libdir'
9374 archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
9375 hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
9385 hardcode_libdir_flag_spec='-L$libdir'
9386 hardcode_minus_L=yes
9387 allow_undefined_flag=unsupported
9388 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'
9389 old_archive_from_new_cmds='emximp -o $output_objdir/$libname.a $output_objdir/$libname.def'
9393 if test "$GCC" = yes; then
9394 allow_undefined_flag=' ${wl}-expect_unresolved ${wl}\*'
9395 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'
9397 allow_undefined_flag=' -expect_unresolved \*'
9398 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'
9400 archive_cmds_need_lc='no'
9401 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
9402 hardcode_libdir_separator=:
9405 osf4* | osf5*) # as osf3* with the addition of -msym flag
9406 if test "$GCC" = yes; then
9407 allow_undefined_flag=' ${wl}-expect_unresolved ${wl}\*'
9408 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'
9409 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
9411 allow_undefined_flag=' -expect_unresolved \*'
9412 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'
9413 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~
9414 $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'
9416 # Both c and cxx compiler support -rpath directly
9417 hardcode_libdir_flag_spec='-rpath $libdir'
9419 archive_cmds_need_lc='no'
9420 hardcode_libdir_separator=:
9424 no_undefined_flag=' -z defs'
9425 if test "$GCC" = yes; then
9427 archive_cmds='$CC -shared $pic_flag ${wl}-z ${wl}text ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
9428 archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
9429 $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'
9431 case `$CC -V 2>&1` in
9434 archive_cmds='$LD -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $linker_flags'
9435 archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
9436 $LD -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$RM $lib.exp'
9440 archive_cmds='$CC -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $compiler_flags'
9441 archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
9442 $CC -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $compiler_flags~$RM $lib.exp'
9446 hardcode_libdir_flag_spec='-R$libdir'
9447 hardcode_shlibpath_var=no
9449 solaris2.[0-5] | solaris2.[0-5].*) ;;
9451 # The compiler driver will combine and reorder linker options,
9452 # but understands `-z linker_flag'. GCC discards it without `$wl',
9453 # but is careful enough not to reorder.
9454 # Supported since Solaris 2.6 (maybe 2.5.1?)
9455 if test "$GCC" = yes; then
9456 whole_archive_flag_spec='${wl}-z ${wl}allextract$convenience ${wl}-z ${wl}defaultextract'
9458 whole_archive_flag_spec='-z allextract$convenience -z defaultextract'
9462 link_all_deplibs=yes
9466 if test "x$host_vendor" = xsequent; then
9467 # Use $CC to link under sequent, because it throws in some extra .o
9468 # files that make .init and .fini sections work.
9469 archive_cmds='$CC -G ${wl}-h $soname -o $lib $libobjs $deplibs $compiler_flags'
9471 archive_cmds='$LD -assert pure-text -Bstatic -o $lib $libobjs $deplibs $linker_flags'
9473 hardcode_libdir_flag_spec='-L$libdir'
9475 hardcode_minus_L=yes
9476 hardcode_shlibpath_var=no
9480 case $host_vendor in
9482 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
9483 hardcode_direct=yes # is this really true???
9486 ## LD is ld it makes a PLAMLIB
9487 ## CC just makes a GrossModule.
9488 archive_cmds='$LD -G -o $lib $libobjs $deplibs $linker_flags'
9489 reload_cmds='$CC -r -o $output$reload_objs'
9493 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
9494 hardcode_direct=no #Motorola manual says yes, but my tests say they lie
9497 runpath_var='LD_RUN_PATH'
9498 hardcode_shlibpath_var=no
9502 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
9503 hardcode_shlibpath_var=no
9504 export_dynamic_flag_spec='-Bexport'
9508 if test -d /usr/nec; then
9509 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
9510 hardcode_shlibpath_var=no
9511 runpath_var=LD_RUN_PATH
9512 hardcode_runpath_var=yes
9517 sysv4*uw2* | sysv5OpenUNIX* | sysv5UnixWare7.[01].[10]* | unixware7* | sco3.2v5.0.[024]*)
9518 no_undefined_flag='${wl}-z,text'
9519 archive_cmds_need_lc=no
9520 hardcode_shlibpath_var=no
9521 runpath_var='LD_RUN_PATH'
9523 if test "$GCC" = yes; then
9524 archive_cmds='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
9525 archive_expsym_cmds='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
9527 archive_cmds='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
9528 archive_expsym_cmds='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
9532 sysv5* | sco3.2v5* | sco5v6*)
9533 # Note: We can NOT use -z defs as we might desire, because we do not
9534 # link with -lc, and that would cause any symbols used from libc to
9535 # always be unresolved, which means just about no library would
9536 # ever link correctly. If we're not using GNU ld we use -z text
9537 # though, which does catch some bad symbols but isn't as heavy-handed
9539 no_undefined_flag='${wl}-z,text'
9540 allow_undefined_flag='${wl}-z,nodefs'
9541 archive_cmds_need_lc=no
9542 hardcode_shlibpath_var=no
9543 hardcode_libdir_flag_spec='${wl}-R,$libdir'
9544 hardcode_libdir_separator=':'
9545 link_all_deplibs=yes
9546 export_dynamic_flag_spec='${wl}-Bexport'
9547 runpath_var='LD_RUN_PATH'
9549 if test "$GCC" = yes; then
9550 archive_cmds='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
9551 archive_expsym_cmds='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
9553 archive_cmds='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
9554 archive_expsym_cmds='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
9559 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
9560 hardcode_libdir_flag_spec='-L$libdir'
9561 hardcode_shlibpath_var=no
9569 if test x$host_vendor = xsni; then
9571 sysv4 | sysv4.2uw2* | sysv4.3* | sysv5*)
9572 export_dynamic_flag_spec='${wl}-Blargedynsym'
9578 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ld_shlibs" >&5
9579 $as_echo "$ld_shlibs" >&6; }
9580 test "$ld_shlibs" = no && can_build_shared=no
9582 with_gnu_ld=$with_gnu_ld
9599 # Do we need to explicitly link libc?
9601 case "x$archive_cmds_need_lc" in
9603 # Assume -lc should be added
9604 archive_cmds_need_lc=yes
9606 if test "$enable_shared" = yes && test "$GCC" = yes; then
9607 case $archive_cmds in
9609 # FIXME: we may have to deal with multi-command sequences.
9612 # Test whether the compiler implicitly links with -lc since on some
9613 # systems, -lgcc has to come before -lc. If gcc already passes -lc
9614 # to ld, don't add -lc before -lgcc.
9615 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether -lc should be explicitly linked in" >&5
9616 $as_echo_n "checking whether -lc should be explicitly linked in... " >&6; }
9617 if ${lt_cv_archive_cmds_need_lc+:} false; then :
9618 $as_echo_n "(cached) " >&6
9621 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
9623 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
9624 (eval $ac_compile) 2>&5
9626 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
9627 test $ac_status = 0; } 2>conftest.err; then
9630 libobjs=conftest.$ac_objext
9632 wl=$lt_prog_compiler_wl
9633 pic_flag=$lt_prog_compiler_pic
9639 lt_save_allow_undefined_flag=$allow_undefined_flag
9640 allow_undefined_flag=
9641 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$archive_cmds 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1\""; } >&5
9642 (eval $archive_cmds 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1) 2>&5
9644 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
9645 test $ac_status = 0; }
9647 lt_cv_archive_cmds_need_lc=no
9649 lt_cv_archive_cmds_need_lc=yes
9651 allow_undefined_flag=$lt_save_allow_undefined_flag
9653 cat conftest.err 1>&5
9658 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_archive_cmds_need_lc" >&5
9659 $as_echo "$lt_cv_archive_cmds_need_lc" >&6; }
9660 archive_cmds_need_lc=$lt_cv_archive_cmds_need_lc
9823 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dynamic linker characteristics" >&5
9824 $as_echo_n "checking dynamic linker characteristics... " >&6; }
9826 if test "$GCC" = yes; then
9828 darwin*) lt_awk_arg="/^libraries:/,/LR/" ;;
9829 *) lt_awk_arg="/^libraries:/" ;;
9832 mingw* | cegcc*) lt_sed_strip_eq="s,=\([A-Za-z]:\),\1,g" ;;
9833 *) lt_sed_strip_eq="s,=/,/,g" ;;
9835 lt_search_path_spec=`$CC -print-search-dirs | awk $lt_awk_arg | $SED -e "s/^libraries://" -e $lt_sed_strip_eq`
9836 case $lt_search_path_spec in
9838 # if the path contains ";" then we assume it to be the separator
9839 # otherwise default to the standard path separator (i.e. ":") - it is
9840 # assumed that no part of a normal pathname contains ";" but that should
9841 # okay in the real world where ";" in dirpaths is itself problematic.
9842 lt_search_path_spec=`$ECHO "$lt_search_path_spec" | $SED 's/;/ /g'`
9845 lt_search_path_spec=`$ECHO "$lt_search_path_spec" | $SED "s/$PATH_SEPARATOR/ /g"`
9848 # Ok, now we have the path, separated by spaces, we can step through it
9849 # and add multilib dir if necessary.
9850 lt_tmp_lt_search_path_spec=
9851 lt_multi_os_dir=`$CC $CPPFLAGS $CFLAGS $LDFLAGS -print-multi-os-directory 2>/dev/null`
9852 for lt_sys_path in $lt_search_path_spec; do
9853 if test -d "$lt_sys_path/$lt_multi_os_dir"; then
9854 lt_tmp_lt_search_path_spec="$lt_tmp_lt_search_path_spec $lt_sys_path/$lt_multi_os_dir"
9856 test -d "$lt_sys_path" && \
9857 lt_tmp_lt_search_path_spec="$lt_tmp_lt_search_path_spec $lt_sys_path"
9860 lt_search_path_spec=`$ECHO "$lt_tmp_lt_search_path_spec" | awk '
9861 BEGIN {RS=" "; FS="/|\n";} {
9864 for (lt_i = NF; lt_i > 0; lt_i--) {
9865 if ($lt_i != "" && $lt_i != ".") {
9866 if ($lt_i == "..") {
9869 if (lt_count == 0) {
9870 lt_foo="/" $lt_i lt_foo;
9877 if (lt_foo != "") { lt_freq[lt_foo]++; }
9878 if (lt_freq[lt_foo] == 1) { print lt_foo; }
9880 # AWK program above erroneously prepends '/' to C:/dos/paths
9883 mingw* | cegcc*) lt_search_path_spec=`$ECHO "$lt_search_path_spec" |\
9884 $SED 's,/\([A-Za-z]:\),\1,g'` ;;
9886 sys_lib_search_path_spec=`$ECHO "$lt_search_path_spec" | $lt_NL2SP`
9888 sys_lib_search_path_spec="/lib /usr/lib /usr/local/lib"
9891 libname_spec='lib$name'
9899 shlibpath_overrides_runpath=unknown
9901 dynamic_linker="$host_os ld.so"
9902 sys_lib_dlsearch_path_spec="/lib /usr/lib"
9903 need_lib_prefix=unknown
9904 hardcode_into_libs=no
9906 # when you set need_version to no, make sure it does not cause -set_version
9907 # flags to be left without arguments
9908 need_version=unknown
9913 library_names_spec='${libname}${release}${shared_ext}$versuffix $libname.a'
9914 shlibpath_var=LIBPATH
9916 # AIX 3 has no versioning support, so we append a major version to the name.
9917 soname_spec='${libname}${release}${shared_ext}$major'
9924 hardcode_into_libs=yes
9925 if test "$host_cpu" = ia64; then
9926 # AIX 5 supports IA64
9927 library_names_spec='${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext}$versuffix $libname${shared_ext}'
9928 shlibpath_var=LD_LIBRARY_PATH
9930 # With GCC up to 2.95.x, collect2 would create an import file
9931 # for dependence libraries. The import file would start with
9932 # the line `#! .'. This would cause the generated library to
9933 # depend on `.', always an invalid library. This was fixed in
9934 # development snapshots of GCC prior to 3.0.
9936 aix4 | aix4.[01] | aix4.[01].*)
9937 if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
9939 echo '#endif'; } | ${CC} -E - | $GREP yes > /dev/null; then
9946 # AIX (on Power*) has no versioning support, so currently we can not hardcode correct
9947 # soname into executable. Probably we can add versioning support to
9948 # collect2, so additional links can be useful in future.
9949 if test "$aix_use_runtimelinking" = yes; then
9950 # If using run time linking (on AIX 4.2 or later) use lib<name>.so
9951 # instead of lib<name>.a to let people know that these are not
9952 # typical AIX shared libraries.
9953 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
9955 # We preserve .a as extension for shared libraries through AIX4.2
9956 # and later when we are not doing run time linking.
9957 library_names_spec='${libname}${release}.a $libname.a'
9958 soname_spec='${libname}${release}${shared_ext}$major'
9960 shlibpath_var=LIBPATH
9967 # Since July 2007 AmigaOS4 officially supports .so libraries.
9968 # When compiling the executable, add -use-dynld -Lsobjs: to the compileline.
9969 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
9972 library_names_spec='$libname.ixlibrary $libname.a'
9973 # Create ${libname}_ixlibrary.a entries in /sys/libs.
9974 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'
9980 library_names_spec='${libname}${shared_ext}'
9981 dynamic_linker="$host_os ld.so"
9982 shlibpath_var=LIBRARY_PATH
9988 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
9989 soname_spec='${libname}${release}${shared_ext}$major'
9990 finish_cmds='PATH="\$PATH:/sbin" ldconfig $libdir'
9991 shlibpath_var=LD_LIBRARY_PATH
9992 sys_lib_search_path_spec="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
9993 sys_lib_dlsearch_path_spec="/shlib /usr/lib /usr/local/lib"
9994 # the default ld.so.conf also contains /usr/contrib/lib and
9995 # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
9996 # libtool to hard-code these into programs
9999 cygwin* | mingw* | pw32* | cegcc*)
10000 version_type=windows
10005 case $GCC,$cc_basename in
10008 library_names_spec='$libname.dll.a'
10009 # DLL is installed to $(libdir)/../bin by postinstall_cmds
10010 postinstall_cmds='base_file=`basename \${file}`~
10011 dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i; echo \$dlname'\''`~
10012 dldir=$destdir/`dirname \$dlpath`~
10013 test -d \$dldir || mkdir -p \$dldir~
10014 $install_prog $dir/$dlname \$dldir/$dlname~
10015 chmod a+x \$dldir/$dlname~
10016 if test -n '\''$stripme'\'' && test -n '\''$striplib'\''; then
10017 eval '\''$striplib \$dldir/$dlname'\'' || exit \$?;
10019 postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
10020 dlpath=$dir/\$dldll~
10022 shlibpath_overrides_runpath=yes
10026 # Cygwin DLLs use 'cyg' prefix rather than 'lib'
10027 soname_spec='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
10029 sys_lib_search_path_spec="$sys_lib_search_path_spec /usr/lib/w32api"
10032 # MinGW DLLs use traditional 'lib' prefix
10033 soname_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
10036 # pw32 DLLs use 'pw' prefix rather than 'lib'
10037 library_names_spec='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
10040 dynamic_linker='Win32 ld.exe'
10045 libname_spec='$name'
10046 soname_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
10047 library_names_spec='${libname}.dll.lib'
10051 sys_lib_search_path_spec=
10054 for lt_path in $LIB
10057 # Let DOS variable expansion print the short 8.3 style file name.
10058 lt_path=`cd "$lt_path" 2>/dev/null && cmd //C "for %i in (".") do @echo %~si"`
10059 sys_lib_search_path_spec="$sys_lib_search_path_spec $lt_path"
10062 # Convert to MSYS style.
10063 sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | sed -e 's|\\\\|/|g' -e 's| \\([a-zA-Z]\\):| /\\1|g' -e 's|^ ||'`
10066 # Convert to unix form, then to dos form, then back to unix form
10067 # but this time dos style (no spaces!) so that the unix form looks
10068 # like /cygdrive/c/PROGRA~1:/cygdr...
10069 sys_lib_search_path_spec=`cygpath --path --unix "$LIB"`
10070 sys_lib_search_path_spec=`cygpath --path --dos "$sys_lib_search_path_spec" 2>/dev/null`
10071 sys_lib_search_path_spec=`cygpath --path --unix "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
10074 sys_lib_search_path_spec="$LIB"
10075 if $ECHO "$sys_lib_search_path_spec" | $GREP ';[c-zC-Z]:/' >/dev/null; then
10076 # It is most probably a Windows format PATH.
10077 sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
10079 sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
10081 # FIXME: find the short name or the path components, as spaces are
10082 # common. (e.g. "Program Files" -> "PROGRA~1")
10086 # DLL is installed to $(libdir)/../bin by postinstall_cmds
10087 postinstall_cmds='base_file=`basename \${file}`~
10088 dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i; echo \$dlname'\''`~
10089 dldir=$destdir/`dirname \$dlpath`~
10090 test -d \$dldir || mkdir -p \$dldir~
10091 $install_prog $dir/$dlname \$dldir/$dlname'
10092 postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
10093 dlpath=$dir/\$dldll~
10095 shlibpath_overrides_runpath=yes
10096 dynamic_linker='Win32 link.exe'
10100 # Assume MSVC wrapper
10101 library_names_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext} $libname.lib'
10102 dynamic_linker='Win32 ld.exe'
10105 # FIXME: first we should search . and the directory the executable is in
10109 darwin* | rhapsody*)
10110 dynamic_linker="$host_os dyld"
10111 version_type=darwin
10114 library_names_spec='${libname}${release}${major}$shared_ext ${libname}$shared_ext'
10115 soname_spec='${libname}${release}${major}$shared_ext'
10116 shlibpath_overrides_runpath=yes
10117 shlibpath_var=DYLD_LIBRARY_PATH
10118 shrext_cmds='`test .$module = .yes && echo .so || echo .dylib`'
10120 sys_lib_search_path_spec="$sys_lib_search_path_spec /usr/local/lib"
10121 sys_lib_dlsearch_path_spec='/usr/local/lib /lib /usr/lib'
10128 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname$shared_ext'
10129 soname_spec='${libname}${release}${shared_ext}$major'
10130 shlibpath_var=LD_LIBRARY_PATH
10137 freebsd* | dragonfly*)
10138 # DragonFly does not have aout. When/if they implement a new
10139 # versioning mechanism, adjust this.
10140 if test -x /usr/bin/objformat; then
10141 objformat=`/usr/bin/objformat`
10144 freebsd[123]*) objformat=aout ;;
10145 *) objformat=elf ;;
10148 version_type=freebsd-$objformat
10149 case $version_type in
10151 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
10156 library_names_spec='${libname}${release}${shared_ext}$versuffix $libname${shared_ext}$versuffix'
10160 shlibpath_var=LD_LIBRARY_PATH
10163 shlibpath_overrides_runpath=yes
10165 freebsd3.[01]* | freebsdelf3.[01]*)
10166 shlibpath_overrides_runpath=yes
10167 hardcode_into_libs=yes
10169 freebsd3.[2-9]* | freebsdelf3.[2-9]* | \
10170 freebsd4.[0-5] | freebsdelf4.[0-5] | freebsd4.1.1 | freebsdelf4.1.1)
10171 shlibpath_overrides_runpath=no
10172 hardcode_into_libs=yes
10174 *) # from 4.6 on, and DragonFly
10175 shlibpath_overrides_runpath=yes
10176 hardcode_into_libs=yes
10185 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
10186 soname_spec='${libname}${release}${shared_ext}$major'
10187 shlibpath_var=LD_LIBRARY_PATH
10188 shlibpath_overrides_runpath=no
10189 hardcode_into_libs=yes
10196 dynamic_linker="$host_os runtime_loader"
10197 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
10198 soname_spec='${libname}${release}${shared_ext}$major'
10199 shlibpath_var=LIBRARY_PATH
10200 shlibpath_overrides_runpath=yes
10201 sys_lib_dlsearch_path_spec='/boot/home/config/lib /boot/common/lib /boot/system/lib'
10202 hardcode_into_libs=yes
10205 hpux9* | hpux10* | hpux11*)
10206 # Give a soname corresponding to the major version so that dld.sl refuses to
10207 # link against other versions.
10214 hardcode_into_libs=yes
10215 dynamic_linker="$host_os dld.so"
10216 shlibpath_var=LD_LIBRARY_PATH
10217 shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
10218 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10219 soname_spec='${libname}${release}${shared_ext}$major'
10220 if test "X$HPUX_IA64_MODE" = X32; then
10221 sys_lib_search_path_spec="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
10223 sys_lib_search_path_spec="/usr/lib/hpux64 /usr/local/lib/hpux64"
10225 sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
10229 hardcode_into_libs=yes
10230 dynamic_linker="$host_os dld.sl"
10231 shlibpath_var=LD_LIBRARY_PATH # How should we handle SHLIB_PATH
10232 shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
10233 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10234 soname_spec='${libname}${release}${shared_ext}$major'
10235 sys_lib_search_path_spec="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
10236 sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
10240 dynamic_linker="$host_os dld.sl"
10241 shlibpath_var=SHLIB_PATH
10242 shlibpath_overrides_runpath=no # +s is required to enable SHLIB_PATH
10243 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10244 soname_spec='${libname}${release}${shared_ext}$major'
10247 # HP-UX runs *really* slowly unless shared libraries are mode 555, ...
10248 postinstall_cmds='chmod 555 $lib'
10249 # or fails outright, so override atomically:
10250 install_override_mode=555
10257 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
10258 soname_spec='${libname}${release}${shared_ext}$major'
10259 dynamic_linker='Interix 3.x ld.so.1 (PE, like ELF)'
10260 shlibpath_var=LD_LIBRARY_PATH
10261 shlibpath_overrides_runpath=no
10262 hardcode_into_libs=yes
10265 irix5* | irix6* | nonstopux*)
10267 nonstopux*) version_type=nonstopux ;;
10269 if test "$lt_cv_prog_gnu_ld" = yes; then
10277 soname_spec='${libname}${release}${shared_ext}$major'
10278 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} $libname${shared_ext}'
10280 irix5* | nonstopux*)
10281 libsuff= shlibsuff=
10284 case $LD in # libtool.m4 will add one of these switches to LD
10285 *-32|*"-32 "|*-melf32bsmip|*"-melf32bsmip ")
10286 libsuff= shlibsuff= libmagic=32-bit;;
10287 *-n32|*"-n32 "|*-melf32bmipn32|*"-melf32bmipn32 ")
10288 libsuff=32 shlibsuff=N32 libmagic=N32;;
10289 *-64|*"-64 "|*-melf64bmip|*"-melf64bmip ")
10290 libsuff=64 shlibsuff=64 libmagic=64-bit;;
10291 *) libsuff= shlibsuff= libmagic=never-match;;
10295 shlibpath_var=LD_LIBRARY${shlibsuff}_PATH
10296 shlibpath_overrides_runpath=no
10297 sys_lib_search_path_spec="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}"
10298 sys_lib_dlsearch_path_spec="/usr/lib${libsuff} /lib${libsuff}"
10299 hardcode_into_libs=yes
10302 # No shared lib support for Linux oldld, aout, or coff.
10303 linux*oldld* | linux*aout* | linux*coff*)
10307 # This must be Linux ELF.
10308 linux* | k*bsd*-gnu | kopensolaris*-gnu)
10312 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10313 soname_spec='${libname}${release}${shared_ext}$major'
10314 finish_cmds='PATH="\$PATH:/sbin" ldconfig -n $libdir'
10315 shlibpath_var=LD_LIBRARY_PATH
10316 shlibpath_overrides_runpath=no
10318 # Some binutils ld are patched to set DT_RUNPATH
10319 if ${lt_cv_shlibpath_overrides_runpath+:} false; then :
10320 $as_echo_n "(cached) " >&6
10322 lt_cv_shlibpath_overrides_runpath=no
10323 save_LDFLAGS=$LDFLAGS
10324 save_libdir=$libdir
10325 eval "libdir=/foo; wl=\"$lt_prog_compiler_wl\"; \
10326 LDFLAGS=\"\$LDFLAGS $hardcode_libdir_flag_spec\""
10327 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10328 /* end confdefs.h. */
10338 if ac_fn_c_try_link "$LINENO"; then :
10339 if ($OBJDUMP -p conftest$ac_exeext) 2>/dev/null | grep "RUNPATH.*$libdir" >/dev/null; then :
10340 lt_cv_shlibpath_overrides_runpath=yes
10343 rm -f core conftest.err conftest.$ac_objext \
10344 conftest$ac_exeext conftest.$ac_ext
10345 LDFLAGS=$save_LDFLAGS
10346 libdir=$save_libdir
10350 shlibpath_overrides_runpath=$lt_cv_shlibpath_overrides_runpath
10352 # This implies no fast_install, which is unacceptable.
10353 # Some rework will be needed to allow for fast_install
10354 # before this can be enabled.
10355 hardcode_into_libs=yes
10357 # Append ld.so.conf contents to the search path
10358 if test -f /etc/ld.so.conf; then
10359 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' ' '`
10360 sys_lib_dlsearch_path_spec="/lib /usr/lib $lt_ld_extra"
10363 # We used to test for /lib/ld.so.1 and disable shared libraries on
10364 # powerpc, because MkLinux only supported shared libraries with the
10365 # GNU dynamic linker. Since this was broken with cross compilers,
10366 # most powerpc-linux boxes support dynamic linking these days and
10367 # people can always --disable-shared, the test was removed, and we
10368 # assume the GNU/Linux dynamic linker is in use.
10369 dynamic_linker='GNU/Linux ld.so'
10376 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
10377 soname_spec='${libname}${release}${shared_ext}$major'
10378 shlibpath_var=LD_LIBRARY_PATH
10379 shlibpath_overrides_runpath=no
10380 hardcode_into_libs=yes
10381 dynamic_linker='NetBSD ld.elf_so'
10388 if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
10389 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
10390 finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
10391 dynamic_linker='NetBSD (a.out) ld.so'
10393 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
10394 soname_spec='${libname}${release}${shared_ext}$major'
10395 dynamic_linker='NetBSD ld.elf_so'
10397 shlibpath_var=LD_LIBRARY_PATH
10398 shlibpath_overrides_runpath=yes
10399 hardcode_into_libs=yes
10404 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10405 shlibpath_var=LD_LIBRARY_PATH
10406 shlibpath_overrides_runpath=yes
10413 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10414 soname_spec='${libname}${release}${shared_ext}$major'
10415 shlibpath_var=LD_LIBRARY_PATH
10416 shlibpath_overrides_runpath=no
10417 hardcode_into_libs=yes
10418 dynamic_linker='ldqnx.so'
10423 sys_lib_dlsearch_path_spec="/usr/lib"
10425 # Some older versions of OpenBSD (3.3 at least) *do* need versioned libs.
10427 openbsd3.3 | openbsd3.3.*) need_version=yes ;;
10428 *) need_version=no ;;
10430 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
10431 finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
10432 shlibpath_var=LD_LIBRARY_PATH
10433 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
10435 openbsd2.[89] | openbsd2.[89].*)
10436 shlibpath_overrides_runpath=no
10439 shlibpath_overrides_runpath=yes
10443 shlibpath_overrides_runpath=yes
10448 libname_spec='$name'
10451 library_names_spec='$libname${shared_ext} $libname.a'
10452 dynamic_linker='OS/2 ld.exe'
10453 shlibpath_var=LIBPATH
10456 osf3* | osf4* | osf5*)
10460 soname_spec='${libname}${release}${shared_ext}$major'
10461 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10462 shlibpath_var=LD_LIBRARY_PATH
10463 sys_lib_search_path_spec="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
10464 sys_lib_dlsearch_path_spec="$sys_lib_search_path_spec"
10475 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10476 soname_spec='${libname}${release}${shared_ext}$major'
10477 shlibpath_var=LD_LIBRARY_PATH
10478 shlibpath_overrides_runpath=yes
10479 hardcode_into_libs=yes
10480 # ldd complains unless libraries are executable
10481 postinstall_cmds='chmod +x $lib'
10486 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
10487 finish_cmds='PATH="\$PATH:/usr/etc" ldconfig $libdir'
10488 shlibpath_var=LD_LIBRARY_PATH
10489 shlibpath_overrides_runpath=yes
10490 if test "$with_gnu_ld" = yes; then
10498 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10499 soname_spec='${libname}${release}${shared_ext}$major'
10500 shlibpath_var=LD_LIBRARY_PATH
10501 case $host_vendor in
10503 shlibpath_overrides_runpath=no
10505 runpath_var=LD_RUN_PATH
10513 shlibpath_overrides_runpath=no
10514 sys_lib_search_path_spec='/lib /usr/lib /usr/ccs/lib'
10520 if test -d /usr/nec ;then
10522 library_names_spec='$libname${shared_ext}.$versuffix $libname${shared_ext}.$major $libname${shared_ext}'
10523 soname_spec='$libname${shared_ext}.$major'
10524 shlibpath_var=LD_LIBRARY_PATH
10528 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
10529 version_type=freebsd-elf
10532 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
10533 soname_spec='${libname}${release}${shared_ext}$major'
10534 shlibpath_var=LD_LIBRARY_PATH
10535 shlibpath_overrides_runpath=yes
10536 hardcode_into_libs=yes
10537 if test "$with_gnu_ld" = yes; then
10538 sys_lib_search_path_spec='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib'
10540 sys_lib_search_path_spec='/usr/ccs/lib /usr/lib'
10543 sys_lib_search_path_spec="$sys_lib_search_path_spec /lib"
10547 sys_lib_dlsearch_path_spec='/usr/lib'
10551 # TPF is a cross-target only. Preferred cross-host = GNU/Linux.
10555 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10556 shlibpath_var=LD_LIBRARY_PATH
10557 shlibpath_overrides_runpath=no
10558 hardcode_into_libs=yes
10563 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10564 soname_spec='${libname}${release}${shared_ext}$major'
10565 shlibpath_var=LD_LIBRARY_PATH
10572 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $dynamic_linker" >&5
10573 $as_echo "$dynamic_linker" >&6; }
10574 test "$dynamic_linker" = no && can_build_shared=no
10576 variables_saved_for_relink="PATH $shlibpath_var $runpath_var"
10577 if test "$GCC" = yes; then
10578 variables_saved_for_relink="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
10581 if test "${lt_cv_sys_lib_search_path_spec+set}" = set; then
10582 sys_lib_search_path_spec="$lt_cv_sys_lib_search_path_spec"
10584 if test "${lt_cv_sys_lib_dlsearch_path_spec+set}" = set; then
10585 sys_lib_dlsearch_path_spec="$lt_cv_sys_lib_dlsearch_path_spec"
10679 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to hardcode library paths into programs" >&5
10680 $as_echo_n "checking how to hardcode library paths into programs... " >&6; }
10682 if test -n "$hardcode_libdir_flag_spec" ||
10683 test -n "$runpath_var" ||
10684 test "X$hardcode_automatic" = "Xyes" ; then
10686 # We can hardcode non-existent directories.
10687 if test "$hardcode_direct" != no &&
10688 # If the only mechanism to avoid hardcoding is shlibpath_var, we
10689 # have to relink, otherwise we might link with an installed library
10690 # when we should be linking with a yet-to-be-installed one
10691 ## test "$_LT_TAGVAR(hardcode_shlibpath_var, )" != no &&
10692 test "$hardcode_minus_L" != no; then
10693 # Linking always hardcodes the temporary library directory.
10694 hardcode_action=relink
10696 # We can link without hardcoding, and we can hardcode nonexisting dirs.
10697 hardcode_action=immediate
10700 # We cannot hardcode anything, or else we can only hardcode existing
10702 hardcode_action=unsupported
10704 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hardcode_action" >&5
10705 $as_echo "$hardcode_action" >&6; }
10707 if test "$hardcode_action" = relink ||
10708 test "$inherit_rpath" = yes; then
10709 # Fast installation is not supported
10710 enable_fast_install=no
10711 elif test "$shlibpath_overrides_runpath" = yes ||
10712 test "$enable_shared" = no; then
10713 # Fast installation is not necessary
10714 enable_fast_install=needless
10722 if test "x$enable_dlopen" != xyes; then
10723 enable_dlopen=unknown
10724 enable_dlopen_self=unknown
10725 enable_dlopen_self_static=unknown
10732 lt_cv_dlopen="load_add_on"
10734 lt_cv_dlopen_self=yes
10737 mingw* | pw32* | cegcc*)
10738 lt_cv_dlopen="LoadLibrary"
10743 lt_cv_dlopen="dlopen"
10748 # if libdl is installed we need to link against it
10749 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
10750 $as_echo_n "checking for dlopen in -ldl... " >&6; }
10751 if ${ac_cv_lib_dl_dlopen+:} false; then :
10752 $as_echo_n "(cached) " >&6
10754 ac_check_lib_save_LIBS=$LIBS
10756 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10757 /* end confdefs.h. */
10759 /* Override any GCC internal prototype to avoid an error.
10760 Use char because int might match the return type of a GCC
10761 builtin and then its argument prototype would still apply. */
10774 if ac_fn_c_try_link "$LINENO"; then :
10775 ac_cv_lib_dl_dlopen=yes
10777 ac_cv_lib_dl_dlopen=no
10779 rm -f core conftest.err conftest.$ac_objext \
10780 conftest$ac_exeext conftest.$ac_ext
10781 LIBS=$ac_check_lib_save_LIBS
10783 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
10784 $as_echo "$ac_cv_lib_dl_dlopen" >&6; }
10785 if test "x$ac_cv_lib_dl_dlopen" = xyes; then :
10786 lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl"
10789 lt_cv_dlopen="dyld"
10791 lt_cv_dlopen_self=yes
10798 ac_fn_c_check_func "$LINENO" "shl_load" "ac_cv_func_shl_load"
10799 if test "x$ac_cv_func_shl_load" = xyes; then :
10800 lt_cv_dlopen="shl_load"
10802 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for shl_load in -ldld" >&5
10803 $as_echo_n "checking for shl_load in -ldld... " >&6; }
10804 if ${ac_cv_lib_dld_shl_load+:} false; then :
10805 $as_echo_n "(cached) " >&6
10807 ac_check_lib_save_LIBS=$LIBS
10809 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10810 /* end confdefs.h. */
10812 /* Override any GCC internal prototype to avoid an error.
10813 Use char because int might match the return type of a GCC
10814 builtin and then its argument prototype would still apply. */
10822 return shl_load ();
10827 if ac_fn_c_try_link "$LINENO"; then :
10828 ac_cv_lib_dld_shl_load=yes
10830 ac_cv_lib_dld_shl_load=no
10832 rm -f core conftest.err conftest.$ac_objext \
10833 conftest$ac_exeext conftest.$ac_ext
10834 LIBS=$ac_check_lib_save_LIBS
10836 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_shl_load" >&5
10837 $as_echo "$ac_cv_lib_dld_shl_load" >&6; }
10838 if test "x$ac_cv_lib_dld_shl_load" = xyes; then :
10839 lt_cv_dlopen="shl_load" lt_cv_dlopen_libs="-ldld"
10841 ac_fn_c_check_func "$LINENO" "dlopen" "ac_cv_func_dlopen"
10842 if test "x$ac_cv_func_dlopen" = xyes; then :
10843 lt_cv_dlopen="dlopen"
10845 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
10846 $as_echo_n "checking for dlopen in -ldl... " >&6; }
10847 if ${ac_cv_lib_dl_dlopen+:} false; then :
10848 $as_echo_n "(cached) " >&6
10850 ac_check_lib_save_LIBS=$LIBS
10852 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10853 /* end confdefs.h. */
10855 /* Override any GCC internal prototype to avoid an error.
10856 Use char because int might match the return type of a GCC
10857 builtin and then its argument prototype would still apply. */
10870 if ac_fn_c_try_link "$LINENO"; then :
10871 ac_cv_lib_dl_dlopen=yes
10873 ac_cv_lib_dl_dlopen=no
10875 rm -f core conftest.err conftest.$ac_objext \
10876 conftest$ac_exeext conftest.$ac_ext
10877 LIBS=$ac_check_lib_save_LIBS
10879 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
10880 $as_echo "$ac_cv_lib_dl_dlopen" >&6; }
10881 if test "x$ac_cv_lib_dl_dlopen" = xyes; then :
10882 lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl"
10884 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -lsvld" >&5
10885 $as_echo_n "checking for dlopen in -lsvld... " >&6; }
10886 if ${ac_cv_lib_svld_dlopen+:} false; then :
10887 $as_echo_n "(cached) " >&6
10889 ac_check_lib_save_LIBS=$LIBS
10890 LIBS="-lsvld $LIBS"
10891 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10892 /* end confdefs.h. */
10894 /* Override any GCC internal prototype to avoid an error.
10895 Use char because int might match the return type of a GCC
10896 builtin and then its argument prototype would still apply. */
10909 if ac_fn_c_try_link "$LINENO"; then :
10910 ac_cv_lib_svld_dlopen=yes
10912 ac_cv_lib_svld_dlopen=no
10914 rm -f core conftest.err conftest.$ac_objext \
10915 conftest$ac_exeext conftest.$ac_ext
10916 LIBS=$ac_check_lib_save_LIBS
10918 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_svld_dlopen" >&5
10919 $as_echo "$ac_cv_lib_svld_dlopen" >&6; }
10920 if test "x$ac_cv_lib_svld_dlopen" = xyes; then :
10921 lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-lsvld"
10923 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dld_link in -ldld" >&5
10924 $as_echo_n "checking for dld_link in -ldld... " >&6; }
10925 if ${ac_cv_lib_dld_dld_link+:} false; then :
10926 $as_echo_n "(cached) " >&6
10928 ac_check_lib_save_LIBS=$LIBS
10930 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10931 /* end confdefs.h. */
10933 /* Override any GCC internal prototype to avoid an error.
10934 Use char because int might match the return type of a GCC
10935 builtin and then its argument prototype would still apply. */
10943 return dld_link ();
10948 if ac_fn_c_try_link "$LINENO"; then :
10949 ac_cv_lib_dld_dld_link=yes
10951 ac_cv_lib_dld_dld_link=no
10953 rm -f core conftest.err conftest.$ac_objext \
10954 conftest$ac_exeext conftest.$ac_ext
10955 LIBS=$ac_check_lib_save_LIBS
10957 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_dld_link" >&5
10958 $as_echo "$ac_cv_lib_dld_dld_link" >&6; }
10959 if test "x$ac_cv_lib_dld_dld_link" = xyes; then :
10960 lt_cv_dlopen="dld_link" lt_cv_dlopen_libs="-ldld"
10981 if test "x$lt_cv_dlopen" != xno; then
10987 case $lt_cv_dlopen in
10989 save_CPPFLAGS="$CPPFLAGS"
10990 test "x$ac_cv_header_dlfcn_h" = xyes && CPPFLAGS="$CPPFLAGS -DHAVE_DLFCN_H"
10992 save_LDFLAGS="$LDFLAGS"
10993 wl=$lt_prog_compiler_wl eval LDFLAGS=\"\$LDFLAGS $export_dynamic_flag_spec\"
10996 LIBS="$lt_cv_dlopen_libs $LIBS"
10998 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether a program can dlopen itself" >&5
10999 $as_echo_n "checking whether a program can dlopen itself... " >&6; }
11000 if ${lt_cv_dlopen_self+:} false; then :
11001 $as_echo_n "(cached) " >&6
11003 if test "$cross_compiling" = yes; then :
11004 lt_cv_dlopen_self=cross
11006 lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
11007 lt_status=$lt_dlunknown
11008 cat > conftest.$ac_ext <<_LT_EOF
11009 #line $LINENO "configure"
11010 #include "confdefs.h"
11019 # define LT_DLGLOBAL RTLD_GLOBAL
11022 # define LT_DLGLOBAL DL_GLOBAL
11024 # define LT_DLGLOBAL 0
11028 /* We may have to define LT_DLLAZY_OR_NOW in the command line if we
11029 find out it does not work in some platform. */
11030 #ifndef LT_DLLAZY_OR_NOW
11032 # define LT_DLLAZY_OR_NOW RTLD_LAZY
11035 # define LT_DLLAZY_OR_NOW DL_LAZY
11038 # define LT_DLLAZY_OR_NOW RTLD_NOW
11041 # define LT_DLLAZY_OR_NOW DL_NOW
11043 # define LT_DLLAZY_OR_NOW 0
11050 /* When -fvisbility=hidden is used, assume the code has been annotated
11051 correspondingly for the symbols needed. */
11052 #if defined(__GNUC__) && (((__GNUC__ == 3) && (__GNUC_MINOR__ >= 3)) || (__GNUC__ > 3))
11053 int fnord () __attribute__((visibility("default")));
11056 int fnord () { return 42; }
11059 void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
11060 int status = $lt_dlunknown;
11064 if (dlsym (self,"fnord")) status = $lt_dlno_uscore;
11067 if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
11068 else puts (dlerror ());
11070 /* dlclose (self); */
11078 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
11079 (eval $ac_link) 2>&5
11081 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
11082 test $ac_status = 0; } && test -s conftest${ac_exeext} 2>/dev/null; then
11083 (./conftest; exit; ) >&5 2>/dev/null
11085 case x$lt_status in
11086 x$lt_dlno_uscore) lt_cv_dlopen_self=yes ;;
11087 x$lt_dlneed_uscore) lt_cv_dlopen_self=yes ;;
11088 x$lt_dlunknown|x*) lt_cv_dlopen_self=no ;;
11091 # compilation failed
11092 lt_cv_dlopen_self=no
11099 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_dlopen_self" >&5
11100 $as_echo "$lt_cv_dlopen_self" >&6; }
11102 if test "x$lt_cv_dlopen_self" = xyes; then
11103 wl=$lt_prog_compiler_wl eval LDFLAGS=\"\$LDFLAGS $lt_prog_compiler_static\"
11104 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether a statically linked program can dlopen itself" >&5
11105 $as_echo_n "checking whether a statically linked program can dlopen itself... " >&6; }
11106 if ${lt_cv_dlopen_self_static+:} false; then :
11107 $as_echo_n "(cached) " >&6
11109 if test "$cross_compiling" = yes; then :
11110 lt_cv_dlopen_self_static=cross
11112 lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
11113 lt_status=$lt_dlunknown
11114 cat > conftest.$ac_ext <<_LT_EOF
11115 #line $LINENO "configure"
11116 #include "confdefs.h"
11125 # define LT_DLGLOBAL RTLD_GLOBAL
11128 # define LT_DLGLOBAL DL_GLOBAL
11130 # define LT_DLGLOBAL 0
11134 /* We may have to define LT_DLLAZY_OR_NOW in the command line if we
11135 find out it does not work in some platform. */
11136 #ifndef LT_DLLAZY_OR_NOW
11138 # define LT_DLLAZY_OR_NOW RTLD_LAZY
11141 # define LT_DLLAZY_OR_NOW DL_LAZY
11144 # define LT_DLLAZY_OR_NOW RTLD_NOW
11147 # define LT_DLLAZY_OR_NOW DL_NOW
11149 # define LT_DLLAZY_OR_NOW 0
11156 /* When -fvisbility=hidden is used, assume the code has been annotated
11157 correspondingly for the symbols needed. */
11158 #if defined(__GNUC__) && (((__GNUC__ == 3) && (__GNUC_MINOR__ >= 3)) || (__GNUC__ > 3))
11159 int fnord () __attribute__((visibility("default")));
11162 int fnord () { return 42; }
11165 void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
11166 int status = $lt_dlunknown;
11170 if (dlsym (self,"fnord")) status = $lt_dlno_uscore;
11173 if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
11174 else puts (dlerror ());
11176 /* dlclose (self); */
11184 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
11185 (eval $ac_link) 2>&5
11187 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
11188 test $ac_status = 0; } && test -s conftest${ac_exeext} 2>/dev/null; then
11189 (./conftest; exit; ) >&5 2>/dev/null
11191 case x$lt_status in
11192 x$lt_dlno_uscore) lt_cv_dlopen_self_static=yes ;;
11193 x$lt_dlneed_uscore) lt_cv_dlopen_self_static=yes ;;
11194 x$lt_dlunknown|x*) lt_cv_dlopen_self_static=no ;;
11197 # compilation failed
11198 lt_cv_dlopen_self_static=no
11205 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_dlopen_self_static" >&5
11206 $as_echo "$lt_cv_dlopen_self_static" >&6; }
11209 CPPFLAGS="$save_CPPFLAGS"
11210 LDFLAGS="$save_LDFLAGS"
11215 case $lt_cv_dlopen_self in
11216 yes|no) enable_dlopen_self=$lt_cv_dlopen_self ;;
11217 *) enable_dlopen_self=unknown ;;
11220 case $lt_cv_dlopen_self_static in
11221 yes|no) enable_dlopen_self_static=$lt_cv_dlopen_self_static ;;
11222 *) enable_dlopen_self_static=unknown ;;
11244 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether stripping libraries is possible" >&5
11245 $as_echo_n "checking whether stripping libraries is possible... " >&6; }
11246 if test -n "$STRIP" && $STRIP -V 2>&1 | $GREP "GNU strip" >/dev/null; then
11247 test -z "$old_striplib" && old_striplib="$STRIP --strip-debug"
11248 test -z "$striplib" && striplib="$STRIP --strip-unneeded"
11249 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
11250 $as_echo "yes" >&6; }
11252 # FIXME - insert some real tests, host_os isn't really good enough
11255 if test -n "$STRIP" ; then
11256 striplib="$STRIP -x"
11257 old_striplib="$STRIP -S"
11258 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
11259 $as_echo "yes" >&6; }
11261 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11262 $as_echo "no" >&6; }
11266 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11267 $as_echo "no" >&6; }
11283 # Report which library types will actually be built
11284 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if libtool supports shared libraries" >&5
11285 $as_echo_n "checking if libtool supports shared libraries... " >&6; }
11286 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $can_build_shared" >&5
11287 $as_echo "$can_build_shared" >&6; }
11289 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build shared libraries" >&5
11290 $as_echo_n "checking whether to build shared libraries... " >&6; }
11291 test "$can_build_shared" = "no" && enable_shared=no
11293 # On AIX, shared libraries and static libraries use the same namespace, and
11294 # are all built from PIC.
11297 test "$enable_shared" = yes && enable_static=no
11298 if test -n "$RANLIB"; then
11299 archive_cmds="$archive_cmds~\$RANLIB \$lib"
11300 postinstall_cmds='$RANLIB $lib'
11305 if test "$host_cpu" != ia64 && test "$aix_use_runtimelinking" = no ; then
11306 test "$enable_shared" = yes && enable_static=no
11310 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_shared" >&5
11311 $as_echo "$enable_shared" >&6; }
11313 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build static libraries" >&5
11314 $as_echo_n "checking whether to build static libraries... " >&6; }
11315 # Make sure either enable_shared or enable_static is yes.
11316 test "$enable_shared" = yes || enable_static=yes
11317 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_static" >&5
11318 $as_echo "$enable_static" >&6; }
11325 ac_cpp='$CPP $CPPFLAGS'
11326 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
11327 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
11328 ac_compiler_gnu=$ac_cv_c_compiler_gnu
11344 ac_config_commands="$ac_config_commands libtool"
11349 # Only expand once:
11353 # Checks for libraries
11355 # Check whether --enable-gtktest was given.
11356 if test "${enable_gtktest+set}" = set; then :
11357 enableval=$enable_gtktest;
11363 pkg_config_args=gtk+-3.0
11368 pkg_config_args="$pkg_config_args gthread-2.0"
11375 # Extract the first word of "pkg-config", so it can be a program name with args.
11376 set dummy pkg-config; ac_word=$2
11377 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
11378 $as_echo_n "checking for $ac_word... " >&6; }
11379 if ${ac_cv_path_PKG_CONFIG+:} false; then :
11380 $as_echo_n "(cached) " >&6
11382 case $PKG_CONFIG in
11384 ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path.
11387 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11388 for as_dir in $PATH
11391 test -z "$as_dir" && as_dir=.
11392 for ac_exec_ext in '' $ac_executable_extensions; do
11393 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
11394 ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
11395 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
11402 test -z "$ac_cv_path_PKG_CONFIG" && ac_cv_path_PKG_CONFIG="no"
11406 PKG_CONFIG=$ac_cv_path_PKG_CONFIG
11407 if test -n "$PKG_CONFIG"; then
11408 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PKG_CONFIG" >&5
11409 $as_echo "$PKG_CONFIG" >&6; }
11411 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11412 $as_echo "no" >&6; }
11417 if test x$PKG_CONFIG != xno ; then
11418 if $PKG_CONFIG --atleast-pkgconfig-version 0.7 ; then
11421 echo "*** pkg-config too old; version 0.7 or better required."
11429 min_gtk_version=3.0.0
11430 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GTK+ - version >= $min_gtk_version" >&5
11431 $as_echo_n "checking for GTK+ - version >= $min_gtk_version... " >&6; }
11433 if test x$PKG_CONFIG != xno ; then
11434 ## don't try to run the test against uninstalled libtool libs
11435 if $PKG_CONFIG --uninstalled $pkg_config_args; then
11436 echo "Will use uninstalled version of GTK+ found in PKG_CONFIG_PATH"
11440 if $PKG_CONFIG --atleast-version $min_gtk_version $pkg_config_args; then
11447 if test x"$no_gtk" = x ; then
11448 GTK_CFLAGS=`$PKG_CONFIG $pkg_config_args --cflags`
11449 GTK_LIBS=`$PKG_CONFIG $pkg_config_args --libs`
11450 gtk_config_major_version=`$PKG_CONFIG --modversion gtk+-3.0 | \
11451 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\1/'`
11452 gtk_config_minor_version=`$PKG_CONFIG --modversion gtk+-3.0 | \
11453 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\2/'`
11454 gtk_config_micro_version=`$PKG_CONFIG --modversion gtk+-3.0 | \
11455 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\3/'`
11456 if test "x$enable_gtktest" = "xyes" ; then
11457 ac_save_CFLAGS="$CFLAGS"
11458 ac_save_LIBS="$LIBS"
11459 CFLAGS="$CFLAGS $GTK_CFLAGS"
11460 LIBS="$GTK_LIBS $LIBS"
11462 if test "$cross_compiling" = yes; then :
11463 echo $ac_n "cross compiling; assumed OK... $ac_c"
11465 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11466 /* end confdefs.h. */
11468 #include <gtk/gtk.h>
11470 #include <stdlib.h>
11475 int major, minor, micro;
11478 fclose (fopen ("conf.gtktest", "w"));
11480 /* HP/UX 9 (%@#!) writes to sscanf strings */
11481 tmp_version = g_strdup("$min_gtk_version");
11482 if (sscanf(tmp_version, "%d.%d.%d", &major, &minor, µ) != 3) {
11483 printf("%s, bad version string\n", "$min_gtk_version");
11487 if ((gtk_major_version != $gtk_config_major_version) ||
11488 (gtk_minor_version != $gtk_config_minor_version) ||
11489 (gtk_micro_version != $gtk_config_micro_version))
11491 printf("\n*** 'pkg-config --modversion gtk+-3.0' returned %d.%d.%d, but GTK+ (%d.%d.%d)\n",
11492 $gtk_config_major_version, $gtk_config_minor_version, $gtk_config_micro_version,
11493 gtk_major_version, gtk_minor_version, gtk_micro_version);
11494 printf ("*** was found! If pkg-config was correct, then it is best\n");
11495 printf ("*** to remove the old version of GTK+. You may also be able to fix the error\n");
11496 printf("*** by modifying your LD_LIBRARY_PATH enviroment variable, or by editing\n");
11497 printf("*** /etc/ld.so.conf. Make sure you have run ldconfig if that is\n");
11498 printf("*** required on your system.\n");
11499 printf("*** If pkg-config was wrong, set the environment variable PKG_CONFIG_PATH\n");
11500 printf("*** to point to the correct configuration files\n");
11502 else if ((gtk_major_version != GTK_MAJOR_VERSION) ||
11503 (gtk_minor_version != GTK_MINOR_VERSION) ||
11504 (gtk_micro_version != GTK_MICRO_VERSION))
11506 printf("*** GTK+ header files (version %d.%d.%d) do not match\n",
11507 GTK_MAJOR_VERSION, GTK_MINOR_VERSION, GTK_MICRO_VERSION);
11508 printf("*** library (version %d.%d.%d)\n",
11509 gtk_major_version, gtk_minor_version, gtk_micro_version);
11513 if ((gtk_major_version > major) ||
11514 ((gtk_major_version == major) && (gtk_minor_version > minor)) ||
11515 ((gtk_major_version == major) && (gtk_minor_version == minor) && (gtk_micro_version >= micro)))
11521 printf("\n*** An old version of GTK+ (%d.%d.%d) was found.\n",
11522 gtk_major_version, gtk_minor_version, gtk_micro_version);
11523 printf("*** You need a version of GTK+ newer than %d.%d.%d. The latest version of\n",
11524 major, minor, micro);
11525 printf("*** GTK+ is always available from ftp://ftp.gtk.org.\n");
11527 printf("*** If you have already installed a sufficiently new version, this error\n");
11528 printf("*** probably means that the wrong copy of the pkg-config shell script is\n");
11529 printf("*** being found. The easiest way to fix this is to remove the old version\n");
11530 printf("*** of GTK+, but you can also set the PKG_CONFIG environment to point to the\n");
11531 printf("*** correct copy of pkg-config. (In this case, you will have to\n");
11532 printf("*** modify your LD_LIBRARY_PATH enviroment variable, or edit /etc/ld.so.conf\n");
11533 printf("*** so that the correct libraries are found at run-time))\n");
11540 if ac_fn_c_try_run "$LINENO"; then :
11545 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
11546 conftest.$ac_objext conftest.beam conftest.$ac_ext
11549 CFLAGS="$ac_save_CFLAGS"
11550 LIBS="$ac_save_LIBS"
11553 if test "x$no_gtk" = x ; then
11554 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes (version $gtk_config_major_version.$gtk_config_minor_version.$gtk_config_micro_version)" >&5
11555 $as_echo "yes (version $gtk_config_major_version.$gtk_config_minor_version.$gtk_config_micro_version)" >&6; }
11558 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11559 $as_echo "no" >&6; }
11560 if test "$PKG_CONFIG" = "no" ; then
11561 echo "*** A new enough version of pkg-config was not found."
11562 echo "*** See http://pkgconfig.sourceforge.net"
11564 if test -f conf.gtktest ; then
11567 echo "*** Could not run GTK+ test program, checking why..."
11568 ac_save_CFLAGS="$CFLAGS"
11569 ac_save_LIBS="$LIBS"
11570 CFLAGS="$CFLAGS $GTK_CFLAGS"
11571 LIBS="$LIBS $GTK_LIBS"
11572 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11573 /* end confdefs.h. */
11575 #include <gtk/gtk.h>
11581 return ((gtk_major_version) || (gtk_minor_version) || (gtk_micro_version));
11586 if ac_fn_c_try_link "$LINENO"; then :
11587 echo "*** The test program compiled, but did not run. This usually means"
11588 echo "*** that the run-time linker is not finding GTK+ or finding the wrong"
11589 echo "*** version of GTK+. If it is not finding GTK+, you'll need to set your"
11590 echo "*** LD_LIBRARY_PATH environment variable, or edit /etc/ld.so.conf to point"
11591 echo "*** to the installed location Also, make sure you have run ldconfig if that"
11592 echo "*** is required on your system"
11594 echo "*** If you have an old version installed, it is best to remove it, although"
11595 echo "*** you may also be able to get things to work by modifying LD_LIBRARY_PATH"
11597 echo "*** The test program failed to compile or link. See the file config.log for the"
11598 echo "*** exact error that occured. This usually means GTK+ is incorrectly installed."
11600 rm -f core conftest.err conftest.$ac_objext \
11601 conftest$ac_exeext conftest.$ac_ext
11602 CFLAGS="$ac_save_CFLAGS"
11603 LIBS="$ac_save_LIBS"
11621 if test "x$ac_cv_env_PKG_CONFIG_set" != "xset"; then
11622 if test -n "$ac_tool_prefix"; then
11623 # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
11624 set dummy ${ac_tool_prefix}pkg-config; ac_word=$2
11625 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
11626 $as_echo_n "checking for $ac_word... " >&6; }
11627 if ${ac_cv_path_PKG_CONFIG+:} false; then :
11628 $as_echo_n "(cached) " >&6
11630 case $PKG_CONFIG in
11632 ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path.
11635 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11636 for as_dir in $PATH
11639 test -z "$as_dir" && as_dir=.
11640 for ac_exec_ext in '' $ac_executable_extensions; do
11641 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
11642 ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
11643 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
11653 PKG_CONFIG=$ac_cv_path_PKG_CONFIG
11654 if test -n "$PKG_CONFIG"; then
11655 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PKG_CONFIG" >&5
11656 $as_echo "$PKG_CONFIG" >&6; }
11658 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11659 $as_echo "no" >&6; }
11664 if test -z "$ac_cv_path_PKG_CONFIG"; then
11665 ac_pt_PKG_CONFIG=$PKG_CONFIG
11666 # Extract the first word of "pkg-config", so it can be a program name with args.
11667 set dummy pkg-config; ac_word=$2
11668 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
11669 $as_echo_n "checking for $ac_word... " >&6; }
11670 if ${ac_cv_path_ac_pt_PKG_CONFIG+:} false; then :
11671 $as_echo_n "(cached) " >&6
11673 case $ac_pt_PKG_CONFIG in
11675 ac_cv_path_ac_pt_PKG_CONFIG="$ac_pt_PKG_CONFIG" # Let the user override the test with a path.
11678 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11679 for as_dir in $PATH
11682 test -z "$as_dir" && as_dir=.
11683 for ac_exec_ext in '' $ac_executable_extensions; do
11684 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
11685 ac_cv_path_ac_pt_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
11686 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
11696 ac_pt_PKG_CONFIG=$ac_cv_path_ac_pt_PKG_CONFIG
11697 if test -n "$ac_pt_PKG_CONFIG"; then
11698 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_pt_PKG_CONFIG" >&5
11699 $as_echo "$ac_pt_PKG_CONFIG" >&6; }
11701 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11702 $as_echo "no" >&6; }
11705 if test "x$ac_pt_PKG_CONFIG" = x; then
11708 case $cross_compiling:$ac_tool_warned in
11710 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
11711 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
11712 ac_tool_warned=yes ;;
11714 PKG_CONFIG=$ac_pt_PKG_CONFIG
11717 PKG_CONFIG="$ac_cv_path_PKG_CONFIG"
11721 if test -n "$PKG_CONFIG"; then
11722 _pkg_min_version=0.9.0
11723 { $as_echo "$as_me:${as_lineno-$LINENO}: checking pkg-config is at least version $_pkg_min_version" >&5
11724 $as_echo_n "checking pkg-config is at least version $_pkg_min_version... " >&6; }
11725 if $PKG_CONFIG --atleast-pkgconfig-version $_pkg_min_version; then
11726 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
11727 $as_echo "yes" >&6; }
11729 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11730 $as_echo "no" >&6; }
11736 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GTK" >&5
11737 $as_echo_n "checking for GTK... " >&6; }
11739 if test -n "$GTK_CFLAGS"; then
11740 pkg_cv_GTK_CFLAGS="$GTK_CFLAGS"
11741 elif test -n "$PKG_CONFIG"; then
11742 if test -n "$PKG_CONFIG" && \
11743 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"\""; } >&5
11744 ($PKG_CONFIG --exists --print-errors "") 2>&5
11746 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
11747 test $ac_status = 0; }; then
11748 pkg_cv_GTK_CFLAGS=`$PKG_CONFIG --cflags "" 2>/dev/null`
11749 test "x$?" != "x0" && pkg_failed=yes
11756 if test -n "$GTK_LIBS"; then
11757 pkg_cv_GTK_LIBS="$GTK_LIBS"
11758 elif test -n "$PKG_CONFIG"; then
11759 if test -n "$PKG_CONFIG" && \
11760 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"\""; } >&5
11761 ($PKG_CONFIG --exists --print-errors "") 2>&5
11763 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
11764 test $ac_status = 0; }; then
11765 pkg_cv_GTK_LIBS=`$PKG_CONFIG --libs "" 2>/dev/null`
11766 test "x$?" != "x0" && pkg_failed=yes
11776 if test $pkg_failed = yes; then
11777 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11778 $as_echo "no" >&6; }
11780 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
11781 _pkg_short_errors_supported=yes
11783 _pkg_short_errors_supported=no
11785 if test $_pkg_short_errors_supported = yes; then
11786 GTK_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "" 2>&1`
11788 GTK_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "" 2>&1`
11790 # Put the nasty error message in config.log where it belongs
11791 echo "$GTK_PKG_ERRORS" >&5
11793 as_fn_error $? "Package requirements () were not met:
11797 Consider adjusting the PKG_CONFIG_PATH environment variable if you
11798 installed software in a non-standard prefix.
11800 Alternatively, you may set the environment variables GTK_CFLAGS
11801 and GTK_LIBS to avoid the need to call pkg-config.
11802 See the pkg-config man page for more details." "$LINENO" 5
11803 elif test $pkg_failed = untried; then
11804 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11805 $as_echo "no" >&6; }
11806 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
11807 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
11808 as_fn_error $? "The pkg-config script could not be found or is too old. Make sure it
11809 is in your PATH or set the PKG_CONFIG environment variable to the full
11810 path to pkg-config.
11812 Alternatively, you may set the environment variables GTK_CFLAGS
11813 and GTK_LIBS to avoid the need to call pkg-config.
11814 See the pkg-config man page for more details.
11816 To get pkg-config, see <http://pkg-config.freedesktop.org/>.
11817 See \`config.log' for more details" "$LINENO" 5; }
11819 GTK_CFLAGS=$pkg_cv_GTK_CFLAGS
11820 GTK_LIBS=$pkg_cv_GTK_LIBS
11821 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
11822 $as_echo "yes" >&6; }
11830 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GMODULE" >&5
11831 $as_echo_n "checking for GMODULE... " >&6; }
11833 if test -n "$GMODULE_CFLAGS"; then
11834 pkg_cv_GMODULE_CFLAGS="$GMODULE_CFLAGS"
11835 elif test -n "$PKG_CONFIG"; then
11836 if test -n "$PKG_CONFIG" && \
11837 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"gmodule-2.0\""; } >&5
11838 ($PKG_CONFIG --exists --print-errors "gmodule-2.0") 2>&5
11840 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
11841 test $ac_status = 0; }; then
11842 pkg_cv_GMODULE_CFLAGS=`$PKG_CONFIG --cflags "gmodule-2.0" 2>/dev/null`
11843 test "x$?" != "x0" && pkg_failed=yes
11850 if test -n "$GMODULE_LIBS"; then
11851 pkg_cv_GMODULE_LIBS="$GMODULE_LIBS"
11852 elif test -n "$PKG_CONFIG"; then
11853 if test -n "$PKG_CONFIG" && \
11854 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"gmodule-2.0\""; } >&5
11855 ($PKG_CONFIG --exists --print-errors "gmodule-2.0") 2>&5
11857 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
11858 test $ac_status = 0; }; then
11859 pkg_cv_GMODULE_LIBS=`$PKG_CONFIG --libs "gmodule-2.0" 2>/dev/null`
11860 test "x$?" != "x0" && pkg_failed=yes
11870 if test $pkg_failed = yes; then
11871 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11872 $as_echo "no" >&6; }
11874 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
11875 _pkg_short_errors_supported=yes
11877 _pkg_short_errors_supported=no
11879 if test $_pkg_short_errors_supported = yes; then
11880 GMODULE_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "gmodule-2.0" 2>&1`
11882 GMODULE_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "gmodule-2.0" 2>&1`
11884 # Put the nasty error message in config.log where it belongs
11885 echo "$GMODULE_PKG_ERRORS" >&5
11887 as_fn_error $? "Package requirements (gmodule-2.0) were not met:
11889 $GMODULE_PKG_ERRORS
11891 Consider adjusting the PKG_CONFIG_PATH environment variable if you
11892 installed software in a non-standard prefix.
11894 Alternatively, you may set the environment variables GMODULE_CFLAGS
11895 and GMODULE_LIBS to avoid the need to call pkg-config.
11896 See the pkg-config man page for more details." "$LINENO" 5
11897 elif test $pkg_failed = untried; then
11898 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11899 $as_echo "no" >&6; }
11900 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
11901 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
11902 as_fn_error $? "The pkg-config script could not be found or is too old. Make sure it
11903 is in your PATH or set the PKG_CONFIG environment variable to the full
11904 path to pkg-config.
11906 Alternatively, you may set the environment variables GMODULE_CFLAGS
11907 and GMODULE_LIBS to avoid the need to call pkg-config.
11908 See the pkg-config man page for more details.
11910 To get pkg-config, see <http://pkg-config.freedesktop.org/>.
11911 See \`config.log' for more details" "$LINENO" 5; }
11913 GMODULE_CFLAGS=$pkg_cv_GMODULE_CFLAGS
11914 GMODULE_LIBS=$pkg_cv_GMODULE_LIBS
11915 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
11916 $as_echo "yes" >&6; }
11924 # Check whether --with-xml-prefix was given.
11925 if test "${with_xml_prefix+set}" = set; then :
11926 withval=$with_xml_prefix; xml_config_prefix="$withval"
11928 xml_config_prefix=""
11932 # Check whether --with-xml-exec-prefix was given.
11933 if test "${with_xml_exec_prefix+set}" = set; then :
11934 withval=$with_xml_exec_prefix; xml_config_exec_prefix="$withval"
11936 xml_config_exec_prefix=""
11939 # Check whether --enable-xmltest was given.
11940 if test "${enable_xmltest+set}" = set; then :
11941 enableval=$enable_xmltest;
11947 if test x$xml_config_exec_prefix != x ; then
11948 xml_config_args="$xml_config_args"
11949 if test x${XML2_CONFIG+set} != xset ; then
11950 XML2_CONFIG=$xml_config_exec_prefix/bin/xml2-config
11953 if test x$xml_config_prefix != x ; then
11954 xml_config_args="$xml_config_args --prefix=$xml_config_prefix"
11955 if test x${XML2_CONFIG+set} != xset ; then
11956 XML2_CONFIG=$xml_config_prefix/bin/xml2-config
11960 # Extract the first word of "xml2-config", so it can be a program name with args.
11961 set dummy xml2-config; ac_word=$2
11962 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
11963 $as_echo_n "checking for $ac_word... " >&6; }
11964 if ${ac_cv_path_XML2_CONFIG+:} false; then :
11965 $as_echo_n "(cached) " >&6
11967 case $XML2_CONFIG in
11969 ac_cv_path_XML2_CONFIG="$XML2_CONFIG" # Let the user override the test with a path.
11972 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11973 for as_dir in $PATH
11976 test -z "$as_dir" && as_dir=.
11977 for ac_exec_ext in '' $ac_executable_extensions; do
11978 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
11979 ac_cv_path_XML2_CONFIG="$as_dir/$ac_word$ac_exec_ext"
11980 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
11987 test -z "$ac_cv_path_XML2_CONFIG" && ac_cv_path_XML2_CONFIG="no"
11991 XML2_CONFIG=$ac_cv_path_XML2_CONFIG
11992 if test -n "$XML2_CONFIG"; then
11993 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $XML2_CONFIG" >&5
11994 $as_echo "$XML2_CONFIG" >&6; }
11996 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11997 $as_echo "no" >&6; }
12001 min_xml_version=2.0.0
12002 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libxml - version >= $min_xml_version" >&5
12003 $as_echo_n "checking for libxml - version >= $min_xml_version... " >&6; }
12005 if test "$XML2_CONFIG" = "no" ; then
12008 XML_CPPFLAGS=`$XML2_CONFIG $xml_config_args --cflags`
12009 XML_LIBS=`$XML2_CONFIG $xml_config_args --libs`
12010 xml_config_major_version=`$XML2_CONFIG $xml_config_args --version | \
12011 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\1/'`
12012 xml_config_minor_version=`$XML2_CONFIG $xml_config_args --version | \
12013 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\2/'`
12014 xml_config_micro_version=`$XML2_CONFIG $xml_config_args --version | \
12015 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\3/'`
12016 if test "x$enable_xmltest" = "xyes" ; then
12017 ac_save_CPPFLAGS="$CPPFLAGS"
12018 ac_save_LIBS="$LIBS"
12019 CPPFLAGS="$CPPFLAGS $XML_CPPFLAGS"
12020 LIBS="$XML_LIBS $LIBS"
12022 if test "$cross_compiling" = yes; then :
12023 echo $ac_n "cross compiling; assumed OK... $ac_c"
12025 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12026 /* end confdefs.h. */
12028 #include <stdlib.h>
12030 #include <string.h>
12031 #include <libxml/xmlversion.h>
12036 int xml_major_version, xml_minor_version, xml_micro_version;
12037 int major, minor, micro;
12040 system("touch conf.xmltest");
12042 /* Capture xml2-config output via autoconf/configure variables */
12043 /* HP/UX 9 (%@#!) writes to sscanf strings */
12044 tmp_version = (char *)strdup("$min_xml_version");
12045 if (sscanf(tmp_version, "%d.%d.%d", &major, &minor, µ) != 3) {
12046 printf("%s, bad version string from xml2-config\n", "$min_xml_version");
12051 /* Capture the version information from the header files */
12052 tmp_version = (char *)strdup(LIBXML_DOTTED_VERSION);
12053 if (sscanf(tmp_version, "%d.%d.%d", &xml_major_version, &xml_minor_version, &xml_micro_version) != 3) {
12054 printf("%s, bad version string from libxml includes\n", "LIBXML_DOTTED_VERSION");
12059 /* Compare xml2-config output to the libxml headers */
12060 if ((xml_major_version != $xml_config_major_version) ||
12061 (xml_minor_version != $xml_config_minor_version) ||
12062 (xml_micro_version != $xml_config_micro_version))
12064 printf("*** libxml header files (version %d.%d.%d) do not match\n",
12065 xml_major_version, xml_minor_version, xml_micro_version);
12066 printf("*** xml2-config (version %d.%d.%d)\n",
12067 $xml_config_major_version, $xml_config_minor_version, $xml_config_micro_version);
12070 /* Compare the headers to the library to make sure we match */
12071 /* Less than ideal -- doesn't provide us with return value feedback,
12072 * only exits if there's a serious mismatch between header and library.
12074 LIBXML_TEST_VERSION;
12076 /* Test that the library is greater than our minimum version */
12077 if ((xml_major_version > major) ||
12078 ((xml_major_version == major) && (xml_minor_version > minor)) ||
12079 ((xml_major_version == major) && (xml_minor_version == minor) &&
12080 (xml_micro_version >= micro)))
12086 printf("\n*** An old version of libxml (%d.%d.%d) was found.\n",
12087 xml_major_version, xml_minor_version, xml_micro_version);
12088 printf("*** You need a version of libxml newer than %d.%d.%d. The latest version of\n",
12089 major, minor, micro);
12090 printf("*** libxml is always available from ftp://ftp.xmlsoft.org.\n");
12092 printf("*** If you have already installed a sufficiently new version, this error\n");
12093 printf("*** probably means that the wrong copy of the xml2-config shell script is\n");
12094 printf("*** being found. The easiest way to fix this is to remove the old version\n");
12095 printf("*** of LIBXML, but you can also set the XML2_CONFIG environment to point to the\n");
12096 printf("*** correct copy of xml2-config. (In this case, you will have to\n");
12097 printf("*** modify your LD_LIBRARY_PATH enviroment variable, or edit /etc/ld.so.conf\n");
12098 printf("*** so that the correct libraries are found at run-time))\n");
12104 if ac_fn_c_try_run "$LINENO"; then :
12109 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
12110 conftest.$ac_objext conftest.beam conftest.$ac_ext
12113 CPPFLAGS="$ac_save_CPPFLAGS"
12114 LIBS="$ac_save_LIBS"
12118 if test "x$no_xml" = x ; then
12119 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes (version $xml_config_major_version.$xml_config_minor_version.$xml_config_micro_version)" >&5
12120 $as_echo "yes (version $xml_config_major_version.$xml_config_minor_version.$xml_config_micro_version)" >&6; }
12123 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12124 $as_echo "no" >&6; }
12125 if test "$XML2_CONFIG" = "no" ; then
12126 echo "*** The xml2-config script installed by LIBXML could not be found"
12127 echo "*** If libxml was installed in PREFIX, make sure PREFIX/bin is in"
12128 echo "*** your path, or set the XML2_CONFIG environment variable to the"
12129 echo "*** full path to xml2-config."
12131 if test -f conf.xmltest ; then
12134 echo "*** Could not run libxml test program, checking why..."
12135 CPPFLAGS="$CPPFLAGS $XML_CPPFLAGS"
12136 LIBS="$LIBS $XML_LIBS"
12137 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12138 /* end confdefs.h. */
12140 #include <libxml/xmlversion.h>
12146 LIBXML_TEST_VERSION; return 0;
12151 if ac_fn_c_try_link "$LINENO"; then :
12152 echo "*** The test program compiled, but did not run. This usually means"
12153 echo "*** that the run-time linker is not finding LIBXML or finding the wrong"
12154 echo "*** version of LIBXML. If it is not finding LIBXML, you'll need to set your"
12155 echo "*** LD_LIBRARY_PATH environment variable, or edit /etc/ld.so.conf to point"
12156 echo "*** to the installed location Also, make sure you have run ldconfig if that"
12157 echo "*** is required on your system"
12159 echo "*** If you have an old version installed, it is best to remove it, although"
12160 echo "*** you may also be able to get things to work by modifying LD_LIBRARY_PATH"
12162 echo "*** The test program failed to compile or link. See the file config.log for the"
12163 echo "*** exact error that occured. This usually means LIBXML was incorrectly installed"
12164 echo "*** or that you have moved LIBXML since it was installed. In the latter case, you"
12165 echo "*** may want to edit the xml2-config script: $XML2_CONFIG"
12167 rm -f core conftest.err conftest.$ac_objext \
12168 conftest$ac_exeext conftest.$ac_ext
12169 CPPFLAGS="$ac_save_CPPFLAGS"
12170 LIBS="$ac_save_LIBS"
12186 # Check whether --enable-debug was given.
12187 if test "${enable_debug+set}" = set; then :
12188 enableval=$enable_debug;
12189 if test "$enableval" = "yes"; then
12197 # Check whether --enable-gstreamer was given.
12198 if test "${enable_gstreamer+set}" = set; then :
12199 enableval=$enable_gstreamer;
12200 if test "$enableval" = "yes"; then
12201 CFLAGS="$CFLAGS -DENABLE_GSTREAMER `pkg-config --cflags --libs gstreamer-0.10 gstreamer-video-0.10 gstreamer-interfaces-0.10`"
12209 ac_fn_c_check_type "$LINENO" "off_t" "ac_cv_type_off_t" "$ac_includes_default"
12210 if test "x$ac_cv_type_off_t" = xyes; then :
12214 cat >>confdefs.h <<_ACEOF
12215 #define off_t long int
12220 ac_fn_c_check_type "$LINENO" "size_t" "ac_cv_type_size_t" "$ac_includes_default"
12221 if test "x$ac_cv_type_size_t" = xyes; then :
12225 cat >>confdefs.h <<_ACEOF
12226 #define size_t unsigned int
12236 for ac_header in limits.h
12238 ac_fn_c_check_header_mongrel "$LINENO" "limits.h" "ac_cv_header_limits_h" "$ac_includes_default"
12239 if test "x$ac_cv_header_limits_h" = xyes; then :
12240 cat >>confdefs.h <<_ACEOF
12241 #define HAVE_LIMITS_H 1
12248 ac_fn_c_check_type "$LINENO" "ssize_t" "ac_cv_type_ssize_t" "$ac_includes_default"
12249 if test "x$ac_cv_type_ssize_t" = xyes; then :
12253 cat >>confdefs.h <<_ACEOF
12254 #define ssize_t int
12261 # Check whether --with-eb-conf was given.
12262 if test "${with_eb_conf+set}" = set; then :
12263 withval=$with_eb_conf; ebconf="${withval}"
12265 ebconf=$sysconfdir/eb.conf
12268 if test X$prefix = XNONE; then
12269 PREFIX=$ac_default_prefix
12273 ebconf=`echo X$ebconf | sed -e 's/^X//' -e 's;\${prefix};'"$PREFIX;g" \
12274 -e 's;\$(prefix);'"$PREFIX;g"`
12276 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for eb.conf" >&5
12277 $as_echo_n "checking for eb.conf... " >&6; }
12278 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ebconf" >&5
12279 $as_echo "$ebconf" >&6; }
12280 if test -f ${ebconf}; then
12283 as_fn_error $? "$ebconf not found" "$LINENO" 5
12286 if test X$EBCONF_ENABLE_PTHREAD = Xyes; then
12288 $as_echo "#define EBCONF_ENABLE_PTHREAD 1" >>confdefs.h
12291 if test X$EBCONF_ENABLE_NLS = Xyes; then
12293 $as_echo "#define EBCONF_ENABLE_NLS 1" >>confdefs.h
12296 if test X$EBCONF_ENABLE_EBNET = Xyes; then
12298 $as_echo "#define EBCONF_ENABLE_EBNET 1" >>confdefs.h
12312 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for EB Library" >&5
12313 $as_echo_n "checking for EB Library... " >&6; }
12314 save_CPPFLAGS=$CPPFLAGS
12315 save_CFLAGS=$CFLAGS
12316 save_LDFLAGS=$LDFLAGS
12318 CPPFLAGS="$CPPFLAGS $EBCONF_PTHREAD_CPPFLAGS $EBCONF_EBINCS $EBCONF_ZLIBINCS $EBCONF_INTLINCS"
12319 CFLAGS="$CFLAGS $EBCONF_PTHREAD_CFLAGS"
12320 LDFLAGS="$LDFAGS $EBCONF_PTHREAD_LDFLAGS"
12321 LIBS="$LIBS $EBCONF_EBLIBS $EBCONF_ZLIBLIBS $EBCONF_INTLLIBS"
12322 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12323 /* end confdefs.h. */
12328 eb_initialize_library(); return 0;
12333 if ac_fn_c_try_link "$LINENO"; then :
12338 rm -f core conftest.err conftest.$ac_objext \
12339 conftest$ac_exeext conftest.$ac_ext
12340 CPPFLAGS=$save_CPPFLAGS
12341 CFLAGS=$save_CFLAGS
12342 LDFLAGS=$save_LDFLAGS
12344 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $try_eb" >&5
12345 $as_echo "$try_eb" >&6; }
12346 if test ${try_eb} != yes; then
12347 as_fn_error $? "EB Library not available" "$LINENO" 5
12353 ac_config_files="$ac_config_files Makefile src/Makefile"
12355 cat >confcache <<\_ACEOF
12356 # This file is a shell script that caches the results of configure
12357 # tests run on this system so they can be shared between configure
12358 # scripts and configure runs, see configure's option --config-cache.
12359 # It is not useful on other systems. If it contains results you don't
12360 # want to keep, you may remove or edit it.
12362 # config.status only pays attention to the cache file if you give it
12363 # the --recheck option to rerun configure.
12365 # `ac_cv_env_foo' variables (set or unset) will be overridden when
12366 # loading this file, other *unset* `ac_cv_foo' will be assigned the
12367 # following values.
12371 # The following way of writing the cache mishandles newlines in values,
12372 # but we know of no workaround that is simple, portable, and efficient.
12373 # So, we kill variables containing newlines.
12374 # Ultrix sh set writes to stderr and can't be redirected directly,
12375 # and sets the high bit in the cache file unless we assign to the vars.
12377 for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
12378 eval ac_val=\$$ac_var
12382 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
12383 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
12386 _ | IFS | as_nl) ;; #(
12387 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
12388 *) { eval $ac_var=; unset $ac_var;} ;;
12394 case $as_nl`(ac_space=' '; set) 2>&1` in #(
12395 *${as_nl}ac_space=\ *)
12396 # `set' does not quote correctly, so add quotes: double-quote
12397 # substitution turns \\\\ into \\, and sed turns \\ into \.
12400 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
12403 # `set' quotes correctly as required by POSIX, so do not add quotes.
12404 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
12413 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
12415 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
12417 if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
12418 if test -w "$cache_file"; then
12419 if test "x$cache_file" != "x/dev/null"; then
12420 { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
12421 $as_echo "$as_me: updating cache $cache_file" >&6;}
12422 if test ! -f "$cache_file" || test -h "$cache_file"; then
12423 cat confcache >"$cache_file"
12425 case $cache_file in #(
12427 mv -f confcache "$cache_file"$$ &&
12428 mv -f "$cache_file"$$ "$cache_file" ;; #(
12430 mv -f confcache "$cache_file" ;;
12435 { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
12436 $as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
12441 test "x$prefix" = xNONE && prefix=$ac_default_prefix
12442 # Let make expand exec_prefix.
12443 test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
12445 DEFS=-DHAVE_CONFIG_H
12450 for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
12451 # 1. Remove the extension, and $U if already installed.
12452 ac_script='s/\$U\././;s/\.o$//;s/\.obj$//'
12453 ac_i=`$as_echo "$ac_i" | sed "$ac_script"`
12454 # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR
12455 # will be set to the directory where LIBOBJS objects are built.
12456 as_fn_append ac_libobjs " \${LIBOBJDIR}$ac_i\$U.$ac_objext"
12457 as_fn_append ac_ltlibobjs " \${LIBOBJDIR}$ac_i"'$U.lo'
12459 LIBOBJS=$ac_libobjs
12461 LTLIBOBJS=$ac_ltlibobjs
12464 if test -n "$EXEEXT"; then
12466 am__EXEEXT_FALSE='#'
12468 am__EXEEXT_TRUE='#'
12472 if test -z "${AMDEP_TRUE}" && test -z "${AMDEP_FALSE}"; then
12473 as_fn_error $? "conditional \"AMDEP\" was never defined.
12474 Usually this means the macro was only invoked conditionally." "$LINENO" 5
12476 if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
12477 as_fn_error $? "conditional \"am__fastdepCC\" was never defined.
12478 Usually this means the macro was only invoked conditionally." "$LINENO" 5
12481 : "${CONFIG_STATUS=./config.status}"
12483 ac_clean_files_save=$ac_clean_files
12484 ac_clean_files="$ac_clean_files $CONFIG_STATUS"
12485 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5
12486 $as_echo "$as_me: creating $CONFIG_STATUS" >&6;}
12488 cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1
12490 # Generated by $as_me.
12491 # Run this file to recreate the current configuration.
12492 # Compiler output produced by configure, useful for debugging
12493 # configure, is in config.log if it exists.
12496 ac_cs_recheck=false
12499 SHELL=\${CONFIG_SHELL-$SHELL}
12502 cat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail=1
12503 ## -------------------- ##
12504 ## M4sh Initialization. ##
12505 ## -------------------- ##
12507 # Be more Bourne compatible
12508 DUALCASE=1; export DUALCASE # for MKS sh
12509 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :
12512 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
12513 # is contrary to our usage. Disable this feature.
12514 alias -g '${1+"$@"}'='"$@"'
12515 setopt NO_GLOB_SUBST
12517 case `(set -o) 2>/dev/null` in #(
12529 # Printing a long string crashes Solaris 7 /usr/bin/printf.
12530 as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
12531 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
12532 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
12533 # Prefer a ksh shell builtin over an external printf program on Solaris,
12534 # but without wasting forks for bash or zsh.
12535 if test -z "$BASH_VERSION$ZSH_VERSION" \
12536 && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
12537 as_echo='print -r --'
12538 as_echo_n='print -rn --'
12539 elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
12540 as_echo='printf %s\n'
12541 as_echo_n='printf %s'
12543 if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
12544 as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
12545 as_echo_n='/usr/ucb/echo -n'
12547 as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
12548 as_echo_n_body='eval
12552 expr "X$arg" : "X\\(.*\\)$as_nl";
12553 arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
12555 expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
12557 export as_echo_n_body
12558 as_echo_n='sh -c $as_echo_n_body as_echo'
12560 export as_echo_body
12561 as_echo='sh -c $as_echo_body as_echo'
12564 # The user is always right.
12565 if test "${PATH_SEPARATOR+set}" != set; then
12567 (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
12568 (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
12575 # We need space, tab and new line, in precisely that order. Quoting is
12576 # there to prevent editors from complaining about space-tab.
12577 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
12578 # splitting by setting IFS to empty value.)
12581 # Find who we are. Look in the path if we contain no directory separator.
12584 *[\\/]* ) as_myself=$0 ;;
12585 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12586 for as_dir in $PATH
12589 test -z "$as_dir" && as_dir=.
12590 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
12596 # We did not find ourselves, most probably we were run as `sh COMMAND'
12597 # in which case we are not to be found in the path.
12598 if test "x$as_myself" = x; then
12601 if test ! -f "$as_myself"; then
12602 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
12606 # Unset variables that we do not need and which cause bugs (e.g. in
12607 # pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1"
12608 # suppresses any "Segmentation fault" message there. '((' could
12609 # trigger a bug in pdksh 5.2.14.
12610 for as_var in BASH_ENV ENV MAIL MAILPATH
12611 do eval test x\${$as_var+set} = xset \
12612 && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
12625 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
12628 # as_fn_error STATUS ERROR [LINENO LOG_FD]
12629 # ----------------------------------------
12630 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
12631 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
12632 # script with STATUS, using 1 if that was 0.
12635 as_status=$1; test $as_status -eq 0 && as_status=1
12637 as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
12638 $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
12640 $as_echo "$as_me: error: $2" >&2
12641 as_fn_exit $as_status
12645 # as_fn_set_status STATUS
12646 # -----------------------
12647 # Set $? to STATUS, without forking.
12648 as_fn_set_status ()
12651 } # as_fn_set_status
12653 # as_fn_exit STATUS
12654 # -----------------
12655 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
12659 as_fn_set_status $1
12665 # Portably unset VAR.
12668 { eval $1=; unset $1;}
12670 as_unset=as_fn_unset
12671 # as_fn_append VAR VALUE
12672 # ----------------------
12673 # Append the text in VALUE to the end of the definition contained in VAR. Take
12674 # advantage of any shell optimizations that allow amortized linear growth over
12675 # repeated appends, instead of the typical quadratic growth present in naive
12677 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
12678 eval 'as_fn_append ()
12689 # as_fn_arith ARG...
12690 # ------------------
12691 # Perform arithmetic evaluation on the ARGs, and store the result in the
12692 # global $as_val. Take advantage of shells that can avoid forks. The arguments
12693 # must be portable across $(()) and expr.
12694 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
12695 eval 'as_fn_arith ()
12702 as_val=`expr "$@" || test $? -eq 1`
12707 if expr a : '\(a\)' >/dev/null 2>&1 &&
12708 test "X`expr 00001 : '.*\(...\)'`" = X001; then
12714 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
12715 as_basename=basename
12720 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
12726 as_me=`$as_basename -- "$0" ||
12727 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
12728 X"$0" : 'X\(//\)$' \| \
12729 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
12731 sed '/^.*\/\([^/][^/]*\)\/*$/{
12745 # Avoid depending upon Character Ranges.
12746 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
12747 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
12748 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
12749 as_cr_digits='0123456789'
12750 as_cr_alnum=$as_cr_Letters$as_cr_digits
12752 ECHO_C= ECHO_N= ECHO_T=
12753 case `echo -n x` in #(((((
12755 case `echo 'xy\c'` in
12756 *c*) ECHO_T=' ';; # ECHO_T is single tab character.
12758 *) echo `echo ksh88 bug on AIX 6.1` > /dev/null
12765 rm -f conf$$ conf$$.exe conf$$.file
12766 if test -d conf$$.dir; then
12767 rm -f conf$$.dir/conf$$.file
12770 mkdir conf$$.dir 2>/dev/null
12772 if (echo >conf$$.file) 2>/dev/null; then
12773 if ln -s conf$$.file conf$$ 2>/dev/null; then
12775 # ... but there are two gotchas:
12776 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
12777 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
12778 # In both cases, we have to default to `cp -p'.
12779 ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
12781 elif ln conf$$.file conf$$ 2>/dev/null; then
12789 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
12790 rmdir conf$$.dir 2>/dev/null
12795 # Create "$as_dir" as a directory, including parents if necessary.
12800 -*) as_dir=./$as_dir;;
12802 test -d "$as_dir" || eval $as_mkdir_p || {
12806 *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
12807 *) as_qdir=$as_dir;;
12809 as_dirs="'$as_qdir' $as_dirs"
12810 as_dir=`$as_dirname -- "$as_dir" ||
12811 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
12812 X"$as_dir" : 'X\(//\)[^/]' \| \
12813 X"$as_dir" : 'X\(//\)$' \| \
12814 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
12815 $as_echo X"$as_dir" |
12816 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
12820 /^X\(\/\/\)[^/].*/{
12833 test -d "$as_dir" && break
12835 test -z "$as_dirs" || eval "mkdir $as_dirs"
12836 } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir"
12840 if mkdir -p . 2>/dev/null; then
12841 as_mkdir_p='mkdir -p "$as_dir"'
12843 test -d ./-p && rmdir ./-p
12847 if test -x / >/dev/null 2>&1; then
12848 as_test_x='test -x'
12850 if ls -dL / >/dev/null 2>&1; then
12857 if test -d "$1"; then
12863 case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in #((
12864 ???[sx]*):;;*)false;;esac;fi
12868 as_executable_p=$as_test_x
12870 # Sed expression to map a string onto a valid CPP name.
12871 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
12873 # Sed expression to map a string onto a valid variable name.
12874 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
12878 ## ----------------------------------- ##
12879 ## Main body of $CONFIG_STATUS script. ##
12880 ## ----------------------------------- ##
12882 test $as_write_fail = 0 && chmod +x $CONFIG_STATUS || ac_write_fail=1
12884 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
12885 # Save the log message, to keep $0 and so on meaningful, and to
12886 # report actual input values of CONFIG_FILES etc. instead of their
12887 # values after options handling.
12889 This file was extended by eb123 $as_me 0.5, which was
12890 generated by GNU Autoconf 2.68. Invocation command line was
12892 CONFIG_FILES = $CONFIG_FILES
12893 CONFIG_HEADERS = $CONFIG_HEADERS
12894 CONFIG_LINKS = $CONFIG_LINKS
12895 CONFIG_COMMANDS = $CONFIG_COMMANDS
12898 on `(hostname || uname -n) 2>/dev/null | sed 1q`
12903 case $ac_config_files in *"
12904 "*) set x $ac_config_files; shift; ac_config_files=$*;;
12907 case $ac_config_headers in *"
12908 "*) set x $ac_config_headers; shift; ac_config_headers=$*;;
12912 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
12913 # Files that config.status was made for.
12914 config_files="$ac_config_files"
12915 config_headers="$ac_config_headers"
12916 config_commands="$ac_config_commands"
12920 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
12922 \`$as_me' instantiates files and other configuration actions
12923 from templates according to the current configuration. Unless the files
12924 and actions are specified as TAGs, all are instantiated by default.
12926 Usage: $0 [OPTION]... [TAG]...
12928 -h, --help print this help, then exit
12929 -V, --version print version number and configuration settings, then exit
12930 --config print configuration, then exit
12931 -q, --quiet, --silent
12932 do not print progress messages
12933 -d, --debug don't remove temporary files
12934 --recheck update $as_me by reconfiguring in the same conditions
12935 --file=FILE[:TEMPLATE]
12936 instantiate the configuration file FILE
12937 --header=FILE[:TEMPLATE]
12938 instantiate the configuration header FILE
12940 Configuration files:
12943 Configuration headers:
12946 Configuration commands:
12949 Report bugs to <evgeny@sourceforge.jp>."
12952 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
12953 ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`"
12955 eb123 config.status 0.5
12956 configured by $0, generated by GNU Autoconf 2.68,
12957 with options \\"\$ac_cs_config\\"
12959 Copyright (C) 2010 Free Software Foundation, Inc.
12960 This config.status script is free software; the Free Software Foundation
12961 gives unlimited permission to copy, distribute and modify it."
12968 test -n "\$AWK" || AWK=awk
12971 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
12972 # The default lists apply if the user does not specify any file.
12978 ac_option=`expr "X$1" : 'X\([^=]*\)='`
12979 ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'`
12983 ac_option=`expr "X$1" : 'X\([^=]*\)='`
12995 # Handling of the options.
12996 -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
12998 --version | --versio | --versi | --vers | --ver | --ve | --v | -V )
12999 $as_echo "$ac_cs_version"; exit ;;
13000 --config | --confi | --conf | --con | --co | --c )
13001 $as_echo "$ac_cs_config"; exit ;;
13002 --debug | --debu | --deb | --de | --d | -d )
13004 --file | --fil | --fi | --f )
13007 *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
13008 '') as_fn_error $? "missing file argument" ;;
13010 as_fn_append CONFIG_FILES " '$ac_optarg'"
13011 ac_need_defaults=false;;
13012 --header | --heade | --head | --hea )
13015 *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
13017 as_fn_append CONFIG_HEADERS " '$ac_optarg'"
13018 ac_need_defaults=false;;
13020 # Conflict between --help and --header
13021 as_fn_error $? "ambiguous option: \`$1'
13022 Try \`$0 --help' for more information.";;
13023 --help | --hel | -h )
13024 $as_echo "$ac_cs_usage"; exit ;;
13025 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
13026 | -silent | --silent | --silen | --sile | --sil | --si | --s)
13029 # This is an error.
13030 -*) as_fn_error $? "unrecognized option: \`$1'
13031 Try \`$0 --help' for more information." ;;
13033 *) as_fn_append ac_config_targets " $1"
13034 ac_need_defaults=false ;;
13040 ac_configure_extra_args=
13042 if $ac_cs_silent; then
13044 ac_configure_extra_args="$ac_configure_extra_args --silent"
13048 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
13049 if \$ac_cs_recheck; then
13050 set X '$SHELL' '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
13052 \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6
13053 CONFIG_SHELL='$SHELL'
13054 export CONFIG_SHELL
13059 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
13063 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
13064 ## Running $as_me. ##
13070 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
13074 AMDEP_TRUE="$AMDEP_TRUE" ac_aux_dir="$ac_aux_dir"
13077 # The HP-UX ksh and POSIX shell print the target directory to stdout
13078 # if CDPATH is set.
13079 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
13081 sed_quote_subst='$sed_quote_subst'
13082 double_quote_subst='$double_quote_subst'
13083 delay_variable_subst='$delay_variable_subst'
13084 macro_version='`$ECHO "$macro_version" | $SED "$delay_single_quote_subst"`'
13085 macro_revision='`$ECHO "$macro_revision" | $SED "$delay_single_quote_subst"`'
13086 enable_shared='`$ECHO "$enable_shared" | $SED "$delay_single_quote_subst"`'
13087 enable_static='`$ECHO "$enable_static" | $SED "$delay_single_quote_subst"`'
13088 pic_mode='`$ECHO "$pic_mode" | $SED "$delay_single_quote_subst"`'
13089 enable_fast_install='`$ECHO "$enable_fast_install" | $SED "$delay_single_quote_subst"`'
13090 SHELL='`$ECHO "$SHELL" | $SED "$delay_single_quote_subst"`'
13091 ECHO='`$ECHO "$ECHO" | $SED "$delay_single_quote_subst"`'
13092 host_alias='`$ECHO "$host_alias" | $SED "$delay_single_quote_subst"`'
13093 host='`$ECHO "$host" | $SED "$delay_single_quote_subst"`'
13094 host_os='`$ECHO "$host_os" | $SED "$delay_single_quote_subst"`'
13095 build_alias='`$ECHO "$build_alias" | $SED "$delay_single_quote_subst"`'
13096 build='`$ECHO "$build" | $SED "$delay_single_quote_subst"`'
13097 build_os='`$ECHO "$build_os" | $SED "$delay_single_quote_subst"`'
13098 SED='`$ECHO "$SED" | $SED "$delay_single_quote_subst"`'
13099 Xsed='`$ECHO "$Xsed" | $SED "$delay_single_quote_subst"`'
13100 GREP='`$ECHO "$GREP" | $SED "$delay_single_quote_subst"`'
13101 EGREP='`$ECHO "$EGREP" | $SED "$delay_single_quote_subst"`'
13102 FGREP='`$ECHO "$FGREP" | $SED "$delay_single_quote_subst"`'
13103 LD='`$ECHO "$LD" | $SED "$delay_single_quote_subst"`'
13104 NM='`$ECHO "$NM" | $SED "$delay_single_quote_subst"`'
13105 LN_S='`$ECHO "$LN_S" | $SED "$delay_single_quote_subst"`'
13106 max_cmd_len='`$ECHO "$max_cmd_len" | $SED "$delay_single_quote_subst"`'
13107 ac_objext='`$ECHO "$ac_objext" | $SED "$delay_single_quote_subst"`'
13108 exeext='`$ECHO "$exeext" | $SED "$delay_single_quote_subst"`'
13109 lt_unset='`$ECHO "$lt_unset" | $SED "$delay_single_quote_subst"`'
13110 lt_SP2NL='`$ECHO "$lt_SP2NL" | $SED "$delay_single_quote_subst"`'
13111 lt_NL2SP='`$ECHO "$lt_NL2SP" | $SED "$delay_single_quote_subst"`'
13112 lt_cv_to_host_file_cmd='`$ECHO "$lt_cv_to_host_file_cmd" | $SED "$delay_single_quote_subst"`'
13113 lt_cv_to_tool_file_cmd='`$ECHO "$lt_cv_to_tool_file_cmd" | $SED "$delay_single_quote_subst"`'
13114 reload_flag='`$ECHO "$reload_flag" | $SED "$delay_single_quote_subst"`'
13115 reload_cmds='`$ECHO "$reload_cmds" | $SED "$delay_single_quote_subst"`'
13116 OBJDUMP='`$ECHO "$OBJDUMP" | $SED "$delay_single_quote_subst"`'
13117 deplibs_check_method='`$ECHO "$deplibs_check_method" | $SED "$delay_single_quote_subst"`'
13118 file_magic_cmd='`$ECHO "$file_magic_cmd" | $SED "$delay_single_quote_subst"`'
13119 file_magic_glob='`$ECHO "$file_magic_glob" | $SED "$delay_single_quote_subst"`'
13120 want_nocaseglob='`$ECHO "$want_nocaseglob" | $SED "$delay_single_quote_subst"`'
13121 DLLTOOL='`$ECHO "$DLLTOOL" | $SED "$delay_single_quote_subst"`'
13122 sharedlib_from_linklib_cmd='`$ECHO "$sharedlib_from_linklib_cmd" | $SED "$delay_single_quote_subst"`'
13123 AR='`$ECHO "$AR" | $SED "$delay_single_quote_subst"`'
13124 AR_FLAGS='`$ECHO "$AR_FLAGS" | $SED "$delay_single_quote_subst"`'
13125 archiver_list_spec='`$ECHO "$archiver_list_spec" | $SED "$delay_single_quote_subst"`'
13126 STRIP='`$ECHO "$STRIP" | $SED "$delay_single_quote_subst"`'
13127 RANLIB='`$ECHO "$RANLIB" | $SED "$delay_single_quote_subst"`'
13128 old_postinstall_cmds='`$ECHO "$old_postinstall_cmds" | $SED "$delay_single_quote_subst"`'
13129 old_postuninstall_cmds='`$ECHO "$old_postuninstall_cmds" | $SED "$delay_single_quote_subst"`'
13130 old_archive_cmds='`$ECHO "$old_archive_cmds" | $SED "$delay_single_quote_subst"`'
13131 lock_old_archive_extraction='`$ECHO "$lock_old_archive_extraction" | $SED "$delay_single_quote_subst"`'
13132 CC='`$ECHO "$CC" | $SED "$delay_single_quote_subst"`'
13133 CFLAGS='`$ECHO "$CFLAGS" | $SED "$delay_single_quote_subst"`'
13134 compiler='`$ECHO "$compiler" | $SED "$delay_single_quote_subst"`'
13135 GCC='`$ECHO "$GCC" | $SED "$delay_single_quote_subst"`'
13136 lt_cv_sys_global_symbol_pipe='`$ECHO "$lt_cv_sys_global_symbol_pipe" | $SED "$delay_single_quote_subst"`'
13137 lt_cv_sys_global_symbol_to_cdecl='`$ECHO "$lt_cv_sys_global_symbol_to_cdecl" | $SED "$delay_single_quote_subst"`'
13138 lt_cv_sys_global_symbol_to_c_name_address='`$ECHO "$lt_cv_sys_global_symbol_to_c_name_address" | $SED "$delay_single_quote_subst"`'
13139 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"`'
13140 nm_file_list_spec='`$ECHO "$nm_file_list_spec" | $SED "$delay_single_quote_subst"`'
13141 lt_sysroot='`$ECHO "$lt_sysroot" | $SED "$delay_single_quote_subst"`'
13142 objdir='`$ECHO "$objdir" | $SED "$delay_single_quote_subst"`'
13143 MAGIC_CMD='`$ECHO "$MAGIC_CMD" | $SED "$delay_single_quote_subst"`'
13144 lt_prog_compiler_no_builtin_flag='`$ECHO "$lt_prog_compiler_no_builtin_flag" | $SED "$delay_single_quote_subst"`'
13145 lt_prog_compiler_pic='`$ECHO "$lt_prog_compiler_pic" | $SED "$delay_single_quote_subst"`'
13146 lt_prog_compiler_wl='`$ECHO "$lt_prog_compiler_wl" | $SED "$delay_single_quote_subst"`'
13147 lt_prog_compiler_static='`$ECHO "$lt_prog_compiler_static" | $SED "$delay_single_quote_subst"`'
13148 lt_cv_prog_compiler_c_o='`$ECHO "$lt_cv_prog_compiler_c_o" | $SED "$delay_single_quote_subst"`'
13149 need_locks='`$ECHO "$need_locks" | $SED "$delay_single_quote_subst"`'
13150 MANIFEST_TOOL='`$ECHO "$MANIFEST_TOOL" | $SED "$delay_single_quote_subst"`'
13151 DSYMUTIL='`$ECHO "$DSYMUTIL" | $SED "$delay_single_quote_subst"`'
13152 NMEDIT='`$ECHO "$NMEDIT" | $SED "$delay_single_quote_subst"`'
13153 LIPO='`$ECHO "$LIPO" | $SED "$delay_single_quote_subst"`'
13154 OTOOL='`$ECHO "$OTOOL" | $SED "$delay_single_quote_subst"`'
13155 OTOOL64='`$ECHO "$OTOOL64" | $SED "$delay_single_quote_subst"`'
13156 libext='`$ECHO "$libext" | $SED "$delay_single_quote_subst"`'
13157 shrext_cmds='`$ECHO "$shrext_cmds" | $SED "$delay_single_quote_subst"`'
13158 extract_expsyms_cmds='`$ECHO "$extract_expsyms_cmds" | $SED "$delay_single_quote_subst"`'
13159 archive_cmds_need_lc='`$ECHO "$archive_cmds_need_lc" | $SED "$delay_single_quote_subst"`'
13160 enable_shared_with_static_runtimes='`$ECHO "$enable_shared_with_static_runtimes" | $SED "$delay_single_quote_subst"`'
13161 export_dynamic_flag_spec='`$ECHO "$export_dynamic_flag_spec" | $SED "$delay_single_quote_subst"`'
13162 whole_archive_flag_spec='`$ECHO "$whole_archive_flag_spec" | $SED "$delay_single_quote_subst"`'
13163 compiler_needs_object='`$ECHO "$compiler_needs_object" | $SED "$delay_single_quote_subst"`'
13164 old_archive_from_new_cmds='`$ECHO "$old_archive_from_new_cmds" | $SED "$delay_single_quote_subst"`'
13165 old_archive_from_expsyms_cmds='`$ECHO "$old_archive_from_expsyms_cmds" | $SED "$delay_single_quote_subst"`'
13166 archive_cmds='`$ECHO "$archive_cmds" | $SED "$delay_single_quote_subst"`'
13167 archive_expsym_cmds='`$ECHO "$archive_expsym_cmds" | $SED "$delay_single_quote_subst"`'
13168 module_cmds='`$ECHO "$module_cmds" | $SED "$delay_single_quote_subst"`'
13169 module_expsym_cmds='`$ECHO "$module_expsym_cmds" | $SED "$delay_single_quote_subst"`'
13170 with_gnu_ld='`$ECHO "$with_gnu_ld" | $SED "$delay_single_quote_subst"`'
13171 allow_undefined_flag='`$ECHO "$allow_undefined_flag" | $SED "$delay_single_quote_subst"`'
13172 no_undefined_flag='`$ECHO "$no_undefined_flag" | $SED "$delay_single_quote_subst"`'
13173 hardcode_libdir_flag_spec='`$ECHO "$hardcode_libdir_flag_spec" | $SED "$delay_single_quote_subst"`'
13174 hardcode_libdir_flag_spec_ld='`$ECHO "$hardcode_libdir_flag_spec_ld" | $SED "$delay_single_quote_subst"`'
13175 hardcode_libdir_separator='`$ECHO "$hardcode_libdir_separator" | $SED "$delay_single_quote_subst"`'
13176 hardcode_direct='`$ECHO "$hardcode_direct" | $SED "$delay_single_quote_subst"`'
13177 hardcode_direct_absolute='`$ECHO "$hardcode_direct_absolute" | $SED "$delay_single_quote_subst"`'
13178 hardcode_minus_L='`$ECHO "$hardcode_minus_L" | $SED "$delay_single_quote_subst"`'
13179 hardcode_shlibpath_var='`$ECHO "$hardcode_shlibpath_var" | $SED "$delay_single_quote_subst"`'
13180 hardcode_automatic='`$ECHO "$hardcode_automatic" | $SED "$delay_single_quote_subst"`'
13181 inherit_rpath='`$ECHO "$inherit_rpath" | $SED "$delay_single_quote_subst"`'
13182 link_all_deplibs='`$ECHO "$link_all_deplibs" | $SED "$delay_single_quote_subst"`'
13183 always_export_symbols='`$ECHO "$always_export_symbols" | $SED "$delay_single_quote_subst"`'
13184 export_symbols_cmds='`$ECHO "$export_symbols_cmds" | $SED "$delay_single_quote_subst"`'
13185 exclude_expsyms='`$ECHO "$exclude_expsyms" | $SED "$delay_single_quote_subst"`'
13186 include_expsyms='`$ECHO "$include_expsyms" | $SED "$delay_single_quote_subst"`'
13187 prelink_cmds='`$ECHO "$prelink_cmds" | $SED "$delay_single_quote_subst"`'
13188 postlink_cmds='`$ECHO "$postlink_cmds" | $SED "$delay_single_quote_subst"`'
13189 file_list_spec='`$ECHO "$file_list_spec" | $SED "$delay_single_quote_subst"`'
13190 variables_saved_for_relink='`$ECHO "$variables_saved_for_relink" | $SED "$delay_single_quote_subst"`'
13191 need_lib_prefix='`$ECHO "$need_lib_prefix" | $SED "$delay_single_quote_subst"`'
13192 need_version='`$ECHO "$need_version" | $SED "$delay_single_quote_subst"`'
13193 version_type='`$ECHO "$version_type" | $SED "$delay_single_quote_subst"`'
13194 runpath_var='`$ECHO "$runpath_var" | $SED "$delay_single_quote_subst"`'
13195 shlibpath_var='`$ECHO "$shlibpath_var" | $SED "$delay_single_quote_subst"`'
13196 shlibpath_overrides_runpath='`$ECHO "$shlibpath_overrides_runpath" | $SED "$delay_single_quote_subst"`'
13197 libname_spec='`$ECHO "$libname_spec" | $SED "$delay_single_quote_subst"`'
13198 library_names_spec='`$ECHO "$library_names_spec" | $SED "$delay_single_quote_subst"`'
13199 soname_spec='`$ECHO "$soname_spec" | $SED "$delay_single_quote_subst"`'
13200 install_override_mode='`$ECHO "$install_override_mode" | $SED "$delay_single_quote_subst"`'
13201 postinstall_cmds='`$ECHO "$postinstall_cmds" | $SED "$delay_single_quote_subst"`'
13202 postuninstall_cmds='`$ECHO "$postuninstall_cmds" | $SED "$delay_single_quote_subst"`'
13203 finish_cmds='`$ECHO "$finish_cmds" | $SED "$delay_single_quote_subst"`'
13204 finish_eval='`$ECHO "$finish_eval" | $SED "$delay_single_quote_subst"`'
13205 hardcode_into_libs='`$ECHO "$hardcode_into_libs" | $SED "$delay_single_quote_subst"`'
13206 sys_lib_search_path_spec='`$ECHO "$sys_lib_search_path_spec" | $SED "$delay_single_quote_subst"`'
13207 sys_lib_dlsearch_path_spec='`$ECHO "$sys_lib_dlsearch_path_spec" | $SED "$delay_single_quote_subst"`'
13208 hardcode_action='`$ECHO "$hardcode_action" | $SED "$delay_single_quote_subst"`'
13209 enable_dlopen='`$ECHO "$enable_dlopen" | $SED "$delay_single_quote_subst"`'
13210 enable_dlopen_self='`$ECHO "$enable_dlopen_self" | $SED "$delay_single_quote_subst"`'
13211 enable_dlopen_self_static='`$ECHO "$enable_dlopen_self_static" | $SED "$delay_single_quote_subst"`'
13212 old_striplib='`$ECHO "$old_striplib" | $SED "$delay_single_quote_subst"`'
13213 striplib='`$ECHO "$striplib" | $SED "$delay_single_quote_subst"`'
13216 LTCFLAGS='$LTCFLAGS'
13217 compiler='$compiler_DEFAULT'
13219 # A function that is used when there is no print builtin or printf.
13220 func_fallback_echo ()
13222 eval 'cat <<_LTECHO_EOF
13227 # Quote evaled strings.
13241 deplibs_check_method \
13246 sharedlib_from_linklib_cmd \
13249 archiver_list_spec \
13255 lt_cv_sys_global_symbol_pipe \
13256 lt_cv_sys_global_symbol_to_cdecl \
13257 lt_cv_sys_global_symbol_to_c_name_address \
13258 lt_cv_sys_global_symbol_to_c_name_address_lib_prefix \
13259 nm_file_list_spec \
13260 lt_prog_compiler_no_builtin_flag \
13261 lt_prog_compiler_pic \
13262 lt_prog_compiler_wl \
13263 lt_prog_compiler_static \
13264 lt_cv_prog_compiler_c_o \
13273 export_dynamic_flag_spec \
13274 whole_archive_flag_spec \
13275 compiler_needs_object \
13277 allow_undefined_flag \
13278 no_undefined_flag \
13279 hardcode_libdir_flag_spec \
13280 hardcode_libdir_flag_spec_ld \
13281 hardcode_libdir_separator \
13285 variables_saved_for_relink \
13287 library_names_spec \
13289 install_override_mode \
13293 case \`eval \\\\\$ECHO \\\\""\\\\\$\$var"\\\\"\` in
13294 *[\\\\\\\`\\"\\\$]*)
13295 eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"\\\$\$var\\" | \\\$SED \\"\\\$sed_quote_subst\\"\\\`\\\\\\""
13298 eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
13303 # Double-quote double-evaled strings.
13304 for var in reload_cmds \
13305 old_postinstall_cmds \
13306 old_postuninstall_cmds \
13308 extract_expsyms_cmds \
13309 old_archive_from_new_cmds \
13310 old_archive_from_expsyms_cmds \
13312 archive_expsym_cmds \
13314 module_expsym_cmds \
13315 export_symbols_cmds \
13319 postuninstall_cmds \
13321 sys_lib_search_path_spec \
13322 sys_lib_dlsearch_path_spec; do
13323 case \`eval \\\\\$ECHO \\\\""\\\\\$\$var"\\\\"\` in
13324 *[\\\\\\\`\\"\\\$]*)
13325 eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"\\\$\$var\\" | \\\$SED -e \\"\\\$double_quote_subst\\" -e \\"\\\$sed_quote_subst\\" -e \\"\\\$delay_variable_subst\\"\\\`\\\\\\""
13328 eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
13333 ac_aux_dir='$ac_aux_dir'
13334 xsi_shell='$xsi_shell'
13335 lt_shell_append='$lt_shell_append'
13337 # See if we are running on zsh, and set the options which allow our
13338 # commands through without removal of \ escapes INIT.
13339 if test -n "\${ZSH_VERSION+set}" ; then
13340 setopt NO_GLOB_SUBST
13346 TIMESTAMP='$TIMESTAMP'
13355 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
13357 # Handling of arguments.
13358 for ac_config_target in $ac_config_targets
13360 case $ac_config_target in
13361 "config.h") CONFIG_HEADERS="$CONFIG_HEADERS config.h" ;;
13362 "depfiles") CONFIG_COMMANDS="$CONFIG_COMMANDS depfiles" ;;
13363 "libtool") CONFIG_COMMANDS="$CONFIG_COMMANDS libtool" ;;
13364 "Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;;
13365 "src/Makefile") CONFIG_FILES="$CONFIG_FILES src/Makefile" ;;
13367 *) as_fn_error $? "invalid argument: \`$ac_config_target'" "$LINENO" 5;;
13372 # If the user did not use the arguments to specify the items to instantiate,
13373 # then the envvar interface is used. Set only those that are not.
13374 # We use the long form for the default assignment because of an extremely
13375 # bizarre bug on SunOS 4.1.3.
13376 if $ac_need_defaults; then
13377 test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
13378 test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS=$config_headers
13379 test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS=$config_commands
13382 # Have a temporary directory for convenience. Make it in the build tree
13383 # simply because there is no reason against having it here, and in addition,
13384 # creating and moving files from /tmp can sometimes cause problems.
13385 # Hook for its removal unless debugging.
13386 # Note that there is a small window in which the directory will not be cleaned:
13387 # after its creation but before its name has been assigned to `$tmp'.
13391 trap 'exit_status=$?
13392 : "${ac_tmp:=$tmp}"
13393 { test ! -d "$ac_tmp" || rm -fr "$ac_tmp"; } && exit $exit_status
13395 trap 'as_fn_exit 1' 1 2 13 15
13397 # Create a (secure) tmp directory for tmp files.
13400 tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
13404 tmp=./conf$$-$RANDOM
13405 (umask 077 && mkdir "$tmp")
13406 } || as_fn_error $? "cannot create a temporary directory in ." "$LINENO" 5
13409 # Set up the scripts for CONFIG_FILES section.
13410 # No need to generate them if there are no CONFIG_FILES.
13411 # This happens for instance with `./config.status config.h'.
13412 if test -n "$CONFIG_FILES"; then
13415 ac_cr=`echo X | tr X '\015'`
13416 # On cygwin, bash can eat \r inside `` if the user requested igncr.
13417 # But we know of no other shell where ac_cr would be empty at this
13418 # point, so we can use a bashism as a fallback.
13419 if test "x$ac_cr" = x; then
13420 eval ac_cr=\$\'\\r\'
13422 ac_cs_awk_cr=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
13423 if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
13426 ac_cs_awk_cr=$ac_cr
13429 echo 'BEGIN {' >"$ac_tmp/subs1.awk" &&
13434 echo "cat >conf$$subs.awk <<_ACEOF" &&
13435 echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
13437 } >conf$$subs.sh ||
13438 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
13439 ac_delim_num=`echo "$ac_subst_vars" | grep -c '^'`
13441 for ac_last_try in false false false false false :; do
13442 . ./conf$$subs.sh ||
13443 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
13445 ac_delim_n=`sed -n "s/.*$ac_delim\$/X/p" conf$$subs.awk | grep -c X`
13446 if test $ac_delim_n = $ac_delim_num; then
13448 elif $ac_last_try; then
13449 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
13451 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
13454 rm -f conf$$subs.sh
13456 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
13457 cat >>"\$ac_tmp/subs1.awk" <<\\_ACAWK &&
13461 s/^/S["/; s/!.*/"]=/
13471 s/\(.\{148\}\)..*/\1/
13473 s/["\\]/\\&/g; s/^/"/; s/$/\\n"\\/
13478 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
13485 s/\(.\{148\}\)..*/\1/
13487 s/["\\]/\\&/g; s/^/"/; s/$/"/
13491 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
13496 ' <conf$$subs.awk | sed '
13501 ' >>$CONFIG_STATUS || ac_write_fail=1
13502 rm -f conf$$subs.awk
13503 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
13505 cat >>"\$ac_tmp/subs1.awk" <<_ACAWK &&
13506 for (key in S) S_is_set[key] = 1
13512 nfields = split(line, field, "@")
13514 len = length(field[1])
13515 for (i = 2; i < nfields; i++) {
13517 keylen = length(key)
13518 if (S_is_set[key]) {
13520 line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3)
13521 len += length(value) + length(field[++i])
13532 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
13533 if sed "s/$ac_cr//" < /dev/null > /dev/null 2>&1; then
13534 sed "s/$ac_cr\$//; s/$ac_cr/$ac_cs_awk_cr/g"
13537 fi < "$ac_tmp/subs1.awk" > "$ac_tmp/subs.awk" \
13538 || as_fn_error $? "could not setup config files machinery" "$LINENO" 5
13541 # VPATH may cause trouble with some makes, so we remove sole $(srcdir),
13542 # ${srcdir} and @srcdir@ entries from VPATH if srcdir is ".", strip leading and
13543 # trailing colons and then remove the whole line if VPATH becomes empty
13544 # (actually we leave an empty line to preserve line numbers).
13545 if test "x$srcdir" = x.; then
13546 ac_vpsub='/^[ ]*VPATH[ ]*=[ ]*/{
13564 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
13565 fi # test -n "$CONFIG_FILES"
13567 # Set up the scripts for CONFIG_HEADERS section.
13568 # No need to generate them if there are no CONFIG_HEADERS.
13569 # This happens for instance with `./config.status Makefile'.
13570 if test -n "$CONFIG_HEADERS"; then
13571 cat >"$ac_tmp/defines.awk" <<\_ACAWK ||
13575 # Transform confdefs.h into an awk script `defines.awk', embedded as
13576 # here-document in config.status, that substitutes the proper values into
13577 # config.h.in to produce config.h.
13579 # Create a delimiter string that does not exist in confdefs.h, to ease
13580 # handling of long lines.
13582 for ac_last_try in false false :; do
13583 ac_tt=`sed -n "/$ac_delim/p" confdefs.h`
13584 if test -z "$ac_tt"; then
13586 elif $ac_last_try; then
13587 as_fn_error $? "could not make $CONFIG_HEADERS" "$LINENO" 5
13589 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
13593 # For the awk script, D is an array of macro values keyed by name,
13594 # likewise P contains macro parameters if any. Preserve backslash
13595 # newline sequences.
13597 ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]*
13599 s/.\{148\}/&'"$ac_delim"'/g
13602 s/^[ ]*#[ ]*define[ ][ ]*/ /
13609 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\1"]="\2"\
13611 s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\1"]=" \2"/p
13615 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\1"]="\2"\
13616 D["\1"]=" \3\\\\\\n"\\/p
13618 s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\1"]=" \2\\\\\\n"\\/p
13623 s/.\{148\}/&'"$ac_delim"'/g
13628 s/["\\]/\\&/g; s/^/"/; s/$/"/p
13631 s/["\\]/\\&/g; s/^/"/; s/$/\\\\\\n"\\/p
13633 ' <confdefs.h | sed '
13634 s/'"$ac_delim"'/"\\\
13635 "/g' >>$CONFIG_STATUS || ac_write_fail=1
13637 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
13638 for (key in D) D_is_set[key] = 1
13641 /^[\t ]*#[\t ]*(define|undef)[\t ]+$ac_word_re([\t (]|\$)/ {
13643 split(line, arg, " ")
13644 if (arg[1] == "#") {
13648 defundef = substr(arg[1], 2)
13651 split(mac1, mac2, "(") #)
13653 prefix = substr(line, 1, index(line, defundef) - 1)
13654 if (D_is_set[macro]) {
13655 # Preserve the white space surrounding the "#".
13656 print prefix "define", macro P[macro] D[macro]
13659 # Replace #undef with comments. This is necessary, for example,
13660 # in the case of _POSIX_SOURCE, which is predefined and required
13661 # on some systems where configure will not decide to define it.
13662 if (defundef == "undef") {
13663 print "/*", prefix defundef, macro, "*/"
13671 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
13672 as_fn_error $? "could not setup config headers machinery" "$LINENO" 5
13673 fi # test -n "$CONFIG_HEADERS"
13676 eval set X " :F $CONFIG_FILES :H $CONFIG_HEADERS :C $CONFIG_COMMANDS"
13681 :[FHLC]) ac_mode=$ac_tag; continue;;
13683 case $ac_mode$ac_tag in
13685 :L* | :C*:*) as_fn_error $? "invalid tag \`$ac_tag'" "$LINENO" 5;;
13686 :[FH]-) ac_tag=-:-;;
13687 :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
13704 -) ac_f="$ac_tmp/stdin";;
13705 *) # Look for the file first in the build tree, then in the source tree
13706 # (if the path is not absolute). The absolute path cannot be DOS-style,
13707 # because $ac_f cannot contain `:'.
13711 *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
13713 as_fn_error 1 "cannot find input file: \`$ac_f'" "$LINENO" 5;;
13715 case $ac_f in *\'*) ac_f=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
13716 as_fn_append ac_file_inputs " '$ac_f'"
13719 # Let's still pretend it is `configure' which instantiates (i.e., don't
13720 # use $as_me), people would be surprised to read:
13721 # /* config.h. Generated by config.status. */
13722 configure_input='Generated from '`
13723 $as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
13725 if test x"$ac_file" != x-; then
13726 configure_input="$ac_file. $configure_input"
13727 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5
13728 $as_echo "$as_me: creating $ac_file" >&6;}
13730 # Neutralize special characters interpreted by sed in replacement strings.
13731 case $configure_input in #(
13732 *\&* | *\|* | *\\* )
13733 ac_sed_conf_input=`$as_echo "$configure_input" |
13734 sed 's/[\\\\&|]/\\\\&/g'`;; #(
13735 *) ac_sed_conf_input=$configure_input;;
13739 *:-:* | *:-) cat >"$ac_tmp/stdin" \
13740 || as_fn_error $? "could not create $ac_file" "$LINENO" 5 ;;
13745 ac_dir=`$as_dirname -- "$ac_file" ||
13746 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
13747 X"$ac_file" : 'X\(//\)[^/]' \| \
13748 X"$ac_file" : 'X\(//\)$' \| \
13749 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
13750 $as_echo X"$ac_file" |
13751 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
13755 /^X\(\/\/\)[^/].*/{
13768 as_dir="$ac_dir"; as_fn_mkdir_p
13772 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
13774 ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
13775 # A ".." for each directory in $ac_dir_suffix.
13776 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
13777 case $ac_top_builddir_sub in
13778 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
13779 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
13782 ac_abs_top_builddir=$ac_pwd
13783 ac_abs_builddir=$ac_pwd$ac_dir_suffix
13784 # for backward compatibility:
13785 ac_top_builddir=$ac_top_build_prefix
13788 .) # We are building in place.
13790 ac_top_srcdir=$ac_top_builddir_sub
13791 ac_abs_top_srcdir=$ac_pwd ;;
13792 [\\/]* | ?:[\\/]* ) # Absolute name.
13793 ac_srcdir=$srcdir$ac_dir_suffix;
13794 ac_top_srcdir=$srcdir
13795 ac_abs_top_srcdir=$srcdir ;;
13796 *) # Relative name.
13797 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
13798 ac_top_srcdir=$ac_top_build_prefix$srcdir
13799 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
13801 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
13811 [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
13812 *) ac_INSTALL=$ac_top_build_prefix$INSTALL ;;
13814 ac_MKDIR_P=$MKDIR_P
13816 [\\/$]* | ?:[\\/]* ) ;;
13817 */*) ac_MKDIR_P=$ac_top_build_prefix$MKDIR_P ;;
13821 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
13822 # If the template does not know about datarootdir, expand it.
13823 # FIXME: This hack should be removed a few years after 2.60.
13824 ac_datarootdir_hack=; ac_datarootdir_seen=
13835 case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in
13836 *datarootdir*) ac_datarootdir_seen=yes;;
13837 *@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*)
13838 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
13839 $as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
13841 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
13842 ac_datarootdir_hack='
13843 s&@datadir@&$datadir&g
13844 s&@docdir@&$docdir&g
13845 s&@infodir@&$infodir&g
13846 s&@localedir@&$localedir&g
13847 s&@mandir@&$mandir&g
13848 s&\\\${datarootdir}&$datarootdir&g' ;;
13852 # Neutralize VPATH when `$srcdir' = `.'.
13853 # Shell code in configure.ac might set extrasub.
13854 # FIXME: do we really want to maintain this feature?
13855 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
13856 ac_sed_extra="$ac_vpsub
13859 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
13861 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
13862 s|@configure_input@|$ac_sed_conf_input|;t t
13863 s&@top_builddir@&$ac_top_builddir_sub&;t t
13864 s&@top_build_prefix@&$ac_top_build_prefix&;t t
13865 s&@srcdir@&$ac_srcdir&;t t
13866 s&@abs_srcdir@&$ac_abs_srcdir&;t t
13867 s&@top_srcdir@&$ac_top_srcdir&;t t
13868 s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t
13869 s&@builddir@&$ac_builddir&;t t
13870 s&@abs_builddir@&$ac_abs_builddir&;t t
13871 s&@abs_top_builddir@&$ac_abs_top_builddir&;t t
13872 s&@INSTALL@&$ac_INSTALL&;t t
13873 s&@MKDIR_P@&$ac_MKDIR_P&;t t
13874 $ac_datarootdir_hack
13876 eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$ac_tmp/subs.awk" \
13877 >$ac_tmp/out || as_fn_error $? "could not create $ac_file" "$LINENO" 5
13879 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
13880 { ac_out=`sed -n '/\${datarootdir}/p' "$ac_tmp/out"`; test -n "$ac_out"; } &&
13881 { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' \
13882 "$ac_tmp/out"`; test -z "$ac_out"; } &&
13883 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file contains a reference to the variable \`datarootdir'
13884 which seems to be undefined. Please make sure it is defined" >&5
13885 $as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir'
13886 which seems to be undefined. Please make sure it is defined" >&2;}
13888 rm -f "$ac_tmp/stdin"
13890 -) cat "$ac_tmp/out" && rm -f "$ac_tmp/out";;
13891 *) rm -f "$ac_file" && mv "$ac_tmp/out" "$ac_file";;
13893 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
13899 if test x"$ac_file" != x-; then
13901 $as_echo "/* $configure_input */" \
13902 && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs"
13903 } >"$ac_tmp/config.h" \
13904 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
13905 if diff "$ac_file" "$ac_tmp/config.h" >/dev/null 2>&1; then
13906 { $as_echo "$as_me:${as_lineno-$LINENO}: $ac_file is unchanged" >&5
13907 $as_echo "$as_me: $ac_file is unchanged" >&6;}
13910 mv "$ac_tmp/config.h" "$ac_file" \
13911 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
13914 $as_echo "/* $configure_input */" \
13915 && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs" \
13916 || as_fn_error $? "could not create -" "$LINENO" 5
13918 # Compute "$ac_file"'s index in $config_headers.
13921 for _am_header in $config_headers :; do
13922 case $_am_header in
13923 $_am_arg | $_am_arg:* )
13926 _am_stamp_count=`expr $_am_stamp_count + 1` ;;
13929 echo "timestamp for $_am_arg" >`$as_dirname -- "$_am_arg" ||
13930 $as_expr X"$_am_arg" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
13931 X"$_am_arg" : 'X\(//\)[^/]' \| \
13932 X"$_am_arg" : 'X\(//\)$' \| \
13933 X"$_am_arg" : 'X\(/\)' \| . 2>/dev/null ||
13934 $as_echo X"$_am_arg" |
13935 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
13939 /^X\(\/\/\)[^/].*/{
13951 s/.*/./; q'`/stamp-h$_am_stamp_count
13954 :C) { $as_echo "$as_me:${as_lineno-$LINENO}: executing $ac_file commands" >&5
13955 $as_echo "$as_me: executing $ac_file commands" >&6;}
13960 case $ac_file$ac_mode in
13961 "depfiles":C) test x"$AMDEP_TRUE" != x"" || {
13962 # Autoconf 2.62 quotes --file arguments for eval, but not when files
13963 # are listed without --file. Let's play safe and only enable the eval
13964 # if we detect the quoting.
13965 case $CONFIG_FILES in
13966 *\'*) eval set x "$CONFIG_FILES" ;;
13967 *) set x $CONFIG_FILES ;;
13972 # Strip MF so we end up with the name of the file.
13973 mf=`echo "$mf" | sed -e 's/:.*$//'`
13974 # Check whether this is an Automake generated Makefile or not.
13975 # We used to match only the files named `Makefile.in', but
13976 # some people rename them; so instead we look at the file content.
13977 # Grep'ing the first line is not enough: some people post-process
13978 # each Makefile.in and add a new line on top of each file to say so.
13979 # Grep'ing the whole file is not good either: AIX grep has a line
13980 # limit of 2048, but all sed's we know have understand at least 4000.
13981 if sed -n 's,^#.*generated by automake.*,X,p' "$mf" | grep X >/dev/null 2>&1; then
13982 dirpart=`$as_dirname -- "$mf" ||
13983 $as_expr X"$mf" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
13984 X"$mf" : 'X\(//\)[^/]' \| \
13985 X"$mf" : 'X\(//\)$' \| \
13986 X"$mf" : 'X\(/\)' \| . 2>/dev/null ||
13988 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
13992 /^X\(\/\/\)[^/].*/{
14008 # Extract the definition of DEPDIR, am__include, and am__quote
14009 # from the Makefile without running `make'.
14010 DEPDIR=`sed -n 's/^DEPDIR = //p' < "$mf"`
14011 test -z "$DEPDIR" && continue
14012 am__include=`sed -n 's/^am__include = //p' < "$mf"`
14013 test -z "am__include" && continue
14014 am__quote=`sed -n 's/^am__quote = //p' < "$mf"`
14015 # When using ansi2knr, U may be empty or an underscore; expand it
14016 U=`sed -n 's/^U = //p' < "$mf"`
14017 # Find all dependency output files, they are included files with
14018 # $(DEPDIR) in their names. We invoke sed twice because it is the
14019 # simplest approach to changing $(DEPDIR) to its actual value in the
14021 for file in `sed -n "
14022 s/^$am__include $am__quote\(.*(DEPDIR).*\)$am__quote"'$/\1/p' <"$mf" | \
14023 sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g' -e 's/\$U/'"$U"'/g'`; do
14024 # Make sure the directory exists.
14025 test -f "$dirpart/$file" && continue
14026 fdir=`$as_dirname -- "$file" ||
14027 $as_expr X"$file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
14028 X"$file" : 'X\(//\)[^/]' \| \
14029 X"$file" : 'X\(//\)$' \| \
14030 X"$file" : 'X\(/\)' \| . 2>/dev/null ||
14031 $as_echo X"$file" |
14032 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
14036 /^X\(\/\/\)[^/].*/{
14049 as_dir=$dirpart/$fdir; as_fn_mkdir_p
14050 # echo "creating $dirpart/$file"
14051 echo '# dummy' > "$dirpart/$file"
14058 # See if we are running on zsh, and set the options which allow our
14059 # commands through without removal of \ escapes.
14060 if test -n "${ZSH_VERSION+set}" ; then
14061 setopt NO_GLOB_SUBST
14064 cfgfile="${ofile}T"
14065 trap "$RM \"$cfgfile\"; exit 1" 1 2 15
14068 cat <<_LT_EOF >> "$cfgfile"
14071 # `$ECHO "$ofile" | sed 's%^.*/%%'` - Provide generalized library-building support services.
14072 # Generated automatically by $as_me ($PACKAGE$TIMESTAMP) $VERSION
14073 # Libtool was configured on host `(hostname || uname -n) 2>/dev/null | sed 1q`:
14074 # NOTE: Changes made to this file will be lost: look at ltmain.sh.
14076 # Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2003, 2004, 2005,
14077 # 2006, 2007, 2008, 2009, 2010 Free Software Foundation,
14079 # Written by Gordon Matzigkeit, 1996
14081 # This file is part of GNU Libtool.
14083 # GNU Libtool is free software; you can redistribute it and/or
14084 # modify it under the terms of the GNU General Public License as
14085 # published by the Free Software Foundation; either version 2 of
14086 # the License, or (at your option) any later version.
14088 # As a special exception to the GNU General Public License,
14089 # if you distribute this file as part of a program or library that
14090 # is built using GNU Libtool, you may include this file under the
14091 # same distribution terms that you use for the rest of that program.
14093 # GNU Libtool is distributed in the hope that it will be useful,
14094 # but WITHOUT ANY WARRANTY; without even the implied warranty of
14095 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
14096 # GNU General Public License for more details.
14098 # You should have received a copy of the GNU General Public License
14099 # along with GNU Libtool; see the file COPYING. If not, a copy
14100 # can be downloaded from http://www.gnu.org/licenses/gpl.html, or
14101 # obtained by writing to the Free Software Foundation, Inc.,
14102 # 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
14105 # The names of the tagged configurations supported by this script.
14108 # ### BEGIN LIBTOOL CONFIG
14110 # Which release of libtool.m4 was used?
14111 macro_version=$macro_version
14112 macro_revision=$macro_revision
14114 # Whether or not to build shared libraries.
14115 build_libtool_libs=$enable_shared
14117 # Whether or not to build static libraries.
14118 build_old_libs=$enable_static
14120 # What type of objects to build.
14123 # Whether or not to optimize for fast installation.
14124 fast_install=$enable_fast_install
14126 # Shell to use when invoking shell scripts.
14129 # An echo program that protects backslashes.
14133 host_alias=$host_alias
14137 # The build system.
14138 build_alias=$build_alias
14142 # A sed program that does not truncate output.
14145 # Sed that helps us avoid accidentally triggering echo(1) options like -n.
14146 Xsed="\$SED -e 1s/^X//"
14148 # A grep program that handles long lines.
14154 # A literal string matcher.
14157 # A BSD- or MS-compatible name lister.
14160 # Whether we need soft or hard links.
14163 # What is the maximum length of a command?
14164 max_cmd_len=$max_cmd_len
14166 # Object file suffix (normally "o").
14169 # Executable file suffix (normally "").
14172 # whether the shell understands "unset".
14175 # turn spaces into newlines.
14178 # turn newlines into spaces.
14181 # convert \$build file names to \$host format.
14182 to_host_file_cmd=$lt_cv_to_host_file_cmd
14184 # convert \$build files to toolchain format.
14185 to_tool_file_cmd=$lt_cv_to_tool_file_cmd
14187 # An object symbol dumper.
14188 OBJDUMP=$lt_OBJDUMP
14190 # Method to check whether dependent libraries are shared objects.
14191 deplibs_check_method=$lt_deplibs_check_method
14193 # Command to use when deplibs_check_method = "file_magic".
14194 file_magic_cmd=$lt_file_magic_cmd
14196 # How to find potential files when deplibs_check_method = "file_magic".
14197 file_magic_glob=$lt_file_magic_glob
14199 # Find potential files using nocaseglob when deplibs_check_method = "file_magic".
14200 want_nocaseglob=$lt_want_nocaseglob
14202 # DLL creation program.
14203 DLLTOOL=$lt_DLLTOOL
14205 # Command to associate shared and link libraries.
14206 sharedlib_from_linklib_cmd=$lt_sharedlib_from_linklib_cmd
14211 # Flags to create an archive.
14212 AR_FLAGS=$lt_AR_FLAGS
14214 # How to feed a file listing to the archiver.
14215 archiver_list_spec=$lt_archiver_list_spec
14217 # A symbol stripping program.
14220 # Commands used to install an old-style archive.
14222 old_postinstall_cmds=$lt_old_postinstall_cmds
14223 old_postuninstall_cmds=$lt_old_postuninstall_cmds
14225 # Whether to use a lock for old archive extraction.
14226 lock_old_archive_extraction=$lock_old_archive_extraction
14231 # LTCC compiler flags.
14232 LTCFLAGS=$lt_CFLAGS
14234 # Take the output of nm and produce a listing of raw symbols and C names.
14235 global_symbol_pipe=$lt_lt_cv_sys_global_symbol_pipe
14237 # Transform the output of nm in a proper C declaration.
14238 global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl
14240 # Transform the output of nm in a C name address pair.
14241 global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address
14243 # Transform the output of nm in a C name address pair when lib prefix is needed.
14244 global_symbol_to_c_name_address_lib_prefix=$lt_lt_cv_sys_global_symbol_to_c_name_address_lib_prefix
14246 # Specify filename containing input files for \$NM.
14247 nm_file_list_spec=$lt_nm_file_list_spec
14249 # The root where to search for dependent libraries,and in which our libraries should be installed.
14250 lt_sysroot=$lt_sysroot
14252 # The name of the directory that contains temporary libtool files.
14255 # Used to examine libraries when file_magic_cmd begins with "file".
14256 MAGIC_CMD=$MAGIC_CMD
14258 # Must we lock files when doing compilation?
14259 need_locks=$lt_need_locks
14262 MANIFEST_TOOL=$lt_MANIFEST_TOOL
14264 # Tool to manipulate archived DWARF debug symbol files on Mac OS X.
14265 DSYMUTIL=$lt_DSYMUTIL
14267 # Tool to change global to local symbols on Mac OS X.
14270 # Tool to manipulate fat objects and archives on Mac OS X.
14273 # ldd/readelf like tool for Mach-O binaries on Mac OS X.
14276 # ldd/readelf like tool for 64 bit Mach-O binaries on Mac OS X 10.4.
14277 OTOOL64=$lt_OTOOL64
14279 # Old archive suffix (normally "a").
14282 # Shared library suffix (normally ".so").
14283 shrext_cmds=$lt_shrext_cmds
14285 # The commands to extract the exported symbol list from a shared archive.
14286 extract_expsyms_cmds=$lt_extract_expsyms_cmds
14288 # Variables whose values should be saved in libtool wrapper scripts and
14289 # restored at link time.
14290 variables_saved_for_relink=$lt_variables_saved_for_relink
14292 # Do we need the "lib" prefix for modules?
14293 need_lib_prefix=$need_lib_prefix
14295 # Do we need a version for libraries?
14296 need_version=$need_version
14298 # Library versioning type.
14299 version_type=$version_type
14301 # Shared library runtime path variable.
14302 runpath_var=$runpath_var
14304 # Shared library path variable.
14305 shlibpath_var=$shlibpath_var
14307 # Is shlibpath searched before the hard-coded library search path?
14308 shlibpath_overrides_runpath=$shlibpath_overrides_runpath
14310 # Format of library name prefix.
14311 libname_spec=$lt_libname_spec
14313 # List of archive names. First name is the real one, the rest are links.
14314 # The last name is the one that the linker finds with -lNAME
14315 library_names_spec=$lt_library_names_spec
14317 # The coded name of the library, if different from the real name.
14318 soname_spec=$lt_soname_spec
14320 # Permission mode override for installation of shared libraries.
14321 install_override_mode=$lt_install_override_mode
14323 # Command to use after installation of a shared archive.
14324 postinstall_cmds=$lt_postinstall_cmds
14326 # Command to use after uninstallation of a shared archive.
14327 postuninstall_cmds=$lt_postuninstall_cmds
14329 # Commands used to finish a libtool library installation in a directory.
14330 finish_cmds=$lt_finish_cmds
14332 # As "finish_cmds", except a single script fragment to be evaled but
14334 finish_eval=$lt_finish_eval
14336 # Whether we should hardcode library paths into libraries.
14337 hardcode_into_libs=$hardcode_into_libs
14339 # Compile-time system search path for libraries.
14340 sys_lib_search_path_spec=$lt_sys_lib_search_path_spec
14342 # Run-time system search path for libraries.
14343 sys_lib_dlsearch_path_spec=$lt_sys_lib_dlsearch_path_spec
14345 # Whether dlopen is supported.
14346 dlopen_support=$enable_dlopen
14348 # Whether dlopen of programs is supported.
14349 dlopen_self=$enable_dlopen_self
14351 # Whether dlopen of statically linked programs is supported.
14352 dlopen_self_static=$enable_dlopen_self_static
14354 # Commands to strip libraries.
14355 old_striplib=$lt_old_striplib
14356 striplib=$lt_striplib
14359 # The linker used to build libraries.
14362 # How to create reloadable object files.
14363 reload_flag=$lt_reload_flag
14364 reload_cmds=$lt_reload_cmds
14366 # Commands used to build an old-style archive.
14367 old_archive_cmds=$lt_old_archive_cmds
14369 # A language specific compiler.
14372 # Is the compiler the GNU compiler?
14375 # Compiler flag to turn off builtin functions.
14376 no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag
14378 # Additional compiler flags for building library objects.
14379 pic_flag=$lt_lt_prog_compiler_pic
14381 # How to pass a linker flag through the compiler.
14382 wl=$lt_lt_prog_compiler_wl
14384 # Compiler flag to prevent dynamic linking.
14385 link_static_flag=$lt_lt_prog_compiler_static
14387 # Does compiler simultaneously support -c and -o options?
14388 compiler_c_o=$lt_lt_cv_prog_compiler_c_o
14390 # Whether or not to add -lc for building shared libraries.
14391 build_libtool_need_lc=$archive_cmds_need_lc
14393 # Whether or not to disallow shared libs when runtime libs are static.
14394 allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes
14396 # Compiler flag to allow reflexive dlopens.
14397 export_dynamic_flag_spec=$lt_export_dynamic_flag_spec
14399 # Compiler flag to generate shared objects directly from archives.
14400 whole_archive_flag_spec=$lt_whole_archive_flag_spec
14402 # Whether the compiler copes with passing no objects directly.
14403 compiler_needs_object=$lt_compiler_needs_object
14405 # Create an old-style archive from a shared archive.
14406 old_archive_from_new_cmds=$lt_old_archive_from_new_cmds
14408 # Create a temporary old-style archive to link instead of a shared archive.
14409 old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds
14411 # Commands used to build a shared archive.
14412 archive_cmds=$lt_archive_cmds
14413 archive_expsym_cmds=$lt_archive_expsym_cmds
14415 # Commands used to build a loadable module if different from building
14416 # a shared archive.
14417 module_cmds=$lt_module_cmds
14418 module_expsym_cmds=$lt_module_expsym_cmds
14420 # Whether we are building with GNU ld or not.
14421 with_gnu_ld=$lt_with_gnu_ld
14423 # Flag that allows shared libraries with undefined symbols to be built.
14424 allow_undefined_flag=$lt_allow_undefined_flag
14426 # Flag that enforces no undefined symbols.
14427 no_undefined_flag=$lt_no_undefined_flag
14429 # Flag to hardcode \$libdir into a binary during linking.
14430 # This must work even if \$libdir does not exist
14431 hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec
14433 # If ld is used when linking, flag to hardcode \$libdir into a binary
14434 # during linking. This must work even if \$libdir does not exist.
14435 hardcode_libdir_flag_spec_ld=$lt_hardcode_libdir_flag_spec_ld
14437 # Whether we need a single "-rpath" flag with a separated argument.
14438 hardcode_libdir_separator=$lt_hardcode_libdir_separator
14440 # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
14441 # DIR into the resulting binary.
14442 hardcode_direct=$hardcode_direct
14444 # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
14445 # DIR into the resulting binary and the resulting library dependency is
14446 # "absolute",i.e impossible to change by setting \${shlibpath_var} if the
14447 # library is relocated.
14448 hardcode_direct_absolute=$hardcode_direct_absolute
14450 # Set to "yes" if using the -LDIR flag during linking hardcodes DIR
14451 # into the resulting binary.
14452 hardcode_minus_L=$hardcode_minus_L
14454 # Set to "yes" if using SHLIBPATH_VAR=DIR during linking hardcodes DIR
14455 # into the resulting binary.
14456 hardcode_shlibpath_var=$hardcode_shlibpath_var
14458 # Set to "yes" if building a shared library automatically hardcodes DIR
14459 # into the library and all subsequent libraries and executables linked
14461 hardcode_automatic=$hardcode_automatic
14463 # Set to yes if linker adds runtime paths of dependent libraries
14464 # to runtime path list.
14465 inherit_rpath=$inherit_rpath
14467 # Whether libtool must link a program against all its dependency libraries.
14468 link_all_deplibs=$link_all_deplibs
14470 # Set to "yes" if exported symbols are required.
14471 always_export_symbols=$always_export_symbols
14473 # The commands to list exported symbols.
14474 export_symbols_cmds=$lt_export_symbols_cmds
14476 # Symbols that should not be listed in the preloaded symbols.
14477 exclude_expsyms=$lt_exclude_expsyms
14479 # Symbols that must always be exported.
14480 include_expsyms=$lt_include_expsyms
14482 # Commands necessary for linking programs (against libraries) with templates.
14483 prelink_cmds=$lt_prelink_cmds
14485 # Commands necessary for finishing linking programs.
14486 postlink_cmds=$lt_postlink_cmds
14488 # Specify filename containing input files.
14489 file_list_spec=$lt_file_list_spec
14491 # How to hardcode a shared library path into an executable.
14492 hardcode_action=$hardcode_action
14494 # ### END LIBTOOL CONFIG
14500 cat <<\_LT_EOF >> "$cfgfile"
14501 # AIX sometimes has problems with the GCC collect2 program. For some
14502 # reason, if we set the COLLECT_NAMES environment variable, the problems
14503 # vanish in a puff of smoke.
14504 if test "X${COLLECT_NAMES+set}" != Xset; then
14506 export COLLECT_NAMES
14513 ltmain="$ac_aux_dir/ltmain.sh"
14516 # We use sed instead of cat because bash on DJGPP gets confused if
14517 # if finds mixed CR/LF and LF-only lines. Since sed operates in
14518 # text mode, it properly converts lines to CR/LF. This bash problem
14519 # is reportedly fixed, but why not run on old versions too?
14520 sed '$q' "$ltmain" >> "$cfgfile" \
14521 || (rm -f "$cfgfile"; exit 1)
14523 if test x"$xsi_shell" = xyes; then
14524 sed -e '/^func_dirname ()$/,/^} # func_dirname /c\
14528 \ */*) func_dirname_result="${1%/*}${2}" ;;\
14529 \ * ) func_dirname_result="${3}" ;;\
14531 } # Extended-shell func_dirname implementation' "$cfgfile" > $cfgfile.tmp \
14532 && mv -f "$cfgfile.tmp" "$cfgfile" \
14533 || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
14534 test 0 -eq $? || _lt_function_replace_fail=:
14537 sed -e '/^func_basename ()$/,/^} # func_basename /c\
14540 \ func_basename_result="${1##*/}"\
14541 } # Extended-shell func_basename implementation' "$cfgfile" > $cfgfile.tmp \
14542 && mv -f "$cfgfile.tmp" "$cfgfile" \
14543 || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
14544 test 0 -eq $? || _lt_function_replace_fail=:
14547 sed -e '/^func_dirname_and_basename ()$/,/^} # func_dirname_and_basename /c\
14548 func_dirname_and_basename ()\
14551 \ */*) func_dirname_result="${1%/*}${2}" ;;\
14552 \ * ) func_dirname_result="${3}" ;;\
14554 \ func_basename_result="${1##*/}"\
14555 } # Extended-shell func_dirname_and_basename implementation' "$cfgfile" > $cfgfile.tmp \
14556 && mv -f "$cfgfile.tmp" "$cfgfile" \
14557 || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
14558 test 0 -eq $? || _lt_function_replace_fail=:
14561 sed -e '/^func_stripname ()$/,/^} # func_stripname /c\
14564 \ # pdksh 5.2.14 does not do ${X%$Y} correctly if both X and Y are\
14565 \ # positional parameters, so assign one to ordinary parameter first.\
14566 \ func_stripname_result=${3}\
14567 \ func_stripname_result=${func_stripname_result#"${1}"}\
14568 \ func_stripname_result=${func_stripname_result%"${2}"}\
14569 } # Extended-shell func_stripname implementation' "$cfgfile" > $cfgfile.tmp \
14570 && mv -f "$cfgfile.tmp" "$cfgfile" \
14571 || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
14572 test 0 -eq $? || _lt_function_replace_fail=:
14575 sed -e '/^func_split_long_opt ()$/,/^} # func_split_long_opt /c\
14576 func_split_long_opt ()\
14578 \ func_split_long_opt_name=${1%%=*}\
14579 \ func_split_long_opt_arg=${1#*=}\
14580 } # Extended-shell func_split_long_opt implementation' "$cfgfile" > $cfgfile.tmp \
14581 && mv -f "$cfgfile.tmp" "$cfgfile" \
14582 || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
14583 test 0 -eq $? || _lt_function_replace_fail=:
14586 sed -e '/^func_split_short_opt ()$/,/^} # func_split_short_opt /c\
14587 func_split_short_opt ()\
14589 \ func_split_short_opt_arg=${1#??}\
14590 \ func_split_short_opt_name=${1%"$func_split_short_opt_arg"}\
14591 } # Extended-shell func_split_short_opt implementation' "$cfgfile" > $cfgfile.tmp \
14592 && mv -f "$cfgfile.tmp" "$cfgfile" \
14593 || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
14594 test 0 -eq $? || _lt_function_replace_fail=:
14597 sed -e '/^func_lo2o ()$/,/^} # func_lo2o /c\
14601 \ *.lo) func_lo2o_result=${1%.lo}.${objext} ;;\
14602 \ *) func_lo2o_result=${1} ;;\
14604 } # Extended-shell func_lo2o implementation' "$cfgfile" > $cfgfile.tmp \
14605 && mv -f "$cfgfile.tmp" "$cfgfile" \
14606 || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
14607 test 0 -eq $? || _lt_function_replace_fail=:
14610 sed -e '/^func_xform ()$/,/^} # func_xform /c\
14613 func_xform_result=${1%.*}.lo\
14614 } # Extended-shell func_xform implementation' "$cfgfile" > $cfgfile.tmp \
14615 && mv -f "$cfgfile.tmp" "$cfgfile" \
14616 || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
14617 test 0 -eq $? || _lt_function_replace_fail=:
14620 sed -e '/^func_arith ()$/,/^} # func_arith /c\
14623 func_arith_result=$(( $* ))\
14624 } # Extended-shell func_arith implementation' "$cfgfile" > $cfgfile.tmp \
14625 && mv -f "$cfgfile.tmp" "$cfgfile" \
14626 || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
14627 test 0 -eq $? || _lt_function_replace_fail=:
14630 sed -e '/^func_len ()$/,/^} # func_len /c\
14633 func_len_result=${#1}\
14634 } # Extended-shell func_len implementation' "$cfgfile" > $cfgfile.tmp \
14635 && mv -f "$cfgfile.tmp" "$cfgfile" \
14636 || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
14637 test 0 -eq $? || _lt_function_replace_fail=:
14641 if test x"$lt_shell_append" = xyes; then
14642 sed -e '/^func_append ()$/,/^} # func_append /c\
14645 eval "${1}+=\\${2}"\
14646 } # Extended-shell func_append implementation' "$cfgfile" > $cfgfile.tmp \
14647 && mv -f "$cfgfile.tmp" "$cfgfile" \
14648 || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
14649 test 0 -eq $? || _lt_function_replace_fail=:
14652 sed -e '/^func_append_quoted ()$/,/^} # func_append_quoted /c\
14653 func_append_quoted ()\
14655 \ func_quote_for_eval "${2}"\
14656 \ eval "${1}+=\\\\ \\$func_quote_for_eval_result"\
14657 } # Extended-shell func_append_quoted implementation' "$cfgfile" > $cfgfile.tmp \
14658 && mv -f "$cfgfile.tmp" "$cfgfile" \
14659 || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
14660 test 0 -eq $? || _lt_function_replace_fail=:
14663 # Save a `func_append' function call where possible by direct use of '+='
14664 sed -e 's%func_append \([a-zA-Z_]\{1,\}\) "%\1+="%g' $cfgfile > $cfgfile.tmp \
14665 && mv -f "$cfgfile.tmp" "$cfgfile" \
14666 || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
14667 test 0 -eq $? || _lt_function_replace_fail=:
14669 # Save a `func_append' function call even when '+=' is not available
14670 sed -e 's%func_append \([a-zA-Z_]\{1,\}\) "%\1="$\1%g' $cfgfile > $cfgfile.tmp \
14671 && mv -f "$cfgfile.tmp" "$cfgfile" \
14672 || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
14673 test 0 -eq $? || _lt_function_replace_fail=:
14676 if test x"$_lt_function_replace_fail" = x":"; then
14677 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Unable to substitute extended shell functions in $ofile" >&5
14678 $as_echo "$as_me: WARNING: Unable to substitute extended shell functions in $ofile" >&2;}
14682 mv -f "$cfgfile" "$ofile" ||
14683 (rm -f "$ofile" && cp "$cfgfile" "$ofile" && rm -f "$cfgfile")
14694 ac_clean_files=$ac_clean_files_save
14696 test $ac_write_fail = 0 ||
14697 as_fn_error $? "write failure creating $CONFIG_STATUS" "$LINENO" 5
14700 # configure is writing to config.log, and then calls config.status.
14701 # config.status does its own redirection, appending to config.log.
14702 # Unfortunately, on DOS this fails, as config.log is still kept open
14703 # by configure, so config.status won't be able to write to it; its
14704 # output is simply discarded. So we exec the FD to /dev/null,
14705 # effectively closing config.log, so it can be properly (re)opened and
14706 # appended to by config.status. When coming back to configure, we
14707 # need to make the FD available again.
14708 if test "$no_create" != yes; then
14710 ac_config_status_args=
14711 test "$silent" = yes &&
14712 ac_config_status_args="$ac_config_status_args --quiet"
14714 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
14716 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
14717 # would make configure fail if this is the last instruction.
14718 $ac_cs_success || as_fn_exit 1
14720 if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no; then
14721 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
14722 $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}