2 # Guess values for system-dependent variables and create Makefiles.
3 # Generated by GNU Autoconf 2.68 for eeze 1.7.7.
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.7'
574 PACKAGE_STRING='eeze 1.7.7'
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.7 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.7:";;
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.7
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.7, 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
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++)
8618 # On some targets, GNU ld is compatible enough with the native linker
8619 # that we're better off using the native interface for both.
8620 lt_use_gnu_ld_interface=no
8621 if test "$with_gnu_ld" = yes; then
8624 # The AIX port of GNU ld has always aspired to compatibility
8625 # with the native linker. However, as the warning in the GNU ld
8626 # block says, versions before 2.19.5* couldn't really create working
8627 # shared libraries, regardless of the interface used.
8628 case `$LD -v 2>&1` in
8629 *\ \(GNU\ Binutils\)\ 2.19.5*) ;;
8630 *\ \(GNU\ Binutils\)\ 2.[2-9]*) ;;
8631 *\ \(GNU\ Binutils\)\ [3-9]*) ;;
8633 lt_use_gnu_ld_interface=yes
8638 lt_use_gnu_ld_interface=yes
8643 if test "$lt_use_gnu_ld_interface" = yes; then
8644 # If archive_cmds runs LD, not CC, wlarc should be empty
8647 # Set some defaults for GNU ld with shared library support. These
8648 # are reset later if shared libraries are not supported. Putting them
8649 # here allows them to be overridden if necessary.
8650 runpath_var=LD_RUN_PATH
8651 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
8652 export_dynamic_flag_spec='${wl}--export-dynamic'
8653 # ancient GNU ld didn't support --whole-archive et. al.
8654 if $LD --help 2>&1 | $GREP 'no-whole-archive' > /dev/null; then
8655 whole_archive_flag_spec="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
8657 whole_archive_flag_spec=
8659 supports_anon_versioning=no
8660 case `$LD -v 2>&1` in
8661 *GNU\ gold*) supports_anon_versioning=yes ;;
8662 *\ [01].* | *\ 2.[0-9].* | *\ 2.10.*) ;; # catch versions < 2.11
8663 *\ 2.11.93.0.2\ *) supports_anon_versioning=yes ;; # RH7.3 ...
8664 *\ 2.11.92.0.12\ *) supports_anon_versioning=yes ;; # Mandrake 8.2 ...
8665 *\ 2.11.*) ;; # other 2.11 versions
8666 *) supports_anon_versioning=yes ;;
8669 # See if GNU ld supports shared libraries.
8672 # On AIX/PPC, the GNU linker is very broken
8673 if test "$host_cpu" != ia64; then
8677 *** Warning: the GNU linker, at least up to release 2.19, is reported
8678 *** to be unable to reliably create shared libraries on AIX.
8679 *** Therefore, libtool is disabling shared libraries support. If you
8680 *** really care for shared libraries, you may want to install binutils
8681 *** 2.20 or above, or modify your PATH so that a non-GNU linker is found.
8682 *** You will then need to restart the configuration process.
8691 # see comment about AmigaOS4 .so support
8692 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
8693 archive_expsym_cmds=''
8696 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)'
8697 hardcode_libdir_flag_spec='-L$libdir'
8698 hardcode_minus_L=yes
8704 if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
8705 allow_undefined_flag=unsupported
8706 # Joseph Beckenbach <jrb3@best.com> says some releases of gcc
8707 # support --undefined. This deserves some investigation. FIXME
8708 archive_cmds='$CC -nostart $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
8714 cygwin* | mingw* | pw32* | cegcc*)
8715 # _LT_TAGVAR(hardcode_libdir_flag_spec, ) is actually meaningless,
8716 # as there is no search path for DLLs.
8717 hardcode_libdir_flag_spec='-L$libdir'
8718 export_dynamic_flag_spec='${wl}--export-all-symbols'
8719 allow_undefined_flag=unsupported
8720 always_export_symbols=no
8721 enable_shared_with_static_runtimes=yes
8722 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'
8723 exclude_expsyms='[_]+GLOBAL_OFFSET_TABLE_|[_]+GLOBAL__[FID]_.*|[_]+head_[A-Za-z0-9_]+_dll|[A-Za-z0-9_]+_dll_iname'
8725 if $LD --help 2>&1 | $GREP 'auto-import' > /dev/null; then
8726 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
8727 # If the export-symbols file already is a .def file (1st line
8728 # is EXPORTS), use it as is; otherwise, prepend...
8729 archive_expsym_cmds='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
8730 cp $export_symbols $output_objdir/$soname.def;
8732 echo EXPORTS > $output_objdir/$soname.def;
8733 cat $export_symbols >> $output_objdir/$soname.def;
8735 $CC -shared $output_objdir/$soname.def $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
8742 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
8743 link_all_deplibs=yes
8748 hardcode_shlibpath_var=no
8749 hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
8750 export_dynamic_flag_spec='${wl}-E'
8751 # Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc.
8752 # Instead, shared libraries are loaded at an image base (0x10000000 by
8753 # default) and relocated if they conflict, which is a slow very memory
8754 # consuming and fragmenting process. To avoid this, we pick a random,
8755 # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link
8756 # time. Moving up from 0x10000000 also allows more sbrk(2) space.
8757 archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-h,$soname ${wl}--image-base,`expr ${RANDOM-$$} % 4096 / 2 \* 262144 + 1342177280` -o $lib'
8758 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'
8761 gnu* | linux* | tpf* | k*bsd*-gnu | kopensolaris*-gnu)
8763 if test "$host_os" = linux-dietlibc; then
8764 case $cc_basename in
8765 diet\ *) tmp_diet=yes;; # linux-dietlibc with static linking (!diet-dyn)
8768 if $LD --help 2>&1 | $EGREP ': supported targets:.* elf' > /dev/null \
8769 && test "$tmp_diet" = no
8771 tmp_addflag=' $pic_flag'
8772 tmp_sharedflag='-shared'
8773 case $cc_basename,$host_cpu in
8774 pgcc*) # Portland Group C compiler
8775 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'
8776 tmp_addflag=' $pic_flag'
8778 pgf77* | pgf90* | pgf95* | pgfortran*)
8779 # Portland Group f77 and f90 compilers
8780 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'
8781 tmp_addflag=' $pic_flag -Mnomain' ;;
8782 ecc*,ia64* | icc*,ia64*) # Intel C compiler on ia64
8783 tmp_addflag=' -i_dynamic' ;;
8784 efc*,ia64* | ifort*,ia64*) # Intel Fortran compiler on ia64
8785 tmp_addflag=' -i_dynamic -nofor_main' ;;
8786 ifc* | ifort*) # Intel Fortran compiler
8787 tmp_addflag=' -nofor_main' ;;
8788 lf95*) # Lahey Fortran 8.1
8789 whole_archive_flag_spec=
8790 tmp_sharedflag='--shared' ;;
8791 xl[cC]* | bgxl[cC]* | mpixl[cC]*) # IBM XL C 8.0 on PPC (deal with xlf below)
8792 tmp_sharedflag='-qmkshrobj'
8794 nvcc*) # Cuda Compiler Driver 2.2
8795 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'
8796 compiler_needs_object=yes
8799 case `$CC -V 2>&1 | sed 5q` in
8800 *Sun\ C*) # Sun C 5.9
8801 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'
8802 compiler_needs_object=yes
8803 tmp_sharedflag='-G' ;;
8804 *Sun\ F*) # Sun Fortran 8.3
8805 tmp_sharedflag='-G' ;;
8807 archive_cmds='$CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
8809 if test "x$supports_anon_versioning" = xyes; then
8810 archive_expsym_cmds='echo "{ global:" > $output_objdir/$libname.ver~
8811 cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
8812 echo "local: *; };" >> $output_objdir/$libname.ver~
8813 $CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-version-script ${wl}$output_objdir/$libname.ver -o $lib'
8816 case $cc_basename in
8817 xlf* | bgf* | bgxlf* | mpixlf*)
8818 # IBM XL Fortran 10.1 on PPC cannot create shared libs itself
8819 whole_archive_flag_spec='--whole-archive$convenience --no-whole-archive'
8820 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
8821 archive_cmds='$LD -shared $libobjs $deplibs $linker_flags -soname $soname -o $lib'
8822 if test "x$supports_anon_versioning" = xyes; then
8823 archive_expsym_cmds='echo "{ global:" > $output_objdir/$libname.ver~
8824 cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
8825 echo "local: *; };" >> $output_objdir/$libname.ver~
8826 $LD -shared $libobjs $deplibs $linker_flags -soname $soname -version-script $output_objdir/$libname.ver -o $lib'
8836 if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
8837 archive_cmds='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib'
8840 archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
8841 archive_expsym_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
8846 if $LD -v 2>&1 | $GREP 'BFD 2\.8' > /dev/null; then
8850 *** Warning: The releases 2.8.* of the GNU linker cannot reliably
8851 *** create shared libraries on Solaris systems. Therefore, libtool
8852 *** is disabling shared libraries support. We urge you to upgrade GNU
8853 *** binutils to release 2.9.1 or newer. Another option is to modify
8854 *** your PATH or compiler configuration so that the native linker is
8855 *** used, and then restart.
8858 elif $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
8859 archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
8860 archive_expsym_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
8866 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX*)
8867 case `$LD -v 2>&1` in
8868 *\ [01].* | *\ 2.[0-9].* | *\ 2.1[0-5].*)
8872 *** Warning: Releases of the GNU linker prior to 2.16.91.0.3 can not
8873 *** reliably create shared libraries on SCO systems. Therefore, libtool
8874 *** is disabling shared libraries support. We urge you to upgrade GNU
8875 *** binutils to release 2.16.91.0.3 or newer. Another option is to modify
8876 *** your PATH or compiler configuration so that the native linker is
8877 *** used, and then restart.
8882 # For security reasons, it is highly recommended that you always
8883 # use absolute paths for naming shared libraries, and exclude the
8884 # DT_RUNPATH tag from executables and libraries. But doing so
8885 # requires that you compile everything twice, which is a pain.
8886 if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
8887 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
8888 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
8889 archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
8898 archive_cmds='$LD -assert pure-text -Bshareable -o $lib $libobjs $deplibs $linker_flags'
8901 hardcode_shlibpath_var=no
8905 if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
8906 archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
8907 archive_expsym_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
8914 if test "$ld_shlibs" = no; then
8916 hardcode_libdir_flag_spec=
8917 export_dynamic_flag_spec=
8918 whole_archive_flag_spec=
8921 # PORTME fill in a description of your system's linker (not GNU ld)
8924 allow_undefined_flag=unsupported
8925 always_export_symbols=yes
8926 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'
8927 # Note: this linker hardcodes the directories in LIBPATH if there
8928 # are no directories specified by -L.
8929 hardcode_minus_L=yes
8930 if test "$GCC" = yes && test -z "$lt_prog_compiler_static"; then
8931 # Neither direct hardcoding nor static linking is supported with a
8933 hardcode_direct=unsupported
8938 if test "$host_cpu" = ia64; then
8939 # On IA64, the linker does run time linking by default, so we don't
8940 # have to do anything special.
8941 aix_use_runtimelinking=no
8942 exp_sym_flag='-Bexport'
8945 # If we're using GNU nm, then we don't want the "-C" option.
8946 # -C means demangle to AIX nm, but means don't demangle with GNU nm
8947 # Also, AIX nm treats weak defined symbols like other global
8948 # defined symbols, whereas GNU nm marks them as "W".
8949 if $NM -V 2>&1 | $GREP 'GNU' > /dev/null; then
8950 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'
8952 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'
8954 aix_use_runtimelinking=no
8956 # Test if we are trying to use run time linking or normal
8957 # AIX style linking. If -brtl is somewhere in LDFLAGS, we
8958 # need to do runtime linking.
8959 case $host_os in aix4.[23]|aix4.[23].*|aix[5-9]*)
8960 for ld_flag in $LDFLAGS; do
8961 if (test $ld_flag = "-brtl" || test $ld_flag = "-Wl,-brtl"); then
8962 aix_use_runtimelinking=yes
8969 exp_sym_flag='-bexport'
8970 no_entry_flag='-bnoentry'
8973 # When large executables or shared objects are built, AIX ld can
8974 # have problems creating the table of contents. If linking a library
8975 # or program results in "error TOC overflow" add -mminimal-toc to
8976 # CXXFLAGS/CFLAGS for g++/gcc. In the cases where that is not
8977 # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
8981 hardcode_direct_absolute=yes
8982 hardcode_libdir_separator=':'
8983 link_all_deplibs=yes
8984 file_list_spec='${wl}-f,'
8986 if test "$GCC" = yes; then
8987 case $host_os in aix4.[012]|aix4.[012].*)
8988 # We only want to do this on AIX 4.2 and lower, the check
8989 # below for broken collect2 doesn't work under 4.3+
8990 collect2name=`${CC} -print-prog-name=collect2`
8991 if test -f "$collect2name" &&
8992 strings "$collect2name" | $GREP resolve_lib_name >/dev/null
8994 # We have reworked collect2
8997 # We have old collect2
8998 hardcode_direct=unsupported
8999 # It fails to find uninstalled libraries when the uninstalled
9000 # path is not listed in the libpath. Setting hardcode_minus_L
9001 # to unsupported forces relinking
9002 hardcode_minus_L=yes
9003 hardcode_libdir_flag_spec='-L$libdir'
9004 hardcode_libdir_separator=
9008 shared_flag='-shared'
9009 if test "$aix_use_runtimelinking" = yes; then
9010 shared_flag="$shared_flag "'${wl}-G'
9014 if test "$host_cpu" = ia64; then
9015 # VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
9016 # chokes on -Wl,-G. The following line is correct:
9019 if test "$aix_use_runtimelinking" = yes; then
9020 shared_flag='${wl}-G'
9022 shared_flag='${wl}-bM:SRE'
9027 export_dynamic_flag_spec='${wl}-bexpall'
9028 # It seems that -bexpall does not export symbols beginning with
9029 # underscore (_), so it is better to generate a list of symbols to export.
9030 always_export_symbols=yes
9031 if test "$aix_use_runtimelinking" = yes; then
9032 # Warning - without using the other runtime loading flags (-brtl),
9033 # -berok will link without error, but may produce a broken library.
9034 allow_undefined_flag='-berok'
9035 # Determine the default libpath from the value encoded in an
9037 if test "${lt_cv_aix_libpath+set}" = set; then
9038 aix_libpath=$lt_cv_aix_libpath
9040 if ${lt_cv_aix_libpath_+:} false; then :
9041 $as_echo_n "(cached) " >&6
9043 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9044 /* end confdefs.h. */
9054 if ac_fn_c_try_link "$LINENO"; then :
9056 lt_aix_libpath_sed='
9057 /Import File Strings/,/^$/ {
9059 s/^0 *\([^ ]*\) *$/\1/
9063 lt_cv_aix_libpath_=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
9064 # Check for a 64-bit object if we didn't find anything.
9065 if test -z "$lt_cv_aix_libpath_"; then
9066 lt_cv_aix_libpath_=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
9069 rm -f core conftest.err conftest.$ac_objext \
9070 conftest$ac_exeext conftest.$ac_ext
9071 if test -z "$lt_cv_aix_libpath_"; then
9072 lt_cv_aix_libpath_="/usr/lib:/lib"
9077 aix_libpath=$lt_cv_aix_libpath_
9080 hardcode_libdir_flag_spec='${wl}-blibpath:$libdir:'"$aix_libpath"
9081 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"
9083 if test "$host_cpu" = ia64; then
9084 hardcode_libdir_flag_spec='${wl}-R $libdir:/usr/lib:/lib'
9085 allow_undefined_flag="-z nodefs"
9086 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"
9088 # Determine the default libpath from the value encoded in an
9090 if test "${lt_cv_aix_libpath+set}" = set; then
9091 aix_libpath=$lt_cv_aix_libpath
9093 if ${lt_cv_aix_libpath_+:} false; then :
9094 $as_echo_n "(cached) " >&6
9096 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9097 /* end confdefs.h. */
9107 if ac_fn_c_try_link "$LINENO"; then :
9109 lt_aix_libpath_sed='
9110 /Import File Strings/,/^$/ {
9112 s/^0 *\([^ ]*\) *$/\1/
9116 lt_cv_aix_libpath_=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
9117 # Check for a 64-bit object if we didn't find anything.
9118 if test -z "$lt_cv_aix_libpath_"; then
9119 lt_cv_aix_libpath_=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
9122 rm -f core conftest.err conftest.$ac_objext \
9123 conftest$ac_exeext conftest.$ac_ext
9124 if test -z "$lt_cv_aix_libpath_"; then
9125 lt_cv_aix_libpath_="/usr/lib:/lib"
9130 aix_libpath=$lt_cv_aix_libpath_
9133 hardcode_libdir_flag_spec='${wl}-blibpath:$libdir:'"$aix_libpath"
9134 # Warning - without using the other run time loading flags,
9135 # -berok will link without error, but may produce a broken library.
9136 no_undefined_flag=' ${wl}-bernotok'
9137 allow_undefined_flag=' ${wl}-berok'
9138 if test "$with_gnu_ld" = yes; then
9139 # We only use this code for GNU lds that support --whole-archive.
9140 whole_archive_flag_spec='${wl}--whole-archive$convenience ${wl}--no-whole-archive'
9142 # Exported symbols can be pulled into shared objects from archives
9143 whole_archive_flag_spec='$convenience'
9145 archive_cmds_need_lc=yes
9146 # This is similar to how AIX traditionally builds its shared libraries.
9147 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'
9155 # see comment about AmigaOS4 .so support
9156 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9157 archive_expsym_cmds=''
9160 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)'
9161 hardcode_libdir_flag_spec='-L$libdir'
9162 hardcode_minus_L=yes
9168 export_dynamic_flag_spec=-rdynamic
9171 cygwin* | mingw* | pw32* | cegcc*)
9172 # When not using gcc, we currently assume that we are using
9173 # Microsoft Visual C++.
9174 # hardcode_libdir_flag_spec is actually meaningless, as there is
9175 # no search path for DLLs.
9176 case $cc_basename in
9179 hardcode_libdir_flag_spec=' '
9180 allow_undefined_flag=unsupported
9181 always_export_symbols=yes
9183 # Tell ltmain to make .lib files, not .a files.
9185 # Tell ltmain to make .dll files, not .so files.
9187 # FIXME: Setting linknames here is a bad hack.
9188 archive_cmds='$CC -o $output_objdir/$soname $libobjs $compiler_flags $deplibs -Wl,-dll~linknames='
9189 archive_expsym_cmds='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
9190 sed -n -e 's/\\\\\\\(.*\\\\\\\)/-link\\\ -EXPORT:\\\\\\\1/' -e '1\\\!p' < $export_symbols > $output_objdir/$soname.exp;
9192 sed -e 's/\\\\\\\(.*\\\\\\\)/-link\\\ -EXPORT:\\\\\\\1/' < $export_symbols > $output_objdir/$soname.exp;
9194 $CC -o $tool_output_objdir$soname $libobjs $compiler_flags $deplibs "@$tool_output_objdir$soname.exp" -Wl,-DLL,-IMPLIB:"$tool_output_objdir$libname.dll.lib"~
9196 # The linker will not automatically build a static lib if we build a DLL.
9197 # _LT_TAGVAR(old_archive_from_new_cmds, )='true'
9198 enable_shared_with_static_runtimes=yes
9199 exclude_expsyms='_NULL_IMPORT_DESCRIPTOR|_IMPORT_DESCRIPTOR_.*'
9200 export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS][ ]/s/.*[ ]\([^ ]*\)/\1,DATA/'\'' | $SED -e '\''/^[AITW][ ]/s/.*[ ]//'\'' | sort | uniq > $export_symbols'
9202 old_postinstall_cmds='chmod 644 $oldlib'
9203 postlink_cmds='lt_outputfile="@OUTPUT@"~
9204 lt_tool_outputfile="@TOOL_OUTPUT@"~
9205 case $lt_outputfile in
9208 lt_outputfile="$lt_outputfile.exe"
9209 lt_tool_outputfile="$lt_tool_outputfile.exe"
9212 if test "$MANIFEST_TOOL" != ":" && test -f "$lt_outputfile.manifest"; then
9213 $MANIFEST_TOOL -manifest "$lt_tool_outputfile.manifest" -outputresource:"$lt_tool_outputfile" || exit 1;
9214 $RM "$lt_outputfile.manifest";
9218 # Assume MSVC wrapper
9219 hardcode_libdir_flag_spec=' '
9220 allow_undefined_flag=unsupported
9221 # Tell ltmain to make .lib files, not .a files.
9223 # Tell ltmain to make .dll files, not .so files.
9225 # FIXME: Setting linknames here is a bad hack.
9226 archive_cmds='$CC -o $lib $libobjs $compiler_flags `func_echo_all "$deplibs" | $SED '\''s/ -lc$//'\''` -link -dll~linknames='
9227 # The linker will automatically build a .lib file if we build a DLL.
9228 old_archive_from_new_cmds='true'
9229 # FIXME: Should let the user specify the lib program.
9230 old_archive_cmds='lib -OUT:$oldlib$oldobjs$old_deplibs'
9231 enable_shared_with_static_runtimes=yes
9236 darwin* | rhapsody*)
9239 archive_cmds_need_lc=no
9241 hardcode_automatic=yes
9242 hardcode_shlibpath_var=unsupported
9243 if test "$lt_cv_ld_force_load" = "yes"; then
9244 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\"`'
9247 whole_archive_flag_spec=''
9249 link_all_deplibs=yes
9250 allow_undefined_flag="$_lt_dar_allow_undefined"
9251 case $cc_basename in
9252 ifort*) _lt_dar_can_shared=yes ;;
9253 *) _lt_dar_can_shared=$GCC ;;
9255 if test "$_lt_dar_can_shared" = "yes"; then
9256 output_verbose_link_cmd=func_echo_all
9257 archive_cmds="\$CC -dynamiclib \$allow_undefined_flag -o \$lib \$libobjs \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring $_lt_dar_single_mod${_lt_dsymutil}"
9258 module_cmds="\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags${_lt_dsymutil}"
9259 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}"
9260 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}"
9269 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
9270 hardcode_libdir_flag_spec='-L$libdir'
9271 hardcode_shlibpath_var=no
9274 # FreeBSD 2.2.[012] allows us to include c++rt0.o to get C++ constructor
9275 # support. Future versions do this automatically, but an explicit c++rt0.o
9276 # does not break anything, and helps significantly (at the cost of a little
9279 archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags /usr/lib/c++rt0.o'
9280 hardcode_libdir_flag_spec='-R$libdir'
9282 hardcode_shlibpath_var=no
9285 # Unfortunately, older versions of FreeBSD 2 do not have this feature.
9287 archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
9289 hardcode_minus_L=yes
9290 hardcode_shlibpath_var=no
9293 # FreeBSD 3 and greater uses gcc -shared to do shared libraries.
9294 freebsd* | dragonfly*)
9295 archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
9296 hardcode_libdir_flag_spec='-R$libdir'
9298 hardcode_shlibpath_var=no
9302 if test "$GCC" = yes; then
9303 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'
9305 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'
9307 hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
9308 hardcode_libdir_separator=:
9311 # hardcode_minus_L: Not really in the search PATH,
9312 # but as the default location of the library.
9313 hardcode_minus_L=yes
9314 export_dynamic_flag_spec='${wl}-E'
9318 if test "$GCC" = yes && test "$with_gnu_ld" = no; then
9319 archive_cmds='$CC -shared $pic_flag ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
9321 archive_cmds='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
9323 if test "$with_gnu_ld" = no; then
9324 hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
9325 hardcode_libdir_separator=:
9327 hardcode_direct_absolute=yes
9328 export_dynamic_flag_spec='${wl}-E'
9329 # hardcode_minus_L: Not really in the search PATH,
9330 # but as the default location of the library.
9331 hardcode_minus_L=yes
9336 if test "$GCC" = yes && test "$with_gnu_ld" = no; then
9339 archive_cmds='$CC -shared ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
9342 archive_cmds='$CC -shared $pic_flag ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
9345 archive_cmds='$CC -shared $pic_flag ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
9351 archive_cmds='$CC -b ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
9354 archive_cmds='$CC -b ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
9358 # Older versions of the 11.00 compiler do not understand -b yet
9359 # (HP92453-01 A.11.01.20 doesn't, HP92453-01 B.11.X.35175-35176.GP does)
9360 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC understands -b" >&5
9361 $as_echo_n "checking if $CC understands -b... " >&6; }
9362 if ${lt_cv_prog_compiler__b+:} false; then :
9363 $as_echo_n "(cached) " >&6
9365 lt_cv_prog_compiler__b=no
9366 save_LDFLAGS="$LDFLAGS"
9367 LDFLAGS="$LDFLAGS -b"
9368 echo "$lt_simple_link_test_code" > conftest.$ac_ext
9369 if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
9370 # The linker can only warn and ignore the option if not recognized
9371 # So say no if there are warnings
9372 if test -s conftest.err; then
9373 # Append any errors to the config.log.
9374 cat conftest.err 1>&5
9375 $ECHO "$_lt_linker_boilerplate" | $SED '/^$/d' > conftest.exp
9376 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
9377 if diff conftest.exp conftest.er2 >/dev/null; then
9378 lt_cv_prog_compiler__b=yes
9381 lt_cv_prog_compiler__b=yes
9385 LDFLAGS="$save_LDFLAGS"
9388 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler__b" >&5
9389 $as_echo "$lt_cv_prog_compiler__b" >&6; }
9391 if test x"$lt_cv_prog_compiler__b" = xyes; then
9392 archive_cmds='$CC -b ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
9394 archive_cmds='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
9400 if test "$with_gnu_ld" = no; then
9401 hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
9402 hardcode_libdir_separator=:
9407 hardcode_shlibpath_var=no
9411 hardcode_direct_absolute=yes
9412 export_dynamic_flag_spec='${wl}-E'
9414 # hardcode_minus_L: Not really in the search PATH,
9415 # but as the default location of the library.
9416 hardcode_minus_L=yes
9422 irix5* | irix6* | nonstopux*)
9423 if test "$GCC" = yes; then
9424 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'
9425 # Try to use the -exported_symbol ld option, if it does not
9426 # work, assume that -exports_file does not work either and
9427 # implicitly export all symbols.
9428 # This should be the same for all languages, so no per-tag cache variable.
9429 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $host_os linker accepts -exported_symbol" >&5
9430 $as_echo_n "checking whether the $host_os linker accepts -exported_symbol... " >&6; }
9431 if ${lt_cv_irix_exported_symbol+:} false; then :
9432 $as_echo_n "(cached) " >&6
9434 save_LDFLAGS="$LDFLAGS"
9435 LDFLAGS="$LDFLAGS -shared ${wl}-exported_symbol ${wl}foo ${wl}-update_registry ${wl}/dev/null"
9436 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9437 /* end confdefs.h. */
9438 int foo (void) { return 0; }
9440 if ac_fn_c_try_link "$LINENO"; then :
9441 lt_cv_irix_exported_symbol=yes
9443 lt_cv_irix_exported_symbol=no
9445 rm -f core conftest.err conftest.$ac_objext \
9446 conftest$ac_exeext conftest.$ac_ext
9447 LDFLAGS="$save_LDFLAGS"
9449 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_irix_exported_symbol" >&5
9450 $as_echo "$lt_cv_irix_exported_symbol" >&6; }
9451 if test "$lt_cv_irix_exported_symbol" = yes; then
9452 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'
9455 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'
9456 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'
9458 archive_cmds_need_lc='no'
9459 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
9460 hardcode_libdir_separator=:
9462 link_all_deplibs=yes
9466 if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
9467 archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags' # a.out
9469 archive_cmds='$LD -shared -o $lib $libobjs $deplibs $linker_flags' # ELF
9471 hardcode_libdir_flag_spec='-R$libdir'
9473 hardcode_shlibpath_var=no
9477 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
9479 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
9480 hardcode_libdir_separator=:
9481 hardcode_shlibpath_var=no
9488 if test -f /usr/libexec/ld.so; then
9490 hardcode_shlibpath_var=no
9491 hardcode_direct_absolute=yes
9492 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
9493 archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
9494 archive_expsym_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-retain-symbols-file,$export_symbols'
9495 hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
9496 export_dynamic_flag_spec='${wl}-E'
9499 openbsd[01].* | openbsd2.[0-7] | openbsd2.[0-7].*)
9500 archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
9501 hardcode_libdir_flag_spec='-R$libdir'
9504 archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
9505 hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
9515 hardcode_libdir_flag_spec='-L$libdir'
9516 hardcode_minus_L=yes
9517 allow_undefined_flag=unsupported
9518 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'
9519 old_archive_from_new_cmds='emximp -o $output_objdir/$libname.a $output_objdir/$libname.def'
9523 if test "$GCC" = yes; then
9524 allow_undefined_flag=' ${wl}-expect_unresolved ${wl}\*'
9525 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'
9527 allow_undefined_flag=' -expect_unresolved \*'
9528 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'
9530 archive_cmds_need_lc='no'
9531 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
9532 hardcode_libdir_separator=:
9535 osf4* | osf5*) # as osf3* with the addition of -msym flag
9536 if test "$GCC" = yes; then
9537 allow_undefined_flag=' ${wl}-expect_unresolved ${wl}\*'
9538 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'
9539 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
9541 allow_undefined_flag=' -expect_unresolved \*'
9542 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'
9543 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~
9544 $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'
9546 # Both c and cxx compiler support -rpath directly
9547 hardcode_libdir_flag_spec='-rpath $libdir'
9549 archive_cmds_need_lc='no'
9550 hardcode_libdir_separator=:
9554 no_undefined_flag=' -z defs'
9555 if test "$GCC" = yes; then
9557 archive_cmds='$CC -shared $pic_flag ${wl}-z ${wl}text ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
9558 archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
9559 $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'
9561 case `$CC -V 2>&1` in
9564 archive_cmds='$LD -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $linker_flags'
9565 archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
9566 $LD -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$RM $lib.exp'
9570 archive_cmds='$CC -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $compiler_flags'
9571 archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
9572 $CC -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $compiler_flags~$RM $lib.exp'
9576 hardcode_libdir_flag_spec='-R$libdir'
9577 hardcode_shlibpath_var=no
9579 solaris2.[0-5] | solaris2.[0-5].*) ;;
9581 # The compiler driver will combine and reorder linker options,
9582 # but understands `-z linker_flag'. GCC discards it without `$wl',
9583 # but is careful enough not to reorder.
9584 # Supported since Solaris 2.6 (maybe 2.5.1?)
9585 if test "$GCC" = yes; then
9586 whole_archive_flag_spec='${wl}-z ${wl}allextract$convenience ${wl}-z ${wl}defaultextract'
9588 whole_archive_flag_spec='-z allextract$convenience -z defaultextract'
9592 link_all_deplibs=yes
9596 if test "x$host_vendor" = xsequent; then
9597 # Use $CC to link under sequent, because it throws in some extra .o
9598 # files that make .init and .fini sections work.
9599 archive_cmds='$CC -G ${wl}-h $soname -o $lib $libobjs $deplibs $compiler_flags'
9601 archive_cmds='$LD -assert pure-text -Bstatic -o $lib $libobjs $deplibs $linker_flags'
9603 hardcode_libdir_flag_spec='-L$libdir'
9605 hardcode_minus_L=yes
9606 hardcode_shlibpath_var=no
9610 case $host_vendor in
9612 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
9613 hardcode_direct=yes # is this really true???
9616 ## LD is ld it makes a PLAMLIB
9617 ## CC just makes a GrossModule.
9618 archive_cmds='$LD -G -o $lib $libobjs $deplibs $linker_flags'
9619 reload_cmds='$CC -r -o $output$reload_objs'
9623 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
9624 hardcode_direct=no #Motorola manual says yes, but my tests say they lie
9627 runpath_var='LD_RUN_PATH'
9628 hardcode_shlibpath_var=no
9632 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
9633 hardcode_shlibpath_var=no
9634 export_dynamic_flag_spec='-Bexport'
9638 if test -d /usr/nec; then
9639 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
9640 hardcode_shlibpath_var=no
9641 runpath_var=LD_RUN_PATH
9642 hardcode_runpath_var=yes
9647 sysv4*uw2* | sysv5OpenUNIX* | sysv5UnixWare7.[01].[10]* | unixware7* | sco3.2v5.0.[024]*)
9648 no_undefined_flag='${wl}-z,text'
9649 archive_cmds_need_lc=no
9650 hardcode_shlibpath_var=no
9651 runpath_var='LD_RUN_PATH'
9653 if test "$GCC" = yes; then
9654 archive_cmds='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
9655 archive_expsym_cmds='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
9657 archive_cmds='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
9658 archive_expsym_cmds='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
9662 sysv5* | sco3.2v5* | sco5v6*)
9663 # Note: We can NOT use -z defs as we might desire, because we do not
9664 # link with -lc, and that would cause any symbols used from libc to
9665 # always be unresolved, which means just about no library would
9666 # ever link correctly. If we're not using GNU ld we use -z text
9667 # though, which does catch some bad symbols but isn't as heavy-handed
9669 no_undefined_flag='${wl}-z,text'
9670 allow_undefined_flag='${wl}-z,nodefs'
9671 archive_cmds_need_lc=no
9672 hardcode_shlibpath_var=no
9673 hardcode_libdir_flag_spec='${wl}-R,$libdir'
9674 hardcode_libdir_separator=':'
9675 link_all_deplibs=yes
9676 export_dynamic_flag_spec='${wl}-Bexport'
9677 runpath_var='LD_RUN_PATH'
9679 if test "$GCC" = yes; then
9680 archive_cmds='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
9681 archive_expsym_cmds='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
9683 archive_cmds='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
9684 archive_expsym_cmds='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
9689 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
9690 hardcode_libdir_flag_spec='-L$libdir'
9691 hardcode_shlibpath_var=no
9699 if test x$host_vendor = xsni; then
9701 sysv4 | sysv4.2uw2* | sysv4.3* | sysv5*)
9702 export_dynamic_flag_spec='${wl}-Blargedynsym'
9708 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ld_shlibs" >&5
9709 $as_echo "$ld_shlibs" >&6; }
9710 test "$ld_shlibs" = no && can_build_shared=no
9712 with_gnu_ld=$with_gnu_ld
9729 # Do we need to explicitly link libc?
9731 case "x$archive_cmds_need_lc" in
9733 # Assume -lc should be added
9734 archive_cmds_need_lc=yes
9736 if test "$enable_shared" = yes && test "$GCC" = yes; then
9737 case $archive_cmds in
9739 # FIXME: we may have to deal with multi-command sequences.
9742 # Test whether the compiler implicitly links with -lc since on some
9743 # systems, -lgcc has to come before -lc. If gcc already passes -lc
9744 # to ld, don't add -lc before -lgcc.
9745 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether -lc should be explicitly linked in" >&5
9746 $as_echo_n "checking whether -lc should be explicitly linked in... " >&6; }
9747 if ${lt_cv_archive_cmds_need_lc+:} false; then :
9748 $as_echo_n "(cached) " >&6
9751 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
9753 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
9754 (eval $ac_compile) 2>&5
9756 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
9757 test $ac_status = 0; } 2>conftest.err; then
9760 libobjs=conftest.$ac_objext
9762 wl=$lt_prog_compiler_wl
9763 pic_flag=$lt_prog_compiler_pic
9769 lt_save_allow_undefined_flag=$allow_undefined_flag
9770 allow_undefined_flag=
9771 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$archive_cmds 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1\""; } >&5
9772 (eval $archive_cmds 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1) 2>&5
9774 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
9775 test $ac_status = 0; }
9777 lt_cv_archive_cmds_need_lc=no
9779 lt_cv_archive_cmds_need_lc=yes
9781 allow_undefined_flag=$lt_save_allow_undefined_flag
9783 cat conftest.err 1>&5
9788 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_archive_cmds_need_lc" >&5
9789 $as_echo "$lt_cv_archive_cmds_need_lc" >&6; }
9790 archive_cmds_need_lc=$lt_cv_archive_cmds_need_lc
9948 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dynamic linker characteristics" >&5
9949 $as_echo_n "checking dynamic linker characteristics... " >&6; }
9951 if test "$GCC" = yes; then
9953 darwin*) lt_awk_arg="/^libraries:/,/LR/" ;;
9954 *) lt_awk_arg="/^libraries:/" ;;
9957 mingw* | cegcc*) lt_sed_strip_eq="s,=\([A-Za-z]:\),\1,g" ;;
9958 *) lt_sed_strip_eq="s,=/,/,g" ;;
9960 lt_search_path_spec=`$CC -print-search-dirs | awk $lt_awk_arg | $SED -e "s/^libraries://" -e $lt_sed_strip_eq`
9961 case $lt_search_path_spec in
9963 # if the path contains ";" then we assume it to be the separator
9964 # otherwise default to the standard path separator (i.e. ":") - it is
9965 # assumed that no part of a normal pathname contains ";" but that should
9966 # okay in the real world where ";" in dirpaths is itself problematic.
9967 lt_search_path_spec=`$ECHO "$lt_search_path_spec" | $SED 's/;/ /g'`
9970 lt_search_path_spec=`$ECHO "$lt_search_path_spec" | $SED "s/$PATH_SEPARATOR/ /g"`
9973 # Ok, now we have the path, separated by spaces, we can step through it
9974 # and add multilib dir if necessary.
9975 lt_tmp_lt_search_path_spec=
9976 lt_multi_os_dir=`$CC $CPPFLAGS $CFLAGS $LDFLAGS -print-multi-os-directory 2>/dev/null`
9977 for lt_sys_path in $lt_search_path_spec; do
9978 if test -d "$lt_sys_path/$lt_multi_os_dir"; then
9979 lt_tmp_lt_search_path_spec="$lt_tmp_lt_search_path_spec $lt_sys_path/$lt_multi_os_dir"
9981 test -d "$lt_sys_path" && \
9982 lt_tmp_lt_search_path_spec="$lt_tmp_lt_search_path_spec $lt_sys_path"
9985 lt_search_path_spec=`$ECHO "$lt_tmp_lt_search_path_spec" | awk '
9986 BEGIN {RS=" "; FS="/|\n";} {
9989 for (lt_i = NF; lt_i > 0; lt_i--) {
9990 if ($lt_i != "" && $lt_i != ".") {
9991 if ($lt_i == "..") {
9994 if (lt_count == 0) {
9995 lt_foo="/" $lt_i lt_foo;
10002 if (lt_foo != "") { lt_freq[lt_foo]++; }
10003 if (lt_freq[lt_foo] == 1) { print lt_foo; }
10005 # AWK program above erroneously prepends '/' to C:/dos/paths
10008 mingw* | cegcc*) lt_search_path_spec=`$ECHO "$lt_search_path_spec" |\
10009 $SED 's,/\([A-Za-z]:\),\1,g'` ;;
10011 sys_lib_search_path_spec=`$ECHO "$lt_search_path_spec" | $lt_NL2SP`
10013 sys_lib_search_path_spec="/lib /usr/lib /usr/local/lib"
10015 library_names_spec=
10016 libname_spec='lib$name'
10020 postuninstall_cmds=
10024 shlibpath_overrides_runpath=unknown
10026 dynamic_linker="$host_os ld.so"
10027 sys_lib_dlsearch_path_spec="/lib /usr/lib"
10028 need_lib_prefix=unknown
10029 hardcode_into_libs=no
10031 # when you set need_version to no, make sure it does not cause -set_version
10032 # flags to be left without arguments
10033 need_version=unknown
10037 version_type=linux # correct to gnu/linux during the next big refactor
10038 library_names_spec='${libname}${release}${shared_ext}$versuffix $libname.a'
10039 shlibpath_var=LIBPATH
10041 # AIX 3 has no versioning support, so we append a major version to the name.
10042 soname_spec='${libname}${release}${shared_ext}$major'
10046 version_type=linux # correct to gnu/linux during the next big refactor
10049 hardcode_into_libs=yes
10050 if test "$host_cpu" = ia64; then
10051 # AIX 5 supports IA64
10052 library_names_spec='${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext}$versuffix $libname${shared_ext}'
10053 shlibpath_var=LD_LIBRARY_PATH
10055 # With GCC up to 2.95.x, collect2 would create an import file
10056 # for dependence libraries. The import file would start with
10057 # the line `#! .'. This would cause the generated library to
10058 # depend on `.', always an invalid library. This was fixed in
10059 # development snapshots of GCC prior to 3.0.
10061 aix4 | aix4.[01] | aix4.[01].*)
10062 if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
10064 echo '#endif'; } | ${CC} -E - | $GREP yes > /dev/null; then
10067 can_build_shared=no
10071 # AIX (on Power*) has no versioning support, so currently we can not hardcode correct
10072 # soname into executable. Probably we can add versioning support to
10073 # collect2, so additional links can be useful in future.
10074 if test "$aix_use_runtimelinking" = yes; then
10075 # If using run time linking (on AIX 4.2 or later) use lib<name>.so
10076 # instead of lib<name>.a to let people know that these are not
10077 # typical AIX shared libraries.
10078 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10080 # We preserve .a as extension for shared libraries through AIX4.2
10081 # and later when we are not doing run time linking.
10082 library_names_spec='${libname}${release}.a $libname.a'
10083 soname_spec='${libname}${release}${shared_ext}$major'
10085 shlibpath_var=LIBPATH
10092 # Since July 2007 AmigaOS4 officially supports .so libraries.
10093 # When compiling the executable, add -use-dynld -Lsobjs: to the compileline.
10094 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10097 library_names_spec='$libname.ixlibrary $libname.a'
10098 # Create ${libname}_ixlibrary.a entries in /sys/libs.
10099 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'
10105 library_names_spec='${libname}${shared_ext}'
10106 dynamic_linker="$host_os ld.so"
10107 shlibpath_var=LIBRARY_PATH
10111 version_type=linux # correct to gnu/linux during the next big refactor
10113 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10114 soname_spec='${libname}${release}${shared_ext}$major'
10115 finish_cmds='PATH="\$PATH:/sbin" ldconfig $libdir'
10116 shlibpath_var=LD_LIBRARY_PATH
10117 sys_lib_search_path_spec="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
10118 sys_lib_dlsearch_path_spec="/shlib /usr/lib /usr/local/lib"
10119 # the default ld.so.conf also contains /usr/contrib/lib and
10120 # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
10121 # libtool to hard-code these into programs
10124 cygwin* | mingw* | pw32* | cegcc*)
10125 version_type=windows
10130 case $GCC,$cc_basename in
10133 library_names_spec='$libname.dll.a'
10134 # DLL is installed to $(libdir)/../bin by postinstall_cmds
10135 postinstall_cmds='base_file=`basename \${file}`~
10136 dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i; echo \$dlname'\''`~
10137 dldir=$destdir/`dirname \$dlpath`~
10138 test -d \$dldir || mkdir -p \$dldir~
10139 $install_prog $dir/$dlname \$dldir/$dlname~
10140 chmod a+x \$dldir/$dlname~
10141 if test -n '\''$stripme'\'' && test -n '\''$striplib'\''; then
10142 eval '\''$striplib \$dldir/$dlname'\'' || exit \$?;
10144 postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
10145 dlpath=$dir/\$dldll~
10147 shlibpath_overrides_runpath=yes
10151 # Cygwin DLLs use 'cyg' prefix rather than 'lib'
10152 soname_spec='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
10154 sys_lib_search_path_spec="$sys_lib_search_path_spec /usr/lib/w32api"
10157 # MinGW DLLs use traditional 'lib' prefix
10158 soname_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
10161 # pw32 DLLs use 'pw' prefix rather than 'lib'
10162 library_names_spec='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
10165 dynamic_linker='Win32 ld.exe'
10170 libname_spec='$name'
10171 soname_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
10172 library_names_spec='${libname}.dll.lib'
10176 sys_lib_search_path_spec=
10179 for lt_path in $LIB
10182 # Let DOS variable expansion print the short 8.3 style file name.
10183 lt_path=`cd "$lt_path" 2>/dev/null && cmd //C "for %i in (".") do @echo %~si"`
10184 sys_lib_search_path_spec="$sys_lib_search_path_spec $lt_path"
10187 # Convert to MSYS style.
10188 sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | sed -e 's|\\\\|/|g' -e 's| \\([a-zA-Z]\\):| /\\1|g' -e 's|^ ||'`
10191 # Convert to unix form, then to dos form, then back to unix form
10192 # but this time dos style (no spaces!) so that the unix form looks
10193 # like /cygdrive/c/PROGRA~1:/cygdr...
10194 sys_lib_search_path_spec=`cygpath --path --unix "$LIB"`
10195 sys_lib_search_path_spec=`cygpath --path --dos "$sys_lib_search_path_spec" 2>/dev/null`
10196 sys_lib_search_path_spec=`cygpath --path --unix "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
10199 sys_lib_search_path_spec="$LIB"
10200 if $ECHO "$sys_lib_search_path_spec" | $GREP ';[c-zC-Z]:/' >/dev/null; then
10201 # It is most probably a Windows format PATH.
10202 sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
10204 sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
10206 # FIXME: find the short name or the path components, as spaces are
10207 # common. (e.g. "Program Files" -> "PROGRA~1")
10211 # DLL is installed to $(libdir)/../bin by postinstall_cmds
10212 postinstall_cmds='base_file=`basename \${file}`~
10213 dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i; echo \$dlname'\''`~
10214 dldir=$destdir/`dirname \$dlpath`~
10215 test -d \$dldir || mkdir -p \$dldir~
10216 $install_prog $dir/$dlname \$dldir/$dlname'
10217 postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
10218 dlpath=$dir/\$dldll~
10220 shlibpath_overrides_runpath=yes
10221 dynamic_linker='Win32 link.exe'
10225 # Assume MSVC wrapper
10226 library_names_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext} $libname.lib'
10227 dynamic_linker='Win32 ld.exe'
10230 # FIXME: first we should search . and the directory the executable is in
10234 darwin* | rhapsody*)
10235 dynamic_linker="$host_os dyld"
10236 version_type=darwin
10239 library_names_spec='${libname}${release}${major}$shared_ext ${libname}$shared_ext'
10240 soname_spec='${libname}${release}${major}$shared_ext'
10241 shlibpath_overrides_runpath=yes
10242 shlibpath_var=DYLD_LIBRARY_PATH
10243 shrext_cmds='`test .$module = .yes && echo .so || echo .dylib`'
10245 sys_lib_search_path_spec="$sys_lib_search_path_spec /usr/local/lib"
10246 sys_lib_dlsearch_path_spec='/usr/local/lib /lib /usr/lib'
10250 version_type=linux # correct to gnu/linux during the next big refactor
10253 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname$shared_ext'
10254 soname_spec='${libname}${release}${shared_ext}$major'
10255 shlibpath_var=LD_LIBRARY_PATH
10258 freebsd* | dragonfly*)
10259 # DragonFly does not have aout. When/if they implement a new
10260 # versioning mechanism, adjust this.
10261 if test -x /usr/bin/objformat; then
10262 objformat=`/usr/bin/objformat`
10265 freebsd[23].*) objformat=aout ;;
10266 *) objformat=elf ;;
10269 version_type=freebsd-$objformat
10270 case $version_type in
10272 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
10277 library_names_spec='${libname}${release}${shared_ext}$versuffix $libname${shared_ext}$versuffix'
10281 shlibpath_var=LD_LIBRARY_PATH
10284 shlibpath_overrides_runpath=yes
10286 freebsd3.[01]* | freebsdelf3.[01]*)
10287 shlibpath_overrides_runpath=yes
10288 hardcode_into_libs=yes
10290 freebsd3.[2-9]* | freebsdelf3.[2-9]* | \
10291 freebsd4.[0-5] | freebsdelf4.[0-5] | freebsd4.1.1 | freebsdelf4.1.1)
10292 shlibpath_overrides_runpath=no
10293 hardcode_into_libs=yes
10295 *) # from 4.6 on, and DragonFly
10296 shlibpath_overrides_runpath=yes
10297 hardcode_into_libs=yes
10303 version_type=linux # correct to gnu/linux during the next big refactor
10306 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
10307 soname_spec='${libname}${release}${shared_ext}$major'
10308 shlibpath_var=LD_LIBRARY_PATH
10309 shlibpath_overrides_runpath=no
10310 hardcode_into_libs=yes
10314 version_type=linux # correct to gnu/linux during the next big refactor
10317 dynamic_linker="$host_os runtime_loader"
10318 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
10319 soname_spec='${libname}${release}${shared_ext}$major'
10320 shlibpath_var=LIBRARY_PATH
10321 shlibpath_overrides_runpath=yes
10322 sys_lib_dlsearch_path_spec='/boot/home/config/lib /boot/common/lib /boot/system/lib'
10323 hardcode_into_libs=yes
10326 hpux9* | hpux10* | hpux11*)
10327 # Give a soname corresponding to the major version so that dld.sl refuses to
10328 # link against other versions.
10335 hardcode_into_libs=yes
10336 dynamic_linker="$host_os dld.so"
10337 shlibpath_var=LD_LIBRARY_PATH
10338 shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
10339 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10340 soname_spec='${libname}${release}${shared_ext}$major'
10341 if test "X$HPUX_IA64_MODE" = X32; then
10342 sys_lib_search_path_spec="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
10344 sys_lib_search_path_spec="/usr/lib/hpux64 /usr/local/lib/hpux64"
10346 sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
10350 hardcode_into_libs=yes
10351 dynamic_linker="$host_os dld.sl"
10352 shlibpath_var=LD_LIBRARY_PATH # How should we handle SHLIB_PATH
10353 shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
10354 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10355 soname_spec='${libname}${release}${shared_ext}$major'
10356 sys_lib_search_path_spec="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
10357 sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
10361 dynamic_linker="$host_os dld.sl"
10362 shlibpath_var=SHLIB_PATH
10363 shlibpath_overrides_runpath=no # +s is required to enable SHLIB_PATH
10364 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10365 soname_spec='${libname}${release}${shared_ext}$major'
10368 # HP-UX runs *really* slowly unless shared libraries are mode 555, ...
10369 postinstall_cmds='chmod 555 $lib'
10370 # or fails outright, so override atomically:
10371 install_override_mode=555
10375 version_type=linux # correct to gnu/linux during the next big refactor
10378 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
10379 soname_spec='${libname}${release}${shared_ext}$major'
10380 dynamic_linker='Interix 3.x ld.so.1 (PE, like ELF)'
10381 shlibpath_var=LD_LIBRARY_PATH
10382 shlibpath_overrides_runpath=no
10383 hardcode_into_libs=yes
10386 irix5* | irix6* | nonstopux*)
10388 nonstopux*) version_type=nonstopux ;;
10390 if test "$lt_cv_prog_gnu_ld" = yes; then
10391 version_type=linux # correct to gnu/linux during the next big refactor
10398 soname_spec='${libname}${release}${shared_ext}$major'
10399 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} $libname${shared_ext}'
10401 irix5* | nonstopux*)
10402 libsuff= shlibsuff=
10405 case $LD in # libtool.m4 will add one of these switches to LD
10406 *-32|*"-32 "|*-melf32bsmip|*"-melf32bsmip ")
10407 libsuff= shlibsuff= libmagic=32-bit;;
10408 *-n32|*"-n32 "|*-melf32bmipn32|*"-melf32bmipn32 ")
10409 libsuff=32 shlibsuff=N32 libmagic=N32;;
10410 *-64|*"-64 "|*-melf64bmip|*"-melf64bmip ")
10411 libsuff=64 shlibsuff=64 libmagic=64-bit;;
10412 *) libsuff= shlibsuff= libmagic=never-match;;
10416 shlibpath_var=LD_LIBRARY${shlibsuff}_PATH
10417 shlibpath_overrides_runpath=no
10418 sys_lib_search_path_spec="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}"
10419 sys_lib_dlsearch_path_spec="/usr/lib${libsuff} /lib${libsuff}"
10420 hardcode_into_libs=yes
10423 # No shared lib support for Linux oldld, aout, or coff.
10424 linux*oldld* | linux*aout* | linux*coff*)
10428 # This must be glibc/ELF.
10429 linux* | k*bsd*-gnu | kopensolaris*-gnu)
10430 version_type=linux # correct to gnu/linux during the next big refactor
10433 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10434 soname_spec='${libname}${release}${shared_ext}$major'
10435 finish_cmds='PATH="\$PATH:/sbin" ldconfig -n $libdir'
10436 shlibpath_var=LD_LIBRARY_PATH
10437 shlibpath_overrides_runpath=no
10439 # Some binutils ld are patched to set DT_RUNPATH
10440 if ${lt_cv_shlibpath_overrides_runpath+:} false; then :
10441 $as_echo_n "(cached) " >&6
10443 lt_cv_shlibpath_overrides_runpath=no
10444 save_LDFLAGS=$LDFLAGS
10445 save_libdir=$libdir
10446 eval "libdir=/foo; wl=\"$lt_prog_compiler_wl\"; \
10447 LDFLAGS=\"\$LDFLAGS $hardcode_libdir_flag_spec\""
10448 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10449 /* end confdefs.h. */
10459 if ac_fn_c_try_link "$LINENO"; then :
10460 if ($OBJDUMP -p conftest$ac_exeext) 2>/dev/null | grep "RUNPATH.*$libdir" >/dev/null; then :
10461 lt_cv_shlibpath_overrides_runpath=yes
10464 rm -f core conftest.err conftest.$ac_objext \
10465 conftest$ac_exeext conftest.$ac_ext
10466 LDFLAGS=$save_LDFLAGS
10467 libdir=$save_libdir
10471 shlibpath_overrides_runpath=$lt_cv_shlibpath_overrides_runpath
10473 # This implies no fast_install, which is unacceptable.
10474 # Some rework will be needed to allow for fast_install
10475 # before this can be enabled.
10476 hardcode_into_libs=yes
10478 # Add ABI-specific directories to the system library path.
10479 sys_lib_dlsearch_path_spec="/lib64 /usr/lib64 /lib /usr/lib"
10481 # Append ld.so.conf contents to the search path
10482 if test -f /etc/ld.so.conf; then
10483 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' ' '`
10484 sys_lib_dlsearch_path_spec="$sys_lib_dlsearch_path_spec $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 if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
10502 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
10503 finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
10504 dynamic_linker='NetBSD (a.out) ld.so'
10506 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
10507 soname_spec='${libname}${release}${shared_ext}$major'
10508 dynamic_linker='NetBSD ld.elf_so'
10510 shlibpath_var=LD_LIBRARY_PATH
10511 shlibpath_overrides_runpath=yes
10512 hardcode_into_libs=yes
10516 version_type=linux # correct to gnu/linux during the next big refactor
10517 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10518 shlibpath_var=LD_LIBRARY_PATH
10519 shlibpath_overrides_runpath=yes
10526 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10527 soname_spec='${libname}${release}${shared_ext}$major'
10528 shlibpath_var=LD_LIBRARY_PATH
10529 shlibpath_overrides_runpath=no
10530 hardcode_into_libs=yes
10531 dynamic_linker='ldqnx.so'
10536 sys_lib_dlsearch_path_spec="/usr/lib"
10538 # Some older versions of OpenBSD (3.3 at least) *do* need versioned libs.
10540 openbsd3.3 | openbsd3.3.*) need_version=yes ;;
10541 *) need_version=no ;;
10543 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
10544 finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
10545 shlibpath_var=LD_LIBRARY_PATH
10546 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
10548 openbsd2.[89] | openbsd2.[89].*)
10549 shlibpath_overrides_runpath=no
10552 shlibpath_overrides_runpath=yes
10556 shlibpath_overrides_runpath=yes
10561 libname_spec='$name'
10564 library_names_spec='$libname${shared_ext} $libname.a'
10565 dynamic_linker='OS/2 ld.exe'
10566 shlibpath_var=LIBPATH
10569 osf3* | osf4* | osf5*)
10573 soname_spec='${libname}${release}${shared_ext}$major'
10574 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10575 shlibpath_var=LD_LIBRARY_PATH
10576 sys_lib_search_path_spec="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
10577 sys_lib_dlsearch_path_spec="$sys_lib_search_path_spec"
10585 version_type=linux # correct to gnu/linux during the next big refactor
10588 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10589 soname_spec='${libname}${release}${shared_ext}$major'
10590 shlibpath_var=LD_LIBRARY_PATH
10591 shlibpath_overrides_runpath=yes
10592 hardcode_into_libs=yes
10593 # ldd complains unless libraries are executable
10594 postinstall_cmds='chmod +x $lib'
10599 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
10600 finish_cmds='PATH="\$PATH:/usr/etc" ldconfig $libdir'
10601 shlibpath_var=LD_LIBRARY_PATH
10602 shlibpath_overrides_runpath=yes
10603 if test "$with_gnu_ld" = yes; then
10610 version_type=linux # correct to gnu/linux during the next big refactor
10611 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10612 soname_spec='${libname}${release}${shared_ext}$major'
10613 shlibpath_var=LD_LIBRARY_PATH
10614 case $host_vendor in
10616 shlibpath_overrides_runpath=no
10618 runpath_var=LD_RUN_PATH
10626 shlibpath_overrides_runpath=no
10627 sys_lib_search_path_spec='/lib /usr/lib /usr/ccs/lib'
10633 if test -d /usr/nec ;then
10634 version_type=linux # correct to gnu/linux during the next big refactor
10635 library_names_spec='$libname${shared_ext}.$versuffix $libname${shared_ext}.$major $libname${shared_ext}'
10636 soname_spec='$libname${shared_ext}.$major'
10637 shlibpath_var=LD_LIBRARY_PATH
10641 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
10642 version_type=freebsd-elf
10645 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
10646 soname_spec='${libname}${release}${shared_ext}$major'
10647 shlibpath_var=LD_LIBRARY_PATH
10648 shlibpath_overrides_runpath=yes
10649 hardcode_into_libs=yes
10650 if test "$with_gnu_ld" = yes; then
10651 sys_lib_search_path_spec='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib'
10653 sys_lib_search_path_spec='/usr/ccs/lib /usr/lib'
10656 sys_lib_search_path_spec="$sys_lib_search_path_spec /lib"
10660 sys_lib_dlsearch_path_spec='/usr/lib'
10664 # TPF is a cross-target only. Preferred cross-host = GNU/Linux.
10665 version_type=linux # correct to gnu/linux during the next big refactor
10668 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10669 shlibpath_var=LD_LIBRARY_PATH
10670 shlibpath_overrides_runpath=no
10671 hardcode_into_libs=yes
10675 version_type=linux # correct to gnu/linux during the next big refactor
10676 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10677 soname_spec='${libname}${release}${shared_ext}$major'
10678 shlibpath_var=LD_LIBRARY_PATH
10685 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $dynamic_linker" >&5
10686 $as_echo "$dynamic_linker" >&6; }
10687 test "$dynamic_linker" = no && can_build_shared=no
10689 variables_saved_for_relink="PATH $shlibpath_var $runpath_var"
10690 if test "$GCC" = yes; then
10691 variables_saved_for_relink="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
10694 if test "${lt_cv_sys_lib_search_path_spec+set}" = set; then
10695 sys_lib_search_path_spec="$lt_cv_sys_lib_search_path_spec"
10697 if test "${lt_cv_sys_lib_dlsearch_path_spec+set}" = set; then
10698 sys_lib_dlsearch_path_spec="$lt_cv_sys_lib_dlsearch_path_spec"
10792 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to hardcode library paths into programs" >&5
10793 $as_echo_n "checking how to hardcode library paths into programs... " >&6; }
10795 if test -n "$hardcode_libdir_flag_spec" ||
10796 test -n "$runpath_var" ||
10797 test "X$hardcode_automatic" = "Xyes" ; then
10799 # We can hardcode non-existent directories.
10800 if test "$hardcode_direct" != no &&
10801 # If the only mechanism to avoid hardcoding is shlibpath_var, we
10802 # have to relink, otherwise we might link with an installed library
10803 # when we should be linking with a yet-to-be-installed one
10804 ## test "$_LT_TAGVAR(hardcode_shlibpath_var, )" != no &&
10805 test "$hardcode_minus_L" != no; then
10806 # Linking always hardcodes the temporary library directory.
10807 hardcode_action=relink
10809 # We can link without hardcoding, and we can hardcode nonexisting dirs.
10810 hardcode_action=immediate
10813 # We cannot hardcode anything, or else we can only hardcode existing
10815 hardcode_action=unsupported
10817 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hardcode_action" >&5
10818 $as_echo "$hardcode_action" >&6; }
10820 if test "$hardcode_action" = relink ||
10821 test "$inherit_rpath" = yes; then
10822 # Fast installation is not supported
10823 enable_fast_install=no
10824 elif test "$shlibpath_overrides_runpath" = yes ||
10825 test "$enable_shared" = no; then
10826 # Fast installation is not necessary
10827 enable_fast_install=needless
10835 if test "x$enable_dlopen" != xyes; then
10836 enable_dlopen=unknown
10837 enable_dlopen_self=unknown
10838 enable_dlopen_self_static=unknown
10845 lt_cv_dlopen="load_add_on"
10847 lt_cv_dlopen_self=yes
10850 mingw* | pw32* | cegcc*)
10851 lt_cv_dlopen="LoadLibrary"
10856 lt_cv_dlopen="dlopen"
10861 # if libdl is installed we need to link against it
10862 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
10863 $as_echo_n "checking for dlopen in -ldl... " >&6; }
10864 if ${ac_cv_lib_dl_dlopen+:} false; then :
10865 $as_echo_n "(cached) " >&6
10867 ac_check_lib_save_LIBS=$LIBS
10869 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10870 /* end confdefs.h. */
10872 /* Override any GCC internal prototype to avoid an error.
10873 Use char because int might match the return type of a GCC
10874 builtin and then its argument prototype would still apply. */
10887 if ac_fn_c_try_link "$LINENO"; then :
10888 ac_cv_lib_dl_dlopen=yes
10890 ac_cv_lib_dl_dlopen=no
10892 rm -f core conftest.err conftest.$ac_objext \
10893 conftest$ac_exeext conftest.$ac_ext
10894 LIBS=$ac_check_lib_save_LIBS
10896 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
10897 $as_echo "$ac_cv_lib_dl_dlopen" >&6; }
10898 if test "x$ac_cv_lib_dl_dlopen" = xyes; then :
10899 lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl"
10902 lt_cv_dlopen="dyld"
10904 lt_cv_dlopen_self=yes
10911 ac_fn_c_check_func "$LINENO" "shl_load" "ac_cv_func_shl_load"
10912 if test "x$ac_cv_func_shl_load" = xyes; then :
10913 lt_cv_dlopen="shl_load"
10915 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for shl_load in -ldld" >&5
10916 $as_echo_n "checking for shl_load in -ldld... " >&6; }
10917 if ${ac_cv_lib_dld_shl_load+:} false; then :
10918 $as_echo_n "(cached) " >&6
10920 ac_check_lib_save_LIBS=$LIBS
10922 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10923 /* end confdefs.h. */
10925 /* Override any GCC internal prototype to avoid an error.
10926 Use char because int might match the return type of a GCC
10927 builtin and then its argument prototype would still apply. */
10935 return shl_load ();
10940 if ac_fn_c_try_link "$LINENO"; then :
10941 ac_cv_lib_dld_shl_load=yes
10943 ac_cv_lib_dld_shl_load=no
10945 rm -f core conftest.err conftest.$ac_objext \
10946 conftest$ac_exeext conftest.$ac_ext
10947 LIBS=$ac_check_lib_save_LIBS
10949 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_shl_load" >&5
10950 $as_echo "$ac_cv_lib_dld_shl_load" >&6; }
10951 if test "x$ac_cv_lib_dld_shl_load" = xyes; then :
10952 lt_cv_dlopen="shl_load" lt_cv_dlopen_libs="-ldld"
10954 ac_fn_c_check_func "$LINENO" "dlopen" "ac_cv_func_dlopen"
10955 if test "x$ac_cv_func_dlopen" = xyes; then :
10956 lt_cv_dlopen="dlopen"
10958 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
10959 $as_echo_n "checking for dlopen in -ldl... " >&6; }
10960 if ${ac_cv_lib_dl_dlopen+:} false; then :
10961 $as_echo_n "(cached) " >&6
10963 ac_check_lib_save_LIBS=$LIBS
10965 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10966 /* end confdefs.h. */
10968 /* Override any GCC internal prototype to avoid an error.
10969 Use char because int might match the return type of a GCC
10970 builtin and then its argument prototype would still apply. */
10983 if ac_fn_c_try_link "$LINENO"; then :
10984 ac_cv_lib_dl_dlopen=yes
10986 ac_cv_lib_dl_dlopen=no
10988 rm -f core conftest.err conftest.$ac_objext \
10989 conftest$ac_exeext conftest.$ac_ext
10990 LIBS=$ac_check_lib_save_LIBS
10992 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
10993 $as_echo "$ac_cv_lib_dl_dlopen" >&6; }
10994 if test "x$ac_cv_lib_dl_dlopen" = xyes; then :
10995 lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl"
10997 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -lsvld" >&5
10998 $as_echo_n "checking for dlopen in -lsvld... " >&6; }
10999 if ${ac_cv_lib_svld_dlopen+:} false; then :
11000 $as_echo_n "(cached) " >&6
11002 ac_check_lib_save_LIBS=$LIBS
11003 LIBS="-lsvld $LIBS"
11004 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11005 /* end confdefs.h. */
11007 /* Override any GCC internal prototype to avoid an error.
11008 Use char because int might match the return type of a GCC
11009 builtin and then its argument prototype would still apply. */
11022 if ac_fn_c_try_link "$LINENO"; then :
11023 ac_cv_lib_svld_dlopen=yes
11025 ac_cv_lib_svld_dlopen=no
11027 rm -f core conftest.err conftest.$ac_objext \
11028 conftest$ac_exeext conftest.$ac_ext
11029 LIBS=$ac_check_lib_save_LIBS
11031 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_svld_dlopen" >&5
11032 $as_echo "$ac_cv_lib_svld_dlopen" >&6; }
11033 if test "x$ac_cv_lib_svld_dlopen" = xyes; then :
11034 lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-lsvld"
11036 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dld_link in -ldld" >&5
11037 $as_echo_n "checking for dld_link in -ldld... " >&6; }
11038 if ${ac_cv_lib_dld_dld_link+:} false; then :
11039 $as_echo_n "(cached) " >&6
11041 ac_check_lib_save_LIBS=$LIBS
11043 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11044 /* end confdefs.h. */
11046 /* Override any GCC internal prototype to avoid an error.
11047 Use char because int might match the return type of a GCC
11048 builtin and then its argument prototype would still apply. */
11056 return dld_link ();
11061 if ac_fn_c_try_link "$LINENO"; then :
11062 ac_cv_lib_dld_dld_link=yes
11064 ac_cv_lib_dld_dld_link=no
11066 rm -f core conftest.err conftest.$ac_objext \
11067 conftest$ac_exeext conftest.$ac_ext
11068 LIBS=$ac_check_lib_save_LIBS
11070 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_dld_link" >&5
11071 $as_echo "$ac_cv_lib_dld_dld_link" >&6; }
11072 if test "x$ac_cv_lib_dld_dld_link" = xyes; then :
11073 lt_cv_dlopen="dld_link" lt_cv_dlopen_libs="-ldld"
11094 if test "x$lt_cv_dlopen" != xno; then
11100 case $lt_cv_dlopen in
11102 save_CPPFLAGS="$CPPFLAGS"
11103 test "x$ac_cv_header_dlfcn_h" = xyes && CPPFLAGS="$CPPFLAGS -DHAVE_DLFCN_H"
11105 save_LDFLAGS="$LDFLAGS"
11106 wl=$lt_prog_compiler_wl eval LDFLAGS=\"\$LDFLAGS $export_dynamic_flag_spec\"
11109 LIBS="$lt_cv_dlopen_libs $LIBS"
11111 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether a program can dlopen itself" >&5
11112 $as_echo_n "checking whether a program can dlopen itself... " >&6; }
11113 if ${lt_cv_dlopen_self+:} false; then :
11114 $as_echo_n "(cached) " >&6
11116 if test "$cross_compiling" = yes; then :
11117 lt_cv_dlopen_self=cross
11119 lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
11120 lt_status=$lt_dlunknown
11121 cat > conftest.$ac_ext <<_LT_EOF
11122 #line $LINENO "configure"
11123 #include "confdefs.h"
11132 # define LT_DLGLOBAL RTLD_GLOBAL
11135 # define LT_DLGLOBAL DL_GLOBAL
11137 # define LT_DLGLOBAL 0
11141 /* We may have to define LT_DLLAZY_OR_NOW in the command line if we
11142 find out it does not work in some platform. */
11143 #ifndef LT_DLLAZY_OR_NOW
11145 # define LT_DLLAZY_OR_NOW RTLD_LAZY
11148 # define LT_DLLAZY_OR_NOW DL_LAZY
11151 # define LT_DLLAZY_OR_NOW RTLD_NOW
11154 # define LT_DLLAZY_OR_NOW DL_NOW
11156 # define LT_DLLAZY_OR_NOW 0
11163 /* When -fvisbility=hidden is used, assume the code has been annotated
11164 correspondingly for the symbols needed. */
11165 #if defined(__GNUC__) && (((__GNUC__ == 3) && (__GNUC_MINOR__ >= 3)) || (__GNUC__ > 3))
11166 int fnord () __attribute__((visibility("default")));
11169 int fnord () { return 42; }
11172 void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
11173 int status = $lt_dlunknown;
11177 if (dlsym (self,"fnord")) status = $lt_dlno_uscore;
11180 if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
11181 else puts (dlerror ());
11183 /* dlclose (self); */
11191 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
11192 (eval $ac_link) 2>&5
11194 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
11195 test $ac_status = 0; } && test -s conftest${ac_exeext} 2>/dev/null; then
11196 (./conftest; exit; ) >&5 2>/dev/null
11198 case x$lt_status in
11199 x$lt_dlno_uscore) lt_cv_dlopen_self=yes ;;
11200 x$lt_dlneed_uscore) lt_cv_dlopen_self=yes ;;
11201 x$lt_dlunknown|x*) lt_cv_dlopen_self=no ;;
11204 # compilation failed
11205 lt_cv_dlopen_self=no
11212 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_dlopen_self" >&5
11213 $as_echo "$lt_cv_dlopen_self" >&6; }
11215 if test "x$lt_cv_dlopen_self" = xyes; then
11216 wl=$lt_prog_compiler_wl eval LDFLAGS=\"\$LDFLAGS $lt_prog_compiler_static\"
11217 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether a statically linked program can dlopen itself" >&5
11218 $as_echo_n "checking whether a statically linked program can dlopen itself... " >&6; }
11219 if ${lt_cv_dlopen_self_static+:} false; then :
11220 $as_echo_n "(cached) " >&6
11222 if test "$cross_compiling" = yes; then :
11223 lt_cv_dlopen_self_static=cross
11225 lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
11226 lt_status=$lt_dlunknown
11227 cat > conftest.$ac_ext <<_LT_EOF
11228 #line $LINENO "configure"
11229 #include "confdefs.h"
11238 # define LT_DLGLOBAL RTLD_GLOBAL
11241 # define LT_DLGLOBAL DL_GLOBAL
11243 # define LT_DLGLOBAL 0
11247 /* We may have to define LT_DLLAZY_OR_NOW in the command line if we
11248 find out it does not work in some platform. */
11249 #ifndef LT_DLLAZY_OR_NOW
11251 # define LT_DLLAZY_OR_NOW RTLD_LAZY
11254 # define LT_DLLAZY_OR_NOW DL_LAZY
11257 # define LT_DLLAZY_OR_NOW RTLD_NOW
11260 # define LT_DLLAZY_OR_NOW DL_NOW
11262 # define LT_DLLAZY_OR_NOW 0
11269 /* When -fvisbility=hidden is used, assume the code has been annotated
11270 correspondingly for the symbols needed. */
11271 #if defined(__GNUC__) && (((__GNUC__ == 3) && (__GNUC_MINOR__ >= 3)) || (__GNUC__ > 3))
11272 int fnord () __attribute__((visibility("default")));
11275 int fnord () { return 42; }
11278 void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
11279 int status = $lt_dlunknown;
11283 if (dlsym (self,"fnord")) status = $lt_dlno_uscore;
11286 if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
11287 else puts (dlerror ());
11289 /* dlclose (self); */
11297 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
11298 (eval $ac_link) 2>&5
11300 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
11301 test $ac_status = 0; } && test -s conftest${ac_exeext} 2>/dev/null; then
11302 (./conftest; exit; ) >&5 2>/dev/null
11304 case x$lt_status in
11305 x$lt_dlno_uscore) lt_cv_dlopen_self_static=yes ;;
11306 x$lt_dlneed_uscore) lt_cv_dlopen_self_static=yes ;;
11307 x$lt_dlunknown|x*) lt_cv_dlopen_self_static=no ;;
11310 # compilation failed
11311 lt_cv_dlopen_self_static=no
11318 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_dlopen_self_static" >&5
11319 $as_echo "$lt_cv_dlopen_self_static" >&6; }
11322 CPPFLAGS="$save_CPPFLAGS"
11323 LDFLAGS="$save_LDFLAGS"
11328 case $lt_cv_dlopen_self in
11329 yes|no) enable_dlopen_self=$lt_cv_dlopen_self ;;
11330 *) enable_dlopen_self=unknown ;;
11333 case $lt_cv_dlopen_self_static in
11334 yes|no) enable_dlopen_self_static=$lt_cv_dlopen_self_static ;;
11335 *) enable_dlopen_self_static=unknown ;;
11357 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether stripping libraries is possible" >&5
11358 $as_echo_n "checking whether stripping libraries is possible... " >&6; }
11359 if test -n "$STRIP" && $STRIP -V 2>&1 | $GREP "GNU strip" >/dev/null; then
11360 test -z "$old_striplib" && old_striplib="$STRIP --strip-debug"
11361 test -z "$striplib" && striplib="$STRIP --strip-unneeded"
11362 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
11363 $as_echo "yes" >&6; }
11365 # FIXME - insert some real tests, host_os isn't really good enough
11368 if test -n "$STRIP" ; then
11369 striplib="$STRIP -x"
11370 old_striplib="$STRIP -S"
11371 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
11372 $as_echo "yes" >&6; }
11374 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11375 $as_echo "no" >&6; }
11379 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11380 $as_echo "no" >&6; }
11396 # Report which library types will actually be built
11397 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if libtool supports shared libraries" >&5
11398 $as_echo_n "checking if libtool supports shared libraries... " >&6; }
11399 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $can_build_shared" >&5
11400 $as_echo "$can_build_shared" >&6; }
11402 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build shared libraries" >&5
11403 $as_echo_n "checking whether to build shared libraries... " >&6; }
11404 test "$can_build_shared" = "no" && enable_shared=no
11406 # On AIX, shared libraries and static libraries use the same namespace, and
11407 # are all built from PIC.
11410 test "$enable_shared" = yes && enable_static=no
11411 if test -n "$RANLIB"; then
11412 archive_cmds="$archive_cmds~\$RANLIB \$lib"
11413 postinstall_cmds='$RANLIB $lib'
11418 if test "$host_cpu" != ia64 && test "$aix_use_runtimelinking" = no ; then
11419 test "$enable_shared" = yes && enable_static=no
11423 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_shared" >&5
11424 $as_echo "$enable_shared" >&6; }
11426 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build static libraries" >&5
11427 $as_echo_n "checking whether to build static libraries... " >&6; }
11428 # Make sure either enable_shared or enable_static is yes.
11429 test "$enable_shared" = yes || enable_static=yes
11430 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_static" >&5
11431 $as_echo "$enable_static" >&6; }
11438 ac_cpp='$CPP $CPPFLAGS'
11439 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
11440 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
11441 ac_compiler_gnu=$ac_cv_c_compiler_gnu
11459 ac_config_commands="$ac_config_commands libtool"
11464 # Only expand once:
11468 ##--##--##--##--##--##--##--##--##--##--##--##--##--##--##--##--##
11469 ##--##--##--##--##--##--##--##--##--##--##--##--##--##--##--##--##
11473 cat >>confdefs.h <<_ACEOF
11478 cat >>confdefs.h <<_ACEOF
11483 cat >>confdefs.h <<_ACEOF
11488 cat >>confdefs.h <<_ACEOF
11492 version_info="8:7:7"
11496 ##--##--##--##--##--##--##--##--##--##--##--##--##--##--##--##--##
11497 ##--##--##--##--##--##--##--##--##--##--##--##--##--##--##--##--##
11501 ### Needed information
11506 requirement_eeze="ecore >= 1.7.7 eina >= 1.7.7 libudev"
11509 ### Checks for programs
11511 ac_cpp='$CPP $CPPFLAGS'
11512 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
11513 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
11514 ac_compiler_gnu=$ac_cv_c_compiler_gnu
11515 if test -n "$ac_tool_prefix"; then
11516 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
11517 set dummy ${ac_tool_prefix}gcc; ac_word=$2
11518 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
11519 $as_echo_n "checking for $ac_word... " >&6; }
11520 if ${ac_cv_prog_CC+:} false; then :
11521 $as_echo_n "(cached) " >&6
11523 if test -n "$CC"; then
11524 ac_cv_prog_CC="$CC" # Let the user override the test.
11526 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11527 for as_dir in $PATH
11530 test -z "$as_dir" && as_dir=.
11531 for ac_exec_ext in '' $ac_executable_extensions; do
11532 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
11533 ac_cv_prog_CC="${ac_tool_prefix}gcc"
11534 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
11544 if test -n "$CC"; then
11545 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
11546 $as_echo "$CC" >&6; }
11548 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11549 $as_echo "no" >&6; }
11554 if test -z "$ac_cv_prog_CC"; then
11556 # Extract the first word of "gcc", so it can be a program name with args.
11557 set dummy gcc; ac_word=$2
11558 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
11559 $as_echo_n "checking for $ac_word... " >&6; }
11560 if ${ac_cv_prog_ac_ct_CC+:} false; then :
11561 $as_echo_n "(cached) " >&6
11563 if test -n "$ac_ct_CC"; then
11564 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
11566 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11567 for as_dir in $PATH
11570 test -z "$as_dir" && as_dir=.
11571 for ac_exec_ext in '' $ac_executable_extensions; do
11572 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
11573 ac_cv_prog_ac_ct_CC="gcc"
11574 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
11583 ac_ct_CC=$ac_cv_prog_ac_ct_CC
11584 if test -n "$ac_ct_CC"; then
11585 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
11586 $as_echo "$ac_ct_CC" >&6; }
11588 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11589 $as_echo "no" >&6; }
11592 if test "x$ac_ct_CC" = x; then
11595 case $cross_compiling:$ac_tool_warned in
11597 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
11598 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
11599 ac_tool_warned=yes ;;
11604 CC="$ac_cv_prog_CC"
11607 if test -z "$CC"; then
11608 if test -n "$ac_tool_prefix"; then
11609 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
11610 set dummy ${ac_tool_prefix}cc; ac_word=$2
11611 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
11612 $as_echo_n "checking for $ac_word... " >&6; }
11613 if ${ac_cv_prog_CC+:} false; then :
11614 $as_echo_n "(cached) " >&6
11616 if test -n "$CC"; then
11617 ac_cv_prog_CC="$CC" # Let the user override the test.
11619 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11620 for as_dir in $PATH
11623 test -z "$as_dir" && as_dir=.
11624 for ac_exec_ext in '' $ac_executable_extensions; do
11625 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
11626 ac_cv_prog_CC="${ac_tool_prefix}cc"
11627 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
11637 if test -n "$CC"; then
11638 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
11639 $as_echo "$CC" >&6; }
11641 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11642 $as_echo "no" >&6; }
11648 if test -z "$CC"; then
11649 # Extract the first word of "cc", so it can be a program name with args.
11650 set dummy cc; ac_word=$2
11651 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
11652 $as_echo_n "checking for $ac_word... " >&6; }
11653 if ${ac_cv_prog_CC+:} false; then :
11654 $as_echo_n "(cached) " >&6
11656 if test -n "$CC"; then
11657 ac_cv_prog_CC="$CC" # Let the user override the test.
11659 ac_prog_rejected=no
11660 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11661 for as_dir in $PATH
11664 test -z "$as_dir" && as_dir=.
11665 for ac_exec_ext in '' $ac_executable_extensions; do
11666 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
11667 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
11668 ac_prog_rejected=yes
11672 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
11679 if test $ac_prog_rejected = yes; then
11680 # We found a bogon in the path, so make sure we never use it.
11681 set dummy $ac_cv_prog_CC
11683 if test $# != 0; then
11684 # We chose a different compiler from the bogus one.
11685 # However, it has the same basename, so the bogon will be chosen
11686 # first if we set CC to just the basename; use the full file name.
11688 ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
11694 if test -n "$CC"; then
11695 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
11696 $as_echo "$CC" >&6; }
11698 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11699 $as_echo "no" >&6; }
11704 if test -z "$CC"; then
11705 if test -n "$ac_tool_prefix"; then
11706 for ac_prog in cl.exe
11708 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
11709 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
11710 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
11711 $as_echo_n "checking for $ac_word... " >&6; }
11712 if ${ac_cv_prog_CC+:} false; then :
11713 $as_echo_n "(cached) " >&6
11715 if test -n "$CC"; then
11716 ac_cv_prog_CC="$CC" # Let the user override the test.
11718 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11719 for as_dir in $PATH
11722 test -z "$as_dir" && as_dir=.
11723 for ac_exec_ext in '' $ac_executable_extensions; do
11724 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
11725 ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
11726 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
11736 if test -n "$CC"; then
11737 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
11738 $as_echo "$CC" >&6; }
11740 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11741 $as_echo "no" >&6; }
11745 test -n "$CC" && break
11748 if test -z "$CC"; then
11750 for ac_prog in cl.exe
11752 # Extract the first word of "$ac_prog", so it can be a program name with args.
11753 set dummy $ac_prog; ac_word=$2
11754 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
11755 $as_echo_n "checking for $ac_word... " >&6; }
11756 if ${ac_cv_prog_ac_ct_CC+:} false; then :
11757 $as_echo_n "(cached) " >&6
11759 if test -n "$ac_ct_CC"; then
11760 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
11762 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11763 for as_dir in $PATH
11766 test -z "$as_dir" && as_dir=.
11767 for ac_exec_ext in '' $ac_executable_extensions; do
11768 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
11769 ac_cv_prog_ac_ct_CC="$ac_prog"
11770 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
11779 ac_ct_CC=$ac_cv_prog_ac_ct_CC
11780 if test -n "$ac_ct_CC"; then
11781 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
11782 $as_echo "$ac_ct_CC" >&6; }
11784 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11785 $as_echo "no" >&6; }
11789 test -n "$ac_ct_CC" && break
11792 if test "x$ac_ct_CC" = x; then
11795 case $cross_compiling:$ac_tool_warned in
11797 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
11798 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
11799 ac_tool_warned=yes ;;
11808 test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
11809 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
11810 as_fn_error $? "no acceptable C compiler found in \$PATH
11811 See \`config.log' for more details" "$LINENO" 5; }
11813 # Provide some information about the compiler.
11814 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
11817 for ac_option in --version -v -V -qversion; do
11818 { { ac_try="$ac_compiler $ac_option >&5"
11819 case "(($ac_try" in
11820 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
11821 *) ac_try_echo=$ac_try;;
11823 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
11824 $as_echo "$ac_try_echo"; } >&5
11825 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
11827 if test -s conftest.err; then
11829 ... rest of stderr output deleted ...
11830 10q' conftest.err >conftest.er1
11831 cat conftest.er1 >&5
11833 rm -f conftest.er1 conftest.err
11834 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
11835 test $ac_status = 0; }
11838 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
11839 $as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
11840 if ${ac_cv_c_compiler_gnu+:} false; then :
11841 $as_echo_n "(cached) " >&6
11843 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11844 /* end confdefs.h. */
11857 if ac_fn_c_try_compile "$LINENO"; then :
11858 ac_compiler_gnu=yes
11862 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
11863 ac_cv_c_compiler_gnu=$ac_compiler_gnu
11866 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
11867 $as_echo "$ac_cv_c_compiler_gnu" >&6; }
11868 if test $ac_compiler_gnu = yes; then
11873 ac_test_CFLAGS=${CFLAGS+set}
11874 ac_save_CFLAGS=$CFLAGS
11875 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
11876 $as_echo_n "checking whether $CC accepts -g... " >&6; }
11877 if ${ac_cv_prog_cc_g+:} false; then :
11878 $as_echo_n "(cached) " >&6
11880 ac_save_c_werror_flag=$ac_c_werror_flag
11881 ac_c_werror_flag=yes
11884 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11885 /* end confdefs.h. */
11895 if ac_fn_c_try_compile "$LINENO"; then :
11896 ac_cv_prog_cc_g=yes
11899 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11900 /* end confdefs.h. */
11910 if ac_fn_c_try_compile "$LINENO"; then :
11913 ac_c_werror_flag=$ac_save_c_werror_flag
11915 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11916 /* end confdefs.h. */
11926 if ac_fn_c_try_compile "$LINENO"; then :
11927 ac_cv_prog_cc_g=yes
11929 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
11931 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
11933 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
11934 ac_c_werror_flag=$ac_save_c_werror_flag
11936 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
11937 $as_echo "$ac_cv_prog_cc_g" >&6; }
11938 if test "$ac_test_CFLAGS" = set; then
11939 CFLAGS=$ac_save_CFLAGS
11940 elif test $ac_cv_prog_cc_g = yes; then
11941 if test "$GCC" = yes; then
11947 if test "$GCC" = yes; then
11953 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
11954 $as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
11955 if ${ac_cv_prog_cc_c89+:} false; then :
11956 $as_echo_n "(cached) " >&6
11958 ac_cv_prog_cc_c89=no
11960 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11961 /* end confdefs.h. */
11962 #include <stdarg.h>
11964 #include <sys/types.h>
11965 #include <sys/stat.h>
11966 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
11967 struct buf { int x; };
11968 FILE * (*rcsopen) (struct buf *, struct stat *, int);
11969 static char *e (p, i)
11975 static char *f (char * (*g) (char **, int), char **p, ...)
11980 s = g (p, va_arg (v,int));
11985 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
11986 function prototypes and stuff, but not '\xHH' hex character constants.
11987 These don't provoke an error unfortunately, instead are silently treated
11988 as 'x'. The following induces an error, until -std is added to get
11989 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
11990 array size at least. It's necessary to write '\x00'==0 to get something
11991 that's true only with -std. */
11992 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
11994 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
11995 inside strings and character constants. */
11997 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
11999 int test (int i, double x);
12000 struct s1 {int (*f) (int a);};
12001 struct s2 {int (*f) (double a);};
12002 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
12008 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
12013 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
12014 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
12016 CC="$ac_save_CC $ac_arg"
12017 if ac_fn_c_try_compile "$LINENO"; then :
12018 ac_cv_prog_cc_c89=$ac_arg
12020 rm -f core conftest.err conftest.$ac_objext
12021 test "x$ac_cv_prog_cc_c89" != "xno" && break
12023 rm -f conftest.$ac_ext
12028 case "x$ac_cv_prog_cc_c89" in
12030 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
12031 $as_echo "none needed" >&6; } ;;
12033 { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
12034 $as_echo "unsupported" >&6; } ;;
12036 CC="$CC $ac_cv_prog_cc_c89"
12037 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
12038 $as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
12040 if test "x$ac_cv_prog_cc_c89" != xno; then :
12045 ac_cpp='$CPP $CPPFLAGS'
12046 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
12047 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
12048 ac_compiler_gnu=$ac_cv_c_compiler_gnu
12050 depcc="$CC" am_compiler_list=
12052 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5
12053 $as_echo_n "checking dependency style of $depcc... " >&6; }
12054 if ${am_cv_CC_dependencies_compiler_type+:} false; then :
12055 $as_echo_n "(cached) " >&6
12057 if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
12058 # We make a subdir and do the tests there. Otherwise we can end up
12059 # making bogus files that we don't know about and never remove. For
12060 # instance it was reported that on HP-UX the gcc test will end up
12061 # making a dummy file named `D' -- because `-MD' means `put the output
12063 rm -rf conftest.dir
12065 # Copy depcomp to subdir because otherwise we won't find it if we're
12066 # using a relative directory.
12067 cp "$am_depcomp" conftest.dir
12069 # We will build objects and dependencies in a subdirectory because
12070 # it helps to detect inapplicable dependency modes. For instance
12071 # both Tru64's cc and ICC support -MD to output dependencies as a
12072 # side effect of compilation, but ICC will put the dependencies in
12073 # the current directory while Tru64 will put them in the object
12077 am_cv_CC_dependencies_compiler_type=none
12078 if test "$am_compiler_list" = ""; then
12079 am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
12081 am__universal=false
12082 case " $depcc " in #(
12083 *\ -arch\ *\ -arch\ *) am__universal=true ;;
12086 for depmode in $am_compiler_list; do
12087 # Setup a source with many dependencies, because some compilers
12088 # like to wrap large dependency lists on column 80 (with \), and
12089 # we should not choose a depcomp mode which is confused by this.
12091 # We need to recreate these files for each test, as the compiler may
12092 # overwrite some of them when testing with obscure command lines.
12093 # This happens at least with the AIX C compiler.
12095 for i in 1 2 3 4 5 6; do
12096 echo '#include "conftst'$i'.h"' >> sub/conftest.c
12097 # Using `: > sub/conftst$i.h' creates only sub/conftst1.h with
12098 # Solaris 8's {/usr,}/bin/sh.
12099 touch sub/conftst$i.h
12101 echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
12103 # We check with `-c' and `-o' for the sake of the "dashmstdout"
12104 # mode. It turns out that the SunPro C++ compiler does not properly
12105 # handle `-M -o', and we need to detect this. Also, some Intel
12106 # versions had trouble with output in subdirs
12107 am__obj=sub/conftest.${OBJEXT-o}
12108 am__minus_obj="-o $am__obj"
12111 # This depmode causes a compiler race in universal mode.
12112 test "$am__universal" = false || continue
12115 # after this tag, mechanisms are not by side-effect, so they'll
12116 # only be used when explicitly requested
12117 if test "x$enable_dependency_tracking" = xyes; then
12123 msvc7 | msvc7msys | msvisualcpp | msvcmsys)
12124 # This compiler won't grok `-c -o', but also, the minuso test has
12125 # not run yet. These depmodes are late enough in the game, and
12126 # so weak that their functioning should not be impacted.
12127 am__obj=conftest.${OBJEXT-o}
12132 if depmode=$depmode \
12133 source=sub/conftest.c object=$am__obj \
12134 depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
12135 $SHELL ./depcomp $depcc -c $am__minus_obj sub/conftest.c \
12136 >/dev/null 2>conftest.err &&
12137 grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 &&
12138 grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
12139 grep $am__obj sub/conftest.Po > /dev/null 2>&1 &&
12140 ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
12141 # icc doesn't choke on unknown options, it will just issue warnings
12142 # or remarks (even with -Werror). So we grep stderr for any message
12143 # that says an option was ignored or not supported.
12144 # When given -MP, icc 7.0 and 7.1 complain thusly:
12145 # icc: Command line warning: ignoring option '-M'; no argument required
12146 # The diagnosis changed in icc 8.0:
12147 # icc: Command line remark: option '-MP' not supported
12148 if (grep 'ignoring option' conftest.err ||
12149 grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
12150 am_cv_CC_dependencies_compiler_type=$depmode
12157 rm -rf conftest.dir
12159 am_cv_CC_dependencies_compiler_type=none
12163 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_CC_dependencies_compiler_type" >&5
12164 $as_echo "$am_cv_CC_dependencies_compiler_type" >&6; }
12165 CCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type
12168 test "x$enable_dependency_tracking" != xno \
12169 && test "$am_cv_CC_dependencies_compiler_type" = gcc3; then
12170 am__fastdepCC_TRUE=
12171 am__fastdepCC_FALSE='#'
12173 am__fastdepCC_TRUE='#'
12174 am__fastdepCC_FALSE=
12178 if test "x$CC" != xcc; then
12179 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC and cc understand -c and -o together" >&5
12180 $as_echo_n "checking whether $CC and cc understand -c and -o together... " >&6; }
12182 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether cc understands -c and -o together" >&5
12183 $as_echo_n "checking whether cc understands -c and -o together... " >&6; }
12185 set dummy $CC; ac_cc=`$as_echo "$2" |
12186 sed 's/[^a-zA-Z0-9_]/_/g;s/^[0-9]/_/'`
12187 if eval \${ac_cv_prog_cc_${ac_cc}_c_o+:} false; then :
12188 $as_echo_n "(cached) " >&6
12190 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12191 /* end confdefs.h. */
12201 # Make sure it works both with $CC and with simple cc.
12202 # We do the test twice because some compilers refuse to overwrite an
12203 # existing .o file with -o, though they will create one.
12204 ac_try='$CC -c conftest.$ac_ext -o conftest2.$ac_objext >&5'
12206 if { { case "(($ac_try" in
12207 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
12208 *) ac_try_echo=$ac_try;;
12210 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
12211 $as_echo "$ac_try_echo"; } >&5
12212 (eval "$ac_try") 2>&5
12214 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
12215 test $ac_status = 0; } &&
12216 test -f conftest2.$ac_objext && { { case "(($ac_try" in
12217 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
12218 *) ac_try_echo=$ac_try;;
12220 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
12221 $as_echo "$ac_try_echo"; } >&5
12222 (eval "$ac_try") 2>&5
12224 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
12225 test $ac_status = 0; };
12227 eval ac_cv_prog_cc_${ac_cc}_c_o=yes
12228 if test "x$CC" != xcc; then
12229 # Test first that cc exists at all.
12230 if { ac_try='cc -c conftest.$ac_ext >&5'
12231 { { case "(($ac_try" in
12232 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
12233 *) ac_try_echo=$ac_try;;
12235 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
12236 $as_echo "$ac_try_echo"; } >&5
12237 (eval "$ac_try") 2>&5
12239 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
12240 test $ac_status = 0; }; }; then
12241 ac_try='cc -c conftest.$ac_ext -o conftest2.$ac_objext >&5'
12243 if { { 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; } &&
12253 test -f conftest2.$ac_objext && { { case "(($ac_try" in
12254 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
12255 *) ac_try_echo=$ac_try;;
12257 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
12258 $as_echo "$ac_try_echo"; } >&5
12259 (eval "$ac_try") 2>&5
12261 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
12262 test $ac_status = 0; };
12267 # cc exists but doesn't like -o.
12268 eval ac_cv_prog_cc_${ac_cc}_c_o=no
12273 eval ac_cv_prog_cc_${ac_cc}_c_o=no
12275 rm -f core conftest*
12278 if eval test \$ac_cv_prog_cc_${ac_cc}_c_o = yes; then
12279 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
12280 $as_echo "yes" >&6; }
12282 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12283 $as_echo "no" >&6; }
12285 $as_echo "#define NO_MINUS_C_MINUS_O 1" >>confdefs.h
12289 # FIXME: we rely on the cache variable name because
12290 # there is no other way.
12292 am_cc=`echo $2 | sed 's/[^a-zA-Z0-9_]/_/g;s/^[0-9]/_/'`
12293 eval am_t=\$ac_cv_prog_cc_${am_cc}_c_o
12294 if test "$am_t" != yes; then
12295 # Losing compiler, so override with the script.
12296 # FIXME: It is wrong to rewrite CC.
12297 # But if we don't then we get into trouble of one sort or another.
12298 # A longer-term fix would be to have automake use am__CC in this case,
12299 # and then we could set am__CC="\$(top_srcdir)/compile \$(CC)"
12300 CC="$am_aux_dir/compile $CC"
12306 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for __attribute__" >&5
12307 $as_echo_n "checking for __attribute__... " >&6; }
12309 if ${ac_cv___attribute__+:} false; then :
12310 $as_echo_n "(cached) " >&6
12312 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12313 /* end confdefs.h. */
12315 #include <stdlib.h>
12318 int foo(int x __attribute__ ((unused)))
12331 if ac_fn_c_try_compile "$LINENO"; then :
12332 ac_cv___attribute__="yes"
12334 ac_cv___attribute__="no"
12337 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
12341 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv___attribute__" >&5
12342 $as_echo "$ac_cv___attribute__" >&6; }
12344 if test "x${ac_cv___attribute__}" = "xyes" ; then
12346 $as_echo "#define HAVE___ATTRIBUTE__ 1" >>confdefs.h
12349 $as_echo "#define __UNUSED__ __attribute__((unused))" >>confdefs.h
12353 $as_echo "#define __UNUSED__ /**/" >>confdefs.h
12366 if test "x$ac_cv_env_PKG_CONFIG_set" != "xset"; then
12367 if test -n "$ac_tool_prefix"; then
12368 # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
12369 set dummy ${ac_tool_prefix}pkg-config; ac_word=$2
12370 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
12371 $as_echo_n "checking for $ac_word... " >&6; }
12372 if ${ac_cv_path_PKG_CONFIG+:} false; then :
12373 $as_echo_n "(cached) " >&6
12375 case $PKG_CONFIG in
12377 ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path.
12380 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12381 for as_dir in $PATH
12384 test -z "$as_dir" && as_dir=.
12385 for ac_exec_ext in '' $ac_executable_extensions; do
12386 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
12387 ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
12388 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
12398 PKG_CONFIG=$ac_cv_path_PKG_CONFIG
12399 if test -n "$PKG_CONFIG"; then
12400 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PKG_CONFIG" >&5
12401 $as_echo "$PKG_CONFIG" >&6; }
12403 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12404 $as_echo "no" >&6; }
12409 if test -z "$ac_cv_path_PKG_CONFIG"; then
12410 ac_pt_PKG_CONFIG=$PKG_CONFIG
12411 # Extract the first word of "pkg-config", so it can be a program name with args.
12412 set dummy pkg-config; ac_word=$2
12413 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
12414 $as_echo_n "checking for $ac_word... " >&6; }
12415 if ${ac_cv_path_ac_pt_PKG_CONFIG+:} false; then :
12416 $as_echo_n "(cached) " >&6
12418 case $ac_pt_PKG_CONFIG in
12420 ac_cv_path_ac_pt_PKG_CONFIG="$ac_pt_PKG_CONFIG" # Let the user override the test with a path.
12423 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12424 for as_dir in $PATH
12427 test -z "$as_dir" && as_dir=.
12428 for ac_exec_ext in '' $ac_executable_extensions; do
12429 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
12430 ac_cv_path_ac_pt_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
12431 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
12441 ac_pt_PKG_CONFIG=$ac_cv_path_ac_pt_PKG_CONFIG
12442 if test -n "$ac_pt_PKG_CONFIG"; then
12443 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_pt_PKG_CONFIG" >&5
12444 $as_echo "$ac_pt_PKG_CONFIG" >&6; }
12446 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12447 $as_echo "no" >&6; }
12450 if test "x$ac_pt_PKG_CONFIG" = x; then
12453 case $cross_compiling:$ac_tool_warned in
12455 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
12456 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
12457 ac_tool_warned=yes ;;
12459 PKG_CONFIG=$ac_pt_PKG_CONFIG
12462 PKG_CONFIG="$ac_cv_path_PKG_CONFIG"
12466 if test -n "$PKG_CONFIG"; then
12467 _pkg_min_version=0.9.0
12468 { $as_echo "$as_me:${as_lineno-$LINENO}: checking pkg-config is at least version $_pkg_min_version" >&5
12469 $as_echo_n "checking pkg-config is at least version $_pkg_min_version... " >&6; }
12470 if $PKG_CONFIG --atleast-pkgconfig-version $_pkg_min_version; then
12471 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
12472 $as_echo "yes" >&6; }
12474 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12475 $as_echo "no" >&6; }
12480 # Check whether pkg-config supports Requires.private
12481 if $PKG_CONFIG --atleast-pkgconfig-version 0.22; then :
12482 pkgconfig_requires_private="Requires.private"
12484 pkgconfig_requires_private="Requires"
12489 # doxygen program for documentation building
12493 # Check whether --enable-doc was given.
12494 if test "${enable_doc+set}" = set; then :
12495 enableval=$enable_doc;
12496 if test "x${enableval}" = "xyes" ; then
12497 efl_enable_doc="yes"
12499 efl_enable_doc="no"
12503 efl_enable_doc="yes"
12507 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build documentation" >&5
12508 $as_echo_n "checking whether to build documentation... " >&6; }
12509 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${efl_enable_doc}" >&5
12510 $as_echo "${efl_enable_doc}" >&6; }
12512 if test "x${efl_enable_doc}" = "xyes" ; then
12515 efl_doxygen="doxygen"
12518 # Check whether --with-doxygen was given.
12519 if test "${with_doxygen+set}" = set; then :
12520 withval=$with_doxygen; efl_doxygen=${withval}
12521 # Extract the first word of "${efl_doxygen}", so it can be a program name with args.
12522 set dummy ${efl_doxygen}; ac_word=$2
12523 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
12524 $as_echo_n "checking for $ac_word... " >&6; }
12525 if ${ac_cv_prog_efl_have_doxygen+:} false; then :
12526 $as_echo_n "(cached) " >&6
12528 if test -n "$efl_have_doxygen"; then
12529 ac_cv_prog_efl_have_doxygen="$efl_have_doxygen" # Let the user override the test.
12531 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12532 for as_dir in $PATH
12535 test -z "$as_dir" && as_dir=.
12536 for ac_exec_ext in '' $ac_executable_extensions; do
12537 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
12538 ac_cv_prog_efl_have_doxygen="yes"
12539 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
12546 test -z "$ac_cv_prog_efl_have_doxygen" && ac_cv_prog_efl_have_doxygen="no"
12549 efl_have_doxygen=$ac_cv_prog_efl_have_doxygen
12550 if test -n "$efl_have_doxygen"; then
12551 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $efl_have_doxygen" >&5
12552 $as_echo "$efl_have_doxygen" >&6; }
12554 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12555 $as_echo "no" >&6; }
12559 if test "x${efl_have_doxygen}" = "xno" ; then
12561 echo "The doxygen program you specified:"
12562 echo "${efl_doxygen}"
12563 echo "was not found. Please check the path and make sure "
12564 echo "the program exists and is executable."
12565 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: no doxygen detected. Documentation will not be built" >&5
12566 $as_echo "$as_me: WARNING: no doxygen detected. Documentation will not be built" >&2;}
12570 # Extract the first word of "${efl_doxygen}", so it can be a program name with args.
12571 set dummy ${efl_doxygen}; ac_word=$2
12572 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
12573 $as_echo_n "checking for $ac_word... " >&6; }
12574 if ${ac_cv_prog_efl_have_doxygen+:} false; then :
12575 $as_echo_n "(cached) " >&6
12577 if test -n "$efl_have_doxygen"; then
12578 ac_cv_prog_efl_have_doxygen="$efl_have_doxygen" # Let the user override the test.
12580 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12581 for as_dir in $PATH
12584 test -z "$as_dir" && as_dir=.
12585 for ac_exec_ext in '' $ac_executable_extensions; do
12586 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
12587 ac_cv_prog_efl_have_doxygen="yes"
12588 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
12595 test -z "$ac_cv_prog_efl_have_doxygen" && ac_cv_prog_efl_have_doxygen="no"
12598 efl_have_doxygen=$ac_cv_prog_efl_have_doxygen
12599 if test -n "$efl_have_doxygen"; then
12600 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $efl_have_doxygen" >&5
12601 $as_echo "$efl_have_doxygen" >&6; }
12603 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12604 $as_echo "no" >&6; }
12608 if test "x${efl_have_doxygen}" = "xno" ; then
12610 echo "The doxygen program was not found in your execute path."
12611 echo "You may have doxygen installed somewhere not covered by your path."
12613 echo "If this is the case make sure you have the packages installed, AND"
12614 echo "that the doxygen program is in your execute path (see your"
12615 echo "shell manual page on setting the \$PATH environment variable), OR"
12616 echo "alternatively, specify the program to use with --with-doxygen."
12617 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: no doxygen detected. Documentation will not be built" >&5
12618 $as_echo "$as_me: WARNING: no doxygen detected. Documentation will not be built" >&2;}
12627 if ! test "x${efl_have_doxygen}" = "xyes" ; then
12628 efl_enable_doc="no"
12631 if test "x${efl_enable_doc}" = "xyes"; then
12632 EFL_BUILD_DOC_TRUE=
12633 EFL_BUILD_DOC_FALSE='#'
12635 EFL_BUILD_DOC_TRUE='#'
12636 EFL_BUILD_DOC_FALSE=
12640 if test "x${efl_enable_doc}" = "xyes" ; then
12649 ### Checks for libraries
12653 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for EEZE" >&5
12654 $as_echo_n "checking for EEZE... " >&6; }
12656 if test -n "$EEZE_CFLAGS"; then
12657 pkg_cv_EEZE_CFLAGS="$EEZE_CFLAGS"
12658 elif test -n "$PKG_CONFIG"; then
12659 if test -n "$PKG_CONFIG" && \
12660 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"\${requirement_eeze}\""; } >&5
12661 ($PKG_CONFIG --exists --print-errors "${requirement_eeze}") 2>&5
12663 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
12664 test $ac_status = 0; }; then
12665 pkg_cv_EEZE_CFLAGS=`$PKG_CONFIG --cflags "${requirement_eeze}" 2>/dev/null`
12672 if test -n "$EEZE_LIBS"; then
12673 pkg_cv_EEZE_LIBS="$EEZE_LIBS"
12674 elif test -n "$PKG_CONFIG"; then
12675 if test -n "$PKG_CONFIG" && \
12676 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"\${requirement_eeze}\""; } >&5
12677 ($PKG_CONFIG --exists --print-errors "${requirement_eeze}") 2>&5
12679 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
12680 test $ac_status = 0; }; then
12681 pkg_cv_EEZE_LIBS=`$PKG_CONFIG --libs "${requirement_eeze}" 2>/dev/null`
12691 if test $pkg_failed = yes; then
12692 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12693 $as_echo "no" >&6; }
12695 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
12696 _pkg_short_errors_supported=yes
12698 _pkg_short_errors_supported=no
12700 if test $_pkg_short_errors_supported = yes; then
12701 EEZE_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors "${requirement_eeze}" 2>&1`
12703 EEZE_PKG_ERRORS=`$PKG_CONFIG --print-errors "${requirement_eeze}" 2>&1`
12705 # Put the nasty error message in config.log where it belongs
12706 echo "$EEZE_PKG_ERRORS" >&5
12708 as_fn_error $? "Package requirements (${requirement_eeze}) were not met:
12712 Consider adjusting the PKG_CONFIG_PATH environment variable if you
12713 installed software in a non-standard prefix.
12715 Alternatively, you may set the environment variables EEZE_CFLAGS
12716 and EEZE_LIBS to avoid the need to call pkg-config.
12717 See the pkg-config man page for more details." "$LINENO" 5
12719 elif test $pkg_failed = untried; then
12720 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12721 $as_echo "no" >&6; }
12722 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
12723 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
12724 as_fn_error $? "The pkg-config script could not be found or is too old. Make sure it
12725 is in your PATH or set the PKG_CONFIG environment variable to the full
12726 path to pkg-config.
12728 Alternatively, you may set the environment variables EEZE_CFLAGS
12729 and EEZE_LIBS to avoid the need to call pkg-config.
12730 See the pkg-config man page for more details.
12732 To get pkg-config, see <http://pkg-config.freedesktop.org/>.
12733 See \`config.log' for more details" "$LINENO" 5; }
12736 EEZE_CFLAGS=$pkg_cv_EEZE_CFLAGS
12737 EEZE_LIBS=$pkg_cv_EEZE_LIBS
12738 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
12739 $as_echo "yes" >&6; }
12743 udev_version=$(pkg-config libudev --modversion)
12745 if test $udev_version -lt 143;then
12746 as_fn_error $? "udev version is too old!" "$LINENO" 5
12747 elif test $udev_version -lt 148;then
12748 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Old udev version detected, enabling compat code" >&5
12749 $as_echo "$as_me: WARNING: Old udev version detected, enabling compat code" >&2;}
12751 $as_echo "#define OLD_UDEV_RRRRRRRRRRRRRR 1" >>confdefs.h
12756 if test -n "$PKG_CONFIG" && \
12757 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"mount >= 2.18.0\""; } >&5
12758 ($PKG_CONFIG --exists --print-errors "mount >= 2.18.0") 2>&5
12760 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
12761 test $ac_status = 0; }; then
12764 $as_echo "#define HAVE_EEZE_MOUNT 1" >>confdefs.h
12767 HAVE_EEZE_MOUNT_TRUE=
12768 HAVE_EEZE_MOUNT_FALSE='#'
12770 HAVE_EEZE_MOUNT_TRUE='#'
12771 HAVE_EEZE_MOUNT_FALSE=
12778 HAVE_EEZE_MOUNT_TRUE=
12779 HAVE_EEZE_MOUNT_FALSE='#'
12781 HAVE_EEZE_MOUNT_TRUE='#'
12782 HAVE_EEZE_MOUNT_FALSE=
12788 if test "x$eeze_mount" = "xyes";then
12790 # Check whether --with-mount was given.
12791 if test "${with_mount+set}" = set; then :
12792 withval=$with_mount; with_mount=$withval
12794 with_mount="detect"
12798 # Check whether --with-umount was given.
12799 if test "${with_umount+set}" = set; then :
12800 withval=$with_umount; with_umount=$withval
12802 with_umount="detect"
12806 # Check whether --with-eject was given.
12807 if test "${with_eject+set}" = set; then :
12808 withval=$with_eject; with_eject=$withval
12810 with_eject="detect"
12815 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for LIBMOUNT" >&5
12816 $as_echo_n "checking for LIBMOUNT... " >&6; }
12818 if test -n "$LIBMOUNT_CFLAGS"; then
12819 pkg_cv_LIBMOUNT_CFLAGS="$LIBMOUNT_CFLAGS"
12820 elif test -n "$PKG_CONFIG"; then
12821 if test -n "$PKG_CONFIG" && \
12822 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"mount >= 2.18.0\""; } >&5
12823 ($PKG_CONFIG --exists --print-errors "mount >= 2.18.0") 2>&5
12825 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
12826 test $ac_status = 0; }; then
12827 pkg_cv_LIBMOUNT_CFLAGS=`$PKG_CONFIG --cflags "mount >= 2.18.0" 2>/dev/null`
12834 if test -n "$LIBMOUNT_LIBS"; then
12835 pkg_cv_LIBMOUNT_LIBS="$LIBMOUNT_LIBS"
12836 elif test -n "$PKG_CONFIG"; then
12837 if test -n "$PKG_CONFIG" && \
12838 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"mount >= 2.18.0\""; } >&5
12839 ($PKG_CONFIG --exists --print-errors "mount >= 2.18.0") 2>&5
12841 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
12842 test $ac_status = 0; }; then
12843 pkg_cv_LIBMOUNT_LIBS=`$PKG_CONFIG --libs "mount >= 2.18.0" 2>/dev/null`
12853 if test $pkg_failed = yes; then
12854 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12855 $as_echo "no" >&6; }
12857 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
12858 _pkg_short_errors_supported=yes
12860 _pkg_short_errors_supported=no
12862 if test $_pkg_short_errors_supported = yes; then
12863 LIBMOUNT_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors "mount >= 2.18.0" 2>&1`
12865 LIBMOUNT_PKG_ERRORS=`$PKG_CONFIG --print-errors "mount >= 2.18.0" 2>&1`
12867 # Put the nasty error message in config.log where it belongs
12868 echo "$LIBMOUNT_PKG_ERRORS" >&5
12870 as_fn_error $? "Package requirements (mount >= 2.18.0) were not met:
12872 $LIBMOUNT_PKG_ERRORS
12874 Consider adjusting the PKG_CONFIG_PATH environment variable if you
12875 installed software in a non-standard prefix.
12877 Alternatively, you may set the environment variables LIBMOUNT_CFLAGS
12878 and LIBMOUNT_LIBS to avoid the need to call pkg-config.
12879 See the pkg-config man page for more details." "$LINENO" 5
12881 elif test $pkg_failed = untried; then
12882 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12883 $as_echo "no" >&6; }
12884 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
12885 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
12886 as_fn_error $? "The pkg-config script could not be found or is too old. Make sure it
12887 is in your PATH or set the PKG_CONFIG environment variable to the full
12888 path to pkg-config.
12890 Alternatively, you may set the environment variables LIBMOUNT_CFLAGS
12891 and LIBMOUNT_LIBS to avoid the need to call pkg-config.
12892 See the pkg-config man page for more details.
12894 To get pkg-config, see <http://pkg-config.freedesktop.org/>.
12895 See \`config.log' for more details" "$LINENO" 5; }
12898 LIBMOUNT_CFLAGS=$pkg_cv_LIBMOUNT_CFLAGS
12899 LIBMOUNT_LIBS=$pkg_cv_LIBMOUNT_LIBS
12900 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
12901 $as_echo "yes" >&6; }
12904 mount_v=$(pkg-config --modversion mount)
12907 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ECORE_FILE" >&5
12908 $as_echo_n "checking for ECORE_FILE... " >&6; }
12910 if test -n "$ECORE_FILE_CFLAGS"; then
12911 pkg_cv_ECORE_FILE_CFLAGS="$ECORE_FILE_CFLAGS"
12912 elif test -n "$PKG_CONFIG"; then
12913 if test -n "$PKG_CONFIG" && \
12914 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"ecore-file >= 1.7.7\""; } >&5
12915 ($PKG_CONFIG --exists --print-errors "ecore-file >= 1.7.7") 2>&5
12917 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
12918 test $ac_status = 0; }; then
12919 pkg_cv_ECORE_FILE_CFLAGS=`$PKG_CONFIG --cflags "ecore-file >= 1.7.7" 2>/dev/null`
12926 if test -n "$ECORE_FILE_LIBS"; then
12927 pkg_cv_ECORE_FILE_LIBS="$ECORE_FILE_LIBS"
12928 elif test -n "$PKG_CONFIG"; then
12929 if test -n "$PKG_CONFIG" && \
12930 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"ecore-file >= 1.7.7\""; } >&5
12931 ($PKG_CONFIG --exists --print-errors "ecore-file >= 1.7.7") 2>&5
12933 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
12934 test $ac_status = 0; }; then
12935 pkg_cv_ECORE_FILE_LIBS=`$PKG_CONFIG --libs "ecore-file >= 1.7.7" 2>/dev/null`
12945 if test $pkg_failed = yes; then
12946 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12947 $as_echo "no" >&6; }
12949 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
12950 _pkg_short_errors_supported=yes
12952 _pkg_short_errors_supported=no
12954 if test $_pkg_short_errors_supported = yes; then
12955 ECORE_FILE_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors "ecore-file >= 1.7.7" 2>&1`
12957 ECORE_FILE_PKG_ERRORS=`$PKG_CONFIG --print-errors "ecore-file >= 1.7.7" 2>&1`
12959 # Put the nasty error message in config.log where it belongs
12960 echo "$ECORE_FILE_PKG_ERRORS" >&5
12962 as_fn_error $? "Package requirements (ecore-file >= 1.7.7) were not met:
12964 $ECORE_FILE_PKG_ERRORS
12966 Consider adjusting the PKG_CONFIG_PATH environment variable if you
12967 installed software in a non-standard prefix.
12969 Alternatively, you may set the environment variables ECORE_FILE_CFLAGS
12970 and ECORE_FILE_LIBS to avoid the need to call pkg-config.
12971 See the pkg-config man page for more details." "$LINENO" 5
12973 elif test $pkg_failed = untried; then
12974 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12975 $as_echo "no" >&6; }
12976 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
12977 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
12978 as_fn_error $? "The pkg-config script could not be found or is too old. Make sure it
12979 is in your PATH or set the PKG_CONFIG environment variable to the full
12980 path to pkg-config.
12982 Alternatively, you may set the environment variables ECORE_FILE_CFLAGS
12983 and ECORE_FILE_LIBS to avoid the need to call pkg-config.
12984 See the pkg-config man page for more details.
12986 To get pkg-config, see <http://pkg-config.freedesktop.org/>.
12987 See \`config.log' for more details" "$LINENO" 5; }
12990 ECORE_FILE_CFLAGS=$pkg_cv_ECORE_FILE_CFLAGS
12991 ECORE_FILE_LIBS=$pkg_cv_ECORE_FILE_LIBS
12992 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
12993 $as_echo "yes" >&6; }
12998 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for EET" >&5
12999 $as_echo_n "checking for EET... " >&6; }
13001 if test -n "$EET_CFLAGS"; then
13002 pkg_cv_EET_CFLAGS="$EET_CFLAGS"
13003 elif test -n "$PKG_CONFIG"; then
13004 if test -n "$PKG_CONFIG" && \
13005 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"eet >= 1.7.7\""; } >&5
13006 ($PKG_CONFIG --exists --print-errors "eet >= 1.7.7") 2>&5
13008 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
13009 test $ac_status = 0; }; then
13010 pkg_cv_EET_CFLAGS=`$PKG_CONFIG --cflags "eet >= 1.7.7" 2>/dev/null`
13017 if test -n "$EET_LIBS"; then
13018 pkg_cv_EET_LIBS="$EET_LIBS"
13019 elif test -n "$PKG_CONFIG"; then
13020 if test -n "$PKG_CONFIG" && \
13021 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"eet >= 1.7.7\""; } >&5
13022 ($PKG_CONFIG --exists --print-errors "eet >= 1.7.7") 2>&5
13024 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
13025 test $ac_status = 0; }; then
13026 pkg_cv_EET_LIBS=`$PKG_CONFIG --libs "eet >= 1.7.7" 2>/dev/null`
13036 if test $pkg_failed = yes; then
13037 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
13038 $as_echo "no" >&6; }
13040 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
13041 _pkg_short_errors_supported=yes
13043 _pkg_short_errors_supported=no
13045 if test $_pkg_short_errors_supported = yes; then
13046 EET_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors "eet >= 1.7.7" 2>&1`
13048 EET_PKG_ERRORS=`$PKG_CONFIG --print-errors "eet >= 1.7.7" 2>&1`
13050 # Put the nasty error message in config.log where it belongs
13051 echo "$EET_PKG_ERRORS" >&5
13053 as_fn_error $? "Package requirements (eet >= 1.7.7) were not met:
13057 Consider adjusting the PKG_CONFIG_PATH environment variable if you
13058 installed software in a non-standard prefix.
13060 Alternatively, you may set the environment variables EET_CFLAGS
13061 and EET_LIBS to avoid the need to call pkg-config.
13062 See the pkg-config man page for more details." "$LINENO" 5
13064 elif test $pkg_failed = untried; then
13065 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
13066 $as_echo "no" >&6; }
13067 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
13068 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
13069 as_fn_error $? "The pkg-config script could not be found or is too old. Make sure it
13070 is in your PATH or set the PKG_CONFIG environment variable to the full
13071 path to pkg-config.
13073 Alternatively, you may set the environment variables EET_CFLAGS
13074 and EET_LIBS to avoid the need to call pkg-config.
13075 See the pkg-config man page for more details.
13077 To get pkg-config, see <http://pkg-config.freedesktop.org/>.
13078 See \`config.log' for more details" "$LINENO" 5; }
13081 EET_CFLAGS=$pkg_cv_EET_CFLAGS
13082 EET_LIBS=$pkg_cv_EET_LIBS
13083 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
13084 $as_echo "yes" >&6; }
13089 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ECORE_CON" >&5
13090 $as_echo_n "checking for ECORE_CON... " >&6; }
13092 if test -n "$ECORE_CON_CFLAGS"; then
13093 pkg_cv_ECORE_CON_CFLAGS="$ECORE_CON_CFLAGS"
13094 elif test -n "$PKG_CONFIG"; then
13095 if test -n "$PKG_CONFIG" && \
13096 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"ecore-con >= 1.7.7\""; } >&5
13097 ($PKG_CONFIG --exists --print-errors "ecore-con >= 1.7.7") 2>&5
13099 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
13100 test $ac_status = 0; }; then
13101 pkg_cv_ECORE_CON_CFLAGS=`$PKG_CONFIG --cflags "ecore-con >= 1.7.7" 2>/dev/null`
13108 if test -n "$ECORE_CON_LIBS"; then
13109 pkg_cv_ECORE_CON_LIBS="$ECORE_CON_LIBS"
13110 elif test -n "$PKG_CONFIG"; then
13111 if test -n "$PKG_CONFIG" && \
13112 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"ecore-con >= 1.7.7\""; } >&5
13113 ($PKG_CONFIG --exists --print-errors "ecore-con >= 1.7.7") 2>&5
13115 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
13116 test $ac_status = 0; }; then
13117 pkg_cv_ECORE_CON_LIBS=`$PKG_CONFIG --libs "ecore-con >= 1.7.7" 2>/dev/null`
13127 if test $pkg_failed = yes; then
13128 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
13129 $as_echo "no" >&6; }
13131 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
13132 _pkg_short_errors_supported=yes
13134 _pkg_short_errors_supported=no
13136 if test $_pkg_short_errors_supported = yes; then
13137 ECORE_CON_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors "ecore-con >= 1.7.7" 2>&1`
13139 ECORE_CON_PKG_ERRORS=`$PKG_CONFIG --print-errors "ecore-con >= 1.7.7" 2>&1`
13141 # Put the nasty error message in config.log where it belongs
13142 echo "$ECORE_CON_PKG_ERRORS" >&5
13144 as_fn_error $? "Package requirements (ecore-con >= 1.7.7) were not met:
13146 $ECORE_CON_PKG_ERRORS
13148 Consider adjusting the PKG_CONFIG_PATH environment variable if you
13149 installed software in a non-standard prefix.
13151 Alternatively, you may set the environment variables ECORE_CON_CFLAGS
13152 and ECORE_CON_LIBS to avoid the need to call pkg-config.
13153 See the pkg-config man page for more details." "$LINENO" 5
13155 elif test $pkg_failed = untried; then
13156 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
13157 $as_echo "no" >&6; }
13158 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
13159 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
13160 as_fn_error $? "The pkg-config script could not be found or is too old. Make sure it
13161 is in your PATH or set the PKG_CONFIG environment variable to the full
13162 path to pkg-config.
13164 Alternatively, you may set the environment variables ECORE_CON_CFLAGS
13165 and ECORE_CON_LIBS to avoid the need to call pkg-config.
13166 See the pkg-config man page for more details.
13168 To get pkg-config, see <http://pkg-config.freedesktop.org/>.
13169 See \`config.log' for more details" "$LINENO" 5; }
13172 ECORE_CON_CFLAGS=$pkg_cv_ECORE_CON_CFLAGS
13173 ECORE_CON_LIBS=$pkg_cv_ECORE_CON_LIBS
13174 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
13175 $as_echo "yes" >&6; }
13179 if test "x$with_mount" = "xdetect";then
13180 # Extract the first word of "mount", so it can be a program name with args.
13181 set dummy mount; ac_word=$2
13182 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
13183 $as_echo_n "checking for $ac_word... " >&6; }
13184 if ${ac_cv_path_with_mount+:} false; then :
13185 $as_echo_n "(cached) " >&6
13187 case $with_mount in
13189 ac_cv_path_with_mount="$with_mount" # Let the user override the test with a path.
13192 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
13193 for as_dir in $PATH
13196 test -z "$as_dir" && as_dir=.
13197 for ac_exec_ext in '' $ac_executable_extensions; do
13198 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
13199 ac_cv_path_with_mount="$as_dir/$ac_word$ac_exec_ext"
13200 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
13210 with_mount=$ac_cv_path_with_mount
13211 if test -n "$with_mount"; then
13212 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $with_mount" >&5
13213 $as_echo "$with_mount" >&6; }
13215 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
13216 $as_echo "no" >&6; }
13221 if test -z "$with_mount" ; then
13223 cat >>confdefs.h <<_ACEOF
13224 #define MOUNTABLE 0
13229 cat >>confdefs.h <<_ACEOF
13230 #define MOUNTABLE 1
13235 cat >>confdefs.h <<_ACEOF
13236 #define EEZE_MOUNT_BIN "$with_mount"
13240 if test "x$with_umount" = "xdetect";then
13241 # Extract the first word of "umount", so it can be a program name with args.
13242 set dummy umount; ac_word=$2
13243 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
13244 $as_echo_n "checking for $ac_word... " >&6; }
13245 if ${ac_cv_path_with_umount+:} false; then :
13246 $as_echo_n "(cached) " >&6
13248 case $with_umount in
13250 ac_cv_path_with_umount="$with_umount" # Let the user override the test with a path.
13253 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
13254 for as_dir in $PATH
13257 test -z "$as_dir" && as_dir=.
13258 for ac_exec_ext in '' $ac_executable_extensions; do
13259 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
13260 ac_cv_path_with_umount="$as_dir/$ac_word$ac_exec_ext"
13261 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
13271 with_umount=$ac_cv_path_with_umount
13272 if test -n "$with_umount"; then
13273 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $with_umount" >&5
13274 $as_echo "$with_umount" >&6; }
13276 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
13277 $as_echo "no" >&6; }
13282 if test -z "$with_umount" ; then
13284 cat >>confdefs.h <<_ACEOF
13285 #define UNMOUNTABLE 0
13290 cat >>confdefs.h <<_ACEOF
13291 #define UNMOUNTABLE 1
13296 cat >>confdefs.h <<_ACEOF
13297 #define EEZE_UNMOUNT_BIN "$with_umount"
13301 if test "x$with_eject" = "xdetect";then
13302 # Extract the first word of "eject", so it can be a program name with args.
13303 set dummy eject; ac_word=$2
13304 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
13305 $as_echo_n "checking for $ac_word... " >&6; }
13306 if ${ac_cv_path_with_eject+:} false; then :
13307 $as_echo_n "(cached) " >&6
13309 case $with_eject in
13311 ac_cv_path_with_eject="$with_eject" # Let the user override the test with a path.
13314 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
13315 for as_dir in $PATH
13318 test -z "$as_dir" && as_dir=.
13319 for ac_exec_ext in '' $ac_executable_extensions; do
13320 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
13321 ac_cv_path_with_eject="$as_dir/$ac_word$ac_exec_ext"
13322 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
13332 with_eject=$ac_cv_path_with_eject
13333 if test -n "$with_eject"; then
13334 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $with_eject" >&5
13335 $as_echo "$with_eject" >&6; }
13337 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
13338 $as_echo "no" >&6; }
13343 if test -z "$with_eject" ; then
13345 cat >>confdefs.h <<_ACEOF
13346 #define EJECTABLE 0
13351 cat >>confdefs.h <<_ACEOF
13352 #define EJECTABLE 1
13357 cat >>confdefs.h <<_ACEOF
13358 #define EEZE_EJECT_BIN "$with_eject"
13364 # Check whether --enable-mtab was given.
13365 if test "${enable_mtab+set}" = set; then :
13366 enableval=$enable_mtab;
13367 if test "x${enableval}" = "xyes" ; then
13378 if test "x${want_mtab}" = "xyes" ; then
13381 OLD_LIBMOUNT_FALSE='#'
13383 OLD_LIBMOUNT_TRUE='#'
13384 OLD_LIBMOUNT_FALSE=
13389 NEW_LIBMOUNT_FALSE='#'
13391 NEW_LIBMOUNT_TRUE='#'
13392 NEW_LIBMOUNT_FALSE=
13396 if test -n "$mount_v";then
13397 if test "$(echo $mount_v | cut -d'.' -f2)" -lt 19; then
13399 OLD_LIBMOUNT_FALSE='#'
13401 OLD_LIBMOUNT_TRUE='#'
13402 OLD_LIBMOUNT_FALSE=
13405 if test "$(echo $mount_v | cut -d'.' -f2)" -gt 19; then
13407 NEW_LIBMOUNT_FALSE='#'
13409 NEW_LIBMOUNT_TRUE='#'
13410 NEW_LIBMOUNT_FALSE=
13416 OLD_LIBMOUNT_FALSE='#'
13418 OLD_LIBMOUNT_TRUE='#'
13419 OLD_LIBMOUNT_FALSE=
13424 NEW_LIBMOUNT_FALSE='#'
13426 NEW_LIBMOUNT_TRUE='#'
13427 NEW_LIBMOUNT_FALSE=
13432 if test -z "$OLD_LIBMOUNT_TRUE"; then :
13435 cat >>confdefs.h <<_ACEOF
13436 #define OLD_LIBMOUNT 1
13442 for ac_header in netinet/in.h
13444 ac_fn_c_check_header_mongrel "$LINENO" "netinet/in.h" "ac_cv_header_netinet_in_h" "$ac_includes_default"
13445 if test "x$ac_cv_header_netinet_in_h" = xyes; then :
13446 cat >>confdefs.h <<_ACEOF
13447 #define HAVE_NETINET_IN_H 1
13457 # Check whether --enable-ipv6 was given.
13458 if test "${enable_ipv6+set}" = set; then :
13459 enableval=$enable_ipv6;
13460 if test "x${enableval}" = "xyes" ; then
13470 # Verify IPV6 availability in headers
13471 if test "x${want_ipv6}" != "xno" ; then
13472 ac_fn_c_check_type "$LINENO" "struct ipv6_mreq" "ac_cv_type_struct_ipv6_mreq" "
13473 #ifdef HAVE_NETINET_IN_H
13474 # include <netinet/in.h>
13478 if test "x$ac_cv_type_struct_ipv6_mreq" = xyes; then :
13480 cat >>confdefs.h <<_ACEOF
13481 #define HAVE_STRUCT_IPV6_MREQ 1
13491 if test "x${have_ipv6}" = "xyes" ; then
13493 $as_echo "#define HAVE_IPV6 1" >>confdefs.h
13497 ### Checks for header files
13500 ### Checks for types
13503 ### Checks for structures
13506 ### Checks for compiler characteristics
13508 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5
13509 $as_echo_n "checking for ANSI C header files... " >&6; }
13510 if ${ac_cv_header_stdc+:} false; then :
13511 $as_echo_n "(cached) " >&6
13513 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13514 /* end confdefs.h. */
13515 #include <stdlib.h>
13516 #include <stdarg.h>
13517 #include <string.h>
13528 if ac_fn_c_try_compile "$LINENO"; then :
13529 ac_cv_header_stdc=yes
13531 ac_cv_header_stdc=no
13533 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
13535 if test $ac_cv_header_stdc = yes; then
13536 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
13537 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13538 /* end confdefs.h. */
13539 #include <string.h>
13542 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
13543 $EGREP "memchr" >/dev/null 2>&1; then :
13546 ac_cv_header_stdc=no
13552 if test $ac_cv_header_stdc = yes; then
13553 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
13554 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13555 /* end confdefs.h. */
13556 #include <stdlib.h>
13559 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
13560 $EGREP "free" >/dev/null 2>&1; then :
13563 ac_cv_header_stdc=no
13569 if test $ac_cv_header_stdc = yes; then
13570 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
13571 if test "$cross_compiling" = yes; then :
13574 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13575 /* end confdefs.h. */
13577 #include <stdlib.h>
13578 #if ((' ' & 0x0FF) == 0x020)
13579 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
13580 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
13582 # define ISLOWER(c) \
13583 (('a' <= (c) && (c) <= 'i') \
13584 || ('j' <= (c) && (c) <= 'r') \
13585 || ('s' <= (c) && (c) <= 'z'))
13586 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
13589 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
13594 for (i = 0; i < 256; i++)
13595 if (XOR (islower (i), ISLOWER (i))
13596 || toupper (i) != TOUPPER (i))
13601 if ac_fn_c_try_run "$LINENO"; then :
13604 ac_cv_header_stdc=no
13606 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
13607 conftest.$ac_objext conftest.beam conftest.$ac_ext
13612 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdc" >&5
13613 $as_echo "$ac_cv_header_stdc" >&6; }
13614 if test $ac_cv_header_stdc = yes; then
13616 $as_echo "#define STDC_HEADERS 1" >>confdefs.h
13621 if ! test "x${VMIC}" = "x" ; then
13624 CFLAGS_save="${CFLAGS}"
13625 CFLAGS="${CFLAGS} -Wall"
13628 ac_cpp='$CPP $CPPFLAGS'
13629 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
13630 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
13631 ac_compiler_gnu=$ac_cv_c_compiler_gnu
13633 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wall" >&5
13634 $as_echo_n "checking whether the compiler supports -Wall... " >&6; }
13636 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13637 /* end confdefs.h. */
13647 if ac_fn_c_try_compile "$LINENO"; then :
13652 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
13653 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${have_flag}" >&5
13654 $as_echo "${have_flag}" >&6; }
13656 if test "x${have_flag}" = "xno" ; then
13657 CFLAGS="${CFLAGS_save}"
13660 ac_cpp='$CPP $CPPFLAGS'
13661 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
13662 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
13663 ac_compiler_gnu=$ac_cv_c_compiler_gnu
13669 CFLAGS_save="${CFLAGS}"
13670 CFLAGS="${CFLAGS} -W"
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
13678 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -W" >&5
13679 $as_echo_n "checking whether the compiler supports -W... " >&6; }
13681 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13682 /* end confdefs.h. */
13692 if ac_fn_c_try_compile "$LINENO"; then :
13697 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
13698 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${have_flag}" >&5
13699 $as_echo "${have_flag}" >&6; }
13701 if test "x${have_flag}" = "xno" ; then
13702 CFLAGS="${CFLAGS_save}"
13705 ac_cpp='$CPP $CPPFLAGS'
13706 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
13707 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
13708 ac_compiler_gnu=$ac_cv_c_compiler_gnu
13716 CFLAGS_save="${CFLAGS}"
13717 CFLAGS="${CFLAGS} -Wshadow"
13720 ac_cpp='$CPP $CPPFLAGS'
13721 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
13722 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
13723 ac_compiler_gnu=$ac_cv_c_compiler_gnu
13725 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wshadow" >&5
13726 $as_echo_n "checking whether the compiler supports -Wshadow... " >&6; }
13728 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13729 /* end confdefs.h. */
13739 if ac_fn_c_try_compile "$LINENO"; then :
13744 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
13745 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${have_flag}" >&5
13746 $as_echo "${have_flag}" >&6; }
13748 if test "x${have_flag}" = "xno" ; then
13749 CFLAGS="${CFLAGS_save}"
13752 ac_cpp='$CPP $CPPFLAGS'
13753 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
13754 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
13755 ac_compiler_gnu=$ac_cv_c_compiler_gnu
13767 # Check whether --enable-eeze-udev-test was given.
13768 if test "${enable_eeze_udev_test+set}" = set; then :
13769 enableval=$enable_eeze_udev_test;
13770 if test "x${enableval}" = "xyes" ; then
13771 have_eeze_udev_test="yes"
13773 have_eeze_udev_test="no"
13777 have_eeze_udev_test="yes"
13781 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build eeze_udev_test binary" >&5
13782 $as_echo_n "checking whether to build eeze_udev_test binary... " >&6; }
13783 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $have_eeze_udev_test" >&5
13784 $as_echo "$have_eeze_udev_test" >&6; }
13786 if test "x$have_eeze_udev_test" = "xyes"; then
13787 EEZE_UDEV_TEST_PRG=eeze_udev_test${EXEEXT}
13792 if test "x$have_eeze_udev_test" = "xyes"; then
13793 BUILD_EEZE_UDEV_TEST_TRUE=
13794 BUILD_EEZE_UDEV_TEST_FALSE='#'
13796 BUILD_EEZE_UDEV_TEST_TRUE='#'
13797 BUILD_EEZE_UDEV_TEST_FALSE=
13801 if test "x$have_eeze_udev_test" = "xyes"; then :
13810 # Check whether --enable-eeze-mount was given.
13811 if test "${enable_eeze_mount+set}" = set; then :
13812 enableval=$enable_eeze_mount;
13813 if test "x${enableval}" = "xyes" ; then
13814 have_eeze_mount="yes"
13816 have_eeze_mount="no"
13820 have_eeze_mount="yes"
13824 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build eeze_mount binary" >&5
13825 $as_echo_n "checking whether to build eeze_mount binary... " >&6; }
13826 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $have_eeze_mount" >&5
13827 $as_echo "$have_eeze_mount" >&6; }
13829 if test "x$have_eeze_mount" = "xyes"; then
13830 EEZE_MOUNT_PRG=eeze_mount${EXEEXT}
13835 if test "x$have_eeze_mount" = "xyes"; then
13836 BUILD_EEZE_MOUNT_TRUE=
13837 BUILD_EEZE_MOUNT_FALSE='#'
13839 BUILD_EEZE_MOUNT_TRUE='#'
13840 BUILD_EEZE_MOUNT_FALSE=
13844 if test "x$have_eeze_mount" = "xyes"; then :
13853 # Check whether --enable-eeze-disk-ls was given.
13854 if test "${enable_eeze_disk_ls+set}" = set; then :
13855 enableval=$enable_eeze_disk_ls;
13856 if test "x${enableval}" = "xyes" ; then
13857 have_eeze_disk_ls="yes"
13859 have_eeze_disk_ls="no"
13863 have_eeze_disk_ls="yes"
13867 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build eeze_disk_ls binary" >&5
13868 $as_echo_n "checking whether to build eeze_disk_ls binary... " >&6; }
13869 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $have_eeze_disk_ls" >&5
13870 $as_echo "$have_eeze_disk_ls" >&6; }
13872 if test "x$have_eeze_disk_ls" = "xyes"; then
13873 EEZE_DISK_LS_PRG=eeze_disk_ls${EXEEXT}
13878 if test "x$have_eeze_disk_ls" = "xyes"; then
13879 BUILD_EEZE_DISK_LS_TRUE=
13880 BUILD_EEZE_DISK_LS_FALSE='#'
13882 BUILD_EEZE_DISK_LS_TRUE='#'
13883 BUILD_EEZE_DISK_LS_FALSE=
13887 if test "x$have_eeze_disk_ls" = "xyes"; then :
13896 # Check whether --enable-eeze-umount was given.
13897 if test "${enable_eeze_umount+set}" = set; then :
13898 enableval=$enable_eeze_umount;
13899 if test "x${enableval}" = "xyes" ; then
13900 have_eeze_umount="yes"
13902 have_eeze_umount="no"
13906 have_eeze_umount="yes"
13910 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build eeze_umount binary" >&5
13911 $as_echo_n "checking whether to build eeze_umount binary... " >&6; }
13912 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $have_eeze_umount" >&5
13913 $as_echo "$have_eeze_umount" >&6; }
13915 if test "x$have_eeze_umount" = "xyes"; then
13916 EEZE_UMOUNT_PRG=eeze_umount${EXEEXT}
13921 if test "x$have_eeze_umount" = "xyes"; then
13922 BUILD_EEZE_UMOUNT_TRUE=
13923 BUILD_EEZE_UMOUNT_FALSE='#'
13925 BUILD_EEZE_UMOUNT_TRUE='#'
13926 BUILD_EEZE_UMOUNT_FALSE=
13930 if test "x$have_eeze_umount" = "xyes"; then :
13939 # Check whether --enable-eeze-scanner was given.
13940 if test "${enable_eeze_scanner+set}" = set; then :
13941 enableval=$enable_eeze_scanner;
13942 if test "x${enableval}" = "xyes" ; then
13943 have_eeze_scanner="yes"
13945 have_eeze_scanner="no"
13949 have_eeze_scanner="yes"
13953 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build eeze_scanner binary" >&5
13954 $as_echo_n "checking whether to build eeze_scanner binary... " >&6; }
13955 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $have_eeze_scanner" >&5
13956 $as_echo "$have_eeze_scanner" >&6; }
13958 if test "x$have_eeze_scanner" = "xyes"; then
13959 EEZE_SCANNER_PRG=eeze_scanner${EXEEXT}
13964 if test "x$have_eeze_scanner" = "xyes"; then
13965 BUILD_EEZE_SCANNER_TRUE=
13966 BUILD_EEZE_SCANNER_FALSE='#'
13968 BUILD_EEZE_SCANNER_TRUE='#'
13969 BUILD_EEZE_SCANNER_FALSE=
13973 if test "x$have_eeze_scanner" = "xyes"; then :
13982 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"
13984 cat >confcache <<\_ACEOF
13985 # This file is a shell script that caches the results of configure
13986 # tests run on this system so they can be shared between configure
13987 # scripts and configure runs, see configure's option --config-cache.
13988 # It is not useful on other systems. If it contains results you don't
13989 # want to keep, you may remove or edit it.
13991 # config.status only pays attention to the cache file if you give it
13992 # the --recheck option to rerun configure.
13994 # `ac_cv_env_foo' variables (set or unset) will be overridden when
13995 # loading this file, other *unset* `ac_cv_foo' will be assigned the
13996 # following values.
14000 # The following way of writing the cache mishandles newlines in values,
14001 # but we know of no workaround that is simple, portable, and efficient.
14002 # So, we kill variables containing newlines.
14003 # Ultrix sh set writes to stderr and can't be redirected directly,
14004 # and sets the high bit in the cache file unless we assign to the vars.
14006 for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
14007 eval ac_val=\$$ac_var
14011 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
14012 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
14015 _ | IFS | as_nl) ;; #(
14016 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
14017 *) { eval $ac_var=; unset $ac_var;} ;;
14023 case $as_nl`(ac_space=' '; set) 2>&1` in #(
14024 *${as_nl}ac_space=\ *)
14025 # `set' does not quote correctly, so add quotes: double-quote
14026 # substitution turns \\\\ into \\, and sed turns \\ into \.
14029 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
14032 # `set' quotes correctly as required by POSIX, so do not add quotes.
14033 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
14042 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
14044 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
14046 if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
14047 if test -w "$cache_file"; then
14048 if test "x$cache_file" != "x/dev/null"; then
14049 { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
14050 $as_echo "$as_me: updating cache $cache_file" >&6;}
14051 if test ! -f "$cache_file" || test -h "$cache_file"; then
14052 cat confcache >"$cache_file"
14054 case $cache_file in #(
14056 mv -f confcache "$cache_file"$$ &&
14057 mv -f "$cache_file"$$ "$cache_file" ;; #(
14059 mv -f confcache "$cache_file" ;;
14064 { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
14065 $as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
14070 test "x$prefix" = xNONE && prefix=$ac_default_prefix
14071 # Let make expand exec_prefix.
14072 test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
14074 DEFS=-DHAVE_CONFIG_H
14079 for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
14080 # 1. Remove the extension, and $U if already installed.
14081 ac_script='s/\$U\././;s/\.o$//;s/\.obj$//'
14082 ac_i=`$as_echo "$ac_i" | sed "$ac_script"`
14083 # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR
14084 # will be set to the directory where LIBOBJS objects are built.
14085 as_fn_append ac_libobjs " \${LIBOBJDIR}$ac_i\$U.$ac_objext"
14086 as_fn_append ac_ltlibobjs " \${LIBOBJDIR}$ac_i"'$U.lo'
14088 LIBOBJS=$ac_libobjs
14090 LTLIBOBJS=$ac_ltlibobjs
14093 if test -n "$EXEEXT"; then
14095 am__EXEEXT_FALSE='#'
14097 am__EXEEXT_TRUE='#'
14101 if test -z "${AMDEP_TRUE}" && test -z "${AMDEP_FALSE}"; then
14102 as_fn_error $? "conditional \"AMDEP\" was never defined.
14103 Usually this means the macro was only invoked conditionally." "$LINENO" 5
14105 if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
14106 as_fn_error $? "conditional \"am__fastdepCC\" was never defined.
14107 Usually this means the macro was only invoked conditionally." "$LINENO" 5
14109 if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
14110 as_fn_error $? "conditional \"am__fastdepCC\" was never defined.
14111 Usually this means the macro was only invoked conditionally." "$LINENO" 5
14113 if test -z "${EFL_BUILD_DOC_TRUE}" && test -z "${EFL_BUILD_DOC_FALSE}"; then
14114 as_fn_error $? "conditional \"EFL_BUILD_DOC\" was never defined.
14115 Usually this means the macro was only invoked conditionally." "$LINENO" 5
14117 if test -z "${HAVE_EEZE_MOUNT_TRUE}" && test -z "${HAVE_EEZE_MOUNT_FALSE}"; then
14118 as_fn_error $? "conditional \"HAVE_EEZE_MOUNT\" was never defined.
14119 Usually this means the macro was only invoked conditionally." "$LINENO" 5
14121 if test -z "${HAVE_EEZE_MOUNT_TRUE}" && test -z "${HAVE_EEZE_MOUNT_FALSE}"; then
14122 as_fn_error $? "conditional \"HAVE_EEZE_MOUNT\" was never defined.
14123 Usually this means the macro was only invoked conditionally." "$LINENO" 5
14125 if test -z "${OLD_LIBMOUNT_TRUE}" && test -z "${OLD_LIBMOUNT_FALSE}"; then
14126 as_fn_error $? "conditional \"OLD_LIBMOUNT\" was never defined.
14127 Usually this means the macro was only invoked conditionally." "$LINENO" 5
14129 if test -z "${NEW_LIBMOUNT_TRUE}" && test -z "${NEW_LIBMOUNT_FALSE}"; then
14130 as_fn_error $? "conditional \"NEW_LIBMOUNT\" was never defined.
14131 Usually this means the macro was only invoked conditionally." "$LINENO" 5
14133 if test -z "${OLD_LIBMOUNT_TRUE}" && test -z "${OLD_LIBMOUNT_FALSE}"; then
14134 as_fn_error $? "conditional \"OLD_LIBMOUNT\" was never defined.
14135 Usually this means the macro was only invoked conditionally." "$LINENO" 5
14137 if test -z "${NEW_LIBMOUNT_TRUE}" && test -z "${NEW_LIBMOUNT_FALSE}"; then
14138 as_fn_error $? "conditional \"NEW_LIBMOUNT\" was never defined.
14139 Usually this means the macro was only invoked conditionally." "$LINENO" 5
14141 if test -z "${OLD_LIBMOUNT_TRUE}" && test -z "${OLD_LIBMOUNT_FALSE}"; then
14142 as_fn_error $? "conditional \"OLD_LIBMOUNT\" was never defined.
14143 Usually this means the macro was only invoked conditionally." "$LINENO" 5
14145 if test -z "${NEW_LIBMOUNT_TRUE}" && test -z "${NEW_LIBMOUNT_FALSE}"; then
14146 as_fn_error $? "conditional \"NEW_LIBMOUNT\" was never defined.
14147 Usually this means the macro was only invoked conditionally." "$LINENO" 5
14149 if test -z "${BUILD_EEZE_UDEV_TEST_TRUE}" && test -z "${BUILD_EEZE_UDEV_TEST_FALSE}"; then
14150 as_fn_error $? "conditional \"BUILD_EEZE_UDEV_TEST\" was never defined.
14151 Usually this means the macro was only invoked conditionally." "$LINENO" 5
14153 if test -z "${BUILD_EEZE_MOUNT_TRUE}" && test -z "${BUILD_EEZE_MOUNT_FALSE}"; then
14154 as_fn_error $? "conditional \"BUILD_EEZE_MOUNT\" was never defined.
14155 Usually this means the macro was only invoked conditionally." "$LINENO" 5
14157 if test -z "${BUILD_EEZE_DISK_LS_TRUE}" && test -z "${BUILD_EEZE_DISK_LS_FALSE}"; then
14158 as_fn_error $? "conditional \"BUILD_EEZE_DISK_LS\" was never defined.
14159 Usually this means the macro was only invoked conditionally." "$LINENO" 5
14161 if test -z "${BUILD_EEZE_UMOUNT_TRUE}" && test -z "${BUILD_EEZE_UMOUNT_FALSE}"; then
14162 as_fn_error $? "conditional \"BUILD_EEZE_UMOUNT\" was never defined.
14163 Usually this means the macro was only invoked conditionally." "$LINENO" 5
14165 if test -z "${BUILD_EEZE_SCANNER_TRUE}" && test -z "${BUILD_EEZE_SCANNER_FALSE}"; then
14166 as_fn_error $? "conditional \"BUILD_EEZE_SCANNER\" was never defined.
14167 Usually this means the macro was only invoked conditionally." "$LINENO" 5
14170 : "${CONFIG_STATUS=./config.status}"
14172 ac_clean_files_save=$ac_clean_files
14173 ac_clean_files="$ac_clean_files $CONFIG_STATUS"
14174 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5
14175 $as_echo "$as_me: creating $CONFIG_STATUS" >&6;}
14177 cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1
14179 # Generated by $as_me.
14180 # Run this file to recreate the current configuration.
14181 # Compiler output produced by configure, useful for debugging
14182 # configure, is in config.log if it exists.
14185 ac_cs_recheck=false
14188 SHELL=\${CONFIG_SHELL-$SHELL}
14191 cat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail=1
14192 ## -------------------- ##
14193 ## M4sh Initialization. ##
14194 ## -------------------- ##
14196 # Be more Bourne compatible
14197 DUALCASE=1; export DUALCASE # for MKS sh
14198 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :
14201 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
14202 # is contrary to our usage. Disable this feature.
14203 alias -g '${1+"$@"}'='"$@"'
14204 setopt NO_GLOB_SUBST
14206 case `(set -o) 2>/dev/null` in #(
14218 # Printing a long string crashes Solaris 7 /usr/bin/printf.
14219 as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
14220 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
14221 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
14222 # Prefer a ksh shell builtin over an external printf program on Solaris,
14223 # but without wasting forks for bash or zsh.
14224 if test -z "$BASH_VERSION$ZSH_VERSION" \
14225 && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
14226 as_echo='print -r --'
14227 as_echo_n='print -rn --'
14228 elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
14229 as_echo='printf %s\n'
14230 as_echo_n='printf %s'
14232 if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
14233 as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
14234 as_echo_n='/usr/ucb/echo -n'
14236 as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
14237 as_echo_n_body='eval
14241 expr "X$arg" : "X\\(.*\\)$as_nl";
14242 arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
14244 expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
14246 export as_echo_n_body
14247 as_echo_n='sh -c $as_echo_n_body as_echo'
14249 export as_echo_body
14250 as_echo='sh -c $as_echo_body as_echo'
14253 # The user is always right.
14254 if test "${PATH_SEPARATOR+set}" != set; then
14256 (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
14257 (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
14264 # We need space, tab and new line, in precisely that order. Quoting is
14265 # there to prevent editors from complaining about space-tab.
14266 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
14267 # splitting by setting IFS to empty value.)
14270 # Find who we are. Look in the path if we contain no directory separator.
14273 *[\\/]* ) as_myself=$0 ;;
14274 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
14275 for as_dir in $PATH
14278 test -z "$as_dir" && as_dir=.
14279 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
14285 # We did not find ourselves, most probably we were run as `sh COMMAND'
14286 # in which case we are not to be found in the path.
14287 if test "x$as_myself" = x; then
14290 if test ! -f "$as_myself"; then
14291 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
14295 # Unset variables that we do not need and which cause bugs (e.g. in
14296 # pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1"
14297 # suppresses any "Segmentation fault" message there. '((' could
14298 # trigger a bug in pdksh 5.2.14.
14299 for as_var in BASH_ENV ENV MAIL MAILPATH
14300 do eval test x\${$as_var+set} = xset \
14301 && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
14314 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
14317 # as_fn_error STATUS ERROR [LINENO LOG_FD]
14318 # ----------------------------------------
14319 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
14320 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
14321 # script with STATUS, using 1 if that was 0.
14324 as_status=$1; test $as_status -eq 0 && as_status=1
14326 as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
14327 $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
14329 $as_echo "$as_me: error: $2" >&2
14330 as_fn_exit $as_status
14334 # as_fn_set_status STATUS
14335 # -----------------------
14336 # Set $? to STATUS, without forking.
14337 as_fn_set_status ()
14340 } # as_fn_set_status
14342 # as_fn_exit STATUS
14343 # -----------------
14344 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
14348 as_fn_set_status $1
14354 # Portably unset VAR.
14357 { eval $1=; unset $1;}
14359 as_unset=as_fn_unset
14360 # as_fn_append VAR VALUE
14361 # ----------------------
14362 # Append the text in VALUE to the end of the definition contained in VAR. Take
14363 # advantage of any shell optimizations that allow amortized linear growth over
14364 # repeated appends, instead of the typical quadratic growth present in naive
14366 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
14367 eval 'as_fn_append ()
14378 # as_fn_arith ARG...
14379 # ------------------
14380 # Perform arithmetic evaluation on the ARGs, and store the result in the
14381 # global $as_val. Take advantage of shells that can avoid forks. The arguments
14382 # must be portable across $(()) and expr.
14383 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
14384 eval 'as_fn_arith ()
14391 as_val=`expr "$@" || test $? -eq 1`
14396 if expr a : '\(a\)' >/dev/null 2>&1 &&
14397 test "X`expr 00001 : '.*\(...\)'`" = X001; then
14403 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
14404 as_basename=basename
14409 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
14415 as_me=`$as_basename -- "$0" ||
14416 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
14417 X"$0" : 'X\(//\)$' \| \
14418 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
14420 sed '/^.*\/\([^/][^/]*\)\/*$/{
14434 # Avoid depending upon Character Ranges.
14435 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
14436 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
14437 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
14438 as_cr_digits='0123456789'
14439 as_cr_alnum=$as_cr_Letters$as_cr_digits
14441 ECHO_C= ECHO_N= ECHO_T=
14442 case `echo -n x` in #(((((
14444 case `echo 'xy\c'` in
14445 *c*) ECHO_T=' ';; # ECHO_T is single tab character.
14447 *) echo `echo ksh88 bug on AIX 6.1` > /dev/null
14454 rm -f conf$$ conf$$.exe conf$$.file
14455 if test -d conf$$.dir; then
14456 rm -f conf$$.dir/conf$$.file
14459 mkdir conf$$.dir 2>/dev/null
14461 if (echo >conf$$.file) 2>/dev/null; then
14462 if ln -s conf$$.file conf$$ 2>/dev/null; then
14464 # ... but there are two gotchas:
14465 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
14466 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
14467 # In both cases, we have to default to `cp -p'.
14468 ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
14470 elif ln conf$$.file conf$$ 2>/dev/null; then
14478 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
14479 rmdir conf$$.dir 2>/dev/null
14484 # Create "$as_dir" as a directory, including parents if necessary.
14489 -*) as_dir=./$as_dir;;
14491 test -d "$as_dir" || eval $as_mkdir_p || {
14495 *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
14496 *) as_qdir=$as_dir;;
14498 as_dirs="'$as_qdir' $as_dirs"
14499 as_dir=`$as_dirname -- "$as_dir" ||
14500 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
14501 X"$as_dir" : 'X\(//\)[^/]' \| \
14502 X"$as_dir" : 'X\(//\)$' \| \
14503 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
14504 $as_echo X"$as_dir" |
14505 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
14509 /^X\(\/\/\)[^/].*/{
14522 test -d "$as_dir" && break
14524 test -z "$as_dirs" || eval "mkdir $as_dirs"
14525 } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir"
14529 if mkdir -p . 2>/dev/null; then
14530 as_mkdir_p='mkdir -p "$as_dir"'
14532 test -d ./-p && rmdir ./-p
14536 if test -x / >/dev/null 2>&1; then
14537 as_test_x='test -x'
14539 if ls -dL / >/dev/null 2>&1; then
14546 if test -d "$1"; then
14552 case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in #((
14553 ???[sx]*):;;*)false;;esac;fi
14557 as_executable_p=$as_test_x
14559 # Sed expression to map a string onto a valid CPP name.
14560 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
14562 # Sed expression to map a string onto a valid variable name.
14563 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
14567 ## ----------------------------------- ##
14568 ## Main body of $CONFIG_STATUS script. ##
14569 ## ----------------------------------- ##
14571 test $as_write_fail = 0 && chmod +x $CONFIG_STATUS || ac_write_fail=1
14573 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
14574 # Save the log message, to keep $0 and so on meaningful, and to
14575 # report actual input values of CONFIG_FILES etc. instead of their
14576 # values after options handling.
14578 This file was extended by eeze $as_me 1.7.7, which was
14579 generated by GNU Autoconf 2.68. Invocation command line was
14581 CONFIG_FILES = $CONFIG_FILES
14582 CONFIG_HEADERS = $CONFIG_HEADERS
14583 CONFIG_LINKS = $CONFIG_LINKS
14584 CONFIG_COMMANDS = $CONFIG_COMMANDS
14587 on `(hostname || uname -n) 2>/dev/null | sed 1q`
14592 case $ac_config_files in *"
14593 "*) set x $ac_config_files; shift; ac_config_files=$*;;
14596 case $ac_config_headers in *"
14597 "*) set x $ac_config_headers; shift; ac_config_headers=$*;;
14601 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
14602 # Files that config.status was made for.
14603 config_files="$ac_config_files"
14604 config_headers="$ac_config_headers"
14605 config_commands="$ac_config_commands"
14609 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
14611 \`$as_me' instantiates files and other configuration actions
14612 from templates according to the current configuration. Unless the files
14613 and actions are specified as TAGs, all are instantiated by default.
14615 Usage: $0 [OPTION]... [TAG]...
14617 -h, --help print this help, then exit
14618 -V, --version print version number and configuration settings, then exit
14619 --config print configuration, then exit
14620 -q, --quiet, --silent
14621 do not print progress messages
14622 -d, --debug don't remove temporary files
14623 --recheck update $as_me by reconfiguring in the same conditions
14624 --file=FILE[:TEMPLATE]
14625 instantiate the configuration file FILE
14626 --header=FILE[:TEMPLATE]
14627 instantiate the configuration header FILE
14629 Configuration files:
14632 Configuration headers:
14635 Configuration commands:
14638 Report bugs to <enlightenment-devel@lists.sourceforge.net>."
14641 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
14642 ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`"
14644 eeze config.status 1.7.7
14645 configured by $0, generated by GNU Autoconf 2.68,
14646 with options \\"\$ac_cs_config\\"
14648 Copyright (C) 2010 Free Software Foundation, Inc.
14649 This config.status script is free software; the Free Software Foundation
14650 gives unlimited permission to copy, distribute and modify it."
14657 test -n "\$AWK" || AWK=awk
14660 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
14661 # The default lists apply if the user does not specify any file.
14667 ac_option=`expr "X$1" : 'X\([^=]*\)='`
14668 ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'`
14672 ac_option=`expr "X$1" : 'X\([^=]*\)='`
14684 # Handling of the options.
14685 -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
14687 --version | --versio | --versi | --vers | --ver | --ve | --v | -V )
14688 $as_echo "$ac_cs_version"; exit ;;
14689 --config | --confi | --conf | --con | --co | --c )
14690 $as_echo "$ac_cs_config"; exit ;;
14691 --debug | --debu | --deb | --de | --d | -d )
14693 --file | --fil | --fi | --f )
14696 *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
14697 '') as_fn_error $? "missing file argument" ;;
14699 as_fn_append CONFIG_FILES " '$ac_optarg'"
14700 ac_need_defaults=false;;
14701 --header | --heade | --head | --hea )
14704 *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
14706 as_fn_append CONFIG_HEADERS " '$ac_optarg'"
14707 ac_need_defaults=false;;
14709 # Conflict between --help and --header
14710 as_fn_error $? "ambiguous option: \`$1'
14711 Try \`$0 --help' for more information.";;
14712 --help | --hel | -h )
14713 $as_echo "$ac_cs_usage"; exit ;;
14714 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
14715 | -silent | --silent | --silen | --sile | --sil | --si | --s)
14718 # This is an error.
14719 -*) as_fn_error $? "unrecognized option: \`$1'
14720 Try \`$0 --help' for more information." ;;
14722 *) as_fn_append ac_config_targets " $1"
14723 ac_need_defaults=false ;;
14729 ac_configure_extra_args=
14731 if $ac_cs_silent; then
14733 ac_configure_extra_args="$ac_configure_extra_args --silent"
14737 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
14738 if \$ac_cs_recheck; then
14739 set X '$SHELL' '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
14741 \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6
14742 CONFIG_SHELL='$SHELL'
14743 export CONFIG_SHELL
14748 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
14752 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
14753 ## Running $as_me. ##
14759 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
14763 AMDEP_TRUE="$AMDEP_TRUE" ac_aux_dir="$ac_aux_dir"
14766 # The HP-UX ksh and POSIX shell print the target directory to stdout
14767 # if CDPATH is set.
14768 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
14770 sed_quote_subst='$sed_quote_subst'
14771 double_quote_subst='$double_quote_subst'
14772 delay_variable_subst='$delay_variable_subst'
14773 macro_version='`$ECHO "$macro_version" | $SED "$delay_single_quote_subst"`'
14774 macro_revision='`$ECHO "$macro_revision" | $SED "$delay_single_quote_subst"`'
14775 enable_shared='`$ECHO "$enable_shared" | $SED "$delay_single_quote_subst"`'
14776 enable_static='`$ECHO "$enable_static" | $SED "$delay_single_quote_subst"`'
14777 pic_mode='`$ECHO "$pic_mode" | $SED "$delay_single_quote_subst"`'
14778 enable_fast_install='`$ECHO "$enable_fast_install" | $SED "$delay_single_quote_subst"`'
14779 SHELL='`$ECHO "$SHELL" | $SED "$delay_single_quote_subst"`'
14780 ECHO='`$ECHO "$ECHO" | $SED "$delay_single_quote_subst"`'
14781 PATH_SEPARATOR='`$ECHO "$PATH_SEPARATOR" | $SED "$delay_single_quote_subst"`'
14782 host_alias='`$ECHO "$host_alias" | $SED "$delay_single_quote_subst"`'
14783 host='`$ECHO "$host" | $SED "$delay_single_quote_subst"`'
14784 host_os='`$ECHO "$host_os" | $SED "$delay_single_quote_subst"`'
14785 build_alias='`$ECHO "$build_alias" | $SED "$delay_single_quote_subst"`'
14786 build='`$ECHO "$build" | $SED "$delay_single_quote_subst"`'
14787 build_os='`$ECHO "$build_os" | $SED "$delay_single_quote_subst"`'
14788 SED='`$ECHO "$SED" | $SED "$delay_single_quote_subst"`'
14789 Xsed='`$ECHO "$Xsed" | $SED "$delay_single_quote_subst"`'
14790 GREP='`$ECHO "$GREP" | $SED "$delay_single_quote_subst"`'
14791 EGREP='`$ECHO "$EGREP" | $SED "$delay_single_quote_subst"`'
14792 FGREP='`$ECHO "$FGREP" | $SED "$delay_single_quote_subst"`'
14793 LD='`$ECHO "$LD" | $SED "$delay_single_quote_subst"`'
14794 NM='`$ECHO "$NM" | $SED "$delay_single_quote_subst"`'
14795 LN_S='`$ECHO "$LN_S" | $SED "$delay_single_quote_subst"`'
14796 max_cmd_len='`$ECHO "$max_cmd_len" | $SED "$delay_single_quote_subst"`'
14797 ac_objext='`$ECHO "$ac_objext" | $SED "$delay_single_quote_subst"`'
14798 exeext='`$ECHO "$exeext" | $SED "$delay_single_quote_subst"`'
14799 lt_unset='`$ECHO "$lt_unset" | $SED "$delay_single_quote_subst"`'
14800 lt_SP2NL='`$ECHO "$lt_SP2NL" | $SED "$delay_single_quote_subst"`'
14801 lt_NL2SP='`$ECHO "$lt_NL2SP" | $SED "$delay_single_quote_subst"`'
14802 lt_cv_to_host_file_cmd='`$ECHO "$lt_cv_to_host_file_cmd" | $SED "$delay_single_quote_subst"`'
14803 lt_cv_to_tool_file_cmd='`$ECHO "$lt_cv_to_tool_file_cmd" | $SED "$delay_single_quote_subst"`'
14804 reload_flag='`$ECHO "$reload_flag" | $SED "$delay_single_quote_subst"`'
14805 reload_cmds='`$ECHO "$reload_cmds" | $SED "$delay_single_quote_subst"`'
14806 OBJDUMP='`$ECHO "$OBJDUMP" | $SED "$delay_single_quote_subst"`'
14807 deplibs_check_method='`$ECHO "$deplibs_check_method" | $SED "$delay_single_quote_subst"`'
14808 file_magic_cmd='`$ECHO "$file_magic_cmd" | $SED "$delay_single_quote_subst"`'
14809 file_magic_glob='`$ECHO "$file_magic_glob" | $SED "$delay_single_quote_subst"`'
14810 want_nocaseglob='`$ECHO "$want_nocaseglob" | $SED "$delay_single_quote_subst"`'
14811 DLLTOOL='`$ECHO "$DLLTOOL" | $SED "$delay_single_quote_subst"`'
14812 sharedlib_from_linklib_cmd='`$ECHO "$sharedlib_from_linklib_cmd" | $SED "$delay_single_quote_subst"`'
14813 AR='`$ECHO "$AR" | $SED "$delay_single_quote_subst"`'
14814 AR_FLAGS='`$ECHO "$AR_FLAGS" | $SED "$delay_single_quote_subst"`'
14815 archiver_list_spec='`$ECHO "$archiver_list_spec" | $SED "$delay_single_quote_subst"`'
14816 STRIP='`$ECHO "$STRIP" | $SED "$delay_single_quote_subst"`'
14817 RANLIB='`$ECHO "$RANLIB" | $SED "$delay_single_quote_subst"`'
14818 old_postinstall_cmds='`$ECHO "$old_postinstall_cmds" | $SED "$delay_single_quote_subst"`'
14819 old_postuninstall_cmds='`$ECHO "$old_postuninstall_cmds" | $SED "$delay_single_quote_subst"`'
14820 old_archive_cmds='`$ECHO "$old_archive_cmds" | $SED "$delay_single_quote_subst"`'
14821 lock_old_archive_extraction='`$ECHO "$lock_old_archive_extraction" | $SED "$delay_single_quote_subst"`'
14822 CC='`$ECHO "$CC" | $SED "$delay_single_quote_subst"`'
14823 CFLAGS='`$ECHO "$CFLAGS" | $SED "$delay_single_quote_subst"`'
14824 compiler='`$ECHO "$compiler" | $SED "$delay_single_quote_subst"`'
14825 GCC='`$ECHO "$GCC" | $SED "$delay_single_quote_subst"`'
14826 lt_cv_sys_global_symbol_pipe='`$ECHO "$lt_cv_sys_global_symbol_pipe" | $SED "$delay_single_quote_subst"`'
14827 lt_cv_sys_global_symbol_to_cdecl='`$ECHO "$lt_cv_sys_global_symbol_to_cdecl" | $SED "$delay_single_quote_subst"`'
14828 lt_cv_sys_global_symbol_to_c_name_address='`$ECHO "$lt_cv_sys_global_symbol_to_c_name_address" | $SED "$delay_single_quote_subst"`'
14829 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"`'
14830 nm_file_list_spec='`$ECHO "$nm_file_list_spec" | $SED "$delay_single_quote_subst"`'
14831 lt_sysroot='`$ECHO "$lt_sysroot" | $SED "$delay_single_quote_subst"`'
14832 objdir='`$ECHO "$objdir" | $SED "$delay_single_quote_subst"`'
14833 MAGIC_CMD='`$ECHO "$MAGIC_CMD" | $SED "$delay_single_quote_subst"`'
14834 lt_prog_compiler_no_builtin_flag='`$ECHO "$lt_prog_compiler_no_builtin_flag" | $SED "$delay_single_quote_subst"`'
14835 lt_prog_compiler_pic='`$ECHO "$lt_prog_compiler_pic" | $SED "$delay_single_quote_subst"`'
14836 lt_prog_compiler_wl='`$ECHO "$lt_prog_compiler_wl" | $SED "$delay_single_quote_subst"`'
14837 lt_prog_compiler_static='`$ECHO "$lt_prog_compiler_static" | $SED "$delay_single_quote_subst"`'
14838 lt_cv_prog_compiler_c_o='`$ECHO "$lt_cv_prog_compiler_c_o" | $SED "$delay_single_quote_subst"`'
14839 need_locks='`$ECHO "$need_locks" | $SED "$delay_single_quote_subst"`'
14840 MANIFEST_TOOL='`$ECHO "$MANIFEST_TOOL" | $SED "$delay_single_quote_subst"`'
14841 DSYMUTIL='`$ECHO "$DSYMUTIL" | $SED "$delay_single_quote_subst"`'
14842 NMEDIT='`$ECHO "$NMEDIT" | $SED "$delay_single_quote_subst"`'
14843 LIPO='`$ECHO "$LIPO" | $SED "$delay_single_quote_subst"`'
14844 OTOOL='`$ECHO "$OTOOL" | $SED "$delay_single_quote_subst"`'
14845 OTOOL64='`$ECHO "$OTOOL64" | $SED "$delay_single_quote_subst"`'
14846 libext='`$ECHO "$libext" | $SED "$delay_single_quote_subst"`'
14847 shrext_cmds='`$ECHO "$shrext_cmds" | $SED "$delay_single_quote_subst"`'
14848 extract_expsyms_cmds='`$ECHO "$extract_expsyms_cmds" | $SED "$delay_single_quote_subst"`'
14849 archive_cmds_need_lc='`$ECHO "$archive_cmds_need_lc" | $SED "$delay_single_quote_subst"`'
14850 enable_shared_with_static_runtimes='`$ECHO "$enable_shared_with_static_runtimes" | $SED "$delay_single_quote_subst"`'
14851 export_dynamic_flag_spec='`$ECHO "$export_dynamic_flag_spec" | $SED "$delay_single_quote_subst"`'
14852 whole_archive_flag_spec='`$ECHO "$whole_archive_flag_spec" | $SED "$delay_single_quote_subst"`'
14853 compiler_needs_object='`$ECHO "$compiler_needs_object" | $SED "$delay_single_quote_subst"`'
14854 old_archive_from_new_cmds='`$ECHO "$old_archive_from_new_cmds" | $SED "$delay_single_quote_subst"`'
14855 old_archive_from_expsyms_cmds='`$ECHO "$old_archive_from_expsyms_cmds" | $SED "$delay_single_quote_subst"`'
14856 archive_cmds='`$ECHO "$archive_cmds" | $SED "$delay_single_quote_subst"`'
14857 archive_expsym_cmds='`$ECHO "$archive_expsym_cmds" | $SED "$delay_single_quote_subst"`'
14858 module_cmds='`$ECHO "$module_cmds" | $SED "$delay_single_quote_subst"`'
14859 module_expsym_cmds='`$ECHO "$module_expsym_cmds" | $SED "$delay_single_quote_subst"`'
14860 with_gnu_ld='`$ECHO "$with_gnu_ld" | $SED "$delay_single_quote_subst"`'
14861 allow_undefined_flag='`$ECHO "$allow_undefined_flag" | $SED "$delay_single_quote_subst"`'
14862 no_undefined_flag='`$ECHO "$no_undefined_flag" | $SED "$delay_single_quote_subst"`'
14863 hardcode_libdir_flag_spec='`$ECHO "$hardcode_libdir_flag_spec" | $SED "$delay_single_quote_subst"`'
14864 hardcode_libdir_separator='`$ECHO "$hardcode_libdir_separator" | $SED "$delay_single_quote_subst"`'
14865 hardcode_direct='`$ECHO "$hardcode_direct" | $SED "$delay_single_quote_subst"`'
14866 hardcode_direct_absolute='`$ECHO "$hardcode_direct_absolute" | $SED "$delay_single_quote_subst"`'
14867 hardcode_minus_L='`$ECHO "$hardcode_minus_L" | $SED "$delay_single_quote_subst"`'
14868 hardcode_shlibpath_var='`$ECHO "$hardcode_shlibpath_var" | $SED "$delay_single_quote_subst"`'
14869 hardcode_automatic='`$ECHO "$hardcode_automatic" | $SED "$delay_single_quote_subst"`'
14870 inherit_rpath='`$ECHO "$inherit_rpath" | $SED "$delay_single_quote_subst"`'
14871 link_all_deplibs='`$ECHO "$link_all_deplibs" | $SED "$delay_single_quote_subst"`'
14872 always_export_symbols='`$ECHO "$always_export_symbols" | $SED "$delay_single_quote_subst"`'
14873 export_symbols_cmds='`$ECHO "$export_symbols_cmds" | $SED "$delay_single_quote_subst"`'
14874 exclude_expsyms='`$ECHO "$exclude_expsyms" | $SED "$delay_single_quote_subst"`'
14875 include_expsyms='`$ECHO "$include_expsyms" | $SED "$delay_single_quote_subst"`'
14876 prelink_cmds='`$ECHO "$prelink_cmds" | $SED "$delay_single_quote_subst"`'
14877 postlink_cmds='`$ECHO "$postlink_cmds" | $SED "$delay_single_quote_subst"`'
14878 file_list_spec='`$ECHO "$file_list_spec" | $SED "$delay_single_quote_subst"`'
14879 variables_saved_for_relink='`$ECHO "$variables_saved_for_relink" | $SED "$delay_single_quote_subst"`'
14880 need_lib_prefix='`$ECHO "$need_lib_prefix" | $SED "$delay_single_quote_subst"`'
14881 need_version='`$ECHO "$need_version" | $SED "$delay_single_quote_subst"`'
14882 version_type='`$ECHO "$version_type" | $SED "$delay_single_quote_subst"`'
14883 runpath_var='`$ECHO "$runpath_var" | $SED "$delay_single_quote_subst"`'
14884 shlibpath_var='`$ECHO "$shlibpath_var" | $SED "$delay_single_quote_subst"`'
14885 shlibpath_overrides_runpath='`$ECHO "$shlibpath_overrides_runpath" | $SED "$delay_single_quote_subst"`'
14886 libname_spec='`$ECHO "$libname_spec" | $SED "$delay_single_quote_subst"`'
14887 library_names_spec='`$ECHO "$library_names_spec" | $SED "$delay_single_quote_subst"`'
14888 soname_spec='`$ECHO "$soname_spec" | $SED "$delay_single_quote_subst"`'
14889 install_override_mode='`$ECHO "$install_override_mode" | $SED "$delay_single_quote_subst"`'
14890 postinstall_cmds='`$ECHO "$postinstall_cmds" | $SED "$delay_single_quote_subst"`'
14891 postuninstall_cmds='`$ECHO "$postuninstall_cmds" | $SED "$delay_single_quote_subst"`'
14892 finish_cmds='`$ECHO "$finish_cmds" | $SED "$delay_single_quote_subst"`'
14893 finish_eval='`$ECHO "$finish_eval" | $SED "$delay_single_quote_subst"`'
14894 hardcode_into_libs='`$ECHO "$hardcode_into_libs" | $SED "$delay_single_quote_subst"`'
14895 sys_lib_search_path_spec='`$ECHO "$sys_lib_search_path_spec" | $SED "$delay_single_quote_subst"`'
14896 sys_lib_dlsearch_path_spec='`$ECHO "$sys_lib_dlsearch_path_spec" | $SED "$delay_single_quote_subst"`'
14897 hardcode_action='`$ECHO "$hardcode_action" | $SED "$delay_single_quote_subst"`'
14898 enable_dlopen='`$ECHO "$enable_dlopen" | $SED "$delay_single_quote_subst"`'
14899 enable_dlopen_self='`$ECHO "$enable_dlopen_self" | $SED "$delay_single_quote_subst"`'
14900 enable_dlopen_self_static='`$ECHO "$enable_dlopen_self_static" | $SED "$delay_single_quote_subst"`'
14901 old_striplib='`$ECHO "$old_striplib" | $SED "$delay_single_quote_subst"`'
14902 striplib='`$ECHO "$striplib" | $SED "$delay_single_quote_subst"`'
14905 LTCFLAGS='$LTCFLAGS'
14906 compiler='$compiler_DEFAULT'
14908 # A function that is used when there is no print builtin or printf.
14909 func_fallback_echo ()
14911 eval 'cat <<_LTECHO_EOF
14916 # Quote evaled strings.
14931 deplibs_check_method \
14936 sharedlib_from_linklib_cmd \
14939 archiver_list_spec \
14945 lt_cv_sys_global_symbol_pipe \
14946 lt_cv_sys_global_symbol_to_cdecl \
14947 lt_cv_sys_global_symbol_to_c_name_address \
14948 lt_cv_sys_global_symbol_to_c_name_address_lib_prefix \
14949 nm_file_list_spec \
14950 lt_prog_compiler_no_builtin_flag \
14951 lt_prog_compiler_pic \
14952 lt_prog_compiler_wl \
14953 lt_prog_compiler_static \
14954 lt_cv_prog_compiler_c_o \
14963 export_dynamic_flag_spec \
14964 whole_archive_flag_spec \
14965 compiler_needs_object \
14967 allow_undefined_flag \
14968 no_undefined_flag \
14969 hardcode_libdir_flag_spec \
14970 hardcode_libdir_separator \
14974 variables_saved_for_relink \
14976 library_names_spec \
14978 install_override_mode \
14982 case \`eval \\\\\$ECHO \\\\""\\\\\$\$var"\\\\"\` in
14983 *[\\\\\\\`\\"\\\$]*)
14984 eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"\\\$\$var\\" | \\\$SED \\"\\\$sed_quote_subst\\"\\\`\\\\\\""
14987 eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
14992 # Double-quote double-evaled strings.
14993 for var in reload_cmds \
14994 old_postinstall_cmds \
14995 old_postuninstall_cmds \
14997 extract_expsyms_cmds \
14998 old_archive_from_new_cmds \
14999 old_archive_from_expsyms_cmds \
15001 archive_expsym_cmds \
15003 module_expsym_cmds \
15004 export_symbols_cmds \
15008 postuninstall_cmds \
15010 sys_lib_search_path_spec \
15011 sys_lib_dlsearch_path_spec; do
15012 case \`eval \\\\\$ECHO \\\\""\\\\\$\$var"\\\\"\` in
15013 *[\\\\\\\`\\"\\\$]*)
15014 eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"\\\$\$var\\" | \\\$SED -e \\"\\\$double_quote_subst\\" -e \\"\\\$sed_quote_subst\\" -e \\"\\\$delay_variable_subst\\"\\\`\\\\\\""
15017 eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
15022 ac_aux_dir='$ac_aux_dir'
15023 xsi_shell='$xsi_shell'
15024 lt_shell_append='$lt_shell_append'
15026 # See if we are running on zsh, and set the options which allow our
15027 # commands through without removal of \ escapes INIT.
15028 if test -n "\${ZSH_VERSION+set}" ; then
15029 setopt NO_GLOB_SUBST
15035 TIMESTAMP='$TIMESTAMP'
15044 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
15046 # Handling of arguments.
15047 for ac_config_target in $ac_config_targets
15049 case $ac_config_target in
15050 "config.h") CONFIG_HEADERS="$CONFIG_HEADERS config.h" ;;
15051 "depfiles") CONFIG_COMMANDS="$CONFIG_COMMANDS depfiles" ;;
15052 "libtool") CONFIG_COMMANDS="$CONFIG_COMMANDS libtool" ;;
15053 "Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;;
15054 "doc/eeze.dox") CONFIG_FILES="$CONFIG_FILES doc/eeze.dox" ;;
15055 "doc/Makefile") CONFIG_FILES="$CONFIG_FILES doc/Makefile" ;;
15056 "doc/Doxyfile") CONFIG_FILES="$CONFIG_FILES doc/Doxyfile" ;;
15057 "src/Makefile") CONFIG_FILES="$CONFIG_FILES src/Makefile" ;;
15058 "src/lib/Makefile") CONFIG_FILES="$CONFIG_FILES src/lib/Makefile" ;;
15059 "src/bin/Makefile") CONFIG_FILES="$CONFIG_FILES src/bin/Makefile" ;;
15060 "eeze.pc") CONFIG_FILES="$CONFIG_FILES eeze.pc" ;;
15061 "eeze.spec") CONFIG_FILES="$CONFIG_FILES eeze.spec" ;;
15063 *) as_fn_error $? "invalid argument: \`$ac_config_target'" "$LINENO" 5;;
15068 # If the user did not use the arguments to specify the items to instantiate,
15069 # then the envvar interface is used. Set only those that are not.
15070 # We use the long form for the default assignment because of an extremely
15071 # bizarre bug on SunOS 4.1.3.
15072 if $ac_need_defaults; then
15073 test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
15074 test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS=$config_headers
15075 test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS=$config_commands
15078 # Have a temporary directory for convenience. Make it in the build tree
15079 # simply because there is no reason against having it here, and in addition,
15080 # creating and moving files from /tmp can sometimes cause problems.
15081 # Hook for its removal unless debugging.
15082 # Note that there is a small window in which the directory will not be cleaned:
15083 # after its creation but before its name has been assigned to `$tmp'.
15087 trap 'exit_status=$?
15088 : "${ac_tmp:=$tmp}"
15089 { test ! -d "$ac_tmp" || rm -fr "$ac_tmp"; } && exit $exit_status
15091 trap 'as_fn_exit 1' 1 2 13 15
15093 # Create a (secure) tmp directory for tmp files.
15096 tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
15100 tmp=./conf$$-$RANDOM
15101 (umask 077 && mkdir "$tmp")
15102 } || as_fn_error $? "cannot create a temporary directory in ." "$LINENO" 5
15105 # Set up the scripts for CONFIG_FILES section.
15106 # No need to generate them if there are no CONFIG_FILES.
15107 # This happens for instance with `./config.status config.h'.
15108 if test -n "$CONFIG_FILES"; then
15111 ac_cr=`echo X | tr X '\015'`
15112 # On cygwin, bash can eat \r inside `` if the user requested igncr.
15113 # But we know of no other shell where ac_cr would be empty at this
15114 # point, so we can use a bashism as a fallback.
15115 if test "x$ac_cr" = x; then
15116 eval ac_cr=\$\'\\r\'
15118 ac_cs_awk_cr=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
15119 if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
15122 ac_cs_awk_cr=$ac_cr
15125 echo 'BEGIN {' >"$ac_tmp/subs1.awk" &&
15130 echo "cat >conf$$subs.awk <<_ACEOF" &&
15131 echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
15133 } >conf$$subs.sh ||
15134 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
15135 ac_delim_num=`echo "$ac_subst_vars" | grep -c '^'`
15137 for ac_last_try in false false false false false :; do
15138 . ./conf$$subs.sh ||
15139 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
15141 ac_delim_n=`sed -n "s/.*$ac_delim\$/X/p" conf$$subs.awk | grep -c X`
15142 if test $ac_delim_n = $ac_delim_num; then
15144 elif $ac_last_try; then
15145 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
15147 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
15150 rm -f conf$$subs.sh
15152 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
15153 cat >>"\$ac_tmp/subs1.awk" <<\\_ACAWK &&
15157 s/^/S["/; s/!.*/"]=/
15167 s/\(.\{148\}\)..*/\1/
15169 s/["\\]/\\&/g; s/^/"/; s/$/\\n"\\/
15174 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
15181 s/\(.\{148\}\)..*/\1/
15183 s/["\\]/\\&/g; s/^/"/; s/$/"/
15187 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
15192 ' <conf$$subs.awk | sed '
15197 ' >>$CONFIG_STATUS || ac_write_fail=1
15198 rm -f conf$$subs.awk
15199 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
15201 cat >>"\$ac_tmp/subs1.awk" <<_ACAWK &&
15202 for (key in S) S_is_set[key] = 1
15208 nfields = split(line, field, "@")
15210 len = length(field[1])
15211 for (i = 2; i < nfields; i++) {
15213 keylen = length(key)
15214 if (S_is_set[key]) {
15216 line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3)
15217 len += length(value) + length(field[++i])
15228 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
15229 if sed "s/$ac_cr//" < /dev/null > /dev/null 2>&1; then
15230 sed "s/$ac_cr\$//; s/$ac_cr/$ac_cs_awk_cr/g"
15233 fi < "$ac_tmp/subs1.awk" > "$ac_tmp/subs.awk" \
15234 || as_fn_error $? "could not setup config files machinery" "$LINENO" 5
15237 # VPATH may cause trouble with some makes, so we remove sole $(srcdir),
15238 # ${srcdir} and @srcdir@ entries from VPATH if srcdir is ".", strip leading and
15239 # trailing colons and then remove the whole line if VPATH becomes empty
15240 # (actually we leave an empty line to preserve line numbers).
15241 if test "x$srcdir" = x.; then
15242 ac_vpsub='/^[ ]*VPATH[ ]*=[ ]*/{
15260 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
15261 fi # test -n "$CONFIG_FILES"
15263 # Set up the scripts for CONFIG_HEADERS section.
15264 # No need to generate them if there are no CONFIG_HEADERS.
15265 # This happens for instance with `./config.status Makefile'.
15266 if test -n "$CONFIG_HEADERS"; then
15267 cat >"$ac_tmp/defines.awk" <<\_ACAWK ||
15271 # Transform confdefs.h into an awk script `defines.awk', embedded as
15272 # here-document in config.status, that substitutes the proper values into
15273 # config.h.in to produce config.h.
15275 # Create a delimiter string that does not exist in confdefs.h, to ease
15276 # handling of long lines.
15278 for ac_last_try in false false :; do
15279 ac_tt=`sed -n "/$ac_delim/p" confdefs.h`
15280 if test -z "$ac_tt"; then
15282 elif $ac_last_try; then
15283 as_fn_error $? "could not make $CONFIG_HEADERS" "$LINENO" 5
15285 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
15289 # For the awk script, D is an array of macro values keyed by name,
15290 # likewise P contains macro parameters if any. Preserve backslash
15291 # newline sequences.
15293 ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]*
15295 s/.\{148\}/&'"$ac_delim"'/g
15298 s/^[ ]*#[ ]*define[ ][ ]*/ /
15305 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\1"]="\2"\
15307 s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\1"]=" \2"/p
15311 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\1"]="\2"\
15312 D["\1"]=" \3\\\\\\n"\\/p
15314 s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\1"]=" \2\\\\\\n"\\/p
15319 s/.\{148\}/&'"$ac_delim"'/g
15324 s/["\\]/\\&/g; s/^/"/; s/$/"/p
15327 s/["\\]/\\&/g; s/^/"/; s/$/\\\\\\n"\\/p
15329 ' <confdefs.h | sed '
15330 s/'"$ac_delim"'/"\\\
15331 "/g' >>$CONFIG_STATUS || ac_write_fail=1
15333 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
15334 for (key in D) D_is_set[key] = 1
15337 /^[\t ]*#[\t ]*(define|undef)[\t ]+$ac_word_re([\t (]|\$)/ {
15339 split(line, arg, " ")
15340 if (arg[1] == "#") {
15344 defundef = substr(arg[1], 2)
15347 split(mac1, mac2, "(") #)
15349 prefix = substr(line, 1, index(line, defundef) - 1)
15350 if (D_is_set[macro]) {
15351 # Preserve the white space surrounding the "#".
15352 print prefix "define", macro P[macro] D[macro]
15355 # Replace #undef with comments. This is necessary, for example,
15356 # in the case of _POSIX_SOURCE, which is predefined and required
15357 # on some systems where configure will not decide to define it.
15358 if (defundef == "undef") {
15359 print "/*", prefix defundef, macro, "*/"
15367 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
15368 as_fn_error $? "could not setup config headers machinery" "$LINENO" 5
15369 fi # test -n "$CONFIG_HEADERS"
15372 eval set X " :F $CONFIG_FILES :H $CONFIG_HEADERS :C $CONFIG_COMMANDS"
15377 :[FHLC]) ac_mode=$ac_tag; continue;;
15379 case $ac_mode$ac_tag in
15381 :L* | :C*:*) as_fn_error $? "invalid tag \`$ac_tag'" "$LINENO" 5;;
15382 :[FH]-) ac_tag=-:-;;
15383 :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
15400 -) ac_f="$ac_tmp/stdin";;
15401 *) # Look for the file first in the build tree, then in the source tree
15402 # (if the path is not absolute). The absolute path cannot be DOS-style,
15403 # because $ac_f cannot contain `:'.
15407 *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
15409 as_fn_error 1 "cannot find input file: \`$ac_f'" "$LINENO" 5;;
15411 case $ac_f in *\'*) ac_f=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
15412 as_fn_append ac_file_inputs " '$ac_f'"
15415 # Let's still pretend it is `configure' which instantiates (i.e., don't
15416 # use $as_me), people would be surprised to read:
15417 # /* config.h. Generated by config.status. */
15418 configure_input='Generated from '`
15419 $as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
15421 if test x"$ac_file" != x-; then
15422 configure_input="$ac_file. $configure_input"
15423 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5
15424 $as_echo "$as_me: creating $ac_file" >&6;}
15426 # Neutralize special characters interpreted by sed in replacement strings.
15427 case $configure_input in #(
15428 *\&* | *\|* | *\\* )
15429 ac_sed_conf_input=`$as_echo "$configure_input" |
15430 sed 's/[\\\\&|]/\\\\&/g'`;; #(
15431 *) ac_sed_conf_input=$configure_input;;
15435 *:-:* | *:-) cat >"$ac_tmp/stdin" \
15436 || as_fn_error $? "could not create $ac_file" "$LINENO" 5 ;;
15441 ac_dir=`$as_dirname -- "$ac_file" ||
15442 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
15443 X"$ac_file" : 'X\(//\)[^/]' \| \
15444 X"$ac_file" : 'X\(//\)$' \| \
15445 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
15446 $as_echo X"$ac_file" |
15447 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
15451 /^X\(\/\/\)[^/].*/{
15464 as_dir="$ac_dir"; as_fn_mkdir_p
15468 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
15470 ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
15471 # A ".." for each directory in $ac_dir_suffix.
15472 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
15473 case $ac_top_builddir_sub in
15474 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
15475 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
15478 ac_abs_top_builddir=$ac_pwd
15479 ac_abs_builddir=$ac_pwd$ac_dir_suffix
15480 # for backward compatibility:
15481 ac_top_builddir=$ac_top_build_prefix
15484 .) # We are building in place.
15486 ac_top_srcdir=$ac_top_builddir_sub
15487 ac_abs_top_srcdir=$ac_pwd ;;
15488 [\\/]* | ?:[\\/]* ) # Absolute name.
15489 ac_srcdir=$srcdir$ac_dir_suffix;
15490 ac_top_srcdir=$srcdir
15491 ac_abs_top_srcdir=$srcdir ;;
15492 *) # Relative name.
15493 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
15494 ac_top_srcdir=$ac_top_build_prefix$srcdir
15495 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
15497 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
15507 [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
15508 *) ac_INSTALL=$ac_top_build_prefix$INSTALL ;;
15510 ac_MKDIR_P=$MKDIR_P
15512 [\\/$]* | ?:[\\/]* ) ;;
15513 */*) ac_MKDIR_P=$ac_top_build_prefix$MKDIR_P ;;
15517 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
15518 # If the template does not know about datarootdir, expand it.
15519 # FIXME: This hack should be removed a few years after 2.60.
15520 ac_datarootdir_hack=; ac_datarootdir_seen=
15531 case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in
15532 *datarootdir*) ac_datarootdir_seen=yes;;
15533 *@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*)
15534 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
15535 $as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
15537 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
15538 ac_datarootdir_hack='
15539 s&@datadir@&$datadir&g
15540 s&@docdir@&$docdir&g
15541 s&@infodir@&$infodir&g
15542 s&@localedir@&$localedir&g
15543 s&@mandir@&$mandir&g
15544 s&\\\${datarootdir}&$datarootdir&g' ;;
15548 # Neutralize VPATH when `$srcdir' = `.'.
15549 # Shell code in configure.ac might set extrasub.
15550 # FIXME: do we really want to maintain this feature?
15551 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
15552 ac_sed_extra="$ac_vpsub
15555 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
15557 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
15558 s|@configure_input@|$ac_sed_conf_input|;t t
15559 s&@top_builddir@&$ac_top_builddir_sub&;t t
15560 s&@top_build_prefix@&$ac_top_build_prefix&;t t
15561 s&@srcdir@&$ac_srcdir&;t t
15562 s&@abs_srcdir@&$ac_abs_srcdir&;t t
15563 s&@top_srcdir@&$ac_top_srcdir&;t t
15564 s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t
15565 s&@builddir@&$ac_builddir&;t t
15566 s&@abs_builddir@&$ac_abs_builddir&;t t
15567 s&@abs_top_builddir@&$ac_abs_top_builddir&;t t
15568 s&@INSTALL@&$ac_INSTALL&;t t
15569 s&@MKDIR_P@&$ac_MKDIR_P&;t t
15570 $ac_datarootdir_hack
15572 eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$ac_tmp/subs.awk" \
15573 >$ac_tmp/out || as_fn_error $? "could not create $ac_file" "$LINENO" 5
15575 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
15576 { ac_out=`sed -n '/\${datarootdir}/p' "$ac_tmp/out"`; test -n "$ac_out"; } &&
15577 { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' \
15578 "$ac_tmp/out"`; test -z "$ac_out"; } &&
15579 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file contains a reference to the variable \`datarootdir'
15580 which seems to be undefined. Please make sure it is defined" >&5
15581 $as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir'
15582 which seems to be undefined. Please make sure it is defined" >&2;}
15584 rm -f "$ac_tmp/stdin"
15586 -) cat "$ac_tmp/out" && rm -f "$ac_tmp/out";;
15587 *) rm -f "$ac_file" && mv "$ac_tmp/out" "$ac_file";;
15589 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
15595 if test x"$ac_file" != x-; then
15597 $as_echo "/* $configure_input */" \
15598 && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs"
15599 } >"$ac_tmp/config.h" \
15600 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
15601 if diff "$ac_file" "$ac_tmp/config.h" >/dev/null 2>&1; then
15602 { $as_echo "$as_me:${as_lineno-$LINENO}: $ac_file is unchanged" >&5
15603 $as_echo "$as_me: $ac_file is unchanged" >&6;}
15606 mv "$ac_tmp/config.h" "$ac_file" \
15607 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
15610 $as_echo "/* $configure_input */" \
15611 && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs" \
15612 || as_fn_error $? "could not create -" "$LINENO" 5
15614 # Compute "$ac_file"'s index in $config_headers.
15617 for _am_header in $config_headers :; do
15618 case $_am_header in
15619 $_am_arg | $_am_arg:* )
15622 _am_stamp_count=`expr $_am_stamp_count + 1` ;;
15625 echo "timestamp for $_am_arg" >`$as_dirname -- "$_am_arg" ||
15626 $as_expr X"$_am_arg" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
15627 X"$_am_arg" : 'X\(//\)[^/]' \| \
15628 X"$_am_arg" : 'X\(//\)$' \| \
15629 X"$_am_arg" : 'X\(/\)' \| . 2>/dev/null ||
15630 $as_echo X"$_am_arg" |
15631 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
15635 /^X\(\/\/\)[^/].*/{
15647 s/.*/./; q'`/stamp-h$_am_stamp_count
15650 :C) { $as_echo "$as_me:${as_lineno-$LINENO}: executing $ac_file commands" >&5
15651 $as_echo "$as_me: executing $ac_file commands" >&6;}
15656 case $ac_file$ac_mode in
15657 "depfiles":C) test x"$AMDEP_TRUE" != x"" || {
15658 # Autoconf 2.62 quotes --file arguments for eval, but not when files
15659 # are listed without --file. Let's play safe and only enable the eval
15660 # if we detect the quoting.
15661 case $CONFIG_FILES in
15662 *\'*) eval set x "$CONFIG_FILES" ;;
15663 *) set x $CONFIG_FILES ;;
15668 # Strip MF so we end up with the name of the file.
15669 mf=`echo "$mf" | sed -e 's/:.*$//'`
15670 # Check whether this is an Automake generated Makefile or not.
15671 # We used to match only the files named `Makefile.in', but
15672 # some people rename them; so instead we look at the file content.
15673 # Grep'ing the first line is not enough: some people post-process
15674 # each Makefile.in and add a new line on top of each file to say so.
15675 # Grep'ing the whole file is not good either: AIX grep has a line
15676 # limit of 2048, but all sed's we know have understand at least 4000.
15677 if sed -n 's,^#.*generated by automake.*,X,p' "$mf" | grep X >/dev/null 2>&1; then
15678 dirpart=`$as_dirname -- "$mf" ||
15679 $as_expr X"$mf" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
15680 X"$mf" : 'X\(//\)[^/]' \| \
15681 X"$mf" : 'X\(//\)$' \| \
15682 X"$mf" : 'X\(/\)' \| . 2>/dev/null ||
15684 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
15688 /^X\(\/\/\)[^/].*/{
15704 # Extract the definition of DEPDIR, am__include, and am__quote
15705 # from the Makefile without running `make'.
15706 DEPDIR=`sed -n 's/^DEPDIR = //p' < "$mf"`
15707 test -z "$DEPDIR" && continue
15708 am__include=`sed -n 's/^am__include = //p' < "$mf"`
15709 test -z "am__include" && continue
15710 am__quote=`sed -n 's/^am__quote = //p' < "$mf"`
15711 # When using ansi2knr, U may be empty or an underscore; expand it
15712 U=`sed -n 's/^U = //p' < "$mf"`
15713 # Find all dependency output files, they are included files with
15714 # $(DEPDIR) in their names. We invoke sed twice because it is the
15715 # simplest approach to changing $(DEPDIR) to its actual value in the
15717 for file in `sed -n "
15718 s/^$am__include $am__quote\(.*(DEPDIR).*\)$am__quote"'$/\1/p' <"$mf" | \
15719 sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g' -e 's/\$U/'"$U"'/g'`; do
15720 # Make sure the directory exists.
15721 test -f "$dirpart/$file" && continue
15722 fdir=`$as_dirname -- "$file" ||
15723 $as_expr X"$file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
15724 X"$file" : 'X\(//\)[^/]' \| \
15725 X"$file" : 'X\(//\)$' \| \
15726 X"$file" : 'X\(/\)' \| . 2>/dev/null ||
15727 $as_echo X"$file" |
15728 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
15732 /^X\(\/\/\)[^/].*/{
15745 as_dir=$dirpart/$fdir; as_fn_mkdir_p
15746 # echo "creating $dirpart/$file"
15747 echo '# dummy' > "$dirpart/$file"
15754 # See if we are running on zsh, and set the options which allow our
15755 # commands through without removal of \ escapes.
15756 if test -n "${ZSH_VERSION+set}" ; then
15757 setopt NO_GLOB_SUBST
15760 cfgfile="${ofile}T"
15761 trap "$RM \"$cfgfile\"; exit 1" 1 2 15
15764 cat <<_LT_EOF >> "$cfgfile"
15767 # `$ECHO "$ofile" | sed 's%^.*/%%'` - Provide generalized library-building support services.
15768 # Generated automatically by $as_me ($PACKAGE$TIMESTAMP) $VERSION
15769 # Libtool was configured on host `(hostname || uname -n) 2>/dev/null | sed 1q`:
15770 # NOTE: Changes made to this file will be lost: look at ltmain.sh.
15772 # Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2003, 2004, 2005,
15773 # 2006, 2007, 2008, 2009, 2010, 2011 Free Software
15775 # Written by Gordon Matzigkeit, 1996
15777 # This file is part of GNU Libtool.
15779 # GNU Libtool is free software; you can redistribute it and/or
15780 # modify it under the terms of the GNU General Public License as
15781 # published by the Free Software Foundation; either version 2 of
15782 # the License, or (at your option) any later version.
15784 # As a special exception to the GNU General Public License,
15785 # if you distribute this file as part of a program or library that
15786 # is built using GNU Libtool, you may include this file under the
15787 # same distribution terms that you use for the rest of that program.
15789 # GNU Libtool is distributed in the hope that it will be useful,
15790 # but WITHOUT ANY WARRANTY; without even the implied warranty of
15791 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
15792 # GNU General Public License for more details.
15794 # You should have received a copy of the GNU General Public License
15795 # along with GNU Libtool; see the file COPYING. If not, a copy
15796 # can be downloaded from http://www.gnu.org/licenses/gpl.html, or
15797 # obtained by writing to the Free Software Foundation, Inc.,
15798 # 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
15801 # The names of the tagged configurations supported by this script.
15804 # ### BEGIN LIBTOOL CONFIG
15806 # Which release of libtool.m4 was used?
15807 macro_version=$macro_version
15808 macro_revision=$macro_revision
15810 # Whether or not to build shared libraries.
15811 build_libtool_libs=$enable_shared
15813 # Whether or not to build static libraries.
15814 build_old_libs=$enable_static
15816 # What type of objects to build.
15819 # Whether or not to optimize for fast installation.
15820 fast_install=$enable_fast_install
15822 # Shell to use when invoking shell scripts.
15825 # An echo program that protects backslashes.
15828 # The PATH separator for the build system.
15829 PATH_SEPARATOR=$lt_PATH_SEPARATOR
15832 host_alias=$host_alias
15836 # The build system.
15837 build_alias=$build_alias
15841 # A sed program that does not truncate output.
15844 # Sed that helps us avoid accidentally triggering echo(1) options like -n.
15845 Xsed="\$SED -e 1s/^X//"
15847 # A grep program that handles long lines.
15853 # A literal string matcher.
15856 # A BSD- or MS-compatible name lister.
15859 # Whether we need soft or hard links.
15862 # What is the maximum length of a command?
15863 max_cmd_len=$max_cmd_len
15865 # Object file suffix (normally "o").
15868 # Executable file suffix (normally "").
15871 # whether the shell understands "unset".
15874 # turn spaces into newlines.
15877 # turn newlines into spaces.
15880 # convert \$build file names to \$host format.
15881 to_host_file_cmd=$lt_cv_to_host_file_cmd
15883 # convert \$build files to toolchain format.
15884 to_tool_file_cmd=$lt_cv_to_tool_file_cmd
15886 # An object symbol dumper.
15887 OBJDUMP=$lt_OBJDUMP
15889 # Method to check whether dependent libraries are shared objects.
15890 deplibs_check_method=$lt_deplibs_check_method
15892 # Command to use when deplibs_check_method = "file_magic".
15893 file_magic_cmd=$lt_file_magic_cmd
15895 # How to find potential files when deplibs_check_method = "file_magic".
15896 file_magic_glob=$lt_file_magic_glob
15898 # Find potential files using nocaseglob when deplibs_check_method = "file_magic".
15899 want_nocaseglob=$lt_want_nocaseglob
15901 # DLL creation program.
15902 DLLTOOL=$lt_DLLTOOL
15904 # Command to associate shared and link libraries.
15905 sharedlib_from_linklib_cmd=$lt_sharedlib_from_linklib_cmd
15910 # Flags to create an archive.
15911 AR_FLAGS=$lt_AR_FLAGS
15913 # How to feed a file listing to the archiver.
15914 archiver_list_spec=$lt_archiver_list_spec
15916 # A symbol stripping program.
15919 # Commands used to install an old-style archive.
15921 old_postinstall_cmds=$lt_old_postinstall_cmds
15922 old_postuninstall_cmds=$lt_old_postuninstall_cmds
15924 # Whether to use a lock for old archive extraction.
15925 lock_old_archive_extraction=$lock_old_archive_extraction
15930 # LTCC compiler flags.
15931 LTCFLAGS=$lt_CFLAGS
15933 # Take the output of nm and produce a listing of raw symbols and C names.
15934 global_symbol_pipe=$lt_lt_cv_sys_global_symbol_pipe
15936 # Transform the output of nm in a proper C declaration.
15937 global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl
15939 # Transform the output of nm in a C name address pair.
15940 global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address
15942 # Transform the output of nm in a C name address pair when lib prefix is needed.
15943 global_symbol_to_c_name_address_lib_prefix=$lt_lt_cv_sys_global_symbol_to_c_name_address_lib_prefix
15945 # Specify filename containing input files for \$NM.
15946 nm_file_list_spec=$lt_nm_file_list_spec
15948 # The root where to search for dependent libraries,and in which our libraries should be installed.
15949 lt_sysroot=$lt_sysroot
15951 # The name of the directory that contains temporary libtool files.
15954 # Used to examine libraries when file_magic_cmd begins with "file".
15955 MAGIC_CMD=$MAGIC_CMD
15957 # Must we lock files when doing compilation?
15958 need_locks=$lt_need_locks
15961 MANIFEST_TOOL=$lt_MANIFEST_TOOL
15963 # Tool to manipulate archived DWARF debug symbol files on Mac OS X.
15964 DSYMUTIL=$lt_DSYMUTIL
15966 # Tool to change global to local symbols on Mac OS X.
15969 # Tool to manipulate fat objects and archives on Mac OS X.
15972 # ldd/readelf like tool for Mach-O binaries on Mac OS X.
15975 # ldd/readelf like tool for 64 bit Mach-O binaries on Mac OS X 10.4.
15976 OTOOL64=$lt_OTOOL64
15978 # Old archive suffix (normally "a").
15981 # Shared library suffix (normally ".so").
15982 shrext_cmds=$lt_shrext_cmds
15984 # The commands to extract the exported symbol list from a shared archive.
15985 extract_expsyms_cmds=$lt_extract_expsyms_cmds
15987 # Variables whose values should be saved in libtool wrapper scripts and
15988 # restored at link time.
15989 variables_saved_for_relink=$lt_variables_saved_for_relink
15991 # Do we need the "lib" prefix for modules?
15992 need_lib_prefix=$need_lib_prefix
15994 # Do we need a version for libraries?
15995 need_version=$need_version
15997 # Library versioning type.
15998 version_type=$version_type
16000 # Shared library runtime path variable.
16001 runpath_var=$runpath_var
16003 # Shared library path variable.
16004 shlibpath_var=$shlibpath_var
16006 # Is shlibpath searched before the hard-coded library search path?
16007 shlibpath_overrides_runpath=$shlibpath_overrides_runpath
16009 # Format of library name prefix.
16010 libname_spec=$lt_libname_spec
16012 # List of archive names. First name is the real one, the rest are links.
16013 # The last name is the one that the linker finds with -lNAME
16014 library_names_spec=$lt_library_names_spec
16016 # The coded name of the library, if different from the real name.
16017 soname_spec=$lt_soname_spec
16019 # Permission mode override for installation of shared libraries.
16020 install_override_mode=$lt_install_override_mode
16022 # Command to use after installation of a shared archive.
16023 postinstall_cmds=$lt_postinstall_cmds
16025 # Command to use after uninstallation of a shared archive.
16026 postuninstall_cmds=$lt_postuninstall_cmds
16028 # Commands used to finish a libtool library installation in a directory.
16029 finish_cmds=$lt_finish_cmds
16031 # As "finish_cmds", except a single script fragment to be evaled but
16033 finish_eval=$lt_finish_eval
16035 # Whether we should hardcode library paths into libraries.
16036 hardcode_into_libs=$hardcode_into_libs
16038 # Compile-time system search path for libraries.
16039 sys_lib_search_path_spec=$lt_sys_lib_search_path_spec
16041 # Run-time system search path for libraries.
16042 sys_lib_dlsearch_path_spec=$lt_sys_lib_dlsearch_path_spec
16044 # Whether dlopen is supported.
16045 dlopen_support=$enable_dlopen
16047 # Whether dlopen of programs is supported.
16048 dlopen_self=$enable_dlopen_self
16050 # Whether dlopen of statically linked programs is supported.
16051 dlopen_self_static=$enable_dlopen_self_static
16053 # Commands to strip libraries.
16054 old_striplib=$lt_old_striplib
16055 striplib=$lt_striplib
16058 # The linker used to build libraries.
16061 # How to create reloadable object files.
16062 reload_flag=$lt_reload_flag
16063 reload_cmds=$lt_reload_cmds
16065 # Commands used to build an old-style archive.
16066 old_archive_cmds=$lt_old_archive_cmds
16068 # A language specific compiler.
16071 # Is the compiler the GNU compiler?
16074 # Compiler flag to turn off builtin functions.
16075 no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag
16077 # Additional compiler flags for building library objects.
16078 pic_flag=$lt_lt_prog_compiler_pic
16080 # How to pass a linker flag through the compiler.
16081 wl=$lt_lt_prog_compiler_wl
16083 # Compiler flag to prevent dynamic linking.
16084 link_static_flag=$lt_lt_prog_compiler_static
16086 # Does compiler simultaneously support -c and -o options?
16087 compiler_c_o=$lt_lt_cv_prog_compiler_c_o
16089 # Whether or not to add -lc for building shared libraries.
16090 build_libtool_need_lc=$archive_cmds_need_lc
16092 # Whether or not to disallow shared libs when runtime libs are static.
16093 allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes
16095 # Compiler flag to allow reflexive dlopens.
16096 export_dynamic_flag_spec=$lt_export_dynamic_flag_spec
16098 # Compiler flag to generate shared objects directly from archives.
16099 whole_archive_flag_spec=$lt_whole_archive_flag_spec
16101 # Whether the compiler copes with passing no objects directly.
16102 compiler_needs_object=$lt_compiler_needs_object
16104 # Create an old-style archive from a shared archive.
16105 old_archive_from_new_cmds=$lt_old_archive_from_new_cmds
16107 # Create a temporary old-style archive to link instead of a shared archive.
16108 old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds
16110 # Commands used to build a shared archive.
16111 archive_cmds=$lt_archive_cmds
16112 archive_expsym_cmds=$lt_archive_expsym_cmds
16114 # Commands used to build a loadable module if different from building
16115 # a shared archive.
16116 module_cmds=$lt_module_cmds
16117 module_expsym_cmds=$lt_module_expsym_cmds
16119 # Whether we are building with GNU ld or not.
16120 with_gnu_ld=$lt_with_gnu_ld
16122 # Flag that allows shared libraries with undefined symbols to be built.
16123 allow_undefined_flag=$lt_allow_undefined_flag
16125 # Flag that enforces no undefined symbols.
16126 no_undefined_flag=$lt_no_undefined_flag
16128 # Flag to hardcode \$libdir into a binary during linking.
16129 # This must work even if \$libdir does not exist
16130 hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec
16132 # Whether we need a single "-rpath" flag with a separated argument.
16133 hardcode_libdir_separator=$lt_hardcode_libdir_separator
16135 # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
16136 # DIR into the resulting binary.
16137 hardcode_direct=$hardcode_direct
16139 # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
16140 # DIR into the resulting binary and the resulting library dependency is
16141 # "absolute",i.e impossible to change by setting \${shlibpath_var} if the
16142 # library is relocated.
16143 hardcode_direct_absolute=$hardcode_direct_absolute
16145 # Set to "yes" if using the -LDIR flag during linking hardcodes DIR
16146 # into the resulting binary.
16147 hardcode_minus_L=$hardcode_minus_L
16149 # Set to "yes" if using SHLIBPATH_VAR=DIR during linking hardcodes DIR
16150 # into the resulting binary.
16151 hardcode_shlibpath_var=$hardcode_shlibpath_var
16153 # Set to "yes" if building a shared library automatically hardcodes DIR
16154 # into the library and all subsequent libraries and executables linked
16156 hardcode_automatic=$hardcode_automatic
16158 # Set to yes if linker adds runtime paths of dependent libraries
16159 # to runtime path list.
16160 inherit_rpath=$inherit_rpath
16162 # Whether libtool must link a program against all its dependency libraries.
16163 link_all_deplibs=$link_all_deplibs
16165 # Set to "yes" if exported symbols are required.
16166 always_export_symbols=$always_export_symbols
16168 # The commands to list exported symbols.
16169 export_symbols_cmds=$lt_export_symbols_cmds
16171 # Symbols that should not be listed in the preloaded symbols.
16172 exclude_expsyms=$lt_exclude_expsyms
16174 # Symbols that must always be exported.
16175 include_expsyms=$lt_include_expsyms
16177 # Commands necessary for linking programs (against libraries) with templates.
16178 prelink_cmds=$lt_prelink_cmds
16180 # Commands necessary for finishing linking programs.
16181 postlink_cmds=$lt_postlink_cmds
16183 # Specify filename containing input files.
16184 file_list_spec=$lt_file_list_spec
16186 # How to hardcode a shared library path into an executable.
16187 hardcode_action=$hardcode_action
16189 # ### END LIBTOOL CONFIG
16195 cat <<\_LT_EOF >> "$cfgfile"
16196 # AIX sometimes has problems with the GCC collect2 program. For some
16197 # reason, if we set the COLLECT_NAMES environment variable, the problems
16198 # vanish in a puff of smoke.
16199 if test "X${COLLECT_NAMES+set}" != Xset; then
16201 export COLLECT_NAMES
16208 ltmain="$ac_aux_dir/ltmain.sh"
16211 # We use sed instead of cat because bash on DJGPP gets confused if
16212 # if finds mixed CR/LF and LF-only lines. Since sed operates in
16213 # text mode, it properly converts lines to CR/LF. This bash problem
16214 # is reportedly fixed, but why not run on old versions too?
16215 sed '$q' "$ltmain" >> "$cfgfile" \
16216 || (rm -f "$cfgfile"; exit 1)
16218 if test x"$xsi_shell" = xyes; then
16219 sed -e '/^func_dirname ()$/,/^} # func_dirname /c\
16223 \ */*) func_dirname_result="${1%/*}${2}" ;;\
16224 \ * ) func_dirname_result="${3}" ;;\
16226 } # Extended-shell func_dirname implementation' "$cfgfile" > $cfgfile.tmp \
16227 && mv -f "$cfgfile.tmp" "$cfgfile" \
16228 || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
16229 test 0 -eq $? || _lt_function_replace_fail=:
16232 sed -e '/^func_basename ()$/,/^} # func_basename /c\
16235 \ func_basename_result="${1##*/}"\
16236 } # Extended-shell func_basename implementation' "$cfgfile" > $cfgfile.tmp \
16237 && mv -f "$cfgfile.tmp" "$cfgfile" \
16238 || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
16239 test 0 -eq $? || _lt_function_replace_fail=:
16242 sed -e '/^func_dirname_and_basename ()$/,/^} # func_dirname_and_basename /c\
16243 func_dirname_and_basename ()\
16246 \ */*) func_dirname_result="${1%/*}${2}" ;;\
16247 \ * ) func_dirname_result="${3}" ;;\
16249 \ func_basename_result="${1##*/}"\
16250 } # Extended-shell func_dirname_and_basename implementation' "$cfgfile" > $cfgfile.tmp \
16251 && mv -f "$cfgfile.tmp" "$cfgfile" \
16252 || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
16253 test 0 -eq $? || _lt_function_replace_fail=:
16256 sed -e '/^func_stripname ()$/,/^} # func_stripname /c\
16259 \ # pdksh 5.2.14 does not do ${X%$Y} correctly if both X and Y are\
16260 \ # positional parameters, so assign one to ordinary parameter first.\
16261 \ func_stripname_result=${3}\
16262 \ func_stripname_result=${func_stripname_result#"${1}"}\
16263 \ func_stripname_result=${func_stripname_result%"${2}"}\
16264 } # Extended-shell func_stripname implementation' "$cfgfile" > $cfgfile.tmp \
16265 && mv -f "$cfgfile.tmp" "$cfgfile" \
16266 || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
16267 test 0 -eq $? || _lt_function_replace_fail=:
16270 sed -e '/^func_split_long_opt ()$/,/^} # func_split_long_opt /c\
16271 func_split_long_opt ()\
16273 \ func_split_long_opt_name=${1%%=*}\
16274 \ func_split_long_opt_arg=${1#*=}\
16275 } # Extended-shell func_split_long_opt implementation' "$cfgfile" > $cfgfile.tmp \
16276 && mv -f "$cfgfile.tmp" "$cfgfile" \
16277 || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
16278 test 0 -eq $? || _lt_function_replace_fail=:
16281 sed -e '/^func_split_short_opt ()$/,/^} # func_split_short_opt /c\
16282 func_split_short_opt ()\
16284 \ func_split_short_opt_arg=${1#??}\
16285 \ func_split_short_opt_name=${1%"$func_split_short_opt_arg"}\
16286 } # Extended-shell func_split_short_opt implementation' "$cfgfile" > $cfgfile.tmp \
16287 && mv -f "$cfgfile.tmp" "$cfgfile" \
16288 || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
16289 test 0 -eq $? || _lt_function_replace_fail=:
16292 sed -e '/^func_lo2o ()$/,/^} # func_lo2o /c\
16296 \ *.lo) func_lo2o_result=${1%.lo}.${objext} ;;\
16297 \ *) func_lo2o_result=${1} ;;\
16299 } # Extended-shell func_lo2o 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_xform ()$/,/^} # func_xform /c\
16308 func_xform_result=${1%.*}.lo\
16309 } # Extended-shell func_xform implementation' "$cfgfile" > $cfgfile.tmp \
16310 && mv -f "$cfgfile.tmp" "$cfgfile" \
16311 || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
16312 test 0 -eq $? || _lt_function_replace_fail=:
16315 sed -e '/^func_arith ()$/,/^} # func_arith /c\
16318 func_arith_result=$(( $* ))\
16319 } # Extended-shell func_arith implementation' "$cfgfile" > $cfgfile.tmp \
16320 && mv -f "$cfgfile.tmp" "$cfgfile" \
16321 || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
16322 test 0 -eq $? || _lt_function_replace_fail=:
16325 sed -e '/^func_len ()$/,/^} # func_len /c\
16328 func_len_result=${#1}\
16329 } # Extended-shell func_len implementation' "$cfgfile" > $cfgfile.tmp \
16330 && mv -f "$cfgfile.tmp" "$cfgfile" \
16331 || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
16332 test 0 -eq $? || _lt_function_replace_fail=:
16336 if test x"$lt_shell_append" = xyes; then
16337 sed -e '/^func_append ()$/,/^} # func_append /c\
16340 eval "${1}+=\\${2}"\
16341 } # Extended-shell func_append implementation' "$cfgfile" > $cfgfile.tmp \
16342 && mv -f "$cfgfile.tmp" "$cfgfile" \
16343 || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
16344 test 0 -eq $? || _lt_function_replace_fail=:
16347 sed -e '/^func_append_quoted ()$/,/^} # func_append_quoted /c\
16348 func_append_quoted ()\
16350 \ func_quote_for_eval "${2}"\
16351 \ eval "${1}+=\\\\ \\$func_quote_for_eval_result"\
16352 } # Extended-shell func_append_quoted implementation' "$cfgfile" > $cfgfile.tmp \
16353 && mv -f "$cfgfile.tmp" "$cfgfile" \
16354 || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
16355 test 0 -eq $? || _lt_function_replace_fail=:
16358 # Save a `func_append' function call where possible by direct use of '+='
16359 sed -e 's%func_append \([a-zA-Z_]\{1,\}\) "%\1+="%g' $cfgfile > $cfgfile.tmp \
16360 && mv -f "$cfgfile.tmp" "$cfgfile" \
16361 || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
16362 test 0 -eq $? || _lt_function_replace_fail=:
16364 # Save a `func_append' function call even when '+=' is not available
16365 sed -e 's%func_append \([a-zA-Z_]\{1,\}\) "%\1="$\1%g' $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 if test x"$_lt_function_replace_fail" = x":"; then
16372 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Unable to substitute extended shell functions in $ofile" >&5
16373 $as_echo "$as_me: WARNING: Unable to substitute extended shell functions in $ofile" >&2;}
16377 mv -f "$cfgfile" "$ofile" ||
16378 (rm -f "$ofile" && cp "$cfgfile" "$ofile" && rm -f "$cfgfile")
16389 ac_clean_files=$ac_clean_files_save
16391 test $ac_write_fail = 0 ||
16392 as_fn_error $? "write failure creating $CONFIG_STATUS" "$LINENO" 5
16395 # configure is writing to config.log, and then calls config.status.
16396 # config.status does its own redirection, appending to config.log.
16397 # Unfortunately, on DOS this fails, as config.log is still kept open
16398 # by configure, so config.status won't be able to write to it; its
16399 # output is simply discarded. So we exec the FD to /dev/null,
16400 # effectively closing config.log, so it can be properly (re)opened and
16401 # appended to by config.status. When coming back to configure, we
16402 # need to make the FD available again.
16403 if test "$no_create" != yes; then
16405 ac_config_status_args=
16406 test "$silent" = yes &&
16407 ac_config_status_args="$ac_config_status_args --quiet"
16409 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
16411 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
16412 # would make configure fail if this is the last instruction.
16413 $ac_cs_success || as_fn_exit 1
16415 if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no; then
16416 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
16417 $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}
16422 #####################################################################
16428 echo "------------------------------------------------------------------------"
16429 echo "$PACKAGE $VERSION"
16430 echo "------------------------------------------------------------------------"
16432 echo "Configuration Options Summary:"
16433 if test "x$eeze_mount" = "xyes";then
16435 echo "Mount..................: ${with_mount}"
16436 echo "Umount.................: ${with_umount}"
16437 echo "Eject..................: ${with_eject}"
16440 echo "Tests..................: ${have_eeze_udev_test}"
16442 echo "Demos..................:"
16443 echo " eeze_mount...........: ${have_eeze_mount}"
16444 echo " eeze_umount..........: ${have_eeze_umount}"
16445 echo " eeze_disk_ls.........: ${have_eeze_disk_ls}"
16447 echo "Utilities..............:"
16448 echo " eeze_scanner.........: ${have_eeze_scanner}"
16450 echo "IPv6...................: ${have_ipv6}"
16452 echo "Documentation..........: ${build_doc}"
16453 if test "x${build_doc}" = "xyes" ; then
16454 echo " Installation.......: make install-doc"
16457 echo "Compilation............: make (or gmake)"
16458 echo " CPPFLAGS.............: $CPPFLAGS"
16459 echo " CFLAGS...............: $CFLAGS"
16460 echo " LDFLAGS..............: $LDFLAGS"
16462 echo "Installation...........: make install (as root if needed, with 'su' or 'sudo')"
16463 echo " prefix...............: $prefix"