2 # Guess values for system-dependent variables and create Makefiles.
3 # Generated by GNU Autoconf 2.63 for pcsx 1.9.
5 # Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001,
6 # 2002, 2003, 2004, 2005, 2006, 2007, 2008 Free Software Foundation, Inc.
7 # This configure script is free software; the Free Software Foundation
8 # gives unlimited permission to copy, distribute and modify it.
9 ## --------------------- ##
10 ## M4sh Initialization. ##
11 ## --------------------- ##
13 # Be more Bourne compatible
14 DUALCASE=1; export DUALCASE # for MKS sh
15 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
18 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
19 # is contrary to our usage. Disable this feature.
20 alias -g '${1+"$@"}'='"$@"'
23 case `(set -o) 2>/dev/null` in
24 *posix*) set -o posix ;;
33 # Avoid depending upon Character Ranges.
34 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
35 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
36 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
37 as_cr_digits='0123456789'
38 as_cr_alnum=$as_cr_Letters$as_cr_digits
43 # Printing a long string crashes Solaris 7 /usr/bin/printf.
44 as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
45 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
46 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
47 if (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
51 if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
52 as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
53 as_echo_n='/usr/ucb/echo -n'
55 as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
60 expr "X$arg" : "X\\(.*\\)$as_nl";
61 arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
63 expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
66 as_echo_n='sh -c $as_echo_n_body as_echo'
69 as_echo='sh -c $as_echo_body as_echo'
72 # The user is always right.
73 if test "${PATH_SEPARATOR+set}" != set; then
75 (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
76 (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
81 # Support unset when possible.
82 if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
90 # We need space, tab and new line, in precisely that order. Quoting is
91 # there to prevent editors from complaining about space-tab.
92 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
93 # splitting by setting IFS to empty value.)
96 # Find who we are. Look in the path if we contain no directory separator.
98 *[\\/]* ) as_myself=$0 ;;
99 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
103 test -z "$as_dir" && as_dir=.
104 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
110 # We did not find ourselves, most probably we were run as `sh COMMAND'
111 # in which case we are not to be found in the path.
112 if test "x$as_myself" = x; then
115 if test ! -f "$as_myself"; then
116 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
117 { (exit 1); exit 1; }
120 # Work around bugs in pre-3.0 UWIN ksh.
121 for as_var in ENV MAIL MAILPATH
122 do ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
134 # Required to use basename.
135 if expr a : '\(a\)' >/dev/null 2>&1 &&
136 test "X`expr 00001 : '.*\(...\)'`" = X001; then
142 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
149 # Name of the executable.
150 as_me=`$as_basename -- "$0" ||
151 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
152 X"$0" : 'X\(//\)$' \| \
153 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
155 sed '/^.*\/\([^/][^/]*\)\/*$/{
173 if test "x$CONFIG_SHELL" = x; then
174 if (eval ":") 2>/dev/null; then
180 if test $as_have_required = yes && (eval ":
190 as_func_ret_success () {
193 as_func_ret_failure () {
198 if as_func_success; then
202 echo as_func_success failed.
205 if as_func_failure; then
207 echo as_func_failure succeeded.
210 if as_func_ret_success; then
214 echo as_func_ret_success failed.
217 if as_func_ret_failure; then
219 echo as_func_ret_failure succeeded.
222 if ( set x; as_func_ret_success y && test x = \"\$1\" ); then
226 echo positional parameters were not saved.
229 test \$exitcode = 0) || { (exit 1); exit 1; }
234 test \"x\$as_lineno_1\" != \"x\$as_lineno_2\" &&
235 test \"x\`expr \$as_lineno_1 + 1\`\" = \"x\$as_lineno_2\") || { (exit 1); exit 1; }
236 ") 2> /dev/null; then
240 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
241 for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
244 test -z "$as_dir" && as_dir=.
247 for as_base in sh bash ksh sh5; do
248 as_candidate_shells="$as_candidate_shells $as_dir/$as_base"
255 for as_shell in $as_candidate_shells $SHELL; do
256 # Try only shells that exist, to save several forks.
257 if { test -f "$as_shell" || test -f "$as_shell.exe"; } &&
258 { ("$as_shell") 2> /dev/null <<\_ASEOF
259 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
262 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
263 # is contrary to our usage. Disable this feature.
264 alias -g '${1+"$@"}'='"$@"'
267 case `(set -o) 2>/dev/null` in
268 *posix*) set -o posix ;;
277 CONFIG_SHELL=$as_shell
279 if { "$as_shell" 2> /dev/null <<\_ASEOF
280 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
283 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
284 # is contrary to our usage. Disable this feature.
285 alias -g '${1+"$@"}'='"$@"'
288 case `(set -o) 2>/dev/null` in
289 *posix*) set -o posix ;;
305 as_func_ret_success () {
308 as_func_ret_failure () {
313 if as_func_success; then
317 echo as_func_success failed.
320 if as_func_failure; then
322 echo as_func_failure succeeded.
325 if as_func_ret_success; then
329 echo as_func_ret_success failed.
332 if as_func_ret_failure; then
334 echo as_func_ret_failure succeeded.
337 if ( set x; as_func_ret_success y && test x = "$1" ); then
341 echo positional parameters were not saved.
344 test $exitcode = 0) || { (exit 1); exit 1; }
349 test "x$as_lineno_1" != "x$as_lineno_2" &&
350 test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2") || { (exit 1); exit 1; }
361 if test "x$CONFIG_SHELL" != x; then
362 for as_var in BASH_ENV ENV
363 do ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
366 exec "$CONFIG_SHELL" "$as_myself" ${1+"$@"}
370 if test $as_have_required = no; then
371 echo This script requires a shell more modern than all the
372 echo shells that I found on your system. Please install a
373 echo modern shell, or manually run the script under such a
374 echo shell if you do have one.
375 { (exit 1); exit 1; }
385 (eval "as_func_return () {
394 as_func_ret_success () {
397 as_func_ret_failure () {
402 if as_func_success; then
406 echo as_func_success failed.
409 if as_func_failure; then
411 echo as_func_failure succeeded.
414 if as_func_ret_success; then
418 echo as_func_ret_success failed.
421 if as_func_ret_failure; then
423 echo as_func_ret_failure succeeded.
426 if ( set x; as_func_ret_success y && test x = \"\$1\" ); then
430 echo positional parameters were not saved.
433 test \$exitcode = 0") || {
434 echo No shell found that supports shell functions.
435 echo Please tell bug-autoconf@gnu.org about your system,
436 echo including any error possibly output before this message.
437 echo This can help us improve future autoconf versions.
438 echo Configuration will now proceed without shell functions.
445 test "x$as_lineno_1" != "x$as_lineno_2" &&
446 test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2" || {
448 # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
449 # uniformly replaced by the line number. The first 'sed' inserts a
450 # line-number line after each line using $LINENO; the second 'sed'
451 # does the real work. The second script uses 'N' to pair each
452 # line-number line with the line containing $LINENO, and appends
453 # trailing '-' during substitution so that $LINENO is not a special
455 # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
456 # scripts with optimization help from Paolo Bonzini. Blame Lee
457 # E. McMahon (1931-1989) for sed's syntax. :-)
469 s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
473 chmod +x "$as_me.lineno" ||
474 { $as_echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2
475 { (exit 1); exit 1; }; }
477 # Don't try to exec as it changes $[0], causing all sort of problems
478 # (the dirname of $[0] is not the place where we might find the
479 # original and so on. Autoconf is especially sensitive to this).
481 # Exit status is that of the last command.
486 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
492 ECHO_C= ECHO_N= ECHO_T=
496 *c*) ECHO_T=' ';; # ECHO_T is single tab character.
502 if expr a : '\(a\)' >/dev/null 2>&1 &&
503 test "X`expr 00001 : '.*\(...\)'`" = X001; then
509 rm -f conf$$ conf$$.exe conf$$.file
510 if test -d conf$$.dir; then
511 rm -f conf$$.dir/conf$$.file
514 mkdir conf$$.dir 2>/dev/null
516 if (echo >conf$$.file) 2>/dev/null; then
517 if ln -s conf$$.file conf$$ 2>/dev/null; then
519 # ... but there are two gotchas:
520 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
521 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
522 # In both cases, we have to default to `cp -p'.
523 ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
525 elif ln conf$$.file conf$$ 2>/dev/null; then
533 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
534 rmdir conf$$.dir 2>/dev/null
536 if mkdir -p . 2>/dev/null; then
539 test -d ./-p && rmdir ./-p
543 if test -x / >/dev/null 2>&1; then
546 if ls -dL / >/dev/null 2>&1; then
553 if test -d "$1"; then
559 case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in
560 ???[sx]*):;;*)false;;esac;fi
564 as_executable_p=$as_test_x
566 # Sed expression to map a string onto a valid CPP name.
567 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
569 # Sed expression to map a string onto a valid variable name.
570 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
575 # Check that we are running under the correct shell.
576 SHELL=${CONFIG_SHELL-/bin/sh}
580 # Remove one level of quotation (which was required for Make).
581 ECHO=`echo "$lt_ECHO" | sed 's,\\\\\$\\$0,'$0','`
586 if test "X$1" = X--no-reexec; then
587 # Discard the --no-reexec flag, and continue.
589 elif test "X$1" = X--fallback-echo; then
590 # Avoid inline document here, it may be left over
592 elif test "X`{ $ECHO '\t'; } 2>/dev/null`" = 'X\t' ; then
593 # Yippee, $ECHO works!
596 # Restart under the correct shell.
597 exec $SHELL "$0" --no-reexec ${1+"$@"}
600 if test "X$1" = X--fallback-echo; then
601 # used as fallback echo
609 # The HP-UX ksh and POSIX shell print the target directory to stdout
611 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
613 if test -z "$lt_ECHO"; then
614 if test "X${echo_test_string+set}" != Xset; then
615 # find a string as large as possible, as long as the shell can cope with it
616 for cmd in 'sed 50q "$0"' 'sed 20q "$0"' 'sed 10q "$0"' 'sed 2q "$0"' 'echo test'; do
617 # expected sizes: less than 2Kb, 1Kb, 512 bytes, 16 bytes, ...
618 if { echo_test_string=`eval $cmd`; } 2>/dev/null &&
619 { test "X$echo_test_string" = "X$echo_test_string"; } 2>/dev/null
626 if test "X`{ $ECHO '\t'; } 2>/dev/null`" = 'X\t' &&
627 echo_testing_string=`{ $ECHO "$echo_test_string"; } 2>/dev/null` &&
628 test "X$echo_testing_string" = "X$echo_test_string"; then
631 # The Solaris, AIX, and Digital Unix default echo programs unquote
632 # backslashes. This makes it impossible to quote backslashes using
633 # echo "$something" | sed 's/\\/\\\\/g'
635 # So, first we look for a working echo in the user's PATH.
637 lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
638 for dir in $PATH /usr/ucb; do
640 if (test -f $dir/echo || test -f $dir/echo$ac_exeext) &&
641 test "X`($dir/echo '\t') 2>/dev/null`" = 'X\t' &&
642 echo_testing_string=`($dir/echo "$echo_test_string") 2>/dev/null` &&
643 test "X$echo_testing_string" = "X$echo_test_string"; then
650 if test "X$ECHO" = Xecho; then
651 # We didn't find a better echo, so look for alternatives.
652 if test "X`{ print -r '\t'; } 2>/dev/null`" = 'X\t' &&
653 echo_testing_string=`{ print -r "$echo_test_string"; } 2>/dev/null` &&
654 test "X$echo_testing_string" = "X$echo_test_string"; then
655 # This shell has a builtin print -r that does the trick.
657 elif { test -f /bin/ksh || test -f /bin/ksh$ac_exeext; } &&
658 test "X$CONFIG_SHELL" != X/bin/ksh; then
659 # If we have ksh, try running configure again with it.
660 ORIGINAL_CONFIG_SHELL=${CONFIG_SHELL-/bin/sh}
661 export ORIGINAL_CONFIG_SHELL
662 CONFIG_SHELL=/bin/ksh
664 exec $CONFIG_SHELL "$0" --no-reexec ${1+"$@"}
668 if test "X`{ $ECHO '\t'; } 2>/dev/null`" = 'X\t' &&
669 echo_testing_string=`{ $ECHO "$echo_test_string"; } 2>/dev/null` &&
670 test "X$echo_testing_string" = "X$echo_test_string"; then
673 elif echo_testing_string=`($ORIGINAL_CONFIG_SHELL "$0" --fallback-echo '\t') 2>/dev/null` &&
674 test "X$echo_testing_string" = 'X\t' &&
675 echo_testing_string=`($ORIGINAL_CONFIG_SHELL "$0" --fallback-echo "$echo_test_string") 2>/dev/null` &&
676 test "X$echo_testing_string" = "X$echo_test_string"; then
677 CONFIG_SHELL=$ORIGINAL_CONFIG_SHELL
679 SHELL="$CONFIG_SHELL"
681 ECHO="$CONFIG_SHELL $0 --fallback-echo"
682 elif echo_testing_string=`($CONFIG_SHELL "$0" --fallback-echo '\t') 2>/dev/null` &&
683 test "X$echo_testing_string" = 'X\t' &&
684 echo_testing_string=`($CONFIG_SHELL "$0" --fallback-echo "$echo_test_string") 2>/dev/null` &&
685 test "X$echo_testing_string" = "X$echo_test_string"; then
686 ECHO="$CONFIG_SHELL $0 --fallback-echo"
688 # maybe with a smaller string...
691 for cmd in 'echo test' 'sed 2q "$0"' 'sed 10q "$0"' 'sed 20q "$0"' 'sed 50q "$0"'; do
692 if { test "X$echo_test_string" = "X`eval $cmd`"; } 2>/dev/null
699 if test "$prev" != 'sed 50q "$0"'; then
700 echo_test_string=`eval $prev`
701 export echo_test_string
702 exec ${ORIGINAL_CONFIG_SHELL-${CONFIG_SHELL-/bin/sh}} "$0" ${1+"$@"}
704 # Oops. We lost completely, so just stick with echo.
713 # Copy echo and quote the copy suitably for passing to libtool from
714 # the Makefile, instead of quoting the original, which is used later.
716 if test "X$lt_ECHO" = "X$CONFIG_SHELL $0 --fallback-echo"; then
717 lt_ECHO="$CONFIG_SHELL \\\$\$0 --fallback-echo"
723 exec 7<&0 </dev/null 6>&1
726 # hostname on some systems (SVR3.2, Linux) returns a bogus exit status,
727 # so uname gets run too.
728 ac_hostname=`(hostname || uname -n) 2>/dev/null | sed 1q`
733 ac_default_prefix=/usr/local
735 ac_config_libobj_dir=.
741 SHELL=${CONFIG_SHELL-/bin/sh}
743 # Identity of this package.
745 PACKAGE_TARNAME='pcsx'
746 PACKAGE_VERSION='1.9'
747 PACKAGE_STRING='pcsx 1.9'
750 # Factoring default headers for most tests.
751 ac_includes_default="\
753 #ifdef HAVE_SYS_TYPES_H
754 # include <sys/types.h>
756 #ifdef HAVE_SYS_STAT_H
757 # include <sys/stat.h>
763 # ifdef HAVE_STDLIB_H
768 # if !defined STDC_HEADERS && defined HAVE_MEMORY_H
773 #ifdef HAVE_STRINGS_H
774 # include <strings.h>
776 #ifdef HAVE_INTTYPES_H
777 # include <inttypes.h>
787 ac_subst_vars='LTLIBOBJS
803 SOUND_PULSEAUDIO_FALSE
804 SOUND_PULSEAUDIO_TRUE
835 XGETTEXT_EXTRA_OPTIONS
843 GETTEXT_MACRO_VERSION
845 am__fastdepCCAS_FALSE
887 MAINTAINER_MODE_FALSE
897 INSTALL_STRIP_PROGRAM
951 program_transform_name
963 enable_option_checking
964 enable_maintainer_mode
965 enable_dependency_tracking
984 ac_precious_vars='build_alias
1010 # Initialize some variables set by options.
1012 ac_init_version=false
1013 ac_unrecognized_opts=
1014 ac_unrecognized_sep=
1015 # The variables have the same names as the options, with
1016 # dashes changed to underlines.
1017 cache_file=/dev/null
1024 program_transform_name=s,x,x,
1032 # Installation directory options.
1033 # These are left unexpanded so users can "make install exec_prefix=/foo"
1034 # and all the variables that are supposed to be based on exec_prefix
1035 # by default will actually change.
1036 # Use braces instead of parens because sh, perl, etc. also accept them.
1037 # (The list follows the same order as the GNU Coding Standards.)
1038 bindir='${exec_prefix}/bin'
1039 sbindir='${exec_prefix}/sbin'
1040 libexecdir='${exec_prefix}/libexec'
1041 datarootdir='${prefix}/share'
1042 datadir='${datarootdir}'
1043 sysconfdir='${prefix}/etc'
1044 sharedstatedir='${prefix}/com'
1045 localstatedir='${prefix}/var'
1046 includedir='${prefix}/include'
1047 oldincludedir='/usr/include'
1048 docdir='${datarootdir}/doc/${PACKAGE_TARNAME}'
1049 infodir='${datarootdir}/info'
1054 libdir='${exec_prefix}/lib'
1055 localedir='${datarootdir}/locale'
1056 mandir='${datarootdir}/man'
1062 # If the previous option needs an argument, assign it.
1063 if test -n "$ac_prev"; then
1064 eval $ac_prev=\$ac_option
1070 *=*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
1074 # Accept the important Cygnus configure options, so we can diagnose typos.
1076 case $ac_dashdash$ac_option in
1080 -bindir | --bindir | --bindi | --bind | --bin | --bi)
1082 -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
1083 bindir=$ac_optarg ;;
1085 -build | --build | --buil | --bui | --bu)
1086 ac_prev=build_alias ;;
1087 -build=* | --build=* | --buil=* | --bui=* | --bu=*)
1088 build_alias=$ac_optarg ;;
1090 -cache-file | --cache-file | --cache-fil | --cache-fi \
1091 | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
1092 ac_prev=cache_file ;;
1093 -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
1094 | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
1095 cache_file=$ac_optarg ;;
1097 --config-cache | -C)
1098 cache_file=config.cache ;;
1100 -datadir | --datadir | --datadi | --datad)
1102 -datadir=* | --datadir=* | --datadi=* | --datad=*)
1103 datadir=$ac_optarg ;;
1105 -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \
1106 | --dataroo | --dataro | --datar)
1107 ac_prev=datarootdir ;;
1108 -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \
1109 | --dataroot=* | --dataroo=* | --dataro=* | --datar=*)
1110 datarootdir=$ac_optarg ;;
1112 -disable-* | --disable-*)
1113 ac_useropt=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
1114 # Reject names that are not valid shell variable names.
1115 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1116 { $as_echo "$as_me: error: invalid feature name: $ac_useropt" >&2
1117 { (exit 1); exit 1; }; }
1118 ac_useropt_orig=$ac_useropt
1119 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1120 case $ac_user_opts in
1122 "enable_$ac_useropt"
1124 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig"
1125 ac_unrecognized_sep=', ';;
1127 eval enable_$ac_useropt=no ;;
1129 -docdir | --docdir | --docdi | --doc | --do)
1131 -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*)
1132 docdir=$ac_optarg ;;
1134 -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv)
1136 -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*)
1137 dvidir=$ac_optarg ;;
1139 -enable-* | --enable-*)
1140 ac_useropt=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
1141 # Reject names that are not valid shell variable names.
1142 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1143 { $as_echo "$as_me: error: invalid feature name: $ac_useropt" >&2
1144 { (exit 1); exit 1; }; }
1145 ac_useropt_orig=$ac_useropt
1146 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1147 case $ac_user_opts in
1149 "enable_$ac_useropt"
1151 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig"
1152 ac_unrecognized_sep=', ';;
1154 eval enable_$ac_useropt=\$ac_optarg ;;
1156 -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
1157 | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
1158 | --exec | --exe | --ex)
1159 ac_prev=exec_prefix ;;
1160 -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
1161 | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
1162 | --exec=* | --exe=* | --ex=*)
1163 exec_prefix=$ac_optarg ;;
1165 -gas | --gas | --ga | --g)
1166 # Obsolete; use --with-gas.
1169 -help | --help | --hel | --he | -h)
1170 ac_init_help=long ;;
1171 -help=r* | --help=r* | --hel=r* | --he=r* | -hr*)
1172 ac_init_help=recursive ;;
1173 -help=s* | --help=s* | --hel=s* | --he=s* | -hs*)
1174 ac_init_help=short ;;
1176 -host | --host | --hos | --ho)
1177 ac_prev=host_alias ;;
1178 -host=* | --host=* | --hos=* | --ho=*)
1179 host_alias=$ac_optarg ;;
1181 -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht)
1183 -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \
1185 htmldir=$ac_optarg ;;
1187 -includedir | --includedir | --includedi | --included | --include \
1188 | --includ | --inclu | --incl | --inc)
1189 ac_prev=includedir ;;
1190 -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
1191 | --includ=* | --inclu=* | --incl=* | --inc=*)
1192 includedir=$ac_optarg ;;
1194 -infodir | --infodir | --infodi | --infod | --info | --inf)
1196 -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
1197 infodir=$ac_optarg ;;
1199 -libdir | --libdir | --libdi | --libd)
1201 -libdir=* | --libdir=* | --libdi=* | --libd=*)
1202 libdir=$ac_optarg ;;
1204 -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
1205 | --libexe | --libex | --libe)
1206 ac_prev=libexecdir ;;
1207 -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
1208 | --libexe=* | --libex=* | --libe=*)
1209 libexecdir=$ac_optarg ;;
1211 -localedir | --localedir | --localedi | --localed | --locale)
1212 ac_prev=localedir ;;
1213 -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*)
1214 localedir=$ac_optarg ;;
1216 -localstatedir | --localstatedir | --localstatedi | --localstated \
1217 | --localstate | --localstat | --localsta | --localst | --locals)
1218 ac_prev=localstatedir ;;
1219 -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
1220 | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*)
1221 localstatedir=$ac_optarg ;;
1223 -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
1225 -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
1226 mandir=$ac_optarg ;;
1228 -nfp | --nfp | --nf)
1229 # Obsolete; use --without-fp.
1232 -no-create | --no-create | --no-creat | --no-crea | --no-cre \
1233 | --no-cr | --no-c | -n)
1236 -no-recursion | --no-recursion | --no-recursio | --no-recursi \
1237 | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
1240 -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
1241 | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
1242 | --oldin | --oldi | --old | --ol | --o)
1243 ac_prev=oldincludedir ;;
1244 -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
1245 | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
1246 | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
1247 oldincludedir=$ac_optarg ;;
1249 -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
1251 -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
1252 prefix=$ac_optarg ;;
1254 -program-prefix | --program-prefix | --program-prefi | --program-pref \
1255 | --program-pre | --program-pr | --program-p)
1256 ac_prev=program_prefix ;;
1257 -program-prefix=* | --program-prefix=* | --program-prefi=* \
1258 | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
1259 program_prefix=$ac_optarg ;;
1261 -program-suffix | --program-suffix | --program-suffi | --program-suff \
1262 | --program-suf | --program-su | --program-s)
1263 ac_prev=program_suffix ;;
1264 -program-suffix=* | --program-suffix=* | --program-suffi=* \
1265 | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
1266 program_suffix=$ac_optarg ;;
1268 -program-transform-name | --program-transform-name \
1269 | --program-transform-nam | --program-transform-na \
1270 | --program-transform-n | --program-transform- \
1271 | --program-transform | --program-transfor \
1272 | --program-transfo | --program-transf \
1273 | --program-trans | --program-tran \
1274 | --progr-tra | --program-tr | --program-t)
1275 ac_prev=program_transform_name ;;
1276 -program-transform-name=* | --program-transform-name=* \
1277 | --program-transform-nam=* | --program-transform-na=* \
1278 | --program-transform-n=* | --program-transform-=* \
1279 | --program-transform=* | --program-transfor=* \
1280 | --program-transfo=* | --program-transf=* \
1281 | --program-trans=* | --program-tran=* \
1282 | --progr-tra=* | --program-tr=* | --program-t=*)
1283 program_transform_name=$ac_optarg ;;
1285 -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd)
1287 -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*)
1288 pdfdir=$ac_optarg ;;
1290 -psdir | --psdir | --psdi | --psd | --ps)
1292 -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*)
1295 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1296 | -silent | --silent | --silen | --sile | --sil)
1299 -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
1301 -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
1303 sbindir=$ac_optarg ;;
1305 -sharedstatedir | --sharedstatedir | --sharedstatedi \
1306 | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
1307 | --sharedst | --shareds | --shared | --share | --shar \
1309 ac_prev=sharedstatedir ;;
1310 -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
1311 | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
1312 | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
1314 sharedstatedir=$ac_optarg ;;
1316 -site | --site | --sit)
1318 -site=* | --site=* | --sit=*)
1321 -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
1323 -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
1324 srcdir=$ac_optarg ;;
1326 -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
1327 | --syscon | --sysco | --sysc | --sys | --sy)
1328 ac_prev=sysconfdir ;;
1329 -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
1330 | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
1331 sysconfdir=$ac_optarg ;;
1333 -target | --target | --targe | --targ | --tar | --ta | --t)
1334 ac_prev=target_alias ;;
1335 -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
1336 target_alias=$ac_optarg ;;
1338 -v | -verbose | --verbose | --verbos | --verbo | --verb)
1341 -version | --version | --versio | --versi | --vers | -V)
1342 ac_init_version=: ;;
1345 ac_useropt=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
1346 # Reject names that are not valid shell variable names.
1347 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1348 { $as_echo "$as_me: error: invalid package name: $ac_useropt" >&2
1349 { (exit 1); exit 1; }; }
1350 ac_useropt_orig=$ac_useropt
1351 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1352 case $ac_user_opts in
1356 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig"
1357 ac_unrecognized_sep=', ';;
1359 eval with_$ac_useropt=\$ac_optarg ;;
1361 -without-* | --without-*)
1362 ac_useropt=`expr "x$ac_option" : 'x-*without-\(.*\)'`
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--without-$ac_useropt_orig"
1374 ac_unrecognized_sep=', ';;
1376 eval with_$ac_useropt=no ;;
1379 # Obsolete; use --with-x.
1382 -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
1383 | --x-incl | --x-inc | --x-in | --x-i)
1384 ac_prev=x_includes ;;
1385 -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
1386 | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
1387 x_includes=$ac_optarg ;;
1389 -x-libraries | --x-libraries | --x-librarie | --x-librari \
1390 | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
1391 ac_prev=x_libraries ;;
1392 -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
1393 | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
1394 x_libraries=$ac_optarg ;;
1396 -*) { $as_echo "$as_me: error: unrecognized option: $ac_option
1397 Try \`$0 --help' for more information." >&2
1398 { (exit 1); exit 1; }; }
1402 ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
1403 # Reject names that are not valid shell variable names.
1404 expr "x$ac_envvar" : ".*[^_$as_cr_alnum]" >/dev/null &&
1405 { $as_echo "$as_me: error: invalid variable name: $ac_envvar" >&2
1406 { (exit 1); exit 1; }; }
1407 eval $ac_envvar=\$ac_optarg
1408 export $ac_envvar ;;
1411 # FIXME: should be removed in autoconf 3.0.
1412 $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2
1413 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
1414 $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2
1415 : ${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}
1421 if test -n "$ac_prev"; then
1422 ac_option=--`echo $ac_prev | sed 's/_/-/g'`
1423 { $as_echo "$as_me: error: missing argument to $ac_option" >&2
1424 { (exit 1); exit 1; }; }
1427 if test -n "$ac_unrecognized_opts"; then
1428 case $enable_option_checking in
1430 fatal) { $as_echo "$as_me: error: unrecognized options: $ac_unrecognized_opts" >&2
1431 { (exit 1); exit 1; }; } ;;
1432 *) $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;;
1436 # Check all directory arguments for consistency.
1437 for ac_var in exec_prefix prefix bindir sbindir libexecdir datarootdir \
1438 datadir sysconfdir sharedstatedir localstatedir includedir \
1439 oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
1440 libdir localedir mandir
1442 eval ac_val=\$$ac_var
1443 # Remove trailing slashes.
1446 ac_val=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'`
1447 eval $ac_var=\$ac_val;;
1449 # Be sure to have absolute directory names.
1451 [\\/$]* | ?:[\\/]* ) continue;;
1452 NONE | '' ) case $ac_var in *prefix ) continue;; esac;;
1454 { $as_echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2
1455 { (exit 1); exit 1; }; }
1458 # There might be people who depend on the old broken behavior: `$host'
1459 # used to hold the argument of --host etc.
1460 # FIXME: To remove some day.
1463 target=$target_alias
1465 # FIXME: To remove some day.
1466 if test "x$host_alias" != x; then
1467 if test "x$build_alias" = x; then
1468 cross_compiling=maybe
1469 $as_echo "$as_me: WARNING: If you wanted to set the --build type, don't use --host.
1470 If a cross compiler is detected then cross compile mode will be used." >&2
1471 elif test "x$build_alias" != "x$host_alias"; then
1477 test -n "$host_alias" && ac_tool_prefix=$host_alias-
1479 test "$silent" = yes && exec 6>/dev/null
1482 ac_pwd=`pwd` && test -n "$ac_pwd" &&
1483 ac_ls_di=`ls -di .` &&
1484 ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` ||
1485 { $as_echo "$as_me: error: working directory cannot be determined" >&2
1486 { (exit 1); exit 1; }; }
1487 test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
1488 { $as_echo "$as_me: error: pwd does not report name of working directory" >&2
1489 { (exit 1); exit 1; }; }
1492 # Find the source files, if location was not specified.
1493 if test -z "$srcdir"; then
1494 ac_srcdir_defaulted=yes
1495 # Try the directory containing this script, then the parent directory.
1496 ac_confdir=`$as_dirname -- "$as_myself" ||
1497 $as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
1498 X"$as_myself" : 'X\(//\)[^/]' \| \
1499 X"$as_myself" : 'X\(//\)$' \| \
1500 X"$as_myself" : 'X\(/\)' \| . 2>/dev/null ||
1501 $as_echo X"$as_myself" |
1502 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
1520 if test ! -r "$srcdir/$ac_unique_file"; then
1524 ac_srcdir_defaulted=no
1526 if test ! -r "$srcdir/$ac_unique_file"; then
1527 test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .."
1528 { $as_echo "$as_me: error: cannot find sources ($ac_unique_file) in $srcdir" >&2
1529 { (exit 1); exit 1; }; }
1531 ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work"
1533 cd "$srcdir" && test -r "./$ac_unique_file" || { $as_echo "$as_me: error: $ac_msg" >&2
1534 { (exit 1); exit 1; }; }
1536 # When building in place, set srcdir=.
1537 if test "$ac_abs_confdir" = "$ac_pwd"; then
1540 # Remove unnecessary trailing slashes from srcdir.
1541 # Double slashes in file names in object file debugging info
1542 # mess up M-x gdb in Emacs.
1544 */) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
1546 for ac_var in $ac_precious_vars; do
1547 eval ac_env_${ac_var}_set=\${${ac_var}+set}
1548 eval ac_env_${ac_var}_value=\$${ac_var}
1549 eval ac_cv_env_${ac_var}_set=\${${ac_var}+set}
1550 eval ac_cv_env_${ac_var}_value=\$${ac_var}
1554 # Report the --help message.
1556 if test "$ac_init_help" = "long"; then
1557 # Omit some internal or obsolete options to make the list less imposing.
1558 # This message is too long to be a string in the A/UX 3.1 sh.
1560 \`configure' configures pcsx 1.9 to adapt to many kinds of systems.
1562 Usage: $0 [OPTION]... [VAR=VALUE]...
1564 To assign environment variables (e.g., CC, CFLAGS...), specify them as
1565 VAR=VALUE. See below for descriptions of some of the useful variables.
1567 Defaults for the options are specified in brackets.
1570 -h, --help display this help and exit
1571 --help=short display options specific to this package
1572 --help=recursive display the short help of all the included packages
1573 -V, --version display version information and exit
1574 -q, --quiet, --silent do not print \`checking...' messages
1575 --cache-file=FILE cache test results in FILE [disabled]
1576 -C, --config-cache alias for \`--cache-file=config.cache'
1577 -n, --no-create do not create output files
1578 --srcdir=DIR find the sources in DIR [configure dir or \`..']
1580 Installation directories:
1581 --prefix=PREFIX install architecture-independent files in PREFIX
1582 [$ac_default_prefix]
1583 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
1586 By default, \`make install' will install all the files in
1587 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
1588 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
1589 for instance \`--prefix=\$HOME'.
1591 For better control, use the options below.
1593 Fine tuning of the installation directories:
1594 --bindir=DIR user executables [EPREFIX/bin]
1595 --sbindir=DIR system admin executables [EPREFIX/sbin]
1596 --libexecdir=DIR program executables [EPREFIX/libexec]
1597 --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
1598 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
1599 --localstatedir=DIR modifiable single-machine data [PREFIX/var]
1600 --libdir=DIR object code libraries [EPREFIX/lib]
1601 --includedir=DIR C header files [PREFIX/include]
1602 --oldincludedir=DIR C header files for non-gcc [/usr/include]
1603 --datarootdir=DIR read-only arch.-independent data root [PREFIX/share]
1604 --datadir=DIR read-only architecture-independent data [DATAROOTDIR]
1605 --infodir=DIR info documentation [DATAROOTDIR/info]
1606 --localedir=DIR locale-dependent data [DATAROOTDIR/locale]
1607 --mandir=DIR man documentation [DATAROOTDIR/man]
1608 --docdir=DIR documentation root [DATAROOTDIR/doc/pcsx]
1609 --htmldir=DIR html documentation [DOCDIR]
1610 --dvidir=DIR dvi documentation [DOCDIR]
1611 --pdfdir=DIR pdf documentation [DOCDIR]
1612 --psdir=DIR ps documentation [DOCDIR]
1618 --program-prefix=PREFIX prepend PREFIX to installed program names
1619 --program-suffix=SUFFIX append SUFFIX to installed program names
1620 --program-transform-name=PROGRAM run sed PROGRAM on installed program names
1623 --build=BUILD configure for building on BUILD [guessed]
1624 --host=HOST cross-compile to build programs to run on HOST [BUILD]
1625 --target=TARGET configure for building compilers for TARGET [HOST]
1629 if test -n "$ac_init_help"; then
1630 case $ac_init_help in
1631 short | recursive ) echo "Configuration of pcsx 1.9:";;
1636 --disable-option-checking ignore unrecognized --enable/--with options
1637 --disable-FEATURE do not include FEATURE (same as --enable-FEATURE=no)
1638 --enable-FEATURE[=ARG] include FEATURE [ARG=yes]
1639 --enable-maintainer-mode enable make rules and dependencies not useful
1640 (and sometimes confusing) to the casual installer
1641 --disable-dependency-tracking speeds up one-time build
1642 --enable-dependency-tracking do not reject slow dependency extractors
1643 --enable-static[=PKGS] build static libraries [default=no]
1644 --enable-shared[=PKGS] build shared libraries [default=yes]
1645 --enable-fast-install[=PKGS]
1646 optimize for fast installation [default=yes]
1647 --disable-libtool-lock avoid locking (might break parallel builds)
1648 --disable-nls do not use Native Language Support
1649 --disable-rpath do not hardcode runtime library paths
1650 --disable-sdltest Do not try to compile and run a test SDL program
1651 --enable-sound=... force selection of sound backend (alsa/null/oss/pulseaudio/sdl) (default: sdl)
1652 --enable-libcdio use GNU libcdio for CD-ROM support (default=no)
1653 --enable-opengl build OpenGL plugin (default=no)
1654 --enable-dynarec=... force selection of dynamic recompiler platform (auto/no/x86/x86_64/ppc) (default: auto)
1657 --with-PACKAGE[=ARG] use PACKAGE [ARG=yes]
1658 --without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no)
1659 --with-pic try to use only PIC/non-PIC objects [default=use
1661 --with-gnu-ld assume the C compiler uses GNU ld [default=no]
1662 --with-gnu-ld assume the C compiler uses GNU ld default=no
1663 --with-libiconv-prefix[=DIR] search for libiconv in DIR/include and DIR/lib
1664 --without-libiconv-prefix don't search for libiconv in includedir and libdir
1665 --with-libintl-prefix[=DIR] search for libintl in DIR/include and DIR/lib
1666 --without-libintl-prefix don't search for libintl in includedir and libdir
1667 --with-sdl-prefix=PFX Prefix where SDL is installed (optional)
1668 --with-sdl-exec-prefix=PFX Exec prefix where SDL is installed (optional)
1670 Some influential environment variables:
1671 CC C compiler command
1672 CFLAGS C compiler flags
1673 LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a
1674 nonstandard directory <lib dir>
1675 LIBS libraries to pass to the linker, e.g. -l<library>
1676 CPPFLAGS C/C++/Objective C preprocessor flags, e.g. -I<include dir> if
1677 you have headers in a nonstandard directory <include dir>
1679 CCAS assembler compiler command (defaults to CC)
1680 CCASFLAGS assembler compiler flags (defaults to CFLAGS)
1681 PKG_CONFIG path to pkg-config utility
1683 C compiler flags for GLIB2, overriding pkg-config
1684 GLIB2_LIBS linker flags for GLIB2, overriding pkg-config
1685 GTK2_CFLAGS C compiler flags for GTK2, overriding pkg-config
1686 GTK2_LIBS linker flags for GTK2, overriding pkg-config
1688 C compiler flags for GLADE2, overriding pkg-config
1689 GLADE2_LIBS linker flags for GLADE2, overriding pkg-config
1690 ALSA_CFLAGS C compiler flags for ALSA, overriding pkg-config
1691 ALSA_LIBS linker flags for ALSA, overriding pkg-config
1693 C compiler flags for PULSEAUDIO, overriding pkg-config
1695 linker flags for PULSEAUDIO, overriding pkg-config
1697 C compiler flags for LIBCDIO, overriding pkg-config
1699 linker flags for LIBCDIO, overriding pkg-config
1701 Use these variables to override the choices made by `configure' or to help
1702 it to find libraries and programs with nonstandard names/locations.
1708 if test "$ac_init_help" = "recursive"; then
1709 # If there are subdirs, report their specific --help.
1710 for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
1711 test -d "$ac_dir" ||
1712 { cd "$srcdir" && ac_pwd=`pwd` && srcdir=. && test -d "$ac_dir"; } ||
1717 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
1719 ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
1720 # A ".." for each directory in $ac_dir_suffix.
1721 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
1722 case $ac_top_builddir_sub in
1723 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
1724 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
1727 ac_abs_top_builddir=$ac_pwd
1728 ac_abs_builddir=$ac_pwd$ac_dir_suffix
1729 # for backward compatibility:
1730 ac_top_builddir=$ac_top_build_prefix
1733 .) # We are building in place.
1735 ac_top_srcdir=$ac_top_builddir_sub
1736 ac_abs_top_srcdir=$ac_pwd ;;
1737 [\\/]* | ?:[\\/]* ) # Absolute name.
1738 ac_srcdir=$srcdir$ac_dir_suffix;
1739 ac_top_srcdir=$srcdir
1740 ac_abs_top_srcdir=$srcdir ;;
1742 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
1743 ac_top_srcdir=$ac_top_build_prefix$srcdir
1744 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
1746 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
1748 cd "$ac_dir" || { ac_status=$?; continue; }
1749 # Check for guested configure.
1750 if test -f "$ac_srcdir/configure.gnu"; then
1752 $SHELL "$ac_srcdir/configure.gnu" --help=recursive
1753 elif test -f "$ac_srcdir/configure"; then
1755 $SHELL "$ac_srcdir/configure" --help=recursive
1757 $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
1759 cd "$ac_pwd" || { ac_status=$?; break; }
1763 test -n "$ac_init_help" && exit $ac_status
1764 if $ac_init_version; then
1767 generated by GNU Autoconf 2.63
1769 Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001,
1770 2002, 2003, 2004, 2005, 2006, 2007, 2008 Free Software Foundation, Inc.
1771 This configure script is free software; the Free Software Foundation
1772 gives unlimited permission to copy, distribute and modify it.
1776 cat >config.log <<_ACEOF
1777 This file contains any messages produced by compilers while
1778 running configure, to aid debugging if configure makes a mistake.
1780 It was created by pcsx $as_me 1.9, which was
1781 generated by GNU Autoconf 2.63. Invocation command line was
1793 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
1794 uname -m = `(uname -m) 2>/dev/null || echo unknown`
1795 uname -r = `(uname -r) 2>/dev/null || echo unknown`
1796 uname -s = `(uname -s) 2>/dev/null || echo unknown`
1797 uname -v = `(uname -v) 2>/dev/null || echo unknown`
1799 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
1800 /bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown`
1802 /bin/arch = `(/bin/arch) 2>/dev/null || echo unknown`
1803 /usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown`
1804 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
1805 /usr/bin/hostinfo = `(/usr/bin/hostinfo) 2>/dev/null || echo unknown`
1806 /bin/machine = `(/bin/machine) 2>/dev/null || echo unknown`
1807 /usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown`
1808 /bin/universe = `(/bin/universe) 2>/dev/null || echo unknown`
1812 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1816 test -z "$as_dir" && as_dir=.
1817 $as_echo "PATH: $as_dir"
1833 # Keep a trace of the command line.
1834 # Strip out --no-create and --no-recursion so they do not pile up.
1835 # Strip out --silent because we don't want to record it for future runs.
1836 # Also quote any args containing shell meta-characters.
1837 # Make two passes to allow for proper duplicate-argument suppression.
1841 ac_must_keep_next=false
1847 -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
1848 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1849 | -silent | --silent | --silen | --sile | --sil)
1852 ac_arg=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
1855 1) ac_configure_args0="$ac_configure_args0 '$ac_arg'" ;;
1857 ac_configure_args1="$ac_configure_args1 '$ac_arg'"
1858 if test $ac_must_keep_next = true; then
1859 ac_must_keep_next=false # Got value, back to normal.
1862 *=* | --config-cache | -C | -disable-* | --disable-* \
1863 | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
1864 | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
1865 | -with-* | --with-* | -without-* | --without-* | --x)
1866 case "$ac_configure_args0 " in
1867 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
1870 -* ) ac_must_keep_next=true ;;
1873 ac_configure_args="$ac_configure_args '$ac_arg'"
1878 $as_unset ac_configure_args0 || test "${ac_configure_args0+set}" != set || { ac_configure_args0=; export ac_configure_args0; }
1879 $as_unset ac_configure_args1 || test "${ac_configure_args1+set}" != set || { ac_configure_args1=; export ac_configure_args1; }
1881 # When interrupted or exit'd, cleanup temporary files, and complete
1882 # config.log. We remove comments because anyway the quotes in there
1883 # would cause problems or look ugly.
1884 # WARNING: Use '\'' to represent an apostrophe within the trap.
1885 # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
1886 trap 'exit_status=$?
1887 # Save into config.log some information that might help in debugging.
1892 ## ---------------- ##
1893 ## Cache variables. ##
1894 ## ---------------- ##
1897 # The following way of writing the cache mishandles newlines in values,
1899 for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
1900 eval ac_val=\$$ac_var
1904 *_cv_*) { $as_echo "$as_me:$LINENO: WARNING: cache variable $ac_var contains a newline" >&5
1905 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
1908 _ | IFS | as_nl) ;; #(
1909 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
1910 *) $as_unset $ac_var ;;
1915 case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
1916 *${as_nl}ac_space=\ *)
1918 "s/'\''/'\''\\\\'\'''\''/g;
1919 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
1922 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
1930 ## ----------------- ##
1931 ## Output variables. ##
1932 ## ----------------- ##
1935 for ac_var in $ac_subst_vars
1937 eval ac_val=\$$ac_var
1939 *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
1941 $as_echo "$ac_var='\''$ac_val'\''"
1945 if test -n "$ac_subst_files"; then
1947 ## ------------------- ##
1948 ## File substitutions. ##
1949 ## ------------------- ##
1952 for ac_var in $ac_subst_files
1954 eval ac_val=\$$ac_var
1956 *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
1958 $as_echo "$ac_var='\''$ac_val'\''"
1963 if test -s confdefs.h; then
1973 test "$ac_signal" != 0 &&
1974 $as_echo "$as_me: caught signal $ac_signal"
1975 $as_echo "$as_me: exit $exit_status"
1977 rm -f core *.core core.conftest.* &&
1978 rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
1981 for ac_signal in 1 2 13 15; do
1982 trap 'ac_signal='$ac_signal'; { (exit 1); exit 1; }' $ac_signal
1986 # confdefs.h avoids OS command line length limits that DEFS can exceed.
1987 rm -f -r conftest* confdefs.h
1989 # Predefined preprocessor variables.
1991 cat >>confdefs.h <<_ACEOF
1992 #define PACKAGE_NAME "$PACKAGE_NAME"
1996 cat >>confdefs.h <<_ACEOF
1997 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
2001 cat >>confdefs.h <<_ACEOF
2002 #define PACKAGE_VERSION "$PACKAGE_VERSION"
2006 cat >>confdefs.h <<_ACEOF
2007 #define PACKAGE_STRING "$PACKAGE_STRING"
2011 cat >>confdefs.h <<_ACEOF
2012 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
2016 # Let the site file select an alternate cache file if it wants to.
2017 # Prefer an explicitly selected file to automatically selected ones.
2020 if test -n "$CONFIG_SITE"; then
2021 ac_site_file1=$CONFIG_SITE
2022 elif test "x$prefix" != xNONE; then
2023 ac_site_file1=$prefix/share/config.site
2024 ac_site_file2=$prefix/etc/config.site
2026 ac_site_file1=$ac_default_prefix/share/config.site
2027 ac_site_file2=$ac_default_prefix/etc/config.site
2029 for ac_site_file in "$ac_site_file1" "$ac_site_file2"
2031 test "x$ac_site_file" = xNONE && continue
2032 if test -r "$ac_site_file"; then
2033 { $as_echo "$as_me:$LINENO: loading site script $ac_site_file" >&5
2034 $as_echo "$as_me: loading site script $ac_site_file" >&6;}
2035 sed 's/^/| /' "$ac_site_file" >&5
2040 if test -r "$cache_file"; then
2041 # Some versions of bash will fail to source /dev/null (special
2042 # files actually), so we avoid doing that.
2043 if test -f "$cache_file"; then
2044 { $as_echo "$as_me:$LINENO: loading cache $cache_file" >&5
2045 $as_echo "$as_me: loading cache $cache_file" >&6;}
2047 [\\/]* | ?:[\\/]* ) . "$cache_file";;
2048 *) . "./$cache_file";;
2052 { $as_echo "$as_me:$LINENO: creating cache $cache_file" >&5
2053 $as_echo "$as_me: creating cache $cache_file" >&6;}
2057 gt_needs="$gt_needs "
2058 # Check that the precious variables saved in the cache have kept the same
2060 ac_cache_corrupted=false
2061 for ac_var in $ac_precious_vars; do
2062 eval ac_old_set=\$ac_cv_env_${ac_var}_set
2063 eval ac_new_set=\$ac_env_${ac_var}_set
2064 eval ac_old_val=\$ac_cv_env_${ac_var}_value
2065 eval ac_new_val=\$ac_env_${ac_var}_value
2066 case $ac_old_set,$ac_new_set in
2068 { $as_echo "$as_me:$LINENO: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
2069 $as_echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
2070 ac_cache_corrupted=: ;;
2072 { $as_echo "$as_me:$LINENO: error: \`$ac_var' was not set in the previous run" >&5
2073 $as_echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
2074 ac_cache_corrupted=: ;;
2077 if test "x$ac_old_val" != "x$ac_new_val"; then
2078 # differences in whitespace do not lead to failure.
2079 ac_old_val_w=`echo x $ac_old_val`
2080 ac_new_val_w=`echo x $ac_new_val`
2081 if test "$ac_old_val_w" != "$ac_new_val_w"; then
2082 { $as_echo "$as_me:$LINENO: error: \`$ac_var' has changed since the previous run:" >&5
2083 $as_echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
2084 ac_cache_corrupted=:
2086 { $as_echo "$as_me:$LINENO: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5
2087 $as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;}
2088 eval $ac_var=\$ac_old_val
2090 { $as_echo "$as_me:$LINENO: former value: \`$ac_old_val'" >&5
2091 $as_echo "$as_me: former value: \`$ac_old_val'" >&2;}
2092 { $as_echo "$as_me:$LINENO: current value: \`$ac_new_val'" >&5
2093 $as_echo "$as_me: current value: \`$ac_new_val'" >&2;}
2096 # Pass precious variables to config.status.
2097 if test "$ac_new_set" = set; then
2099 *\'*) ac_arg=$ac_var=`$as_echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
2100 *) ac_arg=$ac_var=$ac_new_val ;;
2102 case " $ac_configure_args " in
2103 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
2104 *) ac_configure_args="$ac_configure_args '$ac_arg'" ;;
2108 if $ac_cache_corrupted; then
2109 { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
2110 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2111 { $as_echo "$as_me:$LINENO: error: changes in the environment can compromise the build" >&5
2112 $as_echo "$as_me: error: changes in the environment can compromise the build" >&2;}
2113 { { $as_echo "$as_me:$LINENO: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&5
2114 $as_echo "$as_me: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&2;}
2115 { (exit 1); exit 1; }; }
2143 ac_cpp='$CPP $CPPFLAGS'
2144 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2145 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2146 ac_compiler_gnu=$ac_cv_c_compiler_gnu
2151 for ac_dir in "$srcdir" "$srcdir/.." "$srcdir/../.."; do
2152 if test -f "$ac_dir/install-sh"; then
2154 ac_install_sh="$ac_aux_dir/install-sh -c"
2156 elif test -f "$ac_dir/install.sh"; then
2158 ac_install_sh="$ac_aux_dir/install.sh -c"
2160 elif test -f "$ac_dir/shtool"; then
2162 ac_install_sh="$ac_aux_dir/shtool install -c"
2166 if test -z "$ac_aux_dir"; then
2167 { { $as_echo "$as_me:$LINENO: error: cannot find install-sh or install.sh in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" >&5
2168 $as_echo "$as_me: error: cannot find install-sh or install.sh in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" >&2;}
2169 { (exit 1); exit 1; }; }
2172 # These three variables are undocumented and unsupported,
2173 # and are intended to be withdrawn in a future Autoconf release.
2174 # They can cause serious problems if a builder's source tree is in a directory
2175 # whose full name contains unusual characters.
2176 ac_config_guess="$SHELL $ac_aux_dir/config.guess" # Please don't use this var.
2177 ac_config_sub="$SHELL $ac_aux_dir/config.sub" # Please don't use this var.
2178 ac_configure="$SHELL $ac_aux_dir/configure" # Please don't use this var.
2181 # Make sure we can run config.sub.
2182 $SHELL "$ac_aux_dir/config.sub" sun4 >/dev/null 2>&1 ||
2183 { { $as_echo "$as_me:$LINENO: error: cannot run $SHELL $ac_aux_dir/config.sub" >&5
2184 $as_echo "$as_me: error: cannot run $SHELL $ac_aux_dir/config.sub" >&2;}
2185 { (exit 1); exit 1; }; }
2187 { $as_echo "$as_me:$LINENO: checking build system type" >&5
2188 $as_echo_n "checking build system type... " >&6; }
2189 if test "${ac_cv_build+set}" = set; then
2190 $as_echo_n "(cached) " >&6
2192 ac_build_alias=$build_alias
2193 test "x$ac_build_alias" = x &&
2194 ac_build_alias=`$SHELL "$ac_aux_dir/config.guess"`
2195 test "x$ac_build_alias" = x &&
2196 { { $as_echo "$as_me:$LINENO: error: cannot guess build type; you must specify one" >&5
2197 $as_echo "$as_me: error: cannot guess build type; you must specify one" >&2;}
2198 { (exit 1); exit 1; }; }
2199 ac_cv_build=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
2200 { { $as_echo "$as_me:$LINENO: error: $SHELL $ac_aux_dir/config.sub $ac_build_alias failed" >&5
2201 $as_echo "$as_me: error: $SHELL $ac_aux_dir/config.sub $ac_build_alias failed" >&2;}
2202 { (exit 1); exit 1; }; }
2205 { $as_echo "$as_me:$LINENO: result: $ac_cv_build" >&5
2206 $as_echo "$ac_cv_build" >&6; }
2207 case $ac_cv_build in
2209 *) { { $as_echo "$as_me:$LINENO: error: invalid value of canonical build" >&5
2210 $as_echo "$as_me: error: invalid value of canonical build" >&2;}
2211 { (exit 1); exit 1; }; };;
2214 ac_save_IFS=$IFS; IFS='-'
2220 # Remember, the first character of IFS is used to create $*,
2221 # except with old shells:
2224 case $build_os in *\ *) build_os=`echo "$build_os" | sed 's/ /-/g'`;; esac
2227 { $as_echo "$as_me:$LINENO: checking host system type" >&5
2228 $as_echo_n "checking host system type... " >&6; }
2229 if test "${ac_cv_host+set}" = set; then
2230 $as_echo_n "(cached) " >&6
2232 if test "x$host_alias" = x; then
2233 ac_cv_host=$ac_cv_build
2235 ac_cv_host=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
2236 { { $as_echo "$as_me:$LINENO: error: $SHELL $ac_aux_dir/config.sub $host_alias failed" >&5
2237 $as_echo "$as_me: error: $SHELL $ac_aux_dir/config.sub $host_alias failed" >&2;}
2238 { (exit 1); exit 1; }; }
2242 { $as_echo "$as_me:$LINENO: result: $ac_cv_host" >&5
2243 $as_echo "$ac_cv_host" >&6; }
2246 *) { { $as_echo "$as_me:$LINENO: error: invalid value of canonical host" >&5
2247 $as_echo "$as_me: error: invalid value of canonical host" >&2;}
2248 { (exit 1); exit 1; }; };;
2251 ac_save_IFS=$IFS; IFS='-'
2257 # Remember, the first character of IFS is used to create $*,
2258 # except with old shells:
2261 case $host_os in *\ *) host_os=`echo "$host_os" | sed 's/ /-/g'`;; esac
2264 { $as_echo "$as_me:$LINENO: checking target system type" >&5
2265 $as_echo_n "checking target system type... " >&6; }
2266 if test "${ac_cv_target+set}" = set; then
2267 $as_echo_n "(cached) " >&6
2269 if test "x$target_alias" = x; then
2270 ac_cv_target=$ac_cv_host
2272 ac_cv_target=`$SHELL "$ac_aux_dir/config.sub" $target_alias` ||
2273 { { $as_echo "$as_me:$LINENO: error: $SHELL $ac_aux_dir/config.sub $target_alias failed" >&5
2274 $as_echo "$as_me: error: $SHELL $ac_aux_dir/config.sub $target_alias failed" >&2;}
2275 { (exit 1); exit 1; }; }
2279 { $as_echo "$as_me:$LINENO: result: $ac_cv_target" >&5
2280 $as_echo "$ac_cv_target" >&6; }
2281 case $ac_cv_target in
2283 *) { { $as_echo "$as_me:$LINENO: error: invalid value of canonical target" >&5
2284 $as_echo "$as_me: error: invalid value of canonical target" >&2;}
2285 { (exit 1); exit 1; }; };;
2287 target=$ac_cv_target
2288 ac_save_IFS=$IFS; IFS='-'
2294 # Remember, the first character of IFS is used to create $*,
2295 # except with old shells:
2298 case $target_os in *\ *) target_os=`echo "$target_os" | sed 's/ /-/g'`;; esac
2301 # The aliases save the names the user supplied, while $host etc.
2302 # will get canonicalized.
2303 test -n "$target_alias" &&
2304 test "$program_prefix$program_suffix$program_transform_name" = \
2306 program_prefix=${target_alias}-
2307 am__api_version='1.10'
2309 # Find a good install program. We prefer a C program (faster),
2310 # so one script is as good as another. But avoid the broken or
2311 # incompatible versions:
2312 # SysV /etc/install, /usr/sbin/install
2313 # SunOS /usr/etc/install
2314 # IRIX /sbin/install
2316 # AmigaOS /C/install, which installs bootblocks on floppy discs
2317 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
2318 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
2319 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
2320 # OS/2's system install, which has a completely different semantic
2321 # ./install, which can be erroneously created by make from ./install.sh.
2322 # Reject install programs that cannot install multiple files.
2323 { $as_echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
2324 $as_echo_n "checking for a BSD-compatible install... " >&6; }
2325 if test -z "$INSTALL"; then
2326 if test "${ac_cv_path_install+set}" = set; then
2327 $as_echo_n "(cached) " >&6
2329 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2333 test -z "$as_dir" && as_dir=.
2334 # Account for people who put trailing slashes in PATH elements.
2336 ./ | .// | /cC/* | \
2337 /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
2338 ?:\\/os2\\/install\\/* | ?:\\/OS2\\/INSTALL\\/* | \
2341 # OSF1 and SCO ODT 3.0 have their own names for install.
2342 # Don't use installbsd from OSF since it installs stuff as root
2344 for ac_prog in ginstall scoinst install; do
2345 for ac_exec_ext in '' $ac_executable_extensions; do
2346 if { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; }; then
2347 if test $ac_prog = install &&
2348 grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
2349 # AIX install. It has an incompatible calling convention.
2351 elif test $ac_prog = install &&
2352 grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
2353 # program-specific install script used by HP pwplus--don't use.
2356 rm -rf conftest.one conftest.two conftest.dir
2357 echo one > conftest.one
2358 echo two > conftest.two
2360 if "$as_dir/$ac_prog$ac_exec_ext" -c conftest.one conftest.two "`pwd`/conftest.dir" &&
2361 test -s conftest.one && test -s conftest.two &&
2362 test -s conftest.dir/conftest.one &&
2363 test -s conftest.dir/conftest.two
2365 ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
2378 rm -rf conftest.one conftest.two conftest.dir
2381 if test "${ac_cv_path_install+set}" = set; then
2382 INSTALL=$ac_cv_path_install
2384 # As a last resort, use the slow shell script. Don't cache a
2385 # value for INSTALL within a source directory, because that will
2386 # break other packages using the cache if that directory is
2387 # removed, or if the value is a relative name.
2388 INSTALL=$ac_install_sh
2391 { $as_echo "$as_me:$LINENO: result: $INSTALL" >&5
2392 $as_echo "$INSTALL" >&6; }
2394 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
2395 # It thinks the first close brace ends the variable substitution.
2396 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
2398 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
2400 test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
2402 { $as_echo "$as_me:$LINENO: checking whether build environment is sane" >&5
2403 $as_echo_n "checking whether build environment is sane... " >&6; }
2406 echo timestamp > conftest.file
2407 # Do `set' in a subshell so we don't clobber the current shell's
2408 # arguments. Must try -L first in case configure is actually a
2409 # symlink; some systems play weird games with the mod time of symlinks
2410 # (eg FreeBSD returns the mod time of the symlink's containing
2413 set X `ls -Lt $srcdir/configure conftest.file 2> /dev/null`
2414 if test "$*" = "X"; then
2416 set X `ls -t $srcdir/configure conftest.file`
2419 if test "$*" != "X $srcdir/configure conftest.file" \
2420 && test "$*" != "X conftest.file $srcdir/configure"; then
2422 # If neither matched, then we have a broken ls. This can happen
2423 # if, for instance, CONFIG_SHELL is bash and it inherits a
2424 # broken ls alias from the environment. This has actually
2425 # happened. Such a system could not be considered "sane".
2426 { { $as_echo "$as_me:$LINENO: error: ls -t appears to fail. Make sure there is not a broken
2427 alias in your environment" >&5
2428 $as_echo "$as_me: error: ls -t appears to fail. Make sure there is not a broken
2429 alias in your environment" >&2;}
2430 { (exit 1); exit 1; }; }
2433 test "$2" = conftest.file
2439 { { $as_echo "$as_me:$LINENO: error: newly created file is older than distributed files!
2440 Check your system clock" >&5
2441 $as_echo "$as_me: error: newly created file is older than distributed files!
2442 Check your system clock" >&2;}
2443 { (exit 1); exit 1; }; }
2445 { $as_echo "$as_me:$LINENO: result: yes" >&5
2446 $as_echo "yes" >&6; }
2447 test "$program_prefix" != NONE &&
2448 program_transform_name="s&^&$program_prefix&;$program_transform_name"
2449 # Use a double $ so make ignores it.
2450 test "$program_suffix" != NONE &&
2451 program_transform_name="s&\$&$program_suffix&;$program_transform_name"
2452 # Double any \ or $.
2453 # By default was `s,x,x', remove it if useless.
2454 ac_script='s/[\\$]/&&/g;s/;s,x,x,$//'
2455 program_transform_name=`$as_echo "$program_transform_name" | sed "$ac_script"`
2457 # expand $ac_aux_dir to an absolute path
2458 am_aux_dir=`cd $ac_aux_dir && pwd`
2460 test x"${MISSING+set}" = xset || MISSING="\${SHELL} $am_aux_dir/missing"
2461 # Use eval to expand $SHELL
2462 if eval "$MISSING --run true"; then
2463 am_missing_run="$MISSING --run "
2466 { $as_echo "$as_me:$LINENO: WARNING: \`missing' script is too old or missing" >&5
2467 $as_echo "$as_me: WARNING: \`missing' script is too old or missing" >&2;}
2470 { $as_echo "$as_me:$LINENO: checking for a thread-safe mkdir -p" >&5
2471 $as_echo_n "checking for a thread-safe mkdir -p... " >&6; }
2472 if test -z "$MKDIR_P"; then
2473 if test "${ac_cv_path_mkdir+set}" = set; then
2474 $as_echo_n "(cached) " >&6
2476 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2477 for as_dir in $PATH$PATH_SEPARATOR/opt/sfw/bin
2480 test -z "$as_dir" && as_dir=.
2481 for ac_prog in mkdir gmkdir; do
2482 for ac_exec_ext in '' $ac_executable_extensions; do
2483 { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; } || continue
2484 case `"$as_dir/$ac_prog$ac_exec_ext" --version 2>&1` in #(
2485 'mkdir (GNU coreutils) '* | \
2486 'mkdir (coreutils) '* | \
2487 'mkdir (fileutils) '4.1*)
2488 ac_cv_path_mkdir=$as_dir/$ac_prog$ac_exec_ext
2498 if test "${ac_cv_path_mkdir+set}" = set; then
2499 MKDIR_P="$ac_cv_path_mkdir -p"
2501 # As a last resort, use the slow shell script. Don't cache a
2502 # value for MKDIR_P within a source directory, because that will
2503 # break other packages using the cache if that directory is
2504 # removed, or if the value is a relative name.
2505 test -d ./--version && rmdir ./--version
2506 MKDIR_P="$ac_install_sh -d"
2509 { $as_echo "$as_me:$LINENO: result: $MKDIR_P" >&5
2510 $as_echo "$MKDIR_P" >&6; }
2514 [\\/$]* | ?:[\\/]*) ;;
2515 */*) mkdir_p="\$(top_builddir)/$mkdir_p" ;;
2518 for ac_prog in gawk mawk nawk awk
2520 # Extract the first word of "$ac_prog", so it can be a program name with args.
2521 set dummy $ac_prog; ac_word=$2
2522 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
2523 $as_echo_n "checking for $ac_word... " >&6; }
2524 if test "${ac_cv_prog_AWK+set}" = set; then
2525 $as_echo_n "(cached) " >&6
2527 if test -n "$AWK"; then
2528 ac_cv_prog_AWK="$AWK" # Let the user override the test.
2530 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2534 test -z "$as_dir" && as_dir=.
2535 for ac_exec_ext in '' $ac_executable_extensions; do
2536 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2537 ac_cv_prog_AWK="$ac_prog"
2538 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2548 if test -n "$AWK"; then
2549 { $as_echo "$as_me:$LINENO: result: $AWK" >&5
2550 $as_echo "$AWK" >&6; }
2552 { $as_echo "$as_me:$LINENO: result: no" >&5
2553 $as_echo "no" >&6; }
2557 test -n "$AWK" && break
2560 { $as_echo "$as_me:$LINENO: checking whether ${MAKE-make} sets \$(MAKE)" >&5
2561 $as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; }
2563 ac_make=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
2564 if { as_var=ac_cv_prog_make_${ac_make}_set; eval "test \"\${$as_var+set}\" = set"; }; then
2565 $as_echo_n "(cached) " >&6
2567 cat >conftest.make <<\_ACEOF
2570 @echo '@@@%%%=$(MAKE)=@@@%%%'
2572 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
2573 case `${MAKE-make} -f conftest.make 2>/dev/null` in
2575 eval ac_cv_prog_make_${ac_make}_set=yes;;
2577 eval ac_cv_prog_make_${ac_make}_set=no;;
2581 if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then
2582 { $as_echo "$as_me:$LINENO: result: yes" >&5
2583 $as_echo "yes" >&6; }
2586 { $as_echo "$as_me:$LINENO: result: no" >&5
2587 $as_echo "no" >&6; }
2588 SET_MAKE="MAKE=${MAKE-make}"
2591 rm -rf .tst 2>/dev/null
2592 mkdir .tst 2>/dev/null
2593 if test -d .tst; then
2598 rmdir .tst 2>/dev/null
2600 if test "`cd $srcdir && pwd`" != "`pwd`"; then
2601 # Use -I$(srcdir) only when $(srcdir) != ., so that make's output
2602 # is not polluted with repeated "-I."
2603 am__isrc=' -I$(srcdir)'
2604 # test to see if srcdir already configured
2605 if test -f $srcdir/config.status; then
2606 { { $as_echo "$as_me:$LINENO: error: source directory already configured; run \"make distclean\" there first" >&5
2607 $as_echo "$as_me: error: source directory already configured; run \"make distclean\" there first" >&2;}
2608 { (exit 1); exit 1; }; }
2612 # test whether we have cygpath
2613 if test -z "$CYGPATH_W"; then
2614 if (cygpath --version) >/dev/null 2>/dev/null; then
2615 CYGPATH_W='cygpath -w'
2622 # Define the identity of the package.
2627 cat >>confdefs.h <<_ACEOF
2628 #define PACKAGE "$PACKAGE"
2632 cat >>confdefs.h <<_ACEOF
2633 #define VERSION "$VERSION"
2636 # Some tools Automake needs.
2638 ACLOCAL=${ACLOCAL-"${am_missing_run}aclocal-${am__api_version}"}
2641 AUTOCONF=${AUTOCONF-"${am_missing_run}autoconf"}
2644 AUTOMAKE=${AUTOMAKE-"${am_missing_run}automake-${am__api_version}"}
2647 AUTOHEADER=${AUTOHEADER-"${am_missing_run}autoheader"}
2650 MAKEINFO=${MAKEINFO-"${am_missing_run}makeinfo"}
2652 install_sh=${install_sh-"\$(SHELL) $am_aux_dir/install-sh"}
2654 # Installed binaries are usually stripped using `strip' when the user
2655 # run `make install-strip'. However `strip' might not be the right
2656 # tool to use in cross-compilation environments, therefore Automake
2657 # will honor the `STRIP' environment variable to overrule this program.
2658 if test "$cross_compiling" != no; then
2659 if test -n "$ac_tool_prefix"; then
2660 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
2661 set dummy ${ac_tool_prefix}strip; ac_word=$2
2662 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
2663 $as_echo_n "checking for $ac_word... " >&6; }
2664 if test "${ac_cv_prog_STRIP+set}" = set; then
2665 $as_echo_n "(cached) " >&6
2667 if test -n "$STRIP"; then
2668 ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
2670 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2674 test -z "$as_dir" && as_dir=.
2675 for ac_exec_ext in '' $ac_executable_extensions; do
2676 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2677 ac_cv_prog_STRIP="${ac_tool_prefix}strip"
2678 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2687 STRIP=$ac_cv_prog_STRIP
2688 if test -n "$STRIP"; then
2689 { $as_echo "$as_me:$LINENO: result: $STRIP" >&5
2690 $as_echo "$STRIP" >&6; }
2692 { $as_echo "$as_me:$LINENO: result: no" >&5
2693 $as_echo "no" >&6; }
2698 if test -z "$ac_cv_prog_STRIP"; then
2700 # Extract the first word of "strip", so it can be a program name with args.
2701 set dummy strip; ac_word=$2
2702 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
2703 $as_echo_n "checking for $ac_word... " >&6; }
2704 if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then
2705 $as_echo_n "(cached) " >&6
2707 if test -n "$ac_ct_STRIP"; then
2708 ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
2710 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2714 test -z "$as_dir" && as_dir=.
2715 for ac_exec_ext in '' $ac_executable_extensions; do
2716 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2717 ac_cv_prog_ac_ct_STRIP="strip"
2718 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2727 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
2728 if test -n "$ac_ct_STRIP"; then
2729 { $as_echo "$as_me:$LINENO: result: $ac_ct_STRIP" >&5
2730 $as_echo "$ac_ct_STRIP" >&6; }
2732 { $as_echo "$as_me:$LINENO: result: no" >&5
2733 $as_echo "no" >&6; }
2736 if test "x$ac_ct_STRIP" = x; then
2739 case $cross_compiling:$ac_tool_warned in
2741 { $as_echo "$as_me:$LINENO: WARNING: using cross tools not prefixed with host triplet" >&5
2742 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
2743 ac_tool_warned=yes ;;
2748 STRIP="$ac_cv_prog_STRIP"
2752 INSTALL_STRIP_PROGRAM="\$(install_sh) -c -s"
2754 # We need awk for the "check" target. The system "awk" is bad on
2756 # Always define AMTAR for backward compatibility.
2758 AMTAR=${AMTAR-"${am_missing_run}tar"}
2760 am__tar='${AMTAR} chof - "$$tardir"'; am__untar='${AMTAR} xf -'
2766 { $as_echo "$as_me:$LINENO: checking whether to enable maintainer-specific portions of Makefiles" >&5
2767 $as_echo_n "checking whether to enable maintainer-specific portions of Makefiles... " >&6; }
2768 # Check whether --enable-maintainer-mode was given.
2769 if test "${enable_maintainer_mode+set}" = set; then
2770 enableval=$enable_maintainer_mode; USE_MAINTAINER_MODE=$enableval
2772 USE_MAINTAINER_MODE=no
2775 { $as_echo "$as_me:$LINENO: result: $USE_MAINTAINER_MODE" >&5
2776 $as_echo "$USE_MAINTAINER_MODE" >&6; }
2777 if test $USE_MAINTAINER_MODE = yes; then
2778 MAINTAINER_MODE_TRUE=
2779 MAINTAINER_MODE_FALSE='#'
2781 MAINTAINER_MODE_TRUE='#'
2782 MAINTAINER_MODE_FALSE=
2785 MAINT=$MAINTAINER_MODE_TRUE
2789 ac_config_headers="$ac_config_headers include/config.h:include/config.h.in"
2793 ac_cpp='$CPP $CPPFLAGS'
2794 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2795 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2796 ac_compiler_gnu=$ac_cv_c_compiler_gnu
2797 if test -n "$ac_tool_prefix"; then
2798 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
2799 set dummy ${ac_tool_prefix}gcc; ac_word=$2
2800 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
2801 $as_echo_n "checking for $ac_word... " >&6; }
2802 if test "${ac_cv_prog_CC+set}" = set; then
2803 $as_echo_n "(cached) " >&6
2805 if test -n "$CC"; then
2806 ac_cv_prog_CC="$CC" # Let the user override the test.
2808 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2812 test -z "$as_dir" && as_dir=.
2813 for ac_exec_ext in '' $ac_executable_extensions; do
2814 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2815 ac_cv_prog_CC="${ac_tool_prefix}gcc"
2816 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2826 if test -n "$CC"; then
2827 { $as_echo "$as_me:$LINENO: result: $CC" >&5
2828 $as_echo "$CC" >&6; }
2830 { $as_echo "$as_me:$LINENO: result: no" >&5
2831 $as_echo "no" >&6; }
2836 if test -z "$ac_cv_prog_CC"; then
2838 # Extract the first word of "gcc", so it can be a program name with args.
2839 set dummy gcc; ac_word=$2
2840 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
2841 $as_echo_n "checking for $ac_word... " >&6; }
2842 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
2843 $as_echo_n "(cached) " >&6
2845 if test -n "$ac_ct_CC"; then
2846 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
2848 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2852 test -z "$as_dir" && as_dir=.
2853 for ac_exec_ext in '' $ac_executable_extensions; do
2854 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2855 ac_cv_prog_ac_ct_CC="gcc"
2856 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2865 ac_ct_CC=$ac_cv_prog_ac_ct_CC
2866 if test -n "$ac_ct_CC"; then
2867 { $as_echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
2868 $as_echo "$ac_ct_CC" >&6; }
2870 { $as_echo "$as_me:$LINENO: result: no" >&5
2871 $as_echo "no" >&6; }
2874 if test "x$ac_ct_CC" = x; then
2877 case $cross_compiling:$ac_tool_warned in
2879 { $as_echo "$as_me:$LINENO: WARNING: using cross tools not prefixed with host triplet" >&5
2880 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
2881 ac_tool_warned=yes ;;
2889 if test -z "$CC"; then
2890 if test -n "$ac_tool_prefix"; then
2891 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
2892 set dummy ${ac_tool_prefix}cc; ac_word=$2
2893 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
2894 $as_echo_n "checking for $ac_word... " >&6; }
2895 if test "${ac_cv_prog_CC+set}" = set; then
2896 $as_echo_n "(cached) " >&6
2898 if test -n "$CC"; then
2899 ac_cv_prog_CC="$CC" # Let the user override the test.
2901 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2905 test -z "$as_dir" && as_dir=.
2906 for ac_exec_ext in '' $ac_executable_extensions; do
2907 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2908 ac_cv_prog_CC="${ac_tool_prefix}cc"
2909 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2919 if test -n "$CC"; then
2920 { $as_echo "$as_me:$LINENO: result: $CC" >&5
2921 $as_echo "$CC" >&6; }
2923 { $as_echo "$as_me:$LINENO: result: no" >&5
2924 $as_echo "no" >&6; }
2930 if test -z "$CC"; then
2931 # Extract the first word of "cc", so it can be a program name with args.
2932 set dummy cc; ac_word=$2
2933 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
2934 $as_echo_n "checking for $ac_word... " >&6; }
2935 if test "${ac_cv_prog_CC+set}" = set; then
2936 $as_echo_n "(cached) " >&6
2938 if test -n "$CC"; then
2939 ac_cv_prog_CC="$CC" # Let the user override the test.
2942 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2946 test -z "$as_dir" && as_dir=.
2947 for ac_exec_ext in '' $ac_executable_extensions; do
2948 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2949 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
2950 ac_prog_rejected=yes
2954 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2961 if test $ac_prog_rejected = yes; then
2962 # We found a bogon in the path, so make sure we never use it.
2963 set dummy $ac_cv_prog_CC
2965 if test $# != 0; then
2966 # We chose a different compiler from the bogus one.
2967 # However, it has the same basename, so the bogon will be chosen
2968 # first if we set CC to just the basename; use the full file name.
2970 ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
2976 if test -n "$CC"; then
2977 { $as_echo "$as_me:$LINENO: result: $CC" >&5
2978 $as_echo "$CC" >&6; }
2980 { $as_echo "$as_me:$LINENO: result: no" >&5
2981 $as_echo "no" >&6; }
2986 if test -z "$CC"; then
2987 if test -n "$ac_tool_prefix"; then
2988 for ac_prog in cl.exe
2990 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
2991 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
2992 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
2993 $as_echo_n "checking for $ac_word... " >&6; }
2994 if test "${ac_cv_prog_CC+set}" = set; then
2995 $as_echo_n "(cached) " >&6
2997 if test -n "$CC"; then
2998 ac_cv_prog_CC="$CC" # Let the user override the test.
3000 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3004 test -z "$as_dir" && as_dir=.
3005 for ac_exec_ext in '' $ac_executable_extensions; do
3006 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3007 ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
3008 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3018 if test -n "$CC"; then
3019 { $as_echo "$as_me:$LINENO: result: $CC" >&5
3020 $as_echo "$CC" >&6; }
3022 { $as_echo "$as_me:$LINENO: result: no" >&5
3023 $as_echo "no" >&6; }
3027 test -n "$CC" && break
3030 if test -z "$CC"; then
3032 for ac_prog in cl.exe
3034 # Extract the first word of "$ac_prog", so it can be a program name with args.
3035 set dummy $ac_prog; ac_word=$2
3036 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
3037 $as_echo_n "checking for $ac_word... " >&6; }
3038 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
3039 $as_echo_n "(cached) " >&6
3041 if test -n "$ac_ct_CC"; then
3042 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
3044 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3048 test -z "$as_dir" && as_dir=.
3049 for ac_exec_ext in '' $ac_executable_extensions; do
3050 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3051 ac_cv_prog_ac_ct_CC="$ac_prog"
3052 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3061 ac_ct_CC=$ac_cv_prog_ac_ct_CC
3062 if test -n "$ac_ct_CC"; then
3063 { $as_echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
3064 $as_echo "$ac_ct_CC" >&6; }
3066 { $as_echo "$as_me:$LINENO: result: no" >&5
3067 $as_echo "no" >&6; }
3071 test -n "$ac_ct_CC" && break
3074 if test "x$ac_ct_CC" = x; then
3077 case $cross_compiling:$ac_tool_warned in
3079 { $as_echo "$as_me:$LINENO: WARNING: using cross tools not prefixed with host triplet" >&5
3080 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3081 ac_tool_warned=yes ;;
3090 test -z "$CC" && { { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
3091 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3092 { { $as_echo "$as_me:$LINENO: error: no acceptable C compiler found in \$PATH
3093 See \`config.log' for more details." >&5
3094 $as_echo "$as_me: error: no acceptable C compiler found in \$PATH
3095 See \`config.log' for more details." >&2;}
3096 { (exit 1); exit 1; }; }; }
3098 # Provide some information about the compiler.
3099 $as_echo "$as_me:$LINENO: checking for C compiler version" >&5
3102 { (ac_try="$ac_compiler --version >&5"
3104 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3105 *) ac_try_echo=$ac_try;;
3107 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
3108 $as_echo "$ac_try_echo") >&5
3109 (eval "$ac_compiler --version >&5") 2>&5
3111 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
3112 (exit $ac_status); }
3113 { (ac_try="$ac_compiler -v >&5"
3115 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3116 *) ac_try_echo=$ac_try;;
3118 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
3119 $as_echo "$ac_try_echo") >&5
3120 (eval "$ac_compiler -v >&5") 2>&5
3122 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
3123 (exit $ac_status); }
3124 { (ac_try="$ac_compiler -V >&5"
3126 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3127 *) ac_try_echo=$ac_try;;
3129 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
3130 $as_echo "$ac_try_echo") >&5
3131 (eval "$ac_compiler -V >&5") 2>&5
3133 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
3134 (exit $ac_status); }
3136 cat >conftest.$ac_ext <<_ACEOF
3139 cat confdefs.h >>conftest.$ac_ext
3140 cat >>conftest.$ac_ext <<_ACEOF
3141 /* end confdefs.h. */
3151 ac_clean_files_save=$ac_clean_files
3152 ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out"
3153 # Try to create an executable without -o first, disregard a.out.
3154 # It will help us diagnose broken compilers, and finding out an intuition
3156 { $as_echo "$as_me:$LINENO: checking for C compiler default output file name" >&5
3157 $as_echo_n "checking for C compiler default output file name... " >&6; }
3158 ac_link_default=`$as_echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
3160 # The possible output files:
3161 ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*"
3164 for ac_file in $ac_files
3167 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
3168 * ) ac_rmfiles="$ac_rmfiles $ac_file";;
3173 if { (ac_try="$ac_link_default"
3175 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3176 *) ac_try_echo=$ac_try;;
3178 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
3179 $as_echo "$ac_try_echo") >&5
3180 (eval "$ac_link_default") 2>&5
3182 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
3183 (exit $ac_status); }; then
3184 # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
3185 # So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
3186 # in a Makefile. We should not override ac_cv_exeext if it was cached,
3187 # so that the user can short-circuit this test for compilers unknown to
3189 for ac_file in $ac_files ''
3191 test -f "$ac_file" || continue
3193 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj )
3196 # We found the default executable, but exeext='' is most
3200 if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no;
3202 ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
3204 # We set ac_cv_exeext here because the later test for it is not
3205 # safe: cross compilers may not add the suffix if given an `-o'
3206 # argument, so we may need to know it at that point already.
3207 # Even if this section looks crufty: it has the advantage of
3214 test "$ac_cv_exeext" = no && ac_cv_exeext=
3220 { $as_echo "$as_me:$LINENO: result: $ac_file" >&5
3221 $as_echo "$ac_file" >&6; }
3222 if test -z "$ac_file"; then
3223 $as_echo "$as_me: failed program was:" >&5
3224 sed 's/^/| /' conftest.$ac_ext >&5
3226 { { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
3227 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3228 { { $as_echo "$as_me:$LINENO: error: C compiler cannot create executables
3229 See \`config.log' for more details." >&5
3230 $as_echo "$as_me: error: C compiler cannot create executables
3231 See \`config.log' for more details." >&2;}
3232 { (exit 77); exit 77; }; }; }
3235 ac_exeext=$ac_cv_exeext
3237 # Check that the compiler produces executables we can run. If not, either
3238 # the compiler is broken, or we cross compile.
3239 { $as_echo "$as_me:$LINENO: checking whether the C compiler works" >&5
3240 $as_echo_n "checking whether the C compiler works... " >&6; }
3241 # FIXME: These cross compiler hacks should be removed for Autoconf 3.0
3242 # If not cross compiling, check that we can run a simple program.
3243 if test "$cross_compiling" != yes; then
3244 if { ac_try='./$ac_file'
3245 { (case "(($ac_try" in
3246 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3247 *) ac_try_echo=$ac_try;;
3249 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
3250 $as_echo "$ac_try_echo") >&5
3251 (eval "$ac_try") 2>&5
3253 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
3254 (exit $ac_status); }; }; then
3257 if test "$cross_compiling" = maybe; then
3260 { { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
3261 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3262 { { $as_echo "$as_me:$LINENO: error: cannot run C compiled programs.
3263 If you meant to cross compile, use \`--host'.
3264 See \`config.log' for more details." >&5
3265 $as_echo "$as_me: error: cannot run C compiled programs.
3266 If you meant to cross compile, use \`--host'.
3267 See \`config.log' for more details." >&2;}
3268 { (exit 1); exit 1; }; }; }
3272 { $as_echo "$as_me:$LINENO: result: yes" >&5
3273 $as_echo "yes" >&6; }
3275 rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out
3276 ac_clean_files=$ac_clean_files_save
3277 # Check that the compiler produces executables we can run. If not, either
3278 # the compiler is broken, or we cross compile.
3279 { $as_echo "$as_me:$LINENO: checking whether we are cross compiling" >&5
3280 $as_echo_n "checking whether we are cross compiling... " >&6; }
3281 { $as_echo "$as_me:$LINENO: result: $cross_compiling" >&5
3282 $as_echo "$cross_compiling" >&6; }
3284 { $as_echo "$as_me:$LINENO: checking for suffix of executables" >&5
3285 $as_echo_n "checking for suffix of executables... " >&6; }
3286 if { (ac_try="$ac_link"
3288 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3289 *) ac_try_echo=$ac_try;;
3291 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
3292 $as_echo "$ac_try_echo") >&5
3293 (eval "$ac_link") 2>&5
3295 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
3296 (exit $ac_status); }; then
3297 # If both `conftest.exe' and `conftest' are `present' (well, observable)
3298 # catch `conftest.exe'. For instance with Cygwin, `ls conftest' will
3299 # work properly (i.e., refer to `conftest.exe'), while it won't with
3301 for ac_file in conftest.exe conftest conftest.*; do
3302 test -f "$ac_file" || continue
3304 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
3305 *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
3311 { { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
3312 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3313 { { $as_echo "$as_me:$LINENO: error: cannot compute suffix of executables: cannot compile and link
3314 See \`config.log' for more details." >&5
3315 $as_echo "$as_me: error: cannot compute suffix of executables: cannot compile and link
3316 See \`config.log' for more details." >&2;}
3317 { (exit 1); exit 1; }; }; }
3320 rm -f conftest$ac_cv_exeext
3321 { $as_echo "$as_me:$LINENO: result: $ac_cv_exeext" >&5
3322 $as_echo "$ac_cv_exeext" >&6; }
3324 rm -f conftest.$ac_ext
3325 EXEEXT=$ac_cv_exeext
3327 { $as_echo "$as_me:$LINENO: checking for suffix of object files" >&5
3328 $as_echo_n "checking for suffix of object files... " >&6; }
3329 if test "${ac_cv_objext+set}" = set; then
3330 $as_echo_n "(cached) " >&6
3332 cat >conftest.$ac_ext <<_ACEOF
3335 cat confdefs.h >>conftest.$ac_ext
3336 cat >>conftest.$ac_ext <<_ACEOF
3337 /* end confdefs.h. */
3347 rm -f conftest.o conftest.obj
3348 if { (ac_try="$ac_compile"
3350 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3351 *) ac_try_echo=$ac_try;;
3353 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
3354 $as_echo "$ac_try_echo") >&5
3355 (eval "$ac_compile") 2>&5
3357 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
3358 (exit $ac_status); }; then
3359 for ac_file in conftest.o conftest.obj conftest.*; do
3360 test -f "$ac_file" || continue;
3362 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;;
3363 *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
3368 $as_echo "$as_me: failed program was:" >&5
3369 sed 's/^/| /' conftest.$ac_ext >&5
3371 { { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
3372 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3373 { { $as_echo "$as_me:$LINENO: error: cannot compute suffix of object files: cannot compile
3374 See \`config.log' for more details." >&5
3375 $as_echo "$as_me: error: cannot compute suffix of object files: cannot compile
3376 See \`config.log' for more details." >&2;}
3377 { (exit 1); exit 1; }; }; }
3380 rm -f conftest.$ac_cv_objext conftest.$ac_ext
3382 { $as_echo "$as_me:$LINENO: result: $ac_cv_objext" >&5
3383 $as_echo "$ac_cv_objext" >&6; }
3384 OBJEXT=$ac_cv_objext
3386 { $as_echo "$as_me:$LINENO: checking whether we are using the GNU C compiler" >&5
3387 $as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
3388 if test "${ac_cv_c_compiler_gnu+set}" = set; then
3389 $as_echo_n "(cached) " >&6
3391 cat >conftest.$ac_ext <<_ACEOF
3394 cat confdefs.h >>conftest.$ac_ext
3395 cat >>conftest.$ac_ext <<_ACEOF
3396 /* end confdefs.h. */
3409 rm -f conftest.$ac_objext
3410 if { (ac_try="$ac_compile"
3412 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3413 *) ac_try_echo=$ac_try;;
3415 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
3416 $as_echo "$ac_try_echo") >&5
3417 (eval "$ac_compile") 2>conftest.er1
3419 grep -v '^ *+' conftest.er1 >conftest.err
3421 cat conftest.err >&5
3422 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
3423 (exit $ac_status); } && {
3424 test -z "$ac_c_werror_flag" ||
3425 test ! -s conftest.err
3426 } && test -s conftest.$ac_objext; then
3429 $as_echo "$as_me: failed program was:" >&5
3430 sed 's/^/| /' conftest.$ac_ext >&5
3435 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3436 ac_cv_c_compiler_gnu=$ac_compiler_gnu
3439 { $as_echo "$as_me:$LINENO: result: $ac_cv_c_compiler_gnu" >&5
3440 $as_echo "$ac_cv_c_compiler_gnu" >&6; }
3441 if test $ac_compiler_gnu = yes; then
3446 ac_test_CFLAGS=${CFLAGS+set}
3447 ac_save_CFLAGS=$CFLAGS
3448 { $as_echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5
3449 $as_echo_n "checking whether $CC accepts -g... " >&6; }
3450 if test "${ac_cv_prog_cc_g+set}" = set; then
3451 $as_echo_n "(cached) " >&6
3453 ac_save_c_werror_flag=$ac_c_werror_flag
3454 ac_c_werror_flag=yes
3457 cat >conftest.$ac_ext <<_ACEOF
3460 cat confdefs.h >>conftest.$ac_ext
3461 cat >>conftest.$ac_ext <<_ACEOF
3462 /* end confdefs.h. */
3472 rm -f conftest.$ac_objext
3473 if { (ac_try="$ac_compile"
3475 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3476 *) ac_try_echo=$ac_try;;
3478 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
3479 $as_echo "$ac_try_echo") >&5
3480 (eval "$ac_compile") 2>conftest.er1
3482 grep -v '^ *+' conftest.er1 >conftest.err
3484 cat conftest.err >&5
3485 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
3486 (exit $ac_status); } && {
3487 test -z "$ac_c_werror_flag" ||
3488 test ! -s conftest.err
3489 } && test -s conftest.$ac_objext; then
3492 $as_echo "$as_me: failed program was:" >&5
3493 sed 's/^/| /' conftest.$ac_ext >&5
3496 cat >conftest.$ac_ext <<_ACEOF
3499 cat confdefs.h >>conftest.$ac_ext
3500 cat >>conftest.$ac_ext <<_ACEOF
3501 /* end confdefs.h. */
3511 rm -f conftest.$ac_objext
3512 if { (ac_try="$ac_compile"
3514 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3515 *) ac_try_echo=$ac_try;;
3517 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
3518 $as_echo "$ac_try_echo") >&5
3519 (eval "$ac_compile") 2>conftest.er1
3521 grep -v '^ *+' conftest.er1 >conftest.err
3523 cat conftest.err >&5
3524 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
3525 (exit $ac_status); } && {
3526 test -z "$ac_c_werror_flag" ||
3527 test ! -s conftest.err
3528 } && test -s conftest.$ac_objext; then
3531 $as_echo "$as_me: failed program was:" >&5
3532 sed 's/^/| /' conftest.$ac_ext >&5
3534 ac_c_werror_flag=$ac_save_c_werror_flag
3536 cat >conftest.$ac_ext <<_ACEOF
3539 cat confdefs.h >>conftest.$ac_ext
3540 cat >>conftest.$ac_ext <<_ACEOF
3541 /* end confdefs.h. */
3551 rm -f conftest.$ac_objext
3552 if { (ac_try="$ac_compile"
3554 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3555 *) ac_try_echo=$ac_try;;
3557 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
3558 $as_echo "$ac_try_echo") >&5
3559 (eval "$ac_compile") 2>conftest.er1
3561 grep -v '^ *+' conftest.er1 >conftest.err
3563 cat conftest.err >&5
3564 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
3565 (exit $ac_status); } && {
3566 test -z "$ac_c_werror_flag" ||
3567 test ! -s conftest.err
3568 } && test -s conftest.$ac_objext; then
3571 $as_echo "$as_me: failed program was:" >&5
3572 sed 's/^/| /' conftest.$ac_ext >&5
3577 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3580 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3583 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3584 ac_c_werror_flag=$ac_save_c_werror_flag
3586 { $as_echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
3587 $as_echo "$ac_cv_prog_cc_g" >&6; }
3588 if test "$ac_test_CFLAGS" = set; then
3589 CFLAGS=$ac_save_CFLAGS
3590 elif test $ac_cv_prog_cc_g = yes; then
3591 if test "$GCC" = yes; then
3597 if test "$GCC" = yes; then
3603 { $as_echo "$as_me:$LINENO: checking for $CC option to accept ISO C89" >&5
3604 $as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
3605 if test "${ac_cv_prog_cc_c89+set}" = set; then
3606 $as_echo_n "(cached) " >&6
3608 ac_cv_prog_cc_c89=no
3610 cat >conftest.$ac_ext <<_ACEOF
3613 cat confdefs.h >>conftest.$ac_ext
3614 cat >>conftest.$ac_ext <<_ACEOF
3615 /* end confdefs.h. */
3618 #include <sys/types.h>
3619 #include <sys/stat.h>
3620 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
3621 struct buf { int x; };
3622 FILE * (*rcsopen) (struct buf *, struct stat *, int);
3623 static char *e (p, i)
3629 static char *f (char * (*g) (char **, int), char **p, ...)
3634 s = g (p, va_arg (v,int));
3639 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
3640 function prototypes and stuff, but not '\xHH' hex character constants.
3641 These don't provoke an error unfortunately, instead are silently treated
3642 as 'x'. The following induces an error, until -std is added to get
3643 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
3644 array size at least. It's necessary to write '\x00'==0 to get something
3645 that's true only with -std. */
3646 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
3648 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
3649 inside strings and character constants. */
3651 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
3653 int test (int i, double x);
3654 struct s1 {int (*f) (int a);};
3655 struct s2 {int (*f) (double a);};
3656 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
3662 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
3667 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
3668 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
3670 CC="$ac_save_CC $ac_arg"
3671 rm -f conftest.$ac_objext
3672 if { (ac_try="$ac_compile"
3674 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3675 *) ac_try_echo=$ac_try;;
3677 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
3678 $as_echo "$ac_try_echo") >&5
3679 (eval "$ac_compile") 2>conftest.er1
3681 grep -v '^ *+' conftest.er1 >conftest.err
3683 cat conftest.err >&5
3684 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
3685 (exit $ac_status); } && {
3686 test -z "$ac_c_werror_flag" ||
3687 test ! -s conftest.err
3688 } && test -s conftest.$ac_objext; then
3689 ac_cv_prog_cc_c89=$ac_arg
3691 $as_echo "$as_me: failed program was:" >&5
3692 sed 's/^/| /' conftest.$ac_ext >&5
3697 rm -f core conftest.err conftest.$ac_objext
3698 test "x$ac_cv_prog_cc_c89" != "xno" && break
3700 rm -f conftest.$ac_ext
3705 case "x$ac_cv_prog_cc_c89" in
3707 { $as_echo "$as_me:$LINENO: result: none needed" >&5
3708 $as_echo "none needed" >&6; } ;;
3710 { $as_echo "$as_me:$LINENO: result: unsupported" >&5
3711 $as_echo "unsupported" >&6; } ;;
3713 CC="$CC $ac_cv_prog_cc_c89"
3714 { $as_echo "$as_me:$LINENO: result: $ac_cv_prog_cc_c89" >&5
3715 $as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
3720 ac_cpp='$CPP $CPPFLAGS'
3721 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3722 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3723 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3724 DEPDIR="${am__leading_dot}deps"
3726 ac_config_commands="$ac_config_commands depfiles"
3729 am_make=${MAKE-make}
3730 cat > confinc << 'END'
3735 # If we don't find an include directive, just comment out the code.
3736 { $as_echo "$as_me:$LINENO: checking for style of include used by $am_make" >&5
3737 $as_echo_n "checking for style of include used by $am_make... " >&6; }
3741 # First try GNU make style include.
3742 echo "include confinc" > confmf
3743 # We grep out `Entering directory' and `Leaving directory'
3744 # messages which can occur if `w' ends up in MAKEFLAGS.
3745 # In particular we don't look at `^make:' because GNU make might
3746 # be invoked under some other name (usually "gmake"), in which
3747 # case it prints its new name instead of `make'.
3748 if test "`$am_make -s -f confmf 2> /dev/null | grep -v 'ing directory'`" = "done"; then
3753 # Now try BSD make style include.
3754 if test "$am__include" = "#"; then
3755 echo '.include "confinc"' > confmf
3756 if test "`$am_make -s -f confmf 2> /dev/null`" = "done"; then
3757 am__include=.include
3764 { $as_echo "$as_me:$LINENO: result: $_am_result" >&5
3765 $as_echo "$_am_result" >&6; }
3766 rm -f confinc confmf
3768 # Check whether --enable-dependency-tracking was given.
3769 if test "${enable_dependency_tracking+set}" = set; then
3770 enableval=$enable_dependency_tracking;
3773 if test "x$enable_dependency_tracking" != xno; then
3774 am_depcomp="$ac_aux_dir/depcomp"
3777 if test "x$enable_dependency_tracking" != xno; then
3787 depcc="$CC" am_compiler_list=
3789 { $as_echo "$as_me:$LINENO: checking dependency style of $depcc" >&5
3790 $as_echo_n "checking dependency style of $depcc... " >&6; }
3791 if test "${am_cv_CC_dependencies_compiler_type+set}" = set; then
3792 $as_echo_n "(cached) " >&6
3794 if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
3795 # We make a subdir and do the tests there. Otherwise we can end up
3796 # making bogus files that we don't know about and never remove. For
3797 # instance it was reported that on HP-UX the gcc test will end up
3798 # making a dummy file named `D' -- because `-MD' means `put the output
3801 # Copy depcomp to subdir because otherwise we won't find it if we're
3802 # using a relative directory.
3803 cp "$am_depcomp" conftest.dir
3805 # We will build objects and dependencies in a subdirectory because
3806 # it helps to detect inapplicable dependency modes. For instance
3807 # both Tru64's cc and ICC support -MD to output dependencies as a
3808 # side effect of compilation, but ICC will put the dependencies in
3809 # the current directory while Tru64 will put them in the object
3813 am_cv_CC_dependencies_compiler_type=none
3814 if test "$am_compiler_list" = ""; then
3815 am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
3817 for depmode in $am_compiler_list; do
3818 # Setup a source with many dependencies, because some compilers
3819 # like to wrap large dependency lists on column 80 (with \), and
3820 # we should not choose a depcomp mode which is confused by this.
3822 # We need to recreate these files for each test, as the compiler may
3823 # overwrite some of them when testing with obscure command lines.
3824 # This happens at least with the AIX C compiler.
3826 for i in 1 2 3 4 5 6; do
3827 echo '#include "conftst'$i'.h"' >> sub/conftest.c
3828 # Using `: > sub/conftst$i.h' creates only sub/conftst1.h with
3829 # Solaris 8's {/usr,}/bin/sh.
3830 touch sub/conftst$i.h
3832 echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
3836 # after this tag, mechanisms are not by side-effect, so they'll
3837 # only be used when explicitly requested
3838 if test "x$enable_dependency_tracking" = xyes; then
3846 # We check with `-c' and `-o' for the sake of the "dashmstdout"
3847 # mode. It turns out that the SunPro C++ compiler does not properly
3848 # handle `-M -o', and we need to detect this.
3849 if depmode=$depmode \
3850 source=sub/conftest.c object=sub/conftest.${OBJEXT-o} \
3851 depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
3852 $SHELL ./depcomp $depcc -c -o sub/conftest.${OBJEXT-o} sub/conftest.c \
3853 >/dev/null 2>conftest.err &&
3854 grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 &&
3855 grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
3856 grep sub/conftest.${OBJEXT-o} sub/conftest.Po > /dev/null 2>&1 &&
3857 ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
3858 # icc doesn't choke on unknown options, it will just issue warnings
3859 # or remarks (even with -Werror). So we grep stderr for any message
3860 # that says an option was ignored or not supported.
3861 # When given -MP, icc 7.0 and 7.1 complain thusly:
3862 # icc: Command line warning: ignoring option '-M'; no argument required
3863 # The diagnosis changed in icc 8.0:
3864 # icc: Command line remark: option '-MP' not supported
3865 if (grep 'ignoring option' conftest.err ||
3866 grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
3867 am_cv_CC_dependencies_compiler_type=$depmode
3876 am_cv_CC_dependencies_compiler_type=none
3880 { $as_echo "$as_me:$LINENO: result: $am_cv_CC_dependencies_compiler_type" >&5
3881 $as_echo "$am_cv_CC_dependencies_compiler_type" >&6; }
3882 CCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type
3885 test "x$enable_dependency_tracking" != xno \
3886 && test "$am_cv_CC_dependencies_compiler_type" = gcc3; then
3888 am__fastdepCC_FALSE='#'
3890 am__fastdepCC_TRUE='#'
3891 am__fastdepCC_FALSE=
3895 if test -n "$ac_tool_prefix"; then
3896 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
3897 set dummy ${ac_tool_prefix}ranlib; ac_word=$2
3898 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
3899 $as_echo_n "checking for $ac_word... " >&6; }
3900 if test "${ac_cv_prog_RANLIB+set}" = set; then
3901 $as_echo_n "(cached) " >&6
3903 if test -n "$RANLIB"; then
3904 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
3906 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3910 test -z "$as_dir" && as_dir=.
3911 for ac_exec_ext in '' $ac_executable_extensions; do
3912 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3913 ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
3914 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3923 RANLIB=$ac_cv_prog_RANLIB
3924 if test -n "$RANLIB"; then
3925 { $as_echo "$as_me:$LINENO: result: $RANLIB" >&5
3926 $as_echo "$RANLIB" >&6; }
3928 { $as_echo "$as_me:$LINENO: result: no" >&5
3929 $as_echo "no" >&6; }
3934 if test -z "$ac_cv_prog_RANLIB"; then
3935 ac_ct_RANLIB=$RANLIB
3936 # Extract the first word of "ranlib", so it can be a program name with args.
3937 set dummy ranlib; ac_word=$2
3938 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
3939 $as_echo_n "checking for $ac_word... " >&6; }
3940 if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then
3941 $as_echo_n "(cached) " >&6
3943 if test -n "$ac_ct_RANLIB"; then
3944 ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
3946 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3950 test -z "$as_dir" && as_dir=.
3951 for ac_exec_ext in '' $ac_executable_extensions; do
3952 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3953 ac_cv_prog_ac_ct_RANLIB="ranlib"
3954 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3963 ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
3964 if test -n "$ac_ct_RANLIB"; then
3965 { $as_echo "$as_me:$LINENO: result: $ac_ct_RANLIB" >&5
3966 $as_echo "$ac_ct_RANLIB" >&6; }
3968 { $as_echo "$as_me:$LINENO: result: no" >&5
3969 $as_echo "no" >&6; }
3972 if test "x$ac_ct_RANLIB" = x; then
3975 case $cross_compiling:$ac_tool_warned in
3977 { $as_echo "$as_me:$LINENO: WARNING: using cross tools not prefixed with host triplet" >&5
3978 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3979 ac_tool_warned=yes ;;
3981 RANLIB=$ac_ct_RANLIB
3984 RANLIB="$ac_cv_prog_RANLIB"
3987 # Check whether --enable-static was given.
3988 if test "${enable_static+set}" = set; then
3989 enableval=$enable_static; p=${PACKAGE-default}
3991 yes) enable_static=yes ;;
3992 no) enable_static=no ;;
3995 # Look at the argument we got. We use all the common list separators.
3996 lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
3997 for pkg in $enableval; do
3999 if test "X$pkg" = "X$p"; then
4020 { $as_echo "$as_me:$LINENO: WARNING: Libtool does not cope well with whitespace in \`pwd\`" >&5
4021 $as_echo "$as_me: WARNING: Libtool does not cope well with whitespace in \`pwd\`" >&2;} ;;
4026 macro_version='2.2.6'
4027 macro_revision='1.3012'
4041 ltmain="$ac_aux_dir/ltmain.sh"
4043 { $as_echo "$as_me:$LINENO: checking for a sed that does not truncate output" >&5
4044 $as_echo_n "checking for a sed that does not truncate output... " >&6; }
4045 if test "${ac_cv_path_SED+set}" = set; then
4046 $as_echo_n "(cached) " >&6
4048 ac_script=s/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa/bbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbb/
4049 for ac_i in 1 2 3 4 5 6 7; do
4050 ac_script="$ac_script$as_nl$ac_script"
4052 echo "$ac_script" 2>/dev/null | sed 99q >conftest.sed
4053 $as_unset ac_script || ac_script=
4054 if test -z "$SED"; then
4055 ac_path_SED_found=false
4056 # Loop through the user's path and test for each of PROGNAME-LIST
4057 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4061 test -z "$as_dir" && as_dir=.
4062 for ac_prog in sed gsed; do
4063 for ac_exec_ext in '' $ac_executable_extensions; do
4064 ac_path_SED="$as_dir/$ac_prog$ac_exec_ext"
4065 { test -f "$ac_path_SED" && $as_test_x "$ac_path_SED"; } || continue
4066 # Check for GNU ac_path_SED and select it if it is found.
4067 # Check for GNU $ac_path_SED
4068 case `"$ac_path_SED" --version 2>&1` in
4070 ac_cv_path_SED="$ac_path_SED" ac_path_SED_found=:;;
4073 $as_echo_n 0123456789 >"conftest.in"
4076 cat "conftest.in" "conftest.in" >"conftest.tmp"
4077 mv "conftest.tmp" "conftest.in"
4078 cp "conftest.in" "conftest.nl"
4079 $as_echo '' >> "conftest.nl"
4080 "$ac_path_SED" -f conftest.sed < "conftest.nl" >"conftest.out" 2>/dev/null || break
4081 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
4082 ac_count=`expr $ac_count + 1`
4083 if test $ac_count -gt ${ac_path_SED_max-0}; then
4084 # Best one so far, save it but keep looking for a better one
4085 ac_cv_path_SED="$ac_path_SED"
4086 ac_path_SED_max=$ac_count
4088 # 10*(2^10) chars as input seems more than enough
4089 test $ac_count -gt 10 && break
4091 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
4094 $ac_path_SED_found && break 3
4099 if test -z "$ac_cv_path_SED"; then
4100 { { $as_echo "$as_me:$LINENO: error: no acceptable sed could be found in \$PATH" >&5
4101 $as_echo "$as_me: error: no acceptable sed could be found in \$PATH" >&2;}
4102 { (exit 1); exit 1; }; }
4109 { $as_echo "$as_me:$LINENO: result: $ac_cv_path_SED" >&5
4110 $as_echo "$ac_cv_path_SED" >&6; }
4111 SED="$ac_cv_path_SED"
4114 test -z "$SED" && SED=sed
4115 Xsed="$SED -e 1s/^X//"
4127 { $as_echo "$as_me:$LINENO: checking for grep that handles long lines and -e" >&5
4128 $as_echo_n "checking for grep that handles long lines and -e... " >&6; }
4129 if test "${ac_cv_path_GREP+set}" = set; then
4130 $as_echo_n "(cached) " >&6
4132 if test -z "$GREP"; then
4133 ac_path_GREP_found=false
4134 # Loop through the user's path and test for each of PROGNAME-LIST
4135 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4136 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
4139 test -z "$as_dir" && as_dir=.
4140 for ac_prog in grep ggrep; do
4141 for ac_exec_ext in '' $ac_executable_extensions; do
4142 ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext"
4143 { test -f "$ac_path_GREP" && $as_test_x "$ac_path_GREP"; } || continue
4144 # Check for GNU ac_path_GREP and select it if it is found.
4145 # Check for GNU $ac_path_GREP
4146 case `"$ac_path_GREP" --version 2>&1` in
4148 ac_cv_path_GREP="$ac_path_GREP" ac_path_GREP_found=:;;
4151 $as_echo_n 0123456789 >"conftest.in"
4154 cat "conftest.in" "conftest.in" >"conftest.tmp"
4155 mv "conftest.tmp" "conftest.in"
4156 cp "conftest.in" "conftest.nl"
4157 $as_echo 'GREP' >> "conftest.nl"
4158 "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev/null || break
4159 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
4160 ac_count=`expr $ac_count + 1`
4161 if test $ac_count -gt ${ac_path_GREP_max-0}; then
4162 # Best one so far, save it but keep looking for a better one
4163 ac_cv_path_GREP="$ac_path_GREP"
4164 ac_path_GREP_max=$ac_count
4166 # 10*(2^10) chars as input seems more than enough
4167 test $ac_count -gt 10 && break
4169 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
4172 $ac_path_GREP_found && break 3
4177 if test -z "$ac_cv_path_GREP"; then
4178 { { $as_echo "$as_me:$LINENO: error: no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&5
4179 $as_echo "$as_me: error: no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&2;}
4180 { (exit 1); exit 1; }; }
4183 ac_cv_path_GREP=$GREP
4187 { $as_echo "$as_me:$LINENO: result: $ac_cv_path_GREP" >&5
4188 $as_echo "$ac_cv_path_GREP" >&6; }
4189 GREP="$ac_cv_path_GREP"
4192 { $as_echo "$as_me:$LINENO: checking for egrep" >&5
4193 $as_echo_n "checking for egrep... " >&6; }
4194 if test "${ac_cv_path_EGREP+set}" = set; then
4195 $as_echo_n "(cached) " >&6
4197 if echo a | $GREP -E '(a|b)' >/dev/null 2>&1
4198 then ac_cv_path_EGREP="$GREP -E"
4200 if test -z "$EGREP"; then
4201 ac_path_EGREP_found=false
4202 # Loop through the user's path and test for each of PROGNAME-LIST
4203 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4204 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
4207 test -z "$as_dir" && as_dir=.
4208 for ac_prog in egrep; do
4209 for ac_exec_ext in '' $ac_executable_extensions; do
4210 ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext"
4211 { test -f "$ac_path_EGREP" && $as_test_x "$ac_path_EGREP"; } || continue
4212 # Check for GNU ac_path_EGREP and select it if it is found.
4213 # Check for GNU $ac_path_EGREP
4214 case `"$ac_path_EGREP" --version 2>&1` in
4216 ac_cv_path_EGREP="$ac_path_EGREP" ac_path_EGREP_found=:;;
4219 $as_echo_n 0123456789 >"conftest.in"
4222 cat "conftest.in" "conftest.in" >"conftest.tmp"
4223 mv "conftest.tmp" "conftest.in"
4224 cp "conftest.in" "conftest.nl"
4225 $as_echo 'EGREP' >> "conftest.nl"
4226 "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev/null || break
4227 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
4228 ac_count=`expr $ac_count + 1`
4229 if test $ac_count -gt ${ac_path_EGREP_max-0}; then
4230 # Best one so far, save it but keep looking for a better one
4231 ac_cv_path_EGREP="$ac_path_EGREP"
4232 ac_path_EGREP_max=$ac_count
4234 # 10*(2^10) chars as input seems more than enough
4235 test $ac_count -gt 10 && break
4237 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
4240 $ac_path_EGREP_found && break 3
4245 if test -z "$ac_cv_path_EGREP"; then
4246 { { $as_echo "$as_me:$LINENO: error: no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&5
4247 $as_echo "$as_me: error: no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&2;}
4248 { (exit 1); exit 1; }; }
4251 ac_cv_path_EGREP=$EGREP
4256 { $as_echo "$as_me:$LINENO: result: $ac_cv_path_EGREP" >&5
4257 $as_echo "$ac_cv_path_EGREP" >&6; }
4258 EGREP="$ac_cv_path_EGREP"
4261 { $as_echo "$as_me:$LINENO: checking for fgrep" >&5
4262 $as_echo_n "checking for fgrep... " >&6; }
4263 if test "${ac_cv_path_FGREP+set}" = set; then
4264 $as_echo_n "(cached) " >&6
4266 if echo 'ab*c' | $GREP -F 'ab*c' >/dev/null 2>&1
4267 then ac_cv_path_FGREP="$GREP -F"
4269 if test -z "$FGREP"; then
4270 ac_path_FGREP_found=false
4271 # Loop through the user's path and test for each of PROGNAME-LIST
4272 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4273 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
4276 test -z "$as_dir" && as_dir=.
4277 for ac_prog in fgrep; do
4278 for ac_exec_ext in '' $ac_executable_extensions; do
4279 ac_path_FGREP="$as_dir/$ac_prog$ac_exec_ext"
4280 { test -f "$ac_path_FGREP" && $as_test_x "$ac_path_FGREP"; } || continue
4281 # Check for GNU ac_path_FGREP and select it if it is found.
4282 # Check for GNU $ac_path_FGREP
4283 case `"$ac_path_FGREP" --version 2>&1` in
4285 ac_cv_path_FGREP="$ac_path_FGREP" ac_path_FGREP_found=:;;
4288 $as_echo_n 0123456789 >"conftest.in"
4291 cat "conftest.in" "conftest.in" >"conftest.tmp"
4292 mv "conftest.tmp" "conftest.in"
4293 cp "conftest.in" "conftest.nl"
4294 $as_echo 'FGREP' >> "conftest.nl"
4295 "$ac_path_FGREP" FGREP < "conftest.nl" >"conftest.out" 2>/dev/null || break
4296 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
4297 ac_count=`expr $ac_count + 1`
4298 if test $ac_count -gt ${ac_path_FGREP_max-0}; then
4299 # Best one so far, save it but keep looking for a better one
4300 ac_cv_path_FGREP="$ac_path_FGREP"
4301 ac_path_FGREP_max=$ac_count
4303 # 10*(2^10) chars as input seems more than enough
4304 test $ac_count -gt 10 && break
4306 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
4309 $ac_path_FGREP_found && break 3
4314 if test -z "$ac_cv_path_FGREP"; then
4315 { { $as_echo "$as_me:$LINENO: error: no acceptable fgrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&5
4316 $as_echo "$as_me: error: no acceptable fgrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&2;}
4317 { (exit 1); exit 1; }; }
4320 ac_cv_path_FGREP=$FGREP
4325 { $as_echo "$as_me:$LINENO: result: $ac_cv_path_FGREP" >&5
4326 $as_echo "$ac_cv_path_FGREP" >&6; }
4327 FGREP="$ac_cv_path_FGREP"
4330 test -z "$GREP" && GREP=grep
4350 # Check whether --with-gnu-ld was given.
4351 if test "${with_gnu_ld+set}" = set; then
4352 withval=$with_gnu_ld; test "$withval" = no || with_gnu_ld=yes
4358 if test "$GCC" = yes; then
4359 # Check if gcc -print-prog-name=ld gives a path.
4360 { $as_echo "$as_me:$LINENO: checking for ld used by $CC" >&5
4361 $as_echo_n "checking for ld used by $CC... " >&6; }
4364 # gcc leaves a trailing carriage return which upsets mingw
4365 ac_prog=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
4367 ac_prog=`($CC -print-prog-name=ld) 2>&5` ;;
4370 # Accept absolute paths.
4372 re_direlt='/[^/][^/]*/\.\./'
4373 # Canonicalize the pathname of ld
4374 ac_prog=`$ECHO "$ac_prog"| $SED 's%\\\\%/%g'`
4375 while $ECHO "$ac_prog" | $GREP "$re_direlt" > /dev/null 2>&1; do
4376 ac_prog=`$ECHO $ac_prog| $SED "s%$re_direlt%/%"`
4378 test -z "$LD" && LD="$ac_prog"
4381 # If it fails, then pretend we aren't using GCC.
4385 # If it is relative, then search for the first ld in PATH.
4389 elif test "$with_gnu_ld" = yes; then
4390 { $as_echo "$as_me:$LINENO: checking for GNU ld" >&5
4391 $as_echo_n "checking for GNU ld... " >&6; }
4393 { $as_echo "$as_me:$LINENO: checking for non-GNU ld" >&5
4394 $as_echo_n "checking for non-GNU ld... " >&6; }
4396 if test "${lt_cv_path_LD+set}" = set; then
4397 $as_echo_n "(cached) " >&6
4399 if test -z "$LD"; then
4400 lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
4401 for ac_dir in $PATH; do
4403 test -z "$ac_dir" && ac_dir=.
4404 if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then
4405 lt_cv_path_LD="$ac_dir/$ac_prog"
4406 # Check to see if the program is GNU ld. I'd rather use --version,
4407 # but apparently some variants of GNU ld only accept -v.
4408 # Break only if it was the GNU/non-GNU ld that we prefer.
4409 case `"$lt_cv_path_LD" -v 2>&1 </dev/null` in
4410 *GNU* | *'with BFD'*)
4411 test "$with_gnu_ld" != no && break
4414 test "$with_gnu_ld" != yes && break
4421 lt_cv_path_LD="$LD" # Let the user override the test with a path.
4426 if test -n "$LD"; then
4427 { $as_echo "$as_me:$LINENO: result: $LD" >&5
4428 $as_echo "$LD" >&6; }
4430 { $as_echo "$as_me:$LINENO: result: no" >&5
4431 $as_echo "no" >&6; }
4433 test -z "$LD" && { { $as_echo "$as_me:$LINENO: error: no acceptable ld found in \$PATH" >&5
4434 $as_echo "$as_me: error: no acceptable ld found in \$PATH" >&2;}
4435 { (exit 1); exit 1; }; }
4436 { $as_echo "$as_me:$LINENO: checking if the linker ($LD) is GNU ld" >&5
4437 $as_echo_n "checking if the linker ($LD) is GNU ld... " >&6; }
4438 if test "${lt_cv_prog_gnu_ld+set}" = set; then
4439 $as_echo_n "(cached) " >&6
4441 # I'd rather use --version here, but apparently some GNU lds only accept -v.
4442 case `$LD -v 2>&1 </dev/null` in
4443 *GNU* | *'with BFD'*)
4444 lt_cv_prog_gnu_ld=yes
4447 lt_cv_prog_gnu_ld=no
4451 { $as_echo "$as_me:$LINENO: result: $lt_cv_prog_gnu_ld" >&5
4452 $as_echo "$lt_cv_prog_gnu_ld" >&6; }
4453 with_gnu_ld=$lt_cv_prog_gnu_ld
4463 { $as_echo "$as_me:$LINENO: checking for BSD- or MS-compatible name lister (nm)" >&5
4464 $as_echo_n "checking for BSD- or MS-compatible name lister (nm)... " >&6; }
4465 if test "${lt_cv_path_NM+set}" = set; then
4466 $as_echo_n "(cached) " >&6
4468 if test -n "$NM"; then
4469 # Let the user override the test.
4472 lt_nm_to_check="${ac_tool_prefix}nm"
4473 if test -n "$ac_tool_prefix" && test "$build" = "$host"; then
4474 lt_nm_to_check="$lt_nm_to_check nm"
4476 for lt_tmp_nm in $lt_nm_to_check; do
4477 lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
4478 for ac_dir in $PATH /usr/ccs/bin/elf /usr/ccs/bin /usr/ucb /bin; do
4480 test -z "$ac_dir" && ac_dir=.
4481 tmp_nm="$ac_dir/$lt_tmp_nm"
4482 if test -f "$tmp_nm" || test -f "$tmp_nm$ac_exeext" ; then
4483 # Check to see if the nm accepts a BSD-compat flag.
4484 # Adding the `sed 1q' prevents false positives on HP-UX, which says:
4485 # nm: unknown option "B" ignored
4486 # Tru64's nm complains that /dev/null is an invalid object file
4487 case `"$tmp_nm" -B /dev/null 2>&1 | sed '1q'` in
4488 */dev/null* | *'Invalid file or object type'*)
4489 lt_cv_path_NM="$tmp_nm -B"
4493 case `"$tmp_nm" -p /dev/null 2>&1 | sed '1q'` in
4495 lt_cv_path_NM="$tmp_nm -p"
4499 lt_cv_path_NM=${lt_cv_path_NM="$tmp_nm"} # keep the first match, but
4500 continue # so that we can try to find one that supports BSD flags
4509 : ${lt_cv_path_NM=no}
4512 { $as_echo "$as_me:$LINENO: result: $lt_cv_path_NM" >&5
4513 $as_echo "$lt_cv_path_NM" >&6; }
4514 if test "$lt_cv_path_NM" != "no"; then
4517 # Didn't find any BSD compatible name lister, look for dumpbin.
4518 if test -n "$ac_tool_prefix"; then
4519 for ac_prog in "dumpbin -symbols" "link -dump -symbols"
4521 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
4522 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
4523 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
4524 $as_echo_n "checking for $ac_word... " >&6; }
4525 if test "${ac_cv_prog_DUMPBIN+set}" = set; then
4526 $as_echo_n "(cached) " >&6
4528 if test -n "$DUMPBIN"; then
4529 ac_cv_prog_DUMPBIN="$DUMPBIN" # Let the user override the test.
4531 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4535 test -z "$as_dir" && as_dir=.
4536 for ac_exec_ext in '' $ac_executable_extensions; do
4537 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4538 ac_cv_prog_DUMPBIN="$ac_tool_prefix$ac_prog"
4539 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4548 DUMPBIN=$ac_cv_prog_DUMPBIN
4549 if test -n "$DUMPBIN"; then
4550 { $as_echo "$as_me:$LINENO: result: $DUMPBIN" >&5
4551 $as_echo "$DUMPBIN" >&6; }
4553 { $as_echo "$as_me:$LINENO: result: no" >&5
4554 $as_echo "no" >&6; }
4558 test -n "$DUMPBIN" && break
4561 if test -z "$DUMPBIN"; then
4562 ac_ct_DUMPBIN=$DUMPBIN
4563 for ac_prog in "dumpbin -symbols" "link -dump -symbols"
4565 # Extract the first word of "$ac_prog", so it can be a program name with args.
4566 set dummy $ac_prog; ac_word=$2
4567 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
4568 $as_echo_n "checking for $ac_word... " >&6; }
4569 if test "${ac_cv_prog_ac_ct_DUMPBIN+set}" = set; then
4570 $as_echo_n "(cached) " >&6
4572 if test -n "$ac_ct_DUMPBIN"; then
4573 ac_cv_prog_ac_ct_DUMPBIN="$ac_ct_DUMPBIN" # Let the user override the test.
4575 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4579 test -z "$as_dir" && as_dir=.
4580 for ac_exec_ext in '' $ac_executable_extensions; do
4581 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4582 ac_cv_prog_ac_ct_DUMPBIN="$ac_prog"
4583 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4592 ac_ct_DUMPBIN=$ac_cv_prog_ac_ct_DUMPBIN
4593 if test -n "$ac_ct_DUMPBIN"; then
4594 { $as_echo "$as_me:$LINENO: result: $ac_ct_DUMPBIN" >&5
4595 $as_echo "$ac_ct_DUMPBIN" >&6; }
4597 { $as_echo "$as_me:$LINENO: result: no" >&5
4598 $as_echo "no" >&6; }
4602 test -n "$ac_ct_DUMPBIN" && break
4605 if test "x$ac_ct_DUMPBIN" = x; then
4608 case $cross_compiling:$ac_tool_warned in
4610 { $as_echo "$as_me:$LINENO: WARNING: using cross tools not prefixed with host triplet" >&5
4611 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4612 ac_tool_warned=yes ;;
4614 DUMPBIN=$ac_ct_DUMPBIN
4619 if test "$DUMPBIN" != ":"; then
4623 test -z "$NM" && NM=nm
4630 { $as_echo "$as_me:$LINENO: checking the name lister ($NM) interface" >&5
4631 $as_echo_n "checking the name lister ($NM) interface... " >&6; }
4632 if test "${lt_cv_nm_interface+set}" = set; then
4633 $as_echo_n "(cached) " >&6
4635 lt_cv_nm_interface="BSD nm"
4636 echo "int some_variable = 0;" > conftest.$ac_ext
4637 (eval echo "\"\$as_me:4637: $ac_compile\"" >&5)
4638 (eval "$ac_compile" 2>conftest.err)
4639 cat conftest.err >&5
4640 (eval echo "\"\$as_me:4640: $NM \\\"conftest.$ac_objext\\\"\"" >&5)
4641 (eval "$NM \"conftest.$ac_objext\"" 2>conftest.err > conftest.out)
4642 cat conftest.err >&5
4643 (eval echo "\"\$as_me:4643: output\"" >&5)
4644 cat conftest.out >&5
4645 if $GREP 'External.*some_variable' conftest.out > /dev/null; then
4646 lt_cv_nm_interface="MS dumpbin"
4650 { $as_echo "$as_me:$LINENO: result: $lt_cv_nm_interface" >&5
4651 $as_echo "$lt_cv_nm_interface" >&6; }
4653 { $as_echo "$as_me:$LINENO: checking whether ln -s works" >&5
4654 $as_echo_n "checking whether ln -s works... " >&6; }
4656 if test "$LN_S" = "ln -s"; then
4657 { $as_echo "$as_me:$LINENO: result: yes" >&5
4658 $as_echo "yes" >&6; }
4660 { $as_echo "$as_me:$LINENO: result: no, using $LN_S" >&5
4661 $as_echo "no, using $LN_S" >&6; }
4664 # find the maximum length of command line arguments
4665 { $as_echo "$as_me:$LINENO: checking the maximum length of command line arguments" >&5
4666 $as_echo_n "checking the maximum length of command line arguments... " >&6; }
4667 if test "${lt_cv_sys_max_cmd_len+set}" = set; then
4668 $as_echo_n "(cached) " >&6
4675 # On DJGPP, this test can blow up pretty badly due to problems in libc
4676 # (any single argument exceeding 2000 bytes causes a buffer overrun
4677 # during glob expansion). Even if it were fixed, the result of this
4678 # check would be larger than it should be.
4679 lt_cv_sys_max_cmd_len=12288; # 12K is about right
4683 # Under GNU Hurd, this test is not required because there is
4684 # no limit to the length of command line arguments.
4685 # Libtool will interpret -1 as no limit whatsoever
4686 lt_cv_sys_max_cmd_len=-1;
4689 cygwin* | mingw* | cegcc*)
4690 # On Win9x/ME, this test blows up -- it succeeds, but takes
4691 # about 5 minutes as the teststring grows exponentially.
4692 # Worse, since 9x/ME are not pre-emptively multitasking,
4693 # you end up with a "frozen" computer, even though with patience
4694 # the test eventually succeeds (with a max line length of 256k).
4695 # Instead, let's just punt: use the minimum linelength reported by
4696 # all of the supported platforms: 8192 (on NT/2K/XP).
4697 lt_cv_sys_max_cmd_len=8192;
4701 # On AmigaOS with pdksh, this test takes hours, literally.
4702 # So we just punt and use a minimum line length of 8192.
4703 lt_cv_sys_max_cmd_len=8192;
4706 netbsd* | freebsd* | openbsd* | darwin* | dragonfly*)
4707 # This has been around since 386BSD, at least. Likely further.
4708 if test -x /sbin/sysctl; then
4709 lt_cv_sys_max_cmd_len=`/sbin/sysctl -n kern.argmax`
4710 elif test -x /usr/sbin/sysctl; then
4711 lt_cv_sys_max_cmd_len=`/usr/sbin/sysctl -n kern.argmax`
4713 lt_cv_sys_max_cmd_len=65536 # usable default for all BSDs
4715 # And add a safety zone
4716 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4`
4717 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3`
4721 # We know the value 262144 and hardcode it with a safety zone (like BSD)
4722 lt_cv_sys_max_cmd_len=196608
4726 # Dr. Hans Ekkehard Plesser reports seeing a kernel panic running configure
4727 # due to this test when exec_disable_arg_limit is 1 on Tru64. It is not
4728 # nice to cause kernel panics so lets avoid the loop below.
4729 # First set a reasonable default.
4730 lt_cv_sys_max_cmd_len=16384
4732 if test -x /sbin/sysconfig; then
4733 case `/sbin/sysconfig -q proc exec_disable_arg_limit` in
4734 *1*) lt_cv_sys_max_cmd_len=-1 ;;
4739 lt_cv_sys_max_cmd_len=102400
4741 sysv5* | sco5v6* | sysv4.2uw2*)
4742 kargmax=`grep ARG_MAX /etc/conf/cf.d/stune 2>/dev/null`
4743 if test -n "$kargmax"; then
4744 lt_cv_sys_max_cmd_len=`echo $kargmax | sed 's/.*[ ]//'`
4746 lt_cv_sys_max_cmd_len=32768
4750 lt_cv_sys_max_cmd_len=`(getconf ARG_MAX) 2> /dev/null`
4751 if test -n "$lt_cv_sys_max_cmd_len"; then
4752 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4`
4753 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3`
4755 # Make teststring a little bigger before we do anything with it.
4756 # a 1K string should be a reasonable start.
4757 for i in 1 2 3 4 5 6 7 8 ; do
4758 teststring=$teststring$teststring
4760 SHELL=${SHELL-${CONFIG_SHELL-/bin/sh}}
4761 # If test is not a shell built-in, we'll probably end up computing a
4762 # maximum length that is only half of the actual maximum length, but
4764 while { test "X"`$SHELL $0 --fallback-echo "X$teststring$teststring" 2>/dev/null` \
4765 = "XX$teststring$teststring"; } >/dev/null 2>&1 &&
4766 test $i != 17 # 1/2 MB should be enough
4769 teststring=$teststring$teststring
4771 # Only check the string length outside the loop.
4772 lt_cv_sys_max_cmd_len=`expr "X$teststring" : ".*" 2>&1`
4774 # Add a significant safety factor because C++ compilers can tack on
4775 # massive amounts of additional arguments before passing them to the
4776 # linker. It appears as though 1/2 is a usable value.
4777 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 2`
4784 if test -n $lt_cv_sys_max_cmd_len ; then
4785 { $as_echo "$as_me:$LINENO: result: $lt_cv_sys_max_cmd_len" >&5
4786 $as_echo "$lt_cv_sys_max_cmd_len" >&6; }
4788 { $as_echo "$as_me:$LINENO: result: none" >&5
4789 $as_echo "none" >&6; }
4791 max_cmd_len=$lt_cv_sys_max_cmd_len
4802 { $as_echo "$as_me:$LINENO: checking whether the shell understands some XSI constructs" >&5
4803 $as_echo_n "checking whether the shell understands some XSI constructs... " >&6; }
4804 # Try some XSI features
4807 test "${_lt_dummy##*/},${_lt_dummy%/*},"${_lt_dummy%"$_lt_dummy"}, \
4809 && eval 'test $(( 1 + 1 )) -eq 2 \
4810 && test "${#_lt_dummy}" -eq 5' ) >/dev/null 2>&1 \
4812 { $as_echo "$as_me:$LINENO: result: $xsi_shell" >&5
4813 $as_echo "$xsi_shell" >&6; }
4816 { $as_echo "$as_me:$LINENO: checking whether the shell understands \"+=\"" >&5
4817 $as_echo_n "checking whether the shell understands \"+=\"... " >&6; }
4819 ( foo=bar; set foo baz; eval "$1+=\$2" && test "$foo" = barbaz ) \
4821 && lt_shell_append=yes
4822 { $as_echo "$as_me:$LINENO: result: $lt_shell_append" >&5
4823 $as_echo "$lt_shell_append" >&6; }
4826 if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
4836 # test EBCDIC or ASCII
4837 case `echo X|tr X '\101'` in
4838 A) # ASCII based system
4839 # \n is not interpreted correctly by Solaris 8 /usr/ucb/tr
4840 lt_SP2NL='tr \040 \012'
4841 lt_NL2SP='tr \015\012 \040\040'
4843 *) # EBCDIC based system
4844 lt_SP2NL='tr \100 \n'
4845 lt_NL2SP='tr \r\n \100\100'
4857 { $as_echo "$as_me:$LINENO: checking for $LD option to reload object files" >&5
4858 $as_echo_n "checking for $LD option to reload object files... " >&6; }
4859 if test "${lt_cv_ld_reload_flag+set}" = set; then
4860 $as_echo_n "(cached) " >&6
4862 lt_cv_ld_reload_flag='-r'
4864 { $as_echo "$as_me:$LINENO: result: $lt_cv_ld_reload_flag" >&5
4865 $as_echo "$lt_cv_ld_reload_flag" >&6; }
4866 reload_flag=$lt_cv_ld_reload_flag
4867 case $reload_flag in
4869 *) reload_flag=" $reload_flag" ;;
4871 reload_cmds='$LD$reload_flag -o $output$reload_objs'
4874 if test "$GCC" = yes; then
4875 reload_cmds='$LTCC $LTCFLAGS -nostdlib ${wl}-r -o $output$reload_objs'
4877 reload_cmds='$LD$reload_flag -o $output$reload_objs'
4890 if test -n "$ac_tool_prefix"; then
4891 # Extract the first word of "${ac_tool_prefix}objdump", so it can be a program name with args.
4892 set dummy ${ac_tool_prefix}objdump; ac_word=$2
4893 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
4894 $as_echo_n "checking for $ac_word... " >&6; }
4895 if test "${ac_cv_prog_OBJDUMP+set}" = set; then
4896 $as_echo_n "(cached) " >&6
4898 if test -n "$OBJDUMP"; then
4899 ac_cv_prog_OBJDUMP="$OBJDUMP" # Let the user override the test.
4901 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4905 test -z "$as_dir" && as_dir=.
4906 for ac_exec_ext in '' $ac_executable_extensions; do
4907 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4908 ac_cv_prog_OBJDUMP="${ac_tool_prefix}objdump"
4909 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4918 OBJDUMP=$ac_cv_prog_OBJDUMP
4919 if test -n "$OBJDUMP"; then
4920 { $as_echo "$as_me:$LINENO: result: $OBJDUMP" >&5
4921 $as_echo "$OBJDUMP" >&6; }
4923 { $as_echo "$as_me:$LINENO: result: no" >&5
4924 $as_echo "no" >&6; }
4929 if test -z "$ac_cv_prog_OBJDUMP"; then
4930 ac_ct_OBJDUMP=$OBJDUMP
4931 # Extract the first word of "objdump", so it can be a program name with args.
4932 set dummy objdump; ac_word=$2
4933 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
4934 $as_echo_n "checking for $ac_word... " >&6; }
4935 if test "${ac_cv_prog_ac_ct_OBJDUMP+set}" = set; then
4936 $as_echo_n "(cached) " >&6
4938 if test -n "$ac_ct_OBJDUMP"; then
4939 ac_cv_prog_ac_ct_OBJDUMP="$ac_ct_OBJDUMP" # Let the user override the test.
4941 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4945 test -z "$as_dir" && as_dir=.
4946 for ac_exec_ext in '' $ac_executable_extensions; do
4947 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4948 ac_cv_prog_ac_ct_OBJDUMP="objdump"
4949 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4958 ac_ct_OBJDUMP=$ac_cv_prog_ac_ct_OBJDUMP
4959 if test -n "$ac_ct_OBJDUMP"; then
4960 { $as_echo "$as_me:$LINENO: result: $ac_ct_OBJDUMP" >&5
4961 $as_echo "$ac_ct_OBJDUMP" >&6; }
4963 { $as_echo "$as_me:$LINENO: result: no" >&5
4964 $as_echo "no" >&6; }
4967 if test "x$ac_ct_OBJDUMP" = x; then
4970 case $cross_compiling:$ac_tool_warned in
4972 { $as_echo "$as_me:$LINENO: WARNING: using cross tools not prefixed with host triplet" >&5
4973 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4974 ac_tool_warned=yes ;;
4976 OBJDUMP=$ac_ct_OBJDUMP
4979 OBJDUMP="$ac_cv_prog_OBJDUMP"
4982 test -z "$OBJDUMP" && OBJDUMP=objdump
4992 { $as_echo "$as_me:$LINENO: checking how to recognize dependent libraries" >&5
4993 $as_echo_n "checking how to recognize dependent libraries... " >&6; }
4994 if test "${lt_cv_deplibs_check_method+set}" = set; then
4995 $as_echo_n "(cached) " >&6
4997 lt_cv_file_magic_cmd='$MAGIC_CMD'
4998 lt_cv_file_magic_test_file=
4999 lt_cv_deplibs_check_method='unknown'
5000 # Need to set the preceding variable on all platforms that support
5001 # interlibrary dependencies.
5002 # 'none' -- dependencies not supported.
5003 # `unknown' -- same as none, but documents that we really don't know.
5004 # 'pass_all' -- all dependencies passed with no checks.
5005 # 'test_compile' -- check by making test program.
5006 # 'file_magic [[regex]]' -- check by looking for files in library path
5007 # which responds to the $file_magic_cmd with a given extended regex.
5008 # If you have `file' or equivalent on your system and you're not sure
5009 # whether `pass_all' will *always* work, you probably want this one.
5013 lt_cv_deplibs_check_method=pass_all
5017 lt_cv_deplibs_check_method=pass_all
5021 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (shared object|dynamic lib)'
5022 lt_cv_file_magic_cmd='/usr/bin/file -L'
5023 lt_cv_file_magic_test_file=/shlib/libc.so
5027 # func_win32_libid is a shell function defined in ltmain.sh
5028 lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL'
5029 lt_cv_file_magic_cmd='func_win32_libid'
5033 # Base MSYS/MinGW do not provide the 'file' command needed by
5034 # func_win32_libid shell function, so use a weaker test based on 'objdump',
5035 # unless we find 'file', for example because we are cross-compiling.
5036 if ( file / ) >/dev/null 2>&1; then
5037 lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL'
5038 lt_cv_file_magic_cmd='func_win32_libid'
5040 lt_cv_deplibs_check_method='file_magic file format pei*-i386(.*architecture: i386)?'
5041 lt_cv_file_magic_cmd='$OBJDUMP -f'
5046 # use the weaker test based on 'objdump'. See mingw*.
5047 lt_cv_deplibs_check_method='file_magic file format pe-arm-.*little(.*architecture: arm)?'
5048 lt_cv_file_magic_cmd='$OBJDUMP -f'
5051 darwin* | rhapsody*)
5052 lt_cv_deplibs_check_method=pass_all
5055 freebsd* | dragonfly*)
5056 if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then
5059 # Not sure whether the presence of OpenBSD here was a mistake.
5060 # Let's accept both of them until this is cleared up.
5061 lt_cv_deplibs_check_method='file_magic (FreeBSD|OpenBSD|DragonFly)/i[3-9]86 (compact )?demand paged shared library'
5062 lt_cv_file_magic_cmd=/usr/bin/file
5063 lt_cv_file_magic_test_file=`echo /usr/lib/libc.so.*`
5067 lt_cv_deplibs_check_method=pass_all
5072 lt_cv_deplibs_check_method=pass_all
5075 hpux10.20* | hpux11*)
5076 lt_cv_file_magic_cmd=/usr/bin/file
5079 lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|ELF-[0-9][0-9]) shared object file - IA64'
5080 lt_cv_file_magic_test_file=/usr/lib/hpux32/libc.so
5083 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]'
5084 lt_cv_file_magic_test_file=/usr/lib/pa20_64/libc.sl
5087 lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|PA-RISC[0-9].[0-9]) shared library'
5088 lt_cv_file_magic_test_file=/usr/lib/libc.sl
5094 # PIC code is broken on Interix 3.x, that's why |\.a not |_pic\.a here
5095 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|\.a)$'
5098 irix5* | irix6* | nonstopux*)
5100 *-32|*"-32 ") libmagic=32-bit;;
5101 *-n32|*"-n32 ") libmagic=N32;;
5102 *-64|*"-64 ") libmagic=64-bit;;
5103 *) libmagic=never-match;;
5105 lt_cv_deplibs_check_method=pass_all
5108 # This must be Linux ELF.
5109 linux* | k*bsd*-gnu)
5110 lt_cv_deplibs_check_method=pass_all
5113 netbsd* | netbsdelf*-gnu)
5114 if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then
5115 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
5117 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|_pic\.a)$'
5122 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (executable|dynamic lib)'
5123 lt_cv_file_magic_cmd=/usr/bin/file
5124 lt_cv_file_magic_test_file=/usr/lib/libnls.so
5128 lt_cv_deplibs_check_method=pass_all
5132 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
5133 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|\.so|_pic\.a)$'
5135 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
5139 osf3* | osf4* | osf5*)
5140 lt_cv_deplibs_check_method=pass_all
5144 lt_cv_deplibs_check_method=pass_all
5148 lt_cv_deplibs_check_method=pass_all
5151 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
5152 lt_cv_deplibs_check_method=pass_all
5156 case $host_vendor in
5158 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]'
5159 lt_cv_file_magic_test_file=`echo /usr/lib/libc.so*`
5162 lt_cv_deplibs_check_method=pass_all
5165 lt_cv_file_magic_cmd='/bin/file'
5166 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [LM]SB (shared object|dynamic lib )'
5169 lt_cv_file_magic_cmd='/bin/file'
5170 lt_cv_deplibs_check_method="file_magic ELF [0-9][0-9]*-bit [LM]SB dynamic lib"
5171 lt_cv_file_magic_test_file=/lib/libc.so
5174 lt_cv_deplibs_check_method=pass_all
5177 lt_cv_deplibs_check_method=pass_all
5183 lt_cv_deplibs_check_method=pass_all
5188 { $as_echo "$as_me:$LINENO: result: $lt_cv_deplibs_check_method" >&5
5189 $as_echo "$lt_cv_deplibs_check_method" >&6; }
5190 file_magic_cmd=$lt_cv_file_magic_cmd
5191 deplibs_check_method=$lt_cv_deplibs_check_method
5192 test -z "$deplibs_check_method" && deplibs_check_method=unknown
5205 if test -n "$ac_tool_prefix"; then
5206 # Extract the first word of "${ac_tool_prefix}ar", so it can be a program name with args.
5207 set dummy ${ac_tool_prefix}ar; ac_word=$2
5208 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
5209 $as_echo_n "checking for $ac_word... " >&6; }
5210 if test "${ac_cv_prog_AR+set}" = set; then
5211 $as_echo_n "(cached) " >&6
5213 if test -n "$AR"; then
5214 ac_cv_prog_AR="$AR" # Let the user override the test.
5216 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5220 test -z "$as_dir" && as_dir=.
5221 for ac_exec_ext in '' $ac_executable_extensions; do
5222 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5223 ac_cv_prog_AR="${ac_tool_prefix}ar"
5224 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5234 if test -n "$AR"; then
5235 { $as_echo "$as_me:$LINENO: result: $AR" >&5
5236 $as_echo "$AR" >&6; }
5238 { $as_echo "$as_me:$LINENO: result: no" >&5
5239 $as_echo "no" >&6; }
5244 if test -z "$ac_cv_prog_AR"; then
5246 # Extract the first word of "ar", so it can be a program name with args.
5247 set dummy ar; ac_word=$2
5248 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
5249 $as_echo_n "checking for $ac_word... " >&6; }
5250 if test "${ac_cv_prog_ac_ct_AR+set}" = set; then
5251 $as_echo_n "(cached) " >&6
5253 if test -n "$ac_ct_AR"; then
5254 ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test.
5256 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5260 test -z "$as_dir" && as_dir=.
5261 for ac_exec_ext in '' $ac_executable_extensions; do
5262 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5263 ac_cv_prog_ac_ct_AR="ar"
5264 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5273 ac_ct_AR=$ac_cv_prog_ac_ct_AR
5274 if test -n "$ac_ct_AR"; then
5275 { $as_echo "$as_me:$LINENO: result: $ac_ct_AR" >&5
5276 $as_echo "$ac_ct_AR" >&6; }
5278 { $as_echo "$as_me:$LINENO: result: no" >&5
5279 $as_echo "no" >&6; }
5282 if test "x$ac_ct_AR" = x; then
5285 case $cross_compiling:$ac_tool_warned in
5287 { $as_echo "$as_me:$LINENO: WARNING: using cross tools not prefixed with host triplet" >&5
5288 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5289 ac_tool_warned=yes ;;
5297 test -z "$AR" && AR=ar
5298 test -z "$AR_FLAGS" && AR_FLAGS=cru
5310 if test -n "$ac_tool_prefix"; then
5311 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
5312 set dummy ${ac_tool_prefix}strip; ac_word=$2
5313 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
5314 $as_echo_n "checking for $ac_word... " >&6; }
5315 if test "${ac_cv_prog_STRIP+set}" = set; then
5316 $as_echo_n "(cached) " >&6
5318 if test -n "$STRIP"; then
5319 ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
5321 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5325 test -z "$as_dir" && as_dir=.
5326 for ac_exec_ext in '' $ac_executable_extensions; do
5327 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5328 ac_cv_prog_STRIP="${ac_tool_prefix}strip"
5329 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5338 STRIP=$ac_cv_prog_STRIP
5339 if test -n "$STRIP"; then
5340 { $as_echo "$as_me:$LINENO: result: $STRIP" >&5
5341 $as_echo "$STRIP" >&6; }
5343 { $as_echo "$as_me:$LINENO: result: no" >&5
5344 $as_echo "no" >&6; }
5349 if test -z "$ac_cv_prog_STRIP"; then
5351 # Extract the first word of "strip", so it can be a program name with args.
5352 set dummy strip; ac_word=$2
5353 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
5354 $as_echo_n "checking for $ac_word... " >&6; }
5355 if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then
5356 $as_echo_n "(cached) " >&6
5358 if test -n "$ac_ct_STRIP"; then
5359 ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
5361 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5365 test -z "$as_dir" && as_dir=.
5366 for ac_exec_ext in '' $ac_executable_extensions; do
5367 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5368 ac_cv_prog_ac_ct_STRIP="strip"
5369 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5378 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
5379 if test -n "$ac_ct_STRIP"; then
5380 { $as_echo "$as_me:$LINENO: result: $ac_ct_STRIP" >&5
5381 $as_echo "$ac_ct_STRIP" >&6; }
5383 { $as_echo "$as_me:$LINENO: result: no" >&5
5384 $as_echo "no" >&6; }
5387 if test "x$ac_ct_STRIP" = x; then
5390 case $cross_compiling:$ac_tool_warned in
5392 { $as_echo "$as_me:$LINENO: WARNING: using cross tools not prefixed with host triplet" >&5
5393 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5394 ac_tool_warned=yes ;;
5399 STRIP="$ac_cv_prog_STRIP"
5402 test -z "$STRIP" && STRIP=:
5409 if test -n "$ac_tool_prefix"; then
5410 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
5411 set dummy ${ac_tool_prefix}ranlib; ac_word=$2
5412 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
5413 $as_echo_n "checking for $ac_word... " >&6; }
5414 if test "${ac_cv_prog_RANLIB+set}" = set; then
5415 $as_echo_n "(cached) " >&6
5417 if test -n "$RANLIB"; then
5418 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
5420 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5424 test -z "$as_dir" && as_dir=.
5425 for ac_exec_ext in '' $ac_executable_extensions; do
5426 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5427 ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
5428 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5437 RANLIB=$ac_cv_prog_RANLIB
5438 if test -n "$RANLIB"; then
5439 { $as_echo "$as_me:$LINENO: result: $RANLIB" >&5
5440 $as_echo "$RANLIB" >&6; }
5442 { $as_echo "$as_me:$LINENO: result: no" >&5
5443 $as_echo "no" >&6; }
5448 if test -z "$ac_cv_prog_RANLIB"; then
5449 ac_ct_RANLIB=$RANLIB
5450 # Extract the first word of "ranlib", so it can be a program name with args.
5451 set dummy ranlib; ac_word=$2
5452 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
5453 $as_echo_n "checking for $ac_word... " >&6; }
5454 if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then
5455 $as_echo_n "(cached) " >&6
5457 if test -n "$ac_ct_RANLIB"; then
5458 ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
5460 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5464 test -z "$as_dir" && as_dir=.
5465 for ac_exec_ext in '' $ac_executable_extensions; do
5466 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5467 ac_cv_prog_ac_ct_RANLIB="ranlib"
5468 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5477 ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
5478 if test -n "$ac_ct_RANLIB"; then
5479 { $as_echo "$as_me:$LINENO: result: $ac_ct_RANLIB" >&5
5480 $as_echo "$ac_ct_RANLIB" >&6; }
5482 { $as_echo "$as_me:$LINENO: result: no" >&5
5483 $as_echo "no" >&6; }
5486 if test "x$ac_ct_RANLIB" = x; then
5489 case $cross_compiling:$ac_tool_warned in
5491 { $as_echo "$as_me:$LINENO: WARNING: using cross tools not prefixed with host triplet" >&5
5492 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5493 ac_tool_warned=yes ;;
5495 RANLIB=$ac_ct_RANLIB
5498 RANLIB="$ac_cv_prog_RANLIB"
5501 test -z "$RANLIB" && RANLIB=:
5508 # Determine commands to create old-style static archives.
5509 old_archive_cmds='$AR $AR_FLAGS $oldlib$oldobjs'
5510 old_postinstall_cmds='chmod 644 $oldlib'
5511 old_postuninstall_cmds=
5513 if test -n "$RANLIB"; then
5516 old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB -t \$oldlib"
5519 old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB \$oldlib"
5522 old_archive_cmds="$old_archive_cmds~\$RANLIB \$oldlib"
5558 # If no C compiler was specified, use CC.
5561 # If no C compiler flags were specified, use CFLAGS.
5562 LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
5564 # Allow CC to be a program name with arguments.
5568 # Check for command to grab the raw symbol name followed by C symbol from nm.
5569 { $as_echo "$as_me:$LINENO: checking command to parse $NM output from $compiler object" >&5
5570 $as_echo_n "checking command to parse $NM output from $compiler object... " >&6; }
5571 if test "${lt_cv_sys_global_symbol_pipe+set}" = set; then
5572 $as_echo_n "(cached) " >&6
5575 # These are sane defaults that work on at least a few old systems.
5576 # [They come from Ultrix. What could be older than Ultrix?!! ;)]
5578 # Character class describing NM global symbol codes.
5579 symcode='[BCDEGRST]'
5581 # Regexp to match symbols that can be accessed directly from C.
5582 sympat='\([_A-Za-z][_A-Za-z0-9]*\)'
5584 # Define system-specific variables.
5589 cygwin* | mingw* | pw32* | cegcc*)
5590 symcode='[ABCDGISTW]'
5593 if test "$host_cpu" = ia64; then
5594 symcode='[ABCDEGRST]'
5598 symcode='[BCDEGRST]'
5601 symcode='[BCDEGQRST]'
5612 sysv5* | sco5v6* | unixware* | OpenUNIX*)
5620 # If we're using GNU nm, then use its standard symbol codes.
5621 case `$NM -V 2>&1` in
5622 *GNU* | *'with BFD'*)
5623 symcode='[ABCDGIRSTW]' ;;
5626 # Transform an extracted symbol line into a proper C declaration.
5627 # Some systems (esp. on ia64) link data and code symbols differently,
5628 # so use this general approach.
5629 lt_cv_sys_global_symbol_to_cdecl="sed -n -e 's/^T .* \(.*\)$/extern int \1();/p' -e 's/^$symcode* .* \(.*\)$/extern char \1;/p'"
5631 # Transform an extracted symbol line into symbol name and symbol address
5632 lt_cv_sys_global_symbol_to_c_name_address="sed -n -e 's/^: \([^ ]*\) $/ {\\\"\1\\\", (void *) 0},/p' -e 's/^$symcode* \([^ ]*\) \([^ ]*\)$/ {\"\2\", (void *) \&\2},/p'"
5633 lt_cv_sys_global_symbol_to_c_name_address_lib_prefix="sed -n -e 's/^: \([^ ]*\) $/ {\\\"\1\\\", (void *) 0},/p' -e 's/^$symcode* \([^ ]*\) \(lib[^ ]*\)$/ {\"\2\", (void *) \&\2},/p' -e 's/^$symcode* \([^ ]*\) \([^ ]*\)$/ {\"lib\2\", (void *) \&\2},/p'"
5635 # Handle CRLF in mingw tool chain
5639 opt_cr=`$ECHO 'x\{0,1\}' | tr x '\015'` # option cr in regexp
5643 # Try without a prefix underscore, then with it.
5644 for ac_symprfx in "" "_"; do
5646 # Transform symcode, sympat, and symprfx into a raw symbol and a C symbol.
5647 symxfrm="\\1 $ac_symprfx\\2 \\2"
5649 # Write the raw and C identifiers.
5650 if test "$lt_cv_nm_interface" = "MS dumpbin"; then
5651 # Fake it for dumpbin and say T for any non-static function
5652 # and D for any global variable.
5653 # Also find C++ and __fastcall symbols from MSVC++,
5654 # which start with @ or ?.
5655 lt_cv_sys_global_symbol_pipe="$AWK '"\
5656 " {last_section=section; section=\$ 3};"\
5657 " /Section length .*#relocs.*(pick any)/{hide[last_section]=1};"\
5658 " \$ 0!~/External *\|/{next};"\
5659 " / 0+ UNDEF /{next}; / UNDEF \([^|]\)*()/{next};"\
5660 " {if(hide[section]) next};"\
5661 " {f=0}; \$ 0~/\(\).*\|/{f=1}; {printf f ? \"T \" : \"D \"};"\
5662 " {split(\$ 0, a, /\||\r/); split(a[2], s)};"\
5663 " s[1]~/^[@?]/{print s[1], s[1]; next};"\
5664 " s[1]~prfx {split(s[1],t,\"@\"); print t[1], substr(t[1],length(prfx))}"\
5665 " ' prfx=^$ac_symprfx"
5667 lt_cv_sys_global_symbol_pipe="sed -n -e 's/^.*[ ]\($symcode$symcode*\)[ ][ ]*$ac_symprfx$sympat$opt_cr$/$symxfrm/p'"
5670 # Check to see that the pipe works correctly.
5674 cat > conftest.$ac_ext <<_LT_EOF
5679 void nm_test_func(void);
5680 void nm_test_func(void){}
5684 int main(){nm_test_var='a';nm_test_func();return(0);}
5687 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
5688 (eval $ac_compile) 2>&5
5690 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
5691 (exit $ac_status); }; then
5692 # Now try to grab the symbols.
5694 if { (eval echo "$as_me:$LINENO: \"$NM conftest.$ac_objext \| $lt_cv_sys_global_symbol_pipe \> $nlist\"") >&5
5695 (eval $NM conftest.$ac_objext \| $lt_cv_sys_global_symbol_pipe \> $nlist) 2>&5
5697 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
5698 (exit $ac_status); } && test -s "$nlist"; then
5699 # Try sorting and uniquifying the output.
5700 if sort "$nlist" | uniq > "$nlist"T; then
5701 mv -f "$nlist"T "$nlist"
5706 # Make sure that we snagged all the symbols we need.
5707 if $GREP ' nm_test_var$' "$nlist" >/dev/null; then
5708 if $GREP ' nm_test_func$' "$nlist" >/dev/null; then
5709 cat <<_LT_EOF > conftest.$ac_ext
5715 # Now generate the symbol file.
5716 eval "$lt_cv_sys_global_symbol_to_cdecl"' < "$nlist" | $GREP -v main >> conftest.$ac_ext'
5718 cat <<_LT_EOF >> conftest.$ac_ext
5720 /* The mapping between symbol names and symbols. */
5725 lt__PROGRAM__LTX_preloaded_symbols[] =
5727 { "@PROGRAM@", (void *) 0 },
5729 $SED "s/^$symcode$symcode* \(.*\) \(.*\)$/ {\"\2\", (void *) \&\2},/" < "$nlist" | $GREP -v main >> conftest.$ac_ext
5730 cat <<\_LT_EOF >> conftest.$ac_ext
5734 /* This works around a problem in FreeBSD linker */
5735 #ifdef FREEBSD_WORKAROUND
5736 static const void *lt_preloaded_setup() {
5737 return lt__PROGRAM__LTX_preloaded_symbols;
5745 # Now try linking the two files.
5746 mv conftest.$ac_objext conftstm.$ac_objext
5747 lt_save_LIBS="$LIBS"
5748 lt_save_CFLAGS="$CFLAGS"
5749 LIBS="conftstm.$ac_objext"
5750 CFLAGS="$CFLAGS$lt_prog_compiler_no_builtin_flag"
5751 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
5752 (eval $ac_link) 2>&5
5754 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
5755 (exit $ac_status); } && test -s conftest${ac_exeext}; then
5758 LIBS="$lt_save_LIBS"
5759 CFLAGS="$lt_save_CFLAGS"
5761 echo "cannot find nm_test_func in $nlist" >&5
5764 echo "cannot find nm_test_var in $nlist" >&5
5767 echo "cannot run $lt_cv_sys_global_symbol_pipe" >&5
5770 echo "$progname: failed program was:" >&5
5771 cat conftest.$ac_ext >&5
5773 rm -rf conftest* conftst*
5775 # Do not use the global_symbol_pipe unless it works.
5776 if test "$pipe_works" = yes; then
5779 lt_cv_sys_global_symbol_pipe=
5785 if test -z "$lt_cv_sys_global_symbol_pipe"; then
5786 lt_cv_sys_global_symbol_to_cdecl=
5788 if test -z "$lt_cv_sys_global_symbol_pipe$lt_cv_sys_global_symbol_to_cdecl"; then
5789 { $as_echo "$as_me:$LINENO: result: failed" >&5
5790 $as_echo "failed" >&6; }
5792 { $as_echo "$as_me:$LINENO: result: ok" >&5
5793 $as_echo "ok" >&6; }
5818 # Check whether --enable-libtool-lock was given.
5819 if test "${enable_libtool_lock+set}" = set; then
5820 enableval=$enable_libtool_lock;
5823 test "x$enable_libtool_lock" != xno && enable_libtool_lock=yes
5825 # Some flags need to be propagated to the compiler or linker for good
5829 # Find out which ABI we are using.
5830 echo 'int i;' > conftest.$ac_ext
5831 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
5832 (eval $ac_compile) 2>&5
5834 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
5835 (exit $ac_status); }; then
5836 case `/usr/bin/file conftest.$ac_objext` in
5848 # Find out which ABI we are using.
5849 echo '#line 5849 "configure"' > conftest.$ac_ext
5850 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
5851 (eval $ac_compile) 2>&5
5853 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
5854 (exit $ac_status); }; then
5855 if test "$lt_cv_prog_gnu_ld" = yes; then
5856 case `/usr/bin/file conftest.$ac_objext` in
5858 LD="${LD-ld} -melf32bsmip"
5861 LD="${LD-ld} -melf32bmipn32"
5864 LD="${LD-ld} -melf64bmip"
5868 case `/usr/bin/file conftest.$ac_objext` in
5884 x86_64-*kfreebsd*-gnu|x86_64-*linux*|ppc*-*linux*|powerpc*-*linux*| \
5885 s390*-*linux*|s390*-*tpf*|sparc*-*linux*)
5886 # Find out which ABI we are using.
5887 echo 'int i;' > conftest.$ac_ext
5888 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
5889 (eval $ac_compile) 2>&5
5891 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
5892 (exit $ac_status); }; then
5893 case `/usr/bin/file conftest.o` in
5896 x86_64-*kfreebsd*-gnu)
5897 LD="${LD-ld} -m elf_i386_fbsd"
5900 LD="${LD-ld} -m elf_i386"
5902 ppc64-*linux*|powerpc64-*linux*)
5903 LD="${LD-ld} -m elf32ppclinux"
5906 LD="${LD-ld} -m elf_s390"
5909 LD="${LD-ld} -m elf32_sparc"
5915 x86_64-*kfreebsd*-gnu)
5916 LD="${LD-ld} -m elf_x86_64_fbsd"
5919 LD="${LD-ld} -m elf_x86_64"
5921 ppc*-*linux*|powerpc*-*linux*)
5922 LD="${LD-ld} -m elf64ppc"
5924 s390*-*linux*|s390*-*tpf*)
5925 LD="${LD-ld} -m elf64_s390"
5928 LD="${LD-ld} -m elf64_sparc"
5938 # On SCO OpenServer 5, we need -belf to get full-featured binaries.
5939 SAVE_CFLAGS="$CFLAGS"
5940 CFLAGS="$CFLAGS -belf"
5941 { $as_echo "$as_me:$LINENO: checking whether the C compiler needs -belf" >&5
5942 $as_echo_n "checking whether the C compiler needs -belf... " >&6; }
5943 if test "${lt_cv_cc_needs_belf+set}" = set; then
5944 $as_echo_n "(cached) " >&6
5947 ac_cpp='$CPP $CPPFLAGS'
5948 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5949 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5950 ac_compiler_gnu=$ac_cv_c_compiler_gnu
5952 cat >conftest.$ac_ext <<_ACEOF
5955 cat confdefs.h >>conftest.$ac_ext
5956 cat >>conftest.$ac_ext <<_ACEOF
5957 /* end confdefs.h. */
5967 rm -f conftest.$ac_objext conftest$ac_exeext
5968 if { (ac_try="$ac_link"
5970 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5971 *) ac_try_echo=$ac_try;;
5973 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
5974 $as_echo "$ac_try_echo") >&5
5975 (eval "$ac_link") 2>conftest.er1
5977 grep -v '^ *+' conftest.er1 >conftest.err
5979 cat conftest.err >&5
5980 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
5981 (exit $ac_status); } && {
5982 test -z "$ac_c_werror_flag" ||
5983 test ! -s conftest.err
5984 } && test -s conftest$ac_exeext && {
5985 test "$cross_compiling" = yes ||
5986 $as_test_x conftest$ac_exeext
5988 lt_cv_cc_needs_belf=yes
5990 $as_echo "$as_me: failed program was:" >&5
5991 sed 's/^/| /' conftest.$ac_ext >&5
5993 lt_cv_cc_needs_belf=no
5996 rm -rf conftest.dSYM
5997 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
5998 conftest$ac_exeext conftest.$ac_ext
6000 ac_cpp='$CPP $CPPFLAGS'
6001 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
6002 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
6003 ac_compiler_gnu=$ac_cv_c_compiler_gnu
6006 { $as_echo "$as_me:$LINENO: result: $lt_cv_cc_needs_belf" >&5
6007 $as_echo "$lt_cv_cc_needs_belf" >&6; }
6008 if test x"$lt_cv_cc_needs_belf" != x"yes"; then
6009 # this is probably gcc 2.8.0, egcs 1.0 or newer; no need for -belf
6010 CFLAGS="$SAVE_CFLAGS"
6014 # Find out which ABI we are using.
6015 echo 'int i;' > conftest.$ac_ext
6016 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
6017 (eval $ac_compile) 2>&5
6019 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
6020 (exit $ac_status); }; then
6021 case `/usr/bin/file conftest.o` in
6023 case $lt_cv_prog_gnu_ld in
6024 yes*) LD="${LD-ld} -m elf64_sparc" ;;
6026 if ${LD-ld} -64 -r -o conftest2.o conftest.o >/dev/null 2>&1; then
6038 need_locks="$enable_libtool_lock"
6042 rhapsody* | darwin*)
6043 if test -n "$ac_tool_prefix"; then
6044 # Extract the first word of "${ac_tool_prefix}dsymutil", so it can be a program name with args.
6045 set dummy ${ac_tool_prefix}dsymutil; ac_word=$2
6046 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
6047 $as_echo_n "checking for $ac_word... " >&6; }
6048 if test "${ac_cv_prog_DSYMUTIL+set}" = set; then
6049 $as_echo_n "(cached) " >&6
6051 if test -n "$DSYMUTIL"; then
6052 ac_cv_prog_DSYMUTIL="$DSYMUTIL" # Let the user override the test.
6054 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6058 test -z "$as_dir" && as_dir=.
6059 for ac_exec_ext in '' $ac_executable_extensions; do
6060 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6061 ac_cv_prog_DSYMUTIL="${ac_tool_prefix}dsymutil"
6062 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
6071 DSYMUTIL=$ac_cv_prog_DSYMUTIL
6072 if test -n "$DSYMUTIL"; then
6073 { $as_echo "$as_me:$LINENO: result: $DSYMUTIL" >&5
6074 $as_echo "$DSYMUTIL" >&6; }
6076 { $as_echo "$as_me:$LINENO: result: no" >&5
6077 $as_echo "no" >&6; }
6082 if test -z "$ac_cv_prog_DSYMUTIL"; then
6083 ac_ct_DSYMUTIL=$DSYMUTIL
6084 # Extract the first word of "dsymutil", so it can be a program name with args.
6085 set dummy dsymutil; ac_word=$2
6086 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
6087 $as_echo_n "checking for $ac_word... " >&6; }
6088 if test "${ac_cv_prog_ac_ct_DSYMUTIL+set}" = set; then
6089 $as_echo_n "(cached) " >&6
6091 if test -n "$ac_ct_DSYMUTIL"; then
6092 ac_cv_prog_ac_ct_DSYMUTIL="$ac_ct_DSYMUTIL" # Let the user override the test.
6094 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6098 test -z "$as_dir" && as_dir=.
6099 for ac_exec_ext in '' $ac_executable_extensions; do
6100 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6101 ac_cv_prog_ac_ct_DSYMUTIL="dsymutil"
6102 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
6111 ac_ct_DSYMUTIL=$ac_cv_prog_ac_ct_DSYMUTIL
6112 if test -n "$ac_ct_DSYMUTIL"; then
6113 { $as_echo "$as_me:$LINENO: result: $ac_ct_DSYMUTIL" >&5
6114 $as_echo "$ac_ct_DSYMUTIL" >&6; }
6116 { $as_echo "$as_me:$LINENO: result: no" >&5
6117 $as_echo "no" >&6; }
6120 if test "x$ac_ct_DSYMUTIL" = x; then
6123 case $cross_compiling:$ac_tool_warned in
6125 { $as_echo "$as_me:$LINENO: WARNING: using cross tools not prefixed with host triplet" >&5
6126 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6127 ac_tool_warned=yes ;;
6129 DSYMUTIL=$ac_ct_DSYMUTIL
6132 DSYMUTIL="$ac_cv_prog_DSYMUTIL"
6135 if test -n "$ac_tool_prefix"; then
6136 # Extract the first word of "${ac_tool_prefix}nmedit", so it can be a program name with args.
6137 set dummy ${ac_tool_prefix}nmedit; ac_word=$2
6138 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
6139 $as_echo_n "checking for $ac_word... " >&6; }
6140 if test "${ac_cv_prog_NMEDIT+set}" = set; then
6141 $as_echo_n "(cached) " >&6
6143 if test -n "$NMEDIT"; then
6144 ac_cv_prog_NMEDIT="$NMEDIT" # Let the user override the test.
6146 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6150 test -z "$as_dir" && as_dir=.
6151 for ac_exec_ext in '' $ac_executable_extensions; do
6152 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6153 ac_cv_prog_NMEDIT="${ac_tool_prefix}nmedit"
6154 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
6163 NMEDIT=$ac_cv_prog_NMEDIT
6164 if test -n "$NMEDIT"; then
6165 { $as_echo "$as_me:$LINENO: result: $NMEDIT" >&5
6166 $as_echo "$NMEDIT" >&6; }
6168 { $as_echo "$as_me:$LINENO: result: no" >&5
6169 $as_echo "no" >&6; }
6174 if test -z "$ac_cv_prog_NMEDIT"; then
6175 ac_ct_NMEDIT=$NMEDIT
6176 # Extract the first word of "nmedit", so it can be a program name with args.
6177 set dummy nmedit; ac_word=$2
6178 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
6179 $as_echo_n "checking for $ac_word... " >&6; }
6180 if test "${ac_cv_prog_ac_ct_NMEDIT+set}" = set; then
6181 $as_echo_n "(cached) " >&6
6183 if test -n "$ac_ct_NMEDIT"; then
6184 ac_cv_prog_ac_ct_NMEDIT="$ac_ct_NMEDIT" # Let the user override the test.
6186 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6190 test -z "$as_dir" && as_dir=.
6191 for ac_exec_ext in '' $ac_executable_extensions; do
6192 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6193 ac_cv_prog_ac_ct_NMEDIT="nmedit"
6194 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
6203 ac_ct_NMEDIT=$ac_cv_prog_ac_ct_NMEDIT
6204 if test -n "$ac_ct_NMEDIT"; then
6205 { $as_echo "$as_me:$LINENO: result: $ac_ct_NMEDIT" >&5
6206 $as_echo "$ac_ct_NMEDIT" >&6; }
6208 { $as_echo "$as_me:$LINENO: result: no" >&5
6209 $as_echo "no" >&6; }
6212 if test "x$ac_ct_NMEDIT" = x; then
6215 case $cross_compiling:$ac_tool_warned in
6217 { $as_echo "$as_me:$LINENO: WARNING: using cross tools not prefixed with host triplet" >&5
6218 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6219 ac_tool_warned=yes ;;
6221 NMEDIT=$ac_ct_NMEDIT
6224 NMEDIT="$ac_cv_prog_NMEDIT"
6227 if test -n "$ac_tool_prefix"; then
6228 # Extract the first word of "${ac_tool_prefix}lipo", so it can be a program name with args.
6229 set dummy ${ac_tool_prefix}lipo; ac_word=$2
6230 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
6231 $as_echo_n "checking for $ac_word... " >&6; }
6232 if test "${ac_cv_prog_LIPO+set}" = set; then
6233 $as_echo_n "(cached) " >&6
6235 if test -n "$LIPO"; then
6236 ac_cv_prog_LIPO="$LIPO" # Let the user override the test.
6238 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6242 test -z "$as_dir" && as_dir=.
6243 for ac_exec_ext in '' $ac_executable_extensions; do
6244 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6245 ac_cv_prog_LIPO="${ac_tool_prefix}lipo"
6246 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
6255 LIPO=$ac_cv_prog_LIPO
6256 if test -n "$LIPO"; then
6257 { $as_echo "$as_me:$LINENO: result: $LIPO" >&5
6258 $as_echo "$LIPO" >&6; }
6260 { $as_echo "$as_me:$LINENO: result: no" >&5
6261 $as_echo "no" >&6; }
6266 if test -z "$ac_cv_prog_LIPO"; then
6268 # Extract the first word of "lipo", so it can be a program name with args.
6269 set dummy lipo; ac_word=$2
6270 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
6271 $as_echo_n "checking for $ac_word... " >&6; }
6272 if test "${ac_cv_prog_ac_ct_LIPO+set}" = set; then
6273 $as_echo_n "(cached) " >&6
6275 if test -n "$ac_ct_LIPO"; then
6276 ac_cv_prog_ac_ct_LIPO="$ac_ct_LIPO" # Let the user override the test.
6278 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6282 test -z "$as_dir" && as_dir=.
6283 for ac_exec_ext in '' $ac_executable_extensions; do
6284 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6285 ac_cv_prog_ac_ct_LIPO="lipo"
6286 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
6295 ac_ct_LIPO=$ac_cv_prog_ac_ct_LIPO
6296 if test -n "$ac_ct_LIPO"; then
6297 { $as_echo "$as_me:$LINENO: result: $ac_ct_LIPO" >&5
6298 $as_echo "$ac_ct_LIPO" >&6; }
6300 { $as_echo "$as_me:$LINENO: result: no" >&5
6301 $as_echo "no" >&6; }
6304 if test "x$ac_ct_LIPO" = x; then
6307 case $cross_compiling:$ac_tool_warned in
6309 { $as_echo "$as_me:$LINENO: WARNING: using cross tools not prefixed with host triplet" >&5
6310 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6311 ac_tool_warned=yes ;;
6316 LIPO="$ac_cv_prog_LIPO"
6319 if test -n "$ac_tool_prefix"; then
6320 # Extract the first word of "${ac_tool_prefix}otool", so it can be a program name with args.
6321 set dummy ${ac_tool_prefix}otool; ac_word=$2
6322 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
6323 $as_echo_n "checking for $ac_word... " >&6; }
6324 if test "${ac_cv_prog_OTOOL+set}" = set; then
6325 $as_echo_n "(cached) " >&6
6327 if test -n "$OTOOL"; then
6328 ac_cv_prog_OTOOL="$OTOOL" # Let the user override the test.
6330 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6334 test -z "$as_dir" && as_dir=.
6335 for ac_exec_ext in '' $ac_executable_extensions; do
6336 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6337 ac_cv_prog_OTOOL="${ac_tool_prefix}otool"
6338 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
6347 OTOOL=$ac_cv_prog_OTOOL
6348 if test -n "$OTOOL"; then
6349 { $as_echo "$as_me:$LINENO: result: $OTOOL" >&5
6350 $as_echo "$OTOOL" >&6; }
6352 { $as_echo "$as_me:$LINENO: result: no" >&5
6353 $as_echo "no" >&6; }
6358 if test -z "$ac_cv_prog_OTOOL"; then
6360 # Extract the first word of "otool", so it can be a program name with args.
6361 set dummy otool; ac_word=$2
6362 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
6363 $as_echo_n "checking for $ac_word... " >&6; }
6364 if test "${ac_cv_prog_ac_ct_OTOOL+set}" = set; then
6365 $as_echo_n "(cached) " >&6
6367 if test -n "$ac_ct_OTOOL"; then
6368 ac_cv_prog_ac_ct_OTOOL="$ac_ct_OTOOL" # Let the user override the test.
6370 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6374 test -z "$as_dir" && as_dir=.
6375 for ac_exec_ext in '' $ac_executable_extensions; do
6376 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6377 ac_cv_prog_ac_ct_OTOOL="otool"
6378 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
6387 ac_ct_OTOOL=$ac_cv_prog_ac_ct_OTOOL
6388 if test -n "$ac_ct_OTOOL"; then
6389 { $as_echo "$as_me:$LINENO: result: $ac_ct_OTOOL" >&5
6390 $as_echo "$ac_ct_OTOOL" >&6; }
6392 { $as_echo "$as_me:$LINENO: result: no" >&5
6393 $as_echo "no" >&6; }
6396 if test "x$ac_ct_OTOOL" = x; then
6399 case $cross_compiling:$ac_tool_warned in
6401 { $as_echo "$as_me:$LINENO: WARNING: using cross tools not prefixed with host triplet" >&5
6402 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6403 ac_tool_warned=yes ;;
6408 OTOOL="$ac_cv_prog_OTOOL"
6411 if test -n "$ac_tool_prefix"; then
6412 # Extract the first word of "${ac_tool_prefix}otool64", so it can be a program name with args.
6413 set dummy ${ac_tool_prefix}otool64; ac_word=$2
6414 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
6415 $as_echo_n "checking for $ac_word... " >&6; }
6416 if test "${ac_cv_prog_OTOOL64+set}" = set; then
6417 $as_echo_n "(cached) " >&6
6419 if test -n "$OTOOL64"; then
6420 ac_cv_prog_OTOOL64="$OTOOL64" # Let the user override the test.
6422 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6426 test -z "$as_dir" && as_dir=.
6427 for ac_exec_ext in '' $ac_executable_extensions; do
6428 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6429 ac_cv_prog_OTOOL64="${ac_tool_prefix}otool64"
6430 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
6439 OTOOL64=$ac_cv_prog_OTOOL64
6440 if test -n "$OTOOL64"; then
6441 { $as_echo "$as_me:$LINENO: result: $OTOOL64" >&5
6442 $as_echo "$OTOOL64" >&6; }
6444 { $as_echo "$as_me:$LINENO: result: no" >&5
6445 $as_echo "no" >&6; }
6450 if test -z "$ac_cv_prog_OTOOL64"; then
6451 ac_ct_OTOOL64=$OTOOL64
6452 # Extract the first word of "otool64", so it can be a program name with args.
6453 set dummy otool64; ac_word=$2
6454 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
6455 $as_echo_n "checking for $ac_word... " >&6; }
6456 if test "${ac_cv_prog_ac_ct_OTOOL64+set}" = set; then
6457 $as_echo_n "(cached) " >&6
6459 if test -n "$ac_ct_OTOOL64"; then
6460 ac_cv_prog_ac_ct_OTOOL64="$ac_ct_OTOOL64" # Let the user override the test.
6462 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6466 test -z "$as_dir" && as_dir=.
6467 for ac_exec_ext in '' $ac_executable_extensions; do
6468 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6469 ac_cv_prog_ac_ct_OTOOL64="otool64"
6470 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
6479 ac_ct_OTOOL64=$ac_cv_prog_ac_ct_OTOOL64
6480 if test -n "$ac_ct_OTOOL64"; then
6481 { $as_echo "$as_me:$LINENO: result: $ac_ct_OTOOL64" >&5
6482 $as_echo "$ac_ct_OTOOL64" >&6; }
6484 { $as_echo "$as_me:$LINENO: result: no" >&5
6485 $as_echo "no" >&6; }
6488 if test "x$ac_ct_OTOOL64" = x; then
6491 case $cross_compiling:$ac_tool_warned in
6493 { $as_echo "$as_me:$LINENO: WARNING: using cross tools not prefixed with host triplet" >&5
6494 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6495 ac_tool_warned=yes ;;
6497 OTOOL64=$ac_ct_OTOOL64
6500 OTOOL64="$ac_cv_prog_OTOOL64"
6529 { $as_echo "$as_me:$LINENO: checking for -single_module linker flag" >&5
6530 $as_echo_n "checking for -single_module linker flag... " >&6; }
6531 if test "${lt_cv_apple_cc_single_mod+set}" = set; then
6532 $as_echo_n "(cached) " >&6
6534 lt_cv_apple_cc_single_mod=no
6535 if test -z "${LT_MULTI_MODULE}"; then
6536 # By default we will add the -single_module flag. You can override
6537 # by either setting the environment variable LT_MULTI_MODULE
6538 # non-empty at configure time, or by adding -multi_module to the
6540 rm -rf libconftest.dylib*
6541 echo "int foo(void){return 1;}" > conftest.c
6542 echo "$LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \
6543 -dynamiclib -Wl,-single_module conftest.c" >&5
6544 $LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \
6545 -dynamiclib -Wl,-single_module conftest.c 2>conftest.err
6547 if test -f libconftest.dylib && test ! -s conftest.err && test $_lt_result = 0; then
6548 lt_cv_apple_cc_single_mod=yes
6550 cat conftest.err >&5
6552 rm -rf libconftest.dylib*
6556 { $as_echo "$as_me:$LINENO: result: $lt_cv_apple_cc_single_mod" >&5
6557 $as_echo "$lt_cv_apple_cc_single_mod" >&6; }
6558 { $as_echo "$as_me:$LINENO: checking for -exported_symbols_list linker flag" >&5
6559 $as_echo_n "checking for -exported_symbols_list linker flag... " >&6; }
6560 if test "${lt_cv_ld_exported_symbols_list+set}" = set; then
6561 $as_echo_n "(cached) " >&6
6563 lt_cv_ld_exported_symbols_list=no
6564 save_LDFLAGS=$LDFLAGS
6565 echo "_main" > conftest.sym
6566 LDFLAGS="$LDFLAGS -Wl,-exported_symbols_list,conftest.sym"
6567 cat >conftest.$ac_ext <<_ACEOF
6570 cat confdefs.h >>conftest.$ac_ext
6571 cat >>conftest.$ac_ext <<_ACEOF
6572 /* end confdefs.h. */
6582 rm -f conftest.$ac_objext conftest$ac_exeext
6583 if { (ac_try="$ac_link"
6585 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
6586 *) ac_try_echo=$ac_try;;
6588 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
6589 $as_echo "$ac_try_echo") >&5
6590 (eval "$ac_link") 2>conftest.er1
6592 grep -v '^ *+' conftest.er1 >conftest.err
6594 cat conftest.err >&5
6595 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
6596 (exit $ac_status); } && {
6597 test -z "$ac_c_werror_flag" ||
6598 test ! -s conftest.err
6599 } && test -s conftest$ac_exeext && {
6600 test "$cross_compiling" = yes ||
6601 $as_test_x conftest$ac_exeext
6603 lt_cv_ld_exported_symbols_list=yes
6605 $as_echo "$as_me: failed program was:" >&5
6606 sed 's/^/| /' conftest.$ac_ext >&5
6608 lt_cv_ld_exported_symbols_list=no
6611 rm -rf conftest.dSYM
6612 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
6613 conftest$ac_exeext conftest.$ac_ext
6614 LDFLAGS="$save_LDFLAGS"
6617 { $as_echo "$as_me:$LINENO: result: $lt_cv_ld_exported_symbols_list" >&5
6618 $as_echo "$lt_cv_ld_exported_symbols_list" >&6; }
6620 rhapsody* | darwin1.[012])
6621 _lt_dar_allow_undefined='${wl}-undefined ${wl}suppress' ;;
6623 _lt_dar_allow_undefined='${wl}-flat_namespace ${wl}-undefined ${wl}suppress' ;;
6624 darwin*) # darwin 5.x on
6625 # if running on 10.5 or later, the deployment target defaults
6626 # to the OS version, if on x86, and 10.4, the deployment
6627 # target defaults to 10.4. Don't you love it?
6628 case ${MACOSX_DEPLOYMENT_TARGET-10.0},$host in
6629 10.0,*86*-darwin8*|10.0,*-darwin[91]*)
6630 _lt_dar_allow_undefined='${wl}-undefined ${wl}dynamic_lookup' ;;
6632 _lt_dar_allow_undefined='${wl}-flat_namespace ${wl}-undefined ${wl}suppress' ;;
6634 _lt_dar_allow_undefined='${wl}-undefined ${wl}dynamic_lookup' ;;
6638 if test "$lt_cv_apple_cc_single_mod" = "yes"; then
6639 _lt_dar_single_mod='$single_module'
6641 if test "$lt_cv_ld_exported_symbols_list" = "yes"; then
6642 _lt_dar_export_syms=' ${wl}-exported_symbols_list,$output_objdir/${libname}-symbols.expsym'
6644 _lt_dar_export_syms='~$NMEDIT -s $output_objdir/${libname}-symbols.expsym ${lib}'
6646 if test "$DSYMUTIL" != ":"; then
6647 _lt_dsymutil='~$DSYMUTIL $lib || :'
6655 ac_cpp='$CPP $CPPFLAGS'
6656 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
6657 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
6658 ac_compiler_gnu=$ac_cv_c_compiler_gnu
6659 { $as_echo "$as_me:$LINENO: checking how to run the C preprocessor" >&5
6660 $as_echo_n "checking how to run the C preprocessor... " >&6; }
6661 # On Suns, sometimes $CPP names a directory.
6662 if test -n "$CPP" && test -d "$CPP"; then
6665 if test -z "$CPP"; then
6666 if test "${ac_cv_prog_CPP+set}" = set; then
6667 $as_echo_n "(cached) " >&6
6669 # Double quotes because CPP needs to be expanded
6670 for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
6673 for ac_c_preproc_warn_flag in '' yes
6675 # Use a header file that comes with gcc, so configuring glibc
6676 # with a fresh cross-compiler works.
6677 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
6678 # <limits.h> exists even on freestanding compilers.
6679 # On the NeXT, cc -E runs the code through the compiler's parser,
6680 # not just through cpp. "Syntax error" is here to catch this case.
6681 cat >conftest.$ac_ext <<_ACEOF
6684 cat confdefs.h >>conftest.$ac_ext
6685 cat >>conftest.$ac_ext <<_ACEOF
6686 /* end confdefs.h. */
6688 # include <limits.h>
6690 # include <assert.h>
6694 if { (ac_try="$ac_cpp conftest.$ac_ext"
6696 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
6697 *) ac_try_echo=$ac_try;;
6699 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
6700 $as_echo "$ac_try_echo") >&5
6701 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
6703 grep -v '^ *+' conftest.er1 >conftest.err
6705 cat conftest.err >&5
6706 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
6707 (exit $ac_status); } >/dev/null && {
6708 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
6709 test ! -s conftest.err
6713 $as_echo "$as_me: failed program was:" >&5
6714 sed 's/^/| /' conftest.$ac_ext >&5
6716 # Broken: fails on valid input.
6720 rm -f conftest.err conftest.$ac_ext
6722 # OK, works on sane cases. Now check whether nonexistent headers
6723 # can be detected and how.
6724 cat >conftest.$ac_ext <<_ACEOF
6727 cat confdefs.h >>conftest.$ac_ext
6728 cat >>conftest.$ac_ext <<_ACEOF
6729 /* end confdefs.h. */
6730 #include <ac_nonexistent.h>
6732 if { (ac_try="$ac_cpp conftest.$ac_ext"
6734 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
6735 *) ac_try_echo=$ac_try;;
6737 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
6738 $as_echo "$ac_try_echo") >&5
6739 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
6741 grep -v '^ *+' conftest.er1 >conftest.err
6743 cat conftest.err >&5
6744 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
6745 (exit $ac_status); } >/dev/null && {
6746 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
6747 test ! -s conftest.err
6749 # Broken: success on invalid input.
6752 $as_echo "$as_me: failed program was:" >&5
6753 sed 's/^/| /' conftest.$ac_ext >&5
6755 # Passes both tests.
6760 rm -f conftest.err conftest.$ac_ext
6763 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
6764 rm -f conftest.err conftest.$ac_ext
6765 if $ac_preproc_ok; then
6777 { $as_echo "$as_me:$LINENO: result: $CPP" >&5
6778 $as_echo "$CPP" >&6; }
6780 for ac_c_preproc_warn_flag in '' yes
6782 # Use a header file that comes with gcc, so configuring glibc
6783 # with a fresh cross-compiler works.
6784 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
6785 # <limits.h> exists even on freestanding compilers.
6786 # On the NeXT, cc -E runs the code through the compiler's parser,
6787 # not just through cpp. "Syntax error" is here to catch this case.
6788 cat >conftest.$ac_ext <<_ACEOF
6791 cat confdefs.h >>conftest.$ac_ext
6792 cat >>conftest.$ac_ext <<_ACEOF
6793 /* end confdefs.h. */
6795 # include <limits.h>
6797 # include <assert.h>
6801 if { (ac_try="$ac_cpp conftest.$ac_ext"
6803 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
6804 *) ac_try_echo=$ac_try;;
6806 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
6807 $as_echo "$ac_try_echo") >&5
6808 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
6810 grep -v '^ *+' conftest.er1 >conftest.err
6812 cat conftest.err >&5
6813 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
6814 (exit $ac_status); } >/dev/null && {
6815 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
6816 test ! -s conftest.err
6820 $as_echo "$as_me: failed program was:" >&5
6821 sed 's/^/| /' conftest.$ac_ext >&5
6823 # Broken: fails on valid input.
6827 rm -f conftest.err conftest.$ac_ext
6829 # OK, works on sane cases. Now check whether nonexistent headers
6830 # can be detected and how.
6831 cat >conftest.$ac_ext <<_ACEOF
6834 cat confdefs.h >>conftest.$ac_ext
6835 cat >>conftest.$ac_ext <<_ACEOF
6836 /* end confdefs.h. */
6837 #include <ac_nonexistent.h>
6839 if { (ac_try="$ac_cpp conftest.$ac_ext"
6841 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
6842 *) ac_try_echo=$ac_try;;
6844 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
6845 $as_echo "$ac_try_echo") >&5
6846 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
6848 grep -v '^ *+' conftest.er1 >conftest.err
6850 cat conftest.err >&5
6851 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
6852 (exit $ac_status); } >/dev/null && {
6853 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
6854 test ! -s conftest.err
6856 # Broken: success on invalid input.
6859 $as_echo "$as_me: failed program was:" >&5
6860 sed 's/^/| /' conftest.$ac_ext >&5
6862 # Passes both tests.
6867 rm -f conftest.err conftest.$ac_ext
6870 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
6871 rm -f conftest.err conftest.$ac_ext
6872 if $ac_preproc_ok; then
6875 { { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
6876 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
6877 { { $as_echo "$as_me:$LINENO: error: C preprocessor \"$CPP\" fails sanity check
6878 See \`config.log' for more details." >&5
6879 $as_echo "$as_me: error: C preprocessor \"$CPP\" fails sanity check
6880 See \`config.log' for more details." >&2;}
6881 { (exit 1); exit 1; }; }; }
6885 ac_cpp='$CPP $CPPFLAGS'
6886 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
6887 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
6888 ac_compiler_gnu=$ac_cv_c_compiler_gnu
6891 { $as_echo "$as_me:$LINENO: checking for ANSI C header files" >&5
6892 $as_echo_n "checking for ANSI C header files... " >&6; }
6893 if test "${ac_cv_header_stdc+set}" = set; then
6894 $as_echo_n "(cached) " >&6
6896 cat >conftest.$ac_ext <<_ACEOF
6899 cat confdefs.h >>conftest.$ac_ext
6900 cat >>conftest.$ac_ext <<_ACEOF
6901 /* end confdefs.h. */
6915 rm -f conftest.$ac_objext
6916 if { (ac_try="$ac_compile"
6918 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
6919 *) ac_try_echo=$ac_try;;
6921 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
6922 $as_echo "$ac_try_echo") >&5
6923 (eval "$ac_compile") 2>conftest.er1
6925 grep -v '^ *+' conftest.er1 >conftest.err
6927 cat conftest.err >&5
6928 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
6929 (exit $ac_status); } && {
6930 test -z "$ac_c_werror_flag" ||
6931 test ! -s conftest.err
6932 } && test -s conftest.$ac_objext; then
6933 ac_cv_header_stdc=yes
6935 $as_echo "$as_me: failed program was:" >&5
6936 sed 's/^/| /' conftest.$ac_ext >&5
6938 ac_cv_header_stdc=no
6941 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6943 if test $ac_cv_header_stdc = yes; then
6944 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
6945 cat >conftest.$ac_ext <<_ACEOF
6948 cat confdefs.h >>conftest.$ac_ext
6949 cat >>conftest.$ac_ext <<_ACEOF
6950 /* end confdefs.h. */
6954 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
6955 $EGREP "memchr" >/dev/null 2>&1; then
6958 ac_cv_header_stdc=no
6964 if test $ac_cv_header_stdc = yes; then
6965 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
6966 cat >conftest.$ac_ext <<_ACEOF
6969 cat confdefs.h >>conftest.$ac_ext
6970 cat >>conftest.$ac_ext <<_ACEOF
6971 /* end confdefs.h. */
6975 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
6976 $EGREP "free" >/dev/null 2>&1; then
6979 ac_cv_header_stdc=no
6985 if test $ac_cv_header_stdc = yes; then
6986 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
6987 if test "$cross_compiling" = yes; then
6990 cat >conftest.$ac_ext <<_ACEOF
6993 cat confdefs.h >>conftest.$ac_ext
6994 cat >>conftest.$ac_ext <<_ACEOF
6995 /* end confdefs.h. */
6998 #if ((' ' & 0x0FF) == 0x020)
6999 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
7000 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
7002 # define ISLOWER(c) \
7003 (('a' <= (c) && (c) <= 'i') \
7004 || ('j' <= (c) && (c) <= 'r') \
7005 || ('s' <= (c) && (c) <= 'z'))
7006 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
7009 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
7014 for (i = 0; i < 256; i++)
7015 if (XOR (islower (i), ISLOWER (i))
7016 || toupper (i) != TOUPPER (i))
7021 rm -f conftest$ac_exeext
7022 if { (ac_try="$ac_link"
7024 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
7025 *) ac_try_echo=$ac_try;;
7027 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
7028 $as_echo "$ac_try_echo") >&5
7029 (eval "$ac_link") 2>&5
7031 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
7032 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
7033 { (case "(($ac_try" in
7034 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
7035 *) ac_try_echo=$ac_try;;
7037 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
7038 $as_echo "$ac_try_echo") >&5
7039 (eval "$ac_try") 2>&5
7041 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
7042 (exit $ac_status); }; }; then
7045 $as_echo "$as_me: program exited with status $ac_status" >&5
7046 $as_echo "$as_me: failed program was:" >&5
7047 sed 's/^/| /' conftest.$ac_ext >&5
7050 ac_cv_header_stdc=no
7052 rm -rf conftest.dSYM
7053 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
7059 { $as_echo "$as_me:$LINENO: result: $ac_cv_header_stdc" >&5
7060 $as_echo "$ac_cv_header_stdc" >&6; }
7061 if test $ac_cv_header_stdc = yes; then
7063 cat >>confdefs.h <<\_ACEOF
7064 #define STDC_HEADERS 1
7069 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
7079 for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
7080 inttypes.h stdint.h unistd.h
7082 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
7083 { $as_echo "$as_me:$LINENO: checking for $ac_header" >&5
7084 $as_echo_n "checking for $ac_header... " >&6; }
7085 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
7086 $as_echo_n "(cached) " >&6
7088 cat >conftest.$ac_ext <<_ACEOF
7091 cat confdefs.h >>conftest.$ac_ext
7092 cat >>conftest.$ac_ext <<_ACEOF
7093 /* end confdefs.h. */
7094 $ac_includes_default
7096 #include <$ac_header>
7098 rm -f conftest.$ac_objext
7099 if { (ac_try="$ac_compile"
7101 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
7102 *) ac_try_echo=$ac_try;;
7104 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
7105 $as_echo "$ac_try_echo") >&5
7106 (eval "$ac_compile") 2>conftest.er1
7108 grep -v '^ *+' conftest.er1 >conftest.err
7110 cat conftest.err >&5
7111 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
7112 (exit $ac_status); } && {
7113 test -z "$ac_c_werror_flag" ||
7114 test ! -s conftest.err
7115 } && test -s conftest.$ac_objext; then
7116 eval "$as_ac_Header=yes"
7118 $as_echo "$as_me: failed program was:" >&5
7119 sed 's/^/| /' conftest.$ac_ext >&5
7121 eval "$as_ac_Header=no"
7124 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
7126 ac_res=`eval 'as_val=${'$as_ac_Header'}
7127 $as_echo "$as_val"'`
7128 { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
7129 $as_echo "$ac_res" >&6; }
7130 as_val=`eval 'as_val=${'$as_ac_Header'}
7131 $as_echo "$as_val"'`
7132 if test "x$as_val" = x""yes; then
7133 cat >>confdefs.h <<_ACEOF
7134 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
7143 for ac_header in dlfcn.h
7145 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
7146 { $as_echo "$as_me:$LINENO: checking for $ac_header" >&5
7147 $as_echo_n "checking for $ac_header... " >&6; }
7148 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
7149 $as_echo_n "(cached) " >&6
7151 cat >conftest.$ac_ext <<_ACEOF
7154 cat confdefs.h >>conftest.$ac_ext
7155 cat >>conftest.$ac_ext <<_ACEOF
7156 /* end confdefs.h. */
7157 $ac_includes_default
7159 #include <$ac_header>
7161 rm -f conftest.$ac_objext
7162 if { (ac_try="$ac_compile"
7164 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
7165 *) ac_try_echo=$ac_try;;
7167 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
7168 $as_echo "$ac_try_echo") >&5
7169 (eval "$ac_compile") 2>conftest.er1
7171 grep -v '^ *+' conftest.er1 >conftest.err
7173 cat conftest.err >&5
7174 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
7175 (exit $ac_status); } && {
7176 test -z "$ac_c_werror_flag" ||
7177 test ! -s conftest.err
7178 } && test -s conftest.$ac_objext; then
7179 eval "$as_ac_Header=yes"
7181 $as_echo "$as_me: failed program was:" >&5
7182 sed 's/^/| /' conftest.$ac_ext >&5
7184 eval "$as_ac_Header=no"
7187 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
7189 ac_res=`eval 'as_val=${'$as_ac_Header'}
7190 $as_echo "$as_val"'`
7191 { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
7192 $as_echo "$ac_res" >&6; }
7193 as_val=`eval 'as_val=${'$as_ac_Header'}
7194 $as_echo "$as_val"'`
7195 if test "x$as_val" = x""yes; then
7196 cat >>confdefs.h <<_ACEOF
7197 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
7216 # Check whether --enable-shared was given.
7217 if test "${enable_shared+set}" = set; then
7218 enableval=$enable_shared; p=${PACKAGE-default}
7220 yes) enable_shared=yes ;;
7221 no) enable_shared=no ;;
7224 # Look at the argument we got. We use all the common list separators.
7225 lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
7226 for pkg in $enableval; do
7228 if test "X$pkg" = "X$p"; then
7249 # Check whether --with-pic was given.
7250 if test "${with_pic+set}" = set; then
7251 withval=$with_pic; pic_mode="$withval"
7257 test -z "$pic_mode" && pic_mode=default
7265 # Check whether --enable-fast-install was given.
7266 if test "${enable_fast_install+set}" = set; then
7267 enableval=$enable_fast_install; p=${PACKAGE-default}
7269 yes) enable_fast_install=yes ;;
7270 no) enable_fast_install=no ;;
7272 enable_fast_install=no
7273 # Look at the argument we got. We use all the common list separators.
7274 lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
7275 for pkg in $enableval; do
7277 if test "X$pkg" = "X$p"; then
7278 enable_fast_install=yes
7285 enable_fast_install=yes
7298 # This can be used to rebuild libtool when needed
7299 LIBTOOL_DEPS="$ltmain"
7301 # Always use our own libtool.
7302 LIBTOOL='$(SHELL) $(top_builddir)/libtool'
7328 test -z "$LN_S" && LN_S="ln -s"
7343 if test -n "${ZSH_VERSION+set}" ; then
7344 setopt NO_GLOB_SUBST
7347 { $as_echo "$as_me:$LINENO: checking for objdir" >&5
7348 $as_echo_n "checking for objdir... " >&6; }
7349 if test "${lt_cv_objdir+set}" = set; then
7350 $as_echo_n "(cached) " >&6
7352 rm -f .libs 2>/dev/null
7353 mkdir .libs 2>/dev/null
7354 if test -d .libs; then
7357 # MS-DOS does not allow filenames that begin with a dot.
7360 rmdir .libs 2>/dev/null
7362 { $as_echo "$as_me:$LINENO: result: $lt_cv_objdir" >&5
7363 $as_echo "$lt_cv_objdir" >&6; }
7364 objdir=$lt_cv_objdir
7370 cat >>confdefs.h <<_ACEOF
7371 #define LT_OBJDIR "$lt_cv_objdir/"
7392 # AIX sometimes has problems with the GCC collect2 program. For some
7393 # reason, if we set the COLLECT_NAMES environment variable, the problems
7394 # vanish in a puff of smoke.
7395 if test "X${COLLECT_NAMES+set}" != Xset; then
7397 export COLLECT_NAMES
7402 # Sed substitution that helps us do robust quoting. It backslashifies
7403 # metacharacters that are still active within double-quoted strings.
7404 sed_quote_subst='s/\(["`$\\]\)/\\\1/g'
7406 # Same as above, but do not quote variable references.
7407 double_quote_subst='s/\(["`\\]\)/\\\1/g'
7409 # Sed substitution to delay expansion of an escaped shell variable in a
7410 # double_quote_subst'ed string.
7411 delay_variable_subst='s/\\\\\\\\\\\$/\\\\\\$/g'
7413 # Sed substitution to delay expansion of an escaped single quote.
7414 delay_single_quote_subst='s/'\''/'\'\\\\\\\'\''/g'
7416 # Sed substitution to avoid accidental globbing in evaled expressions
7417 no_glob_subst='s/\*/\\\*/g'
7421 can_build_shared=yes
7423 # All known linkers require a `.a' archive for static linking (except MSVC,
7424 # which needs '.lib').
7427 with_gnu_ld="$lt_cv_prog_gnu_ld"
7430 old_CFLAGS="$CFLAGS"
7432 # Set sane defaults for various variables
7433 test -z "$CC" && CC=cc
7434 test -z "$LTCC" && LTCC=$CC
7435 test -z "$LTCFLAGS" && LTCFLAGS=$CFLAGS
7436 test -z "$LD" && LD=ld
7437 test -z "$ac_objext" && ac_objext=o
7439 for cc_temp in $compiler""; do
7441 compile | *[\\/]compile | ccache | *[\\/]ccache ) ;;
7442 distcc | *[\\/]distcc | purify | *[\\/]purify ) ;;
7447 cc_basename=`$ECHO "X$cc_temp" | $Xsed -e 's%.*/%%' -e "s%^$host_alias-%%"`
7450 # Only perform the check for file, if the check method requires it
7451 test -z "$MAGIC_CMD" && MAGIC_CMD=file
7452 case $deplibs_check_method in
7454 if test "$file_magic_cmd" = '$MAGIC_CMD'; then
7455 { $as_echo "$as_me:$LINENO: checking for ${ac_tool_prefix}file" >&5
7456 $as_echo_n "checking for ${ac_tool_prefix}file... " >&6; }
7457 if test "${lt_cv_path_MAGIC_CMD+set}" = set; then
7458 $as_echo_n "(cached) " >&6
7462 lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a path.
7465 lt_save_MAGIC_CMD="$MAGIC_CMD"
7466 lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
7467 ac_dummy="/usr/bin$PATH_SEPARATOR$PATH"
7468 for ac_dir in $ac_dummy; do
7470 test -z "$ac_dir" && ac_dir=.
7471 if test -f $ac_dir/${ac_tool_prefix}file; then
7472 lt_cv_path_MAGIC_CMD="$ac_dir/${ac_tool_prefix}file"
7473 if test -n "$file_magic_test_file"; then
7474 case $deplibs_check_method in
7476 file_magic_regex=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
7477 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
7478 if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
7479 $EGREP "$file_magic_regex" > /dev/null; then
7484 *** Warning: the command libtool uses to detect shared libraries,
7485 *** $file_magic_cmd, produces output that libtool cannot recognize.
7486 *** The result is that libtool may fail to recognize shared libraries
7487 *** as such. This will affect the creation of libtool libraries that
7488 *** depend on shared libraries, but programs linked with such libtool
7489 *** libraries will work regardless of this problem. Nevertheless, you
7490 *** may want to report the problem to your system manager and/or to
7491 *** bug-libtool@gnu.org
7501 MAGIC_CMD="$lt_save_MAGIC_CMD"
7506 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
7507 if test -n "$MAGIC_CMD"; then
7508 { $as_echo "$as_me:$LINENO: result: $MAGIC_CMD" >&5
7509 $as_echo "$MAGIC_CMD" >&6; }
7511 { $as_echo "$as_me:$LINENO: result: no" >&5
7512 $as_echo "no" >&6; }
7519 if test -z "$lt_cv_path_MAGIC_CMD"; then
7520 if test -n "$ac_tool_prefix"; then
7521 { $as_echo "$as_me:$LINENO: checking for file" >&5
7522 $as_echo_n "checking for file... " >&6; }
7523 if test "${lt_cv_path_MAGIC_CMD+set}" = set; then
7524 $as_echo_n "(cached) " >&6
7528 lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a path.
7531 lt_save_MAGIC_CMD="$MAGIC_CMD"
7532 lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
7533 ac_dummy="/usr/bin$PATH_SEPARATOR$PATH"
7534 for ac_dir in $ac_dummy; do
7536 test -z "$ac_dir" && ac_dir=.
7537 if test -f $ac_dir/file; then
7538 lt_cv_path_MAGIC_CMD="$ac_dir/file"
7539 if test -n "$file_magic_test_file"; then
7540 case $deplibs_check_method in
7542 file_magic_regex=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
7543 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
7544 if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
7545 $EGREP "$file_magic_regex" > /dev/null; then
7550 *** Warning: the command libtool uses to detect shared libraries,
7551 *** $file_magic_cmd, produces output that libtool cannot recognize.
7552 *** The result is that libtool may fail to recognize shared libraries
7553 *** as such. This will affect the creation of libtool libraries that
7554 *** depend on shared libraries, but programs linked with such libtool
7555 *** libraries will work regardless of this problem. Nevertheless, you
7556 *** may want to report the problem to your system manager and/or to
7557 *** bug-libtool@gnu.org
7567 MAGIC_CMD="$lt_save_MAGIC_CMD"
7572 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
7573 if test -n "$MAGIC_CMD"; then
7574 { $as_echo "$as_me:$LINENO: result: $MAGIC_CMD" >&5
7575 $as_echo "$MAGIC_CMD" >&6; }
7577 { $as_echo "$as_me:$LINENO: result: no" >&5
7578 $as_echo "no" >&6; }
7591 # Use C for the default configuration in the libtool script
7595 ac_cpp='$CPP $CPPFLAGS'
7596 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
7597 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
7598 ac_compiler_gnu=$ac_cv_c_compiler_gnu
7601 # Source file extension for C test sources.
7604 # Object file extension for compiled C test sources.
7608 # Code to be used in simple compile tests
7609 lt_simple_compile_test_code="int some_variable = 0;"
7611 # Code to be used in simple link tests
7612 lt_simple_link_test_code='int main(){return(0);}'
7620 # If no C compiler was specified, use CC.
7623 # If no C compiler flags were specified, use CFLAGS.
7624 LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
7626 # Allow CC to be a program name with arguments.
7629 # Save the default compiler, since it gets overwritten when the other
7630 # tags are being tested, and _LT_TAGVAR(compiler, []) is a NOP.
7631 compiler_DEFAULT=$CC
7633 # save warnings/boilerplate of simple test code
7634 ac_outfile=conftest.$ac_objext
7635 echo "$lt_simple_compile_test_code" >conftest.$ac_ext
7636 eval "$ac_compile" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
7637 _lt_compiler_boilerplate=`cat conftest.err`
7640 ac_outfile=conftest.$ac_objext
7641 echo "$lt_simple_link_test_code" >conftest.$ac_ext
7642 eval "$ac_link" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
7643 _lt_linker_boilerplate=`cat conftest.err`
7647 if test -n "$compiler"; then
7649 lt_prog_compiler_no_builtin_flag=
7651 if test "$GCC" = yes; then
7652 lt_prog_compiler_no_builtin_flag=' -fno-builtin'
7654 { $as_echo "$as_me:$LINENO: checking if $compiler supports -fno-rtti -fno-exceptions" >&5
7655 $as_echo_n "checking if $compiler supports -fno-rtti -fno-exceptions... " >&6; }
7656 if test "${lt_cv_prog_compiler_rtti_exceptions+set}" = set; then
7657 $as_echo_n "(cached) " >&6
7659 lt_cv_prog_compiler_rtti_exceptions=no
7660 ac_outfile=conftest.$ac_objext
7661 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
7662 lt_compiler_flag="-fno-rtti -fno-exceptions"
7663 # Insert the option either (1) after the last *FLAGS variable, or
7664 # (2) before a word containing "conftest.", or (3) at the end.
7665 # Note that $ac_compile itself does not contain backslashes and begins
7666 # with a dollar sign (not a hyphen), so the echo should work correctly.
7667 # The option is referenced via a variable to avoid confusing sed.
7668 lt_compile=`echo "$ac_compile" | $SED \
7669 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
7670 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
7671 -e 's:$: $lt_compiler_flag:'`
7672 (eval echo "\"\$as_me:7672: $lt_compile\"" >&5)
7673 (eval "$lt_compile" 2>conftest.err)
7675 cat conftest.err >&5
7676 echo "$as_me:7676: \$? = $ac_status" >&5
7677 if (exit $ac_status) && test -s "$ac_outfile"; then
7678 # The compiler can only warn and ignore the option if not recognized
7679 # So say no if there are warnings other than the usual output.
7680 $ECHO "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' >conftest.exp
7681 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
7682 if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
7683 lt_cv_prog_compiler_rtti_exceptions=yes
7689 { $as_echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_rtti_exceptions" >&5
7690 $as_echo "$lt_cv_prog_compiler_rtti_exceptions" >&6; }
7692 if test x"$lt_cv_prog_compiler_rtti_exceptions" = xyes; then
7693 lt_prog_compiler_no_builtin_flag="$lt_prog_compiler_no_builtin_flag -fno-rtti -fno-exceptions"
7705 lt_prog_compiler_wl=
7706 lt_prog_compiler_pic=
7707 lt_prog_compiler_static=
7709 { $as_echo "$as_me:$LINENO: checking for $compiler option to produce PIC" >&5
7710 $as_echo_n "checking for $compiler option to produce PIC... " >&6; }
7712 if test "$GCC" = yes; then
7713 lt_prog_compiler_wl='-Wl,'
7714 lt_prog_compiler_static='-static'
7718 # All AIX code is PIC.
7719 if test "$host_cpu" = ia64; then
7720 # AIX 5 now supports IA64 processor
7721 lt_prog_compiler_static='-Bstatic'
7728 # see comment about AmigaOS4 .so support
7729 lt_prog_compiler_pic='-fPIC'
7732 # FIXME: we need at least 68020 code to build shared libraries, but
7733 # adding the `-m68020' flag to GCC prevents building anything better,
7735 lt_prog_compiler_pic='-m68020 -resident32 -malways-restore-a4'
7740 beos* | irix5* | irix6* | nonstopux* | osf3* | osf4* | osf5*)
7741 # PIC is the default for these OSes.
7744 mingw* | cygwin* | pw32* | os2* | cegcc*)
7745 # This hack is so that the source file can tell whether it is being
7746 # built for inclusion in a dll (and should export symbols for example).
7747 # Although the cygwin gcc ignores -fPIC, still need this for old-style
7748 # (--disable-auto-import) libraries
7749 lt_prog_compiler_pic='-DDLL_EXPORT'
7752 darwin* | rhapsody*)
7753 # PIC is the default on this platform
7754 # Common symbols not allowed in MH_DYLIB files
7755 lt_prog_compiler_pic='-fno-common'
7759 # PIC is the default for 64-bit PA HP-UX, but not for 32-bit
7760 # PA HP-UX. On IA64 HP-UX, PIC is the default but the pic flag
7761 # sets the default TLS model and affects inlining.
7767 lt_prog_compiler_pic='-fPIC'
7773 # Interix 3.x gcc -fpic/-fPIC options generate broken code.
7774 # Instead, we relocate shared libraries at runtime.
7778 # Just because we use GCC doesn't mean we suddenly get shared libraries
7779 # on systems that don't support them.
7780 lt_prog_compiler_can_build_shared=no
7785 # QNX uses GNU C++, but need to define -shared option too, otherwise
7787 lt_prog_compiler_pic='-fPIC -shared'
7791 if test -d /usr/nec; then
7792 lt_prog_compiler_pic=-Kconform_pic
7797 lt_prog_compiler_pic='-fPIC'
7801 # PORTME Check for flag to pass linker flags through the system compiler.
7804 lt_prog_compiler_wl='-Wl,'
7805 if test "$host_cpu" = ia64; then
7806 # AIX 5 now supports IA64 processor
7807 lt_prog_compiler_static='-Bstatic'
7809 lt_prog_compiler_static='-bnso -bI:/lib/syscalls.exp'
7813 mingw* | cygwin* | pw32* | os2* | cegcc*)
7814 # This hack is so that the source file can tell whether it is being
7815 # built for inclusion in a dll (and should export symbols for example).
7816 lt_prog_compiler_pic='-DDLL_EXPORT'
7819 hpux9* | hpux10* | hpux11*)
7820 lt_prog_compiler_wl='-Wl,'
7821 # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
7828 lt_prog_compiler_pic='+Z'
7831 # Is there a better lt_prog_compiler_static that works with the bundled CC?
7832 lt_prog_compiler_static='${wl}-a ${wl}archive'
7835 irix5* | irix6* | nonstopux*)
7836 lt_prog_compiler_wl='-Wl,'
7837 # PIC (with -KPIC) is the default.
7838 lt_prog_compiler_static='-non_shared'
7841 linux* | k*bsd*-gnu)
7842 case $cc_basename in
7843 # old Intel for x86_64 which still supported -KPIC.
7845 lt_prog_compiler_wl='-Wl,'
7846 lt_prog_compiler_pic='-KPIC'
7847 lt_prog_compiler_static='-static'
7849 # icc used to be incompatible with GCC.
7850 # ICC 10 doesn't accept -KPIC any more.
7852 lt_prog_compiler_wl='-Wl,'
7853 lt_prog_compiler_pic='-fPIC'
7854 lt_prog_compiler_static='-static'
7856 # Lahey Fortran 8.1.
7858 lt_prog_compiler_wl='-Wl,'
7859 lt_prog_compiler_pic='--shared'
7860 lt_prog_compiler_static='--static'
7862 pgcc* | pgf77* | pgf90* | pgf95*)
7863 # Portland Group compilers (*not* the Pentium gcc compiler,
7864 # which looks to be a dead project)
7865 lt_prog_compiler_wl='-Wl,'
7866 lt_prog_compiler_pic='-fpic'
7867 lt_prog_compiler_static='-Bstatic'
7870 lt_prog_compiler_wl='-Wl,'
7871 # All Alpha code is PIC.
7872 lt_prog_compiler_static='-non_shared'
7875 # IBM XL C 8.0/Fortran 10.1 on PPC
7876 lt_prog_compiler_wl='-Wl,'
7877 lt_prog_compiler_pic='-qpic'
7878 lt_prog_compiler_static='-qstaticlink'
7881 case `$CC -V 2>&1 | sed 5q` in
7884 lt_prog_compiler_pic='-KPIC'
7885 lt_prog_compiler_static='-Bstatic'
7886 lt_prog_compiler_wl='-Wl,'
7889 # Sun Fortran 8.3 passes all unrecognized flags to the linker
7890 lt_prog_compiler_pic='-KPIC'
7891 lt_prog_compiler_static='-Bstatic'
7892 lt_prog_compiler_wl=''
7900 lt_prog_compiler_pic='-KPIC'
7901 lt_prog_compiler_static='-Bstatic'
7905 # QNX uses GNU C++, but need to define -shared option too, otherwise
7907 lt_prog_compiler_pic='-fPIC -shared'
7910 osf3* | osf4* | osf5*)
7911 lt_prog_compiler_wl='-Wl,'
7912 # All OSF/1 code is PIC.
7913 lt_prog_compiler_static='-non_shared'
7917 lt_prog_compiler_static='-non_shared'
7921 lt_prog_compiler_pic='-KPIC'
7922 lt_prog_compiler_static='-Bstatic'
7923 case $cc_basename in
7925 lt_prog_compiler_wl='-Qoption ld ';;
7927 lt_prog_compiler_wl='-Wl,';;
7932 lt_prog_compiler_wl='-Qoption ld '
7933 lt_prog_compiler_pic='-PIC'
7934 lt_prog_compiler_static='-Bstatic'
7937 sysv4 | sysv4.2uw2* | sysv4.3*)
7938 lt_prog_compiler_wl='-Wl,'
7939 lt_prog_compiler_pic='-KPIC'
7940 lt_prog_compiler_static='-Bstatic'
7944 if test -d /usr/nec ;then
7945 lt_prog_compiler_pic='-Kconform_pic'
7946 lt_prog_compiler_static='-Bstatic'
7950 sysv5* | unixware* | sco3.2v5* | sco5v6* | OpenUNIX*)
7951 lt_prog_compiler_wl='-Wl,'
7952 lt_prog_compiler_pic='-KPIC'
7953 lt_prog_compiler_static='-Bstatic'
7957 lt_prog_compiler_wl='-Wl,'
7958 lt_prog_compiler_can_build_shared=no
7962 lt_prog_compiler_pic='-pic'
7963 lt_prog_compiler_static='-Bstatic'
7967 lt_prog_compiler_can_build_shared=no
7973 # For platforms which do not support PIC, -DPIC is meaningless:
7975 lt_prog_compiler_pic=
7978 lt_prog_compiler_pic="$lt_prog_compiler_pic -DPIC"
7981 { $as_echo "$as_me:$LINENO: result: $lt_prog_compiler_pic" >&5
7982 $as_echo "$lt_prog_compiler_pic" >&6; }
7990 # Check to make sure the PIC flag actually works.
7992 if test -n "$lt_prog_compiler_pic"; then
7993 { $as_echo "$as_me:$LINENO: checking if $compiler PIC flag $lt_prog_compiler_pic works" >&5
7994 $as_echo_n "checking if $compiler PIC flag $lt_prog_compiler_pic works... " >&6; }
7995 if test "${lt_cv_prog_compiler_pic_works+set}" = set; then
7996 $as_echo_n "(cached) " >&6
7998 lt_cv_prog_compiler_pic_works=no
7999 ac_outfile=conftest.$ac_objext
8000 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
8001 lt_compiler_flag="$lt_prog_compiler_pic -DPIC"
8002 # Insert the option either (1) after the last *FLAGS variable, or
8003 # (2) before a word containing "conftest.", or (3) at the end.
8004 # Note that $ac_compile itself does not contain backslashes and begins
8005 # with a dollar sign (not a hyphen), so the echo should work correctly.
8006 # The option is referenced via a variable to avoid confusing sed.
8007 lt_compile=`echo "$ac_compile" | $SED \
8008 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
8009 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
8010 -e 's:$: $lt_compiler_flag:'`
8011 (eval echo "\"\$as_me:8011: $lt_compile\"" >&5)
8012 (eval "$lt_compile" 2>conftest.err)
8014 cat conftest.err >&5
8015 echo "$as_me:8015: \$? = $ac_status" >&5
8016 if (exit $ac_status) && test -s "$ac_outfile"; then
8017 # The compiler can only warn and ignore the option if not recognized
8018 # So say no if there are warnings other than the usual output.
8019 $ECHO "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' >conftest.exp
8020 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
8021 if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
8022 lt_cv_prog_compiler_pic_works=yes
8028 { $as_echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_pic_works" >&5
8029 $as_echo "$lt_cv_prog_compiler_pic_works" >&6; }
8031 if test x"$lt_cv_prog_compiler_pic_works" = xyes; then
8032 case $lt_prog_compiler_pic in
8034 *) lt_prog_compiler_pic=" $lt_prog_compiler_pic" ;;
8037 lt_prog_compiler_pic=
8038 lt_prog_compiler_can_build_shared=no
8049 # Check to make sure the static flag actually works.
8051 wl=$lt_prog_compiler_wl eval lt_tmp_static_flag=\"$lt_prog_compiler_static\"
8052 { $as_echo "$as_me:$LINENO: checking if $compiler static flag $lt_tmp_static_flag works" >&5
8053 $as_echo_n "checking if $compiler static flag $lt_tmp_static_flag works... " >&6; }
8054 if test "${lt_cv_prog_compiler_static_works+set}" = set; then
8055 $as_echo_n "(cached) " >&6
8057 lt_cv_prog_compiler_static_works=no
8058 save_LDFLAGS="$LDFLAGS"
8059 LDFLAGS="$LDFLAGS $lt_tmp_static_flag"
8060 echo "$lt_simple_link_test_code" > conftest.$ac_ext
8061 if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
8062 # The linker can only warn and ignore the option if not recognized
8063 # So say no if there are warnings
8064 if test -s conftest.err; then
8065 # Append any errors to the config.log.
8066 cat conftest.err 1>&5
8067 $ECHO "X$_lt_linker_boilerplate" | $Xsed -e '/^$/d' > conftest.exp
8068 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
8069 if diff conftest.exp conftest.er2 >/dev/null; then
8070 lt_cv_prog_compiler_static_works=yes
8073 lt_cv_prog_compiler_static_works=yes
8077 LDFLAGS="$save_LDFLAGS"
8080 { $as_echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_static_works" >&5
8081 $as_echo "$lt_cv_prog_compiler_static_works" >&6; }
8083 if test x"$lt_cv_prog_compiler_static_works" = xyes; then
8086 lt_prog_compiler_static=
8095 { $as_echo "$as_me:$LINENO: checking if $compiler supports -c -o file.$ac_objext" >&5
8096 $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
8097 if test "${lt_cv_prog_compiler_c_o+set}" = set; then
8098 $as_echo_n "(cached) " >&6
8100 lt_cv_prog_compiler_c_o=no
8101 $RM -r conftest 2>/dev/null
8105 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
8107 lt_compiler_flag="-o out/conftest2.$ac_objext"
8108 # Insert the option either (1) after the last *FLAGS variable, or
8109 # (2) before a word containing "conftest.", or (3) at the end.
8110 # Note that $ac_compile itself does not contain backslashes and begins
8111 # with a dollar sign (not a hyphen), so the echo should work correctly.
8112 lt_compile=`echo "$ac_compile" | $SED \
8113 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
8114 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
8115 -e 's:$: $lt_compiler_flag:'`
8116 (eval echo "\"\$as_me:8116: $lt_compile\"" >&5)
8117 (eval "$lt_compile" 2>out/conftest.err)
8119 cat out/conftest.err >&5
8120 echo "$as_me:8120: \$? = $ac_status" >&5
8121 if (exit $ac_status) && test -s out/conftest2.$ac_objext
8123 # The compiler can only warn and ignore the option if not recognized
8124 # So say no if there are warnings
8125 $ECHO "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' > out/conftest.exp
8126 $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
8127 if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
8128 lt_cv_prog_compiler_c_o=yes
8133 # SGI C++ compiler will create directory out/ii_files/ for
8134 # template instantiation
8135 test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
8136 $RM out/* && rmdir out
8142 { $as_echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_c_o" >&5
8143 $as_echo "$lt_cv_prog_compiler_c_o" >&6; }
8150 { $as_echo "$as_me:$LINENO: checking if $compiler supports -c -o file.$ac_objext" >&5
8151 $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
8152 if test "${lt_cv_prog_compiler_c_o+set}" = set; then
8153 $as_echo_n "(cached) " >&6
8155 lt_cv_prog_compiler_c_o=no
8156 $RM -r conftest 2>/dev/null
8160 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
8162 lt_compiler_flag="-o out/conftest2.$ac_objext"
8163 # Insert the option either (1) after the last *FLAGS variable, or
8164 # (2) before a word containing "conftest.", or (3) at the end.
8165 # Note that $ac_compile itself does not contain backslashes and begins
8166 # with a dollar sign (not a hyphen), so the echo should work correctly.
8167 lt_compile=`echo "$ac_compile" | $SED \
8168 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
8169 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
8170 -e 's:$: $lt_compiler_flag:'`
8171 (eval echo "\"\$as_me:8171: $lt_compile\"" >&5)
8172 (eval "$lt_compile" 2>out/conftest.err)
8174 cat out/conftest.err >&5
8175 echo "$as_me:8175: \$? = $ac_status" >&5
8176 if (exit $ac_status) && test -s out/conftest2.$ac_objext
8178 # The compiler can only warn and ignore the option if not recognized
8179 # So say no if there are warnings
8180 $ECHO "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' > out/conftest.exp
8181 $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
8182 if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
8183 lt_cv_prog_compiler_c_o=yes
8188 # SGI C++ compiler will create directory out/ii_files/ for
8189 # template instantiation
8190 test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
8191 $RM out/* && rmdir out
8197 { $as_echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_c_o" >&5
8198 $as_echo "$lt_cv_prog_compiler_c_o" >&6; }
8203 hard_links="nottested"
8204 if test "$lt_cv_prog_compiler_c_o" = no && test "$need_locks" != no; then
8205 # do not overwrite the value of need_locks provided by the user
8206 { $as_echo "$as_me:$LINENO: checking if we can lock with hard links" >&5
8207 $as_echo_n "checking if we can lock with hard links... " >&6; }
8210 ln conftest.a conftest.b 2>/dev/null && hard_links=no
8212 ln conftest.a conftest.b 2>&5 || hard_links=no
8213 ln conftest.a conftest.b 2>/dev/null && hard_links=no
8214 { $as_echo "$as_me:$LINENO: result: $hard_links" >&5
8215 $as_echo "$hard_links" >&6; }
8216 if test "$hard_links" = no; then
8217 { $as_echo "$as_me:$LINENO: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5
8218 $as_echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;}
8230 { $as_echo "$as_me:$LINENO: checking whether the $compiler linker ($LD) supports shared libraries" >&5
8231 $as_echo_n "checking whether the $compiler linker ($LD) supports shared libraries... " >&6; }
8234 allow_undefined_flag=
8235 always_export_symbols=no
8237 archive_expsym_cmds=
8238 compiler_needs_object=no
8239 enable_shared_with_static_runtimes=no
8240 export_dynamic_flag_spec=
8241 export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
8242 hardcode_automatic=no
8244 hardcode_direct_absolute=no
8245 hardcode_libdir_flag_spec=
8246 hardcode_libdir_flag_spec_ld=
8247 hardcode_libdir_separator=
8249 hardcode_shlibpath_var=unsupported
8251 link_all_deplibs=unknown
8254 old_archive_from_new_cmds=
8255 old_archive_from_expsyms_cmds=
8256 thread_safe_flag_spec=
8257 whole_archive_flag_spec=
8258 # include_expsyms should be a list of space-separated symbols to be *always*
8259 # included in the symbol list
8261 # exclude_expsyms can be an extended regexp of symbols to exclude
8262 # it will be wrapped by ` (' and `)$', so one must not match beginning or
8263 # end of line. Example: `a|bc|.*d.*' will exclude the symbols `a' and `bc',
8264 # as well as any symbol that contains `d'.
8265 exclude_expsyms='_GLOBAL_OFFSET_TABLE_|_GLOBAL__F[ID]_.*'
8266 # Although _GLOBAL_OFFSET_TABLE_ is a valid symbol C name, most a.out
8267 # platforms (ab)use it in PIC code, but their linkers get confused if
8268 # the symbol is explicitly referenced. Since portable code cannot
8269 # rely on this symbol name, it's probably fine to never include it in
8270 # preloaded symbol tables.
8271 # Exclude shared library initialization/finalization symbols.
8272 extract_expsyms_cmds=
8275 cygwin* | mingw* | pw32* | cegcc*)
8276 # FIXME: the MSVC++ port hasn't been tested in a loooong time
8277 # When not using gcc, we currently assume that we are using
8278 # Microsoft Visual C++.
8279 if test "$GCC" != yes; then
8284 # we just hope/assume this is gcc and not c89 (= MSVC++)
8293 if test "$with_gnu_ld" = yes; then
8294 # If archive_cmds runs LD, not CC, wlarc should be empty
8297 # Set some defaults for GNU ld with shared library support. These
8298 # are reset later if shared libraries are not supported. Putting them
8299 # here allows them to be overridden if necessary.
8300 runpath_var=LD_RUN_PATH
8301 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
8302 export_dynamic_flag_spec='${wl}--export-dynamic'
8303 # ancient GNU ld didn't support --whole-archive et. al.
8304 if $LD --help 2>&1 | $GREP 'no-whole-archive' > /dev/null; then
8305 whole_archive_flag_spec="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
8307 whole_archive_flag_spec=
8309 supports_anon_versioning=no
8310 case `$LD -v 2>&1` in
8311 *\ [01].* | *\ 2.[0-9].* | *\ 2.10.*) ;; # catch versions < 2.11
8312 *\ 2.11.93.0.2\ *) supports_anon_versioning=yes ;; # RH7.3 ...
8313 *\ 2.11.92.0.12\ *) supports_anon_versioning=yes ;; # Mandrake 8.2 ...
8314 *\ 2.11.*) ;; # other 2.11 versions
8315 *) supports_anon_versioning=yes ;;
8318 # See if GNU ld supports shared libraries.
8321 # On AIX/PPC, the GNU linker is very broken
8322 if test "$host_cpu" != ia64; then
8326 *** Warning: the GNU linker, at least up to release 2.9.1, is reported
8327 *** to be unable to reliably create shared libraries on AIX.
8328 *** Therefore, libtool is disabling shared libraries support. If you
8329 *** really care for shared libraries, you may want to modify your PATH
8330 *** so that a non-GNU linker is found, and then restart.
8339 # see comment about AmigaOS4 .so support
8340 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
8341 archive_expsym_cmds=''
8344 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)'
8345 hardcode_libdir_flag_spec='-L$libdir'
8346 hardcode_minus_L=yes
8352 if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
8353 allow_undefined_flag=unsupported
8354 # Joseph Beckenbach <jrb3@best.com> says some releases of gcc
8355 # support --undefined. This deserves some investigation. FIXME
8356 archive_cmds='$CC -nostart $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
8362 cygwin* | mingw* | pw32* | cegcc*)
8363 # _LT_TAGVAR(hardcode_libdir_flag_spec, ) is actually meaningless,
8364 # as there is no search path for DLLs.
8365 hardcode_libdir_flag_spec='-L$libdir'
8366 allow_undefined_flag=unsupported
8367 always_export_symbols=no
8368 enable_shared_with_static_runtimes=yes
8369 export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS][ ]/s/.*[ ]\([^ ]*\)/\1 DATA/'\'' | $SED -e '\''/^[AITW][ ]/s/.*[ ]//'\'' | sort | uniq > $export_symbols'
8371 if $LD --help 2>&1 | $GREP 'auto-import' > /dev/null; then
8372 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
8373 # If the export-symbols file already is a .def file (1st line
8374 # is EXPORTS), use it as is; otherwise, prepend...
8375 archive_expsym_cmds='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
8376 cp $export_symbols $output_objdir/$soname.def;
8378 echo EXPORTS > $output_objdir/$soname.def;
8379 cat $export_symbols >> $output_objdir/$soname.def;
8381 $CC -shared $output_objdir/$soname.def $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
8389 hardcode_shlibpath_var=no
8390 hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
8391 export_dynamic_flag_spec='${wl}-E'
8392 # Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc.
8393 # Instead, shared libraries are loaded at an image base (0x10000000 by
8394 # default) and relocated if they conflict, which is a slow very memory
8395 # consuming and fragmenting process. To avoid this, we pick a random,
8396 # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link
8397 # time. Moving up from 0x10000000 also allows more sbrk(2) space.
8398 archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-h,$soname ${wl}--image-base,`expr ${RANDOM-$$} % 4096 / 2 \* 262144 + 1342177280` -o $lib'
8399 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'
8402 gnu* | linux* | tpf* | k*bsd*-gnu)
8404 if test "$host_os" = linux-dietlibc; then
8405 case $cc_basename in
8406 diet\ *) tmp_diet=yes;; # linux-dietlibc with static linking (!diet-dyn)
8409 if $LD --help 2>&1 | $EGREP ': supported targets:.* elf' > /dev/null \
8410 && test "$tmp_diet" = no
8413 tmp_sharedflag='-shared'
8414 case $cc_basename,$host_cpu in
8415 pgcc*) # Portland Group C compiler
8416 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'
8417 tmp_addflag=' $pic_flag'
8419 pgf77* | pgf90* | pgf95*) # Portland Group f77 and f90 compilers
8420 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'
8421 tmp_addflag=' $pic_flag -Mnomain' ;;
8422 ecc*,ia64* | icc*,ia64*) # Intel C compiler on ia64
8423 tmp_addflag=' -i_dynamic' ;;
8424 efc*,ia64* | ifort*,ia64*) # Intel Fortran compiler on ia64
8425 tmp_addflag=' -i_dynamic -nofor_main' ;;
8426 ifc* | ifort*) # Intel Fortran compiler
8427 tmp_addflag=' -nofor_main' ;;
8428 lf95*) # Lahey Fortran 8.1
8429 whole_archive_flag_spec=
8430 tmp_sharedflag='--shared' ;;
8431 xl[cC]*) # IBM XL C 8.0 on PPC (deal with xlf below)
8432 tmp_sharedflag='-qmkshrobj'
8435 case `$CC -V 2>&1 | sed 5q` in
8436 *Sun\ C*) # Sun C 5.9
8437 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'
8438 compiler_needs_object=yes
8439 tmp_sharedflag='-G' ;;
8440 *Sun\ F*) # Sun Fortran 8.3
8441 tmp_sharedflag='-G' ;;
8443 archive_cmds='$CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
8445 if test "x$supports_anon_versioning" = xyes; then
8446 archive_expsym_cmds='echo "{ global:" > $output_objdir/$libname.ver~
8447 cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
8448 echo "local: *; };" >> $output_objdir/$libname.ver~
8449 $CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-version-script ${wl}$output_objdir/$libname.ver -o $lib'
8452 case $cc_basename in
8454 # IBM XL Fortran 10.1 on PPC cannot create shared libs itself
8455 whole_archive_flag_spec='--whole-archive$convenience --no-whole-archive'
8456 hardcode_libdir_flag_spec=
8457 hardcode_libdir_flag_spec_ld='-rpath $libdir'
8458 archive_cmds='$LD -shared $libobjs $deplibs $compiler_flags -soname $soname -o $lib'
8459 if test "x$supports_anon_versioning" = xyes; then
8460 archive_expsym_cmds='echo "{ global:" > $output_objdir/$libname.ver~
8461 cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
8462 echo "local: *; };" >> $output_objdir/$libname.ver~
8463 $LD -shared $libobjs $deplibs $compiler_flags -soname $soname -version-script $output_objdir/$libname.ver -o $lib'
8472 netbsd* | netbsdelf*-gnu)
8473 if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
8474 archive_cmds='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib'
8477 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
8478 archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
8483 if $LD -v 2>&1 | $GREP 'BFD 2\.8' > /dev/null; then
8487 *** Warning: The releases 2.8.* of the GNU linker cannot reliably
8488 *** create shared libraries on Solaris systems. Therefore, libtool
8489 *** is disabling shared libraries support. We urge you to upgrade GNU
8490 *** binutils to release 2.9.1 or newer. Another option is to modify
8491 *** your PATH or compiler configuration so that the native linker is
8492 *** used, and then restart.
8495 elif $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
8496 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
8497 archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
8503 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX*)
8504 case `$LD -v 2>&1` in
8505 *\ [01].* | *\ 2.[0-9].* | *\ 2.1[0-5].*)
8509 *** Warning: Releases of the GNU linker prior to 2.16.91.0.3 can not
8510 *** reliably create shared libraries on SCO systems. Therefore, libtool
8511 *** is disabling shared libraries support. We urge you to upgrade GNU
8512 *** binutils to release 2.16.91.0.3 or newer. Another option is to modify
8513 *** your PATH or compiler configuration so that the native linker is
8514 *** used, and then restart.
8519 # For security reasons, it is highly recommended that you always
8520 # use absolute paths for naming shared libraries, and exclude the
8521 # DT_RUNPATH tag from executables and libraries. But doing so
8522 # requires that you compile everything twice, which is a pain.
8523 if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
8524 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
8525 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
8526 archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
8535 archive_cmds='$LD -assert pure-text -Bshareable -o $lib $libobjs $deplibs $linker_flags'
8538 hardcode_shlibpath_var=no
8542 if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
8543 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
8544 archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
8551 if test "$ld_shlibs" = no; then
8553 hardcode_libdir_flag_spec=
8554 export_dynamic_flag_spec=
8555 whole_archive_flag_spec=
8558 # PORTME fill in a description of your system's linker (not GNU ld)
8561 allow_undefined_flag=unsupported
8562 always_export_symbols=yes
8563 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'
8564 # Note: this linker hardcodes the directories in LIBPATH if there
8565 # are no directories specified by -L.
8566 hardcode_minus_L=yes
8567 if test "$GCC" = yes && test -z "$lt_prog_compiler_static"; then
8568 # Neither direct hardcoding nor static linking is supported with a
8570 hardcode_direct=unsupported
8575 if test "$host_cpu" = ia64; then
8576 # On IA64, the linker does run time linking by default, so we don't
8577 # have to do anything special.
8578 aix_use_runtimelinking=no
8579 exp_sym_flag='-Bexport'
8582 # If we're using GNU nm, then we don't want the "-C" option.
8583 # -C means demangle to AIX nm, but means don't demangle with GNU nm
8584 if $NM -V 2>&1 | $GREP 'GNU' > /dev/null; then
8585 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'
8587 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'
8589 aix_use_runtimelinking=no
8591 # Test if we are trying to use run time linking or normal
8592 # AIX style linking. If -brtl is somewhere in LDFLAGS, we
8593 # need to do runtime linking.
8594 case $host_os in aix4.[23]|aix4.[23].*|aix[5-9]*)
8595 for ld_flag in $LDFLAGS; do
8596 if (test $ld_flag = "-brtl" || test $ld_flag = "-Wl,-brtl"); then
8597 aix_use_runtimelinking=yes
8604 exp_sym_flag='-bexport'
8605 no_entry_flag='-bnoentry'
8608 # When large executables or shared objects are built, AIX ld can
8609 # have problems creating the table of contents. If linking a library
8610 # or program results in "error TOC overflow" add -mminimal-toc to
8611 # CXXFLAGS/CFLAGS for g++/gcc. In the cases where that is not
8612 # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
8616 hardcode_direct_absolute=yes
8617 hardcode_libdir_separator=':'
8618 link_all_deplibs=yes
8619 file_list_spec='${wl}-f,'
8621 if test "$GCC" = yes; then
8622 case $host_os in aix4.[012]|aix4.[012].*)
8623 # We only want to do this on AIX 4.2 and lower, the check
8624 # below for broken collect2 doesn't work under 4.3+
8625 collect2name=`${CC} -print-prog-name=collect2`
8626 if test -f "$collect2name" &&
8627 strings "$collect2name" | $GREP resolve_lib_name >/dev/null
8629 # We have reworked collect2
8632 # We have old collect2
8633 hardcode_direct=unsupported
8634 # It fails to find uninstalled libraries when the uninstalled
8635 # path is not listed in the libpath. Setting hardcode_minus_L
8636 # to unsupported forces relinking
8637 hardcode_minus_L=yes
8638 hardcode_libdir_flag_spec='-L$libdir'
8639 hardcode_libdir_separator=
8643 shared_flag='-shared'
8644 if test "$aix_use_runtimelinking" = yes; then
8645 shared_flag="$shared_flag "'${wl}-G'
8650 if test "$host_cpu" = ia64; then
8651 # VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
8652 # chokes on -Wl,-G. The following line is correct:
8655 if test "$aix_use_runtimelinking" = yes; then
8656 shared_flag='${wl}-G'
8658 shared_flag='${wl}-bM:SRE'
8663 export_dynamic_flag_spec='${wl}-bexpall'
8664 # It seems that -bexpall does not export symbols beginning with
8665 # underscore (_), so it is better to generate a list of symbols to export.
8666 always_export_symbols=yes
8667 if test "$aix_use_runtimelinking" = yes; then
8668 # Warning - without using the other runtime loading flags (-brtl),
8669 # -berok will link without error, but may produce a broken library.
8670 allow_undefined_flag='-berok'
8671 # Determine the default libpath from the value encoded in an
8673 cat >conftest.$ac_ext <<_ACEOF
8676 cat confdefs.h >>conftest.$ac_ext
8677 cat >>conftest.$ac_ext <<_ACEOF
8678 /* end confdefs.h. */
8688 rm -f conftest.$ac_objext conftest$ac_exeext
8689 if { (ac_try="$ac_link"
8691 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
8692 *) ac_try_echo=$ac_try;;
8694 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
8695 $as_echo "$ac_try_echo") >&5
8696 (eval "$ac_link") 2>conftest.er1
8698 grep -v '^ *+' conftest.er1 >conftest.err
8700 cat conftest.err >&5
8701 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
8702 (exit $ac_status); } && {
8703 test -z "$ac_c_werror_flag" ||
8704 test ! -s conftest.err
8705 } && test -s conftest$ac_exeext && {
8706 test "$cross_compiling" = yes ||
8707 $as_test_x conftest$ac_exeext
8710 lt_aix_libpath_sed='
8711 /Import File Strings/,/^$/ {
8717 aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
8718 # Check for a 64-bit object if we didn't find anything.
8719 if test -z "$aix_libpath"; then
8720 aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
8723 $as_echo "$as_me: failed program was:" >&5
8724 sed 's/^/| /' conftest.$ac_ext >&5
8729 rm -rf conftest.dSYM
8730 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
8731 conftest$ac_exeext conftest.$ac_ext
8732 if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
8734 hardcode_libdir_flag_spec='${wl}-blibpath:$libdir:'"$aix_libpath"
8735 archive_expsym_cmds='$CC -o $output_objdir/$soname $libobjs $deplibs '"\${wl}$no_entry_flag"' $compiler_flags `if test "x${allow_undefined_flag}" != "x"; then $ECHO "X${wl}${allow_undefined_flag}" | $Xsed; else :; fi` '"\${wl}$exp_sym_flag:\$export_symbols $shared_flag"
8737 if test "$host_cpu" = ia64; then
8738 hardcode_libdir_flag_spec='${wl}-R $libdir:/usr/lib:/lib'
8739 allow_undefined_flag="-z nodefs"
8740 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"
8742 # Determine the default libpath from the value encoded in an
8744 cat >conftest.$ac_ext <<_ACEOF
8747 cat confdefs.h >>conftest.$ac_ext
8748 cat >>conftest.$ac_ext <<_ACEOF
8749 /* end confdefs.h. */
8759 rm -f conftest.$ac_objext conftest$ac_exeext
8760 if { (ac_try="$ac_link"
8762 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
8763 *) ac_try_echo=$ac_try;;
8765 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
8766 $as_echo "$ac_try_echo") >&5
8767 (eval "$ac_link") 2>conftest.er1
8769 grep -v '^ *+' conftest.er1 >conftest.err
8771 cat conftest.err >&5
8772 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
8773 (exit $ac_status); } && {
8774 test -z "$ac_c_werror_flag" ||
8775 test ! -s conftest.err
8776 } && test -s conftest$ac_exeext && {
8777 test "$cross_compiling" = yes ||
8778 $as_test_x conftest$ac_exeext
8781 lt_aix_libpath_sed='
8782 /Import File Strings/,/^$/ {
8788 aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
8789 # Check for a 64-bit object if we didn't find anything.
8790 if test -z "$aix_libpath"; then
8791 aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
8794 $as_echo "$as_me: failed program was:" >&5
8795 sed 's/^/| /' conftest.$ac_ext >&5
8800 rm -rf conftest.dSYM
8801 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
8802 conftest$ac_exeext conftest.$ac_ext
8803 if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
8805 hardcode_libdir_flag_spec='${wl}-blibpath:$libdir:'"$aix_libpath"
8806 # Warning - without using the other run time loading flags,
8807 # -berok will link without error, but may produce a broken library.
8808 no_undefined_flag=' ${wl}-bernotok'
8809 allow_undefined_flag=' ${wl}-berok'
8810 # Exported symbols can be pulled into shared objects from archives
8811 whole_archive_flag_spec='$convenience'
8812 archive_cmds_need_lc=yes
8813 # This is similar to how AIX traditionally builds its shared libraries.
8814 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'
8822 # see comment about AmigaOS4 .so support
8823 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
8824 archive_expsym_cmds=''
8827 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)'
8828 hardcode_libdir_flag_spec='-L$libdir'
8829 hardcode_minus_L=yes
8835 export_dynamic_flag_spec=-rdynamic
8838 cygwin* | mingw* | pw32* | cegcc*)
8839 # When not using gcc, we currently assume that we are using
8840 # Microsoft Visual C++.
8841 # hardcode_libdir_flag_spec is actually meaningless, as there is
8842 # no search path for DLLs.
8843 hardcode_libdir_flag_spec=' '
8844 allow_undefined_flag=unsupported
8845 # Tell ltmain to make .lib files, not .a files.
8847 # Tell ltmain to make .dll files, not .so files.
8849 # FIXME: Setting linknames here is a bad hack.
8850 archive_cmds='$CC -o $lib $libobjs $compiler_flags `$ECHO "X$deplibs" | $Xsed -e '\''s/ -lc$//'\''` -link -dll~linknames='
8851 # The linker will automatically build a .lib file if we build a DLL.
8852 old_archive_from_new_cmds='true'
8853 # FIXME: Should let the user specify the lib program.
8854 old_archive_cmds='lib -OUT:$oldlib$oldobjs$old_deplibs'
8855 fix_srcfile_path='`cygpath -w "$srcfile"`'
8856 enable_shared_with_static_runtimes=yes
8859 darwin* | rhapsody*)
8862 archive_cmds_need_lc=no
8864 hardcode_automatic=yes
8865 hardcode_shlibpath_var=unsupported
8866 whole_archive_flag_spec=''
8867 link_all_deplibs=yes
8868 allow_undefined_flag="$_lt_dar_allow_undefined"
8869 case $cc_basename in
8870 ifort*) _lt_dar_can_shared=yes ;;
8871 *) _lt_dar_can_shared=$GCC ;;
8873 if test "$_lt_dar_can_shared" = "yes"; then
8874 output_verbose_link_cmd=echo
8875 archive_cmds="\$CC -dynamiclib \$allow_undefined_flag -o \$lib \$libobjs \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring $_lt_dar_single_mod${_lt_dsymutil}"
8876 module_cmds="\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags${_lt_dsymutil}"
8877 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}"
8878 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}"
8887 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
8888 hardcode_libdir_flag_spec='-L$libdir'
8889 hardcode_shlibpath_var=no
8896 # FreeBSD 2.2.[012] allows us to include c++rt0.o to get C++ constructor
8897 # support. Future versions do this automatically, but an explicit c++rt0.o
8898 # does not break anything, and helps significantly (at the cost of a little
8901 archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags /usr/lib/c++rt0.o'
8902 hardcode_libdir_flag_spec='-R$libdir'
8904 hardcode_shlibpath_var=no
8907 # Unfortunately, older versions of FreeBSD 2 do not have this feature.
8909 archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
8911 hardcode_minus_L=yes
8912 hardcode_shlibpath_var=no
8915 # FreeBSD 3 and greater uses gcc -shared to do shared libraries.
8916 freebsd* | dragonfly*)
8917 archive_cmds='$CC -shared -o $lib $libobjs $deplibs $compiler_flags'
8918 hardcode_libdir_flag_spec='-R$libdir'
8920 hardcode_shlibpath_var=no
8924 if test "$GCC" = yes; then
8925 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'
8927 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'
8929 hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
8930 hardcode_libdir_separator=:
8933 # hardcode_minus_L: Not really in the search PATH,
8934 # but as the default location of the library.
8935 hardcode_minus_L=yes
8936 export_dynamic_flag_spec='${wl}-E'
8940 if test "$GCC" = yes -a "$with_gnu_ld" = no; then
8941 archive_cmds='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
8943 archive_cmds='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
8945 if test "$with_gnu_ld" = no; then
8946 hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
8947 hardcode_libdir_flag_spec_ld='+b $libdir'
8948 hardcode_libdir_separator=:
8950 hardcode_direct_absolute=yes
8951 export_dynamic_flag_spec='${wl}-E'
8952 # hardcode_minus_L: Not really in the search PATH,
8953 # but as the default location of the library.
8954 hardcode_minus_L=yes
8959 if test "$GCC" = yes -a "$with_gnu_ld" = no; then
8962 archive_cmds='$CC -shared ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
8965 archive_cmds='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
8968 archive_cmds='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
8974 archive_cmds='$CC -b ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
8977 archive_cmds='$CC -b ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
8980 archive_cmds='$CC -b ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
8984 if test "$with_gnu_ld" = no; then
8985 hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
8986 hardcode_libdir_separator=:
8991 hardcode_shlibpath_var=no
8995 hardcode_direct_absolute=yes
8996 export_dynamic_flag_spec='${wl}-E'
8998 # hardcode_minus_L: Not really in the search PATH,
8999 # but as the default location of the library.
9000 hardcode_minus_L=yes
9006 irix5* | irix6* | nonstopux*)
9007 if test "$GCC" = yes; then
9008 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname ${wl}$soname `test -n "$verstring" && $ECHO "X${wl}-set_version ${wl}$verstring" | $Xsed` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib'
9009 # Try to use the -exported_symbol ld option, if it does not
9010 # work, assume that -exports_file does not work either and
9011 # implicitly export all symbols.
9012 save_LDFLAGS="$LDFLAGS"
9013 LDFLAGS="$LDFLAGS -shared ${wl}-exported_symbol ${wl}foo ${wl}-update_registry ${wl}/dev/null"
9014 cat >conftest.$ac_ext <<_ACEOF
9017 rm -f conftest.$ac_objext conftest$ac_exeext
9018 if { (ac_try="$ac_link"
9020 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
9021 *) ac_try_echo=$ac_try;;
9023 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
9024 $as_echo "$ac_try_echo") >&5
9025 (eval "$ac_link") 2>conftest.er1
9027 grep -v '^ *+' conftest.er1 >conftest.err
9029 cat conftest.err >&5
9030 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
9031 (exit $ac_status); } && {
9032 test -z "$ac_c_werror_flag" ||
9033 test ! -s conftest.err
9034 } && test -s conftest$ac_exeext && {
9035 test "$cross_compiling" = yes ||
9036 $as_test_x conftest$ac_exeext
9038 archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname ${wl}$soname `test -n "$verstring" && $ECHO "X${wl}-set_version ${wl}$verstring" | $Xsed` ${wl}-update_registry ${wl}${output_objdir}/so_locations ${wl}-exports_file ${wl}$export_symbols -o $lib'
9041 $as_echo "$as_me: failed program was:" >&5
9042 sed 's/^/| /' conftest.$ac_ext >&5
9047 rm -rf conftest.dSYM
9048 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
9049 conftest$ac_exeext conftest.$ac_ext
9050 LDFLAGS="$save_LDFLAGS"
9052 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags -soname $soname `test -n "$verstring" && $ECHO "X-set_version $verstring" | $Xsed` -update_registry ${output_objdir}/so_locations -o $lib'
9053 archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags -soname $soname `test -n "$verstring" && $ECHO "X-set_version $verstring" | $Xsed` -update_registry ${output_objdir}/so_locations -exports_file $export_symbols -o $lib'
9055 archive_cmds_need_lc='no'
9056 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
9057 hardcode_libdir_separator=:
9059 link_all_deplibs=yes
9062 netbsd* | netbsdelf*-gnu)
9063 if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
9064 archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags' # a.out
9066 archive_cmds='$LD -shared -o $lib $libobjs $deplibs $linker_flags' # ELF
9068 hardcode_libdir_flag_spec='-R$libdir'
9070 hardcode_shlibpath_var=no
9074 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
9076 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
9077 hardcode_libdir_separator=:
9078 hardcode_shlibpath_var=no
9085 if test -f /usr/libexec/ld.so; then
9087 hardcode_shlibpath_var=no
9088 hardcode_direct_absolute=yes
9089 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
9090 archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
9091 archive_expsym_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-retain-symbols-file,$export_symbols'
9092 hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
9093 export_dynamic_flag_spec='${wl}-E'
9096 openbsd[01].* | openbsd2.[0-7] | openbsd2.[0-7].*)
9097 archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
9098 hardcode_libdir_flag_spec='-R$libdir'
9101 archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
9102 hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
9112 hardcode_libdir_flag_spec='-L$libdir'
9113 hardcode_minus_L=yes
9114 allow_undefined_flag=unsupported
9115 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'
9116 old_archive_from_new_cmds='emximp -o $output_objdir/$libname.a $output_objdir/$libname.def'
9120 if test "$GCC" = yes; then
9121 allow_undefined_flag=' ${wl}-expect_unresolved ${wl}\*'
9122 archive_cmds='$CC -shared${allow_undefined_flag} $libobjs $deplibs $compiler_flags ${wl}-soname ${wl}$soname `test -n "$verstring" && $ECHO "X${wl}-set_version ${wl}$verstring" | $Xsed` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib'
9124 allow_undefined_flag=' -expect_unresolved \*'
9125 archive_cmds='$CC -shared${allow_undefined_flag} $libobjs $deplibs $compiler_flags -soname $soname `test -n "$verstring" && $ECHO "X-set_version $verstring" | $Xsed` -update_registry ${output_objdir}/so_locations -o $lib'
9127 archive_cmds_need_lc='no'
9128 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
9129 hardcode_libdir_separator=:
9132 osf4* | osf5*) # as osf3* with the addition of -msym flag
9133 if test "$GCC" = yes; then
9134 allow_undefined_flag=' ${wl}-expect_unresolved ${wl}\*'
9135 archive_cmds='$CC -shared${allow_undefined_flag} $libobjs $deplibs $compiler_flags ${wl}-msym ${wl}-soname ${wl}$soname `test -n "$verstring" && $ECHO "X${wl}-set_version ${wl}$verstring" | $Xsed` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib'
9136 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
9138 allow_undefined_flag=' -expect_unresolved \*'
9139 archive_cmds='$CC -shared${allow_undefined_flag} $libobjs $deplibs $compiler_flags -msym -soname $soname `test -n "$verstring" && $ECHO "X-set_version $verstring" | $Xsed` -update_registry ${output_objdir}/so_locations -o $lib'
9140 archive_expsym_cmds='for i in `cat $export_symbols`; do printf "%s %s\\n" -exported_symbol "\$i" >> $lib.exp; done; printf "%s\\n" "-hidden">> $lib.exp~
9141 $CC -shared${allow_undefined_flag} ${wl}-input ${wl}$lib.exp $compiler_flags $libobjs $deplibs -soname $soname `test -n "$verstring" && $ECHO "X-set_version $verstring" | $Xsed` -update_registry ${output_objdir}/so_locations -o $lib~$RM $lib.exp'
9143 # Both c and cxx compiler support -rpath directly
9144 hardcode_libdir_flag_spec='-rpath $libdir'
9146 archive_cmds_need_lc='no'
9147 hardcode_libdir_separator=:
9151 no_undefined_flag=' -z defs'
9152 if test "$GCC" = yes; then
9154 archive_cmds='$CC -shared ${wl}-z ${wl}text ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
9155 archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
9156 $CC -shared ${wl}-z ${wl}text ${wl}-M ${wl}$lib.exp ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags~$RM $lib.exp'
9158 case `$CC -V 2>&1` in
9161 archive_cmds='$LD -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $linker_flags'
9162 archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
9163 $LD -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$RM $lib.exp'
9167 archive_cmds='$CC -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $compiler_flags'
9168 archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
9169 $CC -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $compiler_flags~$RM $lib.exp'
9173 hardcode_libdir_flag_spec='-R$libdir'
9174 hardcode_shlibpath_var=no
9176 solaris2.[0-5] | solaris2.[0-5].*) ;;
9178 # The compiler driver will combine and reorder linker options,
9179 # but understands `-z linker_flag'. GCC discards it without `$wl',
9180 # but is careful enough not to reorder.
9181 # Supported since Solaris 2.6 (maybe 2.5.1?)
9182 if test "$GCC" = yes; then
9183 whole_archive_flag_spec='${wl}-z ${wl}allextract$convenience ${wl}-z ${wl}defaultextract'
9185 whole_archive_flag_spec='-z allextract$convenience -z defaultextract'
9189 link_all_deplibs=yes
9193 if test "x$host_vendor" = xsequent; then
9194 # Use $CC to link under sequent, because it throws in some extra .o
9195 # files that make .init and .fini sections work.
9196 archive_cmds='$CC -G ${wl}-h $soname -o $lib $libobjs $deplibs $compiler_flags'
9198 archive_cmds='$LD -assert pure-text -Bstatic -o $lib $libobjs $deplibs $linker_flags'
9200 hardcode_libdir_flag_spec='-L$libdir'
9202 hardcode_minus_L=yes
9203 hardcode_shlibpath_var=no
9207 case $host_vendor in
9209 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
9210 hardcode_direct=yes # is this really true???
9213 ## LD is ld it makes a PLAMLIB
9214 ## CC just makes a GrossModule.
9215 archive_cmds='$LD -G -o $lib $libobjs $deplibs $linker_flags'
9216 reload_cmds='$CC -r -o $output$reload_objs'
9220 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
9221 hardcode_direct=no #Motorola manual says yes, but my tests say they lie
9224 runpath_var='LD_RUN_PATH'
9225 hardcode_shlibpath_var=no
9229 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
9230 hardcode_shlibpath_var=no
9231 export_dynamic_flag_spec='-Bexport'
9235 if test -d /usr/nec; then
9236 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
9237 hardcode_shlibpath_var=no
9238 runpath_var=LD_RUN_PATH
9239 hardcode_runpath_var=yes
9244 sysv4*uw2* | sysv5OpenUNIX* | sysv5UnixWare7.[01].[10]* | unixware7* | sco3.2v5.0.[024]*)
9245 no_undefined_flag='${wl}-z,text'
9246 archive_cmds_need_lc=no
9247 hardcode_shlibpath_var=no
9248 runpath_var='LD_RUN_PATH'
9250 if test "$GCC" = yes; then
9251 archive_cmds='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
9252 archive_expsym_cmds='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
9254 archive_cmds='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
9255 archive_expsym_cmds='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
9259 sysv5* | sco3.2v5* | sco5v6*)
9260 # Note: We can NOT use -z defs as we might desire, because we do not
9261 # link with -lc, and that would cause any symbols used from libc to
9262 # always be unresolved, which means just about no library would
9263 # ever link correctly. If we're not using GNU ld we use -z text
9264 # though, which does catch some bad symbols but isn't as heavy-handed
9266 no_undefined_flag='${wl}-z,text'
9267 allow_undefined_flag='${wl}-z,nodefs'
9268 archive_cmds_need_lc=no
9269 hardcode_shlibpath_var=no
9270 hardcode_libdir_flag_spec='${wl}-R,$libdir'
9271 hardcode_libdir_separator=':'
9272 link_all_deplibs=yes
9273 export_dynamic_flag_spec='${wl}-Bexport'
9274 runpath_var='LD_RUN_PATH'
9276 if test "$GCC" = yes; then
9277 archive_cmds='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
9278 archive_expsym_cmds='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
9280 archive_cmds='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
9281 archive_expsym_cmds='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
9286 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
9287 hardcode_libdir_flag_spec='-L$libdir'
9288 hardcode_shlibpath_var=no
9296 if test x$host_vendor = xsni; then
9298 sysv4 | sysv4.2uw2* | sysv4.3* | sysv5*)
9299 export_dynamic_flag_spec='${wl}-Blargedynsym'
9305 { $as_echo "$as_me:$LINENO: result: $ld_shlibs" >&5
9306 $as_echo "$ld_shlibs" >&6; }
9307 test "$ld_shlibs" = no && can_build_shared=no
9309 with_gnu_ld=$with_gnu_ld
9326 # Do we need to explicitly link libc?
9328 case "x$archive_cmds_need_lc" in
9330 # Assume -lc should be added
9331 archive_cmds_need_lc=yes
9333 if test "$enable_shared" = yes && test "$GCC" = yes; then
9334 case $archive_cmds in
9336 # FIXME: we may have to deal with multi-command sequences.
9339 # Test whether the compiler implicitly links with -lc since on some
9340 # systems, -lgcc has to come before -lc. If gcc already passes -lc
9341 # to ld, don't add -lc before -lgcc.
9342 { $as_echo "$as_me:$LINENO: checking whether -lc should be explicitly linked in" >&5
9343 $as_echo_n "checking whether -lc should be explicitly linked in... " >&6; }
9345 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
9347 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
9348 (eval $ac_compile) 2>&5
9350 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
9351 (exit $ac_status); } 2>conftest.err; then
9354 libobjs=conftest.$ac_objext
9356 wl=$lt_prog_compiler_wl
9357 pic_flag=$lt_prog_compiler_pic
9363 lt_save_allow_undefined_flag=$allow_undefined_flag
9364 allow_undefined_flag=
9365 if { (eval echo "$as_me:$LINENO: \"$archive_cmds 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1\"") >&5
9366 (eval $archive_cmds 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1) 2>&5
9368 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
9369 (exit $ac_status); }
9371 archive_cmds_need_lc=no
9373 archive_cmds_need_lc=yes
9375 allow_undefined_flag=$lt_save_allow_undefined_flag
9377 cat conftest.err 1>&5
9380 { $as_echo "$as_me:$LINENO: result: $archive_cmds_need_lc" >&5
9381 $as_echo "$archive_cmds_need_lc" >&6; }
9544 { $as_echo "$as_me:$LINENO: checking dynamic linker characteristics" >&5
9545 $as_echo_n "checking dynamic linker characteristics... " >&6; }
9547 if test "$GCC" = yes; then
9549 darwin*) lt_awk_arg="/^libraries:/,/LR/" ;;
9550 *) lt_awk_arg="/^libraries:/" ;;
9552 lt_search_path_spec=`$CC -print-search-dirs | awk $lt_awk_arg | $SED -e "s/^libraries://" -e "s,=/,/,g"`
9553 if $ECHO "$lt_search_path_spec" | $GREP ';' >/dev/null ; then
9554 # if the path contains ";" then we assume it to be the separator
9555 # otherwise default to the standard path separator (i.e. ":") - it is
9556 # assumed that no part of a normal pathname contains ";" but that should
9557 # okay in the real world where ";" in dirpaths is itself problematic.
9558 lt_search_path_spec=`$ECHO "$lt_search_path_spec" | $SED -e 's/;/ /g'`
9560 lt_search_path_spec=`$ECHO "$lt_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
9562 # Ok, now we have the path, separated by spaces, we can step through it
9563 # and add multilib dir if necessary.
9564 lt_tmp_lt_search_path_spec=
9565 lt_multi_os_dir=`$CC $CPPFLAGS $CFLAGS $LDFLAGS -print-multi-os-directory 2>/dev/null`
9566 for lt_sys_path in $lt_search_path_spec; do
9567 if test -d "$lt_sys_path/$lt_multi_os_dir"; then
9568 lt_tmp_lt_search_path_spec="$lt_tmp_lt_search_path_spec $lt_sys_path/$lt_multi_os_dir"
9570 test -d "$lt_sys_path" && \
9571 lt_tmp_lt_search_path_spec="$lt_tmp_lt_search_path_spec $lt_sys_path"
9574 lt_search_path_spec=`$ECHO $lt_tmp_lt_search_path_spec | awk '
9575 BEGIN {RS=" "; FS="/|\n";} {
9578 for (lt_i = NF; lt_i > 0; lt_i--) {
9579 if ($lt_i != "" && $lt_i != ".") {
9580 if ($lt_i == "..") {
9583 if (lt_count == 0) {
9584 lt_foo="/" $lt_i lt_foo;
9591 if (lt_foo != "") { lt_freq[lt_foo]++; }
9592 if (lt_freq[lt_foo] == 1) { print lt_foo; }
9594 sys_lib_search_path_spec=`$ECHO $lt_search_path_spec`
9596 sys_lib_search_path_spec="/lib /usr/lib /usr/local/lib"
9599 libname_spec='lib$name'
9607 shlibpath_overrides_runpath=unknown
9609 dynamic_linker="$host_os ld.so"
9610 sys_lib_dlsearch_path_spec="/lib /usr/lib"
9611 need_lib_prefix=unknown
9612 hardcode_into_libs=no
9614 # when you set need_version to no, make sure it does not cause -set_version
9615 # flags to be left without arguments
9616 need_version=unknown
9621 library_names_spec='${libname}${release}${shared_ext}$versuffix $libname.a'
9622 shlibpath_var=LIBPATH
9624 # AIX 3 has no versioning support, so we append a major version to the name.
9625 soname_spec='${libname}${release}${shared_ext}$major'
9632 hardcode_into_libs=yes
9633 if test "$host_cpu" = ia64; then
9634 # AIX 5 supports IA64
9635 library_names_spec='${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext}$versuffix $libname${shared_ext}'
9636 shlibpath_var=LD_LIBRARY_PATH
9638 # With GCC up to 2.95.x, collect2 would create an import file
9639 # for dependence libraries. The import file would start with
9640 # the line `#! .'. This would cause the generated library to
9641 # depend on `.', always an invalid library. This was fixed in
9642 # development snapshots of GCC prior to 3.0.
9644 aix4 | aix4.[01] | aix4.[01].*)
9645 if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
9647 echo '#endif'; } | ${CC} -E - | $GREP yes > /dev/null; then
9654 # AIX (on Power*) has no versioning support, so currently we can not hardcode correct
9655 # soname into executable. Probably we can add versioning support to
9656 # collect2, so additional links can be useful in future.
9657 if test "$aix_use_runtimelinking" = yes; then
9658 # If using run time linking (on AIX 4.2 or later) use lib<name>.so
9659 # instead of lib<name>.a to let people know that these are not
9660 # typical AIX shared libraries.
9661 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
9663 # We preserve .a as extension for shared libraries through AIX4.2
9664 # and later when we are not doing run time linking.
9665 library_names_spec='${libname}${release}.a $libname.a'
9666 soname_spec='${libname}${release}${shared_ext}$major'
9668 shlibpath_var=LIBPATH
9675 # Since July 2007 AmigaOS4 officially supports .so libraries.
9676 # When compiling the executable, add -use-dynld -Lsobjs: to the compileline.
9677 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
9680 library_names_spec='$libname.ixlibrary $libname.a'
9681 # Create ${libname}_ixlibrary.a entries in /sys/libs.
9682 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'
9688 library_names_spec='${libname}${shared_ext}'
9689 dynamic_linker="$host_os ld.so"
9690 shlibpath_var=LIBRARY_PATH
9696 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
9697 soname_spec='${libname}${release}${shared_ext}$major'
9698 finish_cmds='PATH="\$PATH:/sbin" ldconfig $libdir'
9699 shlibpath_var=LD_LIBRARY_PATH
9700 sys_lib_search_path_spec="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
9701 sys_lib_dlsearch_path_spec="/shlib /usr/lib /usr/local/lib"
9702 # the default ld.so.conf also contains /usr/contrib/lib and
9703 # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
9704 # libtool to hard-code these into programs
9707 cygwin* | mingw* | pw32* | cegcc*)
9708 version_type=windows
9713 case $GCC,$host_os in
9714 yes,cygwin* | yes,mingw* | yes,pw32* | yes,cegcc*)
9715 library_names_spec='$libname.dll.a'
9716 # DLL is installed to $(libdir)/../bin by postinstall_cmds
9717 postinstall_cmds='base_file=`basename \${file}`~
9718 dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i; echo \$dlname'\''`~
9719 dldir=$destdir/`dirname \$dlpath`~
9720 test -d \$dldir || mkdir -p \$dldir~
9721 $install_prog $dir/$dlname \$dldir/$dlname~
9722 chmod a+x \$dldir/$dlname~
9723 if test -n '\''$stripme'\'' && test -n '\''$striplib'\''; then
9724 eval '\''$striplib \$dldir/$dlname'\'' || exit \$?;
9726 postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
9727 dlpath=$dir/\$dldll~
9729 shlibpath_overrides_runpath=yes
9733 # Cygwin DLLs use 'cyg' prefix rather than 'lib'
9734 soname_spec='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
9735 sys_lib_search_path_spec="/usr/lib /lib/w32api /lib /usr/local/lib"
9738 # MinGW DLLs use traditional 'lib' prefix
9739 soname_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
9740 sys_lib_search_path_spec=`$CC -print-search-dirs | $GREP "^libraries:" | $SED -e "s/^libraries://" -e "s,=/,/,g"`
9741 if $ECHO "$sys_lib_search_path_spec" | $GREP ';[c-zC-Z]:/' >/dev/null; then
9742 # It is most probably a Windows format PATH printed by
9743 # mingw gcc, but we are running on Cygwin. Gcc prints its search
9744 # path with ; separators, and with drive letters. We can handle the
9745 # drive letters (cygwin fileutils understands them), so leave them,
9746 # especially as we might pass files found there to a mingw objdump,
9747 # which wouldn't understand a cygwinified path. Ahh.
9748 sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
9750 sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
9754 # pw32 DLLs use 'pw' prefix rather than 'lib'
9755 library_names_spec='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
9761 library_names_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext} $libname.lib'
9764 dynamic_linker='Win32 ld.exe'
9765 # FIXME: first we should search . and the directory the executable is in
9769 darwin* | rhapsody*)
9770 dynamic_linker="$host_os dyld"
9774 library_names_spec='${libname}${release}${major}$shared_ext ${libname}$shared_ext'
9775 soname_spec='${libname}${release}${major}$shared_ext'
9776 shlibpath_overrides_runpath=yes
9777 shlibpath_var=DYLD_LIBRARY_PATH
9778 shrext_cmds='`test .$module = .yes && echo .so || echo .dylib`'
9780 sys_lib_search_path_spec="$sys_lib_search_path_spec /usr/local/lib"
9781 sys_lib_dlsearch_path_spec='/usr/local/lib /lib /usr/lib'
9788 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname$shared_ext'
9789 soname_spec='${libname}${release}${shared_ext}$major'
9790 shlibpath_var=LD_LIBRARY_PATH
9797 freebsd* | dragonfly*)
9798 # DragonFly does not have aout. When/if they implement a new
9799 # versioning mechanism, adjust this.
9800 if test -x /usr/bin/objformat; then
9801 objformat=`/usr/bin/objformat`
9804 freebsd[123]*) objformat=aout ;;
9808 version_type=freebsd-$objformat
9809 case $version_type in
9811 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
9816 library_names_spec='${libname}${release}${shared_ext}$versuffix $libname${shared_ext}$versuffix'
9820 shlibpath_var=LD_LIBRARY_PATH
9823 shlibpath_overrides_runpath=yes
9825 freebsd3.[01]* | freebsdelf3.[01]*)
9826 shlibpath_overrides_runpath=yes
9827 hardcode_into_libs=yes
9829 freebsd3.[2-9]* | freebsdelf3.[2-9]* | \
9830 freebsd4.[0-5] | freebsdelf4.[0-5] | freebsd4.1.1 | freebsdelf4.1.1)
9831 shlibpath_overrides_runpath=no
9832 hardcode_into_libs=yes
9834 *) # from 4.6 on, and DragonFly
9835 shlibpath_overrides_runpath=yes
9836 hardcode_into_libs=yes
9845 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
9846 soname_spec='${libname}${release}${shared_ext}$major'
9847 shlibpath_var=LD_LIBRARY_PATH
9848 hardcode_into_libs=yes
9851 hpux9* | hpux10* | hpux11*)
9852 # Give a soname corresponding to the major version so that dld.sl refuses to
9853 # link against other versions.
9860 hardcode_into_libs=yes
9861 dynamic_linker="$host_os dld.so"
9862 shlibpath_var=LD_LIBRARY_PATH
9863 shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
9864 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
9865 soname_spec='${libname}${release}${shared_ext}$major'
9866 if test "X$HPUX_IA64_MODE" = X32; then
9867 sys_lib_search_path_spec="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
9869 sys_lib_search_path_spec="/usr/lib/hpux64 /usr/local/lib/hpux64"
9871 sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
9875 hardcode_into_libs=yes
9876 dynamic_linker="$host_os dld.sl"
9877 shlibpath_var=LD_LIBRARY_PATH # How should we handle SHLIB_PATH
9878 shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
9879 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
9880 soname_spec='${libname}${release}${shared_ext}$major'
9881 sys_lib_search_path_spec="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
9882 sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
9886 dynamic_linker="$host_os dld.sl"
9887 shlibpath_var=SHLIB_PATH
9888 shlibpath_overrides_runpath=no # +s is required to enable SHLIB_PATH
9889 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
9890 soname_spec='${libname}${release}${shared_ext}$major'
9893 # HP-UX runs *really* slowly unless shared libraries are mode 555.
9894 postinstall_cmds='chmod 555 $lib'
9901 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
9902 soname_spec='${libname}${release}${shared_ext}$major'
9903 dynamic_linker='Interix 3.x ld.so.1 (PE, like ELF)'
9904 shlibpath_var=LD_LIBRARY_PATH
9905 shlibpath_overrides_runpath=no
9906 hardcode_into_libs=yes
9909 irix5* | irix6* | nonstopux*)
9911 nonstopux*) version_type=nonstopux ;;
9913 if test "$lt_cv_prog_gnu_ld" = yes; then
9921 soname_spec='${libname}${release}${shared_ext}$major'
9922 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} $libname${shared_ext}'
9924 irix5* | nonstopux*)
9928 case $LD in # libtool.m4 will add one of these switches to LD
9929 *-32|*"-32 "|*-melf32bsmip|*"-melf32bsmip ")
9930 libsuff= shlibsuff= libmagic=32-bit;;
9931 *-n32|*"-n32 "|*-melf32bmipn32|*"-melf32bmipn32 ")
9932 libsuff=32 shlibsuff=N32 libmagic=N32;;
9933 *-64|*"-64 "|*-melf64bmip|*"-melf64bmip ")
9934 libsuff=64 shlibsuff=64 libmagic=64-bit;;
9935 *) libsuff= shlibsuff= libmagic=never-match;;
9939 shlibpath_var=LD_LIBRARY${shlibsuff}_PATH
9940 shlibpath_overrides_runpath=no
9941 sys_lib_search_path_spec="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}"
9942 sys_lib_dlsearch_path_spec="/usr/lib${libsuff} /lib${libsuff}"
9943 hardcode_into_libs=yes
9946 # No shared lib support for Linux oldld, aout, or coff.
9947 linux*oldld* | linux*aout* | linux*coff*)
9951 # This must be Linux ELF.
9952 linux* | k*bsd*-gnu)
9956 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
9957 soname_spec='${libname}${release}${shared_ext}$major'
9958 finish_cmds='PATH="\$PATH:/sbin" ldconfig -n $libdir'
9959 shlibpath_var=LD_LIBRARY_PATH
9960 shlibpath_overrides_runpath=no
9961 # Some binutils ld are patched to set DT_RUNPATH
9962 save_LDFLAGS=$LDFLAGS
9964 eval "libdir=/foo; wl=\"$lt_prog_compiler_wl\"; \
9965 LDFLAGS=\"\$LDFLAGS $hardcode_libdir_flag_spec\""
9966 cat >conftest.$ac_ext <<_ACEOF
9969 cat confdefs.h >>conftest.$ac_ext
9970 cat >>conftest.$ac_ext <<_ACEOF
9971 /* end confdefs.h. */
9981 rm -f conftest.$ac_objext conftest$ac_exeext
9982 if { (ac_try="$ac_link"
9984 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
9985 *) ac_try_echo=$ac_try;;
9987 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
9988 $as_echo "$ac_try_echo") >&5
9989 (eval "$ac_link") 2>conftest.er1
9991 grep -v '^ *+' conftest.er1 >conftest.err
9993 cat conftest.err >&5
9994 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
9995 (exit $ac_status); } && {
9996 test -z "$ac_c_werror_flag" ||
9997 test ! -s conftest.err
9998 } && test -s conftest$ac_exeext && {
9999 test "$cross_compiling" = yes ||
10000 $as_test_x conftest$ac_exeext
10002 if ($OBJDUMP -p conftest$ac_exeext) 2>/dev/null | grep "RUNPATH.*$libdir" >/dev/null; then
10003 shlibpath_overrides_runpath=yes
10007 $as_echo "$as_me: failed program was:" >&5
10008 sed 's/^/| /' conftest.$ac_ext >&5
10013 rm -rf conftest.dSYM
10014 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
10015 conftest$ac_exeext conftest.$ac_ext
10016 LDFLAGS=$save_LDFLAGS
10017 libdir=$save_libdir
10019 # This implies no fast_install, which is unacceptable.
10020 # Some rework will be needed to allow for fast_install
10021 # before this can be enabled.
10022 hardcode_into_libs=yes
10024 # Append ld.so.conf contents to the search path
10025 if test -f /etc/ld.so.conf; then
10026 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' ' '`
10027 sys_lib_dlsearch_path_spec="/lib /usr/lib $lt_ld_extra"
10030 # We used to test for /lib/ld.so.1 and disable shared libraries on
10031 # powerpc, because MkLinux only supported shared libraries with the
10032 # GNU dynamic linker. Since this was broken with cross compilers,
10033 # most powerpc-linux boxes support dynamic linking these days and
10034 # people can always --disable-shared, the test was removed, and we
10035 # assume the GNU/Linux dynamic linker is in use.
10036 dynamic_linker='GNU/Linux ld.so'
10043 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
10044 soname_spec='${libname}${release}${shared_ext}$major'
10045 shlibpath_var=LD_LIBRARY_PATH
10046 shlibpath_overrides_runpath=no
10047 hardcode_into_libs=yes
10048 dynamic_linker='NetBSD ld.elf_so'
10055 if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
10056 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
10057 finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
10058 dynamic_linker='NetBSD (a.out) ld.so'
10060 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
10061 soname_spec='${libname}${release}${shared_ext}$major'
10062 dynamic_linker='NetBSD ld.elf_so'
10064 shlibpath_var=LD_LIBRARY_PATH
10065 shlibpath_overrides_runpath=yes
10066 hardcode_into_libs=yes
10071 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10072 shlibpath_var=LD_LIBRARY_PATH
10073 shlibpath_overrides_runpath=yes
10080 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10081 soname_spec='${libname}${release}${shared_ext}$major'
10082 shlibpath_var=LD_LIBRARY_PATH
10083 shlibpath_overrides_runpath=no
10084 hardcode_into_libs=yes
10085 dynamic_linker='ldqnx.so'
10090 sys_lib_dlsearch_path_spec="/usr/lib"
10092 # Some older versions of OpenBSD (3.3 at least) *do* need versioned libs.
10094 openbsd3.3 | openbsd3.3.*) need_version=yes ;;
10095 *) need_version=no ;;
10097 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
10098 finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
10099 shlibpath_var=LD_LIBRARY_PATH
10100 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
10102 openbsd2.[89] | openbsd2.[89].*)
10103 shlibpath_overrides_runpath=no
10106 shlibpath_overrides_runpath=yes
10110 shlibpath_overrides_runpath=yes
10115 libname_spec='$name'
10118 library_names_spec='$libname${shared_ext} $libname.a'
10119 dynamic_linker='OS/2 ld.exe'
10120 shlibpath_var=LIBPATH
10123 osf3* | osf4* | osf5*)
10127 soname_spec='${libname}${release}${shared_ext}$major'
10128 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10129 shlibpath_var=LD_LIBRARY_PATH
10130 sys_lib_search_path_spec="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
10131 sys_lib_dlsearch_path_spec="$sys_lib_search_path_spec"
10142 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10143 soname_spec='${libname}${release}${shared_ext}$major'
10144 shlibpath_var=LD_LIBRARY_PATH
10145 shlibpath_overrides_runpath=yes
10146 hardcode_into_libs=yes
10147 # ldd complains unless libraries are executable
10148 postinstall_cmds='chmod +x $lib'
10153 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
10154 finish_cmds='PATH="\$PATH:/usr/etc" ldconfig $libdir'
10155 shlibpath_var=LD_LIBRARY_PATH
10156 shlibpath_overrides_runpath=yes
10157 if test "$with_gnu_ld" = yes; then
10165 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10166 soname_spec='${libname}${release}${shared_ext}$major'
10167 shlibpath_var=LD_LIBRARY_PATH
10168 case $host_vendor in
10170 shlibpath_overrides_runpath=no
10172 runpath_var=LD_RUN_PATH
10180 shlibpath_overrides_runpath=no
10181 sys_lib_search_path_spec='/lib /usr/lib /usr/ccs/lib'
10187 if test -d /usr/nec ;then
10189 library_names_spec='$libname${shared_ext}.$versuffix $libname${shared_ext}.$major $libname${shared_ext}'
10190 soname_spec='$libname${shared_ext}.$major'
10191 shlibpath_var=LD_LIBRARY_PATH
10195 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
10196 version_type=freebsd-elf
10199 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
10200 soname_spec='${libname}${release}${shared_ext}$major'
10201 shlibpath_var=LD_LIBRARY_PATH
10202 shlibpath_overrides_runpath=yes
10203 hardcode_into_libs=yes
10204 if test "$with_gnu_ld" = yes; then
10205 sys_lib_search_path_spec='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib'
10207 sys_lib_search_path_spec='/usr/ccs/lib /usr/lib'
10210 sys_lib_search_path_spec="$sys_lib_search_path_spec /lib"
10214 sys_lib_dlsearch_path_spec='/usr/lib'
10218 # TPF is a cross-target only. Preferred cross-host = GNU/Linux.
10222 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10223 shlibpath_var=LD_LIBRARY_PATH
10224 shlibpath_overrides_runpath=no
10225 hardcode_into_libs=yes
10230 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10231 soname_spec='${libname}${release}${shared_ext}$major'
10232 shlibpath_var=LD_LIBRARY_PATH
10239 { $as_echo "$as_me:$LINENO: result: $dynamic_linker" >&5
10240 $as_echo "$dynamic_linker" >&6; }
10241 test "$dynamic_linker" = no && can_build_shared=no
10243 variables_saved_for_relink="PATH $shlibpath_var $runpath_var"
10244 if test "$GCC" = yes; then
10245 variables_saved_for_relink="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
10248 if test "${lt_cv_sys_lib_search_path_spec+set}" = set; then
10249 sys_lib_search_path_spec="$lt_cv_sys_lib_search_path_spec"
10251 if test "${lt_cv_sys_lib_dlsearch_path_spec+set}" = set; then
10252 sys_lib_dlsearch_path_spec="$lt_cv_sys_lib_dlsearch_path_spec"
10341 { $as_echo "$as_me:$LINENO: checking how to hardcode library paths into programs" >&5
10342 $as_echo_n "checking how to hardcode library paths into programs... " >&6; }
10344 if test -n "$hardcode_libdir_flag_spec" ||
10345 test -n "$runpath_var" ||
10346 test "X$hardcode_automatic" = "Xyes" ; then
10348 # We can hardcode non-existent directories.
10349 if test "$hardcode_direct" != no &&
10350 # If the only mechanism to avoid hardcoding is shlibpath_var, we
10351 # have to relink, otherwise we might link with an installed library
10352 # when we should be linking with a yet-to-be-installed one
10353 ## test "$_LT_TAGVAR(hardcode_shlibpath_var, )" != no &&
10354 test "$hardcode_minus_L" != no; then
10355 # Linking always hardcodes the temporary library directory.
10356 hardcode_action=relink
10358 # We can link without hardcoding, and we can hardcode nonexisting dirs.
10359 hardcode_action=immediate
10362 # We cannot hardcode anything, or else we can only hardcode existing
10364 hardcode_action=unsupported
10366 { $as_echo "$as_me:$LINENO: result: $hardcode_action" >&5
10367 $as_echo "$hardcode_action" >&6; }
10369 if test "$hardcode_action" = relink ||
10370 test "$inherit_rpath" = yes; then
10371 # Fast installation is not supported
10372 enable_fast_install=no
10373 elif test "$shlibpath_overrides_runpath" = yes ||
10374 test "$enable_shared" = no; then
10375 # Fast installation is not necessary
10376 enable_fast_install=needless
10384 if test "x$enable_dlopen" != xyes; then
10385 enable_dlopen=unknown
10386 enable_dlopen_self=unknown
10387 enable_dlopen_self_static=unknown
10394 lt_cv_dlopen="load_add_on"
10396 lt_cv_dlopen_self=yes
10399 mingw* | pw32* | cegcc*)
10400 lt_cv_dlopen="LoadLibrary"
10405 lt_cv_dlopen="dlopen"
10410 # if libdl is installed we need to link against it
10411 { $as_echo "$as_me:$LINENO: checking for dlopen in -ldl" >&5
10412 $as_echo_n "checking for dlopen in -ldl... " >&6; }
10413 if test "${ac_cv_lib_dl_dlopen+set}" = set; then
10414 $as_echo_n "(cached) " >&6
10416 ac_check_lib_save_LIBS=$LIBS
10418 cat >conftest.$ac_ext <<_ACEOF
10421 cat confdefs.h >>conftest.$ac_ext
10422 cat >>conftest.$ac_ext <<_ACEOF
10423 /* end confdefs.h. */
10425 /* Override any GCC internal prototype to avoid an error.
10426 Use char because int might match the return type of a GCC
10427 builtin and then its argument prototype would still apply. */
10440 rm -f conftest.$ac_objext conftest$ac_exeext
10441 if { (ac_try="$ac_link"
10442 case "(($ac_try" in
10443 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
10444 *) ac_try_echo=$ac_try;;
10446 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
10447 $as_echo "$ac_try_echo") >&5
10448 (eval "$ac_link") 2>conftest.er1
10450 grep -v '^ *+' conftest.er1 >conftest.err
10452 cat conftest.err >&5
10453 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
10454 (exit $ac_status); } && {
10455 test -z "$ac_c_werror_flag" ||
10456 test ! -s conftest.err
10457 } && test -s conftest$ac_exeext && {
10458 test "$cross_compiling" = yes ||
10459 $as_test_x conftest$ac_exeext
10461 ac_cv_lib_dl_dlopen=yes
10463 $as_echo "$as_me: failed program was:" >&5
10464 sed 's/^/| /' conftest.$ac_ext >&5
10466 ac_cv_lib_dl_dlopen=no
10469 rm -rf conftest.dSYM
10470 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
10471 conftest$ac_exeext conftest.$ac_ext
10472 LIBS=$ac_check_lib_save_LIBS
10474 { $as_echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dlopen" >&5
10475 $as_echo "$ac_cv_lib_dl_dlopen" >&6; }
10476 if test "x$ac_cv_lib_dl_dlopen" = x""yes; then
10477 lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl"
10480 lt_cv_dlopen="dyld"
10482 lt_cv_dlopen_self=yes
10489 { $as_echo "$as_me:$LINENO: checking for shl_load" >&5
10490 $as_echo_n "checking for shl_load... " >&6; }
10491 if test "${ac_cv_func_shl_load+set}" = set; then
10492 $as_echo_n "(cached) " >&6
10494 cat >conftest.$ac_ext <<_ACEOF
10497 cat confdefs.h >>conftest.$ac_ext
10498 cat >>conftest.$ac_ext <<_ACEOF
10499 /* end confdefs.h. */
10500 /* Define shl_load to an innocuous variant, in case <limits.h> declares shl_load.
10501 For example, HP-UX 11i <limits.h> declares gettimeofday. */
10502 #define shl_load innocuous_shl_load
10504 /* System header to define __stub macros and hopefully few prototypes,
10505 which can conflict with char shl_load (); below.
10506 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
10507 <limits.h> exists even on freestanding compilers. */
10510 # include <limits.h>
10512 # include <assert.h>
10517 /* Override any GCC internal prototype to avoid an error.
10518 Use char because int might match the return type of a GCC
10519 builtin and then its argument prototype would still apply. */
10524 /* The GNU C library defines this for functions which it implements
10525 to always fail with ENOSYS. Some functions are actually named
10526 something starting with __ and the normal name is an alias. */
10527 #if defined __stub_shl_load || defined __stub___shl_load
10534 return shl_load ();
10539 rm -f conftest.$ac_objext conftest$ac_exeext
10540 if { (ac_try="$ac_link"
10541 case "(($ac_try" in
10542 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
10543 *) ac_try_echo=$ac_try;;
10545 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
10546 $as_echo "$ac_try_echo") >&5
10547 (eval "$ac_link") 2>conftest.er1
10549 grep -v '^ *+' conftest.er1 >conftest.err
10551 cat conftest.err >&5
10552 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
10553 (exit $ac_status); } && {
10554 test -z "$ac_c_werror_flag" ||
10555 test ! -s conftest.err
10556 } && test -s conftest$ac_exeext && {
10557 test "$cross_compiling" = yes ||
10558 $as_test_x conftest$ac_exeext
10560 ac_cv_func_shl_load=yes
10562 $as_echo "$as_me: failed program was:" >&5
10563 sed 's/^/| /' conftest.$ac_ext >&5
10565 ac_cv_func_shl_load=no
10568 rm -rf conftest.dSYM
10569 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
10570 conftest$ac_exeext conftest.$ac_ext
10572 { $as_echo "$as_me:$LINENO: result: $ac_cv_func_shl_load" >&5
10573 $as_echo "$ac_cv_func_shl_load" >&6; }
10574 if test "x$ac_cv_func_shl_load" = x""yes; then
10575 lt_cv_dlopen="shl_load"
10577 { $as_echo "$as_me:$LINENO: checking for shl_load in -ldld" >&5
10578 $as_echo_n "checking for shl_load in -ldld... " >&6; }
10579 if test "${ac_cv_lib_dld_shl_load+set}" = set; then
10580 $as_echo_n "(cached) " >&6
10582 ac_check_lib_save_LIBS=$LIBS
10584 cat >conftest.$ac_ext <<_ACEOF
10587 cat confdefs.h >>conftest.$ac_ext
10588 cat >>conftest.$ac_ext <<_ACEOF
10589 /* end confdefs.h. */
10591 /* Override any GCC internal prototype to avoid an error.
10592 Use char because int might match the return type of a GCC
10593 builtin and then its argument prototype would still apply. */
10601 return shl_load ();
10606 rm -f conftest.$ac_objext conftest$ac_exeext
10607 if { (ac_try="$ac_link"
10608 case "(($ac_try" in
10609 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
10610 *) ac_try_echo=$ac_try;;
10612 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
10613 $as_echo "$ac_try_echo") >&5
10614 (eval "$ac_link") 2>conftest.er1
10616 grep -v '^ *+' conftest.er1 >conftest.err
10618 cat conftest.err >&5
10619 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
10620 (exit $ac_status); } && {
10621 test -z "$ac_c_werror_flag" ||
10622 test ! -s conftest.err
10623 } && test -s conftest$ac_exeext && {
10624 test "$cross_compiling" = yes ||
10625 $as_test_x conftest$ac_exeext
10627 ac_cv_lib_dld_shl_load=yes
10629 $as_echo "$as_me: failed program was:" >&5
10630 sed 's/^/| /' conftest.$ac_ext >&5
10632 ac_cv_lib_dld_shl_load=no
10635 rm -rf conftest.dSYM
10636 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
10637 conftest$ac_exeext conftest.$ac_ext
10638 LIBS=$ac_check_lib_save_LIBS
10640 { $as_echo "$as_me:$LINENO: result: $ac_cv_lib_dld_shl_load" >&5
10641 $as_echo "$ac_cv_lib_dld_shl_load" >&6; }
10642 if test "x$ac_cv_lib_dld_shl_load" = x""yes; then
10643 lt_cv_dlopen="shl_load" lt_cv_dlopen_libs="-ldld"
10645 { $as_echo "$as_me:$LINENO: checking for dlopen" >&5
10646 $as_echo_n "checking for dlopen... " >&6; }
10647 if test "${ac_cv_func_dlopen+set}" = set; then
10648 $as_echo_n "(cached) " >&6
10650 cat >conftest.$ac_ext <<_ACEOF
10653 cat confdefs.h >>conftest.$ac_ext
10654 cat >>conftest.$ac_ext <<_ACEOF
10655 /* end confdefs.h. */
10656 /* Define dlopen to an innocuous variant, in case <limits.h> declares dlopen.
10657 For example, HP-UX 11i <limits.h> declares gettimeofday. */
10658 #define dlopen innocuous_dlopen
10660 /* System header to define __stub macros and hopefully few prototypes,
10661 which can conflict with char dlopen (); below.
10662 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
10663 <limits.h> exists even on freestanding compilers. */
10666 # include <limits.h>
10668 # include <assert.h>
10673 /* Override any GCC internal prototype to avoid an error.
10674 Use char because int might match the return type of a GCC
10675 builtin and then its argument prototype would still apply. */
10680 /* The GNU C library defines this for functions which it implements
10681 to always fail with ENOSYS. Some functions are actually named
10682 something starting with __ and the normal name is an alias. */
10683 #if defined __stub_dlopen || defined __stub___dlopen
10695 rm -f conftest.$ac_objext conftest$ac_exeext
10696 if { (ac_try="$ac_link"
10697 case "(($ac_try" in
10698 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
10699 *) ac_try_echo=$ac_try;;
10701 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
10702 $as_echo "$ac_try_echo") >&5
10703 (eval "$ac_link") 2>conftest.er1
10705 grep -v '^ *+' conftest.er1 >conftest.err
10707 cat conftest.err >&5
10708 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
10709 (exit $ac_status); } && {
10710 test -z "$ac_c_werror_flag" ||
10711 test ! -s conftest.err
10712 } && test -s conftest$ac_exeext && {
10713 test "$cross_compiling" = yes ||
10714 $as_test_x conftest$ac_exeext
10716 ac_cv_func_dlopen=yes
10718 $as_echo "$as_me: failed program was:" >&5
10719 sed 's/^/| /' conftest.$ac_ext >&5
10721 ac_cv_func_dlopen=no
10724 rm -rf conftest.dSYM
10725 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
10726 conftest$ac_exeext conftest.$ac_ext
10728 { $as_echo "$as_me:$LINENO: result: $ac_cv_func_dlopen" >&5
10729 $as_echo "$ac_cv_func_dlopen" >&6; }
10730 if test "x$ac_cv_func_dlopen" = x""yes; then
10731 lt_cv_dlopen="dlopen"
10733 { $as_echo "$as_me:$LINENO: checking for dlopen in -ldl" >&5
10734 $as_echo_n "checking for dlopen in -ldl... " >&6; }
10735 if test "${ac_cv_lib_dl_dlopen+set}" = set; then
10736 $as_echo_n "(cached) " >&6
10738 ac_check_lib_save_LIBS=$LIBS
10740 cat >conftest.$ac_ext <<_ACEOF
10743 cat confdefs.h >>conftest.$ac_ext
10744 cat >>conftest.$ac_ext <<_ACEOF
10745 /* end confdefs.h. */
10747 /* Override any GCC internal prototype to avoid an error.
10748 Use char because int might match the return type of a GCC
10749 builtin and then its argument prototype would still apply. */
10762 rm -f conftest.$ac_objext conftest$ac_exeext
10763 if { (ac_try="$ac_link"
10764 case "(($ac_try" in
10765 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
10766 *) ac_try_echo=$ac_try;;
10768 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
10769 $as_echo "$ac_try_echo") >&5
10770 (eval "$ac_link") 2>conftest.er1
10772 grep -v '^ *+' conftest.er1 >conftest.err
10774 cat conftest.err >&5
10775 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
10776 (exit $ac_status); } && {
10777 test -z "$ac_c_werror_flag" ||
10778 test ! -s conftest.err
10779 } && test -s conftest$ac_exeext && {
10780 test "$cross_compiling" = yes ||
10781 $as_test_x conftest$ac_exeext
10783 ac_cv_lib_dl_dlopen=yes
10785 $as_echo "$as_me: failed program was:" >&5
10786 sed 's/^/| /' conftest.$ac_ext >&5
10788 ac_cv_lib_dl_dlopen=no
10791 rm -rf conftest.dSYM
10792 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
10793 conftest$ac_exeext conftest.$ac_ext
10794 LIBS=$ac_check_lib_save_LIBS
10796 { $as_echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dlopen" >&5
10797 $as_echo "$ac_cv_lib_dl_dlopen" >&6; }
10798 if test "x$ac_cv_lib_dl_dlopen" = x""yes; then
10799 lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl"
10801 { $as_echo "$as_me:$LINENO: checking for dlopen in -lsvld" >&5
10802 $as_echo_n "checking for dlopen in -lsvld... " >&6; }
10803 if test "${ac_cv_lib_svld_dlopen+set}" = set; then
10804 $as_echo_n "(cached) " >&6
10806 ac_check_lib_save_LIBS=$LIBS
10807 LIBS="-lsvld $LIBS"
10808 cat >conftest.$ac_ext <<_ACEOF
10811 cat confdefs.h >>conftest.$ac_ext
10812 cat >>conftest.$ac_ext <<_ACEOF
10813 /* end confdefs.h. */
10815 /* Override any GCC internal prototype to avoid an error.
10816 Use char because int might match the return type of a GCC
10817 builtin and then its argument prototype would still apply. */
10830 rm -f conftest.$ac_objext conftest$ac_exeext
10831 if { (ac_try="$ac_link"
10832 case "(($ac_try" in
10833 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
10834 *) ac_try_echo=$ac_try;;
10836 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
10837 $as_echo "$ac_try_echo") >&5
10838 (eval "$ac_link") 2>conftest.er1
10840 grep -v '^ *+' conftest.er1 >conftest.err
10842 cat conftest.err >&5
10843 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
10844 (exit $ac_status); } && {
10845 test -z "$ac_c_werror_flag" ||
10846 test ! -s conftest.err
10847 } && test -s conftest$ac_exeext && {
10848 test "$cross_compiling" = yes ||
10849 $as_test_x conftest$ac_exeext
10851 ac_cv_lib_svld_dlopen=yes
10853 $as_echo "$as_me: failed program was:" >&5
10854 sed 's/^/| /' conftest.$ac_ext >&5
10856 ac_cv_lib_svld_dlopen=no
10859 rm -rf conftest.dSYM
10860 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
10861 conftest$ac_exeext conftest.$ac_ext
10862 LIBS=$ac_check_lib_save_LIBS
10864 { $as_echo "$as_me:$LINENO: result: $ac_cv_lib_svld_dlopen" >&5
10865 $as_echo "$ac_cv_lib_svld_dlopen" >&6; }
10866 if test "x$ac_cv_lib_svld_dlopen" = x""yes; then
10867 lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-lsvld"
10869 { $as_echo "$as_me:$LINENO: checking for dld_link in -ldld" >&5
10870 $as_echo_n "checking for dld_link in -ldld... " >&6; }
10871 if test "${ac_cv_lib_dld_dld_link+set}" = set; then
10872 $as_echo_n "(cached) " >&6
10874 ac_check_lib_save_LIBS=$LIBS
10876 cat >conftest.$ac_ext <<_ACEOF
10879 cat confdefs.h >>conftest.$ac_ext
10880 cat >>conftest.$ac_ext <<_ACEOF
10881 /* end confdefs.h. */
10883 /* Override any GCC internal prototype to avoid an error.
10884 Use char because int might match the return type of a GCC
10885 builtin and then its argument prototype would still apply. */
10893 return dld_link ();
10898 rm -f conftest.$ac_objext conftest$ac_exeext
10899 if { (ac_try="$ac_link"
10900 case "(($ac_try" in
10901 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
10902 *) ac_try_echo=$ac_try;;
10904 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
10905 $as_echo "$ac_try_echo") >&5
10906 (eval "$ac_link") 2>conftest.er1
10908 grep -v '^ *+' conftest.er1 >conftest.err
10910 cat conftest.err >&5
10911 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
10912 (exit $ac_status); } && {
10913 test -z "$ac_c_werror_flag" ||
10914 test ! -s conftest.err
10915 } && test -s conftest$ac_exeext && {
10916 test "$cross_compiling" = yes ||
10917 $as_test_x conftest$ac_exeext
10919 ac_cv_lib_dld_dld_link=yes
10921 $as_echo "$as_me: failed program was:" >&5
10922 sed 's/^/| /' conftest.$ac_ext >&5
10924 ac_cv_lib_dld_dld_link=no
10927 rm -rf conftest.dSYM
10928 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
10929 conftest$ac_exeext conftest.$ac_ext
10930 LIBS=$ac_check_lib_save_LIBS
10932 { $as_echo "$as_me:$LINENO: result: $ac_cv_lib_dld_dld_link" >&5
10933 $as_echo "$ac_cv_lib_dld_dld_link" >&6; }
10934 if test "x$ac_cv_lib_dld_dld_link" = x""yes; then
10935 lt_cv_dlopen="dld_link" lt_cv_dlopen_libs="-ldld"
10956 if test "x$lt_cv_dlopen" != xno; then
10962 case $lt_cv_dlopen in
10964 save_CPPFLAGS="$CPPFLAGS"
10965 test "x$ac_cv_header_dlfcn_h" = xyes && CPPFLAGS="$CPPFLAGS -DHAVE_DLFCN_H"
10967 save_LDFLAGS="$LDFLAGS"
10968 wl=$lt_prog_compiler_wl eval LDFLAGS=\"\$LDFLAGS $export_dynamic_flag_spec\"
10971 LIBS="$lt_cv_dlopen_libs $LIBS"
10973 { $as_echo "$as_me:$LINENO: checking whether a program can dlopen itself" >&5
10974 $as_echo_n "checking whether a program can dlopen itself... " >&6; }
10975 if test "${lt_cv_dlopen_self+set}" = set; then
10976 $as_echo_n "(cached) " >&6
10978 if test "$cross_compiling" = yes; then :
10979 lt_cv_dlopen_self=cross
10981 lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
10982 lt_status=$lt_dlunknown
10983 cat > conftest.$ac_ext <<_LT_EOF
10984 #line 10984 "configure"
10985 #include "confdefs.h"
10994 # define LT_DLGLOBAL RTLD_GLOBAL
10997 # define LT_DLGLOBAL DL_GLOBAL
10999 # define LT_DLGLOBAL 0
11003 /* We may have to define LT_DLLAZY_OR_NOW in the command line if we
11004 find out it does not work in some platform. */
11005 #ifndef LT_DLLAZY_OR_NOW
11007 # define LT_DLLAZY_OR_NOW RTLD_LAZY
11010 # define LT_DLLAZY_OR_NOW DL_LAZY
11013 # define LT_DLLAZY_OR_NOW RTLD_NOW
11016 # define LT_DLLAZY_OR_NOW DL_NOW
11018 # define LT_DLLAZY_OR_NOW 0
11025 void fnord() { int i=42;}
11028 void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
11029 int status = $lt_dlunknown;
11033 if (dlsym (self,"fnord")) status = $lt_dlno_uscore;
11034 else if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
11035 /* dlclose (self); */
11043 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
11044 (eval $ac_link) 2>&5
11046 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
11047 (exit $ac_status); } && test -s conftest${ac_exeext} 2>/dev/null; then
11048 (./conftest; exit; ) >&5 2>/dev/null
11050 case x$lt_status in
11051 x$lt_dlno_uscore) lt_cv_dlopen_self=yes ;;
11052 x$lt_dlneed_uscore) lt_cv_dlopen_self=yes ;;
11053 x$lt_dlunknown|x*) lt_cv_dlopen_self=no ;;
11056 # compilation failed
11057 lt_cv_dlopen_self=no
11064 { $as_echo "$as_me:$LINENO: result: $lt_cv_dlopen_self" >&5
11065 $as_echo "$lt_cv_dlopen_self" >&6; }
11067 if test "x$lt_cv_dlopen_self" = xyes; then
11068 wl=$lt_prog_compiler_wl eval LDFLAGS=\"\$LDFLAGS $lt_prog_compiler_static\"
11069 { $as_echo "$as_me:$LINENO: checking whether a statically linked program can dlopen itself" >&5
11070 $as_echo_n "checking whether a statically linked program can dlopen itself... " >&6; }
11071 if test "${lt_cv_dlopen_self_static+set}" = set; then
11072 $as_echo_n "(cached) " >&6
11074 if test "$cross_compiling" = yes; then :
11075 lt_cv_dlopen_self_static=cross
11077 lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
11078 lt_status=$lt_dlunknown
11079 cat > conftest.$ac_ext <<_LT_EOF
11080 #line 11080 "configure"
11081 #include "confdefs.h"
11090 # define LT_DLGLOBAL RTLD_GLOBAL
11093 # define LT_DLGLOBAL DL_GLOBAL
11095 # define LT_DLGLOBAL 0
11099 /* We may have to define LT_DLLAZY_OR_NOW in the command line if we
11100 find out it does not work in some platform. */
11101 #ifndef LT_DLLAZY_OR_NOW
11103 # define LT_DLLAZY_OR_NOW RTLD_LAZY
11106 # define LT_DLLAZY_OR_NOW DL_LAZY
11109 # define LT_DLLAZY_OR_NOW RTLD_NOW
11112 # define LT_DLLAZY_OR_NOW DL_NOW
11114 # define LT_DLLAZY_OR_NOW 0
11121 void fnord() { int i=42;}
11124 void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
11125 int status = $lt_dlunknown;
11129 if (dlsym (self,"fnord")) status = $lt_dlno_uscore;
11130 else if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
11131 /* dlclose (self); */
11139 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
11140 (eval $ac_link) 2>&5
11142 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
11143 (exit $ac_status); } && test -s conftest${ac_exeext} 2>/dev/null; then
11144 (./conftest; exit; ) >&5 2>/dev/null
11146 case x$lt_status in
11147 x$lt_dlno_uscore) lt_cv_dlopen_self_static=yes ;;
11148 x$lt_dlneed_uscore) lt_cv_dlopen_self_static=yes ;;
11149 x$lt_dlunknown|x*) lt_cv_dlopen_self_static=no ;;
11152 # compilation failed
11153 lt_cv_dlopen_self_static=no
11160 { $as_echo "$as_me:$LINENO: result: $lt_cv_dlopen_self_static" >&5
11161 $as_echo "$lt_cv_dlopen_self_static" >&6; }
11164 CPPFLAGS="$save_CPPFLAGS"
11165 LDFLAGS="$save_LDFLAGS"
11170 case $lt_cv_dlopen_self in
11171 yes|no) enable_dlopen_self=$lt_cv_dlopen_self ;;
11172 *) enable_dlopen_self=unknown ;;
11175 case $lt_cv_dlopen_self_static in
11176 yes|no) enable_dlopen_self_static=$lt_cv_dlopen_self_static ;;
11177 *) enable_dlopen_self_static=unknown ;;
11199 { $as_echo "$as_me:$LINENO: checking whether stripping libraries is possible" >&5
11200 $as_echo_n "checking whether stripping libraries is possible... " >&6; }
11201 if test -n "$STRIP" && $STRIP -V 2>&1 | $GREP "GNU strip" >/dev/null; then
11202 test -z "$old_striplib" && old_striplib="$STRIP --strip-debug"
11203 test -z "$striplib" && striplib="$STRIP --strip-unneeded"
11204 { $as_echo "$as_me:$LINENO: result: yes" >&5
11205 $as_echo "yes" >&6; }
11207 # FIXME - insert some real tests, host_os isn't really good enough
11210 if test -n "$STRIP" ; then
11211 striplib="$STRIP -x"
11212 old_striplib="$STRIP -S"
11213 { $as_echo "$as_me:$LINENO: result: yes" >&5
11214 $as_echo "yes" >&6; }
11216 { $as_echo "$as_me:$LINENO: result: no" >&5
11217 $as_echo "no" >&6; }
11221 { $as_echo "$as_me:$LINENO: result: no" >&5
11222 $as_echo "no" >&6; }
11238 # Report which library types will actually be built
11239 { $as_echo "$as_me:$LINENO: checking if libtool supports shared libraries" >&5
11240 $as_echo_n "checking if libtool supports shared libraries... " >&6; }
11241 { $as_echo "$as_me:$LINENO: result: $can_build_shared" >&5
11242 $as_echo "$can_build_shared" >&6; }
11244 { $as_echo "$as_me:$LINENO: checking whether to build shared libraries" >&5
11245 $as_echo_n "checking whether to build shared libraries... " >&6; }
11246 test "$can_build_shared" = "no" && enable_shared=no
11248 # On AIX, shared libraries and static libraries use the same namespace, and
11249 # are all built from PIC.
11252 test "$enable_shared" = yes && enable_static=no
11253 if test -n "$RANLIB"; then
11254 archive_cmds="$archive_cmds~\$RANLIB \$lib"
11255 postinstall_cmds='$RANLIB $lib'
11260 if test "$host_cpu" != ia64 && test "$aix_use_runtimelinking" = no ; then
11261 test "$enable_shared" = yes && enable_static=no
11265 { $as_echo "$as_me:$LINENO: result: $enable_shared" >&5
11266 $as_echo "$enable_shared" >&6; }
11268 { $as_echo "$as_me:$LINENO: checking whether to build static libraries" >&5
11269 $as_echo_n "checking whether to build static libraries... " >&6; }
11270 # Make sure either enable_shared or enable_static is yes.
11271 test "$enable_shared" = yes || enable_static=yes
11272 { $as_echo "$as_me:$LINENO: result: $enable_static" >&5
11273 $as_echo "$enable_static" >&6; }
11280 ac_cpp='$CPP $CPPFLAGS'
11281 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
11282 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
11283 ac_compiler_gnu=$ac_cv_c_compiler_gnu
11299 ac_config_commands="$ac_config_commands libtool"
11304 # Only expand once:
11307 # Find a good install program. We prefer a C program (faster),
11308 # so one script is as good as another. But avoid the broken or
11309 # incompatible versions:
11310 # SysV /etc/install, /usr/sbin/install
11311 # SunOS /usr/etc/install
11312 # IRIX /sbin/install
11314 # AmigaOS /C/install, which installs bootblocks on floppy discs
11315 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
11316 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
11317 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
11318 # OS/2's system install, which has a completely different semantic
11319 # ./install, which can be erroneously created by make from ./install.sh.
11320 # Reject install programs that cannot install multiple files.
11321 { $as_echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
11322 $as_echo_n "checking for a BSD-compatible install... " >&6; }
11323 if test -z "$INSTALL"; then
11324 if test "${ac_cv_path_install+set}" = set; then
11325 $as_echo_n "(cached) " >&6
11327 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11328 for as_dir in $PATH
11331 test -z "$as_dir" && as_dir=.
11332 # Account for people who put trailing slashes in PATH elements.
11334 ./ | .// | /cC/* | \
11335 /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
11336 ?:\\/os2\\/install\\/* | ?:\\/OS2\\/INSTALL\\/* | \
11339 # OSF1 and SCO ODT 3.0 have their own names for install.
11340 # Don't use installbsd from OSF since it installs stuff as root
11342 for ac_prog in ginstall scoinst install; do
11343 for ac_exec_ext in '' $ac_executable_extensions; do
11344 if { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; }; then
11345 if test $ac_prog = install &&
11346 grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
11347 # AIX install. It has an incompatible calling convention.
11349 elif test $ac_prog = install &&
11350 grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
11351 # program-specific install script used by HP pwplus--don't use.
11354 rm -rf conftest.one conftest.two conftest.dir
11355 echo one > conftest.one
11356 echo two > conftest.two
11358 if "$as_dir/$ac_prog$ac_exec_ext" -c conftest.one conftest.two "`pwd`/conftest.dir" &&
11359 test -s conftest.one && test -s conftest.two &&
11360 test -s conftest.dir/conftest.one &&
11361 test -s conftest.dir/conftest.two
11363 ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
11376 rm -rf conftest.one conftest.two conftest.dir
11379 if test "${ac_cv_path_install+set}" = set; then
11380 INSTALL=$ac_cv_path_install
11382 # As a last resort, use the slow shell script. Don't cache a
11383 # value for INSTALL within a source directory, because that will
11384 # break other packages using the cache if that directory is
11385 # removed, or if the value is a relative name.
11386 INSTALL=$ac_install_sh
11389 { $as_echo "$as_me:$LINENO: result: $INSTALL" >&5
11390 $as_echo "$INSTALL" >&6; }
11392 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
11393 # It thinks the first close brace ends the variable substitution.
11394 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
11396 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
11398 test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
11400 { $as_echo "$as_me:$LINENO: checking for ANSI C header files" >&5
11401 $as_echo_n "checking for ANSI C header files... " >&6; }
11402 if test "${ac_cv_header_stdc+set}" = set; then
11403 $as_echo_n "(cached) " >&6
11405 cat >conftest.$ac_ext <<_ACEOF
11408 cat confdefs.h >>conftest.$ac_ext
11409 cat >>conftest.$ac_ext <<_ACEOF
11410 /* end confdefs.h. */
11411 #include <stdlib.h>
11412 #include <stdarg.h>
11413 #include <string.h>
11424 rm -f conftest.$ac_objext
11425 if { (ac_try="$ac_compile"
11426 case "(($ac_try" in
11427 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
11428 *) ac_try_echo=$ac_try;;
11430 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
11431 $as_echo "$ac_try_echo") >&5
11432 (eval "$ac_compile") 2>conftest.er1
11434 grep -v '^ *+' conftest.er1 >conftest.err
11436 cat conftest.err >&5
11437 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
11438 (exit $ac_status); } && {
11439 test -z "$ac_c_werror_flag" ||
11440 test ! -s conftest.err
11441 } && test -s conftest.$ac_objext; then
11442 ac_cv_header_stdc=yes
11444 $as_echo "$as_me: failed program was:" >&5
11445 sed 's/^/| /' conftest.$ac_ext >&5
11447 ac_cv_header_stdc=no
11450 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
11452 if test $ac_cv_header_stdc = yes; then
11453 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
11454 cat >conftest.$ac_ext <<_ACEOF
11457 cat confdefs.h >>conftest.$ac_ext
11458 cat >>conftest.$ac_ext <<_ACEOF
11459 /* end confdefs.h. */
11460 #include <string.h>
11463 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
11464 $EGREP "memchr" >/dev/null 2>&1; then
11467 ac_cv_header_stdc=no
11473 if test $ac_cv_header_stdc = yes; then
11474 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
11475 cat >conftest.$ac_ext <<_ACEOF
11478 cat confdefs.h >>conftest.$ac_ext
11479 cat >>conftest.$ac_ext <<_ACEOF
11480 /* end confdefs.h. */
11481 #include <stdlib.h>
11484 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
11485 $EGREP "free" >/dev/null 2>&1; then
11488 ac_cv_header_stdc=no
11494 if test $ac_cv_header_stdc = yes; then
11495 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
11496 if test "$cross_compiling" = yes; then
11499 cat >conftest.$ac_ext <<_ACEOF
11502 cat confdefs.h >>conftest.$ac_ext
11503 cat >>conftest.$ac_ext <<_ACEOF
11504 /* end confdefs.h. */
11506 #include <stdlib.h>
11507 #if ((' ' & 0x0FF) == 0x020)
11508 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
11509 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
11511 # define ISLOWER(c) \
11512 (('a' <= (c) && (c) <= 'i') \
11513 || ('j' <= (c) && (c) <= 'r') \
11514 || ('s' <= (c) && (c) <= 'z'))
11515 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
11518 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
11523 for (i = 0; i < 256; i++)
11524 if (XOR (islower (i), ISLOWER (i))
11525 || toupper (i) != TOUPPER (i))
11530 rm -f conftest$ac_exeext
11531 if { (ac_try="$ac_link"
11532 case "(($ac_try" in
11533 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
11534 *) ac_try_echo=$ac_try;;
11536 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
11537 $as_echo "$ac_try_echo") >&5
11538 (eval "$ac_link") 2>&5
11540 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
11541 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
11542 { (case "(($ac_try" in
11543 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
11544 *) ac_try_echo=$ac_try;;
11546 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
11547 $as_echo "$ac_try_echo") >&5
11548 (eval "$ac_try") 2>&5
11550 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
11551 (exit $ac_status); }; }; then
11554 $as_echo "$as_me: program exited with status $ac_status" >&5
11555 $as_echo "$as_me: failed program was:" >&5
11556 sed 's/^/| /' conftest.$ac_ext >&5
11558 ( exit $ac_status )
11559 ac_cv_header_stdc=no
11561 rm -rf conftest.dSYM
11562 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
11568 { $as_echo "$as_me:$LINENO: result: $ac_cv_header_stdc" >&5
11569 $as_echo "$ac_cv_header_stdc" >&6; }
11570 if test $ac_cv_header_stdc = yes; then
11572 cat >>confdefs.h <<\_ACEOF
11573 #define STDC_HEADERS 1
11578 # By default we simply use the C compiler to build assembly code.
11580 test "${CCAS+set}" = set || CCAS=$CC
11581 test "${CCASFLAGS+set}" = set || CCASFLAGS=$CFLAGS
11585 depcc="$CCAS" am_compiler_list=
11587 { $as_echo "$as_me:$LINENO: checking dependency style of $depcc" >&5
11588 $as_echo_n "checking dependency style of $depcc... " >&6; }
11589 if test "${am_cv_CCAS_dependencies_compiler_type+set}" = set; then
11590 $as_echo_n "(cached) " >&6
11592 if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
11593 # We make a subdir and do the tests there. Otherwise we can end up
11594 # making bogus files that we don't know about and never remove. For
11595 # instance it was reported that on HP-UX the gcc test will end up
11596 # making a dummy file named `D' -- because `-MD' means `put the output
11599 # Copy depcomp to subdir because otherwise we won't find it if we're
11600 # using a relative directory.
11601 cp "$am_depcomp" conftest.dir
11603 # We will build objects and dependencies in a subdirectory because
11604 # it helps to detect inapplicable dependency modes. For instance
11605 # both Tru64's cc and ICC support -MD to output dependencies as a
11606 # side effect of compilation, but ICC will put the dependencies in
11607 # the current directory while Tru64 will put them in the object
11611 am_cv_CCAS_dependencies_compiler_type=none
11612 if test "$am_compiler_list" = ""; then
11613 am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
11615 for depmode in $am_compiler_list; do
11616 # Setup a source with many dependencies, because some compilers
11617 # like to wrap large dependency lists on column 80 (with \), and
11618 # we should not choose a depcomp mode which is confused by this.
11620 # We need to recreate these files for each test, as the compiler may
11621 # overwrite some of them when testing with obscure command lines.
11622 # This happens at least with the AIX C compiler.
11624 for i in 1 2 3 4 5 6; do
11625 echo '#include "conftst'$i'.h"' >> sub/conftest.c
11626 # Using `: > sub/conftst$i.h' creates only sub/conftst1.h with
11627 # Solaris 8's {/usr,}/bin/sh.
11628 touch sub/conftst$i.h
11630 echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
11634 # after this tag, mechanisms are not by side-effect, so they'll
11635 # only be used when explicitly requested
11636 if test "x$enable_dependency_tracking" = xyes; then
11644 # We check with `-c' and `-o' for the sake of the "dashmstdout"
11645 # mode. It turns out that the SunPro C++ compiler does not properly
11646 # handle `-M -o', and we need to detect this.
11647 if depmode=$depmode \
11648 source=sub/conftest.c object=sub/conftest.${OBJEXT-o} \
11649 depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
11650 $SHELL ./depcomp $depcc -c -o sub/conftest.${OBJEXT-o} sub/conftest.c \
11651 >/dev/null 2>conftest.err &&
11652 grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 &&
11653 grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
11654 grep sub/conftest.${OBJEXT-o} sub/conftest.Po > /dev/null 2>&1 &&
11655 ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
11656 # icc doesn't choke on unknown options, it will just issue warnings
11657 # or remarks (even with -Werror). So we grep stderr for any message
11658 # that says an option was ignored or not supported.
11659 # When given -MP, icc 7.0 and 7.1 complain thusly:
11660 # icc: Command line warning: ignoring option '-M'; no argument required
11661 # The diagnosis changed in icc 8.0:
11662 # icc: Command line remark: option '-MP' not supported
11663 if (grep 'ignoring option' conftest.err ||
11664 grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
11665 am_cv_CCAS_dependencies_compiler_type=$depmode
11672 rm -rf conftest.dir
11674 am_cv_CCAS_dependencies_compiler_type=none
11678 { $as_echo "$as_me:$LINENO: result: $am_cv_CCAS_dependencies_compiler_type" >&5
11679 $as_echo "$am_cv_CCAS_dependencies_compiler_type" >&6; }
11680 CCASDEPMODE=depmode=$am_cv_CCAS_dependencies_compiler_type
11683 test "x$enable_dependency_tracking" != xno \
11684 && test "$am_cv_CCAS_dependencies_compiler_type" = gcc3; then
11685 am__fastdepCCAS_TRUE=
11686 am__fastdepCCAS_FALSE='#'
11688 am__fastdepCCAS_TRUE='#'
11689 am__fastdepCCAS_FALSE=
11695 { $as_echo "$as_me:$LINENO: checking whether NLS is requested" >&5
11696 $as_echo_n "checking whether NLS is requested... " >&6; }
11697 # Check whether --enable-nls was given.
11698 if test "${enable_nls+set}" = set; then
11699 enableval=$enable_nls; USE_NLS=$enableval
11704 { $as_echo "$as_me:$LINENO: result: $USE_NLS" >&5
11705 $as_echo "$USE_NLS" >&6; }
11710 GETTEXT_MACRO_VERSION=0.17
11715 # Prepare PATH_SEPARATOR.
11716 # The user is always right.
11717 if test "${PATH_SEPARATOR+set}" != set; then
11718 echo "#! /bin/sh" >conf$$.sh
11719 echo "exit 0" >>conf$$.sh
11721 if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
11729 # Find out how to test for executable files. Don't use a zero-byte file,
11730 # as systems may use methods other than mode bits to determine executability.
11731 cat >conf$$.file <<_ASEOF
11735 chmod +x conf$$.file
11736 if test -x conf$$.file >/dev/null 2>&1; then
11737 ac_executable_p="test -x"
11739 ac_executable_p="test -f"
11743 # Extract the first word of "msgfmt", so it can be a program name with args.
11744 set dummy msgfmt; ac_word=$2
11745 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
11746 $as_echo_n "checking for $ac_word... " >&6; }
11747 if test "${ac_cv_path_MSGFMT+set}" = set; then
11748 $as_echo_n "(cached) " >&6
11752 ac_cv_path_MSGFMT="$MSGFMT" # Let the user override the test with a path.
11755 ac_save_IFS="$IFS"; IFS=$PATH_SEPARATOR
11756 for ac_dir in $PATH; do
11758 test -z "$ac_dir" && ac_dir=.
11759 for ac_exec_ext in '' $ac_executable_extensions; do
11760 if $ac_executable_p "$ac_dir/$ac_word$ac_exec_ext"; then
11761 echo "$as_me: trying $ac_dir/$ac_word..." >&5
11762 if $ac_dir/$ac_word --statistics /dev/null >&5 2>&1 &&
11763 (if $ac_dir/$ac_word --statistics /dev/null 2>&1 >/dev/null | grep usage >/dev/null; then exit 1; else exit 0; fi); then
11764 ac_cv_path_MSGFMT="$ac_dir/$ac_word$ac_exec_ext"
11771 test -z "$ac_cv_path_MSGFMT" && ac_cv_path_MSGFMT=":"
11775 MSGFMT="$ac_cv_path_MSGFMT"
11776 if test "$MSGFMT" != ":"; then
11777 { $as_echo "$as_me:$LINENO: result: $MSGFMT" >&5
11778 $as_echo "$MSGFMT" >&6; }
11780 { $as_echo "$as_me:$LINENO: result: no" >&5
11781 $as_echo "no" >&6; }
11784 # Extract the first word of "gmsgfmt", so it can be a program name with args.
11785 set dummy gmsgfmt; ac_word=$2
11786 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
11787 $as_echo_n "checking for $ac_word... " >&6; }
11788 if test "${ac_cv_path_GMSGFMT+set}" = set; then
11789 $as_echo_n "(cached) " >&6
11793 ac_cv_path_GMSGFMT="$GMSGFMT" # Let the user override the test with a path.
11796 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11797 for as_dir in $PATH
11800 test -z "$as_dir" && as_dir=.
11801 for ac_exec_ext in '' $ac_executable_extensions; do
11802 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
11803 ac_cv_path_GMSGFMT="$as_dir/$ac_word$ac_exec_ext"
11804 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
11811 test -z "$ac_cv_path_GMSGFMT" && ac_cv_path_GMSGFMT="$MSGFMT"
11815 GMSGFMT=$ac_cv_path_GMSGFMT
11816 if test -n "$GMSGFMT"; then
11817 { $as_echo "$as_me:$LINENO: result: $GMSGFMT" >&5
11818 $as_echo "$GMSGFMT" >&6; }
11820 { $as_echo "$as_me:$LINENO: result: no" >&5
11821 $as_echo "no" >&6; }
11826 case `$MSGFMT --version | sed 1q | sed -e 's,^[^0-9]*,,'` in
11827 '' | 0.[0-9] | 0.[0-9].* | 0.1[0-4] | 0.1[0-4].*) MSGFMT_015=: ;;
11828 *) MSGFMT_015=$MSGFMT ;;
11831 case `$GMSGFMT --version | sed 1q | sed -e 's,^[^0-9]*,,'` in
11832 '' | 0.[0-9] | 0.[0-9].* | 0.1[0-4] | 0.1[0-4].*) GMSGFMT_015=: ;;
11833 *) GMSGFMT_015=$GMSGFMT ;;
11838 # Prepare PATH_SEPARATOR.
11839 # The user is always right.
11840 if test "${PATH_SEPARATOR+set}" != set; then
11841 echo "#! /bin/sh" >conf$$.sh
11842 echo "exit 0" >>conf$$.sh
11844 if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
11852 # Find out how to test for executable files. Don't use a zero-byte file,
11853 # as systems may use methods other than mode bits to determine executability.
11854 cat >conf$$.file <<_ASEOF
11858 chmod +x conf$$.file
11859 if test -x conf$$.file >/dev/null 2>&1; then
11860 ac_executable_p="test -x"
11862 ac_executable_p="test -f"
11866 # Extract the first word of "xgettext", so it can be a program name with args.
11867 set dummy xgettext; ac_word=$2
11868 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
11869 $as_echo_n "checking for $ac_word... " >&6; }
11870 if test "${ac_cv_path_XGETTEXT+set}" = set; then
11871 $as_echo_n "(cached) " >&6
11873 case "$XGETTEXT" in
11875 ac_cv_path_XGETTEXT="$XGETTEXT" # Let the user override the test with a path.
11878 ac_save_IFS="$IFS"; IFS=$PATH_SEPARATOR
11879 for ac_dir in $PATH; do
11881 test -z "$ac_dir" && ac_dir=.
11882 for ac_exec_ext in '' $ac_executable_extensions; do
11883 if $ac_executable_p "$ac_dir/$ac_word$ac_exec_ext"; then
11884 echo "$as_me: trying $ac_dir/$ac_word..." >&5
11885 if $ac_dir/$ac_word --omit-header --copyright-holder= --msgid-bugs-address= /dev/null >&5 2>&1 &&
11886 (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
11887 ac_cv_path_XGETTEXT="$ac_dir/$ac_word$ac_exec_ext"
11894 test -z "$ac_cv_path_XGETTEXT" && ac_cv_path_XGETTEXT=":"
11898 XGETTEXT="$ac_cv_path_XGETTEXT"
11899 if test "$XGETTEXT" != ":"; then
11900 { $as_echo "$as_me:$LINENO: result: $XGETTEXT" >&5
11901 $as_echo "$XGETTEXT" >&6; }
11903 { $as_echo "$as_me:$LINENO: result: no" >&5
11904 $as_echo "no" >&6; }
11909 case `$XGETTEXT --version | sed 1q | sed -e 's,^[^0-9]*,,'` in
11910 '' | 0.[0-9] | 0.[0-9].* | 0.1[0-4] | 0.1[0-4].*) XGETTEXT_015=: ;;
11911 *) XGETTEXT_015=$XGETTEXT ;;
11916 # Prepare PATH_SEPARATOR.
11917 # The user is always right.
11918 if test "${PATH_SEPARATOR+set}" != set; then
11919 echo "#! /bin/sh" >conf$$.sh
11920 echo "exit 0" >>conf$$.sh
11922 if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
11930 # Find out how to test for executable files. Don't use a zero-byte file,
11931 # as systems may use methods other than mode bits to determine executability.
11932 cat >conf$$.file <<_ASEOF
11936 chmod +x conf$$.file
11937 if test -x conf$$.file >/dev/null 2>&1; then
11938 ac_executable_p="test -x"
11940 ac_executable_p="test -f"
11944 # Extract the first word of "msgmerge", so it can be a program name with args.
11945 set dummy msgmerge; ac_word=$2
11946 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
11947 $as_echo_n "checking for $ac_word... " >&6; }
11948 if test "${ac_cv_path_MSGMERGE+set}" = set; then
11949 $as_echo_n "(cached) " >&6
11951 case "$MSGMERGE" in
11953 ac_cv_path_MSGMERGE="$MSGMERGE" # Let the user override the test with a path.
11956 ac_save_IFS="$IFS"; IFS=$PATH_SEPARATOR
11957 for ac_dir in $PATH; do
11959 test -z "$ac_dir" && ac_dir=.
11960 for ac_exec_ext in '' $ac_executable_extensions; do
11961 if $ac_executable_p "$ac_dir/$ac_word$ac_exec_ext"; then
11962 echo "$as_me: trying $ac_dir/$ac_word..." >&5
11963 if $ac_dir/$ac_word --update -q /dev/null /dev/null >&5 2>&1; then
11964 ac_cv_path_MSGMERGE="$ac_dir/$ac_word$ac_exec_ext"
11971 test -z "$ac_cv_path_MSGMERGE" && ac_cv_path_MSGMERGE=":"
11975 MSGMERGE="$ac_cv_path_MSGMERGE"
11976 if test "$MSGMERGE" != ":"; then
11977 { $as_echo "$as_me:$LINENO: result: $MSGMERGE" >&5
11978 $as_echo "$MSGMERGE" >&6; }
11980 { $as_echo "$as_me:$LINENO: result: no" >&5
11981 $as_echo "no" >&6; }
11985 test -n "$localedir" || localedir='${datadir}/locale'
11988 test -n "${XGETTEXT_EXTRA_OPTIONS+set}" || XGETTEXT_EXTRA_OPTIONS=
11991 ac_config_commands="$ac_config_commands po-directories"
11995 if test "X$prefix" = "XNONE"; then
11996 acl_final_prefix="$ac_default_prefix"
11998 acl_final_prefix="$prefix"
12000 if test "X$exec_prefix" = "XNONE"; then
12001 acl_final_exec_prefix='${prefix}'
12003 acl_final_exec_prefix="$exec_prefix"
12005 acl_save_prefix="$prefix"
12006 prefix="$acl_final_prefix"
12007 eval acl_final_exec_prefix=\"$acl_final_exec_prefix\"
12008 prefix="$acl_save_prefix"
12011 # Check whether --with-gnu-ld was given.
12012 if test "${with_gnu_ld+set}" = set; then
12013 withval=$with_gnu_ld; test "$withval" = no || with_gnu_ld=yes
12018 # Prepare PATH_SEPARATOR.
12019 # The user is always right.
12020 if test "${PATH_SEPARATOR+set}" != set; then
12021 echo "#! /bin/sh" >conf$$.sh
12022 echo "exit 0" >>conf$$.sh
12024 if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
12032 if test "$GCC" = yes; then
12033 # Check if gcc -print-prog-name=ld gives a path.
12034 { $as_echo "$as_me:$LINENO: checking for ld used by GCC" >&5
12035 $as_echo_n "checking for ld used by GCC... " >&6; }
12038 # gcc leaves a trailing carriage return which upsets mingw
12039 ac_prog=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
12041 ac_prog=`($CC -print-prog-name=ld) 2>&5` ;;
12044 # Accept absolute paths.
12045 [\\/]* | [A-Za-z]:[\\/]*)
12046 re_direlt='/[^/][^/]*/\.\./'
12047 # Canonicalize the path of ld
12048 ac_prog=`echo $ac_prog| sed 's%\\\\%/%g'`
12049 while echo $ac_prog | grep "$re_direlt" > /dev/null 2>&1; do
12050 ac_prog=`echo $ac_prog| sed "s%$re_direlt%/%"`
12052 test -z "$LD" && LD="$ac_prog"
12055 # If it fails, then pretend we aren't using GCC.
12059 # If it is relative, then search for the first ld in PATH.
12060 with_gnu_ld=unknown
12063 elif test "$with_gnu_ld" = yes; then
12064 { $as_echo "$as_me:$LINENO: checking for GNU ld" >&5
12065 $as_echo_n "checking for GNU ld... " >&6; }
12067 { $as_echo "$as_me:$LINENO: checking for non-GNU ld" >&5
12068 $as_echo_n "checking for non-GNU ld... " >&6; }
12070 if test "${acl_cv_path_LD+set}" = set; then
12071 $as_echo_n "(cached) " >&6
12073 if test -z "$LD"; then
12074 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS="${IFS}${PATH_SEPARATOR-:}"
12075 for ac_dir in $PATH; do
12076 test -z "$ac_dir" && ac_dir=.
12077 if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then
12078 acl_cv_path_LD="$ac_dir/$ac_prog"
12079 # Check to see if the program is GNU ld. I'd rather use --version,
12080 # but apparently some GNU ld's only accept -v.
12081 # Break only if it was the GNU/non-GNU ld that we prefer.
12082 case `"$acl_cv_path_LD" -v 2>&1 < /dev/null` in
12083 *GNU* | *'with BFD'*)
12084 test "$with_gnu_ld" != no && break ;;
12086 test "$with_gnu_ld" != yes && break ;;
12092 acl_cv_path_LD="$LD" # Let the user override the test with a path.
12096 LD="$acl_cv_path_LD"
12097 if test -n "$LD"; then
12098 { $as_echo "$as_me:$LINENO: result: $LD" >&5
12099 $as_echo "$LD" >&6; }
12101 { $as_echo "$as_me:$LINENO: result: no" >&5
12102 $as_echo "no" >&6; }
12104 test -z "$LD" && { { $as_echo "$as_me:$LINENO: error: no acceptable ld found in \$PATH" >&5
12105 $as_echo "$as_me: error: no acceptable ld found in \$PATH" >&2;}
12106 { (exit 1); exit 1; }; }
12107 { $as_echo "$as_me:$LINENO: checking if the linker ($LD) is GNU ld" >&5
12108 $as_echo_n "checking if the linker ($LD) is GNU ld... " >&6; }
12109 if test "${acl_cv_prog_gnu_ld+set}" = set; then
12110 $as_echo_n "(cached) " >&6
12112 # I'd rather use --version here, but apparently some GNU ld's only accept -v.
12113 case `$LD -v 2>&1 </dev/null` in
12114 *GNU* | *'with BFD'*)
12115 acl_cv_prog_gnu_ld=yes ;;
12117 acl_cv_prog_gnu_ld=no ;;
12120 { $as_echo "$as_me:$LINENO: result: $acl_cv_prog_gnu_ld" >&5
12121 $as_echo "$acl_cv_prog_gnu_ld" >&6; }
12122 with_gnu_ld=$acl_cv_prog_gnu_ld
12127 { $as_echo "$as_me:$LINENO: checking for shared library run path origin" >&5
12128 $as_echo_n "checking for shared library run path origin... " >&6; }
12129 if test "${acl_cv_rpath+set}" = set; then
12130 $as_echo_n "(cached) " >&6
12133 CC="$CC" GCC="$GCC" LDFLAGS="$LDFLAGS" LD="$LD" with_gnu_ld="$with_gnu_ld" \
12134 ${CONFIG_SHELL-/bin/sh} "$ac_aux_dir/config.rpath" "$host" > conftest.sh
12136 rm -f ./conftest.sh
12140 { $as_echo "$as_me:$LINENO: result: $acl_cv_rpath" >&5
12141 $as_echo "$acl_cv_rpath" >&6; }
12143 acl_libext="$acl_cv_libext"
12144 acl_shlibext="$acl_cv_shlibext"
12145 acl_libname_spec="$acl_cv_libname_spec"
12146 acl_library_names_spec="$acl_cv_library_names_spec"
12147 acl_hardcode_libdir_flag_spec="$acl_cv_hardcode_libdir_flag_spec"
12148 acl_hardcode_libdir_separator="$acl_cv_hardcode_libdir_separator"
12149 acl_hardcode_direct="$acl_cv_hardcode_direct"
12150 acl_hardcode_minus_L="$acl_cv_hardcode_minus_L"
12151 # Check whether --enable-rpath was given.
12152 if test "${enable_rpath+set}" = set; then
12153 enableval=$enable_rpath; :
12161 searchpath=`(LC_ALL=C $CC -print-search-dirs) 2>/dev/null | sed -n -e 's,^libraries: ,,p' | sed -e 's,^=,,'`
12162 if test -n "$searchpath"; then
12163 acl_save_IFS="${IFS= }"; IFS=":"
12164 for searchdir in $searchpath; do
12165 if test -d "$searchdir"; then
12166 case "$searchdir" in
12167 */lib64/ | */lib64 ) acl_libdirstem=lib64 ;;
12168 *) searchdir=`cd "$searchdir" && pwd`
12169 case "$searchdir" in
12170 */lib64 ) acl_libdirstem=lib64 ;;
12175 IFS="$acl_save_IFS"
12188 acl_save_prefix="$prefix"
12189 prefix="$acl_final_prefix"
12190 acl_save_exec_prefix="$exec_prefix"
12191 exec_prefix="$acl_final_exec_prefix"
12193 eval additional_includedir=\"$includedir\"
12194 eval additional_libdir=\"$libdir\"
12196 exec_prefix="$acl_save_exec_prefix"
12197 prefix="$acl_save_prefix"
12200 # Check whether --with-libiconv-prefix was given.
12201 if test "${with_libiconv_prefix+set}" = set; then
12202 withval=$with_libiconv_prefix;
12203 if test "X$withval" = "Xno"; then
12206 if test "X$withval" = "X"; then
12208 acl_save_prefix="$prefix"
12209 prefix="$acl_final_prefix"
12210 acl_save_exec_prefix="$exec_prefix"
12211 exec_prefix="$acl_final_exec_prefix"
12213 eval additional_includedir=\"$includedir\"
12214 eval additional_libdir=\"$libdir\"
12216 exec_prefix="$acl_save_exec_prefix"
12217 prefix="$acl_save_prefix"
12220 additional_includedir="$withval/include"
12221 additional_libdir="$withval/$acl_libdirstem"
12233 names_already_handled=
12234 names_next_round='iconv '
12235 while test -n "$names_next_round"; do
12236 names_this_round="$names_next_round"
12238 for name in $names_this_round; do
12240 for n in $names_already_handled; do
12241 if test "$n" = "$name"; then
12242 already_handled=yes
12246 if test -z "$already_handled"; then
12247 names_already_handled="$names_already_handled $name"
12248 uppername=`echo "$name" | sed -e 'y|abcdefghijklmnopqrstuvwxyz./-|ABCDEFGHIJKLMNOPQRSTUVWXYZ___|'`
12249 eval value=\"\$HAVE_LIB$uppername\"
12250 if test -n "$value"; then
12251 if test "$value" = yes; then
12252 eval value=\"\$LIB$uppername\"
12253 test -z "$value" || LIBICONV="${LIBICONV}${LIBICONV:+ }$value"
12254 eval value=\"\$LTLIB$uppername\"
12255 test -z "$value" || LTLIBICONV="${LTLIBICONV}${LTLIBICONV:+ }$value"
12264 eval libname=\"$acl_libname_spec\" # typically: libname=lib$name
12265 if test -n "$acl_shlibext"; then
12266 shrext=".$acl_shlibext" # typically: shrext=.so
12270 if test $use_additional = yes; then
12271 dir="$additional_libdir"
12272 if test -n "$acl_shlibext"; then
12273 if test -f "$dir/$libname$shrext"; then
12275 found_so="$dir/$libname$shrext"
12277 if test "$acl_library_names_spec" = '$libname$shrext$versuffix'; then
12278 ver=`(cd "$dir" && \
12279 for f in "$libname$shrext".*; do echo "$f"; done \
12280 | sed -e "s,^$libname$shrext\\\\.,," \
12281 | sort -t '.' -n -r -k1,1 -k2,2 -k3,3 -k4,4 -k5,5 \
12282 | sed 1q ) 2>/dev/null`
12283 if test -n "$ver" && test -f "$dir/$libname$shrext.$ver"; then
12285 found_so="$dir/$libname$shrext.$ver"
12288 eval library_names=\"$acl_library_names_spec\"
12289 for f in $library_names; do
12290 if test -f "$dir/$f"; then
12299 if test "X$found_dir" = "X"; then
12300 if test -f "$dir/$libname.$acl_libext"; then
12302 found_a="$dir/$libname.$acl_libext"
12305 if test "X$found_dir" != "X"; then
12306 if test -f "$dir/$libname.la"; then
12307 found_la="$dir/$libname.la"
12311 if test "X$found_dir" = "X"; then
12312 for x in $LDFLAGS $LTLIBICONV; do
12314 acl_save_prefix="$prefix"
12315 prefix="$acl_final_prefix"
12316 acl_save_exec_prefix="$exec_prefix"
12317 exec_prefix="$acl_final_exec_prefix"
12319 exec_prefix="$acl_save_exec_prefix"
12320 prefix="$acl_save_prefix"
12324 dir=`echo "X$x" | sed -e 's/^X-L//'`
12325 if test -n "$acl_shlibext"; then
12326 if test -f "$dir/$libname$shrext"; then
12328 found_so="$dir/$libname$shrext"
12330 if test "$acl_library_names_spec" = '$libname$shrext$versuffix'; then
12331 ver=`(cd "$dir" && \
12332 for f in "$libname$shrext".*; do echo "$f"; done \
12333 | sed -e "s,^$libname$shrext\\\\.,," \
12334 | sort -t '.' -n -r -k1,1 -k2,2 -k3,3 -k4,4 -k5,5 \
12335 | sed 1q ) 2>/dev/null`
12336 if test -n "$ver" && test -f "$dir/$libname$shrext.$ver"; then
12338 found_so="$dir/$libname$shrext.$ver"
12341 eval library_names=\"$acl_library_names_spec\"
12342 for f in $library_names; do
12343 if test -f "$dir/$f"; then
12352 if test "X$found_dir" = "X"; then
12353 if test -f "$dir/$libname.$acl_libext"; then
12355 found_a="$dir/$libname.$acl_libext"
12358 if test "X$found_dir" != "X"; then
12359 if test -f "$dir/$libname.la"; then
12360 found_la="$dir/$libname.la"
12365 if test "X$found_dir" != "X"; then
12370 if test "X$found_dir" != "X"; then
12371 LTLIBICONV="${LTLIBICONV}${LTLIBICONV:+ }-L$found_dir -l$name"
12372 if test "X$found_so" != "X"; then
12373 if test "$enable_rpath" = no || test "X$found_dir" = "X/usr/$acl_libdirstem"; then
12374 LIBICONV="${LIBICONV}${LIBICONV:+ }$found_so"
12377 for x in $ltrpathdirs; do
12378 if test "X$x" = "X$found_dir"; then
12383 if test -z "$haveit"; then
12384 ltrpathdirs="$ltrpathdirs $found_dir"
12386 if test "$acl_hardcode_direct" = yes; then
12387 LIBICONV="${LIBICONV}${LIBICONV:+ }$found_so"
12389 if test -n "$acl_hardcode_libdir_flag_spec" && test "$acl_hardcode_minus_L" = no; then
12390 LIBICONV="${LIBICONV}${LIBICONV:+ }$found_so"
12392 for x in $rpathdirs; do
12393 if test "X$x" = "X$found_dir"; then
12398 if test -z "$haveit"; then
12399 rpathdirs="$rpathdirs $found_dir"
12403 for x in $LDFLAGS $LIBICONV; do
12405 acl_save_prefix="$prefix"
12406 prefix="$acl_final_prefix"
12407 acl_save_exec_prefix="$exec_prefix"
12408 exec_prefix="$acl_final_exec_prefix"
12410 exec_prefix="$acl_save_exec_prefix"
12411 prefix="$acl_save_prefix"
12413 if test "X$x" = "X-L$found_dir"; then
12418 if test -z "$haveit"; then
12419 LIBICONV="${LIBICONV}${LIBICONV:+ }-L$found_dir"
12421 if test "$acl_hardcode_minus_L" != no; then
12422 LIBICONV="${LIBICONV}${LIBICONV:+ }$found_so"
12424 LIBICONV="${LIBICONV}${LIBICONV:+ }-l$name"
12430 if test "X$found_a" != "X"; then
12431 LIBICONV="${LIBICONV}${LIBICONV:+ }$found_a"
12433 LIBICONV="${LIBICONV}${LIBICONV:+ }-L$found_dir -l$name"
12436 additional_includedir=
12437 case "$found_dir" in
12438 */$acl_libdirstem | */$acl_libdirstem/)
12439 basedir=`echo "X$found_dir" | sed -e 's,^X,,' -e "s,/$acl_libdirstem/"'*$,,'`
12440 LIBICONV_PREFIX="$basedir"
12441 additional_includedir="$basedir/include"
12444 if test "X$additional_includedir" != "X"; then
12445 if test "X$additional_includedir" != "X/usr/include"; then
12447 if test "X$additional_includedir" = "X/usr/local/include"; then
12448 if test -n "$GCC"; then
12450 linux* | gnu* | k*bsd*-gnu) haveit=yes;;
12454 if test -z "$haveit"; then
12455 for x in $CPPFLAGS $INCICONV; do
12457 acl_save_prefix="$prefix"
12458 prefix="$acl_final_prefix"
12459 acl_save_exec_prefix="$exec_prefix"
12460 exec_prefix="$acl_final_exec_prefix"
12462 exec_prefix="$acl_save_exec_prefix"
12463 prefix="$acl_save_prefix"
12465 if test "X$x" = "X-I$additional_includedir"; then
12470 if test -z "$haveit"; then
12471 if test -d "$additional_includedir"; then
12472 INCICONV="${INCICONV}${INCICONV:+ }-I$additional_includedir"
12478 if test -n "$found_la"; then
12479 save_libdir="$libdir"
12480 case "$found_la" in
12481 */* | *\\*) . "$found_la" ;;
12482 *) . "./$found_la" ;;
12484 libdir="$save_libdir"
12485 for dep in $dependency_libs; do
12488 additional_libdir=`echo "X$dep" | sed -e 's/^X-L//'`
12489 if test "X$additional_libdir" != "X/usr/$acl_libdirstem"; then
12491 if test "X$additional_libdir" = "X/usr/local/$acl_libdirstem"; then
12492 if test -n "$GCC"; then
12494 linux* | gnu* | k*bsd*-gnu) haveit=yes;;
12498 if test -z "$haveit"; then
12500 for x in $LDFLAGS $LIBICONV; do
12502 acl_save_prefix="$prefix"
12503 prefix="$acl_final_prefix"
12504 acl_save_exec_prefix="$exec_prefix"
12505 exec_prefix="$acl_final_exec_prefix"
12507 exec_prefix="$acl_save_exec_prefix"
12508 prefix="$acl_save_prefix"
12510 if test "X$x" = "X-L$additional_libdir"; then
12515 if test -z "$haveit"; then
12516 if test -d "$additional_libdir"; then
12517 LIBICONV="${LIBICONV}${LIBICONV:+ }-L$additional_libdir"
12521 for x in $LDFLAGS $LTLIBICONV; do
12523 acl_save_prefix="$prefix"
12524 prefix="$acl_final_prefix"
12525 acl_save_exec_prefix="$exec_prefix"
12526 exec_prefix="$acl_final_exec_prefix"
12528 exec_prefix="$acl_save_exec_prefix"
12529 prefix="$acl_save_prefix"
12531 if test "X$x" = "X-L$additional_libdir"; then
12536 if test -z "$haveit"; then
12537 if test -d "$additional_libdir"; then
12538 LTLIBICONV="${LTLIBICONV}${LTLIBICONV:+ }-L$additional_libdir"
12545 dir=`echo "X$dep" | sed -e 's/^X-R//'`
12546 if test "$enable_rpath" != no; then
12548 for x in $rpathdirs; do
12549 if test "X$x" = "X$dir"; then
12554 if test -z "$haveit"; then
12555 rpathdirs="$rpathdirs $dir"
12558 for x in $ltrpathdirs; do
12559 if test "X$x" = "X$dir"; then
12564 if test -z "$haveit"; then
12565 ltrpathdirs="$ltrpathdirs $dir"
12570 names_next_round="$names_next_round "`echo "X$dep" | sed -e 's/^X-l//'`
12573 names_next_round="$names_next_round "`echo "X$dep" | sed -e 's,^X.*/,,' -e 's,^lib,,' -e 's,\.la$,,'`
12576 LIBICONV="${LIBICONV}${LIBICONV:+ }$dep"
12577 LTLIBICONV="${LTLIBICONV}${LTLIBICONV:+ }$dep"
12583 LIBICONV="${LIBICONV}${LIBICONV:+ }-l$name"
12584 LTLIBICONV="${LTLIBICONV}${LTLIBICONV:+ }-l$name"
12590 if test "X$rpathdirs" != "X"; then
12591 if test -n "$acl_hardcode_libdir_separator"; then
12593 for found_dir in $rpathdirs; do
12594 alldirs="${alldirs}${alldirs:+$acl_hardcode_libdir_separator}$found_dir"
12596 acl_save_libdir="$libdir"
12598 eval flag=\"$acl_hardcode_libdir_flag_spec\"
12599 libdir="$acl_save_libdir"
12600 LIBICONV="${LIBICONV}${LIBICONV:+ }$flag"
12602 for found_dir in $rpathdirs; do
12603 acl_save_libdir="$libdir"
12604 libdir="$found_dir"
12605 eval flag=\"$acl_hardcode_libdir_flag_spec\"
12606 libdir="$acl_save_libdir"
12607 LIBICONV="${LIBICONV}${LIBICONV:+ }$flag"
12611 if test "X$ltrpathdirs" != "X"; then
12612 for found_dir in $ltrpathdirs; do
12613 LTLIBICONV="${LTLIBICONV}${LTLIBICONV:+ }-R$found_dir"
12641 { $as_echo "$as_me:$LINENO: checking for CFPreferencesCopyAppValue" >&5
12642 $as_echo_n "checking for CFPreferencesCopyAppValue... " >&6; }
12643 if test "${gt_cv_func_CFPreferencesCopyAppValue+set}" = set; then
12644 $as_echo_n "(cached) " >&6
12646 gt_save_LIBS="$LIBS"
12647 LIBS="$LIBS -Wl,-framework -Wl,CoreFoundation"
12648 cat >conftest.$ac_ext <<_ACEOF
12651 cat confdefs.h >>conftest.$ac_ext
12652 cat >>conftest.$ac_ext <<_ACEOF
12653 /* end confdefs.h. */
12654 #include <CoreFoundation/CFPreferences.h>
12658 CFPreferencesCopyAppValue(NULL, NULL)
12663 rm -f conftest.$ac_objext conftest$ac_exeext
12664 if { (ac_try="$ac_link"
12665 case "(($ac_try" in
12666 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
12667 *) ac_try_echo=$ac_try;;
12669 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
12670 $as_echo "$ac_try_echo") >&5
12671 (eval "$ac_link") 2>conftest.er1
12673 grep -v '^ *+' conftest.er1 >conftest.err
12675 cat conftest.err >&5
12676 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
12677 (exit $ac_status); } && {
12678 test -z "$ac_c_werror_flag" ||
12679 test ! -s conftest.err
12680 } && test -s conftest$ac_exeext && {
12681 test "$cross_compiling" = yes ||
12682 $as_test_x conftest$ac_exeext
12684 gt_cv_func_CFPreferencesCopyAppValue=yes
12686 $as_echo "$as_me: failed program was:" >&5
12687 sed 's/^/| /' conftest.$ac_ext >&5
12689 gt_cv_func_CFPreferencesCopyAppValue=no
12692 rm -rf conftest.dSYM
12693 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
12694 conftest$ac_exeext conftest.$ac_ext
12695 LIBS="$gt_save_LIBS"
12697 { $as_echo "$as_me:$LINENO: result: $gt_cv_func_CFPreferencesCopyAppValue" >&5
12698 $as_echo "$gt_cv_func_CFPreferencesCopyAppValue" >&6; }
12699 if test $gt_cv_func_CFPreferencesCopyAppValue = yes; then
12701 cat >>confdefs.h <<\_ACEOF
12702 #define HAVE_CFPREFERENCESCOPYAPPVALUE 1
12706 { $as_echo "$as_me:$LINENO: checking for CFLocaleCopyCurrent" >&5
12707 $as_echo_n "checking for CFLocaleCopyCurrent... " >&6; }
12708 if test "${gt_cv_func_CFLocaleCopyCurrent+set}" = set; then
12709 $as_echo_n "(cached) " >&6
12711 gt_save_LIBS="$LIBS"
12712 LIBS="$LIBS -Wl,-framework -Wl,CoreFoundation"
12713 cat >conftest.$ac_ext <<_ACEOF
12716 cat confdefs.h >>conftest.$ac_ext
12717 cat >>conftest.$ac_ext <<_ACEOF
12718 /* end confdefs.h. */
12719 #include <CoreFoundation/CFLocale.h>
12723 CFLocaleCopyCurrent();
12728 rm -f conftest.$ac_objext conftest$ac_exeext
12729 if { (ac_try="$ac_link"
12730 case "(($ac_try" in
12731 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
12732 *) ac_try_echo=$ac_try;;
12734 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
12735 $as_echo "$ac_try_echo") >&5
12736 (eval "$ac_link") 2>conftest.er1
12738 grep -v '^ *+' conftest.er1 >conftest.err
12740 cat conftest.err >&5
12741 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
12742 (exit $ac_status); } && {
12743 test -z "$ac_c_werror_flag" ||
12744 test ! -s conftest.err
12745 } && test -s conftest$ac_exeext && {
12746 test "$cross_compiling" = yes ||
12747 $as_test_x conftest$ac_exeext
12749 gt_cv_func_CFLocaleCopyCurrent=yes
12751 $as_echo "$as_me: failed program was:" >&5
12752 sed 's/^/| /' conftest.$ac_ext >&5
12754 gt_cv_func_CFLocaleCopyCurrent=no
12757 rm -rf conftest.dSYM
12758 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
12759 conftest$ac_exeext conftest.$ac_ext
12760 LIBS="$gt_save_LIBS"
12762 { $as_echo "$as_me:$LINENO: result: $gt_cv_func_CFLocaleCopyCurrent" >&5
12763 $as_echo "$gt_cv_func_CFLocaleCopyCurrent" >&6; }
12764 if test $gt_cv_func_CFLocaleCopyCurrent = yes; then
12766 cat >>confdefs.h <<\_ACEOF
12767 #define HAVE_CFLOCALECOPYCURRENT 1
12772 if test $gt_cv_func_CFPreferencesCopyAppValue = yes || test $gt_cv_func_CFLocaleCopyCurrent = yes; then
12773 INTL_MACOSX_LIBS="-Wl,-framework -Wl,CoreFoundation"
12785 case " $gt_needs " in
12786 *" need-formatstring-macros "*) gt_api_version=3 ;;
12787 *" need-ngettext "*) gt_api_version=2 ;;
12788 *) gt_api_version=1 ;;
12790 gt_func_gnugettext_libc="gt_cv_func_gnugettext${gt_api_version}_libc"
12791 gt_func_gnugettext_libintl="gt_cv_func_gnugettext${gt_api_version}_libintl"
12793 if test "$USE_NLS" = "yes"; then
12794 gt_use_preinstalled_gnugettext=no
12797 if test $gt_api_version -ge 3; then
12798 gt_revision_test_code='
12799 #ifndef __GNU_GETTEXT_SUPPORTED_REVISION
12800 #define __GNU_GETTEXT_SUPPORTED_REVISION(major) ((major) == 0 ? 0 : -1)
12802 typedef int array [2 * (__GNU_GETTEXT_SUPPORTED_REVISION(0) >= 1) - 1];
12805 gt_revision_test_code=
12807 if test $gt_api_version -ge 2; then
12808 gt_expression_test_code=' + * ngettext ("", "", 0)'
12810 gt_expression_test_code=
12813 { $as_echo "$as_me:$LINENO: checking for GNU gettext in libc" >&5
12814 $as_echo_n "checking for GNU gettext in libc... " >&6; }
12815 if { as_var=$gt_func_gnugettext_libc; eval "test \"\${$as_var+set}\" = set"; }; then
12816 $as_echo_n "(cached) " >&6
12818 cat >conftest.$ac_ext <<_ACEOF
12821 cat confdefs.h >>conftest.$ac_ext
12822 cat >>conftest.$ac_ext <<_ACEOF
12823 /* end confdefs.h. */
12824 #include <libintl.h>
12825 $gt_revision_test_code
12826 extern int _nl_msg_cat_cntr;
12827 extern int *_nl_domain_bindings;
12831 bindtextdomain ("", "");
12832 return * gettext ("")$gt_expression_test_code + _nl_msg_cat_cntr + *_nl_domain_bindings
12837 rm -f conftest.$ac_objext conftest$ac_exeext
12838 if { (ac_try="$ac_link"
12839 case "(($ac_try" in
12840 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
12841 *) ac_try_echo=$ac_try;;
12843 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
12844 $as_echo "$ac_try_echo") >&5
12845 (eval "$ac_link") 2>conftest.er1
12847 grep -v '^ *+' conftest.er1 >conftest.err
12849 cat conftest.err >&5
12850 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
12851 (exit $ac_status); } && {
12852 test -z "$ac_c_werror_flag" ||
12853 test ! -s conftest.err
12854 } && test -s conftest$ac_exeext && {
12855 test "$cross_compiling" = yes ||
12856 $as_test_x conftest$ac_exeext
12858 eval "$gt_func_gnugettext_libc=yes"
12860 $as_echo "$as_me: failed program was:" >&5
12861 sed 's/^/| /' conftest.$ac_ext >&5
12863 eval "$gt_func_gnugettext_libc=no"
12866 rm -rf conftest.dSYM
12867 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
12868 conftest$ac_exeext conftest.$ac_ext
12870 ac_res=`eval 'as_val=${'$gt_func_gnugettext_libc'}
12871 $as_echo "$as_val"'`
12872 { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
12873 $as_echo "$ac_res" >&6; }
12875 if { eval "gt_val=\$$gt_func_gnugettext_libc"; test "$gt_val" != "yes"; }; then
12881 am_save_CPPFLAGS="$CPPFLAGS"
12883 for element in $INCICONV; do
12885 for x in $CPPFLAGS; do
12887 acl_save_prefix="$prefix"
12888 prefix="$acl_final_prefix"
12889 acl_save_exec_prefix="$exec_prefix"
12890 exec_prefix="$acl_final_exec_prefix"
12892 exec_prefix="$acl_save_exec_prefix"
12893 prefix="$acl_save_prefix"
12895 if test "X$x" = "X$element"; then
12900 if test -z "$haveit"; then
12901 CPPFLAGS="${CPPFLAGS}${CPPFLAGS:+ }$element"
12906 { $as_echo "$as_me:$LINENO: checking for iconv" >&5
12907 $as_echo_n "checking for iconv... " >&6; }
12908 if test "${am_cv_func_iconv+set}" = set; then
12909 $as_echo_n "(cached) " >&6
12912 am_cv_func_iconv="no, consider installing GNU libiconv"
12914 cat >conftest.$ac_ext <<_ACEOF
12917 cat confdefs.h >>conftest.$ac_ext
12918 cat >>conftest.$ac_ext <<_ACEOF
12919 /* end confdefs.h. */
12920 #include <stdlib.h>
12925 iconv_t cd = iconv_open("","");
12926 iconv(cd,NULL,NULL,NULL,NULL);
12932 rm -f conftest.$ac_objext conftest$ac_exeext
12933 if { (ac_try="$ac_link"
12934 case "(($ac_try" in
12935 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
12936 *) ac_try_echo=$ac_try;;
12938 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
12939 $as_echo "$ac_try_echo") >&5
12940 (eval "$ac_link") 2>conftest.er1
12942 grep -v '^ *+' conftest.er1 >conftest.err
12944 cat conftest.err >&5
12945 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
12946 (exit $ac_status); } && {
12947 test -z "$ac_c_werror_flag" ||
12948 test ! -s conftest.err
12949 } && test -s conftest$ac_exeext && {
12950 test "$cross_compiling" = yes ||
12951 $as_test_x conftest$ac_exeext
12953 am_cv_func_iconv=yes
12955 $as_echo "$as_me: failed program was:" >&5
12956 sed 's/^/| /' conftest.$ac_ext >&5
12961 rm -rf conftest.dSYM
12962 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
12963 conftest$ac_exeext conftest.$ac_ext
12964 if test "$am_cv_func_iconv" != yes; then
12965 am_save_LIBS="$LIBS"
12966 LIBS="$LIBS $LIBICONV"
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 <stdlib.h>
12978 iconv_t cd = iconv_open("","");
12979 iconv(cd,NULL,NULL,NULL,NULL);
12985 rm -f conftest.$ac_objext conftest$ac_exeext
12986 if { (ac_try="$ac_link"
12987 case "(($ac_try" in
12988 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
12989 *) ac_try_echo=$ac_try;;
12991 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
12992 $as_echo "$ac_try_echo") >&5
12993 (eval "$ac_link") 2>conftest.er1
12995 grep -v '^ *+' conftest.er1 >conftest.err
12997 cat conftest.err >&5
12998 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
12999 (exit $ac_status); } && {
13000 test -z "$ac_c_werror_flag" ||
13001 test ! -s conftest.err
13002 } && test -s conftest$ac_exeext && {
13003 test "$cross_compiling" = yes ||
13004 $as_test_x conftest$ac_exeext
13006 am_cv_lib_iconv=yes
13007 am_cv_func_iconv=yes
13009 $as_echo "$as_me: failed program was:" >&5
13010 sed 's/^/| /' conftest.$ac_ext >&5
13015 rm -rf conftest.dSYM
13016 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
13017 conftest$ac_exeext conftest.$ac_ext
13018 LIBS="$am_save_LIBS"
13022 { $as_echo "$as_me:$LINENO: result: $am_cv_func_iconv" >&5
13023 $as_echo "$am_cv_func_iconv" >&6; }
13024 if test "$am_cv_func_iconv" = yes; then
13025 { $as_echo "$as_me:$LINENO: checking for working iconv" >&5
13026 $as_echo_n "checking for working iconv... " >&6; }
13027 if test "${am_cv_func_iconv_works+set}" = set; then
13028 $as_echo_n "(cached) " >&6
13031 am_save_LIBS="$LIBS"
13032 if test $am_cv_lib_iconv = yes; then
13033 LIBS="$LIBS $LIBICONV"
13035 if test "$cross_compiling" = yes; then
13037 aix* | hpux*) am_cv_func_iconv_works="guessing no" ;;
13038 *) am_cv_func_iconv_works="guessing yes" ;;
13041 cat >conftest.$ac_ext <<_ACEOF
13044 cat confdefs.h >>conftest.$ac_ext
13045 cat >>conftest.$ac_ext <<_ACEOF
13046 /* end confdefs.h. */
13049 #include <string.h>
13052 /* Test against AIX 5.1 bug: Failures are not distinguishable from successful
13055 iconv_t cd_utf8_to_88591 = iconv_open ("ISO8859-1", "UTF-8");
13056 if (cd_utf8_to_88591 != (iconv_t)(-1))
13058 static const char input[] = "\342\202\254"; /* EURO SIGN */
13060 const char *inptr = input;
13061 size_t inbytesleft = strlen (input);
13062 char *outptr = buf;
13063 size_t outbytesleft = sizeof (buf);
13064 size_t res = iconv (cd_utf8_to_88591,
13065 (char **) &inptr, &inbytesleft,
13066 &outptr, &outbytesleft);
13071 #if 0 /* This bug could be worked around by the caller. */
13072 /* Test against HP-UX 11.11 bug: Positive return value instead of 0. */
13074 iconv_t cd_88591_to_utf8 = iconv_open ("utf8", "iso88591");
13075 if (cd_88591_to_utf8 != (iconv_t)(-1))
13077 static const char input[] = "\304rger mit b\366sen B\374bchen ohne Augenma\337";
13079 const char *inptr = input;
13080 size_t inbytesleft = strlen (input);
13081 char *outptr = buf;
13082 size_t outbytesleft = sizeof (buf);
13083 size_t res = iconv (cd_88591_to_utf8,
13084 (char **) &inptr, &inbytesleft,
13085 &outptr, &outbytesleft);
13091 /* Test against HP-UX 11.11 bug: No converter from EUC-JP to UTF-8 is
13093 if (/* Try standardized names. */
13094 iconv_open ("UTF-8", "EUC-JP") == (iconv_t)(-1)
13095 /* Try IRIX, OSF/1 names. */
13096 && iconv_open ("UTF-8", "eucJP") == (iconv_t)(-1)
13097 /* Try AIX names. */
13098 && iconv_open ("UTF-8", "IBM-eucJP") == (iconv_t)(-1)
13099 /* Try HP-UX names. */
13100 && iconv_open ("utf8", "eucJP") == (iconv_t)(-1))
13105 rm -f conftest$ac_exeext
13106 if { (ac_try="$ac_link"
13107 case "(($ac_try" in
13108 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
13109 *) ac_try_echo=$ac_try;;
13111 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
13112 $as_echo "$ac_try_echo") >&5
13113 (eval "$ac_link") 2>&5
13115 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
13116 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
13117 { (case "(($ac_try" in
13118 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
13119 *) ac_try_echo=$ac_try;;
13121 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
13122 $as_echo "$ac_try_echo") >&5
13123 (eval "$ac_try") 2>&5
13125 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
13126 (exit $ac_status); }; }; then
13127 am_cv_func_iconv_works=yes
13129 $as_echo "$as_me: program exited with status $ac_status" >&5
13130 $as_echo "$as_me: failed program was:" >&5
13131 sed 's/^/| /' conftest.$ac_ext >&5
13133 ( exit $ac_status )
13134 am_cv_func_iconv_works=no
13136 rm -rf conftest.dSYM
13137 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
13141 LIBS="$am_save_LIBS"
13144 { $as_echo "$as_me:$LINENO: result: $am_cv_func_iconv_works" >&5
13145 $as_echo "$am_cv_func_iconv_works" >&6; }
13146 case "$am_cv_func_iconv_works" in
13147 *no) am_func_iconv=no am_cv_lib_iconv=no ;;
13148 *) am_func_iconv=yes ;;
13151 am_func_iconv=no am_cv_lib_iconv=no
13153 if test "$am_func_iconv" = yes; then
13155 cat >>confdefs.h <<\_ACEOF
13156 #define HAVE_ICONV 1
13160 if test "$am_cv_lib_iconv" = yes; then
13161 { $as_echo "$as_me:$LINENO: checking how to link with libiconv" >&5
13162 $as_echo_n "checking how to link with libiconv... " >&6; }
13163 { $as_echo "$as_me:$LINENO: result: $LIBICONV" >&5
13164 $as_echo "$LIBICONV" >&6; }
13166 CPPFLAGS="$am_save_CPPFLAGS"
13180 acl_save_prefix="$prefix"
13181 prefix="$acl_final_prefix"
13182 acl_save_exec_prefix="$exec_prefix"
13183 exec_prefix="$acl_final_exec_prefix"
13185 eval additional_includedir=\"$includedir\"
13186 eval additional_libdir=\"$libdir\"
13188 exec_prefix="$acl_save_exec_prefix"
13189 prefix="$acl_save_prefix"
13192 # Check whether --with-libintl-prefix was given.
13193 if test "${with_libintl_prefix+set}" = set; then
13194 withval=$with_libintl_prefix;
13195 if test "X$withval" = "Xno"; then
13198 if test "X$withval" = "X"; then
13200 acl_save_prefix="$prefix"
13201 prefix="$acl_final_prefix"
13202 acl_save_exec_prefix="$exec_prefix"
13203 exec_prefix="$acl_final_exec_prefix"
13205 eval additional_includedir=\"$includedir\"
13206 eval additional_libdir=\"$libdir\"
13208 exec_prefix="$acl_save_exec_prefix"
13209 prefix="$acl_save_prefix"
13212 additional_includedir="$withval/include"
13213 additional_libdir="$withval/$acl_libdirstem"
13225 names_already_handled=
13226 names_next_round='intl '
13227 while test -n "$names_next_round"; do
13228 names_this_round="$names_next_round"
13230 for name in $names_this_round; do
13232 for n in $names_already_handled; do
13233 if test "$n" = "$name"; then
13234 already_handled=yes
13238 if test -z "$already_handled"; then
13239 names_already_handled="$names_already_handled $name"
13240 uppername=`echo "$name" | sed -e 'y|abcdefghijklmnopqrstuvwxyz./-|ABCDEFGHIJKLMNOPQRSTUVWXYZ___|'`
13241 eval value=\"\$HAVE_LIB$uppername\"
13242 if test -n "$value"; then
13243 if test "$value" = yes; then
13244 eval value=\"\$LIB$uppername\"
13245 test -z "$value" || LIBINTL="${LIBINTL}${LIBINTL:+ }$value"
13246 eval value=\"\$LTLIB$uppername\"
13247 test -z "$value" || LTLIBINTL="${LTLIBINTL}${LTLIBINTL:+ }$value"
13256 eval libname=\"$acl_libname_spec\" # typically: libname=lib$name
13257 if test -n "$acl_shlibext"; then
13258 shrext=".$acl_shlibext" # typically: shrext=.so
13262 if test $use_additional = yes; then
13263 dir="$additional_libdir"
13264 if test -n "$acl_shlibext"; then
13265 if test -f "$dir/$libname$shrext"; then
13267 found_so="$dir/$libname$shrext"
13269 if test "$acl_library_names_spec" = '$libname$shrext$versuffix'; then
13270 ver=`(cd "$dir" && \
13271 for f in "$libname$shrext".*; do echo "$f"; done \
13272 | sed -e "s,^$libname$shrext\\\\.,," \
13273 | sort -t '.' -n -r -k1,1 -k2,2 -k3,3 -k4,4 -k5,5 \
13274 | sed 1q ) 2>/dev/null`
13275 if test -n "$ver" && test -f "$dir/$libname$shrext.$ver"; then
13277 found_so="$dir/$libname$shrext.$ver"
13280 eval library_names=\"$acl_library_names_spec\"
13281 for f in $library_names; do
13282 if test -f "$dir/$f"; then
13291 if test "X$found_dir" = "X"; then
13292 if test -f "$dir/$libname.$acl_libext"; then
13294 found_a="$dir/$libname.$acl_libext"
13297 if test "X$found_dir" != "X"; then
13298 if test -f "$dir/$libname.la"; then
13299 found_la="$dir/$libname.la"
13303 if test "X$found_dir" = "X"; then
13304 for x in $LDFLAGS $LTLIBINTL; do
13306 acl_save_prefix="$prefix"
13307 prefix="$acl_final_prefix"
13308 acl_save_exec_prefix="$exec_prefix"
13309 exec_prefix="$acl_final_exec_prefix"
13311 exec_prefix="$acl_save_exec_prefix"
13312 prefix="$acl_save_prefix"
13316 dir=`echo "X$x" | sed -e 's/^X-L//'`
13317 if test -n "$acl_shlibext"; then
13318 if test -f "$dir/$libname$shrext"; then
13320 found_so="$dir/$libname$shrext"
13322 if test "$acl_library_names_spec" = '$libname$shrext$versuffix'; then
13323 ver=`(cd "$dir" && \
13324 for f in "$libname$shrext".*; do echo "$f"; done \
13325 | sed -e "s,^$libname$shrext\\\\.,," \
13326 | sort -t '.' -n -r -k1,1 -k2,2 -k3,3 -k4,4 -k5,5 \
13327 | sed 1q ) 2>/dev/null`
13328 if test -n "$ver" && test -f "$dir/$libname$shrext.$ver"; then
13330 found_so="$dir/$libname$shrext.$ver"
13333 eval library_names=\"$acl_library_names_spec\"
13334 for f in $library_names; do
13335 if test -f "$dir/$f"; then
13344 if test "X$found_dir" = "X"; then
13345 if test -f "$dir/$libname.$acl_libext"; then
13347 found_a="$dir/$libname.$acl_libext"
13350 if test "X$found_dir" != "X"; then
13351 if test -f "$dir/$libname.la"; then
13352 found_la="$dir/$libname.la"
13357 if test "X$found_dir" != "X"; then
13362 if test "X$found_dir" != "X"; then
13363 LTLIBINTL="${LTLIBINTL}${LTLIBINTL:+ }-L$found_dir -l$name"
13364 if test "X$found_so" != "X"; then
13365 if test "$enable_rpath" = no || test "X$found_dir" = "X/usr/$acl_libdirstem"; then
13366 LIBINTL="${LIBINTL}${LIBINTL:+ }$found_so"
13369 for x in $ltrpathdirs; do
13370 if test "X$x" = "X$found_dir"; then
13375 if test -z "$haveit"; then
13376 ltrpathdirs="$ltrpathdirs $found_dir"
13378 if test "$acl_hardcode_direct" = yes; then
13379 LIBINTL="${LIBINTL}${LIBINTL:+ }$found_so"
13381 if test -n "$acl_hardcode_libdir_flag_spec" && test "$acl_hardcode_minus_L" = no; then
13382 LIBINTL="${LIBINTL}${LIBINTL:+ }$found_so"
13384 for x in $rpathdirs; do
13385 if test "X$x" = "X$found_dir"; then
13390 if test -z "$haveit"; then
13391 rpathdirs="$rpathdirs $found_dir"
13395 for x in $LDFLAGS $LIBINTL; do
13397 acl_save_prefix="$prefix"
13398 prefix="$acl_final_prefix"
13399 acl_save_exec_prefix="$exec_prefix"
13400 exec_prefix="$acl_final_exec_prefix"
13402 exec_prefix="$acl_save_exec_prefix"
13403 prefix="$acl_save_prefix"
13405 if test "X$x" = "X-L$found_dir"; then
13410 if test -z "$haveit"; then
13411 LIBINTL="${LIBINTL}${LIBINTL:+ }-L$found_dir"
13413 if test "$acl_hardcode_minus_L" != no; then
13414 LIBINTL="${LIBINTL}${LIBINTL:+ }$found_so"
13416 LIBINTL="${LIBINTL}${LIBINTL:+ }-l$name"
13422 if test "X$found_a" != "X"; then
13423 LIBINTL="${LIBINTL}${LIBINTL:+ }$found_a"
13425 LIBINTL="${LIBINTL}${LIBINTL:+ }-L$found_dir -l$name"
13428 additional_includedir=
13429 case "$found_dir" in
13430 */$acl_libdirstem | */$acl_libdirstem/)
13431 basedir=`echo "X$found_dir" | sed -e 's,^X,,' -e "s,/$acl_libdirstem/"'*$,,'`
13432 LIBINTL_PREFIX="$basedir"
13433 additional_includedir="$basedir/include"
13436 if test "X$additional_includedir" != "X"; then
13437 if test "X$additional_includedir" != "X/usr/include"; then
13439 if test "X$additional_includedir" = "X/usr/local/include"; then
13440 if test -n "$GCC"; then
13442 linux* | gnu* | k*bsd*-gnu) haveit=yes;;
13446 if test -z "$haveit"; then
13447 for x in $CPPFLAGS $INCINTL; do
13449 acl_save_prefix="$prefix"
13450 prefix="$acl_final_prefix"
13451 acl_save_exec_prefix="$exec_prefix"
13452 exec_prefix="$acl_final_exec_prefix"
13454 exec_prefix="$acl_save_exec_prefix"
13455 prefix="$acl_save_prefix"
13457 if test "X$x" = "X-I$additional_includedir"; then
13462 if test -z "$haveit"; then
13463 if test -d "$additional_includedir"; then
13464 INCINTL="${INCINTL}${INCINTL:+ }-I$additional_includedir"
13470 if test -n "$found_la"; then
13471 save_libdir="$libdir"
13472 case "$found_la" in
13473 */* | *\\*) . "$found_la" ;;
13474 *) . "./$found_la" ;;
13476 libdir="$save_libdir"
13477 for dep in $dependency_libs; do
13480 additional_libdir=`echo "X$dep" | sed -e 's/^X-L//'`
13481 if test "X$additional_libdir" != "X/usr/$acl_libdirstem"; then
13483 if test "X$additional_libdir" = "X/usr/local/$acl_libdirstem"; then
13484 if test -n "$GCC"; then
13486 linux* | gnu* | k*bsd*-gnu) haveit=yes;;
13490 if test -z "$haveit"; then
13492 for x in $LDFLAGS $LIBINTL; do
13494 acl_save_prefix="$prefix"
13495 prefix="$acl_final_prefix"
13496 acl_save_exec_prefix="$exec_prefix"
13497 exec_prefix="$acl_final_exec_prefix"
13499 exec_prefix="$acl_save_exec_prefix"
13500 prefix="$acl_save_prefix"
13502 if test "X$x" = "X-L$additional_libdir"; then
13507 if test -z "$haveit"; then
13508 if test -d "$additional_libdir"; then
13509 LIBINTL="${LIBINTL}${LIBINTL:+ }-L$additional_libdir"
13513 for x in $LDFLAGS $LTLIBINTL; do
13515 acl_save_prefix="$prefix"
13516 prefix="$acl_final_prefix"
13517 acl_save_exec_prefix="$exec_prefix"
13518 exec_prefix="$acl_final_exec_prefix"
13520 exec_prefix="$acl_save_exec_prefix"
13521 prefix="$acl_save_prefix"
13523 if test "X$x" = "X-L$additional_libdir"; then
13528 if test -z "$haveit"; then
13529 if test -d "$additional_libdir"; then
13530 LTLIBINTL="${LTLIBINTL}${LTLIBINTL:+ }-L$additional_libdir"
13537 dir=`echo "X$dep" | sed -e 's/^X-R//'`
13538 if test "$enable_rpath" != no; then
13540 for x in $rpathdirs; do
13541 if test "X$x" = "X$dir"; then
13546 if test -z "$haveit"; then
13547 rpathdirs="$rpathdirs $dir"
13550 for x in $ltrpathdirs; do
13551 if test "X$x" = "X$dir"; then
13556 if test -z "$haveit"; then
13557 ltrpathdirs="$ltrpathdirs $dir"
13562 names_next_round="$names_next_round "`echo "X$dep" | sed -e 's/^X-l//'`
13565 names_next_round="$names_next_round "`echo "X$dep" | sed -e 's,^X.*/,,' -e 's,^lib,,' -e 's,\.la$,,'`
13568 LIBINTL="${LIBINTL}${LIBINTL:+ }$dep"
13569 LTLIBINTL="${LTLIBINTL}${LTLIBINTL:+ }$dep"
13575 LIBINTL="${LIBINTL}${LIBINTL:+ }-l$name"
13576 LTLIBINTL="${LTLIBINTL}${LTLIBINTL:+ }-l$name"
13582 if test "X$rpathdirs" != "X"; then
13583 if test -n "$acl_hardcode_libdir_separator"; then
13585 for found_dir in $rpathdirs; do
13586 alldirs="${alldirs}${alldirs:+$acl_hardcode_libdir_separator}$found_dir"
13588 acl_save_libdir="$libdir"
13590 eval flag=\"$acl_hardcode_libdir_flag_spec\"
13591 libdir="$acl_save_libdir"
13592 LIBINTL="${LIBINTL}${LIBINTL:+ }$flag"
13594 for found_dir in $rpathdirs; do
13595 acl_save_libdir="$libdir"
13596 libdir="$found_dir"
13597 eval flag=\"$acl_hardcode_libdir_flag_spec\"
13598 libdir="$acl_save_libdir"
13599 LIBINTL="${LIBINTL}${LIBINTL:+ }$flag"
13603 if test "X$ltrpathdirs" != "X"; then
13604 for found_dir in $ltrpathdirs; do
13605 LTLIBINTL="${LTLIBINTL}${LTLIBINTL:+ }-R$found_dir"
13609 { $as_echo "$as_me:$LINENO: checking for GNU gettext in libintl" >&5
13610 $as_echo_n "checking for GNU gettext in libintl... " >&6; }
13611 if { as_var=$gt_func_gnugettext_libintl; eval "test \"\${$as_var+set}\" = set"; }; then
13612 $as_echo_n "(cached) " >&6
13614 gt_save_CPPFLAGS="$CPPFLAGS"
13615 CPPFLAGS="$CPPFLAGS $INCINTL"
13616 gt_save_LIBS="$LIBS"
13617 LIBS="$LIBS $LIBINTL"
13618 cat >conftest.$ac_ext <<_ACEOF
13621 cat confdefs.h >>conftest.$ac_ext
13622 cat >>conftest.$ac_ext <<_ACEOF
13623 /* end confdefs.h. */
13624 #include <libintl.h>
13625 $gt_revision_test_code
13626 extern int _nl_msg_cat_cntr;
13631 const char *_nl_expand_alias (const char *);
13635 bindtextdomain ("", "");
13636 return * gettext ("")$gt_expression_test_code + _nl_msg_cat_cntr + *_nl_expand_alias ("")
13641 rm -f conftest.$ac_objext conftest$ac_exeext
13642 if { (ac_try="$ac_link"
13643 case "(($ac_try" in
13644 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
13645 *) ac_try_echo=$ac_try;;
13647 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
13648 $as_echo "$ac_try_echo") >&5
13649 (eval "$ac_link") 2>conftest.er1
13651 grep -v '^ *+' conftest.er1 >conftest.err
13653 cat conftest.err >&5
13654 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
13655 (exit $ac_status); } && {
13656 test -z "$ac_c_werror_flag" ||
13657 test ! -s conftest.err
13658 } && test -s conftest$ac_exeext && {
13659 test "$cross_compiling" = yes ||
13660 $as_test_x conftest$ac_exeext
13662 eval "$gt_func_gnugettext_libintl=yes"
13664 $as_echo "$as_me: failed program was:" >&5
13665 sed 's/^/| /' conftest.$ac_ext >&5
13667 eval "$gt_func_gnugettext_libintl=no"
13670 rm -rf conftest.dSYM
13671 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
13672 conftest$ac_exeext conftest.$ac_ext
13673 if { eval "gt_val=\$$gt_func_gnugettext_libintl"; test "$gt_val" != yes; } && test -n "$LIBICONV"; then
13674 LIBS="$LIBS $LIBICONV"
13675 cat >conftest.$ac_ext <<_ACEOF
13678 cat confdefs.h >>conftest.$ac_ext
13679 cat >>conftest.$ac_ext <<_ACEOF
13680 /* end confdefs.h. */
13681 #include <libintl.h>
13682 $gt_revision_test_code
13683 extern int _nl_msg_cat_cntr;
13688 const char *_nl_expand_alias (const char *);
13692 bindtextdomain ("", "");
13693 return * gettext ("")$gt_expression_test_code + _nl_msg_cat_cntr + *_nl_expand_alias ("")
13698 rm -f conftest.$ac_objext conftest$ac_exeext
13699 if { (ac_try="$ac_link"
13700 case "(($ac_try" in
13701 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
13702 *) ac_try_echo=$ac_try;;
13704 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
13705 $as_echo "$ac_try_echo") >&5
13706 (eval "$ac_link") 2>conftest.er1
13708 grep -v '^ *+' conftest.er1 >conftest.err
13710 cat conftest.err >&5
13711 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
13712 (exit $ac_status); } && {
13713 test -z "$ac_c_werror_flag" ||
13714 test ! -s conftest.err
13715 } && test -s conftest$ac_exeext && {
13716 test "$cross_compiling" = yes ||
13717 $as_test_x conftest$ac_exeext
13719 LIBINTL="$LIBINTL $LIBICONV"
13720 LTLIBINTL="$LTLIBINTL $LTLIBICONV"
13721 eval "$gt_func_gnugettext_libintl=yes"
13724 $as_echo "$as_me: failed program was:" >&5
13725 sed 's/^/| /' conftest.$ac_ext >&5
13730 rm -rf conftest.dSYM
13731 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
13732 conftest$ac_exeext conftest.$ac_ext
13734 CPPFLAGS="$gt_save_CPPFLAGS"
13735 LIBS="$gt_save_LIBS"
13737 ac_res=`eval 'as_val=${'$gt_func_gnugettext_libintl'}
13738 $as_echo "$as_val"'`
13739 { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
13740 $as_echo "$ac_res" >&6; }
13743 if { eval "gt_val=\$$gt_func_gnugettext_libc"; test "$gt_val" = "yes"; } \
13744 || { { eval "gt_val=\$$gt_func_gnugettext_libintl"; test "$gt_val" = "yes"; } \
13745 && test "$PACKAGE" != gettext-runtime \
13746 && test "$PACKAGE" != gettext-tools; }; then
13747 gt_use_preinstalled_gnugettext=yes
13756 if test -n "$INTL_MACOSX_LIBS"; then
13757 if test "$gt_use_preinstalled_gnugettext" = "yes" \
13758 || test "$nls_cv_use_gnu_gettext" = "yes"; then
13759 LIBINTL="$LIBINTL $INTL_MACOSX_LIBS"
13760 LTLIBINTL="$LTLIBINTL $INTL_MACOSX_LIBS"
13764 if test "$gt_use_preinstalled_gnugettext" = "yes" \
13765 || test "$nls_cv_use_gnu_gettext" = "yes"; then
13767 cat >>confdefs.h <<\_ACEOF
13768 #define ENABLE_NLS 1
13776 { $as_echo "$as_me:$LINENO: checking whether to use NLS" >&5
13777 $as_echo_n "checking whether to use NLS... " >&6; }
13778 { $as_echo "$as_me:$LINENO: result: $USE_NLS" >&5
13779 $as_echo "$USE_NLS" >&6; }
13780 if test "$USE_NLS" = "yes"; then
13781 { $as_echo "$as_me:$LINENO: checking where the gettext function comes from" >&5
13782 $as_echo_n "checking where the gettext function comes from... " >&6; }
13783 if test "$gt_use_preinstalled_gnugettext" = "yes"; then
13784 if { eval "gt_val=\$$gt_func_gnugettext_libintl"; test "$gt_val" = "yes"; }; then
13785 gt_source="external libintl"
13790 gt_source="included intl directory"
13792 { $as_echo "$as_me:$LINENO: result: $gt_source" >&5
13793 $as_echo "$gt_source" >&6; }
13796 if test "$USE_NLS" = "yes"; then
13798 if test "$gt_use_preinstalled_gnugettext" = "yes"; then
13799 if { eval "gt_val=\$$gt_func_gnugettext_libintl"; test "$gt_val" = "yes"; }; then
13800 { $as_echo "$as_me:$LINENO: checking how to link with libintl" >&5
13801 $as_echo_n "checking how to link with libintl... " >&6; }
13802 { $as_echo "$as_me:$LINENO: result: $LIBINTL" >&5
13803 $as_echo "$LIBINTL" >&6; }
13805 for element in $INCINTL; do
13807 for x in $CPPFLAGS; do
13809 acl_save_prefix="$prefix"
13810 prefix="$acl_final_prefix"
13811 acl_save_exec_prefix="$exec_prefix"
13812 exec_prefix="$acl_final_exec_prefix"
13814 exec_prefix="$acl_save_exec_prefix"
13815 prefix="$acl_save_prefix"
13817 if test "X$x" = "X$element"; then
13822 if test -z "$haveit"; then
13823 CPPFLAGS="${CPPFLAGS}${CPPFLAGS:+ }$element"
13830 cat >>confdefs.h <<\_ACEOF
13831 #define HAVE_GETTEXT 1
13835 cat >>confdefs.h <<\_ACEOF
13836 #define HAVE_DCGETTEXT 1
13846 INTLLIBS="$LIBINTL"
13854 GETTEXT_PACKAGE=pcsx
13857 cat >>confdefs.h <<_ACEOF
13858 #define GETTEXT_PACKAGE "${GETTEXT_PACKAGE}"
13864 if test "x$ac_cv_env_PKG_CONFIG_set" != "xset"; then
13865 if test -n "$ac_tool_prefix"; then
13866 # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
13867 set dummy ${ac_tool_prefix}pkg-config; ac_word=$2
13868 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
13869 $as_echo_n "checking for $ac_word... " >&6; }
13870 if test "${ac_cv_path_PKG_CONFIG+set}" = set; then
13871 $as_echo_n "(cached) " >&6
13873 case $PKG_CONFIG in
13875 ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path.
13878 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
13879 for as_dir in $PATH
13882 test -z "$as_dir" && as_dir=.
13883 for ac_exec_ext in '' $ac_executable_extensions; do
13884 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
13885 ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
13886 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
13896 PKG_CONFIG=$ac_cv_path_PKG_CONFIG
13897 if test -n "$PKG_CONFIG"; then
13898 { $as_echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5
13899 $as_echo "$PKG_CONFIG" >&6; }
13901 { $as_echo "$as_me:$LINENO: result: no" >&5
13902 $as_echo "no" >&6; }
13907 if test -z "$ac_cv_path_PKG_CONFIG"; then
13908 ac_pt_PKG_CONFIG=$PKG_CONFIG
13909 # Extract the first word of "pkg-config", so it can be a program name with args.
13910 set dummy pkg-config; ac_word=$2
13911 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
13912 $as_echo_n "checking for $ac_word... " >&6; }
13913 if test "${ac_cv_path_ac_pt_PKG_CONFIG+set}" = set; then
13914 $as_echo_n "(cached) " >&6
13916 case $ac_pt_PKG_CONFIG in
13918 ac_cv_path_ac_pt_PKG_CONFIG="$ac_pt_PKG_CONFIG" # Let the user override the test with a path.
13921 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
13922 for as_dir in $PATH
13925 test -z "$as_dir" && as_dir=.
13926 for ac_exec_ext in '' $ac_executable_extensions; do
13927 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
13928 ac_cv_path_ac_pt_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
13929 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
13939 ac_pt_PKG_CONFIG=$ac_cv_path_ac_pt_PKG_CONFIG
13940 if test -n "$ac_pt_PKG_CONFIG"; then
13941 { $as_echo "$as_me:$LINENO: result: $ac_pt_PKG_CONFIG" >&5
13942 $as_echo "$ac_pt_PKG_CONFIG" >&6; }
13944 { $as_echo "$as_me:$LINENO: result: no" >&5
13945 $as_echo "no" >&6; }
13948 if test "x$ac_pt_PKG_CONFIG" = x; then
13951 case $cross_compiling:$ac_tool_warned in
13953 { $as_echo "$as_me:$LINENO: WARNING: using cross tools not prefixed with host triplet" >&5
13954 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
13955 ac_tool_warned=yes ;;
13957 PKG_CONFIG=$ac_pt_PKG_CONFIG
13960 PKG_CONFIG="$ac_cv_path_PKG_CONFIG"
13964 if test -n "$PKG_CONFIG"; then
13965 _pkg_min_version=0.9.0
13966 { $as_echo "$as_me:$LINENO: checking pkg-config is at least version $_pkg_min_version" >&5
13967 $as_echo_n "checking pkg-config is at least version $_pkg_min_version... " >&6; }
13968 if $PKG_CONFIG --atleast-pkgconfig-version $_pkg_min_version; then
13969 { $as_echo "$as_me:$LINENO: result: yes" >&5
13970 $as_echo "yes" >&6; }
13972 { $as_echo "$as_me:$LINENO: result: no" >&5
13973 $as_echo "no" >&6; }
13980 { $as_echo "$as_me:$LINENO: checking for GLIB2" >&5
13981 $as_echo_n "checking for GLIB2... " >&6; }
13983 if test -n "$PKG_CONFIG"; then
13984 if test -n "$GLIB2_CFLAGS"; then
13985 pkg_cv_GLIB2_CFLAGS="$GLIB2_CFLAGS"
13987 if test -n "$PKG_CONFIG" && \
13988 { ($as_echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"glib-2.0\"") >&5
13989 ($PKG_CONFIG --exists --print-errors "glib-2.0") 2>&5
13991 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
13992 (exit $ac_status); }; then
13993 pkg_cv_GLIB2_CFLAGS=`$PKG_CONFIG --cflags "glib-2.0" 2>/dev/null`
14001 if test -n "$PKG_CONFIG"; then
14002 if test -n "$GLIB2_LIBS"; then
14003 pkg_cv_GLIB2_LIBS="$GLIB2_LIBS"
14005 if test -n "$PKG_CONFIG" && \
14006 { ($as_echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"glib-2.0\"") >&5
14007 ($PKG_CONFIG --exists --print-errors "glib-2.0") 2>&5
14009 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
14010 (exit $ac_status); }; then
14011 pkg_cv_GLIB2_LIBS=`$PKG_CONFIG --libs "glib-2.0" 2>/dev/null`
14022 if test $pkg_failed = yes; then
14024 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
14025 _pkg_short_errors_supported=yes
14027 _pkg_short_errors_supported=no
14029 if test $_pkg_short_errors_supported = yes; then
14030 GLIB2_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "glib-2.0"`
14032 GLIB2_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "glib-2.0"`
14034 # Put the nasty error message in config.log where it belongs
14035 echo "$GLIB2_PKG_ERRORS" >&5
14037 { $as_echo "$as_me:$LINENO: result: no" >&5
14038 $as_echo "no" >&6; }
14039 { { $as_echo "$as_me:$LINENO: error: *** glib2 not found!" >&5
14040 $as_echo "$as_me: error: *** glib2 not found!" >&2;}
14041 { (exit 1); exit 1; }; }
14042 elif test $pkg_failed = untried; then
14043 { { $as_echo "$as_me:$LINENO: error: *** glib2 not found!" >&5
14044 $as_echo "$as_me: error: *** glib2 not found!" >&2;}
14045 { (exit 1); exit 1; }; }
14047 GLIB2_CFLAGS=$pkg_cv_GLIB2_CFLAGS
14048 GLIB2_LIBS=$pkg_cv_GLIB2_LIBS
14049 { $as_echo "$as_me:$LINENO: result: yes" >&5
14050 $as_echo "yes" >&6; }
14055 { $as_echo "$as_me:$LINENO: checking for GTK2" >&5
14056 $as_echo_n "checking for GTK2... " >&6; }
14058 if test -n "$PKG_CONFIG"; then
14059 if test -n "$GTK2_CFLAGS"; then
14060 pkg_cv_GTK2_CFLAGS="$GTK2_CFLAGS"
14062 if test -n "$PKG_CONFIG" && \
14063 { ($as_echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"gtk+-2.0\"") >&5
14064 ($PKG_CONFIG --exists --print-errors "gtk+-2.0") 2>&5
14066 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
14067 (exit $ac_status); }; then
14068 pkg_cv_GTK2_CFLAGS=`$PKG_CONFIG --cflags "gtk+-2.0" 2>/dev/null`
14076 if test -n "$PKG_CONFIG"; then
14077 if test -n "$GTK2_LIBS"; then
14078 pkg_cv_GTK2_LIBS="$GTK2_LIBS"
14080 if test -n "$PKG_CONFIG" && \
14081 { ($as_echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"gtk+-2.0\"") >&5
14082 ($PKG_CONFIG --exists --print-errors "gtk+-2.0") 2>&5
14084 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
14085 (exit $ac_status); }; then
14086 pkg_cv_GTK2_LIBS=`$PKG_CONFIG --libs "gtk+-2.0" 2>/dev/null`
14097 if test $pkg_failed = yes; then
14099 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
14100 _pkg_short_errors_supported=yes
14102 _pkg_short_errors_supported=no
14104 if test $_pkg_short_errors_supported = yes; then
14105 GTK2_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "gtk+-2.0"`
14107 GTK2_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "gtk+-2.0"`
14109 # Put the nasty error message in config.log where it belongs
14110 echo "$GTK2_PKG_ERRORS" >&5
14112 { $as_echo "$as_me:$LINENO: result: no" >&5
14113 $as_echo "no" >&6; }
14114 { { $as_echo "$as_me:$LINENO: error: *** libgtk2 not found!" >&5
14115 $as_echo "$as_me: error: *** libgtk2 not found!" >&2;}
14116 { (exit 1); exit 1; }; }
14117 elif test $pkg_failed = untried; then
14118 { { $as_echo "$as_me:$LINENO: error: *** libgtk2 not found!" >&5
14119 $as_echo "$as_me: error: *** libgtk2 not found!" >&2;}
14120 { (exit 1); exit 1; }; }
14122 GTK2_CFLAGS=$pkg_cv_GTK2_CFLAGS
14123 GTK2_LIBS=$pkg_cv_GTK2_LIBS
14124 { $as_echo "$as_me:$LINENO: result: yes" >&5
14125 $as_echo "yes" >&6; }
14130 { $as_echo "$as_me:$LINENO: checking for GLADE2" >&5
14131 $as_echo_n "checking for GLADE2... " >&6; }
14133 if test -n "$PKG_CONFIG"; then
14134 if test -n "$GLADE2_CFLAGS"; then
14135 pkg_cv_GLADE2_CFLAGS="$GLADE2_CFLAGS"
14137 if test -n "$PKG_CONFIG" && \
14138 { ($as_echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"libglade-2.0\"") >&5
14139 ($PKG_CONFIG --exists --print-errors "libglade-2.0") 2>&5
14141 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
14142 (exit $ac_status); }; then
14143 pkg_cv_GLADE2_CFLAGS=`$PKG_CONFIG --cflags "libglade-2.0" 2>/dev/null`
14151 if test -n "$PKG_CONFIG"; then
14152 if test -n "$GLADE2_LIBS"; then
14153 pkg_cv_GLADE2_LIBS="$GLADE2_LIBS"
14155 if test -n "$PKG_CONFIG" && \
14156 { ($as_echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"libglade-2.0\"") >&5
14157 ($PKG_CONFIG --exists --print-errors "libglade-2.0") 2>&5
14159 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
14160 (exit $ac_status); }; then
14161 pkg_cv_GLADE2_LIBS=`$PKG_CONFIG --libs "libglade-2.0" 2>/dev/null`
14172 if test $pkg_failed = yes; then
14174 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
14175 _pkg_short_errors_supported=yes
14177 _pkg_short_errors_supported=no
14179 if test $_pkg_short_errors_supported = yes; then
14180 GLADE2_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "libglade-2.0"`
14182 GLADE2_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "libglade-2.0"`
14184 # Put the nasty error message in config.log where it belongs
14185 echo "$GLADE2_PKG_ERRORS" >&5
14187 { $as_echo "$as_me:$LINENO: result: no" >&5
14188 $as_echo "no" >&6; }
14189 { { $as_echo "$as_me:$LINENO: error: *** libglade2 not found!" >&5
14190 $as_echo "$as_me: error: *** libglade2 not found!" >&2;}
14191 { (exit 1); exit 1; }; }
14192 elif test $pkg_failed = untried; then
14193 { { $as_echo "$as_me:$LINENO: error: *** libglade2 not found!" >&5
14194 $as_echo "$as_me: error: *** libglade2 not found!" >&2;}
14195 { (exit 1); exit 1; }; }
14197 GLADE2_CFLAGS=$pkg_cv_GLADE2_CFLAGS
14198 GLADE2_LIBS=$pkg_cv_GLADE2_LIBS
14199 { $as_echo "$as_me:$LINENO: result: yes" >&5
14200 $as_echo "yes" >&6; }
14205 # Check whether --with-sdl-prefix was given.
14206 if test "${with_sdl_prefix+set}" = set; then
14207 withval=$with_sdl_prefix; sdl_prefix="$withval"
14213 # Check whether --with-sdl-exec-prefix was given.
14214 if test "${with_sdl_exec_prefix+set}" = set; then
14215 withval=$with_sdl_exec_prefix; sdl_exec_prefix="$withval"
14220 # Check whether --enable-sdltest was given.
14221 if test "${enable_sdltest+set}" = set; then
14222 enableval=$enable_sdltest;
14228 if test x$sdl_exec_prefix != x ; then
14229 sdl_config_args="$sdl_config_args --exec-prefix=$sdl_exec_prefix"
14230 if test x${SDL_CONFIG+set} != xset ; then
14231 SDL_CONFIG=$sdl_exec_prefix/bin/sdl-config
14234 if test x$sdl_prefix != x ; then
14235 sdl_config_args="$sdl_config_args --prefix=$sdl_prefix"
14236 if test x${SDL_CONFIG+set} != xset ; then
14237 SDL_CONFIG=$sdl_prefix/bin/sdl-config
14241 if test "x$prefix" != xNONE; then
14242 PATH="$prefix/bin:$prefix/usr/bin:$PATH"
14244 # Extract the first word of "sdl-config", so it can be a program name with args.
14245 set dummy sdl-config; ac_word=$2
14246 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
14247 $as_echo_n "checking for $ac_word... " >&6; }
14248 if test "${ac_cv_path_SDL_CONFIG+set}" = set; then
14249 $as_echo_n "(cached) " >&6
14251 case $SDL_CONFIG in
14253 ac_cv_path_SDL_CONFIG="$SDL_CONFIG" # Let the user override the test with a path.
14256 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
14257 for as_dir in $PATH
14260 test -z "$as_dir" && as_dir=.
14261 for ac_exec_ext in '' $ac_executable_extensions; do
14262 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
14263 ac_cv_path_SDL_CONFIG="$as_dir/$ac_word$ac_exec_ext"
14264 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
14271 test -z "$ac_cv_path_SDL_CONFIG" && ac_cv_path_SDL_CONFIG="no"
14275 SDL_CONFIG=$ac_cv_path_SDL_CONFIG
14276 if test -n "$SDL_CONFIG"; then
14277 { $as_echo "$as_me:$LINENO: result: $SDL_CONFIG" >&5
14278 $as_echo "$SDL_CONFIG" >&6; }
14280 { $as_echo "$as_me:$LINENO: result: no" >&5
14281 $as_echo "no" >&6; }
14285 min_sdl_version=1.2.0
14286 { $as_echo "$as_me:$LINENO: checking for SDL - version >= $min_sdl_version" >&5
14287 $as_echo_n "checking for SDL - version >= $min_sdl_version... " >&6; }
14289 if test "$SDL_CONFIG" = "no" ; then
14292 SDL_CFLAGS=`$SDL_CONFIG $sdl_config_args --cflags`
14293 SDL_LIBS=`$SDL_CONFIG $sdl_config_args --libs`
14295 sdl_major_version=`$SDL_CONFIG $sdl_config_args --version | \
14296 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\1/'`
14297 sdl_minor_version=`$SDL_CONFIG $sdl_config_args --version | \
14298 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\2/'`
14299 sdl_micro_version=`$SDL_CONFIG $sdl_config_args --version | \
14300 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\3/'`
14301 if test "x$enable_sdltest" = "xyes" ; then
14302 ac_save_CFLAGS="$CFLAGS"
14303 ac_save_CXXFLAGS="$CXXFLAGS"
14304 ac_save_LIBS="$LIBS"
14305 CFLAGS="$CFLAGS $SDL_CFLAGS"
14306 CXXFLAGS="$CXXFLAGS $SDL_CFLAGS"
14307 LIBS="$LIBS $SDL_LIBS"
14309 if test "$cross_compiling" = yes; then
14310 echo $ac_n "cross compiling; assumed OK... $ac_c"
14312 cat >conftest.$ac_ext <<_ACEOF
14315 cat confdefs.h >>conftest.$ac_ext
14316 cat >>conftest.$ac_ext <<_ACEOF
14317 /* end confdefs.h. */
14320 #include <stdlib.h>
14321 #include <string.h>
14325 my_strdup (char *str)
14331 new_str = (char *)malloc ((strlen (str) + 1) * sizeof(char));
14332 strcpy (new_str, str);
14340 int main (int argc, char *argv[])
14342 int major, minor, micro;
14345 /* This hangs on some systems (?)
14346 system ("touch conf.sdltest");
14348 { FILE *fp = fopen("conf.sdltest", "a"); if ( fp ) fclose(fp); }
14350 /* HP/UX 9 (%@#!) writes to sscanf strings */
14351 tmp_version = my_strdup("$min_sdl_version");
14352 if (sscanf(tmp_version, "%d.%d.%d", &major, &minor, µ) != 3) {
14353 printf("%s, bad version string\n", "$min_sdl_version");
14357 if (($sdl_major_version > major) ||
14358 (($sdl_major_version == major) && ($sdl_minor_version > minor)) ||
14359 (($sdl_major_version == major) && ($sdl_minor_version == minor) && ($sdl_micro_version >= micro)))
14365 printf("\n*** 'sdl-config --version' returned %d.%d.%d, but the minimum version\n", $sdl_major_version, $sdl_minor_version, $sdl_micro_version);
14366 printf("*** of SDL required is %d.%d.%d. If sdl-config is correct, then it is\n", major, minor, micro);
14367 printf("*** best to upgrade to the required version.\n");
14368 printf("*** If sdl-config was wrong, set the environment variable SDL_CONFIG\n");
14369 printf("*** to point to the correct copy of sdl-config, and remove the file\n");
14370 printf("*** config.cache before re-running configure\n");
14377 rm -f conftest$ac_exeext
14378 if { (ac_try="$ac_link"
14379 case "(($ac_try" in
14380 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14381 *) ac_try_echo=$ac_try;;
14383 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
14384 $as_echo "$ac_try_echo") >&5
14385 (eval "$ac_link") 2>&5
14387 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
14388 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
14389 { (case "(($ac_try" in
14390 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14391 *) ac_try_echo=$ac_try;;
14393 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
14394 $as_echo "$ac_try_echo") >&5
14395 (eval "$ac_try") 2>&5
14397 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
14398 (exit $ac_status); }; }; then
14401 $as_echo "$as_me: program exited with status $ac_status" >&5
14402 $as_echo "$as_me: failed program was:" >&5
14403 sed 's/^/| /' conftest.$ac_ext >&5
14405 ( exit $ac_status )
14408 rm -rf conftest.dSYM
14409 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
14413 CFLAGS="$ac_save_CFLAGS"
14414 CXXFLAGS="$ac_save_CXXFLAGS"
14415 LIBS="$ac_save_LIBS"
14418 if test "x$no_sdl" = x ; then
14419 { $as_echo "$as_me:$LINENO: result: yes" >&5
14420 $as_echo "yes" >&6; }
14423 { $as_echo "$as_me:$LINENO: result: no" >&5
14424 $as_echo "no" >&6; }
14425 if test "$SDL_CONFIG" = "no" ; then
14426 echo "*** The sdl-config script installed by SDL could not be found"
14427 echo "*** If SDL was installed in PREFIX, make sure PREFIX/bin is in"
14428 echo "*** your path, or set the SDL_CONFIG environment variable to the"
14429 echo "*** full path to sdl-config."
14431 if test -f conf.sdltest ; then
14434 echo "*** Could not run SDL test program, checking why..."
14435 CFLAGS="$CFLAGS $SDL_CFLAGS"
14436 CXXFLAGS="$CXXFLAGS $SDL_CFLAGS"
14437 LIBS="$LIBS $SDL_LIBS"
14438 cat >conftest.$ac_ext <<_ACEOF
14441 cat confdefs.h >>conftest.$ac_ext
14442 cat >>conftest.$ac_ext <<_ACEOF
14443 /* end confdefs.h. */
14448 int main(int argc, char *argv[])
14451 #define main K_and_R_C_main
14461 rm -f conftest.$ac_objext conftest$ac_exeext
14462 if { (ac_try="$ac_link"
14463 case "(($ac_try" in
14464 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14465 *) ac_try_echo=$ac_try;;
14467 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
14468 $as_echo "$ac_try_echo") >&5
14469 (eval "$ac_link") 2>conftest.er1
14471 grep -v '^ *+' conftest.er1 >conftest.err
14473 cat conftest.err >&5
14474 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
14475 (exit $ac_status); } && {
14476 test -z "$ac_c_werror_flag" ||
14477 test ! -s conftest.err
14478 } && test -s conftest$ac_exeext && {
14479 test "$cross_compiling" = yes ||
14480 $as_test_x conftest$ac_exeext
14482 echo "*** The test program compiled, but did not run. This usually means"
14483 echo "*** that the run-time linker is not finding SDL or finding the wrong"
14484 echo "*** version of SDL. If it is not finding SDL, you'll need to set your"
14485 echo "*** LD_LIBRARY_PATH environment variable, or edit /etc/ld.so.conf to point"
14486 echo "*** to the installed location Also, make sure you have run ldconfig if that"
14487 echo "*** is required on your system"
14489 echo "*** If you have an old version installed, it is best to remove it, although"
14490 echo "*** you may also be able to get things to work by modifying LD_LIBRARY_PATH"
14492 $as_echo "$as_me: failed program was:" >&5
14493 sed 's/^/| /' conftest.$ac_ext >&5
14495 echo "*** The test program failed to compile or link. See the file config.log for the"
14496 echo "*** exact error that occured. This usually means SDL was incorrectly installed"
14497 echo "*** or that you have moved SDL since it was installed. In the latter case, you"
14498 echo "*** may want to edit the sdl-config script: $SDL_CONFIG"
14501 rm -rf conftest.dSYM
14502 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
14503 conftest$ac_exeext conftest.$ac_ext
14504 CFLAGS="$ac_save_CFLAGS"
14505 CXXFLAGS="$ac_save_CXXFLAGS"
14506 LIBS="$ac_save_LIBS"
14511 { { $as_echo "$as_me:$LINENO: error: *** SDL not found!" >&5
14512 $as_echo "$as_me: error: *** SDL not found!" >&2;}
14513 { (exit 1); exit 1; }; }
14527 ac_config_files="$ac_config_files Makefile data/Makefile doc/Makefile libpcsxcore/Makefile gui/Makefile plugins/dfinput/Makefile plugins/dfsound/Makefile plugins/dfxvideo/Makefile plugins/dfcdrom/Makefile plugins/dfnet/Makefile pixmaps/Makefile po/Makefile.in"
14530 { $as_echo "$as_me:$LINENO: checking for dlsym in -ldl" >&5
14531 $as_echo_n "checking for dlsym in -ldl... " >&6; }
14532 if test "${ac_cv_lib_dl_dlsym+set}" = set; then
14533 $as_echo_n "(cached) " >&6
14535 ac_check_lib_save_LIBS=$LIBS
14537 cat >conftest.$ac_ext <<_ACEOF
14540 cat confdefs.h >>conftest.$ac_ext
14541 cat >>conftest.$ac_ext <<_ACEOF
14542 /* end confdefs.h. */
14544 /* Override any GCC internal prototype to avoid an error.
14545 Use char because int might match the return type of a GCC
14546 builtin and then its argument prototype would still apply. */
14559 rm -f conftest.$ac_objext conftest$ac_exeext
14560 if { (ac_try="$ac_link"
14561 case "(($ac_try" in
14562 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14563 *) ac_try_echo=$ac_try;;
14565 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
14566 $as_echo "$ac_try_echo") >&5
14567 (eval "$ac_link") 2>conftest.er1
14569 grep -v '^ *+' conftest.er1 >conftest.err
14571 cat conftest.err >&5
14572 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
14573 (exit $ac_status); } && {
14574 test -z "$ac_c_werror_flag" ||
14575 test ! -s conftest.err
14576 } && test -s conftest$ac_exeext && {
14577 test "$cross_compiling" = yes ||
14578 $as_test_x conftest$ac_exeext
14580 ac_cv_lib_dl_dlsym=yes
14582 $as_echo "$as_me: failed program was:" >&5
14583 sed 's/^/| /' conftest.$ac_ext >&5
14585 ac_cv_lib_dl_dlsym=no
14588 rm -rf conftest.dSYM
14589 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
14590 conftest$ac_exeext conftest.$ac_ext
14591 LIBS=$ac_check_lib_save_LIBS
14593 { $as_echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dlsym" >&5
14594 $as_echo "$ac_cv_lib_dl_dlsym" >&6; }
14595 if test "x$ac_cv_lib_dl_dlsym" = x""yes; then
14596 LDFLAGS="$LDFLAGS -ldl"
14599 { $as_echo "$as_me:$LINENO: checking for socket in -lsocket" >&5
14600 $as_echo_n "checking for socket in -lsocket... " >&6; }
14601 if test "${ac_cv_lib_socket_socket+set}" = set; then
14602 $as_echo_n "(cached) " >&6
14604 ac_check_lib_save_LIBS=$LIBS
14605 LIBS="-lsocket $LIBS"
14606 cat >conftest.$ac_ext <<_ACEOF
14609 cat confdefs.h >>conftest.$ac_ext
14610 cat >>conftest.$ac_ext <<_ACEOF
14611 /* end confdefs.h. */
14613 /* Override any GCC internal prototype to avoid an error.
14614 Use char because int might match the return type of a GCC
14615 builtin and then its argument prototype would still apply. */
14628 rm -f conftest.$ac_objext conftest$ac_exeext
14629 if { (ac_try="$ac_link"
14630 case "(($ac_try" in
14631 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14632 *) ac_try_echo=$ac_try;;
14634 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
14635 $as_echo "$ac_try_echo") >&5
14636 (eval "$ac_link") 2>conftest.er1
14638 grep -v '^ *+' conftest.er1 >conftest.err
14640 cat conftest.err >&5
14641 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
14642 (exit $ac_status); } && {
14643 test -z "$ac_c_werror_flag" ||
14644 test ! -s conftest.err
14645 } && test -s conftest$ac_exeext && {
14646 test "$cross_compiling" = yes ||
14647 $as_test_x conftest$ac_exeext
14649 ac_cv_lib_socket_socket=yes
14651 $as_echo "$as_me: failed program was:" >&5
14652 sed 's/^/| /' conftest.$ac_ext >&5
14654 ac_cv_lib_socket_socket=no
14657 rm -rf conftest.dSYM
14658 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
14659 conftest$ac_exeext conftest.$ac_ext
14660 LIBS=$ac_check_lib_save_LIBS
14662 { $as_echo "$as_me:$LINENO: result: $ac_cv_lib_socket_socket" >&5
14663 $as_echo "$ac_cv_lib_socket_socket" >&6; }
14664 if test "x$ac_cv_lib_socket_socket" = x""yes; then
14665 LDFLAGS="$LDFLAGS -lsocket"
14668 { $as_echo "$as_me:$LINENO: checking for gethostbyname in -lnsl" >&5
14669 $as_echo_n "checking for gethostbyname in -lnsl... " >&6; }
14670 if test "${ac_cv_lib_nsl_gethostbyname+set}" = set; then
14671 $as_echo_n "(cached) " >&6
14673 ac_check_lib_save_LIBS=$LIBS
14675 cat >conftest.$ac_ext <<_ACEOF
14678 cat confdefs.h >>conftest.$ac_ext
14679 cat >>conftest.$ac_ext <<_ACEOF
14680 /* end confdefs.h. */
14682 /* Override any GCC internal prototype to avoid an error.
14683 Use char because int might match the return type of a GCC
14684 builtin and then its argument prototype would still apply. */
14688 char gethostbyname ();
14692 return gethostbyname ();
14697 rm -f conftest.$ac_objext conftest$ac_exeext
14698 if { (ac_try="$ac_link"
14699 case "(($ac_try" in
14700 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14701 *) ac_try_echo=$ac_try;;
14703 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
14704 $as_echo "$ac_try_echo") >&5
14705 (eval "$ac_link") 2>conftest.er1
14707 grep -v '^ *+' conftest.er1 >conftest.err
14709 cat conftest.err >&5
14710 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
14711 (exit $ac_status); } && {
14712 test -z "$ac_c_werror_flag" ||
14713 test ! -s conftest.err
14714 } && test -s conftest$ac_exeext && {
14715 test "$cross_compiling" = yes ||
14716 $as_test_x conftest$ac_exeext
14718 ac_cv_lib_nsl_gethostbyname=yes
14720 $as_echo "$as_me: failed program was:" >&5
14721 sed 's/^/| /' conftest.$ac_ext >&5
14723 ac_cv_lib_nsl_gethostbyname=no
14726 rm -rf conftest.dSYM
14727 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
14728 conftest$ac_exeext conftest.$ac_ext
14729 LIBS=$ac_check_lib_save_LIBS
14731 { $as_echo "$as_me:$LINENO: result: $ac_cv_lib_nsl_gethostbyname" >&5
14732 $as_echo "$ac_cv_lib_nsl_gethostbyname" >&6; }
14733 if test "x$ac_cv_lib_nsl_gethostbyname" = x""yes; then
14734 LDFLAGS="$LDFLAGS -lnsl"
14737 { $as_echo "$as_me:$LINENO: checking for umem_alloc in -lumem" >&5
14738 $as_echo_n "checking for umem_alloc in -lumem... " >&6; }
14739 if test "${ac_cv_lib_umem_umem_alloc+set}" = set; then
14740 $as_echo_n "(cached) " >&6
14742 ac_check_lib_save_LIBS=$LIBS
14743 LIBS="-lumem $LIBS"
14744 cat >conftest.$ac_ext <<_ACEOF
14747 cat confdefs.h >>conftest.$ac_ext
14748 cat >>conftest.$ac_ext <<_ACEOF
14749 /* end confdefs.h. */
14751 /* Override any GCC internal prototype to avoid an error.
14752 Use char because int might match the return type of a GCC
14753 builtin and then its argument prototype would still apply. */
14757 char umem_alloc ();
14761 return umem_alloc ();
14766 rm -f conftest.$ac_objext conftest$ac_exeext
14767 if { (ac_try="$ac_link"
14768 case "(($ac_try" in
14769 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14770 *) ac_try_echo=$ac_try;;
14772 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
14773 $as_echo "$ac_try_echo") >&5
14774 (eval "$ac_link") 2>conftest.er1
14776 grep -v '^ *+' conftest.er1 >conftest.err
14778 cat conftest.err >&5
14779 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
14780 (exit $ac_status); } && {
14781 test -z "$ac_c_werror_flag" ||
14782 test ! -s conftest.err
14783 } && test -s conftest$ac_exeext && {
14784 test "$cross_compiling" = yes ||
14785 $as_test_x conftest$ac_exeext
14787 ac_cv_lib_umem_umem_alloc=yes
14789 $as_echo "$as_me: failed program was:" >&5
14790 sed 's/^/| /' conftest.$ac_ext >&5
14792 ac_cv_lib_umem_umem_alloc=no
14795 rm -rf conftest.dSYM
14796 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
14797 conftest$ac_exeext conftest.$ac_ext
14798 LIBS=$ac_check_lib_save_LIBS
14800 { $as_echo "$as_me:$LINENO: result: $ac_cv_lib_umem_umem_alloc" >&5
14801 $as_echo "$ac_cv_lib_umem_umem_alloc" >&6; }
14802 if test "x$ac_cv_lib_umem_umem_alloc" = x""yes; then
14803 LDFLAGS="$LDFLAGS -lumem"
14809 SOUND_OSS_FALSE='#'
14817 SOUND_SDL_FALSE='#'
14825 SOUND_NULL_FALSE='#'
14827 SOUND_NULL_TRUE='#'
14833 # Check whether --enable-sound was given.
14834 if test "${enable_sound+set}" = set; then
14835 enableval=$enable_sound; SOUND="$enableval"
14841 if test "x$SOUND" = xalsa; then
14844 { $as_echo "$as_me:$LINENO: checking for ALSA" >&5
14845 $as_echo_n "checking for ALSA... " >&6; }
14847 if test -n "$PKG_CONFIG"; then
14848 if test -n "$ALSA_CFLAGS"; then
14849 pkg_cv_ALSA_CFLAGS="$ALSA_CFLAGS"
14851 if test -n "$PKG_CONFIG" && \
14852 { ($as_echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"alsa >= 1.0.0\"") >&5
14853 ($PKG_CONFIG --exists --print-errors "alsa >= 1.0.0") 2>&5
14855 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
14856 (exit $ac_status); }; then
14857 pkg_cv_ALSA_CFLAGS=`$PKG_CONFIG --cflags "alsa >= 1.0.0" 2>/dev/null`
14865 if test -n "$PKG_CONFIG"; then
14866 if test -n "$ALSA_LIBS"; then
14867 pkg_cv_ALSA_LIBS="$ALSA_LIBS"
14869 if test -n "$PKG_CONFIG" && \
14870 { ($as_echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"alsa >= 1.0.0\"") >&5
14871 ($PKG_CONFIG --exists --print-errors "alsa >= 1.0.0") 2>&5
14873 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
14874 (exit $ac_status); }; then
14875 pkg_cv_ALSA_LIBS=`$PKG_CONFIG --libs "alsa >= 1.0.0" 2>/dev/null`
14886 if test $pkg_failed = yes; then
14888 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
14889 _pkg_short_errors_supported=yes
14891 _pkg_short_errors_supported=no
14893 if test $_pkg_short_errors_supported = yes; then
14894 ALSA_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "alsa >= 1.0.0"`
14896 ALSA_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "alsa >= 1.0.0"`
14898 # Put the nasty error message in config.log where it belongs
14899 echo "$ALSA_PKG_ERRORS" >&5
14901 { $as_echo "$as_me:$LINENO: result: no" >&5
14902 $as_echo "no" >&6; }
14904 elif test $pkg_failed = untried; then
14907 ALSA_CFLAGS=$pkg_cv_ALSA_CFLAGS
14908 ALSA_LIBS=$pkg_cv_ALSA_LIBS
14909 { $as_echo "$as_me:$LINENO: result: yes" >&5
14910 $as_echo "yes" >&6; }
14913 elif test "x$SOUND" = xpulseaudio; then
14916 { $as_echo "$as_me:$LINENO: checking for PULSEAUDIO" >&5
14917 $as_echo_n "checking for PULSEAUDIO... " >&6; }
14919 if test -n "$PKG_CONFIG"; then
14920 if test -n "$PULSEAUDIO_CFLAGS"; then
14921 pkg_cv_PULSEAUDIO_CFLAGS="$PULSEAUDIO_CFLAGS"
14923 if test -n "$PKG_CONFIG" && \
14924 { ($as_echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"libpulse >= 0.9.16\"") >&5
14925 ($PKG_CONFIG --exists --print-errors "libpulse >= 0.9.16") 2>&5
14927 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
14928 (exit $ac_status); }; then
14929 pkg_cv_PULSEAUDIO_CFLAGS=`$PKG_CONFIG --cflags "libpulse >= 0.9.16" 2>/dev/null`
14937 if test -n "$PKG_CONFIG"; then
14938 if test -n "$PULSEAUDIO_LIBS"; then
14939 pkg_cv_PULSEAUDIO_LIBS="$PULSEAUDIO_LIBS"
14941 if test -n "$PKG_CONFIG" && \
14942 { ($as_echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"libpulse >= 0.9.16\"") >&5
14943 ($PKG_CONFIG --exists --print-errors "libpulse >= 0.9.16") 2>&5
14945 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
14946 (exit $ac_status); }; then
14947 pkg_cv_PULSEAUDIO_LIBS=`$PKG_CONFIG --libs "libpulse >= 0.9.16" 2>/dev/null`
14958 if test $pkg_failed = yes; then
14960 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
14961 _pkg_short_errors_supported=yes
14963 _pkg_short_errors_supported=no
14965 if test $_pkg_short_errors_supported = yes; then
14966 PULSEAUDIO_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "libpulse >= 0.9.16"`
14968 PULSEAUDIO_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "libpulse >= 0.9.16"`
14970 # Put the nasty error message in config.log where it belongs
14971 echo "$PULSEAUDIO_PKG_ERRORS" >&5
14973 { { $as_echo "$as_me:$LINENO: error: Package requirements (libpulse >= 0.9.16) were not met:
14975 $PULSEAUDIO_PKG_ERRORS
14977 Consider adjusting the PKG_CONFIG_PATH environment variable if you
14978 installed software in a non-standard prefix.
14980 Alternatively, you may set the environment variables PULSEAUDIO_CFLAGS
14981 and PULSEAUDIO_LIBS to avoid the need to call pkg-config.
14982 See the pkg-config man page for more details.
14984 $as_echo "$as_me: error: Package requirements (libpulse >= 0.9.16) were not met:
14986 $PULSEAUDIO_PKG_ERRORS
14988 Consider adjusting the PKG_CONFIG_PATH environment variable if you
14989 installed software in a non-standard prefix.
14991 Alternatively, you may set the environment variables PULSEAUDIO_CFLAGS
14992 and PULSEAUDIO_LIBS to avoid the need to call pkg-config.
14993 See the pkg-config man page for more details.
14995 { (exit 1); exit 1; }; }
14996 elif test $pkg_failed = untried; then
14997 { { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
14998 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
14999 { { $as_echo "$as_me:$LINENO: error: The pkg-config script could not be found or is too old. Make sure it
15000 is in your PATH or set the PKG_CONFIG environment variable to the full
15001 path to pkg-config.
15003 Alternatively, you may set the environment variables PULSEAUDIO_CFLAGS
15004 and PULSEAUDIO_LIBS to avoid the need to call pkg-config.
15005 See the pkg-config man page for more details.
15007 To get pkg-config, see <http://pkg-config.freedesktop.org/>.
15008 See \`config.log' for more details." >&5
15009 $as_echo "$as_me: error: The pkg-config script could not be found or is too old. Make sure it
15010 is in your PATH or set the PKG_CONFIG environment variable to the full
15011 path to pkg-config.
15013 Alternatively, you may set the environment variables PULSEAUDIO_CFLAGS
15014 and PULSEAUDIO_LIBS to avoid the need to call pkg-config.
15015 See the pkg-config man page for more details.
15017 To get pkg-config, see <http://pkg-config.freedesktop.org/>.
15018 See \`config.log' for more details." >&2;}
15019 { (exit 1); exit 1; }; }; }
15021 PULSEAUDIO_CFLAGS=$pkg_cv_PULSEAUDIO_CFLAGS
15022 PULSEAUDIO_LIBS=$pkg_cv_PULSEAUDIO_LIBS
15023 { $as_echo "$as_me:$LINENO: result: yes" >&5
15024 $as_echo "yes" >&6; }
15025 have_pulseaudio=yes
15027 elif test "x$SOUND" = xoss; then
15028 if test "${ac_cv_header_sys_soundcard_h+set}" = set; then
15029 { $as_echo "$as_me:$LINENO: checking for sys/soundcard.h" >&5
15030 $as_echo_n "checking for sys/soundcard.h... " >&6; }
15031 if test "${ac_cv_header_sys_soundcard_h+set}" = set; then
15032 $as_echo_n "(cached) " >&6
15034 { $as_echo "$as_me:$LINENO: result: $ac_cv_header_sys_soundcard_h" >&5
15035 $as_echo "$ac_cv_header_sys_soundcard_h" >&6; }
15037 # Is the header compilable?
15038 { $as_echo "$as_me:$LINENO: checking sys/soundcard.h usability" >&5
15039 $as_echo_n "checking sys/soundcard.h usability... " >&6; }
15040 cat >conftest.$ac_ext <<_ACEOF
15043 cat confdefs.h >>conftest.$ac_ext
15044 cat >>conftest.$ac_ext <<_ACEOF
15045 /* end confdefs.h. */
15046 $ac_includes_default
15047 #include <sys/soundcard.h>
15049 rm -f conftest.$ac_objext
15050 if { (ac_try="$ac_compile"
15051 case "(($ac_try" in
15052 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15053 *) ac_try_echo=$ac_try;;
15055 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
15056 $as_echo "$ac_try_echo") >&5
15057 (eval "$ac_compile") 2>conftest.er1
15059 grep -v '^ *+' conftest.er1 >conftest.err
15061 cat conftest.err >&5
15062 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
15063 (exit $ac_status); } && {
15064 test -z "$ac_c_werror_flag" ||
15065 test ! -s conftest.err
15066 } && test -s conftest.$ac_objext; then
15067 ac_header_compiler=yes
15069 $as_echo "$as_me: failed program was:" >&5
15070 sed 's/^/| /' conftest.$ac_ext >&5
15072 ac_header_compiler=no
15075 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15076 { $as_echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
15077 $as_echo "$ac_header_compiler" >&6; }
15079 # Is the header present?
15080 { $as_echo "$as_me:$LINENO: checking sys/soundcard.h presence" >&5
15081 $as_echo_n "checking sys/soundcard.h presence... " >&6; }
15082 cat >conftest.$ac_ext <<_ACEOF
15085 cat confdefs.h >>conftest.$ac_ext
15086 cat >>conftest.$ac_ext <<_ACEOF
15087 /* end confdefs.h. */
15088 #include <sys/soundcard.h>
15090 if { (ac_try="$ac_cpp conftest.$ac_ext"
15091 case "(($ac_try" in
15092 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15093 *) ac_try_echo=$ac_try;;
15095 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
15096 $as_echo "$ac_try_echo") >&5
15097 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
15099 grep -v '^ *+' conftest.er1 >conftest.err
15101 cat conftest.err >&5
15102 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
15103 (exit $ac_status); } >/dev/null && {
15104 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
15105 test ! -s conftest.err
15107 ac_header_preproc=yes
15109 $as_echo "$as_me: failed program was:" >&5
15110 sed 's/^/| /' conftest.$ac_ext >&5
15112 ac_header_preproc=no
15115 rm -f conftest.err conftest.$ac_ext
15116 { $as_echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
15117 $as_echo "$ac_header_preproc" >&6; }
15119 # So? What about this header?
15120 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
15122 { $as_echo "$as_me:$LINENO: WARNING: sys/soundcard.h: accepted by the compiler, rejected by the preprocessor!" >&5
15123 $as_echo "$as_me: WARNING: sys/soundcard.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
15124 { $as_echo "$as_me:$LINENO: WARNING: sys/soundcard.h: proceeding with the compiler's result" >&5
15125 $as_echo "$as_me: WARNING: sys/soundcard.h: proceeding with the compiler's result" >&2;}
15126 ac_header_preproc=yes
15129 { $as_echo "$as_me:$LINENO: WARNING: sys/soundcard.h: present but cannot be compiled" >&5
15130 $as_echo "$as_me: WARNING: sys/soundcard.h: present but cannot be compiled" >&2;}
15131 { $as_echo "$as_me:$LINENO: WARNING: sys/soundcard.h: check for missing prerequisite headers?" >&5
15132 $as_echo "$as_me: WARNING: sys/soundcard.h: check for missing prerequisite headers?" >&2;}
15133 { $as_echo "$as_me:$LINENO: WARNING: sys/soundcard.h: see the Autoconf documentation" >&5
15134 $as_echo "$as_me: WARNING: sys/soundcard.h: see the Autoconf documentation" >&2;}
15135 { $as_echo "$as_me:$LINENO: WARNING: sys/soundcard.h: section \"Present But Cannot Be Compiled\"" >&5
15136 $as_echo "$as_me: WARNING: sys/soundcard.h: section \"Present But Cannot Be Compiled\"" >&2;}
15137 { $as_echo "$as_me:$LINENO: WARNING: sys/soundcard.h: proceeding with the preprocessor's result" >&5
15138 $as_echo "$as_me: WARNING: sys/soundcard.h: proceeding with the preprocessor's result" >&2;}
15139 { $as_echo "$as_me:$LINENO: WARNING: sys/soundcard.h: in the future, the compiler will take precedence" >&5
15140 $as_echo "$as_me: WARNING: sys/soundcard.h: in the future, the compiler will take precedence" >&2;}
15144 { $as_echo "$as_me:$LINENO: checking for sys/soundcard.h" >&5
15145 $as_echo_n "checking for sys/soundcard.h... " >&6; }
15146 if test "${ac_cv_header_sys_soundcard_h+set}" = set; then
15147 $as_echo_n "(cached) " >&6
15149 ac_cv_header_sys_soundcard_h=$ac_header_preproc
15151 { $as_echo "$as_me:$LINENO: result: $ac_cv_header_sys_soundcard_h" >&5
15152 $as_echo "$ac_cv_header_sys_soundcard_h" >&6; }
15155 if test "x$ac_cv_header_sys_soundcard_h" = x""yes; then
15162 if test "x$have_oss" = xno; then
15163 { { $as_echo "$as_me:$LINENO: error: sys/soundcard.h not found!" >&5
15164 $as_echo "$as_me: error: sys/soundcard.h not found!" >&2;}
15165 { (exit 1); exit 1; }; }
15169 SOUND_OSS_FALSE='#'
15176 elif test "x$SOUND" = xno; then
15179 SOUND_NULL_FALSE='#'
15181 SOUND_NULL_TRUE='#'
15185 elif test "x$SOUND" = xnull; then
15188 SOUND_NULL_FALSE='#'
15190 SOUND_NULL_TRUE='#'
15197 SOUND_SDL_FALSE='#'
15205 if test "x$have_alsa" = xyes; then
15207 SOUND_ALSA_FALSE='#'
15209 SOUND_ALSA_TRUE='#'
15214 if test "x$have_pulseaudio" = xyes; then
15215 SOUND_PULSEAUDIO_TRUE=
15216 SOUND_PULSEAUDIO_FALSE='#'
15218 SOUND_PULSEAUDIO_TRUE='#'
15219 SOUND_PULSEAUDIO_FALSE=
15225 if test "${ac_cv_header_zlib_h+set}" = set; then
15226 { $as_echo "$as_me:$LINENO: checking for zlib.h" >&5
15227 $as_echo_n "checking for zlib.h... " >&6; }
15228 if test "${ac_cv_header_zlib_h+set}" = set; then
15229 $as_echo_n "(cached) " >&6
15231 { $as_echo "$as_me:$LINENO: result: $ac_cv_header_zlib_h" >&5
15232 $as_echo "$ac_cv_header_zlib_h" >&6; }
15234 # Is the header compilable?
15235 { $as_echo "$as_me:$LINENO: checking zlib.h usability" >&5
15236 $as_echo_n "checking zlib.h usability... " >&6; }
15237 cat >conftest.$ac_ext <<_ACEOF
15240 cat confdefs.h >>conftest.$ac_ext
15241 cat >>conftest.$ac_ext <<_ACEOF
15242 /* end confdefs.h. */
15243 $ac_includes_default
15246 rm -f conftest.$ac_objext
15247 if { (ac_try="$ac_compile"
15248 case "(($ac_try" in
15249 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15250 *) ac_try_echo=$ac_try;;
15252 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
15253 $as_echo "$ac_try_echo") >&5
15254 (eval "$ac_compile") 2>conftest.er1
15256 grep -v '^ *+' conftest.er1 >conftest.err
15258 cat conftest.err >&5
15259 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
15260 (exit $ac_status); } && {
15261 test -z "$ac_c_werror_flag" ||
15262 test ! -s conftest.err
15263 } && test -s conftest.$ac_objext; then
15264 ac_header_compiler=yes
15266 $as_echo "$as_me: failed program was:" >&5
15267 sed 's/^/| /' conftest.$ac_ext >&5
15269 ac_header_compiler=no
15272 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15273 { $as_echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
15274 $as_echo "$ac_header_compiler" >&6; }
15276 # Is the header present?
15277 { $as_echo "$as_me:$LINENO: checking zlib.h presence" >&5
15278 $as_echo_n "checking zlib.h presence... " >&6; }
15279 cat >conftest.$ac_ext <<_ACEOF
15282 cat confdefs.h >>conftest.$ac_ext
15283 cat >>conftest.$ac_ext <<_ACEOF
15284 /* end confdefs.h. */
15287 if { (ac_try="$ac_cpp conftest.$ac_ext"
15288 case "(($ac_try" in
15289 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15290 *) ac_try_echo=$ac_try;;
15292 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
15293 $as_echo "$ac_try_echo") >&5
15294 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
15296 grep -v '^ *+' conftest.er1 >conftest.err
15298 cat conftest.err >&5
15299 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
15300 (exit $ac_status); } >/dev/null && {
15301 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
15302 test ! -s conftest.err
15304 ac_header_preproc=yes
15306 $as_echo "$as_me: failed program was:" >&5
15307 sed 's/^/| /' conftest.$ac_ext >&5
15309 ac_header_preproc=no
15312 rm -f conftest.err conftest.$ac_ext
15313 { $as_echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
15314 $as_echo "$ac_header_preproc" >&6; }
15316 # So? What about this header?
15317 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
15319 { $as_echo "$as_me:$LINENO: WARNING: zlib.h: accepted by the compiler, rejected by the preprocessor!" >&5
15320 $as_echo "$as_me: WARNING: zlib.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
15321 { $as_echo "$as_me:$LINENO: WARNING: zlib.h: proceeding with the compiler's result" >&5
15322 $as_echo "$as_me: WARNING: zlib.h: proceeding with the compiler's result" >&2;}
15323 ac_header_preproc=yes
15326 { $as_echo "$as_me:$LINENO: WARNING: zlib.h: present but cannot be compiled" >&5
15327 $as_echo "$as_me: WARNING: zlib.h: present but cannot be compiled" >&2;}
15328 { $as_echo "$as_me:$LINENO: WARNING: zlib.h: check for missing prerequisite headers?" >&5
15329 $as_echo "$as_me: WARNING: zlib.h: check for missing prerequisite headers?" >&2;}
15330 { $as_echo "$as_me:$LINENO: WARNING: zlib.h: see the Autoconf documentation" >&5
15331 $as_echo "$as_me: WARNING: zlib.h: see the Autoconf documentation" >&2;}
15332 { $as_echo "$as_me:$LINENO: WARNING: zlib.h: section \"Present But Cannot Be Compiled\"" >&5
15333 $as_echo "$as_me: WARNING: zlib.h: section \"Present But Cannot Be Compiled\"" >&2;}
15334 { $as_echo "$as_me:$LINENO: WARNING: zlib.h: proceeding with the preprocessor's result" >&5
15335 $as_echo "$as_me: WARNING: zlib.h: proceeding with the preprocessor's result" >&2;}
15336 { $as_echo "$as_me:$LINENO: WARNING: zlib.h: in the future, the compiler will take precedence" >&5
15337 $as_echo "$as_me: WARNING: zlib.h: in the future, the compiler will take precedence" >&2;}
15341 { $as_echo "$as_me:$LINENO: checking for zlib.h" >&5
15342 $as_echo_n "checking for zlib.h... " >&6; }
15343 if test "${ac_cv_header_zlib_h+set}" = set; then
15344 $as_echo_n "(cached) " >&6
15346 ac_cv_header_zlib_h=$ac_header_preproc
15348 { $as_echo "$as_me:$LINENO: result: $ac_cv_header_zlib_h" >&5
15349 $as_echo "$ac_cv_header_zlib_h" >&6; }
15352 if test "x$ac_cv_header_zlib_h" = x""yes; then
15359 if test "x$have_zlib" = xno; then
15360 { { $as_echo "$as_me:$LINENO: error: unable to find libz headers" >&5
15361 $as_echo "$as_me: error: unable to find libz headers" >&2;}
15362 { (exit 1); exit 1; }; }
15364 if test "${ac_cv_header_X11_extensions_Xv_h+set}" = set; then
15365 { $as_echo "$as_me:$LINENO: checking for X11/extensions/Xv.h" >&5
15366 $as_echo_n "checking for X11/extensions/Xv.h... " >&6; }
15367 if test "${ac_cv_header_X11_extensions_Xv_h+set}" = set; then
15368 $as_echo_n "(cached) " >&6
15370 { $as_echo "$as_me:$LINENO: result: $ac_cv_header_X11_extensions_Xv_h" >&5
15371 $as_echo "$ac_cv_header_X11_extensions_Xv_h" >&6; }
15373 # Is the header compilable?
15374 { $as_echo "$as_me:$LINENO: checking X11/extensions/Xv.h usability" >&5
15375 $as_echo_n "checking X11/extensions/Xv.h usability... " >&6; }
15376 cat >conftest.$ac_ext <<_ACEOF
15379 cat confdefs.h >>conftest.$ac_ext
15380 cat >>conftest.$ac_ext <<_ACEOF
15381 /* end confdefs.h. */
15382 $ac_includes_default
15383 #include <X11/extensions/Xv.h>
15385 rm -f conftest.$ac_objext
15386 if { (ac_try="$ac_compile"
15387 case "(($ac_try" in
15388 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15389 *) ac_try_echo=$ac_try;;
15391 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
15392 $as_echo "$ac_try_echo") >&5
15393 (eval "$ac_compile") 2>conftest.er1
15395 grep -v '^ *+' conftest.er1 >conftest.err
15397 cat conftest.err >&5
15398 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
15399 (exit $ac_status); } && {
15400 test -z "$ac_c_werror_flag" ||
15401 test ! -s conftest.err
15402 } && test -s conftest.$ac_objext; then
15403 ac_header_compiler=yes
15405 $as_echo "$as_me: failed program was:" >&5
15406 sed 's/^/| /' conftest.$ac_ext >&5
15408 ac_header_compiler=no
15411 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15412 { $as_echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
15413 $as_echo "$ac_header_compiler" >&6; }
15415 # Is the header present?
15416 { $as_echo "$as_me:$LINENO: checking X11/extensions/Xv.h presence" >&5
15417 $as_echo_n "checking X11/extensions/Xv.h presence... " >&6; }
15418 cat >conftest.$ac_ext <<_ACEOF
15421 cat confdefs.h >>conftest.$ac_ext
15422 cat >>conftest.$ac_ext <<_ACEOF
15423 /* end confdefs.h. */
15424 #include <X11/extensions/Xv.h>
15426 if { (ac_try="$ac_cpp conftest.$ac_ext"
15427 case "(($ac_try" in
15428 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15429 *) ac_try_echo=$ac_try;;
15431 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
15432 $as_echo "$ac_try_echo") >&5
15433 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
15435 grep -v '^ *+' conftest.er1 >conftest.err
15437 cat conftest.err >&5
15438 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
15439 (exit $ac_status); } >/dev/null && {
15440 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
15441 test ! -s conftest.err
15443 ac_header_preproc=yes
15445 $as_echo "$as_me: failed program was:" >&5
15446 sed 's/^/| /' conftest.$ac_ext >&5
15448 ac_header_preproc=no
15451 rm -f conftest.err conftest.$ac_ext
15452 { $as_echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
15453 $as_echo "$ac_header_preproc" >&6; }
15455 # So? What about this header?
15456 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
15458 { $as_echo "$as_me:$LINENO: WARNING: X11/extensions/Xv.h: accepted by the compiler, rejected by the preprocessor!" >&5
15459 $as_echo "$as_me: WARNING: X11/extensions/Xv.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
15460 { $as_echo "$as_me:$LINENO: WARNING: X11/extensions/Xv.h: proceeding with the compiler's result" >&5
15461 $as_echo "$as_me: WARNING: X11/extensions/Xv.h: proceeding with the compiler's result" >&2;}
15462 ac_header_preproc=yes
15465 { $as_echo "$as_me:$LINENO: WARNING: X11/extensions/Xv.h: present but cannot be compiled" >&5
15466 $as_echo "$as_me: WARNING: X11/extensions/Xv.h: present but cannot be compiled" >&2;}
15467 { $as_echo "$as_me:$LINENO: WARNING: X11/extensions/Xv.h: check for missing prerequisite headers?" >&5
15468 $as_echo "$as_me: WARNING: X11/extensions/Xv.h: check for missing prerequisite headers?" >&2;}
15469 { $as_echo "$as_me:$LINENO: WARNING: X11/extensions/Xv.h: see the Autoconf documentation" >&5
15470 $as_echo "$as_me: WARNING: X11/extensions/Xv.h: see the Autoconf documentation" >&2;}
15471 { $as_echo "$as_me:$LINENO: WARNING: X11/extensions/Xv.h: section \"Present But Cannot Be Compiled\"" >&5
15472 $as_echo "$as_me: WARNING: X11/extensions/Xv.h: section \"Present But Cannot Be Compiled\"" >&2;}
15473 { $as_echo "$as_me:$LINENO: WARNING: X11/extensions/Xv.h: proceeding with the preprocessor's result" >&5
15474 $as_echo "$as_me: WARNING: X11/extensions/Xv.h: proceeding with the preprocessor's result" >&2;}
15475 { $as_echo "$as_me:$LINENO: WARNING: X11/extensions/Xv.h: in the future, the compiler will take precedence" >&5
15476 $as_echo "$as_me: WARNING: X11/extensions/Xv.h: in the future, the compiler will take precedence" >&2;}
15480 { $as_echo "$as_me:$LINENO: checking for X11/extensions/Xv.h" >&5
15481 $as_echo_n "checking for X11/extensions/Xv.h... " >&6; }
15482 if test "${ac_cv_header_X11_extensions_Xv_h+set}" = set; then
15483 $as_echo_n "(cached) " >&6
15485 ac_cv_header_X11_extensions_Xv_h=$ac_header_preproc
15487 { $as_echo "$as_me:$LINENO: result: $ac_cv_header_X11_extensions_Xv_h" >&5
15488 $as_echo "$ac_cv_header_X11_extensions_Xv_h" >&6; }
15491 if test "x$ac_cv_header_X11_extensions_Xv_h" = x""yes; then
15498 if test "x$have_xv" = xno; then
15499 { { $as_echo "$as_me:$LINENO: error: unable to find xv headers" >&5
15500 $as_echo "$as_me: error: unable to find xv headers" >&2;}
15501 { (exit 1); exit 1; }; }
15503 if test "${ac_cv_header_X11_extensions_XTest_h+set}" = set; then
15504 { $as_echo "$as_me:$LINENO: checking for X11/extensions/XTest.h" >&5
15505 $as_echo_n "checking for X11/extensions/XTest.h... " >&6; }
15506 if test "${ac_cv_header_X11_extensions_XTest_h+set}" = set; then
15507 $as_echo_n "(cached) " >&6
15509 { $as_echo "$as_me:$LINENO: result: $ac_cv_header_X11_extensions_XTest_h" >&5
15510 $as_echo "$ac_cv_header_X11_extensions_XTest_h" >&6; }
15512 # Is the header compilable?
15513 { $as_echo "$as_me:$LINENO: checking X11/extensions/XTest.h usability" >&5
15514 $as_echo_n "checking X11/extensions/XTest.h usability... " >&6; }
15515 cat >conftest.$ac_ext <<_ACEOF
15518 cat confdefs.h >>conftest.$ac_ext
15519 cat >>conftest.$ac_ext <<_ACEOF
15520 /* end confdefs.h. */
15521 $ac_includes_default
15522 #include <X11/extensions/XTest.h>
15524 rm -f conftest.$ac_objext
15525 if { (ac_try="$ac_compile"
15526 case "(($ac_try" in
15527 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15528 *) ac_try_echo=$ac_try;;
15530 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
15531 $as_echo "$ac_try_echo") >&5
15532 (eval "$ac_compile") 2>conftest.er1
15534 grep -v '^ *+' conftest.er1 >conftest.err
15536 cat conftest.err >&5
15537 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
15538 (exit $ac_status); } && {
15539 test -z "$ac_c_werror_flag" ||
15540 test ! -s conftest.err
15541 } && test -s conftest.$ac_objext; then
15542 ac_header_compiler=yes
15544 $as_echo "$as_me: failed program was:" >&5
15545 sed 's/^/| /' conftest.$ac_ext >&5
15547 ac_header_compiler=no
15550 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15551 { $as_echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
15552 $as_echo "$ac_header_compiler" >&6; }
15554 # Is the header present?
15555 { $as_echo "$as_me:$LINENO: checking X11/extensions/XTest.h presence" >&5
15556 $as_echo_n "checking X11/extensions/XTest.h presence... " >&6; }
15557 cat >conftest.$ac_ext <<_ACEOF
15560 cat confdefs.h >>conftest.$ac_ext
15561 cat >>conftest.$ac_ext <<_ACEOF
15562 /* end confdefs.h. */
15563 #include <X11/extensions/XTest.h>
15565 if { (ac_try="$ac_cpp conftest.$ac_ext"
15566 case "(($ac_try" in
15567 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15568 *) ac_try_echo=$ac_try;;
15570 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
15571 $as_echo "$ac_try_echo") >&5
15572 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
15574 grep -v '^ *+' conftest.er1 >conftest.err
15576 cat conftest.err >&5
15577 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
15578 (exit $ac_status); } >/dev/null && {
15579 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
15580 test ! -s conftest.err
15582 ac_header_preproc=yes
15584 $as_echo "$as_me: failed program was:" >&5
15585 sed 's/^/| /' conftest.$ac_ext >&5
15587 ac_header_preproc=no
15590 rm -f conftest.err conftest.$ac_ext
15591 { $as_echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
15592 $as_echo "$ac_header_preproc" >&6; }
15594 # So? What about this header?
15595 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
15597 { $as_echo "$as_me:$LINENO: WARNING: X11/extensions/XTest.h: accepted by the compiler, rejected by the preprocessor!" >&5
15598 $as_echo "$as_me: WARNING: X11/extensions/XTest.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
15599 { $as_echo "$as_me:$LINENO: WARNING: X11/extensions/XTest.h: proceeding with the compiler's result" >&5
15600 $as_echo "$as_me: WARNING: X11/extensions/XTest.h: proceeding with the compiler's result" >&2;}
15601 ac_header_preproc=yes
15604 { $as_echo "$as_me:$LINENO: WARNING: X11/extensions/XTest.h: present but cannot be compiled" >&5
15605 $as_echo "$as_me: WARNING: X11/extensions/XTest.h: present but cannot be compiled" >&2;}
15606 { $as_echo "$as_me:$LINENO: WARNING: X11/extensions/XTest.h: check for missing prerequisite headers?" >&5
15607 $as_echo "$as_me: WARNING: X11/extensions/XTest.h: check for missing prerequisite headers?" >&2;}
15608 { $as_echo "$as_me:$LINENO: WARNING: X11/extensions/XTest.h: see the Autoconf documentation" >&5
15609 $as_echo "$as_me: WARNING: X11/extensions/XTest.h: see the Autoconf documentation" >&2;}
15610 { $as_echo "$as_me:$LINENO: WARNING: X11/extensions/XTest.h: section \"Present But Cannot Be Compiled\"" >&5
15611 $as_echo "$as_me: WARNING: X11/extensions/XTest.h: section \"Present But Cannot Be Compiled\"" >&2;}
15612 { $as_echo "$as_me:$LINENO: WARNING: X11/extensions/XTest.h: proceeding with the preprocessor's result" >&5
15613 $as_echo "$as_me: WARNING: X11/extensions/XTest.h: proceeding with the preprocessor's result" >&2;}
15614 { $as_echo "$as_me:$LINENO: WARNING: X11/extensions/XTest.h: in the future, the compiler will take precedence" >&5
15615 $as_echo "$as_me: WARNING: X11/extensions/XTest.h: in the future, the compiler will take precedence" >&2;}
15619 { $as_echo "$as_me:$LINENO: checking for X11/extensions/XTest.h" >&5
15620 $as_echo_n "checking for X11/extensions/XTest.h... " >&6; }
15621 if test "${ac_cv_header_X11_extensions_XTest_h+set}" = set; then
15622 $as_echo_n "(cached) " >&6
15624 ac_cv_header_X11_extensions_XTest_h=$ac_header_preproc
15626 { $as_echo "$as_me:$LINENO: result: $ac_cv_header_X11_extensions_XTest_h" >&5
15627 $as_echo "$ac_cv_header_X11_extensions_XTest_h" >&6; }
15630 if test "x$ac_cv_header_X11_extensions_XTest_h" = x""yes; then
15637 if test "x$have_xtest" = xno; then
15638 { { $as_echo "$as_me:$LINENO: error: unable to find xtest headers" >&5
15639 $as_echo "$as_me: error: unable to find xtest headers" >&2;}
15640 { (exit 1); exit 1; }; }
15645 USE_LIBCDIO_FALSE='#'
15647 USE_LIBCDIO_TRUE='#'
15652 # Check whether --enable-libcdio was given.
15653 if test "${enable_libcdio+set}" = set; then
15654 enableval=$enable_libcdio; BUILD_LIBCDIO="$enableval"
15660 if test "$BUILD_LIBCDIO" = "yes"; then
15663 { $as_echo "$as_me:$LINENO: checking for LIBCDIO" >&5
15664 $as_echo_n "checking for LIBCDIO... " >&6; }
15666 if test -n "$PKG_CONFIG"; then
15667 if test -n "$LIBCDIO_CFLAGS"; then
15668 pkg_cv_LIBCDIO_CFLAGS="$LIBCDIO_CFLAGS"
15670 if test -n "$PKG_CONFIG" && \
15671 { ($as_echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"libcdio\"") >&5
15672 ($PKG_CONFIG --exists --print-errors "libcdio") 2>&5
15674 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
15675 (exit $ac_status); }; then
15676 pkg_cv_LIBCDIO_CFLAGS=`$PKG_CONFIG --cflags "libcdio" 2>/dev/null`
15684 if test -n "$PKG_CONFIG"; then
15685 if test -n "$LIBCDIO_LIBS"; then
15686 pkg_cv_LIBCDIO_LIBS="$LIBCDIO_LIBS"
15688 if test -n "$PKG_CONFIG" && \
15689 { ($as_echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"libcdio\"") >&5
15690 ($PKG_CONFIG --exists --print-errors "libcdio") 2>&5
15692 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
15693 (exit $ac_status); }; then
15694 pkg_cv_LIBCDIO_LIBS=`$PKG_CONFIG --libs "libcdio" 2>/dev/null`
15705 if test $pkg_failed = yes; then
15707 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
15708 _pkg_short_errors_supported=yes
15710 _pkg_short_errors_supported=no
15712 if test $_pkg_short_errors_supported = yes; then
15713 LIBCDIO_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "libcdio"`
15715 LIBCDIO_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "libcdio"`
15717 # Put the nasty error message in config.log where it belongs
15718 echo "$LIBCDIO_PKG_ERRORS" >&5
15720 { $as_echo "$as_me:$LINENO: result: no" >&5
15721 $as_echo "no" >&6; }
15722 { { $as_echo "$as_me:$LINENO: error: *** libcdio not found!" >&5
15723 $as_echo "$as_me: error: *** libcdio not found!" >&2;}
15724 { (exit 1); exit 1; }; }
15725 elif test $pkg_failed = untried; then
15726 { { $as_echo "$as_me:$LINENO: error: *** libcdio not found!" >&5
15727 $as_echo "$as_me: error: *** libcdio not found!" >&2;}
15728 { (exit 1); exit 1; }; }
15730 LIBCDIO_CFLAGS=$pkg_cv_LIBCDIO_CFLAGS
15731 LIBCDIO_LIBS=$pkg_cv_LIBCDIO_LIBS
15732 { $as_echo "$as_me:$LINENO: result: yes" >&5
15733 $as_echo "yes" >&6; }
15738 USE_LIBCDIO_FALSE='#'
15740 USE_LIBCDIO_TRUE='#'
15749 # Check whether --enable-opengl was given.
15750 if test "${enable_opengl+set}" = set; then
15751 enableval=$enable_opengl; BUILD_OPENGL="$enableval"
15759 if test "$BUILD_OPENGL" = "yes"; then
15760 if test "${ac_cv_header_GL_gl_h+set}" = set; then
15761 { $as_echo "$as_me:$LINENO: checking for GL/gl.h" >&5
15762 $as_echo_n "checking for GL/gl.h... " >&6; }
15763 if test "${ac_cv_header_GL_gl_h+set}" = set; then
15764 $as_echo_n "(cached) " >&6
15766 { $as_echo "$as_me:$LINENO: result: $ac_cv_header_GL_gl_h" >&5
15767 $as_echo "$ac_cv_header_GL_gl_h" >&6; }
15769 # Is the header compilable?
15770 { $as_echo "$as_me:$LINENO: checking GL/gl.h usability" >&5
15771 $as_echo_n "checking GL/gl.h usability... " >&6; }
15772 cat >conftest.$ac_ext <<_ACEOF
15775 cat confdefs.h >>conftest.$ac_ext
15776 cat >>conftest.$ac_ext <<_ACEOF
15777 /* end confdefs.h. */
15778 $ac_includes_default
15781 rm -f conftest.$ac_objext
15782 if { (ac_try="$ac_compile"
15783 case "(($ac_try" in
15784 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15785 *) ac_try_echo=$ac_try;;
15787 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
15788 $as_echo "$ac_try_echo") >&5
15789 (eval "$ac_compile") 2>conftest.er1
15791 grep -v '^ *+' conftest.er1 >conftest.err
15793 cat conftest.err >&5
15794 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
15795 (exit $ac_status); } && {
15796 test -z "$ac_c_werror_flag" ||
15797 test ! -s conftest.err
15798 } && test -s conftest.$ac_objext; then
15799 ac_header_compiler=yes
15801 $as_echo "$as_me: failed program was:" >&5
15802 sed 's/^/| /' conftest.$ac_ext >&5
15804 ac_header_compiler=no
15807 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15808 { $as_echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
15809 $as_echo "$ac_header_compiler" >&6; }
15811 # Is the header present?
15812 { $as_echo "$as_me:$LINENO: checking GL/gl.h presence" >&5
15813 $as_echo_n "checking GL/gl.h presence... " >&6; }
15814 cat >conftest.$ac_ext <<_ACEOF
15817 cat confdefs.h >>conftest.$ac_ext
15818 cat >>conftest.$ac_ext <<_ACEOF
15819 /* end confdefs.h. */
15822 if { (ac_try="$ac_cpp conftest.$ac_ext"
15823 case "(($ac_try" in
15824 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15825 *) ac_try_echo=$ac_try;;
15827 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
15828 $as_echo "$ac_try_echo") >&5
15829 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
15831 grep -v '^ *+' conftest.er1 >conftest.err
15833 cat conftest.err >&5
15834 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
15835 (exit $ac_status); } >/dev/null && {
15836 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
15837 test ! -s conftest.err
15839 ac_header_preproc=yes
15841 $as_echo "$as_me: failed program was:" >&5
15842 sed 's/^/| /' conftest.$ac_ext >&5
15844 ac_header_preproc=no
15847 rm -f conftest.err conftest.$ac_ext
15848 { $as_echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
15849 $as_echo "$ac_header_preproc" >&6; }
15851 # So? What about this header?
15852 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
15854 { $as_echo "$as_me:$LINENO: WARNING: GL/gl.h: accepted by the compiler, rejected by the preprocessor!" >&5
15855 $as_echo "$as_me: WARNING: GL/gl.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
15856 { $as_echo "$as_me:$LINENO: WARNING: GL/gl.h: proceeding with the compiler's result" >&5
15857 $as_echo "$as_me: WARNING: GL/gl.h: proceeding with the compiler's result" >&2;}
15858 ac_header_preproc=yes
15861 { $as_echo "$as_me:$LINENO: WARNING: GL/gl.h: present but cannot be compiled" >&5
15862 $as_echo "$as_me: WARNING: GL/gl.h: present but cannot be compiled" >&2;}
15863 { $as_echo "$as_me:$LINENO: WARNING: GL/gl.h: check for missing prerequisite headers?" >&5
15864 $as_echo "$as_me: WARNING: GL/gl.h: check for missing prerequisite headers?" >&2;}
15865 { $as_echo "$as_me:$LINENO: WARNING: GL/gl.h: see the Autoconf documentation" >&5
15866 $as_echo "$as_me: WARNING: GL/gl.h: see the Autoconf documentation" >&2;}
15867 { $as_echo "$as_me:$LINENO: WARNING: GL/gl.h: section \"Present But Cannot Be Compiled\"" >&5
15868 $as_echo "$as_me: WARNING: GL/gl.h: section \"Present But Cannot Be Compiled\"" >&2;}
15869 { $as_echo "$as_me:$LINENO: WARNING: GL/gl.h: proceeding with the preprocessor's result" >&5
15870 $as_echo "$as_me: WARNING: GL/gl.h: proceeding with the preprocessor's result" >&2;}
15871 { $as_echo "$as_me:$LINENO: WARNING: GL/gl.h: in the future, the compiler will take precedence" >&5
15872 $as_echo "$as_me: WARNING: GL/gl.h: in the future, the compiler will take precedence" >&2;}
15876 { $as_echo "$as_me:$LINENO: checking for GL/gl.h" >&5
15877 $as_echo_n "checking for GL/gl.h... " >&6; }
15878 if test "${ac_cv_header_GL_gl_h+set}" = set; then
15879 $as_echo_n "(cached) " >&6
15881 ac_cv_header_GL_gl_h=$ac_header_preproc
15883 { $as_echo "$as_me:$LINENO: result: $ac_cv_header_GL_gl_h" >&5
15884 $as_echo "$ac_cv_header_GL_gl_h" >&6; }
15887 if test "x$ac_cv_header_GL_gl_h" = x""yes; then
15894 if test "x$have_gl" = xno; then
15895 { { $as_echo "$as_me:$LINENO: error: unable to find OpenGL headers" >&5
15896 $as_echo "$as_me: error: unable to find OpenGL headers" >&2;}
15897 { (exit 1); exit 1; }; }
15899 if test "${ac_cv_header_GL_glx_h+set}" = set; then
15900 { $as_echo "$as_me:$LINENO: checking for GL/glx.h" >&5
15901 $as_echo_n "checking for GL/glx.h... " >&6; }
15902 if test "${ac_cv_header_GL_glx_h+set}" = set; then
15903 $as_echo_n "(cached) " >&6
15905 { $as_echo "$as_me:$LINENO: result: $ac_cv_header_GL_glx_h" >&5
15906 $as_echo "$ac_cv_header_GL_glx_h" >&6; }
15908 # Is the header compilable?
15909 { $as_echo "$as_me:$LINENO: checking GL/glx.h usability" >&5
15910 $as_echo_n "checking GL/glx.h usability... " >&6; }
15911 cat >conftest.$ac_ext <<_ACEOF
15914 cat confdefs.h >>conftest.$ac_ext
15915 cat >>conftest.$ac_ext <<_ACEOF
15916 /* end confdefs.h. */
15917 $ac_includes_default
15918 #include <GL/glx.h>
15920 rm -f conftest.$ac_objext
15921 if { (ac_try="$ac_compile"
15922 case "(($ac_try" in
15923 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15924 *) ac_try_echo=$ac_try;;
15926 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
15927 $as_echo "$ac_try_echo") >&5
15928 (eval "$ac_compile") 2>conftest.er1
15930 grep -v '^ *+' conftest.er1 >conftest.err
15932 cat conftest.err >&5
15933 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
15934 (exit $ac_status); } && {
15935 test -z "$ac_c_werror_flag" ||
15936 test ! -s conftest.err
15937 } && test -s conftest.$ac_objext; then
15938 ac_header_compiler=yes
15940 $as_echo "$as_me: failed program was:" >&5
15941 sed 's/^/| /' conftest.$ac_ext >&5
15943 ac_header_compiler=no
15946 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15947 { $as_echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
15948 $as_echo "$ac_header_compiler" >&6; }
15950 # Is the header present?
15951 { $as_echo "$as_me:$LINENO: checking GL/glx.h presence" >&5
15952 $as_echo_n "checking GL/glx.h presence... " >&6; }
15953 cat >conftest.$ac_ext <<_ACEOF
15956 cat confdefs.h >>conftest.$ac_ext
15957 cat >>conftest.$ac_ext <<_ACEOF
15958 /* end confdefs.h. */
15959 #include <GL/glx.h>
15961 if { (ac_try="$ac_cpp conftest.$ac_ext"
15962 case "(($ac_try" in
15963 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15964 *) ac_try_echo=$ac_try;;
15966 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
15967 $as_echo "$ac_try_echo") >&5
15968 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
15970 grep -v '^ *+' conftest.er1 >conftest.err
15972 cat conftest.err >&5
15973 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
15974 (exit $ac_status); } >/dev/null && {
15975 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
15976 test ! -s conftest.err
15978 ac_header_preproc=yes
15980 $as_echo "$as_me: failed program was:" >&5
15981 sed 's/^/| /' conftest.$ac_ext >&5
15983 ac_header_preproc=no
15986 rm -f conftest.err conftest.$ac_ext
15987 { $as_echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
15988 $as_echo "$ac_header_preproc" >&6; }
15990 # So? What about this header?
15991 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
15993 { $as_echo "$as_me:$LINENO: WARNING: GL/glx.h: accepted by the compiler, rejected by the preprocessor!" >&5
15994 $as_echo "$as_me: WARNING: GL/glx.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
15995 { $as_echo "$as_me:$LINENO: WARNING: GL/glx.h: proceeding with the compiler's result" >&5
15996 $as_echo "$as_me: WARNING: GL/glx.h: proceeding with the compiler's result" >&2;}
15997 ac_header_preproc=yes
16000 { $as_echo "$as_me:$LINENO: WARNING: GL/glx.h: present but cannot be compiled" >&5
16001 $as_echo "$as_me: WARNING: GL/glx.h: present but cannot be compiled" >&2;}
16002 { $as_echo "$as_me:$LINENO: WARNING: GL/glx.h: check for missing prerequisite headers?" >&5
16003 $as_echo "$as_me: WARNING: GL/glx.h: check for missing prerequisite headers?" >&2;}
16004 { $as_echo "$as_me:$LINENO: WARNING: GL/glx.h: see the Autoconf documentation" >&5
16005 $as_echo "$as_me: WARNING: GL/glx.h: see the Autoconf documentation" >&2;}
16006 { $as_echo "$as_me:$LINENO: WARNING: GL/glx.h: section \"Present But Cannot Be Compiled\"" >&5
16007 $as_echo "$as_me: WARNING: GL/glx.h: section \"Present But Cannot Be Compiled\"" >&2;}
16008 { $as_echo "$as_me:$LINENO: WARNING: GL/glx.h: proceeding with the preprocessor's result" >&5
16009 $as_echo "$as_me: WARNING: GL/glx.h: proceeding with the preprocessor's result" >&2;}
16010 { $as_echo "$as_me:$LINENO: WARNING: GL/glx.h: in the future, the compiler will take precedence" >&5
16011 $as_echo "$as_me: WARNING: GL/glx.h: in the future, the compiler will take precedence" >&2;}
16015 { $as_echo "$as_me:$LINENO: checking for GL/glx.h" >&5
16016 $as_echo_n "checking for GL/glx.h... " >&6; }
16017 if test "${ac_cv_header_GL_glx_h+set}" = set; then
16018 $as_echo_n "(cached) " >&6
16020 ac_cv_header_GL_glx_h=$ac_header_preproc
16022 { $as_echo "$as_me:$LINENO: result: $ac_cv_header_GL_glx_h" >&5
16023 $as_echo "$ac_cv_header_GL_glx_h" >&6; }
16026 if test "x$ac_cv_header_GL_glx_h" = x""yes; then
16033 if test "x$have_glx" = xno; then
16034 { { $as_echo "$as_me:$LINENO: error: unable to find GLX headers" >&5
16035 $as_echo "$as_me: error: unable to find GLX headers" >&2;}
16036 { (exit 1); exit 1; }; }
16038 { $as_echo "$as_me:$LINENO: checking for X11/extensions/xf86vmode.h" >&5
16039 $as_echo_n "checking for X11/extensions/xf86vmode.h... " >&6; }
16040 if test "${ac_cv_header_X11_extensions_xf86vmode_h+set}" = set; then
16041 $as_echo_n "(cached) " >&6
16043 cat >conftest.$ac_ext <<_ACEOF
16046 cat confdefs.h >>conftest.$ac_ext
16047 cat >>conftest.$ac_ext <<_ACEOF
16048 /* end confdefs.h. */
16050 #include <GL/glx.h>
16053 #include <X11/extensions/xf86vmode.h>
16055 rm -f conftest.$ac_objext
16056 if { (ac_try="$ac_compile"
16057 case "(($ac_try" in
16058 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16059 *) ac_try_echo=$ac_try;;
16061 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
16062 $as_echo "$ac_try_echo") >&5
16063 (eval "$ac_compile") 2>conftest.er1
16065 grep -v '^ *+' conftest.er1 >conftest.err
16067 cat conftest.err >&5
16068 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
16069 (exit $ac_status); } && {
16070 test -z "$ac_c_werror_flag" ||
16071 test ! -s conftest.err
16072 } && test -s conftest.$ac_objext; then
16073 ac_cv_header_X11_extensions_xf86vmode_h=yes
16075 $as_echo "$as_me: failed program was:" >&5
16076 sed 's/^/| /' conftest.$ac_ext >&5
16078 ac_cv_header_X11_extensions_xf86vmode_h=no
16081 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16083 { $as_echo "$as_me:$LINENO: result: $ac_cv_header_X11_extensions_xf86vmode_h" >&5
16084 $as_echo "$ac_cv_header_X11_extensions_xf86vmode_h" >&6; }
16085 if test "x$ac_cv_header_X11_extensions_xf86vmode_h" = x""yes; then
16092 if test "x$have_vmode" = xno; then
16093 { { $as_echo "$as_me:$LINENO: error: unable to find xf86vmode headers" >&5
16094 $as_echo "$as_me: error: unable to find xf86vmode headers" >&2;}
16095 { (exit 1); exit 1; }; }
16097 PEOPSXGL="plugins/peopsxgl"
16099 ac_config_files="$ac_config_files plugins/peopsxgl/Makefile"
16112 if expr x"$target_cpu" : 'xi.86' > /dev/null; then
16113 if expr x"$target_os" : 'x.*linux.*' > /dev/null; then
16114 # Extract the first word of "nasm", so it can be a program name with args.
16115 set dummy nasm; ac_word=$2
16116 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
16117 $as_echo_n "checking for $ac_word... " >&6; }
16118 if test "${ac_cv_path_NASM+set}" = set; then
16119 $as_echo_n "(cached) " >&6
16123 ac_cv_path_NASM="$NASM" # Let the user override the test with a path.
16126 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
16127 for as_dir in $PATH
16130 test -z "$as_dir" && as_dir=.
16131 for ac_exec_ext in '' $ac_executable_extensions; do
16132 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
16133 ac_cv_path_NASM="$as_dir/$ac_word$ac_exec_ext"
16134 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
16141 test -z "$ac_cv_path_NASM" && ac_cv_path_NASM="missing"
16145 NASM=$ac_cv_path_NASM
16146 if test -n "$NASM"; then
16147 { $as_echo "$as_me:$LINENO: result: $NASM" >&5
16148 $as_echo "$NASM" >&6; }
16150 { $as_echo "$as_me:$LINENO: result: no" >&5
16151 $as_echo "no" >&6; }
16155 if test "$NASM" = "missing"; then
16156 { $as_echo "$as_me:$LINENO: WARNING: unable to find nasm, needed to build dfx11video" >&5
16157 $as_echo "$as_me: WARNING: unable to find nasm, needed to build dfx11video" >&2;}
16189 ARCH_X86_64_FALSE='#'
16191 ARCH_X86_64_TRUE='#'
16204 # Check whether --enable-dynarec was given.
16205 if test "${enable_dynarec+set}" = set; then
16206 enableval=$enable_dynarec; DYNAREC="$enableval"
16212 if test "x$DYNAREC" = xauto; then
16214 else if test "x$DYNAREC" = xx86; then
16216 else if test "x$DYNAREC" = xx86_64; then
16217 DYNARECSEL="x86_64"
16218 else if test "x$DYNAREC" = xppc; then
16220 else if test "x$DYNAREC" = xno; then
16223 { $as_echo "$as_me:$LINENO: WARNING: Dynamic Recompiler \"$DYNAREC\" not found. Autodetecting..." >&5
16224 $as_echo "$as_me: WARNING: Dynamic Recompiler \"$DYNAREC\" not found. Autodetecting..." >&2;}
16232 if test "x$DYNARECSEL" = xauto; then
16233 if expr x"$target_cpu" : 'xi.86' > /dev/null; then
16237 if expr x"$target_cpu" : 'xx86_64' > /dev/null; then
16238 DYNARECSEL="x86_64"
16241 if expr x"$target_cpu" : 'xpowerpc' > /dev/null; then
16246 if test "x$DYNARECSEL" = xno; then
16248 cat >>confdefs.h <<\_ACEOF
16254 if test "x$DYNARECSEL" = xx86; then
16256 cat >>confdefs.h <<\_ACEOF
16269 { $as_echo "$as_me:$LINENO: result: Dynamic Recompiler selected: x86" >&5
16270 $as_echo "Dynamic Recompiler selected: x86" >&6; }
16273 if test "x$DYNARECSEL" = xx86_64; then
16275 cat >>confdefs.h <<\_ACEOF
16276 #define __x86_64__ 1
16281 ARCH_X86_64_FALSE='#'
16283 ARCH_X86_64_TRUE='#'
16287 { $as_echo "$as_me:$LINENO: result: Dynamic Recompiler selected: x86_64" >&5
16288 $as_echo "Dynamic Recompiler selected: x86_64" >&6; }
16291 if test "x$DYNARECSEL" = xppc; then
16293 cat >>confdefs.h <<\_ACEOF
16305 { $as_echo "$as_me:$LINENO: result: Dynamic Recompiler selected: ppc" >&5
16306 $as_echo "Dynamic Recompiler selected: ppc" >&6; }
16310 { $as_echo "$as_me:$LINENO: checking whether byte ordering is bigendian" >&5
16311 $as_echo_n "checking whether byte ordering is bigendian... " >&6; }
16312 if test "${ac_cv_c_bigendian+set}" = set; then
16313 $as_echo_n "(cached) " >&6
16315 ac_cv_c_bigendian=unknown
16316 # See if we're dealing with a universal compiler.
16317 cat >conftest.$ac_ext <<_ACEOF
16320 cat confdefs.h >>conftest.$ac_ext
16321 cat >>conftest.$ac_ext <<_ACEOF
16322 /* end confdefs.h. */
16323 #ifndef __APPLE_CC__
16324 not a universal capable compiler
16329 rm -f conftest.$ac_objext
16330 if { (ac_try="$ac_compile"
16331 case "(($ac_try" in
16332 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16333 *) ac_try_echo=$ac_try;;
16335 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
16336 $as_echo "$ac_try_echo") >&5
16337 (eval "$ac_compile") 2>conftest.er1
16339 grep -v '^ *+' conftest.er1 >conftest.err
16341 cat conftest.err >&5
16342 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
16343 (exit $ac_status); } && {
16344 test -z "$ac_c_werror_flag" ||
16345 test ! -s conftest.err
16346 } && test -s conftest.$ac_objext; then
16348 # Check for potential -arch flags. It is not universal unless
16349 # there are some -arch flags. Note that *ppc* also matches
16350 # ppc64. This check is also rather less than ideal.
16351 case "${CC} ${CFLAGS} ${CPPFLAGS} ${LDFLAGS}" in #(
16352 *-arch*ppc*|*-arch*i386*|*-arch*x86_64*) ac_cv_c_bigendian=universal;;
16355 $as_echo "$as_me: failed program was:" >&5
16356 sed 's/^/| /' conftest.$ac_ext >&5
16361 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16362 if test $ac_cv_c_bigendian = unknown; then
16363 # See if sys/param.h defines the BYTE_ORDER macro.
16364 cat >conftest.$ac_ext <<_ACEOF
16367 cat confdefs.h >>conftest.$ac_ext
16368 cat >>conftest.$ac_ext <<_ACEOF
16369 /* end confdefs.h. */
16370 #include <sys/types.h>
16371 #include <sys/param.h>
16376 #if ! (defined BYTE_ORDER && defined BIG_ENDIAN \
16377 && defined LITTLE_ENDIAN && BYTE_ORDER && BIG_ENDIAN \
16379 bogus endian macros
16386 rm -f conftest.$ac_objext
16387 if { (ac_try="$ac_compile"
16388 case "(($ac_try" in
16389 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16390 *) ac_try_echo=$ac_try;;
16392 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
16393 $as_echo "$ac_try_echo") >&5
16394 (eval "$ac_compile") 2>conftest.er1
16396 grep -v '^ *+' conftest.er1 >conftest.err
16398 cat conftest.err >&5
16399 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
16400 (exit $ac_status); } && {
16401 test -z "$ac_c_werror_flag" ||
16402 test ! -s conftest.err
16403 } && test -s conftest.$ac_objext; then
16404 # It does; now see whether it defined to BIG_ENDIAN or not.
16405 cat >conftest.$ac_ext <<_ACEOF
16408 cat confdefs.h >>conftest.$ac_ext
16409 cat >>conftest.$ac_ext <<_ACEOF
16410 /* end confdefs.h. */
16411 #include <sys/types.h>
16412 #include <sys/param.h>
16417 #if BYTE_ORDER != BIG_ENDIAN
16425 rm -f conftest.$ac_objext
16426 if { (ac_try="$ac_compile"
16427 case "(($ac_try" in
16428 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16429 *) ac_try_echo=$ac_try;;
16431 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
16432 $as_echo "$ac_try_echo") >&5
16433 (eval "$ac_compile") 2>conftest.er1
16435 grep -v '^ *+' conftest.er1 >conftest.err
16437 cat conftest.err >&5
16438 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
16439 (exit $ac_status); } && {
16440 test -z "$ac_c_werror_flag" ||
16441 test ! -s conftest.err
16442 } && test -s conftest.$ac_objext; then
16443 ac_cv_c_bigendian=yes
16445 $as_echo "$as_me: failed program was:" >&5
16446 sed 's/^/| /' conftest.$ac_ext >&5
16448 ac_cv_c_bigendian=no
16451 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16453 $as_echo "$as_me: failed program was:" >&5
16454 sed 's/^/| /' conftest.$ac_ext >&5
16459 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16461 if test $ac_cv_c_bigendian = unknown; then
16462 # See if <limits.h> defines _LITTLE_ENDIAN or _BIG_ENDIAN (e.g., Solaris).
16463 cat >conftest.$ac_ext <<_ACEOF
16466 cat confdefs.h >>conftest.$ac_ext
16467 cat >>conftest.$ac_ext <<_ACEOF
16468 /* end confdefs.h. */
16469 #include <limits.h>
16474 #if ! (defined _LITTLE_ENDIAN || defined _BIG_ENDIAN)
16475 bogus endian macros
16482 rm -f conftest.$ac_objext
16483 if { (ac_try="$ac_compile"
16484 case "(($ac_try" in
16485 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16486 *) ac_try_echo=$ac_try;;
16488 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
16489 $as_echo "$ac_try_echo") >&5
16490 (eval "$ac_compile") 2>conftest.er1
16492 grep -v '^ *+' conftest.er1 >conftest.err
16494 cat conftest.err >&5
16495 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
16496 (exit $ac_status); } && {
16497 test -z "$ac_c_werror_flag" ||
16498 test ! -s conftest.err
16499 } && test -s conftest.$ac_objext; then
16500 # It does; now see whether it defined to _BIG_ENDIAN or not.
16501 cat >conftest.$ac_ext <<_ACEOF
16504 cat confdefs.h >>conftest.$ac_ext
16505 cat >>conftest.$ac_ext <<_ACEOF
16506 /* end confdefs.h. */
16507 #include <limits.h>
16512 #ifndef _BIG_ENDIAN
16520 rm -f conftest.$ac_objext
16521 if { (ac_try="$ac_compile"
16522 case "(($ac_try" in
16523 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16524 *) ac_try_echo=$ac_try;;
16526 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
16527 $as_echo "$ac_try_echo") >&5
16528 (eval "$ac_compile") 2>conftest.er1
16530 grep -v '^ *+' conftest.er1 >conftest.err
16532 cat conftest.err >&5
16533 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
16534 (exit $ac_status); } && {
16535 test -z "$ac_c_werror_flag" ||
16536 test ! -s conftest.err
16537 } && test -s conftest.$ac_objext; then
16538 ac_cv_c_bigendian=yes
16540 $as_echo "$as_me: failed program was:" >&5
16541 sed 's/^/| /' conftest.$ac_ext >&5
16543 ac_cv_c_bigendian=no
16546 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16548 $as_echo "$as_me: failed program was:" >&5
16549 sed 's/^/| /' conftest.$ac_ext >&5
16554 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16556 if test $ac_cv_c_bigendian = unknown; then
16557 # Compile a test program.
16558 if test "$cross_compiling" = yes; then
16559 # Try to guess by grepping values from an object file.
16560 cat >conftest.$ac_ext <<_ACEOF
16563 cat confdefs.h >>conftest.$ac_ext
16564 cat >>conftest.$ac_ext <<_ACEOF
16565 /* end confdefs.h. */
16566 short int ascii_mm[] =
16567 { 0x4249, 0x4765, 0x6E44, 0x6961, 0x6E53, 0x7953, 0 };
16568 short int ascii_ii[] =
16569 { 0x694C, 0x5454, 0x656C, 0x6E45, 0x6944, 0x6E61, 0 };
16570 int use_ascii (int i) {
16571 return ascii_mm[i] + ascii_ii[i];
16573 short int ebcdic_ii[] =
16574 { 0x89D3, 0xE3E3, 0x8593, 0x95C5, 0x89C4, 0x9581, 0 };
16575 short int ebcdic_mm[] =
16576 { 0xC2C9, 0xC785, 0x95C4, 0x8981, 0x95E2, 0xA8E2, 0 };
16577 int use_ebcdic (int i) {
16578 return ebcdic_mm[i] + ebcdic_ii[i];
16585 return use_ascii (foo) == use_ebcdic (foo);
16590 rm -f conftest.$ac_objext
16591 if { (ac_try="$ac_compile"
16592 case "(($ac_try" in
16593 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16594 *) ac_try_echo=$ac_try;;
16596 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
16597 $as_echo "$ac_try_echo") >&5
16598 (eval "$ac_compile") 2>conftest.er1
16600 grep -v '^ *+' conftest.er1 >conftest.err
16602 cat conftest.err >&5
16603 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
16604 (exit $ac_status); } && {
16605 test -z "$ac_c_werror_flag" ||
16606 test ! -s conftest.err
16607 } && test -s conftest.$ac_objext; then
16608 if grep BIGenDianSyS conftest.$ac_objext >/dev/null; then
16609 ac_cv_c_bigendian=yes
16611 if grep LiTTleEnDian conftest.$ac_objext >/dev/null ; then
16612 if test "$ac_cv_c_bigendian" = unknown; then
16613 ac_cv_c_bigendian=no
16615 # finding both strings is unlikely to happen, but who knows?
16616 ac_cv_c_bigendian=unknown
16620 $as_echo "$as_me: failed program was:" >&5
16621 sed 's/^/| /' conftest.$ac_ext >&5
16626 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16628 cat >conftest.$ac_ext <<_ACEOF
16631 cat confdefs.h >>conftest.$ac_ext
16632 cat >>conftest.$ac_ext <<_ACEOF
16633 /* end confdefs.h. */
16634 $ac_includes_default
16639 /* Are we little or big endian? From Harbison&Steele. */
16643 char c[sizeof (long int)];
16646 return u.c[sizeof (long int) - 1] == 1;
16652 rm -f conftest$ac_exeext
16653 if { (ac_try="$ac_link"
16654 case "(($ac_try" in
16655 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16656 *) ac_try_echo=$ac_try;;
16658 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
16659 $as_echo "$ac_try_echo") >&5
16660 (eval "$ac_link") 2>&5
16662 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
16663 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
16664 { (case "(($ac_try" in
16665 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16666 *) ac_try_echo=$ac_try;;
16668 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
16669 $as_echo "$ac_try_echo") >&5
16670 (eval "$ac_try") 2>&5
16672 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
16673 (exit $ac_status); }; }; then
16674 ac_cv_c_bigendian=no
16676 $as_echo "$as_me: program exited with status $ac_status" >&5
16677 $as_echo "$as_me: failed program was:" >&5
16678 sed 's/^/| /' conftest.$ac_ext >&5
16680 ( exit $ac_status )
16681 ac_cv_c_bigendian=yes
16683 rm -rf conftest.dSYM
16684 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
16690 { $as_echo "$as_me:$LINENO: result: $ac_cv_c_bigendian" >&5
16691 $as_echo "$ac_cv_c_bigendian" >&6; }
16692 case $ac_cv_c_bigendian in #(
16695 cat >>confdefs.h <<\_ACEOF
16696 #define __BIGENDIAN__ /**/
16703 cat >>confdefs.h <<\_ACEOF
16704 #define AC_APPLE_UNIVERSAL_BUILD 1
16709 { { $as_echo "$as_me:$LINENO: error: unknown endianness
16710 presetting ac_cv_c_bigendian=no (or yes) will help" >&5
16711 $as_echo "$as_me: error: unknown endianness
16712 presetting ac_cv_c_bigendian=no (or yes) will help" >&2;}
16713 { (exit 1); exit 1; }; } ;;
16718 cat >>confdefs.h <<\_ACEOF
16719 #define __LINUX__ 1
16723 cat >>confdefs.h <<\_ACEOF
16724 #define MAXPATHLEN 4096
16728 cat >confcache <<\_ACEOF
16729 # This file is a shell script that caches the results of configure
16730 # tests run on this system so they can be shared between configure
16731 # scripts and configure runs, see configure's option --config-cache.
16732 # It is not useful on other systems. If it contains results you don't
16733 # want to keep, you may remove or edit it.
16735 # config.status only pays attention to the cache file if you give it
16736 # the --recheck option to rerun configure.
16738 # `ac_cv_env_foo' variables (set or unset) will be overridden when
16739 # loading this file, other *unset* `ac_cv_foo' will be assigned the
16740 # following values.
16744 # The following way of writing the cache mishandles newlines in values,
16745 # but we know of no workaround that is simple, portable, and efficient.
16746 # So, we kill variables containing newlines.
16747 # Ultrix sh set writes to stderr and can't be redirected directly,
16748 # and sets the high bit in the cache file unless we assign to the vars.
16750 for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
16751 eval ac_val=\$$ac_var
16755 *_cv_*) { $as_echo "$as_me:$LINENO: WARNING: cache variable $ac_var contains a newline" >&5
16756 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
16759 _ | IFS | as_nl) ;; #(
16760 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
16761 *) $as_unset $ac_var ;;
16767 case $as_nl`(ac_space=' '; set) 2>&1` in #(
16768 *${as_nl}ac_space=\ *)
16769 # `set' does not quote correctly, so add quotes (double-quote
16770 # substitution turns \\\\ into \\, and sed turns \\ into \).
16773 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
16776 # `set' quotes correctly as required by POSIX, so do not add quotes.
16777 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
16786 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
16788 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
16790 if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
16791 if test -w "$cache_file"; then
16792 test "x$cache_file" != "x/dev/null" &&
16793 { $as_echo "$as_me:$LINENO: updating cache $cache_file" >&5
16794 $as_echo "$as_me: updating cache $cache_file" >&6;}
16795 cat confcache >$cache_file
16797 { $as_echo "$as_me:$LINENO: not updating unwritable cache $cache_file" >&5
16798 $as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
16803 test "x$prefix" = xNONE && prefix=$ac_default_prefix
16804 # Let make expand exec_prefix.
16805 test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
16807 DEFS=-DHAVE_CONFIG_H
16811 for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
16812 # 1. Remove the extension, and $U if already installed.
16813 ac_script='s/\$U\././;s/\.o$//;s/\.obj$//'
16814 ac_i=`$as_echo "$ac_i" | sed "$ac_script"`
16815 # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR
16816 # will be set to the directory where LIBOBJS objects are built.
16817 ac_libobjs="$ac_libobjs \${LIBOBJDIR}$ac_i\$U.$ac_objext"
16818 ac_ltlibobjs="$ac_ltlibobjs \${LIBOBJDIR}$ac_i"'$U.lo'
16820 LIBOBJS=$ac_libobjs
16822 LTLIBOBJS=$ac_ltlibobjs
16825 if test -z "${MAINTAINER_MODE_TRUE}" && test -z "${MAINTAINER_MODE_FALSE}"; then
16826 { { $as_echo "$as_me:$LINENO: error: conditional \"MAINTAINER_MODE\" was never defined.
16827 Usually this means the macro was only invoked conditionally." >&5
16828 $as_echo "$as_me: error: conditional \"MAINTAINER_MODE\" was never defined.
16829 Usually this means the macro was only invoked conditionally." >&2;}
16830 { (exit 1); exit 1; }; }
16832 if test -z "${AMDEP_TRUE}" && test -z "${AMDEP_FALSE}"; then
16833 { { $as_echo "$as_me:$LINENO: error: conditional \"AMDEP\" was never defined.
16834 Usually this means the macro was only invoked conditionally." >&5
16835 $as_echo "$as_me: error: conditional \"AMDEP\" was never defined.
16836 Usually this means the macro was only invoked conditionally." >&2;}
16837 { (exit 1); exit 1; }; }
16839 if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
16840 { { $as_echo "$as_me:$LINENO: error: conditional \"am__fastdepCC\" was never defined.
16841 Usually this means the macro was only invoked conditionally." >&5
16842 $as_echo "$as_me: error: conditional \"am__fastdepCC\" was never defined.
16843 Usually this means the macro was only invoked conditionally." >&2;}
16844 { (exit 1); exit 1; }; }
16846 if test -z "${am__fastdepCCAS_TRUE}" && test -z "${am__fastdepCCAS_FALSE}"; then
16847 { { $as_echo "$as_me:$LINENO: error: conditional \"am__fastdepCCAS\" was never defined.
16848 Usually this means the macro was only invoked conditionally." >&5
16849 $as_echo "$as_me: error: conditional \"am__fastdepCCAS\" was never defined.
16850 Usually this means the macro was only invoked conditionally." >&2;}
16851 { (exit 1); exit 1; }; }
16853 if test -z "${SOUND_OSS_TRUE}" && test -z "${SOUND_OSS_FALSE}"; then
16854 { { $as_echo "$as_me:$LINENO: error: conditional \"SOUND_OSS\" was never defined.
16855 Usually this means the macro was only invoked conditionally." >&5
16856 $as_echo "$as_me: error: conditional \"SOUND_OSS\" was never defined.
16857 Usually this means the macro was only invoked conditionally." >&2;}
16858 { (exit 1); exit 1; }; }
16860 if test -z "${SOUND_SDL_TRUE}" && test -z "${SOUND_SDL_FALSE}"; then
16861 { { $as_echo "$as_me:$LINENO: error: conditional \"SOUND_SDL\" was never defined.
16862 Usually this means the macro was only invoked conditionally." >&5
16863 $as_echo "$as_me: error: conditional \"SOUND_SDL\" was never defined.
16864 Usually this means the macro was only invoked conditionally." >&2;}
16865 { (exit 1); exit 1; }; }
16867 if test -z "${SOUND_NULL_TRUE}" && test -z "${SOUND_NULL_FALSE}"; then
16868 { { $as_echo "$as_me:$LINENO: error: conditional \"SOUND_NULL\" was never defined.
16869 Usually this means the macro was only invoked conditionally." >&5
16870 $as_echo "$as_me: error: conditional \"SOUND_NULL\" was never defined.
16871 Usually this means the macro was only invoked conditionally." >&2;}
16872 { (exit 1); exit 1; }; }
16874 if test -z "${SOUND_OSS_TRUE}" && test -z "${SOUND_OSS_FALSE}"; then
16875 { { $as_echo "$as_me:$LINENO: error: conditional \"SOUND_OSS\" was never defined.
16876 Usually this means the macro was only invoked conditionally." >&5
16877 $as_echo "$as_me: error: conditional \"SOUND_OSS\" was never defined.
16878 Usually this means the macro was only invoked conditionally." >&2;}
16879 { (exit 1); exit 1; }; }
16881 if test -z "${SOUND_NULL_TRUE}" && test -z "${SOUND_NULL_FALSE}"; then
16882 { { $as_echo "$as_me:$LINENO: error: conditional \"SOUND_NULL\" was never defined.
16883 Usually this means the macro was only invoked conditionally." >&5
16884 $as_echo "$as_me: error: conditional \"SOUND_NULL\" was never defined.
16885 Usually this means the macro was only invoked conditionally." >&2;}
16886 { (exit 1); exit 1; }; }
16888 if test -z "${SOUND_NULL_TRUE}" && test -z "${SOUND_NULL_FALSE}"; then
16889 { { $as_echo "$as_me:$LINENO: error: conditional \"SOUND_NULL\" was never defined.
16890 Usually this means the macro was only invoked conditionally." >&5
16891 $as_echo "$as_me: error: conditional \"SOUND_NULL\" was never defined.
16892 Usually this means the macro was only invoked conditionally." >&2;}
16893 { (exit 1); exit 1; }; }
16895 if test -z "${SOUND_SDL_TRUE}" && test -z "${SOUND_SDL_FALSE}"; then
16896 { { $as_echo "$as_me:$LINENO: error: conditional \"SOUND_SDL\" was never defined.
16897 Usually this means the macro was only invoked conditionally." >&5
16898 $as_echo "$as_me: error: conditional \"SOUND_SDL\" was never defined.
16899 Usually this means the macro was only invoked conditionally." >&2;}
16900 { (exit 1); exit 1; }; }
16902 if test -z "${SOUND_ALSA_TRUE}" && test -z "${SOUND_ALSA_FALSE}"; then
16903 { { $as_echo "$as_me:$LINENO: error: conditional \"SOUND_ALSA\" was never defined.
16904 Usually this means the macro was only invoked conditionally." >&5
16905 $as_echo "$as_me: error: conditional \"SOUND_ALSA\" was never defined.
16906 Usually this means the macro was only invoked conditionally." >&2;}
16907 { (exit 1); exit 1; }; }
16909 if test -z "${SOUND_PULSEAUDIO_TRUE}" && test -z "${SOUND_PULSEAUDIO_FALSE}"; then
16910 { { $as_echo "$as_me:$LINENO: error: conditional \"SOUND_PULSEAUDIO\" was never defined.
16911 Usually this means the macro was only invoked conditionally." >&5
16912 $as_echo "$as_me: error: conditional \"SOUND_PULSEAUDIO\" was never defined.
16913 Usually this means the macro was only invoked conditionally." >&2;}
16914 { (exit 1); exit 1; }; }
16916 if test -z "${USE_LIBCDIO_TRUE}" && test -z "${USE_LIBCDIO_FALSE}"; then
16917 { { $as_echo "$as_me:$LINENO: error: conditional \"USE_LIBCDIO\" was never defined.
16918 Usually this means the macro was only invoked conditionally." >&5
16919 $as_echo "$as_me: error: conditional \"USE_LIBCDIO\" was never defined.
16920 Usually this means the macro was only invoked conditionally." >&2;}
16921 { (exit 1); exit 1; }; }
16923 if test -z "${USE_LIBCDIO_TRUE}" && test -z "${USE_LIBCDIO_FALSE}"; then
16924 { { $as_echo "$as_me:$LINENO: error: conditional \"USE_LIBCDIO\" was never defined.
16925 Usually this means the macro was only invoked conditionally." >&5
16926 $as_echo "$as_me: error: conditional \"USE_LIBCDIO\" was never defined.
16927 Usually this means the macro was only invoked conditionally." >&2;}
16928 { (exit 1); exit 1; }; }
16930 if test -z "${X86_NASM_TRUE}" && test -z "${X86_NASM_FALSE}"; then
16931 { { $as_echo "$as_me:$LINENO: error: conditional \"X86_NASM\" was never defined.
16932 Usually this means the macro was only invoked conditionally." >&5
16933 $as_echo "$as_me: error: conditional \"X86_NASM\" was never defined.
16934 Usually this means the macro was only invoked conditionally." >&2;}
16935 { (exit 1); exit 1; }; }
16937 if test -z "${X86_NASM_TRUE}" && test -z "${X86_NASM_FALSE}"; then
16938 { { $as_echo "$as_me:$LINENO: error: conditional \"X86_NASM\" was never defined.
16939 Usually this means the macro was only invoked conditionally." >&5
16940 $as_echo "$as_me: error: conditional \"X86_NASM\" was never defined.
16941 Usually this means the macro was only invoked conditionally." >&2;}
16942 { (exit 1); exit 1; }; }
16944 if test -z "${X86_NASM_TRUE}" && test -z "${X86_NASM_FALSE}"; then
16945 { { $as_echo "$as_me:$LINENO: error: conditional \"X86_NASM\" was never defined.
16946 Usually this means the macro was only invoked conditionally." >&5
16947 $as_echo "$as_me: error: conditional \"X86_NASM\" was never defined.
16948 Usually this means the macro was only invoked conditionally." >&2;}
16949 { (exit 1); exit 1; }; }
16951 if test -z "${ARCH_X86_TRUE}" && test -z "${ARCH_X86_FALSE}"; then
16952 { { $as_echo "$as_me:$LINENO: error: conditional \"ARCH_X86\" was never defined.
16953 Usually this means the macro was only invoked conditionally." >&5
16954 $as_echo "$as_me: error: conditional \"ARCH_X86\" was never defined.
16955 Usually this means the macro was only invoked conditionally." >&2;}
16956 { (exit 1); exit 1; }; }
16958 if test -z "${ARCH_X86_64_TRUE}" && test -z "${ARCH_X86_64_FALSE}"; then
16959 { { $as_echo "$as_me:$LINENO: error: conditional \"ARCH_X86_64\" was never defined.
16960 Usually this means the macro was only invoked conditionally." >&5
16961 $as_echo "$as_me: error: conditional \"ARCH_X86_64\" was never defined.
16962 Usually this means the macro was only invoked conditionally." >&2;}
16963 { (exit 1); exit 1; }; }
16965 if test -z "${ARCH_PPC_TRUE}" && test -z "${ARCH_PPC_FALSE}"; then
16966 { { $as_echo "$as_me:$LINENO: error: conditional \"ARCH_PPC\" was never defined.
16967 Usually this means the macro was only invoked conditionally." >&5
16968 $as_echo "$as_me: error: conditional \"ARCH_PPC\" was never defined.
16969 Usually this means the macro was only invoked conditionally." >&2;}
16970 { (exit 1); exit 1; }; }
16972 if test -z "${ARCH_X86_TRUE}" && test -z "${ARCH_X86_FALSE}"; then
16973 { { $as_echo "$as_me:$LINENO: error: conditional \"ARCH_X86\" was never defined.
16974 Usually this means the macro was only invoked conditionally." >&5
16975 $as_echo "$as_me: error: conditional \"ARCH_X86\" was never defined.
16976 Usually this means the macro was only invoked conditionally." >&2;}
16977 { (exit 1); exit 1; }; }
16979 if test -z "${ARCH_X86_64_TRUE}" && test -z "${ARCH_X86_64_FALSE}"; then
16980 { { $as_echo "$as_me:$LINENO: error: conditional \"ARCH_X86_64\" was never defined.
16981 Usually this means the macro was only invoked conditionally." >&5
16982 $as_echo "$as_me: error: conditional \"ARCH_X86_64\" was never defined.
16983 Usually this means the macro was only invoked conditionally." >&2;}
16984 { (exit 1); exit 1; }; }
16986 if test -z "${ARCH_PPC_TRUE}" && test -z "${ARCH_PPC_FALSE}"; then
16987 { { $as_echo "$as_me:$LINENO: error: conditional \"ARCH_PPC\" was never defined.
16988 Usually this means the macro was only invoked conditionally." >&5
16989 $as_echo "$as_me: error: conditional \"ARCH_PPC\" was never defined.
16990 Usually this means the macro was only invoked conditionally." >&2;}
16991 { (exit 1); exit 1; }; }
16995 : ${CONFIG_STATUS=./config.status}
16997 ac_clean_files_save=$ac_clean_files
16998 ac_clean_files="$ac_clean_files $CONFIG_STATUS"
16999 { $as_echo "$as_me:$LINENO: creating $CONFIG_STATUS" >&5
17000 $as_echo "$as_me: creating $CONFIG_STATUS" >&6;}
17001 cat >$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
17003 # Generated by $as_me.
17004 # Run this file to recreate the current configuration.
17005 # Compiler output produced by configure, useful for debugging
17006 # configure, is in config.log if it exists.
17009 ac_cs_recheck=false
17011 SHELL=\${CONFIG_SHELL-$SHELL}
17014 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
17015 ## --------------------- ##
17016 ## M4sh Initialization. ##
17017 ## --------------------- ##
17019 # Be more Bourne compatible
17020 DUALCASE=1; export DUALCASE # for MKS sh
17021 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
17024 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
17025 # is contrary to our usage. Disable this feature.
17026 alias -g '${1+"$@"}'='"$@"'
17027 setopt NO_GLOB_SUBST
17029 case `(set -o) 2>/dev/null` in
17030 *posix*) set -o posix ;;
17039 # Avoid depending upon Character Ranges.
17040 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
17041 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
17042 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
17043 as_cr_digits='0123456789'
17044 as_cr_alnum=$as_cr_Letters$as_cr_digits
17049 # Printing a long string crashes Solaris 7 /usr/bin/printf.
17050 as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
17051 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
17052 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
17053 if (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
17054 as_echo='printf %s\n'
17055 as_echo_n='printf %s'
17057 if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
17058 as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
17059 as_echo_n='/usr/ucb/echo -n'
17061 as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
17062 as_echo_n_body='eval
17066 expr "X$arg" : "X\\(.*\\)$as_nl";
17067 arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
17069 expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
17071 export as_echo_n_body
17072 as_echo_n='sh -c $as_echo_n_body as_echo'
17074 export as_echo_body
17075 as_echo='sh -c $as_echo_body as_echo'
17078 # The user is always right.
17079 if test "${PATH_SEPARATOR+set}" != set; then
17081 (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
17082 (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
17087 # Support unset when possible.
17088 if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
17096 # We need space, tab and new line, in precisely that order. Quoting is
17097 # there to prevent editors from complaining about space-tab.
17098 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
17099 # splitting by setting IFS to empty value.)
17102 # Find who we are. Look in the path if we contain no directory separator.
17104 *[\\/]* ) as_myself=$0 ;;
17105 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
17106 for as_dir in $PATH
17109 test -z "$as_dir" && as_dir=.
17110 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
17116 # We did not find ourselves, most probably we were run as `sh COMMAND'
17117 # in which case we are not to be found in the path.
17118 if test "x$as_myself" = x; then
17121 if test ! -f "$as_myself"; then
17122 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
17123 { (exit 1); exit 1; }
17126 # Work around bugs in pre-3.0 UWIN ksh.
17127 for as_var in ENV MAIL MAILPATH
17128 do ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
17140 # Required to use basename.
17141 if expr a : '\(a\)' >/dev/null 2>&1 &&
17142 test "X`expr 00001 : '.*\(...\)'`" = X001; then
17148 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
17149 as_basename=basename
17155 # Name of the executable.
17156 as_me=`$as_basename -- "$0" ||
17157 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
17158 X"$0" : 'X\(//\)$' \| \
17159 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
17161 sed '/^.*\/\([^/][^/]*\)\/*$/{
17180 as_lineno_1=$LINENO
17181 as_lineno_2=$LINENO
17182 test "x$as_lineno_1" != "x$as_lineno_2" &&
17183 test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2" || {
17185 # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
17186 # uniformly replaced by the line number. The first 'sed' inserts a
17187 # line-number line after each line using $LINENO; the second 'sed'
17188 # does the real work. The second script uses 'N' to pair each
17189 # line-number line with the line containing $LINENO, and appends
17190 # trailing '-' during substitution so that $LINENO is not a special
17191 # case at line end.
17192 # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
17193 # scripts with optimization help from Paolo Bonzini. Blame Lee
17194 # E. McMahon (1931-1989) for sed's syntax. :-)
17206 s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
17209 ' >$as_me.lineno &&
17210 chmod +x "$as_me.lineno" ||
17211 { $as_echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2
17212 { (exit 1); exit 1; }; }
17214 # Don't try to exec as it changes $[0], causing all sort of problems
17215 # (the dirname of $[0] is not the place where we might find the
17216 # original and so on. Autoconf is especially sensitive to this).
17217 . "./$as_me.lineno"
17218 # Exit status is that of the last command.
17223 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
17229 ECHO_C= ECHO_N= ECHO_T=
17230 case `echo -n x` in
17232 case `echo 'x\c'` in
17233 *c*) ECHO_T=' ';; # ECHO_T is single tab character.
17239 if expr a : '\(a\)' >/dev/null 2>&1 &&
17240 test "X`expr 00001 : '.*\(...\)'`" = X001; then
17246 rm -f conf$$ conf$$.exe conf$$.file
17247 if test -d conf$$.dir; then
17248 rm -f conf$$.dir/conf$$.file
17251 mkdir conf$$.dir 2>/dev/null
17253 if (echo >conf$$.file) 2>/dev/null; then
17254 if ln -s conf$$.file conf$$ 2>/dev/null; then
17256 # ... but there are two gotchas:
17257 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
17258 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
17259 # In both cases, we have to default to `cp -p'.
17260 ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
17262 elif ln conf$$.file conf$$ 2>/dev/null; then
17270 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
17271 rmdir conf$$.dir 2>/dev/null
17273 if mkdir -p . 2>/dev/null; then
17276 test -d ./-p && rmdir ./-p
17280 if test -x / >/dev/null 2>&1; then
17281 as_test_x='test -x'
17283 if ls -dL / >/dev/null 2>&1; then
17290 if test -d "$1"; then
17296 case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in
17297 ???[sx]*):;;*)false;;esac;fi
17301 as_executable_p=$as_test_x
17303 # Sed expression to map a string onto a valid CPP name.
17304 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
17306 # Sed expression to map a string onto a valid variable name.
17307 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
17312 # Save the log message, to keep $[0] and so on meaningful, and to
17313 # report actual input values of CONFIG_FILES etc. instead of their
17314 # values after options handling.
17316 This file was extended by pcsx $as_me 1.9, which was
17317 generated by GNU Autoconf 2.63. Invocation command line was
17319 CONFIG_FILES = $CONFIG_FILES
17320 CONFIG_HEADERS = $CONFIG_HEADERS
17321 CONFIG_LINKS = $CONFIG_LINKS
17322 CONFIG_COMMANDS = $CONFIG_COMMANDS
17325 on `(hostname || uname -n) 2>/dev/null | sed 1q`
17330 case $ac_config_files in *"
17331 "*) set x $ac_config_files; shift; ac_config_files=$*;;
17334 case $ac_config_headers in *"
17335 "*) set x $ac_config_headers; shift; ac_config_headers=$*;;
17339 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
17340 # Files that config.status was made for.
17341 config_files="$ac_config_files"
17342 config_headers="$ac_config_headers"
17343 config_commands="$ac_config_commands"
17347 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
17349 \`$as_me' instantiates files from templates according to the
17350 current configuration.
17352 Usage: $0 [OPTION]... [FILE]...
17354 -h, --help print this help, then exit
17355 -V, --version print version number and configuration settings, then exit
17356 -q, --quiet, --silent
17357 do not print progress messages
17358 -d, --debug don't remove temporary files
17359 --recheck update $as_me by reconfiguring in the same conditions
17360 --file=FILE[:TEMPLATE]
17361 instantiate the configuration file FILE
17362 --header=FILE[:TEMPLATE]
17363 instantiate the configuration header FILE
17365 Configuration files:
17368 Configuration headers:
17371 Configuration commands:
17374 Report bugs to <bug-autoconf@gnu.org>."
17377 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
17379 pcsx config.status 1.9
17380 configured by $0, generated by GNU Autoconf 2.63,
17381 with options \\"`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`\\"
17383 Copyright (C) 2008 Free Software Foundation, Inc.
17384 This config.status script is free software; the Free Software Foundation
17385 gives unlimited permission to copy, distribute and modify it."
17392 test -n "\$AWK" || AWK=awk
17395 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
17396 # The default lists apply if the user does not specify any file.
17402 ac_option=`expr "X$1" : 'X\([^=]*\)='`
17403 ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'`
17414 # Handling of the options.
17415 -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
17417 --version | --versio | --versi | --vers | --ver | --ve | --v | -V )
17418 $as_echo "$ac_cs_version"; exit ;;
17419 --debug | --debu | --deb | --de | --d | -d )
17421 --file | --fil | --fi | --f )
17424 *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
17426 CONFIG_FILES="$CONFIG_FILES '$ac_optarg'"
17427 ac_need_defaults=false;;
17428 --header | --heade | --head | --hea )
17431 *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
17433 CONFIG_HEADERS="$CONFIG_HEADERS '$ac_optarg'"
17434 ac_need_defaults=false;;
17436 # Conflict between --help and --header
17437 { $as_echo "$as_me: error: ambiguous option: $1
17438 Try \`$0 --help' for more information." >&2
17439 { (exit 1); exit 1; }; };;
17440 --help | --hel | -h )
17441 $as_echo "$ac_cs_usage"; exit ;;
17442 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
17443 | -silent | --silent | --silen | --sile | --sil | --si | --s)
17446 # This is an error.
17447 -*) { $as_echo "$as_me: error: unrecognized option: $1
17448 Try \`$0 --help' for more information." >&2
17449 { (exit 1); exit 1; }; } ;;
17451 *) ac_config_targets="$ac_config_targets $1"
17452 ac_need_defaults=false ;;
17458 ac_configure_extra_args=
17460 if $ac_cs_silent; then
17462 ac_configure_extra_args="$ac_configure_extra_args --silent"
17466 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
17467 if \$ac_cs_recheck; then
17468 set X '$SHELL' '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
17470 \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6
17471 CONFIG_SHELL='$SHELL'
17472 export CONFIG_SHELL
17477 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
17481 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
17482 ## Running $as_me. ##
17488 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
17492 AMDEP_TRUE="$AMDEP_TRUE" ac_aux_dir="$ac_aux_dir"
17495 # The HP-UX ksh and POSIX shell print the target directory to stdout
17496 # if CDPATH is set.
17497 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
17499 sed_quote_subst='$sed_quote_subst'
17500 double_quote_subst='$double_quote_subst'
17501 delay_variable_subst='$delay_variable_subst'
17502 enable_static='`$ECHO "X$enable_static" | $Xsed -e "$delay_single_quote_subst"`'
17503 macro_version='`$ECHO "X$macro_version" | $Xsed -e "$delay_single_quote_subst"`'
17504 macro_revision='`$ECHO "X$macro_revision" | $Xsed -e "$delay_single_quote_subst"`'
17505 enable_shared='`$ECHO "X$enable_shared" | $Xsed -e "$delay_single_quote_subst"`'
17506 pic_mode='`$ECHO "X$pic_mode" | $Xsed -e "$delay_single_quote_subst"`'
17507 enable_fast_install='`$ECHO "X$enable_fast_install" | $Xsed -e "$delay_single_quote_subst"`'
17508 host_alias='`$ECHO "X$host_alias" | $Xsed -e "$delay_single_quote_subst"`'
17509 host='`$ECHO "X$host" | $Xsed -e "$delay_single_quote_subst"`'
17510 host_os='`$ECHO "X$host_os" | $Xsed -e "$delay_single_quote_subst"`'
17511 build_alias='`$ECHO "X$build_alias" | $Xsed -e "$delay_single_quote_subst"`'
17512 build='`$ECHO "X$build" | $Xsed -e "$delay_single_quote_subst"`'
17513 build_os='`$ECHO "X$build_os" | $Xsed -e "$delay_single_quote_subst"`'
17514 SED='`$ECHO "X$SED" | $Xsed -e "$delay_single_quote_subst"`'
17515 Xsed='`$ECHO "X$Xsed" | $Xsed -e "$delay_single_quote_subst"`'
17516 GREP='`$ECHO "X$GREP" | $Xsed -e "$delay_single_quote_subst"`'
17517 EGREP='`$ECHO "X$EGREP" | $Xsed -e "$delay_single_quote_subst"`'
17518 FGREP='`$ECHO "X$FGREP" | $Xsed -e "$delay_single_quote_subst"`'
17519 LD='`$ECHO "X$LD" | $Xsed -e "$delay_single_quote_subst"`'
17520 NM='`$ECHO "X$NM" | $Xsed -e "$delay_single_quote_subst"`'
17521 LN_S='`$ECHO "X$LN_S" | $Xsed -e "$delay_single_quote_subst"`'
17522 max_cmd_len='`$ECHO "X$max_cmd_len" | $Xsed -e "$delay_single_quote_subst"`'
17523 ac_objext='`$ECHO "X$ac_objext" | $Xsed -e "$delay_single_quote_subst"`'
17524 exeext='`$ECHO "X$exeext" | $Xsed -e "$delay_single_quote_subst"`'
17525 lt_unset='`$ECHO "X$lt_unset" | $Xsed -e "$delay_single_quote_subst"`'
17526 lt_SP2NL='`$ECHO "X$lt_SP2NL" | $Xsed -e "$delay_single_quote_subst"`'
17527 lt_NL2SP='`$ECHO "X$lt_NL2SP" | $Xsed -e "$delay_single_quote_subst"`'
17528 reload_flag='`$ECHO "X$reload_flag" | $Xsed -e "$delay_single_quote_subst"`'
17529 reload_cmds='`$ECHO "X$reload_cmds" | $Xsed -e "$delay_single_quote_subst"`'
17530 OBJDUMP='`$ECHO "X$OBJDUMP" | $Xsed -e "$delay_single_quote_subst"`'
17531 deplibs_check_method='`$ECHO "X$deplibs_check_method" | $Xsed -e "$delay_single_quote_subst"`'
17532 file_magic_cmd='`$ECHO "X$file_magic_cmd" | $Xsed -e "$delay_single_quote_subst"`'
17533 AR='`$ECHO "X$AR" | $Xsed -e "$delay_single_quote_subst"`'
17534 AR_FLAGS='`$ECHO "X$AR_FLAGS" | $Xsed -e "$delay_single_quote_subst"`'
17535 STRIP='`$ECHO "X$STRIP" | $Xsed -e "$delay_single_quote_subst"`'
17536 RANLIB='`$ECHO "X$RANLIB" | $Xsed -e "$delay_single_quote_subst"`'
17537 old_postinstall_cmds='`$ECHO "X$old_postinstall_cmds" | $Xsed -e "$delay_single_quote_subst"`'
17538 old_postuninstall_cmds='`$ECHO "X$old_postuninstall_cmds" | $Xsed -e "$delay_single_quote_subst"`'
17539 old_archive_cmds='`$ECHO "X$old_archive_cmds" | $Xsed -e "$delay_single_quote_subst"`'
17540 CC='`$ECHO "X$CC" | $Xsed -e "$delay_single_quote_subst"`'
17541 CFLAGS='`$ECHO "X$CFLAGS" | $Xsed -e "$delay_single_quote_subst"`'
17542 compiler='`$ECHO "X$compiler" | $Xsed -e "$delay_single_quote_subst"`'
17543 GCC='`$ECHO "X$GCC" | $Xsed -e "$delay_single_quote_subst"`'
17544 lt_cv_sys_global_symbol_pipe='`$ECHO "X$lt_cv_sys_global_symbol_pipe" | $Xsed -e "$delay_single_quote_subst"`'
17545 lt_cv_sys_global_symbol_to_cdecl='`$ECHO "X$lt_cv_sys_global_symbol_to_cdecl" | $Xsed -e "$delay_single_quote_subst"`'
17546 lt_cv_sys_global_symbol_to_c_name_address='`$ECHO "X$lt_cv_sys_global_symbol_to_c_name_address" | $Xsed -e "$delay_single_quote_subst"`'
17547 lt_cv_sys_global_symbol_to_c_name_address_lib_prefix='`$ECHO "X$lt_cv_sys_global_symbol_to_c_name_address_lib_prefix" | $Xsed -e "$delay_single_quote_subst"`'
17548 objdir='`$ECHO "X$objdir" | $Xsed -e "$delay_single_quote_subst"`'
17549 SHELL='`$ECHO "X$SHELL" | $Xsed -e "$delay_single_quote_subst"`'
17550 ECHO='`$ECHO "X$ECHO" | $Xsed -e "$delay_single_quote_subst"`'
17551 MAGIC_CMD='`$ECHO "X$MAGIC_CMD" | $Xsed -e "$delay_single_quote_subst"`'
17552 lt_prog_compiler_no_builtin_flag='`$ECHO "X$lt_prog_compiler_no_builtin_flag" | $Xsed -e "$delay_single_quote_subst"`'
17553 lt_prog_compiler_wl='`$ECHO "X$lt_prog_compiler_wl" | $Xsed -e "$delay_single_quote_subst"`'
17554 lt_prog_compiler_pic='`$ECHO "X$lt_prog_compiler_pic" | $Xsed -e "$delay_single_quote_subst"`'
17555 lt_prog_compiler_static='`$ECHO "X$lt_prog_compiler_static" | $Xsed -e "$delay_single_quote_subst"`'
17556 lt_cv_prog_compiler_c_o='`$ECHO "X$lt_cv_prog_compiler_c_o" | $Xsed -e "$delay_single_quote_subst"`'
17557 need_locks='`$ECHO "X$need_locks" | $Xsed -e "$delay_single_quote_subst"`'
17558 DSYMUTIL='`$ECHO "X$DSYMUTIL" | $Xsed -e "$delay_single_quote_subst"`'
17559 NMEDIT='`$ECHO "X$NMEDIT" | $Xsed -e "$delay_single_quote_subst"`'
17560 LIPO='`$ECHO "X$LIPO" | $Xsed -e "$delay_single_quote_subst"`'
17561 OTOOL='`$ECHO "X$OTOOL" | $Xsed -e "$delay_single_quote_subst"`'
17562 OTOOL64='`$ECHO "X$OTOOL64" | $Xsed -e "$delay_single_quote_subst"`'
17563 libext='`$ECHO "X$libext" | $Xsed -e "$delay_single_quote_subst"`'
17564 shrext_cmds='`$ECHO "X$shrext_cmds" | $Xsed -e "$delay_single_quote_subst"`'
17565 extract_expsyms_cmds='`$ECHO "X$extract_expsyms_cmds" | $Xsed -e "$delay_single_quote_subst"`'
17566 archive_cmds_need_lc='`$ECHO "X$archive_cmds_need_lc" | $Xsed -e "$delay_single_quote_subst"`'
17567 enable_shared_with_static_runtimes='`$ECHO "X$enable_shared_with_static_runtimes" | $Xsed -e "$delay_single_quote_subst"`'
17568 export_dynamic_flag_spec='`$ECHO "X$export_dynamic_flag_spec" | $Xsed -e "$delay_single_quote_subst"`'
17569 whole_archive_flag_spec='`$ECHO "X$whole_archive_flag_spec" | $Xsed -e "$delay_single_quote_subst"`'
17570 compiler_needs_object='`$ECHO "X$compiler_needs_object" | $Xsed -e "$delay_single_quote_subst"`'
17571 old_archive_from_new_cmds='`$ECHO "X$old_archive_from_new_cmds" | $Xsed -e "$delay_single_quote_subst"`'
17572 old_archive_from_expsyms_cmds='`$ECHO "X$old_archive_from_expsyms_cmds" | $Xsed -e "$delay_single_quote_subst"`'
17573 archive_cmds='`$ECHO "X$archive_cmds" | $Xsed -e "$delay_single_quote_subst"`'
17574 archive_expsym_cmds='`$ECHO "X$archive_expsym_cmds" | $Xsed -e "$delay_single_quote_subst"`'
17575 module_cmds='`$ECHO "X$module_cmds" | $Xsed -e "$delay_single_quote_subst"`'
17576 module_expsym_cmds='`$ECHO "X$module_expsym_cmds" | $Xsed -e "$delay_single_quote_subst"`'
17577 with_gnu_ld='`$ECHO "X$with_gnu_ld" | $Xsed -e "$delay_single_quote_subst"`'
17578 allow_undefined_flag='`$ECHO "X$allow_undefined_flag" | $Xsed -e "$delay_single_quote_subst"`'
17579 no_undefined_flag='`$ECHO "X$no_undefined_flag" | $Xsed -e "$delay_single_quote_subst"`'
17580 hardcode_libdir_flag_spec='`$ECHO "X$hardcode_libdir_flag_spec" | $Xsed -e "$delay_single_quote_subst"`'
17581 hardcode_libdir_flag_spec_ld='`$ECHO "X$hardcode_libdir_flag_spec_ld" | $Xsed -e "$delay_single_quote_subst"`'
17582 hardcode_libdir_separator='`$ECHO "X$hardcode_libdir_separator" | $Xsed -e "$delay_single_quote_subst"`'
17583 hardcode_direct='`$ECHO "X$hardcode_direct" | $Xsed -e "$delay_single_quote_subst"`'
17584 hardcode_direct_absolute='`$ECHO "X$hardcode_direct_absolute" | $Xsed -e "$delay_single_quote_subst"`'
17585 hardcode_minus_L='`$ECHO "X$hardcode_minus_L" | $Xsed -e "$delay_single_quote_subst"`'
17586 hardcode_shlibpath_var='`$ECHO "X$hardcode_shlibpath_var" | $Xsed -e "$delay_single_quote_subst"`'
17587 hardcode_automatic='`$ECHO "X$hardcode_automatic" | $Xsed -e "$delay_single_quote_subst"`'
17588 inherit_rpath='`$ECHO "X$inherit_rpath" | $Xsed -e "$delay_single_quote_subst"`'
17589 link_all_deplibs='`$ECHO "X$link_all_deplibs" | $Xsed -e "$delay_single_quote_subst"`'
17590 fix_srcfile_path='`$ECHO "X$fix_srcfile_path" | $Xsed -e "$delay_single_quote_subst"`'
17591 always_export_symbols='`$ECHO "X$always_export_symbols" | $Xsed -e "$delay_single_quote_subst"`'
17592 export_symbols_cmds='`$ECHO "X$export_symbols_cmds" | $Xsed -e "$delay_single_quote_subst"`'
17593 exclude_expsyms='`$ECHO "X$exclude_expsyms" | $Xsed -e "$delay_single_quote_subst"`'
17594 include_expsyms='`$ECHO "X$include_expsyms" | $Xsed -e "$delay_single_quote_subst"`'
17595 prelink_cmds='`$ECHO "X$prelink_cmds" | $Xsed -e "$delay_single_quote_subst"`'
17596 file_list_spec='`$ECHO "X$file_list_spec" | $Xsed -e "$delay_single_quote_subst"`'
17597 variables_saved_for_relink='`$ECHO "X$variables_saved_for_relink" | $Xsed -e "$delay_single_quote_subst"`'
17598 need_lib_prefix='`$ECHO "X$need_lib_prefix" | $Xsed -e "$delay_single_quote_subst"`'
17599 need_version='`$ECHO "X$need_version" | $Xsed -e "$delay_single_quote_subst"`'
17600 version_type='`$ECHO "X$version_type" | $Xsed -e "$delay_single_quote_subst"`'
17601 runpath_var='`$ECHO "X$runpath_var" | $Xsed -e "$delay_single_quote_subst"`'
17602 shlibpath_var='`$ECHO "X$shlibpath_var" | $Xsed -e "$delay_single_quote_subst"`'
17603 shlibpath_overrides_runpath='`$ECHO "X$shlibpath_overrides_runpath" | $Xsed -e "$delay_single_quote_subst"`'
17604 libname_spec='`$ECHO "X$libname_spec" | $Xsed -e "$delay_single_quote_subst"`'
17605 library_names_spec='`$ECHO "X$library_names_spec" | $Xsed -e "$delay_single_quote_subst"`'
17606 soname_spec='`$ECHO "X$soname_spec" | $Xsed -e "$delay_single_quote_subst"`'
17607 postinstall_cmds='`$ECHO "X$postinstall_cmds" | $Xsed -e "$delay_single_quote_subst"`'
17608 postuninstall_cmds='`$ECHO "X$postuninstall_cmds" | $Xsed -e "$delay_single_quote_subst"`'
17609 finish_cmds='`$ECHO "X$finish_cmds" | $Xsed -e "$delay_single_quote_subst"`'
17610 finish_eval='`$ECHO "X$finish_eval" | $Xsed -e "$delay_single_quote_subst"`'
17611 hardcode_into_libs='`$ECHO "X$hardcode_into_libs" | $Xsed -e "$delay_single_quote_subst"`'
17612 sys_lib_search_path_spec='`$ECHO "X$sys_lib_search_path_spec" | $Xsed -e "$delay_single_quote_subst"`'
17613 sys_lib_dlsearch_path_spec='`$ECHO "X$sys_lib_dlsearch_path_spec" | $Xsed -e "$delay_single_quote_subst"`'
17614 hardcode_action='`$ECHO "X$hardcode_action" | $Xsed -e "$delay_single_quote_subst"`'
17615 enable_dlopen='`$ECHO "X$enable_dlopen" | $Xsed -e "$delay_single_quote_subst"`'
17616 enable_dlopen_self='`$ECHO "X$enable_dlopen_self" | $Xsed -e "$delay_single_quote_subst"`'
17617 enable_dlopen_self_static='`$ECHO "X$enable_dlopen_self_static" | $Xsed -e "$delay_single_quote_subst"`'
17618 old_striplib='`$ECHO "X$old_striplib" | $Xsed -e "$delay_single_quote_subst"`'
17619 striplib='`$ECHO "X$striplib" | $Xsed -e "$delay_single_quote_subst"`'
17622 LTCFLAGS='$LTCFLAGS'
17623 compiler='$compiler_DEFAULT'
17625 # Quote evaled strings.
17637 deplibs_check_method \
17646 lt_cv_sys_global_symbol_pipe \
17647 lt_cv_sys_global_symbol_to_cdecl \
17648 lt_cv_sys_global_symbol_to_c_name_address \
17649 lt_cv_sys_global_symbol_to_c_name_address_lib_prefix \
17652 lt_prog_compiler_no_builtin_flag \
17653 lt_prog_compiler_wl \
17654 lt_prog_compiler_pic \
17655 lt_prog_compiler_static \
17656 lt_cv_prog_compiler_c_o \
17664 export_dynamic_flag_spec \
17665 whole_archive_flag_spec \
17666 compiler_needs_object \
17668 allow_undefined_flag \
17669 no_undefined_flag \
17670 hardcode_libdir_flag_spec \
17671 hardcode_libdir_flag_spec_ld \
17672 hardcode_libdir_separator \
17677 variables_saved_for_relink \
17679 library_names_spec \
17684 case \`eval \\\\\$ECHO "X\\\\\$\$var"\` in
17685 *[\\\\\\\`\\"\\\$]*)
17686 eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"X\\\$\$var\\" | \\\$Xsed -e \\"\\\$sed_quote_subst\\"\\\`\\\\\\""
17689 eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
17694 # Double-quote double-evaled strings.
17695 for var in reload_cmds \
17696 old_postinstall_cmds \
17697 old_postuninstall_cmds \
17699 extract_expsyms_cmds \
17700 old_archive_from_new_cmds \
17701 old_archive_from_expsyms_cmds \
17703 archive_expsym_cmds \
17705 module_expsym_cmds \
17706 export_symbols_cmds \
17709 postuninstall_cmds \
17711 sys_lib_search_path_spec \
17712 sys_lib_dlsearch_path_spec; do
17713 case \`eval \\\\\$ECHO "X\\\\\$\$var"\` in
17714 *[\\\\\\\`\\"\\\$]*)
17715 eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"X\\\$\$var\\" | \\\$Xsed -e \\"\\\$double_quote_subst\\" -e \\"\\\$sed_quote_subst\\" -e \\"\\\$delay_variable_subst\\"\\\`\\\\\\""
17718 eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
17723 # Fix-up fallback echo if it was mangled by the above quoting rules.
17725 *'\\\$0 --fallback-echo"') lt_ECHO=\`\$ECHO "X\$lt_ECHO" | \$Xsed -e 's/\\\\\\\\\\\\\\\$0 --fallback-echo"\$/\$0 --fallback-echo"/'\`
17729 ac_aux_dir='$ac_aux_dir'
17730 xsi_shell='$xsi_shell'
17731 lt_shell_append='$lt_shell_append'
17733 # See if we are running on zsh, and set the options which allow our
17734 # commands through without removal of \ escapes INIT.
17735 if test -n "\${ZSH_VERSION+set}" ; then
17736 setopt NO_GLOB_SUBST
17742 TIMESTAMP='$TIMESTAMP'
17748 # Capture the value of obsolete ALL_LINGUAS because we need it to compute
17749 # POFILES, UPDATEPOFILES, DUMMYPOFILES, GMOFILES, CATALOGS. But hide it
17750 # from automake < 1.5.
17751 eval 'OBSOLETE_ALL_LINGUAS''="$ALL_LINGUAS"'
17752 # Capture the value of LINGUAS because we need it to compute CATALOGS.
17753 LINGUAS="${LINGUAS-%UNSET%}"
17758 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
17760 # Handling of arguments.
17761 for ac_config_target in $ac_config_targets
17763 case $ac_config_target in
17764 "include/config.h") CONFIG_HEADERS="$CONFIG_HEADERS include/config.h:include/config.h.in" ;;
17765 "depfiles") CONFIG_COMMANDS="$CONFIG_COMMANDS depfiles" ;;
17766 "libtool") CONFIG_COMMANDS="$CONFIG_COMMANDS libtool" ;;
17767 "po-directories") CONFIG_COMMANDS="$CONFIG_COMMANDS po-directories" ;;
17768 "Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;;
17769 "data/Makefile") CONFIG_FILES="$CONFIG_FILES data/Makefile" ;;
17770 "doc/Makefile") CONFIG_FILES="$CONFIG_FILES doc/Makefile" ;;
17771 "libpcsxcore/Makefile") CONFIG_FILES="$CONFIG_FILES libpcsxcore/Makefile" ;;
17772 "gui/Makefile") CONFIG_FILES="$CONFIG_FILES gui/Makefile" ;;
17773 "plugins/dfinput/Makefile") CONFIG_FILES="$CONFIG_FILES plugins/dfinput/Makefile" ;;
17774 "plugins/dfsound/Makefile") CONFIG_FILES="$CONFIG_FILES plugins/dfsound/Makefile" ;;
17775 "plugins/dfxvideo/Makefile") CONFIG_FILES="$CONFIG_FILES plugins/dfxvideo/Makefile" ;;
17776 "plugins/dfcdrom/Makefile") CONFIG_FILES="$CONFIG_FILES plugins/dfcdrom/Makefile" ;;
17777 "plugins/dfnet/Makefile") CONFIG_FILES="$CONFIG_FILES plugins/dfnet/Makefile" ;;
17778 "pixmaps/Makefile") CONFIG_FILES="$CONFIG_FILES pixmaps/Makefile" ;;
17779 "po/Makefile.in") CONFIG_FILES="$CONFIG_FILES po/Makefile.in" ;;
17780 "plugins/peopsxgl/Makefile") CONFIG_FILES="$CONFIG_FILES plugins/peopsxgl/Makefile" ;;
17782 *) { { $as_echo "$as_me:$LINENO: error: invalid argument: $ac_config_target" >&5
17783 $as_echo "$as_me: error: invalid argument: $ac_config_target" >&2;}
17784 { (exit 1); exit 1; }; };;
17789 # If the user did not use the arguments to specify the items to instantiate,
17790 # then the envvar interface is used. Set only those that are not.
17791 # We use the long form for the default assignment because of an extremely
17792 # bizarre bug on SunOS 4.1.3.
17793 if $ac_need_defaults; then
17794 test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
17795 test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS=$config_headers
17796 test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS=$config_commands
17799 # Have a temporary directory for convenience. Make it in the build tree
17800 # simply because there is no reason against having it here, and in addition,
17801 # creating and moving files from /tmp can sometimes cause problems.
17802 # Hook for its removal unless debugging.
17803 # Note that there is a small window in which the directory will not be cleaned:
17804 # after its creation but before its name has been assigned to `$tmp'.
17808 trap 'exit_status=$?
17809 { test -z "$tmp" || test ! -d "$tmp" || rm -fr "$tmp"; } && exit $exit_status
17811 trap '{ (exit 1); exit 1; }' 1 2 13 15
17813 # Create a (secure) tmp directory for tmp files.
17816 tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
17817 test -n "$tmp" && test -d "$tmp"
17820 tmp=./conf$$-$RANDOM
17821 (umask 077 && mkdir "$tmp")
17824 $as_echo "$as_me: cannot create a temporary directory in ." >&2
17825 { (exit 1); exit 1; }
17828 # Set up the scripts for CONFIG_FILES section.
17829 # No need to generate them if there are no CONFIG_FILES.
17830 # This happens for instance with `./config.status config.h'.
17831 if test -n "$CONFIG_FILES"; then
17835 ac_cs_awk_cr=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
17836 if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
17839 ac_cs_awk_cr=$ac_cr
17842 echo 'BEGIN {' >"$tmp/subs1.awk" &&
17847 echo "cat >conf$$subs.awk <<_ACEOF" &&
17848 echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
17850 } >conf$$subs.sh ||
17851 { { $as_echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
17852 $as_echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}
17853 { (exit 1); exit 1; }; }
17854 ac_delim_num=`echo "$ac_subst_vars" | grep -c '$'`
17856 for ac_last_try in false false false false false :; do
17857 . ./conf$$subs.sh ||
17858 { { $as_echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
17859 $as_echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}
17860 { (exit 1); exit 1; }; }
17862 ac_delim_n=`sed -n "s/.*$ac_delim\$/X/p" conf$$subs.awk | grep -c X`
17863 if test $ac_delim_n = $ac_delim_num; then
17865 elif $ac_last_try; then
17866 { { $as_echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
17867 $as_echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}
17868 { (exit 1); exit 1; }; }
17870 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
17873 rm -f conf$$subs.sh
17875 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
17876 cat >>"\$tmp/subs1.awk" <<\\_ACAWK &&
17880 s/^/S["/; s/!.*/"]=/
17890 s/\(.\{148\}\).*/\1/
17892 s/["\\]/\\&/g; s/^/"/; s/$/\\n"\\/
17897 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
17904 s/\(.\{148\}\).*/\1/
17906 s/["\\]/\\&/g; s/^/"/; s/$/"/
17910 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
17915 ' <conf$$subs.awk | sed '
17920 ' >>$CONFIG_STATUS || ac_write_fail=1
17921 rm -f conf$$subs.awk
17922 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
17924 cat >>"\$tmp/subs1.awk" <<_ACAWK &&
17925 for (key in S) S_is_set[key] = 1
17931 nfields = split(line, field, "@")
17933 len = length(field[1])
17934 for (i = 2; i < nfields; i++) {
17936 keylen = length(key)
17937 if (S_is_set[key]) {
17939 line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3)
17940 len += length(value) + length(field[++i])
17951 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
17952 if sed "s/$ac_cr//" < /dev/null > /dev/null 2>&1; then
17953 sed "s/$ac_cr\$//; s/$ac_cr/$ac_cs_awk_cr/g"
17956 fi < "$tmp/subs1.awk" > "$tmp/subs.awk" \
17957 || { { $as_echo "$as_me:$LINENO: error: could not setup config files machinery" >&5
17958 $as_echo "$as_me: error: could not setup config files machinery" >&2;}
17959 { (exit 1); exit 1; }; }
17962 # VPATH may cause trouble with some makes, so we remove $(srcdir),
17963 # ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and
17964 # trailing colons and then remove the whole line if VPATH becomes empty
17965 # (actually we leave an empty line to preserve line numbers).
17966 if test "x$srcdir" = x.; then
17967 ac_vpsub='/^[ ]*VPATH[ ]*=/{
17968 s/:*\$(srcdir):*/:/
17969 s/:*\${srcdir}:*/:/
17971 s/^\([^=]*=[ ]*\):*/\1/
17977 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
17978 fi # test -n "$CONFIG_FILES"
17980 # Set up the scripts for CONFIG_HEADERS section.
17981 # No need to generate them if there are no CONFIG_HEADERS.
17982 # This happens for instance with `./config.status Makefile'.
17983 if test -n "$CONFIG_HEADERS"; then
17984 cat >"$tmp/defines.awk" <<\_ACAWK ||
17988 # Transform confdefs.h into an awk script `defines.awk', embedded as
17989 # here-document in config.status, that substitutes the proper values into
17990 # config.h.in to produce config.h.
17992 # Create a delimiter string that does not exist in confdefs.h, to ease
17993 # handling of long lines.
17995 for ac_last_try in false false :; do
17996 ac_t=`sed -n "/$ac_delim/p" confdefs.h`
17997 if test -z "$ac_t"; then
17999 elif $ac_last_try; then
18000 { { $as_echo "$as_me:$LINENO: error: could not make $CONFIG_HEADERS" >&5
18001 $as_echo "$as_me: error: could not make $CONFIG_HEADERS" >&2;}
18002 { (exit 1); exit 1; }; }
18004 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
18008 # For the awk script, D is an array of macro values keyed by name,
18009 # likewise P contains macro parameters if any. Preserve backslash
18010 # newline sequences.
18012 ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]*
18014 s/.\{148\}/&'"$ac_delim"'/g
18017 s/^[ ]*#[ ]*define[ ][ ]*/ /
18024 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\1"]="\2"\
18026 s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\1"]=" \2"/p
18030 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\1"]="\2"\
18031 D["\1"]=" \3\\\\\\n"\\/p
18033 s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\1"]=" \2\\\\\\n"\\/p
18038 s/.\{148\}/&'"$ac_delim"'/g
18043 s/["\\]/\\&/g; s/^/"/; s/$/"/p
18046 s/["\\]/\\&/g; s/^/"/; s/$/\\\\\\n"\\/p
18048 ' <confdefs.h | sed '
18049 s/'"$ac_delim"'/"\\\
18050 "/g' >>$CONFIG_STATUS || ac_write_fail=1
18052 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
18053 for (key in D) D_is_set[key] = 1
18056 /^[\t ]*#[\t ]*(define|undef)[\t ]+$ac_word_re([\t (]|\$)/ {
18058 split(line, arg, " ")
18059 if (arg[1] == "#") {
18063 defundef = substr(arg[1], 2)
18066 split(mac1, mac2, "(") #)
18068 prefix = substr(line, 1, index(line, defundef) - 1)
18069 if (D_is_set[macro]) {
18070 # Preserve the white space surrounding the "#".
18071 print prefix "define", macro P[macro] D[macro]
18074 # Replace #undef with comments. This is necessary, for example,
18075 # in the case of _POSIX_SOURCE, which is predefined and required
18076 # on some systems where configure will not decide to define it.
18077 if (defundef == "undef") {
18078 print "/*", prefix defundef, macro, "*/"
18086 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
18087 { { $as_echo "$as_me:$LINENO: error: could not setup config headers machinery" >&5
18088 $as_echo "$as_me: error: could not setup config headers machinery" >&2;}
18089 { (exit 1); exit 1; }; }
18090 fi # test -n "$CONFIG_HEADERS"
18093 eval set X " :F $CONFIG_FILES :H $CONFIG_HEADERS :C $CONFIG_COMMANDS"
18098 :[FHLC]) ac_mode=$ac_tag; continue;;
18100 case $ac_mode$ac_tag in
18102 :L* | :C*:*) { { $as_echo "$as_me:$LINENO: error: invalid tag $ac_tag" >&5
18103 $as_echo "$as_me: error: invalid tag $ac_tag" >&2;}
18104 { (exit 1); exit 1; }; };;
18105 :[FH]-) ac_tag=-:-;;
18106 :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
18123 -) ac_f="$tmp/stdin";;
18124 *) # Look for the file first in the build tree, then in the source tree
18125 # (if the path is not absolute). The absolute path cannot be DOS-style,
18126 # because $ac_f cannot contain `:'.
18130 *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
18132 { { $as_echo "$as_me:$LINENO: error: cannot find input file: $ac_f" >&5
18133 $as_echo "$as_me: error: cannot find input file: $ac_f" >&2;}
18134 { (exit 1); exit 1; }; };;
18136 case $ac_f in *\'*) ac_f=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
18137 ac_file_inputs="$ac_file_inputs '$ac_f'"
18140 # Let's still pretend it is `configure' which instantiates (i.e., don't
18141 # use $as_me), people would be surprised to read:
18142 # /* config.h. Generated by config.status. */
18143 configure_input='Generated from '`
18144 $as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
18146 if test x"$ac_file" != x-; then
18147 configure_input="$ac_file. $configure_input"
18148 { $as_echo "$as_me:$LINENO: creating $ac_file" >&5
18149 $as_echo "$as_me: creating $ac_file" >&6;}
18151 # Neutralize special characters interpreted by sed in replacement strings.
18152 case $configure_input in #(
18153 *\&* | *\|* | *\\* )
18154 ac_sed_conf_input=`$as_echo "$configure_input" |
18155 sed 's/[\\\\&|]/\\\\&/g'`;; #(
18156 *) ac_sed_conf_input=$configure_input;;
18160 *:-:* | *:-) cat >"$tmp/stdin" \
18161 || { { $as_echo "$as_me:$LINENO: error: could not create $ac_file" >&5
18162 $as_echo "$as_me: error: could not create $ac_file" >&2;}
18163 { (exit 1); exit 1; }; } ;;
18168 ac_dir=`$as_dirname -- "$ac_file" ||
18169 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
18170 X"$ac_file" : 'X\(//\)[^/]' \| \
18171 X"$ac_file" : 'X\(//\)$' \| \
18172 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
18173 $as_echo X"$ac_file" |
18174 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
18178 /^X\(\/\/\)[^/].*/{
18193 -*) as_dir=./$as_dir;;
18195 test -d "$as_dir" || { $as_mkdir_p && mkdir -p "$as_dir"; } || {
18199 *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
18200 *) as_qdir=$as_dir;;
18202 as_dirs="'$as_qdir' $as_dirs"
18203 as_dir=`$as_dirname -- "$as_dir" ||
18204 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
18205 X"$as_dir" : 'X\(//\)[^/]' \| \
18206 X"$as_dir" : 'X\(//\)$' \| \
18207 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
18208 $as_echo X"$as_dir" |
18209 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
18213 /^X\(\/\/\)[^/].*/{
18226 test -d "$as_dir" && break
18228 test -z "$as_dirs" || eval "mkdir $as_dirs"
18229 } || test -d "$as_dir" || { { $as_echo "$as_me:$LINENO: error: cannot create directory $as_dir" >&5
18230 $as_echo "$as_me: error: cannot create directory $as_dir" >&2;}
18231 { (exit 1); exit 1; }; }; }
18235 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
18237 ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
18238 # A ".." for each directory in $ac_dir_suffix.
18239 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
18240 case $ac_top_builddir_sub in
18241 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
18242 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
18245 ac_abs_top_builddir=$ac_pwd
18246 ac_abs_builddir=$ac_pwd$ac_dir_suffix
18247 # for backward compatibility:
18248 ac_top_builddir=$ac_top_build_prefix
18251 .) # We are building in place.
18253 ac_top_srcdir=$ac_top_builddir_sub
18254 ac_abs_top_srcdir=$ac_pwd ;;
18255 [\\/]* | ?:[\\/]* ) # Absolute name.
18256 ac_srcdir=$srcdir$ac_dir_suffix;
18257 ac_top_srcdir=$srcdir
18258 ac_abs_top_srcdir=$srcdir ;;
18259 *) # Relative name.
18260 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
18261 ac_top_srcdir=$ac_top_build_prefix$srcdir
18262 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
18264 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
18274 [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
18275 *) ac_INSTALL=$ac_top_build_prefix$INSTALL ;;
18277 ac_MKDIR_P=$MKDIR_P
18279 [\\/$]* | ?:[\\/]* ) ;;
18280 */*) ac_MKDIR_P=$ac_top_build_prefix$MKDIR_P ;;
18284 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
18285 # If the template does not know about datarootdir, expand it.
18286 # FIXME: This hack should be removed a few years after 2.60.
18287 ac_datarootdir_hack=; ac_datarootdir_seen=
18300 case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in
18301 *datarootdir*) ac_datarootdir_seen=yes;;
18302 *@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*)
18303 { $as_echo "$as_me:$LINENO: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
18304 $as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
18306 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
18307 ac_datarootdir_hack='
18308 s&@datadir@&$datadir&g
18309 s&@docdir@&$docdir&g
18310 s&@infodir@&$infodir&g
18311 s&@localedir@&$localedir&g
18312 s&@mandir@&$mandir&g
18313 s&\\\${datarootdir}&$datarootdir&g' ;;
18317 # Neutralize VPATH when `$srcdir' = `.'.
18318 # Shell code in configure.ac might set extrasub.
18319 # FIXME: do we really want to maintain this feature?
18320 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
18321 ac_sed_extra="$ac_vpsub
18324 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
18326 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
18327 s|@configure_input@|$ac_sed_conf_input|;t t
18328 s&@top_builddir@&$ac_top_builddir_sub&;t t
18329 s&@top_build_prefix@&$ac_top_build_prefix&;t t
18330 s&@srcdir@&$ac_srcdir&;t t
18331 s&@abs_srcdir@&$ac_abs_srcdir&;t t
18332 s&@top_srcdir@&$ac_top_srcdir&;t t
18333 s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t
18334 s&@builddir@&$ac_builddir&;t t
18335 s&@abs_builddir@&$ac_abs_builddir&;t t
18336 s&@abs_top_builddir@&$ac_abs_top_builddir&;t t
18337 s&@INSTALL@&$ac_INSTALL&;t t
18338 s&@MKDIR_P@&$ac_MKDIR_P&;t t
18339 $ac_datarootdir_hack
18341 eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$tmp/subs.awk" >$tmp/out \
18342 || { { $as_echo "$as_me:$LINENO: error: could not create $ac_file" >&5
18343 $as_echo "$as_me: error: could not create $ac_file" >&2;}
18344 { (exit 1); exit 1; }; }
18346 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
18347 { ac_out=`sed -n '/\${datarootdir}/p' "$tmp/out"`; test -n "$ac_out"; } &&
18348 { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' "$tmp/out"`; test -z "$ac_out"; } &&
18349 { $as_echo "$as_me:$LINENO: WARNING: $ac_file contains a reference to the variable \`datarootdir'
18350 which seems to be undefined. Please make sure it is defined." >&5
18351 $as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir'
18352 which seems to be undefined. Please make sure it is defined." >&2;}
18356 -) cat "$tmp/out" && rm -f "$tmp/out";;
18357 *) rm -f "$ac_file" && mv "$tmp/out" "$ac_file";;
18359 || { { $as_echo "$as_me:$LINENO: error: could not create $ac_file" >&5
18360 $as_echo "$as_me: error: could not create $ac_file" >&2;}
18361 { (exit 1); exit 1; }; }
18367 if test x"$ac_file" != x-; then
18369 $as_echo "/* $configure_input */" \
18370 && eval '$AWK -f "$tmp/defines.awk"' "$ac_file_inputs"
18371 } >"$tmp/config.h" \
18372 || { { $as_echo "$as_me:$LINENO: error: could not create $ac_file" >&5
18373 $as_echo "$as_me: error: could not create $ac_file" >&2;}
18374 { (exit 1); exit 1; }; }
18375 if diff "$ac_file" "$tmp/config.h" >/dev/null 2>&1; then
18376 { $as_echo "$as_me:$LINENO: $ac_file is unchanged" >&5
18377 $as_echo "$as_me: $ac_file is unchanged" >&6;}
18380 mv "$tmp/config.h" "$ac_file" \
18381 || { { $as_echo "$as_me:$LINENO: error: could not create $ac_file" >&5
18382 $as_echo "$as_me: error: could not create $ac_file" >&2;}
18383 { (exit 1); exit 1; }; }
18386 $as_echo "/* $configure_input */" \
18387 && eval '$AWK -f "$tmp/defines.awk"' "$ac_file_inputs" \
18388 || { { $as_echo "$as_me:$LINENO: error: could not create -" >&5
18389 $as_echo "$as_me: error: could not create -" >&2;}
18390 { (exit 1); exit 1; }; }
18392 # Compute "$ac_file"'s index in $config_headers.
18395 for _am_header in $config_headers :; do
18396 case $_am_header in
18397 $_am_arg | $_am_arg:* )
18400 _am_stamp_count=`expr $_am_stamp_count + 1` ;;
18403 echo "timestamp for $_am_arg" >`$as_dirname -- "$_am_arg" ||
18404 $as_expr X"$_am_arg" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
18405 X"$_am_arg" : 'X\(//\)[^/]' \| \
18406 X"$_am_arg" : 'X\(//\)$' \| \
18407 X"$_am_arg" : 'X\(/\)' \| . 2>/dev/null ||
18408 $as_echo X"$_am_arg" |
18409 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
18413 /^X\(\/\/\)[^/].*/{
18425 s/.*/./; q'`/stamp-h$_am_stamp_count
18428 :C) { $as_echo "$as_me:$LINENO: executing $ac_file commands" >&5
18429 $as_echo "$as_me: executing $ac_file commands" >&6;}
18434 case $ac_file$ac_mode in
18435 "depfiles":C) test x"$AMDEP_TRUE" != x"" || # Autoconf 2.62 quotes --file arguments for eval, but not when files
18436 # are listed without --file. Let's play safe and only enable the eval
18437 # if we detect the quoting.
18438 case $CONFIG_FILES in
18439 *\'*) eval set x "$CONFIG_FILES" ;;
18440 *) set x $CONFIG_FILES ;;
18445 # Strip MF so we end up with the name of the file.
18446 mf=`echo "$mf" | sed -e 's/:.*$//'`
18447 # Check whether this is an Automake generated Makefile or not.
18448 # We used to match only the files named `Makefile.in', but
18449 # some people rename them; so instead we look at the file content.
18450 # Grep'ing the first line is not enough: some people post-process
18451 # each Makefile.in and add a new line on top of each file to say so.
18452 # Grep'ing the whole file is not good either: AIX grep has a line
18453 # limit of 2048, but all sed's we know have understand at least 4000.
18454 if sed -n 's,^#.*generated by automake.*,X,p' "$mf" | grep X >/dev/null 2>&1; then
18455 dirpart=`$as_dirname -- "$mf" ||
18456 $as_expr X"$mf" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
18457 X"$mf" : 'X\(//\)[^/]' \| \
18458 X"$mf" : 'X\(//\)$' \| \
18459 X"$mf" : 'X\(/\)' \| . 2>/dev/null ||
18461 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
18465 /^X\(\/\/\)[^/].*/{
18481 # Extract the definition of DEPDIR, am__include, and am__quote
18482 # from the Makefile without running `make'.
18483 DEPDIR=`sed -n 's/^DEPDIR = //p' < "$mf"`
18484 test -z "$DEPDIR" && continue
18485 am__include=`sed -n 's/^am__include = //p' < "$mf"`
18486 test -z "am__include" && continue
18487 am__quote=`sed -n 's/^am__quote = //p' < "$mf"`
18488 # When using ansi2knr, U may be empty or an underscore; expand it
18489 U=`sed -n 's/^U = //p' < "$mf"`
18490 # Find all dependency output files, they are included files with
18491 # $(DEPDIR) in their names. We invoke sed twice because it is the
18492 # simplest approach to changing $(DEPDIR) to its actual value in the
18494 for file in `sed -n "
18495 s/^$am__include $am__quote\(.*(DEPDIR).*\)$am__quote"'$/\1/p' <"$mf" | \
18496 sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g' -e 's/\$U/'"$U"'/g'`; do
18497 # Make sure the directory exists.
18498 test -f "$dirpart/$file" && continue
18499 fdir=`$as_dirname -- "$file" ||
18500 $as_expr X"$file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
18501 X"$file" : 'X\(//\)[^/]' \| \
18502 X"$file" : 'X\(//\)$' \| \
18503 X"$file" : 'X\(/\)' \| . 2>/dev/null ||
18504 $as_echo X"$file" |
18505 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
18509 /^X\(\/\/\)[^/].*/{
18522 { as_dir=$dirpart/$fdir
18524 -*) as_dir=./$as_dir;;
18526 test -d "$as_dir" || { $as_mkdir_p && mkdir -p "$as_dir"; } || {
18530 *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
18531 *) as_qdir=$as_dir;;
18533 as_dirs="'$as_qdir' $as_dirs"
18534 as_dir=`$as_dirname -- "$as_dir" ||
18535 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
18536 X"$as_dir" : 'X\(//\)[^/]' \| \
18537 X"$as_dir" : 'X\(//\)$' \| \
18538 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
18539 $as_echo X"$as_dir" |
18540 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
18544 /^X\(\/\/\)[^/].*/{
18557 test -d "$as_dir" && break
18559 test -z "$as_dirs" || eval "mkdir $as_dirs"
18560 } || test -d "$as_dir" || { { $as_echo "$as_me:$LINENO: error: cannot create directory $as_dir" >&5
18561 $as_echo "$as_me: error: cannot create directory $as_dir" >&2;}
18562 { (exit 1); exit 1; }; }; }
18563 # echo "creating $dirpart/$file"
18564 echo '# dummy' > "$dirpart/$file"
18570 # See if we are running on zsh, and set the options which allow our
18571 # commands through without removal of \ escapes.
18572 if test -n "${ZSH_VERSION+set}" ; then
18573 setopt NO_GLOB_SUBST
18576 cfgfile="${ofile}T"
18577 trap "$RM \"$cfgfile\"; exit 1" 1 2 15
18580 cat <<_LT_EOF >> "$cfgfile"
18583 # `$ECHO "$ofile" | sed 's%^.*/%%'` - Provide generalized library-building support services.
18584 # Generated automatically by $as_me ($PACKAGE$TIMESTAMP) $VERSION
18585 # Libtool was configured on host `(hostname || uname -n) 2>/dev/null | sed 1q`:
18586 # NOTE: Changes made to this file will be lost: look at ltmain.sh.
18588 # Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2003, 2004, 2005,
18589 # 2006, 2007, 2008 Free Software Foundation, Inc.
18590 # Written by Gordon Matzigkeit, 1996
18592 # This file is part of GNU Libtool.
18594 # GNU Libtool is free software; you can redistribute it and/or
18595 # modify it under the terms of the GNU General Public License as
18596 # published by the Free Software Foundation; either version 2 of
18597 # the License, or (at your option) any later version.
18599 # As a special exception to the GNU General Public License,
18600 # if you distribute this file as part of a program or library that
18601 # is built using GNU Libtool, you may include this file under the
18602 # same distribution terms that you use for the rest of that program.
18604 # GNU Libtool is distributed in the hope that it will be useful,
18605 # but WITHOUT ANY WARRANTY; without even the implied warranty of
18606 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
18607 # GNU General Public License for more details.
18609 # You should have received a copy of the GNU General Public License
18610 # along with GNU Libtool; see the file COPYING. If not, a copy
18611 # can be downloaded from http://www.gnu.org/licenses/gpl.html, or
18612 # obtained by writing to the Free Software Foundation, Inc.,
18613 # 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
18616 # The names of the tagged configurations supported by this script.
18619 # ### BEGIN LIBTOOL CONFIG
18621 # Whether or not to build static libraries.
18622 build_old_libs=$enable_static
18624 # Which release of libtool.m4 was used?
18625 macro_version=$macro_version
18626 macro_revision=$macro_revision
18628 # Whether or not to build shared libraries.
18629 build_libtool_libs=$enable_shared
18631 # What type of objects to build.
18634 # Whether or not to optimize for fast installation.
18635 fast_install=$enable_fast_install
18638 host_alias=$host_alias
18642 # The build system.
18643 build_alias=$build_alias
18647 # A sed program that does not truncate output.
18650 # Sed that helps us avoid accidentally triggering echo(1) options like -n.
18651 Xsed="\$SED -e 1s/^X//"
18653 # A grep program that handles long lines.
18659 # A literal string matcher.
18662 # A BSD- or MS-compatible name lister.
18665 # Whether we need soft or hard links.
18668 # What is the maximum length of a command?
18669 max_cmd_len=$max_cmd_len
18671 # Object file suffix (normally "o").
18674 # Executable file suffix (normally "").
18677 # whether the shell understands "unset".
18680 # turn spaces into newlines.
18683 # turn newlines into spaces.
18686 # How to create reloadable object files.
18687 reload_flag=$lt_reload_flag
18688 reload_cmds=$lt_reload_cmds
18690 # An object symbol dumper.
18691 OBJDUMP=$lt_OBJDUMP
18693 # Method to check whether dependent libraries are shared objects.
18694 deplibs_check_method=$lt_deplibs_check_method
18696 # Command to use when deplibs_check_method == "file_magic".
18697 file_magic_cmd=$lt_file_magic_cmd
18701 AR_FLAGS=$lt_AR_FLAGS
18703 # A symbol stripping program.
18706 # Commands used to install an old-style archive.
18708 old_postinstall_cmds=$lt_old_postinstall_cmds
18709 old_postuninstall_cmds=$lt_old_postuninstall_cmds
18714 # LTCC compiler flags.
18715 LTCFLAGS=$lt_CFLAGS
18717 # Take the output of nm and produce a listing of raw symbols and C names.
18718 global_symbol_pipe=$lt_lt_cv_sys_global_symbol_pipe
18720 # Transform the output of nm in a proper C declaration.
18721 global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl
18723 # Transform the output of nm in a C name address pair.
18724 global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address
18726 # Transform the output of nm in a C name address pair when lib prefix is needed.
18727 global_symbol_to_c_name_address_lib_prefix=$lt_lt_cv_sys_global_symbol_to_c_name_address_lib_prefix
18729 # The name of the directory that contains temporary libtool files.
18732 # Shell to use when invoking shell scripts.
18735 # An echo program that does not interpret backslashes.
18738 # Used to examine libraries when file_magic_cmd begins with "file".
18739 MAGIC_CMD=$MAGIC_CMD
18741 # Must we lock files when doing compilation?
18742 need_locks=$lt_need_locks
18744 # Tool to manipulate archived DWARF debug symbol files on Mac OS X.
18745 DSYMUTIL=$lt_DSYMUTIL
18747 # Tool to change global to local symbols on Mac OS X.
18750 # Tool to manipulate fat objects and archives on Mac OS X.
18753 # ldd/readelf like tool for Mach-O binaries on Mac OS X.
18756 # ldd/readelf like tool for 64 bit Mach-O binaries on Mac OS X 10.4.
18757 OTOOL64=$lt_OTOOL64
18759 # Old archive suffix (normally "a").
18762 # Shared library suffix (normally ".so").
18763 shrext_cmds=$lt_shrext_cmds
18765 # The commands to extract the exported symbol list from a shared archive.
18766 extract_expsyms_cmds=$lt_extract_expsyms_cmds
18768 # Variables whose values should be saved in libtool wrapper scripts and
18769 # restored at link time.
18770 variables_saved_for_relink=$lt_variables_saved_for_relink
18772 # Do we need the "lib" prefix for modules?
18773 need_lib_prefix=$need_lib_prefix
18775 # Do we need a version for libraries?
18776 need_version=$need_version
18778 # Library versioning type.
18779 version_type=$version_type
18781 # Shared library runtime path variable.
18782 runpath_var=$runpath_var
18784 # Shared library path variable.
18785 shlibpath_var=$shlibpath_var
18787 # Is shlibpath searched before the hard-coded library search path?
18788 shlibpath_overrides_runpath=$shlibpath_overrides_runpath
18790 # Format of library name prefix.
18791 libname_spec=$lt_libname_spec
18793 # List of archive names. First name is the real one, the rest are links.
18794 # The last name is the one that the linker finds with -lNAME
18795 library_names_spec=$lt_library_names_spec
18797 # The coded name of the library, if different from the real name.
18798 soname_spec=$lt_soname_spec
18800 # Command to use after installation of a shared archive.
18801 postinstall_cmds=$lt_postinstall_cmds
18803 # Command to use after uninstallation of a shared archive.
18804 postuninstall_cmds=$lt_postuninstall_cmds
18806 # Commands used to finish a libtool library installation in a directory.
18807 finish_cmds=$lt_finish_cmds
18809 # As "finish_cmds", except a single script fragment to be evaled but
18811 finish_eval=$lt_finish_eval
18813 # Whether we should hardcode library paths into libraries.
18814 hardcode_into_libs=$hardcode_into_libs
18816 # Compile-time system search path for libraries.
18817 sys_lib_search_path_spec=$lt_sys_lib_search_path_spec
18819 # Run-time system search path for libraries.
18820 sys_lib_dlsearch_path_spec=$lt_sys_lib_dlsearch_path_spec
18822 # Whether dlopen is supported.
18823 dlopen_support=$enable_dlopen
18825 # Whether dlopen of programs is supported.
18826 dlopen_self=$enable_dlopen_self
18828 # Whether dlopen of statically linked programs is supported.
18829 dlopen_self_static=$enable_dlopen_self_static
18831 # Commands to strip libraries.
18832 old_striplib=$lt_old_striplib
18833 striplib=$lt_striplib
18836 # The linker used to build libraries.
18839 # Commands used to build an old-style archive.
18840 old_archive_cmds=$lt_old_archive_cmds
18842 # A language specific compiler.
18845 # Is the compiler the GNU compiler?
18848 # Compiler flag to turn off builtin functions.
18849 no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag
18851 # How to pass a linker flag through the compiler.
18852 wl=$lt_lt_prog_compiler_wl
18854 # Additional compiler flags for building library objects.
18855 pic_flag=$lt_lt_prog_compiler_pic
18857 # Compiler flag to prevent dynamic linking.
18858 link_static_flag=$lt_lt_prog_compiler_static
18860 # Does compiler simultaneously support -c and -o options?
18861 compiler_c_o=$lt_lt_cv_prog_compiler_c_o
18863 # Whether or not to add -lc for building shared libraries.
18864 build_libtool_need_lc=$archive_cmds_need_lc
18866 # Whether or not to disallow shared libs when runtime libs are static.
18867 allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes
18869 # Compiler flag to allow reflexive dlopens.
18870 export_dynamic_flag_spec=$lt_export_dynamic_flag_spec
18872 # Compiler flag to generate shared objects directly from archives.
18873 whole_archive_flag_spec=$lt_whole_archive_flag_spec
18875 # Whether the compiler copes with passing no objects directly.
18876 compiler_needs_object=$lt_compiler_needs_object
18878 # Create an old-style archive from a shared archive.
18879 old_archive_from_new_cmds=$lt_old_archive_from_new_cmds
18881 # Create a temporary old-style archive to link instead of a shared archive.
18882 old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds
18884 # Commands used to build a shared archive.
18885 archive_cmds=$lt_archive_cmds
18886 archive_expsym_cmds=$lt_archive_expsym_cmds
18888 # Commands used to build a loadable module if different from building
18889 # a shared archive.
18890 module_cmds=$lt_module_cmds
18891 module_expsym_cmds=$lt_module_expsym_cmds
18893 # Whether we are building with GNU ld or not.
18894 with_gnu_ld=$lt_with_gnu_ld
18896 # Flag that allows shared libraries with undefined symbols to be built.
18897 allow_undefined_flag=$lt_allow_undefined_flag
18899 # Flag that enforces no undefined symbols.
18900 no_undefined_flag=$lt_no_undefined_flag
18902 # Flag to hardcode \$libdir into a binary during linking.
18903 # This must work even if \$libdir does not exist
18904 hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec
18906 # If ld is used when linking, flag to hardcode \$libdir into a binary
18907 # during linking. This must work even if \$libdir does not exist.
18908 hardcode_libdir_flag_spec_ld=$lt_hardcode_libdir_flag_spec_ld
18910 # Whether we need a single "-rpath" flag with a separated argument.
18911 hardcode_libdir_separator=$lt_hardcode_libdir_separator
18913 # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
18914 # DIR into the resulting binary.
18915 hardcode_direct=$hardcode_direct
18917 # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
18918 # DIR into the resulting binary and the resulting library dependency is
18919 # "absolute",i.e impossible to change by setting \${shlibpath_var} if the
18920 # library is relocated.
18921 hardcode_direct_absolute=$hardcode_direct_absolute
18923 # Set to "yes" if using the -LDIR flag during linking hardcodes DIR
18924 # into the resulting binary.
18925 hardcode_minus_L=$hardcode_minus_L
18927 # Set to "yes" if using SHLIBPATH_VAR=DIR during linking hardcodes DIR
18928 # into the resulting binary.
18929 hardcode_shlibpath_var=$hardcode_shlibpath_var
18931 # Set to "yes" if building a shared library automatically hardcodes DIR
18932 # into the library and all subsequent libraries and executables linked
18934 hardcode_automatic=$hardcode_automatic
18936 # Set to yes if linker adds runtime paths of dependent libraries
18937 # to runtime path list.
18938 inherit_rpath=$inherit_rpath
18940 # Whether libtool must link a program against all its dependency libraries.
18941 link_all_deplibs=$link_all_deplibs
18943 # Fix the shell variable \$srcfile for the compiler.
18944 fix_srcfile_path=$lt_fix_srcfile_path
18946 # Set to "yes" if exported symbols are required.
18947 always_export_symbols=$always_export_symbols
18949 # The commands to list exported symbols.
18950 export_symbols_cmds=$lt_export_symbols_cmds
18952 # Symbols that should not be listed in the preloaded symbols.
18953 exclude_expsyms=$lt_exclude_expsyms
18955 # Symbols that must always be exported.
18956 include_expsyms=$lt_include_expsyms
18958 # Commands necessary for linking programs (against libraries) with templates.
18959 prelink_cmds=$lt_prelink_cmds
18961 # Specify filename containing input files.
18962 file_list_spec=$lt_file_list_spec
18964 # How to hardcode a shared library path into an executable.
18965 hardcode_action=$hardcode_action
18967 # ### END LIBTOOL CONFIG
18973 cat <<\_LT_EOF >> "$cfgfile"
18974 # AIX sometimes has problems with the GCC collect2 program. For some
18975 # reason, if we set the COLLECT_NAMES environment variable, the problems
18976 # vanish in a puff of smoke.
18977 if test "X${COLLECT_NAMES+set}" != Xset; then
18979 export COLLECT_NAMES
18986 ltmain="$ac_aux_dir/ltmain.sh"
18989 # We use sed instead of cat because bash on DJGPP gets confused if
18990 # if finds mixed CR/LF and LF-only lines. Since sed operates in
18991 # text mode, it properly converts lines to CR/LF. This bash problem
18992 # is reportedly fixed, but why not run on old versions too?
18993 sed '/^# Generated shell functions inserted here/q' "$ltmain" >> "$cfgfile" \
18994 || (rm -f "$cfgfile"; exit 1)
18998 cat << \_LT_EOF >> "$cfgfile"
19000 # func_dirname file append nondir_replacement
19001 # Compute the dirname of FILE. If nonempty, add APPEND to the result,
19002 # otherwise set result to NONDIR_REPLACEMENT.
19006 */*) func_dirname_result="${1%/*}${2}" ;;
19007 * ) func_dirname_result="${3}" ;;
19011 # func_basename file
19014 func_basename_result="${1##*/}"
19017 # func_dirname_and_basename file append nondir_replacement
19018 # perform func_basename and func_dirname in a single function
19020 # dirname: Compute the dirname of FILE. If nonempty,
19021 # add APPEND to the result, otherwise set result
19022 # to NONDIR_REPLACEMENT.
19023 # value returned in "$func_dirname_result"
19024 # basename: Compute filename of FILE.
19025 # value retuned in "$func_basename_result"
19026 # Implementation must be kept synchronized with func_dirname
19027 # and func_basename. For efficiency, we do not delegate to
19028 # those functions but instead duplicate the functionality here.
19029 func_dirname_and_basename ()
19032 */*) func_dirname_result="${1%/*}${2}" ;;
19033 * ) func_dirname_result="${3}" ;;
19035 func_basename_result="${1##*/}"
19038 # func_stripname prefix suffix name
19039 # strip PREFIX and SUFFIX off of NAME.
19040 # PREFIX and SUFFIX must not contain globbing or regex special
19041 # characters, hashes, percent signs, but SUFFIX may contain a leading
19042 # dot (in which case that matches only a dot).
19045 # pdksh 5.2.14 does not do ${X%$Y} correctly if both X and Y are
19046 # positional parameters, so assign one to ordinary parameter first.
19047 func_stripname_result=${3}
19048 func_stripname_result=${func_stripname_result#"${1}"}
19049 func_stripname_result=${func_stripname_result%"${2}"}
19055 func_opt_split_opt=${1%%=*}
19056 func_opt_split_arg=${1#*=}
19063 *.lo) func_lo2o_result=${1%.lo}.${objext} ;;
19064 *) func_lo2o_result=${1} ;;
19068 # func_xform libobj-or-source
19071 func_xform_result=${1%.*}.lo
19074 # func_arith arithmetic-term...
19077 func_arith_result=$(( $* ))
19081 # STRING may not start with a hyphen.
19084 func_len_result=${#1}
19089 *) # Bourne compatible functions.
19090 cat << \_LT_EOF >> "$cfgfile"
19092 # func_dirname file append nondir_replacement
19093 # Compute the dirname of FILE. If nonempty, add APPEND to the result,
19094 # otherwise set result to NONDIR_REPLACEMENT.
19097 # Extract subdirectory from the argument.
19098 func_dirname_result=`$ECHO "X${1}" | $Xsed -e "$dirname"`
19099 if test "X$func_dirname_result" = "X${1}"; then
19100 func_dirname_result="${3}"
19102 func_dirname_result="$func_dirname_result${2}"
19106 # func_basename file
19109 func_basename_result=`$ECHO "X${1}" | $Xsed -e "$basename"`
19113 # func_stripname prefix suffix name
19114 # strip PREFIX and SUFFIX off of NAME.
19115 # PREFIX and SUFFIX must not contain globbing or regex special
19116 # characters, hashes, percent signs, but SUFFIX may contain a leading
19117 # dot (in which case that matches only a dot).
19118 # func_strip_suffix prefix name
19122 .*) func_stripname_result=`$ECHO "X${3}" \
19123 | $Xsed -e "s%^${1}%%" -e "s%\\\\${2}\$%%"`;;
19124 *) func_stripname_result=`$ECHO "X${3}" \
19125 | $Xsed -e "s%^${1}%%" -e "s%${2}\$%%"`;;
19130 my_sed_long_opt='1s/^\(-[^=]*\)=.*/\1/;q'
19131 my_sed_long_arg='1s/^-[^=]*=//'
19136 func_opt_split_opt=`$ECHO "X${1}" | $Xsed -e "$my_sed_long_opt"`
19137 func_opt_split_arg=`$ECHO "X${1}" | $Xsed -e "$my_sed_long_arg"`
19143 func_lo2o_result=`$ECHO "X${1}" | $Xsed -e "$lo2o"`
19146 # func_xform libobj-or-source
19149 func_xform_result=`$ECHO "X${1}" | $Xsed -e 's/\.[^.]*$/.lo/'`
19152 # func_arith arithmetic-term...
19155 func_arith_result=`expr "$@"`
19159 # STRING may not start with a hyphen.
19162 func_len_result=`expr "$1" : ".*" 2>/dev/null || echo $max_cmd_len`
19168 case $lt_shell_append in
19170 cat << \_LT_EOF >> "$cfgfile"
19172 # func_append var value
19173 # Append VALUE to the end of shell variable VAR.
19181 cat << \_LT_EOF >> "$cfgfile"
19183 # func_append var value
19184 # Append VALUE to the end of shell variable VAR.
19195 sed -n '/^# Generated shell functions inserted here/,$p' "$ltmain" >> "$cfgfile" \
19196 || (rm -f "$cfgfile"; exit 1)
19198 mv -f "$cfgfile" "$ofile" ||
19199 (rm -f "$ofile" && cp "$cfgfile" "$ofile" && rm -f "$cfgfile")
19203 "po-directories":C)
19204 for ac_file in $CONFIG_FILES; do
19205 # Support "outfile[:infile[:infile...]]"
19207 *:*) ac_file=`echo "$ac_file"|sed 's%:.*%%'` ;;
19209 # PO directories have a Makefile.in generated from Makefile.in.in.
19210 case "$ac_file" in */Makefile.in)
19211 # Adjust a relative srcdir.
19212 ac_dir=`echo "$ac_file"|sed 's%/[^/][^/]*$%%'`
19213 ac_dir_suffix="/`echo "$ac_dir"|sed 's%^\./%%'`"
19214 ac_dots=`echo "$ac_dir_suffix"|sed 's%/[^/]*%../%g'`
19215 # In autoconf-2.13 it is called $ac_given_srcdir.
19216 # In autoconf-2.50 it is called $srcdir.
19217 test -n "$ac_given_srcdir" || ac_given_srcdir="$srcdir"
19218 case "$ac_given_srcdir" in
19219 .) top_srcdir=`echo $ac_dots|sed 's%/$%%'` ;;
19220 /*) top_srcdir="$ac_given_srcdir" ;;
19221 *) top_srcdir="$ac_dots$ac_given_srcdir" ;;
19223 # Treat a directory as a PO directory if and only if it has a
19224 # POTFILES.in file. This allows packages to have multiple PO
19225 # directories under different names or in different locations.
19226 if test -f "$ac_given_srcdir/$ac_dir/POTFILES.in"; then
19227 rm -f "$ac_dir/POTFILES"
19228 test -n "$as_me" && echo "$as_me: creating $ac_dir/POTFILES" || echo "creating $ac_dir/POTFILES"
19229 cat "$ac_given_srcdir/$ac_dir/POTFILES.in" | sed -e "/^#/d" -e "/^[ ]*\$/d" -e "s,.*, $top_srcdir/& \\\\," | sed -e "\$s/\(.*\) \\\\/\1/" > "$ac_dir/POTFILES"
19230 POMAKEFILEDEPS="POTFILES.in"
19231 # ALL_LINGUAS, POFILES, UPDATEPOFILES, DUMMYPOFILES, GMOFILES depend
19232 # on $ac_dir but don't depend on user-specified configuration
19234 if test -f "$ac_given_srcdir/$ac_dir/LINGUAS"; then
19235 # The LINGUAS file contains the set of available languages.
19236 if test -n "$OBSOLETE_ALL_LINGUAS"; then
19237 test -n "$as_me" && echo "$as_me: setting ALL_LINGUAS in configure.in is obsolete" || echo "setting ALL_LINGUAS in configure.in is obsolete"
19239 ALL_LINGUAS_=`sed -e "/^#/d" -e "s/#.*//" "$ac_given_srcdir/$ac_dir/LINGUAS"`
19240 # Hide the ALL_LINGUAS assigment from automake < 1.5.
19241 eval 'ALL_LINGUAS''=$ALL_LINGUAS_'
19242 POMAKEFILEDEPS="$POMAKEFILEDEPS LINGUAS"
19244 # The set of available languages was given in configure.in.
19245 # Hide the ALL_LINGUAS assigment from automake < 1.5.
19246 eval 'ALL_LINGUAS''=$OBSOLETE_ALL_LINGUAS'
19249 # as $(foreach lang, $(ALL_LINGUAS), $(srcdir)/$(lang).po)
19250 # Compute UPDATEPOFILES
19251 # as $(foreach lang, $(ALL_LINGUAS), $(lang).po-update)
19252 # Compute DUMMYPOFILES
19253 # as $(foreach lang, $(ALL_LINGUAS), $(lang).nop)
19255 # as $(foreach lang, $(ALL_LINGUAS), $(srcdir)/$(lang).gmo)
19256 case "$ac_given_srcdir" in
19258 *) srcdirpre='$(srcdir)/' ;;
19264 for lang in $ALL_LINGUAS; do
19265 POFILES="$POFILES $srcdirpre$lang.po"
19266 UPDATEPOFILES="$UPDATEPOFILES $lang.po-update"
19267 DUMMYPOFILES="$DUMMYPOFILES $lang.nop"
19268 GMOFILES="$GMOFILES $srcdirpre$lang.gmo"
19270 # CATALOGS depends on both $ac_dir and the user's LINGUAS
19271 # environment variable.
19273 if test -n "$ALL_LINGUAS"; then
19274 for presentlang in $ALL_LINGUAS; do
19276 if test "%UNSET%" != "$LINGUAS"; then
19277 desiredlanguages="$LINGUAS"
19279 desiredlanguages="$ALL_LINGUAS"
19281 for desiredlang in $desiredlanguages; do
19282 # Use the presentlang catalog if desiredlang is
19283 # a. equal to presentlang, or
19284 # b. a variant of presentlang (because in this case,
19285 # presentlang can be used as a fallback for messages
19286 # which are not translated in the desiredlang catalog).
19287 case "$desiredlang" in
19288 "$presentlang"*) useit=yes;;
19291 if test $useit = yes; then
19292 INST_LINGUAS="$INST_LINGUAS $presentlang"
19297 if test -n "$INST_LINGUAS"; then
19298 for lang in $INST_LINGUAS; do
19299 CATALOGS="$CATALOGS $lang.gmo"
19302 test -n "$as_me" && echo "$as_me: creating $ac_dir/Makefile" || echo "creating $ac_dir/Makefile"
19303 sed -e "/^POTFILES =/r $ac_dir/POTFILES" -e "/^# Makevars/r $ac_given_srcdir/$ac_dir/Makevars" -e "s|@POFILES@|$POFILES|g" -e "s|@UPDATEPOFILES@|$UPDATEPOFILES|g" -e "s|@DUMMYPOFILES@|$DUMMYPOFILES|g" -e "s|@GMOFILES@|$GMOFILES|g" -e "s|@CATALOGS@|$CATALOGS|g" -e "s|@POMAKEFILEDEPS@|$POMAKEFILEDEPS|g" "$ac_dir/Makefile.in" > "$ac_dir/Makefile"
19304 for f in "$ac_given_srcdir/$ac_dir"/Rules-*; do
19305 if test -f "$f"; then
19307 *.orig | *.bak | *~) ;;
19308 *) cat "$f" >> "$ac_dir/Makefile" ;;
19321 { (exit 0); exit 0; }
19323 chmod +x $CONFIG_STATUS
19324 ac_clean_files=$ac_clean_files_save
19326 test $ac_write_fail = 0 ||
19327 { { $as_echo "$as_me:$LINENO: error: write failure creating $CONFIG_STATUS" >&5
19328 $as_echo "$as_me: error: write failure creating $CONFIG_STATUS" >&2;}
19329 { (exit 1); exit 1; }; }
19332 # configure is writing to config.log, and then calls config.status.
19333 # config.status does its own redirection, appending to config.log.
19334 # Unfortunately, on DOS this fails, as config.log is still kept open
19335 # by configure, so config.status won't be able to write to it; its
19336 # output is simply discarded. So we exec the FD to /dev/null,
19337 # effectively closing config.log, so it can be properly (re)opened and
19338 # appended to by config.status. When coming back to configure, we
19339 # need to make the FD available again.
19340 if test "$no_create" != yes; then
19342 ac_config_status_args=
19343 test "$silent" = yes &&
19344 ac_config_status_args="$ac_config_status_args --quiet"
19346 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
19348 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
19349 # would make configure fail if this is the last instruction.
19350 $ac_cs_success || { (exit 1); exit 1; }
19352 if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no; then
19353 { $as_echo "$as_me:$LINENO: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
19354 $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}