2 # Guess values for system-dependent variables and create Makefiles.
3 # Generated by GNU Autoconf 2.68 for eeze 1.7.3.
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
178 test -n \"\${ZSH_VERSION+set}\${BASH_VERSION+set}\" || (
179 ECHO='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
180 ECHO=\$ECHO\$ECHO\$ECHO\$ECHO\$ECHO
181 ECHO=\$ECHO\$ECHO\$ECHO\$ECHO\$ECHO\$ECHO
182 PATH=/empty FPATH=/empty; export PATH FPATH
183 test \"X\`printf %s \$ECHO\`\" = \"X\$ECHO\" \\
184 || test \"X\`print -r -- \$ECHO\`\" = \"X\$ECHO\" ) || exit 1
185 test \$(( 1 + 1 )) = 2 || exit 1"
186 if (eval "$as_required") 2>/dev/null; then :
191 if test x$as_have_required = xyes && (eval "$as_suggested") 2>/dev/null; then :
194 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
196 for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
199 test -z "$as_dir" && as_dir=.
203 for as_base in sh bash ksh sh5; do
204 # Try only shells that exist, to save several forks.
205 as_shell=$as_dir/$as_base
206 if { test -f "$as_shell" || test -f "$as_shell.exe"; } &&
207 { $as_echo "$as_bourne_compatible""$as_required" | as_run=a "$as_shell"; } 2>/dev/null; then :
208 CONFIG_SHELL=$as_shell as_have_required=yes
209 if { $as_echo "$as_bourne_compatible""$as_suggested" | as_run=a "$as_shell"; } 2>/dev/null; then :
217 $as_found || { if { test -f "$SHELL" || test -f "$SHELL.exe"; } &&
218 { $as_echo "$as_bourne_compatible""$as_required" | as_run=a "$SHELL"; } 2>/dev/null; then :
219 CONFIG_SHELL=$SHELL as_have_required=yes
224 if test "x$CONFIG_SHELL" != x; then :
225 # We cannot yet assume a decent shell, so we have to provide a
226 # neutralization value for shells without unset; and this also
227 # works around shells that cannot unset nonexistent variables.
228 # Preserve -v and -x to the replacement shell.
231 (unset BASH_ENV) >/dev/null 2>&1 && unset BASH_ENV ENV
234 *v*x* | *x*v* ) as_opts=-vx ;;
239 exec "$CONFIG_SHELL" $as_opts "$as_myself" ${1+"$@"}
242 if test x$as_have_required = xno; then :
243 $as_echo "$0: This script requires a shell more modern than all"
244 $as_echo "$0: the shells that I found on your system."
245 if test x${ZSH_VERSION+set} = xset ; then
246 $as_echo "$0: In particular, zsh $ZSH_VERSION has bugs and should"
247 $as_echo "$0: be upgraded to zsh 4.3.4 or later."
249 $as_echo "$0: Please tell bug-autoconf@gnu.org and
250 $0: 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='eeze'
573 PACKAGE_VERSION='1.7.3'
574 PACKAGE_STRING='eeze 1.7.3'
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
620 BUILD_EEZE_SCANNER_FALSE
621 BUILD_EEZE_SCANNER_TRUE
623 BUILD_EEZE_UMOUNT_FALSE
624 BUILD_EEZE_UMOUNT_TRUE
626 BUILD_EEZE_DISK_LS_FALSE
627 BUILD_EEZE_DISK_LS_TRUE
629 BUILD_EEZE_MOUNT_FALSE
630 BUILD_EEZE_MOUNT_TRUE
632 BUILD_EEZE_UDEV_TEST_FALSE
633 BUILD_EEZE_UDEV_TEST_TRUE
650 HAVE_EEZE_MOUNT_FALSE
658 pkgconfig_requires_private
724 INSTALL_STRIP_PROGRAM
766 program_transform_name
779 enable_option_checking
785 enable_dependency_tracking
796 enable_eeze_udev_test
802 ac_precious_vars='build_alias
826 # Initialize some variables set by options.
828 ac_init_version=false
829 ac_unrecognized_opts=
831 # The variables have the same names as the options, with
832 # dashes changed to underlines.
840 program_transform_name=s,x,x,
848 # Installation directory options.
849 # These are left unexpanded so users can "make install exec_prefix=/foo"
850 # and all the variables that are supposed to be based on exec_prefix
851 # by default will actually change.
852 # Use braces instead of parens because sh, perl, etc. also accept them.
853 # (The list follows the same order as the GNU Coding Standards.)
854 bindir='${exec_prefix}/bin'
855 sbindir='${exec_prefix}/sbin'
856 libexecdir='${exec_prefix}/libexec'
857 datarootdir='${prefix}/share'
858 datadir='${datarootdir}'
859 sysconfdir='${prefix}/etc'
860 sharedstatedir='${prefix}/com'
861 localstatedir='${prefix}/var'
862 includedir='${prefix}/include'
863 oldincludedir='/usr/include'
864 docdir='${datarootdir}/doc/${PACKAGE_TARNAME}'
865 infodir='${datarootdir}/info'
870 libdir='${exec_prefix}/lib'
871 localedir='${datarootdir}/locale'
872 mandir='${datarootdir}/man'
878 # If the previous option needs an argument, assign it.
879 if test -n "$ac_prev"; then
880 eval $ac_prev=\$ac_option
886 *=?*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
891 # Accept the important Cygnus configure options, so we can diagnose typos.
893 case $ac_dashdash$ac_option in
897 -bindir | --bindir | --bindi | --bind | --bin | --bi)
899 -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
902 -build | --build | --buil | --bui | --bu)
903 ac_prev=build_alias ;;
904 -build=* | --build=* | --buil=* | --bui=* | --bu=*)
905 build_alias=$ac_optarg ;;
907 -cache-file | --cache-file | --cache-fil | --cache-fi \
908 | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
909 ac_prev=cache_file ;;
910 -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
911 | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
912 cache_file=$ac_optarg ;;
915 cache_file=config.cache ;;
917 -datadir | --datadir | --datadi | --datad)
919 -datadir=* | --datadir=* | --datadi=* | --datad=*)
920 datadir=$ac_optarg ;;
922 -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \
923 | --dataroo | --dataro | --datar)
924 ac_prev=datarootdir ;;
925 -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \
926 | --dataroot=* | --dataroo=* | --dataro=* | --datar=*)
927 datarootdir=$ac_optarg ;;
929 -disable-* | --disable-*)
930 ac_useropt=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
931 # Reject names that are not valid shell variable names.
932 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
933 as_fn_error $? "invalid feature name: $ac_useropt"
934 ac_useropt_orig=$ac_useropt
935 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
936 case $ac_user_opts in
940 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig"
941 ac_unrecognized_sep=', ';;
943 eval enable_$ac_useropt=no ;;
945 -docdir | --docdir | --docdi | --doc | --do)
947 -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*)
950 -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv)
952 -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*)
955 -enable-* | --enable-*)
956 ac_useropt=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
957 # Reject names that are not valid shell variable names.
958 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
959 as_fn_error $? "invalid feature name: $ac_useropt"
960 ac_useropt_orig=$ac_useropt
961 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
962 case $ac_user_opts in
966 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig"
967 ac_unrecognized_sep=', ';;
969 eval enable_$ac_useropt=\$ac_optarg ;;
971 -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
972 | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
973 | --exec | --exe | --ex)
974 ac_prev=exec_prefix ;;
975 -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
976 | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
977 | --exec=* | --exe=* | --ex=*)
978 exec_prefix=$ac_optarg ;;
980 -gas | --gas | --ga | --g)
981 # Obsolete; use --with-gas.
984 -help | --help | --hel | --he | -h)
986 -help=r* | --help=r* | --hel=r* | --he=r* | -hr*)
987 ac_init_help=recursive ;;
988 -help=s* | --help=s* | --hel=s* | --he=s* | -hs*)
989 ac_init_help=short ;;
991 -host | --host | --hos | --ho)
992 ac_prev=host_alias ;;
993 -host=* | --host=* | --hos=* | --ho=*)
994 host_alias=$ac_optarg ;;
996 -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht)
998 -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \
1000 htmldir=$ac_optarg ;;
1002 -includedir | --includedir | --includedi | --included | --include \
1003 | --includ | --inclu | --incl | --inc)
1004 ac_prev=includedir ;;
1005 -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
1006 | --includ=* | --inclu=* | --incl=* | --inc=*)
1007 includedir=$ac_optarg ;;
1009 -infodir | --infodir | --infodi | --infod | --info | --inf)
1011 -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
1012 infodir=$ac_optarg ;;
1014 -libdir | --libdir | --libdi | --libd)
1016 -libdir=* | --libdir=* | --libdi=* | --libd=*)
1017 libdir=$ac_optarg ;;
1019 -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
1020 | --libexe | --libex | --libe)
1021 ac_prev=libexecdir ;;
1022 -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
1023 | --libexe=* | --libex=* | --libe=*)
1024 libexecdir=$ac_optarg ;;
1026 -localedir | --localedir | --localedi | --localed | --locale)
1027 ac_prev=localedir ;;
1028 -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*)
1029 localedir=$ac_optarg ;;
1031 -localstatedir | --localstatedir | --localstatedi | --localstated \
1032 | --localstate | --localstat | --localsta | --localst | --locals)
1033 ac_prev=localstatedir ;;
1034 -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
1035 | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*)
1036 localstatedir=$ac_optarg ;;
1038 -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
1040 -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
1041 mandir=$ac_optarg ;;
1043 -nfp | --nfp | --nf)
1044 # Obsolete; use --without-fp.
1047 -no-create | --no-create | --no-creat | --no-crea | --no-cre \
1048 | --no-cr | --no-c | -n)
1051 -no-recursion | --no-recursion | --no-recursio | --no-recursi \
1052 | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
1055 -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
1056 | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
1057 | --oldin | --oldi | --old | --ol | --o)
1058 ac_prev=oldincludedir ;;
1059 -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
1060 | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
1061 | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
1062 oldincludedir=$ac_optarg ;;
1064 -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
1066 -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
1067 prefix=$ac_optarg ;;
1069 -program-prefix | --program-prefix | --program-prefi | --program-pref \
1070 | --program-pre | --program-pr | --program-p)
1071 ac_prev=program_prefix ;;
1072 -program-prefix=* | --program-prefix=* | --program-prefi=* \
1073 | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
1074 program_prefix=$ac_optarg ;;
1076 -program-suffix | --program-suffix | --program-suffi | --program-suff \
1077 | --program-suf | --program-su | --program-s)
1078 ac_prev=program_suffix ;;
1079 -program-suffix=* | --program-suffix=* | --program-suffi=* \
1080 | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
1081 program_suffix=$ac_optarg ;;
1083 -program-transform-name | --program-transform-name \
1084 | --program-transform-nam | --program-transform-na \
1085 | --program-transform-n | --program-transform- \
1086 | --program-transform | --program-transfor \
1087 | --program-transfo | --program-transf \
1088 | --program-trans | --program-tran \
1089 | --progr-tra | --program-tr | --program-t)
1090 ac_prev=program_transform_name ;;
1091 -program-transform-name=* | --program-transform-name=* \
1092 | --program-transform-nam=* | --program-transform-na=* \
1093 | --program-transform-n=* | --program-transform-=* \
1094 | --program-transform=* | --program-transfor=* \
1095 | --program-transfo=* | --program-transf=* \
1096 | --program-trans=* | --program-tran=* \
1097 | --progr-tra=* | --program-tr=* | --program-t=*)
1098 program_transform_name=$ac_optarg ;;
1100 -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd)
1102 -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*)
1103 pdfdir=$ac_optarg ;;
1105 -psdir | --psdir | --psdi | --psd | --ps)
1107 -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*)
1110 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1111 | -silent | --silent | --silen | --sile | --sil)
1114 -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
1116 -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
1118 sbindir=$ac_optarg ;;
1120 -sharedstatedir | --sharedstatedir | --sharedstatedi \
1121 | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
1122 | --sharedst | --shareds | --shared | --share | --shar \
1124 ac_prev=sharedstatedir ;;
1125 -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
1126 | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
1127 | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
1129 sharedstatedir=$ac_optarg ;;
1131 -site | --site | --sit)
1133 -site=* | --site=* | --sit=*)
1136 -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
1138 -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
1139 srcdir=$ac_optarg ;;
1141 -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
1142 | --syscon | --sysco | --sysc | --sys | --sy)
1143 ac_prev=sysconfdir ;;
1144 -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
1145 | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
1146 sysconfdir=$ac_optarg ;;
1148 -target | --target | --targe | --targ | --tar | --ta | --t)
1149 ac_prev=target_alias ;;
1150 -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
1151 target_alias=$ac_optarg ;;
1153 -v | -verbose | --verbose | --verbos | --verbo | --verb)
1156 -version | --version | --versio | --versi | --vers | -V)
1157 ac_init_version=: ;;
1160 ac_useropt=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
1161 # Reject names that are not valid shell variable names.
1162 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1163 as_fn_error $? "invalid package name: $ac_useropt"
1164 ac_useropt_orig=$ac_useropt
1165 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1166 case $ac_user_opts in
1170 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig"
1171 ac_unrecognized_sep=', ';;
1173 eval with_$ac_useropt=\$ac_optarg ;;
1175 -without-* | --without-*)
1176 ac_useropt=`expr "x$ac_option" : 'x-*without-\(.*\)'`
1177 # Reject names that are not valid shell variable names.
1178 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1179 as_fn_error $? "invalid package name: $ac_useropt"
1180 ac_useropt_orig=$ac_useropt
1181 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1182 case $ac_user_opts in
1186 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig"
1187 ac_unrecognized_sep=', ';;
1189 eval with_$ac_useropt=no ;;
1192 # Obsolete; use --with-x.
1195 -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
1196 | --x-incl | --x-inc | --x-in | --x-i)
1197 ac_prev=x_includes ;;
1198 -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
1199 | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
1200 x_includes=$ac_optarg ;;
1202 -x-libraries | --x-libraries | --x-librarie | --x-librari \
1203 | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
1204 ac_prev=x_libraries ;;
1205 -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
1206 | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
1207 x_libraries=$ac_optarg ;;
1209 -*) as_fn_error $? "unrecognized option: \`$ac_option'
1210 Try \`$0 --help' for more information"
1214 ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
1215 # Reject names that are not valid shell variable names.
1216 case $ac_envvar in #(
1217 '' | [0-9]* | *[!_$as_cr_alnum]* )
1218 as_fn_error $? "invalid variable name: \`$ac_envvar'" ;;
1220 eval $ac_envvar=\$ac_optarg
1221 export $ac_envvar ;;
1224 # FIXME: should be removed in autoconf 3.0.
1225 $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2
1226 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
1227 $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2
1228 : "${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}"
1234 if test -n "$ac_prev"; then
1235 ac_option=--`echo $ac_prev | sed 's/_/-/g'`
1236 as_fn_error $? "missing argument to $ac_option"
1239 if test -n "$ac_unrecognized_opts"; then
1240 case $enable_option_checking in
1242 fatal) as_fn_error $? "unrecognized options: $ac_unrecognized_opts" ;;
1243 *) $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;;
1247 # Check all directory arguments for consistency.
1248 for ac_var in exec_prefix prefix bindir sbindir libexecdir datarootdir \
1249 datadir sysconfdir sharedstatedir localstatedir includedir \
1250 oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
1251 libdir localedir mandir
1253 eval ac_val=\$$ac_var
1254 # Remove trailing slashes.
1257 ac_val=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'`
1258 eval $ac_var=\$ac_val;;
1260 # Be sure to have absolute directory names.
1262 [\\/$]* | ?:[\\/]* ) continue;;
1263 NONE | '' ) case $ac_var in *prefix ) continue;; esac;;
1265 as_fn_error $? "expected an absolute directory name for --$ac_var: $ac_val"
1268 # There might be people who depend on the old broken behavior: `$host'
1269 # used to hold the argument of --host etc.
1270 # FIXME: To remove some day.
1273 target=$target_alias
1275 # FIXME: To remove some day.
1276 if test "x$host_alias" != x; then
1277 if test "x$build_alias" = x; then
1278 cross_compiling=maybe
1279 $as_echo "$as_me: WARNING: if you wanted to set the --build type, don't use --host.
1280 If a cross compiler is detected then cross compile mode will be used" >&2
1281 elif test "x$build_alias" != "x$host_alias"; then
1287 test -n "$host_alias" && ac_tool_prefix=$host_alias-
1289 test "$silent" = yes && exec 6>/dev/null
1292 ac_pwd=`pwd` && test -n "$ac_pwd" &&
1293 ac_ls_di=`ls -di .` &&
1294 ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` ||
1295 as_fn_error $? "working directory cannot be determined"
1296 test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
1297 as_fn_error $? "pwd does not report name of working directory"
1300 # Find the source files, if location was not specified.
1301 if test -z "$srcdir"; then
1302 ac_srcdir_defaulted=yes
1303 # Try the directory containing this script, then the parent directory.
1304 ac_confdir=`$as_dirname -- "$as_myself" ||
1305 $as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
1306 X"$as_myself" : 'X\(//\)[^/]' \| \
1307 X"$as_myself" : 'X\(//\)$' \| \
1308 X"$as_myself" : 'X\(/\)' \| . 2>/dev/null ||
1309 $as_echo X"$as_myself" |
1310 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
1328 if test ! -r "$srcdir/$ac_unique_file"; then
1332 ac_srcdir_defaulted=no
1334 if test ! -r "$srcdir/$ac_unique_file"; then
1335 test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .."
1336 as_fn_error $? "cannot find sources ($ac_unique_file) in $srcdir"
1338 ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work"
1340 cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error $? "$ac_msg"
1342 # When building in place, set srcdir=.
1343 if test "$ac_abs_confdir" = "$ac_pwd"; then
1346 # Remove unnecessary trailing slashes from srcdir.
1347 # Double slashes in file names in object file debugging info
1348 # mess up M-x gdb in Emacs.
1350 */) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
1352 for ac_var in $ac_precious_vars; do
1353 eval ac_env_${ac_var}_set=\${${ac_var}+set}
1354 eval ac_env_${ac_var}_value=\$${ac_var}
1355 eval ac_cv_env_${ac_var}_set=\${${ac_var}+set}
1356 eval ac_cv_env_${ac_var}_value=\$${ac_var}
1360 # Report the --help message.
1362 if test "$ac_init_help" = "long"; then
1363 # Omit some internal or obsolete options to make the list less imposing.
1364 # This message is too long to be a string in the A/UX 3.1 sh.
1366 \`configure' configures eeze 1.7.3 to adapt to many kinds of systems.
1368 Usage: $0 [OPTION]... [VAR=VALUE]...
1370 To assign environment variables (e.g., CC, CFLAGS...), specify them as
1371 VAR=VALUE. See below for descriptions of some of the useful variables.
1373 Defaults for the options are specified in brackets.
1376 -h, --help display this help and exit
1377 --help=short display options specific to this package
1378 --help=recursive display the short help of all the included packages
1379 -V, --version display version information and exit
1380 -q, --quiet, --silent do not print \`checking ...' messages
1381 --cache-file=FILE cache test results in FILE [disabled]
1382 -C, --config-cache alias for \`--cache-file=config.cache'
1383 -n, --no-create do not create output files
1384 --srcdir=DIR find the sources in DIR [configure dir or \`..']
1386 Installation directories:
1387 --prefix=PREFIX install architecture-independent files in PREFIX
1388 [$ac_default_prefix]
1389 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
1392 By default, \`make install' will install all the files in
1393 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
1394 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
1395 for instance \`--prefix=\$HOME'.
1397 For better control, use the options below.
1399 Fine tuning of the installation directories:
1400 --bindir=DIR user executables [EPREFIX/bin]
1401 --sbindir=DIR system admin executables [EPREFIX/sbin]
1402 --libexecdir=DIR program executables [EPREFIX/libexec]
1403 --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
1404 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
1405 --localstatedir=DIR modifiable single-machine data [PREFIX/var]
1406 --libdir=DIR object code libraries [EPREFIX/lib]
1407 --includedir=DIR C header files [PREFIX/include]
1408 --oldincludedir=DIR C header files for non-gcc [/usr/include]
1409 --datarootdir=DIR read-only arch.-independent data root [PREFIX/share]
1410 --datadir=DIR read-only architecture-independent data [DATAROOTDIR]
1411 --infodir=DIR info documentation [DATAROOTDIR/info]
1412 --localedir=DIR locale-dependent data [DATAROOTDIR/locale]
1413 --mandir=DIR man documentation [DATAROOTDIR/man]
1414 --docdir=DIR documentation root [DATAROOTDIR/doc/eeze]
1415 --htmldir=DIR html documentation [DOCDIR]
1416 --dvidir=DIR dvi documentation [DOCDIR]
1417 --pdfdir=DIR pdf documentation [DOCDIR]
1418 --psdir=DIR ps documentation [DOCDIR]
1424 --program-prefix=PREFIX prepend PREFIX to installed program names
1425 --program-suffix=SUFFIX append SUFFIX to installed program names
1426 --program-transform-name=PROGRAM run sed PROGRAM on installed program names
1429 --build=BUILD configure for building on BUILD [guessed]
1430 --host=HOST cross-compile to build programs to run on HOST [BUILD]
1434 if test -n "$ac_init_help"; then
1435 case $ac_init_help in
1436 short | recursive ) echo "Configuration of eeze 1.7.3:";;
1441 --disable-option-checking ignore unrecognized --enable/--with options
1442 --disable-FEATURE do not include FEATURE (same as --enable-FEATURE=no)
1443 --enable-FEATURE[=ARG] include FEATURE [ARG=yes]
1444 --enable-silent-rules less verbose build output (undo: `make V=1')
1445 --disable-silent-rules verbose build output (undo: `make V=0')
1446 --enable-shared[=PKGS] build shared libraries [default=yes]
1447 --enable-static[=PKGS] build static libraries [default=yes]
1448 --enable-fast-install[=PKGS]
1449 optimize for fast installation [default=yes]
1450 --disable-dependency-tracking speeds up one-time build
1451 --enable-dependency-tracking do not reject slow dependency extractors
1452 --disable-libtool-lock avoid locking (might break parallel builds)
1453 --disable-doc Disable documentation build [default=enabled]
1454 --enable-mtab force use of mtab for mount info [default=detect]
1455 --disable-ipv6 disable ipv6 functionality [default=detect]
1456 --disable-eeze-udev-test
1457 disable building of eeze_udev_test
1458 --disable-eeze-mount disable building of eeze_mount
1459 --disable-eeze-disk-ls disable building of eeze_disk_ls
1460 --disable-eeze-umount disable building of eeze_umount
1461 --disable-eeze-scanner disable building of eeze_scanner
1464 --with-PACKAGE[=ARG] use PACKAGE [ARG=yes]
1465 --without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no)
1466 --with-pic[=PKGS] try to use only PIC/non-PIC objects [default=use
1468 --with-gnu-ld assume the C compiler uses GNU ld [default=no]
1469 --with-sysroot=DIR Search for dependent libraries within DIR
1470 (or the compiler's sysroot if not specified).
1471 --with-doxygen=FILE doxygen program to use [default=doxygen]
1472 --with-mount specify mount bin [default=detect]
1473 --with-umount specify umount bin [default=detect]
1474 --with-eject specify eject bin [default=detect]
1476 Some influential environment variables:
1477 CC C compiler command
1478 CFLAGS C compiler flags
1479 LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a
1480 nonstandard directory <lib dir>
1481 LIBS libraries to pass to the linker, e.g. -l<library>
1482 CPPFLAGS (Objective) C/C++ preprocessor flags, e.g. -I<include dir> if
1483 you have headers in a nonstandard directory <include dir>
1485 PKG_CONFIG path to pkg-config utility
1487 directories to add to pkg-config's search path
1489 path overriding pkg-config's built-in search path
1490 EEZE_CFLAGS C compiler flags for EEZE, overriding pkg-config
1491 EEZE_LIBS linker flags for EEZE, overriding pkg-config
1493 C compiler flags for LIBMOUNT, overriding pkg-config
1495 linker flags for LIBMOUNT, overriding pkg-config
1497 C compiler flags for ECORE_FILE, overriding pkg-config
1499 linker flags for ECORE_FILE, overriding pkg-config
1500 EET_CFLAGS C compiler flags for EET, overriding pkg-config
1501 EET_LIBS linker flags for EET, overriding pkg-config
1503 C compiler flags for ECORE_CON, overriding pkg-config
1505 linker flags for ECORE_CON, overriding pkg-config
1507 Use these variables to override the choices made by `configure' or to help
1508 it to find libraries and programs with nonstandard names/locations.
1510 Report bugs to <enlightenment-devel@lists.sourceforge.net>.
1515 if test "$ac_init_help" = "recursive"; then
1516 # If there are subdirs, report their specific --help.
1517 for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
1518 test -d "$ac_dir" ||
1519 { cd "$srcdir" && ac_pwd=`pwd` && srcdir=. && test -d "$ac_dir"; } ||
1524 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
1526 ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
1527 # A ".." for each directory in $ac_dir_suffix.
1528 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
1529 case $ac_top_builddir_sub in
1530 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
1531 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
1534 ac_abs_top_builddir=$ac_pwd
1535 ac_abs_builddir=$ac_pwd$ac_dir_suffix
1536 # for backward compatibility:
1537 ac_top_builddir=$ac_top_build_prefix
1540 .) # We are building in place.
1542 ac_top_srcdir=$ac_top_builddir_sub
1543 ac_abs_top_srcdir=$ac_pwd ;;
1544 [\\/]* | ?:[\\/]* ) # Absolute name.
1545 ac_srcdir=$srcdir$ac_dir_suffix;
1546 ac_top_srcdir=$srcdir
1547 ac_abs_top_srcdir=$srcdir ;;
1549 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
1550 ac_top_srcdir=$ac_top_build_prefix$srcdir
1551 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
1553 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
1555 cd "$ac_dir" || { ac_status=$?; continue; }
1556 # Check for guested configure.
1557 if test -f "$ac_srcdir/configure.gnu"; then
1559 $SHELL "$ac_srcdir/configure.gnu" --help=recursive
1560 elif test -f "$ac_srcdir/configure"; then
1562 $SHELL "$ac_srcdir/configure" --help=recursive
1564 $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
1566 cd "$ac_pwd" || { ac_status=$?; break; }
1570 test -n "$ac_init_help" && exit $ac_status
1571 if $ac_init_version; then
1573 eeze configure 1.7.3
1574 generated by GNU Autoconf 2.68
1576 Copyright (C) 2010 Free Software Foundation, Inc.
1577 This configure script is free software; the Free Software Foundation
1578 gives unlimited permission to copy, distribute and modify it.
1583 ## ------------------------ ##
1584 ## Autoconf initialization. ##
1585 ## ------------------------ ##
1587 # ac_fn_c_try_compile LINENO
1588 # --------------------------
1589 # Try to compile conftest.$ac_ext, and return whether this succeeded.
1590 ac_fn_c_try_compile ()
1592 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1593 rm -f conftest.$ac_objext
1594 if { { ac_try="$ac_compile"
1596 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1597 *) ac_try_echo=$ac_try;;
1599 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1600 $as_echo "$ac_try_echo"; } >&5
1601 (eval "$ac_compile") 2>conftest.err
1603 if test -s conftest.err; then
1604 grep -v '^ *+' conftest.err >conftest.er1
1605 cat conftest.er1 >&5
1606 mv -f conftest.er1 conftest.err
1608 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1609 test $ac_status = 0; } && {
1610 test -z "$ac_c_werror_flag" ||
1611 test ! -s conftest.err
1612 } && test -s conftest.$ac_objext; then :
1615 $as_echo "$as_me: failed program was:" >&5
1616 sed 's/^/| /' conftest.$ac_ext >&5
1620 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1621 as_fn_set_status $ac_retval
1623 } # ac_fn_c_try_compile
1625 # ac_fn_c_try_link LINENO
1626 # -----------------------
1627 # Try to link conftest.$ac_ext, and return whether this succeeded.
1630 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1631 rm -f conftest.$ac_objext conftest$ac_exeext
1632 if { { ac_try="$ac_link"
1634 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1635 *) ac_try_echo=$ac_try;;
1637 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1638 $as_echo "$ac_try_echo"; } >&5
1639 (eval "$ac_link") 2>conftest.err
1641 if test -s conftest.err; then
1642 grep -v '^ *+' conftest.err >conftest.er1
1643 cat conftest.er1 >&5
1644 mv -f conftest.er1 conftest.err
1646 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1647 test $ac_status = 0; } && {
1648 test -z "$ac_c_werror_flag" ||
1649 test ! -s conftest.err
1650 } && test -s conftest$ac_exeext && {
1651 test "$cross_compiling" = yes ||
1652 $as_test_x conftest$ac_exeext
1656 $as_echo "$as_me: failed program was:" >&5
1657 sed 's/^/| /' conftest.$ac_ext >&5
1661 # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
1662 # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
1663 # interfere with the next link command; also delete a directory that is
1664 # left behind by Apple's compiler. We do this before executing the actions.
1665 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
1666 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1667 as_fn_set_status $ac_retval
1669 } # ac_fn_c_try_link
1671 # ac_fn_c_check_header_compile LINENO HEADER VAR INCLUDES
1672 # -------------------------------------------------------
1673 # Tests whether HEADER exists and can be compiled using the include files in
1674 # INCLUDES, setting the cache variable VAR accordingly.
1675 ac_fn_c_check_header_compile ()
1677 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1678 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1679 $as_echo_n "checking for $2... " >&6; }
1680 if eval \${$3+:} false; then :
1681 $as_echo_n "(cached) " >&6
1683 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1684 /* end confdefs.h. */
1688 if ac_fn_c_try_compile "$LINENO"; then :
1693 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1696 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1697 $as_echo "$ac_res" >&6; }
1698 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1700 } # ac_fn_c_check_header_compile
1702 # ac_fn_c_try_cpp LINENO
1703 # ----------------------
1704 # Try to preprocess conftest.$ac_ext, and return whether this succeeded.
1707 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1708 if { { ac_try="$ac_cpp conftest.$ac_ext"
1710 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1711 *) ac_try_echo=$ac_try;;
1713 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1714 $as_echo "$ac_try_echo"; } >&5
1715 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err
1717 if test -s conftest.err; then
1718 grep -v '^ *+' conftest.err >conftest.er1
1719 cat conftest.er1 >&5
1720 mv -f conftest.er1 conftest.err
1722 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1723 test $ac_status = 0; } > conftest.i && {
1724 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
1725 test ! -s conftest.err
1729 $as_echo "$as_me: failed program was:" >&5
1730 sed 's/^/| /' conftest.$ac_ext >&5
1734 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1735 as_fn_set_status $ac_retval
1739 # ac_fn_c_try_run LINENO
1740 # ----------------------
1741 # Try to link conftest.$ac_ext, and return whether this succeeded. Assumes
1742 # that executables *can* be run.
1745 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1746 if { { ac_try="$ac_link"
1748 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1749 *) ac_try_echo=$ac_try;;
1751 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1752 $as_echo "$ac_try_echo"; } >&5
1753 (eval "$ac_link") 2>&5
1755 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1756 test $ac_status = 0; } && { ac_try='./conftest$ac_exeext'
1757 { { case "(($ac_try" in
1758 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1759 *) ac_try_echo=$ac_try;;
1761 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1762 $as_echo "$ac_try_echo"; } >&5
1763 (eval "$ac_try") 2>&5
1765 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1766 test $ac_status = 0; }; }; then :
1769 $as_echo "$as_me: program exited with status $ac_status" >&5
1770 $as_echo "$as_me: failed program was:" >&5
1771 sed 's/^/| /' conftest.$ac_ext >&5
1773 ac_retval=$ac_status
1775 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
1776 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1777 as_fn_set_status $ac_retval
1781 # ac_fn_c_check_func LINENO FUNC VAR
1782 # ----------------------------------
1783 # Tests whether FUNC exists, setting the cache variable VAR accordingly
1784 ac_fn_c_check_func ()
1786 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1787 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1788 $as_echo_n "checking for $2... " >&6; }
1789 if eval \${$3+:} false; then :
1790 $as_echo_n "(cached) " >&6
1792 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1793 /* end confdefs.h. */
1794 /* Define $2 to an innocuous variant, in case <limits.h> declares $2.
1795 For example, HP-UX 11i <limits.h> declares gettimeofday. */
1796 #define $2 innocuous_$2
1798 /* System header to define __stub macros and hopefully few prototypes,
1799 which can conflict with char $2 (); below.
1800 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
1801 <limits.h> exists even on freestanding compilers. */
1804 # include <limits.h>
1806 # include <assert.h>
1811 /* Override any GCC internal prototype to avoid an error.
1812 Use char because int might match the return type of a GCC
1813 builtin and then its argument prototype would still apply. */
1818 /* The GNU C library defines this for functions which it implements
1819 to always fail with ENOSYS. Some functions are actually named
1820 something starting with __ and the normal name is an alias. */
1821 #if defined __stub_$2 || defined __stub___$2
1833 if ac_fn_c_try_link "$LINENO"; then :
1838 rm -f core conftest.err conftest.$ac_objext \
1839 conftest$ac_exeext conftest.$ac_ext
1842 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1843 $as_echo "$ac_res" >&6; }
1844 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1846 } # ac_fn_c_check_func
1848 # ac_fn_c_check_header_mongrel LINENO HEADER VAR INCLUDES
1849 # -------------------------------------------------------
1850 # Tests whether HEADER exists, giving a warning if it cannot be compiled using
1851 # the include files in INCLUDES and setting the cache variable VAR
1853 ac_fn_c_check_header_mongrel ()
1855 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1856 if eval \${$3+:} false; then :
1857 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1858 $as_echo_n "checking for $2... " >&6; }
1859 if eval \${$3+:} false; then :
1860 $as_echo_n "(cached) " >&6
1863 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1864 $as_echo "$ac_res" >&6; }
1866 # Is the header compilable?
1867 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 usability" >&5
1868 $as_echo_n "checking $2 usability... " >&6; }
1869 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1870 /* end confdefs.h. */
1874 if ac_fn_c_try_compile "$LINENO"; then :
1875 ac_header_compiler=yes
1877 ac_header_compiler=no
1879 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1880 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_compiler" >&5
1881 $as_echo "$ac_header_compiler" >&6; }
1883 # Is the header present?
1884 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 presence" >&5
1885 $as_echo_n "checking $2 presence... " >&6; }
1886 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1887 /* end confdefs.h. */
1890 if ac_fn_c_try_cpp "$LINENO"; then :
1891 ac_header_preproc=yes
1893 ac_header_preproc=no
1895 rm -f conftest.err conftest.i conftest.$ac_ext
1896 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_preproc" >&5
1897 $as_echo "$ac_header_preproc" >&6; }
1899 # So? What about this header?
1900 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in #((
1902 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&5
1903 $as_echo "$as_me: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&2;}
1904 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
1905 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
1908 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: present but cannot be compiled" >&5
1909 $as_echo "$as_me: WARNING: $2: present but cannot be compiled" >&2;}
1910 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: check for missing prerequisite headers?" >&5
1911 $as_echo "$as_me: WARNING: $2: check for missing prerequisite headers?" >&2;}
1912 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: see the Autoconf documentation" >&5
1913 $as_echo "$as_me: WARNING: $2: see the Autoconf documentation" >&2;}
1914 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&5
1915 $as_echo "$as_me: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&2;}
1916 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
1917 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
1918 ( $as_echo "## -------------------------------------------------------- ##
1919 ## Report this to enlightenment-devel@lists.sourceforge.net ##
1920 ## -------------------------------------------------------- ##"
1921 ) | sed "s/^/$as_me: WARNING: /" >&2
1924 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1925 $as_echo_n "checking for $2... " >&6; }
1926 if eval \${$3+:} false; then :
1927 $as_echo_n "(cached) " >&6
1929 eval "$3=\$ac_header_compiler"
1932 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1933 $as_echo "$ac_res" >&6; }
1935 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1937 } # ac_fn_c_check_header_mongrel
1939 # ac_fn_c_check_type LINENO TYPE VAR INCLUDES
1940 # -------------------------------------------
1941 # Tests whether TYPE exists after having included INCLUDES, setting cache
1942 # variable VAR accordingly.
1943 ac_fn_c_check_type ()
1945 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1946 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1947 $as_echo_n "checking for $2... " >&6; }
1948 if eval \${$3+:} false; then :
1949 $as_echo_n "(cached) " >&6
1952 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1953 /* end confdefs.h. */
1964 if ac_fn_c_try_compile "$LINENO"; then :
1965 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1966 /* end confdefs.h. */
1977 if ac_fn_c_try_compile "$LINENO"; then :
1982 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1984 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1987 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1988 $as_echo "$ac_res" >&6; }
1989 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1991 } # ac_fn_c_check_type
1992 cat >config.log <<_ACEOF
1993 This file contains any messages produced by compilers while
1994 running configure, to aid debugging if configure makes a mistake.
1996 It was created by eeze $as_me 1.7.3, which was
1997 generated by GNU Autoconf 2.68. Invocation command line was
2009 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
2010 uname -m = `(uname -m) 2>/dev/null || echo unknown`
2011 uname -r = `(uname -r) 2>/dev/null || echo unknown`
2012 uname -s = `(uname -s) 2>/dev/null || echo unknown`
2013 uname -v = `(uname -v) 2>/dev/null || echo unknown`
2015 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
2016 /bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown`
2018 /bin/arch = `(/bin/arch) 2>/dev/null || echo unknown`
2019 /usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown`
2020 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
2021 /usr/bin/hostinfo = `(/usr/bin/hostinfo) 2>/dev/null || echo unknown`
2022 /bin/machine = `(/bin/machine) 2>/dev/null || echo unknown`
2023 /usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown`
2024 /bin/universe = `(/bin/universe) 2>/dev/null || echo unknown`
2028 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2032 test -z "$as_dir" && as_dir=.
2033 $as_echo "PATH: $as_dir"
2049 # Keep a trace of the command line.
2050 # Strip out --no-create and --no-recursion so they do not pile up.
2051 # Strip out --silent because we don't want to record it for future runs.
2052 # Also quote any args containing shell meta-characters.
2053 # Make two passes to allow for proper duplicate-argument suppression.
2057 ac_must_keep_next=false
2063 -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
2064 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
2065 | -silent | --silent | --silen | --sile | --sil)
2068 ac_arg=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
2071 1) as_fn_append ac_configure_args0 " '$ac_arg'" ;;
2073 as_fn_append ac_configure_args1 " '$ac_arg'"
2074 if test $ac_must_keep_next = true; then
2075 ac_must_keep_next=false # Got value, back to normal.
2078 *=* | --config-cache | -C | -disable-* | --disable-* \
2079 | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
2080 | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
2081 | -with-* | --with-* | -without-* | --without-* | --x)
2082 case "$ac_configure_args0 " in
2083 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
2086 -* ) ac_must_keep_next=true ;;
2089 as_fn_append ac_configure_args " '$ac_arg'"
2094 { ac_configure_args0=; unset ac_configure_args0;}
2095 { ac_configure_args1=; unset ac_configure_args1;}
2097 # When interrupted or exit'd, cleanup temporary files, and complete
2098 # config.log. We remove comments because anyway the quotes in there
2099 # would cause problems or look ugly.
2100 # WARNING: Use '\'' to represent an apostrophe within the trap.
2101 # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
2102 trap 'exit_status=$?
2103 # Save into config.log some information that might help in debugging.
2107 $as_echo "## ---------------- ##
2108 ## Cache variables. ##
2109 ## ---------------- ##"
2111 # The following way of writing the cache mishandles newlines in values,
2113 for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
2114 eval ac_val=\$$ac_var
2118 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
2119 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
2122 _ | IFS | as_nl) ;; #(
2123 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
2124 *) { eval $ac_var=; unset $ac_var;} ;;
2129 case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
2130 *${as_nl}ac_space=\ *)
2132 "s/'\''/'\''\\\\'\'''\''/g;
2133 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
2136 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
2143 $as_echo "## ----------------- ##
2144 ## Output variables. ##
2145 ## ----------------- ##"
2147 for ac_var in $ac_subst_vars
2149 eval ac_val=\$$ac_var
2151 *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
2153 $as_echo "$ac_var='\''$ac_val'\''"
2157 if test -n "$ac_subst_files"; then
2158 $as_echo "## ------------------- ##
2159 ## File substitutions. ##
2160 ## ------------------- ##"
2162 for ac_var in $ac_subst_files
2164 eval ac_val=\$$ac_var
2166 *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
2168 $as_echo "$ac_var='\''$ac_val'\''"
2173 if test -s confdefs.h; then
2174 $as_echo "## ----------- ##
2181 test "$ac_signal" != 0 &&
2182 $as_echo "$as_me: caught signal $ac_signal"
2183 $as_echo "$as_me: exit $exit_status"
2185 rm -f core *.core core.conftest.* &&
2186 rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
2189 for ac_signal in 1 2 13 15; do
2190 trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal
2194 # confdefs.h avoids OS command line length limits that DEFS can exceed.
2195 rm -f -r conftest* confdefs.h
2197 $as_echo "/* confdefs.h */" > confdefs.h
2199 # Predefined preprocessor variables.
2201 cat >>confdefs.h <<_ACEOF
2202 #define PACKAGE_NAME "$PACKAGE_NAME"
2205 cat >>confdefs.h <<_ACEOF
2206 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
2209 cat >>confdefs.h <<_ACEOF
2210 #define PACKAGE_VERSION "$PACKAGE_VERSION"
2213 cat >>confdefs.h <<_ACEOF
2214 #define PACKAGE_STRING "$PACKAGE_STRING"
2217 cat >>confdefs.h <<_ACEOF
2218 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
2221 cat >>confdefs.h <<_ACEOF
2222 #define PACKAGE_URL "$PACKAGE_URL"
2226 # Let the site file select an alternate cache file if it wants to.
2227 # Prefer an explicitly selected file to automatically selected ones.
2230 if test -n "$CONFIG_SITE"; then
2231 # We do not want a PATH search for config.site.
2232 case $CONFIG_SITE in #((
2233 -*) ac_site_file1=./$CONFIG_SITE;;
2234 */*) ac_site_file1=$CONFIG_SITE;;
2235 *) ac_site_file1=./$CONFIG_SITE;;
2237 elif test "x$prefix" != xNONE; then
2238 ac_site_file1=$prefix/share/config.site
2239 ac_site_file2=$prefix/etc/config.site
2241 ac_site_file1=$ac_default_prefix/share/config.site
2242 ac_site_file2=$ac_default_prefix/etc/config.site
2244 for ac_site_file in "$ac_site_file1" "$ac_site_file2"
2246 test "x$ac_site_file" = xNONE && continue
2247 if test /dev/null != "$ac_site_file" && test -r "$ac_site_file"; then
2248 { $as_echo "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5
2249 $as_echo "$as_me: loading site script $ac_site_file" >&6;}
2250 sed 's/^/| /' "$ac_site_file" >&5
2252 || { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2253 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2254 as_fn_error $? "failed to load site script $ac_site_file
2255 See \`config.log' for more details" "$LINENO" 5; }
2259 if test -r "$cache_file"; then
2260 # Some versions of bash will fail to source /dev/null (special files
2261 # actually), so we avoid doing that. DJGPP emulates it as a regular file.
2262 if test /dev/null != "$cache_file" && test -f "$cache_file"; then
2263 { $as_echo "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5
2264 $as_echo "$as_me: loading cache $cache_file" >&6;}
2266 [\\/]* | ?:[\\/]* ) . "$cache_file";;
2267 *) . "./$cache_file";;
2271 { $as_echo "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5
2272 $as_echo "$as_me: creating cache $cache_file" >&6;}
2276 # Check that the precious variables saved in the cache have kept the same
2278 ac_cache_corrupted=false
2279 for ac_var in $ac_precious_vars; do
2280 eval ac_old_set=\$ac_cv_env_${ac_var}_set
2281 eval ac_new_set=\$ac_env_${ac_var}_set
2282 eval ac_old_val=\$ac_cv_env_${ac_var}_value
2283 eval ac_new_val=\$ac_env_${ac_var}_value
2284 case $ac_old_set,$ac_new_set in
2286 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
2287 $as_echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
2288 ac_cache_corrupted=: ;;
2290 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not set in the previous run" >&5
2291 $as_echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
2292 ac_cache_corrupted=: ;;
2295 if test "x$ac_old_val" != "x$ac_new_val"; then
2296 # differences in whitespace do not lead to failure.
2297 ac_old_val_w=`echo x $ac_old_val`
2298 ac_new_val_w=`echo x $ac_new_val`
2299 if test "$ac_old_val_w" != "$ac_new_val_w"; then
2300 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&5
2301 $as_echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
2302 ac_cache_corrupted=:
2304 { $as_echo "$as_me:${as_lineno-$LINENO}: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5
2305 $as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;}
2306 eval $ac_var=\$ac_old_val
2308 { $as_echo "$as_me:${as_lineno-$LINENO}: former value: \`$ac_old_val'" >&5
2309 $as_echo "$as_me: former value: \`$ac_old_val'" >&2;}
2310 { $as_echo "$as_me:${as_lineno-$LINENO}: current value: \`$ac_new_val'" >&5
2311 $as_echo "$as_me: current value: \`$ac_new_val'" >&2;}
2314 # Pass precious variables to config.status.
2315 if test "$ac_new_set" = set; then
2317 *\'*) ac_arg=$ac_var=`$as_echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
2318 *) ac_arg=$ac_var=$ac_new_val ;;
2320 case " $ac_configure_args " in
2321 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
2322 *) as_fn_append ac_configure_args " '$ac_arg'" ;;
2326 if $ac_cache_corrupted; then
2327 { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2328 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2329 { $as_echo "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5
2330 $as_echo "$as_me: error: changes in the environment can compromise the build" >&2;}
2331 as_fn_error $? "run \`make distclean' and/or \`rm $cache_file' and start over" "$LINENO" 5
2333 ## -------------------- ##
2334 ## Main body of script. ##
2335 ## -------------------- ##
2338 ac_cpp='$CPP $CPPFLAGS'
2339 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2340 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2341 ac_compiler_gnu=$ac_cv_c_compiler_gnu
2348 ac_config_headers="$ac_config_headers config.h"
2353 am__api_version='1.11'
2356 for ac_dir in "$srcdir" "$srcdir/.." "$srcdir/../.."; do
2357 if test -f "$ac_dir/install-sh"; then
2359 ac_install_sh="$ac_aux_dir/install-sh -c"
2361 elif test -f "$ac_dir/install.sh"; then
2363 ac_install_sh="$ac_aux_dir/install.sh -c"
2365 elif test -f "$ac_dir/shtool"; then
2367 ac_install_sh="$ac_aux_dir/shtool install -c"
2371 if test -z "$ac_aux_dir"; then
2372 as_fn_error $? "cannot find install-sh, install.sh, or shtool in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" "$LINENO" 5
2375 # These three variables are undocumented and unsupported,
2376 # and are intended to be withdrawn in a future Autoconf release.
2377 # They can cause serious problems if a builder's source tree is in a directory
2378 # whose full name contains unusual characters.
2379 ac_config_guess="$SHELL $ac_aux_dir/config.guess" # Please don't use this var.
2380 ac_config_sub="$SHELL $ac_aux_dir/config.sub" # Please don't use this var.
2381 ac_configure="$SHELL $ac_aux_dir/configure" # Please don't use this var.
2384 # Find a good install program. We prefer a C program (faster),
2385 # so one script is as good as another. But avoid the broken or
2386 # incompatible versions:
2387 # SysV /etc/install, /usr/sbin/install
2388 # SunOS /usr/etc/install
2389 # IRIX /sbin/install
2391 # AmigaOS /C/install, which installs bootblocks on floppy discs
2392 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
2393 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
2394 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
2395 # OS/2's system install, which has a completely different semantic
2396 # ./install, which can be erroneously created by make from ./install.sh.
2397 # Reject install programs that cannot install multiple files.
2398 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a BSD-compatible install" >&5
2399 $as_echo_n "checking for a BSD-compatible install... " >&6; }
2400 if test -z "$INSTALL"; then
2401 if ${ac_cv_path_install+:} false; then :
2402 $as_echo_n "(cached) " >&6
2404 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2408 test -z "$as_dir" && as_dir=.
2409 # Account for people who put trailing slashes in PATH elements.
2410 case $as_dir/ in #((
2411 ./ | .// | /[cC]/* | \
2412 /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
2413 ?:[\\/]os2[\\/]install[\\/]* | ?:[\\/]OS2[\\/]INSTALL[\\/]* | \
2416 # OSF1 and SCO ODT 3.0 have their own names for install.
2417 # Don't use installbsd from OSF since it installs stuff as root
2419 for ac_prog in ginstall scoinst install; do
2420 for ac_exec_ext in '' $ac_executable_extensions; do
2421 if { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; }; then
2422 if test $ac_prog = install &&
2423 grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
2424 # AIX install. It has an incompatible calling convention.
2426 elif test $ac_prog = install &&
2427 grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
2428 # program-specific install script used by HP pwplus--don't use.
2431 rm -rf conftest.one conftest.two conftest.dir
2432 echo one > conftest.one
2433 echo two > conftest.two
2435 if "$as_dir/$ac_prog$ac_exec_ext" -c conftest.one conftest.two "`pwd`/conftest.dir" &&
2436 test -s conftest.one && test -s conftest.two &&
2437 test -s conftest.dir/conftest.one &&
2438 test -s conftest.dir/conftest.two
2440 ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
2453 rm -rf conftest.one conftest.two conftest.dir
2456 if test "${ac_cv_path_install+set}" = set; then
2457 INSTALL=$ac_cv_path_install
2459 # As a last resort, use the slow shell script. Don't cache a
2460 # value for INSTALL within a source directory, because that will
2461 # break other packages using the cache if that directory is
2462 # removed, or if the value is a relative name.
2463 INSTALL=$ac_install_sh
2466 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $INSTALL" >&5
2467 $as_echo "$INSTALL" >&6; }
2469 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
2470 # It thinks the first close brace ends the variable substitution.
2471 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
2473 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
2475 test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
2477 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether build environment is sane" >&5
2478 $as_echo_n "checking whether build environment is sane... " >&6; }
2481 echo timestamp > conftest.file
2482 # Reject unsafe characters in $srcdir or the absolute working directory
2483 # name. Accept space and tab only in the latter.
2487 *[\\\"\#\$\&\'\`$am_lf]*)
2488 as_fn_error $? "unsafe absolute working directory name" "$LINENO" 5;;
2491 *[\\\"\#\$\&\'\`$am_lf\ \ ]*)
2492 as_fn_error $? "unsafe srcdir value: \`$srcdir'" "$LINENO" 5;;
2495 # Do `set' in a subshell so we don't clobber the current shell's
2496 # arguments. Must try -L first in case configure is actually a
2497 # symlink; some systems play weird games with the mod time of symlinks
2498 # (eg FreeBSD returns the mod time of the symlink's containing
2501 set X `ls -Lt "$srcdir/configure" conftest.file 2> /dev/null`
2502 if test "$*" = "X"; then
2504 set X `ls -t "$srcdir/configure" conftest.file`
2507 if test "$*" != "X $srcdir/configure conftest.file" \
2508 && test "$*" != "X conftest.file $srcdir/configure"; then
2510 # If neither matched, then we have a broken ls. This can happen
2511 # if, for instance, CONFIG_SHELL is bash and it inherits a
2512 # broken ls alias from the environment. This has actually
2513 # happened. Such a system could not be considered "sane".
2514 as_fn_error $? "ls -t appears to fail. Make sure there is not a broken
2515 alias in your environment" "$LINENO" 5
2518 test "$2" = conftest.file
2524 as_fn_error $? "newly created file is older than distributed files!
2525 Check your system clock" "$LINENO" 5
2527 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
2528 $as_echo "yes" >&6; }
2529 test "$program_prefix" != NONE &&
2530 program_transform_name="s&^&$program_prefix&;$program_transform_name"
2531 # Use a double $ so make ignores it.
2532 test "$program_suffix" != NONE &&
2533 program_transform_name="s&\$&$program_suffix&;$program_transform_name"
2534 # Double any \ or $.
2535 # By default was `s,x,x', remove it if useless.
2536 ac_script='s/[\\$]/&&/g;s/;s,x,x,$//'
2537 program_transform_name=`$as_echo "$program_transform_name" | sed "$ac_script"`
2539 # expand $ac_aux_dir to an absolute path
2540 am_aux_dir=`cd $ac_aux_dir && pwd`
2542 if test x"${MISSING+set}" != xset; then
2545 MISSING="\${SHELL} \"$am_aux_dir/missing\"" ;;
2547 MISSING="\${SHELL} $am_aux_dir/missing" ;;
2550 # Use eval to expand $SHELL
2551 if eval "$MISSING --run true"; then
2552 am_missing_run="$MISSING --run "
2555 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \`missing' script is too old or missing" >&5
2556 $as_echo "$as_me: WARNING: \`missing' script is too old or missing" >&2;}
2559 if test x"${install_sh}" != xset; then
2562 install_sh="\${SHELL} '$am_aux_dir/install-sh'" ;;
2564 install_sh="\${SHELL} $am_aux_dir/install-sh"
2568 # Installed binaries are usually stripped using `strip' when the user
2569 # run `make install-strip'. However `strip' might not be the right
2570 # tool to use in cross-compilation environments, therefore Automake
2571 # will honor the `STRIP' environment variable to overrule this program.
2572 if test "$cross_compiling" != no; then
2573 if test -n "$ac_tool_prefix"; then
2574 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
2575 set dummy ${ac_tool_prefix}strip; ac_word=$2
2576 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2577 $as_echo_n "checking for $ac_word... " >&6; }
2578 if ${ac_cv_prog_STRIP+:} false; then :
2579 $as_echo_n "(cached) " >&6
2581 if test -n "$STRIP"; then
2582 ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
2584 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2588 test -z "$as_dir" && as_dir=.
2589 for ac_exec_ext in '' $ac_executable_extensions; do
2590 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2591 ac_cv_prog_STRIP="${ac_tool_prefix}strip"
2592 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2601 STRIP=$ac_cv_prog_STRIP
2602 if test -n "$STRIP"; then
2603 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
2604 $as_echo "$STRIP" >&6; }
2606 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2607 $as_echo "no" >&6; }
2612 if test -z "$ac_cv_prog_STRIP"; then
2614 # Extract the first word of "strip", so it can be a program name with args.
2615 set dummy strip; ac_word=$2
2616 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2617 $as_echo_n "checking for $ac_word... " >&6; }
2618 if ${ac_cv_prog_ac_ct_STRIP+:} false; then :
2619 $as_echo_n "(cached) " >&6
2621 if test -n "$ac_ct_STRIP"; then
2622 ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
2624 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2628 test -z "$as_dir" && as_dir=.
2629 for ac_exec_ext in '' $ac_executable_extensions; do
2630 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2631 ac_cv_prog_ac_ct_STRIP="strip"
2632 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2641 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
2642 if test -n "$ac_ct_STRIP"; then
2643 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
2644 $as_echo "$ac_ct_STRIP" >&6; }
2646 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2647 $as_echo "no" >&6; }
2650 if test "x$ac_ct_STRIP" = x; then
2653 case $cross_compiling:$ac_tool_warned in
2655 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
2656 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
2657 ac_tool_warned=yes ;;
2662 STRIP="$ac_cv_prog_STRIP"
2666 INSTALL_STRIP_PROGRAM="\$(install_sh) -c -s"
2668 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a thread-safe mkdir -p" >&5
2669 $as_echo_n "checking for a thread-safe mkdir -p... " >&6; }
2670 if test -z "$MKDIR_P"; then
2671 if ${ac_cv_path_mkdir+:} false; then :
2672 $as_echo_n "(cached) " >&6
2674 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2675 for as_dir in $PATH$PATH_SEPARATOR/opt/sfw/bin
2678 test -z "$as_dir" && as_dir=.
2679 for ac_prog in mkdir gmkdir; do
2680 for ac_exec_ext in '' $ac_executable_extensions; do
2681 { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; } || continue
2682 case `"$as_dir/$ac_prog$ac_exec_ext" --version 2>&1` in #(
2683 'mkdir (GNU coreutils) '* | \
2684 'mkdir (coreutils) '* | \
2685 'mkdir (fileutils) '4.1*)
2686 ac_cv_path_mkdir=$as_dir/$ac_prog$ac_exec_ext
2696 test -d ./--version && rmdir ./--version
2697 if test "${ac_cv_path_mkdir+set}" = set; then
2698 MKDIR_P="$ac_cv_path_mkdir -p"
2700 # As a last resort, use the slow shell script. Don't cache a
2701 # value for MKDIR_P within a source directory, because that will
2702 # break other packages using the cache if that directory is
2703 # removed, or if the value is a relative name.
2704 MKDIR_P="$ac_install_sh -d"
2707 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MKDIR_P" >&5
2708 $as_echo "$MKDIR_P" >&6; }
2712 [\\/$]* | ?:[\\/]*) ;;
2713 */*) mkdir_p="\$(top_builddir)/$mkdir_p" ;;
2716 for ac_prog in gawk mawk nawk awk
2718 # Extract the first word of "$ac_prog", so it can be a program name with args.
2719 set dummy $ac_prog; ac_word=$2
2720 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2721 $as_echo_n "checking for $ac_word... " >&6; }
2722 if ${ac_cv_prog_AWK+:} false; then :
2723 $as_echo_n "(cached) " >&6
2725 if test -n "$AWK"; then
2726 ac_cv_prog_AWK="$AWK" # Let the user override the test.
2728 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2732 test -z "$as_dir" && as_dir=.
2733 for ac_exec_ext in '' $ac_executable_extensions; do
2734 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2735 ac_cv_prog_AWK="$ac_prog"
2736 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2746 if test -n "$AWK"; then
2747 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AWK" >&5
2748 $as_echo "$AWK" >&6; }
2750 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2751 $as_echo "no" >&6; }
2755 test -n "$AWK" && break
2758 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5
2759 $as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; }
2761 ac_make=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
2762 if eval \${ac_cv_prog_make_${ac_make}_set+:} false; then :
2763 $as_echo_n "(cached) " >&6
2765 cat >conftest.make <<\_ACEOF
2768 @echo '@@@%%%=$(MAKE)=@@@%%%'
2770 # GNU make sometimes prints "make[1]: Entering ...", which would confuse us.
2771 case `${MAKE-make} -f conftest.make 2>/dev/null` in
2773 eval ac_cv_prog_make_${ac_make}_set=yes;;
2775 eval ac_cv_prog_make_${ac_make}_set=no;;
2779 if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then
2780 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
2781 $as_echo "yes" >&6; }
2784 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2785 $as_echo "no" >&6; }
2786 SET_MAKE="MAKE=${MAKE-make}"
2789 rm -rf .tst 2>/dev/null
2790 mkdir .tst 2>/dev/null
2791 if test -d .tst; then
2796 rmdir .tst 2>/dev/null
2798 if test "`cd $srcdir && pwd`" != "`pwd`"; then
2799 # Use -I$(srcdir) only when $(srcdir) != ., so that make's output
2800 # is not polluted with repeated "-I."
2801 am__isrc=' -I$(srcdir)'
2802 # test to see if srcdir already configured
2803 if test -f $srcdir/config.status; then
2804 as_fn_error $? "source directory already configured; run \"make distclean\" there first" "$LINENO" 5
2808 # test whether we have cygpath
2809 if test -z "$CYGPATH_W"; then
2810 if (cygpath --version) >/dev/null 2>/dev/null; then
2811 CYGPATH_W='cygpath -w'
2818 # Define the identity of the package.
2823 cat >>confdefs.h <<_ACEOF
2824 #define PACKAGE "$PACKAGE"
2828 cat >>confdefs.h <<_ACEOF
2829 #define VERSION "$VERSION"
2832 # Some tools Automake needs.
2834 ACLOCAL=${ACLOCAL-"${am_missing_run}aclocal-${am__api_version}"}
2837 AUTOCONF=${AUTOCONF-"${am_missing_run}autoconf"}
2840 AUTOMAKE=${AUTOMAKE-"${am_missing_run}automake-${am__api_version}"}
2843 AUTOHEADER=${AUTOHEADER-"${am_missing_run}autoheader"}
2846 MAKEINFO=${MAKEINFO-"${am_missing_run}makeinfo"}
2848 # We need awk for the "check" target. The system "awk" is bad on
2850 # Always define AMTAR for backward compatibility. Yes, it's still used
2851 # in the wild :-( We should find a proper way to deprecate it ...
2854 am__tar='$${TAR-tar} chof - "$$tardir"' am__untar='$${TAR-tar} xf -'
2860 # Check whether --enable-silent-rules was given.
2861 if test "${enable_silent_rules+set}" = set; then :
2862 enableval=$enable_silent_rules;
2865 case $enable_silent_rules in
2866 yes) AM_DEFAULT_VERBOSITY=0;;
2867 no) AM_DEFAULT_VERBOSITY=1;;
2868 *) AM_DEFAULT_VERBOSITY=0;;
2870 am_make=${MAKE-make}
2871 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $am_make supports nested variables" >&5
2872 $as_echo_n "checking whether $am_make supports nested variables... " >&6; }
2873 if ${am_cv_make_support_nested_variables+:} false; then :
2874 $as_echo_n "(cached) " >&6
2876 if $as_echo 'TRUE=$(BAR$(V))
2882 .PHONY: am__doit' | $am_make -f - >/dev/null 2>&1; then
2883 am_cv_make_support_nested_variables=yes
2885 am_cv_make_support_nested_variables=no
2888 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_make_support_nested_variables" >&5
2889 $as_echo "$am_cv_make_support_nested_variables" >&6; }
2890 if test $am_cv_make_support_nested_variables = yes; then
2892 AM_DEFAULT_V='$(AM_DEFAULT_VERBOSITY)'
2894 AM_V=$AM_DEFAULT_VERBOSITY
2895 AM_DEFAULT_V=$AM_DEFAULT_VERBOSITY
2902 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Libtool does not cope well with whitespace in \`pwd\`" >&5
2903 $as_echo "$as_me: WARNING: Libtool does not cope well with whitespace in \`pwd\`" >&2;} ;;
2908 macro_version='2.4.2'
2909 macro_revision='1.3337'
2923 ltmain="$ac_aux_dir/ltmain.sh"
2925 # Make sure we can run config.sub.
2926 $SHELL "$ac_aux_dir/config.sub" sun4 >/dev/null 2>&1 ||
2927 as_fn_error $? "cannot run $SHELL $ac_aux_dir/config.sub" "$LINENO" 5
2929 { $as_echo "$as_me:${as_lineno-$LINENO}: checking build system type" >&5
2930 $as_echo_n "checking build system type... " >&6; }
2931 if ${ac_cv_build+:} false; then :
2932 $as_echo_n "(cached) " >&6
2934 ac_build_alias=$build_alias
2935 test "x$ac_build_alias" = x &&
2936 ac_build_alias=`$SHELL "$ac_aux_dir/config.guess"`
2937 test "x$ac_build_alias" = x &&
2938 as_fn_error $? "cannot guess build type; you must specify one" "$LINENO" 5
2939 ac_cv_build=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
2940 as_fn_error $? "$SHELL $ac_aux_dir/config.sub $ac_build_alias failed" "$LINENO" 5
2943 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_build" >&5
2944 $as_echo "$ac_cv_build" >&6; }
2945 case $ac_cv_build in
2947 *) as_fn_error $? "invalid value of canonical build" "$LINENO" 5;;
2950 ac_save_IFS=$IFS; IFS='-'
2956 # Remember, the first character of IFS is used to create $*,
2957 # except with old shells:
2960 case $build_os in *\ *) build_os=`echo "$build_os" | sed 's/ /-/g'`;; esac
2963 { $as_echo "$as_me:${as_lineno-$LINENO}: checking host system type" >&5
2964 $as_echo_n "checking host system type... " >&6; }
2965 if ${ac_cv_host+:} false; then :
2966 $as_echo_n "(cached) " >&6
2968 if test "x$host_alias" = x; then
2969 ac_cv_host=$ac_cv_build
2971 ac_cv_host=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
2972 as_fn_error $? "$SHELL $ac_aux_dir/config.sub $host_alias failed" "$LINENO" 5
2976 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_host" >&5
2977 $as_echo "$ac_cv_host" >&6; }
2980 *) as_fn_error $? "invalid value of canonical host" "$LINENO" 5;;
2983 ac_save_IFS=$IFS; IFS='-'
2989 # Remember, the first character of IFS is used to create $*,
2990 # except with old shells:
2993 case $host_os in *\ *) host_os=`echo "$host_os" | sed 's/ /-/g'`;; esac
2996 # Backslashify metacharacters that are still active within
2997 # double-quoted strings.
2998 sed_quote_subst='s/\(["`$\\]\)/\\\1/g'
3000 # Same as above, but do not quote variable references.
3001 double_quote_subst='s/\(["`\\]\)/\\\1/g'
3003 # Sed substitution to delay expansion of an escaped shell variable in a
3004 # double_quote_subst'ed string.
3005 delay_variable_subst='s/\\\\\\\\\\\$/\\\\\\$/g'
3007 # Sed substitution to delay expansion of an escaped single quote.
3008 delay_single_quote_subst='s/'\''/'\'\\\\\\\'\''/g'
3010 # Sed substitution to avoid accidental globbing in evaled expressions
3011 no_glob_subst='s/\*/\\\*/g'
3013 ECHO='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
3014 ECHO=$ECHO$ECHO$ECHO$ECHO$ECHO
3015 ECHO=$ECHO$ECHO$ECHO$ECHO$ECHO$ECHO
3017 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to print strings" >&5
3018 $as_echo_n "checking how to print strings... " >&6; }
3019 # Test print first, because it will be a builtin if present.
3020 if test "X`( print -r -- -n ) 2>/dev/null`" = X-n && \
3021 test "X`print -r -- $ECHO 2>/dev/null`" = "X$ECHO"; then
3023 elif test "X`printf %s $ECHO 2>/dev/null`" = "X$ECHO"; then
3026 # Use this function as a fallback that always works.
3027 func_fallback_echo ()
3029 eval 'cat <<_LTECHO_EOF
3033 ECHO='func_fallback_echo'
3036 # func_echo_all arg...
3037 # Invoke $ECHO with all args, space-separated.
3044 printf*) { $as_echo "$as_me:${as_lineno-$LINENO}: result: printf" >&5
3045 $as_echo "printf" >&6; } ;;
3046 print*) { $as_echo "$as_me:${as_lineno-$LINENO}: result: print -r" >&5
3047 $as_echo "print -r" >&6; } ;;
3048 *) { $as_echo "$as_me:${as_lineno-$LINENO}: result: cat" >&5
3049 $as_echo "cat" >&6; } ;;
3065 DEPDIR="${am__leading_dot}deps"
3067 ac_config_commands="$ac_config_commands depfiles"
3070 am_make=${MAKE-make}
3071 cat > confinc << 'END'
3073 @echo this is the am__doit target
3076 # If we don't find an include directive, just comment out the code.
3077 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for style of include used by $am_make" >&5
3078 $as_echo_n "checking for style of include used by $am_make... " >&6; }
3082 # First try GNU make style include.
3083 echo "include confinc" > confmf
3084 # Ignore all kinds of additional output from `make'.
3085 case `$am_make -s -f confmf 2> /dev/null` in #(
3086 *the\ am__doit\ target*)
3092 # Now try BSD make style include.
3093 if test "$am__include" = "#"; then
3094 echo '.include "confinc"' > confmf
3095 case `$am_make -s -f confmf 2> /dev/null` in #(
3096 *the\ am__doit\ target*)
3097 am__include=.include
3105 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $_am_result" >&5
3106 $as_echo "$_am_result" >&6; }
3107 rm -f confinc confmf
3109 # Check whether --enable-dependency-tracking was given.
3110 if test "${enable_dependency_tracking+set}" = set; then :
3111 enableval=$enable_dependency_tracking;
3114 if test "x$enable_dependency_tracking" != xno; then
3115 am_depcomp="$ac_aux_dir/depcomp"
3119 if test "x$enable_dependency_tracking" != xno; then
3129 ac_cpp='$CPP $CPPFLAGS'
3130 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3131 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3132 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3133 if test -n "$ac_tool_prefix"; then
3134 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
3135 set dummy ${ac_tool_prefix}gcc; ac_word=$2
3136 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3137 $as_echo_n "checking for $ac_word... " >&6; }
3138 if ${ac_cv_prog_CC+:} false; then :
3139 $as_echo_n "(cached) " >&6
3141 if test -n "$CC"; then
3142 ac_cv_prog_CC="$CC" # Let the user override the test.
3144 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3148 test -z "$as_dir" && as_dir=.
3149 for ac_exec_ext in '' $ac_executable_extensions; do
3150 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3151 ac_cv_prog_CC="${ac_tool_prefix}gcc"
3152 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3162 if test -n "$CC"; then
3163 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3164 $as_echo "$CC" >&6; }
3166 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3167 $as_echo "no" >&6; }
3172 if test -z "$ac_cv_prog_CC"; then
3174 # Extract the first word of "gcc", so it can be a program name with args.
3175 set dummy gcc; ac_word=$2
3176 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3177 $as_echo_n "checking for $ac_word... " >&6; }
3178 if ${ac_cv_prog_ac_ct_CC+:} false; then :
3179 $as_echo_n "(cached) " >&6
3181 if test -n "$ac_ct_CC"; then
3182 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
3184 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3188 test -z "$as_dir" && as_dir=.
3189 for ac_exec_ext in '' $ac_executable_extensions; do
3190 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3191 ac_cv_prog_ac_ct_CC="gcc"
3192 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3201 ac_ct_CC=$ac_cv_prog_ac_ct_CC
3202 if test -n "$ac_ct_CC"; then
3203 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
3204 $as_echo "$ac_ct_CC" >&6; }
3206 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3207 $as_echo "no" >&6; }
3210 if test "x$ac_ct_CC" = x; then
3213 case $cross_compiling:$ac_tool_warned in
3215 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3216 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3217 ac_tool_warned=yes ;;
3225 if test -z "$CC"; then
3226 if test -n "$ac_tool_prefix"; then
3227 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
3228 set dummy ${ac_tool_prefix}cc; ac_word=$2
3229 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3230 $as_echo_n "checking for $ac_word... " >&6; }
3231 if ${ac_cv_prog_CC+:} false; then :
3232 $as_echo_n "(cached) " >&6
3234 if test -n "$CC"; then
3235 ac_cv_prog_CC="$CC" # Let the user override the test.
3237 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3241 test -z "$as_dir" && as_dir=.
3242 for ac_exec_ext in '' $ac_executable_extensions; do
3243 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3244 ac_cv_prog_CC="${ac_tool_prefix}cc"
3245 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3255 if test -n "$CC"; then
3256 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3257 $as_echo "$CC" >&6; }
3259 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3260 $as_echo "no" >&6; }
3266 if test -z "$CC"; then
3267 # Extract the first word of "cc", so it can be a program name with args.
3268 set dummy cc; ac_word=$2
3269 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3270 $as_echo_n "checking for $ac_word... " >&6; }
3271 if ${ac_cv_prog_CC+:} false; then :
3272 $as_echo_n "(cached) " >&6
3274 if test -n "$CC"; then
3275 ac_cv_prog_CC="$CC" # Let the user override the test.
3278 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3282 test -z "$as_dir" && as_dir=.
3283 for ac_exec_ext in '' $ac_executable_extensions; do
3284 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3285 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
3286 ac_prog_rejected=yes
3290 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3297 if test $ac_prog_rejected = yes; then
3298 # We found a bogon in the path, so make sure we never use it.
3299 set dummy $ac_cv_prog_CC
3301 if test $# != 0; then
3302 # We chose a different compiler from the bogus one.
3303 # However, it has the same basename, so the bogon will be chosen
3304 # first if we set CC to just the basename; use the full file name.
3306 ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
3312 if test -n "$CC"; then
3313 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3314 $as_echo "$CC" >&6; }
3316 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3317 $as_echo "no" >&6; }
3322 if test -z "$CC"; then
3323 if test -n "$ac_tool_prefix"; then
3324 for ac_prog in cl.exe
3326 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
3327 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
3328 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3329 $as_echo_n "checking for $ac_word... " >&6; }
3330 if ${ac_cv_prog_CC+:} false; then :
3331 $as_echo_n "(cached) " >&6
3333 if test -n "$CC"; then
3334 ac_cv_prog_CC="$CC" # Let the user override the test.
3336 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3340 test -z "$as_dir" && as_dir=.
3341 for ac_exec_ext in '' $ac_executable_extensions; do
3342 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3343 ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
3344 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3354 if test -n "$CC"; then
3355 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3356 $as_echo "$CC" >&6; }
3358 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3359 $as_echo "no" >&6; }
3363 test -n "$CC" && break
3366 if test -z "$CC"; then
3368 for ac_prog in cl.exe
3370 # Extract the first word of "$ac_prog", so it can be a program name with args.
3371 set dummy $ac_prog; ac_word=$2
3372 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3373 $as_echo_n "checking for $ac_word... " >&6; }
3374 if ${ac_cv_prog_ac_ct_CC+:} false; then :
3375 $as_echo_n "(cached) " >&6
3377 if test -n "$ac_ct_CC"; then
3378 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
3380 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3384 test -z "$as_dir" && as_dir=.
3385 for ac_exec_ext in '' $ac_executable_extensions; do
3386 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3387 ac_cv_prog_ac_ct_CC="$ac_prog"
3388 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3397 ac_ct_CC=$ac_cv_prog_ac_ct_CC
3398 if test -n "$ac_ct_CC"; then
3399 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
3400 $as_echo "$ac_ct_CC" >&6; }
3402 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3403 $as_echo "no" >&6; }
3407 test -n "$ac_ct_CC" && break
3410 if test "x$ac_ct_CC" = x; then
3413 case $cross_compiling:$ac_tool_warned in
3415 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3416 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3417 ac_tool_warned=yes ;;
3426 test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3427 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3428 as_fn_error $? "no acceptable C compiler found in \$PATH
3429 See \`config.log' for more details" "$LINENO" 5; }
3431 # Provide some information about the compiler.
3432 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
3435 for ac_option in --version -v -V -qversion; do
3436 { { ac_try="$ac_compiler $ac_option >&5"
3438 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3439 *) ac_try_echo=$ac_try;;
3441 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3442 $as_echo "$ac_try_echo"; } >&5
3443 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
3445 if test -s conftest.err; then
3447 ... rest of stderr output deleted ...
3448 10q' conftest.err >conftest.er1
3449 cat conftest.er1 >&5
3451 rm -f conftest.er1 conftest.err
3452 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3453 test $ac_status = 0; }
3456 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3457 /* end confdefs.h. */
3467 ac_clean_files_save=$ac_clean_files
3468 ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out"
3469 # Try to create an executable without -o first, disregard a.out.
3470 # It will help us diagnose broken compilers, and finding out an intuition
3472 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler works" >&5
3473 $as_echo_n "checking whether the C compiler works... " >&6; }
3474 ac_link_default=`$as_echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
3476 # The possible output files:
3477 ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*"
3480 for ac_file in $ac_files
3483 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
3484 * ) ac_rmfiles="$ac_rmfiles $ac_file";;
3489 if { { ac_try="$ac_link_default"
3491 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3492 *) ac_try_echo=$ac_try;;
3494 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3495 $as_echo "$ac_try_echo"; } >&5
3496 (eval "$ac_link_default") 2>&5
3498 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3499 test $ac_status = 0; }; then :
3500 # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
3501 # So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
3502 # in a Makefile. We should not override ac_cv_exeext if it was cached,
3503 # so that the user can short-circuit this test for compilers unknown to
3505 for ac_file in $ac_files ''
3507 test -f "$ac_file" || continue
3509 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj )
3512 # We found the default executable, but exeext='' is most
3516 if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no;
3518 ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
3520 # We set ac_cv_exeext here because the later test for it is not
3521 # safe: cross compilers may not add the suffix if given an `-o'
3522 # argument, so we may need to know it at that point already.
3523 # Even if this section looks crufty: it has the advantage of
3530 test "$ac_cv_exeext" = no && ac_cv_exeext=
3535 if test -z "$ac_file"; then :
3536 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3537 $as_echo "no" >&6; }
3538 $as_echo "$as_me: failed program was:" >&5
3539 sed 's/^/| /' conftest.$ac_ext >&5
3541 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3542 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3543 as_fn_error 77 "C compiler cannot create executables
3544 See \`config.log' for more details" "$LINENO" 5; }
3546 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
3547 $as_echo "yes" >&6; }
3549 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler default output file name" >&5
3550 $as_echo_n "checking for C compiler default output file name... " >&6; }
3551 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5
3552 $as_echo "$ac_file" >&6; }
3553 ac_exeext=$ac_cv_exeext
3555 rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out
3556 ac_clean_files=$ac_clean_files_save
3557 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5
3558 $as_echo_n "checking for suffix of executables... " >&6; }
3559 if { { ac_try="$ac_link"
3561 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3562 *) ac_try_echo=$ac_try;;
3564 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3565 $as_echo "$ac_try_echo"; } >&5
3566 (eval "$ac_link") 2>&5
3568 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3569 test $ac_status = 0; }; then :
3570 # If both `conftest.exe' and `conftest' are `present' (well, observable)
3571 # catch `conftest.exe'. For instance with Cygwin, `ls conftest' will
3572 # work properly (i.e., refer to `conftest.exe'), while it won't with
3574 for ac_file in conftest.exe conftest conftest.*; do
3575 test -f "$ac_file" || continue
3577 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
3578 *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
3584 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3585 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3586 as_fn_error $? "cannot compute suffix of executables: cannot compile and link
3587 See \`config.log' for more details" "$LINENO" 5; }
3589 rm -f conftest conftest$ac_cv_exeext
3590 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5
3591 $as_echo "$ac_cv_exeext" >&6; }
3593 rm -f conftest.$ac_ext
3594 EXEEXT=$ac_cv_exeext
3596 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3597 /* end confdefs.h. */
3602 FILE *f = fopen ("conftest.out", "w");
3603 return ferror (f) || fclose (f) != 0;
3609 ac_clean_files="$ac_clean_files conftest.out"
3610 # Check that the compiler produces executables we can run. If not, either
3611 # the compiler is broken, or we cross compile.
3612 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5
3613 $as_echo_n "checking whether we are cross compiling... " >&6; }
3614 if test "$cross_compiling" != yes; then
3615 { { ac_try="$ac_link"
3617 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3618 *) ac_try_echo=$ac_try;;
3620 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3621 $as_echo "$ac_try_echo"; } >&5
3622 (eval "$ac_link") 2>&5
3624 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3625 test $ac_status = 0; }
3626 if { ac_try='./conftest$ac_cv_exeext'
3627 { { case "(($ac_try" in
3628 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3629 *) ac_try_echo=$ac_try;;
3631 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3632 $as_echo "$ac_try_echo"; } >&5
3633 (eval "$ac_try") 2>&5
3635 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3636 test $ac_status = 0; }; }; then
3639 if test "$cross_compiling" = maybe; then
3642 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3643 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3644 as_fn_error $? "cannot run C compiled programs.
3645 If you meant to cross compile, use \`--host'.
3646 See \`config.log' for more details" "$LINENO" 5; }
3650 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5
3651 $as_echo "$cross_compiling" >&6; }
3653 rm -f conftest.$ac_ext conftest$ac_cv_exeext conftest.out
3654 ac_clean_files=$ac_clean_files_save
3655 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5
3656 $as_echo_n "checking for suffix of object files... " >&6; }
3657 if ${ac_cv_objext+:} false; then :
3658 $as_echo_n "(cached) " >&6
3660 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3661 /* end confdefs.h. */
3671 rm -f conftest.o conftest.obj
3672 if { { ac_try="$ac_compile"
3674 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3675 *) ac_try_echo=$ac_try;;
3677 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3678 $as_echo "$ac_try_echo"; } >&5
3679 (eval "$ac_compile") 2>&5
3681 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3682 test $ac_status = 0; }; then :
3683 for ac_file in conftest.o conftest.obj conftest.*; do
3684 test -f "$ac_file" || continue;
3686 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;;
3687 *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
3692 $as_echo "$as_me: failed program was:" >&5
3693 sed 's/^/| /' conftest.$ac_ext >&5
3695 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3696 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3697 as_fn_error $? "cannot compute suffix of object files: cannot compile
3698 See \`config.log' for more details" "$LINENO" 5; }
3700 rm -f conftest.$ac_cv_objext conftest.$ac_ext
3702 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5
3703 $as_echo "$ac_cv_objext" >&6; }
3704 OBJEXT=$ac_cv_objext
3706 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
3707 $as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
3708 if ${ac_cv_c_compiler_gnu+:} false; then :
3709 $as_echo_n "(cached) " >&6
3711 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3712 /* end confdefs.h. */
3725 if ac_fn_c_try_compile "$LINENO"; then :
3730 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3731 ac_cv_c_compiler_gnu=$ac_compiler_gnu
3734 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
3735 $as_echo "$ac_cv_c_compiler_gnu" >&6; }
3736 if test $ac_compiler_gnu = yes; then
3741 ac_test_CFLAGS=${CFLAGS+set}
3742 ac_save_CFLAGS=$CFLAGS
3743 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
3744 $as_echo_n "checking whether $CC accepts -g... " >&6; }
3745 if ${ac_cv_prog_cc_g+:} false; then :
3746 $as_echo_n "(cached) " >&6
3748 ac_save_c_werror_flag=$ac_c_werror_flag
3749 ac_c_werror_flag=yes
3752 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3753 /* end confdefs.h. */
3763 if ac_fn_c_try_compile "$LINENO"; then :
3767 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3768 /* end confdefs.h. */
3778 if ac_fn_c_try_compile "$LINENO"; then :
3781 ac_c_werror_flag=$ac_save_c_werror_flag
3783 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3784 /* end confdefs.h. */
3794 if ac_fn_c_try_compile "$LINENO"; then :
3797 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3799 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3801 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3802 ac_c_werror_flag=$ac_save_c_werror_flag
3804 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
3805 $as_echo "$ac_cv_prog_cc_g" >&6; }
3806 if test "$ac_test_CFLAGS" = set; then
3807 CFLAGS=$ac_save_CFLAGS
3808 elif test $ac_cv_prog_cc_g = yes; then
3809 if test "$GCC" = yes; then
3815 if test "$GCC" = yes; then
3821 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
3822 $as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
3823 if ${ac_cv_prog_cc_c89+:} false; then :
3824 $as_echo_n "(cached) " >&6
3826 ac_cv_prog_cc_c89=no
3828 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3829 /* end confdefs.h. */
3832 #include <sys/types.h>
3833 #include <sys/stat.h>
3834 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
3835 struct buf { int x; };
3836 FILE * (*rcsopen) (struct buf *, struct stat *, int);
3837 static char *e (p, i)
3843 static char *f (char * (*g) (char **, int), char **p, ...)
3848 s = g (p, va_arg (v,int));
3853 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
3854 function prototypes and stuff, but not '\xHH' hex character constants.
3855 These don't provoke an error unfortunately, instead are silently treated
3856 as 'x'. The following induces an error, until -std is added to get
3857 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
3858 array size at least. It's necessary to write '\x00'==0 to get something
3859 that's true only with -std. */
3860 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
3862 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
3863 inside strings and character constants. */
3865 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
3867 int test (int i, double x);
3868 struct s1 {int (*f) (int a);};
3869 struct s2 {int (*f) (double a);};
3870 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
3876 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
3881 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
3882 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
3884 CC="$ac_save_CC $ac_arg"
3885 if ac_fn_c_try_compile "$LINENO"; then :
3886 ac_cv_prog_cc_c89=$ac_arg
3888 rm -f core conftest.err conftest.$ac_objext
3889 test "x$ac_cv_prog_cc_c89" != "xno" && break
3891 rm -f conftest.$ac_ext
3896 case "x$ac_cv_prog_cc_c89" in
3898 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
3899 $as_echo "none needed" >&6; } ;;
3901 { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
3902 $as_echo "unsupported" >&6; } ;;
3904 CC="$CC $ac_cv_prog_cc_c89"
3905 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
3906 $as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
3908 if test "x$ac_cv_prog_cc_c89" != xno; then :
3913 ac_cpp='$CPP $CPPFLAGS'
3914 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3915 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3916 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3918 depcc="$CC" am_compiler_list=
3920 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5
3921 $as_echo_n "checking dependency style of $depcc... " >&6; }
3922 if ${am_cv_CC_dependencies_compiler_type+:} false; then :
3923 $as_echo_n "(cached) " >&6
3925 if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
3926 # We make a subdir and do the tests there. Otherwise we can end up
3927 # making bogus files that we don't know about and never remove. For
3928 # instance it was reported that on HP-UX the gcc test will end up
3929 # making a dummy file named `D' -- because `-MD' means `put the output
3933 # Copy depcomp to subdir because otherwise we won't find it if we're
3934 # using a relative directory.
3935 cp "$am_depcomp" conftest.dir
3937 # We will build objects and dependencies in a subdirectory because
3938 # it helps to detect inapplicable dependency modes. For instance
3939 # both Tru64's cc and ICC support -MD to output dependencies as a
3940 # side effect of compilation, but ICC will put the dependencies in
3941 # the current directory while Tru64 will put them in the object
3945 am_cv_CC_dependencies_compiler_type=none
3946 if test "$am_compiler_list" = ""; then
3947 am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
3950 case " $depcc " in #(
3951 *\ -arch\ *\ -arch\ *) am__universal=true ;;
3954 for depmode in $am_compiler_list; do
3955 # Setup a source with many dependencies, because some compilers
3956 # like to wrap large dependency lists on column 80 (with \), and
3957 # we should not choose a depcomp mode which is confused by this.
3959 # We need to recreate these files for each test, as the compiler may
3960 # overwrite some of them when testing with obscure command lines.
3961 # This happens at least with the AIX C compiler.
3963 for i in 1 2 3 4 5 6; do
3964 echo '#include "conftst'$i'.h"' >> sub/conftest.c
3965 # Using `: > sub/conftst$i.h' creates only sub/conftst1.h with
3966 # Solaris 8's {/usr,}/bin/sh.
3967 touch sub/conftst$i.h
3969 echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
3971 # We check with `-c' and `-o' for the sake of the "dashmstdout"
3972 # mode. It turns out that the SunPro C++ compiler does not properly
3973 # handle `-M -o', and we need to detect this. Also, some Intel
3974 # versions had trouble with output in subdirs
3975 am__obj=sub/conftest.${OBJEXT-o}
3976 am__minus_obj="-o $am__obj"
3979 # This depmode causes a compiler race in universal mode.
3980 test "$am__universal" = false || continue
3983 # after this tag, mechanisms are not by side-effect, so they'll
3984 # only be used when explicitly requested
3985 if test "x$enable_dependency_tracking" = xyes; then
3991 msvc7 | msvc7msys | msvisualcpp | msvcmsys)
3992 # This compiler won't grok `-c -o', but also, the minuso test has
3993 # not run yet. These depmodes are late enough in the game, and
3994 # so weak that their functioning should not be impacted.
3995 am__obj=conftest.${OBJEXT-o}
4000 if depmode=$depmode \
4001 source=sub/conftest.c object=$am__obj \
4002 depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
4003 $SHELL ./depcomp $depcc -c $am__minus_obj sub/conftest.c \
4004 >/dev/null 2>conftest.err &&
4005 grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 &&
4006 grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
4007 grep $am__obj sub/conftest.Po > /dev/null 2>&1 &&
4008 ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
4009 # icc doesn't choke on unknown options, it will just issue warnings
4010 # or remarks (even with -Werror). So we grep stderr for any message
4011 # that says an option was ignored or not supported.
4012 # When given -MP, icc 7.0 and 7.1 complain thusly:
4013 # icc: Command line warning: ignoring option '-M'; no argument required
4014 # The diagnosis changed in icc 8.0:
4015 # icc: Command line remark: option '-MP' not supported
4016 if (grep 'ignoring option' conftest.err ||
4017 grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
4018 am_cv_CC_dependencies_compiler_type=$depmode
4027 am_cv_CC_dependencies_compiler_type=none
4031 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_CC_dependencies_compiler_type" >&5
4032 $as_echo "$am_cv_CC_dependencies_compiler_type" >&6; }
4033 CCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type
4036 test "x$enable_dependency_tracking" != xno \
4037 && test "$am_cv_CC_dependencies_compiler_type" = gcc3; then
4039 am__fastdepCC_FALSE='#'
4041 am__fastdepCC_TRUE='#'
4042 am__fastdepCC_FALSE=
4046 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a sed that does not truncate output" >&5
4047 $as_echo_n "checking for a sed that does not truncate output... " >&6; }
4048 if ${ac_cv_path_SED+:} false; then :
4049 $as_echo_n "(cached) " >&6
4051 ac_script=s/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa/bbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbb/
4052 for ac_i in 1 2 3 4 5 6 7; do
4053 ac_script="$ac_script$as_nl$ac_script"
4055 echo "$ac_script" 2>/dev/null | sed 99q >conftest.sed
4056 { ac_script=; unset ac_script;}
4057 if test -z "$SED"; then
4058 ac_path_SED_found=false
4059 # Loop through the user's path and test for each of PROGNAME-LIST
4060 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4064 test -z "$as_dir" && as_dir=.
4065 for ac_prog in sed gsed; do
4066 for ac_exec_ext in '' $ac_executable_extensions; do
4067 ac_path_SED="$as_dir/$ac_prog$ac_exec_ext"
4068 { test -f "$ac_path_SED" && $as_test_x "$ac_path_SED"; } || continue
4069 # Check for GNU ac_path_SED and select it if it is found.
4070 # Check for GNU $ac_path_SED
4071 case `"$ac_path_SED" --version 2>&1` in
4073 ac_cv_path_SED="$ac_path_SED" ac_path_SED_found=:;;
4076 $as_echo_n 0123456789 >"conftest.in"
4079 cat "conftest.in" "conftest.in" >"conftest.tmp"
4080 mv "conftest.tmp" "conftest.in"
4081 cp "conftest.in" "conftest.nl"
4082 $as_echo '' >> "conftest.nl"
4083 "$ac_path_SED" -f conftest.sed < "conftest.nl" >"conftest.out" 2>/dev/null || break
4084 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
4085 as_fn_arith $ac_count + 1 && ac_count=$as_val
4086 if test $ac_count -gt ${ac_path_SED_max-0}; then
4087 # Best one so far, save it but keep looking for a better one
4088 ac_cv_path_SED="$ac_path_SED"
4089 ac_path_SED_max=$ac_count
4091 # 10*(2^10) chars as input seems more than enough
4092 test $ac_count -gt 10 && break
4094 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
4097 $ac_path_SED_found && break 3
4102 if test -z "$ac_cv_path_SED"; then
4103 as_fn_error $? "no acceptable sed could be found in \$PATH" "$LINENO" 5
4110 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_SED" >&5
4111 $as_echo "$ac_cv_path_SED" >&6; }
4112 SED="$ac_cv_path_SED"
4115 test -z "$SED" && SED=sed
4116 Xsed="$SED -e 1s/^X//"
4128 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for grep that handles long lines and -e" >&5
4129 $as_echo_n "checking for grep that handles long lines and -e... " >&6; }
4130 if ${ac_cv_path_GREP+:} false; then :
4131 $as_echo_n "(cached) " >&6
4133 if test -z "$GREP"; then
4134 ac_path_GREP_found=false
4135 # Loop through the user's path and test for each of PROGNAME-LIST
4136 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4137 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
4140 test -z "$as_dir" && as_dir=.
4141 for ac_prog in grep ggrep; do
4142 for ac_exec_ext in '' $ac_executable_extensions; do
4143 ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext"
4144 { test -f "$ac_path_GREP" && $as_test_x "$ac_path_GREP"; } || continue
4145 # Check for GNU ac_path_GREP and select it if it is found.
4146 # Check for GNU $ac_path_GREP
4147 case `"$ac_path_GREP" --version 2>&1` in
4149 ac_cv_path_GREP="$ac_path_GREP" ac_path_GREP_found=:;;
4152 $as_echo_n 0123456789 >"conftest.in"
4155 cat "conftest.in" "conftest.in" >"conftest.tmp"
4156 mv "conftest.tmp" "conftest.in"
4157 cp "conftest.in" "conftest.nl"
4158 $as_echo 'GREP' >> "conftest.nl"
4159 "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev/null || break
4160 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
4161 as_fn_arith $ac_count + 1 && ac_count=$as_val
4162 if test $ac_count -gt ${ac_path_GREP_max-0}; then
4163 # Best one so far, save it but keep looking for a better one
4164 ac_cv_path_GREP="$ac_path_GREP"
4165 ac_path_GREP_max=$ac_count
4167 # 10*(2^10) chars as input seems more than enough
4168 test $ac_count -gt 10 && break
4170 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
4173 $ac_path_GREP_found && break 3
4178 if test -z "$ac_cv_path_GREP"; then
4179 as_fn_error $? "no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
4182 ac_cv_path_GREP=$GREP
4186 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_GREP" >&5
4187 $as_echo "$ac_cv_path_GREP" >&6; }
4188 GREP="$ac_cv_path_GREP"
4191 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for egrep" >&5
4192 $as_echo_n "checking for egrep... " >&6; }
4193 if ${ac_cv_path_EGREP+:} false; then :
4194 $as_echo_n "(cached) " >&6
4196 if echo a | $GREP -E '(a|b)' >/dev/null 2>&1
4197 then ac_cv_path_EGREP="$GREP -E"
4199 if test -z "$EGREP"; then
4200 ac_path_EGREP_found=false
4201 # Loop through the user's path and test for each of PROGNAME-LIST
4202 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4203 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
4206 test -z "$as_dir" && as_dir=.
4207 for ac_prog in egrep; do
4208 for ac_exec_ext in '' $ac_executable_extensions; do
4209 ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext"
4210 { test -f "$ac_path_EGREP" && $as_test_x "$ac_path_EGREP"; } || continue
4211 # Check for GNU ac_path_EGREP and select it if it is found.
4212 # Check for GNU $ac_path_EGREP
4213 case `"$ac_path_EGREP" --version 2>&1` in
4215 ac_cv_path_EGREP="$ac_path_EGREP" ac_path_EGREP_found=:;;
4218 $as_echo_n 0123456789 >"conftest.in"
4221 cat "conftest.in" "conftest.in" >"conftest.tmp"
4222 mv "conftest.tmp" "conftest.in"
4223 cp "conftest.in" "conftest.nl"
4224 $as_echo 'EGREP' >> "conftest.nl"
4225 "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev/null || break
4226 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
4227 as_fn_arith $ac_count + 1 && ac_count=$as_val
4228 if test $ac_count -gt ${ac_path_EGREP_max-0}; then
4229 # Best one so far, save it but keep looking for a better one
4230 ac_cv_path_EGREP="$ac_path_EGREP"
4231 ac_path_EGREP_max=$ac_count
4233 # 10*(2^10) chars as input seems more than enough
4234 test $ac_count -gt 10 && break
4236 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
4239 $ac_path_EGREP_found && break 3
4244 if test -z "$ac_cv_path_EGREP"; then
4245 as_fn_error $? "no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
4248 ac_cv_path_EGREP=$EGREP
4253 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_EGREP" >&5
4254 $as_echo "$ac_cv_path_EGREP" >&6; }
4255 EGREP="$ac_cv_path_EGREP"
4258 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fgrep" >&5
4259 $as_echo_n "checking for fgrep... " >&6; }
4260 if ${ac_cv_path_FGREP+:} false; then :
4261 $as_echo_n "(cached) " >&6
4263 if echo 'ab*c' | $GREP -F 'ab*c' >/dev/null 2>&1
4264 then ac_cv_path_FGREP="$GREP -F"
4266 if test -z "$FGREP"; then
4267 ac_path_FGREP_found=false
4268 # Loop through the user's path and test for each of PROGNAME-LIST
4269 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4270 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
4273 test -z "$as_dir" && as_dir=.
4274 for ac_prog in fgrep; do
4275 for ac_exec_ext in '' $ac_executable_extensions; do
4276 ac_path_FGREP="$as_dir/$ac_prog$ac_exec_ext"
4277 { test -f "$ac_path_FGREP" && $as_test_x "$ac_path_FGREP"; } || continue
4278 # Check for GNU ac_path_FGREP and select it if it is found.
4279 # Check for GNU $ac_path_FGREP
4280 case `"$ac_path_FGREP" --version 2>&1` in
4282 ac_cv_path_FGREP="$ac_path_FGREP" ac_path_FGREP_found=:;;
4285 $as_echo_n 0123456789 >"conftest.in"
4288 cat "conftest.in" "conftest.in" >"conftest.tmp"
4289 mv "conftest.tmp" "conftest.in"
4290 cp "conftest.in" "conftest.nl"
4291 $as_echo 'FGREP' >> "conftest.nl"
4292 "$ac_path_FGREP" FGREP < "conftest.nl" >"conftest.out" 2>/dev/null || break
4293 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
4294 as_fn_arith $ac_count + 1 && ac_count=$as_val
4295 if test $ac_count -gt ${ac_path_FGREP_max-0}; then
4296 # Best one so far, save it but keep looking for a better one
4297 ac_cv_path_FGREP="$ac_path_FGREP"
4298 ac_path_FGREP_max=$ac_count
4300 # 10*(2^10) chars as input seems more than enough
4301 test $ac_count -gt 10 && break
4303 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
4306 $ac_path_FGREP_found && break 3
4311 if test -z "$ac_cv_path_FGREP"; then
4312 as_fn_error $? "no acceptable fgrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
4315 ac_cv_path_FGREP=$FGREP
4320 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_FGREP" >&5
4321 $as_echo "$ac_cv_path_FGREP" >&6; }
4322 FGREP="$ac_cv_path_FGREP"
4325 test -z "$GREP" && GREP=grep
4345 # Check whether --with-gnu-ld was given.
4346 if test "${with_gnu_ld+set}" = set; then :
4347 withval=$with_gnu_ld; test "$withval" = no || with_gnu_ld=yes
4353 if test "$GCC" = yes; then
4354 # Check if gcc -print-prog-name=ld gives a path.
4355 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld used by $CC" >&5
4356 $as_echo_n "checking for ld used by $CC... " >&6; }
4359 # gcc leaves a trailing carriage return which upsets mingw
4360 ac_prog=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
4362 ac_prog=`($CC -print-prog-name=ld) 2>&5` ;;
4365 # Accept absolute paths.
4367 re_direlt='/[^/][^/]*/\.\./'
4368 # Canonicalize the pathname of ld
4369 ac_prog=`$ECHO "$ac_prog"| $SED 's%\\\\%/%g'`
4370 while $ECHO "$ac_prog" | $GREP "$re_direlt" > /dev/null 2>&1; do
4371 ac_prog=`$ECHO $ac_prog| $SED "s%$re_direlt%/%"`
4373 test -z "$LD" && LD="$ac_prog"
4376 # If it fails, then pretend we aren't using GCC.
4380 # If it is relative, then search for the first ld in PATH.
4384 elif test "$with_gnu_ld" = yes; then
4385 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU ld" >&5
4386 $as_echo_n "checking for GNU ld... " >&6; }
4388 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for non-GNU ld" >&5
4389 $as_echo_n "checking for non-GNU ld... " >&6; }
4391 if ${lt_cv_path_LD+:} false; then :
4392 $as_echo_n "(cached) " >&6
4394 if test -z "$LD"; then
4395 lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
4396 for ac_dir in $PATH; do
4398 test -z "$ac_dir" && ac_dir=.
4399 if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then
4400 lt_cv_path_LD="$ac_dir/$ac_prog"
4401 # Check to see if the program is GNU ld. I'd rather use --version,
4402 # but apparently some variants of GNU ld only accept -v.
4403 # Break only if it was the GNU/non-GNU ld that we prefer.
4404 case `"$lt_cv_path_LD" -v 2>&1 </dev/null` in
4405 *GNU* | *'with BFD'*)
4406 test "$with_gnu_ld" != no && break
4409 test "$with_gnu_ld" != yes && break
4416 lt_cv_path_LD="$LD" # Let the user override the test with a path.
4421 if test -n "$LD"; then
4422 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LD" >&5
4423 $as_echo "$LD" >&6; }
4425 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4426 $as_echo "no" >&6; }
4428 test -z "$LD" && as_fn_error $? "no acceptable ld found in \$PATH" "$LINENO" 5
4429 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if the linker ($LD) is GNU ld" >&5
4430 $as_echo_n "checking if the linker ($LD) is GNU ld... " >&6; }
4431 if ${lt_cv_prog_gnu_ld+:} false; then :
4432 $as_echo_n "(cached) " >&6
4434 # I'd rather use --version here, but apparently some GNU lds only accept -v.
4435 case `$LD -v 2>&1 </dev/null` in
4436 *GNU* | *'with BFD'*)
4437 lt_cv_prog_gnu_ld=yes
4440 lt_cv_prog_gnu_ld=no
4444 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_gnu_ld" >&5
4445 $as_echo "$lt_cv_prog_gnu_ld" >&6; }
4446 with_gnu_ld=$lt_cv_prog_gnu_ld
4456 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for BSD- or MS-compatible name lister (nm)" >&5
4457 $as_echo_n "checking for BSD- or MS-compatible name lister (nm)... " >&6; }
4458 if ${lt_cv_path_NM+:} false; then :
4459 $as_echo_n "(cached) " >&6
4461 if test -n "$NM"; then
4462 # Let the user override the test.
4465 lt_nm_to_check="${ac_tool_prefix}nm"
4466 if test -n "$ac_tool_prefix" && test "$build" = "$host"; then
4467 lt_nm_to_check="$lt_nm_to_check nm"
4469 for lt_tmp_nm in $lt_nm_to_check; do
4470 lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
4471 for ac_dir in $PATH /usr/ccs/bin/elf /usr/ccs/bin /usr/ucb /bin; do
4473 test -z "$ac_dir" && ac_dir=.
4474 tmp_nm="$ac_dir/$lt_tmp_nm"
4475 if test -f "$tmp_nm" || test -f "$tmp_nm$ac_exeext" ; then
4476 # Check to see if the nm accepts a BSD-compat flag.
4477 # Adding the `sed 1q' prevents false positives on HP-UX, which says:
4478 # nm: unknown option "B" ignored
4479 # Tru64's nm complains that /dev/null is an invalid object file
4480 case `"$tmp_nm" -B /dev/null 2>&1 | sed '1q'` in
4481 */dev/null* | *'Invalid file or object type'*)
4482 lt_cv_path_NM="$tmp_nm -B"
4486 case `"$tmp_nm" -p /dev/null 2>&1 | sed '1q'` in
4488 lt_cv_path_NM="$tmp_nm -p"
4492 lt_cv_path_NM=${lt_cv_path_NM="$tmp_nm"} # keep the first match, but
4493 continue # so that we can try to find one that supports BSD flags
4502 : ${lt_cv_path_NM=no}
4505 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_path_NM" >&5
4506 $as_echo "$lt_cv_path_NM" >&6; }
4507 if test "$lt_cv_path_NM" != "no"; then
4510 # Didn't find any BSD compatible name lister, look for dumpbin.
4511 if test -n "$DUMPBIN"; then :
4512 # Let the user override the test.
4514 if test -n "$ac_tool_prefix"; then
4515 for ac_prog in dumpbin "link -dump"
4517 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
4518 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
4519 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4520 $as_echo_n "checking for $ac_word... " >&6; }
4521 if ${ac_cv_prog_DUMPBIN+:} false; then :
4522 $as_echo_n "(cached) " >&6
4524 if test -n "$DUMPBIN"; then
4525 ac_cv_prog_DUMPBIN="$DUMPBIN" # Let the user override the test.
4527 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4531 test -z "$as_dir" && as_dir=.
4532 for ac_exec_ext in '' $ac_executable_extensions; do
4533 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4534 ac_cv_prog_DUMPBIN="$ac_tool_prefix$ac_prog"
4535 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4544 DUMPBIN=$ac_cv_prog_DUMPBIN
4545 if test -n "$DUMPBIN"; then
4546 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DUMPBIN" >&5
4547 $as_echo "$DUMPBIN" >&6; }
4549 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4550 $as_echo "no" >&6; }
4554 test -n "$DUMPBIN" && break
4557 if test -z "$DUMPBIN"; then
4558 ac_ct_DUMPBIN=$DUMPBIN
4559 for ac_prog in dumpbin "link -dump"
4561 # Extract the first word of "$ac_prog", so it can be a program name with args.
4562 set dummy $ac_prog; ac_word=$2
4563 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4564 $as_echo_n "checking for $ac_word... " >&6; }
4565 if ${ac_cv_prog_ac_ct_DUMPBIN+:} false; then :
4566 $as_echo_n "(cached) " >&6
4568 if test -n "$ac_ct_DUMPBIN"; then
4569 ac_cv_prog_ac_ct_DUMPBIN="$ac_ct_DUMPBIN" # Let the user override the test.
4571 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4575 test -z "$as_dir" && as_dir=.
4576 for ac_exec_ext in '' $ac_executable_extensions; do
4577 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4578 ac_cv_prog_ac_ct_DUMPBIN="$ac_prog"
4579 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4588 ac_ct_DUMPBIN=$ac_cv_prog_ac_ct_DUMPBIN
4589 if test -n "$ac_ct_DUMPBIN"; then
4590 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DUMPBIN" >&5
4591 $as_echo "$ac_ct_DUMPBIN" >&6; }
4593 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4594 $as_echo "no" >&6; }
4598 test -n "$ac_ct_DUMPBIN" && break
4601 if test "x$ac_ct_DUMPBIN" = x; then
4604 case $cross_compiling:$ac_tool_warned in
4606 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4607 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4608 ac_tool_warned=yes ;;
4610 DUMPBIN=$ac_ct_DUMPBIN
4614 case `$DUMPBIN -symbols /dev/null 2>&1 | sed '1q'` in
4616 DUMPBIN="$DUMPBIN -symbols"
4624 if test "$DUMPBIN" != ":"; then
4628 test -z "$NM" && NM=nm
4635 { $as_echo "$as_me:${as_lineno-$LINENO}: checking the name lister ($NM) interface" >&5
4636 $as_echo_n "checking the name lister ($NM) interface... " >&6; }
4637 if ${lt_cv_nm_interface+:} false; then :
4638 $as_echo_n "(cached) " >&6
4640 lt_cv_nm_interface="BSD nm"
4641 echo "int some_variable = 0;" > conftest.$ac_ext
4642 (eval echo "\"\$as_me:$LINENO: $ac_compile\"" >&5)
4643 (eval "$ac_compile" 2>conftest.err)
4644 cat conftest.err >&5
4645 (eval echo "\"\$as_me:$LINENO: $NM \\\"conftest.$ac_objext\\\"\"" >&5)
4646 (eval "$NM \"conftest.$ac_objext\"" 2>conftest.err > conftest.out)
4647 cat conftest.err >&5
4648 (eval echo "\"\$as_me:$LINENO: output\"" >&5)
4649 cat conftest.out >&5
4650 if $GREP 'External.*some_variable' conftest.out > /dev/null; then
4651 lt_cv_nm_interface="MS dumpbin"
4655 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_nm_interface" >&5
4656 $as_echo "$lt_cv_nm_interface" >&6; }
4658 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ln -s works" >&5
4659 $as_echo_n "checking whether ln -s works... " >&6; }
4661 if test "$LN_S" = "ln -s"; then
4662 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
4663 $as_echo "yes" >&6; }
4665 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no, using $LN_S" >&5
4666 $as_echo "no, using $LN_S" >&6; }
4669 # find the maximum length of command line arguments
4670 { $as_echo "$as_me:${as_lineno-$LINENO}: checking the maximum length of command line arguments" >&5
4671 $as_echo_n "checking the maximum length of command line arguments... " >&6; }
4672 if ${lt_cv_sys_max_cmd_len+:} false; then :
4673 $as_echo_n "(cached) " >&6
4680 # On DJGPP, this test can blow up pretty badly due to problems in libc
4681 # (any single argument exceeding 2000 bytes causes a buffer overrun
4682 # during glob expansion). Even if it were fixed, the result of this
4683 # check would be larger than it should be.
4684 lt_cv_sys_max_cmd_len=12288; # 12K is about right
4688 # Under GNU Hurd, this test is not required because there is
4689 # no limit to the length of command line arguments.
4690 # Libtool will interpret -1 as no limit whatsoever
4691 lt_cv_sys_max_cmd_len=-1;
4694 cygwin* | mingw* | cegcc*)
4695 # On Win9x/ME, this test blows up -- it succeeds, but takes
4696 # about 5 minutes as the teststring grows exponentially.
4697 # Worse, since 9x/ME are not pre-emptively multitasking,
4698 # you end up with a "frozen" computer, even though with patience
4699 # the test eventually succeeds (with a max line length of 256k).
4700 # Instead, let's just punt: use the minimum linelength reported by
4701 # all of the supported platforms: 8192 (on NT/2K/XP).
4702 lt_cv_sys_max_cmd_len=8192;
4706 # On MiNT this can take a long time and run out of memory.
4707 lt_cv_sys_max_cmd_len=8192;
4711 # On AmigaOS with pdksh, this test takes hours, literally.
4712 # So we just punt and use a minimum line length of 8192.
4713 lt_cv_sys_max_cmd_len=8192;
4716 netbsd* | freebsd* | openbsd* | darwin* | dragonfly*)
4717 # This has been around since 386BSD, at least. Likely further.
4718 if test -x /sbin/sysctl; then
4719 lt_cv_sys_max_cmd_len=`/sbin/sysctl -n kern.argmax`
4720 elif test -x /usr/sbin/sysctl; then
4721 lt_cv_sys_max_cmd_len=`/usr/sbin/sysctl -n kern.argmax`
4723 lt_cv_sys_max_cmd_len=65536 # usable default for all BSDs
4725 # And add a safety zone
4726 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4`
4727 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3`
4731 # We know the value 262144 and hardcode it with a safety zone (like BSD)
4732 lt_cv_sys_max_cmd_len=196608
4736 # The test takes a long time on OS/2.
4737 lt_cv_sys_max_cmd_len=8192
4741 # Dr. Hans Ekkehard Plesser reports seeing a kernel panic running configure
4742 # due to this test when exec_disable_arg_limit is 1 on Tru64. It is not
4743 # nice to cause kernel panics so lets avoid the loop below.
4744 # First set a reasonable default.
4745 lt_cv_sys_max_cmd_len=16384
4747 if test -x /sbin/sysconfig; then
4748 case `/sbin/sysconfig -q proc exec_disable_arg_limit` in
4749 *1*) lt_cv_sys_max_cmd_len=-1 ;;
4754 lt_cv_sys_max_cmd_len=102400
4756 sysv5* | sco5v6* | sysv4.2uw2*)
4757 kargmax=`grep ARG_MAX /etc/conf/cf.d/stune 2>/dev/null`
4758 if test -n "$kargmax"; then
4759 lt_cv_sys_max_cmd_len=`echo $kargmax | sed 's/.*[ ]//'`
4761 lt_cv_sys_max_cmd_len=32768
4765 lt_cv_sys_max_cmd_len=`(getconf ARG_MAX) 2> /dev/null`
4766 if test -n "$lt_cv_sys_max_cmd_len"; then
4767 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4`
4768 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3`
4770 # Make teststring a little bigger before we do anything with it.
4771 # a 1K string should be a reasonable start.
4772 for i in 1 2 3 4 5 6 7 8 ; do
4773 teststring=$teststring$teststring
4775 SHELL=${SHELL-${CONFIG_SHELL-/bin/sh}}
4776 # If test is not a shell built-in, we'll probably end up computing a
4777 # maximum length that is only half of the actual maximum length, but
4779 while { test "X"`env echo "$teststring$teststring" 2>/dev/null` \
4780 = "X$teststring$teststring"; } >/dev/null 2>&1 &&
4781 test $i != 17 # 1/2 MB should be enough
4784 teststring=$teststring$teststring
4786 # Only check the string length outside the loop.
4787 lt_cv_sys_max_cmd_len=`expr "X$teststring" : ".*" 2>&1`
4789 # Add a significant safety factor because C++ compilers can tack on
4790 # massive amounts of additional arguments before passing them to the
4791 # linker. It appears as though 1/2 is a usable value.
4792 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 2`
4799 if test -n $lt_cv_sys_max_cmd_len ; then
4800 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_sys_max_cmd_len" >&5
4801 $as_echo "$lt_cv_sys_max_cmd_len" >&6; }
4803 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none" >&5
4804 $as_echo "none" >&6; }
4806 max_cmd_len=$lt_cv_sys_max_cmd_len
4817 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the shell understands some XSI constructs" >&5
4818 $as_echo_n "checking whether the shell understands some XSI constructs... " >&6; }
4819 # Try some XSI features
4822 test "${_lt_dummy##*/},${_lt_dummy%/*},${_lt_dummy#??}"${_lt_dummy%"$_lt_dummy"}, \
4824 && eval 'test $(( 1 + 1 )) -eq 2 \
4825 && test "${#_lt_dummy}" -eq 5' ) >/dev/null 2>&1 \
4827 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xsi_shell" >&5
4828 $as_echo "$xsi_shell" >&6; }
4831 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the shell understands \"+=\"" >&5
4832 $as_echo_n "checking whether the shell understands \"+=\"... " >&6; }
4834 ( foo=bar; set foo baz; eval "$1+=\$2" && test "$foo" = barbaz ) \
4836 && lt_shell_append=yes
4837 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_shell_append" >&5
4838 $as_echo "$lt_shell_append" >&6; }
4841 if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
4851 # test EBCDIC or ASCII
4852 case `echo X|tr X '\101'` in
4853 A) # ASCII based system
4854 # \n is not interpreted correctly by Solaris 8 /usr/ucb/tr
4855 lt_SP2NL='tr \040 \012'
4856 lt_NL2SP='tr \015\012 \040\040'
4858 *) # EBCDIC based system
4859 lt_SP2NL='tr \100 \n'
4860 lt_NL2SP='tr \r\n \100\100'
4872 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to convert $build file names to $host format" >&5
4873 $as_echo_n "checking how to convert $build file names to $host format... " >&6; }
4874 if ${lt_cv_to_host_file_cmd+:} false; then :
4875 $as_echo_n "(cached) " >&6
4880 *-*-mingw* ) # actually msys
4881 lt_cv_to_host_file_cmd=func_convert_file_msys_to_w32
4884 lt_cv_to_host_file_cmd=func_convert_file_cygwin_to_w32
4886 * ) # otherwise, assume *nix
4887 lt_cv_to_host_file_cmd=func_convert_file_nix_to_w32
4893 *-*-mingw* ) # actually msys
4894 lt_cv_to_host_file_cmd=func_convert_file_msys_to_cygwin
4897 lt_cv_to_host_file_cmd=func_convert_file_noop
4899 * ) # otherwise, assume *nix
4900 lt_cv_to_host_file_cmd=func_convert_file_nix_to_cygwin
4904 * ) # unhandled hosts (and "normal" native builds)
4905 lt_cv_to_host_file_cmd=func_convert_file_noop
4911 to_host_file_cmd=$lt_cv_to_host_file_cmd
4912 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_to_host_file_cmd" >&5
4913 $as_echo "$lt_cv_to_host_file_cmd" >&6; }
4919 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to convert $build file names to toolchain format" >&5
4920 $as_echo_n "checking how to convert $build file names to toolchain format... " >&6; }
4921 if ${lt_cv_to_tool_file_cmd+:} false; then :
4922 $as_echo_n "(cached) " >&6
4924 #assume ordinary cross tools, or native build.
4925 lt_cv_to_tool_file_cmd=func_convert_file_noop
4929 *-*-mingw* ) # actually msys
4930 lt_cv_to_tool_file_cmd=func_convert_file_msys_to_w32
4938 to_tool_file_cmd=$lt_cv_to_tool_file_cmd
4939 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_to_tool_file_cmd" >&5
4940 $as_echo "$lt_cv_to_tool_file_cmd" >&6; }
4946 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $LD option to reload object files" >&5
4947 $as_echo_n "checking for $LD option to reload object files... " >&6; }
4948 if ${lt_cv_ld_reload_flag+:} false; then :
4949 $as_echo_n "(cached) " >&6
4951 lt_cv_ld_reload_flag='-r'
4953 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_reload_flag" >&5
4954 $as_echo "$lt_cv_ld_reload_flag" >&6; }
4955 reload_flag=$lt_cv_ld_reload_flag
4956 case $reload_flag in
4958 *) reload_flag=" $reload_flag" ;;
4960 reload_cmds='$LD$reload_flag -o $output$reload_objs'
4962 cygwin* | mingw* | pw32* | cegcc*)
4963 if test "$GCC" != yes; then
4968 if test "$GCC" = yes; then
4969 reload_cmds='$LTCC $LTCFLAGS -nostdlib ${wl}-r -o $output$reload_objs'
4971 reload_cmds='$LD$reload_flag -o $output$reload_objs'
4984 if test -n "$ac_tool_prefix"; then
4985 # Extract the first word of "${ac_tool_prefix}objdump", so it can be a program name with args.
4986 set dummy ${ac_tool_prefix}objdump; ac_word=$2
4987 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4988 $as_echo_n "checking for $ac_word... " >&6; }
4989 if ${ac_cv_prog_OBJDUMP+:} false; then :
4990 $as_echo_n "(cached) " >&6
4992 if test -n "$OBJDUMP"; then
4993 ac_cv_prog_OBJDUMP="$OBJDUMP" # Let the user override the test.
4995 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4999 test -z "$as_dir" && as_dir=.
5000 for ac_exec_ext in '' $ac_executable_extensions; do
5001 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5002 ac_cv_prog_OBJDUMP="${ac_tool_prefix}objdump"
5003 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5012 OBJDUMP=$ac_cv_prog_OBJDUMP
5013 if test -n "$OBJDUMP"; then
5014 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OBJDUMP" >&5
5015 $as_echo "$OBJDUMP" >&6; }
5017 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5018 $as_echo "no" >&6; }
5023 if test -z "$ac_cv_prog_OBJDUMP"; then
5024 ac_ct_OBJDUMP=$OBJDUMP
5025 # Extract the first word of "objdump", so it can be a program name with args.
5026 set dummy objdump; ac_word=$2
5027 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5028 $as_echo_n "checking for $ac_word... " >&6; }
5029 if ${ac_cv_prog_ac_ct_OBJDUMP+:} false; then :
5030 $as_echo_n "(cached) " >&6
5032 if test -n "$ac_ct_OBJDUMP"; then
5033 ac_cv_prog_ac_ct_OBJDUMP="$ac_ct_OBJDUMP" # Let the user override the test.
5035 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5039 test -z "$as_dir" && as_dir=.
5040 for ac_exec_ext in '' $ac_executable_extensions; do
5041 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5042 ac_cv_prog_ac_ct_OBJDUMP="objdump"
5043 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5052 ac_ct_OBJDUMP=$ac_cv_prog_ac_ct_OBJDUMP
5053 if test -n "$ac_ct_OBJDUMP"; then
5054 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OBJDUMP" >&5
5055 $as_echo "$ac_ct_OBJDUMP" >&6; }
5057 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5058 $as_echo "no" >&6; }
5061 if test "x$ac_ct_OBJDUMP" = x; then
5064 case $cross_compiling:$ac_tool_warned in
5066 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5067 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5068 ac_tool_warned=yes ;;
5070 OBJDUMP=$ac_ct_OBJDUMP
5073 OBJDUMP="$ac_cv_prog_OBJDUMP"
5076 test -z "$OBJDUMP" && OBJDUMP=objdump
5086 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to recognize dependent libraries" >&5
5087 $as_echo_n "checking how to recognize dependent libraries... " >&6; }
5088 if ${lt_cv_deplibs_check_method+:} false; then :
5089 $as_echo_n "(cached) " >&6
5091 lt_cv_file_magic_cmd='$MAGIC_CMD'
5092 lt_cv_file_magic_test_file=
5093 lt_cv_deplibs_check_method='unknown'
5094 # Need to set the preceding variable on all platforms that support
5095 # interlibrary dependencies.
5096 # 'none' -- dependencies not supported.
5097 # `unknown' -- same as none, but documents that we really don't know.
5098 # 'pass_all' -- all dependencies passed with no checks.
5099 # 'test_compile' -- check by making test program.
5100 # 'file_magic [[regex]]' -- check by looking for files in library path
5101 # which responds to the $file_magic_cmd with a given extended regex.
5102 # If you have `file' or equivalent on your system and you're not sure
5103 # whether `pass_all' will *always* work, you probably want this one.
5107 lt_cv_deplibs_check_method=pass_all
5111 lt_cv_deplibs_check_method=pass_all
5115 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (shared object|dynamic lib)'
5116 lt_cv_file_magic_cmd='/usr/bin/file -L'
5117 lt_cv_file_magic_test_file=/shlib/libc.so
5121 # func_win32_libid is a shell function defined in ltmain.sh
5122 lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL'
5123 lt_cv_file_magic_cmd='func_win32_libid'
5127 # Base MSYS/MinGW do not provide the 'file' command needed by
5128 # func_win32_libid shell function, so use a weaker test based on 'objdump',
5129 # unless we find 'file', for example because we are cross-compiling.
5130 # func_win32_libid assumes BSD nm, so disallow it if using MS dumpbin.
5131 if ( test "$lt_cv_nm_interface" = "BSD nm" && file / ) >/dev/null 2>&1; then
5132 lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL'
5133 lt_cv_file_magic_cmd='func_win32_libid'
5135 # Keep this pattern in sync with the one in func_win32_libid.
5136 lt_cv_deplibs_check_method='file_magic file format (pei*-i386(.*architecture: i386)?|pe-arm-wince|pe-x86-64)'
5137 lt_cv_file_magic_cmd='$OBJDUMP -f'
5142 # use the weaker test based on 'objdump'. See mingw*.
5143 lt_cv_deplibs_check_method='file_magic file format pe-arm-.*little(.*architecture: arm)?'
5144 lt_cv_file_magic_cmd='$OBJDUMP -f'
5147 darwin* | rhapsody*)
5148 lt_cv_deplibs_check_method=pass_all
5151 freebsd* | dragonfly*)
5152 if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then
5155 # Not sure whether the presence of OpenBSD here was a mistake.
5156 # Let's accept both of them until this is cleared up.
5157 lt_cv_deplibs_check_method='file_magic (FreeBSD|OpenBSD|DragonFly)/i[3-9]86 (compact )?demand paged shared library'
5158 lt_cv_file_magic_cmd=/usr/bin/file
5159 lt_cv_file_magic_test_file=`echo /usr/lib/libc.so.*`
5163 lt_cv_deplibs_check_method=pass_all
5168 lt_cv_deplibs_check_method=pass_all
5172 lt_cv_deplibs_check_method=pass_all
5175 hpux10.20* | hpux11*)
5176 lt_cv_file_magic_cmd=/usr/bin/file
5179 lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|ELF-[0-9][0-9]) shared object file - IA64'
5180 lt_cv_file_magic_test_file=/usr/lib/hpux32/libc.so
5183 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]'
5184 lt_cv_file_magic_test_file=/usr/lib/pa20_64/libc.sl
5187 lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|PA-RISC[0-9]\.[0-9]) shared library'
5188 lt_cv_file_magic_test_file=/usr/lib/libc.sl
5194 # PIC code is broken on Interix 3.x, that's why |\.a not |_pic\.a here
5195 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|\.a)$'
5198 irix5* | irix6* | nonstopux*)
5200 *-32|*"-32 ") libmagic=32-bit;;
5201 *-n32|*"-n32 ") libmagic=N32;;
5202 *-64|*"-64 ") libmagic=64-bit;;
5203 *) libmagic=never-match;;
5205 lt_cv_deplibs_check_method=pass_all
5208 # This must be glibc/ELF.
5209 linux* | k*bsd*-gnu | kopensolaris*-gnu)
5210 lt_cv_deplibs_check_method=pass_all
5213 netbsd* | netbsdelf*-gnu)
5214 if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then
5215 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
5217 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|_pic\.a)$'
5222 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (executable|dynamic lib)'
5223 lt_cv_file_magic_cmd=/usr/bin/file
5224 lt_cv_file_magic_test_file=/usr/lib/libnls.so
5228 lt_cv_deplibs_check_method=pass_all
5232 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
5233 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|\.so|_pic\.a)$'
5235 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
5239 osf3* | osf4* | osf5*)
5240 lt_cv_deplibs_check_method=pass_all
5244 lt_cv_deplibs_check_method=pass_all
5248 lt_cv_deplibs_check_method=pass_all
5251 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
5252 lt_cv_deplibs_check_method=pass_all
5256 case $host_vendor in
5258 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]'
5259 lt_cv_file_magic_test_file=`echo /usr/lib/libc.so*`
5262 lt_cv_deplibs_check_method=pass_all
5265 lt_cv_file_magic_cmd='/bin/file'
5266 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [LM]SB (shared object|dynamic lib )'
5269 lt_cv_file_magic_cmd='/bin/file'
5270 lt_cv_deplibs_check_method="file_magic ELF [0-9][0-9]*-bit [LM]SB dynamic lib"
5271 lt_cv_file_magic_test_file=/lib/libc.so
5274 lt_cv_deplibs_check_method=pass_all
5277 lt_cv_deplibs_check_method=pass_all
5283 lt_cv_deplibs_check_method=pass_all
5288 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_deplibs_check_method" >&5
5289 $as_echo "$lt_cv_deplibs_check_method" >&6; }
5293 if test "$build" = "$host"; then
5296 if ( shopt | grep nocaseglob ) >/dev/null 2>&1; then
5299 file_magic_glob=`echo aAbBcCdDeEfFgGhHiIjJkKlLmMnNoOpPqQrRsStTuUvVwWxXyYzZ | $SED -e "s/\(..\)/s\/[\1]\/[\1]\/g;/g"`
5305 file_magic_cmd=$lt_cv_file_magic_cmd
5306 deplibs_check_method=$lt_cv_deplibs_check_method
5307 test -z "$deplibs_check_method" && deplibs_check_method=unknown
5330 if test -n "$ac_tool_prefix"; then
5331 # Extract the first word of "${ac_tool_prefix}dlltool", so it can be a program name with args.
5332 set dummy ${ac_tool_prefix}dlltool; ac_word=$2
5333 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5334 $as_echo_n "checking for $ac_word... " >&6; }
5335 if ${ac_cv_prog_DLLTOOL+:} false; then :
5336 $as_echo_n "(cached) " >&6
5338 if test -n "$DLLTOOL"; then
5339 ac_cv_prog_DLLTOOL="$DLLTOOL" # Let the user override the test.
5341 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5345 test -z "$as_dir" && as_dir=.
5346 for ac_exec_ext in '' $ac_executable_extensions; do
5347 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5348 ac_cv_prog_DLLTOOL="${ac_tool_prefix}dlltool"
5349 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5358 DLLTOOL=$ac_cv_prog_DLLTOOL
5359 if test -n "$DLLTOOL"; then
5360 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DLLTOOL" >&5
5361 $as_echo "$DLLTOOL" >&6; }
5363 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5364 $as_echo "no" >&6; }
5369 if test -z "$ac_cv_prog_DLLTOOL"; then
5370 ac_ct_DLLTOOL=$DLLTOOL
5371 # Extract the first word of "dlltool", so it can be a program name with args.
5372 set dummy dlltool; ac_word=$2
5373 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5374 $as_echo_n "checking for $ac_word... " >&6; }
5375 if ${ac_cv_prog_ac_ct_DLLTOOL+:} false; then :
5376 $as_echo_n "(cached) " >&6
5378 if test -n "$ac_ct_DLLTOOL"; then
5379 ac_cv_prog_ac_ct_DLLTOOL="$ac_ct_DLLTOOL" # Let the user override the test.
5381 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5385 test -z "$as_dir" && as_dir=.
5386 for ac_exec_ext in '' $ac_executable_extensions; do
5387 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5388 ac_cv_prog_ac_ct_DLLTOOL="dlltool"
5389 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5398 ac_ct_DLLTOOL=$ac_cv_prog_ac_ct_DLLTOOL
5399 if test -n "$ac_ct_DLLTOOL"; then
5400 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DLLTOOL" >&5
5401 $as_echo "$ac_ct_DLLTOOL" >&6; }
5403 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5404 $as_echo "no" >&6; }
5407 if test "x$ac_ct_DLLTOOL" = x; then
5410 case $cross_compiling:$ac_tool_warned in
5412 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5413 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5414 ac_tool_warned=yes ;;
5416 DLLTOOL=$ac_ct_DLLTOOL
5419 DLLTOOL="$ac_cv_prog_DLLTOOL"
5422 test -z "$DLLTOOL" && DLLTOOL=dlltool
5433 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to associate runtime and link libraries" >&5
5434 $as_echo_n "checking how to associate runtime and link libraries... " >&6; }
5435 if ${lt_cv_sharedlib_from_linklib_cmd+:} false; then :
5436 $as_echo_n "(cached) " >&6
5438 lt_cv_sharedlib_from_linklib_cmd='unknown'
5441 cygwin* | mingw* | pw32* | cegcc*)
5442 # two different shell functions defined in ltmain.sh
5443 # decide which to use based on capabilities of $DLLTOOL
5444 case `$DLLTOOL --help 2>&1` in
5445 *--identify-strict*)
5446 lt_cv_sharedlib_from_linklib_cmd=func_cygming_dll_for_implib
5449 lt_cv_sharedlib_from_linklib_cmd=func_cygming_dll_for_implib_fallback
5454 # fallback: assume linklib IS sharedlib
5455 lt_cv_sharedlib_from_linklib_cmd="$ECHO"
5460 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_sharedlib_from_linklib_cmd" >&5
5461 $as_echo "$lt_cv_sharedlib_from_linklib_cmd" >&6; }
5462 sharedlib_from_linklib_cmd=$lt_cv_sharedlib_from_linklib_cmd
5463 test -z "$sharedlib_from_linklib_cmd" && sharedlib_from_linklib_cmd=$ECHO
5472 if test -n "$ac_tool_prefix"; then
5475 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
5476 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
5477 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5478 $as_echo_n "checking for $ac_word... " >&6; }
5479 if ${ac_cv_prog_AR+:} false; then :
5480 $as_echo_n "(cached) " >&6
5482 if test -n "$AR"; then
5483 ac_cv_prog_AR="$AR" # Let the user override the test.
5485 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5489 test -z "$as_dir" && as_dir=.
5490 for ac_exec_ext in '' $ac_executable_extensions; do
5491 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5492 ac_cv_prog_AR="$ac_tool_prefix$ac_prog"
5493 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5503 if test -n "$AR"; then
5504 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AR" >&5
5505 $as_echo "$AR" >&6; }
5507 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5508 $as_echo "no" >&6; }
5512 test -n "$AR" && break
5515 if test -z "$AR"; then
5519 # Extract the first word of "$ac_prog", so it can be a program name with args.
5520 set dummy $ac_prog; ac_word=$2
5521 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5522 $as_echo_n "checking for $ac_word... " >&6; }
5523 if ${ac_cv_prog_ac_ct_AR+:} false; then :
5524 $as_echo_n "(cached) " >&6
5526 if test -n "$ac_ct_AR"; then
5527 ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test.
5529 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5533 test -z "$as_dir" && as_dir=.
5534 for ac_exec_ext in '' $ac_executable_extensions; do
5535 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5536 ac_cv_prog_ac_ct_AR="$ac_prog"
5537 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5546 ac_ct_AR=$ac_cv_prog_ac_ct_AR
5547 if test -n "$ac_ct_AR"; then
5548 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_AR" >&5
5549 $as_echo "$ac_ct_AR" >&6; }
5551 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5552 $as_echo "no" >&6; }
5556 test -n "$ac_ct_AR" && break
5559 if test "x$ac_ct_AR" = x; then
5562 case $cross_compiling:$ac_tool_warned in
5564 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5565 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5566 ac_tool_warned=yes ;;
5585 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for archiver @FILE support" >&5
5586 $as_echo_n "checking for archiver @FILE support... " >&6; }
5587 if ${lt_cv_ar_at_file+:} false; then :
5588 $as_echo_n "(cached) " >&6
5591 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5592 /* end confdefs.h. */
5602 if ac_fn_c_try_compile "$LINENO"; then :
5603 echo conftest.$ac_objext > conftest.lst
5604 lt_ar_try='$AR $AR_FLAGS libconftest.a @conftest.lst >&5'
5605 { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$lt_ar_try\""; } >&5
5606 (eval $lt_ar_try) 2>&5
5608 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
5609 test $ac_status = 0; }
5610 if test "$ac_status" -eq 0; then
5611 # Ensure the archiver fails upon bogus file names.
5612 rm -f conftest.$ac_objext libconftest.a
5613 { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$lt_ar_try\""; } >&5
5614 (eval $lt_ar_try) 2>&5
5616 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
5617 test $ac_status = 0; }
5618 if test "$ac_status" -ne 0; then
5622 rm -f conftest.* libconftest.a
5625 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5628 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ar_at_file" >&5
5629 $as_echo "$lt_cv_ar_at_file" >&6; }
5631 if test "x$lt_cv_ar_at_file" = xno; then
5634 archiver_list_spec=$lt_cv_ar_at_file
5643 if test -n "$ac_tool_prefix"; then
5644 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
5645 set dummy ${ac_tool_prefix}strip; ac_word=$2
5646 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5647 $as_echo_n "checking for $ac_word... " >&6; }
5648 if ${ac_cv_prog_STRIP+:} false; then :
5649 $as_echo_n "(cached) " >&6
5651 if test -n "$STRIP"; then
5652 ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
5654 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5658 test -z "$as_dir" && as_dir=.
5659 for ac_exec_ext in '' $ac_executable_extensions; do
5660 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5661 ac_cv_prog_STRIP="${ac_tool_prefix}strip"
5662 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5671 STRIP=$ac_cv_prog_STRIP
5672 if test -n "$STRIP"; then
5673 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
5674 $as_echo "$STRIP" >&6; }
5676 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5677 $as_echo "no" >&6; }
5682 if test -z "$ac_cv_prog_STRIP"; then
5684 # Extract the first word of "strip", so it can be a program name with args.
5685 set dummy strip; ac_word=$2
5686 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5687 $as_echo_n "checking for $ac_word... " >&6; }
5688 if ${ac_cv_prog_ac_ct_STRIP+:} false; then :
5689 $as_echo_n "(cached) " >&6
5691 if test -n "$ac_ct_STRIP"; then
5692 ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
5694 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5698 test -z "$as_dir" && as_dir=.
5699 for ac_exec_ext in '' $ac_executable_extensions; do
5700 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5701 ac_cv_prog_ac_ct_STRIP="strip"
5702 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5711 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
5712 if test -n "$ac_ct_STRIP"; then
5713 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
5714 $as_echo "$ac_ct_STRIP" >&6; }
5716 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5717 $as_echo "no" >&6; }
5720 if test "x$ac_ct_STRIP" = x; then
5723 case $cross_compiling:$ac_tool_warned in
5725 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5726 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5727 ac_tool_warned=yes ;;
5732 STRIP="$ac_cv_prog_STRIP"
5735 test -z "$STRIP" && STRIP=:
5742 if test -n "$ac_tool_prefix"; then
5743 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
5744 set dummy ${ac_tool_prefix}ranlib; ac_word=$2
5745 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5746 $as_echo_n "checking for $ac_word... " >&6; }
5747 if ${ac_cv_prog_RANLIB+:} false; then :
5748 $as_echo_n "(cached) " >&6
5750 if test -n "$RANLIB"; then
5751 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
5753 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5757 test -z "$as_dir" && as_dir=.
5758 for ac_exec_ext in '' $ac_executable_extensions; do
5759 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5760 ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
5761 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5770 RANLIB=$ac_cv_prog_RANLIB
5771 if test -n "$RANLIB"; then
5772 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $RANLIB" >&5
5773 $as_echo "$RANLIB" >&6; }
5775 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5776 $as_echo "no" >&6; }
5781 if test -z "$ac_cv_prog_RANLIB"; then
5782 ac_ct_RANLIB=$RANLIB
5783 # Extract the first word of "ranlib", so it can be a program name with args.
5784 set dummy ranlib; ac_word=$2
5785 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5786 $as_echo_n "checking for $ac_word... " >&6; }
5787 if ${ac_cv_prog_ac_ct_RANLIB+:} false; then :
5788 $as_echo_n "(cached) " >&6
5790 if test -n "$ac_ct_RANLIB"; then
5791 ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
5793 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5797 test -z "$as_dir" && as_dir=.
5798 for ac_exec_ext in '' $ac_executable_extensions; do
5799 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5800 ac_cv_prog_ac_ct_RANLIB="ranlib"
5801 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5810 ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
5811 if test -n "$ac_ct_RANLIB"; then
5812 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_RANLIB" >&5
5813 $as_echo "$ac_ct_RANLIB" >&6; }
5815 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5816 $as_echo "no" >&6; }
5819 if test "x$ac_ct_RANLIB" = x; then
5822 case $cross_compiling:$ac_tool_warned in
5824 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5825 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5826 ac_tool_warned=yes ;;
5828 RANLIB=$ac_ct_RANLIB
5831 RANLIB="$ac_cv_prog_RANLIB"
5834 test -z "$RANLIB" && RANLIB=:
5841 # Determine commands to create old-style static archives.
5842 old_archive_cmds='$AR $AR_FLAGS $oldlib$oldobjs'
5843 old_postinstall_cmds='chmod 644 $oldlib'
5844 old_postuninstall_cmds=
5846 if test -n "$RANLIB"; then
5849 old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB -t \$tool_oldlib"
5852 old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB \$tool_oldlib"
5855 old_archive_cmds="$old_archive_cmds~\$RANLIB \$tool_oldlib"
5860 lock_old_archive_extraction=yes ;;
5862 lock_old_archive_extraction=no ;;
5903 # If no C compiler was specified, use CC.
5906 # If no C compiler flags were specified, use CFLAGS.
5907 LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
5909 # Allow CC to be a program name with arguments.
5913 # Check for command to grab the raw symbol name followed by C symbol from nm.
5914 { $as_echo "$as_me:${as_lineno-$LINENO}: checking command to parse $NM output from $compiler object" >&5
5915 $as_echo_n "checking command to parse $NM output from $compiler object... " >&6; }
5916 if ${lt_cv_sys_global_symbol_pipe+:} false; then :
5917 $as_echo_n "(cached) " >&6
5920 # These are sane defaults that work on at least a few old systems.
5921 # [They come from Ultrix. What could be older than Ultrix?!! ;)]
5923 # Character class describing NM global symbol codes.
5924 symcode='[BCDEGRST]'
5926 # Regexp to match symbols that can be accessed directly from C.
5927 sympat='\([_A-Za-z][_A-Za-z0-9]*\)'
5929 # Define system-specific variables.
5934 cygwin* | mingw* | pw32* | cegcc*)
5935 symcode='[ABCDGISTW]'
5938 if test "$host_cpu" = ia64; then
5939 symcode='[ABCDEGRST]'
5943 symcode='[BCDEGRST]'
5946 symcode='[BCDEGQRST]'
5957 sysv5* | sco5v6* | unixware* | OpenUNIX*)
5965 # If we're using GNU nm, then use its standard symbol codes.
5966 case `$NM -V 2>&1` in
5967 *GNU* | *'with BFD'*)
5968 symcode='[ABCDGIRSTW]' ;;
5971 # Transform an extracted symbol line into a proper C declaration.
5972 # Some systems (esp. on ia64) link data and code symbols differently,
5973 # so use this general approach.
5974 lt_cv_sys_global_symbol_to_cdecl="sed -n -e 's/^T .* \(.*\)$/extern int \1();/p' -e 's/^$symcode* .* \(.*\)$/extern char \1;/p'"
5976 # Transform an extracted symbol line into symbol name and symbol address
5977 lt_cv_sys_global_symbol_to_c_name_address="sed -n -e 's/^: \([^ ]*\)[ ]*$/ {\\\"\1\\\", (void *) 0},/p' -e 's/^$symcode* \([^ ]*\) \([^ ]*\)$/ {\"\2\", (void *) \&\2},/p'"
5978 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'"
5980 # Handle CRLF in mingw tool chain
5984 opt_cr=`$ECHO 'x\{0,1\}' | tr x '\015'` # option cr in regexp
5988 # Try without a prefix underscore, then with it.
5989 for ac_symprfx in "" "_"; do
5991 # Transform symcode, sympat, and symprfx into a raw symbol and a C symbol.
5992 symxfrm="\\1 $ac_symprfx\\2 \\2"
5994 # Write the raw and C identifiers.
5995 if test "$lt_cv_nm_interface" = "MS dumpbin"; then
5996 # Fake it for dumpbin and say T for any non-static function
5997 # and D for any global variable.
5998 # Also find C++ and __fastcall symbols from MSVC++,
5999 # which start with @ or ?.
6000 lt_cv_sys_global_symbol_pipe="$AWK '"\
6001 " {last_section=section; section=\$ 3};"\
6002 " /^COFF SYMBOL TABLE/{for(i in hide) delete hide[i]};"\
6003 " /Section length .*#relocs.*(pick any)/{hide[last_section]=1};"\
6004 " \$ 0!~/External *\|/{next};"\
6005 " / 0+ UNDEF /{next}; / UNDEF \([^|]\)*()/{next};"\
6006 " {if(hide[section]) next};"\
6007 " {f=0}; \$ 0~/\(\).*\|/{f=1}; {printf f ? \"T \" : \"D \"};"\
6008 " {split(\$ 0, a, /\||\r/); split(a[2], s)};"\
6009 " s[1]~/^[@?]/{print s[1], s[1]; next};"\
6010 " s[1]~prfx {split(s[1],t,\"@\"); print t[1], substr(t[1],length(prfx))}"\
6011 " ' prfx=^$ac_symprfx"
6013 lt_cv_sys_global_symbol_pipe="sed -n -e 's/^.*[ ]\($symcode$symcode*\)[ ][ ]*$ac_symprfx$sympat$opt_cr$/$symxfrm/p'"
6015 lt_cv_sys_global_symbol_pipe="$lt_cv_sys_global_symbol_pipe | sed '/ __gnu_lto/d'"
6017 # Check to see that the pipe works correctly.
6021 cat > conftest.$ac_ext <<_LT_EOF
6026 void nm_test_func(void);
6027 void nm_test_func(void){}
6031 int main(){nm_test_var='a';nm_test_func();return(0);}
6034 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
6035 (eval $ac_compile) 2>&5
6037 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6038 test $ac_status = 0; }; then
6039 # Now try to grab the symbols.
6041 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$NM conftest.$ac_objext \| "$lt_cv_sys_global_symbol_pipe" \> $nlist\""; } >&5
6042 (eval $NM conftest.$ac_objext \| "$lt_cv_sys_global_symbol_pipe" \> $nlist) 2>&5
6044 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6045 test $ac_status = 0; } && test -s "$nlist"; then
6046 # Try sorting and uniquifying the output.
6047 if sort "$nlist" | uniq > "$nlist"T; then
6048 mv -f "$nlist"T "$nlist"
6053 # Make sure that we snagged all the symbols we need.
6054 if $GREP ' nm_test_var$' "$nlist" >/dev/null; then
6055 if $GREP ' nm_test_func$' "$nlist" >/dev/null; then
6056 cat <<_LT_EOF > conftest.$ac_ext
6057 /* Keep this code in sync between libtool.m4, ltmain, lt_system.h, and tests. */
6058 #if defined(_WIN32) || defined(__CYGWIN__) || defined(_WIN32_WCE)
6059 /* DATA imports from DLLs on WIN32 con't be const, because runtime
6060 relocations are performed -- see ld's documentation on pseudo-relocs. */
6061 # define LT_DLSYM_CONST
6062 #elif defined(__osf__)
6063 /* This system does not cope well with relocations in const data. */
6064 # define LT_DLSYM_CONST
6066 # define LT_DLSYM_CONST const
6074 # Now generate the symbol file.
6075 eval "$lt_cv_sys_global_symbol_to_cdecl"' < "$nlist" | $GREP -v main >> conftest.$ac_ext'
6077 cat <<_LT_EOF >> conftest.$ac_ext
6079 /* The mapping between symbol names and symbols. */
6080 LT_DLSYM_CONST struct {
6084 lt__PROGRAM__LTX_preloaded_symbols[] =
6086 { "@PROGRAM@", (void *) 0 },
6088 $SED "s/^$symcode$symcode* \(.*\) \(.*\)$/ {\"\2\", (void *) \&\2},/" < "$nlist" | $GREP -v main >> conftest.$ac_ext
6089 cat <<\_LT_EOF >> conftest.$ac_ext
6093 /* This works around a problem in FreeBSD linker */
6094 #ifdef FREEBSD_WORKAROUND
6095 static const void *lt_preloaded_setup() {
6096 return lt__PROGRAM__LTX_preloaded_symbols;
6104 # Now try linking the two files.
6105 mv conftest.$ac_objext conftstm.$ac_objext
6106 lt_globsym_save_LIBS=$LIBS
6107 lt_globsym_save_CFLAGS=$CFLAGS
6108 LIBS="conftstm.$ac_objext"
6109 CFLAGS="$CFLAGS$lt_prog_compiler_no_builtin_flag"
6110 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
6111 (eval $ac_link) 2>&5
6113 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6114 test $ac_status = 0; } && test -s conftest${ac_exeext}; then
6117 LIBS=$lt_globsym_save_LIBS
6118 CFLAGS=$lt_globsym_save_CFLAGS
6120 echo "cannot find nm_test_func in $nlist" >&5
6123 echo "cannot find nm_test_var in $nlist" >&5
6126 echo "cannot run $lt_cv_sys_global_symbol_pipe" >&5
6129 echo "$progname: failed program was:" >&5
6130 cat conftest.$ac_ext >&5
6132 rm -rf conftest* conftst*
6134 # Do not use the global_symbol_pipe unless it works.
6135 if test "$pipe_works" = yes; then
6138 lt_cv_sys_global_symbol_pipe=
6144 if test -z "$lt_cv_sys_global_symbol_pipe"; then
6145 lt_cv_sys_global_symbol_to_cdecl=
6147 if test -z "$lt_cv_sys_global_symbol_pipe$lt_cv_sys_global_symbol_to_cdecl"; then
6148 { $as_echo "$as_me:${as_lineno-$LINENO}: result: failed" >&5
6149 $as_echo "failed" >&6; }
6151 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ok" >&5
6152 $as_echo "ok" >&6; }
6155 # Response file support.
6156 if test "$lt_cv_nm_interface" = "MS dumpbin"; then
6157 nm_file_list_spec='@'
6158 elif $NM --help 2>/dev/null | grep '[@]FILE' >/dev/null; then
6159 nm_file_list_spec='@'
6188 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sysroot" >&5
6189 $as_echo_n "checking for sysroot... " >&6; }
6191 # Check whether --with-sysroot was given.
6192 if test "${with_sysroot+set}" = set; then :
6193 withval=$with_sysroot;
6200 case ${with_sysroot} in #(
6202 if test "$GCC" = yes; then
6203 lt_sysroot=`$CC --print-sysroot 2>/dev/null`
6207 lt_sysroot=`echo "$with_sysroot" | sed -e "$sed_quote_subst"`
6212 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${with_sysroot}" >&5
6213 $as_echo "${with_sysroot}" >&6; }
6214 as_fn_error $? "The sysroot must be an absolute path." "$LINENO" 5
6218 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${lt_sysroot:-no}" >&5
6219 $as_echo "${lt_sysroot:-no}" >&6; }
6225 # Check whether --enable-libtool-lock was given.
6226 if test "${enable_libtool_lock+set}" = set; then :
6227 enableval=$enable_libtool_lock;
6230 test "x$enable_libtool_lock" != xno && enable_libtool_lock=yes
6232 # Some flags need to be propagated to the compiler or linker for good
6236 # Find out which ABI we are using.
6237 echo 'int i;' > conftest.$ac_ext
6238 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
6239 (eval $ac_compile) 2>&5
6241 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6242 test $ac_status = 0; }; then
6243 case `/usr/bin/file conftest.$ac_objext` in
6255 # Find out which ABI we are using.
6256 echo '#line '$LINENO' "configure"' > conftest.$ac_ext
6257 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
6258 (eval $ac_compile) 2>&5
6260 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6261 test $ac_status = 0; }; then
6262 if test "$lt_cv_prog_gnu_ld" = yes; then
6263 case `/usr/bin/file conftest.$ac_objext` in
6265 LD="${LD-ld} -melf32bsmip"
6268 LD="${LD-ld} -melf32bmipn32"
6271 LD="${LD-ld} -melf64bmip"
6275 case `/usr/bin/file conftest.$ac_objext` in
6291 x86_64-*kfreebsd*-gnu|x86_64-*linux*|ppc*-*linux*|powerpc*-*linux*| \
6292 s390*-*linux*|s390*-*tpf*|sparc*-*linux*)
6293 # Find out which ABI we are using.
6294 echo 'int i;' > conftest.$ac_ext
6295 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
6296 (eval $ac_compile) 2>&5
6298 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6299 test $ac_status = 0; }; then
6300 case `/usr/bin/file conftest.o` in
6303 x86_64-*kfreebsd*-gnu)
6304 LD="${LD-ld} -m elf_i386_fbsd"
6307 LD="${LD-ld} -m elf_i386"
6309 ppc64-*linux*|powerpc64-*linux*)
6310 LD="${LD-ld} -m elf32ppclinux"
6313 LD="${LD-ld} -m elf_s390"
6316 LD="${LD-ld} -m elf32_sparc"
6322 x86_64-*kfreebsd*-gnu)
6323 LD="${LD-ld} -m elf_x86_64_fbsd"
6326 LD="${LD-ld} -m elf_x86_64"
6328 ppc*-*linux*|powerpc*-*linux*)
6329 LD="${LD-ld} -m elf64ppc"
6331 s390*-*linux*|s390*-*tpf*)
6332 LD="${LD-ld} -m elf64_s390"
6335 LD="${LD-ld} -m elf64_sparc"
6345 # On SCO OpenServer 5, we need -belf to get full-featured binaries.
6346 SAVE_CFLAGS="$CFLAGS"
6347 CFLAGS="$CFLAGS -belf"
6348 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler needs -belf" >&5
6349 $as_echo_n "checking whether the C compiler needs -belf... " >&6; }
6350 if ${lt_cv_cc_needs_belf+:} false; then :
6351 $as_echo_n "(cached) " >&6
6354 ac_cpp='$CPP $CPPFLAGS'
6355 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
6356 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
6357 ac_compiler_gnu=$ac_cv_c_compiler_gnu
6359 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6360 /* end confdefs.h. */
6370 if ac_fn_c_try_link "$LINENO"; then :
6371 lt_cv_cc_needs_belf=yes
6373 lt_cv_cc_needs_belf=no
6375 rm -f core conftest.err conftest.$ac_objext \
6376 conftest$ac_exeext conftest.$ac_ext
6378 ac_cpp='$CPP $CPPFLAGS'
6379 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
6380 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
6381 ac_compiler_gnu=$ac_cv_c_compiler_gnu
6384 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_cc_needs_belf" >&5
6385 $as_echo "$lt_cv_cc_needs_belf" >&6; }
6386 if test x"$lt_cv_cc_needs_belf" != x"yes"; then
6387 # this is probably gcc 2.8.0, egcs 1.0 or newer; no need for -belf
6388 CFLAGS="$SAVE_CFLAGS"
6392 # Find out which ABI we are using.
6393 echo 'int i;' > conftest.$ac_ext
6394 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
6395 (eval $ac_compile) 2>&5
6397 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6398 test $ac_status = 0; }; then
6399 case `/usr/bin/file conftest.o` in
6401 case $lt_cv_prog_gnu_ld in
6405 LD="${LD-ld} -m elf_x86_64"
6408 LD="${LD-ld} -m elf64_sparc"
6411 # GNU ld 2.21 introduced _sol2 emulations. Use them if available.
6412 if ${LD-ld} -V | grep _sol2 >/dev/null 2>&1; then
6417 if ${LD-ld} -64 -r -o conftest2.o conftest.o >/dev/null 2>&1; then
6429 need_locks="$enable_libtool_lock"
6431 if test -n "$ac_tool_prefix"; then
6432 # Extract the first word of "${ac_tool_prefix}mt", so it can be a program name with args.
6433 set dummy ${ac_tool_prefix}mt; ac_word=$2
6434 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6435 $as_echo_n "checking for $ac_word... " >&6; }
6436 if ${ac_cv_prog_MANIFEST_TOOL+:} false; then :
6437 $as_echo_n "(cached) " >&6
6439 if test -n "$MANIFEST_TOOL"; then
6440 ac_cv_prog_MANIFEST_TOOL="$MANIFEST_TOOL" # Let the user override the test.
6442 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6446 test -z "$as_dir" && as_dir=.
6447 for ac_exec_ext in '' $ac_executable_extensions; do
6448 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6449 ac_cv_prog_MANIFEST_TOOL="${ac_tool_prefix}mt"
6450 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6459 MANIFEST_TOOL=$ac_cv_prog_MANIFEST_TOOL
6460 if test -n "$MANIFEST_TOOL"; then
6461 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MANIFEST_TOOL" >&5
6462 $as_echo "$MANIFEST_TOOL" >&6; }
6464 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6465 $as_echo "no" >&6; }
6470 if test -z "$ac_cv_prog_MANIFEST_TOOL"; then
6471 ac_ct_MANIFEST_TOOL=$MANIFEST_TOOL
6472 # Extract the first word of "mt", so it can be a program name with args.
6473 set dummy mt; ac_word=$2
6474 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6475 $as_echo_n "checking for $ac_word... " >&6; }
6476 if ${ac_cv_prog_ac_ct_MANIFEST_TOOL+:} false; then :
6477 $as_echo_n "(cached) " >&6
6479 if test -n "$ac_ct_MANIFEST_TOOL"; then
6480 ac_cv_prog_ac_ct_MANIFEST_TOOL="$ac_ct_MANIFEST_TOOL" # Let the user override the test.
6482 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6486 test -z "$as_dir" && as_dir=.
6487 for ac_exec_ext in '' $ac_executable_extensions; do
6488 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6489 ac_cv_prog_ac_ct_MANIFEST_TOOL="mt"
6490 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6499 ac_ct_MANIFEST_TOOL=$ac_cv_prog_ac_ct_MANIFEST_TOOL
6500 if test -n "$ac_ct_MANIFEST_TOOL"; then
6501 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_MANIFEST_TOOL" >&5
6502 $as_echo "$ac_ct_MANIFEST_TOOL" >&6; }
6504 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6505 $as_echo "no" >&6; }
6508 if test "x$ac_ct_MANIFEST_TOOL" = x; then
6511 case $cross_compiling:$ac_tool_warned in
6513 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6514 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6515 ac_tool_warned=yes ;;
6517 MANIFEST_TOOL=$ac_ct_MANIFEST_TOOL
6520 MANIFEST_TOOL="$ac_cv_prog_MANIFEST_TOOL"
6523 test -z "$MANIFEST_TOOL" && MANIFEST_TOOL=mt
6524 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $MANIFEST_TOOL is a manifest tool" >&5
6525 $as_echo_n "checking if $MANIFEST_TOOL is a manifest tool... " >&6; }
6526 if ${lt_cv_path_mainfest_tool+:} false; then :
6527 $as_echo_n "(cached) " >&6
6529 lt_cv_path_mainfest_tool=no
6530 echo "$as_me:$LINENO: $MANIFEST_TOOL '-?'" >&5
6531 $MANIFEST_TOOL '-?' 2>conftest.err > conftest.out
6532 cat conftest.err >&5
6533 if $GREP 'Manifest Tool' conftest.out > /dev/null; then
6534 lt_cv_path_mainfest_tool=yes
6538 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_path_mainfest_tool" >&5
6539 $as_echo "$lt_cv_path_mainfest_tool" >&6; }
6540 if test "x$lt_cv_path_mainfest_tool" != xyes; then
6550 rhapsody* | darwin*)
6551 if test -n "$ac_tool_prefix"; then
6552 # Extract the first word of "${ac_tool_prefix}dsymutil", so it can be a program name with args.
6553 set dummy ${ac_tool_prefix}dsymutil; ac_word=$2
6554 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6555 $as_echo_n "checking for $ac_word... " >&6; }
6556 if ${ac_cv_prog_DSYMUTIL+:} false; then :
6557 $as_echo_n "(cached) " >&6
6559 if test -n "$DSYMUTIL"; then
6560 ac_cv_prog_DSYMUTIL="$DSYMUTIL" # Let the user override the test.
6562 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6566 test -z "$as_dir" && as_dir=.
6567 for ac_exec_ext in '' $ac_executable_extensions; do
6568 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6569 ac_cv_prog_DSYMUTIL="${ac_tool_prefix}dsymutil"
6570 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6579 DSYMUTIL=$ac_cv_prog_DSYMUTIL
6580 if test -n "$DSYMUTIL"; then
6581 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DSYMUTIL" >&5
6582 $as_echo "$DSYMUTIL" >&6; }
6584 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6585 $as_echo "no" >&6; }
6590 if test -z "$ac_cv_prog_DSYMUTIL"; then
6591 ac_ct_DSYMUTIL=$DSYMUTIL
6592 # Extract the first word of "dsymutil", so it can be a program name with args.
6593 set dummy dsymutil; ac_word=$2
6594 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6595 $as_echo_n "checking for $ac_word... " >&6; }
6596 if ${ac_cv_prog_ac_ct_DSYMUTIL+:} false; then :
6597 $as_echo_n "(cached) " >&6
6599 if test -n "$ac_ct_DSYMUTIL"; then
6600 ac_cv_prog_ac_ct_DSYMUTIL="$ac_ct_DSYMUTIL" # Let the user override the test.
6602 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6606 test -z "$as_dir" && as_dir=.
6607 for ac_exec_ext in '' $ac_executable_extensions; do
6608 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6609 ac_cv_prog_ac_ct_DSYMUTIL="dsymutil"
6610 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6619 ac_ct_DSYMUTIL=$ac_cv_prog_ac_ct_DSYMUTIL
6620 if test -n "$ac_ct_DSYMUTIL"; then
6621 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DSYMUTIL" >&5
6622 $as_echo "$ac_ct_DSYMUTIL" >&6; }
6624 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6625 $as_echo "no" >&6; }
6628 if test "x$ac_ct_DSYMUTIL" = x; then
6631 case $cross_compiling:$ac_tool_warned in
6633 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6634 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6635 ac_tool_warned=yes ;;
6637 DSYMUTIL=$ac_ct_DSYMUTIL
6640 DSYMUTIL="$ac_cv_prog_DSYMUTIL"
6643 if test -n "$ac_tool_prefix"; then
6644 # Extract the first word of "${ac_tool_prefix}nmedit", so it can be a program name with args.
6645 set dummy ${ac_tool_prefix}nmedit; ac_word=$2
6646 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6647 $as_echo_n "checking for $ac_word... " >&6; }
6648 if ${ac_cv_prog_NMEDIT+:} false; then :
6649 $as_echo_n "(cached) " >&6
6651 if test -n "$NMEDIT"; then
6652 ac_cv_prog_NMEDIT="$NMEDIT" # Let the user override the test.
6654 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6658 test -z "$as_dir" && as_dir=.
6659 for ac_exec_ext in '' $ac_executable_extensions; do
6660 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6661 ac_cv_prog_NMEDIT="${ac_tool_prefix}nmedit"
6662 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6671 NMEDIT=$ac_cv_prog_NMEDIT
6672 if test -n "$NMEDIT"; then
6673 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $NMEDIT" >&5
6674 $as_echo "$NMEDIT" >&6; }
6676 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6677 $as_echo "no" >&6; }
6682 if test -z "$ac_cv_prog_NMEDIT"; then
6683 ac_ct_NMEDIT=$NMEDIT
6684 # Extract the first word of "nmedit", so it can be a program name with args.
6685 set dummy nmedit; ac_word=$2
6686 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6687 $as_echo_n "checking for $ac_word... " >&6; }
6688 if ${ac_cv_prog_ac_ct_NMEDIT+:} false; then :
6689 $as_echo_n "(cached) " >&6
6691 if test -n "$ac_ct_NMEDIT"; then
6692 ac_cv_prog_ac_ct_NMEDIT="$ac_ct_NMEDIT" # Let the user override the test.
6694 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6698 test -z "$as_dir" && as_dir=.
6699 for ac_exec_ext in '' $ac_executable_extensions; do
6700 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6701 ac_cv_prog_ac_ct_NMEDIT="nmedit"
6702 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6711 ac_ct_NMEDIT=$ac_cv_prog_ac_ct_NMEDIT
6712 if test -n "$ac_ct_NMEDIT"; then
6713 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_NMEDIT" >&5
6714 $as_echo "$ac_ct_NMEDIT" >&6; }
6716 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6717 $as_echo "no" >&6; }
6720 if test "x$ac_ct_NMEDIT" = x; then
6723 case $cross_compiling:$ac_tool_warned in
6725 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6726 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6727 ac_tool_warned=yes ;;
6729 NMEDIT=$ac_ct_NMEDIT
6732 NMEDIT="$ac_cv_prog_NMEDIT"
6735 if test -n "$ac_tool_prefix"; then
6736 # Extract the first word of "${ac_tool_prefix}lipo", so it can be a program name with args.
6737 set dummy ${ac_tool_prefix}lipo; ac_word=$2
6738 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6739 $as_echo_n "checking for $ac_word... " >&6; }
6740 if ${ac_cv_prog_LIPO+:} false; then :
6741 $as_echo_n "(cached) " >&6
6743 if test -n "$LIPO"; then
6744 ac_cv_prog_LIPO="$LIPO" # Let the user override the test.
6746 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6750 test -z "$as_dir" && as_dir=.
6751 for ac_exec_ext in '' $ac_executable_extensions; do
6752 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6753 ac_cv_prog_LIPO="${ac_tool_prefix}lipo"
6754 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6763 LIPO=$ac_cv_prog_LIPO
6764 if test -n "$LIPO"; then
6765 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LIPO" >&5
6766 $as_echo "$LIPO" >&6; }
6768 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6769 $as_echo "no" >&6; }
6774 if test -z "$ac_cv_prog_LIPO"; then
6776 # Extract the first word of "lipo", so it can be a program name with args.
6777 set dummy lipo; ac_word=$2
6778 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6779 $as_echo_n "checking for $ac_word... " >&6; }
6780 if ${ac_cv_prog_ac_ct_LIPO+:} false; then :
6781 $as_echo_n "(cached) " >&6
6783 if test -n "$ac_ct_LIPO"; then
6784 ac_cv_prog_ac_ct_LIPO="$ac_ct_LIPO" # Let the user override the test.
6786 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6790 test -z "$as_dir" && as_dir=.
6791 for ac_exec_ext in '' $ac_executable_extensions; do
6792 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6793 ac_cv_prog_ac_ct_LIPO="lipo"
6794 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6803 ac_ct_LIPO=$ac_cv_prog_ac_ct_LIPO
6804 if test -n "$ac_ct_LIPO"; then
6805 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_LIPO" >&5
6806 $as_echo "$ac_ct_LIPO" >&6; }
6808 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6809 $as_echo "no" >&6; }
6812 if test "x$ac_ct_LIPO" = x; then
6815 case $cross_compiling:$ac_tool_warned in
6817 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6818 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6819 ac_tool_warned=yes ;;
6824 LIPO="$ac_cv_prog_LIPO"
6827 if test -n "$ac_tool_prefix"; then
6828 # Extract the first word of "${ac_tool_prefix}otool", so it can be a program name with args.
6829 set dummy ${ac_tool_prefix}otool; ac_word=$2
6830 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6831 $as_echo_n "checking for $ac_word... " >&6; }
6832 if ${ac_cv_prog_OTOOL+:} false; then :
6833 $as_echo_n "(cached) " >&6
6835 if test -n "$OTOOL"; then
6836 ac_cv_prog_OTOOL="$OTOOL" # Let the user override the test.
6838 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6842 test -z "$as_dir" && as_dir=.
6843 for ac_exec_ext in '' $ac_executable_extensions; do
6844 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6845 ac_cv_prog_OTOOL="${ac_tool_prefix}otool"
6846 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6855 OTOOL=$ac_cv_prog_OTOOL
6856 if test -n "$OTOOL"; then
6857 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OTOOL" >&5
6858 $as_echo "$OTOOL" >&6; }
6860 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6861 $as_echo "no" >&6; }
6866 if test -z "$ac_cv_prog_OTOOL"; then
6868 # Extract the first word of "otool", so it can be a program name with args.
6869 set dummy otool; ac_word=$2
6870 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6871 $as_echo_n "checking for $ac_word... " >&6; }
6872 if ${ac_cv_prog_ac_ct_OTOOL+:} false; then :
6873 $as_echo_n "(cached) " >&6
6875 if test -n "$ac_ct_OTOOL"; then
6876 ac_cv_prog_ac_ct_OTOOL="$ac_ct_OTOOL" # Let the user override the test.
6878 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6882 test -z "$as_dir" && as_dir=.
6883 for ac_exec_ext in '' $ac_executable_extensions; do
6884 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6885 ac_cv_prog_ac_ct_OTOOL="otool"
6886 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6895 ac_ct_OTOOL=$ac_cv_prog_ac_ct_OTOOL
6896 if test -n "$ac_ct_OTOOL"; then
6897 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OTOOL" >&5
6898 $as_echo "$ac_ct_OTOOL" >&6; }
6900 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6901 $as_echo "no" >&6; }
6904 if test "x$ac_ct_OTOOL" = x; then
6907 case $cross_compiling:$ac_tool_warned in
6909 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6910 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6911 ac_tool_warned=yes ;;
6916 OTOOL="$ac_cv_prog_OTOOL"
6919 if test -n "$ac_tool_prefix"; then
6920 # Extract the first word of "${ac_tool_prefix}otool64", so it can be a program name with args.
6921 set dummy ${ac_tool_prefix}otool64; ac_word=$2
6922 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6923 $as_echo_n "checking for $ac_word... " >&6; }
6924 if ${ac_cv_prog_OTOOL64+:} false; then :
6925 $as_echo_n "(cached) " >&6
6927 if test -n "$OTOOL64"; then
6928 ac_cv_prog_OTOOL64="$OTOOL64" # Let the user override the test.
6930 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6934 test -z "$as_dir" && as_dir=.
6935 for ac_exec_ext in '' $ac_executable_extensions; do
6936 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6937 ac_cv_prog_OTOOL64="${ac_tool_prefix}otool64"
6938 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6947 OTOOL64=$ac_cv_prog_OTOOL64
6948 if test -n "$OTOOL64"; then
6949 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OTOOL64" >&5
6950 $as_echo "$OTOOL64" >&6; }
6952 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6953 $as_echo "no" >&6; }
6958 if test -z "$ac_cv_prog_OTOOL64"; then
6959 ac_ct_OTOOL64=$OTOOL64
6960 # Extract the first word of "otool64", so it can be a program name with args.
6961 set dummy otool64; ac_word=$2
6962 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6963 $as_echo_n "checking for $ac_word... " >&6; }
6964 if ${ac_cv_prog_ac_ct_OTOOL64+:} false; then :
6965 $as_echo_n "(cached) " >&6
6967 if test -n "$ac_ct_OTOOL64"; then
6968 ac_cv_prog_ac_ct_OTOOL64="$ac_ct_OTOOL64" # Let the user override the test.
6970 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6974 test -z "$as_dir" && as_dir=.
6975 for ac_exec_ext in '' $ac_executable_extensions; do
6976 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6977 ac_cv_prog_ac_ct_OTOOL64="otool64"
6978 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6987 ac_ct_OTOOL64=$ac_cv_prog_ac_ct_OTOOL64
6988 if test -n "$ac_ct_OTOOL64"; then
6989 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OTOOL64" >&5
6990 $as_echo "$ac_ct_OTOOL64" >&6; }
6992 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6993 $as_echo "no" >&6; }
6996 if test "x$ac_ct_OTOOL64" = x; then
6999 case $cross_compiling:$ac_tool_warned in
7001 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7002 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7003 ac_tool_warned=yes ;;
7005 OTOOL64=$ac_ct_OTOOL64
7008 OTOOL64="$ac_cv_prog_OTOOL64"
7037 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -single_module linker flag" >&5
7038 $as_echo_n "checking for -single_module linker flag... " >&6; }
7039 if ${lt_cv_apple_cc_single_mod+:} false; then :
7040 $as_echo_n "(cached) " >&6
7042 lt_cv_apple_cc_single_mod=no
7043 if test -z "${LT_MULTI_MODULE}"; then
7044 # By default we will add the -single_module flag. You can override
7045 # by either setting the environment variable LT_MULTI_MODULE
7046 # non-empty at configure time, or by adding -multi_module to the
7048 rm -rf libconftest.dylib*
7049 echo "int foo(void){return 1;}" > conftest.c
7050 echo "$LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \
7051 -dynamiclib -Wl,-single_module conftest.c" >&5
7052 $LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \
7053 -dynamiclib -Wl,-single_module conftest.c 2>conftest.err
7055 # If there is a non-empty error log, and "single_module"
7056 # appears in it, assume the flag caused a linker warning
7057 if test -s conftest.err && $GREP single_module conftest.err; then
7058 cat conftest.err >&5
7059 # Otherwise, if the output was created with a 0 exit code from
7060 # the compiler, it worked.
7061 elif test -f libconftest.dylib && test $_lt_result -eq 0; then
7062 lt_cv_apple_cc_single_mod=yes
7064 cat conftest.err >&5
7066 rm -rf libconftest.dylib*
7070 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_apple_cc_single_mod" >&5
7071 $as_echo "$lt_cv_apple_cc_single_mod" >&6; }
7073 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -exported_symbols_list linker flag" >&5
7074 $as_echo_n "checking for -exported_symbols_list linker flag... " >&6; }
7075 if ${lt_cv_ld_exported_symbols_list+:} false; then :
7076 $as_echo_n "(cached) " >&6
7078 lt_cv_ld_exported_symbols_list=no
7079 save_LDFLAGS=$LDFLAGS
7080 echo "_main" > conftest.sym
7081 LDFLAGS="$LDFLAGS -Wl,-exported_symbols_list,conftest.sym"
7082 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7083 /* end confdefs.h. */
7093 if ac_fn_c_try_link "$LINENO"; then :
7094 lt_cv_ld_exported_symbols_list=yes
7096 lt_cv_ld_exported_symbols_list=no
7098 rm -f core conftest.err conftest.$ac_objext \
7099 conftest$ac_exeext conftest.$ac_ext
7100 LDFLAGS="$save_LDFLAGS"
7103 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_exported_symbols_list" >&5
7104 $as_echo "$lt_cv_ld_exported_symbols_list" >&6; }
7106 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -force_load linker flag" >&5
7107 $as_echo_n "checking for -force_load linker flag... " >&6; }
7108 if ${lt_cv_ld_force_load+:} false; then :
7109 $as_echo_n "(cached) " >&6
7111 lt_cv_ld_force_load=no
7112 cat > conftest.c << _LT_EOF
7113 int forced_loaded() { return 2;}
7115 echo "$LTCC $LTCFLAGS -c -o conftest.o conftest.c" >&5
7116 $LTCC $LTCFLAGS -c -o conftest.o conftest.c 2>&5
7117 echo "$AR cru libconftest.a conftest.o" >&5
7118 $AR cru libconftest.a conftest.o 2>&5
7119 echo "$RANLIB libconftest.a" >&5
7120 $RANLIB libconftest.a 2>&5
7121 cat > conftest.c << _LT_EOF
7122 int main() { return 0;}
7124 echo "$LTCC $LTCFLAGS $LDFLAGS -o conftest conftest.c -Wl,-force_load,./libconftest.a" >&5
7125 $LTCC $LTCFLAGS $LDFLAGS -o conftest conftest.c -Wl,-force_load,./libconftest.a 2>conftest.err
7127 if test -s conftest.err && $GREP force_load conftest.err; then
7128 cat conftest.err >&5
7129 elif test -f conftest && test $_lt_result -eq 0 && $GREP forced_load conftest >/dev/null 2>&1 ; then
7130 lt_cv_ld_force_load=yes
7132 cat conftest.err >&5
7134 rm -f conftest.err libconftest.a conftest conftest.c
7135 rm -rf conftest.dSYM
7138 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_force_load" >&5
7139 $as_echo "$lt_cv_ld_force_load" >&6; }
7141 rhapsody* | darwin1.[012])
7142 _lt_dar_allow_undefined='${wl}-undefined ${wl}suppress' ;;
7144 _lt_dar_allow_undefined='${wl}-flat_namespace ${wl}-undefined ${wl}suppress' ;;
7145 darwin*) # darwin 5.x on
7146 # if running on 10.5 or later, the deployment target defaults
7147 # to the OS version, if on x86, and 10.4, the deployment
7148 # target defaults to 10.4. Don't you love it?
7149 case ${MACOSX_DEPLOYMENT_TARGET-10.0},$host in
7150 10.0,*86*-darwin8*|10.0,*-darwin[91]*)
7151 _lt_dar_allow_undefined='${wl}-undefined ${wl}dynamic_lookup' ;;
7153 _lt_dar_allow_undefined='${wl}-flat_namespace ${wl}-undefined ${wl}suppress' ;;
7155 _lt_dar_allow_undefined='${wl}-undefined ${wl}dynamic_lookup' ;;
7159 if test "$lt_cv_apple_cc_single_mod" = "yes"; then
7160 _lt_dar_single_mod='$single_module'
7162 if test "$lt_cv_ld_exported_symbols_list" = "yes"; then
7163 _lt_dar_export_syms=' ${wl}-exported_symbols_list,$output_objdir/${libname}-symbols.expsym'
7165 _lt_dar_export_syms='~$NMEDIT -s $output_objdir/${libname}-symbols.expsym ${lib}'
7167 if test "$DSYMUTIL" != ":" && test "$lt_cv_ld_force_load" = "no"; then
7168 _lt_dsymutil='~$DSYMUTIL $lib || :'
7176 ac_cpp='$CPP $CPPFLAGS'
7177 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
7178 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
7179 ac_compiler_gnu=$ac_cv_c_compiler_gnu
7180 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C preprocessor" >&5
7181 $as_echo_n "checking how to run the C preprocessor... " >&6; }
7182 # On Suns, sometimes $CPP names a directory.
7183 if test -n "$CPP" && test -d "$CPP"; then
7186 if test -z "$CPP"; then
7187 if ${ac_cv_prog_CPP+:} false; then :
7188 $as_echo_n "(cached) " >&6
7190 # Double quotes because CPP needs to be expanded
7191 for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
7194 for ac_c_preproc_warn_flag in '' yes
7196 # Use a header file that comes with gcc, so configuring glibc
7197 # with a fresh cross-compiler works.
7198 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
7199 # <limits.h> exists even on freestanding compilers.
7200 # On the NeXT, cc -E runs the code through the compiler's parser,
7201 # not just through cpp. "Syntax error" is here to catch this case.
7202 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7203 /* end confdefs.h. */
7205 # include <limits.h>
7207 # include <assert.h>
7211 if ac_fn_c_try_cpp "$LINENO"; then :
7214 # Broken: fails on valid input.
7217 rm -f conftest.err conftest.i conftest.$ac_ext
7219 # OK, works on sane cases. Now check whether nonexistent headers
7220 # can be detected and how.
7221 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7222 /* end confdefs.h. */
7223 #include <ac_nonexistent.h>
7225 if ac_fn_c_try_cpp "$LINENO"; then :
7226 # Broken: success on invalid input.
7229 # Passes both tests.
7233 rm -f conftest.err conftest.i conftest.$ac_ext
7236 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
7237 rm -f conftest.i conftest.err conftest.$ac_ext
7238 if $ac_preproc_ok; then :
7250 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CPP" >&5
7251 $as_echo "$CPP" >&6; }
7253 for ac_c_preproc_warn_flag in '' yes
7255 # Use a header file that comes with gcc, so configuring glibc
7256 # with a fresh cross-compiler works.
7257 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
7258 # <limits.h> exists even on freestanding compilers.
7259 # On the NeXT, cc -E runs the code through the compiler's parser,
7260 # not just through cpp. "Syntax error" is here to catch this case.
7261 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7262 /* end confdefs.h. */
7264 # include <limits.h>
7266 # include <assert.h>
7270 if ac_fn_c_try_cpp "$LINENO"; then :
7273 # Broken: fails on valid input.
7276 rm -f conftest.err conftest.i conftest.$ac_ext
7278 # OK, works on sane cases. Now check whether nonexistent headers
7279 # can be detected and how.
7280 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7281 /* end confdefs.h. */
7282 #include <ac_nonexistent.h>
7284 if ac_fn_c_try_cpp "$LINENO"; then :
7285 # Broken: success on invalid input.
7288 # Passes both tests.
7292 rm -f conftest.err conftest.i conftest.$ac_ext
7295 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
7296 rm -f conftest.i conftest.err conftest.$ac_ext
7297 if $ac_preproc_ok; then :
7300 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
7301 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
7302 as_fn_error $? "C preprocessor \"$CPP\" fails sanity check
7303 See \`config.log' for more details" "$LINENO" 5; }
7307 ac_cpp='$CPP $CPPFLAGS'
7308 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
7309 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
7310 ac_compiler_gnu=$ac_cv_c_compiler_gnu
7313 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5
7314 $as_echo_n "checking for ANSI C header files... " >&6; }
7315 if ${ac_cv_header_stdc+:} false; then :
7316 $as_echo_n "(cached) " >&6
7318 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7319 /* end confdefs.h. */
7333 if ac_fn_c_try_compile "$LINENO"; then :
7334 ac_cv_header_stdc=yes
7336 ac_cv_header_stdc=no
7338 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
7340 if test $ac_cv_header_stdc = yes; then
7341 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
7342 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7343 /* end confdefs.h. */
7347 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
7348 $EGREP "memchr" >/dev/null 2>&1; then :
7351 ac_cv_header_stdc=no
7357 if test $ac_cv_header_stdc = yes; then
7358 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
7359 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7360 /* end confdefs.h. */
7364 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
7365 $EGREP "free" >/dev/null 2>&1; then :
7368 ac_cv_header_stdc=no
7374 if test $ac_cv_header_stdc = yes; then
7375 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
7376 if test "$cross_compiling" = yes; then :
7379 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7380 /* end confdefs.h. */
7383 #if ((' ' & 0x0FF) == 0x020)
7384 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
7385 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
7387 # define ISLOWER(c) \
7388 (('a' <= (c) && (c) <= 'i') \
7389 || ('j' <= (c) && (c) <= 'r') \
7390 || ('s' <= (c) && (c) <= 'z'))
7391 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
7394 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
7399 for (i = 0; i < 256; i++)
7400 if (XOR (islower (i), ISLOWER (i))
7401 || toupper (i) != TOUPPER (i))
7406 if ac_fn_c_try_run "$LINENO"; then :
7409 ac_cv_header_stdc=no
7411 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
7412 conftest.$ac_objext conftest.beam conftest.$ac_ext
7417 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdc" >&5
7418 $as_echo "$ac_cv_header_stdc" >&6; }
7419 if test $ac_cv_header_stdc = yes; then
7421 $as_echo "#define STDC_HEADERS 1" >>confdefs.h
7425 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
7426 for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
7427 inttypes.h stdint.h unistd.h
7429 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
7430 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default
7432 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
7433 cat >>confdefs.h <<_ACEOF
7434 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
7442 for ac_header in dlfcn.h
7444 ac_fn_c_check_header_compile "$LINENO" "dlfcn.h" "ac_cv_header_dlfcn_h" "$ac_includes_default
7446 if test "x$ac_cv_header_dlfcn_h" = xyes; then :
7447 cat >>confdefs.h <<_ACEOF
7448 #define HAVE_DLFCN_H 1
7469 # Check whether --enable-shared was given.
7470 if test "${enable_shared+set}" = set; then :
7471 enableval=$enable_shared; p=${PACKAGE-default}
7473 yes) enable_shared=yes ;;
7474 no) enable_shared=no ;;
7477 # Look at the argument we got. We use all the common list separators.
7478 lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
7479 for pkg in $enableval; do
7481 if test "X$pkg" = "X$p"; then
7500 # Check whether --enable-static was given.
7501 if test "${enable_static+set}" = set; then :
7502 enableval=$enable_static; p=${PACKAGE-default}
7504 yes) enable_static=yes ;;
7505 no) enable_static=no ;;
7508 # Look at the argument we got. We use all the common list separators.
7509 lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
7510 for pkg in $enableval; do
7512 if test "X$pkg" = "X$p"; then
7532 # Check whether --with-pic was given.
7533 if test "${with_pic+set}" = set; then :
7534 withval=$with_pic; lt_p=${PACKAGE-default}
7536 yes|no) pic_mode=$withval ;;
7539 # Look at the argument we got. We use all the common list separators.
7540 lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
7541 for lt_pkg in $withval; do
7543 if test "X$lt_pkg" = "X$lt_p"; then
7555 test -z "$pic_mode" && pic_mode=default
7563 # Check whether --enable-fast-install was given.
7564 if test "${enable_fast_install+set}" = set; then :
7565 enableval=$enable_fast_install; p=${PACKAGE-default}
7567 yes) enable_fast_install=yes ;;
7568 no) enable_fast_install=no ;;
7570 enable_fast_install=no
7571 # Look at the argument we got. We use all the common list separators.
7572 lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
7573 for pkg in $enableval; do
7575 if test "X$pkg" = "X$p"; then
7576 enable_fast_install=yes
7583 enable_fast_install=yes
7596 # This can be used to rebuild libtool when needed
7597 LIBTOOL_DEPS="$ltmain"
7599 # Always use our own libtool.
7600 LIBTOOL='$(SHELL) $(top_builddir)/libtool'
7631 test -z "$LN_S" && LN_S="ln -s"
7646 if test -n "${ZSH_VERSION+set}" ; then
7647 setopt NO_GLOB_SUBST
7650 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for objdir" >&5
7651 $as_echo_n "checking for objdir... " >&6; }
7652 if ${lt_cv_objdir+:} false; then :
7653 $as_echo_n "(cached) " >&6
7655 rm -f .libs 2>/dev/null
7656 mkdir .libs 2>/dev/null
7657 if test -d .libs; then
7660 # MS-DOS does not allow filenames that begin with a dot.
7663 rmdir .libs 2>/dev/null
7665 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_objdir" >&5
7666 $as_echo "$lt_cv_objdir" >&6; }
7667 objdir=$lt_cv_objdir
7673 cat >>confdefs.h <<_ACEOF
7674 #define LT_OBJDIR "$lt_cv_objdir/"
7682 # AIX sometimes has problems with the GCC collect2 program. For some
7683 # reason, if we set the COLLECT_NAMES environment variable, the problems
7684 # vanish in a puff of smoke.
7685 if test "X${COLLECT_NAMES+set}" != Xset; then
7687 export COLLECT_NAMES
7694 can_build_shared=yes
7696 # All known linkers require a `.a' archive for static linking (except MSVC,
7697 # which needs '.lib').
7700 with_gnu_ld="$lt_cv_prog_gnu_ld"
7703 old_CFLAGS="$CFLAGS"
7705 # Set sane defaults for various variables
7706 test -z "$CC" && CC=cc
7707 test -z "$LTCC" && LTCC=$CC
7708 test -z "$LTCFLAGS" && LTCFLAGS=$CFLAGS
7709 test -z "$LD" && LD=ld
7710 test -z "$ac_objext" && ac_objext=o
7712 for cc_temp in $compiler""; do
7714 compile | *[\\/]compile | ccache | *[\\/]ccache ) ;;
7715 distcc | *[\\/]distcc | purify | *[\\/]purify ) ;;
7720 cc_basename=`$ECHO "$cc_temp" | $SED "s%.*/%%; s%^$host_alias-%%"`
7723 # Only perform the check for file, if the check method requires it
7724 test -z "$MAGIC_CMD" && MAGIC_CMD=file
7725 case $deplibs_check_method in
7727 if test "$file_magic_cmd" = '$MAGIC_CMD'; then
7728 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ${ac_tool_prefix}file" >&5
7729 $as_echo_n "checking for ${ac_tool_prefix}file... " >&6; }
7730 if ${lt_cv_path_MAGIC_CMD+:} false; then :
7731 $as_echo_n "(cached) " >&6
7735 lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a path.
7738 lt_save_MAGIC_CMD="$MAGIC_CMD"
7739 lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
7740 ac_dummy="/usr/bin$PATH_SEPARATOR$PATH"
7741 for ac_dir in $ac_dummy; do
7743 test -z "$ac_dir" && ac_dir=.
7744 if test -f $ac_dir/${ac_tool_prefix}file; then
7745 lt_cv_path_MAGIC_CMD="$ac_dir/${ac_tool_prefix}file"
7746 if test -n "$file_magic_test_file"; then
7747 case $deplibs_check_method in
7749 file_magic_regex=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
7750 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
7751 if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
7752 $EGREP "$file_magic_regex" > /dev/null; then
7757 *** Warning: the command libtool uses to detect shared libraries,
7758 *** $file_magic_cmd, produces output that libtool cannot recognize.
7759 *** The result is that libtool may fail to recognize shared libraries
7760 *** as such. This will affect the creation of libtool libraries that
7761 *** depend on shared libraries, but programs linked with such libtool
7762 *** libraries will work regardless of this problem. Nevertheless, you
7763 *** may want to report the problem to your system manager and/or to
7764 *** bug-libtool@gnu.org
7774 MAGIC_CMD="$lt_save_MAGIC_CMD"
7779 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
7780 if test -n "$MAGIC_CMD"; then
7781 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MAGIC_CMD" >&5
7782 $as_echo "$MAGIC_CMD" >&6; }
7784 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7785 $as_echo "no" >&6; }
7792 if test -z "$lt_cv_path_MAGIC_CMD"; then
7793 if test -n "$ac_tool_prefix"; then
7794 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for file" >&5
7795 $as_echo_n "checking for file... " >&6; }
7796 if ${lt_cv_path_MAGIC_CMD+:} false; then :
7797 $as_echo_n "(cached) " >&6
7801 lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a path.
7804 lt_save_MAGIC_CMD="$MAGIC_CMD"
7805 lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
7806 ac_dummy="/usr/bin$PATH_SEPARATOR$PATH"
7807 for ac_dir in $ac_dummy; do
7809 test -z "$ac_dir" && ac_dir=.
7810 if test -f $ac_dir/file; then
7811 lt_cv_path_MAGIC_CMD="$ac_dir/file"
7812 if test -n "$file_magic_test_file"; then
7813 case $deplibs_check_method in
7815 file_magic_regex=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
7816 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
7817 if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
7818 $EGREP "$file_magic_regex" > /dev/null; then
7823 *** Warning: the command libtool uses to detect shared libraries,
7824 *** $file_magic_cmd, produces output that libtool cannot recognize.
7825 *** The result is that libtool may fail to recognize shared libraries
7826 *** as such. This will affect the creation of libtool libraries that
7827 *** depend on shared libraries, but programs linked with such libtool
7828 *** libraries will work regardless of this problem. Nevertheless, you
7829 *** may want to report the problem to your system manager and/or to
7830 *** bug-libtool@gnu.org
7840 MAGIC_CMD="$lt_save_MAGIC_CMD"
7845 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
7846 if test -n "$MAGIC_CMD"; then
7847 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MAGIC_CMD" >&5
7848 $as_echo "$MAGIC_CMD" >&6; }
7850 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7851 $as_echo "no" >&6; }
7864 # Use C for the default configuration in the libtool script
7868 ac_cpp='$CPP $CPPFLAGS'
7869 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
7870 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
7871 ac_compiler_gnu=$ac_cv_c_compiler_gnu
7874 # Source file extension for C test sources.
7877 # Object file extension for compiled C test sources.
7881 # Code to be used in simple compile tests
7882 lt_simple_compile_test_code="int some_variable = 0;"
7884 # Code to be used in simple link tests
7885 lt_simple_link_test_code='int main(){return(0);}'
7893 # If no C compiler was specified, use CC.
7896 # If no C compiler flags were specified, use CFLAGS.
7897 LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
7899 # Allow CC to be a program name with arguments.
7902 # Save the default compiler, since it gets overwritten when the other
7903 # tags are being tested, and _LT_TAGVAR(compiler, []) is a NOP.
7904 compiler_DEFAULT=$CC
7906 # save warnings/boilerplate of simple test code
7907 ac_outfile=conftest.$ac_objext
7908 echo "$lt_simple_compile_test_code" >conftest.$ac_ext
7909 eval "$ac_compile" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
7910 _lt_compiler_boilerplate=`cat conftest.err`
7913 ac_outfile=conftest.$ac_objext
7914 echo "$lt_simple_link_test_code" >conftest.$ac_ext
7915 eval "$ac_link" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
7916 _lt_linker_boilerplate=`cat conftest.err`
7921 ## There is no encapsulation within the following macros, do not change
7922 ## the running order or otherwise move them around unless you know exactly
7923 ## what you are doing...
7924 if test -n "$compiler"; then
7926 lt_prog_compiler_no_builtin_flag=
7928 if test "$GCC" = yes; then
7929 case $cc_basename in
7931 lt_prog_compiler_no_builtin_flag=' -Xcompiler -fno-builtin' ;;
7933 lt_prog_compiler_no_builtin_flag=' -fno-builtin' ;;
7936 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -fno-rtti -fno-exceptions" >&5
7937 $as_echo_n "checking if $compiler supports -fno-rtti -fno-exceptions... " >&6; }
7938 if ${lt_cv_prog_compiler_rtti_exceptions+:} false; then :
7939 $as_echo_n "(cached) " >&6
7941 lt_cv_prog_compiler_rtti_exceptions=no
7942 ac_outfile=conftest.$ac_objext
7943 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
7944 lt_compiler_flag="-fno-rtti -fno-exceptions"
7945 # Insert the option either (1) after the last *FLAGS variable, or
7946 # (2) before a word containing "conftest.", or (3) at the end.
7947 # Note that $ac_compile itself does not contain backslashes and begins
7948 # with a dollar sign (not a hyphen), so the echo should work correctly.
7949 # The option is referenced via a variable to avoid confusing sed.
7950 lt_compile=`echo "$ac_compile" | $SED \
7951 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
7952 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
7953 -e 's:$: $lt_compiler_flag:'`
7954 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
7955 (eval "$lt_compile" 2>conftest.err)
7957 cat conftest.err >&5
7958 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7959 if (exit $ac_status) && test -s "$ac_outfile"; then
7960 # The compiler can only warn and ignore the option if not recognized
7961 # So say no if there are warnings other than the usual output.
7962 $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' >conftest.exp
7963 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
7964 if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
7965 lt_cv_prog_compiler_rtti_exceptions=yes
7971 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_rtti_exceptions" >&5
7972 $as_echo "$lt_cv_prog_compiler_rtti_exceptions" >&6; }
7974 if test x"$lt_cv_prog_compiler_rtti_exceptions" = xyes; then
7975 lt_prog_compiler_no_builtin_flag="$lt_prog_compiler_no_builtin_flag -fno-rtti -fno-exceptions"
7987 lt_prog_compiler_wl=
7988 lt_prog_compiler_pic=
7989 lt_prog_compiler_static=
7992 if test "$GCC" = yes; then
7993 lt_prog_compiler_wl='-Wl,'
7994 lt_prog_compiler_static='-static'
7998 # All AIX code is PIC.
7999 if test "$host_cpu" = ia64; then
8000 # AIX 5 now supports IA64 processor
8001 lt_prog_compiler_static='-Bstatic'
8008 # see comment about AmigaOS4 .so support
8009 lt_prog_compiler_pic='-fPIC'
8012 # FIXME: we need at least 68020 code to build shared libraries, but
8013 # adding the `-m68020' flag to GCC prevents building anything better,
8015 lt_prog_compiler_pic='-m68020 -resident32 -malways-restore-a4'
8020 beos* | irix5* | irix6* | nonstopux* | osf3* | osf4* | osf5*)
8021 # PIC is the default for these OSes.
8024 mingw* | cygwin* | pw32* | os2* | cegcc*)
8025 # This hack is so that the source file can tell whether it is being
8026 # built for inclusion in a dll (and should export symbols for example).
8027 # Although the cygwin gcc ignores -fPIC, still need this for old-style
8028 # (--disable-auto-import) libraries
8029 lt_prog_compiler_pic='-DDLL_EXPORT'
8032 darwin* | rhapsody*)
8033 # PIC is the default on this platform
8034 # Common symbols not allowed in MH_DYLIB files
8035 lt_prog_compiler_pic='-fno-common'
8039 # PIC is the default for Haiku.
8040 # The "-static" flag exists, but is broken.
8041 lt_prog_compiler_static=
8045 # PIC is the default for 64-bit PA HP-UX, but not for 32-bit
8046 # PA HP-UX. On IA64 HP-UX, PIC is the default but the pic flag
8047 # sets the default TLS model and affects inlining.
8053 lt_prog_compiler_pic='-fPIC'
8059 # Interix 3.x gcc -fpic/-fPIC options generate broken code.
8060 # Instead, we relocate shared libraries at runtime.
8064 # Just because we use GCC doesn't mean we suddenly get shared libraries
8065 # on systems that don't support them.
8066 lt_prog_compiler_can_build_shared=no
8071 # QNX uses GNU C++, but need to define -shared option too, otherwise
8073 lt_prog_compiler_pic='-fPIC -shared'
8077 if test -d /usr/nec; then
8078 lt_prog_compiler_pic=-Kconform_pic
8083 lt_prog_compiler_pic='-fPIC'
8087 case $cc_basename in
8088 nvcc*) # Cuda Compiler Driver 2.2
8089 lt_prog_compiler_wl='-Xlinker '
8090 if test -n "$lt_prog_compiler_pic"; then
8091 lt_prog_compiler_pic="-Xcompiler $lt_prog_compiler_pic"
8096 # PORTME Check for flag to pass linker flags through the system compiler.
8099 lt_prog_compiler_wl='-Wl,'
8100 if test "$host_cpu" = ia64; then
8101 # AIX 5 now supports IA64 processor
8102 lt_prog_compiler_static='-Bstatic'
8104 lt_prog_compiler_static='-bnso -bI:/lib/syscalls.exp'
8108 mingw* | cygwin* | pw32* | os2* | cegcc*)
8109 # This hack is so that the source file can tell whether it is being
8110 # built for inclusion in a dll (and should export symbols for example).
8111 lt_prog_compiler_pic='-DDLL_EXPORT'
8114 hpux9* | hpux10* | hpux11*)
8115 lt_prog_compiler_wl='-Wl,'
8116 # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
8123 lt_prog_compiler_pic='+Z'
8126 # Is there a better lt_prog_compiler_static that works with the bundled CC?
8127 lt_prog_compiler_static='${wl}-a ${wl}archive'
8130 irix5* | irix6* | nonstopux*)
8131 lt_prog_compiler_wl='-Wl,'
8132 # PIC (with -KPIC) is the default.
8133 lt_prog_compiler_static='-non_shared'
8136 linux* | k*bsd*-gnu | kopensolaris*-gnu)
8137 case $cc_basename in
8138 # old Intel for x86_64 which still supported -KPIC.
8140 lt_prog_compiler_wl='-Wl,'
8141 lt_prog_compiler_pic='-KPIC'
8142 lt_prog_compiler_static='-static'
8144 # icc used to be incompatible with GCC.
8145 # ICC 10 doesn't accept -KPIC any more.
8147 lt_prog_compiler_wl='-Wl,'
8148 lt_prog_compiler_pic='-fPIC'
8149 lt_prog_compiler_static='-static'
8151 # Lahey Fortran 8.1.
8153 lt_prog_compiler_wl='-Wl,'
8154 lt_prog_compiler_pic='--shared'
8155 lt_prog_compiler_static='--static'
8158 # NAG Fortran compiler
8159 lt_prog_compiler_wl='-Wl,-Wl,,'
8160 lt_prog_compiler_pic='-PIC'
8161 lt_prog_compiler_static='-Bstatic'
8163 pgcc* | pgf77* | pgf90* | pgf95* | pgfortran*)
8164 # Portland Group compilers (*not* the Pentium gcc compiler,
8165 # which looks to be a dead project)
8166 lt_prog_compiler_wl='-Wl,'
8167 lt_prog_compiler_pic='-fpic'
8168 lt_prog_compiler_static='-Bstatic'
8171 lt_prog_compiler_wl='-Wl,'
8172 # All Alpha code is PIC.
8173 lt_prog_compiler_static='-non_shared'
8175 xl* | bgxl* | bgf* | mpixl*)
8176 # IBM XL C 8.0/Fortran 10.1, 11.1 on PPC and BlueGene
8177 lt_prog_compiler_wl='-Wl,'
8178 lt_prog_compiler_pic='-qpic'
8179 lt_prog_compiler_static='-qstaticlink'
8182 case `$CC -V 2>&1 | sed 5q` in
8183 *Sun\ Ceres\ Fortran* | *Sun*Fortran*\ [1-7].* | *Sun*Fortran*\ 8.[0-3]*)
8184 # Sun Fortran 8.3 passes all unrecognized flags to the linker
8185 lt_prog_compiler_pic='-KPIC'
8186 lt_prog_compiler_static='-Bstatic'
8187 lt_prog_compiler_wl=''
8189 *Sun\ F* | *Sun*Fortran*)
8190 lt_prog_compiler_pic='-KPIC'
8191 lt_prog_compiler_static='-Bstatic'
8192 lt_prog_compiler_wl='-Qoption ld '
8196 lt_prog_compiler_pic='-KPIC'
8197 lt_prog_compiler_static='-Bstatic'
8198 lt_prog_compiler_wl='-Wl,'
8200 *Intel*\ [CF]*Compiler*)
8201 lt_prog_compiler_wl='-Wl,'
8202 lt_prog_compiler_pic='-fPIC'
8203 lt_prog_compiler_static='-static'
8206 lt_prog_compiler_wl='-Wl,'
8207 lt_prog_compiler_pic='-fpic'
8208 lt_prog_compiler_static='-Bstatic'
8216 lt_prog_compiler_pic='-KPIC'
8217 lt_prog_compiler_static='-Bstatic'
8221 # QNX uses GNU C++, but need to define -shared option too, otherwise
8223 lt_prog_compiler_pic='-fPIC -shared'
8226 osf3* | osf4* | osf5*)
8227 lt_prog_compiler_wl='-Wl,'
8228 # All OSF/1 code is PIC.
8229 lt_prog_compiler_static='-non_shared'
8233 lt_prog_compiler_static='-non_shared'
8237 lt_prog_compiler_pic='-KPIC'
8238 lt_prog_compiler_static='-Bstatic'
8239 case $cc_basename in
8240 f77* | f90* | f95* | sunf77* | sunf90* | sunf95*)
8241 lt_prog_compiler_wl='-Qoption ld ';;
8243 lt_prog_compiler_wl='-Wl,';;
8248 lt_prog_compiler_wl='-Qoption ld '
8249 lt_prog_compiler_pic='-PIC'
8250 lt_prog_compiler_static='-Bstatic'
8253 sysv4 | sysv4.2uw2* | sysv4.3*)
8254 lt_prog_compiler_wl='-Wl,'
8255 lt_prog_compiler_pic='-KPIC'
8256 lt_prog_compiler_static='-Bstatic'
8260 if test -d /usr/nec ;then
8261 lt_prog_compiler_pic='-Kconform_pic'
8262 lt_prog_compiler_static='-Bstatic'
8266 sysv5* | unixware* | sco3.2v5* | sco5v6* | OpenUNIX*)
8267 lt_prog_compiler_wl='-Wl,'
8268 lt_prog_compiler_pic='-KPIC'
8269 lt_prog_compiler_static='-Bstatic'
8273 lt_prog_compiler_wl='-Wl,'
8274 lt_prog_compiler_can_build_shared=no
8278 lt_prog_compiler_pic='-pic'
8279 lt_prog_compiler_static='-Bstatic'
8283 lt_prog_compiler_can_build_shared=no
8289 # For platforms which do not support PIC, -DPIC is meaningless:
8291 lt_prog_compiler_pic=
8294 lt_prog_compiler_pic="$lt_prog_compiler_pic -DPIC"
8298 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $compiler option to produce PIC" >&5
8299 $as_echo_n "checking for $compiler option to produce PIC... " >&6; }
8300 if ${lt_cv_prog_compiler_pic+:} false; then :
8301 $as_echo_n "(cached) " >&6
8303 lt_cv_prog_compiler_pic=$lt_prog_compiler_pic
8305 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic" >&5
8306 $as_echo "$lt_cv_prog_compiler_pic" >&6; }
8307 lt_prog_compiler_pic=$lt_cv_prog_compiler_pic
8310 # Check to make sure the PIC flag actually works.
8312 if test -n "$lt_prog_compiler_pic"; then
8313 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler PIC flag $lt_prog_compiler_pic works" >&5
8314 $as_echo_n "checking if $compiler PIC flag $lt_prog_compiler_pic works... " >&6; }
8315 if ${lt_cv_prog_compiler_pic_works+:} false; then :
8316 $as_echo_n "(cached) " >&6
8318 lt_cv_prog_compiler_pic_works=no
8319 ac_outfile=conftest.$ac_objext
8320 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
8321 lt_compiler_flag="$lt_prog_compiler_pic -DPIC"
8322 # Insert the option either (1) after the last *FLAGS variable, or
8323 # (2) before a word containing "conftest.", or (3) at the end.
8324 # Note that $ac_compile itself does not contain backslashes and begins
8325 # with a dollar sign (not a hyphen), so the echo should work correctly.
8326 # The option is referenced via a variable to avoid confusing sed.
8327 lt_compile=`echo "$ac_compile" | $SED \
8328 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
8329 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
8330 -e 's:$: $lt_compiler_flag:'`
8331 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
8332 (eval "$lt_compile" 2>conftest.err)
8334 cat conftest.err >&5
8335 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8336 if (exit $ac_status) && test -s "$ac_outfile"; then
8337 # The compiler can only warn and ignore the option if not recognized
8338 # So say no if there are warnings other than the usual output.
8339 $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' >conftest.exp
8340 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
8341 if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
8342 lt_cv_prog_compiler_pic_works=yes
8348 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic_works" >&5
8349 $as_echo "$lt_cv_prog_compiler_pic_works" >&6; }
8351 if test x"$lt_cv_prog_compiler_pic_works" = xyes; then
8352 case $lt_prog_compiler_pic in
8354 *) lt_prog_compiler_pic=" $lt_prog_compiler_pic" ;;
8357 lt_prog_compiler_pic=
8358 lt_prog_compiler_can_build_shared=no
8374 # Check to make sure the static flag actually works.
8376 wl=$lt_prog_compiler_wl eval lt_tmp_static_flag=\"$lt_prog_compiler_static\"
8377 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler static flag $lt_tmp_static_flag works" >&5
8378 $as_echo_n "checking if $compiler static flag $lt_tmp_static_flag works... " >&6; }
8379 if ${lt_cv_prog_compiler_static_works+:} false; then :
8380 $as_echo_n "(cached) " >&6
8382 lt_cv_prog_compiler_static_works=no
8383 save_LDFLAGS="$LDFLAGS"
8384 LDFLAGS="$LDFLAGS $lt_tmp_static_flag"
8385 echo "$lt_simple_link_test_code" > conftest.$ac_ext
8386 if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
8387 # The linker can only warn and ignore the option if not recognized
8388 # So say no if there are warnings
8389 if test -s conftest.err; then
8390 # Append any errors to the config.log.
8391 cat conftest.err 1>&5
8392 $ECHO "$_lt_linker_boilerplate" | $SED '/^$/d' > conftest.exp
8393 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
8394 if diff conftest.exp conftest.er2 >/dev/null; then
8395 lt_cv_prog_compiler_static_works=yes
8398 lt_cv_prog_compiler_static_works=yes
8402 LDFLAGS="$save_LDFLAGS"
8405 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_static_works" >&5
8406 $as_echo "$lt_cv_prog_compiler_static_works" >&6; }
8408 if test x"$lt_cv_prog_compiler_static_works" = xyes; then
8411 lt_prog_compiler_static=
8420 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
8421 $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
8422 if ${lt_cv_prog_compiler_c_o+:} false; then :
8423 $as_echo_n "(cached) " >&6
8425 lt_cv_prog_compiler_c_o=no
8426 $RM -r conftest 2>/dev/null
8430 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
8432 lt_compiler_flag="-o out/conftest2.$ac_objext"
8433 # Insert the option either (1) after the last *FLAGS variable, or
8434 # (2) before a word containing "conftest.", or (3) at the end.
8435 # Note that $ac_compile itself does not contain backslashes and begins
8436 # with a dollar sign (not a hyphen), so the echo should work correctly.
8437 lt_compile=`echo "$ac_compile" | $SED \
8438 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
8439 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
8440 -e 's:$: $lt_compiler_flag:'`
8441 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
8442 (eval "$lt_compile" 2>out/conftest.err)
8444 cat out/conftest.err >&5
8445 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8446 if (exit $ac_status) && test -s out/conftest2.$ac_objext
8448 # The compiler can only warn and ignore the option if not recognized
8449 # So say no if there are warnings
8450 $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' > out/conftest.exp
8451 $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
8452 if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
8453 lt_cv_prog_compiler_c_o=yes
8458 # SGI C++ compiler will create directory out/ii_files/ for
8459 # template instantiation
8460 test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
8461 $RM out/* && rmdir out
8467 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o" >&5
8468 $as_echo "$lt_cv_prog_compiler_c_o" >&6; }
8475 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
8476 $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
8477 if ${lt_cv_prog_compiler_c_o+:} false; then :
8478 $as_echo_n "(cached) " >&6
8480 lt_cv_prog_compiler_c_o=no
8481 $RM -r conftest 2>/dev/null
8485 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
8487 lt_compiler_flag="-o out/conftest2.$ac_objext"
8488 # Insert the option either (1) after the last *FLAGS variable, or
8489 # (2) before a word containing "conftest.", or (3) at the end.
8490 # Note that $ac_compile itself does not contain backslashes and begins
8491 # with a dollar sign (not a hyphen), so the echo should work correctly.
8492 lt_compile=`echo "$ac_compile" | $SED \
8493 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
8494 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
8495 -e 's:$: $lt_compiler_flag:'`
8496 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
8497 (eval "$lt_compile" 2>out/conftest.err)
8499 cat out/conftest.err >&5
8500 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8501 if (exit $ac_status) && test -s out/conftest2.$ac_objext
8503 # The compiler can only warn and ignore the option if not recognized
8504 # So say no if there are warnings
8505 $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' > out/conftest.exp
8506 $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
8507 if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
8508 lt_cv_prog_compiler_c_o=yes
8513 # SGI C++ compiler will create directory out/ii_files/ for
8514 # template instantiation
8515 test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
8516 $RM out/* && rmdir out
8522 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o" >&5
8523 $as_echo "$lt_cv_prog_compiler_c_o" >&6; }
8528 hard_links="nottested"
8529 if test "$lt_cv_prog_compiler_c_o" = no && test "$need_locks" != no; then
8530 # do not overwrite the value of need_locks provided by the user
8531 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if we can lock with hard links" >&5
8532 $as_echo_n "checking if we can lock with hard links... " >&6; }
8535 ln conftest.a conftest.b 2>/dev/null && hard_links=no
8537 ln conftest.a conftest.b 2>&5 || hard_links=no
8538 ln conftest.a conftest.b 2>/dev/null && hard_links=no
8539 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hard_links" >&5
8540 $as_echo "$hard_links" >&6; }
8541 if test "$hard_links" = no; then
8542 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5
8543 $as_echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;}
8555 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $compiler linker ($LD) supports shared libraries" >&5
8556 $as_echo_n "checking whether the $compiler linker ($LD) supports shared libraries... " >&6; }
8559 allow_undefined_flag=
8560 always_export_symbols=no
8562 archive_expsym_cmds=
8563 compiler_needs_object=no
8564 enable_shared_with_static_runtimes=no
8565 export_dynamic_flag_spec=
8566 export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
8567 hardcode_automatic=no
8569 hardcode_direct_absolute=no
8570 hardcode_libdir_flag_spec=
8571 hardcode_libdir_separator=
8573 hardcode_shlibpath_var=unsupported
8575 link_all_deplibs=unknown
8578 old_archive_from_new_cmds=
8579 old_archive_from_expsyms_cmds=
8580 thread_safe_flag_spec=
8581 whole_archive_flag_spec=
8582 # include_expsyms should be a list of space-separated symbols to be *always*
8583 # included in the symbol list
8585 # exclude_expsyms can be an extended regexp of symbols to exclude
8586 # it will be wrapped by ` (' and `)$', so one must not match beginning or
8587 # end of line. Example: `a|bc|.*d.*' will exclude the symbols `a' and `bc',
8588 # as well as any symbol that contains `d'.
8589 exclude_expsyms='_GLOBAL_OFFSET_TABLE_|_GLOBAL__F[ID]_.*'
8590 # Although _GLOBAL_OFFSET_TABLE_ is a valid symbol C name, most a.out
8591 # platforms (ab)use it in PIC code, but their linkers get confused if
8592 # the symbol is explicitly referenced. Since portable code cannot
8593 # rely on this symbol name, it's probably fine to never include it in
8594 # preloaded symbol tables.
8595 # Exclude shared library initialization/finalization symbols.
8596 extract_expsyms_cmds=
8599 cygwin* | mingw* | pw32* | cegcc*)
8600 # FIXME: the MSVC++ port hasn't been tested in a loooong time
8601 # When not using gcc, we currently assume that we are using
8602 # Microsoft Visual C++.
8603 if test "$GCC" != yes; then
8608 # we just hope/assume this is gcc and not c89 (= MSVC++)
8614 linux* | k*bsd*-gnu | gnu*)
8621 # On some targets, GNU ld is compatible enough with the native linker
8622 # that we're better off using the native interface for both.
8623 lt_use_gnu_ld_interface=no
8624 if test "$with_gnu_ld" = yes; then
8627 # The AIX port of GNU ld has always aspired to compatibility
8628 # with the native linker. However, as the warning in the GNU ld
8629 # block says, versions before 2.19.5* couldn't really create working
8630 # shared libraries, regardless of the interface used.
8631 case `$LD -v 2>&1` in
8632 *\ \(GNU\ Binutils\)\ 2.19.5*) ;;
8633 *\ \(GNU\ Binutils\)\ 2.[2-9]*) ;;
8634 *\ \(GNU\ Binutils\)\ [3-9]*) ;;
8636 lt_use_gnu_ld_interface=yes
8641 lt_use_gnu_ld_interface=yes
8646 if test "$lt_use_gnu_ld_interface" = yes; then
8647 # If archive_cmds runs LD, not CC, wlarc should be empty
8650 # Set some defaults for GNU ld with shared library support. These
8651 # are reset later if shared libraries are not supported. Putting them
8652 # here allows them to be overridden if necessary.
8653 runpath_var=LD_RUN_PATH
8654 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
8655 export_dynamic_flag_spec='${wl}--export-dynamic'
8656 # ancient GNU ld didn't support --whole-archive et. al.
8657 if $LD --help 2>&1 | $GREP 'no-whole-archive' > /dev/null; then
8658 whole_archive_flag_spec="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
8660 whole_archive_flag_spec=
8662 supports_anon_versioning=no
8663 case `$LD -v 2>&1` in
8664 *GNU\ gold*) supports_anon_versioning=yes ;;
8665 *\ [01].* | *\ 2.[0-9].* | *\ 2.10.*) ;; # catch versions < 2.11
8666 *\ 2.11.93.0.2\ *) supports_anon_versioning=yes ;; # RH7.3 ...
8667 *\ 2.11.92.0.12\ *) supports_anon_versioning=yes ;; # Mandrake 8.2 ...
8668 *\ 2.11.*) ;; # other 2.11 versions
8669 *) supports_anon_versioning=yes ;;
8672 # See if GNU ld supports shared libraries.
8675 # On AIX/PPC, the GNU linker is very broken
8676 if test "$host_cpu" != ia64; then
8680 *** Warning: the GNU linker, at least up to release 2.19, is reported
8681 *** to be unable to reliably create shared libraries on AIX.
8682 *** Therefore, libtool is disabling shared libraries support. If you
8683 *** really care for shared libraries, you may want to install binutils
8684 *** 2.20 or above, or modify your PATH so that a non-GNU linker is found.
8685 *** You will then need to restart the configuration process.
8694 # see comment about AmigaOS4 .so support
8695 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
8696 archive_expsym_cmds=''
8699 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)'
8700 hardcode_libdir_flag_spec='-L$libdir'
8701 hardcode_minus_L=yes
8707 if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
8708 allow_undefined_flag=unsupported
8709 # Joseph Beckenbach <jrb3@best.com> says some releases of gcc
8710 # support --undefined. This deserves some investigation. FIXME
8711 archive_cmds='$CC -nostart $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
8717 cygwin* | mingw* | pw32* | cegcc*)
8718 # _LT_TAGVAR(hardcode_libdir_flag_spec, ) is actually meaningless,
8719 # as there is no search path for DLLs.
8720 hardcode_libdir_flag_spec='-L$libdir'
8721 export_dynamic_flag_spec='${wl}--export-all-symbols'
8722 allow_undefined_flag=unsupported
8723 always_export_symbols=no
8724 enable_shared_with_static_runtimes=yes
8725 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'
8726 exclude_expsyms='[_]+GLOBAL_OFFSET_TABLE_|[_]+GLOBAL__[FID]_.*|[_]+head_[A-Za-z0-9_]+_dll|[A-Za-z0-9_]+_dll_iname'
8728 if $LD --help 2>&1 | $GREP 'auto-import' > /dev/null; then
8729 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
8730 # If the export-symbols file already is a .def file (1st line
8731 # is EXPORTS), use it as is; otherwise, prepend...
8732 archive_expsym_cmds='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
8733 cp $export_symbols $output_objdir/$soname.def;
8735 echo EXPORTS > $output_objdir/$soname.def;
8736 cat $export_symbols >> $output_objdir/$soname.def;
8738 $CC -shared $output_objdir/$soname.def $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
8745 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
8746 link_all_deplibs=yes
8751 hardcode_shlibpath_var=no
8752 hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
8753 export_dynamic_flag_spec='${wl}-E'
8754 # Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc.
8755 # Instead, shared libraries are loaded at an image base (0x10000000 by
8756 # default) and relocated if they conflict, which is a slow very memory
8757 # consuming and fragmenting process. To avoid this, we pick a random,
8758 # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link
8759 # time. Moving up from 0x10000000 also allows more sbrk(2) space.
8760 archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-h,$soname ${wl}--image-base,`expr ${RANDOM-$$} % 4096 / 2 \* 262144 + 1342177280` -o $lib'
8761 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'
8764 gnu* | linux* | tpf* | k*bsd*-gnu | kopensolaris*-gnu)
8766 if test "$host_os" = linux-dietlibc; then
8767 case $cc_basename in
8768 diet\ *) tmp_diet=yes;; # linux-dietlibc with static linking (!diet-dyn)
8771 if $LD --help 2>&1 | $EGREP ': supported targets:.* elf' > /dev/null \
8772 && test "$tmp_diet" = no
8774 tmp_addflag=' $pic_flag'
8775 tmp_sharedflag='-shared'
8776 case $cc_basename,$host_cpu in
8777 pgcc*) # Portland Group C compiler
8778 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'
8779 tmp_addflag=' $pic_flag'
8781 pgf77* | pgf90* | pgf95* | pgfortran*)
8782 # Portland Group f77 and f90 compilers
8783 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'
8784 tmp_addflag=' $pic_flag -Mnomain' ;;
8785 ecc*,ia64* | icc*,ia64*) # Intel C compiler on ia64
8786 tmp_addflag=' -i_dynamic' ;;
8787 efc*,ia64* | ifort*,ia64*) # Intel Fortran compiler on ia64
8788 tmp_addflag=' -i_dynamic -nofor_main' ;;
8789 ifc* | ifort*) # Intel Fortran compiler
8790 tmp_addflag=' -nofor_main' ;;
8791 lf95*) # Lahey Fortran 8.1
8792 whole_archive_flag_spec=
8793 tmp_sharedflag='--shared' ;;
8794 xl[cC]* | bgxl[cC]* | mpixl[cC]*) # IBM XL C 8.0 on PPC (deal with xlf below)
8795 tmp_sharedflag='-qmkshrobj'
8797 nvcc*) # Cuda Compiler Driver 2.2
8798 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'
8799 compiler_needs_object=yes
8802 case `$CC -V 2>&1 | sed 5q` in
8803 *Sun\ C*) # Sun C 5.9
8804 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'
8805 compiler_needs_object=yes
8806 tmp_sharedflag='-G' ;;
8807 *Sun\ F*) # Sun Fortran 8.3
8808 tmp_sharedflag='-G' ;;
8810 archive_cmds='$CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
8812 if test "x$supports_anon_versioning" = xyes; then
8813 archive_expsym_cmds='echo "{ global:" > $output_objdir/$libname.ver~
8814 cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
8815 echo "local: *; };" >> $output_objdir/$libname.ver~
8816 $CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-version-script ${wl}$output_objdir/$libname.ver -o $lib'
8819 case $cc_basename in
8820 xlf* | bgf* | bgxlf* | mpixlf*)
8821 # IBM XL Fortran 10.1 on PPC cannot create shared libs itself
8822 whole_archive_flag_spec='--whole-archive$convenience --no-whole-archive'
8823 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
8824 archive_cmds='$LD -shared $libobjs $deplibs $linker_flags -soname $soname -o $lib'
8825 if test "x$supports_anon_versioning" = xyes; then
8826 archive_expsym_cmds='echo "{ global:" > $output_objdir/$libname.ver~
8827 cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
8828 echo "local: *; };" >> $output_objdir/$libname.ver~
8829 $LD -shared $libobjs $deplibs $linker_flags -soname $soname -version-script $output_objdir/$libname.ver -o $lib'
8838 netbsd* | netbsdelf*-gnu)
8839 if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
8840 archive_cmds='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib'
8843 archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
8844 archive_expsym_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
8849 if $LD -v 2>&1 | $GREP 'BFD 2\.8' > /dev/null; then
8853 *** Warning: The releases 2.8.* of the GNU linker cannot reliably
8854 *** create shared libraries on Solaris systems. Therefore, libtool
8855 *** is disabling shared libraries support. We urge you to upgrade GNU
8856 *** binutils to release 2.9.1 or newer. Another option is to modify
8857 *** your PATH or compiler configuration so that the native linker is
8858 *** used, and then restart.
8861 elif $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
8862 archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
8863 archive_expsym_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
8869 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX*)
8870 case `$LD -v 2>&1` in
8871 *\ [01].* | *\ 2.[0-9].* | *\ 2.1[0-5].*)
8875 *** Warning: Releases of the GNU linker prior to 2.16.91.0.3 can not
8876 *** reliably create shared libraries on SCO systems. Therefore, libtool
8877 *** is disabling shared libraries support. We urge you to upgrade GNU
8878 *** binutils to release 2.16.91.0.3 or newer. Another option is to modify
8879 *** your PATH or compiler configuration so that the native linker is
8880 *** used, and then restart.
8885 # For security reasons, it is highly recommended that you always
8886 # use absolute paths for naming shared libraries, and exclude the
8887 # DT_RUNPATH tag from executables and libraries. But doing so
8888 # requires that you compile everything twice, which is a pain.
8889 if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
8890 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
8891 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
8892 archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
8901 archive_cmds='$LD -assert pure-text -Bshareable -o $lib $libobjs $deplibs $linker_flags'
8904 hardcode_shlibpath_var=no
8908 if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
8909 archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
8910 archive_expsym_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
8917 if test "$ld_shlibs" = no; then
8919 hardcode_libdir_flag_spec=
8920 export_dynamic_flag_spec=
8921 whole_archive_flag_spec=
8924 # PORTME fill in a description of your system's linker (not GNU ld)
8927 allow_undefined_flag=unsupported
8928 always_export_symbols=yes
8929 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'
8930 # Note: this linker hardcodes the directories in LIBPATH if there
8931 # are no directories specified by -L.
8932 hardcode_minus_L=yes
8933 if test "$GCC" = yes && test -z "$lt_prog_compiler_static"; then
8934 # Neither direct hardcoding nor static linking is supported with a
8936 hardcode_direct=unsupported
8941 if test "$host_cpu" = ia64; then
8942 # On IA64, the linker does run time linking by default, so we don't
8943 # have to do anything special.
8944 aix_use_runtimelinking=no
8945 exp_sym_flag='-Bexport'
8948 # If we're using GNU nm, then we don't want the "-C" option.
8949 # -C means demangle to AIX nm, but means don't demangle with GNU nm
8950 # Also, AIX nm treats weak defined symbols like other global
8951 # defined symbols, whereas GNU nm marks them as "W".
8952 if $NM -V 2>&1 | $GREP 'GNU' > /dev/null; then
8953 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'
8955 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'
8957 aix_use_runtimelinking=no
8959 # Test if we are trying to use run time linking or normal
8960 # AIX style linking. If -brtl is somewhere in LDFLAGS, we
8961 # need to do runtime linking.
8962 case $host_os in aix4.[23]|aix4.[23].*|aix[5-9]*)
8963 for ld_flag in $LDFLAGS; do
8964 if (test $ld_flag = "-brtl" || test $ld_flag = "-Wl,-brtl"); then
8965 aix_use_runtimelinking=yes
8972 exp_sym_flag='-bexport'
8973 no_entry_flag='-bnoentry'
8976 # When large executables or shared objects are built, AIX ld can
8977 # have problems creating the table of contents. If linking a library
8978 # or program results in "error TOC overflow" add -mminimal-toc to
8979 # CXXFLAGS/CFLAGS for g++/gcc. In the cases where that is not
8980 # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
8984 hardcode_direct_absolute=yes
8985 hardcode_libdir_separator=':'
8986 link_all_deplibs=yes
8987 file_list_spec='${wl}-f,'
8989 if test "$GCC" = yes; then
8990 case $host_os in aix4.[012]|aix4.[012].*)
8991 # We only want to do this on AIX 4.2 and lower, the check
8992 # below for broken collect2 doesn't work under 4.3+
8993 collect2name=`${CC} -print-prog-name=collect2`
8994 if test -f "$collect2name" &&
8995 strings "$collect2name" | $GREP resolve_lib_name >/dev/null
8997 # We have reworked collect2
9000 # We have old collect2
9001 hardcode_direct=unsupported
9002 # It fails to find uninstalled libraries when the uninstalled
9003 # path is not listed in the libpath. Setting hardcode_minus_L
9004 # to unsupported forces relinking
9005 hardcode_minus_L=yes
9006 hardcode_libdir_flag_spec='-L$libdir'
9007 hardcode_libdir_separator=
9011 shared_flag='-shared'
9012 if test "$aix_use_runtimelinking" = yes; then
9013 shared_flag="$shared_flag "'${wl}-G'
9018 if test "$host_cpu" = ia64; then
9019 # VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
9020 # chokes on -Wl,-G. The following line is correct:
9023 if test "$aix_use_runtimelinking" = yes; then
9024 shared_flag='${wl}-G'
9026 shared_flag='${wl}-bM:SRE'
9031 export_dynamic_flag_spec='${wl}-bexpall'
9032 # It seems that -bexpall does not export symbols beginning with
9033 # underscore (_), so it is better to generate a list of symbols to export.
9034 always_export_symbols=yes
9035 if test "$aix_use_runtimelinking" = yes; then
9036 # Warning - without using the other runtime loading flags (-brtl),
9037 # -berok will link without error, but may produce a broken library.
9038 allow_undefined_flag='-berok'
9039 # Determine the default libpath from the value encoded in an
9041 if test "${lt_cv_aix_libpath+set}" = set; then
9042 aix_libpath=$lt_cv_aix_libpath
9044 if ${lt_cv_aix_libpath_+:} false; then :
9045 $as_echo_n "(cached) " >&6
9047 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9048 /* end confdefs.h. */
9058 if ac_fn_c_try_link "$LINENO"; then :
9060 lt_aix_libpath_sed='
9061 /Import File Strings/,/^$/ {
9063 s/^0 *\([^ ]*\) *$/\1/
9067 lt_cv_aix_libpath_=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
9068 # Check for a 64-bit object if we didn't find anything.
9069 if test -z "$lt_cv_aix_libpath_"; then
9070 lt_cv_aix_libpath_=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
9073 rm -f core conftest.err conftest.$ac_objext \
9074 conftest$ac_exeext conftest.$ac_ext
9075 if test -z "$lt_cv_aix_libpath_"; then
9076 lt_cv_aix_libpath_="/usr/lib:/lib"
9081 aix_libpath=$lt_cv_aix_libpath_
9084 hardcode_libdir_flag_spec='${wl}-blibpath:$libdir:'"$aix_libpath"
9085 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"
9087 if test "$host_cpu" = ia64; then
9088 hardcode_libdir_flag_spec='${wl}-R $libdir:/usr/lib:/lib'
9089 allow_undefined_flag="-z nodefs"
9090 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"
9092 # Determine the default libpath from the value encoded in an
9094 if test "${lt_cv_aix_libpath+set}" = set; then
9095 aix_libpath=$lt_cv_aix_libpath
9097 if ${lt_cv_aix_libpath_+:} false; then :
9098 $as_echo_n "(cached) " >&6
9100 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9101 /* end confdefs.h. */
9111 if ac_fn_c_try_link "$LINENO"; then :
9113 lt_aix_libpath_sed='
9114 /Import File Strings/,/^$/ {
9116 s/^0 *\([^ ]*\) *$/\1/
9120 lt_cv_aix_libpath_=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
9121 # Check for a 64-bit object if we didn't find anything.
9122 if test -z "$lt_cv_aix_libpath_"; then
9123 lt_cv_aix_libpath_=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
9126 rm -f core conftest.err conftest.$ac_objext \
9127 conftest$ac_exeext conftest.$ac_ext
9128 if test -z "$lt_cv_aix_libpath_"; then
9129 lt_cv_aix_libpath_="/usr/lib:/lib"
9134 aix_libpath=$lt_cv_aix_libpath_
9137 hardcode_libdir_flag_spec='${wl}-blibpath:$libdir:'"$aix_libpath"
9138 # Warning - without using the other run time loading flags,
9139 # -berok will link without error, but may produce a broken library.
9140 no_undefined_flag=' ${wl}-bernotok'
9141 allow_undefined_flag=' ${wl}-berok'
9142 if test "$with_gnu_ld" = yes; then
9143 # We only use this code for GNU lds that support --whole-archive.
9144 whole_archive_flag_spec='${wl}--whole-archive$convenience ${wl}--no-whole-archive'
9146 # Exported symbols can be pulled into shared objects from archives
9147 whole_archive_flag_spec='$convenience'
9149 archive_cmds_need_lc=yes
9150 # This is similar to how AIX traditionally builds its shared libraries.
9151 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'
9159 # see comment about AmigaOS4 .so support
9160 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9161 archive_expsym_cmds=''
9164 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)'
9165 hardcode_libdir_flag_spec='-L$libdir'
9166 hardcode_minus_L=yes
9172 export_dynamic_flag_spec=-rdynamic
9175 cygwin* | mingw* | pw32* | cegcc*)
9176 # When not using gcc, we currently assume that we are using
9177 # Microsoft Visual C++.
9178 # hardcode_libdir_flag_spec is actually meaningless, as there is
9179 # no search path for DLLs.
9180 case $cc_basename in
9183 hardcode_libdir_flag_spec=' '
9184 allow_undefined_flag=unsupported
9185 always_export_symbols=yes
9187 # Tell ltmain to make .lib files, not .a files.
9189 # Tell ltmain to make .dll files, not .so files.
9191 # FIXME: Setting linknames here is a bad hack.
9192 archive_cmds='$CC -o $output_objdir/$soname $libobjs $compiler_flags $deplibs -Wl,-dll~linknames='
9193 archive_expsym_cmds='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
9194 sed -n -e 's/\\\\\\\(.*\\\\\\\)/-link\\\ -EXPORT:\\\\\\\1/' -e '1\\\!p' < $export_symbols > $output_objdir/$soname.exp;
9196 sed -e 's/\\\\\\\(.*\\\\\\\)/-link\\\ -EXPORT:\\\\\\\1/' < $export_symbols > $output_objdir/$soname.exp;
9198 $CC -o $tool_output_objdir$soname $libobjs $compiler_flags $deplibs "@$tool_output_objdir$soname.exp" -Wl,-DLL,-IMPLIB:"$tool_output_objdir$libname.dll.lib"~
9200 # The linker will not automatically build a static lib if we build a DLL.
9201 # _LT_TAGVAR(old_archive_from_new_cmds, )='true'
9202 enable_shared_with_static_runtimes=yes
9203 exclude_expsyms='_NULL_IMPORT_DESCRIPTOR|_IMPORT_DESCRIPTOR_.*'
9204 export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS][ ]/s/.*[ ]\([^ ]*\)/\1,DATA/'\'' | $SED -e '\''/^[AITW][ ]/s/.*[ ]//'\'' | sort | uniq > $export_symbols'
9206 old_postinstall_cmds='chmod 644 $oldlib'
9207 postlink_cmds='lt_outputfile="@OUTPUT@"~
9208 lt_tool_outputfile="@TOOL_OUTPUT@"~
9209 case $lt_outputfile in
9212 lt_outputfile="$lt_outputfile.exe"
9213 lt_tool_outputfile="$lt_tool_outputfile.exe"
9216 if test "$MANIFEST_TOOL" != ":" && test -f "$lt_outputfile.manifest"; then
9217 $MANIFEST_TOOL -manifest "$lt_tool_outputfile.manifest" -outputresource:"$lt_tool_outputfile" || exit 1;
9218 $RM "$lt_outputfile.manifest";
9222 # Assume MSVC wrapper
9223 hardcode_libdir_flag_spec=' '
9224 allow_undefined_flag=unsupported
9225 # Tell ltmain to make .lib files, not .a files.
9227 # Tell ltmain to make .dll files, not .so files.
9229 # FIXME: Setting linknames here is a bad hack.
9230 archive_cmds='$CC -o $lib $libobjs $compiler_flags `func_echo_all "$deplibs" | $SED '\''s/ -lc$//'\''` -link -dll~linknames='
9231 # The linker will automatically build a .lib file if we build a DLL.
9232 old_archive_from_new_cmds='true'
9233 # FIXME: Should let the user specify the lib program.
9234 old_archive_cmds='lib -OUT:$oldlib$oldobjs$old_deplibs'
9235 enable_shared_with_static_runtimes=yes
9240 darwin* | rhapsody*)
9243 archive_cmds_need_lc=no
9245 hardcode_automatic=yes
9246 hardcode_shlibpath_var=unsupported
9247 if test "$lt_cv_ld_force_load" = "yes"; then
9248 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\"`'
9251 whole_archive_flag_spec=''
9253 link_all_deplibs=yes
9254 allow_undefined_flag="$_lt_dar_allow_undefined"
9255 case $cc_basename in
9256 ifort*) _lt_dar_can_shared=yes ;;
9257 *) _lt_dar_can_shared=$GCC ;;
9259 if test "$_lt_dar_can_shared" = "yes"; then
9260 output_verbose_link_cmd=func_echo_all
9261 archive_cmds="\$CC -dynamiclib \$allow_undefined_flag -o \$lib \$libobjs \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring $_lt_dar_single_mod${_lt_dsymutil}"
9262 module_cmds="\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags${_lt_dsymutil}"
9263 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}"
9264 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}"
9273 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
9274 hardcode_libdir_flag_spec='-L$libdir'
9275 hardcode_shlibpath_var=no
9278 # FreeBSD 2.2.[012] allows us to include c++rt0.o to get C++ constructor
9279 # support. Future versions do this automatically, but an explicit c++rt0.o
9280 # does not break anything, and helps significantly (at the cost of a little
9283 archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags /usr/lib/c++rt0.o'
9284 hardcode_libdir_flag_spec='-R$libdir'
9286 hardcode_shlibpath_var=no
9289 # Unfortunately, older versions of FreeBSD 2 do not have this feature.
9291 archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
9293 hardcode_minus_L=yes
9294 hardcode_shlibpath_var=no
9297 # FreeBSD 3 and greater uses gcc -shared to do shared libraries.
9298 freebsd* | dragonfly*)
9299 archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
9300 hardcode_libdir_flag_spec='-R$libdir'
9302 hardcode_shlibpath_var=no
9306 if test "$GCC" = yes; then
9307 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'
9309 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'
9311 hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
9312 hardcode_libdir_separator=:
9315 # hardcode_minus_L: Not really in the search PATH,
9316 # but as the default location of the library.
9317 hardcode_minus_L=yes
9318 export_dynamic_flag_spec='${wl}-E'
9322 if test "$GCC" = yes && test "$with_gnu_ld" = no; then
9323 archive_cmds='$CC -shared $pic_flag ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
9325 archive_cmds='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
9327 if test "$with_gnu_ld" = no; then
9328 hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
9329 hardcode_libdir_separator=:
9331 hardcode_direct_absolute=yes
9332 export_dynamic_flag_spec='${wl}-E'
9333 # hardcode_minus_L: Not really in the search PATH,
9334 # but as the default location of the library.
9335 hardcode_minus_L=yes
9340 if test "$GCC" = yes && test "$with_gnu_ld" = no; then
9343 archive_cmds='$CC -shared ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
9346 archive_cmds='$CC -shared $pic_flag ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
9349 archive_cmds='$CC -shared $pic_flag ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
9355 archive_cmds='$CC -b ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
9358 archive_cmds='$CC -b ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
9362 # Older versions of the 11.00 compiler do not understand -b yet
9363 # (HP92453-01 A.11.01.20 doesn't, HP92453-01 B.11.X.35175-35176.GP does)
9364 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC understands -b" >&5
9365 $as_echo_n "checking if $CC understands -b... " >&6; }
9366 if ${lt_cv_prog_compiler__b+:} false; then :
9367 $as_echo_n "(cached) " >&6
9369 lt_cv_prog_compiler__b=no
9370 save_LDFLAGS="$LDFLAGS"
9371 LDFLAGS="$LDFLAGS -b"
9372 echo "$lt_simple_link_test_code" > conftest.$ac_ext
9373 if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
9374 # The linker can only warn and ignore the option if not recognized
9375 # So say no if there are warnings
9376 if test -s conftest.err; then
9377 # Append any errors to the config.log.
9378 cat conftest.err 1>&5
9379 $ECHO "$_lt_linker_boilerplate" | $SED '/^$/d' > conftest.exp
9380 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
9381 if diff conftest.exp conftest.er2 >/dev/null; then
9382 lt_cv_prog_compiler__b=yes
9385 lt_cv_prog_compiler__b=yes
9389 LDFLAGS="$save_LDFLAGS"
9392 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler__b" >&5
9393 $as_echo "$lt_cv_prog_compiler__b" >&6; }
9395 if test x"$lt_cv_prog_compiler__b" = xyes; then
9396 archive_cmds='$CC -b ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
9398 archive_cmds='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
9404 if test "$with_gnu_ld" = no; then
9405 hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
9406 hardcode_libdir_separator=:
9411 hardcode_shlibpath_var=no
9415 hardcode_direct_absolute=yes
9416 export_dynamic_flag_spec='${wl}-E'
9418 # hardcode_minus_L: Not really in the search PATH,
9419 # but as the default location of the library.
9420 hardcode_minus_L=yes
9426 irix5* | irix6* | nonstopux*)
9427 if test "$GCC" = yes; then
9428 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'
9429 # Try to use the -exported_symbol ld option, if it does not
9430 # work, assume that -exports_file does not work either and
9431 # implicitly export all symbols.
9432 # This should be the same for all languages, so no per-tag cache variable.
9433 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $host_os linker accepts -exported_symbol" >&5
9434 $as_echo_n "checking whether the $host_os linker accepts -exported_symbol... " >&6; }
9435 if ${lt_cv_irix_exported_symbol+:} false; then :
9436 $as_echo_n "(cached) " >&6
9438 save_LDFLAGS="$LDFLAGS"
9439 LDFLAGS="$LDFLAGS -shared ${wl}-exported_symbol ${wl}foo ${wl}-update_registry ${wl}/dev/null"
9440 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9441 /* end confdefs.h. */
9442 int foo (void) { return 0; }
9444 if ac_fn_c_try_link "$LINENO"; then :
9445 lt_cv_irix_exported_symbol=yes
9447 lt_cv_irix_exported_symbol=no
9449 rm -f core conftest.err conftest.$ac_objext \
9450 conftest$ac_exeext conftest.$ac_ext
9451 LDFLAGS="$save_LDFLAGS"
9453 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_irix_exported_symbol" >&5
9454 $as_echo "$lt_cv_irix_exported_symbol" >&6; }
9455 if test "$lt_cv_irix_exported_symbol" = yes; then
9456 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'
9459 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'
9460 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'
9462 archive_cmds_need_lc='no'
9463 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
9464 hardcode_libdir_separator=:
9466 link_all_deplibs=yes
9469 netbsd* | netbsdelf*-gnu)
9470 if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
9471 archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags' # a.out
9473 archive_cmds='$LD -shared -o $lib $libobjs $deplibs $linker_flags' # ELF
9475 hardcode_libdir_flag_spec='-R$libdir'
9477 hardcode_shlibpath_var=no
9481 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
9483 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
9484 hardcode_libdir_separator=:
9485 hardcode_shlibpath_var=no
9492 if test -f /usr/libexec/ld.so; then
9494 hardcode_shlibpath_var=no
9495 hardcode_direct_absolute=yes
9496 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
9497 archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
9498 archive_expsym_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-retain-symbols-file,$export_symbols'
9499 hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
9500 export_dynamic_flag_spec='${wl}-E'
9503 openbsd[01].* | openbsd2.[0-7] | openbsd2.[0-7].*)
9504 archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
9505 hardcode_libdir_flag_spec='-R$libdir'
9508 archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
9509 hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
9519 hardcode_libdir_flag_spec='-L$libdir'
9520 hardcode_minus_L=yes
9521 allow_undefined_flag=unsupported
9522 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'
9523 old_archive_from_new_cmds='emximp -o $output_objdir/$libname.a $output_objdir/$libname.def'
9527 if test "$GCC" = yes; then
9528 allow_undefined_flag=' ${wl}-expect_unresolved ${wl}\*'
9529 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'
9531 allow_undefined_flag=' -expect_unresolved \*'
9532 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'
9534 archive_cmds_need_lc='no'
9535 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
9536 hardcode_libdir_separator=:
9539 osf4* | osf5*) # as osf3* with the addition of -msym flag
9540 if test "$GCC" = yes; then
9541 allow_undefined_flag=' ${wl}-expect_unresolved ${wl}\*'
9542 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'
9543 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
9545 allow_undefined_flag=' -expect_unresolved \*'
9546 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'
9547 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~
9548 $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'
9550 # Both c and cxx compiler support -rpath directly
9551 hardcode_libdir_flag_spec='-rpath $libdir'
9553 archive_cmds_need_lc='no'
9554 hardcode_libdir_separator=:
9558 no_undefined_flag=' -z defs'
9559 if test "$GCC" = yes; then
9561 archive_cmds='$CC -shared $pic_flag ${wl}-z ${wl}text ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
9562 archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
9563 $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'
9565 case `$CC -V 2>&1` in
9568 archive_cmds='$LD -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $linker_flags'
9569 archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
9570 $LD -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$RM $lib.exp'
9574 archive_cmds='$CC -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $compiler_flags'
9575 archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
9576 $CC -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $compiler_flags~$RM $lib.exp'
9580 hardcode_libdir_flag_spec='-R$libdir'
9581 hardcode_shlibpath_var=no
9583 solaris2.[0-5] | solaris2.[0-5].*) ;;
9585 # The compiler driver will combine and reorder linker options,
9586 # but understands `-z linker_flag'. GCC discards it without `$wl',
9587 # but is careful enough not to reorder.
9588 # Supported since Solaris 2.6 (maybe 2.5.1?)
9589 if test "$GCC" = yes; then
9590 whole_archive_flag_spec='${wl}-z ${wl}allextract$convenience ${wl}-z ${wl}defaultextract'
9592 whole_archive_flag_spec='-z allextract$convenience -z defaultextract'
9596 link_all_deplibs=yes
9600 if test "x$host_vendor" = xsequent; then
9601 # Use $CC to link under sequent, because it throws in some extra .o
9602 # files that make .init and .fini sections work.
9603 archive_cmds='$CC -G ${wl}-h $soname -o $lib $libobjs $deplibs $compiler_flags'
9605 archive_cmds='$LD -assert pure-text -Bstatic -o $lib $libobjs $deplibs $linker_flags'
9607 hardcode_libdir_flag_spec='-L$libdir'
9609 hardcode_minus_L=yes
9610 hardcode_shlibpath_var=no
9614 case $host_vendor in
9616 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
9617 hardcode_direct=yes # is this really true???
9620 ## LD is ld it makes a PLAMLIB
9621 ## CC just makes a GrossModule.
9622 archive_cmds='$LD -G -o $lib $libobjs $deplibs $linker_flags'
9623 reload_cmds='$CC -r -o $output$reload_objs'
9627 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
9628 hardcode_direct=no #Motorola manual says yes, but my tests say they lie
9631 runpath_var='LD_RUN_PATH'
9632 hardcode_shlibpath_var=no
9636 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
9637 hardcode_shlibpath_var=no
9638 export_dynamic_flag_spec='-Bexport'
9642 if test -d /usr/nec; then
9643 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
9644 hardcode_shlibpath_var=no
9645 runpath_var=LD_RUN_PATH
9646 hardcode_runpath_var=yes
9651 sysv4*uw2* | sysv5OpenUNIX* | sysv5UnixWare7.[01].[10]* | unixware7* | sco3.2v5.0.[024]*)
9652 no_undefined_flag='${wl}-z,text'
9653 archive_cmds_need_lc=no
9654 hardcode_shlibpath_var=no
9655 runpath_var='LD_RUN_PATH'
9657 if test "$GCC" = yes; then
9658 archive_cmds='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
9659 archive_expsym_cmds='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
9661 archive_cmds='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
9662 archive_expsym_cmds='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
9666 sysv5* | sco3.2v5* | sco5v6*)
9667 # Note: We can NOT use -z defs as we might desire, because we do not
9668 # link with -lc, and that would cause any symbols used from libc to
9669 # always be unresolved, which means just about no library would
9670 # ever link correctly. If we're not using GNU ld we use -z text
9671 # though, which does catch some bad symbols but isn't as heavy-handed
9673 no_undefined_flag='${wl}-z,text'
9674 allow_undefined_flag='${wl}-z,nodefs'
9675 archive_cmds_need_lc=no
9676 hardcode_shlibpath_var=no
9677 hardcode_libdir_flag_spec='${wl}-R,$libdir'
9678 hardcode_libdir_separator=':'
9679 link_all_deplibs=yes
9680 export_dynamic_flag_spec='${wl}-Bexport'
9681 runpath_var='LD_RUN_PATH'
9683 if test "$GCC" = yes; then
9684 archive_cmds='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
9685 archive_expsym_cmds='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
9687 archive_cmds='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
9688 archive_expsym_cmds='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
9693 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
9694 hardcode_libdir_flag_spec='-L$libdir'
9695 hardcode_shlibpath_var=no
9703 if test x$host_vendor = xsni; then
9705 sysv4 | sysv4.2uw2* | sysv4.3* | sysv5*)
9706 export_dynamic_flag_spec='${wl}-Blargedynsym'
9712 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ld_shlibs" >&5
9713 $as_echo "$ld_shlibs" >&6; }
9714 test "$ld_shlibs" = no && can_build_shared=no
9716 with_gnu_ld=$with_gnu_ld
9733 # Do we need to explicitly link libc?
9735 case "x$archive_cmds_need_lc" in
9737 # Assume -lc should be added
9738 archive_cmds_need_lc=yes
9740 if test "$enable_shared" = yes && test "$GCC" = yes; then
9741 case $archive_cmds in
9743 # FIXME: we may have to deal with multi-command sequences.
9746 # Test whether the compiler implicitly links with -lc since on some
9747 # systems, -lgcc has to come before -lc. If gcc already passes -lc
9748 # to ld, don't add -lc before -lgcc.
9749 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether -lc should be explicitly linked in" >&5
9750 $as_echo_n "checking whether -lc should be explicitly linked in... " >&6; }
9751 if ${lt_cv_archive_cmds_need_lc+:} false; then :
9752 $as_echo_n "(cached) " >&6
9755 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
9757 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
9758 (eval $ac_compile) 2>&5
9760 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
9761 test $ac_status = 0; } 2>conftest.err; then
9764 libobjs=conftest.$ac_objext
9766 wl=$lt_prog_compiler_wl
9767 pic_flag=$lt_prog_compiler_pic
9773 lt_save_allow_undefined_flag=$allow_undefined_flag
9774 allow_undefined_flag=
9775 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$archive_cmds 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1\""; } >&5
9776 (eval $archive_cmds 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1) 2>&5
9778 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
9779 test $ac_status = 0; }
9781 lt_cv_archive_cmds_need_lc=no
9783 lt_cv_archive_cmds_need_lc=yes
9785 allow_undefined_flag=$lt_save_allow_undefined_flag
9787 cat conftest.err 1>&5
9792 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_archive_cmds_need_lc" >&5
9793 $as_echo "$lt_cv_archive_cmds_need_lc" >&6; }
9794 archive_cmds_need_lc=$lt_cv_archive_cmds_need_lc
9952 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dynamic linker characteristics" >&5
9953 $as_echo_n "checking dynamic linker characteristics... " >&6; }
9955 if test "$GCC" = yes; then
9957 darwin*) lt_awk_arg="/^libraries:/,/LR/" ;;
9958 *) lt_awk_arg="/^libraries:/" ;;
9961 mingw* | cegcc*) lt_sed_strip_eq="s,=\([A-Za-z]:\),\1,g" ;;
9962 *) lt_sed_strip_eq="s,=/,/,g" ;;
9964 lt_search_path_spec=`$CC -print-search-dirs | awk $lt_awk_arg | $SED -e "s/^libraries://" -e $lt_sed_strip_eq`
9965 case $lt_search_path_spec in
9967 # if the path contains ";" then we assume it to be the separator
9968 # otherwise default to the standard path separator (i.e. ":") - it is
9969 # assumed that no part of a normal pathname contains ";" but that should
9970 # okay in the real world where ";" in dirpaths is itself problematic.
9971 lt_search_path_spec=`$ECHO "$lt_search_path_spec" | $SED 's/;/ /g'`
9974 lt_search_path_spec=`$ECHO "$lt_search_path_spec" | $SED "s/$PATH_SEPARATOR/ /g"`
9977 # Ok, now we have the path, separated by spaces, we can step through it
9978 # and add multilib dir if necessary.
9979 lt_tmp_lt_search_path_spec=
9980 lt_multi_os_dir=`$CC $CPPFLAGS $CFLAGS $LDFLAGS -print-multi-os-directory 2>/dev/null`
9981 for lt_sys_path in $lt_search_path_spec; do
9982 if test -d "$lt_sys_path/$lt_multi_os_dir"; then
9983 lt_tmp_lt_search_path_spec="$lt_tmp_lt_search_path_spec $lt_sys_path/$lt_multi_os_dir"
9985 test -d "$lt_sys_path" && \
9986 lt_tmp_lt_search_path_spec="$lt_tmp_lt_search_path_spec $lt_sys_path"
9989 lt_search_path_spec=`$ECHO "$lt_tmp_lt_search_path_spec" | awk '
9990 BEGIN {RS=" "; FS="/|\n";} {
9993 for (lt_i = NF; lt_i > 0; lt_i--) {
9994 if ($lt_i != "" && $lt_i != ".") {
9995 if ($lt_i == "..") {
9998 if (lt_count == 0) {
9999 lt_foo="/" $lt_i lt_foo;
10006 if (lt_foo != "") { lt_freq[lt_foo]++; }
10007 if (lt_freq[lt_foo] == 1) { print lt_foo; }
10009 # AWK program above erroneously prepends '/' to C:/dos/paths
10012 mingw* | cegcc*) lt_search_path_spec=`$ECHO "$lt_search_path_spec" |\
10013 $SED 's,/\([A-Za-z]:\),\1,g'` ;;
10015 sys_lib_search_path_spec=`$ECHO "$lt_search_path_spec" | $lt_NL2SP`
10017 sys_lib_search_path_spec="/lib /usr/lib /usr/local/lib"
10019 library_names_spec=
10020 libname_spec='lib$name'
10024 postuninstall_cmds=
10028 shlibpath_overrides_runpath=unknown
10030 dynamic_linker="$host_os ld.so"
10031 sys_lib_dlsearch_path_spec="/lib /usr/lib"
10032 need_lib_prefix=unknown
10033 hardcode_into_libs=no
10035 # when you set need_version to no, make sure it does not cause -set_version
10036 # flags to be left without arguments
10037 need_version=unknown
10041 version_type=linux # correct to gnu/linux during the next big refactor
10042 library_names_spec='${libname}${release}${shared_ext}$versuffix $libname.a'
10043 shlibpath_var=LIBPATH
10045 # AIX 3 has no versioning support, so we append a major version to the name.
10046 soname_spec='${libname}${release}${shared_ext}$major'
10050 version_type=linux # correct to gnu/linux during the next big refactor
10053 hardcode_into_libs=yes
10054 if test "$host_cpu" = ia64; then
10055 # AIX 5 supports IA64
10056 library_names_spec='${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext}$versuffix $libname${shared_ext}'
10057 shlibpath_var=LD_LIBRARY_PATH
10059 # With GCC up to 2.95.x, collect2 would create an import file
10060 # for dependence libraries. The import file would start with
10061 # the line `#! .'. This would cause the generated library to
10062 # depend on `.', always an invalid library. This was fixed in
10063 # development snapshots of GCC prior to 3.0.
10065 aix4 | aix4.[01] | aix4.[01].*)
10066 if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
10068 echo '#endif'; } | ${CC} -E - | $GREP yes > /dev/null; then
10071 can_build_shared=no
10075 # AIX (on Power*) has no versioning support, so currently we can not hardcode correct
10076 # soname into executable. Probably we can add versioning support to
10077 # collect2, so additional links can be useful in future.
10078 if test "$aix_use_runtimelinking" = yes; then
10079 # If using run time linking (on AIX 4.2 or later) use lib<name>.so
10080 # instead of lib<name>.a to let people know that these are not
10081 # typical AIX shared libraries.
10082 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10084 # We preserve .a as extension for shared libraries through AIX4.2
10085 # and later when we are not doing run time linking.
10086 library_names_spec='${libname}${release}.a $libname.a'
10087 soname_spec='${libname}${release}${shared_ext}$major'
10089 shlibpath_var=LIBPATH
10096 # Since July 2007 AmigaOS4 officially supports .so libraries.
10097 # When compiling the executable, add -use-dynld -Lsobjs: to the compileline.
10098 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10101 library_names_spec='$libname.ixlibrary $libname.a'
10102 # Create ${libname}_ixlibrary.a entries in /sys/libs.
10103 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'
10109 library_names_spec='${libname}${shared_ext}'
10110 dynamic_linker="$host_os ld.so"
10111 shlibpath_var=LIBRARY_PATH
10115 version_type=linux # correct to gnu/linux during the next big refactor
10117 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10118 soname_spec='${libname}${release}${shared_ext}$major'
10119 finish_cmds='PATH="\$PATH:/sbin" ldconfig $libdir'
10120 shlibpath_var=LD_LIBRARY_PATH
10121 sys_lib_search_path_spec="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
10122 sys_lib_dlsearch_path_spec="/shlib /usr/lib /usr/local/lib"
10123 # the default ld.so.conf also contains /usr/contrib/lib and
10124 # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
10125 # libtool to hard-code these into programs
10128 cygwin* | mingw* | pw32* | cegcc*)
10129 version_type=windows
10134 case $GCC,$cc_basename in
10137 library_names_spec='$libname.dll.a'
10138 # DLL is installed to $(libdir)/../bin by postinstall_cmds
10139 postinstall_cmds='base_file=`basename \${file}`~
10140 dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i; echo \$dlname'\''`~
10141 dldir=$destdir/`dirname \$dlpath`~
10142 test -d \$dldir || mkdir -p \$dldir~
10143 $install_prog $dir/$dlname \$dldir/$dlname~
10144 chmod a+x \$dldir/$dlname~
10145 if test -n '\''$stripme'\'' && test -n '\''$striplib'\''; then
10146 eval '\''$striplib \$dldir/$dlname'\'' || exit \$?;
10148 postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
10149 dlpath=$dir/\$dldll~
10151 shlibpath_overrides_runpath=yes
10155 # Cygwin DLLs use 'cyg' prefix rather than 'lib'
10156 soname_spec='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
10158 sys_lib_search_path_spec="$sys_lib_search_path_spec /usr/lib/w32api"
10161 # MinGW DLLs use traditional 'lib' prefix
10162 soname_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
10165 # pw32 DLLs use 'pw' prefix rather than 'lib'
10166 library_names_spec='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
10169 dynamic_linker='Win32 ld.exe'
10174 libname_spec='$name'
10175 soname_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
10176 library_names_spec='${libname}.dll.lib'
10180 sys_lib_search_path_spec=
10183 for lt_path in $LIB
10186 # Let DOS variable expansion print the short 8.3 style file name.
10187 lt_path=`cd "$lt_path" 2>/dev/null && cmd //C "for %i in (".") do @echo %~si"`
10188 sys_lib_search_path_spec="$sys_lib_search_path_spec $lt_path"
10191 # Convert to MSYS style.
10192 sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | sed -e 's|\\\\|/|g' -e 's| \\([a-zA-Z]\\):| /\\1|g' -e 's|^ ||'`
10195 # Convert to unix form, then to dos form, then back to unix form
10196 # but this time dos style (no spaces!) so that the unix form looks
10197 # like /cygdrive/c/PROGRA~1:/cygdr...
10198 sys_lib_search_path_spec=`cygpath --path --unix "$LIB"`
10199 sys_lib_search_path_spec=`cygpath --path --dos "$sys_lib_search_path_spec" 2>/dev/null`
10200 sys_lib_search_path_spec=`cygpath --path --unix "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
10203 sys_lib_search_path_spec="$LIB"
10204 if $ECHO "$sys_lib_search_path_spec" | $GREP ';[c-zC-Z]:/' >/dev/null; then
10205 # It is most probably a Windows format PATH.
10206 sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
10208 sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
10210 # FIXME: find the short name or the path components, as spaces are
10211 # common. (e.g. "Program Files" -> "PROGRA~1")
10215 # DLL is installed to $(libdir)/../bin by postinstall_cmds
10216 postinstall_cmds='base_file=`basename \${file}`~
10217 dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i; echo \$dlname'\''`~
10218 dldir=$destdir/`dirname \$dlpath`~
10219 test -d \$dldir || mkdir -p \$dldir~
10220 $install_prog $dir/$dlname \$dldir/$dlname'
10221 postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
10222 dlpath=$dir/\$dldll~
10224 shlibpath_overrides_runpath=yes
10225 dynamic_linker='Win32 link.exe'
10229 # Assume MSVC wrapper
10230 library_names_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext} $libname.lib'
10231 dynamic_linker='Win32 ld.exe'
10234 # FIXME: first we should search . and the directory the executable is in
10238 darwin* | rhapsody*)
10239 dynamic_linker="$host_os dyld"
10240 version_type=darwin
10243 library_names_spec='${libname}${release}${major}$shared_ext ${libname}$shared_ext'
10244 soname_spec='${libname}${release}${major}$shared_ext'
10245 shlibpath_overrides_runpath=yes
10246 shlibpath_var=DYLD_LIBRARY_PATH
10247 shrext_cmds='`test .$module = .yes && echo .so || echo .dylib`'
10249 sys_lib_search_path_spec="$sys_lib_search_path_spec /usr/local/lib"
10250 sys_lib_dlsearch_path_spec='/usr/local/lib /lib /usr/lib'
10254 version_type=linux # correct to gnu/linux during the next big refactor
10257 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname$shared_ext'
10258 soname_spec='${libname}${release}${shared_ext}$major'
10259 shlibpath_var=LD_LIBRARY_PATH
10262 freebsd* | dragonfly*)
10263 # DragonFly does not have aout. When/if they implement a new
10264 # versioning mechanism, adjust this.
10265 if test -x /usr/bin/objformat; then
10266 objformat=`/usr/bin/objformat`
10269 freebsd[23].*) objformat=aout ;;
10270 *) objformat=elf ;;
10273 version_type=freebsd-$objformat
10274 case $version_type in
10276 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
10281 library_names_spec='${libname}${release}${shared_ext}$versuffix $libname${shared_ext}$versuffix'
10285 shlibpath_var=LD_LIBRARY_PATH
10288 shlibpath_overrides_runpath=yes
10290 freebsd3.[01]* | freebsdelf3.[01]*)
10291 shlibpath_overrides_runpath=yes
10292 hardcode_into_libs=yes
10294 freebsd3.[2-9]* | freebsdelf3.[2-9]* | \
10295 freebsd4.[0-5] | freebsdelf4.[0-5] | freebsd4.1.1 | freebsdelf4.1.1)
10296 shlibpath_overrides_runpath=no
10297 hardcode_into_libs=yes
10299 *) # from 4.6 on, and DragonFly
10300 shlibpath_overrides_runpath=yes
10301 hardcode_into_libs=yes
10307 version_type=linux # correct to gnu/linux during the next big refactor
10310 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
10311 soname_spec='${libname}${release}${shared_ext}$major'
10312 shlibpath_var=LD_LIBRARY_PATH
10313 shlibpath_overrides_runpath=no
10314 hardcode_into_libs=yes
10318 version_type=linux # correct to gnu/linux during the next big refactor
10321 dynamic_linker="$host_os runtime_loader"
10322 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
10323 soname_spec='${libname}${release}${shared_ext}$major'
10324 shlibpath_var=LIBRARY_PATH
10325 shlibpath_overrides_runpath=yes
10326 sys_lib_dlsearch_path_spec='/boot/home/config/lib /boot/common/lib /boot/system/lib'
10327 hardcode_into_libs=yes
10330 hpux9* | hpux10* | hpux11*)
10331 # Give a soname corresponding to the major version so that dld.sl refuses to
10332 # link against other versions.
10339 hardcode_into_libs=yes
10340 dynamic_linker="$host_os dld.so"
10341 shlibpath_var=LD_LIBRARY_PATH
10342 shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
10343 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10344 soname_spec='${libname}${release}${shared_ext}$major'
10345 if test "X$HPUX_IA64_MODE" = X32; then
10346 sys_lib_search_path_spec="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
10348 sys_lib_search_path_spec="/usr/lib/hpux64 /usr/local/lib/hpux64"
10350 sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
10354 hardcode_into_libs=yes
10355 dynamic_linker="$host_os dld.sl"
10356 shlibpath_var=LD_LIBRARY_PATH # How should we handle SHLIB_PATH
10357 shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
10358 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10359 soname_spec='${libname}${release}${shared_ext}$major'
10360 sys_lib_search_path_spec="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
10361 sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
10365 dynamic_linker="$host_os dld.sl"
10366 shlibpath_var=SHLIB_PATH
10367 shlibpath_overrides_runpath=no # +s is required to enable SHLIB_PATH
10368 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10369 soname_spec='${libname}${release}${shared_ext}$major'
10372 # HP-UX runs *really* slowly unless shared libraries are mode 555, ...
10373 postinstall_cmds='chmod 555 $lib'
10374 # or fails outright, so override atomically:
10375 install_override_mode=555
10379 version_type=linux # correct to gnu/linux during the next big refactor
10382 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
10383 soname_spec='${libname}${release}${shared_ext}$major'
10384 dynamic_linker='Interix 3.x ld.so.1 (PE, like ELF)'
10385 shlibpath_var=LD_LIBRARY_PATH
10386 shlibpath_overrides_runpath=no
10387 hardcode_into_libs=yes
10390 irix5* | irix6* | nonstopux*)
10392 nonstopux*) version_type=nonstopux ;;
10394 if test "$lt_cv_prog_gnu_ld" = yes; then
10395 version_type=linux # correct to gnu/linux during the next big refactor
10402 soname_spec='${libname}${release}${shared_ext}$major'
10403 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} $libname${shared_ext}'
10405 irix5* | nonstopux*)
10406 libsuff= shlibsuff=
10409 case $LD in # libtool.m4 will add one of these switches to LD
10410 *-32|*"-32 "|*-melf32bsmip|*"-melf32bsmip ")
10411 libsuff= shlibsuff= libmagic=32-bit;;
10412 *-n32|*"-n32 "|*-melf32bmipn32|*"-melf32bmipn32 ")
10413 libsuff=32 shlibsuff=N32 libmagic=N32;;
10414 *-64|*"-64 "|*-melf64bmip|*"-melf64bmip ")
10415 libsuff=64 shlibsuff=64 libmagic=64-bit;;
10416 *) libsuff= shlibsuff= libmagic=never-match;;
10420 shlibpath_var=LD_LIBRARY${shlibsuff}_PATH
10421 shlibpath_overrides_runpath=no
10422 sys_lib_search_path_spec="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}"
10423 sys_lib_dlsearch_path_spec="/usr/lib${libsuff} /lib${libsuff}"
10424 hardcode_into_libs=yes
10427 # No shared lib support for Linux oldld, aout, or coff.
10428 linux*oldld* | linux*aout* | linux*coff*)
10432 # This must be glibc/ELF.
10433 linux* | k*bsd*-gnu | kopensolaris*-gnu)
10434 version_type=linux # correct to gnu/linux during the next big refactor
10437 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10438 soname_spec='${libname}${release}${shared_ext}$major'
10439 finish_cmds='PATH="\$PATH:/sbin" ldconfig -n $libdir'
10440 shlibpath_var=LD_LIBRARY_PATH
10441 shlibpath_overrides_runpath=no
10443 # Some binutils ld are patched to set DT_RUNPATH
10444 if ${lt_cv_shlibpath_overrides_runpath+:} false; then :
10445 $as_echo_n "(cached) " >&6
10447 lt_cv_shlibpath_overrides_runpath=no
10448 save_LDFLAGS=$LDFLAGS
10449 save_libdir=$libdir
10450 eval "libdir=/foo; wl=\"$lt_prog_compiler_wl\"; \
10451 LDFLAGS=\"\$LDFLAGS $hardcode_libdir_flag_spec\""
10452 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10453 /* end confdefs.h. */
10463 if ac_fn_c_try_link "$LINENO"; then :
10464 if ($OBJDUMP -p conftest$ac_exeext) 2>/dev/null | grep "RUNPATH.*$libdir" >/dev/null; then :
10465 lt_cv_shlibpath_overrides_runpath=yes
10468 rm -f core conftest.err conftest.$ac_objext \
10469 conftest$ac_exeext conftest.$ac_ext
10470 LDFLAGS=$save_LDFLAGS
10471 libdir=$save_libdir
10475 shlibpath_overrides_runpath=$lt_cv_shlibpath_overrides_runpath
10477 # This implies no fast_install, which is unacceptable.
10478 # Some rework will be needed to allow for fast_install
10479 # before this can be enabled.
10480 hardcode_into_libs=yes
10482 # Append ld.so.conf contents to the search path
10483 if test -f /etc/ld.so.conf; then
10484 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' ' '`
10485 sys_lib_dlsearch_path_spec="/lib /usr/lib $lt_ld_extra"
10488 # We used to test for /lib/ld.so.1 and disable shared libraries on
10489 # powerpc, because MkLinux only supported shared libraries with the
10490 # GNU dynamic linker. Since this was broken with cross compilers,
10491 # most powerpc-linux boxes support dynamic linking these days and
10492 # people can always --disable-shared, the test was removed, and we
10493 # assume the GNU/Linux dynamic linker is in use.
10494 dynamic_linker='GNU/Linux ld.so'
10501 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
10502 soname_spec='${libname}${release}${shared_ext}$major'
10503 shlibpath_var=LD_LIBRARY_PATH
10504 shlibpath_overrides_runpath=no
10505 hardcode_into_libs=yes
10506 dynamic_linker='NetBSD ld.elf_so'
10513 if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
10514 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
10515 finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
10516 dynamic_linker='NetBSD (a.out) ld.so'
10518 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
10519 soname_spec='${libname}${release}${shared_ext}$major'
10520 dynamic_linker='NetBSD ld.elf_so'
10522 shlibpath_var=LD_LIBRARY_PATH
10523 shlibpath_overrides_runpath=yes
10524 hardcode_into_libs=yes
10528 version_type=linux # correct to gnu/linux during the next big refactor
10529 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10530 shlibpath_var=LD_LIBRARY_PATH
10531 shlibpath_overrides_runpath=yes
10538 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10539 soname_spec='${libname}${release}${shared_ext}$major'
10540 shlibpath_var=LD_LIBRARY_PATH
10541 shlibpath_overrides_runpath=no
10542 hardcode_into_libs=yes
10543 dynamic_linker='ldqnx.so'
10548 sys_lib_dlsearch_path_spec="/usr/lib"
10550 # Some older versions of OpenBSD (3.3 at least) *do* need versioned libs.
10552 openbsd3.3 | openbsd3.3.*) need_version=yes ;;
10553 *) need_version=no ;;
10555 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
10556 finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
10557 shlibpath_var=LD_LIBRARY_PATH
10558 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
10560 openbsd2.[89] | openbsd2.[89].*)
10561 shlibpath_overrides_runpath=no
10564 shlibpath_overrides_runpath=yes
10568 shlibpath_overrides_runpath=yes
10573 libname_spec='$name'
10576 library_names_spec='$libname${shared_ext} $libname.a'
10577 dynamic_linker='OS/2 ld.exe'
10578 shlibpath_var=LIBPATH
10581 osf3* | osf4* | osf5*)
10585 soname_spec='${libname}${release}${shared_ext}$major'
10586 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10587 shlibpath_var=LD_LIBRARY_PATH
10588 sys_lib_search_path_spec="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
10589 sys_lib_dlsearch_path_spec="$sys_lib_search_path_spec"
10597 version_type=linux # correct to gnu/linux during the next big refactor
10600 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10601 soname_spec='${libname}${release}${shared_ext}$major'
10602 shlibpath_var=LD_LIBRARY_PATH
10603 shlibpath_overrides_runpath=yes
10604 hardcode_into_libs=yes
10605 # ldd complains unless libraries are executable
10606 postinstall_cmds='chmod +x $lib'
10611 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
10612 finish_cmds='PATH="\$PATH:/usr/etc" ldconfig $libdir'
10613 shlibpath_var=LD_LIBRARY_PATH
10614 shlibpath_overrides_runpath=yes
10615 if test "$with_gnu_ld" = yes; then
10622 version_type=linux # correct to gnu/linux during the next big refactor
10623 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10624 soname_spec='${libname}${release}${shared_ext}$major'
10625 shlibpath_var=LD_LIBRARY_PATH
10626 case $host_vendor in
10628 shlibpath_overrides_runpath=no
10630 runpath_var=LD_RUN_PATH
10638 shlibpath_overrides_runpath=no
10639 sys_lib_search_path_spec='/lib /usr/lib /usr/ccs/lib'
10645 if test -d /usr/nec ;then
10646 version_type=linux # correct to gnu/linux during the next big refactor
10647 library_names_spec='$libname${shared_ext}.$versuffix $libname${shared_ext}.$major $libname${shared_ext}'
10648 soname_spec='$libname${shared_ext}.$major'
10649 shlibpath_var=LD_LIBRARY_PATH
10653 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
10654 version_type=freebsd-elf
10657 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
10658 soname_spec='${libname}${release}${shared_ext}$major'
10659 shlibpath_var=LD_LIBRARY_PATH
10660 shlibpath_overrides_runpath=yes
10661 hardcode_into_libs=yes
10662 if test "$with_gnu_ld" = yes; then
10663 sys_lib_search_path_spec='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib'
10665 sys_lib_search_path_spec='/usr/ccs/lib /usr/lib'
10668 sys_lib_search_path_spec="$sys_lib_search_path_spec /lib"
10672 sys_lib_dlsearch_path_spec='/usr/lib'
10676 # TPF is a cross-target only. Preferred cross-host = GNU/Linux.
10677 version_type=linux # correct to gnu/linux during the next big refactor
10680 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10681 shlibpath_var=LD_LIBRARY_PATH
10682 shlibpath_overrides_runpath=no
10683 hardcode_into_libs=yes
10687 version_type=linux # correct to gnu/linux during the next big refactor
10688 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10689 soname_spec='${libname}${release}${shared_ext}$major'
10690 shlibpath_var=LD_LIBRARY_PATH
10697 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $dynamic_linker" >&5
10698 $as_echo "$dynamic_linker" >&6; }
10699 test "$dynamic_linker" = no && can_build_shared=no
10701 variables_saved_for_relink="PATH $shlibpath_var $runpath_var"
10702 if test "$GCC" = yes; then
10703 variables_saved_for_relink="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
10706 if test "${lt_cv_sys_lib_search_path_spec+set}" = set; then
10707 sys_lib_search_path_spec="$lt_cv_sys_lib_search_path_spec"
10709 if test "${lt_cv_sys_lib_dlsearch_path_spec+set}" = set; then
10710 sys_lib_dlsearch_path_spec="$lt_cv_sys_lib_dlsearch_path_spec"
10804 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to hardcode library paths into programs" >&5
10805 $as_echo_n "checking how to hardcode library paths into programs... " >&6; }
10807 if test -n "$hardcode_libdir_flag_spec" ||
10808 test -n "$runpath_var" ||
10809 test "X$hardcode_automatic" = "Xyes" ; then
10811 # We can hardcode non-existent directories.
10812 if test "$hardcode_direct" != no &&
10813 # If the only mechanism to avoid hardcoding is shlibpath_var, we
10814 # have to relink, otherwise we might link with an installed library
10815 # when we should be linking with a yet-to-be-installed one
10816 ## test "$_LT_TAGVAR(hardcode_shlibpath_var, )" != no &&
10817 test "$hardcode_minus_L" != no; then
10818 # Linking always hardcodes the temporary library directory.
10819 hardcode_action=relink
10821 # We can link without hardcoding, and we can hardcode nonexisting dirs.
10822 hardcode_action=immediate
10825 # We cannot hardcode anything, or else we can only hardcode existing
10827 hardcode_action=unsupported
10829 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hardcode_action" >&5
10830 $as_echo "$hardcode_action" >&6; }
10832 if test "$hardcode_action" = relink ||
10833 test "$inherit_rpath" = yes; then
10834 # Fast installation is not supported
10835 enable_fast_install=no
10836 elif test "$shlibpath_overrides_runpath" = yes ||
10837 test "$enable_shared" = no; then
10838 # Fast installation is not necessary
10839 enable_fast_install=needless
10847 if test "x$enable_dlopen" != xyes; then
10848 enable_dlopen=unknown
10849 enable_dlopen_self=unknown
10850 enable_dlopen_self_static=unknown
10857 lt_cv_dlopen="load_add_on"
10859 lt_cv_dlopen_self=yes
10862 mingw* | pw32* | cegcc*)
10863 lt_cv_dlopen="LoadLibrary"
10868 lt_cv_dlopen="dlopen"
10873 # if libdl is installed we need to link against it
10874 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
10875 $as_echo_n "checking for dlopen in -ldl... " >&6; }
10876 if ${ac_cv_lib_dl_dlopen+:} false; then :
10877 $as_echo_n "(cached) " >&6
10879 ac_check_lib_save_LIBS=$LIBS
10881 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10882 /* end confdefs.h. */
10884 /* Override any GCC internal prototype to avoid an error.
10885 Use char because int might match the return type of a GCC
10886 builtin and then its argument prototype would still apply. */
10899 if ac_fn_c_try_link "$LINENO"; then :
10900 ac_cv_lib_dl_dlopen=yes
10902 ac_cv_lib_dl_dlopen=no
10904 rm -f core conftest.err conftest.$ac_objext \
10905 conftest$ac_exeext conftest.$ac_ext
10906 LIBS=$ac_check_lib_save_LIBS
10908 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
10909 $as_echo "$ac_cv_lib_dl_dlopen" >&6; }
10910 if test "x$ac_cv_lib_dl_dlopen" = xyes; then :
10911 lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl"
10914 lt_cv_dlopen="dyld"
10916 lt_cv_dlopen_self=yes
10923 ac_fn_c_check_func "$LINENO" "shl_load" "ac_cv_func_shl_load"
10924 if test "x$ac_cv_func_shl_load" = xyes; then :
10925 lt_cv_dlopen="shl_load"
10927 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for shl_load in -ldld" >&5
10928 $as_echo_n "checking for shl_load in -ldld... " >&6; }
10929 if ${ac_cv_lib_dld_shl_load+:} false; then :
10930 $as_echo_n "(cached) " >&6
10932 ac_check_lib_save_LIBS=$LIBS
10934 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10935 /* end confdefs.h. */
10937 /* Override any GCC internal prototype to avoid an error.
10938 Use char because int might match the return type of a GCC
10939 builtin and then its argument prototype would still apply. */
10947 return shl_load ();
10952 if ac_fn_c_try_link "$LINENO"; then :
10953 ac_cv_lib_dld_shl_load=yes
10955 ac_cv_lib_dld_shl_load=no
10957 rm -f core conftest.err conftest.$ac_objext \
10958 conftest$ac_exeext conftest.$ac_ext
10959 LIBS=$ac_check_lib_save_LIBS
10961 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_shl_load" >&5
10962 $as_echo "$ac_cv_lib_dld_shl_load" >&6; }
10963 if test "x$ac_cv_lib_dld_shl_load" = xyes; then :
10964 lt_cv_dlopen="shl_load" lt_cv_dlopen_libs="-ldld"
10966 ac_fn_c_check_func "$LINENO" "dlopen" "ac_cv_func_dlopen"
10967 if test "x$ac_cv_func_dlopen" = xyes; then :
10968 lt_cv_dlopen="dlopen"
10970 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
10971 $as_echo_n "checking for dlopen in -ldl... " >&6; }
10972 if ${ac_cv_lib_dl_dlopen+:} false; then :
10973 $as_echo_n "(cached) " >&6
10975 ac_check_lib_save_LIBS=$LIBS
10977 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10978 /* end confdefs.h. */
10980 /* Override any GCC internal prototype to avoid an error.
10981 Use char because int might match the return type of a GCC
10982 builtin and then its argument prototype would still apply. */
10995 if ac_fn_c_try_link "$LINENO"; then :
10996 ac_cv_lib_dl_dlopen=yes
10998 ac_cv_lib_dl_dlopen=no
11000 rm -f core conftest.err conftest.$ac_objext \
11001 conftest$ac_exeext conftest.$ac_ext
11002 LIBS=$ac_check_lib_save_LIBS
11004 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
11005 $as_echo "$ac_cv_lib_dl_dlopen" >&6; }
11006 if test "x$ac_cv_lib_dl_dlopen" = xyes; then :
11007 lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl"
11009 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -lsvld" >&5
11010 $as_echo_n "checking for dlopen in -lsvld... " >&6; }
11011 if ${ac_cv_lib_svld_dlopen+:} false; then :
11012 $as_echo_n "(cached) " >&6
11014 ac_check_lib_save_LIBS=$LIBS
11015 LIBS="-lsvld $LIBS"
11016 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11017 /* end confdefs.h. */
11019 /* Override any GCC internal prototype to avoid an error.
11020 Use char because int might match the return type of a GCC
11021 builtin and then its argument prototype would still apply. */
11034 if ac_fn_c_try_link "$LINENO"; then :
11035 ac_cv_lib_svld_dlopen=yes
11037 ac_cv_lib_svld_dlopen=no
11039 rm -f core conftest.err conftest.$ac_objext \
11040 conftest$ac_exeext conftest.$ac_ext
11041 LIBS=$ac_check_lib_save_LIBS
11043 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_svld_dlopen" >&5
11044 $as_echo "$ac_cv_lib_svld_dlopen" >&6; }
11045 if test "x$ac_cv_lib_svld_dlopen" = xyes; then :
11046 lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-lsvld"
11048 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dld_link in -ldld" >&5
11049 $as_echo_n "checking for dld_link in -ldld... " >&6; }
11050 if ${ac_cv_lib_dld_dld_link+:} false; then :
11051 $as_echo_n "(cached) " >&6
11053 ac_check_lib_save_LIBS=$LIBS
11055 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11056 /* end confdefs.h. */
11058 /* Override any GCC internal prototype to avoid an error.
11059 Use char because int might match the return type of a GCC
11060 builtin and then its argument prototype would still apply. */
11068 return dld_link ();
11073 if ac_fn_c_try_link "$LINENO"; then :
11074 ac_cv_lib_dld_dld_link=yes
11076 ac_cv_lib_dld_dld_link=no
11078 rm -f core conftest.err conftest.$ac_objext \
11079 conftest$ac_exeext conftest.$ac_ext
11080 LIBS=$ac_check_lib_save_LIBS
11082 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_dld_link" >&5
11083 $as_echo "$ac_cv_lib_dld_dld_link" >&6; }
11084 if test "x$ac_cv_lib_dld_dld_link" = xyes; then :
11085 lt_cv_dlopen="dld_link" lt_cv_dlopen_libs="-ldld"
11106 if test "x$lt_cv_dlopen" != xno; then
11112 case $lt_cv_dlopen in
11114 save_CPPFLAGS="$CPPFLAGS"
11115 test "x$ac_cv_header_dlfcn_h" = xyes && CPPFLAGS="$CPPFLAGS -DHAVE_DLFCN_H"
11117 save_LDFLAGS="$LDFLAGS"
11118 wl=$lt_prog_compiler_wl eval LDFLAGS=\"\$LDFLAGS $export_dynamic_flag_spec\"
11121 LIBS="$lt_cv_dlopen_libs $LIBS"
11123 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether a program can dlopen itself" >&5
11124 $as_echo_n "checking whether a program can dlopen itself... " >&6; }
11125 if ${lt_cv_dlopen_self+:} false; then :
11126 $as_echo_n "(cached) " >&6
11128 if test "$cross_compiling" = yes; then :
11129 lt_cv_dlopen_self=cross
11131 lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
11132 lt_status=$lt_dlunknown
11133 cat > conftest.$ac_ext <<_LT_EOF
11134 #line $LINENO "configure"
11135 #include "confdefs.h"
11144 # define LT_DLGLOBAL RTLD_GLOBAL
11147 # define LT_DLGLOBAL DL_GLOBAL
11149 # define LT_DLGLOBAL 0
11153 /* We may have to define LT_DLLAZY_OR_NOW in the command line if we
11154 find out it does not work in some platform. */
11155 #ifndef LT_DLLAZY_OR_NOW
11157 # define LT_DLLAZY_OR_NOW RTLD_LAZY
11160 # define LT_DLLAZY_OR_NOW DL_LAZY
11163 # define LT_DLLAZY_OR_NOW RTLD_NOW
11166 # define LT_DLLAZY_OR_NOW DL_NOW
11168 # define LT_DLLAZY_OR_NOW 0
11175 /* When -fvisbility=hidden is used, assume the code has been annotated
11176 correspondingly for the symbols needed. */
11177 #if defined(__GNUC__) && (((__GNUC__ == 3) && (__GNUC_MINOR__ >= 3)) || (__GNUC__ > 3))
11178 int fnord () __attribute__((visibility("default")));
11181 int fnord () { return 42; }
11184 void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
11185 int status = $lt_dlunknown;
11189 if (dlsym (self,"fnord")) status = $lt_dlno_uscore;
11192 if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
11193 else puts (dlerror ());
11195 /* dlclose (self); */
11203 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
11204 (eval $ac_link) 2>&5
11206 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
11207 test $ac_status = 0; } && test -s conftest${ac_exeext} 2>/dev/null; then
11208 (./conftest; exit; ) >&5 2>/dev/null
11210 case x$lt_status in
11211 x$lt_dlno_uscore) lt_cv_dlopen_self=yes ;;
11212 x$lt_dlneed_uscore) lt_cv_dlopen_self=yes ;;
11213 x$lt_dlunknown|x*) lt_cv_dlopen_self=no ;;
11216 # compilation failed
11217 lt_cv_dlopen_self=no
11224 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_dlopen_self" >&5
11225 $as_echo "$lt_cv_dlopen_self" >&6; }
11227 if test "x$lt_cv_dlopen_self" = xyes; then
11228 wl=$lt_prog_compiler_wl eval LDFLAGS=\"\$LDFLAGS $lt_prog_compiler_static\"
11229 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether a statically linked program can dlopen itself" >&5
11230 $as_echo_n "checking whether a statically linked program can dlopen itself... " >&6; }
11231 if ${lt_cv_dlopen_self_static+:} false; then :
11232 $as_echo_n "(cached) " >&6
11234 if test "$cross_compiling" = yes; then :
11235 lt_cv_dlopen_self_static=cross
11237 lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
11238 lt_status=$lt_dlunknown
11239 cat > conftest.$ac_ext <<_LT_EOF
11240 #line $LINENO "configure"
11241 #include "confdefs.h"
11250 # define LT_DLGLOBAL RTLD_GLOBAL
11253 # define LT_DLGLOBAL DL_GLOBAL
11255 # define LT_DLGLOBAL 0
11259 /* We may have to define LT_DLLAZY_OR_NOW in the command line if we
11260 find out it does not work in some platform. */
11261 #ifndef LT_DLLAZY_OR_NOW
11263 # define LT_DLLAZY_OR_NOW RTLD_LAZY
11266 # define LT_DLLAZY_OR_NOW DL_LAZY
11269 # define LT_DLLAZY_OR_NOW RTLD_NOW
11272 # define LT_DLLAZY_OR_NOW DL_NOW
11274 # define LT_DLLAZY_OR_NOW 0
11281 /* When -fvisbility=hidden is used, assume the code has been annotated
11282 correspondingly for the symbols needed. */
11283 #if defined(__GNUC__) && (((__GNUC__ == 3) && (__GNUC_MINOR__ >= 3)) || (__GNUC__ > 3))
11284 int fnord () __attribute__((visibility("default")));
11287 int fnord () { return 42; }
11290 void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
11291 int status = $lt_dlunknown;
11295 if (dlsym (self,"fnord")) status = $lt_dlno_uscore;
11298 if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
11299 else puts (dlerror ());
11301 /* dlclose (self); */
11309 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
11310 (eval $ac_link) 2>&5
11312 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
11313 test $ac_status = 0; } && test -s conftest${ac_exeext} 2>/dev/null; then
11314 (./conftest; exit; ) >&5 2>/dev/null
11316 case x$lt_status in
11317 x$lt_dlno_uscore) lt_cv_dlopen_self_static=yes ;;
11318 x$lt_dlneed_uscore) lt_cv_dlopen_self_static=yes ;;
11319 x$lt_dlunknown|x*) lt_cv_dlopen_self_static=no ;;
11322 # compilation failed
11323 lt_cv_dlopen_self_static=no
11330 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_dlopen_self_static" >&5
11331 $as_echo "$lt_cv_dlopen_self_static" >&6; }
11334 CPPFLAGS="$save_CPPFLAGS"
11335 LDFLAGS="$save_LDFLAGS"
11340 case $lt_cv_dlopen_self in
11341 yes|no) enable_dlopen_self=$lt_cv_dlopen_self ;;
11342 *) enable_dlopen_self=unknown ;;
11345 case $lt_cv_dlopen_self_static in
11346 yes|no) enable_dlopen_self_static=$lt_cv_dlopen_self_static ;;
11347 *) enable_dlopen_self_static=unknown ;;
11369 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether stripping libraries is possible" >&5
11370 $as_echo_n "checking whether stripping libraries is possible... " >&6; }
11371 if test -n "$STRIP" && $STRIP -V 2>&1 | $GREP "GNU strip" >/dev/null; then
11372 test -z "$old_striplib" && old_striplib="$STRIP --strip-debug"
11373 test -z "$striplib" && striplib="$STRIP --strip-unneeded"
11374 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
11375 $as_echo "yes" >&6; }
11377 # FIXME - insert some real tests, host_os isn't really good enough
11380 if test -n "$STRIP" ; then
11381 striplib="$STRIP -x"
11382 old_striplib="$STRIP -S"
11383 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
11384 $as_echo "yes" >&6; }
11386 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11387 $as_echo "no" >&6; }
11391 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11392 $as_echo "no" >&6; }
11408 # Report which library types will actually be built
11409 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if libtool supports shared libraries" >&5
11410 $as_echo_n "checking if libtool supports shared libraries... " >&6; }
11411 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $can_build_shared" >&5
11412 $as_echo "$can_build_shared" >&6; }
11414 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build shared libraries" >&5
11415 $as_echo_n "checking whether to build shared libraries... " >&6; }
11416 test "$can_build_shared" = "no" && enable_shared=no
11418 # On AIX, shared libraries and static libraries use the same namespace, and
11419 # are all built from PIC.
11422 test "$enable_shared" = yes && enable_static=no
11423 if test -n "$RANLIB"; then
11424 archive_cmds="$archive_cmds~\$RANLIB \$lib"
11425 postinstall_cmds='$RANLIB $lib'
11430 if test "$host_cpu" != ia64 && test "$aix_use_runtimelinking" = no ; then
11431 test "$enable_shared" = yes && enable_static=no
11435 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_shared" >&5
11436 $as_echo "$enable_shared" >&6; }
11438 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build static libraries" >&5
11439 $as_echo_n "checking whether to build static libraries... " >&6; }
11440 # Make sure either enable_shared or enable_static is yes.
11441 test "$enable_shared" = yes || enable_static=yes
11442 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_static" >&5
11443 $as_echo "$enable_static" >&6; }
11450 ac_cpp='$CPP $CPPFLAGS'
11451 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
11452 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
11453 ac_compiler_gnu=$ac_cv_c_compiler_gnu
11471 ac_config_commands="$ac_config_commands libtool"
11476 # Only expand once:
11480 ##--##--##--##--##--##--##--##--##--##--##--##--##--##--##--##--##
11481 ##--##--##--##--##--##--##--##--##--##--##--##--##--##--##--##--##
11485 cat >>confdefs.h <<_ACEOF
11490 cat >>confdefs.h <<_ACEOF
11495 cat >>confdefs.h <<_ACEOF
11500 cat >>confdefs.h <<_ACEOF
11504 version_info="8:3:7"
11508 ##--##--##--##--##--##--##--##--##--##--##--##--##--##--##--##--##
11509 ##--##--##--##--##--##--##--##--##--##--##--##--##--##--##--##--##
11513 ### Needed information
11518 requirement_eeze="ecore >= 1.6.99 eina >= 1.6.99 libudev"
11521 ### Checks for programs
11523 ac_cpp='$CPP $CPPFLAGS'
11524 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
11525 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
11526 ac_compiler_gnu=$ac_cv_c_compiler_gnu
11527 if test -n "$ac_tool_prefix"; then
11528 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
11529 set dummy ${ac_tool_prefix}gcc; ac_word=$2
11530 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
11531 $as_echo_n "checking for $ac_word... " >&6; }
11532 if ${ac_cv_prog_CC+:} false; then :
11533 $as_echo_n "(cached) " >&6
11535 if test -n "$CC"; then
11536 ac_cv_prog_CC="$CC" # Let the user override the test.
11538 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11539 for as_dir in $PATH
11542 test -z "$as_dir" && as_dir=.
11543 for ac_exec_ext in '' $ac_executable_extensions; do
11544 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
11545 ac_cv_prog_CC="${ac_tool_prefix}gcc"
11546 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
11556 if test -n "$CC"; then
11557 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
11558 $as_echo "$CC" >&6; }
11560 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11561 $as_echo "no" >&6; }
11566 if test -z "$ac_cv_prog_CC"; then
11568 # Extract the first word of "gcc", so it can be a program name with args.
11569 set dummy gcc; ac_word=$2
11570 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
11571 $as_echo_n "checking for $ac_word... " >&6; }
11572 if ${ac_cv_prog_ac_ct_CC+:} false; then :
11573 $as_echo_n "(cached) " >&6
11575 if test -n "$ac_ct_CC"; then
11576 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
11578 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11579 for as_dir in $PATH
11582 test -z "$as_dir" && as_dir=.
11583 for ac_exec_ext in '' $ac_executable_extensions; do
11584 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
11585 ac_cv_prog_ac_ct_CC="gcc"
11586 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
11595 ac_ct_CC=$ac_cv_prog_ac_ct_CC
11596 if test -n "$ac_ct_CC"; then
11597 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
11598 $as_echo "$ac_ct_CC" >&6; }
11600 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11601 $as_echo "no" >&6; }
11604 if test "x$ac_ct_CC" = x; then
11607 case $cross_compiling:$ac_tool_warned in
11609 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
11610 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
11611 ac_tool_warned=yes ;;
11616 CC="$ac_cv_prog_CC"
11619 if test -z "$CC"; then
11620 if test -n "$ac_tool_prefix"; then
11621 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
11622 set dummy ${ac_tool_prefix}cc; ac_word=$2
11623 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
11624 $as_echo_n "checking for $ac_word... " >&6; }
11625 if ${ac_cv_prog_CC+:} false; then :
11626 $as_echo_n "(cached) " >&6
11628 if test -n "$CC"; then
11629 ac_cv_prog_CC="$CC" # Let the user override the test.
11631 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11632 for as_dir in $PATH
11635 test -z "$as_dir" && as_dir=.
11636 for ac_exec_ext in '' $ac_executable_extensions; do
11637 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
11638 ac_cv_prog_CC="${ac_tool_prefix}cc"
11639 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
11649 if test -n "$CC"; then
11650 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
11651 $as_echo "$CC" >&6; }
11653 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11654 $as_echo "no" >&6; }
11660 if test -z "$CC"; then
11661 # Extract the first word of "cc", so it can be a program name with args.
11662 set dummy cc; ac_word=$2
11663 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
11664 $as_echo_n "checking for $ac_word... " >&6; }
11665 if ${ac_cv_prog_CC+:} false; then :
11666 $as_echo_n "(cached) " >&6
11668 if test -n "$CC"; then
11669 ac_cv_prog_CC="$CC" # Let the user override the test.
11671 ac_prog_rejected=no
11672 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11673 for as_dir in $PATH
11676 test -z "$as_dir" && as_dir=.
11677 for ac_exec_ext in '' $ac_executable_extensions; do
11678 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
11679 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
11680 ac_prog_rejected=yes
11684 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
11691 if test $ac_prog_rejected = yes; then
11692 # We found a bogon in the path, so make sure we never use it.
11693 set dummy $ac_cv_prog_CC
11695 if test $# != 0; then
11696 # We chose a different compiler from the bogus one.
11697 # However, it has the same basename, so the bogon will be chosen
11698 # first if we set CC to just the basename; use the full file name.
11700 ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
11706 if test -n "$CC"; then
11707 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
11708 $as_echo "$CC" >&6; }
11710 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11711 $as_echo "no" >&6; }
11716 if test -z "$CC"; then
11717 if test -n "$ac_tool_prefix"; then
11718 for ac_prog in cl.exe
11720 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
11721 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
11722 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
11723 $as_echo_n "checking for $ac_word... " >&6; }
11724 if ${ac_cv_prog_CC+:} false; then :
11725 $as_echo_n "(cached) " >&6
11727 if test -n "$CC"; then
11728 ac_cv_prog_CC="$CC" # Let the user override the test.
11730 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11731 for as_dir in $PATH
11734 test -z "$as_dir" && as_dir=.
11735 for ac_exec_ext in '' $ac_executable_extensions; do
11736 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
11737 ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
11738 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
11748 if test -n "$CC"; then
11749 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
11750 $as_echo "$CC" >&6; }
11752 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11753 $as_echo "no" >&6; }
11757 test -n "$CC" && break
11760 if test -z "$CC"; then
11762 for ac_prog in cl.exe
11764 # Extract the first word of "$ac_prog", so it can be a program name with args.
11765 set dummy $ac_prog; ac_word=$2
11766 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
11767 $as_echo_n "checking for $ac_word... " >&6; }
11768 if ${ac_cv_prog_ac_ct_CC+:} false; then :
11769 $as_echo_n "(cached) " >&6
11771 if test -n "$ac_ct_CC"; then
11772 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
11774 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11775 for as_dir in $PATH
11778 test -z "$as_dir" && as_dir=.
11779 for ac_exec_ext in '' $ac_executable_extensions; do
11780 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
11781 ac_cv_prog_ac_ct_CC="$ac_prog"
11782 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
11791 ac_ct_CC=$ac_cv_prog_ac_ct_CC
11792 if test -n "$ac_ct_CC"; then
11793 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
11794 $as_echo "$ac_ct_CC" >&6; }
11796 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11797 $as_echo "no" >&6; }
11801 test -n "$ac_ct_CC" && break
11804 if test "x$ac_ct_CC" = x; then
11807 case $cross_compiling:$ac_tool_warned in
11809 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
11810 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
11811 ac_tool_warned=yes ;;
11820 test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
11821 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
11822 as_fn_error $? "no acceptable C compiler found in \$PATH
11823 See \`config.log' for more details" "$LINENO" 5; }
11825 # Provide some information about the compiler.
11826 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
11829 for ac_option in --version -v -V -qversion; do
11830 { { ac_try="$ac_compiler $ac_option >&5"
11831 case "(($ac_try" in
11832 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
11833 *) ac_try_echo=$ac_try;;
11835 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
11836 $as_echo "$ac_try_echo"; } >&5
11837 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
11839 if test -s conftest.err; then
11841 ... rest of stderr output deleted ...
11842 10q' conftest.err >conftest.er1
11843 cat conftest.er1 >&5
11845 rm -f conftest.er1 conftest.err
11846 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
11847 test $ac_status = 0; }
11850 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
11851 $as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
11852 if ${ac_cv_c_compiler_gnu+:} false; then :
11853 $as_echo_n "(cached) " >&6
11855 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11856 /* end confdefs.h. */
11869 if ac_fn_c_try_compile "$LINENO"; then :
11870 ac_compiler_gnu=yes
11874 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
11875 ac_cv_c_compiler_gnu=$ac_compiler_gnu
11878 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
11879 $as_echo "$ac_cv_c_compiler_gnu" >&6; }
11880 if test $ac_compiler_gnu = yes; then
11885 ac_test_CFLAGS=${CFLAGS+set}
11886 ac_save_CFLAGS=$CFLAGS
11887 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
11888 $as_echo_n "checking whether $CC accepts -g... " >&6; }
11889 if ${ac_cv_prog_cc_g+:} false; then :
11890 $as_echo_n "(cached) " >&6
11892 ac_save_c_werror_flag=$ac_c_werror_flag
11893 ac_c_werror_flag=yes
11896 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11897 /* end confdefs.h. */
11907 if ac_fn_c_try_compile "$LINENO"; then :
11908 ac_cv_prog_cc_g=yes
11911 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11912 /* end confdefs.h. */
11922 if ac_fn_c_try_compile "$LINENO"; then :
11925 ac_c_werror_flag=$ac_save_c_werror_flag
11927 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11928 /* end confdefs.h. */
11938 if ac_fn_c_try_compile "$LINENO"; then :
11939 ac_cv_prog_cc_g=yes
11941 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
11943 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
11945 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
11946 ac_c_werror_flag=$ac_save_c_werror_flag
11948 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
11949 $as_echo "$ac_cv_prog_cc_g" >&6; }
11950 if test "$ac_test_CFLAGS" = set; then
11951 CFLAGS=$ac_save_CFLAGS
11952 elif test $ac_cv_prog_cc_g = yes; then
11953 if test "$GCC" = yes; then
11959 if test "$GCC" = yes; then
11965 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
11966 $as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
11967 if ${ac_cv_prog_cc_c89+:} false; then :
11968 $as_echo_n "(cached) " >&6
11970 ac_cv_prog_cc_c89=no
11972 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11973 /* end confdefs.h. */
11974 #include <stdarg.h>
11976 #include <sys/types.h>
11977 #include <sys/stat.h>
11978 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
11979 struct buf { int x; };
11980 FILE * (*rcsopen) (struct buf *, struct stat *, int);
11981 static char *e (p, i)
11987 static char *f (char * (*g) (char **, int), char **p, ...)
11992 s = g (p, va_arg (v,int));
11997 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
11998 function prototypes and stuff, but not '\xHH' hex character constants.
11999 These don't provoke an error unfortunately, instead are silently treated
12000 as 'x'. The following induces an error, until -std is added to get
12001 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
12002 array size at least. It's necessary to write '\x00'==0 to get something
12003 that's true only with -std. */
12004 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
12006 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
12007 inside strings and character constants. */
12009 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
12011 int test (int i, double x);
12012 struct s1 {int (*f) (int a);};
12013 struct s2 {int (*f) (double a);};
12014 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
12020 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
12025 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
12026 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
12028 CC="$ac_save_CC $ac_arg"
12029 if ac_fn_c_try_compile "$LINENO"; then :
12030 ac_cv_prog_cc_c89=$ac_arg
12032 rm -f core conftest.err conftest.$ac_objext
12033 test "x$ac_cv_prog_cc_c89" != "xno" && break
12035 rm -f conftest.$ac_ext
12040 case "x$ac_cv_prog_cc_c89" in
12042 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
12043 $as_echo "none needed" >&6; } ;;
12045 { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
12046 $as_echo "unsupported" >&6; } ;;
12048 CC="$CC $ac_cv_prog_cc_c89"
12049 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
12050 $as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
12052 if test "x$ac_cv_prog_cc_c89" != xno; then :
12057 ac_cpp='$CPP $CPPFLAGS'
12058 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
12059 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
12060 ac_compiler_gnu=$ac_cv_c_compiler_gnu
12062 depcc="$CC" am_compiler_list=
12064 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5
12065 $as_echo_n "checking dependency style of $depcc... " >&6; }
12066 if ${am_cv_CC_dependencies_compiler_type+:} false; then :
12067 $as_echo_n "(cached) " >&6
12069 if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
12070 # We make a subdir and do the tests there. Otherwise we can end up
12071 # making bogus files that we don't know about and never remove. For
12072 # instance it was reported that on HP-UX the gcc test will end up
12073 # making a dummy file named `D' -- because `-MD' means `put the output
12075 rm -rf conftest.dir
12077 # Copy depcomp to subdir because otherwise we won't find it if we're
12078 # using a relative directory.
12079 cp "$am_depcomp" conftest.dir
12081 # We will build objects and dependencies in a subdirectory because
12082 # it helps to detect inapplicable dependency modes. For instance
12083 # both Tru64's cc and ICC support -MD to output dependencies as a
12084 # side effect of compilation, but ICC will put the dependencies in
12085 # the current directory while Tru64 will put them in the object
12089 am_cv_CC_dependencies_compiler_type=none
12090 if test "$am_compiler_list" = ""; then
12091 am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
12093 am__universal=false
12094 case " $depcc " in #(
12095 *\ -arch\ *\ -arch\ *) am__universal=true ;;
12098 for depmode in $am_compiler_list; do
12099 # Setup a source with many dependencies, because some compilers
12100 # like to wrap large dependency lists on column 80 (with \), and
12101 # we should not choose a depcomp mode which is confused by this.
12103 # We need to recreate these files for each test, as the compiler may
12104 # overwrite some of them when testing with obscure command lines.
12105 # This happens at least with the AIX C compiler.
12107 for i in 1 2 3 4 5 6; do
12108 echo '#include "conftst'$i'.h"' >> sub/conftest.c
12109 # Using `: > sub/conftst$i.h' creates only sub/conftst1.h with
12110 # Solaris 8's {/usr,}/bin/sh.
12111 touch sub/conftst$i.h
12113 echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
12115 # We check with `-c' and `-o' for the sake of the "dashmstdout"
12116 # mode. It turns out that the SunPro C++ compiler does not properly
12117 # handle `-M -o', and we need to detect this. Also, some Intel
12118 # versions had trouble with output in subdirs
12119 am__obj=sub/conftest.${OBJEXT-o}
12120 am__minus_obj="-o $am__obj"
12123 # This depmode causes a compiler race in universal mode.
12124 test "$am__universal" = false || continue
12127 # after this tag, mechanisms are not by side-effect, so they'll
12128 # only be used when explicitly requested
12129 if test "x$enable_dependency_tracking" = xyes; then
12135 msvc7 | msvc7msys | msvisualcpp | msvcmsys)
12136 # This compiler won't grok `-c -o', but also, the minuso test has
12137 # not run yet. These depmodes are late enough in the game, and
12138 # so weak that their functioning should not be impacted.
12139 am__obj=conftest.${OBJEXT-o}
12144 if depmode=$depmode \
12145 source=sub/conftest.c object=$am__obj \
12146 depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
12147 $SHELL ./depcomp $depcc -c $am__minus_obj sub/conftest.c \
12148 >/dev/null 2>conftest.err &&
12149 grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 &&
12150 grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
12151 grep $am__obj sub/conftest.Po > /dev/null 2>&1 &&
12152 ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
12153 # icc doesn't choke on unknown options, it will just issue warnings
12154 # or remarks (even with -Werror). So we grep stderr for any message
12155 # that says an option was ignored or not supported.
12156 # When given -MP, icc 7.0 and 7.1 complain thusly:
12157 # icc: Command line warning: ignoring option '-M'; no argument required
12158 # The diagnosis changed in icc 8.0:
12159 # icc: Command line remark: option '-MP' not supported
12160 if (grep 'ignoring option' conftest.err ||
12161 grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
12162 am_cv_CC_dependencies_compiler_type=$depmode
12169 rm -rf conftest.dir
12171 am_cv_CC_dependencies_compiler_type=none
12175 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_CC_dependencies_compiler_type" >&5
12176 $as_echo "$am_cv_CC_dependencies_compiler_type" >&6; }
12177 CCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type
12180 test "x$enable_dependency_tracking" != xno \
12181 && test "$am_cv_CC_dependencies_compiler_type" = gcc3; then
12182 am__fastdepCC_TRUE=
12183 am__fastdepCC_FALSE='#'
12185 am__fastdepCC_TRUE='#'
12186 am__fastdepCC_FALSE=
12190 if test "x$CC" != xcc; then
12191 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC and cc understand -c and -o together" >&5
12192 $as_echo_n "checking whether $CC and cc understand -c and -o together... " >&6; }
12194 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether cc understands -c and -o together" >&5
12195 $as_echo_n "checking whether cc understands -c and -o together... " >&6; }
12197 set dummy $CC; ac_cc=`$as_echo "$2" |
12198 sed 's/[^a-zA-Z0-9_]/_/g;s/^[0-9]/_/'`
12199 if eval \${ac_cv_prog_cc_${ac_cc}_c_o+:} false; then :
12200 $as_echo_n "(cached) " >&6
12202 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12203 /* end confdefs.h. */
12213 # Make sure it works both with $CC and with simple cc.
12214 # We do the test twice because some compilers refuse to overwrite an
12215 # existing .o file with -o, though they will create one.
12216 ac_try='$CC -c conftest.$ac_ext -o conftest2.$ac_objext >&5'
12218 if { { case "(($ac_try" in
12219 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
12220 *) ac_try_echo=$ac_try;;
12222 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
12223 $as_echo "$ac_try_echo"; } >&5
12224 (eval "$ac_try") 2>&5
12226 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
12227 test $ac_status = 0; } &&
12228 test -f conftest2.$ac_objext && { { case "(($ac_try" in
12229 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
12230 *) ac_try_echo=$ac_try;;
12232 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
12233 $as_echo "$ac_try_echo"; } >&5
12234 (eval "$ac_try") 2>&5
12236 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
12237 test $ac_status = 0; };
12239 eval ac_cv_prog_cc_${ac_cc}_c_o=yes
12240 if test "x$CC" != xcc; then
12241 # Test first that cc exists at all.
12242 if { ac_try='cc -c conftest.$ac_ext >&5'
12243 { { case "(($ac_try" in
12244 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
12245 *) ac_try_echo=$ac_try;;
12247 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
12248 $as_echo "$ac_try_echo"; } >&5
12249 (eval "$ac_try") 2>&5
12251 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
12252 test $ac_status = 0; }; }; then
12253 ac_try='cc -c conftest.$ac_ext -o conftest2.$ac_objext >&5'
12255 if { { case "(($ac_try" in
12256 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
12257 *) ac_try_echo=$ac_try;;
12259 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
12260 $as_echo "$ac_try_echo"; } >&5
12261 (eval "$ac_try") 2>&5
12263 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
12264 test $ac_status = 0; } &&
12265 test -f conftest2.$ac_objext && { { case "(($ac_try" in
12266 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
12267 *) ac_try_echo=$ac_try;;
12269 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
12270 $as_echo "$ac_try_echo"; } >&5
12271 (eval "$ac_try") 2>&5
12273 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
12274 test $ac_status = 0; };
12279 # cc exists but doesn't like -o.
12280 eval ac_cv_prog_cc_${ac_cc}_c_o=no
12285 eval ac_cv_prog_cc_${ac_cc}_c_o=no
12287 rm -f core conftest*
12290 if eval test \$ac_cv_prog_cc_${ac_cc}_c_o = yes; then
12291 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
12292 $as_echo "yes" >&6; }
12294 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12295 $as_echo "no" >&6; }
12297 $as_echo "#define NO_MINUS_C_MINUS_O 1" >>confdefs.h
12301 # FIXME: we rely on the cache variable name because
12302 # there is no other way.
12304 am_cc=`echo $2 | sed 's/[^a-zA-Z0-9_]/_/g;s/^[0-9]/_/'`
12305 eval am_t=\$ac_cv_prog_cc_${am_cc}_c_o
12306 if test "$am_t" != yes; then
12307 # Losing compiler, so override with the script.
12308 # FIXME: It is wrong to rewrite CC.
12309 # But if we don't then we get into trouble of one sort or another.
12310 # A longer-term fix would be to have automake use am__CC in this case,
12311 # and then we could set am__CC="\$(top_srcdir)/compile \$(CC)"
12312 CC="$am_aux_dir/compile $CC"
12318 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for __attribute__" >&5
12319 $as_echo_n "checking for __attribute__... " >&6; }
12321 if ${ac_cv___attribute__+:} false; then :
12322 $as_echo_n "(cached) " >&6
12324 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12325 /* end confdefs.h. */
12327 #include <stdlib.h>
12330 int foo(int x __attribute__ ((unused)))
12343 if ac_fn_c_try_compile "$LINENO"; then :
12344 ac_cv___attribute__="yes"
12346 ac_cv___attribute__="no"
12349 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
12353 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv___attribute__" >&5
12354 $as_echo "$ac_cv___attribute__" >&6; }
12356 if test "x${ac_cv___attribute__}" = "xyes" ; then
12358 $as_echo "#define HAVE___ATTRIBUTE__ 1" >>confdefs.h
12361 $as_echo "#define __UNUSED__ __attribute__((unused))" >>confdefs.h
12365 $as_echo "#define __UNUSED__ /**/" >>confdefs.h
12379 if test "x$ac_cv_env_PKG_CONFIG_set" != "xset"; then
12380 if test -n "$ac_tool_prefix"; then
12381 # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
12382 set dummy ${ac_tool_prefix}pkg-config; ac_word=$2
12383 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
12384 $as_echo_n "checking for $ac_word... " >&6; }
12385 if ${ac_cv_path_PKG_CONFIG+:} false; then :
12386 $as_echo_n "(cached) " >&6
12388 case $PKG_CONFIG in
12390 ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path.
12393 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12394 for as_dir in $PATH
12397 test -z "$as_dir" && as_dir=.
12398 for ac_exec_ext in '' $ac_executable_extensions; do
12399 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
12400 ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
12401 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
12411 PKG_CONFIG=$ac_cv_path_PKG_CONFIG
12412 if test -n "$PKG_CONFIG"; then
12413 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PKG_CONFIG" >&5
12414 $as_echo "$PKG_CONFIG" >&6; }
12416 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12417 $as_echo "no" >&6; }
12422 if test -z "$ac_cv_path_PKG_CONFIG"; then
12423 ac_pt_PKG_CONFIG=$PKG_CONFIG
12424 # Extract the first word of "pkg-config", so it can be a program name with args.
12425 set dummy pkg-config; ac_word=$2
12426 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
12427 $as_echo_n "checking for $ac_word... " >&6; }
12428 if ${ac_cv_path_ac_pt_PKG_CONFIG+:} false; then :
12429 $as_echo_n "(cached) " >&6
12431 case $ac_pt_PKG_CONFIG in
12433 ac_cv_path_ac_pt_PKG_CONFIG="$ac_pt_PKG_CONFIG" # Let the user override the test with a path.
12436 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12437 for as_dir in $PATH
12440 test -z "$as_dir" && as_dir=.
12441 for ac_exec_ext in '' $ac_executable_extensions; do
12442 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
12443 ac_cv_path_ac_pt_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
12444 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
12454 ac_pt_PKG_CONFIG=$ac_cv_path_ac_pt_PKG_CONFIG
12455 if test -n "$ac_pt_PKG_CONFIG"; then
12456 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_pt_PKG_CONFIG" >&5
12457 $as_echo "$ac_pt_PKG_CONFIG" >&6; }
12459 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12460 $as_echo "no" >&6; }
12463 if test "x$ac_pt_PKG_CONFIG" = x; then
12466 case $cross_compiling:$ac_tool_warned in
12468 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
12469 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
12470 ac_tool_warned=yes ;;
12472 PKG_CONFIG=$ac_pt_PKG_CONFIG
12475 PKG_CONFIG="$ac_cv_path_PKG_CONFIG"
12479 if test -n "$PKG_CONFIG"; then
12480 _pkg_min_version=0.9.0
12481 { $as_echo "$as_me:${as_lineno-$LINENO}: checking pkg-config is at least version $_pkg_min_version" >&5
12482 $as_echo_n "checking pkg-config is at least version $_pkg_min_version... " >&6; }
12483 if $PKG_CONFIG --atleast-pkgconfig-version $_pkg_min_version; then
12484 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
12485 $as_echo "yes" >&6; }
12487 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12488 $as_echo "no" >&6; }
12493 # Check whether pkg-config supports Requires.private
12494 if $PKG_CONFIG --atleast-pkgconfig-version 0.22; then :
12495 pkgconfig_requires_private="Requires.private"
12497 pkgconfig_requires_private="Requires"
12502 # doxygen program for documentation building
12506 # Check whether --enable-doc was given.
12507 if test "${enable_doc+set}" = set; then :
12508 enableval=$enable_doc;
12509 if test "x${enableval}" = "xyes" ; then
12510 efl_enable_doc="yes"
12512 efl_enable_doc="no"
12516 efl_enable_doc="yes"
12520 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build documentation" >&5
12521 $as_echo_n "checking whether to build documentation... " >&6; }
12522 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${efl_enable_doc}" >&5
12523 $as_echo "${efl_enable_doc}" >&6; }
12525 if test "x${efl_enable_doc}" = "xyes" ; then
12528 efl_doxygen="doxygen"
12531 # Check whether --with-doxygen was given.
12532 if test "${with_doxygen+set}" = set; then :
12533 withval=$with_doxygen; efl_doxygen=${withval}
12534 # Extract the first word of "${efl_doxygen}", so it can be a program name with args.
12535 set dummy ${efl_doxygen}; ac_word=$2
12536 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
12537 $as_echo_n "checking for $ac_word... " >&6; }
12538 if ${ac_cv_prog_efl_have_doxygen+:} false; then :
12539 $as_echo_n "(cached) " >&6
12541 if test -n "$efl_have_doxygen"; then
12542 ac_cv_prog_efl_have_doxygen="$efl_have_doxygen" # Let the user override the test.
12544 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12545 for as_dir in $PATH
12548 test -z "$as_dir" && as_dir=.
12549 for ac_exec_ext in '' $ac_executable_extensions; do
12550 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
12551 ac_cv_prog_efl_have_doxygen="yes"
12552 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
12559 test -z "$ac_cv_prog_efl_have_doxygen" && ac_cv_prog_efl_have_doxygen="no"
12562 efl_have_doxygen=$ac_cv_prog_efl_have_doxygen
12563 if test -n "$efl_have_doxygen"; then
12564 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $efl_have_doxygen" >&5
12565 $as_echo "$efl_have_doxygen" >&6; }
12567 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12568 $as_echo "no" >&6; }
12572 if test "x${efl_have_doxygen}" = "xno" ; then
12574 echo "The doxygen program you specified:"
12575 echo "${efl_doxygen}"
12576 echo "was not found. Please check the path and make sure "
12577 echo "the program exists and is executable."
12578 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: no doxygen detected. Documentation will not be built" >&5
12579 $as_echo "$as_me: WARNING: no doxygen detected. Documentation will not be built" >&2;}
12583 # Extract the first word of "${efl_doxygen}", so it can be a program name with args.
12584 set dummy ${efl_doxygen}; ac_word=$2
12585 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
12586 $as_echo_n "checking for $ac_word... " >&6; }
12587 if ${ac_cv_prog_efl_have_doxygen+:} false; then :
12588 $as_echo_n "(cached) " >&6
12590 if test -n "$efl_have_doxygen"; then
12591 ac_cv_prog_efl_have_doxygen="$efl_have_doxygen" # Let the user override the test.
12593 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12594 for as_dir in $PATH
12597 test -z "$as_dir" && as_dir=.
12598 for ac_exec_ext in '' $ac_executable_extensions; do
12599 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
12600 ac_cv_prog_efl_have_doxygen="yes"
12601 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
12608 test -z "$ac_cv_prog_efl_have_doxygen" && ac_cv_prog_efl_have_doxygen="no"
12611 efl_have_doxygen=$ac_cv_prog_efl_have_doxygen
12612 if test -n "$efl_have_doxygen"; then
12613 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $efl_have_doxygen" >&5
12614 $as_echo "$efl_have_doxygen" >&6; }
12616 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12617 $as_echo "no" >&6; }
12621 if test "x${efl_have_doxygen}" = "xno" ; then
12623 echo "The doxygen program was not found in your execute path."
12624 echo "You may have doxygen installed somewhere not covered by your path."
12626 echo "If this is the case make sure you have the packages installed, AND"
12627 echo "that the doxygen program is in your execute path (see your"
12628 echo "shell manual page on setting the \$PATH environment variable), OR"
12629 echo "alternatively, specify the program to use with --with-doxygen."
12630 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: no doxygen detected. Documentation will not be built" >&5
12631 $as_echo "$as_me: WARNING: no doxygen detected. Documentation will not be built" >&2;}
12640 if ! test "x${efl_have_doxygen}" = "xyes" ; then
12641 efl_enable_doc="no"
12644 if test "x${efl_enable_doc}" = "xyes"; then
12645 EFL_BUILD_DOC_TRUE=
12646 EFL_BUILD_DOC_FALSE='#'
12648 EFL_BUILD_DOC_TRUE='#'
12649 EFL_BUILD_DOC_FALSE=
12653 if test "x${efl_enable_doc}" = "xyes" ; then
12662 ### Checks for libraries
12666 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for EEZE" >&5
12667 $as_echo_n "checking for EEZE... " >&6; }
12669 if test -n "$EEZE_CFLAGS"; then
12670 pkg_cv_EEZE_CFLAGS="$EEZE_CFLAGS"
12671 elif test -n "$PKG_CONFIG"; then
12672 if test -n "$PKG_CONFIG" && \
12673 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"\${requirement_eeze}\""; } >&5
12674 ($PKG_CONFIG --exists --print-errors "${requirement_eeze}") 2>&5
12676 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
12677 test $ac_status = 0; }; then
12678 pkg_cv_EEZE_CFLAGS=`$PKG_CONFIG --cflags "${requirement_eeze}" 2>/dev/null`
12679 test "x$?" != "x0" && pkg_failed=yes
12686 if test -n "$EEZE_LIBS"; then
12687 pkg_cv_EEZE_LIBS="$EEZE_LIBS"
12688 elif test -n "$PKG_CONFIG"; then
12689 if test -n "$PKG_CONFIG" && \
12690 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"\${requirement_eeze}\""; } >&5
12691 ($PKG_CONFIG --exists --print-errors "${requirement_eeze}") 2>&5
12693 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
12694 test $ac_status = 0; }; then
12695 pkg_cv_EEZE_LIBS=`$PKG_CONFIG --libs "${requirement_eeze}" 2>/dev/null`
12696 test "x$?" != "x0" && pkg_failed=yes
12706 if test $pkg_failed = yes; then
12707 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12708 $as_echo "no" >&6; }
12710 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
12711 _pkg_short_errors_supported=yes
12713 _pkg_short_errors_supported=no
12715 if test $_pkg_short_errors_supported = yes; then
12716 EEZE_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "${requirement_eeze}" 2>&1`
12718 EEZE_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "${requirement_eeze}" 2>&1`
12720 # Put the nasty error message in config.log where it belongs
12721 echo "$EEZE_PKG_ERRORS" >&5
12723 as_fn_error $? "Package requirements (${requirement_eeze}) were not met:
12727 Consider adjusting the PKG_CONFIG_PATH environment variable if you
12728 installed software in a non-standard prefix.
12730 Alternatively, you may set the environment variables EEZE_CFLAGS
12731 and EEZE_LIBS to avoid the need to call pkg-config.
12732 See the pkg-config man page for more details." "$LINENO" 5
12733 elif test $pkg_failed = untried; then
12734 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12735 $as_echo "no" >&6; }
12736 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
12737 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
12738 as_fn_error $? "The pkg-config script could not be found or is too old. Make sure it
12739 is in your PATH or set the PKG_CONFIG environment variable to the full
12740 path to pkg-config.
12742 Alternatively, you may set the environment variables EEZE_CFLAGS
12743 and EEZE_LIBS to avoid the need to call pkg-config.
12744 See the pkg-config man page for more details.
12746 To get pkg-config, see <http://pkg-config.freedesktop.org/>.
12747 See \`config.log' for more details" "$LINENO" 5; }
12749 EEZE_CFLAGS=$pkg_cv_EEZE_CFLAGS
12750 EEZE_LIBS=$pkg_cv_EEZE_LIBS
12751 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
12752 $as_echo "yes" >&6; }
12756 udev_version=$(pkg-config libudev --modversion)
12758 if test $udev_version -lt 143;then
12759 as_fn_error $? "udev version is too old!" "$LINENO" 5
12760 elif test $udev_version -lt 148;then
12761 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Old udev version detected, enabling compat code" >&5
12762 $as_echo "$as_me: WARNING: Old udev version detected, enabling compat code" >&2;}
12764 $as_echo "#define OLD_UDEV_RRRRRRRRRRRRRR 1" >>confdefs.h
12769 if test -n "$PKG_CONFIG" && \
12770 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"mount >= 2.18.0\""; } >&5
12771 ($PKG_CONFIG --exists --print-errors "mount >= 2.18.0") 2>&5
12773 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
12774 test $ac_status = 0; }; then
12777 $as_echo "#define HAVE_EEZE_MOUNT 1" >>confdefs.h
12780 HAVE_EEZE_MOUNT_TRUE=
12781 HAVE_EEZE_MOUNT_FALSE='#'
12783 HAVE_EEZE_MOUNT_TRUE='#'
12784 HAVE_EEZE_MOUNT_FALSE=
12791 HAVE_EEZE_MOUNT_TRUE=
12792 HAVE_EEZE_MOUNT_FALSE='#'
12794 HAVE_EEZE_MOUNT_TRUE='#'
12795 HAVE_EEZE_MOUNT_FALSE=
12801 if test "x$eeze_mount" = "xyes";then
12803 # Check whether --with-mount was given.
12804 if test "${with_mount+set}" = set; then :
12805 withval=$with_mount; with_mount=$withval
12807 with_mount="detect"
12811 # Check whether --with-umount was given.
12812 if test "${with_umount+set}" = set; then :
12813 withval=$with_umount; with_umount=$withval
12815 with_umount="detect"
12819 # Check whether --with-eject was given.
12820 if test "${with_eject+set}" = set; then :
12821 withval=$with_eject; with_eject=$withval
12823 with_eject="detect"
12828 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for LIBMOUNT" >&5
12829 $as_echo_n "checking for LIBMOUNT... " >&6; }
12831 if test -n "$LIBMOUNT_CFLAGS"; then
12832 pkg_cv_LIBMOUNT_CFLAGS="$LIBMOUNT_CFLAGS"
12833 elif test -n "$PKG_CONFIG"; then
12834 if test -n "$PKG_CONFIG" && \
12835 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"mount >= 2.18.0\""; } >&5
12836 ($PKG_CONFIG --exists --print-errors "mount >= 2.18.0") 2>&5
12838 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
12839 test $ac_status = 0; }; then
12840 pkg_cv_LIBMOUNT_CFLAGS=`$PKG_CONFIG --cflags "mount >= 2.18.0" 2>/dev/null`
12841 test "x$?" != "x0" && pkg_failed=yes
12848 if test -n "$LIBMOUNT_LIBS"; then
12849 pkg_cv_LIBMOUNT_LIBS="$LIBMOUNT_LIBS"
12850 elif test -n "$PKG_CONFIG"; then
12851 if test -n "$PKG_CONFIG" && \
12852 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"mount >= 2.18.0\""; } >&5
12853 ($PKG_CONFIG --exists --print-errors "mount >= 2.18.0") 2>&5
12855 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
12856 test $ac_status = 0; }; then
12857 pkg_cv_LIBMOUNT_LIBS=`$PKG_CONFIG --libs "mount >= 2.18.0" 2>/dev/null`
12858 test "x$?" != "x0" && pkg_failed=yes
12868 if test $pkg_failed = yes; then
12869 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12870 $as_echo "no" >&6; }
12872 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
12873 _pkg_short_errors_supported=yes
12875 _pkg_short_errors_supported=no
12877 if test $_pkg_short_errors_supported = yes; then
12878 LIBMOUNT_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "mount >= 2.18.0" 2>&1`
12880 LIBMOUNT_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "mount >= 2.18.0" 2>&1`
12882 # Put the nasty error message in config.log where it belongs
12883 echo "$LIBMOUNT_PKG_ERRORS" >&5
12885 as_fn_error $? "Package requirements (mount >= 2.18.0) were not met:
12887 $LIBMOUNT_PKG_ERRORS
12889 Consider adjusting the PKG_CONFIG_PATH environment variable if you
12890 installed software in a non-standard prefix.
12892 Alternatively, you may set the environment variables LIBMOUNT_CFLAGS
12893 and LIBMOUNT_LIBS to avoid the need to call pkg-config.
12894 See the pkg-config man page for more details." "$LINENO" 5
12895 elif test $pkg_failed = untried; then
12896 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12897 $as_echo "no" >&6; }
12898 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
12899 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
12900 as_fn_error $? "The pkg-config script could not be found or is too old. Make sure it
12901 is in your PATH or set the PKG_CONFIG environment variable to the full
12902 path to pkg-config.
12904 Alternatively, you may set the environment variables LIBMOUNT_CFLAGS
12905 and LIBMOUNT_LIBS to avoid the need to call pkg-config.
12906 See the pkg-config man page for more details.
12908 To get pkg-config, see <http://pkg-config.freedesktop.org/>.
12909 See \`config.log' for more details" "$LINENO" 5; }
12911 LIBMOUNT_CFLAGS=$pkg_cv_LIBMOUNT_CFLAGS
12912 LIBMOUNT_LIBS=$pkg_cv_LIBMOUNT_LIBS
12913 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
12914 $as_echo "yes" >&6; }
12917 mount_v=$(pkg-config --modversion mount)
12920 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ECORE_FILE" >&5
12921 $as_echo_n "checking for ECORE_FILE... " >&6; }
12923 if test -n "$ECORE_FILE_CFLAGS"; then
12924 pkg_cv_ECORE_FILE_CFLAGS="$ECORE_FILE_CFLAGS"
12925 elif test -n "$PKG_CONFIG"; then
12926 if test -n "$PKG_CONFIG" && \
12927 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"ecore-file >= 1.6.99\""; } >&5
12928 ($PKG_CONFIG --exists --print-errors "ecore-file >= 1.6.99") 2>&5
12930 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
12931 test $ac_status = 0; }; then
12932 pkg_cv_ECORE_FILE_CFLAGS=`$PKG_CONFIG --cflags "ecore-file >= 1.6.99" 2>/dev/null`
12933 test "x$?" != "x0" && pkg_failed=yes
12940 if test -n "$ECORE_FILE_LIBS"; then
12941 pkg_cv_ECORE_FILE_LIBS="$ECORE_FILE_LIBS"
12942 elif test -n "$PKG_CONFIG"; then
12943 if test -n "$PKG_CONFIG" && \
12944 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"ecore-file >= 1.6.99\""; } >&5
12945 ($PKG_CONFIG --exists --print-errors "ecore-file >= 1.6.99") 2>&5
12947 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
12948 test $ac_status = 0; }; then
12949 pkg_cv_ECORE_FILE_LIBS=`$PKG_CONFIG --libs "ecore-file >= 1.6.99" 2>/dev/null`
12950 test "x$?" != "x0" && pkg_failed=yes
12960 if test $pkg_failed = yes; then
12961 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12962 $as_echo "no" >&6; }
12964 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
12965 _pkg_short_errors_supported=yes
12967 _pkg_short_errors_supported=no
12969 if test $_pkg_short_errors_supported = yes; then
12970 ECORE_FILE_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "ecore-file >= 1.6.99" 2>&1`
12972 ECORE_FILE_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "ecore-file >= 1.6.99" 2>&1`
12974 # Put the nasty error message in config.log where it belongs
12975 echo "$ECORE_FILE_PKG_ERRORS" >&5
12977 as_fn_error $? "Package requirements (ecore-file >= 1.6.99) were not met:
12979 $ECORE_FILE_PKG_ERRORS
12981 Consider adjusting the PKG_CONFIG_PATH environment variable if you
12982 installed software in a non-standard prefix.
12984 Alternatively, you may set the environment variables ECORE_FILE_CFLAGS
12985 and ECORE_FILE_LIBS to avoid the need to call pkg-config.
12986 See the pkg-config man page for more details." "$LINENO" 5
12987 elif test $pkg_failed = untried; then
12988 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12989 $as_echo "no" >&6; }
12990 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
12991 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
12992 as_fn_error $? "The pkg-config script could not be found or is too old. Make sure it
12993 is in your PATH or set the PKG_CONFIG environment variable to the full
12994 path to pkg-config.
12996 Alternatively, you may set the environment variables ECORE_FILE_CFLAGS
12997 and ECORE_FILE_LIBS to avoid the need to call pkg-config.
12998 See the pkg-config man page for more details.
13000 To get pkg-config, see <http://pkg-config.freedesktop.org/>.
13001 See \`config.log' for more details" "$LINENO" 5; }
13003 ECORE_FILE_CFLAGS=$pkg_cv_ECORE_FILE_CFLAGS
13004 ECORE_FILE_LIBS=$pkg_cv_ECORE_FILE_LIBS
13005 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
13006 $as_echo "yes" >&6; }
13011 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for EET" >&5
13012 $as_echo_n "checking for EET... " >&6; }
13014 if test -n "$EET_CFLAGS"; then
13015 pkg_cv_EET_CFLAGS="$EET_CFLAGS"
13016 elif test -n "$PKG_CONFIG"; then
13017 if test -n "$PKG_CONFIG" && \
13018 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"eet >= 1.6.99\""; } >&5
13019 ($PKG_CONFIG --exists --print-errors "eet >= 1.6.99") 2>&5
13021 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
13022 test $ac_status = 0; }; then
13023 pkg_cv_EET_CFLAGS=`$PKG_CONFIG --cflags "eet >= 1.6.99" 2>/dev/null`
13024 test "x$?" != "x0" && pkg_failed=yes
13031 if test -n "$EET_LIBS"; then
13032 pkg_cv_EET_LIBS="$EET_LIBS"
13033 elif test -n "$PKG_CONFIG"; then
13034 if test -n "$PKG_CONFIG" && \
13035 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"eet >= 1.6.99\""; } >&5
13036 ($PKG_CONFIG --exists --print-errors "eet >= 1.6.99") 2>&5
13038 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
13039 test $ac_status = 0; }; then
13040 pkg_cv_EET_LIBS=`$PKG_CONFIG --libs "eet >= 1.6.99" 2>/dev/null`
13041 test "x$?" != "x0" && pkg_failed=yes
13051 if test $pkg_failed = yes; then
13052 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
13053 $as_echo "no" >&6; }
13055 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
13056 _pkg_short_errors_supported=yes
13058 _pkg_short_errors_supported=no
13060 if test $_pkg_short_errors_supported = yes; then
13061 EET_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "eet >= 1.6.99" 2>&1`
13063 EET_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "eet >= 1.6.99" 2>&1`
13065 # Put the nasty error message in config.log where it belongs
13066 echo "$EET_PKG_ERRORS" >&5
13068 as_fn_error $? "Package requirements (eet >= 1.6.99) were not met:
13072 Consider adjusting the PKG_CONFIG_PATH environment variable if you
13073 installed software in a non-standard prefix.
13075 Alternatively, you may set the environment variables EET_CFLAGS
13076 and EET_LIBS to avoid the need to call pkg-config.
13077 See the pkg-config man page for more details." "$LINENO" 5
13078 elif test $pkg_failed = untried; then
13079 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
13080 $as_echo "no" >&6; }
13081 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
13082 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
13083 as_fn_error $? "The pkg-config script could not be found or is too old. Make sure it
13084 is in your PATH or set the PKG_CONFIG environment variable to the full
13085 path to pkg-config.
13087 Alternatively, you may set the environment variables EET_CFLAGS
13088 and EET_LIBS to avoid the need to call pkg-config.
13089 See the pkg-config man page for more details.
13091 To get pkg-config, see <http://pkg-config.freedesktop.org/>.
13092 See \`config.log' for more details" "$LINENO" 5; }
13094 EET_CFLAGS=$pkg_cv_EET_CFLAGS
13095 EET_LIBS=$pkg_cv_EET_LIBS
13096 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
13097 $as_echo "yes" >&6; }
13102 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ECORE_CON" >&5
13103 $as_echo_n "checking for ECORE_CON... " >&6; }
13105 if test -n "$ECORE_CON_CFLAGS"; then
13106 pkg_cv_ECORE_CON_CFLAGS="$ECORE_CON_CFLAGS"
13107 elif test -n "$PKG_CONFIG"; then
13108 if test -n "$PKG_CONFIG" && \
13109 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"ecore-con >= 1.6.99\""; } >&5
13110 ($PKG_CONFIG --exists --print-errors "ecore-con >= 1.6.99") 2>&5
13112 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
13113 test $ac_status = 0; }; then
13114 pkg_cv_ECORE_CON_CFLAGS=`$PKG_CONFIG --cflags "ecore-con >= 1.6.99" 2>/dev/null`
13115 test "x$?" != "x0" && pkg_failed=yes
13122 if test -n "$ECORE_CON_LIBS"; then
13123 pkg_cv_ECORE_CON_LIBS="$ECORE_CON_LIBS"
13124 elif test -n "$PKG_CONFIG"; then
13125 if test -n "$PKG_CONFIG" && \
13126 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"ecore-con >= 1.6.99\""; } >&5
13127 ($PKG_CONFIG --exists --print-errors "ecore-con >= 1.6.99") 2>&5
13129 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
13130 test $ac_status = 0; }; then
13131 pkg_cv_ECORE_CON_LIBS=`$PKG_CONFIG --libs "ecore-con >= 1.6.99" 2>/dev/null`
13132 test "x$?" != "x0" && pkg_failed=yes
13142 if test $pkg_failed = yes; then
13143 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
13144 $as_echo "no" >&6; }
13146 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
13147 _pkg_short_errors_supported=yes
13149 _pkg_short_errors_supported=no
13151 if test $_pkg_short_errors_supported = yes; then
13152 ECORE_CON_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "ecore-con >= 1.6.99" 2>&1`
13154 ECORE_CON_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "ecore-con >= 1.6.99" 2>&1`
13156 # Put the nasty error message in config.log where it belongs
13157 echo "$ECORE_CON_PKG_ERRORS" >&5
13159 as_fn_error $? "Package requirements (ecore-con >= 1.6.99) were not met:
13161 $ECORE_CON_PKG_ERRORS
13163 Consider adjusting the PKG_CONFIG_PATH environment variable if you
13164 installed software in a non-standard prefix.
13166 Alternatively, you may set the environment variables ECORE_CON_CFLAGS
13167 and ECORE_CON_LIBS to avoid the need to call pkg-config.
13168 See the pkg-config man page for more details." "$LINENO" 5
13169 elif test $pkg_failed = untried; then
13170 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
13171 $as_echo "no" >&6; }
13172 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
13173 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
13174 as_fn_error $? "The pkg-config script could not be found or is too old. Make sure it
13175 is in your PATH or set the PKG_CONFIG environment variable to the full
13176 path to pkg-config.
13178 Alternatively, you may set the environment variables ECORE_CON_CFLAGS
13179 and ECORE_CON_LIBS to avoid the need to call pkg-config.
13180 See the pkg-config man page for more details.
13182 To get pkg-config, see <http://pkg-config.freedesktop.org/>.
13183 See \`config.log' for more details" "$LINENO" 5; }
13185 ECORE_CON_CFLAGS=$pkg_cv_ECORE_CON_CFLAGS
13186 ECORE_CON_LIBS=$pkg_cv_ECORE_CON_LIBS
13187 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
13188 $as_echo "yes" >&6; }
13192 if test "x$with_mount" = "xdetect";then
13193 # Extract the first word of "mount", so it can be a program name with args.
13194 set dummy mount; ac_word=$2
13195 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
13196 $as_echo_n "checking for $ac_word... " >&6; }
13197 if ${ac_cv_path_with_mount+:} false; then :
13198 $as_echo_n "(cached) " >&6
13200 case $with_mount in
13202 ac_cv_path_with_mount="$with_mount" # Let the user override the test with a path.
13205 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
13206 for as_dir in $PATH
13209 test -z "$as_dir" && as_dir=.
13210 for ac_exec_ext in '' $ac_executable_extensions; do
13211 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
13212 ac_cv_path_with_mount="$as_dir/$ac_word$ac_exec_ext"
13213 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
13223 with_mount=$ac_cv_path_with_mount
13224 if test -n "$with_mount"; then
13225 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $with_mount" >&5
13226 $as_echo "$with_mount" >&6; }
13228 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
13229 $as_echo "no" >&6; }
13234 if test -z "$with_mount" ; then
13236 cat >>confdefs.h <<_ACEOF
13237 #define MOUNTABLE 0
13242 cat >>confdefs.h <<_ACEOF
13243 #define MOUNTABLE 1
13248 cat >>confdefs.h <<_ACEOF
13249 #define EEZE_MOUNT_BIN "$with_mount"
13253 if test "x$with_umount" = "xdetect";then
13254 # Extract the first word of "umount", so it can be a program name with args.
13255 set dummy umount; ac_word=$2
13256 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
13257 $as_echo_n "checking for $ac_word... " >&6; }
13258 if ${ac_cv_path_with_umount+:} false; then :
13259 $as_echo_n "(cached) " >&6
13261 case $with_umount in
13263 ac_cv_path_with_umount="$with_umount" # Let the user override the test with a path.
13266 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
13267 for as_dir in $PATH
13270 test -z "$as_dir" && as_dir=.
13271 for ac_exec_ext in '' $ac_executable_extensions; do
13272 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
13273 ac_cv_path_with_umount="$as_dir/$ac_word$ac_exec_ext"
13274 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
13284 with_umount=$ac_cv_path_with_umount
13285 if test -n "$with_umount"; then
13286 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $with_umount" >&5
13287 $as_echo "$with_umount" >&6; }
13289 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
13290 $as_echo "no" >&6; }
13295 if test -z "$with_umount" ; then
13297 cat >>confdefs.h <<_ACEOF
13298 #define UNMOUNTABLE 0
13303 cat >>confdefs.h <<_ACEOF
13304 #define UNMOUNTABLE 1
13309 cat >>confdefs.h <<_ACEOF
13310 #define EEZE_UNMOUNT_BIN "$with_umount"
13314 if test "x$with_eject" = "xdetect";then
13315 # Extract the first word of "eject", so it can be a program name with args.
13316 set dummy eject; ac_word=$2
13317 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
13318 $as_echo_n "checking for $ac_word... " >&6; }
13319 if ${ac_cv_path_with_eject+:} false; then :
13320 $as_echo_n "(cached) " >&6
13322 case $with_eject in
13324 ac_cv_path_with_eject="$with_eject" # Let the user override the test with a path.
13327 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
13328 for as_dir in $PATH
13331 test -z "$as_dir" && as_dir=.
13332 for ac_exec_ext in '' $ac_executable_extensions; do
13333 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
13334 ac_cv_path_with_eject="$as_dir/$ac_word$ac_exec_ext"
13335 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
13345 with_eject=$ac_cv_path_with_eject
13346 if test -n "$with_eject"; then
13347 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $with_eject" >&5
13348 $as_echo "$with_eject" >&6; }
13350 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
13351 $as_echo "no" >&6; }
13356 if test -z "$with_eject" ; then
13358 cat >>confdefs.h <<_ACEOF
13359 #define EJECTABLE 0
13364 cat >>confdefs.h <<_ACEOF
13365 #define EJECTABLE 1
13370 cat >>confdefs.h <<_ACEOF
13371 #define EEZE_EJECT_BIN "$with_eject"
13377 # Check whether --enable-mtab was given.
13378 if test "${enable_mtab+set}" = set; then :
13379 enableval=$enable_mtab;
13380 if test "x${enableval}" = "xyes" ; then
13391 if test "x${want_mtab}" = "xyes" ; then
13394 OLD_LIBMOUNT_FALSE='#'
13396 OLD_LIBMOUNT_TRUE='#'
13397 OLD_LIBMOUNT_FALSE=
13402 NEW_LIBMOUNT_FALSE='#'
13404 NEW_LIBMOUNT_TRUE='#'
13405 NEW_LIBMOUNT_FALSE=
13409 if test -n "$mount_v";then
13410 if test "$(echo $mount_v | cut -d'.' -f2)" -lt 19; then
13412 OLD_LIBMOUNT_FALSE='#'
13414 OLD_LIBMOUNT_TRUE='#'
13415 OLD_LIBMOUNT_FALSE=
13418 if test "$(echo $mount_v | cut -d'.' -f2)" -gt 19; then
13420 NEW_LIBMOUNT_FALSE='#'
13422 NEW_LIBMOUNT_TRUE='#'
13423 NEW_LIBMOUNT_FALSE=
13429 OLD_LIBMOUNT_FALSE='#'
13431 OLD_LIBMOUNT_TRUE='#'
13432 OLD_LIBMOUNT_FALSE=
13437 NEW_LIBMOUNT_FALSE='#'
13439 NEW_LIBMOUNT_TRUE='#'
13440 NEW_LIBMOUNT_FALSE=
13445 if test -z "$OLD_LIBMOUNT_TRUE"; then :
13448 cat >>confdefs.h <<_ACEOF
13449 #define OLD_LIBMOUNT 1
13455 for ac_header in netinet/in.h
13457 ac_fn_c_check_header_mongrel "$LINENO" "netinet/in.h" "ac_cv_header_netinet_in_h" "$ac_includes_default"
13458 if test "x$ac_cv_header_netinet_in_h" = xyes; then :
13459 cat >>confdefs.h <<_ACEOF
13460 #define HAVE_NETINET_IN_H 1
13470 # Check whether --enable-ipv6 was given.
13471 if test "${enable_ipv6+set}" = set; then :
13472 enableval=$enable_ipv6;
13473 if test "x${enableval}" = "xyes" ; then
13483 # Verify IPV6 availability in headers
13484 if test "x${want_ipv6}" != "xno" ; then
13485 ac_fn_c_check_type "$LINENO" "struct ipv6_mreq" "ac_cv_type_struct_ipv6_mreq" "
13486 #ifdef HAVE_NETINET_IN_H
13487 # include <netinet/in.h>
13491 if test "x$ac_cv_type_struct_ipv6_mreq" = xyes; then :
13493 cat >>confdefs.h <<_ACEOF
13494 #define HAVE_STRUCT_IPV6_MREQ 1
13504 if test "x${have_ipv6}" = "xyes" ; then
13506 $as_echo "#define HAVE_IPV6 1" >>confdefs.h
13510 ### Checks for header files
13513 ### Checks for types
13516 ### Checks for structures
13519 ### Checks for compiler characteristics
13521 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5
13522 $as_echo_n "checking for ANSI C header files... " >&6; }
13523 if ${ac_cv_header_stdc+:} false; then :
13524 $as_echo_n "(cached) " >&6
13526 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13527 /* end confdefs.h. */
13528 #include <stdlib.h>
13529 #include <stdarg.h>
13530 #include <string.h>
13541 if ac_fn_c_try_compile "$LINENO"; then :
13542 ac_cv_header_stdc=yes
13544 ac_cv_header_stdc=no
13546 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
13548 if test $ac_cv_header_stdc = yes; then
13549 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
13550 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13551 /* end confdefs.h. */
13552 #include <string.h>
13555 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
13556 $EGREP "memchr" >/dev/null 2>&1; then :
13559 ac_cv_header_stdc=no
13565 if test $ac_cv_header_stdc = yes; then
13566 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
13567 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13568 /* end confdefs.h. */
13569 #include <stdlib.h>
13572 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
13573 $EGREP "free" >/dev/null 2>&1; then :
13576 ac_cv_header_stdc=no
13582 if test $ac_cv_header_stdc = yes; then
13583 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
13584 if test "$cross_compiling" = yes; then :
13587 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13588 /* end confdefs.h. */
13590 #include <stdlib.h>
13591 #if ((' ' & 0x0FF) == 0x020)
13592 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
13593 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
13595 # define ISLOWER(c) \
13596 (('a' <= (c) && (c) <= 'i') \
13597 || ('j' <= (c) && (c) <= 'r') \
13598 || ('s' <= (c) && (c) <= 'z'))
13599 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
13602 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
13607 for (i = 0; i < 256; i++)
13608 if (XOR (islower (i), ISLOWER (i))
13609 || toupper (i) != TOUPPER (i))
13614 if ac_fn_c_try_run "$LINENO"; then :
13617 ac_cv_header_stdc=no
13619 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
13620 conftest.$ac_objext conftest.beam conftest.$ac_ext
13625 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdc" >&5
13626 $as_echo "$ac_cv_header_stdc" >&6; }
13627 if test $ac_cv_header_stdc = yes; then
13629 $as_echo "#define STDC_HEADERS 1" >>confdefs.h
13634 if ! test "x${VMIC}" = "x" ; then
13637 CFLAGS_save="${CFLAGS}"
13638 CFLAGS="${CFLAGS} -Wall"
13641 ac_cpp='$CPP $CPPFLAGS'
13642 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
13643 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
13644 ac_compiler_gnu=$ac_cv_c_compiler_gnu
13646 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wall" >&5
13647 $as_echo_n "checking whether the compiler supports -Wall... " >&6; }
13649 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13650 /* end confdefs.h. */
13660 if ac_fn_c_try_compile "$LINENO"; then :
13665 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
13666 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${have_flag}" >&5
13667 $as_echo "${have_flag}" >&6; }
13669 if test "x${have_flag}" = "xno" ; then
13670 CFLAGS="${CFLAGS_save}"
13673 ac_cpp='$CPP $CPPFLAGS'
13674 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
13675 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
13676 ac_compiler_gnu=$ac_cv_c_compiler_gnu
13682 CFLAGS_save="${CFLAGS}"
13683 CFLAGS="${CFLAGS} -W"
13686 ac_cpp='$CPP $CPPFLAGS'
13687 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
13688 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
13689 ac_compiler_gnu=$ac_cv_c_compiler_gnu
13691 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -W" >&5
13692 $as_echo_n "checking whether the compiler supports -W... " >&6; }
13694 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13695 /* end confdefs.h. */
13705 if ac_fn_c_try_compile "$LINENO"; then :
13710 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
13711 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${have_flag}" >&5
13712 $as_echo "${have_flag}" >&6; }
13714 if test "x${have_flag}" = "xno" ; then
13715 CFLAGS="${CFLAGS_save}"
13718 ac_cpp='$CPP $CPPFLAGS'
13719 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
13720 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
13721 ac_compiler_gnu=$ac_cv_c_compiler_gnu
13729 CFLAGS_save="${CFLAGS}"
13730 CFLAGS="${CFLAGS} -Wshadow"
13733 ac_cpp='$CPP $CPPFLAGS'
13734 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
13735 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
13736 ac_compiler_gnu=$ac_cv_c_compiler_gnu
13738 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wshadow" >&5
13739 $as_echo_n "checking whether the compiler supports -Wshadow... " >&6; }
13741 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13742 /* end confdefs.h. */
13752 if ac_fn_c_try_compile "$LINENO"; then :
13757 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
13758 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${have_flag}" >&5
13759 $as_echo "${have_flag}" >&6; }
13761 if test "x${have_flag}" = "xno" ; then
13762 CFLAGS="${CFLAGS_save}"
13765 ac_cpp='$CPP $CPPFLAGS'
13766 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
13767 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
13768 ac_compiler_gnu=$ac_cv_c_compiler_gnu
13780 # Check whether --enable-eeze-udev-test was given.
13781 if test "${enable_eeze_udev_test+set}" = set; then :
13782 enableval=$enable_eeze_udev_test;
13783 if test "x${enableval}" = "xyes" ; then
13784 have_eeze_udev_test="yes"
13786 have_eeze_udev_test="no"
13790 have_eeze_udev_test="yes"
13794 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build eeze_udev_test binary" >&5
13795 $as_echo_n "checking whether to build eeze_udev_test binary... " >&6; }
13796 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $have_eeze_udev_test" >&5
13797 $as_echo "$have_eeze_udev_test" >&6; }
13799 if test "x$have_eeze_udev_test" = "xyes"; then
13800 EEZE_UDEV_TEST_PRG=eeze_udev_test${EXEEXT}
13805 if test "x$have_eeze_udev_test" = "xyes"; then
13806 BUILD_EEZE_UDEV_TEST_TRUE=
13807 BUILD_EEZE_UDEV_TEST_FALSE='#'
13809 BUILD_EEZE_UDEV_TEST_TRUE='#'
13810 BUILD_EEZE_UDEV_TEST_FALSE=
13814 if test "x$have_eeze_udev_test" = "xyes"; then :
13823 # Check whether --enable-eeze-mount was given.
13824 if test "${enable_eeze_mount+set}" = set; then :
13825 enableval=$enable_eeze_mount;
13826 if test "x${enableval}" = "xyes" ; then
13827 have_eeze_mount="yes"
13829 have_eeze_mount="no"
13833 have_eeze_mount="yes"
13837 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build eeze_mount binary" >&5
13838 $as_echo_n "checking whether to build eeze_mount binary... " >&6; }
13839 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $have_eeze_mount" >&5
13840 $as_echo "$have_eeze_mount" >&6; }
13842 if test "x$have_eeze_mount" = "xyes"; then
13843 EEZE_MOUNT_PRG=eeze_mount${EXEEXT}
13848 if test "x$have_eeze_mount" = "xyes"; then
13849 BUILD_EEZE_MOUNT_TRUE=
13850 BUILD_EEZE_MOUNT_FALSE='#'
13852 BUILD_EEZE_MOUNT_TRUE='#'
13853 BUILD_EEZE_MOUNT_FALSE=
13857 if test "x$have_eeze_mount" = "xyes"; then :
13866 # Check whether --enable-eeze-disk-ls was given.
13867 if test "${enable_eeze_disk_ls+set}" = set; then :
13868 enableval=$enable_eeze_disk_ls;
13869 if test "x${enableval}" = "xyes" ; then
13870 have_eeze_disk_ls="yes"
13872 have_eeze_disk_ls="no"
13876 have_eeze_disk_ls="yes"
13880 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build eeze_disk_ls binary" >&5
13881 $as_echo_n "checking whether to build eeze_disk_ls binary... " >&6; }
13882 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $have_eeze_disk_ls" >&5
13883 $as_echo "$have_eeze_disk_ls" >&6; }
13885 if test "x$have_eeze_disk_ls" = "xyes"; then
13886 EEZE_DISK_LS_PRG=eeze_disk_ls${EXEEXT}
13891 if test "x$have_eeze_disk_ls" = "xyes"; then
13892 BUILD_EEZE_DISK_LS_TRUE=
13893 BUILD_EEZE_DISK_LS_FALSE='#'
13895 BUILD_EEZE_DISK_LS_TRUE='#'
13896 BUILD_EEZE_DISK_LS_FALSE=
13900 if test "x$have_eeze_disk_ls" = "xyes"; then :
13909 # Check whether --enable-eeze-umount was given.
13910 if test "${enable_eeze_umount+set}" = set; then :
13911 enableval=$enable_eeze_umount;
13912 if test "x${enableval}" = "xyes" ; then
13913 have_eeze_umount="yes"
13915 have_eeze_umount="no"
13919 have_eeze_umount="yes"
13923 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build eeze_umount binary" >&5
13924 $as_echo_n "checking whether to build eeze_umount binary... " >&6; }
13925 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $have_eeze_umount" >&5
13926 $as_echo "$have_eeze_umount" >&6; }
13928 if test "x$have_eeze_umount" = "xyes"; then
13929 EEZE_UMOUNT_PRG=eeze_umount${EXEEXT}
13934 if test "x$have_eeze_umount" = "xyes"; then
13935 BUILD_EEZE_UMOUNT_TRUE=
13936 BUILD_EEZE_UMOUNT_FALSE='#'
13938 BUILD_EEZE_UMOUNT_TRUE='#'
13939 BUILD_EEZE_UMOUNT_FALSE=
13943 if test "x$have_eeze_umount" = "xyes"; then :
13952 # Check whether --enable-eeze-scanner was given.
13953 if test "${enable_eeze_scanner+set}" = set; then :
13954 enableval=$enable_eeze_scanner;
13955 if test "x${enableval}" = "xyes" ; then
13956 have_eeze_scanner="yes"
13958 have_eeze_scanner="no"
13962 have_eeze_scanner="yes"
13966 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build eeze_scanner binary" >&5
13967 $as_echo_n "checking whether to build eeze_scanner binary... " >&6; }
13968 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $have_eeze_scanner" >&5
13969 $as_echo "$have_eeze_scanner" >&6; }
13971 if test "x$have_eeze_scanner" = "xyes"; then
13972 EEZE_SCANNER_PRG=eeze_scanner${EXEEXT}
13977 if test "x$have_eeze_scanner" = "xyes"; then
13978 BUILD_EEZE_SCANNER_TRUE=
13979 BUILD_EEZE_SCANNER_FALSE='#'
13981 BUILD_EEZE_SCANNER_TRUE='#'
13982 BUILD_EEZE_SCANNER_FALSE=
13986 if test "x$have_eeze_scanner" = "xyes"; then :
13995 ac_config_files="$ac_config_files Makefile doc/eeze.dox doc/Makefile doc/Doxyfile src/Makefile src/lib/Makefile src/bin/Makefile eeze.pc eeze.spec"
13997 cat >confcache <<\_ACEOF
13998 # This file is a shell script that caches the results of configure
13999 # tests run on this system so they can be shared between configure
14000 # scripts and configure runs, see configure's option --config-cache.
14001 # It is not useful on other systems. If it contains results you don't
14002 # want to keep, you may remove or edit it.
14004 # config.status only pays attention to the cache file if you give it
14005 # the --recheck option to rerun configure.
14007 # `ac_cv_env_foo' variables (set or unset) will be overridden when
14008 # loading this file, other *unset* `ac_cv_foo' will be assigned the
14009 # following values.
14013 # The following way of writing the cache mishandles newlines in values,
14014 # but we know of no workaround that is simple, portable, and efficient.
14015 # So, we kill variables containing newlines.
14016 # Ultrix sh set writes to stderr and can't be redirected directly,
14017 # and sets the high bit in the cache file unless we assign to the vars.
14019 for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
14020 eval ac_val=\$$ac_var
14024 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
14025 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
14028 _ | IFS | as_nl) ;; #(
14029 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
14030 *) { eval $ac_var=; unset $ac_var;} ;;
14036 case $as_nl`(ac_space=' '; set) 2>&1` in #(
14037 *${as_nl}ac_space=\ *)
14038 # `set' does not quote correctly, so add quotes: double-quote
14039 # substitution turns \\\\ into \\, and sed turns \\ into \.
14042 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
14045 # `set' quotes correctly as required by POSIX, so do not add quotes.
14046 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
14055 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
14057 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
14059 if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
14060 if test -w "$cache_file"; then
14061 if test "x$cache_file" != "x/dev/null"; then
14062 { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
14063 $as_echo "$as_me: updating cache $cache_file" >&6;}
14064 if test ! -f "$cache_file" || test -h "$cache_file"; then
14065 cat confcache >"$cache_file"
14067 case $cache_file in #(
14069 mv -f confcache "$cache_file"$$ &&
14070 mv -f "$cache_file"$$ "$cache_file" ;; #(
14072 mv -f confcache "$cache_file" ;;
14077 { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
14078 $as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
14083 test "x$prefix" = xNONE && prefix=$ac_default_prefix
14084 # Let make expand exec_prefix.
14085 test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
14087 DEFS=-DHAVE_CONFIG_H
14092 for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
14093 # 1. Remove the extension, and $U if already installed.
14094 ac_script='s/\$U\././;s/\.o$//;s/\.obj$//'
14095 ac_i=`$as_echo "$ac_i" | sed "$ac_script"`
14096 # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR
14097 # will be set to the directory where LIBOBJS objects are built.
14098 as_fn_append ac_libobjs " \${LIBOBJDIR}$ac_i\$U.$ac_objext"
14099 as_fn_append ac_ltlibobjs " \${LIBOBJDIR}$ac_i"'$U.lo'
14101 LIBOBJS=$ac_libobjs
14103 LTLIBOBJS=$ac_ltlibobjs
14106 if test -n "$EXEEXT"; then
14108 am__EXEEXT_FALSE='#'
14110 am__EXEEXT_TRUE='#'
14114 if test -z "${AMDEP_TRUE}" && test -z "${AMDEP_FALSE}"; then
14115 as_fn_error $? "conditional \"AMDEP\" was never defined.
14116 Usually this means the macro was only invoked conditionally." "$LINENO" 5
14118 if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
14119 as_fn_error $? "conditional \"am__fastdepCC\" was never defined.
14120 Usually this means the macro was only invoked conditionally." "$LINENO" 5
14122 if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
14123 as_fn_error $? "conditional \"am__fastdepCC\" was never defined.
14124 Usually this means the macro was only invoked conditionally." "$LINENO" 5
14126 if test -z "${EFL_BUILD_DOC_TRUE}" && test -z "${EFL_BUILD_DOC_FALSE}"; then
14127 as_fn_error $? "conditional \"EFL_BUILD_DOC\" was never defined.
14128 Usually this means the macro was only invoked conditionally." "$LINENO" 5
14130 if test -z "${HAVE_EEZE_MOUNT_TRUE}" && test -z "${HAVE_EEZE_MOUNT_FALSE}"; then
14131 as_fn_error $? "conditional \"HAVE_EEZE_MOUNT\" was never defined.
14132 Usually this means the macro was only invoked conditionally." "$LINENO" 5
14134 if test -z "${HAVE_EEZE_MOUNT_TRUE}" && test -z "${HAVE_EEZE_MOUNT_FALSE}"; then
14135 as_fn_error $? "conditional \"HAVE_EEZE_MOUNT\" was never defined.
14136 Usually this means the macro was only invoked conditionally." "$LINENO" 5
14138 if test -z "${OLD_LIBMOUNT_TRUE}" && test -z "${OLD_LIBMOUNT_FALSE}"; then
14139 as_fn_error $? "conditional \"OLD_LIBMOUNT\" was never defined.
14140 Usually this means the macro was only invoked conditionally." "$LINENO" 5
14142 if test -z "${NEW_LIBMOUNT_TRUE}" && test -z "${NEW_LIBMOUNT_FALSE}"; then
14143 as_fn_error $? "conditional \"NEW_LIBMOUNT\" was never defined.
14144 Usually this means the macro was only invoked conditionally." "$LINENO" 5
14146 if test -z "${OLD_LIBMOUNT_TRUE}" && test -z "${OLD_LIBMOUNT_FALSE}"; then
14147 as_fn_error $? "conditional \"OLD_LIBMOUNT\" was never defined.
14148 Usually this means the macro was only invoked conditionally." "$LINENO" 5
14150 if test -z "${NEW_LIBMOUNT_TRUE}" && test -z "${NEW_LIBMOUNT_FALSE}"; then
14151 as_fn_error $? "conditional \"NEW_LIBMOUNT\" was never defined.
14152 Usually this means the macro was only invoked conditionally." "$LINENO" 5
14154 if test -z "${OLD_LIBMOUNT_TRUE}" && test -z "${OLD_LIBMOUNT_FALSE}"; then
14155 as_fn_error $? "conditional \"OLD_LIBMOUNT\" was never defined.
14156 Usually this means the macro was only invoked conditionally." "$LINENO" 5
14158 if test -z "${NEW_LIBMOUNT_TRUE}" && test -z "${NEW_LIBMOUNT_FALSE}"; then
14159 as_fn_error $? "conditional \"NEW_LIBMOUNT\" was never defined.
14160 Usually this means the macro was only invoked conditionally." "$LINENO" 5
14162 if test -z "${BUILD_EEZE_UDEV_TEST_TRUE}" && test -z "${BUILD_EEZE_UDEV_TEST_FALSE}"; then
14163 as_fn_error $? "conditional \"BUILD_EEZE_UDEV_TEST\" was never defined.
14164 Usually this means the macro was only invoked conditionally." "$LINENO" 5
14166 if test -z "${BUILD_EEZE_MOUNT_TRUE}" && test -z "${BUILD_EEZE_MOUNT_FALSE}"; then
14167 as_fn_error $? "conditional \"BUILD_EEZE_MOUNT\" was never defined.
14168 Usually this means the macro was only invoked conditionally." "$LINENO" 5
14170 if test -z "${BUILD_EEZE_DISK_LS_TRUE}" && test -z "${BUILD_EEZE_DISK_LS_FALSE}"; then
14171 as_fn_error $? "conditional \"BUILD_EEZE_DISK_LS\" was never defined.
14172 Usually this means the macro was only invoked conditionally." "$LINENO" 5
14174 if test -z "${BUILD_EEZE_UMOUNT_TRUE}" && test -z "${BUILD_EEZE_UMOUNT_FALSE}"; then
14175 as_fn_error $? "conditional \"BUILD_EEZE_UMOUNT\" was never defined.
14176 Usually this means the macro was only invoked conditionally." "$LINENO" 5
14178 if test -z "${BUILD_EEZE_SCANNER_TRUE}" && test -z "${BUILD_EEZE_SCANNER_FALSE}"; then
14179 as_fn_error $? "conditional \"BUILD_EEZE_SCANNER\" was never defined.
14180 Usually this means the macro was only invoked conditionally." "$LINENO" 5
14183 : "${CONFIG_STATUS=./config.status}"
14185 ac_clean_files_save=$ac_clean_files
14186 ac_clean_files="$ac_clean_files $CONFIG_STATUS"
14187 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5
14188 $as_echo "$as_me: creating $CONFIG_STATUS" >&6;}
14190 cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1
14192 # Generated by $as_me.
14193 # Run this file to recreate the current configuration.
14194 # Compiler output produced by configure, useful for debugging
14195 # configure, is in config.log if it exists.
14198 ac_cs_recheck=false
14201 SHELL=\${CONFIG_SHELL-$SHELL}
14204 cat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail=1
14205 ## -------------------- ##
14206 ## M4sh Initialization. ##
14207 ## -------------------- ##
14209 # Be more Bourne compatible
14210 DUALCASE=1; export DUALCASE # for MKS sh
14211 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :
14214 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
14215 # is contrary to our usage. Disable this feature.
14216 alias -g '${1+"$@"}'='"$@"'
14217 setopt NO_GLOB_SUBST
14219 case `(set -o) 2>/dev/null` in #(
14231 # Printing a long string crashes Solaris 7 /usr/bin/printf.
14232 as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
14233 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
14234 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
14235 # Prefer a ksh shell builtin over an external printf program on Solaris,
14236 # but without wasting forks for bash or zsh.
14237 if test -z "$BASH_VERSION$ZSH_VERSION" \
14238 && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
14239 as_echo='print -r --'
14240 as_echo_n='print -rn --'
14241 elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
14242 as_echo='printf %s\n'
14243 as_echo_n='printf %s'
14245 if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
14246 as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
14247 as_echo_n='/usr/ucb/echo -n'
14249 as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
14250 as_echo_n_body='eval
14254 expr "X$arg" : "X\\(.*\\)$as_nl";
14255 arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
14257 expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
14259 export as_echo_n_body
14260 as_echo_n='sh -c $as_echo_n_body as_echo'
14262 export as_echo_body
14263 as_echo='sh -c $as_echo_body as_echo'
14266 # The user is always right.
14267 if test "${PATH_SEPARATOR+set}" != set; then
14269 (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
14270 (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
14277 # We need space, tab and new line, in precisely that order. Quoting is
14278 # there to prevent editors from complaining about space-tab.
14279 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
14280 # splitting by setting IFS to empty value.)
14283 # Find who we are. Look in the path if we contain no directory separator.
14286 *[\\/]* ) as_myself=$0 ;;
14287 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
14288 for as_dir in $PATH
14291 test -z "$as_dir" && as_dir=.
14292 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
14298 # We did not find ourselves, most probably we were run as `sh COMMAND'
14299 # in which case we are not to be found in the path.
14300 if test "x$as_myself" = x; then
14303 if test ! -f "$as_myself"; then
14304 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
14308 # Unset variables that we do not need and which cause bugs (e.g. in
14309 # pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1"
14310 # suppresses any "Segmentation fault" message there. '((' could
14311 # trigger a bug in pdksh 5.2.14.
14312 for as_var in BASH_ENV ENV MAIL MAILPATH
14313 do eval test x\${$as_var+set} = xset \
14314 && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
14327 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
14330 # as_fn_error STATUS ERROR [LINENO LOG_FD]
14331 # ----------------------------------------
14332 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
14333 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
14334 # script with STATUS, using 1 if that was 0.
14337 as_status=$1; test $as_status -eq 0 && as_status=1
14339 as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
14340 $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
14342 $as_echo "$as_me: error: $2" >&2
14343 as_fn_exit $as_status
14347 # as_fn_set_status STATUS
14348 # -----------------------
14349 # Set $? to STATUS, without forking.
14350 as_fn_set_status ()
14353 } # as_fn_set_status
14355 # as_fn_exit STATUS
14356 # -----------------
14357 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
14361 as_fn_set_status $1
14367 # Portably unset VAR.
14370 { eval $1=; unset $1;}
14372 as_unset=as_fn_unset
14373 # as_fn_append VAR VALUE
14374 # ----------------------
14375 # Append the text in VALUE to the end of the definition contained in VAR. Take
14376 # advantage of any shell optimizations that allow amortized linear growth over
14377 # repeated appends, instead of the typical quadratic growth present in naive
14379 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
14380 eval 'as_fn_append ()
14391 # as_fn_arith ARG...
14392 # ------------------
14393 # Perform arithmetic evaluation on the ARGs, and store the result in the
14394 # global $as_val. Take advantage of shells that can avoid forks. The arguments
14395 # must be portable across $(()) and expr.
14396 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
14397 eval 'as_fn_arith ()
14404 as_val=`expr "$@" || test $? -eq 1`
14409 if expr a : '\(a\)' >/dev/null 2>&1 &&
14410 test "X`expr 00001 : '.*\(...\)'`" = X001; then
14416 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
14417 as_basename=basename
14422 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
14428 as_me=`$as_basename -- "$0" ||
14429 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
14430 X"$0" : 'X\(//\)$' \| \
14431 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
14433 sed '/^.*\/\([^/][^/]*\)\/*$/{
14447 # Avoid depending upon Character Ranges.
14448 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
14449 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
14450 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
14451 as_cr_digits='0123456789'
14452 as_cr_alnum=$as_cr_Letters$as_cr_digits
14454 ECHO_C= ECHO_N= ECHO_T=
14455 case `echo -n x` in #(((((
14457 case `echo 'xy\c'` in
14458 *c*) ECHO_T=' ';; # ECHO_T is single tab character.
14460 *) echo `echo ksh88 bug on AIX 6.1` > /dev/null
14467 rm -f conf$$ conf$$.exe conf$$.file
14468 if test -d conf$$.dir; then
14469 rm -f conf$$.dir/conf$$.file
14472 mkdir conf$$.dir 2>/dev/null
14474 if (echo >conf$$.file) 2>/dev/null; then
14475 if ln -s conf$$.file conf$$ 2>/dev/null; then
14477 # ... but there are two gotchas:
14478 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
14479 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
14480 # In both cases, we have to default to `cp -p'.
14481 ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
14483 elif ln conf$$.file conf$$ 2>/dev/null; then
14491 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
14492 rmdir conf$$.dir 2>/dev/null
14497 # Create "$as_dir" as a directory, including parents if necessary.
14502 -*) as_dir=./$as_dir;;
14504 test -d "$as_dir" || eval $as_mkdir_p || {
14508 *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
14509 *) as_qdir=$as_dir;;
14511 as_dirs="'$as_qdir' $as_dirs"
14512 as_dir=`$as_dirname -- "$as_dir" ||
14513 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
14514 X"$as_dir" : 'X\(//\)[^/]' \| \
14515 X"$as_dir" : 'X\(//\)$' \| \
14516 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
14517 $as_echo X"$as_dir" |
14518 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
14522 /^X\(\/\/\)[^/].*/{
14535 test -d "$as_dir" && break
14537 test -z "$as_dirs" || eval "mkdir $as_dirs"
14538 } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir"
14542 if mkdir -p . 2>/dev/null; then
14543 as_mkdir_p='mkdir -p "$as_dir"'
14545 test -d ./-p && rmdir ./-p
14549 if test -x / >/dev/null 2>&1; then
14550 as_test_x='test -x'
14552 if ls -dL / >/dev/null 2>&1; then
14559 if test -d "$1"; then
14565 case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in #((
14566 ???[sx]*):;;*)false;;esac;fi
14570 as_executable_p=$as_test_x
14572 # Sed expression to map a string onto a valid CPP name.
14573 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
14575 # Sed expression to map a string onto a valid variable name.
14576 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
14580 ## ----------------------------------- ##
14581 ## Main body of $CONFIG_STATUS script. ##
14582 ## ----------------------------------- ##
14584 test $as_write_fail = 0 && chmod +x $CONFIG_STATUS || ac_write_fail=1
14586 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
14587 # Save the log message, to keep $0 and so on meaningful, and to
14588 # report actual input values of CONFIG_FILES etc. instead of their
14589 # values after options handling.
14591 This file was extended by eeze $as_me 1.7.3, which was
14592 generated by GNU Autoconf 2.68. Invocation command line was
14594 CONFIG_FILES = $CONFIG_FILES
14595 CONFIG_HEADERS = $CONFIG_HEADERS
14596 CONFIG_LINKS = $CONFIG_LINKS
14597 CONFIG_COMMANDS = $CONFIG_COMMANDS
14600 on `(hostname || uname -n) 2>/dev/null | sed 1q`
14605 case $ac_config_files in *"
14606 "*) set x $ac_config_files; shift; ac_config_files=$*;;
14609 case $ac_config_headers in *"
14610 "*) set x $ac_config_headers; shift; ac_config_headers=$*;;
14614 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
14615 # Files that config.status was made for.
14616 config_files="$ac_config_files"
14617 config_headers="$ac_config_headers"
14618 config_commands="$ac_config_commands"
14622 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
14624 \`$as_me' instantiates files and other configuration actions
14625 from templates according to the current configuration. Unless the files
14626 and actions are specified as TAGs, all are instantiated by default.
14628 Usage: $0 [OPTION]... [TAG]...
14630 -h, --help print this help, then exit
14631 -V, --version print version number and configuration settings, then exit
14632 --config print configuration, then exit
14633 -q, --quiet, --silent
14634 do not print progress messages
14635 -d, --debug don't remove temporary files
14636 --recheck update $as_me by reconfiguring in the same conditions
14637 --file=FILE[:TEMPLATE]
14638 instantiate the configuration file FILE
14639 --header=FILE[:TEMPLATE]
14640 instantiate the configuration header FILE
14642 Configuration files:
14645 Configuration headers:
14648 Configuration commands:
14651 Report bugs to <enlightenment-devel@lists.sourceforge.net>."
14654 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
14655 ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`"
14657 eeze config.status 1.7.3
14658 configured by $0, generated by GNU Autoconf 2.68,
14659 with options \\"\$ac_cs_config\\"
14661 Copyright (C) 2010 Free Software Foundation, Inc.
14662 This config.status script is free software; the Free Software Foundation
14663 gives unlimited permission to copy, distribute and modify it."
14670 test -n "\$AWK" || AWK=awk
14673 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
14674 # The default lists apply if the user does not specify any file.
14680 ac_option=`expr "X$1" : 'X\([^=]*\)='`
14681 ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'`
14685 ac_option=`expr "X$1" : 'X\([^=]*\)='`
14697 # Handling of the options.
14698 -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
14700 --version | --versio | --versi | --vers | --ver | --ve | --v | -V )
14701 $as_echo "$ac_cs_version"; exit ;;
14702 --config | --confi | --conf | --con | --co | --c )
14703 $as_echo "$ac_cs_config"; exit ;;
14704 --debug | --debu | --deb | --de | --d | -d )
14706 --file | --fil | --fi | --f )
14709 *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
14710 '') as_fn_error $? "missing file argument" ;;
14712 as_fn_append CONFIG_FILES " '$ac_optarg'"
14713 ac_need_defaults=false;;
14714 --header | --heade | --head | --hea )
14717 *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
14719 as_fn_append CONFIG_HEADERS " '$ac_optarg'"
14720 ac_need_defaults=false;;
14722 # Conflict between --help and --header
14723 as_fn_error $? "ambiguous option: \`$1'
14724 Try \`$0 --help' for more information.";;
14725 --help | --hel | -h )
14726 $as_echo "$ac_cs_usage"; exit ;;
14727 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
14728 | -silent | --silent | --silen | --sile | --sil | --si | --s)
14731 # This is an error.
14732 -*) as_fn_error $? "unrecognized option: \`$1'
14733 Try \`$0 --help' for more information." ;;
14735 *) as_fn_append ac_config_targets " $1"
14736 ac_need_defaults=false ;;
14742 ac_configure_extra_args=
14744 if $ac_cs_silent; then
14746 ac_configure_extra_args="$ac_configure_extra_args --silent"
14750 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
14751 if \$ac_cs_recheck; then
14752 set X '$SHELL' '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
14754 \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6
14755 CONFIG_SHELL='$SHELL'
14756 export CONFIG_SHELL
14761 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
14765 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
14766 ## Running $as_me. ##
14772 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
14776 AMDEP_TRUE="$AMDEP_TRUE" ac_aux_dir="$ac_aux_dir"
14779 # The HP-UX ksh and POSIX shell print the target directory to stdout
14780 # if CDPATH is set.
14781 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
14783 sed_quote_subst='$sed_quote_subst'
14784 double_quote_subst='$double_quote_subst'
14785 delay_variable_subst='$delay_variable_subst'
14786 macro_version='`$ECHO "$macro_version" | $SED "$delay_single_quote_subst"`'
14787 macro_revision='`$ECHO "$macro_revision" | $SED "$delay_single_quote_subst"`'
14788 enable_shared='`$ECHO "$enable_shared" | $SED "$delay_single_quote_subst"`'
14789 enable_static='`$ECHO "$enable_static" | $SED "$delay_single_quote_subst"`'
14790 pic_mode='`$ECHO "$pic_mode" | $SED "$delay_single_quote_subst"`'
14791 enable_fast_install='`$ECHO "$enable_fast_install" | $SED "$delay_single_quote_subst"`'
14792 SHELL='`$ECHO "$SHELL" | $SED "$delay_single_quote_subst"`'
14793 ECHO='`$ECHO "$ECHO" | $SED "$delay_single_quote_subst"`'
14794 PATH_SEPARATOR='`$ECHO "$PATH_SEPARATOR" | $SED "$delay_single_quote_subst"`'
14795 host_alias='`$ECHO "$host_alias" | $SED "$delay_single_quote_subst"`'
14796 host='`$ECHO "$host" | $SED "$delay_single_quote_subst"`'
14797 host_os='`$ECHO "$host_os" | $SED "$delay_single_quote_subst"`'
14798 build_alias='`$ECHO "$build_alias" | $SED "$delay_single_quote_subst"`'
14799 build='`$ECHO "$build" | $SED "$delay_single_quote_subst"`'
14800 build_os='`$ECHO "$build_os" | $SED "$delay_single_quote_subst"`'
14801 SED='`$ECHO "$SED" | $SED "$delay_single_quote_subst"`'
14802 Xsed='`$ECHO "$Xsed" | $SED "$delay_single_quote_subst"`'
14803 GREP='`$ECHO "$GREP" | $SED "$delay_single_quote_subst"`'
14804 EGREP='`$ECHO "$EGREP" | $SED "$delay_single_quote_subst"`'
14805 FGREP='`$ECHO "$FGREP" | $SED "$delay_single_quote_subst"`'
14806 LD='`$ECHO "$LD" | $SED "$delay_single_quote_subst"`'
14807 NM='`$ECHO "$NM" | $SED "$delay_single_quote_subst"`'
14808 LN_S='`$ECHO "$LN_S" | $SED "$delay_single_quote_subst"`'
14809 max_cmd_len='`$ECHO "$max_cmd_len" | $SED "$delay_single_quote_subst"`'
14810 ac_objext='`$ECHO "$ac_objext" | $SED "$delay_single_quote_subst"`'
14811 exeext='`$ECHO "$exeext" | $SED "$delay_single_quote_subst"`'
14812 lt_unset='`$ECHO "$lt_unset" | $SED "$delay_single_quote_subst"`'
14813 lt_SP2NL='`$ECHO "$lt_SP2NL" | $SED "$delay_single_quote_subst"`'
14814 lt_NL2SP='`$ECHO "$lt_NL2SP" | $SED "$delay_single_quote_subst"`'
14815 lt_cv_to_host_file_cmd='`$ECHO "$lt_cv_to_host_file_cmd" | $SED "$delay_single_quote_subst"`'
14816 lt_cv_to_tool_file_cmd='`$ECHO "$lt_cv_to_tool_file_cmd" | $SED "$delay_single_quote_subst"`'
14817 reload_flag='`$ECHO "$reload_flag" | $SED "$delay_single_quote_subst"`'
14818 reload_cmds='`$ECHO "$reload_cmds" | $SED "$delay_single_quote_subst"`'
14819 OBJDUMP='`$ECHO "$OBJDUMP" | $SED "$delay_single_quote_subst"`'
14820 deplibs_check_method='`$ECHO "$deplibs_check_method" | $SED "$delay_single_quote_subst"`'
14821 file_magic_cmd='`$ECHO "$file_magic_cmd" | $SED "$delay_single_quote_subst"`'
14822 file_magic_glob='`$ECHO "$file_magic_glob" | $SED "$delay_single_quote_subst"`'
14823 want_nocaseglob='`$ECHO "$want_nocaseglob" | $SED "$delay_single_quote_subst"`'
14824 DLLTOOL='`$ECHO "$DLLTOOL" | $SED "$delay_single_quote_subst"`'
14825 sharedlib_from_linklib_cmd='`$ECHO "$sharedlib_from_linklib_cmd" | $SED "$delay_single_quote_subst"`'
14826 AR='`$ECHO "$AR" | $SED "$delay_single_quote_subst"`'
14827 AR_FLAGS='`$ECHO "$AR_FLAGS" | $SED "$delay_single_quote_subst"`'
14828 archiver_list_spec='`$ECHO "$archiver_list_spec" | $SED "$delay_single_quote_subst"`'
14829 STRIP='`$ECHO "$STRIP" | $SED "$delay_single_quote_subst"`'
14830 RANLIB='`$ECHO "$RANLIB" | $SED "$delay_single_quote_subst"`'
14831 old_postinstall_cmds='`$ECHO "$old_postinstall_cmds" | $SED "$delay_single_quote_subst"`'
14832 old_postuninstall_cmds='`$ECHO "$old_postuninstall_cmds" | $SED "$delay_single_quote_subst"`'
14833 old_archive_cmds='`$ECHO "$old_archive_cmds" | $SED "$delay_single_quote_subst"`'
14834 lock_old_archive_extraction='`$ECHO "$lock_old_archive_extraction" | $SED "$delay_single_quote_subst"`'
14835 CC='`$ECHO "$CC" | $SED "$delay_single_quote_subst"`'
14836 CFLAGS='`$ECHO "$CFLAGS" | $SED "$delay_single_quote_subst"`'
14837 compiler='`$ECHO "$compiler" | $SED "$delay_single_quote_subst"`'
14838 GCC='`$ECHO "$GCC" | $SED "$delay_single_quote_subst"`'
14839 lt_cv_sys_global_symbol_pipe='`$ECHO "$lt_cv_sys_global_symbol_pipe" | $SED "$delay_single_quote_subst"`'
14840 lt_cv_sys_global_symbol_to_cdecl='`$ECHO "$lt_cv_sys_global_symbol_to_cdecl" | $SED "$delay_single_quote_subst"`'
14841 lt_cv_sys_global_symbol_to_c_name_address='`$ECHO "$lt_cv_sys_global_symbol_to_c_name_address" | $SED "$delay_single_quote_subst"`'
14842 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"`'
14843 nm_file_list_spec='`$ECHO "$nm_file_list_spec" | $SED "$delay_single_quote_subst"`'
14844 lt_sysroot='`$ECHO "$lt_sysroot" | $SED "$delay_single_quote_subst"`'
14845 objdir='`$ECHO "$objdir" | $SED "$delay_single_quote_subst"`'
14846 MAGIC_CMD='`$ECHO "$MAGIC_CMD" | $SED "$delay_single_quote_subst"`'
14847 lt_prog_compiler_no_builtin_flag='`$ECHO "$lt_prog_compiler_no_builtin_flag" | $SED "$delay_single_quote_subst"`'
14848 lt_prog_compiler_pic='`$ECHO "$lt_prog_compiler_pic" | $SED "$delay_single_quote_subst"`'
14849 lt_prog_compiler_wl='`$ECHO "$lt_prog_compiler_wl" | $SED "$delay_single_quote_subst"`'
14850 lt_prog_compiler_static='`$ECHO "$lt_prog_compiler_static" | $SED "$delay_single_quote_subst"`'
14851 lt_cv_prog_compiler_c_o='`$ECHO "$lt_cv_prog_compiler_c_o" | $SED "$delay_single_quote_subst"`'
14852 need_locks='`$ECHO "$need_locks" | $SED "$delay_single_quote_subst"`'
14853 MANIFEST_TOOL='`$ECHO "$MANIFEST_TOOL" | $SED "$delay_single_quote_subst"`'
14854 DSYMUTIL='`$ECHO "$DSYMUTIL" | $SED "$delay_single_quote_subst"`'
14855 NMEDIT='`$ECHO "$NMEDIT" | $SED "$delay_single_quote_subst"`'
14856 LIPO='`$ECHO "$LIPO" | $SED "$delay_single_quote_subst"`'
14857 OTOOL='`$ECHO "$OTOOL" | $SED "$delay_single_quote_subst"`'
14858 OTOOL64='`$ECHO "$OTOOL64" | $SED "$delay_single_quote_subst"`'
14859 libext='`$ECHO "$libext" | $SED "$delay_single_quote_subst"`'
14860 shrext_cmds='`$ECHO "$shrext_cmds" | $SED "$delay_single_quote_subst"`'
14861 extract_expsyms_cmds='`$ECHO "$extract_expsyms_cmds" | $SED "$delay_single_quote_subst"`'
14862 archive_cmds_need_lc='`$ECHO "$archive_cmds_need_lc" | $SED "$delay_single_quote_subst"`'
14863 enable_shared_with_static_runtimes='`$ECHO "$enable_shared_with_static_runtimes" | $SED "$delay_single_quote_subst"`'
14864 export_dynamic_flag_spec='`$ECHO "$export_dynamic_flag_spec" | $SED "$delay_single_quote_subst"`'
14865 whole_archive_flag_spec='`$ECHO "$whole_archive_flag_spec" | $SED "$delay_single_quote_subst"`'
14866 compiler_needs_object='`$ECHO "$compiler_needs_object" | $SED "$delay_single_quote_subst"`'
14867 old_archive_from_new_cmds='`$ECHO "$old_archive_from_new_cmds" | $SED "$delay_single_quote_subst"`'
14868 old_archive_from_expsyms_cmds='`$ECHO "$old_archive_from_expsyms_cmds" | $SED "$delay_single_quote_subst"`'
14869 archive_cmds='`$ECHO "$archive_cmds" | $SED "$delay_single_quote_subst"`'
14870 archive_expsym_cmds='`$ECHO "$archive_expsym_cmds" | $SED "$delay_single_quote_subst"`'
14871 module_cmds='`$ECHO "$module_cmds" | $SED "$delay_single_quote_subst"`'
14872 module_expsym_cmds='`$ECHO "$module_expsym_cmds" | $SED "$delay_single_quote_subst"`'
14873 with_gnu_ld='`$ECHO "$with_gnu_ld" | $SED "$delay_single_quote_subst"`'
14874 allow_undefined_flag='`$ECHO "$allow_undefined_flag" | $SED "$delay_single_quote_subst"`'
14875 no_undefined_flag='`$ECHO "$no_undefined_flag" | $SED "$delay_single_quote_subst"`'
14876 hardcode_libdir_flag_spec='`$ECHO "$hardcode_libdir_flag_spec" | $SED "$delay_single_quote_subst"`'
14877 hardcode_libdir_separator='`$ECHO "$hardcode_libdir_separator" | $SED "$delay_single_quote_subst"`'
14878 hardcode_direct='`$ECHO "$hardcode_direct" | $SED "$delay_single_quote_subst"`'
14879 hardcode_direct_absolute='`$ECHO "$hardcode_direct_absolute" | $SED "$delay_single_quote_subst"`'
14880 hardcode_minus_L='`$ECHO "$hardcode_minus_L" | $SED "$delay_single_quote_subst"`'
14881 hardcode_shlibpath_var='`$ECHO "$hardcode_shlibpath_var" | $SED "$delay_single_quote_subst"`'
14882 hardcode_automatic='`$ECHO "$hardcode_automatic" | $SED "$delay_single_quote_subst"`'
14883 inherit_rpath='`$ECHO "$inherit_rpath" | $SED "$delay_single_quote_subst"`'
14884 link_all_deplibs='`$ECHO "$link_all_deplibs" | $SED "$delay_single_quote_subst"`'
14885 always_export_symbols='`$ECHO "$always_export_symbols" | $SED "$delay_single_quote_subst"`'
14886 export_symbols_cmds='`$ECHO "$export_symbols_cmds" | $SED "$delay_single_quote_subst"`'
14887 exclude_expsyms='`$ECHO "$exclude_expsyms" | $SED "$delay_single_quote_subst"`'
14888 include_expsyms='`$ECHO "$include_expsyms" | $SED "$delay_single_quote_subst"`'
14889 prelink_cmds='`$ECHO "$prelink_cmds" | $SED "$delay_single_quote_subst"`'
14890 postlink_cmds='`$ECHO "$postlink_cmds" | $SED "$delay_single_quote_subst"`'
14891 file_list_spec='`$ECHO "$file_list_spec" | $SED "$delay_single_quote_subst"`'
14892 variables_saved_for_relink='`$ECHO "$variables_saved_for_relink" | $SED "$delay_single_quote_subst"`'
14893 need_lib_prefix='`$ECHO "$need_lib_prefix" | $SED "$delay_single_quote_subst"`'
14894 need_version='`$ECHO "$need_version" | $SED "$delay_single_quote_subst"`'
14895 version_type='`$ECHO "$version_type" | $SED "$delay_single_quote_subst"`'
14896 runpath_var='`$ECHO "$runpath_var" | $SED "$delay_single_quote_subst"`'
14897 shlibpath_var='`$ECHO "$shlibpath_var" | $SED "$delay_single_quote_subst"`'
14898 shlibpath_overrides_runpath='`$ECHO "$shlibpath_overrides_runpath" | $SED "$delay_single_quote_subst"`'
14899 libname_spec='`$ECHO "$libname_spec" | $SED "$delay_single_quote_subst"`'
14900 library_names_spec='`$ECHO "$library_names_spec" | $SED "$delay_single_quote_subst"`'
14901 soname_spec='`$ECHO "$soname_spec" | $SED "$delay_single_quote_subst"`'
14902 install_override_mode='`$ECHO "$install_override_mode" | $SED "$delay_single_quote_subst"`'
14903 postinstall_cmds='`$ECHO "$postinstall_cmds" | $SED "$delay_single_quote_subst"`'
14904 postuninstall_cmds='`$ECHO "$postuninstall_cmds" | $SED "$delay_single_quote_subst"`'
14905 finish_cmds='`$ECHO "$finish_cmds" | $SED "$delay_single_quote_subst"`'
14906 finish_eval='`$ECHO "$finish_eval" | $SED "$delay_single_quote_subst"`'
14907 hardcode_into_libs='`$ECHO "$hardcode_into_libs" | $SED "$delay_single_quote_subst"`'
14908 sys_lib_search_path_spec='`$ECHO "$sys_lib_search_path_spec" | $SED "$delay_single_quote_subst"`'
14909 sys_lib_dlsearch_path_spec='`$ECHO "$sys_lib_dlsearch_path_spec" | $SED "$delay_single_quote_subst"`'
14910 hardcode_action='`$ECHO "$hardcode_action" | $SED "$delay_single_quote_subst"`'
14911 enable_dlopen='`$ECHO "$enable_dlopen" | $SED "$delay_single_quote_subst"`'
14912 enable_dlopen_self='`$ECHO "$enable_dlopen_self" | $SED "$delay_single_quote_subst"`'
14913 enable_dlopen_self_static='`$ECHO "$enable_dlopen_self_static" | $SED "$delay_single_quote_subst"`'
14914 old_striplib='`$ECHO "$old_striplib" | $SED "$delay_single_quote_subst"`'
14915 striplib='`$ECHO "$striplib" | $SED "$delay_single_quote_subst"`'
14918 LTCFLAGS='$LTCFLAGS'
14919 compiler='$compiler_DEFAULT'
14921 # A function that is used when there is no print builtin or printf.
14922 func_fallback_echo ()
14924 eval 'cat <<_LTECHO_EOF
14929 # Quote evaled strings.
14944 deplibs_check_method \
14949 sharedlib_from_linklib_cmd \
14952 archiver_list_spec \
14958 lt_cv_sys_global_symbol_pipe \
14959 lt_cv_sys_global_symbol_to_cdecl \
14960 lt_cv_sys_global_symbol_to_c_name_address \
14961 lt_cv_sys_global_symbol_to_c_name_address_lib_prefix \
14962 nm_file_list_spec \
14963 lt_prog_compiler_no_builtin_flag \
14964 lt_prog_compiler_pic \
14965 lt_prog_compiler_wl \
14966 lt_prog_compiler_static \
14967 lt_cv_prog_compiler_c_o \
14976 export_dynamic_flag_spec \
14977 whole_archive_flag_spec \
14978 compiler_needs_object \
14980 allow_undefined_flag \
14981 no_undefined_flag \
14982 hardcode_libdir_flag_spec \
14983 hardcode_libdir_separator \
14987 variables_saved_for_relink \
14989 library_names_spec \
14991 install_override_mode \
14995 case \`eval \\\\\$ECHO \\\\""\\\\\$\$var"\\\\"\` in
14996 *[\\\\\\\`\\"\\\$]*)
14997 eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"\\\$\$var\\" | \\\$SED \\"\\\$sed_quote_subst\\"\\\`\\\\\\""
15000 eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
15005 # Double-quote double-evaled strings.
15006 for var in reload_cmds \
15007 old_postinstall_cmds \
15008 old_postuninstall_cmds \
15010 extract_expsyms_cmds \
15011 old_archive_from_new_cmds \
15012 old_archive_from_expsyms_cmds \
15014 archive_expsym_cmds \
15016 module_expsym_cmds \
15017 export_symbols_cmds \
15021 postuninstall_cmds \
15023 sys_lib_search_path_spec \
15024 sys_lib_dlsearch_path_spec; do
15025 case \`eval \\\\\$ECHO \\\\""\\\\\$\$var"\\\\"\` in
15026 *[\\\\\\\`\\"\\\$]*)
15027 eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"\\\$\$var\\" | \\\$SED -e \\"\\\$double_quote_subst\\" -e \\"\\\$sed_quote_subst\\" -e \\"\\\$delay_variable_subst\\"\\\`\\\\\\""
15030 eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
15035 ac_aux_dir='$ac_aux_dir'
15036 xsi_shell='$xsi_shell'
15037 lt_shell_append='$lt_shell_append'
15039 # See if we are running on zsh, and set the options which allow our
15040 # commands through without removal of \ escapes INIT.
15041 if test -n "\${ZSH_VERSION+set}" ; then
15042 setopt NO_GLOB_SUBST
15048 TIMESTAMP='$TIMESTAMP'
15057 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
15059 # Handling of arguments.
15060 for ac_config_target in $ac_config_targets
15062 case $ac_config_target in
15063 "config.h") CONFIG_HEADERS="$CONFIG_HEADERS config.h" ;;
15064 "depfiles") CONFIG_COMMANDS="$CONFIG_COMMANDS depfiles" ;;
15065 "libtool") CONFIG_COMMANDS="$CONFIG_COMMANDS libtool" ;;
15066 "Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;;
15067 "doc/eeze.dox") CONFIG_FILES="$CONFIG_FILES doc/eeze.dox" ;;
15068 "doc/Makefile") CONFIG_FILES="$CONFIG_FILES doc/Makefile" ;;
15069 "doc/Doxyfile") CONFIG_FILES="$CONFIG_FILES doc/Doxyfile" ;;
15070 "src/Makefile") CONFIG_FILES="$CONFIG_FILES src/Makefile" ;;
15071 "src/lib/Makefile") CONFIG_FILES="$CONFIG_FILES src/lib/Makefile" ;;
15072 "src/bin/Makefile") CONFIG_FILES="$CONFIG_FILES src/bin/Makefile" ;;
15073 "eeze.pc") CONFIG_FILES="$CONFIG_FILES eeze.pc" ;;
15074 "eeze.spec") CONFIG_FILES="$CONFIG_FILES eeze.spec" ;;
15076 *) as_fn_error $? "invalid argument: \`$ac_config_target'" "$LINENO" 5;;
15081 # If the user did not use the arguments to specify the items to instantiate,
15082 # then the envvar interface is used. Set only those that are not.
15083 # We use the long form for the default assignment because of an extremely
15084 # bizarre bug on SunOS 4.1.3.
15085 if $ac_need_defaults; then
15086 test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
15087 test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS=$config_headers
15088 test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS=$config_commands
15091 # Have a temporary directory for convenience. Make it in the build tree
15092 # simply because there is no reason against having it here, and in addition,
15093 # creating and moving files from /tmp can sometimes cause problems.
15094 # Hook for its removal unless debugging.
15095 # Note that there is a small window in which the directory will not be cleaned:
15096 # after its creation but before its name has been assigned to `$tmp'.
15100 trap 'exit_status=$?
15101 : "${ac_tmp:=$tmp}"
15102 { test ! -d "$ac_tmp" || rm -fr "$ac_tmp"; } && exit $exit_status
15104 trap 'as_fn_exit 1' 1 2 13 15
15106 # Create a (secure) tmp directory for tmp files.
15109 tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
15113 tmp=./conf$$-$RANDOM
15114 (umask 077 && mkdir "$tmp")
15115 } || as_fn_error $? "cannot create a temporary directory in ." "$LINENO" 5
15118 # Set up the scripts for CONFIG_FILES section.
15119 # No need to generate them if there are no CONFIG_FILES.
15120 # This happens for instance with `./config.status config.h'.
15121 if test -n "$CONFIG_FILES"; then
15124 ac_cr=`echo X | tr X '\015'`
15125 # On cygwin, bash can eat \r inside `` if the user requested igncr.
15126 # But we know of no other shell where ac_cr would be empty at this
15127 # point, so we can use a bashism as a fallback.
15128 if test "x$ac_cr" = x; then
15129 eval ac_cr=\$\'\\r\'
15131 ac_cs_awk_cr=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
15132 if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
15135 ac_cs_awk_cr=$ac_cr
15138 echo 'BEGIN {' >"$ac_tmp/subs1.awk" &&
15143 echo "cat >conf$$subs.awk <<_ACEOF" &&
15144 echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
15146 } >conf$$subs.sh ||
15147 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
15148 ac_delim_num=`echo "$ac_subst_vars" | grep -c '^'`
15150 for ac_last_try in false false false false false :; do
15151 . ./conf$$subs.sh ||
15152 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
15154 ac_delim_n=`sed -n "s/.*$ac_delim\$/X/p" conf$$subs.awk | grep -c X`
15155 if test $ac_delim_n = $ac_delim_num; then
15157 elif $ac_last_try; then
15158 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
15160 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
15163 rm -f conf$$subs.sh
15165 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
15166 cat >>"\$ac_tmp/subs1.awk" <<\\_ACAWK &&
15170 s/^/S["/; s/!.*/"]=/
15180 s/\(.\{148\}\)..*/\1/
15182 s/["\\]/\\&/g; s/^/"/; s/$/\\n"\\/
15187 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
15194 s/\(.\{148\}\)..*/\1/
15196 s/["\\]/\\&/g; s/^/"/; s/$/"/
15200 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
15205 ' <conf$$subs.awk | sed '
15210 ' >>$CONFIG_STATUS || ac_write_fail=1
15211 rm -f conf$$subs.awk
15212 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
15214 cat >>"\$ac_tmp/subs1.awk" <<_ACAWK &&
15215 for (key in S) S_is_set[key] = 1
15221 nfields = split(line, field, "@")
15223 len = length(field[1])
15224 for (i = 2; i < nfields; i++) {
15226 keylen = length(key)
15227 if (S_is_set[key]) {
15229 line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3)
15230 len += length(value) + length(field[++i])
15241 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
15242 if sed "s/$ac_cr//" < /dev/null > /dev/null 2>&1; then
15243 sed "s/$ac_cr\$//; s/$ac_cr/$ac_cs_awk_cr/g"
15246 fi < "$ac_tmp/subs1.awk" > "$ac_tmp/subs.awk" \
15247 || as_fn_error $? "could not setup config files machinery" "$LINENO" 5
15250 # VPATH may cause trouble with some makes, so we remove sole $(srcdir),
15251 # ${srcdir} and @srcdir@ entries from VPATH if srcdir is ".", strip leading and
15252 # trailing colons and then remove the whole line if VPATH becomes empty
15253 # (actually we leave an empty line to preserve line numbers).
15254 if test "x$srcdir" = x.; then
15255 ac_vpsub='/^[ ]*VPATH[ ]*=[ ]*/{
15273 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
15274 fi # test -n "$CONFIG_FILES"
15276 # Set up the scripts for CONFIG_HEADERS section.
15277 # No need to generate them if there are no CONFIG_HEADERS.
15278 # This happens for instance with `./config.status Makefile'.
15279 if test -n "$CONFIG_HEADERS"; then
15280 cat >"$ac_tmp/defines.awk" <<\_ACAWK ||
15284 # Transform confdefs.h into an awk script `defines.awk', embedded as
15285 # here-document in config.status, that substitutes the proper values into
15286 # config.h.in to produce config.h.
15288 # Create a delimiter string that does not exist in confdefs.h, to ease
15289 # handling of long lines.
15291 for ac_last_try in false false :; do
15292 ac_tt=`sed -n "/$ac_delim/p" confdefs.h`
15293 if test -z "$ac_tt"; then
15295 elif $ac_last_try; then
15296 as_fn_error $? "could not make $CONFIG_HEADERS" "$LINENO" 5
15298 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
15302 # For the awk script, D is an array of macro values keyed by name,
15303 # likewise P contains macro parameters if any. Preserve backslash
15304 # newline sequences.
15306 ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]*
15308 s/.\{148\}/&'"$ac_delim"'/g
15311 s/^[ ]*#[ ]*define[ ][ ]*/ /
15318 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\1"]="\2"\
15320 s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\1"]=" \2"/p
15324 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\1"]="\2"\
15325 D["\1"]=" \3\\\\\\n"\\/p
15327 s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\1"]=" \2\\\\\\n"\\/p
15332 s/.\{148\}/&'"$ac_delim"'/g
15337 s/["\\]/\\&/g; s/^/"/; s/$/"/p
15340 s/["\\]/\\&/g; s/^/"/; s/$/\\\\\\n"\\/p
15342 ' <confdefs.h | sed '
15343 s/'"$ac_delim"'/"\\\
15344 "/g' >>$CONFIG_STATUS || ac_write_fail=1
15346 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
15347 for (key in D) D_is_set[key] = 1
15350 /^[\t ]*#[\t ]*(define|undef)[\t ]+$ac_word_re([\t (]|\$)/ {
15352 split(line, arg, " ")
15353 if (arg[1] == "#") {
15357 defundef = substr(arg[1], 2)
15360 split(mac1, mac2, "(") #)
15362 prefix = substr(line, 1, index(line, defundef) - 1)
15363 if (D_is_set[macro]) {
15364 # Preserve the white space surrounding the "#".
15365 print prefix "define", macro P[macro] D[macro]
15368 # Replace #undef with comments. This is necessary, for example,
15369 # in the case of _POSIX_SOURCE, which is predefined and required
15370 # on some systems where configure will not decide to define it.
15371 if (defundef == "undef") {
15372 print "/*", prefix defundef, macro, "*/"
15380 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
15381 as_fn_error $? "could not setup config headers machinery" "$LINENO" 5
15382 fi # test -n "$CONFIG_HEADERS"
15385 eval set X " :F $CONFIG_FILES :H $CONFIG_HEADERS :C $CONFIG_COMMANDS"
15390 :[FHLC]) ac_mode=$ac_tag; continue;;
15392 case $ac_mode$ac_tag in
15394 :L* | :C*:*) as_fn_error $? "invalid tag \`$ac_tag'" "$LINENO" 5;;
15395 :[FH]-) ac_tag=-:-;;
15396 :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
15413 -) ac_f="$ac_tmp/stdin";;
15414 *) # Look for the file first in the build tree, then in the source tree
15415 # (if the path is not absolute). The absolute path cannot be DOS-style,
15416 # because $ac_f cannot contain `:'.
15420 *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
15422 as_fn_error 1 "cannot find input file: \`$ac_f'" "$LINENO" 5;;
15424 case $ac_f in *\'*) ac_f=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
15425 as_fn_append ac_file_inputs " '$ac_f'"
15428 # Let's still pretend it is `configure' which instantiates (i.e., don't
15429 # use $as_me), people would be surprised to read:
15430 # /* config.h. Generated by config.status. */
15431 configure_input='Generated from '`
15432 $as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
15434 if test x"$ac_file" != x-; then
15435 configure_input="$ac_file. $configure_input"
15436 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5
15437 $as_echo "$as_me: creating $ac_file" >&6;}
15439 # Neutralize special characters interpreted by sed in replacement strings.
15440 case $configure_input in #(
15441 *\&* | *\|* | *\\* )
15442 ac_sed_conf_input=`$as_echo "$configure_input" |
15443 sed 's/[\\\\&|]/\\\\&/g'`;; #(
15444 *) ac_sed_conf_input=$configure_input;;
15448 *:-:* | *:-) cat >"$ac_tmp/stdin" \
15449 || as_fn_error $? "could not create $ac_file" "$LINENO" 5 ;;
15454 ac_dir=`$as_dirname -- "$ac_file" ||
15455 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
15456 X"$ac_file" : 'X\(//\)[^/]' \| \
15457 X"$ac_file" : 'X\(//\)$' \| \
15458 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
15459 $as_echo X"$ac_file" |
15460 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
15464 /^X\(\/\/\)[^/].*/{
15477 as_dir="$ac_dir"; as_fn_mkdir_p
15481 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
15483 ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
15484 # A ".." for each directory in $ac_dir_suffix.
15485 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
15486 case $ac_top_builddir_sub in
15487 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
15488 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
15491 ac_abs_top_builddir=$ac_pwd
15492 ac_abs_builddir=$ac_pwd$ac_dir_suffix
15493 # for backward compatibility:
15494 ac_top_builddir=$ac_top_build_prefix
15497 .) # We are building in place.
15499 ac_top_srcdir=$ac_top_builddir_sub
15500 ac_abs_top_srcdir=$ac_pwd ;;
15501 [\\/]* | ?:[\\/]* ) # Absolute name.
15502 ac_srcdir=$srcdir$ac_dir_suffix;
15503 ac_top_srcdir=$srcdir
15504 ac_abs_top_srcdir=$srcdir ;;
15505 *) # Relative name.
15506 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
15507 ac_top_srcdir=$ac_top_build_prefix$srcdir
15508 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
15510 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
15520 [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
15521 *) ac_INSTALL=$ac_top_build_prefix$INSTALL ;;
15523 ac_MKDIR_P=$MKDIR_P
15525 [\\/$]* | ?:[\\/]* ) ;;
15526 */*) ac_MKDIR_P=$ac_top_build_prefix$MKDIR_P ;;
15530 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
15531 # If the template does not know about datarootdir, expand it.
15532 # FIXME: This hack should be removed a few years after 2.60.
15533 ac_datarootdir_hack=; ac_datarootdir_seen=
15544 case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in
15545 *datarootdir*) ac_datarootdir_seen=yes;;
15546 *@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*)
15547 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
15548 $as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
15550 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
15551 ac_datarootdir_hack='
15552 s&@datadir@&$datadir&g
15553 s&@docdir@&$docdir&g
15554 s&@infodir@&$infodir&g
15555 s&@localedir@&$localedir&g
15556 s&@mandir@&$mandir&g
15557 s&\\\${datarootdir}&$datarootdir&g' ;;
15561 # Neutralize VPATH when `$srcdir' = `.'.
15562 # Shell code in configure.ac might set extrasub.
15563 # FIXME: do we really want to maintain this feature?
15564 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
15565 ac_sed_extra="$ac_vpsub
15568 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
15570 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
15571 s|@configure_input@|$ac_sed_conf_input|;t t
15572 s&@top_builddir@&$ac_top_builddir_sub&;t t
15573 s&@top_build_prefix@&$ac_top_build_prefix&;t t
15574 s&@srcdir@&$ac_srcdir&;t t
15575 s&@abs_srcdir@&$ac_abs_srcdir&;t t
15576 s&@top_srcdir@&$ac_top_srcdir&;t t
15577 s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t
15578 s&@builddir@&$ac_builddir&;t t
15579 s&@abs_builddir@&$ac_abs_builddir&;t t
15580 s&@abs_top_builddir@&$ac_abs_top_builddir&;t t
15581 s&@INSTALL@&$ac_INSTALL&;t t
15582 s&@MKDIR_P@&$ac_MKDIR_P&;t t
15583 $ac_datarootdir_hack
15585 eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$ac_tmp/subs.awk" \
15586 >$ac_tmp/out || as_fn_error $? "could not create $ac_file" "$LINENO" 5
15588 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
15589 { ac_out=`sed -n '/\${datarootdir}/p' "$ac_tmp/out"`; test -n "$ac_out"; } &&
15590 { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' \
15591 "$ac_tmp/out"`; test -z "$ac_out"; } &&
15592 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file contains a reference to the variable \`datarootdir'
15593 which seems to be undefined. Please make sure it is defined" >&5
15594 $as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir'
15595 which seems to be undefined. Please make sure it is defined" >&2;}
15597 rm -f "$ac_tmp/stdin"
15599 -) cat "$ac_tmp/out" && rm -f "$ac_tmp/out";;
15600 *) rm -f "$ac_file" && mv "$ac_tmp/out" "$ac_file";;
15602 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
15608 if test x"$ac_file" != x-; then
15610 $as_echo "/* $configure_input */" \
15611 && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs"
15612 } >"$ac_tmp/config.h" \
15613 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
15614 if diff "$ac_file" "$ac_tmp/config.h" >/dev/null 2>&1; then
15615 { $as_echo "$as_me:${as_lineno-$LINENO}: $ac_file is unchanged" >&5
15616 $as_echo "$as_me: $ac_file is unchanged" >&6;}
15619 mv "$ac_tmp/config.h" "$ac_file" \
15620 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
15623 $as_echo "/* $configure_input */" \
15624 && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs" \
15625 || as_fn_error $? "could not create -" "$LINENO" 5
15627 # Compute "$ac_file"'s index in $config_headers.
15630 for _am_header in $config_headers :; do
15631 case $_am_header in
15632 $_am_arg | $_am_arg:* )
15635 _am_stamp_count=`expr $_am_stamp_count + 1` ;;
15638 echo "timestamp for $_am_arg" >`$as_dirname -- "$_am_arg" ||
15639 $as_expr X"$_am_arg" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
15640 X"$_am_arg" : 'X\(//\)[^/]' \| \
15641 X"$_am_arg" : 'X\(//\)$' \| \
15642 X"$_am_arg" : 'X\(/\)' \| . 2>/dev/null ||
15643 $as_echo X"$_am_arg" |
15644 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
15648 /^X\(\/\/\)[^/].*/{
15660 s/.*/./; q'`/stamp-h$_am_stamp_count
15663 :C) { $as_echo "$as_me:${as_lineno-$LINENO}: executing $ac_file commands" >&5
15664 $as_echo "$as_me: executing $ac_file commands" >&6;}
15669 case $ac_file$ac_mode in
15670 "depfiles":C) test x"$AMDEP_TRUE" != x"" || {
15671 # Autoconf 2.62 quotes --file arguments for eval, but not when files
15672 # are listed without --file. Let's play safe and only enable the eval
15673 # if we detect the quoting.
15674 case $CONFIG_FILES in
15675 *\'*) eval set x "$CONFIG_FILES" ;;
15676 *) set x $CONFIG_FILES ;;
15681 # Strip MF so we end up with the name of the file.
15682 mf=`echo "$mf" | sed -e 's/:.*$//'`
15683 # Check whether this is an Automake generated Makefile or not.
15684 # We used to match only the files named `Makefile.in', but
15685 # some people rename them; so instead we look at the file content.
15686 # Grep'ing the first line is not enough: some people post-process
15687 # each Makefile.in and add a new line on top of each file to say so.
15688 # Grep'ing the whole file is not good either: AIX grep has a line
15689 # limit of 2048, but all sed's we know have understand at least 4000.
15690 if sed -n 's,^#.*generated by automake.*,X,p' "$mf" | grep X >/dev/null 2>&1; then
15691 dirpart=`$as_dirname -- "$mf" ||
15692 $as_expr X"$mf" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
15693 X"$mf" : 'X\(//\)[^/]' \| \
15694 X"$mf" : 'X\(//\)$' \| \
15695 X"$mf" : 'X\(/\)' \| . 2>/dev/null ||
15697 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
15701 /^X\(\/\/\)[^/].*/{
15717 # Extract the definition of DEPDIR, am__include, and am__quote
15718 # from the Makefile without running `make'.
15719 DEPDIR=`sed -n 's/^DEPDIR = //p' < "$mf"`
15720 test -z "$DEPDIR" && continue
15721 am__include=`sed -n 's/^am__include = //p' < "$mf"`
15722 test -z "am__include" && continue
15723 am__quote=`sed -n 's/^am__quote = //p' < "$mf"`
15724 # When using ansi2knr, U may be empty or an underscore; expand it
15725 U=`sed -n 's/^U = //p' < "$mf"`
15726 # Find all dependency output files, they are included files with
15727 # $(DEPDIR) in their names. We invoke sed twice because it is the
15728 # simplest approach to changing $(DEPDIR) to its actual value in the
15730 for file in `sed -n "
15731 s/^$am__include $am__quote\(.*(DEPDIR).*\)$am__quote"'$/\1/p' <"$mf" | \
15732 sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g' -e 's/\$U/'"$U"'/g'`; do
15733 # Make sure the directory exists.
15734 test -f "$dirpart/$file" && continue
15735 fdir=`$as_dirname -- "$file" ||
15736 $as_expr X"$file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
15737 X"$file" : 'X\(//\)[^/]' \| \
15738 X"$file" : 'X\(//\)$' \| \
15739 X"$file" : 'X\(/\)' \| . 2>/dev/null ||
15740 $as_echo X"$file" |
15741 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
15745 /^X\(\/\/\)[^/].*/{
15758 as_dir=$dirpart/$fdir; as_fn_mkdir_p
15759 # echo "creating $dirpart/$file"
15760 echo '# dummy' > "$dirpart/$file"
15767 # See if we are running on zsh, and set the options which allow our
15768 # commands through without removal of \ escapes.
15769 if test -n "${ZSH_VERSION+set}" ; then
15770 setopt NO_GLOB_SUBST
15773 cfgfile="${ofile}T"
15774 trap "$RM \"$cfgfile\"; exit 1" 1 2 15
15777 cat <<_LT_EOF >> "$cfgfile"
15780 # `$ECHO "$ofile" | sed 's%^.*/%%'` - Provide generalized library-building support services.
15781 # Generated automatically by $as_me ($PACKAGE$TIMESTAMP) $VERSION
15782 # Libtool was configured on host `(hostname || uname -n) 2>/dev/null | sed 1q`:
15783 # NOTE: Changes made to this file will be lost: look at ltmain.sh.
15785 # Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2003, 2004, 2005,
15786 # 2006, 2007, 2008, 2009, 2010, 2011 Free Software
15788 # Written by Gordon Matzigkeit, 1996
15790 # This file is part of GNU Libtool.
15792 # GNU Libtool is free software; you can redistribute it and/or
15793 # modify it under the terms of the GNU General Public License as
15794 # published by the Free Software Foundation; either version 2 of
15795 # the License, or (at your option) any later version.
15797 # As a special exception to the GNU General Public License,
15798 # if you distribute this file as part of a program or library that
15799 # is built using GNU Libtool, you may include this file under the
15800 # same distribution terms that you use for the rest of that program.
15802 # GNU Libtool is distributed in the hope that it will be useful,
15803 # but WITHOUT ANY WARRANTY; without even the implied warranty of
15804 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
15805 # GNU General Public License for more details.
15807 # You should have received a copy of the GNU General Public License
15808 # along with GNU Libtool; see the file COPYING. If not, a copy
15809 # can be downloaded from http://www.gnu.org/licenses/gpl.html, or
15810 # obtained by writing to the Free Software Foundation, Inc.,
15811 # 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
15814 # The names of the tagged configurations supported by this script.
15817 # ### BEGIN LIBTOOL CONFIG
15819 # Which release of libtool.m4 was used?
15820 macro_version=$macro_version
15821 macro_revision=$macro_revision
15823 # Whether or not to build shared libraries.
15824 build_libtool_libs=$enable_shared
15826 # Whether or not to build static libraries.
15827 build_old_libs=$enable_static
15829 # What type of objects to build.
15832 # Whether or not to optimize for fast installation.
15833 fast_install=$enable_fast_install
15835 # Shell to use when invoking shell scripts.
15838 # An echo program that protects backslashes.
15841 # The PATH separator for the build system.
15842 PATH_SEPARATOR=$lt_PATH_SEPARATOR
15845 host_alias=$host_alias
15849 # The build system.
15850 build_alias=$build_alias
15854 # A sed program that does not truncate output.
15857 # Sed that helps us avoid accidentally triggering echo(1) options like -n.
15858 Xsed="\$SED -e 1s/^X//"
15860 # A grep program that handles long lines.
15866 # A literal string matcher.
15869 # A BSD- or MS-compatible name lister.
15872 # Whether we need soft or hard links.
15875 # What is the maximum length of a command?
15876 max_cmd_len=$max_cmd_len
15878 # Object file suffix (normally "o").
15881 # Executable file suffix (normally "").
15884 # whether the shell understands "unset".
15887 # turn spaces into newlines.
15890 # turn newlines into spaces.
15893 # convert \$build file names to \$host format.
15894 to_host_file_cmd=$lt_cv_to_host_file_cmd
15896 # convert \$build files to toolchain format.
15897 to_tool_file_cmd=$lt_cv_to_tool_file_cmd
15899 # An object symbol dumper.
15900 OBJDUMP=$lt_OBJDUMP
15902 # Method to check whether dependent libraries are shared objects.
15903 deplibs_check_method=$lt_deplibs_check_method
15905 # Command to use when deplibs_check_method = "file_magic".
15906 file_magic_cmd=$lt_file_magic_cmd
15908 # How to find potential files when deplibs_check_method = "file_magic".
15909 file_magic_glob=$lt_file_magic_glob
15911 # Find potential files using nocaseglob when deplibs_check_method = "file_magic".
15912 want_nocaseglob=$lt_want_nocaseglob
15914 # DLL creation program.
15915 DLLTOOL=$lt_DLLTOOL
15917 # Command to associate shared and link libraries.
15918 sharedlib_from_linklib_cmd=$lt_sharedlib_from_linklib_cmd
15923 # Flags to create an archive.
15924 AR_FLAGS=$lt_AR_FLAGS
15926 # How to feed a file listing to the archiver.
15927 archiver_list_spec=$lt_archiver_list_spec
15929 # A symbol stripping program.
15932 # Commands used to install an old-style archive.
15934 old_postinstall_cmds=$lt_old_postinstall_cmds
15935 old_postuninstall_cmds=$lt_old_postuninstall_cmds
15937 # Whether to use a lock for old archive extraction.
15938 lock_old_archive_extraction=$lock_old_archive_extraction
15943 # LTCC compiler flags.
15944 LTCFLAGS=$lt_CFLAGS
15946 # Take the output of nm and produce a listing of raw symbols and C names.
15947 global_symbol_pipe=$lt_lt_cv_sys_global_symbol_pipe
15949 # Transform the output of nm in a proper C declaration.
15950 global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl
15952 # Transform the output of nm in a C name address pair.
15953 global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address
15955 # Transform the output of nm in a C name address pair when lib prefix is needed.
15956 global_symbol_to_c_name_address_lib_prefix=$lt_lt_cv_sys_global_symbol_to_c_name_address_lib_prefix
15958 # Specify filename containing input files for \$NM.
15959 nm_file_list_spec=$lt_nm_file_list_spec
15961 # The root where to search for dependent libraries,and in which our libraries should be installed.
15962 lt_sysroot=$lt_sysroot
15964 # The name of the directory that contains temporary libtool files.
15967 # Used to examine libraries when file_magic_cmd begins with "file".
15968 MAGIC_CMD=$MAGIC_CMD
15970 # Must we lock files when doing compilation?
15971 need_locks=$lt_need_locks
15974 MANIFEST_TOOL=$lt_MANIFEST_TOOL
15976 # Tool to manipulate archived DWARF debug symbol files on Mac OS X.
15977 DSYMUTIL=$lt_DSYMUTIL
15979 # Tool to change global to local symbols on Mac OS X.
15982 # Tool to manipulate fat objects and archives on Mac OS X.
15985 # ldd/readelf like tool for Mach-O binaries on Mac OS X.
15988 # ldd/readelf like tool for 64 bit Mach-O binaries on Mac OS X 10.4.
15989 OTOOL64=$lt_OTOOL64
15991 # Old archive suffix (normally "a").
15994 # Shared library suffix (normally ".so").
15995 shrext_cmds=$lt_shrext_cmds
15997 # The commands to extract the exported symbol list from a shared archive.
15998 extract_expsyms_cmds=$lt_extract_expsyms_cmds
16000 # Variables whose values should be saved in libtool wrapper scripts and
16001 # restored at link time.
16002 variables_saved_for_relink=$lt_variables_saved_for_relink
16004 # Do we need the "lib" prefix for modules?
16005 need_lib_prefix=$need_lib_prefix
16007 # Do we need a version for libraries?
16008 need_version=$need_version
16010 # Library versioning type.
16011 version_type=$version_type
16013 # Shared library runtime path variable.
16014 runpath_var=$runpath_var
16016 # Shared library path variable.
16017 shlibpath_var=$shlibpath_var
16019 # Is shlibpath searched before the hard-coded library search path?
16020 shlibpath_overrides_runpath=$shlibpath_overrides_runpath
16022 # Format of library name prefix.
16023 libname_spec=$lt_libname_spec
16025 # List of archive names. First name is the real one, the rest are links.
16026 # The last name is the one that the linker finds with -lNAME
16027 library_names_spec=$lt_library_names_spec
16029 # The coded name of the library, if different from the real name.
16030 soname_spec=$lt_soname_spec
16032 # Permission mode override for installation of shared libraries.
16033 install_override_mode=$lt_install_override_mode
16035 # Command to use after installation of a shared archive.
16036 postinstall_cmds=$lt_postinstall_cmds
16038 # Command to use after uninstallation of a shared archive.
16039 postuninstall_cmds=$lt_postuninstall_cmds
16041 # Commands used to finish a libtool library installation in a directory.
16042 finish_cmds=$lt_finish_cmds
16044 # As "finish_cmds", except a single script fragment to be evaled but
16046 finish_eval=$lt_finish_eval
16048 # Whether we should hardcode library paths into libraries.
16049 hardcode_into_libs=$hardcode_into_libs
16051 # Compile-time system search path for libraries.
16052 sys_lib_search_path_spec=$lt_sys_lib_search_path_spec
16054 # Run-time system search path for libraries.
16055 sys_lib_dlsearch_path_spec=$lt_sys_lib_dlsearch_path_spec
16057 # Whether dlopen is supported.
16058 dlopen_support=$enable_dlopen
16060 # Whether dlopen of programs is supported.
16061 dlopen_self=$enable_dlopen_self
16063 # Whether dlopen of statically linked programs is supported.
16064 dlopen_self_static=$enable_dlopen_self_static
16066 # Commands to strip libraries.
16067 old_striplib=$lt_old_striplib
16068 striplib=$lt_striplib
16071 # The linker used to build libraries.
16074 # How to create reloadable object files.
16075 reload_flag=$lt_reload_flag
16076 reload_cmds=$lt_reload_cmds
16078 # Commands used to build an old-style archive.
16079 old_archive_cmds=$lt_old_archive_cmds
16081 # A language specific compiler.
16084 # Is the compiler the GNU compiler?
16087 # Compiler flag to turn off builtin functions.
16088 no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag
16090 # Additional compiler flags for building library objects.
16091 pic_flag=$lt_lt_prog_compiler_pic
16093 # How to pass a linker flag through the compiler.
16094 wl=$lt_lt_prog_compiler_wl
16096 # Compiler flag to prevent dynamic linking.
16097 link_static_flag=$lt_lt_prog_compiler_static
16099 # Does compiler simultaneously support -c and -o options?
16100 compiler_c_o=$lt_lt_cv_prog_compiler_c_o
16102 # Whether or not to add -lc for building shared libraries.
16103 build_libtool_need_lc=$archive_cmds_need_lc
16105 # Whether or not to disallow shared libs when runtime libs are static.
16106 allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes
16108 # Compiler flag to allow reflexive dlopens.
16109 export_dynamic_flag_spec=$lt_export_dynamic_flag_spec
16111 # Compiler flag to generate shared objects directly from archives.
16112 whole_archive_flag_spec=$lt_whole_archive_flag_spec
16114 # Whether the compiler copes with passing no objects directly.
16115 compiler_needs_object=$lt_compiler_needs_object
16117 # Create an old-style archive from a shared archive.
16118 old_archive_from_new_cmds=$lt_old_archive_from_new_cmds
16120 # Create a temporary old-style archive to link instead of a shared archive.
16121 old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds
16123 # Commands used to build a shared archive.
16124 archive_cmds=$lt_archive_cmds
16125 archive_expsym_cmds=$lt_archive_expsym_cmds
16127 # Commands used to build a loadable module if different from building
16128 # a shared archive.
16129 module_cmds=$lt_module_cmds
16130 module_expsym_cmds=$lt_module_expsym_cmds
16132 # Whether we are building with GNU ld or not.
16133 with_gnu_ld=$lt_with_gnu_ld
16135 # Flag that allows shared libraries with undefined symbols to be built.
16136 allow_undefined_flag=$lt_allow_undefined_flag
16138 # Flag that enforces no undefined symbols.
16139 no_undefined_flag=$lt_no_undefined_flag
16141 # Flag to hardcode \$libdir into a binary during linking.
16142 # This must work even if \$libdir does not exist
16143 hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec
16145 # Whether we need a single "-rpath" flag with a separated argument.
16146 hardcode_libdir_separator=$lt_hardcode_libdir_separator
16148 # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
16149 # DIR into the resulting binary.
16150 hardcode_direct=$hardcode_direct
16152 # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
16153 # DIR into the resulting binary and the resulting library dependency is
16154 # "absolute",i.e impossible to change by setting \${shlibpath_var} if the
16155 # library is relocated.
16156 hardcode_direct_absolute=$hardcode_direct_absolute
16158 # Set to "yes" if using the -LDIR flag during linking hardcodes DIR
16159 # into the resulting binary.
16160 hardcode_minus_L=$hardcode_minus_L
16162 # Set to "yes" if using SHLIBPATH_VAR=DIR during linking hardcodes DIR
16163 # into the resulting binary.
16164 hardcode_shlibpath_var=$hardcode_shlibpath_var
16166 # Set to "yes" if building a shared library automatically hardcodes DIR
16167 # into the library and all subsequent libraries and executables linked
16169 hardcode_automatic=$hardcode_automatic
16171 # Set to yes if linker adds runtime paths of dependent libraries
16172 # to runtime path list.
16173 inherit_rpath=$inherit_rpath
16175 # Whether libtool must link a program against all its dependency libraries.
16176 link_all_deplibs=$link_all_deplibs
16178 # Set to "yes" if exported symbols are required.
16179 always_export_symbols=$always_export_symbols
16181 # The commands to list exported symbols.
16182 export_symbols_cmds=$lt_export_symbols_cmds
16184 # Symbols that should not be listed in the preloaded symbols.
16185 exclude_expsyms=$lt_exclude_expsyms
16187 # Symbols that must always be exported.
16188 include_expsyms=$lt_include_expsyms
16190 # Commands necessary for linking programs (against libraries) with templates.
16191 prelink_cmds=$lt_prelink_cmds
16193 # Commands necessary for finishing linking programs.
16194 postlink_cmds=$lt_postlink_cmds
16196 # Specify filename containing input files.
16197 file_list_spec=$lt_file_list_spec
16199 # How to hardcode a shared library path into an executable.
16200 hardcode_action=$hardcode_action
16202 # ### END LIBTOOL CONFIG
16208 cat <<\_LT_EOF >> "$cfgfile"
16209 # AIX sometimes has problems with the GCC collect2 program. For some
16210 # reason, if we set the COLLECT_NAMES environment variable, the problems
16211 # vanish in a puff of smoke.
16212 if test "X${COLLECT_NAMES+set}" != Xset; then
16214 export COLLECT_NAMES
16221 ltmain="$ac_aux_dir/ltmain.sh"
16224 # We use sed instead of cat because bash on DJGPP gets confused if
16225 # if finds mixed CR/LF and LF-only lines. Since sed operates in
16226 # text mode, it properly converts lines to CR/LF. This bash problem
16227 # is reportedly fixed, but why not run on old versions too?
16228 sed '$q' "$ltmain" >> "$cfgfile" \
16229 || (rm -f "$cfgfile"; exit 1)
16231 if test x"$xsi_shell" = xyes; then
16232 sed -e '/^func_dirname ()$/,/^} # func_dirname /c\
16236 \ */*) func_dirname_result="${1%/*}${2}" ;;\
16237 \ * ) func_dirname_result="${3}" ;;\
16239 } # Extended-shell func_dirname implementation' "$cfgfile" > $cfgfile.tmp \
16240 && mv -f "$cfgfile.tmp" "$cfgfile" \
16241 || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
16242 test 0 -eq $? || _lt_function_replace_fail=:
16245 sed -e '/^func_basename ()$/,/^} # func_basename /c\
16248 \ func_basename_result="${1##*/}"\
16249 } # Extended-shell func_basename implementation' "$cfgfile" > $cfgfile.tmp \
16250 && mv -f "$cfgfile.tmp" "$cfgfile" \
16251 || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
16252 test 0 -eq $? || _lt_function_replace_fail=:
16255 sed -e '/^func_dirname_and_basename ()$/,/^} # func_dirname_and_basename /c\
16256 func_dirname_and_basename ()\
16259 \ */*) func_dirname_result="${1%/*}${2}" ;;\
16260 \ * ) func_dirname_result="${3}" ;;\
16262 \ func_basename_result="${1##*/}"\
16263 } # Extended-shell func_dirname_and_basename implementation' "$cfgfile" > $cfgfile.tmp \
16264 && mv -f "$cfgfile.tmp" "$cfgfile" \
16265 || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
16266 test 0 -eq $? || _lt_function_replace_fail=:
16269 sed -e '/^func_stripname ()$/,/^} # func_stripname /c\
16272 \ # pdksh 5.2.14 does not do ${X%$Y} correctly if both X and Y are\
16273 \ # positional parameters, so assign one to ordinary parameter first.\
16274 \ func_stripname_result=${3}\
16275 \ func_stripname_result=${func_stripname_result#"${1}"}\
16276 \ func_stripname_result=${func_stripname_result%"${2}"}\
16277 } # Extended-shell func_stripname implementation' "$cfgfile" > $cfgfile.tmp \
16278 && mv -f "$cfgfile.tmp" "$cfgfile" \
16279 || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
16280 test 0 -eq $? || _lt_function_replace_fail=:
16283 sed -e '/^func_split_long_opt ()$/,/^} # func_split_long_opt /c\
16284 func_split_long_opt ()\
16286 \ func_split_long_opt_name=${1%%=*}\
16287 \ func_split_long_opt_arg=${1#*=}\
16288 } # Extended-shell func_split_long_opt implementation' "$cfgfile" > $cfgfile.tmp \
16289 && mv -f "$cfgfile.tmp" "$cfgfile" \
16290 || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
16291 test 0 -eq $? || _lt_function_replace_fail=:
16294 sed -e '/^func_split_short_opt ()$/,/^} # func_split_short_opt /c\
16295 func_split_short_opt ()\
16297 \ func_split_short_opt_arg=${1#??}\
16298 \ func_split_short_opt_name=${1%"$func_split_short_opt_arg"}\
16299 } # Extended-shell func_split_short_opt implementation' "$cfgfile" > $cfgfile.tmp \
16300 && mv -f "$cfgfile.tmp" "$cfgfile" \
16301 || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
16302 test 0 -eq $? || _lt_function_replace_fail=:
16305 sed -e '/^func_lo2o ()$/,/^} # func_lo2o /c\
16309 \ *.lo) func_lo2o_result=${1%.lo}.${objext} ;;\
16310 \ *) func_lo2o_result=${1} ;;\
16312 } # Extended-shell func_lo2o implementation' "$cfgfile" > $cfgfile.tmp \
16313 && mv -f "$cfgfile.tmp" "$cfgfile" \
16314 || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
16315 test 0 -eq $? || _lt_function_replace_fail=:
16318 sed -e '/^func_xform ()$/,/^} # func_xform /c\
16321 func_xform_result=${1%.*}.lo\
16322 } # Extended-shell func_xform implementation' "$cfgfile" > $cfgfile.tmp \
16323 && mv -f "$cfgfile.tmp" "$cfgfile" \
16324 || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
16325 test 0 -eq $? || _lt_function_replace_fail=:
16328 sed -e '/^func_arith ()$/,/^} # func_arith /c\
16331 func_arith_result=$(( $* ))\
16332 } # Extended-shell func_arith implementation' "$cfgfile" > $cfgfile.tmp \
16333 && mv -f "$cfgfile.tmp" "$cfgfile" \
16334 || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
16335 test 0 -eq $? || _lt_function_replace_fail=:
16338 sed -e '/^func_len ()$/,/^} # func_len /c\
16341 func_len_result=${#1}\
16342 } # Extended-shell func_len implementation' "$cfgfile" > $cfgfile.tmp \
16343 && mv -f "$cfgfile.tmp" "$cfgfile" \
16344 || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
16345 test 0 -eq $? || _lt_function_replace_fail=:
16349 if test x"$lt_shell_append" = xyes; then
16350 sed -e '/^func_append ()$/,/^} # func_append /c\
16353 eval "${1}+=\\${2}"\
16354 } # Extended-shell func_append implementation' "$cfgfile" > $cfgfile.tmp \
16355 && mv -f "$cfgfile.tmp" "$cfgfile" \
16356 || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
16357 test 0 -eq $? || _lt_function_replace_fail=:
16360 sed -e '/^func_append_quoted ()$/,/^} # func_append_quoted /c\
16361 func_append_quoted ()\
16363 \ func_quote_for_eval "${2}"\
16364 \ eval "${1}+=\\\\ \\$func_quote_for_eval_result"\
16365 } # Extended-shell func_append_quoted implementation' "$cfgfile" > $cfgfile.tmp \
16366 && mv -f "$cfgfile.tmp" "$cfgfile" \
16367 || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
16368 test 0 -eq $? || _lt_function_replace_fail=:
16371 # Save a `func_append' function call where possible by direct use of '+='
16372 sed -e 's%func_append \([a-zA-Z_]\{1,\}\) "%\1+="%g' $cfgfile > $cfgfile.tmp \
16373 && mv -f "$cfgfile.tmp" "$cfgfile" \
16374 || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
16375 test 0 -eq $? || _lt_function_replace_fail=:
16377 # Save a `func_append' function call even when '+=' is not available
16378 sed -e 's%func_append \([a-zA-Z_]\{1,\}\) "%\1="$\1%g' $cfgfile > $cfgfile.tmp \
16379 && mv -f "$cfgfile.tmp" "$cfgfile" \
16380 || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
16381 test 0 -eq $? || _lt_function_replace_fail=:
16384 if test x"$_lt_function_replace_fail" = x":"; then
16385 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Unable to substitute extended shell functions in $ofile" >&5
16386 $as_echo "$as_me: WARNING: Unable to substitute extended shell functions in $ofile" >&2;}
16390 mv -f "$cfgfile" "$ofile" ||
16391 (rm -f "$ofile" && cp "$cfgfile" "$ofile" && rm -f "$cfgfile")
16402 ac_clean_files=$ac_clean_files_save
16404 test $ac_write_fail = 0 ||
16405 as_fn_error $? "write failure creating $CONFIG_STATUS" "$LINENO" 5
16408 # configure is writing to config.log, and then calls config.status.
16409 # config.status does its own redirection, appending to config.log.
16410 # Unfortunately, on DOS this fails, as config.log is still kept open
16411 # by configure, so config.status won't be able to write to it; its
16412 # output is simply discarded. So we exec the FD to /dev/null,
16413 # effectively closing config.log, so it can be properly (re)opened and
16414 # appended to by config.status. When coming back to configure, we
16415 # need to make the FD available again.
16416 if test "$no_create" != yes; then
16418 ac_config_status_args=
16419 test "$silent" = yes &&
16420 ac_config_status_args="$ac_config_status_args --quiet"
16422 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
16424 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
16425 # would make configure fail if this is the last instruction.
16426 $ac_cs_success || as_fn_exit 1
16428 if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no; then
16429 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
16430 $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}
16435 #####################################################################
16441 echo "------------------------------------------------------------------------"
16442 echo "$PACKAGE $VERSION"
16443 echo "------------------------------------------------------------------------"
16445 echo "Configuration Options Summary:"
16446 if test "x$eeze_mount" = "xyes";then
16448 echo "Mount..................: ${with_mount}"
16449 echo "Umount.................: ${with_umount}"
16450 echo "Eject..................: ${with_eject}"
16453 echo "Tests..................: ${have_eeze_udev_test}"
16455 echo "Demos..................:"
16456 echo " eeze_mount...........: ${have_eeze_mount}"
16457 echo " eeze_umount..........: ${have_eeze_umount}"
16458 echo " eeze_disk_ls.........: ${have_eeze_disk_ls}"
16460 echo "Utilities..............:"
16461 echo " eeze_scanner.........: ${have_eeze_scanner}"
16463 echo "IPv6...................: ${have_ipv6}"
16465 echo "Documentation..........: ${build_doc}"
16467 echo "Compilation............: make (or gmake)"
16468 echo " CPPFLAGS.............: $CPPFLAGS"
16469 echo " CFLAGS...............: $CFLAGS"
16470 echo " LDFLAGS..............: $LDFLAGS"
16472 echo "Installation...........: make install (as root if needed, with 'su' or 'sudo')"
16473 echo " prefix...............: $prefix"