2 # Guess values for system-dependent variables and create Makefiles.
3 # Generated by GNU Autoconf 2.67 for eeze 1.7.1.
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.
95 *[\\/]* ) as_myself=$0 ;;
96 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
100 test -z "$as_dir" && as_dir=.
101 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
107 # We did not find ourselves, most probably we were run as `sh COMMAND'
108 # in which case we are not to be found in the path.
109 if test "x$as_myself" = x; then
112 if test ! -f "$as_myself"; then
113 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
117 # Unset variables that we do not need and which cause bugs (e.g. in
118 # pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1"
119 # suppresses any "Segmentation fault" message there. '((' could
120 # trigger a bug in pdksh 5.2.14.
121 for as_var in BASH_ENV ENV MAIL MAILPATH
122 do eval test x\${$as_var+set} = xset \
123 && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
136 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
138 if test "x$CONFIG_SHELL" = x; then
139 as_bourne_compatible="if test -n \"\${ZSH_VERSION+set}\" && (emulate sh) >/dev/null 2>&1; then :
142 # Pre-4.2 versions of Zsh do word splitting on \${1+\"\$@\"}, which
143 # is contrary to our usage. Disable this feature.
144 alias -g '\${1+\"\$@\"}'='\"\$@\"'
147 case \`(set -o) 2>/dev/null\` in #(
155 as_required="as_fn_return () { (exit \$1); }
156 as_fn_success () { as_fn_return 0; }
157 as_fn_failure () { as_fn_return 1; }
158 as_fn_ret_success () { return 0; }
159 as_fn_ret_failure () { return 1; }
162 as_fn_success || { exitcode=1; echo as_fn_success failed.; }
163 as_fn_failure && { exitcode=1; echo as_fn_failure succeeded.; }
164 as_fn_ret_success || { exitcode=1; echo as_fn_ret_success failed.; }
165 as_fn_ret_failure && { exitcode=1; echo as_fn_ret_failure succeeded.; }
166 if ( set x; as_fn_ret_success y && test x = \"\$1\" ); then :
169 exitcode=1; echo positional parameters were not saved.
171 test x\$exitcode = x0 || exit 1"
172 as_suggested=" as_lineno_1=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_1a=\$LINENO
173 as_lineno_2=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_2a=\$LINENO
174 eval 'test \"x\$as_lineno_1'\$as_run'\" != \"x\$as_lineno_2'\$as_run'\" &&
175 test \"x\`expr \$as_lineno_1'\$as_run' + 1\`\" = \"x\$as_lineno_2'\$as_run'\"' || exit 1
176 test \$(( 1 + 1 )) = 2 || exit 1"
177 if (eval "$as_required") 2>/dev/null; then :
182 if test x$as_have_required = xyes && (eval "$as_suggested") 2>/dev/null; then :
185 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
187 for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
190 test -z "$as_dir" && as_dir=.
194 for as_base in sh bash ksh sh5; do
195 # Try only shells that exist, to save several forks.
196 as_shell=$as_dir/$as_base
197 if { test -f "$as_shell" || test -f "$as_shell.exe"; } &&
198 { $as_echo "$as_bourne_compatible""$as_required" | as_run=a "$as_shell"; } 2>/dev/null; then :
199 CONFIG_SHELL=$as_shell as_have_required=yes
200 if { $as_echo "$as_bourne_compatible""$as_suggested" | as_run=a "$as_shell"; } 2>/dev/null; then :
208 $as_found || { if { test -f "$SHELL" || test -f "$SHELL.exe"; } &&
209 { $as_echo "$as_bourne_compatible""$as_required" | as_run=a "$SHELL"; } 2>/dev/null; then :
210 CONFIG_SHELL=$SHELL as_have_required=yes
215 if test "x$CONFIG_SHELL" != x; then :
216 # We cannot yet assume a decent shell, so we have to provide a
217 # neutralization value for shells without unset; and this also
218 # works around shells that cannot unset nonexistent variables.
221 (unset BASH_ENV) >/dev/null 2>&1 && unset BASH_ENV ENV
223 exec "$CONFIG_SHELL" "$as_myself" ${1+"$@"}
226 if test x$as_have_required = xno; then :
227 $as_echo "$0: This script requires a shell more modern than all"
228 $as_echo "$0: the shells that I found on your system."
229 if test x${ZSH_VERSION+set} = xset ; then
230 $as_echo "$0: In particular, zsh $ZSH_VERSION has bugs and should"
231 $as_echo "$0: be upgraded to zsh 4.3.4 or later."
233 $as_echo "$0: Please tell bug-autoconf@gnu.org and
234 $0: enlightenment-devel@lists.sourceforge.net about your
235 $0: system, including any error possibly output before this
236 $0: message. Then install a modern shell, or manually run
237 $0: the script under such a shell if you do have one."
243 SHELL=${CONFIG_SHELL-/bin/sh}
245 # Unset more variables known to interfere with behavior of common tools.
246 CLICOLOR_FORCE= GREP_OPTIONS=
247 unset CLICOLOR_FORCE GREP_OPTIONS
249 ## --------------------- ##
250 ## M4sh Shell Functions. ##
251 ## --------------------- ##
254 # Portably unset VAR.
257 { eval $1=; unset $1;}
261 # as_fn_set_status STATUS
262 # -----------------------
263 # Set $? to STATUS, without forking.
271 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
281 # Create "$as_dir" as a directory, including parents if necessary.
286 -*) as_dir=./$as_dir;;
288 test -d "$as_dir" || eval $as_mkdir_p || {
292 *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
295 as_dirs="'$as_qdir' $as_dirs"
296 as_dir=`$as_dirname -- "$as_dir" ||
297 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
298 X"$as_dir" : 'X\(//\)[^/]' \| \
299 X"$as_dir" : 'X\(//\)$' \| \
300 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
301 $as_echo X"$as_dir" |
302 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
319 test -d "$as_dir" && break
321 test -z "$as_dirs" || eval "mkdir $as_dirs"
322 } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir"
326 # as_fn_append VAR VALUE
327 # ----------------------
328 # Append the text in VALUE to the end of the definition contained in VAR. Take
329 # advantage of any shell optimizations that allow amortized linear growth over
330 # repeated appends, instead of the typical quadratic growth present in naive
332 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
333 eval 'as_fn_append ()
346 # Perform arithmetic evaluation on the ARGs, and store the result in the
347 # global $as_val. Take advantage of shells that can avoid forks. The arguments
348 # must be portable across $(()) and expr.
349 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
357 as_val=`expr "$@" || test $? -eq 1`
362 # as_fn_error STATUS ERROR [LINENO LOG_FD]
363 # ----------------------------------------
364 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
365 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
366 # script with STATUS, using 1 if that was 0.
369 as_status=$1; test $as_status -eq 0 && as_status=1
371 as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
372 $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
374 $as_echo "$as_me: error: $2" >&2
375 as_fn_exit $as_status
378 if expr a : '\(a\)' >/dev/null 2>&1 &&
379 test "X`expr 00001 : '.*\(...\)'`" = X001; then
385 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
391 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
397 as_me=`$as_basename -- "$0" ||
398 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
399 X"$0" : 'X\(//\)$' \| \
400 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
402 sed '/^.*\/\([^/][^/]*\)\/*$/{
416 # Avoid depending upon Character Ranges.
417 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
418 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
419 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
420 as_cr_digits='0123456789'
421 as_cr_alnum=$as_cr_Letters$as_cr_digits
424 as_lineno_1=$LINENO as_lineno_1a=$LINENO
425 as_lineno_2=$LINENO as_lineno_2a=$LINENO
426 eval 'test "x$as_lineno_1'$as_run'" != "x$as_lineno_2'$as_run'" &&
427 test "x`expr $as_lineno_1'$as_run' + 1`" = "x$as_lineno_2'$as_run'"' || {
428 # Blame Lee E. McMahon (1931-1989) for sed's syntax. :-)
440 s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
444 chmod +x "$as_me.lineno" ||
445 { $as_echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2; as_fn_exit 1; }
447 # Don't try to exec as it changes $[0], causing all sort of problems
448 # (the dirname of $[0] is not the place where we might find the
449 # original and so on. Autoconf is especially sensitive to this).
451 # Exit status is that of the last command.
455 ECHO_C= ECHO_N= ECHO_T=
456 case `echo -n x` in #(((((
458 case `echo 'xy\c'` in
459 *c*) ECHO_T=' ';; # ECHO_T is single tab character.
461 *) echo `echo ksh88 bug on AIX 6.1` > /dev/null
468 rm -f conf$$ conf$$.exe conf$$.file
469 if test -d conf$$.dir; then
470 rm -f conf$$.dir/conf$$.file
473 mkdir conf$$.dir 2>/dev/null
475 if (echo >conf$$.file) 2>/dev/null; then
476 if ln -s conf$$.file conf$$ 2>/dev/null; then
478 # ... but there are two gotchas:
479 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
480 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
481 # In both cases, we have to default to `cp -p'.
482 ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
484 elif ln conf$$.file conf$$ 2>/dev/null; then
492 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
493 rmdir conf$$.dir 2>/dev/null
495 if mkdir -p . 2>/dev/null; then
496 as_mkdir_p='mkdir -p "$as_dir"'
498 test -d ./-p && rmdir ./-p
502 if test -x / >/dev/null 2>&1; then
505 if ls -dL / >/dev/null 2>&1; then
512 if test -d "$1"; then
518 case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in #((
519 ???[sx]*):;;*)false;;esac;fi
523 as_executable_p=$as_test_x
525 # Sed expression to map a string onto a valid CPP name.
526 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
528 # Sed expression to map a string onto a valid variable name.
529 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
533 # Check that we are running under the correct shell.
534 SHELL=${CONFIG_SHELL-/bin/sh}
538 # Remove one level of quotation (which was required for Make).
539 ECHO=`echo "$lt_ECHO" | sed 's,\\\\\$\\$0,'$0','`
544 if test "X$1" = X--no-reexec; then
545 # Discard the --no-reexec flag, and continue.
547 elif test "X$1" = X--fallback-echo; then
548 # Avoid inline document here, it may be left over
550 elif test "X`{ $ECHO '\t'; } 2>/dev/null`" = 'X\t' ; then
551 # Yippee, $ECHO works!
554 # Restart under the correct shell.
555 exec $SHELL "$0" --no-reexec ${1+"$@"}
558 if test "X$1" = X--fallback-echo; then
559 # used as fallback echo
567 # The HP-UX ksh and POSIX shell print the target directory to stdout
569 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
571 if test -z "$lt_ECHO"; then
572 if test "X${echo_test_string+set}" != Xset; then
573 # find a string as large as possible, as long as the shell can cope with it
574 for cmd in 'sed 50q "$0"' 'sed 20q "$0"' 'sed 10q "$0"' 'sed 2q "$0"' 'echo test'; do
575 # expected sizes: less than 2Kb, 1Kb, 512 bytes, 16 bytes, ...
576 if { echo_test_string=`eval $cmd`; } 2>/dev/null &&
577 { test "X$echo_test_string" = "X$echo_test_string"; } 2>/dev/null
584 if test "X`{ $ECHO '\t'; } 2>/dev/null`" = 'X\t' &&
585 echo_testing_string=`{ $ECHO "$echo_test_string"; } 2>/dev/null` &&
586 test "X$echo_testing_string" = "X$echo_test_string"; then
589 # The Solaris, AIX, and Digital Unix default echo programs unquote
590 # backslashes. This makes it impossible to quote backslashes using
591 # echo "$something" | sed 's/\\/\\\\/g'
593 # So, first we look for a working echo in the user's PATH.
595 lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
596 for dir in $PATH /usr/ucb; do
598 if (test -f $dir/echo || test -f $dir/echo$ac_exeext) &&
599 test "X`($dir/echo '\t') 2>/dev/null`" = 'X\t' &&
600 echo_testing_string=`($dir/echo "$echo_test_string") 2>/dev/null` &&
601 test "X$echo_testing_string" = "X$echo_test_string"; then
608 if test "X$ECHO" = Xecho; then
609 # We didn't find a better echo, so look for alternatives.
610 if test "X`{ print -r '\t'; } 2>/dev/null`" = 'X\t' &&
611 echo_testing_string=`{ print -r "$echo_test_string"; } 2>/dev/null` &&
612 test "X$echo_testing_string" = "X$echo_test_string"; then
613 # This shell has a builtin print -r that does the trick.
615 elif { test -f /bin/ksh || test -f /bin/ksh$ac_exeext; } &&
616 test "X$CONFIG_SHELL" != X/bin/ksh; then
617 # If we have ksh, try running configure again with it.
618 ORIGINAL_CONFIG_SHELL=${CONFIG_SHELL-/bin/sh}
619 export ORIGINAL_CONFIG_SHELL
620 CONFIG_SHELL=/bin/ksh
622 exec $CONFIG_SHELL "$0" --no-reexec ${1+"$@"}
626 if test "X`{ $ECHO '\t'; } 2>/dev/null`" = 'X\t' &&
627 echo_testing_string=`{ $ECHO "$echo_test_string"; } 2>/dev/null` &&
628 test "X$echo_testing_string" = "X$echo_test_string"; then
631 elif echo_testing_string=`($ORIGINAL_CONFIG_SHELL "$0" --fallback-echo '\t') 2>/dev/null` &&
632 test "X$echo_testing_string" = 'X\t' &&
633 echo_testing_string=`($ORIGINAL_CONFIG_SHELL "$0" --fallback-echo "$echo_test_string") 2>/dev/null` &&
634 test "X$echo_testing_string" = "X$echo_test_string"; then
635 CONFIG_SHELL=$ORIGINAL_CONFIG_SHELL
637 SHELL="$CONFIG_SHELL"
639 ECHO="$CONFIG_SHELL $0 --fallback-echo"
640 elif echo_testing_string=`($CONFIG_SHELL "$0" --fallback-echo '\t') 2>/dev/null` &&
641 test "X$echo_testing_string" = 'X\t' &&
642 echo_testing_string=`($CONFIG_SHELL "$0" --fallback-echo "$echo_test_string") 2>/dev/null` &&
643 test "X$echo_testing_string" = "X$echo_test_string"; then
644 ECHO="$CONFIG_SHELL $0 --fallback-echo"
646 # maybe with a smaller string...
649 for cmd in 'echo test' 'sed 2q "$0"' 'sed 10q "$0"' 'sed 20q "$0"' 'sed 50q "$0"'; do
650 if { test "X$echo_test_string" = "X`eval $cmd`"; } 2>/dev/null
657 if test "$prev" != 'sed 50q "$0"'; then
658 echo_test_string=`eval $prev`
659 export echo_test_string
660 exec ${ORIGINAL_CONFIG_SHELL-${CONFIG_SHELL-/bin/sh}} "$0" ${1+"$@"}
662 # Oops. We lost completely, so just stick with echo.
671 # Copy echo and quote the copy suitably for passing to libtool from
672 # the Makefile, instead of quoting the original, which is used later.
674 if test "X$lt_ECHO" = "X$CONFIG_SHELL $0 --fallback-echo"; then
675 lt_ECHO="$CONFIG_SHELL \\\$\$0 --fallback-echo"
681 test -n "$DJDIR" || exec 7<&0 </dev/null
685 # hostname on some systems (SVR3.2, old GNU/Linux) returns a bogus exit status,
686 # so uname gets run too.
687 ac_hostname=`(hostname || uname -n) 2>/dev/null | sed 1q`
692 ac_default_prefix=/usr/local
694 ac_config_libobj_dir=.
701 # Identity of this package.
703 PACKAGE_TARNAME='eeze'
704 PACKAGE_VERSION='1.7.1'
705 PACKAGE_STRING='eeze 1.7.1'
706 PACKAGE_BUGREPORT='enlightenment-devel@lists.sourceforge.net'
709 ac_unique_file="configure.ac"
710 # Factoring default headers for most tests.
711 ac_includes_default="\
713 #ifdef HAVE_SYS_TYPES_H
714 # include <sys/types.h>
716 #ifdef HAVE_SYS_STAT_H
717 # include <sys/stat.h>
723 # ifdef HAVE_STDLIB_H
728 # if !defined STDC_HEADERS && defined HAVE_MEMORY_H
733 #ifdef HAVE_STRINGS_H
734 # include <strings.h>
736 #ifdef HAVE_INTTYPES_H
737 # include <inttypes.h>
746 ac_subst_vars='am__EXEEXT_FALSE
751 BUILD_EEZE_SCANNER_FALSE
752 BUILD_EEZE_SCANNER_TRUE
754 BUILD_EEZE_UMOUNT_FALSE
755 BUILD_EEZE_UMOUNT_TRUE
757 BUILD_EEZE_DISK_LS_FALSE
758 BUILD_EEZE_DISK_LS_TRUE
760 BUILD_EEZE_MOUNT_FALSE
761 BUILD_EEZE_MOUNT_TRUE
763 BUILD_EEZE_UDEV_TEST_FALSE
764 BUILD_EEZE_UDEV_TEST_TRUE
781 HAVE_EEZE_MOUNT_FALSE
789 pkgconfig_requires_private
850 INSTALL_STRIP_PROGRAM
892 program_transform_name
905 enable_option_checking
911 enable_dependency_tracking
921 enable_eeze_udev_test
927 ac_precious_vars='build_alias
951 # Initialize some variables set by options.
953 ac_init_version=false
954 ac_unrecognized_opts=
956 # The variables have the same names as the options, with
957 # dashes changed to underlines.
965 program_transform_name=s,x,x,
973 # Installation directory options.
974 # These are left unexpanded so users can "make install exec_prefix=/foo"
975 # and all the variables that are supposed to be based on exec_prefix
976 # by default will actually change.
977 # Use braces instead of parens because sh, perl, etc. also accept them.
978 # (The list follows the same order as the GNU Coding Standards.)
979 bindir='${exec_prefix}/bin'
980 sbindir='${exec_prefix}/sbin'
981 libexecdir='${exec_prefix}/libexec'
982 datarootdir='${prefix}/share'
983 datadir='${datarootdir}'
984 sysconfdir='${prefix}/etc'
985 sharedstatedir='${prefix}/com'
986 localstatedir='${prefix}/var'
987 includedir='${prefix}/include'
988 oldincludedir='/usr/include'
989 docdir='${datarootdir}/doc/${PACKAGE_TARNAME}'
990 infodir='${datarootdir}/info'
995 libdir='${exec_prefix}/lib'
996 localedir='${datarootdir}/locale'
997 mandir='${datarootdir}/man'
1003 # If the previous option needs an argument, assign it.
1004 if test -n "$ac_prev"; then
1005 eval $ac_prev=\$ac_option
1011 *=?*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
1016 # Accept the important Cygnus configure options, so we can diagnose typos.
1018 case $ac_dashdash$ac_option in
1022 -bindir | --bindir | --bindi | --bind | --bin | --bi)
1024 -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
1025 bindir=$ac_optarg ;;
1027 -build | --build | --buil | --bui | --bu)
1028 ac_prev=build_alias ;;
1029 -build=* | --build=* | --buil=* | --bui=* | --bu=*)
1030 build_alias=$ac_optarg ;;
1032 -cache-file | --cache-file | --cache-fil | --cache-fi \
1033 | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
1034 ac_prev=cache_file ;;
1035 -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
1036 | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
1037 cache_file=$ac_optarg ;;
1039 --config-cache | -C)
1040 cache_file=config.cache ;;
1042 -datadir | --datadir | --datadi | --datad)
1044 -datadir=* | --datadir=* | --datadi=* | --datad=*)
1045 datadir=$ac_optarg ;;
1047 -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \
1048 | --dataroo | --dataro | --datar)
1049 ac_prev=datarootdir ;;
1050 -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \
1051 | --dataroot=* | --dataroo=* | --dataro=* | --datar=*)
1052 datarootdir=$ac_optarg ;;
1054 -disable-* | --disable-*)
1055 ac_useropt=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
1056 # Reject names that are not valid shell variable names.
1057 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1058 as_fn_error $? "invalid feature name: $ac_useropt"
1059 ac_useropt_orig=$ac_useropt
1060 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1061 case $ac_user_opts in
1063 "enable_$ac_useropt"
1065 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig"
1066 ac_unrecognized_sep=', ';;
1068 eval enable_$ac_useropt=no ;;
1070 -docdir | --docdir | --docdi | --doc | --do)
1072 -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*)
1073 docdir=$ac_optarg ;;
1075 -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv)
1077 -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*)
1078 dvidir=$ac_optarg ;;
1080 -enable-* | --enable-*)
1081 ac_useropt=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
1082 # Reject names that are not valid shell variable names.
1083 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1084 as_fn_error $? "invalid feature name: $ac_useropt"
1085 ac_useropt_orig=$ac_useropt
1086 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1087 case $ac_user_opts in
1089 "enable_$ac_useropt"
1091 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig"
1092 ac_unrecognized_sep=', ';;
1094 eval enable_$ac_useropt=\$ac_optarg ;;
1096 -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
1097 | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
1098 | --exec | --exe | --ex)
1099 ac_prev=exec_prefix ;;
1100 -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
1101 | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
1102 | --exec=* | --exe=* | --ex=*)
1103 exec_prefix=$ac_optarg ;;
1105 -gas | --gas | --ga | --g)
1106 # Obsolete; use --with-gas.
1109 -help | --help | --hel | --he | -h)
1110 ac_init_help=long ;;
1111 -help=r* | --help=r* | --hel=r* | --he=r* | -hr*)
1112 ac_init_help=recursive ;;
1113 -help=s* | --help=s* | --hel=s* | --he=s* | -hs*)
1114 ac_init_help=short ;;
1116 -host | --host | --hos | --ho)
1117 ac_prev=host_alias ;;
1118 -host=* | --host=* | --hos=* | --ho=*)
1119 host_alias=$ac_optarg ;;
1121 -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht)
1123 -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \
1125 htmldir=$ac_optarg ;;
1127 -includedir | --includedir | --includedi | --included | --include \
1128 | --includ | --inclu | --incl | --inc)
1129 ac_prev=includedir ;;
1130 -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
1131 | --includ=* | --inclu=* | --incl=* | --inc=*)
1132 includedir=$ac_optarg ;;
1134 -infodir | --infodir | --infodi | --infod | --info | --inf)
1136 -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
1137 infodir=$ac_optarg ;;
1139 -libdir | --libdir | --libdi | --libd)
1141 -libdir=* | --libdir=* | --libdi=* | --libd=*)
1142 libdir=$ac_optarg ;;
1144 -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
1145 | --libexe | --libex | --libe)
1146 ac_prev=libexecdir ;;
1147 -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
1148 | --libexe=* | --libex=* | --libe=*)
1149 libexecdir=$ac_optarg ;;
1151 -localedir | --localedir | --localedi | --localed | --locale)
1152 ac_prev=localedir ;;
1153 -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*)
1154 localedir=$ac_optarg ;;
1156 -localstatedir | --localstatedir | --localstatedi | --localstated \
1157 | --localstate | --localstat | --localsta | --localst | --locals)
1158 ac_prev=localstatedir ;;
1159 -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
1160 | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*)
1161 localstatedir=$ac_optarg ;;
1163 -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
1165 -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
1166 mandir=$ac_optarg ;;
1168 -nfp | --nfp | --nf)
1169 # Obsolete; use --without-fp.
1172 -no-create | --no-create | --no-creat | --no-crea | --no-cre \
1173 | --no-cr | --no-c | -n)
1176 -no-recursion | --no-recursion | --no-recursio | --no-recursi \
1177 | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
1180 -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
1181 | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
1182 | --oldin | --oldi | --old | --ol | --o)
1183 ac_prev=oldincludedir ;;
1184 -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
1185 | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
1186 | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
1187 oldincludedir=$ac_optarg ;;
1189 -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
1191 -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
1192 prefix=$ac_optarg ;;
1194 -program-prefix | --program-prefix | --program-prefi | --program-pref \
1195 | --program-pre | --program-pr | --program-p)
1196 ac_prev=program_prefix ;;
1197 -program-prefix=* | --program-prefix=* | --program-prefi=* \
1198 | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
1199 program_prefix=$ac_optarg ;;
1201 -program-suffix | --program-suffix | --program-suffi | --program-suff \
1202 | --program-suf | --program-su | --program-s)
1203 ac_prev=program_suffix ;;
1204 -program-suffix=* | --program-suffix=* | --program-suffi=* \
1205 | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
1206 program_suffix=$ac_optarg ;;
1208 -program-transform-name | --program-transform-name \
1209 | --program-transform-nam | --program-transform-na \
1210 | --program-transform-n | --program-transform- \
1211 | --program-transform | --program-transfor \
1212 | --program-transfo | --program-transf \
1213 | --program-trans | --program-tran \
1214 | --progr-tra | --program-tr | --program-t)
1215 ac_prev=program_transform_name ;;
1216 -program-transform-name=* | --program-transform-name=* \
1217 | --program-transform-nam=* | --program-transform-na=* \
1218 | --program-transform-n=* | --program-transform-=* \
1219 | --program-transform=* | --program-transfor=* \
1220 | --program-transfo=* | --program-transf=* \
1221 | --program-trans=* | --program-tran=* \
1222 | --progr-tra=* | --program-tr=* | --program-t=*)
1223 program_transform_name=$ac_optarg ;;
1225 -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd)
1227 -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*)
1228 pdfdir=$ac_optarg ;;
1230 -psdir | --psdir | --psdi | --psd | --ps)
1232 -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*)
1235 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1236 | -silent | --silent | --silen | --sile | --sil)
1239 -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
1241 -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
1243 sbindir=$ac_optarg ;;
1245 -sharedstatedir | --sharedstatedir | --sharedstatedi \
1246 | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
1247 | --sharedst | --shareds | --shared | --share | --shar \
1249 ac_prev=sharedstatedir ;;
1250 -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
1251 | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
1252 | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
1254 sharedstatedir=$ac_optarg ;;
1256 -site | --site | --sit)
1258 -site=* | --site=* | --sit=*)
1261 -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
1263 -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
1264 srcdir=$ac_optarg ;;
1266 -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
1267 | --syscon | --sysco | --sysc | --sys | --sy)
1268 ac_prev=sysconfdir ;;
1269 -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
1270 | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
1271 sysconfdir=$ac_optarg ;;
1273 -target | --target | --targe | --targ | --tar | --ta | --t)
1274 ac_prev=target_alias ;;
1275 -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
1276 target_alias=$ac_optarg ;;
1278 -v | -verbose | --verbose | --verbos | --verbo | --verb)
1281 -version | --version | --versio | --versi | --vers | -V)
1282 ac_init_version=: ;;
1285 ac_useropt=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
1286 # Reject names that are not valid shell variable names.
1287 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1288 as_fn_error $? "invalid package name: $ac_useropt"
1289 ac_useropt_orig=$ac_useropt
1290 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1291 case $ac_user_opts in
1295 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig"
1296 ac_unrecognized_sep=', ';;
1298 eval with_$ac_useropt=\$ac_optarg ;;
1300 -without-* | --without-*)
1301 ac_useropt=`expr "x$ac_option" : 'x-*without-\(.*\)'`
1302 # Reject names that are not valid shell variable names.
1303 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1304 as_fn_error $? "invalid package name: $ac_useropt"
1305 ac_useropt_orig=$ac_useropt
1306 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1307 case $ac_user_opts in
1311 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig"
1312 ac_unrecognized_sep=', ';;
1314 eval with_$ac_useropt=no ;;
1317 # Obsolete; use --with-x.
1320 -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
1321 | --x-incl | --x-inc | --x-in | --x-i)
1322 ac_prev=x_includes ;;
1323 -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
1324 | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
1325 x_includes=$ac_optarg ;;
1327 -x-libraries | --x-libraries | --x-librarie | --x-librari \
1328 | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
1329 ac_prev=x_libraries ;;
1330 -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
1331 | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
1332 x_libraries=$ac_optarg ;;
1334 -*) as_fn_error $? "unrecognized option: \`$ac_option'
1335 Try \`$0 --help' for more information"
1339 ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
1340 # Reject names that are not valid shell variable names.
1341 case $ac_envvar in #(
1342 '' | [0-9]* | *[!_$as_cr_alnum]* )
1343 as_fn_error $? "invalid variable name: \`$ac_envvar'" ;;
1345 eval $ac_envvar=\$ac_optarg
1346 export $ac_envvar ;;
1349 # FIXME: should be removed in autoconf 3.0.
1350 $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2
1351 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
1352 $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2
1353 : ${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}
1359 if test -n "$ac_prev"; then
1360 ac_option=--`echo $ac_prev | sed 's/_/-/g'`
1361 as_fn_error $? "missing argument to $ac_option"
1364 if test -n "$ac_unrecognized_opts"; then
1365 case $enable_option_checking in
1367 fatal) as_fn_error $? "unrecognized options: $ac_unrecognized_opts" ;;
1368 *) $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;;
1372 # Check all directory arguments for consistency.
1373 for ac_var in exec_prefix prefix bindir sbindir libexecdir datarootdir \
1374 datadir sysconfdir sharedstatedir localstatedir includedir \
1375 oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
1376 libdir localedir mandir
1378 eval ac_val=\$$ac_var
1379 # Remove trailing slashes.
1382 ac_val=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'`
1383 eval $ac_var=\$ac_val;;
1385 # Be sure to have absolute directory names.
1387 [\\/$]* | ?:[\\/]* ) continue;;
1388 NONE | '' ) case $ac_var in *prefix ) continue;; esac;;
1390 as_fn_error $? "expected an absolute directory name for --$ac_var: $ac_val"
1393 # There might be people who depend on the old broken behavior: `$host'
1394 # used to hold the argument of --host etc.
1395 # FIXME: To remove some day.
1398 target=$target_alias
1400 # FIXME: To remove some day.
1401 if test "x$host_alias" != x; then
1402 if test "x$build_alias" = x; then
1403 cross_compiling=maybe
1404 $as_echo "$as_me: WARNING: if you wanted to set the --build type, don't use --host.
1405 If a cross compiler is detected then cross compile mode will be used" >&2
1406 elif test "x$build_alias" != "x$host_alias"; then
1412 test -n "$host_alias" && ac_tool_prefix=$host_alias-
1414 test "$silent" = yes && exec 6>/dev/null
1417 ac_pwd=`pwd` && test -n "$ac_pwd" &&
1418 ac_ls_di=`ls -di .` &&
1419 ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` ||
1420 as_fn_error $? "working directory cannot be determined"
1421 test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
1422 as_fn_error $? "pwd does not report name of working directory"
1425 # Find the source files, if location was not specified.
1426 if test -z "$srcdir"; then
1427 ac_srcdir_defaulted=yes
1428 # Try the directory containing this script, then the parent directory.
1429 ac_confdir=`$as_dirname -- "$as_myself" ||
1430 $as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
1431 X"$as_myself" : 'X\(//\)[^/]' \| \
1432 X"$as_myself" : 'X\(//\)$' \| \
1433 X"$as_myself" : 'X\(/\)' \| . 2>/dev/null ||
1434 $as_echo X"$as_myself" |
1435 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
1453 if test ! -r "$srcdir/$ac_unique_file"; then
1457 ac_srcdir_defaulted=no
1459 if test ! -r "$srcdir/$ac_unique_file"; then
1460 test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .."
1461 as_fn_error $? "cannot find sources ($ac_unique_file) in $srcdir"
1463 ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work"
1465 cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error $? "$ac_msg"
1467 # When building in place, set srcdir=.
1468 if test "$ac_abs_confdir" = "$ac_pwd"; then
1471 # Remove unnecessary trailing slashes from srcdir.
1472 # Double slashes in file names in object file debugging info
1473 # mess up M-x gdb in Emacs.
1475 */) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
1477 for ac_var in $ac_precious_vars; do
1478 eval ac_env_${ac_var}_set=\${${ac_var}+set}
1479 eval ac_env_${ac_var}_value=\$${ac_var}
1480 eval ac_cv_env_${ac_var}_set=\${${ac_var}+set}
1481 eval ac_cv_env_${ac_var}_value=\$${ac_var}
1485 # Report the --help message.
1487 if test "$ac_init_help" = "long"; then
1488 # Omit some internal or obsolete options to make the list less imposing.
1489 # This message is too long to be a string in the A/UX 3.1 sh.
1491 \`configure' configures eeze 1.7.1 to adapt to many kinds of systems.
1493 Usage: $0 [OPTION]... [VAR=VALUE]...
1495 To assign environment variables (e.g., CC, CFLAGS...), specify them as
1496 VAR=VALUE. See below for descriptions of some of the useful variables.
1498 Defaults for the options are specified in brackets.
1501 -h, --help display this help and exit
1502 --help=short display options specific to this package
1503 --help=recursive display the short help of all the included packages
1504 -V, --version display version information and exit
1505 -q, --quiet, --silent do not print \`checking ...' messages
1506 --cache-file=FILE cache test results in FILE [disabled]
1507 -C, --config-cache alias for \`--cache-file=config.cache'
1508 -n, --no-create do not create output files
1509 --srcdir=DIR find the sources in DIR [configure dir or \`..']
1511 Installation directories:
1512 --prefix=PREFIX install architecture-independent files in PREFIX
1513 [$ac_default_prefix]
1514 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
1517 By default, \`make install' will install all the files in
1518 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
1519 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
1520 for instance \`--prefix=\$HOME'.
1522 For better control, use the options below.
1524 Fine tuning of the installation directories:
1525 --bindir=DIR user executables [EPREFIX/bin]
1526 --sbindir=DIR system admin executables [EPREFIX/sbin]
1527 --libexecdir=DIR program executables [EPREFIX/libexec]
1528 --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
1529 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
1530 --localstatedir=DIR modifiable single-machine data [PREFIX/var]
1531 --libdir=DIR object code libraries [EPREFIX/lib]
1532 --includedir=DIR C header files [PREFIX/include]
1533 --oldincludedir=DIR C header files for non-gcc [/usr/include]
1534 --datarootdir=DIR read-only arch.-independent data root [PREFIX/share]
1535 --datadir=DIR read-only architecture-independent data [DATAROOTDIR]
1536 --infodir=DIR info documentation [DATAROOTDIR/info]
1537 --localedir=DIR locale-dependent data [DATAROOTDIR/locale]
1538 --mandir=DIR man documentation [DATAROOTDIR/man]
1539 --docdir=DIR documentation root [DATAROOTDIR/doc/eeze]
1540 --htmldir=DIR html documentation [DOCDIR]
1541 --dvidir=DIR dvi documentation [DOCDIR]
1542 --pdfdir=DIR pdf documentation [DOCDIR]
1543 --psdir=DIR ps documentation [DOCDIR]
1549 --program-prefix=PREFIX prepend PREFIX to installed program names
1550 --program-suffix=SUFFIX append SUFFIX to installed program names
1551 --program-transform-name=PROGRAM run sed PROGRAM on installed program names
1554 --build=BUILD configure for building on BUILD [guessed]
1555 --host=HOST cross-compile to build programs to run on HOST [BUILD]
1559 if test -n "$ac_init_help"; then
1560 case $ac_init_help in
1561 short | recursive ) echo "Configuration of eeze 1.7.1:";;
1566 --disable-option-checking ignore unrecognized --enable/--with options
1567 --disable-FEATURE do not include FEATURE (same as --enable-FEATURE=no)
1568 --enable-FEATURE[=ARG] include FEATURE [ARG=yes]
1569 --enable-silent-rules less verbose build output (undo: `make V=1')
1570 --disable-silent-rules verbose build output (undo: `make V=0')
1571 --enable-shared[=PKGS] build shared libraries [default=yes]
1572 --enable-static[=PKGS] build static libraries [default=yes]
1573 --enable-fast-install[=PKGS]
1574 optimize for fast installation [default=yes]
1575 --disable-dependency-tracking speeds up one-time build
1576 --enable-dependency-tracking do not reject slow dependency extractors
1577 --disable-libtool-lock avoid locking (might break parallel builds)
1578 --disable-doc Disable documentation build [default=enabled]
1579 --enable-mtab force use of mtab for mount info [default=detect]
1580 --disable-ipv6 disable ipv6 functionality [default=detect]
1581 --disable-eeze-udev-test
1582 disable building of eeze_udev_test
1583 --disable-eeze-mount disable building of eeze_mount
1584 --disable-eeze-disk-ls disable building of eeze_disk_ls
1585 --disable-eeze-umount disable building of eeze_umount
1586 --disable-eeze-scanner disable building of eeze_scanner
1589 --with-PACKAGE[=ARG] use PACKAGE [ARG=yes]
1590 --without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no)
1591 --with-pic try to use only PIC/non-PIC objects [default=use
1593 --with-gnu-ld assume the C compiler uses GNU ld [default=no]
1594 --with-doxygen=FILE doxygen program to use [default=doxygen]
1595 --with-mount specify mount bin [default=detect]
1596 --with-umount specify umount bin [default=detect]
1597 --with-eject specify eject bin [default=detect]
1599 Some influential environment variables:
1600 CC C compiler command
1601 CFLAGS C compiler flags
1602 LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a
1603 nonstandard directory <lib dir>
1604 LIBS libraries to pass to the linker, e.g. -l<library>
1605 CPPFLAGS (Objective) C/C++ preprocessor flags, e.g. -I<include dir> if
1606 you have headers in a nonstandard directory <include dir>
1608 PKG_CONFIG path to pkg-config utility
1610 directories to add to pkg-config's search path
1612 path overriding pkg-config's built-in search path
1613 EEZE_CFLAGS C compiler flags for EEZE, overriding pkg-config
1614 EEZE_LIBS linker flags for EEZE, overriding pkg-config
1616 C compiler flags for LIBMOUNT, overriding pkg-config
1618 linker flags for LIBMOUNT, overriding pkg-config
1620 C compiler flags for ECORE_FILE, overriding pkg-config
1622 linker flags for ECORE_FILE, overriding pkg-config
1623 EET_CFLAGS C compiler flags for EET, overriding pkg-config
1624 EET_LIBS linker flags for EET, overriding pkg-config
1626 C compiler flags for ECORE_CON, overriding pkg-config
1628 linker flags for ECORE_CON, overriding pkg-config
1630 Use these variables to override the choices made by `configure' or to help
1631 it to find libraries and programs with nonstandard names/locations.
1633 Report bugs to <enlightenment-devel@lists.sourceforge.net>.
1638 if test "$ac_init_help" = "recursive"; then
1639 # If there are subdirs, report their specific --help.
1640 for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
1641 test -d "$ac_dir" ||
1642 { cd "$srcdir" && ac_pwd=`pwd` && srcdir=. && test -d "$ac_dir"; } ||
1647 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
1649 ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
1650 # A ".." for each directory in $ac_dir_suffix.
1651 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
1652 case $ac_top_builddir_sub in
1653 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
1654 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
1657 ac_abs_top_builddir=$ac_pwd
1658 ac_abs_builddir=$ac_pwd$ac_dir_suffix
1659 # for backward compatibility:
1660 ac_top_builddir=$ac_top_build_prefix
1663 .) # We are building in place.
1665 ac_top_srcdir=$ac_top_builddir_sub
1666 ac_abs_top_srcdir=$ac_pwd ;;
1667 [\\/]* | ?:[\\/]* ) # Absolute name.
1668 ac_srcdir=$srcdir$ac_dir_suffix;
1669 ac_top_srcdir=$srcdir
1670 ac_abs_top_srcdir=$srcdir ;;
1672 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
1673 ac_top_srcdir=$ac_top_build_prefix$srcdir
1674 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
1676 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
1678 cd "$ac_dir" || { ac_status=$?; continue; }
1679 # Check for guested configure.
1680 if test -f "$ac_srcdir/configure.gnu"; then
1682 $SHELL "$ac_srcdir/configure.gnu" --help=recursive
1683 elif test -f "$ac_srcdir/configure"; then
1685 $SHELL "$ac_srcdir/configure" --help=recursive
1687 $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
1689 cd "$ac_pwd" || { ac_status=$?; break; }
1693 test -n "$ac_init_help" && exit $ac_status
1694 if $ac_init_version; then
1696 eeze configure 1.7.1
1697 generated by GNU Autoconf 2.67
1699 Copyright (C) 2010 Free Software Foundation, Inc.
1700 This configure script is free software; the Free Software Foundation
1701 gives unlimited permission to copy, distribute and modify it.
1706 ## ------------------------ ##
1707 ## Autoconf initialization. ##
1708 ## ------------------------ ##
1710 # ac_fn_c_try_compile LINENO
1711 # --------------------------
1712 # Try to compile conftest.$ac_ext, and return whether this succeeded.
1713 ac_fn_c_try_compile ()
1715 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1716 rm -f conftest.$ac_objext
1717 if { { ac_try="$ac_compile"
1719 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1720 *) ac_try_echo=$ac_try;;
1722 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1723 $as_echo "$ac_try_echo"; } >&5
1724 (eval "$ac_compile") 2>conftest.err
1726 if test -s conftest.err; then
1727 grep -v '^ *+' conftest.err >conftest.er1
1728 cat conftest.er1 >&5
1729 mv -f conftest.er1 conftest.err
1731 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1732 test $ac_status = 0; } && {
1733 test -z "$ac_c_werror_flag" ||
1734 test ! -s conftest.err
1735 } && test -s conftest.$ac_objext; then :
1738 $as_echo "$as_me: failed program was:" >&5
1739 sed 's/^/| /' conftest.$ac_ext >&5
1743 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1744 as_fn_set_status $ac_retval
1746 } # ac_fn_c_try_compile
1748 # ac_fn_c_try_link LINENO
1749 # -----------------------
1750 # Try to link conftest.$ac_ext, and return whether this succeeded.
1753 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1754 rm -f conftest.$ac_objext conftest$ac_exeext
1755 if { { ac_try="$ac_link"
1757 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1758 *) ac_try_echo=$ac_try;;
1760 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1761 $as_echo "$ac_try_echo"; } >&5
1762 (eval "$ac_link") 2>conftest.err
1764 if test -s conftest.err; then
1765 grep -v '^ *+' conftest.err >conftest.er1
1766 cat conftest.er1 >&5
1767 mv -f conftest.er1 conftest.err
1769 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1770 test $ac_status = 0; } && {
1771 test -z "$ac_c_werror_flag" ||
1772 test ! -s conftest.err
1773 } && test -s conftest$ac_exeext && {
1774 test "$cross_compiling" = yes ||
1775 $as_test_x conftest$ac_exeext
1779 $as_echo "$as_me: failed program was:" >&5
1780 sed 's/^/| /' conftest.$ac_ext >&5
1784 # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
1785 # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
1786 # interfere with the next link command; also delete a directory that is
1787 # left behind by Apple's compiler. We do this before executing the actions.
1788 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
1789 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1790 as_fn_set_status $ac_retval
1792 } # ac_fn_c_try_link
1794 # ac_fn_c_check_header_compile LINENO HEADER VAR INCLUDES
1795 # -------------------------------------------------------
1796 # Tests whether HEADER exists and can be compiled using the include files in
1797 # INCLUDES, setting the cache variable VAR accordingly.
1798 ac_fn_c_check_header_compile ()
1800 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1801 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1802 $as_echo_n "checking for $2... " >&6; }
1803 if eval "test \"\${$3+set}\"" = set; then :
1804 $as_echo_n "(cached) " >&6
1806 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1807 /* end confdefs.h. */
1811 if ac_fn_c_try_compile "$LINENO"; then :
1816 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1819 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1820 $as_echo "$ac_res" >&6; }
1821 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1823 } # ac_fn_c_check_header_compile
1825 # ac_fn_c_try_cpp LINENO
1826 # ----------------------
1827 # Try to preprocess conftest.$ac_ext, and return whether this succeeded.
1830 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1831 if { { ac_try="$ac_cpp conftest.$ac_ext"
1833 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1834 *) ac_try_echo=$ac_try;;
1836 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1837 $as_echo "$ac_try_echo"; } >&5
1838 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err
1840 if test -s conftest.err; then
1841 grep -v '^ *+' conftest.err >conftest.er1
1842 cat conftest.er1 >&5
1843 mv -f conftest.er1 conftest.err
1845 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1846 test $ac_status = 0; } > conftest.i && {
1847 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
1848 test ! -s conftest.err
1852 $as_echo "$as_me: failed program was:" >&5
1853 sed 's/^/| /' conftest.$ac_ext >&5
1857 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1858 as_fn_set_status $ac_retval
1862 # ac_fn_c_try_run LINENO
1863 # ----------------------
1864 # Try to link conftest.$ac_ext, and return whether this succeeded. Assumes
1865 # that executables *can* be run.
1868 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1869 if { { ac_try="$ac_link"
1871 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1872 *) ac_try_echo=$ac_try;;
1874 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1875 $as_echo "$ac_try_echo"; } >&5
1876 (eval "$ac_link") 2>&5
1878 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1879 test $ac_status = 0; } && { ac_try='./conftest$ac_exeext'
1880 { { case "(($ac_try" in
1881 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1882 *) ac_try_echo=$ac_try;;
1884 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1885 $as_echo "$ac_try_echo"; } >&5
1886 (eval "$ac_try") 2>&5
1888 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1889 test $ac_status = 0; }; }; then :
1892 $as_echo "$as_me: program exited with status $ac_status" >&5
1893 $as_echo "$as_me: failed program was:" >&5
1894 sed 's/^/| /' conftest.$ac_ext >&5
1896 ac_retval=$ac_status
1898 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
1899 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1900 as_fn_set_status $ac_retval
1904 # ac_fn_c_check_func LINENO FUNC VAR
1905 # ----------------------------------
1906 # Tests whether FUNC exists, setting the cache variable VAR accordingly
1907 ac_fn_c_check_func ()
1909 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1910 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1911 $as_echo_n "checking for $2... " >&6; }
1912 if eval "test \"\${$3+set}\"" = set; then :
1913 $as_echo_n "(cached) " >&6
1915 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1916 /* end confdefs.h. */
1917 /* Define $2 to an innocuous variant, in case <limits.h> declares $2.
1918 For example, HP-UX 11i <limits.h> declares gettimeofday. */
1919 #define $2 innocuous_$2
1921 /* System header to define __stub macros and hopefully few prototypes,
1922 which can conflict with char $2 (); below.
1923 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
1924 <limits.h> exists even on freestanding compilers. */
1927 # include <limits.h>
1929 # include <assert.h>
1934 /* Override any GCC internal prototype to avoid an error.
1935 Use char because int might match the return type of a GCC
1936 builtin and then its argument prototype would still apply. */
1941 /* The GNU C library defines this for functions which it implements
1942 to always fail with ENOSYS. Some functions are actually named
1943 something starting with __ and the normal name is an alias. */
1944 #if defined __stub_$2 || defined __stub___$2
1956 if ac_fn_c_try_link "$LINENO"; then :
1961 rm -f core conftest.err conftest.$ac_objext \
1962 conftest$ac_exeext conftest.$ac_ext
1965 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1966 $as_echo "$ac_res" >&6; }
1967 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1969 } # ac_fn_c_check_func
1971 # ac_fn_c_check_header_mongrel LINENO HEADER VAR INCLUDES
1972 # -------------------------------------------------------
1973 # Tests whether HEADER exists, giving a warning if it cannot be compiled using
1974 # the include files in INCLUDES and setting the cache variable VAR
1976 ac_fn_c_check_header_mongrel ()
1978 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1979 if eval "test \"\${$3+set}\"" = set; then :
1980 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1981 $as_echo_n "checking for $2... " >&6; }
1982 if eval "test \"\${$3+set}\"" = set; then :
1983 $as_echo_n "(cached) " >&6
1986 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1987 $as_echo "$ac_res" >&6; }
1989 # Is the header compilable?
1990 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 usability" >&5
1991 $as_echo_n "checking $2 usability... " >&6; }
1992 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1993 /* end confdefs.h. */
1997 if ac_fn_c_try_compile "$LINENO"; then :
1998 ac_header_compiler=yes
2000 ac_header_compiler=no
2002 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2003 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_compiler" >&5
2004 $as_echo "$ac_header_compiler" >&6; }
2006 # Is the header present?
2007 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 presence" >&5
2008 $as_echo_n "checking $2 presence... " >&6; }
2009 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2010 /* end confdefs.h. */
2013 if ac_fn_c_try_cpp "$LINENO"; then :
2014 ac_header_preproc=yes
2016 ac_header_preproc=no
2018 rm -f conftest.err conftest.i conftest.$ac_ext
2019 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_preproc" >&5
2020 $as_echo "$ac_header_preproc" >&6; }
2022 # So? What about this header?
2023 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in #((
2025 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&5
2026 $as_echo "$as_me: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&2;}
2027 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
2028 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
2031 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: present but cannot be compiled" >&5
2032 $as_echo "$as_me: WARNING: $2: present but cannot be compiled" >&2;}
2033 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: check for missing prerequisite headers?" >&5
2034 $as_echo "$as_me: WARNING: $2: check for missing prerequisite headers?" >&2;}
2035 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: see the Autoconf documentation" >&5
2036 $as_echo "$as_me: WARNING: $2: see the Autoconf documentation" >&2;}
2037 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&5
2038 $as_echo "$as_me: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&2;}
2039 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
2040 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
2041 ( $as_echo "## -------------------------------------------------------- ##
2042 ## Report this to enlightenment-devel@lists.sourceforge.net ##
2043 ## -------------------------------------------------------- ##"
2044 ) | sed "s/^/$as_me: WARNING: /" >&2
2047 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2048 $as_echo_n "checking for $2... " >&6; }
2049 if eval "test \"\${$3+set}\"" = set; then :
2050 $as_echo_n "(cached) " >&6
2052 eval "$3=\$ac_header_compiler"
2055 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2056 $as_echo "$ac_res" >&6; }
2058 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
2060 } # ac_fn_c_check_header_mongrel
2062 # ac_fn_c_check_type LINENO TYPE VAR INCLUDES
2063 # -------------------------------------------
2064 # Tests whether TYPE exists after having included INCLUDES, setting cache
2065 # variable VAR accordingly.
2066 ac_fn_c_check_type ()
2068 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2069 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2070 $as_echo_n "checking for $2... " >&6; }
2071 if eval "test \"\${$3+set}\"" = set; then :
2072 $as_echo_n "(cached) " >&6
2075 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2076 /* end confdefs.h. */
2087 if ac_fn_c_try_compile "$LINENO"; then :
2088 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2089 /* end confdefs.h. */
2100 if ac_fn_c_try_compile "$LINENO"; then :
2105 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2107 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2110 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2111 $as_echo "$ac_res" >&6; }
2112 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
2114 } # ac_fn_c_check_type
2115 cat >config.log <<_ACEOF
2116 This file contains any messages produced by compilers while
2117 running configure, to aid debugging if configure makes a mistake.
2119 It was created by eeze $as_me 1.7.1, which was
2120 generated by GNU Autoconf 2.67. Invocation command line was
2132 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
2133 uname -m = `(uname -m) 2>/dev/null || echo unknown`
2134 uname -r = `(uname -r) 2>/dev/null || echo unknown`
2135 uname -s = `(uname -s) 2>/dev/null || echo unknown`
2136 uname -v = `(uname -v) 2>/dev/null || echo unknown`
2138 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
2139 /bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown`
2141 /bin/arch = `(/bin/arch) 2>/dev/null || echo unknown`
2142 /usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown`
2143 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
2144 /usr/bin/hostinfo = `(/usr/bin/hostinfo) 2>/dev/null || echo unknown`
2145 /bin/machine = `(/bin/machine) 2>/dev/null || echo unknown`
2146 /usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown`
2147 /bin/universe = `(/bin/universe) 2>/dev/null || echo unknown`
2151 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2155 test -z "$as_dir" && as_dir=.
2156 $as_echo "PATH: $as_dir"
2172 # Keep a trace of the command line.
2173 # Strip out --no-create and --no-recursion so they do not pile up.
2174 # Strip out --silent because we don't want to record it for future runs.
2175 # Also quote any args containing shell meta-characters.
2176 # Make two passes to allow for proper duplicate-argument suppression.
2180 ac_must_keep_next=false
2186 -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
2187 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
2188 | -silent | --silent | --silen | --sile | --sil)
2191 ac_arg=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
2194 1) as_fn_append ac_configure_args0 " '$ac_arg'" ;;
2196 as_fn_append ac_configure_args1 " '$ac_arg'"
2197 if test $ac_must_keep_next = true; then
2198 ac_must_keep_next=false # Got value, back to normal.
2201 *=* | --config-cache | -C | -disable-* | --disable-* \
2202 | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
2203 | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
2204 | -with-* | --with-* | -without-* | --without-* | --x)
2205 case "$ac_configure_args0 " in
2206 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
2209 -* ) ac_must_keep_next=true ;;
2212 as_fn_append ac_configure_args " '$ac_arg'"
2217 { ac_configure_args0=; unset ac_configure_args0;}
2218 { ac_configure_args1=; unset ac_configure_args1;}
2220 # When interrupted or exit'd, cleanup temporary files, and complete
2221 # config.log. We remove comments because anyway the quotes in there
2222 # would cause problems or look ugly.
2223 # WARNING: Use '\'' to represent an apostrophe within the trap.
2224 # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
2225 trap 'exit_status=$?
2226 # Save into config.log some information that might help in debugging.
2230 $as_echo "## ---------------- ##
2231 ## Cache variables. ##
2232 ## ---------------- ##"
2234 # The following way of writing the cache mishandles newlines in values,
2236 for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
2237 eval ac_val=\$$ac_var
2241 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
2242 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
2245 _ | IFS | as_nl) ;; #(
2246 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
2247 *) { eval $ac_var=; unset $ac_var;} ;;
2252 case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
2253 *${as_nl}ac_space=\ *)
2255 "s/'\''/'\''\\\\'\'''\''/g;
2256 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
2259 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
2266 $as_echo "## ----------------- ##
2267 ## Output variables. ##
2268 ## ----------------- ##"
2270 for ac_var in $ac_subst_vars
2272 eval ac_val=\$$ac_var
2274 *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
2276 $as_echo "$ac_var='\''$ac_val'\''"
2280 if test -n "$ac_subst_files"; then
2281 $as_echo "## ------------------- ##
2282 ## File substitutions. ##
2283 ## ------------------- ##"
2285 for ac_var in $ac_subst_files
2287 eval ac_val=\$$ac_var
2289 *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
2291 $as_echo "$ac_var='\''$ac_val'\''"
2296 if test -s confdefs.h; then
2297 $as_echo "## ----------- ##
2304 test "$ac_signal" != 0 &&
2305 $as_echo "$as_me: caught signal $ac_signal"
2306 $as_echo "$as_me: exit $exit_status"
2308 rm -f core *.core core.conftest.* &&
2309 rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
2312 for ac_signal in 1 2 13 15; do
2313 trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal
2317 # confdefs.h avoids OS command line length limits that DEFS can exceed.
2318 rm -f -r conftest* confdefs.h
2320 $as_echo "/* confdefs.h */" > confdefs.h
2322 # Predefined preprocessor variables.
2324 cat >>confdefs.h <<_ACEOF
2325 #define PACKAGE_NAME "$PACKAGE_NAME"
2328 cat >>confdefs.h <<_ACEOF
2329 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
2332 cat >>confdefs.h <<_ACEOF
2333 #define PACKAGE_VERSION "$PACKAGE_VERSION"
2336 cat >>confdefs.h <<_ACEOF
2337 #define PACKAGE_STRING "$PACKAGE_STRING"
2340 cat >>confdefs.h <<_ACEOF
2341 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
2344 cat >>confdefs.h <<_ACEOF
2345 #define PACKAGE_URL "$PACKAGE_URL"
2349 # Let the site file select an alternate cache file if it wants to.
2350 # Prefer an explicitly selected file to automatically selected ones.
2353 if test -n "$CONFIG_SITE"; then
2354 # We do not want a PATH search for config.site.
2355 case $CONFIG_SITE in #((
2356 -*) ac_site_file1=./$CONFIG_SITE;;
2357 */*) ac_site_file1=$CONFIG_SITE;;
2358 *) ac_site_file1=./$CONFIG_SITE;;
2360 elif test "x$prefix" != xNONE; then
2361 ac_site_file1=$prefix/share/config.site
2362 ac_site_file2=$prefix/etc/config.site
2364 ac_site_file1=$ac_default_prefix/share/config.site
2365 ac_site_file2=$ac_default_prefix/etc/config.site
2367 for ac_site_file in "$ac_site_file1" "$ac_site_file2"
2369 test "x$ac_site_file" = xNONE && continue
2370 if test /dev/null != "$ac_site_file" && test -r "$ac_site_file"; then
2371 { $as_echo "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5
2372 $as_echo "$as_me: loading site script $ac_site_file" >&6;}
2373 sed 's/^/| /' "$ac_site_file" >&5
2375 || { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2376 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2377 as_fn_error $? "failed to load site script $ac_site_file
2378 See \`config.log' for more details" "$LINENO" 5 ; }
2382 if test -r "$cache_file"; then
2383 # Some versions of bash will fail to source /dev/null (special files
2384 # actually), so we avoid doing that. DJGPP emulates it as a regular file.
2385 if test /dev/null != "$cache_file" && test -f "$cache_file"; then
2386 { $as_echo "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5
2387 $as_echo "$as_me: loading cache $cache_file" >&6;}
2389 [\\/]* | ?:[\\/]* ) . "$cache_file";;
2390 *) . "./$cache_file";;
2394 { $as_echo "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5
2395 $as_echo "$as_me: creating cache $cache_file" >&6;}
2399 # Check that the precious variables saved in the cache have kept the same
2401 ac_cache_corrupted=false
2402 for ac_var in $ac_precious_vars; do
2403 eval ac_old_set=\$ac_cv_env_${ac_var}_set
2404 eval ac_new_set=\$ac_env_${ac_var}_set
2405 eval ac_old_val=\$ac_cv_env_${ac_var}_value
2406 eval ac_new_val=\$ac_env_${ac_var}_value
2407 case $ac_old_set,$ac_new_set in
2409 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
2410 $as_echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
2411 ac_cache_corrupted=: ;;
2413 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not set in the previous run" >&5
2414 $as_echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
2415 ac_cache_corrupted=: ;;
2418 if test "x$ac_old_val" != "x$ac_new_val"; then
2419 # differences in whitespace do not lead to failure.
2420 ac_old_val_w=`echo x $ac_old_val`
2421 ac_new_val_w=`echo x $ac_new_val`
2422 if test "$ac_old_val_w" != "$ac_new_val_w"; then
2423 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&5
2424 $as_echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
2425 ac_cache_corrupted=:
2427 { $as_echo "$as_me:${as_lineno-$LINENO}: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5
2428 $as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;}
2429 eval $ac_var=\$ac_old_val
2431 { $as_echo "$as_me:${as_lineno-$LINENO}: former value: \`$ac_old_val'" >&5
2432 $as_echo "$as_me: former value: \`$ac_old_val'" >&2;}
2433 { $as_echo "$as_me:${as_lineno-$LINENO}: current value: \`$ac_new_val'" >&5
2434 $as_echo "$as_me: current value: \`$ac_new_val'" >&2;}
2437 # Pass precious variables to config.status.
2438 if test "$ac_new_set" = set; then
2440 *\'*) ac_arg=$ac_var=`$as_echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
2441 *) ac_arg=$ac_var=$ac_new_val ;;
2443 case " $ac_configure_args " in
2444 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
2445 *) as_fn_append ac_configure_args " '$ac_arg'" ;;
2449 if $ac_cache_corrupted; then
2450 { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2451 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2452 { $as_echo "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5
2453 $as_echo "$as_me: error: changes in the environment can compromise the build" >&2;}
2454 as_fn_error $? "run \`make distclean' and/or \`rm $cache_file' and start over" "$LINENO" 5
2456 ## -------------------- ##
2457 ## Main body of script. ##
2458 ## -------------------- ##
2461 ac_cpp='$CPP $CPPFLAGS'
2462 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2463 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2464 ac_compiler_gnu=$ac_cv_c_compiler_gnu
2471 ac_config_headers="$ac_config_headers config.h"
2476 am__api_version='1.11'
2479 for ac_dir in "$srcdir" "$srcdir/.." "$srcdir/../.."; do
2480 if test -f "$ac_dir/install-sh"; then
2482 ac_install_sh="$ac_aux_dir/install-sh -c"
2484 elif test -f "$ac_dir/install.sh"; then
2486 ac_install_sh="$ac_aux_dir/install.sh -c"
2488 elif test -f "$ac_dir/shtool"; then
2490 ac_install_sh="$ac_aux_dir/shtool install -c"
2494 if test -z "$ac_aux_dir"; then
2495 as_fn_error $? "cannot find install-sh, install.sh, or shtool in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" "$LINENO" 5
2498 # These three variables are undocumented and unsupported,
2499 # and are intended to be withdrawn in a future Autoconf release.
2500 # They can cause serious problems if a builder's source tree is in a directory
2501 # whose full name contains unusual characters.
2502 ac_config_guess="$SHELL $ac_aux_dir/config.guess" # Please don't use this var.
2503 ac_config_sub="$SHELL $ac_aux_dir/config.sub" # Please don't use this var.
2504 ac_configure="$SHELL $ac_aux_dir/configure" # Please don't use this var.
2507 # Find a good install program. We prefer a C program (faster),
2508 # so one script is as good as another. But avoid the broken or
2509 # incompatible versions:
2510 # SysV /etc/install, /usr/sbin/install
2511 # SunOS /usr/etc/install
2512 # IRIX /sbin/install
2514 # AmigaOS /C/install, which installs bootblocks on floppy discs
2515 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
2516 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
2517 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
2518 # OS/2's system install, which has a completely different semantic
2519 # ./install, which can be erroneously created by make from ./install.sh.
2520 # Reject install programs that cannot install multiple files.
2521 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a BSD-compatible install" >&5
2522 $as_echo_n "checking for a BSD-compatible install... " >&6; }
2523 if test -z "$INSTALL"; then
2524 if test "${ac_cv_path_install+set}" = set; then :
2525 $as_echo_n "(cached) " >&6
2527 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2531 test -z "$as_dir" && as_dir=.
2532 # Account for people who put trailing slashes in PATH elements.
2533 case $as_dir/ in #((
2534 ./ | .// | /[cC]/* | \
2535 /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
2536 ?:[\\/]os2[\\/]install[\\/]* | ?:[\\/]OS2[\\/]INSTALL[\\/]* | \
2539 # OSF1 and SCO ODT 3.0 have their own names for install.
2540 # Don't use installbsd from OSF since it installs stuff as root
2542 for ac_prog in ginstall scoinst install; do
2543 for ac_exec_ext in '' $ac_executable_extensions; do
2544 if { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; }; then
2545 if test $ac_prog = install &&
2546 grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
2547 # AIX install. It has an incompatible calling convention.
2549 elif test $ac_prog = install &&
2550 grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
2551 # program-specific install script used by HP pwplus--don't use.
2554 rm -rf conftest.one conftest.two conftest.dir
2555 echo one > conftest.one
2556 echo two > conftest.two
2558 if "$as_dir/$ac_prog$ac_exec_ext" -c conftest.one conftest.two "`pwd`/conftest.dir" &&
2559 test -s conftest.one && test -s conftest.two &&
2560 test -s conftest.dir/conftest.one &&
2561 test -s conftest.dir/conftest.two
2563 ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
2576 rm -rf conftest.one conftest.two conftest.dir
2579 if test "${ac_cv_path_install+set}" = set; then
2580 INSTALL=$ac_cv_path_install
2582 # As a last resort, use the slow shell script. Don't cache a
2583 # value for INSTALL within a source directory, because that will
2584 # break other packages using the cache if that directory is
2585 # removed, or if the value is a relative name.
2586 INSTALL=$ac_install_sh
2589 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $INSTALL" >&5
2590 $as_echo "$INSTALL" >&6; }
2592 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
2593 # It thinks the first close brace ends the variable substitution.
2594 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
2596 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
2598 test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
2600 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether build environment is sane" >&5
2601 $as_echo_n "checking whether build environment is sane... " >&6; }
2604 echo timestamp > conftest.file
2605 # Reject unsafe characters in $srcdir or the absolute working directory
2606 # name. Accept space and tab only in the latter.
2610 *[\\\"\#\$\&\'\`$am_lf]*)
2611 as_fn_error $? "unsafe absolute working directory name" "$LINENO" 5 ;;
2614 *[\\\"\#\$\&\'\`$am_lf\ \ ]*)
2615 as_fn_error $? "unsafe srcdir value: \`$srcdir'" "$LINENO" 5 ;;
2618 # Do `set' in a subshell so we don't clobber the current shell's
2619 # arguments. Must try -L first in case configure is actually a
2620 # symlink; some systems play weird games with the mod time of symlinks
2621 # (eg FreeBSD returns the mod time of the symlink's containing
2624 set X `ls -Lt "$srcdir/configure" conftest.file 2> /dev/null`
2625 if test "$*" = "X"; then
2627 set X `ls -t "$srcdir/configure" conftest.file`
2630 if test "$*" != "X $srcdir/configure conftest.file" \
2631 && test "$*" != "X conftest.file $srcdir/configure"; then
2633 # If neither matched, then we have a broken ls. This can happen
2634 # if, for instance, CONFIG_SHELL is bash and it inherits a
2635 # broken ls alias from the environment. This has actually
2636 # happened. Such a system could not be considered "sane".
2637 as_fn_error $? "ls -t appears to fail. Make sure there is not a broken
2638 alias in your environment" "$LINENO" 5
2641 test "$2" = conftest.file
2647 as_fn_error $? "newly created file is older than distributed files!
2648 Check your system clock" "$LINENO" 5
2650 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
2651 $as_echo "yes" >&6; }
2652 test "$program_prefix" != NONE &&
2653 program_transform_name="s&^&$program_prefix&;$program_transform_name"
2654 # Use a double $ so make ignores it.
2655 test "$program_suffix" != NONE &&
2656 program_transform_name="s&\$&$program_suffix&;$program_transform_name"
2657 # Double any \ or $.
2658 # By default was `s,x,x', remove it if useless.
2659 ac_script='s/[\\$]/&&/g;s/;s,x,x,$//'
2660 program_transform_name=`$as_echo "$program_transform_name" | sed "$ac_script"`
2662 # expand $ac_aux_dir to an absolute path
2663 am_aux_dir=`cd $ac_aux_dir && pwd`
2665 if test x"${MISSING+set}" != xset; then
2668 MISSING="\${SHELL} \"$am_aux_dir/missing\"" ;;
2670 MISSING="\${SHELL} $am_aux_dir/missing" ;;
2673 # Use eval to expand $SHELL
2674 if eval "$MISSING --run true"; then
2675 am_missing_run="$MISSING --run "
2678 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \`missing' script is too old or missing" >&5
2679 $as_echo "$as_me: WARNING: \`missing' script is too old or missing" >&2;}
2682 if test x"${install_sh}" != xset; then
2685 install_sh="\${SHELL} '$am_aux_dir/install-sh'" ;;
2687 install_sh="\${SHELL} $am_aux_dir/install-sh"
2691 # Installed binaries are usually stripped using `strip' when the user
2692 # run `make install-strip'. However `strip' might not be the right
2693 # tool to use in cross-compilation environments, therefore Automake
2694 # will honor the `STRIP' environment variable to overrule this program.
2695 if test "$cross_compiling" != no; then
2696 if test -n "$ac_tool_prefix"; then
2697 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
2698 set dummy ${ac_tool_prefix}strip; ac_word=$2
2699 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2700 $as_echo_n "checking for $ac_word... " >&6; }
2701 if test "${ac_cv_prog_STRIP+set}" = set; then :
2702 $as_echo_n "(cached) " >&6
2704 if test -n "$STRIP"; then
2705 ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
2707 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2711 test -z "$as_dir" && as_dir=.
2712 for ac_exec_ext in '' $ac_executable_extensions; do
2713 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2714 ac_cv_prog_STRIP="${ac_tool_prefix}strip"
2715 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2724 STRIP=$ac_cv_prog_STRIP
2725 if test -n "$STRIP"; then
2726 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
2727 $as_echo "$STRIP" >&6; }
2729 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2730 $as_echo "no" >&6; }
2735 if test -z "$ac_cv_prog_STRIP"; then
2737 # Extract the first word of "strip", so it can be a program name with args.
2738 set dummy strip; ac_word=$2
2739 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2740 $as_echo_n "checking for $ac_word... " >&6; }
2741 if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then :
2742 $as_echo_n "(cached) " >&6
2744 if test -n "$ac_ct_STRIP"; then
2745 ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
2747 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2751 test -z "$as_dir" && as_dir=.
2752 for ac_exec_ext in '' $ac_executable_extensions; do
2753 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2754 ac_cv_prog_ac_ct_STRIP="strip"
2755 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2764 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
2765 if test -n "$ac_ct_STRIP"; then
2766 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
2767 $as_echo "$ac_ct_STRIP" >&6; }
2769 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2770 $as_echo "no" >&6; }
2773 if test "x$ac_ct_STRIP" = x; then
2776 case $cross_compiling:$ac_tool_warned in
2778 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
2779 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
2780 ac_tool_warned=yes ;;
2785 STRIP="$ac_cv_prog_STRIP"
2789 INSTALL_STRIP_PROGRAM="\$(install_sh) -c -s"
2791 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a thread-safe mkdir -p" >&5
2792 $as_echo_n "checking for a thread-safe mkdir -p... " >&6; }
2793 if test -z "$MKDIR_P"; then
2794 if test "${ac_cv_path_mkdir+set}" = set; then :
2795 $as_echo_n "(cached) " >&6
2797 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2798 for as_dir in $PATH$PATH_SEPARATOR/opt/sfw/bin
2801 test -z "$as_dir" && as_dir=.
2802 for ac_prog in mkdir gmkdir; do
2803 for ac_exec_ext in '' $ac_executable_extensions; do
2804 { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; } || continue
2805 case `"$as_dir/$ac_prog$ac_exec_ext" --version 2>&1` in #(
2806 'mkdir (GNU coreutils) '* | \
2807 'mkdir (coreutils) '* | \
2808 'mkdir (fileutils) '4.1*)
2809 ac_cv_path_mkdir=$as_dir/$ac_prog$ac_exec_ext
2819 test -d ./--version && rmdir ./--version
2820 if test "${ac_cv_path_mkdir+set}" = set; then
2821 MKDIR_P="$ac_cv_path_mkdir -p"
2823 # As a last resort, use the slow shell script. Don't cache a
2824 # value for MKDIR_P within a source directory, because that will
2825 # break other packages using the cache if that directory is
2826 # removed, or if the value is a relative name.
2827 MKDIR_P="$ac_install_sh -d"
2830 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MKDIR_P" >&5
2831 $as_echo "$MKDIR_P" >&6; }
2835 [\\/$]* | ?:[\\/]*) ;;
2836 */*) mkdir_p="\$(top_builddir)/$mkdir_p" ;;
2839 for ac_prog in gawk mawk nawk awk
2841 # Extract the first word of "$ac_prog", so it can be a program name with args.
2842 set dummy $ac_prog; ac_word=$2
2843 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2844 $as_echo_n "checking for $ac_word... " >&6; }
2845 if test "${ac_cv_prog_AWK+set}" = set; then :
2846 $as_echo_n "(cached) " >&6
2848 if test -n "$AWK"; then
2849 ac_cv_prog_AWK="$AWK" # Let the user override the test.
2851 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2855 test -z "$as_dir" && as_dir=.
2856 for ac_exec_ext in '' $ac_executable_extensions; do
2857 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2858 ac_cv_prog_AWK="$ac_prog"
2859 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2869 if test -n "$AWK"; then
2870 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AWK" >&5
2871 $as_echo "$AWK" >&6; }
2873 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2874 $as_echo "no" >&6; }
2878 test -n "$AWK" && break
2881 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5
2882 $as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; }
2884 ac_make=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
2885 if eval "test \"\${ac_cv_prog_make_${ac_make}_set+set}\"" = set; then :
2886 $as_echo_n "(cached) " >&6
2888 cat >conftest.make <<\_ACEOF
2891 @echo '@@@%%%=$(MAKE)=@@@%%%'
2893 # GNU make sometimes prints "make[1]: Entering ...", which would confuse us.
2894 case `${MAKE-make} -f conftest.make 2>/dev/null` in
2896 eval ac_cv_prog_make_${ac_make}_set=yes;;
2898 eval ac_cv_prog_make_${ac_make}_set=no;;
2902 if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then
2903 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
2904 $as_echo "yes" >&6; }
2907 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2908 $as_echo "no" >&6; }
2909 SET_MAKE="MAKE=${MAKE-make}"
2912 rm -rf .tst 2>/dev/null
2913 mkdir .tst 2>/dev/null
2914 if test -d .tst; then
2919 rmdir .tst 2>/dev/null
2921 if test "`cd $srcdir && pwd`" != "`pwd`"; then
2922 # Use -I$(srcdir) only when $(srcdir) != ., so that make's output
2923 # is not polluted with repeated "-I."
2924 am__isrc=' -I$(srcdir)'
2925 # test to see if srcdir already configured
2926 if test -f $srcdir/config.status; then
2927 as_fn_error $? "source directory already configured; run \"make distclean\" there first" "$LINENO" 5
2931 # test whether we have cygpath
2932 if test -z "$CYGPATH_W"; then
2933 if (cygpath --version) >/dev/null 2>/dev/null; then
2934 CYGPATH_W='cygpath -w'
2941 # Define the identity of the package.
2946 cat >>confdefs.h <<_ACEOF
2947 #define PACKAGE "$PACKAGE"
2951 cat >>confdefs.h <<_ACEOF
2952 #define VERSION "$VERSION"
2955 # Some tools Automake needs.
2957 ACLOCAL=${ACLOCAL-"${am_missing_run}aclocal-${am__api_version}"}
2960 AUTOCONF=${AUTOCONF-"${am_missing_run}autoconf"}
2963 AUTOMAKE=${AUTOMAKE-"${am_missing_run}automake-${am__api_version}"}
2966 AUTOHEADER=${AUTOHEADER-"${am_missing_run}autoheader"}
2969 MAKEINFO=${MAKEINFO-"${am_missing_run}makeinfo"}
2971 # We need awk for the "check" target. The system "awk" is bad on
2973 # Always define AMTAR for backward compatibility.
2975 AMTAR=${AMTAR-"${am_missing_run}tar"}
2977 am__tar='${AMTAR} chof - "$$tardir"'; am__untar='${AMTAR} xf -'
2983 # Check whether --enable-silent-rules was given.
2984 if test "${enable_silent_rules+set}" = set; then :
2985 enableval=$enable_silent_rules;
2988 case $enable_silent_rules in
2989 yes) AM_DEFAULT_VERBOSITY=0;;
2990 no) AM_DEFAULT_VERBOSITY=1;;
2991 *) AM_DEFAULT_VERBOSITY=0;;
2998 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Libtool does not cope well with whitespace in \`pwd\`" >&5
2999 $as_echo "$as_me: WARNING: Libtool does not cope well with whitespace in \`pwd\`" >&2;} ;;
3004 macro_version='2.2.6b'
3005 macro_revision='1.3017'
3019 ltmain="$ac_aux_dir/ltmain.sh"
3021 # Make sure we can run config.sub.
3022 $SHELL "$ac_aux_dir/config.sub" sun4 >/dev/null 2>&1 ||
3023 as_fn_error $? "cannot run $SHELL $ac_aux_dir/config.sub" "$LINENO" 5
3025 { $as_echo "$as_me:${as_lineno-$LINENO}: checking build system type" >&5
3026 $as_echo_n "checking build system type... " >&6; }
3027 if test "${ac_cv_build+set}" = set; then :
3028 $as_echo_n "(cached) " >&6
3030 ac_build_alias=$build_alias
3031 test "x$ac_build_alias" = x &&
3032 ac_build_alias=`$SHELL "$ac_aux_dir/config.guess"`
3033 test "x$ac_build_alias" = x &&
3034 as_fn_error $? "cannot guess build type; you must specify one" "$LINENO" 5
3035 ac_cv_build=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
3036 as_fn_error $? "$SHELL $ac_aux_dir/config.sub $ac_build_alias failed" "$LINENO" 5
3039 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_build" >&5
3040 $as_echo "$ac_cv_build" >&6; }
3041 case $ac_cv_build in
3043 *) as_fn_error $? "invalid value of canonical build" "$LINENO" 5 ;;
3046 ac_save_IFS=$IFS; IFS='-'
3052 # Remember, the first character of IFS is used to create $*,
3053 # except with old shells:
3056 case $build_os in *\ *) build_os=`echo "$build_os" | sed 's/ /-/g'`;; esac
3059 { $as_echo "$as_me:${as_lineno-$LINENO}: checking host system type" >&5
3060 $as_echo_n "checking host system type... " >&6; }
3061 if test "${ac_cv_host+set}" = set; then :
3062 $as_echo_n "(cached) " >&6
3064 if test "x$host_alias" = x; then
3065 ac_cv_host=$ac_cv_build
3067 ac_cv_host=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
3068 as_fn_error $? "$SHELL $ac_aux_dir/config.sub $host_alias failed" "$LINENO" 5
3072 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_host" >&5
3073 $as_echo "$ac_cv_host" >&6; }
3076 *) as_fn_error $? "invalid value of canonical host" "$LINENO" 5 ;;
3079 ac_save_IFS=$IFS; IFS='-'
3085 # Remember, the first character of IFS is used to create $*,
3086 # except with old shells:
3089 case $host_os in *\ *) host_os=`echo "$host_os" | sed 's/ /-/g'`;; esac
3092 DEPDIR="${am__leading_dot}deps"
3094 ac_config_commands="$ac_config_commands depfiles"
3097 am_make=${MAKE-make}
3098 cat > confinc << 'END'
3100 @echo this is the am__doit target
3103 # If we don't find an include directive, just comment out the code.
3104 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for style of include used by $am_make" >&5
3105 $as_echo_n "checking for style of include used by $am_make... " >&6; }
3109 # First try GNU make style include.
3110 echo "include confinc" > confmf
3111 # Ignore all kinds of additional output from `make'.
3112 case `$am_make -s -f confmf 2> /dev/null` in #(
3113 *the\ am__doit\ target*)
3119 # Now try BSD make style include.
3120 if test "$am__include" = "#"; then
3121 echo '.include "confinc"' > confmf
3122 case `$am_make -s -f confmf 2> /dev/null` in #(
3123 *the\ am__doit\ target*)
3124 am__include=.include
3132 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $_am_result" >&5
3133 $as_echo "$_am_result" >&6; }
3134 rm -f confinc confmf
3136 # Check whether --enable-dependency-tracking was given.
3137 if test "${enable_dependency_tracking+set}" = set; then :
3138 enableval=$enable_dependency_tracking;
3141 if test "x$enable_dependency_tracking" != xno; then
3142 am_depcomp="$ac_aux_dir/depcomp"
3145 if test "x$enable_dependency_tracking" != xno; then
3155 ac_cpp='$CPP $CPPFLAGS'
3156 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3157 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3158 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3159 if test -n "$ac_tool_prefix"; then
3160 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
3161 set dummy ${ac_tool_prefix}gcc; ac_word=$2
3162 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3163 $as_echo_n "checking for $ac_word... " >&6; }
3164 if test "${ac_cv_prog_CC+set}" = set; then :
3165 $as_echo_n "(cached) " >&6
3167 if test -n "$CC"; then
3168 ac_cv_prog_CC="$CC" # Let the user override the test.
3170 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3174 test -z "$as_dir" && as_dir=.
3175 for ac_exec_ext in '' $ac_executable_extensions; do
3176 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3177 ac_cv_prog_CC="${ac_tool_prefix}gcc"
3178 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3188 if test -n "$CC"; then
3189 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3190 $as_echo "$CC" >&6; }
3192 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3193 $as_echo "no" >&6; }
3198 if test -z "$ac_cv_prog_CC"; then
3200 # Extract the first word of "gcc", so it can be a program name with args.
3201 set dummy gcc; ac_word=$2
3202 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3203 $as_echo_n "checking for $ac_word... " >&6; }
3204 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then :
3205 $as_echo_n "(cached) " >&6
3207 if test -n "$ac_ct_CC"; then
3208 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
3210 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3214 test -z "$as_dir" && as_dir=.
3215 for ac_exec_ext in '' $ac_executable_extensions; do
3216 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3217 ac_cv_prog_ac_ct_CC="gcc"
3218 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3227 ac_ct_CC=$ac_cv_prog_ac_ct_CC
3228 if test -n "$ac_ct_CC"; then
3229 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
3230 $as_echo "$ac_ct_CC" >&6; }
3232 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3233 $as_echo "no" >&6; }
3236 if test "x$ac_ct_CC" = x; then
3239 case $cross_compiling:$ac_tool_warned in
3241 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3242 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3243 ac_tool_warned=yes ;;
3251 if test -z "$CC"; then
3252 if test -n "$ac_tool_prefix"; then
3253 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
3254 set dummy ${ac_tool_prefix}cc; ac_word=$2
3255 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3256 $as_echo_n "checking for $ac_word... " >&6; }
3257 if test "${ac_cv_prog_CC+set}" = set; then :
3258 $as_echo_n "(cached) " >&6
3260 if test -n "$CC"; then
3261 ac_cv_prog_CC="$CC" # Let the user override the test.
3263 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3267 test -z "$as_dir" && as_dir=.
3268 for ac_exec_ext in '' $ac_executable_extensions; do
3269 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3270 ac_cv_prog_CC="${ac_tool_prefix}cc"
3271 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3281 if test -n "$CC"; then
3282 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3283 $as_echo "$CC" >&6; }
3285 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3286 $as_echo "no" >&6; }
3292 if test -z "$CC"; then
3293 # Extract the first word of "cc", so it can be a program name with args.
3294 set dummy cc; ac_word=$2
3295 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3296 $as_echo_n "checking for $ac_word... " >&6; }
3297 if test "${ac_cv_prog_CC+set}" = set; then :
3298 $as_echo_n "(cached) " >&6
3300 if test -n "$CC"; then
3301 ac_cv_prog_CC="$CC" # Let the user override the test.
3304 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3308 test -z "$as_dir" && as_dir=.
3309 for ac_exec_ext in '' $ac_executable_extensions; do
3310 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3311 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
3312 ac_prog_rejected=yes
3316 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3323 if test $ac_prog_rejected = yes; then
3324 # We found a bogon in the path, so make sure we never use it.
3325 set dummy $ac_cv_prog_CC
3327 if test $# != 0; then
3328 # We chose a different compiler from the bogus one.
3329 # However, it has the same basename, so the bogon will be chosen
3330 # first if we set CC to just the basename; use the full file name.
3332 ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
3338 if test -n "$CC"; then
3339 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3340 $as_echo "$CC" >&6; }
3342 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3343 $as_echo "no" >&6; }
3348 if test -z "$CC"; then
3349 if test -n "$ac_tool_prefix"; then
3350 for ac_prog in cl.exe
3352 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
3353 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
3354 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3355 $as_echo_n "checking for $ac_word... " >&6; }
3356 if test "${ac_cv_prog_CC+set}" = set; then :
3357 $as_echo_n "(cached) " >&6
3359 if test -n "$CC"; then
3360 ac_cv_prog_CC="$CC" # Let the user override the test.
3362 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3366 test -z "$as_dir" && as_dir=.
3367 for ac_exec_ext in '' $ac_executable_extensions; do
3368 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3369 ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
3370 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3380 if test -n "$CC"; then
3381 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3382 $as_echo "$CC" >&6; }
3384 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3385 $as_echo "no" >&6; }
3389 test -n "$CC" && break
3392 if test -z "$CC"; then
3394 for ac_prog in cl.exe
3396 # Extract the first word of "$ac_prog", so it can be a program name with args.
3397 set dummy $ac_prog; ac_word=$2
3398 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3399 $as_echo_n "checking for $ac_word... " >&6; }
3400 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then :
3401 $as_echo_n "(cached) " >&6
3403 if test -n "$ac_ct_CC"; then
3404 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
3406 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3410 test -z "$as_dir" && as_dir=.
3411 for ac_exec_ext in '' $ac_executable_extensions; do
3412 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3413 ac_cv_prog_ac_ct_CC="$ac_prog"
3414 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3423 ac_ct_CC=$ac_cv_prog_ac_ct_CC
3424 if test -n "$ac_ct_CC"; then
3425 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
3426 $as_echo "$ac_ct_CC" >&6; }
3428 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3429 $as_echo "no" >&6; }
3433 test -n "$ac_ct_CC" && break
3436 if test "x$ac_ct_CC" = x; then
3439 case $cross_compiling:$ac_tool_warned in
3441 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3442 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3443 ac_tool_warned=yes ;;
3452 test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3453 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3454 as_fn_error $? "no acceptable C compiler found in \$PATH
3455 See \`config.log' for more details" "$LINENO" 5 ; }
3457 # Provide some information about the compiler.
3458 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
3461 for ac_option in --version -v -V -qversion; do
3462 { { ac_try="$ac_compiler $ac_option >&5"
3464 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3465 *) ac_try_echo=$ac_try;;
3467 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3468 $as_echo "$ac_try_echo"; } >&5
3469 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
3471 if test -s conftest.err; then
3473 ... rest of stderr output deleted ...
3474 10q' conftest.err >conftest.er1
3475 cat conftest.er1 >&5
3477 rm -f conftest.er1 conftest.err
3478 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3479 test $ac_status = 0; }
3482 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3483 /* end confdefs.h. */
3493 ac_clean_files_save=$ac_clean_files
3494 ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out"
3495 # Try to create an executable without -o first, disregard a.out.
3496 # It will help us diagnose broken compilers, and finding out an intuition
3498 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler works" >&5
3499 $as_echo_n "checking whether the C compiler works... " >&6; }
3500 ac_link_default=`$as_echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
3502 # The possible output files:
3503 ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*"
3506 for ac_file in $ac_files
3509 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
3510 * ) ac_rmfiles="$ac_rmfiles $ac_file";;
3515 if { { ac_try="$ac_link_default"
3517 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3518 *) ac_try_echo=$ac_try;;
3520 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3521 $as_echo "$ac_try_echo"; } >&5
3522 (eval "$ac_link_default") 2>&5
3524 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3525 test $ac_status = 0; }; then :
3526 # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
3527 # So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
3528 # in a Makefile. We should not override ac_cv_exeext if it was cached,
3529 # so that the user can short-circuit this test for compilers unknown to
3531 for ac_file in $ac_files ''
3533 test -f "$ac_file" || continue
3535 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj )
3538 # We found the default executable, but exeext='' is most
3542 if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no;
3544 ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
3546 # We set ac_cv_exeext here because the later test for it is not
3547 # safe: cross compilers may not add the suffix if given an `-o'
3548 # argument, so we may need to know it at that point already.
3549 # Even if this section looks crufty: it has the advantage of
3556 test "$ac_cv_exeext" = no && ac_cv_exeext=
3561 if test -z "$ac_file"; then :
3562 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3563 $as_echo "no" >&6; }
3564 $as_echo "$as_me: failed program was:" >&5
3565 sed 's/^/| /' conftest.$ac_ext >&5
3567 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3568 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3569 as_fn_error 77 "C compiler cannot create executables
3570 See \`config.log' for more details" "$LINENO" 5 ; }
3572 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
3573 $as_echo "yes" >&6; }
3575 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler default output file name" >&5
3576 $as_echo_n "checking for C compiler default output file name... " >&6; }
3577 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5
3578 $as_echo "$ac_file" >&6; }
3579 ac_exeext=$ac_cv_exeext
3581 rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out
3582 ac_clean_files=$ac_clean_files_save
3583 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5
3584 $as_echo_n "checking for suffix of executables... " >&6; }
3585 if { { ac_try="$ac_link"
3587 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3588 *) ac_try_echo=$ac_try;;
3590 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3591 $as_echo "$ac_try_echo"; } >&5
3592 (eval "$ac_link") 2>&5
3594 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3595 test $ac_status = 0; }; then :
3596 # If both `conftest.exe' and `conftest' are `present' (well, observable)
3597 # catch `conftest.exe'. For instance with Cygwin, `ls conftest' will
3598 # work properly (i.e., refer to `conftest.exe'), while it won't with
3600 for ac_file in conftest.exe conftest conftest.*; do
3601 test -f "$ac_file" || continue
3603 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
3604 *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
3610 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3611 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3612 as_fn_error $? "cannot compute suffix of executables: cannot compile and link
3613 See \`config.log' for more details" "$LINENO" 5 ; }
3615 rm -f conftest conftest$ac_cv_exeext
3616 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5
3617 $as_echo "$ac_cv_exeext" >&6; }
3619 rm -f conftest.$ac_ext
3620 EXEEXT=$ac_cv_exeext
3622 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3623 /* end confdefs.h. */
3628 FILE *f = fopen ("conftest.out", "w");
3629 return ferror (f) || fclose (f) != 0;
3635 ac_clean_files="$ac_clean_files conftest.out"
3636 # Check that the compiler produces executables we can run. If not, either
3637 # the compiler is broken, or we cross compile.
3638 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5
3639 $as_echo_n "checking whether we are cross compiling... " >&6; }
3640 if test "$cross_compiling" != yes; then
3641 { { ac_try="$ac_link"
3643 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3644 *) ac_try_echo=$ac_try;;
3646 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3647 $as_echo "$ac_try_echo"; } >&5
3648 (eval "$ac_link") 2>&5
3650 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3651 test $ac_status = 0; }
3652 if { ac_try='./conftest$ac_cv_exeext'
3653 { { case "(($ac_try" in
3654 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3655 *) ac_try_echo=$ac_try;;
3657 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3658 $as_echo "$ac_try_echo"; } >&5
3659 (eval "$ac_try") 2>&5
3661 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3662 test $ac_status = 0; }; }; then
3665 if test "$cross_compiling" = maybe; then
3668 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3669 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3670 as_fn_error $? "cannot run C compiled programs.
3671 If you meant to cross compile, use \`--host'.
3672 See \`config.log' for more details" "$LINENO" 5 ; }
3676 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5
3677 $as_echo "$cross_compiling" >&6; }
3679 rm -f conftest.$ac_ext conftest$ac_cv_exeext conftest.out
3680 ac_clean_files=$ac_clean_files_save
3681 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5
3682 $as_echo_n "checking for suffix of object files... " >&6; }
3683 if test "${ac_cv_objext+set}" = set; then :
3684 $as_echo_n "(cached) " >&6
3686 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3687 /* end confdefs.h. */
3697 rm -f conftest.o conftest.obj
3698 if { { ac_try="$ac_compile"
3700 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3701 *) ac_try_echo=$ac_try;;
3703 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3704 $as_echo "$ac_try_echo"; } >&5
3705 (eval "$ac_compile") 2>&5
3707 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3708 test $ac_status = 0; }; then :
3709 for ac_file in conftest.o conftest.obj conftest.*; do
3710 test -f "$ac_file" || continue;
3712 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;;
3713 *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
3718 $as_echo "$as_me: failed program was:" >&5
3719 sed 's/^/| /' conftest.$ac_ext >&5
3721 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3722 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3723 as_fn_error $? "cannot compute suffix of object files: cannot compile
3724 See \`config.log' for more details" "$LINENO" 5 ; }
3726 rm -f conftest.$ac_cv_objext conftest.$ac_ext
3728 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5
3729 $as_echo "$ac_cv_objext" >&6; }
3730 OBJEXT=$ac_cv_objext
3732 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
3733 $as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
3734 if test "${ac_cv_c_compiler_gnu+set}" = set; then :
3735 $as_echo_n "(cached) " >&6
3737 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3738 /* end confdefs.h. */
3751 if ac_fn_c_try_compile "$LINENO"; then :
3756 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3757 ac_cv_c_compiler_gnu=$ac_compiler_gnu
3760 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
3761 $as_echo "$ac_cv_c_compiler_gnu" >&6; }
3762 if test $ac_compiler_gnu = yes; then
3767 ac_test_CFLAGS=${CFLAGS+set}
3768 ac_save_CFLAGS=$CFLAGS
3769 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
3770 $as_echo_n "checking whether $CC accepts -g... " >&6; }
3771 if test "${ac_cv_prog_cc_g+set}" = set; then :
3772 $as_echo_n "(cached) " >&6
3774 ac_save_c_werror_flag=$ac_c_werror_flag
3775 ac_c_werror_flag=yes
3778 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3779 /* end confdefs.h. */
3789 if ac_fn_c_try_compile "$LINENO"; then :
3793 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3794 /* end confdefs.h. */
3804 if ac_fn_c_try_compile "$LINENO"; then :
3807 ac_c_werror_flag=$ac_save_c_werror_flag
3809 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3810 /* end confdefs.h. */
3820 if ac_fn_c_try_compile "$LINENO"; then :
3823 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3825 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3827 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3828 ac_c_werror_flag=$ac_save_c_werror_flag
3830 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
3831 $as_echo "$ac_cv_prog_cc_g" >&6; }
3832 if test "$ac_test_CFLAGS" = set; then
3833 CFLAGS=$ac_save_CFLAGS
3834 elif test $ac_cv_prog_cc_g = yes; then
3835 if test "$GCC" = yes; then
3841 if test "$GCC" = yes; then
3847 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
3848 $as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
3849 if test "${ac_cv_prog_cc_c89+set}" = set; then :
3850 $as_echo_n "(cached) " >&6
3852 ac_cv_prog_cc_c89=no
3854 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3855 /* end confdefs.h. */
3858 #include <sys/types.h>
3859 #include <sys/stat.h>
3860 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
3861 struct buf { int x; };
3862 FILE * (*rcsopen) (struct buf *, struct stat *, int);
3863 static char *e (p, i)
3869 static char *f (char * (*g) (char **, int), char **p, ...)
3874 s = g (p, va_arg (v,int));
3879 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
3880 function prototypes and stuff, but not '\xHH' hex character constants.
3881 These don't provoke an error unfortunately, instead are silently treated
3882 as 'x'. The following induces an error, until -std is added to get
3883 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
3884 array size at least. It's necessary to write '\x00'==0 to get something
3885 that's true only with -std. */
3886 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
3888 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
3889 inside strings and character constants. */
3891 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
3893 int test (int i, double x);
3894 struct s1 {int (*f) (int a);};
3895 struct s2 {int (*f) (double a);};
3896 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
3902 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
3907 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
3908 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
3910 CC="$ac_save_CC $ac_arg"
3911 if ac_fn_c_try_compile "$LINENO"; then :
3912 ac_cv_prog_cc_c89=$ac_arg
3914 rm -f core conftest.err conftest.$ac_objext
3915 test "x$ac_cv_prog_cc_c89" != "xno" && break
3917 rm -f conftest.$ac_ext
3922 case "x$ac_cv_prog_cc_c89" in
3924 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
3925 $as_echo "none needed" >&6; } ;;
3927 { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
3928 $as_echo "unsupported" >&6; } ;;
3930 CC="$CC $ac_cv_prog_cc_c89"
3931 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
3932 $as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
3934 if test "x$ac_cv_prog_cc_c89" != xno; then :
3939 ac_cpp='$CPP $CPPFLAGS'
3940 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3941 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3942 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3944 depcc="$CC" am_compiler_list=
3946 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5
3947 $as_echo_n "checking dependency style of $depcc... " >&6; }
3948 if test "${am_cv_CC_dependencies_compiler_type+set}" = set; then :
3949 $as_echo_n "(cached) " >&6
3951 if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
3952 # We make a subdir and do the tests there. Otherwise we can end up
3953 # making bogus files that we don't know about and never remove. For
3954 # instance it was reported that on HP-UX the gcc test will end up
3955 # making a dummy file named `D' -- because `-MD' means `put the output
3958 # Copy depcomp to subdir because otherwise we won't find it if we're
3959 # using a relative directory.
3960 cp "$am_depcomp" conftest.dir
3962 # We will build objects and dependencies in a subdirectory because
3963 # it helps to detect inapplicable dependency modes. For instance
3964 # both Tru64's cc and ICC support -MD to output dependencies as a
3965 # side effect of compilation, but ICC will put the dependencies in
3966 # the current directory while Tru64 will put them in the object
3970 am_cv_CC_dependencies_compiler_type=none
3971 if test "$am_compiler_list" = ""; then
3972 am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
3975 case " $depcc " in #(
3976 *\ -arch\ *\ -arch\ *) am__universal=true ;;
3979 for depmode in $am_compiler_list; do
3980 # Setup a source with many dependencies, because some compilers
3981 # like to wrap large dependency lists on column 80 (with \), and
3982 # we should not choose a depcomp mode which is confused by this.
3984 # We need to recreate these files for each test, as the compiler may
3985 # overwrite some of them when testing with obscure command lines.
3986 # This happens at least with the AIX C compiler.
3988 for i in 1 2 3 4 5 6; do
3989 echo '#include "conftst'$i'.h"' >> sub/conftest.c
3990 # Using `: > sub/conftst$i.h' creates only sub/conftst1.h with
3991 # Solaris 8's {/usr,}/bin/sh.
3992 touch sub/conftst$i.h
3994 echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
3996 # We check with `-c' and `-o' for the sake of the "dashmstdout"
3997 # mode. It turns out that the SunPro C++ compiler does not properly
3998 # handle `-M -o', and we need to detect this. Also, some Intel
3999 # versions had trouble with output in subdirs
4000 am__obj=sub/conftest.${OBJEXT-o}
4001 am__minus_obj="-o $am__obj"
4004 # This depmode causes a compiler race in universal mode.
4005 test "$am__universal" = false || continue
4008 # after this tag, mechanisms are not by side-effect, so they'll
4009 # only be used when explicitly requested
4010 if test "x$enable_dependency_tracking" = xyes; then
4016 msvisualcpp | msvcmsys)
4017 # This compiler won't grok `-c -o', but also, the minuso test has
4018 # not run yet. These depmodes are late enough in the game, and
4019 # so weak that their functioning should not be impacted.
4020 am__obj=conftest.${OBJEXT-o}
4025 if depmode=$depmode \
4026 source=sub/conftest.c object=$am__obj \
4027 depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
4028 $SHELL ./depcomp $depcc -c $am__minus_obj sub/conftest.c \
4029 >/dev/null 2>conftest.err &&
4030 grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 &&
4031 grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
4032 grep $am__obj sub/conftest.Po > /dev/null 2>&1 &&
4033 ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
4034 # icc doesn't choke on unknown options, it will just issue warnings
4035 # or remarks (even with -Werror). So we grep stderr for any message
4036 # that says an option was ignored or not supported.
4037 # When given -MP, icc 7.0 and 7.1 complain thusly:
4038 # icc: Command line warning: ignoring option '-M'; no argument required
4039 # The diagnosis changed in icc 8.0:
4040 # icc: Command line remark: option '-MP' not supported
4041 if (grep 'ignoring option' conftest.err ||
4042 grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
4043 am_cv_CC_dependencies_compiler_type=$depmode
4052 am_cv_CC_dependencies_compiler_type=none
4056 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_CC_dependencies_compiler_type" >&5
4057 $as_echo "$am_cv_CC_dependencies_compiler_type" >&6; }
4058 CCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type
4061 test "x$enable_dependency_tracking" != xno \
4062 && test "$am_cv_CC_dependencies_compiler_type" = gcc3; then
4064 am__fastdepCC_FALSE='#'
4066 am__fastdepCC_TRUE='#'
4067 am__fastdepCC_FALSE=
4071 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a sed that does not truncate output" >&5
4072 $as_echo_n "checking for a sed that does not truncate output... " >&6; }
4073 if test "${ac_cv_path_SED+set}" = set; then :
4074 $as_echo_n "(cached) " >&6
4076 ac_script=s/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa/bbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbb/
4077 for ac_i in 1 2 3 4 5 6 7; do
4078 ac_script="$ac_script$as_nl$ac_script"
4080 echo "$ac_script" 2>/dev/null | sed 99q >conftest.sed
4081 { ac_script=; unset ac_script;}
4082 if test -z "$SED"; then
4083 ac_path_SED_found=false
4084 # Loop through the user's path and test for each of PROGNAME-LIST
4085 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4089 test -z "$as_dir" && as_dir=.
4090 for ac_prog in sed gsed; do
4091 for ac_exec_ext in '' $ac_executable_extensions; do
4092 ac_path_SED="$as_dir/$ac_prog$ac_exec_ext"
4093 { test -f "$ac_path_SED" && $as_test_x "$ac_path_SED"; } || continue
4094 # Check for GNU ac_path_SED and select it if it is found.
4095 # Check for GNU $ac_path_SED
4096 case `"$ac_path_SED" --version 2>&1` in
4098 ac_cv_path_SED="$ac_path_SED" ac_path_SED_found=:;;
4101 $as_echo_n 0123456789 >"conftest.in"
4104 cat "conftest.in" "conftest.in" >"conftest.tmp"
4105 mv "conftest.tmp" "conftest.in"
4106 cp "conftest.in" "conftest.nl"
4107 $as_echo '' >> "conftest.nl"
4108 "$ac_path_SED" -f conftest.sed < "conftest.nl" >"conftest.out" 2>/dev/null || break
4109 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
4110 as_fn_arith $ac_count + 1 && ac_count=$as_val
4111 if test $ac_count -gt ${ac_path_SED_max-0}; then
4112 # Best one so far, save it but keep looking for a better one
4113 ac_cv_path_SED="$ac_path_SED"
4114 ac_path_SED_max=$ac_count
4116 # 10*(2^10) chars as input seems more than enough
4117 test $ac_count -gt 10 && break
4119 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
4122 $ac_path_SED_found && break 3
4127 if test -z "$ac_cv_path_SED"; then
4128 as_fn_error $? "no acceptable sed could be found in \$PATH" "$LINENO" 5
4135 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_SED" >&5
4136 $as_echo "$ac_cv_path_SED" >&6; }
4137 SED="$ac_cv_path_SED"
4140 test -z "$SED" && SED=sed
4141 Xsed="$SED -e 1s/^X//"
4153 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for grep that handles long lines and -e" >&5
4154 $as_echo_n "checking for grep that handles long lines and -e... " >&6; }
4155 if test "${ac_cv_path_GREP+set}" = set; then :
4156 $as_echo_n "(cached) " >&6
4158 if test -z "$GREP"; then
4159 ac_path_GREP_found=false
4160 # Loop through the user's path and test for each of PROGNAME-LIST
4161 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4162 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
4165 test -z "$as_dir" && as_dir=.
4166 for ac_prog in grep ggrep; do
4167 for ac_exec_ext in '' $ac_executable_extensions; do
4168 ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext"
4169 { test -f "$ac_path_GREP" && $as_test_x "$ac_path_GREP"; } || continue
4170 # Check for GNU ac_path_GREP and select it if it is found.
4171 # Check for GNU $ac_path_GREP
4172 case `"$ac_path_GREP" --version 2>&1` in
4174 ac_cv_path_GREP="$ac_path_GREP" ac_path_GREP_found=:;;
4177 $as_echo_n 0123456789 >"conftest.in"
4180 cat "conftest.in" "conftest.in" >"conftest.tmp"
4181 mv "conftest.tmp" "conftest.in"
4182 cp "conftest.in" "conftest.nl"
4183 $as_echo 'GREP' >> "conftest.nl"
4184 "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev/null || break
4185 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
4186 as_fn_arith $ac_count + 1 && ac_count=$as_val
4187 if test $ac_count -gt ${ac_path_GREP_max-0}; then
4188 # Best one so far, save it but keep looking for a better one
4189 ac_cv_path_GREP="$ac_path_GREP"
4190 ac_path_GREP_max=$ac_count
4192 # 10*(2^10) chars as input seems more than enough
4193 test $ac_count -gt 10 && break
4195 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
4198 $ac_path_GREP_found && break 3
4203 if test -z "$ac_cv_path_GREP"; then
4204 as_fn_error $? "no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
4207 ac_cv_path_GREP=$GREP
4211 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_GREP" >&5
4212 $as_echo "$ac_cv_path_GREP" >&6; }
4213 GREP="$ac_cv_path_GREP"
4216 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for egrep" >&5
4217 $as_echo_n "checking for egrep... " >&6; }
4218 if test "${ac_cv_path_EGREP+set}" = set; then :
4219 $as_echo_n "(cached) " >&6
4221 if echo a | $GREP -E '(a|b)' >/dev/null 2>&1
4222 then ac_cv_path_EGREP="$GREP -E"
4224 if test -z "$EGREP"; then
4225 ac_path_EGREP_found=false
4226 # Loop through the user's path and test for each of PROGNAME-LIST
4227 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4228 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
4231 test -z "$as_dir" && as_dir=.
4232 for ac_prog in egrep; do
4233 for ac_exec_ext in '' $ac_executable_extensions; do
4234 ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext"
4235 { test -f "$ac_path_EGREP" && $as_test_x "$ac_path_EGREP"; } || continue
4236 # Check for GNU ac_path_EGREP and select it if it is found.
4237 # Check for GNU $ac_path_EGREP
4238 case `"$ac_path_EGREP" --version 2>&1` in
4240 ac_cv_path_EGREP="$ac_path_EGREP" ac_path_EGREP_found=:;;
4243 $as_echo_n 0123456789 >"conftest.in"
4246 cat "conftest.in" "conftest.in" >"conftest.tmp"
4247 mv "conftest.tmp" "conftest.in"
4248 cp "conftest.in" "conftest.nl"
4249 $as_echo 'EGREP' >> "conftest.nl"
4250 "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev/null || break
4251 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
4252 as_fn_arith $ac_count + 1 && ac_count=$as_val
4253 if test $ac_count -gt ${ac_path_EGREP_max-0}; then
4254 # Best one so far, save it but keep looking for a better one
4255 ac_cv_path_EGREP="$ac_path_EGREP"
4256 ac_path_EGREP_max=$ac_count
4258 # 10*(2^10) chars as input seems more than enough
4259 test $ac_count -gt 10 && break
4261 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
4264 $ac_path_EGREP_found && break 3
4269 if test -z "$ac_cv_path_EGREP"; then
4270 as_fn_error $? "no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
4273 ac_cv_path_EGREP=$EGREP
4278 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_EGREP" >&5
4279 $as_echo "$ac_cv_path_EGREP" >&6; }
4280 EGREP="$ac_cv_path_EGREP"
4283 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fgrep" >&5
4284 $as_echo_n "checking for fgrep... " >&6; }
4285 if test "${ac_cv_path_FGREP+set}" = set; then :
4286 $as_echo_n "(cached) " >&6
4288 if echo 'ab*c' | $GREP -F 'ab*c' >/dev/null 2>&1
4289 then ac_cv_path_FGREP="$GREP -F"
4291 if test -z "$FGREP"; then
4292 ac_path_FGREP_found=false
4293 # Loop through the user's path and test for each of PROGNAME-LIST
4294 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4295 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
4298 test -z "$as_dir" && as_dir=.
4299 for ac_prog in fgrep; do
4300 for ac_exec_ext in '' $ac_executable_extensions; do
4301 ac_path_FGREP="$as_dir/$ac_prog$ac_exec_ext"
4302 { test -f "$ac_path_FGREP" && $as_test_x "$ac_path_FGREP"; } || continue
4303 # Check for GNU ac_path_FGREP and select it if it is found.
4304 # Check for GNU $ac_path_FGREP
4305 case `"$ac_path_FGREP" --version 2>&1` in
4307 ac_cv_path_FGREP="$ac_path_FGREP" ac_path_FGREP_found=:;;
4310 $as_echo_n 0123456789 >"conftest.in"
4313 cat "conftest.in" "conftest.in" >"conftest.tmp"
4314 mv "conftest.tmp" "conftest.in"
4315 cp "conftest.in" "conftest.nl"
4316 $as_echo 'FGREP' >> "conftest.nl"
4317 "$ac_path_FGREP" FGREP < "conftest.nl" >"conftest.out" 2>/dev/null || break
4318 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
4319 as_fn_arith $ac_count + 1 && ac_count=$as_val
4320 if test $ac_count -gt ${ac_path_FGREP_max-0}; then
4321 # Best one so far, save it but keep looking for a better one
4322 ac_cv_path_FGREP="$ac_path_FGREP"
4323 ac_path_FGREP_max=$ac_count
4325 # 10*(2^10) chars as input seems more than enough
4326 test $ac_count -gt 10 && break
4328 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
4331 $ac_path_FGREP_found && break 3
4336 if test -z "$ac_cv_path_FGREP"; then
4337 as_fn_error $? "no acceptable fgrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
4340 ac_cv_path_FGREP=$FGREP
4345 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_FGREP" >&5
4346 $as_echo "$ac_cv_path_FGREP" >&6; }
4347 FGREP="$ac_cv_path_FGREP"
4350 test -z "$GREP" && GREP=grep
4370 # Check whether --with-gnu-ld was given.
4371 if test "${with_gnu_ld+set}" = set; then :
4372 withval=$with_gnu_ld; test "$withval" = no || with_gnu_ld=yes
4378 if test "$GCC" = yes; then
4379 # Check if gcc -print-prog-name=ld gives a path.
4380 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld used by $CC" >&5
4381 $as_echo_n "checking for ld used by $CC... " >&6; }
4384 # gcc leaves a trailing carriage return which upsets mingw
4385 ac_prog=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
4387 ac_prog=`($CC -print-prog-name=ld) 2>&5` ;;
4390 # Accept absolute paths.
4392 re_direlt='/[^/][^/]*/\.\./'
4393 # Canonicalize the pathname of ld
4394 ac_prog=`$ECHO "$ac_prog"| $SED 's%\\\\%/%g'`
4395 while $ECHO "$ac_prog" | $GREP "$re_direlt" > /dev/null 2>&1; do
4396 ac_prog=`$ECHO $ac_prog| $SED "s%$re_direlt%/%"`
4398 test -z "$LD" && LD="$ac_prog"
4401 # If it fails, then pretend we aren't using GCC.
4405 # If it is relative, then search for the first ld in PATH.
4409 elif test "$with_gnu_ld" = yes; then
4410 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU ld" >&5
4411 $as_echo_n "checking for GNU ld... " >&6; }
4413 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for non-GNU ld" >&5
4414 $as_echo_n "checking for non-GNU ld... " >&6; }
4416 if test "${lt_cv_path_LD+set}" = set; then :
4417 $as_echo_n "(cached) " >&6
4419 if test -z "$LD"; then
4420 lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
4421 for ac_dir in $PATH; do
4423 test -z "$ac_dir" && ac_dir=.
4424 if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then
4425 lt_cv_path_LD="$ac_dir/$ac_prog"
4426 # Check to see if the program is GNU ld. I'd rather use --version,
4427 # but apparently some variants of GNU ld only accept -v.
4428 # Break only if it was the GNU/non-GNU ld that we prefer.
4429 case `"$lt_cv_path_LD" -v 2>&1 </dev/null` in
4430 *GNU* | *'with BFD'*)
4431 test "$with_gnu_ld" != no && break
4434 test "$with_gnu_ld" != yes && break
4441 lt_cv_path_LD="$LD" # Let the user override the test with a path.
4446 if test -n "$LD"; then
4447 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LD" >&5
4448 $as_echo "$LD" >&6; }
4450 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4451 $as_echo "no" >&6; }
4453 test -z "$LD" && as_fn_error $? "no acceptable ld found in \$PATH" "$LINENO" 5
4454 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if the linker ($LD) is GNU ld" >&5
4455 $as_echo_n "checking if the linker ($LD) is GNU ld... " >&6; }
4456 if test "${lt_cv_prog_gnu_ld+set}" = set; then :
4457 $as_echo_n "(cached) " >&6
4459 # I'd rather use --version here, but apparently some GNU lds only accept -v.
4460 case `$LD -v 2>&1 </dev/null` in
4461 *GNU* | *'with BFD'*)
4462 lt_cv_prog_gnu_ld=yes
4465 lt_cv_prog_gnu_ld=no
4469 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_gnu_ld" >&5
4470 $as_echo "$lt_cv_prog_gnu_ld" >&6; }
4471 with_gnu_ld=$lt_cv_prog_gnu_ld
4481 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for BSD- or MS-compatible name lister (nm)" >&5
4482 $as_echo_n "checking for BSD- or MS-compatible name lister (nm)... " >&6; }
4483 if test "${lt_cv_path_NM+set}" = set; then :
4484 $as_echo_n "(cached) " >&6
4486 if test -n "$NM"; then
4487 # Let the user override the test.
4490 lt_nm_to_check="${ac_tool_prefix}nm"
4491 if test -n "$ac_tool_prefix" && test "$build" = "$host"; then
4492 lt_nm_to_check="$lt_nm_to_check nm"
4494 for lt_tmp_nm in $lt_nm_to_check; do
4495 lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
4496 for ac_dir in $PATH /usr/ccs/bin/elf /usr/ccs/bin /usr/ucb /bin; do
4498 test -z "$ac_dir" && ac_dir=.
4499 tmp_nm="$ac_dir/$lt_tmp_nm"
4500 if test -f "$tmp_nm" || test -f "$tmp_nm$ac_exeext" ; then
4501 # Check to see if the nm accepts a BSD-compat flag.
4502 # Adding the `sed 1q' prevents false positives on HP-UX, which says:
4503 # nm: unknown option "B" ignored
4504 # Tru64's nm complains that /dev/null is an invalid object file
4505 case `"$tmp_nm" -B /dev/null 2>&1 | sed '1q'` in
4506 */dev/null* | *'Invalid file or object type'*)
4507 lt_cv_path_NM="$tmp_nm -B"
4511 case `"$tmp_nm" -p /dev/null 2>&1 | sed '1q'` in
4513 lt_cv_path_NM="$tmp_nm -p"
4517 lt_cv_path_NM=${lt_cv_path_NM="$tmp_nm"} # keep the first match, but
4518 continue # so that we can try to find one that supports BSD flags
4527 : ${lt_cv_path_NM=no}
4530 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_path_NM" >&5
4531 $as_echo "$lt_cv_path_NM" >&6; }
4532 if test "$lt_cv_path_NM" != "no"; then
4535 # Didn't find any BSD compatible name lister, look for dumpbin.
4536 if test -n "$ac_tool_prefix"; then
4537 for ac_prog in "dumpbin -symbols" "link -dump -symbols"
4539 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
4540 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
4541 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4542 $as_echo_n "checking for $ac_word... " >&6; }
4543 if test "${ac_cv_prog_DUMPBIN+set}" = set; then :
4544 $as_echo_n "(cached) " >&6
4546 if test -n "$DUMPBIN"; then
4547 ac_cv_prog_DUMPBIN="$DUMPBIN" # Let the user override the test.
4549 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4553 test -z "$as_dir" && as_dir=.
4554 for ac_exec_ext in '' $ac_executable_extensions; do
4555 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4556 ac_cv_prog_DUMPBIN="$ac_tool_prefix$ac_prog"
4557 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4566 DUMPBIN=$ac_cv_prog_DUMPBIN
4567 if test -n "$DUMPBIN"; then
4568 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DUMPBIN" >&5
4569 $as_echo "$DUMPBIN" >&6; }
4571 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4572 $as_echo "no" >&6; }
4576 test -n "$DUMPBIN" && break
4579 if test -z "$DUMPBIN"; then
4580 ac_ct_DUMPBIN=$DUMPBIN
4581 for ac_prog in "dumpbin -symbols" "link -dump -symbols"
4583 # Extract the first word of "$ac_prog", so it can be a program name with args.
4584 set dummy $ac_prog; ac_word=$2
4585 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4586 $as_echo_n "checking for $ac_word... " >&6; }
4587 if test "${ac_cv_prog_ac_ct_DUMPBIN+set}" = set; then :
4588 $as_echo_n "(cached) " >&6
4590 if test -n "$ac_ct_DUMPBIN"; then
4591 ac_cv_prog_ac_ct_DUMPBIN="$ac_ct_DUMPBIN" # Let the user override the test.
4593 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4597 test -z "$as_dir" && as_dir=.
4598 for ac_exec_ext in '' $ac_executable_extensions; do
4599 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4600 ac_cv_prog_ac_ct_DUMPBIN="$ac_prog"
4601 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4610 ac_ct_DUMPBIN=$ac_cv_prog_ac_ct_DUMPBIN
4611 if test -n "$ac_ct_DUMPBIN"; then
4612 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DUMPBIN" >&5
4613 $as_echo "$ac_ct_DUMPBIN" >&6; }
4615 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4616 $as_echo "no" >&6; }
4620 test -n "$ac_ct_DUMPBIN" && break
4623 if test "x$ac_ct_DUMPBIN" = x; then
4626 case $cross_compiling:$ac_tool_warned in
4628 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4629 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4630 ac_tool_warned=yes ;;
4632 DUMPBIN=$ac_ct_DUMPBIN
4637 if test "$DUMPBIN" != ":"; then
4641 test -z "$NM" && NM=nm
4648 { $as_echo "$as_me:${as_lineno-$LINENO}: checking the name lister ($NM) interface" >&5
4649 $as_echo_n "checking the name lister ($NM) interface... " >&6; }
4650 if test "${lt_cv_nm_interface+set}" = set; then :
4651 $as_echo_n "(cached) " >&6
4653 lt_cv_nm_interface="BSD nm"
4654 echo "int some_variable = 0;" > conftest.$ac_ext
4655 (eval echo "\"\$as_me:4655: $ac_compile\"" >&5)
4656 (eval "$ac_compile" 2>conftest.err)
4657 cat conftest.err >&5
4658 (eval echo "\"\$as_me:4658: $NM \\\"conftest.$ac_objext\\\"\"" >&5)
4659 (eval "$NM \"conftest.$ac_objext\"" 2>conftest.err > conftest.out)
4660 cat conftest.err >&5
4661 (eval echo "\"\$as_me:4661: output\"" >&5)
4662 cat conftest.out >&5
4663 if $GREP 'External.*some_variable' conftest.out > /dev/null; then
4664 lt_cv_nm_interface="MS dumpbin"
4668 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_nm_interface" >&5
4669 $as_echo "$lt_cv_nm_interface" >&6; }
4671 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ln -s works" >&5
4672 $as_echo_n "checking whether ln -s works... " >&6; }
4674 if test "$LN_S" = "ln -s"; then
4675 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
4676 $as_echo "yes" >&6; }
4678 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no, using $LN_S" >&5
4679 $as_echo "no, using $LN_S" >&6; }
4682 # find the maximum length of command line arguments
4683 { $as_echo "$as_me:${as_lineno-$LINENO}: checking the maximum length of command line arguments" >&5
4684 $as_echo_n "checking the maximum length of command line arguments... " >&6; }
4685 if test "${lt_cv_sys_max_cmd_len+set}" = set; then :
4686 $as_echo_n "(cached) " >&6
4693 # On DJGPP, this test can blow up pretty badly due to problems in libc
4694 # (any single argument exceeding 2000 bytes causes a buffer overrun
4695 # during glob expansion). Even if it were fixed, the result of this
4696 # check would be larger than it should be.
4697 lt_cv_sys_max_cmd_len=12288; # 12K is about right
4701 # Under GNU Hurd, this test is not required because there is
4702 # no limit to the length of command line arguments.
4703 # Libtool will interpret -1 as no limit whatsoever
4704 lt_cv_sys_max_cmd_len=-1;
4707 cygwin* | mingw* | cegcc*)
4708 # On Win9x/ME, this test blows up -- it succeeds, but takes
4709 # about 5 minutes as the teststring grows exponentially.
4710 # Worse, since 9x/ME are not pre-emptively multitasking,
4711 # you end up with a "frozen" computer, even though with patience
4712 # the test eventually succeeds (with a max line length of 256k).
4713 # Instead, let's just punt: use the minimum linelength reported by
4714 # all of the supported platforms: 8192 (on NT/2K/XP).
4715 lt_cv_sys_max_cmd_len=8192;
4719 # On AmigaOS with pdksh, this test takes hours, literally.
4720 # So we just punt and use a minimum line length of 8192.
4721 lt_cv_sys_max_cmd_len=8192;
4724 netbsd* | freebsd* | openbsd* | darwin* | dragonfly*)
4725 # This has been around since 386BSD, at least. Likely further.
4726 if test -x /sbin/sysctl; then
4727 lt_cv_sys_max_cmd_len=`/sbin/sysctl -n kern.argmax`
4728 elif test -x /usr/sbin/sysctl; then
4729 lt_cv_sys_max_cmd_len=`/usr/sbin/sysctl -n kern.argmax`
4731 lt_cv_sys_max_cmd_len=65536 # usable default for all BSDs
4733 # And add a safety zone
4734 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4`
4735 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3`
4739 # We know the value 262144 and hardcode it with a safety zone (like BSD)
4740 lt_cv_sys_max_cmd_len=196608
4744 # Dr. Hans Ekkehard Plesser reports seeing a kernel panic running configure
4745 # due to this test when exec_disable_arg_limit is 1 on Tru64. It is not
4746 # nice to cause kernel panics so lets avoid the loop below.
4747 # First set a reasonable default.
4748 lt_cv_sys_max_cmd_len=16384
4750 if test -x /sbin/sysconfig; then
4751 case `/sbin/sysconfig -q proc exec_disable_arg_limit` in
4752 *1*) lt_cv_sys_max_cmd_len=-1 ;;
4757 lt_cv_sys_max_cmd_len=102400
4759 sysv5* | sco5v6* | sysv4.2uw2*)
4760 kargmax=`grep ARG_MAX /etc/conf/cf.d/stune 2>/dev/null`
4761 if test -n "$kargmax"; then
4762 lt_cv_sys_max_cmd_len=`echo $kargmax | sed 's/.*[ ]//'`
4764 lt_cv_sys_max_cmd_len=32768
4768 lt_cv_sys_max_cmd_len=`(getconf ARG_MAX) 2> /dev/null`
4769 if test -n "$lt_cv_sys_max_cmd_len"; then
4770 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4`
4771 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3`
4773 # Make teststring a little bigger before we do anything with it.
4774 # a 1K string should be a reasonable start.
4775 for i in 1 2 3 4 5 6 7 8 ; do
4776 teststring=$teststring$teststring
4778 SHELL=${SHELL-${CONFIG_SHELL-/bin/sh}}
4779 # If test is not a shell built-in, we'll probably end up computing a
4780 # maximum length that is only half of the actual maximum length, but
4782 while { test "X"`$SHELL $0 --fallback-echo "X$teststring$teststring" 2>/dev/null` \
4783 = "XX$teststring$teststring"; } >/dev/null 2>&1 &&
4784 test $i != 17 # 1/2 MB should be enough
4787 teststring=$teststring$teststring
4789 # Only check the string length outside the loop.
4790 lt_cv_sys_max_cmd_len=`expr "X$teststring" : ".*" 2>&1`
4792 # Add a significant safety factor because C++ compilers can tack on
4793 # massive amounts of additional arguments before passing them to the
4794 # linker. It appears as though 1/2 is a usable value.
4795 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 2`
4802 if test -n $lt_cv_sys_max_cmd_len ; then
4803 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_sys_max_cmd_len" >&5
4804 $as_echo "$lt_cv_sys_max_cmd_len" >&6; }
4806 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none" >&5
4807 $as_echo "none" >&6; }
4809 max_cmd_len=$lt_cv_sys_max_cmd_len
4820 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the shell understands some XSI constructs" >&5
4821 $as_echo_n "checking whether the shell understands some XSI constructs... " >&6; }
4822 # Try some XSI features
4825 test "${_lt_dummy##*/},${_lt_dummy%/*},"${_lt_dummy%"$_lt_dummy"}, \
4827 && eval 'test $(( 1 + 1 )) -eq 2 \
4828 && test "${#_lt_dummy}" -eq 5' ) >/dev/null 2>&1 \
4830 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xsi_shell" >&5
4831 $as_echo "$xsi_shell" >&6; }
4834 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the shell understands \"+=\"" >&5
4835 $as_echo_n "checking whether the shell understands \"+=\"... " >&6; }
4837 ( foo=bar; set foo baz; eval "$1+=\$2" && test "$foo" = barbaz ) \
4839 && lt_shell_append=yes
4840 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_shell_append" >&5
4841 $as_echo "$lt_shell_append" >&6; }
4844 if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
4854 # test EBCDIC or ASCII
4855 case `echo X|tr X '\101'` in
4856 A) # ASCII based system
4857 # \n is not interpreted correctly by Solaris 8 /usr/ucb/tr
4858 lt_SP2NL='tr \040 \012'
4859 lt_NL2SP='tr \015\012 \040\040'
4861 *) # EBCDIC based system
4862 lt_SP2NL='tr \100 \n'
4863 lt_NL2SP='tr \r\n \100\100'
4875 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $LD option to reload object files" >&5
4876 $as_echo_n "checking for $LD option to reload object files... " >&6; }
4877 if test "${lt_cv_ld_reload_flag+set}" = set; then :
4878 $as_echo_n "(cached) " >&6
4880 lt_cv_ld_reload_flag='-r'
4882 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_reload_flag" >&5
4883 $as_echo "$lt_cv_ld_reload_flag" >&6; }
4884 reload_flag=$lt_cv_ld_reload_flag
4885 case $reload_flag in
4887 *) reload_flag=" $reload_flag" ;;
4889 reload_cmds='$LD$reload_flag -o $output$reload_objs'
4892 if test "$GCC" = yes; then
4893 reload_cmds='$LTCC $LTCFLAGS -nostdlib ${wl}-r -o $output$reload_objs'
4895 reload_cmds='$LD$reload_flag -o $output$reload_objs'
4908 if test -n "$ac_tool_prefix"; then
4909 # Extract the first word of "${ac_tool_prefix}objdump", so it can be a program name with args.
4910 set dummy ${ac_tool_prefix}objdump; ac_word=$2
4911 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4912 $as_echo_n "checking for $ac_word... " >&6; }
4913 if test "${ac_cv_prog_OBJDUMP+set}" = set; then :
4914 $as_echo_n "(cached) " >&6
4916 if test -n "$OBJDUMP"; then
4917 ac_cv_prog_OBJDUMP="$OBJDUMP" # Let the user override the test.
4919 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4923 test -z "$as_dir" && as_dir=.
4924 for ac_exec_ext in '' $ac_executable_extensions; do
4925 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4926 ac_cv_prog_OBJDUMP="${ac_tool_prefix}objdump"
4927 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4936 OBJDUMP=$ac_cv_prog_OBJDUMP
4937 if test -n "$OBJDUMP"; then
4938 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OBJDUMP" >&5
4939 $as_echo "$OBJDUMP" >&6; }
4941 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4942 $as_echo "no" >&6; }
4947 if test -z "$ac_cv_prog_OBJDUMP"; then
4948 ac_ct_OBJDUMP=$OBJDUMP
4949 # Extract the first word of "objdump", so it can be a program name with args.
4950 set dummy objdump; ac_word=$2
4951 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4952 $as_echo_n "checking for $ac_word... " >&6; }
4953 if test "${ac_cv_prog_ac_ct_OBJDUMP+set}" = set; then :
4954 $as_echo_n "(cached) " >&6
4956 if test -n "$ac_ct_OBJDUMP"; then
4957 ac_cv_prog_ac_ct_OBJDUMP="$ac_ct_OBJDUMP" # Let the user override the test.
4959 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4963 test -z "$as_dir" && as_dir=.
4964 for ac_exec_ext in '' $ac_executable_extensions; do
4965 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4966 ac_cv_prog_ac_ct_OBJDUMP="objdump"
4967 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4976 ac_ct_OBJDUMP=$ac_cv_prog_ac_ct_OBJDUMP
4977 if test -n "$ac_ct_OBJDUMP"; then
4978 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OBJDUMP" >&5
4979 $as_echo "$ac_ct_OBJDUMP" >&6; }
4981 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4982 $as_echo "no" >&6; }
4985 if test "x$ac_ct_OBJDUMP" = x; then
4988 case $cross_compiling:$ac_tool_warned in
4990 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4991 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4992 ac_tool_warned=yes ;;
4994 OBJDUMP=$ac_ct_OBJDUMP
4997 OBJDUMP="$ac_cv_prog_OBJDUMP"
5000 test -z "$OBJDUMP" && OBJDUMP=objdump
5010 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to recognize dependent libraries" >&5
5011 $as_echo_n "checking how to recognize dependent libraries... " >&6; }
5012 if test "${lt_cv_deplibs_check_method+set}" = set; then :
5013 $as_echo_n "(cached) " >&6
5015 lt_cv_file_magic_cmd='$MAGIC_CMD'
5016 lt_cv_file_magic_test_file=
5017 lt_cv_deplibs_check_method='unknown'
5018 # Need to set the preceding variable on all platforms that support
5019 # interlibrary dependencies.
5020 # 'none' -- dependencies not supported.
5021 # `unknown' -- same as none, but documents that we really don't know.
5022 # 'pass_all' -- all dependencies passed with no checks.
5023 # 'test_compile' -- check by making test program.
5024 # 'file_magic [[regex]]' -- check by looking for files in library path
5025 # which responds to the $file_magic_cmd with a given extended regex.
5026 # If you have `file' or equivalent on your system and you're not sure
5027 # whether `pass_all' will *always* work, you probably want this one.
5031 lt_cv_deplibs_check_method=pass_all
5035 lt_cv_deplibs_check_method=pass_all
5039 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (shared object|dynamic lib)'
5040 lt_cv_file_magic_cmd='/usr/bin/file -L'
5041 lt_cv_file_magic_test_file=/shlib/libc.so
5045 # func_win32_libid is a shell function defined in ltmain.sh
5046 lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL'
5047 lt_cv_file_magic_cmd='func_win32_libid'
5051 # Base MSYS/MinGW do not provide the 'file' command needed by
5052 # func_win32_libid shell function, so use a weaker test based on 'objdump',
5053 # unless we find 'file', for example because we are cross-compiling.
5054 if ( file / ) >/dev/null 2>&1; then
5055 lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL'
5056 lt_cv_file_magic_cmd='func_win32_libid'
5058 lt_cv_deplibs_check_method='file_magic file format pei*-i386(.*architecture: i386)?'
5059 lt_cv_file_magic_cmd='$OBJDUMP -f'
5064 # use the weaker test based on 'objdump'. See mingw*.
5065 lt_cv_deplibs_check_method='file_magic file format pe-arm-.*little(.*architecture: arm)?'
5066 lt_cv_file_magic_cmd='$OBJDUMP -f'
5069 darwin* | rhapsody*)
5070 lt_cv_deplibs_check_method=pass_all
5073 freebsd* | dragonfly*)
5074 if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then
5077 # Not sure whether the presence of OpenBSD here was a mistake.
5078 # Let's accept both of them until this is cleared up.
5079 lt_cv_deplibs_check_method='file_magic (FreeBSD|OpenBSD|DragonFly)/i[3-9]86 (compact )?demand paged shared library'
5080 lt_cv_file_magic_cmd=/usr/bin/file
5081 lt_cv_file_magic_test_file=`echo /usr/lib/libc.so.*`
5085 lt_cv_deplibs_check_method=pass_all
5090 lt_cv_deplibs_check_method=pass_all
5093 hpux10.20* | hpux11*)
5094 lt_cv_file_magic_cmd=/usr/bin/file
5097 lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|ELF-[0-9][0-9]) shared object file - IA64'
5098 lt_cv_file_magic_test_file=/usr/lib/hpux32/libc.so
5101 lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|ELF-[0-9][0-9]) shared object file - PA-RISC [0-9].[0-9]'
5102 lt_cv_file_magic_test_file=/usr/lib/pa20_64/libc.sl
5105 lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|PA-RISC[0-9].[0-9]) shared library'
5106 lt_cv_file_magic_test_file=/usr/lib/libc.sl
5112 # PIC code is broken on Interix 3.x, that's why |\.a not |_pic\.a here
5113 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|\.a)$'
5116 irix5* | irix6* | nonstopux*)
5118 *-32|*"-32 ") libmagic=32-bit;;
5119 *-n32|*"-n32 ") libmagic=N32;;
5120 *-64|*"-64 ") libmagic=64-bit;;
5121 *) libmagic=never-match;;
5123 lt_cv_deplibs_check_method=pass_all
5126 # This must be Linux ELF.
5127 linux* | k*bsd*-gnu | kopensolaris*-gnu)
5128 lt_cv_deplibs_check_method=pass_all
5131 netbsd* | netbsdelf*-gnu)
5132 if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then
5133 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
5135 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|_pic\.a)$'
5140 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (executable|dynamic lib)'
5141 lt_cv_file_magic_cmd=/usr/bin/file
5142 lt_cv_file_magic_test_file=/usr/lib/libnls.so
5146 lt_cv_deplibs_check_method=pass_all
5150 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
5151 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|\.so|_pic\.a)$'
5153 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
5157 osf3* | osf4* | osf5*)
5158 lt_cv_deplibs_check_method=pass_all
5162 lt_cv_deplibs_check_method=pass_all
5166 lt_cv_deplibs_check_method=pass_all
5169 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
5170 lt_cv_deplibs_check_method=pass_all
5174 case $host_vendor in
5176 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]'
5177 lt_cv_file_magic_test_file=`echo /usr/lib/libc.so*`
5180 lt_cv_deplibs_check_method=pass_all
5183 lt_cv_file_magic_cmd='/bin/file'
5184 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [LM]SB (shared object|dynamic lib )'
5187 lt_cv_file_magic_cmd='/bin/file'
5188 lt_cv_deplibs_check_method="file_magic ELF [0-9][0-9]*-bit [LM]SB dynamic lib"
5189 lt_cv_file_magic_test_file=/lib/libc.so
5192 lt_cv_deplibs_check_method=pass_all
5195 lt_cv_deplibs_check_method=pass_all
5201 lt_cv_deplibs_check_method=pass_all
5206 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_deplibs_check_method" >&5
5207 $as_echo "$lt_cv_deplibs_check_method" >&6; }
5208 file_magic_cmd=$lt_cv_file_magic_cmd
5209 deplibs_check_method=$lt_cv_deplibs_check_method
5210 test -z "$deplibs_check_method" && deplibs_check_method=unknown
5223 if test -n "$ac_tool_prefix"; then
5224 # Extract the first word of "${ac_tool_prefix}ar", so it can be a program name with args.
5225 set dummy ${ac_tool_prefix}ar; ac_word=$2
5226 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5227 $as_echo_n "checking for $ac_word... " >&6; }
5228 if test "${ac_cv_prog_AR+set}" = set; then :
5229 $as_echo_n "(cached) " >&6
5231 if test -n "$AR"; then
5232 ac_cv_prog_AR="$AR" # Let the user override the test.
5234 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5238 test -z "$as_dir" && as_dir=.
5239 for ac_exec_ext in '' $ac_executable_extensions; do
5240 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5241 ac_cv_prog_AR="${ac_tool_prefix}ar"
5242 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5252 if test -n "$AR"; then
5253 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AR" >&5
5254 $as_echo "$AR" >&6; }
5256 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5257 $as_echo "no" >&6; }
5262 if test -z "$ac_cv_prog_AR"; then
5264 # Extract the first word of "ar", so it can be a program name with args.
5265 set dummy ar; ac_word=$2
5266 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5267 $as_echo_n "checking for $ac_word... " >&6; }
5268 if test "${ac_cv_prog_ac_ct_AR+set}" = set; then :
5269 $as_echo_n "(cached) " >&6
5271 if test -n "$ac_ct_AR"; then
5272 ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test.
5274 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5278 test -z "$as_dir" && as_dir=.
5279 for ac_exec_ext in '' $ac_executable_extensions; do
5280 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5281 ac_cv_prog_ac_ct_AR="ar"
5282 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5291 ac_ct_AR=$ac_cv_prog_ac_ct_AR
5292 if test -n "$ac_ct_AR"; then
5293 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_AR" >&5
5294 $as_echo "$ac_ct_AR" >&6; }
5296 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5297 $as_echo "no" >&6; }
5300 if test "x$ac_ct_AR" = x; then
5303 case $cross_compiling:$ac_tool_warned in
5305 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5306 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5307 ac_tool_warned=yes ;;
5315 test -z "$AR" && AR=ar
5316 test -z "$AR_FLAGS" && AR_FLAGS=cru
5328 if test -n "$ac_tool_prefix"; then
5329 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
5330 set dummy ${ac_tool_prefix}strip; ac_word=$2
5331 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5332 $as_echo_n "checking for $ac_word... " >&6; }
5333 if test "${ac_cv_prog_STRIP+set}" = set; then :
5334 $as_echo_n "(cached) " >&6
5336 if test -n "$STRIP"; then
5337 ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
5339 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5343 test -z "$as_dir" && as_dir=.
5344 for ac_exec_ext in '' $ac_executable_extensions; do
5345 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5346 ac_cv_prog_STRIP="${ac_tool_prefix}strip"
5347 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5356 STRIP=$ac_cv_prog_STRIP
5357 if test -n "$STRIP"; then
5358 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
5359 $as_echo "$STRIP" >&6; }
5361 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5362 $as_echo "no" >&6; }
5367 if test -z "$ac_cv_prog_STRIP"; then
5369 # Extract the first word of "strip", so it can be a program name with args.
5370 set dummy strip; ac_word=$2
5371 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5372 $as_echo_n "checking for $ac_word... " >&6; }
5373 if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then :
5374 $as_echo_n "(cached) " >&6
5376 if test -n "$ac_ct_STRIP"; then
5377 ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
5379 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5383 test -z "$as_dir" && as_dir=.
5384 for ac_exec_ext in '' $ac_executable_extensions; do
5385 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5386 ac_cv_prog_ac_ct_STRIP="strip"
5387 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5396 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
5397 if test -n "$ac_ct_STRIP"; then
5398 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
5399 $as_echo "$ac_ct_STRIP" >&6; }
5401 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5402 $as_echo "no" >&6; }
5405 if test "x$ac_ct_STRIP" = x; then
5408 case $cross_compiling:$ac_tool_warned in
5410 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5411 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5412 ac_tool_warned=yes ;;
5417 STRIP="$ac_cv_prog_STRIP"
5420 test -z "$STRIP" && STRIP=:
5427 if test -n "$ac_tool_prefix"; then
5428 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
5429 set dummy ${ac_tool_prefix}ranlib; ac_word=$2
5430 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5431 $as_echo_n "checking for $ac_word... " >&6; }
5432 if test "${ac_cv_prog_RANLIB+set}" = set; then :
5433 $as_echo_n "(cached) " >&6
5435 if test -n "$RANLIB"; then
5436 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
5438 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5442 test -z "$as_dir" && as_dir=.
5443 for ac_exec_ext in '' $ac_executable_extensions; do
5444 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5445 ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
5446 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5455 RANLIB=$ac_cv_prog_RANLIB
5456 if test -n "$RANLIB"; then
5457 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $RANLIB" >&5
5458 $as_echo "$RANLIB" >&6; }
5460 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5461 $as_echo "no" >&6; }
5466 if test -z "$ac_cv_prog_RANLIB"; then
5467 ac_ct_RANLIB=$RANLIB
5468 # Extract the first word of "ranlib", so it can be a program name with args.
5469 set dummy ranlib; ac_word=$2
5470 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5471 $as_echo_n "checking for $ac_word... " >&6; }
5472 if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then :
5473 $as_echo_n "(cached) " >&6
5475 if test -n "$ac_ct_RANLIB"; then
5476 ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
5478 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5482 test -z "$as_dir" && as_dir=.
5483 for ac_exec_ext in '' $ac_executable_extensions; do
5484 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5485 ac_cv_prog_ac_ct_RANLIB="ranlib"
5486 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5495 ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
5496 if test -n "$ac_ct_RANLIB"; then
5497 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_RANLIB" >&5
5498 $as_echo "$ac_ct_RANLIB" >&6; }
5500 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5501 $as_echo "no" >&6; }
5504 if test "x$ac_ct_RANLIB" = x; then
5507 case $cross_compiling:$ac_tool_warned in
5509 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5510 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5511 ac_tool_warned=yes ;;
5513 RANLIB=$ac_ct_RANLIB
5516 RANLIB="$ac_cv_prog_RANLIB"
5519 test -z "$RANLIB" && RANLIB=:
5526 # Determine commands to create old-style static archives.
5527 old_archive_cmds='$AR $AR_FLAGS $oldlib$oldobjs'
5528 old_postinstall_cmds='chmod 644 $oldlib'
5529 old_postuninstall_cmds=
5531 if test -n "$RANLIB"; then
5534 old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB -t \$oldlib"
5537 old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB \$oldlib"
5540 old_archive_cmds="$old_archive_cmds~\$RANLIB \$oldlib"
5576 # If no C compiler was specified, use CC.
5579 # If no C compiler flags were specified, use CFLAGS.
5580 LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
5582 # Allow CC to be a program name with arguments.
5586 # Check for command to grab the raw symbol name followed by C symbol from nm.
5587 { $as_echo "$as_me:${as_lineno-$LINENO}: checking command to parse $NM output from $compiler object" >&5
5588 $as_echo_n "checking command to parse $NM output from $compiler object... " >&6; }
5589 if test "${lt_cv_sys_global_symbol_pipe+set}" = set; then :
5590 $as_echo_n "(cached) " >&6
5593 # These are sane defaults that work on at least a few old systems.
5594 # [They come from Ultrix. What could be older than Ultrix?!! ;)]
5596 # Character class describing NM global symbol codes.
5597 symcode='[BCDEGRST]'
5599 # Regexp to match symbols that can be accessed directly from C.
5600 sympat='\([_A-Za-z][_A-Za-z0-9]*\)'
5602 # Define system-specific variables.
5607 cygwin* | mingw* | pw32* | cegcc*)
5608 symcode='[ABCDGISTW]'
5611 if test "$host_cpu" = ia64; then
5612 symcode='[ABCDEGRST]'
5616 symcode='[BCDEGRST]'
5619 symcode='[BCDEGQRST]'
5630 sysv5* | sco5v6* | unixware* | OpenUNIX*)
5638 # If we're using GNU nm, then use its standard symbol codes.
5639 case `$NM -V 2>&1` in
5640 *GNU* | *'with BFD'*)
5641 symcode='[ABCDGIRSTW]' ;;
5644 # Transform an extracted symbol line into a proper C declaration.
5645 # Some systems (esp. on ia64) link data and code symbols differently,
5646 # so use this general approach.
5647 lt_cv_sys_global_symbol_to_cdecl="sed -n -e 's/^T .* \(.*\)$/extern int \1();/p' -e 's/^$symcode* .* \(.*\)$/extern char \1;/p'"
5649 # Transform an extracted symbol line into symbol name and symbol address
5650 lt_cv_sys_global_symbol_to_c_name_address="sed -n -e 's/^: \([^ ]*\) $/ {\\\"\1\\\", (void *) 0},/p' -e 's/^$symcode* \([^ ]*\) \([^ ]*\)$/ {\"\2\", (void *) \&\2},/p'"
5651 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'"
5653 # Handle CRLF in mingw tool chain
5657 opt_cr=`$ECHO 'x\{0,1\}' | tr x '\015'` # option cr in regexp
5661 # Try without a prefix underscore, then with it.
5662 for ac_symprfx in "" "_"; do
5664 # Transform symcode, sympat, and symprfx into a raw symbol and a C symbol.
5665 symxfrm="\\1 $ac_symprfx\\2 \\2"
5667 # Write the raw and C identifiers.
5668 if test "$lt_cv_nm_interface" = "MS dumpbin"; then
5669 # Fake it for dumpbin and say T for any non-static function
5670 # and D for any global variable.
5671 # Also find C++ and __fastcall symbols from MSVC++,
5672 # which start with @ or ?.
5673 lt_cv_sys_global_symbol_pipe="$AWK '"\
5674 " {last_section=section; section=\$ 3};"\
5675 " /Section length .*#relocs.*(pick any)/{hide[last_section]=1};"\
5676 " \$ 0!~/External *\|/{next};"\
5677 " / 0+ UNDEF /{next}; / UNDEF \([^|]\)*()/{next};"\
5678 " {if(hide[section]) next};"\
5679 " {f=0}; \$ 0~/\(\).*\|/{f=1}; {printf f ? \"T \" : \"D \"};"\
5680 " {split(\$ 0, a, /\||\r/); split(a[2], s)};"\
5681 " s[1]~/^[@?]/{print s[1], s[1]; next};"\
5682 " s[1]~prfx {split(s[1],t,\"@\"); print t[1], substr(t[1],length(prfx))}"\
5683 " ' prfx=^$ac_symprfx"
5685 lt_cv_sys_global_symbol_pipe="sed -n -e 's/^.*[ ]\($symcode$symcode*\)[ ][ ]*$ac_symprfx$sympat$opt_cr$/$symxfrm/p'"
5688 # Check to see that the pipe works correctly.
5692 cat > conftest.$ac_ext <<_LT_EOF
5697 void nm_test_func(void);
5698 void nm_test_func(void){}
5702 int main(){nm_test_var='a';nm_test_func();return(0);}
5705 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
5706 (eval $ac_compile) 2>&5
5708 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
5709 test $ac_status = 0; }; then
5710 # Now try to grab the symbols.
5712 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$NM conftest.$ac_objext \| $lt_cv_sys_global_symbol_pipe \> $nlist\""; } >&5
5713 (eval $NM conftest.$ac_objext \| $lt_cv_sys_global_symbol_pipe \> $nlist) 2>&5
5715 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
5716 test $ac_status = 0; } && test -s "$nlist"; then
5717 # Try sorting and uniquifying the output.
5718 if sort "$nlist" | uniq > "$nlist"T; then
5719 mv -f "$nlist"T "$nlist"
5724 # Make sure that we snagged all the symbols we need.
5725 if $GREP ' nm_test_var$' "$nlist" >/dev/null; then
5726 if $GREP ' nm_test_func$' "$nlist" >/dev/null; then
5727 cat <<_LT_EOF > conftest.$ac_ext
5733 # Now generate the symbol file.
5734 eval "$lt_cv_sys_global_symbol_to_cdecl"' < "$nlist" | $GREP -v main >> conftest.$ac_ext'
5736 cat <<_LT_EOF >> conftest.$ac_ext
5738 /* The mapping between symbol names and symbols. */
5743 lt__PROGRAM__LTX_preloaded_symbols[] =
5745 { "@PROGRAM@", (void *) 0 },
5747 $SED "s/^$symcode$symcode* \(.*\) \(.*\)$/ {\"\2\", (void *) \&\2},/" < "$nlist" | $GREP -v main >> conftest.$ac_ext
5748 cat <<\_LT_EOF >> conftest.$ac_ext
5752 /* This works around a problem in FreeBSD linker */
5753 #ifdef FREEBSD_WORKAROUND
5754 static const void *lt_preloaded_setup() {
5755 return lt__PROGRAM__LTX_preloaded_symbols;
5763 # Now try linking the two files.
5764 mv conftest.$ac_objext conftstm.$ac_objext
5765 lt_save_LIBS="$LIBS"
5766 lt_save_CFLAGS="$CFLAGS"
5767 LIBS="conftstm.$ac_objext"
5768 CFLAGS="$CFLAGS$lt_prog_compiler_no_builtin_flag"
5769 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
5770 (eval $ac_link) 2>&5
5772 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
5773 test $ac_status = 0; } && test -s conftest${ac_exeext}; then
5776 LIBS="$lt_save_LIBS"
5777 CFLAGS="$lt_save_CFLAGS"
5779 echo "cannot find nm_test_func in $nlist" >&5
5782 echo "cannot find nm_test_var in $nlist" >&5
5785 echo "cannot run $lt_cv_sys_global_symbol_pipe" >&5
5788 echo "$progname: failed program was:" >&5
5789 cat conftest.$ac_ext >&5
5791 rm -rf conftest* conftst*
5793 # Do not use the global_symbol_pipe unless it works.
5794 if test "$pipe_works" = yes; then
5797 lt_cv_sys_global_symbol_pipe=
5803 if test -z "$lt_cv_sys_global_symbol_pipe"; then
5804 lt_cv_sys_global_symbol_to_cdecl=
5806 if test -z "$lt_cv_sys_global_symbol_pipe$lt_cv_sys_global_symbol_to_cdecl"; then
5807 { $as_echo "$as_me:${as_lineno-$LINENO}: result: failed" >&5
5808 $as_echo "failed" >&6; }
5810 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ok" >&5
5811 $as_echo "ok" >&6; }
5836 # Check whether --enable-libtool-lock was given.
5837 if test "${enable_libtool_lock+set}" = set; then :
5838 enableval=$enable_libtool_lock;
5841 test "x$enable_libtool_lock" != xno && enable_libtool_lock=yes
5843 # Some flags need to be propagated to the compiler or linker for good
5847 # Find out which ABI we are using.
5848 echo 'int i;' > conftest.$ac_ext
5849 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
5850 (eval $ac_compile) 2>&5
5852 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
5853 test $ac_status = 0; }; then
5854 case `/usr/bin/file conftest.$ac_objext` in
5866 # Find out which ABI we are using.
5867 echo '#line 5867 "configure"' > conftest.$ac_ext
5868 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
5869 (eval $ac_compile) 2>&5
5871 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
5872 test $ac_status = 0; }; then
5873 if test "$lt_cv_prog_gnu_ld" = yes; then
5874 case `/usr/bin/file conftest.$ac_objext` in
5876 LD="${LD-ld} -melf32bsmip"
5879 LD="${LD-ld} -melf32bmipn32"
5882 LD="${LD-ld} -melf64bmip"
5886 case `/usr/bin/file conftest.$ac_objext` in
5902 x86_64-*kfreebsd*-gnu|x86_64-*linux*|ppc*-*linux*|powerpc*-*linux*| \
5903 s390*-*linux*|s390*-*tpf*|sparc*-*linux*)
5904 # Find out which ABI we are using.
5905 echo 'int i;' > conftest.$ac_ext
5906 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
5907 (eval $ac_compile) 2>&5
5909 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
5910 test $ac_status = 0; }; then
5911 case `/usr/bin/file conftest.o` in
5914 x86_64-*kfreebsd*-gnu)
5915 LD="${LD-ld} -m elf_i386_fbsd"
5918 LD="${LD-ld} -m elf_i386"
5920 ppc64-*linux*|powerpc64-*linux*)
5921 LD="${LD-ld} -m elf32ppclinux"
5924 LD="${LD-ld} -m elf_s390"
5927 LD="${LD-ld} -m elf32_sparc"
5933 x86_64-*kfreebsd*-gnu)
5934 LD="${LD-ld} -m elf_x86_64_fbsd"
5937 LD="${LD-ld} -m elf_x86_64"
5939 ppc*-*linux*|powerpc*-*linux*)
5940 LD="${LD-ld} -m elf64ppc"
5942 s390*-*linux*|s390*-*tpf*)
5943 LD="${LD-ld} -m elf64_s390"
5946 LD="${LD-ld} -m elf64_sparc"
5956 # On SCO OpenServer 5, we need -belf to get full-featured binaries.
5957 SAVE_CFLAGS="$CFLAGS"
5958 CFLAGS="$CFLAGS -belf"
5959 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler needs -belf" >&5
5960 $as_echo_n "checking whether the C compiler needs -belf... " >&6; }
5961 if test "${lt_cv_cc_needs_belf+set}" = set; then :
5962 $as_echo_n "(cached) " >&6
5965 ac_cpp='$CPP $CPPFLAGS'
5966 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5967 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5968 ac_compiler_gnu=$ac_cv_c_compiler_gnu
5970 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5971 /* end confdefs.h. */
5981 if ac_fn_c_try_link "$LINENO"; then :
5982 lt_cv_cc_needs_belf=yes
5984 lt_cv_cc_needs_belf=no
5986 rm -f core conftest.err conftest.$ac_objext \
5987 conftest$ac_exeext conftest.$ac_ext
5989 ac_cpp='$CPP $CPPFLAGS'
5990 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5991 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5992 ac_compiler_gnu=$ac_cv_c_compiler_gnu
5995 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_cc_needs_belf" >&5
5996 $as_echo "$lt_cv_cc_needs_belf" >&6; }
5997 if test x"$lt_cv_cc_needs_belf" != x"yes"; then
5998 # this is probably gcc 2.8.0, egcs 1.0 or newer; no need for -belf
5999 CFLAGS="$SAVE_CFLAGS"
6003 # Find out which ABI we are using.
6004 echo 'int i;' > conftest.$ac_ext
6005 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
6006 (eval $ac_compile) 2>&5
6008 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6009 test $ac_status = 0; }; then
6010 case `/usr/bin/file conftest.o` in
6012 case $lt_cv_prog_gnu_ld in
6013 yes*) LD="${LD-ld} -m elf64_sparc" ;;
6015 if ${LD-ld} -64 -r -o conftest2.o conftest.o >/dev/null 2>&1; then
6027 need_locks="$enable_libtool_lock"
6031 rhapsody* | darwin*)
6032 if test -n "$ac_tool_prefix"; then
6033 # Extract the first word of "${ac_tool_prefix}dsymutil", so it can be a program name with args.
6034 set dummy ${ac_tool_prefix}dsymutil; ac_word=$2
6035 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6036 $as_echo_n "checking for $ac_word... " >&6; }
6037 if test "${ac_cv_prog_DSYMUTIL+set}" = set; then :
6038 $as_echo_n "(cached) " >&6
6040 if test -n "$DSYMUTIL"; then
6041 ac_cv_prog_DSYMUTIL="$DSYMUTIL" # Let the user override the test.
6043 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6047 test -z "$as_dir" && as_dir=.
6048 for ac_exec_ext in '' $ac_executable_extensions; do
6049 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6050 ac_cv_prog_DSYMUTIL="${ac_tool_prefix}dsymutil"
6051 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6060 DSYMUTIL=$ac_cv_prog_DSYMUTIL
6061 if test -n "$DSYMUTIL"; then
6062 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DSYMUTIL" >&5
6063 $as_echo "$DSYMUTIL" >&6; }
6065 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6066 $as_echo "no" >&6; }
6071 if test -z "$ac_cv_prog_DSYMUTIL"; then
6072 ac_ct_DSYMUTIL=$DSYMUTIL
6073 # Extract the first word of "dsymutil", so it can be a program name with args.
6074 set dummy dsymutil; ac_word=$2
6075 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6076 $as_echo_n "checking for $ac_word... " >&6; }
6077 if test "${ac_cv_prog_ac_ct_DSYMUTIL+set}" = set; then :
6078 $as_echo_n "(cached) " >&6
6080 if test -n "$ac_ct_DSYMUTIL"; then
6081 ac_cv_prog_ac_ct_DSYMUTIL="$ac_ct_DSYMUTIL" # Let the user override the test.
6083 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6087 test -z "$as_dir" && as_dir=.
6088 for ac_exec_ext in '' $ac_executable_extensions; do
6089 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6090 ac_cv_prog_ac_ct_DSYMUTIL="dsymutil"
6091 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6100 ac_ct_DSYMUTIL=$ac_cv_prog_ac_ct_DSYMUTIL
6101 if test -n "$ac_ct_DSYMUTIL"; then
6102 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DSYMUTIL" >&5
6103 $as_echo "$ac_ct_DSYMUTIL" >&6; }
6105 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6106 $as_echo "no" >&6; }
6109 if test "x$ac_ct_DSYMUTIL" = x; then
6112 case $cross_compiling:$ac_tool_warned in
6114 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6115 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6116 ac_tool_warned=yes ;;
6118 DSYMUTIL=$ac_ct_DSYMUTIL
6121 DSYMUTIL="$ac_cv_prog_DSYMUTIL"
6124 if test -n "$ac_tool_prefix"; then
6125 # Extract the first word of "${ac_tool_prefix}nmedit", so it can be a program name with args.
6126 set dummy ${ac_tool_prefix}nmedit; ac_word=$2
6127 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6128 $as_echo_n "checking for $ac_word... " >&6; }
6129 if test "${ac_cv_prog_NMEDIT+set}" = set; then :
6130 $as_echo_n "(cached) " >&6
6132 if test -n "$NMEDIT"; then
6133 ac_cv_prog_NMEDIT="$NMEDIT" # Let the user override the test.
6135 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6139 test -z "$as_dir" && as_dir=.
6140 for ac_exec_ext in '' $ac_executable_extensions; do
6141 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6142 ac_cv_prog_NMEDIT="${ac_tool_prefix}nmedit"
6143 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6152 NMEDIT=$ac_cv_prog_NMEDIT
6153 if test -n "$NMEDIT"; then
6154 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $NMEDIT" >&5
6155 $as_echo "$NMEDIT" >&6; }
6157 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6158 $as_echo "no" >&6; }
6163 if test -z "$ac_cv_prog_NMEDIT"; then
6164 ac_ct_NMEDIT=$NMEDIT
6165 # Extract the first word of "nmedit", so it can be a program name with args.
6166 set dummy nmedit; ac_word=$2
6167 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6168 $as_echo_n "checking for $ac_word... " >&6; }
6169 if test "${ac_cv_prog_ac_ct_NMEDIT+set}" = set; then :
6170 $as_echo_n "(cached) " >&6
6172 if test -n "$ac_ct_NMEDIT"; then
6173 ac_cv_prog_ac_ct_NMEDIT="$ac_ct_NMEDIT" # Let the user override the test.
6175 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6179 test -z "$as_dir" && as_dir=.
6180 for ac_exec_ext in '' $ac_executable_extensions; do
6181 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6182 ac_cv_prog_ac_ct_NMEDIT="nmedit"
6183 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6192 ac_ct_NMEDIT=$ac_cv_prog_ac_ct_NMEDIT
6193 if test -n "$ac_ct_NMEDIT"; then
6194 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_NMEDIT" >&5
6195 $as_echo "$ac_ct_NMEDIT" >&6; }
6197 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6198 $as_echo "no" >&6; }
6201 if test "x$ac_ct_NMEDIT" = x; then
6204 case $cross_compiling:$ac_tool_warned in
6206 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6207 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6208 ac_tool_warned=yes ;;
6210 NMEDIT=$ac_ct_NMEDIT
6213 NMEDIT="$ac_cv_prog_NMEDIT"
6216 if test -n "$ac_tool_prefix"; then
6217 # Extract the first word of "${ac_tool_prefix}lipo", so it can be a program name with args.
6218 set dummy ${ac_tool_prefix}lipo; ac_word=$2
6219 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6220 $as_echo_n "checking for $ac_word... " >&6; }
6221 if test "${ac_cv_prog_LIPO+set}" = set; then :
6222 $as_echo_n "(cached) " >&6
6224 if test -n "$LIPO"; then
6225 ac_cv_prog_LIPO="$LIPO" # Let the user override the test.
6227 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6231 test -z "$as_dir" && as_dir=.
6232 for ac_exec_ext in '' $ac_executable_extensions; do
6233 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6234 ac_cv_prog_LIPO="${ac_tool_prefix}lipo"
6235 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6244 LIPO=$ac_cv_prog_LIPO
6245 if test -n "$LIPO"; then
6246 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LIPO" >&5
6247 $as_echo "$LIPO" >&6; }
6249 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6250 $as_echo "no" >&6; }
6255 if test -z "$ac_cv_prog_LIPO"; then
6257 # Extract the first word of "lipo", so it can be a program name with args.
6258 set dummy lipo; ac_word=$2
6259 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6260 $as_echo_n "checking for $ac_word... " >&6; }
6261 if test "${ac_cv_prog_ac_ct_LIPO+set}" = set; then :
6262 $as_echo_n "(cached) " >&6
6264 if test -n "$ac_ct_LIPO"; then
6265 ac_cv_prog_ac_ct_LIPO="$ac_ct_LIPO" # Let the user override the test.
6267 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6271 test -z "$as_dir" && as_dir=.
6272 for ac_exec_ext in '' $ac_executable_extensions; do
6273 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6274 ac_cv_prog_ac_ct_LIPO="lipo"
6275 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6284 ac_ct_LIPO=$ac_cv_prog_ac_ct_LIPO
6285 if test -n "$ac_ct_LIPO"; then
6286 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_LIPO" >&5
6287 $as_echo "$ac_ct_LIPO" >&6; }
6289 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6290 $as_echo "no" >&6; }
6293 if test "x$ac_ct_LIPO" = x; then
6296 case $cross_compiling:$ac_tool_warned in
6298 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6299 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6300 ac_tool_warned=yes ;;
6305 LIPO="$ac_cv_prog_LIPO"
6308 if test -n "$ac_tool_prefix"; then
6309 # Extract the first word of "${ac_tool_prefix}otool", so it can be a program name with args.
6310 set dummy ${ac_tool_prefix}otool; ac_word=$2
6311 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6312 $as_echo_n "checking for $ac_word... " >&6; }
6313 if test "${ac_cv_prog_OTOOL+set}" = set; then :
6314 $as_echo_n "(cached) " >&6
6316 if test -n "$OTOOL"; then
6317 ac_cv_prog_OTOOL="$OTOOL" # Let the user override the test.
6319 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6323 test -z "$as_dir" && as_dir=.
6324 for ac_exec_ext in '' $ac_executable_extensions; do
6325 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6326 ac_cv_prog_OTOOL="${ac_tool_prefix}otool"
6327 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6336 OTOOL=$ac_cv_prog_OTOOL
6337 if test -n "$OTOOL"; then
6338 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OTOOL" >&5
6339 $as_echo "$OTOOL" >&6; }
6341 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6342 $as_echo "no" >&6; }
6347 if test -z "$ac_cv_prog_OTOOL"; then
6349 # Extract the first word of "otool", so it can be a program name with args.
6350 set dummy otool; ac_word=$2
6351 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6352 $as_echo_n "checking for $ac_word... " >&6; }
6353 if test "${ac_cv_prog_ac_ct_OTOOL+set}" = set; then :
6354 $as_echo_n "(cached) " >&6
6356 if test -n "$ac_ct_OTOOL"; then
6357 ac_cv_prog_ac_ct_OTOOL="$ac_ct_OTOOL" # Let the user override the test.
6359 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6363 test -z "$as_dir" && as_dir=.
6364 for ac_exec_ext in '' $ac_executable_extensions; do
6365 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6366 ac_cv_prog_ac_ct_OTOOL="otool"
6367 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6376 ac_ct_OTOOL=$ac_cv_prog_ac_ct_OTOOL
6377 if test -n "$ac_ct_OTOOL"; then
6378 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OTOOL" >&5
6379 $as_echo "$ac_ct_OTOOL" >&6; }
6381 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6382 $as_echo "no" >&6; }
6385 if test "x$ac_ct_OTOOL" = x; then
6388 case $cross_compiling:$ac_tool_warned in
6390 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6391 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6392 ac_tool_warned=yes ;;
6397 OTOOL="$ac_cv_prog_OTOOL"
6400 if test -n "$ac_tool_prefix"; then
6401 # Extract the first word of "${ac_tool_prefix}otool64", so it can be a program name with args.
6402 set dummy ${ac_tool_prefix}otool64; ac_word=$2
6403 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6404 $as_echo_n "checking for $ac_word... " >&6; }
6405 if test "${ac_cv_prog_OTOOL64+set}" = set; then :
6406 $as_echo_n "(cached) " >&6
6408 if test -n "$OTOOL64"; then
6409 ac_cv_prog_OTOOL64="$OTOOL64" # Let the user override the test.
6411 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6415 test -z "$as_dir" && as_dir=.
6416 for ac_exec_ext in '' $ac_executable_extensions; do
6417 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6418 ac_cv_prog_OTOOL64="${ac_tool_prefix}otool64"
6419 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6428 OTOOL64=$ac_cv_prog_OTOOL64
6429 if test -n "$OTOOL64"; then
6430 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OTOOL64" >&5
6431 $as_echo "$OTOOL64" >&6; }
6433 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6434 $as_echo "no" >&6; }
6439 if test -z "$ac_cv_prog_OTOOL64"; then
6440 ac_ct_OTOOL64=$OTOOL64
6441 # Extract the first word of "otool64", so it can be a program name with args.
6442 set dummy otool64; ac_word=$2
6443 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6444 $as_echo_n "checking for $ac_word... " >&6; }
6445 if test "${ac_cv_prog_ac_ct_OTOOL64+set}" = set; then :
6446 $as_echo_n "(cached) " >&6
6448 if test -n "$ac_ct_OTOOL64"; then
6449 ac_cv_prog_ac_ct_OTOOL64="$ac_ct_OTOOL64" # Let the user override the test.
6451 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6455 test -z "$as_dir" && as_dir=.
6456 for ac_exec_ext in '' $ac_executable_extensions; do
6457 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6458 ac_cv_prog_ac_ct_OTOOL64="otool64"
6459 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6468 ac_ct_OTOOL64=$ac_cv_prog_ac_ct_OTOOL64
6469 if test -n "$ac_ct_OTOOL64"; then
6470 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OTOOL64" >&5
6471 $as_echo "$ac_ct_OTOOL64" >&6; }
6473 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6474 $as_echo "no" >&6; }
6477 if test "x$ac_ct_OTOOL64" = x; then
6480 case $cross_compiling:$ac_tool_warned in
6482 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6483 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6484 ac_tool_warned=yes ;;
6486 OTOOL64=$ac_ct_OTOOL64
6489 OTOOL64="$ac_cv_prog_OTOOL64"
6518 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -single_module linker flag" >&5
6519 $as_echo_n "checking for -single_module linker flag... " >&6; }
6520 if test "${lt_cv_apple_cc_single_mod+set}" = set; then :
6521 $as_echo_n "(cached) " >&6
6523 lt_cv_apple_cc_single_mod=no
6524 if test -z "${LT_MULTI_MODULE}"; then
6525 # By default we will add the -single_module flag. You can override
6526 # by either setting the environment variable LT_MULTI_MODULE
6527 # non-empty at configure time, or by adding -multi_module to the
6529 rm -rf libconftest.dylib*
6530 echo "int foo(void){return 1;}" > conftest.c
6531 echo "$LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \
6532 -dynamiclib -Wl,-single_module conftest.c" >&5
6533 $LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \
6534 -dynamiclib -Wl,-single_module conftest.c 2>conftest.err
6536 if test -f libconftest.dylib && test ! -s conftest.err && test $_lt_result = 0; then
6537 lt_cv_apple_cc_single_mod=yes
6539 cat conftest.err >&5
6541 rm -rf libconftest.dylib*
6545 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_apple_cc_single_mod" >&5
6546 $as_echo "$lt_cv_apple_cc_single_mod" >&6; }
6547 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -exported_symbols_list linker flag" >&5
6548 $as_echo_n "checking for -exported_symbols_list linker flag... " >&6; }
6549 if test "${lt_cv_ld_exported_symbols_list+set}" = set; then :
6550 $as_echo_n "(cached) " >&6
6552 lt_cv_ld_exported_symbols_list=no
6553 save_LDFLAGS=$LDFLAGS
6554 echo "_main" > conftest.sym
6555 LDFLAGS="$LDFLAGS -Wl,-exported_symbols_list,conftest.sym"
6556 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6557 /* end confdefs.h. */
6567 if ac_fn_c_try_link "$LINENO"; then :
6568 lt_cv_ld_exported_symbols_list=yes
6570 lt_cv_ld_exported_symbols_list=no
6572 rm -f core conftest.err conftest.$ac_objext \
6573 conftest$ac_exeext conftest.$ac_ext
6574 LDFLAGS="$save_LDFLAGS"
6577 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_exported_symbols_list" >&5
6578 $as_echo "$lt_cv_ld_exported_symbols_list" >&6; }
6580 rhapsody* | darwin1.[012])
6581 _lt_dar_allow_undefined='${wl}-undefined ${wl}suppress' ;;
6583 _lt_dar_allow_undefined='${wl}-flat_namespace ${wl}-undefined ${wl}suppress' ;;
6584 darwin*) # darwin 5.x on
6585 # if running on 10.5 or later, the deployment target defaults
6586 # to the OS version, if on x86, and 10.4, the deployment
6587 # target defaults to 10.4. Don't you love it?
6588 case ${MACOSX_DEPLOYMENT_TARGET-10.0},$host in
6589 10.0,*86*-darwin8*|10.0,*-darwin[91]*)
6590 _lt_dar_allow_undefined='${wl}-undefined ${wl}dynamic_lookup' ;;
6592 _lt_dar_allow_undefined='${wl}-flat_namespace ${wl}-undefined ${wl}suppress' ;;
6594 _lt_dar_allow_undefined='${wl}-undefined ${wl}dynamic_lookup' ;;
6598 if test "$lt_cv_apple_cc_single_mod" = "yes"; then
6599 _lt_dar_single_mod='$single_module'
6601 if test "$lt_cv_ld_exported_symbols_list" = "yes"; then
6602 _lt_dar_export_syms=' ${wl}-exported_symbols_list,$output_objdir/${libname}-symbols.expsym'
6604 _lt_dar_export_syms='~$NMEDIT -s $output_objdir/${libname}-symbols.expsym ${lib}'
6606 if test "$DSYMUTIL" != ":"; then
6607 _lt_dsymutil='~$DSYMUTIL $lib || :'
6615 ac_cpp='$CPP $CPPFLAGS'
6616 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
6617 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
6618 ac_compiler_gnu=$ac_cv_c_compiler_gnu
6619 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C preprocessor" >&5
6620 $as_echo_n "checking how to run the C preprocessor... " >&6; }
6621 # On Suns, sometimes $CPP names a directory.
6622 if test -n "$CPP" && test -d "$CPP"; then
6625 if test -z "$CPP"; then
6626 if test "${ac_cv_prog_CPP+set}" = set; then :
6627 $as_echo_n "(cached) " >&6
6629 # Double quotes because CPP needs to be expanded
6630 for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
6633 for ac_c_preproc_warn_flag in '' yes
6635 # Use a header file that comes with gcc, so configuring glibc
6636 # with a fresh cross-compiler works.
6637 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
6638 # <limits.h> exists even on freestanding compilers.
6639 # On the NeXT, cc -E runs the code through the compiler's parser,
6640 # not just through cpp. "Syntax error" is here to catch this case.
6641 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6642 /* end confdefs.h. */
6644 # include <limits.h>
6646 # include <assert.h>
6650 if ac_fn_c_try_cpp "$LINENO"; then :
6653 # Broken: fails on valid input.
6656 rm -f conftest.err conftest.i conftest.$ac_ext
6658 # OK, works on sane cases. Now check whether nonexistent headers
6659 # can be detected and how.
6660 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6661 /* end confdefs.h. */
6662 #include <ac_nonexistent.h>
6664 if ac_fn_c_try_cpp "$LINENO"; then :
6665 # Broken: success on invalid input.
6668 # Passes both tests.
6672 rm -f conftest.err conftest.i conftest.$ac_ext
6675 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
6676 rm -f conftest.i conftest.err conftest.$ac_ext
6677 if $ac_preproc_ok; then :
6689 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CPP" >&5
6690 $as_echo "$CPP" >&6; }
6692 for ac_c_preproc_warn_flag in '' yes
6694 # Use a header file that comes with gcc, so configuring glibc
6695 # with a fresh cross-compiler works.
6696 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
6697 # <limits.h> exists even on freestanding compilers.
6698 # On the NeXT, cc -E runs the code through the compiler's parser,
6699 # not just through cpp. "Syntax error" is here to catch this case.
6700 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6701 /* end confdefs.h. */
6703 # include <limits.h>
6705 # include <assert.h>
6709 if ac_fn_c_try_cpp "$LINENO"; then :
6712 # Broken: fails on valid input.
6715 rm -f conftest.err conftest.i conftest.$ac_ext
6717 # OK, works on sane cases. Now check whether nonexistent headers
6718 # can be detected and how.
6719 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6720 /* end confdefs.h. */
6721 #include <ac_nonexistent.h>
6723 if ac_fn_c_try_cpp "$LINENO"; then :
6724 # Broken: success on invalid input.
6727 # Passes both tests.
6731 rm -f conftest.err conftest.i conftest.$ac_ext
6734 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
6735 rm -f conftest.i conftest.err conftest.$ac_ext
6736 if $ac_preproc_ok; then :
6739 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
6740 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
6741 as_fn_error $? "C preprocessor \"$CPP\" fails sanity check
6742 See \`config.log' for more details" "$LINENO" 5 ; }
6746 ac_cpp='$CPP $CPPFLAGS'
6747 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
6748 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
6749 ac_compiler_gnu=$ac_cv_c_compiler_gnu
6752 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5
6753 $as_echo_n "checking for ANSI C header files... " >&6; }
6754 if test "${ac_cv_header_stdc+set}" = set; then :
6755 $as_echo_n "(cached) " >&6
6757 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6758 /* end confdefs.h. */
6772 if ac_fn_c_try_compile "$LINENO"; then :
6773 ac_cv_header_stdc=yes
6775 ac_cv_header_stdc=no
6777 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6779 if test $ac_cv_header_stdc = yes; then
6780 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
6781 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6782 /* end confdefs.h. */
6786 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
6787 $EGREP "memchr" >/dev/null 2>&1; then :
6790 ac_cv_header_stdc=no
6796 if test $ac_cv_header_stdc = yes; then
6797 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
6798 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6799 /* end confdefs.h. */
6803 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
6804 $EGREP "free" >/dev/null 2>&1; then :
6807 ac_cv_header_stdc=no
6813 if test $ac_cv_header_stdc = yes; then
6814 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
6815 if test "$cross_compiling" = yes; then :
6818 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6819 /* end confdefs.h. */
6822 #if ((' ' & 0x0FF) == 0x020)
6823 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
6824 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
6826 # define ISLOWER(c) \
6827 (('a' <= (c) && (c) <= 'i') \
6828 || ('j' <= (c) && (c) <= 'r') \
6829 || ('s' <= (c) && (c) <= 'z'))
6830 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
6833 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
6838 for (i = 0; i < 256; i++)
6839 if (XOR (islower (i), ISLOWER (i))
6840 || toupper (i) != TOUPPER (i))
6845 if ac_fn_c_try_run "$LINENO"; then :
6848 ac_cv_header_stdc=no
6850 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
6851 conftest.$ac_objext conftest.beam conftest.$ac_ext
6856 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdc" >&5
6857 $as_echo "$ac_cv_header_stdc" >&6; }
6858 if test $ac_cv_header_stdc = yes; then
6860 $as_echo "#define STDC_HEADERS 1" >>confdefs.h
6864 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
6865 for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
6866 inttypes.h stdint.h unistd.h
6868 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
6869 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default
6871 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
6872 cat >>confdefs.h <<_ACEOF
6873 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
6881 for ac_header in dlfcn.h
6883 ac_fn_c_check_header_compile "$LINENO" "dlfcn.h" "ac_cv_header_dlfcn_h" "$ac_includes_default
6885 if test "x$ac_cv_header_dlfcn_h" = x""yes; then :
6886 cat >>confdefs.h <<_ACEOF
6887 #define HAVE_DLFCN_H 1
6906 # Check whether --enable-shared was given.
6907 if test "${enable_shared+set}" = set; then :
6908 enableval=$enable_shared; p=${PACKAGE-default}
6910 yes) enable_shared=yes ;;
6911 no) enable_shared=no ;;
6914 # Look at the argument we got. We use all the common list separators.
6915 lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
6916 for pkg in $enableval; do
6918 if test "X$pkg" = "X$p"; then
6937 # Check whether --enable-static was given.
6938 if test "${enable_static+set}" = set; then :
6939 enableval=$enable_static; p=${PACKAGE-default}
6941 yes) enable_static=yes ;;
6942 no) enable_static=no ;;
6945 # Look at the argument we got. We use all the common list separators.
6946 lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
6947 for pkg in $enableval; do
6949 if test "X$pkg" = "X$p"; then
6969 # Check whether --with-pic was given.
6970 if test "${with_pic+set}" = set; then :
6971 withval=$with_pic; pic_mode="$withval"
6977 test -z "$pic_mode" && pic_mode=default
6985 # Check whether --enable-fast-install was given.
6986 if test "${enable_fast_install+set}" = set; then :
6987 enableval=$enable_fast_install; p=${PACKAGE-default}
6989 yes) enable_fast_install=yes ;;
6990 no) enable_fast_install=no ;;
6992 enable_fast_install=no
6993 # Look at the argument we got. We use all the common list separators.
6994 lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
6995 for pkg in $enableval; do
6997 if test "X$pkg" = "X$p"; then
6998 enable_fast_install=yes
7005 enable_fast_install=yes
7018 # This can be used to rebuild libtool when needed
7019 LIBTOOL_DEPS="$ltmain"
7021 # Always use our own libtool.
7022 LIBTOOL='$(SHELL) $(top_builddir)/libtool'
7048 test -z "$LN_S" && LN_S="ln -s"
7063 if test -n "${ZSH_VERSION+set}" ; then
7064 setopt NO_GLOB_SUBST
7067 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for objdir" >&5
7068 $as_echo_n "checking for objdir... " >&6; }
7069 if test "${lt_cv_objdir+set}" = set; then :
7070 $as_echo_n "(cached) " >&6
7072 rm -f .libs 2>/dev/null
7073 mkdir .libs 2>/dev/null
7074 if test -d .libs; then
7077 # MS-DOS does not allow filenames that begin with a dot.
7080 rmdir .libs 2>/dev/null
7082 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_objdir" >&5
7083 $as_echo "$lt_cv_objdir" >&6; }
7084 objdir=$lt_cv_objdir
7090 cat >>confdefs.h <<_ACEOF
7091 #define LT_OBJDIR "$lt_cv_objdir/"
7112 # AIX sometimes has problems with the GCC collect2 program. For some
7113 # reason, if we set the COLLECT_NAMES environment variable, the problems
7114 # vanish in a puff of smoke.
7115 if test "X${COLLECT_NAMES+set}" != Xset; then
7117 export COLLECT_NAMES
7122 # Sed substitution that helps us do robust quoting. It backslashifies
7123 # metacharacters that are still active within double-quoted strings.
7124 sed_quote_subst='s/\(["`$\\]\)/\\\1/g'
7126 # Same as above, but do not quote variable references.
7127 double_quote_subst='s/\(["`\\]\)/\\\1/g'
7129 # Sed substitution to delay expansion of an escaped shell variable in a
7130 # double_quote_subst'ed string.
7131 delay_variable_subst='s/\\\\\\\\\\\$/\\\\\\$/g'
7133 # Sed substitution to delay expansion of an escaped single quote.
7134 delay_single_quote_subst='s/'\''/'\'\\\\\\\'\''/g'
7136 # Sed substitution to avoid accidental globbing in evaled expressions
7137 no_glob_subst='s/\*/\\\*/g'
7141 can_build_shared=yes
7143 # All known linkers require a `.a' archive for static linking (except MSVC,
7144 # which needs '.lib').
7147 with_gnu_ld="$lt_cv_prog_gnu_ld"
7150 old_CFLAGS="$CFLAGS"
7152 # Set sane defaults for various variables
7153 test -z "$CC" && CC=cc
7154 test -z "$LTCC" && LTCC=$CC
7155 test -z "$LTCFLAGS" && LTCFLAGS=$CFLAGS
7156 test -z "$LD" && LD=ld
7157 test -z "$ac_objext" && ac_objext=o
7159 for cc_temp in $compiler""; do
7161 compile | *[\\/]compile | ccache | *[\\/]ccache ) ;;
7162 distcc | *[\\/]distcc | purify | *[\\/]purify ) ;;
7167 cc_basename=`$ECHO "X$cc_temp" | $Xsed -e 's%.*/%%' -e "s%^$host_alias-%%"`
7170 # Only perform the check for file, if the check method requires it
7171 test -z "$MAGIC_CMD" && MAGIC_CMD=file
7172 case $deplibs_check_method in
7174 if test "$file_magic_cmd" = '$MAGIC_CMD'; then
7175 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ${ac_tool_prefix}file" >&5
7176 $as_echo_n "checking for ${ac_tool_prefix}file... " >&6; }
7177 if test "${lt_cv_path_MAGIC_CMD+set}" = set; then :
7178 $as_echo_n "(cached) " >&6
7182 lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a path.
7185 lt_save_MAGIC_CMD="$MAGIC_CMD"
7186 lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
7187 ac_dummy="/usr/bin$PATH_SEPARATOR$PATH"
7188 for ac_dir in $ac_dummy; do
7190 test -z "$ac_dir" && ac_dir=.
7191 if test -f $ac_dir/${ac_tool_prefix}file; then
7192 lt_cv_path_MAGIC_CMD="$ac_dir/${ac_tool_prefix}file"
7193 if test -n "$file_magic_test_file"; then
7194 case $deplibs_check_method in
7196 file_magic_regex=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
7197 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
7198 if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
7199 $EGREP "$file_magic_regex" > /dev/null; then
7204 *** Warning: the command libtool uses to detect shared libraries,
7205 *** $file_magic_cmd, produces output that libtool cannot recognize.
7206 *** The result is that libtool may fail to recognize shared libraries
7207 *** as such. This will affect the creation of libtool libraries that
7208 *** depend on shared libraries, but programs linked with such libtool
7209 *** libraries will work regardless of this problem. Nevertheless, you
7210 *** may want to report the problem to your system manager and/or to
7211 *** bug-libtool@gnu.org
7221 MAGIC_CMD="$lt_save_MAGIC_CMD"
7226 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
7227 if test -n "$MAGIC_CMD"; then
7228 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MAGIC_CMD" >&5
7229 $as_echo "$MAGIC_CMD" >&6; }
7231 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7232 $as_echo "no" >&6; }
7239 if test -z "$lt_cv_path_MAGIC_CMD"; then
7240 if test -n "$ac_tool_prefix"; then
7241 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for file" >&5
7242 $as_echo_n "checking for file... " >&6; }
7243 if test "${lt_cv_path_MAGIC_CMD+set}" = set; then :
7244 $as_echo_n "(cached) " >&6
7248 lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a path.
7251 lt_save_MAGIC_CMD="$MAGIC_CMD"
7252 lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
7253 ac_dummy="/usr/bin$PATH_SEPARATOR$PATH"
7254 for ac_dir in $ac_dummy; do
7256 test -z "$ac_dir" && ac_dir=.
7257 if test -f $ac_dir/file; then
7258 lt_cv_path_MAGIC_CMD="$ac_dir/file"
7259 if test -n "$file_magic_test_file"; then
7260 case $deplibs_check_method in
7262 file_magic_regex=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
7263 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
7264 if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
7265 $EGREP "$file_magic_regex" > /dev/null; then
7270 *** Warning: the command libtool uses to detect shared libraries,
7271 *** $file_magic_cmd, produces output that libtool cannot recognize.
7272 *** The result is that libtool may fail to recognize shared libraries
7273 *** as such. This will affect the creation of libtool libraries that
7274 *** depend on shared libraries, but programs linked with such libtool
7275 *** libraries will work regardless of this problem. Nevertheless, you
7276 *** may want to report the problem to your system manager and/or to
7277 *** bug-libtool@gnu.org
7287 MAGIC_CMD="$lt_save_MAGIC_CMD"
7292 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
7293 if test -n "$MAGIC_CMD"; then
7294 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MAGIC_CMD" >&5
7295 $as_echo "$MAGIC_CMD" >&6; }
7297 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7298 $as_echo "no" >&6; }
7311 # Use C for the default configuration in the libtool script
7315 ac_cpp='$CPP $CPPFLAGS'
7316 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
7317 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
7318 ac_compiler_gnu=$ac_cv_c_compiler_gnu
7321 # Source file extension for C test sources.
7324 # Object file extension for compiled C test sources.
7328 # Code to be used in simple compile tests
7329 lt_simple_compile_test_code="int some_variable = 0;"
7331 # Code to be used in simple link tests
7332 lt_simple_link_test_code='int main(){return(0);}'
7340 # If no C compiler was specified, use CC.
7343 # If no C compiler flags were specified, use CFLAGS.
7344 LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
7346 # Allow CC to be a program name with arguments.
7349 # Save the default compiler, since it gets overwritten when the other
7350 # tags are being tested, and _LT_TAGVAR(compiler, []) is a NOP.
7351 compiler_DEFAULT=$CC
7353 # save warnings/boilerplate of simple test code
7354 ac_outfile=conftest.$ac_objext
7355 echo "$lt_simple_compile_test_code" >conftest.$ac_ext
7356 eval "$ac_compile" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
7357 _lt_compiler_boilerplate=`cat conftest.err`
7360 ac_outfile=conftest.$ac_objext
7361 echo "$lt_simple_link_test_code" >conftest.$ac_ext
7362 eval "$ac_link" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
7363 _lt_linker_boilerplate=`cat conftest.err`
7368 ## There is no encapsulation within the following macros, do not change
7369 ## the running order or otherwise move them around unless you know exactly
7370 ## what you are doing...
7371 if test -n "$compiler"; then
7373 lt_prog_compiler_no_builtin_flag=
7375 if test "$GCC" = yes; then
7376 lt_prog_compiler_no_builtin_flag=' -fno-builtin'
7378 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -fno-rtti -fno-exceptions" >&5
7379 $as_echo_n "checking if $compiler supports -fno-rtti -fno-exceptions... " >&6; }
7380 if test "${lt_cv_prog_compiler_rtti_exceptions+set}" = set; then :
7381 $as_echo_n "(cached) " >&6
7383 lt_cv_prog_compiler_rtti_exceptions=no
7384 ac_outfile=conftest.$ac_objext
7385 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
7386 lt_compiler_flag="-fno-rtti -fno-exceptions"
7387 # Insert the option either (1) after the last *FLAGS variable, or
7388 # (2) before a word containing "conftest.", or (3) at the end.
7389 # Note that $ac_compile itself does not contain backslashes and begins
7390 # with a dollar sign (not a hyphen), so the echo should work correctly.
7391 # The option is referenced via a variable to avoid confusing sed.
7392 lt_compile=`echo "$ac_compile" | $SED \
7393 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
7394 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
7395 -e 's:$: $lt_compiler_flag:'`
7396 (eval echo "\"\$as_me:7396: $lt_compile\"" >&5)
7397 (eval "$lt_compile" 2>conftest.err)
7399 cat conftest.err >&5
7400 echo "$as_me:7400: \$? = $ac_status" >&5
7401 if (exit $ac_status) && test -s "$ac_outfile"; then
7402 # The compiler can only warn and ignore the option if not recognized
7403 # So say no if there are warnings other than the usual output.
7404 $ECHO "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' >conftest.exp
7405 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
7406 if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
7407 lt_cv_prog_compiler_rtti_exceptions=yes
7413 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_rtti_exceptions" >&5
7414 $as_echo "$lt_cv_prog_compiler_rtti_exceptions" >&6; }
7416 if test x"$lt_cv_prog_compiler_rtti_exceptions" = xyes; then
7417 lt_prog_compiler_no_builtin_flag="$lt_prog_compiler_no_builtin_flag -fno-rtti -fno-exceptions"
7429 lt_prog_compiler_wl=
7430 lt_prog_compiler_pic=
7431 lt_prog_compiler_static=
7433 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $compiler option to produce PIC" >&5
7434 $as_echo_n "checking for $compiler option to produce PIC... " >&6; }
7436 if test "$GCC" = yes; then
7437 lt_prog_compiler_wl='-Wl,'
7438 lt_prog_compiler_static='-static'
7442 # All AIX code is PIC.
7443 if test "$host_cpu" = ia64; then
7444 # AIX 5 now supports IA64 processor
7445 lt_prog_compiler_static='-Bstatic'
7452 # see comment about AmigaOS4 .so support
7453 lt_prog_compiler_pic='-fPIC'
7456 # FIXME: we need at least 68020 code to build shared libraries, but
7457 # adding the `-m68020' flag to GCC prevents building anything better,
7459 lt_prog_compiler_pic='-m68020 -resident32 -malways-restore-a4'
7464 beos* | irix5* | irix6* | nonstopux* | osf3* | osf4* | osf5*)
7465 # PIC is the default for these OSes.
7468 mingw* | cygwin* | pw32* | os2* | cegcc*)
7469 # This hack is so that the source file can tell whether it is being
7470 # built for inclusion in a dll (and should export symbols for example).
7471 # Although the cygwin gcc ignores -fPIC, still need this for old-style
7472 # (--disable-auto-import) libraries
7473 lt_prog_compiler_pic='-DDLL_EXPORT'
7476 darwin* | rhapsody*)
7477 # PIC is the default on this platform
7478 # Common symbols not allowed in MH_DYLIB files
7479 lt_prog_compiler_pic='-fno-common'
7483 # PIC is the default for 64-bit PA HP-UX, but not for 32-bit
7484 # PA HP-UX. On IA64 HP-UX, PIC is the default but the pic flag
7485 # sets the default TLS model and affects inlining.
7491 lt_prog_compiler_pic='-fPIC'
7497 # Interix 3.x gcc -fpic/-fPIC options generate broken code.
7498 # Instead, we relocate shared libraries at runtime.
7502 # Just because we use GCC doesn't mean we suddenly get shared libraries
7503 # on systems that don't support them.
7504 lt_prog_compiler_can_build_shared=no
7509 # QNX uses GNU C++, but need to define -shared option too, otherwise
7511 lt_prog_compiler_pic='-fPIC -shared'
7515 if test -d /usr/nec; then
7516 lt_prog_compiler_pic=-Kconform_pic
7521 lt_prog_compiler_pic='-fPIC'
7525 # PORTME Check for flag to pass linker flags through the system compiler.
7528 lt_prog_compiler_wl='-Wl,'
7529 if test "$host_cpu" = ia64; then
7530 # AIX 5 now supports IA64 processor
7531 lt_prog_compiler_static='-Bstatic'
7533 lt_prog_compiler_static='-bnso -bI:/lib/syscalls.exp'
7537 mingw* | cygwin* | pw32* | os2* | cegcc*)
7538 # This hack is so that the source file can tell whether it is being
7539 # built for inclusion in a dll (and should export symbols for example).
7540 lt_prog_compiler_pic='-DDLL_EXPORT'
7543 hpux9* | hpux10* | hpux11*)
7544 lt_prog_compiler_wl='-Wl,'
7545 # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
7552 lt_prog_compiler_pic='+Z'
7555 # Is there a better lt_prog_compiler_static that works with the bundled CC?
7556 lt_prog_compiler_static='${wl}-a ${wl}archive'
7559 irix5* | irix6* | nonstopux*)
7560 lt_prog_compiler_wl='-Wl,'
7561 # PIC (with -KPIC) is the default.
7562 lt_prog_compiler_static='-non_shared'
7565 linux* | k*bsd*-gnu | kopensolaris*-gnu)
7566 case $cc_basename in
7567 # old Intel for x86_64 which still supported -KPIC.
7569 lt_prog_compiler_wl='-Wl,'
7570 lt_prog_compiler_pic='-KPIC'
7571 lt_prog_compiler_static='-static'
7573 # icc used to be incompatible with GCC.
7574 # ICC 10 doesn't accept -KPIC any more.
7576 lt_prog_compiler_wl='-Wl,'
7577 lt_prog_compiler_pic='-fPIC'
7578 lt_prog_compiler_static='-static'
7580 # Lahey Fortran 8.1.
7582 lt_prog_compiler_wl='-Wl,'
7583 lt_prog_compiler_pic='--shared'
7584 lt_prog_compiler_static='--static'
7586 pgcc* | pgf77* | pgf90* | pgf95*)
7587 # Portland Group compilers (*not* the Pentium gcc compiler,
7588 # which looks to be a dead project)
7589 lt_prog_compiler_wl='-Wl,'
7590 lt_prog_compiler_pic='-fpic'
7591 lt_prog_compiler_static='-Bstatic'
7594 lt_prog_compiler_wl='-Wl,'
7595 # All Alpha code is PIC.
7596 lt_prog_compiler_static='-non_shared'
7599 # IBM XL C 8.0/Fortran 10.1 on PPC
7600 lt_prog_compiler_wl='-Wl,'
7601 lt_prog_compiler_pic='-qpic'
7602 lt_prog_compiler_static='-qstaticlink'
7605 case `$CC -V 2>&1 | sed 5q` in
7608 lt_prog_compiler_pic='-KPIC'
7609 lt_prog_compiler_static='-Bstatic'
7610 lt_prog_compiler_wl='-Wl,'
7613 # Sun Fortran 8.3 passes all unrecognized flags to the linker
7614 lt_prog_compiler_pic='-KPIC'
7615 lt_prog_compiler_static='-Bstatic'
7616 lt_prog_compiler_wl=''
7624 lt_prog_compiler_pic='-KPIC'
7625 lt_prog_compiler_static='-Bstatic'
7629 # QNX uses GNU C++, but need to define -shared option too, otherwise
7631 lt_prog_compiler_pic='-fPIC -shared'
7634 osf3* | osf4* | osf5*)
7635 lt_prog_compiler_wl='-Wl,'
7636 # All OSF/1 code is PIC.
7637 lt_prog_compiler_static='-non_shared'
7641 lt_prog_compiler_static='-non_shared'
7645 lt_prog_compiler_pic='-KPIC'
7646 lt_prog_compiler_static='-Bstatic'
7647 case $cc_basename in
7649 lt_prog_compiler_wl='-Qoption ld ';;
7651 lt_prog_compiler_wl='-Wl,';;
7656 lt_prog_compiler_wl='-Qoption ld '
7657 lt_prog_compiler_pic='-PIC'
7658 lt_prog_compiler_static='-Bstatic'
7661 sysv4 | sysv4.2uw2* | sysv4.3*)
7662 lt_prog_compiler_wl='-Wl,'
7663 lt_prog_compiler_pic='-KPIC'
7664 lt_prog_compiler_static='-Bstatic'
7668 if test -d /usr/nec ;then
7669 lt_prog_compiler_pic='-Kconform_pic'
7670 lt_prog_compiler_static='-Bstatic'
7674 sysv5* | unixware* | sco3.2v5* | sco5v6* | OpenUNIX*)
7675 lt_prog_compiler_wl='-Wl,'
7676 lt_prog_compiler_pic='-KPIC'
7677 lt_prog_compiler_static='-Bstatic'
7681 lt_prog_compiler_wl='-Wl,'
7682 lt_prog_compiler_can_build_shared=no
7686 lt_prog_compiler_pic='-pic'
7687 lt_prog_compiler_static='-Bstatic'
7691 lt_prog_compiler_can_build_shared=no
7697 # For platforms which do not support PIC, -DPIC is meaningless:
7699 lt_prog_compiler_pic=
7702 lt_prog_compiler_pic="$lt_prog_compiler_pic -DPIC"
7705 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_prog_compiler_pic" >&5
7706 $as_echo "$lt_prog_compiler_pic" >&6; }
7714 # Check to make sure the PIC flag actually works.
7716 if test -n "$lt_prog_compiler_pic"; then
7717 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler PIC flag $lt_prog_compiler_pic works" >&5
7718 $as_echo_n "checking if $compiler PIC flag $lt_prog_compiler_pic works... " >&6; }
7719 if test "${lt_cv_prog_compiler_pic_works+set}" = set; then :
7720 $as_echo_n "(cached) " >&6
7722 lt_cv_prog_compiler_pic_works=no
7723 ac_outfile=conftest.$ac_objext
7724 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
7725 lt_compiler_flag="$lt_prog_compiler_pic -DPIC"
7726 # Insert the option either (1) after the last *FLAGS variable, or
7727 # (2) before a word containing "conftest.", or (3) at the end.
7728 # Note that $ac_compile itself does not contain backslashes and begins
7729 # with a dollar sign (not a hyphen), so the echo should work correctly.
7730 # The option is referenced via a variable to avoid confusing sed.
7731 lt_compile=`echo "$ac_compile" | $SED \
7732 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
7733 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
7734 -e 's:$: $lt_compiler_flag:'`
7735 (eval echo "\"\$as_me:7735: $lt_compile\"" >&5)
7736 (eval "$lt_compile" 2>conftest.err)
7738 cat conftest.err >&5
7739 echo "$as_me:7739: \$? = $ac_status" >&5
7740 if (exit $ac_status) && test -s "$ac_outfile"; then
7741 # The compiler can only warn and ignore the option if not recognized
7742 # So say no if there are warnings other than the usual output.
7743 $ECHO "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' >conftest.exp
7744 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
7745 if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
7746 lt_cv_prog_compiler_pic_works=yes
7752 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic_works" >&5
7753 $as_echo "$lt_cv_prog_compiler_pic_works" >&6; }
7755 if test x"$lt_cv_prog_compiler_pic_works" = xyes; then
7756 case $lt_prog_compiler_pic in
7758 *) lt_prog_compiler_pic=" $lt_prog_compiler_pic" ;;
7761 lt_prog_compiler_pic=
7762 lt_prog_compiler_can_build_shared=no
7773 # Check to make sure the static flag actually works.
7775 wl=$lt_prog_compiler_wl eval lt_tmp_static_flag=\"$lt_prog_compiler_static\"
7776 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler static flag $lt_tmp_static_flag works" >&5
7777 $as_echo_n "checking if $compiler static flag $lt_tmp_static_flag works... " >&6; }
7778 if test "${lt_cv_prog_compiler_static_works+set}" = set; then :
7779 $as_echo_n "(cached) " >&6
7781 lt_cv_prog_compiler_static_works=no
7782 save_LDFLAGS="$LDFLAGS"
7783 LDFLAGS="$LDFLAGS $lt_tmp_static_flag"
7784 echo "$lt_simple_link_test_code" > conftest.$ac_ext
7785 if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
7786 # The linker can only warn and ignore the option if not recognized
7787 # So say no if there are warnings
7788 if test -s conftest.err; then
7789 # Append any errors to the config.log.
7790 cat conftest.err 1>&5
7791 $ECHO "X$_lt_linker_boilerplate" | $Xsed -e '/^$/d' > conftest.exp
7792 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
7793 if diff conftest.exp conftest.er2 >/dev/null; then
7794 lt_cv_prog_compiler_static_works=yes
7797 lt_cv_prog_compiler_static_works=yes
7801 LDFLAGS="$save_LDFLAGS"
7804 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_static_works" >&5
7805 $as_echo "$lt_cv_prog_compiler_static_works" >&6; }
7807 if test x"$lt_cv_prog_compiler_static_works" = xyes; then
7810 lt_prog_compiler_static=
7819 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
7820 $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
7821 if test "${lt_cv_prog_compiler_c_o+set}" = set; then :
7822 $as_echo_n "(cached) " >&6
7824 lt_cv_prog_compiler_c_o=no
7825 $RM -r conftest 2>/dev/null
7829 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
7831 lt_compiler_flag="-o out/conftest2.$ac_objext"
7832 # Insert the option either (1) after the last *FLAGS variable, or
7833 # (2) before a word containing "conftest.", or (3) at the end.
7834 # Note that $ac_compile itself does not contain backslashes and begins
7835 # with a dollar sign (not a hyphen), so the echo should work correctly.
7836 lt_compile=`echo "$ac_compile" | $SED \
7837 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
7838 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
7839 -e 's:$: $lt_compiler_flag:'`
7840 (eval echo "\"\$as_me:7840: $lt_compile\"" >&5)
7841 (eval "$lt_compile" 2>out/conftest.err)
7843 cat out/conftest.err >&5
7844 echo "$as_me:7844: \$? = $ac_status" >&5
7845 if (exit $ac_status) && test -s out/conftest2.$ac_objext
7847 # The compiler can only warn and ignore the option if not recognized
7848 # So say no if there are warnings
7849 $ECHO "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' > out/conftest.exp
7850 $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
7851 if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
7852 lt_cv_prog_compiler_c_o=yes
7857 # SGI C++ compiler will create directory out/ii_files/ for
7858 # template instantiation
7859 test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
7860 $RM out/* && rmdir out
7866 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o" >&5
7867 $as_echo "$lt_cv_prog_compiler_c_o" >&6; }
7874 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
7875 $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
7876 if test "${lt_cv_prog_compiler_c_o+set}" = set; then :
7877 $as_echo_n "(cached) " >&6
7879 lt_cv_prog_compiler_c_o=no
7880 $RM -r conftest 2>/dev/null
7884 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
7886 lt_compiler_flag="-o out/conftest2.$ac_objext"
7887 # Insert the option either (1) after the last *FLAGS variable, or
7888 # (2) before a word containing "conftest.", or (3) at the end.
7889 # Note that $ac_compile itself does not contain backslashes and begins
7890 # with a dollar sign (not a hyphen), so the echo should work correctly.
7891 lt_compile=`echo "$ac_compile" | $SED \
7892 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
7893 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
7894 -e 's:$: $lt_compiler_flag:'`
7895 (eval echo "\"\$as_me:7895: $lt_compile\"" >&5)
7896 (eval "$lt_compile" 2>out/conftest.err)
7898 cat out/conftest.err >&5
7899 echo "$as_me:7899: \$? = $ac_status" >&5
7900 if (exit $ac_status) && test -s out/conftest2.$ac_objext
7902 # The compiler can only warn and ignore the option if not recognized
7903 # So say no if there are warnings
7904 $ECHO "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' > out/conftest.exp
7905 $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
7906 if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
7907 lt_cv_prog_compiler_c_o=yes
7912 # SGI C++ compiler will create directory out/ii_files/ for
7913 # template instantiation
7914 test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
7915 $RM out/* && rmdir out
7921 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o" >&5
7922 $as_echo "$lt_cv_prog_compiler_c_o" >&6; }
7927 hard_links="nottested"
7928 if test "$lt_cv_prog_compiler_c_o" = no && test "$need_locks" != no; then
7929 # do not overwrite the value of need_locks provided by the user
7930 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if we can lock with hard links" >&5
7931 $as_echo_n "checking if we can lock with hard links... " >&6; }
7934 ln conftest.a conftest.b 2>/dev/null && hard_links=no
7936 ln conftest.a conftest.b 2>&5 || hard_links=no
7937 ln conftest.a conftest.b 2>/dev/null && hard_links=no
7938 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hard_links" >&5
7939 $as_echo "$hard_links" >&6; }
7940 if test "$hard_links" = no; then
7941 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5
7942 $as_echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;}
7954 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $compiler linker ($LD) supports shared libraries" >&5
7955 $as_echo_n "checking whether the $compiler linker ($LD) supports shared libraries... " >&6; }
7958 allow_undefined_flag=
7959 always_export_symbols=no
7961 archive_expsym_cmds=
7962 compiler_needs_object=no
7963 enable_shared_with_static_runtimes=no
7964 export_dynamic_flag_spec=
7965 export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
7966 hardcode_automatic=no
7968 hardcode_direct_absolute=no
7969 hardcode_libdir_flag_spec=
7970 hardcode_libdir_flag_spec_ld=
7971 hardcode_libdir_separator=
7973 hardcode_shlibpath_var=unsupported
7975 link_all_deplibs=unknown
7978 old_archive_from_new_cmds=
7979 old_archive_from_expsyms_cmds=
7980 thread_safe_flag_spec=
7981 whole_archive_flag_spec=
7982 # include_expsyms should be a list of space-separated symbols to be *always*
7983 # included in the symbol list
7985 # exclude_expsyms can be an extended regexp of symbols to exclude
7986 # it will be wrapped by ` (' and `)$', so one must not match beginning or
7987 # end of line. Example: `a|bc|.*d.*' will exclude the symbols `a' and `bc',
7988 # as well as any symbol that contains `d'.
7989 exclude_expsyms='_GLOBAL_OFFSET_TABLE_|_GLOBAL__F[ID]_.*'
7990 # Although _GLOBAL_OFFSET_TABLE_ is a valid symbol C name, most a.out
7991 # platforms (ab)use it in PIC code, but their linkers get confused if
7992 # the symbol is explicitly referenced. Since portable code cannot
7993 # rely on this symbol name, it's probably fine to never include it in
7994 # preloaded symbol tables.
7995 # Exclude shared library initialization/finalization symbols.
7996 extract_expsyms_cmds=
7999 cygwin* | mingw* | pw32* | cegcc*)
8000 # FIXME: the MSVC++ port hasn't been tested in a loooong time
8001 # When not using gcc, we currently assume that we are using
8002 # Microsoft Visual C++.
8003 if test "$GCC" != yes; then
8008 # we just hope/assume this is gcc and not c89 (= MSVC++)
8014 linux* | k*bsd*-gnu)
8020 if test "$with_gnu_ld" = yes; then
8021 # If archive_cmds runs LD, not CC, wlarc should be empty
8024 # Set some defaults for GNU ld with shared library support. These
8025 # are reset later if shared libraries are not supported. Putting them
8026 # here allows them to be overridden if necessary.
8027 runpath_var=LD_RUN_PATH
8028 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
8029 export_dynamic_flag_spec='${wl}--export-dynamic'
8030 # ancient GNU ld didn't support --whole-archive et. al.
8031 if $LD --help 2>&1 | $GREP 'no-whole-archive' > /dev/null; then
8032 whole_archive_flag_spec="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
8034 whole_archive_flag_spec=
8036 supports_anon_versioning=no
8037 case `$LD -v 2>&1` in
8038 *GNU\ gold*) supports_anon_versioning=yes ;;
8039 *\ [01].* | *\ 2.[0-9].* | *\ 2.10.*) ;; # catch versions < 2.11
8040 *\ 2.11.93.0.2\ *) supports_anon_versioning=yes ;; # RH7.3 ...
8041 *\ 2.11.92.0.12\ *) supports_anon_versioning=yes ;; # Mandrake 8.2 ...
8042 *\ 2.11.*) ;; # other 2.11 versions
8043 *) supports_anon_versioning=yes ;;
8046 # See if GNU ld supports shared libraries.
8049 # On AIX/PPC, the GNU linker is very broken
8050 if test "$host_cpu" != ia64; then
8054 *** Warning: the GNU linker, at least up to release 2.9.1, is reported
8055 *** to be unable to reliably create shared libraries on AIX.
8056 *** Therefore, libtool is disabling shared libraries support. If you
8057 *** really care for shared libraries, you may want to modify your PATH
8058 *** so that a non-GNU linker is found, and then restart.
8067 # see comment about AmigaOS4 .so support
8068 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
8069 archive_expsym_cmds=''
8072 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)'
8073 hardcode_libdir_flag_spec='-L$libdir'
8074 hardcode_minus_L=yes
8080 if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
8081 allow_undefined_flag=unsupported
8082 # Joseph Beckenbach <jrb3@best.com> says some releases of gcc
8083 # support --undefined. This deserves some investigation. FIXME
8084 archive_cmds='$CC -nostart $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
8090 cygwin* | mingw* | pw32* | cegcc*)
8091 # _LT_TAGVAR(hardcode_libdir_flag_spec, ) is actually meaningless,
8092 # as there is no search path for DLLs.
8093 hardcode_libdir_flag_spec='-L$libdir'
8094 allow_undefined_flag=unsupported
8095 always_export_symbols=no
8096 enable_shared_with_static_runtimes=yes
8097 export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS][ ]/s/.*[ ]\([^ ]*\)/\1 DATA/'\'' | $SED -e '\''/^[AITW][ ]/s/.*[ ]//'\'' | sort | uniq > $export_symbols'
8099 if $LD --help 2>&1 | $GREP 'auto-import' > /dev/null; then
8100 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
8101 # If the export-symbols file already is a .def file (1st line
8102 # is EXPORTS), use it as is; otherwise, prepend...
8103 archive_expsym_cmds='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
8104 cp $export_symbols $output_objdir/$soname.def;
8106 echo EXPORTS > $output_objdir/$soname.def;
8107 cat $export_symbols >> $output_objdir/$soname.def;
8109 $CC -shared $output_objdir/$soname.def $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
8117 hardcode_shlibpath_var=no
8118 hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
8119 export_dynamic_flag_spec='${wl}-E'
8120 # Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc.
8121 # Instead, shared libraries are loaded at an image base (0x10000000 by
8122 # default) and relocated if they conflict, which is a slow very memory
8123 # consuming and fragmenting process. To avoid this, we pick a random,
8124 # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link
8125 # time. Moving up from 0x10000000 also allows more sbrk(2) space.
8126 archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-h,$soname ${wl}--image-base,`expr ${RANDOM-$$} % 4096 / 2 \* 262144 + 1342177280` -o $lib'
8127 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'
8130 gnu* | linux* | tpf* | k*bsd*-gnu | kopensolaris*-gnu)
8132 if test "$host_os" = linux-dietlibc; then
8133 case $cc_basename in
8134 diet\ *) tmp_diet=yes;; # linux-dietlibc with static linking (!diet-dyn)
8137 if $LD --help 2>&1 | $EGREP ': supported targets:.* elf' > /dev/null \
8138 && test "$tmp_diet" = no
8141 tmp_sharedflag='-shared'
8142 case $cc_basename,$host_cpu in
8143 pgcc*) # Portland Group C compiler
8144 whole_archive_flag_spec='${wl}--whole-archive`for conv in $convenience\"\"; do test -n \"$conv\" && new_convenience=\"$new_convenience,$conv\"; done; $ECHO \"$new_convenience\"` ${wl}--no-whole-archive'
8145 tmp_addflag=' $pic_flag'
8147 pgf77* | pgf90* | pgf95*) # Portland Group f77 and f90 compilers
8148 whole_archive_flag_spec='${wl}--whole-archive`for conv in $convenience\"\"; do test -n \"$conv\" && new_convenience=\"$new_convenience,$conv\"; done; $ECHO \"$new_convenience\"` ${wl}--no-whole-archive'
8149 tmp_addflag=' $pic_flag -Mnomain' ;;
8150 ecc*,ia64* | icc*,ia64*) # Intel C compiler on ia64
8151 tmp_addflag=' -i_dynamic' ;;
8152 efc*,ia64* | ifort*,ia64*) # Intel Fortran compiler on ia64
8153 tmp_addflag=' -i_dynamic -nofor_main' ;;
8154 ifc* | ifort*) # Intel Fortran compiler
8155 tmp_addflag=' -nofor_main' ;;
8156 lf95*) # Lahey Fortran 8.1
8157 whole_archive_flag_spec=
8158 tmp_sharedflag='--shared' ;;
8159 xl[cC]*) # IBM XL C 8.0 on PPC (deal with xlf below)
8160 tmp_sharedflag='-qmkshrobj'
8163 case `$CC -V 2>&1 | sed 5q` in
8164 *Sun\ C*) # Sun C 5.9
8165 whole_archive_flag_spec='${wl}--whole-archive`new_convenience=; for conv in $convenience\"\"; do test -z \"$conv\" || new_convenience=\"$new_convenience,$conv\"; done; $ECHO \"$new_convenience\"` ${wl}--no-whole-archive'
8166 compiler_needs_object=yes
8167 tmp_sharedflag='-G' ;;
8168 *Sun\ F*) # Sun Fortran 8.3
8169 tmp_sharedflag='-G' ;;
8171 archive_cmds='$CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
8173 if test "x$supports_anon_versioning" = xyes; then
8174 archive_expsym_cmds='echo "{ global:" > $output_objdir/$libname.ver~
8175 cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
8176 echo "local: *; };" >> $output_objdir/$libname.ver~
8177 $CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-version-script ${wl}$output_objdir/$libname.ver -o $lib'
8180 case $cc_basename in
8182 # IBM XL Fortran 10.1 on PPC cannot create shared libs itself
8183 whole_archive_flag_spec='--whole-archive$convenience --no-whole-archive'
8184 hardcode_libdir_flag_spec=
8185 hardcode_libdir_flag_spec_ld='-rpath $libdir'
8186 archive_cmds='$LD -shared $libobjs $deplibs $compiler_flags -soname $soname -o $lib'
8187 if test "x$supports_anon_versioning" = xyes; then
8188 archive_expsym_cmds='echo "{ global:" > $output_objdir/$libname.ver~
8189 cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
8190 echo "local: *; };" >> $output_objdir/$libname.ver~
8191 $LD -shared $libobjs $deplibs $compiler_flags -soname $soname -version-script $output_objdir/$libname.ver -o $lib'
8200 netbsd* | netbsdelf*-gnu)
8201 if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
8202 archive_cmds='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib'
8205 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
8206 archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
8211 if $LD -v 2>&1 | $GREP 'BFD 2\.8' > /dev/null; then
8215 *** Warning: The releases 2.8.* of the GNU linker cannot reliably
8216 *** create shared libraries on Solaris systems. Therefore, libtool
8217 *** is disabling shared libraries support. We urge you to upgrade GNU
8218 *** binutils to release 2.9.1 or newer. Another option is to modify
8219 *** your PATH or compiler configuration so that the native linker is
8220 *** used, and then restart.
8223 elif $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
8224 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
8225 archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
8231 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX*)
8232 case `$LD -v 2>&1` in
8233 *\ [01].* | *\ 2.[0-9].* | *\ 2.1[0-5].*)
8237 *** Warning: Releases of the GNU linker prior to 2.16.91.0.3 can not
8238 *** reliably create shared libraries on SCO systems. Therefore, libtool
8239 *** is disabling shared libraries support. We urge you to upgrade GNU
8240 *** binutils to release 2.16.91.0.3 or newer. Another option is to modify
8241 *** your PATH or compiler configuration so that the native linker is
8242 *** used, and then restart.
8247 # For security reasons, it is highly recommended that you always
8248 # use absolute paths for naming shared libraries, and exclude the
8249 # DT_RUNPATH tag from executables and libraries. But doing so
8250 # requires that you compile everything twice, which is a pain.
8251 if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
8252 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
8253 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
8254 archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
8263 archive_cmds='$LD -assert pure-text -Bshareable -o $lib $libobjs $deplibs $linker_flags'
8266 hardcode_shlibpath_var=no
8270 if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
8271 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
8272 archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
8279 if test "$ld_shlibs" = no; then
8281 hardcode_libdir_flag_spec=
8282 export_dynamic_flag_spec=
8283 whole_archive_flag_spec=
8286 # PORTME fill in a description of your system's linker (not GNU ld)
8289 allow_undefined_flag=unsupported
8290 always_export_symbols=yes
8291 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'
8292 # Note: this linker hardcodes the directories in LIBPATH if there
8293 # are no directories specified by -L.
8294 hardcode_minus_L=yes
8295 if test "$GCC" = yes && test -z "$lt_prog_compiler_static"; then
8296 # Neither direct hardcoding nor static linking is supported with a
8298 hardcode_direct=unsupported
8303 if test "$host_cpu" = ia64; then
8304 # On IA64, the linker does run time linking by default, so we don't
8305 # have to do anything special.
8306 aix_use_runtimelinking=no
8307 exp_sym_flag='-Bexport'
8310 # If we're using GNU nm, then we don't want the "-C" option.
8311 # -C means demangle to AIX nm, but means don't demangle with GNU nm
8312 if $NM -V 2>&1 | $GREP 'GNU' > /dev/null; then
8313 export_symbols_cmds='$NM -Bpg $libobjs $convenience | awk '\''{ if (((\$ 2 == "T") || (\$ 2 == "D") || (\$ 2 == "B")) && (substr(\$ 3,1,1) != ".")) { print \$ 3 } }'\'' | sort -u > $export_symbols'
8315 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'
8317 aix_use_runtimelinking=no
8319 # Test if we are trying to use run time linking or normal
8320 # AIX style linking. If -brtl is somewhere in LDFLAGS, we
8321 # need to do runtime linking.
8322 case $host_os in aix4.[23]|aix4.[23].*|aix[5-9]*)
8323 for ld_flag in $LDFLAGS; do
8324 if (test $ld_flag = "-brtl" || test $ld_flag = "-Wl,-brtl"); then
8325 aix_use_runtimelinking=yes
8332 exp_sym_flag='-bexport'
8333 no_entry_flag='-bnoentry'
8336 # When large executables or shared objects are built, AIX ld can
8337 # have problems creating the table of contents. If linking a library
8338 # or program results in "error TOC overflow" add -mminimal-toc to
8339 # CXXFLAGS/CFLAGS for g++/gcc. In the cases where that is not
8340 # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
8344 hardcode_direct_absolute=yes
8345 hardcode_libdir_separator=':'
8346 link_all_deplibs=yes
8347 file_list_spec='${wl}-f,'
8349 if test "$GCC" = yes; then
8350 case $host_os in aix4.[012]|aix4.[012].*)
8351 # We only want to do this on AIX 4.2 and lower, the check
8352 # below for broken collect2 doesn't work under 4.3+
8353 collect2name=`${CC} -print-prog-name=collect2`
8354 if test -f "$collect2name" &&
8355 strings "$collect2name" | $GREP resolve_lib_name >/dev/null
8357 # We have reworked collect2
8360 # We have old collect2
8361 hardcode_direct=unsupported
8362 # It fails to find uninstalled libraries when the uninstalled
8363 # path is not listed in the libpath. Setting hardcode_minus_L
8364 # to unsupported forces relinking
8365 hardcode_minus_L=yes
8366 hardcode_libdir_flag_spec='-L$libdir'
8367 hardcode_libdir_separator=
8371 shared_flag='-shared'
8372 if test "$aix_use_runtimelinking" = yes; then
8373 shared_flag="$shared_flag "'${wl}-G'
8378 if test "$host_cpu" = ia64; then
8379 # VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
8380 # chokes on -Wl,-G. The following line is correct:
8383 if test "$aix_use_runtimelinking" = yes; then
8384 shared_flag='${wl}-G'
8386 shared_flag='${wl}-bM:SRE'
8391 export_dynamic_flag_spec='${wl}-bexpall'
8392 # It seems that -bexpall does not export symbols beginning with
8393 # underscore (_), so it is better to generate a list of symbols to export.
8394 always_export_symbols=yes
8395 if test "$aix_use_runtimelinking" = yes; then
8396 # Warning - without using the other runtime loading flags (-brtl),
8397 # -berok will link without error, but may produce a broken library.
8398 allow_undefined_flag='-berok'
8399 # Determine the default libpath from the value encoded in an
8401 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8402 /* end confdefs.h. */
8412 if ac_fn_c_try_link "$LINENO"; then :
8414 lt_aix_libpath_sed='
8415 /Import File Strings/,/^$/ {
8421 aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
8422 # Check for a 64-bit object if we didn't find anything.
8423 if test -z "$aix_libpath"; then
8424 aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
8427 rm -f core conftest.err conftest.$ac_objext \
8428 conftest$ac_exeext conftest.$ac_ext
8429 if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
8431 hardcode_libdir_flag_spec='${wl}-blibpath:$libdir:'"$aix_libpath"
8432 archive_expsym_cmds='$CC -o $output_objdir/$soname $libobjs $deplibs '"\${wl}$no_entry_flag"' $compiler_flags `if test "x${allow_undefined_flag}" != "x"; then $ECHO "X${wl}${allow_undefined_flag}" | $Xsed; else :; fi` '"\${wl}$exp_sym_flag:\$export_symbols $shared_flag"
8434 if test "$host_cpu" = ia64; then
8435 hardcode_libdir_flag_spec='${wl}-R $libdir:/usr/lib:/lib'
8436 allow_undefined_flag="-z nodefs"
8437 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"
8439 # Determine the default libpath from the value encoded in an
8441 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8442 /* end confdefs.h. */
8452 if ac_fn_c_try_link "$LINENO"; then :
8454 lt_aix_libpath_sed='
8455 /Import File Strings/,/^$/ {
8461 aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
8462 # Check for a 64-bit object if we didn't find anything.
8463 if test -z "$aix_libpath"; then
8464 aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
8467 rm -f core conftest.err conftest.$ac_objext \
8468 conftest$ac_exeext conftest.$ac_ext
8469 if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
8471 hardcode_libdir_flag_spec='${wl}-blibpath:$libdir:'"$aix_libpath"
8472 # Warning - without using the other run time loading flags,
8473 # -berok will link without error, but may produce a broken library.
8474 no_undefined_flag=' ${wl}-bernotok'
8475 allow_undefined_flag=' ${wl}-berok'
8476 # Exported symbols can be pulled into shared objects from archives
8477 whole_archive_flag_spec='$convenience'
8478 archive_cmds_need_lc=yes
8479 # This is similar to how AIX traditionally builds its shared libraries.
8480 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'
8488 # see comment about AmigaOS4 .so support
8489 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
8490 archive_expsym_cmds=''
8493 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)'
8494 hardcode_libdir_flag_spec='-L$libdir'
8495 hardcode_minus_L=yes
8501 export_dynamic_flag_spec=-rdynamic
8504 cygwin* | mingw* | pw32* | cegcc*)
8505 # When not using gcc, we currently assume that we are using
8506 # Microsoft Visual C++.
8507 # hardcode_libdir_flag_spec is actually meaningless, as there is
8508 # no search path for DLLs.
8509 hardcode_libdir_flag_spec=' '
8510 allow_undefined_flag=unsupported
8511 # Tell ltmain to make .lib files, not .a files.
8513 # Tell ltmain to make .dll files, not .so files.
8515 # FIXME: Setting linknames here is a bad hack.
8516 archive_cmds='$CC -o $lib $libobjs $compiler_flags `$ECHO "X$deplibs" | $Xsed -e '\''s/ -lc$//'\''` -link -dll~linknames='
8517 # The linker will automatically build a .lib file if we build a DLL.
8518 old_archive_from_new_cmds='true'
8519 # FIXME: Should let the user specify the lib program.
8520 old_archive_cmds='lib -OUT:$oldlib$oldobjs$old_deplibs'
8521 fix_srcfile_path='`cygpath -w "$srcfile"`'
8522 enable_shared_with_static_runtimes=yes
8525 darwin* | rhapsody*)
8528 archive_cmds_need_lc=no
8530 hardcode_automatic=yes
8531 hardcode_shlibpath_var=unsupported
8532 whole_archive_flag_spec=''
8533 link_all_deplibs=yes
8534 allow_undefined_flag="$_lt_dar_allow_undefined"
8535 case $cc_basename in
8536 ifort*) _lt_dar_can_shared=yes ;;
8537 *) _lt_dar_can_shared=$GCC ;;
8539 if test "$_lt_dar_can_shared" = "yes"; then
8540 output_verbose_link_cmd=echo
8541 archive_cmds="\$CC -dynamiclib \$allow_undefined_flag -o \$lib \$libobjs \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring $_lt_dar_single_mod${_lt_dsymutil}"
8542 module_cmds="\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags${_lt_dsymutil}"
8543 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}"
8544 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}"
8553 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
8554 hardcode_libdir_flag_spec='-L$libdir'
8555 hardcode_shlibpath_var=no
8562 # FreeBSD 2.2.[012] allows us to include c++rt0.o to get C++ constructor
8563 # support. Future versions do this automatically, but an explicit c++rt0.o
8564 # does not break anything, and helps significantly (at the cost of a little
8567 archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags /usr/lib/c++rt0.o'
8568 hardcode_libdir_flag_spec='-R$libdir'
8570 hardcode_shlibpath_var=no
8573 # Unfortunately, older versions of FreeBSD 2 do not have this feature.
8575 archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
8577 hardcode_minus_L=yes
8578 hardcode_shlibpath_var=no
8581 # FreeBSD 3 and greater uses gcc -shared to do shared libraries.
8582 freebsd* | dragonfly*)
8583 archive_cmds='$CC -shared -o $lib $libobjs $deplibs $compiler_flags'
8584 hardcode_libdir_flag_spec='-R$libdir'
8586 hardcode_shlibpath_var=no
8590 if test "$GCC" = yes; then
8591 archive_cmds='$RM $output_objdir/$soname~$CC -shared -fPIC ${wl}+b ${wl}$install_libdir -o $output_objdir/$soname $libobjs $deplibs $compiler_flags~test $output_objdir/$soname = $lib || mv $output_objdir/$soname $lib'
8593 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'
8595 hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
8596 hardcode_libdir_separator=:
8599 # hardcode_minus_L: Not really in the search PATH,
8600 # but as the default location of the library.
8601 hardcode_minus_L=yes
8602 export_dynamic_flag_spec='${wl}-E'
8606 if test "$GCC" = yes -a "$with_gnu_ld" = no; then
8607 archive_cmds='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
8609 archive_cmds='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
8611 if test "$with_gnu_ld" = no; then
8612 hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
8613 hardcode_libdir_flag_spec_ld='+b $libdir'
8614 hardcode_libdir_separator=:
8616 hardcode_direct_absolute=yes
8617 export_dynamic_flag_spec='${wl}-E'
8618 # hardcode_minus_L: Not really in the search PATH,
8619 # but as the default location of the library.
8620 hardcode_minus_L=yes
8625 if test "$GCC" = yes -a "$with_gnu_ld" = no; then
8628 archive_cmds='$CC -shared ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
8631 archive_cmds='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
8634 archive_cmds='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
8640 archive_cmds='$CC -b ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
8643 archive_cmds='$CC -b ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
8646 archive_cmds='$CC -b ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
8650 if test "$with_gnu_ld" = no; then
8651 hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
8652 hardcode_libdir_separator=:
8657 hardcode_shlibpath_var=no
8661 hardcode_direct_absolute=yes
8662 export_dynamic_flag_spec='${wl}-E'
8664 # hardcode_minus_L: Not really in the search PATH,
8665 # but as the default location of the library.
8666 hardcode_minus_L=yes
8672 irix5* | irix6* | nonstopux*)
8673 if test "$GCC" = yes; then
8674 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname ${wl}$soname `test -n "$verstring" && $ECHO "X${wl}-set_version ${wl}$verstring" | $Xsed` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib'
8675 # Try to use the -exported_symbol ld option, if it does not
8676 # work, assume that -exports_file does not work either and
8677 # implicitly export all symbols.
8678 save_LDFLAGS="$LDFLAGS"
8679 LDFLAGS="$LDFLAGS -shared ${wl}-exported_symbol ${wl}foo ${wl}-update_registry ${wl}/dev/null"
8680 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8681 /* end confdefs.h. */
8684 if ac_fn_c_try_link "$LINENO"; then :
8685 archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname ${wl}$soname `test -n "$verstring" && $ECHO "X${wl}-set_version ${wl}$verstring" | $Xsed` ${wl}-update_registry ${wl}${output_objdir}/so_locations ${wl}-exports_file ${wl}$export_symbols -o $lib'
8688 rm -f core conftest.err conftest.$ac_objext \
8689 conftest$ac_exeext conftest.$ac_ext
8690 LDFLAGS="$save_LDFLAGS"
8692 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags -soname $soname `test -n "$verstring" && $ECHO "X-set_version $verstring" | $Xsed` -update_registry ${output_objdir}/so_locations -o $lib'
8693 archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags -soname $soname `test -n "$verstring" && $ECHO "X-set_version $verstring" | $Xsed` -update_registry ${output_objdir}/so_locations -exports_file $export_symbols -o $lib'
8695 archive_cmds_need_lc='no'
8696 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
8697 hardcode_libdir_separator=:
8699 link_all_deplibs=yes
8702 netbsd* | netbsdelf*-gnu)
8703 if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
8704 archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags' # a.out
8706 archive_cmds='$LD -shared -o $lib $libobjs $deplibs $linker_flags' # ELF
8708 hardcode_libdir_flag_spec='-R$libdir'
8710 hardcode_shlibpath_var=no
8714 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
8716 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
8717 hardcode_libdir_separator=:
8718 hardcode_shlibpath_var=no
8725 if test -f /usr/libexec/ld.so; then
8727 hardcode_shlibpath_var=no
8728 hardcode_direct_absolute=yes
8729 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
8730 archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
8731 archive_expsym_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-retain-symbols-file,$export_symbols'
8732 hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
8733 export_dynamic_flag_spec='${wl}-E'
8736 openbsd[01].* | openbsd2.[0-7] | openbsd2.[0-7].*)
8737 archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
8738 hardcode_libdir_flag_spec='-R$libdir'
8741 archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
8742 hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
8752 hardcode_libdir_flag_spec='-L$libdir'
8753 hardcode_minus_L=yes
8754 allow_undefined_flag=unsupported
8755 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'
8756 old_archive_from_new_cmds='emximp -o $output_objdir/$libname.a $output_objdir/$libname.def'
8760 if test "$GCC" = yes; then
8761 allow_undefined_flag=' ${wl}-expect_unresolved ${wl}\*'
8762 archive_cmds='$CC -shared${allow_undefined_flag} $libobjs $deplibs $compiler_flags ${wl}-soname ${wl}$soname `test -n "$verstring" && $ECHO "X${wl}-set_version ${wl}$verstring" | $Xsed` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib'
8764 allow_undefined_flag=' -expect_unresolved \*'
8765 archive_cmds='$CC -shared${allow_undefined_flag} $libobjs $deplibs $compiler_flags -soname $soname `test -n "$verstring" && $ECHO "X-set_version $verstring" | $Xsed` -update_registry ${output_objdir}/so_locations -o $lib'
8767 archive_cmds_need_lc='no'
8768 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
8769 hardcode_libdir_separator=:
8772 osf4* | osf5*) # as osf3* with the addition of -msym flag
8773 if test "$GCC" = yes; then
8774 allow_undefined_flag=' ${wl}-expect_unresolved ${wl}\*'
8775 archive_cmds='$CC -shared${allow_undefined_flag} $libobjs $deplibs $compiler_flags ${wl}-msym ${wl}-soname ${wl}$soname `test -n "$verstring" && $ECHO "X${wl}-set_version ${wl}$verstring" | $Xsed` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib'
8776 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
8778 allow_undefined_flag=' -expect_unresolved \*'
8779 archive_cmds='$CC -shared${allow_undefined_flag} $libobjs $deplibs $compiler_flags -msym -soname $soname `test -n "$verstring" && $ECHO "X-set_version $verstring" | $Xsed` -update_registry ${output_objdir}/so_locations -o $lib'
8780 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~
8781 $CC -shared${allow_undefined_flag} ${wl}-input ${wl}$lib.exp $compiler_flags $libobjs $deplibs -soname $soname `test -n "$verstring" && $ECHO "X-set_version $verstring" | $Xsed` -update_registry ${output_objdir}/so_locations -o $lib~$RM $lib.exp'
8783 # Both c and cxx compiler support -rpath directly
8784 hardcode_libdir_flag_spec='-rpath $libdir'
8786 archive_cmds_need_lc='no'
8787 hardcode_libdir_separator=:
8791 no_undefined_flag=' -z defs'
8792 if test "$GCC" = yes; then
8794 archive_cmds='$CC -shared ${wl}-z ${wl}text ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
8795 archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
8796 $CC -shared ${wl}-z ${wl}text ${wl}-M ${wl}$lib.exp ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags~$RM $lib.exp'
8798 case `$CC -V 2>&1` in
8801 archive_cmds='$LD -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $linker_flags'
8802 archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
8803 $LD -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$RM $lib.exp'
8807 archive_cmds='$CC -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $compiler_flags'
8808 archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
8809 $CC -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $compiler_flags~$RM $lib.exp'
8813 hardcode_libdir_flag_spec='-R$libdir'
8814 hardcode_shlibpath_var=no
8816 solaris2.[0-5] | solaris2.[0-5].*) ;;
8818 # The compiler driver will combine and reorder linker options,
8819 # but understands `-z linker_flag'. GCC discards it without `$wl',
8820 # but is careful enough not to reorder.
8821 # Supported since Solaris 2.6 (maybe 2.5.1?)
8822 if test "$GCC" = yes; then
8823 whole_archive_flag_spec='${wl}-z ${wl}allextract$convenience ${wl}-z ${wl}defaultextract'
8825 whole_archive_flag_spec='-z allextract$convenience -z defaultextract'
8829 link_all_deplibs=yes
8833 if test "x$host_vendor" = xsequent; then
8834 # Use $CC to link under sequent, because it throws in some extra .o
8835 # files that make .init and .fini sections work.
8836 archive_cmds='$CC -G ${wl}-h $soname -o $lib $libobjs $deplibs $compiler_flags'
8838 archive_cmds='$LD -assert pure-text -Bstatic -o $lib $libobjs $deplibs $linker_flags'
8840 hardcode_libdir_flag_spec='-L$libdir'
8842 hardcode_minus_L=yes
8843 hardcode_shlibpath_var=no
8847 case $host_vendor in
8849 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
8850 hardcode_direct=yes # is this really true???
8853 ## LD is ld it makes a PLAMLIB
8854 ## CC just makes a GrossModule.
8855 archive_cmds='$LD -G -o $lib $libobjs $deplibs $linker_flags'
8856 reload_cmds='$CC -r -o $output$reload_objs'
8860 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
8861 hardcode_direct=no #Motorola manual says yes, but my tests say they lie
8864 runpath_var='LD_RUN_PATH'
8865 hardcode_shlibpath_var=no
8869 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
8870 hardcode_shlibpath_var=no
8871 export_dynamic_flag_spec='-Bexport'
8875 if test -d /usr/nec; then
8876 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
8877 hardcode_shlibpath_var=no
8878 runpath_var=LD_RUN_PATH
8879 hardcode_runpath_var=yes
8884 sysv4*uw2* | sysv5OpenUNIX* | sysv5UnixWare7.[01].[10]* | unixware7* | sco3.2v5.0.[024]*)
8885 no_undefined_flag='${wl}-z,text'
8886 archive_cmds_need_lc=no
8887 hardcode_shlibpath_var=no
8888 runpath_var='LD_RUN_PATH'
8890 if test "$GCC" = yes; then
8891 archive_cmds='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
8892 archive_expsym_cmds='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
8894 archive_cmds='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
8895 archive_expsym_cmds='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
8899 sysv5* | sco3.2v5* | sco5v6*)
8900 # Note: We can NOT use -z defs as we might desire, because we do not
8901 # link with -lc, and that would cause any symbols used from libc to
8902 # always be unresolved, which means just about no library would
8903 # ever link correctly. If we're not using GNU ld we use -z text
8904 # though, which does catch some bad symbols but isn't as heavy-handed
8906 no_undefined_flag='${wl}-z,text'
8907 allow_undefined_flag='${wl}-z,nodefs'
8908 archive_cmds_need_lc=no
8909 hardcode_shlibpath_var=no
8910 hardcode_libdir_flag_spec='${wl}-R,$libdir'
8911 hardcode_libdir_separator=':'
8912 link_all_deplibs=yes
8913 export_dynamic_flag_spec='${wl}-Bexport'
8914 runpath_var='LD_RUN_PATH'
8916 if test "$GCC" = yes; then
8917 archive_cmds='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
8918 archive_expsym_cmds='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
8920 archive_cmds='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
8921 archive_expsym_cmds='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
8926 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
8927 hardcode_libdir_flag_spec='-L$libdir'
8928 hardcode_shlibpath_var=no
8936 if test x$host_vendor = xsni; then
8938 sysv4 | sysv4.2uw2* | sysv4.3* | sysv5*)
8939 export_dynamic_flag_spec='${wl}-Blargedynsym'
8945 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ld_shlibs" >&5
8946 $as_echo "$ld_shlibs" >&6; }
8947 test "$ld_shlibs" = no && can_build_shared=no
8949 with_gnu_ld=$with_gnu_ld
8966 # Do we need to explicitly link libc?
8968 case "x$archive_cmds_need_lc" in
8970 # Assume -lc should be added
8971 archive_cmds_need_lc=yes
8973 if test "$enable_shared" = yes && test "$GCC" = yes; then
8974 case $archive_cmds in
8976 # FIXME: we may have to deal with multi-command sequences.
8979 # Test whether the compiler implicitly links with -lc since on some
8980 # systems, -lgcc has to come before -lc. If gcc already passes -lc
8981 # to ld, don't add -lc before -lgcc.
8982 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether -lc should be explicitly linked in" >&5
8983 $as_echo_n "checking whether -lc should be explicitly linked in... " >&6; }
8985 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
8987 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
8988 (eval $ac_compile) 2>&5
8990 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
8991 test $ac_status = 0; } 2>conftest.err; then
8994 libobjs=conftest.$ac_objext
8996 wl=$lt_prog_compiler_wl
8997 pic_flag=$lt_prog_compiler_pic
9003 lt_save_allow_undefined_flag=$allow_undefined_flag
9004 allow_undefined_flag=
9005 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$archive_cmds 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1\""; } >&5
9006 (eval $archive_cmds 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1) 2>&5
9008 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
9009 test $ac_status = 0; }
9011 archive_cmds_need_lc=no
9013 archive_cmds_need_lc=yes
9015 allow_undefined_flag=$lt_save_allow_undefined_flag
9017 cat conftest.err 1>&5
9020 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $archive_cmds_need_lc" >&5
9021 $as_echo "$archive_cmds_need_lc" >&6; }
9184 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dynamic linker characteristics" >&5
9185 $as_echo_n "checking dynamic linker characteristics... " >&6; }
9187 if test "$GCC" = yes; then
9189 darwin*) lt_awk_arg="/^libraries:/,/LR/" ;;
9190 *) lt_awk_arg="/^libraries:/" ;;
9192 lt_search_path_spec=`$CC -print-search-dirs | awk $lt_awk_arg | $SED -e "s/^libraries://" -e "s,=/,/,g"`
9193 if $ECHO "$lt_search_path_spec" | $GREP ';' >/dev/null ; then
9194 # if the path contains ";" then we assume it to be the separator
9195 # otherwise default to the standard path separator (i.e. ":") - it is
9196 # assumed that no part of a normal pathname contains ";" but that should
9197 # okay in the real world where ";" in dirpaths is itself problematic.
9198 lt_search_path_spec=`$ECHO "$lt_search_path_spec" | $SED -e 's/;/ /g'`
9200 lt_search_path_spec=`$ECHO "$lt_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
9202 # Ok, now we have the path, separated by spaces, we can step through it
9203 # and add multilib dir if necessary.
9204 lt_tmp_lt_search_path_spec=
9205 lt_multi_os_dir=`$CC $CPPFLAGS $CFLAGS $LDFLAGS -print-multi-os-directory 2>/dev/null`
9206 for lt_sys_path in $lt_search_path_spec; do
9207 if test -d "$lt_sys_path/$lt_multi_os_dir"; then
9208 lt_tmp_lt_search_path_spec="$lt_tmp_lt_search_path_spec $lt_sys_path/$lt_multi_os_dir"
9210 test -d "$lt_sys_path" && \
9211 lt_tmp_lt_search_path_spec="$lt_tmp_lt_search_path_spec $lt_sys_path"
9214 lt_search_path_spec=`$ECHO $lt_tmp_lt_search_path_spec | awk '
9215 BEGIN {RS=" "; FS="/|\n";} {
9218 for (lt_i = NF; lt_i > 0; lt_i--) {
9219 if ($lt_i != "" && $lt_i != ".") {
9220 if ($lt_i == "..") {
9223 if (lt_count == 0) {
9224 lt_foo="/" $lt_i lt_foo;
9231 if (lt_foo != "") { lt_freq[lt_foo]++; }
9232 if (lt_freq[lt_foo] == 1) { print lt_foo; }
9234 sys_lib_search_path_spec=`$ECHO $lt_search_path_spec`
9236 sys_lib_search_path_spec="/lib /usr/lib /usr/local/lib"
9239 libname_spec='lib$name'
9247 shlibpath_overrides_runpath=unknown
9249 dynamic_linker="$host_os ld.so"
9250 sys_lib_dlsearch_path_spec="/lib /usr/lib"
9251 need_lib_prefix=unknown
9252 hardcode_into_libs=no
9254 # when you set need_version to no, make sure it does not cause -set_version
9255 # flags to be left without arguments
9256 need_version=unknown
9261 library_names_spec='${libname}${release}${shared_ext}$versuffix $libname.a'
9262 shlibpath_var=LIBPATH
9264 # AIX 3 has no versioning support, so we append a major version to the name.
9265 soname_spec='${libname}${release}${shared_ext}$major'
9272 hardcode_into_libs=yes
9273 if test "$host_cpu" = ia64; then
9274 # AIX 5 supports IA64
9275 library_names_spec='${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext}$versuffix $libname${shared_ext}'
9276 shlibpath_var=LD_LIBRARY_PATH
9278 # With GCC up to 2.95.x, collect2 would create an import file
9279 # for dependence libraries. The import file would start with
9280 # the line `#! .'. This would cause the generated library to
9281 # depend on `.', always an invalid library. This was fixed in
9282 # development snapshots of GCC prior to 3.0.
9284 aix4 | aix4.[01] | aix4.[01].*)
9285 if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
9287 echo '#endif'; } | ${CC} -E - | $GREP yes > /dev/null; then
9294 # AIX (on Power*) has no versioning support, so currently we can not hardcode correct
9295 # soname into executable. Probably we can add versioning support to
9296 # collect2, so additional links can be useful in future.
9297 if test "$aix_use_runtimelinking" = yes; then
9298 # If using run time linking (on AIX 4.2 or later) use lib<name>.so
9299 # instead of lib<name>.a to let people know that these are not
9300 # typical AIX shared libraries.
9301 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
9303 # We preserve .a as extension for shared libraries through AIX4.2
9304 # and later when we are not doing run time linking.
9305 library_names_spec='${libname}${release}.a $libname.a'
9306 soname_spec='${libname}${release}${shared_ext}$major'
9308 shlibpath_var=LIBPATH
9315 # Since July 2007 AmigaOS4 officially supports .so libraries.
9316 # When compiling the executable, add -use-dynld -Lsobjs: to the compileline.
9317 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
9320 library_names_spec='$libname.ixlibrary $libname.a'
9321 # Create ${libname}_ixlibrary.a entries in /sys/libs.
9322 finish_eval='for lib in `ls $libdir/*.ixlibrary 2>/dev/null`; do libname=`$ECHO "X$lib" | $Xsed -e '\''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'
9328 library_names_spec='${libname}${shared_ext}'
9329 dynamic_linker="$host_os ld.so"
9330 shlibpath_var=LIBRARY_PATH
9336 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
9337 soname_spec='${libname}${release}${shared_ext}$major'
9338 finish_cmds='PATH="\$PATH:/sbin" ldconfig $libdir'
9339 shlibpath_var=LD_LIBRARY_PATH
9340 sys_lib_search_path_spec="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
9341 sys_lib_dlsearch_path_spec="/shlib /usr/lib /usr/local/lib"
9342 # the default ld.so.conf also contains /usr/contrib/lib and
9343 # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
9344 # libtool to hard-code these into programs
9347 cygwin* | mingw* | pw32* | cegcc*)
9348 version_type=windows
9353 case $GCC,$host_os in
9354 yes,cygwin* | yes,mingw* | yes,pw32* | yes,cegcc*)
9355 library_names_spec='$libname.dll.a'
9356 # DLL is installed to $(libdir)/../bin by postinstall_cmds
9357 postinstall_cmds='base_file=`basename \${file}`~
9358 dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i; echo \$dlname'\''`~
9359 dldir=$destdir/`dirname \$dlpath`~
9360 test -d \$dldir || mkdir -p \$dldir~
9361 $install_prog $dir/$dlname \$dldir/$dlname~
9362 chmod a+x \$dldir/$dlname~
9363 if test -n '\''$stripme'\'' && test -n '\''$striplib'\''; then
9364 eval '\''$striplib \$dldir/$dlname'\'' || exit \$?;
9366 postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
9367 dlpath=$dir/\$dldll~
9369 shlibpath_overrides_runpath=yes
9373 # Cygwin DLLs use 'cyg' prefix rather than 'lib'
9374 soname_spec='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
9375 sys_lib_search_path_spec="/usr/lib /lib/w32api /lib /usr/local/lib"
9378 # MinGW DLLs use traditional 'lib' prefix
9379 soname_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
9380 sys_lib_search_path_spec=`$CC -print-search-dirs | $GREP "^libraries:" | $SED -e "s/^libraries://" -e "s,=/,/,g"`
9381 if $ECHO "$sys_lib_search_path_spec" | $GREP ';[c-zC-Z]:/' >/dev/null; then
9382 # It is most probably a Windows format PATH printed by
9383 # mingw gcc, but we are running on Cygwin. Gcc prints its search
9384 # path with ; separators, and with drive letters. We can handle the
9385 # drive letters (cygwin fileutils understands them), so leave them,
9386 # especially as we might pass files found there to a mingw objdump,
9387 # which wouldn't understand a cygwinified path. Ahh.
9388 sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
9390 sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
9394 # pw32 DLLs use 'pw' prefix rather than 'lib'
9395 library_names_spec='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
9401 library_names_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext} $libname.lib'
9404 dynamic_linker='Win32 ld.exe'
9405 # FIXME: first we should search . and the directory the executable is in
9409 darwin* | rhapsody*)
9410 dynamic_linker="$host_os dyld"
9414 library_names_spec='${libname}${release}${major}$shared_ext ${libname}$shared_ext'
9415 soname_spec='${libname}${release}${major}$shared_ext'
9416 shlibpath_overrides_runpath=yes
9417 shlibpath_var=DYLD_LIBRARY_PATH
9418 shrext_cmds='`test .$module = .yes && echo .so || echo .dylib`'
9420 sys_lib_search_path_spec="$sys_lib_search_path_spec /usr/local/lib"
9421 sys_lib_dlsearch_path_spec='/usr/local/lib /lib /usr/lib'
9428 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname$shared_ext'
9429 soname_spec='${libname}${release}${shared_ext}$major'
9430 shlibpath_var=LD_LIBRARY_PATH
9437 freebsd* | dragonfly*)
9438 # DragonFly does not have aout. When/if they implement a new
9439 # versioning mechanism, adjust this.
9440 if test -x /usr/bin/objformat; then
9441 objformat=`/usr/bin/objformat`
9444 freebsd[123]*) objformat=aout ;;
9448 version_type=freebsd-$objformat
9449 case $version_type in
9451 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
9456 library_names_spec='${libname}${release}${shared_ext}$versuffix $libname${shared_ext}$versuffix'
9460 shlibpath_var=LD_LIBRARY_PATH
9463 shlibpath_overrides_runpath=yes
9465 freebsd3.[01]* | freebsdelf3.[01]*)
9466 shlibpath_overrides_runpath=yes
9467 hardcode_into_libs=yes
9469 freebsd3.[2-9]* | freebsdelf3.[2-9]* | \
9470 freebsd4.[0-5] | freebsdelf4.[0-5] | freebsd4.1.1 | freebsdelf4.1.1)
9471 shlibpath_overrides_runpath=no
9472 hardcode_into_libs=yes
9474 *) # from 4.6 on, and DragonFly
9475 shlibpath_overrides_runpath=yes
9476 hardcode_into_libs=yes
9485 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
9486 soname_spec='${libname}${release}${shared_ext}$major'
9487 shlibpath_var=LD_LIBRARY_PATH
9488 hardcode_into_libs=yes
9491 hpux9* | hpux10* | hpux11*)
9492 # Give a soname corresponding to the major version so that dld.sl refuses to
9493 # link against other versions.
9500 hardcode_into_libs=yes
9501 dynamic_linker="$host_os dld.so"
9502 shlibpath_var=LD_LIBRARY_PATH
9503 shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
9504 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
9505 soname_spec='${libname}${release}${shared_ext}$major'
9506 if test "X$HPUX_IA64_MODE" = X32; then
9507 sys_lib_search_path_spec="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
9509 sys_lib_search_path_spec="/usr/lib/hpux64 /usr/local/lib/hpux64"
9511 sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
9515 hardcode_into_libs=yes
9516 dynamic_linker="$host_os dld.sl"
9517 shlibpath_var=LD_LIBRARY_PATH # How should we handle SHLIB_PATH
9518 shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
9519 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
9520 soname_spec='${libname}${release}${shared_ext}$major'
9521 sys_lib_search_path_spec="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
9522 sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
9526 dynamic_linker="$host_os dld.sl"
9527 shlibpath_var=SHLIB_PATH
9528 shlibpath_overrides_runpath=no # +s is required to enable SHLIB_PATH
9529 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
9530 soname_spec='${libname}${release}${shared_ext}$major'
9533 # HP-UX runs *really* slowly unless shared libraries are mode 555.
9534 postinstall_cmds='chmod 555 $lib'
9541 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
9542 soname_spec='${libname}${release}${shared_ext}$major'
9543 dynamic_linker='Interix 3.x ld.so.1 (PE, like ELF)'
9544 shlibpath_var=LD_LIBRARY_PATH
9545 shlibpath_overrides_runpath=no
9546 hardcode_into_libs=yes
9549 irix5* | irix6* | nonstopux*)
9551 nonstopux*) version_type=nonstopux ;;
9553 if test "$lt_cv_prog_gnu_ld" = yes; then
9561 soname_spec='${libname}${release}${shared_ext}$major'
9562 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} $libname${shared_ext}'
9564 irix5* | nonstopux*)
9568 case $LD in # libtool.m4 will add one of these switches to LD
9569 *-32|*"-32 "|*-melf32bsmip|*"-melf32bsmip ")
9570 libsuff= shlibsuff= libmagic=32-bit;;
9571 *-n32|*"-n32 "|*-melf32bmipn32|*"-melf32bmipn32 ")
9572 libsuff=32 shlibsuff=N32 libmagic=N32;;
9573 *-64|*"-64 "|*-melf64bmip|*"-melf64bmip ")
9574 libsuff=64 shlibsuff=64 libmagic=64-bit;;
9575 *) libsuff= shlibsuff= libmagic=never-match;;
9579 shlibpath_var=LD_LIBRARY${shlibsuff}_PATH
9580 shlibpath_overrides_runpath=no
9581 sys_lib_search_path_spec="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}"
9582 sys_lib_dlsearch_path_spec="/usr/lib${libsuff} /lib${libsuff}"
9583 hardcode_into_libs=yes
9586 # No shared lib support for Linux oldld, aout, or coff.
9587 linux*oldld* | linux*aout* | linux*coff*)
9591 # This must be Linux ELF.
9592 linux* | k*bsd*-gnu | kopensolaris*-gnu)
9596 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
9597 soname_spec='${libname}${release}${shared_ext}$major'
9598 finish_cmds='PATH="\$PATH:/sbin" ldconfig -n $libdir'
9599 shlibpath_var=LD_LIBRARY_PATH
9600 shlibpath_overrides_runpath=no
9601 # Some binutils ld are patched to set DT_RUNPATH
9602 save_LDFLAGS=$LDFLAGS
9604 eval "libdir=/foo; wl=\"$lt_prog_compiler_wl\"; \
9605 LDFLAGS=\"\$LDFLAGS $hardcode_libdir_flag_spec\""
9606 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9607 /* end confdefs.h. */
9617 if ac_fn_c_try_link "$LINENO"; then :
9618 if ($OBJDUMP -p conftest$ac_exeext) 2>/dev/null | grep "RUNPATH.*$libdir" >/dev/null; then :
9619 shlibpath_overrides_runpath=yes
9622 rm -f core conftest.err conftest.$ac_objext \
9623 conftest$ac_exeext conftest.$ac_ext
9624 LDFLAGS=$save_LDFLAGS
9627 # This implies no fast_install, which is unacceptable.
9628 # Some rework will be needed to allow for fast_install
9629 # before this can be enabled.
9630 hardcode_into_libs=yes
9632 # Append ld.so.conf contents to the search path
9633 if test -f /etc/ld.so.conf; then
9634 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;/^$/d' | tr '\n' ' '`
9635 sys_lib_dlsearch_path_spec="/lib /usr/lib $lt_ld_extra"
9638 # We used to test for /lib/ld.so.1 and disable shared libraries on
9639 # powerpc, because MkLinux only supported shared libraries with the
9640 # GNU dynamic linker. Since this was broken with cross compilers,
9641 # most powerpc-linux boxes support dynamic linking these days and
9642 # people can always --disable-shared, the test was removed, and we
9643 # assume the GNU/Linux dynamic linker is in use.
9644 dynamic_linker='GNU/Linux ld.so'
9651 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
9652 soname_spec='${libname}${release}${shared_ext}$major'
9653 shlibpath_var=LD_LIBRARY_PATH
9654 shlibpath_overrides_runpath=no
9655 hardcode_into_libs=yes
9656 dynamic_linker='NetBSD ld.elf_so'
9663 if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
9664 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
9665 finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
9666 dynamic_linker='NetBSD (a.out) ld.so'
9668 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
9669 soname_spec='${libname}${release}${shared_ext}$major'
9670 dynamic_linker='NetBSD ld.elf_so'
9672 shlibpath_var=LD_LIBRARY_PATH
9673 shlibpath_overrides_runpath=yes
9674 hardcode_into_libs=yes
9679 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
9680 shlibpath_var=LD_LIBRARY_PATH
9681 shlibpath_overrides_runpath=yes
9688 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
9689 soname_spec='${libname}${release}${shared_ext}$major'
9690 shlibpath_var=LD_LIBRARY_PATH
9691 shlibpath_overrides_runpath=no
9692 hardcode_into_libs=yes
9693 dynamic_linker='ldqnx.so'
9698 sys_lib_dlsearch_path_spec="/usr/lib"
9700 # Some older versions of OpenBSD (3.3 at least) *do* need versioned libs.
9702 openbsd3.3 | openbsd3.3.*) need_version=yes ;;
9703 *) need_version=no ;;
9705 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
9706 finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
9707 shlibpath_var=LD_LIBRARY_PATH
9708 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
9710 openbsd2.[89] | openbsd2.[89].*)
9711 shlibpath_overrides_runpath=no
9714 shlibpath_overrides_runpath=yes
9718 shlibpath_overrides_runpath=yes
9723 libname_spec='$name'
9726 library_names_spec='$libname${shared_ext} $libname.a'
9727 dynamic_linker='OS/2 ld.exe'
9728 shlibpath_var=LIBPATH
9731 osf3* | osf4* | osf5*)
9735 soname_spec='${libname}${release}${shared_ext}$major'
9736 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
9737 shlibpath_var=LD_LIBRARY_PATH
9738 sys_lib_search_path_spec="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
9739 sys_lib_dlsearch_path_spec="$sys_lib_search_path_spec"
9750 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
9751 soname_spec='${libname}${release}${shared_ext}$major'
9752 shlibpath_var=LD_LIBRARY_PATH
9753 shlibpath_overrides_runpath=yes
9754 hardcode_into_libs=yes
9755 # ldd complains unless libraries are executable
9756 postinstall_cmds='chmod +x $lib'
9761 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
9762 finish_cmds='PATH="\$PATH:/usr/etc" ldconfig $libdir'
9763 shlibpath_var=LD_LIBRARY_PATH
9764 shlibpath_overrides_runpath=yes
9765 if test "$with_gnu_ld" = yes; then
9773 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
9774 soname_spec='${libname}${release}${shared_ext}$major'
9775 shlibpath_var=LD_LIBRARY_PATH
9776 case $host_vendor in
9778 shlibpath_overrides_runpath=no
9780 runpath_var=LD_RUN_PATH
9788 shlibpath_overrides_runpath=no
9789 sys_lib_search_path_spec='/lib /usr/lib /usr/ccs/lib'
9795 if test -d /usr/nec ;then
9797 library_names_spec='$libname${shared_ext}.$versuffix $libname${shared_ext}.$major $libname${shared_ext}'
9798 soname_spec='$libname${shared_ext}.$major'
9799 shlibpath_var=LD_LIBRARY_PATH
9803 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
9804 version_type=freebsd-elf
9807 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
9808 soname_spec='${libname}${release}${shared_ext}$major'
9809 shlibpath_var=LD_LIBRARY_PATH
9810 shlibpath_overrides_runpath=yes
9811 hardcode_into_libs=yes
9812 if test "$with_gnu_ld" = yes; then
9813 sys_lib_search_path_spec='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib'
9815 sys_lib_search_path_spec='/usr/ccs/lib /usr/lib'
9818 sys_lib_search_path_spec="$sys_lib_search_path_spec /lib"
9822 sys_lib_dlsearch_path_spec='/usr/lib'
9826 # TPF is a cross-target only. Preferred cross-host = GNU/Linux.
9830 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
9831 shlibpath_var=LD_LIBRARY_PATH
9832 shlibpath_overrides_runpath=no
9833 hardcode_into_libs=yes
9838 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
9839 soname_spec='${libname}${release}${shared_ext}$major'
9840 shlibpath_var=LD_LIBRARY_PATH
9847 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $dynamic_linker" >&5
9848 $as_echo "$dynamic_linker" >&6; }
9849 test "$dynamic_linker" = no && can_build_shared=no
9851 variables_saved_for_relink="PATH $shlibpath_var $runpath_var"
9852 if test "$GCC" = yes; then
9853 variables_saved_for_relink="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
9856 if test "${lt_cv_sys_lib_search_path_spec+set}" = set; then
9857 sys_lib_search_path_spec="$lt_cv_sys_lib_search_path_spec"
9859 if test "${lt_cv_sys_lib_dlsearch_path_spec+set}" = set; then
9860 sys_lib_dlsearch_path_spec="$lt_cv_sys_lib_dlsearch_path_spec"
9949 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to hardcode library paths into programs" >&5
9950 $as_echo_n "checking how to hardcode library paths into programs... " >&6; }
9952 if test -n "$hardcode_libdir_flag_spec" ||
9953 test -n "$runpath_var" ||
9954 test "X$hardcode_automatic" = "Xyes" ; then
9956 # We can hardcode non-existent directories.
9957 if test "$hardcode_direct" != no &&
9958 # If the only mechanism to avoid hardcoding is shlibpath_var, we
9959 # have to relink, otherwise we might link with an installed library
9960 # when we should be linking with a yet-to-be-installed one
9961 ## test "$_LT_TAGVAR(hardcode_shlibpath_var, )" != no &&
9962 test "$hardcode_minus_L" != no; then
9963 # Linking always hardcodes the temporary library directory.
9964 hardcode_action=relink
9966 # We can link without hardcoding, and we can hardcode nonexisting dirs.
9967 hardcode_action=immediate
9970 # We cannot hardcode anything, or else we can only hardcode existing
9972 hardcode_action=unsupported
9974 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hardcode_action" >&5
9975 $as_echo "$hardcode_action" >&6; }
9977 if test "$hardcode_action" = relink ||
9978 test "$inherit_rpath" = yes; then
9979 # Fast installation is not supported
9980 enable_fast_install=no
9981 elif test "$shlibpath_overrides_runpath" = yes ||
9982 test "$enable_shared" = no; then
9983 # Fast installation is not necessary
9984 enable_fast_install=needless
9992 if test "x$enable_dlopen" != xyes; then
9993 enable_dlopen=unknown
9994 enable_dlopen_self=unknown
9995 enable_dlopen_self_static=unknown
10002 lt_cv_dlopen="load_add_on"
10004 lt_cv_dlopen_self=yes
10007 mingw* | pw32* | cegcc*)
10008 lt_cv_dlopen="LoadLibrary"
10013 lt_cv_dlopen="dlopen"
10018 # if libdl is installed we need to link against it
10019 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
10020 $as_echo_n "checking for dlopen in -ldl... " >&6; }
10021 if test "${ac_cv_lib_dl_dlopen+set}" = set; then :
10022 $as_echo_n "(cached) " >&6
10024 ac_check_lib_save_LIBS=$LIBS
10026 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10027 /* end confdefs.h. */
10029 /* Override any GCC internal prototype to avoid an error.
10030 Use char because int might match the return type of a GCC
10031 builtin and then its argument prototype would still apply. */
10044 if ac_fn_c_try_link "$LINENO"; then :
10045 ac_cv_lib_dl_dlopen=yes
10047 ac_cv_lib_dl_dlopen=no
10049 rm -f core conftest.err conftest.$ac_objext \
10050 conftest$ac_exeext conftest.$ac_ext
10051 LIBS=$ac_check_lib_save_LIBS
10053 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
10054 $as_echo "$ac_cv_lib_dl_dlopen" >&6; }
10055 if test "x$ac_cv_lib_dl_dlopen" = x""yes; then :
10056 lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl"
10059 lt_cv_dlopen="dyld"
10061 lt_cv_dlopen_self=yes
10068 ac_fn_c_check_func "$LINENO" "shl_load" "ac_cv_func_shl_load"
10069 if test "x$ac_cv_func_shl_load" = x""yes; then :
10070 lt_cv_dlopen="shl_load"
10072 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for shl_load in -ldld" >&5
10073 $as_echo_n "checking for shl_load in -ldld... " >&6; }
10074 if test "${ac_cv_lib_dld_shl_load+set}" = set; then :
10075 $as_echo_n "(cached) " >&6
10077 ac_check_lib_save_LIBS=$LIBS
10079 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10080 /* end confdefs.h. */
10082 /* Override any GCC internal prototype to avoid an error.
10083 Use char because int might match the return type of a GCC
10084 builtin and then its argument prototype would still apply. */
10092 return shl_load ();
10097 if ac_fn_c_try_link "$LINENO"; then :
10098 ac_cv_lib_dld_shl_load=yes
10100 ac_cv_lib_dld_shl_load=no
10102 rm -f core conftest.err conftest.$ac_objext \
10103 conftest$ac_exeext conftest.$ac_ext
10104 LIBS=$ac_check_lib_save_LIBS
10106 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_shl_load" >&5
10107 $as_echo "$ac_cv_lib_dld_shl_load" >&6; }
10108 if test "x$ac_cv_lib_dld_shl_load" = x""yes; then :
10109 lt_cv_dlopen="shl_load" lt_cv_dlopen_libs="-ldld"
10111 ac_fn_c_check_func "$LINENO" "dlopen" "ac_cv_func_dlopen"
10112 if test "x$ac_cv_func_dlopen" = x""yes; then :
10113 lt_cv_dlopen="dlopen"
10115 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
10116 $as_echo_n "checking for dlopen in -ldl... " >&6; }
10117 if test "${ac_cv_lib_dl_dlopen+set}" = set; then :
10118 $as_echo_n "(cached) " >&6
10120 ac_check_lib_save_LIBS=$LIBS
10122 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10123 /* end confdefs.h. */
10125 /* Override any GCC internal prototype to avoid an error.
10126 Use char because int might match the return type of a GCC
10127 builtin and then its argument prototype would still apply. */
10140 if ac_fn_c_try_link "$LINENO"; then :
10141 ac_cv_lib_dl_dlopen=yes
10143 ac_cv_lib_dl_dlopen=no
10145 rm -f core conftest.err conftest.$ac_objext \
10146 conftest$ac_exeext conftest.$ac_ext
10147 LIBS=$ac_check_lib_save_LIBS
10149 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
10150 $as_echo "$ac_cv_lib_dl_dlopen" >&6; }
10151 if test "x$ac_cv_lib_dl_dlopen" = x""yes; then :
10152 lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl"
10154 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -lsvld" >&5
10155 $as_echo_n "checking for dlopen in -lsvld... " >&6; }
10156 if test "${ac_cv_lib_svld_dlopen+set}" = set; then :
10157 $as_echo_n "(cached) " >&6
10159 ac_check_lib_save_LIBS=$LIBS
10160 LIBS="-lsvld $LIBS"
10161 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10162 /* end confdefs.h. */
10164 /* Override any GCC internal prototype to avoid an error.
10165 Use char because int might match the return type of a GCC
10166 builtin and then its argument prototype would still apply. */
10179 if ac_fn_c_try_link "$LINENO"; then :
10180 ac_cv_lib_svld_dlopen=yes
10182 ac_cv_lib_svld_dlopen=no
10184 rm -f core conftest.err conftest.$ac_objext \
10185 conftest$ac_exeext conftest.$ac_ext
10186 LIBS=$ac_check_lib_save_LIBS
10188 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_svld_dlopen" >&5
10189 $as_echo "$ac_cv_lib_svld_dlopen" >&6; }
10190 if test "x$ac_cv_lib_svld_dlopen" = x""yes; then :
10191 lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-lsvld"
10193 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dld_link in -ldld" >&5
10194 $as_echo_n "checking for dld_link in -ldld... " >&6; }
10195 if test "${ac_cv_lib_dld_dld_link+set}" = set; then :
10196 $as_echo_n "(cached) " >&6
10198 ac_check_lib_save_LIBS=$LIBS
10200 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10201 /* end confdefs.h. */
10203 /* Override any GCC internal prototype to avoid an error.
10204 Use char because int might match the return type of a GCC
10205 builtin and then its argument prototype would still apply. */
10213 return dld_link ();
10218 if ac_fn_c_try_link "$LINENO"; then :
10219 ac_cv_lib_dld_dld_link=yes
10221 ac_cv_lib_dld_dld_link=no
10223 rm -f core conftest.err conftest.$ac_objext \
10224 conftest$ac_exeext conftest.$ac_ext
10225 LIBS=$ac_check_lib_save_LIBS
10227 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_dld_link" >&5
10228 $as_echo "$ac_cv_lib_dld_dld_link" >&6; }
10229 if test "x$ac_cv_lib_dld_dld_link" = x""yes; then :
10230 lt_cv_dlopen="dld_link" lt_cv_dlopen_libs="-ldld"
10251 if test "x$lt_cv_dlopen" != xno; then
10257 case $lt_cv_dlopen in
10259 save_CPPFLAGS="$CPPFLAGS"
10260 test "x$ac_cv_header_dlfcn_h" = xyes && CPPFLAGS="$CPPFLAGS -DHAVE_DLFCN_H"
10262 save_LDFLAGS="$LDFLAGS"
10263 wl=$lt_prog_compiler_wl eval LDFLAGS=\"\$LDFLAGS $export_dynamic_flag_spec\"
10266 LIBS="$lt_cv_dlopen_libs $LIBS"
10268 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether a program can dlopen itself" >&5
10269 $as_echo_n "checking whether a program can dlopen itself... " >&6; }
10270 if test "${lt_cv_dlopen_self+set}" = set; then :
10271 $as_echo_n "(cached) " >&6
10273 if test "$cross_compiling" = yes; then :
10274 lt_cv_dlopen_self=cross
10276 lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
10277 lt_status=$lt_dlunknown
10278 cat > conftest.$ac_ext <<_LT_EOF
10279 #line 10279 "configure"
10280 #include "confdefs.h"
10289 # define LT_DLGLOBAL RTLD_GLOBAL
10292 # define LT_DLGLOBAL DL_GLOBAL
10294 # define LT_DLGLOBAL 0
10298 /* We may have to define LT_DLLAZY_OR_NOW in the command line if we
10299 find out it does not work in some platform. */
10300 #ifndef LT_DLLAZY_OR_NOW
10302 # define LT_DLLAZY_OR_NOW RTLD_LAZY
10305 # define LT_DLLAZY_OR_NOW DL_LAZY
10308 # define LT_DLLAZY_OR_NOW RTLD_NOW
10311 # define LT_DLLAZY_OR_NOW DL_NOW
10313 # define LT_DLLAZY_OR_NOW 0
10320 void fnord() { int i=42;}
10323 void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
10324 int status = $lt_dlunknown;
10328 if (dlsym (self,"fnord")) status = $lt_dlno_uscore;
10329 else if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
10330 /* dlclose (self); */
10338 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
10339 (eval $ac_link) 2>&5
10341 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
10342 test $ac_status = 0; } && test -s conftest${ac_exeext} 2>/dev/null; then
10343 (./conftest; exit; ) >&5 2>/dev/null
10345 case x$lt_status in
10346 x$lt_dlno_uscore) lt_cv_dlopen_self=yes ;;
10347 x$lt_dlneed_uscore) lt_cv_dlopen_self=yes ;;
10348 x$lt_dlunknown|x*) lt_cv_dlopen_self=no ;;
10351 # compilation failed
10352 lt_cv_dlopen_self=no
10359 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_dlopen_self" >&5
10360 $as_echo "$lt_cv_dlopen_self" >&6; }
10362 if test "x$lt_cv_dlopen_self" = xyes; then
10363 wl=$lt_prog_compiler_wl eval LDFLAGS=\"\$LDFLAGS $lt_prog_compiler_static\"
10364 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether a statically linked program can dlopen itself" >&5
10365 $as_echo_n "checking whether a statically linked program can dlopen itself... " >&6; }
10366 if test "${lt_cv_dlopen_self_static+set}" = set; then :
10367 $as_echo_n "(cached) " >&6
10369 if test "$cross_compiling" = yes; then :
10370 lt_cv_dlopen_self_static=cross
10372 lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
10373 lt_status=$lt_dlunknown
10374 cat > conftest.$ac_ext <<_LT_EOF
10375 #line 10375 "configure"
10376 #include "confdefs.h"
10385 # define LT_DLGLOBAL RTLD_GLOBAL
10388 # define LT_DLGLOBAL DL_GLOBAL
10390 # define LT_DLGLOBAL 0
10394 /* We may have to define LT_DLLAZY_OR_NOW in the command line if we
10395 find out it does not work in some platform. */
10396 #ifndef LT_DLLAZY_OR_NOW
10398 # define LT_DLLAZY_OR_NOW RTLD_LAZY
10401 # define LT_DLLAZY_OR_NOW DL_LAZY
10404 # define LT_DLLAZY_OR_NOW RTLD_NOW
10407 # define LT_DLLAZY_OR_NOW DL_NOW
10409 # define LT_DLLAZY_OR_NOW 0
10416 void fnord() { int i=42;}
10419 void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
10420 int status = $lt_dlunknown;
10424 if (dlsym (self,"fnord")) status = $lt_dlno_uscore;
10425 else if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
10426 /* dlclose (self); */
10434 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
10435 (eval $ac_link) 2>&5
10437 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
10438 test $ac_status = 0; } && test -s conftest${ac_exeext} 2>/dev/null; then
10439 (./conftest; exit; ) >&5 2>/dev/null
10441 case x$lt_status in
10442 x$lt_dlno_uscore) lt_cv_dlopen_self_static=yes ;;
10443 x$lt_dlneed_uscore) lt_cv_dlopen_self_static=yes ;;
10444 x$lt_dlunknown|x*) lt_cv_dlopen_self_static=no ;;
10447 # compilation failed
10448 lt_cv_dlopen_self_static=no
10455 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_dlopen_self_static" >&5
10456 $as_echo "$lt_cv_dlopen_self_static" >&6; }
10459 CPPFLAGS="$save_CPPFLAGS"
10460 LDFLAGS="$save_LDFLAGS"
10465 case $lt_cv_dlopen_self in
10466 yes|no) enable_dlopen_self=$lt_cv_dlopen_self ;;
10467 *) enable_dlopen_self=unknown ;;
10470 case $lt_cv_dlopen_self_static in
10471 yes|no) enable_dlopen_self_static=$lt_cv_dlopen_self_static ;;
10472 *) enable_dlopen_self_static=unknown ;;
10494 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether stripping libraries is possible" >&5
10495 $as_echo_n "checking whether stripping libraries is possible... " >&6; }
10496 if test -n "$STRIP" && $STRIP -V 2>&1 | $GREP "GNU strip" >/dev/null; then
10497 test -z "$old_striplib" && old_striplib="$STRIP --strip-debug"
10498 test -z "$striplib" && striplib="$STRIP --strip-unneeded"
10499 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
10500 $as_echo "yes" >&6; }
10502 # FIXME - insert some real tests, host_os isn't really good enough
10505 if test -n "$STRIP" ; then
10506 striplib="$STRIP -x"
10507 old_striplib="$STRIP -S"
10508 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
10509 $as_echo "yes" >&6; }
10511 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
10512 $as_echo "no" >&6; }
10516 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
10517 $as_echo "no" >&6; }
10533 # Report which library types will actually be built
10534 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if libtool supports shared libraries" >&5
10535 $as_echo_n "checking if libtool supports shared libraries... " >&6; }
10536 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $can_build_shared" >&5
10537 $as_echo "$can_build_shared" >&6; }
10539 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build shared libraries" >&5
10540 $as_echo_n "checking whether to build shared libraries... " >&6; }
10541 test "$can_build_shared" = "no" && enable_shared=no
10543 # On AIX, shared libraries and static libraries use the same namespace, and
10544 # are all built from PIC.
10547 test "$enable_shared" = yes && enable_static=no
10548 if test -n "$RANLIB"; then
10549 archive_cmds="$archive_cmds~\$RANLIB \$lib"
10550 postinstall_cmds='$RANLIB $lib'
10555 if test "$host_cpu" != ia64 && test "$aix_use_runtimelinking" = no ; then
10556 test "$enable_shared" = yes && enable_static=no
10560 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_shared" >&5
10561 $as_echo "$enable_shared" >&6; }
10563 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build static libraries" >&5
10564 $as_echo_n "checking whether to build static libraries... " >&6; }
10565 # Make sure either enable_shared or enable_static is yes.
10566 test "$enable_shared" = yes || enable_static=yes
10567 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_static" >&5
10568 $as_echo "$enable_static" >&6; }
10575 ac_cpp='$CPP $CPPFLAGS'
10576 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
10577 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
10578 ac_compiler_gnu=$ac_cv_c_compiler_gnu
10594 ac_config_commands="$ac_config_commands libtool"
10599 # Only expand once:
10603 ##--##--##--##--##--##--##--##--##--##--##--##--##--##--##--##--##
10604 ##--##--##--##--##--##--##--##--##--##--##--##--##--##--##--##--##
10608 cat >>confdefs.h <<_ACEOF
10613 cat >>confdefs.h <<_ACEOF
10618 cat >>confdefs.h <<_ACEOF
10623 cat >>confdefs.h <<_ACEOF
10627 version_info="8:1:7"
10631 ##--##--##--##--##--##--##--##--##--##--##--##--##--##--##--##--##
10632 ##--##--##--##--##--##--##--##--##--##--##--##--##--##--##--##--##
10636 ### Needed information
10641 requirement_eeze="ecore >= 1.6.99 eina >= 1.6.99 libudev"
10644 ### Checks for programs
10646 ac_cpp='$CPP $CPPFLAGS'
10647 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
10648 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
10649 ac_compiler_gnu=$ac_cv_c_compiler_gnu
10650 if test -n "$ac_tool_prefix"; then
10651 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
10652 set dummy ${ac_tool_prefix}gcc; ac_word=$2
10653 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
10654 $as_echo_n "checking for $ac_word... " >&6; }
10655 if test "${ac_cv_prog_CC+set}" = set; then :
10656 $as_echo_n "(cached) " >&6
10658 if test -n "$CC"; then
10659 ac_cv_prog_CC="$CC" # Let the user override the test.
10661 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10662 for as_dir in $PATH
10665 test -z "$as_dir" && as_dir=.
10666 for ac_exec_ext in '' $ac_executable_extensions; do
10667 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
10668 ac_cv_prog_CC="${ac_tool_prefix}gcc"
10669 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
10679 if test -n "$CC"; then
10680 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
10681 $as_echo "$CC" >&6; }
10683 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
10684 $as_echo "no" >&6; }
10689 if test -z "$ac_cv_prog_CC"; then
10691 # Extract the first word of "gcc", so it can be a program name with args.
10692 set dummy gcc; ac_word=$2
10693 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
10694 $as_echo_n "checking for $ac_word... " >&6; }
10695 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then :
10696 $as_echo_n "(cached) " >&6
10698 if test -n "$ac_ct_CC"; then
10699 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
10701 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10702 for as_dir in $PATH
10705 test -z "$as_dir" && as_dir=.
10706 for ac_exec_ext in '' $ac_executable_extensions; do
10707 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
10708 ac_cv_prog_ac_ct_CC="gcc"
10709 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
10718 ac_ct_CC=$ac_cv_prog_ac_ct_CC
10719 if test -n "$ac_ct_CC"; then
10720 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
10721 $as_echo "$ac_ct_CC" >&6; }
10723 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
10724 $as_echo "no" >&6; }
10727 if test "x$ac_ct_CC" = x; then
10730 case $cross_compiling:$ac_tool_warned in
10732 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
10733 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
10734 ac_tool_warned=yes ;;
10739 CC="$ac_cv_prog_CC"
10742 if test -z "$CC"; then
10743 if test -n "$ac_tool_prefix"; then
10744 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
10745 set dummy ${ac_tool_prefix}cc; ac_word=$2
10746 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
10747 $as_echo_n "checking for $ac_word... " >&6; }
10748 if test "${ac_cv_prog_CC+set}" = set; then :
10749 $as_echo_n "(cached) " >&6
10751 if test -n "$CC"; then
10752 ac_cv_prog_CC="$CC" # Let the user override the test.
10754 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10755 for as_dir in $PATH
10758 test -z "$as_dir" && as_dir=.
10759 for ac_exec_ext in '' $ac_executable_extensions; do
10760 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
10761 ac_cv_prog_CC="${ac_tool_prefix}cc"
10762 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
10772 if test -n "$CC"; then
10773 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
10774 $as_echo "$CC" >&6; }
10776 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
10777 $as_echo "no" >&6; }
10783 if test -z "$CC"; then
10784 # Extract the first word of "cc", so it can be a program name with args.
10785 set dummy cc; ac_word=$2
10786 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
10787 $as_echo_n "checking for $ac_word... " >&6; }
10788 if test "${ac_cv_prog_CC+set}" = set; then :
10789 $as_echo_n "(cached) " >&6
10791 if test -n "$CC"; then
10792 ac_cv_prog_CC="$CC" # Let the user override the test.
10794 ac_prog_rejected=no
10795 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10796 for as_dir in $PATH
10799 test -z "$as_dir" && as_dir=.
10800 for ac_exec_ext in '' $ac_executable_extensions; do
10801 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
10802 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
10803 ac_prog_rejected=yes
10807 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
10814 if test $ac_prog_rejected = yes; then
10815 # We found a bogon in the path, so make sure we never use it.
10816 set dummy $ac_cv_prog_CC
10818 if test $# != 0; then
10819 # We chose a different compiler from the bogus one.
10820 # However, it has the same basename, so the bogon will be chosen
10821 # first if we set CC to just the basename; use the full file name.
10823 ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
10829 if test -n "$CC"; then
10830 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
10831 $as_echo "$CC" >&6; }
10833 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
10834 $as_echo "no" >&6; }
10839 if test -z "$CC"; then
10840 if test -n "$ac_tool_prefix"; then
10841 for ac_prog in cl.exe
10843 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
10844 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
10845 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
10846 $as_echo_n "checking for $ac_word... " >&6; }
10847 if test "${ac_cv_prog_CC+set}" = set; then :
10848 $as_echo_n "(cached) " >&6
10850 if test -n "$CC"; then
10851 ac_cv_prog_CC="$CC" # Let the user override the test.
10853 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10854 for as_dir in $PATH
10857 test -z "$as_dir" && as_dir=.
10858 for ac_exec_ext in '' $ac_executable_extensions; do
10859 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
10860 ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
10861 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
10871 if test -n "$CC"; then
10872 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
10873 $as_echo "$CC" >&6; }
10875 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
10876 $as_echo "no" >&6; }
10880 test -n "$CC" && break
10883 if test -z "$CC"; then
10885 for ac_prog in cl.exe
10887 # Extract the first word of "$ac_prog", so it can be a program name with args.
10888 set dummy $ac_prog; ac_word=$2
10889 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
10890 $as_echo_n "checking for $ac_word... " >&6; }
10891 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then :
10892 $as_echo_n "(cached) " >&6
10894 if test -n "$ac_ct_CC"; then
10895 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
10897 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10898 for as_dir in $PATH
10901 test -z "$as_dir" && as_dir=.
10902 for ac_exec_ext in '' $ac_executable_extensions; do
10903 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
10904 ac_cv_prog_ac_ct_CC="$ac_prog"
10905 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
10914 ac_ct_CC=$ac_cv_prog_ac_ct_CC
10915 if test -n "$ac_ct_CC"; then
10916 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
10917 $as_echo "$ac_ct_CC" >&6; }
10919 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
10920 $as_echo "no" >&6; }
10924 test -n "$ac_ct_CC" && break
10927 if test "x$ac_ct_CC" = x; then
10930 case $cross_compiling:$ac_tool_warned in
10932 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
10933 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
10934 ac_tool_warned=yes ;;
10943 test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
10944 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
10945 as_fn_error $? "no acceptable C compiler found in \$PATH
10946 See \`config.log' for more details" "$LINENO" 5 ; }
10948 # Provide some information about the compiler.
10949 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
10952 for ac_option in --version -v -V -qversion; do
10953 { { ac_try="$ac_compiler $ac_option >&5"
10954 case "(($ac_try" in
10955 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
10956 *) ac_try_echo=$ac_try;;
10958 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
10959 $as_echo "$ac_try_echo"; } >&5
10960 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
10962 if test -s conftest.err; then
10964 ... rest of stderr output deleted ...
10965 10q' conftest.err >conftest.er1
10966 cat conftest.er1 >&5
10968 rm -f conftest.er1 conftest.err
10969 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
10970 test $ac_status = 0; }
10973 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
10974 $as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
10975 if test "${ac_cv_c_compiler_gnu+set}" = set; then :
10976 $as_echo_n "(cached) " >&6
10978 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10979 /* end confdefs.h. */
10992 if ac_fn_c_try_compile "$LINENO"; then :
10993 ac_compiler_gnu=yes
10997 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
10998 ac_cv_c_compiler_gnu=$ac_compiler_gnu
11001 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
11002 $as_echo "$ac_cv_c_compiler_gnu" >&6; }
11003 if test $ac_compiler_gnu = yes; then
11008 ac_test_CFLAGS=${CFLAGS+set}
11009 ac_save_CFLAGS=$CFLAGS
11010 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
11011 $as_echo_n "checking whether $CC accepts -g... " >&6; }
11012 if test "${ac_cv_prog_cc_g+set}" = set; then :
11013 $as_echo_n "(cached) " >&6
11015 ac_save_c_werror_flag=$ac_c_werror_flag
11016 ac_c_werror_flag=yes
11019 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11020 /* end confdefs.h. */
11030 if ac_fn_c_try_compile "$LINENO"; then :
11031 ac_cv_prog_cc_g=yes
11034 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11035 /* end confdefs.h. */
11045 if ac_fn_c_try_compile "$LINENO"; then :
11048 ac_c_werror_flag=$ac_save_c_werror_flag
11050 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11051 /* end confdefs.h. */
11061 if ac_fn_c_try_compile "$LINENO"; then :
11062 ac_cv_prog_cc_g=yes
11064 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
11066 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
11068 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
11069 ac_c_werror_flag=$ac_save_c_werror_flag
11071 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
11072 $as_echo "$ac_cv_prog_cc_g" >&6; }
11073 if test "$ac_test_CFLAGS" = set; then
11074 CFLAGS=$ac_save_CFLAGS
11075 elif test $ac_cv_prog_cc_g = yes; then
11076 if test "$GCC" = yes; then
11082 if test "$GCC" = yes; then
11088 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
11089 $as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
11090 if test "${ac_cv_prog_cc_c89+set}" = set; then :
11091 $as_echo_n "(cached) " >&6
11093 ac_cv_prog_cc_c89=no
11095 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11096 /* end confdefs.h. */
11097 #include <stdarg.h>
11099 #include <sys/types.h>
11100 #include <sys/stat.h>
11101 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
11102 struct buf { int x; };
11103 FILE * (*rcsopen) (struct buf *, struct stat *, int);
11104 static char *e (p, i)
11110 static char *f (char * (*g) (char **, int), char **p, ...)
11115 s = g (p, va_arg (v,int));
11120 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
11121 function prototypes and stuff, but not '\xHH' hex character constants.
11122 These don't provoke an error unfortunately, instead are silently treated
11123 as 'x'. The following induces an error, until -std is added to get
11124 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
11125 array size at least. It's necessary to write '\x00'==0 to get something
11126 that's true only with -std. */
11127 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
11129 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
11130 inside strings and character constants. */
11132 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
11134 int test (int i, double x);
11135 struct s1 {int (*f) (int a);};
11136 struct s2 {int (*f) (double a);};
11137 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
11143 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
11148 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
11149 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
11151 CC="$ac_save_CC $ac_arg"
11152 if ac_fn_c_try_compile "$LINENO"; then :
11153 ac_cv_prog_cc_c89=$ac_arg
11155 rm -f core conftest.err conftest.$ac_objext
11156 test "x$ac_cv_prog_cc_c89" != "xno" && break
11158 rm -f conftest.$ac_ext
11163 case "x$ac_cv_prog_cc_c89" in
11165 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
11166 $as_echo "none needed" >&6; } ;;
11168 { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
11169 $as_echo "unsupported" >&6; } ;;
11171 CC="$CC $ac_cv_prog_cc_c89"
11172 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
11173 $as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
11175 if test "x$ac_cv_prog_cc_c89" != xno; then :
11180 ac_cpp='$CPP $CPPFLAGS'
11181 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
11182 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
11183 ac_compiler_gnu=$ac_cv_c_compiler_gnu
11185 depcc="$CC" am_compiler_list=
11187 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5
11188 $as_echo_n "checking dependency style of $depcc... " >&6; }
11189 if test "${am_cv_CC_dependencies_compiler_type+set}" = set; then :
11190 $as_echo_n "(cached) " >&6
11192 if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
11193 # We make a subdir and do the tests there. Otherwise we can end up
11194 # making bogus files that we don't know about and never remove. For
11195 # instance it was reported that on HP-UX the gcc test will end up
11196 # making a dummy file named `D' -- because `-MD' means `put the output
11199 # Copy depcomp to subdir because otherwise we won't find it if we're
11200 # using a relative directory.
11201 cp "$am_depcomp" conftest.dir
11203 # We will build objects and dependencies in a subdirectory because
11204 # it helps to detect inapplicable dependency modes. For instance
11205 # both Tru64's cc and ICC support -MD to output dependencies as a
11206 # side effect of compilation, but ICC will put the dependencies in
11207 # the current directory while Tru64 will put them in the object
11211 am_cv_CC_dependencies_compiler_type=none
11212 if test "$am_compiler_list" = ""; then
11213 am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
11215 am__universal=false
11216 case " $depcc " in #(
11217 *\ -arch\ *\ -arch\ *) am__universal=true ;;
11220 for depmode in $am_compiler_list; do
11221 # Setup a source with many dependencies, because some compilers
11222 # like to wrap large dependency lists on column 80 (with \), and
11223 # we should not choose a depcomp mode which is confused by this.
11225 # We need to recreate these files for each test, as the compiler may
11226 # overwrite some of them when testing with obscure command lines.
11227 # This happens at least with the AIX C compiler.
11229 for i in 1 2 3 4 5 6; do
11230 echo '#include "conftst'$i'.h"' >> sub/conftest.c
11231 # Using `: > sub/conftst$i.h' creates only sub/conftst1.h with
11232 # Solaris 8's {/usr,}/bin/sh.
11233 touch sub/conftst$i.h
11235 echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
11237 # We check with `-c' and `-o' for the sake of the "dashmstdout"
11238 # mode. It turns out that the SunPro C++ compiler does not properly
11239 # handle `-M -o', and we need to detect this. Also, some Intel
11240 # versions had trouble with output in subdirs
11241 am__obj=sub/conftest.${OBJEXT-o}
11242 am__minus_obj="-o $am__obj"
11245 # This depmode causes a compiler race in universal mode.
11246 test "$am__universal" = false || continue
11249 # after this tag, mechanisms are not by side-effect, so they'll
11250 # only be used when explicitly requested
11251 if test "x$enable_dependency_tracking" = xyes; then
11257 msvisualcpp | msvcmsys)
11258 # This compiler won't grok `-c -o', but also, the minuso test has
11259 # not run yet. These depmodes are late enough in the game, and
11260 # so weak that their functioning should not be impacted.
11261 am__obj=conftest.${OBJEXT-o}
11266 if depmode=$depmode \
11267 source=sub/conftest.c object=$am__obj \
11268 depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
11269 $SHELL ./depcomp $depcc -c $am__minus_obj sub/conftest.c \
11270 >/dev/null 2>conftest.err &&
11271 grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 &&
11272 grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
11273 grep $am__obj sub/conftest.Po > /dev/null 2>&1 &&
11274 ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
11275 # icc doesn't choke on unknown options, it will just issue warnings
11276 # or remarks (even with -Werror). So we grep stderr for any message
11277 # that says an option was ignored or not supported.
11278 # When given -MP, icc 7.0 and 7.1 complain thusly:
11279 # icc: Command line warning: ignoring option '-M'; no argument required
11280 # The diagnosis changed in icc 8.0:
11281 # icc: Command line remark: option '-MP' not supported
11282 if (grep 'ignoring option' conftest.err ||
11283 grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
11284 am_cv_CC_dependencies_compiler_type=$depmode
11291 rm -rf conftest.dir
11293 am_cv_CC_dependencies_compiler_type=none
11297 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_CC_dependencies_compiler_type" >&5
11298 $as_echo "$am_cv_CC_dependencies_compiler_type" >&6; }
11299 CCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type
11302 test "x$enable_dependency_tracking" != xno \
11303 && test "$am_cv_CC_dependencies_compiler_type" = gcc3; then
11304 am__fastdepCC_TRUE=
11305 am__fastdepCC_FALSE='#'
11307 am__fastdepCC_TRUE='#'
11308 am__fastdepCC_FALSE=
11312 if test "x$CC" != xcc; then
11313 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC and cc understand -c and -o together" >&5
11314 $as_echo_n "checking whether $CC and cc understand -c and -o together... " >&6; }
11316 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether cc understands -c and -o together" >&5
11317 $as_echo_n "checking whether cc understands -c and -o together... " >&6; }
11319 set dummy $CC; ac_cc=`$as_echo "$2" |
11320 sed 's/[^a-zA-Z0-9_]/_/g;s/^[0-9]/_/'`
11321 if eval "test \"\${ac_cv_prog_cc_${ac_cc}_c_o+set}\"" = set; then :
11322 $as_echo_n "(cached) " >&6
11324 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11325 /* end confdefs.h. */
11335 # Make sure it works both with $CC and with simple cc.
11336 # We do the test twice because some compilers refuse to overwrite an
11337 # existing .o file with -o, though they will create one.
11338 ac_try='$CC -c conftest.$ac_ext -o conftest2.$ac_objext >&5'
11340 if { { case "(($ac_try" in
11341 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
11342 *) ac_try_echo=$ac_try;;
11344 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
11345 $as_echo "$ac_try_echo"; } >&5
11346 (eval "$ac_try") 2>&5
11348 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
11349 test $ac_status = 0; } &&
11350 test -f conftest2.$ac_objext && { { case "(($ac_try" in
11351 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
11352 *) ac_try_echo=$ac_try;;
11354 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
11355 $as_echo "$ac_try_echo"; } >&5
11356 (eval "$ac_try") 2>&5
11358 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
11359 test $ac_status = 0; };
11361 eval ac_cv_prog_cc_${ac_cc}_c_o=yes
11362 if test "x$CC" != xcc; then
11363 # Test first that cc exists at all.
11364 if { ac_try='cc -c conftest.$ac_ext >&5'
11365 { { case "(($ac_try" in
11366 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
11367 *) ac_try_echo=$ac_try;;
11369 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
11370 $as_echo "$ac_try_echo"; } >&5
11371 (eval "$ac_try") 2>&5
11373 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
11374 test $ac_status = 0; }; }; then
11375 ac_try='cc -c conftest.$ac_ext -o conftest2.$ac_objext >&5'
11377 if { { case "(($ac_try" in
11378 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
11379 *) ac_try_echo=$ac_try;;
11381 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
11382 $as_echo "$ac_try_echo"; } >&5
11383 (eval "$ac_try") 2>&5
11385 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
11386 test $ac_status = 0; } &&
11387 test -f conftest2.$ac_objext && { { case "(($ac_try" in
11388 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
11389 *) ac_try_echo=$ac_try;;
11391 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
11392 $as_echo "$ac_try_echo"; } >&5
11393 (eval "$ac_try") 2>&5
11395 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
11396 test $ac_status = 0; };
11401 # cc exists but doesn't like -o.
11402 eval ac_cv_prog_cc_${ac_cc}_c_o=no
11407 eval ac_cv_prog_cc_${ac_cc}_c_o=no
11409 rm -f core conftest*
11412 if eval test \$ac_cv_prog_cc_${ac_cc}_c_o = yes; then
11413 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
11414 $as_echo "yes" >&6; }
11416 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11417 $as_echo "no" >&6; }
11419 $as_echo "#define NO_MINUS_C_MINUS_O 1" >>confdefs.h
11423 # FIXME: we rely on the cache variable name because
11424 # there is no other way.
11426 am_cc=`echo $2 | sed 's/[^a-zA-Z0-9_]/_/g;s/^[0-9]/_/'`
11427 eval am_t=\$ac_cv_prog_cc_${am_cc}_c_o
11428 if test "$am_t" != yes; then
11429 # Losing compiler, so override with the script.
11430 # FIXME: It is wrong to rewrite CC.
11431 # But if we don't then we get into trouble of one sort or another.
11432 # A longer-term fix would be to have automake use am__CC in this case,
11433 # and then we could set am__CC="\$(top_srcdir)/compile \$(CC)"
11434 CC="$am_aux_dir/compile $CC"
11440 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for __attribute__" >&5
11441 $as_echo_n "checking for __attribute__... " >&6; }
11443 if test "${ac_cv___attribute__+set}" = set; then :
11444 $as_echo_n "(cached) " >&6
11446 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11447 /* end confdefs.h. */
11449 #include <stdlib.h>
11452 int foo(int x __attribute__ ((unused)))
11465 if ac_fn_c_try_compile "$LINENO"; then :
11466 ac_cv___attribute__="yes"
11468 ac_cv___attribute__="no"
11471 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
11475 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv___attribute__" >&5
11476 $as_echo "$ac_cv___attribute__" >&6; }
11478 if test "x${ac_cv___attribute__}" = "xyes" ; then
11480 $as_echo "#define HAVE___ATTRIBUTE__ 1" >>confdefs.h
11483 $as_echo "#define __UNUSED__ __attribute__((unused))" >>confdefs.h
11487 $as_echo "#define __UNUSED__ /**/" >>confdefs.h
11500 if test "x$ac_cv_env_PKG_CONFIG_set" != "xset"; then
11501 if test -n "$ac_tool_prefix"; then
11502 # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
11503 set dummy ${ac_tool_prefix}pkg-config; ac_word=$2
11504 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
11505 $as_echo_n "checking for $ac_word... " >&6; }
11506 if test "${ac_cv_path_PKG_CONFIG+set}" = set; then :
11507 $as_echo_n "(cached) " >&6
11509 case $PKG_CONFIG in
11511 ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path.
11514 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11515 for as_dir in $PATH
11518 test -z "$as_dir" && as_dir=.
11519 for ac_exec_ext in '' $ac_executable_extensions; do
11520 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
11521 ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
11522 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
11532 PKG_CONFIG=$ac_cv_path_PKG_CONFIG
11533 if test -n "$PKG_CONFIG"; then
11534 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PKG_CONFIG" >&5
11535 $as_echo "$PKG_CONFIG" >&6; }
11537 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11538 $as_echo "no" >&6; }
11543 if test -z "$ac_cv_path_PKG_CONFIG"; then
11544 ac_pt_PKG_CONFIG=$PKG_CONFIG
11545 # Extract the first word of "pkg-config", so it can be a program name with args.
11546 set dummy pkg-config; ac_word=$2
11547 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
11548 $as_echo_n "checking for $ac_word... " >&6; }
11549 if test "${ac_cv_path_ac_pt_PKG_CONFIG+set}" = set; then :
11550 $as_echo_n "(cached) " >&6
11552 case $ac_pt_PKG_CONFIG in
11554 ac_cv_path_ac_pt_PKG_CONFIG="$ac_pt_PKG_CONFIG" # Let the user override the test with a path.
11557 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11558 for as_dir in $PATH
11561 test -z "$as_dir" && as_dir=.
11562 for ac_exec_ext in '' $ac_executable_extensions; do
11563 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
11564 ac_cv_path_ac_pt_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
11565 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
11575 ac_pt_PKG_CONFIG=$ac_cv_path_ac_pt_PKG_CONFIG
11576 if test -n "$ac_pt_PKG_CONFIG"; then
11577 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_pt_PKG_CONFIG" >&5
11578 $as_echo "$ac_pt_PKG_CONFIG" >&6; }
11580 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11581 $as_echo "no" >&6; }
11584 if test "x$ac_pt_PKG_CONFIG" = x; then
11587 case $cross_compiling:$ac_tool_warned in
11589 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
11590 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
11591 ac_tool_warned=yes ;;
11593 PKG_CONFIG=$ac_pt_PKG_CONFIG
11596 PKG_CONFIG="$ac_cv_path_PKG_CONFIG"
11600 if test -n "$PKG_CONFIG"; then
11601 _pkg_min_version=0.9.0
11602 { $as_echo "$as_me:${as_lineno-$LINENO}: checking pkg-config is at least version $_pkg_min_version" >&5
11603 $as_echo_n "checking pkg-config is at least version $_pkg_min_version... " >&6; }
11604 if $PKG_CONFIG --atleast-pkgconfig-version $_pkg_min_version; then
11605 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
11606 $as_echo "yes" >&6; }
11608 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11609 $as_echo "no" >&6; }
11614 # Check whether pkg-config supports Requires.private
11615 if $PKG_CONFIG --atleast-pkgconfig-version 0.22; then :
11616 pkgconfig_requires_private="Requires.private"
11618 pkgconfig_requires_private="Requires"
11623 # doxygen program for documentation building
11627 # Check whether --enable-doc was given.
11628 if test "${enable_doc+set}" = set; then :
11629 enableval=$enable_doc;
11630 if test "x${enableval}" = "xyes" ; then
11631 efl_enable_doc="yes"
11633 efl_enable_doc="no"
11637 efl_enable_doc="yes"
11641 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build documentation" >&5
11642 $as_echo_n "checking whether to build documentation... " >&6; }
11643 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${efl_enable_doc}" >&5
11644 $as_echo "${efl_enable_doc}" >&6; }
11646 if test "x${efl_enable_doc}" = "xyes" ; then
11649 efl_doxygen="doxygen"
11652 # Check whether --with-doxygen was given.
11653 if test "${with_doxygen+set}" = set; then :
11654 withval=$with_doxygen; efl_doxygen=${withval}
11655 # Extract the first word of "${efl_doxygen}", so it can be a program name with args.
11656 set dummy ${efl_doxygen}; ac_word=$2
11657 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
11658 $as_echo_n "checking for $ac_word... " >&6; }
11659 if test "${ac_cv_prog_efl_have_doxygen+set}" = set; then :
11660 $as_echo_n "(cached) " >&6
11662 if test -n "$efl_have_doxygen"; then
11663 ac_cv_prog_efl_have_doxygen="$efl_have_doxygen" # Let the user override the test.
11665 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11666 for as_dir in $PATH
11669 test -z "$as_dir" && as_dir=.
11670 for ac_exec_ext in '' $ac_executable_extensions; do
11671 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
11672 ac_cv_prog_efl_have_doxygen="yes"
11673 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
11680 test -z "$ac_cv_prog_efl_have_doxygen" && ac_cv_prog_efl_have_doxygen="no"
11683 efl_have_doxygen=$ac_cv_prog_efl_have_doxygen
11684 if test -n "$efl_have_doxygen"; then
11685 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $efl_have_doxygen" >&5
11686 $as_echo "$efl_have_doxygen" >&6; }
11688 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11689 $as_echo "no" >&6; }
11693 if test "x${efl_have_doxygen}" = "xno" ; then
11695 echo "The doxygen program you specified:"
11696 echo "${efl_doxygen}"
11697 echo "was not found. Please check the path and make sure "
11698 echo "the program exists and is executable."
11699 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: no doxygen detected. Documentation will not be built" >&5
11700 $as_echo "$as_me: WARNING: no doxygen detected. Documentation will not be built" >&2;}
11704 # Extract the first word of "${efl_doxygen}", so it can be a program name with args.
11705 set dummy ${efl_doxygen}; ac_word=$2
11706 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
11707 $as_echo_n "checking for $ac_word... " >&6; }
11708 if test "${ac_cv_prog_efl_have_doxygen+set}" = set; then :
11709 $as_echo_n "(cached) " >&6
11711 if test -n "$efl_have_doxygen"; then
11712 ac_cv_prog_efl_have_doxygen="$efl_have_doxygen" # Let the user override the test.
11714 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11715 for as_dir in $PATH
11718 test -z "$as_dir" && as_dir=.
11719 for ac_exec_ext in '' $ac_executable_extensions; do
11720 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
11721 ac_cv_prog_efl_have_doxygen="yes"
11722 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
11729 test -z "$ac_cv_prog_efl_have_doxygen" && ac_cv_prog_efl_have_doxygen="no"
11732 efl_have_doxygen=$ac_cv_prog_efl_have_doxygen
11733 if test -n "$efl_have_doxygen"; then
11734 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $efl_have_doxygen" >&5
11735 $as_echo "$efl_have_doxygen" >&6; }
11737 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11738 $as_echo "no" >&6; }
11742 if test "x${efl_have_doxygen}" = "xno" ; then
11744 echo "The doxygen program was not found in your execute path."
11745 echo "You may have doxygen installed somewhere not covered by your path."
11747 echo "If this is the case make sure you have the packages installed, AND"
11748 echo "that the doxygen program is in your execute path (see your"
11749 echo "shell manual page on setting the \$PATH environment variable), OR"
11750 echo "alternatively, specify the program to use with --with-doxygen."
11751 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: no doxygen detected. Documentation will not be built" >&5
11752 $as_echo "$as_me: WARNING: no doxygen detected. Documentation will not be built" >&2;}
11761 if ! test "x${efl_have_doxygen}" = "xyes" ; then
11762 efl_enable_doc="no"
11765 if test "x${efl_enable_doc}" = "xyes"; then
11766 EFL_BUILD_DOC_TRUE=
11767 EFL_BUILD_DOC_FALSE='#'
11769 EFL_BUILD_DOC_TRUE='#'
11770 EFL_BUILD_DOC_FALSE=
11774 if test "x${efl_enable_doc}" = "xyes" ; then
11783 ### Checks for libraries
11787 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for EEZE" >&5
11788 $as_echo_n "checking for EEZE... " >&6; }
11790 if test -n "$EEZE_CFLAGS"; then
11791 pkg_cv_EEZE_CFLAGS="$EEZE_CFLAGS"
11792 elif test -n "$PKG_CONFIG"; then
11793 if test -n "$PKG_CONFIG" && \
11794 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"\${requirement_eeze}\""; } >&5
11795 ($PKG_CONFIG --exists --print-errors "${requirement_eeze}") 2>&5
11797 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
11798 test $ac_status = 0; }; then
11799 pkg_cv_EEZE_CFLAGS=`$PKG_CONFIG --cflags "${requirement_eeze}" 2>/dev/null`
11806 if test -n "$EEZE_LIBS"; then
11807 pkg_cv_EEZE_LIBS="$EEZE_LIBS"
11808 elif test -n "$PKG_CONFIG"; then
11809 if test -n "$PKG_CONFIG" && \
11810 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"\${requirement_eeze}\""; } >&5
11811 ($PKG_CONFIG --exists --print-errors "${requirement_eeze}") 2>&5
11813 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
11814 test $ac_status = 0; }; then
11815 pkg_cv_EEZE_LIBS=`$PKG_CONFIG --libs "${requirement_eeze}" 2>/dev/null`
11825 if test $pkg_failed = yes; then
11826 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11827 $as_echo "no" >&6; }
11829 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
11830 _pkg_short_errors_supported=yes
11832 _pkg_short_errors_supported=no
11834 if test $_pkg_short_errors_supported = yes; then
11835 EEZE_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors "${requirement_eeze}" 2>&1`
11837 EEZE_PKG_ERRORS=`$PKG_CONFIG --print-errors "${requirement_eeze}" 2>&1`
11839 # Put the nasty error message in config.log where it belongs
11840 echo "$EEZE_PKG_ERRORS" >&5
11842 as_fn_error $? "Package requirements (${requirement_eeze}) were not met:
11846 Consider adjusting the PKG_CONFIG_PATH environment variable if you
11847 installed software in a non-standard prefix.
11849 Alternatively, you may set the environment variables EEZE_CFLAGS
11850 and EEZE_LIBS to avoid the need to call pkg-config.
11851 See the pkg-config man page for more details." "$LINENO" 5
11852 elif test $pkg_failed = untried; then
11853 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11854 $as_echo "no" >&6; }
11855 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
11856 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
11857 as_fn_error $? "The pkg-config script could not be found or is too old. Make sure it
11858 is in your PATH or set the PKG_CONFIG environment variable to the full
11859 path to pkg-config.
11861 Alternatively, you may set the environment variables EEZE_CFLAGS
11862 and EEZE_LIBS to avoid the need to call pkg-config.
11863 See the pkg-config man page for more details.
11865 To get pkg-config, see <http://pkg-config.freedesktop.org/>.
11866 See \`config.log' for more details" "$LINENO" 5 ; }
11868 EEZE_CFLAGS=$pkg_cv_EEZE_CFLAGS
11869 EEZE_LIBS=$pkg_cv_EEZE_LIBS
11870 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
11871 $as_echo "yes" >&6; }
11875 udev_version=$(pkg-config libudev --modversion)
11877 if test $udev_version -lt 143;then
11878 as_fn_error $? "udev version is too old!" "$LINENO" 5
11879 elif test $udev_version -lt 148;then
11880 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Old udev version detected, enabling compat code" >&5
11881 $as_echo "$as_me: WARNING: Old udev version detected, enabling compat code" >&2;}
11883 $as_echo "#define OLD_UDEV_RRRRRRRRRRRRRR 1" >>confdefs.h
11888 if test -n "$PKG_CONFIG" && \
11889 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"mount >= 2.18.0\""; } >&5
11890 ($PKG_CONFIG --exists --print-errors "mount >= 2.18.0") 2>&5
11892 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
11893 test $ac_status = 0; }; then
11896 $as_echo "#define HAVE_EEZE_MOUNT 1" >>confdefs.h
11899 HAVE_EEZE_MOUNT_TRUE=
11900 HAVE_EEZE_MOUNT_FALSE='#'
11902 HAVE_EEZE_MOUNT_TRUE='#'
11903 HAVE_EEZE_MOUNT_FALSE=
11910 HAVE_EEZE_MOUNT_TRUE=
11911 HAVE_EEZE_MOUNT_FALSE='#'
11913 HAVE_EEZE_MOUNT_TRUE='#'
11914 HAVE_EEZE_MOUNT_FALSE=
11920 if test "x$eeze_mount" = "xyes";then
11922 # Check whether --with-mount was given.
11923 if test "${with_mount+set}" = set; then :
11924 withval=$with_mount; with_mount=$withval
11926 with_mount="detect"
11930 # Check whether --with-umount was given.
11931 if test "${with_umount+set}" = set; then :
11932 withval=$with_umount; with_umount=$withval
11934 with_umount="detect"
11938 # Check whether --with-eject was given.
11939 if test "${with_eject+set}" = set; then :
11940 withval=$with_eject; with_eject=$withval
11942 with_eject="detect"
11947 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for LIBMOUNT" >&5
11948 $as_echo_n "checking for LIBMOUNT... " >&6; }
11950 if test -n "$LIBMOUNT_CFLAGS"; then
11951 pkg_cv_LIBMOUNT_CFLAGS="$LIBMOUNT_CFLAGS"
11952 elif test -n "$PKG_CONFIG"; then
11953 if test -n "$PKG_CONFIG" && \
11954 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"mount >= 2.18.0\""; } >&5
11955 ($PKG_CONFIG --exists --print-errors "mount >= 2.18.0") 2>&5
11957 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
11958 test $ac_status = 0; }; then
11959 pkg_cv_LIBMOUNT_CFLAGS=`$PKG_CONFIG --cflags "mount >= 2.18.0" 2>/dev/null`
11966 if test -n "$LIBMOUNT_LIBS"; then
11967 pkg_cv_LIBMOUNT_LIBS="$LIBMOUNT_LIBS"
11968 elif test -n "$PKG_CONFIG"; then
11969 if test -n "$PKG_CONFIG" && \
11970 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"mount >= 2.18.0\""; } >&5
11971 ($PKG_CONFIG --exists --print-errors "mount >= 2.18.0") 2>&5
11973 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
11974 test $ac_status = 0; }; then
11975 pkg_cv_LIBMOUNT_LIBS=`$PKG_CONFIG --libs "mount >= 2.18.0" 2>/dev/null`
11985 if test $pkg_failed = yes; then
11986 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11987 $as_echo "no" >&6; }
11989 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
11990 _pkg_short_errors_supported=yes
11992 _pkg_short_errors_supported=no
11994 if test $_pkg_short_errors_supported = yes; then
11995 LIBMOUNT_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors "mount >= 2.18.0" 2>&1`
11997 LIBMOUNT_PKG_ERRORS=`$PKG_CONFIG --print-errors "mount >= 2.18.0" 2>&1`
11999 # Put the nasty error message in config.log where it belongs
12000 echo "$LIBMOUNT_PKG_ERRORS" >&5
12002 as_fn_error $? "Package requirements (mount >= 2.18.0) were not met:
12004 $LIBMOUNT_PKG_ERRORS
12006 Consider adjusting the PKG_CONFIG_PATH environment variable if you
12007 installed software in a non-standard prefix.
12009 Alternatively, you may set the environment variables LIBMOUNT_CFLAGS
12010 and LIBMOUNT_LIBS to avoid the need to call pkg-config.
12011 See the pkg-config man page for more details." "$LINENO" 5
12012 elif test $pkg_failed = untried; then
12013 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12014 $as_echo "no" >&6; }
12015 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
12016 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
12017 as_fn_error $? "The pkg-config script could not be found or is too old. Make sure it
12018 is in your PATH or set the PKG_CONFIG environment variable to the full
12019 path to pkg-config.
12021 Alternatively, you may set the environment variables LIBMOUNT_CFLAGS
12022 and LIBMOUNT_LIBS to avoid the need to call pkg-config.
12023 See the pkg-config man page for more details.
12025 To get pkg-config, see <http://pkg-config.freedesktop.org/>.
12026 See \`config.log' for more details" "$LINENO" 5 ; }
12028 LIBMOUNT_CFLAGS=$pkg_cv_LIBMOUNT_CFLAGS
12029 LIBMOUNT_LIBS=$pkg_cv_LIBMOUNT_LIBS
12030 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
12031 $as_echo "yes" >&6; }
12034 mount_v=$(pkg-config --modversion mount)
12037 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ECORE_FILE" >&5
12038 $as_echo_n "checking for ECORE_FILE... " >&6; }
12040 if test -n "$ECORE_FILE_CFLAGS"; then
12041 pkg_cv_ECORE_FILE_CFLAGS="$ECORE_FILE_CFLAGS"
12042 elif test -n "$PKG_CONFIG"; then
12043 if test -n "$PKG_CONFIG" && \
12044 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"ecore-file >= 1.6.99\""; } >&5
12045 ($PKG_CONFIG --exists --print-errors "ecore-file >= 1.6.99") 2>&5
12047 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
12048 test $ac_status = 0; }; then
12049 pkg_cv_ECORE_FILE_CFLAGS=`$PKG_CONFIG --cflags "ecore-file >= 1.6.99" 2>/dev/null`
12056 if test -n "$ECORE_FILE_LIBS"; then
12057 pkg_cv_ECORE_FILE_LIBS="$ECORE_FILE_LIBS"
12058 elif test -n "$PKG_CONFIG"; then
12059 if test -n "$PKG_CONFIG" && \
12060 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"ecore-file >= 1.6.99\""; } >&5
12061 ($PKG_CONFIG --exists --print-errors "ecore-file >= 1.6.99") 2>&5
12063 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
12064 test $ac_status = 0; }; then
12065 pkg_cv_ECORE_FILE_LIBS=`$PKG_CONFIG --libs "ecore-file >= 1.6.99" 2>/dev/null`
12075 if test $pkg_failed = yes; then
12076 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12077 $as_echo "no" >&6; }
12079 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
12080 _pkg_short_errors_supported=yes
12082 _pkg_short_errors_supported=no
12084 if test $_pkg_short_errors_supported = yes; then
12085 ECORE_FILE_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors "ecore-file >= 1.6.99" 2>&1`
12087 ECORE_FILE_PKG_ERRORS=`$PKG_CONFIG --print-errors "ecore-file >= 1.6.99" 2>&1`
12089 # Put the nasty error message in config.log where it belongs
12090 echo "$ECORE_FILE_PKG_ERRORS" >&5
12092 as_fn_error $? "Package requirements (ecore-file >= 1.6.99) were not met:
12094 $ECORE_FILE_PKG_ERRORS
12096 Consider adjusting the PKG_CONFIG_PATH environment variable if you
12097 installed software in a non-standard prefix.
12099 Alternatively, you may set the environment variables ECORE_FILE_CFLAGS
12100 and ECORE_FILE_LIBS to avoid the need to call pkg-config.
12101 See the pkg-config man page for more details." "$LINENO" 5
12102 elif test $pkg_failed = untried; then
12103 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12104 $as_echo "no" >&6; }
12105 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
12106 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
12107 as_fn_error $? "The pkg-config script could not be found or is too old. Make sure it
12108 is in your PATH or set the PKG_CONFIG environment variable to the full
12109 path to pkg-config.
12111 Alternatively, you may set the environment variables ECORE_FILE_CFLAGS
12112 and ECORE_FILE_LIBS to avoid the need to call pkg-config.
12113 See the pkg-config man page for more details.
12115 To get pkg-config, see <http://pkg-config.freedesktop.org/>.
12116 See \`config.log' for more details" "$LINENO" 5 ; }
12118 ECORE_FILE_CFLAGS=$pkg_cv_ECORE_FILE_CFLAGS
12119 ECORE_FILE_LIBS=$pkg_cv_ECORE_FILE_LIBS
12120 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
12121 $as_echo "yes" >&6; }
12126 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for EET" >&5
12127 $as_echo_n "checking for EET... " >&6; }
12129 if test -n "$EET_CFLAGS"; then
12130 pkg_cv_EET_CFLAGS="$EET_CFLAGS"
12131 elif test -n "$PKG_CONFIG"; then
12132 if test -n "$PKG_CONFIG" && \
12133 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"eet >= 1.6.99\""; } >&5
12134 ($PKG_CONFIG --exists --print-errors "eet >= 1.6.99") 2>&5
12136 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
12137 test $ac_status = 0; }; then
12138 pkg_cv_EET_CFLAGS=`$PKG_CONFIG --cflags "eet >= 1.6.99" 2>/dev/null`
12145 if test -n "$EET_LIBS"; then
12146 pkg_cv_EET_LIBS="$EET_LIBS"
12147 elif test -n "$PKG_CONFIG"; then
12148 if test -n "$PKG_CONFIG" && \
12149 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"eet >= 1.6.99\""; } >&5
12150 ($PKG_CONFIG --exists --print-errors "eet >= 1.6.99") 2>&5
12152 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
12153 test $ac_status = 0; }; then
12154 pkg_cv_EET_LIBS=`$PKG_CONFIG --libs "eet >= 1.6.99" 2>/dev/null`
12164 if test $pkg_failed = yes; then
12165 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12166 $as_echo "no" >&6; }
12168 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
12169 _pkg_short_errors_supported=yes
12171 _pkg_short_errors_supported=no
12173 if test $_pkg_short_errors_supported = yes; then
12174 EET_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors "eet >= 1.6.99" 2>&1`
12176 EET_PKG_ERRORS=`$PKG_CONFIG --print-errors "eet >= 1.6.99" 2>&1`
12178 # Put the nasty error message in config.log where it belongs
12179 echo "$EET_PKG_ERRORS" >&5
12181 as_fn_error $? "Package requirements (eet >= 1.6.99) were not met:
12185 Consider adjusting the PKG_CONFIG_PATH environment variable if you
12186 installed software in a non-standard prefix.
12188 Alternatively, you may set the environment variables EET_CFLAGS
12189 and EET_LIBS to avoid the need to call pkg-config.
12190 See the pkg-config man page for more details." "$LINENO" 5
12191 elif test $pkg_failed = untried; then
12192 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12193 $as_echo "no" >&6; }
12194 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
12195 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
12196 as_fn_error $? "The pkg-config script could not be found or is too old. Make sure it
12197 is in your PATH or set the PKG_CONFIG environment variable to the full
12198 path to pkg-config.
12200 Alternatively, you may set the environment variables EET_CFLAGS
12201 and EET_LIBS to avoid the need to call pkg-config.
12202 See the pkg-config man page for more details.
12204 To get pkg-config, see <http://pkg-config.freedesktop.org/>.
12205 See \`config.log' for more details" "$LINENO" 5 ; }
12207 EET_CFLAGS=$pkg_cv_EET_CFLAGS
12208 EET_LIBS=$pkg_cv_EET_LIBS
12209 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
12210 $as_echo "yes" >&6; }
12215 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ECORE_CON" >&5
12216 $as_echo_n "checking for ECORE_CON... " >&6; }
12218 if test -n "$ECORE_CON_CFLAGS"; then
12219 pkg_cv_ECORE_CON_CFLAGS="$ECORE_CON_CFLAGS"
12220 elif test -n "$PKG_CONFIG"; then
12221 if test -n "$PKG_CONFIG" && \
12222 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"ecore-con >= 1.6.99\""; } >&5
12223 ($PKG_CONFIG --exists --print-errors "ecore-con >= 1.6.99") 2>&5
12225 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
12226 test $ac_status = 0; }; then
12227 pkg_cv_ECORE_CON_CFLAGS=`$PKG_CONFIG --cflags "ecore-con >= 1.6.99" 2>/dev/null`
12234 if test -n "$ECORE_CON_LIBS"; then
12235 pkg_cv_ECORE_CON_LIBS="$ECORE_CON_LIBS"
12236 elif test -n "$PKG_CONFIG"; then
12237 if test -n "$PKG_CONFIG" && \
12238 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"ecore-con >= 1.6.99\""; } >&5
12239 ($PKG_CONFIG --exists --print-errors "ecore-con >= 1.6.99") 2>&5
12241 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
12242 test $ac_status = 0; }; then
12243 pkg_cv_ECORE_CON_LIBS=`$PKG_CONFIG --libs "ecore-con >= 1.6.99" 2>/dev/null`
12253 if test $pkg_failed = yes; then
12254 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12255 $as_echo "no" >&6; }
12257 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
12258 _pkg_short_errors_supported=yes
12260 _pkg_short_errors_supported=no
12262 if test $_pkg_short_errors_supported = yes; then
12263 ECORE_CON_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors "ecore-con >= 1.6.99" 2>&1`
12265 ECORE_CON_PKG_ERRORS=`$PKG_CONFIG --print-errors "ecore-con >= 1.6.99" 2>&1`
12267 # Put the nasty error message in config.log where it belongs
12268 echo "$ECORE_CON_PKG_ERRORS" >&5
12270 as_fn_error $? "Package requirements (ecore-con >= 1.6.99) were not met:
12272 $ECORE_CON_PKG_ERRORS
12274 Consider adjusting the PKG_CONFIG_PATH environment variable if you
12275 installed software in a non-standard prefix.
12277 Alternatively, you may set the environment variables ECORE_CON_CFLAGS
12278 and ECORE_CON_LIBS to avoid the need to call pkg-config.
12279 See the pkg-config man page for more details." "$LINENO" 5
12280 elif test $pkg_failed = untried; then
12281 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12282 $as_echo "no" >&6; }
12283 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
12284 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
12285 as_fn_error $? "The pkg-config script could not be found or is too old. Make sure it
12286 is in your PATH or set the PKG_CONFIG environment variable to the full
12287 path to pkg-config.
12289 Alternatively, you may set the environment variables ECORE_CON_CFLAGS
12290 and ECORE_CON_LIBS to avoid the need to call pkg-config.
12291 See the pkg-config man page for more details.
12293 To get pkg-config, see <http://pkg-config.freedesktop.org/>.
12294 See \`config.log' for more details" "$LINENO" 5 ; }
12296 ECORE_CON_CFLAGS=$pkg_cv_ECORE_CON_CFLAGS
12297 ECORE_CON_LIBS=$pkg_cv_ECORE_CON_LIBS
12298 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
12299 $as_echo "yes" >&6; }
12303 if test "x$with_mount" = "xdetect";then
12304 # Extract the first word of "mount", so it can be a program name with args.
12305 set dummy mount; ac_word=$2
12306 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
12307 $as_echo_n "checking for $ac_word... " >&6; }
12308 if test "${ac_cv_path_with_mount+set}" = set; then :
12309 $as_echo_n "(cached) " >&6
12311 case $with_mount in
12313 ac_cv_path_with_mount="$with_mount" # Let the user override the test with a path.
12316 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12317 for as_dir in $PATH
12320 test -z "$as_dir" && as_dir=.
12321 for ac_exec_ext in '' $ac_executable_extensions; do
12322 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
12323 ac_cv_path_with_mount="$as_dir/$ac_word$ac_exec_ext"
12324 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
12334 with_mount=$ac_cv_path_with_mount
12335 if test -n "$with_mount"; then
12336 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $with_mount" >&5
12337 $as_echo "$with_mount" >&6; }
12339 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12340 $as_echo "no" >&6; }
12345 if test -z "$with_mount" ; then
12347 cat >>confdefs.h <<_ACEOF
12348 #define MOUNTABLE 0
12353 cat >>confdefs.h <<_ACEOF
12354 #define MOUNTABLE 1
12359 cat >>confdefs.h <<_ACEOF
12360 #define EEZE_MOUNT_BIN "$with_mount"
12364 if test "x$with_umount" = "xdetect";then
12365 # Extract the first word of "umount", so it can be a program name with args.
12366 set dummy umount; ac_word=$2
12367 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
12368 $as_echo_n "checking for $ac_word... " >&6; }
12369 if test "${ac_cv_path_with_umount+set}" = set; then :
12370 $as_echo_n "(cached) " >&6
12372 case $with_umount in
12374 ac_cv_path_with_umount="$with_umount" # Let the user override the test with a path.
12377 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12378 for as_dir in $PATH
12381 test -z "$as_dir" && as_dir=.
12382 for ac_exec_ext in '' $ac_executable_extensions; do
12383 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
12384 ac_cv_path_with_umount="$as_dir/$ac_word$ac_exec_ext"
12385 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
12395 with_umount=$ac_cv_path_with_umount
12396 if test -n "$with_umount"; then
12397 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $with_umount" >&5
12398 $as_echo "$with_umount" >&6; }
12400 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12401 $as_echo "no" >&6; }
12406 if test -z "$with_umount" ; then
12408 cat >>confdefs.h <<_ACEOF
12409 #define UNMOUNTABLE 0
12414 cat >>confdefs.h <<_ACEOF
12415 #define UNMOUNTABLE 1
12420 cat >>confdefs.h <<_ACEOF
12421 #define EEZE_UNMOUNT_BIN "$with_umount"
12425 if test "x$with_eject" = "xdetect";then
12426 # Extract the first word of "eject", so it can be a program name with args.
12427 set dummy eject; ac_word=$2
12428 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
12429 $as_echo_n "checking for $ac_word... " >&6; }
12430 if test "${ac_cv_path_with_eject+set}" = set; then :
12431 $as_echo_n "(cached) " >&6
12433 case $with_eject in
12435 ac_cv_path_with_eject="$with_eject" # Let the user override the test with a path.
12438 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12439 for as_dir in $PATH
12442 test -z "$as_dir" && as_dir=.
12443 for ac_exec_ext in '' $ac_executable_extensions; do
12444 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
12445 ac_cv_path_with_eject="$as_dir/$ac_word$ac_exec_ext"
12446 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
12456 with_eject=$ac_cv_path_with_eject
12457 if test -n "$with_eject"; then
12458 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $with_eject" >&5
12459 $as_echo "$with_eject" >&6; }
12461 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12462 $as_echo "no" >&6; }
12467 if test -z "$with_eject" ; then
12469 cat >>confdefs.h <<_ACEOF
12470 #define EJECTABLE 0
12475 cat >>confdefs.h <<_ACEOF
12476 #define EJECTABLE 1
12481 cat >>confdefs.h <<_ACEOF
12482 #define EEZE_EJECT_BIN "$with_eject"
12488 # Check whether --enable-mtab was given.
12489 if test "${enable_mtab+set}" = set; then :
12490 enableval=$enable_mtab;
12491 if test "x${enableval}" = "xyes" ; then
12502 if test "x${want_mtab}" = "xyes" ; then
12505 OLD_LIBMOUNT_FALSE='#'
12507 OLD_LIBMOUNT_TRUE='#'
12508 OLD_LIBMOUNT_FALSE=
12513 NEW_LIBMOUNT_FALSE='#'
12515 NEW_LIBMOUNT_TRUE='#'
12516 NEW_LIBMOUNT_FALSE=
12520 if test -n "$mount_v";then
12521 if test "$(echo $mount_v | cut -d'.' -f2)" -lt 19; then
12523 OLD_LIBMOUNT_FALSE='#'
12525 OLD_LIBMOUNT_TRUE='#'
12526 OLD_LIBMOUNT_FALSE=
12529 if test "$(echo $mount_v | cut -d'.' -f2)" -gt 19; then
12531 NEW_LIBMOUNT_FALSE='#'
12533 NEW_LIBMOUNT_TRUE='#'
12534 NEW_LIBMOUNT_FALSE=
12540 OLD_LIBMOUNT_FALSE='#'
12542 OLD_LIBMOUNT_TRUE='#'
12543 OLD_LIBMOUNT_FALSE=
12548 NEW_LIBMOUNT_FALSE='#'
12550 NEW_LIBMOUNT_TRUE='#'
12551 NEW_LIBMOUNT_FALSE=
12559 cat >>confdefs.h <<_ACEOF
12560 #define OLD_LIBMOUNT 1
12566 for ac_header in netinet/in.h
12568 ac_fn_c_check_header_mongrel "$LINENO" "netinet/in.h" "ac_cv_header_netinet_in_h" "$ac_includes_default"
12569 if test "x$ac_cv_header_netinet_in_h" = x""yes; then :
12570 cat >>confdefs.h <<_ACEOF
12571 #define HAVE_NETINET_IN_H 1
12581 # Check whether --enable-ipv6 was given.
12582 if test "${enable_ipv6+set}" = set; then :
12583 enableval=$enable_ipv6;
12584 if test "x${enableval}" = "xyes" ; then
12594 # Verify IPV6 availability in headers
12595 if test "x${want_ipv6}" != "xno" ; then
12596 ac_fn_c_check_type "$LINENO" "struct ipv6_mreq" "ac_cv_type_struct_ipv6_mreq" "
12597 #ifdef HAVE_NETINET_IN_H
12598 # include <netinet/in.h>
12602 if test "x$ac_cv_type_struct_ipv6_mreq" = x""yes; then :
12604 cat >>confdefs.h <<_ACEOF
12605 #define HAVE_STRUCT_IPV6_MREQ 1
12615 if test "x${have_ipv6}" = "xyes" ; then
12617 $as_echo "#define HAVE_IPV6 1" >>confdefs.h
12621 ### Checks for header files
12624 ### Checks for types
12627 ### Checks for structures
12630 ### Checks for compiler characteristics
12632 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5
12633 $as_echo_n "checking for ANSI C header files... " >&6; }
12634 if test "${ac_cv_header_stdc+set}" = set; then :
12635 $as_echo_n "(cached) " >&6
12637 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12638 /* end confdefs.h. */
12639 #include <stdlib.h>
12640 #include <stdarg.h>
12641 #include <string.h>
12652 if ac_fn_c_try_compile "$LINENO"; then :
12653 ac_cv_header_stdc=yes
12655 ac_cv_header_stdc=no
12657 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
12659 if test $ac_cv_header_stdc = yes; then
12660 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
12661 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12662 /* end confdefs.h. */
12663 #include <string.h>
12666 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
12667 $EGREP "memchr" >/dev/null 2>&1; then :
12670 ac_cv_header_stdc=no
12676 if test $ac_cv_header_stdc = yes; then
12677 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
12678 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12679 /* end confdefs.h. */
12680 #include <stdlib.h>
12683 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
12684 $EGREP "free" >/dev/null 2>&1; then :
12687 ac_cv_header_stdc=no
12693 if test $ac_cv_header_stdc = yes; then
12694 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
12695 if test "$cross_compiling" = yes; then :
12698 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12699 /* end confdefs.h. */
12701 #include <stdlib.h>
12702 #if ((' ' & 0x0FF) == 0x020)
12703 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
12704 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
12706 # define ISLOWER(c) \
12707 (('a' <= (c) && (c) <= 'i') \
12708 || ('j' <= (c) && (c) <= 'r') \
12709 || ('s' <= (c) && (c) <= 'z'))
12710 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
12713 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
12718 for (i = 0; i < 256; i++)
12719 if (XOR (islower (i), ISLOWER (i))
12720 || toupper (i) != TOUPPER (i))
12725 if ac_fn_c_try_run "$LINENO"; then :
12728 ac_cv_header_stdc=no
12730 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
12731 conftest.$ac_objext conftest.beam conftest.$ac_ext
12736 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdc" >&5
12737 $as_echo "$ac_cv_header_stdc" >&6; }
12738 if test $ac_cv_header_stdc = yes; then
12740 $as_echo "#define STDC_HEADERS 1" >>confdefs.h
12745 if ! test "x${VMIC}" = "x" ; then
12748 CFLAGS_save="${CFLAGS}"
12749 CFLAGS="${CFLAGS} -Wall"
12752 ac_cpp='$CPP $CPPFLAGS'
12753 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
12754 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
12755 ac_compiler_gnu=$ac_cv_c_compiler_gnu
12757 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wall" >&5
12758 $as_echo_n "checking whether the compiler supports -Wall... " >&6; }
12760 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12761 /* end confdefs.h. */
12771 if ac_fn_c_try_compile "$LINENO"; then :
12776 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
12777 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${have_flag}" >&5
12778 $as_echo "${have_flag}" >&6; }
12780 if test "x${have_flag}" = "xno" ; then
12781 CFLAGS="${CFLAGS_save}"
12784 ac_cpp='$CPP $CPPFLAGS'
12785 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
12786 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
12787 ac_compiler_gnu=$ac_cv_c_compiler_gnu
12793 CFLAGS_save="${CFLAGS}"
12794 CFLAGS="${CFLAGS} -W"
12797 ac_cpp='$CPP $CPPFLAGS'
12798 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
12799 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
12800 ac_compiler_gnu=$ac_cv_c_compiler_gnu
12802 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -W" >&5
12803 $as_echo_n "checking whether the compiler supports -W... " >&6; }
12805 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12806 /* end confdefs.h. */
12816 if ac_fn_c_try_compile "$LINENO"; then :
12821 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
12822 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${have_flag}" >&5
12823 $as_echo "${have_flag}" >&6; }
12825 if test "x${have_flag}" = "xno" ; then
12826 CFLAGS="${CFLAGS_save}"
12829 ac_cpp='$CPP $CPPFLAGS'
12830 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
12831 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
12832 ac_compiler_gnu=$ac_cv_c_compiler_gnu
12840 CFLAGS_save="${CFLAGS}"
12841 CFLAGS="${CFLAGS} -Wshadow"
12844 ac_cpp='$CPP $CPPFLAGS'
12845 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
12846 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
12847 ac_compiler_gnu=$ac_cv_c_compiler_gnu
12849 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wshadow" >&5
12850 $as_echo_n "checking whether the compiler supports -Wshadow... " >&6; }
12852 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12853 /* end confdefs.h. */
12863 if ac_fn_c_try_compile "$LINENO"; then :
12868 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
12869 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${have_flag}" >&5
12870 $as_echo "${have_flag}" >&6; }
12872 if test "x${have_flag}" = "xno" ; then
12873 CFLAGS="${CFLAGS_save}"
12876 ac_cpp='$CPP $CPPFLAGS'
12877 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
12878 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
12879 ac_compiler_gnu=$ac_cv_c_compiler_gnu
12891 # Check whether --enable-eeze-udev-test was given.
12892 if test "${enable_eeze_udev_test+set}" = set; then :
12893 enableval=$enable_eeze_udev_test;
12894 if test "x${enableval}" = "xyes" ; then
12895 have_eeze_udev_test="yes"
12897 have_eeze_udev_test="no"
12901 have_eeze_udev_test="yes"
12905 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build eeze_udev_test binary" >&5
12906 $as_echo_n "checking whether to build eeze_udev_test binary... " >&6; }
12907 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $have_eeze_udev_test" >&5
12908 $as_echo "$have_eeze_udev_test" >&6; }
12910 if test "x$have_eeze_udev_test" = "xyes"; then
12911 EEZE_UDEV_TEST_PRG=eeze_udev_test${EXEEXT}
12916 if test "x$have_eeze_udev_test" = "xyes"; then
12917 BUILD_EEZE_UDEV_TEST_TRUE=
12918 BUILD_EEZE_UDEV_TEST_FALSE='#'
12920 BUILD_EEZE_UDEV_TEST_TRUE='#'
12921 BUILD_EEZE_UDEV_TEST_FALSE=
12925 if test "x$have_eeze_udev_test" = "xyes"; then :
12934 # Check whether --enable-eeze-mount was given.
12935 if test "${enable_eeze_mount+set}" = set; then :
12936 enableval=$enable_eeze_mount;
12937 if test "x${enableval}" = "xyes" ; then
12938 have_eeze_mount="yes"
12940 have_eeze_mount="no"
12944 have_eeze_mount="yes"
12948 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build eeze_mount binary" >&5
12949 $as_echo_n "checking whether to build eeze_mount binary... " >&6; }
12950 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $have_eeze_mount" >&5
12951 $as_echo "$have_eeze_mount" >&6; }
12953 if test "x$have_eeze_mount" = "xyes"; then
12954 EEZE_MOUNT_PRG=eeze_mount${EXEEXT}
12959 if test "x$have_eeze_mount" = "xyes"; then
12960 BUILD_EEZE_MOUNT_TRUE=
12961 BUILD_EEZE_MOUNT_FALSE='#'
12963 BUILD_EEZE_MOUNT_TRUE='#'
12964 BUILD_EEZE_MOUNT_FALSE=
12968 if test "x$have_eeze_mount" = "xyes"; then :
12977 # Check whether --enable-eeze-disk-ls was given.
12978 if test "${enable_eeze_disk_ls+set}" = set; then :
12979 enableval=$enable_eeze_disk_ls;
12980 if test "x${enableval}" = "xyes" ; then
12981 have_eeze_disk_ls="yes"
12983 have_eeze_disk_ls="no"
12987 have_eeze_disk_ls="yes"
12991 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build eeze_disk_ls binary" >&5
12992 $as_echo_n "checking whether to build eeze_disk_ls binary... " >&6; }
12993 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $have_eeze_disk_ls" >&5
12994 $as_echo "$have_eeze_disk_ls" >&6; }
12996 if test "x$have_eeze_disk_ls" = "xyes"; then
12997 EEZE_DISK_LS_PRG=eeze_disk_ls${EXEEXT}
13002 if test "x$have_eeze_disk_ls" = "xyes"; then
13003 BUILD_EEZE_DISK_LS_TRUE=
13004 BUILD_EEZE_DISK_LS_FALSE='#'
13006 BUILD_EEZE_DISK_LS_TRUE='#'
13007 BUILD_EEZE_DISK_LS_FALSE=
13011 if test "x$have_eeze_disk_ls" = "xyes"; then :
13020 # Check whether --enable-eeze-umount was given.
13021 if test "${enable_eeze_umount+set}" = set; then :
13022 enableval=$enable_eeze_umount;
13023 if test "x${enableval}" = "xyes" ; then
13024 have_eeze_umount="yes"
13026 have_eeze_umount="no"
13030 have_eeze_umount="yes"
13034 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build eeze_umount binary" >&5
13035 $as_echo_n "checking whether to build eeze_umount binary... " >&6; }
13036 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $have_eeze_umount" >&5
13037 $as_echo "$have_eeze_umount" >&6; }
13039 if test "x$have_eeze_umount" = "xyes"; then
13040 EEZE_UMOUNT_PRG=eeze_umount${EXEEXT}
13045 if test "x$have_eeze_umount" = "xyes"; then
13046 BUILD_EEZE_UMOUNT_TRUE=
13047 BUILD_EEZE_UMOUNT_FALSE='#'
13049 BUILD_EEZE_UMOUNT_TRUE='#'
13050 BUILD_EEZE_UMOUNT_FALSE=
13054 if test "x$have_eeze_umount" = "xyes"; then :
13063 # Check whether --enable-eeze-scanner was given.
13064 if test "${enable_eeze_scanner+set}" = set; then :
13065 enableval=$enable_eeze_scanner;
13066 if test "x${enableval}" = "xyes" ; then
13067 have_eeze_scanner="yes"
13069 have_eeze_scanner="no"
13073 have_eeze_scanner="yes"
13077 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build eeze_scanner binary" >&5
13078 $as_echo_n "checking whether to build eeze_scanner binary... " >&6; }
13079 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $have_eeze_scanner" >&5
13080 $as_echo "$have_eeze_scanner" >&6; }
13082 if test "x$have_eeze_scanner" = "xyes"; then
13083 EEZE_SCANNER_PRG=eeze_scanner${EXEEXT}
13088 if test "x$have_eeze_scanner" = "xyes"; then
13089 BUILD_EEZE_SCANNER_TRUE=
13090 BUILD_EEZE_SCANNER_FALSE='#'
13092 BUILD_EEZE_SCANNER_TRUE='#'
13093 BUILD_EEZE_SCANNER_FALSE=
13097 if test "x$have_eeze_scanner" = "xyes"; then :
13106 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"
13108 cat >confcache <<\_ACEOF
13109 # This file is a shell script that caches the results of configure
13110 # tests run on this system so they can be shared between configure
13111 # scripts and configure runs, see configure's option --config-cache.
13112 # It is not useful on other systems. If it contains results you don't
13113 # want to keep, you may remove or edit it.
13115 # config.status only pays attention to the cache file if you give it
13116 # the --recheck option to rerun configure.
13118 # `ac_cv_env_foo' variables (set or unset) will be overridden when
13119 # loading this file, other *unset* `ac_cv_foo' will be assigned the
13120 # following values.
13124 # The following way of writing the cache mishandles newlines in values,
13125 # but we know of no workaround that is simple, portable, and efficient.
13126 # So, we kill variables containing newlines.
13127 # Ultrix sh set writes to stderr and can't be redirected directly,
13128 # and sets the high bit in the cache file unless we assign to the vars.
13130 for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
13131 eval ac_val=\$$ac_var
13135 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
13136 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
13139 _ | IFS | as_nl) ;; #(
13140 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
13141 *) { eval $ac_var=; unset $ac_var;} ;;
13147 case $as_nl`(ac_space=' '; set) 2>&1` in #(
13148 *${as_nl}ac_space=\ *)
13149 # `set' does not quote correctly, so add quotes: double-quote
13150 # substitution turns \\\\ into \\, and sed turns \\ into \.
13153 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
13156 # `set' quotes correctly as required by POSIX, so do not add quotes.
13157 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
13166 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
13168 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
13170 if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
13171 if test -w "$cache_file"; then
13172 test "x$cache_file" != "x/dev/null" &&
13173 { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
13174 $as_echo "$as_me: updating cache $cache_file" >&6;}
13175 cat confcache >$cache_file
13177 { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
13178 $as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
13183 test "x$prefix" = xNONE && prefix=$ac_default_prefix
13184 # Let make expand exec_prefix.
13185 test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
13187 DEFS=-DHAVE_CONFIG_H
13192 for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
13193 # 1. Remove the extension, and $U if already installed.
13194 ac_script='s/\$U\././;s/\.o$//;s/\.obj$//'
13195 ac_i=`$as_echo "$ac_i" | sed "$ac_script"`
13196 # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR
13197 # will be set to the directory where LIBOBJS objects are built.
13198 as_fn_append ac_libobjs " \${LIBOBJDIR}$ac_i\$U.$ac_objext"
13199 as_fn_append ac_ltlibobjs " \${LIBOBJDIR}$ac_i"'$U.lo'
13201 LIBOBJS=$ac_libobjs
13203 LTLIBOBJS=$ac_ltlibobjs
13206 if test -n "$EXEEXT"; then
13208 am__EXEEXT_FALSE='#'
13210 am__EXEEXT_TRUE='#'
13214 if test -z "${AMDEP_TRUE}" && test -z "${AMDEP_FALSE}"; then
13215 as_fn_error $? "conditional \"AMDEP\" was never defined.
13216 Usually this means the macro was only invoked conditionally." "$LINENO" 5
13218 if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
13219 as_fn_error $? "conditional \"am__fastdepCC\" was never defined.
13220 Usually this means the macro was only invoked conditionally." "$LINENO" 5
13222 if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
13223 as_fn_error $? "conditional \"am__fastdepCC\" was never defined.
13224 Usually this means the macro was only invoked conditionally." "$LINENO" 5
13226 if test -z "${EFL_BUILD_DOC_TRUE}" && test -z "${EFL_BUILD_DOC_FALSE}"; then
13227 as_fn_error $? "conditional \"EFL_BUILD_DOC\" was never defined.
13228 Usually this means the macro was only invoked conditionally." "$LINENO" 5
13230 if test -z "${HAVE_EEZE_MOUNT_TRUE}" && test -z "${HAVE_EEZE_MOUNT_FALSE}"; then
13231 as_fn_error $? "conditional \"HAVE_EEZE_MOUNT\" was never defined.
13232 Usually this means the macro was only invoked conditionally." "$LINENO" 5
13234 if test -z "${HAVE_EEZE_MOUNT_TRUE}" && test -z "${HAVE_EEZE_MOUNT_FALSE}"; then
13235 as_fn_error $? "conditional \"HAVE_EEZE_MOUNT\" was never defined.
13236 Usually this means the macro was only invoked conditionally." "$LINENO" 5
13238 if test -z "${OLD_LIBMOUNT_TRUE}" && test -z "${OLD_LIBMOUNT_FALSE}"; then
13239 as_fn_error $? "conditional \"OLD_LIBMOUNT\" was never defined.
13240 Usually this means the macro was only invoked conditionally." "$LINENO" 5
13242 if test -z "${NEW_LIBMOUNT_TRUE}" && test -z "${NEW_LIBMOUNT_FALSE}"; then
13243 as_fn_error $? "conditional \"NEW_LIBMOUNT\" was never defined.
13244 Usually this means the macro was only invoked conditionally." "$LINENO" 5
13246 if test -z "${OLD_LIBMOUNT_TRUE}" && test -z "${OLD_LIBMOUNT_FALSE}"; then
13247 as_fn_error $? "conditional \"OLD_LIBMOUNT\" was never defined.
13248 Usually this means the macro was only invoked conditionally." "$LINENO" 5
13250 if test -z "${NEW_LIBMOUNT_TRUE}" && test -z "${NEW_LIBMOUNT_FALSE}"; then
13251 as_fn_error $? "conditional \"NEW_LIBMOUNT\" was never defined.
13252 Usually this means the macro was only invoked conditionally." "$LINENO" 5
13254 if test -z "${OLD_LIBMOUNT_TRUE}" && test -z "${OLD_LIBMOUNT_FALSE}"; then
13255 as_fn_error $? "conditional \"OLD_LIBMOUNT\" was never defined.
13256 Usually this means the macro was only invoked conditionally." "$LINENO" 5
13258 if test -z "${NEW_LIBMOUNT_TRUE}" && test -z "${NEW_LIBMOUNT_FALSE}"; then
13259 as_fn_error $? "conditional \"NEW_LIBMOUNT\" was never defined.
13260 Usually this means the macro was only invoked conditionally." "$LINENO" 5
13262 if test -z "${BUILD_EEZE_UDEV_TEST_TRUE}" && test -z "${BUILD_EEZE_UDEV_TEST_FALSE}"; then
13263 as_fn_error $? "conditional \"BUILD_EEZE_UDEV_TEST\" was never defined.
13264 Usually this means the macro was only invoked conditionally." "$LINENO" 5
13266 if test -z "${BUILD_EEZE_MOUNT_TRUE}" && test -z "${BUILD_EEZE_MOUNT_FALSE}"; then
13267 as_fn_error $? "conditional \"BUILD_EEZE_MOUNT\" was never defined.
13268 Usually this means the macro was only invoked conditionally." "$LINENO" 5
13270 if test -z "${BUILD_EEZE_DISK_LS_TRUE}" && test -z "${BUILD_EEZE_DISK_LS_FALSE}"; then
13271 as_fn_error $? "conditional \"BUILD_EEZE_DISK_LS\" was never defined.
13272 Usually this means the macro was only invoked conditionally." "$LINENO" 5
13274 if test -z "${BUILD_EEZE_UMOUNT_TRUE}" && test -z "${BUILD_EEZE_UMOUNT_FALSE}"; then
13275 as_fn_error $? "conditional \"BUILD_EEZE_UMOUNT\" was never defined.
13276 Usually this means the macro was only invoked conditionally." "$LINENO" 5
13278 if test -z "${BUILD_EEZE_SCANNER_TRUE}" && test -z "${BUILD_EEZE_SCANNER_FALSE}"; then
13279 as_fn_error $? "conditional \"BUILD_EEZE_SCANNER\" was never defined.
13280 Usually this means the macro was only invoked conditionally." "$LINENO" 5
13283 : ${CONFIG_STATUS=./config.status}
13285 ac_clean_files_save=$ac_clean_files
13286 ac_clean_files="$ac_clean_files $CONFIG_STATUS"
13287 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5
13288 $as_echo "$as_me: creating $CONFIG_STATUS" >&6;}
13290 cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1
13292 # Generated by $as_me.
13293 # Run this file to recreate the current configuration.
13294 # Compiler output produced by configure, useful for debugging
13295 # configure, is in config.log if it exists.
13298 ac_cs_recheck=false
13301 SHELL=\${CONFIG_SHELL-$SHELL}
13304 cat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail=1
13305 ## -------------------- ##
13306 ## M4sh Initialization. ##
13307 ## -------------------- ##
13309 # Be more Bourne compatible
13310 DUALCASE=1; export DUALCASE # for MKS sh
13311 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :
13314 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
13315 # is contrary to our usage. Disable this feature.
13316 alias -g '${1+"$@"}'='"$@"'
13317 setopt NO_GLOB_SUBST
13319 case `(set -o) 2>/dev/null` in #(
13331 # Printing a long string crashes Solaris 7 /usr/bin/printf.
13332 as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
13333 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
13334 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
13335 # Prefer a ksh shell builtin over an external printf program on Solaris,
13336 # but without wasting forks for bash or zsh.
13337 if test -z "$BASH_VERSION$ZSH_VERSION" \
13338 && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
13339 as_echo='print -r --'
13340 as_echo_n='print -rn --'
13341 elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
13342 as_echo='printf %s\n'
13343 as_echo_n='printf %s'
13345 if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
13346 as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
13347 as_echo_n='/usr/ucb/echo -n'
13349 as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
13350 as_echo_n_body='eval
13354 expr "X$arg" : "X\\(.*\\)$as_nl";
13355 arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
13357 expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
13359 export as_echo_n_body
13360 as_echo_n='sh -c $as_echo_n_body as_echo'
13362 export as_echo_body
13363 as_echo='sh -c $as_echo_body as_echo'
13366 # The user is always right.
13367 if test "${PATH_SEPARATOR+set}" != set; then
13369 (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
13370 (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
13377 # We need space, tab and new line, in precisely that order. Quoting is
13378 # there to prevent editors from complaining about space-tab.
13379 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
13380 # splitting by setting IFS to empty value.)
13383 # Find who we are. Look in the path if we contain no directory separator.
13385 *[\\/]* ) as_myself=$0 ;;
13386 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
13387 for as_dir in $PATH
13390 test -z "$as_dir" && as_dir=.
13391 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
13397 # We did not find ourselves, most probably we were run as `sh COMMAND'
13398 # in which case we are not to be found in the path.
13399 if test "x$as_myself" = x; then
13402 if test ! -f "$as_myself"; then
13403 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
13407 # Unset variables that we do not need and which cause bugs (e.g. in
13408 # pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1"
13409 # suppresses any "Segmentation fault" message there. '((' could
13410 # trigger a bug in pdksh 5.2.14.
13411 for as_var in BASH_ENV ENV MAIL MAILPATH
13412 do eval test x\${$as_var+set} = xset \
13413 && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
13426 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
13429 # as_fn_error STATUS ERROR [LINENO LOG_FD]
13430 # ----------------------------------------
13431 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
13432 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
13433 # script with STATUS, using 1 if that was 0.
13436 as_status=$1; test $as_status -eq 0 && as_status=1
13438 as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
13439 $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
13441 $as_echo "$as_me: error: $2" >&2
13442 as_fn_exit $as_status
13446 # as_fn_set_status STATUS
13447 # -----------------------
13448 # Set $? to STATUS, without forking.
13449 as_fn_set_status ()
13452 } # as_fn_set_status
13454 # as_fn_exit STATUS
13455 # -----------------
13456 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
13460 as_fn_set_status $1
13466 # Portably unset VAR.
13469 { eval $1=; unset $1;}
13471 as_unset=as_fn_unset
13472 # as_fn_append VAR VALUE
13473 # ----------------------
13474 # Append the text in VALUE to the end of the definition contained in VAR. Take
13475 # advantage of any shell optimizations that allow amortized linear growth over
13476 # repeated appends, instead of the typical quadratic growth present in naive
13478 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
13479 eval 'as_fn_append ()
13490 # as_fn_arith ARG...
13491 # ------------------
13492 # Perform arithmetic evaluation on the ARGs, and store the result in the
13493 # global $as_val. Take advantage of shells that can avoid forks. The arguments
13494 # must be portable across $(()) and expr.
13495 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
13496 eval 'as_fn_arith ()
13503 as_val=`expr "$@" || test $? -eq 1`
13508 if expr a : '\(a\)' >/dev/null 2>&1 &&
13509 test "X`expr 00001 : '.*\(...\)'`" = X001; then
13515 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
13516 as_basename=basename
13521 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
13527 as_me=`$as_basename -- "$0" ||
13528 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
13529 X"$0" : 'X\(//\)$' \| \
13530 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
13532 sed '/^.*\/\([^/][^/]*\)\/*$/{
13546 # Avoid depending upon Character Ranges.
13547 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
13548 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
13549 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
13550 as_cr_digits='0123456789'
13551 as_cr_alnum=$as_cr_Letters$as_cr_digits
13553 ECHO_C= ECHO_N= ECHO_T=
13554 case `echo -n x` in #(((((
13556 case `echo 'xy\c'` in
13557 *c*) ECHO_T=' ';; # ECHO_T is single tab character.
13559 *) echo `echo ksh88 bug on AIX 6.1` > /dev/null
13566 rm -f conf$$ conf$$.exe conf$$.file
13567 if test -d conf$$.dir; then
13568 rm -f conf$$.dir/conf$$.file
13571 mkdir conf$$.dir 2>/dev/null
13573 if (echo >conf$$.file) 2>/dev/null; then
13574 if ln -s conf$$.file conf$$ 2>/dev/null; then
13576 # ... but there are two gotchas:
13577 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
13578 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
13579 # In both cases, we have to default to `cp -p'.
13580 ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
13582 elif ln conf$$.file conf$$ 2>/dev/null; then
13590 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
13591 rmdir conf$$.dir 2>/dev/null
13596 # Create "$as_dir" as a directory, including parents if necessary.
13601 -*) as_dir=./$as_dir;;
13603 test -d "$as_dir" || eval $as_mkdir_p || {
13607 *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
13608 *) as_qdir=$as_dir;;
13610 as_dirs="'$as_qdir' $as_dirs"
13611 as_dir=`$as_dirname -- "$as_dir" ||
13612 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
13613 X"$as_dir" : 'X\(//\)[^/]' \| \
13614 X"$as_dir" : 'X\(//\)$' \| \
13615 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
13616 $as_echo X"$as_dir" |
13617 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
13621 /^X\(\/\/\)[^/].*/{
13634 test -d "$as_dir" && break
13636 test -z "$as_dirs" || eval "mkdir $as_dirs"
13637 } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir"
13641 if mkdir -p . 2>/dev/null; then
13642 as_mkdir_p='mkdir -p "$as_dir"'
13644 test -d ./-p && rmdir ./-p
13648 if test -x / >/dev/null 2>&1; then
13649 as_test_x='test -x'
13651 if ls -dL / >/dev/null 2>&1; then
13658 if test -d "$1"; then
13664 case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in #((
13665 ???[sx]*):;;*)false;;esac;fi
13669 as_executable_p=$as_test_x
13671 # Sed expression to map a string onto a valid CPP name.
13672 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
13674 # Sed expression to map a string onto a valid variable name.
13675 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
13679 ## ----------------------------------- ##
13680 ## Main body of $CONFIG_STATUS script. ##
13681 ## ----------------------------------- ##
13683 test $as_write_fail = 0 && chmod +x $CONFIG_STATUS || ac_write_fail=1
13685 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
13686 # Save the log message, to keep $0 and so on meaningful, and to
13687 # report actual input values of CONFIG_FILES etc. instead of their
13688 # values after options handling.
13690 This file was extended by eeze $as_me 1.7.1, which was
13691 generated by GNU Autoconf 2.67. Invocation command line was
13693 CONFIG_FILES = $CONFIG_FILES
13694 CONFIG_HEADERS = $CONFIG_HEADERS
13695 CONFIG_LINKS = $CONFIG_LINKS
13696 CONFIG_COMMANDS = $CONFIG_COMMANDS
13699 on `(hostname || uname -n) 2>/dev/null | sed 1q`
13704 case $ac_config_files in *"
13705 "*) set x $ac_config_files; shift; ac_config_files=$*;;
13708 case $ac_config_headers in *"
13709 "*) set x $ac_config_headers; shift; ac_config_headers=$*;;
13713 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
13714 # Files that config.status was made for.
13715 config_files="$ac_config_files"
13716 config_headers="$ac_config_headers"
13717 config_commands="$ac_config_commands"
13721 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
13723 \`$as_me' instantiates files and other configuration actions
13724 from templates according to the current configuration. Unless the files
13725 and actions are specified as TAGs, all are instantiated by default.
13727 Usage: $0 [OPTION]... [TAG]...
13729 -h, --help print this help, then exit
13730 -V, --version print version number and configuration settings, then exit
13731 --config print configuration, then exit
13732 -q, --quiet, --silent
13733 do not print progress messages
13734 -d, --debug don't remove temporary files
13735 --recheck update $as_me by reconfiguring in the same conditions
13736 --file=FILE[:TEMPLATE]
13737 instantiate the configuration file FILE
13738 --header=FILE[:TEMPLATE]
13739 instantiate the configuration header FILE
13741 Configuration files:
13744 Configuration headers:
13747 Configuration commands:
13750 Report bugs to <enlightenment-devel@lists.sourceforge.net>."
13753 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
13754 ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`"
13756 eeze config.status 1.7.1
13757 configured by $0, generated by GNU Autoconf 2.67,
13758 with options \\"\$ac_cs_config\\"
13760 Copyright (C) 2010 Free Software Foundation, Inc.
13761 This config.status script is free software; the Free Software Foundation
13762 gives unlimited permission to copy, distribute and modify it."
13769 test -n "\$AWK" || AWK=awk
13772 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
13773 # The default lists apply if the user does not specify any file.
13779 ac_option=`expr "X$1" : 'X\([^=]*\)='`
13780 ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'`
13784 ac_option=`expr "X$1" : 'X\([^=]*\)='`
13796 # Handling of the options.
13797 -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
13799 --version | --versio | --versi | --vers | --ver | --ve | --v | -V )
13800 $as_echo "$ac_cs_version"; exit ;;
13801 --config | --confi | --conf | --con | --co | --c )
13802 $as_echo "$ac_cs_config"; exit ;;
13803 --debug | --debu | --deb | --de | --d | -d )
13805 --file | --fil | --fi | --f )
13808 *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
13809 '') as_fn_error $? "missing file argument" ;;
13811 as_fn_append CONFIG_FILES " '$ac_optarg'"
13812 ac_need_defaults=false;;
13813 --header | --heade | --head | --hea )
13816 *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
13818 as_fn_append CONFIG_HEADERS " '$ac_optarg'"
13819 ac_need_defaults=false;;
13821 # Conflict between --help and --header
13822 as_fn_error $? "ambiguous option: \`$1'
13823 Try \`$0 --help' for more information.";;
13824 --help | --hel | -h )
13825 $as_echo "$ac_cs_usage"; exit ;;
13826 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
13827 | -silent | --silent | --silen | --sile | --sil | --si | --s)
13830 # This is an error.
13831 -*) as_fn_error $? "unrecognized option: \`$1'
13832 Try \`$0 --help' for more information." ;;
13834 *) as_fn_append ac_config_targets " $1"
13835 ac_need_defaults=false ;;
13841 ac_configure_extra_args=
13843 if $ac_cs_silent; then
13845 ac_configure_extra_args="$ac_configure_extra_args --silent"
13849 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
13850 if \$ac_cs_recheck; then
13851 set X '$SHELL' '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
13853 \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6
13854 CONFIG_SHELL='$SHELL'
13855 export CONFIG_SHELL
13860 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
13864 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
13865 ## Running $as_me. ##
13871 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
13875 AMDEP_TRUE="$AMDEP_TRUE" ac_aux_dir="$ac_aux_dir"
13878 # The HP-UX ksh and POSIX shell print the target directory to stdout
13879 # if CDPATH is set.
13880 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
13882 sed_quote_subst='$sed_quote_subst'
13883 double_quote_subst='$double_quote_subst'
13884 delay_variable_subst='$delay_variable_subst'
13885 macro_version='`$ECHO "X$macro_version" | $Xsed -e "$delay_single_quote_subst"`'
13886 macro_revision='`$ECHO "X$macro_revision" | $Xsed -e "$delay_single_quote_subst"`'
13887 enable_shared='`$ECHO "X$enable_shared" | $Xsed -e "$delay_single_quote_subst"`'
13888 enable_static='`$ECHO "X$enable_static" | $Xsed -e "$delay_single_quote_subst"`'
13889 pic_mode='`$ECHO "X$pic_mode" | $Xsed -e "$delay_single_quote_subst"`'
13890 enable_fast_install='`$ECHO "X$enable_fast_install" | $Xsed -e "$delay_single_quote_subst"`'
13891 host_alias='`$ECHO "X$host_alias" | $Xsed -e "$delay_single_quote_subst"`'
13892 host='`$ECHO "X$host" | $Xsed -e "$delay_single_quote_subst"`'
13893 host_os='`$ECHO "X$host_os" | $Xsed -e "$delay_single_quote_subst"`'
13894 build_alias='`$ECHO "X$build_alias" | $Xsed -e "$delay_single_quote_subst"`'
13895 build='`$ECHO "X$build" | $Xsed -e "$delay_single_quote_subst"`'
13896 build_os='`$ECHO "X$build_os" | $Xsed -e "$delay_single_quote_subst"`'
13897 SED='`$ECHO "X$SED" | $Xsed -e "$delay_single_quote_subst"`'
13898 Xsed='`$ECHO "X$Xsed" | $Xsed -e "$delay_single_quote_subst"`'
13899 GREP='`$ECHO "X$GREP" | $Xsed -e "$delay_single_quote_subst"`'
13900 EGREP='`$ECHO "X$EGREP" | $Xsed -e "$delay_single_quote_subst"`'
13901 FGREP='`$ECHO "X$FGREP" | $Xsed -e "$delay_single_quote_subst"`'
13902 LD='`$ECHO "X$LD" | $Xsed -e "$delay_single_quote_subst"`'
13903 NM='`$ECHO "X$NM" | $Xsed -e "$delay_single_quote_subst"`'
13904 LN_S='`$ECHO "X$LN_S" | $Xsed -e "$delay_single_quote_subst"`'
13905 max_cmd_len='`$ECHO "X$max_cmd_len" | $Xsed -e "$delay_single_quote_subst"`'
13906 ac_objext='`$ECHO "X$ac_objext" | $Xsed -e "$delay_single_quote_subst"`'
13907 exeext='`$ECHO "X$exeext" | $Xsed -e "$delay_single_quote_subst"`'
13908 lt_unset='`$ECHO "X$lt_unset" | $Xsed -e "$delay_single_quote_subst"`'
13909 lt_SP2NL='`$ECHO "X$lt_SP2NL" | $Xsed -e "$delay_single_quote_subst"`'
13910 lt_NL2SP='`$ECHO "X$lt_NL2SP" | $Xsed -e "$delay_single_quote_subst"`'
13911 reload_flag='`$ECHO "X$reload_flag" | $Xsed -e "$delay_single_quote_subst"`'
13912 reload_cmds='`$ECHO "X$reload_cmds" | $Xsed -e "$delay_single_quote_subst"`'
13913 OBJDUMP='`$ECHO "X$OBJDUMP" | $Xsed -e "$delay_single_quote_subst"`'
13914 deplibs_check_method='`$ECHO "X$deplibs_check_method" | $Xsed -e "$delay_single_quote_subst"`'
13915 file_magic_cmd='`$ECHO "X$file_magic_cmd" | $Xsed -e "$delay_single_quote_subst"`'
13916 AR='`$ECHO "X$AR" | $Xsed -e "$delay_single_quote_subst"`'
13917 AR_FLAGS='`$ECHO "X$AR_FLAGS" | $Xsed -e "$delay_single_quote_subst"`'
13918 STRIP='`$ECHO "X$STRIP" | $Xsed -e "$delay_single_quote_subst"`'
13919 RANLIB='`$ECHO "X$RANLIB" | $Xsed -e "$delay_single_quote_subst"`'
13920 old_postinstall_cmds='`$ECHO "X$old_postinstall_cmds" | $Xsed -e "$delay_single_quote_subst"`'
13921 old_postuninstall_cmds='`$ECHO "X$old_postuninstall_cmds" | $Xsed -e "$delay_single_quote_subst"`'
13922 old_archive_cmds='`$ECHO "X$old_archive_cmds" | $Xsed -e "$delay_single_quote_subst"`'
13923 CC='`$ECHO "X$CC" | $Xsed -e "$delay_single_quote_subst"`'
13924 CFLAGS='`$ECHO "X$CFLAGS" | $Xsed -e "$delay_single_quote_subst"`'
13925 compiler='`$ECHO "X$compiler" | $Xsed -e "$delay_single_quote_subst"`'
13926 GCC='`$ECHO "X$GCC" | $Xsed -e "$delay_single_quote_subst"`'
13927 lt_cv_sys_global_symbol_pipe='`$ECHO "X$lt_cv_sys_global_symbol_pipe" | $Xsed -e "$delay_single_quote_subst"`'
13928 lt_cv_sys_global_symbol_to_cdecl='`$ECHO "X$lt_cv_sys_global_symbol_to_cdecl" | $Xsed -e "$delay_single_quote_subst"`'
13929 lt_cv_sys_global_symbol_to_c_name_address='`$ECHO "X$lt_cv_sys_global_symbol_to_c_name_address" | $Xsed -e "$delay_single_quote_subst"`'
13930 lt_cv_sys_global_symbol_to_c_name_address_lib_prefix='`$ECHO "X$lt_cv_sys_global_symbol_to_c_name_address_lib_prefix" | $Xsed -e "$delay_single_quote_subst"`'
13931 objdir='`$ECHO "X$objdir" | $Xsed -e "$delay_single_quote_subst"`'
13932 SHELL='`$ECHO "X$SHELL" | $Xsed -e "$delay_single_quote_subst"`'
13933 ECHO='`$ECHO "X$ECHO" | $Xsed -e "$delay_single_quote_subst"`'
13934 MAGIC_CMD='`$ECHO "X$MAGIC_CMD" | $Xsed -e "$delay_single_quote_subst"`'
13935 lt_prog_compiler_no_builtin_flag='`$ECHO "X$lt_prog_compiler_no_builtin_flag" | $Xsed -e "$delay_single_quote_subst"`'
13936 lt_prog_compiler_wl='`$ECHO "X$lt_prog_compiler_wl" | $Xsed -e "$delay_single_quote_subst"`'
13937 lt_prog_compiler_pic='`$ECHO "X$lt_prog_compiler_pic" | $Xsed -e "$delay_single_quote_subst"`'
13938 lt_prog_compiler_static='`$ECHO "X$lt_prog_compiler_static" | $Xsed -e "$delay_single_quote_subst"`'
13939 lt_cv_prog_compiler_c_o='`$ECHO "X$lt_cv_prog_compiler_c_o" | $Xsed -e "$delay_single_quote_subst"`'
13940 need_locks='`$ECHO "X$need_locks" | $Xsed -e "$delay_single_quote_subst"`'
13941 DSYMUTIL='`$ECHO "X$DSYMUTIL" | $Xsed -e "$delay_single_quote_subst"`'
13942 NMEDIT='`$ECHO "X$NMEDIT" | $Xsed -e "$delay_single_quote_subst"`'
13943 LIPO='`$ECHO "X$LIPO" | $Xsed -e "$delay_single_quote_subst"`'
13944 OTOOL='`$ECHO "X$OTOOL" | $Xsed -e "$delay_single_quote_subst"`'
13945 OTOOL64='`$ECHO "X$OTOOL64" | $Xsed -e "$delay_single_quote_subst"`'
13946 libext='`$ECHO "X$libext" | $Xsed -e "$delay_single_quote_subst"`'
13947 shrext_cmds='`$ECHO "X$shrext_cmds" | $Xsed -e "$delay_single_quote_subst"`'
13948 extract_expsyms_cmds='`$ECHO "X$extract_expsyms_cmds" | $Xsed -e "$delay_single_quote_subst"`'
13949 archive_cmds_need_lc='`$ECHO "X$archive_cmds_need_lc" | $Xsed -e "$delay_single_quote_subst"`'
13950 enable_shared_with_static_runtimes='`$ECHO "X$enable_shared_with_static_runtimes" | $Xsed -e "$delay_single_quote_subst"`'
13951 export_dynamic_flag_spec='`$ECHO "X$export_dynamic_flag_spec" | $Xsed -e "$delay_single_quote_subst"`'
13952 whole_archive_flag_spec='`$ECHO "X$whole_archive_flag_spec" | $Xsed -e "$delay_single_quote_subst"`'
13953 compiler_needs_object='`$ECHO "X$compiler_needs_object" | $Xsed -e "$delay_single_quote_subst"`'
13954 old_archive_from_new_cmds='`$ECHO "X$old_archive_from_new_cmds" | $Xsed -e "$delay_single_quote_subst"`'
13955 old_archive_from_expsyms_cmds='`$ECHO "X$old_archive_from_expsyms_cmds" | $Xsed -e "$delay_single_quote_subst"`'
13956 archive_cmds='`$ECHO "X$archive_cmds" | $Xsed -e "$delay_single_quote_subst"`'
13957 archive_expsym_cmds='`$ECHO "X$archive_expsym_cmds" | $Xsed -e "$delay_single_quote_subst"`'
13958 module_cmds='`$ECHO "X$module_cmds" | $Xsed -e "$delay_single_quote_subst"`'
13959 module_expsym_cmds='`$ECHO "X$module_expsym_cmds" | $Xsed -e "$delay_single_quote_subst"`'
13960 with_gnu_ld='`$ECHO "X$with_gnu_ld" | $Xsed -e "$delay_single_quote_subst"`'
13961 allow_undefined_flag='`$ECHO "X$allow_undefined_flag" | $Xsed -e "$delay_single_quote_subst"`'
13962 no_undefined_flag='`$ECHO "X$no_undefined_flag" | $Xsed -e "$delay_single_quote_subst"`'
13963 hardcode_libdir_flag_spec='`$ECHO "X$hardcode_libdir_flag_spec" | $Xsed -e "$delay_single_quote_subst"`'
13964 hardcode_libdir_flag_spec_ld='`$ECHO "X$hardcode_libdir_flag_spec_ld" | $Xsed -e "$delay_single_quote_subst"`'
13965 hardcode_libdir_separator='`$ECHO "X$hardcode_libdir_separator" | $Xsed -e "$delay_single_quote_subst"`'
13966 hardcode_direct='`$ECHO "X$hardcode_direct" | $Xsed -e "$delay_single_quote_subst"`'
13967 hardcode_direct_absolute='`$ECHO "X$hardcode_direct_absolute" | $Xsed -e "$delay_single_quote_subst"`'
13968 hardcode_minus_L='`$ECHO "X$hardcode_minus_L" | $Xsed -e "$delay_single_quote_subst"`'
13969 hardcode_shlibpath_var='`$ECHO "X$hardcode_shlibpath_var" | $Xsed -e "$delay_single_quote_subst"`'
13970 hardcode_automatic='`$ECHO "X$hardcode_automatic" | $Xsed -e "$delay_single_quote_subst"`'
13971 inherit_rpath='`$ECHO "X$inherit_rpath" | $Xsed -e "$delay_single_quote_subst"`'
13972 link_all_deplibs='`$ECHO "X$link_all_deplibs" | $Xsed -e "$delay_single_quote_subst"`'
13973 fix_srcfile_path='`$ECHO "X$fix_srcfile_path" | $Xsed -e "$delay_single_quote_subst"`'
13974 always_export_symbols='`$ECHO "X$always_export_symbols" | $Xsed -e "$delay_single_quote_subst"`'
13975 export_symbols_cmds='`$ECHO "X$export_symbols_cmds" | $Xsed -e "$delay_single_quote_subst"`'
13976 exclude_expsyms='`$ECHO "X$exclude_expsyms" | $Xsed -e "$delay_single_quote_subst"`'
13977 include_expsyms='`$ECHO "X$include_expsyms" | $Xsed -e "$delay_single_quote_subst"`'
13978 prelink_cmds='`$ECHO "X$prelink_cmds" | $Xsed -e "$delay_single_quote_subst"`'
13979 file_list_spec='`$ECHO "X$file_list_spec" | $Xsed -e "$delay_single_quote_subst"`'
13980 variables_saved_for_relink='`$ECHO "X$variables_saved_for_relink" | $Xsed -e "$delay_single_quote_subst"`'
13981 need_lib_prefix='`$ECHO "X$need_lib_prefix" | $Xsed -e "$delay_single_quote_subst"`'
13982 need_version='`$ECHO "X$need_version" | $Xsed -e "$delay_single_quote_subst"`'
13983 version_type='`$ECHO "X$version_type" | $Xsed -e "$delay_single_quote_subst"`'
13984 runpath_var='`$ECHO "X$runpath_var" | $Xsed -e "$delay_single_quote_subst"`'
13985 shlibpath_var='`$ECHO "X$shlibpath_var" | $Xsed -e "$delay_single_quote_subst"`'
13986 shlibpath_overrides_runpath='`$ECHO "X$shlibpath_overrides_runpath" | $Xsed -e "$delay_single_quote_subst"`'
13987 libname_spec='`$ECHO "X$libname_spec" | $Xsed -e "$delay_single_quote_subst"`'
13988 library_names_spec='`$ECHO "X$library_names_spec" | $Xsed -e "$delay_single_quote_subst"`'
13989 soname_spec='`$ECHO "X$soname_spec" | $Xsed -e "$delay_single_quote_subst"`'
13990 postinstall_cmds='`$ECHO "X$postinstall_cmds" | $Xsed -e "$delay_single_quote_subst"`'
13991 postuninstall_cmds='`$ECHO "X$postuninstall_cmds" | $Xsed -e "$delay_single_quote_subst"`'
13992 finish_cmds='`$ECHO "X$finish_cmds" | $Xsed -e "$delay_single_quote_subst"`'
13993 finish_eval='`$ECHO "X$finish_eval" | $Xsed -e "$delay_single_quote_subst"`'
13994 hardcode_into_libs='`$ECHO "X$hardcode_into_libs" | $Xsed -e "$delay_single_quote_subst"`'
13995 sys_lib_search_path_spec='`$ECHO "X$sys_lib_search_path_spec" | $Xsed -e "$delay_single_quote_subst"`'
13996 sys_lib_dlsearch_path_spec='`$ECHO "X$sys_lib_dlsearch_path_spec" | $Xsed -e "$delay_single_quote_subst"`'
13997 hardcode_action='`$ECHO "X$hardcode_action" | $Xsed -e "$delay_single_quote_subst"`'
13998 enable_dlopen='`$ECHO "X$enable_dlopen" | $Xsed -e "$delay_single_quote_subst"`'
13999 enable_dlopen_self='`$ECHO "X$enable_dlopen_self" | $Xsed -e "$delay_single_quote_subst"`'
14000 enable_dlopen_self_static='`$ECHO "X$enable_dlopen_self_static" | $Xsed -e "$delay_single_quote_subst"`'
14001 old_striplib='`$ECHO "X$old_striplib" | $Xsed -e "$delay_single_quote_subst"`'
14002 striplib='`$ECHO "X$striplib" | $Xsed -e "$delay_single_quote_subst"`'
14005 LTCFLAGS='$LTCFLAGS'
14006 compiler='$compiler_DEFAULT'
14008 # Quote evaled strings.
14020 deplibs_check_method \
14029 lt_cv_sys_global_symbol_pipe \
14030 lt_cv_sys_global_symbol_to_cdecl \
14031 lt_cv_sys_global_symbol_to_c_name_address \
14032 lt_cv_sys_global_symbol_to_c_name_address_lib_prefix \
14035 lt_prog_compiler_no_builtin_flag \
14036 lt_prog_compiler_wl \
14037 lt_prog_compiler_pic \
14038 lt_prog_compiler_static \
14039 lt_cv_prog_compiler_c_o \
14047 export_dynamic_flag_spec \
14048 whole_archive_flag_spec \
14049 compiler_needs_object \
14051 allow_undefined_flag \
14052 no_undefined_flag \
14053 hardcode_libdir_flag_spec \
14054 hardcode_libdir_flag_spec_ld \
14055 hardcode_libdir_separator \
14060 variables_saved_for_relink \
14062 library_names_spec \
14067 case \`eval \\\\\$ECHO "X\\\\\$\$var"\` in
14068 *[\\\\\\\`\\"\\\$]*)
14069 eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"X\\\$\$var\\" | \\\$Xsed -e \\"\\\$sed_quote_subst\\"\\\`\\\\\\""
14072 eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
14077 # Double-quote double-evaled strings.
14078 for var in reload_cmds \
14079 old_postinstall_cmds \
14080 old_postuninstall_cmds \
14082 extract_expsyms_cmds \
14083 old_archive_from_new_cmds \
14084 old_archive_from_expsyms_cmds \
14086 archive_expsym_cmds \
14088 module_expsym_cmds \
14089 export_symbols_cmds \
14092 postuninstall_cmds \
14094 sys_lib_search_path_spec \
14095 sys_lib_dlsearch_path_spec; do
14096 case \`eval \\\\\$ECHO "X\\\\\$\$var"\` in
14097 *[\\\\\\\`\\"\\\$]*)
14098 eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"X\\\$\$var\\" | \\\$Xsed -e \\"\\\$double_quote_subst\\" -e \\"\\\$sed_quote_subst\\" -e \\"\\\$delay_variable_subst\\"\\\`\\\\\\""
14101 eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
14106 # Fix-up fallback echo if it was mangled by the above quoting rules.
14108 *'\\\$0 --fallback-echo"') lt_ECHO=\`\$ECHO "X\$lt_ECHO" | \$Xsed -e 's/\\\\\\\\\\\\\\\$0 --fallback-echo"\$/\$0 --fallback-echo"/'\`
14112 ac_aux_dir='$ac_aux_dir'
14113 xsi_shell='$xsi_shell'
14114 lt_shell_append='$lt_shell_append'
14116 # See if we are running on zsh, and set the options which allow our
14117 # commands through without removal of \ escapes INIT.
14118 if test -n "\${ZSH_VERSION+set}" ; then
14119 setopt NO_GLOB_SUBST
14125 TIMESTAMP='$TIMESTAMP'
14134 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
14136 # Handling of arguments.
14137 for ac_config_target in $ac_config_targets
14139 case $ac_config_target in
14140 "config.h") CONFIG_HEADERS="$CONFIG_HEADERS config.h" ;;
14141 "depfiles") CONFIG_COMMANDS="$CONFIG_COMMANDS depfiles" ;;
14142 "libtool") CONFIG_COMMANDS="$CONFIG_COMMANDS libtool" ;;
14143 "Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;;
14144 "doc/eeze.dox") CONFIG_FILES="$CONFIG_FILES doc/eeze.dox" ;;
14145 "doc/Makefile") CONFIG_FILES="$CONFIG_FILES doc/Makefile" ;;
14146 "doc/Doxyfile") CONFIG_FILES="$CONFIG_FILES doc/Doxyfile" ;;
14147 "src/Makefile") CONFIG_FILES="$CONFIG_FILES src/Makefile" ;;
14148 "src/lib/Makefile") CONFIG_FILES="$CONFIG_FILES src/lib/Makefile" ;;
14149 "src/bin/Makefile") CONFIG_FILES="$CONFIG_FILES src/bin/Makefile" ;;
14150 "eeze.pc") CONFIG_FILES="$CONFIG_FILES eeze.pc" ;;
14151 "eeze.spec") CONFIG_FILES="$CONFIG_FILES eeze.spec" ;;
14153 *) as_fn_error $? "invalid argument: \`$ac_config_target'" "$LINENO" 5 ;;
14158 # If the user did not use the arguments to specify the items to instantiate,
14159 # then the envvar interface is used. Set only those that are not.
14160 # We use the long form for the default assignment because of an extremely
14161 # bizarre bug on SunOS 4.1.3.
14162 if $ac_need_defaults; then
14163 test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
14164 test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS=$config_headers
14165 test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS=$config_commands
14168 # Have a temporary directory for convenience. Make it in the build tree
14169 # simply because there is no reason against having it here, and in addition,
14170 # creating and moving files from /tmp can sometimes cause problems.
14171 # Hook for its removal unless debugging.
14172 # Note that there is a small window in which the directory will not be cleaned:
14173 # after its creation but before its name has been assigned to `$tmp'.
14177 trap 'exit_status=$?
14178 { test -z "$tmp" || test ! -d "$tmp" || rm -fr "$tmp"; } && exit $exit_status
14180 trap 'as_fn_exit 1' 1 2 13 15
14182 # Create a (secure) tmp directory for tmp files.
14185 tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
14186 test -n "$tmp" && test -d "$tmp"
14189 tmp=./conf$$-$RANDOM
14190 (umask 077 && mkdir "$tmp")
14191 } || as_fn_error $? "cannot create a temporary directory in ." "$LINENO" 5
14193 # Set up the scripts for CONFIG_FILES section.
14194 # No need to generate them if there are no CONFIG_FILES.
14195 # This happens for instance with `./config.status config.h'.
14196 if test -n "$CONFIG_FILES"; then
14199 ac_cr=`echo X | tr X '\015'`
14200 # On cygwin, bash can eat \r inside `` if the user requested igncr.
14201 # But we know of no other shell where ac_cr would be empty at this
14202 # point, so we can use a bashism as a fallback.
14203 if test "x$ac_cr" = x; then
14204 eval ac_cr=\$\'\\r\'
14206 ac_cs_awk_cr=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
14207 if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
14210 ac_cs_awk_cr=$ac_cr
14213 echo 'BEGIN {' >"$tmp/subs1.awk" &&
14218 echo "cat >conf$$subs.awk <<_ACEOF" &&
14219 echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
14221 } >conf$$subs.sh ||
14222 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
14223 ac_delim_num=`echo "$ac_subst_vars" | grep -c '^'`
14225 for ac_last_try in false false false false false :; do
14226 . ./conf$$subs.sh ||
14227 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
14229 ac_delim_n=`sed -n "s/.*$ac_delim\$/X/p" conf$$subs.awk | grep -c X`
14230 if test $ac_delim_n = $ac_delim_num; then
14232 elif $ac_last_try; then
14233 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
14235 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
14238 rm -f conf$$subs.sh
14240 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
14241 cat >>"\$tmp/subs1.awk" <<\\_ACAWK &&
14245 s/^/S["/; s/!.*/"]=/
14255 s/\(.\{148\}\)..*/\1/
14257 s/["\\]/\\&/g; s/^/"/; s/$/\\n"\\/
14262 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
14269 s/\(.\{148\}\)..*/\1/
14271 s/["\\]/\\&/g; s/^/"/; s/$/"/
14275 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
14280 ' <conf$$subs.awk | sed '
14285 ' >>$CONFIG_STATUS || ac_write_fail=1
14286 rm -f conf$$subs.awk
14287 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
14289 cat >>"\$tmp/subs1.awk" <<_ACAWK &&
14290 for (key in S) S_is_set[key] = 1
14296 nfields = split(line, field, "@")
14298 len = length(field[1])
14299 for (i = 2; i < nfields; i++) {
14301 keylen = length(key)
14302 if (S_is_set[key]) {
14304 line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3)
14305 len += length(value) + length(field[++i])
14316 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
14317 if sed "s/$ac_cr//" < /dev/null > /dev/null 2>&1; then
14318 sed "s/$ac_cr\$//; s/$ac_cr/$ac_cs_awk_cr/g"
14321 fi < "$tmp/subs1.awk" > "$tmp/subs.awk" \
14322 || as_fn_error $? "could not setup config files machinery" "$LINENO" 5
14325 # VPATH may cause trouble with some makes, so we remove sole $(srcdir),
14326 # ${srcdir} and @srcdir@ entries from VPATH if srcdir is ".", strip leading and
14327 # trailing colons and then remove the whole line if VPATH becomes empty
14328 # (actually we leave an empty line to preserve line numbers).
14329 if test "x$srcdir" = x.; then
14330 ac_vpsub='/^[ ]*VPATH[ ]*=[ ]*/{
14348 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
14349 fi # test -n "$CONFIG_FILES"
14351 # Set up the scripts for CONFIG_HEADERS section.
14352 # No need to generate them if there are no CONFIG_HEADERS.
14353 # This happens for instance with `./config.status Makefile'.
14354 if test -n "$CONFIG_HEADERS"; then
14355 cat >"$tmp/defines.awk" <<\_ACAWK ||
14359 # Transform confdefs.h into an awk script `defines.awk', embedded as
14360 # here-document in config.status, that substitutes the proper values into
14361 # config.h.in to produce config.h.
14363 # Create a delimiter string that does not exist in confdefs.h, to ease
14364 # handling of long lines.
14366 for ac_last_try in false false :; do
14367 ac_t=`sed -n "/$ac_delim/p" confdefs.h`
14368 if test -z "$ac_t"; then
14370 elif $ac_last_try; then
14371 as_fn_error $? "could not make $CONFIG_HEADERS" "$LINENO" 5
14373 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
14377 # For the awk script, D is an array of macro values keyed by name,
14378 # likewise P contains macro parameters if any. Preserve backslash
14379 # newline sequences.
14381 ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]*
14383 s/.\{148\}/&'"$ac_delim"'/g
14386 s/^[ ]*#[ ]*define[ ][ ]*/ /
14393 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\1"]="\2"\
14395 s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\1"]=" \2"/p
14399 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\1"]="\2"\
14400 D["\1"]=" \3\\\\\\n"\\/p
14402 s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\1"]=" \2\\\\\\n"\\/p
14407 s/.\{148\}/&'"$ac_delim"'/g
14412 s/["\\]/\\&/g; s/^/"/; s/$/"/p
14415 s/["\\]/\\&/g; s/^/"/; s/$/\\\\\\n"\\/p
14417 ' <confdefs.h | sed '
14418 s/'"$ac_delim"'/"\\\
14419 "/g' >>$CONFIG_STATUS || ac_write_fail=1
14421 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
14422 for (key in D) D_is_set[key] = 1
14425 /^[\t ]*#[\t ]*(define|undef)[\t ]+$ac_word_re([\t (]|\$)/ {
14427 split(line, arg, " ")
14428 if (arg[1] == "#") {
14432 defundef = substr(arg[1], 2)
14435 split(mac1, mac2, "(") #)
14437 prefix = substr(line, 1, index(line, defundef) - 1)
14438 if (D_is_set[macro]) {
14439 # Preserve the white space surrounding the "#".
14440 print prefix "define", macro P[macro] D[macro]
14443 # Replace #undef with comments. This is necessary, for example,
14444 # in the case of _POSIX_SOURCE, which is predefined and required
14445 # on some systems where configure will not decide to define it.
14446 if (defundef == "undef") {
14447 print "/*", prefix defundef, macro, "*/"
14455 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
14456 as_fn_error $? "could not setup config headers machinery" "$LINENO" 5
14457 fi # test -n "$CONFIG_HEADERS"
14460 eval set X " :F $CONFIG_FILES :H $CONFIG_HEADERS :C $CONFIG_COMMANDS"
14465 :[FHLC]) ac_mode=$ac_tag; continue;;
14467 case $ac_mode$ac_tag in
14469 :L* | :C*:*) as_fn_error $? "invalid tag \`$ac_tag'" "$LINENO" 5 ;;
14470 :[FH]-) ac_tag=-:-;;
14471 :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
14488 -) ac_f="$tmp/stdin";;
14489 *) # Look for the file first in the build tree, then in the source tree
14490 # (if the path is not absolute). The absolute path cannot be DOS-style,
14491 # because $ac_f cannot contain `:'.
14495 *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
14497 as_fn_error 1 "cannot find input file: \`$ac_f'" "$LINENO" 5 ;;
14499 case $ac_f in *\'*) ac_f=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
14500 as_fn_append ac_file_inputs " '$ac_f'"
14503 # Let's still pretend it is `configure' which instantiates (i.e., don't
14504 # use $as_me), people would be surprised to read:
14505 # /* config.h. Generated by config.status. */
14506 configure_input='Generated from '`
14507 $as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
14509 if test x"$ac_file" != x-; then
14510 configure_input="$ac_file. $configure_input"
14511 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5
14512 $as_echo "$as_me: creating $ac_file" >&6;}
14514 # Neutralize special characters interpreted by sed in replacement strings.
14515 case $configure_input in #(
14516 *\&* | *\|* | *\\* )
14517 ac_sed_conf_input=`$as_echo "$configure_input" |
14518 sed 's/[\\\\&|]/\\\\&/g'`;; #(
14519 *) ac_sed_conf_input=$configure_input;;
14523 *:-:* | *:-) cat >"$tmp/stdin" \
14524 || as_fn_error $? "could not create $ac_file" "$LINENO" 5 ;;
14529 ac_dir=`$as_dirname -- "$ac_file" ||
14530 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
14531 X"$ac_file" : 'X\(//\)[^/]' \| \
14532 X"$ac_file" : 'X\(//\)$' \| \
14533 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
14534 $as_echo X"$ac_file" |
14535 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
14539 /^X\(\/\/\)[^/].*/{
14552 as_dir="$ac_dir"; as_fn_mkdir_p
14556 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
14558 ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
14559 # A ".." for each directory in $ac_dir_suffix.
14560 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
14561 case $ac_top_builddir_sub in
14562 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
14563 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
14566 ac_abs_top_builddir=$ac_pwd
14567 ac_abs_builddir=$ac_pwd$ac_dir_suffix
14568 # for backward compatibility:
14569 ac_top_builddir=$ac_top_build_prefix
14572 .) # We are building in place.
14574 ac_top_srcdir=$ac_top_builddir_sub
14575 ac_abs_top_srcdir=$ac_pwd ;;
14576 [\\/]* | ?:[\\/]* ) # Absolute name.
14577 ac_srcdir=$srcdir$ac_dir_suffix;
14578 ac_top_srcdir=$srcdir
14579 ac_abs_top_srcdir=$srcdir ;;
14580 *) # Relative name.
14581 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
14582 ac_top_srcdir=$ac_top_build_prefix$srcdir
14583 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
14585 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
14595 [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
14596 *) ac_INSTALL=$ac_top_build_prefix$INSTALL ;;
14598 ac_MKDIR_P=$MKDIR_P
14600 [\\/$]* | ?:[\\/]* ) ;;
14601 */*) ac_MKDIR_P=$ac_top_build_prefix$MKDIR_P ;;
14605 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
14606 # If the template does not know about datarootdir, expand it.
14607 # FIXME: This hack should be removed a few years after 2.60.
14608 ac_datarootdir_hack=; ac_datarootdir_seen=
14619 case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in
14620 *datarootdir*) ac_datarootdir_seen=yes;;
14621 *@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*)
14622 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
14623 $as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
14625 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
14626 ac_datarootdir_hack='
14627 s&@datadir@&$datadir&g
14628 s&@docdir@&$docdir&g
14629 s&@infodir@&$infodir&g
14630 s&@localedir@&$localedir&g
14631 s&@mandir@&$mandir&g
14632 s&\\\${datarootdir}&$datarootdir&g' ;;
14636 # Neutralize VPATH when `$srcdir' = `.'.
14637 # Shell code in configure.ac might set extrasub.
14638 # FIXME: do we really want to maintain this feature?
14639 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
14640 ac_sed_extra="$ac_vpsub
14643 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
14645 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
14646 s|@configure_input@|$ac_sed_conf_input|;t t
14647 s&@top_builddir@&$ac_top_builddir_sub&;t t
14648 s&@top_build_prefix@&$ac_top_build_prefix&;t t
14649 s&@srcdir@&$ac_srcdir&;t t
14650 s&@abs_srcdir@&$ac_abs_srcdir&;t t
14651 s&@top_srcdir@&$ac_top_srcdir&;t t
14652 s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t
14653 s&@builddir@&$ac_builddir&;t t
14654 s&@abs_builddir@&$ac_abs_builddir&;t t
14655 s&@abs_top_builddir@&$ac_abs_top_builddir&;t t
14656 s&@INSTALL@&$ac_INSTALL&;t t
14657 s&@MKDIR_P@&$ac_MKDIR_P&;t t
14658 $ac_datarootdir_hack
14660 eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$tmp/subs.awk" >$tmp/out \
14661 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
14663 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
14664 { ac_out=`sed -n '/\${datarootdir}/p' "$tmp/out"`; test -n "$ac_out"; } &&
14665 { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' "$tmp/out"`; test -z "$ac_out"; } &&
14666 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file contains a reference to the variable \`datarootdir'
14667 which seems to be undefined. Please make sure it is defined" >&5
14668 $as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir'
14669 which seems to be undefined. Please make sure it is defined" >&2;}
14673 -) cat "$tmp/out" && rm -f "$tmp/out";;
14674 *) rm -f "$ac_file" && mv "$tmp/out" "$ac_file";;
14676 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
14682 if test x"$ac_file" != x-; then
14684 $as_echo "/* $configure_input */" \
14685 && eval '$AWK -f "$tmp/defines.awk"' "$ac_file_inputs"
14686 } >"$tmp/config.h" \
14687 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
14688 if diff "$ac_file" "$tmp/config.h" >/dev/null 2>&1; then
14689 { $as_echo "$as_me:${as_lineno-$LINENO}: $ac_file is unchanged" >&5
14690 $as_echo "$as_me: $ac_file is unchanged" >&6;}
14693 mv "$tmp/config.h" "$ac_file" \
14694 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
14697 $as_echo "/* $configure_input */" \
14698 && eval '$AWK -f "$tmp/defines.awk"' "$ac_file_inputs" \
14699 || as_fn_error $? "could not create -" "$LINENO" 5
14701 # Compute "$ac_file"'s index in $config_headers.
14704 for _am_header in $config_headers :; do
14705 case $_am_header in
14706 $_am_arg | $_am_arg:* )
14709 _am_stamp_count=`expr $_am_stamp_count + 1` ;;
14712 echo "timestamp for $_am_arg" >`$as_dirname -- "$_am_arg" ||
14713 $as_expr X"$_am_arg" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
14714 X"$_am_arg" : 'X\(//\)[^/]' \| \
14715 X"$_am_arg" : 'X\(//\)$' \| \
14716 X"$_am_arg" : 'X\(/\)' \| . 2>/dev/null ||
14717 $as_echo X"$_am_arg" |
14718 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
14722 /^X\(\/\/\)[^/].*/{
14734 s/.*/./; q'`/stamp-h$_am_stamp_count
14737 :C) { $as_echo "$as_me:${as_lineno-$LINENO}: executing $ac_file commands" >&5
14738 $as_echo "$as_me: executing $ac_file commands" >&6;}
14743 case $ac_file$ac_mode in
14744 "depfiles":C) test x"$AMDEP_TRUE" != x"" || {
14745 # Autoconf 2.62 quotes --file arguments for eval, but not when files
14746 # are listed without --file. Let's play safe and only enable the eval
14747 # if we detect the quoting.
14748 case $CONFIG_FILES in
14749 *\'*) eval set x "$CONFIG_FILES" ;;
14750 *) set x $CONFIG_FILES ;;
14755 # Strip MF so we end up with the name of the file.
14756 mf=`echo "$mf" | sed -e 's/:.*$//'`
14757 # Check whether this is an Automake generated Makefile or not.
14758 # We used to match only the files named `Makefile.in', but
14759 # some people rename them; so instead we look at the file content.
14760 # Grep'ing the first line is not enough: some people post-process
14761 # each Makefile.in and add a new line on top of each file to say so.
14762 # Grep'ing the whole file is not good either: AIX grep has a line
14763 # limit of 2048, but all sed's we know have understand at least 4000.
14764 if sed -n 's,^#.*generated by automake.*,X,p' "$mf" | grep X >/dev/null 2>&1; then
14765 dirpart=`$as_dirname -- "$mf" ||
14766 $as_expr X"$mf" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
14767 X"$mf" : 'X\(//\)[^/]' \| \
14768 X"$mf" : 'X\(//\)$' \| \
14769 X"$mf" : 'X\(/\)' \| . 2>/dev/null ||
14771 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
14775 /^X\(\/\/\)[^/].*/{
14791 # Extract the definition of DEPDIR, am__include, and am__quote
14792 # from the Makefile without running `make'.
14793 DEPDIR=`sed -n 's/^DEPDIR = //p' < "$mf"`
14794 test -z "$DEPDIR" && continue
14795 am__include=`sed -n 's/^am__include = //p' < "$mf"`
14796 test -z "am__include" && continue
14797 am__quote=`sed -n 's/^am__quote = //p' < "$mf"`
14798 # When using ansi2knr, U may be empty or an underscore; expand it
14799 U=`sed -n 's/^U = //p' < "$mf"`
14800 # Find all dependency output files, they are included files with
14801 # $(DEPDIR) in their names. We invoke sed twice because it is the
14802 # simplest approach to changing $(DEPDIR) to its actual value in the
14804 for file in `sed -n "
14805 s/^$am__include $am__quote\(.*(DEPDIR).*\)$am__quote"'$/\1/p' <"$mf" | \
14806 sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g' -e 's/\$U/'"$U"'/g'`; do
14807 # Make sure the directory exists.
14808 test -f "$dirpart/$file" && continue
14809 fdir=`$as_dirname -- "$file" ||
14810 $as_expr X"$file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
14811 X"$file" : 'X\(//\)[^/]' \| \
14812 X"$file" : 'X\(//\)$' \| \
14813 X"$file" : 'X\(/\)' \| . 2>/dev/null ||
14814 $as_echo X"$file" |
14815 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
14819 /^X\(\/\/\)[^/].*/{
14832 as_dir=$dirpart/$fdir; as_fn_mkdir_p
14833 # echo "creating $dirpart/$file"
14834 echo '# dummy' > "$dirpart/$file"
14841 # See if we are running on zsh, and set the options which allow our
14842 # commands through without removal of \ escapes.
14843 if test -n "${ZSH_VERSION+set}" ; then
14844 setopt NO_GLOB_SUBST
14847 cfgfile="${ofile}T"
14848 trap "$RM \"$cfgfile\"; exit 1" 1 2 15
14851 cat <<_LT_EOF >> "$cfgfile"
14854 # `$ECHO "$ofile" | sed 's%^.*/%%'` - Provide generalized library-building support services.
14855 # Generated automatically by $as_me ($PACKAGE$TIMESTAMP) $VERSION
14856 # Libtool was configured on host `(hostname || uname -n) 2>/dev/null | sed 1q`:
14857 # NOTE: Changes made to this file will be lost: look at ltmain.sh.
14859 # Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2003, 2004, 2005,
14860 # 2006, 2007, 2008 Free Software Foundation, Inc.
14861 # Written by Gordon Matzigkeit, 1996
14863 # This file is part of GNU Libtool.
14865 # GNU Libtool is free software; you can redistribute it and/or
14866 # modify it under the terms of the GNU General Public License as
14867 # published by the Free Software Foundation; either version 2 of
14868 # the License, or (at your option) any later version.
14870 # As a special exception to the GNU General Public License,
14871 # if you distribute this file as part of a program or library that
14872 # is built using GNU Libtool, you may include this file under the
14873 # same distribution terms that you use for the rest of that program.
14875 # GNU Libtool is distributed in the hope that it will be useful,
14876 # but WITHOUT ANY WARRANTY; without even the implied warranty of
14877 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
14878 # GNU General Public License for more details.
14880 # You should have received a copy of the GNU General Public License
14881 # along with GNU Libtool; see the file COPYING. If not, a copy
14882 # can be downloaded from http://www.gnu.org/licenses/gpl.html, or
14883 # obtained by writing to the Free Software Foundation, Inc.,
14884 # 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
14887 # The names of the tagged configurations supported by this script.
14890 # ### BEGIN LIBTOOL CONFIG
14892 # Which release of libtool.m4 was used?
14893 macro_version=$macro_version
14894 macro_revision=$macro_revision
14896 # Whether or not to build shared libraries.
14897 build_libtool_libs=$enable_shared
14899 # Whether or not to build static libraries.
14900 build_old_libs=$enable_static
14902 # What type of objects to build.
14905 # Whether or not to optimize for fast installation.
14906 fast_install=$enable_fast_install
14909 host_alias=$host_alias
14913 # The build system.
14914 build_alias=$build_alias
14918 # A sed program that does not truncate output.
14921 # Sed that helps us avoid accidentally triggering echo(1) options like -n.
14922 Xsed="\$SED -e 1s/^X//"
14924 # A grep program that handles long lines.
14930 # A literal string matcher.
14933 # A BSD- or MS-compatible name lister.
14936 # Whether we need soft or hard links.
14939 # What is the maximum length of a command?
14940 max_cmd_len=$max_cmd_len
14942 # Object file suffix (normally "o").
14945 # Executable file suffix (normally "").
14948 # whether the shell understands "unset".
14951 # turn spaces into newlines.
14954 # turn newlines into spaces.
14957 # How to create reloadable object files.
14958 reload_flag=$lt_reload_flag
14959 reload_cmds=$lt_reload_cmds
14961 # An object symbol dumper.
14962 OBJDUMP=$lt_OBJDUMP
14964 # Method to check whether dependent libraries are shared objects.
14965 deplibs_check_method=$lt_deplibs_check_method
14967 # Command to use when deplibs_check_method == "file_magic".
14968 file_magic_cmd=$lt_file_magic_cmd
14972 AR_FLAGS=$lt_AR_FLAGS
14974 # A symbol stripping program.
14977 # Commands used to install an old-style archive.
14979 old_postinstall_cmds=$lt_old_postinstall_cmds
14980 old_postuninstall_cmds=$lt_old_postuninstall_cmds
14985 # LTCC compiler flags.
14986 LTCFLAGS=$lt_CFLAGS
14988 # Take the output of nm and produce a listing of raw symbols and C names.
14989 global_symbol_pipe=$lt_lt_cv_sys_global_symbol_pipe
14991 # Transform the output of nm in a proper C declaration.
14992 global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl
14994 # Transform the output of nm in a C name address pair.
14995 global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address
14997 # Transform the output of nm in a C name address pair when lib prefix is needed.
14998 global_symbol_to_c_name_address_lib_prefix=$lt_lt_cv_sys_global_symbol_to_c_name_address_lib_prefix
15000 # The name of the directory that contains temporary libtool files.
15003 # Shell to use when invoking shell scripts.
15006 # An echo program that does not interpret backslashes.
15009 # Used to examine libraries when file_magic_cmd begins with "file".
15010 MAGIC_CMD=$MAGIC_CMD
15012 # Must we lock files when doing compilation?
15013 need_locks=$lt_need_locks
15015 # Tool to manipulate archived DWARF debug symbol files on Mac OS X.
15016 DSYMUTIL=$lt_DSYMUTIL
15018 # Tool to change global to local symbols on Mac OS X.
15021 # Tool to manipulate fat objects and archives on Mac OS X.
15024 # ldd/readelf like tool for Mach-O binaries on Mac OS X.
15027 # ldd/readelf like tool for 64 bit Mach-O binaries on Mac OS X 10.4.
15028 OTOOL64=$lt_OTOOL64
15030 # Old archive suffix (normally "a").
15033 # Shared library suffix (normally ".so").
15034 shrext_cmds=$lt_shrext_cmds
15036 # The commands to extract the exported symbol list from a shared archive.
15037 extract_expsyms_cmds=$lt_extract_expsyms_cmds
15039 # Variables whose values should be saved in libtool wrapper scripts and
15040 # restored at link time.
15041 variables_saved_for_relink=$lt_variables_saved_for_relink
15043 # Do we need the "lib" prefix for modules?
15044 need_lib_prefix=$need_lib_prefix
15046 # Do we need a version for libraries?
15047 need_version=$need_version
15049 # Library versioning type.
15050 version_type=$version_type
15052 # Shared library runtime path variable.
15053 runpath_var=$runpath_var
15055 # Shared library path variable.
15056 shlibpath_var=$shlibpath_var
15058 # Is shlibpath searched before the hard-coded library search path?
15059 shlibpath_overrides_runpath=$shlibpath_overrides_runpath
15061 # Format of library name prefix.
15062 libname_spec=$lt_libname_spec
15064 # List of archive names. First name is the real one, the rest are links.
15065 # The last name is the one that the linker finds with -lNAME
15066 library_names_spec=$lt_library_names_spec
15068 # The coded name of the library, if different from the real name.
15069 soname_spec=$lt_soname_spec
15071 # Command to use after installation of a shared archive.
15072 postinstall_cmds=$lt_postinstall_cmds
15074 # Command to use after uninstallation of a shared archive.
15075 postuninstall_cmds=$lt_postuninstall_cmds
15077 # Commands used to finish a libtool library installation in a directory.
15078 finish_cmds=$lt_finish_cmds
15080 # As "finish_cmds", except a single script fragment to be evaled but
15082 finish_eval=$lt_finish_eval
15084 # Whether we should hardcode library paths into libraries.
15085 hardcode_into_libs=$hardcode_into_libs
15087 # Compile-time system search path for libraries.
15088 sys_lib_search_path_spec=$lt_sys_lib_search_path_spec
15090 # Run-time system search path for libraries.
15091 sys_lib_dlsearch_path_spec=$lt_sys_lib_dlsearch_path_spec
15093 # Whether dlopen is supported.
15094 dlopen_support=$enable_dlopen
15096 # Whether dlopen of programs is supported.
15097 dlopen_self=$enable_dlopen_self
15099 # Whether dlopen of statically linked programs is supported.
15100 dlopen_self_static=$enable_dlopen_self_static
15102 # Commands to strip libraries.
15103 old_striplib=$lt_old_striplib
15104 striplib=$lt_striplib
15107 # The linker used to build libraries.
15110 # Commands used to build an old-style archive.
15111 old_archive_cmds=$lt_old_archive_cmds
15113 # A language specific compiler.
15116 # Is the compiler the GNU compiler?
15119 # Compiler flag to turn off builtin functions.
15120 no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag
15122 # How to pass a linker flag through the compiler.
15123 wl=$lt_lt_prog_compiler_wl
15125 # Additional compiler flags for building library objects.
15126 pic_flag=$lt_lt_prog_compiler_pic
15128 # Compiler flag to prevent dynamic linking.
15129 link_static_flag=$lt_lt_prog_compiler_static
15131 # Does compiler simultaneously support -c and -o options?
15132 compiler_c_o=$lt_lt_cv_prog_compiler_c_o
15134 # Whether or not to add -lc for building shared libraries.
15135 build_libtool_need_lc=$archive_cmds_need_lc
15137 # Whether or not to disallow shared libs when runtime libs are static.
15138 allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes
15140 # Compiler flag to allow reflexive dlopens.
15141 export_dynamic_flag_spec=$lt_export_dynamic_flag_spec
15143 # Compiler flag to generate shared objects directly from archives.
15144 whole_archive_flag_spec=$lt_whole_archive_flag_spec
15146 # Whether the compiler copes with passing no objects directly.
15147 compiler_needs_object=$lt_compiler_needs_object
15149 # Create an old-style archive from a shared archive.
15150 old_archive_from_new_cmds=$lt_old_archive_from_new_cmds
15152 # Create a temporary old-style archive to link instead of a shared archive.
15153 old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds
15155 # Commands used to build a shared archive.
15156 archive_cmds=$lt_archive_cmds
15157 archive_expsym_cmds=$lt_archive_expsym_cmds
15159 # Commands used to build a loadable module if different from building
15160 # a shared archive.
15161 module_cmds=$lt_module_cmds
15162 module_expsym_cmds=$lt_module_expsym_cmds
15164 # Whether we are building with GNU ld or not.
15165 with_gnu_ld=$lt_with_gnu_ld
15167 # Flag that allows shared libraries with undefined symbols to be built.
15168 allow_undefined_flag=$lt_allow_undefined_flag
15170 # Flag that enforces no undefined symbols.
15171 no_undefined_flag=$lt_no_undefined_flag
15173 # Flag to hardcode \$libdir into a binary during linking.
15174 # This must work even if \$libdir does not exist
15175 hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec
15177 # If ld is used when linking, flag to hardcode \$libdir into a binary
15178 # during linking. This must work even if \$libdir does not exist.
15179 hardcode_libdir_flag_spec_ld=$lt_hardcode_libdir_flag_spec_ld
15181 # Whether we need a single "-rpath" flag with a separated argument.
15182 hardcode_libdir_separator=$lt_hardcode_libdir_separator
15184 # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
15185 # DIR into the resulting binary.
15186 hardcode_direct=$hardcode_direct
15188 # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
15189 # DIR into the resulting binary and the resulting library dependency is
15190 # "absolute",i.e impossible to change by setting \${shlibpath_var} if the
15191 # library is relocated.
15192 hardcode_direct_absolute=$hardcode_direct_absolute
15194 # Set to "yes" if using the -LDIR flag during linking hardcodes DIR
15195 # into the resulting binary.
15196 hardcode_minus_L=$hardcode_minus_L
15198 # Set to "yes" if using SHLIBPATH_VAR=DIR during linking hardcodes DIR
15199 # into the resulting binary.
15200 hardcode_shlibpath_var=$hardcode_shlibpath_var
15202 # Set to "yes" if building a shared library automatically hardcodes DIR
15203 # into the library and all subsequent libraries and executables linked
15205 hardcode_automatic=$hardcode_automatic
15207 # Set to yes if linker adds runtime paths of dependent libraries
15208 # to runtime path list.
15209 inherit_rpath=$inherit_rpath
15211 # Whether libtool must link a program against all its dependency libraries.
15212 link_all_deplibs=$link_all_deplibs
15214 # Fix the shell variable \$srcfile for the compiler.
15215 fix_srcfile_path=$lt_fix_srcfile_path
15217 # Set to "yes" if exported symbols are required.
15218 always_export_symbols=$always_export_symbols
15220 # The commands to list exported symbols.
15221 export_symbols_cmds=$lt_export_symbols_cmds
15223 # Symbols that should not be listed in the preloaded symbols.
15224 exclude_expsyms=$lt_exclude_expsyms
15226 # Symbols that must always be exported.
15227 include_expsyms=$lt_include_expsyms
15229 # Commands necessary for linking programs (against libraries) with templates.
15230 prelink_cmds=$lt_prelink_cmds
15232 # Specify filename containing input files.
15233 file_list_spec=$lt_file_list_spec
15235 # How to hardcode a shared library path into an executable.
15236 hardcode_action=$hardcode_action
15238 # ### END LIBTOOL CONFIG
15244 cat <<\_LT_EOF >> "$cfgfile"
15245 # AIX sometimes has problems with the GCC collect2 program. For some
15246 # reason, if we set the COLLECT_NAMES environment variable, the problems
15247 # vanish in a puff of smoke.
15248 if test "X${COLLECT_NAMES+set}" != Xset; then
15250 export COLLECT_NAMES
15257 ltmain="$ac_aux_dir/ltmain.sh"
15260 # We use sed instead of cat because bash on DJGPP gets confused if
15261 # if finds mixed CR/LF and LF-only lines. Since sed operates in
15262 # text mode, it properly converts lines to CR/LF. This bash problem
15263 # is reportedly fixed, but why not run on old versions too?
15264 sed '/^# Generated shell functions inserted here/q' "$ltmain" >> "$cfgfile" \
15265 || (rm -f "$cfgfile"; exit 1)
15269 cat << \_LT_EOF >> "$cfgfile"
15271 # func_dirname file append nondir_replacement
15272 # Compute the dirname of FILE. If nonempty, add APPEND to the result,
15273 # otherwise set result to NONDIR_REPLACEMENT.
15277 */*) func_dirname_result="${1%/*}${2}" ;;
15278 * ) func_dirname_result="${3}" ;;
15282 # func_basename file
15285 func_basename_result="${1##*/}"
15288 # func_dirname_and_basename file append nondir_replacement
15289 # perform func_basename and func_dirname in a single function
15291 # dirname: Compute the dirname of FILE. If nonempty,
15292 # add APPEND to the result, otherwise set result
15293 # to NONDIR_REPLACEMENT.
15294 # value returned in "$func_dirname_result"
15295 # basename: Compute filename of FILE.
15296 # value retuned in "$func_basename_result"
15297 # Implementation must be kept synchronized with func_dirname
15298 # and func_basename. For efficiency, we do not delegate to
15299 # those functions but instead duplicate the functionality here.
15300 func_dirname_and_basename ()
15303 */*) func_dirname_result="${1%/*}${2}" ;;
15304 * ) func_dirname_result="${3}" ;;
15306 func_basename_result="${1##*/}"
15309 # func_stripname prefix suffix name
15310 # strip PREFIX and SUFFIX off of NAME.
15311 # PREFIX and SUFFIX must not contain globbing or regex special
15312 # characters, hashes, percent signs, but SUFFIX may contain a leading
15313 # dot (in which case that matches only a dot).
15316 # pdksh 5.2.14 does not do ${X%$Y} correctly if both X and Y are
15317 # positional parameters, so assign one to ordinary parameter first.
15318 func_stripname_result=${3}
15319 func_stripname_result=${func_stripname_result#"${1}"}
15320 func_stripname_result=${func_stripname_result%"${2}"}
15326 func_opt_split_opt=${1%%=*}
15327 func_opt_split_arg=${1#*=}
15334 *.lo) func_lo2o_result=${1%.lo}.${objext} ;;
15335 *) func_lo2o_result=${1} ;;
15339 # func_xform libobj-or-source
15342 func_xform_result=${1%.*}.lo
15345 # func_arith arithmetic-term...
15348 func_arith_result=$(( $* ))
15352 # STRING may not start with a hyphen.
15355 func_len_result=${#1}
15360 *) # Bourne compatible functions.
15361 cat << \_LT_EOF >> "$cfgfile"
15363 # func_dirname file append nondir_replacement
15364 # Compute the dirname of FILE. If nonempty, add APPEND to the result,
15365 # otherwise set result to NONDIR_REPLACEMENT.
15368 # Extract subdirectory from the argument.
15369 func_dirname_result=`$ECHO "X${1}" | $Xsed -e "$dirname"`
15370 if test "X$func_dirname_result" = "X${1}"; then
15371 func_dirname_result="${3}"
15373 func_dirname_result="$func_dirname_result${2}"
15377 # func_basename file
15380 func_basename_result=`$ECHO "X${1}" | $Xsed -e "$basename"`
15384 # func_stripname prefix suffix name
15385 # strip PREFIX and SUFFIX off of NAME.
15386 # PREFIX and SUFFIX must not contain globbing or regex special
15387 # characters, hashes, percent signs, but SUFFIX may contain a leading
15388 # dot (in which case that matches only a dot).
15389 # func_strip_suffix prefix name
15393 .*) func_stripname_result=`$ECHO "X${3}" \
15394 | $Xsed -e "s%^${1}%%" -e "s%\\\\${2}\$%%"`;;
15395 *) func_stripname_result=`$ECHO "X${3}" \
15396 | $Xsed -e "s%^${1}%%" -e "s%${2}\$%%"`;;
15401 my_sed_long_opt='1s/^\(-[^=]*\)=.*/\1/;q'
15402 my_sed_long_arg='1s/^-[^=]*=//'
15407 func_opt_split_opt=`$ECHO "X${1}" | $Xsed -e "$my_sed_long_opt"`
15408 func_opt_split_arg=`$ECHO "X${1}" | $Xsed -e "$my_sed_long_arg"`
15414 func_lo2o_result=`$ECHO "X${1}" | $Xsed -e "$lo2o"`
15417 # func_xform libobj-or-source
15420 func_xform_result=`$ECHO "X${1}" | $Xsed -e 's/\.[^.]*$/.lo/'`
15423 # func_arith arithmetic-term...
15426 func_arith_result=`expr "$@"`
15430 # STRING may not start with a hyphen.
15433 func_len_result=`expr "$1" : ".*" 2>/dev/null || echo $max_cmd_len`
15439 case $lt_shell_append in
15441 cat << \_LT_EOF >> "$cfgfile"
15443 # func_append var value
15444 # Append VALUE to the end of shell variable VAR.
15452 cat << \_LT_EOF >> "$cfgfile"
15454 # func_append var value
15455 # Append VALUE to the end of shell variable VAR.
15466 sed -n '/^# Generated shell functions inserted here/,$p' "$ltmain" >> "$cfgfile" \
15467 || (rm -f "$cfgfile"; exit 1)
15469 mv -f "$cfgfile" "$ofile" ||
15470 (rm -f "$ofile" && cp "$cfgfile" "$ofile" && rm -f "$cfgfile")
15481 ac_clean_files=$ac_clean_files_save
15483 test $ac_write_fail = 0 ||
15484 as_fn_error $? "write failure creating $CONFIG_STATUS" "$LINENO" 5
15487 # configure is writing to config.log, and then calls config.status.
15488 # config.status does its own redirection, appending to config.log.
15489 # Unfortunately, on DOS this fails, as config.log is still kept open
15490 # by configure, so config.status won't be able to write to it; its
15491 # output is simply discarded. So we exec the FD to /dev/null,
15492 # effectively closing config.log, so it can be properly (re)opened and
15493 # appended to by config.status. When coming back to configure, we
15494 # need to make the FD available again.
15495 if test "$no_create" != yes; then
15497 ac_config_status_args=
15498 test "$silent" = yes &&
15499 ac_config_status_args="$ac_config_status_args --quiet"
15501 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
15503 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
15504 # would make configure fail if this is the last instruction.
15505 $ac_cs_success || as_fn_exit 1
15507 if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no; then
15508 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
15509 $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}
15514 #####################################################################
15520 echo "------------------------------------------------------------------------"
15521 echo "$PACKAGE $VERSION"
15522 echo "------------------------------------------------------------------------"
15524 echo "Configuration Options Summary:"
15525 if test "x$eeze_mount" = "xyes";then
15527 echo "Mount..................: ${with_mount}"
15528 echo "Umount.................: ${with_umount}"
15529 echo "Eject..................: ${with_eject}"
15532 echo "Tests..................: ${have_eeze_udev_test}"
15534 echo "Demos..................:"
15535 echo " eeze_mount...........: ${have_eeze_mount}"
15536 echo " eeze_umount..........: ${have_eeze_umount}"
15537 echo " eeze_disk_ls.........: ${have_eeze_disk_ls}"
15539 echo "Utilities..............:"
15540 echo " eeze_scanner.........: ${have_eeze_scanner}"
15542 echo "IPv6...................: ${have_ipv6}"
15544 echo "Documentation..........: ${build_doc}"
15546 echo "Compilation............: make (or gmake)"
15547 echo " CPPFLAGS.............: $CPPFLAGS"
15548 echo " CFLAGS...............: $CFLAGS"
15549 echo " LDFLAGS..............: $LDFLAGS"
15551 echo "Installation...........: make install (as root if needed, with 'su' or 'sudo')"
15552 echo " prefix...............: $prefix"