2 # Guess values for system-dependent variables and create Makefiles.
3 # Generated by GNU Autoconf 2.63.
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.
601 ac_unique_file="configure.in"
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
683 MAINTAINER_MODE_FALSE
693 INSTALL_STRIP_PROGRAM
735 program_transform_name
747 enable_option_checking
748 enable_maintainer_mode
749 enable_dependency_tracking
751 ac_precious_vars='build_alias
765 # Initialize some variables set by options.
767 ac_init_version=false
768 ac_unrecognized_opts=
770 # The variables have the same names as the options, with
771 # dashes changed to underlines.
779 program_transform_name=s,x,x,
787 # Installation directory options.
788 # These are left unexpanded so users can "make install exec_prefix=/foo"
789 # and all the variables that are supposed to be based on exec_prefix
790 # by default will actually change.
791 # Use braces instead of parens because sh, perl, etc. also accept them.
792 # (The list follows the same order as the GNU Coding Standards.)
793 bindir='${exec_prefix}/bin'
794 sbindir='${exec_prefix}/sbin'
795 libexecdir='${exec_prefix}/libexec'
796 datarootdir='${prefix}/share'
797 datadir='${datarootdir}'
798 sysconfdir='${prefix}/etc'
799 sharedstatedir='${prefix}/com'
800 localstatedir='${prefix}/var'
801 includedir='${prefix}/include'
802 oldincludedir='/usr/include'
803 docdir='${datarootdir}/doc/${PACKAGE}'
804 infodir='${datarootdir}/info'
809 libdir='${exec_prefix}/lib'
810 localedir='${datarootdir}/locale'
811 mandir='${datarootdir}/man'
817 # If the previous option needs an argument, assign it.
818 if test -n "$ac_prev"; then
819 eval $ac_prev=\$ac_option
825 *=*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
829 # Accept the important Cygnus configure options, so we can diagnose typos.
831 case $ac_dashdash$ac_option in
835 -bindir | --bindir | --bindi | --bind | --bin | --bi)
837 -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
840 -build | --build | --buil | --bui | --bu)
841 ac_prev=build_alias ;;
842 -build=* | --build=* | --buil=* | --bui=* | --bu=*)
843 build_alias=$ac_optarg ;;
845 -cache-file | --cache-file | --cache-fil | --cache-fi \
846 | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
847 ac_prev=cache_file ;;
848 -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
849 | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
850 cache_file=$ac_optarg ;;
853 cache_file=config.cache ;;
855 -datadir | --datadir | --datadi | --datad)
857 -datadir=* | --datadir=* | --datadi=* | --datad=*)
858 datadir=$ac_optarg ;;
860 -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \
861 | --dataroo | --dataro | --datar)
862 ac_prev=datarootdir ;;
863 -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \
864 | --dataroot=* | --dataroo=* | --dataro=* | --datar=*)
865 datarootdir=$ac_optarg ;;
867 -disable-* | --disable-*)
868 ac_useropt=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
869 # Reject names that are not valid shell variable names.
870 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
871 { $as_echo "$as_me: error: invalid feature name: $ac_useropt" >&2
872 { (exit 1); exit 1; }; }
873 ac_useropt_orig=$ac_useropt
874 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
875 case $ac_user_opts in
879 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig"
880 ac_unrecognized_sep=', ';;
882 eval enable_$ac_useropt=no ;;
884 -docdir | --docdir | --docdi | --doc | --do)
886 -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*)
889 -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv)
891 -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*)
894 -enable-* | --enable-*)
895 ac_useropt=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
896 # Reject names that are not valid shell variable names.
897 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
898 { $as_echo "$as_me: error: invalid feature name: $ac_useropt" >&2
899 { (exit 1); exit 1; }; }
900 ac_useropt_orig=$ac_useropt
901 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
902 case $ac_user_opts in
906 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig"
907 ac_unrecognized_sep=', ';;
909 eval enable_$ac_useropt=\$ac_optarg ;;
911 -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
912 | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
913 | --exec | --exe | --ex)
914 ac_prev=exec_prefix ;;
915 -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
916 | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
917 | --exec=* | --exe=* | --ex=*)
918 exec_prefix=$ac_optarg ;;
920 -gas | --gas | --ga | --g)
921 # Obsolete; use --with-gas.
924 -help | --help | --hel | --he | -h)
926 -help=r* | --help=r* | --hel=r* | --he=r* | -hr*)
927 ac_init_help=recursive ;;
928 -help=s* | --help=s* | --hel=s* | --he=s* | -hs*)
929 ac_init_help=short ;;
931 -host | --host | --hos | --ho)
932 ac_prev=host_alias ;;
933 -host=* | --host=* | --hos=* | --ho=*)
934 host_alias=$ac_optarg ;;
936 -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht)
938 -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \
940 htmldir=$ac_optarg ;;
942 -includedir | --includedir | --includedi | --included | --include \
943 | --includ | --inclu | --incl | --inc)
944 ac_prev=includedir ;;
945 -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
946 | --includ=* | --inclu=* | --incl=* | --inc=*)
947 includedir=$ac_optarg ;;
949 -infodir | --infodir | --infodi | --infod | --info | --inf)
951 -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
952 infodir=$ac_optarg ;;
954 -libdir | --libdir | --libdi | --libd)
956 -libdir=* | --libdir=* | --libdi=* | --libd=*)
959 -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
960 | --libexe | --libex | --libe)
961 ac_prev=libexecdir ;;
962 -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
963 | --libexe=* | --libex=* | --libe=*)
964 libexecdir=$ac_optarg ;;
966 -localedir | --localedir | --localedi | --localed | --locale)
968 -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*)
969 localedir=$ac_optarg ;;
971 -localstatedir | --localstatedir | --localstatedi | --localstated \
972 | --localstate | --localstat | --localsta | --localst | --locals)
973 ac_prev=localstatedir ;;
974 -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
975 | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*)
976 localstatedir=$ac_optarg ;;
978 -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
980 -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
984 # Obsolete; use --without-fp.
987 -no-create | --no-create | --no-creat | --no-crea | --no-cre \
988 | --no-cr | --no-c | -n)
991 -no-recursion | --no-recursion | --no-recursio | --no-recursi \
992 | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
995 -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
996 | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
997 | --oldin | --oldi | --old | --ol | --o)
998 ac_prev=oldincludedir ;;
999 -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
1000 | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
1001 | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
1002 oldincludedir=$ac_optarg ;;
1004 -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
1006 -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
1007 prefix=$ac_optarg ;;
1009 -program-prefix | --program-prefix | --program-prefi | --program-pref \
1010 | --program-pre | --program-pr | --program-p)
1011 ac_prev=program_prefix ;;
1012 -program-prefix=* | --program-prefix=* | --program-prefi=* \
1013 | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
1014 program_prefix=$ac_optarg ;;
1016 -program-suffix | --program-suffix | --program-suffi | --program-suff \
1017 | --program-suf | --program-su | --program-s)
1018 ac_prev=program_suffix ;;
1019 -program-suffix=* | --program-suffix=* | --program-suffi=* \
1020 | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
1021 program_suffix=$ac_optarg ;;
1023 -program-transform-name | --program-transform-name \
1024 | --program-transform-nam | --program-transform-na \
1025 | --program-transform-n | --program-transform- \
1026 | --program-transform | --program-transfor \
1027 | --program-transfo | --program-transf \
1028 | --program-trans | --program-tran \
1029 | --progr-tra | --program-tr | --program-t)
1030 ac_prev=program_transform_name ;;
1031 -program-transform-name=* | --program-transform-name=* \
1032 | --program-transform-nam=* | --program-transform-na=* \
1033 | --program-transform-n=* | --program-transform-=* \
1034 | --program-transform=* | --program-transfor=* \
1035 | --program-transfo=* | --program-transf=* \
1036 | --program-trans=* | --program-tran=* \
1037 | --progr-tra=* | --program-tr=* | --program-t=*)
1038 program_transform_name=$ac_optarg ;;
1040 -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd)
1042 -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*)
1043 pdfdir=$ac_optarg ;;
1045 -psdir | --psdir | --psdi | --psd | --ps)
1047 -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*)
1050 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1051 | -silent | --silent | --silen | --sile | --sil)
1054 -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
1056 -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
1058 sbindir=$ac_optarg ;;
1060 -sharedstatedir | --sharedstatedir | --sharedstatedi \
1061 | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
1062 | --sharedst | --shareds | --shared | --share | --shar \
1064 ac_prev=sharedstatedir ;;
1065 -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
1066 | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
1067 | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
1069 sharedstatedir=$ac_optarg ;;
1071 -site | --site | --sit)
1073 -site=* | --site=* | --sit=*)
1076 -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
1078 -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
1079 srcdir=$ac_optarg ;;
1081 -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
1082 | --syscon | --sysco | --sysc | --sys | --sy)
1083 ac_prev=sysconfdir ;;
1084 -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
1085 | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
1086 sysconfdir=$ac_optarg ;;
1088 -target | --target | --targe | --targ | --tar | --ta | --t)
1089 ac_prev=target_alias ;;
1090 -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
1091 target_alias=$ac_optarg ;;
1093 -v | -verbose | --verbose | --verbos | --verbo | --verb)
1096 -version | --version | --versio | --versi | --vers | -V)
1097 ac_init_version=: ;;
1100 ac_useropt=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
1101 # Reject names that are not valid shell variable names.
1102 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1103 { $as_echo "$as_me: error: invalid package name: $ac_useropt" >&2
1104 { (exit 1); exit 1; }; }
1105 ac_useropt_orig=$ac_useropt
1106 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1107 case $ac_user_opts in
1111 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig"
1112 ac_unrecognized_sep=', ';;
1114 eval with_$ac_useropt=\$ac_optarg ;;
1116 -without-* | --without-*)
1117 ac_useropt=`expr "x$ac_option" : 'x-*without-\(.*\)'`
1118 # Reject names that are not valid shell variable names.
1119 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1120 { $as_echo "$as_me: error: invalid package name: $ac_useropt" >&2
1121 { (exit 1); exit 1; }; }
1122 ac_useropt_orig=$ac_useropt
1123 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1124 case $ac_user_opts in
1128 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig"
1129 ac_unrecognized_sep=', ';;
1131 eval with_$ac_useropt=no ;;
1134 # Obsolete; use --with-x.
1137 -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
1138 | --x-incl | --x-inc | --x-in | --x-i)
1139 ac_prev=x_includes ;;
1140 -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
1141 | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
1142 x_includes=$ac_optarg ;;
1144 -x-libraries | --x-libraries | --x-librarie | --x-librari \
1145 | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
1146 ac_prev=x_libraries ;;
1147 -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
1148 | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
1149 x_libraries=$ac_optarg ;;
1151 -*) { $as_echo "$as_me: error: unrecognized option: $ac_option
1152 Try \`$0 --help' for more information." >&2
1153 { (exit 1); exit 1; }; }
1157 ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
1158 # Reject names that are not valid shell variable names.
1159 expr "x$ac_envvar" : ".*[^_$as_cr_alnum]" >/dev/null &&
1160 { $as_echo "$as_me: error: invalid variable name: $ac_envvar" >&2
1161 { (exit 1); exit 1; }; }
1162 eval $ac_envvar=\$ac_optarg
1163 export $ac_envvar ;;
1166 # FIXME: should be removed in autoconf 3.0.
1167 $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2
1168 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
1169 $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2
1170 : ${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}
1176 if test -n "$ac_prev"; then
1177 ac_option=--`echo $ac_prev | sed 's/_/-/g'`
1178 { $as_echo "$as_me: error: missing argument to $ac_option" >&2
1179 { (exit 1); exit 1; }; }
1182 if test -n "$ac_unrecognized_opts"; then
1183 case $enable_option_checking in
1185 fatal) { $as_echo "$as_me: error: unrecognized options: $ac_unrecognized_opts" >&2
1186 { (exit 1); exit 1; }; } ;;
1187 *) $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;;
1191 # Check all directory arguments for consistency.
1192 for ac_var in exec_prefix prefix bindir sbindir libexecdir datarootdir \
1193 datadir sysconfdir sharedstatedir localstatedir includedir \
1194 oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
1195 libdir localedir mandir
1197 eval ac_val=\$$ac_var
1198 # Remove trailing slashes.
1201 ac_val=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'`
1202 eval $ac_var=\$ac_val;;
1204 # Be sure to have absolute directory names.
1206 [\\/$]* | ?:[\\/]* ) continue;;
1207 NONE | '' ) case $ac_var in *prefix ) continue;; esac;;
1209 { $as_echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2
1210 { (exit 1); exit 1; }; }
1213 # There might be people who depend on the old broken behavior: `$host'
1214 # used to hold the argument of --host etc.
1215 # FIXME: To remove some day.
1218 target=$target_alias
1220 # FIXME: To remove some day.
1221 if test "x$host_alias" != x; then
1222 if test "x$build_alias" = x; then
1223 cross_compiling=maybe
1224 $as_echo "$as_me: WARNING: If you wanted to set the --build type, don't use --host.
1225 If a cross compiler is detected then cross compile mode will be used." >&2
1226 elif test "x$build_alias" != "x$host_alias"; then
1232 test -n "$host_alias" && ac_tool_prefix=$host_alias-
1234 test "$silent" = yes && exec 6>/dev/null
1237 ac_pwd=`pwd` && test -n "$ac_pwd" &&
1238 ac_ls_di=`ls -di .` &&
1239 ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` ||
1240 { $as_echo "$as_me: error: working directory cannot be determined" >&2
1241 { (exit 1); exit 1; }; }
1242 test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
1243 { $as_echo "$as_me: error: pwd does not report name of working directory" >&2
1244 { (exit 1); exit 1; }; }
1247 # Find the source files, if location was not specified.
1248 if test -z "$srcdir"; then
1249 ac_srcdir_defaulted=yes
1250 # Try the directory containing this script, then the parent directory.
1251 ac_confdir=`$as_dirname -- "$as_myself" ||
1252 $as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
1253 X"$as_myself" : 'X\(//\)[^/]' \| \
1254 X"$as_myself" : 'X\(//\)$' \| \
1255 X"$as_myself" : 'X\(/\)' \| . 2>/dev/null ||
1256 $as_echo X"$as_myself" |
1257 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
1275 if test ! -r "$srcdir/$ac_unique_file"; then
1279 ac_srcdir_defaulted=no
1281 if test ! -r "$srcdir/$ac_unique_file"; then
1282 test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .."
1283 { $as_echo "$as_me: error: cannot find sources ($ac_unique_file) in $srcdir" >&2
1284 { (exit 1); exit 1; }; }
1286 ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work"
1288 cd "$srcdir" && test -r "./$ac_unique_file" || { $as_echo "$as_me: error: $ac_msg" >&2
1289 { (exit 1); exit 1; }; }
1291 # When building in place, set srcdir=.
1292 if test "$ac_abs_confdir" = "$ac_pwd"; then
1295 # Remove unnecessary trailing slashes from srcdir.
1296 # Double slashes in file names in object file debugging info
1297 # mess up M-x gdb in Emacs.
1299 */) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
1301 for ac_var in $ac_precious_vars; do
1302 eval ac_env_${ac_var}_set=\${${ac_var}+set}
1303 eval ac_env_${ac_var}_value=\$${ac_var}
1304 eval ac_cv_env_${ac_var}_set=\${${ac_var}+set}
1305 eval ac_cv_env_${ac_var}_value=\$${ac_var}
1309 # Report the --help message.
1311 if test "$ac_init_help" = "long"; then
1312 # Omit some internal or obsolete options to make the list less imposing.
1313 # This message is too long to be a string in the A/UX 3.1 sh.
1315 \`configure' configures this package to adapt to many kinds of systems.
1317 Usage: $0 [OPTION]... [VAR=VALUE]...
1319 To assign environment variables (e.g., CC, CFLAGS...), specify them as
1320 VAR=VALUE. See below for descriptions of some of the useful variables.
1322 Defaults for the options are specified in brackets.
1325 -h, --help display this help and exit
1326 --help=short display options specific to this package
1327 --help=recursive display the short help of all the included packages
1328 -V, --version display version information and exit
1329 -q, --quiet, --silent do not print \`checking...' messages
1330 --cache-file=FILE cache test results in FILE [disabled]
1331 -C, --config-cache alias for \`--cache-file=config.cache'
1332 -n, --no-create do not create output files
1333 --srcdir=DIR find the sources in DIR [configure dir or \`..']
1335 Installation directories:
1336 --prefix=PREFIX install architecture-independent files in PREFIX
1337 [$ac_default_prefix]
1338 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
1341 By default, \`make install' will install all the files in
1342 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
1343 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
1344 for instance \`--prefix=\$HOME'.
1346 For better control, use the options below.
1348 Fine tuning of the installation directories:
1349 --bindir=DIR user executables [EPREFIX/bin]
1350 --sbindir=DIR system admin executables [EPREFIX/sbin]
1351 --libexecdir=DIR program executables [EPREFIX/libexec]
1352 --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
1353 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
1354 --localstatedir=DIR modifiable single-machine data [PREFIX/var]
1355 --libdir=DIR object code libraries [EPREFIX/lib]
1356 --includedir=DIR C header files [PREFIX/include]
1357 --oldincludedir=DIR C header files for non-gcc [/usr/include]
1358 --datarootdir=DIR read-only arch.-independent data root [PREFIX/share]
1359 --datadir=DIR read-only architecture-independent data [DATAROOTDIR]
1360 --infodir=DIR info documentation [DATAROOTDIR/info]
1361 --localedir=DIR locale-dependent data [DATAROOTDIR/locale]
1362 --mandir=DIR man documentation [DATAROOTDIR/man]
1363 --docdir=DIR documentation root [DATAROOTDIR/doc/PACKAGE]
1364 --htmldir=DIR html documentation [DOCDIR]
1365 --dvidir=DIR dvi documentation [DOCDIR]
1366 --pdfdir=DIR pdf documentation [DOCDIR]
1367 --psdir=DIR ps documentation [DOCDIR]
1373 --program-prefix=PREFIX prepend PREFIX to installed program names
1374 --program-suffix=SUFFIX append SUFFIX to installed program names
1375 --program-transform-name=PROGRAM run sed PROGRAM on installed program names
1379 if test -n "$ac_init_help"; then
1384 --disable-option-checking ignore unrecognized --enable/--with options
1385 --disable-FEATURE do not include FEATURE (same as --enable-FEATURE=no)
1386 --enable-FEATURE[=ARG] include FEATURE [ARG=yes]
1387 --enable-maintainer-mode enable make rules and dependencies not useful
1388 (and sometimes confusing) to the casual installer
1389 --disable-dependency-tracking speeds up one-time build
1390 --enable-dependency-tracking do not reject slow dependency extractors
1392 Some influential environment variables:
1393 CC C compiler command
1394 CFLAGS C compiler flags
1395 LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a
1396 nonstandard directory <lib dir>
1397 LIBS libraries to pass to the linker, e.g. -l<library>
1398 CPPFLAGS C/C++/Objective C preprocessor flags, e.g. -I<include dir> if
1399 you have headers in a nonstandard directory <include dir>
1401 PKG_CONFIG path to pkg-config utility
1403 C compiler flags for PACKAGE, overriding pkg-config
1405 linker flags for PACKAGE, overriding pkg-config
1407 Use these variables to override the choices made by `configure' or to help
1408 it to find libraries and programs with nonstandard names/locations.
1414 if test "$ac_init_help" = "recursive"; then
1415 # If there are subdirs, report their specific --help.
1416 for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
1417 test -d "$ac_dir" ||
1418 { cd "$srcdir" && ac_pwd=`pwd` && srcdir=. && test -d "$ac_dir"; } ||
1423 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
1425 ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
1426 # A ".." for each directory in $ac_dir_suffix.
1427 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
1428 case $ac_top_builddir_sub in
1429 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
1430 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
1433 ac_abs_top_builddir=$ac_pwd
1434 ac_abs_builddir=$ac_pwd$ac_dir_suffix
1435 # for backward compatibility:
1436 ac_top_builddir=$ac_top_build_prefix
1439 .) # We are building in place.
1441 ac_top_srcdir=$ac_top_builddir_sub
1442 ac_abs_top_srcdir=$ac_pwd ;;
1443 [\\/]* | ?:[\\/]* ) # Absolute name.
1444 ac_srcdir=$srcdir$ac_dir_suffix;
1445 ac_top_srcdir=$srcdir
1446 ac_abs_top_srcdir=$srcdir ;;
1448 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
1449 ac_top_srcdir=$ac_top_build_prefix$srcdir
1450 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
1452 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
1454 cd "$ac_dir" || { ac_status=$?; continue; }
1455 # Check for guested configure.
1456 if test -f "$ac_srcdir/configure.gnu"; then
1458 $SHELL "$ac_srcdir/configure.gnu" --help=recursive
1459 elif test -f "$ac_srcdir/configure"; then
1461 $SHELL "$ac_srcdir/configure" --help=recursive
1463 $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
1465 cd "$ac_pwd" || { ac_status=$?; break; }
1469 test -n "$ac_init_help" && exit $ac_status
1470 if $ac_init_version; then
1473 generated by GNU Autoconf 2.63
1475 Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001,
1476 2002, 2003, 2004, 2005, 2006, 2007, 2008 Free Software Foundation, Inc.
1477 This configure script is free software; the Free Software Foundation
1478 gives unlimited permission to copy, distribute and modify it.
1482 cat >config.log <<_ACEOF
1483 This file contains any messages produced by compilers while
1484 running configure, to aid debugging if configure makes a mistake.
1486 It was created by $as_me, which was
1487 generated by GNU Autoconf 2.63. Invocation command line was
1499 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
1500 uname -m = `(uname -m) 2>/dev/null || echo unknown`
1501 uname -r = `(uname -r) 2>/dev/null || echo unknown`
1502 uname -s = `(uname -s) 2>/dev/null || echo unknown`
1503 uname -v = `(uname -v) 2>/dev/null || echo unknown`
1505 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
1506 /bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown`
1508 /bin/arch = `(/bin/arch) 2>/dev/null || echo unknown`
1509 /usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown`
1510 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
1511 /usr/bin/hostinfo = `(/usr/bin/hostinfo) 2>/dev/null || echo unknown`
1512 /bin/machine = `(/bin/machine) 2>/dev/null || echo unknown`
1513 /usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown`
1514 /bin/universe = `(/bin/universe) 2>/dev/null || echo unknown`
1518 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1522 test -z "$as_dir" && as_dir=.
1523 $as_echo "PATH: $as_dir"
1539 # Keep a trace of the command line.
1540 # Strip out --no-create and --no-recursion so they do not pile up.
1541 # Strip out --silent because we don't want to record it for future runs.
1542 # Also quote any args containing shell meta-characters.
1543 # Make two passes to allow for proper duplicate-argument suppression.
1547 ac_must_keep_next=false
1553 -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
1554 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1555 | -silent | --silent | --silen | --sile | --sil)
1558 ac_arg=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
1561 1) ac_configure_args0="$ac_configure_args0 '$ac_arg'" ;;
1563 ac_configure_args1="$ac_configure_args1 '$ac_arg'"
1564 if test $ac_must_keep_next = true; then
1565 ac_must_keep_next=false # Got value, back to normal.
1568 *=* | --config-cache | -C | -disable-* | --disable-* \
1569 | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
1570 | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
1571 | -with-* | --with-* | -without-* | --without-* | --x)
1572 case "$ac_configure_args0 " in
1573 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
1576 -* ) ac_must_keep_next=true ;;
1579 ac_configure_args="$ac_configure_args '$ac_arg'"
1584 $as_unset ac_configure_args0 || test "${ac_configure_args0+set}" != set || { ac_configure_args0=; export ac_configure_args0; }
1585 $as_unset ac_configure_args1 || test "${ac_configure_args1+set}" != set || { ac_configure_args1=; export ac_configure_args1; }
1587 # When interrupted or exit'd, cleanup temporary files, and complete
1588 # config.log. We remove comments because anyway the quotes in there
1589 # would cause problems or look ugly.
1590 # WARNING: Use '\'' to represent an apostrophe within the trap.
1591 # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
1592 trap 'exit_status=$?
1593 # Save into config.log some information that might help in debugging.
1598 ## ---------------- ##
1599 ## Cache variables. ##
1600 ## ---------------- ##
1603 # The following way of writing the cache mishandles newlines in values,
1605 for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
1606 eval ac_val=\$$ac_var
1610 *_cv_*) { $as_echo "$as_me:$LINENO: WARNING: cache variable $ac_var contains a newline" >&5
1611 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
1614 _ | IFS | as_nl) ;; #(
1615 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
1616 *) $as_unset $ac_var ;;
1621 case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
1622 *${as_nl}ac_space=\ *)
1624 "s/'\''/'\''\\\\'\'''\''/g;
1625 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
1628 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
1636 ## ----------------- ##
1637 ## Output variables. ##
1638 ## ----------------- ##
1641 for ac_var in $ac_subst_vars
1643 eval ac_val=\$$ac_var
1645 *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
1647 $as_echo "$ac_var='\''$ac_val'\''"
1651 if test -n "$ac_subst_files"; then
1653 ## ------------------- ##
1654 ## File substitutions. ##
1655 ## ------------------- ##
1658 for ac_var in $ac_subst_files
1660 eval ac_val=\$$ac_var
1662 *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
1664 $as_echo "$ac_var='\''$ac_val'\''"
1669 if test -s confdefs.h; then
1679 test "$ac_signal" != 0 &&
1680 $as_echo "$as_me: caught signal $ac_signal"
1681 $as_echo "$as_me: exit $exit_status"
1683 rm -f core *.core core.conftest.* &&
1684 rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
1687 for ac_signal in 1 2 13 15; do
1688 trap 'ac_signal='$ac_signal'; { (exit 1); exit 1; }' $ac_signal
1692 # confdefs.h avoids OS command line length limits that DEFS can exceed.
1693 rm -f -r conftest* confdefs.h
1695 # Predefined preprocessor variables.
1697 cat >>confdefs.h <<_ACEOF
1698 #define PACKAGE_NAME "$PACKAGE_NAME"
1702 cat >>confdefs.h <<_ACEOF
1703 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
1707 cat >>confdefs.h <<_ACEOF
1708 #define PACKAGE_VERSION "$PACKAGE_VERSION"
1712 cat >>confdefs.h <<_ACEOF
1713 #define PACKAGE_STRING "$PACKAGE_STRING"
1717 cat >>confdefs.h <<_ACEOF
1718 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
1722 # Let the site file select an alternate cache file if it wants to.
1723 # Prefer an explicitly selected file to automatically selected ones.
1726 if test -n "$CONFIG_SITE"; then
1727 ac_site_file1=$CONFIG_SITE
1728 elif test "x$prefix" != xNONE; then
1729 ac_site_file1=$prefix/share/config.site
1730 ac_site_file2=$prefix/etc/config.site
1732 ac_site_file1=$ac_default_prefix/share/config.site
1733 ac_site_file2=$ac_default_prefix/etc/config.site
1735 for ac_site_file in "$ac_site_file1" "$ac_site_file2"
1737 test "x$ac_site_file" = xNONE && continue
1738 if test -r "$ac_site_file"; then
1739 { $as_echo "$as_me:$LINENO: loading site script $ac_site_file" >&5
1740 $as_echo "$as_me: loading site script $ac_site_file" >&6;}
1741 sed 's/^/| /' "$ac_site_file" >&5
1746 if test -r "$cache_file"; then
1747 # Some versions of bash will fail to source /dev/null (special
1748 # files actually), so we avoid doing that.
1749 if test -f "$cache_file"; then
1750 { $as_echo "$as_me:$LINENO: loading cache $cache_file" >&5
1751 $as_echo "$as_me: loading cache $cache_file" >&6;}
1753 [\\/]* | ?:[\\/]* ) . "$cache_file";;
1754 *) . "./$cache_file";;
1758 { $as_echo "$as_me:$LINENO: creating cache $cache_file" >&5
1759 $as_echo "$as_me: creating cache $cache_file" >&6;}
1763 # Check that the precious variables saved in the cache have kept the same
1765 ac_cache_corrupted=false
1766 for ac_var in $ac_precious_vars; do
1767 eval ac_old_set=\$ac_cv_env_${ac_var}_set
1768 eval ac_new_set=\$ac_env_${ac_var}_set
1769 eval ac_old_val=\$ac_cv_env_${ac_var}_value
1770 eval ac_new_val=\$ac_env_${ac_var}_value
1771 case $ac_old_set,$ac_new_set in
1773 { $as_echo "$as_me:$LINENO: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
1774 $as_echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
1775 ac_cache_corrupted=: ;;
1777 { $as_echo "$as_me:$LINENO: error: \`$ac_var' was not set in the previous run" >&5
1778 $as_echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
1779 ac_cache_corrupted=: ;;
1782 if test "x$ac_old_val" != "x$ac_new_val"; then
1783 # differences in whitespace do not lead to failure.
1784 ac_old_val_w=`echo x $ac_old_val`
1785 ac_new_val_w=`echo x $ac_new_val`
1786 if test "$ac_old_val_w" != "$ac_new_val_w"; then
1787 { $as_echo "$as_me:$LINENO: error: \`$ac_var' has changed since the previous run:" >&5
1788 $as_echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
1789 ac_cache_corrupted=:
1791 { $as_echo "$as_me:$LINENO: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5
1792 $as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;}
1793 eval $ac_var=\$ac_old_val
1795 { $as_echo "$as_me:$LINENO: former value: \`$ac_old_val'" >&5
1796 $as_echo "$as_me: former value: \`$ac_old_val'" >&2;}
1797 { $as_echo "$as_me:$LINENO: current value: \`$ac_new_val'" >&5
1798 $as_echo "$as_me: current value: \`$ac_new_val'" >&2;}
1801 # Pass precious variables to config.status.
1802 if test "$ac_new_set" = set; then
1804 *\'*) ac_arg=$ac_var=`$as_echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
1805 *) ac_arg=$ac_var=$ac_new_val ;;
1807 case " $ac_configure_args " in
1808 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
1809 *) ac_configure_args="$ac_configure_args '$ac_arg'" ;;
1813 if $ac_cache_corrupted; then
1814 { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
1815 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
1816 { $as_echo "$as_me:$LINENO: error: changes in the environment can compromise the build" >&5
1817 $as_echo "$as_me: error: changes in the environment can compromise the build" >&2;}
1818 { { $as_echo "$as_me:$LINENO: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&5
1819 $as_echo "$as_me: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&2;}
1820 { (exit 1); exit 1; }; }
1840 ac_cpp='$CPP $CPPFLAGS'
1841 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
1842 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
1843 ac_compiler_gnu=$ac_cv_c_compiler_gnu
1846 am__api_version='1.11'
1849 for ac_dir in "$srcdir" "$srcdir/.." "$srcdir/../.."; do
1850 if test -f "$ac_dir/install-sh"; then
1852 ac_install_sh="$ac_aux_dir/install-sh -c"
1854 elif test -f "$ac_dir/install.sh"; then
1856 ac_install_sh="$ac_aux_dir/install.sh -c"
1858 elif test -f "$ac_dir/shtool"; then
1860 ac_install_sh="$ac_aux_dir/shtool install -c"
1864 if test -z "$ac_aux_dir"; then
1865 { { $as_echo "$as_me:$LINENO: error: cannot find install-sh or install.sh in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" >&5
1866 $as_echo "$as_me: error: cannot find install-sh or install.sh in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" >&2;}
1867 { (exit 1); exit 1; }; }
1870 # These three variables are undocumented and unsupported,
1871 # and are intended to be withdrawn in a future Autoconf release.
1872 # They can cause serious problems if a builder's source tree is in a directory
1873 # whose full name contains unusual characters.
1874 ac_config_guess="$SHELL $ac_aux_dir/config.guess" # Please don't use this var.
1875 ac_config_sub="$SHELL $ac_aux_dir/config.sub" # Please don't use this var.
1876 ac_configure="$SHELL $ac_aux_dir/configure" # Please don't use this var.
1879 # Find a good install program. We prefer a C program (faster),
1880 # so one script is as good as another. But avoid the broken or
1881 # incompatible versions:
1882 # SysV /etc/install, /usr/sbin/install
1883 # SunOS /usr/etc/install
1884 # IRIX /sbin/install
1886 # AmigaOS /C/install, which installs bootblocks on floppy discs
1887 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
1888 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
1889 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
1890 # OS/2's system install, which has a completely different semantic
1891 # ./install, which can be erroneously created by make from ./install.sh.
1892 # Reject install programs that cannot install multiple files.
1893 { $as_echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
1894 $as_echo_n "checking for a BSD-compatible install... " >&6; }
1895 if test -z "$INSTALL"; then
1896 if test "${ac_cv_path_install+set}" = set; then
1897 $as_echo_n "(cached) " >&6
1899 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1903 test -z "$as_dir" && as_dir=.
1904 # Account for people who put trailing slashes in PATH elements.
1906 ./ | .// | /cC/* | \
1907 /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
1908 ?:\\/os2\\/install\\/* | ?:\\/OS2\\/INSTALL\\/* | \
1911 # OSF1 and SCO ODT 3.0 have their own names for install.
1912 # Don't use installbsd from OSF since it installs stuff as root
1914 for ac_prog in ginstall scoinst install; do
1915 for ac_exec_ext in '' $ac_executable_extensions; do
1916 if { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; }; then
1917 if test $ac_prog = install &&
1918 grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
1919 # AIX install. It has an incompatible calling convention.
1921 elif test $ac_prog = install &&
1922 grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
1923 # program-specific install script used by HP pwplus--don't use.
1926 rm -rf conftest.one conftest.two conftest.dir
1927 echo one > conftest.one
1928 echo two > conftest.two
1930 if "$as_dir/$ac_prog$ac_exec_ext" -c conftest.one conftest.two "`pwd`/conftest.dir" &&
1931 test -s conftest.one && test -s conftest.two &&
1932 test -s conftest.dir/conftest.one &&
1933 test -s conftest.dir/conftest.two
1935 ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
1948 rm -rf conftest.one conftest.two conftest.dir
1951 if test "${ac_cv_path_install+set}" = set; then
1952 INSTALL=$ac_cv_path_install
1954 # As a last resort, use the slow shell script. Don't cache a
1955 # value for INSTALL within a source directory, because that will
1956 # break other packages using the cache if that directory is
1957 # removed, or if the value is a relative name.
1958 INSTALL=$ac_install_sh
1961 { $as_echo "$as_me:$LINENO: result: $INSTALL" >&5
1962 $as_echo "$INSTALL" >&6; }
1964 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
1965 # It thinks the first close brace ends the variable substitution.
1966 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
1968 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
1970 test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
1972 { $as_echo "$as_me:$LINENO: checking whether build environment is sane" >&5
1973 $as_echo_n "checking whether build environment is sane... " >&6; }
1976 echo timestamp > conftest.file
1977 # Reject unsafe characters in $srcdir or the absolute working directory
1978 # name. Accept space and tab only in the latter.
1982 *[\\\"\#\$\&\'\`$am_lf]*)
1983 { { $as_echo "$as_me:$LINENO: error: unsafe absolute working directory name" >&5
1984 $as_echo "$as_me: error: unsafe absolute working directory name" >&2;}
1985 { (exit 1); exit 1; }; };;
1988 *[\\\"\#\$\&\'\`$am_lf\ \ ]*)
1989 { { $as_echo "$as_me:$LINENO: error: unsafe srcdir value: \`$srcdir'" >&5
1990 $as_echo "$as_me: error: unsafe srcdir value: \`$srcdir'" >&2;}
1991 { (exit 1); exit 1; }; };;
1994 # Do `set' in a subshell so we don't clobber the current shell's
1995 # arguments. Must try -L first in case configure is actually a
1996 # symlink; some systems play weird games with the mod time of symlinks
1997 # (eg FreeBSD returns the mod time of the symlink's containing
2000 set X `ls -Lt "$srcdir/configure" conftest.file 2> /dev/null`
2001 if test "$*" = "X"; then
2003 set X `ls -t "$srcdir/configure" conftest.file`
2006 if test "$*" != "X $srcdir/configure conftest.file" \
2007 && test "$*" != "X conftest.file $srcdir/configure"; then
2009 # If neither matched, then we have a broken ls. This can happen
2010 # if, for instance, CONFIG_SHELL is bash and it inherits a
2011 # broken ls alias from the environment. This has actually
2012 # happened. Such a system could not be considered "sane".
2013 { { $as_echo "$as_me:$LINENO: error: ls -t appears to fail. Make sure there is not a broken
2014 alias in your environment" >&5
2015 $as_echo "$as_me: error: ls -t appears to fail. Make sure there is not a broken
2016 alias in your environment" >&2;}
2017 { (exit 1); exit 1; }; }
2020 test "$2" = conftest.file
2026 { { $as_echo "$as_me:$LINENO: error: newly created file is older than distributed files!
2027 Check your system clock" >&5
2028 $as_echo "$as_me: error: newly created file is older than distributed files!
2029 Check your system clock" >&2;}
2030 { (exit 1); exit 1; }; }
2032 { $as_echo "$as_me:$LINENO: result: yes" >&5
2033 $as_echo "yes" >&6; }
2034 test "$program_prefix" != NONE &&
2035 program_transform_name="s&^&$program_prefix&;$program_transform_name"
2036 # Use a double $ so make ignores it.
2037 test "$program_suffix" != NONE &&
2038 program_transform_name="s&\$&$program_suffix&;$program_transform_name"
2039 # Double any \ or $.
2040 # By default was `s,x,x', remove it if useless.
2041 ac_script='s/[\\$]/&&/g;s/;s,x,x,$//'
2042 program_transform_name=`$as_echo "$program_transform_name" | sed "$ac_script"`
2044 # expand $ac_aux_dir to an absolute path
2045 am_aux_dir=`cd $ac_aux_dir && pwd`
2047 if test x"${MISSING+set}" != xset; then
2050 MISSING="\${SHELL} \"$am_aux_dir/missing\"" ;;
2052 MISSING="\${SHELL} $am_aux_dir/missing" ;;
2055 # Use eval to expand $SHELL
2056 if eval "$MISSING --run true"; then
2057 am_missing_run="$MISSING --run "
2060 { $as_echo "$as_me:$LINENO: WARNING: \`missing' script is too old or missing" >&5
2061 $as_echo "$as_me: WARNING: \`missing' script is too old or missing" >&2;}
2064 if test x"${install_sh}" != xset; then
2067 install_sh="\${SHELL} '$am_aux_dir/install-sh'" ;;
2069 install_sh="\${SHELL} $am_aux_dir/install-sh"
2073 # Installed binaries are usually stripped using `strip' when the user
2074 # run `make install-strip'. However `strip' might not be the right
2075 # tool to use in cross-compilation environments, therefore Automake
2076 # will honor the `STRIP' environment variable to overrule this program.
2077 if test "$cross_compiling" != no; then
2078 if test -n "$ac_tool_prefix"; then
2079 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
2080 set dummy ${ac_tool_prefix}strip; ac_word=$2
2081 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
2082 $as_echo_n "checking for $ac_word... " >&6; }
2083 if test "${ac_cv_prog_STRIP+set}" = set; then
2084 $as_echo_n "(cached) " >&6
2086 if test -n "$STRIP"; then
2087 ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
2089 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2093 test -z "$as_dir" && as_dir=.
2094 for ac_exec_ext in '' $ac_executable_extensions; do
2095 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2096 ac_cv_prog_STRIP="${ac_tool_prefix}strip"
2097 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2106 STRIP=$ac_cv_prog_STRIP
2107 if test -n "$STRIP"; then
2108 { $as_echo "$as_me:$LINENO: result: $STRIP" >&5
2109 $as_echo "$STRIP" >&6; }
2111 { $as_echo "$as_me:$LINENO: result: no" >&5
2112 $as_echo "no" >&6; }
2117 if test -z "$ac_cv_prog_STRIP"; then
2119 # Extract the first word of "strip", so it can be a program name with args.
2120 set dummy strip; ac_word=$2
2121 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
2122 $as_echo_n "checking for $ac_word... " >&6; }
2123 if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then
2124 $as_echo_n "(cached) " >&6
2126 if test -n "$ac_ct_STRIP"; then
2127 ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
2129 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2133 test -z "$as_dir" && as_dir=.
2134 for ac_exec_ext in '' $ac_executable_extensions; do
2135 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2136 ac_cv_prog_ac_ct_STRIP="strip"
2137 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2146 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
2147 if test -n "$ac_ct_STRIP"; then
2148 { $as_echo "$as_me:$LINENO: result: $ac_ct_STRIP" >&5
2149 $as_echo "$ac_ct_STRIP" >&6; }
2151 { $as_echo "$as_me:$LINENO: result: no" >&5
2152 $as_echo "no" >&6; }
2155 if test "x$ac_ct_STRIP" = x; then
2158 case $cross_compiling:$ac_tool_warned in
2160 { $as_echo "$as_me:$LINENO: WARNING: using cross tools not prefixed with host triplet" >&5
2161 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
2162 ac_tool_warned=yes ;;
2167 STRIP="$ac_cv_prog_STRIP"
2171 INSTALL_STRIP_PROGRAM="\$(install_sh) -c -s"
2173 { $as_echo "$as_me:$LINENO: checking for a thread-safe mkdir -p" >&5
2174 $as_echo_n "checking for a thread-safe mkdir -p... " >&6; }
2175 if test -z "$MKDIR_P"; then
2176 if test "${ac_cv_path_mkdir+set}" = set; then
2177 $as_echo_n "(cached) " >&6
2179 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2180 for as_dir in $PATH$PATH_SEPARATOR/opt/sfw/bin
2183 test -z "$as_dir" && as_dir=.
2184 for ac_prog in mkdir gmkdir; do
2185 for ac_exec_ext in '' $ac_executable_extensions; do
2186 { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; } || continue
2187 case `"$as_dir/$ac_prog$ac_exec_ext" --version 2>&1` in #(
2188 'mkdir (GNU coreutils) '* | \
2189 'mkdir (coreutils) '* | \
2190 'mkdir (fileutils) '4.1*)
2191 ac_cv_path_mkdir=$as_dir/$ac_prog$ac_exec_ext
2201 if test "${ac_cv_path_mkdir+set}" = set; then
2202 MKDIR_P="$ac_cv_path_mkdir -p"
2204 # As a last resort, use the slow shell script. Don't cache a
2205 # value for MKDIR_P within a source directory, because that will
2206 # break other packages using the cache if that directory is
2207 # removed, or if the value is a relative name.
2208 test -d ./--version && rmdir ./--version
2209 MKDIR_P="$ac_install_sh -d"
2212 { $as_echo "$as_me:$LINENO: result: $MKDIR_P" >&5
2213 $as_echo "$MKDIR_P" >&6; }
2217 [\\/$]* | ?:[\\/]*) ;;
2218 */*) mkdir_p="\$(top_builddir)/$mkdir_p" ;;
2221 for ac_prog in gawk mawk nawk awk
2223 # Extract the first word of "$ac_prog", so it can be a program name with args.
2224 set dummy $ac_prog; ac_word=$2
2225 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
2226 $as_echo_n "checking for $ac_word... " >&6; }
2227 if test "${ac_cv_prog_AWK+set}" = set; then
2228 $as_echo_n "(cached) " >&6
2230 if test -n "$AWK"; then
2231 ac_cv_prog_AWK="$AWK" # Let the user override the test.
2233 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2237 test -z "$as_dir" && as_dir=.
2238 for ac_exec_ext in '' $ac_executable_extensions; do
2239 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2240 ac_cv_prog_AWK="$ac_prog"
2241 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2251 if test -n "$AWK"; then
2252 { $as_echo "$as_me:$LINENO: result: $AWK" >&5
2253 $as_echo "$AWK" >&6; }
2255 { $as_echo "$as_me:$LINENO: result: no" >&5
2256 $as_echo "no" >&6; }
2260 test -n "$AWK" && break
2263 { $as_echo "$as_me:$LINENO: checking whether ${MAKE-make} sets \$(MAKE)" >&5
2264 $as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; }
2266 ac_make=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
2267 if { as_var=ac_cv_prog_make_${ac_make}_set; eval "test \"\${$as_var+set}\" = set"; }; then
2268 $as_echo_n "(cached) " >&6
2270 cat >conftest.make <<\_ACEOF
2273 @echo '@@@%%%=$(MAKE)=@@@%%%'
2275 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
2276 case `${MAKE-make} -f conftest.make 2>/dev/null` in
2278 eval ac_cv_prog_make_${ac_make}_set=yes;;
2280 eval ac_cv_prog_make_${ac_make}_set=no;;
2284 if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then
2285 { $as_echo "$as_me:$LINENO: result: yes" >&5
2286 $as_echo "yes" >&6; }
2289 { $as_echo "$as_me:$LINENO: result: no" >&5
2290 $as_echo "no" >&6; }
2291 SET_MAKE="MAKE=${MAKE-make}"
2294 rm -rf .tst 2>/dev/null
2295 mkdir .tst 2>/dev/null
2296 if test -d .tst; then
2301 rmdir .tst 2>/dev/null
2303 if test "`cd $srcdir && pwd`" != "`pwd`"; then
2304 # Use -I$(srcdir) only when $(srcdir) != ., so that make's output
2305 # is not polluted with repeated "-I."
2306 am__isrc=' -I$(srcdir)'
2307 # test to see if srcdir already configured
2308 if test -f $srcdir/config.status; then
2309 { { $as_echo "$as_me:$LINENO: error: source directory already configured; run \"make distclean\" there first" >&5
2310 $as_echo "$as_me: error: source directory already configured; run \"make distclean\" there first" >&2;}
2311 { (exit 1); exit 1; }; }
2315 # test whether we have cygpath
2316 if test -z "$CYGPATH_W"; then
2317 if (cygpath --version) >/dev/null 2>/dev/null; then
2318 CYGPATH_W='cygpath -w'
2325 # Define the identity of the package.
2330 cat >>confdefs.h <<_ACEOF
2331 #define PACKAGE "$PACKAGE"
2335 cat >>confdefs.h <<_ACEOF
2336 #define VERSION "$VERSION"
2339 # Some tools Automake needs.
2341 ACLOCAL=${ACLOCAL-"${am_missing_run}aclocal-${am__api_version}"}
2344 AUTOCONF=${AUTOCONF-"${am_missing_run}autoconf"}
2347 AUTOMAKE=${AUTOMAKE-"${am_missing_run}automake-${am__api_version}"}
2350 AUTOHEADER=${AUTOHEADER-"${am_missing_run}autoheader"}
2353 MAKEINFO=${MAKEINFO-"${am_missing_run}makeinfo"}
2355 # We need awk for the "check" target. The system "awk" is bad on
2357 # Always define AMTAR for backward compatibility.
2359 AMTAR=${AMTAR-"${am_missing_run}tar"}
2361 am__tar='${AMTAR} chof - "$$tardir"'; am__untar='${AMTAR} xf -'
2367 ac_config_headers="$ac_config_headers config.h"
2370 { $as_echo "$as_me:$LINENO: checking whether to enable maintainer-specific portions of Makefiles" >&5
2371 $as_echo_n "checking whether to enable maintainer-specific portions of Makefiles... " >&6; }
2372 # Check whether --enable-maintainer-mode was given.
2373 if test "${enable_maintainer_mode+set}" = set; then
2374 enableval=$enable_maintainer_mode; USE_MAINTAINER_MODE=$enableval
2376 USE_MAINTAINER_MODE=no
2379 { $as_echo "$as_me:$LINENO: result: $USE_MAINTAINER_MODE" >&5
2380 $as_echo "$USE_MAINTAINER_MODE" >&6; }
2381 if test $USE_MAINTAINER_MODE = yes; then
2382 MAINTAINER_MODE_TRUE=
2383 MAINTAINER_MODE_FALSE='#'
2385 MAINTAINER_MODE_TRUE='#'
2386 MAINTAINER_MODE_FALSE=
2389 MAINT=$MAINTAINER_MODE_TRUE
2393 DEPDIR="${am__leading_dot}deps"
2395 ac_config_commands="$ac_config_commands depfiles"
2398 am_make=${MAKE-make}
2399 cat > confinc << 'END'
2401 @echo this is the am__doit target
2404 # If we don't find an include directive, just comment out the code.
2405 { $as_echo "$as_me:$LINENO: checking for style of include used by $am_make" >&5
2406 $as_echo_n "checking for style of include used by $am_make... " >&6; }
2410 # First try GNU make style include.
2411 echo "include confinc" > confmf
2412 # Ignore all kinds of additional output from `make'.
2413 case `$am_make -s -f confmf 2> /dev/null` in #(
2414 *the\ am__doit\ target*)
2420 # Now try BSD make style include.
2421 if test "$am__include" = "#"; then
2422 echo '.include "confinc"' > confmf
2423 case `$am_make -s -f confmf 2> /dev/null` in #(
2424 *the\ am__doit\ target*)
2425 am__include=.include
2433 { $as_echo "$as_me:$LINENO: result: $_am_result" >&5
2434 $as_echo "$_am_result" >&6; }
2435 rm -f confinc confmf
2437 # Check whether --enable-dependency-tracking was given.
2438 if test "${enable_dependency_tracking+set}" = set; then
2439 enableval=$enable_dependency_tracking;
2442 if test "x$enable_dependency_tracking" != xno; then
2443 am_depcomp="$ac_aux_dir/depcomp"
2446 if test "x$enable_dependency_tracking" != xno; then
2456 ac_cpp='$CPP $CPPFLAGS'
2457 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2458 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2459 ac_compiler_gnu=$ac_cv_c_compiler_gnu
2460 if test -n "$ac_tool_prefix"; then
2461 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
2462 set dummy ${ac_tool_prefix}gcc; ac_word=$2
2463 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
2464 $as_echo_n "checking for $ac_word... " >&6; }
2465 if test "${ac_cv_prog_CC+set}" = set; then
2466 $as_echo_n "(cached) " >&6
2468 if test -n "$CC"; then
2469 ac_cv_prog_CC="$CC" # Let the user override the test.
2471 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2475 test -z "$as_dir" && as_dir=.
2476 for ac_exec_ext in '' $ac_executable_extensions; do
2477 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2478 ac_cv_prog_CC="${ac_tool_prefix}gcc"
2479 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2489 if test -n "$CC"; then
2490 { $as_echo "$as_me:$LINENO: result: $CC" >&5
2491 $as_echo "$CC" >&6; }
2493 { $as_echo "$as_me:$LINENO: result: no" >&5
2494 $as_echo "no" >&6; }
2499 if test -z "$ac_cv_prog_CC"; then
2501 # Extract the first word of "gcc", so it can be a program name with args.
2502 set dummy gcc; ac_word=$2
2503 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
2504 $as_echo_n "checking for $ac_word... " >&6; }
2505 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
2506 $as_echo_n "(cached) " >&6
2508 if test -n "$ac_ct_CC"; then
2509 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
2511 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2515 test -z "$as_dir" && as_dir=.
2516 for ac_exec_ext in '' $ac_executable_extensions; do
2517 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2518 ac_cv_prog_ac_ct_CC="gcc"
2519 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2528 ac_ct_CC=$ac_cv_prog_ac_ct_CC
2529 if test -n "$ac_ct_CC"; then
2530 { $as_echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
2531 $as_echo "$ac_ct_CC" >&6; }
2533 { $as_echo "$as_me:$LINENO: result: no" >&5
2534 $as_echo "no" >&6; }
2537 if test "x$ac_ct_CC" = x; then
2540 case $cross_compiling:$ac_tool_warned in
2542 { $as_echo "$as_me:$LINENO: WARNING: using cross tools not prefixed with host triplet" >&5
2543 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
2544 ac_tool_warned=yes ;;
2552 if test -z "$CC"; then
2553 if test -n "$ac_tool_prefix"; then
2554 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
2555 set dummy ${ac_tool_prefix}cc; ac_word=$2
2556 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
2557 $as_echo_n "checking for $ac_word... " >&6; }
2558 if test "${ac_cv_prog_CC+set}" = set; then
2559 $as_echo_n "(cached) " >&6
2561 if test -n "$CC"; then
2562 ac_cv_prog_CC="$CC" # Let the user override the test.
2564 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2568 test -z "$as_dir" && as_dir=.
2569 for ac_exec_ext in '' $ac_executable_extensions; do
2570 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2571 ac_cv_prog_CC="${ac_tool_prefix}cc"
2572 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2582 if test -n "$CC"; then
2583 { $as_echo "$as_me:$LINENO: result: $CC" >&5
2584 $as_echo "$CC" >&6; }
2586 { $as_echo "$as_me:$LINENO: result: no" >&5
2587 $as_echo "no" >&6; }
2593 if test -z "$CC"; then
2594 # Extract the first word of "cc", so it can be a program name with args.
2595 set dummy cc; ac_word=$2
2596 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
2597 $as_echo_n "checking for $ac_word... " >&6; }
2598 if test "${ac_cv_prog_CC+set}" = set; then
2599 $as_echo_n "(cached) " >&6
2601 if test -n "$CC"; then
2602 ac_cv_prog_CC="$CC" # Let the user override the test.
2605 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2609 test -z "$as_dir" && as_dir=.
2610 for ac_exec_ext in '' $ac_executable_extensions; do
2611 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2612 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
2613 ac_prog_rejected=yes
2617 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2624 if test $ac_prog_rejected = yes; then
2625 # We found a bogon in the path, so make sure we never use it.
2626 set dummy $ac_cv_prog_CC
2628 if test $# != 0; then
2629 # We chose a different compiler from the bogus one.
2630 # However, it has the same basename, so the bogon will be chosen
2631 # first if we set CC to just the basename; use the full file name.
2633 ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
2639 if test -n "$CC"; then
2640 { $as_echo "$as_me:$LINENO: result: $CC" >&5
2641 $as_echo "$CC" >&6; }
2643 { $as_echo "$as_me:$LINENO: result: no" >&5
2644 $as_echo "no" >&6; }
2649 if test -z "$CC"; then
2650 if test -n "$ac_tool_prefix"; then
2651 for ac_prog in cl.exe
2653 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
2654 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
2655 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
2656 $as_echo_n "checking for $ac_word... " >&6; }
2657 if test "${ac_cv_prog_CC+set}" = set; then
2658 $as_echo_n "(cached) " >&6
2660 if test -n "$CC"; then
2661 ac_cv_prog_CC="$CC" # Let the user override the test.
2663 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2667 test -z "$as_dir" && as_dir=.
2668 for ac_exec_ext in '' $ac_executable_extensions; do
2669 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2670 ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
2671 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2681 if test -n "$CC"; then
2682 { $as_echo "$as_me:$LINENO: result: $CC" >&5
2683 $as_echo "$CC" >&6; }
2685 { $as_echo "$as_me:$LINENO: result: no" >&5
2686 $as_echo "no" >&6; }
2690 test -n "$CC" && break
2693 if test -z "$CC"; then
2695 for ac_prog in cl.exe
2697 # Extract the first word of "$ac_prog", so it can be a program name with args.
2698 set dummy $ac_prog; ac_word=$2
2699 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
2700 $as_echo_n "checking for $ac_word... " >&6; }
2701 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
2702 $as_echo_n "(cached) " >&6
2704 if test -n "$ac_ct_CC"; then
2705 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
2707 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2711 test -z "$as_dir" && as_dir=.
2712 for ac_exec_ext in '' $ac_executable_extensions; do
2713 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2714 ac_cv_prog_ac_ct_CC="$ac_prog"
2715 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2724 ac_ct_CC=$ac_cv_prog_ac_ct_CC
2725 if test -n "$ac_ct_CC"; then
2726 { $as_echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
2727 $as_echo "$ac_ct_CC" >&6; }
2729 { $as_echo "$as_me:$LINENO: result: no" >&5
2730 $as_echo "no" >&6; }
2734 test -n "$ac_ct_CC" && break
2737 if test "x$ac_ct_CC" = x; then
2740 case $cross_compiling:$ac_tool_warned in
2742 { $as_echo "$as_me:$LINENO: WARNING: using cross tools not prefixed with host triplet" >&5
2743 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
2744 ac_tool_warned=yes ;;
2753 test -z "$CC" && { { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
2754 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2755 { { $as_echo "$as_me:$LINENO: error: no acceptable C compiler found in \$PATH
2756 See \`config.log' for more details." >&5
2757 $as_echo "$as_me: error: no acceptable C compiler found in \$PATH
2758 See \`config.log' for more details." >&2;}
2759 { (exit 1); exit 1; }; }; }
2761 # Provide some information about the compiler.
2762 $as_echo "$as_me:$LINENO: checking for C compiler version" >&5
2765 { (ac_try="$ac_compiler --version >&5"
2767 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2768 *) ac_try_echo=$ac_try;;
2770 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
2771 $as_echo "$ac_try_echo") >&5
2772 (eval "$ac_compiler --version >&5") 2>&5
2774 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
2775 (exit $ac_status); }
2776 { (ac_try="$ac_compiler -v >&5"
2778 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2779 *) ac_try_echo=$ac_try;;
2781 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
2782 $as_echo "$ac_try_echo") >&5
2783 (eval "$ac_compiler -v >&5") 2>&5
2785 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
2786 (exit $ac_status); }
2787 { (ac_try="$ac_compiler -V >&5"
2789 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2790 *) ac_try_echo=$ac_try;;
2792 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
2793 $as_echo "$ac_try_echo") >&5
2794 (eval "$ac_compiler -V >&5") 2>&5
2796 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
2797 (exit $ac_status); }
2799 cat >conftest.$ac_ext <<_ACEOF
2802 cat confdefs.h >>conftest.$ac_ext
2803 cat >>conftest.$ac_ext <<_ACEOF
2804 /* end confdefs.h. */
2814 ac_clean_files_save=$ac_clean_files
2815 ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out"
2816 # Try to create an executable without -o first, disregard a.out.
2817 # It will help us diagnose broken compilers, and finding out an intuition
2819 { $as_echo "$as_me:$LINENO: checking for C compiler default output file name" >&5
2820 $as_echo_n "checking for C compiler default output file name... " >&6; }
2821 ac_link_default=`$as_echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
2823 # The possible output files:
2824 ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*"
2827 for ac_file in $ac_files
2830 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
2831 * ) ac_rmfiles="$ac_rmfiles $ac_file";;
2836 if { (ac_try="$ac_link_default"
2838 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2839 *) ac_try_echo=$ac_try;;
2841 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
2842 $as_echo "$ac_try_echo") >&5
2843 (eval "$ac_link_default") 2>&5
2845 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
2846 (exit $ac_status); }; then
2847 # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
2848 # So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
2849 # in a Makefile. We should not override ac_cv_exeext if it was cached,
2850 # so that the user can short-circuit this test for compilers unknown to
2852 for ac_file in $ac_files ''
2854 test -f "$ac_file" || continue
2856 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj )
2859 # We found the default executable, but exeext='' is most
2863 if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no;
2865 ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
2867 # We set ac_cv_exeext here because the later test for it is not
2868 # safe: cross compilers may not add the suffix if given an `-o'
2869 # argument, so we may need to know it at that point already.
2870 # Even if this section looks crufty: it has the advantage of
2877 test "$ac_cv_exeext" = no && ac_cv_exeext=
2883 { $as_echo "$as_me:$LINENO: result: $ac_file" >&5
2884 $as_echo "$ac_file" >&6; }
2885 if test -z "$ac_file"; then
2886 $as_echo "$as_me: failed program was:" >&5
2887 sed 's/^/| /' conftest.$ac_ext >&5
2889 { { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
2890 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2891 { { $as_echo "$as_me:$LINENO: error: C compiler cannot create executables
2892 See \`config.log' for more details." >&5
2893 $as_echo "$as_me: error: C compiler cannot create executables
2894 See \`config.log' for more details." >&2;}
2895 { (exit 77); exit 77; }; }; }
2898 ac_exeext=$ac_cv_exeext
2900 # Check that the compiler produces executables we can run. If not, either
2901 # the compiler is broken, or we cross compile.
2902 { $as_echo "$as_me:$LINENO: checking whether the C compiler works" >&5
2903 $as_echo_n "checking whether the C compiler works... " >&6; }
2904 # FIXME: These cross compiler hacks should be removed for Autoconf 3.0
2905 # If not cross compiling, check that we can run a simple program.
2906 if test "$cross_compiling" != yes; then
2907 if { ac_try='./$ac_file'
2908 { (case "(($ac_try" in
2909 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2910 *) ac_try_echo=$ac_try;;
2912 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
2913 $as_echo "$ac_try_echo") >&5
2914 (eval "$ac_try") 2>&5
2916 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
2917 (exit $ac_status); }; }; then
2920 if test "$cross_compiling" = maybe; then
2923 { { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
2924 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2925 { { $as_echo "$as_me:$LINENO: error: cannot run C compiled programs.
2926 If you meant to cross compile, use \`--host'.
2927 See \`config.log' for more details." >&5
2928 $as_echo "$as_me: error: cannot run C compiled programs.
2929 If you meant to cross compile, use \`--host'.
2930 See \`config.log' for more details." >&2;}
2931 { (exit 1); exit 1; }; }; }
2935 { $as_echo "$as_me:$LINENO: result: yes" >&5
2936 $as_echo "yes" >&6; }
2938 rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out
2939 ac_clean_files=$ac_clean_files_save
2940 # Check that the compiler produces executables we can run. If not, either
2941 # the compiler is broken, or we cross compile.
2942 { $as_echo "$as_me:$LINENO: checking whether we are cross compiling" >&5
2943 $as_echo_n "checking whether we are cross compiling... " >&6; }
2944 { $as_echo "$as_me:$LINENO: result: $cross_compiling" >&5
2945 $as_echo "$cross_compiling" >&6; }
2947 { $as_echo "$as_me:$LINENO: checking for suffix of executables" >&5
2948 $as_echo_n "checking for suffix of executables... " >&6; }
2949 if { (ac_try="$ac_link"
2951 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2952 *) ac_try_echo=$ac_try;;
2954 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
2955 $as_echo "$ac_try_echo") >&5
2956 (eval "$ac_link") 2>&5
2958 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
2959 (exit $ac_status); }; then
2960 # If both `conftest.exe' and `conftest' are `present' (well, observable)
2961 # catch `conftest.exe'. For instance with Cygwin, `ls conftest' will
2962 # work properly (i.e., refer to `conftest.exe'), while it won't with
2964 for ac_file in conftest.exe conftest conftest.*; do
2965 test -f "$ac_file" || continue
2967 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
2968 *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
2974 { { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
2975 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2976 { { $as_echo "$as_me:$LINENO: error: cannot compute suffix of executables: cannot compile and link
2977 See \`config.log' for more details." >&5
2978 $as_echo "$as_me: error: cannot compute suffix of executables: cannot compile and link
2979 See \`config.log' for more details." >&2;}
2980 { (exit 1); exit 1; }; }; }
2983 rm -f conftest$ac_cv_exeext
2984 { $as_echo "$as_me:$LINENO: result: $ac_cv_exeext" >&5
2985 $as_echo "$ac_cv_exeext" >&6; }
2987 rm -f conftest.$ac_ext
2988 EXEEXT=$ac_cv_exeext
2990 { $as_echo "$as_me:$LINENO: checking for suffix of object files" >&5
2991 $as_echo_n "checking for suffix of object files... " >&6; }
2992 if test "${ac_cv_objext+set}" = set; then
2993 $as_echo_n "(cached) " >&6
2995 cat >conftest.$ac_ext <<_ACEOF
2998 cat confdefs.h >>conftest.$ac_ext
2999 cat >>conftest.$ac_ext <<_ACEOF
3000 /* end confdefs.h. */
3010 rm -f conftest.o conftest.obj
3011 if { (ac_try="$ac_compile"
3013 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3014 *) ac_try_echo=$ac_try;;
3016 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
3017 $as_echo "$ac_try_echo") >&5
3018 (eval "$ac_compile") 2>&5
3020 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
3021 (exit $ac_status); }; then
3022 for ac_file in conftest.o conftest.obj conftest.*; do
3023 test -f "$ac_file" || continue;
3025 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;;
3026 *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
3031 $as_echo "$as_me: failed program was:" >&5
3032 sed 's/^/| /' conftest.$ac_ext >&5
3034 { { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
3035 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3036 { { $as_echo "$as_me:$LINENO: error: cannot compute suffix of object files: cannot compile
3037 See \`config.log' for more details." >&5
3038 $as_echo "$as_me: error: cannot compute suffix of object files: cannot compile
3039 See \`config.log' for more details." >&2;}
3040 { (exit 1); exit 1; }; }; }
3043 rm -f conftest.$ac_cv_objext conftest.$ac_ext
3045 { $as_echo "$as_me:$LINENO: result: $ac_cv_objext" >&5
3046 $as_echo "$ac_cv_objext" >&6; }
3047 OBJEXT=$ac_cv_objext
3049 { $as_echo "$as_me:$LINENO: checking whether we are using the GNU C compiler" >&5
3050 $as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
3051 if test "${ac_cv_c_compiler_gnu+set}" = set; then
3052 $as_echo_n "(cached) " >&6
3054 cat >conftest.$ac_ext <<_ACEOF
3057 cat confdefs.h >>conftest.$ac_ext
3058 cat >>conftest.$ac_ext <<_ACEOF
3059 /* end confdefs.h. */
3072 rm -f conftest.$ac_objext
3073 if { (ac_try="$ac_compile"
3075 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3076 *) ac_try_echo=$ac_try;;
3078 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
3079 $as_echo "$ac_try_echo") >&5
3080 (eval "$ac_compile") 2>conftest.er1
3082 grep -v '^ *+' conftest.er1 >conftest.err
3084 cat conftest.err >&5
3085 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
3086 (exit $ac_status); } && {
3087 test -z "$ac_c_werror_flag" ||
3088 test ! -s conftest.err
3089 } && test -s conftest.$ac_objext; then
3092 $as_echo "$as_me: failed program was:" >&5
3093 sed 's/^/| /' conftest.$ac_ext >&5
3098 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3099 ac_cv_c_compiler_gnu=$ac_compiler_gnu
3102 { $as_echo "$as_me:$LINENO: result: $ac_cv_c_compiler_gnu" >&5
3103 $as_echo "$ac_cv_c_compiler_gnu" >&6; }
3104 if test $ac_compiler_gnu = yes; then
3109 ac_test_CFLAGS=${CFLAGS+set}
3110 ac_save_CFLAGS=$CFLAGS
3111 { $as_echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5
3112 $as_echo_n "checking whether $CC accepts -g... " >&6; }
3113 if test "${ac_cv_prog_cc_g+set}" = set; then
3114 $as_echo_n "(cached) " >&6
3116 ac_save_c_werror_flag=$ac_c_werror_flag
3117 ac_c_werror_flag=yes
3120 cat >conftest.$ac_ext <<_ACEOF
3123 cat confdefs.h >>conftest.$ac_ext
3124 cat >>conftest.$ac_ext <<_ACEOF
3125 /* end confdefs.h. */
3135 rm -f conftest.$ac_objext
3136 if { (ac_try="$ac_compile"
3138 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3139 *) ac_try_echo=$ac_try;;
3141 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
3142 $as_echo "$ac_try_echo") >&5
3143 (eval "$ac_compile") 2>conftest.er1
3145 grep -v '^ *+' conftest.er1 >conftest.err
3147 cat conftest.err >&5
3148 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
3149 (exit $ac_status); } && {
3150 test -z "$ac_c_werror_flag" ||
3151 test ! -s conftest.err
3152 } && test -s conftest.$ac_objext; then
3155 $as_echo "$as_me: failed program was:" >&5
3156 sed 's/^/| /' conftest.$ac_ext >&5
3159 cat >conftest.$ac_ext <<_ACEOF
3162 cat confdefs.h >>conftest.$ac_ext
3163 cat >>conftest.$ac_ext <<_ACEOF
3164 /* end confdefs.h. */
3174 rm -f conftest.$ac_objext
3175 if { (ac_try="$ac_compile"
3177 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3178 *) ac_try_echo=$ac_try;;
3180 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
3181 $as_echo "$ac_try_echo") >&5
3182 (eval "$ac_compile") 2>conftest.er1
3184 grep -v '^ *+' conftest.er1 >conftest.err
3186 cat conftest.err >&5
3187 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
3188 (exit $ac_status); } && {
3189 test -z "$ac_c_werror_flag" ||
3190 test ! -s conftest.err
3191 } && test -s conftest.$ac_objext; then
3194 $as_echo "$as_me: failed program was:" >&5
3195 sed 's/^/| /' conftest.$ac_ext >&5
3197 ac_c_werror_flag=$ac_save_c_werror_flag
3199 cat >conftest.$ac_ext <<_ACEOF
3202 cat confdefs.h >>conftest.$ac_ext
3203 cat >>conftest.$ac_ext <<_ACEOF
3204 /* end confdefs.h. */
3214 rm -f conftest.$ac_objext
3215 if { (ac_try="$ac_compile"
3217 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3218 *) ac_try_echo=$ac_try;;
3220 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
3221 $as_echo "$ac_try_echo") >&5
3222 (eval "$ac_compile") 2>conftest.er1
3224 grep -v '^ *+' conftest.er1 >conftest.err
3226 cat conftest.err >&5
3227 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
3228 (exit $ac_status); } && {
3229 test -z "$ac_c_werror_flag" ||
3230 test ! -s conftest.err
3231 } && test -s conftest.$ac_objext; then
3234 $as_echo "$as_me: failed program was:" >&5
3235 sed 's/^/| /' conftest.$ac_ext >&5
3240 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3243 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3246 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3247 ac_c_werror_flag=$ac_save_c_werror_flag
3249 { $as_echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
3250 $as_echo "$ac_cv_prog_cc_g" >&6; }
3251 if test "$ac_test_CFLAGS" = set; then
3252 CFLAGS=$ac_save_CFLAGS
3253 elif test $ac_cv_prog_cc_g = yes; then
3254 if test "$GCC" = yes; then
3260 if test "$GCC" = yes; then
3266 { $as_echo "$as_me:$LINENO: checking for $CC option to accept ISO C89" >&5
3267 $as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
3268 if test "${ac_cv_prog_cc_c89+set}" = set; then
3269 $as_echo_n "(cached) " >&6
3271 ac_cv_prog_cc_c89=no
3273 cat >conftest.$ac_ext <<_ACEOF
3276 cat confdefs.h >>conftest.$ac_ext
3277 cat >>conftest.$ac_ext <<_ACEOF
3278 /* end confdefs.h. */
3281 #include <sys/types.h>
3282 #include <sys/stat.h>
3283 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
3284 struct buf { int x; };
3285 FILE * (*rcsopen) (struct buf *, struct stat *, int);
3286 static char *e (p, i)
3292 static char *f (char * (*g) (char **, int), char **p, ...)
3297 s = g (p, va_arg (v,int));
3302 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
3303 function prototypes and stuff, but not '\xHH' hex character constants.
3304 These don't provoke an error unfortunately, instead are silently treated
3305 as 'x'. The following induces an error, until -std is added to get
3306 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
3307 array size at least. It's necessary to write '\x00'==0 to get something
3308 that's true only with -std. */
3309 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
3311 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
3312 inside strings and character constants. */
3314 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
3316 int test (int i, double x);
3317 struct s1 {int (*f) (int a);};
3318 struct s2 {int (*f) (double a);};
3319 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
3325 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
3330 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
3331 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
3333 CC="$ac_save_CC $ac_arg"
3334 rm -f conftest.$ac_objext
3335 if { (ac_try="$ac_compile"
3337 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3338 *) ac_try_echo=$ac_try;;
3340 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
3341 $as_echo "$ac_try_echo") >&5
3342 (eval "$ac_compile") 2>conftest.er1
3344 grep -v '^ *+' conftest.er1 >conftest.err
3346 cat conftest.err >&5
3347 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
3348 (exit $ac_status); } && {
3349 test -z "$ac_c_werror_flag" ||
3350 test ! -s conftest.err
3351 } && test -s conftest.$ac_objext; then
3352 ac_cv_prog_cc_c89=$ac_arg
3354 $as_echo "$as_me: failed program was:" >&5
3355 sed 's/^/| /' conftest.$ac_ext >&5
3360 rm -f core conftest.err conftest.$ac_objext
3361 test "x$ac_cv_prog_cc_c89" != "xno" && break
3363 rm -f conftest.$ac_ext
3368 case "x$ac_cv_prog_cc_c89" in
3370 { $as_echo "$as_me:$LINENO: result: none needed" >&5
3371 $as_echo "none needed" >&6; } ;;
3373 { $as_echo "$as_me:$LINENO: result: unsupported" >&5
3374 $as_echo "unsupported" >&6; } ;;
3376 CC="$CC $ac_cv_prog_cc_c89"
3377 { $as_echo "$as_me:$LINENO: result: $ac_cv_prog_cc_c89" >&5
3378 $as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
3383 ac_cpp='$CPP $CPPFLAGS'
3384 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3385 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3386 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3388 depcc="$CC" am_compiler_list=
3390 { $as_echo "$as_me:$LINENO: checking dependency style of $depcc" >&5
3391 $as_echo_n "checking dependency style of $depcc... " >&6; }
3392 if test "${am_cv_CC_dependencies_compiler_type+set}" = set; then
3393 $as_echo_n "(cached) " >&6
3395 if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
3396 # We make a subdir and do the tests there. Otherwise we can end up
3397 # making bogus files that we don't know about and never remove. For
3398 # instance it was reported that on HP-UX the gcc test will end up
3399 # making a dummy file named `D' -- because `-MD' means `put the output
3402 # Copy depcomp to subdir because otherwise we won't find it if we're
3403 # using a relative directory.
3404 cp "$am_depcomp" conftest.dir
3406 # We will build objects and dependencies in a subdirectory because
3407 # it helps to detect inapplicable dependency modes. For instance
3408 # both Tru64's cc and ICC support -MD to output dependencies as a
3409 # side effect of compilation, but ICC will put the dependencies in
3410 # the current directory while Tru64 will put them in the object
3414 am_cv_CC_dependencies_compiler_type=none
3415 if test "$am_compiler_list" = ""; then
3416 am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
3419 case " $depcc " in #(
3420 *\ -arch\ *\ -arch\ *) am__universal=true ;;
3423 for depmode in $am_compiler_list; do
3424 # Setup a source with many dependencies, because some compilers
3425 # like to wrap large dependency lists on column 80 (with \), and
3426 # we should not choose a depcomp mode which is confused by this.
3428 # We need to recreate these files for each test, as the compiler may
3429 # overwrite some of them when testing with obscure command lines.
3430 # This happens at least with the AIX C compiler.
3432 for i in 1 2 3 4 5 6; do
3433 echo '#include "conftst'$i'.h"' >> sub/conftest.c
3434 # Using `: > sub/conftst$i.h' creates only sub/conftst1.h with
3435 # Solaris 8's {/usr,}/bin/sh.
3436 touch sub/conftst$i.h
3438 echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
3440 # We check with `-c' and `-o' for the sake of the "dashmstdout"
3441 # mode. It turns out that the SunPro C++ compiler does not properly
3442 # handle `-M -o', and we need to detect this. Also, some Intel
3443 # versions had trouble with output in subdirs
3444 am__obj=sub/conftest.${OBJEXT-o}
3445 am__minus_obj="-o $am__obj"
3448 # This depmode causes a compiler race in universal mode.
3449 test "$am__universal" = false || continue
3452 # after this tag, mechanisms are not by side-effect, so they'll
3453 # only be used when explicitly requested
3454 if test "x$enable_dependency_tracking" = xyes; then
3460 msvisualcpp | msvcmsys)
3461 # This compiler won't grok `-c -o', but also, the minuso test has
3462 # not run yet. These depmodes are late enough in the game, and
3463 # so weak that their functioning should not be impacted.
3464 am__obj=conftest.${OBJEXT-o}
3469 if depmode=$depmode \
3470 source=sub/conftest.c object=$am__obj \
3471 depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
3472 $SHELL ./depcomp $depcc -c $am__minus_obj sub/conftest.c \
3473 >/dev/null 2>conftest.err &&
3474 grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 &&
3475 grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
3476 grep $am__obj sub/conftest.Po > /dev/null 2>&1 &&
3477 ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
3478 # icc doesn't choke on unknown options, it will just issue warnings
3479 # or remarks (even with -Werror). So we grep stderr for any message
3480 # that says an option was ignored or not supported.
3481 # When given -MP, icc 7.0 and 7.1 complain thusly:
3482 # icc: Command line warning: ignoring option '-M'; no argument required
3483 # The diagnosis changed in icc 8.0:
3484 # icc: Command line remark: option '-MP' not supported
3485 if (grep 'ignoring option' conftest.err ||
3486 grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
3487 am_cv_CC_dependencies_compiler_type=$depmode
3496 am_cv_CC_dependencies_compiler_type=none
3500 { $as_echo "$as_me:$LINENO: result: $am_cv_CC_dependencies_compiler_type" >&5
3501 $as_echo "$am_cv_CC_dependencies_compiler_type" >&6; }
3502 CCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type
3505 test "x$enable_dependency_tracking" != xno \
3506 && test "$am_cv_CC_dependencies_compiler_type" = gcc3; then
3508 am__fastdepCC_FALSE='#'
3510 am__fastdepCC_TRUE='#'
3511 am__fastdepCC_FALSE=
3516 { $as_echo "$as_me:$LINENO: checking for library containing strerror" >&5
3517 $as_echo_n "checking for library containing strerror... " >&6; }
3518 if test "${ac_cv_search_strerror+set}" = set; then
3519 $as_echo_n "(cached) " >&6
3521 ac_func_search_save_LIBS=$LIBS
3522 cat >conftest.$ac_ext <<_ACEOF
3525 cat confdefs.h >>conftest.$ac_ext
3526 cat >>conftest.$ac_ext <<_ACEOF
3527 /* end confdefs.h. */
3529 /* Override any GCC internal prototype to avoid an error.
3530 Use char because int might match the return type of a GCC
3531 builtin and then its argument prototype would still apply. */
3544 for ac_lib in '' cposix; do
3545 if test -z "$ac_lib"; then
3546 ac_res="none required"
3549 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
3551 rm -f conftest.$ac_objext conftest$ac_exeext
3552 if { (ac_try="$ac_link"
3554 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3555 *) ac_try_echo=$ac_try;;
3557 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
3558 $as_echo "$ac_try_echo") >&5
3559 (eval "$ac_link") 2>conftest.er1
3561 grep -v '^ *+' conftest.er1 >conftest.err
3563 cat conftest.err >&5
3564 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
3565 (exit $ac_status); } && {
3566 test -z "$ac_c_werror_flag" ||
3567 test ! -s conftest.err
3568 } && test -s conftest$ac_exeext && {
3569 test "$cross_compiling" = yes ||
3570 $as_test_x conftest$ac_exeext
3572 ac_cv_search_strerror=$ac_res
3574 $as_echo "$as_me: failed program was:" >&5
3575 sed 's/^/| /' conftest.$ac_ext >&5
3580 rm -rf conftest.dSYM
3581 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
3583 if test "${ac_cv_search_strerror+set}" = set; then
3587 if test "${ac_cv_search_strerror+set}" = set; then
3590 ac_cv_search_strerror=no
3593 LIBS=$ac_func_search_save_LIBS
3595 { $as_echo "$as_me:$LINENO: result: $ac_cv_search_strerror" >&5
3596 $as_echo "$ac_cv_search_strerror" >&6; }
3597 ac_res=$ac_cv_search_strerror
3598 if test "$ac_res" != no; then
3599 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
3604 ac_cpp='$CPP $CPPFLAGS'
3605 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3606 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3607 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3608 if test -n "$ac_tool_prefix"; then
3609 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
3610 set dummy ${ac_tool_prefix}gcc; ac_word=$2
3611 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
3612 $as_echo_n "checking for $ac_word... " >&6; }
3613 if test "${ac_cv_prog_CC+set}" = set; then
3614 $as_echo_n "(cached) " >&6
3616 if test -n "$CC"; then
3617 ac_cv_prog_CC="$CC" # Let the user override the test.
3619 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3623 test -z "$as_dir" && as_dir=.
3624 for ac_exec_ext in '' $ac_executable_extensions; do
3625 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3626 ac_cv_prog_CC="${ac_tool_prefix}gcc"
3627 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3637 if test -n "$CC"; then
3638 { $as_echo "$as_me:$LINENO: result: $CC" >&5
3639 $as_echo "$CC" >&6; }
3641 { $as_echo "$as_me:$LINENO: result: no" >&5
3642 $as_echo "no" >&6; }
3647 if test -z "$ac_cv_prog_CC"; then
3649 # Extract the first word of "gcc", so it can be a program name with args.
3650 set dummy gcc; ac_word=$2
3651 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
3652 $as_echo_n "checking for $ac_word... " >&6; }
3653 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
3654 $as_echo_n "(cached) " >&6
3656 if test -n "$ac_ct_CC"; then
3657 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
3659 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3663 test -z "$as_dir" && as_dir=.
3664 for ac_exec_ext in '' $ac_executable_extensions; do
3665 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3666 ac_cv_prog_ac_ct_CC="gcc"
3667 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3676 ac_ct_CC=$ac_cv_prog_ac_ct_CC
3677 if test -n "$ac_ct_CC"; then
3678 { $as_echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
3679 $as_echo "$ac_ct_CC" >&6; }
3681 { $as_echo "$as_me:$LINENO: result: no" >&5
3682 $as_echo "no" >&6; }
3685 if test "x$ac_ct_CC" = x; then
3688 case $cross_compiling:$ac_tool_warned in
3690 { $as_echo "$as_me:$LINENO: WARNING: using cross tools not prefixed with host triplet" >&5
3691 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3692 ac_tool_warned=yes ;;
3700 if test -z "$CC"; then
3701 if test -n "$ac_tool_prefix"; then
3702 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
3703 set dummy ${ac_tool_prefix}cc; ac_word=$2
3704 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
3705 $as_echo_n "checking for $ac_word... " >&6; }
3706 if test "${ac_cv_prog_CC+set}" = set; then
3707 $as_echo_n "(cached) " >&6
3709 if test -n "$CC"; then
3710 ac_cv_prog_CC="$CC" # Let the user override the test.
3712 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3716 test -z "$as_dir" && as_dir=.
3717 for ac_exec_ext in '' $ac_executable_extensions; do
3718 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3719 ac_cv_prog_CC="${ac_tool_prefix}cc"
3720 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3730 if test -n "$CC"; then
3731 { $as_echo "$as_me:$LINENO: result: $CC" >&5
3732 $as_echo "$CC" >&6; }
3734 { $as_echo "$as_me:$LINENO: result: no" >&5
3735 $as_echo "no" >&6; }
3741 if test -z "$CC"; then
3742 # Extract the first word of "cc", so it can be a program name with args.
3743 set dummy cc; ac_word=$2
3744 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
3745 $as_echo_n "checking for $ac_word... " >&6; }
3746 if test "${ac_cv_prog_CC+set}" = set; then
3747 $as_echo_n "(cached) " >&6
3749 if test -n "$CC"; then
3750 ac_cv_prog_CC="$CC" # Let the user override the test.
3753 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3757 test -z "$as_dir" && as_dir=.
3758 for ac_exec_ext in '' $ac_executable_extensions; do
3759 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3760 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
3761 ac_prog_rejected=yes
3765 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3772 if test $ac_prog_rejected = yes; then
3773 # We found a bogon in the path, so make sure we never use it.
3774 set dummy $ac_cv_prog_CC
3776 if test $# != 0; then
3777 # We chose a different compiler from the bogus one.
3778 # However, it has the same basename, so the bogon will be chosen
3779 # first if we set CC to just the basename; use the full file name.
3781 ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
3787 if test -n "$CC"; then
3788 { $as_echo "$as_me:$LINENO: result: $CC" >&5
3789 $as_echo "$CC" >&6; }
3791 { $as_echo "$as_me:$LINENO: result: no" >&5
3792 $as_echo "no" >&6; }
3797 if test -z "$CC"; then
3798 if test -n "$ac_tool_prefix"; then
3799 for ac_prog in cl.exe
3801 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
3802 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
3803 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
3804 $as_echo_n "checking for $ac_word... " >&6; }
3805 if test "${ac_cv_prog_CC+set}" = set; then
3806 $as_echo_n "(cached) " >&6
3808 if test -n "$CC"; then
3809 ac_cv_prog_CC="$CC" # Let the user override the test.
3811 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3815 test -z "$as_dir" && as_dir=.
3816 for ac_exec_ext in '' $ac_executable_extensions; do
3817 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3818 ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
3819 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3829 if test -n "$CC"; then
3830 { $as_echo "$as_me:$LINENO: result: $CC" >&5
3831 $as_echo "$CC" >&6; }
3833 { $as_echo "$as_me:$LINENO: result: no" >&5
3834 $as_echo "no" >&6; }
3838 test -n "$CC" && break
3841 if test -z "$CC"; then
3843 for ac_prog in cl.exe
3845 # Extract the first word of "$ac_prog", so it can be a program name with args.
3846 set dummy $ac_prog; ac_word=$2
3847 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
3848 $as_echo_n "checking for $ac_word... " >&6; }
3849 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
3850 $as_echo_n "(cached) " >&6
3852 if test -n "$ac_ct_CC"; then
3853 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
3855 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3859 test -z "$as_dir" && as_dir=.
3860 for ac_exec_ext in '' $ac_executable_extensions; do
3861 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3862 ac_cv_prog_ac_ct_CC="$ac_prog"
3863 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3872 ac_ct_CC=$ac_cv_prog_ac_ct_CC
3873 if test -n "$ac_ct_CC"; then
3874 { $as_echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
3875 $as_echo "$ac_ct_CC" >&6; }
3877 { $as_echo "$as_me:$LINENO: result: no" >&5
3878 $as_echo "no" >&6; }
3882 test -n "$ac_ct_CC" && break
3885 if test "x$ac_ct_CC" = x; then
3888 case $cross_compiling:$ac_tool_warned in
3890 { $as_echo "$as_me:$LINENO: WARNING: using cross tools not prefixed with host triplet" >&5
3891 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3892 ac_tool_warned=yes ;;
3901 test -z "$CC" && { { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
3902 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3903 { { $as_echo "$as_me:$LINENO: error: no acceptable C compiler found in \$PATH
3904 See \`config.log' for more details." >&5
3905 $as_echo "$as_me: error: no acceptable C compiler found in \$PATH
3906 See \`config.log' for more details." >&2;}
3907 { (exit 1); exit 1; }; }; }
3909 # Provide some information about the compiler.
3910 $as_echo "$as_me:$LINENO: checking for C compiler version" >&5
3913 { (ac_try="$ac_compiler --version >&5"
3915 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3916 *) ac_try_echo=$ac_try;;
3918 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
3919 $as_echo "$ac_try_echo") >&5
3920 (eval "$ac_compiler --version >&5") 2>&5
3922 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
3923 (exit $ac_status); }
3924 { (ac_try="$ac_compiler -v >&5"
3926 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3927 *) ac_try_echo=$ac_try;;
3929 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
3930 $as_echo "$ac_try_echo") >&5
3931 (eval "$ac_compiler -v >&5") 2>&5
3933 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
3934 (exit $ac_status); }
3935 { (ac_try="$ac_compiler -V >&5"
3937 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3938 *) ac_try_echo=$ac_try;;
3940 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
3941 $as_echo "$ac_try_echo") >&5
3942 (eval "$ac_compiler -V >&5") 2>&5
3944 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
3945 (exit $ac_status); }
3947 { $as_echo "$as_me:$LINENO: checking whether we are using the GNU C compiler" >&5
3948 $as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
3949 if test "${ac_cv_c_compiler_gnu+set}" = set; then
3950 $as_echo_n "(cached) " >&6
3952 cat >conftest.$ac_ext <<_ACEOF
3955 cat confdefs.h >>conftest.$ac_ext
3956 cat >>conftest.$ac_ext <<_ACEOF
3957 /* end confdefs.h. */
3970 rm -f conftest.$ac_objext
3971 if { (ac_try="$ac_compile"
3973 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3974 *) ac_try_echo=$ac_try;;
3976 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
3977 $as_echo "$ac_try_echo") >&5
3978 (eval "$ac_compile") 2>conftest.er1
3980 grep -v '^ *+' conftest.er1 >conftest.err
3982 cat conftest.err >&5
3983 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
3984 (exit $ac_status); } && {
3985 test -z "$ac_c_werror_flag" ||
3986 test ! -s conftest.err
3987 } && test -s conftest.$ac_objext; then
3990 $as_echo "$as_me: failed program was:" >&5
3991 sed 's/^/| /' conftest.$ac_ext >&5
3996 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3997 ac_cv_c_compiler_gnu=$ac_compiler_gnu
4000 { $as_echo "$as_me:$LINENO: result: $ac_cv_c_compiler_gnu" >&5
4001 $as_echo "$ac_cv_c_compiler_gnu" >&6; }
4002 if test $ac_compiler_gnu = yes; then
4007 ac_test_CFLAGS=${CFLAGS+set}
4008 ac_save_CFLAGS=$CFLAGS
4009 { $as_echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5
4010 $as_echo_n "checking whether $CC accepts -g... " >&6; }
4011 if test "${ac_cv_prog_cc_g+set}" = set; then
4012 $as_echo_n "(cached) " >&6
4014 ac_save_c_werror_flag=$ac_c_werror_flag
4015 ac_c_werror_flag=yes
4018 cat >conftest.$ac_ext <<_ACEOF
4021 cat confdefs.h >>conftest.$ac_ext
4022 cat >>conftest.$ac_ext <<_ACEOF
4023 /* end confdefs.h. */
4033 rm -f conftest.$ac_objext
4034 if { (ac_try="$ac_compile"
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_compile") 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_c_werror_flag" ||
4049 test ! -s conftest.err
4050 } && test -s conftest.$ac_objext; then
4053 $as_echo "$as_me: failed program was:" >&5
4054 sed 's/^/| /' conftest.$ac_ext >&5
4057 cat >conftest.$ac_ext <<_ACEOF
4060 cat confdefs.h >>conftest.$ac_ext
4061 cat >>conftest.$ac_ext <<_ACEOF
4062 /* end confdefs.h. */
4072 rm -f conftest.$ac_objext
4073 if { (ac_try="$ac_compile"
4075 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4076 *) ac_try_echo=$ac_try;;
4078 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
4079 $as_echo "$ac_try_echo") >&5
4080 (eval "$ac_compile") 2>conftest.er1
4082 grep -v '^ *+' conftest.er1 >conftest.err
4084 cat conftest.err >&5
4085 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
4086 (exit $ac_status); } && {
4087 test -z "$ac_c_werror_flag" ||
4088 test ! -s conftest.err
4089 } && test -s conftest.$ac_objext; then
4092 $as_echo "$as_me: failed program was:" >&5
4093 sed 's/^/| /' conftest.$ac_ext >&5
4095 ac_c_werror_flag=$ac_save_c_werror_flag
4097 cat >conftest.$ac_ext <<_ACEOF
4100 cat confdefs.h >>conftest.$ac_ext
4101 cat >>conftest.$ac_ext <<_ACEOF
4102 /* end confdefs.h. */
4112 rm -f conftest.$ac_objext
4113 if { (ac_try="$ac_compile"
4115 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4116 *) ac_try_echo=$ac_try;;
4118 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
4119 $as_echo "$ac_try_echo") >&5
4120 (eval "$ac_compile") 2>conftest.er1
4122 grep -v '^ *+' conftest.er1 >conftest.err
4124 cat conftest.err >&5
4125 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
4126 (exit $ac_status); } && {
4127 test -z "$ac_c_werror_flag" ||
4128 test ! -s conftest.err
4129 } && test -s conftest.$ac_objext; then
4132 $as_echo "$as_me: failed program was:" >&5
4133 sed 's/^/| /' conftest.$ac_ext >&5
4138 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4141 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4144 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4145 ac_c_werror_flag=$ac_save_c_werror_flag
4147 { $as_echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
4148 $as_echo "$ac_cv_prog_cc_g" >&6; }
4149 if test "$ac_test_CFLAGS" = set; then
4150 CFLAGS=$ac_save_CFLAGS
4151 elif test $ac_cv_prog_cc_g = yes; then
4152 if test "$GCC" = yes; then
4158 if test "$GCC" = yes; then
4164 { $as_echo "$as_me:$LINENO: checking for $CC option to accept ISO C89" >&5
4165 $as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
4166 if test "${ac_cv_prog_cc_c89+set}" = set; then
4167 $as_echo_n "(cached) " >&6
4169 ac_cv_prog_cc_c89=no
4171 cat >conftest.$ac_ext <<_ACEOF
4174 cat confdefs.h >>conftest.$ac_ext
4175 cat >>conftest.$ac_ext <<_ACEOF
4176 /* end confdefs.h. */
4179 #include <sys/types.h>
4180 #include <sys/stat.h>
4181 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
4182 struct buf { int x; };
4183 FILE * (*rcsopen) (struct buf *, struct stat *, int);
4184 static char *e (p, i)
4190 static char *f (char * (*g) (char **, int), char **p, ...)
4195 s = g (p, va_arg (v,int));
4200 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
4201 function prototypes and stuff, but not '\xHH' hex character constants.
4202 These don't provoke an error unfortunately, instead are silently treated
4203 as 'x'. The following induces an error, until -std is added to get
4204 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
4205 array size at least. It's necessary to write '\x00'==0 to get something
4206 that's true only with -std. */
4207 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
4209 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
4210 inside strings and character constants. */
4212 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
4214 int test (int i, double x);
4215 struct s1 {int (*f) (int a);};
4216 struct s2 {int (*f) (double a);};
4217 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
4223 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
4228 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
4229 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
4231 CC="$ac_save_CC $ac_arg"
4232 rm -f conftest.$ac_objext
4233 if { (ac_try="$ac_compile"
4235 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4236 *) ac_try_echo=$ac_try;;
4238 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
4239 $as_echo "$ac_try_echo") >&5
4240 (eval "$ac_compile") 2>conftest.er1
4242 grep -v '^ *+' conftest.er1 >conftest.err
4244 cat conftest.err >&5
4245 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
4246 (exit $ac_status); } && {
4247 test -z "$ac_c_werror_flag" ||
4248 test ! -s conftest.err
4249 } && test -s conftest.$ac_objext; then
4250 ac_cv_prog_cc_c89=$ac_arg
4252 $as_echo "$as_me: failed program was:" >&5
4253 sed 's/^/| /' conftest.$ac_ext >&5
4258 rm -f core conftest.err conftest.$ac_objext
4259 test "x$ac_cv_prog_cc_c89" != "xno" && break
4261 rm -f conftest.$ac_ext
4266 case "x$ac_cv_prog_cc_c89" in
4268 { $as_echo "$as_me:$LINENO: result: none needed" >&5
4269 $as_echo "none needed" >&6; } ;;
4271 { $as_echo "$as_me:$LINENO: result: unsupported" >&5
4272 $as_echo "unsupported" >&6; } ;;
4274 CC="$CC $ac_cv_prog_cc_c89"
4275 { $as_echo "$as_me:$LINENO: result: $ac_cv_prog_cc_c89" >&5
4276 $as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
4281 ac_cpp='$CPP $CPPFLAGS'
4282 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4283 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4284 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4286 depcc="$CC" am_compiler_list=
4288 { $as_echo "$as_me:$LINENO: checking dependency style of $depcc" >&5
4289 $as_echo_n "checking dependency style of $depcc... " >&6; }
4290 if test "${am_cv_CC_dependencies_compiler_type+set}" = set; then
4291 $as_echo_n "(cached) " >&6
4293 if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
4294 # We make a subdir and do the tests there. Otherwise we can end up
4295 # making bogus files that we don't know about and never remove. For
4296 # instance it was reported that on HP-UX the gcc test will end up
4297 # making a dummy file named `D' -- because `-MD' means `put the output
4300 # Copy depcomp to subdir because otherwise we won't find it if we're
4301 # using a relative directory.
4302 cp "$am_depcomp" conftest.dir
4304 # We will build objects and dependencies in a subdirectory because
4305 # it helps to detect inapplicable dependency modes. For instance
4306 # both Tru64's cc and ICC support -MD to output dependencies as a
4307 # side effect of compilation, but ICC will put the dependencies in
4308 # the current directory while Tru64 will put them in the object
4312 am_cv_CC_dependencies_compiler_type=none
4313 if test "$am_compiler_list" = ""; then
4314 am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
4317 case " $depcc " in #(
4318 *\ -arch\ *\ -arch\ *) am__universal=true ;;
4321 for depmode in $am_compiler_list; do
4322 # Setup a source with many dependencies, because some compilers
4323 # like to wrap large dependency lists on column 80 (with \), and
4324 # we should not choose a depcomp mode which is confused by this.
4326 # We need to recreate these files for each test, as the compiler may
4327 # overwrite some of them when testing with obscure command lines.
4328 # This happens at least with the AIX C compiler.
4330 for i in 1 2 3 4 5 6; do
4331 echo '#include "conftst'$i'.h"' >> sub/conftest.c
4332 # Using `: > sub/conftst$i.h' creates only sub/conftst1.h with
4333 # Solaris 8's {/usr,}/bin/sh.
4334 touch sub/conftst$i.h
4336 echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
4338 # We check with `-c' and `-o' for the sake of the "dashmstdout"
4339 # mode. It turns out that the SunPro C++ compiler does not properly
4340 # handle `-M -o', and we need to detect this. Also, some Intel
4341 # versions had trouble with output in subdirs
4342 am__obj=sub/conftest.${OBJEXT-o}
4343 am__minus_obj="-o $am__obj"
4346 # This depmode causes a compiler race in universal mode.
4347 test "$am__universal" = false || continue
4350 # after this tag, mechanisms are not by side-effect, so they'll
4351 # only be used when explicitly requested
4352 if test "x$enable_dependency_tracking" = xyes; then
4358 msvisualcpp | msvcmsys)
4359 # This compiler won't grok `-c -o', but also, the minuso test has
4360 # not run yet. These depmodes are late enough in the game, and
4361 # so weak that their functioning should not be impacted.
4362 am__obj=conftest.${OBJEXT-o}
4367 if depmode=$depmode \
4368 source=sub/conftest.c object=$am__obj \
4369 depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
4370 $SHELL ./depcomp $depcc -c $am__minus_obj sub/conftest.c \
4371 >/dev/null 2>conftest.err &&
4372 grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 &&
4373 grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
4374 grep $am__obj sub/conftest.Po > /dev/null 2>&1 &&
4375 ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
4376 # icc doesn't choke on unknown options, it will just issue warnings
4377 # or remarks (even with -Werror). So we grep stderr for any message
4378 # that says an option was ignored or not supported.
4379 # When given -MP, icc 7.0 and 7.1 complain thusly:
4380 # icc: Command line warning: ignoring option '-M'; no argument required
4381 # The diagnosis changed in icc 8.0:
4382 # icc: Command line remark: option '-MP' not supported
4383 if (grep 'ignoring option' conftest.err ||
4384 grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
4385 am_cv_CC_dependencies_compiler_type=$depmode
4394 am_cv_CC_dependencies_compiler_type=none
4398 { $as_echo "$as_me:$LINENO: result: $am_cv_CC_dependencies_compiler_type" >&5
4399 $as_echo "$am_cv_CC_dependencies_compiler_type" >&6; }
4400 CCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type
4403 test "x$enable_dependency_tracking" != xno \
4404 && test "$am_cv_CC_dependencies_compiler_type" = gcc3; then
4406 am__fastdepCC_FALSE='#'
4408 am__fastdepCC_TRUE='#'
4409 am__fastdepCC_FALSE=
4414 ac_cpp='$CPP $CPPFLAGS'
4415 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4416 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4417 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4418 if test -n "$ac_tool_prefix"; then
4419 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
4420 set dummy ${ac_tool_prefix}gcc; ac_word=$2
4421 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
4422 $as_echo_n "checking for $ac_word... " >&6; }
4423 if test "${ac_cv_prog_CC+set}" = set; then
4424 $as_echo_n "(cached) " >&6
4426 if test -n "$CC"; then
4427 ac_cv_prog_CC="$CC" # Let the user override the test.
4429 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4433 test -z "$as_dir" && as_dir=.
4434 for ac_exec_ext in '' $ac_executable_extensions; do
4435 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4436 ac_cv_prog_CC="${ac_tool_prefix}gcc"
4437 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4447 if test -n "$CC"; then
4448 { $as_echo "$as_me:$LINENO: result: $CC" >&5
4449 $as_echo "$CC" >&6; }
4451 { $as_echo "$as_me:$LINENO: result: no" >&5
4452 $as_echo "no" >&6; }
4457 if test -z "$ac_cv_prog_CC"; then
4459 # Extract the first word of "gcc", so it can be a program name with args.
4460 set dummy gcc; ac_word=$2
4461 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
4462 $as_echo_n "checking for $ac_word... " >&6; }
4463 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
4464 $as_echo_n "(cached) " >&6
4466 if test -n "$ac_ct_CC"; then
4467 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
4469 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4473 test -z "$as_dir" && as_dir=.
4474 for ac_exec_ext in '' $ac_executable_extensions; do
4475 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4476 ac_cv_prog_ac_ct_CC="gcc"
4477 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4486 ac_ct_CC=$ac_cv_prog_ac_ct_CC
4487 if test -n "$ac_ct_CC"; then
4488 { $as_echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
4489 $as_echo "$ac_ct_CC" >&6; }
4491 { $as_echo "$as_me:$LINENO: result: no" >&5
4492 $as_echo "no" >&6; }
4495 if test "x$ac_ct_CC" = x; then
4498 case $cross_compiling:$ac_tool_warned in
4500 { $as_echo "$as_me:$LINENO: WARNING: using cross tools not prefixed with host triplet" >&5
4501 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4502 ac_tool_warned=yes ;;
4510 if test -z "$CC"; then
4511 if test -n "$ac_tool_prefix"; then
4512 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
4513 set dummy ${ac_tool_prefix}cc; ac_word=$2
4514 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
4515 $as_echo_n "checking for $ac_word... " >&6; }
4516 if test "${ac_cv_prog_CC+set}" = set; then
4517 $as_echo_n "(cached) " >&6
4519 if test -n "$CC"; then
4520 ac_cv_prog_CC="$CC" # Let the user override the test.
4522 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4526 test -z "$as_dir" && as_dir=.
4527 for ac_exec_ext in '' $ac_executable_extensions; do
4528 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4529 ac_cv_prog_CC="${ac_tool_prefix}cc"
4530 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4540 if test -n "$CC"; then
4541 { $as_echo "$as_me:$LINENO: result: $CC" >&5
4542 $as_echo "$CC" >&6; }
4544 { $as_echo "$as_me:$LINENO: result: no" >&5
4545 $as_echo "no" >&6; }
4551 if test -z "$CC"; then
4552 # Extract the first word of "cc", so it can be a program name with args.
4553 set dummy cc; ac_word=$2
4554 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
4555 $as_echo_n "checking for $ac_word... " >&6; }
4556 if test "${ac_cv_prog_CC+set}" = set; then
4557 $as_echo_n "(cached) " >&6
4559 if test -n "$CC"; then
4560 ac_cv_prog_CC="$CC" # Let the user override the test.
4563 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4567 test -z "$as_dir" && as_dir=.
4568 for ac_exec_ext in '' $ac_executable_extensions; do
4569 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4570 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
4571 ac_prog_rejected=yes
4575 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4582 if test $ac_prog_rejected = yes; then
4583 # We found a bogon in the path, so make sure we never use it.
4584 set dummy $ac_cv_prog_CC
4586 if test $# != 0; then
4587 # We chose a different compiler from the bogus one.
4588 # However, it has the same basename, so the bogon will be chosen
4589 # first if we set CC to just the basename; use the full file name.
4591 ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
4597 if test -n "$CC"; then
4598 { $as_echo "$as_me:$LINENO: result: $CC" >&5
4599 $as_echo "$CC" >&6; }
4601 { $as_echo "$as_me:$LINENO: result: no" >&5
4602 $as_echo "no" >&6; }
4607 if test -z "$CC"; then
4608 if test -n "$ac_tool_prefix"; then
4609 for ac_prog in cl.exe
4611 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
4612 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
4613 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
4614 $as_echo_n "checking for $ac_word... " >&6; }
4615 if test "${ac_cv_prog_CC+set}" = set; then
4616 $as_echo_n "(cached) " >&6
4618 if test -n "$CC"; then
4619 ac_cv_prog_CC="$CC" # Let the user override the test.
4621 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4625 test -z "$as_dir" && as_dir=.
4626 for ac_exec_ext in '' $ac_executable_extensions; do
4627 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4628 ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
4629 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4639 if test -n "$CC"; then
4640 { $as_echo "$as_me:$LINENO: result: $CC" >&5
4641 $as_echo "$CC" >&6; }
4643 { $as_echo "$as_me:$LINENO: result: no" >&5
4644 $as_echo "no" >&6; }
4648 test -n "$CC" && break
4651 if test -z "$CC"; then
4653 for ac_prog in cl.exe
4655 # Extract the first word of "$ac_prog", so it can be a program name with args.
4656 set dummy $ac_prog; ac_word=$2
4657 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
4658 $as_echo_n "checking for $ac_word... " >&6; }
4659 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
4660 $as_echo_n "(cached) " >&6
4662 if test -n "$ac_ct_CC"; then
4663 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
4665 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4669 test -z "$as_dir" && as_dir=.
4670 for ac_exec_ext in '' $ac_executable_extensions; do
4671 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4672 ac_cv_prog_ac_ct_CC="$ac_prog"
4673 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4682 ac_ct_CC=$ac_cv_prog_ac_ct_CC
4683 if test -n "$ac_ct_CC"; then
4684 { $as_echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
4685 $as_echo "$ac_ct_CC" >&6; }
4687 { $as_echo "$as_me:$LINENO: result: no" >&5
4688 $as_echo "no" >&6; }
4692 test -n "$ac_ct_CC" && break
4695 if test "x$ac_ct_CC" = x; then
4698 case $cross_compiling:$ac_tool_warned in
4700 { $as_echo "$as_me:$LINENO: WARNING: using cross tools not prefixed with host triplet" >&5
4701 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4702 ac_tool_warned=yes ;;
4711 test -z "$CC" && { { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
4712 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4713 { { $as_echo "$as_me:$LINENO: error: no acceptable C compiler found in \$PATH
4714 See \`config.log' for more details." >&5
4715 $as_echo "$as_me: error: no acceptable C compiler found in \$PATH
4716 See \`config.log' for more details." >&2;}
4717 { (exit 1); exit 1; }; }; }
4719 # Provide some information about the compiler.
4720 $as_echo "$as_me:$LINENO: checking for C compiler version" >&5
4723 { (ac_try="$ac_compiler --version >&5"
4725 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4726 *) ac_try_echo=$ac_try;;
4728 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
4729 $as_echo "$ac_try_echo") >&5
4730 (eval "$ac_compiler --version >&5") 2>&5
4732 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
4733 (exit $ac_status); }
4734 { (ac_try="$ac_compiler -v >&5"
4736 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4737 *) ac_try_echo=$ac_try;;
4739 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
4740 $as_echo "$ac_try_echo") >&5
4741 (eval "$ac_compiler -v >&5") 2>&5
4743 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
4744 (exit $ac_status); }
4745 { (ac_try="$ac_compiler -V >&5"
4747 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4748 *) ac_try_echo=$ac_try;;
4750 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
4751 $as_echo "$ac_try_echo") >&5
4752 (eval "$ac_compiler -V >&5") 2>&5
4754 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
4755 (exit $ac_status); }
4757 { $as_echo "$as_me:$LINENO: checking whether we are using the GNU C compiler" >&5
4758 $as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
4759 if test "${ac_cv_c_compiler_gnu+set}" = set; then
4760 $as_echo_n "(cached) " >&6
4762 cat >conftest.$ac_ext <<_ACEOF
4765 cat confdefs.h >>conftest.$ac_ext
4766 cat >>conftest.$ac_ext <<_ACEOF
4767 /* end confdefs.h. */
4780 rm -f conftest.$ac_objext
4781 if { (ac_try="$ac_compile"
4783 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4784 *) ac_try_echo=$ac_try;;
4786 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
4787 $as_echo "$ac_try_echo") >&5
4788 (eval "$ac_compile") 2>conftest.er1
4790 grep -v '^ *+' conftest.er1 >conftest.err
4792 cat conftest.err >&5
4793 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
4794 (exit $ac_status); } && {
4795 test -z "$ac_c_werror_flag" ||
4796 test ! -s conftest.err
4797 } && test -s conftest.$ac_objext; then
4800 $as_echo "$as_me: failed program was:" >&5
4801 sed 's/^/| /' conftest.$ac_ext >&5
4806 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4807 ac_cv_c_compiler_gnu=$ac_compiler_gnu
4810 { $as_echo "$as_me:$LINENO: result: $ac_cv_c_compiler_gnu" >&5
4811 $as_echo "$ac_cv_c_compiler_gnu" >&6; }
4812 if test $ac_compiler_gnu = yes; then
4817 ac_test_CFLAGS=${CFLAGS+set}
4818 ac_save_CFLAGS=$CFLAGS
4819 { $as_echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5
4820 $as_echo_n "checking whether $CC accepts -g... " >&6; }
4821 if test "${ac_cv_prog_cc_g+set}" = set; then
4822 $as_echo_n "(cached) " >&6
4824 ac_save_c_werror_flag=$ac_c_werror_flag
4825 ac_c_werror_flag=yes
4828 cat >conftest.$ac_ext <<_ACEOF
4831 cat confdefs.h >>conftest.$ac_ext
4832 cat >>conftest.$ac_ext <<_ACEOF
4833 /* end confdefs.h. */
4843 rm -f conftest.$ac_objext
4844 if { (ac_try="$ac_compile"
4846 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4847 *) ac_try_echo=$ac_try;;
4849 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
4850 $as_echo "$ac_try_echo") >&5
4851 (eval "$ac_compile") 2>conftest.er1
4853 grep -v '^ *+' conftest.er1 >conftest.err
4855 cat conftest.err >&5
4856 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
4857 (exit $ac_status); } && {
4858 test -z "$ac_c_werror_flag" ||
4859 test ! -s conftest.err
4860 } && test -s conftest.$ac_objext; then
4863 $as_echo "$as_me: failed program was:" >&5
4864 sed 's/^/| /' conftest.$ac_ext >&5
4867 cat >conftest.$ac_ext <<_ACEOF
4870 cat confdefs.h >>conftest.$ac_ext
4871 cat >>conftest.$ac_ext <<_ACEOF
4872 /* end confdefs.h. */
4882 rm -f conftest.$ac_objext
4883 if { (ac_try="$ac_compile"
4885 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4886 *) ac_try_echo=$ac_try;;
4888 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
4889 $as_echo "$ac_try_echo") >&5
4890 (eval "$ac_compile") 2>conftest.er1
4892 grep -v '^ *+' conftest.er1 >conftest.err
4894 cat conftest.err >&5
4895 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
4896 (exit $ac_status); } && {
4897 test -z "$ac_c_werror_flag" ||
4898 test ! -s conftest.err
4899 } && test -s conftest.$ac_objext; then
4902 $as_echo "$as_me: failed program was:" >&5
4903 sed 's/^/| /' conftest.$ac_ext >&5
4905 ac_c_werror_flag=$ac_save_c_werror_flag
4907 cat >conftest.$ac_ext <<_ACEOF
4910 cat confdefs.h >>conftest.$ac_ext
4911 cat >>conftest.$ac_ext <<_ACEOF
4912 /* end confdefs.h. */
4922 rm -f conftest.$ac_objext
4923 if { (ac_try="$ac_compile"
4925 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4926 *) ac_try_echo=$ac_try;;
4928 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
4929 $as_echo "$ac_try_echo") >&5
4930 (eval "$ac_compile") 2>conftest.er1
4932 grep -v '^ *+' conftest.er1 >conftest.err
4934 cat conftest.err >&5
4935 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
4936 (exit $ac_status); } && {
4937 test -z "$ac_c_werror_flag" ||
4938 test ! -s conftest.err
4939 } && test -s conftest.$ac_objext; then
4942 $as_echo "$as_me: failed program was:" >&5
4943 sed 's/^/| /' conftest.$ac_ext >&5
4948 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4951 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4954 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4955 ac_c_werror_flag=$ac_save_c_werror_flag
4957 { $as_echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
4958 $as_echo "$ac_cv_prog_cc_g" >&6; }
4959 if test "$ac_test_CFLAGS" = set; then
4960 CFLAGS=$ac_save_CFLAGS
4961 elif test $ac_cv_prog_cc_g = yes; then
4962 if test "$GCC" = yes; then
4968 if test "$GCC" = yes; then
4974 { $as_echo "$as_me:$LINENO: checking for $CC option to accept ISO C89" >&5
4975 $as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
4976 if test "${ac_cv_prog_cc_c89+set}" = set; then
4977 $as_echo_n "(cached) " >&6
4979 ac_cv_prog_cc_c89=no
4981 cat >conftest.$ac_ext <<_ACEOF
4984 cat confdefs.h >>conftest.$ac_ext
4985 cat >>conftest.$ac_ext <<_ACEOF
4986 /* end confdefs.h. */
4989 #include <sys/types.h>
4990 #include <sys/stat.h>
4991 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
4992 struct buf { int x; };
4993 FILE * (*rcsopen) (struct buf *, struct stat *, int);
4994 static char *e (p, i)
5000 static char *f (char * (*g) (char **, int), char **p, ...)
5005 s = g (p, va_arg (v,int));
5010 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
5011 function prototypes and stuff, but not '\xHH' hex character constants.
5012 These don't provoke an error unfortunately, instead are silently treated
5013 as 'x'. The following induces an error, until -std is added to get
5014 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
5015 array size at least. It's necessary to write '\x00'==0 to get something
5016 that's true only with -std. */
5017 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
5019 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
5020 inside strings and character constants. */
5022 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
5024 int test (int i, double x);
5025 struct s1 {int (*f) (int a);};
5026 struct s2 {int (*f) (double a);};
5027 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
5033 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
5038 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
5039 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
5041 CC="$ac_save_CC $ac_arg"
5042 rm -f conftest.$ac_objext
5043 if { (ac_try="$ac_compile"
5045 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5046 *) ac_try_echo=$ac_try;;
5048 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
5049 $as_echo "$ac_try_echo") >&5
5050 (eval "$ac_compile") 2>conftest.er1
5052 grep -v '^ *+' conftest.er1 >conftest.err
5054 cat conftest.err >&5
5055 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
5056 (exit $ac_status); } && {
5057 test -z "$ac_c_werror_flag" ||
5058 test ! -s conftest.err
5059 } && test -s conftest.$ac_objext; then
5060 ac_cv_prog_cc_c89=$ac_arg
5062 $as_echo "$as_me: failed program was:" >&5
5063 sed 's/^/| /' conftest.$ac_ext >&5
5068 rm -f core conftest.err conftest.$ac_objext
5069 test "x$ac_cv_prog_cc_c89" != "xno" && break
5071 rm -f conftest.$ac_ext
5076 case "x$ac_cv_prog_cc_c89" in
5078 { $as_echo "$as_me:$LINENO: result: none needed" >&5
5079 $as_echo "none needed" >&6; } ;;
5081 { $as_echo "$as_me:$LINENO: result: unsupported" >&5
5082 $as_echo "unsupported" >&6; } ;;
5084 CC="$CC $ac_cv_prog_cc_c89"
5085 { $as_echo "$as_me:$LINENO: result: $ac_cv_prog_cc_c89" >&5
5086 $as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
5091 ac_cpp='$CPP $CPPFLAGS'
5092 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5093 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5094 ac_compiler_gnu=$ac_cv_c_compiler_gnu
5096 depcc="$CC" am_compiler_list=
5098 { $as_echo "$as_me:$LINENO: checking dependency style of $depcc" >&5
5099 $as_echo_n "checking dependency style of $depcc... " >&6; }
5100 if test "${am_cv_CC_dependencies_compiler_type+set}" = set; then
5101 $as_echo_n "(cached) " >&6
5103 if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
5104 # We make a subdir and do the tests there. Otherwise we can end up
5105 # making bogus files that we don't know about and never remove. For
5106 # instance it was reported that on HP-UX the gcc test will end up
5107 # making a dummy file named `D' -- because `-MD' means `put the output
5110 # Copy depcomp to subdir because otherwise we won't find it if we're
5111 # using a relative directory.
5112 cp "$am_depcomp" conftest.dir
5114 # We will build objects and dependencies in a subdirectory because
5115 # it helps to detect inapplicable dependency modes. For instance
5116 # both Tru64's cc and ICC support -MD to output dependencies as a
5117 # side effect of compilation, but ICC will put the dependencies in
5118 # the current directory while Tru64 will put them in the object
5122 am_cv_CC_dependencies_compiler_type=none
5123 if test "$am_compiler_list" = ""; then
5124 am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
5127 case " $depcc " in #(
5128 *\ -arch\ *\ -arch\ *) am__universal=true ;;
5131 for depmode in $am_compiler_list; do
5132 # Setup a source with many dependencies, because some compilers
5133 # like to wrap large dependency lists on column 80 (with \), and
5134 # we should not choose a depcomp mode which is confused by this.
5136 # We need to recreate these files for each test, as the compiler may
5137 # overwrite some of them when testing with obscure command lines.
5138 # This happens at least with the AIX C compiler.
5140 for i in 1 2 3 4 5 6; do
5141 echo '#include "conftst'$i'.h"' >> sub/conftest.c
5142 # Using `: > sub/conftst$i.h' creates only sub/conftst1.h with
5143 # Solaris 8's {/usr,}/bin/sh.
5144 touch sub/conftst$i.h
5146 echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
5148 # We check with `-c' and `-o' for the sake of the "dashmstdout"
5149 # mode. It turns out that the SunPro C++ compiler does not properly
5150 # handle `-M -o', and we need to detect this. Also, some Intel
5151 # versions had trouble with output in subdirs
5152 am__obj=sub/conftest.${OBJEXT-o}
5153 am__minus_obj="-o $am__obj"
5156 # This depmode causes a compiler race in universal mode.
5157 test "$am__universal" = false || continue
5160 # after this tag, mechanisms are not by side-effect, so they'll
5161 # only be used when explicitly requested
5162 if test "x$enable_dependency_tracking" = xyes; then
5168 msvisualcpp | msvcmsys)
5169 # This compiler won't grok `-c -o', but also, the minuso test has
5170 # not run yet. These depmodes are late enough in the game, and
5171 # so weak that their functioning should not be impacted.
5172 am__obj=conftest.${OBJEXT-o}
5177 if depmode=$depmode \
5178 source=sub/conftest.c object=$am__obj \
5179 depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
5180 $SHELL ./depcomp $depcc -c $am__minus_obj sub/conftest.c \
5181 >/dev/null 2>conftest.err &&
5182 grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 &&
5183 grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
5184 grep $am__obj sub/conftest.Po > /dev/null 2>&1 &&
5185 ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
5186 # icc doesn't choke on unknown options, it will just issue warnings
5187 # or remarks (even with -Werror). So we grep stderr for any message
5188 # that says an option was ignored or not supported.
5189 # When given -MP, icc 7.0 and 7.1 complain thusly:
5190 # icc: Command line warning: ignoring option '-M'; no argument required
5191 # The diagnosis changed in icc 8.0:
5192 # icc: Command line remark: option '-MP' not supported
5193 if (grep 'ignoring option' conftest.err ||
5194 grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
5195 am_cv_CC_dependencies_compiler_type=$depmode
5204 am_cv_CC_dependencies_compiler_type=none
5208 { $as_echo "$as_me:$LINENO: result: $am_cv_CC_dependencies_compiler_type" >&5
5209 $as_echo "$am_cv_CC_dependencies_compiler_type" >&6; }
5210 CCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type
5213 test "x$enable_dependency_tracking" != xno \
5214 && test "$am_cv_CC_dependencies_compiler_type" = gcc3; then
5216 am__fastdepCC_FALSE='#'
5218 am__fastdepCC_TRUE='#'
5219 am__fastdepCC_FALSE=
5224 am_cv_prog_cc_stdc=$ac_cv_prog_cc_stdc
5226 if test -n "$ac_tool_prefix"; then
5227 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
5228 set dummy ${ac_tool_prefix}ranlib; ac_word=$2
5229 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
5230 $as_echo_n "checking for $ac_word... " >&6; }
5231 if test "${ac_cv_prog_RANLIB+set}" = set; then
5232 $as_echo_n "(cached) " >&6
5234 if test -n "$RANLIB"; then
5235 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
5237 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5241 test -z "$as_dir" && as_dir=.
5242 for ac_exec_ext in '' $ac_executable_extensions; do
5243 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5244 ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
5245 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5254 RANLIB=$ac_cv_prog_RANLIB
5255 if test -n "$RANLIB"; then
5256 { $as_echo "$as_me:$LINENO: result: $RANLIB" >&5
5257 $as_echo "$RANLIB" >&6; }
5259 { $as_echo "$as_me:$LINENO: result: no" >&5
5260 $as_echo "no" >&6; }
5265 if test -z "$ac_cv_prog_RANLIB"; then
5266 ac_ct_RANLIB=$RANLIB
5267 # Extract the first word of "ranlib", so it can be a program name with args.
5268 set dummy ranlib; ac_word=$2
5269 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
5270 $as_echo_n "checking for $ac_word... " >&6; }
5271 if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then
5272 $as_echo_n "(cached) " >&6
5274 if test -n "$ac_ct_RANLIB"; then
5275 ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
5277 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5281 test -z "$as_dir" && as_dir=.
5282 for ac_exec_ext in '' $ac_executable_extensions; do
5283 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5284 ac_cv_prog_ac_ct_RANLIB="ranlib"
5285 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5294 ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
5295 if test -n "$ac_ct_RANLIB"; then
5296 { $as_echo "$as_me:$LINENO: result: $ac_ct_RANLIB" >&5
5297 $as_echo "$ac_ct_RANLIB" >&6; }
5299 { $as_echo "$as_me:$LINENO: result: no" >&5
5300 $as_echo "no" >&6; }
5303 if test "x$ac_ct_RANLIB" = x; then
5306 case $cross_compiling:$ac_tool_warned in
5308 { $as_echo "$as_me:$LINENO: WARNING: using cross tools not prefixed with host triplet" >&5
5309 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5310 ac_tool_warned=yes ;;
5312 RANLIB=$ac_ct_RANLIB
5315 RANLIB="$ac_cv_prog_RANLIB"
5319 ac_cpp='$CPP $CPPFLAGS'
5320 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5321 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5322 ac_compiler_gnu=$ac_cv_c_compiler_gnu
5323 { $as_echo "$as_me:$LINENO: checking how to run the C preprocessor" >&5
5324 $as_echo_n "checking how to run the C preprocessor... " >&6; }
5325 # On Suns, sometimes $CPP names a directory.
5326 if test -n "$CPP" && test -d "$CPP"; then
5329 if test -z "$CPP"; then
5330 if test "${ac_cv_prog_CPP+set}" = set; then
5331 $as_echo_n "(cached) " >&6
5333 # Double quotes because CPP needs to be expanded
5334 for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
5337 for ac_c_preproc_warn_flag in '' yes
5339 # Use a header file that comes with gcc, so configuring glibc
5340 # with a fresh cross-compiler works.
5341 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
5342 # <limits.h> exists even on freestanding compilers.
5343 # On the NeXT, cc -E runs the code through the compiler's parser,
5344 # not just through cpp. "Syntax error" is here to catch this case.
5345 cat >conftest.$ac_ext <<_ACEOF
5348 cat confdefs.h >>conftest.$ac_ext
5349 cat >>conftest.$ac_ext <<_ACEOF
5350 /* end confdefs.h. */
5352 # include <limits.h>
5354 # include <assert.h>
5358 if { (ac_try="$ac_cpp conftest.$ac_ext"
5360 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5361 *) ac_try_echo=$ac_try;;
5363 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
5364 $as_echo "$ac_try_echo") >&5
5365 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
5367 grep -v '^ *+' conftest.er1 >conftest.err
5369 cat conftest.err >&5
5370 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
5371 (exit $ac_status); } >/dev/null && {
5372 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
5373 test ! -s conftest.err
5377 $as_echo "$as_me: failed program was:" >&5
5378 sed 's/^/| /' conftest.$ac_ext >&5
5380 # Broken: fails on valid input.
5384 rm -f conftest.err conftest.$ac_ext
5386 # OK, works on sane cases. Now check whether nonexistent headers
5387 # can be detected and how.
5388 cat >conftest.$ac_ext <<_ACEOF
5391 cat confdefs.h >>conftest.$ac_ext
5392 cat >>conftest.$ac_ext <<_ACEOF
5393 /* end confdefs.h. */
5394 #include <ac_nonexistent.h>
5396 if { (ac_try="$ac_cpp conftest.$ac_ext"
5398 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5399 *) ac_try_echo=$ac_try;;
5401 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
5402 $as_echo "$ac_try_echo") >&5
5403 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
5405 grep -v '^ *+' conftest.er1 >conftest.err
5407 cat conftest.err >&5
5408 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
5409 (exit $ac_status); } >/dev/null && {
5410 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
5411 test ! -s conftest.err
5413 # Broken: success on invalid input.
5416 $as_echo "$as_me: failed program was:" >&5
5417 sed 's/^/| /' conftest.$ac_ext >&5
5419 # Passes both tests.
5424 rm -f conftest.err conftest.$ac_ext
5427 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
5428 rm -f conftest.err conftest.$ac_ext
5429 if $ac_preproc_ok; then
5441 { $as_echo "$as_me:$LINENO: result: $CPP" >&5
5442 $as_echo "$CPP" >&6; }
5444 for ac_c_preproc_warn_flag in '' yes
5446 # Use a header file that comes with gcc, so configuring glibc
5447 # with a fresh cross-compiler works.
5448 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
5449 # <limits.h> exists even on freestanding compilers.
5450 # On the NeXT, cc -E runs the code through the compiler's parser,
5451 # not just through cpp. "Syntax error" is here to catch this case.
5452 cat >conftest.$ac_ext <<_ACEOF
5455 cat confdefs.h >>conftest.$ac_ext
5456 cat >>conftest.$ac_ext <<_ACEOF
5457 /* end confdefs.h. */
5459 # include <limits.h>
5461 # include <assert.h>
5465 if { (ac_try="$ac_cpp conftest.$ac_ext"
5467 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5468 *) ac_try_echo=$ac_try;;
5470 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
5471 $as_echo "$ac_try_echo") >&5
5472 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
5474 grep -v '^ *+' conftest.er1 >conftest.err
5476 cat conftest.err >&5
5477 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
5478 (exit $ac_status); } >/dev/null && {
5479 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
5480 test ! -s conftest.err
5484 $as_echo "$as_me: failed program was:" >&5
5485 sed 's/^/| /' conftest.$ac_ext >&5
5487 # Broken: fails on valid input.
5491 rm -f conftest.err conftest.$ac_ext
5493 # OK, works on sane cases. Now check whether nonexistent headers
5494 # can be detected and how.
5495 cat >conftest.$ac_ext <<_ACEOF
5498 cat confdefs.h >>conftest.$ac_ext
5499 cat >>conftest.$ac_ext <<_ACEOF
5500 /* end confdefs.h. */
5501 #include <ac_nonexistent.h>
5503 if { (ac_try="$ac_cpp conftest.$ac_ext"
5505 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5506 *) ac_try_echo=$ac_try;;
5508 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
5509 $as_echo "$ac_try_echo") >&5
5510 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
5512 grep -v '^ *+' conftest.er1 >conftest.err
5514 cat conftest.err >&5
5515 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
5516 (exit $ac_status); } >/dev/null && {
5517 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
5518 test ! -s conftest.err
5520 # Broken: success on invalid input.
5523 $as_echo "$as_me: failed program was:" >&5
5524 sed 's/^/| /' conftest.$ac_ext >&5
5526 # Passes both tests.
5531 rm -f conftest.err conftest.$ac_ext
5534 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
5535 rm -f conftest.err conftest.$ac_ext
5536 if $ac_preproc_ok; then
5539 { { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
5540 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
5541 { { $as_echo "$as_me:$LINENO: error: C preprocessor \"$CPP\" fails sanity check
5542 See \`config.log' for more details." >&5
5543 $as_echo "$as_me: error: C preprocessor \"$CPP\" fails sanity check
5544 See \`config.log' for more details." >&2;}
5545 { (exit 1); exit 1; }; }; }
5549 ac_cpp='$CPP $CPPFLAGS'
5550 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5551 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5552 ac_compiler_gnu=$ac_cv_c_compiler_gnu
5555 { $as_echo "$as_me:$LINENO: checking for grep that handles long lines and -e" >&5
5556 $as_echo_n "checking for grep that handles long lines and -e... " >&6; }
5557 if test "${ac_cv_path_GREP+set}" = set; then
5558 $as_echo_n "(cached) " >&6
5560 if test -z "$GREP"; then
5561 ac_path_GREP_found=false
5562 # Loop through the user's path and test for each of PROGNAME-LIST
5563 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5564 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
5567 test -z "$as_dir" && as_dir=.
5568 for ac_prog in grep ggrep; do
5569 for ac_exec_ext in '' $ac_executable_extensions; do
5570 ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext"
5571 { test -f "$ac_path_GREP" && $as_test_x "$ac_path_GREP"; } || continue
5572 # Check for GNU ac_path_GREP and select it if it is found.
5573 # Check for GNU $ac_path_GREP
5574 case `"$ac_path_GREP" --version 2>&1` in
5576 ac_cv_path_GREP="$ac_path_GREP" ac_path_GREP_found=:;;
5579 $as_echo_n 0123456789 >"conftest.in"
5582 cat "conftest.in" "conftest.in" >"conftest.tmp"
5583 mv "conftest.tmp" "conftest.in"
5584 cp "conftest.in" "conftest.nl"
5585 $as_echo 'GREP' >> "conftest.nl"
5586 "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev/null || break
5587 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
5588 ac_count=`expr $ac_count + 1`
5589 if test $ac_count -gt ${ac_path_GREP_max-0}; then
5590 # Best one so far, save it but keep looking for a better one
5591 ac_cv_path_GREP="$ac_path_GREP"
5592 ac_path_GREP_max=$ac_count
5594 # 10*(2^10) chars as input seems more than enough
5595 test $ac_count -gt 10 && break
5597 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
5600 $ac_path_GREP_found && break 3
5605 if test -z "$ac_cv_path_GREP"; then
5606 { { $as_echo "$as_me:$LINENO: error: no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&5
5607 $as_echo "$as_me: error: no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&2;}
5608 { (exit 1); exit 1; }; }
5611 ac_cv_path_GREP=$GREP
5615 { $as_echo "$as_me:$LINENO: result: $ac_cv_path_GREP" >&5
5616 $as_echo "$ac_cv_path_GREP" >&6; }
5617 GREP="$ac_cv_path_GREP"
5620 { $as_echo "$as_me:$LINENO: checking for egrep" >&5
5621 $as_echo_n "checking for egrep... " >&6; }
5622 if test "${ac_cv_path_EGREP+set}" = set; then
5623 $as_echo_n "(cached) " >&6
5625 if echo a | $GREP -E '(a|b)' >/dev/null 2>&1
5626 then ac_cv_path_EGREP="$GREP -E"
5628 if test -z "$EGREP"; then
5629 ac_path_EGREP_found=false
5630 # Loop through the user's path and test for each of PROGNAME-LIST
5631 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5632 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
5635 test -z "$as_dir" && as_dir=.
5636 for ac_prog in egrep; do
5637 for ac_exec_ext in '' $ac_executable_extensions; do
5638 ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext"
5639 { test -f "$ac_path_EGREP" && $as_test_x "$ac_path_EGREP"; } || continue
5640 # Check for GNU ac_path_EGREP and select it if it is found.
5641 # Check for GNU $ac_path_EGREP
5642 case `"$ac_path_EGREP" --version 2>&1` in
5644 ac_cv_path_EGREP="$ac_path_EGREP" ac_path_EGREP_found=:;;
5647 $as_echo_n 0123456789 >"conftest.in"
5650 cat "conftest.in" "conftest.in" >"conftest.tmp"
5651 mv "conftest.tmp" "conftest.in"
5652 cp "conftest.in" "conftest.nl"
5653 $as_echo 'EGREP' >> "conftest.nl"
5654 "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev/null || break
5655 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
5656 ac_count=`expr $ac_count + 1`
5657 if test $ac_count -gt ${ac_path_EGREP_max-0}; then
5658 # Best one so far, save it but keep looking for a better one
5659 ac_cv_path_EGREP="$ac_path_EGREP"
5660 ac_path_EGREP_max=$ac_count
5662 # 10*(2^10) chars as input seems more than enough
5663 test $ac_count -gt 10 && break
5665 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
5668 $ac_path_EGREP_found && break 3
5673 if test -z "$ac_cv_path_EGREP"; then
5674 { { $as_echo "$as_me:$LINENO: error: no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&5
5675 $as_echo "$as_me: error: no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&2;}
5676 { (exit 1); exit 1; }; }
5679 ac_cv_path_EGREP=$EGREP
5684 { $as_echo "$as_me:$LINENO: result: $ac_cv_path_EGREP" >&5
5685 $as_echo "$ac_cv_path_EGREP" >&6; }
5686 EGREP="$ac_cv_path_EGREP"
5689 { $as_echo "$as_me:$LINENO: checking for ANSI C header files" >&5
5690 $as_echo_n "checking for ANSI C header files... " >&6; }
5691 if test "${ac_cv_header_stdc+set}" = set; then
5692 $as_echo_n "(cached) " >&6
5694 cat >conftest.$ac_ext <<_ACEOF
5697 cat confdefs.h >>conftest.$ac_ext
5698 cat >>conftest.$ac_ext <<_ACEOF
5699 /* end confdefs.h. */
5713 rm -f conftest.$ac_objext
5714 if { (ac_try="$ac_compile"
5716 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5717 *) ac_try_echo=$ac_try;;
5719 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
5720 $as_echo "$ac_try_echo") >&5
5721 (eval "$ac_compile") 2>conftest.er1
5723 grep -v '^ *+' conftest.er1 >conftest.err
5725 cat conftest.err >&5
5726 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
5727 (exit $ac_status); } && {
5728 test -z "$ac_c_werror_flag" ||
5729 test ! -s conftest.err
5730 } && test -s conftest.$ac_objext; then
5731 ac_cv_header_stdc=yes
5733 $as_echo "$as_me: failed program was:" >&5
5734 sed 's/^/| /' conftest.$ac_ext >&5
5736 ac_cv_header_stdc=no
5739 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5741 if test $ac_cv_header_stdc = yes; then
5742 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
5743 cat >conftest.$ac_ext <<_ACEOF
5746 cat confdefs.h >>conftest.$ac_ext
5747 cat >>conftest.$ac_ext <<_ACEOF
5748 /* end confdefs.h. */
5752 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
5753 $EGREP "memchr" >/dev/null 2>&1; then
5756 ac_cv_header_stdc=no
5762 if test $ac_cv_header_stdc = yes; then
5763 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
5764 cat >conftest.$ac_ext <<_ACEOF
5767 cat confdefs.h >>conftest.$ac_ext
5768 cat >>conftest.$ac_ext <<_ACEOF
5769 /* end confdefs.h. */
5773 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
5774 $EGREP "free" >/dev/null 2>&1; then
5777 ac_cv_header_stdc=no
5783 if test $ac_cv_header_stdc = yes; then
5784 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
5785 if test "$cross_compiling" = yes; then
5788 cat >conftest.$ac_ext <<_ACEOF
5791 cat confdefs.h >>conftest.$ac_ext
5792 cat >>conftest.$ac_ext <<_ACEOF
5793 /* end confdefs.h. */
5796 #if ((' ' & 0x0FF) == 0x020)
5797 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
5798 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
5800 # define ISLOWER(c) \
5801 (('a' <= (c) && (c) <= 'i') \
5802 || ('j' <= (c) && (c) <= 'r') \
5803 || ('s' <= (c) && (c) <= 'z'))
5804 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
5807 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
5812 for (i = 0; i < 256; i++)
5813 if (XOR (islower (i), ISLOWER (i))
5814 || toupper (i) != TOUPPER (i))
5819 rm -f conftest$ac_exeext
5820 if { (ac_try="$ac_link"
5822 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5823 *) ac_try_echo=$ac_try;;
5825 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
5826 $as_echo "$ac_try_echo") >&5
5827 (eval "$ac_link") 2>&5
5829 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
5830 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
5831 { (case "(($ac_try" in
5832 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5833 *) ac_try_echo=$ac_try;;
5835 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
5836 $as_echo "$ac_try_echo") >&5
5837 (eval "$ac_try") 2>&5
5839 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
5840 (exit $ac_status); }; }; then
5843 $as_echo "$as_me: program exited with status $ac_status" >&5
5844 $as_echo "$as_me: failed program was:" >&5
5845 sed 's/^/| /' conftest.$ac_ext >&5
5848 ac_cv_header_stdc=no
5850 rm -rf conftest.dSYM
5851 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
5857 { $as_echo "$as_me:$LINENO: result: $ac_cv_header_stdc" >&5
5858 $as_echo "$ac_cv_header_stdc" >&6; }
5859 if test $ac_cv_header_stdc = yes; then
5861 cat >>confdefs.h <<\_ACEOF
5862 #define STDC_HEADERS 1
5868 pkg_modules="gtk+-2.0 >= 2.10.0 libgnomecanvas-2.0 >= 2.4.0 poppler-glib >= 0.5.4"
5871 if test "x$ac_cv_env_PKG_CONFIG_set" != "xset"; then
5872 if test -n "$ac_tool_prefix"; then
5873 # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
5874 set dummy ${ac_tool_prefix}pkg-config; ac_word=$2
5875 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
5876 $as_echo_n "checking for $ac_word... " >&6; }
5877 if test "${ac_cv_path_PKG_CONFIG+set}" = set; then
5878 $as_echo_n "(cached) " >&6
5882 ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path.
5885 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5889 test -z "$as_dir" && as_dir=.
5890 for ac_exec_ext in '' $ac_executable_extensions; do
5891 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5892 ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
5893 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5903 PKG_CONFIG=$ac_cv_path_PKG_CONFIG
5904 if test -n "$PKG_CONFIG"; then
5905 { $as_echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5
5906 $as_echo "$PKG_CONFIG" >&6; }
5908 { $as_echo "$as_me:$LINENO: result: no" >&5
5909 $as_echo "no" >&6; }
5914 if test -z "$ac_cv_path_PKG_CONFIG"; then
5915 ac_pt_PKG_CONFIG=$PKG_CONFIG
5916 # Extract the first word of "pkg-config", so it can be a program name with args.
5917 set dummy pkg-config; ac_word=$2
5918 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
5919 $as_echo_n "checking for $ac_word... " >&6; }
5920 if test "${ac_cv_path_ac_pt_PKG_CONFIG+set}" = set; then
5921 $as_echo_n "(cached) " >&6
5923 case $ac_pt_PKG_CONFIG in
5925 ac_cv_path_ac_pt_PKG_CONFIG="$ac_pt_PKG_CONFIG" # Let the user override the test with a path.
5928 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5932 test -z "$as_dir" && as_dir=.
5933 for ac_exec_ext in '' $ac_executable_extensions; do
5934 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5935 ac_cv_path_ac_pt_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
5936 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5946 ac_pt_PKG_CONFIG=$ac_cv_path_ac_pt_PKG_CONFIG
5947 if test -n "$ac_pt_PKG_CONFIG"; then
5948 { $as_echo "$as_me:$LINENO: result: $ac_pt_PKG_CONFIG" >&5
5949 $as_echo "$ac_pt_PKG_CONFIG" >&6; }
5951 { $as_echo "$as_me:$LINENO: result: no" >&5
5952 $as_echo "no" >&6; }
5955 if test "x$ac_pt_PKG_CONFIG" = x; then
5958 case $cross_compiling:$ac_tool_warned in
5960 { $as_echo "$as_me:$LINENO: WARNING: using cross tools not prefixed with host triplet" >&5
5961 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5962 ac_tool_warned=yes ;;
5964 PKG_CONFIG=$ac_pt_PKG_CONFIG
5967 PKG_CONFIG="$ac_cv_path_PKG_CONFIG"
5971 if test -n "$PKG_CONFIG"; then
5972 _pkg_min_version=0.9.0
5973 { $as_echo "$as_me:$LINENO: checking pkg-config is at least version $_pkg_min_version" >&5
5974 $as_echo_n "checking pkg-config is at least version $_pkg_min_version... " >&6; }
5975 if $PKG_CONFIG --atleast-pkgconfig-version $_pkg_min_version; then
5976 { $as_echo "$as_me:$LINENO: result: yes" >&5
5977 $as_echo "yes" >&6; }
5979 { $as_echo "$as_me:$LINENO: result: no" >&5
5980 $as_echo "no" >&6; }
5987 { $as_echo "$as_me:$LINENO: checking for PACKAGE" >&5
5988 $as_echo_n "checking for PACKAGE... " >&6; }
5990 if test -n "$PACKAGE_CFLAGS"; then
5991 pkg_cv_PACKAGE_CFLAGS="$PACKAGE_CFLAGS"
5992 elif test -n "$PKG_CONFIG"; then
5993 if test -n "$PKG_CONFIG" && \
5994 { ($as_echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"\$pkg_modules\"") >&5
5995 ($PKG_CONFIG --exists --print-errors "$pkg_modules") 2>&5
5997 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
5998 (exit $ac_status); }; then
5999 pkg_cv_PACKAGE_CFLAGS=`$PKG_CONFIG --cflags "$pkg_modules" 2>/dev/null`
6006 if test -n "$PACKAGE_LIBS"; then
6007 pkg_cv_PACKAGE_LIBS="$PACKAGE_LIBS"
6008 elif test -n "$PKG_CONFIG"; then
6009 if test -n "$PKG_CONFIG" && \
6010 { ($as_echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"\$pkg_modules\"") >&5
6011 ($PKG_CONFIG --exists --print-errors "$pkg_modules") 2>&5
6013 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
6014 (exit $ac_status); }; then
6015 pkg_cv_PACKAGE_LIBS=`$PKG_CONFIG --libs "$pkg_modules" 2>/dev/null`
6025 if test $pkg_failed = yes; then
6027 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
6028 _pkg_short_errors_supported=yes
6030 _pkg_short_errors_supported=no
6032 if test $_pkg_short_errors_supported = yes; then
6033 PACKAGE_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors "$pkg_modules" 2>&1`
6035 PACKAGE_PKG_ERRORS=`$PKG_CONFIG --print-errors "$pkg_modules" 2>&1`
6037 # Put the nasty error message in config.log where it belongs
6038 echo "$PACKAGE_PKG_ERRORS" >&5
6040 { { $as_echo "$as_me:$LINENO: error: Package requirements ($pkg_modules) were not met:
6044 Consider adjusting the PKG_CONFIG_PATH environment variable if you
6045 installed software in a non-standard prefix.
6047 Alternatively, you may set the environment variables PACKAGE_CFLAGS
6048 and PACKAGE_LIBS to avoid the need to call pkg-config.
6049 See the pkg-config man page for more details.
6051 $as_echo "$as_me: error: Package requirements ($pkg_modules) were not met:
6055 Consider adjusting the PKG_CONFIG_PATH environment variable if you
6056 installed software in a non-standard prefix.
6058 Alternatively, you may set the environment variables PACKAGE_CFLAGS
6059 and PACKAGE_LIBS to avoid the need to call pkg-config.
6060 See the pkg-config man page for more details.
6062 { (exit 1); exit 1; }; }
6063 elif test $pkg_failed = untried; then
6064 { { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
6065 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
6066 { { $as_echo "$as_me:$LINENO: error: The pkg-config script could not be found or is too old. Make sure it
6067 is in your PATH or set the PKG_CONFIG environment variable to the full
6070 Alternatively, you may set the environment variables PACKAGE_CFLAGS
6071 and PACKAGE_LIBS to avoid the need to call pkg-config.
6072 See the pkg-config man page for more details.
6074 To get pkg-config, see <http://pkg-config.freedesktop.org/>.
6075 See \`config.log' for more details." >&5
6076 $as_echo "$as_me: error: The pkg-config script could not be found or is too old. Make sure it
6077 is in your PATH or set the PKG_CONFIG environment variable to the full
6080 Alternatively, you may set the environment variables PACKAGE_CFLAGS
6081 and PACKAGE_LIBS to avoid the need to call pkg-config.
6082 See the pkg-config man page for more details.
6084 To get pkg-config, see <http://pkg-config.freedesktop.org/>.
6085 See \`config.log' for more details." >&2;}
6086 { (exit 1); exit 1; }; }; }
6088 PACKAGE_CFLAGS=$pkg_cv_PACKAGE_CFLAGS
6089 PACKAGE_LIBS=$pkg_cv_PACKAGE_LIBS
6090 { $as_echo "$as_me:$LINENO: result: yes" >&5
6091 $as_echo "yes" >&6; }
6097 GETTEXT_PACKAGE=xournal
6100 cat >>confdefs.h <<_ACEOF
6101 #define GETTEXT_PACKAGE "$GETTEXT_PACKAGE"
6105 ALL_LINGUAS="`grep -v '^#' "$srcdir/po/LINGUAS" | tr '\n' ' '`"
6106 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
6116 for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
6117 inttypes.h stdint.h unistd.h
6119 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
6120 { $as_echo "$as_me:$LINENO: checking for $ac_header" >&5
6121 $as_echo_n "checking for $ac_header... " >&6; }
6122 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
6123 $as_echo_n "(cached) " >&6
6125 cat >conftest.$ac_ext <<_ACEOF
6128 cat confdefs.h >>conftest.$ac_ext
6129 cat >>conftest.$ac_ext <<_ACEOF
6130 /* end confdefs.h. */
6131 $ac_includes_default
6133 #include <$ac_header>
6135 rm -f conftest.$ac_objext
6136 if { (ac_try="$ac_compile"
6138 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
6139 *) ac_try_echo=$ac_try;;
6141 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
6142 $as_echo "$ac_try_echo") >&5
6143 (eval "$ac_compile") 2>conftest.er1
6145 grep -v '^ *+' conftest.er1 >conftest.err
6147 cat conftest.err >&5
6148 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
6149 (exit $ac_status); } && {
6150 test -z "$ac_c_werror_flag" ||
6151 test ! -s conftest.err
6152 } && test -s conftest.$ac_objext; then
6153 eval "$as_ac_Header=yes"
6155 $as_echo "$as_me: failed program was:" >&5
6156 sed 's/^/| /' conftest.$ac_ext >&5
6158 eval "$as_ac_Header=no"
6161 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6163 ac_res=`eval 'as_val=${'$as_ac_Header'}
6164 $as_echo "$as_val"'`
6165 { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
6166 $as_echo "$ac_res" >&6; }
6167 as_val=`eval 'as_val=${'$as_ac_Header'}
6168 $as_echo "$as_val"'`
6169 if test "x$as_val" = x""yes; then
6170 cat >>confdefs.h <<_ACEOF
6171 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
6181 for ac_header in locale.h
6183 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
6184 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
6185 { $as_echo "$as_me:$LINENO: checking for $ac_header" >&5
6186 $as_echo_n "checking for $ac_header... " >&6; }
6187 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
6188 $as_echo_n "(cached) " >&6
6190 ac_res=`eval 'as_val=${'$as_ac_Header'}
6191 $as_echo "$as_val"'`
6192 { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
6193 $as_echo "$ac_res" >&6; }
6195 # Is the header compilable?
6196 { $as_echo "$as_me:$LINENO: checking $ac_header usability" >&5
6197 $as_echo_n "checking $ac_header usability... " >&6; }
6198 cat >conftest.$ac_ext <<_ACEOF
6201 cat confdefs.h >>conftest.$ac_ext
6202 cat >>conftest.$ac_ext <<_ACEOF
6203 /* end confdefs.h. */
6204 $ac_includes_default
6205 #include <$ac_header>
6207 rm -f conftest.$ac_objext
6208 if { (ac_try="$ac_compile"
6210 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
6211 *) ac_try_echo=$ac_try;;
6213 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
6214 $as_echo "$ac_try_echo") >&5
6215 (eval "$ac_compile") 2>conftest.er1
6217 grep -v '^ *+' conftest.er1 >conftest.err
6219 cat conftest.err >&5
6220 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
6221 (exit $ac_status); } && {
6222 test -z "$ac_c_werror_flag" ||
6223 test ! -s conftest.err
6224 } && test -s conftest.$ac_objext; then
6225 ac_header_compiler=yes
6227 $as_echo "$as_me: failed program was:" >&5
6228 sed 's/^/| /' conftest.$ac_ext >&5
6230 ac_header_compiler=no
6233 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6234 { $as_echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
6235 $as_echo "$ac_header_compiler" >&6; }
6237 # Is the header present?
6238 { $as_echo "$as_me:$LINENO: checking $ac_header presence" >&5
6239 $as_echo_n "checking $ac_header presence... " >&6; }
6240 cat >conftest.$ac_ext <<_ACEOF
6243 cat confdefs.h >>conftest.$ac_ext
6244 cat >>conftest.$ac_ext <<_ACEOF
6245 /* end confdefs.h. */
6246 #include <$ac_header>
6248 if { (ac_try="$ac_cpp conftest.$ac_ext"
6250 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
6251 *) ac_try_echo=$ac_try;;
6253 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
6254 $as_echo "$ac_try_echo") >&5
6255 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
6257 grep -v '^ *+' conftest.er1 >conftest.err
6259 cat conftest.err >&5
6260 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
6261 (exit $ac_status); } >/dev/null && {
6262 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
6263 test ! -s conftest.err
6265 ac_header_preproc=yes
6267 $as_echo "$as_me: failed program was:" >&5
6268 sed 's/^/| /' conftest.$ac_ext >&5
6270 ac_header_preproc=no
6273 rm -f conftest.err conftest.$ac_ext
6274 { $as_echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
6275 $as_echo "$ac_header_preproc" >&6; }
6277 # So? What about this header?
6278 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
6280 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
6281 $as_echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
6282 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
6283 $as_echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
6284 ac_header_preproc=yes
6287 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
6288 $as_echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
6289 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
6290 $as_echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
6291 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
6292 $as_echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
6293 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
6294 $as_echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
6295 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
6296 $as_echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
6297 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
6298 $as_echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
6302 { $as_echo "$as_me:$LINENO: checking for $ac_header" >&5
6303 $as_echo_n "checking for $ac_header... " >&6; }
6304 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
6305 $as_echo_n "(cached) " >&6
6307 eval "$as_ac_Header=\$ac_header_preproc"
6309 ac_res=`eval 'as_val=${'$as_ac_Header'}
6310 $as_echo "$as_val"'`
6311 { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
6312 $as_echo "$ac_res" >&6; }
6315 as_val=`eval 'as_val=${'$as_ac_Header'}
6316 $as_echo "$as_val"'`
6317 if test "x$as_val" = x""yes; then
6318 cat >>confdefs.h <<_ACEOF
6319 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
6326 if test $ac_cv_header_locale_h = yes; then
6327 { $as_echo "$as_me:$LINENO: checking for LC_MESSAGES" >&5
6328 $as_echo_n "checking for LC_MESSAGES... " >&6; }
6329 if test "${am_cv_val_LC_MESSAGES+set}" = set; then
6330 $as_echo_n "(cached) " >&6
6332 cat >conftest.$ac_ext <<_ACEOF
6335 cat confdefs.h >>conftest.$ac_ext
6336 cat >>conftest.$ac_ext <<_ACEOF
6337 /* end confdefs.h. */
6347 rm -f conftest.$ac_objext conftest$ac_exeext
6348 if { (ac_try="$ac_link"
6350 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
6351 *) ac_try_echo=$ac_try;;
6353 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
6354 $as_echo "$ac_try_echo") >&5
6355 (eval "$ac_link") 2>conftest.er1
6357 grep -v '^ *+' conftest.er1 >conftest.err
6359 cat conftest.err >&5
6360 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
6361 (exit $ac_status); } && {
6362 test -z "$ac_c_werror_flag" ||
6363 test ! -s conftest.err
6364 } && test -s conftest$ac_exeext && {
6365 test "$cross_compiling" = yes ||
6366 $as_test_x conftest$ac_exeext
6368 am_cv_val_LC_MESSAGES=yes
6370 $as_echo "$as_me: failed program was:" >&5
6371 sed 's/^/| /' conftest.$ac_ext >&5
6373 am_cv_val_LC_MESSAGES=no
6376 rm -rf conftest.dSYM
6377 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
6378 conftest$ac_exeext conftest.$ac_ext
6380 { $as_echo "$as_me:$LINENO: result: $am_cv_val_LC_MESSAGES" >&5
6381 $as_echo "$am_cv_val_LC_MESSAGES" >&6; }
6382 if test $am_cv_val_LC_MESSAGES = yes; then
6384 cat >>confdefs.h <<\_ACEOF
6385 #define HAVE_LC_MESSAGES 1
6393 gt_cv_have_gettext=no
6399 if test "${ac_cv_header_libintl_h+set}" = set; then
6400 { $as_echo "$as_me:$LINENO: checking for libintl.h" >&5
6401 $as_echo_n "checking for libintl.h... " >&6; }
6402 if test "${ac_cv_header_libintl_h+set}" = set; then
6403 $as_echo_n "(cached) " >&6
6405 { $as_echo "$as_me:$LINENO: result: $ac_cv_header_libintl_h" >&5
6406 $as_echo "$ac_cv_header_libintl_h" >&6; }
6408 # Is the header compilable?
6409 { $as_echo "$as_me:$LINENO: checking libintl.h usability" >&5
6410 $as_echo_n "checking libintl.h usability... " >&6; }
6411 cat >conftest.$ac_ext <<_ACEOF
6414 cat confdefs.h >>conftest.$ac_ext
6415 cat >>conftest.$ac_ext <<_ACEOF
6416 /* end confdefs.h. */
6417 $ac_includes_default
6418 #include <libintl.h>
6420 rm -f conftest.$ac_objext
6421 if { (ac_try="$ac_compile"
6423 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
6424 *) ac_try_echo=$ac_try;;
6426 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
6427 $as_echo "$ac_try_echo") >&5
6428 (eval "$ac_compile") 2>conftest.er1
6430 grep -v '^ *+' conftest.er1 >conftest.err
6432 cat conftest.err >&5
6433 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
6434 (exit $ac_status); } && {
6435 test -z "$ac_c_werror_flag" ||
6436 test ! -s conftest.err
6437 } && test -s conftest.$ac_objext; then
6438 ac_header_compiler=yes
6440 $as_echo "$as_me: failed program was:" >&5
6441 sed 's/^/| /' conftest.$ac_ext >&5
6443 ac_header_compiler=no
6446 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6447 { $as_echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
6448 $as_echo "$ac_header_compiler" >&6; }
6450 # Is the header present?
6451 { $as_echo "$as_me:$LINENO: checking libintl.h presence" >&5
6452 $as_echo_n "checking libintl.h presence... " >&6; }
6453 cat >conftest.$ac_ext <<_ACEOF
6456 cat confdefs.h >>conftest.$ac_ext
6457 cat >>conftest.$ac_ext <<_ACEOF
6458 /* end confdefs.h. */
6459 #include <libintl.h>
6461 if { (ac_try="$ac_cpp conftest.$ac_ext"
6463 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
6464 *) ac_try_echo=$ac_try;;
6466 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
6467 $as_echo "$ac_try_echo") >&5
6468 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
6470 grep -v '^ *+' conftest.er1 >conftest.err
6472 cat conftest.err >&5
6473 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
6474 (exit $ac_status); } >/dev/null && {
6475 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
6476 test ! -s conftest.err
6478 ac_header_preproc=yes
6480 $as_echo "$as_me: failed program was:" >&5
6481 sed 's/^/| /' conftest.$ac_ext >&5
6483 ac_header_preproc=no
6486 rm -f conftest.err conftest.$ac_ext
6487 { $as_echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
6488 $as_echo "$ac_header_preproc" >&6; }
6490 # So? What about this header?
6491 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
6493 { $as_echo "$as_me:$LINENO: WARNING: libintl.h: accepted by the compiler, rejected by the preprocessor!" >&5
6494 $as_echo "$as_me: WARNING: libintl.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
6495 { $as_echo "$as_me:$LINENO: WARNING: libintl.h: proceeding with the compiler's result" >&5
6496 $as_echo "$as_me: WARNING: libintl.h: proceeding with the compiler's result" >&2;}
6497 ac_header_preproc=yes
6500 { $as_echo "$as_me:$LINENO: WARNING: libintl.h: present but cannot be compiled" >&5
6501 $as_echo "$as_me: WARNING: libintl.h: present but cannot be compiled" >&2;}
6502 { $as_echo "$as_me:$LINENO: WARNING: libintl.h: check for missing prerequisite headers?" >&5
6503 $as_echo "$as_me: WARNING: libintl.h: check for missing prerequisite headers?" >&2;}
6504 { $as_echo "$as_me:$LINENO: WARNING: libintl.h: see the Autoconf documentation" >&5
6505 $as_echo "$as_me: WARNING: libintl.h: see the Autoconf documentation" >&2;}
6506 { $as_echo "$as_me:$LINENO: WARNING: libintl.h: section \"Present But Cannot Be Compiled\"" >&5
6507 $as_echo "$as_me: WARNING: libintl.h: section \"Present But Cannot Be Compiled\"" >&2;}
6508 { $as_echo "$as_me:$LINENO: WARNING: libintl.h: proceeding with the preprocessor's result" >&5
6509 $as_echo "$as_me: WARNING: libintl.h: proceeding with the preprocessor's result" >&2;}
6510 { $as_echo "$as_me:$LINENO: WARNING: libintl.h: in the future, the compiler will take precedence" >&5
6511 $as_echo "$as_me: WARNING: libintl.h: in the future, the compiler will take precedence" >&2;}
6515 { $as_echo "$as_me:$LINENO: checking for libintl.h" >&5
6516 $as_echo_n "checking for libintl.h... " >&6; }
6517 if test "${ac_cv_header_libintl_h+set}" = set; then
6518 $as_echo_n "(cached) " >&6
6520 ac_cv_header_libintl_h=$ac_header_preproc
6522 { $as_echo "$as_me:$LINENO: result: $ac_cv_header_libintl_h" >&5
6523 $as_echo "$ac_cv_header_libintl_h" >&6; }
6526 if test "x$ac_cv_header_libintl_h" = x""yes; then
6527 gt_cv_func_dgettext_libintl="no"
6528 libintl_extra_libs=""
6531 # First check in libc
6533 { $as_echo "$as_me:$LINENO: checking for ngettext in libc" >&5
6534 $as_echo_n "checking for ngettext in libc... " >&6; }
6535 if test "${gt_cv_func_ngettext_libc+set}" = set; then
6536 $as_echo_n "(cached) " >&6
6538 cat >conftest.$ac_ext <<_ACEOF
6541 cat confdefs.h >>conftest.$ac_ext
6542 cat >>conftest.$ac_ext <<_ACEOF
6543 /* end confdefs.h. */
6545 #include <libintl.h>
6550 return !ngettext ("","", 1)
6555 rm -f conftest.$ac_objext conftest$ac_exeext
6556 if { (ac_try="$ac_link"
6558 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
6559 *) ac_try_echo=$ac_try;;
6561 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
6562 $as_echo "$ac_try_echo") >&5
6563 (eval "$ac_link") 2>conftest.er1
6565 grep -v '^ *+' conftest.er1 >conftest.err
6567 cat conftest.err >&5
6568 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
6569 (exit $ac_status); } && {
6570 test -z "$ac_c_werror_flag" ||
6571 test ! -s conftest.err
6572 } && test -s conftest$ac_exeext && {
6573 test "$cross_compiling" = yes ||
6574 $as_test_x conftest$ac_exeext
6576 gt_cv_func_ngettext_libc=yes
6578 $as_echo "$as_me: failed program was:" >&5
6579 sed 's/^/| /' conftest.$ac_ext >&5
6581 gt_cv_func_ngettext_libc=no
6584 rm -rf conftest.dSYM
6585 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
6586 conftest$ac_exeext conftest.$ac_ext
6589 { $as_echo "$as_me:$LINENO: result: $gt_cv_func_ngettext_libc" >&5
6590 $as_echo "$gt_cv_func_ngettext_libc" >&6; }
6592 if test "$gt_cv_func_ngettext_libc" = "yes" ; then
6593 { $as_echo "$as_me:$LINENO: checking for dgettext in libc" >&5
6594 $as_echo_n "checking for dgettext in libc... " >&6; }
6595 if test "${gt_cv_func_dgettext_libc+set}" = set; then
6596 $as_echo_n "(cached) " >&6
6598 cat >conftest.$ac_ext <<_ACEOF
6601 cat confdefs.h >>conftest.$ac_ext
6602 cat >>conftest.$ac_ext <<_ACEOF
6603 /* end confdefs.h. */
6605 #include <libintl.h>
6610 return !dgettext ("","")
6615 rm -f conftest.$ac_objext conftest$ac_exeext
6616 if { (ac_try="$ac_link"
6618 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
6619 *) ac_try_echo=$ac_try;;
6621 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
6622 $as_echo "$ac_try_echo") >&5
6623 (eval "$ac_link") 2>conftest.er1
6625 grep -v '^ *+' conftest.er1 >conftest.err
6627 cat conftest.err >&5
6628 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
6629 (exit $ac_status); } && {
6630 test -z "$ac_c_werror_flag" ||
6631 test ! -s conftest.err
6632 } && test -s conftest$ac_exeext && {
6633 test "$cross_compiling" = yes ||
6634 $as_test_x conftest$ac_exeext
6636 gt_cv_func_dgettext_libc=yes
6638 $as_echo "$as_me: failed program was:" >&5
6639 sed 's/^/| /' conftest.$ac_ext >&5
6641 gt_cv_func_dgettext_libc=no
6644 rm -rf conftest.dSYM
6645 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
6646 conftest$ac_exeext conftest.$ac_ext
6649 { $as_echo "$as_me:$LINENO: result: $gt_cv_func_dgettext_libc" >&5
6650 $as_echo "$gt_cv_func_dgettext_libc" >&6; }
6653 if test "$gt_cv_func_ngettext_libc" = "yes" ; then
6655 for ac_func in bind_textdomain_codeset
6657 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
6658 { $as_echo "$as_me:$LINENO: checking for $ac_func" >&5
6659 $as_echo_n "checking for $ac_func... " >&6; }
6660 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
6661 $as_echo_n "(cached) " >&6
6663 cat >conftest.$ac_ext <<_ACEOF
6666 cat confdefs.h >>conftest.$ac_ext
6667 cat >>conftest.$ac_ext <<_ACEOF
6668 /* end confdefs.h. */
6669 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
6670 For example, HP-UX 11i <limits.h> declares gettimeofday. */
6671 #define $ac_func innocuous_$ac_func
6673 /* System header to define __stub macros and hopefully few prototypes,
6674 which can conflict with char $ac_func (); below.
6675 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
6676 <limits.h> exists even on freestanding compilers. */
6679 # include <limits.h>
6681 # include <assert.h>
6686 /* Override any GCC internal prototype to avoid an error.
6687 Use char because int might match the return type of a GCC
6688 builtin and then its argument prototype would still apply. */
6693 /* The GNU C library defines this for functions which it implements
6694 to always fail with ENOSYS. Some functions are actually named
6695 something starting with __ and the normal name is an alias. */
6696 #if defined __stub_$ac_func || defined __stub___$ac_func
6708 rm -f conftest.$ac_objext conftest$ac_exeext
6709 if { (ac_try="$ac_link"
6711 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
6712 *) ac_try_echo=$ac_try;;
6714 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
6715 $as_echo "$ac_try_echo") >&5
6716 (eval "$ac_link") 2>conftest.er1
6718 grep -v '^ *+' conftest.er1 >conftest.err
6720 cat conftest.err >&5
6721 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
6722 (exit $ac_status); } && {
6723 test -z "$ac_c_werror_flag" ||
6724 test ! -s conftest.err
6725 } && test -s conftest$ac_exeext && {
6726 test "$cross_compiling" = yes ||
6727 $as_test_x conftest$ac_exeext
6729 eval "$as_ac_var=yes"
6731 $as_echo "$as_me: failed program was:" >&5
6732 sed 's/^/| /' conftest.$ac_ext >&5
6734 eval "$as_ac_var=no"
6737 rm -rf conftest.dSYM
6738 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
6739 conftest$ac_exeext conftest.$ac_ext
6741 ac_res=`eval 'as_val=${'$as_ac_var'}
6742 $as_echo "$as_val"'`
6743 { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
6744 $as_echo "$ac_res" >&6; }
6745 as_val=`eval 'as_val=${'$as_ac_var'}
6746 $as_echo "$as_val"'`
6747 if test "x$as_val" = x""yes; then
6748 cat >>confdefs.h <<_ACEOF
6749 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
6758 # If we don't have everything we want, check in libintl
6760 if test "$gt_cv_func_dgettext_libc" != "yes" \
6761 || test "$gt_cv_func_ngettext_libc" != "yes" \
6762 || test "$ac_cv_func_bind_textdomain_codeset" != "yes" ; then
6764 { $as_echo "$as_me:$LINENO: checking for bindtextdomain in -lintl" >&5
6765 $as_echo_n "checking for bindtextdomain in -lintl... " >&6; }
6766 if test "${ac_cv_lib_intl_bindtextdomain+set}" = set; then
6767 $as_echo_n "(cached) " >&6
6769 ac_check_lib_save_LIBS=$LIBS
6771 cat >conftest.$ac_ext <<_ACEOF
6774 cat confdefs.h >>conftest.$ac_ext
6775 cat >>conftest.$ac_ext <<_ACEOF
6776 /* end confdefs.h. */
6778 /* Override any GCC internal prototype to avoid an error.
6779 Use char because int might match the return type of a GCC
6780 builtin and then its argument prototype would still apply. */
6784 char bindtextdomain ();
6788 return bindtextdomain ();
6793 rm -f conftest.$ac_objext conftest$ac_exeext
6794 if { (ac_try="$ac_link"
6796 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
6797 *) ac_try_echo=$ac_try;;
6799 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
6800 $as_echo "$ac_try_echo") >&5
6801 (eval "$ac_link") 2>conftest.er1
6803 grep -v '^ *+' conftest.er1 >conftest.err
6805 cat conftest.err >&5
6806 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
6807 (exit $ac_status); } && {
6808 test -z "$ac_c_werror_flag" ||
6809 test ! -s conftest.err
6810 } && test -s conftest$ac_exeext && {
6811 test "$cross_compiling" = yes ||
6812 $as_test_x conftest$ac_exeext
6814 ac_cv_lib_intl_bindtextdomain=yes
6816 $as_echo "$as_me: failed program was:" >&5
6817 sed 's/^/| /' conftest.$ac_ext >&5
6819 ac_cv_lib_intl_bindtextdomain=no
6822 rm -rf conftest.dSYM
6823 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
6824 conftest$ac_exeext conftest.$ac_ext
6825 LIBS=$ac_check_lib_save_LIBS
6827 { $as_echo "$as_me:$LINENO: result: $ac_cv_lib_intl_bindtextdomain" >&5
6828 $as_echo "$ac_cv_lib_intl_bindtextdomain" >&6; }
6829 if test "x$ac_cv_lib_intl_bindtextdomain" = x""yes; then
6830 { $as_echo "$as_me:$LINENO: checking for ngettext in -lintl" >&5
6831 $as_echo_n "checking for ngettext in -lintl... " >&6; }
6832 if test "${ac_cv_lib_intl_ngettext+set}" = set; then
6833 $as_echo_n "(cached) " >&6
6835 ac_check_lib_save_LIBS=$LIBS
6837 cat >conftest.$ac_ext <<_ACEOF
6840 cat confdefs.h >>conftest.$ac_ext
6841 cat >>conftest.$ac_ext <<_ACEOF
6842 /* end confdefs.h. */
6844 /* Override any GCC internal prototype to avoid an error.
6845 Use char because int might match the return type of a GCC
6846 builtin and then its argument prototype would still apply. */
6859 rm -f conftest.$ac_objext conftest$ac_exeext
6860 if { (ac_try="$ac_link"
6862 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
6863 *) ac_try_echo=$ac_try;;
6865 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
6866 $as_echo "$ac_try_echo") >&5
6867 (eval "$ac_link") 2>conftest.er1
6869 grep -v '^ *+' conftest.er1 >conftest.err
6871 cat conftest.err >&5
6872 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
6873 (exit $ac_status); } && {
6874 test -z "$ac_c_werror_flag" ||
6875 test ! -s conftest.err
6876 } && test -s conftest$ac_exeext && {
6877 test "$cross_compiling" = yes ||
6878 $as_test_x conftest$ac_exeext
6880 ac_cv_lib_intl_ngettext=yes
6882 $as_echo "$as_me: failed program was:" >&5
6883 sed 's/^/| /' conftest.$ac_ext >&5
6885 ac_cv_lib_intl_ngettext=no
6888 rm -rf conftest.dSYM
6889 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
6890 conftest$ac_exeext conftest.$ac_ext
6891 LIBS=$ac_check_lib_save_LIBS
6893 { $as_echo "$as_me:$LINENO: result: $ac_cv_lib_intl_ngettext" >&5
6894 $as_echo "$ac_cv_lib_intl_ngettext" >&6; }
6895 if test "x$ac_cv_lib_intl_ngettext" = x""yes; then
6896 { $as_echo "$as_me:$LINENO: checking for dgettext in -lintl" >&5
6897 $as_echo_n "checking for dgettext in -lintl... " >&6; }
6898 if test "${ac_cv_lib_intl_dgettext+set}" = set; then
6899 $as_echo_n "(cached) " >&6
6901 ac_check_lib_save_LIBS=$LIBS
6903 cat >conftest.$ac_ext <<_ACEOF
6906 cat confdefs.h >>conftest.$ac_ext
6907 cat >>conftest.$ac_ext <<_ACEOF
6908 /* end confdefs.h. */
6910 /* Override any GCC internal prototype to avoid an error.
6911 Use char because int might match the return type of a GCC
6912 builtin and then its argument prototype would still apply. */
6925 rm -f conftest.$ac_objext conftest$ac_exeext
6926 if { (ac_try="$ac_link"
6928 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
6929 *) ac_try_echo=$ac_try;;
6931 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
6932 $as_echo "$ac_try_echo") >&5
6933 (eval "$ac_link") 2>conftest.er1
6935 grep -v '^ *+' conftest.er1 >conftest.err
6937 cat conftest.err >&5
6938 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
6939 (exit $ac_status); } && {
6940 test -z "$ac_c_werror_flag" ||
6941 test ! -s conftest.err
6942 } && test -s conftest$ac_exeext && {
6943 test "$cross_compiling" = yes ||
6944 $as_test_x conftest$ac_exeext
6946 ac_cv_lib_intl_dgettext=yes
6948 $as_echo "$as_me: failed program was:" >&5
6949 sed 's/^/| /' conftest.$ac_ext >&5
6951 ac_cv_lib_intl_dgettext=no
6954 rm -rf conftest.dSYM
6955 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
6956 conftest$ac_exeext conftest.$ac_ext
6957 LIBS=$ac_check_lib_save_LIBS
6959 { $as_echo "$as_me:$LINENO: result: $ac_cv_lib_intl_dgettext" >&5
6960 $as_echo "$ac_cv_lib_intl_dgettext" >&6; }
6961 if test "x$ac_cv_lib_intl_dgettext" = x""yes; then
6962 gt_cv_func_dgettext_libintl=yes
6970 if test "$gt_cv_func_dgettext_libintl" != "yes" ; then
6971 { $as_echo "$as_me:$LINENO: checking if -liconv is needed to use gettext" >&5
6972 $as_echo_n "checking if -liconv is needed to use gettext... " >&6; }
6973 { $as_echo "$as_me:$LINENO: result: " >&5
6975 { $as_echo "$as_me:$LINENO: checking for ngettext in -lintl" >&5
6976 $as_echo_n "checking for ngettext in -lintl... " >&6; }
6977 if test "${ac_cv_lib_intl_ngettext+set}" = set; then
6978 $as_echo_n "(cached) " >&6
6980 ac_check_lib_save_LIBS=$LIBS
6981 LIBS="-lintl -liconv $LIBS"
6982 cat >conftest.$ac_ext <<_ACEOF
6985 cat confdefs.h >>conftest.$ac_ext
6986 cat >>conftest.$ac_ext <<_ACEOF
6987 /* end confdefs.h. */
6989 /* Override any GCC internal prototype to avoid an error.
6990 Use char because int might match the return type of a GCC
6991 builtin and then its argument prototype would still apply. */
7004 rm -f conftest.$ac_objext conftest$ac_exeext
7005 if { (ac_try="$ac_link"
7007 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
7008 *) ac_try_echo=$ac_try;;
7010 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
7011 $as_echo "$ac_try_echo") >&5
7012 (eval "$ac_link") 2>conftest.er1
7014 grep -v '^ *+' conftest.er1 >conftest.err
7016 cat conftest.err >&5
7017 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
7018 (exit $ac_status); } && {
7019 test -z "$ac_c_werror_flag" ||
7020 test ! -s conftest.err
7021 } && test -s conftest$ac_exeext && {
7022 test "$cross_compiling" = yes ||
7023 $as_test_x conftest$ac_exeext
7025 ac_cv_lib_intl_ngettext=yes
7027 $as_echo "$as_me: failed program was:" >&5
7028 sed 's/^/| /' conftest.$ac_ext >&5
7030 ac_cv_lib_intl_ngettext=no
7033 rm -rf conftest.dSYM
7034 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
7035 conftest$ac_exeext conftest.$ac_ext
7036 LIBS=$ac_check_lib_save_LIBS
7038 { $as_echo "$as_me:$LINENO: result: $ac_cv_lib_intl_ngettext" >&5
7039 $as_echo "$ac_cv_lib_intl_ngettext" >&6; }
7040 if test "x$ac_cv_lib_intl_ngettext" = x""yes; then
7041 { $as_echo "$as_me:$LINENO: checking for dcgettext in -lintl" >&5
7042 $as_echo_n "checking for dcgettext in -lintl... " >&6; }
7043 if test "${ac_cv_lib_intl_dcgettext+set}" = set; then
7044 $as_echo_n "(cached) " >&6
7046 ac_check_lib_save_LIBS=$LIBS
7047 LIBS="-lintl -liconv $LIBS"
7048 cat >conftest.$ac_ext <<_ACEOF
7051 cat confdefs.h >>conftest.$ac_ext
7052 cat >>conftest.$ac_ext <<_ACEOF
7053 /* end confdefs.h. */
7055 /* Override any GCC internal prototype to avoid an error.
7056 Use char because int might match the return type of a GCC
7057 builtin and then its argument prototype would still apply. */
7065 return dcgettext ();
7070 rm -f conftest.$ac_objext conftest$ac_exeext
7071 if { (ac_try="$ac_link"
7073 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
7074 *) ac_try_echo=$ac_try;;
7076 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
7077 $as_echo "$ac_try_echo") >&5
7078 (eval "$ac_link") 2>conftest.er1
7080 grep -v '^ *+' conftest.er1 >conftest.err
7082 cat conftest.err >&5
7083 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
7084 (exit $ac_status); } && {
7085 test -z "$ac_c_werror_flag" ||
7086 test ! -s conftest.err
7087 } && test -s conftest$ac_exeext && {
7088 test "$cross_compiling" = yes ||
7089 $as_test_x conftest$ac_exeext
7091 ac_cv_lib_intl_dcgettext=yes
7093 $as_echo "$as_me: failed program was:" >&5
7094 sed 's/^/| /' conftest.$ac_ext >&5
7096 ac_cv_lib_intl_dcgettext=no
7099 rm -rf conftest.dSYM
7100 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
7101 conftest$ac_exeext conftest.$ac_ext
7102 LIBS=$ac_check_lib_save_LIBS
7104 { $as_echo "$as_me:$LINENO: result: $ac_cv_lib_intl_dcgettext" >&5
7105 $as_echo "$ac_cv_lib_intl_dcgettext" >&6; }
7106 if test "x$ac_cv_lib_intl_dcgettext" = x""yes; then
7107 gt_cv_func_dgettext_libintl=yes
7108 libintl_extra_libs=-liconv
7120 # If we found libintl, then check in it for bind_textdomain_codeset();
7121 # we'll prefer libc if neither have bind_textdomain_codeset(),
7122 # and both have dgettext and ngettext
7124 if test "$gt_cv_func_dgettext_libintl" = "yes" ; then
7125 glib_save_LIBS="$LIBS"
7126 LIBS="$LIBS -lintl $libintl_extra_libs"
7127 unset ac_cv_func_bind_textdomain_codeset
7129 for ac_func in bind_textdomain_codeset
7131 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
7132 { $as_echo "$as_me:$LINENO: checking for $ac_func" >&5
7133 $as_echo_n "checking for $ac_func... " >&6; }
7134 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
7135 $as_echo_n "(cached) " >&6
7137 cat >conftest.$ac_ext <<_ACEOF
7140 cat confdefs.h >>conftest.$ac_ext
7141 cat >>conftest.$ac_ext <<_ACEOF
7142 /* end confdefs.h. */
7143 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
7144 For example, HP-UX 11i <limits.h> declares gettimeofday. */
7145 #define $ac_func innocuous_$ac_func
7147 /* System header to define __stub macros and hopefully few prototypes,
7148 which can conflict with char $ac_func (); below.
7149 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
7150 <limits.h> exists even on freestanding compilers. */
7153 # include <limits.h>
7155 # include <assert.h>
7160 /* Override any GCC internal prototype to avoid an error.
7161 Use char because int might match the return type of a GCC
7162 builtin and then its argument prototype would still apply. */
7167 /* The GNU C library defines this for functions which it implements
7168 to always fail with ENOSYS. Some functions are actually named
7169 something starting with __ and the normal name is an alias. */
7170 #if defined __stub_$ac_func || defined __stub___$ac_func
7182 rm -f conftest.$ac_objext conftest$ac_exeext
7183 if { (ac_try="$ac_link"
7185 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
7186 *) ac_try_echo=$ac_try;;
7188 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
7189 $as_echo "$ac_try_echo") >&5
7190 (eval "$ac_link") 2>conftest.er1
7192 grep -v '^ *+' conftest.er1 >conftest.err
7194 cat conftest.err >&5
7195 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
7196 (exit $ac_status); } && {
7197 test -z "$ac_c_werror_flag" ||
7198 test ! -s conftest.err
7199 } && test -s conftest$ac_exeext && {
7200 test "$cross_compiling" = yes ||
7201 $as_test_x conftest$ac_exeext
7203 eval "$as_ac_var=yes"
7205 $as_echo "$as_me: failed program was:" >&5
7206 sed 's/^/| /' conftest.$ac_ext >&5
7208 eval "$as_ac_var=no"
7211 rm -rf conftest.dSYM
7212 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
7213 conftest$ac_exeext conftest.$ac_ext
7215 ac_res=`eval 'as_val=${'$as_ac_var'}
7216 $as_echo "$as_val"'`
7217 { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
7218 $as_echo "$ac_res" >&6; }
7219 as_val=`eval 'as_val=${'$as_ac_var'}
7220 $as_echo "$as_val"'`
7221 if test "x$as_val" = x""yes; then
7222 cat >>confdefs.h <<_ACEOF
7223 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
7229 LIBS="$glib_save_LIBS"
7231 if test "$ac_cv_func_bind_textdomain_codeset" = "yes" ; then
7232 gt_cv_func_dgettext_libc=no
7234 if test "$gt_cv_func_dgettext_libc" = "yes" \
7235 && test "$gt_cv_func_ngettext_libc" = "yes"; then
7236 gt_cv_func_dgettext_libintl=no
7242 if test "$gt_cv_func_dgettext_libc" = "yes" \
7243 || test "$gt_cv_func_dgettext_libintl" = "yes"; then
7244 gt_cv_have_gettext=yes
7247 if test "$gt_cv_func_dgettext_libintl" = "yes"; then
7248 INTLLIBS="-lintl $libintl_extra_libs"
7251 if test "$gt_cv_have_gettext" = "yes"; then
7253 cat >>confdefs.h <<\_ACEOF
7254 #define HAVE_GETTEXT 1
7257 # Extract the first word of "msgfmt", so it can be a program name with args.
7258 set dummy msgfmt; ac_word=$2
7259 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
7260 $as_echo_n "checking for $ac_word... " >&6; }
7261 if test "${ac_cv_path_MSGFMT+set}" = set; then
7262 $as_echo_n "(cached) " >&6
7266 ac_cv_path_MSGFMT="$MSGFMT" # Let the user override the test with a path.
7269 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS="${IFS}:"
7270 for ac_dir in $PATH; do
7271 test -z "$ac_dir" && ac_dir=.
7272 if test -f $ac_dir/$ac_word; then
7273 if test -z "`$ac_dir/$ac_word -h 2>&1 | grep 'dv '`"; then
7274 ac_cv_path_MSGFMT="$ac_dir/$ac_word"
7280 test -z "$ac_cv_path_MSGFMT" && ac_cv_path_MSGFMT="no"
7284 MSGFMT="$ac_cv_path_MSGFMT"
7285 if test "$MSGFMT" != "no"; then
7286 { $as_echo "$as_me:$LINENO: result: $MSGFMT" >&5
7287 $as_echo "$MSGFMT" >&6; }
7289 { $as_echo "$as_me:$LINENO: result: no" >&5
7290 $as_echo "no" >&6; }
7292 if test "$MSGFMT" != "no"; then
7293 glib_save_LIBS="$LIBS"
7294 LIBS="$LIBS $INTLLIBS"
7296 for ac_func in dcgettext
7298 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
7299 { $as_echo "$as_me:$LINENO: checking for $ac_func" >&5
7300 $as_echo_n "checking for $ac_func... " >&6; }
7301 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
7302 $as_echo_n "(cached) " >&6
7304 cat >conftest.$ac_ext <<_ACEOF
7307 cat confdefs.h >>conftest.$ac_ext
7308 cat >>conftest.$ac_ext <<_ACEOF
7309 /* end confdefs.h. */
7310 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
7311 For example, HP-UX 11i <limits.h> declares gettimeofday. */
7312 #define $ac_func innocuous_$ac_func
7314 /* System header to define __stub macros and hopefully few prototypes,
7315 which can conflict with char $ac_func (); below.
7316 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
7317 <limits.h> exists even on freestanding compilers. */
7320 # include <limits.h>
7322 # include <assert.h>
7327 /* Override any GCC internal prototype to avoid an error.
7328 Use char because int might match the return type of a GCC
7329 builtin and then its argument prototype would still apply. */
7334 /* The GNU C library defines this for functions which it implements
7335 to always fail with ENOSYS. Some functions are actually named
7336 something starting with __ and the normal name is an alias. */
7337 #if defined __stub_$ac_func || defined __stub___$ac_func
7349 rm -f conftest.$ac_objext conftest$ac_exeext
7350 if { (ac_try="$ac_link"
7352 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
7353 *) ac_try_echo=$ac_try;;
7355 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
7356 $as_echo "$ac_try_echo") >&5
7357 (eval "$ac_link") 2>conftest.er1
7359 grep -v '^ *+' conftest.er1 >conftest.err
7361 cat conftest.err >&5
7362 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
7363 (exit $ac_status); } && {
7364 test -z "$ac_c_werror_flag" ||
7365 test ! -s conftest.err
7366 } && test -s conftest$ac_exeext && {
7367 test "$cross_compiling" = yes ||
7368 $as_test_x conftest$ac_exeext
7370 eval "$as_ac_var=yes"
7372 $as_echo "$as_me: failed program was:" >&5
7373 sed 's/^/| /' conftest.$ac_ext >&5
7375 eval "$as_ac_var=no"
7378 rm -rf conftest.dSYM
7379 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
7380 conftest$ac_exeext conftest.$ac_ext
7382 ac_res=`eval 'as_val=${'$as_ac_var'}
7383 $as_echo "$as_val"'`
7384 { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
7385 $as_echo "$ac_res" >&6; }
7386 as_val=`eval 'as_val=${'$as_ac_var'}
7387 $as_echo "$as_val"'`
7388 if test "x$as_val" = x""yes; then
7389 cat >>confdefs.h <<_ACEOF
7390 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
7397 { $as_echo "$as_me:$LINENO: checking if msgfmt accepts -c" >&5
7398 $as_echo_n "checking if msgfmt accepts -c... " >&6; }
7399 cat >conftest.foo <<_ACEOF
7403 "Content-Type: text/plain; charset=UTF-8\n"
7404 "Project-Id-Version: test 1.0\n"
7405 "PO-Revision-Date: 2007-02-15 12:01+0100\n"
7406 "Last-Translator: test <foo@bar.xx>\n"
7407 "Language-Team: C <LL@li.org>\n"
7408 "MIME-Version: 1.0\n"
7409 "Content-Transfer-Encoding: 8bit\n"
7412 if { ($as_echo "$as_me:$LINENO: \$MSGFMT -c -o /dev/null conftest.foo") >&5
7413 ($MSGFMT -c -o /dev/null conftest.foo) 2>&5
7415 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
7416 (exit $ac_status); }; then
7417 MSGFMT_OPTS=-c; { $as_echo "$as_me:$LINENO: result: yes" >&5
7418 $as_echo "yes" >&6; }
7419 else { $as_echo "$as_me:$LINENO: result: no" >&5
7420 $as_echo "no" >&6; }
7421 echo "$as_me: failed input was:" >&5
7422 sed 's/^/| /' conftest.foo >&5
7425 # Extract the first word of "gmsgfmt", so it can be a program name with args.
7426 set dummy gmsgfmt; ac_word=$2
7427 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
7428 $as_echo_n "checking for $ac_word... " >&6; }
7429 if test "${ac_cv_path_GMSGFMT+set}" = set; then
7430 $as_echo_n "(cached) " >&6
7434 ac_cv_path_GMSGFMT="$GMSGFMT" # Let the user override the test with a path.
7437 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7441 test -z "$as_dir" && as_dir=.
7442 for ac_exec_ext in '' $ac_executable_extensions; do
7443 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7444 ac_cv_path_GMSGFMT="$as_dir/$ac_word$ac_exec_ext"
7445 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
7452 test -z "$ac_cv_path_GMSGFMT" && ac_cv_path_GMSGFMT="$MSGFMT"
7456 GMSGFMT=$ac_cv_path_GMSGFMT
7457 if test -n "$GMSGFMT"; then
7458 { $as_echo "$as_me:$LINENO: result: $GMSGFMT" >&5
7459 $as_echo "$GMSGFMT" >&6; }
7461 { $as_echo "$as_me:$LINENO: result: no" >&5
7462 $as_echo "no" >&6; }
7466 # Extract the first word of "xgettext", so it can be a program name with args.
7467 set dummy xgettext; ac_word=$2
7468 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
7469 $as_echo_n "checking for $ac_word... " >&6; }
7470 if test "${ac_cv_path_XGETTEXT+set}" = set; then
7471 $as_echo_n "(cached) " >&6
7475 ac_cv_path_XGETTEXT="$XGETTEXT" # Let the user override the test with a path.
7478 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS="${IFS}:"
7479 for ac_dir in $PATH; do
7480 test -z "$ac_dir" && ac_dir=.
7481 if test -f $ac_dir/$ac_word; then
7482 if test -z "`$ac_dir/$ac_word -h 2>&1 | grep '(HELP)'`"; then
7483 ac_cv_path_XGETTEXT="$ac_dir/$ac_word"
7489 test -z "$ac_cv_path_XGETTEXT" && ac_cv_path_XGETTEXT=":"
7493 XGETTEXT="$ac_cv_path_XGETTEXT"
7494 if test "$XGETTEXT" != ":"; then
7495 { $as_echo "$as_me:$LINENO: result: $XGETTEXT" >&5
7496 $as_echo "$XGETTEXT" >&6; }
7498 { $as_echo "$as_me:$LINENO: result: no" >&5
7499 $as_echo "no" >&6; }
7502 cat >conftest.$ac_ext <<_ACEOF
7505 cat confdefs.h >>conftest.$ac_ext
7506 cat >>conftest.$ac_ext <<_ACEOF
7507 /* end confdefs.h. */
7512 extern int _nl_msg_cat_cntr;
7513 return _nl_msg_cat_cntr
7518 rm -f conftest.$ac_objext conftest$ac_exeext
7519 if { (ac_try="$ac_link"
7521 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
7522 *) ac_try_echo=$ac_try;;
7524 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
7525 $as_echo "$ac_try_echo") >&5
7526 (eval "$ac_link") 2>conftest.er1
7528 grep -v '^ *+' conftest.er1 >conftest.err
7530 cat conftest.err >&5
7531 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
7532 (exit $ac_status); } && {
7533 test -z "$ac_c_werror_flag" ||
7534 test ! -s conftest.err
7535 } && test -s conftest$ac_exeext && {
7536 test "$cross_compiling" = yes ||
7537 $as_test_x conftest$ac_exeext
7542 $as_echo "$as_me: failed program was:" >&5
7543 sed 's/^/| /' conftest.$ac_ext >&5
7547 { $as_echo "$as_me:$LINENO: checking for bind_textdomain_codeset" >&5
7548 $as_echo_n "checking for bind_textdomain_codeset... " >&6; }
7549 if test "${ac_cv_func_bind_textdomain_codeset+set}" = set; then
7550 $as_echo_n "(cached) " >&6
7552 cat >conftest.$ac_ext <<_ACEOF
7555 cat confdefs.h >>conftest.$ac_ext
7556 cat >>conftest.$ac_ext <<_ACEOF
7557 /* end confdefs.h. */
7558 /* Define bind_textdomain_codeset to an innocuous variant, in case <limits.h> declares bind_textdomain_codeset.
7559 For example, HP-UX 11i <limits.h> declares gettimeofday. */
7560 #define bind_textdomain_codeset innocuous_bind_textdomain_codeset
7562 /* System header to define __stub macros and hopefully few prototypes,
7563 which can conflict with char bind_textdomain_codeset (); below.
7564 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
7565 <limits.h> exists even on freestanding compilers. */
7568 # include <limits.h>
7570 # include <assert.h>
7573 #undef bind_textdomain_codeset
7575 /* Override any GCC internal prototype to avoid an error.
7576 Use char because int might match the return type of a GCC
7577 builtin and then its argument prototype would still apply. */
7581 char bind_textdomain_codeset ();
7582 /* The GNU C library defines this for functions which it implements
7583 to always fail with ENOSYS. Some functions are actually named
7584 something starting with __ and the normal name is an alias. */
7585 #if defined __stub_bind_textdomain_codeset || defined __stub___bind_textdomain_codeset
7592 return bind_textdomain_codeset ();
7597 rm -f conftest.$ac_objext conftest$ac_exeext
7598 if { (ac_try="$ac_link"
7600 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
7601 *) ac_try_echo=$ac_try;;
7603 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
7604 $as_echo "$ac_try_echo") >&5
7605 (eval "$ac_link") 2>conftest.er1
7607 grep -v '^ *+' conftest.er1 >conftest.err
7609 cat conftest.err >&5
7610 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
7611 (exit $ac_status); } && {
7612 test -z "$ac_c_werror_flag" ||
7613 test ! -s conftest.err
7614 } && test -s conftest$ac_exeext && {
7615 test "$cross_compiling" = yes ||
7616 $as_test_x conftest$ac_exeext
7618 ac_cv_func_bind_textdomain_codeset=yes
7620 $as_echo "$as_me: failed program was:" >&5
7621 sed 's/^/| /' conftest.$ac_ext >&5
7623 ac_cv_func_bind_textdomain_codeset=no
7626 rm -rf conftest.dSYM
7627 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
7628 conftest$ac_exeext conftest.$ac_ext
7630 { $as_echo "$as_me:$LINENO: result: $ac_cv_func_bind_textdomain_codeset" >&5
7631 $as_echo "$ac_cv_func_bind_textdomain_codeset" >&6; }
7632 if test "x$ac_cv_func_bind_textdomain_codeset" = x""yes; then
7648 rm -rf conftest.dSYM
7649 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
7650 conftest$ac_exeext conftest.$ac_ext
7651 LIBS="$glib_save_LIBS"
7654 gt_cv_have_gettext=no
7662 if test "$gt_cv_have_gettext" = "yes" ; then
7664 cat >>confdefs.h <<\_ACEOF
7665 #define ENABLE_NLS 1
7670 if test "$XGETTEXT" != ":"; then
7671 if $XGETTEXT --omit-header /dev/null 2> /dev/null; then
7674 { $as_echo "$as_me:$LINENO: result: found xgettext program is not GNU xgettext; ignore it" >&5
7675 $as_echo "found xgettext program is not GNU xgettext; ignore it" >&6; }
7680 # We need to process the po/ directory.
7683 ac_config_commands="$ac_config_commands default-1"
7686 for lang in $ALL_LINGUAS; do
7687 GMOFILES="$GMOFILES $lang.gmo"
7688 POFILES="$POFILES $lang.po"
7703 if test "$gt_cv_have_gettext" = "yes"; then
7704 if test "x$ALL_LINGUAS" = "x"; then
7707 { $as_echo "$as_me:$LINENO: checking for catalogs to be installed" >&5
7708 $as_echo_n "checking for catalogs to be installed... " >&6; }
7710 for presentlang in $ALL_LINGUAS; do
7712 if test "%UNSET%" != "${LINGUAS-%UNSET%}"; then
7713 desiredlanguages="$LINGUAS"
7715 desiredlanguages="$ALL_LINGUAS"
7717 for desiredlang in $desiredlanguages; do
7718 # Use the presentlang catalog if desiredlang is
7719 # a. equal to presentlang, or
7720 # b. a variant of presentlang (because in this case,
7721 # presentlang can be used as a fallback for messages
7722 # which are not translated in the desiredlang catalog).
7723 case "$desiredlang" in
7724 "$presentlang"*) useit=yes;;
7727 if test $useit = yes; then
7728 NEW_LINGUAS="$NEW_LINGUAS $presentlang"
7731 LINGUAS=$NEW_LINGUAS
7732 { $as_echo "$as_me:$LINENO: result: $LINGUAS" >&5
7733 $as_echo "$LINGUAS" >&6; }
7736 if test -n "$LINGUAS"; then
7737 for lang in $LINGUAS; do CATALOGS="$CATALOGS $lang$CATOBJEXT"; done
7742 if test -n "$ac_aux_dir"; then
7743 MKINSTALLDIRS="$ac_aux_dir/mkinstalldirs"
7745 if test -z "$MKINSTALLDIRS"; then
7746 MKINSTALLDIRS="\$(top_srcdir)/mkinstalldirs"
7750 test -d po || mkdir po
7751 if test "x$srcdir" != "x."; then
7752 if test "x`echo $srcdir | sed 's@/.*@@'`" = "x"; then
7753 posrcprefix="$srcdir/"
7755 posrcprefix="../$srcdir/"
7761 sed -e "/^#/d" -e "/^\$/d" -e "s,.*, $posrcprefix& \\\\," -e "\$s/\(.*\) \\\\/\1/" \
7762 < $srcdir/po/POTFILES.in > po/POTFILES
7765 ac_config_files="$ac_config_files Makefile src/Makefile src/ttsubset/Makefile po/Makefile.in"
7767 cat >confcache <<\_ACEOF
7768 # This file is a shell script that caches the results of configure
7769 # tests run on this system so they can be shared between configure
7770 # scripts and configure runs, see configure's option --config-cache.
7771 # It is not useful on other systems. If it contains results you don't
7772 # want to keep, you may remove or edit it.
7774 # config.status only pays attention to the cache file if you give it
7775 # the --recheck option to rerun configure.
7777 # `ac_cv_env_foo' variables (set or unset) will be overridden when
7778 # loading this file, other *unset* `ac_cv_foo' will be assigned the
7783 # The following way of writing the cache mishandles newlines in values,
7784 # but we know of no workaround that is simple, portable, and efficient.
7785 # So, we kill variables containing newlines.
7786 # Ultrix sh set writes to stderr and can't be redirected directly,
7787 # and sets the high bit in the cache file unless we assign to the vars.
7789 for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
7790 eval ac_val=\$$ac_var
7794 *_cv_*) { $as_echo "$as_me:$LINENO: WARNING: cache variable $ac_var contains a newline" >&5
7795 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
7798 _ | IFS | as_nl) ;; #(
7799 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
7800 *) $as_unset $ac_var ;;
7806 case $as_nl`(ac_space=' '; set) 2>&1` in #(
7807 *${as_nl}ac_space=\ *)
7808 # `set' does not quote correctly, so add quotes (double-quote
7809 # substitution turns \\\\ into \\, and sed turns \\ into \).
7812 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
7815 # `set' quotes correctly as required by POSIX, so do not add quotes.
7816 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
7825 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
7827 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
7829 if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
7830 if test -w "$cache_file"; then
7831 test "x$cache_file" != "x/dev/null" &&
7832 { $as_echo "$as_me:$LINENO: updating cache $cache_file" >&5
7833 $as_echo "$as_me: updating cache $cache_file" >&6;}
7834 cat confcache >$cache_file
7836 { $as_echo "$as_me:$LINENO: not updating unwritable cache $cache_file" >&5
7837 $as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
7842 test "x$prefix" = xNONE && prefix=$ac_default_prefix
7843 # Let make expand exec_prefix.
7844 test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
7846 DEFS=-DHAVE_CONFIG_H
7850 for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
7851 # 1. Remove the extension, and $U if already installed.
7852 ac_script='s/\$U\././;s/\.o$//;s/\.obj$//'
7853 ac_i=`$as_echo "$ac_i" | sed "$ac_script"`
7854 # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR
7855 # will be set to the directory where LIBOBJS objects are built.
7856 ac_libobjs="$ac_libobjs \${LIBOBJDIR}$ac_i\$U.$ac_objext"
7857 ac_ltlibobjs="$ac_ltlibobjs \${LIBOBJDIR}$ac_i"'$U.lo'
7861 LTLIBOBJS=$ac_ltlibobjs
7864 if test -n "$EXEEXT"; then
7866 am__EXEEXT_FALSE='#'
7872 if test -z "${MAINTAINER_MODE_TRUE}" && test -z "${MAINTAINER_MODE_FALSE}"; then
7873 { { $as_echo "$as_me:$LINENO: error: conditional \"MAINTAINER_MODE\" was never defined.
7874 Usually this means the macro was only invoked conditionally." >&5
7875 $as_echo "$as_me: error: conditional \"MAINTAINER_MODE\" was never defined.
7876 Usually this means the macro was only invoked conditionally." >&2;}
7877 { (exit 1); exit 1; }; }
7879 if test -z "${AMDEP_TRUE}" && test -z "${AMDEP_FALSE}"; then
7880 { { $as_echo "$as_me:$LINENO: error: conditional \"AMDEP\" was never defined.
7881 Usually this means the macro was only invoked conditionally." >&5
7882 $as_echo "$as_me: error: conditional \"AMDEP\" was never defined.
7883 Usually this means the macro was only invoked conditionally." >&2;}
7884 { (exit 1); exit 1; }; }
7886 if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
7887 { { $as_echo "$as_me:$LINENO: error: conditional \"am__fastdepCC\" was never defined.
7888 Usually this means the macro was only invoked conditionally." >&5
7889 $as_echo "$as_me: error: conditional \"am__fastdepCC\" was never defined.
7890 Usually this means the macro was only invoked conditionally." >&2;}
7891 { (exit 1); exit 1; }; }
7893 if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
7894 { { $as_echo "$as_me:$LINENO: error: conditional \"am__fastdepCC\" was never defined.
7895 Usually this means the macro was only invoked conditionally." >&5
7896 $as_echo "$as_me: error: conditional \"am__fastdepCC\" was never defined.
7897 Usually this means the macro was only invoked conditionally." >&2;}
7898 { (exit 1); exit 1; }; }
7900 if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
7901 { { $as_echo "$as_me:$LINENO: error: conditional \"am__fastdepCC\" was never defined.
7902 Usually this means the macro was only invoked conditionally." >&5
7903 $as_echo "$as_me: error: conditional \"am__fastdepCC\" was never defined.
7904 Usually this means the macro was only invoked conditionally." >&2;}
7905 { (exit 1); exit 1; }; }
7908 : ${CONFIG_STATUS=./config.status}
7910 ac_clean_files_save=$ac_clean_files
7911 ac_clean_files="$ac_clean_files $CONFIG_STATUS"
7912 { $as_echo "$as_me:$LINENO: creating $CONFIG_STATUS" >&5
7913 $as_echo "$as_me: creating $CONFIG_STATUS" >&6;}
7914 cat >$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
7916 # Generated by $as_me.
7917 # Run this file to recreate the current configuration.
7918 # Compiler output produced by configure, useful for debugging
7919 # configure, is in config.log if it exists.
7924 SHELL=\${CONFIG_SHELL-$SHELL}
7927 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
7928 ## --------------------- ##
7929 ## M4sh Initialization. ##
7930 ## --------------------- ##
7932 # Be more Bourne compatible
7933 DUALCASE=1; export DUALCASE # for MKS sh
7934 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
7937 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
7938 # is contrary to our usage. Disable this feature.
7939 alias -g '${1+"$@"}'='"$@"'
7940 setopt NO_GLOB_SUBST
7942 case `(set -o) 2>/dev/null` in
7943 *posix*) set -o posix ;;
7952 # Avoid depending upon Character Ranges.
7953 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
7954 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
7955 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
7956 as_cr_digits='0123456789'
7957 as_cr_alnum=$as_cr_Letters$as_cr_digits
7962 # Printing a long string crashes Solaris 7 /usr/bin/printf.
7963 as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
7964 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
7965 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
7966 if (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
7967 as_echo='printf %s\n'
7968 as_echo_n='printf %s'
7970 if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
7971 as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
7972 as_echo_n='/usr/ucb/echo -n'
7974 as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
7975 as_echo_n_body='eval
7979 expr "X$arg" : "X\\(.*\\)$as_nl";
7980 arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
7982 expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
7984 export as_echo_n_body
7985 as_echo_n='sh -c $as_echo_n_body as_echo'
7988 as_echo='sh -c $as_echo_body as_echo'
7991 # The user is always right.
7992 if test "${PATH_SEPARATOR+set}" != set; then
7994 (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
7995 (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
8000 # Support unset when possible.
8001 if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
8009 # We need space, tab and new line, in precisely that order. Quoting is
8010 # there to prevent editors from complaining about space-tab.
8011 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
8012 # splitting by setting IFS to empty value.)
8015 # Find who we are. Look in the path if we contain no directory separator.
8017 *[\\/]* ) as_myself=$0 ;;
8018 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8022 test -z "$as_dir" && as_dir=.
8023 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
8029 # We did not find ourselves, most probably we were run as `sh COMMAND'
8030 # in which case we are not to be found in the path.
8031 if test "x$as_myself" = x; then
8034 if test ! -f "$as_myself"; then
8035 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
8036 { (exit 1); exit 1; }
8039 # Work around bugs in pre-3.0 UWIN ksh.
8040 for as_var in ENV MAIL MAILPATH
8041 do ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
8053 # Required to use basename.
8054 if expr a : '\(a\)' >/dev/null 2>&1 &&
8055 test "X`expr 00001 : '.*\(...\)'`" = X001; then
8061 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
8062 as_basename=basename
8068 # Name of the executable.
8069 as_me=`$as_basename -- "$0" ||
8070 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
8071 X"$0" : 'X\(//\)$' \| \
8072 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
8074 sed '/^.*\/\([^/][^/]*\)\/*$/{
8095 test "x$as_lineno_1" != "x$as_lineno_2" &&
8096 test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2" || {
8098 # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
8099 # uniformly replaced by the line number. The first 'sed' inserts a
8100 # line-number line after each line using $LINENO; the second 'sed'
8101 # does the real work. The second script uses 'N' to pair each
8102 # line-number line with the line containing $LINENO, and appends
8103 # trailing '-' during substitution so that $LINENO is not a special
8105 # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
8106 # scripts with optimization help from Paolo Bonzini. Blame Lee
8107 # E. McMahon (1931-1989) for sed's syntax. :-)
8119 s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
8123 chmod +x "$as_me.lineno" ||
8124 { $as_echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2
8125 { (exit 1); exit 1; }; }
8127 # Don't try to exec as it changes $[0], causing all sort of problems
8128 # (the dirname of $[0] is not the place where we might find the
8129 # original and so on. Autoconf is especially sensitive to this).
8131 # Exit status is that of the last command.
8136 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
8142 ECHO_C= ECHO_N= ECHO_T=
8145 case `echo 'x\c'` in
8146 *c*) ECHO_T=' ';; # ECHO_T is single tab character.
8152 if expr a : '\(a\)' >/dev/null 2>&1 &&
8153 test "X`expr 00001 : '.*\(...\)'`" = X001; then
8159 rm -f conf$$ conf$$.exe conf$$.file
8160 if test -d conf$$.dir; then
8161 rm -f conf$$.dir/conf$$.file
8164 mkdir conf$$.dir 2>/dev/null
8166 if (echo >conf$$.file) 2>/dev/null; then
8167 if ln -s conf$$.file conf$$ 2>/dev/null; then
8169 # ... but there are two gotchas:
8170 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
8171 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
8172 # In both cases, we have to default to `cp -p'.
8173 ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
8175 elif ln conf$$.file conf$$ 2>/dev/null; then
8183 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
8184 rmdir conf$$.dir 2>/dev/null
8186 if mkdir -p . 2>/dev/null; then
8189 test -d ./-p && rmdir ./-p
8193 if test -x / >/dev/null 2>&1; then
8196 if ls -dL / >/dev/null 2>&1; then
8203 if test -d "$1"; then
8209 case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in
8210 ???[sx]*):;;*)false;;esac;fi
8214 as_executable_p=$as_test_x
8216 # Sed expression to map a string onto a valid CPP name.
8217 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
8219 # Sed expression to map a string onto a valid variable name.
8220 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
8225 # Save the log message, to keep $[0] and so on meaningful, and to
8226 # report actual input values of CONFIG_FILES etc. instead of their
8227 # values after options handling.
8229 This file was extended by $as_me, which was
8230 generated by GNU Autoconf 2.63. Invocation command line was
8232 CONFIG_FILES = $CONFIG_FILES
8233 CONFIG_HEADERS = $CONFIG_HEADERS
8234 CONFIG_LINKS = $CONFIG_LINKS
8235 CONFIG_COMMANDS = $CONFIG_COMMANDS
8238 on `(hostname || uname -n) 2>/dev/null | sed 1q`
8243 case $ac_config_files in *"
8244 "*) set x $ac_config_files; shift; ac_config_files=$*;;
8247 case $ac_config_headers in *"
8248 "*) set x $ac_config_headers; shift; ac_config_headers=$*;;
8252 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
8253 # Files that config.status was made for.
8254 config_files="$ac_config_files"
8255 config_headers="$ac_config_headers"
8256 config_commands="$ac_config_commands"
8260 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
8262 \`$as_me' instantiates files from templates according to the
8263 current configuration.
8265 Usage: $0 [OPTION]... [FILE]...
8267 -h, --help print this help, then exit
8268 -V, --version print version number and configuration settings, then exit
8269 -q, --quiet, --silent
8270 do not print progress messages
8271 -d, --debug don't remove temporary files
8272 --recheck update $as_me by reconfiguring in the same conditions
8273 --file=FILE[:TEMPLATE]
8274 instantiate the configuration file FILE
8275 --header=FILE[:TEMPLATE]
8276 instantiate the configuration header FILE
8278 Configuration files:
8281 Configuration headers:
8284 Configuration commands:
8287 Report bugs to <bug-autoconf@gnu.org>."
8290 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
8293 configured by $0, generated by GNU Autoconf 2.63,
8294 with options \\"`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`\\"
8296 Copyright (C) 2008 Free Software Foundation, Inc.
8297 This config.status script is free software; the Free Software Foundation
8298 gives unlimited permission to copy, distribute and modify it."
8305 test -n "\$AWK" || AWK=awk
8308 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
8309 # The default lists apply if the user does not specify any file.
8315 ac_option=`expr "X$1" : 'X\([^=]*\)='`
8316 ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'`
8327 # Handling of the options.
8328 -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
8330 --version | --versio | --versi | --vers | --ver | --ve | --v | -V )
8331 $as_echo "$ac_cs_version"; exit ;;
8332 --debug | --debu | --deb | --de | --d | -d )
8334 --file | --fil | --fi | --f )
8337 *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
8339 CONFIG_FILES="$CONFIG_FILES '$ac_optarg'"
8340 ac_need_defaults=false;;
8341 --header | --heade | --head | --hea )
8344 *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
8346 CONFIG_HEADERS="$CONFIG_HEADERS '$ac_optarg'"
8347 ac_need_defaults=false;;
8349 # Conflict between --help and --header
8350 { $as_echo "$as_me: error: ambiguous option: $1
8351 Try \`$0 --help' for more information." >&2
8352 { (exit 1); exit 1; }; };;
8353 --help | --hel | -h )
8354 $as_echo "$ac_cs_usage"; exit ;;
8355 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
8356 | -silent | --silent | --silen | --sile | --sil | --si | --s)
8360 -*) { $as_echo "$as_me: error: unrecognized option: $1
8361 Try \`$0 --help' for more information." >&2
8362 { (exit 1); exit 1; }; } ;;
8364 *) ac_config_targets="$ac_config_targets $1"
8365 ac_need_defaults=false ;;
8371 ac_configure_extra_args=
8373 if $ac_cs_silent; then
8375 ac_configure_extra_args="$ac_configure_extra_args --silent"
8379 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
8380 if \$ac_cs_recheck; then
8381 set X '$SHELL' '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
8383 \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6
8384 CONFIG_SHELL='$SHELL'
8390 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
8394 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
8395 ## Running $as_me. ##
8401 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
8405 AMDEP_TRUE="$AMDEP_TRUE" ac_aux_dir="$ac_aux_dir"
8410 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
8412 # Handling of arguments.
8413 for ac_config_target in $ac_config_targets
8415 case $ac_config_target in
8416 "config.h") CONFIG_HEADERS="$CONFIG_HEADERS config.h" ;;
8417 "depfiles") CONFIG_COMMANDS="$CONFIG_COMMANDS depfiles" ;;
8418 "default-1") CONFIG_COMMANDS="$CONFIG_COMMANDS default-1" ;;
8419 "Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;;
8420 "src/Makefile") CONFIG_FILES="$CONFIG_FILES src/Makefile" ;;
8421 "src/ttsubset/Makefile") CONFIG_FILES="$CONFIG_FILES src/ttsubset/Makefile" ;;
8422 "po/Makefile.in") CONFIG_FILES="$CONFIG_FILES po/Makefile.in" ;;
8424 *) { { $as_echo "$as_me:$LINENO: error: invalid argument: $ac_config_target" >&5
8425 $as_echo "$as_me: error: invalid argument: $ac_config_target" >&2;}
8426 { (exit 1); exit 1; }; };;
8431 # If the user did not use the arguments to specify the items to instantiate,
8432 # then the envvar interface is used. Set only those that are not.
8433 # We use the long form for the default assignment because of an extremely
8434 # bizarre bug on SunOS 4.1.3.
8435 if $ac_need_defaults; then
8436 test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
8437 test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS=$config_headers
8438 test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS=$config_commands
8441 # Have a temporary directory for convenience. Make it in the build tree
8442 # simply because there is no reason against having it here, and in addition,
8443 # creating and moving files from /tmp can sometimes cause problems.
8444 # Hook for its removal unless debugging.
8445 # Note that there is a small window in which the directory will not be cleaned:
8446 # after its creation but before its name has been assigned to `$tmp'.
8450 trap 'exit_status=$?
8451 { test -z "$tmp" || test ! -d "$tmp" || rm -fr "$tmp"; } && exit $exit_status
8453 trap '{ (exit 1); exit 1; }' 1 2 13 15
8455 # Create a (secure) tmp directory for tmp files.
8458 tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
8459 test -n "$tmp" && test -d "$tmp"
8462 tmp=./conf$$-$RANDOM
8463 (umask 077 && mkdir "$tmp")
8466 $as_echo "$as_me: cannot create a temporary directory in ." >&2
8467 { (exit 1); exit 1; }
8470 # Set up the scripts for CONFIG_FILES section.
8471 # No need to generate them if there are no CONFIG_FILES.
8472 # This happens for instance with `./config.status config.h'.
8473 if test -n "$CONFIG_FILES"; then
8477 ac_cs_awk_cr=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
8478 if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
8484 echo 'BEGIN {' >"$tmp/subs1.awk" &&
8489 echo "cat >conf$$subs.awk <<_ACEOF" &&
8490 echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
8493 { { $as_echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
8494 $as_echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}
8495 { (exit 1); exit 1; }; }
8496 ac_delim_num=`echo "$ac_subst_vars" | grep -c '$'`
8498 for ac_last_try in false false false false false :; do
8499 . ./conf$$subs.sh ||
8500 { { $as_echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
8501 $as_echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}
8502 { (exit 1); exit 1; }; }
8504 ac_delim_n=`sed -n "s/.*$ac_delim\$/X/p" conf$$subs.awk | grep -c X`
8505 if test $ac_delim_n = $ac_delim_num; then
8507 elif $ac_last_try; then
8508 { { $as_echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
8509 $as_echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}
8510 { (exit 1); exit 1; }; }
8512 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
8517 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
8518 cat >>"\$tmp/subs1.awk" <<\\_ACAWK &&
8522 s/^/S["/; s/!.*/"]=/
8532 s/\(.\{148\}\).*/\1/
8534 s/["\\]/\\&/g; s/^/"/; s/$/\\n"\\/
8539 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
8546 s/\(.\{148\}\).*/\1/
8548 s/["\\]/\\&/g; s/^/"/; s/$/"/
8552 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
8557 ' <conf$$subs.awk | sed '
8562 ' >>$CONFIG_STATUS || ac_write_fail=1
8563 rm -f conf$$subs.awk
8564 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
8566 cat >>"\$tmp/subs1.awk" <<_ACAWK &&
8567 for (key in S) S_is_set[key] = 1
8573 nfields = split(line, field, "@")
8575 len = length(field[1])
8576 for (i = 2; i < nfields; i++) {
8578 keylen = length(key)
8579 if (S_is_set[key]) {
8581 line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3)
8582 len += length(value) + length(field[++i])
8593 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
8594 if sed "s/$ac_cr//" < /dev/null > /dev/null 2>&1; then
8595 sed "s/$ac_cr\$//; s/$ac_cr/$ac_cs_awk_cr/g"
8598 fi < "$tmp/subs1.awk" > "$tmp/subs.awk" \
8599 || { { $as_echo "$as_me:$LINENO: error: could not setup config files machinery" >&5
8600 $as_echo "$as_me: error: could not setup config files machinery" >&2;}
8601 { (exit 1); exit 1; }; }
8604 # VPATH may cause trouble with some makes, so we remove $(srcdir),
8605 # ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and
8606 # trailing colons and then remove the whole line if VPATH becomes empty
8607 # (actually we leave an empty line to preserve line numbers).
8608 if test "x$srcdir" = x.; then
8609 ac_vpsub='/^[ ]*VPATH[ ]*=/{
8613 s/^\([^=]*=[ ]*\):*/\1/
8619 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
8620 fi # test -n "$CONFIG_FILES"
8622 # Set up the scripts for CONFIG_HEADERS section.
8623 # No need to generate them if there are no CONFIG_HEADERS.
8624 # This happens for instance with `./config.status Makefile'.
8625 if test -n "$CONFIG_HEADERS"; then
8626 cat >"$tmp/defines.awk" <<\_ACAWK ||
8630 # Transform confdefs.h into an awk script `defines.awk', embedded as
8631 # here-document in config.status, that substitutes the proper values into
8632 # config.h.in to produce config.h.
8634 # Create a delimiter string that does not exist in confdefs.h, to ease
8635 # handling of long lines.
8637 for ac_last_try in false false :; do
8638 ac_t=`sed -n "/$ac_delim/p" confdefs.h`
8639 if test -z "$ac_t"; then
8641 elif $ac_last_try; then
8642 { { $as_echo "$as_me:$LINENO: error: could not make $CONFIG_HEADERS" >&5
8643 $as_echo "$as_me: error: could not make $CONFIG_HEADERS" >&2;}
8644 { (exit 1); exit 1; }; }
8646 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
8650 # For the awk script, D is an array of macro values keyed by name,
8651 # likewise P contains macro parameters if any. Preserve backslash
8652 # newline sequences.
8654 ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]*
8656 s/.\{148\}/&'"$ac_delim"'/g
8659 s/^[ ]*#[ ]*define[ ][ ]*/ /
8666 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\1"]="\2"\
8668 s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\1"]=" \2"/p
8672 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\1"]="\2"\
8673 D["\1"]=" \3\\\\\\n"\\/p
8675 s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\1"]=" \2\\\\\\n"\\/p
8680 s/.\{148\}/&'"$ac_delim"'/g
8685 s/["\\]/\\&/g; s/^/"/; s/$/"/p
8688 s/["\\]/\\&/g; s/^/"/; s/$/\\\\\\n"\\/p
8690 ' <confdefs.h | sed '
8691 s/'"$ac_delim"'/"\\\
8692 "/g' >>$CONFIG_STATUS || ac_write_fail=1
8694 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
8695 for (key in D) D_is_set[key] = 1
8698 /^[\t ]*#[\t ]*(define|undef)[\t ]+$ac_word_re([\t (]|\$)/ {
8700 split(line, arg, " ")
8701 if (arg[1] == "#") {
8705 defundef = substr(arg[1], 2)
8708 split(mac1, mac2, "(") #)
8710 prefix = substr(line, 1, index(line, defundef) - 1)
8711 if (D_is_set[macro]) {
8712 # Preserve the white space surrounding the "#".
8713 print prefix "define", macro P[macro] D[macro]
8716 # Replace #undef with comments. This is necessary, for example,
8717 # in the case of _POSIX_SOURCE, which is predefined and required
8718 # on some systems where configure will not decide to define it.
8719 if (defundef == "undef") {
8720 print "/*", prefix defundef, macro, "*/"
8728 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
8729 { { $as_echo "$as_me:$LINENO: error: could not setup config headers machinery" >&5
8730 $as_echo "$as_me: error: could not setup config headers machinery" >&2;}
8731 { (exit 1); exit 1; }; }
8732 fi # test -n "$CONFIG_HEADERS"
8735 eval set X " :F $CONFIG_FILES :H $CONFIG_HEADERS :C $CONFIG_COMMANDS"
8740 :[FHLC]) ac_mode=$ac_tag; continue;;
8742 case $ac_mode$ac_tag in
8744 :L* | :C*:*) { { $as_echo "$as_me:$LINENO: error: invalid tag $ac_tag" >&5
8745 $as_echo "$as_me: error: invalid tag $ac_tag" >&2;}
8746 { (exit 1); exit 1; }; };;
8747 :[FH]-) ac_tag=-:-;;
8748 :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
8765 -) ac_f="$tmp/stdin";;
8766 *) # Look for the file first in the build tree, then in the source tree
8767 # (if the path is not absolute). The absolute path cannot be DOS-style,
8768 # because $ac_f cannot contain `:'.
8772 *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
8774 { { $as_echo "$as_me:$LINENO: error: cannot find input file: $ac_f" >&5
8775 $as_echo "$as_me: error: cannot find input file: $ac_f" >&2;}
8776 { (exit 1); exit 1; }; };;
8778 case $ac_f in *\'*) ac_f=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
8779 ac_file_inputs="$ac_file_inputs '$ac_f'"
8782 # Let's still pretend it is `configure' which instantiates (i.e., don't
8783 # use $as_me), people would be surprised to read:
8784 # /* config.h. Generated by config.status. */
8785 configure_input='Generated from '`
8786 $as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
8788 if test x"$ac_file" != x-; then
8789 configure_input="$ac_file. $configure_input"
8790 { $as_echo "$as_me:$LINENO: creating $ac_file" >&5
8791 $as_echo "$as_me: creating $ac_file" >&6;}
8793 # Neutralize special characters interpreted by sed in replacement strings.
8794 case $configure_input in #(
8795 *\&* | *\|* | *\\* )
8796 ac_sed_conf_input=`$as_echo "$configure_input" |
8797 sed 's/[\\\\&|]/\\\\&/g'`;; #(
8798 *) ac_sed_conf_input=$configure_input;;
8802 *:-:* | *:-) cat >"$tmp/stdin" \
8803 || { { $as_echo "$as_me:$LINENO: error: could not create $ac_file" >&5
8804 $as_echo "$as_me: error: could not create $ac_file" >&2;}
8805 { (exit 1); exit 1; }; } ;;
8810 ac_dir=`$as_dirname -- "$ac_file" ||
8811 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
8812 X"$ac_file" : 'X\(//\)[^/]' \| \
8813 X"$ac_file" : 'X\(//\)$' \| \
8814 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
8815 $as_echo X"$ac_file" |
8816 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
8835 -*) as_dir=./$as_dir;;
8837 test -d "$as_dir" || { $as_mkdir_p && mkdir -p "$as_dir"; } || {
8841 *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
8842 *) as_qdir=$as_dir;;
8844 as_dirs="'$as_qdir' $as_dirs"
8845 as_dir=`$as_dirname -- "$as_dir" ||
8846 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
8847 X"$as_dir" : 'X\(//\)[^/]' \| \
8848 X"$as_dir" : 'X\(//\)$' \| \
8849 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
8850 $as_echo X"$as_dir" |
8851 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
8868 test -d "$as_dir" && break
8870 test -z "$as_dirs" || eval "mkdir $as_dirs"
8871 } || test -d "$as_dir" || { { $as_echo "$as_me:$LINENO: error: cannot create directory $as_dir" >&5
8872 $as_echo "$as_me: error: cannot create directory $as_dir" >&2;}
8873 { (exit 1); exit 1; }; }; }
8877 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
8879 ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
8880 # A ".." for each directory in $ac_dir_suffix.
8881 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
8882 case $ac_top_builddir_sub in
8883 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
8884 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
8887 ac_abs_top_builddir=$ac_pwd
8888 ac_abs_builddir=$ac_pwd$ac_dir_suffix
8889 # for backward compatibility:
8890 ac_top_builddir=$ac_top_build_prefix
8893 .) # We are building in place.
8895 ac_top_srcdir=$ac_top_builddir_sub
8896 ac_abs_top_srcdir=$ac_pwd ;;
8897 [\\/]* | ?:[\\/]* ) # Absolute name.
8898 ac_srcdir=$srcdir$ac_dir_suffix;
8899 ac_top_srcdir=$srcdir
8900 ac_abs_top_srcdir=$srcdir ;;
8902 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
8903 ac_top_srcdir=$ac_top_build_prefix$srcdir
8904 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
8906 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
8916 [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
8917 *) ac_INSTALL=$ac_top_build_prefix$INSTALL ;;
8921 [\\/$]* | ?:[\\/]* ) ;;
8922 */*) ac_MKDIR_P=$ac_top_build_prefix$MKDIR_P ;;
8926 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
8927 # If the template does not know about datarootdir, expand it.
8928 # FIXME: This hack should be removed a few years after 2.60.
8929 ac_datarootdir_hack=; ac_datarootdir_seen=
8942 case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in
8943 *datarootdir*) ac_datarootdir_seen=yes;;
8944 *@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*)
8945 { $as_echo "$as_me:$LINENO: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
8946 $as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
8948 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
8949 ac_datarootdir_hack='
8950 s&@datadir@&$datadir&g
8951 s&@docdir@&$docdir&g
8952 s&@infodir@&$infodir&g
8953 s&@localedir@&$localedir&g
8954 s&@mandir@&$mandir&g
8955 s&\\\${datarootdir}&$datarootdir&g' ;;
8959 # Neutralize VPATH when `$srcdir' = `.'.
8960 # Shell code in configure.ac might set extrasub.
8961 # FIXME: do we really want to maintain this feature?
8962 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
8963 ac_sed_extra="$ac_vpsub
8966 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
8968 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
8969 s|@configure_input@|$ac_sed_conf_input|;t t
8970 s&@top_builddir@&$ac_top_builddir_sub&;t t
8971 s&@top_build_prefix@&$ac_top_build_prefix&;t t
8972 s&@srcdir@&$ac_srcdir&;t t
8973 s&@abs_srcdir@&$ac_abs_srcdir&;t t
8974 s&@top_srcdir@&$ac_top_srcdir&;t t
8975 s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t
8976 s&@builddir@&$ac_builddir&;t t
8977 s&@abs_builddir@&$ac_abs_builddir&;t t
8978 s&@abs_top_builddir@&$ac_abs_top_builddir&;t t
8979 s&@INSTALL@&$ac_INSTALL&;t t
8980 s&@MKDIR_P@&$ac_MKDIR_P&;t t
8981 $ac_datarootdir_hack
8983 eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$tmp/subs.awk" >$tmp/out \
8984 || { { $as_echo "$as_me:$LINENO: error: could not create $ac_file" >&5
8985 $as_echo "$as_me: error: could not create $ac_file" >&2;}
8986 { (exit 1); exit 1; }; }
8988 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
8989 { ac_out=`sed -n '/\${datarootdir}/p' "$tmp/out"`; test -n "$ac_out"; } &&
8990 { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' "$tmp/out"`; test -z "$ac_out"; } &&
8991 { $as_echo "$as_me:$LINENO: WARNING: $ac_file contains a reference to the variable \`datarootdir'
8992 which seems to be undefined. Please make sure it is defined." >&5
8993 $as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir'
8994 which seems to be undefined. Please make sure it is defined." >&2;}
8998 -) cat "$tmp/out" && rm -f "$tmp/out";;
8999 *) rm -f "$ac_file" && mv "$tmp/out" "$ac_file";;
9001 || { { $as_echo "$as_me:$LINENO: error: could not create $ac_file" >&5
9002 $as_echo "$as_me: error: could not create $ac_file" >&2;}
9003 { (exit 1); exit 1; }; }
9009 if test x"$ac_file" != x-; then
9011 $as_echo "/* $configure_input */" \
9012 && eval '$AWK -f "$tmp/defines.awk"' "$ac_file_inputs"
9013 } >"$tmp/config.h" \
9014 || { { $as_echo "$as_me:$LINENO: error: could not create $ac_file" >&5
9015 $as_echo "$as_me: error: could not create $ac_file" >&2;}
9016 { (exit 1); exit 1; }; }
9017 if diff "$ac_file" "$tmp/config.h" >/dev/null 2>&1; then
9018 { $as_echo "$as_me:$LINENO: $ac_file is unchanged" >&5
9019 $as_echo "$as_me: $ac_file is unchanged" >&6;}
9022 mv "$tmp/config.h" "$ac_file" \
9023 || { { $as_echo "$as_me:$LINENO: error: could not create $ac_file" >&5
9024 $as_echo "$as_me: error: could not create $ac_file" >&2;}
9025 { (exit 1); exit 1; }; }
9028 $as_echo "/* $configure_input */" \
9029 && eval '$AWK -f "$tmp/defines.awk"' "$ac_file_inputs" \
9030 || { { $as_echo "$as_me:$LINENO: error: could not create -" >&5
9031 $as_echo "$as_me: error: could not create -" >&2;}
9032 { (exit 1); exit 1; }; }
9034 # Compute "$ac_file"'s index in $config_headers.
9037 for _am_header in $config_headers :; do
9039 $_am_arg | $_am_arg:* )
9042 _am_stamp_count=`expr $_am_stamp_count + 1` ;;
9045 echo "timestamp for $_am_arg" >`$as_dirname -- "$_am_arg" ||
9046 $as_expr X"$_am_arg" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
9047 X"$_am_arg" : 'X\(//\)[^/]' \| \
9048 X"$_am_arg" : 'X\(//\)$' \| \
9049 X"$_am_arg" : 'X\(/\)' \| . 2>/dev/null ||
9050 $as_echo X"$_am_arg" |
9051 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
9067 s/.*/./; q'`/stamp-h$_am_stamp_count
9070 :C) { $as_echo "$as_me:$LINENO: executing $ac_file commands" >&5
9071 $as_echo "$as_me: executing $ac_file commands" >&6;}
9076 case $ac_file$ac_mode in
9077 "depfiles":C) test x"$AMDEP_TRUE" != x"" || {
9078 # Autoconf 2.62 quotes --file arguments for eval, but not when files
9079 # are listed without --file. Let's play safe and only enable the eval
9080 # if we detect the quoting.
9081 case $CONFIG_FILES in
9082 *\'*) eval set x "$CONFIG_FILES" ;;
9083 *) set x $CONFIG_FILES ;;
9088 # Strip MF so we end up with the name of the file.
9089 mf=`echo "$mf" | sed -e 's/:.*$//'`
9090 # Check whether this is an Automake generated Makefile or not.
9091 # We used to match only the files named `Makefile.in', but
9092 # some people rename them; so instead we look at the file content.
9093 # Grep'ing the first line is not enough: some people post-process
9094 # each Makefile.in and add a new line on top of each file to say so.
9095 # Grep'ing the whole file is not good either: AIX grep has a line
9096 # limit of 2048, but all sed's we know have understand at least 4000.
9097 if sed -n 's,^#.*generated by automake.*,X,p' "$mf" | grep X >/dev/null 2>&1; then
9098 dirpart=`$as_dirname -- "$mf" ||
9099 $as_expr X"$mf" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
9100 X"$mf" : 'X\(//\)[^/]' \| \
9101 X"$mf" : 'X\(//\)$' \| \
9102 X"$mf" : 'X\(/\)' \| . 2>/dev/null ||
9104 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
9124 # Extract the definition of DEPDIR, am__include, and am__quote
9125 # from the Makefile without running `make'.
9126 DEPDIR=`sed -n 's/^DEPDIR = //p' < "$mf"`
9127 test -z "$DEPDIR" && continue
9128 am__include=`sed -n 's/^am__include = //p' < "$mf"`
9129 test -z "am__include" && continue
9130 am__quote=`sed -n 's/^am__quote = //p' < "$mf"`
9131 # When using ansi2knr, U may be empty or an underscore; expand it
9132 U=`sed -n 's/^U = //p' < "$mf"`
9133 # Find all dependency output files, they are included files with
9134 # $(DEPDIR) in their names. We invoke sed twice because it is the
9135 # simplest approach to changing $(DEPDIR) to its actual value in the
9137 for file in `sed -n "
9138 s/^$am__include $am__quote\(.*(DEPDIR).*\)$am__quote"'$/\1/p' <"$mf" | \
9139 sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g' -e 's/\$U/'"$U"'/g'`; do
9140 # Make sure the directory exists.
9141 test -f "$dirpart/$file" && continue
9142 fdir=`$as_dirname -- "$file" ||
9143 $as_expr X"$file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
9144 X"$file" : 'X\(//\)[^/]' \| \
9145 X"$file" : 'X\(//\)$' \| \
9146 X"$file" : 'X\(/\)' \| . 2>/dev/null ||
9148 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
9165 { as_dir=$dirpart/$fdir
9167 -*) as_dir=./$as_dir;;
9169 test -d "$as_dir" || { $as_mkdir_p && mkdir -p "$as_dir"; } || {
9173 *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
9174 *) as_qdir=$as_dir;;
9176 as_dirs="'$as_qdir' $as_dirs"
9177 as_dir=`$as_dirname -- "$as_dir" ||
9178 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
9179 X"$as_dir" : 'X\(//\)[^/]' \| \
9180 X"$as_dir" : 'X\(//\)$' \| \
9181 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
9182 $as_echo X"$as_dir" |
9183 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
9200 test -d "$as_dir" && break
9202 test -z "$as_dirs" || eval "mkdir $as_dirs"
9203 } || test -d "$as_dir" || { { $as_echo "$as_me:$LINENO: error: cannot create directory $as_dir" >&5
9204 $as_echo "$as_me: error: cannot create directory $as_dir" >&2;}
9205 { (exit 1); exit 1; }; }; }
9206 # echo "creating $dirpart/$file"
9207 echo '# dummy' > "$dirpart/$file"
9212 "default-1":C) case "$CONFIG_FILES" in *po/Makefile.in*)
9213 sed -e "/POTFILES =/r po/POTFILES" po/Makefile.in > po/Makefile
9220 { (exit 0); exit 0; }
9222 chmod +x $CONFIG_STATUS
9223 ac_clean_files=$ac_clean_files_save
9225 test $ac_write_fail = 0 ||
9226 { { $as_echo "$as_me:$LINENO: error: write failure creating $CONFIG_STATUS" >&5
9227 $as_echo "$as_me: error: write failure creating $CONFIG_STATUS" >&2;}
9228 { (exit 1); exit 1; }; }
9231 # configure is writing to config.log, and then calls config.status.
9232 # config.status does its own redirection, appending to config.log.
9233 # Unfortunately, on DOS this fails, as config.log is still kept open
9234 # by configure, so config.status won't be able to write to it; its
9235 # output is simply discarded. So we exec the FD to /dev/null,
9236 # effectively closing config.log, so it can be properly (re)opened and
9237 # appended to by config.status. When coming back to configure, we
9238 # need to make the FD available again.
9239 if test "$no_create" != yes; then
9241 ac_config_status_args=
9242 test "$silent" = yes &&
9243 ac_config_status_args="$ac_config_status_args --quiet"
9245 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
9247 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
9248 # would make configure fail if this is the last instruction.
9249 $ac_cs_success || { (exit 1); exit 1; }
9251 if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no; then
9252 { $as_echo "$as_me:$LINENO: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
9253 $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}