2 # Guess values for system-dependent variables and create Makefiles.
3 # Generated by GNU Autoconf 2.67 for efreet 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.
702 PACKAGE_NAME='efreet'
703 PACKAGE_TARNAME='efreet'
704 PACKAGE_VERSION='1.7.1'
705 PACKAGE_STRING='efreet 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>
747 ac_subst_vars='am__EXEEXT_FALSE
752 EFL_ENABLE_COVERAGE_FALSE
753 EFL_ENABLE_COVERAGE_TRUE
757 EFL_ENABLE_TESTS_FALSE
758 EFL_ENABLE_TESTS_TRUE
762 lt_enable_auto_import
768 EFL_EFREET_TRASH_BUILD
769 EFL_EFREET_MIME_BUILD
777 pkgconfig_requires_private
781 DEFAULT_VISIBILITY_FALSE
782 DEFAULT_VISIBILITY_TRUE
793 XGETTEXT_EXTRA_OPTIONS
801 GETTEXT_MACRO_VERSION
862 INSTALL_STRIP_PROGRAM
904 program_transform_name
917 enable_option_checking
923 enable_dependency_tracking
937 ac_precious_vars='build_alias
959 # Initialize some variables set by options.
961 ac_init_version=false
962 ac_unrecognized_opts=
964 # The variables have the same names as the options, with
965 # dashes changed to underlines.
973 program_transform_name=s,x,x,
981 # Installation directory options.
982 # These are left unexpanded so users can "make install exec_prefix=/foo"
983 # and all the variables that are supposed to be based on exec_prefix
984 # by default will actually change.
985 # Use braces instead of parens because sh, perl, etc. also accept them.
986 # (The list follows the same order as the GNU Coding Standards.)
987 bindir='${exec_prefix}/bin'
988 sbindir='${exec_prefix}/sbin'
989 libexecdir='${exec_prefix}/libexec'
990 datarootdir='${prefix}/share'
991 datadir='${datarootdir}'
992 sysconfdir='${prefix}/etc'
993 sharedstatedir='${prefix}/com'
994 localstatedir='${prefix}/var'
995 includedir='${prefix}/include'
996 oldincludedir='/usr/include'
997 docdir='${datarootdir}/doc/${PACKAGE_TARNAME}'
998 infodir='${datarootdir}/info'
1003 libdir='${exec_prefix}/lib'
1004 localedir='${datarootdir}/locale'
1005 mandir='${datarootdir}/man'
1011 # If the previous option needs an argument, assign it.
1012 if test -n "$ac_prev"; then
1013 eval $ac_prev=\$ac_option
1019 *=?*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
1024 # Accept the important Cygnus configure options, so we can diagnose typos.
1026 case $ac_dashdash$ac_option in
1030 -bindir | --bindir | --bindi | --bind | --bin | --bi)
1032 -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
1033 bindir=$ac_optarg ;;
1035 -build | --build | --buil | --bui | --bu)
1036 ac_prev=build_alias ;;
1037 -build=* | --build=* | --buil=* | --bui=* | --bu=*)
1038 build_alias=$ac_optarg ;;
1040 -cache-file | --cache-file | --cache-fil | --cache-fi \
1041 | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
1042 ac_prev=cache_file ;;
1043 -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
1044 | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
1045 cache_file=$ac_optarg ;;
1047 --config-cache | -C)
1048 cache_file=config.cache ;;
1050 -datadir | --datadir | --datadi | --datad)
1052 -datadir=* | --datadir=* | --datadi=* | --datad=*)
1053 datadir=$ac_optarg ;;
1055 -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \
1056 | --dataroo | --dataro | --datar)
1057 ac_prev=datarootdir ;;
1058 -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \
1059 | --dataroot=* | --dataroo=* | --dataro=* | --datar=*)
1060 datarootdir=$ac_optarg ;;
1062 -disable-* | --disable-*)
1063 ac_useropt=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
1064 # Reject names that are not valid shell variable names.
1065 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1066 as_fn_error $? "invalid feature name: $ac_useropt"
1067 ac_useropt_orig=$ac_useropt
1068 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1069 case $ac_user_opts in
1071 "enable_$ac_useropt"
1073 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig"
1074 ac_unrecognized_sep=', ';;
1076 eval enable_$ac_useropt=no ;;
1078 -docdir | --docdir | --docdi | --doc | --do)
1080 -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*)
1081 docdir=$ac_optarg ;;
1083 -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv)
1085 -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*)
1086 dvidir=$ac_optarg ;;
1088 -enable-* | --enable-*)
1089 ac_useropt=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
1090 # Reject names that are not valid shell variable names.
1091 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1092 as_fn_error $? "invalid feature name: $ac_useropt"
1093 ac_useropt_orig=$ac_useropt
1094 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1095 case $ac_user_opts in
1097 "enable_$ac_useropt"
1099 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig"
1100 ac_unrecognized_sep=', ';;
1102 eval enable_$ac_useropt=\$ac_optarg ;;
1104 -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
1105 | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
1106 | --exec | --exe | --ex)
1107 ac_prev=exec_prefix ;;
1108 -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
1109 | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
1110 | --exec=* | --exe=* | --ex=*)
1111 exec_prefix=$ac_optarg ;;
1113 -gas | --gas | --ga | --g)
1114 # Obsolete; use --with-gas.
1117 -help | --help | --hel | --he | -h)
1118 ac_init_help=long ;;
1119 -help=r* | --help=r* | --hel=r* | --he=r* | -hr*)
1120 ac_init_help=recursive ;;
1121 -help=s* | --help=s* | --hel=s* | --he=s* | -hs*)
1122 ac_init_help=short ;;
1124 -host | --host | --hos | --ho)
1125 ac_prev=host_alias ;;
1126 -host=* | --host=* | --hos=* | --ho=*)
1127 host_alias=$ac_optarg ;;
1129 -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht)
1131 -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \
1133 htmldir=$ac_optarg ;;
1135 -includedir | --includedir | --includedi | --included | --include \
1136 | --includ | --inclu | --incl | --inc)
1137 ac_prev=includedir ;;
1138 -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
1139 | --includ=* | --inclu=* | --incl=* | --inc=*)
1140 includedir=$ac_optarg ;;
1142 -infodir | --infodir | --infodi | --infod | --info | --inf)
1144 -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
1145 infodir=$ac_optarg ;;
1147 -libdir | --libdir | --libdi | --libd)
1149 -libdir=* | --libdir=* | --libdi=* | --libd=*)
1150 libdir=$ac_optarg ;;
1152 -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
1153 | --libexe | --libex | --libe)
1154 ac_prev=libexecdir ;;
1155 -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
1156 | --libexe=* | --libex=* | --libe=*)
1157 libexecdir=$ac_optarg ;;
1159 -localedir | --localedir | --localedi | --localed | --locale)
1160 ac_prev=localedir ;;
1161 -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*)
1162 localedir=$ac_optarg ;;
1164 -localstatedir | --localstatedir | --localstatedi | --localstated \
1165 | --localstate | --localstat | --localsta | --localst | --locals)
1166 ac_prev=localstatedir ;;
1167 -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
1168 | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*)
1169 localstatedir=$ac_optarg ;;
1171 -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
1173 -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
1174 mandir=$ac_optarg ;;
1176 -nfp | --nfp | --nf)
1177 # Obsolete; use --without-fp.
1180 -no-create | --no-create | --no-creat | --no-crea | --no-cre \
1181 | --no-cr | --no-c | -n)
1184 -no-recursion | --no-recursion | --no-recursio | --no-recursi \
1185 | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
1188 -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
1189 | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
1190 | --oldin | --oldi | --old | --ol | --o)
1191 ac_prev=oldincludedir ;;
1192 -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
1193 | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
1194 | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
1195 oldincludedir=$ac_optarg ;;
1197 -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
1199 -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
1200 prefix=$ac_optarg ;;
1202 -program-prefix | --program-prefix | --program-prefi | --program-pref \
1203 | --program-pre | --program-pr | --program-p)
1204 ac_prev=program_prefix ;;
1205 -program-prefix=* | --program-prefix=* | --program-prefi=* \
1206 | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
1207 program_prefix=$ac_optarg ;;
1209 -program-suffix | --program-suffix | --program-suffi | --program-suff \
1210 | --program-suf | --program-su | --program-s)
1211 ac_prev=program_suffix ;;
1212 -program-suffix=* | --program-suffix=* | --program-suffi=* \
1213 | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
1214 program_suffix=$ac_optarg ;;
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 ac_prev=program_transform_name ;;
1224 -program-transform-name=* | --program-transform-name=* \
1225 | --program-transform-nam=* | --program-transform-na=* \
1226 | --program-transform-n=* | --program-transform-=* \
1227 | --program-transform=* | --program-transfor=* \
1228 | --program-transfo=* | --program-transf=* \
1229 | --program-trans=* | --program-tran=* \
1230 | --progr-tra=* | --program-tr=* | --program-t=*)
1231 program_transform_name=$ac_optarg ;;
1233 -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd)
1235 -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*)
1236 pdfdir=$ac_optarg ;;
1238 -psdir | --psdir | --psdi | --psd | --ps)
1240 -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*)
1243 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1244 | -silent | --silent | --silen | --sile | --sil)
1247 -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
1249 -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
1251 sbindir=$ac_optarg ;;
1253 -sharedstatedir | --sharedstatedir | --sharedstatedi \
1254 | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
1255 | --sharedst | --shareds | --shared | --share | --shar \
1257 ac_prev=sharedstatedir ;;
1258 -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
1259 | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
1260 | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
1262 sharedstatedir=$ac_optarg ;;
1264 -site | --site | --sit)
1266 -site=* | --site=* | --sit=*)
1269 -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
1271 -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
1272 srcdir=$ac_optarg ;;
1274 -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
1275 | --syscon | --sysco | --sysc | --sys | --sy)
1276 ac_prev=sysconfdir ;;
1277 -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
1278 | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
1279 sysconfdir=$ac_optarg ;;
1281 -target | --target | --targe | --targ | --tar | --ta | --t)
1282 ac_prev=target_alias ;;
1283 -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
1284 target_alias=$ac_optarg ;;
1286 -v | -verbose | --verbose | --verbos | --verbo | --verb)
1289 -version | --version | --versio | --versi | --vers | -V)
1290 ac_init_version=: ;;
1293 ac_useropt=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
1294 # Reject names that are not valid shell variable names.
1295 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1296 as_fn_error $? "invalid package name: $ac_useropt"
1297 ac_useropt_orig=$ac_useropt
1298 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1299 case $ac_user_opts in
1303 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig"
1304 ac_unrecognized_sep=', ';;
1306 eval with_$ac_useropt=\$ac_optarg ;;
1308 -without-* | --without-*)
1309 ac_useropt=`expr "x$ac_option" : 'x-*without-\(.*\)'`
1310 # Reject names that are not valid shell variable names.
1311 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1312 as_fn_error $? "invalid package name: $ac_useropt"
1313 ac_useropt_orig=$ac_useropt
1314 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1315 case $ac_user_opts in
1319 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig"
1320 ac_unrecognized_sep=', ';;
1322 eval with_$ac_useropt=no ;;
1325 # Obsolete; use --with-x.
1328 -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
1329 | --x-incl | --x-inc | --x-in | --x-i)
1330 ac_prev=x_includes ;;
1331 -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
1332 | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
1333 x_includes=$ac_optarg ;;
1335 -x-libraries | --x-libraries | --x-librarie | --x-librari \
1336 | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
1337 ac_prev=x_libraries ;;
1338 -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
1339 | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
1340 x_libraries=$ac_optarg ;;
1342 -*) as_fn_error $? "unrecognized option: \`$ac_option'
1343 Try \`$0 --help' for more information"
1347 ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
1348 # Reject names that are not valid shell variable names.
1349 case $ac_envvar in #(
1350 '' | [0-9]* | *[!_$as_cr_alnum]* )
1351 as_fn_error $? "invalid variable name: \`$ac_envvar'" ;;
1353 eval $ac_envvar=\$ac_optarg
1354 export $ac_envvar ;;
1357 # FIXME: should be removed in autoconf 3.0.
1358 $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2
1359 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
1360 $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2
1361 : ${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}
1367 if test -n "$ac_prev"; then
1368 ac_option=--`echo $ac_prev | sed 's/_/-/g'`
1369 as_fn_error $? "missing argument to $ac_option"
1372 if test -n "$ac_unrecognized_opts"; then
1373 case $enable_option_checking in
1375 fatal) as_fn_error $? "unrecognized options: $ac_unrecognized_opts" ;;
1376 *) $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;;
1380 # Check all directory arguments for consistency.
1381 for ac_var in exec_prefix prefix bindir sbindir libexecdir datarootdir \
1382 datadir sysconfdir sharedstatedir localstatedir includedir \
1383 oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
1384 libdir localedir mandir
1386 eval ac_val=\$$ac_var
1387 # Remove trailing slashes.
1390 ac_val=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'`
1391 eval $ac_var=\$ac_val;;
1393 # Be sure to have absolute directory names.
1395 [\\/$]* | ?:[\\/]* ) continue;;
1396 NONE | '' ) case $ac_var in *prefix ) continue;; esac;;
1398 as_fn_error $? "expected an absolute directory name for --$ac_var: $ac_val"
1401 # There might be people who depend on the old broken behavior: `$host'
1402 # used to hold the argument of --host etc.
1403 # FIXME: To remove some day.
1406 target=$target_alias
1408 # FIXME: To remove some day.
1409 if test "x$host_alias" != x; then
1410 if test "x$build_alias" = x; then
1411 cross_compiling=maybe
1412 $as_echo "$as_me: WARNING: if you wanted to set the --build type, don't use --host.
1413 If a cross compiler is detected then cross compile mode will be used" >&2
1414 elif test "x$build_alias" != "x$host_alias"; then
1420 test -n "$host_alias" && ac_tool_prefix=$host_alias-
1422 test "$silent" = yes && exec 6>/dev/null
1425 ac_pwd=`pwd` && test -n "$ac_pwd" &&
1426 ac_ls_di=`ls -di .` &&
1427 ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` ||
1428 as_fn_error $? "working directory cannot be determined"
1429 test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
1430 as_fn_error $? "pwd does not report name of working directory"
1433 # Find the source files, if location was not specified.
1434 if test -z "$srcdir"; then
1435 ac_srcdir_defaulted=yes
1436 # Try the directory containing this script, then the parent directory.
1437 ac_confdir=`$as_dirname -- "$as_myself" ||
1438 $as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
1439 X"$as_myself" : 'X\(//\)[^/]' \| \
1440 X"$as_myself" : 'X\(//\)$' \| \
1441 X"$as_myself" : 'X\(/\)' \| . 2>/dev/null ||
1442 $as_echo X"$as_myself" |
1443 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
1461 if test ! -r "$srcdir/$ac_unique_file"; then
1465 ac_srcdir_defaulted=no
1467 if test ! -r "$srcdir/$ac_unique_file"; then
1468 test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .."
1469 as_fn_error $? "cannot find sources ($ac_unique_file) in $srcdir"
1471 ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work"
1473 cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error $? "$ac_msg"
1475 # When building in place, set srcdir=.
1476 if test "$ac_abs_confdir" = "$ac_pwd"; then
1479 # Remove unnecessary trailing slashes from srcdir.
1480 # Double slashes in file names in object file debugging info
1481 # mess up M-x gdb in Emacs.
1483 */) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
1485 for ac_var in $ac_precious_vars; do
1486 eval ac_env_${ac_var}_set=\${${ac_var}+set}
1487 eval ac_env_${ac_var}_value=\$${ac_var}
1488 eval ac_cv_env_${ac_var}_set=\${${ac_var}+set}
1489 eval ac_cv_env_${ac_var}_value=\$${ac_var}
1493 # Report the --help message.
1495 if test "$ac_init_help" = "long"; then
1496 # Omit some internal or obsolete options to make the list less imposing.
1497 # This message is too long to be a string in the A/UX 3.1 sh.
1499 \`configure' configures efreet 1.7.1 to adapt to many kinds of systems.
1501 Usage: $0 [OPTION]... [VAR=VALUE]...
1503 To assign environment variables (e.g., CC, CFLAGS...), specify them as
1504 VAR=VALUE. See below for descriptions of some of the useful variables.
1506 Defaults for the options are specified in brackets.
1509 -h, --help display this help and exit
1510 --help=short display options specific to this package
1511 --help=recursive display the short help of all the included packages
1512 -V, --version display version information and exit
1513 -q, --quiet, --silent do not print \`checking ...' messages
1514 --cache-file=FILE cache test results in FILE [disabled]
1515 -C, --config-cache alias for \`--cache-file=config.cache'
1516 -n, --no-create do not create output files
1517 --srcdir=DIR find the sources in DIR [configure dir or \`..']
1519 Installation directories:
1520 --prefix=PREFIX install architecture-independent files in PREFIX
1521 [$ac_default_prefix]
1522 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
1525 By default, \`make install' will install all the files in
1526 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
1527 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
1528 for instance \`--prefix=\$HOME'.
1530 For better control, use the options below.
1532 Fine tuning of the installation directories:
1533 --bindir=DIR user executables [EPREFIX/bin]
1534 --sbindir=DIR system admin executables [EPREFIX/sbin]
1535 --libexecdir=DIR program executables [EPREFIX/libexec]
1536 --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
1537 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
1538 --localstatedir=DIR modifiable single-machine data [PREFIX/var]
1539 --libdir=DIR object code libraries [EPREFIX/lib]
1540 --includedir=DIR C header files [PREFIX/include]
1541 --oldincludedir=DIR C header files for non-gcc [/usr/include]
1542 --datarootdir=DIR read-only arch.-independent data root [PREFIX/share]
1543 --datadir=DIR read-only architecture-independent data [DATAROOTDIR]
1544 --infodir=DIR info documentation [DATAROOTDIR/info]
1545 --localedir=DIR locale-dependent data [DATAROOTDIR/locale]
1546 --mandir=DIR man documentation [DATAROOTDIR/man]
1547 --docdir=DIR documentation root [DATAROOTDIR/doc/efreet]
1548 --htmldir=DIR html documentation [DOCDIR]
1549 --dvidir=DIR dvi documentation [DOCDIR]
1550 --pdfdir=DIR pdf documentation [DOCDIR]
1551 --psdir=DIR ps documentation [DOCDIR]
1557 --program-prefix=PREFIX prepend PREFIX to installed program names
1558 --program-suffix=SUFFIX append SUFFIX to installed program names
1559 --program-transform-name=PROGRAM run sed PROGRAM on installed program names
1562 --build=BUILD configure for building on BUILD [guessed]
1563 --host=HOST cross-compile to build programs to run on HOST [BUILD]
1567 if test -n "$ac_init_help"; then
1568 case $ac_init_help in
1569 short | recursive ) echo "Configuration of efreet 1.7.1:";;
1574 --disable-option-checking ignore unrecognized --enable/--with options
1575 --disable-FEATURE do not include FEATURE (same as --enable-FEATURE=no)
1576 --enable-FEATURE[=ARG] include FEATURE [ARG=yes]
1577 --enable-silent-rules less verbose build output (undo: `make V=1')
1578 --disable-silent-rules verbose build output (undo: `make V=0')
1579 --enable-shared[=PKGS] build shared libraries [default=yes]
1580 --enable-static[=PKGS] build static libraries [default=yes]
1581 --enable-fast-install[=PKGS]
1582 optimize for fast installation [default=yes]
1583 --disable-dependency-tracking speeds up one-time build
1584 --enable-dependency-tracking do not reject slow dependency extractors
1585 --disable-libtool-lock avoid locking (might break parallel builds)
1586 --disable-nls do not use Native Language Support
1587 --disable-rpath do not hardcode runtime library paths
1588 --enable-strict-spec Enable strict spec compliance [default=disabled]
1589 --disable-sloppy-spec Enable sloppy spec compliance [default=enabled]
1590 --disable-doc Disable documentation build [default=enabled]
1591 --enable-tests enable tests [default=disabled]
1592 --enable-coverage enable coverage profiling instrumentation
1596 --with-PACKAGE[=ARG] use PACKAGE [ARG=yes]
1597 --without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no)
1598 --with-pic try to use only PIC/non-PIC objects [default=use
1600 --with-gnu-ld assume the C compiler uses GNU ld [default=no]
1601 --with-gnu-ld assume the C compiler uses GNU ld default=no
1602 --with-libiconv-prefix[=DIR] search for libiconv in DIR/include and DIR/lib
1603 --without-libiconv-prefix don't search for libiconv in includedir and libdir
1604 --with-libintl-prefix[=DIR] search for libintl in DIR/include and DIR/lib
1605 --without-libintl-prefix don't search for libintl in includedir and libdir
1606 --with-doxygen=FILE doxygen program to use [default=doxygen]
1608 Some influential environment variables:
1609 CC C compiler command
1610 CFLAGS C compiler flags
1611 LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a
1612 nonstandard directory <lib dir>
1613 LIBS libraries to pass to the linker, e.g. -l<library>
1614 CPPFLAGS (Objective) C/C++ preprocessor flags, e.g. -I<include dir> if
1615 you have headers in a nonstandard directory <include dir>
1617 PKG_CONFIG path to pkg-config utility
1619 directories to add to pkg-config's search path
1621 path overriding pkg-config's built-in search path
1622 EVIL_CFLAGS C compiler flags for EVIL, overriding pkg-config
1623 EVIL_LIBS linker flags for EVIL, overriding pkg-config
1625 C compiler flags for EFREET, overriding pkg-config
1626 EFREET_LIBS linker flags for EFREET, overriding pkg-config
1627 EINA_CFLAGS C compiler flags for EINA, overriding pkg-config
1628 EINA_LIBS linker flags for EINA, overriding pkg-config
1630 C compiler flags for CHECK, overriding pkg-config
1631 CHECK_LIBS linker flags for CHECK, overriding pkg-config
1633 Use these variables to override the choices made by `configure' or to help
1634 it to find libraries and programs with nonstandard names/locations.
1636 Report bugs to <enlightenment-devel@lists.sourceforge.net>.
1641 if test "$ac_init_help" = "recursive"; then
1642 # If there are subdirs, report their specific --help.
1643 for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
1644 test -d "$ac_dir" ||
1645 { cd "$srcdir" && ac_pwd=`pwd` && srcdir=. && test -d "$ac_dir"; } ||
1650 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
1652 ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
1653 # A ".." for each directory in $ac_dir_suffix.
1654 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
1655 case $ac_top_builddir_sub in
1656 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
1657 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
1660 ac_abs_top_builddir=$ac_pwd
1661 ac_abs_builddir=$ac_pwd$ac_dir_suffix
1662 # for backward compatibility:
1663 ac_top_builddir=$ac_top_build_prefix
1666 .) # We are building in place.
1668 ac_top_srcdir=$ac_top_builddir_sub
1669 ac_abs_top_srcdir=$ac_pwd ;;
1670 [\\/]* | ?:[\\/]* ) # Absolute name.
1671 ac_srcdir=$srcdir$ac_dir_suffix;
1672 ac_top_srcdir=$srcdir
1673 ac_abs_top_srcdir=$srcdir ;;
1675 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
1676 ac_top_srcdir=$ac_top_build_prefix$srcdir
1677 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
1679 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
1681 cd "$ac_dir" || { ac_status=$?; continue; }
1682 # Check for guested configure.
1683 if test -f "$ac_srcdir/configure.gnu"; then
1685 $SHELL "$ac_srcdir/configure.gnu" --help=recursive
1686 elif test -f "$ac_srcdir/configure"; then
1688 $SHELL "$ac_srcdir/configure" --help=recursive
1690 $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
1692 cd "$ac_pwd" || { ac_status=$?; break; }
1696 test -n "$ac_init_help" && exit $ac_status
1697 if $ac_init_version; then
1699 efreet configure 1.7.1
1700 generated by GNU Autoconf 2.67
1702 Copyright (C) 2010 Free Software Foundation, Inc.
1703 This configure script is free software; the Free Software Foundation
1704 gives unlimited permission to copy, distribute and modify it.
1709 ## ------------------------ ##
1710 ## Autoconf initialization. ##
1711 ## ------------------------ ##
1713 # ac_fn_c_try_compile LINENO
1714 # --------------------------
1715 # Try to compile conftest.$ac_ext, and return whether this succeeded.
1716 ac_fn_c_try_compile ()
1718 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1719 rm -f conftest.$ac_objext
1720 if { { ac_try="$ac_compile"
1722 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1723 *) ac_try_echo=$ac_try;;
1725 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1726 $as_echo "$ac_try_echo"; } >&5
1727 (eval "$ac_compile") 2>conftest.err
1729 if test -s conftest.err; then
1730 grep -v '^ *+' conftest.err >conftest.er1
1731 cat conftest.er1 >&5
1732 mv -f conftest.er1 conftest.err
1734 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1735 test $ac_status = 0; } && {
1736 test -z "$ac_c_werror_flag" ||
1737 test ! -s conftest.err
1738 } && test -s conftest.$ac_objext; then :
1741 $as_echo "$as_me: failed program was:" >&5
1742 sed 's/^/| /' conftest.$ac_ext >&5
1746 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1747 as_fn_set_status $ac_retval
1749 } # ac_fn_c_try_compile
1751 # ac_fn_c_try_link LINENO
1752 # -----------------------
1753 # Try to link conftest.$ac_ext, and return whether this succeeded.
1756 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1757 rm -f conftest.$ac_objext conftest$ac_exeext
1758 if { { ac_try="$ac_link"
1760 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1761 *) ac_try_echo=$ac_try;;
1763 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1764 $as_echo "$ac_try_echo"; } >&5
1765 (eval "$ac_link") 2>conftest.err
1767 if test -s conftest.err; then
1768 grep -v '^ *+' conftest.err >conftest.er1
1769 cat conftest.er1 >&5
1770 mv -f conftest.er1 conftest.err
1772 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1773 test $ac_status = 0; } && {
1774 test -z "$ac_c_werror_flag" ||
1775 test ! -s conftest.err
1776 } && test -s conftest$ac_exeext && {
1777 test "$cross_compiling" = yes ||
1778 $as_test_x conftest$ac_exeext
1782 $as_echo "$as_me: failed program was:" >&5
1783 sed 's/^/| /' conftest.$ac_ext >&5
1787 # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
1788 # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
1789 # interfere with the next link command; also delete a directory that is
1790 # left behind by Apple's compiler. We do this before executing the actions.
1791 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
1792 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1793 as_fn_set_status $ac_retval
1795 } # ac_fn_c_try_link
1797 # ac_fn_c_check_header_compile LINENO HEADER VAR INCLUDES
1798 # -------------------------------------------------------
1799 # Tests whether HEADER exists and can be compiled using the include files in
1800 # INCLUDES, setting the cache variable VAR accordingly.
1801 ac_fn_c_check_header_compile ()
1803 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1804 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1805 $as_echo_n "checking for $2... " >&6; }
1806 if eval "test \"\${$3+set}\"" = set; then :
1807 $as_echo_n "(cached) " >&6
1809 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1810 /* end confdefs.h. */
1814 if ac_fn_c_try_compile "$LINENO"; then :
1819 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1822 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1823 $as_echo "$ac_res" >&6; }
1824 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1826 } # ac_fn_c_check_header_compile
1828 # ac_fn_c_try_cpp LINENO
1829 # ----------------------
1830 # Try to preprocess conftest.$ac_ext, and return whether this succeeded.
1833 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1834 if { { ac_try="$ac_cpp conftest.$ac_ext"
1836 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1837 *) ac_try_echo=$ac_try;;
1839 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1840 $as_echo "$ac_try_echo"; } >&5
1841 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err
1843 if test -s conftest.err; then
1844 grep -v '^ *+' conftest.err >conftest.er1
1845 cat conftest.er1 >&5
1846 mv -f conftest.er1 conftest.err
1848 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1849 test $ac_status = 0; } > conftest.i && {
1850 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
1851 test ! -s conftest.err
1855 $as_echo "$as_me: failed program was:" >&5
1856 sed 's/^/| /' conftest.$ac_ext >&5
1860 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1861 as_fn_set_status $ac_retval
1865 # ac_fn_c_try_run LINENO
1866 # ----------------------
1867 # Try to link conftest.$ac_ext, and return whether this succeeded. Assumes
1868 # that executables *can* be run.
1871 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1872 if { { ac_try="$ac_link"
1874 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1875 *) ac_try_echo=$ac_try;;
1877 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1878 $as_echo "$ac_try_echo"; } >&5
1879 (eval "$ac_link") 2>&5
1881 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1882 test $ac_status = 0; } && { ac_try='./conftest$ac_exeext'
1883 { { case "(($ac_try" in
1884 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1885 *) ac_try_echo=$ac_try;;
1887 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1888 $as_echo "$ac_try_echo"; } >&5
1889 (eval "$ac_try") 2>&5
1891 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1892 test $ac_status = 0; }; }; then :
1895 $as_echo "$as_me: program exited with status $ac_status" >&5
1896 $as_echo "$as_me: failed program was:" >&5
1897 sed 's/^/| /' conftest.$ac_ext >&5
1899 ac_retval=$ac_status
1901 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
1902 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1903 as_fn_set_status $ac_retval
1907 # ac_fn_c_check_func LINENO FUNC VAR
1908 # ----------------------------------
1909 # Tests whether FUNC exists, setting the cache variable VAR accordingly
1910 ac_fn_c_check_func ()
1912 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1913 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1914 $as_echo_n "checking for $2... " >&6; }
1915 if eval "test \"\${$3+set}\"" = set; then :
1916 $as_echo_n "(cached) " >&6
1918 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1919 /* end confdefs.h. */
1920 /* Define $2 to an innocuous variant, in case <limits.h> declares $2.
1921 For example, HP-UX 11i <limits.h> declares gettimeofday. */
1922 #define $2 innocuous_$2
1924 /* System header to define __stub macros and hopefully few prototypes,
1925 which can conflict with char $2 (); below.
1926 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
1927 <limits.h> exists even on freestanding compilers. */
1930 # include <limits.h>
1932 # include <assert.h>
1937 /* Override any GCC internal prototype to avoid an error.
1938 Use char because int might match the return type of a GCC
1939 builtin and then its argument prototype would still apply. */
1944 /* The GNU C library defines this for functions which it implements
1945 to always fail with ENOSYS. Some functions are actually named
1946 something starting with __ and the normal name is an alias. */
1947 #if defined __stub_$2 || defined __stub___$2
1959 if ac_fn_c_try_link "$LINENO"; then :
1964 rm -f core conftest.err conftest.$ac_objext \
1965 conftest$ac_exeext conftest.$ac_ext
1968 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1969 $as_echo "$ac_res" >&6; }
1970 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1972 } # ac_fn_c_check_func
1974 # ac_fn_c_check_header_mongrel LINENO HEADER VAR INCLUDES
1975 # -------------------------------------------------------
1976 # Tests whether HEADER exists, giving a warning if it cannot be compiled using
1977 # the include files in INCLUDES and setting the cache variable VAR
1979 ac_fn_c_check_header_mongrel ()
1981 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1982 if eval "test \"\${$3+set}\"" = set; then :
1983 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1984 $as_echo_n "checking for $2... " >&6; }
1985 if eval "test \"\${$3+set}\"" = set; then :
1986 $as_echo_n "(cached) " >&6
1989 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1990 $as_echo "$ac_res" >&6; }
1992 # Is the header compilable?
1993 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 usability" >&5
1994 $as_echo_n "checking $2 usability... " >&6; }
1995 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1996 /* end confdefs.h. */
2000 if ac_fn_c_try_compile "$LINENO"; then :
2001 ac_header_compiler=yes
2003 ac_header_compiler=no
2005 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2006 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_compiler" >&5
2007 $as_echo "$ac_header_compiler" >&6; }
2009 # Is the header present?
2010 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 presence" >&5
2011 $as_echo_n "checking $2 presence... " >&6; }
2012 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2013 /* end confdefs.h. */
2016 if ac_fn_c_try_cpp "$LINENO"; then :
2017 ac_header_preproc=yes
2019 ac_header_preproc=no
2021 rm -f conftest.err conftest.i conftest.$ac_ext
2022 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_preproc" >&5
2023 $as_echo "$ac_header_preproc" >&6; }
2025 # So? What about this header?
2026 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in #((
2028 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&5
2029 $as_echo "$as_me: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&2;}
2030 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
2031 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
2034 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: present but cannot be compiled" >&5
2035 $as_echo "$as_me: WARNING: $2: present but cannot be compiled" >&2;}
2036 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: check for missing prerequisite headers?" >&5
2037 $as_echo "$as_me: WARNING: $2: check for missing prerequisite headers?" >&2;}
2038 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: see the Autoconf documentation" >&5
2039 $as_echo "$as_me: WARNING: $2: see the Autoconf documentation" >&2;}
2040 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&5
2041 $as_echo "$as_me: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&2;}
2042 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
2043 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
2044 ( $as_echo "## -------------------------------------------------------- ##
2045 ## Report this to enlightenment-devel@lists.sourceforge.net ##
2046 ## -------------------------------------------------------- ##"
2047 ) | sed "s/^/$as_me: WARNING: /" >&2
2050 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2051 $as_echo_n "checking for $2... " >&6; }
2052 if eval "test \"\${$3+set}\"" = set; then :
2053 $as_echo_n "(cached) " >&6
2055 eval "$3=\$ac_header_compiler"
2058 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2059 $as_echo "$ac_res" >&6; }
2061 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
2063 } # ac_fn_c_check_header_mongrel
2064 cat >config.log <<_ACEOF
2065 This file contains any messages produced by compilers while
2066 running configure, to aid debugging if configure makes a mistake.
2068 It was created by efreet $as_me 1.7.1, which was
2069 generated by GNU Autoconf 2.67. Invocation command line was
2081 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
2082 uname -m = `(uname -m) 2>/dev/null || echo unknown`
2083 uname -r = `(uname -r) 2>/dev/null || echo unknown`
2084 uname -s = `(uname -s) 2>/dev/null || echo unknown`
2085 uname -v = `(uname -v) 2>/dev/null || echo unknown`
2087 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
2088 /bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown`
2090 /bin/arch = `(/bin/arch) 2>/dev/null || echo unknown`
2091 /usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown`
2092 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
2093 /usr/bin/hostinfo = `(/usr/bin/hostinfo) 2>/dev/null || echo unknown`
2094 /bin/machine = `(/bin/machine) 2>/dev/null || echo unknown`
2095 /usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown`
2096 /bin/universe = `(/bin/universe) 2>/dev/null || echo unknown`
2100 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2104 test -z "$as_dir" && as_dir=.
2105 $as_echo "PATH: $as_dir"
2121 # Keep a trace of the command line.
2122 # Strip out --no-create and --no-recursion so they do not pile up.
2123 # Strip out --silent because we don't want to record it for future runs.
2124 # Also quote any args containing shell meta-characters.
2125 # Make two passes to allow for proper duplicate-argument suppression.
2129 ac_must_keep_next=false
2135 -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
2136 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
2137 | -silent | --silent | --silen | --sile | --sil)
2140 ac_arg=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
2143 1) as_fn_append ac_configure_args0 " '$ac_arg'" ;;
2145 as_fn_append ac_configure_args1 " '$ac_arg'"
2146 if test $ac_must_keep_next = true; then
2147 ac_must_keep_next=false # Got value, back to normal.
2150 *=* | --config-cache | -C | -disable-* | --disable-* \
2151 | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
2152 | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
2153 | -with-* | --with-* | -without-* | --without-* | --x)
2154 case "$ac_configure_args0 " in
2155 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
2158 -* ) ac_must_keep_next=true ;;
2161 as_fn_append ac_configure_args " '$ac_arg'"
2166 { ac_configure_args0=; unset ac_configure_args0;}
2167 { ac_configure_args1=; unset ac_configure_args1;}
2169 # When interrupted or exit'd, cleanup temporary files, and complete
2170 # config.log. We remove comments because anyway the quotes in there
2171 # would cause problems or look ugly.
2172 # WARNING: Use '\'' to represent an apostrophe within the trap.
2173 # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
2174 trap 'exit_status=$?
2175 # Save into config.log some information that might help in debugging.
2179 $as_echo "## ---------------- ##
2180 ## Cache variables. ##
2181 ## ---------------- ##"
2183 # The following way of writing the cache mishandles newlines in values,
2185 for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
2186 eval ac_val=\$$ac_var
2190 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
2191 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
2194 _ | IFS | as_nl) ;; #(
2195 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
2196 *) { eval $ac_var=; unset $ac_var;} ;;
2201 case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
2202 *${as_nl}ac_space=\ *)
2204 "s/'\''/'\''\\\\'\'''\''/g;
2205 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
2208 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
2215 $as_echo "## ----------------- ##
2216 ## Output variables. ##
2217 ## ----------------- ##"
2219 for ac_var in $ac_subst_vars
2221 eval ac_val=\$$ac_var
2223 *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
2225 $as_echo "$ac_var='\''$ac_val'\''"
2229 if test -n "$ac_subst_files"; then
2230 $as_echo "## ------------------- ##
2231 ## File substitutions. ##
2232 ## ------------------- ##"
2234 for ac_var in $ac_subst_files
2236 eval ac_val=\$$ac_var
2238 *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
2240 $as_echo "$ac_var='\''$ac_val'\''"
2245 if test -s confdefs.h; then
2246 $as_echo "## ----------- ##
2253 test "$ac_signal" != 0 &&
2254 $as_echo "$as_me: caught signal $ac_signal"
2255 $as_echo "$as_me: exit $exit_status"
2257 rm -f core *.core core.conftest.* &&
2258 rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
2261 for ac_signal in 1 2 13 15; do
2262 trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal
2266 # confdefs.h avoids OS command line length limits that DEFS can exceed.
2267 rm -f -r conftest* confdefs.h
2269 $as_echo "/* confdefs.h */" > confdefs.h
2271 # Predefined preprocessor variables.
2273 cat >>confdefs.h <<_ACEOF
2274 #define PACKAGE_NAME "$PACKAGE_NAME"
2277 cat >>confdefs.h <<_ACEOF
2278 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
2281 cat >>confdefs.h <<_ACEOF
2282 #define PACKAGE_VERSION "$PACKAGE_VERSION"
2285 cat >>confdefs.h <<_ACEOF
2286 #define PACKAGE_STRING "$PACKAGE_STRING"
2289 cat >>confdefs.h <<_ACEOF
2290 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
2293 cat >>confdefs.h <<_ACEOF
2294 #define PACKAGE_URL "$PACKAGE_URL"
2298 # Let the site file select an alternate cache file if it wants to.
2299 # Prefer an explicitly selected file to automatically selected ones.
2302 if test -n "$CONFIG_SITE"; then
2303 # We do not want a PATH search for config.site.
2304 case $CONFIG_SITE in #((
2305 -*) ac_site_file1=./$CONFIG_SITE;;
2306 */*) ac_site_file1=$CONFIG_SITE;;
2307 *) ac_site_file1=./$CONFIG_SITE;;
2309 elif test "x$prefix" != xNONE; then
2310 ac_site_file1=$prefix/share/config.site
2311 ac_site_file2=$prefix/etc/config.site
2313 ac_site_file1=$ac_default_prefix/share/config.site
2314 ac_site_file2=$ac_default_prefix/etc/config.site
2316 for ac_site_file in "$ac_site_file1" "$ac_site_file2"
2318 test "x$ac_site_file" = xNONE && continue
2319 if test /dev/null != "$ac_site_file" && test -r "$ac_site_file"; then
2320 { $as_echo "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5
2321 $as_echo "$as_me: loading site script $ac_site_file" >&6;}
2322 sed 's/^/| /' "$ac_site_file" >&5
2324 || { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2325 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2326 as_fn_error $? "failed to load site script $ac_site_file
2327 See \`config.log' for more details" "$LINENO" 5 ; }
2331 if test -r "$cache_file"; then
2332 # Some versions of bash will fail to source /dev/null (special files
2333 # actually), so we avoid doing that. DJGPP emulates it as a regular file.
2334 if test /dev/null != "$cache_file" && test -f "$cache_file"; then
2335 { $as_echo "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5
2336 $as_echo "$as_me: loading cache $cache_file" >&6;}
2338 [\\/]* | ?:[\\/]* ) . "$cache_file";;
2339 *) . "./$cache_file";;
2343 { $as_echo "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5
2344 $as_echo "$as_me: creating cache $cache_file" >&6;}
2348 gt_needs="$gt_needs "
2349 # Check that the precious variables saved in the cache have kept the same
2351 ac_cache_corrupted=false
2352 for ac_var in $ac_precious_vars; do
2353 eval ac_old_set=\$ac_cv_env_${ac_var}_set
2354 eval ac_new_set=\$ac_env_${ac_var}_set
2355 eval ac_old_val=\$ac_cv_env_${ac_var}_value
2356 eval ac_new_val=\$ac_env_${ac_var}_value
2357 case $ac_old_set,$ac_new_set in
2359 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
2360 $as_echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
2361 ac_cache_corrupted=: ;;
2363 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not set in the previous run" >&5
2364 $as_echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
2365 ac_cache_corrupted=: ;;
2368 if test "x$ac_old_val" != "x$ac_new_val"; then
2369 # differences in whitespace do not lead to failure.
2370 ac_old_val_w=`echo x $ac_old_val`
2371 ac_new_val_w=`echo x $ac_new_val`
2372 if test "$ac_old_val_w" != "$ac_new_val_w"; then
2373 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&5
2374 $as_echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
2375 ac_cache_corrupted=:
2377 { $as_echo "$as_me:${as_lineno-$LINENO}: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5
2378 $as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;}
2379 eval $ac_var=\$ac_old_val
2381 { $as_echo "$as_me:${as_lineno-$LINENO}: former value: \`$ac_old_val'" >&5
2382 $as_echo "$as_me: former value: \`$ac_old_val'" >&2;}
2383 { $as_echo "$as_me:${as_lineno-$LINENO}: current value: \`$ac_new_val'" >&5
2384 $as_echo "$as_me: current value: \`$ac_new_val'" >&2;}
2387 # Pass precious variables to config.status.
2388 if test "$ac_new_set" = set; then
2390 *\'*) ac_arg=$ac_var=`$as_echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
2391 *) ac_arg=$ac_var=$ac_new_val ;;
2393 case " $ac_configure_args " in
2394 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
2395 *) as_fn_append ac_configure_args " '$ac_arg'" ;;
2399 if $ac_cache_corrupted; then
2400 { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2401 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2402 { $as_echo "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5
2403 $as_echo "$as_me: error: changes in the environment can compromise the build" >&2;}
2404 as_fn_error $? "run \`make distclean' and/or \`rm $cache_file' and start over" "$LINENO" 5
2406 ## -------------------- ##
2407 ## Main body of script. ##
2408 ## -------------------- ##
2411 ac_cpp='$CPP $CPPFLAGS'
2412 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2413 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2414 ac_compiler_gnu=$ac_cv_c_compiler_gnu
2421 ac_config_headers="$ac_config_headers config.h"
2426 am__api_version='1.11'
2429 for ac_dir in "$srcdir" "$srcdir/.." "$srcdir/../.."; do
2430 if test -f "$ac_dir/install-sh"; then
2432 ac_install_sh="$ac_aux_dir/install-sh -c"
2434 elif test -f "$ac_dir/install.sh"; then
2436 ac_install_sh="$ac_aux_dir/install.sh -c"
2438 elif test -f "$ac_dir/shtool"; then
2440 ac_install_sh="$ac_aux_dir/shtool install -c"
2444 if test -z "$ac_aux_dir"; then
2445 as_fn_error $? "cannot find install-sh, install.sh, or shtool in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" "$LINENO" 5
2448 # These three variables are undocumented and unsupported,
2449 # and are intended to be withdrawn in a future Autoconf release.
2450 # They can cause serious problems if a builder's source tree is in a directory
2451 # whose full name contains unusual characters.
2452 ac_config_guess="$SHELL $ac_aux_dir/config.guess" # Please don't use this var.
2453 ac_config_sub="$SHELL $ac_aux_dir/config.sub" # Please don't use this var.
2454 ac_configure="$SHELL $ac_aux_dir/configure" # Please don't use this var.
2457 # Find a good install program. We prefer a C program (faster),
2458 # so one script is as good as another. But avoid the broken or
2459 # incompatible versions:
2460 # SysV /etc/install, /usr/sbin/install
2461 # SunOS /usr/etc/install
2462 # IRIX /sbin/install
2464 # AmigaOS /C/install, which installs bootblocks on floppy discs
2465 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
2466 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
2467 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
2468 # OS/2's system install, which has a completely different semantic
2469 # ./install, which can be erroneously created by make from ./install.sh.
2470 # Reject install programs that cannot install multiple files.
2471 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a BSD-compatible install" >&5
2472 $as_echo_n "checking for a BSD-compatible install... " >&6; }
2473 if test -z "$INSTALL"; then
2474 if test "${ac_cv_path_install+set}" = set; then :
2475 $as_echo_n "(cached) " >&6
2477 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2481 test -z "$as_dir" && as_dir=.
2482 # Account for people who put trailing slashes in PATH elements.
2483 case $as_dir/ in #((
2484 ./ | .// | /[cC]/* | \
2485 /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
2486 ?:[\\/]os2[\\/]install[\\/]* | ?:[\\/]OS2[\\/]INSTALL[\\/]* | \
2489 # OSF1 and SCO ODT 3.0 have their own names for install.
2490 # Don't use installbsd from OSF since it installs stuff as root
2492 for ac_prog in ginstall scoinst install; do
2493 for ac_exec_ext in '' $ac_executable_extensions; do
2494 if { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; }; then
2495 if test $ac_prog = install &&
2496 grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
2497 # AIX install. It has an incompatible calling convention.
2499 elif test $ac_prog = install &&
2500 grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
2501 # program-specific install script used by HP pwplus--don't use.
2504 rm -rf conftest.one conftest.two conftest.dir
2505 echo one > conftest.one
2506 echo two > conftest.two
2508 if "$as_dir/$ac_prog$ac_exec_ext" -c conftest.one conftest.two "`pwd`/conftest.dir" &&
2509 test -s conftest.one && test -s conftest.two &&
2510 test -s conftest.dir/conftest.one &&
2511 test -s conftest.dir/conftest.two
2513 ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
2526 rm -rf conftest.one conftest.two conftest.dir
2529 if test "${ac_cv_path_install+set}" = set; then
2530 INSTALL=$ac_cv_path_install
2532 # As a last resort, use the slow shell script. Don't cache a
2533 # value for INSTALL within a source directory, because that will
2534 # break other packages using the cache if that directory is
2535 # removed, or if the value is a relative name.
2536 INSTALL=$ac_install_sh
2539 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $INSTALL" >&5
2540 $as_echo "$INSTALL" >&6; }
2542 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
2543 # It thinks the first close brace ends the variable substitution.
2544 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
2546 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
2548 test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
2550 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether build environment is sane" >&5
2551 $as_echo_n "checking whether build environment is sane... " >&6; }
2554 echo timestamp > conftest.file
2555 # Reject unsafe characters in $srcdir or the absolute working directory
2556 # name. Accept space and tab only in the latter.
2560 *[\\\"\#\$\&\'\`$am_lf]*)
2561 as_fn_error $? "unsafe absolute working directory name" "$LINENO" 5 ;;
2564 *[\\\"\#\$\&\'\`$am_lf\ \ ]*)
2565 as_fn_error $? "unsafe srcdir value: \`$srcdir'" "$LINENO" 5 ;;
2568 # Do `set' in a subshell so we don't clobber the current shell's
2569 # arguments. Must try -L first in case configure is actually a
2570 # symlink; some systems play weird games with the mod time of symlinks
2571 # (eg FreeBSD returns the mod time of the symlink's containing
2574 set X `ls -Lt "$srcdir/configure" conftest.file 2> /dev/null`
2575 if test "$*" = "X"; then
2577 set X `ls -t "$srcdir/configure" conftest.file`
2580 if test "$*" != "X $srcdir/configure conftest.file" \
2581 && test "$*" != "X conftest.file $srcdir/configure"; then
2583 # If neither matched, then we have a broken ls. This can happen
2584 # if, for instance, CONFIG_SHELL is bash and it inherits a
2585 # broken ls alias from the environment. This has actually
2586 # happened. Such a system could not be considered "sane".
2587 as_fn_error $? "ls -t appears to fail. Make sure there is not a broken
2588 alias in your environment" "$LINENO" 5
2591 test "$2" = conftest.file
2597 as_fn_error $? "newly created file is older than distributed files!
2598 Check your system clock" "$LINENO" 5
2600 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
2601 $as_echo "yes" >&6; }
2602 test "$program_prefix" != NONE &&
2603 program_transform_name="s&^&$program_prefix&;$program_transform_name"
2604 # Use a double $ so make ignores it.
2605 test "$program_suffix" != NONE &&
2606 program_transform_name="s&\$&$program_suffix&;$program_transform_name"
2607 # Double any \ or $.
2608 # By default was `s,x,x', remove it if useless.
2609 ac_script='s/[\\$]/&&/g;s/;s,x,x,$//'
2610 program_transform_name=`$as_echo "$program_transform_name" | sed "$ac_script"`
2612 # expand $ac_aux_dir to an absolute path
2613 am_aux_dir=`cd $ac_aux_dir && pwd`
2615 if test x"${MISSING+set}" != xset; then
2618 MISSING="\${SHELL} \"$am_aux_dir/missing\"" ;;
2620 MISSING="\${SHELL} $am_aux_dir/missing" ;;
2623 # Use eval to expand $SHELL
2624 if eval "$MISSING --run true"; then
2625 am_missing_run="$MISSING --run "
2628 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \`missing' script is too old or missing" >&5
2629 $as_echo "$as_me: WARNING: \`missing' script is too old or missing" >&2;}
2632 if test x"${install_sh}" != xset; then
2635 install_sh="\${SHELL} '$am_aux_dir/install-sh'" ;;
2637 install_sh="\${SHELL} $am_aux_dir/install-sh"
2641 # Installed binaries are usually stripped using `strip' when the user
2642 # run `make install-strip'. However `strip' might not be the right
2643 # tool to use in cross-compilation environments, therefore Automake
2644 # will honor the `STRIP' environment variable to overrule this program.
2645 if test "$cross_compiling" != no; then
2646 if test -n "$ac_tool_prefix"; then
2647 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
2648 set dummy ${ac_tool_prefix}strip; ac_word=$2
2649 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2650 $as_echo_n "checking for $ac_word... " >&6; }
2651 if test "${ac_cv_prog_STRIP+set}" = set; then :
2652 $as_echo_n "(cached) " >&6
2654 if test -n "$STRIP"; then
2655 ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
2657 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2661 test -z "$as_dir" && as_dir=.
2662 for ac_exec_ext in '' $ac_executable_extensions; do
2663 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2664 ac_cv_prog_STRIP="${ac_tool_prefix}strip"
2665 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2674 STRIP=$ac_cv_prog_STRIP
2675 if test -n "$STRIP"; then
2676 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
2677 $as_echo "$STRIP" >&6; }
2679 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2680 $as_echo "no" >&6; }
2685 if test -z "$ac_cv_prog_STRIP"; then
2687 # Extract the first word of "strip", so it can be a program name with args.
2688 set dummy strip; ac_word=$2
2689 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2690 $as_echo_n "checking for $ac_word... " >&6; }
2691 if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then :
2692 $as_echo_n "(cached) " >&6
2694 if test -n "$ac_ct_STRIP"; then
2695 ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
2697 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2701 test -z "$as_dir" && as_dir=.
2702 for ac_exec_ext in '' $ac_executable_extensions; do
2703 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2704 ac_cv_prog_ac_ct_STRIP="strip"
2705 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2714 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
2715 if test -n "$ac_ct_STRIP"; then
2716 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
2717 $as_echo "$ac_ct_STRIP" >&6; }
2719 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2720 $as_echo "no" >&6; }
2723 if test "x$ac_ct_STRIP" = x; then
2726 case $cross_compiling:$ac_tool_warned in
2728 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
2729 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
2730 ac_tool_warned=yes ;;
2735 STRIP="$ac_cv_prog_STRIP"
2739 INSTALL_STRIP_PROGRAM="\$(install_sh) -c -s"
2741 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a thread-safe mkdir -p" >&5
2742 $as_echo_n "checking for a thread-safe mkdir -p... " >&6; }
2743 if test -z "$MKDIR_P"; then
2744 if test "${ac_cv_path_mkdir+set}" = set; then :
2745 $as_echo_n "(cached) " >&6
2747 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2748 for as_dir in $PATH$PATH_SEPARATOR/opt/sfw/bin
2751 test -z "$as_dir" && as_dir=.
2752 for ac_prog in mkdir gmkdir; do
2753 for ac_exec_ext in '' $ac_executable_extensions; do
2754 { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; } || continue
2755 case `"$as_dir/$ac_prog$ac_exec_ext" --version 2>&1` in #(
2756 'mkdir (GNU coreutils) '* | \
2757 'mkdir (coreutils) '* | \
2758 'mkdir (fileutils) '4.1*)
2759 ac_cv_path_mkdir=$as_dir/$ac_prog$ac_exec_ext
2769 test -d ./--version && rmdir ./--version
2770 if test "${ac_cv_path_mkdir+set}" = set; then
2771 MKDIR_P="$ac_cv_path_mkdir -p"
2773 # As a last resort, use the slow shell script. Don't cache a
2774 # value for MKDIR_P within a source directory, because that will
2775 # break other packages using the cache if that directory is
2776 # removed, or if the value is a relative name.
2777 MKDIR_P="$ac_install_sh -d"
2780 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MKDIR_P" >&5
2781 $as_echo "$MKDIR_P" >&6; }
2785 [\\/$]* | ?:[\\/]*) ;;
2786 */*) mkdir_p="\$(top_builddir)/$mkdir_p" ;;
2789 for ac_prog in gawk mawk nawk awk
2791 # Extract the first word of "$ac_prog", so it can be a program name with args.
2792 set dummy $ac_prog; ac_word=$2
2793 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2794 $as_echo_n "checking for $ac_word... " >&6; }
2795 if test "${ac_cv_prog_AWK+set}" = set; then :
2796 $as_echo_n "(cached) " >&6
2798 if test -n "$AWK"; then
2799 ac_cv_prog_AWK="$AWK" # Let the user override the test.
2801 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2805 test -z "$as_dir" && as_dir=.
2806 for ac_exec_ext in '' $ac_executable_extensions; do
2807 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2808 ac_cv_prog_AWK="$ac_prog"
2809 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2819 if test -n "$AWK"; then
2820 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AWK" >&5
2821 $as_echo "$AWK" >&6; }
2823 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2824 $as_echo "no" >&6; }
2828 test -n "$AWK" && break
2831 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5
2832 $as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; }
2834 ac_make=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
2835 if eval "test \"\${ac_cv_prog_make_${ac_make}_set+set}\"" = set; then :
2836 $as_echo_n "(cached) " >&6
2838 cat >conftest.make <<\_ACEOF
2841 @echo '@@@%%%=$(MAKE)=@@@%%%'
2843 # GNU make sometimes prints "make[1]: Entering ...", which would confuse us.
2844 case `${MAKE-make} -f conftest.make 2>/dev/null` in
2846 eval ac_cv_prog_make_${ac_make}_set=yes;;
2848 eval ac_cv_prog_make_${ac_make}_set=no;;
2852 if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then
2853 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
2854 $as_echo "yes" >&6; }
2857 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2858 $as_echo "no" >&6; }
2859 SET_MAKE="MAKE=${MAKE-make}"
2862 rm -rf .tst 2>/dev/null
2863 mkdir .tst 2>/dev/null
2864 if test -d .tst; then
2869 rmdir .tst 2>/dev/null
2871 if test "`cd $srcdir && pwd`" != "`pwd`"; then
2872 # Use -I$(srcdir) only when $(srcdir) != ., so that make's output
2873 # is not polluted with repeated "-I."
2874 am__isrc=' -I$(srcdir)'
2875 # test to see if srcdir already configured
2876 if test -f $srcdir/config.status; then
2877 as_fn_error $? "source directory already configured; run \"make distclean\" there first" "$LINENO" 5
2881 # test whether we have cygpath
2882 if test -z "$CYGPATH_W"; then
2883 if (cygpath --version) >/dev/null 2>/dev/null; then
2884 CYGPATH_W='cygpath -w'
2891 # Define the identity of the package.
2896 cat >>confdefs.h <<_ACEOF
2897 #define PACKAGE "$PACKAGE"
2901 cat >>confdefs.h <<_ACEOF
2902 #define VERSION "$VERSION"
2905 # Some tools Automake needs.
2907 ACLOCAL=${ACLOCAL-"${am_missing_run}aclocal-${am__api_version}"}
2910 AUTOCONF=${AUTOCONF-"${am_missing_run}autoconf"}
2913 AUTOMAKE=${AUTOMAKE-"${am_missing_run}automake-${am__api_version}"}
2916 AUTOHEADER=${AUTOHEADER-"${am_missing_run}autoheader"}
2919 MAKEINFO=${MAKEINFO-"${am_missing_run}makeinfo"}
2921 # We need awk for the "check" target. The system "awk" is bad on
2923 # Always define AMTAR for backward compatibility.
2925 AMTAR=${AMTAR-"${am_missing_run}tar"}
2927 am__tar='${AMTAR} chof - "$$tardir"'; am__untar='${AMTAR} xf -'
2933 # Check whether --enable-silent-rules was given.
2934 if test "${enable_silent_rules+set}" = set; then :
2935 enableval=$enable_silent_rules;
2938 case $enable_silent_rules in
2939 yes) AM_DEFAULT_VERBOSITY=0;;
2940 no) AM_DEFAULT_VERBOSITY=1;;
2941 *) AM_DEFAULT_VERBOSITY=0;;
2946 # Make sure we can run config.sub.
2947 $SHELL "$ac_aux_dir/config.sub" sun4 >/dev/null 2>&1 ||
2948 as_fn_error $? "cannot run $SHELL $ac_aux_dir/config.sub" "$LINENO" 5
2950 { $as_echo "$as_me:${as_lineno-$LINENO}: checking build system type" >&5
2951 $as_echo_n "checking build system type... " >&6; }
2952 if test "${ac_cv_build+set}" = set; then :
2953 $as_echo_n "(cached) " >&6
2955 ac_build_alias=$build_alias
2956 test "x$ac_build_alias" = x &&
2957 ac_build_alias=`$SHELL "$ac_aux_dir/config.guess"`
2958 test "x$ac_build_alias" = x &&
2959 as_fn_error $? "cannot guess build type; you must specify one" "$LINENO" 5
2960 ac_cv_build=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
2961 as_fn_error $? "$SHELL $ac_aux_dir/config.sub $ac_build_alias failed" "$LINENO" 5
2964 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_build" >&5
2965 $as_echo "$ac_cv_build" >&6; }
2966 case $ac_cv_build in
2968 *) as_fn_error $? "invalid value of canonical build" "$LINENO" 5 ;;
2971 ac_save_IFS=$IFS; IFS='-'
2977 # Remember, the first character of IFS is used to create $*,
2978 # except with old shells:
2981 case $build_os in *\ *) build_os=`echo "$build_os" | sed 's/ /-/g'`;; esac
2984 { $as_echo "$as_me:${as_lineno-$LINENO}: checking host system type" >&5
2985 $as_echo_n "checking host system type... " >&6; }
2986 if test "${ac_cv_host+set}" = set; then :
2987 $as_echo_n "(cached) " >&6
2989 if test "x$host_alias" = x; then
2990 ac_cv_host=$ac_cv_build
2992 ac_cv_host=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
2993 as_fn_error $? "$SHELL $ac_aux_dir/config.sub $host_alias failed" "$LINENO" 5
2997 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_host" >&5
2998 $as_echo "$ac_cv_host" >&6; }
3001 *) as_fn_error $? "invalid value of canonical host" "$LINENO" 5 ;;
3004 ac_save_IFS=$IFS; IFS='-'
3010 # Remember, the first character of IFS is used to create $*,
3011 # except with old shells:
3014 case $host_os in *\ *) host_os=`echo "$host_os" | sed 's/ /-/g'`;; esac
3017 enable_win32_dll=yes
3020 *-*-cygwin* | *-*-mingw* | *-*-pw32* | *-cegcc*)
3021 if test -n "$ac_tool_prefix"; then
3022 # Extract the first word of "${ac_tool_prefix}as", so it can be a program name with args.
3023 set dummy ${ac_tool_prefix}as; ac_word=$2
3024 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3025 $as_echo_n "checking for $ac_word... " >&6; }
3026 if test "${ac_cv_prog_AS+set}" = set; then :
3027 $as_echo_n "(cached) " >&6
3029 if test -n "$AS"; then
3030 ac_cv_prog_AS="$AS" # Let the user override the test.
3032 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3036 test -z "$as_dir" && as_dir=.
3037 for ac_exec_ext in '' $ac_executable_extensions; do
3038 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3039 ac_cv_prog_AS="${ac_tool_prefix}as"
3040 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3050 if test -n "$AS"; then
3051 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AS" >&5
3052 $as_echo "$AS" >&6; }
3054 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3055 $as_echo "no" >&6; }
3060 if test -z "$ac_cv_prog_AS"; then
3062 # Extract the first word of "as", so it can be a program name with args.
3063 set dummy as; ac_word=$2
3064 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3065 $as_echo_n "checking for $ac_word... " >&6; }
3066 if test "${ac_cv_prog_ac_ct_AS+set}" = set; then :
3067 $as_echo_n "(cached) " >&6
3069 if test -n "$ac_ct_AS"; then
3070 ac_cv_prog_ac_ct_AS="$ac_ct_AS" # Let the user override the test.
3072 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3076 test -z "$as_dir" && as_dir=.
3077 for ac_exec_ext in '' $ac_executable_extensions; do
3078 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3079 ac_cv_prog_ac_ct_AS="as"
3080 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3089 ac_ct_AS=$ac_cv_prog_ac_ct_AS
3090 if test -n "$ac_ct_AS"; then
3091 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_AS" >&5
3092 $as_echo "$ac_ct_AS" >&6; }
3094 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3095 $as_echo "no" >&6; }
3098 if test "x$ac_ct_AS" = x; then
3101 case $cross_compiling:$ac_tool_warned in
3103 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3104 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3105 ac_tool_warned=yes ;;
3113 if test -n "$ac_tool_prefix"; then
3114 # Extract the first word of "${ac_tool_prefix}dlltool", so it can be a program name with args.
3115 set dummy ${ac_tool_prefix}dlltool; ac_word=$2
3116 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3117 $as_echo_n "checking for $ac_word... " >&6; }
3118 if test "${ac_cv_prog_DLLTOOL+set}" = set; then :
3119 $as_echo_n "(cached) " >&6
3121 if test -n "$DLLTOOL"; then
3122 ac_cv_prog_DLLTOOL="$DLLTOOL" # Let the user override the test.
3124 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3128 test -z "$as_dir" && as_dir=.
3129 for ac_exec_ext in '' $ac_executable_extensions; do
3130 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3131 ac_cv_prog_DLLTOOL="${ac_tool_prefix}dlltool"
3132 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3141 DLLTOOL=$ac_cv_prog_DLLTOOL
3142 if test -n "$DLLTOOL"; then
3143 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DLLTOOL" >&5
3144 $as_echo "$DLLTOOL" >&6; }
3146 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3147 $as_echo "no" >&6; }
3152 if test -z "$ac_cv_prog_DLLTOOL"; then
3153 ac_ct_DLLTOOL=$DLLTOOL
3154 # Extract the first word of "dlltool", so it can be a program name with args.
3155 set dummy dlltool; ac_word=$2
3156 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3157 $as_echo_n "checking for $ac_word... " >&6; }
3158 if test "${ac_cv_prog_ac_ct_DLLTOOL+set}" = set; then :
3159 $as_echo_n "(cached) " >&6
3161 if test -n "$ac_ct_DLLTOOL"; then
3162 ac_cv_prog_ac_ct_DLLTOOL="$ac_ct_DLLTOOL" # Let the user override the test.
3164 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3168 test -z "$as_dir" && as_dir=.
3169 for ac_exec_ext in '' $ac_executable_extensions; do
3170 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3171 ac_cv_prog_ac_ct_DLLTOOL="dlltool"
3172 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3181 ac_ct_DLLTOOL=$ac_cv_prog_ac_ct_DLLTOOL
3182 if test -n "$ac_ct_DLLTOOL"; then
3183 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DLLTOOL" >&5
3184 $as_echo "$ac_ct_DLLTOOL" >&6; }
3186 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3187 $as_echo "no" >&6; }
3190 if test "x$ac_ct_DLLTOOL" = x; then
3193 case $cross_compiling:$ac_tool_warned in
3195 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3196 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3197 ac_tool_warned=yes ;;
3199 DLLTOOL=$ac_ct_DLLTOOL
3202 DLLTOOL="$ac_cv_prog_DLLTOOL"
3205 if test -n "$ac_tool_prefix"; then
3206 # Extract the first word of "${ac_tool_prefix}objdump", so it can be a program name with args.
3207 set dummy ${ac_tool_prefix}objdump; ac_word=$2
3208 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3209 $as_echo_n "checking for $ac_word... " >&6; }
3210 if test "${ac_cv_prog_OBJDUMP+set}" = set; then :
3211 $as_echo_n "(cached) " >&6
3213 if test -n "$OBJDUMP"; then
3214 ac_cv_prog_OBJDUMP="$OBJDUMP" # Let the user override the test.
3216 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3220 test -z "$as_dir" && as_dir=.
3221 for ac_exec_ext in '' $ac_executable_extensions; do
3222 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3223 ac_cv_prog_OBJDUMP="${ac_tool_prefix}objdump"
3224 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3233 OBJDUMP=$ac_cv_prog_OBJDUMP
3234 if test -n "$OBJDUMP"; then
3235 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OBJDUMP" >&5
3236 $as_echo "$OBJDUMP" >&6; }
3238 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3239 $as_echo "no" >&6; }
3244 if test -z "$ac_cv_prog_OBJDUMP"; then
3245 ac_ct_OBJDUMP=$OBJDUMP
3246 # Extract the first word of "objdump", so it can be a program name with args.
3247 set dummy objdump; ac_word=$2
3248 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3249 $as_echo_n "checking for $ac_word... " >&6; }
3250 if test "${ac_cv_prog_ac_ct_OBJDUMP+set}" = set; then :
3251 $as_echo_n "(cached) " >&6
3253 if test -n "$ac_ct_OBJDUMP"; then
3254 ac_cv_prog_ac_ct_OBJDUMP="$ac_ct_OBJDUMP" # Let the user override the test.
3256 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3260 test -z "$as_dir" && as_dir=.
3261 for ac_exec_ext in '' $ac_executable_extensions; do
3262 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3263 ac_cv_prog_ac_ct_OBJDUMP="objdump"
3264 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3273 ac_ct_OBJDUMP=$ac_cv_prog_ac_ct_OBJDUMP
3274 if test -n "$ac_ct_OBJDUMP"; then
3275 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OBJDUMP" >&5
3276 $as_echo "$ac_ct_OBJDUMP" >&6; }
3278 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3279 $as_echo "no" >&6; }
3282 if test "x$ac_ct_OBJDUMP" = x; then
3285 case $cross_compiling:$ac_tool_warned in
3287 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3288 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3289 ac_tool_warned=yes ;;
3291 OBJDUMP=$ac_ct_OBJDUMP
3294 OBJDUMP="$ac_cv_prog_OBJDUMP"
3300 test -z "$AS" && AS=as
3306 test -z "$DLLTOOL" && DLLTOOL=dlltool
3312 test -z "$OBJDUMP" && OBJDUMP=objdump
3322 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Libtool does not cope well with whitespace in \`pwd\`" >&5
3323 $as_echo "$as_me: WARNING: Libtool does not cope well with whitespace in \`pwd\`" >&2;} ;;
3328 macro_version='2.2.6b'
3329 macro_revision='1.3017'
3343 ltmain="$ac_aux_dir/ltmain.sh"
3345 DEPDIR="${am__leading_dot}deps"
3347 ac_config_commands="$ac_config_commands depfiles"
3350 am_make=${MAKE-make}
3351 cat > confinc << 'END'
3353 @echo this is the am__doit target
3356 # If we don't find an include directive, just comment out the code.
3357 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for style of include used by $am_make" >&5
3358 $as_echo_n "checking for style of include used by $am_make... " >&6; }
3362 # First try GNU make style include.
3363 echo "include confinc" > confmf
3364 # Ignore all kinds of additional output from `make'.
3365 case `$am_make -s -f confmf 2> /dev/null` in #(
3366 *the\ am__doit\ target*)
3372 # Now try BSD make style include.
3373 if test "$am__include" = "#"; then
3374 echo '.include "confinc"' > confmf
3375 case `$am_make -s -f confmf 2> /dev/null` in #(
3376 *the\ am__doit\ target*)
3377 am__include=.include
3385 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $_am_result" >&5
3386 $as_echo "$_am_result" >&6; }
3387 rm -f confinc confmf
3389 # Check whether --enable-dependency-tracking was given.
3390 if test "${enable_dependency_tracking+set}" = set; then :
3391 enableval=$enable_dependency_tracking;
3394 if test "x$enable_dependency_tracking" != xno; then
3395 am_depcomp="$ac_aux_dir/depcomp"
3398 if test "x$enable_dependency_tracking" != xno; then
3408 ac_cpp='$CPP $CPPFLAGS'
3409 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3410 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3411 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3412 if test -n "$ac_tool_prefix"; then
3413 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
3414 set dummy ${ac_tool_prefix}gcc; ac_word=$2
3415 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3416 $as_echo_n "checking for $ac_word... " >&6; }
3417 if test "${ac_cv_prog_CC+set}" = set; then :
3418 $as_echo_n "(cached) " >&6
3420 if test -n "$CC"; then
3421 ac_cv_prog_CC="$CC" # Let the user override the test.
3423 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3427 test -z "$as_dir" && as_dir=.
3428 for ac_exec_ext in '' $ac_executable_extensions; do
3429 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3430 ac_cv_prog_CC="${ac_tool_prefix}gcc"
3431 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3441 if test -n "$CC"; then
3442 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3443 $as_echo "$CC" >&6; }
3445 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3446 $as_echo "no" >&6; }
3451 if test -z "$ac_cv_prog_CC"; then
3453 # Extract the first word of "gcc", so it can be a program name with args.
3454 set dummy gcc; ac_word=$2
3455 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3456 $as_echo_n "checking for $ac_word... " >&6; }
3457 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then :
3458 $as_echo_n "(cached) " >&6
3460 if test -n "$ac_ct_CC"; then
3461 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
3463 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3467 test -z "$as_dir" && as_dir=.
3468 for ac_exec_ext in '' $ac_executable_extensions; do
3469 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3470 ac_cv_prog_ac_ct_CC="gcc"
3471 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3480 ac_ct_CC=$ac_cv_prog_ac_ct_CC
3481 if test -n "$ac_ct_CC"; then
3482 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
3483 $as_echo "$ac_ct_CC" >&6; }
3485 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3486 $as_echo "no" >&6; }
3489 if test "x$ac_ct_CC" = x; then
3492 case $cross_compiling:$ac_tool_warned in
3494 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3495 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3496 ac_tool_warned=yes ;;
3504 if test -z "$CC"; then
3505 if test -n "$ac_tool_prefix"; then
3506 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
3507 set dummy ${ac_tool_prefix}cc; ac_word=$2
3508 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3509 $as_echo_n "checking for $ac_word... " >&6; }
3510 if test "${ac_cv_prog_CC+set}" = set; then :
3511 $as_echo_n "(cached) " >&6
3513 if test -n "$CC"; then
3514 ac_cv_prog_CC="$CC" # Let the user override the test.
3516 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3520 test -z "$as_dir" && as_dir=.
3521 for ac_exec_ext in '' $ac_executable_extensions; do
3522 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3523 ac_cv_prog_CC="${ac_tool_prefix}cc"
3524 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3534 if test -n "$CC"; then
3535 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3536 $as_echo "$CC" >&6; }
3538 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3539 $as_echo "no" >&6; }
3545 if test -z "$CC"; then
3546 # Extract the first word of "cc", so it can be a program name with args.
3547 set dummy cc; ac_word=$2
3548 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3549 $as_echo_n "checking for $ac_word... " >&6; }
3550 if test "${ac_cv_prog_CC+set}" = set; then :
3551 $as_echo_n "(cached) " >&6
3553 if test -n "$CC"; then
3554 ac_cv_prog_CC="$CC" # Let the user override the test.
3557 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3561 test -z "$as_dir" && as_dir=.
3562 for ac_exec_ext in '' $ac_executable_extensions; do
3563 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3564 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
3565 ac_prog_rejected=yes
3569 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3576 if test $ac_prog_rejected = yes; then
3577 # We found a bogon in the path, so make sure we never use it.
3578 set dummy $ac_cv_prog_CC
3580 if test $# != 0; then
3581 # We chose a different compiler from the bogus one.
3582 # However, it has the same basename, so the bogon will be chosen
3583 # first if we set CC to just the basename; use the full file name.
3585 ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
3591 if test -n "$CC"; then
3592 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3593 $as_echo "$CC" >&6; }
3595 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3596 $as_echo "no" >&6; }
3601 if test -z "$CC"; then
3602 if test -n "$ac_tool_prefix"; then
3603 for ac_prog in cl.exe
3605 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
3606 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
3607 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3608 $as_echo_n "checking for $ac_word... " >&6; }
3609 if test "${ac_cv_prog_CC+set}" = set; then :
3610 $as_echo_n "(cached) " >&6
3612 if test -n "$CC"; then
3613 ac_cv_prog_CC="$CC" # Let the user override the test.
3615 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3619 test -z "$as_dir" && as_dir=.
3620 for ac_exec_ext in '' $ac_executable_extensions; do
3621 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3622 ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
3623 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3633 if test -n "$CC"; then
3634 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3635 $as_echo "$CC" >&6; }
3637 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3638 $as_echo "no" >&6; }
3642 test -n "$CC" && break
3645 if test -z "$CC"; then
3647 for ac_prog in cl.exe
3649 # Extract the first word of "$ac_prog", so it can be a program name with args.
3650 set dummy $ac_prog; ac_word=$2
3651 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3652 $as_echo_n "checking for $ac_word... " >&6; }
3653 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then :
3654 $as_echo_n "(cached) " >&6
3656 if test -n "$ac_ct_CC"; then
3657 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
3659 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3663 test -z "$as_dir" && as_dir=.
3664 for ac_exec_ext in '' $ac_executable_extensions; do
3665 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3666 ac_cv_prog_ac_ct_CC="$ac_prog"
3667 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3676 ac_ct_CC=$ac_cv_prog_ac_ct_CC
3677 if test -n "$ac_ct_CC"; then
3678 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
3679 $as_echo "$ac_ct_CC" >&6; }
3681 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3682 $as_echo "no" >&6; }
3686 test -n "$ac_ct_CC" && break
3689 if test "x$ac_ct_CC" = x; then
3692 case $cross_compiling:$ac_tool_warned in
3694 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3695 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3696 ac_tool_warned=yes ;;
3705 test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3706 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3707 as_fn_error $? "no acceptable C compiler found in \$PATH
3708 See \`config.log' for more details" "$LINENO" 5 ; }
3710 # Provide some information about the compiler.
3711 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
3714 for ac_option in --version -v -V -qversion; do
3715 { { ac_try="$ac_compiler $ac_option >&5"
3717 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3718 *) ac_try_echo=$ac_try;;
3720 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3721 $as_echo "$ac_try_echo"; } >&5
3722 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
3724 if test -s conftest.err; then
3726 ... rest of stderr output deleted ...
3727 10q' conftest.err >conftest.er1
3728 cat conftest.er1 >&5
3730 rm -f conftest.er1 conftest.err
3731 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3732 test $ac_status = 0; }
3735 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3736 /* end confdefs.h. */
3746 ac_clean_files_save=$ac_clean_files
3747 ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out"
3748 # Try to create an executable without -o first, disregard a.out.
3749 # It will help us diagnose broken compilers, and finding out an intuition
3751 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler works" >&5
3752 $as_echo_n "checking whether the C compiler works... " >&6; }
3753 ac_link_default=`$as_echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
3755 # The possible output files:
3756 ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*"
3759 for ac_file in $ac_files
3762 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
3763 * ) ac_rmfiles="$ac_rmfiles $ac_file";;
3768 if { { ac_try="$ac_link_default"
3770 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3771 *) ac_try_echo=$ac_try;;
3773 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3774 $as_echo "$ac_try_echo"; } >&5
3775 (eval "$ac_link_default") 2>&5
3777 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3778 test $ac_status = 0; }; then :
3779 # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
3780 # So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
3781 # in a Makefile. We should not override ac_cv_exeext if it was cached,
3782 # so that the user can short-circuit this test for compilers unknown to
3784 for ac_file in $ac_files ''
3786 test -f "$ac_file" || continue
3788 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj )
3791 # We found the default executable, but exeext='' is most
3795 if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no;
3797 ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
3799 # We set ac_cv_exeext here because the later test for it is not
3800 # safe: cross compilers may not add the suffix if given an `-o'
3801 # argument, so we may need to know it at that point already.
3802 # Even if this section looks crufty: it has the advantage of
3809 test "$ac_cv_exeext" = no && ac_cv_exeext=
3814 if test -z "$ac_file"; then :
3815 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3816 $as_echo "no" >&6; }
3817 $as_echo "$as_me: failed program was:" >&5
3818 sed 's/^/| /' conftest.$ac_ext >&5
3820 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3821 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3822 as_fn_error 77 "C compiler cannot create executables
3823 See \`config.log' for more details" "$LINENO" 5 ; }
3825 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
3826 $as_echo "yes" >&6; }
3828 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler default output file name" >&5
3829 $as_echo_n "checking for C compiler default output file name... " >&6; }
3830 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5
3831 $as_echo "$ac_file" >&6; }
3832 ac_exeext=$ac_cv_exeext
3834 rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out
3835 ac_clean_files=$ac_clean_files_save
3836 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5
3837 $as_echo_n "checking for suffix of executables... " >&6; }
3838 if { { ac_try="$ac_link"
3840 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3841 *) ac_try_echo=$ac_try;;
3843 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3844 $as_echo "$ac_try_echo"; } >&5
3845 (eval "$ac_link") 2>&5
3847 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3848 test $ac_status = 0; }; then :
3849 # If both `conftest.exe' and `conftest' are `present' (well, observable)
3850 # catch `conftest.exe'. For instance with Cygwin, `ls conftest' will
3851 # work properly (i.e., refer to `conftest.exe'), while it won't with
3853 for ac_file in conftest.exe conftest conftest.*; do
3854 test -f "$ac_file" || continue
3856 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
3857 *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
3863 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3864 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3865 as_fn_error $? "cannot compute suffix of executables: cannot compile and link
3866 See \`config.log' for more details" "$LINENO" 5 ; }
3868 rm -f conftest conftest$ac_cv_exeext
3869 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5
3870 $as_echo "$ac_cv_exeext" >&6; }
3872 rm -f conftest.$ac_ext
3873 EXEEXT=$ac_cv_exeext
3875 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3876 /* end confdefs.h. */
3881 FILE *f = fopen ("conftest.out", "w");
3882 return ferror (f) || fclose (f) != 0;
3888 ac_clean_files="$ac_clean_files conftest.out"
3889 # Check that the compiler produces executables we can run. If not, either
3890 # the compiler is broken, or we cross compile.
3891 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5
3892 $as_echo_n "checking whether we are cross compiling... " >&6; }
3893 if test "$cross_compiling" != yes; then
3894 { { ac_try="$ac_link"
3896 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3897 *) ac_try_echo=$ac_try;;
3899 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3900 $as_echo "$ac_try_echo"; } >&5
3901 (eval "$ac_link") 2>&5
3903 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3904 test $ac_status = 0; }
3905 if { ac_try='./conftest$ac_cv_exeext'
3906 { { case "(($ac_try" in
3907 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3908 *) ac_try_echo=$ac_try;;
3910 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3911 $as_echo "$ac_try_echo"; } >&5
3912 (eval "$ac_try") 2>&5
3914 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3915 test $ac_status = 0; }; }; then
3918 if test "$cross_compiling" = maybe; then
3921 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3922 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3923 as_fn_error $? "cannot run C compiled programs.
3924 If you meant to cross compile, use \`--host'.
3925 See \`config.log' for more details" "$LINENO" 5 ; }
3929 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5
3930 $as_echo "$cross_compiling" >&6; }
3932 rm -f conftest.$ac_ext conftest$ac_cv_exeext conftest.out
3933 ac_clean_files=$ac_clean_files_save
3934 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5
3935 $as_echo_n "checking for suffix of object files... " >&6; }
3936 if test "${ac_cv_objext+set}" = set; then :
3937 $as_echo_n "(cached) " >&6
3939 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3940 /* end confdefs.h. */
3950 rm -f conftest.o conftest.obj
3951 if { { ac_try="$ac_compile"
3953 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3954 *) ac_try_echo=$ac_try;;
3956 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3957 $as_echo "$ac_try_echo"; } >&5
3958 (eval "$ac_compile") 2>&5
3960 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3961 test $ac_status = 0; }; then :
3962 for ac_file in conftest.o conftest.obj conftest.*; do
3963 test -f "$ac_file" || continue;
3965 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;;
3966 *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
3971 $as_echo "$as_me: failed program was:" >&5
3972 sed 's/^/| /' conftest.$ac_ext >&5
3974 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3975 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3976 as_fn_error $? "cannot compute suffix of object files: cannot compile
3977 See \`config.log' for more details" "$LINENO" 5 ; }
3979 rm -f conftest.$ac_cv_objext conftest.$ac_ext
3981 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5
3982 $as_echo "$ac_cv_objext" >&6; }
3983 OBJEXT=$ac_cv_objext
3985 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
3986 $as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
3987 if test "${ac_cv_c_compiler_gnu+set}" = set; then :
3988 $as_echo_n "(cached) " >&6
3990 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3991 /* end confdefs.h. */
4004 if ac_fn_c_try_compile "$LINENO"; then :
4009 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4010 ac_cv_c_compiler_gnu=$ac_compiler_gnu
4013 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
4014 $as_echo "$ac_cv_c_compiler_gnu" >&6; }
4015 if test $ac_compiler_gnu = yes; then
4020 ac_test_CFLAGS=${CFLAGS+set}
4021 ac_save_CFLAGS=$CFLAGS
4022 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
4023 $as_echo_n "checking whether $CC accepts -g... " >&6; }
4024 if test "${ac_cv_prog_cc_g+set}" = set; then :
4025 $as_echo_n "(cached) " >&6
4027 ac_save_c_werror_flag=$ac_c_werror_flag
4028 ac_c_werror_flag=yes
4031 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4032 /* end confdefs.h. */
4042 if ac_fn_c_try_compile "$LINENO"; then :
4046 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4047 /* end confdefs.h. */
4057 if ac_fn_c_try_compile "$LINENO"; then :
4060 ac_c_werror_flag=$ac_save_c_werror_flag
4062 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4063 /* end confdefs.h. */
4073 if ac_fn_c_try_compile "$LINENO"; then :
4076 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4078 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4080 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4081 ac_c_werror_flag=$ac_save_c_werror_flag
4083 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
4084 $as_echo "$ac_cv_prog_cc_g" >&6; }
4085 if test "$ac_test_CFLAGS" = set; then
4086 CFLAGS=$ac_save_CFLAGS
4087 elif test $ac_cv_prog_cc_g = yes; then
4088 if test "$GCC" = yes; then
4094 if test "$GCC" = yes; then
4100 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
4101 $as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
4102 if test "${ac_cv_prog_cc_c89+set}" = set; then :
4103 $as_echo_n "(cached) " >&6
4105 ac_cv_prog_cc_c89=no
4107 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4108 /* end confdefs.h. */
4111 #include <sys/types.h>
4112 #include <sys/stat.h>
4113 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
4114 struct buf { int x; };
4115 FILE * (*rcsopen) (struct buf *, struct stat *, int);
4116 static char *e (p, i)
4122 static char *f (char * (*g) (char **, int), char **p, ...)
4127 s = g (p, va_arg (v,int));
4132 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
4133 function prototypes and stuff, but not '\xHH' hex character constants.
4134 These don't provoke an error unfortunately, instead are silently treated
4135 as 'x'. The following induces an error, until -std is added to get
4136 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
4137 array size at least. It's necessary to write '\x00'==0 to get something
4138 that's true only with -std. */
4139 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
4141 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
4142 inside strings and character constants. */
4144 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
4146 int test (int i, double x);
4147 struct s1 {int (*f) (int a);};
4148 struct s2 {int (*f) (double a);};
4149 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
4155 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
4160 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
4161 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
4163 CC="$ac_save_CC $ac_arg"
4164 if ac_fn_c_try_compile "$LINENO"; then :
4165 ac_cv_prog_cc_c89=$ac_arg
4167 rm -f core conftest.err conftest.$ac_objext
4168 test "x$ac_cv_prog_cc_c89" != "xno" && break
4170 rm -f conftest.$ac_ext
4175 case "x$ac_cv_prog_cc_c89" in
4177 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
4178 $as_echo "none needed" >&6; } ;;
4180 { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
4181 $as_echo "unsupported" >&6; } ;;
4183 CC="$CC $ac_cv_prog_cc_c89"
4184 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
4185 $as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
4187 if test "x$ac_cv_prog_cc_c89" != xno; then :
4192 ac_cpp='$CPP $CPPFLAGS'
4193 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4194 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4195 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4197 depcc="$CC" am_compiler_list=
4199 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5
4200 $as_echo_n "checking dependency style of $depcc... " >&6; }
4201 if test "${am_cv_CC_dependencies_compiler_type+set}" = set; then :
4202 $as_echo_n "(cached) " >&6
4204 if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
4205 # We make a subdir and do the tests there. Otherwise we can end up
4206 # making bogus files that we don't know about and never remove. For
4207 # instance it was reported that on HP-UX the gcc test will end up
4208 # making a dummy file named `D' -- because `-MD' means `put the output
4211 # Copy depcomp to subdir because otherwise we won't find it if we're
4212 # using a relative directory.
4213 cp "$am_depcomp" conftest.dir
4215 # We will build objects and dependencies in a subdirectory because
4216 # it helps to detect inapplicable dependency modes. For instance
4217 # both Tru64's cc and ICC support -MD to output dependencies as a
4218 # side effect of compilation, but ICC will put the dependencies in
4219 # the current directory while Tru64 will put them in the object
4223 am_cv_CC_dependencies_compiler_type=none
4224 if test "$am_compiler_list" = ""; then
4225 am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
4228 case " $depcc " in #(
4229 *\ -arch\ *\ -arch\ *) am__universal=true ;;
4232 for depmode in $am_compiler_list; do
4233 # Setup a source with many dependencies, because some compilers
4234 # like to wrap large dependency lists on column 80 (with \), and
4235 # we should not choose a depcomp mode which is confused by this.
4237 # We need to recreate these files for each test, as the compiler may
4238 # overwrite some of them when testing with obscure command lines.
4239 # This happens at least with the AIX C compiler.
4241 for i in 1 2 3 4 5 6; do
4242 echo '#include "conftst'$i'.h"' >> sub/conftest.c
4243 # Using `: > sub/conftst$i.h' creates only sub/conftst1.h with
4244 # Solaris 8's {/usr,}/bin/sh.
4245 touch sub/conftst$i.h
4247 echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
4249 # We check with `-c' and `-o' for the sake of the "dashmstdout"
4250 # mode. It turns out that the SunPro C++ compiler does not properly
4251 # handle `-M -o', and we need to detect this. Also, some Intel
4252 # versions had trouble with output in subdirs
4253 am__obj=sub/conftest.${OBJEXT-o}
4254 am__minus_obj="-o $am__obj"
4257 # This depmode causes a compiler race in universal mode.
4258 test "$am__universal" = false || continue
4261 # after this tag, mechanisms are not by side-effect, so they'll
4262 # only be used when explicitly requested
4263 if test "x$enable_dependency_tracking" = xyes; then
4269 msvisualcpp | msvcmsys)
4270 # This compiler won't grok `-c -o', but also, the minuso test has
4271 # not run yet. These depmodes are late enough in the game, and
4272 # so weak that their functioning should not be impacted.
4273 am__obj=conftest.${OBJEXT-o}
4278 if depmode=$depmode \
4279 source=sub/conftest.c object=$am__obj \
4280 depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
4281 $SHELL ./depcomp $depcc -c $am__minus_obj sub/conftest.c \
4282 >/dev/null 2>conftest.err &&
4283 grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 &&
4284 grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
4285 grep $am__obj sub/conftest.Po > /dev/null 2>&1 &&
4286 ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
4287 # icc doesn't choke on unknown options, it will just issue warnings
4288 # or remarks (even with -Werror). So we grep stderr for any message
4289 # that says an option was ignored or not supported.
4290 # When given -MP, icc 7.0 and 7.1 complain thusly:
4291 # icc: Command line warning: ignoring option '-M'; no argument required
4292 # The diagnosis changed in icc 8.0:
4293 # icc: Command line remark: option '-MP' not supported
4294 if (grep 'ignoring option' conftest.err ||
4295 grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
4296 am_cv_CC_dependencies_compiler_type=$depmode
4305 am_cv_CC_dependencies_compiler_type=none
4309 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_CC_dependencies_compiler_type" >&5
4310 $as_echo "$am_cv_CC_dependencies_compiler_type" >&6; }
4311 CCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type
4314 test "x$enable_dependency_tracking" != xno \
4315 && test "$am_cv_CC_dependencies_compiler_type" = gcc3; then
4317 am__fastdepCC_FALSE='#'
4319 am__fastdepCC_TRUE='#'
4320 am__fastdepCC_FALSE=
4324 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a sed that does not truncate output" >&5
4325 $as_echo_n "checking for a sed that does not truncate output... " >&6; }
4326 if test "${ac_cv_path_SED+set}" = set; then :
4327 $as_echo_n "(cached) " >&6
4329 ac_script=s/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa/bbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbb/
4330 for ac_i in 1 2 3 4 5 6 7; do
4331 ac_script="$ac_script$as_nl$ac_script"
4333 echo "$ac_script" 2>/dev/null | sed 99q >conftest.sed
4334 { ac_script=; unset ac_script;}
4335 if test -z "$SED"; then
4336 ac_path_SED_found=false
4337 # Loop through the user's path and test for each of PROGNAME-LIST
4338 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4342 test -z "$as_dir" && as_dir=.
4343 for ac_prog in sed gsed; do
4344 for ac_exec_ext in '' $ac_executable_extensions; do
4345 ac_path_SED="$as_dir/$ac_prog$ac_exec_ext"
4346 { test -f "$ac_path_SED" && $as_test_x "$ac_path_SED"; } || continue
4347 # Check for GNU ac_path_SED and select it if it is found.
4348 # Check for GNU $ac_path_SED
4349 case `"$ac_path_SED" --version 2>&1` in
4351 ac_cv_path_SED="$ac_path_SED" ac_path_SED_found=:;;
4354 $as_echo_n 0123456789 >"conftest.in"
4357 cat "conftest.in" "conftest.in" >"conftest.tmp"
4358 mv "conftest.tmp" "conftest.in"
4359 cp "conftest.in" "conftest.nl"
4360 $as_echo '' >> "conftest.nl"
4361 "$ac_path_SED" -f conftest.sed < "conftest.nl" >"conftest.out" 2>/dev/null || break
4362 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
4363 as_fn_arith $ac_count + 1 && ac_count=$as_val
4364 if test $ac_count -gt ${ac_path_SED_max-0}; then
4365 # Best one so far, save it but keep looking for a better one
4366 ac_cv_path_SED="$ac_path_SED"
4367 ac_path_SED_max=$ac_count
4369 # 10*(2^10) chars as input seems more than enough
4370 test $ac_count -gt 10 && break
4372 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
4375 $ac_path_SED_found && break 3
4380 if test -z "$ac_cv_path_SED"; then
4381 as_fn_error $? "no acceptable sed could be found in \$PATH" "$LINENO" 5
4388 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_SED" >&5
4389 $as_echo "$ac_cv_path_SED" >&6; }
4390 SED="$ac_cv_path_SED"
4393 test -z "$SED" && SED=sed
4394 Xsed="$SED -e 1s/^X//"
4406 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for grep that handles long lines and -e" >&5
4407 $as_echo_n "checking for grep that handles long lines and -e... " >&6; }
4408 if test "${ac_cv_path_GREP+set}" = set; then :
4409 $as_echo_n "(cached) " >&6
4411 if test -z "$GREP"; then
4412 ac_path_GREP_found=false
4413 # Loop through the user's path and test for each of PROGNAME-LIST
4414 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4415 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
4418 test -z "$as_dir" && as_dir=.
4419 for ac_prog in grep ggrep; do
4420 for ac_exec_ext in '' $ac_executable_extensions; do
4421 ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext"
4422 { test -f "$ac_path_GREP" && $as_test_x "$ac_path_GREP"; } || continue
4423 # Check for GNU ac_path_GREP and select it if it is found.
4424 # Check for GNU $ac_path_GREP
4425 case `"$ac_path_GREP" --version 2>&1` in
4427 ac_cv_path_GREP="$ac_path_GREP" ac_path_GREP_found=:;;
4430 $as_echo_n 0123456789 >"conftest.in"
4433 cat "conftest.in" "conftest.in" >"conftest.tmp"
4434 mv "conftest.tmp" "conftest.in"
4435 cp "conftest.in" "conftest.nl"
4436 $as_echo 'GREP' >> "conftest.nl"
4437 "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev/null || break
4438 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
4439 as_fn_arith $ac_count + 1 && ac_count=$as_val
4440 if test $ac_count -gt ${ac_path_GREP_max-0}; then
4441 # Best one so far, save it but keep looking for a better one
4442 ac_cv_path_GREP="$ac_path_GREP"
4443 ac_path_GREP_max=$ac_count
4445 # 10*(2^10) chars as input seems more than enough
4446 test $ac_count -gt 10 && break
4448 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
4451 $ac_path_GREP_found && break 3
4456 if test -z "$ac_cv_path_GREP"; then
4457 as_fn_error $? "no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
4460 ac_cv_path_GREP=$GREP
4464 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_GREP" >&5
4465 $as_echo "$ac_cv_path_GREP" >&6; }
4466 GREP="$ac_cv_path_GREP"
4469 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for egrep" >&5
4470 $as_echo_n "checking for egrep... " >&6; }
4471 if test "${ac_cv_path_EGREP+set}" = set; then :
4472 $as_echo_n "(cached) " >&6
4474 if echo a | $GREP -E '(a|b)' >/dev/null 2>&1
4475 then ac_cv_path_EGREP="$GREP -E"
4477 if test -z "$EGREP"; then
4478 ac_path_EGREP_found=false
4479 # Loop through the user's path and test for each of PROGNAME-LIST
4480 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4481 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
4484 test -z "$as_dir" && as_dir=.
4485 for ac_prog in egrep; do
4486 for ac_exec_ext in '' $ac_executable_extensions; do
4487 ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext"
4488 { test -f "$ac_path_EGREP" && $as_test_x "$ac_path_EGREP"; } || continue
4489 # Check for GNU ac_path_EGREP and select it if it is found.
4490 # Check for GNU $ac_path_EGREP
4491 case `"$ac_path_EGREP" --version 2>&1` in
4493 ac_cv_path_EGREP="$ac_path_EGREP" ac_path_EGREP_found=:;;
4496 $as_echo_n 0123456789 >"conftest.in"
4499 cat "conftest.in" "conftest.in" >"conftest.tmp"
4500 mv "conftest.tmp" "conftest.in"
4501 cp "conftest.in" "conftest.nl"
4502 $as_echo 'EGREP' >> "conftest.nl"
4503 "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev/null || break
4504 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
4505 as_fn_arith $ac_count + 1 && ac_count=$as_val
4506 if test $ac_count -gt ${ac_path_EGREP_max-0}; then
4507 # Best one so far, save it but keep looking for a better one
4508 ac_cv_path_EGREP="$ac_path_EGREP"
4509 ac_path_EGREP_max=$ac_count
4511 # 10*(2^10) chars as input seems more than enough
4512 test $ac_count -gt 10 && break
4514 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
4517 $ac_path_EGREP_found && break 3
4522 if test -z "$ac_cv_path_EGREP"; then
4523 as_fn_error $? "no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
4526 ac_cv_path_EGREP=$EGREP
4531 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_EGREP" >&5
4532 $as_echo "$ac_cv_path_EGREP" >&6; }
4533 EGREP="$ac_cv_path_EGREP"
4536 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fgrep" >&5
4537 $as_echo_n "checking for fgrep... " >&6; }
4538 if test "${ac_cv_path_FGREP+set}" = set; then :
4539 $as_echo_n "(cached) " >&6
4541 if echo 'ab*c' | $GREP -F 'ab*c' >/dev/null 2>&1
4542 then ac_cv_path_FGREP="$GREP -F"
4544 if test -z "$FGREP"; then
4545 ac_path_FGREP_found=false
4546 # Loop through the user's path and test for each of PROGNAME-LIST
4547 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4548 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
4551 test -z "$as_dir" && as_dir=.
4552 for ac_prog in fgrep; do
4553 for ac_exec_ext in '' $ac_executable_extensions; do
4554 ac_path_FGREP="$as_dir/$ac_prog$ac_exec_ext"
4555 { test -f "$ac_path_FGREP" && $as_test_x "$ac_path_FGREP"; } || continue
4556 # Check for GNU ac_path_FGREP and select it if it is found.
4557 # Check for GNU $ac_path_FGREP
4558 case `"$ac_path_FGREP" --version 2>&1` in
4560 ac_cv_path_FGREP="$ac_path_FGREP" ac_path_FGREP_found=:;;
4563 $as_echo_n 0123456789 >"conftest.in"
4566 cat "conftest.in" "conftest.in" >"conftest.tmp"
4567 mv "conftest.tmp" "conftest.in"
4568 cp "conftest.in" "conftest.nl"
4569 $as_echo 'FGREP' >> "conftest.nl"
4570 "$ac_path_FGREP" FGREP < "conftest.nl" >"conftest.out" 2>/dev/null || break
4571 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
4572 as_fn_arith $ac_count + 1 && ac_count=$as_val
4573 if test $ac_count -gt ${ac_path_FGREP_max-0}; then
4574 # Best one so far, save it but keep looking for a better one
4575 ac_cv_path_FGREP="$ac_path_FGREP"
4576 ac_path_FGREP_max=$ac_count
4578 # 10*(2^10) chars as input seems more than enough
4579 test $ac_count -gt 10 && break
4581 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
4584 $ac_path_FGREP_found && break 3
4589 if test -z "$ac_cv_path_FGREP"; then
4590 as_fn_error $? "no acceptable fgrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
4593 ac_cv_path_FGREP=$FGREP
4598 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_FGREP" >&5
4599 $as_echo "$ac_cv_path_FGREP" >&6; }
4600 FGREP="$ac_cv_path_FGREP"
4603 test -z "$GREP" && GREP=grep
4623 # Check whether --with-gnu-ld was given.
4624 if test "${with_gnu_ld+set}" = set; then :
4625 withval=$with_gnu_ld; test "$withval" = no || with_gnu_ld=yes
4631 if test "$GCC" = yes; then
4632 # Check if gcc -print-prog-name=ld gives a path.
4633 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld used by $CC" >&5
4634 $as_echo_n "checking for ld used by $CC... " >&6; }
4637 # gcc leaves a trailing carriage return which upsets mingw
4638 ac_prog=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
4640 ac_prog=`($CC -print-prog-name=ld) 2>&5` ;;
4643 # Accept absolute paths.
4645 re_direlt='/[^/][^/]*/\.\./'
4646 # Canonicalize the pathname of ld
4647 ac_prog=`$ECHO "$ac_prog"| $SED 's%\\\\%/%g'`
4648 while $ECHO "$ac_prog" | $GREP "$re_direlt" > /dev/null 2>&1; do
4649 ac_prog=`$ECHO $ac_prog| $SED "s%$re_direlt%/%"`
4651 test -z "$LD" && LD="$ac_prog"
4654 # If it fails, then pretend we aren't using GCC.
4658 # If it is relative, then search for the first ld in PATH.
4662 elif test "$with_gnu_ld" = yes; then
4663 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU ld" >&5
4664 $as_echo_n "checking for GNU ld... " >&6; }
4666 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for non-GNU ld" >&5
4667 $as_echo_n "checking for non-GNU ld... " >&6; }
4669 if test "${lt_cv_path_LD+set}" = set; then :
4670 $as_echo_n "(cached) " >&6
4672 if test -z "$LD"; then
4673 lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
4674 for ac_dir in $PATH; do
4676 test -z "$ac_dir" && ac_dir=.
4677 if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then
4678 lt_cv_path_LD="$ac_dir/$ac_prog"
4679 # Check to see if the program is GNU ld. I'd rather use --version,
4680 # but apparently some variants of GNU ld only accept -v.
4681 # Break only if it was the GNU/non-GNU ld that we prefer.
4682 case `"$lt_cv_path_LD" -v 2>&1 </dev/null` in
4683 *GNU* | *'with BFD'*)
4684 test "$with_gnu_ld" != no && break
4687 test "$with_gnu_ld" != yes && break
4694 lt_cv_path_LD="$LD" # Let the user override the test with a path.
4699 if test -n "$LD"; then
4700 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LD" >&5
4701 $as_echo "$LD" >&6; }
4703 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4704 $as_echo "no" >&6; }
4706 test -z "$LD" && as_fn_error $? "no acceptable ld found in \$PATH" "$LINENO" 5
4707 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if the linker ($LD) is GNU ld" >&5
4708 $as_echo_n "checking if the linker ($LD) is GNU ld... " >&6; }
4709 if test "${lt_cv_prog_gnu_ld+set}" = set; then :
4710 $as_echo_n "(cached) " >&6
4712 # I'd rather use --version here, but apparently some GNU lds only accept -v.
4713 case `$LD -v 2>&1 </dev/null` in
4714 *GNU* | *'with BFD'*)
4715 lt_cv_prog_gnu_ld=yes
4718 lt_cv_prog_gnu_ld=no
4722 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_gnu_ld" >&5
4723 $as_echo "$lt_cv_prog_gnu_ld" >&6; }
4724 with_gnu_ld=$lt_cv_prog_gnu_ld
4734 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for BSD- or MS-compatible name lister (nm)" >&5
4735 $as_echo_n "checking for BSD- or MS-compatible name lister (nm)... " >&6; }
4736 if test "${lt_cv_path_NM+set}" = set; then :
4737 $as_echo_n "(cached) " >&6
4739 if test -n "$NM"; then
4740 # Let the user override the test.
4743 lt_nm_to_check="${ac_tool_prefix}nm"
4744 if test -n "$ac_tool_prefix" && test "$build" = "$host"; then
4745 lt_nm_to_check="$lt_nm_to_check nm"
4747 for lt_tmp_nm in $lt_nm_to_check; do
4748 lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
4749 for ac_dir in $PATH /usr/ccs/bin/elf /usr/ccs/bin /usr/ucb /bin; do
4751 test -z "$ac_dir" && ac_dir=.
4752 tmp_nm="$ac_dir/$lt_tmp_nm"
4753 if test -f "$tmp_nm" || test -f "$tmp_nm$ac_exeext" ; then
4754 # Check to see if the nm accepts a BSD-compat flag.
4755 # Adding the `sed 1q' prevents false positives on HP-UX, which says:
4756 # nm: unknown option "B" ignored
4757 # Tru64's nm complains that /dev/null is an invalid object file
4758 case `"$tmp_nm" -B /dev/null 2>&1 | sed '1q'` in
4759 */dev/null* | *'Invalid file or object type'*)
4760 lt_cv_path_NM="$tmp_nm -B"
4764 case `"$tmp_nm" -p /dev/null 2>&1 | sed '1q'` in
4766 lt_cv_path_NM="$tmp_nm -p"
4770 lt_cv_path_NM=${lt_cv_path_NM="$tmp_nm"} # keep the first match, but
4771 continue # so that we can try to find one that supports BSD flags
4780 : ${lt_cv_path_NM=no}
4783 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_path_NM" >&5
4784 $as_echo "$lt_cv_path_NM" >&6; }
4785 if test "$lt_cv_path_NM" != "no"; then
4788 # Didn't find any BSD compatible name lister, look for dumpbin.
4789 if test -n "$ac_tool_prefix"; then
4790 for ac_prog in "dumpbin -symbols" "link -dump -symbols"
4792 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
4793 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
4794 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4795 $as_echo_n "checking for $ac_word... " >&6; }
4796 if test "${ac_cv_prog_DUMPBIN+set}" = set; then :
4797 $as_echo_n "(cached) " >&6
4799 if test -n "$DUMPBIN"; then
4800 ac_cv_prog_DUMPBIN="$DUMPBIN" # Let the user override the test.
4802 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4806 test -z "$as_dir" && as_dir=.
4807 for ac_exec_ext in '' $ac_executable_extensions; do
4808 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4809 ac_cv_prog_DUMPBIN="$ac_tool_prefix$ac_prog"
4810 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4819 DUMPBIN=$ac_cv_prog_DUMPBIN
4820 if test -n "$DUMPBIN"; then
4821 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DUMPBIN" >&5
4822 $as_echo "$DUMPBIN" >&6; }
4824 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4825 $as_echo "no" >&6; }
4829 test -n "$DUMPBIN" && break
4832 if test -z "$DUMPBIN"; then
4833 ac_ct_DUMPBIN=$DUMPBIN
4834 for ac_prog in "dumpbin -symbols" "link -dump -symbols"
4836 # Extract the first word of "$ac_prog", so it can be a program name with args.
4837 set dummy $ac_prog; ac_word=$2
4838 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4839 $as_echo_n "checking for $ac_word... " >&6; }
4840 if test "${ac_cv_prog_ac_ct_DUMPBIN+set}" = set; then :
4841 $as_echo_n "(cached) " >&6
4843 if test -n "$ac_ct_DUMPBIN"; then
4844 ac_cv_prog_ac_ct_DUMPBIN="$ac_ct_DUMPBIN" # Let the user override the test.
4846 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4850 test -z "$as_dir" && as_dir=.
4851 for ac_exec_ext in '' $ac_executable_extensions; do
4852 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4853 ac_cv_prog_ac_ct_DUMPBIN="$ac_prog"
4854 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4863 ac_ct_DUMPBIN=$ac_cv_prog_ac_ct_DUMPBIN
4864 if test -n "$ac_ct_DUMPBIN"; then
4865 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DUMPBIN" >&5
4866 $as_echo "$ac_ct_DUMPBIN" >&6; }
4868 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4869 $as_echo "no" >&6; }
4873 test -n "$ac_ct_DUMPBIN" && break
4876 if test "x$ac_ct_DUMPBIN" = x; then
4879 case $cross_compiling:$ac_tool_warned in
4881 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4882 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4883 ac_tool_warned=yes ;;
4885 DUMPBIN=$ac_ct_DUMPBIN
4890 if test "$DUMPBIN" != ":"; then
4894 test -z "$NM" && NM=nm
4901 { $as_echo "$as_me:${as_lineno-$LINENO}: checking the name lister ($NM) interface" >&5
4902 $as_echo_n "checking the name lister ($NM) interface... " >&6; }
4903 if test "${lt_cv_nm_interface+set}" = set; then :
4904 $as_echo_n "(cached) " >&6
4906 lt_cv_nm_interface="BSD nm"
4907 echo "int some_variable = 0;" > conftest.$ac_ext
4908 (eval echo "\"\$as_me:4908: $ac_compile\"" >&5)
4909 (eval "$ac_compile" 2>conftest.err)
4910 cat conftest.err >&5
4911 (eval echo "\"\$as_me:4911: $NM \\\"conftest.$ac_objext\\\"\"" >&5)
4912 (eval "$NM \"conftest.$ac_objext\"" 2>conftest.err > conftest.out)
4913 cat conftest.err >&5
4914 (eval echo "\"\$as_me:4914: output\"" >&5)
4915 cat conftest.out >&5
4916 if $GREP 'External.*some_variable' conftest.out > /dev/null; then
4917 lt_cv_nm_interface="MS dumpbin"
4921 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_nm_interface" >&5
4922 $as_echo "$lt_cv_nm_interface" >&6; }
4924 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ln -s works" >&5
4925 $as_echo_n "checking whether ln -s works... " >&6; }
4927 if test "$LN_S" = "ln -s"; then
4928 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
4929 $as_echo "yes" >&6; }
4931 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no, using $LN_S" >&5
4932 $as_echo "no, using $LN_S" >&6; }
4935 # find the maximum length of command line arguments
4936 { $as_echo "$as_me:${as_lineno-$LINENO}: checking the maximum length of command line arguments" >&5
4937 $as_echo_n "checking the maximum length of command line arguments... " >&6; }
4938 if test "${lt_cv_sys_max_cmd_len+set}" = set; then :
4939 $as_echo_n "(cached) " >&6
4946 # On DJGPP, this test can blow up pretty badly due to problems in libc
4947 # (any single argument exceeding 2000 bytes causes a buffer overrun
4948 # during glob expansion). Even if it were fixed, the result of this
4949 # check would be larger than it should be.
4950 lt_cv_sys_max_cmd_len=12288; # 12K is about right
4954 # Under GNU Hurd, this test is not required because there is
4955 # no limit to the length of command line arguments.
4956 # Libtool will interpret -1 as no limit whatsoever
4957 lt_cv_sys_max_cmd_len=-1;
4960 cygwin* | mingw* | cegcc*)
4961 # On Win9x/ME, this test blows up -- it succeeds, but takes
4962 # about 5 minutes as the teststring grows exponentially.
4963 # Worse, since 9x/ME are not pre-emptively multitasking,
4964 # you end up with a "frozen" computer, even though with patience
4965 # the test eventually succeeds (with a max line length of 256k).
4966 # Instead, let's just punt: use the minimum linelength reported by
4967 # all of the supported platforms: 8192 (on NT/2K/XP).
4968 lt_cv_sys_max_cmd_len=8192;
4972 # On AmigaOS with pdksh, this test takes hours, literally.
4973 # So we just punt and use a minimum line length of 8192.
4974 lt_cv_sys_max_cmd_len=8192;
4977 netbsd* | freebsd* | openbsd* | darwin* | dragonfly*)
4978 # This has been around since 386BSD, at least. Likely further.
4979 if test -x /sbin/sysctl; then
4980 lt_cv_sys_max_cmd_len=`/sbin/sysctl -n kern.argmax`
4981 elif test -x /usr/sbin/sysctl; then
4982 lt_cv_sys_max_cmd_len=`/usr/sbin/sysctl -n kern.argmax`
4984 lt_cv_sys_max_cmd_len=65536 # usable default for all BSDs
4986 # And add a safety zone
4987 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4`
4988 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3`
4992 # We know the value 262144 and hardcode it with a safety zone (like BSD)
4993 lt_cv_sys_max_cmd_len=196608
4997 # Dr. Hans Ekkehard Plesser reports seeing a kernel panic running configure
4998 # due to this test when exec_disable_arg_limit is 1 on Tru64. It is not
4999 # nice to cause kernel panics so lets avoid the loop below.
5000 # First set a reasonable default.
5001 lt_cv_sys_max_cmd_len=16384
5003 if test -x /sbin/sysconfig; then
5004 case `/sbin/sysconfig -q proc exec_disable_arg_limit` in
5005 *1*) lt_cv_sys_max_cmd_len=-1 ;;
5010 lt_cv_sys_max_cmd_len=102400
5012 sysv5* | sco5v6* | sysv4.2uw2*)
5013 kargmax=`grep ARG_MAX /etc/conf/cf.d/stune 2>/dev/null`
5014 if test -n "$kargmax"; then
5015 lt_cv_sys_max_cmd_len=`echo $kargmax | sed 's/.*[ ]//'`
5017 lt_cv_sys_max_cmd_len=32768
5021 lt_cv_sys_max_cmd_len=`(getconf ARG_MAX) 2> /dev/null`
5022 if test -n "$lt_cv_sys_max_cmd_len"; then
5023 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4`
5024 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3`
5026 # Make teststring a little bigger before we do anything with it.
5027 # a 1K string should be a reasonable start.
5028 for i in 1 2 3 4 5 6 7 8 ; do
5029 teststring=$teststring$teststring
5031 SHELL=${SHELL-${CONFIG_SHELL-/bin/sh}}
5032 # If test is not a shell built-in, we'll probably end up computing a
5033 # maximum length that is only half of the actual maximum length, but
5035 while { test "X"`$SHELL $0 --fallback-echo "X$teststring$teststring" 2>/dev/null` \
5036 = "XX$teststring$teststring"; } >/dev/null 2>&1 &&
5037 test $i != 17 # 1/2 MB should be enough
5040 teststring=$teststring$teststring
5042 # Only check the string length outside the loop.
5043 lt_cv_sys_max_cmd_len=`expr "X$teststring" : ".*" 2>&1`
5045 # Add a significant safety factor because C++ compilers can tack on
5046 # massive amounts of additional arguments before passing them to the
5047 # linker. It appears as though 1/2 is a usable value.
5048 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 2`
5055 if test -n $lt_cv_sys_max_cmd_len ; then
5056 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_sys_max_cmd_len" >&5
5057 $as_echo "$lt_cv_sys_max_cmd_len" >&6; }
5059 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none" >&5
5060 $as_echo "none" >&6; }
5062 max_cmd_len=$lt_cv_sys_max_cmd_len
5073 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the shell understands some XSI constructs" >&5
5074 $as_echo_n "checking whether the shell understands some XSI constructs... " >&6; }
5075 # Try some XSI features
5078 test "${_lt_dummy##*/},${_lt_dummy%/*},"${_lt_dummy%"$_lt_dummy"}, \
5080 && eval 'test $(( 1 + 1 )) -eq 2 \
5081 && test "${#_lt_dummy}" -eq 5' ) >/dev/null 2>&1 \
5083 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xsi_shell" >&5
5084 $as_echo "$xsi_shell" >&6; }
5087 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the shell understands \"+=\"" >&5
5088 $as_echo_n "checking whether the shell understands \"+=\"... " >&6; }
5090 ( foo=bar; set foo baz; eval "$1+=\$2" && test "$foo" = barbaz ) \
5092 && lt_shell_append=yes
5093 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_shell_append" >&5
5094 $as_echo "$lt_shell_append" >&6; }
5097 if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
5107 # test EBCDIC or ASCII
5108 case `echo X|tr X '\101'` in
5109 A) # ASCII based system
5110 # \n is not interpreted correctly by Solaris 8 /usr/ucb/tr
5111 lt_SP2NL='tr \040 \012'
5112 lt_NL2SP='tr \015\012 \040\040'
5114 *) # EBCDIC based system
5115 lt_SP2NL='tr \100 \n'
5116 lt_NL2SP='tr \r\n \100\100'
5128 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $LD option to reload object files" >&5
5129 $as_echo_n "checking for $LD option to reload object files... " >&6; }
5130 if test "${lt_cv_ld_reload_flag+set}" = set; then :
5131 $as_echo_n "(cached) " >&6
5133 lt_cv_ld_reload_flag='-r'
5135 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_reload_flag" >&5
5136 $as_echo "$lt_cv_ld_reload_flag" >&6; }
5137 reload_flag=$lt_cv_ld_reload_flag
5138 case $reload_flag in
5140 *) reload_flag=" $reload_flag" ;;
5142 reload_cmds='$LD$reload_flag -o $output$reload_objs'
5145 if test "$GCC" = yes; then
5146 reload_cmds='$LTCC $LTCFLAGS -nostdlib ${wl}-r -o $output$reload_objs'
5148 reload_cmds='$LD$reload_flag -o $output$reload_objs'
5161 if test -n "$ac_tool_prefix"; then
5162 # Extract the first word of "${ac_tool_prefix}objdump", so it can be a program name with args.
5163 set dummy ${ac_tool_prefix}objdump; ac_word=$2
5164 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5165 $as_echo_n "checking for $ac_word... " >&6; }
5166 if test "${ac_cv_prog_OBJDUMP+set}" = set; then :
5167 $as_echo_n "(cached) " >&6
5169 if test -n "$OBJDUMP"; then
5170 ac_cv_prog_OBJDUMP="$OBJDUMP" # Let the user override the test.
5172 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5176 test -z "$as_dir" && as_dir=.
5177 for ac_exec_ext in '' $ac_executable_extensions; do
5178 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5179 ac_cv_prog_OBJDUMP="${ac_tool_prefix}objdump"
5180 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5189 OBJDUMP=$ac_cv_prog_OBJDUMP
5190 if test -n "$OBJDUMP"; then
5191 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OBJDUMP" >&5
5192 $as_echo "$OBJDUMP" >&6; }
5194 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5195 $as_echo "no" >&6; }
5200 if test -z "$ac_cv_prog_OBJDUMP"; then
5201 ac_ct_OBJDUMP=$OBJDUMP
5202 # Extract the first word of "objdump", so it can be a program name with args.
5203 set dummy objdump; ac_word=$2
5204 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5205 $as_echo_n "checking for $ac_word... " >&6; }
5206 if test "${ac_cv_prog_ac_ct_OBJDUMP+set}" = set; then :
5207 $as_echo_n "(cached) " >&6
5209 if test -n "$ac_ct_OBJDUMP"; then
5210 ac_cv_prog_ac_ct_OBJDUMP="$ac_ct_OBJDUMP" # Let the user override the test.
5212 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5216 test -z "$as_dir" && as_dir=.
5217 for ac_exec_ext in '' $ac_executable_extensions; do
5218 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5219 ac_cv_prog_ac_ct_OBJDUMP="objdump"
5220 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5229 ac_ct_OBJDUMP=$ac_cv_prog_ac_ct_OBJDUMP
5230 if test -n "$ac_ct_OBJDUMP"; then
5231 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OBJDUMP" >&5
5232 $as_echo "$ac_ct_OBJDUMP" >&6; }
5234 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5235 $as_echo "no" >&6; }
5238 if test "x$ac_ct_OBJDUMP" = x; then
5241 case $cross_compiling:$ac_tool_warned in
5243 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5244 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5245 ac_tool_warned=yes ;;
5247 OBJDUMP=$ac_ct_OBJDUMP
5250 OBJDUMP="$ac_cv_prog_OBJDUMP"
5253 test -z "$OBJDUMP" && OBJDUMP=objdump
5260 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to recognize dependent libraries" >&5
5261 $as_echo_n "checking how to recognize dependent libraries... " >&6; }
5262 if test "${lt_cv_deplibs_check_method+set}" = set; then :
5263 $as_echo_n "(cached) " >&6
5265 lt_cv_file_magic_cmd='$MAGIC_CMD'
5266 lt_cv_file_magic_test_file=
5267 lt_cv_deplibs_check_method='unknown'
5268 # Need to set the preceding variable on all platforms that support
5269 # interlibrary dependencies.
5270 # 'none' -- dependencies not supported.
5271 # `unknown' -- same as none, but documents that we really don't know.
5272 # 'pass_all' -- all dependencies passed with no checks.
5273 # 'test_compile' -- check by making test program.
5274 # 'file_magic [[regex]]' -- check by looking for files in library path
5275 # which responds to the $file_magic_cmd with a given extended regex.
5276 # If you have `file' or equivalent on your system and you're not sure
5277 # whether `pass_all' will *always* work, you probably want this one.
5281 lt_cv_deplibs_check_method=pass_all
5285 lt_cv_deplibs_check_method=pass_all
5289 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (shared object|dynamic lib)'
5290 lt_cv_file_magic_cmd='/usr/bin/file -L'
5291 lt_cv_file_magic_test_file=/shlib/libc.so
5295 # func_win32_libid is a shell function defined in ltmain.sh
5296 lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL'
5297 lt_cv_file_magic_cmd='func_win32_libid'
5301 # Base MSYS/MinGW do not provide the 'file' command needed by
5302 # func_win32_libid shell function, so use a weaker test based on 'objdump',
5303 # unless we find 'file', for example because we are cross-compiling.
5304 if ( file / ) >/dev/null 2>&1; then
5305 lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL'
5306 lt_cv_file_magic_cmd='func_win32_libid'
5308 lt_cv_deplibs_check_method='file_magic file format pei*-i386(.*architecture: i386)?'
5309 lt_cv_file_magic_cmd='$OBJDUMP -f'
5314 # use the weaker test based on 'objdump'. See mingw*.
5315 lt_cv_deplibs_check_method='file_magic file format pe-arm-.*little(.*architecture: arm)?'
5316 lt_cv_file_magic_cmd='$OBJDUMP -f'
5319 darwin* | rhapsody*)
5320 lt_cv_deplibs_check_method=pass_all
5323 freebsd* | dragonfly*)
5324 if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then
5327 # Not sure whether the presence of OpenBSD here was a mistake.
5328 # Let's accept both of them until this is cleared up.
5329 lt_cv_deplibs_check_method='file_magic (FreeBSD|OpenBSD|DragonFly)/i[3-9]86 (compact )?demand paged shared library'
5330 lt_cv_file_magic_cmd=/usr/bin/file
5331 lt_cv_file_magic_test_file=`echo /usr/lib/libc.so.*`
5335 lt_cv_deplibs_check_method=pass_all
5340 lt_cv_deplibs_check_method=pass_all
5343 hpux10.20* | hpux11*)
5344 lt_cv_file_magic_cmd=/usr/bin/file
5347 lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|ELF-[0-9][0-9]) shared object file - IA64'
5348 lt_cv_file_magic_test_file=/usr/lib/hpux32/libc.so
5351 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]'
5352 lt_cv_file_magic_test_file=/usr/lib/pa20_64/libc.sl
5355 lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|PA-RISC[0-9].[0-9]) shared library'
5356 lt_cv_file_magic_test_file=/usr/lib/libc.sl
5362 # PIC code is broken on Interix 3.x, that's why |\.a not |_pic\.a here
5363 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|\.a)$'
5366 irix5* | irix6* | nonstopux*)
5368 *-32|*"-32 ") libmagic=32-bit;;
5369 *-n32|*"-n32 ") libmagic=N32;;
5370 *-64|*"-64 ") libmagic=64-bit;;
5371 *) libmagic=never-match;;
5373 lt_cv_deplibs_check_method=pass_all
5376 # This must be Linux ELF.
5377 linux* | k*bsd*-gnu | kopensolaris*-gnu)
5378 lt_cv_deplibs_check_method=pass_all
5381 netbsd* | netbsdelf*-gnu)
5382 if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then
5383 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
5385 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|_pic\.a)$'
5390 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (executable|dynamic lib)'
5391 lt_cv_file_magic_cmd=/usr/bin/file
5392 lt_cv_file_magic_test_file=/usr/lib/libnls.so
5396 lt_cv_deplibs_check_method=pass_all
5400 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
5401 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|\.so|_pic\.a)$'
5403 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
5407 osf3* | osf4* | osf5*)
5408 lt_cv_deplibs_check_method=pass_all
5412 lt_cv_deplibs_check_method=pass_all
5416 lt_cv_deplibs_check_method=pass_all
5419 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
5420 lt_cv_deplibs_check_method=pass_all
5424 case $host_vendor in
5426 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]'
5427 lt_cv_file_magic_test_file=`echo /usr/lib/libc.so*`
5430 lt_cv_deplibs_check_method=pass_all
5433 lt_cv_file_magic_cmd='/bin/file'
5434 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [LM]SB (shared object|dynamic lib )'
5437 lt_cv_file_magic_cmd='/bin/file'
5438 lt_cv_deplibs_check_method="file_magic ELF [0-9][0-9]*-bit [LM]SB dynamic lib"
5439 lt_cv_file_magic_test_file=/lib/libc.so
5442 lt_cv_deplibs_check_method=pass_all
5445 lt_cv_deplibs_check_method=pass_all
5451 lt_cv_deplibs_check_method=pass_all
5456 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_deplibs_check_method" >&5
5457 $as_echo "$lt_cv_deplibs_check_method" >&6; }
5458 file_magic_cmd=$lt_cv_file_magic_cmd
5459 deplibs_check_method=$lt_cv_deplibs_check_method
5460 test -z "$deplibs_check_method" && deplibs_check_method=unknown
5473 if test -n "$ac_tool_prefix"; then
5474 # Extract the first word of "${ac_tool_prefix}ar", so it can be a program name with args.
5475 set dummy ${ac_tool_prefix}ar; ac_word=$2
5476 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5477 $as_echo_n "checking for $ac_word... " >&6; }
5478 if test "${ac_cv_prog_AR+set}" = set; then :
5479 $as_echo_n "(cached) " >&6
5481 if test -n "$AR"; then
5482 ac_cv_prog_AR="$AR" # Let the user override the test.
5484 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5488 test -z "$as_dir" && as_dir=.
5489 for ac_exec_ext in '' $ac_executable_extensions; do
5490 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5491 ac_cv_prog_AR="${ac_tool_prefix}ar"
5492 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5502 if test -n "$AR"; then
5503 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AR" >&5
5504 $as_echo "$AR" >&6; }
5506 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5507 $as_echo "no" >&6; }
5512 if test -z "$ac_cv_prog_AR"; then
5514 # Extract the first word of "ar", so it can be a program name with args.
5515 set dummy ar; ac_word=$2
5516 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5517 $as_echo_n "checking for $ac_word... " >&6; }
5518 if test "${ac_cv_prog_ac_ct_AR+set}" = set; then :
5519 $as_echo_n "(cached) " >&6
5521 if test -n "$ac_ct_AR"; then
5522 ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test.
5524 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5528 test -z "$as_dir" && as_dir=.
5529 for ac_exec_ext in '' $ac_executable_extensions; do
5530 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5531 ac_cv_prog_ac_ct_AR="ar"
5532 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5541 ac_ct_AR=$ac_cv_prog_ac_ct_AR
5542 if test -n "$ac_ct_AR"; then
5543 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_AR" >&5
5544 $as_echo "$ac_ct_AR" >&6; }
5546 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5547 $as_echo "no" >&6; }
5550 if test "x$ac_ct_AR" = x; then
5553 case $cross_compiling:$ac_tool_warned in
5555 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5556 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5557 ac_tool_warned=yes ;;
5565 test -z "$AR" && AR=ar
5566 test -z "$AR_FLAGS" && AR_FLAGS=cru
5578 if test -n "$ac_tool_prefix"; then
5579 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
5580 set dummy ${ac_tool_prefix}strip; ac_word=$2
5581 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5582 $as_echo_n "checking for $ac_word... " >&6; }
5583 if test "${ac_cv_prog_STRIP+set}" = set; then :
5584 $as_echo_n "(cached) " >&6
5586 if test -n "$STRIP"; then
5587 ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
5589 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5593 test -z "$as_dir" && as_dir=.
5594 for ac_exec_ext in '' $ac_executable_extensions; do
5595 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5596 ac_cv_prog_STRIP="${ac_tool_prefix}strip"
5597 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5606 STRIP=$ac_cv_prog_STRIP
5607 if test -n "$STRIP"; then
5608 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
5609 $as_echo "$STRIP" >&6; }
5611 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5612 $as_echo "no" >&6; }
5617 if test -z "$ac_cv_prog_STRIP"; then
5619 # Extract the first word of "strip", so it can be a program name with args.
5620 set dummy strip; ac_word=$2
5621 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5622 $as_echo_n "checking for $ac_word... " >&6; }
5623 if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then :
5624 $as_echo_n "(cached) " >&6
5626 if test -n "$ac_ct_STRIP"; then
5627 ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
5629 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5633 test -z "$as_dir" && as_dir=.
5634 for ac_exec_ext in '' $ac_executable_extensions; do
5635 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5636 ac_cv_prog_ac_ct_STRIP="strip"
5637 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5646 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
5647 if test -n "$ac_ct_STRIP"; then
5648 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
5649 $as_echo "$ac_ct_STRIP" >&6; }
5651 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5652 $as_echo "no" >&6; }
5655 if test "x$ac_ct_STRIP" = x; then
5658 case $cross_compiling:$ac_tool_warned in
5660 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5661 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5662 ac_tool_warned=yes ;;
5667 STRIP="$ac_cv_prog_STRIP"
5670 test -z "$STRIP" && STRIP=:
5677 if test -n "$ac_tool_prefix"; then
5678 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
5679 set dummy ${ac_tool_prefix}ranlib; ac_word=$2
5680 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5681 $as_echo_n "checking for $ac_word... " >&6; }
5682 if test "${ac_cv_prog_RANLIB+set}" = set; then :
5683 $as_echo_n "(cached) " >&6
5685 if test -n "$RANLIB"; then
5686 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
5688 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5692 test -z "$as_dir" && as_dir=.
5693 for ac_exec_ext in '' $ac_executable_extensions; do
5694 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5695 ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
5696 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5705 RANLIB=$ac_cv_prog_RANLIB
5706 if test -n "$RANLIB"; then
5707 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $RANLIB" >&5
5708 $as_echo "$RANLIB" >&6; }
5710 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5711 $as_echo "no" >&6; }
5716 if test -z "$ac_cv_prog_RANLIB"; then
5717 ac_ct_RANLIB=$RANLIB
5718 # Extract the first word of "ranlib", so it can be a program name with args.
5719 set dummy ranlib; ac_word=$2
5720 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5721 $as_echo_n "checking for $ac_word... " >&6; }
5722 if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then :
5723 $as_echo_n "(cached) " >&6
5725 if test -n "$ac_ct_RANLIB"; then
5726 ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
5728 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5732 test -z "$as_dir" && as_dir=.
5733 for ac_exec_ext in '' $ac_executable_extensions; do
5734 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5735 ac_cv_prog_ac_ct_RANLIB="ranlib"
5736 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5745 ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
5746 if test -n "$ac_ct_RANLIB"; then
5747 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_RANLIB" >&5
5748 $as_echo "$ac_ct_RANLIB" >&6; }
5750 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5751 $as_echo "no" >&6; }
5754 if test "x$ac_ct_RANLIB" = x; then
5757 case $cross_compiling:$ac_tool_warned in
5759 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5760 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5761 ac_tool_warned=yes ;;
5763 RANLIB=$ac_ct_RANLIB
5766 RANLIB="$ac_cv_prog_RANLIB"
5769 test -z "$RANLIB" && RANLIB=:
5776 # Determine commands to create old-style static archives.
5777 old_archive_cmds='$AR $AR_FLAGS $oldlib$oldobjs'
5778 old_postinstall_cmds='chmod 644 $oldlib'
5779 old_postuninstall_cmds=
5781 if test -n "$RANLIB"; then
5784 old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB -t \$oldlib"
5787 old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB \$oldlib"
5790 old_archive_cmds="$old_archive_cmds~\$RANLIB \$oldlib"
5826 # If no C compiler was specified, use CC.
5829 # If no C compiler flags were specified, use CFLAGS.
5830 LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
5832 # Allow CC to be a program name with arguments.
5836 # Check for command to grab the raw symbol name followed by C symbol from nm.
5837 { $as_echo "$as_me:${as_lineno-$LINENO}: checking command to parse $NM output from $compiler object" >&5
5838 $as_echo_n "checking command to parse $NM output from $compiler object... " >&6; }
5839 if test "${lt_cv_sys_global_symbol_pipe+set}" = set; then :
5840 $as_echo_n "(cached) " >&6
5843 # These are sane defaults that work on at least a few old systems.
5844 # [They come from Ultrix. What could be older than Ultrix?!! ;)]
5846 # Character class describing NM global symbol codes.
5847 symcode='[BCDEGRST]'
5849 # Regexp to match symbols that can be accessed directly from C.
5850 sympat='\([_A-Za-z][_A-Za-z0-9]*\)'
5852 # Define system-specific variables.
5857 cygwin* | mingw* | pw32* | cegcc*)
5858 symcode='[ABCDGISTW]'
5861 if test "$host_cpu" = ia64; then
5862 symcode='[ABCDEGRST]'
5866 symcode='[BCDEGRST]'
5869 symcode='[BCDEGQRST]'
5880 sysv5* | sco5v6* | unixware* | OpenUNIX*)
5888 # If we're using GNU nm, then use its standard symbol codes.
5889 case `$NM -V 2>&1` in
5890 *GNU* | *'with BFD'*)
5891 symcode='[ABCDGIRSTW]' ;;
5894 # Transform an extracted symbol line into a proper C declaration.
5895 # Some systems (esp. on ia64) link data and code symbols differently,
5896 # so use this general approach.
5897 lt_cv_sys_global_symbol_to_cdecl="sed -n -e 's/^T .* \(.*\)$/extern int \1();/p' -e 's/^$symcode* .* \(.*\)$/extern char \1;/p'"
5899 # Transform an extracted symbol line into symbol name and symbol address
5900 lt_cv_sys_global_symbol_to_c_name_address="sed -n -e 's/^: \([^ ]*\) $/ {\\\"\1\\\", (void *) 0},/p' -e 's/^$symcode* \([^ ]*\) \([^ ]*\)$/ {\"\2\", (void *) \&\2},/p'"
5901 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'"
5903 # Handle CRLF in mingw tool chain
5907 opt_cr=`$ECHO 'x\{0,1\}' | tr x '\015'` # option cr in regexp
5911 # Try without a prefix underscore, then with it.
5912 for ac_symprfx in "" "_"; do
5914 # Transform symcode, sympat, and symprfx into a raw symbol and a C symbol.
5915 symxfrm="\\1 $ac_symprfx\\2 \\2"
5917 # Write the raw and C identifiers.
5918 if test "$lt_cv_nm_interface" = "MS dumpbin"; then
5919 # Fake it for dumpbin and say T for any non-static function
5920 # and D for any global variable.
5921 # Also find C++ and __fastcall symbols from MSVC++,
5922 # which start with @ or ?.
5923 lt_cv_sys_global_symbol_pipe="$AWK '"\
5924 " {last_section=section; section=\$ 3};"\
5925 " /Section length .*#relocs.*(pick any)/{hide[last_section]=1};"\
5926 " \$ 0!~/External *\|/{next};"\
5927 " / 0+ UNDEF /{next}; / UNDEF \([^|]\)*()/{next};"\
5928 " {if(hide[section]) next};"\
5929 " {f=0}; \$ 0~/\(\).*\|/{f=1}; {printf f ? \"T \" : \"D \"};"\
5930 " {split(\$ 0, a, /\||\r/); split(a[2], s)};"\
5931 " s[1]~/^[@?]/{print s[1], s[1]; next};"\
5932 " s[1]~prfx {split(s[1],t,\"@\"); print t[1], substr(t[1],length(prfx))}"\
5933 " ' prfx=^$ac_symprfx"
5935 lt_cv_sys_global_symbol_pipe="sed -n -e 's/^.*[ ]\($symcode$symcode*\)[ ][ ]*$ac_symprfx$sympat$opt_cr$/$symxfrm/p'"
5938 # Check to see that the pipe works correctly.
5942 cat > conftest.$ac_ext <<_LT_EOF
5947 void nm_test_func(void);
5948 void nm_test_func(void){}
5952 int main(){nm_test_var='a';nm_test_func();return(0);}
5955 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
5956 (eval $ac_compile) 2>&5
5958 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
5959 test $ac_status = 0; }; then
5960 # Now try to grab the symbols.
5962 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$NM conftest.$ac_objext \| $lt_cv_sys_global_symbol_pipe \> $nlist\""; } >&5
5963 (eval $NM conftest.$ac_objext \| $lt_cv_sys_global_symbol_pipe \> $nlist) 2>&5
5965 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
5966 test $ac_status = 0; } && test -s "$nlist"; then
5967 # Try sorting and uniquifying the output.
5968 if sort "$nlist" | uniq > "$nlist"T; then
5969 mv -f "$nlist"T "$nlist"
5974 # Make sure that we snagged all the symbols we need.
5975 if $GREP ' nm_test_var$' "$nlist" >/dev/null; then
5976 if $GREP ' nm_test_func$' "$nlist" >/dev/null; then
5977 cat <<_LT_EOF > conftest.$ac_ext
5983 # Now generate the symbol file.
5984 eval "$lt_cv_sys_global_symbol_to_cdecl"' < "$nlist" | $GREP -v main >> conftest.$ac_ext'
5986 cat <<_LT_EOF >> conftest.$ac_ext
5988 /* The mapping between symbol names and symbols. */
5993 lt__PROGRAM__LTX_preloaded_symbols[] =
5995 { "@PROGRAM@", (void *) 0 },
5997 $SED "s/^$symcode$symcode* \(.*\) \(.*\)$/ {\"\2\", (void *) \&\2},/" < "$nlist" | $GREP -v main >> conftest.$ac_ext
5998 cat <<\_LT_EOF >> conftest.$ac_ext
6002 /* This works around a problem in FreeBSD linker */
6003 #ifdef FREEBSD_WORKAROUND
6004 static const void *lt_preloaded_setup() {
6005 return lt__PROGRAM__LTX_preloaded_symbols;
6013 # Now try linking the two files.
6014 mv conftest.$ac_objext conftstm.$ac_objext
6015 lt_save_LIBS="$LIBS"
6016 lt_save_CFLAGS="$CFLAGS"
6017 LIBS="conftstm.$ac_objext"
6018 CFLAGS="$CFLAGS$lt_prog_compiler_no_builtin_flag"
6019 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
6020 (eval $ac_link) 2>&5
6022 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6023 test $ac_status = 0; } && test -s conftest${ac_exeext}; then
6026 LIBS="$lt_save_LIBS"
6027 CFLAGS="$lt_save_CFLAGS"
6029 echo "cannot find nm_test_func in $nlist" >&5
6032 echo "cannot find nm_test_var in $nlist" >&5
6035 echo "cannot run $lt_cv_sys_global_symbol_pipe" >&5
6038 echo "$progname: failed program was:" >&5
6039 cat conftest.$ac_ext >&5
6041 rm -rf conftest* conftst*
6043 # Do not use the global_symbol_pipe unless it works.
6044 if test "$pipe_works" = yes; then
6047 lt_cv_sys_global_symbol_pipe=
6053 if test -z "$lt_cv_sys_global_symbol_pipe"; then
6054 lt_cv_sys_global_symbol_to_cdecl=
6056 if test -z "$lt_cv_sys_global_symbol_pipe$lt_cv_sys_global_symbol_to_cdecl"; then
6057 { $as_echo "$as_me:${as_lineno-$LINENO}: result: failed" >&5
6058 $as_echo "failed" >&6; }
6060 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ok" >&5
6061 $as_echo "ok" >&6; }
6086 # Check whether --enable-libtool-lock was given.
6087 if test "${enable_libtool_lock+set}" = set; then :
6088 enableval=$enable_libtool_lock;
6091 test "x$enable_libtool_lock" != xno && enable_libtool_lock=yes
6093 # Some flags need to be propagated to the compiler or linker for good
6097 # Find out which ABI we are using.
6098 echo 'int i;' > conftest.$ac_ext
6099 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
6100 (eval $ac_compile) 2>&5
6102 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6103 test $ac_status = 0; }; then
6104 case `/usr/bin/file conftest.$ac_objext` in
6116 # Find out which ABI we are using.
6117 echo '#line 6117 "configure"' > conftest.$ac_ext
6118 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
6119 (eval $ac_compile) 2>&5
6121 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6122 test $ac_status = 0; }; then
6123 if test "$lt_cv_prog_gnu_ld" = yes; then
6124 case `/usr/bin/file conftest.$ac_objext` in
6126 LD="${LD-ld} -melf32bsmip"
6129 LD="${LD-ld} -melf32bmipn32"
6132 LD="${LD-ld} -melf64bmip"
6136 case `/usr/bin/file conftest.$ac_objext` in
6152 x86_64-*kfreebsd*-gnu|x86_64-*linux*|ppc*-*linux*|powerpc*-*linux*| \
6153 s390*-*linux*|s390*-*tpf*|sparc*-*linux*)
6154 # Find out which ABI we are using.
6155 echo 'int i;' > conftest.$ac_ext
6156 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
6157 (eval $ac_compile) 2>&5
6159 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6160 test $ac_status = 0; }; then
6161 case `/usr/bin/file conftest.o` in
6164 x86_64-*kfreebsd*-gnu)
6165 LD="${LD-ld} -m elf_i386_fbsd"
6168 LD="${LD-ld} -m elf_i386"
6170 ppc64-*linux*|powerpc64-*linux*)
6171 LD="${LD-ld} -m elf32ppclinux"
6174 LD="${LD-ld} -m elf_s390"
6177 LD="${LD-ld} -m elf32_sparc"
6183 x86_64-*kfreebsd*-gnu)
6184 LD="${LD-ld} -m elf_x86_64_fbsd"
6187 LD="${LD-ld} -m elf_x86_64"
6189 ppc*-*linux*|powerpc*-*linux*)
6190 LD="${LD-ld} -m elf64ppc"
6192 s390*-*linux*|s390*-*tpf*)
6193 LD="${LD-ld} -m elf64_s390"
6196 LD="${LD-ld} -m elf64_sparc"
6206 # On SCO OpenServer 5, we need -belf to get full-featured binaries.
6207 SAVE_CFLAGS="$CFLAGS"
6208 CFLAGS="$CFLAGS -belf"
6209 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler needs -belf" >&5
6210 $as_echo_n "checking whether the C compiler needs -belf... " >&6; }
6211 if test "${lt_cv_cc_needs_belf+set}" = set; then :
6212 $as_echo_n "(cached) " >&6
6215 ac_cpp='$CPP $CPPFLAGS'
6216 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
6217 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
6218 ac_compiler_gnu=$ac_cv_c_compiler_gnu
6220 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6221 /* end confdefs.h. */
6231 if ac_fn_c_try_link "$LINENO"; then :
6232 lt_cv_cc_needs_belf=yes
6234 lt_cv_cc_needs_belf=no
6236 rm -f core conftest.err conftest.$ac_objext \
6237 conftest$ac_exeext conftest.$ac_ext
6239 ac_cpp='$CPP $CPPFLAGS'
6240 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
6241 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
6242 ac_compiler_gnu=$ac_cv_c_compiler_gnu
6245 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_cc_needs_belf" >&5
6246 $as_echo "$lt_cv_cc_needs_belf" >&6; }
6247 if test x"$lt_cv_cc_needs_belf" != x"yes"; then
6248 # this is probably gcc 2.8.0, egcs 1.0 or newer; no need for -belf
6249 CFLAGS="$SAVE_CFLAGS"
6253 # Find out which ABI we are using.
6254 echo 'int i;' > conftest.$ac_ext
6255 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
6256 (eval $ac_compile) 2>&5
6258 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6259 test $ac_status = 0; }; then
6260 case `/usr/bin/file conftest.o` in
6262 case $lt_cv_prog_gnu_ld in
6263 yes*) LD="${LD-ld} -m elf64_sparc" ;;
6265 if ${LD-ld} -64 -r -o conftest2.o conftest.o >/dev/null 2>&1; then
6277 need_locks="$enable_libtool_lock"
6281 rhapsody* | darwin*)
6282 if test -n "$ac_tool_prefix"; then
6283 # Extract the first word of "${ac_tool_prefix}dsymutil", so it can be a program name with args.
6284 set dummy ${ac_tool_prefix}dsymutil; ac_word=$2
6285 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6286 $as_echo_n "checking for $ac_word... " >&6; }
6287 if test "${ac_cv_prog_DSYMUTIL+set}" = set; then :
6288 $as_echo_n "(cached) " >&6
6290 if test -n "$DSYMUTIL"; then
6291 ac_cv_prog_DSYMUTIL="$DSYMUTIL" # Let the user override the test.
6293 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6297 test -z "$as_dir" && as_dir=.
6298 for ac_exec_ext in '' $ac_executable_extensions; do
6299 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6300 ac_cv_prog_DSYMUTIL="${ac_tool_prefix}dsymutil"
6301 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6310 DSYMUTIL=$ac_cv_prog_DSYMUTIL
6311 if test -n "$DSYMUTIL"; then
6312 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DSYMUTIL" >&5
6313 $as_echo "$DSYMUTIL" >&6; }
6315 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6316 $as_echo "no" >&6; }
6321 if test -z "$ac_cv_prog_DSYMUTIL"; then
6322 ac_ct_DSYMUTIL=$DSYMUTIL
6323 # Extract the first word of "dsymutil", so it can be a program name with args.
6324 set dummy dsymutil; ac_word=$2
6325 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6326 $as_echo_n "checking for $ac_word... " >&6; }
6327 if test "${ac_cv_prog_ac_ct_DSYMUTIL+set}" = set; then :
6328 $as_echo_n "(cached) " >&6
6330 if test -n "$ac_ct_DSYMUTIL"; then
6331 ac_cv_prog_ac_ct_DSYMUTIL="$ac_ct_DSYMUTIL" # Let the user override the test.
6333 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6337 test -z "$as_dir" && as_dir=.
6338 for ac_exec_ext in '' $ac_executable_extensions; do
6339 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6340 ac_cv_prog_ac_ct_DSYMUTIL="dsymutil"
6341 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6350 ac_ct_DSYMUTIL=$ac_cv_prog_ac_ct_DSYMUTIL
6351 if test -n "$ac_ct_DSYMUTIL"; then
6352 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DSYMUTIL" >&5
6353 $as_echo "$ac_ct_DSYMUTIL" >&6; }
6355 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6356 $as_echo "no" >&6; }
6359 if test "x$ac_ct_DSYMUTIL" = x; then
6362 case $cross_compiling:$ac_tool_warned in
6364 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6365 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6366 ac_tool_warned=yes ;;
6368 DSYMUTIL=$ac_ct_DSYMUTIL
6371 DSYMUTIL="$ac_cv_prog_DSYMUTIL"
6374 if test -n "$ac_tool_prefix"; then
6375 # Extract the first word of "${ac_tool_prefix}nmedit", so it can be a program name with args.
6376 set dummy ${ac_tool_prefix}nmedit; ac_word=$2
6377 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6378 $as_echo_n "checking for $ac_word... " >&6; }
6379 if test "${ac_cv_prog_NMEDIT+set}" = set; then :
6380 $as_echo_n "(cached) " >&6
6382 if test -n "$NMEDIT"; then
6383 ac_cv_prog_NMEDIT="$NMEDIT" # Let the user override the test.
6385 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6389 test -z "$as_dir" && as_dir=.
6390 for ac_exec_ext in '' $ac_executable_extensions; do
6391 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6392 ac_cv_prog_NMEDIT="${ac_tool_prefix}nmedit"
6393 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6402 NMEDIT=$ac_cv_prog_NMEDIT
6403 if test -n "$NMEDIT"; then
6404 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $NMEDIT" >&5
6405 $as_echo "$NMEDIT" >&6; }
6407 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6408 $as_echo "no" >&6; }
6413 if test -z "$ac_cv_prog_NMEDIT"; then
6414 ac_ct_NMEDIT=$NMEDIT
6415 # Extract the first word of "nmedit", so it can be a program name with args.
6416 set dummy nmedit; ac_word=$2
6417 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6418 $as_echo_n "checking for $ac_word... " >&6; }
6419 if test "${ac_cv_prog_ac_ct_NMEDIT+set}" = set; then :
6420 $as_echo_n "(cached) " >&6
6422 if test -n "$ac_ct_NMEDIT"; then
6423 ac_cv_prog_ac_ct_NMEDIT="$ac_ct_NMEDIT" # Let the user override the test.
6425 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6429 test -z "$as_dir" && as_dir=.
6430 for ac_exec_ext in '' $ac_executable_extensions; do
6431 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6432 ac_cv_prog_ac_ct_NMEDIT="nmedit"
6433 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6442 ac_ct_NMEDIT=$ac_cv_prog_ac_ct_NMEDIT
6443 if test -n "$ac_ct_NMEDIT"; then
6444 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_NMEDIT" >&5
6445 $as_echo "$ac_ct_NMEDIT" >&6; }
6447 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6448 $as_echo "no" >&6; }
6451 if test "x$ac_ct_NMEDIT" = x; then
6454 case $cross_compiling:$ac_tool_warned in
6456 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6457 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6458 ac_tool_warned=yes ;;
6460 NMEDIT=$ac_ct_NMEDIT
6463 NMEDIT="$ac_cv_prog_NMEDIT"
6466 if test -n "$ac_tool_prefix"; then
6467 # Extract the first word of "${ac_tool_prefix}lipo", so it can be a program name with args.
6468 set dummy ${ac_tool_prefix}lipo; ac_word=$2
6469 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6470 $as_echo_n "checking for $ac_word... " >&6; }
6471 if test "${ac_cv_prog_LIPO+set}" = set; then :
6472 $as_echo_n "(cached) " >&6
6474 if test -n "$LIPO"; then
6475 ac_cv_prog_LIPO="$LIPO" # Let the user override the test.
6477 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6481 test -z "$as_dir" && as_dir=.
6482 for ac_exec_ext in '' $ac_executable_extensions; do
6483 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6484 ac_cv_prog_LIPO="${ac_tool_prefix}lipo"
6485 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6494 LIPO=$ac_cv_prog_LIPO
6495 if test -n "$LIPO"; then
6496 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LIPO" >&5
6497 $as_echo "$LIPO" >&6; }
6499 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6500 $as_echo "no" >&6; }
6505 if test -z "$ac_cv_prog_LIPO"; then
6507 # Extract the first word of "lipo", so it can be a program name with args.
6508 set dummy lipo; ac_word=$2
6509 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6510 $as_echo_n "checking for $ac_word... " >&6; }
6511 if test "${ac_cv_prog_ac_ct_LIPO+set}" = set; then :
6512 $as_echo_n "(cached) " >&6
6514 if test -n "$ac_ct_LIPO"; then
6515 ac_cv_prog_ac_ct_LIPO="$ac_ct_LIPO" # Let the user override the test.
6517 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6521 test -z "$as_dir" && as_dir=.
6522 for ac_exec_ext in '' $ac_executable_extensions; do
6523 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6524 ac_cv_prog_ac_ct_LIPO="lipo"
6525 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6534 ac_ct_LIPO=$ac_cv_prog_ac_ct_LIPO
6535 if test -n "$ac_ct_LIPO"; then
6536 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_LIPO" >&5
6537 $as_echo "$ac_ct_LIPO" >&6; }
6539 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6540 $as_echo "no" >&6; }
6543 if test "x$ac_ct_LIPO" = x; then
6546 case $cross_compiling:$ac_tool_warned in
6548 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6549 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6550 ac_tool_warned=yes ;;
6555 LIPO="$ac_cv_prog_LIPO"
6558 if test -n "$ac_tool_prefix"; then
6559 # Extract the first word of "${ac_tool_prefix}otool", so it can be a program name with args.
6560 set dummy ${ac_tool_prefix}otool; ac_word=$2
6561 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6562 $as_echo_n "checking for $ac_word... " >&6; }
6563 if test "${ac_cv_prog_OTOOL+set}" = set; then :
6564 $as_echo_n "(cached) " >&6
6566 if test -n "$OTOOL"; then
6567 ac_cv_prog_OTOOL="$OTOOL" # Let the user override the test.
6569 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6573 test -z "$as_dir" && as_dir=.
6574 for ac_exec_ext in '' $ac_executable_extensions; do
6575 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6576 ac_cv_prog_OTOOL="${ac_tool_prefix}otool"
6577 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6586 OTOOL=$ac_cv_prog_OTOOL
6587 if test -n "$OTOOL"; then
6588 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OTOOL" >&5
6589 $as_echo "$OTOOL" >&6; }
6591 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6592 $as_echo "no" >&6; }
6597 if test -z "$ac_cv_prog_OTOOL"; then
6599 # Extract the first word of "otool", so it can be a program name with args.
6600 set dummy otool; ac_word=$2
6601 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6602 $as_echo_n "checking for $ac_word... " >&6; }
6603 if test "${ac_cv_prog_ac_ct_OTOOL+set}" = set; then :
6604 $as_echo_n "(cached) " >&6
6606 if test -n "$ac_ct_OTOOL"; then
6607 ac_cv_prog_ac_ct_OTOOL="$ac_ct_OTOOL" # Let the user override the test.
6609 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6613 test -z "$as_dir" && as_dir=.
6614 for ac_exec_ext in '' $ac_executable_extensions; do
6615 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6616 ac_cv_prog_ac_ct_OTOOL="otool"
6617 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6626 ac_ct_OTOOL=$ac_cv_prog_ac_ct_OTOOL
6627 if test -n "$ac_ct_OTOOL"; then
6628 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OTOOL" >&5
6629 $as_echo "$ac_ct_OTOOL" >&6; }
6631 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6632 $as_echo "no" >&6; }
6635 if test "x$ac_ct_OTOOL" = x; then
6638 case $cross_compiling:$ac_tool_warned in
6640 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6641 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6642 ac_tool_warned=yes ;;
6647 OTOOL="$ac_cv_prog_OTOOL"
6650 if test -n "$ac_tool_prefix"; then
6651 # Extract the first word of "${ac_tool_prefix}otool64", so it can be a program name with args.
6652 set dummy ${ac_tool_prefix}otool64; ac_word=$2
6653 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6654 $as_echo_n "checking for $ac_word... " >&6; }
6655 if test "${ac_cv_prog_OTOOL64+set}" = set; then :
6656 $as_echo_n "(cached) " >&6
6658 if test -n "$OTOOL64"; then
6659 ac_cv_prog_OTOOL64="$OTOOL64" # Let the user override the test.
6661 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6665 test -z "$as_dir" && as_dir=.
6666 for ac_exec_ext in '' $ac_executable_extensions; do
6667 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6668 ac_cv_prog_OTOOL64="${ac_tool_prefix}otool64"
6669 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6678 OTOOL64=$ac_cv_prog_OTOOL64
6679 if test -n "$OTOOL64"; then
6680 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OTOOL64" >&5
6681 $as_echo "$OTOOL64" >&6; }
6683 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6684 $as_echo "no" >&6; }
6689 if test -z "$ac_cv_prog_OTOOL64"; then
6690 ac_ct_OTOOL64=$OTOOL64
6691 # Extract the first word of "otool64", so it can be a program name with args.
6692 set dummy otool64; ac_word=$2
6693 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6694 $as_echo_n "checking for $ac_word... " >&6; }
6695 if test "${ac_cv_prog_ac_ct_OTOOL64+set}" = set; then :
6696 $as_echo_n "(cached) " >&6
6698 if test -n "$ac_ct_OTOOL64"; then
6699 ac_cv_prog_ac_ct_OTOOL64="$ac_ct_OTOOL64" # Let the user override the test.
6701 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6705 test -z "$as_dir" && as_dir=.
6706 for ac_exec_ext in '' $ac_executable_extensions; do
6707 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6708 ac_cv_prog_ac_ct_OTOOL64="otool64"
6709 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6718 ac_ct_OTOOL64=$ac_cv_prog_ac_ct_OTOOL64
6719 if test -n "$ac_ct_OTOOL64"; then
6720 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OTOOL64" >&5
6721 $as_echo "$ac_ct_OTOOL64" >&6; }
6723 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6724 $as_echo "no" >&6; }
6727 if test "x$ac_ct_OTOOL64" = x; then
6730 case $cross_compiling:$ac_tool_warned in
6732 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6733 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6734 ac_tool_warned=yes ;;
6736 OTOOL64=$ac_ct_OTOOL64
6739 OTOOL64="$ac_cv_prog_OTOOL64"
6768 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -single_module linker flag" >&5
6769 $as_echo_n "checking for -single_module linker flag... " >&6; }
6770 if test "${lt_cv_apple_cc_single_mod+set}" = set; then :
6771 $as_echo_n "(cached) " >&6
6773 lt_cv_apple_cc_single_mod=no
6774 if test -z "${LT_MULTI_MODULE}"; then
6775 # By default we will add the -single_module flag. You can override
6776 # by either setting the environment variable LT_MULTI_MODULE
6777 # non-empty at configure time, or by adding -multi_module to the
6779 rm -rf libconftest.dylib*
6780 echo "int foo(void){return 1;}" > conftest.c
6781 echo "$LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \
6782 -dynamiclib -Wl,-single_module conftest.c" >&5
6783 $LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \
6784 -dynamiclib -Wl,-single_module conftest.c 2>conftest.err
6786 if test -f libconftest.dylib && test ! -s conftest.err && test $_lt_result = 0; then
6787 lt_cv_apple_cc_single_mod=yes
6789 cat conftest.err >&5
6791 rm -rf libconftest.dylib*
6795 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_apple_cc_single_mod" >&5
6796 $as_echo "$lt_cv_apple_cc_single_mod" >&6; }
6797 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -exported_symbols_list linker flag" >&5
6798 $as_echo_n "checking for -exported_symbols_list linker flag... " >&6; }
6799 if test "${lt_cv_ld_exported_symbols_list+set}" = set; then :
6800 $as_echo_n "(cached) " >&6
6802 lt_cv_ld_exported_symbols_list=no
6803 save_LDFLAGS=$LDFLAGS
6804 echo "_main" > conftest.sym
6805 LDFLAGS="$LDFLAGS -Wl,-exported_symbols_list,conftest.sym"
6806 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6807 /* end confdefs.h. */
6817 if ac_fn_c_try_link "$LINENO"; then :
6818 lt_cv_ld_exported_symbols_list=yes
6820 lt_cv_ld_exported_symbols_list=no
6822 rm -f core conftest.err conftest.$ac_objext \
6823 conftest$ac_exeext conftest.$ac_ext
6824 LDFLAGS="$save_LDFLAGS"
6827 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_exported_symbols_list" >&5
6828 $as_echo "$lt_cv_ld_exported_symbols_list" >&6; }
6830 rhapsody* | darwin1.[012])
6831 _lt_dar_allow_undefined='${wl}-undefined ${wl}suppress' ;;
6833 _lt_dar_allow_undefined='${wl}-flat_namespace ${wl}-undefined ${wl}suppress' ;;
6834 darwin*) # darwin 5.x on
6835 # if running on 10.5 or later, the deployment target defaults
6836 # to the OS version, if on x86, and 10.4, the deployment
6837 # target defaults to 10.4. Don't you love it?
6838 case ${MACOSX_DEPLOYMENT_TARGET-10.0},$host in
6839 10.0,*86*-darwin8*|10.0,*-darwin[91]*)
6840 _lt_dar_allow_undefined='${wl}-undefined ${wl}dynamic_lookup' ;;
6842 _lt_dar_allow_undefined='${wl}-flat_namespace ${wl}-undefined ${wl}suppress' ;;
6844 _lt_dar_allow_undefined='${wl}-undefined ${wl}dynamic_lookup' ;;
6848 if test "$lt_cv_apple_cc_single_mod" = "yes"; then
6849 _lt_dar_single_mod='$single_module'
6851 if test "$lt_cv_ld_exported_symbols_list" = "yes"; then
6852 _lt_dar_export_syms=' ${wl}-exported_symbols_list,$output_objdir/${libname}-symbols.expsym'
6854 _lt_dar_export_syms='~$NMEDIT -s $output_objdir/${libname}-symbols.expsym ${lib}'
6856 if test "$DSYMUTIL" != ":"; then
6857 _lt_dsymutil='~$DSYMUTIL $lib || :'
6865 ac_cpp='$CPP $CPPFLAGS'
6866 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
6867 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
6868 ac_compiler_gnu=$ac_cv_c_compiler_gnu
6869 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C preprocessor" >&5
6870 $as_echo_n "checking how to run the C preprocessor... " >&6; }
6871 # On Suns, sometimes $CPP names a directory.
6872 if test -n "$CPP" && test -d "$CPP"; then
6875 if test -z "$CPP"; then
6876 if test "${ac_cv_prog_CPP+set}" = set; then :
6877 $as_echo_n "(cached) " >&6
6879 # Double quotes because CPP needs to be expanded
6880 for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
6883 for ac_c_preproc_warn_flag in '' yes
6885 # Use a header file that comes with gcc, so configuring glibc
6886 # with a fresh cross-compiler works.
6887 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
6888 # <limits.h> exists even on freestanding compilers.
6889 # On the NeXT, cc -E runs the code through the compiler's parser,
6890 # not just through cpp. "Syntax error" is here to catch this case.
6891 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6892 /* end confdefs.h. */
6894 # include <limits.h>
6896 # include <assert.h>
6900 if ac_fn_c_try_cpp "$LINENO"; then :
6903 # Broken: fails on valid input.
6906 rm -f conftest.err conftest.i conftest.$ac_ext
6908 # OK, works on sane cases. Now check whether nonexistent headers
6909 # can be detected and how.
6910 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6911 /* end confdefs.h. */
6912 #include <ac_nonexistent.h>
6914 if ac_fn_c_try_cpp "$LINENO"; then :
6915 # Broken: success on invalid input.
6918 # Passes both tests.
6922 rm -f conftest.err conftest.i conftest.$ac_ext
6925 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
6926 rm -f conftest.i conftest.err conftest.$ac_ext
6927 if $ac_preproc_ok; then :
6939 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CPP" >&5
6940 $as_echo "$CPP" >&6; }
6942 for ac_c_preproc_warn_flag in '' yes
6944 # Use a header file that comes with gcc, so configuring glibc
6945 # with a fresh cross-compiler works.
6946 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
6947 # <limits.h> exists even on freestanding compilers.
6948 # On the NeXT, cc -E runs the code through the compiler's parser,
6949 # not just through cpp. "Syntax error" is here to catch this case.
6950 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6951 /* end confdefs.h. */
6953 # include <limits.h>
6955 # include <assert.h>
6959 if ac_fn_c_try_cpp "$LINENO"; then :
6962 # Broken: fails on valid input.
6965 rm -f conftest.err conftest.i conftest.$ac_ext
6967 # OK, works on sane cases. Now check whether nonexistent headers
6968 # can be detected and how.
6969 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6970 /* end confdefs.h. */
6971 #include <ac_nonexistent.h>
6973 if ac_fn_c_try_cpp "$LINENO"; then :
6974 # Broken: success on invalid input.
6977 # Passes both tests.
6981 rm -f conftest.err conftest.i conftest.$ac_ext
6984 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
6985 rm -f conftest.i conftest.err conftest.$ac_ext
6986 if $ac_preproc_ok; then :
6989 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
6990 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
6991 as_fn_error $? "C preprocessor \"$CPP\" fails sanity check
6992 See \`config.log' for more details" "$LINENO" 5 ; }
6996 ac_cpp='$CPP $CPPFLAGS'
6997 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
6998 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
6999 ac_compiler_gnu=$ac_cv_c_compiler_gnu
7002 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5
7003 $as_echo_n "checking for ANSI C header files... " >&6; }
7004 if test "${ac_cv_header_stdc+set}" = set; then :
7005 $as_echo_n "(cached) " >&6
7007 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7008 /* end confdefs.h. */
7022 if ac_fn_c_try_compile "$LINENO"; then :
7023 ac_cv_header_stdc=yes
7025 ac_cv_header_stdc=no
7027 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
7029 if test $ac_cv_header_stdc = yes; then
7030 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
7031 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7032 /* end confdefs.h. */
7036 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
7037 $EGREP "memchr" >/dev/null 2>&1; then :
7040 ac_cv_header_stdc=no
7046 if test $ac_cv_header_stdc = yes; then
7047 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
7048 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7049 /* end confdefs.h. */
7053 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
7054 $EGREP "free" >/dev/null 2>&1; then :
7057 ac_cv_header_stdc=no
7063 if test $ac_cv_header_stdc = yes; then
7064 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
7065 if test "$cross_compiling" = yes; then :
7068 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7069 /* end confdefs.h. */
7072 #if ((' ' & 0x0FF) == 0x020)
7073 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
7074 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
7076 # define ISLOWER(c) \
7077 (('a' <= (c) && (c) <= 'i') \
7078 || ('j' <= (c) && (c) <= 'r') \
7079 || ('s' <= (c) && (c) <= 'z'))
7080 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
7083 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
7088 for (i = 0; i < 256; i++)
7089 if (XOR (islower (i), ISLOWER (i))
7090 || toupper (i) != TOUPPER (i))
7095 if ac_fn_c_try_run "$LINENO"; then :
7098 ac_cv_header_stdc=no
7100 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
7101 conftest.$ac_objext conftest.beam conftest.$ac_ext
7106 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdc" >&5
7107 $as_echo "$ac_cv_header_stdc" >&6; }
7108 if test $ac_cv_header_stdc = yes; then
7110 $as_echo "#define STDC_HEADERS 1" >>confdefs.h
7114 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
7115 for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
7116 inttypes.h stdint.h unistd.h
7118 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
7119 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default
7121 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
7122 cat >>confdefs.h <<_ACEOF
7123 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
7131 for ac_header in dlfcn.h
7133 ac_fn_c_check_header_compile "$LINENO" "dlfcn.h" "ac_cv_header_dlfcn_h" "$ac_includes_default
7135 if test "x$ac_cv_header_dlfcn_h" = x""yes; then :
7136 cat >>confdefs.h <<_ACEOF
7137 #define HAVE_DLFCN_H 1
7154 # Check whether --enable-shared was given.
7155 if test "${enable_shared+set}" = set; then :
7156 enableval=$enable_shared; p=${PACKAGE-default}
7158 yes) enable_shared=yes ;;
7159 no) enable_shared=no ;;
7162 # Look at the argument we got. We use all the common list separators.
7163 lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
7164 for pkg in $enableval; do
7166 if test "X$pkg" = "X$p"; then
7185 # Check whether --enable-static was given.
7186 if test "${enable_static+set}" = set; then :
7187 enableval=$enable_static; p=${PACKAGE-default}
7189 yes) enable_static=yes ;;
7190 no) enable_static=no ;;
7193 # Look at the argument we got. We use all the common list separators.
7194 lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
7195 for pkg in $enableval; do
7197 if test "X$pkg" = "X$p"; then
7217 # Check whether --with-pic was given.
7218 if test "${with_pic+set}" = set; then :
7219 withval=$with_pic; pic_mode="$withval"
7225 test -z "$pic_mode" && pic_mode=default
7233 # Check whether --enable-fast-install was given.
7234 if test "${enable_fast_install+set}" = set; then :
7235 enableval=$enable_fast_install; p=${PACKAGE-default}
7237 yes) enable_fast_install=yes ;;
7238 no) enable_fast_install=no ;;
7240 enable_fast_install=no
7241 # Look at the argument we got. We use all the common list separators.
7242 lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
7243 for pkg in $enableval; do
7245 if test "X$pkg" = "X$p"; then
7246 enable_fast_install=yes
7253 enable_fast_install=yes
7266 # This can be used to rebuild libtool when needed
7267 LIBTOOL_DEPS="$ltmain"
7269 # Always use our own libtool.
7270 LIBTOOL='$(SHELL) $(top_builddir)/libtool'
7296 test -z "$LN_S" && LN_S="ln -s"
7311 if test -n "${ZSH_VERSION+set}" ; then
7312 setopt NO_GLOB_SUBST
7315 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for objdir" >&5
7316 $as_echo_n "checking for objdir... " >&6; }
7317 if test "${lt_cv_objdir+set}" = set; then :
7318 $as_echo_n "(cached) " >&6
7320 rm -f .libs 2>/dev/null
7321 mkdir .libs 2>/dev/null
7322 if test -d .libs; then
7325 # MS-DOS does not allow filenames that begin with a dot.
7328 rmdir .libs 2>/dev/null
7330 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_objdir" >&5
7331 $as_echo "$lt_cv_objdir" >&6; }
7332 objdir=$lt_cv_objdir
7338 cat >>confdefs.h <<_ACEOF
7339 #define LT_OBJDIR "$lt_cv_objdir/"
7360 # AIX sometimes has problems with the GCC collect2 program. For some
7361 # reason, if we set the COLLECT_NAMES environment variable, the problems
7362 # vanish in a puff of smoke.
7363 if test "X${COLLECT_NAMES+set}" != Xset; then
7365 export COLLECT_NAMES
7370 # Sed substitution that helps us do robust quoting. It backslashifies
7371 # metacharacters that are still active within double-quoted strings.
7372 sed_quote_subst='s/\(["`$\\]\)/\\\1/g'
7374 # Same as above, but do not quote variable references.
7375 double_quote_subst='s/\(["`\\]\)/\\\1/g'
7377 # Sed substitution to delay expansion of an escaped shell variable in a
7378 # double_quote_subst'ed string.
7379 delay_variable_subst='s/\\\\\\\\\\\$/\\\\\\$/g'
7381 # Sed substitution to delay expansion of an escaped single quote.
7382 delay_single_quote_subst='s/'\''/'\'\\\\\\\'\''/g'
7384 # Sed substitution to avoid accidental globbing in evaled expressions
7385 no_glob_subst='s/\*/\\\*/g'
7389 can_build_shared=yes
7391 # All known linkers require a `.a' archive for static linking (except MSVC,
7392 # which needs '.lib').
7395 with_gnu_ld="$lt_cv_prog_gnu_ld"
7398 old_CFLAGS="$CFLAGS"
7400 # Set sane defaults for various variables
7401 test -z "$CC" && CC=cc
7402 test -z "$LTCC" && LTCC=$CC
7403 test -z "$LTCFLAGS" && LTCFLAGS=$CFLAGS
7404 test -z "$LD" && LD=ld
7405 test -z "$ac_objext" && ac_objext=o
7407 for cc_temp in $compiler""; do
7409 compile | *[\\/]compile | ccache | *[\\/]ccache ) ;;
7410 distcc | *[\\/]distcc | purify | *[\\/]purify ) ;;
7415 cc_basename=`$ECHO "X$cc_temp" | $Xsed -e 's%.*/%%' -e "s%^$host_alias-%%"`
7418 # Only perform the check for file, if the check method requires it
7419 test -z "$MAGIC_CMD" && MAGIC_CMD=file
7420 case $deplibs_check_method in
7422 if test "$file_magic_cmd" = '$MAGIC_CMD'; then
7423 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ${ac_tool_prefix}file" >&5
7424 $as_echo_n "checking for ${ac_tool_prefix}file... " >&6; }
7425 if test "${lt_cv_path_MAGIC_CMD+set}" = set; then :
7426 $as_echo_n "(cached) " >&6
7430 lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a path.
7433 lt_save_MAGIC_CMD="$MAGIC_CMD"
7434 lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
7435 ac_dummy="/usr/bin$PATH_SEPARATOR$PATH"
7436 for ac_dir in $ac_dummy; do
7438 test -z "$ac_dir" && ac_dir=.
7439 if test -f $ac_dir/${ac_tool_prefix}file; then
7440 lt_cv_path_MAGIC_CMD="$ac_dir/${ac_tool_prefix}file"
7441 if test -n "$file_magic_test_file"; then
7442 case $deplibs_check_method in
7444 file_magic_regex=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
7445 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
7446 if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
7447 $EGREP "$file_magic_regex" > /dev/null; then
7452 *** Warning: the command libtool uses to detect shared libraries,
7453 *** $file_magic_cmd, produces output that libtool cannot recognize.
7454 *** The result is that libtool may fail to recognize shared libraries
7455 *** as such. This will affect the creation of libtool libraries that
7456 *** depend on shared libraries, but programs linked with such libtool
7457 *** libraries will work regardless of this problem. Nevertheless, you
7458 *** may want to report the problem to your system manager and/or to
7459 *** bug-libtool@gnu.org
7469 MAGIC_CMD="$lt_save_MAGIC_CMD"
7474 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
7475 if test -n "$MAGIC_CMD"; then
7476 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MAGIC_CMD" >&5
7477 $as_echo "$MAGIC_CMD" >&6; }
7479 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7480 $as_echo "no" >&6; }
7487 if test -z "$lt_cv_path_MAGIC_CMD"; then
7488 if test -n "$ac_tool_prefix"; then
7489 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for file" >&5
7490 $as_echo_n "checking for file... " >&6; }
7491 if test "${lt_cv_path_MAGIC_CMD+set}" = set; then :
7492 $as_echo_n "(cached) " >&6
7496 lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a path.
7499 lt_save_MAGIC_CMD="$MAGIC_CMD"
7500 lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
7501 ac_dummy="/usr/bin$PATH_SEPARATOR$PATH"
7502 for ac_dir in $ac_dummy; do
7504 test -z "$ac_dir" && ac_dir=.
7505 if test -f $ac_dir/file; then
7506 lt_cv_path_MAGIC_CMD="$ac_dir/file"
7507 if test -n "$file_magic_test_file"; then
7508 case $deplibs_check_method in
7510 file_magic_regex=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
7511 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
7512 if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
7513 $EGREP "$file_magic_regex" > /dev/null; then
7518 *** Warning: the command libtool uses to detect shared libraries,
7519 *** $file_magic_cmd, produces output that libtool cannot recognize.
7520 *** The result is that libtool may fail to recognize shared libraries
7521 *** as such. This will affect the creation of libtool libraries that
7522 *** depend on shared libraries, but programs linked with such libtool
7523 *** libraries will work regardless of this problem. Nevertheless, you
7524 *** may want to report the problem to your system manager and/or to
7525 *** bug-libtool@gnu.org
7535 MAGIC_CMD="$lt_save_MAGIC_CMD"
7540 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
7541 if test -n "$MAGIC_CMD"; then
7542 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MAGIC_CMD" >&5
7543 $as_echo "$MAGIC_CMD" >&6; }
7545 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7546 $as_echo "no" >&6; }
7559 # Use C for the default configuration in the libtool script
7563 ac_cpp='$CPP $CPPFLAGS'
7564 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
7565 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
7566 ac_compiler_gnu=$ac_cv_c_compiler_gnu
7569 # Source file extension for C test sources.
7572 # Object file extension for compiled C test sources.
7576 # Code to be used in simple compile tests
7577 lt_simple_compile_test_code="int some_variable = 0;"
7579 # Code to be used in simple link tests
7580 lt_simple_link_test_code='int main(){return(0);}'
7588 # If no C compiler was specified, use CC.
7591 # If no C compiler flags were specified, use CFLAGS.
7592 LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
7594 # Allow CC to be a program name with arguments.
7597 # Save the default compiler, since it gets overwritten when the other
7598 # tags are being tested, and _LT_TAGVAR(compiler, []) is a NOP.
7599 compiler_DEFAULT=$CC
7601 # save warnings/boilerplate of simple test code
7602 ac_outfile=conftest.$ac_objext
7603 echo "$lt_simple_compile_test_code" >conftest.$ac_ext
7604 eval "$ac_compile" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
7605 _lt_compiler_boilerplate=`cat conftest.err`
7608 ac_outfile=conftest.$ac_objext
7609 echo "$lt_simple_link_test_code" >conftest.$ac_ext
7610 eval "$ac_link" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
7611 _lt_linker_boilerplate=`cat conftest.err`
7616 ## There is no encapsulation within the following macros, do not change
7617 ## the running order or otherwise move them around unless you know exactly
7618 ## what you are doing...
7619 if test -n "$compiler"; then
7621 lt_prog_compiler_no_builtin_flag=
7623 if test "$GCC" = yes; then
7624 lt_prog_compiler_no_builtin_flag=' -fno-builtin'
7626 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -fno-rtti -fno-exceptions" >&5
7627 $as_echo_n "checking if $compiler supports -fno-rtti -fno-exceptions... " >&6; }
7628 if test "${lt_cv_prog_compiler_rtti_exceptions+set}" = set; then :
7629 $as_echo_n "(cached) " >&6
7631 lt_cv_prog_compiler_rtti_exceptions=no
7632 ac_outfile=conftest.$ac_objext
7633 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
7634 lt_compiler_flag="-fno-rtti -fno-exceptions"
7635 # Insert the option either (1) after the last *FLAGS variable, or
7636 # (2) before a word containing "conftest.", or (3) at the end.
7637 # Note that $ac_compile itself does not contain backslashes and begins
7638 # with a dollar sign (not a hyphen), so the echo should work correctly.
7639 # The option is referenced via a variable to avoid confusing sed.
7640 lt_compile=`echo "$ac_compile" | $SED \
7641 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
7642 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
7643 -e 's:$: $lt_compiler_flag:'`
7644 (eval echo "\"\$as_me:7644: $lt_compile\"" >&5)
7645 (eval "$lt_compile" 2>conftest.err)
7647 cat conftest.err >&5
7648 echo "$as_me:7648: \$? = $ac_status" >&5
7649 if (exit $ac_status) && test -s "$ac_outfile"; then
7650 # The compiler can only warn and ignore the option if not recognized
7651 # So say no if there are warnings other than the usual output.
7652 $ECHO "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' >conftest.exp
7653 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
7654 if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
7655 lt_cv_prog_compiler_rtti_exceptions=yes
7661 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_rtti_exceptions" >&5
7662 $as_echo "$lt_cv_prog_compiler_rtti_exceptions" >&6; }
7664 if test x"$lt_cv_prog_compiler_rtti_exceptions" = xyes; then
7665 lt_prog_compiler_no_builtin_flag="$lt_prog_compiler_no_builtin_flag -fno-rtti -fno-exceptions"
7677 lt_prog_compiler_wl=
7678 lt_prog_compiler_pic=
7679 lt_prog_compiler_static=
7681 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $compiler option to produce PIC" >&5
7682 $as_echo_n "checking for $compiler option to produce PIC... " >&6; }
7684 if test "$GCC" = yes; then
7685 lt_prog_compiler_wl='-Wl,'
7686 lt_prog_compiler_static='-static'
7690 # All AIX code is PIC.
7691 if test "$host_cpu" = ia64; then
7692 # AIX 5 now supports IA64 processor
7693 lt_prog_compiler_static='-Bstatic'
7700 # see comment about AmigaOS4 .so support
7701 lt_prog_compiler_pic='-fPIC'
7704 # FIXME: we need at least 68020 code to build shared libraries, but
7705 # adding the `-m68020' flag to GCC prevents building anything better,
7707 lt_prog_compiler_pic='-m68020 -resident32 -malways-restore-a4'
7712 beos* | irix5* | irix6* | nonstopux* | osf3* | osf4* | osf5*)
7713 # PIC is the default for these OSes.
7716 mingw* | cygwin* | pw32* | os2* | cegcc*)
7717 # This hack is so that the source file can tell whether it is being
7718 # built for inclusion in a dll (and should export symbols for example).
7719 # Although the cygwin gcc ignores -fPIC, still need this for old-style
7720 # (--disable-auto-import) libraries
7721 lt_prog_compiler_pic='-DDLL_EXPORT'
7724 darwin* | rhapsody*)
7725 # PIC is the default on this platform
7726 # Common symbols not allowed in MH_DYLIB files
7727 lt_prog_compiler_pic='-fno-common'
7731 # PIC is the default for 64-bit PA HP-UX, but not for 32-bit
7732 # PA HP-UX. On IA64 HP-UX, PIC is the default but the pic flag
7733 # sets the default TLS model and affects inlining.
7739 lt_prog_compiler_pic='-fPIC'
7745 # Interix 3.x gcc -fpic/-fPIC options generate broken code.
7746 # Instead, we relocate shared libraries at runtime.
7750 # Just because we use GCC doesn't mean we suddenly get shared libraries
7751 # on systems that don't support them.
7752 lt_prog_compiler_can_build_shared=no
7757 # QNX uses GNU C++, but need to define -shared option too, otherwise
7759 lt_prog_compiler_pic='-fPIC -shared'
7763 if test -d /usr/nec; then
7764 lt_prog_compiler_pic=-Kconform_pic
7769 lt_prog_compiler_pic='-fPIC'
7773 # PORTME Check for flag to pass linker flags through the system compiler.
7776 lt_prog_compiler_wl='-Wl,'
7777 if test "$host_cpu" = ia64; then
7778 # AIX 5 now supports IA64 processor
7779 lt_prog_compiler_static='-Bstatic'
7781 lt_prog_compiler_static='-bnso -bI:/lib/syscalls.exp'
7785 mingw* | cygwin* | pw32* | os2* | cegcc*)
7786 # This hack is so that the source file can tell whether it is being
7787 # built for inclusion in a dll (and should export symbols for example).
7788 lt_prog_compiler_pic='-DDLL_EXPORT'
7791 hpux9* | hpux10* | hpux11*)
7792 lt_prog_compiler_wl='-Wl,'
7793 # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
7800 lt_prog_compiler_pic='+Z'
7803 # Is there a better lt_prog_compiler_static that works with the bundled CC?
7804 lt_prog_compiler_static='${wl}-a ${wl}archive'
7807 irix5* | irix6* | nonstopux*)
7808 lt_prog_compiler_wl='-Wl,'
7809 # PIC (with -KPIC) is the default.
7810 lt_prog_compiler_static='-non_shared'
7813 linux* | k*bsd*-gnu | kopensolaris*-gnu)
7814 case $cc_basename in
7815 # old Intel for x86_64 which still supported -KPIC.
7817 lt_prog_compiler_wl='-Wl,'
7818 lt_prog_compiler_pic='-KPIC'
7819 lt_prog_compiler_static='-static'
7821 # icc used to be incompatible with GCC.
7822 # ICC 10 doesn't accept -KPIC any more.
7824 lt_prog_compiler_wl='-Wl,'
7825 lt_prog_compiler_pic='-fPIC'
7826 lt_prog_compiler_static='-static'
7828 # Lahey Fortran 8.1.
7830 lt_prog_compiler_wl='-Wl,'
7831 lt_prog_compiler_pic='--shared'
7832 lt_prog_compiler_static='--static'
7834 pgcc* | pgf77* | pgf90* | pgf95*)
7835 # Portland Group compilers (*not* the Pentium gcc compiler,
7836 # which looks to be a dead project)
7837 lt_prog_compiler_wl='-Wl,'
7838 lt_prog_compiler_pic='-fpic'
7839 lt_prog_compiler_static='-Bstatic'
7842 lt_prog_compiler_wl='-Wl,'
7843 # All Alpha code is PIC.
7844 lt_prog_compiler_static='-non_shared'
7847 # IBM XL C 8.0/Fortran 10.1 on PPC
7848 lt_prog_compiler_wl='-Wl,'
7849 lt_prog_compiler_pic='-qpic'
7850 lt_prog_compiler_static='-qstaticlink'
7853 case `$CC -V 2>&1 | sed 5q` in
7856 lt_prog_compiler_pic='-KPIC'
7857 lt_prog_compiler_static='-Bstatic'
7858 lt_prog_compiler_wl='-Wl,'
7861 # Sun Fortran 8.3 passes all unrecognized flags to the linker
7862 lt_prog_compiler_pic='-KPIC'
7863 lt_prog_compiler_static='-Bstatic'
7864 lt_prog_compiler_wl=''
7872 lt_prog_compiler_pic='-KPIC'
7873 lt_prog_compiler_static='-Bstatic'
7877 # QNX uses GNU C++, but need to define -shared option too, otherwise
7879 lt_prog_compiler_pic='-fPIC -shared'
7882 osf3* | osf4* | osf5*)
7883 lt_prog_compiler_wl='-Wl,'
7884 # All OSF/1 code is PIC.
7885 lt_prog_compiler_static='-non_shared'
7889 lt_prog_compiler_static='-non_shared'
7893 lt_prog_compiler_pic='-KPIC'
7894 lt_prog_compiler_static='-Bstatic'
7895 case $cc_basename in
7897 lt_prog_compiler_wl='-Qoption ld ';;
7899 lt_prog_compiler_wl='-Wl,';;
7904 lt_prog_compiler_wl='-Qoption ld '
7905 lt_prog_compiler_pic='-PIC'
7906 lt_prog_compiler_static='-Bstatic'
7909 sysv4 | sysv4.2uw2* | sysv4.3*)
7910 lt_prog_compiler_wl='-Wl,'
7911 lt_prog_compiler_pic='-KPIC'
7912 lt_prog_compiler_static='-Bstatic'
7916 if test -d /usr/nec ;then
7917 lt_prog_compiler_pic='-Kconform_pic'
7918 lt_prog_compiler_static='-Bstatic'
7922 sysv5* | unixware* | sco3.2v5* | sco5v6* | OpenUNIX*)
7923 lt_prog_compiler_wl='-Wl,'
7924 lt_prog_compiler_pic='-KPIC'
7925 lt_prog_compiler_static='-Bstatic'
7929 lt_prog_compiler_wl='-Wl,'
7930 lt_prog_compiler_can_build_shared=no
7934 lt_prog_compiler_pic='-pic'
7935 lt_prog_compiler_static='-Bstatic'
7939 lt_prog_compiler_can_build_shared=no
7945 # For platforms which do not support PIC, -DPIC is meaningless:
7947 lt_prog_compiler_pic=
7950 lt_prog_compiler_pic="$lt_prog_compiler_pic -DPIC"
7953 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_prog_compiler_pic" >&5
7954 $as_echo "$lt_prog_compiler_pic" >&6; }
7962 # Check to make sure the PIC flag actually works.
7964 if test -n "$lt_prog_compiler_pic"; then
7965 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler PIC flag $lt_prog_compiler_pic works" >&5
7966 $as_echo_n "checking if $compiler PIC flag $lt_prog_compiler_pic works... " >&6; }
7967 if test "${lt_cv_prog_compiler_pic_works+set}" = set; then :
7968 $as_echo_n "(cached) " >&6
7970 lt_cv_prog_compiler_pic_works=no
7971 ac_outfile=conftest.$ac_objext
7972 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
7973 lt_compiler_flag="$lt_prog_compiler_pic -DPIC"
7974 # Insert the option either (1) after the last *FLAGS variable, or
7975 # (2) before a word containing "conftest.", or (3) at the end.
7976 # Note that $ac_compile itself does not contain backslashes and begins
7977 # with a dollar sign (not a hyphen), so the echo should work correctly.
7978 # The option is referenced via a variable to avoid confusing sed.
7979 lt_compile=`echo "$ac_compile" | $SED \
7980 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
7981 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
7982 -e 's:$: $lt_compiler_flag:'`
7983 (eval echo "\"\$as_me:7983: $lt_compile\"" >&5)
7984 (eval "$lt_compile" 2>conftest.err)
7986 cat conftest.err >&5
7987 echo "$as_me:7987: \$? = $ac_status" >&5
7988 if (exit $ac_status) && test -s "$ac_outfile"; then
7989 # The compiler can only warn and ignore the option if not recognized
7990 # So say no if there are warnings other than the usual output.
7991 $ECHO "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' >conftest.exp
7992 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
7993 if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
7994 lt_cv_prog_compiler_pic_works=yes
8000 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic_works" >&5
8001 $as_echo "$lt_cv_prog_compiler_pic_works" >&6; }
8003 if test x"$lt_cv_prog_compiler_pic_works" = xyes; then
8004 case $lt_prog_compiler_pic in
8006 *) lt_prog_compiler_pic=" $lt_prog_compiler_pic" ;;
8009 lt_prog_compiler_pic=
8010 lt_prog_compiler_can_build_shared=no
8021 # Check to make sure the static flag actually works.
8023 wl=$lt_prog_compiler_wl eval lt_tmp_static_flag=\"$lt_prog_compiler_static\"
8024 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler static flag $lt_tmp_static_flag works" >&5
8025 $as_echo_n "checking if $compiler static flag $lt_tmp_static_flag works... " >&6; }
8026 if test "${lt_cv_prog_compiler_static_works+set}" = set; then :
8027 $as_echo_n "(cached) " >&6
8029 lt_cv_prog_compiler_static_works=no
8030 save_LDFLAGS="$LDFLAGS"
8031 LDFLAGS="$LDFLAGS $lt_tmp_static_flag"
8032 echo "$lt_simple_link_test_code" > conftest.$ac_ext
8033 if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
8034 # The linker can only warn and ignore the option if not recognized
8035 # So say no if there are warnings
8036 if test -s conftest.err; then
8037 # Append any errors to the config.log.
8038 cat conftest.err 1>&5
8039 $ECHO "X$_lt_linker_boilerplate" | $Xsed -e '/^$/d' > conftest.exp
8040 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
8041 if diff conftest.exp conftest.er2 >/dev/null; then
8042 lt_cv_prog_compiler_static_works=yes
8045 lt_cv_prog_compiler_static_works=yes
8049 LDFLAGS="$save_LDFLAGS"
8052 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_static_works" >&5
8053 $as_echo "$lt_cv_prog_compiler_static_works" >&6; }
8055 if test x"$lt_cv_prog_compiler_static_works" = xyes; then
8058 lt_prog_compiler_static=
8067 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
8068 $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
8069 if test "${lt_cv_prog_compiler_c_o+set}" = set; then :
8070 $as_echo_n "(cached) " >&6
8072 lt_cv_prog_compiler_c_o=no
8073 $RM -r conftest 2>/dev/null
8077 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
8079 lt_compiler_flag="-o out/conftest2.$ac_objext"
8080 # Insert the option either (1) after the last *FLAGS variable, or
8081 # (2) before a word containing "conftest.", or (3) at the end.
8082 # Note that $ac_compile itself does not contain backslashes and begins
8083 # with a dollar sign (not a hyphen), so the echo should work correctly.
8084 lt_compile=`echo "$ac_compile" | $SED \
8085 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
8086 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
8087 -e 's:$: $lt_compiler_flag:'`
8088 (eval echo "\"\$as_me:8088: $lt_compile\"" >&5)
8089 (eval "$lt_compile" 2>out/conftest.err)
8091 cat out/conftest.err >&5
8092 echo "$as_me:8092: \$? = $ac_status" >&5
8093 if (exit $ac_status) && test -s out/conftest2.$ac_objext
8095 # The compiler can only warn and ignore the option if not recognized
8096 # So say no if there are warnings
8097 $ECHO "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' > out/conftest.exp
8098 $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
8099 if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
8100 lt_cv_prog_compiler_c_o=yes
8105 # SGI C++ compiler will create directory out/ii_files/ for
8106 # template instantiation
8107 test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
8108 $RM out/* && rmdir out
8114 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o" >&5
8115 $as_echo "$lt_cv_prog_compiler_c_o" >&6; }
8122 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
8123 $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
8124 if test "${lt_cv_prog_compiler_c_o+set}" = set; then :
8125 $as_echo_n "(cached) " >&6
8127 lt_cv_prog_compiler_c_o=no
8128 $RM -r conftest 2>/dev/null
8132 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
8134 lt_compiler_flag="-o out/conftest2.$ac_objext"
8135 # Insert the option either (1) after the last *FLAGS variable, or
8136 # (2) before a word containing "conftest.", or (3) at the end.
8137 # Note that $ac_compile itself does not contain backslashes and begins
8138 # with a dollar sign (not a hyphen), so the echo should work correctly.
8139 lt_compile=`echo "$ac_compile" | $SED \
8140 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
8141 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
8142 -e 's:$: $lt_compiler_flag:'`
8143 (eval echo "\"\$as_me:8143: $lt_compile\"" >&5)
8144 (eval "$lt_compile" 2>out/conftest.err)
8146 cat out/conftest.err >&5
8147 echo "$as_me:8147: \$? = $ac_status" >&5
8148 if (exit $ac_status) && test -s out/conftest2.$ac_objext
8150 # The compiler can only warn and ignore the option if not recognized
8151 # So say no if there are warnings
8152 $ECHO "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' > out/conftest.exp
8153 $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
8154 if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
8155 lt_cv_prog_compiler_c_o=yes
8160 # SGI C++ compiler will create directory out/ii_files/ for
8161 # template instantiation
8162 test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
8163 $RM out/* && rmdir out
8169 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o" >&5
8170 $as_echo "$lt_cv_prog_compiler_c_o" >&6; }
8175 hard_links="nottested"
8176 if test "$lt_cv_prog_compiler_c_o" = no && test "$need_locks" != no; then
8177 # do not overwrite the value of need_locks provided by the user
8178 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if we can lock with hard links" >&5
8179 $as_echo_n "checking if we can lock with hard links... " >&6; }
8182 ln conftest.a conftest.b 2>/dev/null && hard_links=no
8184 ln conftest.a conftest.b 2>&5 || hard_links=no
8185 ln conftest.a conftest.b 2>/dev/null && hard_links=no
8186 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hard_links" >&5
8187 $as_echo "$hard_links" >&6; }
8188 if test "$hard_links" = no; then
8189 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5
8190 $as_echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;}
8202 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $compiler linker ($LD) supports shared libraries" >&5
8203 $as_echo_n "checking whether the $compiler linker ($LD) supports shared libraries... " >&6; }
8206 allow_undefined_flag=
8207 always_export_symbols=no
8209 archive_expsym_cmds=
8210 compiler_needs_object=no
8211 enable_shared_with_static_runtimes=no
8212 export_dynamic_flag_spec=
8213 export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
8214 hardcode_automatic=no
8216 hardcode_direct_absolute=no
8217 hardcode_libdir_flag_spec=
8218 hardcode_libdir_flag_spec_ld=
8219 hardcode_libdir_separator=
8221 hardcode_shlibpath_var=unsupported
8223 link_all_deplibs=unknown
8226 old_archive_from_new_cmds=
8227 old_archive_from_expsyms_cmds=
8228 thread_safe_flag_spec=
8229 whole_archive_flag_spec=
8230 # include_expsyms should be a list of space-separated symbols to be *always*
8231 # included in the symbol list
8233 # exclude_expsyms can be an extended regexp of symbols to exclude
8234 # it will be wrapped by ` (' and `)$', so one must not match beginning or
8235 # end of line. Example: `a|bc|.*d.*' will exclude the symbols `a' and `bc',
8236 # as well as any symbol that contains `d'.
8237 exclude_expsyms='_GLOBAL_OFFSET_TABLE_|_GLOBAL__F[ID]_.*'
8238 # Although _GLOBAL_OFFSET_TABLE_ is a valid symbol C name, most a.out
8239 # platforms (ab)use it in PIC code, but their linkers get confused if
8240 # the symbol is explicitly referenced. Since portable code cannot
8241 # rely on this symbol name, it's probably fine to never include it in
8242 # preloaded symbol tables.
8243 # Exclude shared library initialization/finalization symbols.
8244 extract_expsyms_cmds=
8247 cygwin* | mingw* | pw32* | cegcc*)
8248 # FIXME: the MSVC++ port hasn't been tested in a loooong time
8249 # When not using gcc, we currently assume that we are using
8250 # Microsoft Visual C++.
8251 if test "$GCC" != yes; then
8256 # we just hope/assume this is gcc and not c89 (= MSVC++)
8262 linux* | k*bsd*-gnu)
8268 if test "$with_gnu_ld" = yes; then
8269 # If archive_cmds runs LD, not CC, wlarc should be empty
8272 # Set some defaults for GNU ld with shared library support. These
8273 # are reset later if shared libraries are not supported. Putting them
8274 # here allows them to be overridden if necessary.
8275 runpath_var=LD_RUN_PATH
8276 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
8277 export_dynamic_flag_spec='${wl}--export-dynamic'
8278 # ancient GNU ld didn't support --whole-archive et. al.
8279 if $LD --help 2>&1 | $GREP 'no-whole-archive' > /dev/null; then
8280 whole_archive_flag_spec="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
8282 whole_archive_flag_spec=
8284 supports_anon_versioning=no
8285 case `$LD -v 2>&1` in
8286 *GNU\ gold*) supports_anon_versioning=yes ;;
8287 *\ [01].* | *\ 2.[0-9].* | *\ 2.10.*) ;; # catch versions < 2.11
8288 *\ 2.11.93.0.2\ *) supports_anon_versioning=yes ;; # RH7.3 ...
8289 *\ 2.11.92.0.12\ *) supports_anon_versioning=yes ;; # Mandrake 8.2 ...
8290 *\ 2.11.*) ;; # other 2.11 versions
8291 *) supports_anon_versioning=yes ;;
8294 # See if GNU ld supports shared libraries.
8297 # On AIX/PPC, the GNU linker is very broken
8298 if test "$host_cpu" != ia64; then
8302 *** Warning: the GNU linker, at least up to release 2.9.1, is reported
8303 *** to be unable to reliably create shared libraries on AIX.
8304 *** Therefore, libtool is disabling shared libraries support. If you
8305 *** really care for shared libraries, you may want to modify your PATH
8306 *** so that a non-GNU linker is found, and then restart.
8315 # see comment about AmigaOS4 .so support
8316 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
8317 archive_expsym_cmds=''
8320 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)'
8321 hardcode_libdir_flag_spec='-L$libdir'
8322 hardcode_minus_L=yes
8328 if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
8329 allow_undefined_flag=unsupported
8330 # Joseph Beckenbach <jrb3@best.com> says some releases of gcc
8331 # support --undefined. This deserves some investigation. FIXME
8332 archive_cmds='$CC -nostart $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
8338 cygwin* | mingw* | pw32* | cegcc*)
8339 # _LT_TAGVAR(hardcode_libdir_flag_spec, ) is actually meaningless,
8340 # as there is no search path for DLLs.
8341 hardcode_libdir_flag_spec='-L$libdir'
8342 allow_undefined_flag=unsupported
8343 always_export_symbols=no
8344 enable_shared_with_static_runtimes=yes
8345 export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS][ ]/s/.*[ ]\([^ ]*\)/\1 DATA/'\'' | $SED -e '\''/^[AITW][ ]/s/.*[ ]//'\'' | sort | uniq > $export_symbols'
8347 if $LD --help 2>&1 | $GREP 'auto-import' > /dev/null; then
8348 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
8349 # If the export-symbols file already is a .def file (1st line
8350 # is EXPORTS), use it as is; otherwise, prepend...
8351 archive_expsym_cmds='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
8352 cp $export_symbols $output_objdir/$soname.def;
8354 echo EXPORTS > $output_objdir/$soname.def;
8355 cat $export_symbols >> $output_objdir/$soname.def;
8357 $CC -shared $output_objdir/$soname.def $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
8365 hardcode_shlibpath_var=no
8366 hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
8367 export_dynamic_flag_spec='${wl}-E'
8368 # Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc.
8369 # Instead, shared libraries are loaded at an image base (0x10000000 by
8370 # default) and relocated if they conflict, which is a slow very memory
8371 # consuming and fragmenting process. To avoid this, we pick a random,
8372 # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link
8373 # time. Moving up from 0x10000000 also allows more sbrk(2) space.
8374 archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-h,$soname ${wl}--image-base,`expr ${RANDOM-$$} % 4096 / 2 \* 262144 + 1342177280` -o $lib'
8375 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'
8378 gnu* | linux* | tpf* | k*bsd*-gnu | kopensolaris*-gnu)
8380 if test "$host_os" = linux-dietlibc; then
8381 case $cc_basename in
8382 diet\ *) tmp_diet=yes;; # linux-dietlibc with static linking (!diet-dyn)
8385 if $LD --help 2>&1 | $EGREP ': supported targets:.* elf' > /dev/null \
8386 && test "$tmp_diet" = no
8389 tmp_sharedflag='-shared'
8390 case $cc_basename,$host_cpu in
8391 pgcc*) # Portland Group C compiler
8392 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'
8393 tmp_addflag=' $pic_flag'
8395 pgf77* | pgf90* | pgf95*) # Portland Group f77 and f90 compilers
8396 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'
8397 tmp_addflag=' $pic_flag -Mnomain' ;;
8398 ecc*,ia64* | icc*,ia64*) # Intel C compiler on ia64
8399 tmp_addflag=' -i_dynamic' ;;
8400 efc*,ia64* | ifort*,ia64*) # Intel Fortran compiler on ia64
8401 tmp_addflag=' -i_dynamic -nofor_main' ;;
8402 ifc* | ifort*) # Intel Fortran compiler
8403 tmp_addflag=' -nofor_main' ;;
8404 lf95*) # Lahey Fortran 8.1
8405 whole_archive_flag_spec=
8406 tmp_sharedflag='--shared' ;;
8407 xl[cC]*) # IBM XL C 8.0 on PPC (deal with xlf below)
8408 tmp_sharedflag='-qmkshrobj'
8411 case `$CC -V 2>&1 | sed 5q` in
8412 *Sun\ C*) # Sun C 5.9
8413 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'
8414 compiler_needs_object=yes
8415 tmp_sharedflag='-G' ;;
8416 *Sun\ F*) # Sun Fortran 8.3
8417 tmp_sharedflag='-G' ;;
8419 archive_cmds='$CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
8421 if test "x$supports_anon_versioning" = xyes; then
8422 archive_expsym_cmds='echo "{ global:" > $output_objdir/$libname.ver~
8423 cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
8424 echo "local: *; };" >> $output_objdir/$libname.ver~
8425 $CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-version-script ${wl}$output_objdir/$libname.ver -o $lib'
8428 case $cc_basename in
8430 # IBM XL Fortran 10.1 on PPC cannot create shared libs itself
8431 whole_archive_flag_spec='--whole-archive$convenience --no-whole-archive'
8432 hardcode_libdir_flag_spec=
8433 hardcode_libdir_flag_spec_ld='-rpath $libdir'
8434 archive_cmds='$LD -shared $libobjs $deplibs $compiler_flags -soname $soname -o $lib'
8435 if test "x$supports_anon_versioning" = xyes; then
8436 archive_expsym_cmds='echo "{ global:" > $output_objdir/$libname.ver~
8437 cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
8438 echo "local: *; };" >> $output_objdir/$libname.ver~
8439 $LD -shared $libobjs $deplibs $compiler_flags -soname $soname -version-script $output_objdir/$libname.ver -o $lib'
8448 netbsd* | netbsdelf*-gnu)
8449 if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
8450 archive_cmds='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib'
8453 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
8454 archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
8459 if $LD -v 2>&1 | $GREP 'BFD 2\.8' > /dev/null; then
8463 *** Warning: The releases 2.8.* of the GNU linker cannot reliably
8464 *** create shared libraries on Solaris systems. Therefore, libtool
8465 *** is disabling shared libraries support. We urge you to upgrade GNU
8466 *** binutils to release 2.9.1 or newer. Another option is to modify
8467 *** your PATH or compiler configuration so that the native linker is
8468 *** used, and then restart.
8471 elif $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
8472 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
8473 archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
8479 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX*)
8480 case `$LD -v 2>&1` in
8481 *\ [01].* | *\ 2.[0-9].* | *\ 2.1[0-5].*)
8485 *** Warning: Releases of the GNU linker prior to 2.16.91.0.3 can not
8486 *** reliably create shared libraries on SCO systems. Therefore, libtool
8487 *** is disabling shared libraries support. We urge you to upgrade GNU
8488 *** binutils to release 2.16.91.0.3 or newer. Another option is to modify
8489 *** your PATH or compiler configuration so that the native linker is
8490 *** used, and then restart.
8495 # For security reasons, it is highly recommended that you always
8496 # use absolute paths for naming shared libraries, and exclude the
8497 # DT_RUNPATH tag from executables and libraries. But doing so
8498 # requires that you compile everything twice, which is a pain.
8499 if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
8500 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
8501 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
8502 archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
8511 archive_cmds='$LD -assert pure-text -Bshareable -o $lib $libobjs $deplibs $linker_flags'
8514 hardcode_shlibpath_var=no
8518 if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
8519 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
8520 archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
8527 if test "$ld_shlibs" = no; then
8529 hardcode_libdir_flag_spec=
8530 export_dynamic_flag_spec=
8531 whole_archive_flag_spec=
8534 # PORTME fill in a description of your system's linker (not GNU ld)
8537 allow_undefined_flag=unsupported
8538 always_export_symbols=yes
8539 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'
8540 # Note: this linker hardcodes the directories in LIBPATH if there
8541 # are no directories specified by -L.
8542 hardcode_minus_L=yes
8543 if test "$GCC" = yes && test -z "$lt_prog_compiler_static"; then
8544 # Neither direct hardcoding nor static linking is supported with a
8546 hardcode_direct=unsupported
8551 if test "$host_cpu" = ia64; then
8552 # On IA64, the linker does run time linking by default, so we don't
8553 # have to do anything special.
8554 aix_use_runtimelinking=no
8555 exp_sym_flag='-Bexport'
8558 # If we're using GNU nm, then we don't want the "-C" option.
8559 # -C means demangle to AIX nm, but means don't demangle with GNU nm
8560 if $NM -V 2>&1 | $GREP 'GNU' > /dev/null; then
8561 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'
8563 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'
8565 aix_use_runtimelinking=no
8567 # Test if we are trying to use run time linking or normal
8568 # AIX style linking. If -brtl is somewhere in LDFLAGS, we
8569 # need to do runtime linking.
8570 case $host_os in aix4.[23]|aix4.[23].*|aix[5-9]*)
8571 for ld_flag in $LDFLAGS; do
8572 if (test $ld_flag = "-brtl" || test $ld_flag = "-Wl,-brtl"); then
8573 aix_use_runtimelinking=yes
8580 exp_sym_flag='-bexport'
8581 no_entry_flag='-bnoentry'
8584 # When large executables or shared objects are built, AIX ld can
8585 # have problems creating the table of contents. If linking a library
8586 # or program results in "error TOC overflow" add -mminimal-toc to
8587 # CXXFLAGS/CFLAGS for g++/gcc. In the cases where that is not
8588 # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
8592 hardcode_direct_absolute=yes
8593 hardcode_libdir_separator=':'
8594 link_all_deplibs=yes
8595 file_list_spec='${wl}-f,'
8597 if test "$GCC" = yes; then
8598 case $host_os in aix4.[012]|aix4.[012].*)
8599 # We only want to do this on AIX 4.2 and lower, the check
8600 # below for broken collect2 doesn't work under 4.3+
8601 collect2name=`${CC} -print-prog-name=collect2`
8602 if test -f "$collect2name" &&
8603 strings "$collect2name" | $GREP resolve_lib_name >/dev/null
8605 # We have reworked collect2
8608 # We have old collect2
8609 hardcode_direct=unsupported
8610 # It fails to find uninstalled libraries when the uninstalled
8611 # path is not listed in the libpath. Setting hardcode_minus_L
8612 # to unsupported forces relinking
8613 hardcode_minus_L=yes
8614 hardcode_libdir_flag_spec='-L$libdir'
8615 hardcode_libdir_separator=
8619 shared_flag='-shared'
8620 if test "$aix_use_runtimelinking" = yes; then
8621 shared_flag="$shared_flag "'${wl}-G'
8626 if test "$host_cpu" = ia64; then
8627 # VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
8628 # chokes on -Wl,-G. The following line is correct:
8631 if test "$aix_use_runtimelinking" = yes; then
8632 shared_flag='${wl}-G'
8634 shared_flag='${wl}-bM:SRE'
8639 export_dynamic_flag_spec='${wl}-bexpall'
8640 # It seems that -bexpall does not export symbols beginning with
8641 # underscore (_), so it is better to generate a list of symbols to export.
8642 always_export_symbols=yes
8643 if test "$aix_use_runtimelinking" = yes; then
8644 # Warning - without using the other runtime loading flags (-brtl),
8645 # -berok will link without error, but may produce a broken library.
8646 allow_undefined_flag='-berok'
8647 # Determine the default libpath from the value encoded in an
8649 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8650 /* end confdefs.h. */
8660 if ac_fn_c_try_link "$LINENO"; then :
8662 lt_aix_libpath_sed='
8663 /Import File Strings/,/^$/ {
8669 aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
8670 # Check for a 64-bit object if we didn't find anything.
8671 if test -z "$aix_libpath"; then
8672 aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
8675 rm -f core conftest.err conftest.$ac_objext \
8676 conftest$ac_exeext conftest.$ac_ext
8677 if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
8679 hardcode_libdir_flag_spec='${wl}-blibpath:$libdir:'"$aix_libpath"
8680 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"
8682 if test "$host_cpu" = ia64; then
8683 hardcode_libdir_flag_spec='${wl}-R $libdir:/usr/lib:/lib'
8684 allow_undefined_flag="-z nodefs"
8685 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"
8687 # Determine the default libpath from the value encoded in an
8689 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8690 /* end confdefs.h. */
8700 if ac_fn_c_try_link "$LINENO"; then :
8702 lt_aix_libpath_sed='
8703 /Import File Strings/,/^$/ {
8709 aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
8710 # Check for a 64-bit object if we didn't find anything.
8711 if test -z "$aix_libpath"; then
8712 aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
8715 rm -f core conftest.err conftest.$ac_objext \
8716 conftest$ac_exeext conftest.$ac_ext
8717 if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
8719 hardcode_libdir_flag_spec='${wl}-blibpath:$libdir:'"$aix_libpath"
8720 # Warning - without using the other run time loading flags,
8721 # -berok will link without error, but may produce a broken library.
8722 no_undefined_flag=' ${wl}-bernotok'
8723 allow_undefined_flag=' ${wl}-berok'
8724 # Exported symbols can be pulled into shared objects from archives
8725 whole_archive_flag_spec='$convenience'
8726 archive_cmds_need_lc=yes
8727 # This is similar to how AIX traditionally builds its shared libraries.
8728 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'
8736 # see comment about AmigaOS4 .so support
8737 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
8738 archive_expsym_cmds=''
8741 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)'
8742 hardcode_libdir_flag_spec='-L$libdir'
8743 hardcode_minus_L=yes
8749 export_dynamic_flag_spec=-rdynamic
8752 cygwin* | mingw* | pw32* | cegcc*)
8753 # When not using gcc, we currently assume that we are using
8754 # Microsoft Visual C++.
8755 # hardcode_libdir_flag_spec is actually meaningless, as there is
8756 # no search path for DLLs.
8757 hardcode_libdir_flag_spec=' '
8758 allow_undefined_flag=unsupported
8759 # Tell ltmain to make .lib files, not .a files.
8761 # Tell ltmain to make .dll files, not .so files.
8763 # FIXME: Setting linknames here is a bad hack.
8764 archive_cmds='$CC -o $lib $libobjs $compiler_flags `$ECHO "X$deplibs" | $Xsed -e '\''s/ -lc$//'\''` -link -dll~linknames='
8765 # The linker will automatically build a .lib file if we build a DLL.
8766 old_archive_from_new_cmds='true'
8767 # FIXME: Should let the user specify the lib program.
8768 old_archive_cmds='lib -OUT:$oldlib$oldobjs$old_deplibs'
8769 fix_srcfile_path='`cygpath -w "$srcfile"`'
8770 enable_shared_with_static_runtimes=yes
8773 darwin* | rhapsody*)
8776 archive_cmds_need_lc=no
8778 hardcode_automatic=yes
8779 hardcode_shlibpath_var=unsupported
8780 whole_archive_flag_spec=''
8781 link_all_deplibs=yes
8782 allow_undefined_flag="$_lt_dar_allow_undefined"
8783 case $cc_basename in
8784 ifort*) _lt_dar_can_shared=yes ;;
8785 *) _lt_dar_can_shared=$GCC ;;
8787 if test "$_lt_dar_can_shared" = "yes"; then
8788 output_verbose_link_cmd=echo
8789 archive_cmds="\$CC -dynamiclib \$allow_undefined_flag -o \$lib \$libobjs \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring $_lt_dar_single_mod${_lt_dsymutil}"
8790 module_cmds="\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags${_lt_dsymutil}"
8791 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}"
8792 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}"
8801 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
8802 hardcode_libdir_flag_spec='-L$libdir'
8803 hardcode_shlibpath_var=no
8810 # FreeBSD 2.2.[012] allows us to include c++rt0.o to get C++ constructor
8811 # support. Future versions do this automatically, but an explicit c++rt0.o
8812 # does not break anything, and helps significantly (at the cost of a little
8815 archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags /usr/lib/c++rt0.o'
8816 hardcode_libdir_flag_spec='-R$libdir'
8818 hardcode_shlibpath_var=no
8821 # Unfortunately, older versions of FreeBSD 2 do not have this feature.
8823 archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
8825 hardcode_minus_L=yes
8826 hardcode_shlibpath_var=no
8829 # FreeBSD 3 and greater uses gcc -shared to do shared libraries.
8830 freebsd* | dragonfly*)
8831 archive_cmds='$CC -shared -o $lib $libobjs $deplibs $compiler_flags'
8832 hardcode_libdir_flag_spec='-R$libdir'
8834 hardcode_shlibpath_var=no
8838 if test "$GCC" = yes; then
8839 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'
8841 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'
8843 hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
8844 hardcode_libdir_separator=:
8847 # hardcode_minus_L: Not really in the search PATH,
8848 # but as the default location of the library.
8849 hardcode_minus_L=yes
8850 export_dynamic_flag_spec='${wl}-E'
8854 if test "$GCC" = yes -a "$with_gnu_ld" = no; then
8855 archive_cmds='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
8857 archive_cmds='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
8859 if test "$with_gnu_ld" = no; then
8860 hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
8861 hardcode_libdir_flag_spec_ld='+b $libdir'
8862 hardcode_libdir_separator=:
8864 hardcode_direct_absolute=yes
8865 export_dynamic_flag_spec='${wl}-E'
8866 # hardcode_minus_L: Not really in the search PATH,
8867 # but as the default location of the library.
8868 hardcode_minus_L=yes
8873 if test "$GCC" = yes -a "$with_gnu_ld" = no; then
8876 archive_cmds='$CC -shared ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
8879 archive_cmds='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
8882 archive_cmds='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
8888 archive_cmds='$CC -b ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
8891 archive_cmds='$CC -b ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
8894 archive_cmds='$CC -b ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
8898 if test "$with_gnu_ld" = no; then
8899 hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
8900 hardcode_libdir_separator=:
8905 hardcode_shlibpath_var=no
8909 hardcode_direct_absolute=yes
8910 export_dynamic_flag_spec='${wl}-E'
8912 # hardcode_minus_L: Not really in the search PATH,
8913 # but as the default location of the library.
8914 hardcode_minus_L=yes
8920 irix5* | irix6* | nonstopux*)
8921 if test "$GCC" = yes; then
8922 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'
8923 # Try to use the -exported_symbol ld option, if it does not
8924 # work, assume that -exports_file does not work either and
8925 # implicitly export all symbols.
8926 save_LDFLAGS="$LDFLAGS"
8927 LDFLAGS="$LDFLAGS -shared ${wl}-exported_symbol ${wl}foo ${wl}-update_registry ${wl}/dev/null"
8928 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8929 /* end confdefs.h. */
8932 if ac_fn_c_try_link "$LINENO"; then :
8933 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'
8936 rm -f core conftest.err conftest.$ac_objext \
8937 conftest$ac_exeext conftest.$ac_ext
8938 LDFLAGS="$save_LDFLAGS"
8940 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'
8941 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'
8943 archive_cmds_need_lc='no'
8944 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
8945 hardcode_libdir_separator=:
8947 link_all_deplibs=yes
8950 netbsd* | netbsdelf*-gnu)
8951 if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
8952 archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags' # a.out
8954 archive_cmds='$LD -shared -o $lib $libobjs $deplibs $linker_flags' # ELF
8956 hardcode_libdir_flag_spec='-R$libdir'
8958 hardcode_shlibpath_var=no
8962 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
8964 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
8965 hardcode_libdir_separator=:
8966 hardcode_shlibpath_var=no
8973 if test -f /usr/libexec/ld.so; then
8975 hardcode_shlibpath_var=no
8976 hardcode_direct_absolute=yes
8977 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
8978 archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
8979 archive_expsym_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-retain-symbols-file,$export_symbols'
8980 hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
8981 export_dynamic_flag_spec='${wl}-E'
8984 openbsd[01].* | openbsd2.[0-7] | openbsd2.[0-7].*)
8985 archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
8986 hardcode_libdir_flag_spec='-R$libdir'
8989 archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
8990 hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
9000 hardcode_libdir_flag_spec='-L$libdir'
9001 hardcode_minus_L=yes
9002 allow_undefined_flag=unsupported
9003 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'
9004 old_archive_from_new_cmds='emximp -o $output_objdir/$libname.a $output_objdir/$libname.def'
9008 if test "$GCC" = yes; then
9009 allow_undefined_flag=' ${wl}-expect_unresolved ${wl}\*'
9010 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'
9012 allow_undefined_flag=' -expect_unresolved \*'
9013 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'
9015 archive_cmds_need_lc='no'
9016 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
9017 hardcode_libdir_separator=:
9020 osf4* | osf5*) # as osf3* with the addition of -msym flag
9021 if test "$GCC" = yes; then
9022 allow_undefined_flag=' ${wl}-expect_unresolved ${wl}\*'
9023 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'
9024 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
9026 allow_undefined_flag=' -expect_unresolved \*'
9027 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'
9028 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~
9029 $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'
9031 # Both c and cxx compiler support -rpath directly
9032 hardcode_libdir_flag_spec='-rpath $libdir'
9034 archive_cmds_need_lc='no'
9035 hardcode_libdir_separator=:
9039 no_undefined_flag=' -z defs'
9040 if test "$GCC" = yes; then
9042 archive_cmds='$CC -shared ${wl}-z ${wl}text ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
9043 archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
9044 $CC -shared ${wl}-z ${wl}text ${wl}-M ${wl}$lib.exp ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags~$RM $lib.exp'
9046 case `$CC -V 2>&1` in
9049 archive_cmds='$LD -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $linker_flags'
9050 archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
9051 $LD -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$RM $lib.exp'
9055 archive_cmds='$CC -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $compiler_flags'
9056 archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
9057 $CC -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $compiler_flags~$RM $lib.exp'
9061 hardcode_libdir_flag_spec='-R$libdir'
9062 hardcode_shlibpath_var=no
9064 solaris2.[0-5] | solaris2.[0-5].*) ;;
9066 # The compiler driver will combine and reorder linker options,
9067 # but understands `-z linker_flag'. GCC discards it without `$wl',
9068 # but is careful enough not to reorder.
9069 # Supported since Solaris 2.6 (maybe 2.5.1?)
9070 if test "$GCC" = yes; then
9071 whole_archive_flag_spec='${wl}-z ${wl}allextract$convenience ${wl}-z ${wl}defaultextract'
9073 whole_archive_flag_spec='-z allextract$convenience -z defaultextract'
9077 link_all_deplibs=yes
9081 if test "x$host_vendor" = xsequent; then
9082 # Use $CC to link under sequent, because it throws in some extra .o
9083 # files that make .init and .fini sections work.
9084 archive_cmds='$CC -G ${wl}-h $soname -o $lib $libobjs $deplibs $compiler_flags'
9086 archive_cmds='$LD -assert pure-text -Bstatic -o $lib $libobjs $deplibs $linker_flags'
9088 hardcode_libdir_flag_spec='-L$libdir'
9090 hardcode_minus_L=yes
9091 hardcode_shlibpath_var=no
9095 case $host_vendor in
9097 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
9098 hardcode_direct=yes # is this really true???
9101 ## LD is ld it makes a PLAMLIB
9102 ## CC just makes a GrossModule.
9103 archive_cmds='$LD -G -o $lib $libobjs $deplibs $linker_flags'
9104 reload_cmds='$CC -r -o $output$reload_objs'
9108 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
9109 hardcode_direct=no #Motorola manual says yes, but my tests say they lie
9112 runpath_var='LD_RUN_PATH'
9113 hardcode_shlibpath_var=no
9117 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
9118 hardcode_shlibpath_var=no
9119 export_dynamic_flag_spec='-Bexport'
9123 if test -d /usr/nec; then
9124 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
9125 hardcode_shlibpath_var=no
9126 runpath_var=LD_RUN_PATH
9127 hardcode_runpath_var=yes
9132 sysv4*uw2* | sysv5OpenUNIX* | sysv5UnixWare7.[01].[10]* | unixware7* | sco3.2v5.0.[024]*)
9133 no_undefined_flag='${wl}-z,text'
9134 archive_cmds_need_lc=no
9135 hardcode_shlibpath_var=no
9136 runpath_var='LD_RUN_PATH'
9138 if test "$GCC" = yes; then
9139 archive_cmds='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
9140 archive_expsym_cmds='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
9142 archive_cmds='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
9143 archive_expsym_cmds='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
9147 sysv5* | sco3.2v5* | sco5v6*)
9148 # Note: We can NOT use -z defs as we might desire, because we do not
9149 # link with -lc, and that would cause any symbols used from libc to
9150 # always be unresolved, which means just about no library would
9151 # ever link correctly. If we're not using GNU ld we use -z text
9152 # though, which does catch some bad symbols but isn't as heavy-handed
9154 no_undefined_flag='${wl}-z,text'
9155 allow_undefined_flag='${wl}-z,nodefs'
9156 archive_cmds_need_lc=no
9157 hardcode_shlibpath_var=no
9158 hardcode_libdir_flag_spec='${wl}-R,$libdir'
9159 hardcode_libdir_separator=':'
9160 link_all_deplibs=yes
9161 export_dynamic_flag_spec='${wl}-Bexport'
9162 runpath_var='LD_RUN_PATH'
9164 if test "$GCC" = yes; then
9165 archive_cmds='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
9166 archive_expsym_cmds='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
9168 archive_cmds='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
9169 archive_expsym_cmds='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
9174 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
9175 hardcode_libdir_flag_spec='-L$libdir'
9176 hardcode_shlibpath_var=no
9184 if test x$host_vendor = xsni; then
9186 sysv4 | sysv4.2uw2* | sysv4.3* | sysv5*)
9187 export_dynamic_flag_spec='${wl}-Blargedynsym'
9193 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ld_shlibs" >&5
9194 $as_echo "$ld_shlibs" >&6; }
9195 test "$ld_shlibs" = no && can_build_shared=no
9197 with_gnu_ld=$with_gnu_ld
9214 # Do we need to explicitly link libc?
9216 case "x$archive_cmds_need_lc" in
9218 # Assume -lc should be added
9219 archive_cmds_need_lc=yes
9221 if test "$enable_shared" = yes && test "$GCC" = yes; then
9222 case $archive_cmds in
9224 # FIXME: we may have to deal with multi-command sequences.
9227 # Test whether the compiler implicitly links with -lc since on some
9228 # systems, -lgcc has to come before -lc. If gcc already passes -lc
9229 # to ld, don't add -lc before -lgcc.
9230 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether -lc should be explicitly linked in" >&5
9231 $as_echo_n "checking whether -lc should be explicitly linked in... " >&6; }
9233 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
9235 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
9236 (eval $ac_compile) 2>&5
9238 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
9239 test $ac_status = 0; } 2>conftest.err; then
9242 libobjs=conftest.$ac_objext
9244 wl=$lt_prog_compiler_wl
9245 pic_flag=$lt_prog_compiler_pic
9251 lt_save_allow_undefined_flag=$allow_undefined_flag
9252 allow_undefined_flag=
9253 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$archive_cmds 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1\""; } >&5
9254 (eval $archive_cmds 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1) 2>&5
9256 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
9257 test $ac_status = 0; }
9259 archive_cmds_need_lc=no
9261 archive_cmds_need_lc=yes
9263 allow_undefined_flag=$lt_save_allow_undefined_flag
9265 cat conftest.err 1>&5
9268 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $archive_cmds_need_lc" >&5
9269 $as_echo "$archive_cmds_need_lc" >&6; }
9432 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dynamic linker characteristics" >&5
9433 $as_echo_n "checking dynamic linker characteristics... " >&6; }
9435 if test "$GCC" = yes; then
9437 darwin*) lt_awk_arg="/^libraries:/,/LR/" ;;
9438 *) lt_awk_arg="/^libraries:/" ;;
9440 lt_search_path_spec=`$CC -print-search-dirs | awk $lt_awk_arg | $SED -e "s/^libraries://" -e "s,=/,/,g"`
9441 if $ECHO "$lt_search_path_spec" | $GREP ';' >/dev/null ; then
9442 # if the path contains ";" then we assume it to be the separator
9443 # otherwise default to the standard path separator (i.e. ":") - it is
9444 # assumed that no part of a normal pathname contains ";" but that should
9445 # okay in the real world where ";" in dirpaths is itself problematic.
9446 lt_search_path_spec=`$ECHO "$lt_search_path_spec" | $SED -e 's/;/ /g'`
9448 lt_search_path_spec=`$ECHO "$lt_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
9450 # Ok, now we have the path, separated by spaces, we can step through it
9451 # and add multilib dir if necessary.
9452 lt_tmp_lt_search_path_spec=
9453 lt_multi_os_dir=`$CC $CPPFLAGS $CFLAGS $LDFLAGS -print-multi-os-directory 2>/dev/null`
9454 for lt_sys_path in $lt_search_path_spec; do
9455 if test -d "$lt_sys_path/$lt_multi_os_dir"; then
9456 lt_tmp_lt_search_path_spec="$lt_tmp_lt_search_path_spec $lt_sys_path/$lt_multi_os_dir"
9458 test -d "$lt_sys_path" && \
9459 lt_tmp_lt_search_path_spec="$lt_tmp_lt_search_path_spec $lt_sys_path"
9462 lt_search_path_spec=`$ECHO $lt_tmp_lt_search_path_spec | awk '
9463 BEGIN {RS=" "; FS="/|\n";} {
9466 for (lt_i = NF; lt_i > 0; lt_i--) {
9467 if ($lt_i != "" && $lt_i != ".") {
9468 if ($lt_i == "..") {
9471 if (lt_count == 0) {
9472 lt_foo="/" $lt_i lt_foo;
9479 if (lt_foo != "") { lt_freq[lt_foo]++; }
9480 if (lt_freq[lt_foo] == 1) { print lt_foo; }
9482 sys_lib_search_path_spec=`$ECHO $lt_search_path_spec`
9484 sys_lib_search_path_spec="/lib /usr/lib /usr/local/lib"
9487 libname_spec='lib$name'
9495 shlibpath_overrides_runpath=unknown
9497 dynamic_linker="$host_os ld.so"
9498 sys_lib_dlsearch_path_spec="/lib /usr/lib"
9499 need_lib_prefix=unknown
9500 hardcode_into_libs=no
9502 # when you set need_version to no, make sure it does not cause -set_version
9503 # flags to be left without arguments
9504 need_version=unknown
9509 library_names_spec='${libname}${release}${shared_ext}$versuffix $libname.a'
9510 shlibpath_var=LIBPATH
9512 # AIX 3 has no versioning support, so we append a major version to the name.
9513 soname_spec='${libname}${release}${shared_ext}$major'
9520 hardcode_into_libs=yes
9521 if test "$host_cpu" = ia64; then
9522 # AIX 5 supports IA64
9523 library_names_spec='${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext}$versuffix $libname${shared_ext}'
9524 shlibpath_var=LD_LIBRARY_PATH
9526 # With GCC up to 2.95.x, collect2 would create an import file
9527 # for dependence libraries. The import file would start with
9528 # the line `#! .'. This would cause the generated library to
9529 # depend on `.', always an invalid library. This was fixed in
9530 # development snapshots of GCC prior to 3.0.
9532 aix4 | aix4.[01] | aix4.[01].*)
9533 if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
9535 echo '#endif'; } | ${CC} -E - | $GREP yes > /dev/null; then
9542 # AIX (on Power*) has no versioning support, so currently we can not hardcode correct
9543 # soname into executable. Probably we can add versioning support to
9544 # collect2, so additional links can be useful in future.
9545 if test "$aix_use_runtimelinking" = yes; then
9546 # If using run time linking (on AIX 4.2 or later) use lib<name>.so
9547 # instead of lib<name>.a to let people know that these are not
9548 # typical AIX shared libraries.
9549 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
9551 # We preserve .a as extension for shared libraries through AIX4.2
9552 # and later when we are not doing run time linking.
9553 library_names_spec='${libname}${release}.a $libname.a'
9554 soname_spec='${libname}${release}${shared_ext}$major'
9556 shlibpath_var=LIBPATH
9563 # Since July 2007 AmigaOS4 officially supports .so libraries.
9564 # When compiling the executable, add -use-dynld -Lsobjs: to the compileline.
9565 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
9568 library_names_spec='$libname.ixlibrary $libname.a'
9569 # Create ${libname}_ixlibrary.a entries in /sys/libs.
9570 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'
9576 library_names_spec='${libname}${shared_ext}'
9577 dynamic_linker="$host_os ld.so"
9578 shlibpath_var=LIBRARY_PATH
9584 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
9585 soname_spec='${libname}${release}${shared_ext}$major'
9586 finish_cmds='PATH="\$PATH:/sbin" ldconfig $libdir'
9587 shlibpath_var=LD_LIBRARY_PATH
9588 sys_lib_search_path_spec="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
9589 sys_lib_dlsearch_path_spec="/shlib /usr/lib /usr/local/lib"
9590 # the default ld.so.conf also contains /usr/contrib/lib and
9591 # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
9592 # libtool to hard-code these into programs
9595 cygwin* | mingw* | pw32* | cegcc*)
9596 version_type=windows
9601 case $GCC,$host_os in
9602 yes,cygwin* | yes,mingw* | yes,pw32* | yes,cegcc*)
9603 library_names_spec='$libname.dll.a'
9604 # DLL is installed to $(libdir)/../bin by postinstall_cmds
9605 postinstall_cmds='base_file=`basename \${file}`~
9606 dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i; echo \$dlname'\''`~
9607 dldir=$destdir/`dirname \$dlpath`~
9608 test -d \$dldir || mkdir -p \$dldir~
9609 $install_prog $dir/$dlname \$dldir/$dlname~
9610 chmod a+x \$dldir/$dlname~
9611 if test -n '\''$stripme'\'' && test -n '\''$striplib'\''; then
9612 eval '\''$striplib \$dldir/$dlname'\'' || exit \$?;
9614 postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
9615 dlpath=$dir/\$dldll~
9617 shlibpath_overrides_runpath=yes
9621 # Cygwin DLLs use 'cyg' prefix rather than 'lib'
9622 soname_spec='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
9623 sys_lib_search_path_spec="/usr/lib /lib/w32api /lib /usr/local/lib"
9626 # MinGW DLLs use traditional 'lib' prefix
9627 soname_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
9628 sys_lib_search_path_spec=`$CC -print-search-dirs | $GREP "^libraries:" | $SED -e "s/^libraries://" -e "s,=/,/,g"`
9629 if $ECHO "$sys_lib_search_path_spec" | $GREP ';[c-zC-Z]:/' >/dev/null; then
9630 # It is most probably a Windows format PATH printed by
9631 # mingw gcc, but we are running on Cygwin. Gcc prints its search
9632 # path with ; separators, and with drive letters. We can handle the
9633 # drive letters (cygwin fileutils understands them), so leave them,
9634 # especially as we might pass files found there to a mingw objdump,
9635 # which wouldn't understand a cygwinified path. Ahh.
9636 sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
9638 sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
9642 # pw32 DLLs use 'pw' prefix rather than 'lib'
9643 library_names_spec='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
9649 library_names_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext} $libname.lib'
9652 dynamic_linker='Win32 ld.exe'
9653 # FIXME: first we should search . and the directory the executable is in
9657 darwin* | rhapsody*)
9658 dynamic_linker="$host_os dyld"
9662 library_names_spec='${libname}${release}${major}$shared_ext ${libname}$shared_ext'
9663 soname_spec='${libname}${release}${major}$shared_ext'
9664 shlibpath_overrides_runpath=yes
9665 shlibpath_var=DYLD_LIBRARY_PATH
9666 shrext_cmds='`test .$module = .yes && echo .so || echo .dylib`'
9668 sys_lib_search_path_spec="$sys_lib_search_path_spec /usr/local/lib"
9669 sys_lib_dlsearch_path_spec='/usr/local/lib /lib /usr/lib'
9676 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname$shared_ext'
9677 soname_spec='${libname}${release}${shared_ext}$major'
9678 shlibpath_var=LD_LIBRARY_PATH
9685 freebsd* | dragonfly*)
9686 # DragonFly does not have aout. When/if they implement a new
9687 # versioning mechanism, adjust this.
9688 if test -x /usr/bin/objformat; then
9689 objformat=`/usr/bin/objformat`
9692 freebsd[123]*) objformat=aout ;;
9696 version_type=freebsd-$objformat
9697 case $version_type in
9699 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
9704 library_names_spec='${libname}${release}${shared_ext}$versuffix $libname${shared_ext}$versuffix'
9708 shlibpath_var=LD_LIBRARY_PATH
9711 shlibpath_overrides_runpath=yes
9713 freebsd3.[01]* | freebsdelf3.[01]*)
9714 shlibpath_overrides_runpath=yes
9715 hardcode_into_libs=yes
9717 freebsd3.[2-9]* | freebsdelf3.[2-9]* | \
9718 freebsd4.[0-5] | freebsdelf4.[0-5] | freebsd4.1.1 | freebsdelf4.1.1)
9719 shlibpath_overrides_runpath=no
9720 hardcode_into_libs=yes
9722 *) # from 4.6 on, and DragonFly
9723 shlibpath_overrides_runpath=yes
9724 hardcode_into_libs=yes
9733 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
9734 soname_spec='${libname}${release}${shared_ext}$major'
9735 shlibpath_var=LD_LIBRARY_PATH
9736 hardcode_into_libs=yes
9739 hpux9* | hpux10* | hpux11*)
9740 # Give a soname corresponding to the major version so that dld.sl refuses to
9741 # link against other versions.
9748 hardcode_into_libs=yes
9749 dynamic_linker="$host_os dld.so"
9750 shlibpath_var=LD_LIBRARY_PATH
9751 shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
9752 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
9753 soname_spec='${libname}${release}${shared_ext}$major'
9754 if test "X$HPUX_IA64_MODE" = X32; then
9755 sys_lib_search_path_spec="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
9757 sys_lib_search_path_spec="/usr/lib/hpux64 /usr/local/lib/hpux64"
9759 sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
9763 hardcode_into_libs=yes
9764 dynamic_linker="$host_os dld.sl"
9765 shlibpath_var=LD_LIBRARY_PATH # How should we handle SHLIB_PATH
9766 shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
9767 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
9768 soname_spec='${libname}${release}${shared_ext}$major'
9769 sys_lib_search_path_spec="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
9770 sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
9774 dynamic_linker="$host_os dld.sl"
9775 shlibpath_var=SHLIB_PATH
9776 shlibpath_overrides_runpath=no # +s is required to enable SHLIB_PATH
9777 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
9778 soname_spec='${libname}${release}${shared_ext}$major'
9781 # HP-UX runs *really* slowly unless shared libraries are mode 555.
9782 postinstall_cmds='chmod 555 $lib'
9789 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
9790 soname_spec='${libname}${release}${shared_ext}$major'
9791 dynamic_linker='Interix 3.x ld.so.1 (PE, like ELF)'
9792 shlibpath_var=LD_LIBRARY_PATH
9793 shlibpath_overrides_runpath=no
9794 hardcode_into_libs=yes
9797 irix5* | irix6* | nonstopux*)
9799 nonstopux*) version_type=nonstopux ;;
9801 if test "$lt_cv_prog_gnu_ld" = yes; then
9809 soname_spec='${libname}${release}${shared_ext}$major'
9810 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} $libname${shared_ext}'
9812 irix5* | nonstopux*)
9816 case $LD in # libtool.m4 will add one of these switches to LD
9817 *-32|*"-32 "|*-melf32bsmip|*"-melf32bsmip ")
9818 libsuff= shlibsuff= libmagic=32-bit;;
9819 *-n32|*"-n32 "|*-melf32bmipn32|*"-melf32bmipn32 ")
9820 libsuff=32 shlibsuff=N32 libmagic=N32;;
9821 *-64|*"-64 "|*-melf64bmip|*"-melf64bmip ")
9822 libsuff=64 shlibsuff=64 libmagic=64-bit;;
9823 *) libsuff= shlibsuff= libmagic=never-match;;
9827 shlibpath_var=LD_LIBRARY${shlibsuff}_PATH
9828 shlibpath_overrides_runpath=no
9829 sys_lib_search_path_spec="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}"
9830 sys_lib_dlsearch_path_spec="/usr/lib${libsuff} /lib${libsuff}"
9831 hardcode_into_libs=yes
9834 # No shared lib support for Linux oldld, aout, or coff.
9835 linux*oldld* | linux*aout* | linux*coff*)
9839 # This must be Linux ELF.
9840 linux* | k*bsd*-gnu | kopensolaris*-gnu)
9844 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
9845 soname_spec='${libname}${release}${shared_ext}$major'
9846 finish_cmds='PATH="\$PATH:/sbin" ldconfig -n $libdir'
9847 shlibpath_var=LD_LIBRARY_PATH
9848 shlibpath_overrides_runpath=no
9849 # Some binutils ld are patched to set DT_RUNPATH
9850 save_LDFLAGS=$LDFLAGS
9852 eval "libdir=/foo; wl=\"$lt_prog_compiler_wl\"; \
9853 LDFLAGS=\"\$LDFLAGS $hardcode_libdir_flag_spec\""
9854 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9855 /* end confdefs.h. */
9865 if ac_fn_c_try_link "$LINENO"; then :
9866 if ($OBJDUMP -p conftest$ac_exeext) 2>/dev/null | grep "RUNPATH.*$libdir" >/dev/null; then :
9867 shlibpath_overrides_runpath=yes
9870 rm -f core conftest.err conftest.$ac_objext \
9871 conftest$ac_exeext conftest.$ac_ext
9872 LDFLAGS=$save_LDFLAGS
9875 # This implies no fast_install, which is unacceptable.
9876 # Some rework will be needed to allow for fast_install
9877 # before this can be enabled.
9878 hardcode_into_libs=yes
9880 # Append ld.so.conf contents to the search path
9881 if test -f /etc/ld.so.conf; then
9882 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' ' '`
9883 sys_lib_dlsearch_path_spec="/lib /usr/lib $lt_ld_extra"
9886 # We used to test for /lib/ld.so.1 and disable shared libraries on
9887 # powerpc, because MkLinux only supported shared libraries with the
9888 # GNU dynamic linker. Since this was broken with cross compilers,
9889 # most powerpc-linux boxes support dynamic linking these days and
9890 # people can always --disable-shared, the test was removed, and we
9891 # assume the GNU/Linux dynamic linker is in use.
9892 dynamic_linker='GNU/Linux ld.so'
9899 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
9900 soname_spec='${libname}${release}${shared_ext}$major'
9901 shlibpath_var=LD_LIBRARY_PATH
9902 shlibpath_overrides_runpath=no
9903 hardcode_into_libs=yes
9904 dynamic_linker='NetBSD ld.elf_so'
9911 if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
9912 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
9913 finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
9914 dynamic_linker='NetBSD (a.out) ld.so'
9916 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
9917 soname_spec='${libname}${release}${shared_ext}$major'
9918 dynamic_linker='NetBSD ld.elf_so'
9920 shlibpath_var=LD_LIBRARY_PATH
9921 shlibpath_overrides_runpath=yes
9922 hardcode_into_libs=yes
9927 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
9928 shlibpath_var=LD_LIBRARY_PATH
9929 shlibpath_overrides_runpath=yes
9936 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
9937 soname_spec='${libname}${release}${shared_ext}$major'
9938 shlibpath_var=LD_LIBRARY_PATH
9939 shlibpath_overrides_runpath=no
9940 hardcode_into_libs=yes
9941 dynamic_linker='ldqnx.so'
9946 sys_lib_dlsearch_path_spec="/usr/lib"
9948 # Some older versions of OpenBSD (3.3 at least) *do* need versioned libs.
9950 openbsd3.3 | openbsd3.3.*) need_version=yes ;;
9951 *) need_version=no ;;
9953 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
9954 finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
9955 shlibpath_var=LD_LIBRARY_PATH
9956 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
9958 openbsd2.[89] | openbsd2.[89].*)
9959 shlibpath_overrides_runpath=no
9962 shlibpath_overrides_runpath=yes
9966 shlibpath_overrides_runpath=yes
9971 libname_spec='$name'
9974 library_names_spec='$libname${shared_ext} $libname.a'
9975 dynamic_linker='OS/2 ld.exe'
9976 shlibpath_var=LIBPATH
9979 osf3* | osf4* | osf5*)
9983 soname_spec='${libname}${release}${shared_ext}$major'
9984 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
9985 shlibpath_var=LD_LIBRARY_PATH
9986 sys_lib_search_path_spec="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
9987 sys_lib_dlsearch_path_spec="$sys_lib_search_path_spec"
9998 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
9999 soname_spec='${libname}${release}${shared_ext}$major'
10000 shlibpath_var=LD_LIBRARY_PATH
10001 shlibpath_overrides_runpath=yes
10002 hardcode_into_libs=yes
10003 # ldd complains unless libraries are executable
10004 postinstall_cmds='chmod +x $lib'
10009 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
10010 finish_cmds='PATH="\$PATH:/usr/etc" ldconfig $libdir'
10011 shlibpath_var=LD_LIBRARY_PATH
10012 shlibpath_overrides_runpath=yes
10013 if test "$with_gnu_ld" = yes; then
10021 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10022 soname_spec='${libname}${release}${shared_ext}$major'
10023 shlibpath_var=LD_LIBRARY_PATH
10024 case $host_vendor in
10026 shlibpath_overrides_runpath=no
10028 runpath_var=LD_RUN_PATH
10036 shlibpath_overrides_runpath=no
10037 sys_lib_search_path_spec='/lib /usr/lib /usr/ccs/lib'
10043 if test -d /usr/nec ;then
10045 library_names_spec='$libname${shared_ext}.$versuffix $libname${shared_ext}.$major $libname${shared_ext}'
10046 soname_spec='$libname${shared_ext}.$major'
10047 shlibpath_var=LD_LIBRARY_PATH
10051 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
10052 version_type=freebsd-elf
10055 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
10056 soname_spec='${libname}${release}${shared_ext}$major'
10057 shlibpath_var=LD_LIBRARY_PATH
10058 shlibpath_overrides_runpath=yes
10059 hardcode_into_libs=yes
10060 if test "$with_gnu_ld" = yes; then
10061 sys_lib_search_path_spec='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib'
10063 sys_lib_search_path_spec='/usr/ccs/lib /usr/lib'
10066 sys_lib_search_path_spec="$sys_lib_search_path_spec /lib"
10070 sys_lib_dlsearch_path_spec='/usr/lib'
10074 # TPF is a cross-target only. Preferred cross-host = GNU/Linux.
10078 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10079 shlibpath_var=LD_LIBRARY_PATH
10080 shlibpath_overrides_runpath=no
10081 hardcode_into_libs=yes
10086 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10087 soname_spec='${libname}${release}${shared_ext}$major'
10088 shlibpath_var=LD_LIBRARY_PATH
10095 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $dynamic_linker" >&5
10096 $as_echo "$dynamic_linker" >&6; }
10097 test "$dynamic_linker" = no && can_build_shared=no
10099 variables_saved_for_relink="PATH $shlibpath_var $runpath_var"
10100 if test "$GCC" = yes; then
10101 variables_saved_for_relink="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
10104 if test "${lt_cv_sys_lib_search_path_spec+set}" = set; then
10105 sys_lib_search_path_spec="$lt_cv_sys_lib_search_path_spec"
10107 if test "${lt_cv_sys_lib_dlsearch_path_spec+set}" = set; then
10108 sys_lib_dlsearch_path_spec="$lt_cv_sys_lib_dlsearch_path_spec"
10197 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to hardcode library paths into programs" >&5
10198 $as_echo_n "checking how to hardcode library paths into programs... " >&6; }
10200 if test -n "$hardcode_libdir_flag_spec" ||
10201 test -n "$runpath_var" ||
10202 test "X$hardcode_automatic" = "Xyes" ; then
10204 # We can hardcode non-existent directories.
10205 if test "$hardcode_direct" != no &&
10206 # If the only mechanism to avoid hardcoding is shlibpath_var, we
10207 # have to relink, otherwise we might link with an installed library
10208 # when we should be linking with a yet-to-be-installed one
10209 ## test "$_LT_TAGVAR(hardcode_shlibpath_var, )" != no &&
10210 test "$hardcode_minus_L" != no; then
10211 # Linking always hardcodes the temporary library directory.
10212 hardcode_action=relink
10214 # We can link without hardcoding, and we can hardcode nonexisting dirs.
10215 hardcode_action=immediate
10218 # We cannot hardcode anything, or else we can only hardcode existing
10220 hardcode_action=unsupported
10222 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hardcode_action" >&5
10223 $as_echo "$hardcode_action" >&6; }
10225 if test "$hardcode_action" = relink ||
10226 test "$inherit_rpath" = yes; then
10227 # Fast installation is not supported
10228 enable_fast_install=no
10229 elif test "$shlibpath_overrides_runpath" = yes ||
10230 test "$enable_shared" = no; then
10231 # Fast installation is not necessary
10232 enable_fast_install=needless
10240 if test "x$enable_dlopen" != xyes; then
10241 enable_dlopen=unknown
10242 enable_dlopen_self=unknown
10243 enable_dlopen_self_static=unknown
10250 lt_cv_dlopen="load_add_on"
10252 lt_cv_dlopen_self=yes
10255 mingw* | pw32* | cegcc*)
10256 lt_cv_dlopen="LoadLibrary"
10261 lt_cv_dlopen="dlopen"
10266 # if libdl is installed we need to link against it
10267 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
10268 $as_echo_n "checking for dlopen in -ldl... " >&6; }
10269 if test "${ac_cv_lib_dl_dlopen+set}" = set; then :
10270 $as_echo_n "(cached) " >&6
10272 ac_check_lib_save_LIBS=$LIBS
10274 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10275 /* end confdefs.h. */
10277 /* Override any GCC internal prototype to avoid an error.
10278 Use char because int might match the return type of a GCC
10279 builtin and then its argument prototype would still apply. */
10292 if ac_fn_c_try_link "$LINENO"; then :
10293 ac_cv_lib_dl_dlopen=yes
10295 ac_cv_lib_dl_dlopen=no
10297 rm -f core conftest.err conftest.$ac_objext \
10298 conftest$ac_exeext conftest.$ac_ext
10299 LIBS=$ac_check_lib_save_LIBS
10301 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
10302 $as_echo "$ac_cv_lib_dl_dlopen" >&6; }
10303 if test "x$ac_cv_lib_dl_dlopen" = x""yes; then :
10304 lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl"
10307 lt_cv_dlopen="dyld"
10309 lt_cv_dlopen_self=yes
10316 ac_fn_c_check_func "$LINENO" "shl_load" "ac_cv_func_shl_load"
10317 if test "x$ac_cv_func_shl_load" = x""yes; then :
10318 lt_cv_dlopen="shl_load"
10320 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for shl_load in -ldld" >&5
10321 $as_echo_n "checking for shl_load in -ldld... " >&6; }
10322 if test "${ac_cv_lib_dld_shl_load+set}" = set; then :
10323 $as_echo_n "(cached) " >&6
10325 ac_check_lib_save_LIBS=$LIBS
10327 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10328 /* end confdefs.h. */
10330 /* Override any GCC internal prototype to avoid an error.
10331 Use char because int might match the return type of a GCC
10332 builtin and then its argument prototype would still apply. */
10340 return shl_load ();
10345 if ac_fn_c_try_link "$LINENO"; then :
10346 ac_cv_lib_dld_shl_load=yes
10348 ac_cv_lib_dld_shl_load=no
10350 rm -f core conftest.err conftest.$ac_objext \
10351 conftest$ac_exeext conftest.$ac_ext
10352 LIBS=$ac_check_lib_save_LIBS
10354 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_shl_load" >&5
10355 $as_echo "$ac_cv_lib_dld_shl_load" >&6; }
10356 if test "x$ac_cv_lib_dld_shl_load" = x""yes; then :
10357 lt_cv_dlopen="shl_load" lt_cv_dlopen_libs="-ldld"
10359 ac_fn_c_check_func "$LINENO" "dlopen" "ac_cv_func_dlopen"
10360 if test "x$ac_cv_func_dlopen" = x""yes; then :
10361 lt_cv_dlopen="dlopen"
10363 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
10364 $as_echo_n "checking for dlopen in -ldl... " >&6; }
10365 if test "${ac_cv_lib_dl_dlopen+set}" = set; then :
10366 $as_echo_n "(cached) " >&6
10368 ac_check_lib_save_LIBS=$LIBS
10370 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10371 /* end confdefs.h. */
10373 /* Override any GCC internal prototype to avoid an error.
10374 Use char because int might match the return type of a GCC
10375 builtin and then its argument prototype would still apply. */
10388 if ac_fn_c_try_link "$LINENO"; then :
10389 ac_cv_lib_dl_dlopen=yes
10391 ac_cv_lib_dl_dlopen=no
10393 rm -f core conftest.err conftest.$ac_objext \
10394 conftest$ac_exeext conftest.$ac_ext
10395 LIBS=$ac_check_lib_save_LIBS
10397 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
10398 $as_echo "$ac_cv_lib_dl_dlopen" >&6; }
10399 if test "x$ac_cv_lib_dl_dlopen" = x""yes; then :
10400 lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl"
10402 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -lsvld" >&5
10403 $as_echo_n "checking for dlopen in -lsvld... " >&6; }
10404 if test "${ac_cv_lib_svld_dlopen+set}" = set; then :
10405 $as_echo_n "(cached) " >&6
10407 ac_check_lib_save_LIBS=$LIBS
10408 LIBS="-lsvld $LIBS"
10409 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10410 /* end confdefs.h. */
10412 /* Override any GCC internal prototype to avoid an error.
10413 Use char because int might match the return type of a GCC
10414 builtin and then its argument prototype would still apply. */
10427 if ac_fn_c_try_link "$LINENO"; then :
10428 ac_cv_lib_svld_dlopen=yes
10430 ac_cv_lib_svld_dlopen=no
10432 rm -f core conftest.err conftest.$ac_objext \
10433 conftest$ac_exeext conftest.$ac_ext
10434 LIBS=$ac_check_lib_save_LIBS
10436 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_svld_dlopen" >&5
10437 $as_echo "$ac_cv_lib_svld_dlopen" >&6; }
10438 if test "x$ac_cv_lib_svld_dlopen" = x""yes; then :
10439 lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-lsvld"
10441 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dld_link in -ldld" >&5
10442 $as_echo_n "checking for dld_link in -ldld... " >&6; }
10443 if test "${ac_cv_lib_dld_dld_link+set}" = set; then :
10444 $as_echo_n "(cached) " >&6
10446 ac_check_lib_save_LIBS=$LIBS
10448 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10449 /* end confdefs.h. */
10451 /* Override any GCC internal prototype to avoid an error.
10452 Use char because int might match the return type of a GCC
10453 builtin and then its argument prototype would still apply. */
10461 return dld_link ();
10466 if ac_fn_c_try_link "$LINENO"; then :
10467 ac_cv_lib_dld_dld_link=yes
10469 ac_cv_lib_dld_dld_link=no
10471 rm -f core conftest.err conftest.$ac_objext \
10472 conftest$ac_exeext conftest.$ac_ext
10473 LIBS=$ac_check_lib_save_LIBS
10475 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_dld_link" >&5
10476 $as_echo "$ac_cv_lib_dld_dld_link" >&6; }
10477 if test "x$ac_cv_lib_dld_dld_link" = x""yes; then :
10478 lt_cv_dlopen="dld_link" lt_cv_dlopen_libs="-ldld"
10499 if test "x$lt_cv_dlopen" != xno; then
10505 case $lt_cv_dlopen in
10507 save_CPPFLAGS="$CPPFLAGS"
10508 test "x$ac_cv_header_dlfcn_h" = xyes && CPPFLAGS="$CPPFLAGS -DHAVE_DLFCN_H"
10510 save_LDFLAGS="$LDFLAGS"
10511 wl=$lt_prog_compiler_wl eval LDFLAGS=\"\$LDFLAGS $export_dynamic_flag_spec\"
10514 LIBS="$lt_cv_dlopen_libs $LIBS"
10516 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether a program can dlopen itself" >&5
10517 $as_echo_n "checking whether a program can dlopen itself... " >&6; }
10518 if test "${lt_cv_dlopen_self+set}" = set; then :
10519 $as_echo_n "(cached) " >&6
10521 if test "$cross_compiling" = yes; then :
10522 lt_cv_dlopen_self=cross
10524 lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
10525 lt_status=$lt_dlunknown
10526 cat > conftest.$ac_ext <<_LT_EOF
10527 #line 10527 "configure"
10528 #include "confdefs.h"
10537 # define LT_DLGLOBAL RTLD_GLOBAL
10540 # define LT_DLGLOBAL DL_GLOBAL
10542 # define LT_DLGLOBAL 0
10546 /* We may have to define LT_DLLAZY_OR_NOW in the command line if we
10547 find out it does not work in some platform. */
10548 #ifndef LT_DLLAZY_OR_NOW
10550 # define LT_DLLAZY_OR_NOW RTLD_LAZY
10553 # define LT_DLLAZY_OR_NOW DL_LAZY
10556 # define LT_DLLAZY_OR_NOW RTLD_NOW
10559 # define LT_DLLAZY_OR_NOW DL_NOW
10561 # define LT_DLLAZY_OR_NOW 0
10568 void fnord() { int i=42;}
10571 void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
10572 int status = $lt_dlunknown;
10576 if (dlsym (self,"fnord")) status = $lt_dlno_uscore;
10577 else if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
10578 /* dlclose (self); */
10586 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
10587 (eval $ac_link) 2>&5
10589 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
10590 test $ac_status = 0; } && test -s conftest${ac_exeext} 2>/dev/null; then
10591 (./conftest; exit; ) >&5 2>/dev/null
10593 case x$lt_status in
10594 x$lt_dlno_uscore) lt_cv_dlopen_self=yes ;;
10595 x$lt_dlneed_uscore) lt_cv_dlopen_self=yes ;;
10596 x$lt_dlunknown|x*) lt_cv_dlopen_self=no ;;
10599 # compilation failed
10600 lt_cv_dlopen_self=no
10607 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_dlopen_self" >&5
10608 $as_echo "$lt_cv_dlopen_self" >&6; }
10610 if test "x$lt_cv_dlopen_self" = xyes; then
10611 wl=$lt_prog_compiler_wl eval LDFLAGS=\"\$LDFLAGS $lt_prog_compiler_static\"
10612 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether a statically linked program can dlopen itself" >&5
10613 $as_echo_n "checking whether a statically linked program can dlopen itself... " >&6; }
10614 if test "${lt_cv_dlopen_self_static+set}" = set; then :
10615 $as_echo_n "(cached) " >&6
10617 if test "$cross_compiling" = yes; then :
10618 lt_cv_dlopen_self_static=cross
10620 lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
10621 lt_status=$lt_dlunknown
10622 cat > conftest.$ac_ext <<_LT_EOF
10623 #line 10623 "configure"
10624 #include "confdefs.h"
10633 # define LT_DLGLOBAL RTLD_GLOBAL
10636 # define LT_DLGLOBAL DL_GLOBAL
10638 # define LT_DLGLOBAL 0
10642 /* We may have to define LT_DLLAZY_OR_NOW in the command line if we
10643 find out it does not work in some platform. */
10644 #ifndef LT_DLLAZY_OR_NOW
10646 # define LT_DLLAZY_OR_NOW RTLD_LAZY
10649 # define LT_DLLAZY_OR_NOW DL_LAZY
10652 # define LT_DLLAZY_OR_NOW RTLD_NOW
10655 # define LT_DLLAZY_OR_NOW DL_NOW
10657 # define LT_DLLAZY_OR_NOW 0
10664 void fnord() { int i=42;}
10667 void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
10668 int status = $lt_dlunknown;
10672 if (dlsym (self,"fnord")) status = $lt_dlno_uscore;
10673 else if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
10674 /* dlclose (self); */
10682 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
10683 (eval $ac_link) 2>&5
10685 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
10686 test $ac_status = 0; } && test -s conftest${ac_exeext} 2>/dev/null; then
10687 (./conftest; exit; ) >&5 2>/dev/null
10689 case x$lt_status in
10690 x$lt_dlno_uscore) lt_cv_dlopen_self_static=yes ;;
10691 x$lt_dlneed_uscore) lt_cv_dlopen_self_static=yes ;;
10692 x$lt_dlunknown|x*) lt_cv_dlopen_self_static=no ;;
10695 # compilation failed
10696 lt_cv_dlopen_self_static=no
10703 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_dlopen_self_static" >&5
10704 $as_echo "$lt_cv_dlopen_self_static" >&6; }
10707 CPPFLAGS="$save_CPPFLAGS"
10708 LDFLAGS="$save_LDFLAGS"
10713 case $lt_cv_dlopen_self in
10714 yes|no) enable_dlopen_self=$lt_cv_dlopen_self ;;
10715 *) enable_dlopen_self=unknown ;;
10718 case $lt_cv_dlopen_self_static in
10719 yes|no) enable_dlopen_self_static=$lt_cv_dlopen_self_static ;;
10720 *) enable_dlopen_self_static=unknown ;;
10742 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether stripping libraries is possible" >&5
10743 $as_echo_n "checking whether stripping libraries is possible... " >&6; }
10744 if test -n "$STRIP" && $STRIP -V 2>&1 | $GREP "GNU strip" >/dev/null; then
10745 test -z "$old_striplib" && old_striplib="$STRIP --strip-debug"
10746 test -z "$striplib" && striplib="$STRIP --strip-unneeded"
10747 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
10748 $as_echo "yes" >&6; }
10750 # FIXME - insert some real tests, host_os isn't really good enough
10753 if test -n "$STRIP" ; then
10754 striplib="$STRIP -x"
10755 old_striplib="$STRIP -S"
10756 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
10757 $as_echo "yes" >&6; }
10759 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
10760 $as_echo "no" >&6; }
10764 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
10765 $as_echo "no" >&6; }
10781 # Report which library types will actually be built
10782 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if libtool supports shared libraries" >&5
10783 $as_echo_n "checking if libtool supports shared libraries... " >&6; }
10784 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $can_build_shared" >&5
10785 $as_echo "$can_build_shared" >&6; }
10787 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build shared libraries" >&5
10788 $as_echo_n "checking whether to build shared libraries... " >&6; }
10789 test "$can_build_shared" = "no" && enable_shared=no
10791 # On AIX, shared libraries and static libraries use the same namespace, and
10792 # are all built from PIC.
10795 test "$enable_shared" = yes && enable_static=no
10796 if test -n "$RANLIB"; then
10797 archive_cmds="$archive_cmds~\$RANLIB \$lib"
10798 postinstall_cmds='$RANLIB $lib'
10803 if test "$host_cpu" != ia64 && test "$aix_use_runtimelinking" = no ; then
10804 test "$enable_shared" = yes && enable_static=no
10808 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_shared" >&5
10809 $as_echo "$enable_shared" >&6; }
10811 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build static libraries" >&5
10812 $as_echo_n "checking whether to build static libraries... " >&6; }
10813 # Make sure either enable_shared or enable_static is yes.
10814 test "$enable_shared" = yes || enable_static=yes
10815 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_static" >&5
10816 $as_echo "$enable_static" >&6; }
10823 ac_cpp='$CPP $CPPFLAGS'
10824 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
10825 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
10826 ac_compiler_gnu=$ac_cv_c_compiler_gnu
10842 ac_config_commands="$ac_config_commands libtool"
10847 # Only expand once:
10851 ##--##--##--##--##--##--##--##--##--##--##--##--##--##--##--##--##
10852 ##--##--##--##--##--##--##--##--##--##--##--##--##--##--##--##--##
10856 cat >>confdefs.h <<_ACEOF
10861 cat >>confdefs.h <<_ACEOF
10866 cat >>confdefs.h <<_ACEOF
10871 cat >>confdefs.h <<_ACEOF
10875 version_info="8:1:7"
10879 ##--##--##--##--##--##--##--##--##--##--##--##--##--##--##--##--##
10880 ##--##--##--##--##--##--##--##--##--##--##--##--##--##--##--##--##
10888 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether NLS is requested" >&5
10889 $as_echo_n "checking whether NLS is requested... " >&6; }
10890 # Check whether --enable-nls was given.
10891 if test "${enable_nls+set}" = set; then :
10892 enableval=$enable_nls; USE_NLS=$enableval
10897 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $USE_NLS" >&5
10898 $as_echo "$USE_NLS" >&6; }
10903 GETTEXT_MACRO_VERSION=0.17
10908 # Prepare PATH_SEPARATOR.
10909 # The user is always right.
10910 if test "${PATH_SEPARATOR+set}" != set; then
10911 echo "#! /bin/sh" >conf$$.sh
10912 echo "exit 0" >>conf$$.sh
10914 if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
10922 # Find out how to test for executable files. Don't use a zero-byte file,
10923 # as systems may use methods other than mode bits to determine executability.
10924 cat >conf$$.file <<_ASEOF
10928 chmod +x conf$$.file
10929 if test -x conf$$.file >/dev/null 2>&1; then
10930 ac_executable_p="test -x"
10932 ac_executable_p="test -f"
10936 # Extract the first word of "msgfmt", so it can be a program name with args.
10937 set dummy msgfmt; ac_word=$2
10938 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
10939 $as_echo_n "checking for $ac_word... " >&6; }
10940 if test "${ac_cv_path_MSGFMT+set}" = set; then :
10941 $as_echo_n "(cached) " >&6
10945 ac_cv_path_MSGFMT="$MSGFMT" # Let the user override the test with a path.
10948 ac_save_IFS="$IFS"; IFS=$PATH_SEPARATOR
10949 for ac_dir in $PATH; do
10951 test -z "$ac_dir" && ac_dir=.
10952 for ac_exec_ext in '' $ac_executable_extensions; do
10953 if $ac_executable_p "$ac_dir/$ac_word$ac_exec_ext"; then
10954 echo "$as_me: trying $ac_dir/$ac_word..." >&5
10955 if $ac_dir/$ac_word --statistics /dev/null >&5 2>&1 &&
10956 (if $ac_dir/$ac_word --statistics /dev/null 2>&1 >/dev/null | grep usage >/dev/null; then exit 1; else exit 0; fi); then
10957 ac_cv_path_MSGFMT="$ac_dir/$ac_word$ac_exec_ext"
10964 test -z "$ac_cv_path_MSGFMT" && ac_cv_path_MSGFMT=":"
10968 MSGFMT="$ac_cv_path_MSGFMT"
10969 if test "$MSGFMT" != ":"; then
10970 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MSGFMT" >&5
10971 $as_echo "$MSGFMT" >&6; }
10973 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
10974 $as_echo "no" >&6; }
10977 # Extract the first word of "gmsgfmt", so it can be a program name with args.
10978 set dummy gmsgfmt; ac_word=$2
10979 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
10980 $as_echo_n "checking for $ac_word... " >&6; }
10981 if test "${ac_cv_path_GMSGFMT+set}" = set; then :
10982 $as_echo_n "(cached) " >&6
10986 ac_cv_path_GMSGFMT="$GMSGFMT" # Let the user override the test with a path.
10989 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10990 for as_dir in $PATH
10993 test -z "$as_dir" && as_dir=.
10994 for ac_exec_ext in '' $ac_executable_extensions; do
10995 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
10996 ac_cv_path_GMSGFMT="$as_dir/$ac_word$ac_exec_ext"
10997 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
11004 test -z "$ac_cv_path_GMSGFMT" && ac_cv_path_GMSGFMT="$MSGFMT"
11008 GMSGFMT=$ac_cv_path_GMSGFMT
11009 if test -n "$GMSGFMT"; then
11010 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $GMSGFMT" >&5
11011 $as_echo "$GMSGFMT" >&6; }
11013 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11014 $as_echo "no" >&6; }
11019 case `$MSGFMT --version | sed 1q | sed -e 's,^[^0-9]*,,'` in
11020 '' | 0.[0-9] | 0.[0-9].* | 0.1[0-4] | 0.1[0-4].*) MSGFMT_015=: ;;
11021 *) MSGFMT_015=$MSGFMT ;;
11024 case `$GMSGFMT --version | sed 1q | sed -e 's,^[^0-9]*,,'` in
11025 '' | 0.[0-9] | 0.[0-9].* | 0.1[0-4] | 0.1[0-4].*) GMSGFMT_015=: ;;
11026 *) GMSGFMT_015=$GMSGFMT ;;
11031 # Prepare PATH_SEPARATOR.
11032 # The user is always right.
11033 if test "${PATH_SEPARATOR+set}" != set; then
11034 echo "#! /bin/sh" >conf$$.sh
11035 echo "exit 0" >>conf$$.sh
11037 if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
11045 # Find out how to test for executable files. Don't use a zero-byte file,
11046 # as systems may use methods other than mode bits to determine executability.
11047 cat >conf$$.file <<_ASEOF
11051 chmod +x conf$$.file
11052 if test -x conf$$.file >/dev/null 2>&1; then
11053 ac_executable_p="test -x"
11055 ac_executable_p="test -f"
11059 # Extract the first word of "xgettext", so it can be a program name with args.
11060 set dummy xgettext; ac_word=$2
11061 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
11062 $as_echo_n "checking for $ac_word... " >&6; }
11063 if test "${ac_cv_path_XGETTEXT+set}" = set; then :
11064 $as_echo_n "(cached) " >&6
11066 case "$XGETTEXT" in
11068 ac_cv_path_XGETTEXT="$XGETTEXT" # Let the user override the test with a path.
11071 ac_save_IFS="$IFS"; IFS=$PATH_SEPARATOR
11072 for ac_dir in $PATH; do
11074 test -z "$ac_dir" && ac_dir=.
11075 for ac_exec_ext in '' $ac_executable_extensions; do
11076 if $ac_executable_p "$ac_dir/$ac_word$ac_exec_ext"; then
11077 echo "$as_me: trying $ac_dir/$ac_word..." >&5
11078 if $ac_dir/$ac_word --omit-header --copyright-holder= --msgid-bugs-address= /dev/null >&5 2>&1 &&
11079 (if $ac_dir/$ac_word --omit-header --copyright-holder= --msgid-bugs-address= /dev/null 2>&1 >/dev/null | grep usage >/dev/null; then exit 1; else exit 0; fi); then
11080 ac_cv_path_XGETTEXT="$ac_dir/$ac_word$ac_exec_ext"
11087 test -z "$ac_cv_path_XGETTEXT" && ac_cv_path_XGETTEXT=":"
11091 XGETTEXT="$ac_cv_path_XGETTEXT"
11092 if test "$XGETTEXT" != ":"; then
11093 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $XGETTEXT" >&5
11094 $as_echo "$XGETTEXT" >&6; }
11096 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11097 $as_echo "no" >&6; }
11102 case `$XGETTEXT --version | sed 1q | sed -e 's,^[^0-9]*,,'` in
11103 '' | 0.[0-9] | 0.[0-9].* | 0.1[0-4] | 0.1[0-4].*) XGETTEXT_015=: ;;
11104 *) XGETTEXT_015=$XGETTEXT ;;
11109 # Prepare PATH_SEPARATOR.
11110 # The user is always right.
11111 if test "${PATH_SEPARATOR+set}" != set; then
11112 echo "#! /bin/sh" >conf$$.sh
11113 echo "exit 0" >>conf$$.sh
11115 if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
11123 # Find out how to test for executable files. Don't use a zero-byte file,
11124 # as systems may use methods other than mode bits to determine executability.
11125 cat >conf$$.file <<_ASEOF
11129 chmod +x conf$$.file
11130 if test -x conf$$.file >/dev/null 2>&1; then
11131 ac_executable_p="test -x"
11133 ac_executable_p="test -f"
11137 # Extract the first word of "msgmerge", so it can be a program name with args.
11138 set dummy msgmerge; ac_word=$2
11139 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
11140 $as_echo_n "checking for $ac_word... " >&6; }
11141 if test "${ac_cv_path_MSGMERGE+set}" = set; then :
11142 $as_echo_n "(cached) " >&6
11144 case "$MSGMERGE" in
11146 ac_cv_path_MSGMERGE="$MSGMERGE" # Let the user override the test with a path.
11149 ac_save_IFS="$IFS"; IFS=$PATH_SEPARATOR
11150 for ac_dir in $PATH; do
11152 test -z "$ac_dir" && ac_dir=.
11153 for ac_exec_ext in '' $ac_executable_extensions; do
11154 if $ac_executable_p "$ac_dir/$ac_word$ac_exec_ext"; then
11155 echo "$as_me: trying $ac_dir/$ac_word..." >&5
11156 if $ac_dir/$ac_word --update -q /dev/null /dev/null >&5 2>&1; then
11157 ac_cv_path_MSGMERGE="$ac_dir/$ac_word$ac_exec_ext"
11164 test -z "$ac_cv_path_MSGMERGE" && ac_cv_path_MSGMERGE=":"
11168 MSGMERGE="$ac_cv_path_MSGMERGE"
11169 if test "$MSGMERGE" != ":"; then
11170 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MSGMERGE" >&5
11171 $as_echo "$MSGMERGE" >&6; }
11173 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11174 $as_echo "no" >&6; }
11178 test -n "$localedir" || localedir='${datadir}/locale'
11181 test -n "${XGETTEXT_EXTRA_OPTIONS+set}" || XGETTEXT_EXTRA_OPTIONS=
11184 ac_config_commands="$ac_config_commands po-directories"
11188 if test "X$prefix" = "XNONE"; then
11189 acl_final_prefix="$ac_default_prefix"
11191 acl_final_prefix="$prefix"
11193 if test "X$exec_prefix" = "XNONE"; then
11194 acl_final_exec_prefix='${prefix}'
11196 acl_final_exec_prefix="$exec_prefix"
11198 acl_save_prefix="$prefix"
11199 prefix="$acl_final_prefix"
11200 eval acl_final_exec_prefix=\"$acl_final_exec_prefix\"
11201 prefix="$acl_save_prefix"
11204 # Check whether --with-gnu-ld was given.
11205 if test "${with_gnu_ld+set}" = set; then :
11206 withval=$with_gnu_ld; test "$withval" = no || with_gnu_ld=yes
11211 # Prepare PATH_SEPARATOR.
11212 # The user is always right.
11213 if test "${PATH_SEPARATOR+set}" != set; then
11214 echo "#! /bin/sh" >conf$$.sh
11215 echo "exit 0" >>conf$$.sh
11217 if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
11225 if test "$GCC" = yes; then
11226 # Check if gcc -print-prog-name=ld gives a path.
11227 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld used by GCC" >&5
11228 $as_echo_n "checking for ld used by GCC... " >&6; }
11231 # gcc leaves a trailing carriage return which upsets mingw
11232 ac_prog=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
11234 ac_prog=`($CC -print-prog-name=ld) 2>&5` ;;
11237 # Accept absolute paths.
11238 [\\/]* | [A-Za-z]:[\\/]*)
11239 re_direlt='/[^/][^/]*/\.\./'
11240 # Canonicalize the path of ld
11241 ac_prog=`echo $ac_prog| sed 's%\\\\%/%g'`
11242 while echo $ac_prog | grep "$re_direlt" > /dev/null 2>&1; do
11243 ac_prog=`echo $ac_prog| sed "s%$re_direlt%/%"`
11245 test -z "$LD" && LD="$ac_prog"
11248 # If it fails, then pretend we aren't using GCC.
11252 # If it is relative, then search for the first ld in PATH.
11253 with_gnu_ld=unknown
11256 elif test "$with_gnu_ld" = yes; then
11257 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU ld" >&5
11258 $as_echo_n "checking for GNU ld... " >&6; }
11260 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for non-GNU ld" >&5
11261 $as_echo_n "checking for non-GNU ld... " >&6; }
11263 if test "${acl_cv_path_LD+set}" = set; then :
11264 $as_echo_n "(cached) " >&6
11266 if test -z "$LD"; then
11267 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS="${IFS}${PATH_SEPARATOR-:}"
11268 for ac_dir in $PATH; do
11269 test -z "$ac_dir" && ac_dir=.
11270 if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then
11271 acl_cv_path_LD="$ac_dir/$ac_prog"
11272 # Check to see if the program is GNU ld. I'd rather use --version,
11273 # but apparently some GNU ld's only accept -v.
11274 # Break only if it was the GNU/non-GNU ld that we prefer.
11275 case `"$acl_cv_path_LD" -v 2>&1 < /dev/null` in
11276 *GNU* | *'with BFD'*)
11277 test "$with_gnu_ld" != no && break ;;
11279 test "$with_gnu_ld" != yes && break ;;
11285 acl_cv_path_LD="$LD" # Let the user override the test with a path.
11289 LD="$acl_cv_path_LD"
11290 if test -n "$LD"; then
11291 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LD" >&5
11292 $as_echo "$LD" >&6; }
11294 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11295 $as_echo "no" >&6; }
11297 test -z "$LD" && as_fn_error $? "no acceptable ld found in \$PATH" "$LINENO" 5
11298 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if the linker ($LD) is GNU ld" >&5
11299 $as_echo_n "checking if the linker ($LD) is GNU ld... " >&6; }
11300 if test "${acl_cv_prog_gnu_ld+set}" = set; then :
11301 $as_echo_n "(cached) " >&6
11303 # I'd rather use --version here, but apparently some GNU ld's only accept -v.
11304 case `$LD -v 2>&1 </dev/null` in
11305 *GNU* | *'with BFD'*)
11306 acl_cv_prog_gnu_ld=yes ;;
11308 acl_cv_prog_gnu_ld=no ;;
11311 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $acl_cv_prog_gnu_ld" >&5
11312 $as_echo "$acl_cv_prog_gnu_ld" >&6; }
11313 with_gnu_ld=$acl_cv_prog_gnu_ld
11318 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for shared library run path origin" >&5
11319 $as_echo_n "checking for shared library run path origin... " >&6; }
11320 if test "${acl_cv_rpath+set}" = set; then :
11321 $as_echo_n "(cached) " >&6
11324 CC="$CC" GCC="$GCC" LDFLAGS="$LDFLAGS" LD="$LD" with_gnu_ld="$with_gnu_ld" \
11325 ${CONFIG_SHELL-/bin/sh} "$ac_aux_dir/config.rpath" "$host" > conftest.sh
11327 rm -f ./conftest.sh
11331 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $acl_cv_rpath" >&5
11332 $as_echo "$acl_cv_rpath" >&6; }
11334 acl_libext="$acl_cv_libext"
11335 acl_shlibext="$acl_cv_shlibext"
11336 acl_libname_spec="$acl_cv_libname_spec"
11337 acl_library_names_spec="$acl_cv_library_names_spec"
11338 acl_hardcode_libdir_flag_spec="$acl_cv_hardcode_libdir_flag_spec"
11339 acl_hardcode_libdir_separator="$acl_cv_hardcode_libdir_separator"
11340 acl_hardcode_direct="$acl_cv_hardcode_direct"
11341 acl_hardcode_minus_L="$acl_cv_hardcode_minus_L"
11342 # Check whether --enable-rpath was given.
11343 if test "${enable_rpath+set}" = set; then :
11344 enableval=$enable_rpath; :
11352 searchpath=`(LC_ALL=C $CC -print-search-dirs) 2>/dev/null | sed -n -e 's,^libraries: ,,p' | sed -e 's,^=,,'`
11353 if test -n "$searchpath"; then
11354 acl_save_IFS="${IFS= }"; IFS=":"
11355 for searchdir in $searchpath; do
11356 if test -d "$searchdir"; then
11357 case "$searchdir" in
11358 */lib64/ | */lib64 ) acl_libdirstem=lib64 ;;
11359 *) searchdir=`cd "$searchdir" && pwd`
11360 case "$searchdir" in
11361 */lib64 ) acl_libdirstem=lib64 ;;
11366 IFS="$acl_save_IFS"
11379 acl_save_prefix="$prefix"
11380 prefix="$acl_final_prefix"
11381 acl_save_exec_prefix="$exec_prefix"
11382 exec_prefix="$acl_final_exec_prefix"
11384 eval additional_includedir=\"$includedir\"
11385 eval additional_libdir=\"$libdir\"
11387 exec_prefix="$acl_save_exec_prefix"
11388 prefix="$acl_save_prefix"
11391 # Check whether --with-libiconv-prefix was given.
11392 if test "${with_libiconv_prefix+set}" = set; then :
11393 withval=$with_libiconv_prefix;
11394 if test "X$withval" = "Xno"; then
11397 if test "X$withval" = "X"; then
11399 acl_save_prefix="$prefix"
11400 prefix="$acl_final_prefix"
11401 acl_save_exec_prefix="$exec_prefix"
11402 exec_prefix="$acl_final_exec_prefix"
11404 eval additional_includedir=\"$includedir\"
11405 eval additional_libdir=\"$libdir\"
11407 exec_prefix="$acl_save_exec_prefix"
11408 prefix="$acl_save_prefix"
11411 additional_includedir="$withval/include"
11412 additional_libdir="$withval/$acl_libdirstem"
11424 names_already_handled=
11425 names_next_round='iconv '
11426 while test -n "$names_next_round"; do
11427 names_this_round="$names_next_round"
11429 for name in $names_this_round; do
11431 for n in $names_already_handled; do
11432 if test "$n" = "$name"; then
11433 already_handled=yes
11437 if test -z "$already_handled"; then
11438 names_already_handled="$names_already_handled $name"
11439 uppername=`echo "$name" | sed -e 'y|abcdefghijklmnopqrstuvwxyz./-|ABCDEFGHIJKLMNOPQRSTUVWXYZ___|'`
11440 eval value=\"\$HAVE_LIB$uppername\"
11441 if test -n "$value"; then
11442 if test "$value" = yes; then
11443 eval value=\"\$LIB$uppername\"
11444 test -z "$value" || LIBICONV="${LIBICONV}${LIBICONV:+ }$value"
11445 eval value=\"\$LTLIB$uppername\"
11446 test -z "$value" || LTLIBICONV="${LTLIBICONV}${LTLIBICONV:+ }$value"
11455 eval libname=\"$acl_libname_spec\" # typically: libname=lib$name
11456 if test -n "$acl_shlibext"; then
11457 shrext=".$acl_shlibext" # typically: shrext=.so
11461 if test $use_additional = yes; then
11462 dir="$additional_libdir"
11463 if test -n "$acl_shlibext"; then
11464 if test -f "$dir/$libname$shrext"; then
11466 found_so="$dir/$libname$shrext"
11468 if test "$acl_library_names_spec" = '$libname$shrext$versuffix'; then
11469 ver=`(cd "$dir" && \
11470 for f in "$libname$shrext".*; do echo "$f"; done \
11471 | sed -e "s,^$libname$shrext\\\\.,," \
11472 | sort -t '.' -n -r -k1,1 -k2,2 -k3,3 -k4,4 -k5,5 \
11473 | sed 1q ) 2>/dev/null`
11474 if test -n "$ver" && test -f "$dir/$libname$shrext.$ver"; then
11476 found_so="$dir/$libname$shrext.$ver"
11479 eval library_names=\"$acl_library_names_spec\"
11480 for f in $library_names; do
11481 if test -f "$dir/$f"; then
11490 if test "X$found_dir" = "X"; then
11491 if test -f "$dir/$libname.$acl_libext"; then
11493 found_a="$dir/$libname.$acl_libext"
11496 if test "X$found_dir" != "X"; then
11497 if test -f "$dir/$libname.la"; then
11498 found_la="$dir/$libname.la"
11502 if test "X$found_dir" = "X"; then
11503 for x in $LDFLAGS $LTLIBICONV; do
11505 acl_save_prefix="$prefix"
11506 prefix="$acl_final_prefix"
11507 acl_save_exec_prefix="$exec_prefix"
11508 exec_prefix="$acl_final_exec_prefix"
11510 exec_prefix="$acl_save_exec_prefix"
11511 prefix="$acl_save_prefix"
11515 dir=`echo "X$x" | sed -e 's/^X-L//'`
11516 if test -n "$acl_shlibext"; then
11517 if test -f "$dir/$libname$shrext"; then
11519 found_so="$dir/$libname$shrext"
11521 if test "$acl_library_names_spec" = '$libname$shrext$versuffix'; then
11522 ver=`(cd "$dir" && \
11523 for f in "$libname$shrext".*; do echo "$f"; done \
11524 | sed -e "s,^$libname$shrext\\\\.,," \
11525 | sort -t '.' -n -r -k1,1 -k2,2 -k3,3 -k4,4 -k5,5 \
11526 | sed 1q ) 2>/dev/null`
11527 if test -n "$ver" && test -f "$dir/$libname$shrext.$ver"; then
11529 found_so="$dir/$libname$shrext.$ver"
11532 eval library_names=\"$acl_library_names_spec\"
11533 for f in $library_names; do
11534 if test -f "$dir/$f"; then
11543 if test "X$found_dir" = "X"; then
11544 if test -f "$dir/$libname.$acl_libext"; then
11546 found_a="$dir/$libname.$acl_libext"
11549 if test "X$found_dir" != "X"; then
11550 if test -f "$dir/$libname.la"; then
11551 found_la="$dir/$libname.la"
11556 if test "X$found_dir" != "X"; then
11561 if test "X$found_dir" != "X"; then
11562 LTLIBICONV="${LTLIBICONV}${LTLIBICONV:+ }-L$found_dir -l$name"
11563 if test "X$found_so" != "X"; then
11564 if test "$enable_rpath" = no || test "X$found_dir" = "X/usr/$acl_libdirstem"; then
11565 LIBICONV="${LIBICONV}${LIBICONV:+ }$found_so"
11568 for x in $ltrpathdirs; do
11569 if test "X$x" = "X$found_dir"; then
11574 if test -z "$haveit"; then
11575 ltrpathdirs="$ltrpathdirs $found_dir"
11577 if test "$acl_hardcode_direct" = yes; then
11578 LIBICONV="${LIBICONV}${LIBICONV:+ }$found_so"
11580 if test -n "$acl_hardcode_libdir_flag_spec" && test "$acl_hardcode_minus_L" = no; then
11581 LIBICONV="${LIBICONV}${LIBICONV:+ }$found_so"
11583 for x in $rpathdirs; do
11584 if test "X$x" = "X$found_dir"; then
11589 if test -z "$haveit"; then
11590 rpathdirs="$rpathdirs $found_dir"
11594 for x in $LDFLAGS $LIBICONV; do
11596 acl_save_prefix="$prefix"
11597 prefix="$acl_final_prefix"
11598 acl_save_exec_prefix="$exec_prefix"
11599 exec_prefix="$acl_final_exec_prefix"
11601 exec_prefix="$acl_save_exec_prefix"
11602 prefix="$acl_save_prefix"
11604 if test "X$x" = "X-L$found_dir"; then
11609 if test -z "$haveit"; then
11610 LIBICONV="${LIBICONV}${LIBICONV:+ }-L$found_dir"
11612 if test "$acl_hardcode_minus_L" != no; then
11613 LIBICONV="${LIBICONV}${LIBICONV:+ }$found_so"
11615 LIBICONV="${LIBICONV}${LIBICONV:+ }-l$name"
11621 if test "X$found_a" != "X"; then
11622 LIBICONV="${LIBICONV}${LIBICONV:+ }$found_a"
11624 LIBICONV="${LIBICONV}${LIBICONV:+ }-L$found_dir -l$name"
11627 additional_includedir=
11628 case "$found_dir" in
11629 */$acl_libdirstem | */$acl_libdirstem/)
11630 basedir=`echo "X$found_dir" | sed -e 's,^X,,' -e "s,/$acl_libdirstem/"'*$,,'`
11631 LIBICONV_PREFIX="$basedir"
11632 additional_includedir="$basedir/include"
11635 if test "X$additional_includedir" != "X"; then
11636 if test "X$additional_includedir" != "X/usr/include"; then
11638 if test "X$additional_includedir" = "X/usr/local/include"; then
11639 if test -n "$GCC"; then
11641 linux* | gnu* | k*bsd*-gnu) haveit=yes;;
11645 if test -z "$haveit"; then
11646 for x in $CPPFLAGS $INCICONV; do
11648 acl_save_prefix="$prefix"
11649 prefix="$acl_final_prefix"
11650 acl_save_exec_prefix="$exec_prefix"
11651 exec_prefix="$acl_final_exec_prefix"
11653 exec_prefix="$acl_save_exec_prefix"
11654 prefix="$acl_save_prefix"
11656 if test "X$x" = "X-I$additional_includedir"; then
11661 if test -z "$haveit"; then
11662 if test -d "$additional_includedir"; then
11663 INCICONV="${INCICONV}${INCICONV:+ }-I$additional_includedir"
11669 if test -n "$found_la"; then
11670 save_libdir="$libdir"
11671 case "$found_la" in
11672 */* | *\\*) . "$found_la" ;;
11673 *) . "./$found_la" ;;
11675 libdir="$save_libdir"
11676 for dep in $dependency_libs; do
11679 additional_libdir=`echo "X$dep" | sed -e 's/^X-L//'`
11680 if test "X$additional_libdir" != "X/usr/$acl_libdirstem"; then
11682 if test "X$additional_libdir" = "X/usr/local/$acl_libdirstem"; then
11683 if test -n "$GCC"; then
11685 linux* | gnu* | k*bsd*-gnu) haveit=yes;;
11689 if test -z "$haveit"; then
11691 for x in $LDFLAGS $LIBICONV; do
11693 acl_save_prefix="$prefix"
11694 prefix="$acl_final_prefix"
11695 acl_save_exec_prefix="$exec_prefix"
11696 exec_prefix="$acl_final_exec_prefix"
11698 exec_prefix="$acl_save_exec_prefix"
11699 prefix="$acl_save_prefix"
11701 if test "X$x" = "X-L$additional_libdir"; then
11706 if test -z "$haveit"; then
11707 if test -d "$additional_libdir"; then
11708 LIBICONV="${LIBICONV}${LIBICONV:+ }-L$additional_libdir"
11712 for x in $LDFLAGS $LTLIBICONV; do
11714 acl_save_prefix="$prefix"
11715 prefix="$acl_final_prefix"
11716 acl_save_exec_prefix="$exec_prefix"
11717 exec_prefix="$acl_final_exec_prefix"
11719 exec_prefix="$acl_save_exec_prefix"
11720 prefix="$acl_save_prefix"
11722 if test "X$x" = "X-L$additional_libdir"; then
11727 if test -z "$haveit"; then
11728 if test -d "$additional_libdir"; then
11729 LTLIBICONV="${LTLIBICONV}${LTLIBICONV:+ }-L$additional_libdir"
11736 dir=`echo "X$dep" | sed -e 's/^X-R//'`
11737 if test "$enable_rpath" != no; then
11739 for x in $rpathdirs; do
11740 if test "X$x" = "X$dir"; then
11745 if test -z "$haveit"; then
11746 rpathdirs="$rpathdirs $dir"
11749 for x in $ltrpathdirs; do
11750 if test "X$x" = "X$dir"; then
11755 if test -z "$haveit"; then
11756 ltrpathdirs="$ltrpathdirs $dir"
11761 names_next_round="$names_next_round "`echo "X$dep" | sed -e 's/^X-l//'`
11764 names_next_round="$names_next_round "`echo "X$dep" | sed -e 's,^X.*/,,' -e 's,^lib,,' -e 's,\.la$,,'`
11767 LIBICONV="${LIBICONV}${LIBICONV:+ }$dep"
11768 LTLIBICONV="${LTLIBICONV}${LTLIBICONV:+ }$dep"
11774 LIBICONV="${LIBICONV}${LIBICONV:+ }-l$name"
11775 LTLIBICONV="${LTLIBICONV}${LTLIBICONV:+ }-l$name"
11781 if test "X$rpathdirs" != "X"; then
11782 if test -n "$acl_hardcode_libdir_separator"; then
11784 for found_dir in $rpathdirs; do
11785 alldirs="${alldirs}${alldirs:+$acl_hardcode_libdir_separator}$found_dir"
11787 acl_save_libdir="$libdir"
11789 eval flag=\"$acl_hardcode_libdir_flag_spec\"
11790 libdir="$acl_save_libdir"
11791 LIBICONV="${LIBICONV}${LIBICONV:+ }$flag"
11793 for found_dir in $rpathdirs; do
11794 acl_save_libdir="$libdir"
11795 libdir="$found_dir"
11796 eval flag=\"$acl_hardcode_libdir_flag_spec\"
11797 libdir="$acl_save_libdir"
11798 LIBICONV="${LIBICONV}${LIBICONV:+ }$flag"
11802 if test "X$ltrpathdirs" != "X"; then
11803 for found_dir in $ltrpathdirs; do
11804 LTLIBICONV="${LTLIBICONV}${LTLIBICONV:+ }-R$found_dir"
11832 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for CFPreferencesCopyAppValue" >&5
11833 $as_echo_n "checking for CFPreferencesCopyAppValue... " >&6; }
11834 if test "${gt_cv_func_CFPreferencesCopyAppValue+set}" = set; then :
11835 $as_echo_n "(cached) " >&6
11837 gt_save_LIBS="$LIBS"
11838 LIBS="$LIBS -Wl,-framework -Wl,CoreFoundation"
11839 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11840 /* end confdefs.h. */
11841 #include <CoreFoundation/CFPreferences.h>
11845 CFPreferencesCopyAppValue(NULL, NULL)
11850 if ac_fn_c_try_link "$LINENO"; then :
11851 gt_cv_func_CFPreferencesCopyAppValue=yes
11853 gt_cv_func_CFPreferencesCopyAppValue=no
11855 rm -f core conftest.err conftest.$ac_objext \
11856 conftest$ac_exeext conftest.$ac_ext
11857 LIBS="$gt_save_LIBS"
11859 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gt_cv_func_CFPreferencesCopyAppValue" >&5
11860 $as_echo "$gt_cv_func_CFPreferencesCopyAppValue" >&6; }
11861 if test $gt_cv_func_CFPreferencesCopyAppValue = yes; then
11863 $as_echo "#define HAVE_CFPREFERENCESCOPYAPPVALUE 1" >>confdefs.h
11866 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for CFLocaleCopyCurrent" >&5
11867 $as_echo_n "checking for CFLocaleCopyCurrent... " >&6; }
11868 if test "${gt_cv_func_CFLocaleCopyCurrent+set}" = set; then :
11869 $as_echo_n "(cached) " >&6
11871 gt_save_LIBS="$LIBS"
11872 LIBS="$LIBS -Wl,-framework -Wl,CoreFoundation"
11873 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11874 /* end confdefs.h. */
11875 #include <CoreFoundation/CFLocale.h>
11879 CFLocaleCopyCurrent();
11884 if ac_fn_c_try_link "$LINENO"; then :
11885 gt_cv_func_CFLocaleCopyCurrent=yes
11887 gt_cv_func_CFLocaleCopyCurrent=no
11889 rm -f core conftest.err conftest.$ac_objext \
11890 conftest$ac_exeext conftest.$ac_ext
11891 LIBS="$gt_save_LIBS"
11893 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gt_cv_func_CFLocaleCopyCurrent" >&5
11894 $as_echo "$gt_cv_func_CFLocaleCopyCurrent" >&6; }
11895 if test $gt_cv_func_CFLocaleCopyCurrent = yes; then
11897 $as_echo "#define HAVE_CFLOCALECOPYCURRENT 1" >>confdefs.h
11901 if test $gt_cv_func_CFPreferencesCopyAppValue = yes || test $gt_cv_func_CFLocaleCopyCurrent = yes; then
11902 INTL_MACOSX_LIBS="-Wl,-framework -Wl,CoreFoundation"
11914 case " $gt_needs " in
11915 *" need-formatstring-macros "*) gt_api_version=3 ;;
11916 *" need-ngettext "*) gt_api_version=2 ;;
11917 *) gt_api_version=1 ;;
11919 gt_func_gnugettext_libc="gt_cv_func_gnugettext${gt_api_version}_libc"
11920 gt_func_gnugettext_libintl="gt_cv_func_gnugettext${gt_api_version}_libintl"
11922 if test "$USE_NLS" = "yes"; then
11923 gt_use_preinstalled_gnugettext=no
11926 if test $gt_api_version -ge 3; then
11927 gt_revision_test_code='
11928 #ifndef __GNU_GETTEXT_SUPPORTED_REVISION
11929 #define __GNU_GETTEXT_SUPPORTED_REVISION(major) ((major) == 0 ? 0 : -1)
11931 typedef int array [2 * (__GNU_GETTEXT_SUPPORTED_REVISION(0) >= 1) - 1];
11934 gt_revision_test_code=
11936 if test $gt_api_version -ge 2; then
11937 gt_expression_test_code=' + * ngettext ("", "", 0)'
11939 gt_expression_test_code=
11942 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU gettext in libc" >&5
11943 $as_echo_n "checking for GNU gettext in libc... " >&6; }
11944 if eval "test \"\${$gt_func_gnugettext_libc+set}\"" = set; then :
11945 $as_echo_n "(cached) " >&6
11947 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11948 /* end confdefs.h. */
11949 #include <libintl.h>
11950 $gt_revision_test_code
11951 extern int _nl_msg_cat_cntr;
11952 extern int *_nl_domain_bindings;
11956 bindtextdomain ("", "");
11957 return * gettext ("")$gt_expression_test_code + _nl_msg_cat_cntr + *_nl_domain_bindings
11962 if ac_fn_c_try_link "$LINENO"; then :
11963 eval "$gt_func_gnugettext_libc=yes"
11965 eval "$gt_func_gnugettext_libc=no"
11967 rm -f core conftest.err conftest.$ac_objext \
11968 conftest$ac_exeext conftest.$ac_ext
11970 eval ac_res=\$$gt_func_gnugettext_libc
11971 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
11972 $as_echo "$ac_res" >&6; }
11974 if { eval "gt_val=\$$gt_func_gnugettext_libc"; test "$gt_val" != "yes"; }; then
11980 am_save_CPPFLAGS="$CPPFLAGS"
11982 for element in $INCICONV; do
11984 for x in $CPPFLAGS; do
11986 acl_save_prefix="$prefix"
11987 prefix="$acl_final_prefix"
11988 acl_save_exec_prefix="$exec_prefix"
11989 exec_prefix="$acl_final_exec_prefix"
11991 exec_prefix="$acl_save_exec_prefix"
11992 prefix="$acl_save_prefix"
11994 if test "X$x" = "X$element"; then
11999 if test -z "$haveit"; then
12000 CPPFLAGS="${CPPFLAGS}${CPPFLAGS:+ }$element"
12005 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for iconv" >&5
12006 $as_echo_n "checking for iconv... " >&6; }
12007 if test "${am_cv_func_iconv+set}" = set; then :
12008 $as_echo_n "(cached) " >&6
12011 am_cv_func_iconv="no, consider installing GNU libiconv"
12013 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12014 /* end confdefs.h. */
12015 #include <stdlib.h>
12020 iconv_t cd = iconv_open("","");
12021 iconv(cd,NULL,NULL,NULL,NULL);
12027 if ac_fn_c_try_link "$LINENO"; then :
12028 am_cv_func_iconv=yes
12030 rm -f core conftest.err conftest.$ac_objext \
12031 conftest$ac_exeext conftest.$ac_ext
12032 if test "$am_cv_func_iconv" != yes; then
12033 am_save_LIBS="$LIBS"
12034 LIBS="$LIBS $LIBICONV"
12035 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12036 /* end confdefs.h. */
12037 #include <stdlib.h>
12042 iconv_t cd = iconv_open("","");
12043 iconv(cd,NULL,NULL,NULL,NULL);
12049 if ac_fn_c_try_link "$LINENO"; then :
12050 am_cv_lib_iconv=yes
12051 am_cv_func_iconv=yes
12053 rm -f core conftest.err conftest.$ac_objext \
12054 conftest$ac_exeext conftest.$ac_ext
12055 LIBS="$am_save_LIBS"
12059 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_func_iconv" >&5
12060 $as_echo "$am_cv_func_iconv" >&6; }
12061 if test "$am_cv_func_iconv" = yes; then
12062 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for working iconv" >&5
12063 $as_echo_n "checking for working iconv... " >&6; }
12064 if test "${am_cv_func_iconv_works+set}" = set; then :
12065 $as_echo_n "(cached) " >&6
12068 am_save_LIBS="$LIBS"
12069 if test $am_cv_lib_iconv = yes; then
12070 LIBS="$LIBS $LIBICONV"
12072 if test "$cross_compiling" = yes; then :
12074 aix* | hpux*) am_cv_func_iconv_works="guessing no" ;;
12075 *) am_cv_func_iconv_works="guessing yes" ;;
12078 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12079 /* end confdefs.h. */
12082 #include <string.h>
12085 /* Test against AIX 5.1 bug: Failures are not distinguishable from successful
12088 iconv_t cd_utf8_to_88591 = iconv_open ("ISO8859-1", "UTF-8");
12089 if (cd_utf8_to_88591 != (iconv_t)(-1))
12091 static const char input[] = "\342\202\254"; /* EURO SIGN */
12093 const char *inptr = input;
12094 size_t inbytesleft = strlen (input);
12095 char *outptr = buf;
12096 size_t outbytesleft = sizeof (buf);
12097 size_t res = iconv (cd_utf8_to_88591,
12098 (char **) &inptr, &inbytesleft,
12099 &outptr, &outbytesleft);
12104 #if 0 /* This bug could be worked around by the caller. */
12105 /* Test against HP-UX 11.11 bug: Positive return value instead of 0. */
12107 iconv_t cd_88591_to_utf8 = iconv_open ("utf8", "iso88591");
12108 if (cd_88591_to_utf8 != (iconv_t)(-1))
12110 static const char input[] = "\304rger mit b\366sen B\374bchen ohne Augenma\337";
12112 const char *inptr = input;
12113 size_t inbytesleft = strlen (input);
12114 char *outptr = buf;
12115 size_t outbytesleft = sizeof (buf);
12116 size_t res = iconv (cd_88591_to_utf8,
12117 (char **) &inptr, &inbytesleft,
12118 &outptr, &outbytesleft);
12124 /* Test against HP-UX 11.11 bug: No converter from EUC-JP to UTF-8 is
12126 if (/* Try standardized names. */
12127 iconv_open ("UTF-8", "EUC-JP") == (iconv_t)(-1)
12128 /* Try IRIX, OSF/1 names. */
12129 && iconv_open ("UTF-8", "eucJP") == (iconv_t)(-1)
12130 /* Try AIX names. */
12131 && iconv_open ("UTF-8", "IBM-eucJP") == (iconv_t)(-1)
12132 /* Try HP-UX names. */
12133 && iconv_open ("utf8", "eucJP") == (iconv_t)(-1))
12138 if ac_fn_c_try_run "$LINENO"; then :
12139 am_cv_func_iconv_works=yes
12141 am_cv_func_iconv_works=no
12143 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
12144 conftest.$ac_objext conftest.beam conftest.$ac_ext
12147 LIBS="$am_save_LIBS"
12150 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_func_iconv_works" >&5
12151 $as_echo "$am_cv_func_iconv_works" >&6; }
12152 case "$am_cv_func_iconv_works" in
12153 *no) am_func_iconv=no am_cv_lib_iconv=no ;;
12154 *) am_func_iconv=yes ;;
12157 am_func_iconv=no am_cv_lib_iconv=no
12159 if test "$am_func_iconv" = yes; then
12161 $as_echo "#define HAVE_ICONV 1" >>confdefs.h
12164 if test "$am_cv_lib_iconv" = yes; then
12165 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to link with libiconv" >&5
12166 $as_echo_n "checking how to link with libiconv... " >&6; }
12167 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LIBICONV" >&5
12168 $as_echo "$LIBICONV" >&6; }
12170 CPPFLAGS="$am_save_CPPFLAGS"
12184 acl_save_prefix="$prefix"
12185 prefix="$acl_final_prefix"
12186 acl_save_exec_prefix="$exec_prefix"
12187 exec_prefix="$acl_final_exec_prefix"
12189 eval additional_includedir=\"$includedir\"
12190 eval additional_libdir=\"$libdir\"
12192 exec_prefix="$acl_save_exec_prefix"
12193 prefix="$acl_save_prefix"
12196 # Check whether --with-libintl-prefix was given.
12197 if test "${with_libintl_prefix+set}" = set; then :
12198 withval=$with_libintl_prefix;
12199 if test "X$withval" = "Xno"; then
12202 if test "X$withval" = "X"; then
12204 acl_save_prefix="$prefix"
12205 prefix="$acl_final_prefix"
12206 acl_save_exec_prefix="$exec_prefix"
12207 exec_prefix="$acl_final_exec_prefix"
12209 eval additional_includedir=\"$includedir\"
12210 eval additional_libdir=\"$libdir\"
12212 exec_prefix="$acl_save_exec_prefix"
12213 prefix="$acl_save_prefix"
12216 additional_includedir="$withval/include"
12217 additional_libdir="$withval/$acl_libdirstem"
12229 names_already_handled=
12230 names_next_round='intl '
12231 while test -n "$names_next_round"; do
12232 names_this_round="$names_next_round"
12234 for name in $names_this_round; do
12236 for n in $names_already_handled; do
12237 if test "$n" = "$name"; then
12238 already_handled=yes
12242 if test -z "$already_handled"; then
12243 names_already_handled="$names_already_handled $name"
12244 uppername=`echo "$name" | sed -e 'y|abcdefghijklmnopqrstuvwxyz./-|ABCDEFGHIJKLMNOPQRSTUVWXYZ___|'`
12245 eval value=\"\$HAVE_LIB$uppername\"
12246 if test -n "$value"; then
12247 if test "$value" = yes; then
12248 eval value=\"\$LIB$uppername\"
12249 test -z "$value" || LIBINTL="${LIBINTL}${LIBINTL:+ }$value"
12250 eval value=\"\$LTLIB$uppername\"
12251 test -z "$value" || LTLIBINTL="${LTLIBINTL}${LTLIBINTL:+ }$value"
12260 eval libname=\"$acl_libname_spec\" # typically: libname=lib$name
12261 if test -n "$acl_shlibext"; then
12262 shrext=".$acl_shlibext" # typically: shrext=.so
12266 if test $use_additional = yes; then
12267 dir="$additional_libdir"
12268 if test -n "$acl_shlibext"; then
12269 if test -f "$dir/$libname$shrext"; then
12271 found_so="$dir/$libname$shrext"
12273 if test "$acl_library_names_spec" = '$libname$shrext$versuffix'; then
12274 ver=`(cd "$dir" && \
12275 for f in "$libname$shrext".*; do echo "$f"; done \
12276 | sed -e "s,^$libname$shrext\\\\.,," \
12277 | sort -t '.' -n -r -k1,1 -k2,2 -k3,3 -k4,4 -k5,5 \
12278 | sed 1q ) 2>/dev/null`
12279 if test -n "$ver" && test -f "$dir/$libname$shrext.$ver"; then
12281 found_so="$dir/$libname$shrext.$ver"
12284 eval library_names=\"$acl_library_names_spec\"
12285 for f in $library_names; do
12286 if test -f "$dir/$f"; then
12295 if test "X$found_dir" = "X"; then
12296 if test -f "$dir/$libname.$acl_libext"; then
12298 found_a="$dir/$libname.$acl_libext"
12301 if test "X$found_dir" != "X"; then
12302 if test -f "$dir/$libname.la"; then
12303 found_la="$dir/$libname.la"
12307 if test "X$found_dir" = "X"; then
12308 for x in $LDFLAGS $LTLIBINTL; do
12310 acl_save_prefix="$prefix"
12311 prefix="$acl_final_prefix"
12312 acl_save_exec_prefix="$exec_prefix"
12313 exec_prefix="$acl_final_exec_prefix"
12315 exec_prefix="$acl_save_exec_prefix"
12316 prefix="$acl_save_prefix"
12320 dir=`echo "X$x" | sed -e 's/^X-L//'`
12321 if test -n "$acl_shlibext"; then
12322 if test -f "$dir/$libname$shrext"; then
12324 found_so="$dir/$libname$shrext"
12326 if test "$acl_library_names_spec" = '$libname$shrext$versuffix'; then
12327 ver=`(cd "$dir" && \
12328 for f in "$libname$shrext".*; do echo "$f"; done \
12329 | sed -e "s,^$libname$shrext\\\\.,," \
12330 | sort -t '.' -n -r -k1,1 -k2,2 -k3,3 -k4,4 -k5,5 \
12331 | sed 1q ) 2>/dev/null`
12332 if test -n "$ver" && test -f "$dir/$libname$shrext.$ver"; then
12334 found_so="$dir/$libname$shrext.$ver"
12337 eval library_names=\"$acl_library_names_spec\"
12338 for f in $library_names; do
12339 if test -f "$dir/$f"; then
12348 if test "X$found_dir" = "X"; then
12349 if test -f "$dir/$libname.$acl_libext"; then
12351 found_a="$dir/$libname.$acl_libext"
12354 if test "X$found_dir" != "X"; then
12355 if test -f "$dir/$libname.la"; then
12356 found_la="$dir/$libname.la"
12361 if test "X$found_dir" != "X"; then
12366 if test "X$found_dir" != "X"; then
12367 LTLIBINTL="${LTLIBINTL}${LTLIBINTL:+ }-L$found_dir -l$name"
12368 if test "X$found_so" != "X"; then
12369 if test "$enable_rpath" = no || test "X$found_dir" = "X/usr/$acl_libdirstem"; then
12370 LIBINTL="${LIBINTL}${LIBINTL:+ }$found_so"
12373 for x in $ltrpathdirs; do
12374 if test "X$x" = "X$found_dir"; then
12379 if test -z "$haveit"; then
12380 ltrpathdirs="$ltrpathdirs $found_dir"
12382 if test "$acl_hardcode_direct" = yes; then
12383 LIBINTL="${LIBINTL}${LIBINTL:+ }$found_so"
12385 if test -n "$acl_hardcode_libdir_flag_spec" && test "$acl_hardcode_minus_L" = no; then
12386 LIBINTL="${LIBINTL}${LIBINTL:+ }$found_so"
12388 for x in $rpathdirs; do
12389 if test "X$x" = "X$found_dir"; then
12394 if test -z "$haveit"; then
12395 rpathdirs="$rpathdirs $found_dir"
12399 for x in $LDFLAGS $LIBINTL; do
12401 acl_save_prefix="$prefix"
12402 prefix="$acl_final_prefix"
12403 acl_save_exec_prefix="$exec_prefix"
12404 exec_prefix="$acl_final_exec_prefix"
12406 exec_prefix="$acl_save_exec_prefix"
12407 prefix="$acl_save_prefix"
12409 if test "X$x" = "X-L$found_dir"; then
12414 if test -z "$haveit"; then
12415 LIBINTL="${LIBINTL}${LIBINTL:+ }-L$found_dir"
12417 if test "$acl_hardcode_minus_L" != no; then
12418 LIBINTL="${LIBINTL}${LIBINTL:+ }$found_so"
12420 LIBINTL="${LIBINTL}${LIBINTL:+ }-l$name"
12426 if test "X$found_a" != "X"; then
12427 LIBINTL="${LIBINTL}${LIBINTL:+ }$found_a"
12429 LIBINTL="${LIBINTL}${LIBINTL:+ }-L$found_dir -l$name"
12432 additional_includedir=
12433 case "$found_dir" in
12434 */$acl_libdirstem | */$acl_libdirstem/)
12435 basedir=`echo "X$found_dir" | sed -e 's,^X,,' -e "s,/$acl_libdirstem/"'*$,,'`
12436 LIBINTL_PREFIX="$basedir"
12437 additional_includedir="$basedir/include"
12440 if test "X$additional_includedir" != "X"; then
12441 if test "X$additional_includedir" != "X/usr/include"; then
12443 if test "X$additional_includedir" = "X/usr/local/include"; then
12444 if test -n "$GCC"; then
12446 linux* | gnu* | k*bsd*-gnu) haveit=yes;;
12450 if test -z "$haveit"; then
12451 for x in $CPPFLAGS $INCINTL; do
12453 acl_save_prefix="$prefix"
12454 prefix="$acl_final_prefix"
12455 acl_save_exec_prefix="$exec_prefix"
12456 exec_prefix="$acl_final_exec_prefix"
12458 exec_prefix="$acl_save_exec_prefix"
12459 prefix="$acl_save_prefix"
12461 if test "X$x" = "X-I$additional_includedir"; then
12466 if test -z "$haveit"; then
12467 if test -d "$additional_includedir"; then
12468 INCINTL="${INCINTL}${INCINTL:+ }-I$additional_includedir"
12474 if test -n "$found_la"; then
12475 save_libdir="$libdir"
12476 case "$found_la" in
12477 */* | *\\*) . "$found_la" ;;
12478 *) . "./$found_la" ;;
12480 libdir="$save_libdir"
12481 for dep in $dependency_libs; do
12484 additional_libdir=`echo "X$dep" | sed -e 's/^X-L//'`
12485 if test "X$additional_libdir" != "X/usr/$acl_libdirstem"; then
12487 if test "X$additional_libdir" = "X/usr/local/$acl_libdirstem"; then
12488 if test -n "$GCC"; then
12490 linux* | gnu* | k*bsd*-gnu) haveit=yes;;
12494 if test -z "$haveit"; then
12496 for x in $LDFLAGS $LIBINTL; do
12498 acl_save_prefix="$prefix"
12499 prefix="$acl_final_prefix"
12500 acl_save_exec_prefix="$exec_prefix"
12501 exec_prefix="$acl_final_exec_prefix"
12503 exec_prefix="$acl_save_exec_prefix"
12504 prefix="$acl_save_prefix"
12506 if test "X$x" = "X-L$additional_libdir"; then
12511 if test -z "$haveit"; then
12512 if test -d "$additional_libdir"; then
12513 LIBINTL="${LIBINTL}${LIBINTL:+ }-L$additional_libdir"
12517 for x in $LDFLAGS $LTLIBINTL; do
12519 acl_save_prefix="$prefix"
12520 prefix="$acl_final_prefix"
12521 acl_save_exec_prefix="$exec_prefix"
12522 exec_prefix="$acl_final_exec_prefix"
12524 exec_prefix="$acl_save_exec_prefix"
12525 prefix="$acl_save_prefix"
12527 if test "X$x" = "X-L$additional_libdir"; then
12532 if test -z "$haveit"; then
12533 if test -d "$additional_libdir"; then
12534 LTLIBINTL="${LTLIBINTL}${LTLIBINTL:+ }-L$additional_libdir"
12541 dir=`echo "X$dep" | sed -e 's/^X-R//'`
12542 if test "$enable_rpath" != no; then
12544 for x in $rpathdirs; do
12545 if test "X$x" = "X$dir"; then
12550 if test -z "$haveit"; then
12551 rpathdirs="$rpathdirs $dir"
12554 for x in $ltrpathdirs; do
12555 if test "X$x" = "X$dir"; then
12560 if test -z "$haveit"; then
12561 ltrpathdirs="$ltrpathdirs $dir"
12566 names_next_round="$names_next_round "`echo "X$dep" | sed -e 's/^X-l//'`
12569 names_next_round="$names_next_round "`echo "X$dep" | sed -e 's,^X.*/,,' -e 's,^lib,,' -e 's,\.la$,,'`
12572 LIBINTL="${LIBINTL}${LIBINTL:+ }$dep"
12573 LTLIBINTL="${LTLIBINTL}${LTLIBINTL:+ }$dep"
12579 LIBINTL="${LIBINTL}${LIBINTL:+ }-l$name"
12580 LTLIBINTL="${LTLIBINTL}${LTLIBINTL:+ }-l$name"
12586 if test "X$rpathdirs" != "X"; then
12587 if test -n "$acl_hardcode_libdir_separator"; then
12589 for found_dir in $rpathdirs; do
12590 alldirs="${alldirs}${alldirs:+$acl_hardcode_libdir_separator}$found_dir"
12592 acl_save_libdir="$libdir"
12594 eval flag=\"$acl_hardcode_libdir_flag_spec\"
12595 libdir="$acl_save_libdir"
12596 LIBINTL="${LIBINTL}${LIBINTL:+ }$flag"
12598 for found_dir in $rpathdirs; do
12599 acl_save_libdir="$libdir"
12600 libdir="$found_dir"
12601 eval flag=\"$acl_hardcode_libdir_flag_spec\"
12602 libdir="$acl_save_libdir"
12603 LIBINTL="${LIBINTL}${LIBINTL:+ }$flag"
12607 if test "X$ltrpathdirs" != "X"; then
12608 for found_dir in $ltrpathdirs; do
12609 LTLIBINTL="${LTLIBINTL}${LTLIBINTL:+ }-R$found_dir"
12613 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU gettext in libintl" >&5
12614 $as_echo_n "checking for GNU gettext in libintl... " >&6; }
12615 if eval "test \"\${$gt_func_gnugettext_libintl+set}\"" = set; then :
12616 $as_echo_n "(cached) " >&6
12618 gt_save_CPPFLAGS="$CPPFLAGS"
12619 CPPFLAGS="$CPPFLAGS $INCINTL"
12620 gt_save_LIBS="$LIBS"
12621 LIBS="$LIBS $LIBINTL"
12622 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12623 /* end confdefs.h. */
12624 #include <libintl.h>
12625 $gt_revision_test_code
12626 extern int _nl_msg_cat_cntr;
12631 const char *_nl_expand_alias (const char *);
12635 bindtextdomain ("", "");
12636 return * gettext ("")$gt_expression_test_code + _nl_msg_cat_cntr + *_nl_expand_alias ("")
12641 if ac_fn_c_try_link "$LINENO"; then :
12642 eval "$gt_func_gnugettext_libintl=yes"
12644 eval "$gt_func_gnugettext_libintl=no"
12646 rm -f core conftest.err conftest.$ac_objext \
12647 conftest$ac_exeext conftest.$ac_ext
12648 if { eval "gt_val=\$$gt_func_gnugettext_libintl"; test "$gt_val" != yes; } && test -n "$LIBICONV"; then
12649 LIBS="$LIBS $LIBICONV"
12650 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12651 /* end confdefs.h. */
12652 #include <libintl.h>
12653 $gt_revision_test_code
12654 extern int _nl_msg_cat_cntr;
12659 const char *_nl_expand_alias (const char *);
12663 bindtextdomain ("", "");
12664 return * gettext ("")$gt_expression_test_code + _nl_msg_cat_cntr + *_nl_expand_alias ("")
12669 if ac_fn_c_try_link "$LINENO"; then :
12670 LIBINTL="$LIBINTL $LIBICONV"
12671 LTLIBINTL="$LTLIBINTL $LTLIBICONV"
12672 eval "$gt_func_gnugettext_libintl=yes"
12675 rm -f core conftest.err conftest.$ac_objext \
12676 conftest$ac_exeext conftest.$ac_ext
12678 CPPFLAGS="$gt_save_CPPFLAGS"
12679 LIBS="$gt_save_LIBS"
12681 eval ac_res=\$$gt_func_gnugettext_libintl
12682 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
12683 $as_echo "$ac_res" >&6; }
12686 if { eval "gt_val=\$$gt_func_gnugettext_libc"; test "$gt_val" = "yes"; } \
12687 || { { eval "gt_val=\$$gt_func_gnugettext_libintl"; test "$gt_val" = "yes"; } \
12688 && test "$PACKAGE" != gettext-runtime \
12689 && test "$PACKAGE" != gettext-tools; }; then
12690 gt_use_preinstalled_gnugettext=yes
12699 if test -n "$INTL_MACOSX_LIBS"; then
12700 if test "$gt_use_preinstalled_gnugettext" = "yes" \
12701 || test "$nls_cv_use_gnu_gettext" = "yes"; then
12702 LIBINTL="$LIBINTL $INTL_MACOSX_LIBS"
12703 LTLIBINTL="$LTLIBINTL $INTL_MACOSX_LIBS"
12707 if test "$gt_use_preinstalled_gnugettext" = "yes" \
12708 || test "$nls_cv_use_gnu_gettext" = "yes"; then
12710 $as_echo "#define ENABLE_NLS 1" >>confdefs.h
12717 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to use NLS" >&5
12718 $as_echo_n "checking whether to use NLS... " >&6; }
12719 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $USE_NLS" >&5
12720 $as_echo "$USE_NLS" >&6; }
12721 if test "$USE_NLS" = "yes"; then
12722 { $as_echo "$as_me:${as_lineno-$LINENO}: checking where the gettext function comes from" >&5
12723 $as_echo_n "checking where the gettext function comes from... " >&6; }
12724 if test "$gt_use_preinstalled_gnugettext" = "yes"; then
12725 if { eval "gt_val=\$$gt_func_gnugettext_libintl"; test "$gt_val" = "yes"; }; then
12726 gt_source="external libintl"
12731 gt_source="included intl directory"
12733 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gt_source" >&5
12734 $as_echo "$gt_source" >&6; }
12737 if test "$USE_NLS" = "yes"; then
12739 if test "$gt_use_preinstalled_gnugettext" = "yes"; then
12740 if { eval "gt_val=\$$gt_func_gnugettext_libintl"; test "$gt_val" = "yes"; }; then
12741 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to link with libintl" >&5
12742 $as_echo_n "checking how to link with libintl... " >&6; }
12743 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LIBINTL" >&5
12744 $as_echo "$LIBINTL" >&6; }
12746 for element in $INCINTL; do
12748 for x in $CPPFLAGS; do
12750 acl_save_prefix="$prefix"
12751 prefix="$acl_final_prefix"
12752 acl_save_exec_prefix="$exec_prefix"
12753 exec_prefix="$acl_final_exec_prefix"
12755 exec_prefix="$acl_save_exec_prefix"
12756 prefix="$acl_save_prefix"
12758 if test "X$x" = "X$element"; then
12763 if test -z "$haveit"; then
12764 CPPFLAGS="${CPPFLAGS}${CPPFLAGS:+ }$element"
12771 $as_echo "#define HAVE_GETTEXT 1" >>confdefs.h
12774 $as_echo "#define HAVE_DCGETTEXT 1" >>confdefs.h
12783 INTLLIBS="$LIBINTL"
12790 po_makefile_in=po/Makefile.in
12794 LOCALE_DIR="${localedir}"
12797 if test "x${POSUB}" = "x" ; then
12801 if test "x${have_po}" = "xyes"; then
12810 ### Needed information
12816 ### Additional options to configure
12818 # Check whether --enable-strict-spec was given.
12819 if test "${enable_strict_spec+set}" = set; then :
12820 enableval=$enable_strict_spec;
12821 if test "x${enableval}" = "xyes" ; then
12822 enable_strict_spec="yes"
12824 enable_strict_spec="no"
12828 enable_strict_spec="no"
12832 if test "x${enable_strict_spec}" = "xyes" ; then
12834 $as_echo "#define STRICT_SPEC 1" >>confdefs.h
12838 # Check whether --enable-sloppy-spec was given.
12839 if test "${enable_sloppy_spec+set}" = set; then :
12840 enableval=$enable_sloppy_spec;
12841 if test "x${enableval}" = "xyes" ; then
12842 enable_sloppy_spec="yes"
12844 enable_sloppy_spec="no"
12848 enable_sloppy_spec="yes"
12852 if test "x${enable_sloppy_spec}" = "xyes" ; then
12854 $as_echo "#define SLOPPY_SPEC 1" >>confdefs.h
12859 #AC_ARG_ENABLE(hidden-visibility,
12860 # [AC_HELP_STRING([--enable-hidden-visibility],[Enable hidden visibility])],
12861 # [enable_hidden_visibility=$enableval], [enable_hidden_visibility="auto"])
12862 #if test "x$enable_hidden_visibility" = "xyes" ; then
12863 # CPPFLAGS="$CPPFLAGS -fvisibility=hidden"
12865 # AC_DEFINE(DEFAULT_VISIBLITY, 1, [Default visibility])
12867 #AM_CONDITIONAL(DEFAULT_VISIBILITY, test "x$enable_hidden_visibility" != "xyes")
12869 DEFAULT_VISIBILITY_TRUE=
12870 DEFAULT_VISIBILITY_FALSE='#'
12872 DEFAULT_VISIBILITY_TRUE='#'
12873 DEFAULT_VISIBILITY_FALSE=
12878 ### Checks for programs
12880 ac_cpp='$CPP $CPPFLAGS'
12881 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
12882 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
12883 ac_compiler_gnu=$ac_cv_c_compiler_gnu
12884 if test -n "$ac_tool_prefix"; then
12885 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
12886 set dummy ${ac_tool_prefix}gcc; ac_word=$2
12887 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
12888 $as_echo_n "checking for $ac_word... " >&6; }
12889 if test "${ac_cv_prog_CC+set}" = set; then :
12890 $as_echo_n "(cached) " >&6
12892 if test -n "$CC"; then
12893 ac_cv_prog_CC="$CC" # Let the user override the test.
12895 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12896 for as_dir in $PATH
12899 test -z "$as_dir" && as_dir=.
12900 for ac_exec_ext in '' $ac_executable_extensions; do
12901 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
12902 ac_cv_prog_CC="${ac_tool_prefix}gcc"
12903 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
12913 if test -n "$CC"; then
12914 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
12915 $as_echo "$CC" >&6; }
12917 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12918 $as_echo "no" >&6; }
12923 if test -z "$ac_cv_prog_CC"; then
12925 # Extract the first word of "gcc", so it can be a program name with args.
12926 set dummy gcc; ac_word=$2
12927 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
12928 $as_echo_n "checking for $ac_word... " >&6; }
12929 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then :
12930 $as_echo_n "(cached) " >&6
12932 if test -n "$ac_ct_CC"; then
12933 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
12935 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12936 for as_dir in $PATH
12939 test -z "$as_dir" && as_dir=.
12940 for ac_exec_ext in '' $ac_executable_extensions; do
12941 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
12942 ac_cv_prog_ac_ct_CC="gcc"
12943 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
12952 ac_ct_CC=$ac_cv_prog_ac_ct_CC
12953 if test -n "$ac_ct_CC"; then
12954 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
12955 $as_echo "$ac_ct_CC" >&6; }
12957 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12958 $as_echo "no" >&6; }
12961 if test "x$ac_ct_CC" = x; then
12964 case $cross_compiling:$ac_tool_warned in
12966 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
12967 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
12968 ac_tool_warned=yes ;;
12973 CC="$ac_cv_prog_CC"
12976 if test -z "$CC"; then
12977 if test -n "$ac_tool_prefix"; then
12978 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
12979 set dummy ${ac_tool_prefix}cc; ac_word=$2
12980 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
12981 $as_echo_n "checking for $ac_word... " >&6; }
12982 if test "${ac_cv_prog_CC+set}" = set; then :
12983 $as_echo_n "(cached) " >&6
12985 if test -n "$CC"; then
12986 ac_cv_prog_CC="$CC" # Let the user override the test.
12988 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12989 for as_dir in $PATH
12992 test -z "$as_dir" && as_dir=.
12993 for ac_exec_ext in '' $ac_executable_extensions; do
12994 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
12995 ac_cv_prog_CC="${ac_tool_prefix}cc"
12996 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
13006 if test -n "$CC"; then
13007 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
13008 $as_echo "$CC" >&6; }
13010 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
13011 $as_echo "no" >&6; }
13017 if test -z "$CC"; then
13018 # Extract the first word of "cc", so it can be a program name with args.
13019 set dummy cc; ac_word=$2
13020 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
13021 $as_echo_n "checking for $ac_word... " >&6; }
13022 if test "${ac_cv_prog_CC+set}" = set; then :
13023 $as_echo_n "(cached) " >&6
13025 if test -n "$CC"; then
13026 ac_cv_prog_CC="$CC" # Let the user override the test.
13028 ac_prog_rejected=no
13029 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
13030 for as_dir in $PATH
13033 test -z "$as_dir" && as_dir=.
13034 for ac_exec_ext in '' $ac_executable_extensions; do
13035 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
13036 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
13037 ac_prog_rejected=yes
13041 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
13048 if test $ac_prog_rejected = yes; then
13049 # We found a bogon in the path, so make sure we never use it.
13050 set dummy $ac_cv_prog_CC
13052 if test $# != 0; then
13053 # We chose a different compiler from the bogus one.
13054 # However, it has the same basename, so the bogon will be chosen
13055 # first if we set CC to just the basename; use the full file name.
13057 ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
13063 if test -n "$CC"; then
13064 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
13065 $as_echo "$CC" >&6; }
13067 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
13068 $as_echo "no" >&6; }
13073 if test -z "$CC"; then
13074 if test -n "$ac_tool_prefix"; then
13075 for ac_prog in cl.exe
13077 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
13078 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
13079 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
13080 $as_echo_n "checking for $ac_word... " >&6; }
13081 if test "${ac_cv_prog_CC+set}" = set; then :
13082 $as_echo_n "(cached) " >&6
13084 if test -n "$CC"; then
13085 ac_cv_prog_CC="$CC" # Let the user override the test.
13087 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
13088 for as_dir in $PATH
13091 test -z "$as_dir" && as_dir=.
13092 for ac_exec_ext in '' $ac_executable_extensions; do
13093 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
13094 ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
13095 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
13105 if test -n "$CC"; then
13106 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
13107 $as_echo "$CC" >&6; }
13109 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
13110 $as_echo "no" >&6; }
13114 test -n "$CC" && break
13117 if test -z "$CC"; then
13119 for ac_prog in cl.exe
13121 # Extract the first word of "$ac_prog", so it can be a program name with args.
13122 set dummy $ac_prog; ac_word=$2
13123 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
13124 $as_echo_n "checking for $ac_word... " >&6; }
13125 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then :
13126 $as_echo_n "(cached) " >&6
13128 if test -n "$ac_ct_CC"; then
13129 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
13131 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
13132 for as_dir in $PATH
13135 test -z "$as_dir" && as_dir=.
13136 for ac_exec_ext in '' $ac_executable_extensions; do
13137 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
13138 ac_cv_prog_ac_ct_CC="$ac_prog"
13139 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
13148 ac_ct_CC=$ac_cv_prog_ac_ct_CC
13149 if test -n "$ac_ct_CC"; then
13150 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
13151 $as_echo "$ac_ct_CC" >&6; }
13153 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
13154 $as_echo "no" >&6; }
13158 test -n "$ac_ct_CC" && break
13161 if test "x$ac_ct_CC" = x; then
13164 case $cross_compiling:$ac_tool_warned in
13166 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
13167 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
13168 ac_tool_warned=yes ;;
13177 test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
13178 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
13179 as_fn_error $? "no acceptable C compiler found in \$PATH
13180 See \`config.log' for more details" "$LINENO" 5 ; }
13182 # Provide some information about the compiler.
13183 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
13186 for ac_option in --version -v -V -qversion; do
13187 { { ac_try="$ac_compiler $ac_option >&5"
13188 case "(($ac_try" in
13189 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
13190 *) ac_try_echo=$ac_try;;
13192 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
13193 $as_echo "$ac_try_echo"; } >&5
13194 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
13196 if test -s conftest.err; then
13198 ... rest of stderr output deleted ...
13199 10q' conftest.err >conftest.er1
13200 cat conftest.er1 >&5
13202 rm -f conftest.er1 conftest.err
13203 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
13204 test $ac_status = 0; }
13207 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
13208 $as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
13209 if test "${ac_cv_c_compiler_gnu+set}" = set; then :
13210 $as_echo_n "(cached) " >&6
13212 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13213 /* end confdefs.h. */
13226 if ac_fn_c_try_compile "$LINENO"; then :
13227 ac_compiler_gnu=yes
13231 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
13232 ac_cv_c_compiler_gnu=$ac_compiler_gnu
13235 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
13236 $as_echo "$ac_cv_c_compiler_gnu" >&6; }
13237 if test $ac_compiler_gnu = yes; then
13242 ac_test_CFLAGS=${CFLAGS+set}
13243 ac_save_CFLAGS=$CFLAGS
13244 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
13245 $as_echo_n "checking whether $CC accepts -g... " >&6; }
13246 if test "${ac_cv_prog_cc_g+set}" = set; then :
13247 $as_echo_n "(cached) " >&6
13249 ac_save_c_werror_flag=$ac_c_werror_flag
13250 ac_c_werror_flag=yes
13253 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13254 /* end confdefs.h. */
13264 if ac_fn_c_try_compile "$LINENO"; then :
13265 ac_cv_prog_cc_g=yes
13268 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13269 /* end confdefs.h. */
13279 if ac_fn_c_try_compile "$LINENO"; then :
13282 ac_c_werror_flag=$ac_save_c_werror_flag
13284 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13285 /* end confdefs.h. */
13295 if ac_fn_c_try_compile "$LINENO"; then :
13296 ac_cv_prog_cc_g=yes
13298 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
13300 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
13302 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
13303 ac_c_werror_flag=$ac_save_c_werror_flag
13305 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
13306 $as_echo "$ac_cv_prog_cc_g" >&6; }
13307 if test "$ac_test_CFLAGS" = set; then
13308 CFLAGS=$ac_save_CFLAGS
13309 elif test $ac_cv_prog_cc_g = yes; then
13310 if test "$GCC" = yes; then
13316 if test "$GCC" = yes; then
13322 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
13323 $as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
13324 if test "${ac_cv_prog_cc_c89+set}" = set; then :
13325 $as_echo_n "(cached) " >&6
13327 ac_cv_prog_cc_c89=no
13329 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13330 /* end confdefs.h. */
13331 #include <stdarg.h>
13333 #include <sys/types.h>
13334 #include <sys/stat.h>
13335 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
13336 struct buf { int x; };
13337 FILE * (*rcsopen) (struct buf *, struct stat *, int);
13338 static char *e (p, i)
13344 static char *f (char * (*g) (char **, int), char **p, ...)
13349 s = g (p, va_arg (v,int));
13354 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
13355 function prototypes and stuff, but not '\xHH' hex character constants.
13356 These don't provoke an error unfortunately, instead are silently treated
13357 as 'x'. The following induces an error, until -std is added to get
13358 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
13359 array size at least. It's necessary to write '\x00'==0 to get something
13360 that's true only with -std. */
13361 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
13363 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
13364 inside strings and character constants. */
13366 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
13368 int test (int i, double x);
13369 struct s1 {int (*f) (int a);};
13370 struct s2 {int (*f) (double a);};
13371 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
13377 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
13382 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
13383 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
13385 CC="$ac_save_CC $ac_arg"
13386 if ac_fn_c_try_compile "$LINENO"; then :
13387 ac_cv_prog_cc_c89=$ac_arg
13389 rm -f core conftest.err conftest.$ac_objext
13390 test "x$ac_cv_prog_cc_c89" != "xno" && break
13392 rm -f conftest.$ac_ext
13397 case "x$ac_cv_prog_cc_c89" in
13399 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
13400 $as_echo "none needed" >&6; } ;;
13402 { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
13403 $as_echo "unsupported" >&6; } ;;
13405 CC="$CC $ac_cv_prog_cc_c89"
13406 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
13407 $as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
13409 if test "x$ac_cv_prog_cc_c89" != xno; then :
13414 ac_cpp='$CPP $CPPFLAGS'
13415 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
13416 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
13417 ac_compiler_gnu=$ac_cv_c_compiler_gnu
13419 depcc="$CC" am_compiler_list=
13421 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5
13422 $as_echo_n "checking dependency style of $depcc... " >&6; }
13423 if test "${am_cv_CC_dependencies_compiler_type+set}" = set; then :
13424 $as_echo_n "(cached) " >&6
13426 if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
13427 # We make a subdir and do the tests there. Otherwise we can end up
13428 # making bogus files that we don't know about and never remove. For
13429 # instance it was reported that on HP-UX the gcc test will end up
13430 # making a dummy file named `D' -- because `-MD' means `put the output
13433 # Copy depcomp to subdir because otherwise we won't find it if we're
13434 # using a relative directory.
13435 cp "$am_depcomp" conftest.dir
13437 # We will build objects and dependencies in a subdirectory because
13438 # it helps to detect inapplicable dependency modes. For instance
13439 # both Tru64's cc and ICC support -MD to output dependencies as a
13440 # side effect of compilation, but ICC will put the dependencies in
13441 # the current directory while Tru64 will put them in the object
13445 am_cv_CC_dependencies_compiler_type=none
13446 if test "$am_compiler_list" = ""; then
13447 am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
13449 am__universal=false
13450 case " $depcc " in #(
13451 *\ -arch\ *\ -arch\ *) am__universal=true ;;
13454 for depmode in $am_compiler_list; do
13455 # Setup a source with many dependencies, because some compilers
13456 # like to wrap large dependency lists on column 80 (with \), and
13457 # we should not choose a depcomp mode which is confused by this.
13459 # We need to recreate these files for each test, as the compiler may
13460 # overwrite some of them when testing with obscure command lines.
13461 # This happens at least with the AIX C compiler.
13463 for i in 1 2 3 4 5 6; do
13464 echo '#include "conftst'$i'.h"' >> sub/conftest.c
13465 # Using `: > sub/conftst$i.h' creates only sub/conftst1.h with
13466 # Solaris 8's {/usr,}/bin/sh.
13467 touch sub/conftst$i.h
13469 echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
13471 # We check with `-c' and `-o' for the sake of the "dashmstdout"
13472 # mode. It turns out that the SunPro C++ compiler does not properly
13473 # handle `-M -o', and we need to detect this. Also, some Intel
13474 # versions had trouble with output in subdirs
13475 am__obj=sub/conftest.${OBJEXT-o}
13476 am__minus_obj="-o $am__obj"
13479 # This depmode causes a compiler race in universal mode.
13480 test "$am__universal" = false || continue
13483 # after this tag, mechanisms are not by side-effect, so they'll
13484 # only be used when explicitly requested
13485 if test "x$enable_dependency_tracking" = xyes; then
13491 msvisualcpp | msvcmsys)
13492 # This compiler won't grok `-c -o', but also, the minuso test has
13493 # not run yet. These depmodes are late enough in the game, and
13494 # so weak that their functioning should not be impacted.
13495 am__obj=conftest.${OBJEXT-o}
13500 if depmode=$depmode \
13501 source=sub/conftest.c object=$am__obj \
13502 depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
13503 $SHELL ./depcomp $depcc -c $am__minus_obj sub/conftest.c \
13504 >/dev/null 2>conftest.err &&
13505 grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 &&
13506 grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
13507 grep $am__obj sub/conftest.Po > /dev/null 2>&1 &&
13508 ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
13509 # icc doesn't choke on unknown options, it will just issue warnings
13510 # or remarks (even with -Werror). So we grep stderr for any message
13511 # that says an option was ignored or not supported.
13512 # When given -MP, icc 7.0 and 7.1 complain thusly:
13513 # icc: Command line warning: ignoring option '-M'; no argument required
13514 # The diagnosis changed in icc 8.0:
13515 # icc: Command line remark: option '-MP' not supported
13516 if (grep 'ignoring option' conftest.err ||
13517 grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
13518 am_cv_CC_dependencies_compiler_type=$depmode
13525 rm -rf conftest.dir
13527 am_cv_CC_dependencies_compiler_type=none
13531 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_CC_dependencies_compiler_type" >&5
13532 $as_echo "$am_cv_CC_dependencies_compiler_type" >&6; }
13533 CCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type
13536 test "x$enable_dependency_tracking" != xno \
13537 && test "$am_cv_CC_dependencies_compiler_type" = gcc3; then
13538 am__fastdepCC_TRUE=
13539 am__fastdepCC_FALSE='#'
13541 am__fastdepCC_TRUE='#'
13542 am__fastdepCC_FALSE=
13554 if test "x$ac_cv_env_PKG_CONFIG_set" != "xset"; then
13555 if test -n "$ac_tool_prefix"; then
13556 # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
13557 set dummy ${ac_tool_prefix}pkg-config; ac_word=$2
13558 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
13559 $as_echo_n "checking for $ac_word... " >&6; }
13560 if test "${ac_cv_path_PKG_CONFIG+set}" = set; then :
13561 $as_echo_n "(cached) " >&6
13563 case $PKG_CONFIG in
13565 ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path.
13568 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
13569 for as_dir in $PATH
13572 test -z "$as_dir" && as_dir=.
13573 for ac_exec_ext in '' $ac_executable_extensions; do
13574 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
13575 ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
13576 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
13586 PKG_CONFIG=$ac_cv_path_PKG_CONFIG
13587 if test -n "$PKG_CONFIG"; then
13588 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PKG_CONFIG" >&5
13589 $as_echo "$PKG_CONFIG" >&6; }
13591 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
13592 $as_echo "no" >&6; }
13597 if test -z "$ac_cv_path_PKG_CONFIG"; then
13598 ac_pt_PKG_CONFIG=$PKG_CONFIG
13599 # Extract the first word of "pkg-config", so it can be a program name with args.
13600 set dummy pkg-config; ac_word=$2
13601 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
13602 $as_echo_n "checking for $ac_word... " >&6; }
13603 if test "${ac_cv_path_ac_pt_PKG_CONFIG+set}" = set; then :
13604 $as_echo_n "(cached) " >&6
13606 case $ac_pt_PKG_CONFIG in
13608 ac_cv_path_ac_pt_PKG_CONFIG="$ac_pt_PKG_CONFIG" # Let the user override the test with a path.
13611 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
13612 for as_dir in $PATH
13615 test -z "$as_dir" && as_dir=.
13616 for ac_exec_ext in '' $ac_executable_extensions; do
13617 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
13618 ac_cv_path_ac_pt_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
13619 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
13629 ac_pt_PKG_CONFIG=$ac_cv_path_ac_pt_PKG_CONFIG
13630 if test -n "$ac_pt_PKG_CONFIG"; then
13631 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_pt_PKG_CONFIG" >&5
13632 $as_echo "$ac_pt_PKG_CONFIG" >&6; }
13634 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
13635 $as_echo "no" >&6; }
13638 if test "x$ac_pt_PKG_CONFIG" = x; then
13641 case $cross_compiling:$ac_tool_warned in
13643 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
13644 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
13645 ac_tool_warned=yes ;;
13647 PKG_CONFIG=$ac_pt_PKG_CONFIG
13650 PKG_CONFIG="$ac_cv_path_PKG_CONFIG"
13654 if test -n "$PKG_CONFIG"; then
13655 _pkg_min_version=0.9.0
13656 { $as_echo "$as_me:${as_lineno-$LINENO}: checking pkg-config is at least version $_pkg_min_version" >&5
13657 $as_echo_n "checking pkg-config is at least version $_pkg_min_version... " >&6; }
13658 if $PKG_CONFIG --atleast-pkgconfig-version $_pkg_min_version; then
13659 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
13660 $as_echo "yes" >&6; }
13662 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
13663 $as_echo "no" >&6; }
13668 # Check whether pkg-config supports Requires.private
13669 if $PKG_CONFIG --atleast-pkgconfig-version 0.22; then
13670 pkgconfig_requires_private="Requires.private"
13672 pkgconfig_requires_private="Requires"
13676 # doxygen program for documentation building
13679 # Check whether --enable-doc was given.
13680 if test "${enable_doc+set}" = set; then :
13681 enableval=$enable_doc;
13682 if test "x${enableval}" = "xyes" ; then
13683 efl_enable_doc="yes"
13685 efl_enable_doc="no"
13689 efl_enable_doc="yes"
13693 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build documentation" >&5
13694 $as_echo_n "checking whether to build documentation... " >&6; }
13695 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${efl_enable_doc}" >&5
13696 $as_echo "${efl_enable_doc}" >&6; }
13698 if test "x${efl_enable_doc}" = "xyes" ; then
13701 efl_doxygen="doxygen"
13704 # Check whether --with-doxygen was given.
13705 if test "${with_doxygen+set}" = set; then :
13706 withval=$with_doxygen;
13707 efl_doxygen=${withval}
13708 # Extract the first word of "${efl_doxygen}", so it can be a program name with args.
13709 set dummy ${efl_doxygen}; ac_word=$2
13710 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
13711 $as_echo_n "checking for $ac_word... " >&6; }
13712 if test "${ac_cv_prog_efl_have_doxygen+set}" = set; then :
13713 $as_echo_n "(cached) " >&6
13715 if test -n "$efl_have_doxygen"; then
13716 ac_cv_prog_efl_have_doxygen="$efl_have_doxygen" # Let the user override the test.
13718 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
13719 for as_dir in $PATH
13722 test -z "$as_dir" && as_dir=.
13723 for ac_exec_ext in '' $ac_executable_extensions; do
13724 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
13725 ac_cv_prog_efl_have_doxygen="yes"
13726 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
13733 test -z "$ac_cv_prog_efl_have_doxygen" && ac_cv_prog_efl_have_doxygen="no"
13736 efl_have_doxygen=$ac_cv_prog_efl_have_doxygen
13737 if test -n "$efl_have_doxygen"; then
13738 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $efl_have_doxygen" >&5
13739 $as_echo "$efl_have_doxygen" >&6; }
13741 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
13742 $as_echo "no" >&6; }
13746 if test "x${efl_have_doxygen}" = "xno" ; then
13748 echo "The doxygen program you specified:"
13749 echo "${efl_doxygen}"
13750 echo "was not found. Please check the path and make sure "
13751 echo "the program exists and is executable."
13752 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: no doxygen detected. Documentation will not be built" >&5
13753 $as_echo "$as_me: WARNING: no doxygen detected. Documentation will not be built" >&2;}
13757 # Extract the first word of "${efl_doxygen}", so it can be a program name with args.
13758 set dummy ${efl_doxygen}; ac_word=$2
13759 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
13760 $as_echo_n "checking for $ac_word... " >&6; }
13761 if test "${ac_cv_prog_efl_have_doxygen+set}" = set; then :
13762 $as_echo_n "(cached) " >&6
13764 if test -n "$efl_have_doxygen"; then
13765 ac_cv_prog_efl_have_doxygen="$efl_have_doxygen" # Let the user override the test.
13767 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
13768 for as_dir in $PATH
13771 test -z "$as_dir" && as_dir=.
13772 for ac_exec_ext in '' $ac_executable_extensions; do
13773 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
13774 ac_cv_prog_efl_have_doxygen="yes"
13775 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
13782 test -z "$ac_cv_prog_efl_have_doxygen" && ac_cv_prog_efl_have_doxygen="no"
13785 efl_have_doxygen=$ac_cv_prog_efl_have_doxygen
13786 if test -n "$efl_have_doxygen"; then
13787 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $efl_have_doxygen" >&5
13788 $as_echo "$efl_have_doxygen" >&6; }
13790 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
13791 $as_echo "no" >&6; }
13795 if test "x${efl_have_doxygen}" = "xno" ; then
13797 echo "The doxygen program was not found in your execute path."
13798 echo "You may have doxygen installed somewhere not covered by your path."
13800 echo "If this is the case make sure you have the packages installed, AND"
13801 echo "that the doxygen program is in your execute path (see your"
13802 echo "shell manual page on setting the \$PATH environment variable), OR"
13803 echo "alternatively, specify the program to use with --with-doxygen."
13804 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: no doxygen detected. Documentation will not be built" >&5
13805 $as_echo "$as_me: WARNING: no doxygen detected. Documentation will not be built" >&2;}
13814 if ! test "x${efl_have_doxygen}" = "xyes" ; then
13815 efl_enable_doc="no"
13818 if test "x${efl_enable_doc}" = "xyes"; then
13819 EFL_BUILD_DOC_TRUE=
13820 EFL_BUILD_DOC_FALSE='#'
13822 EFL_BUILD_DOC_TRUE='#'
13823 EFL_BUILD_DOC_FALSE=
13827 if test "x${efl_enable_doc}" = "xyes" ; then
13836 ### Checks for libraries
13838 # Evil library for compilation on Windows CE
13840 EFL_EFREET_BUILD=""
13841 EFL_EFREET_MIME_BUILD=""
13842 EFL_EFREET_TRASH_BUILD=""
13847 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for EVIL" >&5
13848 $as_echo_n "checking for EVIL... " >&6; }
13850 if test -n "$EVIL_CFLAGS"; then
13851 pkg_cv_EVIL_CFLAGS="$EVIL_CFLAGS"
13852 elif test -n "$PKG_CONFIG"; then
13853 if test -n "$PKG_CONFIG" && \
13854 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"evil >= 1.6.99\""; } >&5
13855 ($PKG_CONFIG --exists --print-errors "evil >= 1.6.99") 2>&5
13857 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
13858 test $ac_status = 0; }; then
13859 pkg_cv_EVIL_CFLAGS=`$PKG_CONFIG --cflags "evil >= 1.6.99" 2>/dev/null`
13866 if test -n "$EVIL_LIBS"; then
13867 pkg_cv_EVIL_LIBS="$EVIL_LIBS"
13868 elif test -n "$PKG_CONFIG"; then
13869 if test -n "$PKG_CONFIG" && \
13870 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"evil >= 1.6.99\""; } >&5
13871 ($PKG_CONFIG --exists --print-errors "evil >= 1.6.99") 2>&5
13873 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
13874 test $ac_status = 0; }; then
13875 pkg_cv_EVIL_LIBS=`$PKG_CONFIG --libs "evil >= 1.6.99" 2>/dev/null`
13885 if test $pkg_failed = yes; then
13886 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
13887 $as_echo "no" >&6; }
13889 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
13890 _pkg_short_errors_supported=yes
13892 _pkg_short_errors_supported=no
13894 if test $_pkg_short_errors_supported = yes; then
13895 EVIL_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors "evil >= 1.6.99" 2>&1`
13897 EVIL_PKG_ERRORS=`$PKG_CONFIG --print-errors "evil >= 1.6.99" 2>&1`
13899 # Put the nasty error message in config.log where it belongs
13900 echo "$EVIL_PKG_ERRORS" >&5
13902 as_fn_error $? "Package requirements (evil >= 1.6.99) were not met:
13906 Consider adjusting the PKG_CONFIG_PATH environment variable if you
13907 installed software in a non-standard prefix.
13909 Alternatively, you may set the environment variables EVIL_CFLAGS
13910 and EVIL_LIBS to avoid the need to call pkg-config.
13911 See the pkg-config man page for more details." "$LINENO" 5
13912 elif test $pkg_failed = untried; then
13913 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
13914 $as_echo "no" >&6; }
13915 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
13916 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
13917 as_fn_error $? "The pkg-config script could not be found or is too old. Make sure it
13918 is in your PATH or set the PKG_CONFIG environment variable to the full
13919 path to pkg-config.
13921 Alternatively, you may set the environment variables EVIL_CFLAGS
13922 and EVIL_LIBS to avoid the need to call pkg-config.
13923 See the pkg-config man page for more details.
13925 To get pkg-config, see <http://pkg-config.freedesktop.org/>.
13926 See \`config.log' for more details" "$LINENO" 5 ; }
13928 EVIL_CFLAGS=$pkg_cv_EVIL_CFLAGS
13929 EVIL_LIBS=$pkg_cv_EVIL_LIBS
13930 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
13931 $as_echo "yes" >&6; }
13935 $as_echo "#define HAVE_EVIL 1" >>confdefs.h
13937 requirement_efreet="evil"
13938 EFL_EFREET_BUILD="-DEFL_EFREET_BUILD"
13939 EFL_EFREET_MIME_BUILD="-DEFL_EFREET_MIME_BUILD"
13940 EFL_EFREET_TRASH_BUILD="-DEFL_EFREET_TRASH_BUILD"
13947 requirement_efreet="ecore-file >= 1.6.99 ecore >= 1.6.99 eet >= 1.6.99 eina >= 1.6.99 ${requirement_efreet}"
13950 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for EFREET" >&5
13951 $as_echo_n "checking for EFREET... " >&6; }
13953 if test -n "$EFREET_CFLAGS"; then
13954 pkg_cv_EFREET_CFLAGS="$EFREET_CFLAGS"
13955 elif test -n "$PKG_CONFIG"; then
13956 if test -n "$PKG_CONFIG" && \
13957 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"\${requirement_efreet}\""; } >&5
13958 ($PKG_CONFIG --exists --print-errors "${requirement_efreet}") 2>&5
13960 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
13961 test $ac_status = 0; }; then
13962 pkg_cv_EFREET_CFLAGS=`$PKG_CONFIG --cflags "${requirement_efreet}" 2>/dev/null`
13969 if test -n "$EFREET_LIBS"; then
13970 pkg_cv_EFREET_LIBS="$EFREET_LIBS"
13971 elif test -n "$PKG_CONFIG"; then
13972 if test -n "$PKG_CONFIG" && \
13973 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"\${requirement_efreet}\""; } >&5
13974 ($PKG_CONFIG --exists --print-errors "${requirement_efreet}") 2>&5
13976 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
13977 test $ac_status = 0; }; then
13978 pkg_cv_EFREET_LIBS=`$PKG_CONFIG --libs "${requirement_efreet}" 2>/dev/null`
13988 if test $pkg_failed = yes; then
13989 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
13990 $as_echo "no" >&6; }
13992 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
13993 _pkg_short_errors_supported=yes
13995 _pkg_short_errors_supported=no
13997 if test $_pkg_short_errors_supported = yes; then
13998 EFREET_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors "${requirement_efreet}" 2>&1`
14000 EFREET_PKG_ERRORS=`$PKG_CONFIG --print-errors "${requirement_efreet}" 2>&1`
14002 # Put the nasty error message in config.log where it belongs
14003 echo "$EFREET_PKG_ERRORS" >&5
14005 as_fn_error $? "Package requirements (${requirement_efreet}) were not met:
14009 Consider adjusting the PKG_CONFIG_PATH environment variable if you
14010 installed software in a non-standard prefix.
14012 Alternatively, you may set the environment variables EFREET_CFLAGS
14013 and EFREET_LIBS to avoid the need to call pkg-config.
14014 See the pkg-config man page for more details." "$LINENO" 5
14015 elif test $pkg_failed = untried; then
14016 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
14017 $as_echo "no" >&6; }
14018 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
14019 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
14020 as_fn_error $? "The pkg-config script could not be found or is too old. Make sure it
14021 is in your PATH or set the PKG_CONFIG environment variable to the full
14022 path to pkg-config.
14024 Alternatively, you may set the environment variables EFREET_CFLAGS
14025 and EFREET_LIBS to avoid the need to call pkg-config.
14026 See the pkg-config man page for more details.
14028 To get pkg-config, see <http://pkg-config.freedesktop.org/>.
14029 See \`config.log' for more details" "$LINENO" 5 ; }
14031 EFREET_CFLAGS=$pkg_cv_EFREET_CFLAGS
14032 EFREET_LIBS=$pkg_cv_EFREET_LIBS
14033 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
14034 $as_echo "yes" >&6; }
14039 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for EINA" >&5
14040 $as_echo_n "checking for EINA... " >&6; }
14042 if test -n "$EINA_CFLAGS"; then
14043 pkg_cv_EINA_CFLAGS="$EINA_CFLAGS"
14044 elif test -n "$PKG_CONFIG"; then
14045 if test -n "$PKG_CONFIG" && \
14046 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"eina >= 1.6.99\""; } >&5
14047 ($PKG_CONFIG --exists --print-errors "eina >= 1.6.99") 2>&5
14049 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
14050 test $ac_status = 0; }; then
14051 pkg_cv_EINA_CFLAGS=`$PKG_CONFIG --cflags "eina >= 1.6.99" 2>/dev/null`
14058 if test -n "$EINA_LIBS"; then
14059 pkg_cv_EINA_LIBS="$EINA_LIBS"
14060 elif test -n "$PKG_CONFIG"; then
14061 if test -n "$PKG_CONFIG" && \
14062 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"eina >= 1.6.99\""; } >&5
14063 ($PKG_CONFIG --exists --print-errors "eina >= 1.6.99") 2>&5
14065 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
14066 test $ac_status = 0; }; then
14067 pkg_cv_EINA_LIBS=`$PKG_CONFIG --libs "eina >= 1.6.99" 2>/dev/null`
14077 if test $pkg_failed = yes; then
14078 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
14079 $as_echo "no" >&6; }
14081 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
14082 _pkg_short_errors_supported=yes
14084 _pkg_short_errors_supported=no
14086 if test $_pkg_short_errors_supported = yes; then
14087 EINA_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors "eina >= 1.6.99" 2>&1`
14089 EINA_PKG_ERRORS=`$PKG_CONFIG --print-errors "eina >= 1.6.99" 2>&1`
14091 # Put the nasty error message in config.log where it belongs
14092 echo "$EINA_PKG_ERRORS" >&5
14094 as_fn_error $? "Package requirements (eina >= 1.6.99) were not met:
14098 Consider adjusting the PKG_CONFIG_PATH environment variable if you
14099 installed software in a non-standard prefix.
14101 Alternatively, you may set the environment variables EINA_CFLAGS
14102 and EINA_LIBS to avoid the need to call pkg-config.
14103 See the pkg-config man page for more details." "$LINENO" 5
14104 elif test $pkg_failed = untried; then
14105 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
14106 $as_echo "no" >&6; }
14107 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
14108 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
14109 as_fn_error $? "The pkg-config script could not be found or is too old. Make sure it
14110 is in your PATH or set the PKG_CONFIG environment variable to the full
14111 path to pkg-config.
14113 Alternatively, you may set the environment variables EINA_CFLAGS
14114 and EINA_LIBS to avoid the need to call pkg-config.
14115 See the pkg-config man page for more details.
14117 To get pkg-config, see <http://pkg-config.freedesktop.org/>.
14118 See \`config.log' for more details" "$LINENO" 5 ; }
14120 EINA_CFLAGS=$pkg_cv_EINA_CFLAGS
14121 EINA_LIBS=$pkg_cv_EINA_LIBS
14122 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
14123 $as_echo "yes" >&6; }
14128 ### Checks for header files
14130 for ac_header in netinet/in.h arpa/inet.h
14132 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
14133 ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
14134 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
14135 cat >>confdefs.h <<_ACEOF
14136 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
14144 ### Checks for types
14147 ### Checks for structures
14150 ### Checks for compiler characteristics
14152 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for an ANSI C-conforming const" >&5
14153 $as_echo_n "checking for an ANSI C-conforming const... " >&6; }
14154 if test "${ac_cv_c_const+set}" = set; then :
14155 $as_echo_n "(cached) " >&6
14157 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14158 /* end confdefs.h. */
14163 /* FIXME: Include the comments suggested by Paul. */
14164 #ifndef __cplusplus
14165 /* Ultrix mips cc rejects this. */
14166 typedef int charset[2];
14168 /* SunOS 4.1.1 cc rejects this. */
14169 char const *const *pcpcc;
14171 /* NEC SVR4.0.2 mips cc rejects this. */
14172 struct point {int x, y;};
14173 static struct point const zero = {0,0};
14174 /* AIX XL C 1.02.0.0 rejects this.
14175 It does not let you subtract one const X* pointer from another in
14176 an arm of an if-expression whose if-part is not a constant
14178 const char *g = "string";
14179 pcpcc = &g + (g ? g-g : 0);
14180 /* HPUX 7.0 cc rejects these. */
14182 ppc = (char**) pcpcc;
14183 pcpcc = (char const *const *) ppc;
14184 { /* SCO 3.2v4 cc rejects this. */
14186 char const *s = 0 ? (char *) 0 : (char const *) 0;
14191 { /* Someone thinks the Sun supposedly-ANSI compiler will reject this. */
14192 int x[] = {25, 17};
14193 const int *foo = &x[0];
14196 { /* Sun SC1.0 ANSI compiler rejects this -- but not the above. */
14197 typedef const int *iptr;
14201 { /* AIX XL C 1.02.0.0 rejects this saying
14202 "k.c", line 2.27: 1506-025 (S) Operand must be a modifiable lvalue. */
14203 struct s { int j; const int *ap[3]; };
14204 struct s *b; b->j = 5;
14206 { /* ULTRIX-32 V3.1 (Rev 9) vcc rejects this */
14207 const int foo = 10;
14208 if (!foo) return 0;
14210 return !cs[0] && !zero.x;
14217 if ac_fn_c_try_compile "$LINENO"; then :
14222 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
14224 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_const" >&5
14225 $as_echo "$ac_cv_c_const" >&6; }
14226 if test $ac_cv_c_const = no; then
14228 $as_echo "#define const /**/" >>confdefs.h
14234 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for __attribute__" >&5
14235 $as_echo_n "checking for __attribute__... " >&6; }
14237 if test "${ac_cv___attribute__+set}" = set; then :
14238 $as_echo_n "(cached) " >&6
14240 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14241 /* end confdefs.h. */
14243 #include <stdlib.h>
14246 int foo(int x __attribute__ ((unused)))
14259 if ac_fn_c_try_compile "$LINENO"; then :
14260 ac_cv___attribute__="yes"
14262 ac_cv___attribute__="no"
14265 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
14269 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv___attribute__" >&5
14270 $as_echo "$ac_cv___attribute__" >&6; }
14272 if test "x${ac_cv___attribute__}" = "xyes" ; then
14274 $as_echo "#define HAVE___ATTRIBUTE__ 1" >>confdefs.h
14277 $as_echo "#define __UNUSED__ __attribute__((unused))" >>confdefs.h
14281 $as_echo "#define __UNUSED__ /**/" >>confdefs.h
14287 ac_cpp='$CPP $CPPFLAGS'
14288 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
14289 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
14290 ac_compiler_gnu=$ac_cv_c_compiler_gnu
14291 if test -n "$ac_tool_prefix"; then
14292 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
14293 set dummy ${ac_tool_prefix}gcc; ac_word=$2
14294 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
14295 $as_echo_n "checking for $ac_word... " >&6; }
14296 if test "${ac_cv_prog_CC+set}" = set; then :
14297 $as_echo_n "(cached) " >&6
14299 if test -n "$CC"; then
14300 ac_cv_prog_CC="$CC" # Let the user override the test.
14302 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
14303 for as_dir in $PATH
14306 test -z "$as_dir" && as_dir=.
14307 for ac_exec_ext in '' $ac_executable_extensions; do
14308 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
14309 ac_cv_prog_CC="${ac_tool_prefix}gcc"
14310 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
14320 if test -n "$CC"; then
14321 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
14322 $as_echo "$CC" >&6; }
14324 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
14325 $as_echo "no" >&6; }
14330 if test -z "$ac_cv_prog_CC"; then
14332 # Extract the first word of "gcc", so it can be a program name with args.
14333 set dummy gcc; ac_word=$2
14334 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
14335 $as_echo_n "checking for $ac_word... " >&6; }
14336 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then :
14337 $as_echo_n "(cached) " >&6
14339 if test -n "$ac_ct_CC"; then
14340 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
14342 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
14343 for as_dir in $PATH
14346 test -z "$as_dir" && as_dir=.
14347 for ac_exec_ext in '' $ac_executable_extensions; do
14348 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
14349 ac_cv_prog_ac_ct_CC="gcc"
14350 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
14359 ac_ct_CC=$ac_cv_prog_ac_ct_CC
14360 if test -n "$ac_ct_CC"; then
14361 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
14362 $as_echo "$ac_ct_CC" >&6; }
14364 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
14365 $as_echo "no" >&6; }
14368 if test "x$ac_ct_CC" = x; then
14371 case $cross_compiling:$ac_tool_warned in
14373 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
14374 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
14375 ac_tool_warned=yes ;;
14380 CC="$ac_cv_prog_CC"
14383 if test -z "$CC"; then
14384 if test -n "$ac_tool_prefix"; then
14385 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
14386 set dummy ${ac_tool_prefix}cc; ac_word=$2
14387 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
14388 $as_echo_n "checking for $ac_word... " >&6; }
14389 if test "${ac_cv_prog_CC+set}" = set; then :
14390 $as_echo_n "(cached) " >&6
14392 if test -n "$CC"; then
14393 ac_cv_prog_CC="$CC" # Let the user override the test.
14395 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
14396 for as_dir in $PATH
14399 test -z "$as_dir" && as_dir=.
14400 for ac_exec_ext in '' $ac_executable_extensions; do
14401 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
14402 ac_cv_prog_CC="${ac_tool_prefix}cc"
14403 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
14413 if test -n "$CC"; then
14414 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
14415 $as_echo "$CC" >&6; }
14417 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
14418 $as_echo "no" >&6; }
14424 if test -z "$CC"; then
14425 # Extract the first word of "cc", so it can be a program name with args.
14426 set dummy cc; ac_word=$2
14427 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
14428 $as_echo_n "checking for $ac_word... " >&6; }
14429 if test "${ac_cv_prog_CC+set}" = set; then :
14430 $as_echo_n "(cached) " >&6
14432 if test -n "$CC"; then
14433 ac_cv_prog_CC="$CC" # Let the user override the test.
14435 ac_prog_rejected=no
14436 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
14437 for as_dir in $PATH
14440 test -z "$as_dir" && as_dir=.
14441 for ac_exec_ext in '' $ac_executable_extensions; do
14442 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
14443 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
14444 ac_prog_rejected=yes
14448 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
14455 if test $ac_prog_rejected = yes; then
14456 # We found a bogon in the path, so make sure we never use it.
14457 set dummy $ac_cv_prog_CC
14459 if test $# != 0; then
14460 # We chose a different compiler from the bogus one.
14461 # However, it has the same basename, so the bogon will be chosen
14462 # first if we set CC to just the basename; use the full file name.
14464 ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
14470 if test -n "$CC"; then
14471 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
14472 $as_echo "$CC" >&6; }
14474 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
14475 $as_echo "no" >&6; }
14480 if test -z "$CC"; then
14481 if test -n "$ac_tool_prefix"; then
14482 for ac_prog in cl.exe
14484 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
14485 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
14486 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
14487 $as_echo_n "checking for $ac_word... " >&6; }
14488 if test "${ac_cv_prog_CC+set}" = set; then :
14489 $as_echo_n "(cached) " >&6
14491 if test -n "$CC"; then
14492 ac_cv_prog_CC="$CC" # Let the user override the test.
14494 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
14495 for as_dir in $PATH
14498 test -z "$as_dir" && as_dir=.
14499 for ac_exec_ext in '' $ac_executable_extensions; do
14500 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
14501 ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
14502 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
14512 if test -n "$CC"; then
14513 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
14514 $as_echo "$CC" >&6; }
14516 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
14517 $as_echo "no" >&6; }
14521 test -n "$CC" && break
14524 if test -z "$CC"; then
14526 for ac_prog in cl.exe
14528 # Extract the first word of "$ac_prog", so it can be a program name with args.
14529 set dummy $ac_prog; ac_word=$2
14530 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
14531 $as_echo_n "checking for $ac_word... " >&6; }
14532 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then :
14533 $as_echo_n "(cached) " >&6
14535 if test -n "$ac_ct_CC"; then
14536 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
14538 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
14539 for as_dir in $PATH
14542 test -z "$as_dir" && as_dir=.
14543 for ac_exec_ext in '' $ac_executable_extensions; do
14544 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
14545 ac_cv_prog_ac_ct_CC="$ac_prog"
14546 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
14555 ac_ct_CC=$ac_cv_prog_ac_ct_CC
14556 if test -n "$ac_ct_CC"; then
14557 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
14558 $as_echo "$ac_ct_CC" >&6; }
14560 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
14561 $as_echo "no" >&6; }
14565 test -n "$ac_ct_CC" && break
14568 if test "x$ac_ct_CC" = x; then
14571 case $cross_compiling:$ac_tool_warned in
14573 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
14574 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
14575 ac_tool_warned=yes ;;
14584 test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
14585 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
14586 as_fn_error $? "no acceptable C compiler found in \$PATH
14587 See \`config.log' for more details" "$LINENO" 5 ; }
14589 # Provide some information about the compiler.
14590 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
14593 for ac_option in --version -v -V -qversion; do
14594 { { ac_try="$ac_compiler $ac_option >&5"
14595 case "(($ac_try" in
14596 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14597 *) ac_try_echo=$ac_try;;
14599 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
14600 $as_echo "$ac_try_echo"; } >&5
14601 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
14603 if test -s conftest.err; then
14605 ... rest of stderr output deleted ...
14606 10q' conftest.err >conftest.er1
14607 cat conftest.er1 >&5
14609 rm -f conftest.er1 conftest.err
14610 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
14611 test $ac_status = 0; }
14614 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
14615 $as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
14616 if test "${ac_cv_c_compiler_gnu+set}" = set; then :
14617 $as_echo_n "(cached) " >&6
14619 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14620 /* end confdefs.h. */
14633 if ac_fn_c_try_compile "$LINENO"; then :
14634 ac_compiler_gnu=yes
14638 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
14639 ac_cv_c_compiler_gnu=$ac_compiler_gnu
14642 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
14643 $as_echo "$ac_cv_c_compiler_gnu" >&6; }
14644 if test $ac_compiler_gnu = yes; then
14649 ac_test_CFLAGS=${CFLAGS+set}
14650 ac_save_CFLAGS=$CFLAGS
14651 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
14652 $as_echo_n "checking whether $CC accepts -g... " >&6; }
14653 if test "${ac_cv_prog_cc_g+set}" = set; then :
14654 $as_echo_n "(cached) " >&6
14656 ac_save_c_werror_flag=$ac_c_werror_flag
14657 ac_c_werror_flag=yes
14660 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14661 /* end confdefs.h. */
14671 if ac_fn_c_try_compile "$LINENO"; then :
14672 ac_cv_prog_cc_g=yes
14675 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14676 /* end confdefs.h. */
14686 if ac_fn_c_try_compile "$LINENO"; then :
14689 ac_c_werror_flag=$ac_save_c_werror_flag
14691 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14692 /* end confdefs.h. */
14702 if ac_fn_c_try_compile "$LINENO"; then :
14703 ac_cv_prog_cc_g=yes
14705 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
14707 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
14709 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
14710 ac_c_werror_flag=$ac_save_c_werror_flag
14712 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
14713 $as_echo "$ac_cv_prog_cc_g" >&6; }
14714 if test "$ac_test_CFLAGS" = set; then
14715 CFLAGS=$ac_save_CFLAGS
14716 elif test $ac_cv_prog_cc_g = yes; then
14717 if test "$GCC" = yes; then
14723 if test "$GCC" = yes; then
14729 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
14730 $as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
14731 if test "${ac_cv_prog_cc_c89+set}" = set; then :
14732 $as_echo_n "(cached) " >&6
14734 ac_cv_prog_cc_c89=no
14736 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14737 /* end confdefs.h. */
14738 #include <stdarg.h>
14740 #include <sys/types.h>
14741 #include <sys/stat.h>
14742 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
14743 struct buf { int x; };
14744 FILE * (*rcsopen) (struct buf *, struct stat *, int);
14745 static char *e (p, i)
14751 static char *f (char * (*g) (char **, int), char **p, ...)
14756 s = g (p, va_arg (v,int));
14761 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
14762 function prototypes and stuff, but not '\xHH' hex character constants.
14763 These don't provoke an error unfortunately, instead are silently treated
14764 as 'x'. The following induces an error, until -std is added to get
14765 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
14766 array size at least. It's necessary to write '\x00'==0 to get something
14767 that's true only with -std. */
14768 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
14770 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
14771 inside strings and character constants. */
14773 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
14775 int test (int i, double x);
14776 struct s1 {int (*f) (int a);};
14777 struct s2 {int (*f) (double a);};
14778 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
14784 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
14789 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
14790 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
14792 CC="$ac_save_CC $ac_arg"
14793 if ac_fn_c_try_compile "$LINENO"; then :
14794 ac_cv_prog_cc_c89=$ac_arg
14796 rm -f core conftest.err conftest.$ac_objext
14797 test "x$ac_cv_prog_cc_c89" != "xno" && break
14799 rm -f conftest.$ac_ext
14804 case "x$ac_cv_prog_cc_c89" in
14806 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
14807 $as_echo "none needed" >&6; } ;;
14809 { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
14810 $as_echo "unsupported" >&6; } ;;
14812 CC="$CC $ac_cv_prog_cc_c89"
14813 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
14814 $as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
14816 if test "x$ac_cv_prog_cc_c89" != xno; then :
14821 ac_cpp='$CPP $CPPFLAGS'
14822 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
14823 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
14824 ac_compiler_gnu=$ac_cv_c_compiler_gnu
14826 depcc="$CC" am_compiler_list=
14828 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5
14829 $as_echo_n "checking dependency style of $depcc... " >&6; }
14830 if test "${am_cv_CC_dependencies_compiler_type+set}" = set; then :
14831 $as_echo_n "(cached) " >&6
14833 if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
14834 # We make a subdir and do the tests there. Otherwise we can end up
14835 # making bogus files that we don't know about and never remove. For
14836 # instance it was reported that on HP-UX the gcc test will end up
14837 # making a dummy file named `D' -- because `-MD' means `put the output
14840 # Copy depcomp to subdir because otherwise we won't find it if we're
14841 # using a relative directory.
14842 cp "$am_depcomp" conftest.dir
14844 # We will build objects and dependencies in a subdirectory because
14845 # it helps to detect inapplicable dependency modes. For instance
14846 # both Tru64's cc and ICC support -MD to output dependencies as a
14847 # side effect of compilation, but ICC will put the dependencies in
14848 # the current directory while Tru64 will put them in the object
14852 am_cv_CC_dependencies_compiler_type=none
14853 if test "$am_compiler_list" = ""; then
14854 am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
14856 am__universal=false
14857 case " $depcc " in #(
14858 *\ -arch\ *\ -arch\ *) am__universal=true ;;
14861 for depmode in $am_compiler_list; do
14862 # Setup a source with many dependencies, because some compilers
14863 # like to wrap large dependency lists on column 80 (with \), and
14864 # we should not choose a depcomp mode which is confused by this.
14866 # We need to recreate these files for each test, as the compiler may
14867 # overwrite some of them when testing with obscure command lines.
14868 # This happens at least with the AIX C compiler.
14870 for i in 1 2 3 4 5 6; do
14871 echo '#include "conftst'$i'.h"' >> sub/conftest.c
14872 # Using `: > sub/conftst$i.h' creates only sub/conftst1.h with
14873 # Solaris 8's {/usr,}/bin/sh.
14874 touch sub/conftst$i.h
14876 echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
14878 # We check with `-c' and `-o' for the sake of the "dashmstdout"
14879 # mode. It turns out that the SunPro C++ compiler does not properly
14880 # handle `-M -o', and we need to detect this. Also, some Intel
14881 # versions had trouble with output in subdirs
14882 am__obj=sub/conftest.${OBJEXT-o}
14883 am__minus_obj="-o $am__obj"
14886 # This depmode causes a compiler race in universal mode.
14887 test "$am__universal" = false || continue
14890 # after this tag, mechanisms are not by side-effect, so they'll
14891 # only be used when explicitly requested
14892 if test "x$enable_dependency_tracking" = xyes; then
14898 msvisualcpp | msvcmsys)
14899 # This compiler won't grok `-c -o', but also, the minuso test has
14900 # not run yet. These depmodes are late enough in the game, and
14901 # so weak that their functioning should not be impacted.
14902 am__obj=conftest.${OBJEXT-o}
14907 if depmode=$depmode \
14908 source=sub/conftest.c object=$am__obj \
14909 depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
14910 $SHELL ./depcomp $depcc -c $am__minus_obj sub/conftest.c \
14911 >/dev/null 2>conftest.err &&
14912 grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 &&
14913 grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
14914 grep $am__obj sub/conftest.Po > /dev/null 2>&1 &&
14915 ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
14916 # icc doesn't choke on unknown options, it will just issue warnings
14917 # or remarks (even with -Werror). So we grep stderr for any message
14918 # that says an option was ignored or not supported.
14919 # When given -MP, icc 7.0 and 7.1 complain thusly:
14920 # icc: Command line warning: ignoring option '-M'; no argument required
14921 # The diagnosis changed in icc 8.0:
14922 # icc: Command line remark: option '-MP' not supported
14923 if (grep 'ignoring option' conftest.err ||
14924 grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
14925 am_cv_CC_dependencies_compiler_type=$depmode
14932 rm -rf conftest.dir
14934 am_cv_CC_dependencies_compiler_type=none
14938 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_CC_dependencies_compiler_type" >&5
14939 $as_echo "$am_cv_CC_dependencies_compiler_type" >&6; }
14940 CCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type
14943 test "x$enable_dependency_tracking" != xno \
14944 && test "$am_cv_CC_dependencies_compiler_type" = gcc3; then
14945 am__fastdepCC_TRUE=
14946 am__fastdepCC_FALSE='#'
14948 am__fastdepCC_TRUE='#'
14949 am__fastdepCC_FALSE=
14954 am_cv_prog_cc_stdc=$ac_cv_prog_cc_stdc
14956 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5
14957 $as_echo_n "checking for ANSI C header files... " >&6; }
14958 if test "${ac_cv_header_stdc+set}" = set; then :
14959 $as_echo_n "(cached) " >&6
14961 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14962 /* end confdefs.h. */
14963 #include <stdlib.h>
14964 #include <stdarg.h>
14965 #include <string.h>
14976 if ac_fn_c_try_compile "$LINENO"; then :
14977 ac_cv_header_stdc=yes
14979 ac_cv_header_stdc=no
14981 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
14983 if test $ac_cv_header_stdc = yes; then
14984 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
14985 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14986 /* end confdefs.h. */
14987 #include <string.h>
14990 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
14991 $EGREP "memchr" >/dev/null 2>&1; then :
14994 ac_cv_header_stdc=no
15000 if test $ac_cv_header_stdc = yes; then
15001 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
15002 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15003 /* end confdefs.h. */
15004 #include <stdlib.h>
15007 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
15008 $EGREP "free" >/dev/null 2>&1; then :
15011 ac_cv_header_stdc=no
15017 if test $ac_cv_header_stdc = yes; then
15018 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
15019 if test "$cross_compiling" = yes; then :
15022 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15023 /* end confdefs.h. */
15025 #include <stdlib.h>
15026 #if ((' ' & 0x0FF) == 0x020)
15027 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
15028 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
15030 # define ISLOWER(c) \
15031 (('a' <= (c) && (c) <= 'i') \
15032 || ('j' <= (c) && (c) <= 'r') \
15033 || ('s' <= (c) && (c) <= 'z'))
15034 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
15037 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
15042 for (i = 0; i < 256; i++)
15043 if (XOR (islower (i), ISLOWER (i))
15044 || toupper (i) != TOUPPER (i))
15049 if ac_fn_c_try_run "$LINENO"; then :
15052 ac_cv_header_stdc=no
15054 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
15055 conftest.$ac_objext conftest.beam conftest.$ac_ext
15060 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdc" >&5
15061 $as_echo "$ac_cv_header_stdc" >&6; }
15062 if test $ac_cv_header_stdc = yes; then
15064 $as_echo "#define STDC_HEADERS 1" >>confdefs.h
15069 case "${host_os}" in
15071 EFREET_CFLAGS="${EFREET_CFLAGS} ${EVIL_CFLAGS}"
15075 if ! test "x${VMIC}" = "x" ; then
15078 CFLAGS_save="${CFLAGS}"
15079 CFLAGS="${CFLAGS} -Wall"
15082 ac_cpp='$CPP $CPPFLAGS'
15083 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15084 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15085 ac_compiler_gnu=$ac_cv_c_compiler_gnu
15087 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wall" >&5
15088 $as_echo_n "checking whether the compiler supports -Wall... " >&6; }
15090 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15091 /* end confdefs.h. */
15101 if ac_fn_c_try_compile "$LINENO"; then :
15106 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15107 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${have_flag}" >&5
15108 $as_echo "${have_flag}" >&6; }
15110 if test "x${have_flag}" = "xno" ; then
15111 CFLAGS="${CFLAGS_save}"
15114 ac_cpp='$CPP $CPPFLAGS'
15115 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15116 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15117 ac_compiler_gnu=$ac_cv_c_compiler_gnu
15123 CFLAGS_save="${CFLAGS}"
15124 CFLAGS="${CFLAGS} -W"
15127 ac_cpp='$CPP $CPPFLAGS'
15128 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15129 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15130 ac_compiler_gnu=$ac_cv_c_compiler_gnu
15132 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -W" >&5
15133 $as_echo_n "checking whether the compiler supports -W... " >&6; }
15135 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15136 /* end confdefs.h. */
15146 if ac_fn_c_try_compile "$LINENO"; then :
15151 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15152 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${have_flag}" >&5
15153 $as_echo "${have_flag}" >&6; }
15155 if test "x${have_flag}" = "xno" ; then
15156 CFLAGS="${CFLAGS_save}"
15159 ac_cpp='$CPP $CPPFLAGS'
15160 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15161 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15162 ac_compiler_gnu=$ac_cv_c_compiler_gnu
15170 CFLAGS_save="${CFLAGS}"
15171 CFLAGS="${CFLAGS} -Wshadow"
15174 ac_cpp='$CPP $CPPFLAGS'
15175 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15176 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15177 ac_compiler_gnu=$ac_cv_c_compiler_gnu
15179 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wshadow" >&5
15180 $as_echo_n "checking whether the compiler supports -Wshadow... " >&6; }
15182 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15183 /* end confdefs.h. */
15193 if ac_fn_c_try_compile "$LINENO"; then :
15198 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15199 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${have_flag}" >&5
15200 $as_echo "${have_flag}" >&6; }
15202 if test "x${have_flag}" = "xno" ; then
15203 CFLAGS="${CFLAGS_save}"
15206 ac_cpp='$CPP $CPPFLAGS'
15207 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15208 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15209 ac_compiler_gnu=$ac_cv_c_compiler_gnu
15219 ac_cpp='$CPP $CPPFLAGS'
15220 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15221 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15222 ac_compiler_gnu=$ac_cv_c_compiler_gnu
15225 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for PATH_MAX in limits.h" >&5
15226 $as_echo_n "checking for PATH_MAX in limits.h... " >&6; }
15227 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15228 /* end confdefs.h. */
15230 #include <limits.h>
15242 if ac_fn_c_try_compile "$LINENO"; then :
15243 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
15244 $as_echo "yes" >&6; }
15248 cat >>confdefs.h <<_ACEOF
15249 #define PATH_MAX ${default_max}
15252 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no: using ${default_max}" >&5
15253 $as_echo "no: using ${default_max}" >&6; }
15256 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15259 ac_cpp='$CPP $CPPFLAGS'
15260 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15261 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15262 ac_compiler_gnu=$ac_cv_c_compiler_gnu
15268 ### Checks for linker characteristics
15269 lt_enable_auto_import=""
15271 case "${host_os}" in
15273 WIN32_LIBS="-lws2_32"
15274 lt_enable_auto_import="-Wl,--enable-auto-import"
15281 ### Checks for library functions
15282 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing strerror" >&5
15283 $as_echo_n "checking for library containing strerror... " >&6; }
15284 if test "${ac_cv_search_strerror+set}" = set; then :
15285 $as_echo_n "(cached) " >&6
15287 ac_func_search_save_LIBS=$LIBS
15288 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15289 /* end confdefs.h. */
15291 /* Override any GCC internal prototype to avoid an error.
15292 Use char because int might match the return type of a GCC
15293 builtin and then its argument prototype would still apply. */
15301 return strerror ();
15306 for ac_lib in '' cposix; do
15307 if test -z "$ac_lib"; then
15308 ac_res="none required"
15311 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
15313 if ac_fn_c_try_link "$LINENO"; then :
15314 ac_cv_search_strerror=$ac_res
15316 rm -f core conftest.err conftest.$ac_objext \
15318 if test "${ac_cv_search_strerror+set}" = set; then :
15322 if test "${ac_cv_search_strerror+set}" = set; then :
15325 ac_cv_search_strerror=no
15327 rm conftest.$ac_ext
15328 LIBS=$ac_func_search_save_LIBS
15330 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_strerror" >&5
15331 $as_echo "$ac_cv_search_strerror" >&6; }
15332 ac_res=$ac_cv_search_strerror
15333 if test "$ac_res" != no; then :
15334 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
15338 # The Ultrix 4.2 mips builtin alloca declared by alloca.h only works
15339 # for constant arguments. Useless!
15340 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for working alloca.h" >&5
15341 $as_echo_n "checking for working alloca.h... " >&6; }
15342 if test "${ac_cv_working_alloca_h+set}" = set; then :
15343 $as_echo_n "(cached) " >&6
15345 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15346 /* end confdefs.h. */
15347 #include <alloca.h>
15351 char *p = (char *) alloca (2 * sizeof (int));
15357 if ac_fn_c_try_link "$LINENO"; then :
15358 ac_cv_working_alloca_h=yes
15360 ac_cv_working_alloca_h=no
15362 rm -f core conftest.err conftest.$ac_objext \
15363 conftest$ac_exeext conftest.$ac_ext
15365 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_working_alloca_h" >&5
15366 $as_echo "$ac_cv_working_alloca_h" >&6; }
15367 if test $ac_cv_working_alloca_h = yes; then
15369 $as_echo "#define HAVE_ALLOCA_H 1" >>confdefs.h
15373 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for alloca" >&5
15374 $as_echo_n "checking for alloca... " >&6; }
15375 if test "${ac_cv_func_alloca_works+set}" = set; then :
15376 $as_echo_n "(cached) " >&6
15378 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15379 /* end confdefs.h. */
15381 # define alloca __builtin_alloca
15384 # include <malloc.h>
15385 # define alloca _alloca
15387 # ifdef HAVE_ALLOCA_H
15388 # include <alloca.h>
15393 # ifndef alloca /* predefined by HP cc +Olibcalls */
15404 char *p = (char *) alloca (1);
15410 if ac_fn_c_try_link "$LINENO"; then :
15411 ac_cv_func_alloca_works=yes
15413 ac_cv_func_alloca_works=no
15415 rm -f core conftest.err conftest.$ac_objext \
15416 conftest$ac_exeext conftest.$ac_ext
15418 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_func_alloca_works" >&5
15419 $as_echo "$ac_cv_func_alloca_works" >&6; }
15421 if test $ac_cv_func_alloca_works = yes; then
15423 $as_echo "#define HAVE_ALLOCA 1" >>confdefs.h
15426 # The SVR3 libPW and SVR4 libucb both contain incompatible functions
15427 # that cause trouble. Some versions do not even contain alloca or
15428 # contain a buggy version. If you still want to use their alloca,
15429 # use ar to extract alloca.o from them instead of compiling alloca.c.
15431 ALLOCA=\${LIBOBJDIR}alloca.$ac_objext
15433 $as_echo "#define C_ALLOCA 1" >>confdefs.h
15436 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether \`alloca.c' needs Cray hooks" >&5
15437 $as_echo_n "checking whether \`alloca.c' needs Cray hooks... " >&6; }
15438 if test "${ac_cv_os_cray+set}" = set; then :
15439 $as_echo_n "(cached) " >&6
15441 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15442 /* end confdefs.h. */
15443 #if defined CRAY && ! defined CRAY2
15450 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
15451 $EGREP "webecray" >/dev/null 2>&1; then :
15459 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_os_cray" >&5
15460 $as_echo "$ac_cv_os_cray" >&6; }
15461 if test $ac_cv_os_cray = yes; then
15462 for ac_func in _getb67 GETB67 getb67; do
15463 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
15464 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
15465 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
15467 cat >>confdefs.h <<_ACEOF
15468 #define CRAY_STACKSEG_END $ac_func
15477 { $as_echo "$as_me:${as_lineno-$LINENO}: checking stack direction for C alloca" >&5
15478 $as_echo_n "checking stack direction for C alloca... " >&6; }
15479 if test "${ac_cv_c_stack_direction+set}" = set; then :
15480 $as_echo_n "(cached) " >&6
15482 if test "$cross_compiling" = yes; then :
15483 ac_cv_c_stack_direction=0
15485 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15486 /* end confdefs.h. */
15487 $ac_includes_default
15489 find_stack_direction ()
15491 static char *addr = 0;
15496 return find_stack_direction ();
15499 return (&dummy > addr) ? 1 : -1;
15505 return find_stack_direction () < 0;
15508 if ac_fn_c_try_run "$LINENO"; then :
15509 ac_cv_c_stack_direction=1
15511 ac_cv_c_stack_direction=-1
15513 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
15514 conftest.$ac_objext conftest.beam conftest.$ac_ext
15518 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_stack_direction" >&5
15519 $as_echo "$ac_cv_c_stack_direction" >&6; }
15520 cat >>confdefs.h <<_ACEOF
15521 #define STACK_DIRECTION $ac_cv_c_stack_direction
15527 for ac_func in strlcpy clearenv
15529 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
15530 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
15531 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
15532 cat >>confdefs.h <<_ACEOF
15533 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
15540 ### Unit tests, coverage
15545 # Check whether --enable-tests was given.
15546 if test "${enable_tests+set}" = set; then :
15547 enableval=$enable_tests;
15548 if test "x${enableval}" = "xyes" ; then
15549 _efl_enable_tests="yes"
15551 _efl_enable_tests="no"
15555 _efl_enable_tests="no"
15559 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether tests are built" >&5
15560 $as_echo_n "checking whether tests are built... " >&6; }
15561 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${_efl_enable_tests}" >&5
15562 $as_echo "${_efl_enable_tests}" >&6; }
15566 if test "x${_efl_enable_tests}" = "xyes" ; then
15569 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for CHECK" >&5
15570 $as_echo_n "checking for CHECK... " >&6; }
15572 if test -n "$CHECK_CFLAGS"; then
15573 pkg_cv_CHECK_CFLAGS="$CHECK_CFLAGS"
15574 elif test -n "$PKG_CONFIG"; then
15575 if test -n "$PKG_CONFIG" && \
15576 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"check >= 0.9.5\""; } >&5
15577 ($PKG_CONFIG --exists --print-errors "check >= 0.9.5") 2>&5
15579 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
15580 test $ac_status = 0; }; then
15581 pkg_cv_CHECK_CFLAGS=`$PKG_CONFIG --cflags "check >= 0.9.5" 2>/dev/null`
15588 if test -n "$CHECK_LIBS"; then
15589 pkg_cv_CHECK_LIBS="$CHECK_LIBS"
15590 elif test -n "$PKG_CONFIG"; then
15591 if test -n "$PKG_CONFIG" && \
15592 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"check >= 0.9.5\""; } >&5
15593 ($PKG_CONFIG --exists --print-errors "check >= 0.9.5") 2>&5
15595 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
15596 test $ac_status = 0; }; then
15597 pkg_cv_CHECK_LIBS=`$PKG_CONFIG --libs "check >= 0.9.5" 2>/dev/null`
15607 if test $pkg_failed = yes; then
15608 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
15609 $as_echo "no" >&6; }
15611 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
15612 _pkg_short_errors_supported=yes
15614 _pkg_short_errors_supported=no
15616 if test $_pkg_short_errors_supported = yes; then
15617 CHECK_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors "check >= 0.9.5" 2>&1`
15619 CHECK_PKG_ERRORS=`$PKG_CONFIG --print-errors "check >= 0.9.5" 2>&1`
15621 # Put the nasty error message in config.log where it belongs
15622 echo "$CHECK_PKG_ERRORS" >&5
15624 _efl_enable_tests="no"
15625 elif test $pkg_failed = untried; then
15626 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
15627 $as_echo "no" >&6; }
15628 _efl_enable_tests="no"
15630 CHECK_CFLAGS=$pkg_cv_CHECK_CFLAGS
15631 CHECK_LIBS=$pkg_cv_CHECK_LIBS
15632 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
15633 $as_echo "yes" >&6; }
15638 if test "x${_efl_enable_tests}" = "xyes"; then
15639 EFL_ENABLE_TESTS_TRUE=
15640 EFL_ENABLE_TESTS_FALSE='#'
15642 EFL_ENABLE_TESTS_TRUE='#'
15643 EFL_ENABLE_TESTS_FALSE=
15647 if test "x$_efl_enable_tests" = "xyes"; then :
15657 # Check whether --enable-coverage was given.
15658 if test "${enable_coverage+set}" = set; then :
15659 enableval=$enable_coverage;
15660 if test "x${enableval}" = "xyes" ; then
15661 _efl_enable_coverage="yes"
15663 _efl_enable_coverage="no"
15667 _efl_enable_coverage="no"
15671 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to use profiling instrumentation" >&5
15672 $as_echo_n "checking whether to use profiling instrumentation... " >&6; }
15673 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $_efl_enable_coverage" >&5
15674 $as_echo "$_efl_enable_coverage" >&6; }
15677 if test "x$_efl_enable_coverage" = "xyes" && test ! "x${enable_tests}" = "xyes" ; then
15678 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Coverage report requested but tests not being built, disable profiling instrumentation." >&5
15679 $as_echo "$as_me: WARNING: Coverage report requested but tests not being built, disable profiling instrumentation." >&2;}
15680 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Run configure with --enable-tests" >&5
15681 $as_echo "$as_me: WARNING: Run configure with --enable-tests" >&2;}
15682 _efl_enable_coverage="no"
15685 if test "x$_efl_enable_coverage" = "xyes" ; then
15686 # Extract the first word of "lcov", so it can be a program name with args.
15687 set dummy lcov; ac_word=$2
15688 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
15689 $as_echo_n "checking for $ac_word... " >&6; }
15690 if test "${ac_cv_prog_have_lcov+set}" = set; then :
15691 $as_echo_n "(cached) " >&6
15693 if test -n "$have_lcov"; then
15694 ac_cv_prog_have_lcov="$have_lcov" # Let the user override the test.
15696 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
15697 for as_dir in $PATH
15700 test -z "$as_dir" && as_dir=.
15701 for ac_exec_ext in '' $ac_executable_extensions; do
15702 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
15703 ac_cv_prog_have_lcov="yes"
15704 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
15711 test -z "$ac_cv_prog_have_lcov" && ac_cv_prog_have_lcov="no"
15714 have_lcov=$ac_cv_prog_have_lcov
15715 if test -n "$have_lcov"; then
15716 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $have_lcov" >&5
15717 $as_echo "$have_lcov" >&6; }
15719 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
15720 $as_echo "no" >&6; }
15724 if test "x$have_lcov" = "xyes" ; then
15725 EFL_COVERAGE_CFLAGS="-fprofile-arcs -ftest-coverage"
15726 EFL_COVERAGE_LIBS="-lgcov"
15727 # remove any optimisation flag and force debug symbols
15728 EFL_DEBUG_CFLAGS="-g -O0 -DDEBUG"
15730 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: lcov is not found, disable profiling instrumentation" >&5
15731 $as_echo "$as_me: WARNING: lcov is not found, disable profiling instrumentation" >&2;}
15732 _efl_enable_coverage="no"
15739 if test "x${_efl_enable_coverage}" = "xyes"; then
15740 EFL_ENABLE_COVERAGE_TRUE=
15741 EFL_ENABLE_COVERAGE_FALSE='#'
15743 EFL_ENABLE_COVERAGE_TRUE='#'
15744 EFL_ENABLE_COVERAGE_FALSE=
15748 if test "x$_efl_enable_coverage" = "xyes"; then :
15749 enable_coverage="yes"
15751 enable_coverage="no"
15754 EFREET_CFLAGS="${EFREET_CFLAGS} ${EFL_COVERAGE_CFLAGS}"
15755 EFREET_LIBS="${EFREET_LIBS} ${EFL_COVERAGE_LIBS}"
15756 if test "x$enable_coverage" = "xyes" ; then
15757 EFREET_CFLAGS="${EFREET_CFLAGS} ${EFL_DEBUG_CFLAGS}"
15762 ac_config_files="$ac_config_files efreet.spec efreet.pc efreet-mime.pc efreet-trash.pc Makefile doc/Makefile doc/Doxyfile src/Makefile src/lib/Makefile src/bin/Makefile src/tests/Makefile src/tests/data/Makefile src/tests/data/sub/Makefile src/tests/compare/Makefile $po_makefile_in"
15764 cat >confcache <<\_ACEOF
15765 # This file is a shell script that caches the results of configure
15766 # tests run on this system so they can be shared between configure
15767 # scripts and configure runs, see configure's option --config-cache.
15768 # It is not useful on other systems. If it contains results you don't
15769 # want to keep, you may remove or edit it.
15771 # config.status only pays attention to the cache file if you give it
15772 # the --recheck option to rerun configure.
15774 # `ac_cv_env_foo' variables (set or unset) will be overridden when
15775 # loading this file, other *unset* `ac_cv_foo' will be assigned the
15776 # following values.
15780 # The following way of writing the cache mishandles newlines in values,
15781 # but we know of no workaround that is simple, portable, and efficient.
15782 # So, we kill variables containing newlines.
15783 # Ultrix sh set writes to stderr and can't be redirected directly,
15784 # and sets the high bit in the cache file unless we assign to the vars.
15786 for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
15787 eval ac_val=\$$ac_var
15791 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
15792 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
15795 _ | IFS | as_nl) ;; #(
15796 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
15797 *) { eval $ac_var=; unset $ac_var;} ;;
15803 case $as_nl`(ac_space=' '; set) 2>&1` in #(
15804 *${as_nl}ac_space=\ *)
15805 # `set' does not quote correctly, so add quotes: double-quote
15806 # substitution turns \\\\ into \\, and sed turns \\ into \.
15809 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
15812 # `set' quotes correctly as required by POSIX, so do not add quotes.
15813 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
15822 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
15824 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
15826 if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
15827 if test -w "$cache_file"; then
15828 test "x$cache_file" != "x/dev/null" &&
15829 { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
15830 $as_echo "$as_me: updating cache $cache_file" >&6;}
15831 cat confcache >$cache_file
15833 { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
15834 $as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
15839 test "x$prefix" = xNONE && prefix=$ac_default_prefix
15840 # Let make expand exec_prefix.
15841 test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
15843 DEFS=-DHAVE_CONFIG_H
15848 for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
15849 # 1. Remove the extension, and $U if already installed.
15850 ac_script='s/\$U\././;s/\.o$//;s/\.obj$//'
15851 ac_i=`$as_echo "$ac_i" | sed "$ac_script"`
15852 # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR
15853 # will be set to the directory where LIBOBJS objects are built.
15854 as_fn_append ac_libobjs " \${LIBOBJDIR}$ac_i\$U.$ac_objext"
15855 as_fn_append ac_ltlibobjs " \${LIBOBJDIR}$ac_i"'$U.lo'
15857 LIBOBJS=$ac_libobjs
15859 LTLIBOBJS=$ac_ltlibobjs
15862 if test -n "$EXEEXT"; then
15864 am__EXEEXT_FALSE='#'
15866 am__EXEEXT_TRUE='#'
15870 if test -z "${AMDEP_TRUE}" && test -z "${AMDEP_FALSE}"; then
15871 as_fn_error $? "conditional \"AMDEP\" was never defined.
15872 Usually this means the macro was only invoked conditionally." "$LINENO" 5
15874 if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
15875 as_fn_error $? "conditional \"am__fastdepCC\" was never defined.
15876 Usually this means the macro was only invoked conditionally." "$LINENO" 5
15878 if test -z "${HAVE_PO_TRUE}" && test -z "${HAVE_PO_FALSE}"; then
15879 as_fn_error $? "conditional \"HAVE_PO\" was never defined.
15880 Usually this means the macro was only invoked conditionally." "$LINENO" 5
15882 if test -z "${DEFAULT_VISIBILITY_TRUE}" && test -z "${DEFAULT_VISIBILITY_FALSE}"; then
15883 as_fn_error $? "conditional \"DEFAULT_VISIBILITY\" was never defined.
15884 Usually this means the macro was only invoked conditionally." "$LINENO" 5
15886 if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
15887 as_fn_error $? "conditional \"am__fastdepCC\" was never defined.
15888 Usually this means the macro was only invoked conditionally." "$LINENO" 5
15890 if test -z "${EFL_BUILD_DOC_TRUE}" && test -z "${EFL_BUILD_DOC_FALSE}"; then
15891 as_fn_error $? "conditional \"EFL_BUILD_DOC\" was never defined.
15892 Usually this means the macro was only invoked conditionally." "$LINENO" 5
15894 if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
15895 as_fn_error $? "conditional \"am__fastdepCC\" was never defined.
15896 Usually this means the macro was only invoked conditionally." "$LINENO" 5
15898 if test -z "${EFL_ENABLE_TESTS_TRUE}" && test -z "${EFL_ENABLE_TESTS_FALSE}"; then
15899 as_fn_error $? "conditional \"EFL_ENABLE_TESTS\" was never defined.
15900 Usually this means the macro was only invoked conditionally." "$LINENO" 5
15902 if test -z "${EFL_ENABLE_COVERAGE_TRUE}" && test -z "${EFL_ENABLE_COVERAGE_FALSE}"; then
15903 as_fn_error $? "conditional \"EFL_ENABLE_COVERAGE\" was never defined.
15904 Usually this means the macro was only invoked conditionally." "$LINENO" 5
15907 : ${CONFIG_STATUS=./config.status}
15909 ac_clean_files_save=$ac_clean_files
15910 ac_clean_files="$ac_clean_files $CONFIG_STATUS"
15911 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5
15912 $as_echo "$as_me: creating $CONFIG_STATUS" >&6;}
15914 cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1
15916 # Generated by $as_me.
15917 # Run this file to recreate the current configuration.
15918 # Compiler output produced by configure, useful for debugging
15919 # configure, is in config.log if it exists.
15922 ac_cs_recheck=false
15925 SHELL=\${CONFIG_SHELL-$SHELL}
15928 cat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail=1
15929 ## -------------------- ##
15930 ## M4sh Initialization. ##
15931 ## -------------------- ##
15933 # Be more Bourne compatible
15934 DUALCASE=1; export DUALCASE # for MKS sh
15935 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :
15938 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
15939 # is contrary to our usage. Disable this feature.
15940 alias -g '${1+"$@"}'='"$@"'
15941 setopt NO_GLOB_SUBST
15943 case `(set -o) 2>/dev/null` in #(
15955 # Printing a long string crashes Solaris 7 /usr/bin/printf.
15956 as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
15957 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
15958 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
15959 # Prefer a ksh shell builtin over an external printf program on Solaris,
15960 # but without wasting forks for bash or zsh.
15961 if test -z "$BASH_VERSION$ZSH_VERSION" \
15962 && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
15963 as_echo='print -r --'
15964 as_echo_n='print -rn --'
15965 elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
15966 as_echo='printf %s\n'
15967 as_echo_n='printf %s'
15969 if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
15970 as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
15971 as_echo_n='/usr/ucb/echo -n'
15973 as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
15974 as_echo_n_body='eval
15978 expr "X$arg" : "X\\(.*\\)$as_nl";
15979 arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
15981 expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
15983 export as_echo_n_body
15984 as_echo_n='sh -c $as_echo_n_body as_echo'
15986 export as_echo_body
15987 as_echo='sh -c $as_echo_body as_echo'
15990 # The user is always right.
15991 if test "${PATH_SEPARATOR+set}" != set; then
15993 (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
15994 (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
16001 # We need space, tab and new line, in precisely that order. Quoting is
16002 # there to prevent editors from complaining about space-tab.
16003 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
16004 # splitting by setting IFS to empty value.)
16007 # Find who we are. Look in the path if we contain no directory separator.
16009 *[\\/]* ) as_myself=$0 ;;
16010 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
16011 for as_dir in $PATH
16014 test -z "$as_dir" && as_dir=.
16015 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
16021 # We did not find ourselves, most probably we were run as `sh COMMAND'
16022 # in which case we are not to be found in the path.
16023 if test "x$as_myself" = x; then
16026 if test ! -f "$as_myself"; then
16027 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
16031 # Unset variables that we do not need and which cause bugs (e.g. in
16032 # pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1"
16033 # suppresses any "Segmentation fault" message there. '((' could
16034 # trigger a bug in pdksh 5.2.14.
16035 for as_var in BASH_ENV ENV MAIL MAILPATH
16036 do eval test x\${$as_var+set} = xset \
16037 && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
16050 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
16053 # as_fn_error STATUS ERROR [LINENO LOG_FD]
16054 # ----------------------------------------
16055 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
16056 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
16057 # script with STATUS, using 1 if that was 0.
16060 as_status=$1; test $as_status -eq 0 && as_status=1
16062 as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
16063 $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
16065 $as_echo "$as_me: error: $2" >&2
16066 as_fn_exit $as_status
16070 # as_fn_set_status STATUS
16071 # -----------------------
16072 # Set $? to STATUS, without forking.
16073 as_fn_set_status ()
16076 } # as_fn_set_status
16078 # as_fn_exit STATUS
16079 # -----------------
16080 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
16084 as_fn_set_status $1
16090 # Portably unset VAR.
16093 { eval $1=; unset $1;}
16095 as_unset=as_fn_unset
16096 # as_fn_append VAR VALUE
16097 # ----------------------
16098 # Append the text in VALUE to the end of the definition contained in VAR. Take
16099 # advantage of any shell optimizations that allow amortized linear growth over
16100 # repeated appends, instead of the typical quadratic growth present in naive
16102 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
16103 eval 'as_fn_append ()
16114 # as_fn_arith ARG...
16115 # ------------------
16116 # Perform arithmetic evaluation on the ARGs, and store the result in the
16117 # global $as_val. Take advantage of shells that can avoid forks. The arguments
16118 # must be portable across $(()) and expr.
16119 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
16120 eval 'as_fn_arith ()
16127 as_val=`expr "$@" || test $? -eq 1`
16132 if expr a : '\(a\)' >/dev/null 2>&1 &&
16133 test "X`expr 00001 : '.*\(...\)'`" = X001; then
16139 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
16140 as_basename=basename
16145 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
16151 as_me=`$as_basename -- "$0" ||
16152 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
16153 X"$0" : 'X\(//\)$' \| \
16154 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
16156 sed '/^.*\/\([^/][^/]*\)\/*$/{
16170 # Avoid depending upon Character Ranges.
16171 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
16172 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
16173 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
16174 as_cr_digits='0123456789'
16175 as_cr_alnum=$as_cr_Letters$as_cr_digits
16177 ECHO_C= ECHO_N= ECHO_T=
16178 case `echo -n x` in #(((((
16180 case `echo 'xy\c'` in
16181 *c*) ECHO_T=' ';; # ECHO_T is single tab character.
16183 *) echo `echo ksh88 bug on AIX 6.1` > /dev/null
16190 rm -f conf$$ conf$$.exe conf$$.file
16191 if test -d conf$$.dir; then
16192 rm -f conf$$.dir/conf$$.file
16195 mkdir conf$$.dir 2>/dev/null
16197 if (echo >conf$$.file) 2>/dev/null; then
16198 if ln -s conf$$.file conf$$ 2>/dev/null; then
16200 # ... but there are two gotchas:
16201 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
16202 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
16203 # In both cases, we have to default to `cp -p'.
16204 ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
16206 elif ln conf$$.file conf$$ 2>/dev/null; then
16214 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
16215 rmdir conf$$.dir 2>/dev/null
16220 # Create "$as_dir" as a directory, including parents if necessary.
16225 -*) as_dir=./$as_dir;;
16227 test -d "$as_dir" || eval $as_mkdir_p || {
16231 *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
16232 *) as_qdir=$as_dir;;
16234 as_dirs="'$as_qdir' $as_dirs"
16235 as_dir=`$as_dirname -- "$as_dir" ||
16236 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
16237 X"$as_dir" : 'X\(//\)[^/]' \| \
16238 X"$as_dir" : 'X\(//\)$' \| \
16239 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
16240 $as_echo X"$as_dir" |
16241 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
16245 /^X\(\/\/\)[^/].*/{
16258 test -d "$as_dir" && break
16260 test -z "$as_dirs" || eval "mkdir $as_dirs"
16261 } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir"
16265 if mkdir -p . 2>/dev/null; then
16266 as_mkdir_p='mkdir -p "$as_dir"'
16268 test -d ./-p && rmdir ./-p
16272 if test -x / >/dev/null 2>&1; then
16273 as_test_x='test -x'
16275 if ls -dL / >/dev/null 2>&1; then
16282 if test -d "$1"; then
16288 case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in #((
16289 ???[sx]*):;;*)false;;esac;fi
16293 as_executable_p=$as_test_x
16295 # Sed expression to map a string onto a valid CPP name.
16296 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
16298 # Sed expression to map a string onto a valid variable name.
16299 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
16303 ## ----------------------------------- ##
16304 ## Main body of $CONFIG_STATUS script. ##
16305 ## ----------------------------------- ##
16307 test $as_write_fail = 0 && chmod +x $CONFIG_STATUS || ac_write_fail=1
16309 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
16310 # Save the log message, to keep $0 and so on meaningful, and to
16311 # report actual input values of CONFIG_FILES etc. instead of their
16312 # values after options handling.
16314 This file was extended by efreet $as_me 1.7.1, which was
16315 generated by GNU Autoconf 2.67. Invocation command line was
16317 CONFIG_FILES = $CONFIG_FILES
16318 CONFIG_HEADERS = $CONFIG_HEADERS
16319 CONFIG_LINKS = $CONFIG_LINKS
16320 CONFIG_COMMANDS = $CONFIG_COMMANDS
16323 on `(hostname || uname -n) 2>/dev/null | sed 1q`
16328 case $ac_config_files in *"
16329 "*) set x $ac_config_files; shift; ac_config_files=$*;;
16332 case $ac_config_headers in *"
16333 "*) set x $ac_config_headers; shift; ac_config_headers=$*;;
16337 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
16338 # Files that config.status was made for.
16339 config_files="$ac_config_files"
16340 config_headers="$ac_config_headers"
16341 config_commands="$ac_config_commands"
16345 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
16347 \`$as_me' instantiates files and other configuration actions
16348 from templates according to the current configuration. Unless the files
16349 and actions are specified as TAGs, all are instantiated by default.
16351 Usage: $0 [OPTION]... [TAG]...
16353 -h, --help print this help, then exit
16354 -V, --version print version number and configuration settings, then exit
16355 --config print configuration, then exit
16356 -q, --quiet, --silent
16357 do not print progress messages
16358 -d, --debug don't remove temporary files
16359 --recheck update $as_me by reconfiguring in the same conditions
16360 --file=FILE[:TEMPLATE]
16361 instantiate the configuration file FILE
16362 --header=FILE[:TEMPLATE]
16363 instantiate the configuration header FILE
16365 Configuration files:
16368 Configuration headers:
16371 Configuration commands:
16374 Report bugs to <enlightenment-devel@lists.sourceforge.net>."
16377 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
16378 ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`"
16380 efreet config.status 1.7.1
16381 configured by $0, generated by GNU Autoconf 2.67,
16382 with options \\"\$ac_cs_config\\"
16384 Copyright (C) 2010 Free Software Foundation, Inc.
16385 This config.status script is free software; the Free Software Foundation
16386 gives unlimited permission to copy, distribute and modify it."
16393 test -n "\$AWK" || AWK=awk
16396 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
16397 # The default lists apply if the user does not specify any file.
16403 ac_option=`expr "X$1" : 'X\([^=]*\)='`
16404 ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'`
16408 ac_option=`expr "X$1" : 'X\([^=]*\)='`
16420 # Handling of the options.
16421 -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
16423 --version | --versio | --versi | --vers | --ver | --ve | --v | -V )
16424 $as_echo "$ac_cs_version"; exit ;;
16425 --config | --confi | --conf | --con | --co | --c )
16426 $as_echo "$ac_cs_config"; exit ;;
16427 --debug | --debu | --deb | --de | --d | -d )
16429 --file | --fil | --fi | --f )
16432 *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
16433 '') as_fn_error $? "missing file argument" ;;
16435 as_fn_append CONFIG_FILES " '$ac_optarg'"
16436 ac_need_defaults=false;;
16437 --header | --heade | --head | --hea )
16440 *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
16442 as_fn_append CONFIG_HEADERS " '$ac_optarg'"
16443 ac_need_defaults=false;;
16445 # Conflict between --help and --header
16446 as_fn_error $? "ambiguous option: \`$1'
16447 Try \`$0 --help' for more information.";;
16448 --help | --hel | -h )
16449 $as_echo "$ac_cs_usage"; exit ;;
16450 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
16451 | -silent | --silent | --silen | --sile | --sil | --si | --s)
16454 # This is an error.
16455 -*) as_fn_error $? "unrecognized option: \`$1'
16456 Try \`$0 --help' for more information." ;;
16458 *) as_fn_append ac_config_targets " $1"
16459 ac_need_defaults=false ;;
16465 ac_configure_extra_args=
16467 if $ac_cs_silent; then
16469 ac_configure_extra_args="$ac_configure_extra_args --silent"
16473 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
16474 if \$ac_cs_recheck; then
16475 set X '$SHELL' '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
16477 \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6
16478 CONFIG_SHELL='$SHELL'
16479 export CONFIG_SHELL
16484 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
16488 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
16489 ## Running $as_me. ##
16495 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
16499 AMDEP_TRUE="$AMDEP_TRUE" ac_aux_dir="$ac_aux_dir"
16502 # The HP-UX ksh and POSIX shell print the target directory to stdout
16503 # if CDPATH is set.
16504 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
16506 sed_quote_subst='$sed_quote_subst'
16507 double_quote_subst='$double_quote_subst'
16508 delay_variable_subst='$delay_variable_subst'
16509 AS='`$ECHO "X$AS" | $Xsed -e "$delay_single_quote_subst"`'
16510 DLLTOOL='`$ECHO "X$DLLTOOL" | $Xsed -e "$delay_single_quote_subst"`'
16511 OBJDUMP='`$ECHO "X$OBJDUMP" | $Xsed -e "$delay_single_quote_subst"`'
16512 macro_version='`$ECHO "X$macro_version" | $Xsed -e "$delay_single_quote_subst"`'
16513 macro_revision='`$ECHO "X$macro_revision" | $Xsed -e "$delay_single_quote_subst"`'
16514 enable_shared='`$ECHO "X$enable_shared" | $Xsed -e "$delay_single_quote_subst"`'
16515 enable_static='`$ECHO "X$enable_static" | $Xsed -e "$delay_single_quote_subst"`'
16516 pic_mode='`$ECHO "X$pic_mode" | $Xsed -e "$delay_single_quote_subst"`'
16517 enable_fast_install='`$ECHO "X$enable_fast_install" | $Xsed -e "$delay_single_quote_subst"`'
16518 host_alias='`$ECHO "X$host_alias" | $Xsed -e "$delay_single_quote_subst"`'
16519 host='`$ECHO "X$host" | $Xsed -e "$delay_single_quote_subst"`'
16520 host_os='`$ECHO "X$host_os" | $Xsed -e "$delay_single_quote_subst"`'
16521 build_alias='`$ECHO "X$build_alias" | $Xsed -e "$delay_single_quote_subst"`'
16522 build='`$ECHO "X$build" | $Xsed -e "$delay_single_quote_subst"`'
16523 build_os='`$ECHO "X$build_os" | $Xsed -e "$delay_single_quote_subst"`'
16524 SED='`$ECHO "X$SED" | $Xsed -e "$delay_single_quote_subst"`'
16525 Xsed='`$ECHO "X$Xsed" | $Xsed -e "$delay_single_quote_subst"`'
16526 GREP='`$ECHO "X$GREP" | $Xsed -e "$delay_single_quote_subst"`'
16527 EGREP='`$ECHO "X$EGREP" | $Xsed -e "$delay_single_quote_subst"`'
16528 FGREP='`$ECHO "X$FGREP" | $Xsed -e "$delay_single_quote_subst"`'
16529 LD='`$ECHO "X$LD" | $Xsed -e "$delay_single_quote_subst"`'
16530 NM='`$ECHO "X$NM" | $Xsed -e "$delay_single_quote_subst"`'
16531 LN_S='`$ECHO "X$LN_S" | $Xsed -e "$delay_single_quote_subst"`'
16532 max_cmd_len='`$ECHO "X$max_cmd_len" | $Xsed -e "$delay_single_quote_subst"`'
16533 ac_objext='`$ECHO "X$ac_objext" | $Xsed -e "$delay_single_quote_subst"`'
16534 exeext='`$ECHO "X$exeext" | $Xsed -e "$delay_single_quote_subst"`'
16535 lt_unset='`$ECHO "X$lt_unset" | $Xsed -e "$delay_single_quote_subst"`'
16536 lt_SP2NL='`$ECHO "X$lt_SP2NL" | $Xsed -e "$delay_single_quote_subst"`'
16537 lt_NL2SP='`$ECHO "X$lt_NL2SP" | $Xsed -e "$delay_single_quote_subst"`'
16538 reload_flag='`$ECHO "X$reload_flag" | $Xsed -e "$delay_single_quote_subst"`'
16539 reload_cmds='`$ECHO "X$reload_cmds" | $Xsed -e "$delay_single_quote_subst"`'
16540 deplibs_check_method='`$ECHO "X$deplibs_check_method" | $Xsed -e "$delay_single_quote_subst"`'
16541 file_magic_cmd='`$ECHO "X$file_magic_cmd" | $Xsed -e "$delay_single_quote_subst"`'
16542 AR='`$ECHO "X$AR" | $Xsed -e "$delay_single_quote_subst"`'
16543 AR_FLAGS='`$ECHO "X$AR_FLAGS" | $Xsed -e "$delay_single_quote_subst"`'
16544 STRIP='`$ECHO "X$STRIP" | $Xsed -e "$delay_single_quote_subst"`'
16545 RANLIB='`$ECHO "X$RANLIB" | $Xsed -e "$delay_single_quote_subst"`'
16546 old_postinstall_cmds='`$ECHO "X$old_postinstall_cmds" | $Xsed -e "$delay_single_quote_subst"`'
16547 old_postuninstall_cmds='`$ECHO "X$old_postuninstall_cmds" | $Xsed -e "$delay_single_quote_subst"`'
16548 old_archive_cmds='`$ECHO "X$old_archive_cmds" | $Xsed -e "$delay_single_quote_subst"`'
16549 CC='`$ECHO "X$CC" | $Xsed -e "$delay_single_quote_subst"`'
16550 CFLAGS='`$ECHO "X$CFLAGS" | $Xsed -e "$delay_single_quote_subst"`'
16551 compiler='`$ECHO "X$compiler" | $Xsed -e "$delay_single_quote_subst"`'
16552 GCC='`$ECHO "X$GCC" | $Xsed -e "$delay_single_quote_subst"`'
16553 lt_cv_sys_global_symbol_pipe='`$ECHO "X$lt_cv_sys_global_symbol_pipe" | $Xsed -e "$delay_single_quote_subst"`'
16554 lt_cv_sys_global_symbol_to_cdecl='`$ECHO "X$lt_cv_sys_global_symbol_to_cdecl" | $Xsed -e "$delay_single_quote_subst"`'
16555 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"`'
16556 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"`'
16557 objdir='`$ECHO "X$objdir" | $Xsed -e "$delay_single_quote_subst"`'
16558 SHELL='`$ECHO "X$SHELL" | $Xsed -e "$delay_single_quote_subst"`'
16559 ECHO='`$ECHO "X$ECHO" | $Xsed -e "$delay_single_quote_subst"`'
16560 MAGIC_CMD='`$ECHO "X$MAGIC_CMD" | $Xsed -e "$delay_single_quote_subst"`'
16561 lt_prog_compiler_no_builtin_flag='`$ECHO "X$lt_prog_compiler_no_builtin_flag" | $Xsed -e "$delay_single_quote_subst"`'
16562 lt_prog_compiler_wl='`$ECHO "X$lt_prog_compiler_wl" | $Xsed -e "$delay_single_quote_subst"`'
16563 lt_prog_compiler_pic='`$ECHO "X$lt_prog_compiler_pic" | $Xsed -e "$delay_single_quote_subst"`'
16564 lt_prog_compiler_static='`$ECHO "X$lt_prog_compiler_static" | $Xsed -e "$delay_single_quote_subst"`'
16565 lt_cv_prog_compiler_c_o='`$ECHO "X$lt_cv_prog_compiler_c_o" | $Xsed -e "$delay_single_quote_subst"`'
16566 need_locks='`$ECHO "X$need_locks" | $Xsed -e "$delay_single_quote_subst"`'
16567 DSYMUTIL='`$ECHO "X$DSYMUTIL" | $Xsed -e "$delay_single_quote_subst"`'
16568 NMEDIT='`$ECHO "X$NMEDIT" | $Xsed -e "$delay_single_quote_subst"`'
16569 LIPO='`$ECHO "X$LIPO" | $Xsed -e "$delay_single_quote_subst"`'
16570 OTOOL='`$ECHO "X$OTOOL" | $Xsed -e "$delay_single_quote_subst"`'
16571 OTOOL64='`$ECHO "X$OTOOL64" | $Xsed -e "$delay_single_quote_subst"`'
16572 libext='`$ECHO "X$libext" | $Xsed -e "$delay_single_quote_subst"`'
16573 shrext_cmds='`$ECHO "X$shrext_cmds" | $Xsed -e "$delay_single_quote_subst"`'
16574 extract_expsyms_cmds='`$ECHO "X$extract_expsyms_cmds" | $Xsed -e "$delay_single_quote_subst"`'
16575 archive_cmds_need_lc='`$ECHO "X$archive_cmds_need_lc" | $Xsed -e "$delay_single_quote_subst"`'
16576 enable_shared_with_static_runtimes='`$ECHO "X$enable_shared_with_static_runtimes" | $Xsed -e "$delay_single_quote_subst"`'
16577 export_dynamic_flag_spec='`$ECHO "X$export_dynamic_flag_spec" | $Xsed -e "$delay_single_quote_subst"`'
16578 whole_archive_flag_spec='`$ECHO "X$whole_archive_flag_spec" | $Xsed -e "$delay_single_quote_subst"`'
16579 compiler_needs_object='`$ECHO "X$compiler_needs_object" | $Xsed -e "$delay_single_quote_subst"`'
16580 old_archive_from_new_cmds='`$ECHO "X$old_archive_from_new_cmds" | $Xsed -e "$delay_single_quote_subst"`'
16581 old_archive_from_expsyms_cmds='`$ECHO "X$old_archive_from_expsyms_cmds" | $Xsed -e "$delay_single_quote_subst"`'
16582 archive_cmds='`$ECHO "X$archive_cmds" | $Xsed -e "$delay_single_quote_subst"`'
16583 archive_expsym_cmds='`$ECHO "X$archive_expsym_cmds" | $Xsed -e "$delay_single_quote_subst"`'
16584 module_cmds='`$ECHO "X$module_cmds" | $Xsed -e "$delay_single_quote_subst"`'
16585 module_expsym_cmds='`$ECHO "X$module_expsym_cmds" | $Xsed -e "$delay_single_quote_subst"`'
16586 with_gnu_ld='`$ECHO "X$with_gnu_ld" | $Xsed -e "$delay_single_quote_subst"`'
16587 allow_undefined_flag='`$ECHO "X$allow_undefined_flag" | $Xsed -e "$delay_single_quote_subst"`'
16588 no_undefined_flag='`$ECHO "X$no_undefined_flag" | $Xsed -e "$delay_single_quote_subst"`'
16589 hardcode_libdir_flag_spec='`$ECHO "X$hardcode_libdir_flag_spec" | $Xsed -e "$delay_single_quote_subst"`'
16590 hardcode_libdir_flag_spec_ld='`$ECHO "X$hardcode_libdir_flag_spec_ld" | $Xsed -e "$delay_single_quote_subst"`'
16591 hardcode_libdir_separator='`$ECHO "X$hardcode_libdir_separator" | $Xsed -e "$delay_single_quote_subst"`'
16592 hardcode_direct='`$ECHO "X$hardcode_direct" | $Xsed -e "$delay_single_quote_subst"`'
16593 hardcode_direct_absolute='`$ECHO "X$hardcode_direct_absolute" | $Xsed -e "$delay_single_quote_subst"`'
16594 hardcode_minus_L='`$ECHO "X$hardcode_minus_L" | $Xsed -e "$delay_single_quote_subst"`'
16595 hardcode_shlibpath_var='`$ECHO "X$hardcode_shlibpath_var" | $Xsed -e "$delay_single_quote_subst"`'
16596 hardcode_automatic='`$ECHO "X$hardcode_automatic" | $Xsed -e "$delay_single_quote_subst"`'
16597 inherit_rpath='`$ECHO "X$inherit_rpath" | $Xsed -e "$delay_single_quote_subst"`'
16598 link_all_deplibs='`$ECHO "X$link_all_deplibs" | $Xsed -e "$delay_single_quote_subst"`'
16599 fix_srcfile_path='`$ECHO "X$fix_srcfile_path" | $Xsed -e "$delay_single_quote_subst"`'
16600 always_export_symbols='`$ECHO "X$always_export_symbols" | $Xsed -e "$delay_single_quote_subst"`'
16601 export_symbols_cmds='`$ECHO "X$export_symbols_cmds" | $Xsed -e "$delay_single_quote_subst"`'
16602 exclude_expsyms='`$ECHO "X$exclude_expsyms" | $Xsed -e "$delay_single_quote_subst"`'
16603 include_expsyms='`$ECHO "X$include_expsyms" | $Xsed -e "$delay_single_quote_subst"`'
16604 prelink_cmds='`$ECHO "X$prelink_cmds" | $Xsed -e "$delay_single_quote_subst"`'
16605 file_list_spec='`$ECHO "X$file_list_spec" | $Xsed -e "$delay_single_quote_subst"`'
16606 variables_saved_for_relink='`$ECHO "X$variables_saved_for_relink" | $Xsed -e "$delay_single_quote_subst"`'
16607 need_lib_prefix='`$ECHO "X$need_lib_prefix" | $Xsed -e "$delay_single_quote_subst"`'
16608 need_version='`$ECHO "X$need_version" | $Xsed -e "$delay_single_quote_subst"`'
16609 version_type='`$ECHO "X$version_type" | $Xsed -e "$delay_single_quote_subst"`'
16610 runpath_var='`$ECHO "X$runpath_var" | $Xsed -e "$delay_single_quote_subst"`'
16611 shlibpath_var='`$ECHO "X$shlibpath_var" | $Xsed -e "$delay_single_quote_subst"`'
16612 shlibpath_overrides_runpath='`$ECHO "X$shlibpath_overrides_runpath" | $Xsed -e "$delay_single_quote_subst"`'
16613 libname_spec='`$ECHO "X$libname_spec" | $Xsed -e "$delay_single_quote_subst"`'
16614 library_names_spec='`$ECHO "X$library_names_spec" | $Xsed -e "$delay_single_quote_subst"`'
16615 soname_spec='`$ECHO "X$soname_spec" | $Xsed -e "$delay_single_quote_subst"`'
16616 postinstall_cmds='`$ECHO "X$postinstall_cmds" | $Xsed -e "$delay_single_quote_subst"`'
16617 postuninstall_cmds='`$ECHO "X$postuninstall_cmds" | $Xsed -e "$delay_single_quote_subst"`'
16618 finish_cmds='`$ECHO "X$finish_cmds" | $Xsed -e "$delay_single_quote_subst"`'
16619 finish_eval='`$ECHO "X$finish_eval" | $Xsed -e "$delay_single_quote_subst"`'
16620 hardcode_into_libs='`$ECHO "X$hardcode_into_libs" | $Xsed -e "$delay_single_quote_subst"`'
16621 sys_lib_search_path_spec='`$ECHO "X$sys_lib_search_path_spec" | $Xsed -e "$delay_single_quote_subst"`'
16622 sys_lib_dlsearch_path_spec='`$ECHO "X$sys_lib_dlsearch_path_spec" | $Xsed -e "$delay_single_quote_subst"`'
16623 hardcode_action='`$ECHO "X$hardcode_action" | $Xsed -e "$delay_single_quote_subst"`'
16624 enable_dlopen='`$ECHO "X$enable_dlopen" | $Xsed -e "$delay_single_quote_subst"`'
16625 enable_dlopen_self='`$ECHO "X$enable_dlopen_self" | $Xsed -e "$delay_single_quote_subst"`'
16626 enable_dlopen_self_static='`$ECHO "X$enable_dlopen_self_static" | $Xsed -e "$delay_single_quote_subst"`'
16627 old_striplib='`$ECHO "X$old_striplib" | $Xsed -e "$delay_single_quote_subst"`'
16628 striplib='`$ECHO "X$striplib" | $Xsed -e "$delay_single_quote_subst"`'
16631 LTCFLAGS='$LTCFLAGS'
16632 compiler='$compiler_DEFAULT'
16634 # Quote evaled strings.
16645 deplibs_check_method \
16654 lt_cv_sys_global_symbol_pipe \
16655 lt_cv_sys_global_symbol_to_cdecl \
16656 lt_cv_sys_global_symbol_to_c_name_address \
16657 lt_cv_sys_global_symbol_to_c_name_address_lib_prefix \
16660 lt_prog_compiler_no_builtin_flag \
16661 lt_prog_compiler_wl \
16662 lt_prog_compiler_pic \
16663 lt_prog_compiler_static \
16664 lt_cv_prog_compiler_c_o \
16672 export_dynamic_flag_spec \
16673 whole_archive_flag_spec \
16674 compiler_needs_object \
16676 allow_undefined_flag \
16677 no_undefined_flag \
16678 hardcode_libdir_flag_spec \
16679 hardcode_libdir_flag_spec_ld \
16680 hardcode_libdir_separator \
16685 variables_saved_for_relink \
16687 library_names_spec \
16692 case \`eval \\\\\$ECHO "X\\\\\$\$var"\` in
16693 *[\\\\\\\`\\"\\\$]*)
16694 eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"X\\\$\$var\\" | \\\$Xsed -e \\"\\\$sed_quote_subst\\"\\\`\\\\\\""
16697 eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
16702 # Double-quote double-evaled strings.
16703 for var in reload_cmds \
16704 old_postinstall_cmds \
16705 old_postuninstall_cmds \
16707 extract_expsyms_cmds \
16708 old_archive_from_new_cmds \
16709 old_archive_from_expsyms_cmds \
16711 archive_expsym_cmds \
16713 module_expsym_cmds \
16714 export_symbols_cmds \
16717 postuninstall_cmds \
16719 sys_lib_search_path_spec \
16720 sys_lib_dlsearch_path_spec; do
16721 case \`eval \\\\\$ECHO "X\\\\\$\$var"\` in
16722 *[\\\\\\\`\\"\\\$]*)
16723 eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"X\\\$\$var\\" | \\\$Xsed -e \\"\\\$double_quote_subst\\" -e \\"\\\$sed_quote_subst\\" -e \\"\\\$delay_variable_subst\\"\\\`\\\\\\""
16726 eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
16731 # Fix-up fallback echo if it was mangled by the above quoting rules.
16733 *'\\\$0 --fallback-echo"') lt_ECHO=\`\$ECHO "X\$lt_ECHO" | \$Xsed -e 's/\\\\\\\\\\\\\\\$0 --fallback-echo"\$/\$0 --fallback-echo"/'\`
16737 ac_aux_dir='$ac_aux_dir'
16738 xsi_shell='$xsi_shell'
16739 lt_shell_append='$lt_shell_append'
16741 # See if we are running on zsh, and set the options which allow our
16742 # commands through without removal of \ escapes INIT.
16743 if test -n "\${ZSH_VERSION+set}" ; then
16744 setopt NO_GLOB_SUBST
16750 TIMESTAMP='$TIMESTAMP'
16756 # Capture the value of obsolete ALL_LINGUAS because we need it to compute
16757 # POFILES, UPDATEPOFILES, DUMMYPOFILES, GMOFILES, CATALOGS. But hide it
16758 # from automake < 1.5.
16759 eval 'OBSOLETE_ALL_LINGUAS''="$ALL_LINGUAS"'
16760 # Capture the value of LINGUAS because we need it to compute CATALOGS.
16761 LINGUAS="${LINGUAS-%UNSET%}"
16766 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
16768 # Handling of arguments.
16769 for ac_config_target in $ac_config_targets
16771 case $ac_config_target in
16772 "config.h") CONFIG_HEADERS="$CONFIG_HEADERS config.h" ;;
16773 "depfiles") CONFIG_COMMANDS="$CONFIG_COMMANDS depfiles" ;;
16774 "libtool") CONFIG_COMMANDS="$CONFIG_COMMANDS libtool" ;;
16775 "po-directories") CONFIG_COMMANDS="$CONFIG_COMMANDS po-directories" ;;
16776 "efreet.spec") CONFIG_FILES="$CONFIG_FILES efreet.spec" ;;
16777 "efreet.pc") CONFIG_FILES="$CONFIG_FILES efreet.pc" ;;
16778 "efreet-mime.pc") CONFIG_FILES="$CONFIG_FILES efreet-mime.pc" ;;
16779 "efreet-trash.pc") CONFIG_FILES="$CONFIG_FILES efreet-trash.pc" ;;
16780 "Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;;
16781 "doc/Makefile") CONFIG_FILES="$CONFIG_FILES doc/Makefile" ;;
16782 "doc/Doxyfile") CONFIG_FILES="$CONFIG_FILES doc/Doxyfile" ;;
16783 "src/Makefile") CONFIG_FILES="$CONFIG_FILES src/Makefile" ;;
16784 "src/lib/Makefile") CONFIG_FILES="$CONFIG_FILES src/lib/Makefile" ;;
16785 "src/bin/Makefile") CONFIG_FILES="$CONFIG_FILES src/bin/Makefile" ;;
16786 "src/tests/Makefile") CONFIG_FILES="$CONFIG_FILES src/tests/Makefile" ;;
16787 "src/tests/data/Makefile") CONFIG_FILES="$CONFIG_FILES src/tests/data/Makefile" ;;
16788 "src/tests/data/sub/Makefile") CONFIG_FILES="$CONFIG_FILES src/tests/data/sub/Makefile" ;;
16789 "src/tests/compare/Makefile") CONFIG_FILES="$CONFIG_FILES src/tests/compare/Makefile" ;;
16790 "$po_makefile_in") CONFIG_FILES="$CONFIG_FILES $po_makefile_in" ;;
16792 *) as_fn_error $? "invalid argument: \`$ac_config_target'" "$LINENO" 5 ;;
16797 # If the user did not use the arguments to specify the items to instantiate,
16798 # then the envvar interface is used. Set only those that are not.
16799 # We use the long form for the default assignment because of an extremely
16800 # bizarre bug on SunOS 4.1.3.
16801 if $ac_need_defaults; then
16802 test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
16803 test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS=$config_headers
16804 test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS=$config_commands
16807 # Have a temporary directory for convenience. Make it in the build tree
16808 # simply because there is no reason against having it here, and in addition,
16809 # creating and moving files from /tmp can sometimes cause problems.
16810 # Hook for its removal unless debugging.
16811 # Note that there is a small window in which the directory will not be cleaned:
16812 # after its creation but before its name has been assigned to `$tmp'.
16816 trap 'exit_status=$?
16817 { test -z "$tmp" || test ! -d "$tmp" || rm -fr "$tmp"; } && exit $exit_status
16819 trap 'as_fn_exit 1' 1 2 13 15
16821 # Create a (secure) tmp directory for tmp files.
16824 tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
16825 test -n "$tmp" && test -d "$tmp"
16828 tmp=./conf$$-$RANDOM
16829 (umask 077 && mkdir "$tmp")
16830 } || as_fn_error $? "cannot create a temporary directory in ." "$LINENO" 5
16832 # Set up the scripts for CONFIG_FILES section.
16833 # No need to generate them if there are no CONFIG_FILES.
16834 # This happens for instance with `./config.status config.h'.
16835 if test -n "$CONFIG_FILES"; then
16838 ac_cr=`echo X | tr X '\015'`
16839 # On cygwin, bash can eat \r inside `` if the user requested igncr.
16840 # But we know of no other shell where ac_cr would be empty at this
16841 # point, so we can use a bashism as a fallback.
16842 if test "x$ac_cr" = x; then
16843 eval ac_cr=\$\'\\r\'
16845 ac_cs_awk_cr=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
16846 if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
16849 ac_cs_awk_cr=$ac_cr
16852 echo 'BEGIN {' >"$tmp/subs1.awk" &&
16857 echo "cat >conf$$subs.awk <<_ACEOF" &&
16858 echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
16860 } >conf$$subs.sh ||
16861 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
16862 ac_delim_num=`echo "$ac_subst_vars" | grep -c '^'`
16864 for ac_last_try in false false false false false :; do
16865 . ./conf$$subs.sh ||
16866 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
16868 ac_delim_n=`sed -n "s/.*$ac_delim\$/X/p" conf$$subs.awk | grep -c X`
16869 if test $ac_delim_n = $ac_delim_num; then
16871 elif $ac_last_try; then
16872 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
16874 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
16877 rm -f conf$$subs.sh
16879 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
16880 cat >>"\$tmp/subs1.awk" <<\\_ACAWK &&
16884 s/^/S["/; s/!.*/"]=/
16894 s/\(.\{148\}\)..*/\1/
16896 s/["\\]/\\&/g; s/^/"/; s/$/\\n"\\/
16901 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
16908 s/\(.\{148\}\)..*/\1/
16910 s/["\\]/\\&/g; s/^/"/; s/$/"/
16914 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
16919 ' <conf$$subs.awk | sed '
16924 ' >>$CONFIG_STATUS || ac_write_fail=1
16925 rm -f conf$$subs.awk
16926 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
16928 cat >>"\$tmp/subs1.awk" <<_ACAWK &&
16929 for (key in S) S_is_set[key] = 1
16935 nfields = split(line, field, "@")
16937 len = length(field[1])
16938 for (i = 2; i < nfields; i++) {
16940 keylen = length(key)
16941 if (S_is_set[key]) {
16943 line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3)
16944 len += length(value) + length(field[++i])
16955 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
16956 if sed "s/$ac_cr//" < /dev/null > /dev/null 2>&1; then
16957 sed "s/$ac_cr\$//; s/$ac_cr/$ac_cs_awk_cr/g"
16960 fi < "$tmp/subs1.awk" > "$tmp/subs.awk" \
16961 || as_fn_error $? "could not setup config files machinery" "$LINENO" 5
16964 # VPATH may cause trouble with some makes, so we remove sole $(srcdir),
16965 # ${srcdir} and @srcdir@ entries from VPATH if srcdir is ".", strip leading and
16966 # trailing colons and then remove the whole line if VPATH becomes empty
16967 # (actually we leave an empty line to preserve line numbers).
16968 if test "x$srcdir" = x.; then
16969 ac_vpsub='/^[ ]*VPATH[ ]*=[ ]*/{
16987 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
16988 fi # test -n "$CONFIG_FILES"
16990 # Set up the scripts for CONFIG_HEADERS section.
16991 # No need to generate them if there are no CONFIG_HEADERS.
16992 # This happens for instance with `./config.status Makefile'.
16993 if test -n "$CONFIG_HEADERS"; then
16994 cat >"$tmp/defines.awk" <<\_ACAWK ||
16998 # Transform confdefs.h into an awk script `defines.awk', embedded as
16999 # here-document in config.status, that substitutes the proper values into
17000 # config.h.in to produce config.h.
17002 # Create a delimiter string that does not exist in confdefs.h, to ease
17003 # handling of long lines.
17005 for ac_last_try in false false :; do
17006 ac_t=`sed -n "/$ac_delim/p" confdefs.h`
17007 if test -z "$ac_t"; then
17009 elif $ac_last_try; then
17010 as_fn_error $? "could not make $CONFIG_HEADERS" "$LINENO" 5
17012 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
17016 # For the awk script, D is an array of macro values keyed by name,
17017 # likewise P contains macro parameters if any. Preserve backslash
17018 # newline sequences.
17020 ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]*
17022 s/.\{148\}/&'"$ac_delim"'/g
17025 s/^[ ]*#[ ]*define[ ][ ]*/ /
17032 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\1"]="\2"\
17034 s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\1"]=" \2"/p
17038 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\1"]="\2"\
17039 D["\1"]=" \3\\\\\\n"\\/p
17041 s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\1"]=" \2\\\\\\n"\\/p
17046 s/.\{148\}/&'"$ac_delim"'/g
17051 s/["\\]/\\&/g; s/^/"/; s/$/"/p
17054 s/["\\]/\\&/g; s/^/"/; s/$/\\\\\\n"\\/p
17056 ' <confdefs.h | sed '
17057 s/'"$ac_delim"'/"\\\
17058 "/g' >>$CONFIG_STATUS || ac_write_fail=1
17060 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
17061 for (key in D) D_is_set[key] = 1
17064 /^[\t ]*#[\t ]*(define|undef)[\t ]+$ac_word_re([\t (]|\$)/ {
17066 split(line, arg, " ")
17067 if (arg[1] == "#") {
17071 defundef = substr(arg[1], 2)
17074 split(mac1, mac2, "(") #)
17076 prefix = substr(line, 1, index(line, defundef) - 1)
17077 if (D_is_set[macro]) {
17078 # Preserve the white space surrounding the "#".
17079 print prefix "define", macro P[macro] D[macro]
17082 # Replace #undef with comments. This is necessary, for example,
17083 # in the case of _POSIX_SOURCE, which is predefined and required
17084 # on some systems where configure will not decide to define it.
17085 if (defundef == "undef") {
17086 print "/*", prefix defundef, macro, "*/"
17094 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
17095 as_fn_error $? "could not setup config headers machinery" "$LINENO" 5
17096 fi # test -n "$CONFIG_HEADERS"
17099 eval set X " :F $CONFIG_FILES :H $CONFIG_HEADERS :C $CONFIG_COMMANDS"
17104 :[FHLC]) ac_mode=$ac_tag; continue;;
17106 case $ac_mode$ac_tag in
17108 :L* | :C*:*) as_fn_error $? "invalid tag \`$ac_tag'" "$LINENO" 5 ;;
17109 :[FH]-) ac_tag=-:-;;
17110 :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
17127 -) ac_f="$tmp/stdin";;
17128 *) # Look for the file first in the build tree, then in the source tree
17129 # (if the path is not absolute). The absolute path cannot be DOS-style,
17130 # because $ac_f cannot contain `:'.
17134 *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
17136 as_fn_error 1 "cannot find input file: \`$ac_f'" "$LINENO" 5 ;;
17138 case $ac_f in *\'*) ac_f=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
17139 as_fn_append ac_file_inputs " '$ac_f'"
17142 # Let's still pretend it is `configure' which instantiates (i.e., don't
17143 # use $as_me), people would be surprised to read:
17144 # /* config.h. Generated by config.status. */
17145 configure_input='Generated from '`
17146 $as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
17148 if test x"$ac_file" != x-; then
17149 configure_input="$ac_file. $configure_input"
17150 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5
17151 $as_echo "$as_me: creating $ac_file" >&6;}
17153 # Neutralize special characters interpreted by sed in replacement strings.
17154 case $configure_input in #(
17155 *\&* | *\|* | *\\* )
17156 ac_sed_conf_input=`$as_echo "$configure_input" |
17157 sed 's/[\\\\&|]/\\\\&/g'`;; #(
17158 *) ac_sed_conf_input=$configure_input;;
17162 *:-:* | *:-) cat >"$tmp/stdin" \
17163 || as_fn_error $? "could not create $ac_file" "$LINENO" 5 ;;
17168 ac_dir=`$as_dirname -- "$ac_file" ||
17169 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
17170 X"$ac_file" : 'X\(//\)[^/]' \| \
17171 X"$ac_file" : 'X\(//\)$' \| \
17172 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
17173 $as_echo X"$ac_file" |
17174 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
17178 /^X\(\/\/\)[^/].*/{
17191 as_dir="$ac_dir"; as_fn_mkdir_p
17195 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
17197 ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
17198 # A ".." for each directory in $ac_dir_suffix.
17199 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
17200 case $ac_top_builddir_sub in
17201 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
17202 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
17205 ac_abs_top_builddir=$ac_pwd
17206 ac_abs_builddir=$ac_pwd$ac_dir_suffix
17207 # for backward compatibility:
17208 ac_top_builddir=$ac_top_build_prefix
17211 .) # We are building in place.
17213 ac_top_srcdir=$ac_top_builddir_sub
17214 ac_abs_top_srcdir=$ac_pwd ;;
17215 [\\/]* | ?:[\\/]* ) # Absolute name.
17216 ac_srcdir=$srcdir$ac_dir_suffix;
17217 ac_top_srcdir=$srcdir
17218 ac_abs_top_srcdir=$srcdir ;;
17219 *) # Relative name.
17220 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
17221 ac_top_srcdir=$ac_top_build_prefix$srcdir
17222 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
17224 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
17234 [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
17235 *) ac_INSTALL=$ac_top_build_prefix$INSTALL ;;
17237 ac_MKDIR_P=$MKDIR_P
17239 [\\/$]* | ?:[\\/]* ) ;;
17240 */*) ac_MKDIR_P=$ac_top_build_prefix$MKDIR_P ;;
17244 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
17245 # If the template does not know about datarootdir, expand it.
17246 # FIXME: This hack should be removed a few years after 2.60.
17247 ac_datarootdir_hack=; ac_datarootdir_seen=
17258 case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in
17259 *datarootdir*) ac_datarootdir_seen=yes;;
17260 *@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*)
17261 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
17262 $as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
17264 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
17265 ac_datarootdir_hack='
17266 s&@datadir@&$datadir&g
17267 s&@docdir@&$docdir&g
17268 s&@infodir@&$infodir&g
17269 s&@localedir@&$localedir&g
17270 s&@mandir@&$mandir&g
17271 s&\\\${datarootdir}&$datarootdir&g' ;;
17275 # Neutralize VPATH when `$srcdir' = `.'.
17276 # Shell code in configure.ac might set extrasub.
17277 # FIXME: do we really want to maintain this feature?
17278 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
17279 ac_sed_extra="$ac_vpsub
17282 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
17284 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
17285 s|@configure_input@|$ac_sed_conf_input|;t t
17286 s&@top_builddir@&$ac_top_builddir_sub&;t t
17287 s&@top_build_prefix@&$ac_top_build_prefix&;t t
17288 s&@srcdir@&$ac_srcdir&;t t
17289 s&@abs_srcdir@&$ac_abs_srcdir&;t t
17290 s&@top_srcdir@&$ac_top_srcdir&;t t
17291 s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t
17292 s&@builddir@&$ac_builddir&;t t
17293 s&@abs_builddir@&$ac_abs_builddir&;t t
17294 s&@abs_top_builddir@&$ac_abs_top_builddir&;t t
17295 s&@INSTALL@&$ac_INSTALL&;t t
17296 s&@MKDIR_P@&$ac_MKDIR_P&;t t
17297 $ac_datarootdir_hack
17299 eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$tmp/subs.awk" >$tmp/out \
17300 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
17302 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
17303 { ac_out=`sed -n '/\${datarootdir}/p' "$tmp/out"`; test -n "$ac_out"; } &&
17304 { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' "$tmp/out"`; test -z "$ac_out"; } &&
17305 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file contains a reference to the variable \`datarootdir'
17306 which seems to be undefined. Please make sure it is defined" >&5
17307 $as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir'
17308 which seems to be undefined. Please make sure it is defined" >&2;}
17312 -) cat "$tmp/out" && rm -f "$tmp/out";;
17313 *) rm -f "$ac_file" && mv "$tmp/out" "$ac_file";;
17315 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
17321 if test x"$ac_file" != x-; then
17323 $as_echo "/* $configure_input */" \
17324 && eval '$AWK -f "$tmp/defines.awk"' "$ac_file_inputs"
17325 } >"$tmp/config.h" \
17326 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
17327 if diff "$ac_file" "$tmp/config.h" >/dev/null 2>&1; then
17328 { $as_echo "$as_me:${as_lineno-$LINENO}: $ac_file is unchanged" >&5
17329 $as_echo "$as_me: $ac_file is unchanged" >&6;}
17332 mv "$tmp/config.h" "$ac_file" \
17333 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
17336 $as_echo "/* $configure_input */" \
17337 && eval '$AWK -f "$tmp/defines.awk"' "$ac_file_inputs" \
17338 || as_fn_error $? "could not create -" "$LINENO" 5
17340 # Compute "$ac_file"'s index in $config_headers.
17343 for _am_header in $config_headers :; do
17344 case $_am_header in
17345 $_am_arg | $_am_arg:* )
17348 _am_stamp_count=`expr $_am_stamp_count + 1` ;;
17351 echo "timestamp for $_am_arg" >`$as_dirname -- "$_am_arg" ||
17352 $as_expr X"$_am_arg" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
17353 X"$_am_arg" : 'X\(//\)[^/]' \| \
17354 X"$_am_arg" : 'X\(//\)$' \| \
17355 X"$_am_arg" : 'X\(/\)' \| . 2>/dev/null ||
17356 $as_echo X"$_am_arg" |
17357 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
17361 /^X\(\/\/\)[^/].*/{
17373 s/.*/./; q'`/stamp-h$_am_stamp_count
17376 :C) { $as_echo "$as_me:${as_lineno-$LINENO}: executing $ac_file commands" >&5
17377 $as_echo "$as_me: executing $ac_file commands" >&6;}
17382 case $ac_file$ac_mode in
17383 "depfiles":C) test x"$AMDEP_TRUE" != x"" || {
17384 # Autoconf 2.62 quotes --file arguments for eval, but not when files
17385 # are listed without --file. Let's play safe and only enable the eval
17386 # if we detect the quoting.
17387 case $CONFIG_FILES in
17388 *\'*) eval set x "$CONFIG_FILES" ;;
17389 *) set x $CONFIG_FILES ;;
17394 # Strip MF so we end up with the name of the file.
17395 mf=`echo "$mf" | sed -e 's/:.*$//'`
17396 # Check whether this is an Automake generated Makefile or not.
17397 # We used to match only the files named `Makefile.in', but
17398 # some people rename them; so instead we look at the file content.
17399 # Grep'ing the first line is not enough: some people post-process
17400 # each Makefile.in and add a new line on top of each file to say so.
17401 # Grep'ing the whole file is not good either: AIX grep has a line
17402 # limit of 2048, but all sed's we know have understand at least 4000.
17403 if sed -n 's,^#.*generated by automake.*,X,p' "$mf" | grep X >/dev/null 2>&1; then
17404 dirpart=`$as_dirname -- "$mf" ||
17405 $as_expr X"$mf" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
17406 X"$mf" : 'X\(//\)[^/]' \| \
17407 X"$mf" : 'X\(//\)$' \| \
17408 X"$mf" : 'X\(/\)' \| . 2>/dev/null ||
17410 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
17414 /^X\(\/\/\)[^/].*/{
17430 # Extract the definition of DEPDIR, am__include, and am__quote
17431 # from the Makefile without running `make'.
17432 DEPDIR=`sed -n 's/^DEPDIR = //p' < "$mf"`
17433 test -z "$DEPDIR" && continue
17434 am__include=`sed -n 's/^am__include = //p' < "$mf"`
17435 test -z "am__include" && continue
17436 am__quote=`sed -n 's/^am__quote = //p' < "$mf"`
17437 # When using ansi2knr, U may be empty or an underscore; expand it
17438 U=`sed -n 's/^U = //p' < "$mf"`
17439 # Find all dependency output files, they are included files with
17440 # $(DEPDIR) in their names. We invoke sed twice because it is the
17441 # simplest approach to changing $(DEPDIR) to its actual value in the
17443 for file in `sed -n "
17444 s/^$am__include $am__quote\(.*(DEPDIR).*\)$am__quote"'$/\1/p' <"$mf" | \
17445 sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g' -e 's/\$U/'"$U"'/g'`; do
17446 # Make sure the directory exists.
17447 test -f "$dirpart/$file" && continue
17448 fdir=`$as_dirname -- "$file" ||
17449 $as_expr X"$file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
17450 X"$file" : 'X\(//\)[^/]' \| \
17451 X"$file" : 'X\(//\)$' \| \
17452 X"$file" : 'X\(/\)' \| . 2>/dev/null ||
17453 $as_echo X"$file" |
17454 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
17458 /^X\(\/\/\)[^/].*/{
17471 as_dir=$dirpart/$fdir; as_fn_mkdir_p
17472 # echo "creating $dirpart/$file"
17473 echo '# dummy' > "$dirpart/$file"
17480 # See if we are running on zsh, and set the options which allow our
17481 # commands through without removal of \ escapes.
17482 if test -n "${ZSH_VERSION+set}" ; then
17483 setopt NO_GLOB_SUBST
17486 cfgfile="${ofile}T"
17487 trap "$RM \"$cfgfile\"; exit 1" 1 2 15
17490 cat <<_LT_EOF >> "$cfgfile"
17493 # `$ECHO "$ofile" | sed 's%^.*/%%'` - Provide generalized library-building support services.
17494 # Generated automatically by $as_me ($PACKAGE$TIMESTAMP) $VERSION
17495 # Libtool was configured on host `(hostname || uname -n) 2>/dev/null | sed 1q`:
17496 # NOTE: Changes made to this file will be lost: look at ltmain.sh.
17498 # Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2003, 2004, 2005,
17499 # 2006, 2007, 2008 Free Software Foundation, Inc.
17500 # Written by Gordon Matzigkeit, 1996
17502 # This file is part of GNU Libtool.
17504 # GNU Libtool is free software; you can redistribute it and/or
17505 # modify it under the terms of the GNU General Public License as
17506 # published by the Free Software Foundation; either version 2 of
17507 # the License, or (at your option) any later version.
17509 # As a special exception to the GNU General Public License,
17510 # if you distribute this file as part of a program or library that
17511 # is built using GNU Libtool, you may include this file under the
17512 # same distribution terms that you use for the rest of that program.
17514 # GNU Libtool is distributed in the hope that it will be useful,
17515 # but WITHOUT ANY WARRANTY; without even the implied warranty of
17516 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
17517 # GNU General Public License for more details.
17519 # You should have received a copy of the GNU General Public License
17520 # along with GNU Libtool; see the file COPYING. If not, a copy
17521 # can be downloaded from http://www.gnu.org/licenses/gpl.html, or
17522 # obtained by writing to the Free Software Foundation, Inc.,
17523 # 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
17526 # The names of the tagged configurations supported by this script.
17529 # ### BEGIN LIBTOOL CONFIG
17531 # Assembler program.
17534 # DLL creation program.
17537 # Object dumper program.
17540 # Which release of libtool.m4 was used?
17541 macro_version=$macro_version
17542 macro_revision=$macro_revision
17544 # Whether or not to build shared libraries.
17545 build_libtool_libs=$enable_shared
17547 # Whether or not to build static libraries.
17548 build_old_libs=$enable_static
17550 # What type of objects to build.
17553 # Whether or not to optimize for fast installation.
17554 fast_install=$enable_fast_install
17557 host_alias=$host_alias
17561 # The build system.
17562 build_alias=$build_alias
17566 # A sed program that does not truncate output.
17569 # Sed that helps us avoid accidentally triggering echo(1) options like -n.
17570 Xsed="\$SED -e 1s/^X//"
17572 # A grep program that handles long lines.
17578 # A literal string matcher.
17581 # A BSD- or MS-compatible name lister.
17584 # Whether we need soft or hard links.
17587 # What is the maximum length of a command?
17588 max_cmd_len=$max_cmd_len
17590 # Object file suffix (normally "o").
17593 # Executable file suffix (normally "").
17596 # whether the shell understands "unset".
17599 # turn spaces into newlines.
17602 # turn newlines into spaces.
17605 # How to create reloadable object files.
17606 reload_flag=$lt_reload_flag
17607 reload_cmds=$lt_reload_cmds
17609 # Method to check whether dependent libraries are shared objects.
17610 deplibs_check_method=$lt_deplibs_check_method
17612 # Command to use when deplibs_check_method == "file_magic".
17613 file_magic_cmd=$lt_file_magic_cmd
17617 AR_FLAGS=$lt_AR_FLAGS
17619 # A symbol stripping program.
17622 # Commands used to install an old-style archive.
17624 old_postinstall_cmds=$lt_old_postinstall_cmds
17625 old_postuninstall_cmds=$lt_old_postuninstall_cmds
17630 # LTCC compiler flags.
17631 LTCFLAGS=$lt_CFLAGS
17633 # Take the output of nm and produce a listing of raw symbols and C names.
17634 global_symbol_pipe=$lt_lt_cv_sys_global_symbol_pipe
17636 # Transform the output of nm in a proper C declaration.
17637 global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl
17639 # Transform the output of nm in a C name address pair.
17640 global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address
17642 # Transform the output of nm in a C name address pair when lib prefix is needed.
17643 global_symbol_to_c_name_address_lib_prefix=$lt_lt_cv_sys_global_symbol_to_c_name_address_lib_prefix
17645 # The name of the directory that contains temporary libtool files.
17648 # Shell to use when invoking shell scripts.
17651 # An echo program that does not interpret backslashes.
17654 # Used to examine libraries when file_magic_cmd begins with "file".
17655 MAGIC_CMD=$MAGIC_CMD
17657 # Must we lock files when doing compilation?
17658 need_locks=$lt_need_locks
17660 # Tool to manipulate archived DWARF debug symbol files on Mac OS X.
17661 DSYMUTIL=$lt_DSYMUTIL
17663 # Tool to change global to local symbols on Mac OS X.
17666 # Tool to manipulate fat objects and archives on Mac OS X.
17669 # ldd/readelf like tool for Mach-O binaries on Mac OS X.
17672 # ldd/readelf like tool for 64 bit Mach-O binaries on Mac OS X 10.4.
17673 OTOOL64=$lt_OTOOL64
17675 # Old archive suffix (normally "a").
17678 # Shared library suffix (normally ".so").
17679 shrext_cmds=$lt_shrext_cmds
17681 # The commands to extract the exported symbol list from a shared archive.
17682 extract_expsyms_cmds=$lt_extract_expsyms_cmds
17684 # Variables whose values should be saved in libtool wrapper scripts and
17685 # restored at link time.
17686 variables_saved_for_relink=$lt_variables_saved_for_relink
17688 # Do we need the "lib" prefix for modules?
17689 need_lib_prefix=$need_lib_prefix
17691 # Do we need a version for libraries?
17692 need_version=$need_version
17694 # Library versioning type.
17695 version_type=$version_type
17697 # Shared library runtime path variable.
17698 runpath_var=$runpath_var
17700 # Shared library path variable.
17701 shlibpath_var=$shlibpath_var
17703 # Is shlibpath searched before the hard-coded library search path?
17704 shlibpath_overrides_runpath=$shlibpath_overrides_runpath
17706 # Format of library name prefix.
17707 libname_spec=$lt_libname_spec
17709 # List of archive names. First name is the real one, the rest are links.
17710 # The last name is the one that the linker finds with -lNAME
17711 library_names_spec=$lt_library_names_spec
17713 # The coded name of the library, if different from the real name.
17714 soname_spec=$lt_soname_spec
17716 # Command to use after installation of a shared archive.
17717 postinstall_cmds=$lt_postinstall_cmds
17719 # Command to use after uninstallation of a shared archive.
17720 postuninstall_cmds=$lt_postuninstall_cmds
17722 # Commands used to finish a libtool library installation in a directory.
17723 finish_cmds=$lt_finish_cmds
17725 # As "finish_cmds", except a single script fragment to be evaled but
17727 finish_eval=$lt_finish_eval
17729 # Whether we should hardcode library paths into libraries.
17730 hardcode_into_libs=$hardcode_into_libs
17732 # Compile-time system search path for libraries.
17733 sys_lib_search_path_spec=$lt_sys_lib_search_path_spec
17735 # Run-time system search path for libraries.
17736 sys_lib_dlsearch_path_spec=$lt_sys_lib_dlsearch_path_spec
17738 # Whether dlopen is supported.
17739 dlopen_support=$enable_dlopen
17741 # Whether dlopen of programs is supported.
17742 dlopen_self=$enable_dlopen_self
17744 # Whether dlopen of statically linked programs is supported.
17745 dlopen_self_static=$enable_dlopen_self_static
17747 # Commands to strip libraries.
17748 old_striplib=$lt_old_striplib
17749 striplib=$lt_striplib
17752 # The linker used to build libraries.
17755 # Commands used to build an old-style archive.
17756 old_archive_cmds=$lt_old_archive_cmds
17758 # A language specific compiler.
17761 # Is the compiler the GNU compiler?
17764 # Compiler flag to turn off builtin functions.
17765 no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag
17767 # How to pass a linker flag through the compiler.
17768 wl=$lt_lt_prog_compiler_wl
17770 # Additional compiler flags for building library objects.
17771 pic_flag=$lt_lt_prog_compiler_pic
17773 # Compiler flag to prevent dynamic linking.
17774 link_static_flag=$lt_lt_prog_compiler_static
17776 # Does compiler simultaneously support -c and -o options?
17777 compiler_c_o=$lt_lt_cv_prog_compiler_c_o
17779 # Whether or not to add -lc for building shared libraries.
17780 build_libtool_need_lc=$archive_cmds_need_lc
17782 # Whether or not to disallow shared libs when runtime libs are static.
17783 allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes
17785 # Compiler flag to allow reflexive dlopens.
17786 export_dynamic_flag_spec=$lt_export_dynamic_flag_spec
17788 # Compiler flag to generate shared objects directly from archives.
17789 whole_archive_flag_spec=$lt_whole_archive_flag_spec
17791 # Whether the compiler copes with passing no objects directly.
17792 compiler_needs_object=$lt_compiler_needs_object
17794 # Create an old-style archive from a shared archive.
17795 old_archive_from_new_cmds=$lt_old_archive_from_new_cmds
17797 # Create a temporary old-style archive to link instead of a shared archive.
17798 old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds
17800 # Commands used to build a shared archive.
17801 archive_cmds=$lt_archive_cmds
17802 archive_expsym_cmds=$lt_archive_expsym_cmds
17804 # Commands used to build a loadable module if different from building
17805 # a shared archive.
17806 module_cmds=$lt_module_cmds
17807 module_expsym_cmds=$lt_module_expsym_cmds
17809 # Whether we are building with GNU ld or not.
17810 with_gnu_ld=$lt_with_gnu_ld
17812 # Flag that allows shared libraries with undefined symbols to be built.
17813 allow_undefined_flag=$lt_allow_undefined_flag
17815 # Flag that enforces no undefined symbols.
17816 no_undefined_flag=$lt_no_undefined_flag
17818 # Flag to hardcode \$libdir into a binary during linking.
17819 # This must work even if \$libdir does not exist
17820 hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec
17822 # If ld is used when linking, flag to hardcode \$libdir into a binary
17823 # during linking. This must work even if \$libdir does not exist.
17824 hardcode_libdir_flag_spec_ld=$lt_hardcode_libdir_flag_spec_ld
17826 # Whether we need a single "-rpath" flag with a separated argument.
17827 hardcode_libdir_separator=$lt_hardcode_libdir_separator
17829 # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
17830 # DIR into the resulting binary.
17831 hardcode_direct=$hardcode_direct
17833 # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
17834 # DIR into the resulting binary and the resulting library dependency is
17835 # "absolute",i.e impossible to change by setting \${shlibpath_var} if the
17836 # library is relocated.
17837 hardcode_direct_absolute=$hardcode_direct_absolute
17839 # Set to "yes" if using the -LDIR flag during linking hardcodes DIR
17840 # into the resulting binary.
17841 hardcode_minus_L=$hardcode_minus_L
17843 # Set to "yes" if using SHLIBPATH_VAR=DIR during linking hardcodes DIR
17844 # into the resulting binary.
17845 hardcode_shlibpath_var=$hardcode_shlibpath_var
17847 # Set to "yes" if building a shared library automatically hardcodes DIR
17848 # into the library and all subsequent libraries and executables linked
17850 hardcode_automatic=$hardcode_automatic
17852 # Set to yes if linker adds runtime paths of dependent libraries
17853 # to runtime path list.
17854 inherit_rpath=$inherit_rpath
17856 # Whether libtool must link a program against all its dependency libraries.
17857 link_all_deplibs=$link_all_deplibs
17859 # Fix the shell variable \$srcfile for the compiler.
17860 fix_srcfile_path=$lt_fix_srcfile_path
17862 # Set to "yes" if exported symbols are required.
17863 always_export_symbols=$always_export_symbols
17865 # The commands to list exported symbols.
17866 export_symbols_cmds=$lt_export_symbols_cmds
17868 # Symbols that should not be listed in the preloaded symbols.
17869 exclude_expsyms=$lt_exclude_expsyms
17871 # Symbols that must always be exported.
17872 include_expsyms=$lt_include_expsyms
17874 # Commands necessary for linking programs (against libraries) with templates.
17875 prelink_cmds=$lt_prelink_cmds
17877 # Specify filename containing input files.
17878 file_list_spec=$lt_file_list_spec
17880 # How to hardcode a shared library path into an executable.
17881 hardcode_action=$hardcode_action
17883 # ### END LIBTOOL CONFIG
17889 cat <<\_LT_EOF >> "$cfgfile"
17890 # AIX sometimes has problems with the GCC collect2 program. For some
17891 # reason, if we set the COLLECT_NAMES environment variable, the problems
17892 # vanish in a puff of smoke.
17893 if test "X${COLLECT_NAMES+set}" != Xset; then
17895 export COLLECT_NAMES
17902 ltmain="$ac_aux_dir/ltmain.sh"
17905 # We use sed instead of cat because bash on DJGPP gets confused if
17906 # if finds mixed CR/LF and LF-only lines. Since sed operates in
17907 # text mode, it properly converts lines to CR/LF. This bash problem
17908 # is reportedly fixed, but why not run on old versions too?
17909 sed '/^# Generated shell functions inserted here/q' "$ltmain" >> "$cfgfile" \
17910 || (rm -f "$cfgfile"; exit 1)
17914 cat << \_LT_EOF >> "$cfgfile"
17916 # func_dirname file append nondir_replacement
17917 # Compute the dirname of FILE. If nonempty, add APPEND to the result,
17918 # otherwise set result to NONDIR_REPLACEMENT.
17922 */*) func_dirname_result="${1%/*}${2}" ;;
17923 * ) func_dirname_result="${3}" ;;
17927 # func_basename file
17930 func_basename_result="${1##*/}"
17933 # func_dirname_and_basename file append nondir_replacement
17934 # perform func_basename and func_dirname in a single function
17936 # dirname: Compute the dirname of FILE. If nonempty,
17937 # add APPEND to the result, otherwise set result
17938 # to NONDIR_REPLACEMENT.
17939 # value returned in "$func_dirname_result"
17940 # basename: Compute filename of FILE.
17941 # value retuned in "$func_basename_result"
17942 # Implementation must be kept synchronized with func_dirname
17943 # and func_basename. For efficiency, we do not delegate to
17944 # those functions but instead duplicate the functionality here.
17945 func_dirname_and_basename ()
17948 */*) func_dirname_result="${1%/*}${2}" ;;
17949 * ) func_dirname_result="${3}" ;;
17951 func_basename_result="${1##*/}"
17954 # func_stripname prefix suffix name
17955 # strip PREFIX and SUFFIX off of NAME.
17956 # PREFIX and SUFFIX must not contain globbing or regex special
17957 # characters, hashes, percent signs, but SUFFIX may contain a leading
17958 # dot (in which case that matches only a dot).
17961 # pdksh 5.2.14 does not do ${X%$Y} correctly if both X and Y are
17962 # positional parameters, so assign one to ordinary parameter first.
17963 func_stripname_result=${3}
17964 func_stripname_result=${func_stripname_result#"${1}"}
17965 func_stripname_result=${func_stripname_result%"${2}"}
17971 func_opt_split_opt=${1%%=*}
17972 func_opt_split_arg=${1#*=}
17979 *.lo) func_lo2o_result=${1%.lo}.${objext} ;;
17980 *) func_lo2o_result=${1} ;;
17984 # func_xform libobj-or-source
17987 func_xform_result=${1%.*}.lo
17990 # func_arith arithmetic-term...
17993 func_arith_result=$(( $* ))
17997 # STRING may not start with a hyphen.
18000 func_len_result=${#1}
18005 *) # Bourne compatible functions.
18006 cat << \_LT_EOF >> "$cfgfile"
18008 # func_dirname file append nondir_replacement
18009 # Compute the dirname of FILE. If nonempty, add APPEND to the result,
18010 # otherwise set result to NONDIR_REPLACEMENT.
18013 # Extract subdirectory from the argument.
18014 func_dirname_result=`$ECHO "X${1}" | $Xsed -e "$dirname"`
18015 if test "X$func_dirname_result" = "X${1}"; then
18016 func_dirname_result="${3}"
18018 func_dirname_result="$func_dirname_result${2}"
18022 # func_basename file
18025 func_basename_result=`$ECHO "X${1}" | $Xsed -e "$basename"`
18029 # func_stripname prefix suffix name
18030 # strip PREFIX and SUFFIX off of NAME.
18031 # PREFIX and SUFFIX must not contain globbing or regex special
18032 # characters, hashes, percent signs, but SUFFIX may contain a leading
18033 # dot (in which case that matches only a dot).
18034 # func_strip_suffix prefix name
18038 .*) func_stripname_result=`$ECHO "X${3}" \
18039 | $Xsed -e "s%^${1}%%" -e "s%\\\\${2}\$%%"`;;
18040 *) func_stripname_result=`$ECHO "X${3}" \
18041 | $Xsed -e "s%^${1}%%" -e "s%${2}\$%%"`;;
18046 my_sed_long_opt='1s/^\(-[^=]*\)=.*/\1/;q'
18047 my_sed_long_arg='1s/^-[^=]*=//'
18052 func_opt_split_opt=`$ECHO "X${1}" | $Xsed -e "$my_sed_long_opt"`
18053 func_opt_split_arg=`$ECHO "X${1}" | $Xsed -e "$my_sed_long_arg"`
18059 func_lo2o_result=`$ECHO "X${1}" | $Xsed -e "$lo2o"`
18062 # func_xform libobj-or-source
18065 func_xform_result=`$ECHO "X${1}" | $Xsed -e 's/\.[^.]*$/.lo/'`
18068 # func_arith arithmetic-term...
18071 func_arith_result=`expr "$@"`
18075 # STRING may not start with a hyphen.
18078 func_len_result=`expr "$1" : ".*" 2>/dev/null || echo $max_cmd_len`
18084 case $lt_shell_append in
18086 cat << \_LT_EOF >> "$cfgfile"
18088 # func_append var value
18089 # Append VALUE to the end of shell variable VAR.
18097 cat << \_LT_EOF >> "$cfgfile"
18099 # func_append var value
18100 # Append VALUE to the end of shell variable VAR.
18111 sed -n '/^# Generated shell functions inserted here/,$p' "$ltmain" >> "$cfgfile" \
18112 || (rm -f "$cfgfile"; exit 1)
18114 mv -f "$cfgfile" "$ofile" ||
18115 (rm -f "$ofile" && cp "$cfgfile" "$ofile" && rm -f "$cfgfile")
18119 "po-directories":C)
18120 for ac_file in $CONFIG_FILES; do
18121 # Support "outfile[:infile[:infile...]]"
18123 *:*) ac_file=`echo "$ac_file"|sed 's%:.*%%'` ;;
18125 # PO directories have a Makefile.in generated from Makefile.in.in.
18126 case "$ac_file" in */Makefile.in)
18127 # Adjust a relative srcdir.
18128 ac_dir=`echo "$ac_file"|sed 's%/[^/][^/]*$%%'`
18129 ac_dir_suffix="/`echo "$ac_dir"|sed 's%^\./%%'`"
18130 ac_dots=`echo "$ac_dir_suffix"|sed 's%/[^/]*%../%g'`
18131 # In autoconf-2.13 it is called $ac_given_srcdir.
18132 # In autoconf-2.50 it is called $srcdir.
18133 test -n "$ac_given_srcdir" || ac_given_srcdir="$srcdir"
18134 case "$ac_given_srcdir" in
18135 .) top_srcdir=`echo $ac_dots|sed 's%/$%%'` ;;
18136 /*) top_srcdir="$ac_given_srcdir" ;;
18137 *) top_srcdir="$ac_dots$ac_given_srcdir" ;;
18139 # Treat a directory as a PO directory if and only if it has a
18140 # POTFILES.in file. This allows packages to have multiple PO
18141 # directories under different names or in different locations.
18142 if test -f "$ac_given_srcdir/$ac_dir/POTFILES.in"; then
18143 rm -f "$ac_dir/POTFILES"
18144 test -n "$as_me" && echo "$as_me: creating $ac_dir/POTFILES" || echo "creating $ac_dir/POTFILES"
18145 cat "$ac_given_srcdir/$ac_dir/POTFILES.in" | sed -e "/^#/d" -e "/^[ ]*\$/d" -e "s,.*, $top_srcdir/& \\\\," | sed -e "\$s/\(.*\) \\\\/\1/" > "$ac_dir/POTFILES"
18146 POMAKEFILEDEPS="POTFILES.in"
18147 # ALL_LINGUAS, POFILES, UPDATEPOFILES, DUMMYPOFILES, GMOFILES depend
18148 # on $ac_dir but don't depend on user-specified configuration
18150 if test -f "$ac_given_srcdir/$ac_dir/LINGUAS"; then
18151 # The LINGUAS file contains the set of available languages.
18152 if test -n "$OBSOLETE_ALL_LINGUAS"; then
18153 test -n "$as_me" && echo "$as_me: setting ALL_LINGUAS in configure.in is obsolete" || echo "setting ALL_LINGUAS in configure.in is obsolete"
18155 ALL_LINGUAS_=`sed -e "/^#/d" -e "s/#.*//" "$ac_given_srcdir/$ac_dir/LINGUAS"`
18156 # Hide the ALL_LINGUAS assigment from automake < 1.5.
18157 eval 'ALL_LINGUAS''=$ALL_LINGUAS_'
18158 POMAKEFILEDEPS="$POMAKEFILEDEPS LINGUAS"
18160 # The set of available languages was given in configure.in.
18161 # Hide the ALL_LINGUAS assigment from automake < 1.5.
18162 eval 'ALL_LINGUAS''=$OBSOLETE_ALL_LINGUAS'
18165 # as $(foreach lang, $(ALL_LINGUAS), $(srcdir)/$(lang).po)
18166 # Compute UPDATEPOFILES
18167 # as $(foreach lang, $(ALL_LINGUAS), $(lang).po-update)
18168 # Compute DUMMYPOFILES
18169 # as $(foreach lang, $(ALL_LINGUAS), $(lang).nop)
18171 # as $(foreach lang, $(ALL_LINGUAS), $(srcdir)/$(lang).gmo)
18172 case "$ac_given_srcdir" in
18174 *) srcdirpre='$(srcdir)/' ;;
18180 for lang in $ALL_LINGUAS; do
18181 POFILES="$POFILES $srcdirpre$lang.po"
18182 UPDATEPOFILES="$UPDATEPOFILES $lang.po-update"
18183 DUMMYPOFILES="$DUMMYPOFILES $lang.nop"
18184 GMOFILES="$GMOFILES $srcdirpre$lang.gmo"
18186 # CATALOGS depends on both $ac_dir and the user's LINGUAS
18187 # environment variable.
18189 if test -n "$ALL_LINGUAS"; then
18190 for presentlang in $ALL_LINGUAS; do
18192 if test "%UNSET%" != "$LINGUAS"; then
18193 desiredlanguages="$LINGUAS"
18195 desiredlanguages="$ALL_LINGUAS"
18197 for desiredlang in $desiredlanguages; do
18198 # Use the presentlang catalog if desiredlang is
18199 # a. equal to presentlang, or
18200 # b. a variant of presentlang (because in this case,
18201 # presentlang can be used as a fallback for messages
18202 # which are not translated in the desiredlang catalog).
18203 case "$desiredlang" in
18204 "$presentlang"*) useit=yes;;
18207 if test $useit = yes; then
18208 INST_LINGUAS="$INST_LINGUAS $presentlang"
18213 if test -n "$INST_LINGUAS"; then
18214 for lang in $INST_LINGUAS; do
18215 CATALOGS="$CATALOGS $lang.gmo"
18218 test -n "$as_me" && echo "$as_me: creating $ac_dir/Makefile" || echo "creating $ac_dir/Makefile"
18219 sed -e "/^POTFILES =/r $ac_dir/POTFILES" -e "/^# Makevars/r $ac_given_srcdir/$ac_dir/Makevars" -e "s|@POFILES@|$POFILES|g" -e "s|@UPDATEPOFILES@|$UPDATEPOFILES|g" -e "s|@DUMMYPOFILES@|$DUMMYPOFILES|g" -e "s|@GMOFILES@|$GMOFILES|g" -e "s|@CATALOGS@|$CATALOGS|g" -e "s|@POMAKEFILEDEPS@|$POMAKEFILEDEPS|g" "$ac_dir/Makefile.in" > "$ac_dir/Makefile"
18220 for f in "$ac_given_srcdir/$ac_dir"/Rules-*; do
18221 if test -f "$f"; then
18223 *.orig | *.bak | *~) ;;
18224 *) cat "$f" >> "$ac_dir/Makefile" ;;
18239 ac_clean_files=$ac_clean_files_save
18241 test $ac_write_fail = 0 ||
18242 as_fn_error $? "write failure creating $CONFIG_STATUS" "$LINENO" 5
18245 # configure is writing to config.log, and then calls config.status.
18246 # config.status does its own redirection, appending to config.log.
18247 # Unfortunately, on DOS this fails, as config.log is still kept open
18248 # by configure, so config.status won't be able to write to it; its
18249 # output is simply discarded. So we exec the FD to /dev/null,
18250 # effectively closing config.log, so it can be properly (re)opened and
18251 # appended to by config.status. When coming back to configure, we
18252 # need to make the FD available again.
18253 if test "$no_create" != yes; then
18255 ac_config_status_args=
18256 test "$silent" = yes &&
18257 ac_config_status_args="$ac_config_status_args --quiet"
18259 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
18261 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
18262 # would make configure fail if this is the last instruction.
18263 $ac_cs_success || as_fn_exit 1
18265 if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no; then
18266 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
18267 $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}
18272 #####################################################################
18278 echo "------------------------------------------------------------------------"
18279 echo "$PACKAGE $VERSION"
18280 echo "------------------------------------------------------------------------"
18282 echo "Configuration Options Summary:"
18284 echo " Specification compliance:"
18285 echo " Strict.............: ${enable_strict_spec}"
18286 echo " Sloppy.............: ${enable_sloppy_spec}"
18288 echo " Tests................: ${enable_tests}"
18289 echo " Coverage.............: ${enable_coverage}"
18291 echo " Documentation........: ${build_doc}"
18293 echo "Compilation............: make (or gmake)"
18294 echo " CPPFLAGS.............: $CPPFLAGS"
18295 echo " CFLAGS...............: $CFLAGS"
18296 echo " LDFLAGS..............: $LDFLAGS"
18298 echo "Installation...........: make install (as root if needed, with 'su' or 'sudo')"
18299 echo " prefix...............: $prefix"