2 # Guess values for system-dependent variables and create Makefiles.
3 # Generated by GNU Autoconf 2.68 for eio 1.7.2.
5 # Report bugs to <enlightenment-devel@lists.sourceforge.net>.
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
177 test \$(( 1 + 1 )) = 2 || exit 1
179 test -n \"\${ZSH_VERSION+set}\${BASH_VERSION+set}\" || (
180 ECHO='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
181 ECHO=\$ECHO\$ECHO\$ECHO\$ECHO\$ECHO
182 ECHO=\$ECHO\$ECHO\$ECHO\$ECHO\$ECHO\$ECHO
183 PATH=/empty FPATH=/empty; export PATH FPATH
184 test \"X\`printf %s \$ECHO\`\" = \"X\$ECHO\" \\
185 || test \"X\`print -r -- \$ECHO\`\" = \"X\$ECHO\" ) || 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: enlightenment-devel@lists.sourceforge.net about your
251 $0: system, including any error possibly output before this
252 $0: message. Then install a modern shell, or manually run
253 $0: the script under such a 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='eio'
573 PACKAGE_VERSION='1.7.2'
574 PACKAGE_STRING='eio 1.7.2'
575 PACKAGE_BUGREPORT='enlightenment-devel@lists.sourceforge.net'
578 ac_unique_file="configure.ac"
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
619 EFL_INSTALL_EXAMPLES_FALSE
620 EFL_INSTALL_EXAMPLES_TRUE
621 EFL_BUILD_EXAMPLES_FALSE
622 EFL_BUILD_EXAMPLES_TRUE
623 EIO_HAVE_WINCHANGE_FALSE
624 EIO_HAVE_WINCHANGE_TRUE
625 EIO_HAVE_INOTIFY_FALSE
626 EIO_HAVE_INOTIFY_TRUE
627 lt_enable_auto_import
638 pkgconfig_requires_private
705 INSTALL_STRIP_PROGRAM
747 program_transform_name
760 enable_option_checking
762 enable_dependency_tracking
778 enable_build_examples
779 enable_install_examples
781 ac_precious_vars='build_alias
797 # Initialize some variables set by options.
799 ac_init_version=false
800 ac_unrecognized_opts=
802 # The variables have the same names as the options, with
803 # dashes changed to underlines.
811 program_transform_name=s,x,x,
819 # Installation directory options.
820 # These are left unexpanded so users can "make install exec_prefix=/foo"
821 # and all the variables that are supposed to be based on exec_prefix
822 # by default will actually change.
823 # Use braces instead of parens because sh, perl, etc. also accept them.
824 # (The list follows the same order as the GNU Coding Standards.)
825 bindir='${exec_prefix}/bin'
826 sbindir='${exec_prefix}/sbin'
827 libexecdir='${exec_prefix}/libexec'
828 datarootdir='${prefix}/share'
829 datadir='${datarootdir}'
830 sysconfdir='${prefix}/etc'
831 sharedstatedir='${prefix}/com'
832 localstatedir='${prefix}/var'
833 includedir='${prefix}/include'
834 oldincludedir='/usr/include'
835 docdir='${datarootdir}/doc/${PACKAGE_TARNAME}'
836 infodir='${datarootdir}/info'
841 libdir='${exec_prefix}/lib'
842 localedir='${datarootdir}/locale'
843 mandir='${datarootdir}/man'
849 # If the previous option needs an argument, assign it.
850 if test -n "$ac_prev"; then
851 eval $ac_prev=\$ac_option
857 *=?*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
862 # Accept the important Cygnus configure options, so we can diagnose typos.
864 case $ac_dashdash$ac_option in
868 -bindir | --bindir | --bindi | --bind | --bin | --bi)
870 -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
873 -build | --build | --buil | --bui | --bu)
874 ac_prev=build_alias ;;
875 -build=* | --build=* | --buil=* | --bui=* | --bu=*)
876 build_alias=$ac_optarg ;;
878 -cache-file | --cache-file | --cache-fil | --cache-fi \
879 | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
880 ac_prev=cache_file ;;
881 -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
882 | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
883 cache_file=$ac_optarg ;;
886 cache_file=config.cache ;;
888 -datadir | --datadir | --datadi | --datad)
890 -datadir=* | --datadir=* | --datadi=* | --datad=*)
891 datadir=$ac_optarg ;;
893 -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \
894 | --dataroo | --dataro | --datar)
895 ac_prev=datarootdir ;;
896 -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \
897 | --dataroot=* | --dataroo=* | --dataro=* | --datar=*)
898 datarootdir=$ac_optarg ;;
900 -disable-* | --disable-*)
901 ac_useropt=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
902 # Reject names that are not valid shell variable names.
903 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
904 as_fn_error $? "invalid feature name: $ac_useropt"
905 ac_useropt_orig=$ac_useropt
906 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
907 case $ac_user_opts in
911 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig"
912 ac_unrecognized_sep=', ';;
914 eval enable_$ac_useropt=no ;;
916 -docdir | --docdir | --docdi | --doc | --do)
918 -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*)
921 -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv)
923 -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*)
926 -enable-* | --enable-*)
927 ac_useropt=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
928 # Reject names that are not valid shell variable names.
929 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
930 as_fn_error $? "invalid feature name: $ac_useropt"
931 ac_useropt_orig=$ac_useropt
932 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
933 case $ac_user_opts in
937 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig"
938 ac_unrecognized_sep=', ';;
940 eval enable_$ac_useropt=\$ac_optarg ;;
942 -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
943 | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
944 | --exec | --exe | --ex)
945 ac_prev=exec_prefix ;;
946 -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
947 | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
948 | --exec=* | --exe=* | --ex=*)
949 exec_prefix=$ac_optarg ;;
951 -gas | --gas | --ga | --g)
952 # Obsolete; use --with-gas.
955 -help | --help | --hel | --he | -h)
957 -help=r* | --help=r* | --hel=r* | --he=r* | -hr*)
958 ac_init_help=recursive ;;
959 -help=s* | --help=s* | --hel=s* | --he=s* | -hs*)
960 ac_init_help=short ;;
962 -host | --host | --hos | --ho)
963 ac_prev=host_alias ;;
964 -host=* | --host=* | --hos=* | --ho=*)
965 host_alias=$ac_optarg ;;
967 -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht)
969 -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \
971 htmldir=$ac_optarg ;;
973 -includedir | --includedir | --includedi | --included | --include \
974 | --includ | --inclu | --incl | --inc)
975 ac_prev=includedir ;;
976 -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
977 | --includ=* | --inclu=* | --incl=* | --inc=*)
978 includedir=$ac_optarg ;;
980 -infodir | --infodir | --infodi | --infod | --info | --inf)
982 -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
983 infodir=$ac_optarg ;;
985 -libdir | --libdir | --libdi | --libd)
987 -libdir=* | --libdir=* | --libdi=* | --libd=*)
990 -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
991 | --libexe | --libex | --libe)
992 ac_prev=libexecdir ;;
993 -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
994 | --libexe=* | --libex=* | --libe=*)
995 libexecdir=$ac_optarg ;;
997 -localedir | --localedir | --localedi | --localed | --locale)
999 -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*)
1000 localedir=$ac_optarg ;;
1002 -localstatedir | --localstatedir | --localstatedi | --localstated \
1003 | --localstate | --localstat | --localsta | --localst | --locals)
1004 ac_prev=localstatedir ;;
1005 -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
1006 | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*)
1007 localstatedir=$ac_optarg ;;
1009 -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
1011 -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
1012 mandir=$ac_optarg ;;
1014 -nfp | --nfp | --nf)
1015 # Obsolete; use --without-fp.
1018 -no-create | --no-create | --no-creat | --no-crea | --no-cre \
1019 | --no-cr | --no-c | -n)
1022 -no-recursion | --no-recursion | --no-recursio | --no-recursi \
1023 | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
1026 -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
1027 | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
1028 | --oldin | --oldi | --old | --ol | --o)
1029 ac_prev=oldincludedir ;;
1030 -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
1031 | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
1032 | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
1033 oldincludedir=$ac_optarg ;;
1035 -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
1037 -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
1038 prefix=$ac_optarg ;;
1040 -program-prefix | --program-prefix | --program-prefi | --program-pref \
1041 | --program-pre | --program-pr | --program-p)
1042 ac_prev=program_prefix ;;
1043 -program-prefix=* | --program-prefix=* | --program-prefi=* \
1044 | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
1045 program_prefix=$ac_optarg ;;
1047 -program-suffix | --program-suffix | --program-suffi | --program-suff \
1048 | --program-suf | --program-su | --program-s)
1049 ac_prev=program_suffix ;;
1050 -program-suffix=* | --program-suffix=* | --program-suffi=* \
1051 | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
1052 program_suffix=$ac_optarg ;;
1054 -program-transform-name | --program-transform-name \
1055 | --program-transform-nam | --program-transform-na \
1056 | --program-transform-n | --program-transform- \
1057 | --program-transform | --program-transfor \
1058 | --program-transfo | --program-transf \
1059 | --program-trans | --program-tran \
1060 | --progr-tra | --program-tr | --program-t)
1061 ac_prev=program_transform_name ;;
1062 -program-transform-name=* | --program-transform-name=* \
1063 | --program-transform-nam=* | --program-transform-na=* \
1064 | --program-transform-n=* | --program-transform-=* \
1065 | --program-transform=* | --program-transfor=* \
1066 | --program-transfo=* | --program-transf=* \
1067 | --program-trans=* | --program-tran=* \
1068 | --progr-tra=* | --program-tr=* | --program-t=*)
1069 program_transform_name=$ac_optarg ;;
1071 -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd)
1073 -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*)
1074 pdfdir=$ac_optarg ;;
1076 -psdir | --psdir | --psdi | --psd | --ps)
1078 -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*)
1081 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1082 | -silent | --silent | --silen | --sile | --sil)
1085 -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
1087 -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
1089 sbindir=$ac_optarg ;;
1091 -sharedstatedir | --sharedstatedir | --sharedstatedi \
1092 | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
1093 | --sharedst | --shareds | --shared | --share | --shar \
1095 ac_prev=sharedstatedir ;;
1096 -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
1097 | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
1098 | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
1100 sharedstatedir=$ac_optarg ;;
1102 -site | --site | --sit)
1104 -site=* | --site=* | --sit=*)
1107 -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
1109 -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
1110 srcdir=$ac_optarg ;;
1112 -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
1113 | --syscon | --sysco | --sysc | --sys | --sy)
1114 ac_prev=sysconfdir ;;
1115 -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
1116 | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
1117 sysconfdir=$ac_optarg ;;
1119 -target | --target | --targe | --targ | --tar | --ta | --t)
1120 ac_prev=target_alias ;;
1121 -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
1122 target_alias=$ac_optarg ;;
1124 -v | -verbose | --verbose | --verbos | --verbo | --verb)
1127 -version | --version | --versio | --versi | --vers | -V)
1128 ac_init_version=: ;;
1131 ac_useropt=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
1132 # Reject names that are not valid shell variable names.
1133 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1134 as_fn_error $? "invalid package name: $ac_useropt"
1135 ac_useropt_orig=$ac_useropt
1136 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1137 case $ac_user_opts in
1141 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig"
1142 ac_unrecognized_sep=', ';;
1144 eval with_$ac_useropt=\$ac_optarg ;;
1146 -without-* | --without-*)
1147 ac_useropt=`expr "x$ac_option" : 'x-*without-\(.*\)'`
1148 # Reject names that are not valid shell variable names.
1149 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1150 as_fn_error $? "invalid package name: $ac_useropt"
1151 ac_useropt_orig=$ac_useropt
1152 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1153 case $ac_user_opts in
1157 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig"
1158 ac_unrecognized_sep=', ';;
1160 eval with_$ac_useropt=no ;;
1163 # Obsolete; use --with-x.
1166 -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
1167 | --x-incl | --x-inc | --x-in | --x-i)
1168 ac_prev=x_includes ;;
1169 -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
1170 | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
1171 x_includes=$ac_optarg ;;
1173 -x-libraries | --x-libraries | --x-librarie | --x-librari \
1174 | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
1175 ac_prev=x_libraries ;;
1176 -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
1177 | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
1178 x_libraries=$ac_optarg ;;
1180 -*) as_fn_error $? "unrecognized option: \`$ac_option'
1181 Try \`$0 --help' for more information"
1185 ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
1186 # Reject names that are not valid shell variable names.
1187 case $ac_envvar in #(
1188 '' | [0-9]* | *[!_$as_cr_alnum]* )
1189 as_fn_error $? "invalid variable name: \`$ac_envvar'" ;;
1191 eval $ac_envvar=\$ac_optarg
1192 export $ac_envvar ;;
1195 # FIXME: should be removed in autoconf 3.0.
1196 $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2
1197 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
1198 $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2
1199 : "${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}"
1205 if test -n "$ac_prev"; then
1206 ac_option=--`echo $ac_prev | sed 's/_/-/g'`
1207 as_fn_error $? "missing argument to $ac_option"
1210 if test -n "$ac_unrecognized_opts"; then
1211 case $enable_option_checking in
1213 fatal) as_fn_error $? "unrecognized options: $ac_unrecognized_opts" ;;
1214 *) $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;;
1218 # Check all directory arguments for consistency.
1219 for ac_var in exec_prefix prefix bindir sbindir libexecdir datarootdir \
1220 datadir sysconfdir sharedstatedir localstatedir includedir \
1221 oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
1222 libdir localedir mandir
1224 eval ac_val=\$$ac_var
1225 # Remove trailing slashes.
1228 ac_val=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'`
1229 eval $ac_var=\$ac_val;;
1231 # Be sure to have absolute directory names.
1233 [\\/$]* | ?:[\\/]* ) continue;;
1234 NONE | '' ) case $ac_var in *prefix ) continue;; esac;;
1236 as_fn_error $? "expected an absolute directory name for --$ac_var: $ac_val"
1239 # There might be people who depend on the old broken behavior: `$host'
1240 # used to hold the argument of --host etc.
1241 # FIXME: To remove some day.
1244 target=$target_alias
1246 # FIXME: To remove some day.
1247 if test "x$host_alias" != x; then
1248 if test "x$build_alias" = x; then
1249 cross_compiling=maybe
1250 $as_echo "$as_me: WARNING: if you wanted to set the --build type, don't use --host.
1251 If a cross compiler is detected then cross compile mode will be used" >&2
1252 elif test "x$build_alias" != "x$host_alias"; then
1258 test -n "$host_alias" && ac_tool_prefix=$host_alias-
1260 test "$silent" = yes && exec 6>/dev/null
1263 ac_pwd=`pwd` && test -n "$ac_pwd" &&
1264 ac_ls_di=`ls -di .` &&
1265 ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` ||
1266 as_fn_error $? "working directory cannot be determined"
1267 test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
1268 as_fn_error $? "pwd does not report name of working directory"
1271 # Find the source files, if location was not specified.
1272 if test -z "$srcdir"; then
1273 ac_srcdir_defaulted=yes
1274 # Try the directory containing this script, then the parent directory.
1275 ac_confdir=`$as_dirname -- "$as_myself" ||
1276 $as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
1277 X"$as_myself" : 'X\(//\)[^/]' \| \
1278 X"$as_myself" : 'X\(//\)$' \| \
1279 X"$as_myself" : 'X\(/\)' \| . 2>/dev/null ||
1280 $as_echo X"$as_myself" |
1281 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
1299 if test ! -r "$srcdir/$ac_unique_file"; then
1303 ac_srcdir_defaulted=no
1305 if test ! -r "$srcdir/$ac_unique_file"; then
1306 test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .."
1307 as_fn_error $? "cannot find sources ($ac_unique_file) in $srcdir"
1309 ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work"
1311 cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error $? "$ac_msg"
1313 # When building in place, set srcdir=.
1314 if test "$ac_abs_confdir" = "$ac_pwd"; then
1317 # Remove unnecessary trailing slashes from srcdir.
1318 # Double slashes in file names in object file debugging info
1319 # mess up M-x gdb in Emacs.
1321 */) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
1323 for ac_var in $ac_precious_vars; do
1324 eval ac_env_${ac_var}_set=\${${ac_var}+set}
1325 eval ac_env_${ac_var}_value=\$${ac_var}
1326 eval ac_cv_env_${ac_var}_set=\${${ac_var}+set}
1327 eval ac_cv_env_${ac_var}_value=\$${ac_var}
1331 # Report the --help message.
1333 if test "$ac_init_help" = "long"; then
1334 # Omit some internal or obsolete options to make the list less imposing.
1335 # This message is too long to be a string in the A/UX 3.1 sh.
1337 \`configure' configures eio 1.7.2 to adapt to many kinds of systems.
1339 Usage: $0 [OPTION]... [VAR=VALUE]...
1341 To assign environment variables (e.g., CC, CFLAGS...), specify them as
1342 VAR=VALUE. See below for descriptions of some of the useful variables.
1344 Defaults for the options are specified in brackets.
1347 -h, --help display this help and exit
1348 --help=short display options specific to this package
1349 --help=recursive display the short help of all the included packages
1350 -V, --version display version information and exit
1351 -q, --quiet, --silent do not print \`checking ...' messages
1352 --cache-file=FILE cache test results in FILE [disabled]
1353 -C, --config-cache alias for \`--cache-file=config.cache'
1354 -n, --no-create do not create output files
1355 --srcdir=DIR find the sources in DIR [configure dir or \`..']
1357 Installation directories:
1358 --prefix=PREFIX install architecture-independent files in PREFIX
1359 [$ac_default_prefix]
1360 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
1363 By default, \`make install' will install all the files in
1364 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
1365 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
1366 for instance \`--prefix=\$HOME'.
1368 For better control, use the options below.
1370 Fine tuning of the installation directories:
1371 --bindir=DIR user executables [EPREFIX/bin]
1372 --sbindir=DIR system admin executables [EPREFIX/sbin]
1373 --libexecdir=DIR program executables [EPREFIX/libexec]
1374 --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
1375 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
1376 --localstatedir=DIR modifiable single-machine data [PREFIX/var]
1377 --libdir=DIR object code libraries [EPREFIX/lib]
1378 --includedir=DIR C header files [PREFIX/include]
1379 --oldincludedir=DIR C header files for non-gcc [/usr/include]
1380 --datarootdir=DIR read-only arch.-independent data root [PREFIX/share]
1381 --datadir=DIR read-only architecture-independent data [DATAROOTDIR]
1382 --infodir=DIR info documentation [DATAROOTDIR/info]
1383 --localedir=DIR locale-dependent data [DATAROOTDIR/locale]
1384 --mandir=DIR man documentation [DATAROOTDIR/man]
1385 --docdir=DIR documentation root [DATAROOTDIR/doc/eio]
1386 --htmldir=DIR html documentation [DOCDIR]
1387 --dvidir=DIR dvi documentation [DOCDIR]
1388 --pdfdir=DIR pdf documentation [DOCDIR]
1389 --psdir=DIR ps documentation [DOCDIR]
1395 --program-prefix=PREFIX prepend PREFIX to installed program names
1396 --program-suffix=SUFFIX append SUFFIX to installed program names
1397 --program-transform-name=PROGRAM run sed PROGRAM on installed program names
1400 --build=BUILD configure for building on BUILD [guessed]
1401 --host=HOST cross-compile to build programs to run on HOST [BUILD]
1405 if test -n "$ac_init_help"; then
1406 case $ac_init_help in
1407 short | recursive ) echo "Configuration of eio 1.7.2:";;
1412 --disable-option-checking ignore unrecognized --enable/--with options
1413 --disable-FEATURE do not include FEATURE (same as --enable-FEATURE=no)
1414 --enable-FEATURE[=ARG] include FEATURE [ARG=yes]
1415 --enable-silent-rules less verbose build output (undo: `make V=1')
1416 --disable-silent-rules verbose build output (undo: `make V=0')
1417 --disable-dependency-tracking speeds up one-time build
1418 --enable-dependency-tracking do not reject slow dependency extractors
1419 --disable-largefile omit support for large files
1420 --enable-shared[=PKGS] build shared libraries [default=yes]
1421 --enable-static[=PKGS] build static libraries [default=yes]
1422 --enable-fast-install[=PKGS]
1423 optimize for fast installation [default=yes]
1424 --disable-libtool-lock avoid locking (might break parallel builds)
1425 --disable-doc Disable documentation build [default=enabled]
1426 --disable-posix-threads enable POSIX threads code [default=auto]
1427 --disable-win32-threads enable Win32 threads code [default=no]
1428 --enable-debug-threads disable assert when you forgot to call
1430 --disable-inotify disable inotify
1431 --disable-notify-win32 disable Windows notification
1432 --enable-build-examples enable building examples [default=disabled]
1433 --enable-install-examples
1434 enable installing example source files
1438 --with-PACKAGE[=ARG] use PACKAGE [ARG=yes]
1439 --without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no)
1440 --with-pic[=PKGS] try to use only PIC/non-PIC objects [default=use
1442 --with-gnu-ld assume the C compiler uses GNU ld [default=no]
1443 --with-sysroot=DIR Search for dependent libraries within DIR
1444 (or the compiler's sysroot if not specified).
1445 --with-doxygen=FILE doxygen program to use [default=doxygen]
1447 Some influential environment variables:
1448 CC C compiler command
1449 CFLAGS C compiler flags
1450 LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a
1451 nonstandard directory <lib dir>
1452 LIBS libraries to pass to the linker, e.g. -l<library>
1453 CPPFLAGS (Objective) C/C++ preprocessor flags, e.g. -I<include dir> if
1454 you have headers in a nonstandard directory <include dir>
1456 PKG_CONFIG path to pkg-config utility
1458 directories to add to pkg-config's search path
1460 path overriding pkg-config's built-in search path
1461 EIO_CFLAGS C compiler flags for EIO, overriding pkg-config
1462 EIO_LIBS linker flags for EIO, overriding pkg-config
1464 Use these variables to override the choices made by `configure' or to help
1465 it to find libraries and programs with nonstandard names/locations.
1467 Report bugs to <enlightenment-devel@lists.sourceforge.net>.
1472 if test "$ac_init_help" = "recursive"; then
1473 # If there are subdirs, report their specific --help.
1474 for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
1475 test -d "$ac_dir" ||
1476 { cd "$srcdir" && ac_pwd=`pwd` && srcdir=. && test -d "$ac_dir"; } ||
1481 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
1483 ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
1484 # A ".." for each directory in $ac_dir_suffix.
1485 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
1486 case $ac_top_builddir_sub in
1487 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
1488 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
1491 ac_abs_top_builddir=$ac_pwd
1492 ac_abs_builddir=$ac_pwd$ac_dir_suffix
1493 # for backward compatibility:
1494 ac_top_builddir=$ac_top_build_prefix
1497 .) # We are building in place.
1499 ac_top_srcdir=$ac_top_builddir_sub
1500 ac_abs_top_srcdir=$ac_pwd ;;
1501 [\\/]* | ?:[\\/]* ) # Absolute name.
1502 ac_srcdir=$srcdir$ac_dir_suffix;
1503 ac_top_srcdir=$srcdir
1504 ac_abs_top_srcdir=$srcdir ;;
1506 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
1507 ac_top_srcdir=$ac_top_build_prefix$srcdir
1508 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
1510 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
1512 cd "$ac_dir" || { ac_status=$?; continue; }
1513 # Check for guested configure.
1514 if test -f "$ac_srcdir/configure.gnu"; then
1516 $SHELL "$ac_srcdir/configure.gnu" --help=recursive
1517 elif test -f "$ac_srcdir/configure"; then
1519 $SHELL "$ac_srcdir/configure" --help=recursive
1521 $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
1523 cd "$ac_pwd" || { ac_status=$?; break; }
1527 test -n "$ac_init_help" && exit $ac_status
1528 if $ac_init_version; then
1531 generated by GNU Autoconf 2.68
1533 Copyright (C) 2010 Free Software Foundation, Inc.
1534 This configure script is free software; the Free Software Foundation
1535 gives unlimited permission to copy, distribute and modify it.
1540 ## ------------------------ ##
1541 ## Autoconf initialization. ##
1542 ## ------------------------ ##
1544 # ac_fn_c_try_compile LINENO
1545 # --------------------------
1546 # Try to compile conftest.$ac_ext, and return whether this succeeded.
1547 ac_fn_c_try_compile ()
1549 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1550 rm -f conftest.$ac_objext
1551 if { { ac_try="$ac_compile"
1553 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1554 *) ac_try_echo=$ac_try;;
1556 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1557 $as_echo "$ac_try_echo"; } >&5
1558 (eval "$ac_compile") 2>conftest.err
1560 if test -s conftest.err; then
1561 grep -v '^ *+' conftest.err >conftest.er1
1562 cat conftest.er1 >&5
1563 mv -f conftest.er1 conftest.err
1565 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1566 test $ac_status = 0; } && {
1567 test -z "$ac_c_werror_flag" ||
1568 test ! -s conftest.err
1569 } && test -s conftest.$ac_objext; then :
1572 $as_echo "$as_me: failed program was:" >&5
1573 sed 's/^/| /' conftest.$ac_ext >&5
1577 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1578 as_fn_set_status $ac_retval
1580 } # ac_fn_c_try_compile
1582 # ac_fn_c_try_cpp LINENO
1583 # ----------------------
1584 # Try to preprocess conftest.$ac_ext, and return whether this succeeded.
1587 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1588 if { { ac_try="$ac_cpp conftest.$ac_ext"
1590 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1591 *) ac_try_echo=$ac_try;;
1593 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1594 $as_echo "$ac_try_echo"; } >&5
1595 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err
1597 if test -s conftest.err; then
1598 grep -v '^ *+' conftest.err >conftest.er1
1599 cat conftest.er1 >&5
1600 mv -f conftest.er1 conftest.err
1602 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1603 test $ac_status = 0; } > conftest.i && {
1604 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
1605 test ! -s conftest.err
1609 $as_echo "$as_me: failed program was:" >&5
1610 sed 's/^/| /' conftest.$ac_ext >&5
1614 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1615 as_fn_set_status $ac_retval
1619 # ac_fn_c_check_header_mongrel LINENO HEADER VAR INCLUDES
1620 # -------------------------------------------------------
1621 # Tests whether HEADER exists, giving a warning if it cannot be compiled using
1622 # the include files in INCLUDES and setting the cache variable VAR
1624 ac_fn_c_check_header_mongrel ()
1626 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1627 if eval \${$3+:} false; then :
1628 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1629 $as_echo_n "checking for $2... " >&6; }
1630 if eval \${$3+:} false; then :
1631 $as_echo_n "(cached) " >&6
1634 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1635 $as_echo "$ac_res" >&6; }
1637 # Is the header compilable?
1638 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 usability" >&5
1639 $as_echo_n "checking $2 usability... " >&6; }
1640 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1641 /* end confdefs.h. */
1645 if ac_fn_c_try_compile "$LINENO"; then :
1646 ac_header_compiler=yes
1648 ac_header_compiler=no
1650 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1651 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_compiler" >&5
1652 $as_echo "$ac_header_compiler" >&6; }
1654 # Is the header present?
1655 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 presence" >&5
1656 $as_echo_n "checking $2 presence... " >&6; }
1657 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1658 /* end confdefs.h. */
1661 if ac_fn_c_try_cpp "$LINENO"; then :
1662 ac_header_preproc=yes
1664 ac_header_preproc=no
1666 rm -f conftest.err conftest.i conftest.$ac_ext
1667 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_preproc" >&5
1668 $as_echo "$ac_header_preproc" >&6; }
1670 # So? What about this header?
1671 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in #((
1673 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&5
1674 $as_echo "$as_me: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&2;}
1675 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
1676 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
1679 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: present but cannot be compiled" >&5
1680 $as_echo "$as_me: WARNING: $2: present but cannot be compiled" >&2;}
1681 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: check for missing prerequisite headers?" >&5
1682 $as_echo "$as_me: WARNING: $2: check for missing prerequisite headers?" >&2;}
1683 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: see the Autoconf documentation" >&5
1684 $as_echo "$as_me: WARNING: $2: see the Autoconf documentation" >&2;}
1685 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&5
1686 $as_echo "$as_me: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&2;}
1687 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
1688 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
1689 ( $as_echo "## -------------------------------------------------------- ##
1690 ## Report this to enlightenment-devel@lists.sourceforge.net ##
1691 ## -------------------------------------------------------- ##"
1692 ) | sed "s/^/$as_me: WARNING: /" >&2
1695 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1696 $as_echo_n "checking for $2... " >&6; }
1697 if eval \${$3+:} false; then :
1698 $as_echo_n "(cached) " >&6
1700 eval "$3=\$ac_header_compiler"
1703 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1704 $as_echo "$ac_res" >&6; }
1706 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1708 } # ac_fn_c_check_header_mongrel
1710 # ac_fn_c_try_run LINENO
1711 # ----------------------
1712 # Try to link conftest.$ac_ext, and return whether this succeeded. Assumes
1713 # that executables *can* be run.
1716 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1717 if { { ac_try="$ac_link"
1719 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1720 *) ac_try_echo=$ac_try;;
1722 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1723 $as_echo "$ac_try_echo"; } >&5
1724 (eval "$ac_link") 2>&5
1726 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1727 test $ac_status = 0; } && { ac_try='./conftest$ac_exeext'
1728 { { case "(($ac_try" in
1729 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1730 *) ac_try_echo=$ac_try;;
1732 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1733 $as_echo "$ac_try_echo"; } >&5
1734 (eval "$ac_try") 2>&5
1736 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1737 test $ac_status = 0; }; }; then :
1740 $as_echo "$as_me: program exited with status $ac_status" >&5
1741 $as_echo "$as_me: failed program was:" >&5
1742 sed 's/^/| /' conftest.$ac_ext >&5
1744 ac_retval=$ac_status
1746 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
1747 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1748 as_fn_set_status $ac_retval
1752 # ac_fn_c_check_header_compile LINENO HEADER VAR INCLUDES
1753 # -------------------------------------------------------
1754 # Tests whether HEADER exists and can be compiled using the include files in
1755 # INCLUDES, setting the cache variable VAR accordingly.
1756 ac_fn_c_check_header_compile ()
1758 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1759 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1760 $as_echo_n "checking for $2... " >&6; }
1761 if eval \${$3+:} false; then :
1762 $as_echo_n "(cached) " >&6
1764 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1765 /* end confdefs.h. */
1769 if ac_fn_c_try_compile "$LINENO"; then :
1774 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1777 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1778 $as_echo "$ac_res" >&6; }
1779 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1781 } # ac_fn_c_check_header_compile
1783 # ac_fn_c_try_link LINENO
1784 # -----------------------
1785 # Try to link conftest.$ac_ext, and return whether this succeeded.
1788 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1789 rm -f conftest.$ac_objext conftest$ac_exeext
1790 if { { ac_try="$ac_link"
1792 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1793 *) ac_try_echo=$ac_try;;
1795 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1796 $as_echo "$ac_try_echo"; } >&5
1797 (eval "$ac_link") 2>conftest.err
1799 if test -s conftest.err; then
1800 grep -v '^ *+' conftest.err >conftest.er1
1801 cat conftest.er1 >&5
1802 mv -f conftest.er1 conftest.err
1804 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1805 test $ac_status = 0; } && {
1806 test -z "$ac_c_werror_flag" ||
1807 test ! -s conftest.err
1808 } && test -s conftest$ac_exeext && {
1809 test "$cross_compiling" = yes ||
1810 $as_test_x conftest$ac_exeext
1814 $as_echo "$as_me: failed program was:" >&5
1815 sed 's/^/| /' conftest.$ac_ext >&5
1819 # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
1820 # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
1821 # interfere with the next link command; also delete a directory that is
1822 # left behind by Apple's compiler. We do this before executing the actions.
1823 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
1824 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1825 as_fn_set_status $ac_retval
1827 } # ac_fn_c_try_link
1829 # ac_fn_c_check_func LINENO FUNC VAR
1830 # ----------------------------------
1831 # Tests whether FUNC exists, setting the cache variable VAR accordingly
1832 ac_fn_c_check_func ()
1834 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1835 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1836 $as_echo_n "checking for $2... " >&6; }
1837 if eval \${$3+:} false; then :
1838 $as_echo_n "(cached) " >&6
1840 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1841 /* end confdefs.h. */
1842 /* Define $2 to an innocuous variant, in case <limits.h> declares $2.
1843 For example, HP-UX 11i <limits.h> declares gettimeofday. */
1844 #define $2 innocuous_$2
1846 /* System header to define __stub macros and hopefully few prototypes,
1847 which can conflict with char $2 (); below.
1848 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
1849 <limits.h> exists even on freestanding compilers. */
1852 # include <limits.h>
1854 # include <assert.h>
1859 /* Override any GCC internal prototype to avoid an error.
1860 Use char because int might match the return type of a GCC
1861 builtin and then its argument prototype would still apply. */
1866 /* The GNU C library defines this for functions which it implements
1867 to always fail with ENOSYS. Some functions are actually named
1868 something starting with __ and the normal name is an alias. */
1869 #if defined __stub_$2 || defined __stub___$2
1881 if ac_fn_c_try_link "$LINENO"; then :
1886 rm -f core conftest.err conftest.$ac_objext \
1887 conftest$ac_exeext conftest.$ac_ext
1890 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1891 $as_echo "$ac_res" >&6; }
1892 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1894 } # ac_fn_c_check_func
1895 cat >config.log <<_ACEOF
1896 This file contains any messages produced by compilers while
1897 running configure, to aid debugging if configure makes a mistake.
1899 It was created by eio $as_me 1.7.2, which was
1900 generated by GNU Autoconf 2.68. Invocation command line was
1912 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
1913 uname -m = `(uname -m) 2>/dev/null || echo unknown`
1914 uname -r = `(uname -r) 2>/dev/null || echo unknown`
1915 uname -s = `(uname -s) 2>/dev/null || echo unknown`
1916 uname -v = `(uname -v) 2>/dev/null || echo unknown`
1918 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
1919 /bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown`
1921 /bin/arch = `(/bin/arch) 2>/dev/null || echo unknown`
1922 /usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown`
1923 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
1924 /usr/bin/hostinfo = `(/usr/bin/hostinfo) 2>/dev/null || echo unknown`
1925 /bin/machine = `(/bin/machine) 2>/dev/null || echo unknown`
1926 /usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown`
1927 /bin/universe = `(/bin/universe) 2>/dev/null || echo unknown`
1931 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1935 test -z "$as_dir" && as_dir=.
1936 $as_echo "PATH: $as_dir"
1952 # Keep a trace of the command line.
1953 # Strip out --no-create and --no-recursion so they do not pile up.
1954 # Strip out --silent because we don't want to record it for future runs.
1955 # Also quote any args containing shell meta-characters.
1956 # Make two passes to allow for proper duplicate-argument suppression.
1960 ac_must_keep_next=false
1966 -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
1967 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1968 | -silent | --silent | --silen | --sile | --sil)
1971 ac_arg=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
1974 1) as_fn_append ac_configure_args0 " '$ac_arg'" ;;
1976 as_fn_append ac_configure_args1 " '$ac_arg'"
1977 if test $ac_must_keep_next = true; then
1978 ac_must_keep_next=false # Got value, back to normal.
1981 *=* | --config-cache | -C | -disable-* | --disable-* \
1982 | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
1983 | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
1984 | -with-* | --with-* | -without-* | --without-* | --x)
1985 case "$ac_configure_args0 " in
1986 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
1989 -* ) ac_must_keep_next=true ;;
1992 as_fn_append ac_configure_args " '$ac_arg'"
1997 { ac_configure_args0=; unset ac_configure_args0;}
1998 { ac_configure_args1=; unset ac_configure_args1;}
2000 # When interrupted or exit'd, cleanup temporary files, and complete
2001 # config.log. We remove comments because anyway the quotes in there
2002 # would cause problems or look ugly.
2003 # WARNING: Use '\'' to represent an apostrophe within the trap.
2004 # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
2005 trap 'exit_status=$?
2006 # Save into config.log some information that might help in debugging.
2010 $as_echo "## ---------------- ##
2011 ## Cache variables. ##
2012 ## ---------------- ##"
2014 # The following way of writing the cache mishandles newlines in values,
2016 for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
2017 eval ac_val=\$$ac_var
2021 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
2022 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
2025 _ | IFS | as_nl) ;; #(
2026 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
2027 *) { eval $ac_var=; unset $ac_var;} ;;
2032 case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
2033 *${as_nl}ac_space=\ *)
2035 "s/'\''/'\''\\\\'\'''\''/g;
2036 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
2039 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
2046 $as_echo "## ----------------- ##
2047 ## Output variables. ##
2048 ## ----------------- ##"
2050 for ac_var in $ac_subst_vars
2052 eval ac_val=\$$ac_var
2054 *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
2056 $as_echo "$ac_var='\''$ac_val'\''"
2060 if test -n "$ac_subst_files"; then
2061 $as_echo "## ------------------- ##
2062 ## File substitutions. ##
2063 ## ------------------- ##"
2065 for ac_var in $ac_subst_files
2067 eval ac_val=\$$ac_var
2069 *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
2071 $as_echo "$ac_var='\''$ac_val'\''"
2076 if test -s confdefs.h; then
2077 $as_echo "## ----------- ##
2084 test "$ac_signal" != 0 &&
2085 $as_echo "$as_me: caught signal $ac_signal"
2086 $as_echo "$as_me: exit $exit_status"
2088 rm -f core *.core core.conftest.* &&
2089 rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
2092 for ac_signal in 1 2 13 15; do
2093 trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal
2097 # confdefs.h avoids OS command line length limits that DEFS can exceed.
2098 rm -f -r conftest* confdefs.h
2100 $as_echo "/* confdefs.h */" > confdefs.h
2102 # Predefined preprocessor variables.
2104 cat >>confdefs.h <<_ACEOF
2105 #define PACKAGE_NAME "$PACKAGE_NAME"
2108 cat >>confdefs.h <<_ACEOF
2109 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
2112 cat >>confdefs.h <<_ACEOF
2113 #define PACKAGE_VERSION "$PACKAGE_VERSION"
2116 cat >>confdefs.h <<_ACEOF
2117 #define PACKAGE_STRING "$PACKAGE_STRING"
2120 cat >>confdefs.h <<_ACEOF
2121 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
2124 cat >>confdefs.h <<_ACEOF
2125 #define PACKAGE_URL "$PACKAGE_URL"
2129 # Let the site file select an alternate cache file if it wants to.
2130 # Prefer an explicitly selected file to automatically selected ones.
2133 if test -n "$CONFIG_SITE"; then
2134 # We do not want a PATH search for config.site.
2135 case $CONFIG_SITE in #((
2136 -*) ac_site_file1=./$CONFIG_SITE;;
2137 */*) ac_site_file1=$CONFIG_SITE;;
2138 *) ac_site_file1=./$CONFIG_SITE;;
2140 elif test "x$prefix" != xNONE; then
2141 ac_site_file1=$prefix/share/config.site
2142 ac_site_file2=$prefix/etc/config.site
2144 ac_site_file1=$ac_default_prefix/share/config.site
2145 ac_site_file2=$ac_default_prefix/etc/config.site
2147 for ac_site_file in "$ac_site_file1" "$ac_site_file2"
2149 test "x$ac_site_file" = xNONE && continue
2150 if test /dev/null != "$ac_site_file" && test -r "$ac_site_file"; then
2151 { $as_echo "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5
2152 $as_echo "$as_me: loading site script $ac_site_file" >&6;}
2153 sed 's/^/| /' "$ac_site_file" >&5
2155 || { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2156 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2157 as_fn_error $? "failed to load site script $ac_site_file
2158 See \`config.log' for more details" "$LINENO" 5; }
2162 if test -r "$cache_file"; then
2163 # Some versions of bash will fail to source /dev/null (special files
2164 # actually), so we avoid doing that. DJGPP emulates it as a regular file.
2165 if test /dev/null != "$cache_file" && test -f "$cache_file"; then
2166 { $as_echo "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5
2167 $as_echo "$as_me: loading cache $cache_file" >&6;}
2169 [\\/]* | ?:[\\/]* ) . "$cache_file";;
2170 *) . "./$cache_file";;
2174 { $as_echo "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5
2175 $as_echo "$as_me: creating cache $cache_file" >&6;}
2179 # Check that the precious variables saved in the cache have kept the same
2181 ac_cache_corrupted=false
2182 for ac_var in $ac_precious_vars; do
2183 eval ac_old_set=\$ac_cv_env_${ac_var}_set
2184 eval ac_new_set=\$ac_env_${ac_var}_set
2185 eval ac_old_val=\$ac_cv_env_${ac_var}_value
2186 eval ac_new_val=\$ac_env_${ac_var}_value
2187 case $ac_old_set,$ac_new_set in
2189 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
2190 $as_echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
2191 ac_cache_corrupted=: ;;
2193 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not set in the previous run" >&5
2194 $as_echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
2195 ac_cache_corrupted=: ;;
2198 if test "x$ac_old_val" != "x$ac_new_val"; then
2199 # differences in whitespace do not lead to failure.
2200 ac_old_val_w=`echo x $ac_old_val`
2201 ac_new_val_w=`echo x $ac_new_val`
2202 if test "$ac_old_val_w" != "$ac_new_val_w"; then
2203 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&5
2204 $as_echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
2205 ac_cache_corrupted=:
2207 { $as_echo "$as_me:${as_lineno-$LINENO}: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5
2208 $as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;}
2209 eval $ac_var=\$ac_old_val
2211 { $as_echo "$as_me:${as_lineno-$LINENO}: former value: \`$ac_old_val'" >&5
2212 $as_echo "$as_me: former value: \`$ac_old_val'" >&2;}
2213 { $as_echo "$as_me:${as_lineno-$LINENO}: current value: \`$ac_new_val'" >&5
2214 $as_echo "$as_me: current value: \`$ac_new_val'" >&2;}
2217 # Pass precious variables to config.status.
2218 if test "$ac_new_set" = set; then
2220 *\'*) ac_arg=$ac_var=`$as_echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
2221 *) ac_arg=$ac_var=$ac_new_val ;;
2223 case " $ac_configure_args " in
2224 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
2225 *) as_fn_append ac_configure_args " '$ac_arg'" ;;
2229 if $ac_cache_corrupted; then
2230 { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2231 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2232 { $as_echo "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5
2233 $as_echo "$as_me: error: changes in the environment can compromise the build" >&2;}
2234 as_fn_error $? "run \`make distclean' and/or \`rm $cache_file' and start over" "$LINENO" 5
2236 ## -------------------- ##
2237 ## Main body of script. ##
2238 ## -------------------- ##
2241 ac_cpp='$CPP $CPPFLAGS'
2242 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2243 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2244 ac_compiler_gnu=$ac_cv_c_compiler_gnu
2251 ac_config_headers="$ac_config_headers config.h"
2256 am__api_version='1.11'
2259 for ac_dir in "$srcdir" "$srcdir/.." "$srcdir/../.."; do
2260 if test -f "$ac_dir/install-sh"; then
2262 ac_install_sh="$ac_aux_dir/install-sh -c"
2264 elif test -f "$ac_dir/install.sh"; then
2266 ac_install_sh="$ac_aux_dir/install.sh -c"
2268 elif test -f "$ac_dir/shtool"; then
2270 ac_install_sh="$ac_aux_dir/shtool install -c"
2274 if test -z "$ac_aux_dir"; then
2275 as_fn_error $? "cannot find install-sh, install.sh, or shtool in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" "$LINENO" 5
2278 # These three variables are undocumented and unsupported,
2279 # and are intended to be withdrawn in a future Autoconf release.
2280 # They can cause serious problems if a builder's source tree is in a directory
2281 # whose full name contains unusual characters.
2282 ac_config_guess="$SHELL $ac_aux_dir/config.guess" # Please don't use this var.
2283 ac_config_sub="$SHELL $ac_aux_dir/config.sub" # Please don't use this var.
2284 ac_configure="$SHELL $ac_aux_dir/configure" # Please don't use this var.
2287 # Find a good install program. We prefer a C program (faster),
2288 # so one script is as good as another. But avoid the broken or
2289 # incompatible versions:
2290 # SysV /etc/install, /usr/sbin/install
2291 # SunOS /usr/etc/install
2292 # IRIX /sbin/install
2294 # AmigaOS /C/install, which installs bootblocks on floppy discs
2295 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
2296 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
2297 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
2298 # OS/2's system install, which has a completely different semantic
2299 # ./install, which can be erroneously created by make from ./install.sh.
2300 # Reject install programs that cannot install multiple files.
2301 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a BSD-compatible install" >&5
2302 $as_echo_n "checking for a BSD-compatible install... " >&6; }
2303 if test -z "$INSTALL"; then
2304 if ${ac_cv_path_install+:} false; then :
2305 $as_echo_n "(cached) " >&6
2307 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2311 test -z "$as_dir" && as_dir=.
2312 # Account for people who put trailing slashes in PATH elements.
2313 case $as_dir/ in #((
2314 ./ | .// | /[cC]/* | \
2315 /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
2316 ?:[\\/]os2[\\/]install[\\/]* | ?:[\\/]OS2[\\/]INSTALL[\\/]* | \
2319 # OSF1 and SCO ODT 3.0 have their own names for install.
2320 # Don't use installbsd from OSF since it installs stuff as root
2322 for ac_prog in ginstall scoinst install; do
2323 for ac_exec_ext in '' $ac_executable_extensions; do
2324 if { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; }; then
2325 if test $ac_prog = install &&
2326 grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
2327 # AIX install. It has an incompatible calling convention.
2329 elif test $ac_prog = install &&
2330 grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
2331 # program-specific install script used by HP pwplus--don't use.
2334 rm -rf conftest.one conftest.two conftest.dir
2335 echo one > conftest.one
2336 echo two > conftest.two
2338 if "$as_dir/$ac_prog$ac_exec_ext" -c conftest.one conftest.two "`pwd`/conftest.dir" &&
2339 test -s conftest.one && test -s conftest.two &&
2340 test -s conftest.dir/conftest.one &&
2341 test -s conftest.dir/conftest.two
2343 ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
2356 rm -rf conftest.one conftest.two conftest.dir
2359 if test "${ac_cv_path_install+set}" = set; then
2360 INSTALL=$ac_cv_path_install
2362 # As a last resort, use the slow shell script. Don't cache a
2363 # value for INSTALL within a source directory, because that will
2364 # break other packages using the cache if that directory is
2365 # removed, or if the value is a relative name.
2366 INSTALL=$ac_install_sh
2369 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $INSTALL" >&5
2370 $as_echo "$INSTALL" >&6; }
2372 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
2373 # It thinks the first close brace ends the variable substitution.
2374 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
2376 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
2378 test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
2380 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether build environment is sane" >&5
2381 $as_echo_n "checking whether build environment is sane... " >&6; }
2384 echo timestamp > conftest.file
2385 # Reject unsafe characters in $srcdir or the absolute working directory
2386 # name. Accept space and tab only in the latter.
2390 *[\\\"\#\$\&\'\`$am_lf]*)
2391 as_fn_error $? "unsafe absolute working directory name" "$LINENO" 5;;
2394 *[\\\"\#\$\&\'\`$am_lf\ \ ]*)
2395 as_fn_error $? "unsafe srcdir value: \`$srcdir'" "$LINENO" 5;;
2398 # Do `set' in a subshell so we don't clobber the current shell's
2399 # arguments. Must try -L first in case configure is actually a
2400 # symlink; some systems play weird games with the mod time of symlinks
2401 # (eg FreeBSD returns the mod time of the symlink's containing
2404 set X `ls -Lt "$srcdir/configure" conftest.file 2> /dev/null`
2405 if test "$*" = "X"; then
2407 set X `ls -t "$srcdir/configure" conftest.file`
2410 if test "$*" != "X $srcdir/configure conftest.file" \
2411 && test "$*" != "X conftest.file $srcdir/configure"; then
2413 # If neither matched, then we have a broken ls. This can happen
2414 # if, for instance, CONFIG_SHELL is bash and it inherits a
2415 # broken ls alias from the environment. This has actually
2416 # happened. Such a system could not be considered "sane".
2417 as_fn_error $? "ls -t appears to fail. Make sure there is not a broken
2418 alias in your environment" "$LINENO" 5
2421 test "$2" = conftest.file
2427 as_fn_error $? "newly created file is older than distributed files!
2428 Check your system clock" "$LINENO" 5
2430 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
2431 $as_echo "yes" >&6; }
2432 test "$program_prefix" != NONE &&
2433 program_transform_name="s&^&$program_prefix&;$program_transform_name"
2434 # Use a double $ so make ignores it.
2435 test "$program_suffix" != NONE &&
2436 program_transform_name="s&\$&$program_suffix&;$program_transform_name"
2437 # Double any \ or $.
2438 # By default was `s,x,x', remove it if useless.
2439 ac_script='s/[\\$]/&&/g;s/;s,x,x,$//'
2440 program_transform_name=`$as_echo "$program_transform_name" | sed "$ac_script"`
2442 # expand $ac_aux_dir to an absolute path
2443 am_aux_dir=`cd $ac_aux_dir && pwd`
2445 if test x"${MISSING+set}" != xset; then
2448 MISSING="\${SHELL} \"$am_aux_dir/missing\"" ;;
2450 MISSING="\${SHELL} $am_aux_dir/missing" ;;
2453 # Use eval to expand $SHELL
2454 if eval "$MISSING --run true"; then
2455 am_missing_run="$MISSING --run "
2458 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \`missing' script is too old or missing" >&5
2459 $as_echo "$as_me: WARNING: \`missing' script is too old or missing" >&2;}
2462 if test x"${install_sh}" != xset; then
2465 install_sh="\${SHELL} '$am_aux_dir/install-sh'" ;;
2467 install_sh="\${SHELL} $am_aux_dir/install-sh"
2471 # Installed binaries are usually stripped using `strip' when the user
2472 # run `make install-strip'. However `strip' might not be the right
2473 # tool to use in cross-compilation environments, therefore Automake
2474 # will honor the `STRIP' environment variable to overrule this program.
2475 if test "$cross_compiling" != no; then
2476 if test -n "$ac_tool_prefix"; then
2477 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
2478 set dummy ${ac_tool_prefix}strip; ac_word=$2
2479 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2480 $as_echo_n "checking for $ac_word... " >&6; }
2481 if ${ac_cv_prog_STRIP+:} false; then :
2482 $as_echo_n "(cached) " >&6
2484 if test -n "$STRIP"; then
2485 ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
2487 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2491 test -z "$as_dir" && as_dir=.
2492 for ac_exec_ext in '' $ac_executable_extensions; do
2493 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2494 ac_cv_prog_STRIP="${ac_tool_prefix}strip"
2495 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2504 STRIP=$ac_cv_prog_STRIP
2505 if test -n "$STRIP"; then
2506 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
2507 $as_echo "$STRIP" >&6; }
2509 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2510 $as_echo "no" >&6; }
2515 if test -z "$ac_cv_prog_STRIP"; then
2517 # Extract the first word of "strip", so it can be a program name with args.
2518 set dummy strip; ac_word=$2
2519 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2520 $as_echo_n "checking for $ac_word... " >&6; }
2521 if ${ac_cv_prog_ac_ct_STRIP+:} false; then :
2522 $as_echo_n "(cached) " >&6
2524 if test -n "$ac_ct_STRIP"; then
2525 ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
2527 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2531 test -z "$as_dir" && as_dir=.
2532 for ac_exec_ext in '' $ac_executable_extensions; do
2533 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2534 ac_cv_prog_ac_ct_STRIP="strip"
2535 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2544 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
2545 if test -n "$ac_ct_STRIP"; then
2546 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
2547 $as_echo "$ac_ct_STRIP" >&6; }
2549 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2550 $as_echo "no" >&6; }
2553 if test "x$ac_ct_STRIP" = x; then
2556 case $cross_compiling:$ac_tool_warned in
2558 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
2559 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
2560 ac_tool_warned=yes ;;
2565 STRIP="$ac_cv_prog_STRIP"
2569 INSTALL_STRIP_PROGRAM="\$(install_sh) -c -s"
2571 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a thread-safe mkdir -p" >&5
2572 $as_echo_n "checking for a thread-safe mkdir -p... " >&6; }
2573 if test -z "$MKDIR_P"; then
2574 if ${ac_cv_path_mkdir+:} false; then :
2575 $as_echo_n "(cached) " >&6
2577 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2578 for as_dir in $PATH$PATH_SEPARATOR/opt/sfw/bin
2581 test -z "$as_dir" && as_dir=.
2582 for ac_prog in mkdir gmkdir; do
2583 for ac_exec_ext in '' $ac_executable_extensions; do
2584 { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; } || continue
2585 case `"$as_dir/$ac_prog$ac_exec_ext" --version 2>&1` in #(
2586 'mkdir (GNU coreutils) '* | \
2587 'mkdir (coreutils) '* | \
2588 'mkdir (fileutils) '4.1*)
2589 ac_cv_path_mkdir=$as_dir/$ac_prog$ac_exec_ext
2599 test -d ./--version && rmdir ./--version
2600 if test "${ac_cv_path_mkdir+set}" = set; then
2601 MKDIR_P="$ac_cv_path_mkdir -p"
2603 # As a last resort, use the slow shell script. Don't cache a
2604 # value for MKDIR_P within a source directory, because that will
2605 # break other packages using the cache if that directory is
2606 # removed, or if the value is a relative name.
2607 MKDIR_P="$ac_install_sh -d"
2610 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MKDIR_P" >&5
2611 $as_echo "$MKDIR_P" >&6; }
2615 [\\/$]* | ?:[\\/]*) ;;
2616 */*) mkdir_p="\$(top_builddir)/$mkdir_p" ;;
2619 for ac_prog in gawk mawk nawk awk
2621 # Extract the first word of "$ac_prog", so it can be a program name with args.
2622 set dummy $ac_prog; ac_word=$2
2623 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2624 $as_echo_n "checking for $ac_word... " >&6; }
2625 if ${ac_cv_prog_AWK+:} false; then :
2626 $as_echo_n "(cached) " >&6
2628 if test -n "$AWK"; then
2629 ac_cv_prog_AWK="$AWK" # Let the user override the test.
2631 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2635 test -z "$as_dir" && as_dir=.
2636 for ac_exec_ext in '' $ac_executable_extensions; do
2637 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2638 ac_cv_prog_AWK="$ac_prog"
2639 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2649 if test -n "$AWK"; then
2650 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AWK" >&5
2651 $as_echo "$AWK" >&6; }
2653 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2654 $as_echo "no" >&6; }
2658 test -n "$AWK" && break
2661 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5
2662 $as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; }
2664 ac_make=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
2665 if eval \${ac_cv_prog_make_${ac_make}_set+:} false; then :
2666 $as_echo_n "(cached) " >&6
2668 cat >conftest.make <<\_ACEOF
2671 @echo '@@@%%%=$(MAKE)=@@@%%%'
2673 # GNU make sometimes prints "make[1]: Entering ...", which would confuse us.
2674 case `${MAKE-make} -f conftest.make 2>/dev/null` in
2676 eval ac_cv_prog_make_${ac_make}_set=yes;;
2678 eval ac_cv_prog_make_${ac_make}_set=no;;
2682 if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then
2683 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
2684 $as_echo "yes" >&6; }
2687 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2688 $as_echo "no" >&6; }
2689 SET_MAKE="MAKE=${MAKE-make}"
2692 rm -rf .tst 2>/dev/null
2693 mkdir .tst 2>/dev/null
2694 if test -d .tst; then
2699 rmdir .tst 2>/dev/null
2701 if test "`cd $srcdir && pwd`" != "`pwd`"; then
2702 # Use -I$(srcdir) only when $(srcdir) != ., so that make's output
2703 # is not polluted with repeated "-I."
2704 am__isrc=' -I$(srcdir)'
2705 # test to see if srcdir already configured
2706 if test -f $srcdir/config.status; then
2707 as_fn_error $? "source directory already configured; run \"make distclean\" there first" "$LINENO" 5
2711 # test whether we have cygpath
2712 if test -z "$CYGPATH_W"; then
2713 if (cygpath --version) >/dev/null 2>/dev/null; then
2714 CYGPATH_W='cygpath -w'
2721 # Define the identity of the package.
2726 cat >>confdefs.h <<_ACEOF
2727 #define PACKAGE "$PACKAGE"
2731 cat >>confdefs.h <<_ACEOF
2732 #define VERSION "$VERSION"
2735 # Some tools Automake needs.
2737 ACLOCAL=${ACLOCAL-"${am_missing_run}aclocal-${am__api_version}"}
2740 AUTOCONF=${AUTOCONF-"${am_missing_run}autoconf"}
2743 AUTOMAKE=${AUTOMAKE-"${am_missing_run}automake-${am__api_version}"}
2746 AUTOHEADER=${AUTOHEADER-"${am_missing_run}autoheader"}
2749 MAKEINFO=${MAKEINFO-"${am_missing_run}makeinfo"}
2751 # We need awk for the "check" target. The system "awk" is bad on
2753 # Always define AMTAR for backward compatibility. Yes, it's still used
2754 # in the wild :-( We should find a proper way to deprecate it ...
2757 am__tar='$${TAR-tar} chof - "$$tardir"' am__untar='$${TAR-tar} xf -'
2763 # Check whether --enable-silent-rules was given.
2764 if test "${enable_silent_rules+set}" = set; then :
2765 enableval=$enable_silent_rules;
2768 case $enable_silent_rules in
2769 yes) AM_DEFAULT_VERBOSITY=0;;
2770 no) AM_DEFAULT_VERBOSITY=1;;
2771 *) AM_DEFAULT_VERBOSITY=0;;
2773 am_make=${MAKE-make}
2774 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $am_make supports nested variables" >&5
2775 $as_echo_n "checking whether $am_make supports nested variables... " >&6; }
2776 if ${am_cv_make_support_nested_variables+:} false; then :
2777 $as_echo_n "(cached) " >&6
2779 if $as_echo 'TRUE=$(BAR$(V))
2785 .PHONY: am__doit' | $am_make -f - >/dev/null 2>&1; then
2786 am_cv_make_support_nested_variables=yes
2788 am_cv_make_support_nested_variables=no
2791 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_make_support_nested_variables" >&5
2792 $as_echo "$am_cv_make_support_nested_variables" >&6; }
2793 if test $am_cv_make_support_nested_variables = yes; then
2795 AM_DEFAULT_V='$(AM_DEFAULT_VERBOSITY)'
2797 AM_V=$AM_DEFAULT_VERBOSITY
2798 AM_DEFAULT_V=$AM_DEFAULT_VERBOSITY
2803 DEPDIR="${am__leading_dot}deps"
2805 ac_config_commands="$ac_config_commands depfiles"
2808 am_make=${MAKE-make}
2809 cat > confinc << 'END'
2811 @echo this is the am__doit target
2814 # If we don't find an include directive, just comment out the code.
2815 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for style of include used by $am_make" >&5
2816 $as_echo_n "checking for style of include used by $am_make... " >&6; }
2820 # First try GNU make style include.
2821 echo "include confinc" > confmf
2822 # Ignore all kinds of additional output from `make'.
2823 case `$am_make -s -f confmf 2> /dev/null` in #(
2824 *the\ am__doit\ target*)
2830 # Now try BSD make style include.
2831 if test "$am__include" = "#"; then
2832 echo '.include "confinc"' > confmf
2833 case `$am_make -s -f confmf 2> /dev/null` in #(
2834 *the\ am__doit\ target*)
2835 am__include=.include
2843 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $_am_result" >&5
2844 $as_echo "$_am_result" >&6; }
2845 rm -f confinc confmf
2847 # Check whether --enable-dependency-tracking was given.
2848 if test "${enable_dependency_tracking+set}" = set; then :
2849 enableval=$enable_dependency_tracking;
2852 if test "x$enable_dependency_tracking" != xno; then
2853 am_depcomp="$ac_aux_dir/depcomp"
2857 if test "x$enable_dependency_tracking" != xno; then
2867 ac_cpp='$CPP $CPPFLAGS'
2868 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2869 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2870 ac_compiler_gnu=$ac_cv_c_compiler_gnu
2871 if test -n "$ac_tool_prefix"; then
2872 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
2873 set dummy ${ac_tool_prefix}gcc; ac_word=$2
2874 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2875 $as_echo_n "checking for $ac_word... " >&6; }
2876 if ${ac_cv_prog_CC+:} false; then :
2877 $as_echo_n "(cached) " >&6
2879 if test -n "$CC"; then
2880 ac_cv_prog_CC="$CC" # Let the user override the test.
2882 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2886 test -z "$as_dir" && as_dir=.
2887 for ac_exec_ext in '' $ac_executable_extensions; do
2888 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2889 ac_cv_prog_CC="${ac_tool_prefix}gcc"
2890 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2900 if test -n "$CC"; then
2901 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
2902 $as_echo "$CC" >&6; }
2904 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2905 $as_echo "no" >&6; }
2910 if test -z "$ac_cv_prog_CC"; then
2912 # Extract the first word of "gcc", so it can be a program name with args.
2913 set dummy gcc; ac_word=$2
2914 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2915 $as_echo_n "checking for $ac_word... " >&6; }
2916 if ${ac_cv_prog_ac_ct_CC+:} false; then :
2917 $as_echo_n "(cached) " >&6
2919 if test -n "$ac_ct_CC"; then
2920 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
2922 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2926 test -z "$as_dir" && as_dir=.
2927 for ac_exec_ext in '' $ac_executable_extensions; do
2928 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2929 ac_cv_prog_ac_ct_CC="gcc"
2930 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2939 ac_ct_CC=$ac_cv_prog_ac_ct_CC
2940 if test -n "$ac_ct_CC"; then
2941 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
2942 $as_echo "$ac_ct_CC" >&6; }
2944 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2945 $as_echo "no" >&6; }
2948 if test "x$ac_ct_CC" = x; then
2951 case $cross_compiling:$ac_tool_warned in
2953 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
2954 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
2955 ac_tool_warned=yes ;;
2963 if test -z "$CC"; then
2964 if test -n "$ac_tool_prefix"; then
2965 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
2966 set dummy ${ac_tool_prefix}cc; ac_word=$2
2967 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2968 $as_echo_n "checking for $ac_word... " >&6; }
2969 if ${ac_cv_prog_CC+:} false; then :
2970 $as_echo_n "(cached) " >&6
2972 if test -n "$CC"; then
2973 ac_cv_prog_CC="$CC" # Let the user override the test.
2975 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2979 test -z "$as_dir" && as_dir=.
2980 for ac_exec_ext in '' $ac_executable_extensions; do
2981 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2982 ac_cv_prog_CC="${ac_tool_prefix}cc"
2983 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2993 if test -n "$CC"; then
2994 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
2995 $as_echo "$CC" >&6; }
2997 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2998 $as_echo "no" >&6; }
3004 if test -z "$CC"; then
3005 # Extract the first word of "cc", so it can be a program name with args.
3006 set dummy cc; ac_word=$2
3007 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3008 $as_echo_n "checking for $ac_word... " >&6; }
3009 if ${ac_cv_prog_CC+:} false; then :
3010 $as_echo_n "(cached) " >&6
3012 if test -n "$CC"; then
3013 ac_cv_prog_CC="$CC" # Let the user override the test.
3016 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3020 test -z "$as_dir" && as_dir=.
3021 for ac_exec_ext in '' $ac_executable_extensions; do
3022 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3023 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
3024 ac_prog_rejected=yes
3028 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3035 if test $ac_prog_rejected = yes; then
3036 # We found a bogon in the path, so make sure we never use it.
3037 set dummy $ac_cv_prog_CC
3039 if test $# != 0; then
3040 # We chose a different compiler from the bogus one.
3041 # However, it has the same basename, so the bogon will be chosen
3042 # first if we set CC to just the basename; use the full file name.
3044 ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
3050 if test -n "$CC"; then
3051 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3052 $as_echo "$CC" >&6; }
3054 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3055 $as_echo "no" >&6; }
3060 if test -z "$CC"; then
3061 if test -n "$ac_tool_prefix"; then
3062 for ac_prog in cl.exe
3064 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
3065 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
3066 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3067 $as_echo_n "checking for $ac_word... " >&6; }
3068 if ${ac_cv_prog_CC+:} false; then :
3069 $as_echo_n "(cached) " >&6
3071 if test -n "$CC"; then
3072 ac_cv_prog_CC="$CC" # Let the user override the test.
3074 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3078 test -z "$as_dir" && as_dir=.
3079 for ac_exec_ext in '' $ac_executable_extensions; do
3080 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3081 ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
3082 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3092 if test -n "$CC"; then
3093 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3094 $as_echo "$CC" >&6; }
3096 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3097 $as_echo "no" >&6; }
3101 test -n "$CC" && break
3104 if test -z "$CC"; then
3106 for ac_prog in cl.exe
3108 # Extract the first word of "$ac_prog", so it can be a program name with args.
3109 set dummy $ac_prog; ac_word=$2
3110 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3111 $as_echo_n "checking for $ac_word... " >&6; }
3112 if ${ac_cv_prog_ac_ct_CC+:} false; then :
3113 $as_echo_n "(cached) " >&6
3115 if test -n "$ac_ct_CC"; then
3116 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
3118 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3122 test -z "$as_dir" && as_dir=.
3123 for ac_exec_ext in '' $ac_executable_extensions; do
3124 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3125 ac_cv_prog_ac_ct_CC="$ac_prog"
3126 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3135 ac_ct_CC=$ac_cv_prog_ac_ct_CC
3136 if test -n "$ac_ct_CC"; then
3137 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
3138 $as_echo "$ac_ct_CC" >&6; }
3140 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3141 $as_echo "no" >&6; }
3145 test -n "$ac_ct_CC" && break
3148 if test "x$ac_ct_CC" = x; then
3151 case $cross_compiling:$ac_tool_warned in
3153 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3154 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3155 ac_tool_warned=yes ;;
3164 test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3165 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3166 as_fn_error $? "no acceptable C compiler found in \$PATH
3167 See \`config.log' for more details" "$LINENO" 5; }
3169 # Provide some information about the compiler.
3170 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
3173 for ac_option in --version -v -V -qversion; do
3174 { { ac_try="$ac_compiler $ac_option >&5"
3176 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3177 *) ac_try_echo=$ac_try;;
3179 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3180 $as_echo "$ac_try_echo"; } >&5
3181 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
3183 if test -s conftest.err; then
3185 ... rest of stderr output deleted ...
3186 10q' conftest.err >conftest.er1
3187 cat conftest.er1 >&5
3189 rm -f conftest.er1 conftest.err
3190 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3191 test $ac_status = 0; }
3194 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3195 /* end confdefs.h. */
3205 ac_clean_files_save=$ac_clean_files
3206 ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out"
3207 # Try to create an executable without -o first, disregard a.out.
3208 # It will help us diagnose broken compilers, and finding out an intuition
3210 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler works" >&5
3211 $as_echo_n "checking whether the C compiler works... " >&6; }
3212 ac_link_default=`$as_echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
3214 # The possible output files:
3215 ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*"
3218 for ac_file in $ac_files
3221 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
3222 * ) ac_rmfiles="$ac_rmfiles $ac_file";;
3227 if { { ac_try="$ac_link_default"
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_default") 2>&5
3236 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3237 test $ac_status = 0; }; then :
3238 # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
3239 # So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
3240 # in a Makefile. We should not override ac_cv_exeext if it was cached,
3241 # so that the user can short-circuit this test for compilers unknown to
3243 for ac_file in $ac_files ''
3245 test -f "$ac_file" || continue
3247 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj )
3250 # We found the default executable, but exeext='' is most
3254 if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no;
3256 ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
3258 # We set ac_cv_exeext here because the later test for it is not
3259 # safe: cross compilers may not add the suffix if given an `-o'
3260 # argument, so we may need to know it at that point already.
3261 # Even if this section looks crufty: it has the advantage of
3268 test "$ac_cv_exeext" = no && ac_cv_exeext=
3273 if test -z "$ac_file"; then :
3274 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3275 $as_echo "no" >&6; }
3276 $as_echo "$as_me: failed program was:" >&5
3277 sed 's/^/| /' conftest.$ac_ext >&5
3279 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3280 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3281 as_fn_error 77 "C compiler cannot create executables
3282 See \`config.log' for more details" "$LINENO" 5; }
3284 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
3285 $as_echo "yes" >&6; }
3287 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler default output file name" >&5
3288 $as_echo_n "checking for C compiler default output file name... " >&6; }
3289 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5
3290 $as_echo "$ac_file" >&6; }
3291 ac_exeext=$ac_cv_exeext
3293 rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out
3294 ac_clean_files=$ac_clean_files_save
3295 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5
3296 $as_echo_n "checking for suffix of executables... " >&6; }
3297 if { { ac_try="$ac_link"
3299 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3300 *) ac_try_echo=$ac_try;;
3302 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3303 $as_echo "$ac_try_echo"; } >&5
3304 (eval "$ac_link") 2>&5
3306 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3307 test $ac_status = 0; }; then :
3308 # If both `conftest.exe' and `conftest' are `present' (well, observable)
3309 # catch `conftest.exe'. For instance with Cygwin, `ls conftest' will
3310 # work properly (i.e., refer to `conftest.exe'), while it won't with
3312 for ac_file in conftest.exe conftest conftest.*; do
3313 test -f "$ac_file" || continue
3315 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
3316 *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
3322 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3323 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3324 as_fn_error $? "cannot compute suffix of executables: cannot compile and link
3325 See \`config.log' for more details" "$LINENO" 5; }
3327 rm -f conftest conftest$ac_cv_exeext
3328 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5
3329 $as_echo "$ac_cv_exeext" >&6; }
3331 rm -f conftest.$ac_ext
3332 EXEEXT=$ac_cv_exeext
3334 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3335 /* end confdefs.h. */
3340 FILE *f = fopen ("conftest.out", "w");
3341 return ferror (f) || fclose (f) != 0;
3347 ac_clean_files="$ac_clean_files conftest.out"
3348 # Check that the compiler produces executables we can run. If not, either
3349 # the compiler is broken, or we cross compile.
3350 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5
3351 $as_echo_n "checking whether we are cross compiling... " >&6; }
3352 if test "$cross_compiling" != yes; then
3353 { { ac_try="$ac_link"
3355 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3356 *) ac_try_echo=$ac_try;;
3358 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3359 $as_echo "$ac_try_echo"; } >&5
3360 (eval "$ac_link") 2>&5
3362 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3363 test $ac_status = 0; }
3364 if { ac_try='./conftest$ac_cv_exeext'
3365 { { case "(($ac_try" in
3366 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3367 *) ac_try_echo=$ac_try;;
3369 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3370 $as_echo "$ac_try_echo"; } >&5
3371 (eval "$ac_try") 2>&5
3373 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3374 test $ac_status = 0; }; }; then
3377 if test "$cross_compiling" = maybe; then
3380 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3381 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3382 as_fn_error $? "cannot run C compiled programs.
3383 If you meant to cross compile, use \`--host'.
3384 See \`config.log' for more details" "$LINENO" 5; }
3388 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5
3389 $as_echo "$cross_compiling" >&6; }
3391 rm -f conftest.$ac_ext conftest$ac_cv_exeext conftest.out
3392 ac_clean_files=$ac_clean_files_save
3393 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5
3394 $as_echo_n "checking for suffix of object files... " >&6; }
3395 if ${ac_cv_objext+:} false; then :
3396 $as_echo_n "(cached) " >&6
3398 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3399 /* end confdefs.h. */
3409 rm -f conftest.o conftest.obj
3410 if { { ac_try="$ac_compile"
3412 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3413 *) ac_try_echo=$ac_try;;
3415 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3416 $as_echo "$ac_try_echo"; } >&5
3417 (eval "$ac_compile") 2>&5
3419 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3420 test $ac_status = 0; }; then :
3421 for ac_file in conftest.o conftest.obj conftest.*; do
3422 test -f "$ac_file" || continue;
3424 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;;
3425 *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
3430 $as_echo "$as_me: failed program was:" >&5
3431 sed 's/^/| /' conftest.$ac_ext >&5
3433 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3434 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3435 as_fn_error $? "cannot compute suffix of object files: cannot compile
3436 See \`config.log' for more details" "$LINENO" 5; }
3438 rm -f conftest.$ac_cv_objext conftest.$ac_ext
3440 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5
3441 $as_echo "$ac_cv_objext" >&6; }
3442 OBJEXT=$ac_cv_objext
3444 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
3445 $as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
3446 if ${ac_cv_c_compiler_gnu+:} false; then :
3447 $as_echo_n "(cached) " >&6
3449 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3450 /* end confdefs.h. */
3463 if ac_fn_c_try_compile "$LINENO"; then :
3468 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3469 ac_cv_c_compiler_gnu=$ac_compiler_gnu
3472 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
3473 $as_echo "$ac_cv_c_compiler_gnu" >&6; }
3474 if test $ac_compiler_gnu = yes; then
3479 ac_test_CFLAGS=${CFLAGS+set}
3480 ac_save_CFLAGS=$CFLAGS
3481 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
3482 $as_echo_n "checking whether $CC accepts -g... " >&6; }
3483 if ${ac_cv_prog_cc_g+:} false; then :
3484 $as_echo_n "(cached) " >&6
3486 ac_save_c_werror_flag=$ac_c_werror_flag
3487 ac_c_werror_flag=yes
3490 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3491 /* end confdefs.h. */
3501 if ac_fn_c_try_compile "$LINENO"; then :
3505 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3506 /* end confdefs.h. */
3516 if ac_fn_c_try_compile "$LINENO"; then :
3519 ac_c_werror_flag=$ac_save_c_werror_flag
3521 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3522 /* end confdefs.h. */
3532 if ac_fn_c_try_compile "$LINENO"; then :
3535 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3537 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3539 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3540 ac_c_werror_flag=$ac_save_c_werror_flag
3542 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
3543 $as_echo "$ac_cv_prog_cc_g" >&6; }
3544 if test "$ac_test_CFLAGS" = set; then
3545 CFLAGS=$ac_save_CFLAGS
3546 elif test $ac_cv_prog_cc_g = yes; then
3547 if test "$GCC" = yes; then
3553 if test "$GCC" = yes; then
3559 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
3560 $as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
3561 if ${ac_cv_prog_cc_c89+:} false; then :
3562 $as_echo_n "(cached) " >&6
3564 ac_cv_prog_cc_c89=no
3566 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3567 /* end confdefs.h. */
3570 #include <sys/types.h>
3571 #include <sys/stat.h>
3572 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
3573 struct buf { int x; };
3574 FILE * (*rcsopen) (struct buf *, struct stat *, int);
3575 static char *e (p, i)
3581 static char *f (char * (*g) (char **, int), char **p, ...)
3586 s = g (p, va_arg (v,int));
3591 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
3592 function prototypes and stuff, but not '\xHH' hex character constants.
3593 These don't provoke an error unfortunately, instead are silently treated
3594 as 'x'. The following induces an error, until -std is added to get
3595 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
3596 array size at least. It's necessary to write '\x00'==0 to get something
3597 that's true only with -std. */
3598 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
3600 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
3601 inside strings and character constants. */
3603 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
3605 int test (int i, double x);
3606 struct s1 {int (*f) (int a);};
3607 struct s2 {int (*f) (double a);};
3608 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
3614 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
3619 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
3620 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
3622 CC="$ac_save_CC $ac_arg"
3623 if ac_fn_c_try_compile "$LINENO"; then :
3624 ac_cv_prog_cc_c89=$ac_arg
3626 rm -f core conftest.err conftest.$ac_objext
3627 test "x$ac_cv_prog_cc_c89" != "xno" && break
3629 rm -f conftest.$ac_ext
3634 case "x$ac_cv_prog_cc_c89" in
3636 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
3637 $as_echo "none needed" >&6; } ;;
3639 { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
3640 $as_echo "unsupported" >&6; } ;;
3642 CC="$CC $ac_cv_prog_cc_c89"
3643 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
3644 $as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
3646 if test "x$ac_cv_prog_cc_c89" != xno; then :
3651 ac_cpp='$CPP $CPPFLAGS'
3652 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3653 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3654 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3656 depcc="$CC" am_compiler_list=
3658 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5
3659 $as_echo_n "checking dependency style of $depcc... " >&6; }
3660 if ${am_cv_CC_dependencies_compiler_type+:} false; then :
3661 $as_echo_n "(cached) " >&6
3663 if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
3664 # We make a subdir and do the tests there. Otherwise we can end up
3665 # making bogus files that we don't know about and never remove. For
3666 # instance it was reported that on HP-UX the gcc test will end up
3667 # making a dummy file named `D' -- because `-MD' means `put the output
3671 # Copy depcomp to subdir because otherwise we won't find it if we're
3672 # using a relative directory.
3673 cp "$am_depcomp" conftest.dir
3675 # We will build objects and dependencies in a subdirectory because
3676 # it helps to detect inapplicable dependency modes. For instance
3677 # both Tru64's cc and ICC support -MD to output dependencies as a
3678 # side effect of compilation, but ICC will put the dependencies in
3679 # the current directory while Tru64 will put them in the object
3683 am_cv_CC_dependencies_compiler_type=none
3684 if test "$am_compiler_list" = ""; then
3685 am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
3688 case " $depcc " in #(
3689 *\ -arch\ *\ -arch\ *) am__universal=true ;;
3692 for depmode in $am_compiler_list; do
3693 # Setup a source with many dependencies, because some compilers
3694 # like to wrap large dependency lists on column 80 (with \), and
3695 # we should not choose a depcomp mode which is confused by this.
3697 # We need to recreate these files for each test, as the compiler may
3698 # overwrite some of them when testing with obscure command lines.
3699 # This happens at least with the AIX C compiler.
3701 for i in 1 2 3 4 5 6; do
3702 echo '#include "conftst'$i'.h"' >> sub/conftest.c
3703 # Using `: > sub/conftst$i.h' creates only sub/conftst1.h with
3704 # Solaris 8's {/usr,}/bin/sh.
3705 touch sub/conftst$i.h
3707 echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
3709 # We check with `-c' and `-o' for the sake of the "dashmstdout"
3710 # mode. It turns out that the SunPro C++ compiler does not properly
3711 # handle `-M -o', and we need to detect this. Also, some Intel
3712 # versions had trouble with output in subdirs
3713 am__obj=sub/conftest.${OBJEXT-o}
3714 am__minus_obj="-o $am__obj"
3717 # This depmode causes a compiler race in universal mode.
3718 test "$am__universal" = false || continue
3721 # after this tag, mechanisms are not by side-effect, so they'll
3722 # only be used when explicitly requested
3723 if test "x$enable_dependency_tracking" = xyes; then
3729 msvc7 | msvc7msys | msvisualcpp | msvcmsys)
3730 # This compiler won't grok `-c -o', but also, the minuso test has
3731 # not run yet. These depmodes are late enough in the game, and
3732 # so weak that their functioning should not be impacted.
3733 am__obj=conftest.${OBJEXT-o}
3738 if depmode=$depmode \
3739 source=sub/conftest.c object=$am__obj \
3740 depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
3741 $SHELL ./depcomp $depcc -c $am__minus_obj sub/conftest.c \
3742 >/dev/null 2>conftest.err &&
3743 grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 &&
3744 grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
3745 grep $am__obj sub/conftest.Po > /dev/null 2>&1 &&
3746 ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
3747 # icc doesn't choke on unknown options, it will just issue warnings
3748 # or remarks (even with -Werror). So we grep stderr for any message
3749 # that says an option was ignored or not supported.
3750 # When given -MP, icc 7.0 and 7.1 complain thusly:
3751 # icc: Command line warning: ignoring option '-M'; no argument required
3752 # The diagnosis changed in icc 8.0:
3753 # icc: Command line remark: option '-MP' not supported
3754 if (grep 'ignoring option' conftest.err ||
3755 grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
3756 am_cv_CC_dependencies_compiler_type=$depmode
3765 am_cv_CC_dependencies_compiler_type=none
3769 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_CC_dependencies_compiler_type" >&5
3770 $as_echo "$am_cv_CC_dependencies_compiler_type" >&6; }
3771 CCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type
3774 test "x$enable_dependency_tracking" != xno \
3775 && test "$am_cv_CC_dependencies_compiler_type" = gcc3; then
3777 am__fastdepCC_FALSE='#'
3779 am__fastdepCC_TRUE='#'
3780 am__fastdepCC_FALSE=
3786 ac_cpp='$CPP $CPPFLAGS'
3787 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3788 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3789 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3790 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C preprocessor" >&5
3791 $as_echo_n "checking how to run the C preprocessor... " >&6; }
3792 # On Suns, sometimes $CPP names a directory.
3793 if test -n "$CPP" && test -d "$CPP"; then
3796 if test -z "$CPP"; then
3797 if ${ac_cv_prog_CPP+:} false; then :
3798 $as_echo_n "(cached) " >&6
3800 # Double quotes because CPP needs to be expanded
3801 for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
3804 for ac_c_preproc_warn_flag in '' yes
3806 # Use a header file that comes with gcc, so configuring glibc
3807 # with a fresh cross-compiler works.
3808 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
3809 # <limits.h> exists even on freestanding compilers.
3810 # On the NeXT, cc -E runs the code through the compiler's parser,
3811 # not just through cpp. "Syntax error" is here to catch this case.
3812 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3813 /* end confdefs.h. */
3815 # include <limits.h>
3817 # include <assert.h>
3821 if ac_fn_c_try_cpp "$LINENO"; then :
3824 # Broken: fails on valid input.
3827 rm -f conftest.err conftest.i conftest.$ac_ext
3829 # OK, works on sane cases. Now check whether nonexistent headers
3830 # can be detected and how.
3831 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3832 /* end confdefs.h. */
3833 #include <ac_nonexistent.h>
3835 if ac_fn_c_try_cpp "$LINENO"; then :
3836 # Broken: success on invalid input.
3839 # Passes both tests.
3843 rm -f conftest.err conftest.i conftest.$ac_ext
3846 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
3847 rm -f conftest.i conftest.err conftest.$ac_ext
3848 if $ac_preproc_ok; then :
3860 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CPP" >&5
3861 $as_echo "$CPP" >&6; }
3863 for ac_c_preproc_warn_flag in '' yes
3865 # Use a header file that comes with gcc, so configuring glibc
3866 # with a fresh cross-compiler works.
3867 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
3868 # <limits.h> exists even on freestanding compilers.
3869 # On the NeXT, cc -E runs the code through the compiler's parser,
3870 # not just through cpp. "Syntax error" is here to catch this case.
3871 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3872 /* end confdefs.h. */
3874 # include <limits.h>
3876 # include <assert.h>
3880 if ac_fn_c_try_cpp "$LINENO"; then :
3883 # Broken: fails on valid input.
3886 rm -f conftest.err conftest.i conftest.$ac_ext
3888 # OK, works on sane cases. Now check whether nonexistent headers
3889 # can be detected and how.
3890 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3891 /* end confdefs.h. */
3892 #include <ac_nonexistent.h>
3894 if ac_fn_c_try_cpp "$LINENO"; then :
3895 # Broken: success on invalid input.
3898 # Passes both tests.
3902 rm -f conftest.err conftest.i conftest.$ac_ext
3905 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
3906 rm -f conftest.i conftest.err conftest.$ac_ext
3907 if $ac_preproc_ok; then :
3910 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3911 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3912 as_fn_error $? "C preprocessor \"$CPP\" fails sanity check
3913 See \`config.log' for more details" "$LINENO" 5; }
3917 ac_cpp='$CPP $CPPFLAGS'
3918 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3919 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3920 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3923 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for grep that handles long lines and -e" >&5
3924 $as_echo_n "checking for grep that handles long lines and -e... " >&6; }
3925 if ${ac_cv_path_GREP+:} false; then :
3926 $as_echo_n "(cached) " >&6
3928 if test -z "$GREP"; then
3929 ac_path_GREP_found=false
3930 # Loop through the user's path and test for each of PROGNAME-LIST
3931 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3932 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
3935 test -z "$as_dir" && as_dir=.
3936 for ac_prog in grep ggrep; do
3937 for ac_exec_ext in '' $ac_executable_extensions; do
3938 ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext"
3939 { test -f "$ac_path_GREP" && $as_test_x "$ac_path_GREP"; } || continue
3940 # Check for GNU ac_path_GREP and select it if it is found.
3941 # Check for GNU $ac_path_GREP
3942 case `"$ac_path_GREP" --version 2>&1` in
3944 ac_cv_path_GREP="$ac_path_GREP" ac_path_GREP_found=:;;
3947 $as_echo_n 0123456789 >"conftest.in"
3950 cat "conftest.in" "conftest.in" >"conftest.tmp"
3951 mv "conftest.tmp" "conftest.in"
3952 cp "conftest.in" "conftest.nl"
3953 $as_echo 'GREP' >> "conftest.nl"
3954 "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev/null || break
3955 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
3956 as_fn_arith $ac_count + 1 && ac_count=$as_val
3957 if test $ac_count -gt ${ac_path_GREP_max-0}; then
3958 # Best one so far, save it but keep looking for a better one
3959 ac_cv_path_GREP="$ac_path_GREP"
3960 ac_path_GREP_max=$ac_count
3962 # 10*(2^10) chars as input seems more than enough
3963 test $ac_count -gt 10 && break
3965 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
3968 $ac_path_GREP_found && break 3
3973 if test -z "$ac_cv_path_GREP"; then
3974 as_fn_error $? "no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
3977 ac_cv_path_GREP=$GREP
3981 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_GREP" >&5
3982 $as_echo "$ac_cv_path_GREP" >&6; }
3983 GREP="$ac_cv_path_GREP"
3986 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for egrep" >&5
3987 $as_echo_n "checking for egrep... " >&6; }
3988 if ${ac_cv_path_EGREP+:} false; then :
3989 $as_echo_n "(cached) " >&6
3991 if echo a | $GREP -E '(a|b)' >/dev/null 2>&1
3992 then ac_cv_path_EGREP="$GREP -E"
3994 if test -z "$EGREP"; then
3995 ac_path_EGREP_found=false
3996 # Loop through the user's path and test for each of PROGNAME-LIST
3997 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3998 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
4001 test -z "$as_dir" && as_dir=.
4002 for ac_prog in egrep; do
4003 for ac_exec_ext in '' $ac_executable_extensions; do
4004 ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext"
4005 { test -f "$ac_path_EGREP" && $as_test_x "$ac_path_EGREP"; } || continue
4006 # Check for GNU ac_path_EGREP and select it if it is found.
4007 # Check for GNU $ac_path_EGREP
4008 case `"$ac_path_EGREP" --version 2>&1` in
4010 ac_cv_path_EGREP="$ac_path_EGREP" ac_path_EGREP_found=:;;
4013 $as_echo_n 0123456789 >"conftest.in"
4016 cat "conftest.in" "conftest.in" >"conftest.tmp"
4017 mv "conftest.tmp" "conftest.in"
4018 cp "conftest.in" "conftest.nl"
4019 $as_echo 'EGREP' >> "conftest.nl"
4020 "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev/null || break
4021 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
4022 as_fn_arith $ac_count + 1 && ac_count=$as_val
4023 if test $ac_count -gt ${ac_path_EGREP_max-0}; then
4024 # Best one so far, save it but keep looking for a better one
4025 ac_cv_path_EGREP="$ac_path_EGREP"
4026 ac_path_EGREP_max=$ac_count
4028 # 10*(2^10) chars as input seems more than enough
4029 test $ac_count -gt 10 && break
4031 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
4034 $ac_path_EGREP_found && break 3
4039 if test -z "$ac_cv_path_EGREP"; then
4040 as_fn_error $? "no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
4043 ac_cv_path_EGREP=$EGREP
4048 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_EGREP" >&5
4049 $as_echo "$ac_cv_path_EGREP" >&6; }
4050 EGREP="$ac_cv_path_EGREP"
4053 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5
4054 $as_echo_n "checking for ANSI C header files... " >&6; }
4055 if ${ac_cv_header_stdc+:} false; then :
4056 $as_echo_n "(cached) " >&6
4058 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4059 /* end confdefs.h. */
4073 if ac_fn_c_try_compile "$LINENO"; then :
4074 ac_cv_header_stdc=yes
4076 ac_cv_header_stdc=no
4078 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4080 if test $ac_cv_header_stdc = yes; then
4081 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
4082 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4083 /* end confdefs.h. */
4087 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
4088 $EGREP "memchr" >/dev/null 2>&1; then :
4091 ac_cv_header_stdc=no
4097 if test $ac_cv_header_stdc = yes; then
4098 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
4099 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4100 /* end confdefs.h. */
4104 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
4105 $EGREP "free" >/dev/null 2>&1; then :
4108 ac_cv_header_stdc=no
4114 if test $ac_cv_header_stdc = yes; then
4115 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
4116 if test "$cross_compiling" = yes; then :
4119 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4120 /* end confdefs.h. */
4123 #if ((' ' & 0x0FF) == 0x020)
4124 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
4125 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
4127 # define ISLOWER(c) \
4128 (('a' <= (c) && (c) <= 'i') \
4129 || ('j' <= (c) && (c) <= 'r') \
4130 || ('s' <= (c) && (c) <= 'z'))
4131 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
4134 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
4139 for (i = 0; i < 256; i++)
4140 if (XOR (islower (i), ISLOWER (i))
4141 || toupper (i) != TOUPPER (i))
4146 if ac_fn_c_try_run "$LINENO"; then :
4149 ac_cv_header_stdc=no
4151 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
4152 conftest.$ac_objext conftest.beam conftest.$ac_ext
4157 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdc" >&5
4158 $as_echo "$ac_cv_header_stdc" >&6; }
4159 if test $ac_cv_header_stdc = yes; then
4161 $as_echo "#define STDC_HEADERS 1" >>confdefs.h
4165 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
4166 for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
4167 inttypes.h stdint.h unistd.h
4169 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
4170 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default
4172 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
4173 cat >>confdefs.h <<_ACEOF
4174 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
4183 ac_fn_c_check_header_mongrel "$LINENO" "minix/config.h" "ac_cv_header_minix_config_h" "$ac_includes_default"
4184 if test "x$ac_cv_header_minix_config_h" = xyes; then :
4191 if test "$MINIX" = yes; then
4193 $as_echo "#define _POSIX_SOURCE 1" >>confdefs.h
4196 $as_echo "#define _POSIX_1_SOURCE 2" >>confdefs.h
4199 $as_echo "#define _MINIX 1" >>confdefs.h
4204 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether it is safe to define __EXTENSIONS__" >&5
4205 $as_echo_n "checking whether it is safe to define __EXTENSIONS__... " >&6; }
4206 if ${ac_cv_safe_to_define___extensions__+:} false; then :
4207 $as_echo_n "(cached) " >&6
4209 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4210 /* end confdefs.h. */
4212 # define __EXTENSIONS__ 1
4213 $ac_includes_default
4222 if ac_fn_c_try_compile "$LINENO"; then :
4223 ac_cv_safe_to_define___extensions__=yes
4225 ac_cv_safe_to_define___extensions__=no
4227 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4229 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_safe_to_define___extensions__" >&5
4230 $as_echo "$ac_cv_safe_to_define___extensions__" >&6; }
4231 test $ac_cv_safe_to_define___extensions__ = yes &&
4232 $as_echo "#define __EXTENSIONS__ 1" >>confdefs.h
4234 $as_echo "#define _ALL_SOURCE 1" >>confdefs.h
4236 $as_echo "#define _GNU_SOURCE 1" >>confdefs.h
4238 $as_echo "#define _POSIX_PTHREAD_SEMANTICS 1" >>confdefs.h
4240 $as_echo "#define _TANDEM_SOURCE 1" >>confdefs.h
4244 # Check whether --enable-largefile was given.
4245 if test "${enable_largefile+set}" = set; then :
4246 enableval=$enable_largefile;
4249 if test "$enable_largefile" != no; then
4251 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for special C compiler options needed for large files" >&5
4252 $as_echo_n "checking for special C compiler options needed for large files... " >&6; }
4253 if ${ac_cv_sys_largefile_CC+:} false; then :
4254 $as_echo_n "(cached) " >&6
4256 ac_cv_sys_largefile_CC=no
4257 if test "$GCC" != yes; then
4260 # IRIX 6.2 and later do not support large files by default,
4261 # so use the C compiler's -n32 option if that helps.
4262 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4263 /* end confdefs.h. */
4264 #include <sys/types.h>
4265 /* Check that off_t can represent 2**63 - 1 correctly.
4266 We can't simply define LARGE_OFF_T to be 9223372036854775807,
4267 since some C++ compilers masquerading as C compilers
4268 incorrectly reject 9223372036854775807. */
4269 #define LARGE_OFF_T (((off_t) 1 << 62) - 1 + ((off_t) 1 << 62))
4270 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
4271 && LARGE_OFF_T % 2147483647 == 1)
4281 if ac_fn_c_try_compile "$LINENO"; then :
4284 rm -f core conftest.err conftest.$ac_objext
4286 if ac_fn_c_try_compile "$LINENO"; then :
4287 ac_cv_sys_largefile_CC=' -n32'; break
4289 rm -f core conftest.err conftest.$ac_objext
4293 rm -f conftest.$ac_ext
4296 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sys_largefile_CC" >&5
4297 $as_echo "$ac_cv_sys_largefile_CC" >&6; }
4298 if test "$ac_cv_sys_largefile_CC" != no; then
4299 CC=$CC$ac_cv_sys_largefile_CC
4302 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _FILE_OFFSET_BITS value needed for large files" >&5
4303 $as_echo_n "checking for _FILE_OFFSET_BITS value needed for large files... " >&6; }
4304 if ${ac_cv_sys_file_offset_bits+:} false; then :
4305 $as_echo_n "(cached) " >&6
4308 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4309 /* end confdefs.h. */
4310 #include <sys/types.h>
4311 /* Check that off_t can represent 2**63 - 1 correctly.
4312 We can't simply define LARGE_OFF_T to be 9223372036854775807,
4313 since some C++ compilers masquerading as C compilers
4314 incorrectly reject 9223372036854775807. */
4315 #define LARGE_OFF_T (((off_t) 1 << 62) - 1 + ((off_t) 1 << 62))
4316 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
4317 && LARGE_OFF_T % 2147483647 == 1)
4327 if ac_fn_c_try_compile "$LINENO"; then :
4328 ac_cv_sys_file_offset_bits=no; break
4330 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4331 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4332 /* end confdefs.h. */
4333 #define _FILE_OFFSET_BITS 64
4334 #include <sys/types.h>
4335 /* Check that off_t can represent 2**63 - 1 correctly.
4336 We can't simply define LARGE_OFF_T to be 9223372036854775807,
4337 since some C++ compilers masquerading as C compilers
4338 incorrectly reject 9223372036854775807. */
4339 #define LARGE_OFF_T (((off_t) 1 << 62) - 1 + ((off_t) 1 << 62))
4340 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
4341 && LARGE_OFF_T % 2147483647 == 1)
4351 if ac_fn_c_try_compile "$LINENO"; then :
4352 ac_cv_sys_file_offset_bits=64; break
4354 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4355 ac_cv_sys_file_offset_bits=unknown
4359 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sys_file_offset_bits" >&5
4360 $as_echo "$ac_cv_sys_file_offset_bits" >&6; }
4361 case $ac_cv_sys_file_offset_bits in #(
4364 cat >>confdefs.h <<_ACEOF
4365 #define _FILE_OFFSET_BITS $ac_cv_sys_file_offset_bits
4370 if test $ac_cv_sys_file_offset_bits = unknown; then
4371 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _LARGE_FILES value needed for large files" >&5
4372 $as_echo_n "checking for _LARGE_FILES value needed for large files... " >&6; }
4373 if ${ac_cv_sys_large_files+:} false; then :
4374 $as_echo_n "(cached) " >&6
4377 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4378 /* end confdefs.h. */
4379 #include <sys/types.h>
4380 /* Check that off_t can represent 2**63 - 1 correctly.
4381 We can't simply define LARGE_OFF_T to be 9223372036854775807,
4382 since some C++ compilers masquerading as C compilers
4383 incorrectly reject 9223372036854775807. */
4384 #define LARGE_OFF_T (((off_t) 1 << 62) - 1 + ((off_t) 1 << 62))
4385 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
4386 && LARGE_OFF_T % 2147483647 == 1)
4396 if ac_fn_c_try_compile "$LINENO"; then :
4397 ac_cv_sys_large_files=no; break
4399 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4400 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4401 /* end confdefs.h. */
4402 #define _LARGE_FILES 1
4403 #include <sys/types.h>
4404 /* Check that off_t can represent 2**63 - 1 correctly.
4405 We can't simply define LARGE_OFF_T to be 9223372036854775807,
4406 since some C++ compilers masquerading as C compilers
4407 incorrectly reject 9223372036854775807. */
4408 #define LARGE_OFF_T (((off_t) 1 << 62) - 1 + ((off_t) 1 << 62))
4409 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
4410 && LARGE_OFF_T % 2147483647 == 1)
4420 if ac_fn_c_try_compile "$LINENO"; then :
4421 ac_cv_sys_large_files=1; break
4423 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4424 ac_cv_sys_large_files=unknown
4428 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sys_large_files" >&5
4429 $as_echo "$ac_cv_sys_large_files" >&6; }
4430 case $ac_cv_sys_large_files in #(
4433 cat >>confdefs.h <<_ACEOF
4434 #define _LARGE_FILES $ac_cv_sys_large_files
4443 # Make sure we can run config.sub.
4444 $SHELL "$ac_aux_dir/config.sub" sun4 >/dev/null 2>&1 ||
4445 as_fn_error $? "cannot run $SHELL $ac_aux_dir/config.sub" "$LINENO" 5
4447 { $as_echo "$as_me:${as_lineno-$LINENO}: checking build system type" >&5
4448 $as_echo_n "checking build system type... " >&6; }
4449 if ${ac_cv_build+:} false; then :
4450 $as_echo_n "(cached) " >&6
4452 ac_build_alias=$build_alias
4453 test "x$ac_build_alias" = x &&
4454 ac_build_alias=`$SHELL "$ac_aux_dir/config.guess"`
4455 test "x$ac_build_alias" = x &&
4456 as_fn_error $? "cannot guess build type; you must specify one" "$LINENO" 5
4457 ac_cv_build=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
4458 as_fn_error $? "$SHELL $ac_aux_dir/config.sub $ac_build_alias failed" "$LINENO" 5
4461 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_build" >&5
4462 $as_echo "$ac_cv_build" >&6; }
4463 case $ac_cv_build in
4465 *) as_fn_error $? "invalid value of canonical build" "$LINENO" 5;;
4468 ac_save_IFS=$IFS; IFS='-'
4474 # Remember, the first character of IFS is used to create $*,
4475 # except with old shells:
4478 case $build_os in *\ *) build_os=`echo "$build_os" | sed 's/ /-/g'`;; esac
4481 { $as_echo "$as_me:${as_lineno-$LINENO}: checking host system type" >&5
4482 $as_echo_n "checking host system type... " >&6; }
4483 if ${ac_cv_host+:} false; then :
4484 $as_echo_n "(cached) " >&6
4486 if test "x$host_alias" = x; then
4487 ac_cv_host=$ac_cv_build
4489 ac_cv_host=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
4490 as_fn_error $? "$SHELL $ac_aux_dir/config.sub $host_alias failed" "$LINENO" 5
4494 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_host" >&5
4495 $as_echo "$ac_cv_host" >&6; }
4498 *) as_fn_error $? "invalid value of canonical host" "$LINENO" 5;;
4501 ac_save_IFS=$IFS; IFS='-'
4507 # Remember, the first character of IFS is used to create $*,
4508 # except with old shells:
4511 case $host_os in *\ *) host_os=`echo "$host_os" | sed 's/ /-/g'`;; esac
4514 enable_win32_dll=yes
4517 *-*-cygwin* | *-*-mingw* | *-*-pw32* | *-*-cegcc*)
4518 if test -n "$ac_tool_prefix"; then
4519 # Extract the first word of "${ac_tool_prefix}as", so it can be a program name with args.
4520 set dummy ${ac_tool_prefix}as; ac_word=$2
4521 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4522 $as_echo_n "checking for $ac_word... " >&6; }
4523 if ${ac_cv_prog_AS+:} false; then :
4524 $as_echo_n "(cached) " >&6
4526 if test -n "$AS"; then
4527 ac_cv_prog_AS="$AS" # Let the user override the test.
4529 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4533 test -z "$as_dir" && as_dir=.
4534 for ac_exec_ext in '' $ac_executable_extensions; do
4535 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4536 ac_cv_prog_AS="${ac_tool_prefix}as"
4537 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4547 if test -n "$AS"; then
4548 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AS" >&5
4549 $as_echo "$AS" >&6; }
4551 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4552 $as_echo "no" >&6; }
4557 if test -z "$ac_cv_prog_AS"; then
4559 # Extract the first word of "as", so it can be a program name with args.
4560 set dummy as; ac_word=$2
4561 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4562 $as_echo_n "checking for $ac_word... " >&6; }
4563 if ${ac_cv_prog_ac_ct_AS+:} false; then :
4564 $as_echo_n "(cached) " >&6
4566 if test -n "$ac_ct_AS"; then
4567 ac_cv_prog_ac_ct_AS="$ac_ct_AS" # Let the user override the test.
4569 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4573 test -z "$as_dir" && as_dir=.
4574 for ac_exec_ext in '' $ac_executable_extensions; do
4575 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4576 ac_cv_prog_ac_ct_AS="as"
4577 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4586 ac_ct_AS=$ac_cv_prog_ac_ct_AS
4587 if test -n "$ac_ct_AS"; then
4588 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_AS" >&5
4589 $as_echo "$ac_ct_AS" >&6; }
4591 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4592 $as_echo "no" >&6; }
4595 if test "x$ac_ct_AS" = x; then
4598 case $cross_compiling:$ac_tool_warned in
4600 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4601 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4602 ac_tool_warned=yes ;;
4610 if test -n "$ac_tool_prefix"; then
4611 # Extract the first word of "${ac_tool_prefix}dlltool", so it can be a program name with args.
4612 set dummy ${ac_tool_prefix}dlltool; ac_word=$2
4613 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4614 $as_echo_n "checking for $ac_word... " >&6; }
4615 if ${ac_cv_prog_DLLTOOL+:} false; then :
4616 $as_echo_n "(cached) " >&6
4618 if test -n "$DLLTOOL"; then
4619 ac_cv_prog_DLLTOOL="$DLLTOOL" # Let the user override the test.
4621 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4625 test -z "$as_dir" && as_dir=.
4626 for ac_exec_ext in '' $ac_executable_extensions; do
4627 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4628 ac_cv_prog_DLLTOOL="${ac_tool_prefix}dlltool"
4629 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4638 DLLTOOL=$ac_cv_prog_DLLTOOL
4639 if test -n "$DLLTOOL"; then
4640 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DLLTOOL" >&5
4641 $as_echo "$DLLTOOL" >&6; }
4643 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4644 $as_echo "no" >&6; }
4649 if test -z "$ac_cv_prog_DLLTOOL"; then
4650 ac_ct_DLLTOOL=$DLLTOOL
4651 # Extract the first word of "dlltool", so it can be a program name with args.
4652 set dummy dlltool; ac_word=$2
4653 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4654 $as_echo_n "checking for $ac_word... " >&6; }
4655 if ${ac_cv_prog_ac_ct_DLLTOOL+:} false; then :
4656 $as_echo_n "(cached) " >&6
4658 if test -n "$ac_ct_DLLTOOL"; then
4659 ac_cv_prog_ac_ct_DLLTOOL="$ac_ct_DLLTOOL" # Let the user override the test.
4661 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4665 test -z "$as_dir" && as_dir=.
4666 for ac_exec_ext in '' $ac_executable_extensions; do
4667 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4668 ac_cv_prog_ac_ct_DLLTOOL="dlltool"
4669 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4678 ac_ct_DLLTOOL=$ac_cv_prog_ac_ct_DLLTOOL
4679 if test -n "$ac_ct_DLLTOOL"; then
4680 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DLLTOOL" >&5
4681 $as_echo "$ac_ct_DLLTOOL" >&6; }
4683 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4684 $as_echo "no" >&6; }
4687 if test "x$ac_ct_DLLTOOL" = x; then
4690 case $cross_compiling:$ac_tool_warned in
4692 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4693 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4694 ac_tool_warned=yes ;;
4696 DLLTOOL=$ac_ct_DLLTOOL
4699 DLLTOOL="$ac_cv_prog_DLLTOOL"
4702 if test -n "$ac_tool_prefix"; then
4703 # Extract the first word of "${ac_tool_prefix}objdump", so it can be a program name with args.
4704 set dummy ${ac_tool_prefix}objdump; ac_word=$2
4705 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4706 $as_echo_n "checking for $ac_word... " >&6; }
4707 if ${ac_cv_prog_OBJDUMP+:} false; then :
4708 $as_echo_n "(cached) " >&6
4710 if test -n "$OBJDUMP"; then
4711 ac_cv_prog_OBJDUMP="$OBJDUMP" # Let the user override the test.
4713 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4717 test -z "$as_dir" && as_dir=.
4718 for ac_exec_ext in '' $ac_executable_extensions; do
4719 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4720 ac_cv_prog_OBJDUMP="${ac_tool_prefix}objdump"
4721 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4730 OBJDUMP=$ac_cv_prog_OBJDUMP
4731 if test -n "$OBJDUMP"; then
4732 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OBJDUMP" >&5
4733 $as_echo "$OBJDUMP" >&6; }
4735 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4736 $as_echo "no" >&6; }
4741 if test -z "$ac_cv_prog_OBJDUMP"; then
4742 ac_ct_OBJDUMP=$OBJDUMP
4743 # Extract the first word of "objdump", so it can be a program name with args.
4744 set dummy objdump; ac_word=$2
4745 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4746 $as_echo_n "checking for $ac_word... " >&6; }
4747 if ${ac_cv_prog_ac_ct_OBJDUMP+:} false; then :
4748 $as_echo_n "(cached) " >&6
4750 if test -n "$ac_ct_OBJDUMP"; then
4751 ac_cv_prog_ac_ct_OBJDUMP="$ac_ct_OBJDUMP" # Let the user override the test.
4753 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4757 test -z "$as_dir" && as_dir=.
4758 for ac_exec_ext in '' $ac_executable_extensions; do
4759 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4760 ac_cv_prog_ac_ct_OBJDUMP="objdump"
4761 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4770 ac_ct_OBJDUMP=$ac_cv_prog_ac_ct_OBJDUMP
4771 if test -n "$ac_ct_OBJDUMP"; then
4772 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OBJDUMP" >&5
4773 $as_echo "$ac_ct_OBJDUMP" >&6; }
4775 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4776 $as_echo "no" >&6; }
4779 if test "x$ac_ct_OBJDUMP" = x; then
4782 case $cross_compiling:$ac_tool_warned in
4784 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4785 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4786 ac_tool_warned=yes ;;
4788 OBJDUMP=$ac_ct_OBJDUMP
4791 OBJDUMP="$ac_cv_prog_OBJDUMP"
4797 test -z "$AS" && AS=as
4803 test -z "$DLLTOOL" && DLLTOOL=dlltool
4809 test -z "$OBJDUMP" && OBJDUMP=objdump
4819 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Libtool does not cope well with whitespace in \`pwd\`" >&5
4820 $as_echo "$as_me: WARNING: Libtool does not cope well with whitespace in \`pwd\`" >&2;} ;;
4825 macro_version='2.4.2'
4826 macro_revision='1.3337'
4840 ltmain="$ac_aux_dir/ltmain.sh"
4842 # Backslashify metacharacters that are still active within
4843 # double-quoted strings.
4844 sed_quote_subst='s/\(["`$\\]\)/\\\1/g'
4846 # Same as above, but do not quote variable references.
4847 double_quote_subst='s/\(["`\\]\)/\\\1/g'
4849 # Sed substitution to delay expansion of an escaped shell variable in a
4850 # double_quote_subst'ed string.
4851 delay_variable_subst='s/\\\\\\\\\\\$/\\\\\\$/g'
4853 # Sed substitution to delay expansion of an escaped single quote.
4854 delay_single_quote_subst='s/'\''/'\'\\\\\\\'\''/g'
4856 # Sed substitution to avoid accidental globbing in evaled expressions
4857 no_glob_subst='s/\*/\\\*/g'
4859 ECHO='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
4860 ECHO=$ECHO$ECHO$ECHO$ECHO$ECHO
4861 ECHO=$ECHO$ECHO$ECHO$ECHO$ECHO$ECHO
4863 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to print strings" >&5
4864 $as_echo_n "checking how to print strings... " >&6; }
4865 # Test print first, because it will be a builtin if present.
4866 if test "X`( print -r -- -n ) 2>/dev/null`" = X-n && \
4867 test "X`print -r -- $ECHO 2>/dev/null`" = "X$ECHO"; then
4869 elif test "X`printf %s $ECHO 2>/dev/null`" = "X$ECHO"; then
4872 # Use this function as a fallback that always works.
4873 func_fallback_echo ()
4875 eval 'cat <<_LTECHO_EOF
4879 ECHO='func_fallback_echo'
4882 # func_echo_all arg...
4883 # Invoke $ECHO with all args, space-separated.
4890 printf*) { $as_echo "$as_me:${as_lineno-$LINENO}: result: printf" >&5
4891 $as_echo "printf" >&6; } ;;
4892 print*) { $as_echo "$as_me:${as_lineno-$LINENO}: result: print -r" >&5
4893 $as_echo "print -r" >&6; } ;;
4894 *) { $as_echo "$as_me:${as_lineno-$LINENO}: result: cat" >&5
4895 $as_echo "cat" >&6; } ;;
4911 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a sed that does not truncate output" >&5
4912 $as_echo_n "checking for a sed that does not truncate output... " >&6; }
4913 if ${ac_cv_path_SED+:} false; then :
4914 $as_echo_n "(cached) " >&6
4916 ac_script=s/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa/bbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbb/
4917 for ac_i in 1 2 3 4 5 6 7; do
4918 ac_script="$ac_script$as_nl$ac_script"
4920 echo "$ac_script" 2>/dev/null | sed 99q >conftest.sed
4921 { ac_script=; unset ac_script;}
4922 if test -z "$SED"; then
4923 ac_path_SED_found=false
4924 # Loop through the user's path and test for each of PROGNAME-LIST
4925 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4929 test -z "$as_dir" && as_dir=.
4930 for ac_prog in sed gsed; do
4931 for ac_exec_ext in '' $ac_executable_extensions; do
4932 ac_path_SED="$as_dir/$ac_prog$ac_exec_ext"
4933 { test -f "$ac_path_SED" && $as_test_x "$ac_path_SED"; } || continue
4934 # Check for GNU ac_path_SED and select it if it is found.
4935 # Check for GNU $ac_path_SED
4936 case `"$ac_path_SED" --version 2>&1` in
4938 ac_cv_path_SED="$ac_path_SED" ac_path_SED_found=:;;
4941 $as_echo_n 0123456789 >"conftest.in"
4944 cat "conftest.in" "conftest.in" >"conftest.tmp"
4945 mv "conftest.tmp" "conftest.in"
4946 cp "conftest.in" "conftest.nl"
4947 $as_echo '' >> "conftest.nl"
4948 "$ac_path_SED" -f conftest.sed < "conftest.nl" >"conftest.out" 2>/dev/null || break
4949 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
4950 as_fn_arith $ac_count + 1 && ac_count=$as_val
4951 if test $ac_count -gt ${ac_path_SED_max-0}; then
4952 # Best one so far, save it but keep looking for a better one
4953 ac_cv_path_SED="$ac_path_SED"
4954 ac_path_SED_max=$ac_count
4956 # 10*(2^10) chars as input seems more than enough
4957 test $ac_count -gt 10 && break
4959 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
4962 $ac_path_SED_found && break 3
4967 if test -z "$ac_cv_path_SED"; then
4968 as_fn_error $? "no acceptable sed could be found in \$PATH" "$LINENO" 5
4975 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_SED" >&5
4976 $as_echo "$ac_cv_path_SED" >&6; }
4977 SED="$ac_cv_path_SED"
4980 test -z "$SED" && SED=sed
4981 Xsed="$SED -e 1s/^X//"
4993 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fgrep" >&5
4994 $as_echo_n "checking for fgrep... " >&6; }
4995 if ${ac_cv_path_FGREP+:} false; then :
4996 $as_echo_n "(cached) " >&6
4998 if echo 'ab*c' | $GREP -F 'ab*c' >/dev/null 2>&1
4999 then ac_cv_path_FGREP="$GREP -F"
5001 if test -z "$FGREP"; then
5002 ac_path_FGREP_found=false
5003 # Loop through the user's path and test for each of PROGNAME-LIST
5004 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5005 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
5008 test -z "$as_dir" && as_dir=.
5009 for ac_prog in fgrep; do
5010 for ac_exec_ext in '' $ac_executable_extensions; do
5011 ac_path_FGREP="$as_dir/$ac_prog$ac_exec_ext"
5012 { test -f "$ac_path_FGREP" && $as_test_x "$ac_path_FGREP"; } || continue
5013 # Check for GNU ac_path_FGREP and select it if it is found.
5014 # Check for GNU $ac_path_FGREP
5015 case `"$ac_path_FGREP" --version 2>&1` in
5017 ac_cv_path_FGREP="$ac_path_FGREP" ac_path_FGREP_found=:;;
5020 $as_echo_n 0123456789 >"conftest.in"
5023 cat "conftest.in" "conftest.in" >"conftest.tmp"
5024 mv "conftest.tmp" "conftest.in"
5025 cp "conftest.in" "conftest.nl"
5026 $as_echo 'FGREP' >> "conftest.nl"
5027 "$ac_path_FGREP" FGREP < "conftest.nl" >"conftest.out" 2>/dev/null || break
5028 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
5029 as_fn_arith $ac_count + 1 && ac_count=$as_val
5030 if test $ac_count -gt ${ac_path_FGREP_max-0}; then
5031 # Best one so far, save it but keep looking for a better one
5032 ac_cv_path_FGREP="$ac_path_FGREP"
5033 ac_path_FGREP_max=$ac_count
5035 # 10*(2^10) chars as input seems more than enough
5036 test $ac_count -gt 10 && break
5038 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
5041 $ac_path_FGREP_found && break 3
5046 if test -z "$ac_cv_path_FGREP"; then
5047 as_fn_error $? "no acceptable fgrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
5050 ac_cv_path_FGREP=$FGREP
5055 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_FGREP" >&5
5056 $as_echo "$ac_cv_path_FGREP" >&6; }
5057 FGREP="$ac_cv_path_FGREP"
5060 test -z "$GREP" && GREP=grep
5080 # Check whether --with-gnu-ld was given.
5081 if test "${with_gnu_ld+set}" = set; then :
5082 withval=$with_gnu_ld; test "$withval" = no || with_gnu_ld=yes
5088 if test "$GCC" = yes; then
5089 # Check if gcc -print-prog-name=ld gives a path.
5090 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld used by $CC" >&5
5091 $as_echo_n "checking for ld used by $CC... " >&6; }
5094 # gcc leaves a trailing carriage return which upsets mingw
5095 ac_prog=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
5097 ac_prog=`($CC -print-prog-name=ld) 2>&5` ;;
5100 # Accept absolute paths.
5102 re_direlt='/[^/][^/]*/\.\./'
5103 # Canonicalize the pathname of ld
5104 ac_prog=`$ECHO "$ac_prog"| $SED 's%\\\\%/%g'`
5105 while $ECHO "$ac_prog" | $GREP "$re_direlt" > /dev/null 2>&1; do
5106 ac_prog=`$ECHO $ac_prog| $SED "s%$re_direlt%/%"`
5108 test -z "$LD" && LD="$ac_prog"
5111 # If it fails, then pretend we aren't using GCC.
5115 # If it is relative, then search for the first ld in PATH.
5119 elif test "$with_gnu_ld" = yes; then
5120 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU ld" >&5
5121 $as_echo_n "checking for GNU ld... " >&6; }
5123 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for non-GNU ld" >&5
5124 $as_echo_n "checking for non-GNU ld... " >&6; }
5126 if ${lt_cv_path_LD+:} false; then :
5127 $as_echo_n "(cached) " >&6
5129 if test -z "$LD"; then
5130 lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
5131 for ac_dir in $PATH; do
5133 test -z "$ac_dir" && ac_dir=.
5134 if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then
5135 lt_cv_path_LD="$ac_dir/$ac_prog"
5136 # Check to see if the program is GNU ld. I'd rather use --version,
5137 # but apparently some variants of GNU ld only accept -v.
5138 # Break only if it was the GNU/non-GNU ld that we prefer.
5139 case `"$lt_cv_path_LD" -v 2>&1 </dev/null` in
5140 *GNU* | *'with BFD'*)
5141 test "$with_gnu_ld" != no && break
5144 test "$with_gnu_ld" != yes && break
5151 lt_cv_path_LD="$LD" # Let the user override the test with a path.
5156 if test -n "$LD"; then
5157 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LD" >&5
5158 $as_echo "$LD" >&6; }
5160 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5161 $as_echo "no" >&6; }
5163 test -z "$LD" && as_fn_error $? "no acceptable ld found in \$PATH" "$LINENO" 5
5164 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if the linker ($LD) is GNU ld" >&5
5165 $as_echo_n "checking if the linker ($LD) is GNU ld... " >&6; }
5166 if ${lt_cv_prog_gnu_ld+:} false; then :
5167 $as_echo_n "(cached) " >&6
5169 # I'd rather use --version here, but apparently some GNU lds only accept -v.
5170 case `$LD -v 2>&1 </dev/null` in
5171 *GNU* | *'with BFD'*)
5172 lt_cv_prog_gnu_ld=yes
5175 lt_cv_prog_gnu_ld=no
5179 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_gnu_ld" >&5
5180 $as_echo "$lt_cv_prog_gnu_ld" >&6; }
5181 with_gnu_ld=$lt_cv_prog_gnu_ld
5191 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for BSD- or MS-compatible name lister (nm)" >&5
5192 $as_echo_n "checking for BSD- or MS-compatible name lister (nm)... " >&6; }
5193 if ${lt_cv_path_NM+:} false; then :
5194 $as_echo_n "(cached) " >&6
5196 if test -n "$NM"; then
5197 # Let the user override the test.
5200 lt_nm_to_check="${ac_tool_prefix}nm"
5201 if test -n "$ac_tool_prefix" && test "$build" = "$host"; then
5202 lt_nm_to_check="$lt_nm_to_check nm"
5204 for lt_tmp_nm in $lt_nm_to_check; do
5205 lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
5206 for ac_dir in $PATH /usr/ccs/bin/elf /usr/ccs/bin /usr/ucb /bin; do
5208 test -z "$ac_dir" && ac_dir=.
5209 tmp_nm="$ac_dir/$lt_tmp_nm"
5210 if test -f "$tmp_nm" || test -f "$tmp_nm$ac_exeext" ; then
5211 # Check to see if the nm accepts a BSD-compat flag.
5212 # Adding the `sed 1q' prevents false positives on HP-UX, which says:
5213 # nm: unknown option "B" ignored
5214 # Tru64's nm complains that /dev/null is an invalid object file
5215 case `"$tmp_nm" -B /dev/null 2>&1 | sed '1q'` in
5216 */dev/null* | *'Invalid file or object type'*)
5217 lt_cv_path_NM="$tmp_nm -B"
5221 case `"$tmp_nm" -p /dev/null 2>&1 | sed '1q'` in
5223 lt_cv_path_NM="$tmp_nm -p"
5227 lt_cv_path_NM=${lt_cv_path_NM="$tmp_nm"} # keep the first match, but
5228 continue # so that we can try to find one that supports BSD flags
5237 : ${lt_cv_path_NM=no}
5240 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_path_NM" >&5
5241 $as_echo "$lt_cv_path_NM" >&6; }
5242 if test "$lt_cv_path_NM" != "no"; then
5245 # Didn't find any BSD compatible name lister, look for dumpbin.
5246 if test -n "$DUMPBIN"; then :
5247 # Let the user override the test.
5249 if test -n "$ac_tool_prefix"; then
5250 for ac_prog in dumpbin "link -dump"
5252 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
5253 set dummy $ac_tool_prefix$ac_prog; 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_DUMPBIN+:} false; then :
5257 $as_echo_n "(cached) " >&6
5259 if test -n "$DUMPBIN"; then
5260 ac_cv_prog_DUMPBIN="$DUMPBIN" # 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_DUMPBIN="$ac_tool_prefix$ac_prog"
5270 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5279 DUMPBIN=$ac_cv_prog_DUMPBIN
5280 if test -n "$DUMPBIN"; then
5281 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DUMPBIN" >&5
5282 $as_echo "$DUMPBIN" >&6; }
5284 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5285 $as_echo "no" >&6; }
5289 test -n "$DUMPBIN" && break
5292 if test -z "$DUMPBIN"; then
5293 ac_ct_DUMPBIN=$DUMPBIN
5294 for ac_prog in dumpbin "link -dump"
5296 # Extract the first word of "$ac_prog", so it can be a program name with args.
5297 set dummy $ac_prog; ac_word=$2
5298 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5299 $as_echo_n "checking for $ac_word... " >&6; }
5300 if ${ac_cv_prog_ac_ct_DUMPBIN+:} false; then :
5301 $as_echo_n "(cached) " >&6
5303 if test -n "$ac_ct_DUMPBIN"; then
5304 ac_cv_prog_ac_ct_DUMPBIN="$ac_ct_DUMPBIN" # Let the user override the test.
5306 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5310 test -z "$as_dir" && as_dir=.
5311 for ac_exec_ext in '' $ac_executable_extensions; do
5312 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5313 ac_cv_prog_ac_ct_DUMPBIN="$ac_prog"
5314 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5323 ac_ct_DUMPBIN=$ac_cv_prog_ac_ct_DUMPBIN
5324 if test -n "$ac_ct_DUMPBIN"; then
5325 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DUMPBIN" >&5
5326 $as_echo "$ac_ct_DUMPBIN" >&6; }
5328 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5329 $as_echo "no" >&6; }
5333 test -n "$ac_ct_DUMPBIN" && break
5336 if test "x$ac_ct_DUMPBIN" = x; then
5339 case $cross_compiling:$ac_tool_warned in
5341 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5342 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5343 ac_tool_warned=yes ;;
5345 DUMPBIN=$ac_ct_DUMPBIN
5349 case `$DUMPBIN -symbols /dev/null 2>&1 | sed '1q'` in
5351 DUMPBIN="$DUMPBIN -symbols"
5359 if test "$DUMPBIN" != ":"; then
5363 test -z "$NM" && NM=nm
5370 { $as_echo "$as_me:${as_lineno-$LINENO}: checking the name lister ($NM) interface" >&5
5371 $as_echo_n "checking the name lister ($NM) interface... " >&6; }
5372 if ${lt_cv_nm_interface+:} false; then :
5373 $as_echo_n "(cached) " >&6
5375 lt_cv_nm_interface="BSD nm"
5376 echo "int some_variable = 0;" > conftest.$ac_ext
5377 (eval echo "\"\$as_me:$LINENO: $ac_compile\"" >&5)
5378 (eval "$ac_compile" 2>conftest.err)
5379 cat conftest.err >&5
5380 (eval echo "\"\$as_me:$LINENO: $NM \\\"conftest.$ac_objext\\\"\"" >&5)
5381 (eval "$NM \"conftest.$ac_objext\"" 2>conftest.err > conftest.out)
5382 cat conftest.err >&5
5383 (eval echo "\"\$as_me:$LINENO: output\"" >&5)
5384 cat conftest.out >&5
5385 if $GREP 'External.*some_variable' conftest.out > /dev/null; then
5386 lt_cv_nm_interface="MS dumpbin"
5390 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_nm_interface" >&5
5391 $as_echo "$lt_cv_nm_interface" >&6; }
5393 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ln -s works" >&5
5394 $as_echo_n "checking whether ln -s works... " >&6; }
5396 if test "$LN_S" = "ln -s"; then
5397 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
5398 $as_echo "yes" >&6; }
5400 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no, using $LN_S" >&5
5401 $as_echo "no, using $LN_S" >&6; }
5404 # find the maximum length of command line arguments
5405 { $as_echo "$as_me:${as_lineno-$LINENO}: checking the maximum length of command line arguments" >&5
5406 $as_echo_n "checking the maximum length of command line arguments... " >&6; }
5407 if ${lt_cv_sys_max_cmd_len+:} false; then :
5408 $as_echo_n "(cached) " >&6
5415 # On DJGPP, this test can blow up pretty badly due to problems in libc
5416 # (any single argument exceeding 2000 bytes causes a buffer overrun
5417 # during glob expansion). Even if it were fixed, the result of this
5418 # check would be larger than it should be.
5419 lt_cv_sys_max_cmd_len=12288; # 12K is about right
5423 # Under GNU Hurd, this test is not required because there is
5424 # no limit to the length of command line arguments.
5425 # Libtool will interpret -1 as no limit whatsoever
5426 lt_cv_sys_max_cmd_len=-1;
5429 cygwin* | mingw* | cegcc*)
5430 # On Win9x/ME, this test blows up -- it succeeds, but takes
5431 # about 5 minutes as the teststring grows exponentially.
5432 # Worse, since 9x/ME are not pre-emptively multitasking,
5433 # you end up with a "frozen" computer, even though with patience
5434 # the test eventually succeeds (with a max line length of 256k).
5435 # Instead, let's just punt: use the minimum linelength reported by
5436 # all of the supported platforms: 8192 (on NT/2K/XP).
5437 lt_cv_sys_max_cmd_len=8192;
5441 # On MiNT this can take a long time and run out of memory.
5442 lt_cv_sys_max_cmd_len=8192;
5446 # On AmigaOS with pdksh, this test takes hours, literally.
5447 # So we just punt and use a minimum line length of 8192.
5448 lt_cv_sys_max_cmd_len=8192;
5451 netbsd* | freebsd* | openbsd* | darwin* | dragonfly*)
5452 # This has been around since 386BSD, at least. Likely further.
5453 if test -x /sbin/sysctl; then
5454 lt_cv_sys_max_cmd_len=`/sbin/sysctl -n kern.argmax`
5455 elif test -x /usr/sbin/sysctl; then
5456 lt_cv_sys_max_cmd_len=`/usr/sbin/sysctl -n kern.argmax`
5458 lt_cv_sys_max_cmd_len=65536 # usable default for all BSDs
5460 # And add a safety zone
5461 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4`
5462 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3`
5466 # We know the value 262144 and hardcode it with a safety zone (like BSD)
5467 lt_cv_sys_max_cmd_len=196608
5471 # The test takes a long time on OS/2.
5472 lt_cv_sys_max_cmd_len=8192
5476 # Dr. Hans Ekkehard Plesser reports seeing a kernel panic running configure
5477 # due to this test when exec_disable_arg_limit is 1 on Tru64. It is not
5478 # nice to cause kernel panics so lets avoid the loop below.
5479 # First set a reasonable default.
5480 lt_cv_sys_max_cmd_len=16384
5482 if test -x /sbin/sysconfig; then
5483 case `/sbin/sysconfig -q proc exec_disable_arg_limit` in
5484 *1*) lt_cv_sys_max_cmd_len=-1 ;;
5489 lt_cv_sys_max_cmd_len=102400
5491 sysv5* | sco5v6* | sysv4.2uw2*)
5492 kargmax=`grep ARG_MAX /etc/conf/cf.d/stune 2>/dev/null`
5493 if test -n "$kargmax"; then
5494 lt_cv_sys_max_cmd_len=`echo $kargmax | sed 's/.*[ ]//'`
5496 lt_cv_sys_max_cmd_len=32768
5500 lt_cv_sys_max_cmd_len=`(getconf ARG_MAX) 2> /dev/null`
5501 if test -n "$lt_cv_sys_max_cmd_len"; then
5502 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4`
5503 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3`
5505 # Make teststring a little bigger before we do anything with it.
5506 # a 1K string should be a reasonable start.
5507 for i in 1 2 3 4 5 6 7 8 ; do
5508 teststring=$teststring$teststring
5510 SHELL=${SHELL-${CONFIG_SHELL-/bin/sh}}
5511 # If test is not a shell built-in, we'll probably end up computing a
5512 # maximum length that is only half of the actual maximum length, but
5514 while { test "X"`env echo "$teststring$teststring" 2>/dev/null` \
5515 = "X$teststring$teststring"; } >/dev/null 2>&1 &&
5516 test $i != 17 # 1/2 MB should be enough
5519 teststring=$teststring$teststring
5521 # Only check the string length outside the loop.
5522 lt_cv_sys_max_cmd_len=`expr "X$teststring" : ".*" 2>&1`
5524 # Add a significant safety factor because C++ compilers can tack on
5525 # massive amounts of additional arguments before passing them to the
5526 # linker. It appears as though 1/2 is a usable value.
5527 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 2`
5534 if test -n $lt_cv_sys_max_cmd_len ; then
5535 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_sys_max_cmd_len" >&5
5536 $as_echo "$lt_cv_sys_max_cmd_len" >&6; }
5538 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none" >&5
5539 $as_echo "none" >&6; }
5541 max_cmd_len=$lt_cv_sys_max_cmd_len
5552 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the shell understands some XSI constructs" >&5
5553 $as_echo_n "checking whether the shell understands some XSI constructs... " >&6; }
5554 # Try some XSI features
5557 test "${_lt_dummy##*/},${_lt_dummy%/*},${_lt_dummy#??}"${_lt_dummy%"$_lt_dummy"}, \
5559 && eval 'test $(( 1 + 1 )) -eq 2 \
5560 && test "${#_lt_dummy}" -eq 5' ) >/dev/null 2>&1 \
5562 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xsi_shell" >&5
5563 $as_echo "$xsi_shell" >&6; }
5566 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the shell understands \"+=\"" >&5
5567 $as_echo_n "checking whether the shell understands \"+=\"... " >&6; }
5569 ( foo=bar; set foo baz; eval "$1+=\$2" && test "$foo" = barbaz ) \
5571 && lt_shell_append=yes
5572 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_shell_append" >&5
5573 $as_echo "$lt_shell_append" >&6; }
5576 if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
5586 # test EBCDIC or ASCII
5587 case `echo X|tr X '\101'` in
5588 A) # ASCII based system
5589 # \n is not interpreted correctly by Solaris 8 /usr/ucb/tr
5590 lt_SP2NL='tr \040 \012'
5591 lt_NL2SP='tr \015\012 \040\040'
5593 *) # EBCDIC based system
5594 lt_SP2NL='tr \100 \n'
5595 lt_NL2SP='tr \r\n \100\100'
5607 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to convert $build file names to $host format" >&5
5608 $as_echo_n "checking how to convert $build file names to $host format... " >&6; }
5609 if ${lt_cv_to_host_file_cmd+:} false; then :
5610 $as_echo_n "(cached) " >&6
5615 *-*-mingw* ) # actually msys
5616 lt_cv_to_host_file_cmd=func_convert_file_msys_to_w32
5619 lt_cv_to_host_file_cmd=func_convert_file_cygwin_to_w32
5621 * ) # otherwise, assume *nix
5622 lt_cv_to_host_file_cmd=func_convert_file_nix_to_w32
5628 *-*-mingw* ) # actually msys
5629 lt_cv_to_host_file_cmd=func_convert_file_msys_to_cygwin
5632 lt_cv_to_host_file_cmd=func_convert_file_noop
5634 * ) # otherwise, assume *nix
5635 lt_cv_to_host_file_cmd=func_convert_file_nix_to_cygwin
5639 * ) # unhandled hosts (and "normal" native builds)
5640 lt_cv_to_host_file_cmd=func_convert_file_noop
5646 to_host_file_cmd=$lt_cv_to_host_file_cmd
5647 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_to_host_file_cmd" >&5
5648 $as_echo "$lt_cv_to_host_file_cmd" >&6; }
5654 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to convert $build file names to toolchain format" >&5
5655 $as_echo_n "checking how to convert $build file names to toolchain format... " >&6; }
5656 if ${lt_cv_to_tool_file_cmd+:} false; then :
5657 $as_echo_n "(cached) " >&6
5659 #assume ordinary cross tools, or native build.
5660 lt_cv_to_tool_file_cmd=func_convert_file_noop
5664 *-*-mingw* ) # actually msys
5665 lt_cv_to_tool_file_cmd=func_convert_file_msys_to_w32
5673 to_tool_file_cmd=$lt_cv_to_tool_file_cmd
5674 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_to_tool_file_cmd" >&5
5675 $as_echo "$lt_cv_to_tool_file_cmd" >&6; }
5681 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $LD option to reload object files" >&5
5682 $as_echo_n "checking for $LD option to reload object files... " >&6; }
5683 if ${lt_cv_ld_reload_flag+:} false; then :
5684 $as_echo_n "(cached) " >&6
5686 lt_cv_ld_reload_flag='-r'
5688 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_reload_flag" >&5
5689 $as_echo "$lt_cv_ld_reload_flag" >&6; }
5690 reload_flag=$lt_cv_ld_reload_flag
5691 case $reload_flag in
5693 *) reload_flag=" $reload_flag" ;;
5695 reload_cmds='$LD$reload_flag -o $output$reload_objs'
5697 cygwin* | mingw* | pw32* | cegcc*)
5698 if test "$GCC" != yes; then
5703 if test "$GCC" = yes; then
5704 reload_cmds='$LTCC $LTCFLAGS -nostdlib ${wl}-r -o $output$reload_objs'
5706 reload_cmds='$LD$reload_flag -o $output$reload_objs'
5719 if test -n "$ac_tool_prefix"; then
5720 # Extract the first word of "${ac_tool_prefix}objdump", so it can be a program name with args.
5721 set dummy ${ac_tool_prefix}objdump; ac_word=$2
5722 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5723 $as_echo_n "checking for $ac_word... " >&6; }
5724 if ${ac_cv_prog_OBJDUMP+:} false; then :
5725 $as_echo_n "(cached) " >&6
5727 if test -n "$OBJDUMP"; then
5728 ac_cv_prog_OBJDUMP="$OBJDUMP" # Let the user override the test.
5730 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5734 test -z "$as_dir" && as_dir=.
5735 for ac_exec_ext in '' $ac_executable_extensions; do
5736 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5737 ac_cv_prog_OBJDUMP="${ac_tool_prefix}objdump"
5738 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5747 OBJDUMP=$ac_cv_prog_OBJDUMP
5748 if test -n "$OBJDUMP"; then
5749 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OBJDUMP" >&5
5750 $as_echo "$OBJDUMP" >&6; }
5752 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5753 $as_echo "no" >&6; }
5758 if test -z "$ac_cv_prog_OBJDUMP"; then
5759 ac_ct_OBJDUMP=$OBJDUMP
5760 # Extract the first word of "objdump", so it can be a program name with args.
5761 set dummy objdump; ac_word=$2
5762 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5763 $as_echo_n "checking for $ac_word... " >&6; }
5764 if ${ac_cv_prog_ac_ct_OBJDUMP+:} false; then :
5765 $as_echo_n "(cached) " >&6
5767 if test -n "$ac_ct_OBJDUMP"; then
5768 ac_cv_prog_ac_ct_OBJDUMP="$ac_ct_OBJDUMP" # Let the user override the test.
5770 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5774 test -z "$as_dir" && as_dir=.
5775 for ac_exec_ext in '' $ac_executable_extensions; do
5776 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5777 ac_cv_prog_ac_ct_OBJDUMP="objdump"
5778 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5787 ac_ct_OBJDUMP=$ac_cv_prog_ac_ct_OBJDUMP
5788 if test -n "$ac_ct_OBJDUMP"; then
5789 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OBJDUMP" >&5
5790 $as_echo "$ac_ct_OBJDUMP" >&6; }
5792 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5793 $as_echo "no" >&6; }
5796 if test "x$ac_ct_OBJDUMP" = x; then
5799 case $cross_compiling:$ac_tool_warned in
5801 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5802 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5803 ac_tool_warned=yes ;;
5805 OBJDUMP=$ac_ct_OBJDUMP
5808 OBJDUMP="$ac_cv_prog_OBJDUMP"
5811 test -z "$OBJDUMP" && OBJDUMP=objdump
5818 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to recognize dependent libraries" >&5
5819 $as_echo_n "checking how to recognize dependent libraries... " >&6; }
5820 if ${lt_cv_deplibs_check_method+:} false; then :
5821 $as_echo_n "(cached) " >&6
5823 lt_cv_file_magic_cmd='$MAGIC_CMD'
5824 lt_cv_file_magic_test_file=
5825 lt_cv_deplibs_check_method='unknown'
5826 # Need to set the preceding variable on all platforms that support
5827 # interlibrary dependencies.
5828 # 'none' -- dependencies not supported.
5829 # `unknown' -- same as none, but documents that we really don't know.
5830 # 'pass_all' -- all dependencies passed with no checks.
5831 # 'test_compile' -- check by making test program.
5832 # 'file_magic [[regex]]' -- check by looking for files in library path
5833 # which responds to the $file_magic_cmd with a given extended regex.
5834 # If you have `file' or equivalent on your system and you're not sure
5835 # whether `pass_all' will *always* work, you probably want this one.
5839 lt_cv_deplibs_check_method=pass_all
5843 lt_cv_deplibs_check_method=pass_all
5847 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (shared object|dynamic lib)'
5848 lt_cv_file_magic_cmd='/usr/bin/file -L'
5849 lt_cv_file_magic_test_file=/shlib/libc.so
5853 # func_win32_libid is a shell function defined in ltmain.sh
5854 lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL'
5855 lt_cv_file_magic_cmd='func_win32_libid'
5859 # Base MSYS/MinGW do not provide the 'file' command needed by
5860 # func_win32_libid shell function, so use a weaker test based on 'objdump',
5861 # unless we find 'file', for example because we are cross-compiling.
5862 # func_win32_libid assumes BSD nm, so disallow it if using MS dumpbin.
5863 if ( test "$lt_cv_nm_interface" = "BSD nm" && file / ) >/dev/null 2>&1; then
5864 lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL'
5865 lt_cv_file_magic_cmd='func_win32_libid'
5867 # Keep this pattern in sync with the one in func_win32_libid.
5868 lt_cv_deplibs_check_method='file_magic file format (pei*-i386(.*architecture: i386)?|pe-arm-wince|pe-x86-64)'
5869 lt_cv_file_magic_cmd='$OBJDUMP -f'
5874 # use the weaker test based on 'objdump'. See mingw*.
5875 lt_cv_deplibs_check_method='file_magic file format pe-arm-.*little(.*architecture: arm)?'
5876 lt_cv_file_magic_cmd='$OBJDUMP -f'
5879 darwin* | rhapsody*)
5880 lt_cv_deplibs_check_method=pass_all
5883 freebsd* | dragonfly*)
5884 if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then
5887 # Not sure whether the presence of OpenBSD here was a mistake.
5888 # Let's accept both of them until this is cleared up.
5889 lt_cv_deplibs_check_method='file_magic (FreeBSD|OpenBSD|DragonFly)/i[3-9]86 (compact )?demand paged shared library'
5890 lt_cv_file_magic_cmd=/usr/bin/file
5891 lt_cv_file_magic_test_file=`echo /usr/lib/libc.so.*`
5895 lt_cv_deplibs_check_method=pass_all
5900 lt_cv_deplibs_check_method=pass_all
5904 lt_cv_deplibs_check_method=pass_all
5907 hpux10.20* | hpux11*)
5908 lt_cv_file_magic_cmd=/usr/bin/file
5911 lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|ELF-[0-9][0-9]) shared object file - IA64'
5912 lt_cv_file_magic_test_file=/usr/lib/hpux32/libc.so
5915 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]'
5916 lt_cv_file_magic_test_file=/usr/lib/pa20_64/libc.sl
5919 lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|PA-RISC[0-9]\.[0-9]) shared library'
5920 lt_cv_file_magic_test_file=/usr/lib/libc.sl
5926 # PIC code is broken on Interix 3.x, that's why |\.a not |_pic\.a here
5927 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|\.a)$'
5930 irix5* | irix6* | nonstopux*)
5932 *-32|*"-32 ") libmagic=32-bit;;
5933 *-n32|*"-n32 ") libmagic=N32;;
5934 *-64|*"-64 ") libmagic=64-bit;;
5935 *) libmagic=never-match;;
5937 lt_cv_deplibs_check_method=pass_all
5940 # This must be glibc/ELF.
5941 linux* | k*bsd*-gnu | kopensolaris*-gnu)
5942 lt_cv_deplibs_check_method=pass_all
5945 netbsd* | netbsdelf*-gnu)
5946 if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then
5947 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
5949 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|_pic\.a)$'
5954 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (executable|dynamic lib)'
5955 lt_cv_file_magic_cmd=/usr/bin/file
5956 lt_cv_file_magic_test_file=/usr/lib/libnls.so
5960 lt_cv_deplibs_check_method=pass_all
5964 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
5965 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|\.so|_pic\.a)$'
5967 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
5971 osf3* | osf4* | osf5*)
5972 lt_cv_deplibs_check_method=pass_all
5976 lt_cv_deplibs_check_method=pass_all
5980 lt_cv_deplibs_check_method=pass_all
5983 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
5984 lt_cv_deplibs_check_method=pass_all
5988 case $host_vendor in
5990 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]'
5991 lt_cv_file_magic_test_file=`echo /usr/lib/libc.so*`
5994 lt_cv_deplibs_check_method=pass_all
5997 lt_cv_file_magic_cmd='/bin/file'
5998 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [LM]SB (shared object|dynamic lib )'
6001 lt_cv_file_magic_cmd='/bin/file'
6002 lt_cv_deplibs_check_method="file_magic ELF [0-9][0-9]*-bit [LM]SB dynamic lib"
6003 lt_cv_file_magic_test_file=/lib/libc.so
6006 lt_cv_deplibs_check_method=pass_all
6009 lt_cv_deplibs_check_method=pass_all
6015 lt_cv_deplibs_check_method=pass_all
6020 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_deplibs_check_method" >&5
6021 $as_echo "$lt_cv_deplibs_check_method" >&6; }
6025 if test "$build" = "$host"; then
6028 if ( shopt | grep nocaseglob ) >/dev/null 2>&1; then
6031 file_magic_glob=`echo aAbBcCdDeEfFgGhHiIjJkKlLmMnNoOpPqQrRsStTuUvVwWxXyYzZ | $SED -e "s/\(..\)/s\/[\1]\/[\1]\/g;/g"`
6037 file_magic_cmd=$lt_cv_file_magic_cmd
6038 deplibs_check_method=$lt_cv_deplibs_check_method
6039 test -z "$deplibs_check_method" && deplibs_check_method=unknown
6062 if test -n "$ac_tool_prefix"; then
6063 # Extract the first word of "${ac_tool_prefix}dlltool", so it can be a program name with args.
6064 set dummy ${ac_tool_prefix}dlltool; ac_word=$2
6065 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6066 $as_echo_n "checking for $ac_word... " >&6; }
6067 if ${ac_cv_prog_DLLTOOL+:} false; then :
6068 $as_echo_n "(cached) " >&6
6070 if test -n "$DLLTOOL"; then
6071 ac_cv_prog_DLLTOOL="$DLLTOOL" # Let the user override the test.
6073 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6077 test -z "$as_dir" && as_dir=.
6078 for ac_exec_ext in '' $ac_executable_extensions; do
6079 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6080 ac_cv_prog_DLLTOOL="${ac_tool_prefix}dlltool"
6081 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6090 DLLTOOL=$ac_cv_prog_DLLTOOL
6091 if test -n "$DLLTOOL"; then
6092 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DLLTOOL" >&5
6093 $as_echo "$DLLTOOL" >&6; }
6095 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6096 $as_echo "no" >&6; }
6101 if test -z "$ac_cv_prog_DLLTOOL"; then
6102 ac_ct_DLLTOOL=$DLLTOOL
6103 # Extract the first word of "dlltool", so it can be a program name with args.
6104 set dummy dlltool; ac_word=$2
6105 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6106 $as_echo_n "checking for $ac_word... " >&6; }
6107 if ${ac_cv_prog_ac_ct_DLLTOOL+:} false; then :
6108 $as_echo_n "(cached) " >&6
6110 if test -n "$ac_ct_DLLTOOL"; then
6111 ac_cv_prog_ac_ct_DLLTOOL="$ac_ct_DLLTOOL" # Let the user override the test.
6113 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6117 test -z "$as_dir" && as_dir=.
6118 for ac_exec_ext in '' $ac_executable_extensions; do
6119 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6120 ac_cv_prog_ac_ct_DLLTOOL="dlltool"
6121 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6130 ac_ct_DLLTOOL=$ac_cv_prog_ac_ct_DLLTOOL
6131 if test -n "$ac_ct_DLLTOOL"; then
6132 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DLLTOOL" >&5
6133 $as_echo "$ac_ct_DLLTOOL" >&6; }
6135 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6136 $as_echo "no" >&6; }
6139 if test "x$ac_ct_DLLTOOL" = x; then
6142 case $cross_compiling:$ac_tool_warned in
6144 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6145 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6146 ac_tool_warned=yes ;;
6148 DLLTOOL=$ac_ct_DLLTOOL
6151 DLLTOOL="$ac_cv_prog_DLLTOOL"
6154 test -z "$DLLTOOL" && DLLTOOL=dlltool
6162 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to associate runtime and link libraries" >&5
6163 $as_echo_n "checking how to associate runtime and link libraries... " >&6; }
6164 if ${lt_cv_sharedlib_from_linklib_cmd+:} false; then :
6165 $as_echo_n "(cached) " >&6
6167 lt_cv_sharedlib_from_linklib_cmd='unknown'
6170 cygwin* | mingw* | pw32* | cegcc*)
6171 # two different shell functions defined in ltmain.sh
6172 # decide which to use based on capabilities of $DLLTOOL
6173 case `$DLLTOOL --help 2>&1` in
6174 *--identify-strict*)
6175 lt_cv_sharedlib_from_linklib_cmd=func_cygming_dll_for_implib
6178 lt_cv_sharedlib_from_linklib_cmd=func_cygming_dll_for_implib_fallback
6183 # fallback: assume linklib IS sharedlib
6184 lt_cv_sharedlib_from_linklib_cmd="$ECHO"
6189 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_sharedlib_from_linklib_cmd" >&5
6190 $as_echo "$lt_cv_sharedlib_from_linklib_cmd" >&6; }
6191 sharedlib_from_linklib_cmd=$lt_cv_sharedlib_from_linklib_cmd
6192 test -z "$sharedlib_from_linklib_cmd" && sharedlib_from_linklib_cmd=$ECHO
6200 if test -n "$ac_tool_prefix"; then
6203 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
6204 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
6205 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6206 $as_echo_n "checking for $ac_word... " >&6; }
6207 if ${ac_cv_prog_AR+:} false; then :
6208 $as_echo_n "(cached) " >&6
6210 if test -n "$AR"; then
6211 ac_cv_prog_AR="$AR" # Let the user override the test.
6213 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6217 test -z "$as_dir" && as_dir=.
6218 for ac_exec_ext in '' $ac_executable_extensions; do
6219 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6220 ac_cv_prog_AR="$ac_tool_prefix$ac_prog"
6221 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6231 if test -n "$AR"; then
6232 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AR" >&5
6233 $as_echo "$AR" >&6; }
6235 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6236 $as_echo "no" >&6; }
6240 test -n "$AR" && break
6243 if test -z "$AR"; then
6247 # Extract the first word of "$ac_prog", so it can be a program name with args.
6248 set dummy $ac_prog; ac_word=$2
6249 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6250 $as_echo_n "checking for $ac_word... " >&6; }
6251 if ${ac_cv_prog_ac_ct_AR+:} false; then :
6252 $as_echo_n "(cached) " >&6
6254 if test -n "$ac_ct_AR"; then
6255 ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test.
6257 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6261 test -z "$as_dir" && as_dir=.
6262 for ac_exec_ext in '' $ac_executable_extensions; do
6263 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6264 ac_cv_prog_ac_ct_AR="$ac_prog"
6265 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6274 ac_ct_AR=$ac_cv_prog_ac_ct_AR
6275 if test -n "$ac_ct_AR"; then
6276 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_AR" >&5
6277 $as_echo "$ac_ct_AR" >&6; }
6279 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6280 $as_echo "no" >&6; }
6284 test -n "$ac_ct_AR" && break
6287 if test "x$ac_ct_AR" = x; then
6290 case $cross_compiling:$ac_tool_warned in
6292 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6293 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6294 ac_tool_warned=yes ;;
6313 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for archiver @FILE support" >&5
6314 $as_echo_n "checking for archiver @FILE support... " >&6; }
6315 if ${lt_cv_ar_at_file+:} false; then :
6316 $as_echo_n "(cached) " >&6
6319 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6320 /* end confdefs.h. */
6330 if ac_fn_c_try_compile "$LINENO"; then :
6331 echo conftest.$ac_objext > conftest.lst
6332 lt_ar_try='$AR $AR_FLAGS libconftest.a @conftest.lst >&5'
6333 { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$lt_ar_try\""; } >&5
6334 (eval $lt_ar_try) 2>&5
6336 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6337 test $ac_status = 0; }
6338 if test "$ac_status" -eq 0; then
6339 # Ensure the archiver fails upon bogus file names.
6340 rm -f conftest.$ac_objext libconftest.a
6341 { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$lt_ar_try\""; } >&5
6342 (eval $lt_ar_try) 2>&5
6344 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6345 test $ac_status = 0; }
6346 if test "$ac_status" -ne 0; then
6350 rm -f conftest.* libconftest.a
6353 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6356 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ar_at_file" >&5
6357 $as_echo "$lt_cv_ar_at_file" >&6; }
6359 if test "x$lt_cv_ar_at_file" = xno; then
6362 archiver_list_spec=$lt_cv_ar_at_file
6371 if test -n "$ac_tool_prefix"; then
6372 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
6373 set dummy ${ac_tool_prefix}strip; ac_word=$2
6374 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6375 $as_echo_n "checking for $ac_word... " >&6; }
6376 if ${ac_cv_prog_STRIP+:} false; then :
6377 $as_echo_n "(cached) " >&6
6379 if test -n "$STRIP"; then
6380 ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
6382 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6386 test -z "$as_dir" && as_dir=.
6387 for ac_exec_ext in '' $ac_executable_extensions; do
6388 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6389 ac_cv_prog_STRIP="${ac_tool_prefix}strip"
6390 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6399 STRIP=$ac_cv_prog_STRIP
6400 if test -n "$STRIP"; then
6401 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
6402 $as_echo "$STRIP" >&6; }
6404 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6405 $as_echo "no" >&6; }
6410 if test -z "$ac_cv_prog_STRIP"; then
6412 # Extract the first word of "strip", so it can be a program name with args.
6413 set dummy strip; ac_word=$2
6414 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6415 $as_echo_n "checking for $ac_word... " >&6; }
6416 if ${ac_cv_prog_ac_ct_STRIP+:} false; then :
6417 $as_echo_n "(cached) " >&6
6419 if test -n "$ac_ct_STRIP"; then
6420 ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
6422 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6426 test -z "$as_dir" && as_dir=.
6427 for ac_exec_ext in '' $ac_executable_extensions; do
6428 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6429 ac_cv_prog_ac_ct_STRIP="strip"
6430 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6439 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
6440 if test -n "$ac_ct_STRIP"; then
6441 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
6442 $as_echo "$ac_ct_STRIP" >&6; }
6444 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6445 $as_echo "no" >&6; }
6448 if test "x$ac_ct_STRIP" = x; then
6451 case $cross_compiling:$ac_tool_warned in
6453 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6454 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6455 ac_tool_warned=yes ;;
6460 STRIP="$ac_cv_prog_STRIP"
6463 test -z "$STRIP" && STRIP=:
6470 if test -n "$ac_tool_prefix"; then
6471 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
6472 set dummy ${ac_tool_prefix}ranlib; ac_word=$2
6473 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6474 $as_echo_n "checking for $ac_word... " >&6; }
6475 if ${ac_cv_prog_RANLIB+:} false; then :
6476 $as_echo_n "(cached) " >&6
6478 if test -n "$RANLIB"; then
6479 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
6481 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6485 test -z "$as_dir" && as_dir=.
6486 for ac_exec_ext in '' $ac_executable_extensions; do
6487 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6488 ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
6489 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6498 RANLIB=$ac_cv_prog_RANLIB
6499 if test -n "$RANLIB"; then
6500 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $RANLIB" >&5
6501 $as_echo "$RANLIB" >&6; }
6503 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6504 $as_echo "no" >&6; }
6509 if test -z "$ac_cv_prog_RANLIB"; then
6510 ac_ct_RANLIB=$RANLIB
6511 # Extract the first word of "ranlib", so it can be a program name with args.
6512 set dummy ranlib; ac_word=$2
6513 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6514 $as_echo_n "checking for $ac_word... " >&6; }
6515 if ${ac_cv_prog_ac_ct_RANLIB+:} false; then :
6516 $as_echo_n "(cached) " >&6
6518 if test -n "$ac_ct_RANLIB"; then
6519 ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
6521 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6525 test -z "$as_dir" && as_dir=.
6526 for ac_exec_ext in '' $ac_executable_extensions; do
6527 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6528 ac_cv_prog_ac_ct_RANLIB="ranlib"
6529 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6538 ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
6539 if test -n "$ac_ct_RANLIB"; then
6540 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_RANLIB" >&5
6541 $as_echo "$ac_ct_RANLIB" >&6; }
6543 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6544 $as_echo "no" >&6; }
6547 if test "x$ac_ct_RANLIB" = x; then
6550 case $cross_compiling:$ac_tool_warned in
6552 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6553 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6554 ac_tool_warned=yes ;;
6556 RANLIB=$ac_ct_RANLIB
6559 RANLIB="$ac_cv_prog_RANLIB"
6562 test -z "$RANLIB" && RANLIB=:
6569 # Determine commands to create old-style static archives.
6570 old_archive_cmds='$AR $AR_FLAGS $oldlib$oldobjs'
6571 old_postinstall_cmds='chmod 644 $oldlib'
6572 old_postuninstall_cmds=
6574 if test -n "$RANLIB"; then
6577 old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB -t \$tool_oldlib"
6580 old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB \$tool_oldlib"
6583 old_archive_cmds="$old_archive_cmds~\$RANLIB \$tool_oldlib"
6588 lock_old_archive_extraction=yes ;;
6590 lock_old_archive_extraction=no ;;
6631 # If no C compiler was specified, use CC.
6634 # If no C compiler flags were specified, use CFLAGS.
6635 LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
6637 # Allow CC to be a program name with arguments.
6641 # Check for command to grab the raw symbol name followed by C symbol from nm.
6642 { $as_echo "$as_me:${as_lineno-$LINENO}: checking command to parse $NM output from $compiler object" >&5
6643 $as_echo_n "checking command to parse $NM output from $compiler object... " >&6; }
6644 if ${lt_cv_sys_global_symbol_pipe+:} false; then :
6645 $as_echo_n "(cached) " >&6
6648 # These are sane defaults that work on at least a few old systems.
6649 # [They come from Ultrix. What could be older than Ultrix?!! ;)]
6651 # Character class describing NM global symbol codes.
6652 symcode='[BCDEGRST]'
6654 # Regexp to match symbols that can be accessed directly from C.
6655 sympat='\([_A-Za-z][_A-Za-z0-9]*\)'
6657 # Define system-specific variables.
6662 cygwin* | mingw* | pw32* | cegcc*)
6663 symcode='[ABCDGISTW]'
6666 if test "$host_cpu" = ia64; then
6667 symcode='[ABCDEGRST]'
6671 symcode='[BCDEGRST]'
6674 symcode='[BCDEGQRST]'
6685 sysv5* | sco5v6* | unixware* | OpenUNIX*)
6693 # If we're using GNU nm, then use its standard symbol codes.
6694 case `$NM -V 2>&1` in
6695 *GNU* | *'with BFD'*)
6696 symcode='[ABCDGIRSTW]' ;;
6699 # Transform an extracted symbol line into a proper C declaration.
6700 # Some systems (esp. on ia64) link data and code symbols differently,
6701 # so use this general approach.
6702 lt_cv_sys_global_symbol_to_cdecl="sed -n -e 's/^T .* \(.*\)$/extern int \1();/p' -e 's/^$symcode* .* \(.*\)$/extern char \1;/p'"
6704 # Transform an extracted symbol line into symbol name and symbol address
6705 lt_cv_sys_global_symbol_to_c_name_address="sed -n -e 's/^: \([^ ]*\)[ ]*$/ {\\\"\1\\\", (void *) 0},/p' -e 's/^$symcode* \([^ ]*\) \([^ ]*\)$/ {\"\2\", (void *) \&\2},/p'"
6706 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'"
6708 # Handle CRLF in mingw tool chain
6712 opt_cr=`$ECHO 'x\{0,1\}' | tr x '\015'` # option cr in regexp
6716 # Try without a prefix underscore, then with it.
6717 for ac_symprfx in "" "_"; do
6719 # Transform symcode, sympat, and symprfx into a raw symbol and a C symbol.
6720 symxfrm="\\1 $ac_symprfx\\2 \\2"
6722 # Write the raw and C identifiers.
6723 if test "$lt_cv_nm_interface" = "MS dumpbin"; then
6724 # Fake it for dumpbin and say T for any non-static function
6725 # and D for any global variable.
6726 # Also find C++ and __fastcall symbols from MSVC++,
6727 # which start with @ or ?.
6728 lt_cv_sys_global_symbol_pipe="$AWK '"\
6729 " {last_section=section; section=\$ 3};"\
6730 " /^COFF SYMBOL TABLE/{for(i in hide) delete hide[i]};"\
6731 " /Section length .*#relocs.*(pick any)/{hide[last_section]=1};"\
6732 " \$ 0!~/External *\|/{next};"\
6733 " / 0+ UNDEF /{next}; / UNDEF \([^|]\)*()/{next};"\
6734 " {if(hide[section]) next};"\
6735 " {f=0}; \$ 0~/\(\).*\|/{f=1}; {printf f ? \"T \" : \"D \"};"\
6736 " {split(\$ 0, a, /\||\r/); split(a[2], s)};"\
6737 " s[1]~/^[@?]/{print s[1], s[1]; next};"\
6738 " s[1]~prfx {split(s[1],t,\"@\"); print t[1], substr(t[1],length(prfx))}"\
6739 " ' prfx=^$ac_symprfx"
6741 lt_cv_sys_global_symbol_pipe="sed -n -e 's/^.*[ ]\($symcode$symcode*\)[ ][ ]*$ac_symprfx$sympat$opt_cr$/$symxfrm/p'"
6743 lt_cv_sys_global_symbol_pipe="$lt_cv_sys_global_symbol_pipe | sed '/ __gnu_lto/d'"
6745 # Check to see that the pipe works correctly.
6749 cat > conftest.$ac_ext <<_LT_EOF
6754 void nm_test_func(void);
6755 void nm_test_func(void){}
6759 int main(){nm_test_var='a';nm_test_func();return(0);}
6762 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
6763 (eval $ac_compile) 2>&5
6765 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6766 test $ac_status = 0; }; then
6767 # Now try to grab the symbols.
6769 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$NM conftest.$ac_objext \| "$lt_cv_sys_global_symbol_pipe" \> $nlist\""; } >&5
6770 (eval $NM conftest.$ac_objext \| "$lt_cv_sys_global_symbol_pipe" \> $nlist) 2>&5
6772 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6773 test $ac_status = 0; } && test -s "$nlist"; then
6774 # Try sorting and uniquifying the output.
6775 if sort "$nlist" | uniq > "$nlist"T; then
6776 mv -f "$nlist"T "$nlist"
6781 # Make sure that we snagged all the symbols we need.
6782 if $GREP ' nm_test_var$' "$nlist" >/dev/null; then
6783 if $GREP ' nm_test_func$' "$nlist" >/dev/null; then
6784 cat <<_LT_EOF > conftest.$ac_ext
6785 /* Keep this code in sync between libtool.m4, ltmain, lt_system.h, and tests. */
6786 #if defined(_WIN32) || defined(__CYGWIN__) || defined(_WIN32_WCE)
6787 /* DATA imports from DLLs on WIN32 con't be const, because runtime
6788 relocations are performed -- see ld's documentation on pseudo-relocs. */
6789 # define LT_DLSYM_CONST
6790 #elif defined(__osf__)
6791 /* This system does not cope well with relocations in const data. */
6792 # define LT_DLSYM_CONST
6794 # define LT_DLSYM_CONST const
6802 # Now generate the symbol file.
6803 eval "$lt_cv_sys_global_symbol_to_cdecl"' < "$nlist" | $GREP -v main >> conftest.$ac_ext'
6805 cat <<_LT_EOF >> conftest.$ac_ext
6807 /* The mapping between symbol names and symbols. */
6808 LT_DLSYM_CONST struct {
6812 lt__PROGRAM__LTX_preloaded_symbols[] =
6814 { "@PROGRAM@", (void *) 0 },
6816 $SED "s/^$symcode$symcode* \(.*\) \(.*\)$/ {\"\2\", (void *) \&\2},/" < "$nlist" | $GREP -v main >> conftest.$ac_ext
6817 cat <<\_LT_EOF >> conftest.$ac_ext
6821 /* This works around a problem in FreeBSD linker */
6822 #ifdef FREEBSD_WORKAROUND
6823 static const void *lt_preloaded_setup() {
6824 return lt__PROGRAM__LTX_preloaded_symbols;
6832 # Now try linking the two files.
6833 mv conftest.$ac_objext conftstm.$ac_objext
6834 lt_globsym_save_LIBS=$LIBS
6835 lt_globsym_save_CFLAGS=$CFLAGS
6836 LIBS="conftstm.$ac_objext"
6837 CFLAGS="$CFLAGS$lt_prog_compiler_no_builtin_flag"
6838 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
6839 (eval $ac_link) 2>&5
6841 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6842 test $ac_status = 0; } && test -s conftest${ac_exeext}; then
6845 LIBS=$lt_globsym_save_LIBS
6846 CFLAGS=$lt_globsym_save_CFLAGS
6848 echo "cannot find nm_test_func in $nlist" >&5
6851 echo "cannot find nm_test_var in $nlist" >&5
6854 echo "cannot run $lt_cv_sys_global_symbol_pipe" >&5
6857 echo "$progname: failed program was:" >&5
6858 cat conftest.$ac_ext >&5
6860 rm -rf conftest* conftst*
6862 # Do not use the global_symbol_pipe unless it works.
6863 if test "$pipe_works" = yes; then
6866 lt_cv_sys_global_symbol_pipe=
6872 if test -z "$lt_cv_sys_global_symbol_pipe"; then
6873 lt_cv_sys_global_symbol_to_cdecl=
6875 if test -z "$lt_cv_sys_global_symbol_pipe$lt_cv_sys_global_symbol_to_cdecl"; then
6876 { $as_echo "$as_me:${as_lineno-$LINENO}: result: failed" >&5
6877 $as_echo "failed" >&6; }
6879 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ok" >&5
6880 $as_echo "ok" >&6; }
6883 # Response file support.
6884 if test "$lt_cv_nm_interface" = "MS dumpbin"; then
6885 nm_file_list_spec='@'
6886 elif $NM --help 2>/dev/null | grep '[@]FILE' >/dev/null; then
6887 nm_file_list_spec='@'
6916 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sysroot" >&5
6917 $as_echo_n "checking for sysroot... " >&6; }
6919 # Check whether --with-sysroot was given.
6920 if test "${with_sysroot+set}" = set; then :
6921 withval=$with_sysroot;
6928 case ${with_sysroot} in #(
6930 if test "$GCC" = yes; then
6931 lt_sysroot=`$CC --print-sysroot 2>/dev/null`
6935 lt_sysroot=`echo "$with_sysroot" | sed -e "$sed_quote_subst"`
6940 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${with_sysroot}" >&5
6941 $as_echo "${with_sysroot}" >&6; }
6942 as_fn_error $? "The sysroot must be an absolute path." "$LINENO" 5
6946 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${lt_sysroot:-no}" >&5
6947 $as_echo "${lt_sysroot:-no}" >&6; }
6953 # Check whether --enable-libtool-lock was given.
6954 if test "${enable_libtool_lock+set}" = set; then :
6955 enableval=$enable_libtool_lock;
6958 test "x$enable_libtool_lock" != xno && enable_libtool_lock=yes
6960 # Some flags need to be propagated to the compiler or linker for good
6964 # Find out which ABI we are using.
6965 echo 'int i;' > conftest.$ac_ext
6966 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
6967 (eval $ac_compile) 2>&5
6969 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6970 test $ac_status = 0; }; then
6971 case `/usr/bin/file conftest.$ac_objext` in
6983 # Find out which ABI we are using.
6984 echo '#line '$LINENO' "configure"' > conftest.$ac_ext
6985 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
6986 (eval $ac_compile) 2>&5
6988 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6989 test $ac_status = 0; }; then
6990 if test "$lt_cv_prog_gnu_ld" = yes; then
6991 case `/usr/bin/file conftest.$ac_objext` in
6993 LD="${LD-ld} -melf32bsmip"
6996 LD="${LD-ld} -melf32bmipn32"
6999 LD="${LD-ld} -melf64bmip"
7003 case `/usr/bin/file conftest.$ac_objext` in
7019 x86_64-*kfreebsd*-gnu|x86_64-*linux*|ppc*-*linux*|powerpc*-*linux*| \
7020 s390*-*linux*|s390*-*tpf*|sparc*-*linux*)
7021 # Find out which ABI we are using.
7022 echo 'int i;' > conftest.$ac_ext
7023 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
7024 (eval $ac_compile) 2>&5
7026 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
7027 test $ac_status = 0; }; then
7028 case `/usr/bin/file conftest.o` in
7031 x86_64-*kfreebsd*-gnu)
7032 LD="${LD-ld} -m elf_i386_fbsd"
7035 LD="${LD-ld} -m elf_i386"
7037 ppc64-*linux*|powerpc64-*linux*)
7038 LD="${LD-ld} -m elf32ppclinux"
7041 LD="${LD-ld} -m elf_s390"
7044 LD="${LD-ld} -m elf32_sparc"
7050 x86_64-*kfreebsd*-gnu)
7051 LD="${LD-ld} -m elf_x86_64_fbsd"
7054 LD="${LD-ld} -m elf_x86_64"
7056 ppc*-*linux*|powerpc*-*linux*)
7057 LD="${LD-ld} -m elf64ppc"
7059 s390*-*linux*|s390*-*tpf*)
7060 LD="${LD-ld} -m elf64_s390"
7063 LD="${LD-ld} -m elf64_sparc"
7073 # On SCO OpenServer 5, we need -belf to get full-featured binaries.
7074 SAVE_CFLAGS="$CFLAGS"
7075 CFLAGS="$CFLAGS -belf"
7076 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler needs -belf" >&5
7077 $as_echo_n "checking whether the C compiler needs -belf... " >&6; }
7078 if ${lt_cv_cc_needs_belf+:} false; then :
7079 $as_echo_n "(cached) " >&6
7082 ac_cpp='$CPP $CPPFLAGS'
7083 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
7084 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
7085 ac_compiler_gnu=$ac_cv_c_compiler_gnu
7087 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7088 /* end confdefs.h. */
7098 if ac_fn_c_try_link "$LINENO"; then :
7099 lt_cv_cc_needs_belf=yes
7101 lt_cv_cc_needs_belf=no
7103 rm -f core conftest.err conftest.$ac_objext \
7104 conftest$ac_exeext conftest.$ac_ext
7106 ac_cpp='$CPP $CPPFLAGS'
7107 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
7108 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
7109 ac_compiler_gnu=$ac_cv_c_compiler_gnu
7112 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_cc_needs_belf" >&5
7113 $as_echo "$lt_cv_cc_needs_belf" >&6; }
7114 if test x"$lt_cv_cc_needs_belf" != x"yes"; then
7115 # this is probably gcc 2.8.0, egcs 1.0 or newer; no need for -belf
7116 CFLAGS="$SAVE_CFLAGS"
7120 # Find out which ABI we are using.
7121 echo 'int i;' > conftest.$ac_ext
7122 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
7123 (eval $ac_compile) 2>&5
7125 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
7126 test $ac_status = 0; }; then
7127 case `/usr/bin/file conftest.o` in
7129 case $lt_cv_prog_gnu_ld in
7133 LD="${LD-ld} -m elf_x86_64"
7136 LD="${LD-ld} -m elf64_sparc"
7139 # GNU ld 2.21 introduced _sol2 emulations. Use them if available.
7140 if ${LD-ld} -V | grep _sol2 >/dev/null 2>&1; then
7145 if ${LD-ld} -64 -r -o conftest2.o conftest.o >/dev/null 2>&1; then
7157 need_locks="$enable_libtool_lock"
7159 if test -n "$ac_tool_prefix"; then
7160 # Extract the first word of "${ac_tool_prefix}mt", so it can be a program name with args.
7161 set dummy ${ac_tool_prefix}mt; ac_word=$2
7162 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7163 $as_echo_n "checking for $ac_word... " >&6; }
7164 if ${ac_cv_prog_MANIFEST_TOOL+:} false; then :
7165 $as_echo_n "(cached) " >&6
7167 if test -n "$MANIFEST_TOOL"; then
7168 ac_cv_prog_MANIFEST_TOOL="$MANIFEST_TOOL" # Let the user override the test.
7170 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7174 test -z "$as_dir" && as_dir=.
7175 for ac_exec_ext in '' $ac_executable_extensions; do
7176 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7177 ac_cv_prog_MANIFEST_TOOL="${ac_tool_prefix}mt"
7178 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7187 MANIFEST_TOOL=$ac_cv_prog_MANIFEST_TOOL
7188 if test -n "$MANIFEST_TOOL"; then
7189 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MANIFEST_TOOL" >&5
7190 $as_echo "$MANIFEST_TOOL" >&6; }
7192 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7193 $as_echo "no" >&6; }
7198 if test -z "$ac_cv_prog_MANIFEST_TOOL"; then
7199 ac_ct_MANIFEST_TOOL=$MANIFEST_TOOL
7200 # Extract the first word of "mt", so it can be a program name with args.
7201 set dummy mt; ac_word=$2
7202 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7203 $as_echo_n "checking for $ac_word... " >&6; }
7204 if ${ac_cv_prog_ac_ct_MANIFEST_TOOL+:} false; then :
7205 $as_echo_n "(cached) " >&6
7207 if test -n "$ac_ct_MANIFEST_TOOL"; then
7208 ac_cv_prog_ac_ct_MANIFEST_TOOL="$ac_ct_MANIFEST_TOOL" # Let the user override the test.
7210 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7214 test -z "$as_dir" && as_dir=.
7215 for ac_exec_ext in '' $ac_executable_extensions; do
7216 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7217 ac_cv_prog_ac_ct_MANIFEST_TOOL="mt"
7218 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7227 ac_ct_MANIFEST_TOOL=$ac_cv_prog_ac_ct_MANIFEST_TOOL
7228 if test -n "$ac_ct_MANIFEST_TOOL"; then
7229 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_MANIFEST_TOOL" >&5
7230 $as_echo "$ac_ct_MANIFEST_TOOL" >&6; }
7232 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7233 $as_echo "no" >&6; }
7236 if test "x$ac_ct_MANIFEST_TOOL" = x; then
7239 case $cross_compiling:$ac_tool_warned in
7241 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7242 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7243 ac_tool_warned=yes ;;
7245 MANIFEST_TOOL=$ac_ct_MANIFEST_TOOL
7248 MANIFEST_TOOL="$ac_cv_prog_MANIFEST_TOOL"
7251 test -z "$MANIFEST_TOOL" && MANIFEST_TOOL=mt
7252 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $MANIFEST_TOOL is a manifest tool" >&5
7253 $as_echo_n "checking if $MANIFEST_TOOL is a manifest tool... " >&6; }
7254 if ${lt_cv_path_mainfest_tool+:} false; then :
7255 $as_echo_n "(cached) " >&6
7257 lt_cv_path_mainfest_tool=no
7258 echo "$as_me:$LINENO: $MANIFEST_TOOL '-?'" >&5
7259 $MANIFEST_TOOL '-?' 2>conftest.err > conftest.out
7260 cat conftest.err >&5
7261 if $GREP 'Manifest Tool' conftest.out > /dev/null; then
7262 lt_cv_path_mainfest_tool=yes
7266 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_path_mainfest_tool" >&5
7267 $as_echo "$lt_cv_path_mainfest_tool" >&6; }
7268 if test "x$lt_cv_path_mainfest_tool" != xyes; then
7278 rhapsody* | darwin*)
7279 if test -n "$ac_tool_prefix"; then
7280 # Extract the first word of "${ac_tool_prefix}dsymutil", so it can be a program name with args.
7281 set dummy ${ac_tool_prefix}dsymutil; ac_word=$2
7282 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7283 $as_echo_n "checking for $ac_word... " >&6; }
7284 if ${ac_cv_prog_DSYMUTIL+:} false; then :
7285 $as_echo_n "(cached) " >&6
7287 if test -n "$DSYMUTIL"; then
7288 ac_cv_prog_DSYMUTIL="$DSYMUTIL" # Let the user override the test.
7290 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7294 test -z "$as_dir" && as_dir=.
7295 for ac_exec_ext in '' $ac_executable_extensions; do
7296 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7297 ac_cv_prog_DSYMUTIL="${ac_tool_prefix}dsymutil"
7298 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7307 DSYMUTIL=$ac_cv_prog_DSYMUTIL
7308 if test -n "$DSYMUTIL"; then
7309 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DSYMUTIL" >&5
7310 $as_echo "$DSYMUTIL" >&6; }
7312 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7313 $as_echo "no" >&6; }
7318 if test -z "$ac_cv_prog_DSYMUTIL"; then
7319 ac_ct_DSYMUTIL=$DSYMUTIL
7320 # Extract the first word of "dsymutil", so it can be a program name with args.
7321 set dummy dsymutil; ac_word=$2
7322 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7323 $as_echo_n "checking for $ac_word... " >&6; }
7324 if ${ac_cv_prog_ac_ct_DSYMUTIL+:} false; then :
7325 $as_echo_n "(cached) " >&6
7327 if test -n "$ac_ct_DSYMUTIL"; then
7328 ac_cv_prog_ac_ct_DSYMUTIL="$ac_ct_DSYMUTIL" # Let the user override the test.
7330 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7334 test -z "$as_dir" && as_dir=.
7335 for ac_exec_ext in '' $ac_executable_extensions; do
7336 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7337 ac_cv_prog_ac_ct_DSYMUTIL="dsymutil"
7338 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7347 ac_ct_DSYMUTIL=$ac_cv_prog_ac_ct_DSYMUTIL
7348 if test -n "$ac_ct_DSYMUTIL"; then
7349 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DSYMUTIL" >&5
7350 $as_echo "$ac_ct_DSYMUTIL" >&6; }
7352 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7353 $as_echo "no" >&6; }
7356 if test "x$ac_ct_DSYMUTIL" = x; then
7359 case $cross_compiling:$ac_tool_warned in
7361 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7362 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7363 ac_tool_warned=yes ;;
7365 DSYMUTIL=$ac_ct_DSYMUTIL
7368 DSYMUTIL="$ac_cv_prog_DSYMUTIL"
7371 if test -n "$ac_tool_prefix"; then
7372 # Extract the first word of "${ac_tool_prefix}nmedit", so it can be a program name with args.
7373 set dummy ${ac_tool_prefix}nmedit; ac_word=$2
7374 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7375 $as_echo_n "checking for $ac_word... " >&6; }
7376 if ${ac_cv_prog_NMEDIT+:} false; then :
7377 $as_echo_n "(cached) " >&6
7379 if test -n "$NMEDIT"; then
7380 ac_cv_prog_NMEDIT="$NMEDIT" # Let the user override the test.
7382 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7386 test -z "$as_dir" && as_dir=.
7387 for ac_exec_ext in '' $ac_executable_extensions; do
7388 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7389 ac_cv_prog_NMEDIT="${ac_tool_prefix}nmedit"
7390 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7399 NMEDIT=$ac_cv_prog_NMEDIT
7400 if test -n "$NMEDIT"; then
7401 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $NMEDIT" >&5
7402 $as_echo "$NMEDIT" >&6; }
7404 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7405 $as_echo "no" >&6; }
7410 if test -z "$ac_cv_prog_NMEDIT"; then
7411 ac_ct_NMEDIT=$NMEDIT
7412 # Extract the first word of "nmedit", so it can be a program name with args.
7413 set dummy nmedit; ac_word=$2
7414 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7415 $as_echo_n "checking for $ac_word... " >&6; }
7416 if ${ac_cv_prog_ac_ct_NMEDIT+:} false; then :
7417 $as_echo_n "(cached) " >&6
7419 if test -n "$ac_ct_NMEDIT"; then
7420 ac_cv_prog_ac_ct_NMEDIT="$ac_ct_NMEDIT" # Let the user override the test.
7422 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7426 test -z "$as_dir" && as_dir=.
7427 for ac_exec_ext in '' $ac_executable_extensions; do
7428 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7429 ac_cv_prog_ac_ct_NMEDIT="nmedit"
7430 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7439 ac_ct_NMEDIT=$ac_cv_prog_ac_ct_NMEDIT
7440 if test -n "$ac_ct_NMEDIT"; then
7441 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_NMEDIT" >&5
7442 $as_echo "$ac_ct_NMEDIT" >&6; }
7444 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7445 $as_echo "no" >&6; }
7448 if test "x$ac_ct_NMEDIT" = x; then
7451 case $cross_compiling:$ac_tool_warned in
7453 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7454 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7455 ac_tool_warned=yes ;;
7457 NMEDIT=$ac_ct_NMEDIT
7460 NMEDIT="$ac_cv_prog_NMEDIT"
7463 if test -n "$ac_tool_prefix"; then
7464 # Extract the first word of "${ac_tool_prefix}lipo", so it can be a program name with args.
7465 set dummy ${ac_tool_prefix}lipo; ac_word=$2
7466 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7467 $as_echo_n "checking for $ac_word... " >&6; }
7468 if ${ac_cv_prog_LIPO+:} false; then :
7469 $as_echo_n "(cached) " >&6
7471 if test -n "$LIPO"; then
7472 ac_cv_prog_LIPO="$LIPO" # Let the user override the test.
7474 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7478 test -z "$as_dir" && as_dir=.
7479 for ac_exec_ext in '' $ac_executable_extensions; do
7480 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7481 ac_cv_prog_LIPO="${ac_tool_prefix}lipo"
7482 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7491 LIPO=$ac_cv_prog_LIPO
7492 if test -n "$LIPO"; then
7493 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LIPO" >&5
7494 $as_echo "$LIPO" >&6; }
7496 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7497 $as_echo "no" >&6; }
7502 if test -z "$ac_cv_prog_LIPO"; then
7504 # Extract the first word of "lipo", so it can be a program name with args.
7505 set dummy lipo; ac_word=$2
7506 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7507 $as_echo_n "checking for $ac_word... " >&6; }
7508 if ${ac_cv_prog_ac_ct_LIPO+:} false; then :
7509 $as_echo_n "(cached) " >&6
7511 if test -n "$ac_ct_LIPO"; then
7512 ac_cv_prog_ac_ct_LIPO="$ac_ct_LIPO" # Let the user override the test.
7514 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7518 test -z "$as_dir" && as_dir=.
7519 for ac_exec_ext in '' $ac_executable_extensions; do
7520 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7521 ac_cv_prog_ac_ct_LIPO="lipo"
7522 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7531 ac_ct_LIPO=$ac_cv_prog_ac_ct_LIPO
7532 if test -n "$ac_ct_LIPO"; then
7533 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_LIPO" >&5
7534 $as_echo "$ac_ct_LIPO" >&6; }
7536 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7537 $as_echo "no" >&6; }
7540 if test "x$ac_ct_LIPO" = x; then
7543 case $cross_compiling:$ac_tool_warned in
7545 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7546 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7547 ac_tool_warned=yes ;;
7552 LIPO="$ac_cv_prog_LIPO"
7555 if test -n "$ac_tool_prefix"; then
7556 # Extract the first word of "${ac_tool_prefix}otool", so it can be a program name with args.
7557 set dummy ${ac_tool_prefix}otool; ac_word=$2
7558 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7559 $as_echo_n "checking for $ac_word... " >&6; }
7560 if ${ac_cv_prog_OTOOL+:} false; then :
7561 $as_echo_n "(cached) " >&6
7563 if test -n "$OTOOL"; then
7564 ac_cv_prog_OTOOL="$OTOOL" # Let the user override the test.
7566 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7570 test -z "$as_dir" && as_dir=.
7571 for ac_exec_ext in '' $ac_executable_extensions; do
7572 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7573 ac_cv_prog_OTOOL="${ac_tool_prefix}otool"
7574 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7583 OTOOL=$ac_cv_prog_OTOOL
7584 if test -n "$OTOOL"; then
7585 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OTOOL" >&5
7586 $as_echo "$OTOOL" >&6; }
7588 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7589 $as_echo "no" >&6; }
7594 if test -z "$ac_cv_prog_OTOOL"; then
7596 # Extract the first word of "otool", so it can be a program name with args.
7597 set dummy otool; ac_word=$2
7598 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7599 $as_echo_n "checking for $ac_word... " >&6; }
7600 if ${ac_cv_prog_ac_ct_OTOOL+:} false; then :
7601 $as_echo_n "(cached) " >&6
7603 if test -n "$ac_ct_OTOOL"; then
7604 ac_cv_prog_ac_ct_OTOOL="$ac_ct_OTOOL" # Let the user override the test.
7606 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7610 test -z "$as_dir" && as_dir=.
7611 for ac_exec_ext in '' $ac_executable_extensions; do
7612 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7613 ac_cv_prog_ac_ct_OTOOL="otool"
7614 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7623 ac_ct_OTOOL=$ac_cv_prog_ac_ct_OTOOL
7624 if test -n "$ac_ct_OTOOL"; then
7625 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OTOOL" >&5
7626 $as_echo "$ac_ct_OTOOL" >&6; }
7628 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7629 $as_echo "no" >&6; }
7632 if test "x$ac_ct_OTOOL" = x; then
7635 case $cross_compiling:$ac_tool_warned in
7637 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7638 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7639 ac_tool_warned=yes ;;
7644 OTOOL="$ac_cv_prog_OTOOL"
7647 if test -n "$ac_tool_prefix"; then
7648 # Extract the first word of "${ac_tool_prefix}otool64", so it can be a program name with args.
7649 set dummy ${ac_tool_prefix}otool64; ac_word=$2
7650 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7651 $as_echo_n "checking for $ac_word... " >&6; }
7652 if ${ac_cv_prog_OTOOL64+:} false; then :
7653 $as_echo_n "(cached) " >&6
7655 if test -n "$OTOOL64"; then
7656 ac_cv_prog_OTOOL64="$OTOOL64" # Let the user override the test.
7658 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7662 test -z "$as_dir" && as_dir=.
7663 for ac_exec_ext in '' $ac_executable_extensions; do
7664 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7665 ac_cv_prog_OTOOL64="${ac_tool_prefix}otool64"
7666 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7675 OTOOL64=$ac_cv_prog_OTOOL64
7676 if test -n "$OTOOL64"; then
7677 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OTOOL64" >&5
7678 $as_echo "$OTOOL64" >&6; }
7680 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7681 $as_echo "no" >&6; }
7686 if test -z "$ac_cv_prog_OTOOL64"; then
7687 ac_ct_OTOOL64=$OTOOL64
7688 # Extract the first word of "otool64", so it can be a program name with args.
7689 set dummy otool64; ac_word=$2
7690 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7691 $as_echo_n "checking for $ac_word... " >&6; }
7692 if ${ac_cv_prog_ac_ct_OTOOL64+:} false; then :
7693 $as_echo_n "(cached) " >&6
7695 if test -n "$ac_ct_OTOOL64"; then
7696 ac_cv_prog_ac_ct_OTOOL64="$ac_ct_OTOOL64" # Let the user override the test.
7698 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7702 test -z "$as_dir" && as_dir=.
7703 for ac_exec_ext in '' $ac_executable_extensions; do
7704 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7705 ac_cv_prog_ac_ct_OTOOL64="otool64"
7706 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7715 ac_ct_OTOOL64=$ac_cv_prog_ac_ct_OTOOL64
7716 if test -n "$ac_ct_OTOOL64"; then
7717 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OTOOL64" >&5
7718 $as_echo "$ac_ct_OTOOL64" >&6; }
7720 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7721 $as_echo "no" >&6; }
7724 if test "x$ac_ct_OTOOL64" = x; then
7727 case $cross_compiling:$ac_tool_warned in
7729 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7730 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7731 ac_tool_warned=yes ;;
7733 OTOOL64=$ac_ct_OTOOL64
7736 OTOOL64="$ac_cv_prog_OTOOL64"
7765 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -single_module linker flag" >&5
7766 $as_echo_n "checking for -single_module linker flag... " >&6; }
7767 if ${lt_cv_apple_cc_single_mod+:} false; then :
7768 $as_echo_n "(cached) " >&6
7770 lt_cv_apple_cc_single_mod=no
7771 if test -z "${LT_MULTI_MODULE}"; then
7772 # By default we will add the -single_module flag. You can override
7773 # by either setting the environment variable LT_MULTI_MODULE
7774 # non-empty at configure time, or by adding -multi_module to the
7776 rm -rf libconftest.dylib*
7777 echo "int foo(void){return 1;}" > conftest.c
7778 echo "$LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \
7779 -dynamiclib -Wl,-single_module conftest.c" >&5
7780 $LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \
7781 -dynamiclib -Wl,-single_module conftest.c 2>conftest.err
7783 # If there is a non-empty error log, and "single_module"
7784 # appears in it, assume the flag caused a linker warning
7785 if test -s conftest.err && $GREP single_module conftest.err; then
7786 cat conftest.err >&5
7787 # Otherwise, if the output was created with a 0 exit code from
7788 # the compiler, it worked.
7789 elif test -f libconftest.dylib && test $_lt_result -eq 0; then
7790 lt_cv_apple_cc_single_mod=yes
7792 cat conftest.err >&5
7794 rm -rf libconftest.dylib*
7798 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_apple_cc_single_mod" >&5
7799 $as_echo "$lt_cv_apple_cc_single_mod" >&6; }
7801 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -exported_symbols_list linker flag" >&5
7802 $as_echo_n "checking for -exported_symbols_list linker flag... " >&6; }
7803 if ${lt_cv_ld_exported_symbols_list+:} false; then :
7804 $as_echo_n "(cached) " >&6
7806 lt_cv_ld_exported_symbols_list=no
7807 save_LDFLAGS=$LDFLAGS
7808 echo "_main" > conftest.sym
7809 LDFLAGS="$LDFLAGS -Wl,-exported_symbols_list,conftest.sym"
7810 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7811 /* end confdefs.h. */
7821 if ac_fn_c_try_link "$LINENO"; then :
7822 lt_cv_ld_exported_symbols_list=yes
7824 lt_cv_ld_exported_symbols_list=no
7826 rm -f core conftest.err conftest.$ac_objext \
7827 conftest$ac_exeext conftest.$ac_ext
7828 LDFLAGS="$save_LDFLAGS"
7831 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_exported_symbols_list" >&5
7832 $as_echo "$lt_cv_ld_exported_symbols_list" >&6; }
7834 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -force_load linker flag" >&5
7835 $as_echo_n "checking for -force_load linker flag... " >&6; }
7836 if ${lt_cv_ld_force_load+:} false; then :
7837 $as_echo_n "(cached) " >&6
7839 lt_cv_ld_force_load=no
7840 cat > conftest.c << _LT_EOF
7841 int forced_loaded() { return 2;}
7843 echo "$LTCC $LTCFLAGS -c -o conftest.o conftest.c" >&5
7844 $LTCC $LTCFLAGS -c -o conftest.o conftest.c 2>&5
7845 echo "$AR cru libconftest.a conftest.o" >&5
7846 $AR cru libconftest.a conftest.o 2>&5
7847 echo "$RANLIB libconftest.a" >&5
7848 $RANLIB libconftest.a 2>&5
7849 cat > conftest.c << _LT_EOF
7850 int main() { return 0;}
7852 echo "$LTCC $LTCFLAGS $LDFLAGS -o conftest conftest.c -Wl,-force_load,./libconftest.a" >&5
7853 $LTCC $LTCFLAGS $LDFLAGS -o conftest conftest.c -Wl,-force_load,./libconftest.a 2>conftest.err
7855 if test -s conftest.err && $GREP force_load conftest.err; then
7856 cat conftest.err >&5
7857 elif test -f conftest && test $_lt_result -eq 0 && $GREP forced_load conftest >/dev/null 2>&1 ; then
7858 lt_cv_ld_force_load=yes
7860 cat conftest.err >&5
7862 rm -f conftest.err libconftest.a conftest conftest.c
7863 rm -rf conftest.dSYM
7866 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_force_load" >&5
7867 $as_echo "$lt_cv_ld_force_load" >&6; }
7869 rhapsody* | darwin1.[012])
7870 _lt_dar_allow_undefined='${wl}-undefined ${wl}suppress' ;;
7872 _lt_dar_allow_undefined='${wl}-flat_namespace ${wl}-undefined ${wl}suppress' ;;
7873 darwin*) # darwin 5.x on
7874 # if running on 10.5 or later, the deployment target defaults
7875 # to the OS version, if on x86, and 10.4, the deployment
7876 # target defaults to 10.4. Don't you love it?
7877 case ${MACOSX_DEPLOYMENT_TARGET-10.0},$host in
7878 10.0,*86*-darwin8*|10.0,*-darwin[91]*)
7879 _lt_dar_allow_undefined='${wl}-undefined ${wl}dynamic_lookup' ;;
7881 _lt_dar_allow_undefined='${wl}-flat_namespace ${wl}-undefined ${wl}suppress' ;;
7883 _lt_dar_allow_undefined='${wl}-undefined ${wl}dynamic_lookup' ;;
7887 if test "$lt_cv_apple_cc_single_mod" = "yes"; then
7888 _lt_dar_single_mod='$single_module'
7890 if test "$lt_cv_ld_exported_symbols_list" = "yes"; then
7891 _lt_dar_export_syms=' ${wl}-exported_symbols_list,$output_objdir/${libname}-symbols.expsym'
7893 _lt_dar_export_syms='~$NMEDIT -s $output_objdir/${libname}-symbols.expsym ${lib}'
7895 if test "$DSYMUTIL" != ":" && test "$lt_cv_ld_force_load" = "no"; then
7896 _lt_dsymutil='~$DSYMUTIL $lib || :'
7903 for ac_header in dlfcn.h
7905 ac_fn_c_check_header_compile "$LINENO" "dlfcn.h" "ac_cv_header_dlfcn_h" "$ac_includes_default
7907 if test "x$ac_cv_header_dlfcn_h" = xyes; then :
7908 cat >>confdefs.h <<_ACEOF
7909 #define HAVE_DLFCN_H 1
7928 # Check whether --enable-shared was given.
7929 if test "${enable_shared+set}" = set; then :
7930 enableval=$enable_shared; p=${PACKAGE-default}
7932 yes) enable_shared=yes ;;
7933 no) enable_shared=no ;;
7936 # Look at the argument we got. We use all the common list separators.
7937 lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
7938 for pkg in $enableval; do
7940 if test "X$pkg" = "X$p"; then
7959 # Check whether --enable-static was given.
7960 if test "${enable_static+set}" = set; then :
7961 enableval=$enable_static; p=${PACKAGE-default}
7963 yes) enable_static=yes ;;
7964 no) enable_static=no ;;
7967 # Look at the argument we got. We use all the common list separators.
7968 lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
7969 for pkg in $enableval; do
7971 if test "X$pkg" = "X$p"; then
7991 # Check whether --with-pic was given.
7992 if test "${with_pic+set}" = set; then :
7993 withval=$with_pic; lt_p=${PACKAGE-default}
7995 yes|no) pic_mode=$withval ;;
7998 # Look at the argument we got. We use all the common list separators.
7999 lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
8000 for lt_pkg in $withval; do
8002 if test "X$lt_pkg" = "X$lt_p"; then
8014 test -z "$pic_mode" && pic_mode=default
8022 # Check whether --enable-fast-install was given.
8023 if test "${enable_fast_install+set}" = set; then :
8024 enableval=$enable_fast_install; p=${PACKAGE-default}
8026 yes) enable_fast_install=yes ;;
8027 no) enable_fast_install=no ;;
8029 enable_fast_install=no
8030 # Look at the argument we got. We use all the common list separators.
8031 lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
8032 for pkg in $enableval; do
8034 if test "X$pkg" = "X$p"; then
8035 enable_fast_install=yes
8042 enable_fast_install=yes
8055 # This can be used to rebuild libtool when needed
8056 LIBTOOL_DEPS="$ltmain"
8058 # Always use our own libtool.
8059 LIBTOOL='$(SHELL) $(top_builddir)/libtool'
8090 test -z "$LN_S" && LN_S="ln -s"
8105 if test -n "${ZSH_VERSION+set}" ; then
8106 setopt NO_GLOB_SUBST
8109 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for objdir" >&5
8110 $as_echo_n "checking for objdir... " >&6; }
8111 if ${lt_cv_objdir+:} false; then :
8112 $as_echo_n "(cached) " >&6
8114 rm -f .libs 2>/dev/null
8115 mkdir .libs 2>/dev/null
8116 if test -d .libs; then
8119 # MS-DOS does not allow filenames that begin with a dot.
8122 rmdir .libs 2>/dev/null
8124 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_objdir" >&5
8125 $as_echo "$lt_cv_objdir" >&6; }
8126 objdir=$lt_cv_objdir
8132 cat >>confdefs.h <<_ACEOF
8133 #define LT_OBJDIR "$lt_cv_objdir/"
8141 # AIX sometimes has problems with the GCC collect2 program. For some
8142 # reason, if we set the COLLECT_NAMES environment variable, the problems
8143 # vanish in a puff of smoke.
8144 if test "X${COLLECT_NAMES+set}" != Xset; then
8146 export COLLECT_NAMES
8153 can_build_shared=yes
8155 # All known linkers require a `.a' archive for static linking (except MSVC,
8156 # which needs '.lib').
8159 with_gnu_ld="$lt_cv_prog_gnu_ld"
8162 old_CFLAGS="$CFLAGS"
8164 # Set sane defaults for various variables
8165 test -z "$CC" && CC=cc
8166 test -z "$LTCC" && LTCC=$CC
8167 test -z "$LTCFLAGS" && LTCFLAGS=$CFLAGS
8168 test -z "$LD" && LD=ld
8169 test -z "$ac_objext" && ac_objext=o
8171 for cc_temp in $compiler""; do
8173 compile | *[\\/]compile | ccache | *[\\/]ccache ) ;;
8174 distcc | *[\\/]distcc | purify | *[\\/]purify ) ;;
8179 cc_basename=`$ECHO "$cc_temp" | $SED "s%.*/%%; s%^$host_alias-%%"`
8182 # Only perform the check for file, if the check method requires it
8183 test -z "$MAGIC_CMD" && MAGIC_CMD=file
8184 case $deplibs_check_method in
8186 if test "$file_magic_cmd" = '$MAGIC_CMD'; then
8187 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ${ac_tool_prefix}file" >&5
8188 $as_echo_n "checking for ${ac_tool_prefix}file... " >&6; }
8189 if ${lt_cv_path_MAGIC_CMD+:} false; then :
8190 $as_echo_n "(cached) " >&6
8194 lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a path.
8197 lt_save_MAGIC_CMD="$MAGIC_CMD"
8198 lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
8199 ac_dummy="/usr/bin$PATH_SEPARATOR$PATH"
8200 for ac_dir in $ac_dummy; do
8202 test -z "$ac_dir" && ac_dir=.
8203 if test -f $ac_dir/${ac_tool_prefix}file; then
8204 lt_cv_path_MAGIC_CMD="$ac_dir/${ac_tool_prefix}file"
8205 if test -n "$file_magic_test_file"; then
8206 case $deplibs_check_method in
8208 file_magic_regex=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
8209 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
8210 if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
8211 $EGREP "$file_magic_regex" > /dev/null; then
8216 *** Warning: the command libtool uses to detect shared libraries,
8217 *** $file_magic_cmd, produces output that libtool cannot recognize.
8218 *** The result is that libtool may fail to recognize shared libraries
8219 *** as such. This will affect the creation of libtool libraries that
8220 *** depend on shared libraries, but programs linked with such libtool
8221 *** libraries will work regardless of this problem. Nevertheless, you
8222 *** may want to report the problem to your system manager and/or to
8223 *** bug-libtool@gnu.org
8233 MAGIC_CMD="$lt_save_MAGIC_CMD"
8238 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
8239 if test -n "$MAGIC_CMD"; then
8240 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MAGIC_CMD" >&5
8241 $as_echo "$MAGIC_CMD" >&6; }
8243 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8244 $as_echo "no" >&6; }
8251 if test -z "$lt_cv_path_MAGIC_CMD"; then
8252 if test -n "$ac_tool_prefix"; then
8253 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for file" >&5
8254 $as_echo_n "checking for file... " >&6; }
8255 if ${lt_cv_path_MAGIC_CMD+:} false; then :
8256 $as_echo_n "(cached) " >&6
8260 lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a path.
8263 lt_save_MAGIC_CMD="$MAGIC_CMD"
8264 lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
8265 ac_dummy="/usr/bin$PATH_SEPARATOR$PATH"
8266 for ac_dir in $ac_dummy; do
8268 test -z "$ac_dir" && ac_dir=.
8269 if test -f $ac_dir/file; then
8270 lt_cv_path_MAGIC_CMD="$ac_dir/file"
8271 if test -n "$file_magic_test_file"; then
8272 case $deplibs_check_method in
8274 file_magic_regex=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
8275 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
8276 if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
8277 $EGREP "$file_magic_regex" > /dev/null; then
8282 *** Warning: the command libtool uses to detect shared libraries,
8283 *** $file_magic_cmd, produces output that libtool cannot recognize.
8284 *** The result is that libtool may fail to recognize shared libraries
8285 *** as such. This will affect the creation of libtool libraries that
8286 *** depend on shared libraries, but programs linked with such libtool
8287 *** libraries will work regardless of this problem. Nevertheless, you
8288 *** may want to report the problem to your system manager and/or to
8289 *** bug-libtool@gnu.org
8299 MAGIC_CMD="$lt_save_MAGIC_CMD"
8304 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
8305 if test -n "$MAGIC_CMD"; then
8306 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MAGIC_CMD" >&5
8307 $as_echo "$MAGIC_CMD" >&6; }
8309 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8310 $as_echo "no" >&6; }
8323 # Use C for the default configuration in the libtool script
8327 ac_cpp='$CPP $CPPFLAGS'
8328 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
8329 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
8330 ac_compiler_gnu=$ac_cv_c_compiler_gnu
8333 # Source file extension for C test sources.
8336 # Object file extension for compiled C test sources.
8340 # Code to be used in simple compile tests
8341 lt_simple_compile_test_code="int some_variable = 0;"
8343 # Code to be used in simple link tests
8344 lt_simple_link_test_code='int main(){return(0);}'
8352 # If no C compiler was specified, use CC.
8355 # If no C compiler flags were specified, use CFLAGS.
8356 LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
8358 # Allow CC to be a program name with arguments.
8361 # Save the default compiler, since it gets overwritten when the other
8362 # tags are being tested, and _LT_TAGVAR(compiler, []) is a NOP.
8363 compiler_DEFAULT=$CC
8365 # save warnings/boilerplate of simple test code
8366 ac_outfile=conftest.$ac_objext
8367 echo "$lt_simple_compile_test_code" >conftest.$ac_ext
8368 eval "$ac_compile" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
8369 _lt_compiler_boilerplate=`cat conftest.err`
8372 ac_outfile=conftest.$ac_objext
8373 echo "$lt_simple_link_test_code" >conftest.$ac_ext
8374 eval "$ac_link" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
8375 _lt_linker_boilerplate=`cat conftest.err`
8380 ## There is no encapsulation within the following macros, do not change
8381 ## the running order or otherwise move them around unless you know exactly
8382 ## what you are doing...
8383 if test -n "$compiler"; then
8385 lt_prog_compiler_no_builtin_flag=
8387 if test "$GCC" = yes; then
8388 case $cc_basename in
8390 lt_prog_compiler_no_builtin_flag=' -Xcompiler -fno-builtin' ;;
8392 lt_prog_compiler_no_builtin_flag=' -fno-builtin' ;;
8395 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -fno-rtti -fno-exceptions" >&5
8396 $as_echo_n "checking if $compiler supports -fno-rtti -fno-exceptions... " >&6; }
8397 if ${lt_cv_prog_compiler_rtti_exceptions+:} false; then :
8398 $as_echo_n "(cached) " >&6
8400 lt_cv_prog_compiler_rtti_exceptions=no
8401 ac_outfile=conftest.$ac_objext
8402 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
8403 lt_compiler_flag="-fno-rtti -fno-exceptions"
8404 # Insert the option either (1) after the last *FLAGS variable, or
8405 # (2) before a word containing "conftest.", or (3) at the end.
8406 # Note that $ac_compile itself does not contain backslashes and begins
8407 # with a dollar sign (not a hyphen), so the echo should work correctly.
8408 # The option is referenced via a variable to avoid confusing sed.
8409 lt_compile=`echo "$ac_compile" | $SED \
8410 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
8411 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
8412 -e 's:$: $lt_compiler_flag:'`
8413 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
8414 (eval "$lt_compile" 2>conftest.err)
8416 cat conftest.err >&5
8417 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8418 if (exit $ac_status) && test -s "$ac_outfile"; then
8419 # The compiler can only warn and ignore the option if not recognized
8420 # So say no if there are warnings other than the usual output.
8421 $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' >conftest.exp
8422 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
8423 if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
8424 lt_cv_prog_compiler_rtti_exceptions=yes
8430 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_rtti_exceptions" >&5
8431 $as_echo "$lt_cv_prog_compiler_rtti_exceptions" >&6; }
8433 if test x"$lt_cv_prog_compiler_rtti_exceptions" = xyes; then
8434 lt_prog_compiler_no_builtin_flag="$lt_prog_compiler_no_builtin_flag -fno-rtti -fno-exceptions"
8446 lt_prog_compiler_wl=
8447 lt_prog_compiler_pic=
8448 lt_prog_compiler_static=
8451 if test "$GCC" = yes; then
8452 lt_prog_compiler_wl='-Wl,'
8453 lt_prog_compiler_static='-static'
8457 # All AIX code is PIC.
8458 if test "$host_cpu" = ia64; then
8459 # AIX 5 now supports IA64 processor
8460 lt_prog_compiler_static='-Bstatic'
8467 # see comment about AmigaOS4 .so support
8468 lt_prog_compiler_pic='-fPIC'
8471 # FIXME: we need at least 68020 code to build shared libraries, but
8472 # adding the `-m68020' flag to GCC prevents building anything better,
8474 lt_prog_compiler_pic='-m68020 -resident32 -malways-restore-a4'
8479 beos* | irix5* | irix6* | nonstopux* | osf3* | osf4* | osf5*)
8480 # PIC is the default for these OSes.
8483 mingw* | cygwin* | pw32* | os2* | cegcc*)
8484 # This hack is so that the source file can tell whether it is being
8485 # built for inclusion in a dll (and should export symbols for example).
8486 # Although the cygwin gcc ignores -fPIC, still need this for old-style
8487 # (--disable-auto-import) libraries
8488 lt_prog_compiler_pic='-DDLL_EXPORT'
8491 darwin* | rhapsody*)
8492 # PIC is the default on this platform
8493 # Common symbols not allowed in MH_DYLIB files
8494 lt_prog_compiler_pic='-fno-common'
8498 # PIC is the default for Haiku.
8499 # The "-static" flag exists, but is broken.
8500 lt_prog_compiler_static=
8504 # PIC is the default for 64-bit PA HP-UX, but not for 32-bit
8505 # PA HP-UX. On IA64 HP-UX, PIC is the default but the pic flag
8506 # sets the default TLS model and affects inlining.
8512 lt_prog_compiler_pic='-fPIC'
8518 # Interix 3.x gcc -fpic/-fPIC options generate broken code.
8519 # Instead, we relocate shared libraries at runtime.
8523 # Just because we use GCC doesn't mean we suddenly get shared libraries
8524 # on systems that don't support them.
8525 lt_prog_compiler_can_build_shared=no
8530 # QNX uses GNU C++, but need to define -shared option too, otherwise
8532 lt_prog_compiler_pic='-fPIC -shared'
8536 if test -d /usr/nec; then
8537 lt_prog_compiler_pic=-Kconform_pic
8542 lt_prog_compiler_pic='-fPIC'
8546 case $cc_basename in
8547 nvcc*) # Cuda Compiler Driver 2.2
8548 lt_prog_compiler_wl='-Xlinker '
8549 if test -n "$lt_prog_compiler_pic"; then
8550 lt_prog_compiler_pic="-Xcompiler $lt_prog_compiler_pic"
8555 # PORTME Check for flag to pass linker flags through the system compiler.
8558 lt_prog_compiler_wl='-Wl,'
8559 if test "$host_cpu" = ia64; then
8560 # AIX 5 now supports IA64 processor
8561 lt_prog_compiler_static='-Bstatic'
8563 lt_prog_compiler_static='-bnso -bI:/lib/syscalls.exp'
8567 mingw* | cygwin* | pw32* | os2* | cegcc*)
8568 # This hack is so that the source file can tell whether it is being
8569 # built for inclusion in a dll (and should export symbols for example).
8570 lt_prog_compiler_pic='-DDLL_EXPORT'
8573 hpux9* | hpux10* | hpux11*)
8574 lt_prog_compiler_wl='-Wl,'
8575 # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
8582 lt_prog_compiler_pic='+Z'
8585 # Is there a better lt_prog_compiler_static that works with the bundled CC?
8586 lt_prog_compiler_static='${wl}-a ${wl}archive'
8589 irix5* | irix6* | nonstopux*)
8590 lt_prog_compiler_wl='-Wl,'
8591 # PIC (with -KPIC) is the default.
8592 lt_prog_compiler_static='-non_shared'
8595 linux* | k*bsd*-gnu | kopensolaris*-gnu)
8596 case $cc_basename in
8597 # old Intel for x86_64 which still supported -KPIC.
8599 lt_prog_compiler_wl='-Wl,'
8600 lt_prog_compiler_pic='-KPIC'
8601 lt_prog_compiler_static='-static'
8603 # icc used to be incompatible with GCC.
8604 # ICC 10 doesn't accept -KPIC any more.
8606 lt_prog_compiler_wl='-Wl,'
8607 lt_prog_compiler_pic='-fPIC'
8608 lt_prog_compiler_static='-static'
8610 # Lahey Fortran 8.1.
8612 lt_prog_compiler_wl='-Wl,'
8613 lt_prog_compiler_pic='--shared'
8614 lt_prog_compiler_static='--static'
8617 # NAG Fortran compiler
8618 lt_prog_compiler_wl='-Wl,-Wl,,'
8619 lt_prog_compiler_pic='-PIC'
8620 lt_prog_compiler_static='-Bstatic'
8622 pgcc* | pgf77* | pgf90* | pgf95* | pgfortran*)
8623 # Portland Group compilers (*not* the Pentium gcc compiler,
8624 # which looks to be a dead project)
8625 lt_prog_compiler_wl='-Wl,'
8626 lt_prog_compiler_pic='-fpic'
8627 lt_prog_compiler_static='-Bstatic'
8630 lt_prog_compiler_wl='-Wl,'
8631 # All Alpha code is PIC.
8632 lt_prog_compiler_static='-non_shared'
8634 xl* | bgxl* | bgf* | mpixl*)
8635 # IBM XL C 8.0/Fortran 10.1, 11.1 on PPC and BlueGene
8636 lt_prog_compiler_wl='-Wl,'
8637 lt_prog_compiler_pic='-qpic'
8638 lt_prog_compiler_static='-qstaticlink'
8641 case `$CC -V 2>&1 | sed 5q` in
8642 *Sun\ Ceres\ Fortran* | *Sun*Fortran*\ [1-7].* | *Sun*Fortran*\ 8.[0-3]*)
8643 # Sun Fortran 8.3 passes all unrecognized flags to the linker
8644 lt_prog_compiler_pic='-KPIC'
8645 lt_prog_compiler_static='-Bstatic'
8646 lt_prog_compiler_wl=''
8648 *Sun\ F* | *Sun*Fortran*)
8649 lt_prog_compiler_pic='-KPIC'
8650 lt_prog_compiler_static='-Bstatic'
8651 lt_prog_compiler_wl='-Qoption ld '
8655 lt_prog_compiler_pic='-KPIC'
8656 lt_prog_compiler_static='-Bstatic'
8657 lt_prog_compiler_wl='-Wl,'
8659 *Intel*\ [CF]*Compiler*)
8660 lt_prog_compiler_wl='-Wl,'
8661 lt_prog_compiler_pic='-fPIC'
8662 lt_prog_compiler_static='-static'
8665 lt_prog_compiler_wl='-Wl,'
8666 lt_prog_compiler_pic='-fpic'
8667 lt_prog_compiler_static='-Bstatic'
8675 lt_prog_compiler_pic='-KPIC'
8676 lt_prog_compiler_static='-Bstatic'
8680 # QNX uses GNU C++, but need to define -shared option too, otherwise
8682 lt_prog_compiler_pic='-fPIC -shared'
8685 osf3* | osf4* | osf5*)
8686 lt_prog_compiler_wl='-Wl,'
8687 # All OSF/1 code is PIC.
8688 lt_prog_compiler_static='-non_shared'
8692 lt_prog_compiler_static='-non_shared'
8696 lt_prog_compiler_pic='-KPIC'
8697 lt_prog_compiler_static='-Bstatic'
8698 case $cc_basename in
8699 f77* | f90* | f95* | sunf77* | sunf90* | sunf95*)
8700 lt_prog_compiler_wl='-Qoption ld ';;
8702 lt_prog_compiler_wl='-Wl,';;
8707 lt_prog_compiler_wl='-Qoption ld '
8708 lt_prog_compiler_pic='-PIC'
8709 lt_prog_compiler_static='-Bstatic'
8712 sysv4 | sysv4.2uw2* | sysv4.3*)
8713 lt_prog_compiler_wl='-Wl,'
8714 lt_prog_compiler_pic='-KPIC'
8715 lt_prog_compiler_static='-Bstatic'
8719 if test -d /usr/nec ;then
8720 lt_prog_compiler_pic='-Kconform_pic'
8721 lt_prog_compiler_static='-Bstatic'
8725 sysv5* | unixware* | sco3.2v5* | sco5v6* | OpenUNIX*)
8726 lt_prog_compiler_wl='-Wl,'
8727 lt_prog_compiler_pic='-KPIC'
8728 lt_prog_compiler_static='-Bstatic'
8732 lt_prog_compiler_wl='-Wl,'
8733 lt_prog_compiler_can_build_shared=no
8737 lt_prog_compiler_pic='-pic'
8738 lt_prog_compiler_static='-Bstatic'
8742 lt_prog_compiler_can_build_shared=no
8748 # For platforms which do not support PIC, -DPIC is meaningless:
8750 lt_prog_compiler_pic=
8753 lt_prog_compiler_pic="$lt_prog_compiler_pic -DPIC"
8757 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $compiler option to produce PIC" >&5
8758 $as_echo_n "checking for $compiler option to produce PIC... " >&6; }
8759 if ${lt_cv_prog_compiler_pic+:} false; then :
8760 $as_echo_n "(cached) " >&6
8762 lt_cv_prog_compiler_pic=$lt_prog_compiler_pic
8764 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic" >&5
8765 $as_echo "$lt_cv_prog_compiler_pic" >&6; }
8766 lt_prog_compiler_pic=$lt_cv_prog_compiler_pic
8769 # Check to make sure the PIC flag actually works.
8771 if test -n "$lt_prog_compiler_pic"; then
8772 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler PIC flag $lt_prog_compiler_pic works" >&5
8773 $as_echo_n "checking if $compiler PIC flag $lt_prog_compiler_pic works... " >&6; }
8774 if ${lt_cv_prog_compiler_pic_works+:} false; then :
8775 $as_echo_n "(cached) " >&6
8777 lt_cv_prog_compiler_pic_works=no
8778 ac_outfile=conftest.$ac_objext
8779 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
8780 lt_compiler_flag="$lt_prog_compiler_pic -DPIC"
8781 # Insert the option either (1) after the last *FLAGS variable, or
8782 # (2) before a word containing "conftest.", or (3) at the end.
8783 # Note that $ac_compile itself does not contain backslashes and begins
8784 # with a dollar sign (not a hyphen), so the echo should work correctly.
8785 # The option is referenced via a variable to avoid confusing sed.
8786 lt_compile=`echo "$ac_compile" | $SED \
8787 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
8788 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
8789 -e 's:$: $lt_compiler_flag:'`
8790 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
8791 (eval "$lt_compile" 2>conftest.err)
8793 cat conftest.err >&5
8794 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8795 if (exit $ac_status) && test -s "$ac_outfile"; then
8796 # The compiler can only warn and ignore the option if not recognized
8797 # So say no if there are warnings other than the usual output.
8798 $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' >conftest.exp
8799 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
8800 if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
8801 lt_cv_prog_compiler_pic_works=yes
8807 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic_works" >&5
8808 $as_echo "$lt_cv_prog_compiler_pic_works" >&6; }
8810 if test x"$lt_cv_prog_compiler_pic_works" = xyes; then
8811 case $lt_prog_compiler_pic in
8813 *) lt_prog_compiler_pic=" $lt_prog_compiler_pic" ;;
8816 lt_prog_compiler_pic=
8817 lt_prog_compiler_can_build_shared=no
8833 # Check to make sure the static flag actually works.
8835 wl=$lt_prog_compiler_wl eval lt_tmp_static_flag=\"$lt_prog_compiler_static\"
8836 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler static flag $lt_tmp_static_flag works" >&5
8837 $as_echo_n "checking if $compiler static flag $lt_tmp_static_flag works... " >&6; }
8838 if ${lt_cv_prog_compiler_static_works+:} false; then :
8839 $as_echo_n "(cached) " >&6
8841 lt_cv_prog_compiler_static_works=no
8842 save_LDFLAGS="$LDFLAGS"
8843 LDFLAGS="$LDFLAGS $lt_tmp_static_flag"
8844 echo "$lt_simple_link_test_code" > conftest.$ac_ext
8845 if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
8846 # The linker can only warn and ignore the option if not recognized
8847 # So say no if there are warnings
8848 if test -s conftest.err; then
8849 # Append any errors to the config.log.
8850 cat conftest.err 1>&5
8851 $ECHO "$_lt_linker_boilerplate" | $SED '/^$/d' > conftest.exp
8852 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
8853 if diff conftest.exp conftest.er2 >/dev/null; then
8854 lt_cv_prog_compiler_static_works=yes
8857 lt_cv_prog_compiler_static_works=yes
8861 LDFLAGS="$save_LDFLAGS"
8864 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_static_works" >&5
8865 $as_echo "$lt_cv_prog_compiler_static_works" >&6; }
8867 if test x"$lt_cv_prog_compiler_static_works" = xyes; then
8870 lt_prog_compiler_static=
8879 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
8880 $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
8881 if ${lt_cv_prog_compiler_c_o+:} false; then :
8882 $as_echo_n "(cached) " >&6
8884 lt_cv_prog_compiler_c_o=no
8885 $RM -r conftest 2>/dev/null
8889 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
8891 lt_compiler_flag="-o out/conftest2.$ac_objext"
8892 # Insert the option either (1) after the last *FLAGS variable, or
8893 # (2) before a word containing "conftest.", or (3) at the end.
8894 # Note that $ac_compile itself does not contain backslashes and begins
8895 # with a dollar sign (not a hyphen), so the echo should work correctly.
8896 lt_compile=`echo "$ac_compile" | $SED \
8897 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
8898 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
8899 -e 's:$: $lt_compiler_flag:'`
8900 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
8901 (eval "$lt_compile" 2>out/conftest.err)
8903 cat out/conftest.err >&5
8904 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8905 if (exit $ac_status) && test -s out/conftest2.$ac_objext
8907 # The compiler can only warn and ignore the option if not recognized
8908 # So say no if there are warnings
8909 $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' > out/conftest.exp
8910 $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
8911 if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
8912 lt_cv_prog_compiler_c_o=yes
8917 # SGI C++ compiler will create directory out/ii_files/ for
8918 # template instantiation
8919 test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
8920 $RM out/* && rmdir out
8926 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o" >&5
8927 $as_echo "$lt_cv_prog_compiler_c_o" >&6; }
8934 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
8935 $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
8936 if ${lt_cv_prog_compiler_c_o+:} false; then :
8937 $as_echo_n "(cached) " >&6
8939 lt_cv_prog_compiler_c_o=no
8940 $RM -r conftest 2>/dev/null
8944 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
8946 lt_compiler_flag="-o out/conftest2.$ac_objext"
8947 # Insert the option either (1) after the last *FLAGS variable, or
8948 # (2) before a word containing "conftest.", or (3) at the end.
8949 # Note that $ac_compile itself does not contain backslashes and begins
8950 # with a dollar sign (not a hyphen), so the echo should work correctly.
8951 lt_compile=`echo "$ac_compile" | $SED \
8952 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
8953 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
8954 -e 's:$: $lt_compiler_flag:'`
8955 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
8956 (eval "$lt_compile" 2>out/conftest.err)
8958 cat out/conftest.err >&5
8959 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8960 if (exit $ac_status) && test -s out/conftest2.$ac_objext
8962 # The compiler can only warn and ignore the option if not recognized
8963 # So say no if there are warnings
8964 $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' > out/conftest.exp
8965 $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
8966 if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
8967 lt_cv_prog_compiler_c_o=yes
8972 # SGI C++ compiler will create directory out/ii_files/ for
8973 # template instantiation
8974 test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
8975 $RM out/* && rmdir out
8981 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o" >&5
8982 $as_echo "$lt_cv_prog_compiler_c_o" >&6; }
8987 hard_links="nottested"
8988 if test "$lt_cv_prog_compiler_c_o" = no && test "$need_locks" != no; then
8989 # do not overwrite the value of need_locks provided by the user
8990 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if we can lock with hard links" >&5
8991 $as_echo_n "checking if we can lock with hard links... " >&6; }
8994 ln conftest.a conftest.b 2>/dev/null && hard_links=no
8996 ln conftest.a conftest.b 2>&5 || hard_links=no
8997 ln conftest.a conftest.b 2>/dev/null && hard_links=no
8998 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hard_links" >&5
8999 $as_echo "$hard_links" >&6; }
9000 if test "$hard_links" = no; then
9001 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5
9002 $as_echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;}
9014 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $compiler linker ($LD) supports shared libraries" >&5
9015 $as_echo_n "checking whether the $compiler linker ($LD) supports shared libraries... " >&6; }
9018 allow_undefined_flag=
9019 always_export_symbols=no
9021 archive_expsym_cmds=
9022 compiler_needs_object=no
9023 enable_shared_with_static_runtimes=no
9024 export_dynamic_flag_spec=
9025 export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
9026 hardcode_automatic=no
9028 hardcode_direct_absolute=no
9029 hardcode_libdir_flag_spec=
9030 hardcode_libdir_separator=
9032 hardcode_shlibpath_var=unsupported
9034 link_all_deplibs=unknown
9037 old_archive_from_new_cmds=
9038 old_archive_from_expsyms_cmds=
9039 thread_safe_flag_spec=
9040 whole_archive_flag_spec=
9041 # include_expsyms should be a list of space-separated symbols to be *always*
9042 # included in the symbol list
9044 # exclude_expsyms can be an extended regexp of symbols to exclude
9045 # it will be wrapped by ` (' and `)$', so one must not match beginning or
9046 # end of line. Example: `a|bc|.*d.*' will exclude the symbols `a' and `bc',
9047 # as well as any symbol that contains `d'.
9048 exclude_expsyms='_GLOBAL_OFFSET_TABLE_|_GLOBAL__F[ID]_.*'
9049 # Although _GLOBAL_OFFSET_TABLE_ is a valid symbol C name, most a.out
9050 # platforms (ab)use it in PIC code, but their linkers get confused if
9051 # the symbol is explicitly referenced. Since portable code cannot
9052 # rely on this symbol name, it's probably fine to never include it in
9053 # preloaded symbol tables.
9054 # Exclude shared library initialization/finalization symbols.
9055 extract_expsyms_cmds=
9058 cygwin* | mingw* | pw32* | cegcc*)
9059 # FIXME: the MSVC++ port hasn't been tested in a loooong time
9060 # When not using gcc, we currently assume that we are using
9061 # Microsoft Visual C++.
9062 if test "$GCC" != yes; then
9067 # we just hope/assume this is gcc and not c89 (= MSVC++)
9073 linux* | k*bsd*-gnu | gnu*)
9080 # On some targets, GNU ld is compatible enough with the native linker
9081 # that we're better off using the native interface for both.
9082 lt_use_gnu_ld_interface=no
9083 if test "$with_gnu_ld" = yes; then
9086 # The AIX port of GNU ld has always aspired to compatibility
9087 # with the native linker. However, as the warning in the GNU ld
9088 # block says, versions before 2.19.5* couldn't really create working
9089 # shared libraries, regardless of the interface used.
9090 case `$LD -v 2>&1` in
9091 *\ \(GNU\ Binutils\)\ 2.19.5*) ;;
9092 *\ \(GNU\ Binutils\)\ 2.[2-9]*) ;;
9093 *\ \(GNU\ Binutils\)\ [3-9]*) ;;
9095 lt_use_gnu_ld_interface=yes
9100 lt_use_gnu_ld_interface=yes
9105 if test "$lt_use_gnu_ld_interface" = yes; then
9106 # If archive_cmds runs LD, not CC, wlarc should be empty
9109 # Set some defaults for GNU ld with shared library support. These
9110 # are reset later if shared libraries are not supported. Putting them
9111 # here allows them to be overridden if necessary.
9112 runpath_var=LD_RUN_PATH
9113 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
9114 export_dynamic_flag_spec='${wl}--export-dynamic'
9115 # ancient GNU ld didn't support --whole-archive et. al.
9116 if $LD --help 2>&1 | $GREP 'no-whole-archive' > /dev/null; then
9117 whole_archive_flag_spec="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
9119 whole_archive_flag_spec=
9121 supports_anon_versioning=no
9122 case `$LD -v 2>&1` in
9123 *GNU\ gold*) supports_anon_versioning=yes ;;
9124 *\ [01].* | *\ 2.[0-9].* | *\ 2.10.*) ;; # catch versions < 2.11
9125 *\ 2.11.93.0.2\ *) supports_anon_versioning=yes ;; # RH7.3 ...
9126 *\ 2.11.92.0.12\ *) supports_anon_versioning=yes ;; # Mandrake 8.2 ...
9127 *\ 2.11.*) ;; # other 2.11 versions
9128 *) supports_anon_versioning=yes ;;
9131 # See if GNU ld supports shared libraries.
9134 # On AIX/PPC, the GNU linker is very broken
9135 if test "$host_cpu" != ia64; then
9139 *** Warning: the GNU linker, at least up to release 2.19, is reported
9140 *** to be unable to reliably create shared libraries on AIX.
9141 *** Therefore, libtool is disabling shared libraries support. If you
9142 *** really care for shared libraries, you may want to install binutils
9143 *** 2.20 or above, or modify your PATH so that a non-GNU linker is found.
9144 *** You will then need to restart the configuration process.
9153 # see comment about AmigaOS4 .so support
9154 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9155 archive_expsym_cmds=''
9158 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)'
9159 hardcode_libdir_flag_spec='-L$libdir'
9160 hardcode_minus_L=yes
9166 if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
9167 allow_undefined_flag=unsupported
9168 # Joseph Beckenbach <jrb3@best.com> says some releases of gcc
9169 # support --undefined. This deserves some investigation. FIXME
9170 archive_cmds='$CC -nostart $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9176 cygwin* | mingw* | pw32* | cegcc*)
9177 # _LT_TAGVAR(hardcode_libdir_flag_spec, ) is actually meaningless,
9178 # as there is no search path for DLLs.
9179 hardcode_libdir_flag_spec='-L$libdir'
9180 export_dynamic_flag_spec='${wl}--export-all-symbols'
9181 allow_undefined_flag=unsupported
9182 always_export_symbols=no
9183 enable_shared_with_static_runtimes=yes
9184 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'
9185 exclude_expsyms='[_]+GLOBAL_OFFSET_TABLE_|[_]+GLOBAL__[FID]_.*|[_]+head_[A-Za-z0-9_]+_dll|[A-Za-z0-9_]+_dll_iname'
9187 if $LD --help 2>&1 | $GREP 'auto-import' > /dev/null; then
9188 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
9189 # If the export-symbols file already is a .def file (1st line
9190 # is EXPORTS), use it as is; otherwise, prepend...
9191 archive_expsym_cmds='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
9192 cp $export_symbols $output_objdir/$soname.def;
9194 echo EXPORTS > $output_objdir/$soname.def;
9195 cat $export_symbols >> $output_objdir/$soname.def;
9197 $CC -shared $output_objdir/$soname.def $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
9204 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9205 link_all_deplibs=yes
9210 hardcode_shlibpath_var=no
9211 hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
9212 export_dynamic_flag_spec='${wl}-E'
9213 # Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc.
9214 # Instead, shared libraries are loaded at an image base (0x10000000 by
9215 # default) and relocated if they conflict, which is a slow very memory
9216 # consuming and fragmenting process. To avoid this, we pick a random,
9217 # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link
9218 # time. Moving up from 0x10000000 also allows more sbrk(2) space.
9219 archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-h,$soname ${wl}--image-base,`expr ${RANDOM-$$} % 4096 / 2 \* 262144 + 1342177280` -o $lib'
9220 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'
9223 gnu* | linux* | tpf* | k*bsd*-gnu | kopensolaris*-gnu)
9225 if test "$host_os" = linux-dietlibc; then
9226 case $cc_basename in
9227 diet\ *) tmp_diet=yes;; # linux-dietlibc with static linking (!diet-dyn)
9230 if $LD --help 2>&1 | $EGREP ': supported targets:.* elf' > /dev/null \
9231 && test "$tmp_diet" = no
9233 tmp_addflag=' $pic_flag'
9234 tmp_sharedflag='-shared'
9235 case $cc_basename,$host_cpu in
9236 pgcc*) # Portland Group C compiler
9237 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'
9238 tmp_addflag=' $pic_flag'
9240 pgf77* | pgf90* | pgf95* | pgfortran*)
9241 # Portland Group f77 and f90 compilers
9242 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'
9243 tmp_addflag=' $pic_flag -Mnomain' ;;
9244 ecc*,ia64* | icc*,ia64*) # Intel C compiler on ia64
9245 tmp_addflag=' -i_dynamic' ;;
9246 efc*,ia64* | ifort*,ia64*) # Intel Fortran compiler on ia64
9247 tmp_addflag=' -i_dynamic -nofor_main' ;;
9248 ifc* | ifort*) # Intel Fortran compiler
9249 tmp_addflag=' -nofor_main' ;;
9250 lf95*) # Lahey Fortran 8.1
9251 whole_archive_flag_spec=
9252 tmp_sharedflag='--shared' ;;
9253 xl[cC]* | bgxl[cC]* | mpixl[cC]*) # IBM XL C 8.0 on PPC (deal with xlf below)
9254 tmp_sharedflag='-qmkshrobj'
9256 nvcc*) # Cuda Compiler Driver 2.2
9257 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'
9258 compiler_needs_object=yes
9261 case `$CC -V 2>&1 | sed 5q` in
9262 *Sun\ C*) # Sun C 5.9
9263 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'
9264 compiler_needs_object=yes
9265 tmp_sharedflag='-G' ;;
9266 *Sun\ F*) # Sun Fortran 8.3
9267 tmp_sharedflag='-G' ;;
9269 archive_cmds='$CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9271 if test "x$supports_anon_versioning" = xyes; then
9272 archive_expsym_cmds='echo "{ global:" > $output_objdir/$libname.ver~
9273 cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
9274 echo "local: *; };" >> $output_objdir/$libname.ver~
9275 $CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-version-script ${wl}$output_objdir/$libname.ver -o $lib'
9278 case $cc_basename in
9279 xlf* | bgf* | bgxlf* | mpixlf*)
9280 # IBM XL Fortran 10.1 on PPC cannot create shared libs itself
9281 whole_archive_flag_spec='--whole-archive$convenience --no-whole-archive'
9282 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
9283 archive_cmds='$LD -shared $libobjs $deplibs $linker_flags -soname $soname -o $lib'
9284 if test "x$supports_anon_versioning" = xyes; then
9285 archive_expsym_cmds='echo "{ global:" > $output_objdir/$libname.ver~
9286 cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
9287 echo "local: *; };" >> $output_objdir/$libname.ver~
9288 $LD -shared $libobjs $deplibs $linker_flags -soname $soname -version-script $output_objdir/$libname.ver -o $lib'
9297 netbsd* | netbsdelf*-gnu)
9298 if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
9299 archive_cmds='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib'
9302 archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9303 archive_expsym_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
9308 if $LD -v 2>&1 | $GREP 'BFD 2\.8' > /dev/null; then
9312 *** Warning: The releases 2.8.* of the GNU linker cannot reliably
9313 *** create shared libraries on Solaris systems. Therefore, libtool
9314 *** is disabling shared libraries support. We urge you to upgrade GNU
9315 *** binutils to release 2.9.1 or newer. Another option is to modify
9316 *** your PATH or compiler configuration so that the native linker is
9317 *** used, and then restart.
9320 elif $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
9321 archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9322 archive_expsym_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
9328 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX*)
9329 case `$LD -v 2>&1` in
9330 *\ [01].* | *\ 2.[0-9].* | *\ 2.1[0-5].*)
9334 *** Warning: Releases of the GNU linker prior to 2.16.91.0.3 can not
9335 *** reliably create shared libraries on SCO systems. Therefore, libtool
9336 *** is disabling shared libraries support. We urge you to upgrade GNU
9337 *** binutils to release 2.16.91.0.3 or newer. Another option is to modify
9338 *** your PATH or compiler configuration so that the native linker is
9339 *** used, and then restart.
9344 # For security reasons, it is highly recommended that you always
9345 # use absolute paths for naming shared libraries, and exclude the
9346 # DT_RUNPATH tag from executables and libraries. But doing so
9347 # requires that you compile everything twice, which is a pain.
9348 if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
9349 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
9350 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9351 archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
9360 archive_cmds='$LD -assert pure-text -Bshareable -o $lib $libobjs $deplibs $linker_flags'
9363 hardcode_shlibpath_var=no
9367 if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
9368 archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9369 archive_expsym_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
9376 if test "$ld_shlibs" = no; then
9378 hardcode_libdir_flag_spec=
9379 export_dynamic_flag_spec=
9380 whole_archive_flag_spec=
9383 # PORTME fill in a description of your system's linker (not GNU ld)
9386 allow_undefined_flag=unsupported
9387 always_export_symbols=yes
9388 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'
9389 # Note: this linker hardcodes the directories in LIBPATH if there
9390 # are no directories specified by -L.
9391 hardcode_minus_L=yes
9392 if test "$GCC" = yes && test -z "$lt_prog_compiler_static"; then
9393 # Neither direct hardcoding nor static linking is supported with a
9395 hardcode_direct=unsupported
9400 if test "$host_cpu" = ia64; then
9401 # On IA64, the linker does run time linking by default, so we don't
9402 # have to do anything special.
9403 aix_use_runtimelinking=no
9404 exp_sym_flag='-Bexport'
9407 # If we're using GNU nm, then we don't want the "-C" option.
9408 # -C means demangle to AIX nm, but means don't demangle with GNU nm
9409 # Also, AIX nm treats weak defined symbols like other global
9410 # defined symbols, whereas GNU nm marks them as "W".
9411 if $NM -V 2>&1 | $GREP 'GNU' > /dev/null; then
9412 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'
9414 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'
9416 aix_use_runtimelinking=no
9418 # Test if we are trying to use run time linking or normal
9419 # AIX style linking. If -brtl is somewhere in LDFLAGS, we
9420 # need to do runtime linking.
9421 case $host_os in aix4.[23]|aix4.[23].*|aix[5-9]*)
9422 for ld_flag in $LDFLAGS; do
9423 if (test $ld_flag = "-brtl" || test $ld_flag = "-Wl,-brtl"); then
9424 aix_use_runtimelinking=yes
9431 exp_sym_flag='-bexport'
9432 no_entry_flag='-bnoentry'
9435 # When large executables or shared objects are built, AIX ld can
9436 # have problems creating the table of contents. If linking a library
9437 # or program results in "error TOC overflow" add -mminimal-toc to
9438 # CXXFLAGS/CFLAGS for g++/gcc. In the cases where that is not
9439 # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
9443 hardcode_direct_absolute=yes
9444 hardcode_libdir_separator=':'
9445 link_all_deplibs=yes
9446 file_list_spec='${wl}-f,'
9448 if test "$GCC" = yes; then
9449 case $host_os in aix4.[012]|aix4.[012].*)
9450 # We only want to do this on AIX 4.2 and lower, the check
9451 # below for broken collect2 doesn't work under 4.3+
9452 collect2name=`${CC} -print-prog-name=collect2`
9453 if test -f "$collect2name" &&
9454 strings "$collect2name" | $GREP resolve_lib_name >/dev/null
9456 # We have reworked collect2
9459 # We have old collect2
9460 hardcode_direct=unsupported
9461 # It fails to find uninstalled libraries when the uninstalled
9462 # path is not listed in the libpath. Setting hardcode_minus_L
9463 # to unsupported forces relinking
9464 hardcode_minus_L=yes
9465 hardcode_libdir_flag_spec='-L$libdir'
9466 hardcode_libdir_separator=
9470 shared_flag='-shared'
9471 if test "$aix_use_runtimelinking" = yes; then
9472 shared_flag="$shared_flag "'${wl}-G'
9477 if test "$host_cpu" = ia64; then
9478 # VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
9479 # chokes on -Wl,-G. The following line is correct:
9482 if test "$aix_use_runtimelinking" = yes; then
9483 shared_flag='${wl}-G'
9485 shared_flag='${wl}-bM:SRE'
9490 export_dynamic_flag_spec='${wl}-bexpall'
9491 # It seems that -bexpall does not export symbols beginning with
9492 # underscore (_), so it is better to generate a list of symbols to export.
9493 always_export_symbols=yes
9494 if test "$aix_use_runtimelinking" = yes; then
9495 # Warning - without using the other runtime loading flags (-brtl),
9496 # -berok will link without error, but may produce a broken library.
9497 allow_undefined_flag='-berok'
9498 # Determine the default libpath from the value encoded in an
9500 if test "${lt_cv_aix_libpath+set}" = set; then
9501 aix_libpath=$lt_cv_aix_libpath
9503 if ${lt_cv_aix_libpath_+:} false; then :
9504 $as_echo_n "(cached) " >&6
9506 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9507 /* end confdefs.h. */
9517 if ac_fn_c_try_link "$LINENO"; then :
9519 lt_aix_libpath_sed='
9520 /Import File Strings/,/^$/ {
9522 s/^0 *\([^ ]*\) *$/\1/
9526 lt_cv_aix_libpath_=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
9527 # Check for a 64-bit object if we didn't find anything.
9528 if test -z "$lt_cv_aix_libpath_"; then
9529 lt_cv_aix_libpath_=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
9532 rm -f core conftest.err conftest.$ac_objext \
9533 conftest$ac_exeext conftest.$ac_ext
9534 if test -z "$lt_cv_aix_libpath_"; then
9535 lt_cv_aix_libpath_="/usr/lib:/lib"
9540 aix_libpath=$lt_cv_aix_libpath_
9543 hardcode_libdir_flag_spec='${wl}-blibpath:$libdir:'"$aix_libpath"
9544 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"
9546 if test "$host_cpu" = ia64; then
9547 hardcode_libdir_flag_spec='${wl}-R $libdir:/usr/lib:/lib'
9548 allow_undefined_flag="-z nodefs"
9549 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"
9551 # Determine the default libpath from the value encoded in an
9553 if test "${lt_cv_aix_libpath+set}" = set; then
9554 aix_libpath=$lt_cv_aix_libpath
9556 if ${lt_cv_aix_libpath_+:} false; then :
9557 $as_echo_n "(cached) " >&6
9559 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9560 /* end confdefs.h. */
9570 if ac_fn_c_try_link "$LINENO"; then :
9572 lt_aix_libpath_sed='
9573 /Import File Strings/,/^$/ {
9575 s/^0 *\([^ ]*\) *$/\1/
9579 lt_cv_aix_libpath_=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
9580 # Check for a 64-bit object if we didn't find anything.
9581 if test -z "$lt_cv_aix_libpath_"; then
9582 lt_cv_aix_libpath_=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
9585 rm -f core conftest.err conftest.$ac_objext \
9586 conftest$ac_exeext conftest.$ac_ext
9587 if test -z "$lt_cv_aix_libpath_"; then
9588 lt_cv_aix_libpath_="/usr/lib:/lib"
9593 aix_libpath=$lt_cv_aix_libpath_
9596 hardcode_libdir_flag_spec='${wl}-blibpath:$libdir:'"$aix_libpath"
9597 # Warning - without using the other run time loading flags,
9598 # -berok will link without error, but may produce a broken library.
9599 no_undefined_flag=' ${wl}-bernotok'
9600 allow_undefined_flag=' ${wl}-berok'
9601 if test "$with_gnu_ld" = yes; then
9602 # We only use this code for GNU lds that support --whole-archive.
9603 whole_archive_flag_spec='${wl}--whole-archive$convenience ${wl}--no-whole-archive'
9605 # Exported symbols can be pulled into shared objects from archives
9606 whole_archive_flag_spec='$convenience'
9608 archive_cmds_need_lc=yes
9609 # This is similar to how AIX traditionally builds its shared libraries.
9610 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'
9618 # see comment about AmigaOS4 .so support
9619 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9620 archive_expsym_cmds=''
9623 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)'
9624 hardcode_libdir_flag_spec='-L$libdir'
9625 hardcode_minus_L=yes
9631 export_dynamic_flag_spec=-rdynamic
9634 cygwin* | mingw* | pw32* | cegcc*)
9635 # When not using gcc, we currently assume that we are using
9636 # Microsoft Visual C++.
9637 # hardcode_libdir_flag_spec is actually meaningless, as there is
9638 # no search path for DLLs.
9639 case $cc_basename in
9642 hardcode_libdir_flag_spec=' '
9643 allow_undefined_flag=unsupported
9644 always_export_symbols=yes
9646 # Tell ltmain to make .lib files, not .a files.
9648 # Tell ltmain to make .dll files, not .so files.
9650 # FIXME: Setting linknames here is a bad hack.
9651 archive_cmds='$CC -o $output_objdir/$soname $libobjs $compiler_flags $deplibs -Wl,-dll~linknames='
9652 archive_expsym_cmds='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
9653 sed -n -e 's/\\\\\\\(.*\\\\\\\)/-link\\\ -EXPORT:\\\\\\\1/' -e '1\\\!p' < $export_symbols > $output_objdir/$soname.exp;
9655 sed -e 's/\\\\\\\(.*\\\\\\\)/-link\\\ -EXPORT:\\\\\\\1/' < $export_symbols > $output_objdir/$soname.exp;
9657 $CC -o $tool_output_objdir$soname $libobjs $compiler_flags $deplibs "@$tool_output_objdir$soname.exp" -Wl,-DLL,-IMPLIB:"$tool_output_objdir$libname.dll.lib"~
9659 # The linker will not automatically build a static lib if we build a DLL.
9660 # _LT_TAGVAR(old_archive_from_new_cmds, )='true'
9661 enable_shared_with_static_runtimes=yes
9662 exclude_expsyms='_NULL_IMPORT_DESCRIPTOR|_IMPORT_DESCRIPTOR_.*'
9663 export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS][ ]/s/.*[ ]\([^ ]*\)/\1,DATA/'\'' | $SED -e '\''/^[AITW][ ]/s/.*[ ]//'\'' | sort | uniq > $export_symbols'
9665 old_postinstall_cmds='chmod 644 $oldlib'
9666 postlink_cmds='lt_outputfile="@OUTPUT@"~
9667 lt_tool_outputfile="@TOOL_OUTPUT@"~
9668 case $lt_outputfile in
9671 lt_outputfile="$lt_outputfile.exe"
9672 lt_tool_outputfile="$lt_tool_outputfile.exe"
9675 if test "$MANIFEST_TOOL" != ":" && test -f "$lt_outputfile.manifest"; then
9676 $MANIFEST_TOOL -manifest "$lt_tool_outputfile.manifest" -outputresource:"$lt_tool_outputfile" || exit 1;
9677 $RM "$lt_outputfile.manifest";
9681 # Assume MSVC wrapper
9682 hardcode_libdir_flag_spec=' '
9683 allow_undefined_flag=unsupported
9684 # Tell ltmain to make .lib files, not .a files.
9686 # Tell ltmain to make .dll files, not .so files.
9688 # FIXME: Setting linknames here is a bad hack.
9689 archive_cmds='$CC -o $lib $libobjs $compiler_flags `func_echo_all "$deplibs" | $SED '\''s/ -lc$//'\''` -link -dll~linknames='
9690 # The linker will automatically build a .lib file if we build a DLL.
9691 old_archive_from_new_cmds='true'
9692 # FIXME: Should let the user specify the lib program.
9693 old_archive_cmds='lib -OUT:$oldlib$oldobjs$old_deplibs'
9694 enable_shared_with_static_runtimes=yes
9699 darwin* | rhapsody*)
9702 archive_cmds_need_lc=no
9704 hardcode_automatic=yes
9705 hardcode_shlibpath_var=unsupported
9706 if test "$lt_cv_ld_force_load" = "yes"; then
9707 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\"`'
9710 whole_archive_flag_spec=''
9712 link_all_deplibs=yes
9713 allow_undefined_flag="$_lt_dar_allow_undefined"
9714 case $cc_basename in
9715 ifort*) _lt_dar_can_shared=yes ;;
9716 *) _lt_dar_can_shared=$GCC ;;
9718 if test "$_lt_dar_can_shared" = "yes"; then
9719 output_verbose_link_cmd=func_echo_all
9720 archive_cmds="\$CC -dynamiclib \$allow_undefined_flag -o \$lib \$libobjs \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring $_lt_dar_single_mod${_lt_dsymutil}"
9721 module_cmds="\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags${_lt_dsymutil}"
9722 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}"
9723 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}"
9732 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
9733 hardcode_libdir_flag_spec='-L$libdir'
9734 hardcode_shlibpath_var=no
9737 # FreeBSD 2.2.[012] allows us to include c++rt0.o to get C++ constructor
9738 # support. Future versions do this automatically, but an explicit c++rt0.o
9739 # does not break anything, and helps significantly (at the cost of a little
9742 archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags /usr/lib/c++rt0.o'
9743 hardcode_libdir_flag_spec='-R$libdir'
9745 hardcode_shlibpath_var=no
9748 # Unfortunately, older versions of FreeBSD 2 do not have this feature.
9750 archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
9752 hardcode_minus_L=yes
9753 hardcode_shlibpath_var=no
9756 # FreeBSD 3 and greater uses gcc -shared to do shared libraries.
9757 freebsd* | dragonfly*)
9758 archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
9759 hardcode_libdir_flag_spec='-R$libdir'
9761 hardcode_shlibpath_var=no
9765 if test "$GCC" = yes; then
9766 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'
9768 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'
9770 hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
9771 hardcode_libdir_separator=:
9774 # hardcode_minus_L: Not really in the search PATH,
9775 # but as the default location of the library.
9776 hardcode_minus_L=yes
9777 export_dynamic_flag_spec='${wl}-E'
9781 if test "$GCC" = yes && test "$with_gnu_ld" = no; then
9782 archive_cmds='$CC -shared $pic_flag ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
9784 archive_cmds='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
9786 if test "$with_gnu_ld" = no; then
9787 hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
9788 hardcode_libdir_separator=:
9790 hardcode_direct_absolute=yes
9791 export_dynamic_flag_spec='${wl}-E'
9792 # hardcode_minus_L: Not really in the search PATH,
9793 # but as the default location of the library.
9794 hardcode_minus_L=yes
9799 if test "$GCC" = yes && test "$with_gnu_ld" = no; then
9802 archive_cmds='$CC -shared ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
9805 archive_cmds='$CC -shared $pic_flag ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
9808 archive_cmds='$CC -shared $pic_flag ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
9814 archive_cmds='$CC -b ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
9817 archive_cmds='$CC -b ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
9821 # Older versions of the 11.00 compiler do not understand -b yet
9822 # (HP92453-01 A.11.01.20 doesn't, HP92453-01 B.11.X.35175-35176.GP does)
9823 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC understands -b" >&5
9824 $as_echo_n "checking if $CC understands -b... " >&6; }
9825 if ${lt_cv_prog_compiler__b+:} false; then :
9826 $as_echo_n "(cached) " >&6
9828 lt_cv_prog_compiler__b=no
9829 save_LDFLAGS="$LDFLAGS"
9830 LDFLAGS="$LDFLAGS -b"
9831 echo "$lt_simple_link_test_code" > conftest.$ac_ext
9832 if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
9833 # The linker can only warn and ignore the option if not recognized
9834 # So say no if there are warnings
9835 if test -s conftest.err; then
9836 # Append any errors to the config.log.
9837 cat conftest.err 1>&5
9838 $ECHO "$_lt_linker_boilerplate" | $SED '/^$/d' > conftest.exp
9839 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
9840 if diff conftest.exp conftest.er2 >/dev/null; then
9841 lt_cv_prog_compiler__b=yes
9844 lt_cv_prog_compiler__b=yes
9848 LDFLAGS="$save_LDFLAGS"
9851 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler__b" >&5
9852 $as_echo "$lt_cv_prog_compiler__b" >&6; }
9854 if test x"$lt_cv_prog_compiler__b" = xyes; then
9855 archive_cmds='$CC -b ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
9857 archive_cmds='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
9863 if test "$with_gnu_ld" = no; then
9864 hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
9865 hardcode_libdir_separator=:
9870 hardcode_shlibpath_var=no
9874 hardcode_direct_absolute=yes
9875 export_dynamic_flag_spec='${wl}-E'
9877 # hardcode_minus_L: Not really in the search PATH,
9878 # but as the default location of the library.
9879 hardcode_minus_L=yes
9885 irix5* | irix6* | nonstopux*)
9886 if test "$GCC" = yes; then
9887 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'
9888 # Try to use the -exported_symbol ld option, if it does not
9889 # work, assume that -exports_file does not work either and
9890 # implicitly export all symbols.
9891 # This should be the same for all languages, so no per-tag cache variable.
9892 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $host_os linker accepts -exported_symbol" >&5
9893 $as_echo_n "checking whether the $host_os linker accepts -exported_symbol... " >&6; }
9894 if ${lt_cv_irix_exported_symbol+:} false; then :
9895 $as_echo_n "(cached) " >&6
9897 save_LDFLAGS="$LDFLAGS"
9898 LDFLAGS="$LDFLAGS -shared ${wl}-exported_symbol ${wl}foo ${wl}-update_registry ${wl}/dev/null"
9899 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9900 /* end confdefs.h. */
9901 int foo (void) { return 0; }
9903 if ac_fn_c_try_link "$LINENO"; then :
9904 lt_cv_irix_exported_symbol=yes
9906 lt_cv_irix_exported_symbol=no
9908 rm -f core conftest.err conftest.$ac_objext \
9909 conftest$ac_exeext conftest.$ac_ext
9910 LDFLAGS="$save_LDFLAGS"
9912 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_irix_exported_symbol" >&5
9913 $as_echo "$lt_cv_irix_exported_symbol" >&6; }
9914 if test "$lt_cv_irix_exported_symbol" = yes; then
9915 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'
9918 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'
9919 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'
9921 archive_cmds_need_lc='no'
9922 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
9923 hardcode_libdir_separator=:
9925 link_all_deplibs=yes
9928 netbsd* | netbsdelf*-gnu)
9929 if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
9930 archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags' # a.out
9932 archive_cmds='$LD -shared -o $lib $libobjs $deplibs $linker_flags' # ELF
9934 hardcode_libdir_flag_spec='-R$libdir'
9936 hardcode_shlibpath_var=no
9940 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
9942 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
9943 hardcode_libdir_separator=:
9944 hardcode_shlibpath_var=no
9951 if test -f /usr/libexec/ld.so; then
9953 hardcode_shlibpath_var=no
9954 hardcode_direct_absolute=yes
9955 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
9956 archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
9957 archive_expsym_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-retain-symbols-file,$export_symbols'
9958 hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
9959 export_dynamic_flag_spec='${wl}-E'
9962 openbsd[01].* | openbsd2.[0-7] | openbsd2.[0-7].*)
9963 archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
9964 hardcode_libdir_flag_spec='-R$libdir'
9967 archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
9968 hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
9978 hardcode_libdir_flag_spec='-L$libdir'
9979 hardcode_minus_L=yes
9980 allow_undefined_flag=unsupported
9981 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'
9982 old_archive_from_new_cmds='emximp -o $output_objdir/$libname.a $output_objdir/$libname.def'
9986 if test "$GCC" = yes; then
9987 allow_undefined_flag=' ${wl}-expect_unresolved ${wl}\*'
9988 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'
9990 allow_undefined_flag=' -expect_unresolved \*'
9991 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'
9993 archive_cmds_need_lc='no'
9994 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
9995 hardcode_libdir_separator=:
9998 osf4* | osf5*) # as osf3* with the addition of -msym flag
9999 if test "$GCC" = yes; then
10000 allow_undefined_flag=' ${wl}-expect_unresolved ${wl}\*'
10001 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'
10002 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
10004 allow_undefined_flag=' -expect_unresolved \*'
10005 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'
10006 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~
10007 $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'
10009 # Both c and cxx compiler support -rpath directly
10010 hardcode_libdir_flag_spec='-rpath $libdir'
10012 archive_cmds_need_lc='no'
10013 hardcode_libdir_separator=:
10017 no_undefined_flag=' -z defs'
10018 if test "$GCC" = yes; then
10020 archive_cmds='$CC -shared $pic_flag ${wl}-z ${wl}text ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
10021 archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
10022 $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'
10024 case `$CC -V 2>&1` in
10027 archive_cmds='$LD -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $linker_flags'
10028 archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
10029 $LD -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$RM $lib.exp'
10033 archive_cmds='$CC -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $compiler_flags'
10034 archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
10035 $CC -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $compiler_flags~$RM $lib.exp'
10039 hardcode_libdir_flag_spec='-R$libdir'
10040 hardcode_shlibpath_var=no
10042 solaris2.[0-5] | solaris2.[0-5].*) ;;
10044 # The compiler driver will combine and reorder linker options,
10045 # but understands `-z linker_flag'. GCC discards it without `$wl',
10046 # but is careful enough not to reorder.
10047 # Supported since Solaris 2.6 (maybe 2.5.1?)
10048 if test "$GCC" = yes; then
10049 whole_archive_flag_spec='${wl}-z ${wl}allextract$convenience ${wl}-z ${wl}defaultextract'
10051 whole_archive_flag_spec='-z allextract$convenience -z defaultextract'
10055 link_all_deplibs=yes
10059 if test "x$host_vendor" = xsequent; then
10060 # Use $CC to link under sequent, because it throws in some extra .o
10061 # files that make .init and .fini sections work.
10062 archive_cmds='$CC -G ${wl}-h $soname -o $lib $libobjs $deplibs $compiler_flags'
10064 archive_cmds='$LD -assert pure-text -Bstatic -o $lib $libobjs $deplibs $linker_flags'
10066 hardcode_libdir_flag_spec='-L$libdir'
10067 hardcode_direct=yes
10068 hardcode_minus_L=yes
10069 hardcode_shlibpath_var=no
10073 case $host_vendor in
10075 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
10076 hardcode_direct=yes # is this really true???
10079 ## LD is ld it makes a PLAMLIB
10080 ## CC just makes a GrossModule.
10081 archive_cmds='$LD -G -o $lib $libobjs $deplibs $linker_flags'
10082 reload_cmds='$CC -r -o $output$reload_objs'
10086 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
10087 hardcode_direct=no #Motorola manual says yes, but my tests say they lie
10090 runpath_var='LD_RUN_PATH'
10091 hardcode_shlibpath_var=no
10095 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
10096 hardcode_shlibpath_var=no
10097 export_dynamic_flag_spec='-Bexport'
10101 if test -d /usr/nec; then
10102 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
10103 hardcode_shlibpath_var=no
10104 runpath_var=LD_RUN_PATH
10105 hardcode_runpath_var=yes
10110 sysv4*uw2* | sysv5OpenUNIX* | sysv5UnixWare7.[01].[10]* | unixware7* | sco3.2v5.0.[024]*)
10111 no_undefined_flag='${wl}-z,text'
10112 archive_cmds_need_lc=no
10113 hardcode_shlibpath_var=no
10114 runpath_var='LD_RUN_PATH'
10116 if test "$GCC" = yes; then
10117 archive_cmds='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10118 archive_expsym_cmds='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10120 archive_cmds='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10121 archive_expsym_cmds='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10125 sysv5* | sco3.2v5* | sco5v6*)
10126 # Note: We can NOT use -z defs as we might desire, because we do not
10127 # link with -lc, and that would cause any symbols used from libc to
10128 # always be unresolved, which means just about no library would
10129 # ever link correctly. If we're not using GNU ld we use -z text
10130 # though, which does catch some bad symbols but isn't as heavy-handed
10132 no_undefined_flag='${wl}-z,text'
10133 allow_undefined_flag='${wl}-z,nodefs'
10134 archive_cmds_need_lc=no
10135 hardcode_shlibpath_var=no
10136 hardcode_libdir_flag_spec='${wl}-R,$libdir'
10137 hardcode_libdir_separator=':'
10138 link_all_deplibs=yes
10139 export_dynamic_flag_spec='${wl}-Bexport'
10140 runpath_var='LD_RUN_PATH'
10142 if test "$GCC" = yes; then
10143 archive_cmds='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10144 archive_expsym_cmds='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10146 archive_cmds='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10147 archive_expsym_cmds='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10152 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
10153 hardcode_libdir_flag_spec='-L$libdir'
10154 hardcode_shlibpath_var=no
10162 if test x$host_vendor = xsni; then
10164 sysv4 | sysv4.2uw2* | sysv4.3* | sysv5*)
10165 export_dynamic_flag_spec='${wl}-Blargedynsym'
10171 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ld_shlibs" >&5
10172 $as_echo "$ld_shlibs" >&6; }
10173 test "$ld_shlibs" = no && can_build_shared=no
10175 with_gnu_ld=$with_gnu_ld
10192 # Do we need to explicitly link libc?
10194 case "x$archive_cmds_need_lc" in
10196 # Assume -lc should be added
10197 archive_cmds_need_lc=yes
10199 if test "$enable_shared" = yes && test "$GCC" = yes; then
10200 case $archive_cmds in
10202 # FIXME: we may have to deal with multi-command sequences.
10205 # Test whether the compiler implicitly links with -lc since on some
10206 # systems, -lgcc has to come before -lc. If gcc already passes -lc
10207 # to ld, don't add -lc before -lgcc.
10208 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether -lc should be explicitly linked in" >&5
10209 $as_echo_n "checking whether -lc should be explicitly linked in... " >&6; }
10210 if ${lt_cv_archive_cmds_need_lc+:} false; then :
10211 $as_echo_n "(cached) " >&6
10214 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
10216 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
10217 (eval $ac_compile) 2>&5
10219 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
10220 test $ac_status = 0; } 2>conftest.err; then
10223 libobjs=conftest.$ac_objext
10225 wl=$lt_prog_compiler_wl
10226 pic_flag=$lt_prog_compiler_pic
10232 lt_save_allow_undefined_flag=$allow_undefined_flag
10233 allow_undefined_flag=
10234 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$archive_cmds 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1\""; } >&5
10235 (eval $archive_cmds 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1) 2>&5
10237 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
10238 test $ac_status = 0; }
10240 lt_cv_archive_cmds_need_lc=no
10242 lt_cv_archive_cmds_need_lc=yes
10244 allow_undefined_flag=$lt_save_allow_undefined_flag
10246 cat conftest.err 1>&5
10251 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_archive_cmds_need_lc" >&5
10252 $as_echo "$lt_cv_archive_cmds_need_lc" >&6; }
10253 archive_cmds_need_lc=$lt_cv_archive_cmds_need_lc
10411 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dynamic linker characteristics" >&5
10412 $as_echo_n "checking dynamic linker characteristics... " >&6; }
10414 if test "$GCC" = yes; then
10416 darwin*) lt_awk_arg="/^libraries:/,/LR/" ;;
10417 *) lt_awk_arg="/^libraries:/" ;;
10420 mingw* | cegcc*) lt_sed_strip_eq="s,=\([A-Za-z]:\),\1,g" ;;
10421 *) lt_sed_strip_eq="s,=/,/,g" ;;
10423 lt_search_path_spec=`$CC -print-search-dirs | awk $lt_awk_arg | $SED -e "s/^libraries://" -e $lt_sed_strip_eq`
10424 case $lt_search_path_spec in
10426 # if the path contains ";" then we assume it to be the separator
10427 # otherwise default to the standard path separator (i.e. ":") - it is
10428 # assumed that no part of a normal pathname contains ";" but that should
10429 # okay in the real world where ";" in dirpaths is itself problematic.
10430 lt_search_path_spec=`$ECHO "$lt_search_path_spec" | $SED 's/;/ /g'`
10433 lt_search_path_spec=`$ECHO "$lt_search_path_spec" | $SED "s/$PATH_SEPARATOR/ /g"`
10436 # Ok, now we have the path, separated by spaces, we can step through it
10437 # and add multilib dir if necessary.
10438 lt_tmp_lt_search_path_spec=
10439 lt_multi_os_dir=`$CC $CPPFLAGS $CFLAGS $LDFLAGS -print-multi-os-directory 2>/dev/null`
10440 for lt_sys_path in $lt_search_path_spec; do
10441 if test -d "$lt_sys_path/$lt_multi_os_dir"; then
10442 lt_tmp_lt_search_path_spec="$lt_tmp_lt_search_path_spec $lt_sys_path/$lt_multi_os_dir"
10444 test -d "$lt_sys_path" && \
10445 lt_tmp_lt_search_path_spec="$lt_tmp_lt_search_path_spec $lt_sys_path"
10448 lt_search_path_spec=`$ECHO "$lt_tmp_lt_search_path_spec" | awk '
10449 BEGIN {RS=" "; FS="/|\n";} {
10452 for (lt_i = NF; lt_i > 0; lt_i--) {
10453 if ($lt_i != "" && $lt_i != ".") {
10454 if ($lt_i == "..") {
10457 if (lt_count == 0) {
10458 lt_foo="/" $lt_i lt_foo;
10465 if (lt_foo != "") { lt_freq[lt_foo]++; }
10466 if (lt_freq[lt_foo] == 1) { print lt_foo; }
10468 # AWK program above erroneously prepends '/' to C:/dos/paths
10471 mingw* | cegcc*) lt_search_path_spec=`$ECHO "$lt_search_path_spec" |\
10472 $SED 's,/\([A-Za-z]:\),\1,g'` ;;
10474 sys_lib_search_path_spec=`$ECHO "$lt_search_path_spec" | $lt_NL2SP`
10476 sys_lib_search_path_spec="/lib /usr/lib /usr/local/lib"
10478 library_names_spec=
10479 libname_spec='lib$name'
10483 postuninstall_cmds=
10487 shlibpath_overrides_runpath=unknown
10489 dynamic_linker="$host_os ld.so"
10490 sys_lib_dlsearch_path_spec="/lib /usr/lib"
10491 need_lib_prefix=unknown
10492 hardcode_into_libs=no
10494 # when you set need_version to no, make sure it does not cause -set_version
10495 # flags to be left without arguments
10496 need_version=unknown
10500 version_type=linux # correct to gnu/linux during the next big refactor
10501 library_names_spec='${libname}${release}${shared_ext}$versuffix $libname.a'
10502 shlibpath_var=LIBPATH
10504 # AIX 3 has no versioning support, so we append a major version to the name.
10505 soname_spec='${libname}${release}${shared_ext}$major'
10509 version_type=linux # correct to gnu/linux during the next big refactor
10512 hardcode_into_libs=yes
10513 if test "$host_cpu" = ia64; then
10514 # AIX 5 supports IA64
10515 library_names_spec='${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext}$versuffix $libname${shared_ext}'
10516 shlibpath_var=LD_LIBRARY_PATH
10518 # With GCC up to 2.95.x, collect2 would create an import file
10519 # for dependence libraries. The import file would start with
10520 # the line `#! .'. This would cause the generated library to
10521 # depend on `.', always an invalid library. This was fixed in
10522 # development snapshots of GCC prior to 3.0.
10524 aix4 | aix4.[01] | aix4.[01].*)
10525 if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
10527 echo '#endif'; } | ${CC} -E - | $GREP yes > /dev/null; then
10530 can_build_shared=no
10534 # AIX (on Power*) has no versioning support, so currently we can not hardcode correct
10535 # soname into executable. Probably we can add versioning support to
10536 # collect2, so additional links can be useful in future.
10537 if test "$aix_use_runtimelinking" = yes; then
10538 # If using run time linking (on AIX 4.2 or later) use lib<name>.so
10539 # instead of lib<name>.a to let people know that these are not
10540 # typical AIX shared libraries.
10541 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10543 # We preserve .a as extension for shared libraries through AIX4.2
10544 # and later when we are not doing run time linking.
10545 library_names_spec='${libname}${release}.a $libname.a'
10546 soname_spec='${libname}${release}${shared_ext}$major'
10548 shlibpath_var=LIBPATH
10555 # Since July 2007 AmigaOS4 officially supports .so libraries.
10556 # When compiling the executable, add -use-dynld -Lsobjs: to the compileline.
10557 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10560 library_names_spec='$libname.ixlibrary $libname.a'
10561 # Create ${libname}_ixlibrary.a entries in /sys/libs.
10562 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'
10568 library_names_spec='${libname}${shared_ext}'
10569 dynamic_linker="$host_os ld.so"
10570 shlibpath_var=LIBRARY_PATH
10574 version_type=linux # correct to gnu/linux during the next big refactor
10576 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10577 soname_spec='${libname}${release}${shared_ext}$major'
10578 finish_cmds='PATH="\$PATH:/sbin" ldconfig $libdir'
10579 shlibpath_var=LD_LIBRARY_PATH
10580 sys_lib_search_path_spec="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
10581 sys_lib_dlsearch_path_spec="/shlib /usr/lib /usr/local/lib"
10582 # the default ld.so.conf also contains /usr/contrib/lib and
10583 # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
10584 # libtool to hard-code these into programs
10587 cygwin* | mingw* | pw32* | cegcc*)
10588 version_type=windows
10593 case $GCC,$cc_basename in
10596 library_names_spec='$libname.dll.a'
10597 # DLL is installed to $(libdir)/../bin by postinstall_cmds
10598 postinstall_cmds='base_file=`basename \${file}`~
10599 dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i; echo \$dlname'\''`~
10600 dldir=$destdir/`dirname \$dlpath`~
10601 test -d \$dldir || mkdir -p \$dldir~
10602 $install_prog $dir/$dlname \$dldir/$dlname~
10603 chmod a+x \$dldir/$dlname~
10604 if test -n '\''$stripme'\'' && test -n '\''$striplib'\''; then
10605 eval '\''$striplib \$dldir/$dlname'\'' || exit \$?;
10607 postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
10608 dlpath=$dir/\$dldll~
10610 shlibpath_overrides_runpath=yes
10614 # Cygwin DLLs use 'cyg' prefix rather than 'lib'
10615 soname_spec='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
10617 sys_lib_search_path_spec="$sys_lib_search_path_spec /usr/lib/w32api"
10620 # MinGW DLLs use traditional 'lib' prefix
10621 soname_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
10624 # pw32 DLLs use 'pw' prefix rather than 'lib'
10625 library_names_spec='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
10628 dynamic_linker='Win32 ld.exe'
10633 libname_spec='$name'
10634 soname_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
10635 library_names_spec='${libname}.dll.lib'
10639 sys_lib_search_path_spec=
10642 for lt_path in $LIB
10645 # Let DOS variable expansion print the short 8.3 style file name.
10646 lt_path=`cd "$lt_path" 2>/dev/null && cmd //C "for %i in (".") do @echo %~si"`
10647 sys_lib_search_path_spec="$sys_lib_search_path_spec $lt_path"
10650 # Convert to MSYS style.
10651 sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | sed -e 's|\\\\|/|g' -e 's| \\([a-zA-Z]\\):| /\\1|g' -e 's|^ ||'`
10654 # Convert to unix form, then to dos form, then back to unix form
10655 # but this time dos style (no spaces!) so that the unix form looks
10656 # like /cygdrive/c/PROGRA~1:/cygdr...
10657 sys_lib_search_path_spec=`cygpath --path --unix "$LIB"`
10658 sys_lib_search_path_spec=`cygpath --path --dos "$sys_lib_search_path_spec" 2>/dev/null`
10659 sys_lib_search_path_spec=`cygpath --path --unix "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
10662 sys_lib_search_path_spec="$LIB"
10663 if $ECHO "$sys_lib_search_path_spec" | $GREP ';[c-zC-Z]:/' >/dev/null; then
10664 # It is most probably a Windows format PATH.
10665 sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
10667 sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
10669 # FIXME: find the short name or the path components, as spaces are
10670 # common. (e.g. "Program Files" -> "PROGRA~1")
10674 # DLL is installed to $(libdir)/../bin by postinstall_cmds
10675 postinstall_cmds='base_file=`basename \${file}`~
10676 dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i; echo \$dlname'\''`~
10677 dldir=$destdir/`dirname \$dlpath`~
10678 test -d \$dldir || mkdir -p \$dldir~
10679 $install_prog $dir/$dlname \$dldir/$dlname'
10680 postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
10681 dlpath=$dir/\$dldll~
10683 shlibpath_overrides_runpath=yes
10684 dynamic_linker='Win32 link.exe'
10688 # Assume MSVC wrapper
10689 library_names_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext} $libname.lib'
10690 dynamic_linker='Win32 ld.exe'
10693 # FIXME: first we should search . and the directory the executable is in
10697 darwin* | rhapsody*)
10698 dynamic_linker="$host_os dyld"
10699 version_type=darwin
10702 library_names_spec='${libname}${release}${major}$shared_ext ${libname}$shared_ext'
10703 soname_spec='${libname}${release}${major}$shared_ext'
10704 shlibpath_overrides_runpath=yes
10705 shlibpath_var=DYLD_LIBRARY_PATH
10706 shrext_cmds='`test .$module = .yes && echo .so || echo .dylib`'
10708 sys_lib_search_path_spec="$sys_lib_search_path_spec /usr/local/lib"
10709 sys_lib_dlsearch_path_spec='/usr/local/lib /lib /usr/lib'
10713 version_type=linux # correct to gnu/linux during the next big refactor
10716 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname$shared_ext'
10717 soname_spec='${libname}${release}${shared_ext}$major'
10718 shlibpath_var=LD_LIBRARY_PATH
10721 freebsd* | dragonfly*)
10722 # DragonFly does not have aout. When/if they implement a new
10723 # versioning mechanism, adjust this.
10724 if test -x /usr/bin/objformat; then
10725 objformat=`/usr/bin/objformat`
10728 freebsd[23].*) objformat=aout ;;
10729 *) objformat=elf ;;
10732 version_type=freebsd-$objformat
10733 case $version_type in
10735 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
10740 library_names_spec='${libname}${release}${shared_ext}$versuffix $libname${shared_ext}$versuffix'
10744 shlibpath_var=LD_LIBRARY_PATH
10747 shlibpath_overrides_runpath=yes
10749 freebsd3.[01]* | freebsdelf3.[01]*)
10750 shlibpath_overrides_runpath=yes
10751 hardcode_into_libs=yes
10753 freebsd3.[2-9]* | freebsdelf3.[2-9]* | \
10754 freebsd4.[0-5] | freebsdelf4.[0-5] | freebsd4.1.1 | freebsdelf4.1.1)
10755 shlibpath_overrides_runpath=no
10756 hardcode_into_libs=yes
10758 *) # from 4.6 on, and DragonFly
10759 shlibpath_overrides_runpath=yes
10760 hardcode_into_libs=yes
10766 version_type=linux # correct to gnu/linux during the next big refactor
10769 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
10770 soname_spec='${libname}${release}${shared_ext}$major'
10771 shlibpath_var=LD_LIBRARY_PATH
10772 shlibpath_overrides_runpath=no
10773 hardcode_into_libs=yes
10777 version_type=linux # correct to gnu/linux during the next big refactor
10780 dynamic_linker="$host_os runtime_loader"
10781 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
10782 soname_spec='${libname}${release}${shared_ext}$major'
10783 shlibpath_var=LIBRARY_PATH
10784 shlibpath_overrides_runpath=yes
10785 sys_lib_dlsearch_path_spec='/boot/home/config/lib /boot/common/lib /boot/system/lib'
10786 hardcode_into_libs=yes
10789 hpux9* | hpux10* | hpux11*)
10790 # Give a soname corresponding to the major version so that dld.sl refuses to
10791 # link against other versions.
10798 hardcode_into_libs=yes
10799 dynamic_linker="$host_os dld.so"
10800 shlibpath_var=LD_LIBRARY_PATH
10801 shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
10802 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10803 soname_spec='${libname}${release}${shared_ext}$major'
10804 if test "X$HPUX_IA64_MODE" = X32; then
10805 sys_lib_search_path_spec="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
10807 sys_lib_search_path_spec="/usr/lib/hpux64 /usr/local/lib/hpux64"
10809 sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
10813 hardcode_into_libs=yes
10814 dynamic_linker="$host_os dld.sl"
10815 shlibpath_var=LD_LIBRARY_PATH # How should we handle SHLIB_PATH
10816 shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
10817 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10818 soname_spec='${libname}${release}${shared_ext}$major'
10819 sys_lib_search_path_spec="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
10820 sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
10824 dynamic_linker="$host_os dld.sl"
10825 shlibpath_var=SHLIB_PATH
10826 shlibpath_overrides_runpath=no # +s is required to enable SHLIB_PATH
10827 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10828 soname_spec='${libname}${release}${shared_ext}$major'
10831 # HP-UX runs *really* slowly unless shared libraries are mode 555, ...
10832 postinstall_cmds='chmod 555 $lib'
10833 # or fails outright, so override atomically:
10834 install_override_mode=555
10838 version_type=linux # correct to gnu/linux during the next big refactor
10841 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
10842 soname_spec='${libname}${release}${shared_ext}$major'
10843 dynamic_linker='Interix 3.x ld.so.1 (PE, like ELF)'
10844 shlibpath_var=LD_LIBRARY_PATH
10845 shlibpath_overrides_runpath=no
10846 hardcode_into_libs=yes
10849 irix5* | irix6* | nonstopux*)
10851 nonstopux*) version_type=nonstopux ;;
10853 if test "$lt_cv_prog_gnu_ld" = yes; then
10854 version_type=linux # correct to gnu/linux during the next big refactor
10861 soname_spec='${libname}${release}${shared_ext}$major'
10862 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} $libname${shared_ext}'
10864 irix5* | nonstopux*)
10865 libsuff= shlibsuff=
10868 case $LD in # libtool.m4 will add one of these switches to LD
10869 *-32|*"-32 "|*-melf32bsmip|*"-melf32bsmip ")
10870 libsuff= shlibsuff= libmagic=32-bit;;
10871 *-n32|*"-n32 "|*-melf32bmipn32|*"-melf32bmipn32 ")
10872 libsuff=32 shlibsuff=N32 libmagic=N32;;
10873 *-64|*"-64 "|*-melf64bmip|*"-melf64bmip ")
10874 libsuff=64 shlibsuff=64 libmagic=64-bit;;
10875 *) libsuff= shlibsuff= libmagic=never-match;;
10879 shlibpath_var=LD_LIBRARY${shlibsuff}_PATH
10880 shlibpath_overrides_runpath=no
10881 sys_lib_search_path_spec="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}"
10882 sys_lib_dlsearch_path_spec="/usr/lib${libsuff} /lib${libsuff}"
10883 hardcode_into_libs=yes
10886 # No shared lib support for Linux oldld, aout, or coff.
10887 linux*oldld* | linux*aout* | linux*coff*)
10891 # This must be glibc/ELF.
10892 linux* | k*bsd*-gnu | kopensolaris*-gnu)
10893 version_type=linux # correct to gnu/linux during the next big refactor
10896 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10897 soname_spec='${libname}${release}${shared_ext}$major'
10898 finish_cmds='PATH="\$PATH:/sbin" ldconfig -n $libdir'
10899 shlibpath_var=LD_LIBRARY_PATH
10900 shlibpath_overrides_runpath=no
10902 # Some binutils ld are patched to set DT_RUNPATH
10903 if ${lt_cv_shlibpath_overrides_runpath+:} false; then :
10904 $as_echo_n "(cached) " >&6
10906 lt_cv_shlibpath_overrides_runpath=no
10907 save_LDFLAGS=$LDFLAGS
10908 save_libdir=$libdir
10909 eval "libdir=/foo; wl=\"$lt_prog_compiler_wl\"; \
10910 LDFLAGS=\"\$LDFLAGS $hardcode_libdir_flag_spec\""
10911 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10912 /* end confdefs.h. */
10922 if ac_fn_c_try_link "$LINENO"; then :
10923 if ($OBJDUMP -p conftest$ac_exeext) 2>/dev/null | grep "RUNPATH.*$libdir" >/dev/null; then :
10924 lt_cv_shlibpath_overrides_runpath=yes
10927 rm -f core conftest.err conftest.$ac_objext \
10928 conftest$ac_exeext conftest.$ac_ext
10929 LDFLAGS=$save_LDFLAGS
10930 libdir=$save_libdir
10934 shlibpath_overrides_runpath=$lt_cv_shlibpath_overrides_runpath
10936 # This implies no fast_install, which is unacceptable.
10937 # Some rework will be needed to allow for fast_install
10938 # before this can be enabled.
10939 hardcode_into_libs=yes
10941 # Append ld.so.conf contents to the search path
10942 if test -f /etc/ld.so.conf; then
10943 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' ' '`
10944 sys_lib_dlsearch_path_spec="/lib /usr/lib $lt_ld_extra"
10947 # We used to test for /lib/ld.so.1 and disable shared libraries on
10948 # powerpc, because MkLinux only supported shared libraries with the
10949 # GNU dynamic linker. Since this was broken with cross compilers,
10950 # most powerpc-linux boxes support dynamic linking these days and
10951 # people can always --disable-shared, the test was removed, and we
10952 # assume the GNU/Linux dynamic linker is in use.
10953 dynamic_linker='GNU/Linux ld.so'
10960 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
10961 soname_spec='${libname}${release}${shared_ext}$major'
10962 shlibpath_var=LD_LIBRARY_PATH
10963 shlibpath_overrides_runpath=no
10964 hardcode_into_libs=yes
10965 dynamic_linker='NetBSD ld.elf_so'
10972 if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
10973 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
10974 finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
10975 dynamic_linker='NetBSD (a.out) ld.so'
10977 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
10978 soname_spec='${libname}${release}${shared_ext}$major'
10979 dynamic_linker='NetBSD ld.elf_so'
10981 shlibpath_var=LD_LIBRARY_PATH
10982 shlibpath_overrides_runpath=yes
10983 hardcode_into_libs=yes
10987 version_type=linux # correct to gnu/linux during the next big refactor
10988 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10989 shlibpath_var=LD_LIBRARY_PATH
10990 shlibpath_overrides_runpath=yes
10997 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10998 soname_spec='${libname}${release}${shared_ext}$major'
10999 shlibpath_var=LD_LIBRARY_PATH
11000 shlibpath_overrides_runpath=no
11001 hardcode_into_libs=yes
11002 dynamic_linker='ldqnx.so'
11007 sys_lib_dlsearch_path_spec="/usr/lib"
11009 # Some older versions of OpenBSD (3.3 at least) *do* need versioned libs.
11011 openbsd3.3 | openbsd3.3.*) need_version=yes ;;
11012 *) need_version=no ;;
11014 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
11015 finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
11016 shlibpath_var=LD_LIBRARY_PATH
11017 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
11019 openbsd2.[89] | openbsd2.[89].*)
11020 shlibpath_overrides_runpath=no
11023 shlibpath_overrides_runpath=yes
11027 shlibpath_overrides_runpath=yes
11032 libname_spec='$name'
11035 library_names_spec='$libname${shared_ext} $libname.a'
11036 dynamic_linker='OS/2 ld.exe'
11037 shlibpath_var=LIBPATH
11040 osf3* | osf4* | osf5*)
11044 soname_spec='${libname}${release}${shared_ext}$major'
11045 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11046 shlibpath_var=LD_LIBRARY_PATH
11047 sys_lib_search_path_spec="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
11048 sys_lib_dlsearch_path_spec="$sys_lib_search_path_spec"
11056 version_type=linux # correct to gnu/linux during the next big refactor
11059 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11060 soname_spec='${libname}${release}${shared_ext}$major'
11061 shlibpath_var=LD_LIBRARY_PATH
11062 shlibpath_overrides_runpath=yes
11063 hardcode_into_libs=yes
11064 # ldd complains unless libraries are executable
11065 postinstall_cmds='chmod +x $lib'
11070 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
11071 finish_cmds='PATH="\$PATH:/usr/etc" ldconfig $libdir'
11072 shlibpath_var=LD_LIBRARY_PATH
11073 shlibpath_overrides_runpath=yes
11074 if test "$with_gnu_ld" = yes; then
11081 version_type=linux # correct to gnu/linux during the next big refactor
11082 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11083 soname_spec='${libname}${release}${shared_ext}$major'
11084 shlibpath_var=LD_LIBRARY_PATH
11085 case $host_vendor in
11087 shlibpath_overrides_runpath=no
11089 runpath_var=LD_RUN_PATH
11097 shlibpath_overrides_runpath=no
11098 sys_lib_search_path_spec='/lib /usr/lib /usr/ccs/lib'
11104 if test -d /usr/nec ;then
11105 version_type=linux # correct to gnu/linux during the next big refactor
11106 library_names_spec='$libname${shared_ext}.$versuffix $libname${shared_ext}.$major $libname${shared_ext}'
11107 soname_spec='$libname${shared_ext}.$major'
11108 shlibpath_var=LD_LIBRARY_PATH
11112 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
11113 version_type=freebsd-elf
11116 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
11117 soname_spec='${libname}${release}${shared_ext}$major'
11118 shlibpath_var=LD_LIBRARY_PATH
11119 shlibpath_overrides_runpath=yes
11120 hardcode_into_libs=yes
11121 if test "$with_gnu_ld" = yes; then
11122 sys_lib_search_path_spec='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib'
11124 sys_lib_search_path_spec='/usr/ccs/lib /usr/lib'
11127 sys_lib_search_path_spec="$sys_lib_search_path_spec /lib"
11131 sys_lib_dlsearch_path_spec='/usr/lib'
11135 # TPF is a cross-target only. Preferred cross-host = GNU/Linux.
11136 version_type=linux # correct to gnu/linux during the next big refactor
11139 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11140 shlibpath_var=LD_LIBRARY_PATH
11141 shlibpath_overrides_runpath=no
11142 hardcode_into_libs=yes
11146 version_type=linux # correct to gnu/linux during the next big refactor
11147 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11148 soname_spec='${libname}${release}${shared_ext}$major'
11149 shlibpath_var=LD_LIBRARY_PATH
11156 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $dynamic_linker" >&5
11157 $as_echo "$dynamic_linker" >&6; }
11158 test "$dynamic_linker" = no && can_build_shared=no
11160 variables_saved_for_relink="PATH $shlibpath_var $runpath_var"
11161 if test "$GCC" = yes; then
11162 variables_saved_for_relink="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
11165 if test "${lt_cv_sys_lib_search_path_spec+set}" = set; then
11166 sys_lib_search_path_spec="$lt_cv_sys_lib_search_path_spec"
11168 if test "${lt_cv_sys_lib_dlsearch_path_spec+set}" = set; then
11169 sys_lib_dlsearch_path_spec="$lt_cv_sys_lib_dlsearch_path_spec"
11263 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to hardcode library paths into programs" >&5
11264 $as_echo_n "checking how to hardcode library paths into programs... " >&6; }
11266 if test -n "$hardcode_libdir_flag_spec" ||
11267 test -n "$runpath_var" ||
11268 test "X$hardcode_automatic" = "Xyes" ; then
11270 # We can hardcode non-existent directories.
11271 if test "$hardcode_direct" != no &&
11272 # If the only mechanism to avoid hardcoding is shlibpath_var, we
11273 # have to relink, otherwise we might link with an installed library
11274 # when we should be linking with a yet-to-be-installed one
11275 ## test "$_LT_TAGVAR(hardcode_shlibpath_var, )" != no &&
11276 test "$hardcode_minus_L" != no; then
11277 # Linking always hardcodes the temporary library directory.
11278 hardcode_action=relink
11280 # We can link without hardcoding, and we can hardcode nonexisting dirs.
11281 hardcode_action=immediate
11284 # We cannot hardcode anything, or else we can only hardcode existing
11286 hardcode_action=unsupported
11288 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hardcode_action" >&5
11289 $as_echo "$hardcode_action" >&6; }
11291 if test "$hardcode_action" = relink ||
11292 test "$inherit_rpath" = yes; then
11293 # Fast installation is not supported
11294 enable_fast_install=no
11295 elif test "$shlibpath_overrides_runpath" = yes ||
11296 test "$enable_shared" = no; then
11297 # Fast installation is not necessary
11298 enable_fast_install=needless
11306 if test "x$enable_dlopen" != xyes; then
11307 enable_dlopen=unknown
11308 enable_dlopen_self=unknown
11309 enable_dlopen_self_static=unknown
11316 lt_cv_dlopen="load_add_on"
11318 lt_cv_dlopen_self=yes
11321 mingw* | pw32* | cegcc*)
11322 lt_cv_dlopen="LoadLibrary"
11327 lt_cv_dlopen="dlopen"
11332 # if libdl is installed we need to link against it
11333 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
11334 $as_echo_n "checking for dlopen in -ldl... " >&6; }
11335 if ${ac_cv_lib_dl_dlopen+:} false; then :
11336 $as_echo_n "(cached) " >&6
11338 ac_check_lib_save_LIBS=$LIBS
11340 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11341 /* end confdefs.h. */
11343 /* Override any GCC internal prototype to avoid an error.
11344 Use char because int might match the return type of a GCC
11345 builtin and then its argument prototype would still apply. */
11358 if ac_fn_c_try_link "$LINENO"; then :
11359 ac_cv_lib_dl_dlopen=yes
11361 ac_cv_lib_dl_dlopen=no
11363 rm -f core conftest.err conftest.$ac_objext \
11364 conftest$ac_exeext conftest.$ac_ext
11365 LIBS=$ac_check_lib_save_LIBS
11367 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
11368 $as_echo "$ac_cv_lib_dl_dlopen" >&6; }
11369 if test "x$ac_cv_lib_dl_dlopen" = xyes; then :
11370 lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl"
11373 lt_cv_dlopen="dyld"
11375 lt_cv_dlopen_self=yes
11382 ac_fn_c_check_func "$LINENO" "shl_load" "ac_cv_func_shl_load"
11383 if test "x$ac_cv_func_shl_load" = xyes; then :
11384 lt_cv_dlopen="shl_load"
11386 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for shl_load in -ldld" >&5
11387 $as_echo_n "checking for shl_load in -ldld... " >&6; }
11388 if ${ac_cv_lib_dld_shl_load+:} false; then :
11389 $as_echo_n "(cached) " >&6
11391 ac_check_lib_save_LIBS=$LIBS
11393 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11394 /* end confdefs.h. */
11396 /* Override any GCC internal prototype to avoid an error.
11397 Use char because int might match the return type of a GCC
11398 builtin and then its argument prototype would still apply. */
11406 return shl_load ();
11411 if ac_fn_c_try_link "$LINENO"; then :
11412 ac_cv_lib_dld_shl_load=yes
11414 ac_cv_lib_dld_shl_load=no
11416 rm -f core conftest.err conftest.$ac_objext \
11417 conftest$ac_exeext conftest.$ac_ext
11418 LIBS=$ac_check_lib_save_LIBS
11420 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_shl_load" >&5
11421 $as_echo "$ac_cv_lib_dld_shl_load" >&6; }
11422 if test "x$ac_cv_lib_dld_shl_load" = xyes; then :
11423 lt_cv_dlopen="shl_load" lt_cv_dlopen_libs="-ldld"
11425 ac_fn_c_check_func "$LINENO" "dlopen" "ac_cv_func_dlopen"
11426 if test "x$ac_cv_func_dlopen" = xyes; then :
11427 lt_cv_dlopen="dlopen"
11429 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
11430 $as_echo_n "checking for dlopen in -ldl... " >&6; }
11431 if ${ac_cv_lib_dl_dlopen+:} false; then :
11432 $as_echo_n "(cached) " >&6
11434 ac_check_lib_save_LIBS=$LIBS
11436 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11437 /* end confdefs.h. */
11439 /* Override any GCC internal prototype to avoid an error.
11440 Use char because int might match the return type of a GCC
11441 builtin and then its argument prototype would still apply. */
11454 if ac_fn_c_try_link "$LINENO"; then :
11455 ac_cv_lib_dl_dlopen=yes
11457 ac_cv_lib_dl_dlopen=no
11459 rm -f core conftest.err conftest.$ac_objext \
11460 conftest$ac_exeext conftest.$ac_ext
11461 LIBS=$ac_check_lib_save_LIBS
11463 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
11464 $as_echo "$ac_cv_lib_dl_dlopen" >&6; }
11465 if test "x$ac_cv_lib_dl_dlopen" = xyes; then :
11466 lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl"
11468 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -lsvld" >&5
11469 $as_echo_n "checking for dlopen in -lsvld... " >&6; }
11470 if ${ac_cv_lib_svld_dlopen+:} false; then :
11471 $as_echo_n "(cached) " >&6
11473 ac_check_lib_save_LIBS=$LIBS
11474 LIBS="-lsvld $LIBS"
11475 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11476 /* end confdefs.h. */
11478 /* Override any GCC internal prototype to avoid an error.
11479 Use char because int might match the return type of a GCC
11480 builtin and then its argument prototype would still apply. */
11493 if ac_fn_c_try_link "$LINENO"; then :
11494 ac_cv_lib_svld_dlopen=yes
11496 ac_cv_lib_svld_dlopen=no
11498 rm -f core conftest.err conftest.$ac_objext \
11499 conftest$ac_exeext conftest.$ac_ext
11500 LIBS=$ac_check_lib_save_LIBS
11502 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_svld_dlopen" >&5
11503 $as_echo "$ac_cv_lib_svld_dlopen" >&6; }
11504 if test "x$ac_cv_lib_svld_dlopen" = xyes; then :
11505 lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-lsvld"
11507 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dld_link in -ldld" >&5
11508 $as_echo_n "checking for dld_link in -ldld... " >&6; }
11509 if ${ac_cv_lib_dld_dld_link+:} false; then :
11510 $as_echo_n "(cached) " >&6
11512 ac_check_lib_save_LIBS=$LIBS
11514 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11515 /* end confdefs.h. */
11517 /* Override any GCC internal prototype to avoid an error.
11518 Use char because int might match the return type of a GCC
11519 builtin and then its argument prototype would still apply. */
11527 return dld_link ();
11532 if ac_fn_c_try_link "$LINENO"; then :
11533 ac_cv_lib_dld_dld_link=yes
11535 ac_cv_lib_dld_dld_link=no
11537 rm -f core conftest.err conftest.$ac_objext \
11538 conftest$ac_exeext conftest.$ac_ext
11539 LIBS=$ac_check_lib_save_LIBS
11541 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_dld_link" >&5
11542 $as_echo "$ac_cv_lib_dld_dld_link" >&6; }
11543 if test "x$ac_cv_lib_dld_dld_link" = xyes; then :
11544 lt_cv_dlopen="dld_link" lt_cv_dlopen_libs="-ldld"
11565 if test "x$lt_cv_dlopen" != xno; then
11571 case $lt_cv_dlopen in
11573 save_CPPFLAGS="$CPPFLAGS"
11574 test "x$ac_cv_header_dlfcn_h" = xyes && CPPFLAGS="$CPPFLAGS -DHAVE_DLFCN_H"
11576 save_LDFLAGS="$LDFLAGS"
11577 wl=$lt_prog_compiler_wl eval LDFLAGS=\"\$LDFLAGS $export_dynamic_flag_spec\"
11580 LIBS="$lt_cv_dlopen_libs $LIBS"
11582 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether a program can dlopen itself" >&5
11583 $as_echo_n "checking whether a program can dlopen itself... " >&6; }
11584 if ${lt_cv_dlopen_self+:} false; then :
11585 $as_echo_n "(cached) " >&6
11587 if test "$cross_compiling" = yes; then :
11588 lt_cv_dlopen_self=cross
11590 lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
11591 lt_status=$lt_dlunknown
11592 cat > conftest.$ac_ext <<_LT_EOF
11593 #line $LINENO "configure"
11594 #include "confdefs.h"
11603 # define LT_DLGLOBAL RTLD_GLOBAL
11606 # define LT_DLGLOBAL DL_GLOBAL
11608 # define LT_DLGLOBAL 0
11612 /* We may have to define LT_DLLAZY_OR_NOW in the command line if we
11613 find out it does not work in some platform. */
11614 #ifndef LT_DLLAZY_OR_NOW
11616 # define LT_DLLAZY_OR_NOW RTLD_LAZY
11619 # define LT_DLLAZY_OR_NOW DL_LAZY
11622 # define LT_DLLAZY_OR_NOW RTLD_NOW
11625 # define LT_DLLAZY_OR_NOW DL_NOW
11627 # define LT_DLLAZY_OR_NOW 0
11634 /* When -fvisbility=hidden is used, assume the code has been annotated
11635 correspondingly for the symbols needed. */
11636 #if defined(__GNUC__) && (((__GNUC__ == 3) && (__GNUC_MINOR__ >= 3)) || (__GNUC__ > 3))
11637 int fnord () __attribute__((visibility("default")));
11640 int fnord () { return 42; }
11643 void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
11644 int status = $lt_dlunknown;
11648 if (dlsym (self,"fnord")) status = $lt_dlno_uscore;
11651 if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
11652 else puts (dlerror ());
11654 /* dlclose (self); */
11662 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
11663 (eval $ac_link) 2>&5
11665 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
11666 test $ac_status = 0; } && test -s conftest${ac_exeext} 2>/dev/null; then
11667 (./conftest; exit; ) >&5 2>/dev/null
11669 case x$lt_status in
11670 x$lt_dlno_uscore) lt_cv_dlopen_self=yes ;;
11671 x$lt_dlneed_uscore) lt_cv_dlopen_self=yes ;;
11672 x$lt_dlunknown|x*) lt_cv_dlopen_self=no ;;
11675 # compilation failed
11676 lt_cv_dlopen_self=no
11683 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_dlopen_self" >&5
11684 $as_echo "$lt_cv_dlopen_self" >&6; }
11686 if test "x$lt_cv_dlopen_self" = xyes; then
11687 wl=$lt_prog_compiler_wl eval LDFLAGS=\"\$LDFLAGS $lt_prog_compiler_static\"
11688 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether a statically linked program can dlopen itself" >&5
11689 $as_echo_n "checking whether a statically linked program can dlopen itself... " >&6; }
11690 if ${lt_cv_dlopen_self_static+:} false; then :
11691 $as_echo_n "(cached) " >&6
11693 if test "$cross_compiling" = yes; then :
11694 lt_cv_dlopen_self_static=cross
11696 lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
11697 lt_status=$lt_dlunknown
11698 cat > conftest.$ac_ext <<_LT_EOF
11699 #line $LINENO "configure"
11700 #include "confdefs.h"
11709 # define LT_DLGLOBAL RTLD_GLOBAL
11712 # define LT_DLGLOBAL DL_GLOBAL
11714 # define LT_DLGLOBAL 0
11718 /* We may have to define LT_DLLAZY_OR_NOW in the command line if we
11719 find out it does not work in some platform. */
11720 #ifndef LT_DLLAZY_OR_NOW
11722 # define LT_DLLAZY_OR_NOW RTLD_LAZY
11725 # define LT_DLLAZY_OR_NOW DL_LAZY
11728 # define LT_DLLAZY_OR_NOW RTLD_NOW
11731 # define LT_DLLAZY_OR_NOW DL_NOW
11733 # define LT_DLLAZY_OR_NOW 0
11740 /* When -fvisbility=hidden is used, assume the code has been annotated
11741 correspondingly for the symbols needed. */
11742 #if defined(__GNUC__) && (((__GNUC__ == 3) && (__GNUC_MINOR__ >= 3)) || (__GNUC__ > 3))
11743 int fnord () __attribute__((visibility("default")));
11746 int fnord () { return 42; }
11749 void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
11750 int status = $lt_dlunknown;
11754 if (dlsym (self,"fnord")) status = $lt_dlno_uscore;
11757 if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
11758 else puts (dlerror ());
11760 /* dlclose (self); */
11768 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
11769 (eval $ac_link) 2>&5
11771 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
11772 test $ac_status = 0; } && test -s conftest${ac_exeext} 2>/dev/null; then
11773 (./conftest; exit; ) >&5 2>/dev/null
11775 case x$lt_status in
11776 x$lt_dlno_uscore) lt_cv_dlopen_self_static=yes ;;
11777 x$lt_dlneed_uscore) lt_cv_dlopen_self_static=yes ;;
11778 x$lt_dlunknown|x*) lt_cv_dlopen_self_static=no ;;
11781 # compilation failed
11782 lt_cv_dlopen_self_static=no
11789 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_dlopen_self_static" >&5
11790 $as_echo "$lt_cv_dlopen_self_static" >&6; }
11793 CPPFLAGS="$save_CPPFLAGS"
11794 LDFLAGS="$save_LDFLAGS"
11799 case $lt_cv_dlopen_self in
11800 yes|no) enable_dlopen_self=$lt_cv_dlopen_self ;;
11801 *) enable_dlopen_self=unknown ;;
11804 case $lt_cv_dlopen_self_static in
11805 yes|no) enable_dlopen_self_static=$lt_cv_dlopen_self_static ;;
11806 *) enable_dlopen_self_static=unknown ;;
11828 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether stripping libraries is possible" >&5
11829 $as_echo_n "checking whether stripping libraries is possible... " >&6; }
11830 if test -n "$STRIP" && $STRIP -V 2>&1 | $GREP "GNU strip" >/dev/null; then
11831 test -z "$old_striplib" && old_striplib="$STRIP --strip-debug"
11832 test -z "$striplib" && striplib="$STRIP --strip-unneeded"
11833 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
11834 $as_echo "yes" >&6; }
11836 # FIXME - insert some real tests, host_os isn't really good enough
11839 if test -n "$STRIP" ; then
11840 striplib="$STRIP -x"
11841 old_striplib="$STRIP -S"
11842 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
11843 $as_echo "yes" >&6; }
11845 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11846 $as_echo "no" >&6; }
11850 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11851 $as_echo "no" >&6; }
11867 # Report which library types will actually be built
11868 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if libtool supports shared libraries" >&5
11869 $as_echo_n "checking if libtool supports shared libraries... " >&6; }
11870 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $can_build_shared" >&5
11871 $as_echo "$can_build_shared" >&6; }
11873 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build shared libraries" >&5
11874 $as_echo_n "checking whether to build shared libraries... " >&6; }
11875 test "$can_build_shared" = "no" && enable_shared=no
11877 # On AIX, shared libraries and static libraries use the same namespace, and
11878 # are all built from PIC.
11881 test "$enable_shared" = yes && enable_static=no
11882 if test -n "$RANLIB"; then
11883 archive_cmds="$archive_cmds~\$RANLIB \$lib"
11884 postinstall_cmds='$RANLIB $lib'
11889 if test "$host_cpu" != ia64 && test "$aix_use_runtimelinking" = no ; then
11890 test "$enable_shared" = yes && enable_static=no
11894 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_shared" >&5
11895 $as_echo "$enable_shared" >&6; }
11897 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build static libraries" >&5
11898 $as_echo_n "checking whether to build static libraries... " >&6; }
11899 # Make sure either enable_shared or enable_static is yes.
11900 test "$enable_shared" = yes || enable_static=yes
11901 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_static" >&5
11902 $as_echo "$enable_static" >&6; }
11909 ac_cpp='$CPP $CPPFLAGS'
11910 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
11911 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
11912 ac_compiler_gnu=$ac_cv_c_compiler_gnu
11930 ac_config_commands="$ac_config_commands libtool"
11935 # Only expand once:
11939 ##--##--##--##--##--##--##--##--##--##--##--##--##--##--##--##--##
11940 ##--##--##--##--##--##--##--##--##--##--##--##--##--##--##--##--##
11944 cat >>confdefs.h <<_ACEOF
11949 cat >>confdefs.h <<_ACEOF
11954 cat >>confdefs.h <<_ACEOF
11959 cat >>confdefs.h <<_ACEOF
11963 version_info="8:2:7"
11967 ##--##--##--##--##--##--##--##--##--##--##--##--##--##--##--##--##
11968 ##--##--##--##--##--##--##--##--##--##--##--##--##--##--##--##--##
11973 ### Needed information
11979 ### Default options with respect to host
11982 want_notify_win32="no"
11986 want_notify_win32="yes"
11994 ### Checks for programs
11997 ac_cpp='$CPP $CPPFLAGS'
11998 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
11999 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
12000 ac_compiler_gnu=$ac_cv_c_compiler_gnu
12001 if test -n "$ac_tool_prefix"; then
12002 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
12003 set dummy ${ac_tool_prefix}gcc; ac_word=$2
12004 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
12005 $as_echo_n "checking for $ac_word... " >&6; }
12006 if ${ac_cv_prog_CC+:} false; then :
12007 $as_echo_n "(cached) " >&6
12009 if test -n "$CC"; then
12010 ac_cv_prog_CC="$CC" # Let the user override the test.
12012 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12013 for as_dir in $PATH
12016 test -z "$as_dir" && as_dir=.
12017 for ac_exec_ext in '' $ac_executable_extensions; do
12018 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
12019 ac_cv_prog_CC="${ac_tool_prefix}gcc"
12020 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
12030 if test -n "$CC"; then
12031 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
12032 $as_echo "$CC" >&6; }
12034 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12035 $as_echo "no" >&6; }
12040 if test -z "$ac_cv_prog_CC"; then
12042 # Extract the first word of "gcc", so it can be a program name with args.
12043 set dummy gcc; ac_word=$2
12044 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
12045 $as_echo_n "checking for $ac_word... " >&6; }
12046 if ${ac_cv_prog_ac_ct_CC+:} false; then :
12047 $as_echo_n "(cached) " >&6
12049 if test -n "$ac_ct_CC"; then
12050 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
12052 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12053 for as_dir in $PATH
12056 test -z "$as_dir" && as_dir=.
12057 for ac_exec_ext in '' $ac_executable_extensions; do
12058 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
12059 ac_cv_prog_ac_ct_CC="gcc"
12060 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
12069 ac_ct_CC=$ac_cv_prog_ac_ct_CC
12070 if test -n "$ac_ct_CC"; then
12071 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
12072 $as_echo "$ac_ct_CC" >&6; }
12074 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12075 $as_echo "no" >&6; }
12078 if test "x$ac_ct_CC" = x; then
12081 case $cross_compiling:$ac_tool_warned in
12083 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
12084 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
12085 ac_tool_warned=yes ;;
12090 CC="$ac_cv_prog_CC"
12093 if test -z "$CC"; then
12094 if test -n "$ac_tool_prefix"; then
12095 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
12096 set dummy ${ac_tool_prefix}cc; ac_word=$2
12097 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
12098 $as_echo_n "checking for $ac_word... " >&6; }
12099 if ${ac_cv_prog_CC+:} false; then :
12100 $as_echo_n "(cached) " >&6
12102 if test -n "$CC"; then
12103 ac_cv_prog_CC="$CC" # Let the user override the test.
12105 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12106 for as_dir in $PATH
12109 test -z "$as_dir" && as_dir=.
12110 for ac_exec_ext in '' $ac_executable_extensions; do
12111 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
12112 ac_cv_prog_CC="${ac_tool_prefix}cc"
12113 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
12123 if test -n "$CC"; then
12124 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
12125 $as_echo "$CC" >&6; }
12127 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12128 $as_echo "no" >&6; }
12134 if test -z "$CC"; then
12135 # Extract the first word of "cc", so it can be a program name with args.
12136 set dummy cc; ac_word=$2
12137 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
12138 $as_echo_n "checking for $ac_word... " >&6; }
12139 if ${ac_cv_prog_CC+:} false; then :
12140 $as_echo_n "(cached) " >&6
12142 if test -n "$CC"; then
12143 ac_cv_prog_CC="$CC" # Let the user override the test.
12145 ac_prog_rejected=no
12146 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12147 for as_dir in $PATH
12150 test -z "$as_dir" && as_dir=.
12151 for ac_exec_ext in '' $ac_executable_extensions; do
12152 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
12153 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
12154 ac_prog_rejected=yes
12158 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
12165 if test $ac_prog_rejected = yes; then
12166 # We found a bogon in the path, so make sure we never use it.
12167 set dummy $ac_cv_prog_CC
12169 if test $# != 0; then
12170 # We chose a different compiler from the bogus one.
12171 # However, it has the same basename, so the bogon will be chosen
12172 # first if we set CC to just the basename; use the full file name.
12174 ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
12180 if test -n "$CC"; then
12181 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
12182 $as_echo "$CC" >&6; }
12184 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12185 $as_echo "no" >&6; }
12190 if test -z "$CC"; then
12191 if test -n "$ac_tool_prefix"; then
12192 for ac_prog in cl.exe
12194 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
12195 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
12196 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
12197 $as_echo_n "checking for $ac_word... " >&6; }
12198 if ${ac_cv_prog_CC+:} false; then :
12199 $as_echo_n "(cached) " >&6
12201 if test -n "$CC"; then
12202 ac_cv_prog_CC="$CC" # Let the user override the test.
12204 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12205 for as_dir in $PATH
12208 test -z "$as_dir" && as_dir=.
12209 for ac_exec_ext in '' $ac_executable_extensions; do
12210 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
12211 ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
12212 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
12222 if test -n "$CC"; then
12223 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
12224 $as_echo "$CC" >&6; }
12226 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12227 $as_echo "no" >&6; }
12231 test -n "$CC" && break
12234 if test -z "$CC"; then
12236 for ac_prog in cl.exe
12238 # Extract the first word of "$ac_prog", so it can be a program name with args.
12239 set dummy $ac_prog; ac_word=$2
12240 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
12241 $as_echo_n "checking for $ac_word... " >&6; }
12242 if ${ac_cv_prog_ac_ct_CC+:} false; then :
12243 $as_echo_n "(cached) " >&6
12245 if test -n "$ac_ct_CC"; then
12246 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
12248 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12249 for as_dir in $PATH
12252 test -z "$as_dir" && as_dir=.
12253 for ac_exec_ext in '' $ac_executable_extensions; do
12254 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
12255 ac_cv_prog_ac_ct_CC="$ac_prog"
12256 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
12265 ac_ct_CC=$ac_cv_prog_ac_ct_CC
12266 if test -n "$ac_ct_CC"; then
12267 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
12268 $as_echo "$ac_ct_CC" >&6; }
12270 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12271 $as_echo "no" >&6; }
12275 test -n "$ac_ct_CC" && break
12278 if test "x$ac_ct_CC" = x; then
12281 case $cross_compiling:$ac_tool_warned in
12283 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
12284 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
12285 ac_tool_warned=yes ;;
12294 test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
12295 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
12296 as_fn_error $? "no acceptable C compiler found in \$PATH
12297 See \`config.log' for more details" "$LINENO" 5; }
12299 # Provide some information about the compiler.
12300 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
12303 for ac_option in --version -v -V -qversion; do
12304 { { ac_try="$ac_compiler $ac_option >&5"
12305 case "(($ac_try" in
12306 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
12307 *) ac_try_echo=$ac_try;;
12309 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
12310 $as_echo "$ac_try_echo"; } >&5
12311 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
12313 if test -s conftest.err; then
12315 ... rest of stderr output deleted ...
12316 10q' conftest.err >conftest.er1
12317 cat conftest.er1 >&5
12319 rm -f conftest.er1 conftest.err
12320 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
12321 test $ac_status = 0; }
12324 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
12325 $as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
12326 if ${ac_cv_c_compiler_gnu+:} false; then :
12327 $as_echo_n "(cached) " >&6
12329 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12330 /* end confdefs.h. */
12343 if ac_fn_c_try_compile "$LINENO"; then :
12344 ac_compiler_gnu=yes
12348 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
12349 ac_cv_c_compiler_gnu=$ac_compiler_gnu
12352 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
12353 $as_echo "$ac_cv_c_compiler_gnu" >&6; }
12354 if test $ac_compiler_gnu = yes; then
12359 ac_test_CFLAGS=${CFLAGS+set}
12360 ac_save_CFLAGS=$CFLAGS
12361 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
12362 $as_echo_n "checking whether $CC accepts -g... " >&6; }
12363 if ${ac_cv_prog_cc_g+:} false; then :
12364 $as_echo_n "(cached) " >&6
12366 ac_save_c_werror_flag=$ac_c_werror_flag
12367 ac_c_werror_flag=yes
12370 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12371 /* end confdefs.h. */
12381 if ac_fn_c_try_compile "$LINENO"; then :
12382 ac_cv_prog_cc_g=yes
12385 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12386 /* end confdefs.h. */
12396 if ac_fn_c_try_compile "$LINENO"; then :
12399 ac_c_werror_flag=$ac_save_c_werror_flag
12401 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12402 /* end confdefs.h. */
12412 if ac_fn_c_try_compile "$LINENO"; then :
12413 ac_cv_prog_cc_g=yes
12415 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
12417 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
12419 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
12420 ac_c_werror_flag=$ac_save_c_werror_flag
12422 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
12423 $as_echo "$ac_cv_prog_cc_g" >&6; }
12424 if test "$ac_test_CFLAGS" = set; then
12425 CFLAGS=$ac_save_CFLAGS
12426 elif test $ac_cv_prog_cc_g = yes; then
12427 if test "$GCC" = yes; then
12433 if test "$GCC" = yes; then
12439 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
12440 $as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
12441 if ${ac_cv_prog_cc_c89+:} false; then :
12442 $as_echo_n "(cached) " >&6
12444 ac_cv_prog_cc_c89=no
12446 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12447 /* end confdefs.h. */
12448 #include <stdarg.h>
12450 #include <sys/types.h>
12451 #include <sys/stat.h>
12452 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
12453 struct buf { int x; };
12454 FILE * (*rcsopen) (struct buf *, struct stat *, int);
12455 static char *e (p, i)
12461 static char *f (char * (*g) (char **, int), char **p, ...)
12466 s = g (p, va_arg (v,int));
12471 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
12472 function prototypes and stuff, but not '\xHH' hex character constants.
12473 These don't provoke an error unfortunately, instead are silently treated
12474 as 'x'. The following induces an error, until -std is added to get
12475 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
12476 array size at least. It's necessary to write '\x00'==0 to get something
12477 that's true only with -std. */
12478 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
12480 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
12481 inside strings and character constants. */
12483 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
12485 int test (int i, double x);
12486 struct s1 {int (*f) (int a);};
12487 struct s2 {int (*f) (double a);};
12488 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
12494 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
12499 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
12500 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
12502 CC="$ac_save_CC $ac_arg"
12503 if ac_fn_c_try_compile "$LINENO"; then :
12504 ac_cv_prog_cc_c89=$ac_arg
12506 rm -f core conftest.err conftest.$ac_objext
12507 test "x$ac_cv_prog_cc_c89" != "xno" && break
12509 rm -f conftest.$ac_ext
12514 case "x$ac_cv_prog_cc_c89" in
12516 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
12517 $as_echo "none needed" >&6; } ;;
12519 { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
12520 $as_echo "unsupported" >&6; } ;;
12522 CC="$CC $ac_cv_prog_cc_c89"
12523 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
12524 $as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
12526 if test "x$ac_cv_prog_cc_c89" != xno; then :
12531 ac_cpp='$CPP $CPPFLAGS'
12532 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
12533 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
12534 ac_compiler_gnu=$ac_cv_c_compiler_gnu
12536 depcc="$CC" am_compiler_list=
12538 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5
12539 $as_echo_n "checking dependency style of $depcc... " >&6; }
12540 if ${am_cv_CC_dependencies_compiler_type+:} false; then :
12541 $as_echo_n "(cached) " >&6
12543 if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
12544 # We make a subdir and do the tests there. Otherwise we can end up
12545 # making bogus files that we don't know about and never remove. For
12546 # instance it was reported that on HP-UX the gcc test will end up
12547 # making a dummy file named `D' -- because `-MD' means `put the output
12549 rm -rf conftest.dir
12551 # Copy depcomp to subdir because otherwise we won't find it if we're
12552 # using a relative directory.
12553 cp "$am_depcomp" conftest.dir
12555 # We will build objects and dependencies in a subdirectory because
12556 # it helps to detect inapplicable dependency modes. For instance
12557 # both Tru64's cc and ICC support -MD to output dependencies as a
12558 # side effect of compilation, but ICC will put the dependencies in
12559 # the current directory while Tru64 will put them in the object
12563 am_cv_CC_dependencies_compiler_type=none
12564 if test "$am_compiler_list" = ""; then
12565 am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
12567 am__universal=false
12568 case " $depcc " in #(
12569 *\ -arch\ *\ -arch\ *) am__universal=true ;;
12572 for depmode in $am_compiler_list; do
12573 # Setup a source with many dependencies, because some compilers
12574 # like to wrap large dependency lists on column 80 (with \), and
12575 # we should not choose a depcomp mode which is confused by this.
12577 # We need to recreate these files for each test, as the compiler may
12578 # overwrite some of them when testing with obscure command lines.
12579 # This happens at least with the AIX C compiler.
12581 for i in 1 2 3 4 5 6; do
12582 echo '#include "conftst'$i'.h"' >> sub/conftest.c
12583 # Using `: > sub/conftst$i.h' creates only sub/conftst1.h with
12584 # Solaris 8's {/usr,}/bin/sh.
12585 touch sub/conftst$i.h
12587 echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
12589 # We check with `-c' and `-o' for the sake of the "dashmstdout"
12590 # mode. It turns out that the SunPro C++ compiler does not properly
12591 # handle `-M -o', and we need to detect this. Also, some Intel
12592 # versions had trouble with output in subdirs
12593 am__obj=sub/conftest.${OBJEXT-o}
12594 am__minus_obj="-o $am__obj"
12597 # This depmode causes a compiler race in universal mode.
12598 test "$am__universal" = false || continue
12601 # after this tag, mechanisms are not by side-effect, so they'll
12602 # only be used when explicitly requested
12603 if test "x$enable_dependency_tracking" = xyes; then
12609 msvc7 | msvc7msys | msvisualcpp | msvcmsys)
12610 # This compiler won't grok `-c -o', but also, the minuso test has
12611 # not run yet. These depmodes are late enough in the game, and
12612 # so weak that their functioning should not be impacted.
12613 am__obj=conftest.${OBJEXT-o}
12618 if depmode=$depmode \
12619 source=sub/conftest.c object=$am__obj \
12620 depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
12621 $SHELL ./depcomp $depcc -c $am__minus_obj sub/conftest.c \
12622 >/dev/null 2>conftest.err &&
12623 grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 &&
12624 grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
12625 grep $am__obj sub/conftest.Po > /dev/null 2>&1 &&
12626 ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
12627 # icc doesn't choke on unknown options, it will just issue warnings
12628 # or remarks (even with -Werror). So we grep stderr for any message
12629 # that says an option was ignored or not supported.
12630 # When given -MP, icc 7.0 and 7.1 complain thusly:
12631 # icc: Command line warning: ignoring option '-M'; no argument required
12632 # The diagnosis changed in icc 8.0:
12633 # icc: Command line remark: option '-MP' not supported
12634 if (grep 'ignoring option' conftest.err ||
12635 grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
12636 am_cv_CC_dependencies_compiler_type=$depmode
12643 rm -rf conftest.dir
12645 am_cv_CC_dependencies_compiler_type=none
12649 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_CC_dependencies_compiler_type" >&5
12650 $as_echo "$am_cv_CC_dependencies_compiler_type" >&6; }
12651 CCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type
12654 test "x$enable_dependency_tracking" != xno \
12655 && test "$am_cv_CC_dependencies_compiler_type" = gcc3; then
12656 am__fastdepCC_TRUE=
12657 am__fastdepCC_FALSE='#'
12659 am__fastdepCC_TRUE='#'
12660 am__fastdepCC_FALSE=
12673 if test "x$ac_cv_env_PKG_CONFIG_set" != "xset"; then
12674 if test -n "$ac_tool_prefix"; then
12675 # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
12676 set dummy ${ac_tool_prefix}pkg-config; ac_word=$2
12677 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
12678 $as_echo_n "checking for $ac_word... " >&6; }
12679 if ${ac_cv_path_PKG_CONFIG+:} false; then :
12680 $as_echo_n "(cached) " >&6
12682 case $PKG_CONFIG in
12684 ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path.
12687 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12688 for as_dir in $PATH
12691 test -z "$as_dir" && as_dir=.
12692 for ac_exec_ext in '' $ac_executable_extensions; do
12693 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
12694 ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
12695 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
12705 PKG_CONFIG=$ac_cv_path_PKG_CONFIG
12706 if test -n "$PKG_CONFIG"; then
12707 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PKG_CONFIG" >&5
12708 $as_echo "$PKG_CONFIG" >&6; }
12710 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12711 $as_echo "no" >&6; }
12716 if test -z "$ac_cv_path_PKG_CONFIG"; then
12717 ac_pt_PKG_CONFIG=$PKG_CONFIG
12718 # Extract the first word of "pkg-config", so it can be a program name with args.
12719 set dummy pkg-config; ac_word=$2
12720 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
12721 $as_echo_n "checking for $ac_word... " >&6; }
12722 if ${ac_cv_path_ac_pt_PKG_CONFIG+:} false; then :
12723 $as_echo_n "(cached) " >&6
12725 case $ac_pt_PKG_CONFIG in
12727 ac_cv_path_ac_pt_PKG_CONFIG="$ac_pt_PKG_CONFIG" # Let the user override the test with a path.
12730 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12731 for as_dir in $PATH
12734 test -z "$as_dir" && as_dir=.
12735 for ac_exec_ext in '' $ac_executable_extensions; do
12736 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
12737 ac_cv_path_ac_pt_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
12738 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
12748 ac_pt_PKG_CONFIG=$ac_cv_path_ac_pt_PKG_CONFIG
12749 if test -n "$ac_pt_PKG_CONFIG"; then
12750 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_pt_PKG_CONFIG" >&5
12751 $as_echo "$ac_pt_PKG_CONFIG" >&6; }
12753 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12754 $as_echo "no" >&6; }
12757 if test "x$ac_pt_PKG_CONFIG" = x; then
12760 case $cross_compiling:$ac_tool_warned in
12762 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
12763 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
12764 ac_tool_warned=yes ;;
12766 PKG_CONFIG=$ac_pt_PKG_CONFIG
12769 PKG_CONFIG="$ac_cv_path_PKG_CONFIG"
12773 if test -n "$PKG_CONFIG"; then
12774 _pkg_min_version=0.9.0
12775 { $as_echo "$as_me:${as_lineno-$LINENO}: checking pkg-config is at least version $_pkg_min_version" >&5
12776 $as_echo_n "checking pkg-config is at least version $_pkg_min_version... " >&6; }
12777 if $PKG_CONFIG --atleast-pkgconfig-version $_pkg_min_version; then
12778 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
12779 $as_echo "yes" >&6; }
12781 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12782 $as_echo "no" >&6; }
12787 # Check whether pkg-config supports Requires.private
12788 if $PKG_CONFIG --atleast-pkgconfig-version 0.22; then
12789 pkgconfig_requires_private="Requires.private"
12791 pkgconfig_requires_private="Requires"
12795 # doxygen program for documentation building
12799 # Check whether --enable-doc was given.
12800 if test "${enable_doc+set}" = set; then :
12801 enableval=$enable_doc;
12802 if test "x${enableval}" = "xyes" ; then
12803 efl_enable_doc="yes"
12805 efl_enable_doc="no"
12809 efl_enable_doc="yes"
12813 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build documentation" >&5
12814 $as_echo_n "checking whether to build documentation... " >&6; }
12815 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${efl_enable_doc}" >&5
12816 $as_echo "${efl_enable_doc}" >&6; }
12818 if test "x${efl_enable_doc}" = "xyes" ; then
12821 efl_doxygen="doxygen"
12824 # Check whether --with-doxygen was given.
12825 if test "${with_doxygen+set}" = set; then :
12826 withval=$with_doxygen;
12827 efl_doxygen=${withval}
12828 # Extract the first word of "${efl_doxygen}", so it can be a program name with args.
12829 set dummy ${efl_doxygen}; ac_word=$2
12830 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
12831 $as_echo_n "checking for $ac_word... " >&6; }
12832 if ${ac_cv_prog_efl_have_doxygen+:} false; then :
12833 $as_echo_n "(cached) " >&6
12835 if test -n "$efl_have_doxygen"; then
12836 ac_cv_prog_efl_have_doxygen="$efl_have_doxygen" # Let the user override the test.
12838 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12839 for as_dir in $PATH
12842 test -z "$as_dir" && as_dir=.
12843 for ac_exec_ext in '' $ac_executable_extensions; do
12844 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
12845 ac_cv_prog_efl_have_doxygen="yes"
12846 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
12853 test -z "$ac_cv_prog_efl_have_doxygen" && ac_cv_prog_efl_have_doxygen="no"
12856 efl_have_doxygen=$ac_cv_prog_efl_have_doxygen
12857 if test -n "$efl_have_doxygen"; then
12858 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $efl_have_doxygen" >&5
12859 $as_echo "$efl_have_doxygen" >&6; }
12861 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12862 $as_echo "no" >&6; }
12866 if test "x${efl_have_doxygen}" = "xno" ; then
12868 echo "The doxygen program you specified:"
12869 echo "${efl_doxygen}"
12870 echo "was not found. Please check the path and make sure "
12871 echo "the program exists and is executable."
12872 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: no doxygen detected. Documentation will not be built" >&5
12873 $as_echo "$as_me: WARNING: no doxygen detected. Documentation will not be built" >&2;}
12877 # Extract the first word of "${efl_doxygen}", so it can be a program name with args.
12878 set dummy ${efl_doxygen}; ac_word=$2
12879 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
12880 $as_echo_n "checking for $ac_word... " >&6; }
12881 if ${ac_cv_prog_efl_have_doxygen+:} false; then :
12882 $as_echo_n "(cached) " >&6
12884 if test -n "$efl_have_doxygen"; then
12885 ac_cv_prog_efl_have_doxygen="$efl_have_doxygen" # Let the user override the test.
12887 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12888 for as_dir in $PATH
12891 test -z "$as_dir" && as_dir=.
12892 for ac_exec_ext in '' $ac_executable_extensions; do
12893 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
12894 ac_cv_prog_efl_have_doxygen="yes"
12895 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
12902 test -z "$ac_cv_prog_efl_have_doxygen" && ac_cv_prog_efl_have_doxygen="no"
12905 efl_have_doxygen=$ac_cv_prog_efl_have_doxygen
12906 if test -n "$efl_have_doxygen"; then
12907 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $efl_have_doxygen" >&5
12908 $as_echo "$efl_have_doxygen" >&6; }
12910 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12911 $as_echo "no" >&6; }
12915 if test "x${efl_have_doxygen}" = "xno" ; then
12917 echo "The doxygen program was not found in your execute path."
12918 echo "You may have doxygen installed somewhere not covered by your path."
12920 echo "If this is the case make sure you have the packages installed, AND"
12921 echo "that the doxygen program is in your execute path (see your"
12922 echo "shell manual page on setting the \$PATH environment variable), OR"
12923 echo "alternatively, specify the program to use with --with-doxygen."
12924 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: no doxygen detected. Documentation will not be built" >&5
12925 $as_echo "$as_me: WARNING: no doxygen detected. Documentation will not be built" >&2;}
12931 efl_have_doxygen="no"
12936 if ! test "x${efl_have_doxygen}" = "xyes" ; then
12937 efl_enable_doc="no"
12940 if test "x${efl_have_doxygen}" = "xyes"; then
12941 EFL_BUILD_DOC_TRUE=
12942 EFL_BUILD_DOC_FALSE='#'
12944 EFL_BUILD_DOC_TRUE='#'
12945 EFL_BUILD_DOC_FALSE=
12949 if test "x$efl_have_doxygen" = "xyes"; then :
12957 ### Checks for libraries
12962 if test -n "$PKG_CONFIG" && \
12963 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"evil >= 1.6.99\""; } >&5
12964 ($PKG_CONFIG --exists --print-errors "evil >= 1.6.99") 2>&5
12966 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
12967 test $ac_status = 0; }; then
12971 $as_echo "#define HAVE_EVIL 1" >>confdefs.h
12973 requirements_eio="${requirements_eio} evil >= 1.6.99"
12974 EFL_EIO_BUILD="-DEFL_EIO_BUILD"
12979 requirements_eio="${requirements_eio} eet >= 1.6.99 eina >= 1.6.99 ecore >= 1.6.99"
12984 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for EIO" >&5
12985 $as_echo_n "checking for EIO... " >&6; }
12987 if test -n "$EIO_CFLAGS"; then
12988 pkg_cv_EIO_CFLAGS="$EIO_CFLAGS"
12989 elif test -n "$PKG_CONFIG"; then
12990 if test -n "$PKG_CONFIG" && \
12991 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"\${requirements_eio}\""; } >&5
12992 ($PKG_CONFIG --exists --print-errors "${requirements_eio}") 2>&5
12994 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
12995 test $ac_status = 0; }; then
12996 pkg_cv_EIO_CFLAGS=`$PKG_CONFIG --cflags "${requirements_eio}" 2>/dev/null`
12997 test "x$?" != "x0" && pkg_failed=yes
13004 if test -n "$EIO_LIBS"; then
13005 pkg_cv_EIO_LIBS="$EIO_LIBS"
13006 elif test -n "$PKG_CONFIG"; then
13007 if test -n "$PKG_CONFIG" && \
13008 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"\${requirements_eio}\""; } >&5
13009 ($PKG_CONFIG --exists --print-errors "${requirements_eio}") 2>&5
13011 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
13012 test $ac_status = 0; }; then
13013 pkg_cv_EIO_LIBS=`$PKG_CONFIG --libs "${requirements_eio}" 2>/dev/null`
13014 test "x$?" != "x0" && pkg_failed=yes
13024 if test $pkg_failed = yes; then
13025 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
13026 $as_echo "no" >&6; }
13028 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
13029 _pkg_short_errors_supported=yes
13031 _pkg_short_errors_supported=no
13033 if test $_pkg_short_errors_supported = yes; then
13034 EIO_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "${requirements_eio}" 2>&1`
13036 EIO_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "${requirements_eio}" 2>&1`
13038 # Put the nasty error message in config.log where it belongs
13039 echo "$EIO_PKG_ERRORS" >&5
13041 as_fn_error $? "Package requirements (${requirements_eio}) were not met:
13045 Consider adjusting the PKG_CONFIG_PATH environment variable if you
13046 installed software in a non-standard prefix.
13048 Alternatively, you may set the environment variables EIO_CFLAGS
13049 and EIO_LIBS to avoid the need to call pkg-config.
13050 See the pkg-config man page for more details." "$LINENO" 5
13051 elif test $pkg_failed = untried; then
13052 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
13053 $as_echo "no" >&6; }
13054 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
13055 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
13056 as_fn_error $? "The pkg-config script could not be found or is too old. Make sure it
13057 is in your PATH or set the PKG_CONFIG environment variable to the full
13058 path to pkg-config.
13060 Alternatively, you may set the environment variables EIO_CFLAGS
13061 and EIO_LIBS to avoid the need to call pkg-config.
13062 See the pkg-config man page for more details.
13064 To get pkg-config, see <http://pkg-config.freedesktop.org/>.
13065 See \`config.log' for more details" "$LINENO" 5; }
13067 EIO_CFLAGS=$pkg_cv_EIO_CFLAGS
13068 EIO_LIBS=$pkg_cv_EIO_LIBS
13069 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
13070 $as_echo "yes" >&6; }
13075 ### Checks for header files
13077 ac_header_dirent=no
13078 for ac_hdr in dirent.h sys/ndir.h sys/dir.h ndir.h; do
13079 as_ac_Header=`$as_echo "ac_cv_header_dirent_$ac_hdr" | $as_tr_sh`
13080 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_hdr that defines DIR" >&5
13081 $as_echo_n "checking for $ac_hdr that defines DIR... " >&6; }
13082 if eval \${$as_ac_Header+:} false; then :
13083 $as_echo_n "(cached) " >&6
13085 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13086 /* end confdefs.h. */
13087 #include <sys/types.h>
13099 if ac_fn_c_try_compile "$LINENO"; then :
13100 eval "$as_ac_Header=yes"
13102 eval "$as_ac_Header=no"
13104 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
13106 eval ac_res=\$$as_ac_Header
13107 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
13108 $as_echo "$ac_res" >&6; }
13109 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
13110 cat >>confdefs.h <<_ACEOF
13111 #define `$as_echo "HAVE_$ac_hdr" | $as_tr_cpp` 1
13114 ac_header_dirent=$ac_hdr; break
13118 # Two versions of opendir et al. are in -ldir and -lx on SCO Xenix.
13119 if test $ac_header_dirent = dirent.h; then
13120 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing opendir" >&5
13121 $as_echo_n "checking for library containing opendir... " >&6; }
13122 if ${ac_cv_search_opendir+:} false; then :
13123 $as_echo_n "(cached) " >&6
13125 ac_func_search_save_LIBS=$LIBS
13126 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13127 /* end confdefs.h. */
13129 /* Override any GCC internal prototype to avoid an error.
13130 Use char because int might match the return type of a GCC
13131 builtin and then its argument prototype would still apply. */
13144 for ac_lib in '' dir; do
13145 if test -z "$ac_lib"; then
13146 ac_res="none required"
13149 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
13151 if ac_fn_c_try_link "$LINENO"; then :
13152 ac_cv_search_opendir=$ac_res
13154 rm -f core conftest.err conftest.$ac_objext \
13156 if ${ac_cv_search_opendir+:} false; then :
13160 if ${ac_cv_search_opendir+:} false; then :
13163 ac_cv_search_opendir=no
13165 rm conftest.$ac_ext
13166 LIBS=$ac_func_search_save_LIBS
13168 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_opendir" >&5
13169 $as_echo "$ac_cv_search_opendir" >&6; }
13170 ac_res=$ac_cv_search_opendir
13171 if test "$ac_res" != no; then :
13172 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
13177 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing opendir" >&5
13178 $as_echo_n "checking for library containing opendir... " >&6; }
13179 if ${ac_cv_search_opendir+:} false; then :
13180 $as_echo_n "(cached) " >&6
13182 ac_func_search_save_LIBS=$LIBS
13183 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13184 /* end confdefs.h. */
13186 /* Override any GCC internal prototype to avoid an error.
13187 Use char because int might match the return type of a GCC
13188 builtin and then its argument prototype would still apply. */
13201 for ac_lib in '' x; do
13202 if test -z "$ac_lib"; then
13203 ac_res="none required"
13206 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
13208 if ac_fn_c_try_link "$LINENO"; then :
13209 ac_cv_search_opendir=$ac_res
13211 rm -f core conftest.err conftest.$ac_objext \
13213 if ${ac_cv_search_opendir+:} false; then :
13217 if ${ac_cv_search_opendir+:} false; then :
13220 ac_cv_search_opendir=no
13222 rm conftest.$ac_ext
13223 LIBS=$ac_func_search_save_LIBS
13225 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_opendir" >&5
13226 $as_echo "$ac_cv_search_opendir" >&6; }
13227 ac_res=$ac_cv_search_opendir
13228 if test "$ac_res" != no; then :
13229 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
13235 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether time.h and sys/time.h may both be included" >&5
13236 $as_echo_n "checking whether time.h and sys/time.h may both be included... " >&6; }
13237 if ${ac_cv_header_time+:} false; then :
13238 $as_echo_n "(cached) " >&6
13240 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13241 /* end confdefs.h. */
13242 #include <sys/types.h>
13243 #include <sys/time.h>
13249 if ((struct tm *) 0)
13255 if ac_fn_c_try_compile "$LINENO"; then :
13256 ac_cv_header_time=yes
13258 ac_cv_header_time=no
13260 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
13262 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_time" >&5
13263 $as_echo "$ac_cv_header_time" >&6; }
13264 if test $ac_cv_header_time = yes; then
13266 $as_echo "#define TIME_WITH_SYS_TIME 1" >>confdefs.h
13270 for ac_header in unistd.h libgen.h grp.h features.h pwd.h
13272 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
13273 ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
13274 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
13275 cat >>confdefs.h <<_ACEOF
13276 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
13287 # Check whether --enable-posix-threads was given.
13288 if test "${enable_posix_threads+set}" = set; then :
13289 enableval=$enable_posix_threads;
13290 if test "x${enableval}" = "xyes" ; then
13291 _efl_enable_posix_threads="yes"
13293 _efl_enable_posix_threads="no"
13297 _efl_enable_posix_threads="auto"
13301 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build POSIX threads code" >&5
13302 $as_echo_n "checking whether to build POSIX threads code... " >&6; }
13303 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${_efl_enable_posix_threads}" >&5
13304 $as_echo "${_efl_enable_posix_threads}" >&6; }
13306 # Check whether --enable-win32-threads was given.
13307 if test "${enable_win32_threads+set}" = set; then :
13308 enableval=$enable_win32_threads;
13309 if test "x${enableval}" = "xyes" ; then
13310 _efl_enable_win32_threads="yes"
13312 _efl_enable_win32_threads="no"
13316 _efl_enable_win32_threads="no"
13320 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build Windows threads code" >&5
13321 $as_echo_n "checking whether to build Windows threads code... " >&6; }
13322 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${_efl_enable_win32_threads}" >&5
13323 $as_echo "${_efl_enable_win32_threads}" >&6; }
13326 if test "x${_efl_enable_posix_threads}" = "xyes" && test "x${_efl_enable_win32_threads}" = "xyes" ; then
13329 _efl_enable_posix_threads=no
13332 _efl_enable_win32_threads=no
13337 if test "x${_efl_enable_win32_threads}" = "xyes" ; then
13342 as_fn_error $? "Win32 threads support requested but non Windows system found." "$LINENO" 5
13347 if test "x${_efl_enable_posix_threads}" = "xyes" ; then
13350 as_fn_error $? "POSIX threads support requested but Windows system found." "$LINENO" 5
13362 _efl_threads_cflags="-mt"
13363 _efl_threads_libs="-mt"
13366 _efl_threads_cflags="-pthread"
13367 _efl_threads_libs="-pthread"
13371 _efl_have_posix_threads="no"
13372 _efl_have_win32_threads="no"
13374 if test "x${_efl_enable_posix_threads}" = "xyes" || test "x${_efl_enable_posix_threads}" = "xauto" ; then
13376 SAVE_CFLAGS=${CFLAGS}
13377 CFLAGS="${CFLAGS} ${_efl_threads_cflags}"
13379 LIBS="${LIBS} ${_efl_threads_libs}"
13380 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13381 /* end confdefs.h. */
13383 #include <pthread.h>
13390 id = pthread_self();
13396 if ac_fn_c_try_link "$LINENO"; then :
13397 _efl_have_posix_threads="yes"
13399 _efl_have_posix_threads="no"
13401 rm -f core conftest.err conftest.$ac_objext \
13402 conftest$ac_exeext conftest.$ac_ext
13403 CFLAGS=${SAVE_CFLAGS}
13408 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether system support POSIX threads" >&5
13409 $as_echo_n "checking whether system support POSIX threads... " >&6; }
13410 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${_efl_have_posix_threads}" >&5
13411 $as_echo "${_efl_have_posix_threads}" >&6; }
13412 if test "$x{_efl_enable_posix_threads}" = "xyes" && test "x${_efl_have_posix_threads}" = "xno"; then
13413 as_fn_error $? "POSIX threads support requested but not found." "$LINENO" 5
13416 EFL_PTHREAD_CFLAGS=""
13417 EFL_PTHREAD_LIBS=""
13418 if test "x${_efl_have_posix_threads}" = "xyes" ; then
13419 EFL_PTHREAD_CFLAGS=${_efl_threads_cflags}
13420 EFL_PTHREAD_LIBS=${_efl_threads_libs}
13426 _efl_enable_debug_threads="no"
13427 # Check whether --enable-debug-threads was given.
13428 if test "${enable_debug_threads+set}" = set; then :
13429 enableval=$enable_debug_threads; _efl_enable_debug_threads="${enableval}"
13433 have_debug_threads="no"
13434 if test "x${_efl_have_posix_threads}" = "xyes" -a "x${_efl_enable_debug_threads}" = "xyes"; then
13435 have_debug_threads="yes"
13437 $as_echo "#define EFL_DEBUG_THREADS 1" >>confdefs.h
13441 if test "x${_efl_have_posix_threads}" = "xyes" ; then
13443 $as_echo "#define EFL_HAVE_POSIX_THREADS 1" >>confdefs.h
13447 if test "x${_efl_enable_win32_threads}" = "xyes" ; then
13448 _efl_have_win32_threads="yes"
13450 $as_echo "#define EFL_HAVE_WIN32_THREADS 1" >>confdefs.h
13454 if test "x${_efl_have_posix_threads}" = "xyes" || test "x${_efl_have_win32_threads}" = "xyes" ; then
13456 $as_echo "#define EFL_HAVE_THREADS 1" >>confdefs.h
13460 if test "x$_efl_have_posix_threads" = "xyes" || test "x$_efl_have_win32_threads" = "xyes"; then :
13462 if test "x${_efl_have_posix_threads}" = "xyes" ; then
13463 have_threads="POSIX"
13465 if test "x${_efl_have_win32_threads}" = "xyes" ; then
13466 have_threads="Win32"
13477 if test "x${have_threads}" = "xno" ; then
13478 as_fn_error $? "Threads not supported. Be sure to have pthread on non Windows OS" "$LINENO" 5
13485 ac_cpp='$CPP $CPPFLAGS'
13486 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
13487 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
13488 ac_compiler_gnu=$ac_cv_c_compiler_gnu
13491 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for PATH_MAX in limits.h" >&5
13492 $as_echo_n "checking for PATH_MAX in limits.h... " >&6; }
13493 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13494 /* end confdefs.h. */
13496 #include <limits.h>
13508 if ac_fn_c_try_compile "$LINENO"; then :
13509 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
13510 $as_echo "yes" >&6; }
13514 cat >>confdefs.h <<_ACEOF
13515 #define PATH_MAX ${default_max}
13518 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no: using ${default_max}" >&5
13519 $as_echo "no: using ${default_max}" >&6; }
13522 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
13525 ac_cpp='$CPP $CPPFLAGS'
13526 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
13527 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
13528 ac_compiler_gnu=$ac_cv_c_compiler_gnu
13533 ### Checks for types
13535 ### Checks for structures
13537 ### Checks for compiler characteristics
13538 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether byte ordering is bigendian" >&5
13539 $as_echo_n "checking whether byte ordering is bigendian... " >&6; }
13540 if ${ac_cv_c_bigendian+:} false; then :
13541 $as_echo_n "(cached) " >&6
13543 ac_cv_c_bigendian=unknown
13544 # See if we're dealing with a universal compiler.
13545 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13546 /* end confdefs.h. */
13547 #ifndef __APPLE_CC__
13548 not a universal capable compiler
13553 if ac_fn_c_try_compile "$LINENO"; then :
13555 # Check for potential -arch flags. It is not universal unless
13556 # there are at least two -arch flags with different values.
13559 for ac_word in $CC $CFLAGS $CPPFLAGS $LDFLAGS; do
13560 if test -n "$ac_prev"; then
13562 i?86 | x86_64 | ppc | ppc64)
13563 if test -z "$ac_arch" || test "$ac_arch" = "$ac_word"; then
13566 ac_cv_c_bigendian=universal
13572 elif test "x$ac_word" = "x-arch"; then
13577 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
13578 if test $ac_cv_c_bigendian = unknown; then
13579 # See if sys/param.h defines the BYTE_ORDER macro.
13580 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13581 /* end confdefs.h. */
13582 #include <sys/types.h>
13583 #include <sys/param.h>
13588 #if ! (defined BYTE_ORDER && defined BIG_ENDIAN \
13589 && defined LITTLE_ENDIAN && BYTE_ORDER && BIG_ENDIAN \
13591 bogus endian macros
13598 if ac_fn_c_try_compile "$LINENO"; then :
13599 # It does; now see whether it defined to BIG_ENDIAN or not.
13600 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13601 /* end confdefs.h. */
13602 #include <sys/types.h>
13603 #include <sys/param.h>
13608 #if BYTE_ORDER != BIG_ENDIAN
13616 if ac_fn_c_try_compile "$LINENO"; then :
13617 ac_cv_c_bigendian=yes
13619 ac_cv_c_bigendian=no
13621 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
13623 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
13625 if test $ac_cv_c_bigendian = unknown; then
13626 # See if <limits.h> defines _LITTLE_ENDIAN or _BIG_ENDIAN (e.g., Solaris).
13627 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13628 /* end confdefs.h. */
13629 #include <limits.h>
13634 #if ! (defined _LITTLE_ENDIAN || defined _BIG_ENDIAN)
13635 bogus endian macros
13642 if ac_fn_c_try_compile "$LINENO"; then :
13643 # It does; now see whether it defined to _BIG_ENDIAN or not.
13644 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13645 /* end confdefs.h. */
13646 #include <limits.h>
13651 #ifndef _BIG_ENDIAN
13659 if ac_fn_c_try_compile "$LINENO"; then :
13660 ac_cv_c_bigendian=yes
13662 ac_cv_c_bigendian=no
13664 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
13666 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
13668 if test $ac_cv_c_bigendian = unknown; then
13669 # Compile a test program.
13670 if test "$cross_compiling" = yes; then :
13671 # Try to guess by grepping values from an object file.
13672 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13673 /* end confdefs.h. */
13674 short int ascii_mm[] =
13675 { 0x4249, 0x4765, 0x6E44, 0x6961, 0x6E53, 0x7953, 0 };
13676 short int ascii_ii[] =
13677 { 0x694C, 0x5454, 0x656C, 0x6E45, 0x6944, 0x6E61, 0 };
13678 int use_ascii (int i) {
13679 return ascii_mm[i] + ascii_ii[i];
13681 short int ebcdic_ii[] =
13682 { 0x89D3, 0xE3E3, 0x8593, 0x95C5, 0x89C4, 0x9581, 0 };
13683 short int ebcdic_mm[] =
13684 { 0xC2C9, 0xC785, 0x95C4, 0x8981, 0x95E2, 0xA8E2, 0 };
13685 int use_ebcdic (int i) {
13686 return ebcdic_mm[i] + ebcdic_ii[i];
13693 return use_ascii (foo) == use_ebcdic (foo);
13698 if ac_fn_c_try_compile "$LINENO"; then :
13699 if grep BIGenDianSyS conftest.$ac_objext >/dev/null; then
13700 ac_cv_c_bigendian=yes
13702 if grep LiTTleEnDian conftest.$ac_objext >/dev/null ; then
13703 if test "$ac_cv_c_bigendian" = unknown; then
13704 ac_cv_c_bigendian=no
13706 # finding both strings is unlikely to happen, but who knows?
13707 ac_cv_c_bigendian=unknown
13711 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
13713 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13714 /* end confdefs.h. */
13715 $ac_includes_default
13720 /* Are we little or big endian? From Harbison&Steele. */
13724 char c[sizeof (long int)];
13727 return u.c[sizeof (long int) - 1] == 1;
13733 if ac_fn_c_try_run "$LINENO"; then :
13734 ac_cv_c_bigendian=no
13736 ac_cv_c_bigendian=yes
13738 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
13739 conftest.$ac_objext conftest.beam conftest.$ac_ext
13744 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_bigendian" >&5
13745 $as_echo "$ac_cv_c_bigendian" >&6; }
13746 case $ac_cv_c_bigendian in #(
13748 $as_echo "#define WORDS_BIGENDIAN 1" >>confdefs.h
13754 $as_echo "#define AC_APPLE_UNIVERSAL_BUILD 1" >>confdefs.h
13758 as_fn_error $? "unknown endianness
13759 presetting ac_cv_c_bigendian=no (or yes) will help" "$LINENO" 5 ;;
13762 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for inline" >&5
13763 $as_echo_n "checking for inline... " >&6; }
13764 if ${ac_cv_c_inline+:} false; then :
13765 $as_echo_n "(cached) " >&6
13768 for ac_kw in inline __inline__ __inline; do
13769 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13770 /* end confdefs.h. */
13771 #ifndef __cplusplus
13773 static $ac_kw foo_t static_foo () {return 0; }
13774 $ac_kw foo_t foo () {return 0; }
13778 if ac_fn_c_try_compile "$LINENO"; then :
13779 ac_cv_c_inline=$ac_kw
13781 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
13782 test "$ac_cv_c_inline" != no && break
13786 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_inline" >&5
13787 $as_echo "$ac_cv_c_inline" >&6; }
13789 case $ac_cv_c_inline in
13792 case $ac_cv_c_inline in
13794 *) ac_val=$ac_cv_c_inline;;
13796 cat >>confdefs.h <<_ACEOF
13797 #ifndef __cplusplus
13798 #define inline $ac_val
13806 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for __attribute__" >&5
13807 $as_echo_n "checking for __attribute__... " >&6; }
13809 if ${ac_cv___attribute__+:} false; then :
13810 $as_echo_n "(cached) " >&6
13812 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13813 /* end confdefs.h. */
13815 #include <stdlib.h>
13818 int foo(int x __attribute__ ((unused)))
13831 if ac_fn_c_try_compile "$LINENO"; then :
13832 ac_cv___attribute__="yes"
13834 ac_cv___attribute__="no"
13837 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
13842 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv___attribute__" >&5
13843 $as_echo "$ac_cv___attribute__" >&6; }
13845 if test "x${ac_cv___attribute__}" = "xyes" ; then
13847 $as_echo "#define HAVE___ATTRIBUTE__ 1" >>confdefs.h
13850 $as_echo "#define __UNUSED__ __attribute__((unused))" >>confdefs.h
13854 $as_echo "#define __UNUSED__ /**/" >>confdefs.h
13859 if test "x$CC" != xcc; then
13860 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC and cc understand -c and -o together" >&5
13861 $as_echo_n "checking whether $CC and cc understand -c and -o together... " >&6; }
13863 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether cc understands -c and -o together" >&5
13864 $as_echo_n "checking whether cc understands -c and -o together... " >&6; }
13866 set dummy $CC; ac_cc=`$as_echo "$2" |
13867 sed 's/[^a-zA-Z0-9_]/_/g;s/^[0-9]/_/'`
13868 if eval \${ac_cv_prog_cc_${ac_cc}_c_o+:} false; then :
13869 $as_echo_n "(cached) " >&6
13871 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13872 /* end confdefs.h. */
13882 # Make sure it works both with $CC and with simple cc.
13883 # We do the test twice because some compilers refuse to overwrite an
13884 # existing .o file with -o, though they will create one.
13885 ac_try='$CC -c conftest.$ac_ext -o conftest2.$ac_objext >&5'
13887 if { { case "(($ac_try" in
13888 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
13889 *) ac_try_echo=$ac_try;;
13891 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
13892 $as_echo "$ac_try_echo"; } >&5
13893 (eval "$ac_try") 2>&5
13895 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
13896 test $ac_status = 0; } &&
13897 test -f conftest2.$ac_objext && { { case "(($ac_try" in
13898 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
13899 *) ac_try_echo=$ac_try;;
13901 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
13902 $as_echo "$ac_try_echo"; } >&5
13903 (eval "$ac_try") 2>&5
13905 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
13906 test $ac_status = 0; };
13908 eval ac_cv_prog_cc_${ac_cc}_c_o=yes
13909 if test "x$CC" != xcc; then
13910 # Test first that cc exists at all.
13911 if { ac_try='cc -c conftest.$ac_ext >&5'
13912 { { case "(($ac_try" in
13913 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
13914 *) ac_try_echo=$ac_try;;
13916 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
13917 $as_echo "$ac_try_echo"; } >&5
13918 (eval "$ac_try") 2>&5
13920 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
13921 test $ac_status = 0; }; }; then
13922 ac_try='cc -c conftest.$ac_ext -o conftest2.$ac_objext >&5'
13924 if { { case "(($ac_try" in
13925 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
13926 *) ac_try_echo=$ac_try;;
13928 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
13929 $as_echo "$ac_try_echo"; } >&5
13930 (eval "$ac_try") 2>&5
13932 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
13933 test $ac_status = 0; } &&
13934 test -f conftest2.$ac_objext && { { case "(($ac_try" in
13935 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
13936 *) ac_try_echo=$ac_try;;
13938 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
13939 $as_echo "$ac_try_echo"; } >&5
13940 (eval "$ac_try") 2>&5
13942 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
13943 test $ac_status = 0; };
13948 # cc exists but doesn't like -o.
13949 eval ac_cv_prog_cc_${ac_cc}_c_o=no
13954 eval ac_cv_prog_cc_${ac_cc}_c_o=no
13956 rm -f core conftest*
13959 if eval test \$ac_cv_prog_cc_${ac_cc}_c_o = yes; then
13960 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
13961 $as_echo "yes" >&6; }
13963 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
13964 $as_echo "no" >&6; }
13966 $as_echo "#define NO_MINUS_C_MINUS_O 1" >>confdefs.h
13970 # FIXME: we rely on the cache variable name because
13971 # there is no other way.
13973 am_cc=`echo $2 | sed 's/[^a-zA-Z0-9_]/_/g;s/^[0-9]/_/'`
13974 eval am_t=\$ac_cv_prog_cc_${am_cc}_c_o
13975 if test "$am_t" != yes; then
13976 # Losing compiler, so override with the script.
13977 # FIXME: It is wrong to rewrite CC.
13978 # But if we don't then we get into trouble of one sort or another.
13979 # A longer-term fix would be to have automake use am__CC in this case,
13980 # and then we could set am__CC="\$(top_srcdir)/compile \$(CC)"
13981 CC="$am_aux_dir/compile $CC"
13989 EFL_EIO_BUILD="-DEFL_EIO_BUILD"
13994 ### Checks for linker characteristics
13996 # use --enable-auto-import on Windows
13998 lt_enable_auto_import=""
14001 lt_enable_auto_import="-Wl,--enable-auto-import"
14006 ### Checks for library functions
14007 for ac_func in fchmod chown getpwnam getgrnam
14009 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
14010 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
14011 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
14012 cat >>confdefs.h <<_ACEOF
14013 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
14020 ### Check for splice system call
14022 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to use splice for file copy" >&5
14023 $as_echo_n "checking whether to use splice for file copy... " >&6; }
14024 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14025 /* end confdefs.h. */
14027 #if defined(HAVE_UNISTD_H)
14028 # include <unistd.h>
14036 long ret = splice(0,0,1,0,400,0);
14042 if ac_fn_c_try_link "$LINENO"; then :
14047 rm -f core conftest.err conftest.$ac_objext \
14048 conftest$ac_exeext conftest.$ac_ext
14049 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${have_splice}" >&5
14050 $as_echo "${have_splice}" >&6; }
14052 if test "x${have_splice}" = "xyes" ; then
14054 $as_echo "#define HAVE_SPLICE 1" >>confdefs.h
14060 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether lstat is available" >&5
14061 $as_echo_n "checking whether lstat is available... " >&6; }
14062 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14063 /* end confdefs.h. */
14065 #include <sys/types.h>
14066 #include <sys/stat.h>
14067 #if defined(HAVE_UNISTD_H)
14068 # include <unistd.h>
14076 lstat("/tmp", &st);
14082 if ac_fn_c_try_link "$LINENO"; then :
14087 rm -f core conftest.err conftest.$ac_objext \
14088 conftest$ac_exeext conftest.$ac_ext
14089 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${have_lstat}" >&5
14090 $as_echo "${have_lstat}" >&6; }
14092 if test "x${have_lstat}" = "xyes" ; then
14094 $as_echo "#define HAVE_LSTAT 1" >>confdefs.h
14098 # extended attribute
14100 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for extended attributes" >&5
14101 $as_echo_n "checking for extended attributes... " >&6; }
14103 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14104 /* end confdefs.h. */
14106 #include <stdlib.h>
14107 #include <sys/types.h>
14108 #include <sys/xattr.h>
14114 size_t tmp = listxattr("/", NULL, 0);
14115 tmp = getxattr("/", "user.ethumb.md5", NULL, 0);
14116 setxattr("/", "user.ethumb.md5", NULL, 0, 0);
14122 if ac_fn_c_try_compile "$LINENO"; then :
14125 $as_echo "#define HAVE_XATTR 1" >>confdefs.h
14132 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
14134 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${have_xattr}" >&5
14135 $as_echo "${have_xattr}" >&6; }
14137 # Check for inotify specificity
14139 have_notify_win32="no"
14141 _eio_want_inotify=${want_inotify}
14142 _eio_have_inotify="no"
14144 _eio_want_inotify="yes"
14145 # Check whether --enable-inotify was given.
14146 if test "${enable_inotify+set}" = set; then :
14147 enableval=$enable_inotify;
14148 if test "x${enableval}" = "xyes" ; then
14149 _eio_want_inotify="yes"
14151 _eio_want_inotify="no"
14157 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether inotify is to be used for filemonitoring" >&5
14158 $as_echo_n "checking whether inotify is to be used for filemonitoring... " >&6; }
14159 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $_eio_want_inotify" >&5
14160 $as_echo "$_eio_want_inotify" >&6; }
14163 if test "x${_eio_want_inotify}" = "xyes" ; then
14164 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for inotify_init in -lc" >&5
14165 $as_echo_n "checking for inotify_init in -lc... " >&6; }
14166 if ${ac_cv_lib_c_inotify_init+:} false; then :
14167 $as_echo_n "(cached) " >&6
14169 ac_check_lib_save_LIBS=$LIBS
14171 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14172 /* end confdefs.h. */
14174 /* Override any GCC internal prototype to avoid an error.
14175 Use char because int might match the return type of a GCC
14176 builtin and then its argument prototype would still apply. */
14180 char inotify_init ();
14184 return inotify_init ();
14189 if ac_fn_c_try_link "$LINENO"; then :
14190 ac_cv_lib_c_inotify_init=yes
14192 ac_cv_lib_c_inotify_init=no
14194 rm -f core conftest.err conftest.$ac_objext \
14195 conftest$ac_exeext conftest.$ac_ext
14196 LIBS=$ac_check_lib_save_LIBS
14198 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_c_inotify_init" >&5
14199 $as_echo "$ac_cv_lib_c_inotify_init" >&6; }
14200 if test "x$ac_cv_lib_c_inotify_init" = xyes; then :
14203 $as_echo "#define HAVE_INOTIFY 1" >>confdefs.h
14206 $as_echo "#define HAVE_SYS_INOTIFY 1" >>confdefs.h
14208 _eio_have_inotify="yes"
14212 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14213 /* end confdefs.h. */
14215 #include <asm/unistd.h>
14216 #include <linux/inotify.h>
14221 int a = __NR_inotify_init; int b = IN_MOVE_SELF;
14226 if ac_fn_c_try_compile "$LINENO"; then :
14229 $as_echo "#define HAVE_INOTIFY 1" >>confdefs.h
14231 _eio_have_inotify="yes"
14234 _eio_have_inotify="no"
14236 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
14242 if test "x$_eio_have_inotify" = "xyes" ; then
14249 _eio_want_notify_win32=${want_notify_win32}
14250 _eio_have_notify_win32="no"
14252 # Check whether --enable-notify-win32 was given.
14253 if test "${enable_notify_win32+set}" = set; then :
14254 enableval=$enable_notify_win32;
14255 if test "x${enableval}" = "xyes" ; then
14256 _eio_want_notify_win32="yes"
14258 _eio_want_notify_win32="no"
14264 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether Windows notification is to be used for filemonitoring" >&5
14265 $as_echo_n "checking whether Windows notification is to be used for filemonitoring... " >&6; }
14266 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${_eio_want_notify_win32}" >&5
14267 $as_echo "${_eio_want_notify_win32}" >&6; }
14269 if test "x${_eio_want_notify_win32}" = "xyes" ; then
14271 $as_echo "#define HAVE_NOTIFY_WIN32 1" >>confdefs.h
14273 _eio_have_notify_win32="yes"
14276 if test "x${_eio_have_notify_win32}" = "xyes" ; then
14277 have_notify_win32="yes"
14279 have_notify_win32="no"
14283 if test "x$have_inotify" = "xyes"; then
14284 EIO_HAVE_INOTIFY_TRUE=
14285 EIO_HAVE_INOTIFY_FALSE='#'
14287 EIO_HAVE_INOTIFY_TRUE='#'
14288 EIO_HAVE_INOTIFY_FALSE=
14291 if test "x$have_notify_win32" = "xyes"; then
14292 EIO_HAVE_WINCHANGE_TRUE=
14293 EIO_HAVE_WINCHANGE_FALSE='#'
14295 EIO_HAVE_WINCHANGE_TRUE='#'
14296 EIO_HAVE_WINCHANGE_FALSE=
14302 # Check whether --enable-build-examples was given.
14303 if test "${enable_build_examples+set}" = set; then :
14304 enableval=$enable_build_examples;
14305 if test "x${enableval}" = "xyes" ; then
14306 _efl_enable_build_examples="yes"
14308 _efl_enable_build_examples="no"
14312 _efl_enable_build_examples="no"
14316 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether examples are built" >&5
14317 $as_echo_n "checking whether examples are built... " >&6; }
14318 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${_efl_enable_build_examples}" >&5
14319 $as_echo "${_efl_enable_build_examples}" >&6; }
14321 if test "x${_efl_enable_build_examples}" = "xyes"; then
14322 EFL_BUILD_EXAMPLES_TRUE=
14323 EFL_BUILD_EXAMPLES_FALSE='#'
14325 EFL_BUILD_EXAMPLES_TRUE='#'
14326 EFL_BUILD_EXAMPLES_FALSE=
14330 if test "x$_efl_enable_build_examples" = "xyes"; then :
14331 enable_build_examples="yes"
14333 enable_build_examples="no"
14339 # Check whether --enable-install-examples was given.
14340 if test "${enable_install_examples+set}" = set; then :
14341 enableval=$enable_install_examples;
14342 if test "x${enableval}" = "xyes" ; then
14343 _efl_enable_install_examples="yes"
14345 _efl_enable_install_examples="no"
14349 _efl_enable_install_examples="no"
14353 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether examples are installed" >&5
14354 $as_echo_n "checking whether examples are installed... " >&6; }
14355 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${_efl_enable_install_examples}" >&5
14356 $as_echo "${_efl_enable_install_examples}" >&6; }
14358 if test "x${_efl_enable_install_examples}" = "xyes"; then
14359 EFL_INSTALL_EXAMPLES_TRUE=
14360 EFL_INSTALL_EXAMPLES_FALSE='#'
14362 EFL_INSTALL_EXAMPLES_TRUE='#'
14363 EFL_INSTALL_EXAMPLES_FALSE=
14367 if test "x$_efl_enable_install_examples" = "xyes"; then :
14368 enable_install_examples="yes"
14370 enable_install_examples="no"
14375 ac_config_files="$ac_config_files eio.pc eio.spec Makefile doc/Makefile doc/eio.dox doc/Doxyfile src/Makefile src/lib/Makefile src/examples/Makefile"
14377 cat >confcache <<\_ACEOF
14378 # This file is a shell script that caches the results of configure
14379 # tests run on this system so they can be shared between configure
14380 # scripts and configure runs, see configure's option --config-cache.
14381 # It is not useful on other systems. If it contains results you don't
14382 # want to keep, you may remove or edit it.
14384 # config.status only pays attention to the cache file if you give it
14385 # the --recheck option to rerun configure.
14387 # `ac_cv_env_foo' variables (set or unset) will be overridden when
14388 # loading this file, other *unset* `ac_cv_foo' will be assigned the
14389 # following values.
14393 # The following way of writing the cache mishandles newlines in values,
14394 # but we know of no workaround that is simple, portable, and efficient.
14395 # So, we kill variables containing newlines.
14396 # Ultrix sh set writes to stderr and can't be redirected directly,
14397 # and sets the high bit in the cache file unless we assign to the vars.
14399 for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
14400 eval ac_val=\$$ac_var
14404 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
14405 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
14408 _ | IFS | as_nl) ;; #(
14409 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
14410 *) { eval $ac_var=; unset $ac_var;} ;;
14416 case $as_nl`(ac_space=' '; set) 2>&1` in #(
14417 *${as_nl}ac_space=\ *)
14418 # `set' does not quote correctly, so add quotes: double-quote
14419 # substitution turns \\\\ into \\, and sed turns \\ into \.
14422 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
14425 # `set' quotes correctly as required by POSIX, so do not add quotes.
14426 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
14435 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
14437 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
14439 if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
14440 if test -w "$cache_file"; then
14441 if test "x$cache_file" != "x/dev/null"; then
14442 { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
14443 $as_echo "$as_me: updating cache $cache_file" >&6;}
14444 if test ! -f "$cache_file" || test -h "$cache_file"; then
14445 cat confcache >"$cache_file"
14447 case $cache_file in #(
14449 mv -f confcache "$cache_file"$$ &&
14450 mv -f "$cache_file"$$ "$cache_file" ;; #(
14452 mv -f confcache "$cache_file" ;;
14457 { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
14458 $as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
14463 test "x$prefix" = xNONE && prefix=$ac_default_prefix
14464 # Let make expand exec_prefix.
14465 test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
14467 DEFS=-DHAVE_CONFIG_H
14472 for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
14473 # 1. Remove the extension, and $U if already installed.
14474 ac_script='s/\$U\././;s/\.o$//;s/\.obj$//'
14475 ac_i=`$as_echo "$ac_i" | sed "$ac_script"`
14476 # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR
14477 # will be set to the directory where LIBOBJS objects are built.
14478 as_fn_append ac_libobjs " \${LIBOBJDIR}$ac_i\$U.$ac_objext"
14479 as_fn_append ac_ltlibobjs " \${LIBOBJDIR}$ac_i"'$U.lo'
14481 LIBOBJS=$ac_libobjs
14483 LTLIBOBJS=$ac_ltlibobjs
14486 if test -n "$EXEEXT"; then
14488 am__EXEEXT_FALSE='#'
14490 am__EXEEXT_TRUE='#'
14494 if test -z "${AMDEP_TRUE}" && test -z "${AMDEP_FALSE}"; then
14495 as_fn_error $? "conditional \"AMDEP\" was never defined.
14496 Usually this means the macro was only invoked conditionally." "$LINENO" 5
14498 if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
14499 as_fn_error $? "conditional \"am__fastdepCC\" was never defined.
14500 Usually this means the macro was only invoked conditionally." "$LINENO" 5
14502 if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
14503 as_fn_error $? "conditional \"am__fastdepCC\" was never defined.
14504 Usually this means the macro was only invoked conditionally." "$LINENO" 5
14506 if test -z "${EFL_BUILD_DOC_TRUE}" && test -z "${EFL_BUILD_DOC_FALSE}"; then
14507 as_fn_error $? "conditional \"EFL_BUILD_DOC\" was never defined.
14508 Usually this means the macro was only invoked conditionally." "$LINENO" 5
14511 if test -z "${EIO_HAVE_INOTIFY_TRUE}" && test -z "${EIO_HAVE_INOTIFY_FALSE}"; then
14512 as_fn_error $? "conditional \"EIO_HAVE_INOTIFY\" was never defined.
14513 Usually this means the macro was only invoked conditionally." "$LINENO" 5
14515 if test -z "${EIO_HAVE_WINCHANGE_TRUE}" && test -z "${EIO_HAVE_WINCHANGE_FALSE}"; then
14516 as_fn_error $? "conditional \"EIO_HAVE_WINCHANGE\" was never defined.
14517 Usually this means the macro was only invoked conditionally." "$LINENO" 5
14519 if test -z "${EFL_BUILD_EXAMPLES_TRUE}" && test -z "${EFL_BUILD_EXAMPLES_FALSE}"; then
14520 as_fn_error $? "conditional \"EFL_BUILD_EXAMPLES\" was never defined.
14521 Usually this means the macro was only invoked conditionally." "$LINENO" 5
14523 if test -z "${EFL_INSTALL_EXAMPLES_TRUE}" && test -z "${EFL_INSTALL_EXAMPLES_FALSE}"; then
14524 as_fn_error $? "conditional \"EFL_INSTALL_EXAMPLES\" was never defined.
14525 Usually this means the macro was only invoked conditionally." "$LINENO" 5
14528 : "${CONFIG_STATUS=./config.status}"
14530 ac_clean_files_save=$ac_clean_files
14531 ac_clean_files="$ac_clean_files $CONFIG_STATUS"
14532 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5
14533 $as_echo "$as_me: creating $CONFIG_STATUS" >&6;}
14535 cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1
14537 # Generated by $as_me.
14538 # Run this file to recreate the current configuration.
14539 # Compiler output produced by configure, useful for debugging
14540 # configure, is in config.log if it exists.
14543 ac_cs_recheck=false
14546 SHELL=\${CONFIG_SHELL-$SHELL}
14549 cat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail=1
14550 ## -------------------- ##
14551 ## M4sh Initialization. ##
14552 ## -------------------- ##
14554 # Be more Bourne compatible
14555 DUALCASE=1; export DUALCASE # for MKS sh
14556 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :
14559 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
14560 # is contrary to our usage. Disable this feature.
14561 alias -g '${1+"$@"}'='"$@"'
14562 setopt NO_GLOB_SUBST
14564 case `(set -o) 2>/dev/null` in #(
14576 # Printing a long string crashes Solaris 7 /usr/bin/printf.
14577 as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
14578 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
14579 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
14580 # Prefer a ksh shell builtin over an external printf program on Solaris,
14581 # but without wasting forks for bash or zsh.
14582 if test -z "$BASH_VERSION$ZSH_VERSION" \
14583 && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
14584 as_echo='print -r --'
14585 as_echo_n='print -rn --'
14586 elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
14587 as_echo='printf %s\n'
14588 as_echo_n='printf %s'
14590 if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
14591 as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
14592 as_echo_n='/usr/ucb/echo -n'
14594 as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
14595 as_echo_n_body='eval
14599 expr "X$arg" : "X\\(.*\\)$as_nl";
14600 arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
14602 expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
14604 export as_echo_n_body
14605 as_echo_n='sh -c $as_echo_n_body as_echo'
14607 export as_echo_body
14608 as_echo='sh -c $as_echo_body as_echo'
14611 # The user is always right.
14612 if test "${PATH_SEPARATOR+set}" != set; then
14614 (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
14615 (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
14622 # We need space, tab and new line, in precisely that order. Quoting is
14623 # there to prevent editors from complaining about space-tab.
14624 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
14625 # splitting by setting IFS to empty value.)
14628 # Find who we are. Look in the path if we contain no directory separator.
14631 *[\\/]* ) as_myself=$0 ;;
14632 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
14633 for as_dir in $PATH
14636 test -z "$as_dir" && as_dir=.
14637 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
14643 # We did not find ourselves, most probably we were run as `sh COMMAND'
14644 # in which case we are not to be found in the path.
14645 if test "x$as_myself" = x; then
14648 if test ! -f "$as_myself"; then
14649 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
14653 # Unset variables that we do not need and which cause bugs (e.g. in
14654 # pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1"
14655 # suppresses any "Segmentation fault" message there. '((' could
14656 # trigger a bug in pdksh 5.2.14.
14657 for as_var in BASH_ENV ENV MAIL MAILPATH
14658 do eval test x\${$as_var+set} = xset \
14659 && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
14672 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
14675 # as_fn_error STATUS ERROR [LINENO LOG_FD]
14676 # ----------------------------------------
14677 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
14678 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
14679 # script with STATUS, using 1 if that was 0.
14682 as_status=$1; test $as_status -eq 0 && as_status=1
14684 as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
14685 $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
14687 $as_echo "$as_me: error: $2" >&2
14688 as_fn_exit $as_status
14692 # as_fn_set_status STATUS
14693 # -----------------------
14694 # Set $? to STATUS, without forking.
14695 as_fn_set_status ()
14698 } # as_fn_set_status
14700 # as_fn_exit STATUS
14701 # -----------------
14702 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
14706 as_fn_set_status $1
14712 # Portably unset VAR.
14715 { eval $1=; unset $1;}
14717 as_unset=as_fn_unset
14718 # as_fn_append VAR VALUE
14719 # ----------------------
14720 # Append the text in VALUE to the end of the definition contained in VAR. Take
14721 # advantage of any shell optimizations that allow amortized linear growth over
14722 # repeated appends, instead of the typical quadratic growth present in naive
14724 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
14725 eval 'as_fn_append ()
14736 # as_fn_arith ARG...
14737 # ------------------
14738 # Perform arithmetic evaluation on the ARGs, and store the result in the
14739 # global $as_val. Take advantage of shells that can avoid forks. The arguments
14740 # must be portable across $(()) and expr.
14741 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
14742 eval 'as_fn_arith ()
14749 as_val=`expr "$@" || test $? -eq 1`
14754 if expr a : '\(a\)' >/dev/null 2>&1 &&
14755 test "X`expr 00001 : '.*\(...\)'`" = X001; then
14761 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
14762 as_basename=basename
14767 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
14773 as_me=`$as_basename -- "$0" ||
14774 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
14775 X"$0" : 'X\(//\)$' \| \
14776 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
14778 sed '/^.*\/\([^/][^/]*\)\/*$/{
14792 # Avoid depending upon Character Ranges.
14793 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
14794 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
14795 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
14796 as_cr_digits='0123456789'
14797 as_cr_alnum=$as_cr_Letters$as_cr_digits
14799 ECHO_C= ECHO_N= ECHO_T=
14800 case `echo -n x` in #(((((
14802 case `echo 'xy\c'` in
14803 *c*) ECHO_T=' ';; # ECHO_T is single tab character.
14805 *) echo `echo ksh88 bug on AIX 6.1` > /dev/null
14812 rm -f conf$$ conf$$.exe conf$$.file
14813 if test -d conf$$.dir; then
14814 rm -f conf$$.dir/conf$$.file
14817 mkdir conf$$.dir 2>/dev/null
14819 if (echo >conf$$.file) 2>/dev/null; then
14820 if ln -s conf$$.file conf$$ 2>/dev/null; then
14822 # ... but there are two gotchas:
14823 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
14824 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
14825 # In both cases, we have to default to `cp -p'.
14826 ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
14828 elif ln conf$$.file conf$$ 2>/dev/null; then
14836 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
14837 rmdir conf$$.dir 2>/dev/null
14842 # Create "$as_dir" as a directory, including parents if necessary.
14847 -*) as_dir=./$as_dir;;
14849 test -d "$as_dir" || eval $as_mkdir_p || {
14853 *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
14854 *) as_qdir=$as_dir;;
14856 as_dirs="'$as_qdir' $as_dirs"
14857 as_dir=`$as_dirname -- "$as_dir" ||
14858 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
14859 X"$as_dir" : 'X\(//\)[^/]' \| \
14860 X"$as_dir" : 'X\(//\)$' \| \
14861 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
14862 $as_echo X"$as_dir" |
14863 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
14867 /^X\(\/\/\)[^/].*/{
14880 test -d "$as_dir" && break
14882 test -z "$as_dirs" || eval "mkdir $as_dirs"
14883 } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir"
14887 if mkdir -p . 2>/dev/null; then
14888 as_mkdir_p='mkdir -p "$as_dir"'
14890 test -d ./-p && rmdir ./-p
14894 if test -x / >/dev/null 2>&1; then
14895 as_test_x='test -x'
14897 if ls -dL / >/dev/null 2>&1; then
14904 if test -d "$1"; then
14910 case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in #((
14911 ???[sx]*):;;*)false;;esac;fi
14915 as_executable_p=$as_test_x
14917 # Sed expression to map a string onto a valid CPP name.
14918 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
14920 # Sed expression to map a string onto a valid variable name.
14921 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
14925 ## ----------------------------------- ##
14926 ## Main body of $CONFIG_STATUS script. ##
14927 ## ----------------------------------- ##
14929 test $as_write_fail = 0 && chmod +x $CONFIG_STATUS || ac_write_fail=1
14931 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
14932 # Save the log message, to keep $0 and so on meaningful, and to
14933 # report actual input values of CONFIG_FILES etc. instead of their
14934 # values after options handling.
14936 This file was extended by eio $as_me 1.7.2, which was
14937 generated by GNU Autoconf 2.68. Invocation command line was
14939 CONFIG_FILES = $CONFIG_FILES
14940 CONFIG_HEADERS = $CONFIG_HEADERS
14941 CONFIG_LINKS = $CONFIG_LINKS
14942 CONFIG_COMMANDS = $CONFIG_COMMANDS
14945 on `(hostname || uname -n) 2>/dev/null | sed 1q`
14950 case $ac_config_files in *"
14951 "*) set x $ac_config_files; shift; ac_config_files=$*;;
14954 case $ac_config_headers in *"
14955 "*) set x $ac_config_headers; shift; ac_config_headers=$*;;
14959 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
14960 # Files that config.status was made for.
14961 config_files="$ac_config_files"
14962 config_headers="$ac_config_headers"
14963 config_commands="$ac_config_commands"
14967 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
14969 \`$as_me' instantiates files and other configuration actions
14970 from templates according to the current configuration. Unless the files
14971 and actions are specified as TAGs, all are instantiated by default.
14973 Usage: $0 [OPTION]... [TAG]...
14975 -h, --help print this help, then exit
14976 -V, --version print version number and configuration settings, then exit
14977 --config print configuration, then exit
14978 -q, --quiet, --silent
14979 do not print progress messages
14980 -d, --debug don't remove temporary files
14981 --recheck update $as_me by reconfiguring in the same conditions
14982 --file=FILE[:TEMPLATE]
14983 instantiate the configuration file FILE
14984 --header=FILE[:TEMPLATE]
14985 instantiate the configuration header FILE
14987 Configuration files:
14990 Configuration headers:
14993 Configuration commands:
14996 Report bugs to <enlightenment-devel@lists.sourceforge.net>."
14999 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
15000 ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`"
15002 eio config.status 1.7.2
15003 configured by $0, generated by GNU Autoconf 2.68,
15004 with options \\"\$ac_cs_config\\"
15006 Copyright (C) 2010 Free Software Foundation, Inc.
15007 This config.status script is free software; the Free Software Foundation
15008 gives unlimited permission to copy, distribute and modify it."
15015 test -n "\$AWK" || AWK=awk
15018 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
15019 # The default lists apply if the user does not specify any file.
15025 ac_option=`expr "X$1" : 'X\([^=]*\)='`
15026 ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'`
15030 ac_option=`expr "X$1" : 'X\([^=]*\)='`
15042 # Handling of the options.
15043 -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
15045 --version | --versio | --versi | --vers | --ver | --ve | --v | -V )
15046 $as_echo "$ac_cs_version"; exit ;;
15047 --config | --confi | --conf | --con | --co | --c )
15048 $as_echo "$ac_cs_config"; exit ;;
15049 --debug | --debu | --deb | --de | --d | -d )
15051 --file | --fil | --fi | --f )
15054 *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
15055 '') as_fn_error $? "missing file argument" ;;
15057 as_fn_append CONFIG_FILES " '$ac_optarg'"
15058 ac_need_defaults=false;;
15059 --header | --heade | --head | --hea )
15062 *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
15064 as_fn_append CONFIG_HEADERS " '$ac_optarg'"
15065 ac_need_defaults=false;;
15067 # Conflict between --help and --header
15068 as_fn_error $? "ambiguous option: \`$1'
15069 Try \`$0 --help' for more information.";;
15070 --help | --hel | -h )
15071 $as_echo "$ac_cs_usage"; exit ;;
15072 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
15073 | -silent | --silent | --silen | --sile | --sil | --si | --s)
15076 # This is an error.
15077 -*) as_fn_error $? "unrecognized option: \`$1'
15078 Try \`$0 --help' for more information." ;;
15080 *) as_fn_append ac_config_targets " $1"
15081 ac_need_defaults=false ;;
15087 ac_configure_extra_args=
15089 if $ac_cs_silent; then
15091 ac_configure_extra_args="$ac_configure_extra_args --silent"
15095 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
15096 if \$ac_cs_recheck; then
15097 set X '$SHELL' '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
15099 \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6
15100 CONFIG_SHELL='$SHELL'
15101 export CONFIG_SHELL
15106 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
15110 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
15111 ## Running $as_me. ##
15117 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
15121 AMDEP_TRUE="$AMDEP_TRUE" ac_aux_dir="$ac_aux_dir"
15124 # The HP-UX ksh and POSIX shell print the target directory to stdout
15125 # if CDPATH is set.
15126 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
15128 sed_quote_subst='$sed_quote_subst'
15129 double_quote_subst='$double_quote_subst'
15130 delay_variable_subst='$delay_variable_subst'
15131 AS='`$ECHO "$AS" | $SED "$delay_single_quote_subst"`'
15132 DLLTOOL='`$ECHO "$DLLTOOL" | $SED "$delay_single_quote_subst"`'
15133 OBJDUMP='`$ECHO "$OBJDUMP" | $SED "$delay_single_quote_subst"`'
15134 macro_version='`$ECHO "$macro_version" | $SED "$delay_single_quote_subst"`'
15135 macro_revision='`$ECHO "$macro_revision" | $SED "$delay_single_quote_subst"`'
15136 enable_shared='`$ECHO "$enable_shared" | $SED "$delay_single_quote_subst"`'
15137 enable_static='`$ECHO "$enable_static" | $SED "$delay_single_quote_subst"`'
15138 pic_mode='`$ECHO "$pic_mode" | $SED "$delay_single_quote_subst"`'
15139 enable_fast_install='`$ECHO "$enable_fast_install" | $SED "$delay_single_quote_subst"`'
15140 SHELL='`$ECHO "$SHELL" | $SED "$delay_single_quote_subst"`'
15141 ECHO='`$ECHO "$ECHO" | $SED "$delay_single_quote_subst"`'
15142 PATH_SEPARATOR='`$ECHO "$PATH_SEPARATOR" | $SED "$delay_single_quote_subst"`'
15143 host_alias='`$ECHO "$host_alias" | $SED "$delay_single_quote_subst"`'
15144 host='`$ECHO "$host" | $SED "$delay_single_quote_subst"`'
15145 host_os='`$ECHO "$host_os" | $SED "$delay_single_quote_subst"`'
15146 build_alias='`$ECHO "$build_alias" | $SED "$delay_single_quote_subst"`'
15147 build='`$ECHO "$build" | $SED "$delay_single_quote_subst"`'
15148 build_os='`$ECHO "$build_os" | $SED "$delay_single_quote_subst"`'
15149 SED='`$ECHO "$SED" | $SED "$delay_single_quote_subst"`'
15150 Xsed='`$ECHO "$Xsed" | $SED "$delay_single_quote_subst"`'
15151 GREP='`$ECHO "$GREP" | $SED "$delay_single_quote_subst"`'
15152 EGREP='`$ECHO "$EGREP" | $SED "$delay_single_quote_subst"`'
15153 FGREP='`$ECHO "$FGREP" | $SED "$delay_single_quote_subst"`'
15154 LD='`$ECHO "$LD" | $SED "$delay_single_quote_subst"`'
15155 NM='`$ECHO "$NM" | $SED "$delay_single_quote_subst"`'
15156 LN_S='`$ECHO "$LN_S" | $SED "$delay_single_quote_subst"`'
15157 max_cmd_len='`$ECHO "$max_cmd_len" | $SED "$delay_single_quote_subst"`'
15158 ac_objext='`$ECHO "$ac_objext" | $SED "$delay_single_quote_subst"`'
15159 exeext='`$ECHO "$exeext" | $SED "$delay_single_quote_subst"`'
15160 lt_unset='`$ECHO "$lt_unset" | $SED "$delay_single_quote_subst"`'
15161 lt_SP2NL='`$ECHO "$lt_SP2NL" | $SED "$delay_single_quote_subst"`'
15162 lt_NL2SP='`$ECHO "$lt_NL2SP" | $SED "$delay_single_quote_subst"`'
15163 lt_cv_to_host_file_cmd='`$ECHO "$lt_cv_to_host_file_cmd" | $SED "$delay_single_quote_subst"`'
15164 lt_cv_to_tool_file_cmd='`$ECHO "$lt_cv_to_tool_file_cmd" | $SED "$delay_single_quote_subst"`'
15165 reload_flag='`$ECHO "$reload_flag" | $SED "$delay_single_quote_subst"`'
15166 reload_cmds='`$ECHO "$reload_cmds" | $SED "$delay_single_quote_subst"`'
15167 deplibs_check_method='`$ECHO "$deplibs_check_method" | $SED "$delay_single_quote_subst"`'
15168 file_magic_cmd='`$ECHO "$file_magic_cmd" | $SED "$delay_single_quote_subst"`'
15169 file_magic_glob='`$ECHO "$file_magic_glob" | $SED "$delay_single_quote_subst"`'
15170 want_nocaseglob='`$ECHO "$want_nocaseglob" | $SED "$delay_single_quote_subst"`'
15171 sharedlib_from_linklib_cmd='`$ECHO "$sharedlib_from_linklib_cmd" | $SED "$delay_single_quote_subst"`'
15172 AR='`$ECHO "$AR" | $SED "$delay_single_quote_subst"`'
15173 AR_FLAGS='`$ECHO "$AR_FLAGS" | $SED "$delay_single_quote_subst"`'
15174 archiver_list_spec='`$ECHO "$archiver_list_spec" | $SED "$delay_single_quote_subst"`'
15175 STRIP='`$ECHO "$STRIP" | $SED "$delay_single_quote_subst"`'
15176 RANLIB='`$ECHO "$RANLIB" | $SED "$delay_single_quote_subst"`'
15177 old_postinstall_cmds='`$ECHO "$old_postinstall_cmds" | $SED "$delay_single_quote_subst"`'
15178 old_postuninstall_cmds='`$ECHO "$old_postuninstall_cmds" | $SED "$delay_single_quote_subst"`'
15179 old_archive_cmds='`$ECHO "$old_archive_cmds" | $SED "$delay_single_quote_subst"`'
15180 lock_old_archive_extraction='`$ECHO "$lock_old_archive_extraction" | $SED "$delay_single_quote_subst"`'
15181 CC='`$ECHO "$CC" | $SED "$delay_single_quote_subst"`'
15182 CFLAGS='`$ECHO "$CFLAGS" | $SED "$delay_single_quote_subst"`'
15183 compiler='`$ECHO "$compiler" | $SED "$delay_single_quote_subst"`'
15184 GCC='`$ECHO "$GCC" | $SED "$delay_single_quote_subst"`'
15185 lt_cv_sys_global_symbol_pipe='`$ECHO "$lt_cv_sys_global_symbol_pipe" | $SED "$delay_single_quote_subst"`'
15186 lt_cv_sys_global_symbol_to_cdecl='`$ECHO "$lt_cv_sys_global_symbol_to_cdecl" | $SED "$delay_single_quote_subst"`'
15187 lt_cv_sys_global_symbol_to_c_name_address='`$ECHO "$lt_cv_sys_global_symbol_to_c_name_address" | $SED "$delay_single_quote_subst"`'
15188 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"`'
15189 nm_file_list_spec='`$ECHO "$nm_file_list_spec" | $SED "$delay_single_quote_subst"`'
15190 lt_sysroot='`$ECHO "$lt_sysroot" | $SED "$delay_single_quote_subst"`'
15191 objdir='`$ECHO "$objdir" | $SED "$delay_single_quote_subst"`'
15192 MAGIC_CMD='`$ECHO "$MAGIC_CMD" | $SED "$delay_single_quote_subst"`'
15193 lt_prog_compiler_no_builtin_flag='`$ECHO "$lt_prog_compiler_no_builtin_flag" | $SED "$delay_single_quote_subst"`'
15194 lt_prog_compiler_pic='`$ECHO "$lt_prog_compiler_pic" | $SED "$delay_single_quote_subst"`'
15195 lt_prog_compiler_wl='`$ECHO "$lt_prog_compiler_wl" | $SED "$delay_single_quote_subst"`'
15196 lt_prog_compiler_static='`$ECHO "$lt_prog_compiler_static" | $SED "$delay_single_quote_subst"`'
15197 lt_cv_prog_compiler_c_o='`$ECHO "$lt_cv_prog_compiler_c_o" | $SED "$delay_single_quote_subst"`'
15198 need_locks='`$ECHO "$need_locks" | $SED "$delay_single_quote_subst"`'
15199 MANIFEST_TOOL='`$ECHO "$MANIFEST_TOOL" | $SED "$delay_single_quote_subst"`'
15200 DSYMUTIL='`$ECHO "$DSYMUTIL" | $SED "$delay_single_quote_subst"`'
15201 NMEDIT='`$ECHO "$NMEDIT" | $SED "$delay_single_quote_subst"`'
15202 LIPO='`$ECHO "$LIPO" | $SED "$delay_single_quote_subst"`'
15203 OTOOL='`$ECHO "$OTOOL" | $SED "$delay_single_quote_subst"`'
15204 OTOOL64='`$ECHO "$OTOOL64" | $SED "$delay_single_quote_subst"`'
15205 libext='`$ECHO "$libext" | $SED "$delay_single_quote_subst"`'
15206 shrext_cmds='`$ECHO "$shrext_cmds" | $SED "$delay_single_quote_subst"`'
15207 extract_expsyms_cmds='`$ECHO "$extract_expsyms_cmds" | $SED "$delay_single_quote_subst"`'
15208 archive_cmds_need_lc='`$ECHO "$archive_cmds_need_lc" | $SED "$delay_single_quote_subst"`'
15209 enable_shared_with_static_runtimes='`$ECHO "$enable_shared_with_static_runtimes" | $SED "$delay_single_quote_subst"`'
15210 export_dynamic_flag_spec='`$ECHO "$export_dynamic_flag_spec" | $SED "$delay_single_quote_subst"`'
15211 whole_archive_flag_spec='`$ECHO "$whole_archive_flag_spec" | $SED "$delay_single_quote_subst"`'
15212 compiler_needs_object='`$ECHO "$compiler_needs_object" | $SED "$delay_single_quote_subst"`'
15213 old_archive_from_new_cmds='`$ECHO "$old_archive_from_new_cmds" | $SED "$delay_single_quote_subst"`'
15214 old_archive_from_expsyms_cmds='`$ECHO "$old_archive_from_expsyms_cmds" | $SED "$delay_single_quote_subst"`'
15215 archive_cmds='`$ECHO "$archive_cmds" | $SED "$delay_single_quote_subst"`'
15216 archive_expsym_cmds='`$ECHO "$archive_expsym_cmds" | $SED "$delay_single_quote_subst"`'
15217 module_cmds='`$ECHO "$module_cmds" | $SED "$delay_single_quote_subst"`'
15218 module_expsym_cmds='`$ECHO "$module_expsym_cmds" | $SED "$delay_single_quote_subst"`'
15219 with_gnu_ld='`$ECHO "$with_gnu_ld" | $SED "$delay_single_quote_subst"`'
15220 allow_undefined_flag='`$ECHO "$allow_undefined_flag" | $SED "$delay_single_quote_subst"`'
15221 no_undefined_flag='`$ECHO "$no_undefined_flag" | $SED "$delay_single_quote_subst"`'
15222 hardcode_libdir_flag_spec='`$ECHO "$hardcode_libdir_flag_spec" | $SED "$delay_single_quote_subst"`'
15223 hardcode_libdir_separator='`$ECHO "$hardcode_libdir_separator" | $SED "$delay_single_quote_subst"`'
15224 hardcode_direct='`$ECHO "$hardcode_direct" | $SED "$delay_single_quote_subst"`'
15225 hardcode_direct_absolute='`$ECHO "$hardcode_direct_absolute" | $SED "$delay_single_quote_subst"`'
15226 hardcode_minus_L='`$ECHO "$hardcode_minus_L" | $SED "$delay_single_quote_subst"`'
15227 hardcode_shlibpath_var='`$ECHO "$hardcode_shlibpath_var" | $SED "$delay_single_quote_subst"`'
15228 hardcode_automatic='`$ECHO "$hardcode_automatic" | $SED "$delay_single_quote_subst"`'
15229 inherit_rpath='`$ECHO "$inherit_rpath" | $SED "$delay_single_quote_subst"`'
15230 link_all_deplibs='`$ECHO "$link_all_deplibs" | $SED "$delay_single_quote_subst"`'
15231 always_export_symbols='`$ECHO "$always_export_symbols" | $SED "$delay_single_quote_subst"`'
15232 export_symbols_cmds='`$ECHO "$export_symbols_cmds" | $SED "$delay_single_quote_subst"`'
15233 exclude_expsyms='`$ECHO "$exclude_expsyms" | $SED "$delay_single_quote_subst"`'
15234 include_expsyms='`$ECHO "$include_expsyms" | $SED "$delay_single_quote_subst"`'
15235 prelink_cmds='`$ECHO "$prelink_cmds" | $SED "$delay_single_quote_subst"`'
15236 postlink_cmds='`$ECHO "$postlink_cmds" | $SED "$delay_single_quote_subst"`'
15237 file_list_spec='`$ECHO "$file_list_spec" | $SED "$delay_single_quote_subst"`'
15238 variables_saved_for_relink='`$ECHO "$variables_saved_for_relink" | $SED "$delay_single_quote_subst"`'
15239 need_lib_prefix='`$ECHO "$need_lib_prefix" | $SED "$delay_single_quote_subst"`'
15240 need_version='`$ECHO "$need_version" | $SED "$delay_single_quote_subst"`'
15241 version_type='`$ECHO "$version_type" | $SED "$delay_single_quote_subst"`'
15242 runpath_var='`$ECHO "$runpath_var" | $SED "$delay_single_quote_subst"`'
15243 shlibpath_var='`$ECHO "$shlibpath_var" | $SED "$delay_single_quote_subst"`'
15244 shlibpath_overrides_runpath='`$ECHO "$shlibpath_overrides_runpath" | $SED "$delay_single_quote_subst"`'
15245 libname_spec='`$ECHO "$libname_spec" | $SED "$delay_single_quote_subst"`'
15246 library_names_spec='`$ECHO "$library_names_spec" | $SED "$delay_single_quote_subst"`'
15247 soname_spec='`$ECHO "$soname_spec" | $SED "$delay_single_quote_subst"`'
15248 install_override_mode='`$ECHO "$install_override_mode" | $SED "$delay_single_quote_subst"`'
15249 postinstall_cmds='`$ECHO "$postinstall_cmds" | $SED "$delay_single_quote_subst"`'
15250 postuninstall_cmds='`$ECHO "$postuninstall_cmds" | $SED "$delay_single_quote_subst"`'
15251 finish_cmds='`$ECHO "$finish_cmds" | $SED "$delay_single_quote_subst"`'
15252 finish_eval='`$ECHO "$finish_eval" | $SED "$delay_single_quote_subst"`'
15253 hardcode_into_libs='`$ECHO "$hardcode_into_libs" | $SED "$delay_single_quote_subst"`'
15254 sys_lib_search_path_spec='`$ECHO "$sys_lib_search_path_spec" | $SED "$delay_single_quote_subst"`'
15255 sys_lib_dlsearch_path_spec='`$ECHO "$sys_lib_dlsearch_path_spec" | $SED "$delay_single_quote_subst"`'
15256 hardcode_action='`$ECHO "$hardcode_action" | $SED "$delay_single_quote_subst"`'
15257 enable_dlopen='`$ECHO "$enable_dlopen" | $SED "$delay_single_quote_subst"`'
15258 enable_dlopen_self='`$ECHO "$enable_dlopen_self" | $SED "$delay_single_quote_subst"`'
15259 enable_dlopen_self_static='`$ECHO "$enable_dlopen_self_static" | $SED "$delay_single_quote_subst"`'
15260 old_striplib='`$ECHO "$old_striplib" | $SED "$delay_single_quote_subst"`'
15261 striplib='`$ECHO "$striplib" | $SED "$delay_single_quote_subst"`'
15264 LTCFLAGS='$LTCFLAGS'
15265 compiler='$compiler_DEFAULT'
15267 # A function that is used when there is no print builtin or printf.
15268 func_fallback_echo ()
15270 eval 'cat <<_LTECHO_EOF
15275 # Quote evaled strings.
15292 deplibs_check_method \
15296 sharedlib_from_linklib_cmd \
15299 archiver_list_spec \
15305 lt_cv_sys_global_symbol_pipe \
15306 lt_cv_sys_global_symbol_to_cdecl \
15307 lt_cv_sys_global_symbol_to_c_name_address \
15308 lt_cv_sys_global_symbol_to_c_name_address_lib_prefix \
15309 nm_file_list_spec \
15310 lt_prog_compiler_no_builtin_flag \
15311 lt_prog_compiler_pic \
15312 lt_prog_compiler_wl \
15313 lt_prog_compiler_static \
15314 lt_cv_prog_compiler_c_o \
15323 export_dynamic_flag_spec \
15324 whole_archive_flag_spec \
15325 compiler_needs_object \
15327 allow_undefined_flag \
15328 no_undefined_flag \
15329 hardcode_libdir_flag_spec \
15330 hardcode_libdir_separator \
15334 variables_saved_for_relink \
15336 library_names_spec \
15338 install_override_mode \
15342 case \`eval \\\\\$ECHO \\\\""\\\\\$\$var"\\\\"\` in
15343 *[\\\\\\\`\\"\\\$]*)
15344 eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"\\\$\$var\\" | \\\$SED \\"\\\$sed_quote_subst\\"\\\`\\\\\\""
15347 eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
15352 # Double-quote double-evaled strings.
15353 for var in reload_cmds \
15354 old_postinstall_cmds \
15355 old_postuninstall_cmds \
15357 extract_expsyms_cmds \
15358 old_archive_from_new_cmds \
15359 old_archive_from_expsyms_cmds \
15361 archive_expsym_cmds \
15363 module_expsym_cmds \
15364 export_symbols_cmds \
15368 postuninstall_cmds \
15370 sys_lib_search_path_spec \
15371 sys_lib_dlsearch_path_spec; do
15372 case \`eval \\\\\$ECHO \\\\""\\\\\$\$var"\\\\"\` in
15373 *[\\\\\\\`\\"\\\$]*)
15374 eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"\\\$\$var\\" | \\\$SED -e \\"\\\$double_quote_subst\\" -e \\"\\\$sed_quote_subst\\" -e \\"\\\$delay_variable_subst\\"\\\`\\\\\\""
15377 eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
15382 ac_aux_dir='$ac_aux_dir'
15383 xsi_shell='$xsi_shell'
15384 lt_shell_append='$lt_shell_append'
15386 # See if we are running on zsh, and set the options which allow our
15387 # commands through without removal of \ escapes INIT.
15388 if test -n "\${ZSH_VERSION+set}" ; then
15389 setopt NO_GLOB_SUBST
15395 TIMESTAMP='$TIMESTAMP'
15404 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
15406 # Handling of arguments.
15407 for ac_config_target in $ac_config_targets
15409 case $ac_config_target in
15410 "config.h") CONFIG_HEADERS="$CONFIG_HEADERS config.h" ;;
15411 "depfiles") CONFIG_COMMANDS="$CONFIG_COMMANDS depfiles" ;;
15412 "libtool") CONFIG_COMMANDS="$CONFIG_COMMANDS libtool" ;;
15413 "eio.pc") CONFIG_FILES="$CONFIG_FILES eio.pc" ;;
15414 "eio.spec") CONFIG_FILES="$CONFIG_FILES eio.spec" ;;
15415 "Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;;
15416 "doc/Makefile") CONFIG_FILES="$CONFIG_FILES doc/Makefile" ;;
15417 "doc/eio.dox") CONFIG_FILES="$CONFIG_FILES doc/eio.dox" ;;
15418 "doc/Doxyfile") CONFIG_FILES="$CONFIG_FILES doc/Doxyfile" ;;
15419 "src/Makefile") CONFIG_FILES="$CONFIG_FILES src/Makefile" ;;
15420 "src/lib/Makefile") CONFIG_FILES="$CONFIG_FILES src/lib/Makefile" ;;
15421 "src/examples/Makefile") CONFIG_FILES="$CONFIG_FILES src/examples/Makefile" ;;
15423 *) as_fn_error $? "invalid argument: \`$ac_config_target'" "$LINENO" 5;;
15428 # If the user did not use the arguments to specify the items to instantiate,
15429 # then the envvar interface is used. Set only those that are not.
15430 # We use the long form for the default assignment because of an extremely
15431 # bizarre bug on SunOS 4.1.3.
15432 if $ac_need_defaults; then
15433 test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
15434 test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS=$config_headers
15435 test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS=$config_commands
15438 # Have a temporary directory for convenience. Make it in the build tree
15439 # simply because there is no reason against having it here, and in addition,
15440 # creating and moving files from /tmp can sometimes cause problems.
15441 # Hook for its removal unless debugging.
15442 # Note that there is a small window in which the directory will not be cleaned:
15443 # after its creation but before its name has been assigned to `$tmp'.
15447 trap 'exit_status=$?
15448 : "${ac_tmp:=$tmp}"
15449 { test ! -d "$ac_tmp" || rm -fr "$ac_tmp"; } && exit $exit_status
15451 trap 'as_fn_exit 1' 1 2 13 15
15453 # Create a (secure) tmp directory for tmp files.
15456 tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
15460 tmp=./conf$$-$RANDOM
15461 (umask 077 && mkdir "$tmp")
15462 } || as_fn_error $? "cannot create a temporary directory in ." "$LINENO" 5
15465 # Set up the scripts for CONFIG_FILES section.
15466 # No need to generate them if there are no CONFIG_FILES.
15467 # This happens for instance with `./config.status config.h'.
15468 if test -n "$CONFIG_FILES"; then
15471 ac_cr=`echo X | tr X '\015'`
15472 # On cygwin, bash can eat \r inside `` if the user requested igncr.
15473 # But we know of no other shell where ac_cr would be empty at this
15474 # point, so we can use a bashism as a fallback.
15475 if test "x$ac_cr" = x; then
15476 eval ac_cr=\$\'\\r\'
15478 ac_cs_awk_cr=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
15479 if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
15482 ac_cs_awk_cr=$ac_cr
15485 echo 'BEGIN {' >"$ac_tmp/subs1.awk" &&
15490 echo "cat >conf$$subs.awk <<_ACEOF" &&
15491 echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
15493 } >conf$$subs.sh ||
15494 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
15495 ac_delim_num=`echo "$ac_subst_vars" | grep -c '^'`
15497 for ac_last_try in false false false false false :; do
15498 . ./conf$$subs.sh ||
15499 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
15501 ac_delim_n=`sed -n "s/.*$ac_delim\$/X/p" conf$$subs.awk | grep -c X`
15502 if test $ac_delim_n = $ac_delim_num; then
15504 elif $ac_last_try; then
15505 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
15507 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
15510 rm -f conf$$subs.sh
15512 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
15513 cat >>"\$ac_tmp/subs1.awk" <<\\_ACAWK &&
15517 s/^/S["/; s/!.*/"]=/
15527 s/\(.\{148\}\)..*/\1/
15529 s/["\\]/\\&/g; s/^/"/; s/$/\\n"\\/
15534 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
15541 s/\(.\{148\}\)..*/\1/
15543 s/["\\]/\\&/g; s/^/"/; s/$/"/
15547 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
15552 ' <conf$$subs.awk | sed '
15557 ' >>$CONFIG_STATUS || ac_write_fail=1
15558 rm -f conf$$subs.awk
15559 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
15561 cat >>"\$ac_tmp/subs1.awk" <<_ACAWK &&
15562 for (key in S) S_is_set[key] = 1
15568 nfields = split(line, field, "@")
15570 len = length(field[1])
15571 for (i = 2; i < nfields; i++) {
15573 keylen = length(key)
15574 if (S_is_set[key]) {
15576 line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3)
15577 len += length(value) + length(field[++i])
15588 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
15589 if sed "s/$ac_cr//" < /dev/null > /dev/null 2>&1; then
15590 sed "s/$ac_cr\$//; s/$ac_cr/$ac_cs_awk_cr/g"
15593 fi < "$ac_tmp/subs1.awk" > "$ac_tmp/subs.awk" \
15594 || as_fn_error $? "could not setup config files machinery" "$LINENO" 5
15597 # VPATH may cause trouble with some makes, so we remove sole $(srcdir),
15598 # ${srcdir} and @srcdir@ entries from VPATH if srcdir is ".", strip leading and
15599 # trailing colons and then remove the whole line if VPATH becomes empty
15600 # (actually we leave an empty line to preserve line numbers).
15601 if test "x$srcdir" = x.; then
15602 ac_vpsub='/^[ ]*VPATH[ ]*=[ ]*/{
15620 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
15621 fi # test -n "$CONFIG_FILES"
15623 # Set up the scripts for CONFIG_HEADERS section.
15624 # No need to generate them if there are no CONFIG_HEADERS.
15625 # This happens for instance with `./config.status Makefile'.
15626 if test -n "$CONFIG_HEADERS"; then
15627 cat >"$ac_tmp/defines.awk" <<\_ACAWK ||
15631 # Transform confdefs.h into an awk script `defines.awk', embedded as
15632 # here-document in config.status, that substitutes the proper values into
15633 # config.h.in to produce config.h.
15635 # Create a delimiter string that does not exist in confdefs.h, to ease
15636 # handling of long lines.
15638 for ac_last_try in false false :; do
15639 ac_tt=`sed -n "/$ac_delim/p" confdefs.h`
15640 if test -z "$ac_tt"; then
15642 elif $ac_last_try; then
15643 as_fn_error $? "could not make $CONFIG_HEADERS" "$LINENO" 5
15645 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
15649 # For the awk script, D is an array of macro values keyed by name,
15650 # likewise P contains macro parameters if any. Preserve backslash
15651 # newline sequences.
15653 ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]*
15655 s/.\{148\}/&'"$ac_delim"'/g
15658 s/^[ ]*#[ ]*define[ ][ ]*/ /
15665 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\1"]="\2"\
15667 s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\1"]=" \2"/p
15671 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\1"]="\2"\
15672 D["\1"]=" \3\\\\\\n"\\/p
15674 s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\1"]=" \2\\\\\\n"\\/p
15679 s/.\{148\}/&'"$ac_delim"'/g
15684 s/["\\]/\\&/g; s/^/"/; s/$/"/p
15687 s/["\\]/\\&/g; s/^/"/; s/$/\\\\\\n"\\/p
15689 ' <confdefs.h | sed '
15690 s/'"$ac_delim"'/"\\\
15691 "/g' >>$CONFIG_STATUS || ac_write_fail=1
15693 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
15694 for (key in D) D_is_set[key] = 1
15697 /^[\t ]*#[\t ]*(define|undef)[\t ]+$ac_word_re([\t (]|\$)/ {
15699 split(line, arg, " ")
15700 if (arg[1] == "#") {
15704 defundef = substr(arg[1], 2)
15707 split(mac1, mac2, "(") #)
15709 prefix = substr(line, 1, index(line, defundef) - 1)
15710 if (D_is_set[macro]) {
15711 # Preserve the white space surrounding the "#".
15712 print prefix "define", macro P[macro] D[macro]
15715 # Replace #undef with comments. This is necessary, for example,
15716 # in the case of _POSIX_SOURCE, which is predefined and required
15717 # on some systems where configure will not decide to define it.
15718 if (defundef == "undef") {
15719 print "/*", prefix defundef, macro, "*/"
15727 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
15728 as_fn_error $? "could not setup config headers machinery" "$LINENO" 5
15729 fi # test -n "$CONFIG_HEADERS"
15732 eval set X " :F $CONFIG_FILES :H $CONFIG_HEADERS :C $CONFIG_COMMANDS"
15737 :[FHLC]) ac_mode=$ac_tag; continue;;
15739 case $ac_mode$ac_tag in
15741 :L* | :C*:*) as_fn_error $? "invalid tag \`$ac_tag'" "$LINENO" 5;;
15742 :[FH]-) ac_tag=-:-;;
15743 :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
15760 -) ac_f="$ac_tmp/stdin";;
15761 *) # Look for the file first in the build tree, then in the source tree
15762 # (if the path is not absolute). The absolute path cannot be DOS-style,
15763 # because $ac_f cannot contain `:'.
15767 *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
15769 as_fn_error 1 "cannot find input file: \`$ac_f'" "$LINENO" 5;;
15771 case $ac_f in *\'*) ac_f=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
15772 as_fn_append ac_file_inputs " '$ac_f'"
15775 # Let's still pretend it is `configure' which instantiates (i.e., don't
15776 # use $as_me), people would be surprised to read:
15777 # /* config.h. Generated by config.status. */
15778 configure_input='Generated from '`
15779 $as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
15781 if test x"$ac_file" != x-; then
15782 configure_input="$ac_file. $configure_input"
15783 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5
15784 $as_echo "$as_me: creating $ac_file" >&6;}
15786 # Neutralize special characters interpreted by sed in replacement strings.
15787 case $configure_input in #(
15788 *\&* | *\|* | *\\* )
15789 ac_sed_conf_input=`$as_echo "$configure_input" |
15790 sed 's/[\\\\&|]/\\\\&/g'`;; #(
15791 *) ac_sed_conf_input=$configure_input;;
15795 *:-:* | *:-) cat >"$ac_tmp/stdin" \
15796 || as_fn_error $? "could not create $ac_file" "$LINENO" 5 ;;
15801 ac_dir=`$as_dirname -- "$ac_file" ||
15802 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
15803 X"$ac_file" : 'X\(//\)[^/]' \| \
15804 X"$ac_file" : 'X\(//\)$' \| \
15805 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
15806 $as_echo X"$ac_file" |
15807 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
15811 /^X\(\/\/\)[^/].*/{
15824 as_dir="$ac_dir"; as_fn_mkdir_p
15828 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
15830 ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
15831 # A ".." for each directory in $ac_dir_suffix.
15832 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
15833 case $ac_top_builddir_sub in
15834 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
15835 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
15838 ac_abs_top_builddir=$ac_pwd
15839 ac_abs_builddir=$ac_pwd$ac_dir_suffix
15840 # for backward compatibility:
15841 ac_top_builddir=$ac_top_build_prefix
15844 .) # We are building in place.
15846 ac_top_srcdir=$ac_top_builddir_sub
15847 ac_abs_top_srcdir=$ac_pwd ;;
15848 [\\/]* | ?:[\\/]* ) # Absolute name.
15849 ac_srcdir=$srcdir$ac_dir_suffix;
15850 ac_top_srcdir=$srcdir
15851 ac_abs_top_srcdir=$srcdir ;;
15852 *) # Relative name.
15853 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
15854 ac_top_srcdir=$ac_top_build_prefix$srcdir
15855 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
15857 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
15867 [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
15868 *) ac_INSTALL=$ac_top_build_prefix$INSTALL ;;
15870 ac_MKDIR_P=$MKDIR_P
15872 [\\/$]* | ?:[\\/]* ) ;;
15873 */*) ac_MKDIR_P=$ac_top_build_prefix$MKDIR_P ;;
15877 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
15878 # If the template does not know about datarootdir, expand it.
15879 # FIXME: This hack should be removed a few years after 2.60.
15880 ac_datarootdir_hack=; ac_datarootdir_seen=
15891 case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in
15892 *datarootdir*) ac_datarootdir_seen=yes;;
15893 *@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*)
15894 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
15895 $as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
15897 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
15898 ac_datarootdir_hack='
15899 s&@datadir@&$datadir&g
15900 s&@docdir@&$docdir&g
15901 s&@infodir@&$infodir&g
15902 s&@localedir@&$localedir&g
15903 s&@mandir@&$mandir&g
15904 s&\\\${datarootdir}&$datarootdir&g' ;;
15908 # Neutralize VPATH when `$srcdir' = `.'.
15909 # Shell code in configure.ac might set extrasub.
15910 # FIXME: do we really want to maintain this feature?
15911 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
15912 ac_sed_extra="$ac_vpsub
15915 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
15917 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
15918 s|@configure_input@|$ac_sed_conf_input|;t t
15919 s&@top_builddir@&$ac_top_builddir_sub&;t t
15920 s&@top_build_prefix@&$ac_top_build_prefix&;t t
15921 s&@srcdir@&$ac_srcdir&;t t
15922 s&@abs_srcdir@&$ac_abs_srcdir&;t t
15923 s&@top_srcdir@&$ac_top_srcdir&;t t
15924 s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t
15925 s&@builddir@&$ac_builddir&;t t
15926 s&@abs_builddir@&$ac_abs_builddir&;t t
15927 s&@abs_top_builddir@&$ac_abs_top_builddir&;t t
15928 s&@INSTALL@&$ac_INSTALL&;t t
15929 s&@MKDIR_P@&$ac_MKDIR_P&;t t
15930 $ac_datarootdir_hack
15932 eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$ac_tmp/subs.awk" \
15933 >$ac_tmp/out || as_fn_error $? "could not create $ac_file" "$LINENO" 5
15935 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
15936 { ac_out=`sed -n '/\${datarootdir}/p' "$ac_tmp/out"`; test -n "$ac_out"; } &&
15937 { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' \
15938 "$ac_tmp/out"`; test -z "$ac_out"; } &&
15939 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file contains a reference to the variable \`datarootdir'
15940 which seems to be undefined. Please make sure it is defined" >&5
15941 $as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir'
15942 which seems to be undefined. Please make sure it is defined" >&2;}
15944 rm -f "$ac_tmp/stdin"
15946 -) cat "$ac_tmp/out" && rm -f "$ac_tmp/out";;
15947 *) rm -f "$ac_file" && mv "$ac_tmp/out" "$ac_file";;
15949 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
15955 if test x"$ac_file" != x-; then
15957 $as_echo "/* $configure_input */" \
15958 && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs"
15959 } >"$ac_tmp/config.h" \
15960 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
15961 if diff "$ac_file" "$ac_tmp/config.h" >/dev/null 2>&1; then
15962 { $as_echo "$as_me:${as_lineno-$LINENO}: $ac_file is unchanged" >&5
15963 $as_echo "$as_me: $ac_file is unchanged" >&6;}
15966 mv "$ac_tmp/config.h" "$ac_file" \
15967 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
15970 $as_echo "/* $configure_input */" \
15971 && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs" \
15972 || as_fn_error $? "could not create -" "$LINENO" 5
15974 # Compute "$ac_file"'s index in $config_headers.
15977 for _am_header in $config_headers :; do
15978 case $_am_header in
15979 $_am_arg | $_am_arg:* )
15982 _am_stamp_count=`expr $_am_stamp_count + 1` ;;
15985 echo "timestamp for $_am_arg" >`$as_dirname -- "$_am_arg" ||
15986 $as_expr X"$_am_arg" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
15987 X"$_am_arg" : 'X\(//\)[^/]' \| \
15988 X"$_am_arg" : 'X\(//\)$' \| \
15989 X"$_am_arg" : 'X\(/\)' \| . 2>/dev/null ||
15990 $as_echo X"$_am_arg" |
15991 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
15995 /^X\(\/\/\)[^/].*/{
16007 s/.*/./; q'`/stamp-h$_am_stamp_count
16010 :C) { $as_echo "$as_me:${as_lineno-$LINENO}: executing $ac_file commands" >&5
16011 $as_echo "$as_me: executing $ac_file commands" >&6;}
16016 case $ac_file$ac_mode in
16017 "depfiles":C) test x"$AMDEP_TRUE" != x"" || {
16018 # Autoconf 2.62 quotes --file arguments for eval, but not when files
16019 # are listed without --file. Let's play safe and only enable the eval
16020 # if we detect the quoting.
16021 case $CONFIG_FILES in
16022 *\'*) eval set x "$CONFIG_FILES" ;;
16023 *) set x $CONFIG_FILES ;;
16028 # Strip MF so we end up with the name of the file.
16029 mf=`echo "$mf" | sed -e 's/:.*$//'`
16030 # Check whether this is an Automake generated Makefile or not.
16031 # We used to match only the files named `Makefile.in', but
16032 # some people rename them; so instead we look at the file content.
16033 # Grep'ing the first line is not enough: some people post-process
16034 # each Makefile.in and add a new line on top of each file to say so.
16035 # Grep'ing the whole file is not good either: AIX grep has a line
16036 # limit of 2048, but all sed's we know have understand at least 4000.
16037 if sed -n 's,^#.*generated by automake.*,X,p' "$mf" | grep X >/dev/null 2>&1; then
16038 dirpart=`$as_dirname -- "$mf" ||
16039 $as_expr X"$mf" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
16040 X"$mf" : 'X\(//\)[^/]' \| \
16041 X"$mf" : 'X\(//\)$' \| \
16042 X"$mf" : 'X\(/\)' \| . 2>/dev/null ||
16044 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
16048 /^X\(\/\/\)[^/].*/{
16064 # Extract the definition of DEPDIR, am__include, and am__quote
16065 # from the Makefile without running `make'.
16066 DEPDIR=`sed -n 's/^DEPDIR = //p' < "$mf"`
16067 test -z "$DEPDIR" && continue
16068 am__include=`sed -n 's/^am__include = //p' < "$mf"`
16069 test -z "am__include" && continue
16070 am__quote=`sed -n 's/^am__quote = //p' < "$mf"`
16071 # When using ansi2knr, U may be empty or an underscore; expand it
16072 U=`sed -n 's/^U = //p' < "$mf"`
16073 # Find all dependency output files, they are included files with
16074 # $(DEPDIR) in their names. We invoke sed twice because it is the
16075 # simplest approach to changing $(DEPDIR) to its actual value in the
16077 for file in `sed -n "
16078 s/^$am__include $am__quote\(.*(DEPDIR).*\)$am__quote"'$/\1/p' <"$mf" | \
16079 sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g' -e 's/\$U/'"$U"'/g'`; do
16080 # Make sure the directory exists.
16081 test -f "$dirpart/$file" && continue
16082 fdir=`$as_dirname -- "$file" ||
16083 $as_expr X"$file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
16084 X"$file" : 'X\(//\)[^/]' \| \
16085 X"$file" : 'X\(//\)$' \| \
16086 X"$file" : 'X\(/\)' \| . 2>/dev/null ||
16087 $as_echo X"$file" |
16088 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
16092 /^X\(\/\/\)[^/].*/{
16105 as_dir=$dirpart/$fdir; as_fn_mkdir_p
16106 # echo "creating $dirpart/$file"
16107 echo '# dummy' > "$dirpart/$file"
16114 # See if we are running on zsh, and set the options which allow our
16115 # commands through without removal of \ escapes.
16116 if test -n "${ZSH_VERSION+set}" ; then
16117 setopt NO_GLOB_SUBST
16120 cfgfile="${ofile}T"
16121 trap "$RM \"$cfgfile\"; exit 1" 1 2 15
16124 cat <<_LT_EOF >> "$cfgfile"
16127 # `$ECHO "$ofile" | sed 's%^.*/%%'` - Provide generalized library-building support services.
16128 # Generated automatically by $as_me ($PACKAGE$TIMESTAMP) $VERSION
16129 # Libtool was configured on host `(hostname || uname -n) 2>/dev/null | sed 1q`:
16130 # NOTE: Changes made to this file will be lost: look at ltmain.sh.
16132 # Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2003, 2004, 2005,
16133 # 2006, 2007, 2008, 2009, 2010, 2011 Free Software
16135 # Written by Gordon Matzigkeit, 1996
16137 # This file is part of GNU Libtool.
16139 # GNU Libtool is free software; you can redistribute it and/or
16140 # modify it under the terms of the GNU General Public License as
16141 # published by the Free Software Foundation; either version 2 of
16142 # the License, or (at your option) any later version.
16144 # As a special exception to the GNU General Public License,
16145 # if you distribute this file as part of a program or library that
16146 # is built using GNU Libtool, you may include this file under the
16147 # same distribution terms that you use for the rest of that program.
16149 # GNU Libtool is distributed in the hope that it will be useful,
16150 # but WITHOUT ANY WARRANTY; without even the implied warranty of
16151 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
16152 # GNU General Public License for more details.
16154 # You should have received a copy of the GNU General Public License
16155 # along with GNU Libtool; see the file COPYING. If not, a copy
16156 # can be downloaded from http://www.gnu.org/licenses/gpl.html, or
16157 # obtained by writing to the Free Software Foundation, Inc.,
16158 # 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
16161 # The names of the tagged configurations supported by this script.
16164 # ### BEGIN LIBTOOL CONFIG
16166 # Assembler program.
16169 # DLL creation program.
16170 DLLTOOL=$lt_DLLTOOL
16172 # Object dumper program.
16173 OBJDUMP=$lt_OBJDUMP
16175 # Which release of libtool.m4 was used?
16176 macro_version=$macro_version
16177 macro_revision=$macro_revision
16179 # Whether or not to build shared libraries.
16180 build_libtool_libs=$enable_shared
16182 # Whether or not to build static libraries.
16183 build_old_libs=$enable_static
16185 # What type of objects to build.
16188 # Whether or not to optimize for fast installation.
16189 fast_install=$enable_fast_install
16191 # Shell to use when invoking shell scripts.
16194 # An echo program that protects backslashes.
16197 # The PATH separator for the build system.
16198 PATH_SEPARATOR=$lt_PATH_SEPARATOR
16201 host_alias=$host_alias
16205 # The build system.
16206 build_alias=$build_alias
16210 # A sed program that does not truncate output.
16213 # Sed that helps us avoid accidentally triggering echo(1) options like -n.
16214 Xsed="\$SED -e 1s/^X//"
16216 # A grep program that handles long lines.
16222 # A literal string matcher.
16225 # A BSD- or MS-compatible name lister.
16228 # Whether we need soft or hard links.
16231 # What is the maximum length of a command?
16232 max_cmd_len=$max_cmd_len
16234 # Object file suffix (normally "o").
16237 # Executable file suffix (normally "").
16240 # whether the shell understands "unset".
16243 # turn spaces into newlines.
16246 # turn newlines into spaces.
16249 # convert \$build file names to \$host format.
16250 to_host_file_cmd=$lt_cv_to_host_file_cmd
16252 # convert \$build files to toolchain format.
16253 to_tool_file_cmd=$lt_cv_to_tool_file_cmd
16255 # Method to check whether dependent libraries are shared objects.
16256 deplibs_check_method=$lt_deplibs_check_method
16258 # Command to use when deplibs_check_method = "file_magic".
16259 file_magic_cmd=$lt_file_magic_cmd
16261 # How to find potential files when deplibs_check_method = "file_magic".
16262 file_magic_glob=$lt_file_magic_glob
16264 # Find potential files using nocaseglob when deplibs_check_method = "file_magic".
16265 want_nocaseglob=$lt_want_nocaseglob
16267 # Command to associate shared and link libraries.
16268 sharedlib_from_linklib_cmd=$lt_sharedlib_from_linklib_cmd
16273 # Flags to create an archive.
16274 AR_FLAGS=$lt_AR_FLAGS
16276 # How to feed a file listing to the archiver.
16277 archiver_list_spec=$lt_archiver_list_spec
16279 # A symbol stripping program.
16282 # Commands used to install an old-style archive.
16284 old_postinstall_cmds=$lt_old_postinstall_cmds
16285 old_postuninstall_cmds=$lt_old_postuninstall_cmds
16287 # Whether to use a lock for old archive extraction.
16288 lock_old_archive_extraction=$lock_old_archive_extraction
16293 # LTCC compiler flags.
16294 LTCFLAGS=$lt_CFLAGS
16296 # Take the output of nm and produce a listing of raw symbols and C names.
16297 global_symbol_pipe=$lt_lt_cv_sys_global_symbol_pipe
16299 # Transform the output of nm in a proper C declaration.
16300 global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl
16302 # Transform the output of nm in a C name address pair.
16303 global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address
16305 # Transform the output of nm in a C name address pair when lib prefix is needed.
16306 global_symbol_to_c_name_address_lib_prefix=$lt_lt_cv_sys_global_symbol_to_c_name_address_lib_prefix
16308 # Specify filename containing input files for \$NM.
16309 nm_file_list_spec=$lt_nm_file_list_spec
16311 # The root where to search for dependent libraries,and in which our libraries should be installed.
16312 lt_sysroot=$lt_sysroot
16314 # The name of the directory that contains temporary libtool files.
16317 # Used to examine libraries when file_magic_cmd begins with "file".
16318 MAGIC_CMD=$MAGIC_CMD
16320 # Must we lock files when doing compilation?
16321 need_locks=$lt_need_locks
16324 MANIFEST_TOOL=$lt_MANIFEST_TOOL
16326 # Tool to manipulate archived DWARF debug symbol files on Mac OS X.
16327 DSYMUTIL=$lt_DSYMUTIL
16329 # Tool to change global to local symbols on Mac OS X.
16332 # Tool to manipulate fat objects and archives on Mac OS X.
16335 # ldd/readelf like tool for Mach-O binaries on Mac OS X.
16338 # ldd/readelf like tool for 64 bit Mach-O binaries on Mac OS X 10.4.
16339 OTOOL64=$lt_OTOOL64
16341 # Old archive suffix (normally "a").
16344 # Shared library suffix (normally ".so").
16345 shrext_cmds=$lt_shrext_cmds
16347 # The commands to extract the exported symbol list from a shared archive.
16348 extract_expsyms_cmds=$lt_extract_expsyms_cmds
16350 # Variables whose values should be saved in libtool wrapper scripts and
16351 # restored at link time.
16352 variables_saved_for_relink=$lt_variables_saved_for_relink
16354 # Do we need the "lib" prefix for modules?
16355 need_lib_prefix=$need_lib_prefix
16357 # Do we need a version for libraries?
16358 need_version=$need_version
16360 # Library versioning type.
16361 version_type=$version_type
16363 # Shared library runtime path variable.
16364 runpath_var=$runpath_var
16366 # Shared library path variable.
16367 shlibpath_var=$shlibpath_var
16369 # Is shlibpath searched before the hard-coded library search path?
16370 shlibpath_overrides_runpath=$shlibpath_overrides_runpath
16372 # Format of library name prefix.
16373 libname_spec=$lt_libname_spec
16375 # List of archive names. First name is the real one, the rest are links.
16376 # The last name is the one that the linker finds with -lNAME
16377 library_names_spec=$lt_library_names_spec
16379 # The coded name of the library, if different from the real name.
16380 soname_spec=$lt_soname_spec
16382 # Permission mode override for installation of shared libraries.
16383 install_override_mode=$lt_install_override_mode
16385 # Command to use after installation of a shared archive.
16386 postinstall_cmds=$lt_postinstall_cmds
16388 # Command to use after uninstallation of a shared archive.
16389 postuninstall_cmds=$lt_postuninstall_cmds
16391 # Commands used to finish a libtool library installation in a directory.
16392 finish_cmds=$lt_finish_cmds
16394 # As "finish_cmds", except a single script fragment to be evaled but
16396 finish_eval=$lt_finish_eval
16398 # Whether we should hardcode library paths into libraries.
16399 hardcode_into_libs=$hardcode_into_libs
16401 # Compile-time system search path for libraries.
16402 sys_lib_search_path_spec=$lt_sys_lib_search_path_spec
16404 # Run-time system search path for libraries.
16405 sys_lib_dlsearch_path_spec=$lt_sys_lib_dlsearch_path_spec
16407 # Whether dlopen is supported.
16408 dlopen_support=$enable_dlopen
16410 # Whether dlopen of programs is supported.
16411 dlopen_self=$enable_dlopen_self
16413 # Whether dlopen of statically linked programs is supported.
16414 dlopen_self_static=$enable_dlopen_self_static
16416 # Commands to strip libraries.
16417 old_striplib=$lt_old_striplib
16418 striplib=$lt_striplib
16421 # The linker used to build libraries.
16424 # How to create reloadable object files.
16425 reload_flag=$lt_reload_flag
16426 reload_cmds=$lt_reload_cmds
16428 # Commands used to build an old-style archive.
16429 old_archive_cmds=$lt_old_archive_cmds
16431 # A language specific compiler.
16434 # Is the compiler the GNU compiler?
16437 # Compiler flag to turn off builtin functions.
16438 no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag
16440 # Additional compiler flags for building library objects.
16441 pic_flag=$lt_lt_prog_compiler_pic
16443 # How to pass a linker flag through the compiler.
16444 wl=$lt_lt_prog_compiler_wl
16446 # Compiler flag to prevent dynamic linking.
16447 link_static_flag=$lt_lt_prog_compiler_static
16449 # Does compiler simultaneously support -c and -o options?
16450 compiler_c_o=$lt_lt_cv_prog_compiler_c_o
16452 # Whether or not to add -lc for building shared libraries.
16453 build_libtool_need_lc=$archive_cmds_need_lc
16455 # Whether or not to disallow shared libs when runtime libs are static.
16456 allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes
16458 # Compiler flag to allow reflexive dlopens.
16459 export_dynamic_flag_spec=$lt_export_dynamic_flag_spec
16461 # Compiler flag to generate shared objects directly from archives.
16462 whole_archive_flag_spec=$lt_whole_archive_flag_spec
16464 # Whether the compiler copes with passing no objects directly.
16465 compiler_needs_object=$lt_compiler_needs_object
16467 # Create an old-style archive from a shared archive.
16468 old_archive_from_new_cmds=$lt_old_archive_from_new_cmds
16470 # Create a temporary old-style archive to link instead of a shared archive.
16471 old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds
16473 # Commands used to build a shared archive.
16474 archive_cmds=$lt_archive_cmds
16475 archive_expsym_cmds=$lt_archive_expsym_cmds
16477 # Commands used to build a loadable module if different from building
16478 # a shared archive.
16479 module_cmds=$lt_module_cmds
16480 module_expsym_cmds=$lt_module_expsym_cmds
16482 # Whether we are building with GNU ld or not.
16483 with_gnu_ld=$lt_with_gnu_ld
16485 # Flag that allows shared libraries with undefined symbols to be built.
16486 allow_undefined_flag=$lt_allow_undefined_flag
16488 # Flag that enforces no undefined symbols.
16489 no_undefined_flag=$lt_no_undefined_flag
16491 # Flag to hardcode \$libdir into a binary during linking.
16492 # This must work even if \$libdir does not exist
16493 hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec
16495 # Whether we need a single "-rpath" flag with a separated argument.
16496 hardcode_libdir_separator=$lt_hardcode_libdir_separator
16498 # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
16499 # DIR into the resulting binary.
16500 hardcode_direct=$hardcode_direct
16502 # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
16503 # DIR into the resulting binary and the resulting library dependency is
16504 # "absolute",i.e impossible to change by setting \${shlibpath_var} if the
16505 # library is relocated.
16506 hardcode_direct_absolute=$hardcode_direct_absolute
16508 # Set to "yes" if using the -LDIR flag during linking hardcodes DIR
16509 # into the resulting binary.
16510 hardcode_minus_L=$hardcode_minus_L
16512 # Set to "yes" if using SHLIBPATH_VAR=DIR during linking hardcodes DIR
16513 # into the resulting binary.
16514 hardcode_shlibpath_var=$hardcode_shlibpath_var
16516 # Set to "yes" if building a shared library automatically hardcodes DIR
16517 # into the library and all subsequent libraries and executables linked
16519 hardcode_automatic=$hardcode_automatic
16521 # Set to yes if linker adds runtime paths of dependent libraries
16522 # to runtime path list.
16523 inherit_rpath=$inherit_rpath
16525 # Whether libtool must link a program against all its dependency libraries.
16526 link_all_deplibs=$link_all_deplibs
16528 # Set to "yes" if exported symbols are required.
16529 always_export_symbols=$always_export_symbols
16531 # The commands to list exported symbols.
16532 export_symbols_cmds=$lt_export_symbols_cmds
16534 # Symbols that should not be listed in the preloaded symbols.
16535 exclude_expsyms=$lt_exclude_expsyms
16537 # Symbols that must always be exported.
16538 include_expsyms=$lt_include_expsyms
16540 # Commands necessary for linking programs (against libraries) with templates.
16541 prelink_cmds=$lt_prelink_cmds
16543 # Commands necessary for finishing linking programs.
16544 postlink_cmds=$lt_postlink_cmds
16546 # Specify filename containing input files.
16547 file_list_spec=$lt_file_list_spec
16549 # How to hardcode a shared library path into an executable.
16550 hardcode_action=$hardcode_action
16552 # ### END LIBTOOL CONFIG
16558 cat <<\_LT_EOF >> "$cfgfile"
16559 # AIX sometimes has problems with the GCC collect2 program. For some
16560 # reason, if we set the COLLECT_NAMES environment variable, the problems
16561 # vanish in a puff of smoke.
16562 if test "X${COLLECT_NAMES+set}" != Xset; then
16564 export COLLECT_NAMES
16571 ltmain="$ac_aux_dir/ltmain.sh"
16574 # We use sed instead of cat because bash on DJGPP gets confused if
16575 # if finds mixed CR/LF and LF-only lines. Since sed operates in
16576 # text mode, it properly converts lines to CR/LF. This bash problem
16577 # is reportedly fixed, but why not run on old versions too?
16578 sed '$q' "$ltmain" >> "$cfgfile" \
16579 || (rm -f "$cfgfile"; exit 1)
16581 if test x"$xsi_shell" = xyes; then
16582 sed -e '/^func_dirname ()$/,/^} # func_dirname /c\
16586 \ */*) func_dirname_result="${1%/*}${2}" ;;\
16587 \ * ) func_dirname_result="${3}" ;;\
16589 } # Extended-shell func_dirname implementation' "$cfgfile" > $cfgfile.tmp \
16590 && mv -f "$cfgfile.tmp" "$cfgfile" \
16591 || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
16592 test 0 -eq $? || _lt_function_replace_fail=:
16595 sed -e '/^func_basename ()$/,/^} # func_basename /c\
16598 \ func_basename_result="${1##*/}"\
16599 } # Extended-shell func_basename implementation' "$cfgfile" > $cfgfile.tmp \
16600 && mv -f "$cfgfile.tmp" "$cfgfile" \
16601 || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
16602 test 0 -eq $? || _lt_function_replace_fail=:
16605 sed -e '/^func_dirname_and_basename ()$/,/^} # func_dirname_and_basename /c\
16606 func_dirname_and_basename ()\
16609 \ */*) func_dirname_result="${1%/*}${2}" ;;\
16610 \ * ) func_dirname_result="${3}" ;;\
16612 \ func_basename_result="${1##*/}"\
16613 } # Extended-shell func_dirname_and_basename implementation' "$cfgfile" > $cfgfile.tmp \
16614 && mv -f "$cfgfile.tmp" "$cfgfile" \
16615 || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
16616 test 0 -eq $? || _lt_function_replace_fail=:
16619 sed -e '/^func_stripname ()$/,/^} # func_stripname /c\
16622 \ # pdksh 5.2.14 does not do ${X%$Y} correctly if both X and Y are\
16623 \ # positional parameters, so assign one to ordinary parameter first.\
16624 \ func_stripname_result=${3}\
16625 \ func_stripname_result=${func_stripname_result#"${1}"}\
16626 \ func_stripname_result=${func_stripname_result%"${2}"}\
16627 } # Extended-shell func_stripname implementation' "$cfgfile" > $cfgfile.tmp \
16628 && mv -f "$cfgfile.tmp" "$cfgfile" \
16629 || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
16630 test 0 -eq $? || _lt_function_replace_fail=:
16633 sed -e '/^func_split_long_opt ()$/,/^} # func_split_long_opt /c\
16634 func_split_long_opt ()\
16636 \ func_split_long_opt_name=${1%%=*}\
16637 \ func_split_long_opt_arg=${1#*=}\
16638 } # Extended-shell func_split_long_opt implementation' "$cfgfile" > $cfgfile.tmp \
16639 && mv -f "$cfgfile.tmp" "$cfgfile" \
16640 || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
16641 test 0 -eq $? || _lt_function_replace_fail=:
16644 sed -e '/^func_split_short_opt ()$/,/^} # func_split_short_opt /c\
16645 func_split_short_opt ()\
16647 \ func_split_short_opt_arg=${1#??}\
16648 \ func_split_short_opt_name=${1%"$func_split_short_opt_arg"}\
16649 } # Extended-shell func_split_short_opt implementation' "$cfgfile" > $cfgfile.tmp \
16650 && mv -f "$cfgfile.tmp" "$cfgfile" \
16651 || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
16652 test 0 -eq $? || _lt_function_replace_fail=:
16655 sed -e '/^func_lo2o ()$/,/^} # func_lo2o /c\
16659 \ *.lo) func_lo2o_result=${1%.lo}.${objext} ;;\
16660 \ *) func_lo2o_result=${1} ;;\
16662 } # Extended-shell func_lo2o implementation' "$cfgfile" > $cfgfile.tmp \
16663 && mv -f "$cfgfile.tmp" "$cfgfile" \
16664 || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
16665 test 0 -eq $? || _lt_function_replace_fail=:
16668 sed -e '/^func_xform ()$/,/^} # func_xform /c\
16671 func_xform_result=${1%.*}.lo\
16672 } # Extended-shell func_xform implementation' "$cfgfile" > $cfgfile.tmp \
16673 && mv -f "$cfgfile.tmp" "$cfgfile" \
16674 || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
16675 test 0 -eq $? || _lt_function_replace_fail=:
16678 sed -e '/^func_arith ()$/,/^} # func_arith /c\
16681 func_arith_result=$(( $* ))\
16682 } # Extended-shell func_arith implementation' "$cfgfile" > $cfgfile.tmp \
16683 && mv -f "$cfgfile.tmp" "$cfgfile" \
16684 || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
16685 test 0 -eq $? || _lt_function_replace_fail=:
16688 sed -e '/^func_len ()$/,/^} # func_len /c\
16691 func_len_result=${#1}\
16692 } # Extended-shell func_len implementation' "$cfgfile" > $cfgfile.tmp \
16693 && mv -f "$cfgfile.tmp" "$cfgfile" \
16694 || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
16695 test 0 -eq $? || _lt_function_replace_fail=:
16699 if test x"$lt_shell_append" = xyes; then
16700 sed -e '/^func_append ()$/,/^} # func_append /c\
16703 eval "${1}+=\\${2}"\
16704 } # Extended-shell func_append implementation' "$cfgfile" > $cfgfile.tmp \
16705 && mv -f "$cfgfile.tmp" "$cfgfile" \
16706 || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
16707 test 0 -eq $? || _lt_function_replace_fail=:
16710 sed -e '/^func_append_quoted ()$/,/^} # func_append_quoted /c\
16711 func_append_quoted ()\
16713 \ func_quote_for_eval "${2}"\
16714 \ eval "${1}+=\\\\ \\$func_quote_for_eval_result"\
16715 } # Extended-shell func_append_quoted implementation' "$cfgfile" > $cfgfile.tmp \
16716 && mv -f "$cfgfile.tmp" "$cfgfile" \
16717 || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
16718 test 0 -eq $? || _lt_function_replace_fail=:
16721 # Save a `func_append' function call where possible by direct use of '+='
16722 sed -e 's%func_append \([a-zA-Z_]\{1,\}\) "%\1+="%g' $cfgfile > $cfgfile.tmp \
16723 && mv -f "$cfgfile.tmp" "$cfgfile" \
16724 || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
16725 test 0 -eq $? || _lt_function_replace_fail=:
16727 # Save a `func_append' function call even when '+=' is not available
16728 sed -e 's%func_append \([a-zA-Z_]\{1,\}\) "%\1="$\1%g' $cfgfile > $cfgfile.tmp \
16729 && mv -f "$cfgfile.tmp" "$cfgfile" \
16730 || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
16731 test 0 -eq $? || _lt_function_replace_fail=:
16734 if test x"$_lt_function_replace_fail" = x":"; then
16735 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Unable to substitute extended shell functions in $ofile" >&5
16736 $as_echo "$as_me: WARNING: Unable to substitute extended shell functions in $ofile" >&2;}
16740 mv -f "$cfgfile" "$ofile" ||
16741 (rm -f "$ofile" && cp "$cfgfile" "$ofile" && rm -f "$cfgfile")
16752 ac_clean_files=$ac_clean_files_save
16754 test $ac_write_fail = 0 ||
16755 as_fn_error $? "write failure creating $CONFIG_STATUS" "$LINENO" 5
16758 # configure is writing to config.log, and then calls config.status.
16759 # config.status does its own redirection, appending to config.log.
16760 # Unfortunately, on DOS this fails, as config.log is still kept open
16761 # by configure, so config.status won't be able to write to it; its
16762 # output is simply discarded. So we exec the FD to /dev/null,
16763 # effectively closing config.log, so it can be properly (re)opened and
16764 # appended to by config.status. When coming back to configure, we
16765 # need to make the FD available again.
16766 if test "$no_create" != yes; then
16768 ac_config_status_args=
16769 test "$silent" = yes &&
16770 ac_config_status_args="$ac_config_status_args --quiet"
16772 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
16774 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
16775 # would make configure fail if this is the last instruction.
16776 $ac_cs_success || as_fn_exit 1
16778 if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no; then
16779 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
16780 $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}
16786 echo "------------------------------------------------------------------------"
16787 echo "$PACKAGE_NAME $PACKAGE_VERSION"
16788 echo "------------------------------------------------------------------------"
16792 echo "Configuration Options Summary:"
16794 echo " Thread Support.......: ${have_threads}"
16795 echo " Inotify..............: ${have_inotify}"
16796 echo " Windows notification.: ${have_notify_win32}"
16798 echo " Documentation........: ${build_doc}"
16799 echo " Examples...............: ${enable_build_examples}"
16800 echo " Examples installed.....: ${enable_install_examples}"
16802 echo "Compilation............: make (or gmake)"
16803 echo " CPPFLAGS.............: $CPPFLAGS"
16804 echo " CFLAGS...............: $CFLAGS"
16805 echo " LDFLAGS..............: $LDFLAGS"
16807 echo "Installation...........: make install (as root if needed, with 'su' or 'sudo')"
16808 echo " prefix...............: $prefix"