2 # Guess values for system-dependent variables and create Makefiles.
3 # Generated by GNU Autoconf 2.63 for e16 1.0.0.
5 # Report bugs to <enlightenment-devel@lists.sourceforge.net>.
7 # Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001,
8 # 2002, 2003, 2004, 2005, 2006, 2007, 2008 Free Software Foundation, Inc.
9 # This configure script is free software; the Free Software Foundation
10 # gives unlimited permission to copy, distribute and modify it.
11 ## --------------------- ##
12 ## M4sh Initialization. ##
13 ## --------------------- ##
15 # Be more Bourne compatible
16 DUALCASE=1; export DUALCASE # for MKS sh
17 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
20 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
21 # is contrary to our usage. Disable this feature.
22 alias -g '${1+"$@"}'='"$@"'
25 case `(set -o) 2>/dev/null` in
26 *posix*) set -o posix ;;
35 # Avoid depending upon Character Ranges.
36 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
37 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
38 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
39 as_cr_digits='0123456789'
40 as_cr_alnum=$as_cr_Letters$as_cr_digits
45 # Printing a long string crashes Solaris 7 /usr/bin/printf.
46 as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
47 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
48 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
49 if (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
53 if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
54 as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
55 as_echo_n='/usr/ucb/echo -n'
57 as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
62 expr "X$arg" : "X\\(.*\\)$as_nl";
63 arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
65 expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
68 as_echo_n='sh -c $as_echo_n_body as_echo'
71 as_echo='sh -c $as_echo_body as_echo'
74 # The user is always right.
75 if test "${PATH_SEPARATOR+set}" != set; then
77 (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
78 (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
83 # Support unset when possible.
84 if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
92 # We need space, tab and new line, in precisely that order. Quoting is
93 # there to prevent editors from complaining about space-tab.
94 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
95 # splitting by setting IFS to empty value.)
98 # Find who we are. Look in the path if we contain no directory separator.
100 *[\\/]* ) as_myself=$0 ;;
101 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
105 test -z "$as_dir" && as_dir=.
106 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
112 # We did not find ourselves, most probably we were run as `sh COMMAND'
113 # in which case we are not to be found in the path.
114 if test "x$as_myself" = x; then
117 if test ! -f "$as_myself"; then
118 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
119 { (exit 1); exit 1; }
122 # Work around bugs in pre-3.0 UWIN ksh.
123 for as_var in ENV MAIL MAILPATH
124 do ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
136 # Required to use basename.
137 if expr a : '\(a\)' >/dev/null 2>&1 &&
138 test "X`expr 00001 : '.*\(...\)'`" = X001; then
144 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
151 # Name of the executable.
152 as_me=`$as_basename -- "$0" ||
153 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
154 X"$0" : 'X\(//\)$' \| \
155 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
157 sed '/^.*\/\([^/][^/]*\)\/*$/{
175 if test "x$CONFIG_SHELL" = x; then
176 if (eval ":") 2>/dev/null; then
182 if test $as_have_required = no && (eval ":
192 as_func_ret_success () {
195 as_func_ret_failure () {
200 if as_func_success; then
204 echo as_func_success failed.
207 if as_func_failure; then
209 echo as_func_failure succeeded.
212 if as_func_ret_success; then
216 echo as_func_ret_success failed.
219 if as_func_ret_failure; then
221 echo as_func_ret_failure succeeded.
224 if ( set x; as_func_ret_success y && test x = \"\$1\" ); then
228 echo positional parameters were not saved.
231 test \$exitcode = 0) || { (exit 1); exit 1; }
236 test \"x\$as_lineno_1\" != \"x\$as_lineno_2\" &&
237 test \"x\`expr \$as_lineno_1 + 1\`\" = \"x\$as_lineno_2\") || { (exit 1); exit 1; }
238 ") 2> /dev/null; then
242 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
243 for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
246 test -z "$as_dir" && as_dir=.
249 for as_base in sh bash ksh sh5; do
250 as_candidate_shells="$as_candidate_shells $as_dir/$as_base"
257 for as_shell in $as_candidate_shells $SHELL; do
258 # Try only shells that exist, to save several forks.
259 if { test -f "$as_shell" || test -f "$as_shell.exe"; } &&
260 { ("$as_shell") 2> /dev/null <<\_ASEOF
261 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
264 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
265 # is contrary to our usage. Disable this feature.
266 alias -g '${1+"$@"}'='"$@"'
269 case `(set -o) 2>/dev/null` in
270 *posix*) set -o posix ;;
279 CONFIG_SHELL=$as_shell
281 if { "$as_shell" 2> /dev/null <<\_ASEOF
282 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
285 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
286 # is contrary to our usage. Disable this feature.
287 alias -g '${1+"$@"}'='"$@"'
290 case `(set -o) 2>/dev/null` in
291 *posix*) set -o posix ;;
307 as_func_ret_success () {
310 as_func_ret_failure () {
315 if as_func_success; then
319 echo as_func_success failed.
322 if as_func_failure; then
324 echo as_func_failure succeeded.
327 if as_func_ret_success; then
331 echo as_func_ret_success failed.
334 if as_func_ret_failure; then
336 echo as_func_ret_failure succeeded.
339 if ( set x; as_func_ret_success y && test x = "$1" ); then
343 echo positional parameters were not saved.
346 test $exitcode = 0) || { (exit 1); exit 1; }
351 test "x$as_lineno_1" != "x$as_lineno_2" &&
352 test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2") || { (exit 1); exit 1; }
363 if test "x$CONFIG_SHELL" != x; then
364 for as_var in BASH_ENV ENV
365 do ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
368 exec "$CONFIG_SHELL" "$as_myself" ${1+"$@"}
372 if test $as_have_required = no; then
373 echo This script requires a shell more modern than all the
374 echo shells that I found on your system. Please install a
375 echo modern shell, or manually run the script under such a
376 echo shell if you do have one.
377 { (exit 1); exit 1; }
387 (eval "as_func_return () {
396 as_func_ret_success () {
399 as_func_ret_failure () {
404 if as_func_success; then
408 echo as_func_success failed.
411 if as_func_failure; then
413 echo as_func_failure succeeded.
416 if as_func_ret_success; then
420 echo as_func_ret_success failed.
423 if as_func_ret_failure; then
425 echo as_func_ret_failure succeeded.
428 if ( set x; as_func_ret_success y && test x = \"\$1\" ); then
432 echo positional parameters were not saved.
435 test \$exitcode = 0") || {
436 echo No shell found that supports shell functions.
437 echo Please tell bug-autoconf@gnu.org about your system,
438 echo including any error possibly output before this message.
439 echo This can help us improve future autoconf versions.
440 echo Configuration will now proceed without shell functions.
447 test "x$as_lineno_1" != "x$as_lineno_2" &&
448 test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2" || {
450 # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
451 # uniformly replaced by the line number. The first 'sed' inserts a
452 # line-number line after each line using $LINENO; the second 'sed'
453 # does the real work. The second script uses 'N' to pair each
454 # line-number line with the line containing $LINENO, and appends
455 # trailing '-' during substitution so that $LINENO is not a special
457 # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
458 # scripts with optimization help from Paolo Bonzini. Blame Lee
459 # E. McMahon (1931-1989) for sed's syntax. :-)
471 s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
475 chmod +x "$as_me.lineno" ||
476 { $as_echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2
477 { (exit 1); exit 1; }; }
479 # Don't try to exec as it changes $[0], causing all sort of problems
480 # (the dirname of $[0] is not the place where we might find the
481 # original and so on. Autoconf is especially sensitive to this).
483 # Exit status is that of the last command.
488 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
494 ECHO_C= ECHO_N= ECHO_T=
498 *c*) ECHO_T=' ';; # ECHO_T is single tab character.
504 if expr a : '\(a\)' >/dev/null 2>&1 &&
505 test "X`expr 00001 : '.*\(...\)'`" = X001; then
511 rm -f conf$$ conf$$.exe conf$$.file
512 if test -d conf$$.dir; then
513 rm -f conf$$.dir/conf$$.file
516 mkdir conf$$.dir 2>/dev/null
518 if (echo >conf$$.file) 2>/dev/null; then
519 if ln -s conf$$.file conf$$ 2>/dev/null; then
521 # ... but there are two gotchas:
522 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
523 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
524 # In both cases, we have to default to `cp -p'.
525 ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
527 elif ln conf$$.file conf$$ 2>/dev/null; then
535 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
536 rmdir conf$$.dir 2>/dev/null
538 if mkdir -p . 2>/dev/null; then
541 test -d ./-p && rmdir ./-p
545 if test -x / >/dev/null 2>&1; then
548 if ls -dL / >/dev/null 2>&1; then
555 if test -d "$1"; then
561 case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in
562 ???[sx]*):;;*)false;;esac;fi
566 as_executable_p=$as_test_x
568 # Sed expression to map a string onto a valid CPP name.
569 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
571 # Sed expression to map a string onto a valid variable name.
572 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
577 # Check that we are running under the correct shell.
578 SHELL=${CONFIG_SHELL-/bin/sh}
582 # Remove one level of quotation (which was required for Make).
583 ECHO=`echo "$ECHO" | sed 's,\\\\\$\\$0,'$0','`
588 if test "X$1" = X--no-reexec; then
589 # Discard the --no-reexec flag, and continue.
591 elif test "X$1" = X--fallback-echo; then
592 # Avoid inline document here, it may be left over
594 elif test "X`($echo '\t') 2>/dev/null`" = 'X\t' ; then
595 # Yippee, $echo works!
598 # Restart under the correct shell.
599 exec $SHELL "$0" --no-reexec ${1+"$@"}
602 if test "X$1" = X--fallback-echo; then
603 # used as fallback echo
611 # The HP-UX ksh and POSIX shell print the target directory to stdout
613 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
615 if test -z "$ECHO"; then
616 if test "X${echo_test_string+set}" != Xset; then
617 # find a string as large as possible, as long as the shell can cope with it
618 for cmd in 'sed 50q "$0"' 'sed 20q "$0"' 'sed 10q "$0"' 'sed 2q "$0"' 'echo test'; do
619 # expected sizes: less than 2Kb, 1Kb, 512 bytes, 16 bytes, ...
620 if (echo_test_string=`eval $cmd`) 2>/dev/null &&
621 echo_test_string=`eval $cmd` &&
622 (test "X$echo_test_string" = "X$echo_test_string") 2>/dev/null
629 if test "X`($echo '\t') 2>/dev/null`" = 'X\t' &&
630 echo_testing_string=`($echo "$echo_test_string") 2>/dev/null` &&
631 test "X$echo_testing_string" = "X$echo_test_string"; then
634 # The Solaris, AIX, and Digital Unix default echo programs unquote
635 # backslashes. This makes it impossible to quote backslashes using
636 # echo "$something" | sed 's/\\/\\\\/g'
638 # So, first we look for a working echo in the user's PATH.
640 lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
641 for dir in $PATH /usr/ucb; do
643 if (test -f $dir/echo || test -f $dir/echo$ac_exeext) &&
644 test "X`($dir/echo '\t') 2>/dev/null`" = 'X\t' &&
645 echo_testing_string=`($dir/echo "$echo_test_string") 2>/dev/null` &&
646 test "X$echo_testing_string" = "X$echo_test_string"; then
653 if test "X$echo" = Xecho; then
654 # We didn't find a better echo, so look for alternatives.
655 if test "X`(print -r '\t') 2>/dev/null`" = 'X\t' &&
656 echo_testing_string=`(print -r "$echo_test_string") 2>/dev/null` &&
657 test "X$echo_testing_string" = "X$echo_test_string"; then
658 # This shell has a builtin print -r that does the trick.
660 elif (test -f /bin/ksh || test -f /bin/ksh$ac_exeext) &&
661 test "X$CONFIG_SHELL" != X/bin/ksh; then
662 # If we have ksh, try running configure again with it.
663 ORIGINAL_CONFIG_SHELL=${CONFIG_SHELL-/bin/sh}
664 export ORIGINAL_CONFIG_SHELL
665 CONFIG_SHELL=/bin/ksh
667 exec $CONFIG_SHELL "$0" --no-reexec ${1+"$@"}
671 if test "X`($echo '\t') 2>/dev/null`" = 'X\t' &&
672 echo_testing_string=`($echo "$echo_test_string") 2>/dev/null` &&
673 test "X$echo_testing_string" = "X$echo_test_string"; then
676 elif echo_testing_string=`($ORIGINAL_CONFIG_SHELL "$0" --fallback-echo '\t') 2>/dev/null` &&
677 test "X$echo_testing_string" = 'X\t' &&
678 echo_testing_string=`($ORIGINAL_CONFIG_SHELL "$0" --fallback-echo "$echo_test_string") 2>/dev/null` &&
679 test "X$echo_testing_string" = "X$echo_test_string"; then
680 CONFIG_SHELL=$ORIGINAL_CONFIG_SHELL
682 SHELL="$CONFIG_SHELL"
684 echo="$CONFIG_SHELL $0 --fallback-echo"
685 elif echo_testing_string=`($CONFIG_SHELL "$0" --fallback-echo '\t') 2>/dev/null` &&
686 test "X$echo_testing_string" = 'X\t' &&
687 echo_testing_string=`($CONFIG_SHELL "$0" --fallback-echo "$echo_test_string") 2>/dev/null` &&
688 test "X$echo_testing_string" = "X$echo_test_string"; then
689 echo="$CONFIG_SHELL $0 --fallback-echo"
691 # maybe with a smaller string...
694 for cmd in 'echo test' 'sed 2q "$0"' 'sed 10q "$0"' 'sed 20q "$0"' 'sed 50q "$0"'; do
695 if (test "X$echo_test_string" = "X`eval $cmd`") 2>/dev/null
702 if test "$prev" != 'sed 50q "$0"'; then
703 echo_test_string=`eval $prev`
704 export echo_test_string
705 exec ${ORIGINAL_CONFIG_SHELL-${CONFIG_SHELL-/bin/sh}} "$0" ${1+"$@"}
707 # Oops. We lost completely, so just stick with echo.
716 # Copy echo and quote the copy suitably for passing to libtool from
717 # the Makefile, instead of quoting the original, which is used later.
719 if test "X$ECHO" = "X$CONFIG_SHELL $0 --fallback-echo"; then
720 ECHO="$CONFIG_SHELL \\\$\$0 --fallback-echo"
726 exec 7<&0 </dev/null 6>&1
729 # hostname on some systems (SVR3.2, Linux) returns a bogus exit status,
730 # so uname gets run too.
731 ac_hostname=`(hostname || uname -n) 2>/dev/null | sed 1q`
736 ac_default_prefix=/usr/local
738 ac_config_libobj_dir=.
744 SHELL=${CONFIG_SHELL-/bin/sh}
746 # Identity of this package.
748 PACKAGE_TARNAME='e16'
749 PACKAGE_VERSION='1.0.0'
750 PACKAGE_STRING='e16 1.0.0'
751 PACKAGE_BUGREPORT='enlightenment-devel@lists.sourceforge.net'
753 # Factoring default headers for most tests.
754 ac_includes_default="\
756 #ifdef HAVE_SYS_TYPES_H
757 # include <sys/types.h>
759 #ifdef HAVE_SYS_STAT_H
760 # include <sys/stat.h>
766 # ifdef HAVE_STDLIB_H
771 # if !defined STDC_HEADERS && defined HAVE_MEMORY_H
776 #ifdef HAVE_STRINGS_H
777 # include <strings.h>
779 #ifdef HAVE_INTTYPES_H
780 # include <inttypes.h>
789 ac_subst_vars='LTLIBOBJS
798 BUILD_ROOTHACKLIB_FALSE
799 BUILD_ROOTHACKLIB_TRUE
805 ENABLE_COMPOSITE_FALSE
806 ENABLE_COMPOSITE_TRUE
893 MAINTAINER_MODE_FALSE
904 INSTALL_STRIP_PROGRAM
946 program_transform_name
958 enable_option_checking
959 enable_maintainer_mode
960 enable_dependency_tracking
994 enable_visibility_hiding
1000 ac_precious_vars='build_alias
1027 # Initialize some variables set by options.
1029 ac_init_version=false
1030 ac_unrecognized_opts=
1031 ac_unrecognized_sep=
1032 # The variables have the same names as the options, with
1033 # dashes changed to underlines.
1034 cache_file=/dev/null
1041 program_transform_name=s,x,x,
1049 # Installation directory options.
1050 # These are left unexpanded so users can "make install exec_prefix=/foo"
1051 # and all the variables that are supposed to be based on exec_prefix
1052 # by default will actually change.
1053 # Use braces instead of parens because sh, perl, etc. also accept them.
1054 # (The list follows the same order as the GNU Coding Standards.)
1055 bindir='${exec_prefix}/bin'
1056 sbindir='${exec_prefix}/sbin'
1057 libexecdir='${exec_prefix}/libexec'
1058 datarootdir='${prefix}/share'
1059 datadir='${datarootdir}'
1060 sysconfdir='${prefix}/etc'
1061 sharedstatedir='${prefix}/com'
1062 localstatedir='${prefix}/var'
1063 includedir='${prefix}/include'
1064 oldincludedir='/usr/include'
1065 docdir='${datarootdir}/doc/${PACKAGE_TARNAME}'
1066 infodir='${datarootdir}/info'
1071 libdir='${exec_prefix}/lib'
1072 localedir='${datarootdir}/locale'
1073 mandir='${datarootdir}/man'
1079 # If the previous option needs an argument, assign it.
1080 if test -n "$ac_prev"; then
1081 eval $ac_prev=\$ac_option
1087 *=*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
1091 # Accept the important Cygnus configure options, so we can diagnose typos.
1093 case $ac_dashdash$ac_option in
1097 -bindir | --bindir | --bindi | --bind | --bin | --bi)
1099 -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
1100 bindir=$ac_optarg ;;
1102 -build | --build | --buil | --bui | --bu)
1103 ac_prev=build_alias ;;
1104 -build=* | --build=* | --buil=* | --bui=* | --bu=*)
1105 build_alias=$ac_optarg ;;
1107 -cache-file | --cache-file | --cache-fil | --cache-fi \
1108 | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
1109 ac_prev=cache_file ;;
1110 -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
1111 | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
1112 cache_file=$ac_optarg ;;
1114 --config-cache | -C)
1115 cache_file=config.cache ;;
1117 -datadir | --datadir | --datadi | --datad)
1119 -datadir=* | --datadir=* | --datadi=* | --datad=*)
1120 datadir=$ac_optarg ;;
1122 -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \
1123 | --dataroo | --dataro | --datar)
1124 ac_prev=datarootdir ;;
1125 -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \
1126 | --dataroot=* | --dataroo=* | --dataro=* | --datar=*)
1127 datarootdir=$ac_optarg ;;
1129 -disable-* | --disable-*)
1130 ac_useropt=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
1131 # Reject names that are not valid shell variable names.
1132 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1133 { $as_echo "$as_me: error: invalid feature name: $ac_useropt" >&2
1134 { (exit 1); exit 1; }; }
1135 ac_useropt_orig=$ac_useropt
1136 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1137 case $ac_user_opts in
1139 "enable_$ac_useropt"
1141 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig"
1142 ac_unrecognized_sep=', ';;
1144 eval enable_$ac_useropt=no ;;
1146 -docdir | --docdir | --docdi | --doc | --do)
1148 -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*)
1149 docdir=$ac_optarg ;;
1151 -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv)
1153 -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*)
1154 dvidir=$ac_optarg ;;
1156 -enable-* | --enable-*)
1157 ac_useropt=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
1158 # Reject names that are not valid shell variable names.
1159 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1160 { $as_echo "$as_me: error: invalid feature name: $ac_useropt" >&2
1161 { (exit 1); exit 1; }; }
1162 ac_useropt_orig=$ac_useropt
1163 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1164 case $ac_user_opts in
1166 "enable_$ac_useropt"
1168 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig"
1169 ac_unrecognized_sep=', ';;
1171 eval enable_$ac_useropt=\$ac_optarg ;;
1173 -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
1174 | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
1175 | --exec | --exe | --ex)
1176 ac_prev=exec_prefix ;;
1177 -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
1178 | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
1179 | --exec=* | --exe=* | --ex=*)
1180 exec_prefix=$ac_optarg ;;
1182 -gas | --gas | --ga | --g)
1183 # Obsolete; use --with-gas.
1186 -help | --help | --hel | --he | -h)
1187 ac_init_help=long ;;
1188 -help=r* | --help=r* | --hel=r* | --he=r* | -hr*)
1189 ac_init_help=recursive ;;
1190 -help=s* | --help=s* | --hel=s* | --he=s* | -hs*)
1191 ac_init_help=short ;;
1193 -host | --host | --hos | --ho)
1194 ac_prev=host_alias ;;
1195 -host=* | --host=* | --hos=* | --ho=*)
1196 host_alias=$ac_optarg ;;
1198 -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht)
1200 -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \
1202 htmldir=$ac_optarg ;;
1204 -includedir | --includedir | --includedi | --included | --include \
1205 | --includ | --inclu | --incl | --inc)
1206 ac_prev=includedir ;;
1207 -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
1208 | --includ=* | --inclu=* | --incl=* | --inc=*)
1209 includedir=$ac_optarg ;;
1211 -infodir | --infodir | --infodi | --infod | --info | --inf)
1213 -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
1214 infodir=$ac_optarg ;;
1216 -libdir | --libdir | --libdi | --libd)
1218 -libdir=* | --libdir=* | --libdi=* | --libd=*)
1219 libdir=$ac_optarg ;;
1221 -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
1222 | --libexe | --libex | --libe)
1223 ac_prev=libexecdir ;;
1224 -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
1225 | --libexe=* | --libex=* | --libe=*)
1226 libexecdir=$ac_optarg ;;
1228 -localedir | --localedir | --localedi | --localed | --locale)
1229 ac_prev=localedir ;;
1230 -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*)
1231 localedir=$ac_optarg ;;
1233 -localstatedir | --localstatedir | --localstatedi | --localstated \
1234 | --localstate | --localstat | --localsta | --localst | --locals)
1235 ac_prev=localstatedir ;;
1236 -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
1237 | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*)
1238 localstatedir=$ac_optarg ;;
1240 -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
1242 -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
1243 mandir=$ac_optarg ;;
1245 -nfp | --nfp | --nf)
1246 # Obsolete; use --without-fp.
1249 -no-create | --no-create | --no-creat | --no-crea | --no-cre \
1250 | --no-cr | --no-c | -n)
1253 -no-recursion | --no-recursion | --no-recursio | --no-recursi \
1254 | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
1257 -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
1258 | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
1259 | --oldin | --oldi | --old | --ol | --o)
1260 ac_prev=oldincludedir ;;
1261 -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
1262 | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
1263 | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
1264 oldincludedir=$ac_optarg ;;
1266 -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
1268 -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
1269 prefix=$ac_optarg ;;
1271 -program-prefix | --program-prefix | --program-prefi | --program-pref \
1272 | --program-pre | --program-pr | --program-p)
1273 ac_prev=program_prefix ;;
1274 -program-prefix=* | --program-prefix=* | --program-prefi=* \
1275 | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
1276 program_prefix=$ac_optarg ;;
1278 -program-suffix | --program-suffix | --program-suffi | --program-suff \
1279 | --program-suf | --program-su | --program-s)
1280 ac_prev=program_suffix ;;
1281 -program-suffix=* | --program-suffix=* | --program-suffi=* \
1282 | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
1283 program_suffix=$ac_optarg ;;
1285 -program-transform-name | --program-transform-name \
1286 | --program-transform-nam | --program-transform-na \
1287 | --program-transform-n | --program-transform- \
1288 | --program-transform | --program-transfor \
1289 | --program-transfo | --program-transf \
1290 | --program-trans | --program-tran \
1291 | --progr-tra | --program-tr | --program-t)
1292 ac_prev=program_transform_name ;;
1293 -program-transform-name=* | --program-transform-name=* \
1294 | --program-transform-nam=* | --program-transform-na=* \
1295 | --program-transform-n=* | --program-transform-=* \
1296 | --program-transform=* | --program-transfor=* \
1297 | --program-transfo=* | --program-transf=* \
1298 | --program-trans=* | --program-tran=* \
1299 | --progr-tra=* | --program-tr=* | --program-t=*)
1300 program_transform_name=$ac_optarg ;;
1302 -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd)
1304 -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*)
1305 pdfdir=$ac_optarg ;;
1307 -psdir | --psdir | --psdi | --psd | --ps)
1309 -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*)
1312 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1313 | -silent | --silent | --silen | --sile | --sil)
1316 -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
1318 -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
1320 sbindir=$ac_optarg ;;
1322 -sharedstatedir | --sharedstatedir | --sharedstatedi \
1323 | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
1324 | --sharedst | --shareds | --shared | --share | --shar \
1326 ac_prev=sharedstatedir ;;
1327 -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
1328 | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
1329 | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
1331 sharedstatedir=$ac_optarg ;;
1333 -site | --site | --sit)
1335 -site=* | --site=* | --sit=*)
1338 -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
1340 -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
1341 srcdir=$ac_optarg ;;
1343 -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
1344 | --syscon | --sysco | --sysc | --sys | --sy)
1345 ac_prev=sysconfdir ;;
1346 -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
1347 | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
1348 sysconfdir=$ac_optarg ;;
1350 -target | --target | --targe | --targ | --tar | --ta | --t)
1351 ac_prev=target_alias ;;
1352 -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
1353 target_alias=$ac_optarg ;;
1355 -v | -verbose | --verbose | --verbos | --verbo | --verb)
1358 -version | --version | --versio | --versi | --vers | -V)
1359 ac_init_version=: ;;
1362 ac_useropt=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
1363 # Reject names that are not valid shell variable names.
1364 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1365 { $as_echo "$as_me: error: invalid package name: $ac_useropt" >&2
1366 { (exit 1); exit 1; }; }
1367 ac_useropt_orig=$ac_useropt
1368 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1369 case $ac_user_opts in
1373 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig"
1374 ac_unrecognized_sep=', ';;
1376 eval with_$ac_useropt=\$ac_optarg ;;
1378 -without-* | --without-*)
1379 ac_useropt=`expr "x$ac_option" : 'x-*without-\(.*\)'`
1380 # Reject names that are not valid shell variable names.
1381 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1382 { $as_echo "$as_me: error: invalid package name: $ac_useropt" >&2
1383 { (exit 1); exit 1; }; }
1384 ac_useropt_orig=$ac_useropt
1385 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1386 case $ac_user_opts in
1390 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig"
1391 ac_unrecognized_sep=', ';;
1393 eval with_$ac_useropt=no ;;
1396 # Obsolete; use --with-x.
1399 -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
1400 | --x-incl | --x-inc | --x-in | --x-i)
1401 ac_prev=x_includes ;;
1402 -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
1403 | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
1404 x_includes=$ac_optarg ;;
1406 -x-libraries | --x-libraries | --x-librarie | --x-librari \
1407 | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
1408 ac_prev=x_libraries ;;
1409 -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
1410 | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
1411 x_libraries=$ac_optarg ;;
1413 -*) { $as_echo "$as_me: error: unrecognized option: $ac_option
1414 Try \`$0 --help' for more information." >&2
1415 { (exit 1); exit 1; }; }
1419 ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
1420 # Reject names that are not valid shell variable names.
1421 expr "x$ac_envvar" : ".*[^_$as_cr_alnum]" >/dev/null &&
1422 { $as_echo "$as_me: error: invalid variable name: $ac_envvar" >&2
1423 { (exit 1); exit 1; }; }
1424 eval $ac_envvar=\$ac_optarg
1425 export $ac_envvar ;;
1428 # FIXME: should be removed in autoconf 3.0.
1429 $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2
1430 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
1431 $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2
1432 : ${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}
1438 if test -n "$ac_prev"; then
1439 ac_option=--`echo $ac_prev | sed 's/_/-/g'`
1440 { $as_echo "$as_me: error: missing argument to $ac_option" >&2
1441 { (exit 1); exit 1; }; }
1444 if test -n "$ac_unrecognized_opts"; then
1445 case $enable_option_checking in
1447 fatal) { $as_echo "$as_me: error: unrecognized options: $ac_unrecognized_opts" >&2
1448 { (exit 1); exit 1; }; } ;;
1449 *) $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;;
1453 # Check all directory arguments for consistency.
1454 for ac_var in exec_prefix prefix bindir sbindir libexecdir datarootdir \
1455 datadir sysconfdir sharedstatedir localstatedir includedir \
1456 oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
1457 libdir localedir mandir
1459 eval ac_val=\$$ac_var
1460 # Remove trailing slashes.
1463 ac_val=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'`
1464 eval $ac_var=\$ac_val;;
1466 # Be sure to have absolute directory names.
1468 [\\/$]* | ?:[\\/]* ) continue;;
1469 NONE | '' ) case $ac_var in *prefix ) continue;; esac;;
1471 { $as_echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2
1472 { (exit 1); exit 1; }; }
1475 # There might be people who depend on the old broken behavior: `$host'
1476 # used to hold the argument of --host etc.
1477 # FIXME: To remove some day.
1480 target=$target_alias
1482 # FIXME: To remove some day.
1483 if test "x$host_alias" != x; then
1484 if test "x$build_alias" = x; then
1485 cross_compiling=maybe
1486 $as_echo "$as_me: WARNING: If you wanted to set the --build type, don't use --host.
1487 If a cross compiler is detected then cross compile mode will be used." >&2
1488 elif test "x$build_alias" != "x$host_alias"; then
1494 test -n "$host_alias" && ac_tool_prefix=$host_alias-
1496 test "$silent" = yes && exec 6>/dev/null
1499 ac_pwd=`pwd` && test -n "$ac_pwd" &&
1500 ac_ls_di=`ls -di .` &&
1501 ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` ||
1502 { $as_echo "$as_me: error: working directory cannot be determined" >&2
1503 { (exit 1); exit 1; }; }
1504 test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
1505 { $as_echo "$as_me: error: pwd does not report name of working directory" >&2
1506 { (exit 1); exit 1; }; }
1509 # Find the source files, if location was not specified.
1510 if test -z "$srcdir"; then
1511 ac_srcdir_defaulted=yes
1512 # Try the directory containing this script, then the parent directory.
1513 ac_confdir=`$as_dirname -- "$as_myself" ||
1514 $as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
1515 X"$as_myself" : 'X\(//\)[^/]' \| \
1516 X"$as_myself" : 'X\(//\)$' \| \
1517 X"$as_myself" : 'X\(/\)' \| . 2>/dev/null ||
1518 $as_echo X"$as_myself" |
1519 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
1537 if test ! -r "$srcdir/$ac_unique_file"; then
1541 ac_srcdir_defaulted=no
1543 if test ! -r "$srcdir/$ac_unique_file"; then
1544 test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .."
1545 { $as_echo "$as_me: error: cannot find sources ($ac_unique_file) in $srcdir" >&2
1546 { (exit 1); exit 1; }; }
1548 ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work"
1550 cd "$srcdir" && test -r "./$ac_unique_file" || { $as_echo "$as_me: error: $ac_msg" >&2
1551 { (exit 1); exit 1; }; }
1553 # When building in place, set srcdir=.
1554 if test "$ac_abs_confdir" = "$ac_pwd"; then
1557 # Remove unnecessary trailing slashes from srcdir.
1558 # Double slashes in file names in object file debugging info
1559 # mess up M-x gdb in Emacs.
1561 */) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
1563 for ac_var in $ac_precious_vars; do
1564 eval ac_env_${ac_var}_set=\${${ac_var}+set}
1565 eval ac_env_${ac_var}_value=\$${ac_var}
1566 eval ac_cv_env_${ac_var}_set=\${${ac_var}+set}
1567 eval ac_cv_env_${ac_var}_value=\$${ac_var}
1571 # Report the --help message.
1573 if test "$ac_init_help" = "long"; then
1574 # Omit some internal or obsolete options to make the list less imposing.
1575 # This message is too long to be a string in the A/UX 3.1 sh.
1577 \`configure' configures e16 1.0.0 to adapt to many kinds of systems.
1579 Usage: $0 [OPTION]... [VAR=VALUE]...
1581 To assign environment variables (e.g., CC, CFLAGS...), specify them as
1582 VAR=VALUE. See below for descriptions of some of the useful variables.
1584 Defaults for the options are specified in brackets.
1587 -h, --help display this help and exit
1588 --help=short display options specific to this package
1589 --help=recursive display the short help of all the included packages
1590 -V, --version display version information and exit
1591 -q, --quiet, --silent do not print \`checking...' messages
1592 --cache-file=FILE cache test results in FILE [disabled]
1593 -C, --config-cache alias for \`--cache-file=config.cache'
1594 -n, --no-create do not create output files
1595 --srcdir=DIR find the sources in DIR [configure dir or \`..']
1597 Installation directories:
1598 --prefix=PREFIX install architecture-independent files in PREFIX
1599 [$ac_default_prefix]
1600 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
1603 By default, \`make install' will install all the files in
1604 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
1605 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
1606 for instance \`--prefix=\$HOME'.
1608 For better control, use the options below.
1610 Fine tuning of the installation directories:
1611 --bindir=DIR user executables [EPREFIX/bin]
1612 --sbindir=DIR system admin executables [EPREFIX/sbin]
1613 --libexecdir=DIR program executables [EPREFIX/libexec]
1614 --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
1615 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
1616 --localstatedir=DIR modifiable single-machine data [PREFIX/var]
1617 --libdir=DIR object code libraries [EPREFIX/lib]
1618 --includedir=DIR C header files [PREFIX/include]
1619 --oldincludedir=DIR C header files for non-gcc [/usr/include]
1620 --datarootdir=DIR read-only arch.-independent data root [PREFIX/share]
1621 --datadir=DIR read-only architecture-independent data [DATAROOTDIR]
1622 --infodir=DIR info documentation [DATAROOTDIR/info]
1623 --localedir=DIR locale-dependent data [DATAROOTDIR/locale]
1624 --mandir=DIR man documentation [DATAROOTDIR/man]
1625 --docdir=DIR documentation root [DATAROOTDIR/doc/e16]
1626 --htmldir=DIR html documentation [DOCDIR]
1627 --dvidir=DIR dvi documentation [DOCDIR]
1628 --pdfdir=DIR pdf documentation [DOCDIR]
1629 --psdir=DIR ps documentation [DOCDIR]
1635 --program-prefix=PREFIX prepend PREFIX to installed program names
1636 --program-suffix=SUFFIX append SUFFIX to installed program names
1637 --program-transform-name=PROGRAM run sed PROGRAM on installed program names
1640 --x-includes=DIR X include files are in DIR
1641 --x-libraries=DIR X library files are in DIR
1644 --build=BUILD configure for building on BUILD [guessed]
1645 --host=HOST cross-compile to build programs to run on HOST [BUILD]
1649 if test -n "$ac_init_help"; then
1650 case $ac_init_help in
1651 short | recursive ) echo "Configuration of e16 1.0.0:";;
1656 --disable-option-checking ignore unrecognized --enable/--with options
1657 --disable-FEATURE do not include FEATURE (same as --enable-FEATURE=no)
1658 --enable-FEATURE[=ARG] include FEATURE [ARG=yes]
1659 --enable-maintainer-mode enable make rules and dependencies not useful
1660 (and sometimes confusing) to the casual installer
1661 --disable-dependency-tracking speeds up one-time build
1662 --enable-dependency-tracking do not reject slow dependency extractors
1663 --enable-shared[=PKGS] build shared libraries [default=yes]
1664 --enable-static[=PKGS] build static libraries [default=no]
1665 --enable-fast-install[=PKGS]
1666 optimize for fast installation [default=yes]
1667 --disable-libtool-lock avoid locking (might break parallel builds)
1668 --disable-rpath do not hardcode runtime library paths
1669 --disable-nls do not use Native Language Support
1670 --enable-hints-gnome compile with GNOME(<2.0) hints support [default=no]
1671 --enable-sound compile with sound support [default=yes]
1672 --enable-sound-pulse compile with PulseAudio sound support [default=no]
1673 --enable-sound-esound compile with EsounD sound support [default=yes]
1674 --disable-esdtest Do not try to compile and run a test ESD program
1675 --enable-sm compile with session management support [default=yes]
1676 --enable-pango compile with pango-xft support [default=no]
1677 --enable-xft compile with Xft support [default=yes]
1678 --enable-ecore use ecore functions (for testing only - DO NOT USE!) [default=no]
1679 --enable-glx compile with GLX support (experimental) [default=no]
1680 --enable-xinerama compile with xinerama support [default=yes]
1681 --enable-zoom compile with zoom support [default=yes]
1682 --enable-xsync compile with SYNC support [default=yes]
1683 --enable-xscrnsaver compile with ScreenSaver support (experimental/not useful) [default=no]
1684 --enable-xrandr compile with RandR support [default=yes]
1685 --enable-composite compile with Composite support [default=yes]
1686 --enable-dbus compile with D-Bus support (experimental) [default=no]
1687 --enable-roothacklib build window mode helper library [default=yes]
1688 --enable-modules enable support for loadable modules [default=no]
1689 --enable-visibility-hiding enable visibility hiding [default=no]
1690 --enable-dialogs enable support for configuration dialogs [default=yes]
1691 --enable-docs install html docs [default=yes]
1692 --enable-gcc-cpp compile everything as if it were C++ [default=no]
1693 --enable-werror treat compiler warnings as errors [default=no]
1696 --with-PACKAGE[=ARG] use PACKAGE [ARG=yes]
1697 --without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no)
1698 --with-gnu-ld assume the C compiler uses GNU ld [default=no]
1699 --with-pic try to use only PIC/non-PIC objects [default=use
1701 --with-tags[=TAGS] include additional configurations [automatic]
1702 --with-x use the X Window System
1703 --with-gnu-ld assume the C compiler uses GNU ld default=no
1704 --with-libiconv-prefix[=DIR] search for libiconv in DIR/include and DIR/lib
1705 --without-libiconv-prefix don't search for libiconv in includedir and libdir
1706 --with-libintl-prefix[=DIR] search for libintl in DIR/include and DIR/lib
1707 --without-libintl-prefix don't search for libintl in includedir and libdir
1708 --with-esd-prefix=PFX Prefix where ESD is installed (optional)
1709 --with-esd-exec-prefix=PFX Exec prefix where ESD is installed (optional)
1711 Some influential environment variables:
1712 CC C compiler command
1713 CFLAGS C compiler flags
1714 LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a
1715 nonstandard directory <lib dir>
1716 LIBS libraries to pass to the linker, e.g. -l<library>
1717 CPPFLAGS C/C++/Objective C preprocessor flags, e.g. -I<include dir> if
1718 you have headers in a nonstandard directory <include dir>
1719 PKG_CONFIG path to pkg-config utility
1721 XMKMF Path to xmkmf, Makefile generator for X Window System
1722 PA_CFLAGS C compiler flags for PA, overriding pkg-config
1723 PA_LIBS linker flags for PA, overriding pkg-config
1725 C compiler flags for AUDIOFILE, overriding pkg-config
1727 linker flags for AUDIOFILE, overriding pkg-config
1729 C compiler flags for IMLIB2, overriding pkg-config
1730 IMLIB2_LIBS linker flags for IMLIB2, overriding pkg-config
1732 C compiler flags for PANGO, overriding pkg-config
1733 PANGO_LIBS linker flags for PANGO, overriding pkg-config
1734 XFT_CFLAGS C compiler flags for XFT, overriding pkg-config
1735 XFT_LIBS linker flags for XFT, overriding pkg-config
1737 C compiler flags for ECORE, overriding pkg-config
1738 ECORE_LIBS linker flags for ECORE, overriding pkg-config
1739 DBUS_CFLAGS C compiler flags for DBUS, overriding pkg-config
1740 DBUS_LIBS linker flags for DBUS, overriding pkg-config
1742 Use these variables to override the choices made by `configure' or to help
1743 it to find libraries and programs with nonstandard names/locations.
1745 Report bugs to <enlightenment-devel@lists.sourceforge.net>.
1750 if test "$ac_init_help" = "recursive"; then
1751 # If there are subdirs, report their specific --help.
1752 for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
1753 test -d "$ac_dir" ||
1754 { cd "$srcdir" && ac_pwd=`pwd` && srcdir=. && test -d "$ac_dir"; } ||
1759 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
1761 ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
1762 # A ".." for each directory in $ac_dir_suffix.
1763 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
1764 case $ac_top_builddir_sub in
1765 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
1766 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
1769 ac_abs_top_builddir=$ac_pwd
1770 ac_abs_builddir=$ac_pwd$ac_dir_suffix
1771 # for backward compatibility:
1772 ac_top_builddir=$ac_top_build_prefix
1775 .) # We are building in place.
1777 ac_top_srcdir=$ac_top_builddir_sub
1778 ac_abs_top_srcdir=$ac_pwd ;;
1779 [\\/]* | ?:[\\/]* ) # Absolute name.
1780 ac_srcdir=$srcdir$ac_dir_suffix;
1781 ac_top_srcdir=$srcdir
1782 ac_abs_top_srcdir=$srcdir ;;
1784 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
1785 ac_top_srcdir=$ac_top_build_prefix$srcdir
1786 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
1788 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
1790 cd "$ac_dir" || { ac_status=$?; continue; }
1791 # Check for guested configure.
1792 if test -f "$ac_srcdir/configure.gnu"; then
1794 $SHELL "$ac_srcdir/configure.gnu" --help=recursive
1795 elif test -f "$ac_srcdir/configure"; then
1797 $SHELL "$ac_srcdir/configure" --help=recursive
1799 $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
1801 cd "$ac_pwd" || { ac_status=$?; break; }
1805 test -n "$ac_init_help" && exit $ac_status
1806 if $ac_init_version; then
1809 generated by GNU Autoconf 2.63
1811 Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001,
1812 2002, 2003, 2004, 2005, 2006, 2007, 2008 Free Software Foundation, Inc.
1813 This configure script is free software; the Free Software Foundation
1814 gives unlimited permission to copy, distribute and modify it.
1818 cat >config.log <<_ACEOF
1819 This file contains any messages produced by compilers while
1820 running configure, to aid debugging if configure makes a mistake.
1822 It was created by e16 $as_me 1.0.0, which was
1823 generated by GNU Autoconf 2.63. Invocation command line was
1835 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
1836 uname -m = `(uname -m) 2>/dev/null || echo unknown`
1837 uname -r = `(uname -r) 2>/dev/null || echo unknown`
1838 uname -s = `(uname -s) 2>/dev/null || echo unknown`
1839 uname -v = `(uname -v) 2>/dev/null || echo unknown`
1841 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
1842 /bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown`
1844 /bin/arch = `(/bin/arch) 2>/dev/null || echo unknown`
1845 /usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown`
1846 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
1847 /usr/bin/hostinfo = `(/usr/bin/hostinfo) 2>/dev/null || echo unknown`
1848 /bin/machine = `(/bin/machine) 2>/dev/null || echo unknown`
1849 /usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown`
1850 /bin/universe = `(/bin/universe) 2>/dev/null || echo unknown`
1854 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1858 test -z "$as_dir" && as_dir=.
1859 $as_echo "PATH: $as_dir"
1875 # Keep a trace of the command line.
1876 # Strip out --no-create and --no-recursion so they do not pile up.
1877 # Strip out --silent because we don't want to record it for future runs.
1878 # Also quote any args containing shell meta-characters.
1879 # Make two passes to allow for proper duplicate-argument suppression.
1883 ac_must_keep_next=false
1889 -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
1890 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1891 | -silent | --silent | --silen | --sile | --sil)
1894 ac_arg=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
1897 1) ac_configure_args0="$ac_configure_args0 '$ac_arg'" ;;
1899 ac_configure_args1="$ac_configure_args1 '$ac_arg'"
1900 if test $ac_must_keep_next = true; then
1901 ac_must_keep_next=false # Got value, back to normal.
1904 *=* | --config-cache | -C | -disable-* | --disable-* \
1905 | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
1906 | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
1907 | -with-* | --with-* | -without-* | --without-* | --x)
1908 case "$ac_configure_args0 " in
1909 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
1912 -* ) ac_must_keep_next=true ;;
1915 ac_configure_args="$ac_configure_args '$ac_arg'"
1920 $as_unset ac_configure_args0 || test "${ac_configure_args0+set}" != set || { ac_configure_args0=; export ac_configure_args0; }
1921 $as_unset ac_configure_args1 || test "${ac_configure_args1+set}" != set || { ac_configure_args1=; export ac_configure_args1; }
1923 # When interrupted or exit'd, cleanup temporary files, and complete
1924 # config.log. We remove comments because anyway the quotes in there
1925 # would cause problems or look ugly.
1926 # WARNING: Use '\'' to represent an apostrophe within the trap.
1927 # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
1928 trap 'exit_status=$?
1929 # Save into config.log some information that might help in debugging.
1934 ## ---------------- ##
1935 ## Cache variables. ##
1936 ## ---------------- ##
1939 # The following way of writing the cache mishandles newlines in values,
1941 for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
1942 eval ac_val=\$$ac_var
1946 *_cv_*) { $as_echo "$as_me:$LINENO: WARNING: cache variable $ac_var contains a newline" >&5
1947 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
1950 _ | IFS | as_nl) ;; #(
1951 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
1952 *) $as_unset $ac_var ;;
1957 case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
1958 *${as_nl}ac_space=\ *)
1960 "s/'\''/'\''\\\\'\'''\''/g;
1961 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
1964 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
1972 ## ----------------- ##
1973 ## Output variables. ##
1974 ## ----------------- ##
1977 for ac_var in $ac_subst_vars
1979 eval ac_val=\$$ac_var
1981 *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
1983 $as_echo "$ac_var='\''$ac_val'\''"
1987 if test -n "$ac_subst_files"; then
1989 ## ------------------- ##
1990 ## File substitutions. ##
1991 ## ------------------- ##
1994 for ac_var in $ac_subst_files
1996 eval ac_val=\$$ac_var
1998 *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
2000 $as_echo "$ac_var='\''$ac_val'\''"
2005 if test -s confdefs.h; then
2015 test "$ac_signal" != 0 &&
2016 $as_echo "$as_me: caught signal $ac_signal"
2017 $as_echo "$as_me: exit $exit_status"
2019 rm -f core *.core core.conftest.* &&
2020 rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
2023 for ac_signal in 1 2 13 15; do
2024 trap 'ac_signal='$ac_signal'; { (exit 1); exit 1; }' $ac_signal
2028 # confdefs.h avoids OS command line length limits that DEFS can exceed.
2029 rm -f -r conftest* confdefs.h
2031 # Predefined preprocessor variables.
2033 cat >>confdefs.h <<_ACEOF
2034 #define PACKAGE_NAME "$PACKAGE_NAME"
2038 cat >>confdefs.h <<_ACEOF
2039 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
2043 cat >>confdefs.h <<_ACEOF
2044 #define PACKAGE_VERSION "$PACKAGE_VERSION"
2048 cat >>confdefs.h <<_ACEOF
2049 #define PACKAGE_STRING "$PACKAGE_STRING"
2053 cat >>confdefs.h <<_ACEOF
2054 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
2058 # Let the site file select an alternate cache file if it wants to.
2059 # Prefer an explicitly selected file to automatically selected ones.
2062 if test -n "$CONFIG_SITE"; then
2063 ac_site_file1=$CONFIG_SITE
2064 elif test "x$prefix" != xNONE; then
2065 ac_site_file1=$prefix/share/config.site
2066 ac_site_file2=$prefix/etc/config.site
2068 ac_site_file1=$ac_default_prefix/share/config.site
2069 ac_site_file2=$ac_default_prefix/etc/config.site
2071 for ac_site_file in "$ac_site_file1" "$ac_site_file2"
2073 test "x$ac_site_file" = xNONE && continue
2074 if test -r "$ac_site_file"; then
2075 { $as_echo "$as_me:$LINENO: loading site script $ac_site_file" >&5
2076 $as_echo "$as_me: loading site script $ac_site_file" >&6;}
2077 sed 's/^/| /' "$ac_site_file" >&5
2082 if test -r "$cache_file"; then
2083 # Some versions of bash will fail to source /dev/null (special
2084 # files actually), so we avoid doing that.
2085 if test -f "$cache_file"; then
2086 { $as_echo "$as_me:$LINENO: loading cache $cache_file" >&5
2087 $as_echo "$as_me: loading cache $cache_file" >&6;}
2089 [\\/]* | ?:[\\/]* ) . "$cache_file";;
2090 *) . "./$cache_file";;
2094 { $as_echo "$as_me:$LINENO: creating cache $cache_file" >&5
2095 $as_echo "$as_me: creating cache $cache_file" >&6;}
2099 # Check that the precious variables saved in the cache have kept the same
2101 ac_cache_corrupted=false
2102 for ac_var in $ac_precious_vars; do
2103 eval ac_old_set=\$ac_cv_env_${ac_var}_set
2104 eval ac_new_set=\$ac_env_${ac_var}_set
2105 eval ac_old_val=\$ac_cv_env_${ac_var}_value
2106 eval ac_new_val=\$ac_env_${ac_var}_value
2107 case $ac_old_set,$ac_new_set in
2109 { $as_echo "$as_me:$LINENO: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
2110 $as_echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
2111 ac_cache_corrupted=: ;;
2113 { $as_echo "$as_me:$LINENO: error: \`$ac_var' was not set in the previous run" >&5
2114 $as_echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
2115 ac_cache_corrupted=: ;;
2118 if test "x$ac_old_val" != "x$ac_new_val"; then
2119 # differences in whitespace do not lead to failure.
2120 ac_old_val_w=`echo x $ac_old_val`
2121 ac_new_val_w=`echo x $ac_new_val`
2122 if test "$ac_old_val_w" != "$ac_new_val_w"; then
2123 { $as_echo "$as_me:$LINENO: error: \`$ac_var' has changed since the previous run:" >&5
2124 $as_echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
2125 ac_cache_corrupted=:
2127 { $as_echo "$as_me:$LINENO: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5
2128 $as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;}
2129 eval $ac_var=\$ac_old_val
2131 { $as_echo "$as_me:$LINENO: former value: \`$ac_old_val'" >&5
2132 $as_echo "$as_me: former value: \`$ac_old_val'" >&2;}
2133 { $as_echo "$as_me:$LINENO: current value: \`$ac_new_val'" >&5
2134 $as_echo "$as_me: current value: \`$ac_new_val'" >&2;}
2137 # Pass precious variables to config.status.
2138 if test "$ac_new_set" = set; then
2140 *\'*) ac_arg=$ac_var=`$as_echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
2141 *) ac_arg=$ac_var=$ac_new_val ;;
2143 case " $ac_configure_args " in
2144 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
2145 *) ac_configure_args="$ac_configure_args '$ac_arg'" ;;
2149 if $ac_cache_corrupted; then
2150 { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
2151 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2152 { $as_echo "$as_me:$LINENO: error: changes in the environment can compromise the build" >&5
2153 $as_echo "$as_me: error: changes in the environment can compromise the build" >&2;}
2154 { { $as_echo "$as_me:$LINENO: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&5
2155 $as_echo "$as_me: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&2;}
2156 { (exit 1); exit 1; }; }
2184 ac_cpp='$CPP $CPPFLAGS'
2185 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2186 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2187 ac_compiler_gnu=$ac_cv_c_compiler_gnu
2190 am__api_version='1.10'
2193 for ac_dir in "$srcdir" "$srcdir/.." "$srcdir/../.."; do
2194 if test -f "$ac_dir/install-sh"; then
2196 ac_install_sh="$ac_aux_dir/install-sh -c"
2198 elif test -f "$ac_dir/install.sh"; then
2200 ac_install_sh="$ac_aux_dir/install.sh -c"
2202 elif test -f "$ac_dir/shtool"; then
2204 ac_install_sh="$ac_aux_dir/shtool install -c"
2208 if test -z "$ac_aux_dir"; then
2209 { { $as_echo "$as_me:$LINENO: error: cannot find install-sh or install.sh in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" >&5
2210 $as_echo "$as_me: error: cannot find install-sh or install.sh in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" >&2;}
2211 { (exit 1); exit 1; }; }
2214 # These three variables are undocumented and unsupported,
2215 # and are intended to be withdrawn in a future Autoconf release.
2216 # They can cause serious problems if a builder's source tree is in a directory
2217 # whose full name contains unusual characters.
2218 ac_config_guess="$SHELL $ac_aux_dir/config.guess" # Please don't use this var.
2219 ac_config_sub="$SHELL $ac_aux_dir/config.sub" # Please don't use this var.
2220 ac_configure="$SHELL $ac_aux_dir/configure" # Please don't use this var.
2223 # Find a good install program. We prefer a C program (faster),
2224 # so one script is as good as another. But avoid the broken or
2225 # incompatible versions:
2226 # SysV /etc/install, /usr/sbin/install
2227 # SunOS /usr/etc/install
2228 # IRIX /sbin/install
2230 # AmigaOS /C/install, which installs bootblocks on floppy discs
2231 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
2232 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
2233 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
2234 # OS/2's system install, which has a completely different semantic
2235 # ./install, which can be erroneously created by make from ./install.sh.
2236 # Reject install programs that cannot install multiple files.
2237 { $as_echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
2238 $as_echo_n "checking for a BSD-compatible install... " >&6; }
2239 if test -z "$INSTALL"; then
2240 if test "${ac_cv_path_install+set}" = set; then
2241 $as_echo_n "(cached) " >&6
2243 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2247 test -z "$as_dir" && as_dir=.
2248 # Account for people who put trailing slashes in PATH elements.
2250 ./ | .// | /cC/* | \
2251 /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
2252 ?:\\/os2\\/install\\/* | ?:\\/OS2\\/INSTALL\\/* | \
2255 # OSF1 and SCO ODT 3.0 have their own names for install.
2256 # Don't use installbsd from OSF since it installs stuff as root
2258 for ac_prog in ginstall scoinst install; do
2259 for ac_exec_ext in '' $ac_executable_extensions; do
2260 if { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; }; then
2261 if test $ac_prog = install &&
2262 grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
2263 # AIX install. It has an incompatible calling convention.
2265 elif test $ac_prog = install &&
2266 grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
2267 # program-specific install script used by HP pwplus--don't use.
2270 rm -rf conftest.one conftest.two conftest.dir
2271 echo one > conftest.one
2272 echo two > conftest.two
2274 if "$as_dir/$ac_prog$ac_exec_ext" -c conftest.one conftest.two "`pwd`/conftest.dir" &&
2275 test -s conftest.one && test -s conftest.two &&
2276 test -s conftest.dir/conftest.one &&
2277 test -s conftest.dir/conftest.two
2279 ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
2292 rm -rf conftest.one conftest.two conftest.dir
2295 if test "${ac_cv_path_install+set}" = set; then
2296 INSTALL=$ac_cv_path_install
2298 # As a last resort, use the slow shell script. Don't cache a
2299 # value for INSTALL within a source directory, because that will
2300 # break other packages using the cache if that directory is
2301 # removed, or if the value is a relative name.
2302 INSTALL=$ac_install_sh
2305 { $as_echo "$as_me:$LINENO: result: $INSTALL" >&5
2306 $as_echo "$INSTALL" >&6; }
2308 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
2309 # It thinks the first close brace ends the variable substitution.
2310 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
2312 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
2314 test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
2316 { $as_echo "$as_me:$LINENO: checking whether build environment is sane" >&5
2317 $as_echo_n "checking whether build environment is sane... " >&6; }
2320 echo timestamp > conftest.file
2321 # Do `set' in a subshell so we don't clobber the current shell's
2322 # arguments. Must try -L first in case configure is actually a
2323 # symlink; some systems play weird games with the mod time of symlinks
2324 # (eg FreeBSD returns the mod time of the symlink's containing
2327 set X `ls -Lt $srcdir/configure conftest.file 2> /dev/null`
2328 if test "$*" = "X"; then
2330 set X `ls -t $srcdir/configure conftest.file`
2333 if test "$*" != "X $srcdir/configure conftest.file" \
2334 && test "$*" != "X conftest.file $srcdir/configure"; then
2336 # If neither matched, then we have a broken ls. This can happen
2337 # if, for instance, CONFIG_SHELL is bash and it inherits a
2338 # broken ls alias from the environment. This has actually
2339 # happened. Such a system could not be considered "sane".
2340 { { $as_echo "$as_me:$LINENO: error: ls -t appears to fail. Make sure there is not a broken
2341 alias in your environment" >&5
2342 $as_echo "$as_me: error: ls -t appears to fail. Make sure there is not a broken
2343 alias in your environment" >&2;}
2344 { (exit 1); exit 1; }; }
2347 test "$2" = conftest.file
2353 { { $as_echo "$as_me:$LINENO: error: newly created file is older than distributed files!
2354 Check your system clock" >&5
2355 $as_echo "$as_me: error: newly created file is older than distributed files!
2356 Check your system clock" >&2;}
2357 { (exit 1); exit 1; }; }
2359 { $as_echo "$as_me:$LINENO: result: yes" >&5
2360 $as_echo "yes" >&6; }
2361 test "$program_prefix" != NONE &&
2362 program_transform_name="s&^&$program_prefix&;$program_transform_name"
2363 # Use a double $ so make ignores it.
2364 test "$program_suffix" != NONE &&
2365 program_transform_name="s&\$&$program_suffix&;$program_transform_name"
2366 # Double any \ or $.
2367 # By default was `s,x,x', remove it if useless.
2368 ac_script='s/[\\$]/&&/g;s/;s,x,x,$//'
2369 program_transform_name=`$as_echo "$program_transform_name" | sed "$ac_script"`
2371 # expand $ac_aux_dir to an absolute path
2372 am_aux_dir=`cd $ac_aux_dir && pwd`
2374 test x"${MISSING+set}" = xset || MISSING="\${SHELL} $am_aux_dir/missing"
2375 # Use eval to expand $SHELL
2376 if eval "$MISSING --run true"; then
2377 am_missing_run="$MISSING --run "
2380 { $as_echo "$as_me:$LINENO: WARNING: \`missing' script is too old or missing" >&5
2381 $as_echo "$as_me: WARNING: \`missing' script is too old or missing" >&2;}
2384 { $as_echo "$as_me:$LINENO: checking for a thread-safe mkdir -p" >&5
2385 $as_echo_n "checking for a thread-safe mkdir -p... " >&6; }
2386 if test -z "$MKDIR_P"; then
2387 if test "${ac_cv_path_mkdir+set}" = set; then
2388 $as_echo_n "(cached) " >&6
2390 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2391 for as_dir in $PATH$PATH_SEPARATOR/opt/sfw/bin
2394 test -z "$as_dir" && as_dir=.
2395 for ac_prog in mkdir gmkdir; do
2396 for ac_exec_ext in '' $ac_executable_extensions; do
2397 { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; } || continue
2398 case `"$as_dir/$ac_prog$ac_exec_ext" --version 2>&1` in #(
2399 'mkdir (GNU coreutils) '* | \
2400 'mkdir (coreutils) '* | \
2401 'mkdir (fileutils) '4.1*)
2402 ac_cv_path_mkdir=$as_dir/$ac_prog$ac_exec_ext
2412 if test "${ac_cv_path_mkdir+set}" = set; then
2413 MKDIR_P="$ac_cv_path_mkdir -p"
2415 # As a last resort, use the slow shell script. Don't cache a
2416 # value for MKDIR_P within a source directory, because that will
2417 # break other packages using the cache if that directory is
2418 # removed, or if the value is a relative name.
2419 test -d ./--version && rmdir ./--version
2420 MKDIR_P="$ac_install_sh -d"
2423 { $as_echo "$as_me:$LINENO: result: $MKDIR_P" >&5
2424 $as_echo "$MKDIR_P" >&6; }
2428 [\\/$]* | ?:[\\/]*) ;;
2429 */*) mkdir_p="\$(top_builddir)/$mkdir_p" ;;
2432 for ac_prog in gawk mawk nawk awk
2434 # Extract the first word of "$ac_prog", so it can be a program name with args.
2435 set dummy $ac_prog; ac_word=$2
2436 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
2437 $as_echo_n "checking for $ac_word... " >&6; }
2438 if test "${ac_cv_prog_AWK+set}" = set; then
2439 $as_echo_n "(cached) " >&6
2441 if test -n "$AWK"; then
2442 ac_cv_prog_AWK="$AWK" # Let the user override the test.
2444 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2448 test -z "$as_dir" && as_dir=.
2449 for ac_exec_ext in '' $ac_executable_extensions; do
2450 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2451 ac_cv_prog_AWK="$ac_prog"
2452 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2462 if test -n "$AWK"; then
2463 { $as_echo "$as_me:$LINENO: result: $AWK" >&5
2464 $as_echo "$AWK" >&6; }
2466 { $as_echo "$as_me:$LINENO: result: no" >&5
2467 $as_echo "no" >&6; }
2471 test -n "$AWK" && break
2474 { $as_echo "$as_me:$LINENO: checking whether ${MAKE-make} sets \$(MAKE)" >&5
2475 $as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; }
2477 ac_make=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
2478 if { as_var=ac_cv_prog_make_${ac_make}_set; eval "test \"\${$as_var+set}\" = set"; }; then
2479 $as_echo_n "(cached) " >&6
2481 cat >conftest.make <<\_ACEOF
2484 @echo '@@@%%%=$(MAKE)=@@@%%%'
2486 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
2487 case `${MAKE-make} -f conftest.make 2>/dev/null` in
2489 eval ac_cv_prog_make_${ac_make}_set=yes;;
2491 eval ac_cv_prog_make_${ac_make}_set=no;;
2495 if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then
2496 { $as_echo "$as_me:$LINENO: result: yes" >&5
2497 $as_echo "yes" >&6; }
2500 { $as_echo "$as_me:$LINENO: result: no" >&5
2501 $as_echo "no" >&6; }
2502 SET_MAKE="MAKE=${MAKE-make}"
2505 rm -rf .tst 2>/dev/null
2506 mkdir .tst 2>/dev/null
2507 if test -d .tst; then
2512 rmdir .tst 2>/dev/null
2514 if test "`cd $srcdir && pwd`" != "`pwd`"; then
2515 # Use -I$(srcdir) only when $(srcdir) != ., so that make's output
2516 # is not polluted with repeated "-I."
2517 am__isrc=' -I$(srcdir)'
2518 # test to see if srcdir already configured
2519 if test -f $srcdir/config.status; then
2520 { { $as_echo "$as_me:$LINENO: error: source directory already configured; run \"make distclean\" there first" >&5
2521 $as_echo "$as_me: error: source directory already configured; run \"make distclean\" there first" >&2;}
2522 { (exit 1); exit 1; }; }
2526 # test whether we have cygpath
2527 if test -z "$CYGPATH_W"; then
2528 if (cygpath --version) >/dev/null 2>/dev/null; then
2529 CYGPATH_W='cygpath -w'
2536 # Define the identity of the package.
2541 cat >>confdefs.h <<_ACEOF
2542 #define PACKAGE "$PACKAGE"
2546 cat >>confdefs.h <<_ACEOF
2547 #define VERSION "$VERSION"
2550 # Some tools Automake needs.
2552 ACLOCAL=${ACLOCAL-"${am_missing_run}aclocal-${am__api_version}"}
2555 AUTOCONF=${AUTOCONF-"${am_missing_run}autoconf"}
2558 AUTOMAKE=${AUTOMAKE-"${am_missing_run}automake-${am__api_version}"}
2561 AUTOHEADER=${AUTOHEADER-"${am_missing_run}autoheader"}
2564 MAKEINFO=${MAKEINFO-"${am_missing_run}makeinfo"}
2566 install_sh=${install_sh-"\$(SHELL) $am_aux_dir/install-sh"}
2568 # Installed binaries are usually stripped using `strip' when the user
2569 # run `make install-strip'. However `strip' might not be the right
2570 # tool to use in cross-compilation environments, therefore Automake
2571 # will honor the `STRIP' environment variable to overrule this program.
2572 if test "$cross_compiling" != no; then
2573 if test -n "$ac_tool_prefix"; then
2574 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
2575 set dummy ${ac_tool_prefix}strip; ac_word=$2
2576 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
2577 $as_echo_n "checking for $ac_word... " >&6; }
2578 if test "${ac_cv_prog_STRIP+set}" = set; then
2579 $as_echo_n "(cached) " >&6
2581 if test -n "$STRIP"; then
2582 ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
2584 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2588 test -z "$as_dir" && as_dir=.
2589 for ac_exec_ext in '' $ac_executable_extensions; do
2590 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2591 ac_cv_prog_STRIP="${ac_tool_prefix}strip"
2592 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2601 STRIP=$ac_cv_prog_STRIP
2602 if test -n "$STRIP"; then
2603 { $as_echo "$as_me:$LINENO: result: $STRIP" >&5
2604 $as_echo "$STRIP" >&6; }
2606 { $as_echo "$as_me:$LINENO: result: no" >&5
2607 $as_echo "no" >&6; }
2612 if test -z "$ac_cv_prog_STRIP"; then
2614 # Extract the first word of "strip", so it can be a program name with args.
2615 set dummy strip; ac_word=$2
2616 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
2617 $as_echo_n "checking for $ac_word... " >&6; }
2618 if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then
2619 $as_echo_n "(cached) " >&6
2621 if test -n "$ac_ct_STRIP"; then
2622 ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
2624 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2628 test -z "$as_dir" && as_dir=.
2629 for ac_exec_ext in '' $ac_executable_extensions; do
2630 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2631 ac_cv_prog_ac_ct_STRIP="strip"
2632 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2641 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
2642 if test -n "$ac_ct_STRIP"; then
2643 { $as_echo "$as_me:$LINENO: result: $ac_ct_STRIP" >&5
2644 $as_echo "$ac_ct_STRIP" >&6; }
2646 { $as_echo "$as_me:$LINENO: result: no" >&5
2647 $as_echo "no" >&6; }
2650 if test "x$ac_ct_STRIP" = x; then
2653 case $cross_compiling:$ac_tool_warned in
2655 { $as_echo "$as_me:$LINENO: WARNING: using cross tools not prefixed with host triplet" >&5
2656 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
2657 ac_tool_warned=yes ;;
2662 STRIP="$ac_cv_prog_STRIP"
2666 INSTALL_STRIP_PROGRAM="\$(install_sh) -c -s"
2668 # We need awk for the "check" target. The system "awk" is bad on
2670 # Always define AMTAR for backward compatibility.
2672 AMTAR=${AMTAR-"${am_missing_run}tar"}
2674 am__tar='${AMTAR} chof - "$$tardir"'; am__untar='${AMTAR} xf -'
2684 # reasonable guesses for where stuff is installed
2685 if test "x$prefix" = "xNONE"; then
2686 prefix=$ac_default_prefix
2688 if test "x$exec_prefix" = "xNONE"; then
2692 { $as_echo "$as_me:$LINENO: checking whether to enable maintainer-specific portions of Makefiles" >&5
2693 $as_echo_n "checking whether to enable maintainer-specific portions of Makefiles... " >&6; }
2694 # Check whether --enable-maintainer-mode was given.
2695 if test "${enable_maintainer_mode+set}" = set; then
2696 enableval=$enable_maintainer_mode; USE_MAINTAINER_MODE=$enableval
2698 USE_MAINTAINER_MODE=no
2701 { $as_echo "$as_me:$LINENO: result: $USE_MAINTAINER_MODE" >&5
2702 $as_echo "$USE_MAINTAINER_MODE" >&6; }
2703 if test $USE_MAINTAINER_MODE = yes; then
2704 MAINTAINER_MODE_TRUE=
2705 MAINTAINER_MODE_FALSE='#'
2707 MAINTAINER_MODE_TRUE='#'
2708 MAINTAINER_MODE_FALSE=
2711 MAINT=$MAINTAINER_MODE_TRUE
2716 ac_cpp='$CPP $CPPFLAGS'
2717 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2718 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2719 ac_compiler_gnu=$ac_cv_c_compiler_gnu
2720 if test -n "$ac_tool_prefix"; then
2721 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
2722 set dummy ${ac_tool_prefix}gcc; ac_word=$2
2723 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
2724 $as_echo_n "checking for $ac_word... " >&6; }
2725 if test "${ac_cv_prog_CC+set}" = set; then
2726 $as_echo_n "(cached) " >&6
2728 if test -n "$CC"; then
2729 ac_cv_prog_CC="$CC" # Let the user override the test.
2731 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2735 test -z "$as_dir" && as_dir=.
2736 for ac_exec_ext in '' $ac_executable_extensions; do
2737 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2738 ac_cv_prog_CC="${ac_tool_prefix}gcc"
2739 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2749 if test -n "$CC"; then
2750 { $as_echo "$as_me:$LINENO: result: $CC" >&5
2751 $as_echo "$CC" >&6; }
2753 { $as_echo "$as_me:$LINENO: result: no" >&5
2754 $as_echo "no" >&6; }
2759 if test -z "$ac_cv_prog_CC"; then
2761 # Extract the first word of "gcc", so it can be a program name with args.
2762 set dummy gcc; ac_word=$2
2763 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
2764 $as_echo_n "checking for $ac_word... " >&6; }
2765 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
2766 $as_echo_n "(cached) " >&6
2768 if test -n "$ac_ct_CC"; then
2769 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
2771 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2775 test -z "$as_dir" && as_dir=.
2776 for ac_exec_ext in '' $ac_executable_extensions; do
2777 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2778 ac_cv_prog_ac_ct_CC="gcc"
2779 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2788 ac_ct_CC=$ac_cv_prog_ac_ct_CC
2789 if test -n "$ac_ct_CC"; then
2790 { $as_echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
2791 $as_echo "$ac_ct_CC" >&6; }
2793 { $as_echo "$as_me:$LINENO: result: no" >&5
2794 $as_echo "no" >&6; }
2797 if test "x$ac_ct_CC" = x; then
2800 case $cross_compiling:$ac_tool_warned in
2802 { $as_echo "$as_me:$LINENO: WARNING: using cross tools not prefixed with host triplet" >&5
2803 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
2804 ac_tool_warned=yes ;;
2812 if test -z "$CC"; then
2813 if test -n "$ac_tool_prefix"; then
2814 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
2815 set dummy ${ac_tool_prefix}cc; ac_word=$2
2816 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
2817 $as_echo_n "checking for $ac_word... " >&6; }
2818 if test "${ac_cv_prog_CC+set}" = set; then
2819 $as_echo_n "(cached) " >&6
2821 if test -n "$CC"; then
2822 ac_cv_prog_CC="$CC" # Let the user override the test.
2824 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2828 test -z "$as_dir" && as_dir=.
2829 for ac_exec_ext in '' $ac_executable_extensions; do
2830 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2831 ac_cv_prog_CC="${ac_tool_prefix}cc"
2832 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2842 if test -n "$CC"; then
2843 { $as_echo "$as_me:$LINENO: result: $CC" >&5
2844 $as_echo "$CC" >&6; }
2846 { $as_echo "$as_me:$LINENO: result: no" >&5
2847 $as_echo "no" >&6; }
2853 if test -z "$CC"; then
2854 # Extract the first word of "cc", so it can be a program name with args.
2855 set dummy cc; ac_word=$2
2856 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
2857 $as_echo_n "checking for $ac_word... " >&6; }
2858 if test "${ac_cv_prog_CC+set}" = set; then
2859 $as_echo_n "(cached) " >&6
2861 if test -n "$CC"; then
2862 ac_cv_prog_CC="$CC" # Let the user override the test.
2865 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2869 test -z "$as_dir" && as_dir=.
2870 for ac_exec_ext in '' $ac_executable_extensions; do
2871 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2872 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
2873 ac_prog_rejected=yes
2877 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2884 if test $ac_prog_rejected = yes; then
2885 # We found a bogon in the path, so make sure we never use it.
2886 set dummy $ac_cv_prog_CC
2888 if test $# != 0; then
2889 # We chose a different compiler from the bogus one.
2890 # However, it has the same basename, so the bogon will be chosen
2891 # first if we set CC to just the basename; use the full file name.
2893 ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
2899 if test -n "$CC"; then
2900 { $as_echo "$as_me:$LINENO: result: $CC" >&5
2901 $as_echo "$CC" >&6; }
2903 { $as_echo "$as_me:$LINENO: result: no" >&5
2904 $as_echo "no" >&6; }
2909 if test -z "$CC"; then
2910 if test -n "$ac_tool_prefix"; then
2911 for ac_prog in cl.exe
2913 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
2914 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
2915 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
2916 $as_echo_n "checking for $ac_word... " >&6; }
2917 if test "${ac_cv_prog_CC+set}" = set; then
2918 $as_echo_n "(cached) " >&6
2920 if test -n "$CC"; then
2921 ac_cv_prog_CC="$CC" # Let the user override the test.
2923 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2927 test -z "$as_dir" && as_dir=.
2928 for ac_exec_ext in '' $ac_executable_extensions; do
2929 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2930 ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
2931 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2941 if test -n "$CC"; then
2942 { $as_echo "$as_me:$LINENO: result: $CC" >&5
2943 $as_echo "$CC" >&6; }
2945 { $as_echo "$as_me:$LINENO: result: no" >&5
2946 $as_echo "no" >&6; }
2950 test -n "$CC" && break
2953 if test -z "$CC"; then
2955 for ac_prog in cl.exe
2957 # Extract the first word of "$ac_prog", so it can be a program name with args.
2958 set dummy $ac_prog; ac_word=$2
2959 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
2960 $as_echo_n "checking for $ac_word... " >&6; }
2961 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
2962 $as_echo_n "(cached) " >&6
2964 if test -n "$ac_ct_CC"; then
2965 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
2967 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2971 test -z "$as_dir" && as_dir=.
2972 for ac_exec_ext in '' $ac_executable_extensions; do
2973 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2974 ac_cv_prog_ac_ct_CC="$ac_prog"
2975 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2984 ac_ct_CC=$ac_cv_prog_ac_ct_CC
2985 if test -n "$ac_ct_CC"; then
2986 { $as_echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
2987 $as_echo "$ac_ct_CC" >&6; }
2989 { $as_echo "$as_me:$LINENO: result: no" >&5
2990 $as_echo "no" >&6; }
2994 test -n "$ac_ct_CC" && break
2997 if test "x$ac_ct_CC" = x; then
3000 case $cross_compiling:$ac_tool_warned in
3002 { $as_echo "$as_me:$LINENO: WARNING: using cross tools not prefixed with host triplet" >&5
3003 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3004 ac_tool_warned=yes ;;
3013 test -z "$CC" && { { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
3014 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3015 { { $as_echo "$as_me:$LINENO: error: no acceptable C compiler found in \$PATH
3016 See \`config.log' for more details." >&5
3017 $as_echo "$as_me: error: no acceptable C compiler found in \$PATH
3018 See \`config.log' for more details." >&2;}
3019 { (exit 1); exit 1; }; }; }
3021 # Provide some information about the compiler.
3022 $as_echo "$as_me:$LINENO: checking for C compiler version" >&5
3025 { (ac_try="$ac_compiler --version >&5"
3027 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3028 *) ac_try_echo=$ac_try;;
3030 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
3031 $as_echo "$ac_try_echo") >&5
3032 (eval "$ac_compiler --version >&5") 2>&5
3034 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
3035 (exit $ac_status); }
3036 { (ac_try="$ac_compiler -v >&5"
3038 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3039 *) ac_try_echo=$ac_try;;
3041 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
3042 $as_echo "$ac_try_echo") >&5
3043 (eval "$ac_compiler -v >&5") 2>&5
3045 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
3046 (exit $ac_status); }
3047 { (ac_try="$ac_compiler -V >&5"
3049 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3050 *) ac_try_echo=$ac_try;;
3052 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
3053 $as_echo "$ac_try_echo") >&5
3054 (eval "$ac_compiler -V >&5") 2>&5
3056 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
3057 (exit $ac_status); }
3059 cat >conftest.$ac_ext <<_ACEOF
3062 cat confdefs.h >>conftest.$ac_ext
3063 cat >>conftest.$ac_ext <<_ACEOF
3064 /* end confdefs.h. */
3074 ac_clean_files_save=$ac_clean_files
3075 ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out"
3076 # Try to create an executable without -o first, disregard a.out.
3077 # It will help us diagnose broken compilers, and finding out an intuition
3079 { $as_echo "$as_me:$LINENO: checking for C compiler default output file name" >&5
3080 $as_echo_n "checking for C compiler default output file name... " >&6; }
3081 ac_link_default=`$as_echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
3083 # The possible output files:
3084 ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*"
3087 for ac_file in $ac_files
3090 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
3091 * ) ac_rmfiles="$ac_rmfiles $ac_file";;
3096 if { (ac_try="$ac_link_default"
3098 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3099 *) ac_try_echo=$ac_try;;
3101 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
3102 $as_echo "$ac_try_echo") >&5
3103 (eval "$ac_link_default") 2>&5
3105 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
3106 (exit $ac_status); }; then
3107 # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
3108 # So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
3109 # in a Makefile. We should not override ac_cv_exeext if it was cached,
3110 # so that the user can short-circuit this test for compilers unknown to
3112 for ac_file in $ac_files ''
3114 test -f "$ac_file" || continue
3116 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj )
3119 # We found the default executable, but exeext='' is most
3123 if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no;
3125 ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
3127 # We set ac_cv_exeext here because the later test for it is not
3128 # safe: cross compilers may not add the suffix if given an `-o'
3129 # argument, so we may need to know it at that point already.
3130 # Even if this section looks crufty: it has the advantage of
3137 test "$ac_cv_exeext" = no && ac_cv_exeext=
3143 { $as_echo "$as_me:$LINENO: result: $ac_file" >&5
3144 $as_echo "$ac_file" >&6; }
3145 if test -z "$ac_file"; then
3146 $as_echo "$as_me: failed program was:" >&5
3147 sed 's/^/| /' conftest.$ac_ext >&5
3149 { { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
3150 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3151 { { $as_echo "$as_me:$LINENO: error: C compiler cannot create executables
3152 See \`config.log' for more details." >&5
3153 $as_echo "$as_me: error: C compiler cannot create executables
3154 See \`config.log' for more details." >&2;}
3155 { (exit 77); exit 77; }; }; }
3158 ac_exeext=$ac_cv_exeext
3160 # Check that the compiler produces executables we can run. If not, either
3161 # the compiler is broken, or we cross compile.
3162 { $as_echo "$as_me:$LINENO: checking whether the C compiler works" >&5
3163 $as_echo_n "checking whether the C compiler works... " >&6; }
3164 # FIXME: These cross compiler hacks should be removed for Autoconf 3.0
3165 # If not cross compiling, check that we can run a simple program.
3166 if test "$cross_compiling" != yes; then
3167 if { ac_try='./$ac_file'
3168 { (case "(($ac_try" in
3169 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3170 *) ac_try_echo=$ac_try;;
3172 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
3173 $as_echo "$ac_try_echo") >&5
3174 (eval "$ac_try") 2>&5
3176 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
3177 (exit $ac_status); }; }; then
3180 if test "$cross_compiling" = maybe; then
3183 { { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
3184 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3185 { { $as_echo "$as_me:$LINENO: error: cannot run C compiled programs.
3186 If you meant to cross compile, use \`--host'.
3187 See \`config.log' for more details." >&5
3188 $as_echo "$as_me: error: cannot run C compiled programs.
3189 If you meant to cross compile, use \`--host'.
3190 See \`config.log' for more details." >&2;}
3191 { (exit 1); exit 1; }; }; }
3195 { $as_echo "$as_me:$LINENO: result: yes" >&5
3196 $as_echo "yes" >&6; }
3198 rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out
3199 ac_clean_files=$ac_clean_files_save
3200 # Check that the compiler produces executables we can run. If not, either
3201 # the compiler is broken, or we cross compile.
3202 { $as_echo "$as_me:$LINENO: checking whether we are cross compiling" >&5
3203 $as_echo_n "checking whether we are cross compiling... " >&6; }
3204 { $as_echo "$as_me:$LINENO: result: $cross_compiling" >&5
3205 $as_echo "$cross_compiling" >&6; }
3207 { $as_echo "$as_me:$LINENO: checking for suffix of executables" >&5
3208 $as_echo_n "checking for suffix of executables... " >&6; }
3209 if { (ac_try="$ac_link"
3211 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3212 *) ac_try_echo=$ac_try;;
3214 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
3215 $as_echo "$ac_try_echo") >&5
3216 (eval "$ac_link") 2>&5
3218 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
3219 (exit $ac_status); }; then
3220 # If both `conftest.exe' and `conftest' are `present' (well, observable)
3221 # catch `conftest.exe'. For instance with Cygwin, `ls conftest' will
3222 # work properly (i.e., refer to `conftest.exe'), while it won't with
3224 for ac_file in conftest.exe conftest conftest.*; do
3225 test -f "$ac_file" || continue
3227 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
3228 *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
3234 { { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
3235 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3236 { { $as_echo "$as_me:$LINENO: error: cannot compute suffix of executables: cannot compile and link
3237 See \`config.log' for more details." >&5
3238 $as_echo "$as_me: error: cannot compute suffix of executables: cannot compile and link
3239 See \`config.log' for more details." >&2;}
3240 { (exit 1); exit 1; }; }; }
3243 rm -f conftest$ac_cv_exeext
3244 { $as_echo "$as_me:$LINENO: result: $ac_cv_exeext" >&5
3245 $as_echo "$ac_cv_exeext" >&6; }
3247 rm -f conftest.$ac_ext
3248 EXEEXT=$ac_cv_exeext
3250 { $as_echo "$as_me:$LINENO: checking for suffix of object files" >&5
3251 $as_echo_n "checking for suffix of object files... " >&6; }
3252 if test "${ac_cv_objext+set}" = set; then
3253 $as_echo_n "(cached) " >&6
3255 cat >conftest.$ac_ext <<_ACEOF
3258 cat confdefs.h >>conftest.$ac_ext
3259 cat >>conftest.$ac_ext <<_ACEOF
3260 /* end confdefs.h. */
3270 rm -f conftest.o conftest.obj
3271 if { (ac_try="$ac_compile"
3273 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3274 *) ac_try_echo=$ac_try;;
3276 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
3277 $as_echo "$ac_try_echo") >&5
3278 (eval "$ac_compile") 2>&5
3280 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
3281 (exit $ac_status); }; then
3282 for ac_file in conftest.o conftest.obj conftest.*; do
3283 test -f "$ac_file" || continue;
3285 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;;
3286 *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
3291 $as_echo "$as_me: failed program was:" >&5
3292 sed 's/^/| /' conftest.$ac_ext >&5
3294 { { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
3295 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3296 { { $as_echo "$as_me:$LINENO: error: cannot compute suffix of object files: cannot compile
3297 See \`config.log' for more details." >&5
3298 $as_echo "$as_me: error: cannot compute suffix of object files: cannot compile
3299 See \`config.log' for more details." >&2;}
3300 { (exit 1); exit 1; }; }; }
3303 rm -f conftest.$ac_cv_objext conftest.$ac_ext
3305 { $as_echo "$as_me:$LINENO: result: $ac_cv_objext" >&5
3306 $as_echo "$ac_cv_objext" >&6; }
3307 OBJEXT=$ac_cv_objext
3309 { $as_echo "$as_me:$LINENO: checking whether we are using the GNU C compiler" >&5
3310 $as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
3311 if test "${ac_cv_c_compiler_gnu+set}" = set; then
3312 $as_echo_n "(cached) " >&6
3314 cat >conftest.$ac_ext <<_ACEOF
3317 cat confdefs.h >>conftest.$ac_ext
3318 cat >>conftest.$ac_ext <<_ACEOF
3319 /* end confdefs.h. */
3332 rm -f conftest.$ac_objext
3333 if { (ac_try="$ac_compile"
3335 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3336 *) ac_try_echo=$ac_try;;
3338 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
3339 $as_echo "$ac_try_echo") >&5
3340 (eval "$ac_compile") 2>conftest.er1
3342 grep -v '^ *+' conftest.er1 >conftest.err
3344 cat conftest.err >&5
3345 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
3346 (exit $ac_status); } && {
3347 test -z "$ac_c_werror_flag" ||
3348 test ! -s conftest.err
3349 } && test -s conftest.$ac_objext; then
3352 $as_echo "$as_me: failed program was:" >&5
3353 sed 's/^/| /' conftest.$ac_ext >&5
3358 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3359 ac_cv_c_compiler_gnu=$ac_compiler_gnu
3362 { $as_echo "$as_me:$LINENO: result: $ac_cv_c_compiler_gnu" >&5
3363 $as_echo "$ac_cv_c_compiler_gnu" >&6; }
3364 if test $ac_compiler_gnu = yes; then
3369 ac_test_CFLAGS=${CFLAGS+set}
3370 ac_save_CFLAGS=$CFLAGS
3371 { $as_echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5
3372 $as_echo_n "checking whether $CC accepts -g... " >&6; }
3373 if test "${ac_cv_prog_cc_g+set}" = set; then
3374 $as_echo_n "(cached) " >&6
3376 ac_save_c_werror_flag=$ac_c_werror_flag
3377 ac_c_werror_flag=yes
3380 cat >conftest.$ac_ext <<_ACEOF
3383 cat confdefs.h >>conftest.$ac_ext
3384 cat >>conftest.$ac_ext <<_ACEOF
3385 /* end confdefs.h. */
3395 rm -f conftest.$ac_objext
3396 if { (ac_try="$ac_compile"
3398 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3399 *) ac_try_echo=$ac_try;;
3401 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
3402 $as_echo "$ac_try_echo") >&5
3403 (eval "$ac_compile") 2>conftest.er1
3405 grep -v '^ *+' conftest.er1 >conftest.err
3407 cat conftest.err >&5
3408 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
3409 (exit $ac_status); } && {
3410 test -z "$ac_c_werror_flag" ||
3411 test ! -s conftest.err
3412 } && test -s conftest.$ac_objext; then
3415 $as_echo "$as_me: failed program was:" >&5
3416 sed 's/^/| /' conftest.$ac_ext >&5
3419 cat >conftest.$ac_ext <<_ACEOF
3422 cat confdefs.h >>conftest.$ac_ext
3423 cat >>conftest.$ac_ext <<_ACEOF
3424 /* end confdefs.h. */
3434 rm -f conftest.$ac_objext
3435 if { (ac_try="$ac_compile"
3437 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3438 *) ac_try_echo=$ac_try;;
3440 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
3441 $as_echo "$ac_try_echo") >&5
3442 (eval "$ac_compile") 2>conftest.er1
3444 grep -v '^ *+' conftest.er1 >conftest.err
3446 cat conftest.err >&5
3447 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
3448 (exit $ac_status); } && {
3449 test -z "$ac_c_werror_flag" ||
3450 test ! -s conftest.err
3451 } && test -s conftest.$ac_objext; then
3454 $as_echo "$as_me: failed program was:" >&5
3455 sed 's/^/| /' conftest.$ac_ext >&5
3457 ac_c_werror_flag=$ac_save_c_werror_flag
3459 cat >conftest.$ac_ext <<_ACEOF
3462 cat confdefs.h >>conftest.$ac_ext
3463 cat >>conftest.$ac_ext <<_ACEOF
3464 /* end confdefs.h. */
3474 rm -f conftest.$ac_objext
3475 if { (ac_try="$ac_compile"
3477 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3478 *) ac_try_echo=$ac_try;;
3480 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
3481 $as_echo "$ac_try_echo") >&5
3482 (eval "$ac_compile") 2>conftest.er1
3484 grep -v '^ *+' conftest.er1 >conftest.err
3486 cat conftest.err >&5
3487 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
3488 (exit $ac_status); } && {
3489 test -z "$ac_c_werror_flag" ||
3490 test ! -s conftest.err
3491 } && test -s conftest.$ac_objext; then
3494 $as_echo "$as_me: failed program was:" >&5
3495 sed 's/^/| /' conftest.$ac_ext >&5
3500 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3503 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3506 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3507 ac_c_werror_flag=$ac_save_c_werror_flag
3509 { $as_echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
3510 $as_echo "$ac_cv_prog_cc_g" >&6; }
3511 if test "$ac_test_CFLAGS" = set; then
3512 CFLAGS=$ac_save_CFLAGS
3513 elif test $ac_cv_prog_cc_g = yes; then
3514 if test "$GCC" = yes; then
3520 if test "$GCC" = yes; then
3526 { $as_echo "$as_me:$LINENO: checking for $CC option to accept ISO C89" >&5
3527 $as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
3528 if test "${ac_cv_prog_cc_c89+set}" = set; then
3529 $as_echo_n "(cached) " >&6
3531 ac_cv_prog_cc_c89=no
3533 cat >conftest.$ac_ext <<_ACEOF
3536 cat confdefs.h >>conftest.$ac_ext
3537 cat >>conftest.$ac_ext <<_ACEOF
3538 /* end confdefs.h. */
3541 #include <sys/types.h>
3542 #include <sys/stat.h>
3543 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
3544 struct buf { int x; };
3545 FILE * (*rcsopen) (struct buf *, struct stat *, int);
3546 static char *e (p, i)
3552 static char *f (char * (*g) (char **, int), char **p, ...)
3557 s = g (p, va_arg (v,int));
3562 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
3563 function prototypes and stuff, but not '\xHH' hex character constants.
3564 These don't provoke an error unfortunately, instead are silently treated
3565 as 'x'. The following induces an error, until -std is added to get
3566 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
3567 array size at least. It's necessary to write '\x00'==0 to get something
3568 that's true only with -std. */
3569 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
3571 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
3572 inside strings and character constants. */
3574 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
3576 int test (int i, double x);
3577 struct s1 {int (*f) (int a);};
3578 struct s2 {int (*f) (double a);};
3579 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
3585 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
3590 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
3591 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
3593 CC="$ac_save_CC $ac_arg"
3594 rm -f conftest.$ac_objext
3595 if { (ac_try="$ac_compile"
3597 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3598 *) ac_try_echo=$ac_try;;
3600 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
3601 $as_echo "$ac_try_echo") >&5
3602 (eval "$ac_compile") 2>conftest.er1
3604 grep -v '^ *+' conftest.er1 >conftest.err
3606 cat conftest.err >&5
3607 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
3608 (exit $ac_status); } && {
3609 test -z "$ac_c_werror_flag" ||
3610 test ! -s conftest.err
3611 } && test -s conftest.$ac_objext; then
3612 ac_cv_prog_cc_c89=$ac_arg
3614 $as_echo "$as_me: failed program was:" >&5
3615 sed 's/^/| /' conftest.$ac_ext >&5
3620 rm -f core conftest.err conftest.$ac_objext
3621 test "x$ac_cv_prog_cc_c89" != "xno" && break
3623 rm -f conftest.$ac_ext
3628 case "x$ac_cv_prog_cc_c89" in
3630 { $as_echo "$as_me:$LINENO: result: none needed" >&5
3631 $as_echo "none needed" >&6; } ;;
3633 { $as_echo "$as_me:$LINENO: result: unsupported" >&5
3634 $as_echo "unsupported" >&6; } ;;
3636 CC="$CC $ac_cv_prog_cc_c89"
3637 { $as_echo "$as_me:$LINENO: result: $ac_cv_prog_cc_c89" >&5
3638 $as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
3643 ac_cpp='$CPP $CPPFLAGS'
3644 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3645 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3646 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3647 DEPDIR="${am__leading_dot}deps"
3649 ac_config_commands="$ac_config_commands depfiles"
3652 am_make=${MAKE-make}
3653 cat > confinc << 'END'
3658 # If we don't find an include directive, just comment out the code.
3659 { $as_echo "$as_me:$LINENO: checking for style of include used by $am_make" >&5
3660 $as_echo_n "checking for style of include used by $am_make... " >&6; }
3664 # First try GNU make style include.
3665 echo "include confinc" > confmf
3666 # We grep out `Entering directory' and `Leaving directory'
3667 # messages which can occur if `w' ends up in MAKEFLAGS.
3668 # In particular we don't look at `^make:' because GNU make might
3669 # be invoked under some other name (usually "gmake"), in which
3670 # case it prints its new name instead of `make'.
3671 if test "`$am_make -s -f confmf 2> /dev/null | grep -v 'ing directory'`" = "done"; then
3676 # Now try BSD make style include.
3677 if test "$am__include" = "#"; then
3678 echo '.include "confinc"' > confmf
3679 if test "`$am_make -s -f confmf 2> /dev/null`" = "done"; then
3680 am__include=.include
3687 { $as_echo "$as_me:$LINENO: result: $_am_result" >&5
3688 $as_echo "$_am_result" >&6; }
3689 rm -f confinc confmf
3691 # Check whether --enable-dependency-tracking was given.
3692 if test "${enable_dependency_tracking+set}" = set; then
3693 enableval=$enable_dependency_tracking;
3696 if test "x$enable_dependency_tracking" != xno; then
3697 am_depcomp="$ac_aux_dir/depcomp"
3700 if test "x$enable_dependency_tracking" != xno; then
3710 depcc="$CC" am_compiler_list=
3712 { $as_echo "$as_me:$LINENO: checking dependency style of $depcc" >&5
3713 $as_echo_n "checking dependency style of $depcc... " >&6; }
3714 if test "${am_cv_CC_dependencies_compiler_type+set}" = set; then
3715 $as_echo_n "(cached) " >&6
3717 if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
3718 # We make a subdir and do the tests there. Otherwise we can end up
3719 # making bogus files that we don't know about and never remove. For
3720 # instance it was reported that on HP-UX the gcc test will end up
3721 # making a dummy file named `D' -- because `-MD' means `put the output
3724 # Copy depcomp to subdir because otherwise we won't find it if we're
3725 # using a relative directory.
3726 cp "$am_depcomp" conftest.dir
3728 # We will build objects and dependencies in a subdirectory because
3729 # it helps to detect inapplicable dependency modes. For instance
3730 # both Tru64's cc and ICC support -MD to output dependencies as a
3731 # side effect of compilation, but ICC will put the dependencies in
3732 # the current directory while Tru64 will put them in the object
3736 am_cv_CC_dependencies_compiler_type=none
3737 if test "$am_compiler_list" = ""; then
3738 am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
3740 for depmode in $am_compiler_list; do
3741 # Setup a source with many dependencies, because some compilers
3742 # like to wrap large dependency lists on column 80 (with \), and
3743 # we should not choose a depcomp mode which is confused by this.
3745 # We need to recreate these files for each test, as the compiler may
3746 # overwrite some of them when testing with obscure command lines.
3747 # This happens at least with the AIX C compiler.
3749 for i in 1 2 3 4 5 6; do
3750 echo '#include "conftst'$i'.h"' >> sub/conftest.c
3751 # Using `: > sub/conftst$i.h' creates only sub/conftst1.h with
3752 # Solaris 8's {/usr,}/bin/sh.
3753 touch sub/conftst$i.h
3755 echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
3759 # after this tag, mechanisms are not by side-effect, so they'll
3760 # only be used when explicitly requested
3761 if test "x$enable_dependency_tracking" = xyes; then
3769 # We check with `-c' and `-o' for the sake of the "dashmstdout"
3770 # mode. It turns out that the SunPro C++ compiler does not properly
3771 # handle `-M -o', and we need to detect this.
3772 if depmode=$depmode \
3773 source=sub/conftest.c object=sub/conftest.${OBJEXT-o} \
3774 depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
3775 $SHELL ./depcomp $depcc -c -o sub/conftest.${OBJEXT-o} sub/conftest.c \
3776 >/dev/null 2>conftest.err &&
3777 grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 &&
3778 grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
3779 grep sub/conftest.${OBJEXT-o} sub/conftest.Po > /dev/null 2>&1 &&
3780 ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
3781 # icc doesn't choke on unknown options, it will just issue warnings
3782 # or remarks (even with -Werror). So we grep stderr for any message
3783 # that says an option was ignored or not supported.
3784 # When given -MP, icc 7.0 and 7.1 complain thusly:
3785 # icc: Command line warning: ignoring option '-M'; no argument required
3786 # The diagnosis changed in icc 8.0:
3787 # icc: Command line remark: option '-MP' not supported
3788 if (grep 'ignoring option' conftest.err ||
3789 grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
3790 am_cv_CC_dependencies_compiler_type=$depmode
3799 am_cv_CC_dependencies_compiler_type=none
3803 { $as_echo "$as_me:$LINENO: result: $am_cv_CC_dependencies_compiler_type" >&5
3804 $as_echo "$am_cv_CC_dependencies_compiler_type" >&6; }
3805 CCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type
3808 test "x$enable_dependency_tracking" != xno \
3809 && test "$am_cv_CC_dependencies_compiler_type" = gcc3; then
3811 am__fastdepCC_FALSE='#'
3813 am__fastdepCC_TRUE='#'
3814 am__fastdepCC_FALSE=
3818 if test "x$CC" != xcc; then
3819 { $as_echo "$as_me:$LINENO: checking whether $CC and cc understand -c and -o together" >&5
3820 $as_echo_n "checking whether $CC and cc understand -c and -o together... " >&6; }
3822 { $as_echo "$as_me:$LINENO: checking whether cc understands -c and -o together" >&5
3823 $as_echo_n "checking whether cc understands -c and -o together... " >&6; }
3825 set dummy $CC; ac_cc=`$as_echo "$2" |
3826 sed 's/[^a-zA-Z0-9_]/_/g;s/^[0-9]/_/'`
3827 if { as_var=ac_cv_prog_cc_${ac_cc}_c_o; eval "test \"\${$as_var+set}\" = set"; }; then
3828 $as_echo_n "(cached) " >&6
3830 cat >conftest.$ac_ext <<_ACEOF
3833 cat confdefs.h >>conftest.$ac_ext
3834 cat >>conftest.$ac_ext <<_ACEOF
3835 /* end confdefs.h. */
3845 # Make sure it works both with $CC and with simple cc.
3846 # We do the test twice because some compilers refuse to overwrite an
3847 # existing .o file with -o, though they will create one.
3848 ac_try='$CC -c conftest.$ac_ext -o conftest2.$ac_objext >&5'
3850 if { (case "(($ac_try" in
3851 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3852 *) ac_try_echo=$ac_try;;
3854 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
3855 $as_echo "$ac_try_echo") >&5
3856 (eval "$ac_try") 2>&5
3858 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
3859 (exit $ac_status); } &&
3860 test -f conftest2.$ac_objext && { (case "(($ac_try" in
3861 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3862 *) ac_try_echo=$ac_try;;
3864 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
3865 $as_echo "$ac_try_echo") >&5
3866 (eval "$ac_try") 2>&5
3868 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
3869 (exit $ac_status); };
3871 eval ac_cv_prog_cc_${ac_cc}_c_o=yes
3872 if test "x$CC" != xcc; then
3873 # Test first that cc exists at all.
3874 if { ac_try='cc -c conftest.$ac_ext >&5'
3875 { (case "(($ac_try" in
3876 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3877 *) ac_try_echo=$ac_try;;
3879 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
3880 $as_echo "$ac_try_echo") >&5
3881 (eval "$ac_try") 2>&5
3883 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
3884 (exit $ac_status); }; }; then
3885 ac_try='cc -c conftest.$ac_ext -o conftest2.$ac_objext >&5'
3887 if { (case "(($ac_try" in
3888 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3889 *) ac_try_echo=$ac_try;;
3891 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
3892 $as_echo "$ac_try_echo") >&5
3893 (eval "$ac_try") 2>&5
3895 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
3896 (exit $ac_status); } &&
3897 test -f conftest2.$ac_objext && { (case "(($ac_try" in
3898 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3899 *) ac_try_echo=$ac_try;;
3901 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
3902 $as_echo "$ac_try_echo") >&5
3903 (eval "$ac_try") 2>&5
3905 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
3906 (exit $ac_status); };
3911 # cc exists but doesn't like -o.
3912 eval ac_cv_prog_cc_${ac_cc}_c_o=no
3917 eval ac_cv_prog_cc_${ac_cc}_c_o=no
3919 rm -f core conftest*
3922 if eval test \$ac_cv_prog_cc_${ac_cc}_c_o = yes; then
3923 { $as_echo "$as_me:$LINENO: result: yes" >&5
3924 $as_echo "yes" >&6; }
3926 { $as_echo "$as_me:$LINENO: result: no" >&5
3927 $as_echo "no" >&6; }
3929 cat >>confdefs.h <<\_ACEOF
3930 #define NO_MINUS_C_MINUS_O 1
3935 # FIXME: we rely on the cache variable name because
3936 # there is no other way.
3938 ac_cc=`echo $2 | sed 's/[^a-zA-Z0-9_]/_/g;s/^[0-9]/_/'`
3939 if eval "test \"`echo '$ac_cv_prog_cc_'${ac_cc}_c_o`\" != yes"; then
3940 # Losing compiler, so override with the script.
3941 # FIXME: It is wrong to rewrite CC.
3942 # But if we don't then we get into trouble of one sort or another.
3943 # A longer-term fix would be to have automake use am__CC in this case,
3944 # and then we could set am__CC="\$(top_srcdir)/compile \$(CC)"
3945 CC="$am_aux_dir/compile $CC"
3950 { $as_echo "$as_me:$LINENO: checking whether ${MAKE-make} sets \$(MAKE)" >&5
3951 $as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; }
3953 ac_make=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
3954 if { as_var=ac_cv_prog_make_${ac_make}_set; eval "test \"\${$as_var+set}\" = set"; }; then
3955 $as_echo_n "(cached) " >&6
3957 cat >conftest.make <<\_ACEOF
3960 @echo '@@@%%%=$(MAKE)=@@@%%%'
3962 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
3963 case `${MAKE-make} -f conftest.make 2>/dev/null` in
3965 eval ac_cv_prog_make_${ac_make}_set=yes;;
3967 eval ac_cv_prog_make_${ac_make}_set=no;;
3971 if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then
3972 { $as_echo "$as_me:$LINENO: result: yes" >&5
3973 $as_echo "yes" >&6; }
3976 { $as_echo "$as_me:$LINENO: result: no" >&5
3977 $as_echo "no" >&6; }
3978 SET_MAKE="MAKE=${MAKE-make}"
3981 # Find a good install program. We prefer a C program (faster),
3982 # so one script is as good as another. But avoid the broken or
3983 # incompatible versions:
3984 # SysV /etc/install, /usr/sbin/install
3985 # SunOS /usr/etc/install
3986 # IRIX /sbin/install
3988 # AmigaOS /C/install, which installs bootblocks on floppy discs
3989 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
3990 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
3991 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
3992 # OS/2's system install, which has a completely different semantic
3993 # ./install, which can be erroneously created by make from ./install.sh.
3994 # Reject install programs that cannot install multiple files.
3995 { $as_echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
3996 $as_echo_n "checking for a BSD-compatible install... " >&6; }
3997 if test -z "$INSTALL"; then
3998 if test "${ac_cv_path_install+set}" = set; then
3999 $as_echo_n "(cached) " >&6
4001 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4005 test -z "$as_dir" && as_dir=.
4006 # Account for people who put trailing slashes in PATH elements.
4008 ./ | .// | /cC/* | \
4009 /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
4010 ?:\\/os2\\/install\\/* | ?:\\/OS2\\/INSTALL\\/* | \
4013 # OSF1 and SCO ODT 3.0 have their own names for install.
4014 # Don't use installbsd from OSF since it installs stuff as root
4016 for ac_prog in ginstall scoinst install; do
4017 for ac_exec_ext in '' $ac_executable_extensions; do
4018 if { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; }; then
4019 if test $ac_prog = install &&
4020 grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
4021 # AIX install. It has an incompatible calling convention.
4023 elif test $ac_prog = install &&
4024 grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
4025 # program-specific install script used by HP pwplus--don't use.
4028 rm -rf conftest.one conftest.two conftest.dir
4029 echo one > conftest.one
4030 echo two > conftest.two
4032 if "$as_dir/$ac_prog$ac_exec_ext" -c conftest.one conftest.two "`pwd`/conftest.dir" &&
4033 test -s conftest.one && test -s conftest.two &&
4034 test -s conftest.dir/conftest.one &&
4035 test -s conftest.dir/conftest.two
4037 ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
4050 rm -rf conftest.one conftest.two conftest.dir
4053 if test "${ac_cv_path_install+set}" = set; then
4054 INSTALL=$ac_cv_path_install
4056 # As a last resort, use the slow shell script. Don't cache a
4057 # value for INSTALL within a source directory, because that will
4058 # break other packages using the cache if that directory is
4059 # removed, or if the value is a relative name.
4060 INSTALL=$ac_install_sh
4063 { $as_echo "$as_me:$LINENO: result: $INSTALL" >&5
4064 $as_echo "$INSTALL" >&6; }
4066 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
4067 # It thinks the first close brace ends the variable substitution.
4068 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
4070 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
4072 test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
4077 if test "x$ac_cv_env_PKG_CONFIG_set" != "xset"; then
4078 if test -n "$ac_tool_prefix"; then
4079 # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
4080 set dummy ${ac_tool_prefix}pkg-config; ac_word=$2
4081 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
4082 $as_echo_n "checking for $ac_word... " >&6; }
4083 if test "${ac_cv_path_PKG_CONFIG+set}" = set; then
4084 $as_echo_n "(cached) " >&6
4088 ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path.
4091 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4095 test -z "$as_dir" && as_dir=.
4096 for ac_exec_ext in '' $ac_executable_extensions; do
4097 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4098 ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
4099 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4109 PKG_CONFIG=$ac_cv_path_PKG_CONFIG
4110 if test -n "$PKG_CONFIG"; then
4111 { $as_echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5
4112 $as_echo "$PKG_CONFIG" >&6; }
4114 { $as_echo "$as_me:$LINENO: result: no" >&5
4115 $as_echo "no" >&6; }
4120 if test -z "$ac_cv_path_PKG_CONFIG"; then
4121 ac_pt_PKG_CONFIG=$PKG_CONFIG
4122 # Extract the first word of "pkg-config", so it can be a program name with args.
4123 set dummy pkg-config; ac_word=$2
4124 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
4125 $as_echo_n "checking for $ac_word... " >&6; }
4126 if test "${ac_cv_path_ac_pt_PKG_CONFIG+set}" = set; then
4127 $as_echo_n "(cached) " >&6
4129 case $ac_pt_PKG_CONFIG in
4131 ac_cv_path_ac_pt_PKG_CONFIG="$ac_pt_PKG_CONFIG" # Let the user override the test with a path.
4134 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4138 test -z "$as_dir" && as_dir=.
4139 for ac_exec_ext in '' $ac_executable_extensions; do
4140 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4141 ac_cv_path_ac_pt_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
4142 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4152 ac_pt_PKG_CONFIG=$ac_cv_path_ac_pt_PKG_CONFIG
4153 if test -n "$ac_pt_PKG_CONFIG"; then
4154 { $as_echo "$as_me:$LINENO: result: $ac_pt_PKG_CONFIG" >&5
4155 $as_echo "$ac_pt_PKG_CONFIG" >&6; }
4157 { $as_echo "$as_me:$LINENO: result: no" >&5
4158 $as_echo "no" >&6; }
4161 if test "x$ac_pt_PKG_CONFIG" = x; then
4164 case $cross_compiling:$ac_tool_warned in
4166 { $as_echo "$as_me:$LINENO: WARNING: using cross tools not prefixed with host triplet" >&5
4167 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4168 ac_tool_warned=yes ;;
4170 PKG_CONFIG=$ac_pt_PKG_CONFIG
4173 PKG_CONFIG="$ac_cv_path_PKG_CONFIG"
4177 if test -n "$PKG_CONFIG"; then
4178 _pkg_min_version=0.9.0
4179 { $as_echo "$as_me:$LINENO: checking pkg-config is at least version $_pkg_min_version" >&5
4180 $as_echo_n "checking pkg-config is at least version $_pkg_min_version... " >&6; }
4181 if $PKG_CONFIG --atleast-pkgconfig-version $_pkg_min_version; then
4182 { $as_echo "$as_me:$LINENO: result: yes" >&5
4183 $as_echo "yes" >&6; }
4185 { $as_echo "$as_me:$LINENO: result: no" >&5
4186 $as_echo "no" >&6; }
4194 ac_cpp='$CPP $CPPFLAGS'
4195 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4196 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4197 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4198 { $as_echo "$as_me:$LINENO: checking how to run the C preprocessor" >&5
4199 $as_echo_n "checking how to run the C preprocessor... " >&6; }
4200 # On Suns, sometimes $CPP names a directory.
4201 if test -n "$CPP" && test -d "$CPP"; then
4204 if test -z "$CPP"; then
4205 if test "${ac_cv_prog_CPP+set}" = set; then
4206 $as_echo_n "(cached) " >&6
4208 # Double quotes because CPP needs to be expanded
4209 for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
4212 for ac_c_preproc_warn_flag in '' yes
4214 # Use a header file that comes with gcc, so configuring glibc
4215 # with a fresh cross-compiler works.
4216 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
4217 # <limits.h> exists even on freestanding compilers.
4218 # On the NeXT, cc -E runs the code through the compiler's parser,
4219 # not just through cpp. "Syntax error" is here to catch this case.
4220 cat >conftest.$ac_ext <<_ACEOF
4223 cat confdefs.h >>conftest.$ac_ext
4224 cat >>conftest.$ac_ext <<_ACEOF
4225 /* end confdefs.h. */
4227 # include <limits.h>
4229 # include <assert.h>
4233 if { (ac_try="$ac_cpp conftest.$ac_ext"
4235 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4236 *) ac_try_echo=$ac_try;;
4238 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
4239 $as_echo "$ac_try_echo") >&5
4240 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
4242 grep -v '^ *+' conftest.er1 >conftest.err
4244 cat conftest.err >&5
4245 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
4246 (exit $ac_status); } >/dev/null && {
4247 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
4248 test ! -s conftest.err
4252 $as_echo "$as_me: failed program was:" >&5
4253 sed 's/^/| /' conftest.$ac_ext >&5
4255 # Broken: fails on valid input.
4259 rm -f conftest.err conftest.$ac_ext
4261 # OK, works on sane cases. Now check whether nonexistent headers
4262 # can be detected and how.
4263 cat >conftest.$ac_ext <<_ACEOF
4266 cat confdefs.h >>conftest.$ac_ext
4267 cat >>conftest.$ac_ext <<_ACEOF
4268 /* end confdefs.h. */
4269 #include <ac_nonexistent.h>
4271 if { (ac_try="$ac_cpp conftest.$ac_ext"
4273 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4274 *) ac_try_echo=$ac_try;;
4276 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
4277 $as_echo "$ac_try_echo") >&5
4278 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
4280 grep -v '^ *+' conftest.er1 >conftest.err
4282 cat conftest.err >&5
4283 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
4284 (exit $ac_status); } >/dev/null && {
4285 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
4286 test ! -s conftest.err
4288 # Broken: success on invalid input.
4291 $as_echo "$as_me: failed program was:" >&5
4292 sed 's/^/| /' conftest.$ac_ext >&5
4294 # Passes both tests.
4299 rm -f conftest.err conftest.$ac_ext
4302 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
4303 rm -f conftest.err conftest.$ac_ext
4304 if $ac_preproc_ok; then
4316 { $as_echo "$as_me:$LINENO: result: $CPP" >&5
4317 $as_echo "$CPP" >&6; }
4319 for ac_c_preproc_warn_flag in '' yes
4321 # Use a header file that comes with gcc, so configuring glibc
4322 # with a fresh cross-compiler works.
4323 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
4324 # <limits.h> exists even on freestanding compilers.
4325 # On the NeXT, cc -E runs the code through the compiler's parser,
4326 # not just through cpp. "Syntax error" is here to catch this case.
4327 cat >conftest.$ac_ext <<_ACEOF
4330 cat confdefs.h >>conftest.$ac_ext
4331 cat >>conftest.$ac_ext <<_ACEOF
4332 /* end confdefs.h. */
4334 # include <limits.h>
4336 # include <assert.h>
4340 if { (ac_try="$ac_cpp conftest.$ac_ext"
4342 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4343 *) ac_try_echo=$ac_try;;
4345 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
4346 $as_echo "$ac_try_echo") >&5
4347 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
4349 grep -v '^ *+' conftest.er1 >conftest.err
4351 cat conftest.err >&5
4352 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
4353 (exit $ac_status); } >/dev/null && {
4354 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
4355 test ! -s conftest.err
4359 $as_echo "$as_me: failed program was:" >&5
4360 sed 's/^/| /' conftest.$ac_ext >&5
4362 # Broken: fails on valid input.
4366 rm -f conftest.err conftest.$ac_ext
4368 # OK, works on sane cases. Now check whether nonexistent headers
4369 # can be detected and how.
4370 cat >conftest.$ac_ext <<_ACEOF
4373 cat confdefs.h >>conftest.$ac_ext
4374 cat >>conftest.$ac_ext <<_ACEOF
4375 /* end confdefs.h. */
4376 #include <ac_nonexistent.h>
4378 if { (ac_try="$ac_cpp conftest.$ac_ext"
4380 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4381 *) ac_try_echo=$ac_try;;
4383 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
4384 $as_echo "$ac_try_echo") >&5
4385 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
4387 grep -v '^ *+' conftest.er1 >conftest.err
4389 cat conftest.err >&5
4390 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
4391 (exit $ac_status); } >/dev/null && {
4392 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
4393 test ! -s conftest.err
4395 # Broken: success on invalid input.
4398 $as_echo "$as_me: failed program was:" >&5
4399 sed 's/^/| /' conftest.$ac_ext >&5
4401 # Passes both tests.
4406 rm -f conftest.err conftest.$ac_ext
4409 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
4410 rm -f conftest.err conftest.$ac_ext
4411 if $ac_preproc_ok; then
4414 { { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
4415 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4416 { { $as_echo "$as_me:$LINENO: error: C preprocessor \"$CPP\" fails sanity check
4417 See \`config.log' for more details." >&5
4418 $as_echo "$as_me: error: C preprocessor \"$CPP\" fails sanity check
4419 See \`config.log' for more details." >&2;}
4420 { (exit 1); exit 1; }; }; }
4424 ac_cpp='$CPP $CPPFLAGS'
4425 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4426 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4427 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4430 { $as_echo "$as_me:$LINENO: checking for grep that handles long lines and -e" >&5
4431 $as_echo_n "checking for grep that handles long lines and -e... " >&6; }
4432 if test "${ac_cv_path_GREP+set}" = set; then
4433 $as_echo_n "(cached) " >&6
4435 if test -z "$GREP"; then
4436 ac_path_GREP_found=false
4437 # Loop through the user's path and test for each of PROGNAME-LIST
4438 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4439 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
4442 test -z "$as_dir" && as_dir=.
4443 for ac_prog in grep ggrep; do
4444 for ac_exec_ext in '' $ac_executable_extensions; do
4445 ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext"
4446 { test -f "$ac_path_GREP" && $as_test_x "$ac_path_GREP"; } || continue
4447 # Check for GNU ac_path_GREP and select it if it is found.
4448 # Check for GNU $ac_path_GREP
4449 case `"$ac_path_GREP" --version 2>&1` in
4451 ac_cv_path_GREP="$ac_path_GREP" ac_path_GREP_found=:;;
4454 $as_echo_n 0123456789 >"conftest.in"
4457 cat "conftest.in" "conftest.in" >"conftest.tmp"
4458 mv "conftest.tmp" "conftest.in"
4459 cp "conftest.in" "conftest.nl"
4460 $as_echo 'GREP' >> "conftest.nl"
4461 "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev/null || break
4462 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
4463 ac_count=`expr $ac_count + 1`
4464 if test $ac_count -gt ${ac_path_GREP_max-0}; then
4465 # Best one so far, save it but keep looking for a better one
4466 ac_cv_path_GREP="$ac_path_GREP"
4467 ac_path_GREP_max=$ac_count
4469 # 10*(2^10) chars as input seems more than enough
4470 test $ac_count -gt 10 && break
4472 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
4475 $ac_path_GREP_found && break 3
4480 if test -z "$ac_cv_path_GREP"; then
4481 { { $as_echo "$as_me:$LINENO: error: no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&5
4482 $as_echo "$as_me: error: no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&2;}
4483 { (exit 1); exit 1; }; }
4486 ac_cv_path_GREP=$GREP
4490 { $as_echo "$as_me:$LINENO: result: $ac_cv_path_GREP" >&5
4491 $as_echo "$ac_cv_path_GREP" >&6; }
4492 GREP="$ac_cv_path_GREP"
4495 { $as_echo "$as_me:$LINENO: checking for egrep" >&5
4496 $as_echo_n "checking for egrep... " >&6; }
4497 if test "${ac_cv_path_EGREP+set}" = set; then
4498 $as_echo_n "(cached) " >&6
4500 if echo a | $GREP -E '(a|b)' >/dev/null 2>&1
4501 then ac_cv_path_EGREP="$GREP -E"
4503 if test -z "$EGREP"; then
4504 ac_path_EGREP_found=false
4505 # Loop through the user's path and test for each of PROGNAME-LIST
4506 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4507 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
4510 test -z "$as_dir" && as_dir=.
4511 for ac_prog in egrep; do
4512 for ac_exec_ext in '' $ac_executable_extensions; do
4513 ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext"
4514 { test -f "$ac_path_EGREP" && $as_test_x "$ac_path_EGREP"; } || continue
4515 # Check for GNU ac_path_EGREP and select it if it is found.
4516 # Check for GNU $ac_path_EGREP
4517 case `"$ac_path_EGREP" --version 2>&1` in
4519 ac_cv_path_EGREP="$ac_path_EGREP" ac_path_EGREP_found=:;;
4522 $as_echo_n 0123456789 >"conftest.in"
4525 cat "conftest.in" "conftest.in" >"conftest.tmp"
4526 mv "conftest.tmp" "conftest.in"
4527 cp "conftest.in" "conftest.nl"
4528 $as_echo 'EGREP' >> "conftest.nl"
4529 "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev/null || break
4530 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
4531 ac_count=`expr $ac_count + 1`
4532 if test $ac_count -gt ${ac_path_EGREP_max-0}; then
4533 # Best one so far, save it but keep looking for a better one
4534 ac_cv_path_EGREP="$ac_path_EGREP"
4535 ac_path_EGREP_max=$ac_count
4537 # 10*(2^10) chars as input seems more than enough
4538 test $ac_count -gt 10 && break
4540 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
4543 $ac_path_EGREP_found && break 3
4548 if test -z "$ac_cv_path_EGREP"; then
4549 { { $as_echo "$as_me:$LINENO: error: no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&5
4550 $as_echo "$as_me: error: no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&2;}
4551 { (exit 1); exit 1; }; }
4554 ac_cv_path_EGREP=$EGREP
4559 { $as_echo "$as_me:$LINENO: result: $ac_cv_path_EGREP" >&5
4560 $as_echo "$ac_cv_path_EGREP" >&6; }
4561 EGREP="$ac_cv_path_EGREP"
4564 { $as_echo "$as_me:$LINENO: checking for ANSI C header files" >&5
4565 $as_echo_n "checking for ANSI C header files... " >&6; }
4566 if test "${ac_cv_header_stdc+set}" = set; then
4567 $as_echo_n "(cached) " >&6
4569 cat >conftest.$ac_ext <<_ACEOF
4572 cat confdefs.h >>conftest.$ac_ext
4573 cat >>conftest.$ac_ext <<_ACEOF
4574 /* end confdefs.h. */
4588 rm -f conftest.$ac_objext
4589 if { (ac_try="$ac_compile"
4591 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4592 *) ac_try_echo=$ac_try;;
4594 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
4595 $as_echo "$ac_try_echo") >&5
4596 (eval "$ac_compile") 2>conftest.er1
4598 grep -v '^ *+' conftest.er1 >conftest.err
4600 cat conftest.err >&5
4601 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
4602 (exit $ac_status); } && {
4603 test -z "$ac_c_werror_flag" ||
4604 test ! -s conftest.err
4605 } && test -s conftest.$ac_objext; then
4606 ac_cv_header_stdc=yes
4608 $as_echo "$as_me: failed program was:" >&5
4609 sed 's/^/| /' conftest.$ac_ext >&5
4611 ac_cv_header_stdc=no
4614 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4616 if test $ac_cv_header_stdc = yes; then
4617 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
4618 cat >conftest.$ac_ext <<_ACEOF
4621 cat confdefs.h >>conftest.$ac_ext
4622 cat >>conftest.$ac_ext <<_ACEOF
4623 /* end confdefs.h. */
4627 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
4628 $EGREP "memchr" >/dev/null 2>&1; then
4631 ac_cv_header_stdc=no
4637 if test $ac_cv_header_stdc = yes; then
4638 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
4639 cat >conftest.$ac_ext <<_ACEOF
4642 cat confdefs.h >>conftest.$ac_ext
4643 cat >>conftest.$ac_ext <<_ACEOF
4644 /* end confdefs.h. */
4648 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
4649 $EGREP "free" >/dev/null 2>&1; then
4652 ac_cv_header_stdc=no
4658 if test $ac_cv_header_stdc = yes; then
4659 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
4660 if test "$cross_compiling" = yes; then
4663 cat >conftest.$ac_ext <<_ACEOF
4666 cat confdefs.h >>conftest.$ac_ext
4667 cat >>conftest.$ac_ext <<_ACEOF
4668 /* end confdefs.h. */
4671 #if ((' ' & 0x0FF) == 0x020)
4672 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
4673 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
4675 # define ISLOWER(c) \
4676 (('a' <= (c) && (c) <= 'i') \
4677 || ('j' <= (c) && (c) <= 'r') \
4678 || ('s' <= (c) && (c) <= 'z'))
4679 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
4682 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
4687 for (i = 0; i < 256; i++)
4688 if (XOR (islower (i), ISLOWER (i))
4689 || toupper (i) != TOUPPER (i))
4694 rm -f conftest$ac_exeext
4695 if { (ac_try="$ac_link"
4697 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4698 *) ac_try_echo=$ac_try;;
4700 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
4701 $as_echo "$ac_try_echo") >&5
4702 (eval "$ac_link") 2>&5
4704 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
4705 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
4706 { (case "(($ac_try" in
4707 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4708 *) ac_try_echo=$ac_try;;
4710 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
4711 $as_echo "$ac_try_echo") >&5
4712 (eval "$ac_try") 2>&5
4714 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
4715 (exit $ac_status); }; }; then
4718 $as_echo "$as_me: program exited with status $ac_status" >&5
4719 $as_echo "$as_me: failed program was:" >&5
4720 sed 's/^/| /' conftest.$ac_ext >&5
4723 ac_cv_header_stdc=no
4725 rm -rf conftest.dSYM
4726 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
4732 { $as_echo "$as_me:$LINENO: result: $ac_cv_header_stdc" >&5
4733 $as_echo "$ac_cv_header_stdc" >&6; }
4734 if test $ac_cv_header_stdc = yes; then
4736 cat >>confdefs.h <<\_ACEOF
4737 #define STDC_HEADERS 1
4743 # Check whether --enable-shared was given.
4744 if test "${enable_shared+set}" = set; then
4745 enableval=$enable_shared; p=${PACKAGE-default}
4747 yes) enable_shared=yes ;;
4748 no) enable_shared=no ;;
4751 # Look at the argument we got. We use all the common list separators.
4752 lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
4753 for pkg in $enableval; do
4755 if test "X$pkg" = "X$p"; then
4767 # Check whether --enable-static was given.
4768 if test "${enable_static+set}" = set; then
4769 enableval=$enable_static; p=${PACKAGE-default}
4771 yes) enable_static=yes ;;
4772 no) enable_static=no ;;
4775 # Look at the argument we got. We use all the common list separators.
4776 lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
4777 for pkg in $enableval; do
4779 if test "X$pkg" = "X$p"; then
4794 # Check whether --enable-fast-install was given.
4795 if test "${enable_fast_install+set}" = set; then
4796 enableval=$enable_fast_install; p=${PACKAGE-default}
4798 yes) enable_fast_install=yes ;;
4799 no) enable_fast_install=no ;;
4801 enable_fast_install=no
4802 # Look at the argument we got. We use all the common list separators.
4803 lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
4804 for pkg in $enableval; do
4806 if test "X$pkg" = "X$p"; then
4807 enable_fast_install=yes
4814 enable_fast_install=yes
4818 # Make sure we can run config.sub.
4819 $SHELL "$ac_aux_dir/config.sub" sun4 >/dev/null 2>&1 ||
4820 { { $as_echo "$as_me:$LINENO: error: cannot run $SHELL $ac_aux_dir/config.sub" >&5
4821 $as_echo "$as_me: error: cannot run $SHELL $ac_aux_dir/config.sub" >&2;}
4822 { (exit 1); exit 1; }; }
4824 { $as_echo "$as_me:$LINENO: checking build system type" >&5
4825 $as_echo_n "checking build system type... " >&6; }
4826 if test "${ac_cv_build+set}" = set; then
4827 $as_echo_n "(cached) " >&6
4829 ac_build_alias=$build_alias
4830 test "x$ac_build_alias" = x &&
4831 ac_build_alias=`$SHELL "$ac_aux_dir/config.guess"`
4832 test "x$ac_build_alias" = x &&
4833 { { $as_echo "$as_me:$LINENO: error: cannot guess build type; you must specify one" >&5
4834 $as_echo "$as_me: error: cannot guess build type; you must specify one" >&2;}
4835 { (exit 1); exit 1; }; }
4836 ac_cv_build=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
4837 { { $as_echo "$as_me:$LINENO: error: $SHELL $ac_aux_dir/config.sub $ac_build_alias failed" >&5
4838 $as_echo "$as_me: error: $SHELL $ac_aux_dir/config.sub $ac_build_alias failed" >&2;}
4839 { (exit 1); exit 1; }; }
4842 { $as_echo "$as_me:$LINENO: result: $ac_cv_build" >&5
4843 $as_echo "$ac_cv_build" >&6; }
4844 case $ac_cv_build in
4846 *) { { $as_echo "$as_me:$LINENO: error: invalid value of canonical build" >&5
4847 $as_echo "$as_me: error: invalid value of canonical build" >&2;}
4848 { (exit 1); exit 1; }; };;
4851 ac_save_IFS=$IFS; IFS='-'
4857 # Remember, the first character of IFS is used to create $*,
4858 # except with old shells:
4861 case $build_os in *\ *) build_os=`echo "$build_os" | sed 's/ /-/g'`;; esac
4864 { $as_echo "$as_me:$LINENO: checking host system type" >&5
4865 $as_echo_n "checking host system type... " >&6; }
4866 if test "${ac_cv_host+set}" = set; then
4867 $as_echo_n "(cached) " >&6
4869 if test "x$host_alias" = x; then
4870 ac_cv_host=$ac_cv_build
4872 ac_cv_host=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
4873 { { $as_echo "$as_me:$LINENO: error: $SHELL $ac_aux_dir/config.sub $host_alias failed" >&5
4874 $as_echo "$as_me: error: $SHELL $ac_aux_dir/config.sub $host_alias failed" >&2;}
4875 { (exit 1); exit 1; }; }
4879 { $as_echo "$as_me:$LINENO: result: $ac_cv_host" >&5
4880 $as_echo "$ac_cv_host" >&6; }
4883 *) { { $as_echo "$as_me:$LINENO: error: invalid value of canonical host" >&5
4884 $as_echo "$as_me: error: invalid value of canonical host" >&2;}
4885 { (exit 1); exit 1; }; };;
4888 ac_save_IFS=$IFS; IFS='-'
4894 # Remember, the first character of IFS is used to create $*,
4895 # except with old shells:
4898 case $host_os in *\ *) host_os=`echo "$host_os" | sed 's/ /-/g'`;; esac
4901 { $as_echo "$as_me:$LINENO: checking for a sed that does not truncate output" >&5
4902 $as_echo_n "checking for a sed that does not truncate output... " >&6; }
4903 if test "${lt_cv_path_SED+set}" = set; then
4904 $as_echo_n "(cached) " >&6
4906 # Loop through the user's path and test for sed and gsed.
4907 # Then use that list of sed's as ones to test for truncation.
4908 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4912 test -z "$as_dir" && as_dir=.
4913 for lt_ac_prog in sed gsed; do
4914 for ac_exec_ext in '' $ac_executable_extensions; do
4915 if { test -f "$as_dir/$lt_ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$lt_ac_prog$ac_exec_ext"; }; then
4916 lt_ac_sed_list="$lt_ac_sed_list $as_dir/$lt_ac_prog$ac_exec_ext"
4924 # Add /usr/xpg4/bin/sed as it is typically found on Solaris
4925 # along with /bin/sed that truncates output.
4926 for lt_ac_sed in $lt_ac_sed_list /usr/xpg4/bin/sed; do
4927 test ! -f $lt_ac_sed && continue
4928 cat /dev/null > conftest.in
4930 echo $ECHO_N "0123456789$ECHO_C" >conftest.in
4931 # Check for GNU sed and select it if it is found.
4932 if "$lt_ac_sed" --version 2>&1 < /dev/null | grep 'GNU' > /dev/null; then
4933 lt_cv_path_SED=$lt_ac_sed
4937 cat conftest.in conftest.in >conftest.tmp
4938 mv conftest.tmp conftest.in
4939 cp conftest.in conftest.nl
4941 $lt_ac_sed -e 's/a$//' < conftest.nl >conftest.out || break
4942 cmp -s conftest.out conftest.nl || break
4943 # 10000 chars as input seems more than enough
4944 test $lt_ac_count -gt 10 && break
4945 lt_ac_count=`expr $lt_ac_count + 1`
4946 if test $lt_ac_count -gt $lt_ac_max; then
4947 lt_ac_max=$lt_ac_count
4948 lt_cv_path_SED=$lt_ac_sed
4957 { $as_echo "$as_me:$LINENO: result: $SED" >&5
4958 $as_echo "$SED" >&6; }
4961 # Check whether --with-gnu-ld was given.
4962 if test "${with_gnu_ld+set}" = set; then
4963 withval=$with_gnu_ld; test "$withval" = no || with_gnu_ld=yes
4969 if test "$GCC" = yes; then
4970 # Check if gcc -print-prog-name=ld gives a path.
4971 { $as_echo "$as_me:$LINENO: checking for ld used by $CC" >&5
4972 $as_echo_n "checking for ld used by $CC... " >&6; }
4975 # gcc leaves a trailing carriage return which upsets mingw
4976 ac_prog=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
4978 ac_prog=`($CC -print-prog-name=ld) 2>&5` ;;
4981 # Accept absolute paths.
4983 re_direlt='/[^/][^/]*/\.\./'
4984 # Canonicalize the pathname of ld
4985 ac_prog=`echo $ac_prog| $SED 's%\\\\%/%g'`
4986 while echo $ac_prog | grep "$re_direlt" > /dev/null 2>&1; do
4987 ac_prog=`echo $ac_prog| $SED "s%$re_direlt%/%"`
4989 test -z "$LD" && LD="$ac_prog"
4992 # If it fails, then pretend we aren't using GCC.
4996 # If it is relative, then search for the first ld in PATH.
5000 elif test "$with_gnu_ld" = yes; then
5001 { $as_echo "$as_me:$LINENO: checking for GNU ld" >&5
5002 $as_echo_n "checking for GNU ld... " >&6; }
5004 { $as_echo "$as_me:$LINENO: checking for non-GNU ld" >&5
5005 $as_echo_n "checking for non-GNU ld... " >&6; }
5007 if test "${lt_cv_path_LD+set}" = set; then
5008 $as_echo_n "(cached) " >&6
5010 if test -z "$LD"; then
5011 lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
5012 for ac_dir in $PATH; do
5014 test -z "$ac_dir" && ac_dir=.
5015 if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then
5016 lt_cv_path_LD="$ac_dir/$ac_prog"
5017 # Check to see if the program is GNU ld. I'd rather use --version,
5018 # but apparently some variants of GNU ld only accept -v.
5019 # Break only if it was the GNU/non-GNU ld that we prefer.
5020 case `"$lt_cv_path_LD" -v 2>&1 </dev/null` in
5021 *GNU* | *'with BFD'*)
5022 test "$with_gnu_ld" != no && break
5025 test "$with_gnu_ld" != yes && break
5032 lt_cv_path_LD="$LD" # Let the user override the test with a path.
5037 if test -n "$LD"; then
5038 { $as_echo "$as_me:$LINENO: result: $LD" >&5
5039 $as_echo "$LD" >&6; }
5041 { $as_echo "$as_me:$LINENO: result: no" >&5
5042 $as_echo "no" >&6; }
5044 test -z "$LD" && { { $as_echo "$as_me:$LINENO: error: no acceptable ld found in \$PATH" >&5
5045 $as_echo "$as_me: error: no acceptable ld found in \$PATH" >&2;}
5046 { (exit 1); exit 1; }; }
5047 { $as_echo "$as_me:$LINENO: checking if the linker ($LD) is GNU ld" >&5
5048 $as_echo_n "checking if the linker ($LD) is GNU ld... " >&6; }
5049 if test "${lt_cv_prog_gnu_ld+set}" = set; then
5050 $as_echo_n "(cached) " >&6
5052 # I'd rather use --version here, but apparently some GNU lds only accept -v.
5053 case `$LD -v 2>&1 </dev/null` in
5054 *GNU* | *'with BFD'*)
5055 lt_cv_prog_gnu_ld=yes
5058 lt_cv_prog_gnu_ld=no
5062 { $as_echo "$as_me:$LINENO: result: $lt_cv_prog_gnu_ld" >&5
5063 $as_echo "$lt_cv_prog_gnu_ld" >&6; }
5064 with_gnu_ld=$lt_cv_prog_gnu_ld
5067 { $as_echo "$as_me:$LINENO: checking for $LD option to reload object files" >&5
5068 $as_echo_n "checking for $LD option to reload object files... " >&6; }
5069 if test "${lt_cv_ld_reload_flag+set}" = set; then
5070 $as_echo_n "(cached) " >&6
5072 lt_cv_ld_reload_flag='-r'
5074 { $as_echo "$as_me:$LINENO: result: $lt_cv_ld_reload_flag" >&5
5075 $as_echo "$lt_cv_ld_reload_flag" >&6; }
5076 reload_flag=$lt_cv_ld_reload_flag
5077 case $reload_flag in
5079 *) reload_flag=" $reload_flag" ;;
5081 reload_cmds='$LD$reload_flag -o $output$reload_objs'
5084 if test "$GCC" = yes; then
5085 reload_cmds='$LTCC $LTCFLAGS -nostdlib ${wl}-r -o $output$reload_objs'
5087 reload_cmds='$LD$reload_flag -o $output$reload_objs'
5092 { $as_echo "$as_me:$LINENO: checking for BSD-compatible nm" >&5
5093 $as_echo_n "checking for BSD-compatible nm... " >&6; }
5094 if test "${lt_cv_path_NM+set}" = set; then
5095 $as_echo_n "(cached) " >&6
5097 if test -n "$NM"; then
5098 # Let the user override the test.
5101 lt_nm_to_check="${ac_tool_prefix}nm"
5102 if test -n "$ac_tool_prefix" && test "$build" = "$host"; then
5103 lt_nm_to_check="$lt_nm_to_check nm"
5105 for lt_tmp_nm in $lt_nm_to_check; do
5106 lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
5107 for ac_dir in $PATH /usr/ccs/bin/elf /usr/ccs/bin /usr/ucb /bin; do
5109 test -z "$ac_dir" && ac_dir=.
5110 tmp_nm="$ac_dir/$lt_tmp_nm"
5111 if test -f "$tmp_nm" || test -f "$tmp_nm$ac_exeext" ; then
5112 # Check to see if the nm accepts a BSD-compat flag.
5113 # Adding the `sed 1q' prevents false positives on HP-UX, which says:
5114 # nm: unknown option "B" ignored
5115 # Tru64's nm complains that /dev/null is an invalid object file
5116 case `"$tmp_nm" -B /dev/null 2>&1 | sed '1q'` in
5117 */dev/null* | *'Invalid file or object type'*)
5118 lt_cv_path_NM="$tmp_nm -B"
5122 case `"$tmp_nm" -p /dev/null 2>&1 | sed '1q'` in
5124 lt_cv_path_NM="$tmp_nm -p"
5128 lt_cv_path_NM=${lt_cv_path_NM="$tmp_nm"} # keep the first match, but
5129 continue # so that we can try to find one that supports BSD flags
5138 test -z "$lt_cv_path_NM" && lt_cv_path_NM=nm
5141 { $as_echo "$as_me:$LINENO: result: $lt_cv_path_NM" >&5
5142 $as_echo "$lt_cv_path_NM" >&6; }
5145 { $as_echo "$as_me:$LINENO: checking whether ln -s works" >&5
5146 $as_echo_n "checking whether ln -s works... " >&6; }
5148 if test "$LN_S" = "ln -s"; then
5149 { $as_echo "$as_me:$LINENO: result: yes" >&5
5150 $as_echo "yes" >&6; }
5152 { $as_echo "$as_me:$LINENO: result: no, using $LN_S" >&5
5153 $as_echo "no, using $LN_S" >&6; }
5156 { $as_echo "$as_me:$LINENO: checking how to recognize dependent libraries" >&5
5157 $as_echo_n "checking how to recognize dependent libraries... " >&6; }
5158 if test "${lt_cv_deplibs_check_method+set}" = set; then
5159 $as_echo_n "(cached) " >&6
5161 lt_cv_file_magic_cmd='$MAGIC_CMD'
5162 lt_cv_file_magic_test_file=
5163 lt_cv_deplibs_check_method='unknown'
5164 # Need to set the preceding variable on all platforms that support
5165 # interlibrary dependencies.
5166 # 'none' -- dependencies not supported.
5167 # `unknown' -- same as none, but documents that we really don't know.
5168 # 'pass_all' -- all dependencies passed with no checks.
5169 # 'test_compile' -- check by making test program.
5170 # 'file_magic [[regex]]' -- check by looking for files in library path
5171 # which responds to the $file_magic_cmd with a given extended regex.
5172 # If you have `file' or equivalent on your system and you're not sure
5173 # whether `pass_all' will *always* work, you probably want this one.
5177 lt_cv_deplibs_check_method=pass_all
5181 lt_cv_deplibs_check_method=pass_all
5185 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (shared object|dynamic lib)'
5186 lt_cv_file_magic_cmd='/usr/bin/file -L'
5187 lt_cv_file_magic_test_file=/shlib/libc.so
5191 # func_win32_libid is a shell function defined in ltmain.sh
5192 lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL'
5193 lt_cv_file_magic_cmd='func_win32_libid'
5197 # Base MSYS/MinGW do not provide the 'file' command needed by
5198 # func_win32_libid shell function, so use a weaker test based on 'objdump',
5199 # unless we find 'file', for example because we are cross-compiling.
5200 if ( file / ) >/dev/null 2>&1; then
5201 lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL'
5202 lt_cv_file_magic_cmd='func_win32_libid'
5204 lt_cv_deplibs_check_method='file_magic file format pei*-i386(.*architecture: i386)?'
5205 lt_cv_file_magic_cmd='$OBJDUMP -f'
5209 darwin* | rhapsody*)
5210 lt_cv_deplibs_check_method=pass_all
5213 freebsd* | dragonfly*)
5214 if echo __ELF__ | $CC -E - | grep __ELF__ > /dev/null; then
5217 # Not sure whether the presence of OpenBSD here was a mistake.
5218 # Let's accept both of them until this is cleared up.
5219 lt_cv_deplibs_check_method='file_magic (FreeBSD|OpenBSD|DragonFly)/i[3-9]86 (compact )?demand paged shared library'
5220 lt_cv_file_magic_cmd=/usr/bin/file
5221 lt_cv_file_magic_test_file=`echo /usr/lib/libc.so.*`
5225 lt_cv_deplibs_check_method=pass_all
5230 lt_cv_deplibs_check_method=pass_all
5233 hpux10.20* | hpux11*)
5234 lt_cv_file_magic_cmd=/usr/bin/file
5237 lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|ELF-[0-9][0-9]) shared object file - IA64'
5238 lt_cv_file_magic_test_file=/usr/lib/hpux32/libc.so
5241 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]'
5242 lt_cv_file_magic_test_file=/usr/lib/pa20_64/libc.sl
5245 lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|PA-RISC[0-9].[0-9]) shared library'
5246 lt_cv_file_magic_test_file=/usr/lib/libc.sl
5252 # PIC code is broken on Interix 3.x, that's why |\.a not |_pic\.a here
5253 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|\.a)$'
5256 irix5* | irix6* | nonstopux*)
5258 *-32|*"-32 ") libmagic=32-bit;;
5259 *-n32|*"-n32 ") libmagic=N32;;
5260 *-64|*"-64 ") libmagic=64-bit;;
5261 *) libmagic=never-match;;
5263 lt_cv_deplibs_check_method=pass_all
5266 # This must be Linux ELF.
5267 linux* | k*bsd*-gnu)
5268 lt_cv_deplibs_check_method=pass_all
5272 if echo __ELF__ | $CC -E - | grep __ELF__ > /dev/null; then
5273 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
5275 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|_pic\.a)$'
5280 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (executable|dynamic lib)'
5281 lt_cv_file_magic_cmd=/usr/bin/file
5282 lt_cv_file_magic_test_file=/usr/lib/libnls.so
5286 lt_cv_deplibs_check_method=unknown
5290 if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
5291 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|\.so|_pic\.a)$'
5293 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
5297 osf3* | osf4* | osf5*)
5298 lt_cv_deplibs_check_method=pass_all
5302 lt_cv_deplibs_check_method=pass_all
5306 lt_cv_deplibs_check_method=pass_all
5310 case $host_vendor in
5312 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]'
5313 lt_cv_file_magic_test_file=`echo /usr/lib/libc.so*`
5316 lt_cv_deplibs_check_method=pass_all
5319 lt_cv_file_magic_cmd='/bin/file'
5320 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [LM]SB (shared object|dynamic lib )'
5323 lt_cv_file_magic_cmd='/bin/file'
5324 lt_cv_deplibs_check_method="file_magic ELF [0-9][0-9]*-bit [LM]SB dynamic lib"
5325 lt_cv_file_magic_test_file=/lib/libc.so
5328 lt_cv_deplibs_check_method=pass_all
5331 lt_cv_deplibs_check_method=pass_all
5336 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
5337 lt_cv_deplibs_check_method=pass_all
5342 { $as_echo "$as_me:$LINENO: result: $lt_cv_deplibs_check_method" >&5
5343 $as_echo "$lt_cv_deplibs_check_method" >&6; }
5344 file_magic_cmd=$lt_cv_file_magic_cmd
5345 deplibs_check_method=$lt_cv_deplibs_check_method
5346 test -z "$deplibs_check_method" && deplibs_check_method=unknown
5351 # If no C compiler was specified, use CC.
5354 # If no C compiler flags were specified, use CFLAGS.
5355 LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
5357 # Allow CC to be a program name with arguments.
5360 # Check whether --enable-libtool-lock was given.
5361 if test "${enable_libtool_lock+set}" = set; then
5362 enableval=$enable_libtool_lock;
5365 test "x$enable_libtool_lock" != xno && enable_libtool_lock=yes
5367 # Some flags need to be propagated to the compiler or linker for good
5371 # Find out which ABI we are using.
5372 echo 'int i;' > conftest.$ac_ext
5373 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
5374 (eval $ac_compile) 2>&5
5376 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
5377 (exit $ac_status); }; then
5378 case `/usr/bin/file conftest.$ac_objext` in
5390 # Find out which ABI we are using.
5391 echo '#line 5391 "configure"' > conftest.$ac_ext
5392 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
5393 (eval $ac_compile) 2>&5
5395 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
5396 (exit $ac_status); }; then
5397 if test "$lt_cv_prog_gnu_ld" = yes; then
5398 case `/usr/bin/file conftest.$ac_objext` in
5400 LD="${LD-ld} -melf32bsmip"
5403 LD="${LD-ld} -melf32bmipn32"
5406 LD="${LD-ld} -melf64bmip"
5410 case `/usr/bin/file conftest.$ac_objext` in
5426 x86_64-*kfreebsd*-gnu|x86_64-*linux*|ppc*-*linux*|powerpc*-*linux*| \
5427 s390*-*linux*|sparc*-*linux*)
5428 # Find out which ABI we are using.
5429 echo 'int i;' > conftest.$ac_ext
5430 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
5431 (eval $ac_compile) 2>&5
5433 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
5434 (exit $ac_status); }; then
5435 case `/usr/bin/file conftest.o` in
5438 x86_64-*kfreebsd*-gnu)
5439 LD="${LD-ld} -m elf_i386_fbsd"
5442 LD="${LD-ld} -m elf_i386"
5444 ppc64-*linux*|powerpc64-*linux*)
5445 LD="${LD-ld} -m elf32ppclinux"
5448 LD="${LD-ld} -m elf_s390"
5451 LD="${LD-ld} -m elf32_sparc"
5458 x86_64-*kfreebsd*-gnu)
5459 LD="${LD-ld} -m elf_x86_64_fbsd"
5462 LD="${LD-ld} -m elf_x86_64"
5464 ppc*-*linux*|powerpc*-*linux*)
5465 LD="${LD-ld} -m elf64ppc"
5468 LD="${LD-ld} -m elf64_s390"
5471 LD="${LD-ld} -m elf64_sparc"
5481 # On SCO OpenServer 5, we need -belf to get full-featured binaries.
5482 SAVE_CFLAGS="$CFLAGS"
5483 CFLAGS="$CFLAGS -belf"
5484 { $as_echo "$as_me:$LINENO: checking whether the C compiler needs -belf" >&5
5485 $as_echo_n "checking whether the C compiler needs -belf... " >&6; }
5486 if test "${lt_cv_cc_needs_belf+set}" = set; then
5487 $as_echo_n "(cached) " >&6
5490 ac_cpp='$CPP $CPPFLAGS'
5491 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5492 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5493 ac_compiler_gnu=$ac_cv_c_compiler_gnu
5495 cat >conftest.$ac_ext <<_ACEOF
5498 cat confdefs.h >>conftest.$ac_ext
5499 cat >>conftest.$ac_ext <<_ACEOF
5500 /* end confdefs.h. */
5510 rm -f conftest.$ac_objext conftest$ac_exeext
5511 if { (ac_try="$ac_link"
5513 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5514 *) ac_try_echo=$ac_try;;
5516 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
5517 $as_echo "$ac_try_echo") >&5
5518 (eval "$ac_link") 2>conftest.er1
5520 grep -v '^ *+' conftest.er1 >conftest.err
5522 cat conftest.err >&5
5523 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
5524 (exit $ac_status); } && {
5525 test -z "$ac_c_werror_flag" ||
5526 test ! -s conftest.err
5527 } && test -s conftest$ac_exeext && {
5528 test "$cross_compiling" = yes ||
5529 $as_test_x conftest$ac_exeext
5531 lt_cv_cc_needs_belf=yes
5533 $as_echo "$as_me: failed program was:" >&5
5534 sed 's/^/| /' conftest.$ac_ext >&5
5536 lt_cv_cc_needs_belf=no
5539 rm -rf conftest.dSYM
5540 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
5541 conftest$ac_exeext conftest.$ac_ext
5543 ac_cpp='$CPP $CPPFLAGS'
5544 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5545 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5546 ac_compiler_gnu=$ac_cv_c_compiler_gnu
5549 { $as_echo "$as_me:$LINENO: result: $lt_cv_cc_needs_belf" >&5
5550 $as_echo "$lt_cv_cc_needs_belf" >&6; }
5551 if test x"$lt_cv_cc_needs_belf" != x"yes"; then
5552 # this is probably gcc 2.8.0, egcs 1.0 or newer; no need for -belf
5553 CFLAGS="$SAVE_CFLAGS"
5557 # Find out which ABI we are using.
5558 echo 'int i;' > conftest.$ac_ext
5559 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
5560 (eval $ac_compile) 2>&5
5562 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
5563 (exit $ac_status); }; then
5564 case `/usr/bin/file conftest.o` in
5566 case $lt_cv_prog_gnu_ld in
5567 yes*) LD="${LD-ld} -m elf64_sparc" ;;
5569 if ${LD-ld} -64 -r -o conftest2.o conftest.o >/dev/null 2>&1; then
5583 need_locks="$enable_libtool_lock"
5586 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
5596 for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
5597 inttypes.h stdint.h unistd.h
5599 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
5600 { $as_echo "$as_me:$LINENO: checking for $ac_header" >&5
5601 $as_echo_n "checking for $ac_header... " >&6; }
5602 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
5603 $as_echo_n "(cached) " >&6
5605 cat >conftest.$ac_ext <<_ACEOF
5608 cat confdefs.h >>conftest.$ac_ext
5609 cat >>conftest.$ac_ext <<_ACEOF
5610 /* end confdefs.h. */
5611 $ac_includes_default
5613 #include <$ac_header>
5615 rm -f conftest.$ac_objext
5616 if { (ac_try="$ac_compile"
5618 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5619 *) ac_try_echo=$ac_try;;
5621 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
5622 $as_echo "$ac_try_echo") >&5
5623 (eval "$ac_compile") 2>conftest.er1
5625 grep -v '^ *+' conftest.er1 >conftest.err
5627 cat conftest.err >&5
5628 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
5629 (exit $ac_status); } && {
5630 test -z "$ac_c_werror_flag" ||
5631 test ! -s conftest.err
5632 } && test -s conftest.$ac_objext; then
5633 eval "$as_ac_Header=yes"
5635 $as_echo "$as_me: failed program was:" >&5
5636 sed 's/^/| /' conftest.$ac_ext >&5
5638 eval "$as_ac_Header=no"
5641 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5643 ac_res=`eval 'as_val=${'$as_ac_Header'}
5644 $as_echo "$as_val"'`
5645 { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
5646 $as_echo "$ac_res" >&6; }
5647 as_val=`eval 'as_val=${'$as_ac_Header'}
5648 $as_echo "$as_val"'`
5649 if test "x$as_val" = x""yes; then
5650 cat >>confdefs.h <<_ACEOF
5651 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
5660 for ac_header in dlfcn.h
5662 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
5663 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
5664 { $as_echo "$as_me:$LINENO: checking for $ac_header" >&5
5665 $as_echo_n "checking for $ac_header... " >&6; }
5666 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
5667 $as_echo_n "(cached) " >&6
5669 ac_res=`eval 'as_val=${'$as_ac_Header'}
5670 $as_echo "$as_val"'`
5671 { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
5672 $as_echo "$ac_res" >&6; }
5674 # Is the header compilable?
5675 { $as_echo "$as_me:$LINENO: checking $ac_header usability" >&5
5676 $as_echo_n "checking $ac_header usability... " >&6; }
5677 cat >conftest.$ac_ext <<_ACEOF
5680 cat confdefs.h >>conftest.$ac_ext
5681 cat >>conftest.$ac_ext <<_ACEOF
5682 /* end confdefs.h. */
5683 $ac_includes_default
5684 #include <$ac_header>
5686 rm -f conftest.$ac_objext
5687 if { (ac_try="$ac_compile"
5689 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5690 *) ac_try_echo=$ac_try;;
5692 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
5693 $as_echo "$ac_try_echo") >&5
5694 (eval "$ac_compile") 2>conftest.er1
5696 grep -v '^ *+' conftest.er1 >conftest.err
5698 cat conftest.err >&5
5699 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
5700 (exit $ac_status); } && {
5701 test -z "$ac_c_werror_flag" ||
5702 test ! -s conftest.err
5703 } && test -s conftest.$ac_objext; then
5704 ac_header_compiler=yes
5706 $as_echo "$as_me: failed program was:" >&5
5707 sed 's/^/| /' conftest.$ac_ext >&5
5709 ac_header_compiler=no
5712 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5713 { $as_echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
5714 $as_echo "$ac_header_compiler" >&6; }
5716 # Is the header present?
5717 { $as_echo "$as_me:$LINENO: checking $ac_header presence" >&5
5718 $as_echo_n "checking $ac_header presence... " >&6; }
5719 cat >conftest.$ac_ext <<_ACEOF
5722 cat confdefs.h >>conftest.$ac_ext
5723 cat >>conftest.$ac_ext <<_ACEOF
5724 /* end confdefs.h. */
5725 #include <$ac_header>
5727 if { (ac_try="$ac_cpp conftest.$ac_ext"
5729 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5730 *) ac_try_echo=$ac_try;;
5732 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
5733 $as_echo "$ac_try_echo") >&5
5734 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
5736 grep -v '^ *+' conftest.er1 >conftest.err
5738 cat conftest.err >&5
5739 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
5740 (exit $ac_status); } >/dev/null && {
5741 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
5742 test ! -s conftest.err
5744 ac_header_preproc=yes
5746 $as_echo "$as_me: failed program was:" >&5
5747 sed 's/^/| /' conftest.$ac_ext >&5
5749 ac_header_preproc=no
5752 rm -f conftest.err conftest.$ac_ext
5753 { $as_echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
5754 $as_echo "$ac_header_preproc" >&6; }
5756 # So? What about this header?
5757 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
5759 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
5760 $as_echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
5761 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
5762 $as_echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
5763 ac_header_preproc=yes
5766 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
5767 $as_echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
5768 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
5769 $as_echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
5770 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
5771 $as_echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
5772 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
5773 $as_echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
5774 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
5775 $as_echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
5776 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
5777 $as_echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
5779 ## -------------------------------------------------------- ##
5780 ## Report this to enlightenment-devel@lists.sourceforge.net ##
5781 ## -------------------------------------------------------- ##
5783 ) | sed "s/^/$as_me: WARNING: /" >&2
5786 { $as_echo "$as_me:$LINENO: checking for $ac_header" >&5
5787 $as_echo_n "checking for $ac_header... " >&6; }
5788 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
5789 $as_echo_n "(cached) " >&6
5791 eval "$as_ac_Header=\$ac_header_preproc"
5793 ac_res=`eval 'as_val=${'$as_ac_Header'}
5794 $as_echo "$as_val"'`
5795 { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
5796 $as_echo "$ac_res" >&6; }
5799 as_val=`eval 'as_val=${'$as_ac_Header'}
5800 $as_echo "$as_val"'`
5801 if test "x$as_val" = x""yes; then
5802 cat >>confdefs.h <<_ACEOF
5803 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
5811 # Autoconf 2.13's AC_OBJEXT and AC_EXEEXT macros only works for C compilers!
5812 # find the maximum length of command line arguments
5813 { $as_echo "$as_me:$LINENO: checking the maximum length of command line arguments" >&5
5814 $as_echo_n "checking the maximum length of command line arguments... " >&6; }
5815 if test "${lt_cv_sys_max_cmd_len+set}" = set; then
5816 $as_echo_n "(cached) " >&6
5823 # On DJGPP, this test can blow up pretty badly due to problems in libc
5824 # (any single argument exceeding 2000 bytes causes a buffer overrun
5825 # during glob expansion). Even if it were fixed, the result of this
5826 # check would be larger than it should be.
5827 lt_cv_sys_max_cmd_len=12288; # 12K is about right
5831 # Under GNU Hurd, this test is not required because there is
5832 # no limit to the length of command line arguments.
5833 # Libtool will interpret -1 as no limit whatsoever
5834 lt_cv_sys_max_cmd_len=-1;
5838 # On Win9x/ME, this test blows up -- it succeeds, but takes
5839 # about 5 minutes as the teststring grows exponentially.
5840 # Worse, since 9x/ME are not pre-emptively multitasking,
5841 # you end up with a "frozen" computer, even though with patience
5842 # the test eventually succeeds (with a max line length of 256k).
5843 # Instead, let's just punt: use the minimum linelength reported by
5844 # all of the supported platforms: 8192 (on NT/2K/XP).
5845 lt_cv_sys_max_cmd_len=8192;
5849 # On AmigaOS with pdksh, this test takes hours, literally.
5850 # So we just punt and use a minimum line length of 8192.
5851 lt_cv_sys_max_cmd_len=8192;
5854 netbsd* | freebsd* | openbsd* | darwin* | dragonfly*)
5855 # This has been around since 386BSD, at least. Likely further.
5856 if test -x /sbin/sysctl; then
5857 lt_cv_sys_max_cmd_len=`/sbin/sysctl -n kern.argmax`
5858 elif test -x /usr/sbin/sysctl; then
5859 lt_cv_sys_max_cmd_len=`/usr/sbin/sysctl -n kern.argmax`
5861 lt_cv_sys_max_cmd_len=65536 # usable default for all BSDs
5863 # And add a safety zone
5864 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4`
5865 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3`
5869 # We know the value 262144 and hardcode it with a safety zone (like BSD)
5870 lt_cv_sys_max_cmd_len=196608
5874 # Dr. Hans Ekkehard Plesser reports seeing a kernel panic running configure
5875 # due to this test when exec_disable_arg_limit is 1 on Tru64. It is not
5876 # nice to cause kernel panics so lets avoid the loop below.
5877 # First set a reasonable default.
5878 lt_cv_sys_max_cmd_len=16384
5880 if test -x /sbin/sysconfig; then
5881 case `/sbin/sysconfig -q proc exec_disable_arg_limit` in
5882 *1*) lt_cv_sys_max_cmd_len=-1 ;;
5887 lt_cv_sys_max_cmd_len=102400
5889 sysv5* | sco5v6* | sysv4.2uw2*)
5890 kargmax=`grep ARG_MAX /etc/conf/cf.d/stune 2>/dev/null`
5891 if test -n "$kargmax"; then
5892 lt_cv_sys_max_cmd_len=`echo $kargmax | sed 's/.*[ ]//'`
5894 lt_cv_sys_max_cmd_len=32768
5898 lt_cv_sys_max_cmd_len=`(getconf ARG_MAX) 2> /dev/null`
5899 if test -n "$lt_cv_sys_max_cmd_len"; then
5900 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4`
5901 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3`
5903 SHELL=${SHELL-${CONFIG_SHELL-/bin/sh}}
5904 while (test "X"`$SHELL $0 --fallback-echo "X$teststring" 2>/dev/null` \
5905 = "XX$teststring") >/dev/null 2>&1 &&
5906 new_result=`expr "X$teststring" : ".*" 2>&1` &&
5907 lt_cv_sys_max_cmd_len=$new_result &&
5908 test $i != 17 # 1/2 MB should be enough
5911 teststring=$teststring$teststring
5914 # Add a significant safety factor because C++ compilers can tack on massive
5915 # amounts of additional arguments before passing them to the linker.
5916 # It appears as though 1/2 is a usable value.
5917 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 2`
5924 if test -n $lt_cv_sys_max_cmd_len ; then
5925 { $as_echo "$as_me:$LINENO: result: $lt_cv_sys_max_cmd_len" >&5
5926 $as_echo "$lt_cv_sys_max_cmd_len" >&6; }
5928 { $as_echo "$as_me:$LINENO: result: none" >&5
5929 $as_echo "none" >&6; }
5936 # Check for command to grab the raw symbol name followed by C symbol from nm.
5937 { $as_echo "$as_me:$LINENO: checking command to parse $NM output from $compiler object" >&5
5938 $as_echo_n "checking command to parse $NM output from $compiler object... " >&6; }
5939 if test "${lt_cv_sys_global_symbol_pipe+set}" = set; then
5940 $as_echo_n "(cached) " >&6
5943 # These are sane defaults that work on at least a few old systems.
5944 # [They come from Ultrix. What could be older than Ultrix?!! ;)]
5946 # Character class describing NM global symbol codes.
5947 symcode='[BCDEGRST]'
5949 # Regexp to match symbols that can be accessed directly from C.
5950 sympat='\([_A-Za-z][_A-Za-z0-9]*\)'
5952 # Transform an extracted symbol line into a proper C declaration
5953 lt_cv_sys_global_symbol_to_cdecl="sed -n -e 's/^. .* \(.*\)$/extern int \1;/p'"
5955 # Transform an extracted symbol line into symbol name and symbol address
5956 lt_cv_sys_global_symbol_to_c_name_address="sed -n -e 's/^: \([^ ]*\) $/ {\\\"\1\\\", (lt_ptr) 0},/p' -e 's/^$symcode \([^ ]*\) \([^ ]*\)$/ {\"\2\", (lt_ptr) \&\2},/p'"
5958 # Define system-specific variables.
5963 cygwin* | mingw* | pw32*)
5964 symcode='[ABCDGISTW]'
5966 hpux*) # Its linker distinguishes data from code symbols
5967 if test "$host_cpu" = ia64; then
5968 symcode='[ABCDEGRST]'
5970 lt_cv_sys_global_symbol_to_cdecl="sed -n -e 's/^T .* \(.*\)$/extern int \1();/p' -e 's/^$symcode* .* \(.*\)$/extern char \1;/p'"
5971 lt_cv_sys_global_symbol_to_c_name_address="sed -n -e 's/^: \([^ ]*\) $/ {\\\"\1\\\", (lt_ptr) 0},/p' -e 's/^$symcode* \([^ ]*\) \([^ ]*\)$/ {\"\2\", (lt_ptr) \&\2},/p'"
5973 linux* | k*bsd*-gnu)
5974 if test "$host_cpu" = ia64; then
5975 symcode='[ABCDGIRSTW]'
5976 lt_cv_sys_global_symbol_to_cdecl="sed -n -e 's/^T .* \(.*\)$/extern int \1();/p' -e 's/^$symcode* .* \(.*\)$/extern char \1;/p'"
5977 lt_cv_sys_global_symbol_to_c_name_address="sed -n -e 's/^: \([^ ]*\) $/ {\\\"\1\\\", (lt_ptr) 0},/p' -e 's/^$symcode* \([^ ]*\) \([^ ]*\)$/ {\"\2\", (lt_ptr) \&\2},/p'"
5981 symcode='[BCDEGRST]'
5984 symcode='[BCDEGQRST]'
5995 sysv5* | sco5v6* | unixware* | OpenUNIX*)
6003 # Handle CRLF in mingw tool chain
6007 opt_cr=`echo 'x\{0,1\}' | tr x '\015'` # option cr in regexp
6011 # If we're using GNU nm, then use its standard symbol codes.
6012 case `$NM -V 2>&1` in
6013 *GNU* | *'with BFD'*)
6014 symcode='[ABCDGIRSTW]' ;;
6017 # Try without a prefix undercore, then with it.
6018 for ac_symprfx in "" "_"; do
6020 # Transform symcode, sympat, and symprfx into a raw symbol and a C symbol.
6021 symxfrm="\\1 $ac_symprfx\\2 \\2"
6023 # Write the raw and C identifiers.
6024 lt_cv_sys_global_symbol_pipe="sed -n -e 's/^.*[ ]\($symcode$symcode*\)[ ][ ]*$ac_symprfx$sympat$opt_cr$/$symxfrm/p'"
6026 # Check to see that the pipe works correctly.
6030 cat > conftest.$ac_ext <<EOF
6035 void nm_test_func(){}
6039 int main(){nm_test_var='a';nm_test_func();return(0);}
6042 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
6043 (eval $ac_compile) 2>&5
6045 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
6046 (exit $ac_status); }; then
6047 # Now try to grab the symbols.
6049 if { (eval echo "$as_me:$LINENO: \"$NM conftest.$ac_objext \| $lt_cv_sys_global_symbol_pipe \> $nlist\"") >&5
6050 (eval $NM conftest.$ac_objext \| $lt_cv_sys_global_symbol_pipe \> $nlist) 2>&5
6052 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
6053 (exit $ac_status); } && test -s "$nlist"; then
6054 # Try sorting and uniquifying the output.
6055 if sort "$nlist" | uniq > "$nlist"T; then
6056 mv -f "$nlist"T "$nlist"
6061 # Make sure that we snagged all the symbols we need.
6062 if grep ' nm_test_var$' "$nlist" >/dev/null; then
6063 if grep ' nm_test_func$' "$nlist" >/dev/null; then
6064 cat <<EOF > conftest.$ac_ext
6070 # Now generate the symbol file.
6071 eval "$lt_cv_sys_global_symbol_to_cdecl"' < "$nlist" | grep -v main >> conftest.$ac_ext'
6073 cat <<EOF >> conftest.$ac_ext
6074 #if defined (__STDC__) && __STDC__
6075 # define lt_ptr_t void *
6077 # define lt_ptr_t char *
6081 /* The mapping between symbol names and symbols. */
6086 lt_preloaded_symbols[] =
6089 $SED "s/^$symcode$symcode* \(.*\) \(.*\)$/ {\"\2\", (lt_ptr_t) \&\2},/" < "$nlist" | grep -v main >> conftest.$ac_ext
6090 cat <<\EOF >> conftest.$ac_ext
6098 # Now try linking the two files.
6099 mv conftest.$ac_objext conftstm.$ac_objext
6100 lt_save_LIBS="$LIBS"
6101 lt_save_CFLAGS="$CFLAGS"
6102 LIBS="conftstm.$ac_objext"
6103 CFLAGS="$CFLAGS$lt_prog_compiler_no_builtin_flag"
6104 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
6105 (eval $ac_link) 2>&5
6107 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
6108 (exit $ac_status); } && test -s conftest${ac_exeext}; then
6111 LIBS="$lt_save_LIBS"
6112 CFLAGS="$lt_save_CFLAGS"
6114 echo "cannot find nm_test_func in $nlist" >&5
6117 echo "cannot find nm_test_var in $nlist" >&5
6120 echo "cannot run $lt_cv_sys_global_symbol_pipe" >&5
6123 echo "$progname: failed program was:" >&5
6124 cat conftest.$ac_ext >&5
6126 rm -rf conftest* conftst*
6128 # Do not use the global_symbol_pipe unless it works.
6129 if test "$pipe_works" = yes; then
6132 lt_cv_sys_global_symbol_pipe=
6138 if test -z "$lt_cv_sys_global_symbol_pipe"; then
6139 lt_cv_sys_global_symbol_to_cdecl=
6141 if test -z "$lt_cv_sys_global_symbol_pipe$lt_cv_sys_global_symbol_to_cdecl"; then
6142 { $as_echo "$as_me:$LINENO: result: failed" >&5
6143 $as_echo "failed" >&6; }
6145 { $as_echo "$as_me:$LINENO: result: ok" >&5
6146 $as_echo "ok" >&6; }
6149 { $as_echo "$as_me:$LINENO: checking for objdir" >&5
6150 $as_echo_n "checking for objdir... " >&6; }
6151 if test "${lt_cv_objdir+set}" = set; then
6152 $as_echo_n "(cached) " >&6
6154 rm -f .libs 2>/dev/null
6155 mkdir .libs 2>/dev/null
6156 if test -d .libs; then
6159 # MS-DOS does not allow filenames that begin with a dot.
6162 rmdir .libs 2>/dev/null
6164 { $as_echo "$as_me:$LINENO: result: $lt_cv_objdir" >&5
6165 $as_echo "$lt_cv_objdir" >&6; }
6166 objdir=$lt_cv_objdir
6174 # AIX sometimes has problems with the GCC collect2 program. For some
6175 # reason, if we set the COLLECT_NAMES environment variable, the problems
6176 # vanish in a puff of smoke.
6177 if test "X${COLLECT_NAMES+set}" != Xset; then
6179 export COLLECT_NAMES
6184 # Sed substitution that helps us do robust quoting. It backslashifies
6185 # metacharacters that are still active within double-quoted strings.
6186 Xsed='sed -e 1s/^X//'
6187 sed_quote_subst='s/\([\\"\\`$\\\\]\)/\\\1/g'
6189 # Same as above, but do not quote variable references.
6190 double_quote_subst='s/\([\\"\\`\\\\]\)/\\\1/g'
6192 # Sed substitution to delay expansion of an escaped shell variable in a
6193 # double_quote_subst'ed string.
6194 delay_variable_subst='s/\\\\\\\\\\\$/\\\\\\$/g'
6196 # Sed substitution to avoid accidental globbing in evaled expressions
6197 no_glob_subst='s/\*/\\\*/g'
6203 default_ofile=libtool
6204 can_build_shared=yes
6206 # All known linkers require a `.a' archive for static linking (except MSVC,
6207 # which needs '.lib').
6209 ltmain="$ac_aux_dir/ltmain.sh"
6210 ofile="$default_ofile"
6211 with_gnu_ld="$lt_cv_prog_gnu_ld"
6213 if test -n "$ac_tool_prefix"; then
6214 # Extract the first word of "${ac_tool_prefix}ar", so it can be a program name with args.
6215 set dummy ${ac_tool_prefix}ar; ac_word=$2
6216 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
6217 $as_echo_n "checking for $ac_word... " >&6; }
6218 if test "${ac_cv_prog_AR+set}" = set; then
6219 $as_echo_n "(cached) " >&6
6221 if test -n "$AR"; then
6222 ac_cv_prog_AR="$AR" # Let the user override the test.
6224 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6228 test -z "$as_dir" && as_dir=.
6229 for ac_exec_ext in '' $ac_executable_extensions; do
6230 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6231 ac_cv_prog_AR="${ac_tool_prefix}ar"
6232 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
6242 if test -n "$AR"; then
6243 { $as_echo "$as_me:$LINENO: result: $AR" >&5
6244 $as_echo "$AR" >&6; }
6246 { $as_echo "$as_me:$LINENO: result: no" >&5
6247 $as_echo "no" >&6; }
6252 if test -z "$ac_cv_prog_AR"; then
6254 # Extract the first word of "ar", so it can be a program name with args.
6255 set dummy ar; ac_word=$2
6256 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
6257 $as_echo_n "checking for $ac_word... " >&6; }
6258 if test "${ac_cv_prog_ac_ct_AR+set}" = set; then
6259 $as_echo_n "(cached) " >&6
6261 if test -n "$ac_ct_AR"; then
6262 ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test.
6264 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6268 test -z "$as_dir" && as_dir=.
6269 for ac_exec_ext in '' $ac_executable_extensions; do
6270 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6271 ac_cv_prog_ac_ct_AR="ar"
6272 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
6281 ac_ct_AR=$ac_cv_prog_ac_ct_AR
6282 if test -n "$ac_ct_AR"; then
6283 { $as_echo "$as_me:$LINENO: result: $ac_ct_AR" >&5
6284 $as_echo "$ac_ct_AR" >&6; }
6286 { $as_echo "$as_me:$LINENO: result: no" >&5
6287 $as_echo "no" >&6; }
6290 if test "x$ac_ct_AR" = x; then
6293 case $cross_compiling:$ac_tool_warned in
6295 { $as_echo "$as_me:$LINENO: WARNING: using cross tools not prefixed with host triplet" >&5
6296 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6297 ac_tool_warned=yes ;;
6305 if test -n "$ac_tool_prefix"; then
6306 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
6307 set dummy ${ac_tool_prefix}ranlib; ac_word=$2
6308 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
6309 $as_echo_n "checking for $ac_word... " >&6; }
6310 if test "${ac_cv_prog_RANLIB+set}" = set; then
6311 $as_echo_n "(cached) " >&6
6313 if test -n "$RANLIB"; then
6314 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
6316 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6320 test -z "$as_dir" && as_dir=.
6321 for ac_exec_ext in '' $ac_executable_extensions; do
6322 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6323 ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
6324 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
6333 RANLIB=$ac_cv_prog_RANLIB
6334 if test -n "$RANLIB"; then
6335 { $as_echo "$as_me:$LINENO: result: $RANLIB" >&5
6336 $as_echo "$RANLIB" >&6; }
6338 { $as_echo "$as_me:$LINENO: result: no" >&5
6339 $as_echo "no" >&6; }
6344 if test -z "$ac_cv_prog_RANLIB"; then
6345 ac_ct_RANLIB=$RANLIB
6346 # Extract the first word of "ranlib", so it can be a program name with args.
6347 set dummy ranlib; ac_word=$2
6348 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
6349 $as_echo_n "checking for $ac_word... " >&6; }
6350 if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then
6351 $as_echo_n "(cached) " >&6
6353 if test -n "$ac_ct_RANLIB"; then
6354 ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
6356 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6360 test -z "$as_dir" && as_dir=.
6361 for ac_exec_ext in '' $ac_executable_extensions; do
6362 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6363 ac_cv_prog_ac_ct_RANLIB="ranlib"
6364 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
6373 ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
6374 if test -n "$ac_ct_RANLIB"; then
6375 { $as_echo "$as_me:$LINENO: result: $ac_ct_RANLIB" >&5
6376 $as_echo "$ac_ct_RANLIB" >&6; }
6378 { $as_echo "$as_me:$LINENO: result: no" >&5
6379 $as_echo "no" >&6; }
6382 if test "x$ac_ct_RANLIB" = x; then
6385 case $cross_compiling:$ac_tool_warned in
6387 { $as_echo "$as_me:$LINENO: WARNING: using cross tools not prefixed with host triplet" >&5
6388 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6389 ac_tool_warned=yes ;;
6391 RANLIB=$ac_ct_RANLIB
6394 RANLIB="$ac_cv_prog_RANLIB"
6397 if test -n "$ac_tool_prefix"; then
6398 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
6399 set dummy ${ac_tool_prefix}strip; ac_word=$2
6400 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
6401 $as_echo_n "checking for $ac_word... " >&6; }
6402 if test "${ac_cv_prog_STRIP+set}" = set; then
6403 $as_echo_n "(cached) " >&6
6405 if test -n "$STRIP"; then
6406 ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
6408 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6412 test -z "$as_dir" && as_dir=.
6413 for ac_exec_ext in '' $ac_executable_extensions; do
6414 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6415 ac_cv_prog_STRIP="${ac_tool_prefix}strip"
6416 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
6425 STRIP=$ac_cv_prog_STRIP
6426 if test -n "$STRIP"; then
6427 { $as_echo "$as_me:$LINENO: result: $STRIP" >&5
6428 $as_echo "$STRIP" >&6; }
6430 { $as_echo "$as_me:$LINENO: result: no" >&5
6431 $as_echo "no" >&6; }
6436 if test -z "$ac_cv_prog_STRIP"; then
6438 # Extract the first word of "strip", so it can be a program name with args.
6439 set dummy strip; ac_word=$2
6440 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
6441 $as_echo_n "checking for $ac_word... " >&6; }
6442 if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then
6443 $as_echo_n "(cached) " >&6
6445 if test -n "$ac_ct_STRIP"; then
6446 ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
6448 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6452 test -z "$as_dir" && as_dir=.
6453 for ac_exec_ext in '' $ac_executable_extensions; do
6454 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6455 ac_cv_prog_ac_ct_STRIP="strip"
6456 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
6465 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
6466 if test -n "$ac_ct_STRIP"; then
6467 { $as_echo "$as_me:$LINENO: result: $ac_ct_STRIP" >&5
6468 $as_echo "$ac_ct_STRIP" >&6; }
6470 { $as_echo "$as_me:$LINENO: result: no" >&5
6471 $as_echo "no" >&6; }
6474 if test "x$ac_ct_STRIP" = x; then
6477 case $cross_compiling:$ac_tool_warned in
6479 { $as_echo "$as_me:$LINENO: WARNING: using cross tools not prefixed with host triplet" >&5
6480 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6481 ac_tool_warned=yes ;;
6486 STRIP="$ac_cv_prog_STRIP"
6491 old_CFLAGS="$CFLAGS"
6493 # Set sane defaults for various variables
6494 test -z "$AR" && AR=ar
6495 test -z "$AR_FLAGS" && AR_FLAGS=cru
6496 test -z "$AS" && AS=as
6497 test -z "$CC" && CC=cc
6498 test -z "$LTCC" && LTCC=$CC
6499 test -z "$LTCFLAGS" && LTCFLAGS=$CFLAGS
6500 test -z "$DLLTOOL" && DLLTOOL=dlltool
6501 test -z "$LD" && LD=ld
6502 test -z "$LN_S" && LN_S="ln -s"
6503 test -z "$MAGIC_CMD" && MAGIC_CMD=file
6504 test -z "$NM" && NM=nm
6505 test -z "$SED" && SED=sed
6506 test -z "$OBJDUMP" && OBJDUMP=objdump
6507 test -z "$RANLIB" && RANLIB=:
6508 test -z "$STRIP" && STRIP=:
6509 test -z "$ac_objext" && ac_objext=o
6511 # Determine commands to create old-style static archives.
6512 old_archive_cmds='$AR $AR_FLAGS $oldlib$oldobjs'
6513 old_postinstall_cmds='chmod 644 $oldlib'
6514 old_postuninstall_cmds=
6516 if test -n "$RANLIB"; then
6519 old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB -t \$oldlib"
6522 old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB \$oldlib"
6525 old_archive_cmds="$old_archive_cmds~\$RANLIB \$oldlib"
6528 for cc_temp in $compiler""; do
6530 compile | *[\\/]compile | ccache | *[\\/]ccache ) ;;
6531 distcc | *[\\/]distcc | purify | *[\\/]purify ) ;;
6536 cc_basename=`$echo "X$cc_temp" | $Xsed -e 's%.*/%%' -e "s%^$host_alias-%%"`
6539 # Only perform the check for file, if the check method requires it
6540 case $deplibs_check_method in
6542 if test "$file_magic_cmd" = '$MAGIC_CMD'; then
6543 { $as_echo "$as_me:$LINENO: checking for ${ac_tool_prefix}file" >&5
6544 $as_echo_n "checking for ${ac_tool_prefix}file... " >&6; }
6545 if test "${lt_cv_path_MAGIC_CMD+set}" = set; then
6546 $as_echo_n "(cached) " >&6
6550 lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a path.
6553 lt_save_MAGIC_CMD="$MAGIC_CMD"
6554 lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
6555 ac_dummy="/usr/bin$PATH_SEPARATOR$PATH"
6556 for ac_dir in $ac_dummy; do
6558 test -z "$ac_dir" && ac_dir=.
6559 if test -f $ac_dir/${ac_tool_prefix}file; then
6560 lt_cv_path_MAGIC_CMD="$ac_dir/${ac_tool_prefix}file"
6561 if test -n "$file_magic_test_file"; then
6562 case $deplibs_check_method in
6564 file_magic_regex=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
6565 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
6566 if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
6567 $EGREP "$file_magic_regex" > /dev/null; then
6572 *** Warning: the command libtool uses to detect shared libraries,
6573 *** $file_magic_cmd, produces output that libtool cannot recognize.
6574 *** The result is that libtool may fail to recognize shared libraries
6575 *** as such. This will affect the creation of libtool libraries that
6576 *** depend on shared libraries, but programs linked with such libtool
6577 *** libraries will work regardless of this problem. Nevertheless, you
6578 *** may want to report the problem to your system manager and/or to
6579 *** bug-libtool@gnu.org
6589 MAGIC_CMD="$lt_save_MAGIC_CMD"
6594 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
6595 if test -n "$MAGIC_CMD"; then
6596 { $as_echo "$as_me:$LINENO: result: $MAGIC_CMD" >&5
6597 $as_echo "$MAGIC_CMD" >&6; }
6599 { $as_echo "$as_me:$LINENO: result: no" >&5
6600 $as_echo "no" >&6; }
6603 if test -z "$lt_cv_path_MAGIC_CMD"; then
6604 if test -n "$ac_tool_prefix"; then
6605 { $as_echo "$as_me:$LINENO: checking for file" >&5
6606 $as_echo_n "checking for file... " >&6; }
6607 if test "${lt_cv_path_MAGIC_CMD+set}" = set; then
6608 $as_echo_n "(cached) " >&6
6612 lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a path.
6615 lt_save_MAGIC_CMD="$MAGIC_CMD"
6616 lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
6617 ac_dummy="/usr/bin$PATH_SEPARATOR$PATH"
6618 for ac_dir in $ac_dummy; do
6620 test -z "$ac_dir" && ac_dir=.
6621 if test -f $ac_dir/file; then
6622 lt_cv_path_MAGIC_CMD="$ac_dir/file"
6623 if test -n "$file_magic_test_file"; then
6624 case $deplibs_check_method in
6626 file_magic_regex=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
6627 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
6628 if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
6629 $EGREP "$file_magic_regex" > /dev/null; then
6634 *** Warning: the command libtool uses to detect shared libraries,
6635 *** $file_magic_cmd, produces output that libtool cannot recognize.
6636 *** The result is that libtool may fail to recognize shared libraries
6637 *** as such. This will affect the creation of libtool libraries that
6638 *** depend on shared libraries, but programs linked with such libtool
6639 *** libraries will work regardless of this problem. Nevertheless, you
6640 *** may want to report the problem to your system manager and/or to
6641 *** bug-libtool@gnu.org
6651 MAGIC_CMD="$lt_save_MAGIC_CMD"
6656 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
6657 if test -n "$MAGIC_CMD"; then
6658 { $as_echo "$as_me:$LINENO: result: $MAGIC_CMD" >&5
6659 $as_echo "$MAGIC_CMD" >&6; }
6661 { $as_echo "$as_me:$LINENO: result: no" >&5
6662 $as_echo "no" >&6; }
6676 rhapsody* | darwin*)
6677 if test -n "$ac_tool_prefix"; then
6678 # Extract the first word of "${ac_tool_prefix}dsymutil", so it can be a program name with args.
6679 set dummy ${ac_tool_prefix}dsymutil; ac_word=$2
6680 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
6681 $as_echo_n "checking for $ac_word... " >&6; }
6682 if test "${ac_cv_prog_DSYMUTIL+set}" = set; then
6683 $as_echo_n "(cached) " >&6
6685 if test -n "$DSYMUTIL"; then
6686 ac_cv_prog_DSYMUTIL="$DSYMUTIL" # Let the user override the test.
6688 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6692 test -z "$as_dir" && as_dir=.
6693 for ac_exec_ext in '' $ac_executable_extensions; do
6694 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6695 ac_cv_prog_DSYMUTIL="${ac_tool_prefix}dsymutil"
6696 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
6705 DSYMUTIL=$ac_cv_prog_DSYMUTIL
6706 if test -n "$DSYMUTIL"; then
6707 { $as_echo "$as_me:$LINENO: result: $DSYMUTIL" >&5
6708 $as_echo "$DSYMUTIL" >&6; }
6710 { $as_echo "$as_me:$LINENO: result: no" >&5
6711 $as_echo "no" >&6; }
6716 if test -z "$ac_cv_prog_DSYMUTIL"; then
6717 ac_ct_DSYMUTIL=$DSYMUTIL
6718 # Extract the first word of "dsymutil", so it can be a program name with args.
6719 set dummy dsymutil; ac_word=$2
6720 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
6721 $as_echo_n "checking for $ac_word... " >&6; }
6722 if test "${ac_cv_prog_ac_ct_DSYMUTIL+set}" = set; then
6723 $as_echo_n "(cached) " >&6
6725 if test -n "$ac_ct_DSYMUTIL"; then
6726 ac_cv_prog_ac_ct_DSYMUTIL="$ac_ct_DSYMUTIL" # Let the user override the test.
6728 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6732 test -z "$as_dir" && as_dir=.
6733 for ac_exec_ext in '' $ac_executable_extensions; do
6734 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6735 ac_cv_prog_ac_ct_DSYMUTIL="dsymutil"
6736 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
6745 ac_ct_DSYMUTIL=$ac_cv_prog_ac_ct_DSYMUTIL
6746 if test -n "$ac_ct_DSYMUTIL"; then
6747 { $as_echo "$as_me:$LINENO: result: $ac_ct_DSYMUTIL" >&5
6748 $as_echo "$ac_ct_DSYMUTIL" >&6; }
6750 { $as_echo "$as_me:$LINENO: result: no" >&5
6751 $as_echo "no" >&6; }
6754 if test "x$ac_ct_DSYMUTIL" = x; then
6757 case $cross_compiling:$ac_tool_warned in
6759 { $as_echo "$as_me:$LINENO: WARNING: using cross tools not prefixed with host triplet" >&5
6760 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6761 ac_tool_warned=yes ;;
6763 DSYMUTIL=$ac_ct_DSYMUTIL
6766 DSYMUTIL="$ac_cv_prog_DSYMUTIL"
6769 if test -n "$ac_tool_prefix"; then
6770 # Extract the first word of "${ac_tool_prefix}nmedit", so it can be a program name with args.
6771 set dummy ${ac_tool_prefix}nmedit; ac_word=$2
6772 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
6773 $as_echo_n "checking for $ac_word... " >&6; }
6774 if test "${ac_cv_prog_NMEDIT+set}" = set; then
6775 $as_echo_n "(cached) " >&6
6777 if test -n "$NMEDIT"; then
6778 ac_cv_prog_NMEDIT="$NMEDIT" # Let the user override the test.
6780 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6784 test -z "$as_dir" && as_dir=.
6785 for ac_exec_ext in '' $ac_executable_extensions; do
6786 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6787 ac_cv_prog_NMEDIT="${ac_tool_prefix}nmedit"
6788 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
6797 NMEDIT=$ac_cv_prog_NMEDIT
6798 if test -n "$NMEDIT"; then
6799 { $as_echo "$as_me:$LINENO: result: $NMEDIT" >&5
6800 $as_echo "$NMEDIT" >&6; }
6802 { $as_echo "$as_me:$LINENO: result: no" >&5
6803 $as_echo "no" >&6; }
6808 if test -z "$ac_cv_prog_NMEDIT"; then
6809 ac_ct_NMEDIT=$NMEDIT
6810 # Extract the first word of "nmedit", so it can be a program name with args.
6811 set dummy nmedit; ac_word=$2
6812 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
6813 $as_echo_n "checking for $ac_word... " >&6; }
6814 if test "${ac_cv_prog_ac_ct_NMEDIT+set}" = set; then
6815 $as_echo_n "(cached) " >&6
6817 if test -n "$ac_ct_NMEDIT"; then
6818 ac_cv_prog_ac_ct_NMEDIT="$ac_ct_NMEDIT" # Let the user override the test.
6820 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6824 test -z "$as_dir" && as_dir=.
6825 for ac_exec_ext in '' $ac_executable_extensions; do
6826 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6827 ac_cv_prog_ac_ct_NMEDIT="nmedit"
6828 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
6837 ac_ct_NMEDIT=$ac_cv_prog_ac_ct_NMEDIT
6838 if test -n "$ac_ct_NMEDIT"; then
6839 { $as_echo "$as_me:$LINENO: result: $ac_ct_NMEDIT" >&5
6840 $as_echo "$ac_ct_NMEDIT" >&6; }
6842 { $as_echo "$as_me:$LINENO: result: no" >&5
6843 $as_echo "no" >&6; }
6846 if test "x$ac_ct_NMEDIT" = x; then
6849 case $cross_compiling:$ac_tool_warned in
6851 { $as_echo "$as_me:$LINENO: WARNING: using cross tools not prefixed with host triplet" >&5
6852 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6853 ac_tool_warned=yes ;;
6855 NMEDIT=$ac_ct_NMEDIT
6858 NMEDIT="$ac_cv_prog_NMEDIT"
6862 { $as_echo "$as_me:$LINENO: checking for -single_module linker flag" >&5
6863 $as_echo_n "checking for -single_module linker flag... " >&6; }
6864 if test "${lt_cv_apple_cc_single_mod+set}" = set; then
6865 $as_echo_n "(cached) " >&6
6867 lt_cv_apple_cc_single_mod=no
6868 if test -z "${LT_MULTI_MODULE}"; then
6869 # By default we will add the -single_module flag. You can override
6870 # by either setting the environment variable LT_MULTI_MODULE
6871 # non-empty at configure time, or by adding -multi_module to the
6873 echo "int foo(void){return 1;}" > conftest.c
6874 $LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \
6875 -dynamiclib ${wl}-single_module conftest.c
6876 if test -f libconftest.dylib; then
6877 lt_cv_apple_cc_single_mod=yes
6878 rm -rf libconftest.dylib*
6883 { $as_echo "$as_me:$LINENO: result: $lt_cv_apple_cc_single_mod" >&5
6884 $as_echo "$lt_cv_apple_cc_single_mod" >&6; }
6885 { $as_echo "$as_me:$LINENO: checking for -exported_symbols_list linker flag" >&5
6886 $as_echo_n "checking for -exported_symbols_list linker flag... " >&6; }
6887 if test "${lt_cv_ld_exported_symbols_list+set}" = set; then
6888 $as_echo_n "(cached) " >&6
6890 lt_cv_ld_exported_symbols_list=no
6891 save_LDFLAGS=$LDFLAGS
6892 echo "_main" > conftest.sym
6893 LDFLAGS="$LDFLAGS -Wl,-exported_symbols_list,conftest.sym"
6894 cat >conftest.$ac_ext <<_ACEOF
6897 cat confdefs.h >>conftest.$ac_ext
6898 cat >>conftest.$ac_ext <<_ACEOF
6899 /* end confdefs.h. */
6909 rm -f conftest.$ac_objext conftest$ac_exeext
6910 if { (ac_try="$ac_link"
6912 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
6913 *) ac_try_echo=$ac_try;;
6915 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
6916 $as_echo "$ac_try_echo") >&5
6917 (eval "$ac_link") 2>conftest.er1
6919 grep -v '^ *+' conftest.er1 >conftest.err
6921 cat conftest.err >&5
6922 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
6923 (exit $ac_status); } && {
6924 test -z "$ac_c_werror_flag" ||
6925 test ! -s conftest.err
6926 } && test -s conftest$ac_exeext && {
6927 test "$cross_compiling" = yes ||
6928 $as_test_x conftest$ac_exeext
6930 lt_cv_ld_exported_symbols_list=yes
6932 $as_echo "$as_me: failed program was:" >&5
6933 sed 's/^/| /' conftest.$ac_ext >&5
6935 lt_cv_ld_exported_symbols_list=no
6938 rm -rf conftest.dSYM
6939 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
6940 conftest$ac_exeext conftest.$ac_ext
6941 LDFLAGS="$save_LDFLAGS"
6944 { $as_echo "$as_me:$LINENO: result: $lt_cv_ld_exported_symbols_list" >&5
6945 $as_echo "$lt_cv_ld_exported_symbols_list" >&6; }
6947 rhapsody* | darwin1.[0123])
6948 _lt_dar_allow_undefined='${wl}-undefined ${wl}suppress' ;;
6950 _lt_dar_allow_undefined='${wl}-flat_namespace ${wl}-undefined ${wl}suppress' ;;
6952 # if running on 10.5 or later, the deployment target defaults
6953 # to the OS version, if on x86, and 10.4, the deployment
6954 # target defaults to 10.4. Don't you love it?
6955 case ${MACOSX_DEPLOYMENT_TARGET-10.0},$host in
6956 10.0,*86*-darwin8*|10.0,*-darwin[91]*)
6957 _lt_dar_allow_undefined='${wl}-undefined ${wl}dynamic_lookup' ;;
6959 _lt_dar_allow_undefined='${wl}-flat_namespace ${wl}-undefined ${wl}suppress' ;;
6961 _lt_dar_allow_undefined='${wl}-undefined ${wl}dynamic_lookup' ;;
6965 if test "$lt_cv_apple_cc_single_mod" = "yes"; then
6966 _lt_dar_single_mod='$single_module'
6968 if test "$lt_cv_ld_exported_symbols_list" = "yes"; then
6969 _lt_dar_export_syms=' ${wl}-exported_symbols_list,$output_objdir/${libname}-symbols.expsym'
6971 _lt_dar_export_syms="~$NMEDIT -s \$output_objdir/\${libname}-symbols.expsym \${lib}"
6973 if test "$DSYMUTIL" != ":"; then
6974 _lt_dsymutil="~$DSYMUTIL \$lib || :"
6985 # Check whether --enable-libtool-lock was given.
6986 if test "${enable_libtool_lock+set}" = set; then
6987 enableval=$enable_libtool_lock;
6990 test "x$enable_libtool_lock" != xno && enable_libtool_lock=yes
6993 # Check whether --with-pic was given.
6994 if test "${with_pic+set}" = set; then
6995 withval=$with_pic; pic_mode="$withval"
7000 test -z "$pic_mode" && pic_mode=default
7002 # Use C for the default configuration in the libtool script
7006 ac_cpp='$CPP $CPPFLAGS'
7007 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
7008 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
7009 ac_compiler_gnu=$ac_cv_c_compiler_gnu
7012 # Source file extension for C test sources.
7015 # Object file extension for compiled C test sources.
7019 # Code to be used in simple compile tests
7020 lt_simple_compile_test_code="int some_variable = 0;"
7022 # Code to be used in simple link tests
7023 lt_simple_link_test_code='int main(){return(0);}'
7026 # If no C compiler was specified, use CC.
7029 # If no C compiler flags were specified, use CFLAGS.
7030 LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
7032 # Allow CC to be a program name with arguments.
7036 # save warnings/boilerplate of simple test code
7037 ac_outfile=conftest.$ac_objext
7038 echo "$lt_simple_compile_test_code" >conftest.$ac_ext
7039 eval "$ac_compile" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
7040 _lt_compiler_boilerplate=`cat conftest.err`
7043 ac_outfile=conftest.$ac_objext
7044 echo "$lt_simple_link_test_code" >conftest.$ac_ext
7045 eval "$ac_link" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
7046 _lt_linker_boilerplate=`cat conftest.err`
7051 lt_prog_compiler_no_builtin_flag=
7053 if test "$GCC" = yes; then
7054 lt_prog_compiler_no_builtin_flag=' -fno-builtin'
7057 { $as_echo "$as_me:$LINENO: checking if $compiler supports -fno-rtti -fno-exceptions" >&5
7058 $as_echo_n "checking if $compiler supports -fno-rtti -fno-exceptions... " >&6; }
7059 if test "${lt_cv_prog_compiler_rtti_exceptions+set}" = set; then
7060 $as_echo_n "(cached) " >&6
7062 lt_cv_prog_compiler_rtti_exceptions=no
7063 ac_outfile=conftest.$ac_objext
7064 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
7065 lt_compiler_flag="-fno-rtti -fno-exceptions"
7066 # Insert the option either (1) after the last *FLAGS variable, or
7067 # (2) before a word containing "conftest.", or (3) at the end.
7068 # Note that $ac_compile itself does not contain backslashes and begins
7069 # with a dollar sign (not a hyphen), so the echo should work correctly.
7070 # The option is referenced via a variable to avoid confusing sed.
7071 lt_compile=`echo "$ac_compile" | $SED \
7072 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
7073 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
7074 -e 's:$: $lt_compiler_flag:'`
7075 (eval echo "\"\$as_me:7075: $lt_compile\"" >&5)
7076 (eval "$lt_compile" 2>conftest.err)
7078 cat conftest.err >&5
7079 echo "$as_me:7079: \$? = $ac_status" >&5
7080 if (exit $ac_status) && test -s "$ac_outfile"; then
7081 # The compiler can only warn and ignore the option if not recognized
7082 # So say no if there are warnings other than the usual output.
7083 $echo "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' >conftest.exp
7084 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
7085 if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
7086 lt_cv_prog_compiler_rtti_exceptions=yes
7092 { $as_echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_rtti_exceptions" >&5
7093 $as_echo "$lt_cv_prog_compiler_rtti_exceptions" >&6; }
7095 if test x"$lt_cv_prog_compiler_rtti_exceptions" = xyes; then
7096 lt_prog_compiler_no_builtin_flag="$lt_prog_compiler_no_builtin_flag -fno-rtti -fno-exceptions"
7103 lt_prog_compiler_wl=
7104 lt_prog_compiler_pic=
7105 lt_prog_compiler_static=
7107 { $as_echo "$as_me:$LINENO: checking for $compiler option to produce PIC" >&5
7108 $as_echo_n "checking for $compiler option to produce PIC... " >&6; }
7110 if test "$GCC" = yes; then
7111 lt_prog_compiler_wl='-Wl,'
7112 lt_prog_compiler_static='-static'
7116 # All AIX code is PIC.
7117 if test "$host_cpu" = ia64; then
7118 # AIX 5 now supports IA64 processor
7119 lt_prog_compiler_static='-Bstatic'
7124 # FIXME: we need at least 68020 code to build shared libraries, but
7125 # adding the `-m68020' flag to GCC prevents building anything better,
7127 lt_prog_compiler_pic='-m68020 -resident32 -malways-restore-a4'
7130 beos* | irix5* | irix6* | nonstopux* | osf3* | osf4* | osf5*)
7131 # PIC is the default for these OSes.
7134 mingw* | cygwin* | pw32* | os2*)
7135 # This hack is so that the source file can tell whether it is being
7136 # built for inclusion in a dll (and should export symbols for example).
7137 # Although the cygwin gcc ignores -fPIC, still need this for old-style
7138 # (--disable-auto-import) libraries
7139 lt_prog_compiler_pic='-DDLL_EXPORT'
7142 darwin* | rhapsody*)
7143 # PIC is the default on this platform
7144 # Common symbols not allowed in MH_DYLIB files
7145 lt_prog_compiler_pic='-fno-common'
7149 # Interix 3.x gcc -fpic/-fPIC options generate broken code.
7150 # Instead, we relocate shared libraries at runtime.
7154 # Just because we use GCC doesn't mean we suddenly get shared libraries
7155 # on systems that don't support them.
7156 lt_prog_compiler_can_build_shared=no
7161 if test -d /usr/nec; then
7162 lt_prog_compiler_pic=-Kconform_pic
7167 # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
7174 lt_prog_compiler_pic='-fPIC'
7180 lt_prog_compiler_pic='-fPIC'
7184 # PORTME Check for flag to pass linker flags through the system compiler.
7187 lt_prog_compiler_wl='-Wl,'
7188 if test "$host_cpu" = ia64; then
7189 # AIX 5 now supports IA64 processor
7190 lt_prog_compiler_static='-Bstatic'
7192 lt_prog_compiler_static='-bnso -bI:/lib/syscalls.exp'
7196 # PIC is the default on this platform
7197 # Common symbols not allowed in MH_DYLIB files
7198 case $cc_basename in
7200 lt_prog_compiler_pic='-qnocommon'
7201 lt_prog_compiler_wl='-Wl,'
7206 mingw* | cygwin* | pw32* | os2*)
7207 # This hack is so that the source file can tell whether it is being
7208 # built for inclusion in a dll (and should export symbols for example).
7209 lt_prog_compiler_pic='-DDLL_EXPORT'
7212 hpux9* | hpux10* | hpux11*)
7213 lt_prog_compiler_wl='-Wl,'
7214 # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
7221 lt_prog_compiler_pic='+Z'
7224 # Is there a better lt_prog_compiler_static that works with the bundled CC?
7225 lt_prog_compiler_static='${wl}-a ${wl}archive'
7228 irix5* | irix6* | nonstopux*)
7229 lt_prog_compiler_wl='-Wl,'
7230 # PIC (with -KPIC) is the default.
7231 lt_prog_compiler_static='-non_shared'
7235 lt_prog_compiler_pic='-KPIC'
7236 lt_prog_compiler_static='-Bstatic'
7239 linux* | k*bsd*-gnu)
7240 case $cc_basename in
7242 lt_prog_compiler_wl='-Wl,'
7243 lt_prog_compiler_pic='-KPIC'
7244 lt_prog_compiler_static='-static'
7246 pgcc* | pgf77* | pgf90* | pgf95*)
7247 # Portland Group compilers (*not* the Pentium gcc compiler,
7248 # which looks to be a dead project)
7249 lt_prog_compiler_wl='-Wl,'
7250 lt_prog_compiler_pic='-fpic'
7251 lt_prog_compiler_static='-Bstatic'
7254 lt_prog_compiler_wl='-Wl,'
7255 # All Alpha code is PIC.
7256 lt_prog_compiler_static='-non_shared'
7259 case `$CC -V 2>&1 | sed 5q` in
7262 lt_prog_compiler_pic='-KPIC'
7263 lt_prog_compiler_static='-Bstatic'
7264 lt_prog_compiler_wl='-Wl,'
7267 # Sun Fortran 8.3 passes all unrecognized flags to the linker
7268 lt_prog_compiler_pic='-KPIC'
7269 lt_prog_compiler_static='-Bstatic'
7270 lt_prog_compiler_wl=''
7277 osf3* | osf4* | osf5*)
7278 lt_prog_compiler_wl='-Wl,'
7279 # All OSF/1 code is PIC.
7280 lt_prog_compiler_static='-non_shared'
7284 lt_prog_compiler_static='-non_shared'
7288 lt_prog_compiler_pic='-KPIC'
7289 lt_prog_compiler_static='-Bstatic'
7290 case $cc_basename in
7292 lt_prog_compiler_wl='-Qoption ld ';;
7294 lt_prog_compiler_wl='-Wl,';;
7299 lt_prog_compiler_wl='-Qoption ld '
7300 lt_prog_compiler_pic='-PIC'
7301 lt_prog_compiler_static='-Bstatic'
7304 sysv4 | sysv4.2uw2* | sysv4.3*)
7305 lt_prog_compiler_wl='-Wl,'
7306 lt_prog_compiler_pic='-KPIC'
7307 lt_prog_compiler_static='-Bstatic'
7311 if test -d /usr/nec ;then
7312 lt_prog_compiler_pic='-Kconform_pic'
7313 lt_prog_compiler_static='-Bstatic'
7317 sysv5* | unixware* | sco3.2v5* | sco5v6* | OpenUNIX*)
7318 lt_prog_compiler_wl='-Wl,'
7319 lt_prog_compiler_pic='-KPIC'
7320 lt_prog_compiler_static='-Bstatic'
7324 lt_prog_compiler_wl='-Wl,'
7325 lt_prog_compiler_can_build_shared=no
7329 lt_prog_compiler_pic='-pic'
7330 lt_prog_compiler_static='-Bstatic'
7334 lt_prog_compiler_can_build_shared=no
7339 { $as_echo "$as_me:$LINENO: result: $lt_prog_compiler_pic" >&5
7340 $as_echo "$lt_prog_compiler_pic" >&6; }
7343 # Check to make sure the PIC flag actually works.
7345 if test -n "$lt_prog_compiler_pic"; then
7347 { $as_echo "$as_me:$LINENO: checking if $compiler PIC flag $lt_prog_compiler_pic works" >&5
7348 $as_echo_n "checking if $compiler PIC flag $lt_prog_compiler_pic works... " >&6; }
7349 if test "${lt_cv_prog_compiler_pic_works+set}" = set; then
7350 $as_echo_n "(cached) " >&6
7352 lt_cv_prog_compiler_pic_works=no
7353 ac_outfile=conftest.$ac_objext
7354 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
7355 lt_compiler_flag="$lt_prog_compiler_pic -DPIC"
7356 # Insert the option either (1) after the last *FLAGS variable, or
7357 # (2) before a word containing "conftest.", or (3) at the end.
7358 # Note that $ac_compile itself does not contain backslashes and begins
7359 # with a dollar sign (not a hyphen), so the echo should work correctly.
7360 # The option is referenced via a variable to avoid confusing sed.
7361 lt_compile=`echo "$ac_compile" | $SED \
7362 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
7363 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
7364 -e 's:$: $lt_compiler_flag:'`
7365 (eval echo "\"\$as_me:7365: $lt_compile\"" >&5)
7366 (eval "$lt_compile" 2>conftest.err)
7368 cat conftest.err >&5
7369 echo "$as_me:7369: \$? = $ac_status" >&5
7370 if (exit $ac_status) && test -s "$ac_outfile"; then
7371 # The compiler can only warn and ignore the option if not recognized
7372 # So say no if there are warnings other than the usual output.
7373 $echo "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' >conftest.exp
7374 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
7375 if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
7376 lt_cv_prog_compiler_pic_works=yes
7382 { $as_echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_pic_works" >&5
7383 $as_echo "$lt_cv_prog_compiler_pic_works" >&6; }
7385 if test x"$lt_cv_prog_compiler_pic_works" = xyes; then
7386 case $lt_prog_compiler_pic in
7388 *) lt_prog_compiler_pic=" $lt_prog_compiler_pic" ;;
7391 lt_prog_compiler_pic=
7392 lt_prog_compiler_can_build_shared=no
7397 # For platforms which do not support PIC, -DPIC is meaningless:
7399 lt_prog_compiler_pic=
7402 lt_prog_compiler_pic="$lt_prog_compiler_pic -DPIC"
7407 # Check to make sure the static flag actually works.
7409 wl=$lt_prog_compiler_wl eval lt_tmp_static_flag=\"$lt_prog_compiler_static\"
7410 { $as_echo "$as_me:$LINENO: checking if $compiler static flag $lt_tmp_static_flag works" >&5
7411 $as_echo_n "checking if $compiler static flag $lt_tmp_static_flag works... " >&6; }
7412 if test "${lt_cv_prog_compiler_static_works+set}" = set; then
7413 $as_echo_n "(cached) " >&6
7415 lt_cv_prog_compiler_static_works=no
7416 save_LDFLAGS="$LDFLAGS"
7417 LDFLAGS="$LDFLAGS $lt_tmp_static_flag"
7418 echo "$lt_simple_link_test_code" > conftest.$ac_ext
7419 if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
7420 # The linker can only warn and ignore the option if not recognized
7421 # So say no if there are warnings
7422 if test -s conftest.err; then
7423 # Append any errors to the config.log.
7424 cat conftest.err 1>&5
7425 $echo "X$_lt_linker_boilerplate" | $Xsed -e '/^$/d' > conftest.exp
7426 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
7427 if diff conftest.exp conftest.er2 >/dev/null; then
7428 lt_cv_prog_compiler_static_works=yes
7431 lt_cv_prog_compiler_static_works=yes
7435 LDFLAGS="$save_LDFLAGS"
7438 { $as_echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_static_works" >&5
7439 $as_echo "$lt_cv_prog_compiler_static_works" >&6; }
7441 if test x"$lt_cv_prog_compiler_static_works" = xyes; then
7444 lt_prog_compiler_static=
7448 { $as_echo "$as_me:$LINENO: checking if $compiler supports -c -o file.$ac_objext" >&5
7449 $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
7450 if test "${lt_cv_prog_compiler_c_o+set}" = set; then
7451 $as_echo_n "(cached) " >&6
7453 lt_cv_prog_compiler_c_o=no
7454 $rm -r conftest 2>/dev/null
7458 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
7460 lt_compiler_flag="-o out/conftest2.$ac_objext"
7461 # Insert the option either (1) after the last *FLAGS variable, or
7462 # (2) before a word containing "conftest.", or (3) at the end.
7463 # Note that $ac_compile itself does not contain backslashes and begins
7464 # with a dollar sign (not a hyphen), so the echo should work correctly.
7465 lt_compile=`echo "$ac_compile" | $SED \
7466 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
7467 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
7468 -e 's:$: $lt_compiler_flag:'`
7469 (eval echo "\"\$as_me:7469: $lt_compile\"" >&5)
7470 (eval "$lt_compile" 2>out/conftest.err)
7472 cat out/conftest.err >&5
7473 echo "$as_me:7473: \$? = $ac_status" >&5
7474 if (exit $ac_status) && test -s out/conftest2.$ac_objext
7476 # The compiler can only warn and ignore the option if not recognized
7477 # So say no if there are warnings
7478 $echo "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' > out/conftest.exp
7479 $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
7480 if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
7481 lt_cv_prog_compiler_c_o=yes
7486 # SGI C++ compiler will create directory out/ii_files/ for
7487 # template instantiation
7488 test -d out/ii_files && $rm out/ii_files/* && rmdir out/ii_files
7489 $rm out/* && rmdir out
7495 { $as_echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_c_o" >&5
7496 $as_echo "$lt_cv_prog_compiler_c_o" >&6; }
7499 hard_links="nottested"
7500 if test "$lt_cv_prog_compiler_c_o" = no && test "$need_locks" != no; then
7501 # do not overwrite the value of need_locks provided by the user
7502 { $as_echo "$as_me:$LINENO: checking if we can lock with hard links" >&5
7503 $as_echo_n "checking if we can lock with hard links... " >&6; }
7506 ln conftest.a conftest.b 2>/dev/null && hard_links=no
7508 ln conftest.a conftest.b 2>&5 || hard_links=no
7509 ln conftest.a conftest.b 2>/dev/null && hard_links=no
7510 { $as_echo "$as_me:$LINENO: result: $hard_links" >&5
7511 $as_echo "$hard_links" >&6; }
7512 if test "$hard_links" = no; then
7513 { $as_echo "$as_me:$LINENO: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5
7514 $as_echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;}
7521 { $as_echo "$as_me:$LINENO: checking whether the $compiler linker ($LD) supports shared libraries" >&5
7522 $as_echo_n "checking whether the $compiler linker ($LD) supports shared libraries... " >&6; }
7525 allow_undefined_flag=
7526 enable_shared_with_static_runtimes=no
7528 archive_expsym_cmds=
7529 old_archive_From_new_cmds=
7530 old_archive_from_expsyms_cmds=
7531 export_dynamic_flag_spec=
7532 whole_archive_flag_spec=
7533 thread_safe_flag_spec=
7534 hardcode_libdir_flag_spec=
7535 hardcode_libdir_flag_spec_ld=
7536 hardcode_libdir_separator=
7539 hardcode_shlibpath_var=unsupported
7540 link_all_deplibs=unknown
7541 hardcode_automatic=no
7544 always_export_symbols=no
7545 export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
7546 # include_expsyms should be a list of space-separated symbols to be *always*
7547 # included in the symbol list
7549 # exclude_expsyms can be an extended regexp of symbols to exclude
7550 # it will be wrapped by ` (' and `)$', so one must not match beginning or
7551 # end of line. Example: `a|bc|.*d.*' will exclude the symbols `a' and `bc',
7552 # as well as any symbol that contains `d'.
7553 exclude_expsyms='_GLOBAL_OFFSET_TABLE_|_GLOBAL__F[ID]_.*'
7554 # Although _GLOBAL_OFFSET_TABLE_ is a valid symbol C name, most a.out
7555 # platforms (ab)use it in PIC code, but their linkers get confused if
7556 # the symbol is explicitly referenced. Since portable code cannot
7557 # rely on this symbol name, it's probably fine to never include it in
7558 # preloaded symbol tables.
7559 # Exclude shared library initialization/finalization symbols.
7560 extract_expsyms_cmds=
7561 # Just being paranoid about ensuring that cc_basename is set.
7562 for cc_temp in $compiler""; do
7564 compile | *[\\/]compile | ccache | *[\\/]ccache ) ;;
7565 distcc | *[\\/]distcc | purify | *[\\/]purify ) ;;
7570 cc_basename=`$echo "X$cc_temp" | $Xsed -e 's%.*/%%' -e "s%^$host_alias-%%"`
7573 cygwin* | mingw* | pw32*)
7574 # FIXME: the MSVC++ port hasn't been tested in a loooong time
7575 # When not using gcc, we currently assume that we are using
7576 # Microsoft Visual C++.
7577 if test "$GCC" != yes; then
7582 # we just hope/assume this is gcc and not c89 (= MSVC++)
7591 if test "$with_gnu_ld" = yes; then
7592 # If archive_cmds runs LD, not CC, wlarc should be empty
7595 # Set some defaults for GNU ld with shared library support. These
7596 # are reset later if shared libraries are not supported. Putting them
7597 # here allows them to be overridden if necessary.
7598 runpath_var=LD_RUN_PATH
7599 hardcode_libdir_flag_spec='${wl}--rpath ${wl}$libdir'
7600 export_dynamic_flag_spec='${wl}--export-dynamic'
7601 # ancient GNU ld didn't support --whole-archive et. al.
7602 if $LD --help 2>&1 | grep 'no-whole-archive' > /dev/null; then
7603 whole_archive_flag_spec="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
7605 whole_archive_flag_spec=
7607 supports_anon_versioning=no
7608 case `$LD -v 2>/dev/null` in
7609 *\ [01].* | *\ 2.[0-9].* | *\ 2.10.*) ;; # catch versions < 2.11
7610 *\ 2.11.93.0.2\ *) supports_anon_versioning=yes ;; # RH7.3 ...
7611 *\ 2.11.92.0.12\ *) supports_anon_versioning=yes ;; # Mandrake 8.2 ...
7612 *\ 2.11.*) ;; # other 2.11 versions
7613 *) supports_anon_versioning=yes ;;
7616 # See if GNU ld supports shared libraries.
7619 # On AIX/PPC, the GNU linker is very broken
7620 if test "$host_cpu" != ia64; then
7624 *** Warning: the GNU linker, at least up to release 2.9.1, is reported
7625 *** to be unable to reliably create shared libraries on AIX.
7626 *** Therefore, libtool is disabling shared libraries support. If you
7627 *** really care for shared libraries, you may want to modify your PATH
7628 *** so that a non-GNU linker is found, and then restart.
7635 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)'
7636 hardcode_libdir_flag_spec='-L$libdir'
7637 hardcode_minus_L=yes
7639 # Samuel A. Falvo II <kc5tja@dolphin.openprojects.net> reports
7640 # that the semantics of dynamic libraries on AmigaOS, at least up
7641 # to version 4, is to share data among multiple programs linked
7642 # with the same dynamic library. Since this doesn't match the
7643 # behavior of shared libraries on other platforms, we can't use
7649 if $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then
7650 allow_undefined_flag=unsupported
7651 # Joseph Beckenbach <jrb3@best.com> says some releases of gcc
7652 # support --undefined. This deserves some investigation. FIXME
7653 archive_cmds='$CC -nostart $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
7659 cygwin* | mingw* | pw32*)
7660 # _LT_AC_TAGVAR(hardcode_libdir_flag_spec, ) is actually meaningless,
7661 # as there is no search path for DLLs.
7662 hardcode_libdir_flag_spec='-L$libdir'
7663 allow_undefined_flag=unsupported
7664 always_export_symbols=no
7665 enable_shared_with_static_runtimes=yes
7666 export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS][ ]/s/.*[ ]\([^ ]*\)/\1 DATA/'\'' -e '\''/^[AITW][ ]/s/.*[ ]//'\'' | sort | uniq > $export_symbols'
7668 if $LD --help 2>&1 | grep 'auto-import' > /dev/null; then
7669 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
7670 # If the export-symbols file already is a .def file (1st line
7671 # is EXPORTS), use it as is; otherwise, prepend...
7672 archive_expsym_cmds='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
7673 cp $export_symbols $output_objdir/$soname.def;
7675 echo EXPORTS > $output_objdir/$soname.def;
7676 cat $export_symbols >> $output_objdir/$soname.def;
7678 $CC -shared $output_objdir/$soname.def $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
7686 hardcode_shlibpath_var=no
7687 hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
7688 export_dynamic_flag_spec='${wl}-E'
7689 # Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc.
7690 # Instead, shared libraries are loaded at an image base (0x10000000 by
7691 # default) and relocated if they conflict, which is a slow very memory
7692 # consuming and fragmenting process. To avoid this, we pick a random,
7693 # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link
7694 # time. Moving up from 0x10000000 also allows more sbrk(2) space.
7695 archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-h,$soname ${wl}--image-base,`expr ${RANDOM-$$} % 4096 / 2 \* 262144 + 1342177280` -o $lib'
7696 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'
7699 gnu* | linux* | k*bsd*-gnu)
7700 if $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then
7702 case $cc_basename,$host_cpu in
7703 pgcc*) # Portland Group C compiler
7704 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'
7705 tmp_addflag=' $pic_flag'
7707 pgf77* | pgf90* | pgf95*) # Portland Group f77 and f90 compilers
7708 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'
7709 tmp_addflag=' $pic_flag -Mnomain' ;;
7710 ecc*,ia64* | icc*,ia64*) # Intel C compiler on ia64
7711 tmp_addflag=' -i_dynamic' ;;
7712 efc*,ia64* | ifort*,ia64*) # Intel Fortran compiler on ia64
7713 tmp_addflag=' -i_dynamic -nofor_main' ;;
7714 ifc* | ifort*) # Intel Fortran compiler
7715 tmp_addflag=' -nofor_main' ;;
7717 case `$CC -V 2>&1 | sed 5q` in
7718 *Sun\ C*) # Sun C 5.9
7719 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'
7720 tmp_sharedflag='-G' ;;
7721 *Sun\ F*) # Sun Fortran 8.3
7722 tmp_sharedflag='-G' ;;
7724 tmp_sharedflag='-shared' ;;
7726 archive_cmds='$CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
7728 if test $supports_anon_versioning = yes; then
7729 archive_expsym_cmds='$echo "{ global:" > $output_objdir/$libname.ver~
7730 cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
7731 $echo "local: *; };" >> $output_objdir/$libname.ver~
7732 $CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-version-script ${wl}$output_objdir/$libname.ver -o $lib'
7740 if echo __ELF__ | $CC -E - | grep __ELF__ >/dev/null; then
7741 archive_cmds='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib'
7744 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
7745 archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
7750 if $LD -v 2>&1 | grep 'BFD 2\.8' > /dev/null; then
7754 *** Warning: The releases 2.8.* of the GNU linker cannot reliably
7755 *** create shared libraries on Solaris systems. Therefore, libtool
7756 *** is disabling shared libraries support. We urge you to upgrade GNU
7757 *** binutils to release 2.9.1 or newer. Another option is to modify
7758 *** your PATH or compiler configuration so that the native linker is
7759 *** used, and then restart.
7762 elif $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then
7763 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
7764 archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
7770 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX*)
7771 case `$LD -v 2>&1` in
7772 *\ [01].* | *\ 2.[0-9].* | *\ 2.1[0-5].*)
7776 *** Warning: Releases of the GNU linker prior to 2.16.91.0.3 can not
7777 *** reliably create shared libraries on SCO systems. Therefore, libtool
7778 *** is disabling shared libraries support. We urge you to upgrade GNU
7779 *** binutils to release 2.16.91.0.3 or newer. Another option is to modify
7780 *** your PATH or compiler configuration so that the native linker is
7781 *** used, and then restart.
7786 if $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then
7787 hardcode_libdir_flag_spec='`test -z "$SCOABSPATH" && echo ${wl}-rpath,$libdir`'
7788 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib'
7789 archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname,\${SCOABSPATH:+${install_libdir}/}$soname,-retain-symbols-file,$export_symbols -o $lib'
7798 archive_cmds='$LD -assert pure-text -Bshareable -o $lib $libobjs $deplibs $linker_flags'
7801 hardcode_shlibpath_var=no
7805 if $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then
7806 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
7807 archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
7814 if test "$ld_shlibs" = no; then
7816 hardcode_libdir_flag_spec=
7817 export_dynamic_flag_spec=
7818 whole_archive_flag_spec=
7821 # PORTME fill in a description of your system's linker (not GNU ld)
7824 allow_undefined_flag=unsupported
7825 always_export_symbols=yes
7826 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'
7827 # Note: this linker hardcodes the directories in LIBPATH if there
7828 # are no directories specified by -L.
7829 hardcode_minus_L=yes
7830 if test "$GCC" = yes && test -z "$lt_prog_compiler_static"; then
7831 # Neither direct hardcoding nor static linking is supported with a
7833 hardcode_direct=unsupported
7838 if test "$host_cpu" = ia64; then
7839 # On IA64, the linker does run time linking by default, so we don't
7840 # have to do anything special.
7841 aix_use_runtimelinking=no
7842 exp_sym_flag='-Bexport'
7845 # If we're using GNU nm, then we don't want the "-C" option.
7846 # -C means demangle to AIX nm, but means don't demangle with GNU nm
7847 if $NM -V 2>&1 | grep 'GNU' > /dev/null; then
7848 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'
7850 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'
7852 aix_use_runtimelinking=no
7854 # Test if we are trying to use run time linking or normal
7855 # AIX style linking. If -brtl is somewhere in LDFLAGS, we
7856 # need to do runtime linking.
7857 case $host_os in aix4.[23]|aix4.[23].*|aix[5-9]*)
7858 for ld_flag in $LDFLAGS; do
7859 if (test $ld_flag = "-brtl" || test $ld_flag = "-Wl,-brtl"); then
7860 aix_use_runtimelinking=yes
7867 exp_sym_flag='-bexport'
7868 no_entry_flag='-bnoentry'
7871 # When large executables or shared objects are built, AIX ld can
7872 # have problems creating the table of contents. If linking a library
7873 # or program results in "error TOC overflow" add -mminimal-toc to
7874 # CXXFLAGS/CFLAGS for g++/gcc. In the cases where that is not
7875 # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
7879 hardcode_libdir_separator=':'
7880 link_all_deplibs=yes
7882 if test "$GCC" = yes; then
7883 case $host_os in aix4.[012]|aix4.[012].*)
7884 # We only want to do this on AIX 4.2 and lower, the check
7885 # below for broken collect2 doesn't work under 4.3+
7886 collect2name=`${CC} -print-prog-name=collect2`
7887 if test -f "$collect2name" && \
7888 strings "$collect2name" | grep resolve_lib_name >/dev/null
7890 # We have reworked collect2
7893 # We have old collect2
7894 hardcode_direct=unsupported
7895 # It fails to find uninstalled libraries when the uninstalled
7896 # path is not listed in the libpath. Setting hardcode_minus_L
7897 # to unsupported forces relinking
7898 hardcode_minus_L=yes
7899 hardcode_libdir_flag_spec='-L$libdir'
7900 hardcode_libdir_separator=
7904 shared_flag='-shared'
7905 if test "$aix_use_runtimelinking" = yes; then
7906 shared_flag="$shared_flag "'${wl}-G'
7910 if test "$host_cpu" = ia64; then
7911 # VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
7912 # chokes on -Wl,-G. The following line is correct:
7915 if test "$aix_use_runtimelinking" = yes; then
7916 shared_flag='${wl}-G'
7918 shared_flag='${wl}-bM:SRE'
7923 # It seems that -bexpall does not export symbols beginning with
7924 # underscore (_), so it is better to generate a list of symbols to export.
7925 always_export_symbols=yes
7926 if test "$aix_use_runtimelinking" = yes; then
7927 # Warning - without using the other runtime loading flags (-brtl),
7928 # -berok will link without error, but may produce a broken library.
7929 allow_undefined_flag='-berok'
7930 # Determine the default libpath from the value encoded in an empty executable.
7931 cat >conftest.$ac_ext <<_ACEOF
7934 cat confdefs.h >>conftest.$ac_ext
7935 cat >>conftest.$ac_ext <<_ACEOF
7936 /* end confdefs.h. */
7946 rm -f conftest.$ac_objext conftest$ac_exeext
7947 if { (ac_try="$ac_link"
7949 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
7950 *) ac_try_echo=$ac_try;;
7952 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
7953 $as_echo "$ac_try_echo") >&5
7954 (eval "$ac_link") 2>conftest.er1
7956 grep -v '^ *+' conftest.er1 >conftest.err
7958 cat conftest.err >&5
7959 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
7960 (exit $ac_status); } && {
7961 test -z "$ac_c_werror_flag" ||
7962 test ! -s conftest.err
7963 } && test -s conftest$ac_exeext && {
7964 test "$cross_compiling" = yes ||
7965 $as_test_x conftest$ac_exeext
7968 lt_aix_libpath_sed='
7969 /Import File Strings/,/^$/ {
7975 aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
7976 # Check for a 64-bit object if we didn't find anything.
7977 if test -z "$aix_libpath"; then
7978 aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
7981 $as_echo "$as_me: failed program was:" >&5
7982 sed 's/^/| /' conftest.$ac_ext >&5
7987 rm -rf conftest.dSYM
7988 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
7989 conftest$ac_exeext conftest.$ac_ext
7990 if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
7992 hardcode_libdir_flag_spec='${wl}-blibpath:$libdir:'"$aix_libpath"
7993 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 "${wl}${allow_undefined_flag}"; else :; fi` '"\${wl}$exp_sym_flag:\$export_symbols $shared_flag"
7995 if test "$host_cpu" = ia64; then
7996 hardcode_libdir_flag_spec='${wl}-R $libdir:/usr/lib:/lib'
7997 allow_undefined_flag="-z nodefs"
7998 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"
8000 # Determine the default libpath from the value encoded in an empty executable.
8001 cat >conftest.$ac_ext <<_ACEOF
8004 cat confdefs.h >>conftest.$ac_ext
8005 cat >>conftest.$ac_ext <<_ACEOF
8006 /* end confdefs.h. */
8016 rm -f conftest.$ac_objext conftest$ac_exeext
8017 if { (ac_try="$ac_link"
8019 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
8020 *) ac_try_echo=$ac_try;;
8022 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
8023 $as_echo "$ac_try_echo") >&5
8024 (eval "$ac_link") 2>conftest.er1
8026 grep -v '^ *+' conftest.er1 >conftest.err
8028 cat conftest.err >&5
8029 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
8030 (exit $ac_status); } && {
8031 test -z "$ac_c_werror_flag" ||
8032 test ! -s conftest.err
8033 } && test -s conftest$ac_exeext && {
8034 test "$cross_compiling" = yes ||
8035 $as_test_x conftest$ac_exeext
8038 lt_aix_libpath_sed='
8039 /Import File Strings/,/^$/ {
8045 aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
8046 # Check for a 64-bit object if we didn't find anything.
8047 if test -z "$aix_libpath"; then
8048 aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
8051 $as_echo "$as_me: failed program was:" >&5
8052 sed 's/^/| /' conftest.$ac_ext >&5
8057 rm -rf conftest.dSYM
8058 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
8059 conftest$ac_exeext conftest.$ac_ext
8060 if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
8062 hardcode_libdir_flag_spec='${wl}-blibpath:$libdir:'"$aix_libpath"
8063 # Warning - without using the other run time loading flags,
8064 # -berok will link without error, but may produce a broken library.
8065 no_undefined_flag=' ${wl}-bernotok'
8066 allow_undefined_flag=' ${wl}-berok'
8067 # Exported symbols can be pulled into shared objects from archives
8068 whole_archive_flag_spec='$convenience'
8069 archive_cmds_need_lc=yes
8070 # This is similar to how AIX traditionally builds its shared libraries.
8071 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'
8077 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)'
8078 hardcode_libdir_flag_spec='-L$libdir'
8079 hardcode_minus_L=yes
8080 # see comment about different semantics on the GNU ld section
8085 export_dynamic_flag_spec=-rdynamic
8088 cygwin* | mingw* | pw32*)
8089 # When not using gcc, we currently assume that we are using
8090 # Microsoft Visual C++.
8091 # hardcode_libdir_flag_spec is actually meaningless, as there is
8092 # no search path for DLLs.
8093 hardcode_libdir_flag_spec=' '
8094 allow_undefined_flag=unsupported
8095 # Tell ltmain to make .lib files, not .a files.
8097 # Tell ltmain to make .dll files, not .so files.
8099 # FIXME: Setting linknames here is a bad hack.
8100 archive_cmds='$CC -o $lib $libobjs $compiler_flags `echo "$deplibs" | $SED -e '\''s/ -lc$//'\''` -link -dll~linknames='
8101 # The linker will automatically build a .lib file if we build a DLL.
8102 old_archive_From_new_cmds='true'
8103 # FIXME: Should let the user specify the lib program.
8104 old_archive_cmds='lib -OUT:$oldlib$oldobjs$old_deplibs'
8105 fix_srcfile_path='`cygpath -w "$srcfile"`'
8106 enable_shared_with_static_runtimes=yes
8109 darwin* | rhapsody*)
8111 rhapsody* | darwin1.[012])
8112 allow_undefined_flag='${wl}-undefined ${wl}suppress'
8115 if test -z ${MACOSX_DEPLOYMENT_TARGET} ; then
8116 allow_undefined_flag='${wl}-flat_namespace ${wl}-undefined ${wl}suppress'
8118 case ${MACOSX_DEPLOYMENT_TARGET} in
8120 allow_undefined_flag='${wl}-flat_namespace ${wl}-undefined ${wl}suppress'
8123 allow_undefined_flag='${wl}-undefined ${wl}dynamic_lookup'
8129 archive_cmds_need_lc=no
8131 hardcode_automatic=yes
8132 hardcode_shlibpath_var=unsupported
8133 whole_archive_flag_spec=''
8134 link_all_deplibs=yes
8135 if test "$GCC" = yes ; then
8136 output_verbose_link_cmd='echo'
8137 archive_cmds="\$CC -dynamiclib \$allow_undefined_flag -o \$lib \$libobjs \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring $_lt_dar_single_mod${_lt_dsymutil}"
8138 module_cmds="\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags${_lt_dsymutil}"
8139 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}"
8140 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}"
8142 case $cc_basename in
8144 output_verbose_link_cmd='echo'
8145 archive_cmds='$CC -qmkshrobj $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-install_name ${wl}`echo $rpath/$soname` $xlcverstring'
8146 module_cmds='$CC $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags'
8147 # Don't fix this by using the ld -exported_symbols_list flag, it doesn't exist in older darwin lds
8148 archive_expsym_cmds='sed -e "s,#.*,," -e "s,^[ ]*,," -e "s,^\(..*\),_&," < $export_symbols > $output_objdir/${libname}-symbols.expsym~$CC -qmkshrobj $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-install_name ${wl}$rpath/$soname $xlcverstring~nmedit -s $output_objdir/${libname}-symbols.expsym ${lib}'
8149 module_expsym_cmds='sed -e "s,#.*,," -e "s,^[ ]*,," -e "s,^\(..*\),_&," < $export_symbols > $output_objdir/${libname}-symbols.expsym~$CC $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags~nmedit -s $output_objdir/${libname}-symbols.expsym ${lib}'
8159 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
8160 hardcode_libdir_flag_spec='-L$libdir'
8161 hardcode_shlibpath_var=no
8168 # FreeBSD 2.2.[012] allows us to include c++rt0.o to get C++ constructor
8169 # support. Future versions do this automatically, but an explicit c++rt0.o
8170 # does not break anything, and helps significantly (at the cost of a little
8173 archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags /usr/lib/c++rt0.o'
8174 hardcode_libdir_flag_spec='-R$libdir'
8176 hardcode_shlibpath_var=no
8179 # Unfortunately, older versions of FreeBSD 2 do not have this feature.
8181 archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
8183 hardcode_minus_L=yes
8184 hardcode_shlibpath_var=no
8187 # FreeBSD 3 and greater uses gcc -shared to do shared libraries.
8188 freebsd* | dragonfly*)
8189 archive_cmds='$CC -shared -o $lib $libobjs $deplibs $compiler_flags'
8190 hardcode_libdir_flag_spec='-R$libdir'
8192 hardcode_shlibpath_var=no
8196 if test "$GCC" = yes; then
8197 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'
8199 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'
8201 hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
8202 hardcode_libdir_separator=:
8205 # hardcode_minus_L: Not really in the search PATH,
8206 # but as the default location of the library.
8207 hardcode_minus_L=yes
8208 export_dynamic_flag_spec='${wl}-E'
8212 if test "$GCC" = yes -a "$with_gnu_ld" = no; then
8213 archive_cmds='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
8215 archive_cmds='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
8217 if test "$with_gnu_ld" = no; then
8218 hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
8219 hardcode_libdir_separator=:
8222 export_dynamic_flag_spec='${wl}-E'
8224 # hardcode_minus_L: Not really in the search PATH,
8225 # but as the default location of the library.
8226 hardcode_minus_L=yes
8231 if test "$GCC" = yes -a "$with_gnu_ld" = no; then
8234 archive_cmds='$CC -shared ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
8237 archive_cmds='$CC -shared ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
8240 archive_cmds='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
8246 archive_cmds='$CC -b ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
8249 archive_cmds='$CC -b ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
8252 archive_cmds='$CC -b ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
8256 if test "$with_gnu_ld" = no; then
8257 hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
8258 hardcode_libdir_separator=:
8262 hardcode_libdir_flag_spec_ld='+b $libdir'
8264 hardcode_shlibpath_var=no
8268 export_dynamic_flag_spec='${wl}-E'
8270 # hardcode_minus_L: Not really in the search PATH,
8271 # but as the default location of the library.
8272 hardcode_minus_L=yes
8278 irix5* | irix6* | nonstopux*)
8279 if test "$GCC" = yes; then
8280 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname ${wl}$soname `test -n "$verstring" && echo ${wl}-set_version ${wl}$verstring` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib'
8282 archive_cmds='$LD -shared $libobjs $deplibs $linker_flags -soname $soname `test -n "$verstring" && echo -set_version $verstring` -update_registry ${output_objdir}/so_locations -o $lib'
8283 hardcode_libdir_flag_spec_ld='-rpath $libdir'
8285 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
8286 hardcode_libdir_separator=:
8287 link_all_deplibs=yes
8291 if echo __ELF__ | $CC -E - | grep __ELF__ >/dev/null; then
8292 archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags' # a.out
8294 archive_cmds='$LD -shared -o $lib $libobjs $deplibs $linker_flags' # ELF
8296 hardcode_libdir_flag_spec='-R$libdir'
8298 hardcode_shlibpath_var=no
8302 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
8304 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
8305 hardcode_libdir_separator=:
8306 hardcode_shlibpath_var=no
8310 if test -f /usr/libexec/ld.so; then
8312 hardcode_shlibpath_var=no
8313 if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
8314 archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
8315 archive_expsym_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-retain-symbols-file,$export_symbols'
8316 hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
8317 export_dynamic_flag_spec='${wl}-E'
8320 openbsd[01].* | openbsd2.[0-7] | openbsd2.[0-7].*)
8321 archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
8322 hardcode_libdir_flag_spec='-R$libdir'
8325 archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
8326 hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
8336 hardcode_libdir_flag_spec='-L$libdir'
8337 hardcode_minus_L=yes
8338 allow_undefined_flag=unsupported
8339 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'
8340 old_archive_From_new_cmds='emximp -o $output_objdir/$libname.a $output_objdir/$libname.def'
8344 if test "$GCC" = yes; then
8345 allow_undefined_flag=' ${wl}-expect_unresolved ${wl}\*'
8346 archive_cmds='$CC -shared${allow_undefined_flag} $libobjs $deplibs $compiler_flags ${wl}-soname ${wl}$soname `test -n "$verstring" && echo ${wl}-set_version ${wl}$verstring` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib'
8348 allow_undefined_flag=' -expect_unresolved \*'
8349 archive_cmds='$LD -shared${allow_undefined_flag} $libobjs $deplibs $linker_flags -soname $soname `test -n "$verstring" && echo -set_version $verstring` -update_registry ${output_objdir}/so_locations -o $lib'
8351 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
8352 hardcode_libdir_separator=:
8355 osf4* | osf5*) # as osf3* with the addition of -msym flag
8356 if test "$GCC" = yes; then
8357 allow_undefined_flag=' ${wl}-expect_unresolved ${wl}\*'
8358 archive_cmds='$CC -shared${allow_undefined_flag} $libobjs $deplibs $compiler_flags ${wl}-msym ${wl}-soname ${wl}$soname `test -n "$verstring" && echo ${wl}-set_version ${wl}$verstring` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib'
8359 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
8361 allow_undefined_flag=' -expect_unresolved \*'
8362 archive_cmds='$LD -shared${allow_undefined_flag} $libobjs $deplibs $linker_flags -msym -soname $soname `test -n "$verstring" && echo -set_version $verstring` -update_registry ${output_objdir}/so_locations -o $lib'
8363 archive_expsym_cmds='for i in `cat $export_symbols`; do printf "%s %s\\n" -exported_symbol "\$i" >> $lib.exp; done; echo "-hidden">> $lib.exp~
8364 $LD -shared${allow_undefined_flag} -input $lib.exp $linker_flags $libobjs $deplibs -soname $soname `test -n "$verstring" && echo -set_version $verstring` -update_registry ${output_objdir}/so_locations -o $lib~$rm $lib.exp'
8366 # Both c and cxx compiler support -rpath directly
8367 hardcode_libdir_flag_spec='-rpath $libdir'
8369 hardcode_libdir_separator=:
8373 no_undefined_flag=' -z text'
8374 if test "$GCC" = yes; then
8376 archive_cmds='$CC -shared ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
8377 archive_expsym_cmds='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~
8378 $CC -shared ${wl}-M ${wl}$lib.exp ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags~$rm $lib.exp'
8381 archive_cmds='$LD -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $linker_flags'
8382 archive_expsym_cmds='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~
8383 $LD -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$rm $lib.exp'
8385 hardcode_libdir_flag_spec='-R$libdir'
8386 hardcode_shlibpath_var=no
8388 solaris2.[0-5] | solaris2.[0-5].*) ;;
8390 # The compiler driver will combine and reorder linker options,
8391 # but understands `-z linker_flag'. GCC discards it without `$wl',
8392 # but is careful enough not to reorder.
8393 # Supported since Solaris 2.6 (maybe 2.5.1?)
8394 if test "$GCC" = yes; then
8395 whole_archive_flag_spec='${wl}-z ${wl}allextract$convenience ${wl}-z ${wl}defaultextract'
8397 whole_archive_flag_spec='-z allextract$convenience -z defaultextract'
8401 link_all_deplibs=yes
8405 if test "x$host_vendor" = xsequent; then
8406 # Use $CC to link under sequent, because it throws in some extra .o
8407 # files that make .init and .fini sections work.
8408 archive_cmds='$CC -G ${wl}-h $soname -o $lib $libobjs $deplibs $compiler_flags'
8410 archive_cmds='$LD -assert pure-text -Bstatic -o $lib $libobjs $deplibs $linker_flags'
8412 hardcode_libdir_flag_spec='-L$libdir'
8414 hardcode_minus_L=yes
8415 hardcode_shlibpath_var=no
8419 case $host_vendor in
8421 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
8422 hardcode_direct=yes # is this really true???
8425 ## LD is ld it makes a PLAMLIB
8426 ## CC just makes a GrossModule.
8427 archive_cmds='$LD -G -o $lib $libobjs $deplibs $linker_flags'
8428 reload_cmds='$CC -r -o $output$reload_objs'
8432 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
8433 hardcode_direct=no #Motorola manual says yes, but my tests say they lie
8436 runpath_var='LD_RUN_PATH'
8437 hardcode_shlibpath_var=no
8441 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
8442 hardcode_shlibpath_var=no
8443 export_dynamic_flag_spec='-Bexport'
8447 if test -d /usr/nec; then
8448 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
8449 hardcode_shlibpath_var=no
8450 runpath_var=LD_RUN_PATH
8451 hardcode_runpath_var=yes
8456 sysv4*uw2* | sysv5OpenUNIX* | sysv5UnixWare7.[01].[10]* | unixware7* | sco3.2v5.0.[024]*)
8457 no_undefined_flag='${wl}-z,text'
8458 archive_cmds_need_lc=no
8459 hardcode_shlibpath_var=no
8460 runpath_var='LD_RUN_PATH'
8462 if test "$GCC" = yes; then
8463 archive_cmds='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
8464 archive_expsym_cmds='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
8466 archive_cmds='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
8467 archive_expsym_cmds='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
8471 sysv5* | sco3.2v5* | sco5v6*)
8472 # Note: We can NOT use -z defs as we might desire, because we do not
8473 # link with -lc, and that would cause any symbols used from libc to
8474 # always be unresolved, which means just about no library would
8475 # ever link correctly. If we're not using GNU ld we use -z text
8476 # though, which does catch some bad symbols but isn't as heavy-handed
8478 no_undefined_flag='${wl}-z,text'
8479 allow_undefined_flag='${wl}-z,nodefs'
8480 archive_cmds_need_lc=no
8481 hardcode_shlibpath_var=no
8482 hardcode_libdir_flag_spec='`test -z "$SCOABSPATH" && echo ${wl}-R,$libdir`'
8483 hardcode_libdir_separator=':'
8484 link_all_deplibs=yes
8485 export_dynamic_flag_spec='${wl}-Bexport'
8486 runpath_var='LD_RUN_PATH'
8488 if test "$GCC" = yes; then
8489 archive_cmds='$CC -shared ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
8490 archive_expsym_cmds='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
8492 archive_cmds='$CC -G ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
8493 archive_expsym_cmds='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
8498 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
8499 hardcode_libdir_flag_spec='-L$libdir'
8500 hardcode_shlibpath_var=no
8509 { $as_echo "$as_me:$LINENO: result: $ld_shlibs" >&5
8510 $as_echo "$ld_shlibs" >&6; }
8511 test "$ld_shlibs" = no && can_build_shared=no
8514 # Do we need to explicitly link libc?
8516 case "x$archive_cmds_need_lc" in
8518 # Assume -lc should be added
8519 archive_cmds_need_lc=yes
8521 if test "$enable_shared" = yes && test "$GCC" = yes; then
8522 case $archive_cmds in
8524 # FIXME: we may have to deal with multi-command sequences.
8527 # Test whether the compiler implicitly links with -lc since on some
8528 # systems, -lgcc has to come before -lc. If gcc already passes -lc
8529 # to ld, don't add -lc before -lgcc.
8530 { $as_echo "$as_me:$LINENO: checking whether -lc should be explicitly linked in" >&5
8531 $as_echo_n "checking whether -lc should be explicitly linked in... " >&6; }
8533 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
8535 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
8536 (eval $ac_compile) 2>&5
8538 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
8539 (exit $ac_status); } 2>conftest.err; then
8542 libobjs=conftest.$ac_objext
8544 wl=$lt_prog_compiler_wl
8545 pic_flag=$lt_prog_compiler_pic
8551 lt_save_allow_undefined_flag=$allow_undefined_flag
8552 allow_undefined_flag=
8553 if { (eval echo "$as_me:$LINENO: \"$archive_cmds 2\>\&1 \| grep \" -lc \" \>/dev/null 2\>\&1\"") >&5
8554 (eval $archive_cmds 2\>\&1 \| grep \" -lc \" \>/dev/null 2\>\&1) 2>&5
8556 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
8557 (exit $ac_status); }
8559 archive_cmds_need_lc=no
8561 archive_cmds_need_lc=yes
8563 allow_undefined_flag=$lt_save_allow_undefined_flag
8565 cat conftest.err 1>&5
8568 { $as_echo "$as_me:$LINENO: result: $archive_cmds_need_lc" >&5
8569 $as_echo "$archive_cmds_need_lc" >&6; }
8576 { $as_echo "$as_me:$LINENO: checking dynamic linker characteristics" >&5
8577 $as_echo_n "checking dynamic linker characteristics... " >&6; }
8579 libname_spec='lib$name'
8587 shlibpath_overrides_runpath=unknown
8589 dynamic_linker="$host_os ld.so"
8590 sys_lib_dlsearch_path_spec="/lib /usr/lib"
8592 if test "$GCC" = yes; then
8594 darwin*) lt_awk_arg="/^libraries:/,/LR/" ;;
8595 *) lt_awk_arg="/^libraries:/" ;;
8597 lt_search_path_spec=`$CC -print-search-dirs | awk $lt_awk_arg | $SED -e "s/^libraries://" -e "s,=/,/,g"`
8598 if echo "$lt_search_path_spec" | grep ';' >/dev/null ; then
8599 # if the path contains ";" then we assume it to be the separator
8600 # otherwise default to the standard path separator (i.e. ":") - it is
8601 # assumed that no part of a normal pathname contains ";" but that should
8602 # okay in the real world where ";" in dirpaths is itself problematic.
8603 lt_search_path_spec=`echo "$lt_search_path_spec" | $SED -e 's/;/ /g'`
8605 lt_search_path_spec=`echo "$lt_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
8607 # Ok, now we have the path, separated by spaces, we can step through it
8608 # and add multilib dir if necessary.
8609 lt_tmp_lt_search_path_spec=
8610 lt_multi_os_dir=`$CC $CPPFLAGS $CFLAGS $LDFLAGS -print-multi-os-directory 2>/dev/null`
8611 for lt_sys_path in $lt_search_path_spec; do
8612 if test -d "$lt_sys_path/$lt_multi_os_dir"; then
8613 lt_tmp_lt_search_path_spec="$lt_tmp_lt_search_path_spec $lt_sys_path/$lt_multi_os_dir"
8615 test -d "$lt_sys_path" && \
8616 lt_tmp_lt_search_path_spec="$lt_tmp_lt_search_path_spec $lt_sys_path"
8619 lt_search_path_spec=`echo $lt_tmp_lt_search_path_spec | awk '
8620 BEGIN {RS=" "; FS="/|\n";} {
8623 for (lt_i = NF; lt_i > 0; lt_i--) {
8624 if ($lt_i != "" && $lt_i != ".") {
8625 if ($lt_i == "..") {
8628 if (lt_count == 0) {
8629 lt_foo="/" $lt_i lt_foo;
8636 if (lt_foo != "") { lt_freq[lt_foo]++; }
8637 if (lt_freq[lt_foo] == 1) { print lt_foo; }
8639 sys_lib_search_path_spec=`echo $lt_search_path_spec`
8641 sys_lib_search_path_spec="/lib /usr/lib /usr/local/lib"
8643 need_lib_prefix=unknown
8644 hardcode_into_libs=no
8646 # when you set need_version to no, make sure it does not cause -set_version
8647 # flags to be left without arguments
8648 need_version=unknown
8653 library_names_spec='${libname}${release}${shared_ext}$versuffix $libname.a'
8654 shlibpath_var=LIBPATH
8656 # AIX 3 has no versioning support, so we append a major version to the name.
8657 soname_spec='${libname}${release}${shared_ext}$major'
8664 hardcode_into_libs=yes
8665 if test "$host_cpu" = ia64; then
8666 # AIX 5 supports IA64
8667 library_names_spec='${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext}$versuffix $libname${shared_ext}'
8668 shlibpath_var=LD_LIBRARY_PATH
8670 # With GCC up to 2.95.x, collect2 would create an import file
8671 # for dependence libraries. The import file would start with
8672 # the line `#! .'. This would cause the generated library to
8673 # depend on `.', always an invalid library. This was fixed in
8674 # development snapshots of GCC prior to 3.0.
8676 aix4 | aix4.[01] | aix4.[01].*)
8677 if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
8679 echo '#endif'; } | ${CC} -E - | grep yes > /dev/null; then
8686 # AIX (on Power*) has no versioning support, so currently we can not hardcode correct
8687 # soname into executable. Probably we can add versioning support to
8688 # collect2, so additional links can be useful in future.
8689 if test "$aix_use_runtimelinking" = yes; then
8690 # If using run time linking (on AIX 4.2 or later) use lib<name>.so
8691 # instead of lib<name>.a to let people know that these are not
8692 # typical AIX shared libraries.
8693 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
8695 # We preserve .a as extension for shared libraries through AIX4.2
8696 # and later when we are not doing run time linking.
8697 library_names_spec='${libname}${release}.a $libname.a'
8698 soname_spec='${libname}${release}${shared_ext}$major'
8700 shlibpath_var=LIBPATH
8705 library_names_spec='$libname.ixlibrary $libname.a'
8706 # Create ${libname}_ixlibrary.a entries in /sys/libs.
8707 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'
8711 library_names_spec='${libname}${shared_ext}'
8712 dynamic_linker="$host_os ld.so"
8713 shlibpath_var=LIBRARY_PATH
8719 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
8720 soname_spec='${libname}${release}${shared_ext}$major'
8721 finish_cmds='PATH="\$PATH:/sbin" ldconfig $libdir'
8722 shlibpath_var=LD_LIBRARY_PATH
8723 sys_lib_search_path_spec="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
8724 sys_lib_dlsearch_path_spec="/shlib /usr/lib /usr/local/lib"
8725 # the default ld.so.conf also contains /usr/contrib/lib and
8726 # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
8727 # libtool to hard-code these into programs
8730 cygwin* | mingw* | pw32*)
8731 version_type=windows
8736 case $GCC,$host_os in
8737 yes,cygwin* | yes,mingw* | yes,pw32*)
8738 library_names_spec='$libname.dll.a'
8739 # DLL is installed to $(libdir)/../bin by postinstall_cmds
8740 postinstall_cmds='base_file=`basename \${file}`~
8741 dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i;echo \$dlname'\''`~
8742 dldir=$destdir/`dirname \$dlpath`~
8743 test -d \$dldir || mkdir -p \$dldir~
8744 $install_prog $dir/$dlname \$dldir/$dlname~
8745 chmod a+x \$dldir/$dlname'
8746 postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
8747 dlpath=$dir/\$dldll~
8749 shlibpath_overrides_runpath=yes
8753 # Cygwin DLLs use 'cyg' prefix rather than 'lib'
8754 soname_spec='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
8755 sys_lib_search_path_spec="/usr/lib /lib/w32api /lib /usr/local/lib"
8758 # MinGW DLLs use traditional 'lib' prefix
8759 soname_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
8760 sys_lib_search_path_spec=`$CC -print-search-dirs | grep "^libraries:" | $SED -e "s/^libraries://" -e "s,=/,/,g"`
8761 if echo "$sys_lib_search_path_spec" | grep ';[c-zC-Z]:/' >/dev/null; then
8762 # It is most probably a Windows format PATH printed by
8763 # mingw gcc, but we are running on Cygwin. Gcc prints its search
8764 # path with ; separators, and with drive letters. We can handle the
8765 # drive letters (cygwin fileutils understands them), so leave them,
8766 # especially as we might pass files found there to a mingw objdump,
8767 # which wouldn't understand a cygwinified path. Ahh.
8768 sys_lib_search_path_spec=`echo "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
8770 sys_lib_search_path_spec=`echo "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
8774 # pw32 DLLs use 'pw' prefix rather than 'lib'
8775 library_names_spec='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
8781 library_names_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext} $libname.lib'
8784 dynamic_linker='Win32 ld.exe'
8785 # FIXME: first we should search . and the directory the executable is in
8789 darwin* | rhapsody*)
8790 dynamic_linker="$host_os dyld"
8794 library_names_spec='${libname}${release}${versuffix}$shared_ext ${libname}${release}${major}$shared_ext ${libname}$shared_ext'
8795 soname_spec='${libname}${release}${major}$shared_ext'
8796 shlibpath_overrides_runpath=yes
8797 shlibpath_var=DYLD_LIBRARY_PATH
8798 shrext_cmds='`test .$module = .yes && echo .so || echo .dylib`'
8800 sys_lib_search_path_spec="$sys_lib_search_path_spec /usr/local/lib"
8801 sys_lib_dlsearch_path_spec='/usr/local/lib /lib /usr/lib'
8808 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname$shared_ext'
8809 soname_spec='${libname}${release}${shared_ext}$major'
8810 shlibpath_var=LD_LIBRARY_PATH
8817 freebsd* | dragonfly*)
8818 # DragonFly does not have aout. When/if they implement a new
8819 # versioning mechanism, adjust this.
8820 if test -x /usr/bin/objformat; then
8821 objformat=`/usr/bin/objformat`
8824 freebsd[123]*) objformat=aout ;;
8828 version_type=freebsd-$objformat
8829 case $version_type in
8831 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
8836 library_names_spec='${libname}${release}${shared_ext}$versuffix $libname${shared_ext}$versuffix'
8840 shlibpath_var=LD_LIBRARY_PATH
8843 shlibpath_overrides_runpath=yes
8845 freebsd3.[01]* | freebsdelf3.[01]*)
8846 shlibpath_overrides_runpath=yes
8847 hardcode_into_libs=yes
8849 freebsd3.[2-9]* | freebsdelf3.[2-9]* | \
8850 freebsd4.[0-5] | freebsdelf4.[0-5] | freebsd4.1.1 | freebsdelf4.1.1)
8851 shlibpath_overrides_runpath=no
8852 hardcode_into_libs=yes
8854 *) # from 4.6 on, and DragonFly
8855 shlibpath_overrides_runpath=yes
8856 hardcode_into_libs=yes
8865 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
8866 soname_spec='${libname}${release}${shared_ext}$major'
8867 shlibpath_var=LD_LIBRARY_PATH
8868 hardcode_into_libs=yes
8871 hpux9* | hpux10* | hpux11*)
8872 # Give a soname corresponding to the major version so that dld.sl refuses to
8873 # link against other versions.
8880 hardcode_into_libs=yes
8881 dynamic_linker="$host_os dld.so"
8882 shlibpath_var=LD_LIBRARY_PATH
8883 shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
8884 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
8885 soname_spec='${libname}${release}${shared_ext}$major'
8886 if test "X$HPUX_IA64_MODE" = X32; then
8887 sys_lib_search_path_spec="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
8889 sys_lib_search_path_spec="/usr/lib/hpux64 /usr/local/lib/hpux64"
8891 sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
8895 hardcode_into_libs=yes
8896 dynamic_linker="$host_os dld.sl"
8897 shlibpath_var=LD_LIBRARY_PATH # How should we handle SHLIB_PATH
8898 shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
8899 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
8900 soname_spec='${libname}${release}${shared_ext}$major'
8901 sys_lib_search_path_spec="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
8902 sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
8906 dynamic_linker="$host_os dld.sl"
8907 shlibpath_var=SHLIB_PATH
8908 shlibpath_overrides_runpath=no # +s is required to enable SHLIB_PATH
8909 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
8910 soname_spec='${libname}${release}${shared_ext}$major'
8913 # HP-UX runs *really* slowly unless shared libraries are mode 555.
8914 postinstall_cmds='chmod 555 $lib'
8921 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
8922 soname_spec='${libname}${release}${shared_ext}$major'
8923 dynamic_linker='Interix 3.x ld.so.1 (PE, like ELF)'
8924 shlibpath_var=LD_LIBRARY_PATH
8925 shlibpath_overrides_runpath=no
8926 hardcode_into_libs=yes
8929 irix5* | irix6* | nonstopux*)
8931 nonstopux*) version_type=nonstopux ;;
8933 if test "$lt_cv_prog_gnu_ld" = yes; then
8941 soname_spec='${libname}${release}${shared_ext}$major'
8942 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} $libname${shared_ext}'
8944 irix5* | nonstopux*)
8948 case $LD in # libtool.m4 will add one of these switches to LD
8949 *-32|*"-32 "|*-melf32bsmip|*"-melf32bsmip ")
8950 libsuff= shlibsuff= libmagic=32-bit;;
8951 *-n32|*"-n32 "|*-melf32bmipn32|*"-melf32bmipn32 ")
8952 libsuff=32 shlibsuff=N32 libmagic=N32;;
8953 *-64|*"-64 "|*-melf64bmip|*"-melf64bmip ")
8954 libsuff=64 shlibsuff=64 libmagic=64-bit;;
8955 *) libsuff= shlibsuff= libmagic=never-match;;
8959 shlibpath_var=LD_LIBRARY${shlibsuff}_PATH
8960 shlibpath_overrides_runpath=no
8961 sys_lib_search_path_spec="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}"
8962 sys_lib_dlsearch_path_spec="/usr/lib${libsuff} /lib${libsuff}"
8963 hardcode_into_libs=yes
8966 # No shared lib support for Linux oldld, aout, or coff.
8967 linux*oldld* | linux*aout* | linux*coff*)
8971 # This must be Linux ELF.
8972 linux* | k*bsd*-gnu)
8976 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
8977 soname_spec='${libname}${release}${shared_ext}$major'
8978 finish_cmds='PATH="\$PATH:/sbin" ldconfig -n $libdir'
8979 shlibpath_var=LD_LIBRARY_PATH
8980 shlibpath_overrides_runpath=no
8981 # This implies no fast_install, which is unacceptable.
8982 # Some rework will be needed to allow for fast_install
8983 # before this can be enabled.
8984 hardcode_into_libs=yes
8985 sys_lib_search_path_spec="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}"
8986 sys_lib_dlsearch_path_spec="/usr/lib${libsuff} /lib${libsuff}"
8988 # Append ld.so.conf contents to the search path
8989 if test -f /etc/ld.so.conf; then
8990 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' ' '`
8991 sys_lib_dlsearch_path_spec="$sys_lib_dlsearch_path_spec $lt_ld_extra"
8994 # We used to test for /lib/ld.so.1 and disable shared libraries on
8995 # powerpc, because MkLinux only supported shared libraries with the
8996 # GNU dynamic linker. Since this was broken with cross compilers,
8997 # most powerpc-linux boxes support dynamic linking these days and
8998 # people can always --disable-shared, the test was removed, and we
8999 # assume the GNU/Linux dynamic linker is in use.
9000 dynamic_linker='GNU/Linux ld.so'
9007 if echo __ELF__ | $CC -E - | grep __ELF__ >/dev/null; then
9008 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
9009 finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
9010 dynamic_linker='NetBSD (a.out) ld.so'
9012 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
9013 soname_spec='${libname}${release}${shared_ext}$major'
9014 dynamic_linker='NetBSD ld.elf_so'
9016 shlibpath_var=LD_LIBRARY_PATH
9017 shlibpath_overrides_runpath=yes
9018 hardcode_into_libs=yes
9023 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
9024 shlibpath_var=LD_LIBRARY_PATH
9025 shlibpath_overrides_runpath=yes
9032 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
9033 soname_spec='${libname}${release}${shared_ext}$major'
9034 shlibpath_var=LD_LIBRARY_PATH
9035 shlibpath_overrides_runpath=yes
9040 sys_lib_dlsearch_path_spec="/usr/lib"
9042 # Some older versions of OpenBSD (3.3 at least) *do* need versioned libs.
9044 openbsd3.3 | openbsd3.3.*) need_version=yes ;;
9045 *) need_version=no ;;
9047 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
9048 finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
9049 shlibpath_var=LD_LIBRARY_PATH
9050 if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
9052 openbsd2.[89] | openbsd2.[89].*)
9053 shlibpath_overrides_runpath=no
9056 shlibpath_overrides_runpath=yes
9060 shlibpath_overrides_runpath=yes
9065 libname_spec='$name'
9068 library_names_spec='$libname${shared_ext} $libname.a'
9069 dynamic_linker='OS/2 ld.exe'
9070 shlibpath_var=LIBPATH
9073 osf3* | osf4* | osf5*)
9077 soname_spec='${libname}${release}${shared_ext}$major'
9078 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
9079 shlibpath_var=LD_LIBRARY_PATH
9080 sys_lib_search_path_spec="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
9081 sys_lib_dlsearch_path_spec="$sys_lib_search_path_spec"
9092 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
9093 soname_spec='${libname}${release}${shared_ext}$major'
9094 shlibpath_var=LD_LIBRARY_PATH
9095 shlibpath_overrides_runpath=yes
9096 hardcode_into_libs=yes
9097 # ldd complains unless libraries are executable
9098 postinstall_cmds='chmod +x $lib'
9103 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
9104 finish_cmds='PATH="\$PATH:/usr/etc" ldconfig $libdir'
9105 shlibpath_var=LD_LIBRARY_PATH
9106 shlibpath_overrides_runpath=yes
9107 if test "$with_gnu_ld" = yes; then
9115 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
9116 soname_spec='${libname}${release}${shared_ext}$major'
9117 shlibpath_var=LD_LIBRARY_PATH
9118 case $host_vendor in
9120 shlibpath_overrides_runpath=no
9122 export_dynamic_flag_spec='${wl}-Blargedynsym'
9123 runpath_var=LD_RUN_PATH
9131 shlibpath_overrides_runpath=no
9132 sys_lib_search_path_spec='/lib /usr/lib /usr/ccs/lib'
9138 if test -d /usr/nec ;then
9140 library_names_spec='$libname${shared_ext}.$versuffix $libname${shared_ext}.$major $libname${shared_ext}'
9141 soname_spec='$libname${shared_ext}.$major'
9142 shlibpath_var=LD_LIBRARY_PATH
9146 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
9147 version_type=freebsd-elf
9150 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
9151 soname_spec='${libname}${release}${shared_ext}$major'
9152 shlibpath_var=LD_LIBRARY_PATH
9153 hardcode_into_libs=yes
9154 if test "$with_gnu_ld" = yes; then
9155 sys_lib_search_path_spec='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib'
9156 shlibpath_overrides_runpath=no
9158 sys_lib_search_path_spec='/usr/ccs/lib /usr/lib'
9159 shlibpath_overrides_runpath=yes
9162 sys_lib_search_path_spec="$sys_lib_search_path_spec /lib"
9166 sys_lib_dlsearch_path_spec='/usr/lib'
9171 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
9172 soname_spec='${libname}${release}${shared_ext}$major'
9173 shlibpath_var=LD_LIBRARY_PATH
9180 { $as_echo "$as_me:$LINENO: result: $dynamic_linker" >&5
9181 $as_echo "$dynamic_linker" >&6; }
9182 test "$dynamic_linker" = no && can_build_shared=no
9184 if test "${lt_cv_sys_lib_search_path_spec+set}" = set; then
9185 $as_echo_n "(cached) " >&6
9187 lt_cv_sys_lib_search_path_spec="$sys_lib_search_path_spec"
9190 sys_lib_search_path_spec="$lt_cv_sys_lib_search_path_spec"
9191 if test "${lt_cv_sys_lib_dlsearch_path_spec+set}" = set; then
9192 $as_echo_n "(cached) " >&6
9194 lt_cv_sys_lib_dlsearch_path_spec="$sys_lib_dlsearch_path_spec"
9197 sys_lib_dlsearch_path_spec="$lt_cv_sys_lib_dlsearch_path_spec"
9199 variables_saved_for_relink="PATH $shlibpath_var $runpath_var"
9200 if test "$GCC" = yes; then
9201 variables_saved_for_relink="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
9204 { $as_echo "$as_me:$LINENO: checking how to hardcode library paths into programs" >&5
9205 $as_echo_n "checking how to hardcode library paths into programs... " >&6; }
9207 if test -n "$hardcode_libdir_flag_spec" || \
9208 test -n "$runpath_var" || \
9209 test "X$hardcode_automatic" = "Xyes" ; then
9211 # We can hardcode non-existant directories.
9212 if test "$hardcode_direct" != no &&
9213 # If the only mechanism to avoid hardcoding is shlibpath_var, we
9214 # have to relink, otherwise we might link with an installed library
9215 # when we should be linking with a yet-to-be-installed one
9216 ## test "$_LT_AC_TAGVAR(hardcode_shlibpath_var, )" != no &&
9217 test "$hardcode_minus_L" != no; then
9218 # Linking always hardcodes the temporary library directory.
9219 hardcode_action=relink
9221 # We can link without hardcoding, and we can hardcode nonexisting dirs.
9222 hardcode_action=immediate
9225 # We cannot hardcode anything, or else we can only hardcode existing
9227 hardcode_action=unsupported
9229 { $as_echo "$as_me:$LINENO: result: $hardcode_action" >&5
9230 $as_echo "$hardcode_action" >&6; }
9232 if test "$hardcode_action" = relink; then
9233 # Fast installation is not supported
9234 enable_fast_install=no
9235 elif test "$shlibpath_overrides_runpath" = yes ||
9236 test "$enable_shared" = no; then
9237 # Fast installation is not necessary
9238 enable_fast_install=needless
9243 { $as_echo "$as_me:$LINENO: checking whether stripping libraries is possible" >&5
9244 $as_echo_n "checking whether stripping libraries is possible... " >&6; }
9245 if test -n "$STRIP" && $STRIP -V 2>&1 | grep "GNU strip" >/dev/null; then
9246 test -z "$old_striplib" && old_striplib="$STRIP --strip-debug"
9247 test -z "$striplib" && striplib="$STRIP --strip-unneeded"
9248 { $as_echo "$as_me:$LINENO: result: yes" >&5
9249 $as_echo "yes" >&6; }
9251 # FIXME - insert some real tests, host_os isn't really good enough
9254 if test -n "$STRIP" ; then
9255 striplib="$STRIP -x"
9256 old_striplib="$STRIP -S"
9257 { $as_echo "$as_me:$LINENO: result: yes" >&5
9258 $as_echo "yes" >&6; }
9260 { $as_echo "$as_me:$LINENO: result: no" >&5
9261 $as_echo "no" >&6; }
9265 { $as_echo "$as_me:$LINENO: result: no" >&5
9266 $as_echo "no" >&6; }
9271 if test "x$enable_dlopen" != xyes; then
9272 enable_dlopen=unknown
9273 enable_dlopen_self=unknown
9274 enable_dlopen_self_static=unknown
9281 lt_cv_dlopen="load_add_on"
9283 lt_cv_dlopen_self=yes
9287 lt_cv_dlopen="LoadLibrary"
9292 lt_cv_dlopen="dlopen"
9297 # if libdl is installed we need to link against it
9298 { $as_echo "$as_me:$LINENO: checking for dlopen in -ldl" >&5
9299 $as_echo_n "checking for dlopen in -ldl... " >&6; }
9300 if test "${ac_cv_lib_dl_dlopen+set}" = set; then
9301 $as_echo_n "(cached) " >&6
9303 ac_check_lib_save_LIBS=$LIBS
9305 cat >conftest.$ac_ext <<_ACEOF
9308 cat confdefs.h >>conftest.$ac_ext
9309 cat >>conftest.$ac_ext <<_ACEOF
9310 /* end confdefs.h. */
9312 /* Override any GCC internal prototype to avoid an error.
9313 Use char because int might match the return type of a GCC
9314 builtin and then its argument prototype would still apply. */
9327 rm -f conftest.$ac_objext conftest$ac_exeext
9328 if { (ac_try="$ac_link"
9330 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
9331 *) ac_try_echo=$ac_try;;
9333 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
9334 $as_echo "$ac_try_echo") >&5
9335 (eval "$ac_link") 2>conftest.er1
9337 grep -v '^ *+' conftest.er1 >conftest.err
9339 cat conftest.err >&5
9340 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
9341 (exit $ac_status); } && {
9342 test -z "$ac_c_werror_flag" ||
9343 test ! -s conftest.err
9344 } && test -s conftest$ac_exeext && {
9345 test "$cross_compiling" = yes ||
9346 $as_test_x conftest$ac_exeext
9348 ac_cv_lib_dl_dlopen=yes
9350 $as_echo "$as_me: failed program was:" >&5
9351 sed 's/^/| /' conftest.$ac_ext >&5
9353 ac_cv_lib_dl_dlopen=no
9356 rm -rf conftest.dSYM
9357 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
9358 conftest$ac_exeext conftest.$ac_ext
9359 LIBS=$ac_check_lib_save_LIBS
9361 { $as_echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dlopen" >&5
9362 $as_echo "$ac_cv_lib_dl_dlopen" >&6; }
9363 if test "x$ac_cv_lib_dl_dlopen" = x""yes; then
9364 lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl"
9369 lt_cv_dlopen_self=yes
9376 { $as_echo "$as_me:$LINENO: checking for shl_load" >&5
9377 $as_echo_n "checking for shl_load... " >&6; }
9378 if test "${ac_cv_func_shl_load+set}" = set; then
9379 $as_echo_n "(cached) " >&6
9381 cat >conftest.$ac_ext <<_ACEOF
9384 cat confdefs.h >>conftest.$ac_ext
9385 cat >>conftest.$ac_ext <<_ACEOF
9386 /* end confdefs.h. */
9387 /* Define shl_load to an innocuous variant, in case <limits.h> declares shl_load.
9388 For example, HP-UX 11i <limits.h> declares gettimeofday. */
9389 #define shl_load innocuous_shl_load
9391 /* System header to define __stub macros and hopefully few prototypes,
9392 which can conflict with char shl_load (); below.
9393 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
9394 <limits.h> exists even on freestanding compilers. */
9397 # include <limits.h>
9399 # include <assert.h>
9404 /* Override any GCC internal prototype to avoid an error.
9405 Use char because int might match the return type of a GCC
9406 builtin and then its argument prototype would still apply. */
9411 /* The GNU C library defines this for functions which it implements
9412 to always fail with ENOSYS. Some functions are actually named
9413 something starting with __ and the normal name is an alias. */
9414 #if defined __stub_shl_load || defined __stub___shl_load
9426 rm -f conftest.$ac_objext conftest$ac_exeext
9427 if { (ac_try="$ac_link"
9429 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
9430 *) ac_try_echo=$ac_try;;
9432 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
9433 $as_echo "$ac_try_echo") >&5
9434 (eval "$ac_link") 2>conftest.er1
9436 grep -v '^ *+' conftest.er1 >conftest.err
9438 cat conftest.err >&5
9439 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
9440 (exit $ac_status); } && {
9441 test -z "$ac_c_werror_flag" ||
9442 test ! -s conftest.err
9443 } && test -s conftest$ac_exeext && {
9444 test "$cross_compiling" = yes ||
9445 $as_test_x conftest$ac_exeext
9447 ac_cv_func_shl_load=yes
9449 $as_echo "$as_me: failed program was:" >&5
9450 sed 's/^/| /' conftest.$ac_ext >&5
9452 ac_cv_func_shl_load=no
9455 rm -rf conftest.dSYM
9456 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
9457 conftest$ac_exeext conftest.$ac_ext
9459 { $as_echo "$as_me:$LINENO: result: $ac_cv_func_shl_load" >&5
9460 $as_echo "$ac_cv_func_shl_load" >&6; }
9461 if test "x$ac_cv_func_shl_load" = x""yes; then
9462 lt_cv_dlopen="shl_load"
9464 { $as_echo "$as_me:$LINENO: checking for shl_load in -ldld" >&5
9465 $as_echo_n "checking for shl_load in -ldld... " >&6; }
9466 if test "${ac_cv_lib_dld_shl_load+set}" = set; then
9467 $as_echo_n "(cached) " >&6
9469 ac_check_lib_save_LIBS=$LIBS
9471 cat >conftest.$ac_ext <<_ACEOF
9474 cat confdefs.h >>conftest.$ac_ext
9475 cat >>conftest.$ac_ext <<_ACEOF
9476 /* end confdefs.h. */
9478 /* Override any GCC internal prototype to avoid an error.
9479 Use char because int might match the return type of a GCC
9480 builtin and then its argument prototype would still apply. */
9493 rm -f conftest.$ac_objext conftest$ac_exeext
9494 if { (ac_try="$ac_link"
9496 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
9497 *) ac_try_echo=$ac_try;;
9499 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
9500 $as_echo "$ac_try_echo") >&5
9501 (eval "$ac_link") 2>conftest.er1
9503 grep -v '^ *+' conftest.er1 >conftest.err
9505 cat conftest.err >&5
9506 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
9507 (exit $ac_status); } && {
9508 test -z "$ac_c_werror_flag" ||
9509 test ! -s conftest.err
9510 } && test -s conftest$ac_exeext && {
9511 test "$cross_compiling" = yes ||
9512 $as_test_x conftest$ac_exeext
9514 ac_cv_lib_dld_shl_load=yes
9516 $as_echo "$as_me: failed program was:" >&5
9517 sed 's/^/| /' conftest.$ac_ext >&5
9519 ac_cv_lib_dld_shl_load=no
9522 rm -rf conftest.dSYM
9523 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
9524 conftest$ac_exeext conftest.$ac_ext
9525 LIBS=$ac_check_lib_save_LIBS
9527 { $as_echo "$as_me:$LINENO: result: $ac_cv_lib_dld_shl_load" >&5
9528 $as_echo "$ac_cv_lib_dld_shl_load" >&6; }
9529 if test "x$ac_cv_lib_dld_shl_load" = x""yes; then
9530 lt_cv_dlopen="shl_load" lt_cv_dlopen_libs="-ldld"
9532 { $as_echo "$as_me:$LINENO: checking for dlopen" >&5
9533 $as_echo_n "checking for dlopen... " >&6; }
9534 if test "${ac_cv_func_dlopen+set}" = set; then
9535 $as_echo_n "(cached) " >&6
9537 cat >conftest.$ac_ext <<_ACEOF
9540 cat confdefs.h >>conftest.$ac_ext
9541 cat >>conftest.$ac_ext <<_ACEOF
9542 /* end confdefs.h. */
9543 /* Define dlopen to an innocuous variant, in case <limits.h> declares dlopen.
9544 For example, HP-UX 11i <limits.h> declares gettimeofday. */
9545 #define dlopen innocuous_dlopen
9547 /* System header to define __stub macros and hopefully few prototypes,
9548 which can conflict with char dlopen (); below.
9549 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
9550 <limits.h> exists even on freestanding compilers. */
9553 # include <limits.h>
9555 # include <assert.h>
9560 /* Override any GCC internal prototype to avoid an error.
9561 Use char because int might match the return type of a GCC
9562 builtin and then its argument prototype would still apply. */
9567 /* The GNU C library defines this for functions which it implements
9568 to always fail with ENOSYS. Some functions are actually named
9569 something starting with __ and the normal name is an alias. */
9570 #if defined __stub_dlopen || defined __stub___dlopen
9582 rm -f conftest.$ac_objext conftest$ac_exeext
9583 if { (ac_try="$ac_link"
9585 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
9586 *) ac_try_echo=$ac_try;;
9588 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
9589 $as_echo "$ac_try_echo") >&5
9590 (eval "$ac_link") 2>conftest.er1
9592 grep -v '^ *+' conftest.er1 >conftest.err
9594 cat conftest.err >&5
9595 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
9596 (exit $ac_status); } && {
9597 test -z "$ac_c_werror_flag" ||
9598 test ! -s conftest.err
9599 } && test -s conftest$ac_exeext && {
9600 test "$cross_compiling" = yes ||
9601 $as_test_x conftest$ac_exeext
9603 ac_cv_func_dlopen=yes
9605 $as_echo "$as_me: failed program was:" >&5
9606 sed 's/^/| /' conftest.$ac_ext >&5
9608 ac_cv_func_dlopen=no
9611 rm -rf conftest.dSYM
9612 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
9613 conftest$ac_exeext conftest.$ac_ext
9615 { $as_echo "$as_me:$LINENO: result: $ac_cv_func_dlopen" >&5
9616 $as_echo "$ac_cv_func_dlopen" >&6; }
9617 if test "x$ac_cv_func_dlopen" = x""yes; then
9618 lt_cv_dlopen="dlopen"
9620 { $as_echo "$as_me:$LINENO: checking for dlopen in -ldl" >&5
9621 $as_echo_n "checking for dlopen in -ldl... " >&6; }
9622 if test "${ac_cv_lib_dl_dlopen+set}" = set; then
9623 $as_echo_n "(cached) " >&6
9625 ac_check_lib_save_LIBS=$LIBS
9627 cat >conftest.$ac_ext <<_ACEOF
9630 cat confdefs.h >>conftest.$ac_ext
9631 cat >>conftest.$ac_ext <<_ACEOF
9632 /* end confdefs.h. */
9634 /* Override any GCC internal prototype to avoid an error.
9635 Use char because int might match the return type of a GCC
9636 builtin and then its argument prototype would still apply. */
9649 rm -f conftest.$ac_objext conftest$ac_exeext
9650 if { (ac_try="$ac_link"
9652 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
9653 *) ac_try_echo=$ac_try;;
9655 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
9656 $as_echo "$ac_try_echo") >&5
9657 (eval "$ac_link") 2>conftest.er1
9659 grep -v '^ *+' conftest.er1 >conftest.err
9661 cat conftest.err >&5
9662 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
9663 (exit $ac_status); } && {
9664 test -z "$ac_c_werror_flag" ||
9665 test ! -s conftest.err
9666 } && test -s conftest$ac_exeext && {
9667 test "$cross_compiling" = yes ||
9668 $as_test_x conftest$ac_exeext
9670 ac_cv_lib_dl_dlopen=yes
9672 $as_echo "$as_me: failed program was:" >&5
9673 sed 's/^/| /' conftest.$ac_ext >&5
9675 ac_cv_lib_dl_dlopen=no
9678 rm -rf conftest.dSYM
9679 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
9680 conftest$ac_exeext conftest.$ac_ext
9681 LIBS=$ac_check_lib_save_LIBS
9683 { $as_echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dlopen" >&5
9684 $as_echo "$ac_cv_lib_dl_dlopen" >&6; }
9685 if test "x$ac_cv_lib_dl_dlopen" = x""yes; then
9686 lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl"
9688 { $as_echo "$as_me:$LINENO: checking for dlopen in -lsvld" >&5
9689 $as_echo_n "checking for dlopen in -lsvld... " >&6; }
9690 if test "${ac_cv_lib_svld_dlopen+set}" = set; then
9691 $as_echo_n "(cached) " >&6
9693 ac_check_lib_save_LIBS=$LIBS
9695 cat >conftest.$ac_ext <<_ACEOF
9698 cat confdefs.h >>conftest.$ac_ext
9699 cat >>conftest.$ac_ext <<_ACEOF
9700 /* end confdefs.h. */
9702 /* Override any GCC internal prototype to avoid an error.
9703 Use char because int might match the return type of a GCC
9704 builtin and then its argument prototype would still apply. */
9717 rm -f conftest.$ac_objext conftest$ac_exeext
9718 if { (ac_try="$ac_link"
9720 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
9721 *) ac_try_echo=$ac_try;;
9723 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
9724 $as_echo "$ac_try_echo") >&5
9725 (eval "$ac_link") 2>conftest.er1
9727 grep -v '^ *+' conftest.er1 >conftest.err
9729 cat conftest.err >&5
9730 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
9731 (exit $ac_status); } && {
9732 test -z "$ac_c_werror_flag" ||
9733 test ! -s conftest.err
9734 } && test -s conftest$ac_exeext && {
9735 test "$cross_compiling" = yes ||
9736 $as_test_x conftest$ac_exeext
9738 ac_cv_lib_svld_dlopen=yes
9740 $as_echo "$as_me: failed program was:" >&5
9741 sed 's/^/| /' conftest.$ac_ext >&5
9743 ac_cv_lib_svld_dlopen=no
9746 rm -rf conftest.dSYM
9747 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
9748 conftest$ac_exeext conftest.$ac_ext
9749 LIBS=$ac_check_lib_save_LIBS
9751 { $as_echo "$as_me:$LINENO: result: $ac_cv_lib_svld_dlopen" >&5
9752 $as_echo "$ac_cv_lib_svld_dlopen" >&6; }
9753 if test "x$ac_cv_lib_svld_dlopen" = x""yes; then
9754 lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-lsvld"
9756 { $as_echo "$as_me:$LINENO: checking for dld_link in -ldld" >&5
9757 $as_echo_n "checking for dld_link in -ldld... " >&6; }
9758 if test "${ac_cv_lib_dld_dld_link+set}" = set; then
9759 $as_echo_n "(cached) " >&6
9761 ac_check_lib_save_LIBS=$LIBS
9763 cat >conftest.$ac_ext <<_ACEOF
9766 cat confdefs.h >>conftest.$ac_ext
9767 cat >>conftest.$ac_ext <<_ACEOF
9768 /* end confdefs.h. */
9770 /* Override any GCC internal prototype to avoid an error.
9771 Use char because int might match the return type of a GCC
9772 builtin and then its argument prototype would still apply. */
9785 rm -f conftest.$ac_objext conftest$ac_exeext
9786 if { (ac_try="$ac_link"
9788 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
9789 *) ac_try_echo=$ac_try;;
9791 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
9792 $as_echo "$ac_try_echo") >&5
9793 (eval "$ac_link") 2>conftest.er1
9795 grep -v '^ *+' conftest.er1 >conftest.err
9797 cat conftest.err >&5
9798 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
9799 (exit $ac_status); } && {
9800 test -z "$ac_c_werror_flag" ||
9801 test ! -s conftest.err
9802 } && test -s conftest$ac_exeext && {
9803 test "$cross_compiling" = yes ||
9804 $as_test_x conftest$ac_exeext
9806 ac_cv_lib_dld_dld_link=yes
9808 $as_echo "$as_me: failed program was:" >&5
9809 sed 's/^/| /' conftest.$ac_ext >&5
9811 ac_cv_lib_dld_dld_link=no
9814 rm -rf conftest.dSYM
9815 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
9816 conftest$ac_exeext conftest.$ac_ext
9817 LIBS=$ac_check_lib_save_LIBS
9819 { $as_echo "$as_me:$LINENO: result: $ac_cv_lib_dld_dld_link" >&5
9820 $as_echo "$ac_cv_lib_dld_dld_link" >&6; }
9821 if test "x$ac_cv_lib_dld_dld_link" = x""yes; then
9822 lt_cv_dlopen="dld_link" lt_cv_dlopen_libs="-ldld"
9843 if test "x$lt_cv_dlopen" != xno; then
9849 case $lt_cv_dlopen in
9851 save_CPPFLAGS="$CPPFLAGS"
9852 test "x$ac_cv_header_dlfcn_h" = xyes && CPPFLAGS="$CPPFLAGS -DHAVE_DLFCN_H"
9854 save_LDFLAGS="$LDFLAGS"
9855 wl=$lt_prog_compiler_wl eval LDFLAGS=\"\$LDFLAGS $export_dynamic_flag_spec\"
9858 LIBS="$lt_cv_dlopen_libs $LIBS"
9860 { $as_echo "$as_me:$LINENO: checking whether a program can dlopen itself" >&5
9861 $as_echo_n "checking whether a program can dlopen itself... " >&6; }
9862 if test "${lt_cv_dlopen_self+set}" = set; then
9863 $as_echo_n "(cached) " >&6
9865 if test "$cross_compiling" = yes; then :
9866 lt_cv_dlopen_self=cross
9868 lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
9869 lt_status=$lt_dlunknown
9870 cat > conftest.$ac_ext <<EOF
9871 #line 9871 "configure"
9872 #include "confdefs.h"
9881 # define LT_DLGLOBAL RTLD_GLOBAL
9884 # define LT_DLGLOBAL DL_GLOBAL
9886 # define LT_DLGLOBAL 0
9890 /* We may have to define LT_DLLAZY_OR_NOW in the command line if we
9891 find out it does not work in some platform. */
9892 #ifndef LT_DLLAZY_OR_NOW
9894 # define LT_DLLAZY_OR_NOW RTLD_LAZY
9897 # define LT_DLLAZY_OR_NOW DL_LAZY
9900 # define LT_DLLAZY_OR_NOW RTLD_NOW
9903 # define LT_DLLAZY_OR_NOW DL_NOW
9905 # define LT_DLLAZY_OR_NOW 0
9913 extern "C" void exit (int);
9916 void fnord() { int i=42;}
9919 void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
9920 int status = $lt_dlunknown;
9924 if (dlsym (self,"fnord")) status = $lt_dlno_uscore;
9925 else if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
9926 /* dlclose (self); */
9934 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
9935 (eval $ac_link) 2>&5
9937 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
9938 (exit $ac_status); } && test -s conftest${ac_exeext} 2>/dev/null; then
9939 (./conftest; exit; ) >&5 2>/dev/null
9942 x$lt_dlno_uscore) lt_cv_dlopen_self=yes ;;
9943 x$lt_dlneed_uscore) lt_cv_dlopen_self=yes ;;
9944 x$lt_dlunknown|x*) lt_cv_dlopen_self=no ;;
9947 # compilation failed
9948 lt_cv_dlopen_self=no
9955 { $as_echo "$as_me:$LINENO: result: $lt_cv_dlopen_self" >&5
9956 $as_echo "$lt_cv_dlopen_self" >&6; }
9958 if test "x$lt_cv_dlopen_self" = xyes; then
9959 wl=$lt_prog_compiler_wl eval LDFLAGS=\"\$LDFLAGS $lt_prog_compiler_static\"
9960 { $as_echo "$as_me:$LINENO: checking whether a statically linked program can dlopen itself" >&5
9961 $as_echo_n "checking whether a statically linked program can dlopen itself... " >&6; }
9962 if test "${lt_cv_dlopen_self_static+set}" = set; then
9963 $as_echo_n "(cached) " >&6
9965 if test "$cross_compiling" = yes; then :
9966 lt_cv_dlopen_self_static=cross
9968 lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
9969 lt_status=$lt_dlunknown
9970 cat > conftest.$ac_ext <<EOF
9971 #line 9971 "configure"
9972 #include "confdefs.h"
9981 # define LT_DLGLOBAL RTLD_GLOBAL
9984 # define LT_DLGLOBAL DL_GLOBAL
9986 # define LT_DLGLOBAL 0
9990 /* We may have to define LT_DLLAZY_OR_NOW in the command line if we
9991 find out it does not work in some platform. */
9992 #ifndef LT_DLLAZY_OR_NOW
9994 # define LT_DLLAZY_OR_NOW RTLD_LAZY
9997 # define LT_DLLAZY_OR_NOW DL_LAZY
10000 # define LT_DLLAZY_OR_NOW RTLD_NOW
10003 # define LT_DLLAZY_OR_NOW DL_NOW
10005 # define LT_DLLAZY_OR_NOW 0
10013 extern "C" void exit (int);
10016 void fnord() { int i=42;}
10019 void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
10020 int status = $lt_dlunknown;
10024 if (dlsym (self,"fnord")) status = $lt_dlno_uscore;
10025 else if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
10026 /* dlclose (self); */
10034 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
10035 (eval $ac_link) 2>&5
10037 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
10038 (exit $ac_status); } && test -s conftest${ac_exeext} 2>/dev/null; then
10039 (./conftest; exit; ) >&5 2>/dev/null
10041 case x$lt_status in
10042 x$lt_dlno_uscore) lt_cv_dlopen_self_static=yes ;;
10043 x$lt_dlneed_uscore) lt_cv_dlopen_self_static=yes ;;
10044 x$lt_dlunknown|x*) lt_cv_dlopen_self_static=no ;;
10047 # compilation failed
10048 lt_cv_dlopen_self_static=no
10055 { $as_echo "$as_me:$LINENO: result: $lt_cv_dlopen_self_static" >&5
10056 $as_echo "$lt_cv_dlopen_self_static" >&6; }
10059 CPPFLAGS="$save_CPPFLAGS"
10060 LDFLAGS="$save_LDFLAGS"
10065 case $lt_cv_dlopen_self in
10066 yes|no) enable_dlopen_self=$lt_cv_dlopen_self ;;
10067 *) enable_dlopen_self=unknown ;;
10070 case $lt_cv_dlopen_self_static in
10071 yes|no) enable_dlopen_self_static=$lt_cv_dlopen_self_static ;;
10072 *) enable_dlopen_self_static=unknown ;;
10077 # Report which library types will actually be built
10078 { $as_echo "$as_me:$LINENO: checking if libtool supports shared libraries" >&5
10079 $as_echo_n "checking if libtool supports shared libraries... " >&6; }
10080 { $as_echo "$as_me:$LINENO: result: $can_build_shared" >&5
10081 $as_echo "$can_build_shared" >&6; }
10083 { $as_echo "$as_me:$LINENO: checking whether to build shared libraries" >&5
10084 $as_echo_n "checking whether to build shared libraries... " >&6; }
10085 test "$can_build_shared" = "no" && enable_shared=no
10087 # On AIX, shared libraries and static libraries use the same namespace, and
10088 # are all built from PIC.
10091 test "$enable_shared" = yes && enable_static=no
10092 if test -n "$RANLIB"; then
10093 archive_cmds="$archive_cmds~\$RANLIB \$lib"
10094 postinstall_cmds='$RANLIB $lib'
10099 if test "$host_cpu" != ia64 && test "$aix_use_runtimelinking" = no ; then
10100 test "$enable_shared" = yes && enable_static=no
10104 { $as_echo "$as_me:$LINENO: result: $enable_shared" >&5
10105 $as_echo "$enable_shared" >&6; }
10107 { $as_echo "$as_me:$LINENO: checking whether to build static libraries" >&5
10108 $as_echo_n "checking whether to build static libraries... " >&6; }
10109 # Make sure either enable_shared or enable_static is yes.
10110 test "$enable_shared" = yes || enable_static=yes
10111 { $as_echo "$as_me:$LINENO: result: $enable_static" >&5
10112 $as_echo "$enable_static" >&6; }
10114 # The else clause should only fire when bootstrapping the
10115 # libtool distribution, otherwise you forgot to ship ltmain.sh
10116 # with your package, and you will get complaints that there are
10117 # no rules to generate ltmain.sh.
10118 if test -f "$ltmain"; then
10119 # See if we are running on zsh, and set the options which allow our commands through
10120 # without removal of \ escapes.
10121 if test -n "${ZSH_VERSION+set}" ; then
10122 setopt NO_GLOB_SUBST
10124 # Now quote all the things that may contain metacharacters while being
10125 # careful not to overquote the AC_SUBSTed values. We take copies of the
10126 # variables and quote the copies for generation of the libtool script.
10127 for var in echo old_CC old_CFLAGS AR AR_FLAGS EGREP RANLIB LN_S LTCC LTCFLAGS NM \
10129 libname_spec library_names_spec soname_spec extract_expsyms_cmds \
10130 old_striplib striplib file_magic_cmd finish_cmds finish_eval \
10131 deplibs_check_method reload_flag reload_cmds need_locks \
10132 lt_cv_sys_global_symbol_pipe lt_cv_sys_global_symbol_to_cdecl \
10133 lt_cv_sys_global_symbol_to_c_name_address \
10134 sys_lib_search_path_spec sys_lib_dlsearch_path_spec \
10135 old_postinstall_cmds old_postuninstall_cmds \
10139 lt_prog_compiler_wl \
10140 lt_prog_compiler_pic \
10141 lt_prog_compiler_static \
10142 lt_prog_compiler_no_builtin_flag \
10143 export_dynamic_flag_spec \
10144 thread_safe_flag_spec \
10145 whole_archive_flag_spec \
10146 enable_shared_with_static_runtimes \
10148 old_archive_from_new_cmds \
10153 compiler_lib_search_path \
10154 compiler_lib_search_dirs \
10156 archive_expsym_cmds \
10158 postuninstall_cmds \
10159 old_archive_from_expsyms_cmds \
10160 allow_undefined_flag \
10161 no_undefined_flag \
10162 export_symbols_cmds \
10163 hardcode_libdir_flag_spec \
10164 hardcode_libdir_flag_spec_ld \
10165 hardcode_libdir_separator \
10166 hardcode_automatic \
10168 module_expsym_cmds \
10169 lt_cv_prog_compiler_c_o \
10172 include_expsyms; do
10175 old_archive_cmds | \
10176 old_archive_from_new_cmds | \
10178 archive_expsym_cmds | \
10180 module_expsym_cmds | \
10181 old_archive_from_expsyms_cmds | \
10182 export_symbols_cmds | \
10183 extract_expsyms_cmds | reload_cmds | finish_cmds | \
10184 postinstall_cmds | postuninstall_cmds | \
10185 old_postinstall_cmds | old_postuninstall_cmds | \
10186 sys_lib_search_path_spec | sys_lib_dlsearch_path_spec)
10187 # Double-quote double-evaled strings.
10188 eval "lt_$var=\\\"\`\$echo \"X\$$var\" | \$Xsed -e \"\$double_quote_subst\" -e \"\$sed_quote_subst\" -e \"\$delay_variable_subst\"\`\\\""
10191 eval "lt_$var=\\\"\`\$echo \"X\$$var\" | \$Xsed -e \"\$sed_quote_subst\"\`\\\""
10197 *'\$0 --fallback-echo"')
10198 lt_echo=`$echo "X$lt_echo" | $Xsed -e 's/\\\\\\\$0 --fallback-echo"$/$0 --fallback-echo"/'`
10202 cfgfile="${ofile}T"
10203 trap "$rm \"$cfgfile\"; exit 1" 1 2 15
10205 { $as_echo "$as_me:$LINENO: creating $ofile" >&5
10206 $as_echo "$as_me: creating $ofile" >&6;}
10208 cat <<__EOF__ >> "$cfgfile"
10211 # `$echo "$cfgfile" | sed 's%^.*/%%'` - Provide generalized library-building support services.
10212 # Generated automatically by $PROGRAM (GNU $PACKAGE $VERSION$TIMESTAMP)
10213 # NOTE: Changes made to this file will be lost: look at ltmain.sh.
10215 # Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2002, 2003, 2004, 2005, 2006, 2007, 2008
10216 # Free Software Foundation, Inc.
10218 # This file is part of GNU Libtool:
10219 # Originally by Gordon Matzigkeit <gord@gnu.ai.mit.edu>, 1996
10221 # This program is free software; you can redistribute it and/or modify
10222 # it under the terms of the GNU General Public License as published by
10223 # the Free Software Foundation; either version 2 of the License, or
10224 # (at your option) any later version.
10226 # This program is distributed in the hope that it will be useful, but
10227 # WITHOUT ANY WARRANTY; without even the implied warranty of
10228 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
10229 # General Public License for more details.
10231 # You should have received a copy of the GNU General Public License
10232 # along with this program; if not, write to the Free Software
10233 # Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
10235 # As a special exception to the GNU General Public License, if you
10236 # distribute this file as part of a program that contains a
10237 # configuration script generated by Autoconf, you may include it under
10238 # the same distribution terms that you use for the rest of that program.
10240 # A sed program that does not truncate output.
10243 # Sed that helps us avoid accidentally triggering echo(1) options like -n.
10244 Xsed="$SED -e 1s/^X//"
10246 # The HP-UX ksh and POSIX shell print the target directory to stdout
10247 # if CDPATH is set.
10248 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
10250 # The names of the tagged configurations supported by this script.
10253 # ### BEGIN LIBTOOL CONFIG
10255 # Libtool was configured on host `(hostname || uname -n) 2>/dev/null | sed 1q`:
10257 # Shell to use when invoking shell scripts.
10260 # Whether or not to build shared libraries.
10261 build_libtool_libs=$enable_shared
10263 # Whether or not to build static libraries.
10264 build_old_libs=$enable_static
10266 # Whether or not to add -lc for building shared libraries.
10267 build_libtool_need_lc=$archive_cmds_need_lc
10269 # Whether or not to disallow shared libs when runtime libs are static
10270 allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes
10272 # Whether or not to optimize for fast installation.
10273 fast_install=$enable_fast_install
10276 host_alias=$host_alias
10280 # The build system.
10281 build_alias=$build_alias
10285 # An echo program that does not interpret backslashes.
10290 AR_FLAGS=$lt_AR_FLAGS
10295 # LTCC compiler flags.
10296 LTCFLAGS=$lt_LTCFLAGS
10298 # A language-specific compiler.
10301 # Is the compiler the GNU C compiler?
10307 # The linker used to build libraries.
10310 # Whether we need hard or soft links.
10313 # A BSD-compatible nm program.
10316 # A symbol stripping program
10319 # Used to examine libraries when file_magic_cmd begins "file"
10320 MAGIC_CMD=$MAGIC_CMD
10322 # Used on cygwin: DLL creation program.
10325 # Used on cygwin: object dumper.
10328 # Used on cygwin: assembler.
10331 # The name of the directory that contains temporary libtool files.
10334 # How to create reloadable object files.
10335 reload_flag=$lt_reload_flag
10336 reload_cmds=$lt_reload_cmds
10338 # How to pass a linker flag through the compiler.
10339 wl=$lt_lt_prog_compiler_wl
10341 # Object file suffix (normally "o").
10342 objext="$ac_objext"
10344 # Old archive suffix (normally "a").
10347 # Shared library suffix (normally ".so").
10348 shrext_cmds='$shrext_cmds'
10350 # Executable file suffix (normally "").
10353 # Additional compiler flags for building library objects.
10354 pic_flag=$lt_lt_prog_compiler_pic
10357 # What is the maximum length of a command?
10358 max_cmd_len=$lt_cv_sys_max_cmd_len
10360 # Does compiler simultaneously support -c and -o options?
10361 compiler_c_o=$lt_lt_cv_prog_compiler_c_o
10363 # Must we lock files when doing compilation?
10364 need_locks=$lt_need_locks
10366 # Do we need the lib prefix for modules?
10367 need_lib_prefix=$need_lib_prefix
10369 # Do we need a version for libraries?
10370 need_version=$need_version
10372 # Whether dlopen is supported.
10373 dlopen_support=$enable_dlopen
10375 # Whether dlopen of programs is supported.
10376 dlopen_self=$enable_dlopen_self
10378 # Whether dlopen of statically linked programs is supported.
10379 dlopen_self_static=$enable_dlopen_self_static
10381 # Compiler flag to prevent dynamic linking.
10382 link_static_flag=$lt_lt_prog_compiler_static
10384 # Compiler flag to turn off builtin functions.
10385 no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag
10387 # Compiler flag to allow reflexive dlopens.
10388 export_dynamic_flag_spec=$lt_export_dynamic_flag_spec
10390 # Compiler flag to generate shared objects directly from archives.
10391 whole_archive_flag_spec=$lt_whole_archive_flag_spec
10393 # Compiler flag to generate thread-safe objects.
10394 thread_safe_flag_spec=$lt_thread_safe_flag_spec
10396 # Library versioning type.
10397 version_type=$version_type
10399 # Format of library name prefix.
10400 libname_spec=$lt_libname_spec
10402 # List of archive names. First name is the real one, the rest are links.
10403 # The last name is the one that the linker finds with -lNAME.
10404 library_names_spec=$lt_library_names_spec
10406 # The coded name of the library, if different from the real name.
10407 soname_spec=$lt_soname_spec
10409 # Commands used to build and install an old-style archive.
10411 old_archive_cmds=$lt_old_archive_cmds
10412 old_postinstall_cmds=$lt_old_postinstall_cmds
10413 old_postuninstall_cmds=$lt_old_postuninstall_cmds
10415 # Create an old-style archive from a shared archive.
10416 old_archive_from_new_cmds=$lt_old_archive_from_new_cmds
10418 # Create a temporary old-style archive to link instead of a shared archive.
10419 old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds
10421 # Commands used to build and install a shared archive.
10422 archive_cmds=$lt_archive_cmds
10423 archive_expsym_cmds=$lt_archive_expsym_cmds
10424 postinstall_cmds=$lt_postinstall_cmds
10425 postuninstall_cmds=$lt_postuninstall_cmds
10427 # Commands used to build a loadable module (assumed same as above if empty)
10428 module_cmds=$lt_module_cmds
10429 module_expsym_cmds=$lt_module_expsym_cmds
10431 # Commands to strip libraries.
10432 old_striplib=$lt_old_striplib
10433 striplib=$lt_striplib
10435 # Dependencies to place before the objects being linked to create a
10437 predep_objects=$lt_predep_objects
10439 # Dependencies to place after the objects being linked to create a
10441 postdep_objects=$lt_postdep_objects
10443 # Dependencies to place before the objects being linked to create a
10445 predeps=$lt_predeps
10447 # Dependencies to place after the objects being linked to create a
10449 postdeps=$lt_postdeps
10451 # The directories searched by this compiler when creating a shared
10453 compiler_lib_search_dirs=$lt_compiler_lib_search_dirs
10455 # The library search path used internally by the compiler when linking
10456 # a shared library.
10457 compiler_lib_search_path=$lt_compiler_lib_search_path
10459 # Method to check whether dependent libraries are shared objects.
10460 deplibs_check_method=$lt_deplibs_check_method
10462 # Command to use when deplibs_check_method == file_magic.
10463 file_magic_cmd=$lt_file_magic_cmd
10465 # Flag that allows shared libraries with undefined symbols to be built.
10466 allow_undefined_flag=$lt_allow_undefined_flag
10468 # Flag that forces no undefined symbols.
10469 no_undefined_flag=$lt_no_undefined_flag
10471 # Commands used to finish a libtool library installation in a directory.
10472 finish_cmds=$lt_finish_cmds
10474 # Same as above, but a single script fragment to be evaled but not shown.
10475 finish_eval=$lt_finish_eval
10477 # Take the output of nm and produce a listing of raw symbols and C names.
10478 global_symbol_pipe=$lt_lt_cv_sys_global_symbol_pipe
10480 # Transform the output of nm in a proper C declaration
10481 global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl
10483 # Transform the output of nm in a C name address pair
10484 global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address
10486 # This is the shared library runtime path variable.
10487 runpath_var=$runpath_var
10489 # This is the shared library path variable.
10490 shlibpath_var=$shlibpath_var
10492 # Is shlibpath searched before the hard-coded library search path?
10493 shlibpath_overrides_runpath=$shlibpath_overrides_runpath
10495 # How to hardcode a shared library path into an executable.
10496 hardcode_action=$hardcode_action
10498 # Whether we should hardcode library paths into libraries.
10499 hardcode_into_libs=$hardcode_into_libs
10501 # Flag to hardcode \$libdir into a binary during linking.
10502 # This must work even if \$libdir does not exist.
10503 hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec
10505 # If ld is used when linking, flag to hardcode \$libdir into
10506 # a binary during linking. This must work even if \$libdir does
10508 hardcode_libdir_flag_spec_ld=$lt_hardcode_libdir_flag_spec_ld
10510 # Whether we need a single -rpath flag with a separated argument.
10511 hardcode_libdir_separator=$lt_hardcode_libdir_separator
10513 # Set to yes if using DIR/libNAME${shared_ext} during linking hardcodes DIR into the
10514 # resulting binary.
10515 hardcode_direct=$hardcode_direct
10517 # Set to yes if using the -LDIR flag during linking hardcodes DIR into the
10518 # resulting binary.
10519 hardcode_minus_L=$hardcode_minus_L
10521 # Set to yes if using SHLIBPATH_VAR=DIR during linking hardcodes DIR into
10522 # the resulting binary.
10523 hardcode_shlibpath_var=$hardcode_shlibpath_var
10525 # Set to yes if building a shared library automatically hardcodes DIR into the library
10526 # and all subsequent libraries and executables linked against it.
10527 hardcode_automatic=$hardcode_automatic
10529 # Variables whose values should be saved in libtool wrapper scripts and
10530 # restored at relink time.
10531 variables_saved_for_relink="$variables_saved_for_relink"
10533 # Whether libtool must link a program against all its dependency libraries.
10534 link_all_deplibs=$link_all_deplibs
10536 # Compile-time system search path for libraries
10537 sys_lib_search_path_spec=$lt_sys_lib_search_path_spec
10539 # Run-time system search path for libraries
10540 sys_lib_dlsearch_path_spec=$lt_sys_lib_dlsearch_path_spec
10542 # Fix the shell variable \$srcfile for the compiler.
10543 fix_srcfile_path=$lt_fix_srcfile_path
10545 # Set to yes if exported symbols are required.
10546 always_export_symbols=$always_export_symbols
10548 # The commands to list exported symbols.
10549 export_symbols_cmds=$lt_export_symbols_cmds
10551 # The commands to extract the exported symbol list from a shared archive.
10552 extract_expsyms_cmds=$lt_extract_expsyms_cmds
10554 # Symbols that should not be listed in the preloaded symbols.
10555 exclude_expsyms=$lt_exclude_expsyms
10557 # Symbols that must always be exported.
10558 include_expsyms=$lt_include_expsyms
10560 # ### END LIBTOOL CONFIG
10567 cat <<\EOF >> "$cfgfile"
10569 # AIX sometimes has problems with the GCC collect2 program. For some
10570 # reason, if we set the COLLECT_NAMES environment variable, the problems
10571 # vanish in a puff of smoke.
10572 if test "X${COLLECT_NAMES+set}" != Xset; then
10574 export COLLECT_NAMES
10580 # We use sed instead of cat because bash on DJGPP gets confused if
10581 # if finds mixed CR/LF and LF-only lines. Since sed operates in
10582 # text mode, it properly converts lines to CR/LF. This bash problem
10583 # is reportedly fixed, but why not run on old versions too?
10584 sed '$q' "$ltmain" >> "$cfgfile" || (rm -f "$cfgfile"; exit 1)
10586 mv -f "$cfgfile" "$ofile" || \
10587 (rm -f "$ofile" && cp "$cfgfile" "$ofile" && rm -f "$cfgfile")
10591 # If there is no Makefile yet, we rely on a make rule to execute
10592 # `config.status --recheck' to rerun these tests and create the
10593 # libtool script then.
10594 ltmain_in=`echo $ltmain | sed -e 's/\.sh$/.in/'`
10595 if test -f "$ltmain_in"; then
10596 test -f Makefile && make "$ltmain"
10602 ac_cpp='$CPP $CPPFLAGS'
10603 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
10604 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
10605 ac_compiler_gnu=$ac_cv_c_compiler_gnu
10610 # Check whether --with-tags was given.
10611 if test "${with_tags+set}" = set; then
10612 withval=$with_tags; tagnames="$withval"
10616 if test -f "$ltmain" && test -n "$tagnames"; then
10617 if test ! -f "${ofile}"; then
10618 { $as_echo "$as_me:$LINENO: WARNING: output file \`$ofile' does not exist" >&5
10619 $as_echo "$as_me: WARNING: output file \`$ofile' does not exist" >&2;}
10622 if test -z "$LTCC"; then
10623 eval "`$SHELL ${ofile} --config | grep '^LTCC='`"
10624 if test -z "$LTCC"; then
10625 { $as_echo "$as_me:$LINENO: WARNING: output file \`$ofile' does not look like a libtool script" >&5
10626 $as_echo "$as_me: WARNING: output file \`$ofile' does not look like a libtool script" >&2;}
10628 { $as_echo "$as_me:$LINENO: WARNING: using \`LTCC=$LTCC', extracted from \`$ofile'" >&5
10629 $as_echo "$as_me: WARNING: using \`LTCC=$LTCC', extracted from \`$ofile'" >&2;}
10632 if test -z "$LTCFLAGS"; then
10633 eval "`$SHELL ${ofile} --config | grep '^LTCFLAGS='`"
10636 # Extract list of available tagged configurations in $ofile.
10637 # Note that this assumes the entire list is on one line.
10638 available_tags=`grep "^available_tags=" "${ofile}" | $SED -e 's/available_tags=\(.*$\)/\1/' -e 's/\"//g'`
10640 lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
10641 for tagname in $tagnames; do
10643 # Check whether tagname contains only valid characters
10644 case `$echo "X$tagname" | $Xsed -e 's:[-_ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz1234567890,/]::g'` in
10646 *) { { $as_echo "$as_me:$LINENO: error: invalid tag name: $tagname" >&5
10647 $as_echo "$as_me: error: invalid tag name: $tagname" >&2;}
10648 { (exit 1); exit 1; }; }
10652 if grep "^# ### BEGIN LIBTOOL TAG CONFIG: $tagname$" < "${ofile}" > /dev/null
10654 { { $as_echo "$as_me:$LINENO: error: tag name \"$tagname\" already exists" >&5
10655 $as_echo "$as_me: error: tag name \"$tagname\" already exists" >&2;}
10656 { (exit 1); exit 1; }; }
10659 # Update the list of available tags.
10660 if test -n "$tagname"; then
10661 echo appending configuration tag \"$tagname\" to $ofile
10665 if test -n "$CXX" && ( test "X$CXX" != "Xno" &&
10666 ( (test "X$CXX" = "Xg++" && `g++ -v >/dev/null 2>&1` ) ||
10667 (test "X$CXX" != "Xg++"))) ; then
10675 if test -n "$F77" && test "X$F77" != "Xno"; then
10683 if test -n "$GCJ" && test "X$GCJ" != "Xno"; then
10693 # Source file extension for RC test sources.
10696 # Object file extension for compiled RC test sources.
10700 # Code to be used in simple compile tests
10701 lt_simple_compile_test_code='sample MENU { MENUITEM "&Soup", 100, CHECKED }'
10703 # Code to be used in simple link tests
10704 lt_simple_link_test_code="$lt_simple_compile_test_code"
10706 # ltmain only uses $CC for tagged configurations so make sure $CC is set.
10708 # If no C compiler was specified, use CC.
10711 # If no C compiler flags were specified, use CFLAGS.
10712 LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
10714 # Allow CC to be a program name with arguments.
10718 # save warnings/boilerplate of simple test code
10719 ac_outfile=conftest.$ac_objext
10720 echo "$lt_simple_compile_test_code" >conftest.$ac_ext
10721 eval "$ac_compile" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
10722 _lt_compiler_boilerplate=`cat conftest.err`
10725 ac_outfile=conftest.$ac_objext
10726 echo "$lt_simple_link_test_code" >conftest.$ac_ext
10727 eval "$ac_link" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
10728 _lt_linker_boilerplate=`cat conftest.err`
10732 # Allow CC to be a program name with arguments.
10737 for cc_temp in $compiler""; do
10739 compile | *[\\/]compile | ccache | *[\\/]ccache ) ;;
10740 distcc | *[\\/]distcc | purify | *[\\/]purify ) ;;
10745 cc_basename=`$echo "X$cc_temp" | $Xsed -e 's%.*/%%' -e "s%^$host_alias-%%"`
10747 lt_cv_prog_compiler_c_o_RC=yes
10749 # The else clause should only fire when bootstrapping the
10750 # libtool distribution, otherwise you forgot to ship ltmain.sh
10751 # with your package, and you will get complaints that there are
10752 # no rules to generate ltmain.sh.
10753 if test -f "$ltmain"; then
10754 # See if we are running on zsh, and set the options which allow our commands through
10755 # without removal of \ escapes.
10756 if test -n "${ZSH_VERSION+set}" ; then
10757 setopt NO_GLOB_SUBST
10759 # Now quote all the things that may contain metacharacters while being
10760 # careful not to overquote the AC_SUBSTed values. We take copies of the
10761 # variables and quote the copies for generation of the libtool script.
10762 for var in echo old_CC old_CFLAGS AR AR_FLAGS EGREP RANLIB LN_S LTCC LTCFLAGS NM \
10764 libname_spec library_names_spec soname_spec extract_expsyms_cmds \
10765 old_striplib striplib file_magic_cmd finish_cmds finish_eval \
10766 deplibs_check_method reload_flag reload_cmds need_locks \
10767 lt_cv_sys_global_symbol_pipe lt_cv_sys_global_symbol_to_cdecl \
10768 lt_cv_sys_global_symbol_to_c_name_address \
10769 sys_lib_search_path_spec sys_lib_dlsearch_path_spec \
10770 old_postinstall_cmds old_postuninstall_cmds \
10774 lt_prog_compiler_wl_RC \
10775 lt_prog_compiler_pic_RC \
10776 lt_prog_compiler_static_RC \
10777 lt_prog_compiler_no_builtin_flag_RC \
10778 export_dynamic_flag_spec_RC \
10779 thread_safe_flag_spec_RC \
10780 whole_archive_flag_spec_RC \
10781 enable_shared_with_static_runtimes_RC \
10782 old_archive_cmds_RC \
10783 old_archive_from_new_cmds_RC \
10784 predep_objects_RC \
10785 postdep_objects_RC \
10788 compiler_lib_search_path_RC \
10789 compiler_lib_search_dirs_RC \
10791 archive_expsym_cmds_RC \
10792 postinstall_cmds_RC \
10793 postuninstall_cmds_RC \
10794 old_archive_from_expsyms_cmds_RC \
10795 allow_undefined_flag_RC \
10796 no_undefined_flag_RC \
10797 export_symbols_cmds_RC \
10798 hardcode_libdir_flag_spec_RC \
10799 hardcode_libdir_flag_spec_ld_RC \
10800 hardcode_libdir_separator_RC \
10801 hardcode_automatic_RC \
10803 module_expsym_cmds_RC \
10804 lt_cv_prog_compiler_c_o_RC \
10805 fix_srcfile_path_RC \
10806 exclude_expsyms_RC \
10807 include_expsyms_RC; do
10810 old_archive_cmds_RC | \
10811 old_archive_from_new_cmds_RC | \
10812 archive_cmds_RC | \
10813 archive_expsym_cmds_RC | \
10815 module_expsym_cmds_RC | \
10816 old_archive_from_expsyms_cmds_RC | \
10817 export_symbols_cmds_RC | \
10818 extract_expsyms_cmds | reload_cmds | finish_cmds | \
10819 postinstall_cmds | postuninstall_cmds | \
10820 old_postinstall_cmds | old_postuninstall_cmds | \
10821 sys_lib_search_path_spec | sys_lib_dlsearch_path_spec)
10822 # Double-quote double-evaled strings.
10823 eval "lt_$var=\\\"\`\$echo \"X\$$var\" | \$Xsed -e \"\$double_quote_subst\" -e \"\$sed_quote_subst\" -e \"\$delay_variable_subst\"\`\\\""
10826 eval "lt_$var=\\\"\`\$echo \"X\$$var\" | \$Xsed -e \"\$sed_quote_subst\"\`\\\""
10832 *'\$0 --fallback-echo"')
10833 lt_echo=`$echo "X$lt_echo" | $Xsed -e 's/\\\\\\\$0 --fallback-echo"$/$0 --fallback-echo"/'`
10839 cat <<__EOF__ >> "$cfgfile"
10840 # ### BEGIN LIBTOOL TAG CONFIG: $tagname
10842 # Libtool was configured on host `(hostname || uname -n) 2>/dev/null | sed 1q`:
10844 # Shell to use when invoking shell scripts.
10847 # Whether or not to build shared libraries.
10848 build_libtool_libs=$enable_shared
10850 # Whether or not to build static libraries.
10851 build_old_libs=$enable_static
10853 # Whether or not to add -lc for building shared libraries.
10854 build_libtool_need_lc=$archive_cmds_need_lc_RC
10856 # Whether or not to disallow shared libs when runtime libs are static
10857 allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes_RC
10859 # Whether or not to optimize for fast installation.
10860 fast_install=$enable_fast_install
10863 host_alias=$host_alias
10867 # The build system.
10868 build_alias=$build_alias
10872 # An echo program that does not interpret backslashes.
10877 AR_FLAGS=$lt_AR_FLAGS
10882 # LTCC compiler flags.
10883 LTCFLAGS=$lt_LTCFLAGS
10885 # A language-specific compiler.
10888 # Is the compiler the GNU C compiler?
10894 # The linker used to build libraries.
10897 # Whether we need hard or soft links.
10900 # A BSD-compatible nm program.
10903 # A symbol stripping program
10906 # Used to examine libraries when file_magic_cmd begins "file"
10907 MAGIC_CMD=$MAGIC_CMD
10909 # Used on cygwin: DLL creation program.
10912 # Used on cygwin: object dumper.
10915 # Used on cygwin: assembler.
10918 # The name of the directory that contains temporary libtool files.
10921 # How to create reloadable object files.
10922 reload_flag=$lt_reload_flag
10923 reload_cmds=$lt_reload_cmds
10925 # How to pass a linker flag through the compiler.
10926 wl=$lt_lt_prog_compiler_wl_RC
10928 # Object file suffix (normally "o").
10929 objext="$ac_objext"
10931 # Old archive suffix (normally "a").
10934 # Shared library suffix (normally ".so").
10935 shrext_cmds='$shrext_cmds'
10937 # Executable file suffix (normally "").
10940 # Additional compiler flags for building library objects.
10941 pic_flag=$lt_lt_prog_compiler_pic_RC
10944 # What is the maximum length of a command?
10945 max_cmd_len=$lt_cv_sys_max_cmd_len
10947 # Does compiler simultaneously support -c and -o options?
10948 compiler_c_o=$lt_lt_cv_prog_compiler_c_o_RC
10950 # Must we lock files when doing compilation?
10951 need_locks=$lt_need_locks
10953 # Do we need the lib prefix for modules?
10954 need_lib_prefix=$need_lib_prefix
10956 # Do we need a version for libraries?
10957 need_version=$need_version
10959 # Whether dlopen is supported.
10960 dlopen_support=$enable_dlopen
10962 # Whether dlopen of programs is supported.
10963 dlopen_self=$enable_dlopen_self
10965 # Whether dlopen of statically linked programs is supported.
10966 dlopen_self_static=$enable_dlopen_self_static
10968 # Compiler flag to prevent dynamic linking.
10969 link_static_flag=$lt_lt_prog_compiler_static_RC
10971 # Compiler flag to turn off builtin functions.
10972 no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag_RC
10974 # Compiler flag to allow reflexive dlopens.
10975 export_dynamic_flag_spec=$lt_export_dynamic_flag_spec_RC
10977 # Compiler flag to generate shared objects directly from archives.
10978 whole_archive_flag_spec=$lt_whole_archive_flag_spec_RC
10980 # Compiler flag to generate thread-safe objects.
10981 thread_safe_flag_spec=$lt_thread_safe_flag_spec_RC
10983 # Library versioning type.
10984 version_type=$version_type
10986 # Format of library name prefix.
10987 libname_spec=$lt_libname_spec
10989 # List of archive names. First name is the real one, the rest are links.
10990 # The last name is the one that the linker finds with -lNAME.
10991 library_names_spec=$lt_library_names_spec
10993 # The coded name of the library, if different from the real name.
10994 soname_spec=$lt_soname_spec
10996 # Commands used to build and install an old-style archive.
10998 old_archive_cmds=$lt_old_archive_cmds_RC
10999 old_postinstall_cmds=$lt_old_postinstall_cmds
11000 old_postuninstall_cmds=$lt_old_postuninstall_cmds
11002 # Create an old-style archive from a shared archive.
11003 old_archive_from_new_cmds=$lt_old_archive_from_new_cmds_RC
11005 # Create a temporary old-style archive to link instead of a shared archive.
11006 old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds_RC
11008 # Commands used to build and install a shared archive.
11009 archive_cmds=$lt_archive_cmds_RC
11010 archive_expsym_cmds=$lt_archive_expsym_cmds_RC
11011 postinstall_cmds=$lt_postinstall_cmds
11012 postuninstall_cmds=$lt_postuninstall_cmds
11014 # Commands used to build a loadable module (assumed same as above if empty)
11015 module_cmds=$lt_module_cmds_RC
11016 module_expsym_cmds=$lt_module_expsym_cmds_RC
11018 # Commands to strip libraries.
11019 old_striplib=$lt_old_striplib
11020 striplib=$lt_striplib
11022 # Dependencies to place before the objects being linked to create a
11024 predep_objects=$lt_predep_objects_RC
11026 # Dependencies to place after the objects being linked to create a
11028 postdep_objects=$lt_postdep_objects_RC
11030 # Dependencies to place before the objects being linked to create a
11032 predeps=$lt_predeps_RC
11034 # Dependencies to place after the objects being linked to create a
11036 postdeps=$lt_postdeps_RC
11038 # The directories searched by this compiler when creating a shared
11040 compiler_lib_search_dirs=$lt_compiler_lib_search_dirs_RC
11042 # The library search path used internally by the compiler when linking
11043 # a shared library.
11044 compiler_lib_search_path=$lt_compiler_lib_search_path_RC
11046 # Method to check whether dependent libraries are shared objects.
11047 deplibs_check_method=$lt_deplibs_check_method
11049 # Command to use when deplibs_check_method == file_magic.
11050 file_magic_cmd=$lt_file_magic_cmd
11052 # Flag that allows shared libraries with undefined symbols to be built.
11053 allow_undefined_flag=$lt_allow_undefined_flag_RC
11055 # Flag that forces no undefined symbols.
11056 no_undefined_flag=$lt_no_undefined_flag_RC
11058 # Commands used to finish a libtool library installation in a directory.
11059 finish_cmds=$lt_finish_cmds
11061 # Same as above, but a single script fragment to be evaled but not shown.
11062 finish_eval=$lt_finish_eval
11064 # Take the output of nm and produce a listing of raw symbols and C names.
11065 global_symbol_pipe=$lt_lt_cv_sys_global_symbol_pipe
11067 # Transform the output of nm in a proper C declaration
11068 global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl
11070 # Transform the output of nm in a C name address pair
11071 global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address
11073 # This is the shared library runtime path variable.
11074 runpath_var=$runpath_var
11076 # This is the shared library path variable.
11077 shlibpath_var=$shlibpath_var
11079 # Is shlibpath searched before the hard-coded library search path?
11080 shlibpath_overrides_runpath=$shlibpath_overrides_runpath
11082 # How to hardcode a shared library path into an executable.
11083 hardcode_action=$hardcode_action_RC
11085 # Whether we should hardcode library paths into libraries.
11086 hardcode_into_libs=$hardcode_into_libs
11088 # Flag to hardcode \$libdir into a binary during linking.
11089 # This must work even if \$libdir does not exist.
11090 hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec_RC
11092 # If ld is used when linking, flag to hardcode \$libdir into
11093 # a binary during linking. This must work even if \$libdir does
11095 hardcode_libdir_flag_spec_ld=$lt_hardcode_libdir_flag_spec_ld_RC
11097 # Whether we need a single -rpath flag with a separated argument.
11098 hardcode_libdir_separator=$lt_hardcode_libdir_separator_RC
11100 # Set to yes if using DIR/libNAME${shared_ext} during linking hardcodes DIR into the
11101 # resulting binary.
11102 hardcode_direct=$hardcode_direct_RC
11104 # Set to yes if using the -LDIR flag during linking hardcodes DIR into the
11105 # resulting binary.
11106 hardcode_minus_L=$hardcode_minus_L_RC
11108 # Set to yes if using SHLIBPATH_VAR=DIR during linking hardcodes DIR into
11109 # the resulting binary.
11110 hardcode_shlibpath_var=$hardcode_shlibpath_var_RC
11112 # Set to yes if building a shared library automatically hardcodes DIR into the library
11113 # and all subsequent libraries and executables linked against it.
11114 hardcode_automatic=$hardcode_automatic_RC
11116 # Variables whose values should be saved in libtool wrapper scripts and
11117 # restored at relink time.
11118 variables_saved_for_relink="$variables_saved_for_relink"
11120 # Whether libtool must link a program against all its dependency libraries.
11121 link_all_deplibs=$link_all_deplibs_RC
11123 # Compile-time system search path for libraries
11124 sys_lib_search_path_spec=$lt_sys_lib_search_path_spec
11126 # Run-time system search path for libraries
11127 sys_lib_dlsearch_path_spec=$lt_sys_lib_dlsearch_path_spec
11129 # Fix the shell variable \$srcfile for the compiler.
11130 fix_srcfile_path=$lt_fix_srcfile_path
11132 # Set to yes if exported symbols are required.
11133 always_export_symbols=$always_export_symbols_RC
11135 # The commands to list exported symbols.
11136 export_symbols_cmds=$lt_export_symbols_cmds_RC
11138 # The commands to extract the exported symbol list from a shared archive.
11139 extract_expsyms_cmds=$lt_extract_expsyms_cmds
11141 # Symbols that should not be listed in the preloaded symbols.
11142 exclude_expsyms=$lt_exclude_expsyms_RC
11144 # Symbols that must always be exported.
11145 include_expsyms=$lt_include_expsyms_RC
11147 # ### END LIBTOOL TAG CONFIG: $tagname
11153 # If there is no Makefile yet, we rely on a make rule to execute
11154 # `config.status --recheck' to rerun these tests and create the
11155 # libtool script then.
11156 ltmain_in=`echo $ltmain | sed -e 's/\.sh$/.in/'`
11157 if test -f "$ltmain_in"; then
11158 test -f Makefile && make "$ltmain"
11164 ac_cpp='$CPP $CPPFLAGS'
11165 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
11166 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
11167 ac_compiler_gnu=$ac_cv_c_compiler_gnu
11174 { { $as_echo "$as_me:$LINENO: error: Unsupported tag name: $tagname" >&5
11175 $as_echo "$as_me: error: Unsupported tag name: $tagname" >&2;}
11176 { (exit 1); exit 1; }; }
11180 # Append the new tag name to the list of available tags.
11181 if test -n "$tagname" ; then
11182 available_tags="$available_tags $tagname"
11188 # Now substitute the updated list of available tags.
11189 if eval "sed -e 's/^available_tags=.*\$/available_tags=\"$available_tags\"/' \"$ofile\" > \"${ofile}T\""; then
11190 mv "${ofile}T" "$ofile"
11194 { { $as_echo "$as_me:$LINENO: error: unable to update list of available tagged configurations." >&5
11195 $as_echo "$as_me: error: unable to update list of available tagged configurations." >&2;}
11196 { (exit 1); exit 1; }; }
11202 # This can be used to rebuild libtool when needed
11203 LIBTOOL_DEPS="$ac_aux_dir/ltmain.sh"
11205 # Always use our own libtool.
11206 LIBTOOL='$(SHELL) $(top_builddir)/libtool'
11208 # Prevent multiple expansion
11219 { $as_echo "$as_me:$LINENO: checking for X" >&5
11220 $as_echo_n "checking for X... " >&6; }
11223 # Check whether --with-x was given.
11224 if test "${with_x+set}" = set; then
11228 # $have_x is `yes', `no', `disabled', or empty when we do not yet know.
11229 if test "x$with_x" = xno; then
11230 # The user explicitly disabled X.
11233 case $x_includes,$x_libraries in #(
11234 *\'*) { { $as_echo "$as_me:$LINENO: error: cannot use X directory names containing '" >&5
11235 $as_echo "$as_me: error: cannot use X directory names containing '" >&2;}
11236 { (exit 1); exit 1; }; };; #(
11237 *,NONE | NONE,*) if test "${ac_cv_have_x+set}" = set; then
11238 $as_echo_n "(cached) " >&6
11240 # One or both of the vars are not set, and there is no cached value.
11241 ac_x_includes=no ac_x_libraries=no
11242 rm -f -r conftest.dir
11243 if mkdir conftest.dir; then
11245 cat >Imakefile <<'_ACEOF'
11247 @echo incroot='${INCROOT}'
11249 @echo usrlibdir='${USRLIBDIR}'
11251 @echo libdir='${LIBDIR}'
11253 if (export CC; ${XMKMF-xmkmf}) >/dev/null 2>/dev/null && test -f Makefile; then
11254 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
11255 for ac_var in incroot usrlibdir libdir; do
11256 eval "ac_im_$ac_var=\`\${MAKE-make} $ac_var 2>/dev/null | sed -n 's/^$ac_var=//p'\`"
11258 # Open Windows xmkmf reportedly sets LIBDIR instead of USRLIBDIR.
11259 for ac_extension in a so sl dylib la dll; do
11260 if test ! -f "$ac_im_usrlibdir/libX11.$ac_extension" &&
11261 test -f "$ac_im_libdir/libX11.$ac_extension"; then
11262 ac_im_usrlibdir=$ac_im_libdir; break
11265 # Screen out bogus values from the imake configuration. They are
11266 # bogus both because they are the default anyway, and because
11267 # using them would break gcc on systems where it needs fixed includes.
11268 case $ac_im_incroot in
11269 /usr/include) ac_x_includes= ;;
11270 *) test -f "$ac_im_incroot/X11/Xos.h" && ac_x_includes=$ac_im_incroot;;
11272 case $ac_im_usrlibdir in
11273 /usr/lib | /usr/lib64 | /lib | /lib64) ;;
11274 *) test -d "$ac_im_usrlibdir" && ac_x_libraries=$ac_im_usrlibdir ;;
11278 rm -f -r conftest.dir
11281 # Standard set of common directories for X headers.
11282 # Check X11 before X11Rn because it is often a symlink to the current release.
11294 /usr/local/X11/include
11295 /usr/local/X11R6/include
11296 /usr/local/X11R5/include
11297 /usr/local/X11R4/include
11299 /usr/local/include/X11
11300 /usr/local/include/X11R6
11301 /usr/local/include/X11R5
11302 /usr/local/include/X11R4
11306 /usr/XFree86/include/X11
11310 /usr/unsupported/include
11311 /usr/athena/include
11312 /usr/local/x11r5/include
11313 /usr/lpp/Xamples/include
11315 /usr/openwin/include
11316 /usr/openwin/share/include'
11318 if test "$ac_x_includes" = no; then
11319 # Guess where to find include files, by looking for Xlib.h.
11320 # First, try using that file with no special directory specified.
11321 cat >conftest.$ac_ext <<_ACEOF
11324 cat confdefs.h >>conftest.$ac_ext
11325 cat >>conftest.$ac_ext <<_ACEOF
11326 /* end confdefs.h. */
11327 #include <X11/Xlib.h>
11329 if { (ac_try="$ac_cpp conftest.$ac_ext"
11330 case "(($ac_try" in
11331 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
11332 *) ac_try_echo=$ac_try;;
11334 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
11335 $as_echo "$ac_try_echo") >&5
11336 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
11338 grep -v '^ *+' conftest.er1 >conftest.err
11340 cat conftest.err >&5
11341 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
11342 (exit $ac_status); } >/dev/null && {
11343 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
11344 test ! -s conftest.err
11346 # We can compile using X headers with no special include directory.
11349 $as_echo "$as_me: failed program was:" >&5
11350 sed 's/^/| /' conftest.$ac_ext >&5
11352 for ac_dir in $ac_x_header_dirs; do
11353 if test -r "$ac_dir/X11/Xlib.h"; then
11354 ac_x_includes=$ac_dir
11360 rm -f conftest.err conftest.$ac_ext
11361 fi # $ac_x_includes = no
11363 if test "$ac_x_libraries" = no; then
11364 # Check for the libraries.
11365 # See if we find them without any special options.
11366 # Don't add to $LIBS permanently.
11369 cat >conftest.$ac_ext <<_ACEOF
11372 cat confdefs.h >>conftest.$ac_ext
11373 cat >>conftest.$ac_ext <<_ACEOF
11374 /* end confdefs.h. */
11375 #include <X11/Xlib.h>
11384 rm -f conftest.$ac_objext conftest$ac_exeext
11385 if { (ac_try="$ac_link"
11386 case "(($ac_try" in
11387 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
11388 *) ac_try_echo=$ac_try;;
11390 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
11391 $as_echo "$ac_try_echo") >&5
11392 (eval "$ac_link") 2>conftest.er1
11394 grep -v '^ *+' conftest.er1 >conftest.err
11396 cat conftest.err >&5
11397 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
11398 (exit $ac_status); } && {
11399 test -z "$ac_c_werror_flag" ||
11400 test ! -s conftest.err
11401 } && test -s conftest$ac_exeext && {
11402 test "$cross_compiling" = yes ||
11403 $as_test_x conftest$ac_exeext
11406 # We can link X programs with no special library path.
11409 $as_echo "$as_me: failed program was:" >&5
11410 sed 's/^/| /' conftest.$ac_ext >&5
11413 for ac_dir in `$as_echo "$ac_x_includes $ac_x_header_dirs" | sed s/include/lib/g`
11415 # Don't even attempt the hair of trying to link an X program!
11416 for ac_extension in a so sl dylib la dll; do
11417 if test -r "$ac_dir/libX11.$ac_extension"; then
11418 ac_x_libraries=$ac_dir
11425 rm -rf conftest.dSYM
11426 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
11427 conftest$ac_exeext conftest.$ac_ext
11428 fi # $ac_x_libraries = no
11430 case $ac_x_includes,$ac_x_libraries in #(
11431 no,* | *,no | *\'*)
11432 # Didn't find X, or a directory has "'" in its name.
11433 ac_cv_have_x="have_x=no";; #(
11435 # Record where we found X for the cache.
11436 ac_cv_have_x="have_x=yes\
11437 ac_x_includes='$ac_x_includes'\
11438 ac_x_libraries='$ac_x_libraries'"
11444 eval "$ac_cv_have_x"
11447 if test "$have_x" != yes; then
11448 { $as_echo "$as_me:$LINENO: result: $have_x" >&5
11449 $as_echo "$have_x" >&6; }
11452 # If each of the values was on the command line, it overrides each guess.
11453 test "x$x_includes" = xNONE && x_includes=$ac_x_includes
11454 test "x$x_libraries" = xNONE && x_libraries=$ac_x_libraries
11455 # Update the cache value to reflect the command line values.
11456 ac_cv_have_x="have_x=yes\
11457 ac_x_includes='$x_includes'\
11458 ac_x_libraries='$x_libraries'"
11459 { $as_echo "$as_me:$LINENO: result: libraries $x_libraries, headers $x_includes" >&5
11460 $as_echo "libraries $x_libraries, headers $x_includes" >&6; }
11463 if test "$no_x" = yes; then
11464 # Not all programs may use this symbol, but it does not hurt to define it.
11466 cat >>confdefs.h <<\_ACEOF
11467 #define X_DISPLAY_MISSING 1
11470 X_CFLAGS= X_PRE_LIBS= X_LIBS= X_EXTRA_LIBS=
11472 if test -n "$x_includes"; then
11473 X_CFLAGS="$X_CFLAGS -I$x_includes"
11476 # It would also be nice to do this for all -L options, not just this one.
11477 if test -n "$x_libraries"; then
11478 X_LIBS="$X_LIBS -L$x_libraries"
11479 # For Solaris; some versions of Sun CC require a space after -R and
11480 # others require no space. Words are not sufficient . . . .
11481 { $as_echo "$as_me:$LINENO: checking whether -R must be followed by a space" >&5
11482 $as_echo_n "checking whether -R must be followed by a space... " >&6; }
11483 ac_xsave_LIBS=$LIBS; LIBS="$LIBS -R$x_libraries"
11484 ac_xsave_c_werror_flag=$ac_c_werror_flag
11485 ac_c_werror_flag=yes
11486 cat >conftest.$ac_ext <<_ACEOF
11489 cat confdefs.h >>conftest.$ac_ext
11490 cat >>conftest.$ac_ext <<_ACEOF
11491 /* end confdefs.h. */
11501 rm -f conftest.$ac_objext conftest$ac_exeext
11502 if { (ac_try="$ac_link"
11503 case "(($ac_try" in
11504 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
11505 *) ac_try_echo=$ac_try;;
11507 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
11508 $as_echo "$ac_try_echo") >&5
11509 (eval "$ac_link") 2>conftest.er1
11511 grep -v '^ *+' conftest.er1 >conftest.err
11513 cat conftest.err >&5
11514 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
11515 (exit $ac_status); } && {
11516 test -z "$ac_c_werror_flag" ||
11517 test ! -s conftest.err
11518 } && test -s conftest$ac_exeext && {
11519 test "$cross_compiling" = yes ||
11520 $as_test_x conftest$ac_exeext
11522 { $as_echo "$as_me:$LINENO: result: no" >&5
11523 $as_echo "no" >&6; }
11524 X_LIBS="$X_LIBS -R$x_libraries"
11526 $as_echo "$as_me: failed program was:" >&5
11527 sed 's/^/| /' conftest.$ac_ext >&5
11529 LIBS="$ac_xsave_LIBS -R $x_libraries"
11530 cat >conftest.$ac_ext <<_ACEOF
11533 cat confdefs.h >>conftest.$ac_ext
11534 cat >>conftest.$ac_ext <<_ACEOF
11535 /* end confdefs.h. */
11545 rm -f conftest.$ac_objext conftest$ac_exeext
11546 if { (ac_try="$ac_link"
11547 case "(($ac_try" in
11548 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
11549 *) ac_try_echo=$ac_try;;
11551 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
11552 $as_echo "$ac_try_echo") >&5
11553 (eval "$ac_link") 2>conftest.er1
11555 grep -v '^ *+' conftest.er1 >conftest.err
11557 cat conftest.err >&5
11558 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
11559 (exit $ac_status); } && {
11560 test -z "$ac_c_werror_flag" ||
11561 test ! -s conftest.err
11562 } && test -s conftest$ac_exeext && {
11563 test "$cross_compiling" = yes ||
11564 $as_test_x conftest$ac_exeext
11566 { $as_echo "$as_me:$LINENO: result: yes" >&5
11567 $as_echo "yes" >&6; }
11568 X_LIBS="$X_LIBS -R $x_libraries"
11570 $as_echo "$as_me: failed program was:" >&5
11571 sed 's/^/| /' conftest.$ac_ext >&5
11573 { $as_echo "$as_me:$LINENO: result: neither works" >&5
11574 $as_echo "neither works" >&6; }
11577 rm -rf conftest.dSYM
11578 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
11579 conftest$ac_exeext conftest.$ac_ext
11582 rm -rf conftest.dSYM
11583 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
11584 conftest$ac_exeext conftest.$ac_ext
11585 ac_c_werror_flag=$ac_xsave_c_werror_flag
11586 LIBS=$ac_xsave_LIBS
11589 # Check for system-dependent libraries X programs must link with.
11590 # Do this before checking for the system-independent R6 libraries
11591 # (-lICE), since we may need -lsocket or whatever for X linking.
11593 if test "$ISC" = yes; then
11594 X_EXTRA_LIBS="$X_EXTRA_LIBS -lnsl_s -linet"
11596 # Martyn Johnson says this is needed for Ultrix, if the X
11597 # libraries were built with DECnet support. And Karl Berry says
11598 # the Alpha needs dnet_stub (dnet does not exist).
11599 ac_xsave_LIBS="$LIBS"; LIBS="$LIBS $X_LIBS -lX11"
11600 cat >conftest.$ac_ext <<_ACEOF
11603 cat confdefs.h >>conftest.$ac_ext
11604 cat >>conftest.$ac_ext <<_ACEOF
11605 /* end confdefs.h. */
11607 /* Override any GCC internal prototype to avoid an error.
11608 Use char because int might match the return type of a GCC
11609 builtin and then its argument prototype would still apply. */
11613 char XOpenDisplay ();
11617 return XOpenDisplay ();
11622 rm -f conftest.$ac_objext conftest$ac_exeext
11623 if { (ac_try="$ac_link"
11624 case "(($ac_try" in
11625 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
11626 *) ac_try_echo=$ac_try;;
11628 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
11629 $as_echo "$ac_try_echo") >&5
11630 (eval "$ac_link") 2>conftest.er1
11632 grep -v '^ *+' conftest.er1 >conftest.err
11634 cat conftest.err >&5
11635 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
11636 (exit $ac_status); } && {
11637 test -z "$ac_c_werror_flag" ||
11638 test ! -s conftest.err
11639 } && test -s conftest$ac_exeext && {
11640 test "$cross_compiling" = yes ||
11641 $as_test_x conftest$ac_exeext
11645 $as_echo "$as_me: failed program was:" >&5
11646 sed 's/^/| /' conftest.$ac_ext >&5
11648 { $as_echo "$as_me:$LINENO: checking for dnet_ntoa in -ldnet" >&5
11649 $as_echo_n "checking for dnet_ntoa in -ldnet... " >&6; }
11650 if test "${ac_cv_lib_dnet_dnet_ntoa+set}" = set; then
11651 $as_echo_n "(cached) " >&6
11653 ac_check_lib_save_LIBS=$LIBS
11654 LIBS="-ldnet $LIBS"
11655 cat >conftest.$ac_ext <<_ACEOF
11658 cat confdefs.h >>conftest.$ac_ext
11659 cat >>conftest.$ac_ext <<_ACEOF
11660 /* end confdefs.h. */
11662 /* Override any GCC internal prototype to avoid an error.
11663 Use char because int might match the return type of a GCC
11664 builtin and then its argument prototype would still apply. */
11672 return dnet_ntoa ();
11677 rm -f conftest.$ac_objext conftest$ac_exeext
11678 if { (ac_try="$ac_link"
11679 case "(($ac_try" in
11680 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
11681 *) ac_try_echo=$ac_try;;
11683 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
11684 $as_echo "$ac_try_echo") >&5
11685 (eval "$ac_link") 2>conftest.er1
11687 grep -v '^ *+' conftest.er1 >conftest.err
11689 cat conftest.err >&5
11690 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
11691 (exit $ac_status); } && {
11692 test -z "$ac_c_werror_flag" ||
11693 test ! -s conftest.err
11694 } && test -s conftest$ac_exeext && {
11695 test "$cross_compiling" = yes ||
11696 $as_test_x conftest$ac_exeext
11698 ac_cv_lib_dnet_dnet_ntoa=yes
11700 $as_echo "$as_me: failed program was:" >&5
11701 sed 's/^/| /' conftest.$ac_ext >&5
11703 ac_cv_lib_dnet_dnet_ntoa=no
11706 rm -rf conftest.dSYM
11707 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
11708 conftest$ac_exeext conftest.$ac_ext
11709 LIBS=$ac_check_lib_save_LIBS
11711 { $as_echo "$as_me:$LINENO: result: $ac_cv_lib_dnet_dnet_ntoa" >&5
11712 $as_echo "$ac_cv_lib_dnet_dnet_ntoa" >&6; }
11713 if test "x$ac_cv_lib_dnet_dnet_ntoa" = x""yes; then
11714 X_EXTRA_LIBS="$X_EXTRA_LIBS -ldnet"
11717 if test $ac_cv_lib_dnet_dnet_ntoa = no; then
11718 { $as_echo "$as_me:$LINENO: checking for dnet_ntoa in -ldnet_stub" >&5
11719 $as_echo_n "checking for dnet_ntoa in -ldnet_stub... " >&6; }
11720 if test "${ac_cv_lib_dnet_stub_dnet_ntoa+set}" = set; then
11721 $as_echo_n "(cached) " >&6
11723 ac_check_lib_save_LIBS=$LIBS
11724 LIBS="-ldnet_stub $LIBS"
11725 cat >conftest.$ac_ext <<_ACEOF
11728 cat confdefs.h >>conftest.$ac_ext
11729 cat >>conftest.$ac_ext <<_ACEOF
11730 /* end confdefs.h. */
11732 /* Override any GCC internal prototype to avoid an error.
11733 Use char because int might match the return type of a GCC
11734 builtin and then its argument prototype would still apply. */
11742 return dnet_ntoa ();
11747 rm -f conftest.$ac_objext conftest$ac_exeext
11748 if { (ac_try="$ac_link"
11749 case "(($ac_try" in
11750 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
11751 *) ac_try_echo=$ac_try;;
11753 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
11754 $as_echo "$ac_try_echo") >&5
11755 (eval "$ac_link") 2>conftest.er1
11757 grep -v '^ *+' conftest.er1 >conftest.err
11759 cat conftest.err >&5
11760 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
11761 (exit $ac_status); } && {
11762 test -z "$ac_c_werror_flag" ||
11763 test ! -s conftest.err
11764 } && test -s conftest$ac_exeext && {
11765 test "$cross_compiling" = yes ||
11766 $as_test_x conftest$ac_exeext
11768 ac_cv_lib_dnet_stub_dnet_ntoa=yes
11770 $as_echo "$as_me: failed program was:" >&5
11771 sed 's/^/| /' conftest.$ac_ext >&5
11773 ac_cv_lib_dnet_stub_dnet_ntoa=no
11776 rm -rf conftest.dSYM
11777 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
11778 conftest$ac_exeext conftest.$ac_ext
11779 LIBS=$ac_check_lib_save_LIBS
11781 { $as_echo "$as_me:$LINENO: result: $ac_cv_lib_dnet_stub_dnet_ntoa" >&5
11782 $as_echo "$ac_cv_lib_dnet_stub_dnet_ntoa" >&6; }
11783 if test "x$ac_cv_lib_dnet_stub_dnet_ntoa" = x""yes; then
11784 X_EXTRA_LIBS="$X_EXTRA_LIBS -ldnet_stub"
11790 rm -rf conftest.dSYM
11791 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
11792 conftest$ac_exeext conftest.$ac_ext
11793 LIBS="$ac_xsave_LIBS"
11795 # msh@cis.ufl.edu says -lnsl (and -lsocket) are needed for his 386/AT,
11796 # to get the SysV transport functions.
11797 # Chad R. Larson says the Pyramis MIS-ES running DC/OSx (SVR4)
11799 # The nsl library prevents programs from opening the X display
11800 # on Irix 5.2, according to T.E. Dickey.
11801 # The functions gethostbyname, getservbyname, and inet_addr are
11802 # in -lbsd on LynxOS 3.0.1/i386, according to Lars Hecking.
11803 { $as_echo "$as_me:$LINENO: checking for gethostbyname" >&5
11804 $as_echo_n "checking for gethostbyname... " >&6; }
11805 if test "${ac_cv_func_gethostbyname+set}" = set; then
11806 $as_echo_n "(cached) " >&6
11808 cat >conftest.$ac_ext <<_ACEOF
11811 cat confdefs.h >>conftest.$ac_ext
11812 cat >>conftest.$ac_ext <<_ACEOF
11813 /* end confdefs.h. */
11814 /* Define gethostbyname to an innocuous variant, in case <limits.h> declares gethostbyname.
11815 For example, HP-UX 11i <limits.h> declares gettimeofday. */
11816 #define gethostbyname innocuous_gethostbyname
11818 /* System header to define __stub macros and hopefully few prototypes,
11819 which can conflict with char gethostbyname (); below.
11820 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
11821 <limits.h> exists even on freestanding compilers. */
11824 # include <limits.h>
11826 # include <assert.h>
11829 #undef gethostbyname
11831 /* Override any GCC internal prototype to avoid an error.
11832 Use char because int might match the return type of a GCC
11833 builtin and then its argument prototype would still apply. */
11837 char gethostbyname ();
11838 /* The GNU C library defines this for functions which it implements
11839 to always fail with ENOSYS. Some functions are actually named
11840 something starting with __ and the normal name is an alias. */
11841 #if defined __stub_gethostbyname || defined __stub___gethostbyname
11848 return gethostbyname ();
11853 rm -f conftest.$ac_objext conftest$ac_exeext
11854 if { (ac_try="$ac_link"
11855 case "(($ac_try" in
11856 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
11857 *) ac_try_echo=$ac_try;;
11859 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
11860 $as_echo "$ac_try_echo") >&5
11861 (eval "$ac_link") 2>conftest.er1
11863 grep -v '^ *+' conftest.er1 >conftest.err
11865 cat conftest.err >&5
11866 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
11867 (exit $ac_status); } && {
11868 test -z "$ac_c_werror_flag" ||
11869 test ! -s conftest.err
11870 } && test -s conftest$ac_exeext && {
11871 test "$cross_compiling" = yes ||
11872 $as_test_x conftest$ac_exeext
11874 ac_cv_func_gethostbyname=yes
11876 $as_echo "$as_me: failed program was:" >&5
11877 sed 's/^/| /' conftest.$ac_ext >&5
11879 ac_cv_func_gethostbyname=no
11882 rm -rf conftest.dSYM
11883 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
11884 conftest$ac_exeext conftest.$ac_ext
11886 { $as_echo "$as_me:$LINENO: result: $ac_cv_func_gethostbyname" >&5
11887 $as_echo "$ac_cv_func_gethostbyname" >&6; }
11889 if test $ac_cv_func_gethostbyname = no; then
11890 { $as_echo "$as_me:$LINENO: checking for gethostbyname in -lnsl" >&5
11891 $as_echo_n "checking for gethostbyname in -lnsl... " >&6; }
11892 if test "${ac_cv_lib_nsl_gethostbyname+set}" = set; then
11893 $as_echo_n "(cached) " >&6
11895 ac_check_lib_save_LIBS=$LIBS
11897 cat >conftest.$ac_ext <<_ACEOF
11900 cat confdefs.h >>conftest.$ac_ext
11901 cat >>conftest.$ac_ext <<_ACEOF
11902 /* end confdefs.h. */
11904 /* Override any GCC internal prototype to avoid an error.
11905 Use char because int might match the return type of a GCC
11906 builtin and then its argument prototype would still apply. */
11910 char gethostbyname ();
11914 return gethostbyname ();
11919 rm -f conftest.$ac_objext conftest$ac_exeext
11920 if { (ac_try="$ac_link"
11921 case "(($ac_try" in
11922 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
11923 *) ac_try_echo=$ac_try;;
11925 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
11926 $as_echo "$ac_try_echo") >&5
11927 (eval "$ac_link") 2>conftest.er1
11929 grep -v '^ *+' conftest.er1 >conftest.err
11931 cat conftest.err >&5
11932 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
11933 (exit $ac_status); } && {
11934 test -z "$ac_c_werror_flag" ||
11935 test ! -s conftest.err
11936 } && test -s conftest$ac_exeext && {
11937 test "$cross_compiling" = yes ||
11938 $as_test_x conftest$ac_exeext
11940 ac_cv_lib_nsl_gethostbyname=yes
11942 $as_echo "$as_me: failed program was:" >&5
11943 sed 's/^/| /' conftest.$ac_ext >&5
11945 ac_cv_lib_nsl_gethostbyname=no
11948 rm -rf conftest.dSYM
11949 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
11950 conftest$ac_exeext conftest.$ac_ext
11951 LIBS=$ac_check_lib_save_LIBS
11953 { $as_echo "$as_me:$LINENO: result: $ac_cv_lib_nsl_gethostbyname" >&5
11954 $as_echo "$ac_cv_lib_nsl_gethostbyname" >&6; }
11955 if test "x$ac_cv_lib_nsl_gethostbyname" = x""yes; then
11956 X_EXTRA_LIBS="$X_EXTRA_LIBS -lnsl"
11959 if test $ac_cv_lib_nsl_gethostbyname = no; then
11960 { $as_echo "$as_me:$LINENO: checking for gethostbyname in -lbsd" >&5
11961 $as_echo_n "checking for gethostbyname in -lbsd... " >&6; }
11962 if test "${ac_cv_lib_bsd_gethostbyname+set}" = set; then
11963 $as_echo_n "(cached) " >&6
11965 ac_check_lib_save_LIBS=$LIBS
11967 cat >conftest.$ac_ext <<_ACEOF
11970 cat confdefs.h >>conftest.$ac_ext
11971 cat >>conftest.$ac_ext <<_ACEOF
11972 /* end confdefs.h. */
11974 /* Override any GCC internal prototype to avoid an error.
11975 Use char because int might match the return type of a GCC
11976 builtin and then its argument prototype would still apply. */
11980 char gethostbyname ();
11984 return gethostbyname ();
11989 rm -f conftest.$ac_objext conftest$ac_exeext
11990 if { (ac_try="$ac_link"
11991 case "(($ac_try" in
11992 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
11993 *) ac_try_echo=$ac_try;;
11995 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
11996 $as_echo "$ac_try_echo") >&5
11997 (eval "$ac_link") 2>conftest.er1
11999 grep -v '^ *+' conftest.er1 >conftest.err
12001 cat conftest.err >&5
12002 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
12003 (exit $ac_status); } && {
12004 test -z "$ac_c_werror_flag" ||
12005 test ! -s conftest.err
12006 } && test -s conftest$ac_exeext && {
12007 test "$cross_compiling" = yes ||
12008 $as_test_x conftest$ac_exeext
12010 ac_cv_lib_bsd_gethostbyname=yes
12012 $as_echo "$as_me: failed program was:" >&5
12013 sed 's/^/| /' conftest.$ac_ext >&5
12015 ac_cv_lib_bsd_gethostbyname=no
12018 rm -rf conftest.dSYM
12019 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
12020 conftest$ac_exeext conftest.$ac_ext
12021 LIBS=$ac_check_lib_save_LIBS
12023 { $as_echo "$as_me:$LINENO: result: $ac_cv_lib_bsd_gethostbyname" >&5
12024 $as_echo "$ac_cv_lib_bsd_gethostbyname" >&6; }
12025 if test "x$ac_cv_lib_bsd_gethostbyname" = x""yes; then
12026 X_EXTRA_LIBS="$X_EXTRA_LIBS -lbsd"
12032 # lieder@skyler.mavd.honeywell.com says without -lsocket,
12033 # socket/setsockopt and other routines are undefined under SCO ODT
12034 # 2.0. But -lsocket is broken on IRIX 5.2 (and is not necessary
12035 # on later versions), says Simon Leinen: it contains gethostby*
12036 # variants that don't use the name server (or something). -lsocket
12037 # must be given before -lnsl if both are needed. We assume that
12038 # if connect needs -lnsl, so does gethostbyname.
12039 { $as_echo "$as_me:$LINENO: checking for connect" >&5
12040 $as_echo_n "checking for connect... " >&6; }
12041 if test "${ac_cv_func_connect+set}" = set; then
12042 $as_echo_n "(cached) " >&6
12044 cat >conftest.$ac_ext <<_ACEOF
12047 cat confdefs.h >>conftest.$ac_ext
12048 cat >>conftest.$ac_ext <<_ACEOF
12049 /* end confdefs.h. */
12050 /* Define connect to an innocuous variant, in case <limits.h> declares connect.
12051 For example, HP-UX 11i <limits.h> declares gettimeofday. */
12052 #define connect innocuous_connect
12054 /* System header to define __stub macros and hopefully few prototypes,
12055 which can conflict with char connect (); below.
12056 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
12057 <limits.h> exists even on freestanding compilers. */
12060 # include <limits.h>
12062 # include <assert.h>
12067 /* Override any GCC internal prototype to avoid an error.
12068 Use char because int might match the return type of a GCC
12069 builtin and then its argument prototype would still apply. */
12074 /* The GNU C library defines this for functions which it implements
12075 to always fail with ENOSYS. Some functions are actually named
12076 something starting with __ and the normal name is an alias. */
12077 #if defined __stub_connect || defined __stub___connect
12089 rm -f conftest.$ac_objext conftest$ac_exeext
12090 if { (ac_try="$ac_link"
12091 case "(($ac_try" in
12092 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
12093 *) ac_try_echo=$ac_try;;
12095 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
12096 $as_echo "$ac_try_echo") >&5
12097 (eval "$ac_link") 2>conftest.er1
12099 grep -v '^ *+' conftest.er1 >conftest.err
12101 cat conftest.err >&5
12102 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
12103 (exit $ac_status); } && {
12104 test -z "$ac_c_werror_flag" ||
12105 test ! -s conftest.err
12106 } && test -s conftest$ac_exeext && {
12107 test "$cross_compiling" = yes ||
12108 $as_test_x conftest$ac_exeext
12110 ac_cv_func_connect=yes
12112 $as_echo "$as_me: failed program was:" >&5
12113 sed 's/^/| /' conftest.$ac_ext >&5
12115 ac_cv_func_connect=no
12118 rm -rf conftest.dSYM
12119 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
12120 conftest$ac_exeext conftest.$ac_ext
12122 { $as_echo "$as_me:$LINENO: result: $ac_cv_func_connect" >&5
12123 $as_echo "$ac_cv_func_connect" >&6; }
12125 if test $ac_cv_func_connect = no; then
12126 { $as_echo "$as_me:$LINENO: checking for connect in -lsocket" >&5
12127 $as_echo_n "checking for connect in -lsocket... " >&6; }
12128 if test "${ac_cv_lib_socket_connect+set}" = set; then
12129 $as_echo_n "(cached) " >&6
12131 ac_check_lib_save_LIBS=$LIBS
12132 LIBS="-lsocket $X_EXTRA_LIBS $LIBS"
12133 cat >conftest.$ac_ext <<_ACEOF
12136 cat confdefs.h >>conftest.$ac_ext
12137 cat >>conftest.$ac_ext <<_ACEOF
12138 /* end confdefs.h. */
12140 /* Override any GCC internal prototype to avoid an error.
12141 Use char because int might match the return type of a GCC
12142 builtin and then its argument prototype would still apply. */
12155 rm -f conftest.$ac_objext conftest$ac_exeext
12156 if { (ac_try="$ac_link"
12157 case "(($ac_try" in
12158 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
12159 *) ac_try_echo=$ac_try;;
12161 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
12162 $as_echo "$ac_try_echo") >&5
12163 (eval "$ac_link") 2>conftest.er1
12165 grep -v '^ *+' conftest.er1 >conftest.err
12167 cat conftest.err >&5
12168 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
12169 (exit $ac_status); } && {
12170 test -z "$ac_c_werror_flag" ||
12171 test ! -s conftest.err
12172 } && test -s conftest$ac_exeext && {
12173 test "$cross_compiling" = yes ||
12174 $as_test_x conftest$ac_exeext
12176 ac_cv_lib_socket_connect=yes
12178 $as_echo "$as_me: failed program was:" >&5
12179 sed 's/^/| /' conftest.$ac_ext >&5
12181 ac_cv_lib_socket_connect=no
12184 rm -rf conftest.dSYM
12185 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
12186 conftest$ac_exeext conftest.$ac_ext
12187 LIBS=$ac_check_lib_save_LIBS
12189 { $as_echo "$as_me:$LINENO: result: $ac_cv_lib_socket_connect" >&5
12190 $as_echo "$ac_cv_lib_socket_connect" >&6; }
12191 if test "x$ac_cv_lib_socket_connect" = x""yes; then
12192 X_EXTRA_LIBS="-lsocket $X_EXTRA_LIBS"
12197 # Guillermo Gomez says -lposix is necessary on A/UX.
12198 { $as_echo "$as_me:$LINENO: checking for remove" >&5
12199 $as_echo_n "checking for remove... " >&6; }
12200 if test "${ac_cv_func_remove+set}" = set; then
12201 $as_echo_n "(cached) " >&6
12203 cat >conftest.$ac_ext <<_ACEOF
12206 cat confdefs.h >>conftest.$ac_ext
12207 cat >>conftest.$ac_ext <<_ACEOF
12208 /* end confdefs.h. */
12209 /* Define remove to an innocuous variant, in case <limits.h> declares remove.
12210 For example, HP-UX 11i <limits.h> declares gettimeofday. */
12211 #define remove innocuous_remove
12213 /* System header to define __stub macros and hopefully few prototypes,
12214 which can conflict with char remove (); below.
12215 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
12216 <limits.h> exists even on freestanding compilers. */
12219 # include <limits.h>
12221 # include <assert.h>
12226 /* Override any GCC internal prototype to avoid an error.
12227 Use char because int might match the return type of a GCC
12228 builtin and then its argument prototype would still apply. */
12233 /* The GNU C library defines this for functions which it implements
12234 to always fail with ENOSYS. Some functions are actually named
12235 something starting with __ and the normal name is an alias. */
12236 #if defined __stub_remove || defined __stub___remove
12248 rm -f conftest.$ac_objext conftest$ac_exeext
12249 if { (ac_try="$ac_link"
12250 case "(($ac_try" in
12251 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
12252 *) ac_try_echo=$ac_try;;
12254 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
12255 $as_echo "$ac_try_echo") >&5
12256 (eval "$ac_link") 2>conftest.er1
12258 grep -v '^ *+' conftest.er1 >conftest.err
12260 cat conftest.err >&5
12261 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
12262 (exit $ac_status); } && {
12263 test -z "$ac_c_werror_flag" ||
12264 test ! -s conftest.err
12265 } && test -s conftest$ac_exeext && {
12266 test "$cross_compiling" = yes ||
12267 $as_test_x conftest$ac_exeext
12269 ac_cv_func_remove=yes
12271 $as_echo "$as_me: failed program was:" >&5
12272 sed 's/^/| /' conftest.$ac_ext >&5
12274 ac_cv_func_remove=no
12277 rm -rf conftest.dSYM
12278 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
12279 conftest$ac_exeext conftest.$ac_ext
12281 { $as_echo "$as_me:$LINENO: result: $ac_cv_func_remove" >&5
12282 $as_echo "$ac_cv_func_remove" >&6; }
12284 if test $ac_cv_func_remove = no; then
12285 { $as_echo "$as_me:$LINENO: checking for remove in -lposix" >&5
12286 $as_echo_n "checking for remove in -lposix... " >&6; }
12287 if test "${ac_cv_lib_posix_remove+set}" = set; then
12288 $as_echo_n "(cached) " >&6
12290 ac_check_lib_save_LIBS=$LIBS
12291 LIBS="-lposix $LIBS"
12292 cat >conftest.$ac_ext <<_ACEOF
12295 cat confdefs.h >>conftest.$ac_ext
12296 cat >>conftest.$ac_ext <<_ACEOF
12297 /* end confdefs.h. */
12299 /* Override any GCC internal prototype to avoid an error.
12300 Use char because int might match the return type of a GCC
12301 builtin and then its argument prototype would still apply. */
12314 rm -f conftest.$ac_objext conftest$ac_exeext
12315 if { (ac_try="$ac_link"
12316 case "(($ac_try" in
12317 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
12318 *) ac_try_echo=$ac_try;;
12320 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
12321 $as_echo "$ac_try_echo") >&5
12322 (eval "$ac_link") 2>conftest.er1
12324 grep -v '^ *+' conftest.er1 >conftest.err
12326 cat conftest.err >&5
12327 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
12328 (exit $ac_status); } && {
12329 test -z "$ac_c_werror_flag" ||
12330 test ! -s conftest.err
12331 } && test -s conftest$ac_exeext && {
12332 test "$cross_compiling" = yes ||
12333 $as_test_x conftest$ac_exeext
12335 ac_cv_lib_posix_remove=yes
12337 $as_echo "$as_me: failed program was:" >&5
12338 sed 's/^/| /' conftest.$ac_ext >&5
12340 ac_cv_lib_posix_remove=no
12343 rm -rf conftest.dSYM
12344 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
12345 conftest$ac_exeext conftest.$ac_ext
12346 LIBS=$ac_check_lib_save_LIBS
12348 { $as_echo "$as_me:$LINENO: result: $ac_cv_lib_posix_remove" >&5
12349 $as_echo "$ac_cv_lib_posix_remove" >&6; }
12350 if test "x$ac_cv_lib_posix_remove" = x""yes; then
12351 X_EXTRA_LIBS="$X_EXTRA_LIBS -lposix"
12356 # BSDI BSD/OS 2.1 needs -lipc for XOpenDisplay.
12357 { $as_echo "$as_me:$LINENO: checking for shmat" >&5
12358 $as_echo_n "checking for shmat... " >&6; }
12359 if test "${ac_cv_func_shmat+set}" = set; then
12360 $as_echo_n "(cached) " >&6
12362 cat >conftest.$ac_ext <<_ACEOF
12365 cat confdefs.h >>conftest.$ac_ext
12366 cat >>conftest.$ac_ext <<_ACEOF
12367 /* end confdefs.h. */
12368 /* Define shmat to an innocuous variant, in case <limits.h> declares shmat.
12369 For example, HP-UX 11i <limits.h> declares gettimeofday. */
12370 #define shmat innocuous_shmat
12372 /* System header to define __stub macros and hopefully few prototypes,
12373 which can conflict with char shmat (); below.
12374 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
12375 <limits.h> exists even on freestanding compilers. */
12378 # include <limits.h>
12380 # include <assert.h>
12385 /* Override any GCC internal prototype to avoid an error.
12386 Use char because int might match the return type of a GCC
12387 builtin and then its argument prototype would still apply. */
12392 /* The GNU C library defines this for functions which it implements
12393 to always fail with ENOSYS. Some functions are actually named
12394 something starting with __ and the normal name is an alias. */
12395 #if defined __stub_shmat || defined __stub___shmat
12407 rm -f conftest.$ac_objext conftest$ac_exeext
12408 if { (ac_try="$ac_link"
12409 case "(($ac_try" in
12410 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
12411 *) ac_try_echo=$ac_try;;
12413 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
12414 $as_echo "$ac_try_echo") >&5
12415 (eval "$ac_link") 2>conftest.er1
12417 grep -v '^ *+' conftest.er1 >conftest.err
12419 cat conftest.err >&5
12420 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
12421 (exit $ac_status); } && {
12422 test -z "$ac_c_werror_flag" ||
12423 test ! -s conftest.err
12424 } && test -s conftest$ac_exeext && {
12425 test "$cross_compiling" = yes ||
12426 $as_test_x conftest$ac_exeext
12428 ac_cv_func_shmat=yes
12430 $as_echo "$as_me: failed program was:" >&5
12431 sed 's/^/| /' conftest.$ac_ext >&5
12433 ac_cv_func_shmat=no
12436 rm -rf conftest.dSYM
12437 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
12438 conftest$ac_exeext conftest.$ac_ext
12440 { $as_echo "$as_me:$LINENO: result: $ac_cv_func_shmat" >&5
12441 $as_echo "$ac_cv_func_shmat" >&6; }
12443 if test $ac_cv_func_shmat = no; then
12444 { $as_echo "$as_me:$LINENO: checking for shmat in -lipc" >&5
12445 $as_echo_n "checking for shmat in -lipc... " >&6; }
12446 if test "${ac_cv_lib_ipc_shmat+set}" = set; then
12447 $as_echo_n "(cached) " >&6
12449 ac_check_lib_save_LIBS=$LIBS
12451 cat >conftest.$ac_ext <<_ACEOF
12454 cat confdefs.h >>conftest.$ac_ext
12455 cat >>conftest.$ac_ext <<_ACEOF
12456 /* end confdefs.h. */
12458 /* Override any GCC internal prototype to avoid an error.
12459 Use char because int might match the return type of a GCC
12460 builtin and then its argument prototype would still apply. */
12473 rm -f conftest.$ac_objext conftest$ac_exeext
12474 if { (ac_try="$ac_link"
12475 case "(($ac_try" in
12476 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
12477 *) ac_try_echo=$ac_try;;
12479 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
12480 $as_echo "$ac_try_echo") >&5
12481 (eval "$ac_link") 2>conftest.er1
12483 grep -v '^ *+' conftest.er1 >conftest.err
12485 cat conftest.err >&5
12486 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
12487 (exit $ac_status); } && {
12488 test -z "$ac_c_werror_flag" ||
12489 test ! -s conftest.err
12490 } && test -s conftest$ac_exeext && {
12491 test "$cross_compiling" = yes ||
12492 $as_test_x conftest$ac_exeext
12494 ac_cv_lib_ipc_shmat=yes
12496 $as_echo "$as_me: failed program was:" >&5
12497 sed 's/^/| /' conftest.$ac_ext >&5
12499 ac_cv_lib_ipc_shmat=no
12502 rm -rf conftest.dSYM
12503 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
12504 conftest$ac_exeext conftest.$ac_ext
12505 LIBS=$ac_check_lib_save_LIBS
12507 { $as_echo "$as_me:$LINENO: result: $ac_cv_lib_ipc_shmat" >&5
12508 $as_echo "$ac_cv_lib_ipc_shmat" >&6; }
12509 if test "x$ac_cv_lib_ipc_shmat" = x""yes; then
12510 X_EXTRA_LIBS="$X_EXTRA_LIBS -lipc"
12516 # Check for libraries that X11R6 Xt/Xaw programs need.
12517 ac_save_LDFLAGS=$LDFLAGS
12518 test -n "$x_libraries" && LDFLAGS="$LDFLAGS -L$x_libraries"
12519 # SM needs ICE to (dynamically) link under SunOS 4.x (so we have to
12520 # check for ICE first), but we must link in the order -lSM -lICE or
12521 # we get undefined symbols. So assume we have SM if we have ICE.
12522 # These have to be linked with before -lX11, unlike the other
12523 # libraries we check for below, so use a different variable.
12524 # John Interrante, Karl Berry
12525 { $as_echo "$as_me:$LINENO: checking for IceConnectionNumber in -lICE" >&5
12526 $as_echo_n "checking for IceConnectionNumber in -lICE... " >&6; }
12527 if test "${ac_cv_lib_ICE_IceConnectionNumber+set}" = set; then
12528 $as_echo_n "(cached) " >&6
12530 ac_check_lib_save_LIBS=$LIBS
12531 LIBS="-lICE $X_EXTRA_LIBS $LIBS"
12532 cat >conftest.$ac_ext <<_ACEOF
12535 cat confdefs.h >>conftest.$ac_ext
12536 cat >>conftest.$ac_ext <<_ACEOF
12537 /* end confdefs.h. */
12539 /* Override any GCC internal prototype to avoid an error.
12540 Use char because int might match the return type of a GCC
12541 builtin and then its argument prototype would still apply. */
12545 char IceConnectionNumber ();
12549 return IceConnectionNumber ();
12554 rm -f conftest.$ac_objext conftest$ac_exeext
12555 if { (ac_try="$ac_link"
12556 case "(($ac_try" in
12557 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
12558 *) ac_try_echo=$ac_try;;
12560 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
12561 $as_echo "$ac_try_echo") >&5
12562 (eval "$ac_link") 2>conftest.er1
12564 grep -v '^ *+' conftest.er1 >conftest.err
12566 cat conftest.err >&5
12567 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
12568 (exit $ac_status); } && {
12569 test -z "$ac_c_werror_flag" ||
12570 test ! -s conftest.err
12571 } && test -s conftest$ac_exeext && {
12572 test "$cross_compiling" = yes ||
12573 $as_test_x conftest$ac_exeext
12575 ac_cv_lib_ICE_IceConnectionNumber=yes
12577 $as_echo "$as_me: failed program was:" >&5
12578 sed 's/^/| /' conftest.$ac_ext >&5
12580 ac_cv_lib_ICE_IceConnectionNumber=no
12583 rm -rf conftest.dSYM
12584 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
12585 conftest$ac_exeext conftest.$ac_ext
12586 LIBS=$ac_check_lib_save_LIBS
12588 { $as_echo "$as_me:$LINENO: result: $ac_cv_lib_ICE_IceConnectionNumber" >&5
12589 $as_echo "$ac_cv_lib_ICE_IceConnectionNumber" >&6; }
12590 if test "x$ac_cv_lib_ICE_IceConnectionNumber" = x""yes; then
12591 X_PRE_LIBS="$X_PRE_LIBS -lSM -lICE"
12594 LDFLAGS=$ac_save_LDFLAGS
12603 for ac_header in alloca.h locale.h stdarg.h wctype.h
12605 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
12606 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
12607 { $as_echo "$as_me:$LINENO: checking for $ac_header" >&5
12608 $as_echo_n "checking for $ac_header... " >&6; }
12609 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
12610 $as_echo_n "(cached) " >&6
12612 ac_res=`eval 'as_val=${'$as_ac_Header'}
12613 $as_echo "$as_val"'`
12614 { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
12615 $as_echo "$ac_res" >&6; }
12617 # Is the header compilable?
12618 { $as_echo "$as_me:$LINENO: checking $ac_header usability" >&5
12619 $as_echo_n "checking $ac_header usability... " >&6; }
12620 cat >conftest.$ac_ext <<_ACEOF
12623 cat confdefs.h >>conftest.$ac_ext
12624 cat >>conftest.$ac_ext <<_ACEOF
12625 /* end confdefs.h. */
12626 $ac_includes_default
12627 #include <$ac_header>
12629 rm -f conftest.$ac_objext
12630 if { (ac_try="$ac_compile"
12631 case "(($ac_try" in
12632 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
12633 *) ac_try_echo=$ac_try;;
12635 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
12636 $as_echo "$ac_try_echo") >&5
12637 (eval "$ac_compile") 2>conftest.er1
12639 grep -v '^ *+' conftest.er1 >conftest.err
12641 cat conftest.err >&5
12642 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
12643 (exit $ac_status); } && {
12644 test -z "$ac_c_werror_flag" ||
12645 test ! -s conftest.err
12646 } && test -s conftest.$ac_objext; then
12647 ac_header_compiler=yes
12649 $as_echo "$as_me: failed program was:" >&5
12650 sed 's/^/| /' conftest.$ac_ext >&5
12652 ac_header_compiler=no
12655 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
12656 { $as_echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
12657 $as_echo "$ac_header_compiler" >&6; }
12659 # Is the header present?
12660 { $as_echo "$as_me:$LINENO: checking $ac_header presence" >&5
12661 $as_echo_n "checking $ac_header presence... " >&6; }
12662 cat >conftest.$ac_ext <<_ACEOF
12665 cat confdefs.h >>conftest.$ac_ext
12666 cat >>conftest.$ac_ext <<_ACEOF
12667 /* end confdefs.h. */
12668 #include <$ac_header>
12670 if { (ac_try="$ac_cpp conftest.$ac_ext"
12671 case "(($ac_try" in
12672 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
12673 *) ac_try_echo=$ac_try;;
12675 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
12676 $as_echo "$ac_try_echo") >&5
12677 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
12679 grep -v '^ *+' conftest.er1 >conftest.err
12681 cat conftest.err >&5
12682 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
12683 (exit $ac_status); } >/dev/null && {
12684 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
12685 test ! -s conftest.err
12687 ac_header_preproc=yes
12689 $as_echo "$as_me: failed program was:" >&5
12690 sed 's/^/| /' conftest.$ac_ext >&5
12692 ac_header_preproc=no
12695 rm -f conftest.err conftest.$ac_ext
12696 { $as_echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
12697 $as_echo "$ac_header_preproc" >&6; }
12699 # So? What about this header?
12700 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
12702 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
12703 $as_echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
12704 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
12705 $as_echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
12706 ac_header_preproc=yes
12709 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
12710 $as_echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
12711 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
12712 $as_echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
12713 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
12714 $as_echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
12715 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
12716 $as_echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
12717 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
12718 $as_echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
12719 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
12720 $as_echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
12722 ## -------------------------------------------------------- ##
12723 ## Report this to enlightenment-devel@lists.sourceforge.net ##
12724 ## -------------------------------------------------------- ##
12726 ) | sed "s/^/$as_me: WARNING: /" >&2
12729 { $as_echo "$as_me:$LINENO: checking for $ac_header" >&5
12730 $as_echo_n "checking for $ac_header... " >&6; }
12731 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
12732 $as_echo_n "(cached) " >&6
12734 eval "$as_ac_Header=\$ac_header_preproc"
12736 ac_res=`eval 'as_val=${'$as_ac_Header'}
12737 $as_echo "$as_val"'`
12738 { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
12739 $as_echo "$ac_res" >&6; }
12742 as_val=`eval 'as_val=${'$as_ac_Header'}
12743 $as_echo "$as_val"'`
12744 if test "x$as_val" = x""yes; then
12745 cat >>confdefs.h <<_ACEOF
12746 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
12754 { $as_echo "$as_me:$LINENO: checking return type of signal handlers" >&5
12755 $as_echo_n "checking return type of signal handlers... " >&6; }
12756 if test "${ac_cv_type_signal+set}" = set; then
12757 $as_echo_n "(cached) " >&6
12759 cat >conftest.$ac_ext <<_ACEOF
12762 cat confdefs.h >>conftest.$ac_ext
12763 cat >>conftest.$ac_ext <<_ACEOF
12764 /* end confdefs.h. */
12765 #include <sys/types.h>
12766 #include <signal.h>
12771 return *(signal (0, 0)) (0) == 1;
12776 rm -f conftest.$ac_objext
12777 if { (ac_try="$ac_compile"
12778 case "(($ac_try" in
12779 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
12780 *) ac_try_echo=$ac_try;;
12782 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
12783 $as_echo "$ac_try_echo") >&5
12784 (eval "$ac_compile") 2>conftest.er1
12786 grep -v '^ *+' conftest.er1 >conftest.err
12788 cat conftest.err >&5
12789 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
12790 (exit $ac_status); } && {
12791 test -z "$ac_c_werror_flag" ||
12792 test ! -s conftest.err
12793 } && test -s conftest.$ac_objext; then
12794 ac_cv_type_signal=int
12796 $as_echo "$as_me: failed program was:" >&5
12797 sed 's/^/| /' conftest.$ac_ext >&5
12799 ac_cv_type_signal=void
12802 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
12804 { $as_echo "$as_me:$LINENO: result: $ac_cv_type_signal" >&5
12805 $as_echo "$ac_cv_type_signal" >&6; }
12807 cat >>confdefs.h <<_ACEOF
12808 #define RETSIGTYPE $ac_cv_type_signal
12814 { $as_echo "$as_me:$LINENO: checking whether byte ordering is bigendian" >&5
12815 $as_echo_n "checking whether byte ordering is bigendian... " >&6; }
12816 if test "${ac_cv_c_bigendian+set}" = set; then
12817 $as_echo_n "(cached) " >&6
12819 ac_cv_c_bigendian=unknown
12820 # See if we're dealing with a universal compiler.
12821 cat >conftest.$ac_ext <<_ACEOF
12824 cat confdefs.h >>conftest.$ac_ext
12825 cat >>conftest.$ac_ext <<_ACEOF
12826 /* end confdefs.h. */
12827 #ifndef __APPLE_CC__
12828 not a universal capable compiler
12833 rm -f conftest.$ac_objext
12834 if { (ac_try="$ac_compile"
12835 case "(($ac_try" in
12836 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
12837 *) ac_try_echo=$ac_try;;
12839 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
12840 $as_echo "$ac_try_echo") >&5
12841 (eval "$ac_compile") 2>conftest.er1
12843 grep -v '^ *+' conftest.er1 >conftest.err
12845 cat conftest.err >&5
12846 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
12847 (exit $ac_status); } && {
12848 test -z "$ac_c_werror_flag" ||
12849 test ! -s conftest.err
12850 } && test -s conftest.$ac_objext; then
12852 # Check for potential -arch flags. It is not universal unless
12853 # there are some -arch flags. Note that *ppc* also matches
12854 # ppc64. This check is also rather less than ideal.
12855 case "${CC} ${CFLAGS} ${CPPFLAGS} ${LDFLAGS}" in #(
12856 *-arch*ppc*|*-arch*i386*|*-arch*x86_64*) ac_cv_c_bigendian=universal;;
12859 $as_echo "$as_me: failed program was:" >&5
12860 sed 's/^/| /' conftest.$ac_ext >&5
12865 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
12866 if test $ac_cv_c_bigendian = unknown; then
12867 # See if sys/param.h defines the BYTE_ORDER macro.
12868 cat >conftest.$ac_ext <<_ACEOF
12871 cat confdefs.h >>conftest.$ac_ext
12872 cat >>conftest.$ac_ext <<_ACEOF
12873 /* end confdefs.h. */
12874 #include <sys/types.h>
12875 #include <sys/param.h>
12880 #if ! (defined BYTE_ORDER && defined BIG_ENDIAN \
12881 && defined LITTLE_ENDIAN && BYTE_ORDER && BIG_ENDIAN \
12883 bogus endian macros
12890 rm -f conftest.$ac_objext
12891 if { (ac_try="$ac_compile"
12892 case "(($ac_try" in
12893 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
12894 *) ac_try_echo=$ac_try;;
12896 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
12897 $as_echo "$ac_try_echo") >&5
12898 (eval "$ac_compile") 2>conftest.er1
12900 grep -v '^ *+' conftest.er1 >conftest.err
12902 cat conftest.err >&5
12903 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
12904 (exit $ac_status); } && {
12905 test -z "$ac_c_werror_flag" ||
12906 test ! -s conftest.err
12907 } && test -s conftest.$ac_objext; then
12908 # It does; now see whether it defined to BIG_ENDIAN or not.
12909 cat >conftest.$ac_ext <<_ACEOF
12912 cat confdefs.h >>conftest.$ac_ext
12913 cat >>conftest.$ac_ext <<_ACEOF
12914 /* end confdefs.h. */
12915 #include <sys/types.h>
12916 #include <sys/param.h>
12921 #if BYTE_ORDER != BIG_ENDIAN
12929 rm -f conftest.$ac_objext
12930 if { (ac_try="$ac_compile"
12931 case "(($ac_try" in
12932 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
12933 *) ac_try_echo=$ac_try;;
12935 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
12936 $as_echo "$ac_try_echo") >&5
12937 (eval "$ac_compile") 2>conftest.er1
12939 grep -v '^ *+' conftest.er1 >conftest.err
12941 cat conftest.err >&5
12942 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
12943 (exit $ac_status); } && {
12944 test -z "$ac_c_werror_flag" ||
12945 test ! -s conftest.err
12946 } && test -s conftest.$ac_objext; then
12947 ac_cv_c_bigendian=yes
12949 $as_echo "$as_me: failed program was:" >&5
12950 sed 's/^/| /' conftest.$ac_ext >&5
12952 ac_cv_c_bigendian=no
12955 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
12957 $as_echo "$as_me: failed program was:" >&5
12958 sed 's/^/| /' conftest.$ac_ext >&5
12963 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
12965 if test $ac_cv_c_bigendian = unknown; then
12966 # See if <limits.h> defines _LITTLE_ENDIAN or _BIG_ENDIAN (e.g., Solaris).
12967 cat >conftest.$ac_ext <<_ACEOF
12970 cat confdefs.h >>conftest.$ac_ext
12971 cat >>conftest.$ac_ext <<_ACEOF
12972 /* end confdefs.h. */
12973 #include <limits.h>
12978 #if ! (defined _LITTLE_ENDIAN || defined _BIG_ENDIAN)
12979 bogus endian macros
12986 rm -f conftest.$ac_objext
12987 if { (ac_try="$ac_compile"
12988 case "(($ac_try" in
12989 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
12990 *) ac_try_echo=$ac_try;;
12992 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
12993 $as_echo "$ac_try_echo") >&5
12994 (eval "$ac_compile") 2>conftest.er1
12996 grep -v '^ *+' conftest.er1 >conftest.err
12998 cat conftest.err >&5
12999 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
13000 (exit $ac_status); } && {
13001 test -z "$ac_c_werror_flag" ||
13002 test ! -s conftest.err
13003 } && test -s conftest.$ac_objext; then
13004 # It does; now see whether it defined to _BIG_ENDIAN or not.
13005 cat >conftest.$ac_ext <<_ACEOF
13008 cat confdefs.h >>conftest.$ac_ext
13009 cat >>conftest.$ac_ext <<_ACEOF
13010 /* end confdefs.h. */
13011 #include <limits.h>
13016 #ifndef _BIG_ENDIAN
13024 rm -f conftest.$ac_objext
13025 if { (ac_try="$ac_compile"
13026 case "(($ac_try" in
13027 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
13028 *) ac_try_echo=$ac_try;;
13030 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
13031 $as_echo "$ac_try_echo") >&5
13032 (eval "$ac_compile") 2>conftest.er1
13034 grep -v '^ *+' conftest.er1 >conftest.err
13036 cat conftest.err >&5
13037 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
13038 (exit $ac_status); } && {
13039 test -z "$ac_c_werror_flag" ||
13040 test ! -s conftest.err
13041 } && test -s conftest.$ac_objext; then
13042 ac_cv_c_bigendian=yes
13044 $as_echo "$as_me: failed program was:" >&5
13045 sed 's/^/| /' conftest.$ac_ext >&5
13047 ac_cv_c_bigendian=no
13050 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
13052 $as_echo "$as_me: failed program was:" >&5
13053 sed 's/^/| /' conftest.$ac_ext >&5
13058 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
13060 if test $ac_cv_c_bigendian = unknown; then
13061 # Compile a test program.
13062 if test "$cross_compiling" = yes; then
13063 # Try to guess by grepping values from an object file.
13064 cat >conftest.$ac_ext <<_ACEOF
13067 cat confdefs.h >>conftest.$ac_ext
13068 cat >>conftest.$ac_ext <<_ACEOF
13069 /* end confdefs.h. */
13070 short int ascii_mm[] =
13071 { 0x4249, 0x4765, 0x6E44, 0x6961, 0x6E53, 0x7953, 0 };
13072 short int ascii_ii[] =
13073 { 0x694C, 0x5454, 0x656C, 0x6E45, 0x6944, 0x6E61, 0 };
13074 int use_ascii (int i) {
13075 return ascii_mm[i] + ascii_ii[i];
13077 short int ebcdic_ii[] =
13078 { 0x89D3, 0xE3E3, 0x8593, 0x95C5, 0x89C4, 0x9581, 0 };
13079 short int ebcdic_mm[] =
13080 { 0xC2C9, 0xC785, 0x95C4, 0x8981, 0x95E2, 0xA8E2, 0 };
13081 int use_ebcdic (int i) {
13082 return ebcdic_mm[i] + ebcdic_ii[i];
13089 return use_ascii (foo) == use_ebcdic (foo);
13094 rm -f conftest.$ac_objext
13095 if { (ac_try="$ac_compile"
13096 case "(($ac_try" in
13097 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
13098 *) ac_try_echo=$ac_try;;
13100 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
13101 $as_echo "$ac_try_echo") >&5
13102 (eval "$ac_compile") 2>conftest.er1
13104 grep -v '^ *+' conftest.er1 >conftest.err
13106 cat conftest.err >&5
13107 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
13108 (exit $ac_status); } && {
13109 test -z "$ac_c_werror_flag" ||
13110 test ! -s conftest.err
13111 } && test -s conftest.$ac_objext; then
13112 if grep BIGenDianSyS conftest.$ac_objext >/dev/null; then
13113 ac_cv_c_bigendian=yes
13115 if grep LiTTleEnDian conftest.$ac_objext >/dev/null ; then
13116 if test "$ac_cv_c_bigendian" = unknown; then
13117 ac_cv_c_bigendian=no
13119 # finding both strings is unlikely to happen, but who knows?
13120 ac_cv_c_bigendian=unknown
13124 $as_echo "$as_me: failed program was:" >&5
13125 sed 's/^/| /' conftest.$ac_ext >&5
13130 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
13132 cat >conftest.$ac_ext <<_ACEOF
13135 cat confdefs.h >>conftest.$ac_ext
13136 cat >>conftest.$ac_ext <<_ACEOF
13137 /* end confdefs.h. */
13138 $ac_includes_default
13143 /* Are we little or big endian? From Harbison&Steele. */
13147 char c[sizeof (long int)];
13150 return u.c[sizeof (long int) - 1] == 1;
13156 rm -f conftest$ac_exeext
13157 if { (ac_try="$ac_link"
13158 case "(($ac_try" in
13159 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
13160 *) ac_try_echo=$ac_try;;
13162 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
13163 $as_echo "$ac_try_echo") >&5
13164 (eval "$ac_link") 2>&5
13166 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
13167 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
13168 { (case "(($ac_try" in
13169 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
13170 *) ac_try_echo=$ac_try;;
13172 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
13173 $as_echo "$ac_try_echo") >&5
13174 (eval "$ac_try") 2>&5
13176 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
13177 (exit $ac_status); }; }; then
13178 ac_cv_c_bigendian=no
13180 $as_echo "$as_me: program exited with status $ac_status" >&5
13181 $as_echo "$as_me: failed program was:" >&5
13182 sed 's/^/| /' conftest.$ac_ext >&5
13184 ( exit $ac_status )
13185 ac_cv_c_bigendian=yes
13187 rm -rf conftest.dSYM
13188 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
13194 { $as_echo "$as_me:$LINENO: result: $ac_cv_c_bigendian" >&5
13195 $as_echo "$ac_cv_c_bigendian" >&6; }
13196 case $ac_cv_c_bigendian in #(
13198 cat >>confdefs.h <<\_ACEOF
13199 #define WORDS_BIGENDIAN 1
13206 cat >>confdefs.h <<\_ACEOF
13207 #define AC_APPLE_UNIVERSAL_BUILD 1
13212 { { $as_echo "$as_me:$LINENO: error: unknown endianness
13213 presetting ac_cv_c_bigendian=no (or yes) will help" >&5
13214 $as_echo "$as_me: error: unknown endianness
13215 presetting ac_cv_c_bigendian=no (or yes) will help" >&2;}
13216 { (exit 1); exit 1; }; } ;;
13219 { $as_echo "$as_me:$LINENO: checking for an ANSI C-conforming const" >&5
13220 $as_echo_n "checking for an ANSI C-conforming const... " >&6; }
13221 if test "${ac_cv_c_const+set}" = set; then
13222 $as_echo_n "(cached) " >&6
13224 cat >conftest.$ac_ext <<_ACEOF
13227 cat confdefs.h >>conftest.$ac_ext
13228 cat >>conftest.$ac_ext <<_ACEOF
13229 /* end confdefs.h. */
13234 /* FIXME: Include the comments suggested by Paul. */
13235 #ifndef __cplusplus
13236 /* Ultrix mips cc rejects this. */
13237 typedef int charset[2];
13239 /* SunOS 4.1.1 cc rejects this. */
13240 char const *const *pcpcc;
13242 /* NEC SVR4.0.2 mips cc rejects this. */
13243 struct point {int x, y;};
13244 static struct point const zero = {0,0};
13245 /* AIX XL C 1.02.0.0 rejects this.
13246 It does not let you subtract one const X* pointer from another in
13247 an arm of an if-expression whose if-part is not a constant
13249 const char *g = "string";
13250 pcpcc = &g + (g ? g-g : 0);
13251 /* HPUX 7.0 cc rejects these. */
13253 ppc = (char**) pcpcc;
13254 pcpcc = (char const *const *) ppc;
13255 { /* SCO 3.2v4 cc rejects this. */
13257 char const *s = 0 ? (char *) 0 : (char const *) 0;
13262 { /* Someone thinks the Sun supposedly-ANSI compiler will reject this. */
13263 int x[] = {25, 17};
13264 const int *foo = &x[0];
13267 { /* Sun SC1.0 ANSI compiler rejects this -- but not the above. */
13268 typedef const int *iptr;
13272 { /* AIX XL C 1.02.0.0 rejects this saying
13273 "k.c", line 2.27: 1506-025 (S) Operand must be a modifiable lvalue. */
13274 struct s { int j; const int *ap[3]; };
13275 struct s *b; b->j = 5;
13277 { /* ULTRIX-32 V3.1 (Rev 9) vcc rejects this */
13278 const int foo = 10;
13279 if (!foo) return 0;
13281 return !cs[0] && !zero.x;
13288 rm -f conftest.$ac_objext
13289 if { (ac_try="$ac_compile"
13290 case "(($ac_try" in
13291 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
13292 *) ac_try_echo=$ac_try;;
13294 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
13295 $as_echo "$ac_try_echo") >&5
13296 (eval "$ac_compile") 2>conftest.er1
13298 grep -v '^ *+' conftest.er1 >conftest.err
13300 cat conftest.err >&5
13301 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
13302 (exit $ac_status); } && {
13303 test -z "$ac_c_werror_flag" ||
13304 test ! -s conftest.err
13305 } && test -s conftest.$ac_objext; then
13308 $as_echo "$as_me: failed program was:" >&5
13309 sed 's/^/| /' conftest.$ac_ext >&5
13314 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
13316 { $as_echo "$as_me:$LINENO: result: $ac_cv_c_const" >&5
13317 $as_echo "$ac_cv_c_const" >&6; }
13318 if test $ac_cv_c_const = no; then
13320 cat >>confdefs.h <<\_ACEOF
13326 { $as_echo "$as_me:$LINENO: checking for inline" >&5
13327 $as_echo_n "checking for inline... " >&6; }
13328 if test "${ac_cv_c_inline+set}" = set; then
13329 $as_echo_n "(cached) " >&6
13332 for ac_kw in inline __inline__ __inline; do
13333 cat >conftest.$ac_ext <<_ACEOF
13336 cat confdefs.h >>conftest.$ac_ext
13337 cat >>conftest.$ac_ext <<_ACEOF
13338 /* end confdefs.h. */
13339 #ifndef __cplusplus
13341 static $ac_kw foo_t static_foo () {return 0; }
13342 $ac_kw foo_t foo () {return 0; }
13346 rm -f conftest.$ac_objext
13347 if { (ac_try="$ac_compile"
13348 case "(($ac_try" in
13349 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
13350 *) ac_try_echo=$ac_try;;
13352 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
13353 $as_echo "$ac_try_echo") >&5
13354 (eval "$ac_compile") 2>conftest.er1
13356 grep -v '^ *+' conftest.er1 >conftest.err
13358 cat conftest.err >&5
13359 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
13360 (exit $ac_status); } && {
13361 test -z "$ac_c_werror_flag" ||
13362 test ! -s conftest.err
13363 } && test -s conftest.$ac_objext; then
13364 ac_cv_c_inline=$ac_kw
13366 $as_echo "$as_me: failed program was:" >&5
13367 sed 's/^/| /' conftest.$ac_ext >&5
13372 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
13373 test "$ac_cv_c_inline" != no && break
13377 { $as_echo "$as_me:$LINENO: result: $ac_cv_c_inline" >&5
13378 $as_echo "$ac_cv_c_inline" >&6; }
13381 case $ac_cv_c_inline in
13384 case $ac_cv_c_inline in
13386 *) ac_val=$ac_cv_c_inline;;
13388 cat >>confdefs.h <<_ACEOF
13389 #ifndef __cplusplus
13390 #define inline $ac_val
13397 { $as_echo "$as_me:$LINENO: checking for __attribute__" >&5
13398 $as_echo_n "checking for __attribute__... " >&6; }
13399 if test "${ac_cv___attribute__+set}" = set; then
13400 $as_echo_n "(cached) " >&6
13403 cat >conftest.$ac_ext <<_ACEOF
13406 cat confdefs.h >>conftest.$ac_ext
13407 cat >>conftest.$ac_ext <<_ACEOF
13408 /* end confdefs.h. */
13409 #include <stdlib.h>
13413 int func(int x); int foo(int x __attribute__ ((unused))) { exit(1); }
13418 rm -f conftest.$ac_objext
13419 if { (ac_try="$ac_compile"
13420 case "(($ac_try" in
13421 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
13422 *) ac_try_echo=$ac_try;;
13424 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
13425 $as_echo "$ac_try_echo") >&5
13426 (eval "$ac_compile") 2>conftest.er1
13428 grep -v '^ *+' conftest.er1 >conftest.err
13430 cat conftest.err >&5
13431 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
13432 (exit $ac_status); } && {
13433 test -z "$ac_c_werror_flag" ||
13434 test ! -s conftest.err
13435 } && test -s conftest.$ac_objext; then
13436 ac_cv___attribute__=yes
13438 $as_echo "$as_me: failed program was:" >&5
13439 sed 's/^/| /' conftest.$ac_ext >&5
13441 ac_cv___attribute__=no
13444 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
13447 if test "$ac_cv___attribute__" = "yes"; then
13449 cat >>confdefs.h <<\_ACEOF
13450 #define HAVE___ATTRIBUTE__ 1
13454 cat >>confdefs.h <<\_ACEOF
13455 #define __UNUSED__ __attribute__((unused))
13460 cat >>confdefs.h <<\_ACEOF
13461 #define __UNUSED__ /**/
13465 { $as_echo "$as_me:$LINENO: result: $ac_cv___attribute__" >&5
13466 $as_echo "$ac_cv___attribute__" >&6; }
13468 # The cast to long int works around a bug in the HP C Compiler
13469 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
13470 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
13471 # This bug is HP SR number 8606223364.
13472 { $as_echo "$as_me:$LINENO: checking size of int" >&5
13473 $as_echo_n "checking size of int... " >&6; }
13474 if test "${ac_cv_sizeof_int+set}" = set; then
13475 $as_echo_n "(cached) " >&6
13477 if test "$cross_compiling" = yes; then
13478 # Depending upon the size, compute the lo and hi bounds.
13479 cat >conftest.$ac_ext <<_ACEOF
13482 cat confdefs.h >>conftest.$ac_ext
13483 cat >>conftest.$ac_ext <<_ACEOF
13484 /* end confdefs.h. */
13485 $ac_includes_default
13489 static int test_array [1 - 2 * !(((long int) (sizeof (int))) >= 0)];
13496 rm -f conftest.$ac_objext
13497 if { (ac_try="$ac_compile"
13498 case "(($ac_try" in
13499 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
13500 *) ac_try_echo=$ac_try;;
13502 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
13503 $as_echo "$ac_try_echo") >&5
13504 (eval "$ac_compile") 2>conftest.er1
13506 grep -v '^ *+' conftest.er1 >conftest.err
13508 cat conftest.err >&5
13509 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
13510 (exit $ac_status); } && {
13511 test -z "$ac_c_werror_flag" ||
13512 test ! -s conftest.err
13513 } && test -s conftest.$ac_objext; then
13516 cat >conftest.$ac_ext <<_ACEOF
13519 cat confdefs.h >>conftest.$ac_ext
13520 cat >>conftest.$ac_ext <<_ACEOF
13521 /* end confdefs.h. */
13522 $ac_includes_default
13526 static int test_array [1 - 2 * !(((long int) (sizeof (int))) <= $ac_mid)];
13533 rm -f conftest.$ac_objext
13534 if { (ac_try="$ac_compile"
13535 case "(($ac_try" in
13536 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
13537 *) ac_try_echo=$ac_try;;
13539 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
13540 $as_echo "$ac_try_echo") >&5
13541 (eval "$ac_compile") 2>conftest.er1
13543 grep -v '^ *+' conftest.er1 >conftest.err
13545 cat conftest.err >&5
13546 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
13547 (exit $ac_status); } && {
13548 test -z "$ac_c_werror_flag" ||
13549 test ! -s conftest.err
13550 } && test -s conftest.$ac_objext; then
13551 ac_hi=$ac_mid; break
13553 $as_echo "$as_me: failed program was:" >&5
13554 sed 's/^/| /' conftest.$ac_ext >&5
13556 ac_lo=`expr $ac_mid + 1`
13557 if test $ac_lo -le $ac_mid; then
13561 ac_mid=`expr 2 '*' $ac_mid + 1`
13564 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
13567 $as_echo "$as_me: failed program was:" >&5
13568 sed 's/^/| /' conftest.$ac_ext >&5
13570 cat >conftest.$ac_ext <<_ACEOF
13573 cat confdefs.h >>conftest.$ac_ext
13574 cat >>conftest.$ac_ext <<_ACEOF
13575 /* end confdefs.h. */
13576 $ac_includes_default
13580 static int test_array [1 - 2 * !(((long int) (sizeof (int))) < 0)];
13587 rm -f conftest.$ac_objext
13588 if { (ac_try="$ac_compile"
13589 case "(($ac_try" in
13590 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
13591 *) ac_try_echo=$ac_try;;
13593 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
13594 $as_echo "$ac_try_echo") >&5
13595 (eval "$ac_compile") 2>conftest.er1
13597 grep -v '^ *+' conftest.er1 >conftest.err
13599 cat conftest.err >&5
13600 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
13601 (exit $ac_status); } && {
13602 test -z "$ac_c_werror_flag" ||
13603 test ! -s conftest.err
13604 } && test -s conftest.$ac_objext; then
13607 cat >conftest.$ac_ext <<_ACEOF
13610 cat confdefs.h >>conftest.$ac_ext
13611 cat >>conftest.$ac_ext <<_ACEOF
13612 /* end confdefs.h. */
13613 $ac_includes_default
13617 static int test_array [1 - 2 * !(((long int) (sizeof (int))) >= $ac_mid)];
13624 rm -f conftest.$ac_objext
13625 if { (ac_try="$ac_compile"
13626 case "(($ac_try" in
13627 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
13628 *) ac_try_echo=$ac_try;;
13630 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
13631 $as_echo "$ac_try_echo") >&5
13632 (eval "$ac_compile") 2>conftest.er1
13634 grep -v '^ *+' conftest.er1 >conftest.err
13636 cat conftest.err >&5
13637 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
13638 (exit $ac_status); } && {
13639 test -z "$ac_c_werror_flag" ||
13640 test ! -s conftest.err
13641 } && test -s conftest.$ac_objext; then
13642 ac_lo=$ac_mid; break
13644 $as_echo "$as_me: failed program was:" >&5
13645 sed 's/^/| /' conftest.$ac_ext >&5
13647 ac_hi=`expr '(' $ac_mid ')' - 1`
13648 if test $ac_mid -le $ac_hi; then
13652 ac_mid=`expr 2 '*' $ac_mid`
13655 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
13658 $as_echo "$as_me: failed program was:" >&5
13659 sed 's/^/| /' conftest.$ac_ext >&5
13664 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
13667 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
13668 # Binary search between lo and hi bounds.
13669 while test "x$ac_lo" != "x$ac_hi"; do
13670 ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
13671 cat >conftest.$ac_ext <<_ACEOF
13674 cat confdefs.h >>conftest.$ac_ext
13675 cat >>conftest.$ac_ext <<_ACEOF
13676 /* end confdefs.h. */
13677 $ac_includes_default
13681 static int test_array [1 - 2 * !(((long int) (sizeof (int))) <= $ac_mid)];
13688 rm -f conftest.$ac_objext
13689 if { (ac_try="$ac_compile"
13690 case "(($ac_try" in
13691 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
13692 *) ac_try_echo=$ac_try;;
13694 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
13695 $as_echo "$ac_try_echo") >&5
13696 (eval "$ac_compile") 2>conftest.er1
13698 grep -v '^ *+' conftest.er1 >conftest.err
13700 cat conftest.err >&5
13701 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
13702 (exit $ac_status); } && {
13703 test -z "$ac_c_werror_flag" ||
13704 test ! -s conftest.err
13705 } && test -s conftest.$ac_objext; then
13708 $as_echo "$as_me: failed program was:" >&5
13709 sed 's/^/| /' conftest.$ac_ext >&5
13711 ac_lo=`expr '(' $ac_mid ')' + 1`
13714 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
13717 ?*) ac_cv_sizeof_int=$ac_lo;;
13718 '') if test "$ac_cv_type_int" = yes; then
13719 { { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
13720 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
13721 { { $as_echo "$as_me:$LINENO: error: cannot compute sizeof (int)
13722 See \`config.log' for more details." >&5
13723 $as_echo "$as_me: error: cannot compute sizeof (int)
13724 See \`config.log' for more details." >&2;}
13725 { (exit 77); exit 77; }; }; }
13731 cat >conftest.$ac_ext <<_ACEOF
13734 cat confdefs.h >>conftest.$ac_ext
13735 cat >>conftest.$ac_ext <<_ACEOF
13736 /* end confdefs.h. */
13737 $ac_includes_default
13738 static long int longval () { return (long int) (sizeof (int)); }
13739 static unsigned long int ulongval () { return (long int) (sizeof (int)); }
13741 #include <stdlib.h>
13746 FILE *f = fopen ("conftest.val", "w");
13749 if (((long int) (sizeof (int))) < 0)
13751 long int i = longval ();
13752 if (i != ((long int) (sizeof (int))))
13754 fprintf (f, "%ld", i);
13758 unsigned long int i = ulongval ();
13759 if (i != ((long int) (sizeof (int))))
13761 fprintf (f, "%lu", i);
13763 /* Do not output a trailing newline, as this causes \r\n confusion
13764 on some platforms. */
13765 return ferror (f) || fclose (f) != 0;
13771 rm -f conftest$ac_exeext
13772 if { (ac_try="$ac_link"
13773 case "(($ac_try" in
13774 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
13775 *) ac_try_echo=$ac_try;;
13777 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
13778 $as_echo "$ac_try_echo") >&5
13779 (eval "$ac_link") 2>&5
13781 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
13782 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
13783 { (case "(($ac_try" in
13784 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
13785 *) ac_try_echo=$ac_try;;
13787 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
13788 $as_echo "$ac_try_echo") >&5
13789 (eval "$ac_try") 2>&5
13791 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
13792 (exit $ac_status); }; }; then
13793 ac_cv_sizeof_int=`cat conftest.val`
13795 $as_echo "$as_me: program exited with status $ac_status" >&5
13796 $as_echo "$as_me: failed program was:" >&5
13797 sed 's/^/| /' conftest.$ac_ext >&5
13799 ( exit $ac_status )
13800 if test "$ac_cv_type_int" = yes; then
13801 { { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
13802 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
13803 { { $as_echo "$as_me:$LINENO: error: cannot compute sizeof (int)
13804 See \`config.log' for more details." >&5
13805 $as_echo "$as_me: error: cannot compute sizeof (int)
13806 See \`config.log' for more details." >&2;}
13807 { (exit 77); exit 77; }; }; }
13812 rm -rf conftest.dSYM
13813 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
13817 { $as_echo "$as_me:$LINENO: result: $ac_cv_sizeof_int" >&5
13818 $as_echo "$ac_cv_sizeof_int" >&6; }
13822 cat >>confdefs.h <<_ACEOF
13823 #define SIZEOF_INT $ac_cv_sizeof_int
13827 # The cast to long int works around a bug in the HP C Compiler
13828 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
13829 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
13830 # This bug is HP SR number 8606223364.
13831 { $as_echo "$as_me:$LINENO: checking size of long" >&5
13832 $as_echo_n "checking size of long... " >&6; }
13833 if test "${ac_cv_sizeof_long+set}" = set; then
13834 $as_echo_n "(cached) " >&6
13836 if test "$cross_compiling" = yes; then
13837 # Depending upon the size, compute the lo and hi bounds.
13838 cat >conftest.$ac_ext <<_ACEOF
13841 cat confdefs.h >>conftest.$ac_ext
13842 cat >>conftest.$ac_ext <<_ACEOF
13843 /* end confdefs.h. */
13844 $ac_includes_default
13848 static int test_array [1 - 2 * !(((long int) (sizeof (long))) >= 0)];
13855 rm -f conftest.$ac_objext
13856 if { (ac_try="$ac_compile"
13857 case "(($ac_try" in
13858 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
13859 *) ac_try_echo=$ac_try;;
13861 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
13862 $as_echo "$ac_try_echo") >&5
13863 (eval "$ac_compile") 2>conftest.er1
13865 grep -v '^ *+' conftest.er1 >conftest.err
13867 cat conftest.err >&5
13868 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
13869 (exit $ac_status); } && {
13870 test -z "$ac_c_werror_flag" ||
13871 test ! -s conftest.err
13872 } && test -s conftest.$ac_objext; then
13875 cat >conftest.$ac_ext <<_ACEOF
13878 cat confdefs.h >>conftest.$ac_ext
13879 cat >>conftest.$ac_ext <<_ACEOF
13880 /* end confdefs.h. */
13881 $ac_includes_default
13885 static int test_array [1 - 2 * !(((long int) (sizeof (long))) <= $ac_mid)];
13892 rm -f conftest.$ac_objext
13893 if { (ac_try="$ac_compile"
13894 case "(($ac_try" in
13895 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
13896 *) ac_try_echo=$ac_try;;
13898 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
13899 $as_echo "$ac_try_echo") >&5
13900 (eval "$ac_compile") 2>conftest.er1
13902 grep -v '^ *+' conftest.er1 >conftest.err
13904 cat conftest.err >&5
13905 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
13906 (exit $ac_status); } && {
13907 test -z "$ac_c_werror_flag" ||
13908 test ! -s conftest.err
13909 } && test -s conftest.$ac_objext; then
13910 ac_hi=$ac_mid; break
13912 $as_echo "$as_me: failed program was:" >&5
13913 sed 's/^/| /' conftest.$ac_ext >&5
13915 ac_lo=`expr $ac_mid + 1`
13916 if test $ac_lo -le $ac_mid; then
13920 ac_mid=`expr 2 '*' $ac_mid + 1`
13923 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
13926 $as_echo "$as_me: failed program was:" >&5
13927 sed 's/^/| /' conftest.$ac_ext >&5
13929 cat >conftest.$ac_ext <<_ACEOF
13932 cat confdefs.h >>conftest.$ac_ext
13933 cat >>conftest.$ac_ext <<_ACEOF
13934 /* end confdefs.h. */
13935 $ac_includes_default
13939 static int test_array [1 - 2 * !(((long int) (sizeof (long))) < 0)];
13946 rm -f conftest.$ac_objext
13947 if { (ac_try="$ac_compile"
13948 case "(($ac_try" in
13949 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
13950 *) ac_try_echo=$ac_try;;
13952 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
13953 $as_echo "$ac_try_echo") >&5
13954 (eval "$ac_compile") 2>conftest.er1
13956 grep -v '^ *+' conftest.er1 >conftest.err
13958 cat conftest.err >&5
13959 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
13960 (exit $ac_status); } && {
13961 test -z "$ac_c_werror_flag" ||
13962 test ! -s conftest.err
13963 } && test -s conftest.$ac_objext; then
13966 cat >conftest.$ac_ext <<_ACEOF
13969 cat confdefs.h >>conftest.$ac_ext
13970 cat >>conftest.$ac_ext <<_ACEOF
13971 /* end confdefs.h. */
13972 $ac_includes_default
13976 static int test_array [1 - 2 * !(((long int) (sizeof (long))) >= $ac_mid)];
13983 rm -f conftest.$ac_objext
13984 if { (ac_try="$ac_compile"
13985 case "(($ac_try" in
13986 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
13987 *) ac_try_echo=$ac_try;;
13989 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
13990 $as_echo "$ac_try_echo") >&5
13991 (eval "$ac_compile") 2>conftest.er1
13993 grep -v '^ *+' conftest.er1 >conftest.err
13995 cat conftest.err >&5
13996 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
13997 (exit $ac_status); } && {
13998 test -z "$ac_c_werror_flag" ||
13999 test ! -s conftest.err
14000 } && test -s conftest.$ac_objext; then
14001 ac_lo=$ac_mid; break
14003 $as_echo "$as_me: failed program was:" >&5
14004 sed 's/^/| /' conftest.$ac_ext >&5
14006 ac_hi=`expr '(' $ac_mid ')' - 1`
14007 if test $ac_mid -le $ac_hi; then
14011 ac_mid=`expr 2 '*' $ac_mid`
14014 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
14017 $as_echo "$as_me: failed program was:" >&5
14018 sed 's/^/| /' conftest.$ac_ext >&5
14023 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
14026 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
14027 # Binary search between lo and hi bounds.
14028 while test "x$ac_lo" != "x$ac_hi"; do
14029 ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
14030 cat >conftest.$ac_ext <<_ACEOF
14033 cat confdefs.h >>conftest.$ac_ext
14034 cat >>conftest.$ac_ext <<_ACEOF
14035 /* end confdefs.h. */
14036 $ac_includes_default
14040 static int test_array [1 - 2 * !(((long int) (sizeof (long))) <= $ac_mid)];
14047 rm -f conftest.$ac_objext
14048 if { (ac_try="$ac_compile"
14049 case "(($ac_try" in
14050 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14051 *) ac_try_echo=$ac_try;;
14053 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
14054 $as_echo "$ac_try_echo") >&5
14055 (eval "$ac_compile") 2>conftest.er1
14057 grep -v '^ *+' conftest.er1 >conftest.err
14059 cat conftest.err >&5
14060 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
14061 (exit $ac_status); } && {
14062 test -z "$ac_c_werror_flag" ||
14063 test ! -s conftest.err
14064 } && test -s conftest.$ac_objext; then
14067 $as_echo "$as_me: failed program was:" >&5
14068 sed 's/^/| /' conftest.$ac_ext >&5
14070 ac_lo=`expr '(' $ac_mid ')' + 1`
14073 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
14076 ?*) ac_cv_sizeof_long=$ac_lo;;
14077 '') if test "$ac_cv_type_long" = yes; then
14078 { { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
14079 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
14080 { { $as_echo "$as_me:$LINENO: error: cannot compute sizeof (long)
14081 See \`config.log' for more details." >&5
14082 $as_echo "$as_me: error: cannot compute sizeof (long)
14083 See \`config.log' for more details." >&2;}
14084 { (exit 77); exit 77; }; }; }
14086 ac_cv_sizeof_long=0
14090 cat >conftest.$ac_ext <<_ACEOF
14093 cat confdefs.h >>conftest.$ac_ext
14094 cat >>conftest.$ac_ext <<_ACEOF
14095 /* end confdefs.h. */
14096 $ac_includes_default
14097 static long int longval () { return (long int) (sizeof (long)); }
14098 static unsigned long int ulongval () { return (long int) (sizeof (long)); }
14100 #include <stdlib.h>
14105 FILE *f = fopen ("conftest.val", "w");
14108 if (((long int) (sizeof (long))) < 0)
14110 long int i = longval ();
14111 if (i != ((long int) (sizeof (long))))
14113 fprintf (f, "%ld", i);
14117 unsigned long int i = ulongval ();
14118 if (i != ((long int) (sizeof (long))))
14120 fprintf (f, "%lu", i);
14122 /* Do not output a trailing newline, as this causes \r\n confusion
14123 on some platforms. */
14124 return ferror (f) || fclose (f) != 0;
14130 rm -f conftest$ac_exeext
14131 if { (ac_try="$ac_link"
14132 case "(($ac_try" in
14133 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14134 *) ac_try_echo=$ac_try;;
14136 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
14137 $as_echo "$ac_try_echo") >&5
14138 (eval "$ac_link") 2>&5
14140 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
14141 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
14142 { (case "(($ac_try" in
14143 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14144 *) ac_try_echo=$ac_try;;
14146 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
14147 $as_echo "$ac_try_echo") >&5
14148 (eval "$ac_try") 2>&5
14150 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
14151 (exit $ac_status); }; }; then
14152 ac_cv_sizeof_long=`cat conftest.val`
14154 $as_echo "$as_me: program exited with status $ac_status" >&5
14155 $as_echo "$as_me: failed program was:" >&5
14156 sed 's/^/| /' conftest.$ac_ext >&5
14158 ( exit $ac_status )
14159 if test "$ac_cv_type_long" = yes; then
14160 { { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
14161 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
14162 { { $as_echo "$as_me:$LINENO: error: cannot compute sizeof (long)
14163 See \`config.log' for more details." >&5
14164 $as_echo "$as_me: error: cannot compute sizeof (long)
14165 See \`config.log' for more details." >&2;}
14166 { (exit 77); exit 77; }; }; }
14168 ac_cv_sizeof_long=0
14171 rm -rf conftest.dSYM
14172 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
14176 { $as_echo "$as_me:$LINENO: result: $ac_cv_sizeof_long" >&5
14177 $as_echo "$ac_cv_sizeof_long" >&6; }
14181 cat >>confdefs.h <<_ACEOF
14182 #define SIZEOF_LONG $ac_cv_sizeof_long
14186 # The cast to long int works around a bug in the HP C Compiler
14187 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
14188 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
14189 # This bug is HP SR number 8606223364.
14190 { $as_echo "$as_me:$LINENO: checking size of wchar_t" >&5
14191 $as_echo_n "checking size of wchar_t... " >&6; }
14192 if test "${ac_cv_sizeof_wchar_t+set}" = set; then
14193 $as_echo_n "(cached) " >&6
14195 if test "$cross_compiling" = yes; then
14196 # Depending upon the size, compute the lo and hi bounds.
14197 cat >conftest.$ac_ext <<_ACEOF
14200 cat confdefs.h >>conftest.$ac_ext
14201 cat >>conftest.$ac_ext <<_ACEOF
14202 /* end confdefs.h. */
14203 $ac_includes_default
14207 static int test_array [1 - 2 * !(((long int) (sizeof (wchar_t))) >= 0)];
14214 rm -f conftest.$ac_objext
14215 if { (ac_try="$ac_compile"
14216 case "(($ac_try" in
14217 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14218 *) ac_try_echo=$ac_try;;
14220 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
14221 $as_echo "$ac_try_echo") >&5
14222 (eval "$ac_compile") 2>conftest.er1
14224 grep -v '^ *+' conftest.er1 >conftest.err
14226 cat conftest.err >&5
14227 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
14228 (exit $ac_status); } && {
14229 test -z "$ac_c_werror_flag" ||
14230 test ! -s conftest.err
14231 } && test -s conftest.$ac_objext; then
14234 cat >conftest.$ac_ext <<_ACEOF
14237 cat confdefs.h >>conftest.$ac_ext
14238 cat >>conftest.$ac_ext <<_ACEOF
14239 /* end confdefs.h. */
14240 $ac_includes_default
14244 static int test_array [1 - 2 * !(((long int) (sizeof (wchar_t))) <= $ac_mid)];
14251 rm -f conftest.$ac_objext
14252 if { (ac_try="$ac_compile"
14253 case "(($ac_try" in
14254 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14255 *) ac_try_echo=$ac_try;;
14257 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
14258 $as_echo "$ac_try_echo") >&5
14259 (eval "$ac_compile") 2>conftest.er1
14261 grep -v '^ *+' conftest.er1 >conftest.err
14263 cat conftest.err >&5
14264 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
14265 (exit $ac_status); } && {
14266 test -z "$ac_c_werror_flag" ||
14267 test ! -s conftest.err
14268 } && test -s conftest.$ac_objext; then
14269 ac_hi=$ac_mid; break
14271 $as_echo "$as_me: failed program was:" >&5
14272 sed 's/^/| /' conftest.$ac_ext >&5
14274 ac_lo=`expr $ac_mid + 1`
14275 if test $ac_lo -le $ac_mid; then
14279 ac_mid=`expr 2 '*' $ac_mid + 1`
14282 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
14285 $as_echo "$as_me: failed program was:" >&5
14286 sed 's/^/| /' conftest.$ac_ext >&5
14288 cat >conftest.$ac_ext <<_ACEOF
14291 cat confdefs.h >>conftest.$ac_ext
14292 cat >>conftest.$ac_ext <<_ACEOF
14293 /* end confdefs.h. */
14294 $ac_includes_default
14298 static int test_array [1 - 2 * !(((long int) (sizeof (wchar_t))) < 0)];
14305 rm -f conftest.$ac_objext
14306 if { (ac_try="$ac_compile"
14307 case "(($ac_try" in
14308 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14309 *) ac_try_echo=$ac_try;;
14311 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
14312 $as_echo "$ac_try_echo") >&5
14313 (eval "$ac_compile") 2>conftest.er1
14315 grep -v '^ *+' conftest.er1 >conftest.err
14317 cat conftest.err >&5
14318 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
14319 (exit $ac_status); } && {
14320 test -z "$ac_c_werror_flag" ||
14321 test ! -s conftest.err
14322 } && test -s conftest.$ac_objext; then
14325 cat >conftest.$ac_ext <<_ACEOF
14328 cat confdefs.h >>conftest.$ac_ext
14329 cat >>conftest.$ac_ext <<_ACEOF
14330 /* end confdefs.h. */
14331 $ac_includes_default
14335 static int test_array [1 - 2 * !(((long int) (sizeof (wchar_t))) >= $ac_mid)];
14342 rm -f conftest.$ac_objext
14343 if { (ac_try="$ac_compile"
14344 case "(($ac_try" in
14345 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14346 *) ac_try_echo=$ac_try;;
14348 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
14349 $as_echo "$ac_try_echo") >&5
14350 (eval "$ac_compile") 2>conftest.er1
14352 grep -v '^ *+' conftest.er1 >conftest.err
14354 cat conftest.err >&5
14355 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
14356 (exit $ac_status); } && {
14357 test -z "$ac_c_werror_flag" ||
14358 test ! -s conftest.err
14359 } && test -s conftest.$ac_objext; then
14360 ac_lo=$ac_mid; break
14362 $as_echo "$as_me: failed program was:" >&5
14363 sed 's/^/| /' conftest.$ac_ext >&5
14365 ac_hi=`expr '(' $ac_mid ')' - 1`
14366 if test $ac_mid -le $ac_hi; then
14370 ac_mid=`expr 2 '*' $ac_mid`
14373 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
14376 $as_echo "$as_me: failed program was:" >&5
14377 sed 's/^/| /' conftest.$ac_ext >&5
14382 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
14385 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
14386 # Binary search between lo and hi bounds.
14387 while test "x$ac_lo" != "x$ac_hi"; do
14388 ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
14389 cat >conftest.$ac_ext <<_ACEOF
14392 cat confdefs.h >>conftest.$ac_ext
14393 cat >>conftest.$ac_ext <<_ACEOF
14394 /* end confdefs.h. */
14395 $ac_includes_default
14399 static int test_array [1 - 2 * !(((long int) (sizeof (wchar_t))) <= $ac_mid)];
14406 rm -f conftest.$ac_objext
14407 if { (ac_try="$ac_compile"
14408 case "(($ac_try" in
14409 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14410 *) ac_try_echo=$ac_try;;
14412 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
14413 $as_echo "$ac_try_echo") >&5
14414 (eval "$ac_compile") 2>conftest.er1
14416 grep -v '^ *+' conftest.er1 >conftest.err
14418 cat conftest.err >&5
14419 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
14420 (exit $ac_status); } && {
14421 test -z "$ac_c_werror_flag" ||
14422 test ! -s conftest.err
14423 } && test -s conftest.$ac_objext; then
14426 $as_echo "$as_me: failed program was:" >&5
14427 sed 's/^/| /' conftest.$ac_ext >&5
14429 ac_lo=`expr '(' $ac_mid ')' + 1`
14432 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
14435 ?*) ac_cv_sizeof_wchar_t=$ac_lo;;
14436 '') if test "$ac_cv_type_wchar_t" = yes; then
14437 { { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
14438 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
14439 { { $as_echo "$as_me:$LINENO: error: cannot compute sizeof (wchar_t)
14440 See \`config.log' for more details." >&5
14441 $as_echo "$as_me: error: cannot compute sizeof (wchar_t)
14442 See \`config.log' for more details." >&2;}
14443 { (exit 77); exit 77; }; }; }
14445 ac_cv_sizeof_wchar_t=0
14449 cat >conftest.$ac_ext <<_ACEOF
14452 cat confdefs.h >>conftest.$ac_ext
14453 cat >>conftest.$ac_ext <<_ACEOF
14454 /* end confdefs.h. */
14455 $ac_includes_default
14456 static long int longval () { return (long int) (sizeof (wchar_t)); }
14457 static unsigned long int ulongval () { return (long int) (sizeof (wchar_t)); }
14459 #include <stdlib.h>
14464 FILE *f = fopen ("conftest.val", "w");
14467 if (((long int) (sizeof (wchar_t))) < 0)
14469 long int i = longval ();
14470 if (i != ((long int) (sizeof (wchar_t))))
14472 fprintf (f, "%ld", i);
14476 unsigned long int i = ulongval ();
14477 if (i != ((long int) (sizeof (wchar_t))))
14479 fprintf (f, "%lu", i);
14481 /* Do not output a trailing newline, as this causes \r\n confusion
14482 on some platforms. */
14483 return ferror (f) || fclose (f) != 0;
14489 rm -f conftest$ac_exeext
14490 if { (ac_try="$ac_link"
14491 case "(($ac_try" in
14492 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14493 *) ac_try_echo=$ac_try;;
14495 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
14496 $as_echo "$ac_try_echo") >&5
14497 (eval "$ac_link") 2>&5
14499 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
14500 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
14501 { (case "(($ac_try" in
14502 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14503 *) ac_try_echo=$ac_try;;
14505 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
14506 $as_echo "$ac_try_echo") >&5
14507 (eval "$ac_try") 2>&5
14509 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
14510 (exit $ac_status); }; }; then
14511 ac_cv_sizeof_wchar_t=`cat conftest.val`
14513 $as_echo "$as_me: program exited with status $ac_status" >&5
14514 $as_echo "$as_me: failed program was:" >&5
14515 sed 's/^/| /' conftest.$ac_ext >&5
14517 ( exit $ac_status )
14518 if test "$ac_cv_type_wchar_t" = yes; then
14519 { { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
14520 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
14521 { { $as_echo "$as_me:$LINENO: error: cannot compute sizeof (wchar_t)
14522 See \`config.log' for more details." >&5
14523 $as_echo "$as_me: error: cannot compute sizeof (wchar_t)
14524 See \`config.log' for more details." >&2;}
14525 { (exit 77); exit 77; }; }; }
14527 ac_cv_sizeof_wchar_t=0
14530 rm -rf conftest.dSYM
14531 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
14535 { $as_echo "$as_me:$LINENO: result: $ac_cv_sizeof_wchar_t" >&5
14536 $as_echo "$ac_cv_sizeof_wchar_t" >&6; }
14540 cat >>confdefs.h <<_ACEOF
14541 #define SIZEOF_WCHAR_T $ac_cv_sizeof_wchar_t
14547 for ac_func in snprintf
14549 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
14550 { $as_echo "$as_me:$LINENO: checking for $ac_func" >&5
14551 $as_echo_n "checking for $ac_func... " >&6; }
14552 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
14553 $as_echo_n "(cached) " >&6
14555 cat >conftest.$ac_ext <<_ACEOF
14558 cat confdefs.h >>conftest.$ac_ext
14559 cat >>conftest.$ac_ext <<_ACEOF
14560 /* end confdefs.h. */
14561 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
14562 For example, HP-UX 11i <limits.h> declares gettimeofday. */
14563 #define $ac_func innocuous_$ac_func
14565 /* System header to define __stub macros and hopefully few prototypes,
14566 which can conflict with char $ac_func (); below.
14567 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
14568 <limits.h> exists even on freestanding compilers. */
14571 # include <limits.h>
14573 # include <assert.h>
14578 /* Override any GCC internal prototype to avoid an error.
14579 Use char because int might match the return type of a GCC
14580 builtin and then its argument prototype would still apply. */
14585 /* The GNU C library defines this for functions which it implements
14586 to always fail with ENOSYS. Some functions are actually named
14587 something starting with __ and the normal name is an alias. */
14588 #if defined __stub_$ac_func || defined __stub___$ac_func
14595 return $ac_func ();
14600 rm -f conftest.$ac_objext conftest$ac_exeext
14601 if { (ac_try="$ac_link"
14602 case "(($ac_try" in
14603 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14604 *) ac_try_echo=$ac_try;;
14606 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
14607 $as_echo "$ac_try_echo") >&5
14608 (eval "$ac_link") 2>conftest.er1
14610 grep -v '^ *+' conftest.er1 >conftest.err
14612 cat conftest.err >&5
14613 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
14614 (exit $ac_status); } && {
14615 test -z "$ac_c_werror_flag" ||
14616 test ! -s conftest.err
14617 } && test -s conftest$ac_exeext && {
14618 test "$cross_compiling" = yes ||
14619 $as_test_x conftest$ac_exeext
14621 eval "$as_ac_var=yes"
14623 $as_echo "$as_me: failed program was:" >&5
14624 sed 's/^/| /' conftest.$ac_ext >&5
14626 eval "$as_ac_var=no"
14629 rm -rf conftest.dSYM
14630 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
14631 conftest$ac_exeext conftest.$ac_ext
14633 ac_res=`eval 'as_val=${'$as_ac_var'}
14634 $as_echo "$as_val"'`
14635 { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
14636 $as_echo "$ac_res" >&6; }
14637 as_val=`eval 'as_val=${'$as_ac_var'}
14638 $as_echo "$as_val"'`
14639 if test "x$as_val" = x""yes; then
14640 cat >>confdefs.h <<_ACEOF
14641 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
14647 if test "x$ac_cv_func_snprintf" != "xyes"; then
14648 USE_ESNPRINTF_TRUE=
14649 USE_ESNPRINTF_FALSE='#'
14651 USE_ESNPRINTF_TRUE='#'
14652 USE_ESNPRINTF_FALSE=
14657 for ac_func in strcasecmp strcasestr
14659 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
14660 { $as_echo "$as_me:$LINENO: checking for $ac_func" >&5
14661 $as_echo_n "checking for $ac_func... " >&6; }
14662 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
14663 $as_echo_n "(cached) " >&6
14665 cat >conftest.$ac_ext <<_ACEOF
14668 cat confdefs.h >>conftest.$ac_ext
14669 cat >>conftest.$ac_ext <<_ACEOF
14670 /* end confdefs.h. */
14671 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
14672 For example, HP-UX 11i <limits.h> declares gettimeofday. */
14673 #define $ac_func innocuous_$ac_func
14675 /* System header to define __stub macros and hopefully few prototypes,
14676 which can conflict with char $ac_func (); below.
14677 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
14678 <limits.h> exists even on freestanding compilers. */
14681 # include <limits.h>
14683 # include <assert.h>
14688 /* Override any GCC internal prototype to avoid an error.
14689 Use char because int might match the return type of a GCC
14690 builtin and then its argument prototype would still apply. */
14695 /* The GNU C library defines this for functions which it implements
14696 to always fail with ENOSYS. Some functions are actually named
14697 something starting with __ and the normal name is an alias. */
14698 #if defined __stub_$ac_func || defined __stub___$ac_func
14705 return $ac_func ();
14710 rm -f conftest.$ac_objext conftest$ac_exeext
14711 if { (ac_try="$ac_link"
14712 case "(($ac_try" in
14713 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14714 *) ac_try_echo=$ac_try;;
14716 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
14717 $as_echo "$ac_try_echo") >&5
14718 (eval "$ac_link") 2>conftest.er1
14720 grep -v '^ *+' conftest.er1 >conftest.err
14722 cat conftest.err >&5
14723 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
14724 (exit $ac_status); } && {
14725 test -z "$ac_c_werror_flag" ||
14726 test ! -s conftest.err
14727 } && test -s conftest$ac_exeext && {
14728 test "$cross_compiling" = yes ||
14729 $as_test_x conftest$ac_exeext
14731 eval "$as_ac_var=yes"
14733 $as_echo "$as_me: failed program was:" >&5
14734 sed 's/^/| /' conftest.$ac_ext >&5
14736 eval "$as_ac_var=no"
14739 rm -rf conftest.dSYM
14740 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
14741 conftest$ac_exeext conftest.$ac_ext
14743 ac_res=`eval 'as_val=${'$as_ac_var'}
14744 $as_echo "$as_val"'`
14745 { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
14746 $as_echo "$ac_res" >&6; }
14747 as_val=`eval 'as_val=${'$as_ac_var'}
14748 $as_echo "$as_val"'`
14749 if test "x$as_val" = x""yes; then
14750 cat >>confdefs.h <<_ACEOF
14751 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
14759 for ac_func in setenv unsetenv
14761 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
14762 { $as_echo "$as_me:$LINENO: checking for $ac_func" >&5
14763 $as_echo_n "checking for $ac_func... " >&6; }
14764 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
14765 $as_echo_n "(cached) " >&6
14767 cat >conftest.$ac_ext <<_ACEOF
14770 cat confdefs.h >>conftest.$ac_ext
14771 cat >>conftest.$ac_ext <<_ACEOF
14772 /* end confdefs.h. */
14773 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
14774 For example, HP-UX 11i <limits.h> declares gettimeofday. */
14775 #define $ac_func innocuous_$ac_func
14777 /* System header to define __stub macros and hopefully few prototypes,
14778 which can conflict with char $ac_func (); below.
14779 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
14780 <limits.h> exists even on freestanding compilers. */
14783 # include <limits.h>
14785 # include <assert.h>
14790 /* Override any GCC internal prototype to avoid an error.
14791 Use char because int might match the return type of a GCC
14792 builtin and then its argument prototype would still apply. */
14797 /* The GNU C library defines this for functions which it implements
14798 to always fail with ENOSYS. Some functions are actually named
14799 something starting with __ and the normal name is an alias. */
14800 #if defined __stub_$ac_func || defined __stub___$ac_func
14807 return $ac_func ();
14812 rm -f conftest.$ac_objext conftest$ac_exeext
14813 if { (ac_try="$ac_link"
14814 case "(($ac_try" in
14815 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14816 *) ac_try_echo=$ac_try;;
14818 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
14819 $as_echo "$ac_try_echo") >&5
14820 (eval "$ac_link") 2>conftest.er1
14822 grep -v '^ *+' conftest.er1 >conftest.err
14824 cat conftest.err >&5
14825 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
14826 (exit $ac_status); } && {
14827 test -z "$ac_c_werror_flag" ||
14828 test ! -s conftest.err
14829 } && test -s conftest$ac_exeext && {
14830 test "$cross_compiling" = yes ||
14831 $as_test_x conftest$ac_exeext
14833 eval "$as_ac_var=yes"
14835 $as_echo "$as_me: failed program was:" >&5
14836 sed 's/^/| /' conftest.$ac_ext >&5
14838 eval "$as_ac_var=no"
14841 rm -rf conftest.dSYM
14842 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
14843 conftest$ac_exeext conftest.$ac_ext
14845 ac_res=`eval 'as_val=${'$as_ac_var'}
14846 $as_echo "$as_val"'`
14847 { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
14848 $as_echo "$ac_res" >&6; }
14849 as_val=`eval 'as_val=${'$as_ac_var'}
14850 $as_echo "$as_val"'`
14851 if test "x$as_val" = x""yes; then
14852 cat >>confdefs.h <<_ACEOF
14853 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
14861 for ac_func in strdup strndup
14863 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
14864 { $as_echo "$as_me:$LINENO: checking for $ac_func" >&5
14865 $as_echo_n "checking for $ac_func... " >&6; }
14866 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
14867 $as_echo_n "(cached) " >&6
14869 cat >conftest.$ac_ext <<_ACEOF
14872 cat confdefs.h >>conftest.$ac_ext
14873 cat >>conftest.$ac_ext <<_ACEOF
14874 /* end confdefs.h. */
14875 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
14876 For example, HP-UX 11i <limits.h> declares gettimeofday. */
14877 #define $ac_func innocuous_$ac_func
14879 /* System header to define __stub macros and hopefully few prototypes,
14880 which can conflict with char $ac_func (); below.
14881 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
14882 <limits.h> exists even on freestanding compilers. */
14885 # include <limits.h>
14887 # include <assert.h>
14892 /* Override any GCC internal prototype to avoid an error.
14893 Use char because int might match the return type of a GCC
14894 builtin and then its argument prototype would still apply. */
14899 /* The GNU C library defines this for functions which it implements
14900 to always fail with ENOSYS. Some functions are actually named
14901 something starting with __ and the normal name is an alias. */
14902 #if defined __stub_$ac_func || defined __stub___$ac_func
14909 return $ac_func ();
14914 rm -f conftest.$ac_objext conftest$ac_exeext
14915 if { (ac_try="$ac_link"
14916 case "(($ac_try" in
14917 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14918 *) ac_try_echo=$ac_try;;
14920 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
14921 $as_echo "$ac_try_echo") >&5
14922 (eval "$ac_link") 2>conftest.er1
14924 grep -v '^ *+' conftest.er1 >conftest.err
14926 cat conftest.err >&5
14927 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
14928 (exit $ac_status); } && {
14929 test -z "$ac_c_werror_flag" ||
14930 test ! -s conftest.err
14931 } && test -s conftest$ac_exeext && {
14932 test "$cross_compiling" = yes ||
14933 $as_test_x conftest$ac_exeext
14935 eval "$as_ac_var=yes"
14937 $as_echo "$as_me: failed program was:" >&5
14938 sed 's/^/| /' conftest.$ac_ext >&5
14940 eval "$as_ac_var=no"
14943 rm -rf conftest.dSYM
14944 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
14945 conftest$ac_exeext conftest.$ac_ext
14947 ac_res=`eval 'as_val=${'$as_ac_var'}
14948 $as_echo "$as_val"'`
14949 { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
14950 $as_echo "$ac_res" >&6; }
14951 as_val=`eval 'as_val=${'$as_ac_var'}
14952 $as_echo "$as_val"'`
14953 if test "x$as_val" = x""yes; then
14954 cat >>confdefs.h <<_ACEOF
14955 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
14963 for ac_func in blumfrub
14965 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
14966 { $as_echo "$as_me:$LINENO: checking for $ac_func" >&5
14967 $as_echo_n "checking for $ac_func... " >&6; }
14968 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
14969 $as_echo_n "(cached) " >&6
14971 cat >conftest.$ac_ext <<_ACEOF
14974 cat confdefs.h >>conftest.$ac_ext
14975 cat >>conftest.$ac_ext <<_ACEOF
14976 /* end confdefs.h. */
14977 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
14978 For example, HP-UX 11i <limits.h> declares gettimeofday. */
14979 #define $ac_func innocuous_$ac_func
14981 /* System header to define __stub macros and hopefully few prototypes,
14982 which can conflict with char $ac_func (); below.
14983 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
14984 <limits.h> exists even on freestanding compilers. */
14987 # include <limits.h>
14989 # include <assert.h>
14994 /* Override any GCC internal prototype to avoid an error.
14995 Use char because int might match the return type of a GCC
14996 builtin and then its argument prototype would still apply. */
15001 /* The GNU C library defines this for functions which it implements
15002 to always fail with ENOSYS. Some functions are actually named
15003 something starting with __ and the normal name is an alias. */
15004 #if defined __stub_$ac_func || defined __stub___$ac_func
15011 return $ac_func ();
15016 rm -f conftest.$ac_objext conftest$ac_exeext
15017 if { (ac_try="$ac_link"
15018 case "(($ac_try" in
15019 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15020 *) ac_try_echo=$ac_try;;
15022 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
15023 $as_echo "$ac_try_echo") >&5
15024 (eval "$ac_link") 2>conftest.er1
15026 grep -v '^ *+' conftest.er1 >conftest.err
15028 cat conftest.err >&5
15029 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
15030 (exit $ac_status); } && {
15031 test -z "$ac_c_werror_flag" ||
15032 test ! -s conftest.err
15033 } && test -s conftest$ac_exeext && {
15034 test "$cross_compiling" = yes ||
15035 $as_test_x conftest$ac_exeext
15037 eval "$as_ac_var=yes"
15039 $as_echo "$as_me: failed program was:" >&5
15040 sed 's/^/| /' conftest.$ac_ext >&5
15042 eval "$as_ac_var=no"
15045 rm -rf conftest.dSYM
15046 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
15047 conftest$ac_exeext conftest.$ac_ext
15049 ac_res=`eval 'as_val=${'$as_ac_var'}
15050 $as_echo "$as_val"'`
15051 { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
15052 $as_echo "$ac_res" >&6; }
15053 as_val=`eval 'as_val=${'$as_ac_var'}
15054 $as_echo "$as_val"'`
15055 if test "x$as_val" = x""yes; then
15056 cat >>confdefs.h <<_ACEOF
15057 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
15064 for ac_func in buckets_of_erogenous_nym
15066 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
15067 { $as_echo "$as_me:$LINENO: checking for $ac_func" >&5
15068 $as_echo_n "checking for $ac_func... " >&6; }
15069 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
15070 $as_echo_n "(cached) " >&6
15072 cat >conftest.$ac_ext <<_ACEOF
15075 cat confdefs.h >>conftest.$ac_ext
15076 cat >>conftest.$ac_ext <<_ACEOF
15077 /* end confdefs.h. */
15078 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
15079 For example, HP-UX 11i <limits.h> declares gettimeofday. */
15080 #define $ac_func innocuous_$ac_func
15082 /* System header to define __stub macros and hopefully few prototypes,
15083 which can conflict with char $ac_func (); below.
15084 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
15085 <limits.h> exists even on freestanding compilers. */
15088 # include <limits.h>
15090 # include <assert.h>
15095 /* Override any GCC internal prototype to avoid an error.
15096 Use char because int might match the return type of a GCC
15097 builtin and then its argument prototype would still apply. */
15102 /* The GNU C library defines this for functions which it implements
15103 to always fail with ENOSYS. Some functions are actually named
15104 something starting with __ and the normal name is an alias. */
15105 #if defined __stub_$ac_func || defined __stub___$ac_func
15112 return $ac_func ();
15117 rm -f conftest.$ac_objext conftest$ac_exeext
15118 if { (ac_try="$ac_link"
15119 case "(($ac_try" in
15120 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15121 *) ac_try_echo=$ac_try;;
15123 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
15124 $as_echo "$ac_try_echo") >&5
15125 (eval "$ac_link") 2>conftest.er1
15127 grep -v '^ *+' conftest.er1 >conftest.err
15129 cat conftest.err >&5
15130 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
15131 (exit $ac_status); } && {
15132 test -z "$ac_c_werror_flag" ||
15133 test ! -s conftest.err
15134 } && test -s conftest$ac_exeext && {
15135 test "$cross_compiling" = yes ||
15136 $as_test_x conftest$ac_exeext
15138 eval "$as_ac_var=yes"
15140 $as_echo "$as_me: failed program was:" >&5
15141 sed 's/^/| /' conftest.$ac_ext >&5
15143 eval "$as_ac_var=no"
15146 rm -rf conftest.dSYM
15147 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
15148 conftest$ac_exeext conftest.$ac_ext
15150 ac_res=`eval 'as_val=${'$as_ac_var'}
15151 $as_echo "$as_val"'`
15152 { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
15153 $as_echo "$ac_res" >&6; }
15154 as_val=`eval 'as_val=${'$as_ac_var'}
15155 $as_echo "$as_val"'`
15156 if test "x$as_val" = x""yes; then
15157 cat >>confdefs.h <<_ACEOF
15158 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
15165 for ac_func in buttox
15167 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
15168 { $as_echo "$as_me:$LINENO: checking for $ac_func" >&5
15169 $as_echo_n "checking for $ac_func... " >&6; }
15170 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
15171 $as_echo_n "(cached) " >&6
15173 cat >conftest.$ac_ext <<_ACEOF
15176 cat confdefs.h >>conftest.$ac_ext
15177 cat >>conftest.$ac_ext <<_ACEOF
15178 /* end confdefs.h. */
15179 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
15180 For example, HP-UX 11i <limits.h> declares gettimeofday. */
15181 #define $ac_func innocuous_$ac_func
15183 /* System header to define __stub macros and hopefully few prototypes,
15184 which can conflict with char $ac_func (); below.
15185 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
15186 <limits.h> exists even on freestanding compilers. */
15189 # include <limits.h>
15191 # include <assert.h>
15196 /* Override any GCC internal prototype to avoid an error.
15197 Use char because int might match the return type of a GCC
15198 builtin and then its argument prototype would still apply. */
15203 /* The GNU C library defines this for functions which it implements
15204 to always fail with ENOSYS. Some functions are actually named
15205 something starting with __ and the normal name is an alias. */
15206 #if defined __stub_$ac_func || defined __stub___$ac_func
15213 return $ac_func ();
15218 rm -f conftest.$ac_objext conftest$ac_exeext
15219 if { (ac_try="$ac_link"
15220 case "(($ac_try" in
15221 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15222 *) ac_try_echo=$ac_try;;
15224 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
15225 $as_echo "$ac_try_echo") >&5
15226 (eval "$ac_link") 2>conftest.er1
15228 grep -v '^ *+' conftest.er1 >conftest.err
15230 cat conftest.err >&5
15231 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
15232 (exit $ac_status); } && {
15233 test -z "$ac_c_werror_flag" ||
15234 test ! -s conftest.err
15235 } && test -s conftest$ac_exeext && {
15236 test "$cross_compiling" = yes ||
15237 $as_test_x conftest$ac_exeext
15239 eval "$as_ac_var=yes"
15241 $as_echo "$as_me: failed program was:" >&5
15242 sed 's/^/| /' conftest.$ac_ext >&5
15244 eval "$as_ac_var=no"
15247 rm -rf conftest.dSYM
15248 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
15249 conftest$ac_exeext conftest.$ac_ext
15251 ac_res=`eval 'as_val=${'$as_ac_var'}
15252 $as_echo "$as_val"'`
15253 { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
15254 $as_echo "$ac_res" >&6; }
15255 as_val=`eval 'as_val=${'$as_ac_var'}
15256 $as_echo "$as_val"'`
15257 if test "x$as_val" = x""yes; then
15258 cat >>confdefs.h <<_ACEOF
15259 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
15267 if test "X$prefix" = "XNONE"; then
15268 acl_final_prefix="$ac_default_prefix"
15270 acl_final_prefix="$prefix"
15272 if test "X$exec_prefix" = "XNONE"; then
15273 acl_final_exec_prefix='${prefix}'
15275 acl_final_exec_prefix="$exec_prefix"
15277 acl_save_prefix="$prefix"
15278 prefix="$acl_final_prefix"
15279 eval acl_final_exec_prefix=\"$acl_final_exec_prefix\"
15280 prefix="$acl_save_prefix"
15283 # Check whether --with-gnu-ld was given.
15284 if test "${with_gnu_ld+set}" = set; then
15285 withval=$with_gnu_ld; test "$withval" = no || with_gnu_ld=yes
15290 # Prepare PATH_SEPARATOR.
15291 # The user is always right.
15292 if test "${PATH_SEPARATOR+set}" != set; then
15293 echo "#! /bin/sh" >conf$$.sh
15294 echo "exit 0" >>conf$$.sh
15296 if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
15304 if test "$GCC" = yes; then
15305 # Check if gcc -print-prog-name=ld gives a path.
15306 { $as_echo "$as_me:$LINENO: checking for ld used by GCC" >&5
15307 $as_echo_n "checking for ld used by GCC... " >&6; }
15310 # gcc leaves a trailing carriage return which upsets mingw
15311 ac_prog=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
15313 ac_prog=`($CC -print-prog-name=ld) 2>&5` ;;
15316 # Accept absolute paths.
15317 [\\/]* | [A-Za-z]:[\\/]*)
15318 re_direlt='/[^/][^/]*/\.\./'
15319 # Canonicalize the path of ld
15320 ac_prog=`echo $ac_prog| sed 's%\\\\%/%g'`
15321 while echo $ac_prog | grep "$re_direlt" > /dev/null 2>&1; do
15322 ac_prog=`echo $ac_prog| sed "s%$re_direlt%/%"`
15324 test -z "$LD" && LD="$ac_prog"
15327 # If it fails, then pretend we aren't using GCC.
15331 # If it is relative, then search for the first ld in PATH.
15332 with_gnu_ld=unknown
15335 elif test "$with_gnu_ld" = yes; then
15336 { $as_echo "$as_me:$LINENO: checking for GNU ld" >&5
15337 $as_echo_n "checking for GNU ld... " >&6; }
15339 { $as_echo "$as_me:$LINENO: checking for non-GNU ld" >&5
15340 $as_echo_n "checking for non-GNU ld... " >&6; }
15342 if test "${acl_cv_path_LD+set}" = set; then
15343 $as_echo_n "(cached) " >&6
15345 if test -z "$LD"; then
15346 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS="${IFS}${PATH_SEPARATOR-:}"
15347 for ac_dir in $PATH; do
15348 test -z "$ac_dir" && ac_dir=.
15349 if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then
15350 acl_cv_path_LD="$ac_dir/$ac_prog"
15351 # Check to see if the program is GNU ld. I'd rather use --version,
15352 # but apparently some GNU ld's only accept -v.
15353 # Break only if it was the GNU/non-GNU ld that we prefer.
15354 if "$acl_cv_path_LD" -v 2>&1 < /dev/null | egrep '(GNU|with BFD)' > /dev/null; then
15355 test "$with_gnu_ld" != no && break
15357 test "$with_gnu_ld" != yes && break
15363 acl_cv_path_LD="$LD" # Let the user override the test with a path.
15367 LD="$acl_cv_path_LD"
15368 if test -n "$LD"; then
15369 { $as_echo "$as_me:$LINENO: result: $LD" >&5
15370 $as_echo "$LD" >&6; }
15372 { $as_echo "$as_me:$LINENO: result: no" >&5
15373 $as_echo "no" >&6; }
15375 test -z "$LD" && { { $as_echo "$as_me:$LINENO: error: no acceptable ld found in \$PATH" >&5
15376 $as_echo "$as_me: error: no acceptable ld found in \$PATH" >&2;}
15377 { (exit 1); exit 1; }; }
15378 { $as_echo "$as_me:$LINENO: checking if the linker ($LD) is GNU ld" >&5
15379 $as_echo_n "checking if the linker ($LD) is GNU ld... " >&6; }
15380 if test "${acl_cv_prog_gnu_ld+set}" = set; then
15381 $as_echo_n "(cached) " >&6
15383 # I'd rather use --version here, but apparently some GNU ld's only accept -v.
15384 if $LD -v 2>&1 </dev/null | egrep '(GNU|with BFD)' 1>&5; then
15385 acl_cv_prog_gnu_ld=yes
15387 acl_cv_prog_gnu_ld=no
15390 { $as_echo "$as_me:$LINENO: result: $acl_cv_prog_gnu_ld" >&5
15391 $as_echo "$acl_cv_prog_gnu_ld" >&6; }
15392 with_gnu_ld=$acl_cv_prog_gnu_ld
15396 { $as_echo "$as_me:$LINENO: checking for shared library run path origin" >&5
15397 $as_echo_n "checking for shared library run path origin... " >&6; }
15398 if test "${acl_cv_rpath+set}" = set; then
15399 $as_echo_n "(cached) " >&6
15402 CC="$CC" GCC="$GCC" LDFLAGS="$LDFLAGS" LD="$LD" with_gnu_ld="$with_gnu_ld" \
15403 ${CONFIG_SHELL-/bin/sh} "$ac_aux_dir/config.rpath" "$host" > conftest.sh
15405 rm -f ./conftest.sh
15409 { $as_echo "$as_me:$LINENO: result: $acl_cv_rpath" >&5
15410 $as_echo "$acl_cv_rpath" >&6; }
15412 libext="$acl_cv_libext"
15413 shlibext="$acl_cv_shlibext"
15414 hardcode_libdir_flag_spec="$acl_cv_hardcode_libdir_flag_spec"
15415 hardcode_libdir_separator="$acl_cv_hardcode_libdir_separator"
15416 hardcode_direct="$acl_cv_hardcode_direct"
15417 hardcode_minus_L="$acl_cv_hardcode_minus_L"
15418 # Check whether --enable-rpath was given.
15419 if test "${enable_rpath+set}" = set; then
15420 enableval=$enable_rpath; :
15434 acl_save_prefix="$prefix"
15435 prefix="$acl_final_prefix"
15436 acl_save_exec_prefix="$exec_prefix"
15437 exec_prefix="$acl_final_exec_prefix"
15439 eval additional_includedir=\"$includedir\"
15440 eval additional_libdir=\"$libdir\"
15442 exec_prefix="$acl_save_exec_prefix"
15443 prefix="$acl_save_prefix"
15446 # Check whether --with-libiconv-prefix was given.
15447 if test "${with_libiconv_prefix+set}" = set; then
15448 withval=$with_libiconv_prefix;
15449 if test "X$withval" = "Xno"; then
15452 if test "X$withval" = "X"; then
15454 acl_save_prefix="$prefix"
15455 prefix="$acl_final_prefix"
15456 acl_save_exec_prefix="$exec_prefix"
15457 exec_prefix="$acl_final_exec_prefix"
15459 eval additional_includedir=\"$includedir\"
15460 eval additional_libdir=\"$libdir\"
15462 exec_prefix="$acl_save_exec_prefix"
15463 prefix="$acl_save_prefix"
15466 additional_includedir="$withval/include"
15467 additional_libdir="$withval/lib"
15478 names_already_handled=
15479 names_next_round='iconv '
15480 while test -n "$names_next_round"; do
15481 names_this_round="$names_next_round"
15483 for name in $names_this_round; do
15485 for n in $names_already_handled; do
15486 if test "$n" = "$name"; then
15487 already_handled=yes
15491 if test -z "$already_handled"; then
15492 names_already_handled="$names_already_handled $name"
15493 uppername=`echo "$name" | sed -e 'y|abcdefghijklmnopqrstuvwxyz./-|ABCDEFGHIJKLMNOPQRSTUVWXYZ___|'`
15494 eval value=\"\$HAVE_LIB$uppername\"
15495 if test -n "$value"; then
15496 if test "$value" = yes; then
15497 eval value=\"\$LIB$uppername\"
15498 test -z "$value" || LIBICONV="${LIBICONV}${LIBICONV:+ }$value"
15499 eval value=\"\$LTLIB$uppername\"
15500 test -z "$value" || LTLIBICONV="${LTLIBICONV}${LTLIBICONV:+ }$value"
15509 if test $use_additional = yes; then
15510 if test -n "$shlibext" && test -f "$additional_libdir/lib$name.$shlibext"; then
15511 found_dir="$additional_libdir"
15512 found_so="$additional_libdir/lib$name.$shlibext"
15513 if test -f "$additional_libdir/lib$name.la"; then
15514 found_la="$additional_libdir/lib$name.la"
15517 if test -f "$additional_libdir/lib$name.$libext"; then
15518 found_dir="$additional_libdir"
15519 found_a="$additional_libdir/lib$name.$libext"
15520 if test -f "$additional_libdir/lib$name.la"; then
15521 found_la="$additional_libdir/lib$name.la"
15526 if test "X$found_dir" = "X"; then
15527 for x in $LDFLAGS $LTLIBICONV; do
15529 acl_save_prefix="$prefix"
15530 prefix="$acl_final_prefix"
15531 acl_save_exec_prefix="$exec_prefix"
15532 exec_prefix="$acl_final_exec_prefix"
15534 exec_prefix="$acl_save_exec_prefix"
15535 prefix="$acl_save_prefix"
15539 dir=`echo "X$x" | sed -e 's/^X-L//'`
15540 if test -n "$shlibext" && test -f "$dir/lib$name.$shlibext"; then
15542 found_so="$dir/lib$name.$shlibext"
15543 if test -f "$dir/lib$name.la"; then
15544 found_la="$dir/lib$name.la"
15547 if test -f "$dir/lib$name.$libext"; then
15549 found_a="$dir/lib$name.$libext"
15550 if test -f "$dir/lib$name.la"; then
15551 found_la="$dir/lib$name.la"
15557 if test "X$found_dir" != "X"; then
15562 if test "X$found_dir" != "X"; then
15563 LTLIBICONV="${LTLIBICONV}${LTLIBICONV:+ }-L$found_dir -l$name"
15564 if test "X$found_so" != "X"; then
15565 if test "$enable_rpath" = no || test "X$found_dir" = "X/usr/lib"; then
15566 LIBICONV="${LIBICONV}${LIBICONV:+ }$found_so"
15569 for x in $ltrpathdirs; do
15570 if test "X$x" = "X$found_dir"; then
15575 if test -z "$haveit"; then
15576 ltrpathdirs="$ltrpathdirs $found_dir"
15578 if test "$hardcode_direct" = yes; then
15579 LIBICONV="${LIBICONV}${LIBICONV:+ }$found_so"
15581 if test -n "$hardcode_libdir_flag_spec" && test "$hardcode_minus_L" = no; then
15582 LIBICONV="${LIBICONV}${LIBICONV:+ }$found_so"
15584 for x in $rpathdirs; do
15585 if test "X$x" = "X$found_dir"; then
15590 if test -z "$haveit"; then
15591 rpathdirs="$rpathdirs $found_dir"
15595 for x in $LDFLAGS $LIBICONV; do
15597 acl_save_prefix="$prefix"
15598 prefix="$acl_final_prefix"
15599 acl_save_exec_prefix="$exec_prefix"
15600 exec_prefix="$acl_final_exec_prefix"
15602 exec_prefix="$acl_save_exec_prefix"
15603 prefix="$acl_save_prefix"
15605 if test "X$x" = "X-L$found_dir"; then
15610 if test -z "$haveit"; then
15611 LIBICONV="${LIBICONV}${LIBICONV:+ }-L$found_dir"
15613 if test "$hardcode_minus_L" != no; then
15614 LIBICONV="${LIBICONV}${LIBICONV:+ }$found_so"
15616 LIBICONV="${LIBICONV}${LIBICONV:+ }-l$name"
15622 if test "X$found_a" != "X"; then
15623 LIBICONV="${LIBICONV}${LIBICONV:+ }$found_a"
15625 LIBICONV="${LIBICONV}${LIBICONV:+ }-L$found_dir -l$name"
15628 additional_includedir=
15629 case "$found_dir" in
15631 basedir=`echo "X$found_dir" | sed -e 's,^X,,' -e 's,/lib/*$,,'`
15632 additional_includedir="$basedir/include"
15635 if test "X$additional_includedir" != "X"; then
15636 if test "X$additional_includedir" != "X/usr/include"; then
15638 if test "X$additional_includedir" = "X/usr/local/include"; then
15639 if test -n "$GCC"; then
15641 linux*) haveit=yes;;
15645 if test -z "$haveit"; then
15646 for x in $CPPFLAGS $INCICONV; do
15648 acl_save_prefix="$prefix"
15649 prefix="$acl_final_prefix"
15650 acl_save_exec_prefix="$exec_prefix"
15651 exec_prefix="$acl_final_exec_prefix"
15653 exec_prefix="$acl_save_exec_prefix"
15654 prefix="$acl_save_prefix"
15656 if test "X$x" = "X-I$additional_includedir"; then
15661 if test -z "$haveit"; then
15662 if test -d "$additional_includedir"; then
15663 INCICONV="${INCICONV}${INCICONV:+ }-I$additional_includedir"
15669 if test -n "$found_la"; then
15670 save_libdir="$libdir"
15671 case "$found_la" in
15672 */* | *\\*) . "$found_la" ;;
15673 *) . "./$found_la" ;;
15675 libdir="$save_libdir"
15676 for dep in $dependency_libs; do
15679 additional_libdir=`echo "X$dep" | sed -e 's/^X-L//'`
15680 if test "X$additional_libdir" != "X/usr/lib"; then
15682 if test "X$additional_libdir" = "X/usr/local/lib"; then
15683 if test -n "$GCC"; then
15685 linux*) haveit=yes;;
15689 if test -z "$haveit"; then
15691 for x in $LDFLAGS $LIBICONV; do
15693 acl_save_prefix="$prefix"
15694 prefix="$acl_final_prefix"
15695 acl_save_exec_prefix="$exec_prefix"
15696 exec_prefix="$acl_final_exec_prefix"
15698 exec_prefix="$acl_save_exec_prefix"
15699 prefix="$acl_save_prefix"
15701 if test "X$x" = "X-L$additional_libdir"; then
15706 if test -z "$haveit"; then
15707 if test -d "$additional_libdir"; then
15708 LIBICONV="${LIBICONV}${LIBICONV:+ }-L$additional_libdir"
15712 for x in $LDFLAGS $LTLIBICONV; do
15714 acl_save_prefix="$prefix"
15715 prefix="$acl_final_prefix"
15716 acl_save_exec_prefix="$exec_prefix"
15717 exec_prefix="$acl_final_exec_prefix"
15719 exec_prefix="$acl_save_exec_prefix"
15720 prefix="$acl_save_prefix"
15722 if test "X$x" = "X-L$additional_libdir"; then
15727 if test -z "$haveit"; then
15728 if test -d "$additional_libdir"; then
15729 LTLIBICONV="${LTLIBICONV}${LTLIBICONV:+ }-L$additional_libdir"
15736 dir=`echo "X$dep" | sed -e 's/^X-R//'`
15737 if test "$enable_rpath" != no; then
15739 for x in $rpathdirs; do
15740 if test "X$x" = "X$dir"; then
15745 if test -z "$haveit"; then
15746 rpathdirs="$rpathdirs $dir"
15749 for x in $ltrpathdirs; do
15750 if test "X$x" = "X$dir"; then
15755 if test -z "$haveit"; then
15756 ltrpathdirs="$ltrpathdirs $dir"
15761 names_next_round="$names_next_round "`echo "X$dep" | sed -e 's/^X-l//'`
15764 names_next_round="$names_next_round "`echo "X$dep" | sed -e 's,^X.*/,,' -e 's,^lib,,' -e 's,\.la$,,'`
15767 LIBICONV="${LIBICONV}${LIBICONV:+ }$dep"
15768 LTLIBICONV="${LTLIBICONV}${LTLIBICONV:+ }$dep"
15774 LIBICONV="${LIBICONV}${LIBICONV:+ }-l$name"
15775 LTLIBICONV="${LTLIBICONV}${LTLIBICONV:+ }-l$name"
15781 if test "X$rpathdirs" != "X"; then
15782 if test -n "$hardcode_libdir_separator"; then
15784 for found_dir in $rpathdirs; do
15785 alldirs="${alldirs}${alldirs:+$hardcode_libdir_separator}$found_dir"
15787 acl_save_libdir="$libdir"
15789 eval flag=\"$hardcode_libdir_flag_spec\"
15790 libdir="$acl_save_libdir"
15791 LIBICONV="${LIBICONV}${LIBICONV:+ }$flag"
15793 for found_dir in $rpathdirs; do
15794 acl_save_libdir="$libdir"
15795 libdir="$found_dir"
15796 eval flag=\"$hardcode_libdir_flag_spec\"
15797 libdir="$acl_save_libdir"
15798 LIBICONV="${LIBICONV}${LIBICONV:+ }$flag"
15802 if test "X$ltrpathdirs" != "X"; then
15803 for found_dir in $ltrpathdirs; do
15804 LTLIBICONV="${LTLIBICONV}${LTLIBICONV:+ }-R$found_dir"
15814 am_save_CPPFLAGS="$CPPFLAGS"
15816 for element in $INCICONV; do
15818 for x in $CPPFLAGS; do
15820 acl_save_prefix="$prefix"
15821 prefix="$acl_final_prefix"
15822 acl_save_exec_prefix="$exec_prefix"
15823 exec_prefix="$acl_final_exec_prefix"
15825 exec_prefix="$acl_save_exec_prefix"
15826 prefix="$acl_save_prefix"
15828 if test "X$x" = "X$element"; then
15833 if test -z "$haveit"; then
15834 CPPFLAGS="${CPPFLAGS}${CPPFLAGS:+ }$element"
15839 { $as_echo "$as_me:$LINENO: checking for iconv" >&5
15840 $as_echo_n "checking for iconv... " >&6; }
15841 if test "${am_cv_func_iconv+set}" = set; then
15842 $as_echo_n "(cached) " >&6
15845 am_cv_func_iconv="no, consider installing GNU libiconv"
15847 cat >conftest.$ac_ext <<_ACEOF
15850 cat confdefs.h >>conftest.$ac_ext
15851 cat >>conftest.$ac_ext <<_ACEOF
15852 /* end confdefs.h. */
15853 #include <stdlib.h>
15858 iconv_t cd = iconv_open("","");
15859 iconv(cd,NULL,NULL,NULL,NULL);
15865 rm -f conftest.$ac_objext conftest$ac_exeext
15866 if { (ac_try="$ac_link"
15867 case "(($ac_try" in
15868 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15869 *) ac_try_echo=$ac_try;;
15871 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
15872 $as_echo "$ac_try_echo") >&5
15873 (eval "$ac_link") 2>conftest.er1
15875 grep -v '^ *+' conftest.er1 >conftest.err
15877 cat conftest.err >&5
15878 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
15879 (exit $ac_status); } && {
15880 test -z "$ac_c_werror_flag" ||
15881 test ! -s conftest.err
15882 } && test -s conftest$ac_exeext && {
15883 test "$cross_compiling" = yes ||
15884 $as_test_x conftest$ac_exeext
15886 am_cv_func_iconv=yes
15888 $as_echo "$as_me: failed program was:" >&5
15889 sed 's/^/| /' conftest.$ac_ext >&5
15894 rm -rf conftest.dSYM
15895 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
15896 conftest$ac_exeext conftest.$ac_ext
15897 if test "$am_cv_func_iconv" != yes; then
15898 am_save_LIBS="$LIBS"
15899 LIBS="$LIBS $LIBICONV"
15900 cat >conftest.$ac_ext <<_ACEOF
15903 cat confdefs.h >>conftest.$ac_ext
15904 cat >>conftest.$ac_ext <<_ACEOF
15905 /* end confdefs.h. */
15906 #include <stdlib.h>
15911 iconv_t cd = iconv_open("","");
15912 iconv(cd,NULL,NULL,NULL,NULL);
15918 rm -f conftest.$ac_objext conftest$ac_exeext
15919 if { (ac_try="$ac_link"
15920 case "(($ac_try" in
15921 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15922 *) ac_try_echo=$ac_try;;
15924 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
15925 $as_echo "$ac_try_echo") >&5
15926 (eval "$ac_link") 2>conftest.er1
15928 grep -v '^ *+' conftest.er1 >conftest.err
15930 cat conftest.err >&5
15931 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
15932 (exit $ac_status); } && {
15933 test -z "$ac_c_werror_flag" ||
15934 test ! -s conftest.err
15935 } && test -s conftest$ac_exeext && {
15936 test "$cross_compiling" = yes ||
15937 $as_test_x conftest$ac_exeext
15939 am_cv_lib_iconv=yes
15940 am_cv_func_iconv=yes
15942 $as_echo "$as_me: failed program was:" >&5
15943 sed 's/^/| /' conftest.$ac_ext >&5
15948 rm -rf conftest.dSYM
15949 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
15950 conftest$ac_exeext conftest.$ac_ext
15951 LIBS="$am_save_LIBS"
15955 { $as_echo "$as_me:$LINENO: result: $am_cv_func_iconv" >&5
15956 $as_echo "$am_cv_func_iconv" >&6; }
15957 if test "$am_cv_func_iconv" = yes; then
15959 cat >>confdefs.h <<\_ACEOF
15960 #define HAVE_ICONV 1
15964 if test "$am_cv_lib_iconv" = yes; then
15965 { $as_echo "$as_me:$LINENO: checking how to link with libiconv" >&5
15966 $as_echo_n "checking how to link with libiconv... " >&6; }
15967 { $as_echo "$as_me:$LINENO: result: $LIBICONV" >&5
15968 $as_echo "$LIBICONV" >&6; }
15970 CPPFLAGS="$am_save_CPPFLAGS"
15977 if test "$am_cv_func_iconv" = yes; then
15978 { $as_echo "$as_me:$LINENO: checking for iconv declaration" >&5
15979 $as_echo_n "checking for iconv declaration... " >&6; }
15980 if test "${am_cv_proto_iconv+set}" = set; then
15981 $as_echo_n "(cached) " >&6
15984 cat >conftest.$ac_ext <<_ACEOF
15987 cat confdefs.h >>conftest.$ac_ext
15988 cat >>conftest.$ac_ext <<_ACEOF
15989 /* end confdefs.h. */
15991 #include <stdlib.h>
15997 #if defined(__STDC__) || defined(__cplusplus)
15998 size_t iconv (iconv_t cd, char * *inbuf, size_t *inbytesleft, char * *outbuf, size_t *outbytesleft);
16011 rm -f conftest.$ac_objext
16012 if { (ac_try="$ac_compile"
16013 case "(($ac_try" in
16014 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16015 *) ac_try_echo=$ac_try;;
16017 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
16018 $as_echo "$ac_try_echo") >&5
16019 (eval "$ac_compile") 2>conftest.er1
16021 grep -v '^ *+' conftest.er1 >conftest.err
16023 cat conftest.err >&5
16024 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
16025 (exit $ac_status); } && {
16026 test -z "$ac_c_werror_flag" ||
16027 test ! -s conftest.err
16028 } && test -s conftest.$ac_objext; then
16029 am_cv_proto_iconv_arg1=""
16031 $as_echo "$as_me: failed program was:" >&5
16032 sed 's/^/| /' conftest.$ac_ext >&5
16034 am_cv_proto_iconv_arg1="const"
16037 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16038 am_cv_proto_iconv="extern size_t iconv (iconv_t cd, $am_cv_proto_iconv_arg1 char * *inbuf, size_t *inbytesleft, char * *outbuf, size_t *outbytesleft);"
16041 am_cv_proto_iconv=`echo "$am_cv_proto_iconv" | tr -s ' ' | sed -e 's/( /(/'`
16042 { $as_echo "$as_me:$LINENO: result: ${ac_t:-
16043 }$am_cv_proto_iconv" >&5
16045 }$am_cv_proto_iconv" >&6; }
16047 cat >>confdefs.h <<_ACEOF
16048 #define ICONV_CONST $am_cv_proto_iconv_arg1
16054 { $as_echo "$as_me:$LINENO: checking for nl_langinfo and CODESET" >&5
16055 $as_echo_n "checking for nl_langinfo and CODESET... " >&6; }
16056 if test "${am_cv_langinfo_codeset+set}" = set; then
16057 $as_echo_n "(cached) " >&6
16059 cat >conftest.$ac_ext <<_ACEOF
16062 cat confdefs.h >>conftest.$ac_ext
16063 cat >>conftest.$ac_ext <<_ACEOF
16064 /* end confdefs.h. */
16065 #include <langinfo.h>
16069 char* cs = nl_langinfo(CODESET);
16074 rm -f conftest.$ac_objext conftest$ac_exeext
16075 if { (ac_try="$ac_link"
16076 case "(($ac_try" in
16077 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16078 *) ac_try_echo=$ac_try;;
16080 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
16081 $as_echo "$ac_try_echo") >&5
16082 (eval "$ac_link") 2>conftest.er1
16084 grep -v '^ *+' conftest.er1 >conftest.err
16086 cat conftest.err >&5
16087 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
16088 (exit $ac_status); } && {
16089 test -z "$ac_c_werror_flag" ||
16090 test ! -s conftest.err
16091 } && test -s conftest$ac_exeext && {
16092 test "$cross_compiling" = yes ||
16093 $as_test_x conftest$ac_exeext
16095 am_cv_langinfo_codeset=yes
16097 $as_echo "$as_me: failed program was:" >&5
16098 sed 's/^/| /' conftest.$ac_ext >&5
16100 am_cv_langinfo_codeset=no
16103 rm -rf conftest.dSYM
16104 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
16105 conftest$ac_exeext conftest.$ac_ext
16108 { $as_echo "$as_me:$LINENO: result: $am_cv_langinfo_codeset" >&5
16109 $as_echo "$am_cv_langinfo_codeset" >&6; }
16110 if test $am_cv_langinfo_codeset = yes; then
16112 cat >>confdefs.h <<\_ACEOF
16113 #define HAVE_LANGINFO_CODESET 1
16121 if test -n "$ac_aux_dir"; then
16122 case "$ac_aux_dir" in
16123 /*) MKINSTALLDIRS="$ac_aux_dir/mkinstalldirs" ;;
16124 *) MKINSTALLDIRS="\$(top_builddir)/$ac_aux_dir/mkinstalldirs" ;;
16127 if test -z "$MKINSTALLDIRS"; then
16128 MKINSTALLDIRS="\$(top_srcdir)/mkinstalldirs"
16133 { $as_echo "$as_me:$LINENO: checking whether NLS is requested" >&5
16134 $as_echo_n "checking whether NLS is requested... " >&6; }
16135 # Check whether --enable-nls was given.
16136 if test "${enable_nls+set}" = set; then
16137 enableval=$enable_nls; USE_NLS=$enableval
16142 { $as_echo "$as_me:$LINENO: result: $USE_NLS" >&5
16143 $as_echo "$USE_NLS" >&6; }
16150 # Prepare PATH_SEPARATOR.
16151 # The user is always right.
16152 if test "${PATH_SEPARATOR+set}" != set; then
16153 echo "#! /bin/sh" >conf$$.sh
16154 echo "exit 0" >>conf$$.sh
16156 if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
16164 # Find out how to test for executable files. Don't use a zero-byte file,
16165 # as systems may use methods other than mode bits to determine executability.
16166 cat >conf$$.file <<_ASEOF
16170 chmod +x conf$$.file
16171 if test -x conf$$.file >/dev/null 2>&1; then
16172 ac_executable_p="test -x"
16174 ac_executable_p="test -f"
16178 # Extract the first word of "msgfmt", so it can be a program name with args.
16179 set dummy msgfmt; ac_word=$2
16180 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
16181 $as_echo_n "checking for $ac_word... " >&6; }
16182 if test "${ac_cv_path_MSGFMT+set}" = set; then
16183 $as_echo_n "(cached) " >&6
16187 ac_cv_path_MSGFMT="$MSGFMT" # Let the user override the test with a path.
16190 ac_save_IFS="$IFS"; IFS=$PATH_SEPARATOR
16191 for ac_dir in $PATH; do
16193 test -z "$ac_dir" && ac_dir=.
16194 for ac_exec_ext in '' $ac_executable_extensions; do
16195 if $ac_executable_p "$ac_dir/$ac_word$ac_exec_ext"; then
16196 if $ac_dir/$ac_word --statistics /dev/null >/dev/null 2>&1 &&
16197 (if $ac_dir/$ac_word --statistics /dev/null 2>&1 >/dev/null | grep usage >/dev/null; then exit 1; else exit 0; fi); then
16198 ac_cv_path_MSGFMT="$ac_dir/$ac_word$ac_exec_ext"
16205 test -z "$ac_cv_path_MSGFMT" && ac_cv_path_MSGFMT=":"
16209 MSGFMT="$ac_cv_path_MSGFMT"
16210 if test "$MSGFMT" != ":"; then
16211 { $as_echo "$as_me:$LINENO: result: $MSGFMT" >&5
16212 $as_echo "$MSGFMT" >&6; }
16214 { $as_echo "$as_me:$LINENO: result: no" >&5
16215 $as_echo "no" >&6; }
16218 # Extract the first word of "gmsgfmt", so it can be a program name with args.
16219 set dummy gmsgfmt; ac_word=$2
16220 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
16221 $as_echo_n "checking for $ac_word... " >&6; }
16222 if test "${ac_cv_path_GMSGFMT+set}" = set; then
16223 $as_echo_n "(cached) " >&6
16227 ac_cv_path_GMSGFMT="$GMSGFMT" # Let the user override the test with a path.
16230 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
16231 for as_dir in $PATH
16234 test -z "$as_dir" && as_dir=.
16235 for ac_exec_ext in '' $ac_executable_extensions; do
16236 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
16237 ac_cv_path_GMSGFMT="$as_dir/$ac_word$ac_exec_ext"
16238 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
16245 test -z "$ac_cv_path_GMSGFMT" && ac_cv_path_GMSGFMT="$MSGFMT"
16249 GMSGFMT=$ac_cv_path_GMSGFMT
16250 if test -n "$GMSGFMT"; then
16251 { $as_echo "$as_me:$LINENO: result: $GMSGFMT" >&5
16252 $as_echo "$GMSGFMT" >&6; }
16254 { $as_echo "$as_me:$LINENO: result: no" >&5
16255 $as_echo "no" >&6; }
16261 # Prepare PATH_SEPARATOR.
16262 # The user is always right.
16263 if test "${PATH_SEPARATOR+set}" != set; then
16264 echo "#! /bin/sh" >conf$$.sh
16265 echo "exit 0" >>conf$$.sh
16267 if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
16275 # Find out how to test for executable files. Don't use a zero-byte file,
16276 # as systems may use methods other than mode bits to determine executability.
16277 cat >conf$$.file <<_ASEOF
16281 chmod +x conf$$.file
16282 if test -x conf$$.file >/dev/null 2>&1; then
16283 ac_executable_p="test -x"
16285 ac_executable_p="test -f"
16289 # Extract the first word of "xgettext", so it can be a program name with args.
16290 set dummy xgettext; ac_word=$2
16291 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
16292 $as_echo_n "checking for $ac_word... " >&6; }
16293 if test "${ac_cv_path_XGETTEXT+set}" = set; then
16294 $as_echo_n "(cached) " >&6
16296 case "$XGETTEXT" in
16298 ac_cv_path_XGETTEXT="$XGETTEXT" # Let the user override the test with a path.
16301 ac_save_IFS="$IFS"; IFS=$PATH_SEPARATOR
16302 for ac_dir in $PATH; do
16304 test -z "$ac_dir" && ac_dir=.
16305 for ac_exec_ext in '' $ac_executable_extensions; do
16306 if $ac_executable_p "$ac_dir/$ac_word$ac_exec_ext"; then
16307 if $ac_dir/$ac_word --omit-header --copyright-holder= --msgid-bugs-address= /dev/null >/dev/null 2>&1 &&
16308 (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
16309 ac_cv_path_XGETTEXT="$ac_dir/$ac_word$ac_exec_ext"
16316 test -z "$ac_cv_path_XGETTEXT" && ac_cv_path_XGETTEXT=":"
16320 XGETTEXT="$ac_cv_path_XGETTEXT"
16321 if test "$XGETTEXT" != ":"; then
16322 { $as_echo "$as_me:$LINENO: result: $XGETTEXT" >&5
16323 $as_echo "$XGETTEXT" >&6; }
16325 { $as_echo "$as_me:$LINENO: result: no" >&5
16326 $as_echo "no" >&6; }
16332 # Prepare PATH_SEPARATOR.
16333 # The user is always right.
16334 if test "${PATH_SEPARATOR+set}" != set; then
16335 echo "#! /bin/sh" >conf$$.sh
16336 echo "exit 0" >>conf$$.sh
16338 if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
16346 # Find out how to test for executable files. Don't use a zero-byte file,
16347 # as systems may use methods other than mode bits to determine executability.
16348 cat >conf$$.file <<_ASEOF
16352 chmod +x conf$$.file
16353 if test -x conf$$.file >/dev/null 2>&1; then
16354 ac_executable_p="test -x"
16356 ac_executable_p="test -f"
16360 # Extract the first word of "msgmerge", so it can be a program name with args.
16361 set dummy msgmerge; ac_word=$2
16362 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
16363 $as_echo_n "checking for $ac_word... " >&6; }
16364 if test "${ac_cv_path_MSGMERGE+set}" = set; then
16365 $as_echo_n "(cached) " >&6
16367 case "$MSGMERGE" in
16369 ac_cv_path_MSGMERGE="$MSGMERGE" # Let the user override the test with a path.
16372 ac_save_IFS="$IFS"; IFS=$PATH_SEPARATOR
16373 for ac_dir in $PATH; do
16375 test -z "$ac_dir" && ac_dir=.
16376 for ac_exec_ext in '' $ac_executable_extensions; do
16377 if $ac_executable_p "$ac_dir/$ac_word$ac_exec_ext"; then
16378 if $ac_dir/$ac_word --update -q /dev/null /dev/null >/dev/null 2>&1; then
16379 ac_cv_path_MSGMERGE="$ac_dir/$ac_word$ac_exec_ext"
16386 test -z "$ac_cv_path_MSGMERGE" && ac_cv_path_MSGMERGE=":"
16390 MSGMERGE="$ac_cv_path_MSGMERGE"
16391 if test "$MSGMERGE" != ":"; then
16392 { $as_echo "$as_me:$LINENO: result: $MSGMERGE" >&5
16393 $as_echo "$MSGMERGE" >&6; }
16395 { $as_echo "$as_me:$LINENO: result: no" >&5
16396 $as_echo "no" >&6; }
16400 if test "$GMSGFMT" != ":"; then
16401 if $GMSGFMT --statistics /dev/null >/dev/null 2>&1 &&
16402 (if $GMSGFMT --statistics /dev/null 2>&1 >/dev/null | grep usage >/dev/null; then exit 1; else exit 0; fi); then
16405 GMSGFMT=`echo "$GMSGFMT" | sed -e 's,^.*/,,'`
16406 { $as_echo "$as_me:$LINENO: result: found $GMSGFMT program is not GNU msgfmt; ignore it" >&5
16407 $as_echo "found $GMSGFMT program is not GNU msgfmt; ignore it" >&6; }
16412 if test "$XGETTEXT" != ":"; then
16413 if $XGETTEXT --omit-header --copyright-holder= --msgid-bugs-address= /dev/null >/dev/null 2>&1 &&
16414 (if $XGETTEXT --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
16417 { $as_echo "$as_me:$LINENO: result: found xgettext program is not GNU xgettext; ignore it" >&5
16418 $as_echo "found xgettext program is not GNU xgettext; ignore it" >&6; }
16424 ac_config_commands="$ac_config_commands default-1"
16443 { $as_echo "$as_me:$LINENO: checking whether NLS is requested" >&5
16444 $as_echo_n "checking whether NLS is requested... " >&6; }
16445 # Check whether --enable-nls was given.
16446 if test "${enable_nls+set}" = set; then
16447 enableval=$enable_nls; USE_NLS=$enableval
16452 { $as_echo "$as_me:$LINENO: result: $USE_NLS" >&5
16453 $as_echo "$USE_NLS" >&6; }
16462 if test "$USE_NLS" = "yes"; then
16463 gt_use_preinstalled_gnugettext=no
16470 { $as_echo "$as_me:$LINENO: checking for GNU gettext in libc" >&5
16471 $as_echo_n "checking for GNU gettext in libc... " >&6; }
16472 if test "${gt_cv_func_gnugettext1_libc+set}" = set; then
16473 $as_echo_n "(cached) " >&6
16475 cat >conftest.$ac_ext <<_ACEOF
16478 cat confdefs.h >>conftest.$ac_ext
16479 cat >>conftest.$ac_ext <<_ACEOF
16480 /* end confdefs.h. */
16481 #include <libintl.h>
16482 extern int _nl_msg_cat_cntr;
16483 extern int *_nl_domain_bindings;
16487 bindtextdomain ("", "");
16488 return (int) gettext ("") + _nl_msg_cat_cntr + *_nl_domain_bindings
16493 rm -f conftest.$ac_objext conftest$ac_exeext
16494 if { (ac_try="$ac_link"
16495 case "(($ac_try" in
16496 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16497 *) ac_try_echo=$ac_try;;
16499 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
16500 $as_echo "$ac_try_echo") >&5
16501 (eval "$ac_link") 2>conftest.er1
16503 grep -v '^ *+' conftest.er1 >conftest.err
16505 cat conftest.err >&5
16506 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
16507 (exit $ac_status); } && {
16508 test -z "$ac_c_werror_flag" ||
16509 test ! -s conftest.err
16510 } && test -s conftest$ac_exeext && {
16511 test "$cross_compiling" = yes ||
16512 $as_test_x conftest$ac_exeext
16514 gt_cv_func_gnugettext1_libc=yes
16516 $as_echo "$as_me: failed program was:" >&5
16517 sed 's/^/| /' conftest.$ac_ext >&5
16519 gt_cv_func_gnugettext1_libc=no
16522 rm -rf conftest.dSYM
16523 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
16524 conftest$ac_exeext conftest.$ac_ext
16526 { $as_echo "$as_me:$LINENO: result: $gt_cv_func_gnugettext1_libc" >&5
16527 $as_echo "$gt_cv_func_gnugettext1_libc" >&6; }
16529 if test "$gt_cv_func_gnugettext1_libc" != "yes"; then
16535 am_save_CPPFLAGS="$CPPFLAGS"
16537 for element in $INCICONV; do
16539 for x in $CPPFLAGS; do
16541 acl_save_prefix="$prefix"
16542 prefix="$acl_final_prefix"
16543 acl_save_exec_prefix="$exec_prefix"
16544 exec_prefix="$acl_final_exec_prefix"
16546 exec_prefix="$acl_save_exec_prefix"
16547 prefix="$acl_save_prefix"
16549 if test "X$x" = "X$element"; then
16554 if test -z "$haveit"; then
16555 CPPFLAGS="${CPPFLAGS}${CPPFLAGS:+ }$element"
16560 { $as_echo "$as_me:$LINENO: checking for iconv" >&5
16561 $as_echo_n "checking for iconv... " >&6; }
16562 if test "${am_cv_func_iconv+set}" = set; then
16563 $as_echo_n "(cached) " >&6
16566 am_cv_func_iconv="no, consider installing GNU libiconv"
16568 cat >conftest.$ac_ext <<_ACEOF
16571 cat confdefs.h >>conftest.$ac_ext
16572 cat >>conftest.$ac_ext <<_ACEOF
16573 /* end confdefs.h. */
16574 #include <stdlib.h>
16579 iconv_t cd = iconv_open("","");
16580 iconv(cd,NULL,NULL,NULL,NULL);
16586 rm -f conftest.$ac_objext conftest$ac_exeext
16587 if { (ac_try="$ac_link"
16588 case "(($ac_try" in
16589 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16590 *) ac_try_echo=$ac_try;;
16592 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
16593 $as_echo "$ac_try_echo") >&5
16594 (eval "$ac_link") 2>conftest.er1
16596 grep -v '^ *+' conftest.er1 >conftest.err
16598 cat conftest.err >&5
16599 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
16600 (exit $ac_status); } && {
16601 test -z "$ac_c_werror_flag" ||
16602 test ! -s conftest.err
16603 } && test -s conftest$ac_exeext && {
16604 test "$cross_compiling" = yes ||
16605 $as_test_x conftest$ac_exeext
16607 am_cv_func_iconv=yes
16609 $as_echo "$as_me: failed program was:" >&5
16610 sed 's/^/| /' conftest.$ac_ext >&5
16615 rm -rf conftest.dSYM
16616 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
16617 conftest$ac_exeext conftest.$ac_ext
16618 if test "$am_cv_func_iconv" != yes; then
16619 am_save_LIBS="$LIBS"
16620 LIBS="$LIBS $LIBICONV"
16621 cat >conftest.$ac_ext <<_ACEOF
16624 cat confdefs.h >>conftest.$ac_ext
16625 cat >>conftest.$ac_ext <<_ACEOF
16626 /* end confdefs.h. */
16627 #include <stdlib.h>
16632 iconv_t cd = iconv_open("","");
16633 iconv(cd,NULL,NULL,NULL,NULL);
16639 rm -f conftest.$ac_objext conftest$ac_exeext
16640 if { (ac_try="$ac_link"
16641 case "(($ac_try" in
16642 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16643 *) ac_try_echo=$ac_try;;
16645 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
16646 $as_echo "$ac_try_echo") >&5
16647 (eval "$ac_link") 2>conftest.er1
16649 grep -v '^ *+' conftest.er1 >conftest.err
16651 cat conftest.err >&5
16652 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
16653 (exit $ac_status); } && {
16654 test -z "$ac_c_werror_flag" ||
16655 test ! -s conftest.err
16656 } && test -s conftest$ac_exeext && {
16657 test "$cross_compiling" = yes ||
16658 $as_test_x conftest$ac_exeext
16660 am_cv_lib_iconv=yes
16661 am_cv_func_iconv=yes
16663 $as_echo "$as_me: failed program was:" >&5
16664 sed 's/^/| /' conftest.$ac_ext >&5
16669 rm -rf conftest.dSYM
16670 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
16671 conftest$ac_exeext conftest.$ac_ext
16672 LIBS="$am_save_LIBS"
16676 { $as_echo "$as_me:$LINENO: result: $am_cv_func_iconv" >&5
16677 $as_echo "$am_cv_func_iconv" >&6; }
16678 if test "$am_cv_func_iconv" = yes; then
16680 cat >>confdefs.h <<\_ACEOF
16681 #define HAVE_ICONV 1
16685 if test "$am_cv_lib_iconv" = yes; then
16686 { $as_echo "$as_me:$LINENO: checking how to link with libiconv" >&5
16687 $as_echo_n "checking how to link with libiconv... " >&6; }
16688 { $as_echo "$as_me:$LINENO: result: $LIBICONV" >&5
16689 $as_echo "$LIBICONV" >&6; }
16691 CPPFLAGS="$am_save_CPPFLAGS"
16703 acl_save_prefix="$prefix"
16704 prefix="$acl_final_prefix"
16705 acl_save_exec_prefix="$exec_prefix"
16706 exec_prefix="$acl_final_exec_prefix"
16708 eval additional_includedir=\"$includedir\"
16709 eval additional_libdir=\"$libdir\"
16711 exec_prefix="$acl_save_exec_prefix"
16712 prefix="$acl_save_prefix"
16715 # Check whether --with-libintl-prefix was given.
16716 if test "${with_libintl_prefix+set}" = set; then
16717 withval=$with_libintl_prefix;
16718 if test "X$withval" = "Xno"; then
16721 if test "X$withval" = "X"; then
16723 acl_save_prefix="$prefix"
16724 prefix="$acl_final_prefix"
16725 acl_save_exec_prefix="$exec_prefix"
16726 exec_prefix="$acl_final_exec_prefix"
16728 eval additional_includedir=\"$includedir\"
16729 eval additional_libdir=\"$libdir\"
16731 exec_prefix="$acl_save_exec_prefix"
16732 prefix="$acl_save_prefix"
16735 additional_includedir="$withval/include"
16736 additional_libdir="$withval/lib"
16747 names_already_handled=
16748 names_next_round='intl '
16749 while test -n "$names_next_round"; do
16750 names_this_round="$names_next_round"
16752 for name in $names_this_round; do
16754 for n in $names_already_handled; do
16755 if test "$n" = "$name"; then
16756 already_handled=yes
16760 if test -z "$already_handled"; then
16761 names_already_handled="$names_already_handled $name"
16762 uppername=`echo "$name" | sed -e 'y|abcdefghijklmnopqrstuvwxyz./-|ABCDEFGHIJKLMNOPQRSTUVWXYZ___|'`
16763 eval value=\"\$HAVE_LIB$uppername\"
16764 if test -n "$value"; then
16765 if test "$value" = yes; then
16766 eval value=\"\$LIB$uppername\"
16767 test -z "$value" || LIBINTL="${LIBINTL}${LIBINTL:+ }$value"
16768 eval value=\"\$LTLIB$uppername\"
16769 test -z "$value" || LTLIBINTL="${LTLIBINTL}${LTLIBINTL:+ }$value"
16778 if test $use_additional = yes; then
16779 if test -n "$shlibext" && test -f "$additional_libdir/lib$name.$shlibext"; then
16780 found_dir="$additional_libdir"
16781 found_so="$additional_libdir/lib$name.$shlibext"
16782 if test -f "$additional_libdir/lib$name.la"; then
16783 found_la="$additional_libdir/lib$name.la"
16786 if test -f "$additional_libdir/lib$name.$libext"; then
16787 found_dir="$additional_libdir"
16788 found_a="$additional_libdir/lib$name.$libext"
16789 if test -f "$additional_libdir/lib$name.la"; then
16790 found_la="$additional_libdir/lib$name.la"
16795 if test "X$found_dir" = "X"; then
16796 for x in $LDFLAGS $LTLIBINTL; do
16798 acl_save_prefix="$prefix"
16799 prefix="$acl_final_prefix"
16800 acl_save_exec_prefix="$exec_prefix"
16801 exec_prefix="$acl_final_exec_prefix"
16803 exec_prefix="$acl_save_exec_prefix"
16804 prefix="$acl_save_prefix"
16808 dir=`echo "X$x" | sed -e 's/^X-L//'`
16809 if test -n "$shlibext" && test -f "$dir/lib$name.$shlibext"; then
16811 found_so="$dir/lib$name.$shlibext"
16812 if test -f "$dir/lib$name.la"; then
16813 found_la="$dir/lib$name.la"
16816 if test -f "$dir/lib$name.$libext"; then
16818 found_a="$dir/lib$name.$libext"
16819 if test -f "$dir/lib$name.la"; then
16820 found_la="$dir/lib$name.la"
16826 if test "X$found_dir" != "X"; then
16831 if test "X$found_dir" != "X"; then
16832 LTLIBINTL="${LTLIBINTL}${LTLIBINTL:+ }-L$found_dir -l$name"
16833 if test "X$found_so" != "X"; then
16834 if test "$enable_rpath" = no || test "X$found_dir" = "X/usr/lib"; then
16835 LIBINTL="${LIBINTL}${LIBINTL:+ }$found_so"
16838 for x in $ltrpathdirs; do
16839 if test "X$x" = "X$found_dir"; then
16844 if test -z "$haveit"; then
16845 ltrpathdirs="$ltrpathdirs $found_dir"
16847 if test "$hardcode_direct" = yes; then
16848 LIBINTL="${LIBINTL}${LIBINTL:+ }$found_so"
16850 if test -n "$hardcode_libdir_flag_spec" && test "$hardcode_minus_L" = no; then
16851 LIBINTL="${LIBINTL}${LIBINTL:+ }$found_so"
16853 for x in $rpathdirs; do
16854 if test "X$x" = "X$found_dir"; then
16859 if test -z "$haveit"; then
16860 rpathdirs="$rpathdirs $found_dir"
16864 for x in $LDFLAGS $LIBINTL; do
16866 acl_save_prefix="$prefix"
16867 prefix="$acl_final_prefix"
16868 acl_save_exec_prefix="$exec_prefix"
16869 exec_prefix="$acl_final_exec_prefix"
16871 exec_prefix="$acl_save_exec_prefix"
16872 prefix="$acl_save_prefix"
16874 if test "X$x" = "X-L$found_dir"; then
16879 if test -z "$haveit"; then
16880 LIBINTL="${LIBINTL}${LIBINTL:+ }-L$found_dir"
16882 if test "$hardcode_minus_L" != no; then
16883 LIBINTL="${LIBINTL}${LIBINTL:+ }$found_so"
16885 LIBINTL="${LIBINTL}${LIBINTL:+ }-l$name"
16891 if test "X$found_a" != "X"; then
16892 LIBINTL="${LIBINTL}${LIBINTL:+ }$found_a"
16894 LIBINTL="${LIBINTL}${LIBINTL:+ }-L$found_dir -l$name"
16897 additional_includedir=
16898 case "$found_dir" in
16900 basedir=`echo "X$found_dir" | sed -e 's,^X,,' -e 's,/lib/*$,,'`
16901 additional_includedir="$basedir/include"
16904 if test "X$additional_includedir" != "X"; then
16905 if test "X$additional_includedir" != "X/usr/include"; then
16907 if test "X$additional_includedir" = "X/usr/local/include"; then
16908 if test -n "$GCC"; then
16910 linux*) haveit=yes;;
16914 if test -z "$haveit"; then
16915 for x in $CPPFLAGS $INCINTL; do
16917 acl_save_prefix="$prefix"
16918 prefix="$acl_final_prefix"
16919 acl_save_exec_prefix="$exec_prefix"
16920 exec_prefix="$acl_final_exec_prefix"
16922 exec_prefix="$acl_save_exec_prefix"
16923 prefix="$acl_save_prefix"
16925 if test "X$x" = "X-I$additional_includedir"; then
16930 if test -z "$haveit"; then
16931 if test -d "$additional_includedir"; then
16932 INCINTL="${INCINTL}${INCINTL:+ }-I$additional_includedir"
16938 if test -n "$found_la"; then
16939 save_libdir="$libdir"
16940 case "$found_la" in
16941 */* | *\\*) . "$found_la" ;;
16942 *) . "./$found_la" ;;
16944 libdir="$save_libdir"
16945 for dep in $dependency_libs; do
16948 additional_libdir=`echo "X$dep" | sed -e 's/^X-L//'`
16949 if test "X$additional_libdir" != "X/usr/lib"; then
16951 if test "X$additional_libdir" = "X/usr/local/lib"; then
16952 if test -n "$GCC"; then
16954 linux*) haveit=yes;;
16958 if test -z "$haveit"; then
16960 for x in $LDFLAGS $LIBINTL; do
16962 acl_save_prefix="$prefix"
16963 prefix="$acl_final_prefix"
16964 acl_save_exec_prefix="$exec_prefix"
16965 exec_prefix="$acl_final_exec_prefix"
16967 exec_prefix="$acl_save_exec_prefix"
16968 prefix="$acl_save_prefix"
16970 if test "X$x" = "X-L$additional_libdir"; then
16975 if test -z "$haveit"; then
16976 if test -d "$additional_libdir"; then
16977 LIBINTL="${LIBINTL}${LIBINTL:+ }-L$additional_libdir"
16981 for x in $LDFLAGS $LTLIBINTL; do
16983 acl_save_prefix="$prefix"
16984 prefix="$acl_final_prefix"
16985 acl_save_exec_prefix="$exec_prefix"
16986 exec_prefix="$acl_final_exec_prefix"
16988 exec_prefix="$acl_save_exec_prefix"
16989 prefix="$acl_save_prefix"
16991 if test "X$x" = "X-L$additional_libdir"; then
16996 if test -z "$haveit"; then
16997 if test -d "$additional_libdir"; then
16998 LTLIBINTL="${LTLIBINTL}${LTLIBINTL:+ }-L$additional_libdir"
17005 dir=`echo "X$dep" | sed -e 's/^X-R//'`
17006 if test "$enable_rpath" != no; then
17008 for x in $rpathdirs; do
17009 if test "X$x" = "X$dir"; then
17014 if test -z "$haveit"; then
17015 rpathdirs="$rpathdirs $dir"
17018 for x in $ltrpathdirs; do
17019 if test "X$x" = "X$dir"; then
17024 if test -z "$haveit"; then
17025 ltrpathdirs="$ltrpathdirs $dir"
17030 names_next_round="$names_next_round "`echo "X$dep" | sed -e 's/^X-l//'`
17033 names_next_round="$names_next_round "`echo "X$dep" | sed -e 's,^X.*/,,' -e 's,^lib,,' -e 's,\.la$,,'`
17036 LIBINTL="${LIBINTL}${LIBINTL:+ }$dep"
17037 LTLIBINTL="${LTLIBINTL}${LTLIBINTL:+ }$dep"
17043 LIBINTL="${LIBINTL}${LIBINTL:+ }-l$name"
17044 LTLIBINTL="${LTLIBINTL}${LTLIBINTL:+ }-l$name"
17050 if test "X$rpathdirs" != "X"; then
17051 if test -n "$hardcode_libdir_separator"; then
17053 for found_dir in $rpathdirs; do
17054 alldirs="${alldirs}${alldirs:+$hardcode_libdir_separator}$found_dir"
17056 acl_save_libdir="$libdir"
17058 eval flag=\"$hardcode_libdir_flag_spec\"
17059 libdir="$acl_save_libdir"
17060 LIBINTL="${LIBINTL}${LIBINTL:+ }$flag"
17062 for found_dir in $rpathdirs; do
17063 acl_save_libdir="$libdir"
17064 libdir="$found_dir"
17065 eval flag=\"$hardcode_libdir_flag_spec\"
17066 libdir="$acl_save_libdir"
17067 LIBINTL="${LIBINTL}${LIBINTL:+ }$flag"
17071 if test "X$ltrpathdirs" != "X"; then
17072 for found_dir in $ltrpathdirs; do
17073 LTLIBINTL="${LTLIBINTL}${LTLIBINTL:+ }-R$found_dir"
17077 { $as_echo "$as_me:$LINENO: checking for GNU gettext in libintl" >&5
17078 $as_echo_n "checking for GNU gettext in libintl... " >&6; }
17079 if test "${gt_cv_func_gnugettext1_libintl+set}" = set; then
17080 $as_echo_n "(cached) " >&6
17082 gt_save_CPPFLAGS="$CPPFLAGS"
17083 CPPFLAGS="$CPPFLAGS $INCINTL"
17084 gt_save_LIBS="$LIBS"
17085 LIBS="$LIBS $LIBINTL"
17086 cat >conftest.$ac_ext <<_ACEOF
17089 cat confdefs.h >>conftest.$ac_ext
17090 cat >>conftest.$ac_ext <<_ACEOF
17091 /* end confdefs.h. */
17092 #include <libintl.h>
17093 extern int _nl_msg_cat_cntr;
17098 const char *_nl_expand_alias ();
17102 bindtextdomain ("", "");
17103 return (int) gettext ("") + _nl_msg_cat_cntr + *_nl_expand_alias (0)
17108 rm -f conftest.$ac_objext conftest$ac_exeext
17109 if { (ac_try="$ac_link"
17110 case "(($ac_try" in
17111 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17112 *) ac_try_echo=$ac_try;;
17114 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
17115 $as_echo "$ac_try_echo") >&5
17116 (eval "$ac_link") 2>conftest.er1
17118 grep -v '^ *+' conftest.er1 >conftest.err
17120 cat conftest.err >&5
17121 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
17122 (exit $ac_status); } && {
17123 test -z "$ac_c_werror_flag" ||
17124 test ! -s conftest.err
17125 } && test -s conftest$ac_exeext && {
17126 test "$cross_compiling" = yes ||
17127 $as_test_x conftest$ac_exeext
17129 gt_cv_func_gnugettext1_libintl=yes
17131 $as_echo "$as_me: failed program was:" >&5
17132 sed 's/^/| /' conftest.$ac_ext >&5
17134 gt_cv_func_gnugettext1_libintl=no
17137 rm -rf conftest.dSYM
17138 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
17139 conftest$ac_exeext conftest.$ac_ext
17140 if test "$gt_cv_func_gnugettext1_libintl" != yes && test -n "$LIBICONV"; then
17141 LIBS="$LIBS $LIBICONV"
17142 cat >conftest.$ac_ext <<_ACEOF
17145 cat confdefs.h >>conftest.$ac_ext
17146 cat >>conftest.$ac_ext <<_ACEOF
17147 /* end confdefs.h. */
17148 #include <libintl.h>
17149 extern int _nl_msg_cat_cntr;
17154 const char *_nl_expand_alias ();
17158 bindtextdomain ("", "");
17159 return (int) gettext ("") + _nl_msg_cat_cntr + *_nl_expand_alias (0)
17164 rm -f conftest.$ac_objext conftest$ac_exeext
17165 if { (ac_try="$ac_link"
17166 case "(($ac_try" in
17167 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17168 *) ac_try_echo=$ac_try;;
17170 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
17171 $as_echo "$ac_try_echo") >&5
17172 (eval "$ac_link") 2>conftest.er1
17174 grep -v '^ *+' conftest.er1 >conftest.err
17176 cat conftest.err >&5
17177 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
17178 (exit $ac_status); } && {
17179 test -z "$ac_c_werror_flag" ||
17180 test ! -s conftest.err
17181 } && test -s conftest$ac_exeext && {
17182 test "$cross_compiling" = yes ||
17183 $as_test_x conftest$ac_exeext
17185 LIBINTL="$LIBINTL $LIBICONV"
17186 LTLIBINTL="$LTLIBINTL $LTLIBICONV"
17187 gt_cv_func_gnugettext1_libintl=yes
17190 $as_echo "$as_me: failed program was:" >&5
17191 sed 's/^/| /' conftest.$ac_ext >&5
17196 rm -rf conftest.dSYM
17197 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
17198 conftest$ac_exeext conftest.$ac_ext
17200 CPPFLAGS="$gt_save_CPPFLAGS"
17201 LIBS="$gt_save_LIBS"
17203 { $as_echo "$as_me:$LINENO: result: $gt_cv_func_gnugettext1_libintl" >&5
17204 $as_echo "$gt_cv_func_gnugettext1_libintl" >&6; }
17207 if test "$gt_cv_func_gnugettext1_libc" = "yes" \
17208 || { test "$gt_cv_func_gnugettext1_libintl" = "yes" \
17209 && test "$PACKAGE" != gettext-runtime \
17210 && test "$PACKAGE" != gettext-tools; }; then
17211 gt_use_preinstalled_gnugettext=yes
17220 if test "$gt_use_preinstalled_gnugettext" = "yes" \
17221 || test "$nls_cv_use_gnu_gettext" = "yes"; then
17223 cat >>confdefs.h <<\_ACEOF
17224 #define ENABLE_NLS 1
17232 { $as_echo "$as_me:$LINENO: checking whether to use NLS" >&5
17233 $as_echo_n "checking whether to use NLS... " >&6; }
17234 { $as_echo "$as_me:$LINENO: result: $USE_NLS" >&5
17235 $as_echo "$USE_NLS" >&6; }
17236 if test "$USE_NLS" = "yes"; then
17237 { $as_echo "$as_me:$LINENO: checking where the gettext function comes from" >&5
17238 $as_echo_n "checking where the gettext function comes from... " >&6; }
17239 if test "$gt_use_preinstalled_gnugettext" = "yes"; then
17240 if test "$gt_cv_func_gnugettext1_libintl" = "yes"; then
17241 gt_source="external libintl"
17246 gt_source="included intl directory"
17248 { $as_echo "$as_me:$LINENO: result: $gt_source" >&5
17249 $as_echo "$gt_source" >&6; }
17252 if test "$USE_NLS" = "yes"; then
17254 if test "$gt_use_preinstalled_gnugettext" = "yes"; then
17255 if test "$gt_cv_func_gnugettext1_libintl" = "yes"; then
17256 { $as_echo "$as_me:$LINENO: checking how to link with libintl" >&5
17257 $as_echo_n "checking how to link with libintl... " >&6; }
17258 { $as_echo "$as_me:$LINENO: result: $LIBINTL" >&5
17259 $as_echo "$LIBINTL" >&6; }
17261 for element in $INCINTL; do
17263 for x in $CPPFLAGS; do
17265 acl_save_prefix="$prefix"
17266 prefix="$acl_final_prefix"
17267 acl_save_exec_prefix="$exec_prefix"
17268 exec_prefix="$acl_final_exec_prefix"
17270 exec_prefix="$acl_save_exec_prefix"
17271 prefix="$acl_save_prefix"
17273 if test "X$x" = "X$element"; then
17278 if test -z "$haveit"; then
17279 CPPFLAGS="${CPPFLAGS}${CPPFLAGS:+ }$element"
17286 cat >>confdefs.h <<\_ACEOF
17287 #define HAVE_GETTEXT 1
17291 cat >>confdefs.h <<\_ACEOF
17292 #define HAVE_DCGETTEXT 1
17302 INTLLIBS="$LIBINTL"
17311 # Check whether --enable-hints-gnome was given.
17312 if test "${enable_hints_gnome+set}" = set; then
17313 enableval=$enable_hints_gnome;
17315 enable_hints_gnome=no
17319 if test "x$enable_hints_gnome" = "xyes"; then
17321 cat >>confdefs.h <<\_ACEOF
17322 #define ENABLE_GNOME 1
17326 if test "x$enable_hints_gnome" = "xyes"; then
17328 ENABLE_GNOME_FALSE='#'
17330 ENABLE_GNOME_TRUE='#'
17331 ENABLE_GNOME_FALSE=
17335 # Check whether --enable-sound was given.
17336 if test "${enable_sound+set}" = set; then
17337 enableval=$enable_sound;
17342 if test "x$enable_sound" = "xyes"; then
17343 # Check whether --enable-sound_pulse was given.
17344 if test "${enable_sound_pulse+set}" = set; then
17345 enableval=$enable_sound_pulse;
17347 enable_sound_pulse=no
17350 # Check whether --enable-sound_esound was given.
17351 if test "${enable_sound_esound+set}" = set; then
17352 enableval=$enable_sound_esound;
17354 enable_sound_esound=yes
17360 if test "x$enable_sound_pulse" = "xyes"; then
17363 { $as_echo "$as_me:$LINENO: checking for PA" >&5
17364 $as_echo_n "checking for PA... " >&6; }
17366 if test -n "$PA_CFLAGS"; then
17367 pkg_cv_PA_CFLAGS="$PA_CFLAGS"
17368 elif test -n "$PKG_CONFIG"; then
17369 if test -n "$PKG_CONFIG" && \
17370 { ($as_echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"libpulse\"") >&5
17371 ($PKG_CONFIG --exists --print-errors "libpulse") 2>&5
17373 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
17374 (exit $ac_status); }; then
17375 pkg_cv_PA_CFLAGS=`$PKG_CONFIG --cflags "libpulse" 2>/dev/null`
17382 if test -n "$PA_LIBS"; then
17383 pkg_cv_PA_LIBS="$PA_LIBS"
17384 elif test -n "$PKG_CONFIG"; then
17385 if test -n "$PKG_CONFIG" && \
17386 { ($as_echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"libpulse\"") >&5
17387 ($PKG_CONFIG --exists --print-errors "libpulse") 2>&5
17389 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
17390 (exit $ac_status); }; then
17391 pkg_cv_PA_LIBS=`$PKG_CONFIG --libs "libpulse" 2>/dev/null`
17401 if test $pkg_failed = yes; then
17403 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
17404 _pkg_short_errors_supported=yes
17406 _pkg_short_errors_supported=no
17408 if test $_pkg_short_errors_supported = yes; then
17409 PA_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors "libpulse" 2>&1`
17411 PA_PKG_ERRORS=`$PKG_CONFIG --print-errors "libpulse" 2>&1`
17413 # Put the nasty error message in config.log where it belongs
17414 echo "$PA_PKG_ERRORS" >&5
17416 { $as_echo "$as_me:$LINENO: result: no" >&5
17417 $as_echo "no" >&6; }
17418 enable_sound_pulse=no
17419 elif test $pkg_failed = untried; then
17420 enable_sound_pulse=no
17422 PA_CFLAGS=$pkg_cv_PA_CFLAGS
17423 PA_LIBS=$pkg_cv_PA_LIBS
17424 { $as_echo "$as_me:$LINENO: result: yes" >&5
17425 $as_echo "yes" >&6; }
17429 if test "x$enable_sound_pulse" = "xyes"; then
17431 cat >>confdefs.h <<\_ACEOF
17432 #define HAVE_SOUND 1
17436 cat >>confdefs.h <<\_ACEOF
17437 #define HAVE_SOUND_PA 1
17441 cat >>confdefs.h <<\_ACEOF
17442 #define USE_SOUND_LOADER_AUDIOFILE 1
17447 { $as_echo "$as_me:$LINENO: checking for AUDIOFILE" >&5
17448 $as_echo_n "checking for AUDIOFILE... " >&6; }
17450 if test -n "$AUDIOFILE_CFLAGS"; then
17451 pkg_cv_AUDIOFILE_CFLAGS="$AUDIOFILE_CFLAGS"
17452 elif test -n "$PKG_CONFIG"; then
17453 if test -n "$PKG_CONFIG" && \
17454 { ($as_echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"audiofile\"") >&5
17455 ($PKG_CONFIG --exists --print-errors "audiofile") 2>&5
17457 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
17458 (exit $ac_status); }; then
17459 pkg_cv_AUDIOFILE_CFLAGS=`$PKG_CONFIG --cflags "audiofile" 2>/dev/null`
17466 if test -n "$AUDIOFILE_LIBS"; then
17467 pkg_cv_AUDIOFILE_LIBS="$AUDIOFILE_LIBS"
17468 elif test -n "$PKG_CONFIG"; then
17469 if test -n "$PKG_CONFIG" && \
17470 { ($as_echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"audiofile\"") >&5
17471 ($PKG_CONFIG --exists --print-errors "audiofile") 2>&5
17473 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
17474 (exit $ac_status); }; then
17475 pkg_cv_AUDIOFILE_LIBS=`$PKG_CONFIG --libs "audiofile" 2>/dev/null`
17485 if test $pkg_failed = yes; then
17487 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
17488 _pkg_short_errors_supported=yes
17490 _pkg_short_errors_supported=no
17492 if test $_pkg_short_errors_supported = yes; then
17493 AUDIOFILE_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors "audiofile" 2>&1`
17495 AUDIOFILE_PKG_ERRORS=`$PKG_CONFIG --print-errors "audiofile" 2>&1`
17497 # Put the nasty error message in config.log where it belongs
17498 echo "$AUDIOFILE_PKG_ERRORS" >&5
17500 { { $as_echo "$as_me:$LINENO: error: Package requirements (audiofile) were not met:
17502 $AUDIOFILE_PKG_ERRORS
17504 Consider adjusting the PKG_CONFIG_PATH environment variable if you
17505 installed software in a non-standard prefix.
17507 Alternatively, you may set the environment variables AUDIOFILE_CFLAGS
17508 and AUDIOFILE_LIBS to avoid the need to call pkg-config.
17509 See the pkg-config man page for more details.
17511 $as_echo "$as_me: error: Package requirements (audiofile) were not met:
17513 $AUDIOFILE_PKG_ERRORS
17515 Consider adjusting the PKG_CONFIG_PATH environment variable if you
17516 installed software in a non-standard prefix.
17518 Alternatively, you may set the environment variables AUDIOFILE_CFLAGS
17519 and AUDIOFILE_LIBS to avoid the need to call pkg-config.
17520 See the pkg-config man page for more details.
17522 { (exit 1); exit 1; }; }
17523 elif test $pkg_failed = untried; then
17524 { { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
17525 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
17526 { { $as_echo "$as_me:$LINENO: error: The pkg-config script could not be found or is too old. Make sure it
17527 is in your PATH or set the PKG_CONFIG environment variable to the full
17528 path to pkg-config.
17530 Alternatively, you may set the environment variables AUDIOFILE_CFLAGS
17531 and AUDIOFILE_LIBS to avoid the need to call pkg-config.
17532 See the pkg-config man page for more details.
17534 To get pkg-config, see <http://pkg-config.freedesktop.org/>.
17535 See \`config.log' for more details." >&5
17536 $as_echo "$as_me: error: The pkg-config script could not be found or is too old. Make sure it
17537 is in your PATH or set the PKG_CONFIG environment variable to the full
17538 path to pkg-config.
17540 Alternatively, you may set the environment variables AUDIOFILE_CFLAGS
17541 and AUDIOFILE_LIBS to avoid the need to call pkg-config.
17542 See the pkg-config man page for more details.
17544 To get pkg-config, see <http://pkg-config.freedesktop.org/>.
17545 See \`config.log' for more details." >&2;}
17546 { (exit 1); exit 1; }; }; }
17548 AUDIOFILE_CFLAGS=$pkg_cv_AUDIOFILE_CFLAGS
17549 AUDIOFILE_LIBS=$pkg_cv_AUDIOFILE_LIBS
17550 { $as_echo "$as_me:$LINENO: result: yes" >&5
17551 $as_echo "yes" >&6; }
17554 enable_sound=pulseaudio
17555 enable_sound_esound=no
17556 PA_LIBS="$PA_LIBS $AUDIOFILE_LIBS"
17558 if test "x$enable_sound_pulse" = "xyes"; then
17560 USE_LIBPA_FALSE='#'
17567 if test "x$enable_sound_esound" = "xyes"; then
17569 # Check whether --with-esd-prefix was given.
17570 if test "${with_esd_prefix+set}" = set; then
17571 withval=$with_esd_prefix; esd_prefix="$withval"
17577 # Check whether --with-esd-exec-prefix was given.
17578 if test "${with_esd_exec_prefix+set}" = set; then
17579 withval=$with_esd_exec_prefix; esd_exec_prefix="$withval"
17584 # Check whether --enable-esdtest was given.
17585 if test "${enable_esdtest+set}" = set; then
17586 enableval=$enable_esdtest;
17592 if test x$esd_exec_prefix != x ; then
17593 esd_args="$esd_args --exec-prefix=$esd_exec_prefix"
17594 if test x${ESD_CONFIG+set} != xset ; then
17595 ESD_CONFIG=$esd_exec_prefix/bin/esd-config
17598 if test x$esd_prefix != x ; then
17599 esd_args="$esd_args --prefix=$esd_prefix"
17600 if test x${ESD_CONFIG+set} != xset ; then
17601 ESD_CONFIG=$esd_prefix/bin/esd-config
17605 # Extract the first word of "esd-config", so it can be a program name with args.
17606 set dummy esd-config; ac_word=$2
17607 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
17608 $as_echo_n "checking for $ac_word... " >&6; }
17609 if test "${ac_cv_path_ESD_CONFIG+set}" = set; then
17610 $as_echo_n "(cached) " >&6
17612 case $ESD_CONFIG in
17614 ac_cv_path_ESD_CONFIG="$ESD_CONFIG" # Let the user override the test with a path.
17617 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
17618 for as_dir in $PATH
17621 test -z "$as_dir" && as_dir=.
17622 for ac_exec_ext in '' $ac_executable_extensions; do
17623 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
17624 ac_cv_path_ESD_CONFIG="$as_dir/$ac_word$ac_exec_ext"
17625 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
17632 test -z "$ac_cv_path_ESD_CONFIG" && ac_cv_path_ESD_CONFIG="no"
17636 ESD_CONFIG=$ac_cv_path_ESD_CONFIG
17637 if test -n "$ESD_CONFIG"; then
17638 { $as_echo "$as_me:$LINENO: result: $ESD_CONFIG" >&5
17639 $as_echo "$ESD_CONFIG" >&6; }
17641 { $as_echo "$as_me:$LINENO: result: no" >&5
17642 $as_echo "no" >&6; }
17646 min_esd_version=0.2.17
17647 { $as_echo "$as_me:$LINENO: checking for ESD - version >= $min_esd_version" >&5
17648 $as_echo_n "checking for ESD - version >= $min_esd_version... " >&6; }
17650 if test "$ESD_CONFIG" = "no" ; then
17653 ESD_CFLAGS=`$ESD_CONFIG $esdconf_args --cflags`
17654 ESD_LIBS=`$ESD_CONFIG $esdconf_args --libs`
17656 esd_major_version=`$ESD_CONFIG $esd_args --version | \
17657 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\1/'`
17658 esd_minor_version=`$ESD_CONFIG $esd_args --version | \
17659 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\2/'`
17660 esd_micro_version=`$ESD_CONFIG $esd_config_args --version | \
17661 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\3/'`
17662 if test "x$enable_esdtest" = "xyes" ; then
17663 ac_save_CFLAGS="$CFLAGS"
17664 ac_save_LIBS="$LIBS"
17665 CFLAGS="$CFLAGS $ESD_CFLAGS"
17666 LIBS="$LIBS $ESD_LIBS"
17668 if test "$cross_compiling" = yes; then
17669 echo $ac_n "cross compiling; assumed OK... $ac_c"
17671 cat >conftest.$ac_ext <<_ACEOF
17674 cat confdefs.h >>conftest.$ac_ext
17675 cat >>conftest.$ac_ext <<_ACEOF
17676 /* end confdefs.h. */
17679 #include <stdlib.h>
17680 #include <string.h>
17684 my_strdup (char *str)
17690 new_str = malloc ((strlen (str) + 1) * sizeof(char));
17691 strcpy (new_str, str);
17701 int major, minor, micro;
17704 system ("touch conf.esdtest");
17706 /* HP/UX 9 (%@#!) writes to sscanf strings */
17707 tmp_version = my_strdup("$min_esd_version");
17708 if (sscanf(tmp_version, "%d.%d.%d", &major, &minor, µ) != 3) {
17709 printf("%s, bad version string\n", "$min_esd_version");
17713 if (($esd_major_version > major) ||
17714 (($esd_major_version == major) && ($esd_minor_version > minor)) ||
17715 (($esd_major_version == major) && ($esd_minor_version == minor) && ($esd_micro_version >= micro)))
17721 printf("\n*** 'esd-config --version' returned %d.%d.%d, but the minimum version\n", $esd_major_version, $esd_minor_version, $esd_micro_version);
17722 printf("*** of ESD required is %d.%d.%d. If esd-config is correct, then it is\n", major, minor, micro);
17723 printf("*** best to upgrade to the required version.\n");
17724 printf("*** If esd-config was wrong, set the environment variable ESD_CONFIG\n");
17725 printf("*** to point to the correct copy of esd-config, and remove the file\n");
17726 printf("*** config.cache before re-running configure\n");
17733 rm -f conftest$ac_exeext
17734 if { (ac_try="$ac_link"
17735 case "(($ac_try" in
17736 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17737 *) ac_try_echo=$ac_try;;
17739 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
17740 $as_echo "$ac_try_echo") >&5
17741 (eval "$ac_link") 2>&5
17743 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
17744 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
17745 { (case "(($ac_try" in
17746 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17747 *) ac_try_echo=$ac_try;;
17749 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
17750 $as_echo "$ac_try_echo") >&5
17751 (eval "$ac_try") 2>&5
17753 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
17754 (exit $ac_status); }; }; then
17757 $as_echo "$as_me: program exited with status $ac_status" >&5
17758 $as_echo "$as_me: failed program was:" >&5
17759 sed 's/^/| /' conftest.$ac_ext >&5
17761 ( exit $ac_status )
17764 rm -rf conftest.dSYM
17765 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
17769 CFLAGS="$ac_save_CFLAGS"
17770 LIBS="$ac_save_LIBS"
17773 if test "x$no_esd" = x ; then
17774 { $as_echo "$as_me:$LINENO: result: yes" >&5
17775 $as_echo "yes" >&6; }
17778 { $as_echo "$as_me:$LINENO: result: no" >&5
17779 $as_echo "no" >&6; }
17780 if test "$ESD_CONFIG" = "no" ; then
17781 echo "*** The esd-config script installed by ESD could not be found"
17782 echo "*** If ESD was installed in PREFIX, make sure PREFIX/bin is in"
17783 echo "*** your path, or set the ESD_CONFIG environment variable to the"
17784 echo "*** full path to esd-config."
17786 if test -f conf.esdtest ; then
17789 echo "*** Could not run ESD test program, checking why..."
17790 CFLAGS="$CFLAGS $ESD_CFLAGS"
17791 LIBS="$LIBS $ESD_LIBS"
17792 cat >conftest.$ac_ext <<_ACEOF
17795 cat confdefs.h >>conftest.$ac_ext
17796 cat >>conftest.$ac_ext <<_ACEOF
17797 /* end confdefs.h. */
17810 rm -f conftest.$ac_objext conftest$ac_exeext
17811 if { (ac_try="$ac_link"
17812 case "(($ac_try" in
17813 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17814 *) ac_try_echo=$ac_try;;
17816 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
17817 $as_echo "$ac_try_echo") >&5
17818 (eval "$ac_link") 2>conftest.er1
17820 grep -v '^ *+' conftest.er1 >conftest.err
17822 cat conftest.err >&5
17823 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
17824 (exit $ac_status); } && {
17825 test -z "$ac_c_werror_flag" ||
17826 test ! -s conftest.err
17827 } && test -s conftest$ac_exeext && {
17828 test "$cross_compiling" = yes ||
17829 $as_test_x conftest$ac_exeext
17831 echo "*** The test program compiled, but did not run. This usually means"
17832 echo "*** that the run-time linker is not finding ESD or finding the wrong"
17833 echo "*** version of ESD. If it is not finding ESD, you'll need to set your"
17834 echo "*** LD_LIBRARY_PATH environment variable, or edit /etc/ld.so.conf to point"
17835 echo "*** to the installed location Also, make sure you have run ldconfig if that"
17836 echo "*** is required on your system"
17838 echo "*** If you have an old version installed, it is best to remove it, although"
17839 echo "*** you may also be able to get things to work by modifying LD_LIBRARY_PATH"
17841 $as_echo "$as_me: failed program was:" >&5
17842 sed 's/^/| /' conftest.$ac_ext >&5
17844 echo "*** The test program failed to compile or link. See the file config.log for the"
17845 echo "*** exact error that occured. This usually means ESD was incorrectly installed"
17846 echo "*** or that you have moved ESD since it was installed. In the latter case, you"
17847 echo "*** may want to edit the esd-config script: $ESD_CONFIG"
17850 rm -rf conftest.dSYM
17851 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
17852 conftest$ac_exeext conftest.$ac_ext
17853 CFLAGS="$ac_save_CFLAGS"
17854 LIBS="$ac_save_LIBS"
17860 enable_sound_esound=no
17861 { $as_echo "$as_me:$LINENO: WARNING: EsounD sound support was requested but not found." >&5
17862 $as_echo "$as_me: WARNING: EsounD sound support was requested but not found." >&2;}
17870 for ac_header in audiofile.h
17872 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
17873 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
17874 { $as_echo "$as_me:$LINENO: checking for $ac_header" >&5
17875 $as_echo_n "checking for $ac_header... " >&6; }
17876 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
17877 $as_echo_n "(cached) " >&6
17879 ac_res=`eval 'as_val=${'$as_ac_Header'}
17880 $as_echo "$as_val"'`
17881 { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
17882 $as_echo "$ac_res" >&6; }
17884 # Is the header compilable?
17885 { $as_echo "$as_me:$LINENO: checking $ac_header usability" >&5
17886 $as_echo_n "checking $ac_header usability... " >&6; }
17887 cat >conftest.$ac_ext <<_ACEOF
17890 cat confdefs.h >>conftest.$ac_ext
17891 cat >>conftest.$ac_ext <<_ACEOF
17892 /* end confdefs.h. */
17893 $ac_includes_default
17894 #include <$ac_header>
17896 rm -f conftest.$ac_objext
17897 if { (ac_try="$ac_compile"
17898 case "(($ac_try" in
17899 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17900 *) ac_try_echo=$ac_try;;
17902 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
17903 $as_echo "$ac_try_echo") >&5
17904 (eval "$ac_compile") 2>conftest.er1
17906 grep -v '^ *+' conftest.er1 >conftest.err
17908 cat conftest.err >&5
17909 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
17910 (exit $ac_status); } && {
17911 test -z "$ac_c_werror_flag" ||
17912 test ! -s conftest.err
17913 } && test -s conftest.$ac_objext; then
17914 ac_header_compiler=yes
17916 $as_echo "$as_me: failed program was:" >&5
17917 sed 's/^/| /' conftest.$ac_ext >&5
17919 ac_header_compiler=no
17922 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17923 { $as_echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
17924 $as_echo "$ac_header_compiler" >&6; }
17926 # Is the header present?
17927 { $as_echo "$as_me:$LINENO: checking $ac_header presence" >&5
17928 $as_echo_n "checking $ac_header presence... " >&6; }
17929 cat >conftest.$ac_ext <<_ACEOF
17932 cat confdefs.h >>conftest.$ac_ext
17933 cat >>conftest.$ac_ext <<_ACEOF
17934 /* end confdefs.h. */
17935 #include <$ac_header>
17937 if { (ac_try="$ac_cpp conftest.$ac_ext"
17938 case "(($ac_try" in
17939 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17940 *) ac_try_echo=$ac_try;;
17942 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
17943 $as_echo "$ac_try_echo") >&5
17944 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
17946 grep -v '^ *+' conftest.er1 >conftest.err
17948 cat conftest.err >&5
17949 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
17950 (exit $ac_status); } >/dev/null && {
17951 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
17952 test ! -s conftest.err
17954 ac_header_preproc=yes
17956 $as_echo "$as_me: failed program was:" >&5
17957 sed 's/^/| /' conftest.$ac_ext >&5
17959 ac_header_preproc=no
17962 rm -f conftest.err conftest.$ac_ext
17963 { $as_echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
17964 $as_echo "$ac_header_preproc" >&6; }
17966 # So? What about this header?
17967 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
17969 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
17970 $as_echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
17971 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
17972 $as_echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
17973 ac_header_preproc=yes
17976 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
17977 $as_echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
17978 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
17979 $as_echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
17980 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
17981 $as_echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
17982 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
17983 $as_echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
17984 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
17985 $as_echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
17986 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
17987 $as_echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
17989 ## -------------------------------------------------------- ##
17990 ## Report this to enlightenment-devel@lists.sourceforge.net ##
17991 ## -------------------------------------------------------- ##
17993 ) | sed "s/^/$as_me: WARNING: /" >&2
17996 { $as_echo "$as_me:$LINENO: checking for $ac_header" >&5
17997 $as_echo_n "checking for $ac_header... " >&6; }
17998 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
17999 $as_echo_n "(cached) " >&6
18001 eval "$as_ac_Header=\$ac_header_preproc"
18003 ac_res=`eval 'as_val=${'$as_ac_Header'}
18004 $as_echo "$as_val"'`
18005 { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
18006 $as_echo "$ac_res" >&6; }
18009 as_val=`eval 'as_val=${'$as_ac_Header'}
18010 $as_echo "$as_val"'`
18011 if test "x$as_val" = x""yes; then
18012 cat >>confdefs.h <<_ACEOF
18013 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
18017 enable_sound_esound=no
18023 if test "x$enable_sound_esound" = "xyes"; then
18025 cat >>confdefs.h <<\_ACEOF
18026 #define HAVE_SOUND 1
18030 cat >>confdefs.h <<\_ACEOF
18031 #define HAVE_SOUND_ESD 1
18035 cat >>confdefs.h <<\_ACEOF
18036 #define USE_SOUND_LOADER_AUDIOFILE 1
18039 enable_sound=esound
18041 if test "x$enable_sound_esound" = "xyes"; then
18043 USE_LIBESD_FALSE='#'
18045 USE_LIBESD_TRUE='#'
18050 # Save CPPFLAGS/LDFLAGS and add X_... to each
18051 SAVE_CPPFLAGS="$CPPFLAGS"
18052 SAVE_LDFLAGS="$LDFLAGS"
18053 CPPFLAGS="$X_CFLAGS $CPPFLAGS"
18054 LDFLAGS="$X_LIBS $LDFLAGS"
18058 { $as_echo "$as_me:$LINENO: checking for IMLIB2" >&5
18059 $as_echo_n "checking for IMLIB2... " >&6; }
18061 if test -n "$IMLIB2_CFLAGS"; then
18062 pkg_cv_IMLIB2_CFLAGS="$IMLIB2_CFLAGS"
18063 elif test -n "$PKG_CONFIG"; then
18064 if test -n "$PKG_CONFIG" && \
18065 { ($as_echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"imlib2 >= 1.2.0\"") >&5
18066 ($PKG_CONFIG --exists --print-errors "imlib2 >= 1.2.0") 2>&5
18068 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
18069 (exit $ac_status); }; then
18070 pkg_cv_IMLIB2_CFLAGS=`$PKG_CONFIG --cflags "imlib2 >= 1.2.0" 2>/dev/null`
18077 if test -n "$IMLIB2_LIBS"; then
18078 pkg_cv_IMLIB2_LIBS="$IMLIB2_LIBS"
18079 elif test -n "$PKG_CONFIG"; then
18080 if test -n "$PKG_CONFIG" && \
18081 { ($as_echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"imlib2 >= 1.2.0\"") >&5
18082 ($PKG_CONFIG --exists --print-errors "imlib2 >= 1.2.0") 2>&5
18084 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
18085 (exit $ac_status); }; then
18086 pkg_cv_IMLIB2_LIBS=`$PKG_CONFIG --libs "imlib2 >= 1.2.0" 2>/dev/null`
18096 if test $pkg_failed = yes; then
18098 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
18099 _pkg_short_errors_supported=yes
18101 _pkg_short_errors_supported=no
18103 if test $_pkg_short_errors_supported = yes; then
18104 IMLIB2_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors "imlib2 >= 1.2.0" 2>&1`
18106 IMLIB2_PKG_ERRORS=`$PKG_CONFIG --print-errors "imlib2 >= 1.2.0" 2>&1`
18108 # Put the nasty error message in config.log where it belongs
18109 echo "$IMLIB2_PKG_ERRORS" >&5
18111 { { $as_echo "$as_me:$LINENO: error: Package requirements (imlib2 >= 1.2.0) were not met:
18115 Consider adjusting the PKG_CONFIG_PATH environment variable if you
18116 installed software in a non-standard prefix.
18118 Alternatively, you may set the environment variables IMLIB2_CFLAGS
18119 and IMLIB2_LIBS to avoid the need to call pkg-config.
18120 See the pkg-config man page for more details.
18122 $as_echo "$as_me: error: Package requirements (imlib2 >= 1.2.0) were not met:
18126 Consider adjusting the PKG_CONFIG_PATH environment variable if you
18127 installed software in a non-standard prefix.
18129 Alternatively, you may set the environment variables IMLIB2_CFLAGS
18130 and IMLIB2_LIBS to avoid the need to call pkg-config.
18131 See the pkg-config man page for more details.
18133 { (exit 1); exit 1; }; }
18134 elif test $pkg_failed = untried; then
18135 { { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
18136 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
18137 { { $as_echo "$as_me:$LINENO: error: The pkg-config script could not be found or is too old. Make sure it
18138 is in your PATH or set the PKG_CONFIG environment variable to the full
18139 path to pkg-config.
18141 Alternatively, you may set the environment variables IMLIB2_CFLAGS
18142 and IMLIB2_LIBS to avoid the need to call pkg-config.
18143 See the pkg-config man page for more details.
18145 To get pkg-config, see <http://pkg-config.freedesktop.org/>.
18146 See \`config.log' for more details." >&5
18147 $as_echo "$as_me: error: The pkg-config script could not be found or is too old. Make sure it
18148 is in your PATH or set the PKG_CONFIG environment variable to the full
18149 path to pkg-config.
18151 Alternatively, you may set the environment variables IMLIB2_CFLAGS
18152 and IMLIB2_LIBS to avoid the need to call pkg-config.
18153 See the pkg-config man page for more details.
18155 To get pkg-config, see <http://pkg-config.freedesktop.org/>.
18156 See \`config.log' for more details." >&2;}
18157 { (exit 1); exit 1; }; }; }
18159 IMLIB2_CFLAGS=$pkg_cv_IMLIB2_CFLAGS
18160 IMLIB2_LIBS=$pkg_cv_IMLIB2_LIBS
18161 { $as_echo "$as_me:$LINENO: result: yes" >&5
18162 $as_echo "yes" >&6; }
18163 have_good_imlib2=yes
18165 { $as_echo "$as_me:$LINENO: checking for imlib_context_set_mask_alpha_threshold in -lImlib2" >&5
18166 $as_echo_n "checking for imlib_context_set_mask_alpha_threshold in -lImlib2... " >&6; }
18167 if test "${ac_cv_lib_Imlib2_imlib_context_set_mask_alpha_threshold+set}" = set; then
18168 $as_echo_n "(cached) " >&6
18170 ac_check_lib_save_LIBS=$LIBS
18171 LIBS="-lImlib2 $IMLIB2_LIBS $LIBS"
18172 cat >conftest.$ac_ext <<_ACEOF
18175 cat confdefs.h >>conftest.$ac_ext
18176 cat >>conftest.$ac_ext <<_ACEOF
18177 /* end confdefs.h. */
18179 /* Override any GCC internal prototype to avoid an error.
18180 Use char because int might match the return type of a GCC
18181 builtin and then its argument prototype would still apply. */
18185 char imlib_context_set_mask_alpha_threshold ();
18189 return imlib_context_set_mask_alpha_threshold ();
18194 rm -f conftest.$ac_objext conftest$ac_exeext
18195 if { (ac_try="$ac_link"
18196 case "(($ac_try" in
18197 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18198 *) ac_try_echo=$ac_try;;
18200 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
18201 $as_echo "$ac_try_echo") >&5
18202 (eval "$ac_link") 2>conftest.er1
18204 grep -v '^ *+' conftest.er1 >conftest.err
18206 cat conftest.err >&5
18207 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
18208 (exit $ac_status); } && {
18209 test -z "$ac_c_werror_flag" ||
18210 test ! -s conftest.err
18211 } && test -s conftest$ac_exeext && {
18212 test "$cross_compiling" = yes ||
18213 $as_test_x conftest$ac_exeext
18215 ac_cv_lib_Imlib2_imlib_context_set_mask_alpha_threshold=yes
18217 $as_echo "$as_me: failed program was:" >&5
18218 sed 's/^/| /' conftest.$ac_ext >&5
18220 ac_cv_lib_Imlib2_imlib_context_set_mask_alpha_threshold=no
18223 rm -rf conftest.dSYM
18224 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
18225 conftest$ac_exeext conftest.$ac_ext
18226 LIBS=$ac_check_lib_save_LIBS
18228 { $as_echo "$as_me:$LINENO: result: $ac_cv_lib_Imlib2_imlib_context_set_mask_alpha_threshold" >&5
18229 $as_echo "$ac_cv_lib_Imlib2_imlib_context_set_mask_alpha_threshold" >&6; }
18230 if test "x$ac_cv_lib_Imlib2_imlib_context_set_mask_alpha_threshold" = x""yes; then
18232 cat >>confdefs.h <<\_ACEOF
18233 #define HAVE_IMLIB_CONTEXT_SET_MASK_ALPHA_THRESHOLD 1
18238 { $as_echo "$as_me:$LINENO: checking for imlib_context_disconnect_display in -lImlib2" >&5
18239 $as_echo_n "checking for imlib_context_disconnect_display in -lImlib2... " >&6; }
18240 if test "${ac_cv_lib_Imlib2_imlib_context_disconnect_display+set}" = set; then
18241 $as_echo_n "(cached) " >&6
18243 ac_check_lib_save_LIBS=$LIBS
18244 LIBS="-lImlib2 $IMLIB2_LIBS $LIBS"
18245 cat >conftest.$ac_ext <<_ACEOF
18248 cat confdefs.h >>conftest.$ac_ext
18249 cat >>conftest.$ac_ext <<_ACEOF
18250 /* end confdefs.h. */
18252 /* Override any GCC internal prototype to avoid an error.
18253 Use char because int might match the return type of a GCC
18254 builtin and then its argument prototype would still apply. */
18258 char imlib_context_disconnect_display ();
18262 return imlib_context_disconnect_display ();
18267 rm -f conftest.$ac_objext conftest$ac_exeext
18268 if { (ac_try="$ac_link"
18269 case "(($ac_try" in
18270 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18271 *) ac_try_echo=$ac_try;;
18273 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
18274 $as_echo "$ac_try_echo") >&5
18275 (eval "$ac_link") 2>conftest.er1
18277 grep -v '^ *+' conftest.er1 >conftest.err
18279 cat conftest.err >&5
18280 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
18281 (exit $ac_status); } && {
18282 test -z "$ac_c_werror_flag" ||
18283 test ! -s conftest.err
18284 } && test -s conftest$ac_exeext && {
18285 test "$cross_compiling" = yes ||
18286 $as_test_x conftest$ac_exeext
18288 ac_cv_lib_Imlib2_imlib_context_disconnect_display=yes
18290 $as_echo "$as_me: failed program was:" >&5
18291 sed 's/^/| /' conftest.$ac_ext >&5
18293 ac_cv_lib_Imlib2_imlib_context_disconnect_display=no
18296 rm -rf conftest.dSYM
18297 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
18298 conftest$ac_exeext conftest.$ac_ext
18299 LIBS=$ac_check_lib_save_LIBS
18301 { $as_echo "$as_me:$LINENO: result: $ac_cv_lib_Imlib2_imlib_context_disconnect_display" >&5
18302 $as_echo "$ac_cv_lib_Imlib2_imlib_context_disconnect_display" >&6; }
18303 if test "x$ac_cv_lib_Imlib2_imlib_context_disconnect_display" = x""yes; then
18305 cat >>confdefs.h <<\_ACEOF
18306 #define HAVE_IMLIB_CONTEXT_DISCONNECT_DISPLAY 1
18312 # Check whether --enable-sm was given.
18313 if test "${enable_sm+set}" = set; then
18314 enableval=$enable_sm;
18319 if test "x$enable_sm" = "xyes"; then
18321 for ac_header in X11/SM/SMlib.h
18323 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
18324 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
18325 { $as_echo "$as_me:$LINENO: checking for $ac_header" >&5
18326 $as_echo_n "checking for $ac_header... " >&6; }
18327 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
18328 $as_echo_n "(cached) " >&6
18330 ac_res=`eval 'as_val=${'$as_ac_Header'}
18331 $as_echo "$as_val"'`
18332 { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
18333 $as_echo "$ac_res" >&6; }
18335 # Is the header compilable?
18336 { $as_echo "$as_me:$LINENO: checking $ac_header usability" >&5
18337 $as_echo_n "checking $ac_header usability... " >&6; }
18338 cat >conftest.$ac_ext <<_ACEOF
18341 cat confdefs.h >>conftest.$ac_ext
18342 cat >>conftest.$ac_ext <<_ACEOF
18343 /* end confdefs.h. */
18344 $ac_includes_default
18345 #include <$ac_header>
18347 rm -f conftest.$ac_objext
18348 if { (ac_try="$ac_compile"
18349 case "(($ac_try" in
18350 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18351 *) ac_try_echo=$ac_try;;
18353 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
18354 $as_echo "$ac_try_echo") >&5
18355 (eval "$ac_compile") 2>conftest.er1
18357 grep -v '^ *+' conftest.er1 >conftest.err
18359 cat conftest.err >&5
18360 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
18361 (exit $ac_status); } && {
18362 test -z "$ac_c_werror_flag" ||
18363 test ! -s conftest.err
18364 } && test -s conftest.$ac_objext; then
18365 ac_header_compiler=yes
18367 $as_echo "$as_me: failed program was:" >&5
18368 sed 's/^/| /' conftest.$ac_ext >&5
18370 ac_header_compiler=no
18373 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18374 { $as_echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
18375 $as_echo "$ac_header_compiler" >&6; }
18377 # Is the header present?
18378 { $as_echo "$as_me:$LINENO: checking $ac_header presence" >&5
18379 $as_echo_n "checking $ac_header presence... " >&6; }
18380 cat >conftest.$ac_ext <<_ACEOF
18383 cat confdefs.h >>conftest.$ac_ext
18384 cat >>conftest.$ac_ext <<_ACEOF
18385 /* end confdefs.h. */
18386 #include <$ac_header>
18388 if { (ac_try="$ac_cpp conftest.$ac_ext"
18389 case "(($ac_try" in
18390 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18391 *) ac_try_echo=$ac_try;;
18393 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
18394 $as_echo "$ac_try_echo") >&5
18395 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
18397 grep -v '^ *+' conftest.er1 >conftest.err
18399 cat conftest.err >&5
18400 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
18401 (exit $ac_status); } >/dev/null && {
18402 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
18403 test ! -s conftest.err
18405 ac_header_preproc=yes
18407 $as_echo "$as_me: failed program was:" >&5
18408 sed 's/^/| /' conftest.$ac_ext >&5
18410 ac_header_preproc=no
18413 rm -f conftest.err conftest.$ac_ext
18414 { $as_echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
18415 $as_echo "$ac_header_preproc" >&6; }
18417 # So? What about this header?
18418 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
18420 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
18421 $as_echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
18422 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
18423 $as_echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
18424 ac_header_preproc=yes
18427 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
18428 $as_echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
18429 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
18430 $as_echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
18431 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
18432 $as_echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
18433 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
18434 $as_echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
18435 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
18436 $as_echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
18437 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
18438 $as_echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
18440 ## -------------------------------------------------------- ##
18441 ## Report this to enlightenment-devel@lists.sourceforge.net ##
18442 ## -------------------------------------------------------- ##
18444 ) | sed "s/^/$as_me: WARNING: /" >&2
18447 { $as_echo "$as_me:$LINENO: checking for $ac_header" >&5
18448 $as_echo_n "checking for $ac_header... " >&6; }
18449 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
18450 $as_echo_n "(cached) " >&6
18452 eval "$as_ac_Header=\$ac_header_preproc"
18454 ac_res=`eval 'as_val=${'$as_ac_Header'}
18455 $as_echo "$as_val"'`
18456 { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
18457 $as_echo "$ac_res" >&6; }
18460 as_val=`eval 'as_val=${'$as_ac_Header'}
18461 $as_echo "$as_val"'`
18462 if test "x$as_val" = x""yes; then
18463 cat >>confdefs.h <<_ACEOF
18464 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
18473 { $as_echo "$as_me:$LINENO: checking for SmcOpenConnection in -lSM" >&5
18474 $as_echo_n "checking for SmcOpenConnection in -lSM... " >&6; }
18475 if test "${ac_cv_lib_SM_SmcOpenConnection+set}" = set; then
18476 $as_echo_n "(cached) " >&6
18478 ac_check_lib_save_LIBS=$LIBS
18480 cat >conftest.$ac_ext <<_ACEOF
18483 cat confdefs.h >>conftest.$ac_ext
18484 cat >>conftest.$ac_ext <<_ACEOF
18485 /* end confdefs.h. */
18487 /* Override any GCC internal prototype to avoid an error.
18488 Use char because int might match the return type of a GCC
18489 builtin and then its argument prototype would still apply. */
18493 char SmcOpenConnection ();
18497 return SmcOpenConnection ();
18502 rm -f conftest.$ac_objext conftest$ac_exeext
18503 if { (ac_try="$ac_link"
18504 case "(($ac_try" in
18505 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18506 *) ac_try_echo=$ac_try;;
18508 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
18509 $as_echo "$ac_try_echo") >&5
18510 (eval "$ac_link") 2>conftest.er1
18512 grep -v '^ *+' conftest.er1 >conftest.err
18514 cat conftest.err >&5
18515 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
18516 (exit $ac_status); } && {
18517 test -z "$ac_c_werror_flag" ||
18518 test ! -s conftest.err
18519 } && test -s conftest$ac_exeext && {
18520 test "$cross_compiling" = yes ||
18521 $as_test_x conftest$ac_exeext
18523 ac_cv_lib_SM_SmcOpenConnection=yes
18525 $as_echo "$as_me: failed program was:" >&5
18526 sed 's/^/| /' conftest.$ac_ext >&5
18528 ac_cv_lib_SM_SmcOpenConnection=no
18531 rm -rf conftest.dSYM
18532 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
18533 conftest$ac_exeext conftest.$ac_ext
18534 LIBS=$ac_check_lib_save_LIBS
18536 { $as_echo "$as_me:$LINENO: result: $ac_cv_lib_SM_SmcOpenConnection" >&5
18537 $as_echo "$ac_cv_lib_SM_SmcOpenConnection" >&6; }
18538 if test "x$ac_cv_lib_SM_SmcOpenConnection" = x""yes; then
18539 SM_LIBS="-lSM -lICE"
18546 if test "x$enable_sm" = "xyes"; then
18548 cat >>confdefs.h <<\_ACEOF
18554 # Check whether --enable-pango was given.
18555 if test "${enable_pango+set}" = set; then
18556 enableval=$enable_pango;
18561 if test "x$enable_pango" = "xyes"; then
18564 { $as_echo "$as_me:$LINENO: checking for PANGO" >&5
18565 $as_echo_n "checking for PANGO... " >&6; }
18567 if test -n "$PANGO_CFLAGS"; then
18568 pkg_cv_PANGO_CFLAGS="$PANGO_CFLAGS"
18569 elif test -n "$PKG_CONFIG"; then
18570 if test -n "$PKG_CONFIG" && \
18571 { ($as_echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"pangoxft\"") >&5
18572 ($PKG_CONFIG --exists --print-errors "pangoxft") 2>&5
18574 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
18575 (exit $ac_status); }; then
18576 pkg_cv_PANGO_CFLAGS=`$PKG_CONFIG --cflags "pangoxft" 2>/dev/null`
18583 if test -n "$PANGO_LIBS"; then
18584 pkg_cv_PANGO_LIBS="$PANGO_LIBS"
18585 elif test -n "$PKG_CONFIG"; then
18586 if test -n "$PKG_CONFIG" && \
18587 { ($as_echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"pangoxft\"") >&5
18588 ($PKG_CONFIG --exists --print-errors "pangoxft") 2>&5
18590 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
18591 (exit $ac_status); }; then
18592 pkg_cv_PANGO_LIBS=`$PKG_CONFIG --libs "pangoxft" 2>/dev/null`
18602 if test $pkg_failed = yes; then
18604 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
18605 _pkg_short_errors_supported=yes
18607 _pkg_short_errors_supported=no
18609 if test $_pkg_short_errors_supported = yes; then
18610 PANGO_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors "pangoxft" 2>&1`
18612 PANGO_PKG_ERRORS=`$PKG_CONFIG --print-errors "pangoxft" 2>&1`
18614 # Put the nasty error message in config.log where it belongs
18615 echo "$PANGO_PKG_ERRORS" >&5
18617 { $as_echo "$as_me:$LINENO: result: no" >&5
18618 $as_echo "no" >&6; }
18620 elif test $pkg_failed = untried; then
18623 PANGO_CFLAGS=$pkg_cv_PANGO_CFLAGS
18624 PANGO_LIBS=$pkg_cv_PANGO_LIBS
18625 { $as_echo "$as_me:$LINENO: result: yes" >&5
18626 $as_echo "yes" >&6; }
18628 cat >>confdefs.h <<\_ACEOF
18629 #define USE_PANGO 1
18634 if test "x$enable_pango" = "xyes"; then
18636 USE_LIBPANGO_FALSE='#'
18638 USE_LIBPANGO_TRUE='#'
18639 USE_LIBPANGO_FALSE=
18643 # Check whether --enable-xft was given.
18644 if test "${enable_xft+set}" = set; then
18645 enableval=$enable_xft;
18650 if test "x$enable_xft" = "xyes"; then
18653 { $as_echo "$as_me:$LINENO: checking for XFT" >&5
18654 $as_echo_n "checking for XFT... " >&6; }
18656 if test -n "$XFT_CFLAGS"; then
18657 pkg_cv_XFT_CFLAGS="$XFT_CFLAGS"
18658 elif test -n "$PKG_CONFIG"; then
18659 if test -n "$PKG_CONFIG" && \
18660 { ($as_echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"xft\"") >&5
18661 ($PKG_CONFIG --exists --print-errors "xft") 2>&5
18663 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
18664 (exit $ac_status); }; then
18665 pkg_cv_XFT_CFLAGS=`$PKG_CONFIG --cflags "xft" 2>/dev/null`
18672 if test -n "$XFT_LIBS"; then
18673 pkg_cv_XFT_LIBS="$XFT_LIBS"
18674 elif test -n "$PKG_CONFIG"; then
18675 if test -n "$PKG_CONFIG" && \
18676 { ($as_echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"xft\"") >&5
18677 ($PKG_CONFIG --exists --print-errors "xft") 2>&5
18679 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
18680 (exit $ac_status); }; then
18681 pkg_cv_XFT_LIBS=`$PKG_CONFIG --libs "xft" 2>/dev/null`
18691 if test $pkg_failed = yes; then
18693 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
18694 _pkg_short_errors_supported=yes
18696 _pkg_short_errors_supported=no
18698 if test $_pkg_short_errors_supported = yes; then
18699 XFT_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors "xft" 2>&1`
18701 XFT_PKG_ERRORS=`$PKG_CONFIG --print-errors "xft" 2>&1`
18703 # Put the nasty error message in config.log where it belongs
18704 echo "$XFT_PKG_ERRORS" >&5
18706 { $as_echo "$as_me:$LINENO: result: no" >&5
18707 $as_echo "no" >&6; }
18709 elif test $pkg_failed = untried; then
18712 XFT_CFLAGS=$pkg_cv_XFT_CFLAGS
18713 XFT_LIBS=$pkg_cv_XFT_LIBS
18714 { $as_echo "$as_me:$LINENO: result: yes" >&5
18715 $as_echo "yes" >&6; }
18717 cat >>confdefs.h <<\_ACEOF
18723 if test "x$enable_xft" = "xyes"; then
18725 USE_LIBXFT_FALSE='#'
18727 USE_LIBXFT_TRUE='#'
18732 # Check whether --enable-ecore was given.
18733 if test "${enable_ecore+set}" = set; then
18734 enableval=$enable_ecore;
18739 if test "x$enable_ecore" = "xyes"; then
18742 { $as_echo "$as_me:$LINENO: checking for ECORE" >&5
18743 $as_echo_n "checking for ECORE... " >&6; }
18745 if test -n "$ECORE_CFLAGS"; then
18746 pkg_cv_ECORE_CFLAGS="$ECORE_CFLAGS"
18747 elif test -n "$PKG_CONFIG"; then
18748 if test -n "$PKG_CONFIG" && \
18749 { ($as_echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"ecore ecore-x\"") >&5
18750 ($PKG_CONFIG --exists --print-errors "ecore ecore-x") 2>&5
18752 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
18753 (exit $ac_status); }; then
18754 pkg_cv_ECORE_CFLAGS=`$PKG_CONFIG --cflags "ecore ecore-x" 2>/dev/null`
18761 if test -n "$ECORE_LIBS"; then
18762 pkg_cv_ECORE_LIBS="$ECORE_LIBS"
18763 elif test -n "$PKG_CONFIG"; then
18764 if test -n "$PKG_CONFIG" && \
18765 { ($as_echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"ecore ecore-x\"") >&5
18766 ($PKG_CONFIG --exists --print-errors "ecore ecore-x") 2>&5
18768 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
18769 (exit $ac_status); }; then
18770 pkg_cv_ECORE_LIBS=`$PKG_CONFIG --libs "ecore ecore-x" 2>/dev/null`
18780 if test $pkg_failed = yes; then
18782 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
18783 _pkg_short_errors_supported=yes
18785 _pkg_short_errors_supported=no
18787 if test $_pkg_short_errors_supported = yes; then
18788 ECORE_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors "ecore ecore-x" 2>&1`
18790 ECORE_PKG_ERRORS=`$PKG_CONFIG --print-errors "ecore ecore-x" 2>&1`
18792 # Put the nasty error message in config.log where it belongs
18793 echo "$ECORE_PKG_ERRORS" >&5
18795 { $as_echo "$as_me:$LINENO: result: no" >&5
18796 $as_echo "no" >&6; }
18798 elif test $pkg_failed = untried; then
18801 ECORE_CFLAGS=$pkg_cv_ECORE_CFLAGS
18802 ECORE_LIBS=$pkg_cv_ECORE_LIBS
18803 { $as_echo "$as_me:$LINENO: result: yes" >&5
18804 $as_echo "yes" >&6; }
18806 cat >>confdefs.h <<\_ACEOF
18807 #define USE_ECORE 1
18811 cat >>confdefs.h <<\_ACEOF
18812 #define USE_ECORE_X 1
18818 # Is this reasonably correct?
18819 # Check whether --enable-glx was given.
18820 if test "${enable_glx+set}" = set; then
18821 enableval=$enable_glx;
18826 if test "x$enable_glx" = "xyes"; then
18830 for ac_header in GL/gl.h GL/glu.h GL/glx.h
18832 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
18833 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
18834 { $as_echo "$as_me:$LINENO: checking for $ac_header" >&5
18835 $as_echo_n "checking for $ac_header... " >&6; }
18836 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
18837 $as_echo_n "(cached) " >&6
18839 ac_res=`eval 'as_val=${'$as_ac_Header'}
18840 $as_echo "$as_val"'`
18841 { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
18842 $as_echo "$ac_res" >&6; }
18844 # Is the header compilable?
18845 { $as_echo "$as_me:$LINENO: checking $ac_header usability" >&5
18846 $as_echo_n "checking $ac_header usability... " >&6; }
18847 cat >conftest.$ac_ext <<_ACEOF
18850 cat confdefs.h >>conftest.$ac_ext
18851 cat >>conftest.$ac_ext <<_ACEOF
18852 /* end confdefs.h. */
18853 $ac_includes_default
18854 #include <$ac_header>
18856 rm -f conftest.$ac_objext
18857 if { (ac_try="$ac_compile"
18858 case "(($ac_try" in
18859 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18860 *) ac_try_echo=$ac_try;;
18862 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
18863 $as_echo "$ac_try_echo") >&5
18864 (eval "$ac_compile") 2>conftest.er1
18866 grep -v '^ *+' conftest.er1 >conftest.err
18868 cat conftest.err >&5
18869 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
18870 (exit $ac_status); } && {
18871 test -z "$ac_c_werror_flag" ||
18872 test ! -s conftest.err
18873 } && test -s conftest.$ac_objext; then
18874 ac_header_compiler=yes
18876 $as_echo "$as_me: failed program was:" >&5
18877 sed 's/^/| /' conftest.$ac_ext >&5
18879 ac_header_compiler=no
18882 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18883 { $as_echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
18884 $as_echo "$ac_header_compiler" >&6; }
18886 # Is the header present?
18887 { $as_echo "$as_me:$LINENO: checking $ac_header presence" >&5
18888 $as_echo_n "checking $ac_header presence... " >&6; }
18889 cat >conftest.$ac_ext <<_ACEOF
18892 cat confdefs.h >>conftest.$ac_ext
18893 cat >>conftest.$ac_ext <<_ACEOF
18894 /* end confdefs.h. */
18895 #include <$ac_header>
18897 if { (ac_try="$ac_cpp conftest.$ac_ext"
18898 case "(($ac_try" in
18899 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18900 *) ac_try_echo=$ac_try;;
18902 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
18903 $as_echo "$ac_try_echo") >&5
18904 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
18906 grep -v '^ *+' conftest.er1 >conftest.err
18908 cat conftest.err >&5
18909 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
18910 (exit $ac_status); } >/dev/null && {
18911 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
18912 test ! -s conftest.err
18914 ac_header_preproc=yes
18916 $as_echo "$as_me: failed program was:" >&5
18917 sed 's/^/| /' conftest.$ac_ext >&5
18919 ac_header_preproc=no
18922 rm -f conftest.err conftest.$ac_ext
18923 { $as_echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
18924 $as_echo "$ac_header_preproc" >&6; }
18926 # So? What about this header?
18927 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
18929 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
18930 $as_echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
18931 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
18932 $as_echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
18933 ac_header_preproc=yes
18936 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
18937 $as_echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
18938 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
18939 $as_echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
18940 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
18941 $as_echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
18942 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
18943 $as_echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
18944 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
18945 $as_echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
18946 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
18947 $as_echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
18949 ## -------------------------------------------------------- ##
18950 ## Report this to enlightenment-devel@lists.sourceforge.net ##
18951 ## -------------------------------------------------------- ##
18953 ) | sed "s/^/$as_me: WARNING: /" >&2
18956 { $as_echo "$as_me:$LINENO: checking for $ac_header" >&5
18957 $as_echo_n "checking for $ac_header... " >&6; }
18958 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
18959 $as_echo_n "(cached) " >&6
18961 eval "$as_ac_Header=\$ac_header_preproc"
18963 ac_res=`eval 'as_val=${'$as_ac_Header'}
18964 $as_echo "$as_val"'`
18965 { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
18966 $as_echo "$ac_res" >&6; }
18969 as_val=`eval 'as_val=${'$as_ac_Header'}
18970 $as_echo "$as_val"'`
18971 if test "x$as_val" = x""yes; then
18972 cat >>confdefs.h <<_ACEOF
18973 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
18977 { { $as_echo "$as_me:$LINENO: error: Cannot find GLX headers" >&5
18978 $as_echo "$as_me: error: Cannot find GLX headers" >&2;}
18979 { (exit 1); exit 1; }; }
18984 { $as_echo "$as_me:$LINENO: checking for glXCreateNewContext in -lGL" >&5
18985 $as_echo_n "checking for glXCreateNewContext in -lGL... " >&6; }
18986 if test "${ac_cv_lib_GL_glXCreateNewContext+set}" = set; then
18987 $as_echo_n "(cached) " >&6
18989 ac_check_lib_save_LIBS=$LIBS
18991 cat >conftest.$ac_ext <<_ACEOF
18994 cat confdefs.h >>conftest.$ac_ext
18995 cat >>conftest.$ac_ext <<_ACEOF
18996 /* end confdefs.h. */
18998 /* Override any GCC internal prototype to avoid an error.
18999 Use char because int might match the return type of a GCC
19000 builtin and then its argument prototype would still apply. */
19004 char glXCreateNewContext ();
19008 return glXCreateNewContext ();
19013 rm -f conftest.$ac_objext conftest$ac_exeext
19014 if { (ac_try="$ac_link"
19015 case "(($ac_try" in
19016 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19017 *) ac_try_echo=$ac_try;;
19019 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
19020 $as_echo "$ac_try_echo") >&5
19021 (eval "$ac_link") 2>conftest.er1
19023 grep -v '^ *+' conftest.er1 >conftest.err
19025 cat conftest.err >&5
19026 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
19027 (exit $ac_status); } && {
19028 test -z "$ac_c_werror_flag" ||
19029 test ! -s conftest.err
19030 } && test -s conftest$ac_exeext && {
19031 test "$cross_compiling" = yes ||
19032 $as_test_x conftest$ac_exeext
19034 ac_cv_lib_GL_glXCreateNewContext=yes
19036 $as_echo "$as_me: failed program was:" >&5
19037 sed 's/^/| /' conftest.$ac_ext >&5
19039 ac_cv_lib_GL_glXCreateNewContext=no
19042 rm -rf conftest.dSYM
19043 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
19044 conftest$ac_exeext conftest.$ac_ext
19045 LIBS=$ac_check_lib_save_LIBS
19047 { $as_echo "$as_me:$LINENO: result: $ac_cv_lib_GL_glXCreateNewContext" >&5
19048 $as_echo "$ac_cv_lib_GL_glXCreateNewContext" >&6; }
19049 if test "x$ac_cv_lib_GL_glXCreateNewContext" = x""yes; then
19052 cat >>confdefs.h <<\_ACEOF
19056 GLX_LIBS="-lGL -lGLU"
19060 { { $as_echo "$as_me:$LINENO: error: Cannot find GLX libraries" >&5
19061 $as_echo "$as_me: error: Cannot find GLX libraries" >&2;}
19062 { (exit 1); exit 1; }; }
19066 { $as_echo "$as_me:$LINENO: checking for glXBindTexImageEXT in -lGL" >&5
19067 $as_echo_n "checking for glXBindTexImageEXT in -lGL... " >&6; }
19068 if test "${ac_cv_lib_GL_glXBindTexImageEXT+set}" = set; then
19069 $as_echo_n "(cached) " >&6
19071 ac_check_lib_save_LIBS=$LIBS
19073 cat >conftest.$ac_ext <<_ACEOF
19076 cat confdefs.h >>conftest.$ac_ext
19077 cat >>conftest.$ac_ext <<_ACEOF
19078 /* end confdefs.h. */
19080 /* Override any GCC internal prototype to avoid an error.
19081 Use char because int might match the return type of a GCC
19082 builtin and then its argument prototype would still apply. */
19086 char glXBindTexImageEXT ();
19090 return glXBindTexImageEXT ();
19095 rm -f conftest.$ac_objext conftest$ac_exeext
19096 if { (ac_try="$ac_link"
19097 case "(($ac_try" in
19098 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19099 *) ac_try_echo=$ac_try;;
19101 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
19102 $as_echo "$ac_try_echo") >&5
19103 (eval "$ac_link") 2>conftest.er1
19105 grep -v '^ *+' conftest.er1 >conftest.err
19107 cat conftest.err >&5
19108 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
19109 (exit $ac_status); } && {
19110 test -z "$ac_c_werror_flag" ||
19111 test ! -s conftest.err
19112 } && test -s conftest$ac_exeext && {
19113 test "$cross_compiling" = yes ||
19114 $as_test_x conftest$ac_exeext
19116 ac_cv_lib_GL_glXBindTexImageEXT=yes
19118 $as_echo "$as_me: failed program was:" >&5
19119 sed 's/^/| /' conftest.$ac_ext >&5
19121 ac_cv_lib_GL_glXBindTexImageEXT=no
19124 rm -rf conftest.dSYM
19125 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
19126 conftest$ac_exeext conftest.$ac_ext
19127 LIBS=$ac_check_lib_save_LIBS
19129 { $as_echo "$as_me:$LINENO: result: $ac_cv_lib_GL_glXBindTexImageEXT" >&5
19130 $as_echo "$ac_cv_lib_GL_glXBindTexImageEXT" >&6; }
19131 if test "x$ac_cv_lib_GL_glXBindTexImageEXT" = x""yes; then
19133 cat >>confdefs.h <<\_ACEOF
19134 #define HAVE_GLX_glXBindTexImageEXT 1
19141 if test "x$enable_glx" = "xyes"; then
19143 ENABLE_GLX_FALSE='#'
19145 ENABLE_GLX_TRUE='#'
19150 { $as_echo "$as_me:$LINENO: checking for XShapeQueryExtension in -lXext" >&5
19151 $as_echo_n "checking for XShapeQueryExtension in -lXext... " >&6; }
19152 if test "${ac_cv_lib_Xext_XShapeQueryExtension+set}" = set; then
19153 $as_echo_n "(cached) " >&6
19155 ac_check_lib_save_LIBS=$LIBS
19156 LIBS="-lXext -lX11 $LIBS"
19157 cat >conftest.$ac_ext <<_ACEOF
19160 cat confdefs.h >>conftest.$ac_ext
19161 cat >>conftest.$ac_ext <<_ACEOF
19162 /* end confdefs.h. */
19164 /* Override any GCC internal prototype to avoid an error.
19165 Use char because int might match the return type of a GCC
19166 builtin and then its argument prototype would still apply. */
19170 char XShapeQueryExtension ();
19174 return XShapeQueryExtension ();
19179 rm -f conftest.$ac_objext conftest$ac_exeext
19180 if { (ac_try="$ac_link"
19181 case "(($ac_try" in
19182 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19183 *) ac_try_echo=$ac_try;;
19185 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
19186 $as_echo "$ac_try_echo") >&5
19187 (eval "$ac_link") 2>conftest.er1
19189 grep -v '^ *+' conftest.er1 >conftest.err
19191 cat conftest.err >&5
19192 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
19193 (exit $ac_status); } && {
19194 test -z "$ac_c_werror_flag" ||
19195 test ! -s conftest.err
19196 } && test -s conftest$ac_exeext && {
19197 test "$cross_compiling" = yes ||
19198 $as_test_x conftest$ac_exeext
19200 ac_cv_lib_Xext_XShapeQueryExtension=yes
19202 $as_echo "$as_me: failed program was:" >&5
19203 sed 's/^/| /' conftest.$ac_ext >&5
19205 ac_cv_lib_Xext_XShapeQueryExtension=no
19208 rm -rf conftest.dSYM
19209 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
19210 conftest$ac_exeext conftest.$ac_ext
19211 LIBS=$ac_check_lib_save_LIBS
19213 { $as_echo "$as_me:$LINENO: result: $ac_cv_lib_Xext_XShapeQueryExtension" >&5
19214 $as_echo "$ac_cv_lib_Xext_XShapeQueryExtension" >&6; }
19215 if test "x$ac_cv_lib_Xext_XShapeQueryExtension" = x""yes; then
19216 E_X_LIBS="-lXext $E_X_LIBS"
19218 { { $as_echo "$as_me:$LINENO: error: Shape support is required but was not found" >&5
19219 $as_echo "$as_me: error: Shape support is required but was not found" >&2;}
19220 { (exit 1); exit 1; }; }
19224 # Check whether --enable-xinerama was given.
19225 if test "${enable_xinerama+set}" = set; then
19226 enableval=$enable_xinerama;
19228 enable_xinerama=yes
19231 if test "x$enable_xinerama" = "xyes"; then
19232 { $as_echo "$as_me:$LINENO: checking for XineramaQueryExtension in -lXinerama" >&5
19233 $as_echo_n "checking for XineramaQueryExtension in -lXinerama... " >&6; }
19234 if test "${ac_cv_lib_Xinerama_XineramaQueryExtension+set}" = set; then
19235 $as_echo_n "(cached) " >&6
19237 ac_check_lib_save_LIBS=$LIBS
19238 LIBS="-lXinerama -lXext -lX11 $LIBS"
19239 cat >conftest.$ac_ext <<_ACEOF
19242 cat confdefs.h >>conftest.$ac_ext
19243 cat >>conftest.$ac_ext <<_ACEOF
19244 /* end confdefs.h. */
19246 /* Override any GCC internal prototype to avoid an error.
19247 Use char because int might match the return type of a GCC
19248 builtin and then its argument prototype would still apply. */
19252 char XineramaQueryExtension ();
19256 return XineramaQueryExtension ();
19261 rm -f conftest.$ac_objext conftest$ac_exeext
19262 if { (ac_try="$ac_link"
19263 case "(($ac_try" in
19264 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19265 *) ac_try_echo=$ac_try;;
19267 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
19268 $as_echo "$ac_try_echo") >&5
19269 (eval "$ac_link") 2>conftest.er1
19271 grep -v '^ *+' conftest.er1 >conftest.err
19273 cat conftest.err >&5
19274 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
19275 (exit $ac_status); } && {
19276 test -z "$ac_c_werror_flag" ||
19277 test ! -s conftest.err
19278 } && test -s conftest$ac_exeext && {
19279 test "$cross_compiling" = yes ||
19280 $as_test_x conftest$ac_exeext
19282 ac_cv_lib_Xinerama_XineramaQueryExtension=yes
19284 $as_echo "$as_me: failed program was:" >&5
19285 sed 's/^/| /' conftest.$ac_ext >&5
19287 ac_cv_lib_Xinerama_XineramaQueryExtension=no
19290 rm -rf conftest.dSYM
19291 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
19292 conftest$ac_exeext conftest.$ac_ext
19293 LIBS=$ac_check_lib_save_LIBS
19295 { $as_echo "$as_me:$LINENO: result: $ac_cv_lib_Xinerama_XineramaQueryExtension" >&5
19296 $as_echo "$ac_cv_lib_Xinerama_XineramaQueryExtension" >&6; }
19297 if test "x$ac_cv_lib_Xinerama_XineramaQueryExtension" = x""yes; then
19299 cat >>confdefs.h <<\_ACEOF
19300 #define USE_XINERAMA 1
19303 XINERAMA_LIBS="-lXinerama"
19306 { $as_echo "$as_me:$LINENO: WARNING: Xinerama support was requested but not found" >&5
19307 $as_echo "$as_me: WARNING: Xinerama support was requested but not found" >&2;}
19313 # Check whether --enable-zoom was given.
19314 if test "${enable_zoom+set}" = set; then
19315 enableval=$enable_zoom;
19320 if test "x$enable_zoom" = "xyes"; then
19321 { $as_echo "$as_me:$LINENO: checking for XF86VidModeQueryExtension in -lXxf86vm" >&5
19322 $as_echo_n "checking for XF86VidModeQueryExtension in -lXxf86vm... " >&6; }
19323 if test "${ac_cv_lib_Xxf86vm_XF86VidModeQueryExtension+set}" = set; then
19324 $as_echo_n "(cached) " >&6
19326 ac_check_lib_save_LIBS=$LIBS
19327 LIBS="-lXxf86vm -lXext -lX11 $LIBS"
19328 cat >conftest.$ac_ext <<_ACEOF
19331 cat confdefs.h >>conftest.$ac_ext
19332 cat >>conftest.$ac_ext <<_ACEOF
19333 /* end confdefs.h. */
19335 /* Override any GCC internal prototype to avoid an error.
19336 Use char because int might match the return type of a GCC
19337 builtin and then its argument prototype would still apply. */
19341 char XF86VidModeQueryExtension ();
19345 return XF86VidModeQueryExtension ();
19350 rm -f conftest.$ac_objext conftest$ac_exeext
19351 if { (ac_try="$ac_link"
19352 case "(($ac_try" in
19353 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19354 *) ac_try_echo=$ac_try;;
19356 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
19357 $as_echo "$ac_try_echo") >&5
19358 (eval "$ac_link") 2>conftest.er1
19360 grep -v '^ *+' conftest.er1 >conftest.err
19362 cat conftest.err >&5
19363 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
19364 (exit $ac_status); } && {
19365 test -z "$ac_c_werror_flag" ||
19366 test ! -s conftest.err
19367 } && test -s conftest$ac_exeext && {
19368 test "$cross_compiling" = yes ||
19369 $as_test_x conftest$ac_exeext
19371 ac_cv_lib_Xxf86vm_XF86VidModeQueryExtension=yes
19373 $as_echo "$as_me: failed program was:" >&5
19374 sed 's/^/| /' conftest.$ac_ext >&5
19376 ac_cv_lib_Xxf86vm_XF86VidModeQueryExtension=no
19379 rm -rf conftest.dSYM
19380 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
19381 conftest$ac_exeext conftest.$ac_ext
19382 LIBS=$ac_check_lib_save_LIBS
19384 { $as_echo "$as_me:$LINENO: result: $ac_cv_lib_Xxf86vm_XF86VidModeQueryExtension" >&5
19385 $as_echo "$ac_cv_lib_Xxf86vm_XF86VidModeQueryExtension" >&6; }
19386 if test "x$ac_cv_lib_Xxf86vm_XF86VidModeQueryExtension" = x""yes; then
19388 cat >>confdefs.h <<\_ACEOF
19389 #define WITH_ZOOM 1
19392 E_X_LIBS="-lXxf86vm $E_X_LIBS"
19395 { $as_echo "$as_me:$LINENO: WARNING: Zoom support was requested but not found" >&5
19396 $as_echo "$as_me: WARNING: Zoom support was requested but not found" >&2;}
19401 # Check whether --enable-xsync was given.
19402 if test "${enable_xsync+set}" = set; then
19403 enableval=$enable_xsync;
19408 if test "x$enable_xsync" = "xyes"; then
19409 { $as_echo "$as_me:$LINENO: checking for XSyncQueryExtension in -lXext" >&5
19410 $as_echo_n "checking for XSyncQueryExtension in -lXext... " >&6; }
19411 if test "${ac_cv_lib_Xext_XSyncQueryExtension+set}" = set; then
19412 $as_echo_n "(cached) " >&6
19414 ac_check_lib_save_LIBS=$LIBS
19415 LIBS="-lXext -lX11 $LIBS"
19416 cat >conftest.$ac_ext <<_ACEOF
19419 cat confdefs.h >>conftest.$ac_ext
19420 cat >>conftest.$ac_ext <<_ACEOF
19421 /* end confdefs.h. */
19423 /* Override any GCC internal prototype to avoid an error.
19424 Use char because int might match the return type of a GCC
19425 builtin and then its argument prototype would still apply. */
19429 char XSyncQueryExtension ();
19433 return XSyncQueryExtension ();
19438 rm -f conftest.$ac_objext conftest$ac_exeext
19439 if { (ac_try="$ac_link"
19440 case "(($ac_try" in
19441 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19442 *) ac_try_echo=$ac_try;;
19444 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
19445 $as_echo "$ac_try_echo") >&5
19446 (eval "$ac_link") 2>conftest.er1
19448 grep -v '^ *+' conftest.er1 >conftest.err
19450 cat conftest.err >&5
19451 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
19452 (exit $ac_status); } && {
19453 test -z "$ac_c_werror_flag" ||
19454 test ! -s conftest.err
19455 } && test -s conftest$ac_exeext && {
19456 test "$cross_compiling" = yes ||
19457 $as_test_x conftest$ac_exeext
19459 ac_cv_lib_Xext_XSyncQueryExtension=yes
19461 $as_echo "$as_me: failed program was:" >&5
19462 sed 's/^/| /' conftest.$ac_ext >&5
19464 ac_cv_lib_Xext_XSyncQueryExtension=no
19467 rm -rf conftest.dSYM
19468 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
19469 conftest$ac_exeext conftest.$ac_ext
19470 LIBS=$ac_check_lib_save_LIBS
19472 { $as_echo "$as_me:$LINENO: result: $ac_cv_lib_Xext_XSyncQueryExtension" >&5
19473 $as_echo "$ac_cv_lib_Xext_XSyncQueryExtension" >&6; }
19474 if test "x$ac_cv_lib_Xext_XSyncQueryExtension" = x""yes; then
19476 cat >>confdefs.h <<\_ACEOF
19477 #define USE_XSYNC 1
19482 { $as_echo "$as_me:$LINENO: WARNING: Sync support was requested but not found" >&5
19483 $as_echo "$as_me: WARNING: Sync support was requested but not found" >&2;}
19488 # Check whether --enable-xscrnsaver was given.
19489 if test "${enable_xscrnsaver+set}" = set; then
19490 enableval=$enable_xscrnsaver;
19492 enable_xscrnsaver=no
19495 if test "x$enable_xscrnsaver" = "xyes"; then
19496 { $as_echo "$as_me:$LINENO: checking for XScreenSaverQueryExtension in -lXss" >&5
19497 $as_echo_n "checking for XScreenSaverQueryExtension in -lXss... " >&6; }
19498 if test "${ac_cv_lib_Xss_XScreenSaverQueryExtension+set}" = set; then
19499 $as_echo_n "(cached) " >&6
19501 ac_check_lib_save_LIBS=$LIBS
19502 LIBS="-lXss -lXext -lX11 $LIBS"
19503 cat >conftest.$ac_ext <<_ACEOF
19506 cat confdefs.h >>conftest.$ac_ext
19507 cat >>conftest.$ac_ext <<_ACEOF
19508 /* end confdefs.h. */
19510 /* Override any GCC internal prototype to avoid an error.
19511 Use char because int might match the return type of a GCC
19512 builtin and then its argument prototype would still apply. */
19516 char XScreenSaverQueryExtension ();
19520 return XScreenSaverQueryExtension ();
19525 rm -f conftest.$ac_objext conftest$ac_exeext
19526 if { (ac_try="$ac_link"
19527 case "(($ac_try" in
19528 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19529 *) ac_try_echo=$ac_try;;
19531 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
19532 $as_echo "$ac_try_echo") >&5
19533 (eval "$ac_link") 2>conftest.er1
19535 grep -v '^ *+' conftest.er1 >conftest.err
19537 cat conftest.err >&5
19538 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
19539 (exit $ac_status); } && {
19540 test -z "$ac_c_werror_flag" ||
19541 test ! -s conftest.err
19542 } && test -s conftest$ac_exeext && {
19543 test "$cross_compiling" = yes ||
19544 $as_test_x conftest$ac_exeext
19546 ac_cv_lib_Xss_XScreenSaverQueryExtension=yes
19548 $as_echo "$as_me: failed program was:" >&5
19549 sed 's/^/| /' conftest.$ac_ext >&5
19551 ac_cv_lib_Xss_XScreenSaverQueryExtension=no
19554 rm -rf conftest.dSYM
19555 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
19556 conftest$ac_exeext conftest.$ac_ext
19557 LIBS=$ac_check_lib_save_LIBS
19559 { $as_echo "$as_me:$LINENO: result: $ac_cv_lib_Xss_XScreenSaverQueryExtension" >&5
19560 $as_echo "$ac_cv_lib_Xss_XScreenSaverQueryExtension" >&6; }
19561 if test "x$ac_cv_lib_Xss_XScreenSaverQueryExtension" = x""yes; then
19563 cat >>confdefs.h <<\_ACEOF
19564 #define USE_XSCREENSAVER 1
19567 E_X_LIBS="-lXss $E_X_LIBS"
19569 enable_xscrnsaver=no
19570 { $as_echo "$as_me:$LINENO: WARNING: ScreenSaver support was requested but not found" >&5
19571 $as_echo "$as_me: WARNING: ScreenSaver support was requested but not found" >&2;}
19576 # Check whether --enable-xrandr was given.
19577 if test "${enable_xrandr+set}" = set; then
19578 enableval=$enable_xrandr;
19583 if test "x$enable_xrandr" = "xyes"; then
19584 { $as_echo "$as_me:$LINENO: checking for XRRQueryExtension in -lXrandr" >&5
19585 $as_echo_n "checking for XRRQueryExtension in -lXrandr... " >&6; }
19586 if test "${ac_cv_lib_Xrandr_XRRQueryExtension+set}" = set; then
19587 $as_echo_n "(cached) " >&6
19589 ac_check_lib_save_LIBS=$LIBS
19590 LIBS="-lXrandr -lXrender -lXext -lX11 $LIBS"
19591 cat >conftest.$ac_ext <<_ACEOF
19594 cat confdefs.h >>conftest.$ac_ext
19595 cat >>conftest.$ac_ext <<_ACEOF
19596 /* end confdefs.h. */
19598 /* Override any GCC internal prototype to avoid an error.
19599 Use char because int might match the return type of a GCC
19600 builtin and then its argument prototype would still apply. */
19604 char XRRQueryExtension ();
19608 return XRRQueryExtension ();
19613 rm -f conftest.$ac_objext conftest$ac_exeext
19614 if { (ac_try="$ac_link"
19615 case "(($ac_try" in
19616 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19617 *) ac_try_echo=$ac_try;;
19619 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
19620 $as_echo "$ac_try_echo") >&5
19621 (eval "$ac_link") 2>conftest.er1
19623 grep -v '^ *+' conftest.er1 >conftest.err
19625 cat conftest.err >&5
19626 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
19627 (exit $ac_status); } && {
19628 test -z "$ac_c_werror_flag" ||
19629 test ! -s conftest.err
19630 } && test -s conftest$ac_exeext && {
19631 test "$cross_compiling" = yes ||
19632 $as_test_x conftest$ac_exeext
19634 ac_cv_lib_Xrandr_XRRQueryExtension=yes
19636 $as_echo "$as_me: failed program was:" >&5
19637 sed 's/^/| /' conftest.$ac_ext >&5
19639 ac_cv_lib_Xrandr_XRRQueryExtension=no
19642 rm -rf conftest.dSYM
19643 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
19644 conftest$ac_exeext conftest.$ac_ext
19645 LIBS=$ac_check_lib_save_LIBS
19647 { $as_echo "$as_me:$LINENO: result: $ac_cv_lib_Xrandr_XRRQueryExtension" >&5
19648 $as_echo "$ac_cv_lib_Xrandr_XRRQueryExtension" >&6; }
19649 if test "x$ac_cv_lib_Xrandr_XRRQueryExtension" = x""yes; then
19651 cat >>confdefs.h <<\_ACEOF
19652 #define USE_XRANDR 1
19655 E_X_LIBS="-lXrandr -lXrender $E_X_LIBS"
19658 { $as_echo "$as_me:$LINENO: WARNING: RandR support was requested but not found" >&5
19659 $as_echo "$as_me: WARNING: RandR support was requested but not found" >&2;}
19663 for ac_header in X11/extensions/Xrandr.h
19665 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
19666 { $as_echo "$as_me:$LINENO: checking for $ac_header" >&5
19667 $as_echo_n "checking for $ac_header... " >&6; }
19668 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
19669 $as_echo_n "(cached) " >&6
19671 cat >conftest.$ac_ext <<_ACEOF
19674 cat confdefs.h >>conftest.$ac_ext
19675 cat >>conftest.$ac_ext <<_ACEOF
19676 /* end confdefs.h. */
19677 #include <X11/Xlib.h>
19679 #include <$ac_header>
19681 rm -f conftest.$ac_objext
19682 if { (ac_try="$ac_compile"
19683 case "(($ac_try" in
19684 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19685 *) ac_try_echo=$ac_try;;
19687 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
19688 $as_echo "$ac_try_echo") >&5
19689 (eval "$ac_compile") 2>conftest.er1
19691 grep -v '^ *+' conftest.er1 >conftest.err
19693 cat conftest.err >&5
19694 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
19695 (exit $ac_status); } && {
19696 test -z "$ac_c_werror_flag" ||
19697 test ! -s conftest.err
19698 } && test -s conftest.$ac_objext; then
19699 eval "$as_ac_Header=yes"
19701 $as_echo "$as_me: failed program was:" >&5
19702 sed 's/^/| /' conftest.$ac_ext >&5
19704 eval "$as_ac_Header=no"
19707 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19709 ac_res=`eval 'as_val=${'$as_ac_Header'}
19710 $as_echo "$as_val"'`
19711 { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
19712 $as_echo "$ac_res" >&6; }
19713 as_val=`eval 'as_val=${'$as_ac_Header'}
19714 $as_echo "$as_val"'`
19715 if test "x$as_val" = x""yes; then
19716 cat >>confdefs.h <<_ACEOF
19717 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
19726 # FIXME - Do this properly
19727 # Check whether --enable-composite was given.
19728 if test "${enable_composite+set}" = set; then
19729 enableval=$enable_composite;
19731 enable_composite=yes
19734 if test "x$enable_composite" = "xyes"; then
19735 { $as_echo "$as_me:$LINENO: checking for XCompositeQueryExtension in -lXcomposite" >&5
19736 $as_echo_n "checking for XCompositeQueryExtension in -lXcomposite... " >&6; }
19737 if test "${ac_cv_lib_Xcomposite_XCompositeQueryExtension+set}" = set; then
19738 $as_echo_n "(cached) " >&6
19740 ac_check_lib_save_LIBS=$LIBS
19741 LIBS="-lXcomposite -lXext -lX11 $LIBS"
19742 cat >conftest.$ac_ext <<_ACEOF
19745 cat confdefs.h >>conftest.$ac_ext
19746 cat >>conftest.$ac_ext <<_ACEOF
19747 /* end confdefs.h. */
19749 /* Override any GCC internal prototype to avoid an error.
19750 Use char because int might match the return type of a GCC
19751 builtin and then its argument prototype would still apply. */
19755 char XCompositeQueryExtension ();
19759 return XCompositeQueryExtension ();
19764 rm -f conftest.$ac_objext conftest$ac_exeext
19765 if { (ac_try="$ac_link"
19766 case "(($ac_try" in
19767 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19768 *) ac_try_echo=$ac_try;;
19770 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
19771 $as_echo "$ac_try_echo") >&5
19772 (eval "$ac_link") 2>conftest.er1
19774 grep -v '^ *+' conftest.er1 >conftest.err
19776 cat conftest.err >&5
19777 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
19778 (exit $ac_status); } && {
19779 test -z "$ac_c_werror_flag" ||
19780 test ! -s conftest.err
19781 } && test -s conftest$ac_exeext && {
19782 test "$cross_compiling" = yes ||
19783 $as_test_x conftest$ac_exeext
19785 ac_cv_lib_Xcomposite_XCompositeQueryExtension=yes
19787 $as_echo "$as_me: failed program was:" >&5
19788 sed 's/^/| /' conftest.$ac_ext >&5
19790 ac_cv_lib_Xcomposite_XCompositeQueryExtension=no
19793 rm -rf conftest.dSYM
19794 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
19795 conftest$ac_exeext conftest.$ac_ext
19796 LIBS=$ac_check_lib_save_LIBS
19798 { $as_echo "$as_me:$LINENO: result: $ac_cv_lib_Xcomposite_XCompositeQueryExtension" >&5
19799 $as_echo "$ac_cv_lib_Xcomposite_XCompositeQueryExtension" >&6; }
19800 if test "x$ac_cv_lib_Xcomposite_XCompositeQueryExtension" = x""yes; then
19802 cat >>confdefs.h <<\_ACEOF
19803 #define USE_COMPOSITE 1
19806 E_X_LIBS="-lXcomposite -lXdamage -lXfixes -lXrender $E_X_LIBS"
19808 enable_composite=no
19812 for ac_header in X11/extensions/Xcomposite.h
19814 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
19815 { $as_echo "$as_me:$LINENO: checking for $ac_header" >&5
19816 $as_echo_n "checking for $ac_header... " >&6; }
19817 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
19818 $as_echo_n "(cached) " >&6
19820 cat >conftest.$ac_ext <<_ACEOF
19823 cat confdefs.h >>conftest.$ac_ext
19824 cat >>conftest.$ac_ext <<_ACEOF
19825 /* end confdefs.h. */
19826 #include <X11/Xlib.h>
19828 #include <$ac_header>
19830 rm -f conftest.$ac_objext
19831 if { (ac_try="$ac_compile"
19832 case "(($ac_try" in
19833 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19834 *) ac_try_echo=$ac_try;;
19836 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
19837 $as_echo "$ac_try_echo") >&5
19838 (eval "$ac_compile") 2>conftest.er1
19840 grep -v '^ *+' conftest.er1 >conftest.err
19842 cat conftest.err >&5
19843 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
19844 (exit $ac_status); } && {
19845 test -z "$ac_c_werror_flag" ||
19846 test ! -s conftest.err
19847 } && test -s conftest.$ac_objext; then
19848 eval "$as_ac_Header=yes"
19850 $as_echo "$as_me: failed program was:" >&5
19851 sed 's/^/| /' conftest.$ac_ext >&5
19853 eval "$as_ac_Header=no"
19856 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19858 ac_res=`eval 'as_val=${'$as_ac_Header'}
19859 $as_echo "$as_val"'`
19860 { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
19861 $as_echo "$ac_res" >&6; }
19862 as_val=`eval 'as_val=${'$as_ac_Header'}
19863 $as_echo "$as_val"'`
19864 if test "x$as_val" = x""yes; then
19865 cat >>confdefs.h <<_ACEOF
19866 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
19870 enable_composite=no
19876 for ac_header in X11/extensions/Xdamage.h
19878 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
19879 { $as_echo "$as_me:$LINENO: checking for $ac_header" >&5
19880 $as_echo_n "checking for $ac_header... " >&6; }
19881 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
19882 $as_echo_n "(cached) " >&6
19884 cat >conftest.$ac_ext <<_ACEOF
19887 cat confdefs.h >>conftest.$ac_ext
19888 cat >>conftest.$ac_ext <<_ACEOF
19889 /* end confdefs.h. */
19890 #include <X11/Xlib.h>
19892 #include <$ac_header>
19894 rm -f conftest.$ac_objext
19895 if { (ac_try="$ac_compile"
19896 case "(($ac_try" in
19897 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19898 *) ac_try_echo=$ac_try;;
19900 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
19901 $as_echo "$ac_try_echo") >&5
19902 (eval "$ac_compile") 2>conftest.er1
19904 grep -v '^ *+' conftest.er1 >conftest.err
19906 cat conftest.err >&5
19907 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
19908 (exit $ac_status); } && {
19909 test -z "$ac_c_werror_flag" ||
19910 test ! -s conftest.err
19911 } && test -s conftest.$ac_objext; then
19912 eval "$as_ac_Header=yes"
19914 $as_echo "$as_me: failed program was:" >&5
19915 sed 's/^/| /' conftest.$ac_ext >&5
19917 eval "$as_ac_Header=no"
19920 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19922 ac_res=`eval 'as_val=${'$as_ac_Header'}
19923 $as_echo "$as_val"'`
19924 { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
19925 $as_echo "$ac_res" >&6; }
19926 as_val=`eval 'as_val=${'$as_ac_Header'}
19927 $as_echo "$as_val"'`
19928 if test "x$as_val" = x""yes; then
19929 cat >>confdefs.h <<_ACEOF
19930 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
19934 enable_composite=no
19940 for ac_header in X11/extensions/Xfixes.h
19942 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
19943 { $as_echo "$as_me:$LINENO: checking for $ac_header" >&5
19944 $as_echo_n "checking for $ac_header... " >&6; }
19945 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
19946 $as_echo_n "(cached) " >&6
19948 cat >conftest.$ac_ext <<_ACEOF
19951 cat confdefs.h >>conftest.$ac_ext
19952 cat >>conftest.$ac_ext <<_ACEOF
19953 /* end confdefs.h. */
19954 #include <X11/Xlib.h>
19956 #include <$ac_header>
19958 rm -f conftest.$ac_objext
19959 if { (ac_try="$ac_compile"
19960 case "(($ac_try" in
19961 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19962 *) ac_try_echo=$ac_try;;
19964 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
19965 $as_echo "$ac_try_echo") >&5
19966 (eval "$ac_compile") 2>conftest.er1
19968 grep -v '^ *+' conftest.er1 >conftest.err
19970 cat conftest.err >&5
19971 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
19972 (exit $ac_status); } && {
19973 test -z "$ac_c_werror_flag" ||
19974 test ! -s conftest.err
19975 } && test -s conftest.$ac_objext; then
19976 eval "$as_ac_Header=yes"
19978 $as_echo "$as_me: failed program was:" >&5
19979 sed 's/^/| /' conftest.$ac_ext >&5
19981 eval "$as_ac_Header=no"
19984 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19986 ac_res=`eval 'as_val=${'$as_ac_Header'}
19987 $as_echo "$as_val"'`
19988 { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
19989 $as_echo "$ac_res" >&6; }
19990 as_val=`eval 'as_val=${'$as_ac_Header'}
19991 $as_echo "$as_val"'`
19992 if test "x$as_val" = x""yes; then
19993 cat >>confdefs.h <<_ACEOF
19994 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
19998 enable_composite=no
20004 for ac_header in X11/extensions/Xrender.h
20006 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
20007 { $as_echo "$as_me:$LINENO: checking for $ac_header" >&5
20008 $as_echo_n "checking for $ac_header... " >&6; }
20009 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
20010 $as_echo_n "(cached) " >&6
20012 cat >conftest.$ac_ext <<_ACEOF
20015 cat confdefs.h >>conftest.$ac_ext
20016 cat >>conftest.$ac_ext <<_ACEOF
20017 /* end confdefs.h. */
20018 #include <X11/Xlib.h>
20020 #include <$ac_header>
20022 rm -f conftest.$ac_objext
20023 if { (ac_try="$ac_compile"
20024 case "(($ac_try" in
20025 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20026 *) ac_try_echo=$ac_try;;
20028 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
20029 $as_echo "$ac_try_echo") >&5
20030 (eval "$ac_compile") 2>conftest.er1
20032 grep -v '^ *+' conftest.er1 >conftest.err
20034 cat conftest.err >&5
20035 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
20036 (exit $ac_status); } && {
20037 test -z "$ac_c_werror_flag" ||
20038 test ! -s conftest.err
20039 } && test -s conftest.$ac_objext; then
20040 eval "$as_ac_Header=yes"
20042 $as_echo "$as_me: failed program was:" >&5
20043 sed 's/^/| /' conftest.$ac_ext >&5
20045 eval "$as_ac_Header=no"
20048 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20050 ac_res=`eval 'as_val=${'$as_ac_Header'}
20051 $as_echo "$as_val"'`
20052 { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
20053 $as_echo "$ac_res" >&6; }
20054 as_val=`eval 'as_val=${'$as_ac_Header'}
20055 $as_echo "$as_val"'`
20056 if test "x$as_val" = x""yes; then
20057 cat >>confdefs.h <<_ACEOF
20058 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
20062 enable_composite=no
20067 if test "x$enable_composite" != "xyes"; then
20068 { $as_echo "$as_me:$LINENO: WARNING: Composite support was requested but required component was not found" >&5
20069 $as_echo "$as_me: WARNING: Composite support was requested but required component was not found" >&2;}
20072 if test "x$enable_composite" = "xyes"; then
20073 ENABLE_COMPOSITE_TRUE=
20074 ENABLE_COMPOSITE_FALSE='#'
20076 ENABLE_COMPOSITE_TRUE='#'
20077 ENABLE_COMPOSITE_FALSE=
20081 # Check whether --enable-dbus was given.
20082 if test "${enable_dbus+set}" = set; then
20083 enableval=$enable_dbus;
20088 if test "x$enable_dbus" = "xyes"; then
20091 { $as_echo "$as_me:$LINENO: checking for DBUS" >&5
20092 $as_echo_n "checking for DBUS... " >&6; }
20094 if test -n "$DBUS_CFLAGS"; then
20095 pkg_cv_DBUS_CFLAGS="$DBUS_CFLAGS"
20096 elif test -n "$PKG_CONFIG"; then
20097 if test -n "$PKG_CONFIG" && \
20098 { ($as_echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"dbus-1\"") >&5
20099 ($PKG_CONFIG --exists --print-errors "dbus-1") 2>&5
20101 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
20102 (exit $ac_status); }; then
20103 pkg_cv_DBUS_CFLAGS=`$PKG_CONFIG --cflags "dbus-1" 2>/dev/null`
20110 if test -n "$DBUS_LIBS"; then
20111 pkg_cv_DBUS_LIBS="$DBUS_LIBS"
20112 elif test -n "$PKG_CONFIG"; then
20113 if test -n "$PKG_CONFIG" && \
20114 { ($as_echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"dbus-1\"") >&5
20115 ($PKG_CONFIG --exists --print-errors "dbus-1") 2>&5
20117 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
20118 (exit $ac_status); }; then
20119 pkg_cv_DBUS_LIBS=`$PKG_CONFIG --libs "dbus-1" 2>/dev/null`
20129 if test $pkg_failed = yes; then
20131 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
20132 _pkg_short_errors_supported=yes
20134 _pkg_short_errors_supported=no
20136 if test $_pkg_short_errors_supported = yes; then
20137 DBUS_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors "dbus-1" 2>&1`
20139 DBUS_PKG_ERRORS=`$PKG_CONFIG --print-errors "dbus-1" 2>&1`
20141 # Put the nasty error message in config.log where it belongs
20142 echo "$DBUS_PKG_ERRORS" >&5
20144 { $as_echo "$as_me:$LINENO: result: no" >&5
20145 $as_echo "no" >&6; }
20147 elif test $pkg_failed = untried; then
20150 DBUS_CFLAGS=$pkg_cv_DBUS_CFLAGS
20151 DBUS_LIBS=$pkg_cv_DBUS_LIBS
20152 { $as_echo "$as_me:$LINENO: result: yes" >&5
20153 $as_echo "yes" >&6; }
20155 cat >>confdefs.h <<\_ACEOF
20161 if test "x$enable_dbus" = "xyes"; then
20163 ENABLE_DBUS_FALSE='#'
20165 ENABLE_DBUS_TRUE='#'
20171 { $as_echo "$as_me:$LINENO: checking for mass_quantities_of_bass_ale in -lFridge" >&5
20172 $as_echo_n "checking for mass_quantities_of_bass_ale in -lFridge... " >&6; }
20173 if test "${ac_cv_lib_Fridge_mass_quantities_of_bass_ale+set}" = set; then
20174 $as_echo_n "(cached) " >&6
20176 ac_check_lib_save_LIBS=$LIBS
20177 LIBS="-lFridge $LIBS"
20178 cat >conftest.$ac_ext <<_ACEOF
20181 cat confdefs.h >>conftest.$ac_ext
20182 cat >>conftest.$ac_ext <<_ACEOF
20183 /* end confdefs.h. */
20185 /* Override any GCC internal prototype to avoid an error.
20186 Use char because int might match the return type of a GCC
20187 builtin and then its argument prototype would still apply. */
20191 char mass_quantities_of_bass_ale ();
20195 return mass_quantities_of_bass_ale ();
20200 rm -f conftest.$ac_objext conftest$ac_exeext
20201 if { (ac_try="$ac_link"
20202 case "(($ac_try" in
20203 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20204 *) ac_try_echo=$ac_try;;
20206 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
20207 $as_echo "$ac_try_echo") >&5
20208 (eval "$ac_link") 2>conftest.er1
20210 grep -v '^ *+' conftest.er1 >conftest.err
20212 cat conftest.err >&5
20213 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
20214 (exit $ac_status); } && {
20215 test -z "$ac_c_werror_flag" ||
20216 test ! -s conftest.err
20217 } && test -s conftest$ac_exeext && {
20218 test "$cross_compiling" = yes ||
20219 $as_test_x conftest$ac_exeext
20221 ac_cv_lib_Fridge_mass_quantities_of_bass_ale=yes
20223 $as_echo "$as_me: failed program was:" >&5
20224 sed 's/^/| /' conftest.$ac_ext >&5
20226 ac_cv_lib_Fridge_mass_quantities_of_bass_ale=no
20229 rm -rf conftest.dSYM
20230 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
20231 conftest$ac_exeext conftest.$ac_ext
20232 LIBS=$ac_check_lib_save_LIBS
20234 { $as_echo "$as_me:$LINENO: result: $ac_cv_lib_Fridge_mass_quantities_of_bass_ale" >&5
20235 $as_echo "$ac_cv_lib_Fridge_mass_quantities_of_bass_ale" >&6; }
20236 if test "x$ac_cv_lib_Fridge_mass_quantities_of_bass_ale" = x""yes; then
20237 cat >>confdefs.h <<_ACEOF
20238 #define HAVE_LIBFRIDGE 1
20241 LIBS="-lFridge $LIBS"
20246 { $as_echo "$as_me:$LINENO: checking for mass_quantities_of_any_ale in -lFridge" >&5
20247 $as_echo_n "checking for mass_quantities_of_any_ale in -lFridge... " >&6; }
20248 if test "${ac_cv_lib_Fridge_mass_quantities_of_any_ale+set}" = set; then
20249 $as_echo_n "(cached) " >&6
20251 ac_check_lib_save_LIBS=$LIBS
20252 LIBS="-lFridge $LIBS"
20253 cat >conftest.$ac_ext <<_ACEOF
20256 cat confdefs.h >>conftest.$ac_ext
20257 cat >>conftest.$ac_ext <<_ACEOF
20258 /* end confdefs.h. */
20260 /* Override any GCC internal prototype to avoid an error.
20261 Use char because int might match the return type of a GCC
20262 builtin and then its argument prototype would still apply. */
20266 char mass_quantities_of_any_ale ();
20270 return mass_quantities_of_any_ale ();
20275 rm -f conftest.$ac_objext conftest$ac_exeext
20276 if { (ac_try="$ac_link"
20277 case "(($ac_try" in
20278 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20279 *) ac_try_echo=$ac_try;;
20281 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
20282 $as_echo "$ac_try_echo") >&5
20283 (eval "$ac_link") 2>conftest.er1
20285 grep -v '^ *+' conftest.er1 >conftest.err
20287 cat conftest.err >&5
20288 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
20289 (exit $ac_status); } && {
20290 test -z "$ac_c_werror_flag" ||
20291 test ! -s conftest.err
20292 } && test -s conftest$ac_exeext && {
20293 test "$cross_compiling" = yes ||
20294 $as_test_x conftest$ac_exeext
20296 ac_cv_lib_Fridge_mass_quantities_of_any_ale=yes
20298 $as_echo "$as_me: failed program was:" >&5
20299 sed 's/^/| /' conftest.$ac_ext >&5
20301 ac_cv_lib_Fridge_mass_quantities_of_any_ale=no
20304 rm -rf conftest.dSYM
20305 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
20306 conftest$ac_exeext conftest.$ac_ext
20307 LIBS=$ac_check_lib_save_LIBS
20309 { $as_echo "$as_me:$LINENO: result: $ac_cv_lib_Fridge_mass_quantities_of_any_ale" >&5
20310 $as_echo "$ac_cv_lib_Fridge_mass_quantities_of_any_ale" >&6; }
20311 if test "x$ac_cv_lib_Fridge_mass_quantities_of_any_ale" = x""yes; then
20312 cat >>confdefs.h <<_ACEOF
20313 #define HAVE_LIBFRIDGE 1
20316 LIBS="-lFridge $LIBS"
20320 echo "Warning: No ales were found in your refrigerator."
20321 echo " We highly suggest that you rectify this situation immediately."
20326 # Restore CPPFLAGS/LDFLAGS
20327 CPPFLAGS="$SAVE_CPPFLAGS"
20328 LDFLAGS="$SAVE_LDFLAGS"
20330 # Check whether --enable-roothacklib was given.
20331 if test "${enable_roothacklib+set}" = set; then
20332 enableval=$enable_roothacklib;
20334 enable_roothacklib=yes
20337 if test "x$enable_roothacklib" = "xyes"; then
20338 { $as_echo "$as_me:$LINENO: checking for dlopen in -ldl" >&5
20339 $as_echo_n "checking for dlopen in -ldl... " >&6; }
20340 if test "${ac_cv_lib_dl_dlopen+set}" = set; then
20341 $as_echo_n "(cached) " >&6
20343 ac_check_lib_save_LIBS=$LIBS
20345 cat >conftest.$ac_ext <<_ACEOF
20348 cat confdefs.h >>conftest.$ac_ext
20349 cat >>conftest.$ac_ext <<_ACEOF
20350 /* end confdefs.h. */
20352 /* Override any GCC internal prototype to avoid an error.
20353 Use char because int might match the return type of a GCC
20354 builtin and then its argument prototype would still apply. */
20367 rm -f conftest.$ac_objext conftest$ac_exeext
20368 if { (ac_try="$ac_link"
20369 case "(($ac_try" in
20370 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20371 *) ac_try_echo=$ac_try;;
20373 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
20374 $as_echo "$ac_try_echo") >&5
20375 (eval "$ac_link") 2>conftest.er1
20377 grep -v '^ *+' conftest.er1 >conftest.err
20379 cat conftest.err >&5
20380 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
20381 (exit $ac_status); } && {
20382 test -z "$ac_c_werror_flag" ||
20383 test ! -s conftest.err
20384 } && test -s conftest$ac_exeext && {
20385 test "$cross_compiling" = yes ||
20386 $as_test_x conftest$ac_exeext
20388 ac_cv_lib_dl_dlopen=yes
20390 $as_echo "$as_me: failed program was:" >&5
20391 sed 's/^/| /' conftest.$ac_ext >&5
20393 ac_cv_lib_dl_dlopen=no
20396 rm -rf conftest.dSYM
20397 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
20398 conftest$ac_exeext conftest.$ac_ext
20399 LIBS=$ac_check_lib_save_LIBS
20401 { $as_echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dlopen" >&5
20402 $as_echo "$ac_cv_lib_dl_dlopen" >&6; }
20403 if test "x$ac_cv_lib_dl_dlopen" = x""yes; then
20406 enable_roothacklib=no
20411 if test "x$enable_roothacklib" = "xyes"; then
20413 cat >>confdefs.h <<\_ACEOF
20414 #define USE_ROOTHACKLIB 1
20418 if test "x$enable_roothacklib" = "xyes"; then
20419 BUILD_ROOTHACKLIB_TRUE=
20420 BUILD_ROOTHACKLIB_FALSE='#'
20422 BUILD_ROOTHACKLIB_TRUE='#'
20423 BUILD_ROOTHACKLIB_FALSE=
20427 # Check whether --enable-modules was given.
20428 if test "${enable_modules+set}" = set; then
20429 enableval=$enable_modules;
20434 if test "x$enable_modules" = "xyes"; then
20435 { $as_echo "$as_me:$LINENO: checking for dlopen in -ldl" >&5
20436 $as_echo_n "checking for dlopen in -ldl... " >&6; }
20437 if test "${ac_cv_lib_dl_dlopen+set}" = set; then
20438 $as_echo_n "(cached) " >&6
20440 ac_check_lib_save_LIBS=$LIBS
20442 cat >conftest.$ac_ext <<_ACEOF
20445 cat confdefs.h >>conftest.$ac_ext
20446 cat >>conftest.$ac_ext <<_ACEOF
20447 /* end confdefs.h. */
20449 /* Override any GCC internal prototype to avoid an error.
20450 Use char because int might match the return type of a GCC
20451 builtin and then its argument prototype would still apply. */
20464 rm -f conftest.$ac_objext conftest$ac_exeext
20465 if { (ac_try="$ac_link"
20466 case "(($ac_try" in
20467 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20468 *) ac_try_echo=$ac_try;;
20470 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
20471 $as_echo "$ac_try_echo") >&5
20472 (eval "$ac_link") 2>conftest.er1
20474 grep -v '^ *+' conftest.er1 >conftest.err
20476 cat conftest.err >&5
20477 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
20478 (exit $ac_status); } && {
20479 test -z "$ac_c_werror_flag" ||
20480 test ! -s conftest.err
20481 } && test -s conftest$ac_exeext && {
20482 test "$cross_compiling" = yes ||
20483 $as_test_x conftest$ac_exeext
20485 ac_cv_lib_dl_dlopen=yes
20487 $as_echo "$as_me: failed program was:" >&5
20488 sed 's/^/| /' conftest.$ac_ext >&5
20490 ac_cv_lib_dl_dlopen=no
20493 rm -rf conftest.dSYM
20494 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
20495 conftest$ac_exeext conftest.$ac_ext
20496 LIBS=$ac_check_lib_save_LIBS
20498 { $as_echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dlopen" >&5
20499 $as_echo "$ac_cv_lib_dl_dlopen" >&6; }
20500 if test "x$ac_cv_lib_dl_dlopen" = x""yes; then
20508 if test "x$enable_modules" = "xyes"; then
20510 cat >>confdefs.h <<\_ACEOF
20511 #define USE_MODULES 1
20515 if test "x$enable_modules" = "xyes"; then
20516 BUILD_MODULES_TRUE=
20517 BUILD_MODULES_FALSE='#'
20519 BUILD_MODULES_TRUE='#'
20520 BUILD_MODULES_FALSE=
20524 # Check whether --enable-visibility-hiding was given.
20525 if test "${enable_visibility_hiding+set}" = set; then
20526 enableval=$enable_visibility_hiding;
20528 enable_visibility_hiding=no
20532 if test "x$enable_visibility_hiding" = xyes ; then
20533 CPPFLAGS="$CPPFLAGS -fvisibility=hidden"
20536 # Check whether --enable-dialogs was given.
20537 if test "${enable_dialogs+set}" = set; then
20538 enableval=$enable_dialogs;
20543 if test "x$enable_dialogs" = "xyes"; then
20545 cat >>confdefs.h <<\_ACEOF
20546 #define ENABLE_DIALOGS 1
20551 # Check whether --enable-docs was given.
20552 if test "${enable_docs+set}" = set; then
20553 enableval=$enable_docs;
20558 if test "x$enable_docs" = "xyes"; then
20559 # Extract the first word of "xmlto", so it can be a program name with args.
20560 set dummy xmlto; ac_word=$2
20561 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
20562 $as_echo_n "checking for $ac_word... " >&6; }
20563 if test "${ac_cv_prog_XMLTO+set}" = set; then
20564 $as_echo_n "(cached) " >&6
20566 if test -n "$XMLTO"; then
20567 ac_cv_prog_XMLTO="$XMLTO" # Let the user override the test.
20569 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
20570 for as_dir in $PATH
20573 test -z "$as_dir" && as_dir=.
20574 for ac_exec_ext in '' $ac_executable_extensions; do
20575 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
20576 ac_cv_prog_XMLTO="xmlto"
20577 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
20586 XMLTO=$ac_cv_prog_XMLTO
20587 if test -n "$XMLTO"; then
20588 { $as_echo "$as_me:$LINENO: result: $XMLTO" >&5
20589 $as_echo "$XMLTO" >&6; }
20591 { $as_echo "$as_me:$LINENO: result: no" >&5
20592 $as_echo "no" >&6; }
20596 if test "x$XMLTO" = "x"; then
20600 if test "x$XMLTO" != "x"; then
20602 HAVE_XMLTO_FALSE='#'
20604 HAVE_XMLTO_TRUE='#'
20609 # Check whether --enable-gcc-cpp was given.
20610 if test "${enable_gcc_cpp+set}" = set; then
20611 enableval=$enable_gcc_cpp;
20616 if test "x$enable_gcc_cpp" = "xyes"; then
20618 CPPFLAGS="$CPPFLAGS -x c++"
20622 # Check whether --enable-werror was given.
20623 if test "${enable_werror+set}" = set; then
20624 enableval=$enable_werror;
20630 if test "x$GCC" = "xyes"; then
20631 CWARNFLAGS="-W -Wall -Waggregate-return -Wcast-align -Wpointer-arith -Wshadow -Wwrite-strings"
20634 if test "x$enable_werror" = "xyes"; then
20635 CWARNFLAGS="$CWARNFLAGS -Werror"
20644 # Check whether --enable-werror was given.
20645 if test "${enable_werror+set}" = set; then
20646 enableval=$enable_werror;
20652 if test "x$GCC" = "xyes"; then
20653 CWARNFLAGS="-W -Wall -Waggregate-return -Wcast-align -Wpointer-arith -Wshadow -Wwrite-strings"
20655 CWARNFLAGS="$CWARNFLAGS -Wmissing-prototypes -Wmissing-declarations -Wstrict-prototypes"
20658 if test "x$enable_werror" = "xyes"; then
20659 CWARNFLAGS="$CWARNFLAGS -Werror"
20667 cat >>confdefs.h <<\_ACEOF
20668 #define _GNU_SOURCE 1
20673 cat >>confdefs.h <<\_ACEOF
20674 #define USE_EXT_INIT_WIN 1
20679 cat >>confdefs.h <<\_ACEOF
20680 #define ENABLE_DESKRAY 0
20685 cat >>confdefs.h <<\_ACEOF
20686 #define ENABLE_TRANSPARENCY 1
20690 cat >>confdefs.h <<\_ACEOF
20691 #define ENABLE_THEME_TRANSPARENCY 1
20697 ac_config_headers="$ac_config_headers config.h"
20700 ac_config_files="$ac_config_files Makefile src/Makefile dox/Makefile dox/E-docs/Makefile eesh/Makefile epp/Makefile lib/Makefile config/Makefile config/pix/Makefile themes/Makefile fonts/Makefile scripts/Makefile misc/Makefile docs/Makefile po/Makefile.in e16.spec"
20702 cat >confcache <<\_ACEOF
20703 # This file is a shell script that caches the results of configure
20704 # tests run on this system so they can be shared between configure
20705 # scripts and configure runs, see configure's option --config-cache.
20706 # It is not useful on other systems. If it contains results you don't
20707 # want to keep, you may remove or edit it.
20709 # config.status only pays attention to the cache file if you give it
20710 # the --recheck option to rerun configure.
20712 # `ac_cv_env_foo' variables (set or unset) will be overridden when
20713 # loading this file, other *unset* `ac_cv_foo' will be assigned the
20714 # following values.
20718 # The following way of writing the cache mishandles newlines in values,
20719 # but we know of no workaround that is simple, portable, and efficient.
20720 # So, we kill variables containing newlines.
20721 # Ultrix sh set writes to stderr and can't be redirected directly,
20722 # and sets the high bit in the cache file unless we assign to the vars.
20724 for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
20725 eval ac_val=\$$ac_var
20729 *_cv_*) { $as_echo "$as_me:$LINENO: WARNING: cache variable $ac_var contains a newline" >&5
20730 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
20733 _ | IFS | as_nl) ;; #(
20734 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
20735 *) $as_unset $ac_var ;;
20741 case $as_nl`(ac_space=' '; set) 2>&1` in #(
20742 *${as_nl}ac_space=\ *)
20743 # `set' does not quote correctly, so add quotes (double-quote
20744 # substitution turns \\\\ into \\, and sed turns \\ into \).
20747 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
20750 # `set' quotes correctly as required by POSIX, so do not add quotes.
20751 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
20760 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
20762 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
20764 if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
20765 if test -w "$cache_file"; then
20766 test "x$cache_file" != "x/dev/null" &&
20767 { $as_echo "$as_me:$LINENO: updating cache $cache_file" >&5
20768 $as_echo "$as_me: updating cache $cache_file" >&6;}
20769 cat confcache >$cache_file
20771 { $as_echo "$as_me:$LINENO: not updating unwritable cache $cache_file" >&5
20772 $as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
20777 test "x$prefix" = xNONE && prefix=$ac_default_prefix
20778 # Let make expand exec_prefix.
20779 test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
20781 DEFS=-DHAVE_CONFIG_H
20785 for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
20786 # 1. Remove the extension, and $U if already installed.
20787 ac_script='s/\$U\././;s/\.o$//;s/\.obj$//'
20788 ac_i=`$as_echo "$ac_i" | sed "$ac_script"`
20789 # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR
20790 # will be set to the directory where LIBOBJS objects are built.
20791 ac_libobjs="$ac_libobjs \${LIBOBJDIR}$ac_i\$U.$ac_objext"
20792 ac_ltlibobjs="$ac_ltlibobjs \${LIBOBJDIR}$ac_i"'$U.lo'
20794 LIBOBJS=$ac_libobjs
20796 LTLIBOBJS=$ac_ltlibobjs
20799 if test -z "${MAINTAINER_MODE_TRUE}" && test -z "${MAINTAINER_MODE_FALSE}"; then
20800 { { $as_echo "$as_me:$LINENO: error: conditional \"MAINTAINER_MODE\" was never defined.
20801 Usually this means the macro was only invoked conditionally." >&5
20802 $as_echo "$as_me: error: conditional \"MAINTAINER_MODE\" was never defined.
20803 Usually this means the macro was only invoked conditionally." >&2;}
20804 { (exit 1); exit 1; }; }
20806 if test -z "${AMDEP_TRUE}" && test -z "${AMDEP_FALSE}"; then
20807 { { $as_echo "$as_me:$LINENO: error: conditional \"AMDEP\" was never defined.
20808 Usually this means the macro was only invoked conditionally." >&5
20809 $as_echo "$as_me: error: conditional \"AMDEP\" was never defined.
20810 Usually this means the macro was only invoked conditionally." >&2;}
20811 { (exit 1); exit 1; }; }
20813 if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
20814 { { $as_echo "$as_me:$LINENO: error: conditional \"am__fastdepCC\" was never defined.
20815 Usually this means the macro was only invoked conditionally." >&5
20816 $as_echo "$as_me: error: conditional \"am__fastdepCC\" was never defined.
20817 Usually this means the macro was only invoked conditionally." >&2;}
20818 { (exit 1); exit 1; }; }
20821 if test -z "${USE_ESNPRINTF_TRUE}" && test -z "${USE_ESNPRINTF_FALSE}"; then
20822 { { $as_echo "$as_me:$LINENO: error: conditional \"USE_ESNPRINTF\" was never defined.
20823 Usually this means the macro was only invoked conditionally." >&5
20824 $as_echo "$as_me: error: conditional \"USE_ESNPRINTF\" was never defined.
20825 Usually this means the macro was only invoked conditionally." >&2;}
20826 { (exit 1); exit 1; }; }
20828 if test -z "${ENABLE_GNOME_TRUE}" && test -z "${ENABLE_GNOME_FALSE}"; then
20829 { { $as_echo "$as_me:$LINENO: error: conditional \"ENABLE_GNOME\" was never defined.
20830 Usually this means the macro was only invoked conditionally." >&5
20831 $as_echo "$as_me: error: conditional \"ENABLE_GNOME\" was never defined.
20832 Usually this means the macro was only invoked conditionally." >&2;}
20833 { (exit 1); exit 1; }; }
20835 if test -z "${USE_LIBPA_TRUE}" && test -z "${USE_LIBPA_FALSE}"; then
20836 { { $as_echo "$as_me:$LINENO: error: conditional \"USE_LIBPA\" was never defined.
20837 Usually this means the macro was only invoked conditionally." >&5
20838 $as_echo "$as_me: error: conditional \"USE_LIBPA\" was never defined.
20839 Usually this means the macro was only invoked conditionally." >&2;}
20840 { (exit 1); exit 1; }; }
20842 if test -z "${USE_LIBESD_TRUE}" && test -z "${USE_LIBESD_FALSE}"; then
20843 { { $as_echo "$as_me:$LINENO: error: conditional \"USE_LIBESD\" was never defined.
20844 Usually this means the macro was only invoked conditionally." >&5
20845 $as_echo "$as_me: error: conditional \"USE_LIBESD\" was never defined.
20846 Usually this means the macro was only invoked conditionally." >&2;}
20847 { (exit 1); exit 1; }; }
20849 if test -z "${USE_LIBPANGO_TRUE}" && test -z "${USE_LIBPANGO_FALSE}"; then
20850 { { $as_echo "$as_me:$LINENO: error: conditional \"USE_LIBPANGO\" was never defined.
20851 Usually this means the macro was only invoked conditionally." >&5
20852 $as_echo "$as_me: error: conditional \"USE_LIBPANGO\" was never defined.
20853 Usually this means the macro was only invoked conditionally." >&2;}
20854 { (exit 1); exit 1; }; }
20856 if test -z "${USE_LIBXFT_TRUE}" && test -z "${USE_LIBXFT_FALSE}"; then
20857 { { $as_echo "$as_me:$LINENO: error: conditional \"USE_LIBXFT\" was never defined.
20858 Usually this means the macro was only invoked conditionally." >&5
20859 $as_echo "$as_me: error: conditional \"USE_LIBXFT\" was never defined.
20860 Usually this means the macro was only invoked conditionally." >&2;}
20861 { (exit 1); exit 1; }; }
20863 if test -z "${ENABLE_GLX_TRUE}" && test -z "${ENABLE_GLX_FALSE}"; then
20864 { { $as_echo "$as_me:$LINENO: error: conditional \"ENABLE_GLX\" was never defined.
20865 Usually this means the macro was only invoked conditionally." >&5
20866 $as_echo "$as_me: error: conditional \"ENABLE_GLX\" was never defined.
20867 Usually this means the macro was only invoked conditionally." >&2;}
20868 { (exit 1); exit 1; }; }
20870 if test -z "${ENABLE_COMPOSITE_TRUE}" && test -z "${ENABLE_COMPOSITE_FALSE}"; then
20871 { { $as_echo "$as_me:$LINENO: error: conditional \"ENABLE_COMPOSITE\" was never defined.
20872 Usually this means the macro was only invoked conditionally." >&5
20873 $as_echo "$as_me: error: conditional \"ENABLE_COMPOSITE\" was never defined.
20874 Usually this means the macro was only invoked conditionally." >&2;}
20875 { (exit 1); exit 1; }; }
20877 if test -z "${ENABLE_DBUS_TRUE}" && test -z "${ENABLE_DBUS_FALSE}"; then
20878 { { $as_echo "$as_me:$LINENO: error: conditional \"ENABLE_DBUS\" was never defined.
20879 Usually this means the macro was only invoked conditionally." >&5
20880 $as_echo "$as_me: error: conditional \"ENABLE_DBUS\" was never defined.
20881 Usually this means the macro was only invoked conditionally." >&2;}
20882 { (exit 1); exit 1; }; }
20884 if test -z "${BUILD_ROOTHACKLIB_TRUE}" && test -z "${BUILD_ROOTHACKLIB_FALSE}"; then
20885 { { $as_echo "$as_me:$LINENO: error: conditional \"BUILD_ROOTHACKLIB\" was never defined.
20886 Usually this means the macro was only invoked conditionally." >&5
20887 $as_echo "$as_me: error: conditional \"BUILD_ROOTHACKLIB\" was never defined.
20888 Usually this means the macro was only invoked conditionally." >&2;}
20889 { (exit 1); exit 1; }; }
20891 if test -z "${BUILD_MODULES_TRUE}" && test -z "${BUILD_MODULES_FALSE}"; then
20892 { { $as_echo "$as_me:$LINENO: error: conditional \"BUILD_MODULES\" was never defined.
20893 Usually this means the macro was only invoked conditionally." >&5
20894 $as_echo "$as_me: error: conditional \"BUILD_MODULES\" was never defined.
20895 Usually this means the macro was only invoked conditionally." >&2;}
20896 { (exit 1); exit 1; }; }
20898 if test -z "${HAVE_XMLTO_TRUE}" && test -z "${HAVE_XMLTO_FALSE}"; then
20899 { { $as_echo "$as_me:$LINENO: error: conditional \"HAVE_XMLTO\" was never defined.
20900 Usually this means the macro was only invoked conditionally." >&5
20901 $as_echo "$as_me: error: conditional \"HAVE_XMLTO\" was never defined.
20902 Usually this means the macro was only invoked conditionally." >&2;}
20903 { (exit 1); exit 1; }; }
20906 : ${CONFIG_STATUS=./config.status}
20908 ac_clean_files_save=$ac_clean_files
20909 ac_clean_files="$ac_clean_files $CONFIG_STATUS"
20910 { $as_echo "$as_me:$LINENO: creating $CONFIG_STATUS" >&5
20911 $as_echo "$as_me: creating $CONFIG_STATUS" >&6;}
20912 cat >$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
20914 # Generated by $as_me.
20915 # Run this file to recreate the current configuration.
20916 # Compiler output produced by configure, useful for debugging
20917 # configure, is in config.log if it exists.
20920 ac_cs_recheck=false
20922 SHELL=\${CONFIG_SHELL-$SHELL}
20925 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
20926 ## --------------------- ##
20927 ## M4sh Initialization. ##
20928 ## --------------------- ##
20930 # Be more Bourne compatible
20931 DUALCASE=1; export DUALCASE # for MKS sh
20932 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
20935 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
20936 # is contrary to our usage. Disable this feature.
20937 alias -g '${1+"$@"}'='"$@"'
20938 setopt NO_GLOB_SUBST
20940 case `(set -o) 2>/dev/null` in
20941 *posix*) set -o posix ;;
20950 # Avoid depending upon Character Ranges.
20951 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
20952 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
20953 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
20954 as_cr_digits='0123456789'
20955 as_cr_alnum=$as_cr_Letters$as_cr_digits
20960 # Printing a long string crashes Solaris 7 /usr/bin/printf.
20961 as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
20962 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
20963 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
20964 if (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
20965 as_echo='printf %s\n'
20966 as_echo_n='printf %s'
20968 if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
20969 as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
20970 as_echo_n='/usr/ucb/echo -n'
20972 as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
20973 as_echo_n_body='eval
20977 expr "X$arg" : "X\\(.*\\)$as_nl";
20978 arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
20980 expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
20982 export as_echo_n_body
20983 as_echo_n='sh -c $as_echo_n_body as_echo'
20985 export as_echo_body
20986 as_echo='sh -c $as_echo_body as_echo'
20989 # The user is always right.
20990 if test "${PATH_SEPARATOR+set}" != set; then
20992 (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
20993 (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
20998 # Support unset when possible.
20999 if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
21007 # We need space, tab and new line, in precisely that order. Quoting is
21008 # there to prevent editors from complaining about space-tab.
21009 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
21010 # splitting by setting IFS to empty value.)
21013 # Find who we are. Look in the path if we contain no directory separator.
21015 *[\\/]* ) as_myself=$0 ;;
21016 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
21017 for as_dir in $PATH
21020 test -z "$as_dir" && as_dir=.
21021 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
21027 # We did not find ourselves, most probably we were run as `sh COMMAND'
21028 # in which case we are not to be found in the path.
21029 if test "x$as_myself" = x; then
21032 if test ! -f "$as_myself"; then
21033 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
21034 { (exit 1); exit 1; }
21037 # Work around bugs in pre-3.0 UWIN ksh.
21038 for as_var in ENV MAIL MAILPATH
21039 do ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
21051 # Required to use basename.
21052 if expr a : '\(a\)' >/dev/null 2>&1 &&
21053 test "X`expr 00001 : '.*\(...\)'`" = X001; then
21059 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
21060 as_basename=basename
21066 # Name of the executable.
21067 as_me=`$as_basename -- "$0" ||
21068 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
21069 X"$0" : 'X\(//\)$' \| \
21070 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
21072 sed '/^.*\/\([^/][^/]*\)\/*$/{
21091 as_lineno_1=$LINENO
21092 as_lineno_2=$LINENO
21093 test "x$as_lineno_1" != "x$as_lineno_2" &&
21094 test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2" || {
21096 # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
21097 # uniformly replaced by the line number. The first 'sed' inserts a
21098 # line-number line after each line using $LINENO; the second 'sed'
21099 # does the real work. The second script uses 'N' to pair each
21100 # line-number line with the line containing $LINENO, and appends
21101 # trailing '-' during substitution so that $LINENO is not a special
21102 # case at line end.
21103 # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
21104 # scripts with optimization help from Paolo Bonzini. Blame Lee
21105 # E. McMahon (1931-1989) for sed's syntax. :-)
21117 s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
21120 ' >$as_me.lineno &&
21121 chmod +x "$as_me.lineno" ||
21122 { $as_echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2
21123 { (exit 1); exit 1; }; }
21125 # Don't try to exec as it changes $[0], causing all sort of problems
21126 # (the dirname of $[0] is not the place where we might find the
21127 # original and so on. Autoconf is especially sensitive to this).
21128 . "./$as_me.lineno"
21129 # Exit status is that of the last command.
21134 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
21140 ECHO_C= ECHO_N= ECHO_T=
21141 case `echo -n x` in
21143 case `echo 'x\c'` in
21144 *c*) ECHO_T=' ';; # ECHO_T is single tab character.
21150 if expr a : '\(a\)' >/dev/null 2>&1 &&
21151 test "X`expr 00001 : '.*\(...\)'`" = X001; then
21157 rm -f conf$$ conf$$.exe conf$$.file
21158 if test -d conf$$.dir; then
21159 rm -f conf$$.dir/conf$$.file
21162 mkdir conf$$.dir 2>/dev/null
21164 if (echo >conf$$.file) 2>/dev/null; then
21165 if ln -s conf$$.file conf$$ 2>/dev/null; then
21167 # ... but there are two gotchas:
21168 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
21169 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
21170 # In both cases, we have to default to `cp -p'.
21171 ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
21173 elif ln conf$$.file conf$$ 2>/dev/null; then
21181 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
21182 rmdir conf$$.dir 2>/dev/null
21184 if mkdir -p . 2>/dev/null; then
21187 test -d ./-p && rmdir ./-p
21191 if test -x / >/dev/null 2>&1; then
21192 as_test_x='test -x'
21194 if ls -dL / >/dev/null 2>&1; then
21201 if test -d "$1"; then
21207 case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in
21208 ???[sx]*):;;*)false;;esac;fi
21212 as_executable_p=$as_test_x
21214 # Sed expression to map a string onto a valid CPP name.
21215 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
21217 # Sed expression to map a string onto a valid variable name.
21218 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
21223 # Save the log message, to keep $[0] and so on meaningful, and to
21224 # report actual input values of CONFIG_FILES etc. instead of their
21225 # values after options handling.
21227 This file was extended by e16 $as_me 1.0.0, which was
21228 generated by GNU Autoconf 2.63. Invocation command line was
21230 CONFIG_FILES = $CONFIG_FILES
21231 CONFIG_HEADERS = $CONFIG_HEADERS
21232 CONFIG_LINKS = $CONFIG_LINKS
21233 CONFIG_COMMANDS = $CONFIG_COMMANDS
21236 on `(hostname || uname -n) 2>/dev/null | sed 1q`
21241 case $ac_config_files in *"
21242 "*) set x $ac_config_files; shift; ac_config_files=$*;;
21245 case $ac_config_headers in *"
21246 "*) set x $ac_config_headers; shift; ac_config_headers=$*;;
21250 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
21251 # Files that config.status was made for.
21252 config_files="$ac_config_files"
21253 config_headers="$ac_config_headers"
21254 config_commands="$ac_config_commands"
21258 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
21260 \`$as_me' instantiates files from templates according to the
21261 current configuration.
21263 Usage: $0 [OPTION]... [FILE]...
21265 -h, --help print this help, then exit
21266 -V, --version print version number and configuration settings, then exit
21267 -q, --quiet, --silent
21268 do not print progress messages
21269 -d, --debug don't remove temporary files
21270 --recheck update $as_me by reconfiguring in the same conditions
21271 --file=FILE[:TEMPLATE]
21272 instantiate the configuration file FILE
21273 --header=FILE[:TEMPLATE]
21274 instantiate the configuration header FILE
21276 Configuration files:
21279 Configuration headers:
21282 Configuration commands:
21285 Report bugs to <bug-autoconf@gnu.org>."
21288 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
21290 e16 config.status 1.0.0
21291 configured by $0, generated by GNU Autoconf 2.63,
21292 with options \\"`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`\\"
21294 Copyright (C) 2008 Free Software Foundation, Inc.
21295 This config.status script is free software; the Free Software Foundation
21296 gives unlimited permission to copy, distribute and modify it."
21303 test -n "\$AWK" || AWK=awk
21306 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
21307 # The default lists apply if the user does not specify any file.
21313 ac_option=`expr "X$1" : 'X\([^=]*\)='`
21314 ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'`
21325 # Handling of the options.
21326 -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
21328 --version | --versio | --versi | --vers | --ver | --ve | --v | -V )
21329 $as_echo "$ac_cs_version"; exit ;;
21330 --debug | --debu | --deb | --de | --d | -d )
21332 --file | --fil | --fi | --f )
21335 *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
21337 CONFIG_FILES="$CONFIG_FILES '$ac_optarg'"
21338 ac_need_defaults=false;;
21339 --header | --heade | --head | --hea )
21342 *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
21344 CONFIG_HEADERS="$CONFIG_HEADERS '$ac_optarg'"
21345 ac_need_defaults=false;;
21347 # Conflict between --help and --header
21348 { $as_echo "$as_me: error: ambiguous option: $1
21349 Try \`$0 --help' for more information." >&2
21350 { (exit 1); exit 1; }; };;
21351 --help | --hel | -h )
21352 $as_echo "$ac_cs_usage"; exit ;;
21353 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
21354 | -silent | --silent | --silen | --sile | --sil | --si | --s)
21357 # This is an error.
21358 -*) { $as_echo "$as_me: error: unrecognized option: $1
21359 Try \`$0 --help' for more information." >&2
21360 { (exit 1); exit 1; }; } ;;
21362 *) ac_config_targets="$ac_config_targets $1"
21363 ac_need_defaults=false ;;
21369 ac_configure_extra_args=
21371 if $ac_cs_silent; then
21373 ac_configure_extra_args="$ac_configure_extra_args --silent"
21377 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
21378 if \$ac_cs_recheck; then
21379 set X '$SHELL' '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
21381 \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6
21382 CONFIG_SHELL='$SHELL'
21383 export CONFIG_SHELL
21388 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
21392 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
21393 ## Running $as_me. ##
21399 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
21403 AMDEP_TRUE="$AMDEP_TRUE" ac_aux_dir="$ac_aux_dir"
21404 # Capture the value of obsolete ALL_LINGUAS because we need it to compute
21405 # POFILES, GMOFILES, UPDATEPOFILES, DUMMYPOFILES, CATALOGS. But hide it
21407 eval 'OBSOLETE_ALL_LINGUAS''="$ALL_LINGUAS"'
21408 # Capture the value of LINGUAS because we need it to compute CATALOGS.
21409 LINGUAS="${LINGUAS-%UNSET%}"
21414 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
21416 # Handling of arguments.
21417 for ac_config_target in $ac_config_targets
21419 case $ac_config_target in
21420 "depfiles") CONFIG_COMMANDS="$CONFIG_COMMANDS depfiles" ;;
21421 "default-1") CONFIG_COMMANDS="$CONFIG_COMMANDS default-1" ;;
21422 "config.h") CONFIG_HEADERS="$CONFIG_HEADERS config.h" ;;
21423 "Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;;
21424 "src/Makefile") CONFIG_FILES="$CONFIG_FILES src/Makefile" ;;
21425 "dox/Makefile") CONFIG_FILES="$CONFIG_FILES dox/Makefile" ;;
21426 "dox/E-docs/Makefile") CONFIG_FILES="$CONFIG_FILES dox/E-docs/Makefile" ;;
21427 "eesh/Makefile") CONFIG_FILES="$CONFIG_FILES eesh/Makefile" ;;
21428 "epp/Makefile") CONFIG_FILES="$CONFIG_FILES epp/Makefile" ;;
21429 "lib/Makefile") CONFIG_FILES="$CONFIG_FILES lib/Makefile" ;;
21430 "config/Makefile") CONFIG_FILES="$CONFIG_FILES config/Makefile" ;;
21431 "config/pix/Makefile") CONFIG_FILES="$CONFIG_FILES config/pix/Makefile" ;;
21432 "themes/Makefile") CONFIG_FILES="$CONFIG_FILES themes/Makefile" ;;
21433 "fonts/Makefile") CONFIG_FILES="$CONFIG_FILES fonts/Makefile" ;;
21434 "scripts/Makefile") CONFIG_FILES="$CONFIG_FILES scripts/Makefile" ;;
21435 "misc/Makefile") CONFIG_FILES="$CONFIG_FILES misc/Makefile" ;;
21436 "docs/Makefile") CONFIG_FILES="$CONFIG_FILES docs/Makefile" ;;
21437 "po/Makefile.in") CONFIG_FILES="$CONFIG_FILES po/Makefile.in" ;;
21438 "e16.spec") CONFIG_FILES="$CONFIG_FILES e16.spec" ;;
21440 *) { { $as_echo "$as_me:$LINENO: error: invalid argument: $ac_config_target" >&5
21441 $as_echo "$as_me: error: invalid argument: $ac_config_target" >&2;}
21442 { (exit 1); exit 1; }; };;
21447 # If the user did not use the arguments to specify the items to instantiate,
21448 # then the envvar interface is used. Set only those that are not.
21449 # We use the long form for the default assignment because of an extremely
21450 # bizarre bug on SunOS 4.1.3.
21451 if $ac_need_defaults; then
21452 test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
21453 test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS=$config_headers
21454 test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS=$config_commands
21457 # Have a temporary directory for convenience. Make it in the build tree
21458 # simply because there is no reason against having it here, and in addition,
21459 # creating and moving files from /tmp can sometimes cause problems.
21460 # Hook for its removal unless debugging.
21461 # Note that there is a small window in which the directory will not be cleaned:
21462 # after its creation but before its name has been assigned to `$tmp'.
21466 trap 'exit_status=$?
21467 { test -z "$tmp" || test ! -d "$tmp" || rm -fr "$tmp"; } && exit $exit_status
21469 trap '{ (exit 1); exit 1; }' 1 2 13 15
21471 # Create a (secure) tmp directory for tmp files.
21474 tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
21475 test -n "$tmp" && test -d "$tmp"
21478 tmp=./conf$$-$RANDOM
21479 (umask 077 && mkdir "$tmp")
21482 $as_echo "$as_me: cannot create a temporary directory in ." >&2
21483 { (exit 1); exit 1; }
21486 # Set up the scripts for CONFIG_FILES section.
21487 # No need to generate them if there are no CONFIG_FILES.
21488 # This happens for instance with `./config.status config.h'.
21489 if test -n "$CONFIG_FILES"; then
21493 ac_cs_awk_cr=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
21494 if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
21497 ac_cs_awk_cr=$ac_cr
21500 echo 'BEGIN {' >"$tmp/subs1.awk" &&
21505 echo "cat >conf$$subs.awk <<_ACEOF" &&
21506 echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
21508 } >conf$$subs.sh ||
21509 { { $as_echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
21510 $as_echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}
21511 { (exit 1); exit 1; }; }
21512 ac_delim_num=`echo "$ac_subst_vars" | grep -c '$'`
21514 for ac_last_try in false false false false false :; do
21515 . ./conf$$subs.sh ||
21516 { { $as_echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
21517 $as_echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}
21518 { (exit 1); exit 1; }; }
21520 ac_delim_n=`sed -n "s/.*$ac_delim\$/X/p" conf$$subs.awk | grep -c X`
21521 if test $ac_delim_n = $ac_delim_num; then
21523 elif $ac_last_try; then
21524 { { $as_echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
21525 $as_echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}
21526 { (exit 1); exit 1; }; }
21528 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
21531 rm -f conf$$subs.sh
21533 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
21534 cat >>"\$tmp/subs1.awk" <<\\_ACAWK &&
21538 s/^/S["/; s/!.*/"]=/
21548 s/\(.\{148\}\).*/\1/
21550 s/["\\]/\\&/g; s/^/"/; s/$/\\n"\\/
21555 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
21562 s/\(.\{148\}\).*/\1/
21564 s/["\\]/\\&/g; s/^/"/; s/$/"/
21568 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
21573 ' <conf$$subs.awk | sed '
21578 ' >>$CONFIG_STATUS || ac_write_fail=1
21579 rm -f conf$$subs.awk
21580 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
21582 cat >>"\$tmp/subs1.awk" <<_ACAWK &&
21583 for (key in S) S_is_set[key] = 1
21589 nfields = split(line, field, "@")
21591 len = length(field[1])
21592 for (i = 2; i < nfields; i++) {
21594 keylen = length(key)
21595 if (S_is_set[key]) {
21597 line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3)
21598 len += length(value) + length(field[++i])
21609 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
21610 if sed "s/$ac_cr//" < /dev/null > /dev/null 2>&1; then
21611 sed "s/$ac_cr\$//; s/$ac_cr/$ac_cs_awk_cr/g"
21614 fi < "$tmp/subs1.awk" > "$tmp/subs.awk" \
21615 || { { $as_echo "$as_me:$LINENO: error: could not setup config files machinery" >&5
21616 $as_echo "$as_me: error: could not setup config files machinery" >&2;}
21617 { (exit 1); exit 1; }; }
21620 # VPATH may cause trouble with some makes, so we remove $(srcdir),
21621 # ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and
21622 # trailing colons and then remove the whole line if VPATH becomes empty
21623 # (actually we leave an empty line to preserve line numbers).
21624 if test "x$srcdir" = x.; then
21625 ac_vpsub='/^[ ]*VPATH[ ]*=/{
21626 s/:*\$(srcdir):*/:/
21627 s/:*\${srcdir}:*/:/
21629 s/^\([^=]*=[ ]*\):*/\1/
21635 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
21636 fi # test -n "$CONFIG_FILES"
21638 # Set up the scripts for CONFIG_HEADERS section.
21639 # No need to generate them if there are no CONFIG_HEADERS.
21640 # This happens for instance with `./config.status Makefile'.
21641 if test -n "$CONFIG_HEADERS"; then
21642 cat >"$tmp/defines.awk" <<\_ACAWK ||
21646 # Transform confdefs.h into an awk script `defines.awk', embedded as
21647 # here-document in config.status, that substitutes the proper values into
21648 # config.h.in to produce config.h.
21650 # Create a delimiter string that does not exist in confdefs.h, to ease
21651 # handling of long lines.
21653 for ac_last_try in false false :; do
21654 ac_t=`sed -n "/$ac_delim/p" confdefs.h`
21655 if test -z "$ac_t"; then
21657 elif $ac_last_try; then
21658 { { $as_echo "$as_me:$LINENO: error: could not make $CONFIG_HEADERS" >&5
21659 $as_echo "$as_me: error: could not make $CONFIG_HEADERS" >&2;}
21660 { (exit 1); exit 1; }; }
21662 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
21666 # For the awk script, D is an array of macro values keyed by name,
21667 # likewise P contains macro parameters if any. Preserve backslash
21668 # newline sequences.
21670 ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]*
21672 s/.\{148\}/&'"$ac_delim"'/g
21675 s/^[ ]*#[ ]*define[ ][ ]*/ /
21682 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\1"]="\2"\
21684 s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\1"]=" \2"/p
21688 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\1"]="\2"\
21689 D["\1"]=" \3\\\\\\n"\\/p
21691 s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\1"]=" \2\\\\\\n"\\/p
21696 s/.\{148\}/&'"$ac_delim"'/g
21701 s/["\\]/\\&/g; s/^/"/; s/$/"/p
21704 s/["\\]/\\&/g; s/^/"/; s/$/\\\\\\n"\\/p
21706 ' <confdefs.h | sed '
21707 s/'"$ac_delim"'/"\\\
21708 "/g' >>$CONFIG_STATUS || ac_write_fail=1
21710 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
21711 for (key in D) D_is_set[key] = 1
21714 /^[\t ]*#[\t ]*(define|undef)[\t ]+$ac_word_re([\t (]|\$)/ {
21716 split(line, arg, " ")
21717 if (arg[1] == "#") {
21721 defundef = substr(arg[1], 2)
21724 split(mac1, mac2, "(") #)
21726 prefix = substr(line, 1, index(line, defundef) - 1)
21727 if (D_is_set[macro]) {
21728 # Preserve the white space surrounding the "#".
21729 print prefix "define", macro P[macro] D[macro]
21732 # Replace #undef with comments. This is necessary, for example,
21733 # in the case of _POSIX_SOURCE, which is predefined and required
21734 # on some systems where configure will not decide to define it.
21735 if (defundef == "undef") {
21736 print "/*", prefix defundef, macro, "*/"
21744 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
21745 { { $as_echo "$as_me:$LINENO: error: could not setup config headers machinery" >&5
21746 $as_echo "$as_me: error: could not setup config headers machinery" >&2;}
21747 { (exit 1); exit 1; }; }
21748 fi # test -n "$CONFIG_HEADERS"
21751 eval set X " :F $CONFIG_FILES :H $CONFIG_HEADERS :C $CONFIG_COMMANDS"
21756 :[FHLC]) ac_mode=$ac_tag; continue;;
21758 case $ac_mode$ac_tag in
21760 :L* | :C*:*) { { $as_echo "$as_me:$LINENO: error: invalid tag $ac_tag" >&5
21761 $as_echo "$as_me: error: invalid tag $ac_tag" >&2;}
21762 { (exit 1); exit 1; }; };;
21763 :[FH]-) ac_tag=-:-;;
21764 :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
21781 -) ac_f="$tmp/stdin";;
21782 *) # Look for the file first in the build tree, then in the source tree
21783 # (if the path is not absolute). The absolute path cannot be DOS-style,
21784 # because $ac_f cannot contain `:'.
21788 *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
21790 { { $as_echo "$as_me:$LINENO: error: cannot find input file: $ac_f" >&5
21791 $as_echo "$as_me: error: cannot find input file: $ac_f" >&2;}
21792 { (exit 1); exit 1; }; };;
21794 case $ac_f in *\'*) ac_f=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
21795 ac_file_inputs="$ac_file_inputs '$ac_f'"
21798 # Let's still pretend it is `configure' which instantiates (i.e., don't
21799 # use $as_me), people would be surprised to read:
21800 # /* config.h. Generated by config.status. */
21801 configure_input='Generated from '`
21802 $as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
21804 if test x"$ac_file" != x-; then
21805 configure_input="$ac_file. $configure_input"
21806 { $as_echo "$as_me:$LINENO: creating $ac_file" >&5
21807 $as_echo "$as_me: creating $ac_file" >&6;}
21809 # Neutralize special characters interpreted by sed in replacement strings.
21810 case $configure_input in #(
21811 *\&* | *\|* | *\\* )
21812 ac_sed_conf_input=`$as_echo "$configure_input" |
21813 sed 's/[\\\\&|]/\\\\&/g'`;; #(
21814 *) ac_sed_conf_input=$configure_input;;
21818 *:-:* | *:-) cat >"$tmp/stdin" \
21819 || { { $as_echo "$as_me:$LINENO: error: could not create $ac_file" >&5
21820 $as_echo "$as_me: error: could not create $ac_file" >&2;}
21821 { (exit 1); exit 1; }; } ;;
21826 ac_dir=`$as_dirname -- "$ac_file" ||
21827 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
21828 X"$ac_file" : 'X\(//\)[^/]' \| \
21829 X"$ac_file" : 'X\(//\)$' \| \
21830 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
21831 $as_echo X"$ac_file" |
21832 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
21836 /^X\(\/\/\)[^/].*/{
21851 -*) as_dir=./$as_dir;;
21853 test -d "$as_dir" || { $as_mkdir_p && mkdir -p "$as_dir"; } || {
21857 *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
21858 *) as_qdir=$as_dir;;
21860 as_dirs="'$as_qdir' $as_dirs"
21861 as_dir=`$as_dirname -- "$as_dir" ||
21862 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
21863 X"$as_dir" : 'X\(//\)[^/]' \| \
21864 X"$as_dir" : 'X\(//\)$' \| \
21865 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
21866 $as_echo X"$as_dir" |
21867 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
21871 /^X\(\/\/\)[^/].*/{
21884 test -d "$as_dir" && break
21886 test -z "$as_dirs" || eval "mkdir $as_dirs"
21887 } || test -d "$as_dir" || { { $as_echo "$as_me:$LINENO: error: cannot create directory $as_dir" >&5
21888 $as_echo "$as_me: error: cannot create directory $as_dir" >&2;}
21889 { (exit 1); exit 1; }; }; }
21893 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
21895 ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
21896 # A ".." for each directory in $ac_dir_suffix.
21897 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
21898 case $ac_top_builddir_sub in
21899 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
21900 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
21903 ac_abs_top_builddir=$ac_pwd
21904 ac_abs_builddir=$ac_pwd$ac_dir_suffix
21905 # for backward compatibility:
21906 ac_top_builddir=$ac_top_build_prefix
21909 .) # We are building in place.
21911 ac_top_srcdir=$ac_top_builddir_sub
21912 ac_abs_top_srcdir=$ac_pwd ;;
21913 [\\/]* | ?:[\\/]* ) # Absolute name.
21914 ac_srcdir=$srcdir$ac_dir_suffix;
21915 ac_top_srcdir=$srcdir
21916 ac_abs_top_srcdir=$srcdir ;;
21917 *) # Relative name.
21918 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
21919 ac_top_srcdir=$ac_top_build_prefix$srcdir
21920 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
21922 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
21932 [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
21933 *) ac_INSTALL=$ac_top_build_prefix$INSTALL ;;
21935 ac_MKDIR_P=$MKDIR_P
21937 [\\/$]* | ?:[\\/]* ) ;;
21938 */*) ac_MKDIR_P=$ac_top_build_prefix$MKDIR_P ;;
21942 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
21943 # If the template does not know about datarootdir, expand it.
21944 # FIXME: This hack should be removed a few years after 2.60.
21945 ac_datarootdir_hack=; ac_datarootdir_seen=
21958 case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in
21959 *datarootdir*) ac_datarootdir_seen=no;;
21960 *@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*)
21961 { $as_echo "$as_me:$LINENO: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
21962 $as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
21964 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
21965 ac_datarootdir_hack='
21966 s&@datadir@&$datadir&g
21967 s&@docdir@&$docdir&g
21968 s&@infodir@&$infodir&g
21969 s&@localedir@&$localedir&g
21970 s&@mandir@&$mandir&g
21971 s&\\\${datarootdir}&$datarootdir&g' ;;
21975 # Neutralize VPATH when `$srcdir' = `.'.
21976 # Shell code in configure.ac might set extrasub.
21977 # FIXME: do we really want to maintain this feature?
21978 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
21979 ac_sed_extra="$ac_vpsub
21982 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
21984 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
21985 s|@configure_input@|$ac_sed_conf_input|;t t
21986 s&@top_builddir@&$ac_top_builddir_sub&;t t
21987 s&@top_build_prefix@&$ac_top_build_prefix&;t t
21988 s&@srcdir@&$ac_srcdir&;t t
21989 s&@abs_srcdir@&$ac_abs_srcdir&;t t
21990 s&@top_srcdir@&$ac_top_srcdir&;t t
21991 s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t
21992 s&@builddir@&$ac_builddir&;t t
21993 s&@abs_builddir@&$ac_abs_builddir&;t t
21994 s&@abs_top_builddir@&$ac_abs_top_builddir&;t t
21995 s&@INSTALL@&$ac_INSTALL&;t t
21996 s&@MKDIR_P@&$ac_MKDIR_P&;t t
21997 $ac_datarootdir_hack
21999 eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$tmp/subs.awk" >$tmp/out \
22000 || { { $as_echo "$as_me:$LINENO: error: could not create $ac_file" >&5
22001 $as_echo "$as_me: error: could not create $ac_file" >&2;}
22002 { (exit 1); exit 1; }; }
22004 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
22005 { ac_out=`sed -n '/\${datarootdir}/p' "$tmp/out"`; test -n "$ac_out"; } &&
22006 { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' "$tmp/out"`; test -z "$ac_out"; } &&
22007 { $as_echo "$as_me:$LINENO: WARNING: $ac_file contains a reference to the variable \`datarootdir'
22008 which seems to be undefined. Please make sure it is defined." >&5
22009 $as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir'
22010 which seems to be undefined. Please make sure it is defined." >&2;}
22014 -) cat "$tmp/out" && rm -f "$tmp/out";;
22015 *) rm -f "$ac_file" && mv "$tmp/out" "$ac_file";;
22017 || { { $as_echo "$as_me:$LINENO: error: could not create $ac_file" >&5
22018 $as_echo "$as_me: error: could not create $ac_file" >&2;}
22019 { (exit 1); exit 1; }; }
22025 if test x"$ac_file" != x-; then
22027 $as_echo "/* $configure_input */" \
22028 && eval '$AWK -f "$tmp/defines.awk"' "$ac_file_inputs"
22029 } >"$tmp/config.h" \
22030 || { { $as_echo "$as_me:$LINENO: error: could not create $ac_file" >&5
22031 $as_echo "$as_me: error: could not create $ac_file" >&2;}
22032 { (exit 1); exit 1; }; }
22033 if diff "$ac_file" "$tmp/config.h" >/dev/null 2>&1; then
22034 { $as_echo "$as_me:$LINENO: $ac_file is unchanged" >&5
22035 $as_echo "$as_me: $ac_file is unchanged" >&6;}
22038 mv "$tmp/config.h" "$ac_file" \
22039 || { { $as_echo "$as_me:$LINENO: error: could not create $ac_file" >&5
22040 $as_echo "$as_me: error: could not create $ac_file" >&2;}
22041 { (exit 1); exit 1; }; }
22044 $as_echo "/* $configure_input */" \
22045 && eval '$AWK -f "$tmp/defines.awk"' "$ac_file_inputs" \
22046 || { { $as_echo "$as_me:$LINENO: error: could not create -" >&5
22047 $as_echo "$as_me: error: could not create -" >&2;}
22048 { (exit 1); exit 1; }; }
22050 # Compute "$ac_file"'s index in $config_headers.
22053 for _am_header in $config_headers :; do
22054 case $_am_header in
22055 $_am_arg | $_am_arg:* )
22058 _am_stamp_count=`expr $_am_stamp_count + 1` ;;
22061 echo "timestamp for $_am_arg" >`$as_dirname -- "$_am_arg" ||
22062 $as_expr X"$_am_arg" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
22063 X"$_am_arg" : 'X\(//\)[^/]' \| \
22064 X"$_am_arg" : 'X\(//\)$' \| \
22065 X"$_am_arg" : 'X\(/\)' \| . 2>/dev/null ||
22066 $as_echo X"$_am_arg" |
22067 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
22071 /^X\(\/\/\)[^/].*/{
22083 s/.*/./; q'`/stamp-h$_am_stamp_count
22086 :C) { $as_echo "$as_me:$LINENO: executing $ac_file commands" >&5
22087 $as_echo "$as_me: executing $ac_file commands" >&6;}
22092 case $ac_file$ac_mode in
22093 "depfiles":C) test x"$AMDEP_TRUE" != x"" || for mf in $CONFIG_FILES; do
22094 # Strip MF so we end up with the name of the file.
22095 mf=`echo "$mf" | sed -e 's/:.*$//'`
22096 # Check whether this is an Automake generated Makefile or not.
22097 # We used to match only the files named `Makefile.in', but
22098 # some people rename them; so instead we look at the file content.
22099 # Grep'ing the first line is not enough: some people post-process
22100 # each Makefile.in and add a new line on top of each file to say so.
22101 # Grep'ing the whole file is not good either: AIX grep has a line
22102 # limit of 2048, but all sed's we know have understand at least 4000.
22103 if sed -n 's,^#.*generated by automake.*,X,p' "$mf" | grep X >/dev/null 2>&1; then
22104 dirpart=`$as_dirname -- "$mf" ||
22105 $as_expr X"$mf" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
22106 X"$mf" : 'X\(//\)[^/]' \| \
22107 X"$mf" : 'X\(//\)$' \| \
22108 X"$mf" : 'X\(/\)' \| . 2>/dev/null ||
22110 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
22114 /^X\(\/\/\)[^/].*/{
22130 # Extract the definition of DEPDIR, am__include, and am__quote
22131 # from the Makefile without running `make'.
22132 DEPDIR=`sed -n 's/^DEPDIR = //p' < "$mf"`
22133 test -z "$DEPDIR" && continue
22134 am__include=`sed -n 's/^am__include = //p' < "$mf"`
22135 test -z "am__include" && continue
22136 am__quote=`sed -n 's/^am__quote = //p' < "$mf"`
22137 # When using ansi2knr, U may be empty or an underscore; expand it
22138 U=`sed -n 's/^U = //p' < "$mf"`
22139 # Find all dependency output files, they are included files with
22140 # $(DEPDIR) in their names. We invoke sed twice because it is the
22141 # simplest approach to changing $(DEPDIR) to its actual value in the
22143 for file in `sed -n "
22144 s/^$am__include $am__quote\(.*(DEPDIR).*\)$am__quote"'$/\1/p' <"$mf" | \
22145 sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g' -e 's/\$U/'"$U"'/g'`; do
22146 # Make sure the directory exists.
22147 test -f "$dirpart/$file" && continue
22148 fdir=`$as_dirname -- "$file" ||
22149 $as_expr X"$file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
22150 X"$file" : 'X\(//\)[^/]' \| \
22151 X"$file" : 'X\(//\)$' \| \
22152 X"$file" : 'X\(/\)' \| . 2>/dev/null ||
22153 $as_echo X"$file" |
22154 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
22158 /^X\(\/\/\)[^/].*/{
22171 { as_dir=$dirpart/$fdir
22173 -*) as_dir=./$as_dir;;
22175 test -d "$as_dir" || { $as_mkdir_p && mkdir -p "$as_dir"; } || {
22179 *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
22180 *) as_qdir=$as_dir;;
22182 as_dirs="'$as_qdir' $as_dirs"
22183 as_dir=`$as_dirname -- "$as_dir" ||
22184 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
22185 X"$as_dir" : 'X\(//\)[^/]' \| \
22186 X"$as_dir" : 'X\(//\)$' \| \
22187 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
22188 $as_echo X"$as_dir" |
22189 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
22193 /^X\(\/\/\)[^/].*/{
22206 test -d "$as_dir" && break
22208 test -z "$as_dirs" || eval "mkdir $as_dirs"
22209 } || test -d "$as_dir" || { { $as_echo "$as_me:$LINENO: error: cannot create directory $as_dir" >&5
22210 $as_echo "$as_me: error: cannot create directory $as_dir" >&2;}
22211 { (exit 1); exit 1; }; }; }
22212 # echo "creating $dirpart/$file"
22213 echo '# dummy' > "$dirpart/$file"
22218 for ac_file in $CONFIG_FILES; do
22219 # Support "outfile[:infile[:infile...]]"
22221 *:*) ac_file=`echo "$ac_file"|sed 's%:.*%%'` ;;
22223 # PO directories have a Makefile.in generated from Makefile.in.in.
22224 case "$ac_file" in */Makefile.in)
22225 # Adjust a relative srcdir.
22226 ac_dir=`echo "$ac_file"|sed 's%/[^/][^/]*$%%'`
22227 ac_dir_suffix="/`echo "$ac_dir"|sed 's%^\./%%'`"
22228 ac_dots=`echo "$ac_dir_suffix"|sed 's%/[^/]*%../%g'`
22229 # In autoconf-2.13 it is called $ac_given_srcdir.
22230 # In autoconf-2.50 it is called $srcdir.
22231 test -n "$ac_given_srcdir" || ac_given_srcdir="$srcdir"
22232 case "$ac_given_srcdir" in
22233 .) top_srcdir=`echo $ac_dots|sed 's%/$%%'` ;;
22234 /*) top_srcdir="$ac_given_srcdir" ;;
22235 *) top_srcdir="$ac_dots$ac_given_srcdir" ;;
22237 if test -f "$ac_given_srcdir/$ac_dir/POTFILES.in"; then
22238 rm -f "$ac_dir/POTFILES"
22239 test -n "$as_me" && echo "$as_me: creating $ac_dir/POTFILES" || echo "creating $ac_dir/POTFILES"
22240 cat "$ac_given_srcdir/$ac_dir/POTFILES.in" | sed -e "/^#/d" -e "/^[ ]*\$/d" -e "s,.*, $top_srcdir/& \\\\," | sed -e "\$s/\(.*\) \\\\/\1/" > "$ac_dir/POTFILES"
22241 POMAKEFILEDEPS="POTFILES.in"
22242 # ALL_LINGUAS, POFILES, GMOFILES, UPDATEPOFILES, DUMMYPOFILES depend
22243 # on $ac_dir but don't depend on user-specified configuration
22245 if test -f "$ac_given_srcdir/$ac_dir/LINGUAS"; then
22246 # The LINGUAS file contains the set of available languages.
22247 if test -n "$OBSOLETE_ALL_LINGUAS"; then
22248 test -n "$as_me" && echo "$as_me: setting ALL_LINGUAS in configure.in is obsolete" || echo "setting ALL_LINGUAS in configure.in is obsolete"
22250 ALL_LINGUAS_=`sed -e "/^#/d" "$ac_given_srcdir/$ac_dir/LINGUAS"`
22251 # Hide the ALL_LINGUAS assigment from automake.
22252 eval 'ALL_LINGUAS''=$ALL_LINGUAS_'
22253 POMAKEFILEDEPS="$POMAKEFILEDEPS LINGUAS"
22255 # The set of available languages was given in configure.in.
22256 eval 'ALL_LINGUAS''=$OBSOLETE_ALL_LINGUAS'
22258 case "$ac_given_srcdir" in
22260 *) srcdirpre='$(srcdir)/' ;;
22266 for lang in $ALL_LINGUAS; do
22267 POFILES="$POFILES $srcdirpre$lang.po"
22268 GMOFILES="$GMOFILES $srcdirpre$lang.gmo"
22269 UPDATEPOFILES="$UPDATEPOFILES $lang.po-update"
22270 DUMMYPOFILES="$DUMMYPOFILES $lang.nop"
22272 # CATALOGS depends on both $ac_dir and the user's LINGUAS
22273 # environment variable.
22275 if test -n "$ALL_LINGUAS"; then
22276 for presentlang in $ALL_LINGUAS; do
22278 if test "%UNSET%" != "$LINGUAS"; then
22279 desiredlanguages="$LINGUAS"
22281 desiredlanguages="$ALL_LINGUAS"
22283 for desiredlang in $desiredlanguages; do
22284 # Use the presentlang catalog if desiredlang is
22285 # a. equal to presentlang, or
22286 # b. a variant of presentlang (because in this case,
22287 # presentlang can be used as a fallback for messages
22288 # which are not translated in the desiredlang catalog).
22289 case "$desiredlang" in
22290 "$presentlang"*) useit=yes;;
22293 if test $useit = yes; then
22294 INST_LINGUAS="$INST_LINGUAS $presentlang"
22299 if test -n "$INST_LINGUAS"; then
22300 for lang in $INST_LINGUAS; do
22301 CATALOGS="$CATALOGS $lang.gmo"
22304 test -n "$as_me" && echo "$as_me: creating $ac_dir/Makefile" || echo "creating $ac_dir/Makefile"
22305 sed -e "/^POTFILES =/r $ac_dir/POTFILES" -e "/^# Makevars/r $ac_given_srcdir/$ac_dir/Makevars" -e "s|@POFILES@|$POFILES|g" -e "s|@GMOFILES@|$GMOFILES|g" -e "s|@UPDATEPOFILES@|$UPDATEPOFILES|g" -e "s|@DUMMYPOFILES@|$DUMMYPOFILES|g" -e "s|@CATALOGS@|$CATALOGS|g" -e "s|@POMAKEFILEDEPS@|$POMAKEFILEDEPS|g" "$ac_dir/Makefile.in" > "$ac_dir/Makefile"
22306 for f in "$ac_given_srcdir/$ac_dir"/Rules-*; do
22307 if test -f "$f"; then
22309 *.orig | *.bak | *~) ;;
22310 *) cat "$f" >> "$ac_dir/Makefile" ;;
22323 { (exit 0); exit 0; }
22325 chmod +x $CONFIG_STATUS
22326 ac_clean_files=$ac_clean_files_save
22328 test $ac_write_fail = 0 ||
22329 { { $as_echo "$as_me:$LINENO: error: write failure creating $CONFIG_STATUS" >&5
22330 $as_echo "$as_me: error: write failure creating $CONFIG_STATUS" >&2;}
22331 { (exit 1); exit 1; }; }
22334 # configure is writing to config.log, and then calls config.status.
22335 # config.status does its own redirection, appending to config.log.
22336 # Unfortunately, on DOS this fails, as config.log is still kept open
22337 # by configure, so config.status won't be able to write to it; its
22338 # output is simply discarded. So we exec the FD to /dev/null,
22339 # effectively closing config.log, so it can be properly (re)opened and
22340 # appended to by config.status. When coming back to configure, we
22341 # need to make the FD available again.
22342 if test "$no_create" != no; then
22344 ac_config_status_args=
22345 test "$silent" = no &&
22346 ac_config_status_args="$ac_config_status_args --quiet"
22348 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
22350 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
22351 # would make configure fail if this is the last instruction.
22352 $ac_cs_success || { (exit 1); exit 1; }
22354 if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no; then
22355 { $as_echo "$as_me:$LINENO: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
22356 $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}
22360 if test "x$have_good_imlib2" != "xyes"; then
22361 echo "***************************************************************"
22362 echo "*** WARNING: imlib2 >= 1.2.0 was not detected ***"
22363 echo "*** WARNING: If you indeed do not have this, expect trouble ***"
22364 echo "***************************************************************"
22368 echo "------------------------------------------------------------------------"
22369 echo "$PACKAGE Version $VERSION"
22370 echo "------------------------------------------------------------------------"
22372 echo "Configuration summary"
22375 echo " Localisation ................. $USE_NLS"
22376 echo " Sound ........................ $enable_sound"
22377 echo " Old GNOME hints .............. $enable_hints_gnome"
22378 echo " Session management ........... $enable_sm"
22379 echo " Zoom ......................... $enable_zoom"
22380 echo " Pango ........................ $enable_pango"
22381 echo " Xft .......................... $enable_xft"
22382 echo " Xinerama ..................... $enable_xinerama"
22383 echo " RandR ........................ $enable_xrandr"
22384 echo " Sync ......................... $enable_xsync"
22385 echo " Composite .................... $enable_composite"
22386 echo " Modules ...................... $enable_modules"
22387 echo " Visibility hiding ............ $enable_visibility_hiding (only useful with modules)"
22388 echo " Window mode helper library ... $enable_roothacklib"
22389 echo " Dialogs ...................... $enable_dialogs"
22391 echo "Experimental options - DO NOT USE unless you know what you are doing"
22392 echo " Compile with ecore/ecore_x ... $enable_ecore"
22393 echo " GLX .......................... $enable_glx"
22394 echo " ScreenSaver .................. $enable_xscrnsaver"
22395 echo " D-Bus ........................ $enable_dbus"
22397 echo "Installation path .............. $prefix"
22398 echo " Install HTML docs ............ $enable_docs"
22400 echo "Compilation .................... make"
22401 echo "Installation ................... make install"