2 # Guess values for system-dependent variables and create Makefiles.
3 # Generated by GNU Autoconf 2.63 for smc 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'"
574 exec 7<&0 </dev
/null
6>&1
577 # hostname on some systems (SVR3.2, Linux) returns a bogus exit status,
578 # so uname gets run too.
579 ac_hostname
=`(hostname || uname -n) 2>/dev/null | sed 1q`
584 ac_default_prefix
=/usr
/local
586 ac_config_libobj_dir
=.
592 SHELL
=${CONFIG_SHELL-/bin/sh}
594 # Identity of this package.
596 PACKAGE_TARNAME
='smc'
597 PACKAGE_VERSION
='1.9'
598 PACKAGE_STRING
='smc 1.9'
602 # Factoring default headers for most tests.
603 ac_includes_default
="\
605 #ifdef HAVE_SYS_TYPES_H
606 # include <sys/types.h>
608 #ifdef HAVE_SYS_STAT_H
609 # include <sys/stat.h>
615 # ifdef HAVE_STDLIB_H
620 # if !defined STDC_HEADERS && defined HAVE_MEMORY_H
625 #ifdef HAVE_STRINGS_H
626 # include <strings.h>
628 #ifdef HAVE_INTTYPES_H
629 # include <inttypes.h>
638 ac_subst_vars
='am__EXEEXT_FALSE
660 XGETTEXT_EXTRA_OPTIONS
668 GETTEXT_MACRO_VERSION
699 INSTALL_STRIP_PROGRAM
753 program_transform_name
765 enable_option_checking
766 enable_dependency_tracking
775 ac_precious_vars
='build_alias
794 # Initialize some variables set by options.
796 ac_init_version
=false
797 ac_unrecognized_opts
=
799 # The variables have the same names as the options, with
800 # dashes changed to underlines.
808 program_transform_name
=s
,x
,x
,
816 # Installation directory options.
817 # These are left unexpanded so users can "make install exec_prefix=/foo"
818 # and all the variables that are supposed to be based on exec_prefix
819 # by default will actually change.
820 # Use braces instead of parens because sh, perl, etc. also accept them.
821 # (The list follows the same order as the GNU Coding Standards.)
822 bindir
='${exec_prefix}/bin'
823 sbindir
='${exec_prefix}/sbin'
824 libexecdir
='${exec_prefix}/libexec'
825 datarootdir
='${prefix}/share'
826 datadir
='${datarootdir}'
827 sysconfdir
='${prefix}/etc'
828 sharedstatedir
='${prefix}/com'
829 localstatedir
='${prefix}/var'
830 includedir
='${prefix}/include'
831 oldincludedir
='/usr/include'
832 docdir
='${datarootdir}/doc/${PACKAGE_TARNAME}'
833 infodir
='${datarootdir}/info'
838 libdir
='${exec_prefix}/lib'
839 localedir
='${datarootdir}/locale'
840 mandir
='${datarootdir}/man'
846 # If the previous option needs an argument, assign it.
847 if test -n "$ac_prev"; then
848 eval $ac_prev=\
$ac_option
854 *=*) ac_optarg
=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
858 # Accept the important Cygnus configure options, so we can diagnose typos.
860 case $ac_dashdash$ac_option in
864 -bindir |
--bindir |
--bindi |
--bind |
--bin |
--bi)
866 -bindir=* |
--bindir=* |
--bindi=* |
--bind=* |
--bin=* |
--bi=*)
869 -build |
--build |
--buil |
--bui |
--bu)
870 ac_prev
=build_alias
;;
871 -build=* |
--build=* |
--buil=* |
--bui=* |
--bu=*)
872 build_alias
=$ac_optarg ;;
874 -cache-file |
--cache-file |
--cache-fil |
--cache-fi \
875 |
--cache-f |
--cache- |
--cache |
--cach |
--cac |
--ca |
--c)
876 ac_prev
=cache_file
;;
877 -cache-file=* |
--cache-file=* |
--cache-fil=* |
--cache-fi=* \
878 |
--cache-f=* |
--cache-=* |
--cache=* |
--cach=* |
--cac=* |
--ca=* |
--c=*)
879 cache_file
=$ac_optarg ;;
882 cache_file
=config.cache
;;
884 -datadir |
--datadir |
--datadi |
--datad)
886 -datadir=* |
--datadir=* |
--datadi=* |
--datad=*)
887 datadir
=$ac_optarg ;;
889 -datarootdir |
--datarootdir |
--datarootdi |
--datarootd |
--dataroot \
890 |
--dataroo |
--dataro |
--datar)
891 ac_prev
=datarootdir
;;
892 -datarootdir=* |
--datarootdir=* |
--datarootdi=* |
--datarootd=* \
893 |
--dataroot=* |
--dataroo=* |
--dataro=* |
--datar=*)
894 datarootdir
=$ac_optarg ;;
896 -disable-* |
--disable-*)
897 ac_useropt
=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
898 # Reject names that are not valid shell variable names.
899 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev
/null
&&
900 { $as_echo "$as_me: error: invalid feature name: $ac_useropt" >&2
901 { (exit 1); exit 1; }; }
902 ac_useropt_orig
=$ac_useropt
903 ac_useropt
=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
904 case $ac_user_opts in
908 *) ac_unrecognized_opts
="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig"
909 ac_unrecognized_sep
=', ';;
911 eval enable_
$ac_useropt=no
;;
913 -docdir |
--docdir |
--docdi |
--doc |
--do)
915 -docdir=* |
--docdir=* |
--docdi=* |
--doc=* |
--do=*)
918 -dvidir |
--dvidir |
--dvidi |
--dvid |
--dvi |
--dv)
920 -dvidir=* |
--dvidir=* |
--dvidi=* |
--dvid=* |
--dvi=* |
--dv=*)
923 -enable-* |
--enable-*)
924 ac_useropt
=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
925 # Reject names that are not valid shell variable names.
926 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev
/null
&&
927 { $as_echo "$as_me: error: invalid feature name: $ac_useropt" >&2
928 { (exit 1); exit 1; }; }
929 ac_useropt_orig
=$ac_useropt
930 ac_useropt
=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
931 case $ac_user_opts in
935 *) ac_unrecognized_opts
="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig"
936 ac_unrecognized_sep
=', ';;
938 eval enable_
$ac_useropt=\
$ac_optarg ;;
940 -exec-prefix |
--exec_prefix |
--exec-prefix |
--exec-prefi \
941 |
--exec-pref |
--exec-pre |
--exec-pr |
--exec-p |
--exec- \
942 |
--exec |
--exe |
--ex)
943 ac_prev
=exec_prefix
;;
944 -exec-prefix=* |
--exec_prefix=* |
--exec-prefix=* |
--exec-prefi=* \
945 |
--exec-pref=* |
--exec-pre=* |
--exec-pr=* |
--exec-p=* |
--exec-=* \
946 |
--exec=* |
--exe=* |
--ex=*)
947 exec_prefix
=$ac_optarg ;;
949 -gas |
--gas |
--ga |
--g)
950 # Obsolete; use --with-gas.
953 -help |
--help |
--hel |
--he |
-h)
955 -help=r
* |
--help=r
* |
--hel=r
* |
--he=r
* |
-hr*)
956 ac_init_help
=recursive
;;
957 -help=s
* |
--help=s
* |
--hel=s
* |
--he=s
* |
-hs*)
958 ac_init_help
=short
;;
960 -host |
--host |
--hos |
--ho)
961 ac_prev
=host_alias
;;
962 -host=* |
--host=* |
--hos=* |
--ho=*)
963 host_alias
=$ac_optarg ;;
965 -htmldir |
--htmldir |
--htmldi |
--htmld |
--html |
--htm |
--ht)
967 -htmldir=* |
--htmldir=* |
--htmldi=* |
--htmld=* |
--html=* |
--htm=* \
969 htmldir
=$ac_optarg ;;
971 -includedir |
--includedir |
--includedi |
--included |
--include \
972 |
--includ |
--inclu |
--incl |
--inc)
973 ac_prev
=includedir
;;
974 -includedir=* |
--includedir=* |
--includedi=* |
--included=* |
--include=* \
975 |
--includ=* |
--inclu=* |
--incl=* |
--inc=*)
976 includedir
=$ac_optarg ;;
978 -infodir |
--infodir |
--infodi |
--infod |
--info |
--inf)
980 -infodir=* |
--infodir=* |
--infodi=* |
--infod=* |
--info=* |
--inf=*)
981 infodir
=$ac_optarg ;;
983 -libdir |
--libdir |
--libdi |
--libd)
985 -libdir=* |
--libdir=* |
--libdi=* |
--libd=*)
988 -libexecdir |
--libexecdir |
--libexecdi |
--libexecd |
--libexec \
989 |
--libexe |
--libex |
--libe)
990 ac_prev
=libexecdir
;;
991 -libexecdir=* |
--libexecdir=* |
--libexecdi=* |
--libexecd=* |
--libexec=* \
992 |
--libexe=* |
--libex=* |
--libe=*)
993 libexecdir
=$ac_optarg ;;
995 -localedir |
--localedir |
--localedi |
--localed |
--locale)
997 -localedir=* |
--localedir=* |
--localedi=* |
--localed=* |
--locale=*)
998 localedir
=$ac_optarg ;;
1000 -localstatedir |
--localstatedir |
--localstatedi |
--localstated \
1001 |
--localstate |
--localstat |
--localsta |
--localst |
--locals)
1002 ac_prev
=localstatedir
;;
1003 -localstatedir=* |
--localstatedir=* |
--localstatedi=* |
--localstated=* \
1004 |
--localstate=* |
--localstat=* |
--localsta=* |
--localst=* |
--locals=*)
1005 localstatedir
=$ac_optarg ;;
1007 -mandir |
--mandir |
--mandi |
--mand |
--man |
--ma |
--m)
1009 -mandir=* |
--mandir=* |
--mandi=* |
--mand=* |
--man=* |
--ma=* |
--m=*)
1010 mandir
=$ac_optarg ;;
1012 -nfp |
--nfp |
--nf)
1013 # Obsolete; use --without-fp.
1016 -no-create |
--no-create |
--no-creat |
--no-crea |
--no-cre \
1017 |
--no-cr |
--no-c |
-n)
1020 -no-recursion |
--no-recursion |
--no-recursio |
--no-recursi \
1021 |
--no-recurs |
--no-recur |
--no-recu |
--no-rec |
--no-re |
--no-r)
1024 -oldincludedir |
--oldincludedir |
--oldincludedi |
--oldincluded \
1025 |
--oldinclude |
--oldinclud |
--oldinclu |
--oldincl |
--oldinc \
1026 |
--oldin |
--oldi |
--old |
--ol |
--o)
1027 ac_prev
=oldincludedir
;;
1028 -oldincludedir=* |
--oldincludedir=* |
--oldincludedi=* |
--oldincluded=* \
1029 |
--oldinclude=* |
--oldinclud=* |
--oldinclu=* |
--oldincl=* |
--oldinc=* \
1030 |
--oldin=* |
--oldi=* |
--old=* |
--ol=* |
--o=*)
1031 oldincludedir
=$ac_optarg ;;
1033 -prefix |
--prefix |
--prefi |
--pref |
--pre |
--pr |
--p)
1035 -prefix=* |
--prefix=* |
--prefi=* |
--pref=* |
--pre=* |
--pr=* |
--p=*)
1036 prefix
=$ac_optarg ;;
1038 -program-prefix |
--program-prefix |
--program-prefi |
--program-pref \
1039 |
--program-pre |
--program-pr |
--program-p)
1040 ac_prev
=program_prefix
;;
1041 -program-prefix=* |
--program-prefix=* |
--program-prefi=* \
1042 |
--program-pref=* |
--program-pre=* |
--program-pr=* |
--program-p=*)
1043 program_prefix
=$ac_optarg ;;
1045 -program-suffix |
--program-suffix |
--program-suffi |
--program-suff \
1046 |
--program-suf |
--program-su |
--program-s)
1047 ac_prev
=program_suffix
;;
1048 -program-suffix=* |
--program-suffix=* |
--program-suffi=* \
1049 |
--program-suff=* |
--program-suf=* |
--program-su=* |
--program-s=*)
1050 program_suffix
=$ac_optarg ;;
1052 -program-transform-name |
--program-transform-name \
1053 |
--program-transform-nam |
--program-transform-na \
1054 |
--program-transform-n |
--program-transform- \
1055 |
--program-transform |
--program-transfor \
1056 |
--program-transfo |
--program-transf \
1057 |
--program-trans |
--program-tran \
1058 |
--progr-tra |
--program-tr |
--program-t)
1059 ac_prev
=program_transform_name
;;
1060 -program-transform-name=* |
--program-transform-name=* \
1061 |
--program-transform-nam=* |
--program-transform-na=* \
1062 |
--program-transform-n=* |
--program-transform-=* \
1063 |
--program-transform=* |
--program-transfor=* \
1064 |
--program-transfo=* |
--program-transf=* \
1065 |
--program-trans=* |
--program-tran=* \
1066 |
--progr-tra=* |
--program-tr=* |
--program-t=*)
1067 program_transform_name
=$ac_optarg ;;
1069 -pdfdir |
--pdfdir |
--pdfdi |
--pdfd |
--pdf |
--pd)
1071 -pdfdir=* |
--pdfdir=* |
--pdfdi=* |
--pdfd=* |
--pdf=* |
--pd=*)
1072 pdfdir
=$ac_optarg ;;
1074 -psdir |
--psdir |
--psdi |
--psd |
--ps)
1076 -psdir=* |
--psdir=* |
--psdi=* |
--psd=* |
--ps=*)
1079 -q |
-quiet |
--quiet |
--quie |
--qui |
--qu |
--q \
1080 |
-silent |
--silent |
--silen |
--sile |
--sil)
1083 -sbindir |
--sbindir |
--sbindi |
--sbind |
--sbin |
--sbi |
--sb)
1085 -sbindir=* |
--sbindir=* |
--sbindi=* |
--sbind=* |
--sbin=* \
1087 sbindir
=$ac_optarg ;;
1089 -sharedstatedir |
--sharedstatedir |
--sharedstatedi \
1090 |
--sharedstated |
--sharedstate |
--sharedstat |
--sharedsta \
1091 |
--sharedst |
--shareds |
--shared |
--share |
--shar \
1093 ac_prev
=sharedstatedir
;;
1094 -sharedstatedir=* |
--sharedstatedir=* |
--sharedstatedi=* \
1095 |
--sharedstated=* |
--sharedstate=* |
--sharedstat=* |
--sharedsta=* \
1096 |
--sharedst=* |
--shareds=* |
--shared=* |
--share=* |
--shar=* \
1098 sharedstatedir
=$ac_optarg ;;
1100 -site |
--site |
--sit)
1102 -site=* |
--site=* |
--sit=*)
1105 -srcdir |
--srcdir |
--srcdi |
--srcd |
--src |
--sr)
1107 -srcdir=* |
--srcdir=* |
--srcdi=* |
--srcd=* |
--src=* |
--sr=*)
1108 srcdir
=$ac_optarg ;;
1110 -sysconfdir |
--sysconfdir |
--sysconfdi |
--sysconfd |
--sysconf \
1111 |
--syscon |
--sysco |
--sysc |
--sys |
--sy)
1112 ac_prev
=sysconfdir
;;
1113 -sysconfdir=* |
--sysconfdir=* |
--sysconfdi=* |
--sysconfd=* |
--sysconf=* \
1114 |
--syscon=* |
--sysco=* |
--sysc=* |
--sys=* |
--sy=*)
1115 sysconfdir
=$ac_optarg ;;
1117 -target |
--target |
--targe |
--targ |
--tar |
--ta |
--t)
1118 ac_prev
=target_alias
;;
1119 -target=* |
--target=* |
--targe=* |
--targ=* |
--tar=* |
--ta=* |
--t=*)
1120 target_alias
=$ac_optarg ;;
1122 -v |
-verbose |
--verbose |
--verbos |
--verbo |
--verb)
1125 -version |
--version |
--versio |
--versi |
--vers |
-V)
1126 ac_init_version
=: ;;
1129 ac_useropt
=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
1130 # Reject names that are not valid shell variable names.
1131 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev
/null
&&
1132 { $as_echo "$as_me: error: invalid package name: $ac_useropt" >&2
1133 { (exit 1); exit 1; }; }
1134 ac_useropt_orig
=$ac_useropt
1135 ac_useropt
=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1136 case $ac_user_opts in
1140 *) ac_unrecognized_opts
="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig"
1141 ac_unrecognized_sep
=', ';;
1143 eval with_
$ac_useropt=\
$ac_optarg ;;
1145 -without-* |
--without-*)
1146 ac_useropt
=`expr "x$ac_option" : 'x-*without-\(.*\)'`
1147 # Reject names that are not valid shell variable names.
1148 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev
/null
&&
1149 { $as_echo "$as_me: error: invalid package name: $ac_useropt" >&2
1150 { (exit 1); exit 1; }; }
1151 ac_useropt_orig
=$ac_useropt
1152 ac_useropt
=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1153 case $ac_user_opts in
1157 *) ac_unrecognized_opts
="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig"
1158 ac_unrecognized_sep
=', ';;
1160 eval with_
$ac_useropt=no
;;
1163 # Obsolete; use --with-x.
1166 -x-includes |
--x-includes |
--x-include |
--x-includ |
--x-inclu \
1167 |
--x-incl |
--x-inc |
--x-in |
--x-i)
1168 ac_prev
=x_includes
;;
1169 -x-includes=* |
--x-includes=* |
--x-include=* |
--x-includ=* |
--x-inclu=* \
1170 |
--x-incl=* |
--x-inc=* |
--x-in=* |
--x-i=*)
1171 x_includes
=$ac_optarg ;;
1173 -x-libraries |
--x-libraries |
--x-librarie |
--x-librari \
1174 |
--x-librar |
--x-libra |
--x-libr |
--x-lib |
--x-li |
--x-l)
1175 ac_prev
=x_libraries
;;
1176 -x-libraries=* |
--x-libraries=* |
--x-librarie=* |
--x-librari=* \
1177 |
--x-librar=* |
--x-libra=* |
--x-libr=* |
--x-lib=* |
--x-li=* |
--x-l=*)
1178 x_libraries
=$ac_optarg ;;
1180 -*) { $as_echo "$as_me: error: unrecognized option: $ac_option
1181 Try \`$0 --help' for more information." >&2
1182 { (exit 1); exit 1; }; }
1186 ac_envvar
=`expr "x$ac_option" : 'x\([^=]*\)='`
1187 # Reject names that are not valid shell variable names.
1188 expr "x$ac_envvar" : ".*[^_$as_cr_alnum]" >/dev
/null
&&
1189 { $as_echo "$as_me: error: invalid variable name: $ac_envvar" >&2
1190 { (exit 1); exit 1; }; }
1191 eval $ac_envvar=\
$ac_optarg
1192 export $ac_envvar ;;
1195 # FIXME: should be removed in autoconf 3.0.
1196 $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2
1197 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev
/null
&&
1198 $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2
1199 : ${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}
1205 if test -n "$ac_prev"; then
1206 ac_option
=--`echo $ac_prev | sed 's/_/-/g'`
1207 { $as_echo "$as_me: error: missing argument to $ac_option" >&2
1208 { (exit 1); exit 1; }; }
1211 if test -n "$ac_unrecognized_opts"; then
1212 case $enable_option_checking in
1214 fatal
) { $as_echo "$as_me: error: unrecognized options: $ac_unrecognized_opts" >&2
1215 { (exit 1); exit 1; }; } ;;
1216 *) $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;;
1220 # Check all directory arguments for consistency.
1221 for ac_var
in exec_prefix prefix bindir sbindir libexecdir datarootdir \
1222 datadir sysconfdir sharedstatedir localstatedir includedir \
1223 oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
1224 libdir localedir mandir
1226 eval ac_val
=\$
$ac_var
1227 # Remove trailing slashes.
1230 ac_val
=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'`
1231 eval $ac_var=\
$ac_val;;
1233 # Be sure to have absolute directory names.
1235 [\\/$
]* | ?
:[\\/]* ) continue;;
1236 NONE |
'' ) case $ac_var in *prefix
) continue;; esac;;
1238 { $as_echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2
1239 { (exit 1); exit 1; }; }
1242 # There might be people who depend on the old broken behavior: `$host'
1243 # used to hold the argument of --host etc.
1244 # FIXME: To remove some day.
1247 target
=$target_alias
1249 # FIXME: To remove some day.
1250 if test "x$host_alias" != x
; then
1251 if test "x$build_alias" = x
; then
1252 cross_compiling
=maybe
1253 $as_echo "$as_me: WARNING: If you wanted to set the --build type, don't use --host.
1254 If a cross compiler is detected then cross compile mode will be used." >&2
1255 elif test "x$build_alias" != "x$host_alias"; then
1261 test -n "$host_alias" && ac_tool_prefix
=$host_alias-
1263 test "$silent" = yes && exec 6>/dev
/null
1266 ac_pwd
=`pwd` && test -n "$ac_pwd" &&
1267 ac_ls_di
=`ls -di .` &&
1268 ac_pwd_ls_di
=`cd "$ac_pwd" && ls -di .` ||
1269 { $as_echo "$as_me: error: working directory cannot be determined" >&2
1270 { (exit 1); exit 1; }; }
1271 test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
1272 { $as_echo "$as_me: error: pwd does not report name of working directory" >&2
1273 { (exit 1); exit 1; }; }
1276 # Find the source files, if location was not specified.
1277 if test -z "$srcdir"; then
1278 ac_srcdir_defaulted
=yes
1279 # Try the directory containing this script, then the parent directory.
1280 ac_confdir
=`$as_dirname -- "$as_myself" ||
1281 $as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
1282 X"$as_myself" : 'X\(//\)[^/]' \| \
1283 X"$as_myself" : 'X\(//\)$' \| \
1284 X"$as_myself" : 'X\(/\)' \| . 2>/dev/null ||
1285 $as_echo X"$as_myself" |
1286 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
1304 if test ! -r "$srcdir/$ac_unique_file"; then
1308 ac_srcdir_defaulted
=no
1310 if test ! -r "$srcdir/$ac_unique_file"; then
1311 test "$ac_srcdir_defaulted" = yes && srcdir
="$ac_confdir or .."
1312 { $as_echo "$as_me: error: cannot find sources ($ac_unique_file) in $srcdir" >&2
1313 { (exit 1); exit 1; }; }
1315 ac_msg
="sources are in $srcdir, but \`cd $srcdir' does not work"
1317 cd "$srcdir" && test -r "./$ac_unique_file" || { $as_echo "$as_me: error: $ac_msg" >&2
1318 { (exit 1); exit 1; }; }
1320 # When building in place, set srcdir=.
1321 if test "$ac_abs_confdir" = "$ac_pwd"; then
1324 # Remove unnecessary trailing slashes from srcdir.
1325 # Double slashes in file names in object file debugging info
1326 # mess up M-x gdb in Emacs.
1328 */) srcdir
=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
1330 for ac_var
in $ac_precious_vars; do
1331 eval ac_env_
${ac_var}_set=\${${ac_var}+set}
1332 eval ac_env_
${ac_var}_value
=\$
${ac_var}
1333 eval ac_cv_env_
${ac_var}_set=\${${ac_var}+set}
1334 eval ac_cv_env_
${ac_var}_value
=\$
${ac_var}
1338 # Report the --help message.
1340 if test "$ac_init_help" = "long"; then
1341 # Omit some internal or obsolete options to make the list less imposing.
1342 # This message is too long to be a string in the A/UX 3.1 sh.
1344 \`configure' configures smc 1.9 to adapt to many kinds of systems.
1346 Usage: $0 [OPTION]... [VAR=VALUE]...
1348 To assign environment variables (e.g., CC, CFLAGS...), specify them as
1349 VAR=VALUE. See below for descriptions of some of the useful variables.
1351 Defaults for the options are specified in brackets.
1354 -h, --help display this help and exit
1355 --help=short display options specific to this package
1356 --help=recursive display the short help of all the included packages
1357 -V, --version display version information and exit
1358 -q, --quiet, --silent do not print \`checking...' messages
1359 --cache-file=FILE cache test results in FILE [disabled]
1360 -C, --config-cache alias for \`--cache-file=config.cache'
1361 -n, --no-create do not create output files
1362 --srcdir=DIR find the sources in DIR [configure dir or \`..']
1364 Installation directories:
1365 --prefix=PREFIX install architecture-independent files in PREFIX
1366 [$ac_default_prefix]
1367 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
1370 By default, \`make install' will install all the files in
1371 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
1372 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
1373 for instance \`--prefix=\$HOME'.
1375 For better control, use the options below.
1377 Fine tuning of the installation directories:
1378 --bindir=DIR user executables [EPREFIX/bin]
1379 --sbindir=DIR system admin executables [EPREFIX/sbin]
1380 --libexecdir=DIR program executables [EPREFIX/libexec]
1381 --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
1382 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
1383 --localstatedir=DIR modifiable single-machine data [PREFIX/var]
1384 --libdir=DIR object code libraries [EPREFIX/lib]
1385 --includedir=DIR C header files [PREFIX/include]
1386 --oldincludedir=DIR C header files for non-gcc [/usr/include]
1387 --datarootdir=DIR read-only arch.-independent data root [PREFIX/share]
1388 --datadir=DIR read-only architecture-independent data [DATAROOTDIR]
1389 --infodir=DIR info documentation [DATAROOTDIR/info]
1390 --localedir=DIR locale-dependent data [DATAROOTDIR/locale]
1391 --mandir=DIR man documentation [DATAROOTDIR/man]
1392 --docdir=DIR documentation root [DATAROOTDIR/doc/smc]
1393 --htmldir=DIR html documentation [DOCDIR]
1394 --dvidir=DIR dvi documentation [DOCDIR]
1395 --pdfdir=DIR pdf documentation [DOCDIR]
1396 --psdir=DIR ps documentation [DOCDIR]
1402 --program-prefix=PREFIX prepend PREFIX to installed program names
1403 --program-suffix=SUFFIX append SUFFIX to installed program names
1404 --program-transform-name=PROGRAM run
sed PROGRAM on installed program names
1407 --build=BUILD configure
for building on BUILD
[guessed
]
1408 --host=HOST cross-compile to build programs to run on HOST
[BUILD
]
1409 --target=TARGET configure
for building compilers
for TARGET
[HOST
]
1413 if test -n "$ac_init_help"; then
1414 case $ac_init_help in
1415 short | recursive
) echo "Configuration of smc 1.9:";;
1420 --disable-option-checking ignore unrecognized
--enable/--with options
1421 --disable-FEATURE do not include FEATURE
(same as
--enable-FEATURE=no
)
1422 --enable-FEATURE[=ARG
] include FEATURE
[ARG
=yes]
1423 --disable-dependency-tracking speeds up one-time build
1424 --enable-dependency-tracking do not reject slow dependency extractors
1425 --disable-nls do not use Native Language Support
1426 --disable-rpath do not hardcode runtime library paths
1427 --enable-debug enable debug build
1428 --enable-runinplace build to run inplace
1431 --with-PACKAGE[=ARG
] use PACKAGE
[ARG
=yes]
1432 --without-PACKAGE do not use PACKAGE
(same as
--with-PACKAGE=no
)
1433 --with-gnu-ld assume the C compiler uses GNU ld default
=no
1434 --with-libiconv-prefix[=DIR
] search
for libiconv
in DIR
/include and DIR
/lib
1435 --without-libiconv-prefix don
't search for libiconv in includedir and libdir
1436 --with-libintl-prefix[=DIR] search for libintl in DIR/include and DIR/lib
1437 --without-libintl-prefix don't search
for libintl
in includedir and libdir
1439 Some influential environment variables
:
1440 CXX C
++ compiler
command
1441 CXXFLAGS C
++ compiler flags
1442 LDFLAGS linker flags
, e.g.
-L<lib dir
> if you have libraries
in a
1443 nonstandard directory
<lib dir
>
1444 LIBS libraries to pass to the linker
, e.g.
-l<library
>
1445 CPPFLAGS C
/C
++/Objective C preprocessor flags
, e.g.
-I<include dir
> if
1446 you have headers
in a nonstandard directory
<include dir
>
1447 PKG_CONFIG path to pkg-config utility
1448 SDL_CFLAGS C compiler flags
for SDL
, overriding pkg-config
1449 SDL_LIBS linker flags
for SDL
, overriding pkg-config
1451 C compiler flags
for CEGUI
, overriding pkg-config
1452 CEGUI_LIBS linker flags
for CEGUI
, overriding pkg-config
1453 CC C compiler
command
1454 CFLAGS C compiler flags
1455 CXXCPP C
++ preprocessor
1457 Use these variables to override the choices made by
`configure' or to help
1458 it to find libraries and programs with nonstandard names/locations.
1464 if test "$ac_init_help" = "recursive"; then
1465 # If there are subdirs, report their specific --help.
1466 for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
1467 test -d "$ac_dir" ||
1468 { cd "$srcdir" && ac_pwd=`pwd` && srcdir=. && test -d "$ac_dir"; } ||
1473 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
1475 ac_dir_suffix=/`$as_echo "$ac_dir" |
sed 's|^\.[\\/]||'`
1476 # A ".." for each directory in $ac_dir_suffix.
1477 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" |
sed 's|/[^\\/]*|/..|g;s|/||'`
1478 case $ac_top_builddir_sub in
1479 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
1480 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
1483 ac_abs_top_builddir=$ac_pwd
1484 ac_abs_builddir=$ac_pwd$ac_dir_suffix
1485 # for backward compatibility:
1486 ac_top_builddir=$ac_top_build_prefix
1489 .) # We are building in place.
1491 ac_top_srcdir=$ac_top_builddir_sub
1492 ac_abs_top_srcdir=$ac_pwd ;;
1493 [\\/]* | ?:[\\/]* ) # Absolute name.
1494 ac_srcdir=$srcdir$ac_dir_suffix;
1495 ac_top_srcdir=$srcdir
1496 ac_abs_top_srcdir=$srcdir ;;
1498 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
1499 ac_top_srcdir=$ac_top_build_prefix$srcdir
1500 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
1502 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
1504 cd "$ac_dir" || { ac_status=$?; continue; }
1505 # Check for guested configure.
1506 if test -f "$ac_srcdir/configure.gnu"; then
1508 $SHELL "$ac_srcdir/configure.gnu" --help=recursive
1509 elif test -f "$ac_srcdir/configure"; then
1511 $SHELL "$ac_srcdir/configure" --help=recursive
1513 $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
1515 cd "$ac_pwd" || { ac_status=$?; break; }
1519 test -n "$ac_init_help" && exit $ac_status
1520 if $ac_init_version; then
1523 generated by GNU Autoconf 2.63
1525 Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001,
1526 2002, 2003, 2004, 2005, 2006, 2007, 2008 Free Software Foundation, Inc.
1527 This configure script is free software; the Free Software Foundation
1528 gives unlimited permission to copy, distribute and modify it.
1532 cat >config.log <<_ACEOF
1533 This file contains any messages produced by compilers while
1534 running configure, to aid debugging if configure makes a mistake.
1536 It was created by smc $as_me 1.9, which was
1537 generated by GNU Autoconf 2.63. Invocation command line was
1549 hostname = `(hostname || uname
-n) 2>/dev
/null |
sed 1q
`
1550 uname -m = `(uname
-m) 2>/dev
/null ||
echo unknown
`
1551 uname -r = `(uname
-r) 2>/dev
/null ||
echo unknown
`
1552 uname -s = `(uname
-s) 2>/dev
/null ||
echo unknown
`
1553 uname -v = `(uname
-v) 2>/dev
/null ||
echo unknown
`
1555 /usr/bin/uname -p = `(/usr
/bin
/uname
-p) 2>/dev
/null ||
echo unknown
`
1556 /bin/uname -X = `(/bin
/uname
-X) 2>/dev
/null ||
echo unknown
`
1558 /bin/arch = `(/bin
/arch
) 2>/dev
/null ||
echo unknown
`
1559 /usr/bin/arch -k = `(/usr
/bin
/arch
-k) 2>/dev
/null ||
echo unknown
`
1560 /usr/convex/getsysinfo = `(/usr
/convex
/getsysinfo
) 2>/dev
/null ||
echo unknown
`
1561 /usr/bin/hostinfo = `(/usr
/bin
/hostinfo
) 2>/dev
/null ||
echo unknown
`
1562 /bin/machine = `(/bin
/machine
) 2>/dev
/null ||
echo unknown
`
1563 /usr/bin/oslevel = `(/usr
/bin
/oslevel
) 2>/dev
/null ||
echo unknown
`
1564 /bin/universe = `(/bin
/universe
) 2>/dev
/null ||
echo unknown
`
1568 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1572 test -z "$as_dir" && as_dir=.
1573 $as_echo "PATH: $as_dir"
1589 # Keep a trace of the command line.
1590 # Strip out --no-create and --no-recursion so they do not pile up.
1591 # Strip out --silent because we don't want to record it for future runs.
1592 # Also quote any args containing shell meta-characters.
1593 # Make two passes to allow for proper duplicate-argument suppression.
1597 ac_must_keep_next=false
1603 -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
1604 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1605 | -silent | --silent | --silen | --sile | --sil)
1608 ac_arg=`$as_echo "$ac_arg" |
sed "s/'/'\\\\\\\\''/g"` ;;
1611 1) ac_configure_args0="$ac_configure_args0 '$ac_arg'" ;;
1613 ac_configure_args1="$ac_configure_args1 '$ac_arg'"
1614 if test $ac_must_keep_next = true; then
1615 ac_must_keep_next=false # Got value, back to normal.
1618 *=* | --config-cache | -C | -disable-* | --disable-* \
1619 | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
1620 | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
1621 | -with-* | --with-* | -without-* | --without-* | --x)
1622 case "$ac_configure_args0 " in
1623 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
1626 -* ) ac_must_keep_next=true ;;
1629 ac_configure_args="$ac_configure_args '$ac_arg'"
1634 $as_unset ac_configure_args0 || test "${ac_configure_args0+set}" != set || { ac_configure_args0=; export ac_configure_args0; }
1635 $as_unset ac_configure_args1 || test "${ac_configure_args1+set}" != set || { ac_configure_args1=; export ac_configure_args1; }
1637 # When interrupted or exit'd, cleanup temporary files, and complete
1638 # config.log. We remove comments because anyway the quotes in there
1639 # would cause problems or look ugly.
1640 # WARNING: Use '\'' to represent an apostrophe within the trap.
1641 # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
1642 trap 'exit_status=$?
1643 # Save into config.log some information that might help in debugging.
1648 ## ---------------- ##
1649 ## Cache variables. ##
1650 ## ---------------- ##
1653 # The following way of writing the cache mishandles newlines in values,
1655 for ac_var in `(set) 2>&1 |
sed -n '\''s
/^\
([a-zA-Z_
][a-zA-Z0-9_
]*\
)=.
*/\
1/p
'\''`; do
1656 eval ac_val=\$$ac_var
1660 *_cv_*) { $as_echo "$as_me:$LINENO: WARNING: cache variable $ac_var contains a newline" >&5
1661 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
1664 _ | IFS | as_nl) ;; #(
1665 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
1666 *) $as_unset $ac_var ;;
1671 case $as_nl`(ac_space
='\'' '\''; set) 2>&1` in #(
1672 *${as_nl}ac_space=\ *)
1674 "s/'\''/'\''\\\\'\'''\''/g;
1675 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
1678 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
1686 ## ----------------- ##
1687 ## Output variables. ##
1688 ## ----------------- ##
1691 for ac_var in $ac_subst_vars
1693 eval ac_val=\$$ac_var
1695 *\'\''*) ac_val=`$as_echo "$ac_val" |
sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
1697 $as_echo "$ac_var='\''$ac_val'\''"
1701 if test -n "$ac_subst_files"; then
1703 ## ------------------- ##
1704 ## File substitutions. ##
1705 ## ------------------- ##
1708 for ac_var in $ac_subst_files
1710 eval ac_val=\$$ac_var
1712 *\'\''*) ac_val=`$as_echo "$ac_val" |
sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
1714 $as_echo "$ac_var='\''$ac_val'\''"
1719 if test -s confdefs.h; then
1729 test "$ac_signal" != 0 &&
1730 $as_echo "$as_me: caught signal $ac_signal"
1731 $as_echo "$as_me: exit $exit_status"
1733 rm -f core *.core core.conftest.* &&
1734 rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
1737 for ac_signal in 1 2 13 15; do
1738 trap 'ac_signal='$ac_signal'; { (exit 1); exit 1; }' $ac_signal
1742 # confdefs.h avoids OS command line length limits that DEFS can exceed.
1743 rm -f -r conftest* confdefs.h
1745 # Predefined preprocessor variables.
1747 cat >>confdefs.h <<_ACEOF
1748 #define PACKAGE_NAME "$PACKAGE_NAME"
1752 cat >>confdefs.h <<_ACEOF
1753 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
1757 cat >>confdefs.h <<_ACEOF
1758 #define PACKAGE_VERSION "$PACKAGE_VERSION"
1762 cat >>confdefs.h <<_ACEOF
1763 #define PACKAGE_STRING "$PACKAGE_STRING"
1767 cat >>confdefs.h <<_ACEOF
1768 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
1772 # Let the site file select an alternate cache file if it wants to.
1773 # Prefer an explicitly selected file to automatically selected ones.
1776 if test -n "$CONFIG_SITE"; then
1777 ac_site_file1=$CONFIG_SITE
1778 elif test "x$prefix" != xNONE; then
1779 ac_site_file1=$prefix/share/config.site
1780 ac_site_file2=$prefix/etc/config.site
1782 ac_site_file1=$ac_default_prefix/share/config.site
1783 ac_site_file2=$ac_default_prefix/etc/config.site
1785 for ac_site_file in "$ac_site_file1" "$ac_site_file2"
1787 test "x$ac_site_file" = xNONE && continue
1788 if test -r "$ac_site_file"; then
1789 { $as_echo "$as_me:$LINENO: loading site script $ac_site_file" >&5
1790 $as_echo "$as_me: loading site script $ac_site_file" >&6;}
1791 sed 's/^/| /' "$ac_site_file" >&5
1796 if test -r "$cache_file"; then
1797 # Some versions of bash will fail to source /dev/null (special
1798 # files actually), so we avoid doing that.
1799 if test -f "$cache_file"; then
1800 { $as_echo "$as_me:$LINENO: loading cache $cache_file" >&5
1801 $as_echo "$as_me: loading cache $cache_file" >&6;}
1803 [\\/]* | ?:[\\/]* ) . "$cache_file";;
1804 *) . "./$cache_file";;
1808 { $as_echo "$as_me:$LINENO: creating cache $cache_file" >&5
1809 $as_echo "$as_me: creating cache $cache_file" >&6;}
1813 gt_needs="$gt_needs "
1814 # Check that the precious variables saved in the cache have kept the same
1816 ac_cache_corrupted=false
1817 for ac_var in $ac_precious_vars; do
1818 eval ac_old_set=\$ac_cv_env_${ac_var}_set
1819 eval ac_new_set=\$ac_env_${ac_var}_set
1820 eval ac_old_val=\$ac_cv_env_${ac_var}_value
1821 eval ac_new_val=\$ac_env_${ac_var}_value
1822 case $ac_old_set,$ac_new_set in
1824 { $as_echo "$as_me:$LINENO: error: \`$ac_var' was set to \`$ac_old_val' in the previous run
" >&5
1825 $as_echo "$as_me: error
: \
`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
1826 ac_cache_corrupted=: ;;
1828 { $as_echo "$as_me:$LINENO: error: \`$ac_var' was not
set in the previous run
" >&5
1829 $as_echo "$as_me: error
: \
`$ac_var' was not set in the previous run" >&2;}
1830 ac_cache_corrupted=: ;;
1833 if test "x$ac_old_val" != "x$ac_new_val"; then
1834 # differences in whitespace do not lead to failure.
1835 ac_old_val_w=`echo x
$ac_old_val`
1836 ac_new_val_w=`echo x
$ac_new_val`
1837 if test "$ac_old_val_w" != "$ac_new_val_w"; then
1838 { $as_echo "$as_me:$LINENO: error: \`$ac_var' has changed since the previous run:" >&5
1839 $as_echo "$as_me: error: \`$ac_var' has changed since the previous run
:" >&2;}
1840 ac_cache_corrupted=:
1842 { $as_echo "$as_me:$LINENO: warning
: ignoring whitespace changes
in \
`$ac_var' since the previous run:" >&5
1843 $as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;}
1844 eval $ac_var=\$ac_old_val
1846 { $as_echo "$as_me:$LINENO: former value: \`$ac_old_val'" >&5
1847 $as_echo "$as_me: former value
: \
`$ac_old_val'" >&2;}
1848 { $as_echo "$as_me:$LINENO: current value: \`$ac_new_val'" >&5
1849 $as_echo "$as_me: current value: \`$ac_new_val'" >&2;}
1852 # Pass precious variables to config.status.
1853 if test "$ac_new_set" = set; then
1855 *\'*) ac_arg=$ac_var=`$as_echo "$ac_new_val" | sed "s
/'/'\\\\\\\\''/g
"` ;;
1856 *) ac_arg=$ac_var=$ac_new_val ;;
1858 case " $ac_configure_args " in
1859 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
1860 *) ac_configure_args="$ac_configure_args '$ac_arg'" ;;
1864 if $ac_cache_corrupted; then
1865 { $as_echo "$as_me:$LINENO: error
: in \
`$ac_pwd':" >&5
1866 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
1867 { $as_echo "$as_me:$LINENO: error: changes in the environment can compromise the build" >&5
1868 $as_echo "$as_me: error: changes in the environment can compromise the build" >&2;}
1869 { { $as_echo "$as_me:$LINENO: error: run \`make distclean' and
/or \
`rm $cache_file' and start over" >&5
1870 $as_echo "$as_me: error: run \`make distclean
' and/or \`rm $cache_file' and start over
" >&2;}
1871 { (exit 1); exit 1; }; }
1899 ac_cpp='$CPP $CPPFLAGS'
1900 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
1901 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
1902 ac_compiler_gnu=$ac_cv_c_compiler_gnu
1906 for ac_dir in "$srcdir" "$srcdir/..
" "$srcdir/..
/..
"; do
1907 if test -f "$ac_dir/install-sh
"; then
1909 ac_install_sh="$ac_aux_dir/install-sh
-c"
1911 elif test -f "$ac_dir/install.sh
"; then
1913 ac_install_sh="$ac_aux_dir/install.sh
-c"
1915 elif test -f "$ac_dir/shtool
"; then
1917 ac_install_sh="$ac_aux_dir/shtool
install -c"
1921 if test -z "$ac_aux_dir"; then
1922 { { $as_echo "$as_me:$LINENO: error
: cannot
find install-sh or
install.sh
in \"$srcdir\" \"$srcdir/..
\" \"$srcdir/..
/..
\"" >&5
1923 $as_echo "$as_me: error
: cannot
find install-sh or
install.sh
in \"$srcdir\" \"$srcdir/..
\" \"$srcdir/..
/..
\"" >&2;}
1924 { (exit 1); exit 1; }; }
1927 # These three variables are undocumented and unsupported,
1928 # and are intended to be withdrawn in a future Autoconf release.
1929 # They can cause serious problems if a builder's source tree is in a directory
1930 # whose full name contains unusual characters.
1931 ac_config_guess="$SHELL $ac_aux_dir/config.guess
" # Please don't use this var.
1932 ac_config_sub="$SHELL $ac_aux_dir/config.sub
" # Please don't use this var.
1933 ac_configure="$SHELL $ac_aux_dir/configure
" # Please don't use this var.
1936 # Make sure we can run config.sub.
1937 $SHELL "$ac_aux_dir/config.sub
" sun4 >/dev/null 2>&1 ||
1938 { { $as_echo "$as_me:$LINENO: error
: cannot run
$SHELL $ac_aux_dir/config.sub
" >&5
1939 $as_echo "$as_me: error
: cannot run
$SHELL $ac_aux_dir/config.sub
" >&2;}
1940 { (exit 1); exit 1; }; }
1942 { $as_echo "$as_me:$LINENO: checking build system
type" >&5
1943 $as_echo_n "checking build system
type...
" >&6; }
1944 if test "${ac_cv_build+set}" = set; then
1945 $as_echo_n "(cached
) " >&6
1947 ac_build_alias=$build_alias
1948 test "x
$ac_build_alias" = x &&
1949 ac_build_alias=`$SHELL "$ac_aux_dir/config.guess
"`
1950 test "x
$ac_build_alias" = x &&
1951 { { $as_echo "$as_me:$LINENO: error
: cannot guess build
type; you must specify one
" >&5
1952 $as_echo "$as_me: error
: cannot guess build
type; you must specify one
" >&2;}
1953 { (exit 1); exit 1; }; }
1954 ac_cv_build=`$SHELL "$ac_aux_dir/config.sub
" $ac_build_alias` ||
1955 { { $as_echo "$as_me:$LINENO: error
: $SHELL $ac_aux_dir/config.sub
$ac_build_alias failed
" >&5
1956 $as_echo "$as_me: error
: $SHELL $ac_aux_dir/config.sub
$ac_build_alias failed
" >&2;}
1957 { (exit 1); exit 1; }; }
1960 { $as_echo "$as_me:$LINENO: result
: $ac_cv_build" >&5
1961 $as_echo "$ac_cv_build" >&6; }
1962 case $ac_cv_build in
1964 *) { { $as_echo "$as_me:$LINENO: error
: invalid value of canonical build
" >&5
1965 $as_echo "$as_me: error
: invalid value of canonical build
" >&2;}
1966 { (exit 1); exit 1; }; };;
1969 ac_save_IFS=$IFS; IFS='-'
1975 # Remember, the first character of IFS is used to create $*,
1976 # except with old shells:
1979 case $build_os in *\ *) build_os=`echo "$build_os" | sed 's/ /-/g'`;; esac
1982 { $as_echo "$as_me:$LINENO: checking
host system
type" >&5
1983 $as_echo_n "checking
host system
type...
" >&6; }
1984 if test "${ac_cv_host+set}" = set; then
1985 $as_echo_n "(cached
) " >&6
1987 if test "x
$host_alias" = x; then
1988 ac_cv_host=$ac_cv_build
1990 ac_cv_host=`$SHELL "$ac_aux_dir/config.sub
" $host_alias` ||
1991 { { $as_echo "$as_me:$LINENO: error
: $SHELL $ac_aux_dir/config.sub
$host_alias failed
" >&5
1992 $as_echo "$as_me: error
: $SHELL $ac_aux_dir/config.sub
$host_alias failed
" >&2;}
1993 { (exit 1); exit 1; }; }
1997 { $as_echo "$as_me:$LINENO: result
: $ac_cv_host" >&5
1998 $as_echo "$ac_cv_host" >&6; }
2001 *) { { $as_echo "$as_me:$LINENO: error
: invalid value of canonical
host" >&5
2002 $as_echo "$as_me: error
: invalid value of canonical
host" >&2;}
2003 { (exit 1); exit 1; }; };;
2006 ac_save_IFS=$IFS; IFS='-'
2012 # Remember, the first character of IFS is used to create $*,
2013 # except with old shells:
2016 case $host_os in *\ *) host_os=`echo "$host_os" | sed 's/ /-/g'`;; esac
2019 { $as_echo "$as_me:$LINENO: checking target system
type" >&5
2020 $as_echo_n "checking target system
type...
" >&6; }
2021 if test "${ac_cv_target+set}" = set; then
2022 $as_echo_n "(cached
) " >&6
2024 if test "x
$target_alias" = x; then
2025 ac_cv_target=$ac_cv_host
2027 ac_cv_target=`$SHELL "$ac_aux_dir/config.sub
" $target_alias` ||
2028 { { $as_echo "$as_me:$LINENO: error
: $SHELL $ac_aux_dir/config.sub
$target_alias failed
" >&5
2029 $as_echo "$as_me: error
: $SHELL $ac_aux_dir/config.sub
$target_alias failed
" >&2;}
2030 { (exit 1); exit 1; }; }
2034 { $as_echo "$as_me:$LINENO: result
: $ac_cv_target" >&5
2035 $as_echo "$ac_cv_target" >&6; }
2036 case $ac_cv_target in
2038 *) { { $as_echo "$as_me:$LINENO: error
: invalid value of canonical target
" >&5
2039 $as_echo "$as_me: error
: invalid value of canonical target
" >&2;}
2040 { (exit 1); exit 1; }; };;
2042 target=$ac_cv_target
2043 ac_save_IFS=$IFS; IFS='-'
2049 # Remember, the first character of IFS is used to create $*,
2050 # except with old shells:
2053 case $target_os in *\ *) target_os=`echo "$target_os" | sed 's/ /-/g'`;; esac
2056 # The aliases save the names the user supplied, while $host etc.
2057 # will get canonicalized.
2058 test -n "$target_alias" &&
2059 test "$program_prefix$program_suffix$program_transform_name" = \
2061 program_prefix=${target_alias}-
2062 ac_config_headers="$ac_config_headers config.h
"
2064 am__api_version='1.11'
2066 # Find a good install program. We prefer a C program (faster),
2067 # so one script is as good as another. But avoid the broken or
2068 # incompatible versions:
2069 # SysV /etc/install, /usr/sbin/install
2070 # SunOS /usr/etc/install
2071 # IRIX /sbin/install
2073 # AmigaOS /C/install, which installs bootblocks on floppy discs
2074 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
2075 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
2076 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff
"
2077 # OS/2's system install, which has a completely different semantic
2078 # ./install, which can be erroneously created by make from ./install.sh.
2079 # Reject install programs that cannot install multiple files.
2080 { $as_echo "$as_me:$LINENO: checking
for a BSD-compatible
install" >&5
2081 $as_echo_n "checking
for a BSD-compatible
install...
" >&6; }
2082 if test -z "$INSTALL"; then
2083 if test "${ac_cv_path_install+set}" = set; then
2084 $as_echo_n "(cached
) " >&6
2086 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2090 test -z "$as_dir" && as_dir=.
2091 # Account for people who put trailing slashes in PATH elements.
2093 ./ | .// | /cC/* | \
2094 /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
2095 ?:\\/os2\\/install\\/* | ?:\\/OS2\\/INSTALL\\/* | \
2098 # OSF1 and SCO ODT 3.0 have their own names for install.
2099 # Don't use installbsd from OSF since it installs stuff as root
2101 for ac_prog in ginstall scoinst install; do
2102 for ac_exec_ext in '' $ac_executable_extensions; do
2103 if { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; }; then
2104 if test $ac_prog = install &&
2105 grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
2106 # AIX install. It has an incompatible calling convention.
2108 elif test $ac_prog = install &&
2109 grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
2110 # program-specific install script used by HP pwplus--don't use.
2113 rm -rf conftest.one conftest.two conftest.dir
2114 echo one > conftest.one
2115 echo two > conftest.two
2117 if "$as_dir/$ac_prog$ac_exec_ext" -c conftest.one conftest.two "`pwd`/conftest.dir
" &&
2118 test -s conftest.one && test -s conftest.two &&
2119 test -s conftest.dir/conftest.one &&
2120 test -s conftest.dir/conftest.two
2122 ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
2135 rm -rf conftest.one conftest.two conftest.dir
2138 if test "${ac_cv_path_install+set}" = set; then
2139 INSTALL=$ac_cv_path_install
2141 # As a last resort, use the slow shell script. Don't cache a
2142 # value for INSTALL within a source directory, because that will
2143 # break other packages using the cache if that directory is
2144 # removed, or if the value is a relative name.
2145 INSTALL=$ac_install_sh
2148 { $as_echo "$as_me:$LINENO: result
: $INSTALL" >&5
2149 $as_echo "$INSTALL" >&6; }
2151 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
2152 # It thinks the first close brace ends the variable substitution.
2153 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
2155 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
2157 test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
2159 { $as_echo "$as_me:$LINENO: checking whether build environment is sane
" >&5
2160 $as_echo_n "checking whether build environment is sane...
" >&6; }
2163 echo timestamp > conftest.file
2164 # Reject unsafe characters in $srcdir or the absolute working directory
2165 # name. Accept space and tab only in the latter.
2169 *[\\\"\#\$\&\'\`$am_lf]*)
2170 { { $as_echo "$as_me:$LINENO: error
: unsafe absolute working directory name
" >&5
2171 $as_echo "$as_me: error
: unsafe absolute working directory name
" >&2;}
2172 { (exit 1); exit 1; }; };;
2175 *[\\\"\#\$\&\'\`$am_lf\ \ ]*)
2176 { { $as_echo "$as_me:$LINENO: error
: unsafe srcdir value
: \
`$srcdir'" >&5
2177 $as_echo "$as_me: error: unsafe srcdir value: \`$srcdir'" >&2;}
2178 { (exit 1); exit 1; }; };;
2181 # Do `set' in a subshell so we don
't clobber the current shell's
2182 # arguments. Must try -L first in case configure is actually a
2183 # symlink; some systems play weird games with the mod time of symlinks
2184 # (eg FreeBSD returns the mod time of the symlink's containing
2187 set X
`ls -Lt "$srcdir/configure" conftest.file 2> /dev/null`
2188 if test "$*" = "X"; then
2190 set X
`ls -t "$srcdir/configure" conftest.file`
2193 if test "$*" != "X $srcdir/configure conftest.file" \
2194 && test "$*" != "X conftest.file $srcdir/configure"; then
2196 # If neither matched, then we have a broken ls. This can happen
2197 # if, for instance, CONFIG_SHELL is bash and it inherits a
2198 # broken ls alias from the environment. This has actually
2199 # happened. Such a system could not be considered "sane".
2200 { { $as_echo "$as_me:$LINENO: error: ls -t appears to fail. Make sure there is not a broken
2201 alias in your environment" >&5
2202 $as_echo "$as_me: error: ls -t appears to fail. Make sure there is not a broken
2203 alias in your environment" >&2;}
2204 { (exit 1); exit 1; }; }
2207 test "$2" = conftest.
file
2213 { { $as_echo "$as_me:$LINENO: error: newly created file is older than distributed files!
2214 Check your system clock" >&5
2215 $as_echo "$as_me: error: newly created file is older than distributed files!
2216 Check your system clock" >&2;}
2217 { (exit 1); exit 1; }; }
2219 { $as_echo "$as_me:$LINENO: result: yes" >&5
2220 $as_echo "yes" >&6; }
2221 test "$program_prefix" != NONE
&&
2222 program_transform_name
="s&^&$program_prefix&;$program_transform_name"
2223 # Use a double $ so make ignores it.
2224 test "$program_suffix" != NONE
&&
2225 program_transform_name
="s&\$&$program_suffix&;$program_transform_name"
2226 # Double any \ or $.
2227 # By default was `s,x,x', remove it if useless.
2228 ac_script
='s/[\\$]/&&/g;s/;s,x,x,$//'
2229 program_transform_name
=`$as_echo "$program_transform_name" | sed "$ac_script"`
2231 # expand $ac_aux_dir to an absolute path
2232 am_aux_dir
=`cd $ac_aux_dir && pwd`
2234 if test x
"${MISSING+set}" != xset
; then
2237 MISSING
="\${SHELL} \"$am_aux_dir/missing\"" ;;
2239 MISSING
="\${SHELL} $am_aux_dir/missing" ;;
2242 # Use eval to expand $SHELL
2243 if eval "$MISSING --run true"; then
2244 am_missing_run
="$MISSING --run "
2247 { $as_echo "$as_me:$LINENO: WARNING: \`missing' script is too old or missing" >&5
2248 $as_echo "$as_me: WARNING: \`missing' script is too old or missing" >&2;}
2251 if test x
"${install_sh}" != xset
; then
2254 install_sh
="\${SHELL} '$am_aux_dir/install-sh'" ;;
2256 install_sh
="\${SHELL} $am_aux_dir/install-sh"
2260 # Installed binaries are usually stripped using `strip' when the user
2261 # run `make install-strip'. However `strip' might not be the right
2262 # tool to use in cross-compilation environments, therefore Automake
2263 # will honor the `STRIP' environment variable to overrule this program.
2264 if test "$cross_compiling" != no
; then
2265 if test -n "$ac_tool_prefix"; then
2266 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
2267 set dummy
${ac_tool_prefix}strip
; ac_word
=$2
2268 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
2269 $as_echo_n "checking for $ac_word... " >&6; }
2270 if test "${ac_cv_prog_STRIP+set}" = set; then
2271 $as_echo_n "(cached) " >&6
2273 if test -n "$STRIP"; then
2274 ac_cv_prog_STRIP
="$STRIP" # Let the user override the test.
2276 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2280 test -z "$as_dir" && as_dir
=.
2281 for ac_exec_ext
in '' $ac_executable_extensions; do
2282 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2283 ac_cv_prog_STRIP
="${ac_tool_prefix}strip"
2284 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2293 STRIP
=$ac_cv_prog_STRIP
2294 if test -n "$STRIP"; then
2295 { $as_echo "$as_me:$LINENO: result: $STRIP" >&5
2296 $as_echo "$STRIP" >&6; }
2298 { $as_echo "$as_me:$LINENO: result: no" >&5
2299 $as_echo "no" >&6; }
2304 if test -z "$ac_cv_prog_STRIP"; then
2306 # Extract the first word of "strip", so it can be a program name with args.
2307 set dummy strip
; ac_word
=$2
2308 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
2309 $as_echo_n "checking for $ac_word... " >&6; }
2310 if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then
2311 $as_echo_n "(cached) " >&6
2313 if test -n "$ac_ct_STRIP"; then
2314 ac_cv_prog_ac_ct_STRIP
="$ac_ct_STRIP" # Let the user override the test.
2316 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2320 test -z "$as_dir" && as_dir
=.
2321 for ac_exec_ext
in '' $ac_executable_extensions; do
2322 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2323 ac_cv_prog_ac_ct_STRIP
="strip"
2324 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2333 ac_ct_STRIP
=$ac_cv_prog_ac_ct_STRIP
2334 if test -n "$ac_ct_STRIP"; then
2335 { $as_echo "$as_me:$LINENO: result: $ac_ct_STRIP" >&5
2336 $as_echo "$ac_ct_STRIP" >&6; }
2338 { $as_echo "$as_me:$LINENO: result: no" >&5
2339 $as_echo "no" >&6; }
2342 if test "x$ac_ct_STRIP" = x
; then
2345 case $cross_compiling:$ac_tool_warned in
2347 { $as_echo "$as_me:$LINENO: WARNING: using cross tools not prefixed with host triplet" >&5
2348 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
2349 ac_tool_warned
=yes ;;
2354 STRIP
="$ac_cv_prog_STRIP"
2358 INSTALL_STRIP_PROGRAM
="\$(install_sh) -c -s"
2360 { $as_echo "$as_me:$LINENO: checking for a thread-safe mkdir -p" >&5
2361 $as_echo_n "checking for a thread-safe mkdir -p... " >&6; }
2362 if test -z "$MKDIR_P"; then
2363 if test "${ac_cv_path_mkdir+set}" = set; then
2364 $as_echo_n "(cached) " >&6
2366 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2367 for as_dir
in $PATH$PATH_SEPARATOR/opt
/sfw
/bin
2370 test -z "$as_dir" && as_dir
=.
2371 for ac_prog
in mkdir gmkdir
; do
2372 for ac_exec_ext
in '' $ac_executable_extensions; do
2373 { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; } ||
continue
2374 case `"$as_dir/$ac_prog$ac_exec_ext" --version 2>&1` in #(
2375 'mkdir (GNU coreutils) '* | \
2376 'mkdir (coreutils) '* | \
2377 'mkdir (fileutils) '4.1*)
2378 ac_cv_path_mkdir
=$as_dir/$ac_prog$ac_exec_ext
2388 if test "${ac_cv_path_mkdir+set}" = set; then
2389 MKDIR_P
="$ac_cv_path_mkdir -p"
2391 # As a last resort, use the slow shell script. Don't cache a
2392 # value for MKDIR_P within a source directory, because that will
2393 # break other packages using the cache if that directory is
2394 # removed, or if the value is a relative name.
2395 test -d .
/--version && rmdir .
/--version
2396 MKDIR_P
="$ac_install_sh -d"
2399 { $as_echo "$as_me:$LINENO: result: $MKDIR_P" >&5
2400 $as_echo "$MKDIR_P" >&6; }
2404 [\\/$
]* | ?
:[\\/]*) ;;
2405 */*) mkdir_p
="\$(top_builddir)/$mkdir_p" ;;
2408 for ac_prog
in gawk mawk nawk
awk
2410 # Extract the first word of "$ac_prog", so it can be a program name with args.
2411 set dummy
$ac_prog; ac_word
=$2
2412 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
2413 $as_echo_n "checking for $ac_word... " >&6; }
2414 if test "${ac_cv_prog_AWK+set}" = set; then
2415 $as_echo_n "(cached) " >&6
2417 if test -n "$AWK"; then
2418 ac_cv_prog_AWK
="$AWK" # Let the user override the test.
2420 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2424 test -z "$as_dir" && as_dir
=.
2425 for ac_exec_ext
in '' $ac_executable_extensions; do
2426 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2427 ac_cv_prog_AWK
="$ac_prog"
2428 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2438 if test -n "$AWK"; then
2439 { $as_echo "$as_me:$LINENO: result: $AWK" >&5
2440 $as_echo "$AWK" >&6; }
2442 { $as_echo "$as_me:$LINENO: result: no" >&5
2443 $as_echo "no" >&6; }
2447 test -n "$AWK" && break
2450 { $as_echo "$as_me:$LINENO: checking whether ${MAKE-make} sets \$(MAKE)" >&5
2451 $as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; }
2453 ac_make
=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
2454 if { as_var
=ac_cv_prog_make_
${ac_make}_set; eval "test \"\${$as_var+set}\" = set"; }; then
2455 $as_echo_n "(cached) " >&6
2457 cat >conftest.
make <<\_ACEOF
2460 @
echo '@@@%%%=$(MAKE)=@@@%%%'
2462 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
2463 case `${MAKE-make} -f conftest.make 2>/dev/null` in
2465 eval ac_cv_prog_make_
${ac_make}_set
=yes;;
2467 eval ac_cv_prog_make_
${ac_make}_set
=no
;;
2471 if eval test \
$ac_cv_prog_make_${ac_make}_set
= yes; then
2472 { $as_echo "$as_me:$LINENO: result: yes" >&5
2473 $as_echo "yes" >&6; }
2476 { $as_echo "$as_me:$LINENO: result: no" >&5
2477 $as_echo "no" >&6; }
2478 SET_MAKE
="MAKE=${MAKE-make}"
2481 rm -rf .tst
2>/dev
/null
2482 mkdir .tst
2>/dev
/null
2483 if test -d .tst
; then
2488 rmdir .tst
2>/dev
/null
2490 if test "`cd $srcdir && pwd`" != "`pwd`"; then
2491 # Use -I$(srcdir) only when $(srcdir) != ., so that make's output
2492 # is not polluted with repeated "-I."
2493 am__isrc
=' -I$(srcdir)'
2494 # test to see if srcdir already configured
2495 if test -f $srcdir/config.status
; then
2496 { { $as_echo "$as_me:$LINENO: error: source directory already configured; run \"make distclean\" there first" >&5
2497 $as_echo "$as_me: error: source directory already configured; run \"make distclean\" there first" >&2;}
2498 { (exit 1); exit 1; }; }
2502 # test whether we have cygpath
2503 if test -z "$CYGPATH_W"; then
2504 if (cygpath
--version) >/dev
/null
2>/dev
/null
; then
2505 CYGPATH_W
='cygpath -w'
2512 # Define the identity of the package.
2517 cat >>confdefs.h
<<_ACEOF
2518 #define PACKAGE "$PACKAGE"
2522 cat >>confdefs.h
<<_ACEOF
2523 #define VERSION "$VERSION"
2526 # Some tools Automake needs.
2528 ACLOCAL
=${ACLOCAL-"${am_missing_run}aclocal-${am__api_version}"}
2531 AUTOCONF
=${AUTOCONF-"${am_missing_run}autoconf"}
2534 AUTOMAKE
=${AUTOMAKE-"${am_missing_run}automake-${am__api_version}"}
2537 AUTOHEADER
=${AUTOHEADER-"${am_missing_run}autoheader"}
2540 MAKEINFO
=${MAKEINFO-"${am_missing_run}makeinfo"}
2542 # We need awk for the "check" target. The system "awk" is bad on
2544 # Always define AMTAR for backward compatibility.
2546 AMTAR
=${AMTAR-"${am_missing_run}tar"}
2548 am__tar
='${AMTAR} chof - "$$tardir"'; am__untar
='${AMTAR} xf -'
2555 ### Check for programs ###
2558 ac_cpp
='$CXXCPP $CPPFLAGS'
2559 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2560 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2561 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
2562 if test -z "$CXX"; then
2563 if test -n "$CCC"; then
2566 if test -n "$ac_tool_prefix"; then
2567 for ac_prog
in g
++ c
++ gpp aCC CC cxx cc
++ cl.exe FCC KCC RCC xlC_r xlC
2569 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
2570 set dummy
$ac_tool_prefix$ac_prog; ac_word
=$2
2571 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
2572 $as_echo_n "checking for $ac_word... " >&6; }
2573 if test "${ac_cv_prog_CXX+set}" = set; then
2574 $as_echo_n "(cached) " >&6
2576 if test -n "$CXX"; then
2577 ac_cv_prog_CXX
="$CXX" # Let the user override the test.
2579 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2583 test -z "$as_dir" && as_dir
=.
2584 for ac_exec_ext
in '' $ac_executable_extensions; do
2585 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2586 ac_cv_prog_CXX
="$ac_tool_prefix$ac_prog"
2587 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2597 if test -n "$CXX"; then
2598 { $as_echo "$as_me:$LINENO: result: $CXX" >&5
2599 $as_echo "$CXX" >&6; }
2601 { $as_echo "$as_me:$LINENO: result: no" >&5
2602 $as_echo "no" >&6; }
2606 test -n "$CXX" && break
2609 if test -z "$CXX"; then
2611 for ac_prog
in g
++ c
++ gpp aCC CC cxx cc
++ cl.exe FCC KCC RCC xlC_r xlC
2613 # Extract the first word of "$ac_prog", so it can be a program name with args.
2614 set dummy
$ac_prog; ac_word
=$2
2615 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
2616 $as_echo_n "checking for $ac_word... " >&6; }
2617 if test "${ac_cv_prog_ac_ct_CXX+set}" = set; then
2618 $as_echo_n "(cached) " >&6
2620 if test -n "$ac_ct_CXX"; then
2621 ac_cv_prog_ac_ct_CXX
="$ac_ct_CXX" # Let the user override the test.
2623 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2627 test -z "$as_dir" && as_dir
=.
2628 for ac_exec_ext
in '' $ac_executable_extensions; do
2629 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2630 ac_cv_prog_ac_ct_CXX
="$ac_prog"
2631 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2640 ac_ct_CXX
=$ac_cv_prog_ac_ct_CXX
2641 if test -n "$ac_ct_CXX"; then
2642 { $as_echo "$as_me:$LINENO: result: $ac_ct_CXX" >&5
2643 $as_echo "$ac_ct_CXX" >&6; }
2645 { $as_echo "$as_me:$LINENO: result: no" >&5
2646 $as_echo "no" >&6; }
2650 test -n "$ac_ct_CXX" && break
2653 if test "x$ac_ct_CXX" = x
; then
2656 case $cross_compiling:$ac_tool_warned in
2658 { $as_echo "$as_me:$LINENO: WARNING: using cross tools not prefixed with host triplet" >&5
2659 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
2660 ac_tool_warned
=yes ;;
2668 # Provide some information about the compiler.
2669 $as_echo "$as_me:$LINENO: checking for C++ compiler version" >&5
2672 { (ac_try
="$ac_compiler --version >&5"
2674 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
2675 *) ac_try_echo=$ac_try;;
2677 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
2678 $as_echo "$ac_try_echo") >&5
2679 (eval "$ac_compiler --version >&5") 2>&5
2681 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
2682 (exit $ac_status); }
2683 { (ac_try="$ac_compiler -v >&5"
2685 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
2686 *) ac_try_echo
=$ac_try;;
2688 eval ac_try_echo
="\"\$as_me:$LINENO: $ac_try_echo\""
2689 $as_echo "$ac_try_echo") >&5
2690 (eval "$ac_compiler -v >&5") 2>&5
2692 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
2693 (exit $ac_status); }
2694 { (ac_try
="$ac_compiler -V >&5"
2696 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
2697 *) ac_try_echo=$ac_try;;
2699 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
2700 $as_echo "$ac_try_echo") >&5
2701 (eval "$ac_compiler -V >&5") 2>&5
2703 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
2704 (exit $ac_status); }
2706 cat >conftest.$ac_ext <<_ACEOF
2709 cat confdefs.h >>conftest.$ac_ext
2710 cat >>conftest.$ac_ext <<_ACEOF
2711 /* end confdefs.h. */
2721 ac_clean_files_save=$ac_clean_files
2722 ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out"
2723 # Try to create an executable without -o first, disregard a.out.
2724 # It will help us diagnose broken compilers, and finding out an intuition
2726 { $as_echo "$as_me:$LINENO: checking for C++ compiler default output file name" >&5
2727 $as_echo_n "checking for C++ compiler default output file name... " >&6; }
2728 ac_link_default=`$as_echo "$ac_link" |
sed 's/ -o *conftest[^ ]*//'`
2730 # The possible output files:
2731 ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*"
2734 for ac_file in $ac_files
2737 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
2738 * ) ac_rmfiles="$ac_rmfiles $ac_file";;
2743 if { (ac_try="$ac_link_default"
2745 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
2746 *) ac_try_echo
=$ac_try;;
2748 eval ac_try_echo
="\"\$as_me:$LINENO: $ac_try_echo\""
2749 $as_echo "$ac_try_echo") >&5
2750 (eval "$ac_link_default") 2>&5
2752 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
2753 (exit $ac_status); }; then
2754 # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
2755 # So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
2756 # in a Makefile. We should not override ac_cv_exeext if it was cached,
2757 # so that the user can short-circuit this test for compilers unknown to
2759 for ac_file
in $ac_files ''
2761 test -f "$ac_file" ||
continue
2763 *.
$ac_ext |
*.xcoff |
*.tds |
*.d |
*.pdb |
*.xSYM |
*.bb |
*.bbg |
*.map |
*.inf |
*.dSYM |
*.o |
*.obj
)
2766 # We found the default executable, but exeext='' is most
2770 if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no
;
2772 ac_cv_exeext
=`expr "$ac_file" : '[^.]*\(\..*\)'`
2774 # We set ac_cv_exeext here because the later test for it is not
2775 # safe: cross compilers may not add the suffix if given an `-o'
2776 # argument, so we may need to know it at that point already.
2777 # Even if this section looks crufty: it has the advantage of
2784 test "$ac_cv_exeext" = no
&& ac_cv_exeext
=
2790 { $as_echo "$as_me:$LINENO: result: $ac_file" >&5
2791 $as_echo "$ac_file" >&6; }
2792 if test -z "$ac_file"; then
2793 $as_echo "$as_me: failed program was:" >&5
2794 sed 's/^/| /' conftest.
$ac_ext >&5
2796 { { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
2797 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2798 { { $as_echo "$as_me:$LINENO: error: C++ compiler cannot create executables
2799 See \`config.log' for more details." >&5
2800 $as_echo "$as_me: error: C++ compiler cannot create executables
2801 See \`config.log' for more details." >&2;}
2802 { (exit 77); exit 77; }; }; }
2805 ac_exeext
=$ac_cv_exeext
2807 # Check that the compiler produces executables we can run. If not, either
2808 # the compiler is broken, or we cross compile.
2809 { $as_echo "$as_me:$LINENO: checking whether the C++ compiler works" >&5
2810 $as_echo_n "checking whether the C++ compiler works... " >&6; }
2811 # FIXME: These cross compiler hacks should be removed for Autoconf 3.0
2812 # If not cross compiling, check that we can run a simple program.
2813 if test "$cross_compiling" != yes; then
2814 if { ac_try
='./$ac_file'
2815 { (case "(($ac_try" in
2816 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
2817 *) ac_try_echo=$ac_try;;
2819 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
2820 $as_echo "$ac_try_echo") >&5
2821 (eval "$ac_try") 2>&5
2823 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
2824 (exit $ac_status); }; }; then
2827 if test "$cross_compiling" = maybe; then
2830 { { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
2831 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2832 { { $as_echo "$as_me:$LINENO: error
: cannot run C
++ compiled programs.
2833 If you meant to cross compile
, use \
`--host'.
2834 See \`config.log
' for more details." >&5
2835 $as_echo "$as_me: error: cannot run C++ compiled programs.
2836 If you meant to cross compile, use \`--host'.
2837 See \
`config.log' for more details." >&2;}
2838 { (exit 1); exit 1; }; }; }
2842 { $as_echo "$as_me:$LINENO: result: yes" >&5
2843 $as_echo "yes" >&6; }
2845 rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out
2846 ac_clean_files=$ac_clean_files_save
2847 # Check that the compiler produces executables we can run. If not, either
2848 # the compiler is broken, or we cross compile.
2849 { $as_echo "$as_me:$LINENO: checking whether we are cross compiling" >&5
2850 $as_echo_n "checking whether we are cross compiling... " >&6; }
2851 { $as_echo "$as_me:$LINENO: result: $cross_compiling" >&5
2852 $as_echo "$cross_compiling" >&6; }
2854 { $as_echo "$as_me:$LINENO: checking for suffix of executables" >&5
2855 $as_echo_n "checking for suffix of executables... " >&6; }
2856 if { (ac_try="$ac_link"
2858 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
2859 *) ac_try_echo
=$ac_try;;
2861 eval ac_try_echo
="\"\$as_me:$LINENO: $ac_try_echo\""
2862 $as_echo "$ac_try_echo") >&5
2863 (eval "$ac_link") 2>&5
2865 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
2866 (exit $ac_status); }; then
2867 # If both `conftest.exe' and `conftest' are `present' (well, observable)
2868 # catch `conftest.exe'. For instance with Cygwin, `ls conftest' will
2869 # work properly (i.e., refer to `conftest.exe'), while it won't with
2871 for ac_file
in conftest.exe conftest conftest.
*; do
2872 test -f "$ac_file" ||
continue
2874 *.
$ac_ext |
*.xcoff |
*.tds |
*.d |
*.pdb |
*.xSYM |
*.bb |
*.bbg |
*.map |
*.inf |
*.dSYM |
*.o |
*.obj
) ;;
2875 *.
* ) ac_cv_exeext
=`expr "$ac_file" : '[^.]*\(\..*\)'`
2881 { { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
2882 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2883 { { $as_echo "$as_me:$LINENO: error: cannot compute suffix of executables: cannot compile and link
2884 See \`config.log' for more details." >&5
2885 $as_echo "$as_me: error: cannot compute suffix of executables: cannot compile and link
2886 See \`config.log' for more details." >&2;}
2887 { (exit 1); exit 1; }; }; }
2890 rm -f conftest
$ac_cv_exeext
2891 { $as_echo "$as_me:$LINENO: result: $ac_cv_exeext" >&5
2892 $as_echo "$ac_cv_exeext" >&6; }
2894 rm -f conftest.
$ac_ext
2895 EXEEXT
=$ac_cv_exeext
2897 { $as_echo "$as_me:$LINENO: checking for suffix of object files" >&5
2898 $as_echo_n "checking for suffix of object files... " >&6; }
2899 if test "${ac_cv_objext+set}" = set; then
2900 $as_echo_n "(cached) " >&6
2902 cat >conftest.
$ac_ext <<_ACEOF
2905 cat confdefs.h
>>conftest.
$ac_ext
2906 cat >>conftest.
$ac_ext <<_ACEOF
2907 /* end confdefs.h. */
2917 rm -f conftest.o conftest.obj
2918 if { (ac_try
="$ac_compile"
2920 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
2921 *) ac_try_echo=$ac_try;;
2923 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
2924 $as_echo "$ac_try_echo") >&5
2925 (eval "$ac_compile") 2>&5
2927 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
2928 (exit $ac_status); }; then
2929 for ac_file in conftest.o conftest.obj conftest.*; do
2930 test -f "$ac_file" || continue;
2932 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;;
2933 *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
2938 $as_echo "$as_me: failed program was:" >&5
2939 sed 's/^/| /' conftest.$ac_ext >&5
2941 { { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
2942 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2943 { { $as_echo "$as_me:$LINENO: error
: cannot compute suffix of object files
: cannot compile
2944 See \
`config.log' for more details." >&5
2945 $as_echo "$as_me: error: cannot compute suffix of object files: cannot compile
2946 See \`config.log
' for more details." >&2;}
2947 { (exit 1); exit 1; }; }; }
2950 rm -f conftest.$ac_cv_objext conftest.$ac_ext
2952 { $as_echo "$as_me:$LINENO: result: $ac_cv_objext" >&5
2953 $as_echo "$ac_cv_objext" >&6; }
2954 OBJEXT=$ac_cv_objext
2956 { $as_echo "$as_me:$LINENO: checking whether we are using the GNU C++ compiler" >&5
2957 $as_echo_n "checking whether we are using the GNU C++ compiler... " >&6; }
2958 if test "${ac_cv_cxx_compiler_gnu+set}" = set; then
2959 $as_echo_n "(cached) " >&6
2961 cat >conftest.$ac_ext <<_ACEOF
2964 cat confdefs.h >>conftest.$ac_ext
2965 cat >>conftest.$ac_ext <<_ACEOF
2966 /* end confdefs.h. */
2979 rm -f conftest.$ac_objext
2980 if { (ac_try="$ac_compile"
2982 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2983 *) ac_try_echo=$ac_try;;
2985 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
2986 $as_echo "$ac_try_echo") >&5
2987 (eval "$ac_compile") 2>conftest.er1
2989 grep -v '^
*+' conftest.er1 >conftest.err
2991 cat conftest.err >&5
2992 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
2993 (exit $ac_status); } && {
2994 test -z "$ac_cxx_werror_flag" ||
2995 test ! -s conftest.err
2996 } && test -s conftest.$ac_objext; then
2999 $as_echo "$as_me: failed program was:" >&5
3000 sed 's
/^
/|
/' conftest.$ac_ext >&5
3005 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3006 ac_cv_cxx_compiler_gnu=$ac_compiler_gnu
3009 { $as_echo "$as_me:$LINENO: result: $ac_cv_cxx_compiler_gnu" >&5
3010 $as_echo "$ac_cv_cxx_compiler_gnu" >&6; }
3011 if test $ac_compiler_gnu = yes; then
3016 ac_test_CXXFLAGS=${CXXFLAGS+set}
3017 ac_save_CXXFLAGS=$CXXFLAGS
3018 { $as_echo "$as_me:$LINENO: checking whether $CXX accepts -g" >&5
3019 $as_echo_n "checking whether $CXX accepts -g... " >&6; }
3020 if test "${ac_cv_prog_cxx_g+set}" = set; then
3021 $as_echo_n "(cached) " >&6
3023 ac_save_cxx_werror_flag=$ac_cxx_werror_flag
3024 ac_cxx_werror_flag=yes
3027 cat >conftest.$ac_ext <<_ACEOF
3030 cat confdefs.h >>conftest.$ac_ext
3031 cat >>conftest.$ac_ext <<_ACEOF
3032 /* end confdefs.h. */
3042 rm -f conftest.$ac_objext
3043 if { (ac_try="$ac_compile"
3045 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3046 *) ac_try_echo=$ac_try;;
3048 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
3049 $as_echo "$ac_try_echo") >&5
3050 (eval "$ac_compile") 2>conftest.er1
3052 grep -v '^
*+' conftest.er1 >conftest.err
3054 cat conftest.err >&5
3055 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
3056 (exit $ac_status); } && {
3057 test -z "$ac_cxx_werror_flag" ||
3058 test ! -s conftest.err
3059 } && test -s conftest.$ac_objext; then
3060 ac_cv_prog_cxx_g=yes
3062 $as_echo "$as_me: failed program was:" >&5
3063 sed 's
/^
/|
/' conftest.$ac_ext >&5
3066 cat >conftest.$ac_ext <<_ACEOF
3069 cat confdefs.h >>conftest.$ac_ext
3070 cat >>conftest.$ac_ext <<_ACEOF
3071 /* end confdefs.h. */
3081 rm -f conftest.$ac_objext
3082 if { (ac_try="$ac_compile"
3084 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3085 *) ac_try_echo=$ac_try;;
3087 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
3088 $as_echo "$ac_try_echo") >&5
3089 (eval "$ac_compile") 2>conftest.er1
3091 grep -v '^
*+' conftest.er1 >conftest.err
3093 cat conftest.err >&5
3094 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
3095 (exit $ac_status); } && {
3096 test -z "$ac_cxx_werror_flag" ||
3097 test ! -s conftest.err
3098 } && test -s conftest.$ac_objext; then
3101 $as_echo "$as_me: failed program was:" >&5
3102 sed 's
/^
/|
/' conftest.$ac_ext >&5
3104 ac_cxx_werror_flag=$ac_save_cxx_werror_flag
3106 cat >conftest.$ac_ext <<_ACEOF
3109 cat confdefs.h >>conftest.$ac_ext
3110 cat >>conftest.$ac_ext <<_ACEOF
3111 /* end confdefs.h. */
3121 rm -f conftest.$ac_objext
3122 if { (ac_try="$ac_compile"
3124 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3125 *) ac_try_echo=$ac_try;;
3127 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
3128 $as_echo "$ac_try_echo") >&5
3129 (eval "$ac_compile") 2>conftest.er1
3131 grep -v '^
*+' conftest.er1 >conftest.err
3133 cat conftest.err >&5
3134 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
3135 (exit $ac_status); } && {
3136 test -z "$ac_cxx_werror_flag" ||
3137 test ! -s conftest.err
3138 } && test -s conftest.$ac_objext; then
3139 ac_cv_prog_cxx_g=yes
3141 $as_echo "$as_me: failed program was:" >&5
3142 sed 's
/^
/|
/' conftest.$ac_ext >&5
3147 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3150 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3153 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3154 ac_cxx_werror_flag=$ac_save_cxx_werror_flag
3156 { $as_echo "$as_me:$LINENO: result: $ac_cv_prog_cxx_g" >&5
3157 $as_echo "$ac_cv_prog_cxx_g" >&6; }
3158 if test "$ac_test_CXXFLAGS" = set; then
3159 CXXFLAGS=$ac_save_CXXFLAGS
3160 elif test $ac_cv_prog_cxx_g = yes; then
3161 if test "$GXX" = yes; then
3167 if test "$GXX" = yes; then
3174 ac_cpp='$CPP $CPPFLAGS'
3175 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.
$ac_ext >&5'
3176 ac_link='$CC -o conftest
$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.
$ac_ext $LIBS >&5'
3177 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3178 DEPDIR="${am__leading_dot}deps"
3180 ac_config_commands="$ac_config_commands depfiles"
3183 am_make=${MAKE-make}
3184 cat > confinc << 'END
'
3186 @echo this is the am__doit target
3189 # If we don't
find an include directive
, just comment out the code.
3190 { $as_echo "$as_me:$LINENO: checking for style of include used by $am_make" >&5
3191 $as_echo_n "checking for style of include used by $am_make... " >&6; }
3195 # First try GNU make style include.
3196 echo "include confinc" > confmf
3197 # Ignore all kinds of additional output from `make'.
3198 case `$am_make -s -f confmf 2> /dev/null` in #(
3199 *the\ am__doit\ target
*)
3205 # Now try BSD make style include.
3206 if test "$am__include" = "#"; then
3207 echo '.include "confinc"' > confmf
3208 case `$am_make -s -f confmf 2> /dev/null` in #(
3209 *the\ am__doit\ target
*)
3210 am__include
=.include
3218 { $as_echo "$as_me:$LINENO: result: $_am_result" >&5
3219 $as_echo "$_am_result" >&6; }
3220 rm -f confinc confmf
3222 # Check whether --enable-dependency-tracking was given.
3223 if test "${enable_dependency_tracking+set}" = set; then
3224 enableval
=$enable_dependency_tracking;
3227 if test "x$enable_dependency_tracking" != xno
; then
3228 am_depcomp
="$ac_aux_dir/depcomp"
3231 if test "x$enable_dependency_tracking" != xno; then
3241 depcc
="$CXX" am_compiler_list
=
3243 { $as_echo "$as_me:$LINENO: checking dependency style of $depcc" >&5
3244 $as_echo_n "checking dependency style of $depcc... " >&6; }
3245 if test "${am_cv_CXX_dependencies_compiler_type+set}" = set; then
3246 $as_echo_n "(cached) " >&6
3248 if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
3249 # We make a subdir and do the tests there. Otherwise we can end up
3250 # making bogus files that we don't know about and never remove. For
3251 # instance it was reported that on HP-UX the gcc test will end up
3252 # making a dummy file named `D' -- because `-MD' means `put the output
3255 # Copy depcomp to subdir because otherwise we won't find it if we're
3256 # using a relative directory.
3257 cp "$am_depcomp" conftest.dir
3259 # We will build objects and dependencies in a subdirectory because
3260 # it helps to detect inapplicable dependency modes. For instance
3261 # both Tru64's cc and ICC support -MD to output dependencies as a
3262 # side effect of compilation, but ICC will put the dependencies in
3263 # the current directory while Tru64 will put them in the object
3267 am_cv_CXX_dependencies_compiler_type
=none
3268 if test "$am_compiler_list" = ""; then
3269 am_compiler_list
=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
3272 case " $depcc " in #(
3273 *\
-arch\
*\
-arch\
*) am__universal
=true
;;
3276 for depmode
in $am_compiler_list; do
3277 # Setup a source with many dependencies, because some compilers
3278 # like to wrap large dependency lists on column 80 (with \), and
3279 # we should not choose a depcomp mode which is confused by this.
3281 # We need to recreate these files for each test, as the compiler may
3282 # overwrite some of them when testing with obscure command lines.
3283 # This happens at least with the AIX C compiler.
3285 for i
in 1 2 3 4 5 6; do
3286 echo '#include "conftst'$i'.h"' >> sub
/conftest.c
3287 # Using `: > sub/conftst$i.h' creates only sub/conftst1.h with
3288 # Solaris 8's {/usr,}/bin/sh.
3289 touch sub
/conftst
$i.h
3291 echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
3293 # We check with `-c' and `-o' for the sake of the "dashmstdout"
3294 # mode. It turns out that the SunPro C++ compiler does not properly
3295 # handle `-M -o', and we need to detect this. Also, some Intel
3296 # versions had trouble with output in subdirs
3297 am__obj
=sub
/conftest.
${OBJEXT-o}
3298 am__minus_obj
="-o $am__obj"
3301 # This depmode causes a compiler race in universal mode.
3302 test "$am__universal" = false ||
continue
3305 # after this tag, mechanisms are not by side-effect, so they'll
3306 # only be used when explicitly requested
3307 if test "x$enable_dependency_tracking" = xyes
; then
3313 msvisualcpp | msvcmsys
)
3314 # This compiler won't grok `-c -o', but also, the minuso test has
3315 # not run yet. These depmodes are late enough in the game, and
3316 # so weak that their functioning should not be impacted.
3317 am__obj
=conftest.
${OBJEXT-o}
3322 if depmode
=$depmode \
3323 source=sub
/conftest.c object
=$am__obj \
3324 depfile
=sub
/conftest.Po tmpdepfile
=sub
/conftest.TPo \
3325 $SHELL .
/depcomp
$depcc -c $am__minus_obj sub
/conftest.c \
3326 >/dev
/null
2>conftest.err
&&
3327 grep sub
/conftst1.h sub
/conftest.Po
> /dev
/null
2>&1 &&
3328 grep sub
/conftst6.h sub
/conftest.Po
> /dev
/null
2>&1 &&
3329 grep $am__obj sub
/conftest.Po
> /dev
/null
2>&1 &&
3330 ${MAKE-make} -s -f confmf
> /dev
/null
2>&1; then
3331 # icc doesn't choke on unknown options, it will just issue warnings
3332 # or remarks (even with -Werror). So we grep stderr for any message
3333 # that says an option was ignored or not supported.
3334 # When given -MP, icc 7.0 and 7.1 complain thusly:
3335 # icc: Command line warning: ignoring option '-M'; no argument required
3336 # The diagnosis changed in icc 8.0:
3337 # icc: Command line remark: option '-MP' not supported
3338 if (grep 'ignoring option' conftest.err ||
3339 grep 'not supported' conftest.err
) >/dev
/null
2>&1; then :; else
3340 am_cv_CXX_dependencies_compiler_type
=$depmode
3349 am_cv_CXX_dependencies_compiler_type
=none
3353 { $as_echo "$as_me:$LINENO: result: $am_cv_CXX_dependencies_compiler_type" >&5
3354 $as_echo "$am_cv_CXX_dependencies_compiler_type" >&6; }
3355 CXXDEPMODE
=depmode
=$am_cv_CXX_dependencies_compiler_type
3358 test "x$enable_dependency_tracking" != xno \
3359 && test "$am_cv_CXX_dependencies_compiler_type" = gcc3
; then
3360 am__fastdepCXX_TRUE
=
3361 am__fastdepCXX_FALSE
='#'
3363 am__fastdepCXX_TRUE
='#'
3364 am__fastdepCXX_FALSE
=
3369 ac_cpp
='$CXXCPP $CPPFLAGS'
3370 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3371 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3372 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
3375 ### Check for libraries ###
3377 # Check for the Boost Filesystem library
3380 { $as_echo "$as_me:$LINENO: checking for main in -lboost_filesystem" >&5
3381 $as_echo_n "checking for main in -lboost_filesystem... " >&6; }
3382 if test "${ac_cv_lib_boost_filesystem_main+set}" = set; then
3383 $as_echo_n "(cached) " >&6
3385 ac_check_lib_save_LIBS
=$LIBS
3386 LIBS
="-lboost_filesystem $LIBS"
3387 cat >conftest.
$ac_ext <<_ACEOF
3390 cat confdefs.h
>>conftest.
$ac_ext
3391 cat >>conftest.
$ac_ext <<_ACEOF
3392 /* end confdefs.h. */
3403 rm -f conftest.
$ac_objext conftest
$ac_exeext
3404 if { (ac_try
="$ac_link"
3406 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
3407 *) ac_try_echo=$ac_try;;
3409 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
3410 $as_echo "$ac_try_echo") >&5
3411 (eval "$ac_link") 2>conftest.er1
3413 grep -v '^ *+' conftest.er1 >conftest.err
3415 cat conftest.err >&5
3416 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
3417 (exit $ac_status); } && {
3418 test -z "$ac_cxx_werror_flag" ||
3419 test ! -s conftest.err
3420 } && test -s conftest$ac_exeext && {
3421 test "$cross_compiling" = yes ||
3422 $as_test_x conftest$ac_exeext
3424 ac_cv_lib_boost_filesystem_main=yes
3426 $as_echo "$as_me: failed program was:" >&5
3427 sed 's/^/| /' conftest.$ac_ext >&5
3429 ac_cv_lib_boost_filesystem_main=no
3432 rm -rf conftest.dSYM
3433 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
3434 conftest$ac_exeext conftest.$ac_ext
3435 LIBS=$ac_check_lib_save_LIBS
3437 { $as_echo "$as_me:$LINENO: result: $ac_cv_lib_boost_filesystem_main" >&5
3438 $as_echo "$ac_cv_lib_boost_filesystem_main" >&6; }
3439 if test "x$ac_cv_lib_boost_filesystem_main" = x""yes; then
3440 cat >>confdefs.h <<_ACEOF
3441 #define HAVE_LIBBOOST_FILESYSTEM 1
3444 LIBS="-lboost_filesystem $LIBS"
3447 { { $as_echo "$as_me:$LINENO: error: Unable to find Boost Filesystem library" >&5
3448 $as_echo "$as_me: error: Unable to find Boost Filesystem library" >&2;}
3449 { (exit 1); exit 1; }; }
3453 # Check for the OpenGL and GLU library
3457 LIBS="$LIBS -framework OpenGL -framework Carbon -lintl -lboost_system"
3460 # Other Unix (Linux)
3462 { $as_echo "$as_me:$LINENO: checking for main in -lGL" >&5
3463 $as_echo_n "checking for main in -lGL... " >&6; }
3464 if test "${ac_cv_lib_GL_main+set}" = set; then
3465 $as_echo_n "(cached) " >&6
3467 ac_check_lib_save_LIBS=$LIBS
3469 cat >conftest.$ac_ext <<_ACEOF
3472 cat confdefs.h >>conftest.$ac_ext
3473 cat >>conftest.$ac_ext <<_ACEOF
3474 /* end confdefs.h. */
3485 rm -f conftest.$ac_objext conftest$ac_exeext
3486 if { (ac_try="$ac_link"
3488 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
3489 *) ac_try_echo
=$ac_try;;
3491 eval ac_try_echo
="\"\$as_me:$LINENO: $ac_try_echo\""
3492 $as_echo "$ac_try_echo") >&5
3493 (eval "$ac_link") 2>conftest.er1
3495 grep -v '^ *+' conftest.er1
>conftest.err
3497 cat conftest.err
>&5
3498 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
3499 (exit $ac_status); } && {
3500 test -z "$ac_cxx_werror_flag" ||
3501 test ! -s conftest.err
3502 } && test -s conftest
$ac_exeext && {
3503 test "$cross_compiling" = yes ||
3504 $as_test_x conftest
$ac_exeext
3506 ac_cv_lib_GL_main
=yes
3508 $as_echo "$as_me: failed program was:" >&5
3509 sed 's/^/| /' conftest.
$ac_ext >&5
3511 ac_cv_lib_GL_main
=no
3514 rm -rf conftest.dSYM
3515 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
3516 conftest
$ac_exeext conftest.
$ac_ext
3517 LIBS
=$ac_check_lib_save_LIBS
3519 { $as_echo "$as_me:$LINENO: result: $ac_cv_lib_GL_main" >&5
3520 $as_echo "$ac_cv_lib_GL_main" >&6; }
3521 if test "x$ac_cv_lib_GL_main" = x
""yes; then
3522 cat >>confdefs.h
<<_ACEOF
3523 #define HAVE_LIBGL 1
3533 { $as_echo "$as_me:$LINENO: checking for main in -lGLU" >&5
3534 $as_echo_n "checking for main in -lGLU... " >&6; }
3535 if test "${ac_cv_lib_GLU_main+set}" = set; then
3536 $as_echo_n "(cached) " >&6
3538 ac_check_lib_save_LIBS
=$LIBS
3540 cat >conftest.
$ac_ext <<_ACEOF
3543 cat confdefs.h
>>conftest.
$ac_ext
3544 cat >>conftest.
$ac_ext <<_ACEOF
3545 /* end confdefs.h. */
3556 rm -f conftest.
$ac_objext conftest
$ac_exeext
3557 if { (ac_try
="$ac_link"
3559 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
3560 *) ac_try_echo=$ac_try;;
3562 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
3563 $as_echo "$ac_try_echo") >&5
3564 (eval "$ac_link") 2>conftest.er1
3566 grep -v '^ *+' conftest.er1 >conftest.err
3568 cat conftest.err >&5
3569 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
3570 (exit $ac_status); } && {
3571 test -z "$ac_cxx_werror_flag" ||
3572 test ! -s conftest.err
3573 } && test -s conftest$ac_exeext && {
3574 test "$cross_compiling" = yes ||
3575 $as_test_x conftest$ac_exeext
3577 ac_cv_lib_GLU_main=yes
3579 $as_echo "$as_me: failed program was:" >&5
3580 sed 's/^/| /' conftest.$ac_ext >&5
3582 ac_cv_lib_GLU_main=no
3585 rm -rf conftest.dSYM
3586 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
3587 conftest$ac_exeext conftest.$ac_ext
3588 LIBS=$ac_check_lib_save_LIBS
3590 { $as_echo "$as_me:$LINENO: result: $ac_cv_lib_GLU_main" >&5
3591 $as_echo "$ac_cv_lib_GLU_main" >&6; }
3592 if test "x$ac_cv_lib_GLU_main" = x""yes; then
3593 cat >>confdefs.h <<_ACEOF
3594 #define HAVE_LIBGLU 1
3603 if test "x$has_gl" = "xno" -o "x$has_glu" = "xno"; then
3604 { { $as_echo "$as_me:$LINENO: error: Unable to find the OpenGL library" >&5
3605 $as_echo "$as_me: error: Unable to find the OpenGL library" >&2;}
3606 { (exit 1); exit 1; }; }
3611 # Check for the SDL library
3614 if test "x$ac_cv_env_PKG_CONFIG_set" != "xset"; then
3615 if test -n "$ac_tool_prefix"; then
3616 # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
3617 set dummy ${ac_tool_prefix}pkg-config; ac_word=$2
3618 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
3619 $as_echo_n "checking for $ac_word... " >&6; }
3620 if test "${ac_cv_path_PKG_CONFIG+set}" = set; then
3621 $as_echo_n "(cached) " >&6
3625 ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path.
3628 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3632 test -z "$as_dir" && as_dir=.
3633 for ac_exec_ext in '' $ac_executable_extensions; do
3634 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3635 ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
3636 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3646 PKG_CONFIG=$ac_cv_path_PKG_CONFIG
3647 if test -n "$PKG_CONFIG"; then
3648 { $as_echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5
3649 $as_echo "$PKG_CONFIG" >&6; }
3651 { $as_echo "$as_me:$LINENO: result: no" >&5
3652 $as_echo "no" >&6; }
3657 if test -z "$ac_cv_path_PKG_CONFIG"; then
3658 ac_pt_PKG_CONFIG=$PKG_CONFIG
3659 # Extract the first word of "pkg-config", so it can be a program name with args.
3660 set dummy pkg-config; ac_word=$2
3661 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
3662 $as_echo_n "checking for $ac_word... " >&6; }
3663 if test "${ac_cv_path_ac_pt_PKG_CONFIG+set}" = set; then
3664 $as_echo_n "(cached) " >&6
3666 case $ac_pt_PKG_CONFIG in
3668 ac_cv_path_ac_pt_PKG_CONFIG="$ac_pt_PKG_CONFIG" # Let the user override the test with a path.
3671 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3675 test -z "$as_dir" && as_dir=.
3676 for ac_exec_ext in '' $ac_executable_extensions; do
3677 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3678 ac_cv_path_ac_pt_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
3679 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3689 ac_pt_PKG_CONFIG=$ac_cv_path_ac_pt_PKG_CONFIG
3690 if test -n "$ac_pt_PKG_CONFIG"; then
3691 { $as_echo "$as_me:$LINENO: result: $ac_pt_PKG_CONFIG" >&5
3692 $as_echo "$ac_pt_PKG_CONFIG" >&6; }
3694 { $as_echo "$as_me:$LINENO: result: no" >&5
3695 $as_echo "no" >&6; }
3698 if test "x$ac_pt_PKG_CONFIG" = x; then
3701 case $cross_compiling:$ac_tool_warned in
3703 { $as_echo "$as_me:$LINENO: WARNING: using cross tools not prefixed with host triplet" >&5
3704 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3705 ac_tool_warned=yes ;;
3707 PKG_CONFIG=$ac_pt_PKG_CONFIG
3710 PKG_CONFIG="$ac_cv_path_PKG_CONFIG"
3714 if test -n "$PKG_CONFIG"; then
3715 _pkg_min_version=0.9.0
3716 { $as_echo "$as_me:$LINENO: checking pkg-config is at least version $_pkg_min_version" >&5
3717 $as_echo_n "checking pkg-config is at least version $_pkg_min_version... " >&6; }
3718 if $PKG_CONFIG --atleast-pkgconfig-version $_pkg_min_version; then
3719 { $as_echo "$as_me:$LINENO: result: yes" >&5
3720 $as_echo "yes" >&6; }
3722 { $as_echo "$as_me:$LINENO: result: no" >&5
3723 $as_echo "no" >&6; }
3730 { $as_echo "$as_me:$LINENO: checking for SDL" >&5
3731 $as_echo_n "checking for SDL... " >&6; }
3733 if test -n "$SDL_CFLAGS"; then
3734 pkg_cv_SDL_CFLAGS="$SDL_CFLAGS"
3735 elif test -n "$PKG_CONFIG"; then
3736 if test -n "$PKG_CONFIG" && \
3737 { ($as_echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"sdl >= 1.2.10\"") >&5
3738 ($PKG_CONFIG --exists --print-errors "sdl >= 1.2.10") 2>&5
3740 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
3741 (exit $ac_status); }; then
3742 pkg_cv_SDL_CFLAGS=`$PKG_CONFIG --cflags "sdl >= 1.2.10" 2>/dev
/null
`
3749 if test -n "$SDL_LIBS"; then
3750 pkg_cv_SDL_LIBS="$SDL_LIBS"
3751 elif test -n "$PKG_CONFIG"; then
3752 if test -n "$PKG_CONFIG" && \
3753 { ($as_echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"sdl >= 1.2.10\"") >&5
3754 ($PKG_CONFIG --exists --print-errors "sdl >= 1.2.10") 2>&5
3756 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
3757 (exit $ac_status); }; then
3758 pkg_cv_SDL_LIBS=`$PKG_CONFIG --libs "sdl >= 1.2.10" 2>/dev
/null
`
3768 if test $pkg_failed = yes; then
3770 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
3771 _pkg_short_errors_supported=yes
3773 _pkg_short_errors_supported=no
3775 if test $_pkg_short_errors_supported = yes; then
3776 SDL_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors "sdl >= 1.2.10" 2>&1`
3778 SDL_PKG_ERRORS=`$PKG_CONFIG --print-errors "sdl >= 1.2.10" 2>&1`
3780 # Put the nasty error message in config.log where it belongs
3781 echo "$SDL_PKG_ERRORS" >&5
3783 { { $as_echo "$as_me:$LINENO: error: Package requirements (sdl >= 1.2.10) were not met:
3787 Consider adjusting the PKG_CONFIG_PATH environment variable if you
3788 installed software in a non-standard prefix.
3790 Alternatively, you may set the environment variables SDL_CFLAGS
3791 and SDL_LIBS to avoid the need to call pkg-config.
3792 See the pkg-config man page for more details.
3794 $as_echo "$as_me: error: Package requirements (sdl >= 1.2.10) were not met:
3798 Consider adjusting the PKG_CONFIG_PATH environment variable if you
3799 installed software in a non-standard prefix.
3801 Alternatively, you may set the environment variables SDL_CFLAGS
3802 and SDL_LIBS to avoid the need to call pkg-config.
3803 See the pkg-config man page for more details.
3805 { (exit 1); exit 1; }; }
3806 elif test $pkg_failed = untried; then
3807 { { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
3808 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3809 { { $as_echo "$as_me:$LINENO: error
: The pkg-config
script could not be found or is too old. Make sure it
3810 is
in your PATH or
set the PKG_CONFIG environment variable to the full
3813 Alternatively
, you may
set the environment variables SDL_CFLAGS
3814 and SDL_LIBS to avoid the need to call pkg-config.
3815 See the pkg-config man page
for more details.
3817 To get pkg-config
, see
<http
://pkg-config.freedesktop.org
/>.
3818 See \
`config.log' for more details." >&5
3819 $as_echo "$as_me: error: The pkg-config script could not be found or is too old. Make sure it
3820 is in your PATH or set the PKG_CONFIG environment variable to the full
3823 Alternatively, you may set the environment variables SDL_CFLAGS
3824 and SDL_LIBS to avoid the need to call pkg-config.
3825 See the pkg-config man page for more details.
3827 To get pkg-config, see <http://pkg-config.freedesktop.org/>.
3828 See \`config.log
' for more details." >&2;}
3829 { (exit 1); exit 1; }; }; }
3831 SDL_CFLAGS=$pkg_cv_SDL_CFLAGS
3832 SDL_LIBS=$pkg_cv_SDL_LIBS
3833 { $as_echo "$as_me:$LINENO: result: yes" >&5
3834 $as_echo "yes" >&6; }
3837 CPPFLAGS="$CPPFLAGS $SDL_CFLAGS"
3838 LIBS="$LIBS $SDL_LIBS"
3840 # Check for the libpng library
3842 { $as_echo "$as_me:$LINENO: checking for png_init_io in -lpng" >&5
3843 $as_echo_n "checking for png_init_io in -lpng... " >&6; }
3844 if test "${ac_cv_lib_png_png_init_io+set}" = set; then
3845 $as_echo_n "(cached) " >&6
3847 ac_check_lib_save_LIBS=$LIBS
3849 cat >conftest.$ac_ext <<_ACEOF
3852 cat confdefs.h >>conftest.$ac_ext
3853 cat >>conftest.$ac_ext <<_ACEOF
3854 /* end confdefs.h. */
3856 /* Override any GCC internal prototype to avoid an error.
3857 Use char because int might match the return type of a GCC
3858 builtin and then its argument prototype would still apply. */
3862 char png_init_io ();
3866 return png_init_io ();
3871 rm -f conftest.$ac_objext conftest$ac_exeext
3872 if { (ac_try="$ac_link"
3874 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3875 *) ac_try_echo=$ac_try;;
3877 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
3878 $as_echo "$ac_try_echo") >&5
3879 (eval "$ac_link") 2>conftest.er1
3881 grep -v '^
*+' conftest.er1 >conftest.err
3883 cat conftest.err >&5
3884 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
3885 (exit $ac_status); } && {
3886 test -z "$ac_cxx_werror_flag" ||
3887 test ! -s conftest.err
3888 } && test -s conftest$ac_exeext && {
3889 test "$cross_compiling" = yes ||
3890 $as_test_x conftest$ac_exeext
3892 ac_cv_lib_png_png_init_io=yes
3894 $as_echo "$as_me: failed program was:" >&5
3895 sed 's
/^
/|
/' conftest.$ac_ext >&5
3897 ac_cv_lib_png_png_init_io=no
3900 rm -rf conftest.dSYM
3901 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
3902 conftest$ac_exeext conftest.$ac_ext
3903 LIBS=$ac_check_lib_save_LIBS
3905 { $as_echo "$as_me:$LINENO: result: $ac_cv_lib_png_png_init_io" >&5
3906 $as_echo "$ac_cv_lib_png_png_init_io" >&6; }
3907 if test "x$ac_cv_lib_png_png_init_io" = x""yes; then
3908 cat >>confdefs.h <<_ACEOF
3909 #define HAVE_LIBPNG 1
3915 { { $as_echo "$as_me:$LINENO: error: libpng library not found" >&5
3916 $as_echo "$as_me: error: libpng library not found" >&2;}
3917 { (exit 1); exit 1; }; }
3921 # Check for the SDL_image library
3923 { $as_echo "$as_me:$LINENO: checking for IMG_LoadPNG_RW in -lSDL_image" >&5
3924 $as_echo_n "checking for IMG_LoadPNG_RW in -lSDL_image... " >&6; }
3925 if test "${ac_cv_lib_SDL_image_IMG_LoadPNG_RW+set}" = set; then
3926 $as_echo_n "(cached) " >&6
3928 ac_check_lib_save_LIBS=$LIBS
3929 LIBS="-lSDL_image $LIBS"
3930 cat >conftest.$ac_ext <<_ACEOF
3933 cat confdefs.h >>conftest.$ac_ext
3934 cat >>conftest.$ac_ext <<_ACEOF
3935 /* end confdefs.h. */
3937 /* Override any GCC internal prototype to avoid an error.
3938 Use char because int might match the return type of a GCC
3939 builtin and then its argument prototype would still apply. */
3943 char IMG_LoadPNG_RW ();
3947 return IMG_LoadPNG_RW ();
3952 rm -f conftest.$ac_objext conftest$ac_exeext
3953 if { (ac_try="$ac_link"
3955 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3956 *) ac_try_echo=$ac_try;;
3958 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
3959 $as_echo "$ac_try_echo") >&5
3960 (eval "$ac_link") 2>conftest.er1
3962 grep -v '^
*+' conftest.er1 >conftest.err
3964 cat conftest.err >&5
3965 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
3966 (exit $ac_status); } && {
3967 test -z "$ac_cxx_werror_flag" ||
3968 test ! -s conftest.err
3969 } && test -s conftest$ac_exeext && {
3970 test "$cross_compiling" = yes ||
3971 $as_test_x conftest$ac_exeext
3973 ac_cv_lib_SDL_image_IMG_LoadPNG_RW=yes
3975 $as_echo "$as_me: failed program was:" >&5
3976 sed 's
/^
/|
/' conftest.$ac_ext >&5
3978 ac_cv_lib_SDL_image_IMG_LoadPNG_RW=no
3981 rm -rf conftest.dSYM
3982 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
3983 conftest$ac_exeext conftest.$ac_ext
3984 LIBS=$ac_check_lib_save_LIBS
3986 { $as_echo "$as_me:$LINENO: result: $ac_cv_lib_SDL_image_IMG_LoadPNG_RW" >&5
3987 $as_echo "$ac_cv_lib_SDL_image_IMG_LoadPNG_RW" >&6; }
3988 if test "x$ac_cv_lib_SDL_image_IMG_LoadPNG_RW" = x""yes; then
3989 cat >>confdefs.h <<_ACEOF
3990 #define HAVE_LIBSDL_IMAGE 1
3993 LIBS="-lSDL_image $LIBS"
3996 { { $as_echo "$as_me:$LINENO: error: SDL_image library with PNG support not found" >&5
3997 $as_echo "$as_me: error: SDL_image library with PNG support not found" >&2;}
3998 { (exit 1); exit 1; }; }
4002 # Check for the SDL_mixer library
4004 { $as_echo "$as_me:$LINENO: checking for Mix_OpenAudio in -lSDL_mixer" >&5
4005 $as_echo_n "checking for Mix_OpenAudio in -lSDL_mixer... " >&6; }
4006 if test "${ac_cv_lib_SDL_mixer_Mix_OpenAudio+set}" = set; then
4007 $as_echo_n "(cached) " >&6
4009 ac_check_lib_save_LIBS=$LIBS
4010 LIBS="-lSDL_mixer $LIBS"
4011 cat >conftest.$ac_ext <<_ACEOF
4014 cat confdefs.h >>conftest.$ac_ext
4015 cat >>conftest.$ac_ext <<_ACEOF
4016 /* end confdefs.h. */
4018 /* Override any GCC internal prototype to avoid an error.
4019 Use char because int might match the return type of a GCC
4020 builtin and then its argument prototype would still apply. */
4024 char Mix_OpenAudio ();
4028 return Mix_OpenAudio ();
4033 rm -f conftest.$ac_objext conftest$ac_exeext
4034 if { (ac_try="$ac_link"
4036 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4037 *) ac_try_echo=$ac_try;;
4039 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
4040 $as_echo "$ac_try_echo") >&5
4041 (eval "$ac_link") 2>conftest.er1
4043 grep -v '^
*+' conftest.er1 >conftest.err
4045 cat conftest.err >&5
4046 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
4047 (exit $ac_status); } && {
4048 test -z "$ac_cxx_werror_flag" ||
4049 test ! -s conftest.err
4050 } && test -s conftest$ac_exeext && {
4051 test "$cross_compiling" = yes ||
4052 $as_test_x conftest$ac_exeext
4054 ac_cv_lib_SDL_mixer_Mix_OpenAudio=yes
4056 $as_echo "$as_me: failed program was:" >&5
4057 sed 's
/^
/|
/' conftest.$ac_ext >&5
4059 ac_cv_lib_SDL_mixer_Mix_OpenAudio=no
4062 rm -rf conftest.dSYM
4063 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
4064 conftest$ac_exeext conftest.$ac_ext
4065 LIBS=$ac_check_lib_save_LIBS
4067 { $as_echo "$as_me:$LINENO: result: $ac_cv_lib_SDL_mixer_Mix_OpenAudio" >&5
4068 $as_echo "$ac_cv_lib_SDL_mixer_Mix_OpenAudio" >&6; }
4069 if test "x$ac_cv_lib_SDL_mixer_Mix_OpenAudio" = x""yes; then
4070 cat >>confdefs.h <<_ACEOF
4071 #define HAVE_LIBSDL_MIXER 1
4074 LIBS="-lSDL_mixer $LIBS"
4077 { { $as_echo "$as_me:$LINENO: error: SDL_mixer library not found" >&5
4078 $as_echo "$as_me: error: SDL_mixer library not found" >&2;}
4079 { (exit 1); exit 1; }; }
4083 # Check for the SDL_ttf library
4085 { $as_echo "$as_me:$LINENO: checking for TTF_Init in -lSDL_ttf" >&5
4086 $as_echo_n "checking for TTF_Init in -lSDL_ttf... " >&6; }
4087 if test "${ac_cv_lib_SDL_ttf_TTF_Init+set}" = set; then
4088 $as_echo_n "(cached) " >&6
4090 ac_check_lib_save_LIBS=$LIBS
4091 LIBS="-lSDL_ttf $LIBS"
4092 cat >conftest.$ac_ext <<_ACEOF
4095 cat confdefs.h >>conftest.$ac_ext
4096 cat >>conftest.$ac_ext <<_ACEOF
4097 /* end confdefs.h. */
4099 /* Override any GCC internal prototype to avoid an error.
4100 Use char because int might match the return type of a GCC
4101 builtin and then its argument prototype would still apply. */
4114 rm -f conftest.$ac_objext conftest$ac_exeext
4115 if { (ac_try="$ac_link"
4117 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4118 *) ac_try_echo=$ac_try;;
4120 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
4121 $as_echo "$ac_try_echo") >&5
4122 (eval "$ac_link") 2>conftest.er1
4124 grep -v '^
*+' conftest.er1 >conftest.err
4126 cat conftest.err >&5
4127 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
4128 (exit $ac_status); } && {
4129 test -z "$ac_cxx_werror_flag" ||
4130 test ! -s conftest.err
4131 } && test -s conftest$ac_exeext && {
4132 test "$cross_compiling" = yes ||
4133 $as_test_x conftest$ac_exeext
4135 ac_cv_lib_SDL_ttf_TTF_Init=yes
4137 $as_echo "$as_me: failed program was:" >&5
4138 sed 's
/^
/|
/' conftest.$ac_ext >&5
4140 ac_cv_lib_SDL_ttf_TTF_Init=no
4143 rm -rf conftest.dSYM
4144 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
4145 conftest$ac_exeext conftest.$ac_ext
4146 LIBS=$ac_check_lib_save_LIBS
4148 { $as_echo "$as_me:$LINENO: result: $ac_cv_lib_SDL_ttf_TTF_Init" >&5
4149 $as_echo "$ac_cv_lib_SDL_ttf_TTF_Init" >&6; }
4150 if test "x$ac_cv_lib_SDL_ttf_TTF_Init" = x""yes; then
4151 cat >>confdefs.h <<_ACEOF
4152 #define HAVE_LIBSDL_TTF 1
4155 LIBS="-lSDL_ttf $LIBS"
4158 { { $as_echo "$as_me:$LINENO: error: SDL_ttf library not found" >&5
4159 $as_echo "$as_me: error: SDL_ttf library not found" >&2;}
4160 { (exit 1); exit 1; }; }
4164 # Check for the CEGUI library
4167 { $as_echo "$as_me:$LINENO: checking for CEGUI" >&5
4168 $as_echo_n "checking for CEGUI... " >&6; }
4170 if test -n "$CEGUI_CFLAGS"; then
4171 pkg_cv_CEGUI_CFLAGS="$CEGUI_CFLAGS"
4172 elif test -n "$PKG_CONFIG"; then
4173 if test -n "$PKG_CONFIG" && \
4174 { ($as_echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"CEGUI-OPENGL >= 0.5.0\"") >&5
4175 ($PKG_CONFIG --exists --print-errors "CEGUI-OPENGL >= 0.5.0") 2>&5
4177 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
4178 (exit $ac_status); }; then
4179 pkg_cv_CEGUI_CFLAGS=`$PKG_CONFIG --cflags "CEGUI-OPENGL >= 0.5.0" 2>/dev/null`
4186 if test -n "$CEGUI_LIBS"; then
4187 pkg_cv_CEGUI_LIBS="$CEGUI_LIBS"
4188 elif test -n "$PKG_CONFIG"; then
4189 if test -n "$PKG_CONFIG" && \
4190 { ($as_echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"CEGUI-OPENGL >= 0.5.0\"") >&5
4191 ($PKG_CONFIG --exists --print-errors "CEGUI-OPENGL >= 0.5.0") 2>&5
4193 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
4194 (exit $ac_status); }; then
4195 pkg_cv_CEGUI_LIBS=`$PKG_CONFIG --libs "CEGUI-OPENGL >= 0.5.0" 2>/dev/null`
4205 if test $pkg_failed = yes; then
4207 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
4208 _pkg_short_errors_supported=yes
4210 _pkg_short_errors_supported=no
4212 if test $_pkg_short_errors_supported = yes; then
4213 CEGUI_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors "CEGUI-OPENGL >= 0.5.0" 2>&1`
4215 CEGUI_PKG_ERRORS=`$PKG_CONFIG --print-errors "CEGUI-OPENGL >= 0.5.0" 2>&1`
4217 # Put the nasty error message in config.log where it belongs
4218 echo "$CEGUI_PKG_ERRORS" >&5
4220 { { $as_echo "$as_me:$LINENO: error: Package requirements (CEGUI-OPENGL >= 0.5.0) were not met:
4224 Consider adjusting the PKG_CONFIG_PATH environment variable if you
4225 installed software in a non-standard prefix.
4227 Alternatively, you may set the environment variables CEGUI_CFLAGS
4228 and CEGUI_LIBS to avoid the need to call pkg-config.
4229 See the pkg-config man page for more details.
4231 $as_echo "$as_me: error: Package requirements (CEGUI-OPENGL >= 0.5.0) were not met:
4235 Consider adjusting the PKG_CONFIG_PATH environment variable if you
4236 installed software in a non-standard prefix.
4238 Alternatively, you may set the environment variables CEGUI_CFLAGS
4239 and CEGUI_LIBS to avoid the need to call pkg-config.
4240 See the pkg-config man page for more details.
4242 { (exit 1); exit 1; }; }
4243 elif test $pkg_failed = untried; then
4244 { { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
4245 $as_echo "$as_me: error
: in \
`$ac_pwd':" >&2;}
4246 { { $as_echo "$as_me:$LINENO: error: The pkg-config script could not be found or is too old. Make sure it
4247 is in your PATH or set the PKG_CONFIG environment variable to the full
4250 Alternatively, you may set the environment variables CEGUI_CFLAGS
4251 and CEGUI_LIBS to avoid the need to call pkg-config.
4252 See the pkg-config man page for more details.
4254 To get pkg-config, see <http://pkg-config.freedesktop.org/>.
4255 See \`config.log
' for more details." >&5
4256 $as_echo "$as_me: error: The pkg-config script could not be found or is too old. Make sure it
4257 is in your PATH or set the PKG_CONFIG environment variable to the full
4260 Alternatively, you may set the environment variables CEGUI_CFLAGS
4261 and CEGUI_LIBS to avoid the need to call pkg-config.
4262 See the pkg-config man page for more details.
4264 To get pkg-config, see <http://pkg-config.freedesktop.org/>.
4265 See \`config.log' for more details.
" >&2;}
4266 { (exit 1); exit 1; }; }; }
4268 CEGUI_CFLAGS=$pkg_cv_CEGUI_CFLAGS
4269 CEGUI_LIBS=$pkg_cv_CEGUI_LIBS
4270 { $as_echo "$as_me:$LINENO: result
: yes" >&5
4271 $as_echo "yes" >&6; }
4274 CPPFLAGS="$CPPFLAGS $CEGUI_CFLAGS"
4275 LIBS="$LIBS $CEGUI_LIBS"
4277 # Check for the gettext library
4279 { $as_echo "$as_me:$LINENO: checking whether NLS is requested
" >&5
4280 $as_echo_n "checking whether NLS is requested...
" >&6; }
4281 # Check whether --enable-nls was given.
4282 if test "${enable_nls+set}" = set; then
4283 enableval=$enable_nls; USE_NLS=$enableval
4288 { $as_echo "$as_me:$LINENO: result
: $USE_NLS" >&5
4289 $as_echo "$USE_NLS" >&6; }
4294 GETTEXT_MACRO_VERSION=0.17
4299 # Prepare PATH_SEPARATOR.
4300 # The user is always right.
4301 if test "${PATH_SEPARATOR+set}" != set; then
4302 echo "#! /bin/sh" >conf$$.sh
4303 echo "exit 0" >>conf$$.sh
4305 if (PATH
="/nonexistent;."; conf$$.sh
) >/dev
/null
2>&1; then
4313 # Find out how to test for executable files. Don't use a zero-byte file,
4314 # as systems may use methods other than mode bits to determine executability.
4315 cat >conf$$.
file <<_ASEOF
4319 chmod +x conf$$.
file
4320 if test -x conf$$.
file >/dev
/null
2>&1; then
4321 ac_executable_p
="test -x"
4323 ac_executable_p
="test -f"
4327 # Extract the first word of "msgfmt", so it can be a program name with args.
4328 set dummy msgfmt
; ac_word
=$2
4329 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
4330 $as_echo_n "checking for $ac_word... " >&6; }
4331 if test "${ac_cv_path_MSGFMT+set}" = set; then
4332 $as_echo_n "(cached) " >&6
4336 ac_cv_path_MSGFMT
="$MSGFMT" # Let the user override the test with a path.
4339 ac_save_IFS
="$IFS"; IFS
=$PATH_SEPARATOR
4340 for ac_dir
in $PATH; do
4342 test -z "$ac_dir" && ac_dir
=.
4343 for ac_exec_ext
in '' $ac_executable_extensions; do
4344 if $ac_executable_p "$ac_dir/$ac_word$ac_exec_ext"; then
4345 echo "$as_me: trying $ac_dir/$ac_word..." >&5
4346 if $ac_dir/$ac_word --statistics /dev
/null
>&5 2>&1 &&
4347 (if $ac_dir/$ac_word --statistics /dev
/null
2>&1 >/dev
/null |
grep usage
>/dev
/null
; then exit 1; else exit 0; fi); then
4348 ac_cv_path_MSGFMT
="$ac_dir/$ac_word$ac_exec_ext"
4355 test -z "$ac_cv_path_MSGFMT" && ac_cv_path_MSGFMT
=":"
4359 MSGFMT
="$ac_cv_path_MSGFMT"
4360 if test "$MSGFMT" != ":"; then
4361 { $as_echo "$as_me:$LINENO: result: $MSGFMT" >&5
4362 $as_echo "$MSGFMT" >&6; }
4364 { $as_echo "$as_me:$LINENO: result: no" >&5
4365 $as_echo "no" >&6; }
4368 # Extract the first word of "gmsgfmt", so it can be a program name with args.
4369 set dummy gmsgfmt
; ac_word
=$2
4370 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
4371 $as_echo_n "checking for $ac_word... " >&6; }
4372 if test "${ac_cv_path_GMSGFMT+set}" = set; then
4373 $as_echo_n "(cached) " >&6
4377 ac_cv_path_GMSGFMT
="$GMSGFMT" # Let the user override the test with a path.
4380 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4384 test -z "$as_dir" && as_dir
=.
4385 for ac_exec_ext
in '' $ac_executable_extensions; do
4386 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4387 ac_cv_path_GMSGFMT
="$as_dir/$ac_word$ac_exec_ext"
4388 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4395 test -z "$ac_cv_path_GMSGFMT" && ac_cv_path_GMSGFMT
="$MSGFMT"
4399 GMSGFMT
=$ac_cv_path_GMSGFMT
4400 if test -n "$GMSGFMT"; then
4401 { $as_echo "$as_me:$LINENO: result: $GMSGFMT" >&5
4402 $as_echo "$GMSGFMT" >&6; }
4404 { $as_echo "$as_me:$LINENO: result: no" >&5
4405 $as_echo "no" >&6; }
4410 case `$MSGFMT --version | sed 1q | sed -e 's,^[^0-9]*,,'` in
4411 '' |
0.
[0-9] |
0.
[0-9].
* |
0.1[0-4] |
0.1[0-4].
*) MSGFMT_015
=: ;;
4412 *) MSGFMT_015
=$MSGFMT ;;
4415 case `$GMSGFMT --version | sed 1q | sed -e 's,^[^0-9]*,,'` in
4416 '' |
0.
[0-9] |
0.
[0-9].
* |
0.1[0-4] |
0.1[0-4].
*) GMSGFMT_015
=: ;;
4417 *) GMSGFMT_015
=$GMSGFMT ;;
4422 # Prepare PATH_SEPARATOR.
4423 # The user is always right.
4424 if test "${PATH_SEPARATOR+set}" != set; then
4425 echo "#! /bin/sh" >conf$$.sh
4426 echo "exit 0" >>conf$$.sh
4428 if (PATH
="/nonexistent;."; conf$$.sh
) >/dev
/null
2>&1; then
4436 # Find out how to test for executable files. Don't use a zero-byte file,
4437 # as systems may use methods other than mode bits to determine executability.
4438 cat >conf$$.
file <<_ASEOF
4442 chmod +x conf$$.
file
4443 if test -x conf$$.
file >/dev
/null
2>&1; then
4444 ac_executable_p
="test -x"
4446 ac_executable_p
="test -f"
4450 # Extract the first word of "xgettext", so it can be a program name with args.
4451 set dummy xgettext
; ac_word
=$2
4452 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
4453 $as_echo_n "checking for $ac_word... " >&6; }
4454 if test "${ac_cv_path_XGETTEXT+set}" = set; then
4455 $as_echo_n "(cached) " >&6
4459 ac_cv_path_XGETTEXT
="$XGETTEXT" # Let the user override the test with a path.
4462 ac_save_IFS
="$IFS"; IFS
=$PATH_SEPARATOR
4463 for ac_dir
in $PATH; do
4465 test -z "$ac_dir" && ac_dir
=.
4466 for ac_exec_ext
in '' $ac_executable_extensions; do
4467 if $ac_executable_p "$ac_dir/$ac_word$ac_exec_ext"; then
4468 echo "$as_me: trying $ac_dir/$ac_word..." >&5
4469 if $ac_dir/$ac_word --omit-header --copyright-holder= --msgid-bugs-address= /dev
/null
>&5 2>&1 &&
4470 (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
4471 ac_cv_path_XGETTEXT
="$ac_dir/$ac_word$ac_exec_ext"
4478 test -z "$ac_cv_path_XGETTEXT" && ac_cv_path_XGETTEXT
=":"
4482 XGETTEXT
="$ac_cv_path_XGETTEXT"
4483 if test "$XGETTEXT" != ":"; then
4484 { $as_echo "$as_me:$LINENO: result: $XGETTEXT" >&5
4485 $as_echo "$XGETTEXT" >&6; }
4487 { $as_echo "$as_me:$LINENO: result: no" >&5
4488 $as_echo "no" >&6; }
4493 case `$XGETTEXT --version | sed 1q | sed -e 's,^[^0-9]*,,'` in
4494 '' |
0.
[0-9] |
0.
[0-9].
* |
0.1[0-4] |
0.1[0-4].
*) XGETTEXT_015
=: ;;
4495 *) XGETTEXT_015
=$XGETTEXT ;;
4500 # Prepare PATH_SEPARATOR.
4501 # The user is always right.
4502 if test "${PATH_SEPARATOR+set}" != set; then
4503 echo "#! /bin/sh" >conf$$.sh
4504 echo "exit 0" >>conf$$.sh
4506 if (PATH
="/nonexistent;."; conf$$.sh
) >/dev
/null
2>&1; then
4514 # Find out how to test for executable files. Don't use a zero-byte file,
4515 # as systems may use methods other than mode bits to determine executability.
4516 cat >conf$$.
file <<_ASEOF
4520 chmod +x conf$$.
file
4521 if test -x conf$$.
file >/dev
/null
2>&1; then
4522 ac_executable_p
="test -x"
4524 ac_executable_p
="test -f"
4528 # Extract the first word of "msgmerge", so it can be a program name with args.
4529 set dummy msgmerge
; ac_word
=$2
4530 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
4531 $as_echo_n "checking for $ac_word... " >&6; }
4532 if test "${ac_cv_path_MSGMERGE+set}" = set; then
4533 $as_echo_n "(cached) " >&6
4537 ac_cv_path_MSGMERGE
="$MSGMERGE" # Let the user override the test with a path.
4540 ac_save_IFS
="$IFS"; IFS
=$PATH_SEPARATOR
4541 for ac_dir
in $PATH; do
4543 test -z "$ac_dir" && ac_dir
=.
4544 for ac_exec_ext
in '' $ac_executable_extensions; do
4545 if $ac_executable_p "$ac_dir/$ac_word$ac_exec_ext"; then
4546 echo "$as_me: trying $ac_dir/$ac_word..." >&5
4547 if $ac_dir/$ac_word --update -q /dev
/null
/dev
/null
>&5 2>&1; then
4548 ac_cv_path_MSGMERGE
="$ac_dir/$ac_word$ac_exec_ext"
4555 test -z "$ac_cv_path_MSGMERGE" && ac_cv_path_MSGMERGE
=":"
4559 MSGMERGE
="$ac_cv_path_MSGMERGE"
4560 if test "$MSGMERGE" != ":"; then
4561 { $as_echo "$as_me:$LINENO: result: $MSGMERGE" >&5
4562 $as_echo "$MSGMERGE" >&6; }
4564 { $as_echo "$as_me:$LINENO: result: no" >&5
4565 $as_echo "no" >&6; }
4569 test -n "$localedir" || localedir
='${datadir}/locale'
4572 test -n "${XGETTEXT_EXTRA_OPTIONS+set}" || XGETTEXT_EXTRA_OPTIONS
=
4575 ac_config_commands
="$ac_config_commands po-directories"
4579 if test "X$prefix" = "XNONE"; then
4580 acl_final_prefix
="$ac_default_prefix"
4582 acl_final_prefix
="$prefix"
4584 if test "X$exec_prefix" = "XNONE"; then
4585 acl_final_exec_prefix
='${prefix}'
4587 acl_final_exec_prefix
="$exec_prefix"
4589 acl_save_prefix
="$prefix"
4590 prefix
="$acl_final_prefix"
4591 eval acl_final_exec_prefix
=\"$acl_final_exec_prefix\"
4592 prefix
="$acl_save_prefix"
4595 ac_cpp
='$CPP $CPPFLAGS'
4596 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4597 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4598 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
4599 if test -n "$ac_tool_prefix"; then
4600 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
4601 set dummy
${ac_tool_prefix}gcc
; ac_word
=$2
4602 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
4603 $as_echo_n "checking for $ac_word... " >&6; }
4604 if test "${ac_cv_prog_CC+set}" = set; then
4605 $as_echo_n "(cached) " >&6
4607 if test -n "$CC"; then
4608 ac_cv_prog_CC
="$CC" # Let the user override the test.
4610 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4614 test -z "$as_dir" && as_dir
=.
4615 for ac_exec_ext
in '' $ac_executable_extensions; do
4616 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4617 ac_cv_prog_CC
="${ac_tool_prefix}gcc"
4618 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4628 if test -n "$CC"; then
4629 { $as_echo "$as_me:$LINENO: result: $CC" >&5
4630 $as_echo "$CC" >&6; }
4632 { $as_echo "$as_me:$LINENO: result: no" >&5
4633 $as_echo "no" >&6; }
4638 if test -z "$ac_cv_prog_CC"; then
4640 # Extract the first word of "gcc", so it can be a program name with args.
4641 set dummy gcc
; ac_word
=$2
4642 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
4643 $as_echo_n "checking for $ac_word... " >&6; }
4644 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
4645 $as_echo_n "(cached) " >&6
4647 if test -n "$ac_ct_CC"; then
4648 ac_cv_prog_ac_ct_CC
="$ac_ct_CC" # Let the user override the test.
4650 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4654 test -z "$as_dir" && as_dir
=.
4655 for ac_exec_ext
in '' $ac_executable_extensions; do
4656 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4657 ac_cv_prog_ac_ct_CC
="gcc"
4658 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4667 ac_ct_CC
=$ac_cv_prog_ac_ct_CC
4668 if test -n "$ac_ct_CC"; then
4669 { $as_echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
4670 $as_echo "$ac_ct_CC" >&6; }
4672 { $as_echo "$as_me:$LINENO: result: no" >&5
4673 $as_echo "no" >&6; }
4676 if test "x$ac_ct_CC" = x
; then
4679 case $cross_compiling:$ac_tool_warned in
4681 { $as_echo "$as_me:$LINENO: WARNING: using cross tools not prefixed with host triplet" >&5
4682 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4683 ac_tool_warned
=yes ;;
4691 if test -z "$CC"; then
4692 if test -n "$ac_tool_prefix"; then
4693 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
4694 set dummy
${ac_tool_prefix}cc
; ac_word
=$2
4695 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
4696 $as_echo_n "checking for $ac_word... " >&6; }
4697 if test "${ac_cv_prog_CC+set}" = set; then
4698 $as_echo_n "(cached) " >&6
4700 if test -n "$CC"; then
4701 ac_cv_prog_CC
="$CC" # Let the user override the test.
4703 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4707 test -z "$as_dir" && as_dir
=.
4708 for ac_exec_ext
in '' $ac_executable_extensions; do
4709 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4710 ac_cv_prog_CC
="${ac_tool_prefix}cc"
4711 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4721 if test -n "$CC"; then
4722 { $as_echo "$as_me:$LINENO: result: $CC" >&5
4723 $as_echo "$CC" >&6; }
4725 { $as_echo "$as_me:$LINENO: result: no" >&5
4726 $as_echo "no" >&6; }
4732 if test -z "$CC"; then
4733 # Extract the first word of "cc", so it can be a program name with args.
4734 set dummy cc
; ac_word
=$2
4735 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
4736 $as_echo_n "checking for $ac_word... " >&6; }
4737 if test "${ac_cv_prog_CC+set}" = set; then
4738 $as_echo_n "(cached) " >&6
4740 if test -n "$CC"; then
4741 ac_cv_prog_CC
="$CC" # Let the user override the test.
4744 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4748 test -z "$as_dir" && as_dir
=.
4749 for ac_exec_ext
in '' $ac_executable_extensions; do
4750 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4751 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
4752 ac_prog_rejected
=yes
4756 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4763 if test $ac_prog_rejected = yes; then
4764 # We found a bogon in the path, so make sure we never use it.
4765 set dummy
$ac_cv_prog_CC
4767 if test $# != 0; then
4768 # We chose a different compiler from the bogus one.
4769 # However, it has the same basename, so the bogon will be chosen
4770 # first if we set CC to just the basename; use the full file name.
4772 ac_cv_prog_CC
="$as_dir/$ac_word${1+' '}$@"
4778 if test -n "$CC"; then
4779 { $as_echo "$as_me:$LINENO: result: $CC" >&5
4780 $as_echo "$CC" >&6; }
4782 { $as_echo "$as_me:$LINENO: result: no" >&5
4783 $as_echo "no" >&6; }
4788 if test -z "$CC"; then
4789 if test -n "$ac_tool_prefix"; then
4790 for ac_prog
in cl.exe
4792 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
4793 set dummy
$ac_tool_prefix$ac_prog; ac_word
=$2
4794 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
4795 $as_echo_n "checking for $ac_word... " >&6; }
4796 if test "${ac_cv_prog_CC+set}" = set; then
4797 $as_echo_n "(cached) " >&6
4799 if test -n "$CC"; then
4800 ac_cv_prog_CC
="$CC" # Let the user override the test.
4802 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4806 test -z "$as_dir" && as_dir
=.
4807 for ac_exec_ext
in '' $ac_executable_extensions; do
4808 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4809 ac_cv_prog_CC
="$ac_tool_prefix$ac_prog"
4810 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4820 if test -n "$CC"; then
4821 { $as_echo "$as_me:$LINENO: result: $CC" >&5
4822 $as_echo "$CC" >&6; }
4824 { $as_echo "$as_me:$LINENO: result: no" >&5
4825 $as_echo "no" >&6; }
4829 test -n "$CC" && break
4832 if test -z "$CC"; then
4834 for ac_prog
in cl.exe
4836 # Extract the first word of "$ac_prog", so it can be a program name with args.
4837 set dummy
$ac_prog; ac_word
=$2
4838 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
4839 $as_echo_n "checking for $ac_word... " >&6; }
4840 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
4841 $as_echo_n "(cached) " >&6
4843 if test -n "$ac_ct_CC"; then
4844 ac_cv_prog_ac_ct_CC
="$ac_ct_CC" # Let the user override the test.
4846 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4850 test -z "$as_dir" && as_dir
=.
4851 for ac_exec_ext
in '' $ac_executable_extensions; do
4852 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4853 ac_cv_prog_ac_ct_CC
="$ac_prog"
4854 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4863 ac_ct_CC
=$ac_cv_prog_ac_ct_CC
4864 if test -n "$ac_ct_CC"; then
4865 { $as_echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
4866 $as_echo "$ac_ct_CC" >&6; }
4868 { $as_echo "$as_me:$LINENO: result: no" >&5
4869 $as_echo "no" >&6; }
4873 test -n "$ac_ct_CC" && break
4876 if test "x$ac_ct_CC" = x
; then
4879 case $cross_compiling:$ac_tool_warned in
4881 { $as_echo "$as_me:$LINENO: WARNING: using cross tools not prefixed with host triplet" >&5
4882 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4883 ac_tool_warned
=yes ;;
4892 test -z "$CC" && { { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
4893 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4894 { { $as_echo "$as_me:$LINENO: error: no acceptable C compiler found in \$PATH
4895 See \`config.log' for more details." >&5
4896 $as_echo "$as_me: error: no acceptable C compiler found in \$PATH
4897 See \`config.log' for more details." >&2;}
4898 { (exit 1); exit 1; }; }; }
4900 # Provide some information about the compiler.
4901 $as_echo "$as_me:$LINENO: checking for C compiler version" >&5
4904 { (ac_try
="$ac_compiler --version >&5"
4906 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
4907 *) ac_try_echo=$ac_try;;
4909 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
4910 $as_echo "$ac_try_echo") >&5
4911 (eval "$ac_compiler --version >&5") 2>&5
4913 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
4914 (exit $ac_status); }
4915 { (ac_try="$ac_compiler -v >&5"
4917 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
4918 *) ac_try_echo
=$ac_try;;
4920 eval ac_try_echo
="\"\$as_me:$LINENO: $ac_try_echo\""
4921 $as_echo "$ac_try_echo") >&5
4922 (eval "$ac_compiler -v >&5") 2>&5
4924 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
4925 (exit $ac_status); }
4926 { (ac_try
="$ac_compiler -V >&5"
4928 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
4929 *) ac_try_echo=$ac_try;;
4931 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
4932 $as_echo "$ac_try_echo") >&5
4933 (eval "$ac_compiler -V >&5") 2>&5
4935 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
4936 (exit $ac_status); }
4938 { $as_echo "$as_me:$LINENO: checking whether we are using the GNU C compiler" >&5
4939 $as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
4940 if test "${ac_cv_c_compiler_gnu+set}" = set; then
4941 $as_echo_n "(cached) " >&6
4943 cat >conftest.$ac_ext <<_ACEOF
4946 cat confdefs.h >>conftest.$ac_ext
4947 cat >>conftest.$ac_ext <<_ACEOF
4948 /* end confdefs.h. */
4961 rm -f conftest.$ac_objext
4962 if { (ac_try="$ac_compile"
4964 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
4965 *) ac_try_echo
=$ac_try;;
4967 eval ac_try_echo
="\"\$as_me:$LINENO: $ac_try_echo\""
4968 $as_echo "$ac_try_echo") >&5
4969 (eval "$ac_compile") 2>conftest.er1
4971 grep -v '^ *+' conftest.er1
>conftest.err
4973 cat conftest.err
>&5
4974 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
4975 (exit $ac_status); } && {
4976 test -z "$ac_c_werror_flag" ||
4977 test ! -s conftest.err
4978 } && test -s conftest.
$ac_objext; then
4981 $as_echo "$as_me: failed program was:" >&5
4982 sed 's/^/| /' conftest.
$ac_ext >&5
4987 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
4988 ac_cv_c_compiler_gnu
=$ac_compiler_gnu
4991 { $as_echo "$as_me:$LINENO: result: $ac_cv_c_compiler_gnu" >&5
4992 $as_echo "$ac_cv_c_compiler_gnu" >&6; }
4993 if test $ac_compiler_gnu = yes; then
4998 ac_test_CFLAGS
=${CFLAGS+set}
4999 ac_save_CFLAGS
=$CFLAGS
5000 { $as_echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5
5001 $as_echo_n "checking whether $CC accepts -g... " >&6; }
5002 if test "${ac_cv_prog_cc_g+set}" = set; then
5003 $as_echo_n "(cached) " >&6
5005 ac_save_c_werror_flag
=$ac_c_werror_flag
5006 ac_c_werror_flag
=yes
5009 cat >conftest.
$ac_ext <<_ACEOF
5012 cat confdefs.h
>>conftest.
$ac_ext
5013 cat >>conftest.
$ac_ext <<_ACEOF
5014 /* end confdefs.h. */
5024 rm -f conftest.
$ac_objext
5025 if { (ac_try
="$ac_compile"
5027 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
5028 *) ac_try_echo=$ac_try;;
5030 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
5031 $as_echo "$ac_try_echo") >&5
5032 (eval "$ac_compile") 2>conftest.er1
5034 grep -v '^ *+' conftest.er1 >conftest.err
5036 cat conftest.err >&5
5037 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
5038 (exit $ac_status); } && {
5039 test -z "$ac_c_werror_flag" ||
5040 test ! -s conftest.err
5041 } && test -s conftest.$ac_objext; then
5044 $as_echo "$as_me: failed program was:" >&5
5045 sed 's/^/| /' conftest.$ac_ext >&5
5048 cat >conftest.$ac_ext <<_ACEOF
5051 cat confdefs.h >>conftest.$ac_ext
5052 cat >>conftest.$ac_ext <<_ACEOF
5053 /* end confdefs.h. */
5063 rm -f conftest.$ac_objext
5064 if { (ac_try="$ac_compile"
5066 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
5067 *) ac_try_echo
=$ac_try;;
5069 eval ac_try_echo
="\"\$as_me:$LINENO: $ac_try_echo\""
5070 $as_echo "$ac_try_echo") >&5
5071 (eval "$ac_compile") 2>conftest.er1
5073 grep -v '^ *+' conftest.er1
>conftest.err
5075 cat conftest.err
>&5
5076 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
5077 (exit $ac_status); } && {
5078 test -z "$ac_c_werror_flag" ||
5079 test ! -s conftest.err
5080 } && test -s conftest.
$ac_objext; then
5083 $as_echo "$as_me: failed program was:" >&5
5084 sed 's/^/| /' conftest.
$ac_ext >&5
5086 ac_c_werror_flag
=$ac_save_c_werror_flag
5088 cat >conftest.
$ac_ext <<_ACEOF
5091 cat confdefs.h
>>conftest.
$ac_ext
5092 cat >>conftest.
$ac_ext <<_ACEOF
5093 /* end confdefs.h. */
5103 rm -f conftest.
$ac_objext
5104 if { (ac_try
="$ac_compile"
5106 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
5107 *) ac_try_echo=$ac_try;;
5109 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
5110 $as_echo "$ac_try_echo") >&5
5111 (eval "$ac_compile") 2>conftest.er1
5113 grep -v '^ *+' conftest.er1 >conftest.err
5115 cat conftest.err >&5
5116 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
5117 (exit $ac_status); } && {
5118 test -z "$ac_c_werror_flag" ||
5119 test ! -s conftest.err
5120 } && test -s conftest.$ac_objext; then
5123 $as_echo "$as_me: failed program was:" >&5
5124 sed 's/^/| /' conftest.$ac_ext >&5
5129 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5132 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5135 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5136 ac_c_werror_flag=$ac_save_c_werror_flag
5138 { $as_echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
5139 $as_echo "$ac_cv_prog_cc_g" >&6; }
5140 if test "$ac_test_CFLAGS" = set; then
5141 CFLAGS=$ac_save_CFLAGS
5142 elif test $ac_cv_prog_cc_g = yes; then
5143 if test "$GCC" = yes; then
5149 if test "$GCC" = yes; then
5155 { $as_echo "$as_me:$LINENO: checking for $CC option to accept ISO C89" >&5
5156 $as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
5157 if test "${ac_cv_prog_cc_c89+set}" = set; then
5158 $as_echo_n "(cached) " >&6
5160 ac_cv_prog_cc_c89=no
5162 cat >conftest.$ac_ext <<_ACEOF
5165 cat confdefs.h >>conftest.$ac_ext
5166 cat >>conftest.$ac_ext <<_ACEOF
5167 /* end confdefs.h. */
5170 #include <sys/types.h>
5171 #include <sys/stat.h>
5172 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
5173 struct buf { int x; };
5174 FILE * (*rcsopen) (struct buf *, struct stat *, int);
5175 static char *e (p, i)
5181 static char *f (char * (*g) (char **, int), char **p, ...)
5186 s = g (p, va_arg (v,int));
5191 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
5192 function prototypes and stuff, but not '\xHH' hex character constants.
5193 These don't provoke an error unfortunately, instead are silently treated
5194 as 'x'. The following induces an error, until -std is added to get
5195 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
5196 array size at least. It's necessary to write '\x00'==0 to get something
5197 that's true only with -std. */
5198 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
5200 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
5201 inside strings and character constants. */
5203 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
5205 int test (int i, double x);
5206 struct s1 {int (*f) (int a);};
5207 struct s2 {int (*f) (double a);};
5208 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
5214 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
5219 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
5220 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
5222 CC="$ac_save_CC $ac_arg"
5223 rm -f conftest.$ac_objext
5224 if { (ac_try="$ac_compile"
5226 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
5227 *) ac_try_echo
=$ac_try;;
5229 eval ac_try_echo
="\"\$as_me:$LINENO: $ac_try_echo\""
5230 $as_echo "$ac_try_echo") >&5
5231 (eval "$ac_compile") 2>conftest.er1
5233 grep -v '^ *+' conftest.er1
>conftest.err
5235 cat conftest.err
>&5
5236 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
5237 (exit $ac_status); } && {
5238 test -z "$ac_c_werror_flag" ||
5239 test ! -s conftest.err
5240 } && test -s conftest.
$ac_objext; then
5241 ac_cv_prog_cc_c89
=$ac_arg
5243 $as_echo "$as_me: failed program was:" >&5
5244 sed 's/^/| /' conftest.
$ac_ext >&5
5249 rm -f core conftest.err conftest.
$ac_objext
5250 test "x$ac_cv_prog_cc_c89" != "xno" && break
5252 rm -f conftest.
$ac_ext
5257 case "x$ac_cv_prog_cc_c89" in
5259 { $as_echo "$as_me:$LINENO: result: none needed" >&5
5260 $as_echo "none needed" >&6; } ;;
5262 { $as_echo "$as_me:$LINENO: result: unsupported" >&5
5263 $as_echo "unsupported" >&6; } ;;
5265 CC
="$CC $ac_cv_prog_cc_c89"
5266 { $as_echo "$as_me:$LINENO: result: $ac_cv_prog_cc_c89" >&5
5267 $as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
5272 ac_cpp
='$CXXCPP $CPPFLAGS'
5273 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5274 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5275 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
5277 depcc
="$CC" am_compiler_list
=
5279 { $as_echo "$as_me:$LINENO: checking dependency style of $depcc" >&5
5280 $as_echo_n "checking dependency style of $depcc... " >&6; }
5281 if test "${am_cv_CC_dependencies_compiler_type+set}" = set; then
5282 $as_echo_n "(cached) " >&6
5284 if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
5285 # We make a subdir and do the tests there. Otherwise we can end up
5286 # making bogus files that we don't know about and never remove. For
5287 # instance it was reported that on HP-UX the gcc test will end up
5288 # making a dummy file named `D' -- because `-MD' means `put the output
5291 # Copy depcomp to subdir because otherwise we won't find it if we're
5292 # using a relative directory.
5293 cp "$am_depcomp" conftest.dir
5295 # We will build objects and dependencies in a subdirectory because
5296 # it helps to detect inapplicable dependency modes. For instance
5297 # both Tru64's cc and ICC support -MD to output dependencies as a
5298 # side effect of compilation, but ICC will put the dependencies in
5299 # the current directory while Tru64 will put them in the object
5303 am_cv_CC_dependencies_compiler_type
=none
5304 if test "$am_compiler_list" = ""; then
5305 am_compiler_list
=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
5308 case " $depcc " in #(
5309 *\
-arch\
*\
-arch\
*) am__universal
=true
;;
5312 for depmode
in $am_compiler_list; do
5313 # Setup a source with many dependencies, because some compilers
5314 # like to wrap large dependency lists on column 80 (with \), and
5315 # we should not choose a depcomp mode which is confused by this.
5317 # We need to recreate these files for each test, as the compiler may
5318 # overwrite some of them when testing with obscure command lines.
5319 # This happens at least with the AIX C compiler.
5321 for i
in 1 2 3 4 5 6; do
5322 echo '#include "conftst'$i'.h"' >> sub
/conftest.c
5323 # Using `: > sub/conftst$i.h' creates only sub/conftst1.h with
5324 # Solaris 8's {/usr,}/bin/sh.
5325 touch sub
/conftst
$i.h
5327 echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
5329 # We check with `-c' and `-o' for the sake of the "dashmstdout"
5330 # mode. It turns out that the SunPro C++ compiler does not properly
5331 # handle `-M -o', and we need to detect this. Also, some Intel
5332 # versions had trouble with output in subdirs
5333 am__obj
=sub
/conftest.
${OBJEXT-o}
5334 am__minus_obj
="-o $am__obj"
5337 # This depmode causes a compiler race in universal mode.
5338 test "$am__universal" = false ||
continue
5341 # after this tag, mechanisms are not by side-effect, so they'll
5342 # only be used when explicitly requested
5343 if test "x$enable_dependency_tracking" = xyes
; then
5349 msvisualcpp | msvcmsys
)
5350 # This compiler won't grok `-c -o', but also, the minuso test has
5351 # not run yet. These depmodes are late enough in the game, and
5352 # so weak that their functioning should not be impacted.
5353 am__obj
=conftest.
${OBJEXT-o}
5358 if depmode
=$depmode \
5359 source=sub
/conftest.c object
=$am__obj \
5360 depfile
=sub
/conftest.Po tmpdepfile
=sub
/conftest.TPo \
5361 $SHELL .
/depcomp
$depcc -c $am__minus_obj sub
/conftest.c \
5362 >/dev
/null
2>conftest.err
&&
5363 grep sub
/conftst1.h sub
/conftest.Po
> /dev
/null
2>&1 &&
5364 grep sub
/conftst6.h sub
/conftest.Po
> /dev
/null
2>&1 &&
5365 grep $am__obj sub
/conftest.Po
> /dev
/null
2>&1 &&
5366 ${MAKE-make} -s -f confmf
> /dev
/null
2>&1; then
5367 # icc doesn't choke on unknown options, it will just issue warnings
5368 # or remarks (even with -Werror). So we grep stderr for any message
5369 # that says an option was ignored or not supported.
5370 # When given -MP, icc 7.0 and 7.1 complain thusly:
5371 # icc: Command line warning: ignoring option '-M'; no argument required
5372 # The diagnosis changed in icc 8.0:
5373 # icc: Command line remark: option '-MP' not supported
5374 if (grep 'ignoring option' conftest.err ||
5375 grep 'not supported' conftest.err
) >/dev
/null
2>&1; then :; else
5376 am_cv_CC_dependencies_compiler_type
=$depmode
5385 am_cv_CC_dependencies_compiler_type
=none
5389 { $as_echo "$as_me:$LINENO: result: $am_cv_CC_dependencies_compiler_type" >&5
5390 $as_echo "$am_cv_CC_dependencies_compiler_type" >&6; }
5391 CCDEPMODE
=depmode
=$am_cv_CC_dependencies_compiler_type
5394 test "x$enable_dependency_tracking" != xno \
5395 && test "$am_cv_CC_dependencies_compiler_type" = gcc3
; then
5397 am__fastdepCC_FALSE
='#'
5399 am__fastdepCC_TRUE
='#'
5400 am__fastdepCC_FALSE
=
5405 # Check whether --with-gnu-ld was given.
5406 if test "${with_gnu_ld+set}" = set; then
5407 withval
=$with_gnu_ld; test "$withval" = no || with_gnu_ld
=yes
5412 # Prepare PATH_SEPARATOR.
5413 # The user is always right.
5414 if test "${PATH_SEPARATOR+set}" != set; then
5415 echo "#! /bin/sh" >conf$$.sh
5416 echo "exit 0" >>conf$$.sh
5418 if (PATH
="/nonexistent;."; conf$$.sh
) >/dev
/null
2>&1; then
5426 if test "$GCC" = yes; then
5427 # Check if gcc -print-prog-name=ld gives a path.
5428 { $as_echo "$as_me:$LINENO: checking for ld used by GCC" >&5
5429 $as_echo_n "checking for ld used by GCC... " >&6; }
5432 # gcc leaves a trailing carriage return which upsets mingw
5433 ac_prog
=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
5435 ac_prog
=`($CC -print-prog-name=ld) 2>&5` ;;
5438 # Accept absolute paths.
5439 [\\/]* |
[A-Za-z
]:[\\/]*)
5440 re_direlt
='/[^/][^/]*/\.\./'
5441 # Canonicalize the path of ld
5442 ac_prog
=`echo $ac_prog| sed 's%\\\\%/%g'`
5443 while echo $ac_prog |
grep "$re_direlt" > /dev
/null
2>&1; do
5444 ac_prog
=`echo $ac_prog| sed "s%$re_direlt%/%"`
5446 test -z "$LD" && LD
="$ac_prog"
5449 # If it fails, then pretend we aren't using GCC.
5453 # If it is relative, then search for the first ld in PATH.
5457 elif test "$with_gnu_ld" = yes; then
5458 { $as_echo "$as_me:$LINENO: checking for GNU ld" >&5
5459 $as_echo_n "checking for GNU ld... " >&6; }
5461 { $as_echo "$as_me:$LINENO: checking for non-GNU ld" >&5
5462 $as_echo_n "checking for non-GNU ld... " >&6; }
5464 if test "${acl_cv_path_LD+set}" = set; then
5465 $as_echo_n "(cached) " >&6
5467 if test -z "$LD"; then
5468 IFS
="${IFS= }"; ac_save_ifs="$IFS"; IFS="${IFS}${PATH_SEPARATOR-:}"
5469 for ac_dir
in $PATH; do
5470 test -z "$ac_dir" && ac_dir
=.
5471 if test -f "$ac_dir/$ac_prog" ||
test -f "$ac_dir/$ac_prog$ac_exeext"; then
5472 acl_cv_path_LD
="$ac_dir/$ac_prog"
5473 # Check to see if the program is GNU ld. I'd rather use --version,
5474 # but apparently some GNU ld's only accept -v.
5475 # Break only if it was the GNU/non-GNU ld that we prefer.
5476 case `"$acl_cv_path_LD" -v 2>&1 < /dev/null` in
5477 *GNU
* |
*'with BFD'*)
5478 test "$with_gnu_ld" != no
&& break ;;
5480 test "$with_gnu_ld" != yes && break ;;
5486 acl_cv_path_LD
="$LD" # Let the user override the test with a path.
5490 LD
="$acl_cv_path_LD"
5491 if test -n "$LD"; then
5492 { $as_echo "$as_me:$LINENO: result: $LD" >&5
5493 $as_echo "$LD" >&6; }
5495 { $as_echo "$as_me:$LINENO: result: no" >&5
5496 $as_echo "no" >&6; }
5498 test -z "$LD" && { { $as_echo "$as_me:$LINENO: error: no acceptable ld found in \$PATH" >&5
5499 $as_echo "$as_me: error: no acceptable ld found in \$PATH" >&2;}
5500 { (exit 1); exit 1; }; }
5501 { $as_echo "$as_me:$LINENO: checking if the linker ($LD) is GNU ld" >&5
5502 $as_echo_n "checking if the linker ($LD) is GNU ld... " >&6; }
5503 if test "${acl_cv_prog_gnu_ld+set}" = set; then
5504 $as_echo_n "(cached) " >&6
5506 # I'd rather use --version here, but apparently some GNU ld's only accept -v.
5507 case `$LD -v 2>&1 </dev/null` in
5508 *GNU
* |
*'with BFD'*)
5509 acl_cv_prog_gnu_ld
=yes ;;
5511 acl_cv_prog_gnu_ld
=no
;;
5514 { $as_echo "$as_me:$LINENO: result: $acl_cv_prog_gnu_ld" >&5
5515 $as_echo "$acl_cv_prog_gnu_ld" >&6; }
5516 with_gnu_ld
=$acl_cv_prog_gnu_ld
5521 { $as_echo "$as_me:$LINENO: checking for shared library run path origin" >&5
5522 $as_echo_n "checking for shared library run path origin... " >&6; }
5523 if test "${acl_cv_rpath+set}" = set; then
5524 $as_echo_n "(cached) " >&6
5527 CC
="$CC" GCC
="$GCC" LDFLAGS
="$LDFLAGS" LD
="$LD" with_gnu_ld
="$with_gnu_ld" \
5528 ${CONFIG_SHELL-/bin/sh} "$ac_aux_dir/config.rpath" "$host" > conftest.sh
5534 { $as_echo "$as_me:$LINENO: result: $acl_cv_rpath" >&5
5535 $as_echo "$acl_cv_rpath" >&6; }
5537 acl_libext
="$acl_cv_libext"
5538 acl_shlibext
="$acl_cv_shlibext"
5539 acl_libname_spec
="$acl_cv_libname_spec"
5540 acl_library_names_spec
="$acl_cv_library_names_spec"
5541 acl_hardcode_libdir_flag_spec
="$acl_cv_hardcode_libdir_flag_spec"
5542 acl_hardcode_libdir_separator
="$acl_cv_hardcode_libdir_separator"
5543 acl_hardcode_direct
="$acl_cv_hardcode_direct"
5544 acl_hardcode_minus_L
="$acl_cv_hardcode_minus_L"
5545 # Check whether --enable-rpath was given.
5546 if test "${enable_rpath+set}" = set; then
5547 enableval
=$enable_rpath; :
5555 searchpath
=`(LC_ALL=C $CC -print-search-dirs) 2>/dev/null | sed -n -e 's,^libraries: ,,p' | sed -e 's,^=,,'`
5556 if test -n "$searchpath"; then
5557 acl_save_IFS
="${IFS= }"; IFS
=":"
5558 for searchdir
in $searchpath; do
5559 if test -d "$searchdir"; then
5560 case "$searchdir" in
5561 */lib64
/ |
*/lib64
) acl_libdirstem
=lib64
;;
5562 *) searchdir
=`cd "$searchdir" && pwd`
5563 case "$searchdir" in
5564 */lib64
) acl_libdirstem
=lib64
;;
5582 acl_save_prefix
="$prefix"
5583 prefix
="$acl_final_prefix"
5584 acl_save_exec_prefix
="$exec_prefix"
5585 exec_prefix
="$acl_final_exec_prefix"
5587 eval additional_includedir
=\"$includedir\"
5588 eval additional_libdir
=\"$libdir\"
5590 exec_prefix
="$acl_save_exec_prefix"
5591 prefix
="$acl_save_prefix"
5594 # Check whether --with-libiconv-prefix was given.
5595 if test "${with_libiconv_prefix+set}" = set; then
5596 withval
=$with_libiconv_prefix;
5597 if test "X$withval" = "Xno"; then
5600 if test "X$withval" = "X"; then
5602 acl_save_prefix
="$prefix"
5603 prefix
="$acl_final_prefix"
5604 acl_save_exec_prefix
="$exec_prefix"
5605 exec_prefix
="$acl_final_exec_prefix"
5607 eval additional_includedir
=\"$includedir\"
5608 eval additional_libdir
=\"$libdir\"
5610 exec_prefix
="$acl_save_exec_prefix"
5611 prefix
="$acl_save_prefix"
5614 additional_includedir
="$withval/include"
5615 additional_libdir
="$withval/$acl_libdirstem"
5627 names_already_handled
=
5628 names_next_round
='iconv '
5629 while test -n "$names_next_round"; do
5630 names_this_round
="$names_next_round"
5632 for name
in $names_this_round; do
5634 for n
in $names_already_handled; do
5635 if test "$n" = "$name"; then
5640 if test -z "$already_handled"; then
5641 names_already_handled
="$names_already_handled $name"
5642 uppername
=`echo "$name" | sed -e 'y|abcdefghijklmnopqrstuvwxyz./-|ABCDEFGHIJKLMNOPQRSTUVWXYZ___|'`
5643 eval value
=\"\
$HAVE_LIB$uppername\"
5644 if test -n "$value"; then
5645 if test "$value" = yes; then
5646 eval value
=\"\
$LIB$uppername\"
5647 test -z "$value" || LIBICONV
="${LIBICONV}${LIBICONV:+ }$value"
5648 eval value
=\"\
$LTLIB$uppername\"
5649 test -z "$value" || LTLIBICONV
="${LTLIBICONV}${LTLIBICONV:+ }$value"
5658 eval libname
=\"$acl_libname_spec\" # typically: libname=lib$name
5659 if test -n "$acl_shlibext"; then
5660 shrext
=".$acl_shlibext" # typically: shrext=.so
5664 if test $use_additional = yes; then
5665 dir
="$additional_libdir"
5666 if test -n "$acl_shlibext"; then
5667 if test -f "$dir/$libname$shrext"; then
5669 found_so
="$dir/$libname$shrext"
5671 if test "$acl_library_names_spec" = '$libname$shrext$versuffix'; then
5672 ver
=`(cd "$dir" && \
5673 for f in "$libname$shrext".*; do echo "$f"; done \
5674 | sed -e "s,^$libname$shrext\\\\.,," \
5675 | sort -t '.' -n -r -k1,1 -k2,2 -k3,3 -k4,4 -k5,5 \
5676 | sed 1q ) 2>/dev/null`
5677 if test -n "$ver" && test -f "$dir/$libname$shrext.$ver"; then
5679 found_so
="$dir/$libname$shrext.$ver"
5682 eval library_names
=\"$acl_library_names_spec\"
5683 for f
in $library_names; do
5684 if test -f "$dir/$f"; then
5693 if test "X$found_dir" = "X"; then
5694 if test -f "$dir/$libname.$acl_libext"; then
5696 found_a
="$dir/$libname.$acl_libext"
5699 if test "X$found_dir" != "X"; then
5700 if test -f "$dir/$libname.la"; then
5701 found_la
="$dir/$libname.la"
5705 if test "X$found_dir" = "X"; then
5706 for x
in $LDFLAGS $LTLIBICONV; do
5708 acl_save_prefix
="$prefix"
5709 prefix
="$acl_final_prefix"
5710 acl_save_exec_prefix
="$exec_prefix"
5711 exec_prefix
="$acl_final_exec_prefix"
5713 exec_prefix
="$acl_save_exec_prefix"
5714 prefix
="$acl_save_prefix"
5718 dir
=`echo "X$x" | sed -e 's/^X-L//'`
5719 if test -n "$acl_shlibext"; then
5720 if test -f "$dir/$libname$shrext"; then
5722 found_so
="$dir/$libname$shrext"
5724 if test "$acl_library_names_spec" = '$libname$shrext$versuffix'; then
5725 ver
=`(cd "$dir" && \
5726 for f in "$libname$shrext".*; do echo "$f"; done \
5727 | sed -e "s,^$libname$shrext\\\\.,," \
5728 | sort -t '.' -n -r -k1,1 -k2,2 -k3,3 -k4,4 -k5,5 \
5729 | sed 1q ) 2>/dev/null`
5730 if test -n "$ver" && test -f "$dir/$libname$shrext.$ver"; then
5732 found_so
="$dir/$libname$shrext.$ver"
5735 eval library_names
=\"$acl_library_names_spec\"
5736 for f
in $library_names; do
5737 if test -f "$dir/$f"; then
5746 if test "X$found_dir" = "X"; then
5747 if test -f "$dir/$libname.$acl_libext"; then
5749 found_a
="$dir/$libname.$acl_libext"
5752 if test "X$found_dir" != "X"; then
5753 if test -f "$dir/$libname.la"; then
5754 found_la
="$dir/$libname.la"
5759 if test "X$found_dir" != "X"; then
5764 if test "X$found_dir" != "X"; then
5765 LTLIBICONV
="${LTLIBICONV}${LTLIBICONV:+ }-L$found_dir -l$name"
5766 if test "X$found_so" != "X"; then
5767 if test "$enable_rpath" = no ||
test "X$found_dir" = "X/usr/$acl_libdirstem"; then
5768 LIBICONV
="${LIBICONV}${LIBICONV:+ }$found_so"
5771 for x
in $ltrpathdirs; do
5772 if test "X$x" = "X$found_dir"; then
5777 if test -z "$haveit"; then
5778 ltrpathdirs
="$ltrpathdirs $found_dir"
5780 if test "$acl_hardcode_direct" = yes; then
5781 LIBICONV
="${LIBICONV}${LIBICONV:+ }$found_so"
5783 if test -n "$acl_hardcode_libdir_flag_spec" && test "$acl_hardcode_minus_L" = no
; then
5784 LIBICONV
="${LIBICONV}${LIBICONV:+ }$found_so"
5786 for x
in $rpathdirs; do
5787 if test "X$x" = "X$found_dir"; then
5792 if test -z "$haveit"; then
5793 rpathdirs
="$rpathdirs $found_dir"
5797 for x
in $LDFLAGS $LIBICONV; do
5799 acl_save_prefix
="$prefix"
5800 prefix
="$acl_final_prefix"
5801 acl_save_exec_prefix
="$exec_prefix"
5802 exec_prefix
="$acl_final_exec_prefix"
5804 exec_prefix
="$acl_save_exec_prefix"
5805 prefix
="$acl_save_prefix"
5807 if test "X$x" = "X-L$found_dir"; then
5812 if test -z "$haveit"; then
5813 LIBICONV
="${LIBICONV}${LIBICONV:+ }-L$found_dir"
5815 if test "$acl_hardcode_minus_L" != no
; then
5816 LIBICONV
="${LIBICONV}${LIBICONV:+ }$found_so"
5818 LIBICONV
="${LIBICONV}${LIBICONV:+ }-l$name"
5824 if test "X$found_a" != "X"; then
5825 LIBICONV
="${LIBICONV}${LIBICONV:+ }$found_a"
5827 LIBICONV
="${LIBICONV}${LIBICONV:+ }-L$found_dir -l$name"
5830 additional_includedir
=
5831 case "$found_dir" in
5832 */$acl_libdirstem |
*/$acl_libdirstem/)
5833 basedir
=`echo "X$found_dir" | sed -e 's,^X,,' -e "s,/$acl_libdirstem/"'*$,,'`
5834 LIBICONV_PREFIX
="$basedir"
5835 additional_includedir
="$basedir/include"
5838 if test "X$additional_includedir" != "X"; then
5839 if test "X$additional_includedir" != "X/usr/include"; then
5841 if test "X$additional_includedir" = "X/usr/local/include"; then
5842 if test -n "$GCC"; then
5844 linux
* | gnu
* | k
*bsd
*-gnu) haveit
=yes;;
5848 if test -z "$haveit"; then
5849 for x
in $CPPFLAGS $INCICONV; do
5851 acl_save_prefix
="$prefix"
5852 prefix
="$acl_final_prefix"
5853 acl_save_exec_prefix
="$exec_prefix"
5854 exec_prefix
="$acl_final_exec_prefix"
5856 exec_prefix
="$acl_save_exec_prefix"
5857 prefix
="$acl_save_prefix"
5859 if test "X$x" = "X-I$additional_includedir"; then
5864 if test -z "$haveit"; then
5865 if test -d "$additional_includedir"; then
5866 INCICONV
="${INCICONV}${INCICONV:+ }-I$additional_includedir"
5872 if test -n "$found_la"; then
5873 save_libdir
="$libdir"
5875 */* |
*\\*) .
"$found_la" ;;
5876 *) .
"./$found_la" ;;
5878 libdir
="$save_libdir"
5879 for dep
in $dependency_libs; do
5882 additional_libdir
=`echo "X$dep" | sed -e 's/^X-L//'`
5883 if test "X$additional_libdir" != "X/usr/$acl_libdirstem"; then
5885 if test "X$additional_libdir" = "X/usr/local/$acl_libdirstem"; then
5886 if test -n "$GCC"; then
5888 linux
* | gnu
* | k
*bsd
*-gnu) haveit
=yes;;
5892 if test -z "$haveit"; then
5894 for x
in $LDFLAGS $LIBICONV; do
5896 acl_save_prefix
="$prefix"
5897 prefix
="$acl_final_prefix"
5898 acl_save_exec_prefix
="$exec_prefix"
5899 exec_prefix
="$acl_final_exec_prefix"
5901 exec_prefix
="$acl_save_exec_prefix"
5902 prefix
="$acl_save_prefix"
5904 if test "X$x" = "X-L$additional_libdir"; then
5909 if test -z "$haveit"; then
5910 if test -d "$additional_libdir"; then
5911 LIBICONV
="${LIBICONV}${LIBICONV:+ }-L$additional_libdir"
5915 for x
in $LDFLAGS $LTLIBICONV; do
5917 acl_save_prefix
="$prefix"
5918 prefix
="$acl_final_prefix"
5919 acl_save_exec_prefix
="$exec_prefix"
5920 exec_prefix
="$acl_final_exec_prefix"
5922 exec_prefix
="$acl_save_exec_prefix"
5923 prefix
="$acl_save_prefix"
5925 if test "X$x" = "X-L$additional_libdir"; then
5930 if test -z "$haveit"; then
5931 if test -d "$additional_libdir"; then
5932 LTLIBICONV
="${LTLIBICONV}${LTLIBICONV:+ }-L$additional_libdir"
5939 dir
=`echo "X$dep" | sed -e 's/^X-R//'`
5940 if test "$enable_rpath" != no
; then
5942 for x
in $rpathdirs; do
5943 if test "X$x" = "X$dir"; then
5948 if test -z "$haveit"; then
5949 rpathdirs
="$rpathdirs $dir"
5952 for x
in $ltrpathdirs; do
5953 if test "X$x" = "X$dir"; then
5958 if test -z "$haveit"; then
5959 ltrpathdirs
="$ltrpathdirs $dir"
5964 names_next_round
="$names_next_round "`echo "X$dep" | sed -e 's/^X-l//'`
5967 names_next_round
="$names_next_round "`echo "X$dep" | sed -e 's,^X.*/,,' -e 's,^lib,,' -e 's,\.la$,,'`
5970 LIBICONV
="${LIBICONV}${LIBICONV:+ }$dep"
5971 LTLIBICONV
="${LTLIBICONV}${LTLIBICONV:+ }$dep"
5977 LIBICONV
="${LIBICONV}${LIBICONV:+ }-l$name"
5978 LTLIBICONV
="${LTLIBICONV}${LTLIBICONV:+ }-l$name"
5984 if test "X$rpathdirs" != "X"; then
5985 if test -n "$acl_hardcode_libdir_separator"; then
5987 for found_dir
in $rpathdirs; do
5988 alldirs
="${alldirs}${alldirs:+$acl_hardcode_libdir_separator}$found_dir"
5990 acl_save_libdir
="$libdir"
5992 eval flag
=\"$acl_hardcode_libdir_flag_spec\"
5993 libdir
="$acl_save_libdir"
5994 LIBICONV
="${LIBICONV}${LIBICONV:+ }$flag"
5996 for found_dir
in $rpathdirs; do
5997 acl_save_libdir
="$libdir"
5999 eval flag
=\"$acl_hardcode_libdir_flag_spec\"
6000 libdir
="$acl_save_libdir"
6001 LIBICONV
="${LIBICONV}${LIBICONV:+ }$flag"
6005 if test "X$ltrpathdirs" != "X"; then
6006 for found_dir
in $ltrpathdirs; do
6007 LTLIBICONV
="${LTLIBICONV}${LTLIBICONV:+ }-R$found_dir"
6035 { $as_echo "$as_me:$LINENO: checking for CFPreferencesCopyAppValue" >&5
6036 $as_echo_n "checking for CFPreferencesCopyAppValue... " >&6; }
6037 if test "${gt_cv_func_CFPreferencesCopyAppValue+set}" = set; then
6038 $as_echo_n "(cached) " >&6
6040 gt_save_LIBS
="$LIBS"
6041 LIBS
="$LIBS -Wl,-framework -Wl,CoreFoundation"
6042 cat >conftest.
$ac_ext <<_ACEOF
6045 cat confdefs.h
>>conftest.
$ac_ext
6046 cat >>conftest.
$ac_ext <<_ACEOF
6047 /* end confdefs.h. */
6048 #include <CoreFoundation/CFPreferences.h>
6052 CFPreferencesCopyAppValue(NULL, NULL)
6057 rm -f conftest.
$ac_objext conftest
$ac_exeext
6058 if { (ac_try
="$ac_link"
6060 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
6061 *) ac_try_echo=$ac_try;;
6063 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
6064 $as_echo "$ac_try_echo") >&5
6065 (eval "$ac_link") 2>conftest.er1
6067 grep -v '^ *+' conftest.er1 >conftest.err
6069 cat conftest.err >&5
6070 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
6071 (exit $ac_status); } && {
6072 test -z "$ac_cxx_werror_flag" ||
6073 test ! -s conftest.err
6074 } && test -s conftest$ac_exeext && {
6075 test "$cross_compiling" = yes ||
6076 $as_test_x conftest$ac_exeext
6078 gt_cv_func_CFPreferencesCopyAppValue=yes
6080 $as_echo "$as_me: failed program was:" >&5
6081 sed 's/^/| /' conftest.$ac_ext >&5
6083 gt_cv_func_CFPreferencesCopyAppValue=no
6086 rm -rf conftest.dSYM
6087 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
6088 conftest$ac_exeext conftest.$ac_ext
6089 LIBS="$gt_save_LIBS"
6091 { $as_echo "$as_me:$LINENO: result: $gt_cv_func_CFPreferencesCopyAppValue" >&5
6092 $as_echo "$gt_cv_func_CFPreferencesCopyAppValue" >&6; }
6093 if test $gt_cv_func_CFPreferencesCopyAppValue = yes; then
6095 cat >>confdefs.h <<\_ACEOF
6096 #define HAVE_CFPREFERENCESCOPYAPPVALUE 1
6100 { $as_echo "$as_me:$LINENO: checking for CFLocaleCopyCurrent" >&5
6101 $as_echo_n "checking for CFLocaleCopyCurrent... " >&6; }
6102 if test "${gt_cv_func_CFLocaleCopyCurrent+set}" = set; then
6103 $as_echo_n "(cached) " >&6
6105 gt_save_LIBS="$LIBS"
6106 LIBS="$LIBS -Wl,-framework -Wl,CoreFoundation"
6107 cat >conftest.$ac_ext <<_ACEOF
6110 cat confdefs.h >>conftest.$ac_ext
6111 cat >>conftest.$ac_ext <<_ACEOF
6112 /* end confdefs.h. */
6113 #include <CoreFoundation/CFLocale.h>
6117 CFLocaleCopyCurrent();
6122 rm -f conftest.$ac_objext conftest$ac_exeext
6123 if { (ac_try="$ac_link"
6125 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
6126 *) ac_try_echo
=$ac_try;;
6128 eval ac_try_echo
="\"\$as_me:$LINENO: $ac_try_echo\""
6129 $as_echo "$ac_try_echo") >&5
6130 (eval "$ac_link") 2>conftest.er1
6132 grep -v '^ *+' conftest.er1
>conftest.err
6134 cat conftest.err
>&5
6135 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
6136 (exit $ac_status); } && {
6137 test -z "$ac_cxx_werror_flag" ||
6138 test ! -s conftest.err
6139 } && test -s conftest
$ac_exeext && {
6140 test "$cross_compiling" = yes ||
6141 $as_test_x conftest
$ac_exeext
6143 gt_cv_func_CFLocaleCopyCurrent
=yes
6145 $as_echo "$as_me: failed program was:" >&5
6146 sed 's/^/| /' conftest.
$ac_ext >&5
6148 gt_cv_func_CFLocaleCopyCurrent
=no
6151 rm -rf conftest.dSYM
6152 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
6153 conftest
$ac_exeext conftest.
$ac_ext
6154 LIBS
="$gt_save_LIBS"
6156 { $as_echo "$as_me:$LINENO: result: $gt_cv_func_CFLocaleCopyCurrent" >&5
6157 $as_echo "$gt_cv_func_CFLocaleCopyCurrent" >&6; }
6158 if test $gt_cv_func_CFLocaleCopyCurrent = yes; then
6160 cat >>confdefs.h
<<\_ACEOF
6161 #define HAVE_CFLOCALECOPYCURRENT 1
6166 if test $gt_cv_func_CFPreferencesCopyAppValue = yes ||
test $gt_cv_func_CFLocaleCopyCurrent = yes; then
6167 INTL_MACOSX_LIBS
="-Wl,-framework -Wl,CoreFoundation"
6179 case " $gt_needs " in
6180 *" need-formatstring-macros "*) gt_api_version
=3 ;;
6181 *" need-ngettext "*) gt_api_version
=2 ;;
6182 *) gt_api_version
=1 ;;
6184 gt_func_gnugettext_libc
="gt_cv_func_gnugettext${gt_api_version}_libc"
6185 gt_func_gnugettext_libintl
="gt_cv_func_gnugettext${gt_api_version}_libintl"
6187 if test "$USE_NLS" = "yes"; then
6188 gt_use_preinstalled_gnugettext
=no
6191 if test $gt_api_version -ge 3; then
6192 gt_revision_test_code
='
6193 #ifndef __GNU_GETTEXT_SUPPORTED_REVISION
6194 #define __GNU_GETTEXT_SUPPORTED_REVISION(major) ((major) == 0 ? 0 : -1)
6196 typedef int array [2 * (__GNU_GETTEXT_SUPPORTED_REVISION(0) >= 1) - 1];
6199 gt_revision_test_code
=
6201 if test $gt_api_version -ge 2; then
6202 gt_expression_test_code
=' + * ngettext ("", "", 0)'
6204 gt_expression_test_code
=
6207 { $as_echo "$as_me:$LINENO: checking for GNU gettext in libc" >&5
6208 $as_echo_n "checking for GNU gettext in libc... " >&6; }
6209 if { as_var
=$gt_func_gnugettext_libc; eval "test \"\${$as_var+set}\" = set"; }; then
6210 $as_echo_n "(cached) " >&6
6212 cat >conftest.
$ac_ext <<_ACEOF
6215 cat confdefs.h
>>conftest.
$ac_ext
6216 cat >>conftest.
$ac_ext <<_ACEOF
6217 /* end confdefs.h. */
6218 #include <libintl.h>
6219 $gt_revision_test_code
6220 extern int _nl_msg_cat_cntr;
6221 extern int *_nl_domain_bindings;
6225 bindtextdomain ("", "");
6226 return * gettext ("")$gt_expression_test_code + _nl_msg_cat_cntr + *_nl_domain_bindings
6231 rm -f conftest.
$ac_objext conftest
$ac_exeext
6232 if { (ac_try
="$ac_link"
6234 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
6235 *) ac_try_echo=$ac_try;;
6237 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
6238 $as_echo "$ac_try_echo") >&5
6239 (eval "$ac_link") 2>conftest.er1
6241 grep -v '^ *+' conftest.er1 >conftest.err
6243 cat conftest.err >&5
6244 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
6245 (exit $ac_status); } && {
6246 test -z "$ac_cxx_werror_flag" ||
6247 test ! -s conftest.err
6248 } && test -s conftest$ac_exeext && {
6249 test "$cross_compiling" = yes ||
6250 $as_test_x conftest$ac_exeext
6252 eval "$gt_func_gnugettext_libc=yes"
6254 $as_echo "$as_me: failed program was:" >&5
6255 sed 's/^/| /' conftest.$ac_ext >&5
6257 eval "$gt_func_gnugettext_libc=no"
6260 rm -rf conftest.dSYM
6261 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
6262 conftest$ac_exeext conftest.$ac_ext
6264 ac_res=`eval 'as_val=${'$gt_func_gnugettext_libc'}
6265 $as_echo "$as_val"'`
6266 { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
6267 $as_echo "$ac_res" >&6; }
6269 if { eval "gt_val=\$$gt_func_gnugettext_libc"; test "$gt_val" != "yes"; }; then
6275 am_save_CPPFLAGS="$CPPFLAGS"
6277 for element in $INCICONV; do
6279 for x in $CPPFLAGS; do
6281 acl_save_prefix="$prefix"
6282 prefix="$acl_final_prefix"
6283 acl_save_exec_prefix="$exec_prefix"
6284 exec_prefix="$acl_final_exec_prefix"
6286 exec_prefix="$acl_save_exec_prefix"
6287 prefix="$acl_save_prefix"
6289 if test "X$x" = "X$element"; then
6294 if test -z "$haveit"; then
6295 CPPFLAGS="${CPPFLAGS}${CPPFLAGS:+ }$element"
6300 { $as_echo "$as_me:$LINENO: checking for iconv" >&5
6301 $as_echo_n "checking for iconv... " >&6; }
6302 if test "${am_cv_func_iconv+set}" = set; then
6303 $as_echo_n "(cached) " >&6
6306 am_cv_func_iconv="no, consider installing GNU libiconv"
6308 cat >conftest.$ac_ext <<_ACEOF
6311 cat confdefs.h >>conftest.$ac_ext
6312 cat >>conftest.$ac_ext <<_ACEOF
6313 /* end confdefs.h. */
6319 iconv_t cd = iconv_open("","");
6320 iconv(cd,NULL,NULL,NULL,NULL);
6326 rm -f conftest.$ac_objext conftest$ac_exeext
6327 if { (ac_try="$ac_link"
6329 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
6330 *) ac_try_echo
=$ac_try;;
6332 eval ac_try_echo
="\"\$as_me:$LINENO: $ac_try_echo\""
6333 $as_echo "$ac_try_echo") >&5
6334 (eval "$ac_link") 2>conftest.er1
6336 grep -v '^ *+' conftest.er1
>conftest.err
6338 cat conftest.err
>&5
6339 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
6340 (exit $ac_status); } && {
6341 test -z "$ac_cxx_werror_flag" ||
6342 test ! -s conftest.err
6343 } && test -s conftest
$ac_exeext && {
6344 test "$cross_compiling" = yes ||
6345 $as_test_x conftest
$ac_exeext
6347 am_cv_func_iconv
=yes
6349 $as_echo "$as_me: failed program was:" >&5
6350 sed 's/^/| /' conftest.
$ac_ext >&5
6355 rm -rf conftest.dSYM
6356 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
6357 conftest
$ac_exeext conftest.
$ac_ext
6358 if test "$am_cv_func_iconv" != yes; then
6359 am_save_LIBS
="$LIBS"
6360 LIBS
="$LIBS $LIBICONV"
6361 cat >conftest.
$ac_ext <<_ACEOF
6364 cat confdefs.h
>>conftest.
$ac_ext
6365 cat >>conftest.
$ac_ext <<_ACEOF
6366 /* end confdefs.h. */
6372 iconv_t cd = iconv_open("","");
6373 iconv(cd,NULL,NULL,NULL,NULL);
6379 rm -f conftest.
$ac_objext conftest
$ac_exeext
6380 if { (ac_try
="$ac_link"
6382 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
6383 *) ac_try_echo=$ac_try;;
6385 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
6386 $as_echo "$ac_try_echo") >&5
6387 (eval "$ac_link") 2>conftest.er1
6389 grep -v '^ *+' conftest.er1 >conftest.err
6391 cat conftest.err >&5
6392 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
6393 (exit $ac_status); } && {
6394 test -z "$ac_cxx_werror_flag" ||
6395 test ! -s conftest.err
6396 } && test -s conftest$ac_exeext && {
6397 test "$cross_compiling" = yes ||
6398 $as_test_x conftest$ac_exeext
6401 am_cv_func_iconv=yes
6403 $as_echo "$as_me: failed program was:" >&5
6404 sed 's/^/| /' conftest.$ac_ext >&5
6409 rm -rf conftest.dSYM
6410 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
6411 conftest$ac_exeext conftest.$ac_ext
6412 LIBS="$am_save_LIBS"
6416 { $as_echo "$as_me:$LINENO: result: $am_cv_func_iconv" >&5
6417 $as_echo "$am_cv_func_iconv" >&6; }
6418 if test "$am_cv_func_iconv" = yes; then
6419 { $as_echo "$as_me:$LINENO: checking for working iconv" >&5
6420 $as_echo_n "checking for working iconv... " >&6; }
6421 if test "${am_cv_func_iconv_works+set}" = set; then
6422 $as_echo_n "(cached) " >&6
6425 am_save_LIBS="$LIBS"
6426 if test $am_cv_lib_iconv = yes; then
6427 LIBS="$LIBS $LIBICONV"
6429 if test "$cross_compiling" = yes; then
6431 aix* | hpux*) am_cv_func_iconv_works="guessing no" ;;
6432 *) am_cv_func_iconv_works="guessing yes" ;;
6435 cat >conftest.$ac_ext <<_ACEOF
6438 cat confdefs.h >>conftest.$ac_ext
6439 cat >>conftest.$ac_ext <<_ACEOF
6440 /* end confdefs.h. */
6446 /* Test against AIX 5.1 bug: Failures are not distinguishable from successful
6449 iconv_t cd_utf8_to_88591 = iconv_open ("ISO8859-1", "UTF-8");
6450 if (cd_utf8_to_88591 != (iconv_t)(-1))
6452 static const char input[] = "\342\202\254"; /* EURO SIGN */
6454 const char *inptr = input;
6455 size_t inbytesleft = strlen (input);
6457 size_t outbytesleft = sizeof (buf);
6458 size_t res = iconv (cd_utf8_to_88591,
6459 (char **) &inptr, &inbytesleft,
6460 &outptr, &outbytesleft);
6465 #if 0 /* This bug could be worked around by the caller. */
6466 /* Test against HP-UX 11.11 bug: Positive return value instead of 0. */
6468 iconv_t cd_88591_to_utf8 = iconv_open ("utf8", "iso88591");
6469 if (cd_88591_to_utf8 != (iconv_t)(-1))
6471 static const char input[] = "\304rger mit b\366sen B\374bchen ohne Augenma\337";
6473 const char *inptr = input;
6474 size_t inbytesleft = strlen (input);
6476 size_t outbytesleft = sizeof (buf);
6477 size_t res = iconv (cd_88591_to_utf8,
6478 (char **) &inptr, &inbytesleft,
6479 &outptr, &outbytesleft);
6485 /* Test against HP-UX 11.11 bug: No converter from EUC-JP to UTF-8 is
6487 if (/* Try standardized names. */
6488 iconv_open ("UTF-8", "EUC-JP") == (iconv_t)(-1)
6489 /* Try IRIX, OSF/1 names. */
6490 && iconv_open ("UTF-8", "eucJP") == (iconv_t)(-1)
6491 /* Try AIX names. */
6492 && iconv_open ("UTF-8", "IBM-eucJP") == (iconv_t)(-1)
6493 /* Try HP-UX names. */
6494 && iconv_open ("utf8", "eucJP") == (iconv_t)(-1))
6499 rm -f conftest$ac_exeext
6500 if { (ac_try="$ac_link"
6502 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
6503 *) ac_try_echo
=$ac_try;;
6505 eval ac_try_echo
="\"\$as_me:$LINENO: $ac_try_echo\""
6506 $as_echo "$ac_try_echo") >&5
6507 (eval "$ac_link") 2>&5
6509 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
6510 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
6511 { (case "(($ac_try" in
6512 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
6513 *) ac_try_echo=$ac_try;;
6515 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
6516 $as_echo "$ac_try_echo") >&5
6517 (eval "$ac_try") 2>&5
6519 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
6520 (exit $ac_status); }; }; then
6521 am_cv_func_iconv_works=yes
6523 $as_echo "$as_me: program exited with status $ac_status" >&5
6524 $as_echo "$as_me: failed program was:" >&5
6525 sed 's/^/| /' conftest.$ac_ext >&5
6528 am_cv_func_iconv_works=no
6530 rm -rf conftest.dSYM
6531 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
6535 LIBS="$am_save_LIBS"
6538 { $as_echo "$as_me:$LINENO: result: $am_cv_func_iconv_works" >&5
6539 $as_echo "$am_cv_func_iconv_works" >&6; }
6540 case "$am_cv_func_iconv_works" in
6541 *no) am_func_iconv=no am_cv_lib_iconv=no ;;
6542 *) am_func_iconv=yes ;;
6545 am_func_iconv=no am_cv_lib_iconv=no
6547 if test "$am_func_iconv" = yes; then
6549 cat >>confdefs.h <<\_ACEOF
6550 #define HAVE_ICONV 1
6554 if test "$am_cv_lib_iconv" = yes; then
6555 { $as_echo "$as_me:$LINENO: checking how to link with libiconv" >&5
6556 $as_echo_n "checking how to link with libiconv... " >&6; }
6557 { $as_echo "$as_me:$LINENO: result: $LIBICONV" >&5
6558 $as_echo "$LIBICONV" >&6; }
6560 CPPFLAGS="$am_save_CPPFLAGS"
6574 acl_save_prefix="$prefix"
6575 prefix="$acl_final_prefix"
6576 acl_save_exec_prefix="$exec_prefix"
6577 exec_prefix="$acl_final_exec_prefix"
6579 eval additional_includedir=\"$includedir\"
6580 eval additional_libdir=\"$libdir\"
6582 exec_prefix="$acl_save_exec_prefix"
6583 prefix="$acl_save_prefix"
6586 # Check whether --with-libintl-prefix was given.
6587 if test "${with_libintl_prefix+set}" = set; then
6588 withval=$with_libintl_prefix;
6589 if test "X$withval" = "Xno"; then
6592 if test "X$withval" = "X"; then
6594 acl_save_prefix="$prefix"
6595 prefix="$acl_final_prefix"
6596 acl_save_exec_prefix="$exec_prefix"
6597 exec_prefix="$acl_final_exec_prefix"
6599 eval additional_includedir=\"$includedir\"
6600 eval additional_libdir=\"$libdir\"
6602 exec_prefix="$acl_save_exec_prefix"
6603 prefix="$acl_save_prefix"
6606 additional_includedir="$withval/include"
6607 additional_libdir="$withval/$acl_libdirstem"
6619 names_already_handled=
6620 names_next_round='intl '
6621 while test -n "$names_next_round"; do
6622 names_this_round="$names_next_round"
6624 for name in $names_this_round; do
6626 for n in $names_already_handled; do
6627 if test "$n" = "$name"; then
6632 if test -z "$already_handled"; then
6633 names_already_handled="$names_already_handled $name"
6634 uppername=`echo "$name" |
sed -e 'y|abcdefghijklmnopqrstuvwxyz./-|ABCDEFGHIJKLMNOPQRSTUVWXYZ___|'`
6635 eval value=\"\$HAVE_LIB$uppername\"
6636 if test -n "$value"; then
6637 if test "$value" = yes; then
6638 eval value=\"\$LIB$uppername\"
6639 test -z "$value" || LIBINTL="${LIBINTL}${LIBINTL:+ }$value"
6640 eval value=\"\$LTLIB$uppername\"
6641 test -z "$value" || LTLIBINTL="${LTLIBINTL}${LTLIBINTL:+ }$value"
6650 eval libname=\"$acl_libname_spec\" # typically: libname=lib$name
6651 if test -n "$acl_shlibext"; then
6652 shrext=".$acl_shlibext" # typically: shrext=.so
6656 if test $use_additional = yes; then
6657 dir="$additional_libdir"
6658 if test -n "$acl_shlibext"; then
6659 if test -f "$dir/$libname$shrext"; then
6661 found_so="$dir/$libname$shrext"
6663 if test "$acl_library_names_spec" = '$libname$shrext$versuffix'; then
6664 ver=`(cd "$dir" && \
6665 for f
in "$libname$shrext".
*; do echo "$f"; done \
6666 |
sed -e "s,^$libname$shrext\\\\.,," \
6667 |
sort -t '.' -n -r -k1,1 -k2,2 -k3,3 -k4,4 -k5,5 \
6668 |
sed 1q
) 2>/dev
/null
`
6669 if test -n "$ver" && test -f "$dir/$libname$shrext.$ver"; then
6671 found_so="$dir/$libname$shrext.$ver"
6674 eval library_names=\"$acl_library_names_spec\"
6675 for f in $library_names; do
6676 if test -f "$dir/$f"; then
6685 if test "X$found_dir" = "X"; then
6686 if test -f "$dir/$libname.$acl_libext"; then
6688 found_a="$dir/$libname.$acl_libext"
6691 if test "X$found_dir" != "X"; then
6692 if test -f "$dir/$libname.la"; then
6693 found_la="$dir/$libname.la"
6697 if test "X$found_dir" = "X"; then
6698 for x in $LDFLAGS $LTLIBINTL; do
6700 acl_save_prefix="$prefix"
6701 prefix="$acl_final_prefix"
6702 acl_save_exec_prefix="$exec_prefix"
6703 exec_prefix="$acl_final_exec_prefix"
6705 exec_prefix="$acl_save_exec_prefix"
6706 prefix="$acl_save_prefix"
6710 dir=`echo "X$x" |
sed -e 's/^X-L//'`
6711 if test -n "$acl_shlibext"; then
6712 if test -f "$dir/$libname$shrext"; then
6714 found_so="$dir/$libname$shrext"
6716 if test "$acl_library_names_spec" = '$libname$shrext$versuffix'; then
6717 ver=`(cd "$dir" && \
6718 for f
in "$libname$shrext".
*; do echo "$f"; done \
6719 |
sed -e "s,^$libname$shrext\\\\.,," \
6720 |
sort -t '.' -n -r -k1,1 -k2,2 -k3,3 -k4,4 -k5,5 \
6721 |
sed 1q
) 2>/dev
/null
`
6722 if test -n "$ver" && test -f "$dir/$libname$shrext.$ver"; then
6724 found_so="$dir/$libname$shrext.$ver"
6727 eval library_names=\"$acl_library_names_spec\"
6728 for f in $library_names; do
6729 if test -f "$dir/$f"; then
6738 if test "X$found_dir" = "X"; then
6739 if test -f "$dir/$libname.$acl_libext"; then
6741 found_a="$dir/$libname.$acl_libext"
6744 if test "X$found_dir" != "X"; then
6745 if test -f "$dir/$libname.la"; then
6746 found_la="$dir/$libname.la"
6751 if test "X$found_dir" != "X"; then
6756 if test "X$found_dir" != "X"; then
6757 LTLIBINTL="${LTLIBINTL}${LTLIBINTL:+ }-L$found_dir -l$name"
6758 if test "X$found_so" != "X"; then
6759 if test "$enable_rpath" = no || test "X$found_dir" = "X/usr/$acl_libdirstem"; then
6760 LIBINTL="${LIBINTL}${LIBINTL:+ }$found_so"
6763 for x in $ltrpathdirs; do
6764 if test "X$x" = "X$found_dir"; then
6769 if test -z "$haveit"; then
6770 ltrpathdirs="$ltrpathdirs $found_dir"
6772 if test "$acl_hardcode_direct" = yes; then
6773 LIBINTL="${LIBINTL}${LIBINTL:+ }$found_so"
6775 if test -n "$acl_hardcode_libdir_flag_spec" && test "$acl_hardcode_minus_L" = no; then
6776 LIBINTL="${LIBINTL}${LIBINTL:+ }$found_so"
6778 for x in $rpathdirs; do
6779 if test "X$x" = "X$found_dir"; then
6784 if test -z "$haveit"; then
6785 rpathdirs="$rpathdirs $found_dir"
6789 for x in $LDFLAGS $LIBINTL; do
6791 acl_save_prefix="$prefix"
6792 prefix="$acl_final_prefix"
6793 acl_save_exec_prefix="$exec_prefix"
6794 exec_prefix="$acl_final_exec_prefix"
6796 exec_prefix="$acl_save_exec_prefix"
6797 prefix="$acl_save_prefix"
6799 if test "X$x" = "X-L$found_dir"; then
6804 if test -z "$haveit"; then
6805 LIBINTL="${LIBINTL}${LIBINTL:+ }-L$found_dir"
6807 if test "$acl_hardcode_minus_L" != no; then
6808 LIBINTL="${LIBINTL}${LIBINTL:+ }$found_so"
6810 LIBINTL="${LIBINTL}${LIBINTL:+ }-l$name"
6816 if test "X$found_a" != "X"; then
6817 LIBINTL="${LIBINTL}${LIBINTL:+ }$found_a"
6819 LIBINTL="${LIBINTL}${LIBINTL:+ }-L$found_dir -l$name"
6822 additional_includedir=
6823 case "$found_dir" in
6824 */$acl_libdirstem | */$acl_libdirstem/)
6825 basedir=`echo "X$found_dir" |
sed -e 's,^X,,' -e "s,/$acl_libdirstem/"'*$,,'`
6826 LIBINTL_PREFIX="$basedir"
6827 additional_includedir="$basedir/include"
6830 if test "X$additional_includedir" != "X"; then
6831 if test "X$additional_includedir" != "X/usr/include"; then
6833 if test "X$additional_includedir" = "X/usr/local/include"; then
6834 if test -n "$GCC"; then
6836 linux* | gnu* | k*bsd*-gnu) haveit=yes;;
6840 if test -z "$haveit"; then
6841 for x in $CPPFLAGS $INCINTL; do
6843 acl_save_prefix="$prefix"
6844 prefix="$acl_final_prefix"
6845 acl_save_exec_prefix="$exec_prefix"
6846 exec_prefix="$acl_final_exec_prefix"
6848 exec_prefix="$acl_save_exec_prefix"
6849 prefix="$acl_save_prefix"
6851 if test "X$x" = "X-I$additional_includedir"; then
6856 if test -z "$haveit"; then
6857 if test -d "$additional_includedir"; then
6858 INCINTL="${INCINTL}${INCINTL:+ }-I$additional_includedir"
6864 if test -n "$found_la"; then
6865 save_libdir="$libdir"
6867 */* | *\\*) . "$found_la" ;;
6868 *) . "./$found_la" ;;
6870 libdir="$save_libdir"
6871 for dep in $dependency_libs; do
6874 additional_libdir=`echo "X$dep" |
sed -e 's/^X-L//'`
6875 if test "X$additional_libdir" != "X/usr/$acl_libdirstem"; then
6877 if test "X$additional_libdir" = "X/usr/local/$acl_libdirstem"; then
6878 if test -n "$GCC"; then
6880 linux* | gnu* | k*bsd*-gnu) haveit=yes;;
6884 if test -z "$haveit"; then
6886 for x in $LDFLAGS $LIBINTL; do
6888 acl_save_prefix="$prefix"
6889 prefix="$acl_final_prefix"
6890 acl_save_exec_prefix="$exec_prefix"
6891 exec_prefix="$acl_final_exec_prefix"
6893 exec_prefix="$acl_save_exec_prefix"
6894 prefix="$acl_save_prefix"
6896 if test "X$x" = "X-L$additional_libdir"; then
6901 if test -z "$haveit"; then
6902 if test -d "$additional_libdir"; then
6903 LIBINTL="${LIBINTL}${LIBINTL:+ }-L$additional_libdir"
6907 for x in $LDFLAGS $LTLIBINTL; do
6909 acl_save_prefix="$prefix"
6910 prefix="$acl_final_prefix"
6911 acl_save_exec_prefix="$exec_prefix"
6912 exec_prefix="$acl_final_exec_prefix"
6914 exec_prefix="$acl_save_exec_prefix"
6915 prefix="$acl_save_prefix"
6917 if test "X$x" = "X-L$additional_libdir"; then
6922 if test -z "$haveit"; then
6923 if test -d "$additional_libdir"; then
6924 LTLIBINTL="${LTLIBINTL}${LTLIBINTL:+ }-L$additional_libdir"
6931 dir=`echo "X$dep" |
sed -e 's/^X-R//'`
6932 if test "$enable_rpath" != no; then
6934 for x in $rpathdirs; do
6935 if test "X$x" = "X$dir"; then
6940 if test -z "$haveit"; then
6941 rpathdirs="$rpathdirs $dir"
6944 for x in $ltrpathdirs; do
6945 if test "X$x" = "X$dir"; then
6950 if test -z "$haveit"; then
6951 ltrpathdirs="$ltrpathdirs $dir"
6956 names_next_round="$names_next_round "`echo "X$dep" |
sed -e 's/^X-l//'`
6959 names_next_round="$names_next_round "`echo "X$dep" |
sed -e 's,^X.*/,,' -e 's,^lib,,' -e 's,\.la$,,'`
6962 LIBINTL="${LIBINTL}${LIBINTL:+ }$dep"
6963 LTLIBINTL="${LTLIBINTL}${LTLIBINTL:+ }$dep"
6969 LIBINTL="${LIBINTL}${LIBINTL:+ }-l$name"
6970 LTLIBINTL="${LTLIBINTL}${LTLIBINTL:+ }-l$name"
6976 if test "X$rpathdirs" != "X"; then
6977 if test -n "$acl_hardcode_libdir_separator"; then
6979 for found_dir in $rpathdirs; do
6980 alldirs="${alldirs}${alldirs:+$acl_hardcode_libdir_separator}$found_dir"
6982 acl_save_libdir="$libdir"
6984 eval flag=\"$acl_hardcode_libdir_flag_spec\"
6985 libdir="$acl_save_libdir"
6986 LIBINTL="${LIBINTL}${LIBINTL:+ }$flag"
6988 for found_dir in $rpathdirs; do
6989 acl_save_libdir="$libdir"
6991 eval flag=\"$acl_hardcode_libdir_flag_spec\"
6992 libdir="$acl_save_libdir"
6993 LIBINTL="${LIBINTL}${LIBINTL:+ }$flag"
6997 if test "X$ltrpathdirs" != "X"; then
6998 for found_dir in $ltrpathdirs; do
6999 LTLIBINTL="${LTLIBINTL}${LTLIBINTL:+ }-R$found_dir"
7003 { $as_echo "$as_me:$LINENO: checking for GNU gettext in libintl" >&5
7004 $as_echo_n "checking for GNU gettext in libintl... " >&6; }
7005 if { as_var=$gt_func_gnugettext_libintl; eval "test \"\${$as_var+set}\" = set"; }; then
7006 $as_echo_n "(cached) " >&6
7008 gt_save_CPPFLAGS="$CPPFLAGS"
7009 CPPFLAGS="$CPPFLAGS $INCINTL"
7010 gt_save_LIBS="$LIBS"
7011 LIBS="$LIBS $LIBINTL"
7012 cat >conftest.$ac_ext <<_ACEOF
7015 cat confdefs.h >>conftest.$ac_ext
7016 cat >>conftest.$ac_ext <<_ACEOF
7017 /* end confdefs.h. */
7018 #include <libintl.h>
7019 $gt_revision_test_code
7020 extern int _nl_msg_cat_cntr;
7025 const char *_nl_expand_alias (const char *);
7029 bindtextdomain ("", "");
7030 return * gettext ("")$gt_expression_test_code + _nl_msg_cat_cntr + *_nl_expand_alias ("")
7035 rm -f conftest.$ac_objext conftest$ac_exeext
7036 if { (ac_try="$ac_link"
7038 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
7039 *) ac_try_echo
=$ac_try;;
7041 eval ac_try_echo
="\"\$as_me:$LINENO: $ac_try_echo\""
7042 $as_echo "$ac_try_echo") >&5
7043 (eval "$ac_link") 2>conftest.er1
7045 grep -v '^ *+' conftest.er1
>conftest.err
7047 cat conftest.err
>&5
7048 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
7049 (exit $ac_status); } && {
7050 test -z "$ac_cxx_werror_flag" ||
7051 test ! -s conftest.err
7052 } && test -s conftest
$ac_exeext && {
7053 test "$cross_compiling" = yes ||
7054 $as_test_x conftest
$ac_exeext
7056 eval "$gt_func_gnugettext_libintl=yes"
7058 $as_echo "$as_me: failed program was:" >&5
7059 sed 's/^/| /' conftest.
$ac_ext >&5
7061 eval "$gt_func_gnugettext_libintl=no"
7064 rm -rf conftest.dSYM
7065 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
7066 conftest
$ac_exeext conftest.
$ac_ext
7067 if { eval "gt_val=\$$gt_func_gnugettext_libintl"; test "$gt_val" != yes; } && test -n "$LIBICONV"; then
7068 LIBS
="$LIBS $LIBICONV"
7069 cat >conftest.
$ac_ext <<_ACEOF
7072 cat confdefs.h
>>conftest.
$ac_ext
7073 cat >>conftest.
$ac_ext <<_ACEOF
7074 /* end confdefs.h. */
7075 #include <libintl.h>
7076 $gt_revision_test_code
7077 extern int _nl_msg_cat_cntr;
7082 const char *_nl_expand_alias (const char *);
7086 bindtextdomain ("", "");
7087 return * gettext ("")$gt_expression_test_code + _nl_msg_cat_cntr + *_nl_expand_alias ("")
7092 rm -f conftest.
$ac_objext conftest
$ac_exeext
7093 if { (ac_try
="$ac_link"
7095 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
7096 *) ac_try_echo=$ac_try;;
7098 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
7099 $as_echo "$ac_try_echo") >&5
7100 (eval "$ac_link") 2>conftest.er1
7102 grep -v '^ *+' conftest.er1 >conftest.err
7104 cat conftest.err >&5
7105 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
7106 (exit $ac_status); } && {
7107 test -z "$ac_cxx_werror_flag" ||
7108 test ! -s conftest.err
7109 } && test -s conftest$ac_exeext && {
7110 test "$cross_compiling" = yes ||
7111 $as_test_x conftest$ac_exeext
7113 LIBINTL="$LIBINTL $LIBICONV"
7114 LTLIBINTL="$LTLIBINTL $LTLIBICONV"
7115 eval "$gt_func_gnugettext_libintl=yes"
7118 $as_echo "$as_me: failed program was:" >&5
7119 sed 's/^/| /' conftest.$ac_ext >&5
7124 rm -rf conftest.dSYM
7125 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
7126 conftest$ac_exeext conftest.$ac_ext
7128 CPPFLAGS="$gt_save_CPPFLAGS"
7129 LIBS="$gt_save_LIBS"
7131 ac_res=`eval 'as_val=${'$gt_func_gnugettext_libintl'}
7132 $as_echo "$as_val"'`
7133 { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
7134 $as_echo "$ac_res" >&6; }
7137 if { eval "gt_val=\$$gt_func_gnugettext_libc"; test "$gt_val" = "yes"; } \
7138 || { { eval "gt_val=\$$gt_func_gnugettext_libintl"; test "$gt_val" = "yes"; } \
7139 && test "$PACKAGE" != gettext-runtime \
7140 && test "$PACKAGE" != gettext-tools; }; then
7141 gt_use_preinstalled_gnugettext=yes
7150 if test -n "$INTL_MACOSX_LIBS"; then
7151 if test "$gt_use_preinstalled_gnugettext" = "yes" \
7152 || test "$nls_cv_use_gnu_gettext" = "yes"; then
7153 LIBINTL="$LIBINTL $INTL_MACOSX_LIBS"
7154 LTLIBINTL="$LTLIBINTL $INTL_MACOSX_LIBS"
7158 if test "$gt_use_preinstalled_gnugettext" = "yes" \
7159 || test "$nls_cv_use_gnu_gettext" = "yes"; then
7161 cat >>confdefs.h <<\_ACEOF
7162 #define ENABLE_NLS 1
7170 { $as_echo "$as_me:$LINENO: checking whether to use NLS" >&5
7171 $as_echo_n "checking whether to use NLS... " >&6; }
7172 { $as_echo "$as_me:$LINENO: result: $USE_NLS" >&5
7173 $as_echo "$USE_NLS" >&6; }
7174 if test "$USE_NLS" = "yes"; then
7175 { $as_echo "$as_me:$LINENO: checking where the gettext function comes from" >&5
7176 $as_echo_n "checking where the gettext function comes from... " >&6; }
7177 if test "$gt_use_preinstalled_gnugettext" = "yes"; then
7178 if { eval "gt_val=\$$gt_func_gnugettext_libintl"; test "$gt_val" = "yes"; }; then
7179 gt_source="external libintl"
7184 gt_source="included intl directory"
7186 { $as_echo "$as_me:$LINENO: result: $gt_source" >&5
7187 $as_echo "$gt_source" >&6; }
7190 if test "$USE_NLS" = "yes"; then
7192 if test "$gt_use_preinstalled_gnugettext" = "yes"; then
7193 if { eval "gt_val=\$$gt_func_gnugettext_libintl"; test "$gt_val" = "yes"; }; then
7194 { $as_echo "$as_me:$LINENO: checking how to link with libintl" >&5
7195 $as_echo_n "checking how to link with libintl... " >&6; }
7196 { $as_echo "$as_me:$LINENO: result: $LIBINTL" >&5
7197 $as_echo "$LIBINTL" >&6; }
7199 for element in $INCINTL; do
7201 for x in $CPPFLAGS; do
7203 acl_save_prefix="$prefix"
7204 prefix="$acl_final_prefix"
7205 acl_save_exec_prefix="$exec_prefix"
7206 exec_prefix="$acl_final_exec_prefix"
7208 exec_prefix="$acl_save_exec_prefix"
7209 prefix="$acl_save_prefix"
7211 if test "X$x" = "X$element"; then
7216 if test -z "$haveit"; then
7217 CPPFLAGS="${CPPFLAGS}${CPPFLAGS:+ }$element"
7224 cat >>confdefs.h <<\_ACEOF
7225 #define HAVE_GETTEXT 1
7229 cat >>confdefs.h <<\_ACEOF
7230 #define HAVE_DCGETTEXT 1
7248 ### Check for header files ###
7251 ac_cpp='$CXXCPP $CPPFLAGS'
7252 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
7253 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
7254 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
7255 { $as_echo "$as_me:$LINENO: checking how to run the C++ preprocessor" >&5
7256 $as_echo_n "checking how to run the C++ preprocessor... " >&6; }
7257 if test -z "$CXXCPP"; then
7258 if test "${ac_cv_prog_CXXCPP+set}" = set; then
7259 $as_echo_n "(cached) " >&6
7261 # Double quotes because CXXCPP needs to be expanded
7262 for CXXCPP in "$CXX -E" "/lib/cpp"
7265 for ac_cxx_preproc_warn_flag in '' yes
7267 # Use a header file that comes with gcc, so configuring glibc
7268 # with a fresh cross-compiler works.
7269 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
7270 # <limits.h> exists even on freestanding compilers.
7271 # On the NeXT, cc -E runs the code through the compiler's parser,
7272 # not just through cpp. "Syntax error" is here to catch this case.
7273 cat >conftest.$ac_ext <<_ACEOF
7276 cat confdefs.h >>conftest.$ac_ext
7277 cat >>conftest.$ac_ext <<_ACEOF
7278 /* end confdefs.h. */
7280 # include <limits.h>
7282 # include <assert.h>
7286 if { (ac_try="$ac_cpp conftest.$ac_ext"
7288 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
7289 *) ac_try_echo
=$ac_try;;
7291 eval ac_try_echo
="\"\$as_me:$LINENO: $ac_try_echo\""
7292 $as_echo "$ac_try_echo") >&5
7293 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
7295 grep -v '^ *+' conftest.er1
>conftest.err
7297 cat conftest.err
>&5
7298 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
7299 (exit $ac_status); } >/dev
/null
&& {
7300 test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" ||
7301 test ! -s conftest.err
7305 $as_echo "$as_me: failed program was:" >&5
7306 sed 's/^/| /' conftest.
$ac_ext >&5
7308 # Broken: fails on valid input.
7312 rm -f conftest.err conftest.
$ac_ext
7314 # OK, works on sane cases. Now check whether nonexistent headers
7315 # can be detected and how.
7316 cat >conftest.
$ac_ext <<_ACEOF
7319 cat confdefs.h
>>conftest.
$ac_ext
7320 cat >>conftest.
$ac_ext <<_ACEOF
7321 /* end confdefs.h. */
7322 #include <ac_nonexistent.h>
7324 if { (ac_try
="$ac_cpp conftest.$ac_ext"
7326 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
7327 *) ac_try_echo=$ac_try;;
7329 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
7330 $as_echo "$ac_try_echo") >&5
7331 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
7333 grep -v '^ *+' conftest.er1 >conftest.err
7335 cat conftest.err >&5
7336 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
7337 (exit $ac_status); } >/dev/null && {
7338 test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" ||
7339 test ! -s conftest.err
7341 # Broken: success on invalid input.
7344 $as_echo "$as_me: failed program was:" >&5
7345 sed 's/^/| /' conftest.$ac_ext >&5
7347 # Passes both tests.
7352 rm -f conftest.err conftest.$ac_ext
7355 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
7356 rm -f conftest.err conftest.
$ac_ext
7357 if $ac_preproc_ok; then
7362 ac_cv_prog_CXXCPP
=$CXXCPP
7365 CXXCPP
=$ac_cv_prog_CXXCPP
7367 ac_cv_prog_CXXCPP
=$CXXCPP
7369 { $as_echo "$as_me:$LINENO: result: $CXXCPP" >&5
7370 $as_echo "$CXXCPP" >&6; }
7372 for ac_cxx_preproc_warn_flag
in '' yes
7374 # Use a header file that comes with gcc, so configuring glibc
7375 # with a fresh cross-compiler works.
7376 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
7377 # <limits.h> exists even on freestanding compilers.
7378 # On the NeXT, cc -E runs the code through the compiler's parser,
7379 # not just through cpp. "Syntax error" is here to catch this case.
7380 cat >conftest.
$ac_ext <<_ACEOF
7383 cat confdefs.h
>>conftest.
$ac_ext
7384 cat >>conftest.
$ac_ext <<_ACEOF
7385 /* end confdefs.h. */
7387 # include <limits.h>
7389 # include <assert.h>
7393 if { (ac_try
="$ac_cpp conftest.$ac_ext"
7395 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
7396 *) ac_try_echo=$ac_try;;
7398 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
7399 $as_echo "$ac_try_echo") >&5
7400 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
7402 grep -v '^ *+' conftest.er1 >conftest.err
7404 cat conftest.err >&5
7405 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
7406 (exit $ac_status); } >/dev/null && {
7407 test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" ||
7408 test ! -s conftest.err
7412 $as_echo "$as_me: failed program was:" >&5
7413 sed 's/^/| /' conftest.$ac_ext >&5
7415 # Broken: fails on valid input.
7419 rm -f conftest.err conftest.$ac_ext
7421 # OK, works on sane cases. Now check whether nonexistent headers
7422 # can be detected and how.
7423 cat >conftest.$ac_ext <<_ACEOF
7426 cat confdefs.h >>conftest.$ac_ext
7427 cat >>conftest.$ac_ext <<_ACEOF
7428 /* end confdefs.h. */
7429 #include <ac_nonexistent.h>
7431 if { (ac_try="$ac_cpp conftest.$ac_ext"
7433 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
7434 *) ac_try_echo
=$ac_try;;
7436 eval ac_try_echo
="\"\$as_me:$LINENO: $ac_try_echo\""
7437 $as_echo "$ac_try_echo") >&5
7438 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
7440 grep -v '^ *+' conftest.er1
>conftest.err
7442 cat conftest.err
>&5
7443 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
7444 (exit $ac_status); } >/dev
/null
&& {
7445 test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" ||
7446 test ! -s conftest.err
7448 # Broken: success on invalid input.
7451 $as_echo "$as_me: failed program was:" >&5
7452 sed 's/^/| /' conftest.
$ac_ext >&5
7454 # Passes both tests.
7459 rm -f conftest.err conftest.
$ac_ext
7462 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
7463 rm -f conftest.err conftest.
$ac_ext
7464 if $ac_preproc_ok; then
7467 { { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
7468 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
7469 { { $as_echo "$as_me:$LINENO: error: C++ preprocessor \"$CXXCPP\" fails sanity check
7470 See \`config.log' for more details." >&5
7471 $as_echo "$as_me: error: C++ preprocessor \"$CXXCPP\" fails sanity check
7472 See \`config.log' for more details." >&2;}
7473 { (exit 1); exit 1; }; }; }
7477 ac_cpp
='$CXXCPP $CPPFLAGS'
7478 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
7479 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
7480 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
7483 { $as_echo "$as_me:$LINENO: checking for grep that handles long lines and -e" >&5
7484 $as_echo_n "checking for grep that handles long lines and -e... " >&6; }
7485 if test "${ac_cv_path_GREP+set}" = set; then
7486 $as_echo_n "(cached) " >&6
7488 if test -z "$GREP"; then
7489 ac_path_GREP_found
=false
7490 # Loop through the user's path and test for each of PROGNAME-LIST
7491 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
7492 for as_dir
in $PATH$PATH_SEPARATOR/usr
/xpg
4/bin
7495 test -z "$as_dir" && as_dir
=.
7496 for ac_prog
in grep ggrep
; do
7497 for ac_exec_ext
in '' $ac_executable_extensions; do
7498 ac_path_GREP
="$as_dir/$ac_prog$ac_exec_ext"
7499 { test -f "$ac_path_GREP" && $as_test_x "$ac_path_GREP"; } ||
continue
7500 # Check for GNU ac_path_GREP and select it if it is found.
7501 # Check for GNU $ac_path_GREP
7502 case `"$ac_path_GREP" --version 2>&1` in
7504 ac_cv_path_GREP
="$ac_path_GREP" ac_path_GREP_found
=:;;
7507 $as_echo_n 0123456789 >"conftest.in"
7510 cat "conftest.in" "conftest.in" >"conftest.tmp"
7511 mv "conftest.tmp" "conftest.in"
7512 cp "conftest.in" "conftest.nl"
7513 $as_echo 'GREP' >> "conftest.nl"
7514 "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev
/null ||
break
7515 diff "conftest.out" "conftest.nl" >/dev
/null
2>&1 ||
break
7516 ac_count
=`expr $ac_count + 1`
7517 if test $ac_count -gt ${ac_path_GREP_max-0}; then
7518 # Best one so far, save it but keep looking for a better one
7519 ac_cv_path_GREP
="$ac_path_GREP"
7520 ac_path_GREP_max
=$ac_count
7522 # 10*(2^10) chars as input seems more than enough
7523 test $ac_count -gt 10 && break
7525 rm -f conftest.
in conftest.tmp conftest.
nl conftest.out
;;
7528 $ac_path_GREP_found && break 3
7533 if test -z "$ac_cv_path_GREP"; then
7534 { { $as_echo "$as_me:$LINENO: error: no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&5
7535 $as_echo "$as_me: error: no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&2;}
7536 { (exit 1); exit 1; }; }
7539 ac_cv_path_GREP
=$GREP
7543 { $as_echo "$as_me:$LINENO: result: $ac_cv_path_GREP" >&5
7544 $as_echo "$ac_cv_path_GREP" >&6; }
7545 GREP
="$ac_cv_path_GREP"
7548 { $as_echo "$as_me:$LINENO: checking for egrep" >&5
7549 $as_echo_n "checking for egrep... " >&6; }
7550 if test "${ac_cv_path_EGREP+set}" = set; then
7551 $as_echo_n "(cached) " >&6
7553 if echo a |
$GREP -E '(a|b)' >/dev
/null
2>&1
7554 then ac_cv_path_EGREP
="$GREP -E"
7556 if test -z "$EGREP"; then
7557 ac_path_EGREP_found
=false
7558 # Loop through the user's path and test for each of PROGNAME-LIST
7559 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
7560 for as_dir
in $PATH$PATH_SEPARATOR/usr
/xpg
4/bin
7563 test -z "$as_dir" && as_dir
=.
7564 for ac_prog
in egrep; do
7565 for ac_exec_ext
in '' $ac_executable_extensions; do
7566 ac_path_EGREP
="$as_dir/$ac_prog$ac_exec_ext"
7567 { test -f "$ac_path_EGREP" && $as_test_x "$ac_path_EGREP"; } ||
continue
7568 # Check for GNU ac_path_EGREP and select it if it is found.
7569 # Check for GNU $ac_path_EGREP
7570 case `"$ac_path_EGREP" --version 2>&1` in
7572 ac_cv_path_EGREP
="$ac_path_EGREP" ac_path_EGREP_found
=:;;
7575 $as_echo_n 0123456789 >"conftest.in"
7578 cat "conftest.in" "conftest.in" >"conftest.tmp"
7579 mv "conftest.tmp" "conftest.in"
7580 cp "conftest.in" "conftest.nl"
7581 $as_echo 'EGREP' >> "conftest.nl"
7582 "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev
/null ||
break
7583 diff "conftest.out" "conftest.nl" >/dev
/null
2>&1 ||
break
7584 ac_count
=`expr $ac_count + 1`
7585 if test $ac_count -gt ${ac_path_EGREP_max-0}; then
7586 # Best one so far, save it but keep looking for a better one
7587 ac_cv_path_EGREP
="$ac_path_EGREP"
7588 ac_path_EGREP_max
=$ac_count
7590 # 10*(2^10) chars as input seems more than enough
7591 test $ac_count -gt 10 && break
7593 rm -f conftest.
in conftest.tmp conftest.
nl conftest.out
;;
7596 $ac_path_EGREP_found && break 3
7601 if test -z "$ac_cv_path_EGREP"; then
7602 { { $as_echo "$as_me:$LINENO: error: no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&5
7603 $as_echo "$as_me: error: no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&2;}
7604 { (exit 1); exit 1; }; }
7607 ac_cv_path_EGREP
=$EGREP
7612 { $as_echo "$as_me:$LINENO: result: $ac_cv_path_EGREP" >&5
7613 $as_echo "$ac_cv_path_EGREP" >&6; }
7614 EGREP
="$ac_cv_path_EGREP"
7617 { $as_echo "$as_me:$LINENO: checking for ANSI C header files" >&5
7618 $as_echo_n "checking for ANSI C header files... " >&6; }
7619 if test "${ac_cv_header_stdc+set}" = set; then
7620 $as_echo_n "(cached) " >&6
7622 cat >conftest.
$ac_ext <<_ACEOF
7625 cat confdefs.h
>>conftest.
$ac_ext
7626 cat >>conftest.
$ac_ext <<_ACEOF
7627 /* end confdefs.h. */
7641 rm -f conftest.
$ac_objext
7642 if { (ac_try
="$ac_compile"
7644 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
7645 *) ac_try_echo=$ac_try;;
7647 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
7648 $as_echo "$ac_try_echo") >&5
7649 (eval "$ac_compile") 2>conftest.er1
7651 grep -v '^ *+' conftest.er1 >conftest.err
7653 cat conftest.err >&5
7654 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
7655 (exit $ac_status); } && {
7656 test -z "$ac_cxx_werror_flag" ||
7657 test ! -s conftest.err
7658 } && test -s conftest.$ac_objext; then
7659 ac_cv_header_stdc=yes
7661 $as_echo "$as_me: failed program was:" >&5
7662 sed 's/^/| /' conftest.$ac_ext >&5
7664 ac_cv_header_stdc=no
7667 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
7669 if test $ac_cv_header_stdc = yes; then
7670 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
7671 cat >conftest.$ac_ext <<_ACEOF
7674 cat confdefs.h >>conftest.$ac_ext
7675 cat >>conftest.$ac_ext <<_ACEOF
7676 /* end confdefs.h. */
7680 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
7681 $EGREP "memchr" >/dev/null 2>&1; then
7684 ac_cv_header_stdc=no
7690 if test $ac_cv_header_stdc = yes; then
7691 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
7692 cat >conftest.$ac_ext <<_ACEOF
7695 cat confdefs.h >>conftest.$ac_ext
7696 cat >>conftest.$ac_ext <<_ACEOF
7697 /* end confdefs.h. */
7701 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
7702 $EGREP "free" >/dev/null 2>&1; then
7705 ac_cv_header_stdc=no
7711 if test $ac_cv_header_stdc = yes; then
7712 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
7713 if test "$cross_compiling" = yes; then
7716 cat >conftest.$ac_ext <<_ACEOF
7719 cat confdefs.h >>conftest.$ac_ext
7720 cat >>conftest.$ac_ext <<_ACEOF
7721 /* end confdefs.h. */
7724 #if ((' ' & 0x0FF) == 0x020)
7725 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
7726 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
7728 # define ISLOWER(c) \
7729 (('a' <= (c) && (c) <= 'i') \
7730 || ('j' <= (c) && (c) <= 'r') \
7731 || ('s' <= (c) && (c) <= 'z'))
7732 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
7735 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
7740 for (i = 0; i < 256; i++)
7741 if (XOR (islower (i), ISLOWER (i))
7742 || toupper (i) != TOUPPER (i))
7747 rm -f conftest$ac_exeext
7748 if { (ac_try="$ac_link"
7750 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
7751 *) ac_try_echo
=$ac_try;;
7753 eval ac_try_echo
="\"\$as_me:$LINENO: $ac_try_echo\""
7754 $as_echo "$ac_try_echo") >&5
7755 (eval "$ac_link") 2>&5
7757 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
7758 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
7759 { (case "(($ac_try" in
7760 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
7761 *) ac_try_echo=$ac_try;;
7763 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
7764 $as_echo "$ac_try_echo") >&5
7765 (eval "$ac_try") 2>&5
7767 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
7768 (exit $ac_status); }; }; then
7771 $as_echo "$as_me: program exited with status $ac_status" >&5
7772 $as_echo "$as_me: failed program was:" >&5
7773 sed 's/^/| /' conftest.$ac_ext >&5
7776 ac_cv_header_stdc=no
7778 rm -rf conftest.dSYM
7779 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
7785 { $as_echo "$as_me:$LINENO: result: $ac_cv_header_stdc" >&5
7786 $as_echo "$ac_cv_header_stdc" >&6; }
7787 if test $ac_cv_header_stdc = yes; then
7789 cat >>confdefs.h <<\_ACEOF
7790 #define STDC_HEADERS 1
7795 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
7805 for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
7806 inttypes.h stdint.h unistd.h
7808 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" |
$as_tr_sh`
7809 { $as_echo "$as_me:$LINENO: checking for $ac_header" >&5
7810 $as_echo_n "checking for $ac_header... " >&6; }
7811 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
7812 $as_echo_n "(cached) " >&6
7814 cat >conftest.$ac_ext <<_ACEOF
7817 cat confdefs.h >>conftest.$ac_ext
7818 cat >>conftest.$ac_ext <<_ACEOF
7819 /* end confdefs.h. */
7820 $ac_includes_default
7822 #include <$ac_header>
7824 rm -f conftest.$ac_objext
7825 if { (ac_try="$ac_compile"
7827 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
7828 *) ac_try_echo
=$ac_try;;
7830 eval ac_try_echo
="\"\$as_me:$LINENO: $ac_try_echo\""
7831 $as_echo "$ac_try_echo") >&5
7832 (eval "$ac_compile") 2>conftest.er1
7834 grep -v '^ *+' conftest.er1
>conftest.err
7836 cat conftest.err
>&5
7837 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
7838 (exit $ac_status); } && {
7839 test -z "$ac_cxx_werror_flag" ||
7840 test ! -s conftest.err
7841 } && test -s conftest.
$ac_objext; then
7842 eval "$as_ac_Header=yes"
7844 $as_echo "$as_me: failed program was:" >&5
7845 sed 's/^/| /' conftest.
$ac_ext >&5
7847 eval "$as_ac_Header=no"
7850 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
7852 ac_res
=`eval 'as_val=${'$as_ac_Header'}
7853 $as_echo "$as_val"'`
7854 { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
7855 $as_echo "$ac_res" >&6; }
7856 as_val
=`eval 'as_val=${'$as_ac_Header'}
7857 $as_echo "$as_val"'`
7858 if test "x$as_val" = x
""yes; then
7859 cat >>confdefs.h
<<_ACEOF
7860 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
7869 for ac_header
in SDL.h
7871 as_ac_Header
=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
7872 if { as_var
=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
7873 { $as_echo "$as_me:$LINENO: checking for $ac_header" >&5
7874 $as_echo_n "checking for $ac_header... " >&6; }
7875 if { as_var
=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
7876 $as_echo_n "(cached) " >&6
7878 ac_res
=`eval 'as_val=${'$as_ac_Header'}
7879 $as_echo "$as_val"'`
7880 { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
7881 $as_echo "$ac_res" >&6; }
7883 # Is the header compilable?
7884 { $as_echo "$as_me:$LINENO: checking $ac_header usability" >&5
7885 $as_echo_n "checking $ac_header usability... " >&6; }
7886 cat >conftest.
$ac_ext <<_ACEOF
7889 cat confdefs.h
>>conftest.
$ac_ext
7890 cat >>conftest.
$ac_ext <<_ACEOF
7891 /* end confdefs.h. */
7892 $ac_includes_default
7893 #include <$ac_header>
7895 rm -f conftest.
$ac_objext
7896 if { (ac_try
="$ac_compile"
7898 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
7899 *) ac_try_echo=$ac_try;;
7901 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
7902 $as_echo "$ac_try_echo") >&5
7903 (eval "$ac_compile") 2>conftest.er1
7905 grep -v '^ *+' conftest.er1 >conftest.err
7907 cat conftest.err >&5
7908 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
7909 (exit $ac_status); } && {
7910 test -z "$ac_cxx_werror_flag" ||
7911 test ! -s conftest.err
7912 } && test -s conftest.$ac_objext; then
7913 ac_header_compiler=yes
7915 $as_echo "$as_me: failed program was:" >&5
7916 sed 's/^/| /' conftest.$ac_ext >&5
7918 ac_header_compiler=no
7921 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
7922 { $as_echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
7923 $as_echo "$ac_header_compiler" >&6; }
7925 # Is the header present?
7926 { $as_echo "$as_me:$LINENO: checking $ac_header presence" >&5
7927 $as_echo_n "checking $ac_header presence... " >&6; }
7928 cat >conftest.$ac_ext <<_ACEOF
7931 cat confdefs.h >>conftest.$ac_ext
7932 cat >>conftest.$ac_ext <<_ACEOF
7933 /* end confdefs.h. */
7934 #include <$ac_header>
7936 if { (ac_try="$ac_cpp conftest.$ac_ext"
7938 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
7939 *) ac_try_echo
=$ac_try;;
7941 eval ac_try_echo
="\"\$as_me:$LINENO: $ac_try_echo\""
7942 $as_echo "$ac_try_echo") >&5
7943 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
7945 grep -v '^ *+' conftest.er1
>conftest.err
7947 cat conftest.err
>&5
7948 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
7949 (exit $ac_status); } >/dev
/null
&& {
7950 test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" ||
7951 test ! -s conftest.err
7953 ac_header_preproc
=yes
7955 $as_echo "$as_me: failed program was:" >&5
7956 sed 's/^/| /' conftest.
$ac_ext >&5
7958 ac_header_preproc
=no
7961 rm -f conftest.err conftest.
$ac_ext
7962 { $as_echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
7963 $as_echo "$ac_header_preproc" >&6; }
7965 # So? What about this header?
7966 case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in
7968 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
7969 $as_echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
7970 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
7971 $as_echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
7972 ac_header_preproc
=yes
7975 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
7976 $as_echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
7977 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
7978 $as_echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
7979 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
7980 $as_echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
7981 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
7982 $as_echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
7983 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
7984 $as_echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
7985 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
7986 $as_echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
7990 { $as_echo "$as_me:$LINENO: checking for $ac_header" >&5
7991 $as_echo_n "checking for $ac_header... " >&6; }
7992 if { as_var
=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
7993 $as_echo_n "(cached) " >&6
7995 eval "$as_ac_Header=\$ac_header_preproc"
7997 ac_res
=`eval 'as_val=${'$as_ac_Header'}
7998 $as_echo "$as_val"'`
7999 { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
8000 $as_echo "$ac_res" >&6; }
8003 as_val
=`eval 'as_val=${'$as_ac_Header'}
8004 $as_echo "$as_val"'`
8005 if test "x$as_val" = x
""yes; then
8006 cat >>confdefs.h
<<_ACEOF
8007 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
8011 { { $as_echo "$as_me:$LINENO: error: SDL include files not found. The SDL development package is needed." >&5
8012 $as_echo "$as_me: error: SDL include files not found. The SDL development package is needed." >&2;}
8013 { (exit 1); exit 1; }; }
8020 for ac_header
in SDL_image.h
8022 as_ac_Header
=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
8023 if { as_var
=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
8024 { $as_echo "$as_me:$LINENO: checking for $ac_header" >&5
8025 $as_echo_n "checking for $ac_header... " >&6; }
8026 if { as_var
=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
8027 $as_echo_n "(cached) " >&6
8029 ac_res
=`eval 'as_val=${'$as_ac_Header'}
8030 $as_echo "$as_val"'`
8031 { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
8032 $as_echo "$ac_res" >&6; }
8034 # Is the header compilable?
8035 { $as_echo "$as_me:$LINENO: checking $ac_header usability" >&5
8036 $as_echo_n "checking $ac_header usability... " >&6; }
8037 cat >conftest.
$ac_ext <<_ACEOF
8040 cat confdefs.h
>>conftest.
$ac_ext
8041 cat >>conftest.
$ac_ext <<_ACEOF
8042 /* end confdefs.h. */
8043 $ac_includes_default
8044 #include <$ac_header>
8046 rm -f conftest.
$ac_objext
8047 if { (ac_try
="$ac_compile"
8049 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
8050 *) ac_try_echo=$ac_try;;
8052 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
8053 $as_echo "$ac_try_echo") >&5
8054 (eval "$ac_compile") 2>conftest.er1
8056 grep -v '^ *+' conftest.er1 >conftest.err
8058 cat conftest.err >&5
8059 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
8060 (exit $ac_status); } && {
8061 test -z "$ac_cxx_werror_flag" ||
8062 test ! -s conftest.err
8063 } && test -s conftest.$ac_objext; then
8064 ac_header_compiler=yes
8066 $as_echo "$as_me: failed program was:" >&5
8067 sed 's/^/| /' conftest.$ac_ext >&5
8069 ac_header_compiler=no
8072 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
8073 { $as_echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
8074 $as_echo "$ac_header_compiler" >&6; }
8076 # Is the header present?
8077 { $as_echo "$as_me:$LINENO: checking $ac_header presence" >&5
8078 $as_echo_n "checking $ac_header presence... " >&6; }
8079 cat >conftest.$ac_ext <<_ACEOF
8082 cat confdefs.h >>conftest.$ac_ext
8083 cat >>conftest.$ac_ext <<_ACEOF
8084 /* end confdefs.h. */
8085 #include <$ac_header>
8087 if { (ac_try="$ac_cpp conftest.$ac_ext"
8089 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
8090 *) ac_try_echo
=$ac_try;;
8092 eval ac_try_echo
="\"\$as_me:$LINENO: $ac_try_echo\""
8093 $as_echo "$ac_try_echo") >&5
8094 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
8096 grep -v '^ *+' conftest.er1
>conftest.err
8098 cat conftest.err
>&5
8099 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
8100 (exit $ac_status); } >/dev
/null
&& {
8101 test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" ||
8102 test ! -s conftest.err
8104 ac_header_preproc
=yes
8106 $as_echo "$as_me: failed program was:" >&5
8107 sed 's/^/| /' conftest.
$ac_ext >&5
8109 ac_header_preproc
=no
8112 rm -f conftest.err conftest.
$ac_ext
8113 { $as_echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
8114 $as_echo "$ac_header_preproc" >&6; }
8116 # So? What about this header?
8117 case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in
8119 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
8120 $as_echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
8121 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
8122 $as_echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
8123 ac_header_preproc
=yes
8126 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
8127 $as_echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
8128 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
8129 $as_echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
8130 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
8131 $as_echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
8132 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
8133 $as_echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
8134 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
8135 $as_echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
8136 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
8137 $as_echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
8141 { $as_echo "$as_me:$LINENO: checking for $ac_header" >&5
8142 $as_echo_n "checking for $ac_header... " >&6; }
8143 if { as_var
=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
8144 $as_echo_n "(cached) " >&6
8146 eval "$as_ac_Header=\$ac_header_preproc"
8148 ac_res
=`eval 'as_val=${'$as_ac_Header'}
8149 $as_echo "$as_val"'`
8150 { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
8151 $as_echo "$ac_res" >&6; }
8154 as_val
=`eval 'as_val=${'$as_ac_Header'}
8155 $as_echo "$as_val"'`
8156 if test "x$as_val" = x
""yes; then
8157 cat >>confdefs.h
<<_ACEOF
8158 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
8162 { { $as_echo "$as_me:$LINENO: error: SDL_image include files not found. The SDL_image development package is needed." >&5
8163 $as_echo "$as_me: error: SDL_image include files not found. The SDL_image development package is needed." >&2;}
8164 { (exit 1); exit 1; }; }
8171 for ac_header
in SDL_mixer.h
8173 as_ac_Header
=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
8174 if { as_var
=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
8175 { $as_echo "$as_me:$LINENO: checking for $ac_header" >&5
8176 $as_echo_n "checking for $ac_header... " >&6; }
8177 if { as_var
=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
8178 $as_echo_n "(cached) " >&6
8180 ac_res
=`eval 'as_val=${'$as_ac_Header'}
8181 $as_echo "$as_val"'`
8182 { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
8183 $as_echo "$ac_res" >&6; }
8185 # Is the header compilable?
8186 { $as_echo "$as_me:$LINENO: checking $ac_header usability" >&5
8187 $as_echo_n "checking $ac_header usability... " >&6; }
8188 cat >conftest.
$ac_ext <<_ACEOF
8191 cat confdefs.h
>>conftest.
$ac_ext
8192 cat >>conftest.
$ac_ext <<_ACEOF
8193 /* end confdefs.h. */
8194 $ac_includes_default
8195 #include <$ac_header>
8197 rm -f conftest.
$ac_objext
8198 if { (ac_try
="$ac_compile"
8200 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
8201 *) ac_try_echo=$ac_try;;
8203 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
8204 $as_echo "$ac_try_echo") >&5
8205 (eval "$ac_compile") 2>conftest.er1
8207 grep -v '^ *+' conftest.er1 >conftest.err
8209 cat conftest.err >&5
8210 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
8211 (exit $ac_status); } && {
8212 test -z "$ac_cxx_werror_flag" ||
8213 test ! -s conftest.err
8214 } && test -s conftest.$ac_objext; then
8215 ac_header_compiler=yes
8217 $as_echo "$as_me: failed program was:" >&5
8218 sed 's/^/| /' conftest.$ac_ext >&5
8220 ac_header_compiler=no
8223 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
8224 { $as_echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
8225 $as_echo "$ac_header_compiler" >&6; }
8227 # Is the header present?
8228 { $as_echo "$as_me:$LINENO: checking $ac_header presence" >&5
8229 $as_echo_n "checking $ac_header presence... " >&6; }
8230 cat >conftest.$ac_ext <<_ACEOF
8233 cat confdefs.h >>conftest.$ac_ext
8234 cat >>conftest.$ac_ext <<_ACEOF
8235 /* end confdefs.h. */
8236 #include <$ac_header>
8238 if { (ac_try="$ac_cpp conftest.$ac_ext"
8240 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
8241 *) ac_try_echo
=$ac_try;;
8243 eval ac_try_echo
="\"\$as_me:$LINENO: $ac_try_echo\""
8244 $as_echo "$ac_try_echo") >&5
8245 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
8247 grep -v '^ *+' conftest.er1
>conftest.err
8249 cat conftest.err
>&5
8250 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
8251 (exit $ac_status); } >/dev
/null
&& {
8252 test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" ||
8253 test ! -s conftest.err
8255 ac_header_preproc
=yes
8257 $as_echo "$as_me: failed program was:" >&5
8258 sed 's/^/| /' conftest.
$ac_ext >&5
8260 ac_header_preproc
=no
8263 rm -f conftest.err conftest.
$ac_ext
8264 { $as_echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
8265 $as_echo "$ac_header_preproc" >&6; }
8267 # So? What about this header?
8268 case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in
8270 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
8271 $as_echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
8272 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
8273 $as_echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
8274 ac_header_preproc
=yes
8277 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
8278 $as_echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
8279 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
8280 $as_echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
8281 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
8282 $as_echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
8283 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
8284 $as_echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
8285 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
8286 $as_echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
8287 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
8288 $as_echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
8292 { $as_echo "$as_me:$LINENO: checking for $ac_header" >&5
8293 $as_echo_n "checking for $ac_header... " >&6; }
8294 if { as_var
=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
8295 $as_echo_n "(cached) " >&6
8297 eval "$as_ac_Header=\$ac_header_preproc"
8299 ac_res
=`eval 'as_val=${'$as_ac_Header'}
8300 $as_echo "$as_val"'`
8301 { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
8302 $as_echo "$ac_res" >&6; }
8305 as_val
=`eval 'as_val=${'$as_ac_Header'}
8306 $as_echo "$as_val"'`
8307 if test "x$as_val" = x
""yes; then
8308 cat >>confdefs.h
<<_ACEOF
8309 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
8313 { { $as_echo "$as_me:$LINENO: error: SDL_mixer include files not found. The SDL_mixer development package is needed." >&5
8314 $as_echo "$as_me: error: SDL_mixer include files not found. The SDL_mixer development package is needed." >&2;}
8315 { (exit 1); exit 1; }; }
8322 for ac_header
in SDL_ttf.h
8324 as_ac_Header
=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
8325 if { as_var
=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
8326 { $as_echo "$as_me:$LINENO: checking for $ac_header" >&5
8327 $as_echo_n "checking for $ac_header... " >&6; }
8328 if { as_var
=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
8329 $as_echo_n "(cached) " >&6
8331 ac_res
=`eval 'as_val=${'$as_ac_Header'}
8332 $as_echo "$as_val"'`
8333 { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
8334 $as_echo "$ac_res" >&6; }
8336 # Is the header compilable?
8337 { $as_echo "$as_me:$LINENO: checking $ac_header usability" >&5
8338 $as_echo_n "checking $ac_header usability... " >&6; }
8339 cat >conftest.
$ac_ext <<_ACEOF
8342 cat confdefs.h
>>conftest.
$ac_ext
8343 cat >>conftest.
$ac_ext <<_ACEOF
8344 /* end confdefs.h. */
8345 $ac_includes_default
8346 #include <$ac_header>
8348 rm -f conftest.
$ac_objext
8349 if { (ac_try
="$ac_compile"
8351 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
8352 *) ac_try_echo=$ac_try;;
8354 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
8355 $as_echo "$ac_try_echo") >&5
8356 (eval "$ac_compile") 2>conftest.er1
8358 grep -v '^ *+' conftest.er1 >conftest.err
8360 cat conftest.err >&5
8361 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
8362 (exit $ac_status); } && {
8363 test -z "$ac_cxx_werror_flag" ||
8364 test ! -s conftest.err
8365 } && test -s conftest.$ac_objext; then
8366 ac_header_compiler=yes
8368 $as_echo "$as_me: failed program was:" >&5
8369 sed 's/^/| /' conftest.$ac_ext >&5
8371 ac_header_compiler=no
8374 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
8375 { $as_echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
8376 $as_echo "$ac_header_compiler" >&6; }
8378 # Is the header present?
8379 { $as_echo "$as_me:$LINENO: checking $ac_header presence" >&5
8380 $as_echo_n "checking $ac_header presence... " >&6; }
8381 cat >conftest.$ac_ext <<_ACEOF
8384 cat confdefs.h >>conftest.$ac_ext
8385 cat >>conftest.$ac_ext <<_ACEOF
8386 /* end confdefs.h. */
8387 #include <$ac_header>
8389 if { (ac_try="$ac_cpp conftest.$ac_ext"
8391 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
8392 *) ac_try_echo
=$ac_try;;
8394 eval ac_try_echo
="\"\$as_me:$LINENO: $ac_try_echo\""
8395 $as_echo "$ac_try_echo") >&5
8396 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
8398 grep -v '^ *+' conftest.er1
>conftest.err
8400 cat conftest.err
>&5
8401 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
8402 (exit $ac_status); } >/dev
/null
&& {
8403 test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" ||
8404 test ! -s conftest.err
8406 ac_header_preproc
=yes
8408 $as_echo "$as_me: failed program was:" >&5
8409 sed 's/^/| /' conftest.
$ac_ext >&5
8411 ac_header_preproc
=no
8414 rm -f conftest.err conftest.
$ac_ext
8415 { $as_echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
8416 $as_echo "$ac_header_preproc" >&6; }
8418 # So? What about this header?
8419 case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in
8421 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
8422 $as_echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
8423 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
8424 $as_echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
8425 ac_header_preproc
=yes
8428 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
8429 $as_echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
8430 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
8431 $as_echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
8432 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
8433 $as_echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
8434 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
8435 $as_echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
8436 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
8437 $as_echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
8438 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
8439 $as_echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
8443 { $as_echo "$as_me:$LINENO: checking for $ac_header" >&5
8444 $as_echo_n "checking for $ac_header... " >&6; }
8445 if { as_var
=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
8446 $as_echo_n "(cached) " >&6
8448 eval "$as_ac_Header=\$ac_header_preproc"
8450 ac_res
=`eval 'as_val=${'$as_ac_Header'}
8451 $as_echo "$as_val"'`
8452 { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
8453 $as_echo "$ac_res" >&6; }
8456 as_val
=`eval 'as_val=${'$as_ac_Header'}
8457 $as_echo "$as_val"'`
8458 if test "x$as_val" = x
""yes; then
8459 cat >>confdefs.h
<<_ACEOF
8460 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
8464 { { $as_echo "$as_me:$LINENO: error: SDL_ttf include files not found. The SDL_ttf development package is needed." >&5
8465 $as_echo "$as_me: error: SDL_ttf include files not found. The SDL_ttf development package is needed." >&2;}
8466 { (exit 1); exit 1; }; }
8472 ### Option to enable debug build ###
8473 # Check whether --enable-debug was given.
8474 if test "${enable_debug+set}" = set; then
8475 enableval
=$enable_debug; CPPFLAGS
="$CPPFLAGS -D_DEBUG=1"
8479 ### Allow running in-place for development ###
8480 # Check whether --enable-runinplace was given.
8481 if test "${enable_runinplace+set}" = set; then
8482 enableval
=$enable_runinplace; runinplace
=yes
8485 if test "$runinplace" = yes; then
8487 RUNINPLACE_FALSE
='#'
8494 ### Create files ###
8496 ac_config_files
="$ac_config_files Makefile src/Makefile data/Makefile"
8498 cat >confcache
<<\_ACEOF
8499 # This file is a shell script that caches the results of configure
8500 # tests run on this system so they can be shared between configure
8501 # scripts and configure runs, see configure's option --config-cache.
8502 # It is not useful on other systems. If it contains results you don't
8503 # want to keep, you may remove or edit it.
8505 # config.status only pays attention to the cache file if you give it
8506 # the --recheck option to rerun configure.
8508 # `ac_cv_env_foo' variables (set or unset) will be overridden when
8509 # loading this file, other *unset* `ac_cv_foo' will be assigned the
8514 # The following way of writing the cache mishandles newlines in values,
8515 # but we know of no workaround that is simple, portable, and efficient.
8516 # So, we kill variables containing newlines.
8517 # Ultrix sh set writes to stderr and can't be redirected directly,
8518 # and sets the high bit in the cache file unless we assign to the vars.
8520 for ac_var
in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
8521 eval ac_val
=\$
$ac_var
8525 *_cv_
*) { $as_echo "$as_me:$LINENO: WARNING: cache variable $ac_var contains a newline" >&5
8526 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
8529 _ | IFS | as_nl
) ;; #(
8530 BASH_ARGV | BASH_SOURCE
) eval $ac_var= ;; #(
8531 *) $as_unset $ac_var ;;
8537 case $as_nl`(ac_space=' '; set) 2>&1` in #(
8538 *${as_nl}ac_space
=\
*)
8539 # `set' does not quote correctly, so add quotes (double-quote
8540 # substitution turns \\\\ into \\, and sed turns \\ into \).
8543 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
8546 # `set' quotes correctly as required by POSIX, so do not add quotes.
8547 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
8556 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
8558 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
8560 if diff "$cache_file" confcache
>/dev
/null
2>&1; then :; else
8561 if test -w "$cache_file"; then
8562 test "x$cache_file" != "x/dev/null" &&
8563 { $as_echo "$as_me:$LINENO: updating cache $cache_file" >&5
8564 $as_echo "$as_me: updating cache $cache_file" >&6;}
8565 cat confcache
>$cache_file
8567 { $as_echo "$as_me:$LINENO: not updating unwritable cache $cache_file" >&5
8568 $as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
8573 test "x$prefix" = xNONE
&& prefix
=$ac_default_prefix
8574 # Let make expand exec_prefix.
8575 test "x$exec_prefix" = xNONE
&& exec_prefix
='${prefix}'
8577 DEFS
=-DHAVE_CONFIG_H
8581 for ac_i
in : $LIBOBJS; do test "x$ac_i" = x
: && continue
8582 # 1. Remove the extension, and $U if already installed.
8583 ac_script
='s/\$U\././;s/\.o$//;s/\.obj$//'
8584 ac_i
=`$as_echo "$ac_i" | sed "$ac_script"`
8585 # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR
8586 # will be set to the directory where LIBOBJS objects are built.
8587 ac_libobjs
="$ac_libobjs \${LIBOBJDIR}$ac_i\$U.$ac_objext"
8588 ac_ltlibobjs
="$ac_ltlibobjs \${LIBOBJDIR}$ac_i"'$U.lo'
8592 LTLIBOBJS
=$ac_ltlibobjs
8595 if test -n "$EXEEXT"; then
8597 am__EXEEXT_FALSE
='#'
8603 if test -z "${AMDEP_TRUE}" && test -z "${AMDEP_FALSE}"; then
8604 { { $as_echo "$as_me:$LINENO: error: conditional \"AMDEP\" was never defined.
8605 Usually this means the macro was only invoked conditionally." >&5
8606 $as_echo "$as_me: error: conditional \"AMDEP\" was never defined.
8607 Usually this means the macro was only invoked conditionally." >&2;}
8608 { (exit 1); exit 1; }; }
8610 if test -z "${am__fastdepCXX_TRUE}" && test -z "${am__fastdepCXX_FALSE}"; then
8611 { { $as_echo "$as_me:$LINENO: error: conditional \"am__fastdepCXX\" was never defined.
8612 Usually this means the macro was only invoked conditionally." >&5
8613 $as_echo "$as_me: error: conditional \"am__fastdepCXX\" was never defined.
8614 Usually this means the macro was only invoked conditionally." >&2;}
8615 { (exit 1); exit 1; }; }
8617 if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
8618 { { $as_echo "$as_me:$LINENO: error: conditional \"am__fastdepCC\" was never defined.
8619 Usually this means the macro was only invoked conditionally." >&5
8620 $as_echo "$as_me: error: conditional \"am__fastdepCC\" was never defined.
8621 Usually this means the macro was only invoked conditionally." >&2;}
8622 { (exit 1); exit 1; }; }
8624 if test -z "${RUNINPLACE_TRUE}" && test -z "${RUNINPLACE_FALSE}"; then
8625 { { $as_echo "$as_me:$LINENO: error: conditional \"RUNINPLACE\" was never defined.
8626 Usually this means the macro was only invoked conditionally." >&5
8627 $as_echo "$as_me: error: conditional \"RUNINPLACE\" was never defined.
8628 Usually this means the macro was only invoked conditionally." >&2;}
8629 { (exit 1); exit 1; }; }
8632 : ${CONFIG_STATUS=./config.status}
8634 ac_clean_files_save
=$ac_clean_files
8635 ac_clean_files
="$ac_clean_files $CONFIG_STATUS"
8636 { $as_echo "$as_me:$LINENO: creating $CONFIG_STATUS" >&5
8637 $as_echo "$as_me: creating $CONFIG_STATUS" >&6;}
8638 cat >$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
8640 # Generated by $as_me.
8641 # Run this file to recreate the current configuration.
8642 # Compiler output produced by configure, useful for debugging
8643 # configure, is in config.log if it exists.
8648 SHELL=\${CONFIG_SHELL-$SHELL}
8651 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
8652 ## --------------------- ##
8653 ## M4sh Initialization. ##
8654 ## --------------------- ##
8656 # Be more Bourne compatible
8657 DUALCASE
=1; export DUALCASE
# for MKS sh
8658 if test -n "${ZSH_VERSION+set}" && (emulate sh
) >/dev
/null
2>&1; then
8661 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
8662 # is contrary to our usage. Disable this feature.
8663 alias -g '${1+"$@"}'='"$@"'
8664 setopt NO_GLOB_SUBST
8666 case `(set -o) 2>/dev/null` in
8667 *posix
*) set -o posix
;;
8676 # Avoid depending upon Character Ranges.
8677 as_cr_letters
='abcdefghijklmnopqrstuvwxyz'
8678 as_cr_LETTERS
='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
8679 as_cr_Letters
=$as_cr_letters$as_cr_LETTERS
8680 as_cr_digits
='0123456789'
8681 as_cr_alnum
=$as_cr_Letters$as_cr_digits
8686 # Printing a long string crashes Solaris 7 /usr/bin/printf.
8687 as_echo
='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
8688 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
8689 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
8690 if (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
8691 as_echo='printf %s
\n'
8692 as_echo_n='printf %s
'
8694 if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
8695 as_echo_body='eval /usr
/ucb
/echo -n "$1$as_nl"'
8696 as_echo_n='/usr
/ucb
/echo -n'
8698 as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
8699 as_echo_n_body='eval
8703 expr "X$arg" : "X\\(.*\\)$as_nl";
8704 arg
=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
8706 expr "X$arg" : "X\\(.*\\)" |
tr -d "$as_nl"
8708 export as_echo_n_body
8709 as_echo_n='sh
-c $as_echo_n_body as_echo
'
8712 as_echo='sh
-c $as_echo_body as_echo
'
8715 # The user is always right.
8716 if test "${PATH_SEPARATOR+set}" != set; then
8718 (PATH='/bin
;/bin
'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
8719 (PATH='/bin
:/bin
'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
8724 # Support unset when possible.
8725 if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
8733 # We need space, tab and new line, in precisely that order. Quoting is
8734 # there to prevent editors from complaining about space-tab.
8735 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
8736 # splitting by setting IFS to empty value.)
8739 # Find who we are. Look in the path if we contain no directory separator.
8741 *[\\/]* ) as_myself=$0 ;;
8742 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8746 test -z "$as_dir" && as_dir=.
8747 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
8753 # We did not find ourselves, most probably we were run as `sh COMMAND'
8754 # in which case we are not to be found in the path.
8755 if test "x$as_myself" = x
; then
8758 if test ! -f "$as_myself"; then
8759 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
8760 { (exit 1); exit 1; }
8763 # Work around bugs in pre-3.0 UWIN ksh.
8764 for as_var
in ENV MAIL MAILPATH
8765 do ($as_unset $as_var) >/dev
/null
2>&1 && $as_unset $as_var
8777 # Required to use basename.
8778 if expr a
: '\(a\)' >/dev
/null
2>&1 &&
8779 test "X`expr 00001 : '.*\(...\)'`" = X001
; then
8785 if (basename -- /) >/dev
/null
2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
8786 as_basename
=basename
8792 # Name of the executable.
8793 as_me
=`$as_basename -- "$0" ||
8794 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
8795 X"$0" : 'X\(//\)$' \| \
8796 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
8798 sed '/^.*\/\([^/][^/]*\)\/*$/{
8819 test "x$as_lineno_1" != "x$as_lineno_2" &&
8820 test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2" ||
{
8822 # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
8823 # uniformly replaced by the line number. The first 'sed' inserts a
8824 # line-number line after each line using $LINENO; the second 'sed'
8825 # does the real work. The second script uses 'N' to pair each
8826 # line-number line with the line containing $LINENO, and appends
8827 # trailing '-' during substitution so that $LINENO is not a special
8829 # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
8830 # scripts with optimization help from Paolo Bonzini. Blame Lee
8831 # E. McMahon (1931-1989) for sed's syntax. :-)
8843 s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
8847 chmod +x
"$as_me.lineno" ||
8848 { $as_echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2
8849 { (exit 1); exit 1; }; }
8851 # Don't try to exec as it changes $[0], causing all sort of problems
8852 # (the dirname of $[0] is not the place where we might find the
8853 # original and so on. Autoconf is especially sensitive to this).
8855 # Exit status is that of the last command.
8860 if (as_dir
=`dirname -- /` && test "X$as_dir" = X
/) >/dev
/null
2>&1; then
8866 ECHO_C
= ECHO_N
= ECHO_T
=
8869 case `echo 'x\c'` in
8870 *c
*) ECHO_T
=' ';; # ECHO_T is single tab character.
8876 if expr a
: '\(a\)' >/dev
/null
2>&1 &&
8877 test "X`expr 00001 : '.*\(...\)'`" = X001
; then
8883 rm -f conf$$ conf$$.exe conf$$.
file
8884 if test -d conf$$.dir
; then
8885 rm -f conf$$.dir
/conf$$.
file
8888 mkdir conf$$.dir
2>/dev
/null
8890 if (echo >conf$$.
file) 2>/dev
/null
; then
8891 if ln -s conf$$.
file conf$$
2>/dev
/null
; then
8893 # ... but there are two gotchas:
8894 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
8895 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
8896 # In both cases, we have to default to `cp -p'.
8897 ln -s conf$$.
file conf$$.dir
2>/dev
/null
&& test ! -f conf$$.exe ||
8899 elif ln conf$$.
file conf$$
2>/dev
/null
; then
8907 rm -f conf$$ conf$$.exe conf$$.dir
/conf$$.
file conf$$.
file
8908 rmdir conf$$.dir
2>/dev
/null
8910 if mkdir
-p .
2>/dev
/null
; then
8913 test -d .
/-p && rmdir .
/-p
8917 if test -x / >/dev
/null
2>&1; then
8920 if ls -dL / >/dev
/null
2>&1; then
8927 if test -d "$1"; then
8933 case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in
8934 ???[sx]*):;;*)false;;esac;fi
8938 as_executable_p
=$as_test_x
8940 # Sed expression to map a string onto a valid CPP name.
8941 as_tr_cpp
="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
8943 # Sed expression to map a string onto a valid variable name.
8944 as_tr_sh
="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
8949 # Save the log message, to keep $[0] and so on meaningful, and to
8950 # report actual input values of CONFIG_FILES etc. instead of their
8951 # values after options handling.
8953 This file was extended by smc $as_me 1.9, which was
8954 generated by GNU Autoconf 2.63. Invocation command line was
8956 CONFIG_FILES = $CONFIG_FILES
8957 CONFIG_HEADERS = $CONFIG_HEADERS
8958 CONFIG_LINKS = $CONFIG_LINKS
8959 CONFIG_COMMANDS = $CONFIG_COMMANDS
8962 on `(hostname || uname -n) 2>/dev/null | sed 1q`
8967 case $ac_config_files in *"
8968 "*) set x
$ac_config_files; shift; ac_config_files
=$
*;;
8971 case $ac_config_headers in *"
8972 "*) set x
$ac_config_headers; shift; ac_config_headers
=$
*;;
8976 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
8977 # Files that config.status was made for.
8978 config_files="$ac_config_files"
8979 config_headers="$ac_config_headers"
8980 config_commands="$ac_config_commands"
8984 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
8986 \`$as_me' instantiates files from templates according to the
8987 current configuration.
8989 Usage: $0 [OPTION]... [FILE]...
8991 -h, --help print this help, then exit
8992 -V, --version print version number and configuration settings, then exit
8993 -q, --quiet, --silent
8994 do not print progress messages
8995 -d, --debug don't remove temporary files
8996 --recheck update $as_me by reconfiguring in the same conditions
8997 --file=FILE[:TEMPLATE]
8998 instantiate the configuration file FILE
8999 --header=FILE[:TEMPLATE]
9000 instantiate the configuration header FILE
9002 Configuration files:
9005 Configuration headers:
9008 Configuration commands:
9011 Report bugs to <bug-autoconf@gnu.org>."
9014 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
9016 smc config.status 1.9
9017 configured by $0, generated by GNU Autoconf 2.63,
9018 with options \\"`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`\\"
9020 Copyright (C) 2008 Free Software Foundation, Inc.
9021 This config.status script is free software; the Free Software Foundation
9022 gives unlimited permission to copy, distribute and modify it."
9029 test -n "\$AWK" || AWK=awk
9032 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
9033 # The default lists apply if the user does not specify any file.
9039 ac_option
=`expr "X$1" : 'X\([^=]*\)='`
9040 ac_optarg
=`expr "X$1" : 'X[^=]*=\(.*\)'`
9051 # Handling of the options.
9052 -recheck |
--recheck |
--rechec |
--reche |
--rech |
--rec |
--re |
--r)
9054 --version |
--versio |
--versi |
--vers |
--ver |
--ve |
--v |
-V )
9055 $as_echo "$ac_cs_version"; exit ;;
9056 --debug |
--debu |
--deb |
--de |
--d |
-d )
9058 --file |
--fil |
--fi |
--f )
9061 *\'*) ac_optarg
=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
9063 CONFIG_FILES
="$CONFIG_FILES '$ac_optarg'"
9064 ac_need_defaults
=false
;;
9065 --header |
--heade |
--head |
--hea )
9068 *\'*) ac_optarg
=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
9070 CONFIG_HEADERS
="$CONFIG_HEADERS '$ac_optarg'"
9071 ac_need_defaults
=false
;;
9073 # Conflict between --help and --header
9074 { $as_echo "$as_me: error: ambiguous option: $1
9075 Try \`$0 --help' for more information." >&2
9076 { (exit 1); exit 1; }; };;
9077 --help |
--hel |
-h )
9078 $as_echo "$ac_cs_usage"; exit ;;
9079 -q |
-quiet |
--quiet |
--quie |
--qui |
--qu |
--q \
9080 |
-silent |
--silent |
--silen |
--sile |
--sil |
--si |
--s)
9084 -*) { $as_echo "$as_me: error: unrecognized option: $1
9085 Try \`$0 --help' for more information." >&2
9086 { (exit 1); exit 1; }; } ;;
9088 *) ac_config_targets
="$ac_config_targets $1"
9089 ac_need_defaults
=false
;;
9095 ac_configure_extra_args
=
9097 if $ac_cs_silent; then
9099 ac_configure_extra_args
="$ac_configure_extra_args --silent"
9103 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
9104 if \$ac_cs_recheck; then
9105 set X '$SHELL' '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
9107 \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6
9108 CONFIG_SHELL='$SHELL'
9114 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
9118 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
9119 ## Running $as_me. ##
9125 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
9129 AMDEP_TRUE="$AMDEP_TRUE" ac_aux_dir="$ac_aux_dir"
9130 # Capture the value of obsolete ALL_LINGUAS because we need it to compute
9131 # POFILES, UPDATEPOFILES, DUMMYPOFILES, GMOFILES, CATALOGS. But hide it
9132 # from automake < 1.5.
9133 eval 'OBSOLETE_ALL_LINGUAS''="$ALL_LINGUAS"'
9134 # Capture the value of LINGUAS because we need it to compute CATALOGS.
9135 LINGUAS="${LINGUAS-%UNSET%}"
9140 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
9142 # Handling of arguments.
9143 for ac_config_target
in $ac_config_targets
9145 case $ac_config_target in
9146 "config.h") CONFIG_HEADERS
="$CONFIG_HEADERS config.h" ;;
9147 "depfiles") CONFIG_COMMANDS
="$CONFIG_COMMANDS depfiles" ;;
9148 "po-directories") CONFIG_COMMANDS
="$CONFIG_COMMANDS po-directories" ;;
9149 "Makefile") CONFIG_FILES
="$CONFIG_FILES Makefile" ;;
9150 "src/Makefile") CONFIG_FILES
="$CONFIG_FILES src/Makefile" ;;
9151 "data/Makefile") CONFIG_FILES
="$CONFIG_FILES data/Makefile" ;;
9153 *) { { $as_echo "$as_me:$LINENO: error: invalid argument: $ac_config_target" >&5
9154 $as_echo "$as_me: error: invalid argument: $ac_config_target" >&2;}
9155 { (exit 1); exit 1; }; };;
9160 # If the user did not use the arguments to specify the items to instantiate,
9161 # then the envvar interface is used. Set only those that are not.
9162 # We use the long form for the default assignment because of an extremely
9163 # bizarre bug on SunOS 4.1.3.
9164 if $ac_need_defaults; then
9165 test "${CONFIG_FILES+set}" = set || CONFIG_FILES
=$config_files
9166 test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS
=$config_headers
9167 test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS
=$config_commands
9170 # Have a temporary directory for convenience. Make it in the build tree
9171 # simply because there is no reason against having it here, and in addition,
9172 # creating and moving files from /tmp can sometimes cause problems.
9173 # Hook for its removal unless debugging.
9174 # Note that there is a small window in which the directory will not be cleaned:
9175 # after its creation but before its name has been assigned to `$tmp'.
9179 trap 'exit_status=$?
9180 { test -z "$tmp" || test ! -d "$tmp" || rm -fr "$tmp"; } && exit $exit_status
9182 trap '{ (exit 1); exit 1; }' 1 2 13 15
9184 # Create a (secure) tmp directory for tmp files.
9187 tmp
=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
9188 test -n "$tmp" && test -d "$tmp"
9191 tmp
=.
/conf$$
-$RANDOM
9192 (umask 077 && mkdir
"$tmp")
9195 $as_echo "$as_me: cannot create a temporary directory in ." >&2
9196 { (exit 1); exit 1; }
9199 # Set up the scripts for CONFIG_FILES section.
9200 # No need to generate them if there are no CONFIG_FILES.
9201 # This happens for instance with `./config.status config.h'.
9202 if test -n "$CONFIG_FILES"; then
9206 ac_cs_awk_cr
=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
9207 if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
9213 echo 'BEGIN {' >"$tmp/subs1.awk" &&
9218 echo "cat >conf$$subs.awk <<_ACEOF" &&
9219 echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
9222 { { $as_echo "$as_me:$LINENO: error
: could not
make $CONFIG_STATUS" >&5
9223 $as_echo "$as_me: error
: could not
make $CONFIG_STATUS" >&2;}
9224 { (exit 1); exit 1; }; }
9225 ac_delim_num=`echo "$ac_subst_vars" | grep -c '$'`
9227 for ac_last_try in false false false false false :; do
9228 . ./conf$$subs.sh ||
9229 { { $as_echo "$as_me:$LINENO: error
: could not
make $CONFIG_STATUS" >&5
9230 $as_echo "$as_me: error
: could not
make $CONFIG_STATUS" >&2;}
9231 { (exit 1); exit 1; }; }
9233 ac_delim_n=`sed -n "s
/.
*$ac_delim\$
/X
/p
" conf$$subs.awk | grep -c X`
9234 if test $ac_delim_n = $ac_delim_num; then
9236 elif $ac_last_try; then
9237 { { $as_echo "$as_me:$LINENO: error
: could not
make $CONFIG_STATUS" >&5
9238 $as_echo "$as_me: error
: could not
make $CONFIG_STATUS" >&2;}
9239 { (exit 1); exit 1; }; }
9241 ac_delim="$ac_delim!$ac_delim _
$ac_delim!! "
9246 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
9247 cat >>"\
$tmp/subs1.
awk" <<\\_ACAWK &&
9251 s/^/S["/; s
/!.
*/"]=/
9261 s/\(.\{148\}\).*/\1/
9263 s/["\\]/\\&/g
; s
/^
/"/; s/$/\\n"\\/
9268 s
/["\\]/\\&/g; s/^/"/; s
/$
/"\\/
9275 s/\(.\{148\}\).*/\1/
9277 s/["\\]/\\&/g
; s
/^
/"/; s/$/"/
9281 s
/["\\]/\\&/g; s/^/"/; s
/$
/"\\/
9286 ' <conf$$subs.awk | sed '
9291 ' >>$CONFIG_STATUS || ac_write_fail=1
9292 rm -f conf$$subs.awk
9293 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
9295 cat >>"\
$tmp/subs1.
awk" <<_ACAWK &&
9296 for (key in S) S_is_set[key] = 1
9302 nfields = split(line, field, "@
")
9304 len = length(field[1])
9305 for (i = 2; i < nfields; i++) {
9307 keylen = length(key)
9308 if (S_is_set[key]) {
9310 line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3)
9311 len += length(value) + length(field[++i])
9322 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
9323 if sed "s
/$ac_cr//" < /dev/null > /dev/null 2>&1; then
9324 sed "s
/$ac_cr\$
//; s
/$ac_cr/$ac_cs_awk_cr/g
"
9327 fi < "$tmp/subs1.
awk" > "$tmp/subs.
awk" \
9328 || { { $as_echo "$as_me:$LINENO: error
: could not setup config files machinery
" >&5
9329 $as_echo "$as_me: error
: could not setup config files machinery
" >&2;}
9330 { (exit 1); exit 1; }; }
9333 # VPATH may cause trouble with some makes, so we remove $(srcdir),
9334 # ${srcdir} and @srcdir@ from VPATH if srcdir is ".
", strip leading and
9335 # trailing colons and then remove the whole line if VPATH becomes empty
9336 # (actually we leave an empty line to preserve line numbers).
9337 if test "x
$srcdir" = x.; then
9338 ac_vpsub='/^[ ]*VPATH[ ]*=/{
9342 s/^\([^=]*=[ ]*\):*/\1/
9348 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
9349 fi # test -n "$CONFIG_FILES"
9351 # Set up the scripts for CONFIG_HEADERS section.
9352 # No need to generate them if there are no CONFIG_HEADERS.
9353 # This happens for instance with `./config.status Makefile'.
9354 if test -n "$CONFIG_HEADERS"; then
9355 cat >"$tmp/defines.
awk" <<\_ACAWK ||
9359 # Transform confdefs.h into an awk script `defines.awk', embedded as
9360 # here-document in config.status, that substitutes the proper values into
9361 # config.h.in to produce config.h.
9363 # Create a delimiter string that does not exist in confdefs.h, to ease
9364 # handling of long lines.
9366 for ac_last_try in false false :; do
9367 ac_t=`sed -n "/$ac_delim/p
" confdefs.h`
9368 if test -z "$ac_t"; then
9370 elif $ac_last_try; then
9371 { { $as_echo "$as_me:$LINENO: error
: could not
make $CONFIG_HEADERS" >&5
9372 $as_echo "$as_me: error
: could not
make $CONFIG_HEADERS" >&2;}
9373 { (exit 1); exit 1; }; }
9375 ac_delim="$ac_delim!$ac_delim _
$ac_delim!! "
9379 # For the awk script, D is an array of macro values keyed by name,
9380 # likewise P contains macro parameters if any. Preserve backslash
9381 # newline sequences.
9383 ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]*
9385 s/.\{148\}/&'"$ac_delim"'/g
9388 s/^[ ]*#[ ]*define[ ][ ]*/ /
9395 s
/^ \
('"$ac_word_re"'\
)\
(([^
()]*)\
)[ ]*\
(.
*\
)/P
["\1"]="\2"\
9397 s
/^ \
('"$ac_word_re"'\
)[ ]*\
(.
*\
)/D
["\1"]=" \2"/p
9401 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\
1"]="\
2"\
9402 D["\
1"]=" \
3\\\\\\n
"\\/p
9404 s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\
1"]=" \
2\\\\\\n
"\\/p
9409 s/.\{148\}/&'"$ac_delim"'/g
9414 s/["\\]/\\&/g
; s
/^
/"/; s/$/"/p
9417 s
/["\\]/\\&/g; s/^/"/; s
/$
/\\\\\\n
"\\/p
9419 ' <confdefs.h | sed '
9420 s/'"$ac_delim"'/"\\\
9421 "/g' >>$CONFIG_STATUS || ac_write_fail=1
9423 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
9424 for (key in D) D_is_set[key] = 1
9427 /^[\t ]*#[\t ]*(define|undef)[\t ]+$ac_word_re([\t (]|\$)/ {
9429 split(line, arg, " ")
9430 if (arg[1] == "#") {
9434 defundef
= substr
(arg
[1], 2)
9437 split(mac1
, mac2
, "(") #)
9439 prefix
= substr
(line
, 1, index
(line
, defundef
) - 1)
9440 if (D_is_set
[macro
]) {
9441 # Preserve the white space surrounding the "#".
9442 print prefix
"define", macro P
[macro
] D
[macro
]
9445 # Replace #undef with comments. This is necessary, for example,
9446 # in the case of _POSIX_SOURCE, which is predefined and required
9447 # on some systems where configure will not decide to define it.
9448 if (defundef
== "undef") {
9449 print
"/*", prefix defundef
, macro
, "*/"
9457 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
9458 { { $as_echo "$as_me:$LINENO: error: could not setup config headers machinery" >&5
9459 $as_echo "$as_me: error: could not setup config headers machinery" >&2;}
9460 { (exit 1); exit 1; }; }
9461 fi # test -n "$CONFIG_HEADERS"
9464 eval set X
" :F $CONFIG_FILES :H $CONFIG_HEADERS :C $CONFIG_COMMANDS"
9469 :[FHLC
]) ac_mode
=$ac_tag; continue;;
9471 case $ac_mode$ac_tag in
9473 :L
* |
:C
*:*) { { $as_echo "$as_me:$LINENO: error: invalid tag $ac_tag" >&5
9474 $as_echo "$as_me: error: invalid tag $ac_tag" >&2;}
9475 { (exit 1); exit 1; }; };;
9476 :[FH
]-) ac_tag
=-:-;;
9477 :[FH
]*) ac_tag
=$ac_tag:$ac_tag.
in;;
9494 -) ac_f
="$tmp/stdin";;
9495 *) # Look for the file first in the build tree, then in the source tree
9496 # (if the path is not absolute). The absolute path cannot be DOS-style,
9497 # because $ac_f cannot contain `:'.
9501 *) test -f "$srcdir/$ac_f" && ac_f
="$srcdir/$ac_f";;
9503 { { $as_echo "$as_me:$LINENO: error: cannot find input file: $ac_f" >&5
9504 $as_echo "$as_me: error: cannot find input file: $ac_f" >&2;}
9505 { (exit 1); exit 1; }; };;
9507 case $ac_f in *\'*) ac_f
=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
9508 ac_file_inputs
="$ac_file_inputs '$ac_f'"
9511 # Let's still pretend it is `configure' which instantiates (i.e., don't
9512 # use $as_me), people would be surprised to read:
9513 # /* config.h. Generated by config.status. */
9514 configure_input
='Generated from '`
9515 $as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
9517 if test x
"$ac_file" != x-
; then
9518 configure_input
="$ac_file. $configure_input"
9519 { $as_echo "$as_me:$LINENO: creating $ac_file" >&5
9520 $as_echo "$as_me: creating $ac_file" >&6;}
9522 # Neutralize special characters interpreted by sed in replacement strings.
9523 case $configure_input in #(
9524 *\
&* |
*\|
* |
*\\* )
9525 ac_sed_conf_input
=`$as_echo "$configure_input" |
9526 sed 's/[\\\\&|]/\\\\&/g'`;; #(
9527 *) ac_sed_conf_input
=$configure_input;;
9531 *:-:* |
*:-) cat >"$tmp/stdin" \
9532 ||
{ { $as_echo "$as_me:$LINENO: error: could not create $ac_file" >&5
9533 $as_echo "$as_me: error: could not create $ac_file" >&2;}
9534 { (exit 1); exit 1; }; } ;;
9539 ac_dir
=`$as_dirname -- "$ac_file" ||
9540 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
9541 X"$ac_file" : 'X\(//\)[^/]' \| \
9542 X"$ac_file" : 'X\(//\)$' \| \
9543 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
9544 $as_echo X"$ac_file" |
9545 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
9564 -*) as_dir
=.
/$as_dir;;
9566 test -d "$as_dir" ||
{ $as_mkdir_p && mkdir
-p "$as_dir"; } ||
{
9570 *\'*) as_qdir
=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
9571 *) as_qdir
=$as_dir;;
9573 as_dirs
="'$as_qdir' $as_dirs"
9574 as_dir
=`$as_dirname -- "$as_dir" ||
9575 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
9576 X"$as_dir" : 'X\(//\)[^/]' \| \
9577 X"$as_dir" : 'X\(//\)$' \| \
9578 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
9579 $as_echo X"$as_dir" |
9580 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
9597 test -d "$as_dir" && break
9599 test -z "$as_dirs" ||
eval "mkdir $as_dirs"
9600 } ||
test -d "$as_dir" ||
{ { $as_echo "$as_me:$LINENO: error: cannot create directory $as_dir" >&5
9601 $as_echo "$as_me: error: cannot create directory $as_dir" >&2;}
9602 { (exit 1); exit 1; }; }; }
9606 .
) ac_dir_suffix
= ac_top_builddir_sub
=. ac_top_build_prefix
= ;;
9608 ac_dir_suffix
=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
9609 # A ".." for each directory in $ac_dir_suffix.
9610 ac_top_builddir_sub
=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
9611 case $ac_top_builddir_sub in
9612 "") ac_top_builddir_sub
=. ac_top_build_prefix
= ;;
9613 *) ac_top_build_prefix
=$ac_top_builddir_sub/ ;;
9616 ac_abs_top_builddir
=$ac_pwd
9617 ac_abs_builddir
=$ac_pwd$ac_dir_suffix
9618 # for backward compatibility:
9619 ac_top_builddir
=$ac_top_build_prefix
9622 .
) # We are building in place.
9624 ac_top_srcdir
=$ac_top_builddir_sub
9625 ac_abs_top_srcdir
=$ac_pwd ;;
9626 [\\/]* | ?
:[\\/]* ) # Absolute name.
9627 ac_srcdir
=$srcdir$ac_dir_suffix;
9628 ac_top_srcdir
=$srcdir
9629 ac_abs_top_srcdir
=$srcdir ;;
9631 ac_srcdir
=$ac_top_build_prefix$srcdir$ac_dir_suffix
9632 ac_top_srcdir
=$ac_top_build_prefix$srcdir
9633 ac_abs_top_srcdir
=$ac_pwd/$srcdir ;;
9635 ac_abs_srcdir
=$ac_abs_top_srcdir$ac_dir_suffix
9645 [\\/$
]* | ?
:[\\/]* ) ac_INSTALL
=$INSTALL ;;
9646 *) ac_INSTALL
=$ac_top_build_prefix$INSTALL ;;
9650 [\\/$
]* | ?
:[\\/]* ) ;;
9651 */*) ac_MKDIR_P
=$ac_top_build_prefix$MKDIR_P ;;
9655 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
9656 # If the template does not know about datarootdir, expand it.
9657 # FIXME: This hack should be removed a few years after 2.60.
9658 ac_datarootdir_hack
=; ac_datarootdir_seen
=
9671 case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in
9672 *datarootdir
*) ac_datarootdir_seen
=yes;;
9673 *@datadir@
*|
*@docdir@
*|
*@infodir@
*|
*@localedir@
*|
*@mandir@
*)
9674 { $as_echo "$as_me:$LINENO: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
9675 $as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
9677 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
9678 ac_datarootdir_hack='
9679 s&@datadir@&$datadir&g
9680 s&@docdir@&$docdir&g
9681 s&@infodir@&$infodir&g
9682 s&@localedir@&$localedir&g
9683 s&@mandir@&$mandir&g
9684 s&\\\${datarootdir}&$datarootdir&g' ;;
9688 # Neutralize VPATH when `$srcdir' = `.'.
9689 # Shell code in configure.ac might set extrasub.
9690 # FIXME: do we really want to maintain this feature?
9691 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
9692 ac_sed_extra="$ac_vpsub
9695 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
9697 /@
[a-zA-Z_
][a-zA-Z_0-9
]*@
/!b
9698 s|@configure_input@|
$ac_sed_conf_input|
;t t
9699 s
&@top_builddir@
&$ac_top_builddir_sub&;t t
9700 s
&@top_build_prefix@
&$ac_top_build_prefix&;t t
9701 s
&@srcdir@
&$ac_srcdir&;t t
9702 s
&@abs_srcdir@
&$ac_abs_srcdir&;t t
9703 s
&@top_srcdir@
&$ac_top_srcdir&;t t
9704 s
&@abs_top_srcdir@
&$ac_abs_top_srcdir&;t t
9705 s
&@builddir@
&$ac_builddir&;t t
9706 s
&@abs_builddir@
&$ac_abs_builddir&;t t
9707 s
&@abs_top_builddir@
&$ac_abs_top_builddir&;t t
9708 s
&@INSTALL@
&$ac_INSTALL&;t t
9709 s
&@MKDIR_P@
&$ac_MKDIR_P&;t t
9710 $ac_datarootdir_hack
9712 eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$tmp/subs.
awk" >$tmp/out \
9713 || { { $as_echo "$as_me:$LINENO: error
: could not create
$ac_file" >&5
9714 $as_echo "$as_me: error
: could not create
$ac_file" >&2;}
9715 { (exit 1); exit 1; }; }
9717 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
9718 { ac_out=`sed -n '/\${datarootdir}/p' "$tmp/out
"`; test -n "$ac_out"; } &&
9719 { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' "$tmp/out
"`; test -z "$ac_out"; } &&
9720 { $as_echo "$as_me:$LINENO: WARNING
: $ac_file contains a reference to the variable \
`datarootdir'
9721 which seems to be undefined. Please make sure it is defined." >&5
9722 $as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir
'
9723 which seems to be undefined. Please make sure it is defined." >&2;}
9727 -) cat "$tmp/out" && rm -f "$tmp/out";;
9728 *) rm -f "$ac_file" && mv "$tmp/out" "$ac_file";;
9730 || { { $as_echo "$as_me:$LINENO: error: could not create $ac_file" >&5
9731 $as_echo "$as_me: error: could not create $ac_file" >&2;}
9732 { (exit 1); exit 1; }; }
9738 if test x"$ac_file" != x-; then
9740 $as_echo "/* $configure_input */" \
9741 && eval '$AWK -f "$tmp/defines.awk"' "$ac_file_inputs"
9742 } >"$tmp/config.h" \
9743 || { { $as_echo "$as_me:$LINENO: error: could not create $ac_file" >&5
9744 $as_echo "$as_me: error: could not create $ac_file" >&2;}
9745 { (exit 1); exit 1; }; }
9746 if diff "$ac_file" "$tmp/config.h" >/dev/null 2>&1; then
9747 { $as_echo "$as_me:$LINENO: $ac_file is unchanged" >&5
9748 $as_echo "$as_me: $ac_file is unchanged" >&6;}
9751 mv "$tmp/config.h" "$ac_file" \
9752 || { { $as_echo "$as_me:$LINENO: error: could not create $ac_file" >&5
9753 $as_echo "$as_me: error: could not create $ac_file" >&2;}
9754 { (exit 1); exit 1; }; }
9757 $as_echo "/* $configure_input */" \
9758 && eval '$AWK -f "$tmp/defines.awk"' "$ac_file_inputs" \
9759 || { { $as_echo "$as_me:$LINENO: error: could not create -" >&5
9760 $as_echo "$as_me: error: could not create -" >&2;}
9761 { (exit 1); exit 1; }; }
9763 # Compute "$ac_file"'s index
in $config_headers.
9766 for _am_header
in $config_headers :; do
9768 $_am_arg |
$_am_arg:* )
9771 _am_stamp_count
=`expr $_am_stamp_count + 1` ;;
9774 echo "timestamp for $_am_arg" >`$as_dirname -- "$_am_arg" ||
9775 $as_expr X"$_am_arg" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
9776 X"$_am_arg" : 'X\(//\)[^/]' \| \
9777 X"$_am_arg" : 'X\(//\)$' \| \
9778 X"$_am_arg" : 'X\(/\)' \| . 2>/dev/null ||
9779 $as_echo X"$_am_arg" |
9780 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
9796 s/.*/./; q'`/stamp-h
$_am_stamp_count
9799 :C
) { $as_echo "$as_me:$LINENO: executing $ac_file commands" >&5
9800 $as_echo "$as_me: executing $ac_file commands" >&6;}
9805 case $ac_file$ac_mode in
9806 "depfiles":C
) test x
"$AMDEP_TRUE" != x
"" ||
{
9807 # Autoconf 2.62 quotes --file arguments for eval, but not when files
9808 # are listed without --file. Let's play safe and only enable the eval
9809 # if we detect the quoting.
9810 case $CONFIG_FILES in
9811 *\'*) eval set x
"$CONFIG_FILES" ;;
9812 *) set x
$CONFIG_FILES ;;
9817 # Strip MF so we end up with the name of the file.
9818 mf
=`echo "$mf" | sed -e 's/:.*$//'`
9819 # Check whether this is an Automake generated Makefile or not.
9820 # We used to match only the files named `Makefile.in', but
9821 # some people rename them; so instead we look at the file content.
9822 # Grep'ing the first line is not enough: some people post-process
9823 # each Makefile.in and add a new line on top of each file to say so.
9824 # Grep'ing the whole file is not good either: AIX grep has a line
9825 # limit of 2048, but all sed's we know have understand at least 4000.
9826 if sed -n 's,^#.*generated by automake.*,X,p' "$mf" |
grep X
>/dev
/null
2>&1; then
9827 dirpart
=`$as_dirname -- "$mf" ||
9828 $as_expr X"$mf" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
9829 X"$mf" : 'X\(//\)[^/]' \| \
9830 X"$mf" : 'X\(//\)$' \| \
9831 X"$mf" : 'X\(/\)' \| . 2>/dev/null ||
9833 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
9853 # Extract the definition of DEPDIR, am__include, and am__quote
9854 # from the Makefile without running `make'.
9855 DEPDIR
=`sed -n 's/^DEPDIR = //p' < "$mf"`
9856 test -z "$DEPDIR" && continue
9857 am__include
=`sed -n 's/^am__include = //p' < "$mf"`
9858 test -z "am__include" && continue
9859 am__quote
=`sed -n 's/^am__quote = //p' < "$mf"`
9860 # When using ansi2knr, U may be empty or an underscore; expand it
9861 U
=`sed -n 's/^U = //p' < "$mf"`
9862 # Find all dependency output files, they are included files with
9863 # $(DEPDIR) in their names. We invoke sed twice because it is the
9864 # simplest approach to changing $(DEPDIR) to its actual value in the
9866 for file in `sed -n "
9867 s/^$am__include $am__quote\(.*(DEPDIR).*\)$am__quote"'$/\1/p' <"$mf" | \
9868 sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g' -e 's/\$U/'"$U"'/g'`; do
9869 # Make sure the directory exists.
9870 test -f "$dirpart/$file" && continue
9871 fdir
=`$as_dirname -- "$file" ||
9872 $as_expr X"$file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
9873 X"$file" : 'X\(//\)[^/]' \| \
9874 X"$file" : 'X\(//\)$' \| \
9875 X"$file" : 'X\(/\)' \| . 2>/dev/null ||
9877 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
9894 { as_dir
=$dirpart/$fdir
9896 -*) as_dir
=.
/$as_dir;;
9898 test -d "$as_dir" ||
{ $as_mkdir_p && mkdir
-p "$as_dir"; } ||
{
9902 *\'*) as_qdir
=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
9903 *) as_qdir
=$as_dir;;
9905 as_dirs
="'$as_qdir' $as_dirs"
9906 as_dir
=`$as_dirname -- "$as_dir" ||
9907 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
9908 X"$as_dir" : 'X\(//\)[^/]' \| \
9909 X"$as_dir" : 'X\(//\)$' \| \
9910 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
9911 $as_echo X"$as_dir" |
9912 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
9929 test -d "$as_dir" && break
9931 test -z "$as_dirs" ||
eval "mkdir $as_dirs"
9932 } ||
test -d "$as_dir" ||
{ { $as_echo "$as_me:$LINENO: error: cannot create directory $as_dir" >&5
9933 $as_echo "$as_me: error: cannot create directory $as_dir" >&2;}
9934 { (exit 1); exit 1; }; }; }
9935 # echo "creating $dirpart/$file"
9936 echo '# dummy' > "$dirpart/$file"
9942 for ac_file
in $CONFIG_FILES; do
9943 # Support "outfile[:infile[:infile...]]"
9945 *:*) ac_file
=`echo "$ac_file"|sed 's%:.*%%'` ;;
9947 # PO directories have a Makefile.in generated from Makefile.in.in.
9948 case "$ac_file" in */Makefile.
in)
9949 # Adjust a relative srcdir.
9950 ac_dir
=`echo "$ac_file"|sed 's%/[^/][^/]*$%%'`
9951 ac_dir_suffix
="/`echo "$ac_dir"|sed 's%^\./%%'`"
9952 ac_dots
=`echo "$ac_dir_suffix"|sed 's%/[^/]*%../%g'`
9953 # In autoconf-2.13 it is called $ac_given_srcdir.
9954 # In autoconf-2.50 it is called $srcdir.
9955 test -n "$ac_given_srcdir" || ac_given_srcdir
="$srcdir"
9956 case "$ac_given_srcdir" in
9957 .
) top_srcdir
=`echo $ac_dots|sed 's%/$%%'` ;;
9958 /*) top_srcdir
="$ac_given_srcdir" ;;
9959 *) top_srcdir
="$ac_dots$ac_given_srcdir" ;;
9961 # Treat a directory as a PO directory if and only if it has a
9962 # POTFILES.in file. This allows packages to have multiple PO
9963 # directories under different names or in different locations.
9964 if test -f "$ac_given_srcdir/$ac_dir/POTFILES.in"; then
9965 rm -f "$ac_dir/POTFILES"
9966 test -n "$as_me" && echo "$as_me: creating $ac_dir/POTFILES" ||
echo "creating $ac_dir/POTFILES"
9967 cat "$ac_given_srcdir/$ac_dir/POTFILES.in" |
sed -e "/^#/d" -e "/^[ ]*\$/d" -e "s,.*, $top_srcdir/& \\\\," |
sed -e "\$s/\(.*\) \\\\/\1/" > "$ac_dir/POTFILES"
9968 POMAKEFILEDEPS
="POTFILES.in"
9969 # ALL_LINGUAS, POFILES, UPDATEPOFILES, DUMMYPOFILES, GMOFILES depend
9970 # on $ac_dir but don't depend on user-specified configuration
9972 if test -f "$ac_given_srcdir/$ac_dir/LINGUAS"; then
9973 # The LINGUAS file contains the set of available languages.
9974 if test -n "$OBSOLETE_ALL_LINGUAS"; then
9975 test -n "$as_me" && echo "$as_me: setting ALL_LINGUAS in configure.in is obsolete" ||
echo "setting ALL_LINGUAS in configure.in is obsolete"
9977 ALL_LINGUAS_
=`sed -e "/^#/d" -e "s/#.*//" "$ac_given_srcdir/$ac_dir/LINGUAS"`
9978 # Hide the ALL_LINGUAS assigment from automake < 1.5.
9979 eval 'ALL_LINGUAS''=$ALL_LINGUAS_'
9980 POMAKEFILEDEPS
="$POMAKEFILEDEPS LINGUAS"
9982 # The set of available languages was given in configure.in.
9983 # Hide the ALL_LINGUAS assigment from automake < 1.5.
9984 eval 'ALL_LINGUAS''=$OBSOLETE_ALL_LINGUAS'
9987 # as $(foreach lang, $(ALL_LINGUAS), $(srcdir)/$(lang).po)
9988 # Compute UPDATEPOFILES
9989 # as $(foreach lang, $(ALL_LINGUAS), $(lang).po-update)
9990 # Compute DUMMYPOFILES
9991 # as $(foreach lang, $(ALL_LINGUAS), $(lang).nop)
9993 # as $(foreach lang, $(ALL_LINGUAS), $(srcdir)/$(lang).gmo)
9994 case "$ac_given_srcdir" in
9996 *) srcdirpre
='$(srcdir)/' ;;
10002 for lang
in $ALL_LINGUAS; do
10003 POFILES
="$POFILES $srcdirpre$lang.po"
10004 UPDATEPOFILES
="$UPDATEPOFILES $lang.po-update"
10005 DUMMYPOFILES
="$DUMMYPOFILES $lang.nop"
10006 GMOFILES
="$GMOFILES $srcdirpre$lang.gmo"
10008 # CATALOGS depends on both $ac_dir and the user's LINGUAS
10009 # environment variable.
10011 if test -n "$ALL_LINGUAS"; then
10012 for presentlang
in $ALL_LINGUAS; do
10014 if test "%UNSET%" != "$LINGUAS"; then
10015 desiredlanguages
="$LINGUAS"
10017 desiredlanguages
="$ALL_LINGUAS"
10019 for desiredlang
in $desiredlanguages; do
10020 # Use the presentlang catalog if desiredlang is
10021 # a. equal to presentlang, or
10022 # b. a variant of presentlang (because in this case,
10023 # presentlang can be used as a fallback for messages
10024 # which are not translated in the desiredlang catalog).
10025 case "$desiredlang" in
10026 "$presentlang"*) useit
=yes;;
10029 if test $useit = yes; then
10030 INST_LINGUAS
="$INST_LINGUAS $presentlang"
10035 if test -n "$INST_LINGUAS"; then
10036 for lang
in $INST_LINGUAS; do
10037 CATALOGS
="$CATALOGS $lang.gmo"
10040 test -n "$as_me" && echo "$as_me: creating $ac_dir/Makefile" ||
echo "creating $ac_dir/Makefile"
10041 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"
10042 for f
in "$ac_given_srcdir/$ac_dir"/Rules-
*; do
10043 if test -f "$f"; then
10045 *.orig |
*.bak |
*~
) ;;
10046 *) cat "$f" >> "$ac_dir/Makefile" ;;
10059 { (exit 0); exit 0; }
10061 chmod +x
$CONFIG_STATUS
10062 ac_clean_files
=$ac_clean_files_save
10064 test $ac_write_fail = 0 ||
10065 { { $as_echo "$as_me:$LINENO: error: write failure creating $CONFIG_STATUS" >&5
10066 $as_echo "$as_me: error: write failure creating $CONFIG_STATUS" >&2;}
10067 { (exit 1); exit 1; }; }
10070 # configure is writing to config.log, and then calls config.status.
10071 # config.status does its own redirection, appending to config.log.
10072 # Unfortunately, on DOS this fails, as config.log is still kept open
10073 # by configure, so config.status won't be able to write to it; its
10074 # output is simply discarded. So we exec the FD to /dev/null,
10075 # effectively closing config.log, so it can be properly (re)opened and
10076 # appended to by config.status. When coming back to configure, we
10077 # need to make the FD available again.
10078 if test "$no_create" != yes; then
10080 ac_config_status_args
=
10081 test "$silent" = yes &&
10082 ac_config_status_args
="$ac_config_status_args --quiet"
10084 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success
=false
10086 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
10087 # would make configure fail if this is the last instruction.
10088 $ac_cs_success ||
{ (exit 1); exit 1; }
10090 if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no
; then
10091 { $as_echo "$as_me:$LINENO: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
10092 $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}